tabcmd 2.0.17__tar.gz → 2.0.21__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 (253) hide show
  1. {tabcmd-2.0.17 → tabcmd-2.0.21}/.github/workflows/check-coverage.yml +13 -10
  2. tabcmd-2.0.21/.github/workflows/check-strings.yml +28 -0
  3. {tabcmd-2.0.17 → tabcmd-2.0.21}/.github/workflows/codeql-analysis.yml +4 -4
  4. {tabcmd-2.0.17 → tabcmd-2.0.21}/.github/workflows/generate-metadata.yml +6 -5
  5. {tabcmd-2.0.17 → tabcmd-2.0.21}/.github/workflows/package.yml +16 -9
  6. {tabcmd-2.0.17 → tabcmd-2.0.21}/.github/workflows/publish-pypi.yml +10 -10
  7. {tabcmd-2.0.17 → tabcmd-2.0.21}/.github/workflows/python-app.yml +2 -2
  8. tabcmd-2.0.21/.github/workflows/release-on-merge.yml +60 -0
  9. tabcmd-2.0.21/.github/workflows/run-e2-tests.yml +110 -0
  10. {tabcmd-2.0.17 → tabcmd-2.0.21}/.github/workflows/run-tests.yml +6 -5
  11. {tabcmd-2.0.17 → tabcmd-2.0.21}/.gitignore +4 -0
  12. tabcmd-2.0.21/CODEOWNERS +1 -0
  13. tabcmd-2.0.21/PKG-INFO +53 -0
  14. {tabcmd-2.0.17 → tabcmd-2.0.21}/README.md +2 -0
  15. tabcmd-2.0.21/WorldIndicators.tdsx +0 -0
  16. tabcmd-2.0.21/bin/i18n/README.md +21 -0
  17. tabcmd-2.0.21/bin/i18n/__init__.py +25 -0
  18. tabcmd-2.0.21/bin/i18n/check_strings.py +378 -0
  19. tabcmd-2.0.21/bin/license-checker.py +75 -0
  20. {tabcmd-2.0.17 → tabcmd-2.0.21}/contributing.md +34 -20
  21. {tabcmd-2.0.17 → tabcmd-2.0.21}/dodo.py +182 -90
  22. {tabcmd-2.0.17 → tabcmd-2.0.21}/pyproject.toml +25 -19
  23. tabcmd-2.0.21/tabcmd/_version.py +24 -0
  24. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/auth/login_command.py +3 -3
  25. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/auth/logout_command.py +3 -3
  26. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/auth/session.py +62 -33
  27. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/datasources_and_workbooks_command.py +36 -15
  28. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/datasources_workbooks_views_url_parser.py +23 -17
  29. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/delete_command.py +9 -8
  30. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/export_command.py +21 -11
  31. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/get_url_command.py +4 -4
  32. tabcmd-2.0.21/tabcmd/commands/datasources_and_workbooks/publish_command.py +199 -0
  33. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/runschedule_command.py +3 -3
  34. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/extracts/create_extracts_command.py +8 -7
  35. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/extracts/decrypt_extracts_command.py +4 -4
  36. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/extracts/delete_extracts_command.py +7 -6
  37. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/extracts/encrypt_extracts_command.py +4 -4
  38. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/extracts/extracts.py +3 -4
  39. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/extracts/reencrypt_extracts_command.py +4 -4
  40. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/extracts/refresh_extracts_command.py +9 -10
  41. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/group/create_group_command.py +4 -4
  42. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/group/delete_group_command.py +4 -4
  43. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/project/create_project_command.py +6 -5
  44. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/project/delete_project_command.py +5 -5
  45. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/project/publish_samples_command.py +3 -3
  46. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/server.py +26 -5
  47. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/site/create_site_command.py +4 -4
  48. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/site/delete_site_command.py +7 -16
  49. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/site/edit_site_command.py +4 -4
  50. tabcmd-2.0.21/tabcmd/commands/site/list_command.py +113 -0
  51. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/site/list_sites_command.py +4 -4
  52. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/user/add_users_command.py +11 -4
  53. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/user/create_site_users.py +5 -4
  54. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/user/create_users_command.py +4 -4
  55. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/user/delete_site_users_command.py +3 -3
  56. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/user/remove_users_command.py +3 -3
  57. tabcmd-2.0.21/tabcmd/execution/global_options.py +364 -0
  58. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/execution/localize.py +1 -7
  59. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/execution/logger_config.py +21 -8
  60. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/execution/parent_parser.py +25 -48
  61. tabcmd-2.0.21/tabcmd/locales/de/LC_MESSAGES/tabcmd.mo +0 -0
  62. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/de/tabcmd_messages_de.properties +1 -0
  63. tabcmd-2.0.21/tabcmd/locales/en/LC_MESSAGES/tabcmd.mo +0 -0
  64. tabcmd-2.0.21/tabcmd/locales/en/shared_wg_en.properties +95 -0
  65. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/en/tabcmd_messages_en.properties +82 -126
  66. tabcmd-2.0.21/tabcmd/locales/es/LC_MESSAGES/tabcmd.mo +0 -0
  67. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/es/tabcmd_messages_es.properties +1 -0
  68. tabcmd-2.0.21/tabcmd/locales/fr/LC_MESSAGES/tabcmd.mo +0 -0
  69. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/fr/tabcmd_messages_fr.properties +1 -0
  70. tabcmd-2.0.21/tabcmd/locales/ga/LC_MESSAGES/tabcmd.mo +0 -0
  71. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ga/tabcmd_messages_ga.properties +1 -0
  72. tabcmd-2.0.21/tabcmd/locales/it/LC_MESSAGES/tabcmd.mo +0 -0
  73. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/it/tabcmd_messages_it.properties +1 -0
  74. tabcmd-2.0.21/tabcmd/locales/ja/LC_MESSAGES/tabcmd.mo +0 -0
  75. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ja/tabcmd_messages_ja.properties +1 -0
  76. tabcmd-2.0.21/tabcmd/locales/ko/LC_MESSAGES/tabcmd.mo +0 -0
  77. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ko/tabcmd_messages_ko.properties +1 -0
  78. tabcmd-2.0.21/tabcmd/locales/pt/LC_MESSAGES/tabcmd.mo +0 -0
  79. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/pt/tabcmd_messages_pt.properties +1 -0
  80. tabcmd-2.0.21/tabcmd/locales/sv/LC_MESSAGES/tabcmd.mo +0 -0
  81. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/sv/tabcmd_messages_sv.properties +1 -0
  82. tabcmd-2.0.21/tabcmd/locales/zh/LC_MESSAGES/tabcmd.mo +0 -0
  83. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/zh/tabcmd_messages_zh.properties +1 -0
  84. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/tabcmd.py +4 -1
  85. tabcmd-2.0.21/tabcmd/version.py +12 -0
  86. tabcmd-2.0.21/tabcmd.egg-info/PKG-INFO +53 -0
  87. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd.egg-info/SOURCES.txt +17 -3
  88. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd.egg-info/requires.txt +13 -11
  89. tabcmd-2.0.21/tabcmd.egg-info/scm_file_list.json +221 -0
  90. tabcmd-2.0.21/tabcmd.egg-info/scm_version.json +8 -0
  91. tabcmd-2.0.21/tests/assets/live_mysql.tds +878 -0
  92. tabcmd-2.0.21/tests/assets/mock_data.py +123 -0
  93. tabcmd-2.0.21/tests/commands/test_datasources_and_workbooks_command.py +209 -0
  94. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/test_geturl_utils.py +48 -1
  95. tabcmd-2.0.21/tests/commands/test_listing_commands.py +239 -0
  96. tabcmd-2.0.21/tests/commands/test_logger_config.py +43 -0
  97. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/test_projects_utils.py +0 -1
  98. tabcmd-2.0.21/tests/commands/test_publish_command.py +127 -0
  99. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/test_run_commands.py +65 -5
  100. tabcmd-2.0.21/tests/commands/test_server_item_selection.py +96 -0
  101. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/test_session.py +221 -21
  102. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/test_user_utils.py +5 -3
  103. tabcmd-2.0.21/tests/commands/test_version.py +33 -0
  104. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/e2e/language_tests.py +6 -0
  105. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/e2e/online_tests.py +224 -154
  106. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/e2e/setup_e2e.py +24 -0
  107. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/e2e/tests_integration.py +1 -1
  108. tabcmd-2.0.21/tests/parsers/common_setup.py +43 -0
  109. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_login_parser.py +2 -2
  110. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_logout_parser.py +1 -1
  111. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_add_user.py +3 -3
  112. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_create_extracts.py +1 -1
  113. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_create_group.py +1 -1
  114. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_create_project.py +1 -1
  115. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_create_site.py +1 -1
  116. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_create_site_users.py +1 -1
  117. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_create_user.py +1 -1
  118. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_decrypt_extracts.py +1 -1
  119. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_delete.py +1 -1
  120. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_delete_extracts.py +1 -1
  121. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_delete_group.py +1 -1
  122. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_delete_project.py +1 -1
  123. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_delete_site.py +1 -1
  124. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_delete_site_user.py +1 -1
  125. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_edit_site.py +1 -1
  126. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_encrypt_extracts.py +1 -1
  127. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_export.py +1 -1
  128. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_get_url.py +2 -2
  129. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_list_sites.py +1 -1
  130. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_publish.py +1 -1
  131. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_publish_samples.py +1 -1
  132. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_reencrypt_extracts.py +1 -1
  133. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_refresh_extracts.py +1 -1
  134. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_remove_user.py +1 -1
  135. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_runschedule.py +1 -1
  136. tabcmd-2.0.17/.github/workflows/run-e2-tests.yml +0 -46
  137. tabcmd-2.0.17/PKG-INFO +0 -72
  138. tabcmd-2.0.17/bin/license-checker.py +0 -54
  139. tabcmd-2.0.17/tabcmd/commands/datasources_and_workbooks/publish_command.py +0 -137
  140. tabcmd-2.0.17/tabcmd/commands/site/list_command.py +0 -66
  141. tabcmd-2.0.17/tabcmd/execution/global_options.py +0 -484
  142. tabcmd-2.0.17/tabcmd/locales/de/LC_MESSAGES/tabcmd.mo +0 -0
  143. tabcmd-2.0.17/tabcmd/locales/en/LC_MESSAGES/tabcmd.mo +0 -0
  144. tabcmd-2.0.17/tabcmd/locales/en/shared_wg_en.properties +0 -537
  145. tabcmd-2.0.17/tabcmd/locales/es/LC_MESSAGES/tabcmd.mo +0 -0
  146. tabcmd-2.0.17/tabcmd/locales/fr/LC_MESSAGES/tabcmd.mo +0 -0
  147. tabcmd-2.0.17/tabcmd/locales/ga/LC_MESSAGES/tabcmd.mo +0 -0
  148. tabcmd-2.0.17/tabcmd/locales/it/LC_MESSAGES/tabcmd.mo +0 -0
  149. tabcmd-2.0.17/tabcmd/locales/ja/LC_MESSAGES/tabcmd.mo +0 -0
  150. tabcmd-2.0.17/tabcmd/locales/ko/LC_MESSAGES/tabcmd.mo +0 -0
  151. tabcmd-2.0.17/tabcmd/locales/pt/LC_MESSAGES/tabcmd.mo +0 -0
  152. tabcmd-2.0.17/tabcmd/locales/sv/LC_MESSAGES/tabcmd.mo +0 -0
  153. tabcmd-2.0.17/tabcmd/locales/zh/LC_MESSAGES/tabcmd.mo +0 -0
  154. tabcmd-2.0.17/tabcmd/version.py +0 -9
  155. tabcmd-2.0.17/tabcmd.egg-info/PKG-INFO +0 -72
  156. tabcmd-2.0.17/tests/assets/simple-data.twbx +0 -0
  157. tabcmd-2.0.17/tests/commands/test_datasources_and_workbooks_command.py +0 -108
  158. tabcmd-2.0.17/tests/commands/test_listing_commands.py +0 -58
  159. tabcmd-2.0.17/tests/commands/test_publish_command.py +0 -97
  160. tabcmd-2.0.17/tests/parsers/common_setup.py +0 -33
  161. {tabcmd-2.0.17 → tabcmd-2.0.21}/.coverage +0 -0
  162. {tabcmd-2.0.17 → tabcmd-2.0.21}/.coveragerc +0 -0
  163. {tabcmd-2.0.17 → tabcmd-2.0.21}/.github/dependabot.yml +0 -0
  164. {tabcmd-2.0.17 → tabcmd-2.0.21}/LICENSE +0 -0
  165. {tabcmd-2.0.17 → tabcmd-2.0.21}/SECURITY.md +0 -0
  166. {tabcmd-2.0.17 → tabcmd-2.0.21}/bin/coverage.sh +0 -0
  167. {tabcmd-2.0.17 → tabcmd-2.0.21}/bin/i18n/makelocalealias.py +0 -0
  168. {tabcmd-2.0.17 → tabcmd-2.0.21}/bin/i18n/msgfmt.py +0 -0
  169. {tabcmd-2.0.17 → tabcmd-2.0.21}/bin/i18n/prop2po.py +0 -0
  170. {tabcmd-2.0.17 → tabcmd-2.0.21}/bin/i18n/pygettext.py +0 -0
  171. {tabcmd-2.0.17 → tabcmd-2.0.21}/bin/pyinstaller.sh +0 -0
  172. {tabcmd-2.0.17 → tabcmd-2.0.21}/res/README.md +0 -0
  173. {tabcmd-2.0.17 → tabcmd-2.0.21}/res/metadata.yml +0 -0
  174. {tabcmd-2.0.17 → tabcmd-2.0.21}/res/tabcmd.icns +0 -0
  175. {tabcmd-2.0.17 → tabcmd-2.0.21}/res/tabcmd.ico +0 -0
  176. {tabcmd-2.0.17 → tabcmd-2.0.21}/res/tabcmd.png +0 -0
  177. {tabcmd-2.0.17 → tabcmd-2.0.21}/setup.cfg +0 -0
  178. {tabcmd-2.0.17 → tabcmd-2.0.21}/setup.py +0 -0
  179. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/__init__.py +0 -0
  180. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/__main__.py +0 -0
  181. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/__init__.py +0 -0
  182. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/auth/__init__.py +0 -0
  183. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/commands.py +0 -0
  184. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/constants.py +0 -0
  185. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/datasources_and_workbooks/__init__.py +0 -0
  186. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/extracts/__init__.py +0 -0
  187. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/group/__init__.py +0 -0
  188. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/project/__init__.py +0 -0
  189. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/site/__init__.py +0 -0
  190. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/user/__init__.py +0 -0
  191. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/commands/user/user_data.py +0 -0
  192. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/execution/__init__.py +0 -0
  193. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/execution/_version.py +0 -0
  194. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/execution/map_of_commands.py +0 -0
  195. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/execution/tabcmd_controller.py +0 -0
  196. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/de/LC_MESSAGES/.gitkeep +0 -0
  197. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/de/extra.properties +0 -0
  198. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/de/shared_wg_de.properties +0 -0
  199. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/en/extra.properties +0 -0
  200. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/es/LC_MESSAGES/.gitkeep +0 -0
  201. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/es/extra.properties +0 -0
  202. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/es/shared_wg_es.properties +0 -0
  203. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/fr/LC_MESSAGES/.gitkeep +0 -0
  204. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/fr/extra.properties +0 -0
  205. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/fr/shared_wg_fr.properties +0 -0
  206. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ga/LC_MESSAGES/.gitkeep +0 -0
  207. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ga/extra.properties +0 -0
  208. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ga/shared_wg_ga.properties +0 -0
  209. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/it/LC_MESSAGES/.gitkeep +0 -0
  210. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/it/extra.properties +0 -0
  211. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/it/shared_wg_it.properties +0 -0
  212. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ja/LC_MESSAGES/.gitkeep +0 -0
  213. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ja/extra.properties +0 -0
  214. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ja/shared_wg_ja.properties +0 -0
  215. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ko/LC_MESSAGES/.gitkeep +0 -0
  216. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ko/extra.properties +0 -0
  217. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/ko/shared_wg_ko.properties +0 -0
  218. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/pt/LC_MESSAGES/.gitkeep +0 -0
  219. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/pt/extra.properties +0 -0
  220. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/pt/shared_wg_pt.properties +0 -0
  221. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/sv/LC_MESSAGES/.gitkeep +0 -0
  222. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/sv/extra.properties +0 -0
  223. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/sv/shared_wg_sv.properties +0 -0
  224. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/zh/LC_MESSAGES/.gitkeep +0 -0
  225. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/zh/extra.properties +0 -0
  226. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd/locales/zh/shared_wg_zh.properties +0 -0
  227. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd-linux.spec +0 -0
  228. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd-mac.spec +0 -0
  229. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd-windows.spec +0 -0
  230. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd.egg-info/dependency_links.txt +0 -0
  231. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd.egg-info/entry_points.txt +0 -0
  232. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd.egg-info/top_level.txt +0 -0
  233. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd.py +0 -0
  234. {tabcmd-2.0.17 → tabcmd-2.0.21}/tabcmd.spec +0 -0
  235. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/__init__.py +0 -0
  236. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/assets/EmbeddedCredentials.twb +0 -0
  237. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/assets/SampleDS.tds +0 -0
  238. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/assets/WorkbookWithExtract.twbx +0 -0
  239. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/assets/WorkbookWithoutExtract.twbx +0 -0
  240. /tabcmd-2.0.17/tests/assets/World Indicators.tds → /tabcmd-2.0.21/tests/assets/WorldIndicators.tds +0 -0
  241. /tabcmd-2.0.17/tests/assets/World Indicators.tdsx → /tabcmd-2.0.21/tests/assets/WorldIndicators.tdsx +0 -0
  242. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/assets/detailed_users.csv +0 -0
  243. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/assets/usernames.csv +0 -0
  244. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/__init__.py +0 -0
  245. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/test_credential_file.txt +0 -0
  246. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/test_execution.py +0 -0
  247. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/test_localize.py +0 -0
  248. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/test_server.py +0 -0
  249. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/commands/test_server_handler.py +0 -0
  250. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/e2e/__init__.py +0 -0
  251. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/e2e/tests.py +0 -0
  252. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/__init__.py +0 -0
  253. {tabcmd-2.0.17 → tabcmd-2.0.21}/tests/parsers/test_parser_login.py +0 -0
