{ "info": { "author": "Daniel Lundin", "author_email": "dln@eintr.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Cython", "Programming Language :: Python", "Topic :: Communications", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Distributed Computing" ], "description": "#########################################################\n python-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``python-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\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\nInstallation\n------------\n\nYou can install ``python-libuuid`` either via the Python Package Index (PyPI)\nor from source.\n\nTo install using ``pip``::\n\n $ pip install python-libuuid\n\n\nTo install using ``easy_install``::\n\n $ easy_install python-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/dln/python-libuuid/issues/\n\n\nContributing\n------------\n\nDevelopment takes place at Github: http://github.com/dln/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": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/dln/python-libuuid/", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "python-libuuid", "package_url": "https://pypi.org/project/python-libuuid/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-libuuid/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/dln/python-libuuid/" }, "release_url": "https://pypi.org/project/python-libuuid/0.9.0/", "requires_dist": null, "requires_python": null, "summary": "C Extension for faster UUID generation using libuuid.", "version": "0.9.0" }, "last_serial": 797977, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "fd0aea7043ee743dbe64be8eb31da89a", "sha256": "62cb02b0702b398a5ae1c4728f0282b9c0c07de6fbb292b225beeaf3141e543a" }, "downloads": -1, "filename": "python-libuuid-0.9.0.tar.gz", "has_sig": false, "md5_digest": "fd0aea7043ee743dbe64be8eb31da89a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18376, "upload_time": "2010-07-20T17:16:53", "url": "https://files.pythonhosted.org/packages/61/ce/1f272cc9ffc4b49054af711a26e8369ff9dafa282f2029bb4a2406f29501/python-libuuid-0.9.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fd0aea7043ee743dbe64be8eb31da89a", "sha256": "62cb02b0702b398a5ae1c4728f0282b9c0c07de6fbb292b225beeaf3141e543a" }, "downloads": -1, "filename": "python-libuuid-0.9.0.tar.gz", "has_sig": false, "md5_digest": "fd0aea7043ee743dbe64be8eb31da89a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18376, "upload_time": "2010-07-20T17:16:53", "url": "https://files.pythonhosted.org/packages/61/ce/1f272cc9ffc4b49054af711a26e8369ff9dafa282f2029bb4a2406f29501/python-libuuid-0.9.0.tar.gz" } ] }