{"id":27629,"library":"c-uuid-v7","title":"c-uuid-v7","description":"A fast UUID v7 generator implemented as a CPython C extension, version 0.0.11. Provides a simple interface for generating time-ordered UUIDs compliant with RFC 9562. Released periodically with performance improvements.","status":"active","version":"0.0.11","language":"python","source_language":"en","source_url":"https://github.com/stevesimmons/c-uuid-v7","tags":["uuid","uuid-v7","c-extension","performance"],"install":[{"cmd":"pip install c-uuid-v7","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from c_uuid_v7 import UUIDv7","symbol":"UUID","correct":"from c_uuid_v7 import UUID"},{"symbol":"uuid7","correct":"from c_uuid_v7 import uuid7"},{"symbol":"NIL","correct":"from c_uuid_v7 import NIL"}],"quickstart":{"code":"from c_uuid_v7 import UUIDv7\n\n# Generate a single UUID v7\nuid = UUIDv7()\nprint(uid)  # e.g., 018f3a6e-1b2c-7a3d-8e4f-5a6b7c8d9e0f\n\n# Generate as hex string\nhex_str = uid.hex\nprint(hex_str)\n\n# Generate as bytes\nbytes_val = uid.bytes\nprint(bytes_val)","lang":"python","description":"Generate a UUID v7 using the C extension. The UUIDv7 class can be instantiated directly and provides .hex and .bytes properties."},"warnings":[{"fix":"Upgrade to Python 3.10 or later.","message":"Requires Python >=3.10; on older Python versions, installing from source may fail or produce errors.","severity":"breaking","affected_versions":"0.0.0 to 0.0.11"},{"fix":"Use `from c_uuid_v7 import UUIDv7; uid = UUIDv7()`.","message":"The library exports only UUIDv7, not a function like 'uuid7()' or 'generate()'. Users may mistakenly try to call uuid7() or import from uuid module.","severity":"gotcha","affected_versions":"all"},{"fix":"For cross-process monotonicity, consider using a coordinator or additional sequence counter.","message":"Generated UUIDs are time-ordered but not guaranteed to be strictly monotonic across multiple processes due to clock skew or high concurrency; rely on them for ordering within a single process only.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.0.11':17 '9562':31 'c':2,14,42 'c-extens':41 'c-uuid-v7':1 'compliant':28 'cpython':13 'extens':15,43 'fast':6 'generat':9,23 'implement':10 'improv':36 'interfac':21 'order':26 'perform':35,44 'period':33 'provid':18 'releas':32 'rfc':30 'simpl':20 'time':25 'time-ord':24 'uuid':3,7,27,37,39 'uuid-v7':38 'v7':4,8,40 'version':16","created_at":"2026-05-09T05:51:15.109847+00:00","updated_at":"2026-05-09T05:51:15.109847+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/c-uuid-v7/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}