Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takluyver/installmod
Install a Python package using conda or pip as appropriate
https://github.com/takluyver/installmod
Last synced: 4 days ago
JSON representation
Install a Python package using conda or pip as appropriate
- Host: GitHub
- URL: https://github.com/takluyver/installmod
- Owner: takluyver
- Created: 2017-03-15T13:40:08.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-15T13:46:35.000Z (almost 8 years ago)
- Last Synced: 2024-11-05T10:58:19.550Z (about 2 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Prototype of installing modules from inside Python, using *pip* or *conda*
as appropriate.Usage::
from install import install
install('pandas')At the moment, this assumes that the package has the same name in the two
packaging systems. This is not generally true, but it's true often enough to be
useful in many cases. I am also interested in `indexing pacakges
`__ to extract the names of importable
modules, which could provide a shared namespace for a tool like this.