This release is a pre-release and may not be stable for production use.
CAFRAM - Config as Framework
Cafram is a hierarchical configuration framework for Python. It provides classes to map a hierarchical configuration (usually loaded from YAML files) to Python objects. Then it provides a foundation to organize your application code.
Quickstart
On it's simplest form, it can load a simple yaml file and create a NodeObject:
import yaml
from cafram.nodes import ConfAuto
yaml_config = """
config:
namespace: "my_ns"
create_file: True
backups: 3
backup_prefix: null
files:
- name: hello
- name: world
filters:
content:
prepend: "Added at first"
append: "Added at last"
author:
name: MyName
date: True
"""
config = yaml.safe_load(yaml_config)
app = ConfAuto(ident="app", payload=config, autoconf=-1)
print ("List of files: ", app.files.get())
app.dump()
This is quite convenient, but it's quite useless.
Meta
Author: MrJK License: GPLv3
Metadata
Release files for cafram 0.2.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cafram-0.2.0a0.tar.gz | 36.2 kB | Without provenance | Details for cafram-0.2.0a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cafram-0.2.0a0-py3-none-any.whl | Python 3 | none | any | Details for cafram-0.2.0a0-py3-none-any.whl |
Total release size: 78.5 kB
Release files / cafram-0.2.0a0.tar.gz
| Download URL | cafram-0.2.0a0.tar.gz |
|---|---|
| Size | 36.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ffe9cc93e2691a7221b37c8c9e554959ce465ca987e7d49bcbc1df19d658b79
|
|
BLAKE2b-256 checksum How to use checksums |
2b2f6b9fdf7f31092b6d87bff3b9c2f20fee634b83f836bdeb4df917893a7977
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.16 Linux/5.15.109-1-MANJARO
|
Release files / cafram-0.2.0a0-py3-none-any.whl
| Download URL | cafram-0.2.0a0-py3-none-any.whl |
|---|---|
| Size | 42.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ce805bbbaa6bca535f90bb2e58536458226dc7b19793a9684667039b6ee2dce
|
|
BLAKE2b-256 checksum How to use checksums |
dd5c720952a782abd7de75a9b5c7db031dfa136e96ac6f2750481f2160c3e973
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.16 Linux/5.15.109-1-MANJARO
|
Security for cafram 0.2.0a0
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.