# factorio: A fixtures replacement tool
[![build][build_badge]][build_url]
[![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]
[build_badge]: https://github.com/spapanik/factorio/actions/workflows/build.yml/badge.svg
[build_url]: https://github.com/spapanik/factorio/actions/workflows/build.yml
[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://factorio.readthedocs.io/en/stable/CHANGELOG/
[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/ab/e9/e2f9d6a7e8b2ffed10e81a428f056e53d7ee56caea97a3187db464fe4dae/factorio-0.6.1.tar.gz",
"platform": null,
"description": "# factorio: A fixtures replacement tool\n\n[![build][build_badge]][build_url]\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[build_badge]: https://github.com/spapanik/factorio/actions/workflows/build.yml/badge.svg\n[build_url]: https://github.com/spapanik/factorio/actions/workflows/build.yml\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://factorio.readthedocs.io/en/stable/CHANGELOG/\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.6.1",
"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": "029fbf9924796d50f46d493358fd094ddb959b7408e6847afd90a442300e9aab",
"md5": "741f89324647d539006e1717462aad25",
"sha256": "1bf9ced14a8c651907045bc434fd5d03046775aefd81e03067e890884d3c4add"
},
"downloads": -1,
"filename": "factorio-0.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "741f89324647d539006e1717462aad25",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 8128,
"upload_time": "2024-11-25T12:22:38",
"upload_time_iso_8601": "2024-11-25T12:22:38.886416Z",
"url": "https://files.pythonhosted.org/packages/02/9f/bf9924796d50f46d493358fd094ddb959b7408e6847afd90a442300e9aab/factorio-0.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "abe9e2f9d6a7e8b2ffed10e81a428f056e53d7ee56caea97a3187db464fe4dae",
"md5": "bf263c72b2d655ad2955d4a015eb5a08",
"sha256": "e9e1d3250e68c1041dfa09cdc554871ff7a8011a0d64d74f51cdd8d7e63e9b33"
},
"downloads": -1,
"filename": "factorio-0.6.1.tar.gz",
"has_sig": false,
"md5_digest": "bf263c72b2d655ad2955d4a015eb5a08",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 7505,
"upload_time": "2024-11-25T12:22:40",
"upload_time_iso_8601": "2024-11-25T12:22:40.589972Z",
"url": "https://files.pythonhosted.org/packages/ab/e9/e2f9d6a7e8b2ffed10e81a428f056e53d7ee56caea97a3187db464fe4dae/factorio-0.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-25 12:22:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "spapanik",
"github_project": "factorio",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "factorio"
}