This commit is contained in:
xyj 2024-01-28 17:07:17 +08:00
parent 66778dacaf
commit 6b3936d13a
2 changed files with 0 additions and 72 deletions

View File

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

View File

@ -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=",")