Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

piper

piper let's you dynamically switch between different library versions using venvs.

Example

  1. Create a venv with a library version incompatbile with your current environemnt
python -m venv venv
source venv/bin/activate
pip install transformers=4.43
  1. Dynamically switch in your code to it
from piper import with_venv

# ... code using your regular transformer version
with with_venv('./venv'):
    import transformers
    # do transfomer 4.43 work

# ... continue with code using your regular transformer version

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages