Skip to main content

A collection of utilities for building APIs with FastAPI

Project description

Bingqilin

A collection of utilities that serve as syntactic ice cream for your FastAPI app

Package version


Documentation: https://a-huy.github.io/bingqilin/ Source Code: https://github.com/a-huy/bingqilin


Features

This package contains some utilities for common actions and resources for your FastAPI app:

  • Extended Settings Loading - Bingqilin provides additional pieces to enhance Pydantic's BaseSettings:

    • Add settings sources to enable loading from .yaml files or .ini files
    • Allow the option to add the settings model to the OpenAPI docs (/docs)
    • A base ConfigModel derived from Pydantic's BaseSettings that will allow configuring parts of your FastAPI app and Bingqilin's utilities via settings
    • Provides a SettingsManager class to attach your settings model to allow live reconfiguring
  • Reconfigurable Contexts - Provide constructs to declare shared connection objects (such as databases and third-party clients) that can be initialized from settings and can be enabled for live reconfiguring.

  • Validation Error Logging - Add an exception handler for RequestValidationError that emits a log. Useful for troubleshooting routes that support a lot of different types of requests, such as third-party callback handlers.

Requirements

This package is intended for use with any recent version of FastAPI (>=0.95.2).

Installation

pip install bingqilin

License

This project is licensed under the terms of 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

bingqilin-0.6.7.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

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

bingqilin-0.6.7-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file bingqilin-0.6.7.tar.gz.

File metadata

  • Download URL: bingqilin-0.6.7.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.14 Darwin/25.5.0

File hashes

Hashes for bingqilin-0.6.7.tar.gz
Algorithm Hash digest
SHA256 0f85f323be431a7fcf25c4082f5d418525871ce1f567d1b30044c7f6a387a021
MD5 dbf84a6b78946c0418b07abd5d821f7c
BLAKE2b-256 c1551bac9e5822db4dabb345cbdb1e789586855905910dd1fb11c6675b5999b3

See more details on using hashes here.

File details

Details for the file bingqilin-0.6.7-py3-none-any.whl.

File metadata

  • Download URL: bingqilin-0.6.7-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.14 Darwin/25.5.0

File hashes

Hashes for bingqilin-0.6.7-py3-none-any.whl
Algorithm Hash digest
SHA256 efcb28536f7a1d46e09f279609ccd9632d3236832ebf9af804bc76fb117dd6d8
MD5 ba9031b3c5ca443b0f1e3010ed6d4a71
BLAKE2b-256 2a88dbe775995a56b7186cfde193587ecc20a3848187f2b2584e231498bc1867

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