{ "info": { "author": "Abe Usher", "author_email": "abe.usher@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "timehash\n========\n\nAbout\n-----\n\ntimehash is an algorithm (with multiple reference implementations) for\ncalculating variable precision sliding windows of time. When performing\naggregations and correlations on large-scale data sets, the ability to\nconvert precise time values into 'malleable intervals' allows for many\nnovel analytics.\n\nUsing `sliding windows of\ntime `__\nis a common practice in data analysis but prior to the timehash\nalgorithm it was more of an art than a science.\n\nFeatures\n--------\n\n- convert epoch miliseconds into an interval of time, depicted by an\n ASCII character 'hash' (a 'timehash')\n- timehash values are well suited to referencing time intervals in\n key-value stores (e.g. Hbase, Acculumo, Redis)\n- The creation of a compound key of space and time (e.g.\n geohash\\_timehash) is a powerful primitive for understanding\n geotemporal patterns\n\nImplementations\n---------------\n\n- `python\n timehash `__\n - a reference implementation in pure python\n- `perl\n timehash `__\n - a reference implementation in perl\n- `java\n timehash `__\n - a reference implementation in java\n\nUsage\n-----\n\nExample of calculating a timehash value in python:\n\n.. code:: python\n\n import timehash\n import time\n\n rightnow = time.time()\n rightnow60 = rightnow + 60.0\n\n rightnow_hash = timehash.encode(rightnow, precision=10)\n rightnow60_hash = timehash.encode(rightnow60, precision=10)\n\n print 'timehash of right now: %s' % rightnow_hash\n print 'timehash of now +60s: %s'% rightnow60_hash\n \n % timehash of right now: ae0f0ba1fc\n % timehash of now +60s: ae0f0baa1c\n\nLicense\n-------\n\n`Modified BSD\nLicense `__\n\nContact\n-------\n\n- TimeHash Guru: `AbeUsher `__\n- Python Packager: `Kevin Dwyer / @pheared `__\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/abeusher/timehash/tarball/1.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/abeusher/timehash", "keywords": "timehash,datetime,time", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "timehash", "package_url": "https://pypi.org/project/timehash/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/timehash/", "project_urls": { "Download": "https://github.com/abeusher/timehash/tarball/1.0", "Homepage": "https://github.com/abeusher/timehash" }, "release_url": "https://pypi.org/project/timehash/1.1/", "requires_dist": null, "requires_python": null, "summary": "Module to encode and decode timestamps to/from TimeHashes", "version": "1.1" }, "last_serial": 2011401, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "cf17a28eae7ffc38fc36543c11a0749b", "sha256": "74decd446ae3265a8fe69859683b119c5c372f505abd8fd409b1186731bfef26" }, "downloads": -1, "filename": "timehash-1.0.tar.gz", "has_sig": false, "md5_digest": "cf17a28eae7ffc38fc36543c11a0749b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4579, "upload_time": "2016-03-17T00:52:23", "url": "https://files.pythonhosted.org/packages/a9/ea/b07e738aea9ba1274a25b38d54f30f3d246cbed5bede0296af29f06a12b6/timehash-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "04168c401cd1114fa8784242ad3f6d6d", "sha256": "0ef25835a4a0eb618ff496fa0f56833bafd241e61753fa17743e0c9fa267ad08" }, "downloads": -1, "filename": "timehash-1.1.tar.gz", "has_sig": false, "md5_digest": "04168c401cd1114fa8784242ad3f6d6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4879, "upload_time": "2016-03-17T01:00:09", "url": "https://files.pythonhosted.org/packages/91/7b/3ee835f6a07f777d5fcb1d9472260e7b979651b663adc7fa7376665ea3ca/timehash-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "04168c401cd1114fa8784242ad3f6d6d", "sha256": "0ef25835a4a0eb618ff496fa0f56833bafd241e61753fa17743e0c9fa267ad08" }, "downloads": -1, "filename": "timehash-1.1.tar.gz", "has_sig": false, "md5_digest": "04168c401cd1114fa8784242ad3f6d6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4879, "upload_time": "2016-03-17T01:00:09", "url": "https://files.pythonhosted.org/packages/91/7b/3ee835f6a07f777d5fcb1d9472260e7b979651b663adc7fa7376665ea3ca/timehash-1.1.tar.gz" } ] }