Typing stubs for NetworkX
eggplants / networkx-stubs Goto Github PK
View Code? Open in Web Editor NEWTyping stubs for NetworkX
Typing stubs for NetworkX
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.