Rocky
A collection of small libs for better command line programs in production setting. This is not a framework, use a small bit or everything.
Traceable config, no more searching for where the config was set. Read them from config file, python file, plain file, command line, environment or somewhere you choose. Dump all config to the log at once or at first use.
Handling of pid files, creating, removing and checking.
Stop gracefully on a single sigint, but die hard when spamming them.
Argparsing can be done by a number of other libs, not included here, personally I like argparse and have added a couple of useful functions related to it.
Adding to sys.path, replace two lines of code with one line of code.
Release files for rocky 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rocky-1.0.2.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rocky-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.2 kB
Release files / rocky-1.0.2.tar.gz
| Download URL | rocky-1.0.2.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95ef76a0cd69ce2bac55d3a44ec28a6f64bf85bce62ae18b41280ce276677da8
|
|
BLAKE2b-256 checksum How to use checksums |
3438b206f76bbb74b85834201ccf5554acb751adf972152e92f05a9bc95f1555
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.0
|
Release files / rocky-1.0.2-py3-none-any.whl
| Download URL | rocky-1.0.2-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96968cca80e9b02ba138ab0bf0cab6183a26bcbf9c4e714898a388ecfcaf5999
|
|
BLAKE2b-256 checksum How to use checksums |
592e6b11dffcbe33b52b53d2873a313f9e1fa6947b7d46205c0e964a94311ccc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.0
|