Specify scripts' PyPI dependencies inline
Project description
piprun
======
`piprun` lets you specify PyPI packages your script needs inline:
```python
#!/usr/bin/env piprun Flask==0.10.1 --
from flask import Flask
app = Flask(__name__)
# ...
```
Optionally, specify the Python interpreter path (e.g. for Python 2) as the
first argument:
```python
#!/usr/bin/env piprun /usr/bin/python2 Flask==0.10.1 --
# ...
```
======
`piprun` lets you specify PyPI packages your script needs inline:
```python
#!/usr/bin/env piprun Flask==0.10.1 --
from flask import Flask
app = Flask(__name__)
# ...
```
Optionally, specify the Python interpreter path (e.g. for Python 2) as the
first argument:
```python
#!/usr/bin/env piprun /usr/bin/python2 Flask==0.10.1 --
# ...
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
piprun-0.0.5.tar.gz
(5.4 kB
view details)
File details
Details for the file piprun-0.0.5.tar.gz.
File metadata
- Download URL: piprun-0.0.5.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d45c7d65f7ca5926270e6ee98edf93eabee6379db005cc914675d98de90f1d26
|
|
| MD5 |
cb4bcdbe83a7d291c0a429f429d0886e
|
|
| BLAKE2b-256 |
9d54fdb1636f0ac5059863a1540613dddccbf4dd250c669beb671ddc28917e9a
|