Skip to main content

Standby prevention module.

Project description

standpy

Cross-Platform Python Standby Lock

Usage

from standpy import StandbyLock, standby_lock

## For code blocks
with StandbyLock():
    ## do something
    do_something()
## System waited without going idle.

## In function calls
@standby_lock
def foo(*args, **kwargs):
    return bar(*args, **kwargs)

## System will wait for `foo` to return.
foo()

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

standpy-0.1.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

standpy-0.1.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file standpy-0.1.1.tar.gz.

File metadata

  • Download URL: standpy-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for standpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c31c25d887f3b9ba4628741bbef3aa9eb1c606a4f0505fecbde98cfc5b07bb08
MD5 8c516a1416fa49821849610d17a6aa93
BLAKE2b-256 8ac8f0891b12d09e8d2190b87a9cad0ae8fa838e4cf6c54796dde9443caf89b7

See more details on using hashes here.

File details

Details for the file standpy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: standpy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for standpy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1ca64579835d15a9491114b9d0b44b6f03f7ceeff7ef6379f89b0d62f91b28
MD5 6146b872c86fe6fc38d0ea6c594ec7e3
BLAKE2b-256 e03cf3be1160cd591392226c81c629a76c131d1b40c0968e620c442fe0389390

See more details on using hashes here.

Supported by

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