update
This commit is contained in:
parent
193741cfb2
commit
f8b855e0c1
|
@ -0,0 +1,51 @@
|
|||
clientId,name,uuid_version
|
||||
035c4ea0d73b,0,uuid5
|
||||
b80c8fefa677,1,uuid5
|
||||
334b6b3112a2,2,uuid5
|
||||
c093c7f66edf,3,uuid5
|
||||
ff6c5a08b2fa,4,uuid5
|
||||
afca48e959ea,5,uuid5
|
||||
c6577abe8c0f,6,uuid5
|
||||
5bd208663478,7,uuid5
|
||||
c06243dceaed,8,uuid5
|
||||
b756dcb03600,9,uuid5
|
||||
e1e5b788f429,10,uuid5
|
||||
2342aa206cb6,11,uuid5
|
||||
3a8b9d4cb292,12,uuid5
|
||||
12f1810436a2,13,uuid5
|
||||
fc340caed629,14,uuid5
|
||||
6d5f64e6d53b,15,uuid5
|
||||
7fb92d7386ec,16,uuid5
|
||||
071beeb1b1ed,17,uuid5
|
||||
70ede393d226,18,uuid5
|
||||
38a01d76c518,19,uuid5
|
||||
289dd7fb89ab,20,uuid5
|
||||
2c6e5af15b9d,21,uuid5
|
||||
51e4ac9a92ed,22,uuid5
|
||||
b515d77a1629,23,uuid5
|
||||
1fdaa47a21ac,24,uuid5
|
||||
163990cd9f59,25,uuid5
|
||||
0c49e57f9f0c,26,uuid5
|
||||
fb5ee05b8ff0,27,uuid5
|
||||
ab827ed286c2,28,uuid5
|
||||
31c1fa498635,29,uuid5
|
||||
80798e70401c,30,uuid5
|
||||
dcf7bebe2ae8,31,uuid5
|
||||
e21fe6d4626c,32,uuid5
|
||||
7c6a3a8ecf58,33,uuid5
|
||||
c64e6ce64549,34,uuid5
|
||||
3577af1c295a,35,uuid5
|
||||
bf2f7049cd29,36,uuid5
|
||||
760d67d4fb66,37,uuid5
|
||||
33921e5421da,38,uuid5
|
||||
dea2dfca1957,39,uuid5
|
||||
4ffb1b168d69,40,uuid5
|
||||
c3eb1b7d7032,41,uuid5
|
||||
5c2b23de4bad,42,uuid5
|
||||
bf8d3ce76778,43,uuid5
|
||||
cfff2af7ed85,44,uuid5
|
||||
3fb5eb5f71f9,45,uuid5
|
||||
3d04c8a6cc47,46,uuid5
|
||||
3d930c8ba9eb,47,uuid5
|
||||
2018fde1193b,48,uuid5
|
||||
e2ca90333f0f,49,uuid5
|
|
|
@ -0,0 +1,21 @@
|
|||
import uuid
|
||||
import pandas as pd
|
||||
|
||||
|
||||
def generate_id(name):
|
||||
# 生成一个UUID
|
||||
unique_id = str(uuid.uuid5(uuid.NAMESPACE_URL, name)).replace("-", "")[:12]
|
||||
# 将UUID转换为字符串,并添加指定的前缀
|
||||
return unique_id
|
||||
|
||||
|
||||
clientId = []
|
||||
uuid_version = []
|
||||
name = []
|
||||
for i in range(50):
|
||||
generated_id = generate_id(str(i))
|
||||
name.append(str(i))
|
||||
uuid_version.append("uuid5")
|
||||
clientId.append(generated_id)
|
||||
df = pd.DataFrame({"clientId": clientId, "name": name, "uuid_version": uuid_version})
|
||||
df.to_csv("clientId.csv", index=False, sep=",")
|
Loading…
Reference in New Issue