Comments (3)
There's a proposal to user versions
attribute for JSON API:
pypi/warehouse#11991
pypi/warehouse#12079
But it's still not released.
There's also a concern that the project endpoint in JSON API may return too much (e.g. project's long description), which is bad for performance. So the Simple API is preferrable.
PEP 658 also defines an attribute for metadata for Simple API. PEP 691 defines an optional key dist-info-metadata
in JSON response for Simple API to indicate if a separate metadata file is available. This way we could switch over JSON-based Simple API completely.
from pip-license-checker.
When parsing versions from Simple API, we must rely on PEP-427 that defines filename naming conventions.
from pip-license-checker.
The most up-to-date information on Python distribution files can be found under:
https://packaging.python.org/en/latest/specifications/
See Package Distribution File Formats
for sdist
and wheel
files specs
from pip-license-checker.
Related Issues (20)
- Rate limit requests to PyPI
- Allow custom host for PyPI mirrors HOT 1
- Cannot get package meta when requirement file uses --follow-links
- More verbosity for errors
- Cannot get package meta when requirement file uses git+https HOT 2
- GitHub API requests should be rate-limited too HOT 1
- Caching for external API requests HOT 2
- Update base Docker images and JRE
- Improve errors verbosity for Java native exceptions
- GitHub API versioning
- Version parsing for PEP517 non-compliant Python packages
- Show license for yanked Python packages for exact version matches
- Python package version resolution includes pre-release versions even if --no-pre option used
- Exact version comparison (`==`) should not ignore pre-releases for native Python packages
- Number format exception due too long patch number HOT 2
- Number format exception due an unknown reason HOT 2
- Handling of libraries that have multiple licenses HOT 1
- Support PSF license(s)
- Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: "20160909030348" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pip-license-checker.