Skip to main content

CLI for Raillog V2.0 — railway construction logistics planning

Project description

raillog-cli

Command-line interface for Raillog V2.0 — a spatiotemporal logistics planning system for railway construction sites.

Manages waggons, Bauzüge (construction train groups), stations, tracks, and Fahrten (trips) within a time-bounded project. The core question the system answers: "Where is waggon X at time T, and on which track?"

Install

pip install raillog-cli

Requires Python 3.11+. Connects to a Supabase backend — you need a Raillog project URL and credentials.

Quick start

raillog auth login
raillog project list
raillog project select <n>
raillog context

Agent integration (Claude Code, Cursor, Codex, Gemini, opencode)

After install, run once in your project directory:

raillog install-skill

This writes:

  • ~/.claude/skills/raillog.md — Claude Code skill (auto-loaded)
  • ~/.claude/CLAUDE.md — trigger phrase added
  • ./AGENTS.md — skill file for Cursor, Codex, Gemini CLI, opencode

For Cursor specifically, copy AGENTS.md to .cursor/rules/raillog.mdc.

Commands

raillog auth         login, status, refresh, logout
raillog project      list, select, show, create
raillog station      list, show, create, update, delete, impact
raillog track        list, show, create, update, delete, impact, occupation
raillog waggon       list, show, create, update, delete, impact, types,
                     position, history, set-zustand, zustand
raillog bauzug       list, show, create, update, compose, delete, impact,
                     check-departure, history
raillog travel       list, show, create, update, delete, impact, validate
raillog restriction  list, show, create, delete
raillog query        suggest-track, track-occupation, track-capacity,
                     waggon-availability, conflicts
raillog install-skill

All write commands support --dry-run and --yes. All list/query commands support --json for agent consumption.

License

MIT

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

raillog_cli-0.2.0a1.tar.gz (65.2 kB view details)

Uploaded Source

Built Distribution

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

raillog_cli-0.2.0a1-py3-none-any.whl (71.5 kB view details)

Uploaded Python 3

File details

Details for the file raillog_cli-0.2.0a1.tar.gz.

File metadata

  • Download URL: raillog_cli-0.2.0a1.tar.gz
  • Upload date:
  • Size: 65.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for raillog_cli-0.2.0a1.tar.gz
Algorithm Hash digest
SHA256 117c61952b85bc0a04066caa44e7c47af2b2d91483fda8b50f69516049af3f7f
MD5 fcb5eb583dac2fa484d0c6a6ffc3436c
BLAKE2b-256 a97aac9ee086b77d08dd83c6fea4980a1b79f675a9d0438677eecad3ff19cddb

See more details on using hashes here.

File details

Details for the file raillog_cli-0.2.0a1-py3-none-any.whl.

File metadata

  • Download URL: raillog_cli-0.2.0a1-py3-none-any.whl
  • Upload date:
  • Size: 71.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for raillog_cli-0.2.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5828c4611a5812d006bbd303f1f182e65d4c289947d6e658cf78e649c260ba2
MD5 fb0894814e84086b3ab5dc6211e30910
BLAKE2b-256 c853c75a9344034423e225e51efd684492ddfe1cceb35747ed94c3d612465058

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