A collection of command line tools to interact with TripIt.
Project description
Illallangi TripIt
Illallangi TripIt is a collection of command line tools to interact with TripIt.
Requirements
- Python >= 3.10.12
- Docker (optional, for containerized usage)
Installation
Using Docker
-
Build the Docker image:
make image
-
Run the Docker container:
podman run -it --rm tripit
Using Python
-
Install the dependencies:
uv sync --frozen --no-dev
-
Install the project:
uv sync --frozen
Usage
Command Line Interface
The main entry point for the CLI is tripit-tools
. You can see the available commands by running:
tripit-tools --help
Example Commands
List trips:
tripit-tools trips
List trips in JSON format:
tripit-tools trips --json
Development
Code Formatting and Linting
To format and lint the code, use the following command:
make ruff
Cleaning Up
To clean up the project directory, use the following command:
make clean
Building and Pushing Docker Image
To build the Docker image, use the following command:
make image
To push the Docker image to a registry defined in the DEV_REGISTRY
environment variable, use the following command:
make push
Project details
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
Hashes for illallangi_tripit-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1caa100147b9116f37d85860dd639ed9108c03f874353f83f7bcb8f29015f1e6 |
|
MD5 | b91bd77885fdd61db8468a970fba211c |
|
BLAKE2b-256 | afd2ab5c15d6ecbea6932b13325327c788697f22b1db4fe2a27a1cfce9ff70d4 |