packaging
packaging copied to clipboard
Core utilities for Python packages
PEP 425 says (https://peps.python.org/pep-0425/#platform-tag) > The platform tag is simply distutils.util.get_platform() with all hyphens - and periods . replaced with underscore _. On recent mac versions ```python >>> distutils.util.get_platform() 'macosx-12-arm64'...
Fixes #659 Let me know if something like this seems acceptable to you and I'll add tests and documentation. Some notes: - My use case was adding a local version...
I'm working on porting Warehouse over to using `packaging.metadata` to drive our validation, and as I'm teasing apart the existing code it's become clear to me that our metadata validation...
In pypa/pip#11762 I added some functionality for parsing/validating/serializing `RECORD` files. I thought about it some more, and it seems to me like that functionality belongs in this library. Would you...
- [x] Parse "raw" metadata (https://github.com/pypa/packaging/pull/671) - [x] Parse "strict" metadata - [ ] Emit "strict" metadata
I've been investigating performance issue in Pip reported here: https://github.com/pypa/pip/issues/12314 I've created a [fork ](https://github.com/notatallshaw/pip/tree/version_cache) that caches as many calls to packaging from Pip as I can easily implement. However...
With the orgs feature on PyPI, there's a PyPA org that exists already — https://pypi.org/org/pypa/. Why not make use of it? _UPD_: Dustin explained the implications as an FAQ in...
Build backends that build extension modules will want to know the interpreter tag for the current interpreter. Currently, the easiest way to achieve that is via `sys_tags`: ``` next(tags.sys_tags()).abi ```...
I'm the maintainer of `wheel`. I'm wondering if you would be interested in receiving an API for reading and writing wheels in this project. I've been wondering for a while...
Currently, the marker has its data field private, so there's no way for someone to search for markers once parsed a requirement. My goal here is to filter for some...