update
This commit is contained in:
parent
66778dacaf
commit
6b3936d13a
51
clientId.csv
51
clientId.csv
|
@ -1,51 +0,0 @@
|
|||
clientId,name,uuid_version
|
||||
farm_035c4ea0d73b,0,uuid5
|
||||
farm_b80c8fefa677,1,uuid5
|
||||
farm_334b6b3112a2,2,uuid5
|
||||
farm_c093c7f66edf,3,uuid5
|
||||
farm_ff6c5a08b2fa,4,uuid5
|
||||
farm_afca48e959ea,5,uuid5
|
||||
farm_c6577abe8c0f,6,uuid5
|
||||
farm_5bd208663478,7,uuid5
|
||||
farm_c06243dceaed,8,uuid5
|
||||
farm_b756dcb03600,9,uuid5
|
||||
farm_e1e5b788f429,10,uuid5
|
||||
farm_2342aa206cb6,11,uuid5
|
||||
farm_3a8b9d4cb292,12,uuid5
|
||||
farm_12f1810436a2,13,uuid5
|
||||
farm_fc340caed629,14,uuid5
|
||||
farm_6d5f64e6d53b,15,uuid5
|
||||
farm_7fb92d7386ec,16,uuid5
|
||||
farm_071beeb1b1ed,17,uuid5
|
||||
farm_70ede393d226,18,uuid5
|
||||
farm_38a01d76c518,19,uuid5
|
||||
farm_289dd7fb89ab,20,uuid5
|
||||
farm_2c6e5af15b9d,21,uuid5
|
||||
farm_51e4ac9a92ed,22,uuid5
|
||||
farm_b515d77a1629,23,uuid5
|
||||
farm_1fdaa47a21ac,24,uuid5
|
||||
farm_163990cd9f59,25,uuid5
|
||||
farm_0c49e57f9f0c,26,uuid5
|
||||
farm_fb5ee05b8ff0,27,uuid5
|
||||
farm_ab827ed286c2,28,uuid5
|
||||
farm_31c1fa498635,29,uuid5
|
||||
farm_80798e70401c,30,uuid5
|
||||
farm_dcf7bebe2ae8,31,uuid5
|
||||
farm_e21fe6d4626c,32,uuid5
|
||||
farm_7c6a3a8ecf58,33,uuid5
|
||||
farm_c64e6ce64549,34,uuid5
|
||||
farm_3577af1c295a,35,uuid5
|
||||
farm_bf2f7049cd29,36,uuid5
|
||||
farm_760d67d4fb66,37,uuid5
|
||||
farm_33921e5421da,38,uuid5
|
||||
farm_dea2dfca1957,39,uuid5
|
||||
farm_4ffb1b168d69,40,uuid5
|
||||
farm_c3eb1b7d7032,41,uuid5
|
||||
farm_5c2b23de4bad,42,uuid5
|
||||
farm_bf8d3ce76778,43,uuid5
|
||||
farm_cfff2af7ed85,44,uuid5
|
||||
farm_3fb5eb5f71f9,45,uuid5
|
||||
farm_3d04c8a6cc47,46,uuid5
|
||||
farm_3d930c8ba9eb,47,uuid5
|
||||
farm_2018fde1193b,48,uuid5
|
||||
farm_e2ca90333f0f,49,uuid5
|
|
|
@ -1,21 +0,0 @@
|
|||
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 = "farm_" + 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