@@ -5,6 +5,7 @@ on:
5
5
  pull_request:
6
6
  branches:
7
7
  - development
8
+ workflow_dispatch:
8
9
 
9
10
  jobs:
10
11
  build:
@@ -12,15 +13,15 @@ jobs:
12
13
  fail-fast: false
13
14
  matrix:
14
15
  os: [ubuntu-latest]
15
- python-version: ['3']
16
+ python-version: ['3.12']
16
17
 
17
18
  runs-on: ${{ matrix.os }}
18
19
 
19
20
  steps:
20
- - uses: actions/checkout@v4
21
+ - uses: actions/checkout@v7
21
22
 
22
23
  - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
23
- uses: actions/setup-python@v5
24
+ uses: actions/setup-python@v6
24
25
  with:
25
26
  python-version: ${{ matrix.python-version }}
26
27
 
@@ -29,27 +30,29 @@ jobs:
29
30
  python --version
30
31
  python -m pip install --upgrade pip
31
32
  python -m pip install --upgrade build
32
- pip install .
33
- pip install .[test]
33
+ pip install .[versioning]
34
34
  doit version
35
+ pip install .
35
36
  python -m build
37
+ pip install .[test]
36
38
 
37
39
  # https://github.com/marketplace/actions/pytest-coverage-comment
