@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 |
Project details
Release history Release notifications | RSS feed
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.3.22.tar.gz
(1.5 kB
view details)
Built Distribution
only-2019.3.22-py2.py3-none-any.whl
(132.4 kB
view details)
File details
Details for the file only-2019.3.22.tar.gz
.
File metadata
- Download URL: only-2019.3.22.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.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345cddf908383fe6d3dc1af060719ab703d445fd2223184369271f5673718b33 |
|
MD5 | f27c1bf167b8936b05eb705e4ee70745 |
|
BLAKE2b-256 | 8803192356b6330302ecc029d353d6691241bf59a3bfb34d1413829c384dd9a6 |
File details
Details for the file only-2019.3.22-py2.py3-none-any.whl
.
File metadata
- Download URL: only-2019.3.22-py2.py3-none-any.whl
- Upload date:
- Size: 132.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5626561342ad2de56df9c2c21eca339d4d20476a56487a2866e610c43bc93797 |
|
MD5 | 099ce33c08a36a9ed8d4dfc9a3fc1a30 |
|
BLAKE2b-256 | e34b5e1f89ed9341204111b41538fa14be1058236fe27ffe8d2b895508425694 |