Skip to main content

pipenv-shebang

pipenv-shebang allows you to put scripts in your path that run in a pipenv environment.

This solves the problem of launching pipenv run script.py from outside the script directory.

Usage

Put this shebang at the top of your script:

#!/usr/bin/env pipenv-shebang

You can also run your script with

pipenv-shebang /path/to/script

Installation

sudo pip install pipenv-shebang

# or
pip install --user pipenv-shebang

Metadata

Release files for pipenv-shebang 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipenv-shebang 0.0.4
File Size Uploaded
pipenv-shebang-0.0.4.tar.gz 1.8 kB Details

Release files / pipenv-shebang-0.0.4.tar.gz

Download URL pipenv-shebang-0.0.4.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9d38f02ea294eb4ad9ddb13efb18f4cc5264ca9a87f2c86ecf65358728f7bb7a
BLAKE2b-256 checksum
How to use checksums
52a2c8b9f5c384d29f95e72d6e54721b853a17cc91db81cb6fa2a00cdd8dc768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page