Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SawdustSoftware/simpleflake
/ functions
Functions
9 in github.com/SawdustSoftware/simpleflake
⨍
Functions
9
◇
Types & classes
1
↓ 2 callers
Function
extract_bits
Extract a portion of a bit string. Similar to substr().
simpleflake/simpleflake.py:34
↓ 1 callers
Function
pad_bytes_to_64
(string)
simpleflake/simpleflake.py:22
Function
binary
Show binary digits of a number, pads to 64 bits unless specified.
simpleflake/simpleflake.py:26
Function
parse_simpleflake
Parses a simpleflake and returns a named tuple with the parts.
simpleflake/simpleflake.py:56
Function
simpleflake
Generate a 64 bit, roughly-ordered, globally-unique ID.
simpleflake/simpleflake.py:42
Method
test_parse
(self)
tests/test.py:30
Method
test_simpleflake_parts_random
(self)
tests/test.py:22
Method
test_simpleflake_parts_timestamp
(self)
tests/test.py:13
Method
test_simpleflake_size
(self)
tests/test.py:9