fakedata-python 2.0.2__py3-none-any.whl → 2.0.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fakedata-python
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: The fakedata package generates realistic synthetic user profiles for machine learning, deep learning, data analysis, and data science workflows.
5
5
  Author-email: abhay557 <contact@abhaymourya.in>
6
6
  License-Expression: MIT
@@ -9,6 +9,8 @@ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Operating System :: OS Independent
10
10
  Requires-Python: >=3.7
11
11
  Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Dynamic: license-file
12
14
 
13
15
  # fakedata
14
16
 
@@ -35,8 +37,6 @@ A high-performance, **zero-dependency** synthetic data generation engine, availa
35
37
  - **Pipeline Ready**: Export directly to CSV, JSON, or Flat objects (perfect for `pandas.DataFrame`).
36
38
  - **CLI Tool**: Generate and export datasets directly from your terminal — no scripting required.
37
39
 
38
- ---
39
-
40
40
  ## Python Implementation
41
41
 
42
42
  ### Installation
@@ -46,41 +46,20 @@ pip install fakedata-python
46
46
 
47
47
  ### Quick Start
48
48
  ```python
49
- import fakedata.data as data
49
+ import fakedata
50
50
  import pandas as pd
51
51
 
52
52
  # Generate 10,000 highly correlated users deterministically
53
- users = data.users(10000, {"seed": 42})
53
+ users = fakedata.data.users(10000, {"seed": 42})
54
54
 
55
55
  # Or export directly to a Pandas DataFrame
56
- df = pd.DataFrame(data.users_flat(10000, {"seed": 42}))
56
+ df = pd.DataFrame(fakedata.data.users_flat(10000, {"seed": 42}))
57
57
  print(df.head())
58
58
 
59
59
  # Create time-series activity data
60
60
  ts = data.user_time_series({"days": 30, "events_per_day": 8})
61
61
  print(f"Generated {len(ts['activity'])} events for {ts['user']['fullName']}")
62
62
  ```
63
- ## Node.js / TypeScript Implementation
64
-
65
- ### Installation
66
- ```bash
67
- npm install @abhay557/fakedata
68
- ```
69
-
70
- ### Quick Start
71
- ```javascript
72
- const { data } = require('@abhay557/fakedata');
73
-
74
- // Generate deterministic users with a 5% missing data rate (null injection)
75
- const users = data.users(1000, { seed: 42, missing_rate: 0.05 });
76
-
77
- // Export directly to CSV format
78
- const csvString = data.usersToCSV(1000, { seed: 42 });
79
-
80
- // Time-series activity data
81
- const ts = data.userTimeSeries({ days: 30, eventsPerDay: 8 });
82
- console.log(`Generated ${ts.activity.length} events for ${ts.user.fullName}`);
83
- ```
84
63
 
85
64
  ---
86
65
 
@@ -432,3 +411,5 @@ Distributed under the **MIT License**. See `LICENSE` for more information.
432
411
  **Maintainer**: [abhay557](https://github.com/abhay557)
433
412
 
434
413
  - Project Commit History - `https://github.com/abhay557/random-api.xyz`
414
+
415
+ ---
@@ -26,8 +26,9 @@ fakedata/helpers/street.json,sha256=Z-1cRr7uGMXBqlPoqoedPagfx_hLXqbWDNoylcnS8L0,
26
26
  fakedata/helpers/universities.json,sha256=7NHac5anNxnCVSj6kdFc87896S2A3J-zT58Yw4lzkaQ,230421
27
27
  fakedata/modules/__init__.py,sha256=buFp940xk9V39VnBFIca5ADTEtX8qsKz7_VQC3102tI,19
28
28
  fakedata/modules/data.py,sha256=8MHRV5AtbzLOCBRKUP3E-dHc8nIQ3VuP-Xyk7c_-Eog,52542
29
- fakedata_python-2.0.2.dist-info/METADATA,sha256=WlEpLxJNeuYVUsasQCQcHHS_s3d8gBcjYpaiMRY-TqI,16306
30
- fakedata_python-2.0.2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
31
- fakedata_python-2.0.2.dist-info/entry_points.txt,sha256=qLOKT1Qujc8-qppTaDO2GUWcuoUQR9fSID3qvIaEAPo,47
32
- fakedata_python-2.0.2.dist-info/top_level.txt,sha256=SHFa_6848yAE45QgW-PX_DHp_nakY64Zs_t2NobLcn0,9
33
- fakedata_python-2.0.2.dist-info/RECORD,,
29
+ fakedata_python-2.0.3.dist-info/licenses/LICENSE,sha256=uOpwjvuc2Qd4UOuj8ZcDb3FImq0iOK1JzWN4gbOqBVU,1090
30
+ fakedata_python-2.0.3.dist-info/METADATA,sha256=6626KxhDBqQyrL8vHkMH1qOqXSlsLIQuTKzMcVZsA0o,15747
31
+ fakedata_python-2.0.3.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
32
+ fakedata_python-2.0.3.dist-info/entry_points.txt,sha256=qLOKT1Qujc8-qppTaDO2GUWcuoUQR9fSID3qvIaEAPo,47
33
+ fakedata_python-2.0.3.dist-info/top_level.txt,sha256=SHFa_6848yAE45QgW-PX_DHp_nakY64Zs_t2NobLcn0,9
34
+ fakedata_python-2.0.3.dist-info/RECORD,,
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Abhay Mourya
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.