Skip to main content

Cross-platform Python environment management.

Project description

cpenv

Cross-platform Python environment management.

cpenv makes it easy to manage dependencies, environment variables, and applications through the use of python virtualenvs and modules. Configurations can be shared between windows, linux, or mac and deployed directly from git.

How it looks

From a terminal

>cpenv create my_env
Creating new environment my_env
...
Activating my_env

[my_env]> cpenv create --module my_module https://github.com/cpenv/template_module.git
Installing https://github.com/cpenv/template_module.git
...

From python

import cpenv
my_env = cpenv.create('my_env)
my_env.add_module('my_module', 'https://github.com/cpenv/template_module.git')
cpenv.activate(my_env, my_module)

From an environment config

environment:
    PATH:
        - '$ENVIRON/relative/path'
dependencies:
    modules:
        - name: template_module
        repo: https://github.com/cpenv/template_module.git
        branch: master
    pip:
        - requests
    git: []

Installation

cpenv is available on pypi

pip install cpenv

Make sure you’ve got Git installed and accessible from your command prompt/terminal and you’re ready to go. Set $CPENV_HOME where you’d like environments to be created (defaults to ~/.cpenv).

Documentation

To learn more visit http://cpenv.rtfd.io/.

Project details


Download files

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

Source Distribution

cpenv-0.4.4.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

cpenv-0.4.4-py2.py3-none-any.whl (22.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file cpenv-0.4.4.tar.gz.

File metadata

  • Download URL: cpenv-0.4.4.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for cpenv-0.4.4.tar.gz
Algorithm Hash digest
SHA256 5225c89c7d8fa65a4f5ac5c4abc3b17a40c7c655aaf4abddf443c609e020a135
MD5 a6b20a2f03913cc40b06e1ba2f36f66e
BLAKE2b-256 a1932441069071ed2d0dbca0a127fa5d74e3782c4c9e33e594474aede40ceb5c

See more details on using hashes here.

File details

Details for the file cpenv-0.4.4-py2.py3-none-any.whl.

File metadata

  • Download URL: cpenv-0.4.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for cpenv-0.4.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 de708e62883d5c8a55a11328e7464db0797116e26567989bcbf9d95a18a736b7
MD5 73898311e0cd10e8cfe8507f9f4df1cb
BLAKE2b-256 d5096f8b84a35f16135e0eeae61d333297535f41c6403dc648d9b0e3a1bd0c2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page