Skip to main content

CLI tool to configure the termux-pypi index and compile dynamic (or statically linked) 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.1b13.tar.gz (8.7 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.1b13-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: termux_pip-0.1b13.tar.gz
  • Upload date:
  • Size: 8.7 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.1b13.tar.gz
Algorithm Hash digest
SHA256 e7f50daade6e2aae38a343178fe487c2c33f226f9f52ef2298f3215a4682ac77
MD5 c83cbae6ab9fbbee13be522fd163f722
BLAKE2b-256 36724c6c1caa14569a62003936b43032cc1d3b48f428cb894f27bdb017fda022

See more details on using hashes here.

Provenance

The following attestation bundles were made for termux_pip-0.1b13.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.1b13-py3-none-any.whl.

File metadata

  • Download URL: termux_pip-0.1b13-py3-none-any.whl
  • Upload date:
  • Size: 11.5 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.1b13-py3-none-any.whl
Algorithm Hash digest
SHA256 72d541a127abee94a53461d38f1027e94d641ce1ee258b21c442eaf48878efad
MD5 068c7a29bc767ffc0c9bb10c343b51a3
BLAKE2b-256 097116c89148691798282cd848775574ee8ae94f05e3ff036fc7fc911c87d91c

See more details on using hashes here.

Provenance

The following attestation bundles were made for termux_pip-0.1b13-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