#python-packages #python #pkginfo

python-pkginfo

Parse Python package metadata from sdist and bdists and etc

21 releases

0.6.8 Feb 24, 2026
0.6.6 Oct 20, 2025
0.6.5 Dec 8, 2024
0.6.4 Nov 30, 2024
0.4.0 Jun 8, 2021

#21 in Email

Download history 30658/week @ 2025-11-13 30010/week @ 2025-11-20 30398/week @ 2025-11-27 31622/week @ 2025-12-04 32282/week @ 2025-12-11 26410/week @ 2025-12-18 20598/week @ 2025-12-25 26729/week @ 2026-01-01 39841/week @ 2026-01-08 33050/week @ 2026-01-15 35283/week @ 2026-01-22 37215/week @ 2026-01-29 47149/week @ 2026-02-05 41919/week @ 2026-02-12 42276/week @ 2026-02-19 43595/week @ 2026-02-26

181,356 downloads per month
Used in 8 crates (4 directly)

MIT license

220KB
439 lines

Contains (Python package, 99KB) py-1.11.0-py2.py3-none-any.whl, (Zip file, 28KB) tests/fixtures/build-0.4.0-py3.9.egg, (Python package, 15KB) build-0.4.0-py2.py3-none-any.whl

python-pkginfo-rs

GitHub Actions Crates.io docs.rs

Parse Python package metadata from sdist and bdists and etc. A Rust port of the pkginfo Python library.

Installation

Add it to your Cargo.toml:

[dependencies]
python-pkginfo = "0.6"

then you are good to go. If you are using Rust 2015 you have to add extern crate python_pkginfo to your crate root as well.

Example

use python_pkginfo::Distribution;

fn main() {
    let dist = Distribution::new("path/to/package.whl").unwrap();
    println!("{:#?}", dist.metadata());
}

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

Dependencies

~8–22MB
~345K SLoC