diff --git a/Generate-NFT/nft.py b/Generate-NFT/nft.py index 875a2ef..8684fc7 100644 --- a/Generate-NFT/nft.py +++ b/Generate-NFT/nft.py @@ -129,6 +129,9 @@ def generate_images(edition, count, drop_dup=True): def main(): global log + folder_path = "./log" + if not os.path.exists(folder_path): # 判断是否存在文件夹如果不存在则创建为文件夹 + os.makedirs(folder_path) log = Logger('./log/all.log', level='info') log.logger.info('检查配置...') filename = './config.yaml' diff --git a/Generate-NFT/output/edition pandas/images/0.png b/Generate-NFT/output/edition pandas/images/0.png index 4689113..4759965 100644 Binary files a/Generate-NFT/output/edition pandas/images/0.png and b/Generate-NFT/output/edition pandas/images/0.png differ diff --git a/Generate-NFT/output/edition pandas/images/1.png b/Generate-NFT/output/edition pandas/images/1.png index 353fab3..bfd7609 100644 Binary files a/Generate-NFT/output/edition pandas/images/1.png and b/Generate-NFT/output/edition pandas/images/1.png differ diff --git a/Generate-NFT/output/edition pandas/images/2.png b/Generate-NFT/output/edition pandas/images/2.png index dc5c105..a034948 100644 Binary files a/Generate-NFT/output/edition pandas/images/2.png and b/Generate-NFT/output/edition pandas/images/2.png differ diff --git a/Generate-NFT/output/edition pandas/images/3.png b/Generate-NFT/output/edition pandas/images/3.png index eb81942..dd4924c 100644 Binary files a/Generate-NFT/output/edition pandas/images/3.png and b/Generate-NFT/output/edition pandas/images/3.png differ diff --git a/Generate-NFT/output/edition pandas/images/4.png b/Generate-NFT/output/edition pandas/images/4.png index 89475ac..0212f0e 100644 Binary files a/Generate-NFT/output/edition pandas/images/4.png and b/Generate-NFT/output/edition pandas/images/4.png differ diff --git a/Generate-NFT/output/edition pandas/images/5.png b/Generate-NFT/output/edition pandas/images/5.png index a97fdfb..08239fc 100644 Binary files a/Generate-NFT/output/edition pandas/images/5.png and b/Generate-NFT/output/edition pandas/images/5.png differ diff --git a/Generate-NFT/output/edition pandas/images/6.png b/Generate-NFT/output/edition pandas/images/6.png index fd15219..51f4528 100644 Binary files a/Generate-NFT/output/edition pandas/images/6.png and b/Generate-NFT/output/edition pandas/images/6.png differ diff --git a/Generate-NFT/output/edition pandas/images/7.png b/Generate-NFT/output/edition pandas/images/7.png index 3140900..041e1ea 100644 Binary files a/Generate-NFT/output/edition pandas/images/7.png and b/Generate-NFT/output/edition pandas/images/7.png differ diff --git a/Generate-NFT/output/edition pandas/images/8.png b/Generate-NFT/output/edition pandas/images/8.png index 6f4cd58..1170cec 100644 Binary files a/Generate-NFT/output/edition pandas/images/8.png and b/Generate-NFT/output/edition pandas/images/8.png differ diff --git a/Generate-NFT/output/edition pandas/images/9.png b/Generate-NFT/output/edition pandas/images/9.png index 21c8b02..45f2d14 100644 Binary files a/Generate-NFT/output/edition pandas/images/9.png and b/Generate-NFT/output/edition pandas/images/9.png differ diff --git a/Generate-NFT/output/edition pandas/json/0.json b/Generate-NFT/output/edition pandas/json/0.json index ac57610..7900de7 100644 --- a/Generate-NFT/output/edition pandas/json/0.json +++ b/Generate-NFT/output/edition pandas/json/0.json @@ -5,11 +5,11 @@ "attributes": [ { "trait_type": "background", - "value": "Ares" + "value": "God Hestia" }, { "trait_type": "Clothes", - "value": "Suit" + "value": "Basketball clothes" }, { "trait_type": "Face", @@ -17,23 +17,23 @@ }, { "trait_type": "Eye", - "value": "Boring" + "value": "white-eyes" }, { "trait_type": "Tattoo", - "value": "none" + "value": "Tattoo4" }, { "trait_type": "JEWELRY1", - "value": "Cigar" + "value": "Lollipop" }, { "trait_type": "JEWELRY2", - "value": "none" + "value": "Hat" }, { "trait_type": "JEWELRY3", - "value": "Scarf" + "value": "Rimmed-glasses" } ] } \ No newline at end of file diff --git a/Generate-NFT/output/edition pandas/json/1.json b/Generate-NFT/output/edition pandas/json/1.json index 3e41654..3d7444f 100644 --- a/Generate-NFT/output/edition pandas/json/1.json +++ b/Generate-NFT/output/edition pandas/json/1.json @@ -5,11 +5,11 @@ "attributes": [ { "trait_type": "background", - "value": "God Hestia" + "value": "Apollo the god of light" }, { "trait_type": "Clothes", - "value": "Basketball clothes" + "value": "Football uniform" }, { "trait_type": "Face", @@ -17,23 +17,23 @@ }, { "trait_type": "Eye", - "value": "white-eyes" + "value": "Boring" }, { "trait_type": "Tattoo", - "value": "Tattoo2" + "value": "Tattoo1" }, { "trait_type": "JEWELRY1", - "value": "none" + "value": "Lollipop" }, { "trait_type": "JEWELRY2", - "value": "Horns" + "value": "Kill-Matt" }, { "trait_type": "JEWELRY3", - "value": "Sunglasses" + "value": "Scarf" } ] } \ No newline at end of file diff --git a/Generate-NFT/output/edition pandas/json/2.json b/Generate-NFT/output/edition pandas/json/2.json index d3148c1..bd58574 100644 --- a/Generate-NFT/output/edition pandas/json/2.json +++ b/Generate-NFT/output/edition pandas/json/2.json @@ -5,11 +5,11 @@ "attributes": [ { "trait_type": "background", - "value": "Ares" + "value": "God Hestia" }, { "trait_type": "Clothes", - "value": "Suit" + "value": "White shirt" }, { "trait_type": "Face", @@ -17,15 +17,15 @@ }, { "trait_type": "Eye", - "value": "Boring" + "value": "white-eyes" }, { "trait_type": "Tattoo", - "value": "Tattoo5" + "value": "Tattoo3" }, { "trait_type": "JEWELRY1", - "value": "none" + "value": "Lollipop" }, { "trait_type": "JEWELRY2", @@ -33,7 +33,7 @@ }, { "trait_type": "JEWELRY3", - "value": "Glasses" + "value": "none" } ] } \ No newline at end of file diff --git a/Generate-NFT/output/edition pandas/json/3.json b/Generate-NFT/output/edition pandas/json/3.json index d93a037..70de2f0 100644 --- a/Generate-NFT/output/edition pandas/json/3.json +++ b/Generate-NFT/output/edition pandas/json/3.json @@ -9,7 +9,7 @@ }, { "trait_type": "Clothes", - "value": "Football uniform" + "value": "Red-and-black-shirt" }, { "trait_type": "Face", @@ -17,23 +17,23 @@ }, { "trait_type": "Eye", - "value": "Happy" + "value": "Boring" }, { "trait_type": "Tattoo", - "value": "Tattoo5" + "value": "Tattoo1" }, { "trait_type": "JEWELRY1", - "value": "Cigarette" + "value": "Cigar" }, { "trait_type": "JEWELRY2", - "value": "Horns" + "value": "Hat" }, { "trait_type": "JEWELRY3", - "value": "Glasses" + "value": "Sunglasses" } ] } \ No newline at end of file diff --git a/Generate-NFT/output/edition pandas/json/4.json b/Generate-NFT/output/edition pandas/json/4.json index 877f9e9..6f17817 100644 --- a/Generate-NFT/output/edition pandas/json/4.json +++ b/Generate-NFT/output/edition pandas/json/4.json @@ -5,11 +5,11 @@ "attributes": [ { "trait_type": "background", - "value": "Ares" + "value": "Poseidon" }, { "trait_type": "Clothes", - "value": "T-shirt" + "value": "White shirt" }, { "trait_type": "Face", @@ -21,19 +21,19 @@ }, { "trait_type": "Tattoo", - "value": "Tattoo1" + "value": "Tattoo4" }, { "trait_type": "JEWELRY1", - "value": "Cigarette" + "value": "Cigar" }, { "trait_type": "JEWELRY2", - "value": "Horns" + "value": "Hat" }, { "trait_type": "JEWELRY3", - "value": "Sunglasses" + "value": "Scarf" } ] } \ No newline at end of file diff --git a/Generate-NFT/output/edition pandas/json/5.json b/Generate-NFT/output/edition pandas/json/5.json index 9c73180..e0d7ff1 100644 --- a/Generate-NFT/output/edition pandas/json/5.json +++ b/Generate-NFT/output/edition pandas/json/5.json @@ -9,7 +9,7 @@ }, { "trait_type": "Clothes", - "value": "Jacket" + "value": "Red-and-black-shirt" }, { "trait_type": "Face", @@ -17,11 +17,11 @@ }, { "trait_type": "Eye", - "value": "Anger" + "value": "Happy" }, { "trait_type": "Tattoo", - "value": "Tattoo3" + "value": "Tattoo5" }, { "trait_type": "JEWELRY1", @@ -29,11 +29,11 @@ }, { "trait_type": "JEWELRY2", - "value": "Hat" + "value": "Kill-Matt" }, { "trait_type": "JEWELRY3", - "value": "none" + "value": "Rimmed-glasses" } ] } \ No newline at end of file diff --git a/Generate-NFT/output/edition pandas/json/6.json b/Generate-NFT/output/edition pandas/json/6.json index 01d6f18..362bffc 100644 --- a/Generate-NFT/output/edition pandas/json/6.json +++ b/Generate-NFT/output/edition pandas/json/6.json @@ -5,7 +5,7 @@ "attributes": [ { "trait_type": "background", - "value": "Apollo the god of light" + "value": "Demeter, goddess of agriculture" }, { "trait_type": "Clothes", @@ -17,23 +17,23 @@ }, { "trait_type": "Eye", - "value": "white-eyes" + "value": "Boring" }, { "trait_type": "Tattoo", - "value": "Tattoo1" + "value": "none" }, { "trait_type": "JEWELRY1", - "value": "Cigar" + "value": "Lollipop" }, { "trait_type": "JEWELRY2", - "value": "Hat" + "value": "none" }, { "trait_type": "JEWELRY3", - "value": "Sunglasses" + "value": "none" } ] } \ No newline at end of file diff --git a/Generate-NFT/output/edition pandas/json/7.json b/Generate-NFT/output/edition pandas/json/7.json index 86bd083..b6c492f 100644 --- a/Generate-NFT/output/edition pandas/json/7.json +++ b/Generate-NFT/output/edition pandas/json/7.json @@ -5,11 +5,11 @@ "attributes": [ { "trait_type": "background", - "value": "Hera" + "value": "Ares" }, { "trait_type": "Clothes", - "value": "Red-and-black-shirt" + "value": "Basketball clothes" }, { "trait_type": "Face", @@ -17,23 +17,23 @@ }, { "trait_type": "Eye", - "value": "white-eyes" + "value": "Boring" }, { "trait_type": "Tattoo", - "value": "Tattoo1" + "value": "Tattoo5" }, { "trait_type": "JEWELRY1", - "value": "Cigar" + "value": "Cigarette" }, { "trait_type": "JEWELRY2", - "value": "none" + "value": "Hat" }, { "trait_type": "JEWELRY3", - "value": "none" + "value": "Scarf" } ] } \ No newline at end of file diff --git a/Generate-NFT/output/edition pandas/json/8.json b/Generate-NFT/output/edition pandas/json/8.json index bb451fe..c9bfbaf 100644 --- a/Generate-NFT/output/edition pandas/json/8.json +++ b/Generate-NFT/output/edition pandas/json/8.json @@ -5,11 +5,11 @@ "attributes": [ { "trait_type": "background", - "value": "God Hestia" + "value": "Ares" }, { "trait_type": "Clothes", - "value": "T-shirt" + "value": "Dancing unifom" }, { "trait_type": "Face", @@ -17,11 +17,11 @@ }, { "trait_type": "Eye", - "value": "Boring" + "value": "Happy" }, { "trait_type": "Tattoo", - "value": "Tattoo1" + "value": "Tattoo3" }, { "trait_type": "JEWELRY1", @@ -29,11 +29,11 @@ }, { "trait_type": "JEWELRY2", - "value": "Horns" + "value": "Kill-Matt" }, { "trait_type": "JEWELRY3", - "value": "none" + "value": "Rimmed-glasses" } ] } \ No newline at end of file diff --git a/Generate-NFT/output/edition pandas/json/9.json b/Generate-NFT/output/edition pandas/json/9.json index e1e328e..b06bbdb 100644 --- a/Generate-NFT/output/edition pandas/json/9.json +++ b/Generate-NFT/output/edition pandas/json/9.json @@ -5,11 +5,11 @@ "attributes": [ { "trait_type": "background", - "value": "Apollo the god of light" + "value": "Poseidon" }, { "trait_type": "Clothes", - "value": "Basketball clothes" + "value": "White shirt" }, { "trait_type": "Face", @@ -17,11 +17,11 @@ }, { "trait_type": "Eye", - "value": "Anger" + "value": "Boring" }, { "trait_type": "Tattoo", - "value": "Tattoo3" + "value": "Tattoo4" }, { "trait_type": "JEWELRY1", @@ -33,7 +33,7 @@ }, { "trait_type": "JEWELRY3", - "value": "none" + "value": "Sunglasses" } ] } \ No newline at end of file diff --git a/Generate-NFT/output/edition pandas/metadata.csv b/Generate-NFT/output/edition pandas/metadata.csv index 6553d97..43ac2ce 100644 --- a/Generate-NFT/output/edition pandas/metadata.csv +++ b/Generate-NFT/output/edition pandas/metadata.csv @@ -1,11 +1,11 @@ ,background,Clothes,Face,Eye,Tattoo,JEWELRY1,JEWELRY2,JEWELRY3 -0,Ares,Suit,panda,Boring,none,Cigar,none,Scarf -1,God Hestia,Basketball clothes,panda,white-eyes,Tattoo2,none,Horns,Sunglasses -2,Ares,Suit,panda,Boring,Tattoo5,none,Horns,Glasses -3,Ares,Football uniform,panda,Happy,Tattoo5,Cigarette,Horns,Glasses -4,Ares,T-shirt,panda,Happy,Tattoo1,Cigarette,Horns,Sunglasses -5,Ares,Jacket,panda,Anger,Tattoo3,Cigar,Hat,none -6,Apollo the god of light,Red-and-black-shirt,panda,white-eyes,Tattoo1,Cigar,Hat,Sunglasses -7,Hera,Red-and-black-shirt,panda,white-eyes,Tattoo1,Cigar,none,none -8,God Hestia,T-shirt,panda,Boring,Tattoo1,Cigar,Horns,none -9,Apollo the god of light,Basketball clothes,panda,Anger,Tattoo3,Lollipop,Kill-Matt,none +0,God Hestia,Basketball clothes,panda,white-eyes,Tattoo4,Lollipop,Hat,Rimmed-glasses +1,Apollo the god of light,Football uniform,panda,Boring,Tattoo1,Lollipop,Kill-Matt,Scarf +2,God Hestia,White shirt,panda,white-eyes,Tattoo3,Lollipop,Horns,none +3,Ares,Red-and-black-shirt,panda,Boring,Tattoo1,Cigar,Hat,Sunglasses +4,Poseidon,White shirt,panda,Happy,Tattoo4,Cigar,Hat,Scarf +5,Ares,Red-and-black-shirt,panda,Happy,Tattoo5,Cigar,Kill-Matt,Rimmed-glasses +6,"Demeter, goddess of agriculture",Red-and-black-shirt,panda,Boring,none,Lollipop,none,none +7,Ares,Basketball clothes,panda,Boring,Tattoo5,Cigarette,Hat,Scarf +8,Ares,Dancing unifom,panda,Happy,Tattoo3,Cigar,Kill-Matt,Rimmed-glasses +9,Poseidon,White shirt,panda,Boring,Tattoo4,Lollipop,Kill-Matt,Sunglasses