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 = My('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.0.tar.gz (3.9 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.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pybae-0.1.0.tar.gz
Algorithm Hash digest
SHA256 efc832248af5fa8008b870e5829118f0ab96a1cd6ead5c75213800f220ff0050
MD5 04c6c9c0906f2e3e920b516ee2a28b25
BLAKE2b-256 464b4413d8609cc9fb6ad6ff0984ecff8f2c9f9f24051b64e1f8fa1deb43b7e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybae-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for pybae-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ffc64be83422da62068d9bdd9ad992bb2231309d97660cbc7dcbfbf9b197e55
MD5 d67e51606d10db3957c4264e3f893957
BLAKE2b-256 3bec8e8c68896f963c12b9778a45cd03304c9f34451c5fc63bb533f0dddbc99a

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