platinfo 0.15.0
platinfo: A small library from getting information on the current platform
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).
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| platinfo-0.15.0.zip (md5) | Source | 2010-04-29 | 30KB | 711 | |
- Author: Trent Mick
- Home Page: http://code.google.com/p/platinfo/
- License: http://www.opensource.org/licenses/mit-license.php
- Platform: any
-
Categories
- Development Status :: 5 - Production/Stable
- Intended Audience :: Developers
- License :: OSI Approved :: MIT License
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 2.4
- Programming Language :: Python :: 2.5
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: trentm
- DOAP record: platinfo-0.15.0.xml