38
40
  - name: Generate coverage report
39
41
  run: pytest --junitxml=pytest.xml --cov=tabcmd tests/ | tee pytest-coverage.txt
40
42
 
43
+ # trying another coverage reporter for PRs/badges
44
+ - name: Coveralls
45
+ uses: coverallsapp/github-action@v2
46
+
41
47
  - name: Comment on pull request with coverage
42
48
  uses: MishaKav/pytest-coverage-comment@main
49
+ continue-on-error: true
43
50
  with:
44
51
  pytest-coverage-path: ./pytest-coverage.txt
45
52
  # TODO: check if this has been fixed
46
53
  # Error: The head commit for this pull_request event is not ahead of the base commit.
47
54
  # Please submit an issue on this action's GitHub repo
48
55
  # report-only-changed-files: true
49
-
50
- # TODO update badge on readme:
51
- # generate badge with https://pypi.org/project/coverage-badge/
52
- # display it with https://github.com/Schneegans/dynamic-badges-action
53
-
56
+
54
57
  # TODO track docstring coverage
55
58
  # https://github.com/marketplace/actions/python-interrogate-check
@@ -0,0 +1,28 @@
1
+ name: Check i18n strings
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ branches:
7
+ - development
8
+ - main
9
+
10
+ permissions:
11
+ contents: read
12
+
13
+ jobs:
14
+ check-strings:
15
+ runs-on: ubuntu-latest
16
+
17
+ steps:
18
+ - uses: actions/checkout@v6
19
+
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v6
22
+ with:
23
+ python-version: '3.12'
24
+
25
+ # Note: check_strings.py uses regex matching and will not catch dynamic keys
26
+ # (f-strings, variables, concatenation). This is a best-effort check.
27
+ - name: Check for missing i18n string keys
28
+ run: python bin/i18n/check_strings.py
@@ -38,21 +38,21 @@ jobs:
38
38
 
