{"id":27055487,"url":"https://github.com/duesee/imap-codec-python","last_synced_at":"2026-03-06T22:02:10.664Z","repository":{"id":254466681,"uuid":"845642467","full_name":"duesee/imap-codec-python","owner":"duesee","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-21T18:43:19.000Z","size":120,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-21T20:29:49.895Z","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/duesee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["duesee"]}},"created_at":"2024-08-21T16:34:59.000Z","updated_at":"2025-11-21T18:43:16.000Z","dependencies_parsed_at":"2024-09-16T19:14:26.540Z","dependency_job_id":"a0c662b4-6313-4221-95ad-aec64aa5a673","html_url":"https://github.com/duesee/imap-codec-python","commit_stats":null,"previous_names":["duesee/imap-codec-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/duesee/imap-codec-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fimap-codec-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fimap-codec-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fimap-codec-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fimap-codec-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duesee","download_url":"https://codeload.github.com/duesee/imap-codec-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fimap-codec-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30200756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"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-04-05T09:27:52.571Z","updated_at":"2026-03-06T22:02:10.623Z","avatar_url":"https://github.com/duesee.png","language":"Python","funding_links":["https://github.com/sponsors/duesee"],"categories":[],"sub_categories":[],"readme":"# imap-codec\n\nThis library provides parsing and serialization for [IMAP4rev1].\nIt is based on [`imap-codec`], a building block for IMAP client and server implementations written\nin Rust, which implements the complete [formal syntax] of IMAP4rev1 and several IMAP extensions.\n\n## Usage\n\n```python\nfrom imap_codec import Greeting, GreetingCodec\n\nbuffer = b\"* OK Hello, World!\\r\\n\u003cremaining\u003e\"\n\n# Decode buffer into a greeting\nremaining, greeting = GreetingCodec.decode(buffer)\nassert remaining == b\"\u003cremaining\u003e\"\nassert isinstance(greeting, Greeting)\n\n# Extract greeting data as dictionary\ndata = greeting.as_dict()\nassert data[\"code\"] is None\nassert data[\"kind\"] == \"Ok\"\nassert data[\"text\"] == \"Hello, World!\"\n```\n\nFor more usage examples take a look at the [examples] and [tests] on GitHub.\n\n\u003e **Note**: Access to data of message types (e.g. `Greeting`) is currently only available through\n\u003e dictionary representations (as seen above). This is planned to be improved in future releases of\n\u003e this library.\n\n## License\n\nThis library is dual-licensed under Apache 2.0 and MIT terms.\n\n[IMAP4rev1]: https://tools.ietf.org/html/rfc3501\n[`imap-codec`]: https://crates.io/crates/imap-codec\n[formal syntax]: https://tools.ietf.org/html/rfc3501#section-9\n[examples]: https://github.com/duesee/imap-codec/tree/main/bindings/imap-codec-python/examples\n[tests]: https://github.com/duesee/imap-codec/tree/main/bindings/imap-codec-python/tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduesee%2Fimap-codec-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduesee%2Fimap-codec-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduesee%2Fimap-codec-python/lists"}