{"id":40587022,"url":"https://github.com/kuzxnia/async_factory_boy","last_synced_at":"2026-01-21T03:07:22.289Z","repository":{"id":58504542,"uuid":"531900786","full_name":"kuzxnia/async_factory_boy","owner":"kuzxnia","description":"factory_boy extension with asynchronous ORM support","archived":false,"fork":false,"pushed_at":"2024-06-12T16:31:54.000Z","size":24,"stargazers_count":24,"open_issues_count":6,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-30T03:16:14.292Z","etag":null,"topics":["factory-boy","python","testing","unit-testing"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/async-factory-boy/","language":"Python","has_issues":true,"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/kuzxnia.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2022-09-02T11:37:34.000Z","updated_at":"2025-07-03T23:58:45.000Z","dependencies_parsed_at":"2022-09-03T22:22:31.237Z","dependency_job_id":null,"html_url":"https://github.com/kuzxnia/async_factory_boy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kuzxnia/async_factory_boy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuzxnia%2Fasync_factory_boy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuzxnia%2Fasync_factory_boy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuzxnia%2Fasync_factory_boy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuzxnia%2Fasync_factory_boy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuzxnia","download_url":"https://codeload.github.com/kuzxnia/async_factory_boy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuzxnia%2Fasync_factory_boy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28624343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T02:47:06.670Z","status":"ssl_error","status_checked_at":"2026-01-21T02:45:44.886Z","response_time":86,"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":["factory-boy","python","testing","unit-testing"],"created_at":"2026-01-21T03:07:22.218Z","updated_at":"2026-01-21T03:07:22.277Z","avatar_url":"https://github.com/kuzxnia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"async_factory_boy\n=================\n\n`factory_boy \u003chttps://github.com/FactoryBoy/factory_boy\u003e`__ extension\nwith asynchronous ORM support\n\nRequirements\n------------\n\n-  python (3.8, 3.9, 3.10)\n\nInstalation\n-----------\n\nInstall using ``pip``\n\n::\n\n   pip install async_factory_boy\n\nUsage\n-----\n\nasync_factory_boy integrate with Object Relational Mapping (ORM) through\nsubclass of ``factory.Factory``. All supported are listed below.\n\n-  SQLAlchemy, with\n   ``async_factory_boy.factory.sqlalchemy.AsyncSQLAlchemyFactory``\n\n.. code:: python\n\n   from async_factory_boy.factory.sqlalchemy import AsyncSQLAlchemyFactory\n\n\n   class TestModelFactory(AsyncSQLAlchemyFactory):\n       class Meta:\n           model = TestModel\n           session = session\n\n       name = Faker(\"name\")\n       created_at = Faker(\"date_time\")\n\n-  Tortoise ORM, with\n   ``async_factory_boy.factory.tortoise.AsyncTortoiseFactory``\n\n.. code:: python\n\n   from async_factory_boy.factory.tortoise import AsyncTortoiseFactory\n\n\n   class TestModelFactory(AsyncTortoiseFactory):\n       class Meta:\n           model = TestModel\n\n       name = Faker(\"name\")\n       created_at = Faker(\"date_time\")\n\nand factory usage\n\n.. code:: python\n\n   test = await TestModelFactory.create()\n   test = await TestModelFactory.build()\n\nFor test configuration examples check ``tests/`` directory.\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuzxnia%2Fasync_factory_boy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuzxnia%2Fasync_factory_boy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuzxnia%2Fasync_factory_boy/lists"}