
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Trello Extract is a Python project that uses the py-trello library and python-dotenv to authenticate with the Trello API and fetch details from Trello boards, lists, and cards. This project demonstrates how to securely manage API credentials and interact with Trello's API to retrieve project data for further processing.
AI Trello Extract is a Python-based tool that leverages the py-trello
library and python-dotenv
to interact seamlessly with the Trello API. It facilitates the authentication process via OAuth and enables users to retrieve detailed information from Trello boards, lists, and cards. This project exemplifies secure API credential management and organized data retrieval for further processing.
Managing and extracting data from Trello boards can be cumbersome, especially when dealing with multiple boards and extensive card details. AI Trello Extract streamlines this process by providing a secure and efficient way to authenticate with the Trello API, fetch comprehensive board data, and output it in accessible formats like Markdown and JSON. This enables developers and project managers to integrate Trello data into their workflows, documentation, and analytics effortlessly.
Install AI Trello Extract via PyPI:
pip install ai-trello-extract
For more details, visit the PyPI project page.
Sign Up for a Trello Account:
Get API Key and Token:
git clone https://github.com/DEV3L/ai-trello-extract
cd ai-trello-extract
Copy the default environment configuration and update it with your Trello API credentials:
cp env.default .env
The following environment variables can be configured in the .env
file:
TRELLO_API_KEY
: Your Trello API key.TRELLO_API_TOKEN
: Your Trello API token.TRELLO_BOARD_NAME
: The name of the Trello board you wish to extract data from.OUTPUT_DIRECTORY
: The directory where output files will be saved (default is bin
).Ensure you have Hatch installed. If not, install it using brew
:
brew install hatch
Create and activate the virtual environment:
hatch env create
hatch shell
Run the run_end_to_end.py
script to authenticate with Trello, fetch board details, and export data:
python run_end_to_end.py
.env
file to authenticate with the Trello API.Defined in pyproject.toml
under [tool.hatch.envs.default.scripts]
:
End-to-End Tests:
hatch run e2e
Unit Tests:
hatch run test
Publish Package to PyPI:
hatch run publish
The project includes comprehensive tests to ensure reliability and correctness.
Execute end-to-end tests to verify the complete workflow:
hatch run e2e
Run unit tests to validate individual components:
hatch run test
To monitor code coverage within your editor (e.g., VSCode), use Coverage Gutters:
Command + Shift + P => Coverage Gutters: Watch
ai-trello-extract/
āāā ai_trello_extract/
ā āāā clients/
ā ā āāā trello_client.py
ā āāā dataclasses/
ā ā āāā categorized_list.py
ā ā āāā trello_card.py
ā āāā env_variables.py
ā āāā formatters/
ā ā āāā escape_markdown.py
ā ā āāā generate_markdown.py
ā āāā orchestrators/
ā ā āāā orchestration_service.py
ā ā āāā orchestration_service_test.py
ā āāā services/
ā ā āāā trello_service.py
ā ā āāā trello_service_test.py
ā āāā tests/
ā ā āāā conftest.py
ā ā āāā env_variables_test.py
ā ā āāā trello_client_test.py
ā āāā functions.py
ā āāā run_end_to_end.py
ā āāā generate_markdown_test.py
āāā .env.default
āāā LICENSE
āāā pyproject.toml
āāā continuous-integration.yml
āāā README.md
ai_trello_extract/
: Main package containing modules for clients, dataclasses, formatters, orchestrators, and services.tests/
: Contains unit and integration tests.pyproject.toml
: Configuration file for project metadata, dependencies, and tools.continuous-integration.yml
: GitHub Actions workflow for continuous integration.run_end_to_end.py
: Script to execute the full data extraction and export process..env.default
: Template for environment variables configuration.We welcome contributions! To contribute:
git checkout -b feature/YourFeatureName
to create a new branch.hatch run test
to verify.We expect all contributors to adhere to our Code of Conduct:
By participating in this project, you agree to abide by these guidelines.
This project is licensed under the MIT License.
Note: If you have any questions or need further assistance, feel free to open an issue or reach out to the maintainers.
FAQs
Trello Extract is a Python project that uses the py-trello library and python-dotenv to authenticate with the Trello API and fetch details from Trello boards, lists, and cards. This project demonstrates how to securely manage API credentials and interact with Trello's API to retrieve project data for further processing.
We found that ai-trello-extract demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.