# factorio: A fixtures replacement tool
[![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]
[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/badge/License-LGPL_v3-blue.svg
[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": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "tests",
"author": "Stephanos Kuma",
"author_email": "stephanos@kuma.ai",
"download_url": "https://files.pythonhosted.org/packages/38/42/aecdd73b2a61b3cb60a1bf562598c2e4d3a4b25ae7bda34af0cdfd96984d/factorio-0.4.1.tar.gz",
"platform": null,
"description": "# factorio: A fixtures replacement tool\n\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[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/badge/License-LGPL_v3-blue.svg\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": "LGPL-3.0+",
"summary": "A fixtures replacement tool",
"version": "0.4.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": "b29d64e97043a347c3cc5ffa4b5bd50a2ff6cf5d05e991f498053138a9b995e3",
"md5": "2cd628dad69127004310c86572ed8b8c",
"sha256": "48aaeb1eddecd7a18fd5d535123d0c6bcf9ede6872d5e6effce13e7fc203b93a"
},
"downloads": -1,
"filename": "factorio-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2cd628dad69127004310c86572ed8b8c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 3326,
"upload_time": "2024-01-24T16:44:00",
"upload_time_iso_8601": "2024-01-24T16:44:00.748121Z",
"url": "https://files.pythonhosted.org/packages/b2/9d/64e97043a347c3cc5ffa4b5bd50a2ff6cf5d05e991f498053138a9b995e3/factorio-0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3842aecdd73b2a61b3cb60a1bf562598c2e4d3a4b25ae7bda34af0cdfd96984d",
"md5": "d331b1071e8b92fabefe355dd46b5687",
"sha256": "072e73c59af45df081a3c7507f2410e49af434b0b9b434326e4fb541b29f2f1d"
},
"downloads": -1,
"filename": "factorio-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "d331b1071e8b92fabefe355dd46b5687",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 3526,
"upload_time": "2024-01-24T16:44:02",
"upload_time_iso_8601": "2024-01-24T16:44:02.444732Z",
"url": "https://files.pythonhosted.org/packages/38/42/aecdd73b2a61b3cb60a1bf562598c2e4d3a4b25ae7bda34af0cdfd96984d/factorio-0.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-24 16:44:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "spapanik",
"github_project": "factorio",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "factorio"
}