{ "info": { "author": "Brad Davidson", "author_email": "brad@oatmail.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Cython", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Communications", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Distributed Computing" ], "description": "#########################################################\n libuuid - Faster UUID generation using libuuid\n#########################################################\n\nA Python C extension for faster generation of `UUID`_ objects. It supports\nlibuuid-based generation of version 1 and 4 UUIDs. The library is fully\ncompatible with the `standard uuid module`_, while also providing specialized,\noptimized, functions for generating `UUID`_ strings.\n\n``libuuid`` is roughly 8-10 times faster than the pure-python version.\n\nIt's basically just a thin `Cython`_ wrapper around `libuuid by Theo Tso`_.\n\nThis module has been forked from `python-libuuid`_ by Daniel Lundin. Daniel\nhas not updated the module since 2010, and has not responded to pull requeststs\nor attempts to take over maintenance. The upstream module does not support Python 3.\n\n.. _UUID: http://tools.ietf.org/html/rfc4122\n.. _standard uuid module: http://docs.python.org/library/uuid.html\n.. _libuuid by Theo Tso: http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=tree;f=lib/uuid\n.. _cython: http://cython.org/\n.. _python-libuuid: https://github.com/dln/python-libuuid\n\nInstallation\n------------\n\nYou can install ``libuuid`` either via the Python Package Index (PyPI)\nor from source.\n\nTo install using ``pip``::\n\n $ pip install libuuid\n\n\nTo install using ``easy_install``::\n\n $ easy_install libuuid\n\nIf you have downloaded a source tarball you can install it by doing the\nfollowing,::\n\n $ python setup.py build\n # python setup.py install # as root\n\n\nUsage / Examples\n----------------\n\nThe ``libuuid`` module provides a similar interface to ``uuid``, resulting in fully\ncompatible UUID objects. ``libuuid.UUID`` is also a subclass of ``uuid.UUID``,\nso existing code using ``isinstance`` will continue to work.\n\n >>> import libuuid\n >>> libuuid.uuid1()\n UUID('a3a32410-940a-11df-8ead-002219990fd7')\n\n >>> libuuid.uuid4()\n UUID('85651a1f-118f-480d-a116-526b2dd37322')\n\nFurthermore, ``libuuid`` has a few extra utility functions not available in\n``uuid``. These are handy when you don't need a \"full\" UUID object, but just\nneed the byte representation. The ``_bytes`` functions have less overhead than\nthe common interface.\n\n >>> libuuid.uuid1_bytes()\n '\\x05f\\xe1d\\x94\\x0b\\x11\\xdf\\x8e\\xad\\x00\"\\x19\\x99\\x0f\\xd7'\n\n >>> libuuid.uuid4_bytes()\n '\\x05f\\xe1d\\x94\\x0b\\x11\\xdf\\x8e\\xad\\x00\"\\x19\\x99\\x0f\\xd7'\n\n\nGotchas\n-------\n\n * ``libuuid`` only provides random (version 4) and time based (version 1) UUIDs.\n\n * Calling ``libuuid.uuid1`` with `node` or `clock_seq` is not supported, and will\n silently fall back to the ``uuid.UUID`` implementation for compatibility.\n\n * Only tested on Linux. It should work on any platform, but e2fsprogs is\n probably just readily available on Linux distributions.\n\n\nBug tracker\n-----------\n\nIf you have any suggestions, bug reports or annoyances please report using\nthe Github `issue tracker`_\n\n.. _issue tracker: http://github.com/brandond/python-libuuid/issues/\n\n\nContributing\n------------\n\nDevelopment takes place at Github: http://github.com/brandond/python-libuuid/\n\nPatches and contributions are more than welcome.\n\n\nLicense\n-------\n\nThis software is licensed under the ``BSD`` software license.\nSee the ``LICENSE`` file in the top distribution directory for full license\ntext.\n\n\n.. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/brandond/python-libuuid/", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "libuuid", "package_url": "https://pypi.org/project/libuuid/", "platform": "", "project_url": "https://pypi.org/project/libuuid/", "project_urls": { "Homepage": "http://github.com/brandond/python-libuuid/" }, "release_url": "https://pypi.org/project/libuuid/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "C Extension for faster UUID generation using libuuid.", "version": "1.0.0" }, "last_serial": 4510259, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "6ca6f142b5957c0dc053694056ecd2b5", "sha256": "267e00c1246b341a630b72483af26a1fc2fa1952717759cd10f2177e2344239e" }, "downloads": -1, "filename": "libuuid-1.0.0.tar.gz", "has_sig": false, "md5_digest": "6ca6f142b5957c0dc053694056ecd2b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39282, "upload_time": "2018-11-21T01:00:41", "url": "https://files.pythonhosted.org/packages/94/4c/ad07bf7e0a62c9b14e0d4dd908218152affc57062cf8c6766a90542fedc6/libuuid-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6ca6f142b5957c0dc053694056ecd2b5", "sha256": "267e00c1246b341a630b72483af26a1fc2fa1952717759cd10f2177e2344239e" }, "downloads": -1, "filename": "libuuid-1.0.0.tar.gz", "has_sig": false, "md5_digest": "6ca6f142b5957c0dc053694056ecd2b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39282, "upload_time": "2018-11-21T01:00:41", "url": "https://files.pythonhosted.org/packages/94/4c/ad07bf7e0a62c9b14e0d4dd908218152affc57062cf8c6766a90542fedc6/libuuid-1.0.0.tar.gz" } ] }