Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.04 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.04 KB

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