{ "info": { "author": "Jason Green", "author_email": "justjasongreen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=================\npredictive_punter\n=================\n\n\nThis project aims to apply predictive analytics to horse racing via Python.\n\n\n.. image:: https://travis-ci.org/justjasongreen/predictive_punter.svg?branch=master\n :target: https://travis-ci.org/justjasongreen/predictive_punter\n :alt: Build Status\n.. image:: https://coveralls.io/repos/github/justjasongreen/predictive_punter/badge.svg?branch=master\n :target: https://coveralls.io/github/justjasongreen/predictive_punter?branch=master\n :alt: Coverage Status\n.. image:: https://landscape.io/github/justjasongreen/predictive_punter/master/landscape.svg?style=flat\n :target: https://landscape.io/github/justjasongreen/predictive_punter/master\n :alt: Code Health\n\n\n************\nInstallation\n************\n\n\nPrior to using predictive_punter, the package must be installed in your current Python environment. In most cases, an automated installation via PyPI and pip will suffice, as follows::\n\n pip install predictive_punter\n\nIf you would prefer to gain access to new (unstable) features via a pre-release version of the package, specify the 'pre' option when calling pip, as follows::\n\n pip install --pre predictive_punter\n\nTo gain access to bleeding edge developments, the package can be installed from a source distribution. To do so, you will need to clone the git repository and execute the setup.py script from the root directory of the source tree, as follows::\n\n git clone https://github.com/justjasongreen/predictive_punter.git\n cd predictive_punter\n python setup.py install\n\nIf you would prefer to install the package as a symlink to the source distribution (for development purposes), execute the setup.py script with the 'develop' option instead, as follows::\n\n python setup.py develop\n\n\n***********\nBasic Usage\n***********\n\n\nBy installing predictive_punter, a number of command line utilities are made available in your current Python environment, as described below...\n\n\nScrape\n======\n\nThe 'scrape' command line utility can be used to populate a database with racing data scraped from the web. The syntax of the scrape command is:\n\n scrape [-b] [-d ] [-q] [-r ] [-v] date_from [date_to]\n\nThe mandatory date_from and optional date_to arguments must be in the format YYYY-MM-DD, and define the (inclusive) range of dates to scrape data for.\n\nIf the -b (or --backup-database) option is specified, all collections in the database will be cloned after each date successfully scraped. If an error occurs while scraping a date and the -b option has been specified, the collections in the database will be restored from the cloned collections before the script terminates.\n\nThe -d (or --database-uri=) option can be used to specify a URI for the target database. The target database must be a MongoDB version 2.6 or higher database. The default database URI is mongodb://localhost:27017/predictive_punter.\n\nThe -r (or --redis-uri=) option can be used to specify a URI for a redis server to be used for HTTP request caching. The default redis URI is redis://localhost:6379/predictive_punter. If a connection cannot be established with the specified redis server, the script will attempt to use the built in redislite service, or will run without HTTP request caching if the redislite service cannot be used.\n\nThe -q and -v (or --quiet and --verbose) options can be used to control the logging output generated by the scrape command. When the -q option is used, the logging level will be set to logging.WARNING. When the -v option is used, the logging level will be set to logging.DEBUG. By default, the logging level will be set to logging.INFO.\n\n\nSeed\n====\n\nThe 'seed' command line utility can be used to pre-seed query data for runners in the database. The syntax of the seed command is:\n\n seed [-b] [-d ] [-q] [-r ] [-v] date_from [date_to]\n\nThe application of the various command line options and arguments is the same as for the 'scrape' command described above.\n\n\n***********************\nDevelopment and Testing\n***********************\n\n\nThe source distribution includes a test suite based on pytest. To ensure compatibility with all supported versions of Python, it is recommended that the test suite be run via tox.\n\nTo install all development and test requirements into your current Python environment, execute the following command from the root directory of the source tree::\n\n pip install -e .[dev,test]\n\nTo run the test suite included in the source distribution, execute the tox command from the root directory of the source tree as follows::\n\n tox", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/justjasongreen/predictive_punter", "keywords": "predictive analytics horse racing", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "predictive-punter", "package_url": "https://pypi.org/project/predictive-punter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/predictive-punter/", "project_urls": { "Homepage": "https://github.com/justjasongreen/predictive_punter" }, "release_url": "https://pypi.org/project/predictive-punter/1.0.0a4/", "requires_dist": [ "cache-requests", "lxml", "numpy", "punters-client", "pymongo", "racing-data", "redis", "requests", "scikit-learn", "scipy", "bumpversion; extra == 'dev'", "check-manifest; extra == 'dev'", "tox; extra == 'test'" ], "requires_python": "", "summary": "Applying predictive analytics to horse racing via Python", "version": "1.0.0a4" }, "last_serial": 2250701, "releases": { "1.0.0a0": [ { "comment_text": "", "digests": { "md5": "dfe5d4c0f32077b807cecae33f5b3c78", "sha256": "811079e4c3bb446a08ff15c0b64283569675e602586fc6435b58f3eea228ec04" }, "downloads": -1, "filename": "predictive_punter-1.0.0a0-py3-none-any.whl", "has_sig": false, "md5_digest": "dfe5d4c0f32077b807cecae33f5b3c78", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4783, "upload_time": "2016-07-22T09:27:32", "url": "https://files.pythonhosted.org/packages/ed/59/92042012e150c9aa6a4f5f66b51e2e20dbb64a219bf51c6f264a683d382c/predictive_punter-1.0.0a0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4e0932ee415c35f7bfda27ad92dfebe", "sha256": "bff35cf8d5c16d5bde1b2a1abce830a9977f1de4cb0a5784360ae8c9507dc085" }, "downloads": -1, "filename": "predictive_punter-1.0.0a0.tar.gz", "has_sig": false, "md5_digest": "f4e0932ee415c35f7bfda27ad92dfebe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4063, "upload_time": "2016-07-22T09:27:34", "url": "https://files.pythonhosted.org/packages/3d/23/afcf9f3abb0054ef66b961a0ad14d6e7ef2fdf52ce8447269d3e49d59e49/predictive_punter-1.0.0a0.tar.gz" } ], "1.0.0a1": [ { "comment_text": "", "digests": { "md5": "ca6a9b9124c0affa6832c6fa3209227e", "sha256": "2ecb3a479001351577f99fff30461af074eb6e90df38c7c97259855464495ee9" }, "downloads": -1, "filename": "predictive_punter-1.0.0a1-py3-none-any.whl", "has_sig": false, "md5_digest": "ca6a9b9124c0affa6832c6fa3209227e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9359, "upload_time": "2016-07-24T08:29:49", "url": "https://files.pythonhosted.org/packages/56/b9/1e70487b4b05b649aee08613baddcec6bb01d5e8cde5bb11cf8155ccab72/predictive_punter-1.0.0a1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7bfad337ebcf2a4b9d831683494063a", "sha256": "b2c071d066a05e40446194368e90276ee0d730bb9c3f96106db7937c6cab9bf3" }, "downloads": -1, "filename": "predictive_punter-1.0.0a1.tar.gz", "has_sig": false, "md5_digest": "b7bfad337ebcf2a4b9d831683494063a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8242, "upload_time": "2016-07-24T08:29:51", "url": "https://files.pythonhosted.org/packages/48/16/2e3baf814e923053a2138b548cb5be512d407f047cd45c6d37f333e66434/predictive_punter-1.0.0a1.tar.gz" } ], "1.0.0a2": [ { "comment_text": "", "digests": { "md5": "67771c0eab63de2f7ba646c3c242c5f0", "sha256": "fc717404095fc46026a6414e8c630580aea696d3733973de2c5df3c41c3e8000" }, "downloads": -1, "filename": "predictive_punter-1.0.0a2-py3-none-any.whl", "has_sig": false, "md5_digest": "67771c0eab63de2f7ba646c3c242c5f0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13970, "upload_time": "2016-07-29T02:31:32", "url": "https://files.pythonhosted.org/packages/6a/1c/0004e17937b4cf98eb8bf4b80b1d4abaf432e9e6b37b6c27415044b8a9c6/predictive_punter-1.0.0a2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8721414742e6b9fc1759a45ef0a1da74", "sha256": "d717a456627f9b6e33ba5b7ef1a32b0a3ec243734f57e4d3a187a552ae396bd0" }, "downloads": -1, "filename": "predictive_punter-1.0.0a2.tar.gz", "has_sig": false, "md5_digest": "8721414742e6b9fc1759a45ef0a1da74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15203, "upload_time": "2016-07-29T02:31:34", "url": "https://files.pythonhosted.org/packages/a3/4f/8741532dd0f79892b4cb3806d07bee55c29389bfad12bf71fc32468472a4/predictive_punter-1.0.0a2.tar.gz" } ], "1.0.0a3": [ { "comment_text": "", "digests": { "md5": "361340b1ea84eadc874a7402a25dfffb", "sha256": "34c4aba1ab4675627459c955602388f41a5f55a38f43ca758fb7f06d88e6f487" }, "downloads": -1, "filename": "predictive_punter-1.0.0a3-py3-none-any.whl", "has_sig": false, "md5_digest": "361340b1ea84eadc874a7402a25dfffb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13967, "upload_time": "2016-07-29T02:40:30", "url": "https://files.pythonhosted.org/packages/8b/53/70e3e9df2278caa2cf53447e2ccc5beb2f0bcd7c6aec811cd16599d3832e/predictive_punter-1.0.0a3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cbd4ae557e979298687343a3af885ea1", "sha256": "68618a87c92c94729d61ceb5b7b8fcad7cc08e00b387be72f1273012382ed0aa" }, "downloads": -1, "filename": "predictive_punter-1.0.0a3.tar.gz", "has_sig": false, "md5_digest": "cbd4ae557e979298687343a3af885ea1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15240, "upload_time": "2016-07-29T02:40:32", "url": "https://files.pythonhosted.org/packages/09/30/81add4ed624b2f52040ef981c2bfcc7e2f6c24807022266db1f07e75867f/predictive_punter-1.0.0a3.tar.gz" } ], "1.0.0a4": [ { "comment_text": "", "digests": { "md5": "b7384d9cea58f4e003305b2ab6edd684", "sha256": "ab10e1c9a588163295f934f4fc5d7b7f2a8f6b1cb3b47760c3188a380c212691" }, "downloads": -1, "filename": "predictive_punter-1.0.0a4-py3-none-any.whl", "has_sig": false, "md5_digest": "b7384d9cea58f4e003305b2ab6edd684", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13975, "upload_time": "2016-07-29T05:50:09", "url": "https://files.pythonhosted.org/packages/7f/64/429f08f18e9b704de644a8893140556fa5ab8a1b52ffaf02d9f92245923e/predictive_punter-1.0.0a4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1813f4cc5ba8f463e4fe318f5d3c2bb2", "sha256": "9c766508a601b59e9af0bb940d71872447279a41480268b6d32b76b1875634a5" }, "downloads": -1, "filename": "predictive_punter-1.0.0a4.tar.gz", "has_sig": false, "md5_digest": "1813f4cc5ba8f463e4fe318f5d3c2bb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15268, "upload_time": "2016-07-29T05:50:11", "url": "https://files.pythonhosted.org/packages/ae/0b/db01147c67edc423de956f799838892f0a03ce2c9cac5d40a00040b7c945/predictive_punter-1.0.0a4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b7384d9cea58f4e003305b2ab6edd684", "sha256": "ab10e1c9a588163295f934f4fc5d7b7f2a8f6b1cb3b47760c3188a380c212691" }, "downloads": -1, "filename": "predictive_punter-1.0.0a4-py3-none-any.whl", "has_sig": false, "md5_digest": "b7384d9cea58f4e003305b2ab6edd684", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13975, "upload_time": "2016-07-29T05:50:09", "url": "https://files.pythonhosted.org/packages/7f/64/429f08f18e9b704de644a8893140556fa5ab8a1b52ffaf02d9f92245923e/predictive_punter-1.0.0a4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1813f4cc5ba8f463e4fe318f5d3c2bb2", "sha256": "9c766508a601b59e9af0bb940d71872447279a41480268b6d32b76b1875634a5" }, "downloads": -1, "filename": "predictive_punter-1.0.0a4.tar.gz", "has_sig": false, "md5_digest": "1813f4cc5ba8f463e4fe318f5d3c2bb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15268, "upload_time": "2016-07-29T05:50:11", "url": "https://files.pythonhosted.org/packages/ae/0b/db01147c67edc423de956f799838892f0a03ce2c9cac5d40a00040b7c945/predictive_punter-1.0.0a4.tar.gz" } ] }