{"id":24073785,"url":"https://github.com/miguelflg13/dataclass-bakery","last_synced_at":"2025-09-05T20:45:02.161Z","repository":{"id":52791946,"uuid":"356315990","full_name":"miguelFLG13/dataclass-bakery","owner":"miguelFLG13","description":"Dataclass Bakery offers you a smart way to create objects based on dataclasses for testing in Python.","archived":false,"fork":false,"pushed_at":"2024-02-22T15:09:55.000Z","size":59,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T05:48:11.271Z","etag":null,"topics":["dataclasses","python","python3","testing","testing-tools"],"latest_commit_sha":null,"homepage":"","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/miguelFLG13.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","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":"2021-04-09T15:24:59.000Z","updated_at":"2025-03-06T09:13:37.000Z","dependencies_parsed_at":"2025-01-09T17:56:53.455Z","dependency_job_id":"231ec88f-6bb8-4419-a7b8-ab05ebf63dea","html_url":"https://github.com/miguelFLG13/dataclass-bakery","commit_stats":{"total_commits":38,"total_committers":1,"mean_commits":38.0,"dds":0.0,"last_synced_commit":"413b5b88ced200e4208e9a25edf520bfc7c31ca5"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelFLG13%2Fdataclass-bakery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelFLG13%2Fdataclass-bakery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelFLG13%2Fdataclass-bakery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelFLG13%2Fdataclass-bakery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miguelFLG13","download_url":"https://codeload.github.com/miguelFLG13/dataclass-bakery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251348563,"owners_count":21575293,"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","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":["dataclasses","python","python3","testing","testing-tools"],"created_at":"2025-01-09T17:56:49.352Z","updated_at":"2025-04-28T16:48:56.183Z","avatar_url":"https://github.com/miguelFLG13.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dataclass Bakery\nDataclass Bakery offers you a smart way to create objects based on dataclasses for testing in Python.\nInspired in model bakery module for Django.\n\n### Install\n\n`pip install dataclass_bakery`\n\n### Usage and Info\n\n#### Basic usage\n\n```\nfrom dataclasses import dataclass\n\nfrom dataclass_bakery import baker\n\n\n@dataclass\nclass Customer:\n    id: int\n    name: str\n    spent_money: float\n    \n    \nbaker.make(Customer)\nbaker.make(Customer, _quantity=3)\n\n\"\"\"\nCustomer(id=25, name='vzWoIfgoZM', spent_money=16.36)\n\n[Customer(id=27, name='OYvyWakmUX', spent_money=84.98), Customer(id=41, name='AiancdsmLg', spent_money=57.57), Customer(id=92, name='feTxLyuSus', spent_money=26.06)]\n\"\"\"\n```\n\nFor more information: https://dataclass-bakery.readthedocs.io/\n\n#### Types available:\n\n - int\n - str\n - float\n - bool\n - complex\n - date\n - datetime\n - range\n - list\n - tuple\n - dict\n - set\n - List (from typing import List)\n - Tuple (from typing import Tuple)\n - Dict (from typing import Dict)\n - Union (from typing import Union)\n - Optional (from typing import Optional)\n - Path (from pathlib import Path)\n - Decimal (from decimal import Decimal)\n - UUID (from uuid import UUID)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelflg13%2Fdataclass-bakery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiguelflg13%2Fdataclass-bakery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelflg13%2Fdataclass-bakery/lists"}