Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

travel-animator

Render videos for the Travel Animator app.

A companion to the Travel Animator service; it needs an account. See licence for the terms.

The Python import path is tada_render.

Install

pip install travel-animator

Requirements: Python 3.12+, an OpenGL implementation (a GPU driver in production, Mesa/llvmpipe for CPU-only use on Linux), and FFmpeg/PyAV's usual runtime libraries.

Linux, macOS, and Windows are all supported. On Windows the GL context comes from WGL, which needs an interactive desktop session: a service (session 0) cannot create one, and there is no software-render fallback as on Linux.

For the MCP server, install the mcp extra:

pip install "travel-animator[mcp]"

The extra keeps the MCP SDK out of the base install (and out of the GPU worker's dependency set — the renderer itself never imports it).

CLI

Console script: travel-animator.

travel-animator login           # interactive magic-link login, or store a bearer token
travel-animator logout          # remove locally stored credentials (local only; see below)
travel-animator render-bundle   # render a prepared, offline bundle to MP4
travel-animator mcp             # run the stdio MCP server (requires the `mcp` extra, below)

login authenticates against the same account system the Travel Animator mobile app uses. With no argument on an interactive terminal it runs a magic-link flow (email -> 6-digit code); with a token argument, -, or piped stdin it stores a bearer token directly (for CI). Credentials are written to ~/.config/tada/credentials.json (or $XDG_CONFIG_HOME/tada/credentials.json) with mode 0600 — the same XDG-style location on every platform; %APPDATA% is not used. On Windows 0600 is a no-op beyond the read-only bit, so protection comes from the ACLs your user profile already grants.

logout removes whatever is stored locally. There is currently no server-side session revocation: a stolen credentials file remains valid at the login service until it naturally expires. logout only stops this machine from presenting it.

render-bundle renders a prepared bundle with no network access. Its --encoder default is libx264, which runs anywhere; pass --encoder h264_nvenc for NVIDIA hardware encoding. Run travel-animator render-bundle --help for the full flag reference.

MCP server

The mcp extra adds travel-animator mcp, a stdio MCP server that lets an AI assistant do the whole job for you: plan a route, tune how the animation looks, and render the video. A typical MCP client configuration:

{
  "mcpServers": {
    "travel-animator-mcp": {
      "command": "travel-animator",
      "args": ["mcp"]
    }
  }
}

Run travel-animator login in a terminal first — tools that need a credential fail with a clear message telling you to do so, and auth_status lets an agent check before it builds a trip it cannot render.

Licence

travel-animator is published under a limited use licence, not an open-source licence. In short: you may install and run it unmodified to prepare and render Travel Animator content and to talk to Lascade's services. You may not redistribute it, modify it, or build a competing service with it. The full terms ship inside the package at tada_render/LICENSE.

The bundled fonts (SIL Open Font License 1.1) and flag artwork (MIT) are third-party assets under their own licences, which that restriction does not touch. Their notices and full licence texts are in tada_render/THIRD-PARTY-NOTICES.md.

For redistribution or modification rights, contact Lascade.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

travel_animator-0.2.0a3-py3-none-any.whl (10.1 MB view details)

Uploaded Python 3

File details

Details for the file travel_animator-0.2.0a3-py3-none-any.whl.

File metadata

File hashes

Hashes for travel_animator-0.2.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 00144d396ea35dd4667f606122ac37c6884887f3fb4c08fc137110867ba20130
MD5 14ab119b580bb6d1490982a11555c48e
BLAKE2b-256 d9bd3fcbbcd3eda701dcad30bccdfc871ab69e11d3c96d68dcdc3f7e6aa612d8

See more details on using hashes here.

Supported by

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