{ "info": { "author": "Brenton Mallen", "author_email": "brentonmallen1@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.6" ], "description": "# Model Train and Save Test\nAuthor: [Brenton Mallen](https://www.brentonmallen.com)\n\nThis is a package to build a ML model and save it to disk.\n\n## Installation\n`pip install mallen_grubhub_test`\n\nor install manually by cloning the repo and running\n\n`python setup.py install`\n\n## To Run\nThe CLI requires an integer argument called `--region_id`.\n\nExample run call: `train --region_id 1`\n(This will train a classifier on region `1`)\n\nFor CLI help type `python src/train.py -h` in the package root directory \n\n### Run Tests\nTo run tests, run the following command in the package root directory:\n`make test`\n\n### Development\nEither a Conda environment using `conda env update` in the root directory\nor by using virtualenv by first initializing the environment with \n`virtualenv grubhub-venv`, activating with `grubhub-venv/bin/activate` and \ninstalling the dependencies using `pip install -r requirements.txt`\n\n**Updating pypi package**\nUpload to pypi can be done using the `make package-test` command.\nIt will ask for credentials for a test pypi account.\n\nSimilarly, production can be updated using the `make package-prod` command.\n\nFor reference, see the [tutorial](https://packaging.python.org/tutorials/packaging-projects/)\n\n## TODOs\nOutside of the time constrain, there are a number of improvements:\n1. Continuous integration and deployment with something like Jenkins\n1. Implement mypy for type checking to reduce potential errors\n1. Implement linting for quality checking\n1. Explore using [tox](https://tox.readthedocs.io/en/latest/) for\nplatform testing\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/brentonmallen1/grubhub_test", "keywords": "model train save", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mallen-grubhub-test", "package_url": "https://pypi.org/project/mallen-grubhub-test/", "platform": "", "project_url": "https://pypi.org/project/mallen-grubhub-test/", "project_urls": { "Homepage": "https://github.com/brentonmallen1/grubhub_test" }, "release_url": "https://pypi.org/project/mallen-grubhub-test/1.1.0/", "requires_dist": [ "pandas (>=0.23.4)", "scikit-learn (>=0.20)", "click (>=7.0)" ], "requires_python": ">=3.6", "summary": "A small module to train and save a classifier.", "version": "1.1.0" }, "last_serial": 4442875, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "d5bbbfbfe0264c773fecefba0144e285", "sha256": "b44877de7975b74c8330f31f33c42d2556b0d639d4dabe4612e777af2b2a4388" }, "downloads": -1, "filename": "mallen_grubhub_test-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d5bbbfbfe0264c773fecefba0144e285", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 9305, "upload_time": "2018-11-02T01:06:18", "url": "https://files.pythonhosted.org/packages/80/1b/2ac65511586cebdb92c3b5b5228b6d470be4236cfb1f3dd1dbac773d89a9/mallen_grubhub_test-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0024f480c8052705cc1425e48ad05347", "sha256": "3566006f355773589097b8cb825e5858d200d3849187a8c34ce6d0fcb0f959d0" }, "downloads": -1, "filename": "mallen_grubhub_test-1.1.0.tar.gz", "has_sig": false, "md5_digest": "0024f480c8052705cc1425e48ad05347", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5168, "upload_time": "2018-11-02T01:06:20", "url": "https://files.pythonhosted.org/packages/16/8b/dbcf32f52d625d4d732d435363e97e3cca48de3834741ef191c867ec1e5a/mallen_grubhub_test-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d5bbbfbfe0264c773fecefba0144e285", "sha256": "b44877de7975b74c8330f31f33c42d2556b0d639d4dabe4612e777af2b2a4388" }, "downloads": -1, "filename": "mallen_grubhub_test-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d5bbbfbfe0264c773fecefba0144e285", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 9305, "upload_time": "2018-11-02T01:06:18", "url": "https://files.pythonhosted.org/packages/80/1b/2ac65511586cebdb92c3b5b5228b6d470be4236cfb1f3dd1dbac773d89a9/mallen_grubhub_test-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0024f480c8052705cc1425e48ad05347", "sha256": "3566006f355773589097b8cb825e5858d200d3849187a8c34ce6d0fcb0f959d0" }, "downloads": -1, "filename": "mallen_grubhub_test-1.1.0.tar.gz", "has_sig": false, "md5_digest": "0024f480c8052705cc1425e48ad05347", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5168, "upload_time": "2018-11-02T01:06:20", "url": "https://files.pythonhosted.org/packages/16/8b/dbcf32f52d625d4d732d435363e97e3cca48de3834741ef191c867ec1e5a/mallen_grubhub_test-1.1.0.tar.gz" } ] }