Metadata-Version: 2.1
Name: short-unique-id
Version: 0.1.2
Summary: Short id generator
Home-page: https://github.com/Purushot14/ShortId
Author: Purushot14
Author-email: prakash.purushoth@gmail.com
License: MIT
Keywords: short,id,uuid,shortid,SnowflakeId,short uuid,tinyid,unique id
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Python ShortId and SnowflakeId

`short_id` is a Python 3 library that provides an easy way to generate a short unique id in an orderly way using the snowflake id generation method  
* short id with ordered way
* snowflake id as ordered unique number
* short id with more unique without order

`short_id` hosted on [PyPI](http://pypi.python.org/pypi/ShortId/) and can be installed as such:


    pip install install ShortId

Alternatively, you can also get the latest source code from [Github](https://github.com/Purushot14/ShortId) and install it manually.

```python3 
import short_id
unique_id :str = short_id.generate_short_id()
snowflake_id :int = short_id.get_next_snowflake_id()

 # To increase id accuracy need to send a mult value the default value is 10000
 # and based on this mult value the id length and accuracy will change 
 unique_id :str = short_id.generate_short_id(1000000)
 snowflake_id :int = short_id.get_next_snowflake_id(1000000)
```
Running Tests

_____________

    python -m unittest discover


Changelog
__________

### Version 0.1.2

* Initial release
