fakedata-python 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
fakedata/__init__.py ADDED
@@ -0,0 +1,6 @@
1
+ from .modules import data, fun, anime, animals
2
+
3
+ __version__ = "1.0.0"
4
+ __author__ = "abhay557"
5
+
6
+ __all__ = ["data", "fun", "anime", "animals"]
fakedata/core.py ADDED
@@ -0,0 +1,15 @@
1
+ import json
2
+ import os
3
+ from pathlib import Path
4
+
5
+ # Base directory for helpers
6
+ HELPER_DIR = Path(__file__).parent / "helpers"
7
+
8
+ def load_data(filename):
9
+ """Safely loads a JSON file from the helpers directory."""
10
+ file_path = HELPER_DIR / filename
11
+ if not file_path.exists():
12
+ raise FileNotFoundError(f"Data file not found: {filename}")
13
+
14
+ with open(file_path, "r", encoding="utf-8") as f:
15
+ return json.load(f)
@@ -0,0 +1,228 @@
1
+ {
2
+ "animals": [
3
+ "Aardvark",
4
+ "Albatross",
5
+ "Alligator",
6
+ "Alpaca",
7
+ "Ant",
8
+ "Anteater",
9
+ "Antelope",
10
+ "Ape",
11
+ "Armadillo",
12
+ "Donkey",
13
+ "Baboon",
14
+ "Badger",
15
+ "Barracuda",
16
+ "Bat",
17
+ "Bear",
18
+ "Beaver",
19
+ "Bee",
20
+ "Bison",
21
+ "Boar",
22
+ "Buffalo",
23
+ "Butterfly",
24
+ "Camel",
25
+ "Capybara",
26
+ "Caribou",
27
+ "Cassowary",
28
+ "Cat",
29
+ "Caterpillar",
30
+ "Cattle",
31
+ "Chamois",
32
+ "Cheetah",
33
+ "Chicken",
34
+ "Chimpanzee",
35
+ "Chinchilla",
36
+ "Chough",
37
+ "Clam",
38
+ "Cobra",
39
+ "Cockroach",
40
+ "Cod",
41
+ "Cormorant",
42
+ "Coyote",
43
+ "Crab",
44
+ "Crane",
45
+ "Crocodile",
46
+ "Crow",
47
+ "Curlew",
48
+ "Deer",
49
+ "Dinosaur",
50
+ "Dog",
51
+ "Dogfish",
52
+ "Dolphin",
53
+ "Dotterel",
54
+ "Dove",
55
+ "Dragonfly",
56
+ "Duck",
57
+ "Dugong",
58
+ "Dunlin",
59
+ "Eagle",
60
+ "Echidna",
61
+ "Eel",
62
+ "Eland",
63
+ "Elephant",
64
+ "Elk",
65
+ "Emu",
66
+ "Falcon",
67
+ "Ferret",
68
+ "Finch",
69
+ "Fish",
70
+ "Flamingo",
71
+ "Fly",
72
+ "Fox",
73
+ "Frog",
74
+ "Gaur",
75
+ "Gazelle",
76
+ "Gerbil",
77
+ "Giraffe",
78
+ "Gnat",
79
+ "Gnu",
80
+ "Goat",
81
+ "Goldfinch",
82
+ "Goldfish",
83
+ "Goose",
84
+ "Gorilla",
85
+ "Goshawk",
86
+ "Grasshopper",
87
+ "Grouse",
88
+ "Guanaco",
89
+ "Gull",
90
+ "Hamster",
91
+ "Hare",
92
+ "Hawk",
93
+ "Hedgehog",
94
+ "Heron",
95
+ "Herring",
96
+ "Hippopotamus",
97
+ "Hornet",
98
+ "Horse",
99
+ "Human",
100
+ "Hummingbird",
101
+ "Hyena",
102
+ "Ibex",
103
+ "Ibis",
104
+ "Jackal",
105
+ "Jaguar",
106
+ "Jay",
107
+ "Jellyfish",
108
+ "Kangaroo",
109
+ "Kingfisher",
110
+ "Koala",
111
+ "Kookabura",
112
+ "Kouprey",
113
+ "Kudu",
114
+ "Lapwing",
115
+ "Lark",
116
+ "Lemur",
117
+ "Leopard",
118
+ "Lion",
119
+ "Llama",
120
+ "Lobster",
121
+ "Locust",
122
+ "Loris",
123
+ "Louse",
124
+ "Lyrebird",
125
+ "Magpie",
126
+ "Mallard",
127
+ "Manatee",
128
+ "Mandrill",
129
+ "Mantis",
130
+ "Marten",
131
+ "Meerkat",
132
+ "Mink",
133
+ "Mole",
134
+ "Mongoose",
135
+ "Monkey",
136
+ "Moose",
137
+ "Mosquito",
138
+ "Mouse",
139
+ "Mule",
140
+ "Narwhal",
141
+ "Newt",
142
+ "Nightingale",
143
+ "Octopus",
144
+ "Okapi",
145
+ "Opossum",
146
+ "Oryx",
147
+ "Ostrich",
148
+ "Otter",
149
+ "Owl",
150
+ "Oyster",
151
+ "Panther",
152
+ "Parrot",
153
+ "Partridge",
154
+ "Peafowl",
155
+ "Pelican",
156
+ "Penguin",
157
+ "Pheasant",
158
+ "Pig",
159
+ "Pigeon",
160
+ "Pony",
161
+ "Porcupine",
162
+ "Porpoise",
163
+ "Quail",
164
+ "Quelea",
165
+ "Quetzal",
166
+ "Rabbit",
167
+ "Raccoon",
168
+ "Rail",
169
+ "Ram",
170
+ "Rat",
171
+ "Raven",
172
+ "Red deer",
173
+ "Red panda",
174
+ "Reindeer",
175
+ "Rhinoceros",
176
+ "Rook",
177
+ "Salamander",
178
+ "Salmon",
179
+ "Sand Dollar",
180
+ "Sandpiper",
181
+ "Sardine",
182
+ "Scorpion",
183
+ "Seahorse",
184
+ "Seal",
185
+ "Shark",
186
+ "Sheep",
187
+ "Shrew",
188
+ "Skunk",
189
+ "Snail",
190
+ "Snake",
191
+ "Sparrow",
192
+ "Spider",
193
+ "Spoonbill",
194
+ "Squid",
195
+ "Squirrel",
196
+ "Starling",
197
+ "Stingray",
198
+ "Stinkbug",
199
+ "Stork",
200
+ "Swallow",
201
+ "Swan",
202
+ "Tapir",
203
+ "Tarsier",
204
+ "Termite",
205
+ "Tiger",
206
+ "Toad",
207
+ "Trout",
208
+ "Turkey",
209
+ "Turtle",
210
+ "Viper",
211
+ "Vulture",
212
+ "Wallaby",
213
+ "Walrus",
214
+ "Wasp",
215
+ "Weasel",
216
+ "Whale",
217
+ "Wildcat",
218
+ "Wolf",
219
+ "Wolverine",
220
+ "Wombat",
221
+ "Woodcock",
222
+ "Woodpecker",
223
+ "Worm",
224
+ "Wren",
225
+ "Yak",
226
+ "Zebra"
227
+ ]
228
+ }