Skip to main content

The 'pyplatformids' package provides a set of canonical platform enums.

Project description

The ‘platformids‘ package provides the enumeration of runtime platforms. This extends the standard Python facilities by

  • more specific canonical platform enumerations
  • provides additional hierarchical bitmasks for platform values for faster processing
  • provides mapping of string and numeric representation for human display
  • provides a boolean flag V3K for Python3
  • provides Python release numbers as integer by compressed bit masks, current PYVxyz and predefined values e.g. PYV27, PYV3, or PYV365
  • provides an interface getPYVxyz() for the encoding of arbitrary Python release numbers into compressed bit masks

The supported platforms are:

  • Linux, BSD, Unix, OS-X, Cygwin, and Windows
  • Python2.7+, Python3.5+



Online documentation:

The installer adds a few options to the standard setuptools options.

  • build_sphinx: Creates documentation for runtime system by Sphinx, html only. Calls ‘’.
  • build_epydoc: Creates documentation for runtime system by Epydoc, html only. Calls ‘’.
  • instal_doc: Install a local copy of the previously build documents in accordance to PEP-370.
  • test: Runs PyUnit tests by discovery.
  • –help-platformids: Displays this help.
  • –no-install-required: Suppresses installation dependency checks, requires appropriate PYTHONPATH.
  • –offline: Sets online dependencies to offline, or ignores online dependencies.
  • –exit: Exit ‘’.

Project Data


Planned Releases:

  • RELEASE: 00.00.00x - Pre-Alpha: Extraction of the features from hard-coded application into a reusable package.
  • RELEASE: 00.01.00x - Alpha: Completion of basic features.
  • RELEASE: 00.02.00x - Alpha: Completion of features, stable interface.
  • RELEASE: 00.03.00x - Beta: Accomplish test cases for medium to high complexity.
  • RELEASE: 00.04.00x - Production: First production release.
  • RELEASE: 00.05.00x - Production: Various performance enhancements.
  • RELEASE: 00.06.00x - Production: Security review.

Current Release: 00.01.028 - Alpha:

Python support:

  • Python2.7, and Python3.5+


  • Linux: Fedora, CentOS, RHEL, Debian, and SuSE
  • BSD - OpenBSD, FreeBSD
  • Mac-OS: Snow Leopard - others should work too
  • Windows: Win7, Win10 - others see Cygwin
  • Cygwin: 2.874/64 bit

Major Changes:

  • Initial version.

  • Concepts and enumeration values migrated from the UnifiedSessionsManager starting at 2007/2008


Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
platformids-0.1.28.tar.gz (1.4 MB) Copy SHA256 hash SHA256 Source None Jun 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page