# factorio: A fixtures replacement tool
[![lint][lint_badge]][lint_url]
[![tests][test_badge]][test_url]
[![license][licence_badge]][licence_url]
[![pypi][pypi_badge]][pypi_url]
[![downloads][pepy_badge]][pepy_url]
[![code style: black][black_badge]][black_url]
[![build automation: yam][yam_badge]][yam_url]
[![Lint: ruff][ruff_badge]][ruff_url]
`factorio` is a fixtures replacement tool that's been heavily influenced by
[factory boy][factory_boy]. It's intention is to hide irrelevant fields when
writing a test.
Even though it's been designed to play well with various ORMs, it tries to
avoid any interaction with a database, as the saving/retrieving an object
shouldn't be the responsibility of the factory.
Under the hood it uses [faker] to create realistic values for each field.
## Links
- [Documentation]
- [Changelog]
[lint_badge]: https://github.com/spapanik/factorio/actions/workflows/lint.yml/badge.svg
[lint_url]: https://github.com/spapanik/factorio/actions/workflows/lint.yml
[test_badge]: https://github.com/spapanik/factorio/actions/workflows/tests.yml/badge.svg
[test_url]: https://github.com/spapanik/factorio/actions/workflows/tests.yml
[licence_badge]: https://img.shields.io/pypi/l/factorio
[licence_url]: https://github.com/spapanik/factorio/blob/main/docs/LICENSE.md
[pypi_badge]: https://img.shields.io/pypi/v/factorio
[pypi_url]: https://pypi.org/project/factorio
[pepy_badge]: https://pepy.tech/badge/factorio
[pepy_url]: https://pepy.tech/project/factorio
[black_badge]: https://img.shields.io/badge/code%20style-black-000000.svg
[black_url]: https://github.com/psf/black
[yam_badge]: https://img.shields.io/badge/build%20automation-yamk-success
[yam_url]: https://github.com/spapanik/yamk
[ruff_badge]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json
[ruff_url]: https://github.com/charliermarsh/ruff
[Documentation]: https://factorio.readthedocs.io/en/stable/
[Changelog]: https://github.com/spapanik/factorio/blob/main/docs/CHANGELOG.md
[factory_boy]: https://github.com/FactoryBoy/factory_boy
[faker]: https://github.com/joke2k/faker
Raw data
{
"_id": null,
"home_page": "https://factorio.readthedocs.io/en/stable/",
"name": "factorio",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "tests",
"author": "Stephanos Kuma",
"author_email": "\"Stephanos Kuma\" <stephanos@kuma.ai>",
"download_url": "https://files.pythonhosted.org/packages/55/37/74b0141e95d9b39f4ef5313b180e3bca3d70b8ea801d45d98b4b20edb466/factorio-0.5.0.tar.gz",
"platform": null,
"description": "# factorio: A fixtures replacement tool\n\n[![lint][lint_badge]][lint_url]\n[![tests][test_badge]][test_url]\n[![license][licence_badge]][licence_url]\n[![pypi][pypi_badge]][pypi_url]\n[![downloads][pepy_badge]][pepy_url]\n[![code style: black][black_badge]][black_url]\n[![build automation: yam][yam_badge]][yam_url]\n[![Lint: ruff][ruff_badge]][ruff_url]\n\n`factorio` is a fixtures replacement tool that's been heavily influenced by\n[factory boy][factory_boy]. It's intention is to hide irrelevant fields when\nwriting a test.\n\nEven though it's been designed to play well with various ORMs, it tries to\navoid any interaction with a database, as the saving/retrieving an object\nshouldn't be the responsibility of the factory.\n\nUnder the hood it uses [faker] to create realistic values for each field.\n\n## Links\n\n- [Documentation]\n- [Changelog]\n\n[lint_badge]: https://github.com/spapanik/factorio/actions/workflows/lint.yml/badge.svg\n[lint_url]: https://github.com/spapanik/factorio/actions/workflows/lint.yml\n[test_badge]: https://github.com/spapanik/factorio/actions/workflows/tests.yml/badge.svg\n[test_url]: https://github.com/spapanik/factorio/actions/workflows/tests.yml\n[licence_badge]: https://img.shields.io/pypi/l/factorio\n[licence_url]: https://github.com/spapanik/factorio/blob/main/docs/LICENSE.md\n[pypi_badge]: https://img.shields.io/pypi/v/factorio\n[pypi_url]: https://pypi.org/project/factorio\n[pepy_badge]: https://pepy.tech/badge/factorio\n[pepy_url]: https://pepy.tech/project/factorio\n[black_badge]: https://img.shields.io/badge/code%20style-black-000000.svg\n[black_url]: https://github.com/psf/black\n[yam_badge]: https://img.shields.io/badge/build%20automation-yamk-success\n[yam_url]: https://github.com/spapanik/yamk\n[ruff_badge]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json\n[ruff_url]: https://github.com/charliermarsh/ruff\n[Documentation]: https://factorio.readthedocs.io/en/stable/\n[Changelog]: https://github.com/spapanik/factorio/blob/main/docs/CHANGELOG.md\n[factory_boy]: https://github.com/FactoryBoy/factory_boy\n[faker]: https://github.com/joke2k/faker\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "A fixtures replacement tool",
"version": "0.5.0",
"project_urls": {
"Documentation": "https://factorio.readthedocs.io/en/stable/",
"Homepage": "https://factorio.readthedocs.io/en/stable/",
"Repository": "https://github.com/spapanik/factorio"
},
"split_keywords": [
"tests"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "df9e7994208da53489c22edb8a9f451da137150a8ccd2c944399fbbfecbd09d9",
"md5": "689b53fdc41f054f2ab6e06287c1a5e4",
"sha256": "3635da78e043196f88fdb16f5752916df488521dbb9a20d1451f47f23d83d103"
},
"downloads": -1,
"filename": "factorio-0.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "689b53fdc41f054f2ab6e06287c1a5e4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 7320,
"upload_time": "2024-11-03T20:57:34",
"upload_time_iso_8601": "2024-11-03T20:57:34.251156Z",
"url": "https://files.pythonhosted.org/packages/df/9e/7994208da53489c22edb8a9f451da137150a8ccd2c944399fbbfecbd09d9/factorio-0.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "553774b0141e95d9b39f4ef5313b180e3bca3d70b8ea801d45d98b4b20edb466",
"md5": "133294aafb49ea419b67a21e0dd40a1f",
"sha256": "749ede71c4841870009438a5fba32364470afeaae8ef8c20e971578265f56381"
},
"downloads": -1,
"filename": "factorio-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "133294aafb49ea419b67a21e0dd40a1f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 7083,
"upload_time": "2024-11-03T20:57:35",
"upload_time_iso_8601": "2024-11-03T20:57:35.636403Z",
"url": "https://files.pythonhosted.org/packages/55/37/74b0141e95d9b39f4ef5313b180e3bca3d70b8ea801d45d98b4b20edb466/factorio-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-03 20:57:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "spapanik",
"github_project": "factorio",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "factorio"
}