Skip to main content

A CLI tool to generate UUIDs of different versions.

Project description

genu - UUID Generator

genu is a command-line tool for generating UUIDs of different versions.

Installation

You can install genu from PyPI by running the following command:

pip install genu

If you want support for UUIDv7, you can install it with the uuid7 option:

pip install genu[uuid7]

Usage

To generate UUIDs, use the following command:

genu -u 4 -c 5

This will generate 5 UUIDs of version 4.

If you want to generate UUIDs of version 3 or 5, you must provide a namespace:

genu -u 3 --namespace example.com

If no options are specified, genu will generate a version 4 UUID by default:

genu

Options

  • -u, --uuid-version: Specifies the version of the UUID (1, 3, 4, 5, 7).
  • -c, --count: Specifies the number of UUIDs to generate (default is 1).
  • --namespace: Namespace URL for UUID version 3 or 5.
  • -v, --version: Shows the version of the program.

Contribute

If you want to contribute to this project, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License.

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

genu-0.1.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genu-0.1.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file genu-0.1.4.tar.gz.

File metadata

  • Download URL: genu-0.1.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for genu-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9ace8b846f04da2c6493c7ee6e112d65974bfa627241da6ef2575bb93ebc5270
MD5 d426daa2b1f643790d7f1e2c68f08e3f
BLAKE2b-256 858edfbcb2848b675d97fbbc26e0c217f44f041836321bfc4762f60e51a32fba

See more details on using hashes here.

File details

Details for the file genu-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: genu-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for genu-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fd1c9642abf9a6ef15746cdb41b0438513dade377411a609ea3466b91373feaa
MD5 f2d6ee396208a9f3aa3d3e0bb862d20a
BLAKE2b-256 4126ddf4a59b077aa636187ad9c0f498e83b3b0339491e09a18e1eee97d2fd0a

See more details on using hashes here.

Supported by

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