Science Score: 44.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
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.1%) to scientific vocabulary
Keywords
Repository
Unified handling of configuration files in Python
Basic Info
- Host: GitHub
- Owner: gahjelle
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://pypi.org/project/pyconfs/
- Size: 88.9 KB
Statistics
- Stars: 17
- Watchers: 4
- Forks: 2
- Open Issues: 2
- Releases: 13
Topics
Metadata Files
README.md
PyConfs
Unified handling of configuration files in Python
Note: For new projects, use Configaroo instead.
Installing PyConfs
PyConfs is available at PyPI. You can install it using Pip:
$ python -m pip install pyconfs
Using PyConfs
A PyConfs Configuration is a dictionary-like object that unifies several different configuration file formats, including INI, JSON, TOML, and YAML.
Read a configuration from file:
from pyconfs import Configuration
cfg = Configuration.from_file("sample.json")
Access entries in a configuration:
package_name = cfg.name
first_name = cfg.author.firstname
Installing From Source
You can always download the latest version of PyConfs from GitHub. PyConfs uses Flit as a setup tool.
To install PyConfs from the downloaded source, run Flit:
$ python -m flit install --deps production
If you want to change and play with the PyConfs source code, you should install it in editable mode:
$ python -m flit install --symlink
Owner
- Name: Geir Arne Hjelle
- Login: gahjelle
- Kind: user
- Location: Oslo, Norway
- Company: @realpython
- Twitter: gahjelle
- Repositories: 67
- Profile: https://github.com/gahjelle
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "PyConfs"
abstract: "Unified handling of configuration files in Python"
authors:
- family-names: "Hjelle"
given-names: "Geir Arne"
version: 0.5.7
date-released: 2019-10-01
repository-code: "https://github.com/gahjelle/pyconfs"
license: MIT
keywords:
- "toml"
- "json"
- "ini"
- "yaml"
- "yml"
- "configuration"
- "config"
GitHub Events
Total
- Push event: 1
- Pull request event: 1
- Fork event: 1
- Create event: 1
Last Year
- Push event: 1
- Pull request event: 1
- Fork event: 1
- Create event: 1
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Geir Arne Hjelle | g****e@g****m | 94 |
| Lewi Uberg | 4****g | 3 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 4
- Total pull requests: 19
- Average time to close issues: about 6 hours
- Average time to close pull requests: 7 days
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 2.0
- Average comments per pull request: 0.21
- Merged pull requests: 18
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- gahjelle (3)
- lewiuberg (1)
Pull Request Authors
- gahjelle (16)
- lewiuberg (4)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 48,508 last-month
- Total dependent packages: 1
- Total dependent repositories: 1
- Total versions: 21
- Total maintainers: 1
pypi.org: pyconfs
PyConfs, unified handling of configuration files for Python
- Homepage: https://github.com/gahjelle/pyconfs
- Documentation: https://pyconfs.readthedocs.io/
- License: MIT License
-
Latest release: 0.5.7
published 6 months ago
Rankings
Maintainers (1)
Dependencies
- PyYAML *
- importlib_resources *
- pyplugs *
- toml *