A library for reading / writing MarOps config files
Project description
MarOps Config
MarOps Config is used to load config stored inside the ~/.config/greenroom folder.
Install
pip install -e ./libs/marops_config
Usage
Reading config
from marops_config import read
config = read()
Writing config
from marops_config import write, MarOpsConfig
config = MarOpsConfig()
write(config)
Generating schemas
After changing the dataclasses, you can generate the schemas with:
python3 -m marops_config.generate_schemas
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 Distribution
marops_config-3.9.0.tar.gz
(3.1 kB
view details)
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 marops_config-3.9.0.tar.gz.
File metadata
- Download URL: marops_config-3.9.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9e3a097067ecc75bb5ee91c3e9ae1c261cf4df1ce12e77e5fea5d4ba0f93b9e
|
|
| MD5 |
2ccbc37d0edc6c606205e4893b69cd31
|
|
| BLAKE2b-256 |
a6d9520dd1ffe484574313d0b69b54391d10ab14d29331bb36898eb48eee5c42
|
File details
Details for the file marops_config-3.9.0-py3-none-any.whl.
File metadata
- Download URL: marops_config-3.9.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58b4dea78e6e1fc9ce71604f7eea934ed33621f48e2f72f0f0c319cee8ff7a75
|
|
| MD5 |
66bfc7bfd381f5899696e71a13a4c3e6
|
|
| BLAKE2b-256 |
7eb25520880b8860b9573e98d959b87f146dd8510e068a0a5440af8b62abb8f7
|