标签: python uuid
我需要一个顺序的UUID生成器,如Twitter的Snowflake - https://github.com/twitter/snowflake/。
但Snowflake是在Scala中实现的,我在Python世界中找到了类似的项目,而不是Scala。
答案 0 :(得分:3)
OMG,我发现了这个:https://github.com/erans/pysnowflake
答案 1 :(得分:1)
您可以在Python uuid module