This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A command line interface to Twitter's pex targeting complex, numeric-heavy Python packages.

Project Description

bintl (the Yiddish word for ‘bundle’) is a Python 2 and 3 compatible command line tool to bundle and deploy Python packages into pex files (python executables) with its own interpreter and dependencies. If you just finished making a Python package and want to deploy it as a standalone executable to your servers, making no calls out to the internet, etc. this will make your life easier!

Why:

Pex is super cool and does all the hard work, but it was hard to understand how to use as an outsider, and tacitly assumes you’re building simpler packages (not numeric-heavy stuff with complex dependencies on BLAS or ATLAS).

Distributing numeric work presents lots of conflicting standards between conda environments, virtual environments, etc., so having a standalone executable to not worry about is fantastic!

Usage:

All you have to do is provide an absolute path to your package, the interpreter you want to bundle, and an output file. You can also add entrypoints (optional) if you want the executable to run a program.

$ bintl --package=/abs/path/to/pkg
        --interpreter=/abs/path/to/bin/python
        --entrypoints=/abs/path/to/entrypoints/script:main
        --output=package-name.pex
$ # To run this specific python executable:
$ ./package-name.pex

That’s it! You can move this executable to any other machine (with the same flavor OS) and use your package.

Installation:

pip install bintl
Release History

Release History

This version
History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
bintl-0.1.4.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Aug 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting