tabcmd 2.0.17__tar.gz → 2.0.18__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.
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.github/workflows/check-coverage.yml +7 -6
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.github/workflows/codeql-analysis.yml +1 -1
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.github/workflows/generate-metadata.yml +1 -1
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.github/workflows/package.yml +2 -3
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.github/workflows/publish-pypi.yml +1 -2
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.github/workflows/python-app.yml +1 -1
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.github/workflows/run-e2-tests.yml +1 -1
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.github/workflows/run-tests.yml +1 -1
- {tabcmd-2.0.17 → tabcmd-2.0.18}/PKG-INFO +7 -5
- {tabcmd-2.0.17 → tabcmd-2.0.18}/README.md +2 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/pyproject.toml +6 -5
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/auth/session.py +14 -1
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/datasources_and_workbooks/datasources_and_workbooks_command.py +20 -10
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/datasources_and_workbooks/export_command.py +11 -4
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/extracts/refresh_extracts_command.py +3 -5
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/de/tabcmd_messages_de.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/en/tabcmd_messages_en.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/es/tabcmd_messages_es.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/fr/tabcmd_messages_fr.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ga/tabcmd_messages_ga.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/it/tabcmd_messages_it.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ja/tabcmd_messages_ja.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ko/tabcmd_messages_ko.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/pt/tabcmd_messages_pt.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/sv/tabcmd_messages_sv.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/zh/tabcmd_messages_zh.properties +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd.egg-info/PKG-INFO +7 -5
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd.egg-info/requires.txt +1 -1
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_datasources_and_workbooks_command.py +60 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_geturl_utils.py +1 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_run_commands.py +29 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_session.py +86 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/e2e/online_tests.py +5 -3
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/e2e/setup_e2e.py +13 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.coverage +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.coveragerc +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.github/dependabot.yml +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/.gitignore +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/LICENSE +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/SECURITY.md +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/bin/coverage.sh +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/bin/i18n/makelocalealias.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/bin/i18n/msgfmt.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/bin/i18n/prop2po.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/bin/i18n/pygettext.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/bin/license-checker.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/bin/pyinstaller.sh +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/contributing.md +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/dodo.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/res/README.md +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/res/metadata.yml +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/res/tabcmd.icns +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/res/tabcmd.ico +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/res/tabcmd.png +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/setup.cfg +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/setup.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/__main__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/auth/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/auth/login_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/auth/logout_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/commands.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/constants.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/datasources_and_workbooks/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/datasources_and_workbooks/datasources_workbooks_views_url_parser.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/datasources_and_workbooks/delete_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/datasources_and_workbooks/get_url_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/datasources_and_workbooks/publish_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/datasources_and_workbooks/runschedule_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/extracts/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/extracts/create_extracts_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/extracts/decrypt_extracts_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/extracts/delete_extracts_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/extracts/encrypt_extracts_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/extracts/extracts.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/extracts/reencrypt_extracts_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/group/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/group/create_group_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/group/delete_group_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/project/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/project/create_project_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/project/delete_project_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/project/publish_samples_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/server.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/site/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/site/create_site_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/site/delete_site_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/site/edit_site_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/site/list_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/site/list_sites_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/user/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/user/add_users_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/user/create_site_users.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/user/create_users_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/user/delete_site_users_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/user/remove_users_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/commands/user/user_data.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/execution/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/execution/_version.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/execution/global_options.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/execution/localize.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/execution/logger_config.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/execution/map_of_commands.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/execution/parent_parser.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/execution/tabcmd_controller.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/de/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/de/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/de/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/de/shared_wg_de.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/en/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/en/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/en/shared_wg_en.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/es/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/es/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/es/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/es/shared_wg_es.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/fr/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/fr/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/fr/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/fr/shared_wg_fr.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ga/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ga/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ga/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ga/shared_wg_ga.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/it/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/it/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/it/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/it/shared_wg_it.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ja/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ja/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ja/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ja/shared_wg_ja.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ko/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ko/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ko/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/ko/shared_wg_ko.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/pt/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/pt/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/pt/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/pt/shared_wg_pt.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/sv/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/sv/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/sv/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/sv/shared_wg_sv.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/zh/LC_MESSAGES/.gitkeep +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/zh/LC_MESSAGES/tabcmd.mo +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/zh/extra.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/locales/zh/shared_wg_zh.properties +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/tabcmd.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd/version.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd-linux.spec +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd-mac.spec +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd-windows.spec +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd.egg-info/SOURCES.txt +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd.egg-info/dependency_links.txt +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd.egg-info/entry_points.txt +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd.egg-info/top_level.txt +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tabcmd.spec +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/assets/EmbeddedCredentials.twb +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/assets/SampleDS.tds +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/assets/WorkbookWithExtract.twbx +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/assets/WorkbookWithoutExtract.twbx +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/assets/World Indicators.tds +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/assets/World Indicators.tdsx +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/assets/detailed_users.csv +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/assets/simple-data.twbx +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/assets/usernames.csv +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_credential_file.txt +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_execution.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_listing_commands.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_localize.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_projects_utils.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_publish_command.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_server.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_server_handler.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/commands/test_user_utils.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/e2e/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/e2e/language_tests.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/e2e/tests.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/e2e/tests_integration.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/__init__.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/common_setup.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_login_parser.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_logout_parser.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_add_user.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_create_extracts.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_create_group.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_create_project.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_create_site.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_create_site_users.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_create_user.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_decrypt_extracts.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_delete.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_delete_extracts.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_delete_group.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_delete_project.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_delete_site.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_delete_site_user.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_edit_site.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_encrypt_extracts.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_export.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_get_url.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_list_sites.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_login.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_publish.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_publish_samples.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_reencrypt_extracts.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_refresh_extracts.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_remove_user.py +0 -0
- {tabcmd-2.0.17 → tabcmd-2.0.18}/tests/parsers/test_parser_runschedule.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,7 +13,7 @@ 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
|
|
|
@@ -38,6 +39,10 @@ jobs:
|
|
|
38
39
|
- name: Generate coverage report
|
|
39
40
|
run: pytest --junitxml=pytest.xml --cov=tabcmd tests/ | tee pytest-coverage.txt
|
|
40
41
|
|
|
42
|
+
# trying another coverage reporter for PRs/badges
|
|
43
|
+
- name: Coveralls
|
|
44
|
+
uses: coverallsapp/github-action@v2
|
|
45
|
+
|
|
41
46
|
- name: Comment on pull request with coverage
|
|
42
47
|
uses: MishaKav/pytest-coverage-comment@main
|
|
43
48
|
with:
|
|
@@ -46,10 +51,6 @@ jobs:
|
|
|
46
51
|
# Error: The head commit for this pull_request event is not ahead of the base commit.
|
|
47
52
|
# Please submit an issue on this action's GitHub repo
|
|
48
53
|
# 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
|
-
|
|
54
|
+
|
|
54
55
|
# TODO track docstring coverage
|
|
55
56
|
# https://github.com/marketplace/actions/python-interrogate-check
|
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
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
|
|
|
@@ -64,7 +64,7 @@ jobs:
|
|
|
64
64
|
|
|
65
65
|
- uses: actions/setup-python@v5
|
|
66
66
|
with:
|
|
67
|
-
python-version: 3.
|
|
67
|
+
python-version: 3.12
|
|
68
68
|
|
|
69
69
|
- name: Install dependencies and build
|
|
70
70
|
run: |
|
|
@@ -94,7 +94,7 @@ jobs:
|
|
|
94
94
|
cd dist/${{ matrix.TARGET }}
|
|
95
95
|
tar -cvf ${{ matrix.UPLOAD_FILE_NAME }} ${{ matrix.OUT_FILE_NAME }}
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
|
|
98
98
|
- name: Upload binaries to release for ${{ matrix.TARGET }}
|
|
99
99
|
uses: svenstaro/upload-release-action@v2
|
|
100
100
|
with:
|
|
@@ -104,4 +104,3 @@ jobs:
|
|
|
104
104
|
tag: ${{ github.ref_name }}
|
|
105
105
|
overwrite: true
|
|
106
106
|
promote: true
|
|
107
|
-
|
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
fetch-depth: 0
|
|
21
21
|
- uses: actions/setup-python@v5
|
|
22
22
|
with:
|
|
23
|
-
python-version: 3.
|
|
23
|
+
python-version: 3.12
|
|
24
24
|
- name: Build dist files
|
|
25
25
|
run: |
|
|
26
26
|
python --version
|
|
@@ -41,4 +41,3 @@ jobs:
|
|
|
41
41
|
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
|
|
42
42
|
with:
|
|
43
43
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
44
|
-
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: tabcmd
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.18
|
|
4
4
|
Summary: A command line client for working with Tableau Server.
|
|
5
5
|
Author-email: Tableau <github@tableau.com>
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -29,11 +29,12 @@ License: The MIT License (MIT)
|
|
|
29
29
|
Project-URL: repository, https://github.com/tableau/tabcmd
|
|
30
30
|
Classifier: Programming Language :: Python
|
|
31
31
|
Classifier: Programming Language :: Python :: 3
|
|
32
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
33
32
|
Classifier: Programming Language :: Python :: 3.9
|
|
34
33
|
Classifier: Programming Language :: Python :: 3.10
|
|
35
34
|
Classifier: Programming Language :: Python :: 3.11
|
|
36
|
-
|
|
35
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
36
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
37
|
+
Requires-Python: >=3.9
|
|
37
38
|
Description-Content-Type: text/markdown
|
|
38
39
|
License-File: LICENSE
|
|
39
40
|
Requires-Dist: appdirs
|
|
@@ -47,7 +48,7 @@ Requires-Dist: types-appdirs
|
|
|
47
48
|
Requires-Dist: types-mock
|
|
48
49
|
Requires-Dist: types-requests
|
|
49
50
|
Requires-Dist: types-setuptools
|
|
50
|
-
Requires-Dist: tableauserverclient==0.
|
|
51
|
+
Requires-Dist: tableauserverclient==0.37
|
|
51
52
|
Requires-Dist: urllib3
|
|
52
53
|
Provides-Extra: test
|
|
53
54
|
Requires-Dist: black<23,>=22; extra == "test"
|
|
@@ -64,6 +65,7 @@ Requires-Dist: ftfy; extra == "localize"
|
|
|
64
65
|
Provides-Extra: package
|
|
65
66
|
Requires-Dist: pyinstaller==5.13; extra == "package"
|
|
66
67
|
Requires-Dist: doit; extra == "package"
|
|
68
|
+
Dynamic: license-file
|
|
67
69
|
|
|
68
70
|
|
|
69
71
|
This program is an executable command-line utility which you can use to automate activity on Tableau Cloud or Tableau Server.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Tabcmd
|
|
2
2
|
|
|
3
3
|
[](https://www.tableau.com/support-levels-it-and-developer-tools)
|
|
4
|
+
|
|
5
|
+
[(https://github.com/tableau/tabcmd/actions)
|
|
4
6
|
[](https://github.com/psf/black)
|
|
5
7
|
[](https://github.com/tableau/tabcmd/actions/workflows/run-tests.yml)
|
|
6
8
|
[](https://github.com/tableau/tabcmd/actions/workflows/python-app.yml)
|
|
@@ -10,7 +10,7 @@ tabcmd = ["tabcmd.locales/**/*.mo"]
|
|
|
10
10
|
[tool.black]
|
|
11
11
|
line-length = 120
|
|
12
12
|
required-version = 22
|
|
13
|
-
target-version = ['
|
|
13
|
+
target-version = ['py39', 'py310', 'py311']
|
|
14
14
|
extend-exclude = '^/bin/*'
|
|
15
15
|
[tool.mypy]
|
|
16
16
|
disable_error_code = [
|
|
@@ -31,14 +31,15 @@ description="A command line client for working with Tableau Server."
|
|
|
31
31
|
authors = [{name="Tableau", email="github@tableau.com"}]
|
|
32
32
|
license = {file = "LICENSE"}
|
|
33
33
|
readme = "res/README.md"
|
|
34
|
-
requires-python = ">=3.
|
|
34
|
+
requires-python = ">=3.9" # https://devguide.python.org/versions/
|
|
35
35
|
classifiers = [
|
|
36
36
|
"Programming Language :: Python",
|
|
37
37
|
"Programming Language :: Python :: 3",
|
|
38
|
-
"Programming Language :: Python :: 3.8",
|
|
39
38
|
"Programming Language :: Python :: 3.9",
|
|
40
39
|
"Programming Language :: Python :: 3.10",
|
|
41
|
-
"Programming Language :: Python :: 3.11"
|
|
40
|
+
"Programming Language :: Python :: 3.11",
|
|
41
|
+
"Programming Language :: Python :: 3.12",
|
|
42
|
+
"Programming Language :: Python :: 3.13"
|
|
42
43
|
]
|
|
43
44
|
dependencies = [
|
|
44
45
|
"appdirs",
|
|
@@ -52,7 +53,7 @@ dependencies = [
|
|
|
52
53
|
"types-mock",
|
|
53
54
|
"types-requests",
|
|
54
55
|
"types-setuptools",
|
|
55
|
-
"tableauserverclient==0.
|
|
56
|
+
"tableauserverclient==0.37",
|
|
56
57
|
"urllib3",
|
|
57
58
|
]
|
|
58
59
|
[project.optional-dependencies]
|
|
@@ -6,6 +6,7 @@ import requests
|
|
|
6
6
|
import tableauserverclient as TSC
|
|
7
7
|
import urllib3
|
|
8
8
|
from urllib3.exceptions import InsecureRequestWarning
|
|
9
|
+
from urllib.parse import urlparse, urlunparse
|
|
9
10
|
|
|
10
11
|
from tabcmd.version import version
|
|
11
12
|
from tabcmd.commands.constants import Errors
|
|
@@ -61,7 +62,8 @@ class Session:
|
|
|
61
62
|
# self.command = args.???
|
|
62
63
|
self.username = args.username or self.username or ""
|
|
63
64
|
self.username = self.username.lower()
|
|
64
|
-
|
|
65
|
+
server_base_url = self._get_server_base_url(args.server) if args.server else None
|
|
66
|
+
self.server_url = server_base_url or self.server_url or "http://localhost"
|
|
65
67
|
self.server_url = self.server_url.lower()
|
|
66
68
|
if args.server is not None:
|
|
67
69
|
self.site_name = None
|
|
@@ -481,3 +483,14 @@ class Session:
|
|
|
481
483
|
message = "Error clearing session data from {}: check and remove manually".format(file_path)
|
|
482
484
|
self.logger.error(message)
|
|
483
485
|
self.logger.error(e)
|
|
486
|
+
|
|
487
|
+
def _get_server_base_url(self, url: str):
|
|
488
|
+
try:
|
|
489
|
+
parsed = urlparse(url)
|
|
490
|
+
scheme = parsed.scheme or "http"
|
|
491
|
+
|
|
492
|
+
# If netloc is empty, treat path as netloc and discard any extra path
|
|
493
|
+
netloc = parsed.netloc or parsed.path.split("/")[0] # Keep only the domain
|
|
494
|
+
return urlunparse((scheme, netloc, "", "", "", ""))
|
|
495
|
+
except Exception as e:
|
|
496
|
+
Errors.exit_with_error(self.logger, exception=e)
|
|
@@ -125,14 +125,18 @@ class DatasourcesAndWorkbooks(Server):
|
|
|
125
125
|
request_options.max_age = 0 # type: ignore
|
|
126
126
|
logger.debug("Set max age to {} from {}".format((TSC.ImageRequestOptions(request_options)).max_age, value))
|
|
127
127
|
elif ":size" == setting_name:
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
128
|
+
if isinstance(request_options, (TSC.ImageRequestOptions, TSC.PDFRequestOptions)):
|
|
129
|
+
try:
|
|
130
|
+
height, width = setting_val.split(",")
|
|
131
|
+
request_options.viz_height = int(height)
|
|
132
|
+
request_options.viz_width = int(width)
|
|
133
|
+
except Exception as oops:
|
|
134
|
+
logger.warn("Unable to read image size options '{}', skipping".format(setting_val))
|
|
135
|
+
logger.warn(oops)
|
|
136
|
+
else:
|
|
137
|
+
logger.debug(
|
|
138
|
+
"Request options are not of type ImageRequestOptions or PDFRequestOptions, skipping size setting"
|
|
139
|
+
)
|
|
136
140
|
else:
|
|
137
141
|
logger.debug("Parameter[s] not recognized: {}".format(value))
|
|
138
142
|
|
|
@@ -147,8 +151,10 @@ class DatasourcesAndWorkbooks(Server):
|
|
|
147
151
|
request_options.viz_height = int(args.height)
|
|
148
152
|
if args.width:
|
|
149
153
|
request_options.viz_width = int(args.width)
|
|
150
|
-
|
|
151
|
-
|
|
154
|
+
if args.resolution and args.resolution != TSC.ImageRequestOptions.Resolution.High.lower():
|
|
155
|
+
request_options.image_resolution = None
|
|
156
|
+
else:
|
|
157
|
+
request_options.image_resolution = TSC.ImageRequestOptions.Resolution.High.lower()
|
|
152
158
|
|
|
153
159
|
@staticmethod
|
|
154
160
|
def apply_pdf_options(logger, request_options: TSC.PDFRequestOptions, args):
|
|
@@ -156,6 +162,10 @@ class DatasourcesAndWorkbooks(Server):
|
|
|
156
162
|
request_options.orientation = args.pagelayout
|
|
157
163
|
if args.pagesize:
|
|
158
164
|
request_options.page_type = args.pagesize
|
|
165
|
+
if args.height:
|
|
166
|
+
request_options.viz_height = int(args.height)
|
|
167
|
+
if args.width:
|
|
168
|
+
request_options.viz_width = int(args.width)
|
|
159
169
|
|
|
160
170
|
@staticmethod
|
|
161
171
|
def save_to_data_file(logger, output, filename):
|
|
@@ -10,6 +10,9 @@ from .datasources_and_workbooks_command import DatasourcesAndWorkbooks
|
|
|
10
10
|
from .datasources_workbooks_views_url_parser import DatasourcesWorkbooksAndViewsUrlParser
|
|
11
11
|
|
|
12
12
|
pagesize = TSC.PDFRequestOptions.PageType # type alias for brevity
|
|
13
|
+
pageorientation = TSC.PDFRequestOptions.Orientation
|
|
14
|
+
imageresolution = TSC.ImageRequestOptions.Resolution
|
|
15
|
+
ImageResolutionStandard = "standard"
|
|
13
16
|
|
|
14
17
|
|
|
15
18
|
class ExportCommand(DatasourcesAndWorkbooks):
|
|
@@ -29,7 +32,7 @@ class ExportCommand(DatasourcesAndWorkbooks):
|
|
|
29
32
|
|
|
30
33
|
group.add_argument(
|
|
31
34
|
"--pagelayout",
|
|
32
|
-
choices=[
|
|
35
|
+
choices=[pageorientation.Landscape, pageorientation.Portrait],
|
|
33
36
|
type=str.lower,
|
|
34
37
|
default=None,
|
|
35
38
|
help="page orientation (landscape or portrait) of the exported PDF",
|
|
@@ -57,9 +60,7 @@ class ExportCommand(DatasourcesAndWorkbooks):
|
|
|
57
60
|
help="Set the page size of the exported PDF",
|
|
58
61
|
)
|
|
59
62
|
|
|
60
|
-
group.add_argument(
|
|
61
|
-
"--width", default=800, help="[Not Yet Implemented] Set the width of the image in pixels. Default is 800 px"
|
|
62
|
-
)
|
|
63
|
+
group.add_argument("--width", default=800, help=_("export.options.width"))
|
|
63
64
|
group.add_argument("--filename", "-f", help="filename to store the exported data")
|
|
64
65
|
group.add_argument("--height", default=600, help=_("export.options.height"))
|
|
65
66
|
group.add_argument(
|
|
@@ -67,6 +68,12 @@ class ExportCommand(DatasourcesAndWorkbooks):
|
|
|
67
68
|
metavar="COLUMN=VALUE",
|
|
68
69
|
help="Data filter to apply to the view",
|
|
69
70
|
)
|
|
71
|
+
group.add_argument(
|
|
72
|
+
"--resolution",
|
|
73
|
+
choices=[imageresolution.High, ImageResolutionStandard],
|
|
74
|
+
type=str.lower,
|
|
75
|
+
help=_("export.options.resolution"),
|
|
76
|
+
)
|
|
70
77
|
|
|
71
78
|
"""
|
|
72
79
|
Command to Export a view_name or workbook from Tableau Server and save
|
|
@@ -34,17 +34,15 @@ class RefreshExtracts(Server):
|
|
|
34
34
|
if args.addcalculations or args.removecalculations:
|
|
35
35
|
logger.warning("Add/Remove Calculations tasks are not supported.")
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
if args.incremental: # docs: run the incremental refresh
|
|
39
|
-
logger.warn("Incremental refresh is not yet available through the new tabcmd")
|
|
37
|
+
incremental_refresh = True if args.incremental else False
|
|
40
38
|
|
|
41
39
|
try:
|
|
42
40
|
item = Extracts.get_wb_or_ds_for_extracts(args, logger, server)
|
|
43
41
|
if args.datasource:
|
|
44
42
|
logger.info(_("refreshextracts.status_refreshed").format(_("content_type.datasource"), args.datasource))
|
|
45
|
-
job: TSC.JobItem = server.datasources.refresh(item.id)
|
|
43
|
+
job: TSC.JobItem = server.datasources.refresh(item.id, incremental_refresh)
|
|
46
44
|
else:
|
|
47
|
-
job: TSC.JobItem = server.workbooks.refresh(item.id)
|
|
45
|
+
job: TSC.JobItem = server.workbooks.refresh(item.id, incremental_refresh)
|
|
48
46
|
logger.info(_("refreshextracts.status_refreshed").format(_("content_type.workbook"), args.workbook))
|
|
49
47
|
|
|
50
48
|
except Exception as e:
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=Legt die Seitenausrichtung der exportierten PDF-Datei
|
|
|
175
175
|
export.options.pagesize=Legt die Seitengröße der exportierten PDF-Datei fest. Zulässige Werte: {0} (Standard: „{1}“)
|
|
176
176
|
export.options.pdf=Daten im PDF-Format exportieren
|
|
177
177
|
export.options.png=Daten im PNG-Format exportieren
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=Legt die Breite fest. Muss ein Ganzzahlwert (Standard: 800 Pixel) sein
|
|
179
180
|
export.short_description=Daten oder Bild einer Ansicht vom Server exportieren
|
|
180
181
|
export.status=„{0}“ wird vom Server abgerufen...
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=Sets the page orientation of the exported PDF. Legal v
|
|
|
175
175
|
export.options.pagesize=Sets the page size of the exported PDF. Legal values: {0} (default: ''{1}'')
|
|
176
176
|
export.options.pdf=Export data in PDF format
|
|
177
177
|
export.options.png=Export data in PNG format
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=Sets the width. Must be an integer value (default: 800 pixels)
|
|
179
180
|
export.short_description=Export the data or image of a view from the server
|
|
180
181
|
export.status=Requesting ''{0}'' from the server...
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=Configura la orientación de páginas del PDF exportad
|
|
|
175
175
|
export.options.pagesize=Configura el tamaño de página del PDF exportado. Valores legales: {0} (valor predeterminado: “{1}”)
|
|
176
176
|
export.options.pdf=Exportar datos en formato PDF
|
|
177
177
|
export.options.png=Exportar datos en formato PNG
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=Configura el ancho. Debe ser un valor entero (valor predeterminado: 800 píxeles)
|
|
179
180
|
export.short_description=Exportar los datos o la imagen de una vista del servidor
|
|
180
181
|
export.status=Solicitando “{0}” al servidor...
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=Définit l’orientation de la page du PDF exporté. V
|
|
|
175
175
|
export.options.pagesize=Définit la taille de page du PDF exporté. Valeurs admises : {0} (“{1}” par défaut).
|
|
176
176
|
export.options.pdf=Exporter les données au format PDF
|
|
177
177
|
export.options.png=Exporter les données au format PNG
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=Définit la largeur. Doit être un nombre entier (800 pixels par défaut)
|
|
179
180
|
export.short_description=Exporter les données ou une image d’une vue depuis le serveur
|
|
180
181
|
export.status=Requête de “{0}” en provenance du serveur...
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=f683-表:Sets the page orientation of the exported PDF
|
|
|
175
175
|
export.options.pagesize=70c0-表:Sets the page size of the exported PDF. Legal values: {0} (default: ‘{1}’)|桜
|
|
176
176
|
export.options.pdf=3ecf-表:Export data in PDF format|桜
|
|
177
177
|
export.options.png=9e8c-表:Export data in PNG format|桜
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=687b-表:Sets the width. Must be an integer value (default: 800 pixels)|桜
|
|
179
180
|
export.short_description=3b4e-表:Export the data or image of a view from the server|桜
|
|
180
181
|
export.status=e524-表:Requesting ‘{0}’ from the server...|桜
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=Imposta l’orientamento della pagina del PDF esportat
|
|
|
175
175
|
export.options.pagesize=Imposta le dimensioni della pagina del PDF esportato. Valori consentiti: {0} (predefiniti: “{1}”)
|
|
176
176
|
export.options.pdf=Esporta i dati in formato PDF
|
|
177
177
|
export.options.png=Esporta i dati in formato PNG
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=Imposta la profondità. Deve essere un valore intero (predefinito: 800 pixel)
|
|
179
180
|
export.short_description=Esportare i dati o l’immagine di una vista dal server
|
|
180
181
|
export.status=Richiesta di “{0}” dal server in corso...
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=エクスポートされた PDF のページの方向
|
|
|
175
175
|
export.options.pagesize=エクスポートされた PDF のページ サイズを設定します。有効な値: {0} (既定: 「{1}」)
|
|
176
176
|
export.options.pdf=PDF 形式でデータをエクスポート
|
|
177
177
|
export.options.png=PNG 形式でデータをエクスポート
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=幅を設定します。整数値であることが必要です (既定: 800 ピクセル)
|
|
179
180
|
export.short_description=サーバーから、ビューのデータまたはイメージをエクスポート
|
|
180
181
|
export.status=サーバーから 「{0}」 を要求しています...
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=내보낸 PDF의 페이지 방향을 설정합니다.
|
|
|
175
175
|
export.options.pagesize=내보낸 PDF의 페이지 크기를 설정합니다. 사용할 수 있는 값: {0}(기본값: ’{1}’)
|
|
176
176
|
export.options.pdf=PDF 형식으로 데이터 내보내기
|
|
177
177
|
export.options.png=PNG 형식으로 데이터 내보내기
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=너비를 설정합니다. 정수 값이어야 합니다(기본값: 800픽셀)
|
|
179
180
|
export.short_description=서버에서 뷰의 이미지 또는 데이터 내보내기
|
|
180
181
|
export.status=서버에서 ’{0}’을(를) 요청하는 중...
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=Define a orientação da página do PDF exportado. Val
|
|
|
175
175
|
export.options.pagesize=Define o tamanho da página do PDF exportado. Valores legais: {0} (padrão: “{1}”)
|
|
176
176
|
export.options.pdf=Exporte dados em formato PDF
|
|
177
177
|
export.options.png=Exporte dados em formato PNG
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=Define a largura. Deve ser um valor integral (padrão: 800 pixels)
|
|
179
180
|
export.short_description=Exporte os dados ou imagem de uma exibição do servidor
|
|
180
181
|
export.status=Solicitando “{0}” do servidor...
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=Ställer in sidorienteringen för den exporterade PDF-
|
|
|
175
175
|
export.options.pagesize=Ställer in sidstorleken för den exporterade PDF-filen. Giltiga värden: {0} (standard: ”{1}”)
|
|
176
176
|
export.options.pdf=Exportera data i PDF-format
|
|
177
177
|
export.options.png=Exportera data i PNG-format
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=Ställer in bredden. Måste vara ett heltalsvärde (standard: 800 bildpunkter)
|
|
179
180
|
export.short_description=Exportera en vys data eller avbildning från servern
|
|
180
181
|
export.status=Begär ”{0}” från servern ...
|
|
@@ -175,6 +175,7 @@ export.options.pagelayout=设置导出的 PDF 的页面方向。合法值: {0}
|
|
|
175
175
|
export.options.pagesize=设置导出的 PDF 的页面大小。合法值: {0} (默认值: “{1}”)
|
|
176
176
|
export.options.pdf=将数据导出为 PDF 格式
|
|
177
177
|
export.options.png=将数据导出为 PNG 格式
|
|
178
|
+
export.options.resolution=Set the value to high to ensure maximum pixel density
|
|
178
179
|
export.options.width=设置宽度。必须为整数值(默认值: 800 个像素)
|
|
179
180
|
export.short_description=从服务器中导出数据或视图的图像
|
|
180
181
|
export.status=正向服务器请求 “{0}”...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: tabcmd
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.18
|
|
4
4
|
Summary: A command line client for working with Tableau Server.
|
|
5
5
|
Author-email: Tableau <github@tableau.com>
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -29,11 +29,12 @@ License: The MIT License (MIT)
|
|
|
29
29
|
Project-URL: repository, https://github.com/tableau/tabcmd
|
|
30
30
|
Classifier: Programming Language :: Python
|
|
31
31
|
Classifier: Programming Language :: Python :: 3
|
|
32
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
33
32
|
Classifier: Programming Language :: Python :: 3.9
|
|
34
33
|
Classifier: Programming Language :: Python :: 3.10
|
|
35
34
|
Classifier: Programming Language :: Python :: 3.11
|
|
36
|
-
|
|
35
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
36
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
37
|
+
Requires-Python: >=3.9
|
|
37
38
|
Description-Content-Type: text/markdown
|
|
38
39
|
License-File: LICENSE
|
|
39
40
|
Requires-Dist: appdirs
|
|
@@ -47,7 +48,7 @@ Requires-Dist: types-appdirs
|
|
|
47
48
|
Requires-Dist: types-mock
|
|
48
49
|
Requires-Dist: types-requests
|
|
49
50
|
Requires-Dist: types-setuptools
|
|
50
|
-
Requires-Dist: tableauserverclient==0.
|
|
51
|
+
Requires-Dist: tableauserverclient==0.37
|
|
51
52
|
Requires-Dist: urllib3
|
|
52
53
|
Provides-Extra: test
|
|
53
54
|
Requires-Dist: black<23,>=22; extra == "test"
|
|
@@ -64,6 +65,7 @@ Requires-Dist: ftfy; extra == "localize"
|
|
|
64
65
|
Provides-Extra: package
|
|
65
66
|
Requires-Dist: pyinstaller==5.13; extra == "package"
|
|
66
67
|
Requires-Dist: doit; extra == "package"
|
|
68
|
+
Dynamic: license-file
|
|
67
69
|
|
|
68
70
|
|
|
69
71
|
This program is an executable command-line utility which you can use to automate activity on Tableau Cloud or Tableau Server.
|
|
@@ -49,12 +49,33 @@ class ParameterTests(unittest.TestCase):
|
|
|
49
49
|
def test_apply_png_options(self):
|
|
50
50
|
mock_args.width = "800"
|
|
51
51
|
mock_args.height = "76"
|
|
52
|
+
mock_args.resolution = None
|
|
52
53
|
request_options = tsc.ImageRequestOptions()
|
|
53
54
|
DatasourcesAndWorkbooks.apply_png_options(mock_logger, request_options, mock_args)
|
|
54
55
|
assert request_options.image_resolution == "high"
|
|
55
56
|
assert request_options.viz_width == 800
|
|
56
57
|
assert request_options.viz_height == 76
|
|
57
58
|
|
|
59
|
+
def test_apply_png_options_with_resolution_high(self):
|
|
60
|
+
mock_args.width = "800"
|
|
61
|
+
mock_args.height = "76"
|
|
62
|
+
mock_args.resolution = "high"
|
|
63
|
+
request_options = tsc.ImageRequestOptions()
|
|
64
|
+
DatasourcesAndWorkbooks.apply_png_options(mock_logger, request_options, mock_args)
|
|
65
|
+
assert request_options.image_resolution == "high"
|
|
66
|
+
assert request_options.viz_width == 800
|
|
67
|
+
assert request_options.viz_height == 76
|
|
68
|
+
|
|
69
|
+
def test_apply_png_options_with_resolution_standard(self):
|
|
70
|
+
mock_args.width = "800"
|
|
71
|
+
mock_args.height = "76"
|
|
72
|
+
mock_args.resolution = "standard"
|
|
73
|
+
request_options = tsc.ImageRequestOptions()
|
|
74
|
+
DatasourcesAndWorkbooks.apply_png_options(mock_logger, request_options, mock_args)
|
|
75
|
+
assert request_options.image_resolution is None
|
|
76
|
+
assert request_options.viz_width == 800
|
|
77
|
+
assert request_options.viz_height == 76
|
|
78
|
+
|
|
58
79
|
def test_apply_png_options_bad_values(self):
|
|
59
80
|
mock_args.height = "seven"
|
|
60
81
|
mock_args.width = "800b"
|
|
@@ -65,12 +86,51 @@ class ParameterTests(unittest.TestCase):
|
|
|
65
86
|
def test_apply_pdf_options(self):
|
|
66
87
|
expected_page = tsc.PDFRequestOptions.PageType.Folio.__str__()
|
|
67
88
|
expected_layout = tsc.PDFRequestOptions.Orientation.Portrait.__str__()
|
|
89
|
+
expected_height = 800
|
|
90
|
+
expected_width = 600
|
|
68
91
|
mock_args.pagelayout = expected_layout
|
|
69
92
|
mock_args.pagesize = expected_page
|
|
93
|
+
mock_args.height = expected_height
|
|
94
|
+
mock_args.width = expected_width
|
|
70
95
|
request_options = tsc.PDFRequestOptions()
|
|
71
96
|
DatasourcesAndWorkbooks.apply_pdf_options(mock_logger, request_options, mock_args)
|
|
72
97
|
assert request_options.page_type == expected_page
|
|
73
98
|
assert request_options.orientation == expected_layout
|
|
99
|
+
assert request_options.viz_width == expected_width
|
|
100
|
+
assert request_options.viz_height == expected_height
|
|
101
|
+
|
|
102
|
+
def test_apply_options_in_url_with_size(self):
|
|
103
|
+
request_options = tsc.ImageRequestOptions()
|
|
104
|
+
value = ":size=800,600"
|
|
105
|
+
|
|
106
|
+
DatasourcesAndWorkbooks.apply_options_in_url(mock_logger, request_options, value)
|
|
107
|
+
self.assertEqual(request_options.viz_height, 800)
|
|
108
|
+
self.assertEqual(request_options.viz_width, 600)
|
|
109
|
+
|
|
110
|
+
def test_apply_options_in_url_with_refresh(self):
|
|
111
|
+
request_options = tsc.ImageRequestOptions()
|
|
112
|
+
value = ":refresh=yes"
|
|
113
|
+
|
|
114
|
+
DatasourcesAndWorkbooks.apply_options_in_url(mock_logger, request_options, value)
|
|
115
|
+
self.assertEqual(request_options.max_age, 0)
|
|
116
|
+
|
|
117
|
+
def test_apply_options_in_url_with_invalid_size(self):
|
|
118
|
+
request_options = tsc.ImageRequestOptions()
|
|
119
|
+
value = ":size=invalid"
|
|
120
|
+
|
|
121
|
+
DatasourcesAndWorkbooks.apply_options_in_url(mock_logger, request_options, value)
|
|
122
|
+
self.assertEqual(request_options.viz_height, None)
|
|
123
|
+
self.assertEqual(request_options.viz_width, None)
|
|
124
|
+
|
|
125
|
+
def test_apply_options_in_url_with_unrecognized_parameter(self):
|
|
126
|
+
request_options = tsc.ImageRequestOptions()
|
|
127
|
+
default_max_age = request_options.max_age
|
|
128
|
+
value = ":unknown=param"
|
|
129
|
+
|
|
130
|
+
DatasourcesAndWorkbooks.apply_options_in_url(mock_logger, request_options, value)
|
|
131
|
+
self.assertEqual(request_options.viz_height, None)
|
|
132
|
+
self.assertEqual(request_options.viz_width, None)
|
|
133
|
+
self.assertEqual(request_options.max_age, default_max_age)
|
|
74
134
|
|
|
75
135
|
|
|
76
136
|
@mock.patch("tableauserverclient.Server")
|