structured-domain-generator
A pure Python, zero-dependency CLI tool for generating structured semi-random domain names.
Quick Start
# Install as a tool
uv tool install structured-domain-generator
# Generate a domain
❯ sdg thingy --prefix ff123556 --suffix .net
https://ff123556-transparency-harvesting-investment.net
Note: You can also use pip install, pipx install, or uv tool install, but we recommend uv.
Features
- Pure Python (0 dependencies).
- CLI-based interface.
- Structured generation using seed strings.
- Support for optional prefixes and suffixes.
- Weighted selection favoring shorter words (≤ 4 chars).
How it Works
The generator uses the first three characters of a seed string to pick three random words from available lists. Words starting with the corresponding character are prioritized; if none exist, a random word from the pool is used. Words with 4 characters or fewer are given double the selection weight.
Installation
This project uses uv. You can install the tool globally:
uv tool install structured-domain-generator
Usage
Run the tool using the sdg or structured-domain-generator command:
sdg <seed_word> [options]
Options
--prefix <string>: Adds a prefix to the domain.--suffix <string>: Adds a suffix (e.g.,.com,.net) to the domain.--lists <list...>: Specify word lists to use (business,energy,short). Defaults to all.
Development
- Project Management:
uv - Linting & Formatting:
ruff
To format and lint the code:
uv run ruff format .
uv run ruff check .
Contributing
Pull requests for bug fixes and improvements are welcome.
License
This project is licensed under the MIT License.
Metadata
Release files for structured-domain-generator 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| structured_domain_generator-0.1.2.tar.gz | 10.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| structured_domain_generator-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.5 kB
Release files / structured_domain_generator-0.1.2.tar.gz
| Download URL | structured_domain_generator-0.1.2.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3bd97cfda9b298687b72fe3952579ed0bc30185a2da07627130d97443a8c58c
|
|
BLAKE2b-256 checksum How to use checksums |
1bc0ca213d7808bb5e6c560bb005dfea4e2d6860ac09ea3d6b81d2e6aca742c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Release files / structured_domain_generator-0.1.2-py3-none-any.whl
| Download URL | structured_domain_generator-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25624f7eec8fdb5f2961cf203046207f70b7cd0db8617e454868ed5c8bfdd65b
|
|
BLAKE2b-256 checksum How to use checksums |
401f3ee83d9e90db5d2b9df22f85dc609bb33665182546cd7414490eee558000
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Security for structured-domain-generator 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.