Skip to main content

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

  1. Build the Docker image:

    make image
    
  2. Run the Docker container:

    podman run -it --rm tripit
    

Using Python

  1. Install the dependencies:

    uv sync --frozen --no-dev
    
  2. 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

illallangi_tripit-0.1.0.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

illallangi_tripit-0.1.0-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page