tabpro 0.4.0__tar.gz → 0.4.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.
Files changed (29) hide show
  1. {tabpro-0.4.0 → tabpro-0.4.2}/PKG-INFO +1 -1
  2. {tabpro-0.4.0 → tabpro-0.4.2}/pyproject.toml +1 -1
  3. tabpro-0.4.2/tabpro/__init__.py +7 -0
  4. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/cli.py +4 -2
  5. tabpro-0.4.0/tabpro/__init__.py +0 -7
  6. {tabpro-0.4.0 → tabpro-0.4.2}/LICENSE +0 -0
  7. {tabpro-0.4.0 → tabpro-0.4.2}/README.md +0 -0
  8. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/commands/convert_tables.py +0 -0
  9. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/commands/merge_tables.py +0 -0
  10. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/actions.py +0 -0
  11. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/config.py +0 -0
  12. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/constants.py +0 -0
  13. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/convert.py +0 -0
  14. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/functions/assign_id.py +0 -0
  15. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/functions/flatten_row.py +0 -0
  16. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/functions/get_nested_field_value.py +0 -0
  17. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/functions/nest_row.py +0 -0
  18. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/functions/search_column_value.py +0 -0
  19. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/functions/set_flat_field_value.py +0 -0
  20. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/functions/set_nested_field_value.py +0 -0
  21. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/functions/set_row_value.py +0 -0
  22. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/io/__init__.py +0 -0
  23. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/io/io_csv.py +0 -0
  24. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/io/io_excel.py +0 -0
  25. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/io/io_json.py +0 -0
  26. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/io/loader.py +0 -0
  27. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/io/saver.py +0 -0
  28. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/merge.py +0 -0
  29. {tabpro-0.4.0 → tabpro-0.4.2}/tabpro/core/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tabpro
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: A table data processor
5
5
  Home-page: https://github.com/akivajp/tabpro
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "tabpro"
3
- version = "0.4.0"
3
+ version = "0.4.2"
4
4
  description = "A table data processor"
5
5
  authors = ["Akiva Miura <akiva.miura@gmail.com>"]
6
6
  license = "MIT"
@@ -0,0 +1,7 @@
1
+ __version__ = "0.4.2"
2
+ __version_tuple__ = (0, 4, 2)
3
+
4
+ from . core.io import (
5
+ load,
6
+ save,
7
+ )
@@ -34,9 +34,10 @@ def command_convert_tables(
34
34
  )
35
35
  else:
36
36
  command_parser = parser
37
- from table_processor.commands.convert_tables import setup_parser
37
+ from . commands.convert_tables import setup_parser
38
38
  setup_parser(command_parser)
39
39
  if parser is None:
40
+ setup_common_args(command_parser)
40
41
  parse_and_run(command_parser)
41
42
 
42
43
  def command_merge_tables(
@@ -48,9 +49,10 @@ def command_merge_tables(
48
49
  )
49
50
  else:
50
51
  command_parser = parser
51
- from table_processor.commands.merge_tables import setup_parser
52
+ from . commands.merge_tables import setup_parser
52
53
  setup_parser(command_parser)
53
54
  if parser is None:
55
+ setup_common_args(command_parser)
54
56
  parse_and_run(command_parser)
55
57
 
56
58
  def setup_common_args(
@@ -1,7 +0,0 @@
1
- __version__ = "0.4.0"
2
- __version_tuple__ = (0, 4, 0)
3
-
4
- from . core.io import (
5
- load,
6
- save,
7
- )
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