39
39
  steps:
40
40
  - name: Checkout repository
41
- uses: actions/checkout@v4
41
+ uses: actions/checkout@v7
42
42
 
43
43
  # Initializes the CodeQL tools for scanning.
44
44
  - name: Initialize CodeQL
45
- uses: github/codeql-action/init@v3
45
+ uses: github/codeql-action/init@v4
46
46
  with:
47
47
  languages: ${{ matrix.language }}
48
48
  # If you wish to specify custom queries, you can do so here or in a config file.
49
49
  # By default, queries listed here will override any specified in a config file.
50
50
  # Prefix the list here with "+" to use these queries and those in the config file.
51
-
51
+
52
52
  # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53
53
  # queries: security-extended,security-and-quality
54
54
 
55
55
  - name: Perform CodeQL Analysis
56
- uses: github/codeql-action/analyze@v3
56
+ uses: github/codeql-action/analyze@v4
57
57
  with:
58
58
  category: "/language:${{matrix.language}}"
@@ -11,22 +11,23 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
 
13
13
  steps:
14
- - uses: actions/checkout@v4
14
+ - uses: actions/checkout@v7
15
15
 
16
16
  - name: Set up Python
17
- uses: actions/setup-python@v5
17
+ uses: actions/setup-python@v6
18
18
  with:
