saucy-0.1.0 is not a library.
saucy
saucy is a helper tool for finding Python virtual environments.
Motivation
Tired of writing:
> . env/bin/activate
(env) > .
all the time? Wouldn't it be easier if you didn't have to type env/bin/activate
all the time?
Example
In comes saucy. To install saucy, run:
cargo install saucy
When you run saucy in a direcotry, it will print out the activate
script of the first Python virtual environment it finds. For example:
user@computer:~/important_project/> saucy
/home/user/important_project/env/bin/activate
Thus instead of having to type . env/bin/activate
, you could just type:
user@computer:~/important_project/> . $(saucy)
(env) user@computer:~/important_project/>
But even that feels like too much typing. Instead, add the following line
to your .bash_aliases
file:
alias saucy='. $(\saucy)$'
Now it's as easy as:
user@computer:~/important_project/> saucy
(env) user@computer:~/important_project/>
Enjoy!
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.