{"id":15286535,"url":"https://github.com/gahjelle/pyconfs","last_synced_at":"2025-10-05T05:34:41.205Z","repository":{"id":46402744,"uuid":"215508920","full_name":"gahjelle/pyconfs","owner":"gahjelle","description":"Unified handling of configuration files in Python","archived":false,"fork":false,"pushed_at":"2021-10-20T12:18:00.000Z","size":116,"stargazers_count":17,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-11T13:19:46.244Z","etag":null,"topics":["configuration","ini","json","python","toml","yaml"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pyconfs/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gahjelle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-10-16T09:27:55.000Z","updated_at":"2024-07-03T14:34:03.000Z","dependencies_parsed_at":"2022-08-20T17:51:06.710Z","dependency_job_id":null,"html_url":"https://github.com/gahjelle/pyconfs","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/gahjelle/pyconfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gahjelle%2Fpyconfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gahjelle%2Fpyconfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gahjelle%2Fpyconfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gahjelle%2Fpyconfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gahjelle","download_url":"https://codeload.github.com/gahjelle/pyconfs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gahjelle%2Fpyconfs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259719716,"owners_count":22901239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","ini","json","python","toml","yaml"],"created_at":"2024-09-30T15:16:21.868Z","updated_at":"2025-10-05T05:34:41.197Z","avatar_url":"https://github.com/gahjelle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyConfs\n\n_Unified handling of configuration files in Python_\n\n[![Latest version](https://img.shields.io/pypi/v/pyconfs.svg)](https://pypi.org/project/pyconfs/)\n[![Python versions](https://img.shields.io/pypi/pyversions/pyconfs.svg)](https://pypi.org/project/pyconfs/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Interrogate DocStrings](https://github.com/gahjelle/pyconfs/blob/main/docs/images/interrogate_badge.svg)](https://interrogate.readthedocs.io/)\n[![unit_tests](https://github.com/gahjelle/pyconfs/workflows/unit_tests/badge.svg)](https://github.com/gahjelle/pyconfs/actions)\n\n\u003e **Note:** For new projects, use [Configaroo](https://github.com/gahjelle/configaroo) instead.\n\n## Installing PyConfs\n\nPyConfs is available at [PyPI](https://pypi.org/project/pyconfs/). You can install it using Pip:\n\n    $ python -m pip install pyconfs\n\n\n## Using PyConfs\n\nA **PyConfs Configuration** is a dictionary-like object that unifies several different configuration file formats, including INI, JSON, TOML, and YAML.\n\n**Read a configuration from file**:\n\n    from pyconfs import Configuration\n    cfg = Configuration.from_file(\"sample.json\")\n\n**Access entries in a configuration**:\n\n    package_name = cfg.name\n    first_name = cfg.author.firstname\n\n\n## Installing From Source\n\nYou can always download the [latest version of PyConfs from GitHub](https://github.com/gahjelle/pyconfs). PyConfs uses [Flit](https://flit.readthedocs.io/) as a setup tool.\n\nTo install PyConfs from the downloaded source, run Flit:\n\n    $ python -m flit install --deps production\n\nIf you want to change and play with the PyConfs source code, you should install it in editable mode:\n\n    $ python -m flit install --symlink","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgahjelle%2Fpyconfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgahjelle%2Fpyconfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgahjelle%2Fpyconfs/lists"}