19
- python-version: '3.9'
19
+ python-version: '3.12'
20
20
 
21
21
  - name: Install App and Extras
22
22
  run: |
23
23
  python --version
24
24
  python -m pip install --upgrade pip
25
25
  python -m pip install --upgrade build
26
- pip install .
27
- pip install .[test]
26
+ pip install .[versioning]
28
27
  doit version
28
+ pip install .
29
29
  python -m build
30
+ pip install .[test]
30
31
 
31
32
  - name: Run license check
32
33
  run: python bin/license-checker.py
@@ -30,7 +30,8 @@ jobs:
30
30
  UPLOAD_FILE_NAME: tabcmd.exe
31
31
  OUT_FILE_NAME: tabcmd.exe
32
32
  ASSET_MIME: application/vnd.microsoft.portable-executable
33
- - os: macos-13
33
+ - os: macos-14-large
34
+ # This builds for x86
34
35
  TARGET: macos
35
36
  CMD_BUILD: >
36
37
  pyinstaller tabcmd-mac.spec --clean --noconfirm --distpath ./dist/macos/
@@ -60,21 +61,22 @@ jobs:
60
61
  UPLOAD_FILE_NAME: tabcmd
61
62
 
62
63
  steps:
63
- - uses: actions/checkout@v4
64
+ - uses: actions/checkout@v7
64
65
 
65
- - uses: actions/setup-python@v5
66
+ - uses: actions/setup-python@v6
66
67
  with:
67
- python-version: 3.9
68
+ python-version: 3.12
68
69
 
69
70
  - name: Install dependencies and build
70
71
  run: |
71
72
  python --version
72
73
  python -m pip install --upgrade pip
73
74
  python -m pip install --upgrade build
74
- pip install .
75
- pip install .[package]
75
+ pip install .[versioning]
76
76
  doit version
77
+ pip install .
77
78
  python -m build
79
+ pip install .[package]
78
80
 
79
81
  - name: Package with pyinstaller for ${{matrix.TARGET}}
80
82
  run: ${{matrix.CMD_BUILD}}
@@ -94,8 +96,15 @@ jobs:
94
96
  cd dist/${{ matrix.TARGET }}
95
97
  tar -cvf ${{ matrix.UPLOAD_FILE_NAME }} ${{ matrix.OUT_FILE_NAME }}
96
98
 
97
-
99
+
100
+ - name: Upload build artifact for ${{ matrix.TARGET }}
101
+ uses: actions/upload-artifact@v7
102
+ with:
103
+ name: tabcmd-${{ matrix.TARGET }}
104
+ path: ./dist/${{ matrix.TARGET }}/${{ matrix.UPLOAD_FILE_NAME }}
105
+
98
106
  - name: Upload binaries to release for ${{ matrix.TARGET }}
107
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
99
108
  uses: svenstaro/upload-release-action@v2
100
109
  with:
