Skip to main content

THipster CLI

CLI tool to interact and use THipster, build with Typer.

THipster is a tool dedicated to simplifying the ordeal associated with writing Terraform files. It allows users to write infrastructure as code in a simplified format, using either YAML (with JINJA) or the dedicated Thipster DSL.

Written entirely in Python, it leverages the Python CDK for Terraform to create Terraform files and apply them to the chosen provider.

License Read the docs documentation Package version Supported Python versions Ruff

Technology Stack

Written in Python 3.11, thipster-cli is build using Typer.

Project Status

THipster-cli is currently in an active development state. If you want to know more, please check the CHANGELOG for more details.

Dependencies

To use the CLI, you will need to have all the required THipster dependencies installed on your machine. Please refer to the THipster documentation for more details.

Installation

The project is designed to be simply installed using pip.

pip install thipstercli

The list of available versions can be found on PyPI.

Configuration

The CLI can be configured using a configuration file. A default config.json file will be created in the /home/<user>/.config/thipstercli directory the first time the CLI is used.

Example of a configuration file:

{
    "app_name": "thipstercli",
    "auth_provider": "google",
    "input_dir": ".",
    "local_models_repository_path": "models",
    "models_repository": "THipster/models",
    "models_repository_branch": "main",
    "models_repository_provider": "local",
    "output_dir": ".",
    "verbose": false
}

Usage

The cli is composed of 3 main commands:

  • version: display the current version of the package
thipster version -t
  • providers: subcommand group tp handle all tasks related to infrastructure providers
thipster providers --help
  • run: main command to execute the thipster tool
thipster run --help

You can also check the thipster package documentation for more details on the main features and purpose of the tool.

How to test the software

To test the CLI, you can run the following command:

pip install -e .[test]
pytest tests

Known issues

All known issues, bugs, improvements, etc. are tracked as GitHub issues.

Getting help

If you have questions, concerns, bug reports, etc, please file an issue in this repository's Issue Tracker.

Getting involved

To install the project in development mode, run the following command:

pip install -e .[dev,test]
pre-commit install && pre-commit run --all-files

If you would like to be involved in the project feel free to check the CONTRIBUTING file. We will be happy to have you onboard.

Open source licensing info

  1. LICENSE
  2. CFPB Source Code Policy

Metadata

Release files for thipstercli 0.6.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thipstercli 0.6.8
File Size Uploaded
thipstercli-0.6.8.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for thipstercli 0.6.8
File Interpreter ABI Platform
thipstercli-0.6.8-py3-none-any.whl Python 3 none any Details

Total release size: 43.3 kB

Release files / thipstercli-0.6.8.tar.gz

Download URL thipstercli-0.6.8.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1cd227012f71fd44b6ccc908255e84c3f647b4dd07365b54abc14980aeb7fabe
BLAKE2b-256 checksum
How to use checksums
addc9286c2aa3e3c22f9c8c2761552ec46ce094f86239f275b86cb2c0e1c93c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / thipstercli-0.6.8-py3-none-any.whl

Download URL thipstercli-0.6.8-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60602ad663a0fc3262493708cccf431f2d27b9a170fb93f6fab8b0dfc1e254a0
BLAKE2b-256 checksum
How to use checksums
4a48e427453aa1203ae41880eab8a3175eaffd36a866588b122a730da72e4064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.6.8 This release

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.14

2 release files

0.5.11

2 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page