{"id":28829439,"url":"https://github.com/ballerina-platform/module-ballerina-uuid","last_synced_at":"2026-02-03T15:03:47.715Z","repository":{"id":37099809,"uuid":"315621918","full_name":"ballerina-platform/module-ballerina-uuid","owner":"ballerina-platform","description":"Ballerina UUID Module","archived":false,"fork":false,"pushed_at":"2025-04-16T15:32:15.000Z","size":818,"stargazers_count":110,"open_issues_count":0,"forks_count":21,"subscribers_count":68,"default_branch":"main","last_synced_at":"2025-04-16T22:53:58.067Z","etag":null,"topics":["ballerina","hacktoberfest","integration","wso2"],"latest_commit_sha":null,"homepage":"","language":"Ballerina","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ballerina-platform.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-11-24T12:14:32.000Z","updated_at":"2025-04-16T15:32:19.000Z","dependencies_parsed_at":"2023-01-29T21:30:41.540Z","dependency_job_id":"edf2ba3e-9d93-410e-b989-54ee6fb80a25","html_url":"https://github.com/ballerina-platform/module-ballerina-uuid","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/ballerina-platform/module-ballerina-uuid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ballerina-platform%2Fmodule-ballerina-uuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ballerina-platform%2Fmodule-ballerina-uuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ballerina-platform%2Fmodule-ballerina-uuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ballerina-platform%2Fmodule-ballerina-uuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ballerina-platform","download_url":"https://codeload.github.com/ballerina-platform/module-ballerina-uuid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ballerina-platform%2Fmodule-ballerina-uuid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260691043,"owners_count":23047108,"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","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":["ballerina","hacktoberfest","integration","wso2"],"created_at":"2025-06-19T05:13:33.525Z","updated_at":"2026-02-03T15:03:47.709Z","avatar_url":"https://github.com/ballerina-platform.png","language":"Ballerina","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ballerina UUID Library\n===================\n\n  [![Build](https://github.com/ballerina-platform/module-ballerina-uuid/actions/workflows/build-timestamped-master.yml/badge.svg)](https://github.com/ballerina-platform/module-ballerina-uuid/actions/workflows/build-timestamped-master.yml)\n  [![codecov](https://codecov.io/gh/ballerina-platform/module-ballerina-uuid/branch/main/graph/badge.svg)](https://codecov.io/gh/ballerina-platform/module-ballerina-uuid)\n  [![Trivy](https://github.com/ballerina-platform/module-ballerina-uuid/actions/workflows/trivy-scan.yml/badge.svg)](https://github.com/ballerina-platform/module-ballerina-uuid/actions/workflows/trivy-scan.yml)\n  [![GraalVM Check](https://github.com/ballerina-platform/module-ballerina-uuid/actions/workflows/build-with-bal-test-graalvm.yml/badge.svg)](https://github.com/ballerina-platform/module-ballerina-uuid/actions/workflows/build-with-bal-test-graalvm.yml)\n  [![GitHub Last Commit](https://img.shields.io/github/last-commit/ballerina-platform/module-ballerina-uuid.svg)](https://github.com/ballerina-platform/module-ballerina-uuid/commits/main)\n  [![Github issues](https://img.shields.io/github/issues/ballerina-platform/ballerina-standard-library/module/uuid.svg?label=Open%20Issues)](https://github.com/ballerina-platform/ballerina-standard-library/labels/module%2Fuuid)\n\nThis library provides APIs to generate and inspect UUIDs (Universally Unique Identifiers).\n\nThe UUIDs are generated based on the [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.html) standard. This module supports generating 4 versions of UUIDs.\n\n### Version 1\n\nGenerated using the MAC address of the computer and the time of generation.\n\n### Version 3\n\nCryptographic hashing and application-provided text strings are used to generate a UUID. MD5 hashing is used.\n\n### Version 4\n\nUses a pseudo-random number generator to generate the UUID. Every bit of the string is randomly generated.\n\n### Version 5\n\nSimilar to Version 3 but uses SHA-1 instead of MD5.\n\nOther operations include validating a given UUID string and getting the version of a UUID string.\n\n## Issues and projects\n\nIssues and Projects tabs are disabled for this repository as this is part of the Ballerina Standard Library. To report bugs, request new features, start new discussions, view project boards, etc. please visit Ballerina Standard Library [parent repository](https://github.com/ballerina-platform/ballerina-standard-library).\n\nThis repository only contains the source code for the package.\n\n## Build from the source\n\n### Set up the prerequisites\n\n1. Download and install Java SE Development Kit (JDK) version 21 (from one of the following locations).\n   * [Oracle](https://www.oracle.com/java/technologies/downloads/)\n   \n   * [OpenJDK](https://adoptium.net/)\n   \n        \u003e **Note:** Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.\n     \n2. Export Github Personal access token with read package permissions as follows,\n   \n              export packageUser=\u003cUsername\u003e\n              export packagePAT=\u003cPersonal access token\u003e\n                   \n### Build the source\n\nExecute the commands below to build from source.\n\n1. To build the package:\n    ```    \n    ./gradlew clean build\n    ```\n2. To run the tests:\n    ```\n    ./gradlew clean test\n    ```\n\n3. To run a group of tests\n    ```\n    ./gradlew clean test -Pgroups=\u003ctest_group_names\u003e\n    ```\n\n4. To build the without the tests:\n    ```\n    ./gradlew clean build -x test\n    ```\n\n5. To debug package implementation:\n    ```\n    ./gradlew clean build -Pdebug=\u003cport\u003e\n    ```\n\n6. To debug with Ballerina language:\n    ```\n    ./gradlew clean build -PbalJavaDebug=\u003cport\u003e\n    ```\n\n7. Publish the generated artifacts to the local Ballerina central repository:\n    ```\n    ./gradlew clean build -PpublishToLocalCentral=true\n    ```\n\n8. Publish the generated artifacts to the Ballerina central repository:\n    ```\n    ./gradlew clean build -PpublishToCentral=true\n    ```\n\n## Contribute to Ballerina\n\nAs an open source project, Ballerina welcomes contributions from the community. \n\nFor more information, go to the [contribution guidelines](https://github.com/ballerina-platform/ballerina-lang/blob/master/CONTRIBUTING.md).\n\n## Code of conduct\n\nAll contributors are encouraged to read the [Ballerina Code of Conduct](https://ballerina.io/code-of-conduct).\n\n## Useful links\n\n* Chat live with us via our [Discord server](https://discord.gg/ballerinalang).\n* Post all technical questions on Stack Overflow with the [#ballerina](https://stackoverflow.com/questions/tagged/ballerina) tag. \n* For more information go to the [`uuid` library](https://lib.ballerina.io/ballerina/uuid/latest).\n* For example demonstrations of the usage, go to [Ballerina By Examples](https://ballerina.io/swan-lake/learn/by-example/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fballerina-platform%2Fmodule-ballerina-uuid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fballerina-platform%2Fmodule-ballerina-uuid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fballerina-platform%2Fmodule-ballerina-uuid/lists"}