101
110
  repo_token: ${{ secrets.GITHUB_TOKEN }}
@@ -103,5 +112,3 @@ jobs:
103
112
  file: ./dist/${{ matrix.TARGET }}/${{ matrix.UPLOAD_FILE_NAME }}
104
113
  tag: ${{ github.ref_name }}
105
114
  overwrite: true
106
- promote: true
107
-
@@ -7,38 +7,38 @@ on:
7
7
  description: 'Test PyPi'
8
8
  required: true
9
9
  type: boolean
10
- push:
11
- tags: 'pypi'
10
+ release:
11
+ types: [published]
12
12
 
13
13
  jobs:
14
14
  build-n-publish:
15
15
  name: Build dist files for PyPi
16
16
  runs-on: ubuntu-latest
17
17
  steps:
18
- - uses: actions/checkout@v4
18
+ - uses: actions/checkout@v7
19
19
  with:
20
20
  fetch-depth: 0
21
- - uses: actions/setup-python@v5
21
+ - uses: actions/setup-python@v6
22
22
  with:
23
- python-version: 3.9
23
+ python-version: 3.12
24
24
  - name: Build dist files
25
25
  run: |
26
26
  python --version
27
27
  python -m pip install --upgrade pip
28
28
  python -m pip install --upgrade build
29
- pip install .
30
- pip install .[package]
29
+ pip install .[versioning]
31
30
  doit version
31
+ pip install .
32
32
  python -m build
33
+
33
34
  - name: Publish distribution 📦 to Test PyPI
34
- if: ${{ inputs.is_draft }}
35
+ if: ${{ github.event_name == 'workflow_dispatch' && inputs.is_draft == true }}
35
36
  uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
36
37
  with:
37
38
  password: ${{ secrets.TEST_PYPI_API_TOKEN }}
38
39
  repository_url: https://test.pypi.org/legacy/
39
40
  - name: Publish distribution 📦 to PyPI
40
- if: ${{ !inputs.is_draft }}
41
+ if: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.is_draft != true) }}
41
42
  uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
42
43
  with:
43
44
  password: ${{ secrets.PYPI_API_TOKEN }}
44
-
@@ -18,13 +18,13 @@ jobs:
18
18
  fail-fast: false
19
19
  matrix:
20
20
  os: [ubuntu-latest, macos-latest, windows-latest]
21
- python-version: ['3.x']
21
+ python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
22
22
 
23
23
  runs-on: ${{ matrix.os }}
24
24
 
25
25
  steps:
26
26
  - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
27
- uses: actions/setup-python@v5
27
+ uses: actions/setup-python@v6
28
28
  with:
29
29
  python-version: ${{ matrix.python-version }}
30
30
  - name: pip install Tabcmd
