instance-config
A simple library using consul locks to do one-time configuration tasks on AWS instances.
How to use it
from instance_config import Instance
instance = Instance()
@instance.every()
def do_each_time():
# This will run every time the script is invoked.
return
@instance.once(key='locks/my_app/create_user', version=1, timeout=60)
def create_user():
# This will only be run once, in declared order, for each version.
return do_create_user()
History
0.1.2 (2017-11-06)
First release on PyPI.
Metadata
Release files for instance-config 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| instance_config-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for instance_config-0.1.2-py2.py3-none-any.whl |
Release files / instance_config-0.1.2-py2.py3-none-any.whl
| Download URL | instance_config-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
79fbbabca1b5bcc5cbcded9e8ac68dbd0ed7399ddd4c19bcfa2e4019e5310da2
|
|
BLAKE2b-256 checksum How to use checksums |
ff5f308d542b5c02ec3221fad6e91a8de16978479f7eebbb4da40497f90e5ea8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for instance-config 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.