Skip to content

DeveloperEclipse/Pythonista-pip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. Run the script.
  2. Enter the package name.
  3. 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.

Image

About

Custom written pip specifically for Pythonista

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages