a tool to generate UUID from terminal
Project description
uuidgen
uuidgen is a simple command-line tool written in Python for generating Universally Unique Identifiers (UUIDs) directly from your terminal.
Description
This tool provides an easy way to generate various versions of UUIDs (v1, v3, v4, and v5) and offers options to specify the number of UUIDs, save them to a file, or copy them to the clipboard.
Installation
You can install guuid using pip:
pip install uuidgen
Usage
The tool is available as the uuidgen command.
uuidgen [OPTIONS]
Options:
-n, --number INTEGER: Number of UUIDs to generate (default: 1).-v, --version [1|3|4|5]: UUID version (1, 3, 4, or 5) (default: 4).-o, --output TEXT: File path to save the generated UUIDs. Each UUID will be on a new line.-c, --copy: Copy generated UUIDs to the clipboard.
Examples
Generate a single UUID (version 4, default):
uuidgen
Generate 5 UUIDs of version 1:
uuidgen -n 5 -v 1
Generate 10 UUIDs of version 4 and save them to a file named uuids.txt:
uuidgen -n 10 -o uuids.txt
Generate a single UUID of version 5 and copy it to the clipboard:
uuidgen -v 5 -c
Generate 3 UUIDs of version 3 and print them to the console:
uuidgen -n 3 -v 3
License
This project is open-source and distributed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uuidgen-1.0.2.tar.gz.
File metadata
- Download URL: uuidgen-1.0.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2b29a48c6ca4e89da5dedaf0cef911c7bd2d9faed6273b439e42b89e9760522
|
|
| MD5 |
680fc8639bcabbd474f4f3702098244f
|
|
| BLAKE2b-256 |
2eecc311d4b783c7b01ab0b863b2c26e14a596d8d41ece8e42f433bea4b800f5
|
File details
Details for the file uuidgen-1.0.2-py3-none-any.whl.
File metadata
- Download URL: uuidgen-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbef4ba4c023690c506195224d39262ba841124d0ab3d640083496083dc17487
|
|
| MD5 |
36fd75d875785b42731a7a8d29c002c7
|
|
| BLAKE2b-256 |
f48e09d1baf36d166ed5442e8f376957af6f82a1d147be76732649c47907074d
|