{"id":14544230,"url":"https://github.com/fastuuid/fastuuid","last_synced_at":"2025-09-11T23:17:30.124Z","repository":{"id":43009639,"uuid":"186404415","full_name":"fastuuid/fastuuid","owner":"fastuuid","description":"FastUUID is a library which provides CPython bindings to Rust's UUID library","archived":false,"fork":false,"pushed_at":"2025-01-30T16:28:08.000Z","size":101,"stargazers_count":167,"open_issues_count":5,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-30T05:59:25.336Z","etag":null,"topics":["cpython-extensions","library","pyo3","python","python-3","python3","rust","uuid","uuid-generator","uuid-parser","uuid-v4","uuid3","uuid4","uuid5","uuidv7"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fastuuid.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-13T11:13:59.000Z","updated_at":"2025-08-27T01:27:37.000Z","dependencies_parsed_at":"2023-12-23T20:48:43.982Z","dependency_job_id":"53db6a7b-13bf-4be1-a22f-fda969e7ae6d","html_url":"https://github.com/fastuuid/fastuuid","commit_stats":{"total_commits":143,"total_committers":12,"mean_commits":"11.916666666666666","dds":0.2097902097902098,"last_synced_commit":"be0738f89b9115fe42a5ef0bbd353142b008e236"},"previous_names":["fastuuid/fastuuid","thedrow/fastuuid"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/fastuuid/fastuuid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastuuid%2Ffastuuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastuuid%2Ffastuuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastuuid%2Ffastuuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastuuid%2Ffastuuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastuuid","download_url":"https://codeload.github.com/fastuuid/fastuuid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastuuid%2Ffastuuid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274726333,"owners_count":25338392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpython-extensions","library","pyo3","python","python-3","python3","rust","uuid","uuid-generator","uuid-parser","uuid-v4","uuid3","uuid4","uuid5","uuidv7"],"created_at":"2024-09-06T02:00:54.039Z","updated_at":"2025-09-11T23:17:30.082Z","avatar_url":"https://github.com/fastuuid.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"fastuuid\n========\n\n.. image:: https://github.com/fastuuid/fastuuid/actions/workflows/ci-cd.yml/badge.svg\n    :target: https://github.com/fastuuid/fastuuid/actions/workflows/ci-cd.yml\n\nFastUUID is a library which provides CPython bindings to Rust's UUID library.\n\nThe provided API is exactly as Python's builtin UUID class.\n\nIt is supported on Python 3.8, 3.9, 3.10, 3.11, 3.12, \u0026 3.13.\n\nWhy?\n----\n\nIt is much faster than Python's pure-python implementation and it is stricter\nwhen parsing hexadecimal representation of UUIDs.\n\nIf you need to generate a lot of random UUIDs we also provide the `uuid4_bulk()`\nfunction which releases the GIL for the entire duration of the generation.\nThis allows other threads to run while the library generates UUIDs.\n\nBenchmarks\n----------\n\n===========  =========  =================  =======================  ===============================  ================  ====================  =================  ========  =========================================\nprocessor    machine    python compiler    python implementation    python implementation version    python version    python build          release            system    cpu\n===========  =========  =================  =======================  ===============================  ================  ====================  =================  ========  =========================================\nx86_64       x86_64     GCC 5.5.0          CPython                  3.7.2                            3.7.2             default               4.15.0-50-generic  Linux     Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz\n===========  =========  =================  =======================  ===============================  ================  ====================  =================  ========  =========================================\n\n\n=======================================================  ======================  ======================  ======================  ======================  ======================  ======================  ==========  ==================  ======  ==========\nname                                                     min                     max                     mean                    stddev                  median                  iqr                     outliers    ops                 rounds  iterations\n=======================================================  ======================  ======================  ======================  ======================  ======================  ======================  ==========  ==================  ======  ==========\ntests/test_benchmarks.py::test_parse_bytes_fastuuid      8.770148269832134e-07   3.0054012313485146e-05  9.848993185755912e-07   6.654121944953314e-07   9.530049283057451e-07   2.6979250833392143e-08  515;8080    1015332.2082162144  149366  1\ntests/test_benchmarks.py::test_parse_bytes_uuid          9.00006853044033e-07    2.4181994376704097e-05  1.0102117337399724e-06  6.361040394445994e-07   9.739887900650501e-07   3.899913281202316e-08   1130;10702  989891.4916557473   198020  1\ntests/test_benchmarks.py::test_parse_bytes_le_fastuuid   9.00996383279562e-07    2.4662993382662535e-05  1.0116569599011118e-06  5.687526428398989e-07   9.840005077421665e-07   2.200249582529068e-08   703;9368    988477.3590622543   163052  1\ntests/test_benchmarks.py::test_parse_bytes_le_uuid       1.348991645500064e-06   3.5200006095692515e-05  1.5184524591452776e-06  9.295692916442362e-07   1.448992406949401e-06   3.897002898156643e-08   1620;12511  658565.2346092485   170271  1\ntests/test_benchmarks.py::test_parse_fields_fastuuid     9.819923434406519e-07   3.2625976018607616e-05  1.217285795660234e-06   1.0234898538816672e-06  1.087988493964076e-06   6.702612154185772e-08   3199;12487  821499.7690477591   143844  1\ntests/test_benchmarks.py::test_parse_fields_uuid         1.1137977708131076e-06  0.000147809402551502    1.2054474234359692e-06  5.093104655522965e-07   1.144595444202423e-06   6.060581654310231e-08   2304;5896   829567.4954861335   167983  5\ntests/test_benchmarks.py::test_parse_hex_fastuuid        9.870273061096668e-07   2.906599547713995e-05   1.11212962918218e-06    6.906885628642859e-07   1.0759977158159018e-06  3.0995579436421394e-08  577;8272    899175.7559191765   143288  1\ntests/test_benchmarks.py::test_parse_hex_uuid            1.3360113371163607e-06  2.6262016035616398e-05  1.4448148991822913e-06  7.064083638385458e-07   1.3989920262247324e-06  2.9016518965363503e-08  679;4802    692130.1826039868   82156   1\ntests/test_benchmarks.py::test_parse_int_uuid            5.448004230856896e-07   4.164349229540676e-06   6.099919819231937e-07   2.0401652680352933e-07  5.548994522541762e-07   4.430039552971725e-08   3607;3925   1639365.8107557097  87951   20\ntests/test_benchmarks.py::test_parse_int_fastuuid        8.950009942054749e-07   4.946498665958643e-05   1.0105578493921953e-06  6.873330198387691e-07   9.739887900650501e-07   2.1012965589761734e-08  529;12534   989552.4542226401   176088  1\ntests/test_benchmarks.py::test_fast_uuidv3               5.410998710431158e-07   3.5570512409321965e-06  5.971385425220447e-07   1.672736409563351e-07   5.526497261598707e-07   2.949964255094524e-08   4865;6332   1674653.248434526   83508   20\ntests/test_benchmarks.py::test_uuidv3                    3.6269775591790676e-06  4.193797940388322e-05   3.933511159797234e-06   1.4521217506191846e-06  3.782013664022088e-06   6.00120984017849e-08    548;4193    254225.79455743768  53582   1\ntests/test_benchmarks.py::test_fast_uuidv4               1.47343598655425e-07    2.069187758024782e-06   1.6777362874701377e-07  7.169360028617447e-08   1.5453133528353646e-07  8.188180800061673e-09   6101;11550  5960412.297619802   198413  32\ntests/test_benchmarks.py::test_uuidv4                    2.275977749377489e-06   5.939402035437524e-05   2.5699563458422217e-06  1.316784132061215e-06   2.38200300373137e-06    1.309963408857584e-07   2068;5815   389111.667837409    85610   1\ntests/test_benchmarks.py::test_fast_uuidv4_bulk_threads  0.0009843519947025925   0.007268004992511123    0.0014418828965801719   0.0007545185495019851   0.0012059269938617945   0.0003288870066171512   42;54       693.5375975204223   549     1\ntests/test_benchmarks.py::test_fast_uuidv4_threads       0.0030693279986735433   0.008087011985480785    0.004009611603774935    0.000715605913448762    0.0038650799833703786   0.0006588477554032579   53;19       249.40071478707026  273     1\ntests/test_benchmarks.py::test_uuidv4_threads            0.030999513022834435    0.06895541000994854     0.040025271589084616    0.009975862168373506    0.036475206492468715    0.008713199000339955    3;2         24.98421522947798   22      1\ntests/test_benchmarks.py::test_fast_uuidv5               5.316498572938144e-07   4.090600123163313e-06   5.890041556925782e-07   1.8620985914996815e-07  5.419497028924525e-07   2.9799412004649576e-08  3998;6415   1697780.8905680121  88921   20\ntests/test_benchmarks.py::test_uuidv5                    3.7190038710832596e-06  5.8079982409253716e-05  4.403547300216035e-06   2.439066121654033e-06   3.910012310370803e-06   2.169981598854065e-07   2283;4139   227089.64655629804  57383   1\n=======================================================  ======================  ======================  ======================  ======================  ======================  ======================  ==========  ==================  ======  ==========\n\nRun them yourself to verify.\n\n\nContributing\n============\n\nWe are running tests and build's for all target python versions for every PR.\n\nThe version number is stored in the `Cargo.toml` file. \nTo release a new version, update the version number in `Cargo.toml` and create a new tag with the version number. \nPipeline will pick it up and publish it to PyPI.\n\n\nPRs are welcome.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastuuid%2Ffastuuid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastuuid%2Ffastuuid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastuuid%2Ffastuuid/lists"}