Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexprengere/localinstall
Local installer of Python packages
https://github.com/alexprengere/localinstall
install localinstall python python-packages
Last synced: 23 days ago
JSON representation
Local installer of Python packages
- Host: GitHub
- URL: https://github.com/alexprengere/localinstall
- Owner: alexprengere
- License: apache-2.0
- Created: 2014-07-30T14:36:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-24T07:22:35.000Z (about 8 years ago)
- Last Synced: 2024-10-03T19:46:41.273Z (about 1 month ago)
- Topics: install, localinstall, python, python-packages
- Language: Python
- Homepage: http://alexprengere.github.io/localinstall
- Size: 43.9 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - localinstall - Local installer of Python packages (Python)
README
LocalInstall
============Local installer of Python packages.
This requires *pip*.Python API
----------
Expose function to install and import locally.This piece of code is used to install on the fly
a package locally. It can be useful to use third party
modules on environment where you can deploy code but do
have direct ssh access to install stuff. For example to
run streaming jobs in Python on a Hadoop cluster:
```python
from local_install import install
pytz = install('pytz')
NO_PYTZ = pytz is None
```CLI
---
```bash
python local_install.py pytz
python local_install.py pytz --target toto
```