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.3.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.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genu-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 e53ac0f2da3ddd2cd3dc1542ea370d86ec7768cd1ff5077aec1fe898f97956b2
MD5 3608dd9bd8bbf6f645c5a9705e19e213
BLAKE2b-256 fd266346a52e4b5eed491aa50999c9c73af2c8a3e4c42e3841948c48947e0497

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genu-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2d59116d544449e61aeef066e837b5ec9c5aa604d5b9990419cebece7a62b7ff
MD5 980c23f49809151756800b7070f88990
BLAKE2b-256 a6aa2193801e2d666175351e4f15df56b59d274f18583b50ffc9349df88e876c

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