Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shpaker authored Nov 11, 2024
1 parent 12de74c commit c232592
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ePyXID

[![PyPI](https://img.shields.io/pypi/v/epyxid.svg)](https://pypi.python.org/pypi/epyxid)
[![PyPI](https://img.shields.io/pypi/dm/epyxid.svg)](https://pypi.python.org/pypi/epyxid)

Fast globally unique sortable id generator.

Expand All @@ -15,9 +16,9 @@ pip install epyxid
## Usage

```python
from epyxid import XID, xid_create
from epyxid import XID

xid: XID = xid_create()
xid: XID = XID()
print(xid)
# cnisffq7qo0qnbtbu5gg
print(bytes(xid))
Expand Down

0 comments on commit c232592

Please sign in to comment.