{"id":20811226,"url":"https://github.com/shirokovnv/py-seed","last_synced_at":"2026-04-10T21:03:05.120Z","repository":{"id":59634474,"uuid":"538240893","full_name":"shirokovnv/py-seed","owner":"shirokovnv","description":"Seed generator, written in python with FastAPI.","archived":false,"fork":false,"pushed_at":"2023-09-27T16:52:07.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T14:46:18.779Z","etag":null,"topics":["fastapi","json","python","seeder"],"latest_commit_sha":null,"homepage":"","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/shirokovnv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-09-18T21:04:58.000Z","updated_at":"2022-09-19T05:29:23.000Z","dependencies_parsed_at":"2022-09-19T00:50:43.423Z","dependency_job_id":"42f5b0da-98ed-4386-9ee2-1c00d74be232","html_url":"https://github.com/shirokovnv/py-seed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shirokovnv%2Fpy-seed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shirokovnv%2Fpy-seed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shirokovnv%2Fpy-seed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shirokovnv%2Fpy-seed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shirokovnv","download_url":"https://codeload.github.com/shirokovnv/py-seed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158972,"owners_count":20245669,"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":["fastapi","json","python","seeder"],"created_at":"2024-11-17T20:38:12.441Z","updated_at":"2026-04-10T21:03:05.065Z","avatar_url":"https://github.com/shirokovnv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py-seed\r\n\r\n![ci.yml][link-ci]\r\n\r\nMinimalistic data seeder, written in python.\r\n\r\nThe service generates a list of dummy data from [JSON schema](https://json-schema.org/) provided in single API method.\r\n\r\nPython version: `3.10`\r\n\r\n## Dependencies\r\n\r\n- [Docker][link-docker]\r\n- [Make][link-make]\r\n- [FastAPI][link-fastapi]\r\n- [JSON Schema Faker][link-faker]\r\n\r\n## Project setup\r\n\r\n**From the project root, inside shell, run:**\r\n\r\n- `make pull` to pull latest images\r\n- `make install` to install fresh dependencies\r\n- `make up` to run app containers\r\n\r\nNow you can visit [`localhost:8000`](http://localhost:8000) from your browser.\r\n\r\n- `make down` - to extinguish running containers\r\n- `make help` - for additional commands\r\n\r\n## Usage\r\n\r\n**Make a post request to** [localhost:8000/seeds](http://localhost:8000/seeds)\r\n\r\n_Options_:\r\n\r\n- `format`: Wether response data returned in `json` or `xml` (defaults to `json`)\r\n- `count`: The number of seeds (min: 1, max: 100)\r\n- `schema`: your JSON schema\r\n\r\n### Request\r\n\r\n```bash\r\ncurl --location --request POST 'http://localhost:8000/seeds' \\\r\n    --header 'Accept: application/json' \\\r\n    --header 'Content-Type: application/json' \\\r\n    --data-raw '{\r\n    \"count\": 1,\r\n    \"format\": \"json\",\r\n    \"schema\": {\r\n    \"title\": \"products\",\r\n    \"type\": \"object\",\r\n    \"properties\": {\r\n        \"productId\": {\r\n            \"type\": \"integer\"\r\n        },\r\n        \"title\": {\r\n            \"type\": \"string\"\r\n        }\r\n    },\r\n    \"required\": [ \"productId\", \"title\" ]\r\n}}'\r\n```\r\n\r\n### Response\r\n\r\n```json\r\n{\r\n  \"products\": [\r\n    {\r\n      \"productId\": 9963,\r\n      \"title\": \"molestias, Hic\"\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\n## License\r\n\r\nMIT. Please see the [license file](LICENSE.md) for more information.\r\n\r\n[link-ci]: https://github.com/shirokovnv/py-seed/actions/workflows/ci.yml/badge.svg\r\n[link-docker]: https://www.docker.com/\r\n[link-make]: https://www.gnu.org/software/make/manual/make.html\r\n[link-faker]: https://github.com/json-schema-faker/json-schema-faker\r\n[link-fastapi]: https://fastapi.tiangolo.com/\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshirokovnv%2Fpy-seed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshirokovnv%2Fpy-seed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshirokovnv%2Fpy-seed/lists"}