This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A convenience-dictionary of common operating-system information needed while writing code.

Update 4-Jan 2015: Moved support to Python 3.x

Getting easyos:

Simply:

pip install easyos

Using easyos is easy:

To list all the keys, simply import and print easyos:

$ python
>>> from pprint import pprint
>>> from easyos import easyos
    {'current_gid': 20,
     'current_uid': 501,
     'current_user': 'tfisher',
     'current_user_desktop': '/Users/tfisher/Desktop',
     'current_user_group': 'staff',
     'homedir': '/Users/tfisher',
     'os': 'Darwin',
     'platform': 'Darwin-14.4.0-x86_64-i386-64bit',
     'python_installed_packages': ['easyos==2.2',
                                   'coverage==3.7.1',
                                   'cython==0.22.1',
                                   'nose==1.3.4',
                                   'pip==7.1.0',
                                   'setuptools==18.0.1',
                                   'six==1.8.0',
                                   'sqlalchemy==0.9.8',
                                   'wheel==0.24.0',],
     'python_version': '3.4.3',
     'python_version_feature_branch': '3.4',
     'python_version_major': '3',
     'release': '10.10.4',
     'tmp_dir': '/var/folders/k6/dzxr5tss2kn_2tbbk_jfk4c40000gn/T',
     'type': 'Darwin'}
>>>

To use easyos in a script, simply call the relevant key:

if easyos['os'] == 'Darwin' and easyos['python_version'] == '3.4.2':
    print("Python3 on OS X.")

Abstract away the tedious bits of cross-platform coding:

with open (easyos['tmp_dir']+'/script', 'w') as log:
    message = "wow that's easy"
    log.write(message)

New features / Pull requests:

Make a pull request with your change or addition and I’ll merge it if nudges the module in the right direction.

As a non-Windows user, I’m unlikely to add more Windows attributes, but if you need something added, simply branch, make a pull request, and I’ll likely merge.

Release History

Release History

2.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

2.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
easyos-2.2.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source Sep 11, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting