{ "info": { "author": "bcj", "author_email": "brendan@bcjbcj.ca", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development", "Topic :: Utilities" ], "description": "# Box Factory\n\nCreate Python packages just like you[\\*](#footnote) like them, without the hassle.\n\n## Installation\n\nBox Factory requires Python 3.6+.\n\nTo install:\n\n```sh\npip install boxfactory\n```\n\n## Usage\n\nOnce installed, you can start creating packages using the `boxfactory` script.\nThe most basic invocation is running `boxfactory` with just the package name:\n\n```sh\n>boxfactory betterboxfactory\nbetterboxfactory/.coveragerc\nbetterboxfactory/CHANGES.txt\nbetterboxfactory/MANIFEST.in\nbetterboxfactory/README.md\nbetterboxfactory/betterboxfactory/__init__.py\nbetterboxfactory/requirements/install.txt\nbetterboxfactory/requirements/formatting.txt\nbetterboxfactory/requirements/tests.txt\nbetterboxfactory/requirements/types.txt\nbetterboxfactory/setup.cfg\nbetterboxfactory/setup.py\nbetterboxfactory/tests/test_betterboxfactory.py\nbetterboxfactory/tox.ini\n```\n\nThis will create the package in the current directory.\n`boxfactory` will create the package itself, as well as a tox setup with three environments: your version of python, formatting using `black` and `flake8`, and typing using `mypy`.\n\nYou can specify a place to build the package by passing a directory as the second argument:\n\n```sh\n>boxfactory package another-directory\nanother-directory/package/.coveragerc\nanother-directory/package/CHANGES.txt\nanother-directory/package/MANIFEST.in\nanother-directory/package/README.md\nanother-directory/package/package/__init__.py\nanother-directory/package/requirements/install.txt\nanother-directory/package/requirements/formatting.txt\nanother-directory/package/requirements/tests.txt\nanother-directory/package/requirements/types.txt\nanother-directory/package/setup.cfg\nanother-directory/package/setup.py\nanother-directory/package/tests/test_package.py\nanother-directory/package/tox.ini\n```\n\n### git\n\nIf you pass the `--git` flag, `boxfactory` will create a `.gitignore` file, and will initialize the package repository and commit all created files.\n\n### versions\n\nYou can supply which versions of python to test against with the versions of python to test against with the `--versions` flag:\n\n```sh\nboxfactory legacy --versions 2.7 3.5\n```\n\n### scripts\n\nYou can make `boxfactory` generate console scripts using the `--script` flag and supplying the script name, the space-separated module path, and the function name:\n\n```\n>boxfactory package --script script package cli main\npackage/.coveragerc\npackage/CHANGES.txt\npackage/MANIFEST.in\npackage/README.md\npackage/package/__init__.py\npackage/package/cli.py\npackage/requirements/install.txt\npackage/requirements/formatting.txt\npackage/requirements/tests.txt\npackage/requirements/types.txt\npackage/setup.cfg\npackage/setup.py\npackage/tests/test_package.py\npackage/tox.ini\n```\n\nThere is also a `--cli` flag that automatically makes a script named the same thing with your package that invokes `.cli:main`\n\n\\* Assuming you are bcj.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bcj/boxfactory", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "boxfactory", "package_url": "https://pypi.org/project/boxfactory/", "platform": "", "project_url": "https://pypi.org/project/boxfactory/", "project_urls": { "Homepage": "https://github.com/bcj/boxfactory" }, "release_url": "https://pypi.org/project/boxfactory/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Create Python packages just like you* like them, without the hassle.", "version": "0.2.0" }, "last_serial": 3987738, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f2d6f3ef1856f05027c344531aba2a5b", "sha256": "1759ef7893607f5c3ec5dc7c85d05cdb62d4c349593f0ad70b5e6697ef84381f" }, "downloads": -1, "filename": "boxfactory-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "f2d6f3ef1856f05027c344531aba2a5b", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 22965, "upload_time": "2018-03-01T07:44:47", "url": "https://files.pythonhosted.org/packages/e7/90/6c702dc81fb2c8be7c5360e2ca6c14b81d295eb316cf9a629c57bdf43956/boxfactory-0.1.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "68954a3c9b3cef8363099c84e3959bd1", "sha256": "ff45da6ae35193cdf93153e16791a0438ec6e07eccbf6229444c4b8bfcf29b72" }, "downloads": -1, "filename": "boxfactory-0.1.0.tar.gz", "has_sig": false, "md5_digest": "68954a3c9b3cef8363099c84e3959bd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10147, "upload_time": "2018-03-01T07:52:45", "url": "https://files.pythonhosted.org/packages/02/f5/79e4a8b6c159c0b009a8317c0150fd0fb1a6f9b56adf2de55a1f227c3d4e/boxfactory-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "cc5643df55178b63ce4aae9780ca3d25", "sha256": "f0ffbf0ef0150f3e8d8dadd73a81a1329d5f64cf301b1ddb3581662477be0a36" }, "downloads": -1, "filename": "boxfactory-0.1.1-py3.6.egg", "has_sig": false, "md5_digest": "cc5643df55178b63ce4aae9780ca3d25", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 23012, "upload_time": "2018-03-01T08:03:44", "url": "https://files.pythonhosted.org/packages/84/83/30fd3c1d782b92171815295754ce61558e66644f70658a684e3b51546ea3/boxfactory-0.1.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "012e75623480e6411ec01df135eba1ff", "sha256": "42064fa47984679cd0991cc912db2a56c0dc5358b0cf9e1614ff3fcefc5eba19" }, "downloads": -1, "filename": "boxfactory-0.1.1.tar.gz", "has_sig": false, "md5_digest": "012e75623480e6411ec01df135eba1ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10184, "upload_time": "2018-03-01T08:03:24", "url": "https://files.pythonhosted.org/packages/16/6d/189b04aaa18f2c9cc433e9afdce58fd144c471cad1eb6011ee2e9afbfe02/boxfactory-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "15a06db6d312a2f4093e5aa9a88e0a2a", "sha256": "2da6a5228dc5c19f54ed77ba8dbc4592d6d22a7702ebc4d01a026ddd20668eb4" }, "downloads": -1, "filename": "boxfactory-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "15a06db6d312a2f4093e5aa9a88e0a2a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11561, "upload_time": "2018-06-22T03:52:25", "url": "https://files.pythonhosted.org/packages/79/ac/80c7fb4da95d7d594fda1c13543ce54461e95cb8a4d0669b16e27b71a442/boxfactory-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "33a66ee36921254e15d474eaf8ab0ef8", "sha256": "701f3f9d1310810901ff2ae6fc5b98e8cb989593f70bc0192320b3bb629cbdcc" }, "downloads": -1, "filename": "boxfactory-0.2.0.tar.gz", "has_sig": false, "md5_digest": "33a66ee36921254e15d474eaf8ab0ef8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10409, "upload_time": "2018-06-22T03:52:26", "url": "https://files.pythonhosted.org/packages/46/2e/e9c44414b84bdbba58e9f31a9c0600ce6e7ee04face8fab525c6f1bc6936/boxfactory-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "15a06db6d312a2f4093e5aa9a88e0a2a", "sha256": "2da6a5228dc5c19f54ed77ba8dbc4592d6d22a7702ebc4d01a026ddd20668eb4" }, "downloads": -1, "filename": "boxfactory-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "15a06db6d312a2f4093e5aa9a88e0a2a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11561, "upload_time": "2018-06-22T03:52:25", "url": "https://files.pythonhosted.org/packages/79/ac/80c7fb4da95d7d594fda1c13543ce54461e95cb8a4d0669b16e27b71a442/boxfactory-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "33a66ee36921254e15d474eaf8ab0ef8", "sha256": "701f3f9d1310810901ff2ae6fc5b98e8cb989593f70bc0192320b3bb629cbdcc" }, "downloads": -1, "filename": "boxfactory-0.2.0.tar.gz", "has_sig": false, "md5_digest": "33a66ee36921254e15d474eaf8ab0ef8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10409, "upload_time": "2018-06-22T03:52:26", "url": "https://files.pythonhosted.org/packages/46/2e/e9c44414b84bdbba58e9f31a9c0600ce6e7ee04face8fab525c6f1bc6936/boxfactory-0.2.0.tar.gz" } ] }