Overview
Exports Asana projects along with their resources such as tasks, stories and attachments and saves as json in a tree structure making it easy to query with tools like jq and import into other tools like Jira.
Install
From pypi:
sudo apt install python3-pip
pip install asana-exporter
From snap:
sudo snap install asana-exporter
From source:
sudo apt install python3-pip
pip install -r requirements.txt
Usage
The first action is to extract information from Asana using the API. To do this you will need to generate a Personal Access Token from the web UI - see https://developers.asana.com/docs/personal-access-token for instructions on how to do this.
Once you have a token, run this tool as follows to extract data. A team name and workspace are required (see https://developers.asana.com/docs/workspaces - this is usually your organisation name). Projects are extracted in the context of a team. You can extract multiple teams' projects into the same archive by running the tool multiple times with different teams.
If you want to start by getting a list of available teams you can do:
asana-exporter --token TOKEN --workspace WORKSPACE --export-path EXPORT_PATH --list-teams
Now you can choose a team and extract all of its projects:
asana-exporter --token TOKEN --workspace WORKSPACE --export-path EXPORT_PATH --team TEAM
If you do not want all projects you can filter project names:
asana-exporter --token TOKEN --workspace WORKSPACE --export-path EXPORT_PATH --team TEAM --project-filter "My\s+.+roject"
Once complete, your data will be under EXPORT_PATH and you can query it e.g.
List all teams found:
asana-exporter --export-path EXPORT_PATH --list-teams
List all extracted projects for a given team:
asana-exporter --token TOKEN --workspace WORKSPACE --export-path EXPORT_PATH --team "My Team" --list-projects
List all extracted tasks for a given project:
asana-exporter --token TOKEN --workspace WORKSPACE --export-path EXPORT_PATH --team "My Team" --list-project-tasks "My Project"
Metadata
Release files for asana-exporter 1.0.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| asana-exporter-1.0.0.post1.tar.gz | 8.9 kB | Without provenance | Details for asana-exporter-1.0.0.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| asana_exporter-1.0.0.post1-py3-none-any.whl | Python 3 | none | any | Details for asana_exporter-1.0.0.post1-py3-none-any.whl |
Total release size: 17.3 kB
Release files / asana-exporter-1.0.0.post1.tar.gz
| Download URL | asana-exporter-1.0.0.post1.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18bb1af6f0c7ad1f0d5c195973260174fac51c05079f2bcf72be28a328ed3914
|
|
BLAKE2b-256 checksum How to use checksums |
419b7def2fdeda1daef50207c3a9c3adf20d0528d6fb631aef3e0a4b340aeb91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / asana_exporter-1.0.0.post1-py3-none-any.whl
| Download URL | asana_exporter-1.0.0.post1-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b81aa0898293c40d7dc43f4b3159c45bf92b4f46a7b48ad0c3a6b1f8c8bd564b
|
|
BLAKE2b-256 checksum How to use checksums |
3cfeda72456e07ce58ab1359577056b37d7ea5313b184f434198c73bd15e40d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for asana-exporter 1.0.0.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.