Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simputils-config #2619

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

PandaHugMonster
Copy link

What is this Python project?

simputils-config is a tiny library that simplifies working with configs and params. Especially useful for collecting config values from different sources and using the resulting "dict-like" object for different (unlimited) purposes. Additionally allows integration with pydantic framework and as sources any file-type (If the handler for this file-type is implemented, custom or not).

  • Helps with improving overall architecture of an application (architecture quality and customization was the main objectives of the project)
  • Simplifies and reduces amount of effort in using configs
  • Tracking history of applied values
  • Aggregating values from different sources
  • Merging configs with different strategies (extensible)
  • Improved integration with IDEs auto-completion feature
    • Config can be used in "object/dot-notation" way (with a proper description of the config), IDEs would provide autocomplete for field names
  • Enum config definitions (with defaults, data-types casting, etc.)
  • Filtering and pre-processing features
  • Resulting config behaves as a standard python dict data-type
  • Seamless Integration with:
    • Standard python argparser
    • Out of the box support of file-types: yml, env, json (custom handlers for other file-types can be added)
    • System env-vars os.environ
    • pydantic

All the features are implemented with development effort reduction and generic architecture in mind, that makes this project awesome.

What's the difference between this Python project and similar ones?

Most of the projects related to "configs" either too complicated to use, or missing features, besides bloating and damaging the overall architecture of a project (IMHO).

--

Anyone who agrees with this pull request could submit an Approve review to it.

P.S. I'm the owner of the project, and I understand that this can cause this PR to be rejected, but I really think that this project can be beneficial to developers.

Copy link

@GeorgiiKrikun GeorgiiKrikun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use simputils-config at work, seems to be a great way to simplify your app configuration and have multiple different modularised setups.

@PandaHugMonster
Copy link
Author

Keep in mind, those 3 approvals seems to be from empty fake/scammer accounts. Please report them!
I do not endorse unfair game.

@baslia
Copy link

baslia commented Nov 11, 2024

I am surprised to see that, what is the interest of having fake accounts approving PR in this repo ?

@PandaHugMonster
Copy link
Author

I am surprised to see that, what is the interest of having fake accounts approving PR in this repo ?

Create an impression of validity of the accounts (creation of activity on those accounts). At least I think so. The recent months there were spikes in fake accounts on github.

Maybe it's a way to sink my PR, so there would be an impression that I created those accounts.

Basically I don't know, just guessing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants