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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file py-env-0.0.1.tar.gz.

File metadata

  • Download URL: py-env-0.0.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.23.0 CPython/3.6.3

File hashes

Hashes for py-env-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f0bfaf849ad09c092da39d919e8087b38c3ecae5ec128aac383ac46a5cbf7681
MD5 f5185bb01868ab01d38d9ce543033bef
BLAKE2b-256 e9691c78df6e586c1da09f6233d28c1a79bb17f3edcb37dbb3b7e73b381a8bd7

See more details on using hashes here.

File details

Details for the file py_env-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: py_env-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.23.0 CPython/3.6.3

File hashes

Hashes for py_env-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0049ec31fd5e030d6fd993d36b33760e6e0057cf75917bc051815ea3cf5b13db
MD5 3929046a762f0962cb352e827c1971f2
BLAKE2b-256 3bf82529e82c2cd90f9da508ec4c3fd031e92dc5ed565af63a7814a8ea4ea4b5

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