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.7.tar.gz (4.6 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.7-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybae-0.1.7.tar.gz
  • Upload date:
  • Size: 4.6 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.7.tar.gz
Algorithm Hash digest
SHA256 052b28c6212cac638ae9a78b7cee0159a5d4a3cefde5be5d0a02f7bba51b8588
MD5 8e6a265715913d34589ee0176f2e403d
BLAKE2b-256 0cedc67f2adef72644845ba613d28ce3838d0063310e612c4339fff290a27b89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybae-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 475a4a6d15b554e92723f2e9f94174aedeabdb7060b16ae176656dcc6e51010c
MD5 0ffd49b97f9e4c1f7b716ed545c93b02
BLAKE2b-256 5f9b8634fae4b50e462865d90cdefa8fceb8247fc5d7237aabf82b0fcabe0c91

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