Trello To Audit Report
A way to easily generate a markdown file from a trello board.
Getting Started
Requirements
- git
- You'll know you did it right if you can run
git --versionand you see a response likegit version x.x.x
- You'll know you did it right if you can run
- Python
- You'll know you've installed python right if you can run:
python --versionorpython3 --versionand get an output like:Python x.x.x
- You'll know you've installed python right if you can run:
- pipx
pipxis different from pip- You may have to close and re-open your terminal
- You'll know you've installed it right if you can run:
pipx --versionand see something likex.x.x.x
Optional
If you want to convert trello -> PDF, you'll also need to install pandoc. Please see this repo for learning how to install and work with pandoc.
You will additionally need the eisvogel.latex template. You can find more information in the repo linked above.
Installation
There are a few options with how to install.
pipx
We recommend using pipx as it installs your package into a virtual environment.
pipx install trello_to_audit_report
Then, verify it's installation:
trello_to_audit_report -v
To upgrade to the lastest version, run:
pipx upgrade trello_to_audit_report
You should get an output like x.x.x
pip
Otherwise, you can use pip.
pip install trello_to_audit_report
From Source
You can install from source.
git clone https://github.com/ChainAccelOrg/trello_to_audit_report
cd trello_to_audit_report
pip install . -e
Quickstart - CSV
- Place all your findings in a list on a trello board, and have one list called
Report - Export your board to a
.csvfile - Run:
trello_to_audit_report <PATH_TO_YOUR_CSV>
And you'll get a file named output.md with all your code formatted!
Quickstart - Directly from Trello
To create a report directly from Trello, do the following:
- Create an API Key & Token
- Navigate to trello power ups
- Select "New"
- Fill in some information (you can skip the Iframe connector stuff)
- Then, select the hyperlinked "token" on that page, and "turn on" your token by authenticating it.
- Save the API Key and Token
- Create
TRELLO_API_KEYandTRELLO_API_TOKENenvironment variables.- Or, you can pass them in as flags if you're unfamiliar with environment variables
- Select your board ID
- Each trello board has an ID, you can find it by looking at the URL of the board you're working with
-
- Each trello board has an ID, you can find it by looking at the URL of the board you're working with
- Make sure you have the following:
- The list of findings are in a list labeled "report
-
- Each report has the report written and named
report.md(if you don't have one, it'll just grab the first.mdattachment. If no.md, the first attachment. If no attachment, it will error. ) - Each report has a label of "HIGH", "MEDIUM", "LOW", "QA", or "GAS"
-
- The list of findings are in a list labeled "report
- Run the following
trello_to_audit_report <BOARD_ID> --api-key <API_KEY> --token <API_TOKEN>
And you should get a markdown output to output.md!
Quickstart - Advanced
The package can also:
- Generate a PDF
- Add any default text before the file
We have some examples in this repo if you installed from source.
trello_to_audit_report 1AhNmEQE --pdf-output examples/example_pdf.pdf --text-before-file examples/example_text_before.md -o ./examples/example_markdown.md
Or, if you have a certain severity like QA in a single ticket, run the following:
trello_to_audit_report 1AhNmEQE --pdf-output examples/example_pdf.pdf --text-before-file examples/example_text_before.md -o ./examples/example_markdown.md -e Q
More Resources
You can then, dump it into pandoc to generate a PDF. We have a repo that shows you how to do that as well.
Metadata
Release files for trello-to-audit-report 0.1.3
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 |
|---|---|---|---|---|
| trello_to_audit_report-0.1.3.tar.gz | 12.6 kB | Without provenance | Details for trello_to_audit_report-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trello_to_audit_report-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for trello_to_audit_report-0.1.3-py3-none-any.whl |
Total release size: 23.4 kB
Release files / trello_to_audit_report-0.1.3.tar.gz
| Download URL | trello_to_audit_report-0.1.3.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f99ad6d1cb4be2dcc0e5c4ba7f1c913459f3869fde07a804a36001c392bccc0
|
|
BLAKE2b-256 checksum How to use checksums |
cd6a3df82918931ac3ade45e1fd738d6f47e36d3ac902dd244e2fdd197975a54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / trello_to_audit_report-0.1.3-py3-none-any.whl
| Download URL | trello_to_audit_report-0.1.3-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b04c13f35e12fed2555ab0d578ca51c45b50429795d42df8768740467a38590
|
|
BLAKE2b-256 checksum How to use checksums |
404cb447b2d761f5a2323b89e79941e8026788221125f6ba0e9fb61ee9f5a15b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for trello-to-audit-report 0.1.3
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.