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.1b16.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.1b16-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for termux_pip-0.1b16.tar.gz
Algorithm Hash digest
SHA256 740c0cf6c2cba5a51872712c3276e0278b91d9335540bbc6c10e6bc871bab45d
MD5 0ad651522bef6c1cbe53e4bd54ef8b6d
BLAKE2b-256 a6bfcb61e9bb296a4713b0e607eacaa4dbfcd233b4ba0b336a322d5a2f7064c2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: termux_pip-0.1b16-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.12

File hashes

Hashes for termux_pip-0.1b16-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0557dad71d8c04e82ff541528874da39ec56b2d659ab92d94318a6ba88a4ae
MD5 0dc2fe9174b67dea14c30957cd355de4
BLAKE2b-256 b6a94aa85651fb09e5febabbaa65c7d885fa8c7b9471ff7df0338d871e1d049e

See more details on using hashes here.

Provenance

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