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

Project details


Download files

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

Source Distribution

only-2019.4.13.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file only-2019.4.13.tar.gz.

File metadata

  • Download URL: only-2019.4.13.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for only-2019.4.13.tar.gz
Algorithm Hash digest
SHA256 630132d6ae2daa6eafea80eaddab617c7bc35683cbce8548f8126a1d1ac62aff
MD5 6fe38547a65e93473d663d2b3ecfccf8
BLAKE2b-256 36bf6971fa3198aa827a02b0ca6c6f232b47987c9fe2840e4bf7bdbb2a60e92e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page