{"id":25858770,"url":"https://github.com/arcletproject/alconna-notation","last_synced_at":"2026-06-08T06:35:24.229Z","repository":{"id":170356843,"uuid":"646495318","full_name":"ArcletProject/Alconna-Notation","owner":"ArcletProject","description":"serializer \u0026 deserializer of Alconna","archived":false,"fork":false,"pushed_at":"2023-05-28T15:28:14.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T20:45:54.248Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArcletProject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-05-28T15:26:59.000Z","updated_at":"2023-05-29T06:49:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"750b0513-8132-497b-8c3d-0d6f2247913b","html_url":"https://github.com/ArcletProject/Alconna-Notation","commit_stats":null,"previous_names":["rf-tar-railt/alconna-notation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ArcletProject/Alconna-Notation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcletProject%2FAlconna-Notation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcletProject%2FAlconna-Notation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcletProject%2FAlconna-Notation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcletProject%2FAlconna-Notation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArcletProject","download_url":"https://codeload.github.com/ArcletProject/Alconna-Notation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcletProject%2FAlconna-Notation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34051770,"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-08T02:00:07.615Z","response_time":111,"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":"2025-03-01T20:33:35.791Z","updated_at":"2026-06-08T06:35:24.224Z","avatar_url":"https://github.com/ArcletProject.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alconna Notation\n\n以 [`HOCON`](https://github.com/chimpler/pyhocon) 为基础的序列化/反序列化工具，用于转换 `Alconna`。\n\n## 示例\n\n```python\nimport arclet.alconna.notation as alcon\n\n# 从字符串解析\nalc = alcon.loads(\n\"\"\"\\\ncommand = test\nargs {\n    foo = str\n    bar = int\n}\noptions = [\n    {\n        name = --spam\n        aliases = [-s]\n        default = true\n        action = store_false\n    }\n    {\n        name = --eggs\n        aliases = [-e]\n        args {\n            count = int\n        }\n        default = 0\n    }\n]\n\"\"\"\n)\n\nassert alc.parse(\"test abc 123 -s\").query(\"foo\") == \"abc\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcletproject%2Falconna-notation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcletproject%2Falconna-notation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcletproject%2Falconna-notation/lists"}