Skip to main content

Tower CLI and runtime environment for Tower.

Project description

Tower CLI

The Tower CLI is one of the main ways to interact with the Tower environment. You can do basically everything you need inside the Tower CLI, including run your code locally or remotely in the Tower cloud.

Installing the Tower CLI

The main way to install the CLI is using the pip package manager.

$ pip install -U tower

You can also download the CLI directly from one of our releases.

Using the Tower CLI

There are two big components in the Tower CLI reposiory: The CLI itself and the runtime environment for the Tower cloud. We host the runtime in this repository and pull it in to our internal code because we want to ensure that the environments behave exactly the same locally and in our cloud!

Using the CLI

It's pretty straight forward! But here's what it looks like right now.

$ tower
Tower is a compute platform for modern data projects

Usage: tower [OPTIONS] <COMMAND>

Commands:
  login    Create a session with Tower
  apps     Interact with the apps that you own
  secrets  Interact with the secrets in your Tower account
  deploy   Deploy your latest code to Tower
  run      Run your code in Tower or locally
  version  Print the current version of Tower
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help                   Print help

About the runtime environment

The tower-runtime crate has the Rust library that makes up the runtime environment itself. All the interfaces are defined in the main crate, and the local package contains the invokation logic for invoking tower packages locally.

To learn more about tower packages, see the tower-package crate.

Contributing

We welcome contributions to the Tower CLI and runtime environment! Please see the CONTRIBUTING.md file for more information.

Code of Conduct

All contributions must abide by our code of conduct. Please see CODE_OF_CONDUCT.md for more information.

Development

Here are a few handy tips and common workflows when developing the Tower CLI.

Python SDK development

We use uv for all development. You can spawn a REPL in context using uv very easily. Then you can import tower and you're off to the races!

uv run python

If you need to get the latest OpenAPI SDK, you can run ./scripts/generate-python-api-client.sh.

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

tower-0.3.6.tar.gz (123.6 kB view details)

Uploaded Source

Built Distributions

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

tower-0.3.6-py3-none-win_arm64.whl (3.0 MB view details)

Uploaded Python 3Windows ARM64

tower-0.3.6-py3-none-win_amd64.whl (3.1 MB view details)

Uploaded Python 3Windows x86-64

tower-0.3.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

tower-0.3.6-py3-none-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

tower-0.3.6-py3-none-macosx_10_12_x86_64.whl (3.5 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file tower-0.3.6.tar.gz.

File metadata

  • Download URL: tower-0.3.6.tar.gz
  • Upload date:
  • Size: 123.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.14

File hashes

Hashes for tower-0.3.6.tar.gz
Algorithm Hash digest
SHA256 8ef54853f65cca980494254ac092a3ec626a554c4250d5570e1b1b7ade2c2b7a
MD5 1d624373f18356d48d5fd77d2eb80c3c
BLAKE2b-256 fa07f2b704cd8d8bfc6b79bb9e4b1a21ed891bd0637d5132c523955fbd9dace6

See more details on using hashes here.

File details

Details for the file tower-0.3.6-py3-none-win_arm64.whl.

File metadata

  • Download URL: tower-0.3.6-py3-none-win_arm64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.14

File hashes

Hashes for tower-0.3.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 f3fbd7ec45301429e41205ec55ebbe5b2b75c97fe3c48acd4090403b4e74b3cf
MD5 5638b279c7afa1f990c280874f51c2bb
BLAKE2b-256 fe9cc346a68aded6fa48be915accf42d75135189e0e55a00af534485c8f58249

See more details on using hashes here.

File details

Details for the file tower-0.3.6-py3-none-win_amd64.whl.

File metadata

  • Download URL: tower-0.3.6-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.14

File hashes

Hashes for tower-0.3.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 55f32fd68ba00b763d48154f74564b6b065ea14db36dfecf5335a315da34709e
MD5 e71b67301217791825b589af45e6b27b
BLAKE2b-256 1128c57f87bc4c1804eb6099a15ef7b93fbaeb4b6ee9ed9953443f8f2b538d33

See more details on using hashes here.

File details

Details for the file tower-0.3.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tower-0.3.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9560cb640539acb6caef3b09200e468b56daaf9c10a160ef4a0c636763fe1d94
MD5 bfc8657eb9b377ad78d6945c76812c3c
BLAKE2b-256 9ad0db70fd155217691f2651107d16fda9c9fb73ab6ff4b35c25d4c6c72f9a80

See more details on using hashes here.

File details

Details for the file tower-0.3.6-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tower-0.3.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fab4b8f1edde1cfe711070fadef8064b38397fcf969b94aef6604d999872193e
MD5 e31aea731e000369aab5c1f624e89771
BLAKE2b-256 c5de94ad0d7ca1731a2fed4c998e345403f33b3b5c0914663930e5c9a157ab81

See more details on using hashes here.

File details

Details for the file tower-0.3.6-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for tower-0.3.6-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 69622f1e9e9098890415aecaa3d376dbee57671a984c67654e503b5192c475b8
MD5 b597ffa647753ed887298203e6b94413
BLAKE2b-256 7e3a4fc001099ccce5c4a608fa12f593093b5ea68ea670eb49705041facc9dba

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