Skip to main content

@only.<type> decorator

Project description

https://img.shields.io/badge/language-python-blue.svg https://img.shields.io/pypi/pyversions/only.svg

codacy.com landscape.io codeclimate.com scrutinizer-ci.com

Install

[sudo] pip install only

Usage

>>> import only

>>> @only.linux
>>> @only.osx
>>> @only.unix
>>> @only.windows

Example

>>> @only.osx
>>> def osascript(): pass

Examples/

Sources:

Feedback github_issues gitter github_follow


russianidiot.github.io/python/ - Python packages

russianidiot.github.io/cli/ - command line scripts

README.rst - generated with readmemako.py (python+ mako templates) and .README dotfiles

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-0.0.4.tar.gz (8.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: only-0.0.4.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for only-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2cfcdb1c9829a2fa08b1328b52d718510b415e1b74e5dfbbcf717a61c294badb
MD5 0b283893ca4ea1d0948ed7a396d28fd7
BLAKE2b-256 3e0dd6c0fd03e23a9a3b35f20652d34ed0d3a9337ee8d00758cdc949501daee2

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