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-cli

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_cli-0.3.3.tar.gz (114.5 kB view details)

Uploaded Source

Built Distributions

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

tower_cli-0.3.3-py3-none-win_arm64.whl (3.0 MB view details)

Uploaded Python 3Windows ARM64

tower_cli-0.3.3-py3-none-win_amd64.whl (3.1 MB view details)

Uploaded Python 3Windows x86-64

tower_cli-0.3.3-py3-none-win32.whl (2.9 MB view details)

Uploaded Python 3Windows x86

tower_cli-0.3.3-py3-none-musllinux_1_2_x86_64.whl (5.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

tower_cli-0.3.3-py3-none-musllinux_1_2_i686.whl (5.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

tower_cli-0.3.3-py3-none-musllinux_1_2_armv7l.whl (5.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARMv7l

tower_cli-0.3.3-py3-none-musllinux_1_2_aarch64.whl (6.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

tower_cli-0.3.3-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_cli-0.3.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (5.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

tower_cli-0.3.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

tower_cli-0.3.3-py3-none-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

tower_cli-0.3.3-py3-none-macosx_10_12_x86_64.whl (3.5 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

tower_cli-0.3.3-py3-none-linux_armv6l.whl (5.4 MB view details)

Uploaded Python 3

File details

Details for the file tower_cli-0.3.3.tar.gz.

File metadata

  • Download URL: tower_cli-0.3.3.tar.gz
  • Upload date:
  • Size: 114.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.12

File hashes

Hashes for tower_cli-0.3.3.tar.gz
Algorithm Hash digest
SHA256 a120e0775fa337ee7bd4e3be4fb6764e86162a0d74377d585f7bc485b9d6f689
MD5 347a2f6e4a5ebde541f86ff4ff56ebf1
BLAKE2b-256 bdc6b25268492da0fd27cd8c63f29932953750d8c3aea7b7f2134f34bc714595

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d97bd13be4306c63ee1304f50c79c3d302bcd843a6ac195116cbd59d9fd5785b
MD5 275a6dd32dbad91648e0db8cfb2b8415
BLAKE2b-256 d22a3bf81afd4e1e55a2b7897740672ca048be63edbc43d95bcc66cf4b1a729e

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 59e89e151a2979b7e773d39350c9a20051e31dcb717d7befc5b39678cc2c46e3
MD5 cf21e783e00a6806e04ce1c4f85f4451
BLAKE2b-256 639deae0955d8ff946c133db79ab765d7409f05232c8a08dc6d1b069afdb5df6

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-win32.whl.

File metadata

  • Download URL: tower_cli-0.3.3-py3-none-win32.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.12

File hashes

Hashes for tower_cli-0.3.3-py3-none-win32.whl
Algorithm Hash digest
SHA256 e537d510e64329a59b9e48ef6d8df8720cff9bb78cfb06b91ab5ea84c65cce70
MD5 9e8346a902c99f5fa884847abf57fad9
BLAKE2b-256 6394a66cf59fb8e9b962afccf7af033a6e8c8524137dd70a22964c060b584e81

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d52d3157c3ff40a3129e764636dbb9c3d7f238fd7fc990031c9eaef9b777dc67
MD5 c7ee340e9ab07cd139f218e0233216c8
BLAKE2b-256 ded45698f43e51b47b45b8a154d43863795115b8ae9993b4e3c9e7f59f704382

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 172d8a83967ac82a882247b0744d9d265888203e476e48f2d809eff7d1c260ff
MD5 1554d22e619014e19ff24879faf209bb
BLAKE2b-256 2734f00b1ff7a2a6c60121368820f5e91bdb7194f33a54a88f9880cd166f5056

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 8a3acffc55089f2d259984eb9c00369b6d481e8a06e25deae9ba5bce43277e9c
MD5 fe72ee1b13e204bb691a17dfffc7c4b1
BLAKE2b-256 c728f90e4191f4eed14543231a1c4988df19b603780d4154d8646120b26aadfd

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6b8b21b33f2d1f657c58857c04d26f19050373c526e2ec66a907b1cfed795a19
MD5 567208c2f4d75c38f2642cc43c9ec5df
BLAKE2b-256 8acd143838a39f7c5ac3c05393bb3fdea4b02ae9c33a4ae4663f87c47cb53d65

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5f097a878692f154fa1fd08a2f28e456e16adca4c9206d592ad01068fa92baf5
MD5 149ceb1cc6dbfa455d4515f887a74a85
BLAKE2b-256 0ac42665c192d6d33198abec2faba55addf18cf63b488c0396e1b2484f728b3d

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 4205edb053590cedfbc37fc04e44668e43e0b6d3cc79d840dbc4615d6a250113
MD5 53a66923ed4da5754a1d3c04f579a686
BLAKE2b-256 64476bcb291c4cf26f8cf9640f830f8fb27459f4c1c1af8a56befbab40873728

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 195957a9a3143bc425e5fe28f0ede9bd4a717296eb2970fe96bd187ab356c0ea
MD5 86e0cab9b457647a49ca1406131933df
BLAKE2b-256 62465f2e4c0d9cfbc2cf18dc8994e08dbff5a130b84984c0f8c7d94f0169f5f0

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e60792a157a24e0f7a136a11baed27e081b15fbdc3f674803ee127315f2bc72a
MD5 f335bedbd911c4401de3633abd7f7491
BLAKE2b-256 ecebe46ece873257a1ccb30b7d4e328024b59bbbbe00c7b589f2b7997fc5216d

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0ff3ee0e8e4ad16032d3a57608e25c73600db806234dc463b05ca36b2f0f2348
MD5 fd0e58b8c193a45d5c2eda36d4b42411
BLAKE2b-256 6a8d0ff8bcae8857d9fb9f21bc95b3fb4585729c15932412a38cde7409d34a17

See more details on using hashes here.

File details

Details for the file tower_cli-0.3.3-py3-none-linux_armv6l.whl.

File metadata

File hashes

Hashes for tower_cli-0.3.3-py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 d81e79d8f41f4a445e63a9546033b33c5e91180f7b005354f01552ff5b9795db
MD5 e4708a3b86d2e90a482acad3cf423e15
BLAKE2b-256 27add94dc8bc6ba66ad8180662830641378aec5fc9968c17c8303caac2cba40b

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