tablefaker 1.3.0__tar.gz → 1.3.2__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.
- {tablefaker-1.3.0 → tablefaker-1.3.2}/PKG-INFO +2 -2
- {tablefaker-1.3.0 → tablefaker-1.3.2}/README.md +1 -1
- {tablefaker-1.3.0 → tablefaker-1.3.2}/setup.py +1 -1
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker/util.py +6 -5
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker.egg-info/PKG-INFO +2 -2
- {tablefaker-1.3.0 → tablefaker-1.3.2}/LICENSE +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/setup.cfg +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker/__init__.py +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker/cli.py +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker/config.py +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker/tablefaker.py +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker.egg-info/SOURCES.txt +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker.egg-info/dependency_links.txt +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker.egg-info/entry_points.txt +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker.egg-info/requires.txt +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tablefaker.egg-info/top_level.txt +0 -0
- {tablefaker-1.3.0 → tablefaker-1.3.2}/tests/test_tablefaker.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: tablefaker
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.2
|
|
4
4
|
Summary: A Python package to generate fake tabular data. Get data in pandas dataframe or export to Parquet, DeltaLake, Csv, Json, Excel or Sql
|
|
5
5
|
Author: Necati Arslan
|
|
6
6
|
Author-email: necatia@gmail.com
|
|
@@ -36,7 +36,7 @@ Dynamic: requires-dist
|
|
|
36
36
|
Dynamic: summary
|
|
37
37
|
|
|
38
38
|
# Table Faker
|
|
39
|
-

|
|
39
|
+

|
|
40
40
|
**tablefaker** is a versatile Python package that enables effortless generation of realistic yet synthetic table data for various applications. Whether you need test data for software development, this tool simplifies the process with an intuitive schema definition in YAML format.
|
|
41
41
|
|
|
42
42
|
## Key Features
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Table Faker
|
|
2
|
-

|
|
2
|
+

|
|
3
3
|
**tablefaker** is a versatile Python package that enables effortless generation of realistic yet synthetic table data for various applications. Whether you need test data for software development, this tool simplifies the process with an intuitive schema definition in YAML format.
|
|
4
4
|
|
|
5
5
|
## Key Features
|
|
@@ -5,7 +5,7 @@ with open("README.md") as file:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name='tablefaker',
|
|
8
|
-
version='1.3.
|
|
8
|
+
version='1.3.2',
|
|
9
9
|
description='A Python package to generate fake tabular data. Get data in pandas dataframe or export to Parquet, DeltaLake, Csv, Json, Excel or Sql',
|
|
10
10
|
long_description = description,
|
|
11
11
|
long_description_content_type = "text/markdown",
|
|
@@ -103,20 +103,21 @@ def get_file_extension(file_type):
|
|
|
103
103
|
|
|
104
104
|
def progress_bar(iteration=1, lenght=1, suffix = "Complete", bar_color=FOREGROUND_COLOR.BRIGHT_GREEN, row_count_color=FOREGROUND_COLOR.BLUE, percent_color=FOREGROUND_COLOR.CYAN, suffix_color=FOREGROUND_COLOR.YELLOW):
|
|
105
105
|
prefix = "Progress:"
|
|
106
|
-
|
|
107
|
-
fill="█"
|
|
106
|
+
fill_length=20
|
|
107
|
+
#fill="█"
|
|
108
|
+
fill="━━"
|
|
108
109
|
print_end="\n"
|
|
109
110
|
|
|
110
111
|
percent = ("{0:.1f}").format(100 * (iteration / float(lenght)))
|
|
111
112
|
percent = percent_color + str(percent) + "%" + FOREGROUND_COLOR.RESET
|
|
112
113
|
|
|
113
|
-
filled_length = int(
|
|
114
|
-
bar = bar_color + fill * filled_length +
|
|
114
|
+
filled_length = int(fill_length * iteration // lenght)
|
|
115
|
+
bar = bar_color + fill * filled_length + FOREGROUND_COLOR.MAGENTA + fill * (fill_length - filled_length) + FOREGROUND_COLOR.RESET
|
|
115
116
|
|
|
116
117
|
row_count = row_count_color + f"{iteration}/{lenght}" + FOREGROUND_COLOR.RESET
|
|
117
118
|
suffix = suffix_color + suffix + FOREGROUND_COLOR.RESET
|
|
118
119
|
|
|
119
|
-
progress_bar_text = f"\r{prefix}
|
|
120
|
+
progress_bar_text = f"\r{prefix} {bar} {row_count} • {percent} • {suffix}"
|
|
120
121
|
line_lenght = shutil.get_terminal_size((80, 20)).columns
|
|
121
122
|
if get_length_without_color_codes(progress_bar_text) > line_lenght:
|
|
122
123
|
progress_bar_text = progress_bar_text[:line_lenght]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: tablefaker
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.2
|
|
4
4
|
Summary: A Python package to generate fake tabular data. Get data in pandas dataframe or export to Parquet, DeltaLake, Csv, Json, Excel or Sql
|
|
5
5
|
Author: Necati Arslan
|
|
6
6
|
Author-email: necatia@gmail.com
|
|
@@ -36,7 +36,7 @@ Dynamic: requires-dist
|
|
|
36
36
|
Dynamic: summary
|
|
37
37
|
|
|
38
38
|
# Table Faker
|
|
39
|
-

|
|
39
|
+

|
|
40
40
|
**tablefaker** is a versatile Python package that enables effortless generation of realistic yet synthetic table data for various applications. Whether you need test data for software development, this tool simplifies the process with an intuitive schema definition in YAML format.
|
|
41
41
|
|
|
42
42
|
## Key Features
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|