{"id":13800356,"url":"https://github.com/jorenham/optype","last_synced_at":"2026-03-09T01:02:10.888Z","repository":{"id":223782112,"uuid":"761546852","full_name":"jorenham/optype","owner":"jorenham","description":"Opinionated typing package for precise type hints in Python","archived":false,"fork":false,"pushed_at":"2026-03-03T23:07:52.000Z","size":3231,"stargazers_count":77,"open_issues_count":10,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-04T03:25:40.530Z","etag":null,"topics":["numpy","pep484","python","python-types","python-typing"],"latest_commit_sha":null,"homepage":"https://jorenham.github.io/optype/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jorenham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","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":"jorenham"}},"created_at":"2024-02-22T03:07:03.000Z","updated_at":"2026-03-03T23:07:47.000Z","dependencies_parsed_at":"2025-12-07T13:01:00.894Z","dependency_job_id":null,"html_url":"https://github.com/jorenham/optype","commit_stats":null,"previous_names":["jorenham/optype"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/jorenham/optype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorenham%2Foptype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorenham%2Foptype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorenham%2Foptype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorenham%2Foptype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jorenham","download_url":"https://codeload.github.com/jorenham/optype/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorenham%2Foptype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30279765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"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":["numpy","pep484","python","python-types","python-typing"],"created_at":"2024-08-04T00:01:11.731Z","updated_at":"2026-03-09T01:02:10.849Z","avatar_url":"https://github.com/jorenham.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003eoptype\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\u003cstrong\u003eBuilding blocks for precise type hints\u003c/strong\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/jorenham/optype\"\u003e\u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/jorenham/optype?style=flat-square\u0026color=121d2f\u0026labelColor=3d444d\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/optype\"\u003e\u003cimg alt=\"PyPI Version\" src=\"https://img.shields.io/pypi/v/optype?style=flat-square\u0026color=121d2f\u0026labelColor=3d444d\"\u003e\u003c/a\u003e\n\u003ca href=\"https://anaconda.org/conda-forge/optype\"\u003e\u003cimg alt=\"Conda Version\" src=\"https://img.shields.io/conda/vn/conda-forge/optype?style=flat-square\u0026color=121d2f\u0026labelColor=3d444d\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/jorenham/optype\"\u003e\u003cimg alt=\"Python Versions\" src=\"https://img.shields.io/pypi/pyversions/optype?style=flat-square\u0026color=121d2f\u0026labelColor=3d444d\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/optype\"\u003e\u003cimg alt=\"PyPI Downloads\" src=\"https://img.shields.io/pypi/dm/optype?style=flat-square\u0026color=121d2f\u0026labelColor=3d444d\u0026cacheSeconds=86400\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/numpy/numpy\"\u003e\u003cimg alt=\"ruff\" src=\"https://img.shields.io/badge/numpy-262c36?style=flat-square\u0026logo=numpy\"\u003e\u003c/a\u003e\n\u003ca href=\"https://detachhead.github.io/basedpyright\"\u003e\u003cimg alt=\"basedpyright\" src=\"https://img.shields.io/endpoint?url=https://docs.basedpyright.com/latest/badge.json\u0026style=flat-square\u0026color=262c36\u0026labelColor=262c36\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/python/mypy\"\u003e\u003cimg alt=\"mypy\" src=\"https://img.shields.io/badge/mypy-262c36?style=flat-square\u0026logo=python\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/facebook/pyrefly\"\u003e\u003cimg alt=\"pyrefly\" src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/facebook/pyrefly/refs/heads/main/website/static/badge.json\u0026style=flat-square\u0026color=262c36\u0026labelColor=262c36\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/astral-sh/ty\"\u003e\u003cimg alt=\"ruff\" src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ty/main/assets/badge/v0.json\u0026style=flat-square\u0026color=262c36\u0026labelColor=262c36\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/astral-sh/ruff\"\u003e\u003cimg alt=\"ruff\" src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\u0026style=flat-square\u0026color=262c36\u0026labelColor=262c36\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/jorenham/optype\"\u003e\u003cstrong\u003eGitHub\u003c/strong\u003e\u003c/a\u003e\n  \u0026middot;\n  \u003ca href=\"https://jorenham.github.io/optype/installation/\"\u003e\u003cstrong\u003eInstallation\u003c/strong\u003e\u003c/a\u003e\n  \u0026middot;\n  \u003ca href=\"https://jorenham.github.io/optype/getting-started/\"\u003e\u003cstrong\u003eGetting Started\u003c/strong\u003e\u003c/a\u003e\n  \u0026middot;\n  \u003ca href=\"https://jorenham.github.io/optype/reference/\"\u003e\u003cstrong\u003eAPI Reference\u003c/strong\u003e\u003c/a\u003e\n  \u0026middot;\n  \u003ca href=\"https://github.com/jorenham/optype/releases\"\u003e\u003cstrong\u003eChangelog\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Stop fighting your type checker \u0026mdash; work \u003cem\u003ewith\u003c/em\u003e it.\u003cbr\u003e\n  \u003ccode\u003eoptype\u003c/code\u003e gives you single-method protocols for every dunder,\n  exact types that reject sneaky subtypes, and typed operators that actually\n  make sense \u0026mdash; so you can express what your code \u003cem\u003ereally\u003c/em\u003e accepts.\u003cbr\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  Zero dependencies. Works with every modern type checker. Optional NumPy support included. Battle tested.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cem\u003e\n    Visit the documentation at\n    \u003ca href=\"https://jorenham.github.io/optype/\"\u003ejorenham.github.io/optype\u003c/a\u003e.\n  \u003c/em\u003e\n\u003c/p\u003e\n","funding_links":["https://github.com/sponsors/jorenham"],"categories":["Additional types"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorenham%2Foptype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjorenham%2Foptype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorenham%2Foptype/lists"}