What is the best practice for injecting configuration into a python application

This page summarizes the projects mentioned and recommended in the original post on /r/Python

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Dependency Injector

    Dependency injection framework for Python

  • One approach is to pass this config as a variable to every class it is required, which I dont prefer. Another option is to annotate the config class as singleton and create the config object at every place where I need them. I also came across this library called Dependency_Injector. https://python-dependency-injector.ets-labs.org/ This seems a bit heavy weight for my use case though. I am looking forward to know how other solve this problem

  • hyperparameter

    Hyperparameter, Make configurable AI applications.Build for Python hackers.

  • you can take a look at https://github.com/reiase/hyperparameter, a scoped, thread-safe config object that is lightweight enough. There is no need to modify too much code:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • towhee

    Towhee is a framework that is dedicated to making neural data processing pipelines simple and fast.

  • The package now is part of towhee, you can use the latest version of hyper parameter by python from towhee import param_scope()

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • AI enthusiasm #9 - A multilingual chatbot📣🈸

    6 projects | dev.to | 1 May 2024
  • Side Quest Devblog #1: These Fakes are getting Deep

    3 projects | dev.to | 29 Apr 2024
  • Library for Machine learning and quantum computing

    4 projects | dev.to | 27 Apr 2024
  • The Nimble File Format by Meta

    2 projects | news.ycombinator.com | 25 Apr 2024
  • How to Estimate Depth from a Single Image

    8 projects | dev.to | 25 Apr 2024