-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee88841
commit 8b7977d
Showing
7 changed files
with
66 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
def ulid() -> str: | ||
... | ||
|
||
|
||
def snowflake_str(machine_id: int = 1, node_id: int = 1) -> str: | ||
... | ||
|
||
|
||
def snowflake_int(machine_id: int = 1, node_id: int = 1) -> int: | ||
... | ||
|
||
|
||
def uuid_v7() -> str: | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ name = "fastid" | |
description = "This is a library for quickly generating unique IDs in Python." | ||
authors = [{ name = "Seungwoo Hong", email = "[email protected]" }] | ||
requires-python = ">=3.7" | ||
keywords = ["unique-id", "id-generator", "ulid", "snowflake"] | ||
keywords = ["unique-id", "id-generator", "ulid", "snowflake", "uuid"] | ||
classifiers = [ | ||
"Programming Language :: Rust", | ||
"Programming Language :: Python", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters