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,lxmland others in seconds. - 📦 Self-Contained: Our wheels are bundled (or statically linked). You don't need to manually run
pkg install libopenblasorlibxml2. 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:
- Installs Deps: Automatically runs
pkg installfor necessary build tools (libopenblas, rust, ...) - 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:
- Pre-compiled
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
740c0cf6c2cba5a51872712c3276e0278b91d9335540bbc6c10e6bc871bab45d
|
|
| MD5 |
0ad651522bef6c1cbe53e4bd54ef8b6d
|
|
| BLAKE2b-256 |
a6bfcb61e9bb296a4713b0e607eacaa4dbfcd233b4ba0b336a322d5a2f7064c2
|
Provenance
The following attestation bundles were made for termux_pip-0.1b16.tar.gz:
Publisher:
build.yml on termux-pypi/termux-pip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
termux_pip-0.1b16.tar.gz -
Subject digest:
740c0cf6c2cba5a51872712c3276e0278b91d9335540bbc6c10e6bc871bab45d - Sigstore transparency entry: 1421505758
- Sigstore integration time:
-
Permalink:
termux-pypi/termux-pip@17a7680633f139fc2e687ce19b0a1b6bbddcadf5 -
Branch / Tag:
refs/tags/v0.1-beta.16 - Owner: https://github.com/termux-pypi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@17a7680633f139fc2e687ce19b0a1b6bbddcadf5 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a0557dad71d8c04e82ff541528874da39ec56b2d659ab92d94318a6ba88a4ae
|
|
| MD5 |
0dc2fe9174b67dea14c30957cd355de4
|
|
| BLAKE2b-256 |
b6a94aa85651fb09e5febabbaa65c7d885fa8c7b9471ff7df0338d871e1d049e
|
Provenance
The following attestation bundles were made for termux_pip-0.1b16-py3-none-any.whl:
Publisher:
build.yml on termux-pypi/termux-pip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
termux_pip-0.1b16-py3-none-any.whl -
Subject digest:
6a0557dad71d8c04e82ff541528874da39ec56b2d659ab92d94318a6ba88a4ae - Sigstore transparency entry: 1421505894
- Sigstore integration time:
-
Permalink:
termux-pypi/termux-pip@17a7680633f139fc2e687ce19b0a1b6bbddcadf5 -
Branch / Tag:
refs/tags/v0.1-beta.16 - Owner: https://github.com/termux-pypi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@17a7680633f139fc2e687ce19b0a1b6bbddcadf5 -
Trigger Event:
release
-
Statement type: