Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.