@@ -0,0 +1,60 @@
1
+ name: Draft release on merge to main
2
+
3
+ # Triggers when a PR is merged into main (push to main covers all merge strategies).
4
+ # Creates a draft GitHub release with auto-generated notes and pushes the version tag.
5
+ # The tag push triggers package.yml to build and attach binaries.
6
+ # When you publish the draft release, publish-pypi.yml uploads to PyPI automatically.
7
+
8
+ on:
9
+ push:
10
+ branches:
11
+ - main
12
+
13
+ permissions:
14
+ contents: write
15
+
16
+ jobs:
17
+ draft-release:
18
+ name: Create draft release
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v7
22
+ with:
23
+ fetch-depth: 0
24
+
25
+ - name: Compute next patch version
26
+ id: version
27
+ run: |
28
+ LAST_TAG=$(git tag --list | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -1)
29
+ if [ -z "$LAST_TAG" ]; then
30
+ echo "No prior semver tag found; cannot auto-increment version." >&2
31
+ exit 1
32
+ fi
33
+ BASE="${LAST_TAG#v}"
34
+ MAJOR=$(echo "$BASE" | cut -d. -f1)
35
+ MINOR=$(echo "$BASE" | cut -d. -f2)
36
+ PATCH=$(echo "$BASE" | cut -d. -f3)
37
+ NEXT="v${MAJOR}.${MINOR}.$((PATCH + 1))"
38
+ echo "tag=$NEXT" >> "$GITHUB_OUTPUT"
39
+ echo "last_tag=$LAST_TAG" >> "$GITHUB_OUTPUT"
40
+
41
+ - name: Push version tag
42
+ env:
43
+ TAG: ${{ steps.version.outputs.tag }}
44
+ run: |
45
+ git config user.name "github-actions[bot]"
46
+ git config user.email "github-actions[bot]@users.noreply.github.com"
47
+ git tag "$TAG"
48
+ git push origin "$TAG"
49
+
50
+ - name: Create draft release with auto-generated notes
51
+ env:
52
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53
+ TAG: ${{ steps.version.outputs.tag }}
54
+ LAST_TAG: ${{ steps.version.outputs.last_tag }}
55
+ run: |
56
+ gh release create "$TAG" \
57
+ --draft \
58
+ --title "$TAG" \
59
+ --generate-notes \
60
+ --notes-start-tag "$LAST_TAG"
@@ -0,0 +1,110 @@
1
+ name: e2e tests
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ server:
7
+ required: true
8
+ site:
9
+ required: true
10
+ patname:
11
+ required: true
12
+ pat:
13
+ required: true
14
+ server_admin:
15
+ description: 'Account has server admin role'
16
+ required: false
17
+ default: 'false'
18
+ type: choice
19
+ options: ['false', 'true']
20
+ site_admin:
21
+ description: 'Account has site admin role'
22
+ required: false
23
+ default: 'false'
24
+ type: choice
25
+ options: ['false', 'true']
26
+ project_admin:
27
+ description: 'Account has project admin role'
28
+ required: false
29
+ default: 'false'
30
+ type: choice
31
+ options: ['false', 'true']
32
+ extract_encryption_enabled:
33
+ description: 'Site has extract encryption enabled'
34
+ required: false
35
+ default: 'false'
36
+ type: choice
37
+ options: ['false', 'true']
38
+ workflow_call:
39
+ inputs:
40
+ server:
41
+ required: true
42
+ type: string
43
+ site:
44
+ required: true
45
+ type: string
46
+ patname:
47
+ required: true
48
+ type: string
49
+ server_admin:
50
+ required: false
51
+ type: boolean
52
+ default: false
53
+ site_admin:
54
+ required: false
55
+ type: boolean
56
+ default: false
57
+ project_admin:
58
+ required: false
59
+ type: boolean
60
+ default: false
61
+ extract_encryption_enabled:
62
+ required: false
63
+ type: boolean
64
+ default: false
65
+ secrets:
66
+ pat:
67
+ required: true
68
+
69
+ jobs:
70
+ build:
71
+ strategy:
72
+ fail-fast: true
73
+ matrix:
74
+ os: [ubuntu-latest, macos-latest, windows-latest]
75
+ python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
76
+
77
+ runs-on: ${{ matrix.os }}
78
+
79
+ steps:
80
+ - uses: actions/checkout@v7
81
+
82
+ - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
83
+ uses: actions/setup-python@v6
84
+ with:
85
+ python-version: ${{ matrix.python-version }}
86
+
87
+ - name: Install dependencies
88
+ run: |
89
+ python --version
90
+ python -m pip install --upgrade pip
91
+ python -m pip install --upgrade build
92
+ pip install .[versioning]
93
+ doit version
94
+ pip install .
95
+ python -m build
96
+ pip install .[test]
97
+
98
+ - name: Run e2e tests
99
+ env:
100
+ E2E_SERVER: ${{ inputs.server }}
101
+ E2E_SITE: ${{ inputs.site }}
102
+ E2E_PATNAME: ${{ inputs.patname }}
103
+ E2E_PAT: ${{ secrets.pat || inputs.pat }}
104
+ E2E_SERVER_ADMIN: ${{ inputs.server_admin || 'false' }}
105
+ E2E_SITE_ADMIN: ${{ inputs.site_admin || 'false' }}
106
+ E2E_PROJECT_ADMIN: ${{ inputs.project_admin || 'false' }}
107
+ E2E_EXTRACT_ENCRYPTION: ${{ inputs.extract_encryption_enabled || 'false' }}
108
+ run: |
109
+ python -m tabcmd login --server "$E2E_SERVER" --site "$E2E_SITE" --token-name "$E2E_PATNAME" --token-value "$E2E_PAT"
110
+ pytest -q tests/e2e/online_tests.py -r pfE
@@ -15,15 +15,15 @@ jobs:
15
15
  fail-fast: true
16
16
  matrix:
17
17
  os: [ubuntu-latest, macos-latest, windows-latest]
18
- python-version: ['3.9', '3.10', '3.11', '3.12', '3']
18
+ python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
19
19
 
20
20
  runs-on: ${{ matrix.os }}
21
21
 
22
22
  steps:
23
- - uses: actions/checkout@v4
23
+ - uses: actions/checkout@v7
24
24
 
25
25
  - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
26
- uses: actions/setup-python@v5
26
+ uses: actions/setup-python@v6
27
27
  with:
28
28
  python-version: ${{ matrix.python-version }}
29
29
 
@@ -32,10 +32,11 @@ jobs:
32
32
  python --version
33
33
  python -m pip install --upgrade pip
34
34
  python -m pip install --upgrade build
35
- pip install .
36
- pip install .[test]
35
+ pip install .[versioning]
37
36
  doit version
37
+ pip install .
38
38
  python -m build
39
+ pip install .[test]
39
40
 
40
41
  - name: Test with pytest
41
42
  run: pytest
@@ -4,6 +4,10 @@
4
4
  .idea
5
5
  *.DS_Store
6
6
 
7
+ # setuptools_scm generated version file (may appear in any subpackage)
8
+ tabcmd/**/_version.py
9
+ tabcmd/_version.py
10
+
7
11
  # python build files
8
12
  build/
9
13
  dist/
