Python packages are great. Virtual environments are great. Installing tools from PyPI is awesome. Installing multiple unrelated packages simultaneously in the one virtual environment can be chaos. You might want docker-compose, tox, and aws all available globally, but you don’t want them stepping on each others toes inside the same virtual environment. This is what pisque helps with!
pisque will create a sequestered virtual environment, install a package and its dependencies using pip, and symlink any installed executables into your ~/.local/bin.
$ pisque install tox
Creating virtual environment ~/.local/share/pisque/environments/tox...
Installing dependencies...
Linking installed executables to ~/.local/bin
* tox
$ pisque install docker-compose
Creating virtual environment ~/.local/share/pisque/environments/docker-compose...
Installing dependencies...
Linking installed executables to ~/.local/bin
* docker-compose
Installing
pisque can be installed just like any other Python package. You probably want to install it in its own isolated virtual environment though, for exactly the same reasons that you want to use pisque in the first place! The following bash snippet will install pisque to a scratch virtual environment, then use pisque to install pisque:
$ VIRTUAL_ENV=$( mktemp --directory --tmpdir "pisque-venv.XXXXXX" )
$ python3 -m venv "$VIRTUAL_ENV"
$ "$VIRTUAL_ENV/bin/pip" install pisque
$ "$VIRTUAL_ENV/bin/pisque" install pisque
$ rm -rf "$VIRTUAL_ENV"
Release files for pisque 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pisque-0.1.0.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pisque-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / pisque-0.1.0.tar.gz
| Download URL | pisque-0.1.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0e2b125a4d8977efdd2810b33662754a653932273dfd580b9ff32b703ba42aa
|
|
BLAKE2b-256 checksum How to use checksums |
445ca36df1bc4f0845c57ef2f9070f2961e979339ee2502c4c48bad03287b0bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Linux/5.15.28-1-MANJARO
|
Release files / pisque-0.1.0-py3-none-any.whl
| Download URL | pisque-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27913fff07e21e0305e1454b6b37975f54a63a1d5d2243436eb97ba873a8cfbe
|
|
BLAKE2b-256 checksum How to use checksums |
ac69df0bca77c43458f9e840e945959d9b28bd89493916497f61fd2e5295907f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Linux/5.15.28-1-MANJARO
|