{"id":17228962,"url":"https://github.com/swaroopch/edn_format","last_synced_at":"2025-04-04T17:07:57.781Z","repository":{"id":6061297,"uuid":"7286798","full_name":"swaroopch/edn_format","owner":"swaroopch","description":"EDN reader and writer implementation in Python, using PLY (lex, yacc)","archived":false,"fork":false,"pushed_at":"2024-07-09T17:30:33.000Z","size":222,"stargazers_count":141,"open_issues_count":3,"forks_count":31,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-28T16:11:09.739Z","etag":null,"topics":["clojure","deserialization","edn","edn-format","python","serialization"],"latest_commit_sha":null,"homepage":"https://www.swaroopch.com/Wrote-an-EDN-format-reader-and-writer-in-Python-11e0924249b181e3af8bdb9af1456373","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swaroopch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-12-22T14:51:59.000Z","updated_at":"2025-03-25T21:32:30.000Z","dependencies_parsed_at":"2025-01-18T18:12:32.314Z","dependency_job_id":"5961bc20-9e46-4b9b-b039-da84f7c72e58","html_url":"https://github.com/swaroopch/edn_format","commit_stats":{"total_commits":245,"total_committers":17,"mean_commits":"14.411764705882353","dds":"0.46122448979591835","last_synced_commit":"11f08434e4994830b837040f237d1741c375241e"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaroopch%2Fedn_format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaroopch%2Fedn_format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaroopch%2Fedn_format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaroopch%2Fedn_format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swaroopch","download_url":"https://codeload.github.com/swaroopch/edn_format/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217183,"owners_count":20903009,"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":["clojure","deserialization","edn","edn-format","python","serialization"],"created_at":"2024-10-15T04:45:36.182Z","updated_at":"2025-04-04T17:07:57.759Z","avatar_url":"https://github.com/swaroopch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# edn_format #\n\nImplements the [EDN format](https://github.com/edn-format/edn) in Python.\n\nAll features of EDN are implemented, including custom tagged elements.\n\n![Build Status](https://github.com/swaroopch/edn_format/workflows/build/badge.svg)\n[![PyPI version](https://img.shields.io/pypi/v/edn_format.svg)](https://pypi.org/project/edn_format/)\n\n## Installation ##\n\n    pip install edn_format\n\n## Usage ##\n\n```pycon\n\u003e\u003e\u003e import edn_format\n\u003e\u003e\u003e edn_format.dumps({1, 2, 3})\n'#{1 2 3}'\n\u003e\u003e\u003e edn_format.loads(\"[1 true nil]\")\n[1, True, None]\n\u003e\u003e\u003e edn_format.loads_all(\"1 2 3 4\")\n[1, 2, 3, 4]\n```\n\n\nIn general, `edn_format.loads(edn_format.dumps(obj)) == obj`. If this is\nfalse, it may be a bug.\n\nSee `tests.py` for full details.\n\n## Contributors ##\n\nSpecial thanks to the following contributors for making this library\nusable:\n\n- [@bfontaine](https://github.com/bfontaine)\n- [@marianoguerra](https://github.com/marianoguerra)\n- [@bitemyapp](https://github.com/bitemyapp)\n- [@jashugan](https://github.com/jashugan)\n- [@exilef](https://github.com/exilef)\n\n## FAQ ##\n\n### Why immutable list \u0026 dict? ###\n\nIIRC, it was related to https://github.com/edn-format/edn#rationale :\n\n\u003e edn will yield distinct object identities when read, unless a reader implementation goes out of its way to make such a promise. Thus **the resulting values should be considered immutable**, and a reader implementation should yield values that ensure this, to the extent possible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswaroopch%2Fedn_format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswaroopch%2Fedn_format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswaroopch%2Fedn_format/lists"}