Contents

distro 1.9.0

0

Distro - an OS platform information API

Distro - an OS platform information API

Stars: 254, Watchers: 254, Forks: 65, Open Issues: 13

The python-distro/distro repo was created 8 years ago and the last code push was 3 weeks ago.
The project is popular with 254 github stars!

How to Install distro

You can install distro using pip

pip install distro

or add it to a project with poetry

poetry add distro

Package Details

Author
Nir Cohen
License
Apache License, Version 2.0
Homepage
https://github.com/python-distro/distro
PyPi:
https://pypi.org/project/distro/
GitHub Repo:
https://github.com/python-distro/distro

Classifiers

  • Software Development/Libraries/Python Modules
  • System/Operating System
No  distro  pypi packages just yet.

Errors

A list of common distro errors.

Code Examples

Here are some distro code examples and snippets.

GitHub Issues

The distro package has 13 open issues on GitHub

  • uname_info() return empty string on ubuntu20.04 and Fedora34
  • Add py.typed file to package for PEP-561 compliance
  • Add support for AIX (closes #241)
  • Provide way to deal with distro inconsistencies

See more issues on GitHub

Related Packages & Articles

psutil 5.9.8

Cross-platform lib for process and system monitoring in Python.