{"id":20635805,"url":"https://github.com/orsinium-labs/pytypest","last_synced_at":"2025-10-12T18:56:25.016Z","repository":{"id":152948326,"uuid":"613910501","full_name":"orsinium-labs/pytypest","owner":"orsinium-labs","description":"Testing framework that empowers pytest (with better fixtures and parametrization)","archived":false,"fork":false,"pushed_at":"2024-06-26T10:18:41.000Z","size":77,"stargazers_count":59,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T18:56:23.635Z","etag":null,"topics":["pytest","python","tdd","test","testing","testing-framework","testing-library","testing-tools","typing","unit-testing"],"latest_commit_sha":null,"homepage":"https://pytypest.orsinium.dev/","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orsinium-labs.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":"2023-03-14T14:12:22.000Z","updated_at":"2025-02-09T12:33:09.000Z","dependencies_parsed_at":"2024-12-23T23:20:36.227Z","dependency_job_id":null,"html_url":"https://github.com/orsinium-labs/pytypest","commit_stats":{"total_commits":75,"total_committers":5,"mean_commits":15.0,"dds":"0.053333333333333344","last_synced_commit":"bfb92199079cfe35b22e301a748a840b69854af8"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/orsinium-labs/pytypest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fpytypest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fpytypest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fpytypest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fpytypest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orsinium-labs","download_url":"https://codeload.github.com/orsinium-labs/pytypest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fpytypest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012530,"owners_count":26085135,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":["pytest","python","tdd","test","testing","testing-framework","testing-library","testing-tools","typing","unit-testing"],"created_at":"2024-11-16T15:07:35.488Z","updated_at":"2025-10-12T18:56:24.987Z","avatar_url":"https://github.com/orsinium-labs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pytypest\n\nType-safe and maintainable fixtures and parametrization for [pytest](https://github.com/pytest-dev/pytest).\n\nFeatures:\n\n+ 100% type safe.\n+ Great IDE integration, go-to-definition always takes you in the right place.\n+ Test parametrization that is readable even with many arguments.\n+ Plug-and-play integration with pytest.\n+ No vendor-lock, you can use only the features you need and don't touch the rest.\n+ Fixtures can be cached, and you are in control of for how long.\n+ Fixtures can accept arguments.\n\nCheck out [motivation](https://pytypest.orsinium.dev/motivation.html) if you want to know more about why this project was born.\n\n## Installation\n\n```bash\npython3 -m pip install pytypest\n```\n\n## Usage\n\nFixtures are regular helper functions that `yield` their result and do teardown afterwards:\n\n```python\nfrom typing import Iterator\nfrom pytypest import fixture\n\n@fixture\ndef get_user(anonymous: bool) -\u003e Iterator[User]:\n    u = User(anonymous=anonymous)\n    u.save()\n    yield u\n    u.delete()\n\ndef test_user() -\u003e None:\n    u = get_user(anonymous=False)\n    assert u.anonymous is False\n```\n\nCompared to built-in pytest fixtures, these are explicit, type-safe, can accept arguments, support go-to-definition in IDE, and can be used as context managers. And like pytest fixtures, they are cached and can be scoped to the module or the whole session.\n\nRead more in the **documentation**: [pytypest.orsinium.dev](https://pytypest.orsinium.dev/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forsinium-labs%2Fpytypest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forsinium-labs%2Fpytypest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forsinium-labs%2Fpytypest/lists"}