{"id":22362712,"url":"https://github.com/pragmagic/uuids","last_synced_at":"2026-03-04T07:33:22.568Z","repository":{"id":55012772,"uuid":"68296809","full_name":"pragmagic/uuids","owner":"pragmagic","description":"UUID library for Nim","archived":false,"fork":false,"pushed_at":"2023-12-15T08:24:03.000Z","size":14,"stargazers_count":39,"open_issues_count":4,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-09T16:17:52.136Z","etag":null,"topics":["nim","uuid"],"latest_commit_sha":null,"homepage":null,"language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pragmagic.png","metadata":{"files":{"readme":"README.md","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":"2016-09-15T13:35:30.000Z","updated_at":"2025-02-09T13:06:52.000Z","dependencies_parsed_at":"2023-12-15T09:30:57.697Z","dependency_job_id":"68650a68-e4b4-4a3c-b0ba-ea5cc456d0ee","html_url":"https://github.com/pragmagic/uuids","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/pragmagic/uuids","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pragmagic%2Fuuids","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pragmagic%2Fuuids/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pragmagic%2Fuuids/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pragmagic%2Fuuids/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pragmagic","download_url":"https://codeload.github.com/pragmagic/uuids/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pragmagic%2Fuuids/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nim","uuid"],"created_at":"2024-12-04T17:11:06.480Z","updated_at":"2026-03-04T07:33:22.527Z","avatar_url":"https://github.com/pragmagic.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uuids\n\nUUID library for Nim.\n\nAPI:\n```nim\ntype UUID* = object\n  ## 128-bit UUID compliant with RFC-4122\n\nproc initUUID*(mostSigBits, leastSigBits: int64): UUID =\n  ## Initializes UUID with the specified most and least significant bits\n\nproc leastSigBits*(uuid: UUID): int64 {.inline.}\n  ## Returns 64 least significant bits of the ``uuid``\n\nproc mostSigBits*(uuid: UUID): int64 {.inline.}\n  ## Returns 64 most significant bits of the ``uuid``\n\nproc `$`*(uuid: UUID): string\n  ## Returns a string representation of the ``uuid`` in canonical form.\n\nproc hash*(uuid: UUID): Hash\n  ## Computes hash of the specified ``uuid``.\n\nproc `==`*(x, y: UUID): bool\n  ## Returns true when the specified UUIDs are equal, false otherwise.\n\nproc isZero*(uuid: UUID): bool\n  ## Returns ``true`` when the ``uuid`` is zero (not set), ``false`` otherwise.\n\nproc genUUID*(): UUID\n  ## Returns a random (v4) UUID.\n  ## Uses a thread-local cryptographically secure PRNG (ISAAC) seeded with\n  ## true random values obtained from OS.\n\nproc parseUUID*(s: string): UUID {.raises: [ValueError].}\n  ## Converts string representation of an UUID to UUID object.\n  ## Raises ValueError if invalid format is provided.\n```\n\n## License\nThis library is licensed under the MIT license.\nRead [LICENSE](https://github.com/pragmagic/uuids/blob/master/LICENSE) file for details.\n\nCopyright (c) 2016 Xored Software, Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpragmagic%2Fuuids","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpragmagic%2Fuuids","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpragmagic%2Fuuids/lists"}