rapydmain is framework for python batch script.
Project description
rapydmain is framework for python batch script.
Features
- Automatically load config(JSON format).
- Output message when changed rapydmain status(e.g. script began, script ended, error occued).
- Automatically setup logger(use python logging).
Usage
- Setup project directories & files, like pj_template(https://github.com/aznuii/rapydmain/tree/main/pj_template).
[pj_dir]/
config/
fw.json
loggin.json
[any config file]
log/
[any log file]
- Setup python script.
pip install rapydmain
- Coding python script. Use by "with" statement.
with rapydmain(Path(__file__).parent.parent) as main:
# load config
value = main.config['any1']['any2']
# logging
main.logger.info('log')
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rapydmain-1.0.0-py3-none-any.whl.
File metadata
- Download URL: rapydmain-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01e6f9b423eeb735a64b110f6c1ceebd5477600d3a9498aeeb1578b0e057e4c6
|
|
| MD5 |
00622bc576e49508667ba030a7e933e8
|
|
| BLAKE2b-256 |
a66984f3bd2a15bc78bf4e2794951148b7382e9ccc228bbc381e9470092af64f
|