Skip to main content

Generate the RFC-4122 Name-Based UUID.

Project description

uuid-by-string

Generate the RFC-4122 Name-Based UUID. Supports 3 (md5) and 5(sha1) versions of UUID. Referenced from danakt/uuid-by-string: Generates the RFC-4122 Name-Based UUID.

Install

$ pip install uuid-by-string

Usage

from uuid_by_string import generate_uuid

uuid = generate_uuid("a string")
# 555d01e6-c832-56b3-a9f9-2bd811905370
uuid_v3 = generate_uuid("❤️", version=3)
# 080c1417-9a0e-3386-a131-a7fa8dbe2c51
uuid_v5 = generate_uuid("❤️", 5)
# f11c13f0-5595-551d-bdee-e6c2e43fd2a9

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uuid_by_string-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

uuid_by_string-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file uuid_by_string-0.1.0.tar.gz.

File metadata

  • Download URL: uuid_by_string-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/0.1.0 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for uuid_by_string-0.1.0.tar.gz
Algorithm Hash digest
SHA256 09417d3c63f3d8f926c30fb50ce0d862fa37b630451f4b06252561813b120c5d
MD5 b43c3672fa5206089526d132a24b1df4
BLAKE2b-256 0a6b6f79cb766c5bcb854cfe7ca4b9e4b472c18d11d9e39268c18c2d0b8063d0

See more details on using hashes here.

File details

Details for the file uuid_by_string-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: uuid_by_string-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/0.1.0 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for uuid_by_string-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0bfa3e89fcce93deb0388c374180d4396b78cf490876582f505a93c069451753
MD5 386807c117f5d437093c37b2c4918e18
BLAKE2b-256 b0d80841c888605e7363919f2a3a663057e8991759a041918e55ad776c02e9ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page