-
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
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
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:
-
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()
Related posts
-
Medical RAG Research with txtai
-
Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer
-
Predictive Maintenance Systems for Cleaning Robots: Boosting Efficiency Through Smart Tech
-
My personal favorite MCP server which has became part of my life
-
None of the top 10 projects in GitHub is actually a software project 🤯