Skip to main content

# pipenv-pex Quickly create [PEX](https://github.com/pantsbuild/pex) files out of your Pipenv projects using this one simple command!

PEX files are an expansion upon [zipapp](https://docs.python.org/3/library/zipapp.html)s. You can bundle your application’s modules along with their dependencies into one file, executable using a Python interpreter.

## Installation Using the lovely [pipx](https://github.com/pipxproject/pipx):

pipx install pipenv-pex

## Usage ` shell cd project-with-pipfile pipenv-pex --entry-point "epic_project:main" python ./project-with-pipfile.pex ` - –entry-point argument should have the form “pkg.mod:fn”, where “pkg.mod” is a package/module in the archive, and “fn” is a callable in the given module. (taken from[here](https://docs.python.org/3/library/zipapp.html#command-line-interface)) - All parameters except –exclude are passed directly to PEX, –entry-point being one of them.

## Why not use pex directly? Since pipenx-pex piggybacks on the informaton in your Pipfile, some automations become possible: - Dependencies are fetched from your Pipfile, so you don’t have to update your Makefile each time you change a dependency in your Pipfile - _(unrelated to pipenv actually)_ Irrelevant noise files are ignored when bundling the modules (such as .mypy_cache, __pycache__ etc.), saving a few precious MBs :) additional files and directories can be added to this list via the –exclude parameter.

Metadata

Release files for pipenv-pex 0.2.3

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-pex 0.2.3
File Size Uploaded
pipenv-pex-0.2.3.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pipenv-pex 0.2.3
File Interpreter ABI Platform
pipenv_pex-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / pipenv-pex-0.2.3.tar.gz

Download URL pipenv-pex-0.2.3.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b864e19a1736d489005c135bb05cea12724b3df1bef48d072ee367e363c5b52f
BLAKE2b-256 checksum
How to use checksums
07ec086ce75d213421b5dd6db995bdbbc3c4e3e33f8b3a3462b3574e1af80220
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.54.1 CPython/3.6.9

Release files / pipenv_pex-0.2.3-py3-none-any.whl

Download URL pipenv_pex-0.2.3-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c97cd2ef965550a7b82f288d1594d9e5a3d3ec87c5120c5556c0ed450bba06d4
BLAKE2b-256 checksum
How to use checksums
b19f2b51bc9fb5f29027796197b37a8bf9077e6a00c86cefbbc576abfce2627d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.54.1 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

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