Skip to main content

Provides persistent environment for Python 3 scripts

Project description

pyenv

Provides persistent environment for Python 3 scripts

Introduction

You have a host python environment py_env.host for your code. You execute in it and the side-effects of your code will persist on that environtment.
This is helpful when you are loading big files, which you definitely would not like to wait for it each time you start your script.

  • How to start the host environment
python3.6 -m py_env.host
  • How to send your code to the host environment
python3.6 -m py_env.client -c "py_env.set('shit', 'happens')"

python3.6 -m py_env.client -c "print(py_env.keys())"
dict_keys(['shit'])

python3.6 -m py_env.client -c "py_env.get('shit')"
happens

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

py-env-0.0.1.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

py_env-0.0.1-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

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