Skip to main content

Termux development environment setup tool (PostgreSQL, Redis, etc.)

Project description

Termux Dev Setup (tds)

A comprehensive tool to set up and manage a development environment in Termux (Proot/Ubuntu).

Features

  • PostgreSQL: Install, configure, and manage (start/stop/status).
  • Redis: Install, configure, and manage (start/stop/status).
  • OpenTelemetry: Install and configure the OTEL Collector.
  • Google Cloud CLI: Install and configure gcloud.

Installation

From the tools directory:

pip install -e termux_dev_setup

Usage

The tool provides two main commands: setup (installation) and manage (runtime control).

Setup Services

tds setup postgres   # Install PostgreSQL
tds setup redis      # Install Redis
tds setup otel       # Install OpenTelemetry Collector
tds setup gcloud     # Install Google Cloud CLI

Manage Services

Control your running databases easily without remembering complex pg_ctl or redis-server flags.

# PostgreSQL
tds manage postgres start
tds manage postgres stop
tds manage postgres status
tds manage postgres restart

# Redis
tds manage redis start
tds manage redis stop
tds manage redis status
tds manage redis restart

Environment Variables

You can customize installation/management via environment variables:

  • PostgreSQL: PG_PORT, PG_DATA, PG_USER, PG_DB
  • Redis: REDIS_PORT, REDIS_DATA_DIR, REDIS_PASSWORD
  • OTEL: OTEL_VERSION

Legacy Scripts

Old bash scripts and python managers have been archived to termux-dev-setup-legacy-scripts.zip in the tools root.

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

termux_dev_setup-0.1.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

termux_dev_setup-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file termux_dev_setup-0.1.0.tar.gz.

File metadata

  • Download URL: termux_dev_setup-0.1.0.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for termux_dev_setup-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b6fd217eba38a31b42fb2a244176a0480c2d81042369e279ec4732e3464123f9
MD5 467400361efc5077c89782e5f99fba4c
BLAKE2b-256 1929e0485e234dc5f985de4623540824671ba4dc3db1d118faff876aaf0db549

See more details on using hashes here.

Provenance

The following attestation bundles were made for termux_dev_setup-0.1.0.tar.gz:

Publisher: publish.yml on dhruv13x/termux-dev-setup

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

File details

Details for the file termux_dev_setup-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for termux_dev_setup-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcd28da00286c3ae4eb4c2d411c1dcb01933d6396dc7b34ad7185f6f107b11b1
MD5 15dc1a557db5c087a8498c63841f62df
BLAKE2b-256 a7b7a40d319078b49bf7f075eab70f02ff95432e91a5d7ec9af6bfe5a3a85217

See more details on using hashes here.

Provenance

The following attestation bundles were made for termux_dev_setup-0.1.0-py3-none-any.whl:

Publisher: publish.yml on dhruv13x/termux-dev-setup

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