Skip to main content

Python utility for parsing packages names and versions from wheel filename, sdist filenames, or setup.py files

Example

Manually import py files or .pyd files

from package_parser import parse, normalize_name

attrs = parse('class-property-1.0.0-py3-none-any.whl')
assert normalize_name(attrs['name']) == 'class_property'
assert attrs['version'] == '1.0.0'

Metadata

Release files for package-parser 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for package-parser 1.0.2
File Size Uploaded
package_parser-1.0.2.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for package-parser 1.0.2
File Interpreter ABI Platform
package_parser-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 24.6 kB

Release files / package_parser-1.0.2.tar.gz

Download URL package_parser-1.0.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a61827426794166050dfd3ffef8ee42d23282f45999c270a5b3afb5ae4da141c
BLAKE2b-256 checksum
How to use checksums
8b3c47ffc99c12605d64050dc2a1372b1f2e2eefd680653eeab019a674d3d216
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

Release files / package_parser-1.0.2-py3-none-any.whl

Download URL package_parser-1.0.2-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b91330d72a991e968d95f4fb87c14075e51234087388c72825b6ce1f408a55b3
BLAKE2b-256 checksum
How to use checksums
fb9e6773d7cb55ef3c7d8f0784128621f80ebb5b115259269599ec0e9fdcb1b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page