{ "info": { "author": "Laurent De Marez", "author_email": "laurent@demarez.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Topic :: Utilities" ], "description": "# Python Druuid\n\nA python implementation of a date-realtive (and relatively universally unique)\nUUID generator. It is based on the [original][1] implementation in Ruby.\n\n## Concept\n\nDruuid's are a 64 bit identifiers which are sortable since they are time based.\nA druuid is compromised of 2 blocks:\n* 41-bit timestamp in miliseconds since epoch\n* 23 random bits\n\nFor example, a druuid generated on 2016-05-16 might look like\n`12276209757600130011`.\n\nIn binary: `10101010010111011101101110111011011111011 11100001010001111011011`\n\nIn base 36: `2L9OH62W41ES0`\n\n## Examples\n\n```\n>>> from druuid import Druuid\n>>>\n>>> d = Druuid()\n>>> d.druuid\n12276209757600130011\n>>> d.time\n'Mon May 16 15:37:23 2016'\n>>>\n>>> d = Druuid(12276215031090144168)\n>>> d.time\n'Mon May 16 15:47:52 2016'\n```\n\n[1]: https://github.com/recurly/druuid", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lrnt/pydruuid", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Druuid", "package_url": "https://pypi.org/project/Druuid/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Druuid/", "project_urls": { "Homepage": "https://github.com/lrnt/pydruuid" }, "release_url": "https://pypi.org/project/Druuid/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "A time relative identifier", "version": "0.1.1" }, "last_serial": 2140551, "releases": { "0.1": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3faf43d8db8692618b3c04178bcf49e1", "sha256": "569fd32719d048267c177700625959360d116abe98f407f7c84f0d9b7b93b7e6" }, "downloads": -1, "filename": "Druuid-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3faf43d8db8692618b3c04178bcf49e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2451, "upload_time": "2016-05-30T10:43:14", "url": "https://files.pythonhosted.org/packages/e2/8d/f6080150a4c5ba6e716f359371a08ea7718e535808803336e11f97cf2a9d/Druuid-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3faf43d8db8692618b3c04178bcf49e1", "sha256": "569fd32719d048267c177700625959360d116abe98f407f7c84f0d9b7b93b7e6" }, "downloads": -1, "filename": "Druuid-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3faf43d8db8692618b3c04178bcf49e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2451, "upload_time": "2016-05-30T10:43:14", "url": "https://files.pythonhosted.org/packages/e2/8d/f6080150a4c5ba6e716f359371a08ea7718e535808803336e11f97cf2a9d/Druuid-0.1.1.tar.gz" } ] }