{"id":15673634,"url":"https://github.com/alancoding/megaparse","last_synced_at":"2026-06-12T20:32:53.099Z","repository":{"id":144899694,"uuid":"71731453","full_name":"AlanCoding/megaparse","owner":"AlanCoding","description":"Python bundler for parsing methods (YAML, JSON, etc.) that won't give \"no\" for an answer","archived":false,"fork":false,"pushed_at":"2016-10-23T23:49:29.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T11:43:41.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlanCoding.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-23T21:41:19.000Z","updated_at":"2016-10-23T23:19:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b77e1d6-ed7c-4163-bd25-d062f7d1f551","html_url":"https://github.com/AlanCoding/megaparse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlanCoding/megaparse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Fmegaparse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Fmegaparse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Fmegaparse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Fmegaparse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlanCoding","download_url":"https://codeload.github.com/AlanCoding/megaparse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Fmegaparse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34262155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-10-03T15:41:36.236Z","updated_at":"2026-06-12T20:32:53.078Z","avatar_url":"https://github.com/AlanCoding.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# megaparse\nPython bundler for parsing methods (YAML, JSON, etc.) that won't give \"no\" for an answer.\n\nIf you can type it, we can parse it!\n\n## Use\n\nThis should follow the same pattern that other parsing libraries do.\nFor example, it should adhere to basic \"load\" and \"dump\" operations.\n\n```python\nimport megaparse\nastr = \"a: 4\"\nprint megaparse.load(astr)\n```\n\nThat code should print out simply `{'a': 4}`.\nA second optional argument will always be the fallback option.\nFor example:\n\n```python\nimport megaparse\nastr = \"{a: \"\nrock = Rock()\nprint megaparse.load(astr, rock)\n```\n\nThat string is not a coherent dictionary in any markup system, so\nwe default to returning the fallback option, which is a rock in this case.\nThe above code may print `\u003c__main__.Rock instance at 0x10c334518\u003e`, but results\nwill vary based on what your individual rock looks like.\n\n## Features (planned)\n\n### Multi-parse\n\nAttempt to parse the given string with all the available parsers. If successful\nwith any parser, return that result, with some restrictions. This will only\never return a dictionary, and non-dictionary results from any given parser\nwill be rejected if they are not.\n\n### Pretty Merge\n\nWithin the confines of certain formats, comments should be preserved when\nmerging multiple sources.\n\n### Nested encrypted values\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancoding%2Fmegaparse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falancoding%2Fmegaparse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancoding%2Fmegaparse/lists"}