Skip to content

Name things with better names than GUIDs - 'delightful-donkey', 'corny-camel'

License

Notifications You must be signed in to change notification settings

darenr/resource-namer

Repository files navigation

resource-namer

License PyPI Version Python Versions

Name things with better names than GUIDs, use in combination with GUIDs or datetimes.

module main

python -m resource_namer

local development

pip install -e .

run tests:

pip install -e .
pytest

Example API usage

>>> from resource_namer import generate_name
>>> generate_name()
'handy-human'

# Use a different join character:

>>> generate_name(joiner=".")
'corny.camel'

# seed with a random number

>>> generate_name(seed=42)
'delightful-donkey'

# use plants instead of animals

>>> generate_name(prefer_plants=True)
'irritating-inkberry'

https://pypi.org/project/resource-namer

About

Name things with better names than GUIDs - 'delightful-donkey', 'corny-camel'

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published