Generates random alphanumeric strings.
Project description
alphanum
Simple Python library to generate pseudo-random alphanumeric strings of arbitrary length. Requires Python 3.5+.
Installation
alphanum can be obtained from PyPI with pip install alphanum
.
Alternatively, build it with Poetry:
pip install poetry
git clone https://github.com/clpo13/alphanum
cd alphanum
poetry build
pip install dist/alphanum-x.y.z-py3-none-any.whl
Usage
import alphanum
foo = alphanum.generate(10)
print(foo)
License
Copyright (c) 2020 Cody Logan. MIT licensed.
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
alphanum-0.2.0.tar.gz
(2.6 kB
view hashes)