Skip to main content

platinfo: A small library from getting information on the current platform

Project description

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

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
>>> pi.arch

Currently this has fairly wide OS coverage (Windows, Linux, Mac, Solaris,

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for platinfo, version 0.14.1
Filename, size File type Python version Upload date Hashes
Filename, size (13.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page