Giter VIP home page Giter VIP logo

networkx-stubs's Introduction

networkx-stubs

Release Package PyPI

Typing stubs for NetworkX

networkx-stubs's People

Contributors

antyos avatar eggplants avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

networkx-stubs's Issues

Would you consider typeshed?

Hello!
I am going through stub packages in https://github.com/microsoft/python-type-stubs to remove obsolete ones, upstream some, and move the rest that I can over to https://github.com/python/typeshed .

https://github.com/microsoft/python-type-stubs/tree/main/networkx is bundled with Pylance, and any outdated stubs on there simply hurt Pylance users, so I've been helping move things along. The long-term goals of the maintainers there is to upstream everything to the base repos or typeshed.

Given networkx/networkx#3988 and networkx/networkx#4014, I don't think that networkx will ship their own stubs (or inline typing) anytime soon.

Since you've already got some stubs started, I've been wondering if you'd like to migrate them over to typeshed? Some advantages includes a well-developped developper toolkit, lots of testing and type validations, as well as review by Python Typing experts. On top of that, pyright comes bundled with types from typeshed and mypy automatically recommends installing them.

Incomplete package in pypi

I tried downloading this from pypi but it's not working properly. It seems like only the top-level files are being packaged, a lot of files are missing.

Here is the list of files in the pypi wheel:

/tmp/networkx_stubs-0.0.0-py3-none-any/
├── networkx-stubs
│   ├── convert_matrix.pyi
│   ├── convert.pyi
│   ├── exception.pyi
│   ├── __init__.pyi
│   ├── lazy_imports.pyi
│   └── relabel.pyi
└── networkx_stubs-0.0.0.dist-info
    ├── METADATA
    ├── RECORD
    ├── top_level.txt
    └── WHEEL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.