{"id":24332326,"url":"https://github.com/moosems/pyeditorconfig","last_synced_at":"2026-01-28T15:13:56.242Z","repository":{"id":204721806,"uuid":"634254844","full_name":"Moosems/pyeditorconfig","owner":"Moosems","description":"A package to parse editorconfig files in Python","archived":false,"fork":false,"pushed_at":"2024-06-13T22:51:02.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-20T14:34:29.064Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pyeditorconfig/","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/Moosems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-29T14:42:01.000Z","updated_at":"2024-06-13T22:51:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b029c56-1914-42e4-8398-d4cc0269dc89","html_url":"https://github.com/Moosems/pyeditorconfig","commit_stats":null,"previous_names":["moosems/pyeditorconfig"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Moosems/pyeditorconfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moosems%2Fpyeditorconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moosems%2Fpyeditorconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moosems%2Fpyeditorconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moosems%2Fpyeditorconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moosems","download_url":"https://codeload.github.com/Moosems/pyeditorconfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moosems%2Fpyeditorconfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-01-18T02:03:51.904Z","updated_at":"2026-01-28T15:13:56.226Z","avatar_url":"https://github.com/Moosems.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003epyeditorconfig\u003c/h1\u003e\n\n\u003e **Note**\n\u003e The logic in this module was created by @Akuli due to the lack of maintanence of the normal `editorconfig` module. I simply added it to PyPI and made a few changes to the code. All credit goes to @Akuli.\n\n## Description\nThis module is a simple implementation of the [EditorConfig](https://editorconfig.org/) file format. It is designed to be simple and easy to use. You use the `get_config()` method with a path as an argument and a dict with the configuration will be returned.\n\n\n## Installation\n\n`pip install pyeditorconfig`\n\n# Documentation\n\n## `get_config(path)`\n\nThis method takes an absolute path as an argument and returns a dict with the configuration. If there is no configuration file, it will return an empty dict.\n\n| Argument | Type | Description |\n| --- | --- | --- |\n| `path` | `os.path.abspath` or `str` | The absolute path to the file. The str must also be the absolute path or it will not work. |\n\n## Example:\n\n```python\nfrom os import path\n\nfrom pyeditorconfig import get_config\n\nprint(get_config(__file__))\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoosems%2Fpyeditorconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoosems%2Fpyeditorconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoosems%2Fpyeditorconfig/lists"}