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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: tablefaker
3
- Version: 1.3.0
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
- ![screenshoot](media/terminal.png)
39
+ ![screenshoot](https://raw.githubusercontent.com/necatiarslan/table-faker/main/media/terminal.png)
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
- ![screenshoot](media/terminal.png)
2
+ ![screenshoot](https://raw.githubusercontent.com/necatiarslan/table-faker/main/media/terminal.png)
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.0',
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
- length=50
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(length * iteration // lenght)
114
- bar = bar_color + fill * filled_length + '-' * (length - filled_length) + FOREGROUND_COLOR.RESET
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} |{bar}| {row_count} | {percent} {suffix}"
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.0
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
- ![screenshoot](media/terminal.png)
39
+ ![screenshoot](https://raw.githubusercontent.com/necatiarslan/table-faker/main/media/terminal.png)
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