fakedata-python 1.0.0__tar.gz → 1.0.6__tar.gz

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.
Files changed (43) hide show
  1. fakedata_python-1.0.6/PKG-INFO +11 -0
  2. fakedata_python-1.0.6/README.md +84 -0
  3. fakedata_python-1.0.6/fakedata/helpers/devices.json +2290 -0
  4. fakedata_python-1.0.6/fakedata/helpers/hobbies.json +503 -0
  5. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/modules/data.py +23 -1
  6. fakedata_python-1.0.6/fakedata_python.egg-info/PKG-INFO +11 -0
  7. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata_python.egg-info/SOURCES.txt +2 -0
  8. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/pyproject.toml +2 -2
  9. fakedata_python-1.0.0/PKG-INFO +0 -134
  10. fakedata_python-1.0.0/README.md +0 -122
  11. fakedata_python-1.0.0/fakedata_python.egg-info/PKG-INFO +0 -134
  12. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/__init__.py +0 -0
  13. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/core.py +0 -0
  14. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/animal.json +0 -0
  15. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/animefact.json +0 -0
  16. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/animequote.json +0 -0
  17. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/cardtype.json +0 -0
  18. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/catfact.json +0 -0
  19. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/dogfact.json +0 -0
  20. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/domain.json +0 -0
  21. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/email.json +0 -0
  22. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/fact.json +0 -0
  23. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/first.json +0 -0
  24. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/fortune.json +0 -0
  25. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/joke.json +0 -0
  26. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/last.json +0 -0
  27. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/middle.json +0 -0
  28. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/occupation.json +0 -0
  29. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/pickup.json +0 -0
  30. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/pokemon.json +0 -0
  31. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/quote.json +0 -0
  32. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/shortformstate.json +0 -0
  33. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/state.json +0 -0
  34. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/states.json +0 -0
  35. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/helpers/street.json +0 -0
  36. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/modules/__init__.py +0 -0
  37. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/modules/animals.py +0 -0
  38. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/modules/anime.py +0 -0
  39. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/modules/fun.py +0 -0
  40. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata/test_python.py +0 -0
  41. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata_python.egg-info/dependency_links.txt +0 -0
  42. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/fakedata_python.egg-info/top_level.txt +0 -0
  43. {fakedata_python-1.0.0 → fakedata_python-1.0.6}/setup.cfg +0 -0
@@ -0,0 +1,11 @@
1
+ Metadata-Version: 2.4
2
+ Name: fakedata-python
3
+ Version: 1.0.6
4
+ Summary: A versatile mock data and entertainment content generator ported to Python.
5
+ Author-email: abhay557 <abhaycormourya@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/abhay557/fakedata
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Operating System :: OS Independent
10
+ Requires-Python: >=3.7
11
+ Description-Content-Type: text/markdown
@@ -0,0 +1,84 @@
1
+ # fakedata
2
+
3
+ [![PyPI Version](https://img.shields.io/pypi/v/fakedata-python?color=blue&label=pypi)](https://pypi.org/project/fakedata-python/)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
5
+
6
+ A high-performance, **zero-dependency** mock data generation engine for **Python**. Designed for testing, prototyping, and local development.
7
+
8
+ ---
9
+
10
+ ## Overview
11
+
12
+ `fakedata` is a utility library that provides a structured API for generating high-quality synthetic data in Python.
13
+
14
+ ### Core Modules:
15
+ - **Data**: Professional-grade PII, addresses, and enterprise resumes.
16
+ - **Fun**: Pokemon stats, jokes, facts, and fortune cookies.
17
+ - **Anime**: Curated quotes and trivia from iconic series.
18
+ - **Animals**: Biological facts and random animal profiles.
19
+
20
+ ---
21
+
22
+ ## Python Implementation
23
+
24
+ ### Installation
25
+ ```bash
26
+ pip install fakedata-python
27
+ ```
28
+
29
+ ### Quick Start
30
+ ```python
31
+ import fakedata
32
+
33
+ # Generate a random user profile
34
+ user = fakedata.data.user()
35
+ print(f"Name: {user['fullName']} | City: {user['address']['city']}")
36
+
37
+ # Fetch a random Pokemon
38
+ poke = fakedata.fun.pokemon()
39
+ print(f"Random Pokemon: {poke['name']} ({poke['Type 1']})")
40
+ ```
41
+
42
+
43
+
44
+ ---
45
+
46
+ ## API Reference
47
+
48
+ | Namespace | Method | Description |
49
+ | :--- | :--- | :--- |
50
+ | `data` | `user()` | Full identity profile (Name, Address, Job, Bank, Hobbies, Tech Profile). |
51
+ | `data` | `users(n)` | Returns an array of `n` unique user profiles. |
52
+ | `data` | `creditcard()` | Realistic credit card data (Number, Expiry, CVV). |
53
+ | `fun` | `pokemon()` | Random Pokemon with stats and types. |
54
+ | `fun` | `joke()` | Random joke across various categories. |
55
+ | `anime` | `quote()` | Iconic anime quotes with character attribution. |
56
+ | `anime` | `quotes_by_show(s)` | Filtered quotes from a specific show. |
57
+ | `animals` | `random_animal()` | Random animal profile and interesting facts. |
58
+
59
+ ---
60
+
61
+ ## Why use fakedata?
62
+
63
+ 1. **Zero Dependencies**: Pure implementation using native language features.
64
+ 2. **Optimized for Speed**: Datasets are pre-loaded or efficiently indexed for rapid generation of large datasets.
65
+ 3. **Rich Datasets**: Bundled with comprehensive JSON assets, no internet connection required.
66
+
67
+ ---
68
+
69
+ ## Contributing
70
+
71
+ Contributions are welcome! If you'd like to add new datasets or modules:
72
+ 1. Ensure changes are implemented in `fakedata/`.
73
+ 2. Maintain naming parity for methods and JSON keys.
74
+ 3. Submit a Pull Request.
75
+
76
+ ---
77
+
78
+ ## License
79
+
80
+ Distributed under the **MIT License**. See `LICENSE` for more information.
81
+
82
+ **Maintainer**: [abhay557](https://github.com/abhay557)
83
+
84
+ - Project Commit History - ```https://github.com/abhay557/random-api.xyz```