@@ -0,0 +1 @@
1
+ #ECCN:Open Source
tabcmd-2.0.21/PKG-INFO ADDED
@@ -0,0 +1,53 @@
1
+ Metadata-Version: 2.4
2
+ Name: tabcmd
3
+ Version: 2.0.21
4
+ Summary: A command line client for working with Tableau Server.
5
+ Author-email: Tableau <github@tableau.com>
6
+ License-Expression: MIT
7
+ Project-URL: repository, https://github.com/tableau/tabcmd
8
+ Classifier: Programming Language :: Python
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Classifier: Programming Language :: Python :: 3.14
15
+ Requires-Python: >=3.10
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: appdirs
19
+ Requires-Dist: requests<3.0,>=2.25
20
+ Requires-Dist: setuptools
21
+ Requires-Dist: tableauserverclient==0.41
22
+ Requires-Dist: urllib3
23
+ Provides-Extra: test
24
+ Requires-Dist: black<23,>=22; extra == "test"
25
+ Requires-Dist: mock; extra == "test"
26
+ Requires-Dist: mypy; extra == "test"
27
+ Requires-Dist: pytest>=7.0; extra == "test"
28
+ Requires-Dist: pytest-cov; extra == "test"
29
+ Requires-Dist: pytest-order; extra == "test"
30
+ Requires-Dist: pytest-runner; extra == "test"
31
+ Requires-Dist: requests-mock<2.0,>=1.0; extra == "test"
32
+ Requires-Dist: types-appdirs; extra == "test"
33
+ Requires-Dist: types-mock; extra == "test"
34
+ Requires-Dist: types-requests; extra == "test"
35
+ Requires-Dist: types-setuptools; extra == "test"
36
+ Provides-Extra: localize
37
+ Requires-Dist: doit; extra == "localize"
38
+ Requires-Dist: ftfy; extra == "localize"
39
+ Provides-Extra: package
40
+ Requires-Dist: doit; extra == "package"
41
+ Requires-Dist: pyinstaller==5.13.1; extra == "package"
42
+ Requires-Dist: setuptools==81; extra == "package"
43
+ Provides-Extra: versioning
44
+ Requires-Dist: doit; extra == "versioning"
45
+ Requires-Dist: pyinstaller_versionfile; extra == "versioning"
46
+ Requires-Dist: setuptools_scm; extra == "versioning"
47
+ Dynamic: license-file
48
+
49
+
50
+ This program is an executable command-line utility which you can use to automate activity on Tableau Cloud or Tableau Server.
51
+
52
+ For instructions on how to use it, launch the app on a command line with 'tabcmd -h'.
53
+ For updates, bug reports and help, visit https://tableau.github.io/tabcmd/
@@ -1,6 +1,8 @@
1
1
  # Tabcmd
2
2
 
3
3
  [![Tableau Supported](https://img.shields.io/badge/Support%20Level-Tableau%20Supported-53bd92.svg)](https://www.tableau.com/support-levels-it-and-developer-tools)
4
+
5
+ [![Coverage Status](https://coveralls.io/repos/github/tableau/tabcmd/badge.svg)](https://coveralls.io/github/tableau/tabcmd)
4
6
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
5
7
  [![Python tests](https://github.com/tableau/tabcmd/actions/workflows/run-tests.yml/badge.svg)](https://github.com/tableau/tabcmd/actions/workflows/run-tests.yml)
6
8
  [![Pypi smoke tests](https://github.com/tableau/tabcmd/actions/workflows/python-app.yml/badge.svg)](https://github.com/tableau/tabcmd/actions/workflows/python-app.yml)
Binary file
@@ -0,0 +1,21 @@
1
+
2
+ ### Strings and localization
3
+
4
+ New text should not be hardcoded into the python, but added to tabcmd/locales/en/extra.properties. This file can be given to the translation team and they will return a copy for each other language. Until then, the english string will be used as a fallback.
5
+
6
+ To handle localizing text we used the python standard library tool [gettext](https://docs.python.org/3/library/gettext.html). This expects .mo files. I couldn't find a tool that transformed .properties -> .mo directly so we go through .po format.
7
+ (FYI: to read mo files for debugging use https://poedit.net/download)
8
+
9
+
10
+ These steps are separated for easier troubleshooting: each step is idempotent and will overwrite the existing output. More details about implementation are in the script code at dodo.py
11
+
12
+ 1. convert strings from .properties files to .mo for bundling
13
+ This step combines the .properties files into a single file, discarding any strings that are not present in code and normalizing curly quotes and unrecognized characters in the strings it keeps. (These files are separate because they are pulled from separate translation sources internally.)
14
+ > python -m doit properties
15
+
16
+ 2. Convert the combined .properties file into a .po file (these are human readable)
17
+ > python -m doit po
18
+
19
+ 3. Convert the .po files into .mo files (these are not human readable)
20
+ This also checks the .mo files for validity by loading them with gettext
21
+ > python -m doit mo
@@ -0,0 +1,25 @@
1
+ """
2
+ i18n utilities for tabcmd localization.
3
+
4
+ This package contains tools for checking and processing localization strings.
5
+ """
6
+
7
+ from .check_strings import (
8
+ find_python_files,
9
+ extract_string_keys_from_file,
10
+ load_properties_files,
11
+ load_properties_file,
12
+ find_missing_strings,
13
+ check_build_mode,
14
+ check_dev_mode
15
+ )
16
+
17
+ __all__ = [
18
+ 'find_python_files',
19
+ 'extract_string_keys_from_file',
20
+ 'load_properties_files',
21
+ 'load_properties_file',
22
+ 'find_missing_strings',
23
+ 'check_build_mode',
24
+ 'check_dev_mode'
25
+ ]