Skip to content

Development branch for v0.8 #203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 57 commits into from
Oct 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
fb36a3a
Fix #117 by only attempting files with the right extension inside the…
t8y8 Dec 12, 2016
fe16c0c
Commenting and Docstring cleanup. A few very small code cleanups (#120)
t8y8 Dec 14, 2016
cdccd2f
Small cleanups for various editors. Play nice with built in test-runn…
t8y8 Dec 15, 2016
3ab99f4
Add Py36, update travis to use pycodestyle (#124)
t8y8 Jan 6, 2017
cc97fc4
Add `initial sql` and `query band` support (#123)
r-richmond Jan 9, 2017
3d8021d
Prep for release of 0.6 (#125)
Jan 11, 2017
10e13b9
Add search functionality to docs (#128)
jdomingu Feb 11, 2017
562a54e
Added the ability to create and modify fields, including aliases and …
KernpunktAnalytics Feb 16, 2017
c7a2926
Enabling Zip64 Extension to support zipfile >- 2GB. (#144)
doulam Aug 14, 2017
d342cbe
Update test TDS to have a field with no local-type and apply a defaul…
t8y8 Feb 15, 2018
88361b5
adding oracle param support related to #137 in development branch (#152)
May 2, 2018
27d383b
removing gemlock file for security reasons
graysonarts Oct 10, 2018
20e73b9
Updating copyright date
d45 Feb 28, 2020
e137a42
Merge pull request #173 from tableau/d45_copyright_update
d45 Mar 4, 2020
cd4369c
Update datasource.py
martydertz Mar 9, 2020
9a98337
Update datasource.py
martydertz Mar 9, 2020
65205fe
add shape property
dev-mkc19 Apr 25, 2020
ca64256
updating with legal and privacy links
d45 May 19, 2020
e72e07a
Update main.css
d45 May 19, 2020
178d2b5
Add docs link to Readme
jdomingu Nov 3, 2016
c5762b0
Remove diff line
jdomingu Nov 3, 2016
1ca62e7
Fix link typo...
jdomingu Nov 3, 2016
72fefde
Add analytics script
jdomingu Dec 23, 2016
9f81239
add support badge
benlower Oct 6, 2017
6a05f05
move badges up
benlower Oct 6, 2017
a0be6dd
add dbclass name for Cisco Information Server (#140)
carlsonp Feb 16, 2018
7befcb4
adding oracle param support related to #137 (#149)
Apr 30, 2018
885afad
Revert "adding oracle param support related to #137 (#149)" (#150)
t8y8 Apr 30, 2018
f6dbfe9
Update .travis.yml (#170)
jacalata Nov 5, 2019
cf20cfc
Update bootstrap, edit readme
jacalata Nov 4, 2019
f64c15f
bump bootstrap includes
jacalata Nov 4, 2019
009a47f
add back analytics script from merge
jacalata May 27, 2021
7b5d41f
added link to dev guide
Mar 10, 2017
8d2ec76
added reference to developer guide in contributing.md
Mar 10, 2017
427b8eb
added reference to using the development branch
Mar 10, 2017
cbc027b
add tests for preserving xml namespace
jacalata May 29, 2021
c8466d4
remove python 2 and workarounds
jacalata May 29, 2021
f670634
Update README.md
jacalata Jun 4, 2021
16b7bbe
add basic sample with one namespace
jacalata May 29, 2021
9690133
Merge pull request #201 from tableau/add-namespace-samples
jacalata Jun 7, 2021
661d329
Merge branch 'master' into development
jacalata Jun 7, 2021
70ffc24
Update python-package.yml
jacalata Jun 25, 2021
b959e19
remove whitespace for linter
jacalata Jun 25, 2021
8141596
Define test constants before using them
jacalata Jun 25, 2021
084871b
Merge pull request #179 from martydertz/get-query-string
jacalata Sep 16, 2021
8eb3a59
pycodestyle: extra line
jacalata Sep 16, 2021
576ece2
add shape property
dev-mkc19 Sep 19, 2021
637d5f3
Merge branch 'master' of https://github.com/dev-mkc19/document-api-py…
dev-mkc19 Sep 19, 2021
c5a63ee
fix codestyle
dev-mkc19 Sep 19, 2021
ce2da8d
Merge branch 'master' into development
jacalata Oct 16, 2021
ad90152
Merge pull request #178 from dev-mkc19/master
jacalata Oct 16, 2021
b6b2d30
tweak timelines
jacalata Oct 16, 2021
1770342
Merge pull request #209 from tableau/jac/merge-mkc
jacalata Oct 16, 2021
56bdf97
add list of dashboard names to workbook object
jacalata Oct 16, 2021
8e69bb7
pycodestyle
jacalata Oct 16, 2021
395bbe6
Merge pull request #210 from tableau/jac/dashboards
jacalata Oct 16, 2021
b393fdd
changelog, version bump
jacalata Oct 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python package

on:
push:
paths-ignore:
- 'docs/**'
pull_request:
branches: '*'

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test
run: |
python setup.py test


lint:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pycodestyle
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with pycodestyle
run: |
pycodestyle tableaudocumentapi test samples

1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: python
cache: pip

python:

- "3.6" # EOL 23 Dec 2021
- "3.7"
- "3.8"
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

## 08 (October 2021)
* See dashboards in a workbook
* Add shapes property
* Add custom sql
* Drop python 2, add up through 3.9


## 07 (26 May 2021)
* Fix bug in xfile that overwrote the namespace name when saving a document

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Document API
The Document API provides a supported way to programmatically make updates to Tableau workbook and data source files. If you've been making changes to these file types by directly updating the XML--that is, by XML hacking--this SDK is for you :)

Features include:
- Support for 9.X, and 10.X workbook and data source files
- Support for 9.X, 10.X and 202x.x workbook and data source files
- Including TDSX and TWBX files
- Getting connection information from data sources and workbooks
- Server Name
Expand All @@ -29,3 +29,5 @@ Features include:
- Get all fields in use by certain sheets in a workbook

We don't yet support creating files from scratch, adding extracts into workbooks or data sources, or updating field information

As of 2021, this SDK no longer supports Python 2.
1 change: 1 addition & 0 deletions docs/_includes/docs_menu.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="well docs-menu col-xs-12 col-sm-4 col-md-3">
{% include search_form.html %}
<ul class="nav nav-list">
<li>
<a href="{{ site.baseurl }}/docs">Get Started</a>
Expand Down
3 changes: 2 additions & 1 deletion docs/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/github-highlight.css">

<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="{{ site.baseurl }}/js/redirect-to-search.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>

{% if jekyll.environment == "production" %}{% include analytics.html %}{% endif %}
7 changes: 7 additions & 0 deletions docs/_includes/search_form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div class="search-container form-group has-feedback">
<form id="docs-search">
<input type="search" id="search-input" class="custom-search form-control" placeholder="Search the docs..." search-url="{{ site.baseurl}}/docs/search.html">
<span class="glyphicon glyphicon-search form-control-feedback"></span>
</form>
</div>

43 changes: 43 additions & 0 deletions docs/_layouts/search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
layout: search
---

<!DOCTYPE html>
<html>

<head>
{% include head.html %}
<script type="text/javascript">
var search_blob = {
{% for page in site.pages %}
{% if page.indexed_by_search != false %}
"{{ site.baseurl }}{{ page.url }}": {
"title": {{ page.title | escape | jsonify }},
"content": {{ page.content | remove_first: '* TOC' | replace_first:':toc',':class="blank"' | markdownify | strip_html | normalize_whitespace | jsonify }}
}{% unless forloop.last %},{% endunless %}
{% endif %}
{% endfor %}
};
</script>

<script src="{{ site.baseurl }}/js/lunr.min.js"></script>
<script src="{{ site.baseurl }}/js/search.js"></script>
</head>

<body>
<div class="container">
{% include header.html %}
{% include docs_menu.html %}

<div class="content .col-xs-12 .col-sm-8 .col-md-9">
<h1 id="searchHeading"></h1>
<br />
<div id="searchResultsContainer">
<p>Loading search results...</p>
</div>

{% include footer.html %}
</div>
</div>
</body>
</html>
3 changes: 1 addition & 2 deletions docs/docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ anyone can add to an issue:

## Fixes, Implementations, and Documentation

For all other things, please submit a PR that includes the fix, documentation, or new code that you are trying to contribute. More information on
creating a PR can be found in the [github documentation](https://help.github.com/articles/creating-a-pull-request/)
For all other things, please submit a PR that includes the fix, documentation, or new code that you are trying to contribute. More information on this can be found in our [developer guide](http://tableau.github.io/document-api-python/docs/dev-guide)

If the feature is complex or has multiple solutions that could be equally appropriate approaches, it would be helpful to file an issue to discuss the
design trade-offs of each solution before implementing, to allow us to collectively arrive at the best solution, which most likely exists in the middle
Expand Down
10 changes: 8 additions & 2 deletions docs/docs/dev-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,19 @@ layout: docs
git clone http://github.com/<your_username>/document-api-python
```

1. Check out the development branch

```shell
git checkout development
```

1. Run the tests to make sure everything is peachy:

```shell
python setup.py test
```

1. Set up the feature, fix, or documentation branch.
1. Set up the feature, fix, or documentation branch.

It is recommended to use the format issue#-type-description (e.g. 13-fix-connection-bug) like so:

Expand Down Expand Up @@ -60,7 +66,7 @@ layout: docs
1. Make a PR as described [here](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) against the 'development' branch.

1. Wait for a review and address any feedback.
While we try and stay on top of all issues and PRs it might take a few days for someone to respond. Politely pinging the PR after a few days with no response is OK, we'll try and respond with a timeline as soon as we are able.
While we try and stay on top of all issues and PRs, this isn't under active development so it might take a while for someone to respond. Politely pinging the PR after a few days with no response is OK, we'll try and respond with a timeline as soon as we are able.

1. That's it! When the PR has received :rocket:'s from members of the core team they will merge the PR

Expand Down
5 changes: 5 additions & 0 deletions docs/docs/search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Search
layout: search
---

Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy