pyshort

A simple python package to generate short code via predefined code and size , also you can add extra strings .


License
MIT
Install
pip install pyshort==1.0

Documentation

pyshort

A python short code generator using predefined string and size . uses basiacally the random and string modules of python .

How to install

It is already at PyPi so just pip install pyshort

Usage

import pyshort as ps
print(ps.short())
# define size
print(ps.short(size=7))
# define code
code = 'abcdefghijklmnop'
print(ps.short(code=code))
# define extra
print(ps.short(extra_string='@!#$%^&'))

That's it ...