A library on top of either pex or conda-packto make your Python code easily available on a cluster
Project description
cluster-pack
cluster-pack is a library on top of either pex or conda-pack to make your Python code easily available on a cluster.
Its goal is to make your prod/dev Python code & libraries easiliy available on any cluster. cluster-pack supports HDFS/S3 as a distributed storage.
The first examples use Skein. We will add more examples for other applications (like Pyspark, Dask) with other compute clusters (like mesos, kubernetes) soon.
Installation
Install with Pip
$ pip install cluster-pack
Install from source
$ git clone https://github.com/criteo/cluster-pack
$ cd cluster-pack
$ pip install .
Prerequisites
cluster-pack supports Python ≥3.6.
Features
- ships a package with all the dependencies from your current virtual environment or your conda environment
- provides config helpers to inject those dependencies to your application
- when using pip with pex cluster-pack takes advantage of pip's editable installs mode, all editable requirements will be uploaded all the time separatly, making local changes direclty visible on the cluster, and not requiring to regenerate the packacke with all the dependencies again
Basic examples with skein
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file cluster_pack-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: cluster_pack-0.0.5-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0119436a76da0f0e7e418b9e3f8bb772644d73b909f81a0cf8cd86f8d4c845e6 |
|
MD5 | cba4843371dca8781acf83233d641b04 |
|
BLAKE2b-256 | 0758476840c57b8b1034e6d1235c43b179b6c560db747d298f21d5c4eec49a60 |