Skip to main content

Python client and `tbot` CLI for the Timberbot Timberborn HTTP API

Project description

timberbot

Python client and tbot CLI for the Timberbot Timberborn mod HTTP API. Talks to the C# mod running inside the game on localhost:8085.

Install

pipx install timberbot

Or from source:

pip install -e python/

Use

tbot summary
tbot buildings
tbot place_building prefab:Path x:120 y:130 z:2 orientation:south
tbot top
tbot --help

The tbot command is the entry point for everything. Run with no args to list all commands; run with --help for global flags.

Layout

  • timberbot.api.client.TimberbotClient — pure HTTP client, one method per endpoint.
  • timberbot.state.SettlementContext — per-settlement persistent memory (brain.toon).
  • timberbot.formatters — colors, tables, ASCII map, live dashboard renderer.
  • timberbot.cli — argv parsing, command registry, main entry point.

The from timberbot import Timberbot alias re-exports TimberbotClient.

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

timberbot-0.9.0.tar.gz (49.2 kB view details)

Uploaded Source

Built Distribution

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

timberbot-0.9.0-py3-none-any.whl (62.5 kB view details)

Uploaded Python 3

File details

Details for the file timberbot-0.9.0.tar.gz.

File metadata

  • Download URL: timberbot-0.9.0.tar.gz
  • Upload date:
  • Size: 49.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for timberbot-0.9.0.tar.gz
Algorithm Hash digest
SHA256 031d26a36e8814a2f509d3b714350c3a5607556dd656db14122ede433fa5a4c0
MD5 7f7411cc45676f5b1b0ff065c242d1e7
BLAKE2b-256 faf587a473b52a0fc305a9b7de9746807397d23532cf4c45b758f782106747f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for timberbot-0.9.0.tar.gz:

Publisher: publish.yml on impuls42/timberbot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file timberbot-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: timberbot-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 62.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for timberbot-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 333b9f0694439ff1ba6f67cb524e2d2341a568534b8fd03855611fba07202be1
MD5 81180dbc4158002a7ed51b37c1ba3452
BLAKE2b-256 91037fe282655ee6658b0b9caebcee186408079854e6cbb30c43b0bf5cf5c0c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for timberbot-0.9.0-py3-none-any.whl:

Publisher: publish.yml on impuls42/timberbot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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