Pythonista-pip downloads a Python library and all its dependencies into a lib folder in your project. Allowing use of packages that arent natively built into Pythonista.
Simple installer: Create a file named install.py, paste the contents and run it.
import urllib.request
urllib.request.urlretrieve("https://raw.githubusercontent.com/DeveloperEclipse/Pythonista-pip/refs/heads/main/src/pyistapip.py", "pyistapip.py")
print(f"Run pyistapip.py to begin")Usage:
- Run the script.
- Enter the package name.
- Pythonista-pip downloads the package and all of its dependencies (even sub-dependencies).
Then, when using the library in Pythonista:
import sys
sys.path.insert(0, r'./lib')
import your_package- Some libraries use subprocess, which Pythonista doesn't support.
- Pythonista-pip downloads sdist only, not wheels.
- Not all libraries may work as expected.
)