Skip to main content

This module determines and returns standardized names for platforms, where the “standard” is Trent Mick’s reasoning :) from experience building ActivePython on a fairly large number of platforms.

The driving goal is to provide platform names that are:

  • relatively short

  • readable (as much as possible making matching the given name to an actually machine self-explanatory)

  • be capable enough to produce all names needed to distinguish all platform-specific application builds

  • generally safe for usage in filenames

  • not ugly (e.g. “MSWin32” is ugly)

A simple usage example:

>>> from platinfo import PlatInfo
>>> pi = PlatInfo()
>>> pi.os
'macosx'
>>> pi.arch
'x86'
>>> pi.name()
'macosx-x86'

Currently this has fairly wide OS coverage (Windows, Linux, Mac, Solaris, HP-UX, AIX, OpenBSD).

Metadata

Release files for platinfo 0.15.0

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

Source distribution (sdist)

Source distribution for platinfo 0.15.0
File Size Uploaded Provenance Actions
platinfo-0.15.0.zip 31.0 kB Without provenance Details for platinfo-0.15.0.zip

Release files / platinfo-0.15.0.zip

Download URL platinfo-0.15.0.zip
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5b0474a0751b902bd79f43ab8b39bfb0f8ebcee5f30f3bdf488b2c92158a00b2
BLAKE2b-256 checksum
How to use checksums
ebcd50060b91864b8a00a4966c2b99ad3e1cf7132857f3619e2b44a6b1c8ca68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for platinfo 0.15.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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