Export Trello boards and cards to Markdown
Project description
trello2md
Export Trello boards and cards to Markdown. Currently tailored to my note-taking workflow.
Installation
Install on your system with pipx:
$ pipx install --python python3.8 trello2md
Authorize use of the Trello API:
$ trello2md auth
Exporting a Trello board
Run with the URL for a Trello board as the only argument to write Markdown files to a directory. For example:
$ trello2md https://trello.com/b/WODq2cwg/sample-board
$ tree sample-board/
sample-board/
├── another-card-1.md
├── another-card-2.md
├── another-card.md
├── copied-card.md
├── index.md
└── sample-card.md
$ cat sample-board/index.md
# {Sample Board}
## Sample List
- [Sample Card](sample-card.md) 2019-05-07, @bhrutledge, `green`, `Sample Label`
- [Copied Card](copied-card.md) 2019-05-07
## Empty List
## Another List
- [Another Card](another-card.md)
- [Another Card](another-card-1.md)
- [Another Card](another-card-2.md)
Exporting a Trello card
Run with the URL for a Trello card as the only argument to print Markdown. For example:
$ trello2md https://trello.com/c/HGYGb5iM/2-sample-card
# Sample Card
2019-05-07, @bhrutledge, `green`, `Sample Label`
Sample description
## Checklist
- [x] Completed item
- [ ] Incomplete item
## Attachments
- [Example link](https://example.com)
## Comments
### bhrutledge on 2019-05-06
Sample comment
Developing
-
Install tox on your system, for example using pipx
$ pipx install tox
-
Fork and clone this repository
-
Run the tests and generate a coverage report
$ tox -e py38,coverage
-
Run the formatters and linters
$ tox -e check
-
To run development tools individually, create and activate a virtual environment
$ tox -e venv $ source venv/bin/activate
This will install:
- pytest and coverage.py to run the tests
- mypy to check types
- black to format the code
- flake8 to identify coding errors and check code style
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file trello2md-0.5.0.tar.gz
.
File metadata
- Download URL: trello2md-0.5.0.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eda2a94ecd98a167d140a31867fc152ee5e5c6de4f74d85d804689b47b1f66a |
|
MD5 | a9638476701f3886aa10cf483d38238a |
|
BLAKE2b-256 | 9fbacc7b76a09579bfbd1528061c0753b93e6db2deb012025e7a484ab90778a0 |
File details
Details for the file trello2md-0.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: trello2md-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2114a28ca466d642b555b7d9e814290ae1f7b6457d2f63f94431f436d2b04c16 |
|
MD5 | f6bcd165973d378d5cf8cf5a799ef80f |
|
BLAKE2b-256 | 685dd818da31db6e4c3fbdda6d3f9654a70483ac5e89cf27b38102f541ac6e8e |