{ "info": { "author": "Maylon Pedroso", "author_email": "maylonpedroso@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Document Image Mocker\n\n**Warning:** This project is completely experimental \u2013 do not use in real-world projects.\n\nThis tool is intended to generate images of fake documents using content seeders.\nIt can be extended with plugins to add extra processing or content to the resulting images.\n\n## Usage\nRunning `doc-mocker -h` will display the following help\n\n```\nusage: [-h] [-n NUMBER_OF_PAGES] [-t {A4}] [-s {BASIC}] [-o OUTPUT_PATH]\n {generate}\n\npositional arguments:\n {generate} command to run\n\noptional arguments:\n -h, --help show this help message and exit\n -n NUMBER_OF_PAGES, --number-of-pages NUMBER_OF_PAGES\n number of pages to generate (default: 1)\n -t {A4}, --page-type {A4}\n page type (default: A4)\n -s {BASIC}, --page-seeder {BASIC}\n page seeder (default: BASIC)\n -o OUTPUT_PATH, --output-path OUTPUT_PATH\n output path (default: current path)\n\n```\n\n## Contributing\n\nEvery contribution is welcome.\n\nBe sure to your code is [PEP-8](https://www.python.org/dev/peps/pep-0008/) compliant.\nUse [black](https://black.readthedocs.io/en/stable/) to fix your formatting before committing changes.\n```bash\nblack main doc_mocker\n```\nOptional: Install flake8 pre-commit hook to check your code before committing.\n```bash\nflake8 --install-hook git\ngit config --bool flake8.strict true\n```\n\n### Create a plugin\nPlugins are auto-discovered if created as modules in the sub-package `doc_mocker.plugins`\nusing the [namespace packages](https://packaging.python.org/guides/creating-and-discovering-plugins/#using-namespace-packages)\nconvention.\n\nCheck the [noise plugin](https://github.com/maylonpedroso/doc-mocker-noise-plugin)\nto get an idea on the required structure.\n\n### Run tests\n\n```bash\npython -m pytest\n```\n\n## Credits\n\nView the full list of [contributors](https://github.com/maylonpedroso/doc-mocker/graphs/contributors). [MIT](LICENSE) licensed. \n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/maylonpedroso/doc-mocker", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "doc-mocker", "package_url": "https://pypi.org/project/doc-mocker/", "platform": "", "project_url": "https://pypi.org/project/doc-mocker/", "project_urls": { "Homepage": "https://github.com/maylonpedroso/doc-mocker" }, "release_url": "https://pypi.org/project/doc-mocker/0.0.1/", "requires_dist": [ "Pillow" ], "requires_python": "", "summary": "Mock Document Image Generator", "version": "0.0.1" }, "last_serial": 5841680, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0a9e5a3554a69ea13f78431921c41273", "sha256": "3f930c909bf43838fae98573c561d6dc3a4b6a3e7a726e3a355938d45389cf09" }, "downloads": -1, "filename": "doc_mocker-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0a9e5a3554a69ea13f78431921c41273", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3178, "upload_time": "2019-09-17T13:14:23", "url": "https://files.pythonhosted.org/packages/39/87/43a8229fd4ae3144958e8ceef8fd13e6c6f8d9c7010bb3c0f50270680422/doc_mocker-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "34e701dc81699c0f17af0c9200542069", "sha256": "2d2e45c67708cab1b277eea3e791584c0a345c7a3b9fba24de211512f92556ea" }, "downloads": -1, "filename": "doc-mocker-0.0.1.tar.gz", "has_sig": false, "md5_digest": "34e701dc81699c0f17af0c9200542069", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9248, "upload_time": "2019-09-17T13:14:25", "url": "https://files.pythonhosted.org/packages/ba/18/11c04fcdeced6654bd7569b4fe8a62e5f0d91c1109015657aaf4cef0bdb6/doc-mocker-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0a9e5a3554a69ea13f78431921c41273", "sha256": "3f930c909bf43838fae98573c561d6dc3a4b6a3e7a726e3a355938d45389cf09" }, "downloads": -1, "filename": "doc_mocker-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0a9e5a3554a69ea13f78431921c41273", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3178, "upload_time": "2019-09-17T13:14:23", "url": "https://files.pythonhosted.org/packages/39/87/43a8229fd4ae3144958e8ceef8fd13e6c6f8d9c7010bb3c0f50270680422/doc_mocker-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "34e701dc81699c0f17af0c9200542069", "sha256": "2d2e45c67708cab1b277eea3e791584c0a345c7a3b9fba24de211512f92556ea" }, "downloads": -1, "filename": "doc-mocker-0.0.1.tar.gz", "has_sig": false, "md5_digest": "34e701dc81699c0f17af0c9200542069", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9248, "upload_time": "2019-09-17T13:14:25", "url": "https://files.pythonhosted.org/packages/ba/18/11c04fcdeced6654bd7569b4fe8a62e5f0d91c1109015657aaf4cef0bdb6/doc-mocker-0.0.1.tar.gz" } ] }