Giter Site home page Giter Site logo

pep582's Introduction

Single file PEP582 implementation

This is a single file implementation for PEP 582.

Here is a demo on Windows

Working on Windows

How to use?

curl https://raw.githubusercontent.com/kushaldas/pep582/main/pep582.py -o pep582.py
python3 pep582.py --install

If you are using pypy3 then use the same, you will have to install pip first though.

pypy3 -m ensurepip
pypy3 pep582.py --install

Now, inside of any directory, if you create another directory called __pypackages__, python3/pypy3 will start using it to install any modules via pip and also use those modules (if you are in the same directory).

python3 -m pip install requests

or

pypy3 -m pip install requests

This command will then install the requests module in __pypackages__.

What about executables installed via the modules?

The current implementation only supports running things via python3 -m modulename if you are in the parent directory of the __pypackages__. Same with pypy3 -m modulename.

pep582's People

Contributors

kushaldas avatar treyhunner avatar brettcannon avatar ivanov avatar

Stargazers

Simon avatar ZEN♡ avatar Carlos Z. Bent avatar ZHAO Jin-Xiang avatar Ricardo B. Marliere avatar Paxton Fitzpatrick avatar Stephen Fox avatar Matthew Martin avatar ૮༼⚆︿⚆༽つ avatar  avatar Daniel Nieto avatar  avatar Shawn Hensley avatar  avatar James avatar Simon Willison avatar Matt Givney avatar  avatar Hakan Celik avatar Jim Kring avatar methimpact avatar  avatar Shahriar Shafin avatar Flávio Lisbôa avatar Reilly Tucker Siemens avatar Lve Lvee avatar Christopher Larson avatar Kevin avatar Ben Spaulding avatar Gutierri Barboza avatar Raihan avatar Raúl Negrón avatar Jordan Eremieff avatar Christopher Johnson avatar Ssali Jonathan Kiggundu avatar Andy Shapiro avatar Will Vincent avatar Hemanta avatar Aly Sivji avatar Eddie Antonio Santos avatar Sergio Sánchez Zavala avatar Sagar Giri avatar Benji York avatar Ben Hammond avatar Maxime BORGES avatar  avatar Sylvain Soliman avatar Philip Trauner avatar Graham Duncan avatar Chip Warden avatar Pooja Gajbhiye avatar Tyler Baur avatar Michael Sasser avatar Eugene Triguba avatar Zhao Xiaohong avatar David Caron avatar Gleb Antonevich avatar Hildeberto avatar Marcelo Trylesinski avatar Michael Kennedy avatar Nasir Hussain avatar  avatar Oliver Mannion avatar Roman Hossain Shaon avatar Gonzalo Bulnes Guilpain avatar Konstantin Baikov avatar Patrick Porto avatar Nicolas Forero Puello avatar Sagar B avatar samaksh avatar Martín Gaitán avatar  avatar Jeff Triplett avatar Yevhen Shymotiuk avatar Claudio Jolowicz avatar Rhet Turnbull avatar Chad Smith avatar

Watchers

 avatar James Cloos avatar Hildeberto avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.