dicfg
Dicfg is a configuration system that supports dependency injection via object interpolation in config files.
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.4%) to scientific vocabulary
Keywords
config
configuration
dependency-injection
interpolation
json-configuration
yaml-configuration
Last synced: 6 months ago
·
JSON representation
·
Repository
Dicfg is a configuration system that supports dependency injection via object interpolation in config files.
Basic Info
- Host: GitHub
- Owner: martvanrijthoven
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://martvanrijthoven.github.io/dicfg/
- Size: 7.07 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
- Releases: 18
Topics
config
configuration
dependency-injection
interpolation
json-configuration
yaml-configuration
Created over 3 years ago
· Last pushed 6 months ago
Metadata Files
Readme
License
Citation
README.md
Dicfg is a configuration system that supports dependency injection via object interpolation in config files.
Main Features
- Loading of predefined config files (YAML and JSON).
- Overwrite config with user_config files/dictionaries, command line interface, and/or presets.
- Customize merge/replace behavior for dictionaries and lists.
- Interpolation support for sub-config files, config variables, environment variables, and python objects.
- Build object instances directly in the config.
- Dependency injection via object interpolation: configure all object dependencies directly in the config.
- Use object attribute interpolation for referencing object attributes directly in the config file.
Installation
bash
pip install dicfg
bash
conda install -c conda-forge dicfg
Docs
Owner
- Name: Mart van Rijthoven
- Login: martvanrijthoven
- Kind: user
- Location: Netherlands
- Company: Radboudumc
- Repositories: 4
- Profile: https://github.com/martvanrijthoven
Citation (CITATION.cff)
cff-version: 1.1.0 message: "If you use this software, please cite it as below." authors: - family-names: van Rijthoven given-names: Mart orcid: https://orcid.org/0000-0003-3758-4348 title: Dicfg doi: 10.5281/zenodo.7320310 date-released: 2022-11-14
GitHub Events
Total
- Release event: 2
- Watch event: 1
- Issue comment event: 2
- Push event: 82
- Pull request event: 4
- Create event: 2
Last Year
- Release event: 2
- Watch event: 1
- Issue comment event: 2
- Push event: 82
- Pull request event: 4
- Create event: 2
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 162
- Total Committers: 2
- Avg Commits per committer: 81.0
- Development Distribution Score (DDS): 0.037
Top Committers
| Name | Commits | |
|---|---|---|
| martvanrijthoven | m****n@g****m | 156 |
| pre-commit-ci[bot] | 6****]@u****m | 6 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 2
- Total pull requests: 18
- Average time to close issues: 10 months
- Average time to close pull requests: about 1 month
- Total issue authors: 2
- Total pull request authors: 3
- Average comments per issue: 1.0
- Average comments per pull request: 0.28
- Merged pull requests: 17
- Bot issues: 0
- Bot pull requests: 13
Past Year
- Issues: 0
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 1 minute
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- robinlomans (1)
- martvanrijthoven (1)
Pull Request Authors
- pre-commit-ci[bot] (15)
- martvanrijthoven (8)
- robinlomans (1)
Top Labels
Issue Labels
documentation (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 104 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 19
- Total maintainers: 1
pypi.org: dicfg
- Homepage: https://github.com/martvanrijthoven/dicfg/
- Documentation: https://dicfg.readthedocs.io/
- License: MIT License Copyright (c) 2022 martvanrijthoven Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
Latest release: 0.0.18
published about 1 year ago
Rankings
Dependent packages count: 10.0%
Downloads: 14.5%
Average: 21.5%
Dependent repos count: 21.7%
Forks count: 22.6%
Stargazers count: 38.8%
Maintainers (1)
Last synced:
6 months ago
Dependencies
requirements.txt
pypi
- PyYaml *
.github/workflows/ci_tests.yml
actions
.github/workflows/codeql.yml
actions
- actions/checkout v3 composite
- github/codeql-action/analyze v2 composite
- github/codeql-action/autobuild v2 composite
- github/codeql-action/init v2 composite
.github/workflows/docs.yml
actions
- actions/checkout v2 composite
- actions/setup-python v2 composite
- peaceiris/actions-gh-pages v3 composite
.github/workflows/publish.yml
actions
.github/workflows/pypi.yml
actions
- actions/checkout v2 composite
- actions/setup-python v2 composite
.github/workflows/release.yml
actions
- actions/checkout v2 composite
- actions/setup-python v2 composite
.github/workflows/tests.yml
actions
- actions/checkout v2 composite
- actions/setup-python v2 composite
docs/requirements.txt
pypi
- PyYaml *
- ipython *
- jupyter *
- jupytext *
- myst-parser *
- myst_nb *
- nbsphinx *
- numpy *
- pydata_sphinx_theme *
- sphinx *
- sphinx-autodoc-typehints *
- sphinx-copybutton *
- sphinx_design *
- sphinxcontrib-napoleon *
pyproject.toml
pypi
- PyYaml >=5.4.1