Socket
Socket
Sign inDemoInstall

uuid-by-string

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uuid-by-string

Generate the RFC-4122 Name-Based UUID.


Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc