Skip to main content

CLI tool to configure the termux-pypi index and compile dynamic wheels

Project description

⚡ termux-pip (tpip)

termux-pip is a CLI utility that configures your Termux environment to use pre-compiled, self-contained wheels for heavy Python packages. Say goodbye to clang errors and hour-long builds.


🚀 Why use tpip?

  • ⚡ Instant Install: Installs numpy, pandas, scipy, lxml and others in seconds.
  • 📦 Self-Contained: Our wheels are bundled (or statically linked). You don't need to manually run pkg install libopenblas or libxml2. Everything is inside the .whl.
  • 🔧 Native Experience: Once set up, you just use standard pip install. No new commands to learn.

📦 Installation

pip install termux-pip

🛠 Usage

1. Setup the Repository

Run this command once to configure your pip to point to our optimized Termux index:

tpip setup

2. Install Packages

Now, simply use pip as usual. It will automatically prefer our pre-compiled wheels.

# No need to install build dependencies
pip install numpy pandas pillow

Advanced: Building Wheels (tpip build)

You can build packages locally using our Recipe System.

tpip build automates the complex compilation process by pulling build recipes (patches, flags, and system dependencies).

tpip build <path_to_the_recipe>
# Example: tpip build recipe.yaml

What this command does:

  1. Installs Deps: Automatically runs pkg install for necessary build tools (libopenblas, rust, ...)
  2. Patches & Builds: Applies Android-specific patches (if available) and compiles the wheel locally

How it works

Normally, pip downloads source code and tries to compile it on your phone, which requires build tools and system libraries.

tpip setup changes your pip configuration to include the Termux-PyPI index. This repository hosts wheels that are:

  1. Pre-compiled
  2. Repaired to include all necessary dynamic libraries (like OpenBLAS) inside the wheel itself.

⚠️ Disclaimer

This is an unofficial community project. It is not affiliated with the official Termux development team.

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_pip-0.1b15.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

termux_pip-0.1b15-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file termux_pip-0.1b15.tar.gz.

File metadata

  • Download URL: termux_pip-0.1b15.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for termux_pip-0.1b15.tar.gz
Algorithm Hash digest
SHA256 c8f3d88516ec59154d9ea8eb455bb9bc5f6573f3dd7bd7025ff2c68632461566
MD5 5b1a11564fe1c8afad274622d86cd044
BLAKE2b-256 dc35eb8f2520ec17049e7e80233d31710012deef5d733f71238bd97b0cdf7720

See more details on using hashes here.

Provenance

The following attestation bundles were made for termux_pip-0.1b15.tar.gz:

Publisher: build.yml on termux-pypi/termux-pip

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_pip-0.1b15-py3-none-any.whl.

File metadata

  • Download URL: termux_pip-0.1b15-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for termux_pip-0.1b15-py3-none-any.whl
Algorithm Hash digest
SHA256 b953b0ca43fab6adeac5cd204e6d12de51c6577cc90a7e68c39ce8cef3dd9aaa
MD5 fc7525717e6027659e2d0e82fdf35996
BLAKE2b-256 76853f419577c8056831e5adba43060d920a927bee88eef3114b7affcf888b9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for termux_pip-0.1b15-py3-none-any.whl:

Publisher: build.yml on termux-pypi/termux-pip

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