baqup-schema
JSON Schema validation and environment variable loading for baqup agent configuration.
⚠️ This is a placeholder package. Full implementation coming soon.
What is baqup?
baqup is a container-native backup orchestration system. It uses a controller-agent architecture where:
- The controller discovers workloads via Docker labels
- Agents perform backup/restore operations
- Configuration is defined via JSON Schema
This package provides schema validation for agent configuration, used by both:
- Agents (to validate their own configuration at startup)
- Controller (to pre-flight validate before spawning agents)
Planned Features
- JSON Schema validation (draft-2020-12)
- Environment variable loading with type coercion
- Custom format validators (
path,hostname, etc.) - Conditional validation support
Installation
pip install baqup-schema
Usage (Preview API)
from baqup_schema import load_from_env, validate
# Load and validate from environment variables
config = load_from_env("agent-schema.json")
# Or validate an existing dict
result = validate(schema, config_dict)
if not result.valid:
for error in result.errors:
print(f"{error.path}: {error.message}")
Related Packages
| Package | Description |
|---|---|
baqup-schema |
Schema validation (this package) |
baqup-agent |
Agent SDK for Python |
Links
License
Fair Source License - see LICENSE for details.
Metadata
Release files for baqup-schema 0.0.1
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 | |
|---|---|---|---|---|
| baqup_schema-0.0.1.tar.gz | 2.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| baqup_schema-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / baqup_schema-0.0.1.tar.gz
| Download URL | baqup_schema-0.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c82a433cbfff6407e8c10ba94bd6ce52c6dcbb57b75e4a8d874f7c97c20987f
|
|
BLAKE2b-256 checksum How to use checksums |
ea386bf169e2dfad32024c5605737c5ebb0bfea1ac3a8bf8131b204e8689fda2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / baqup_schema-0.0.1-py3-none-any.whl
| Download URL | baqup_schema-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97388e044bd6d697aeb6aaf44560debd48fb010492f8c46d5df86482631869f1
|
|
BLAKE2b-256 checksum How to use checksums |
3d62ca40a66062fc4ea93fec18e5f4304271cb82ce38642ff468a322849e1882
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for baqup-schema 0.0.1
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.