Skip to main content

Core utilities for backend applications

Project description

pybae

A backend library for your application

Description

pybae is a Python library designed to simplify configuration and backend management in your applications. It provides tools to faster new deployments of backend services.

Installation

Clone the repository and install the dependencies:

pip install pybae

Usage

Example usage:

from pybae import config

class Foo(config.ConfigSection):
    bar: str
   
class Config(config.BaseConfig)
    foo: Foo

cfg = Config.load('path/to/config.yaml')
print(cfg.foo.bar)

Project Structure

  • pybae/: library source code
    • config.py: configuration management
  • example/: usage examples
    • config.yaml: sample configuration file
    • example_test.py: example test

Testing

To run the tests:

python example/example_test.py

Contributing

Contributions are welcome! Open an issue or submit a pull request for suggestions, bug reports, or new features.

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybae-0.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybae-0.1.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pybae-0.1.2.tar.gz.

File metadata

  • Download URL: pybae-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pybae-0.1.2.tar.gz
Algorithm Hash digest
SHA256 39b06caa497d8e7e4c1b97e2fd4948bdbf099cc26f1ecb683177e95409f14104
MD5 7deb0a6508b8497aa66a11588dac2802
BLAKE2b-256 a83441e7d67bf5c737094260e18c52371fbab10d32042cdc8b4d3e90d30081fb

See more details on using hashes here.

File details

Details for the file pybae-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pybae-0.1.2-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.12.9

File hashes

Hashes for pybae-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 259fb27e9cd672b055f5948817393dca69804a6b28a22d1b32257f4a4c5c8dda
MD5 00ba99cf7829e9b8c9a0ba0a6012eda5
BLAKE2b-256 357a96c044d555183f12bf7b3c8e2e0d517a733e2b3d82374d3e4c05587a6bab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page