Skip to main content

@only.<OS> decorator. raise OSError if not supported OS

Project description

Installation

$ [sudo] pip install only

Decorators

decorator description
@only.linux raise OSError in not linux
@only.mac raise OSError in not MacOS
@only.osx raise OSError in not OSX
@only.unix raise OSError in not Unix
@only.windows raise OSError in not Windows

python-readme-generator

Download files

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

Files for only, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size only-2019.4.13.tar.gz (1.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page