{ "info": { "author": "luojiebin", "author_email": "luo.jiebin@foxmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Internet :: WWW/HTTP" ], "description": "flyenv\n=============================================================\na tool helps manage environment variable portably and safely\n-------------------------------------------------------------\n\nInstallation\n------------\n\n::\n\n pip install flyenv\n\n\nUsage\n-----\n\n::\n\n usage: flyenv.py [-h]\n {set,unset,delete,get,list,require,clear,load,encrypt,decrypt}\n ...\n\n a tool helps manage environment variable portably and safely\n\n positional arguments:\n {set,unset,delete,get,list,require,clear,load,encrypt,decrypt}\n\n optional arguments:\n -h, --help show this help message and exit\n\n\nUsage in Django or Flask or others\n----------------------------------\n1. In the same directory with manage.py, create a file name \"flyenv.txt\", then you can add environment variables in this file directly with this format \"name=value\", one key-value\n pair a line, this file allow empty lines and comment lines starts with \"#\". You can also set environment variables in the command line.\n\n2. In any source file you want to use environment variables\n\n::\n\n from flyenv import set_env, get_env\n\n set_env(name, val)\n get_env(name)\n\n3. You can encrypt your env file to protect sensitive data.\n In the command line:\n\n::\n\n $flyenv encrypt secret_key[a string with length 16]\n\nflyenv will remove \"flyenv.txt\" and generate a file name \"flyenv_encrypt.txt\" with encrypted environment variables in it.\nThen you can add this file to your git repository.\n\n4. When you want to use the encrypted environment variables, you can decrypt the file in command line:\n\n::\n\n $flyenv descrypt secret_key[a string with length 16]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/luojiebin/flyenv", "keywords": "flyenv help environment variable management", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "flyenv", "package_url": "https://pypi.org/project/flyenv/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/flyenv/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/luojiebin/flyenv" }, "release_url": "https://pypi.org/project/flyenv/0.1/", "requires_dist": null, "requires_python": null, "summary": "a tool helps manage environment variable portably and safely", "version": "0.1" }, "last_serial": 2578981, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1bfd30090a592d613b82182742c21894", "sha256": "22058dd7bd84dd2e0a67b7d17b059bfe046f64116548aa1a029c86363ebf952e" }, "downloads": -1, "filename": "flyenv-0.0.1.tar.gz", "has_sig": false, "md5_digest": "1bfd30090a592d613b82182742c21894", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4533, "upload_time": "2017-01-17T06:33:06", "url": "https://files.pythonhosted.org/packages/5b/5d/d2e92fc2ea0170ad2f3372afbb4e20150beec7e6ad1101dead8d98af7a6a/flyenv-0.0.1.tar.gz" } ], "0.1": [] }, "urls": [] }