Settings

Theme

Show HN: Pythonloc, invokes Python with local dir 'pypackages' on path

github.com

1 points by grassfedcode 8 years ago · 1 comment

Reader

grassfedcodeOP 8 years ago

pythonloc is a drop in replacement for python that automatically recognizes a __pypackages__ directory and prefers importing packages installed in this location over user or global site-packages.

If you are familiar with node, it is similar to node_modules.

This is a pure Python implementation of the proposal laid out in PEP 582. The CPython implementation is available at https://github.com/kushaldas/cpython/tree/pypackages.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection