{ "info": { "author": "Rohit Sehgal", "author_email": "rohitsehgal1994@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "# JackSON\n

\n\n

\n\nHave you ever used JSON as your config? Have you keep secrets in config as plain text, that you dont want to? Then this is the right tool for you. \n**JackSON** is the simple and flexible file extension of JSON file types written in `python` (in less than 50 lines of code), this extension allows the users to keep their secrets in environment variables and pass the reference to those environment variables into the JSON file(jackson). The secrets in the environment variables will be read securely in to the in memory dict.\n\nThe problem that it solves: \n* Retrive secrest from env variables.\n* Retrive secrets from remote/servers(HSMs).\n\n### How to JackSON\nJackSON is exported as python package. You can install it via `pip`. \n`pip install --user jackson`\n```bash\nexport foo=10\nexport bar=100\n```\nExample JackSON config file. \n```json\n{\n \"_comment1\": \"Value from foo env variable\",\n \"key1\": \"env.foo\",\n \"_comment2\": \"Value from bar env variable\",\n \"key2\": \"env.bar\",\n \"_comment3\": \"Value from python module\",\n \"key3\": \"!a.b\",\n \"_comment4\": \"key/value pair similar to json\",\n \"key4\": \"value4\"\n}\n```\nInside the code.\n```python3\nimport jackson\nimport json # For converting JackSON --> JSON\nd = json.load(jackson.File.open(\"./config.jackson\"))\nprint(d)\n```\nAnd this is how it looks.\n```json\n{ \n \"key4\": \"value4\",\n \"key3\": \"reached\",\n \"key2\": \"100\",\n \"key1\": \"10\",\n \"_comment4\": \"key/value pair similar to json\",\n \"_comment3\": \"Value from python module\",\n \"_comment2\": \"Value from bar env variable\",\n \"_comment1\": \"Value from foo env variable\"\n}\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/r0hi7/jackson", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "JackSON", "package_url": "https://pypi.org/project/JackSON/", "platform": "", "project_url": "https://pypi.org/project/JackSON/", "project_urls": { "Homepage": "https://github.com/r0hi7/jackson" }, "release_url": "https://pypi.org/project/JackSON/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "JSON secrets keeper", "version": "0.1.4" }, "last_serial": 4028674, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d810a6c481ed887a0b0e39c246e09859", "sha256": "d6cd777d338fbe077d7785b9a8d0587ebcf4f74989e2c8ac8f4f5d0070bad661" }, "downloads": -1, "filename": "JackSON-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d810a6c481ed887a0b0e39c246e09859", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1481, "upload_time": "2018-06-29T05:30:44", "url": "https://files.pythonhosted.org/packages/99/36/b74436cfe85d1f19b2892c3318ed7a1a1424cf3c6e2cd8314ee57061ad41/JackSON-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e5562cd478db211ecb84bcd08259c98c", "sha256": "fd187d02b026e2d322f4a443eb1d145a18daeffae54af3de63443316e3570c87" }, "downloads": -1, "filename": "JackSON-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e5562cd478db211ecb84bcd08259c98c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1342, "upload_time": "2018-06-29T05:30:45", "url": "https://files.pythonhosted.org/packages/cf/de/d9ead208144818794202b8630feb86fa3e24ce53643b4e23e870fa80c106/JackSON-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1d75916fff8aa75f0506d8c028ce46c0", "sha256": "9dac589eb3353e1c3bdc811c921f7c7d080af201e6c4e6c1d0d2c23a770a34ae" }, "downloads": -1, "filename": "JackSON-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1d75916fff8aa75f0506d8c028ce46c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1482, "upload_time": "2018-07-01T04:59:48", "url": "https://files.pythonhosted.org/packages/90/f1/bce754ee97d781030895d57b8b1c4dd776fd1c951037988e9286a6e498e2/JackSON-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "379807eac686131e2e7266a4646080bd", "sha256": "8e42fda05a07956f4784a38c6e06a791bdac4144c21a9b7f160ef98e85bfc9c7" }, "downloads": -1, "filename": "JackSON-0.1.1.tar.gz", "has_sig": false, "md5_digest": "379807eac686131e2e7266a4646080bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1323, "upload_time": "2018-07-01T05:00:48", "url": "https://files.pythonhosted.org/packages/84/62/fff98d5c2a20e6baf7a6f5049089b74c2e7a2d2e99c615a79b7c81e74ef3/JackSON-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c3a61ff447bf3e7f78f4907d0ed248dc", "sha256": "1808a21e5083f3b48b7ee6843672eb03a59b0143d7508d872bf9bf7a9f219fad" }, "downloads": -1, "filename": "JackSON-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c3a61ff447bf3e7f78f4907d0ed248dc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1878, "upload_time": "2018-07-01T05:26:56", "url": "https://files.pythonhosted.org/packages/3f/fc/5b74fedb591a9bc43f5eb4772bd176807555d364a00b94d1ddae85c2bb18/JackSON-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "206ee6b4329a7153e281ca3c7e3dd3a7", "sha256": "df3992545415ca1ff20d077b376828badad3e8ad52893c2e42bf0497d4db1545" }, "downloads": -1, "filename": "JackSON-0.1.2.tar.gz", "has_sig": false, "md5_digest": "206ee6b4329a7153e281ca3c7e3dd3a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1854, "upload_time": "2018-07-01T05:26:57", "url": "https://files.pythonhosted.org/packages/0d/0f/98585118748edf961b487e535d5ae2b21c1f30b6e05f370a032b2bf6cfaa/JackSON-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "98222d7d694af4e2534aff176c8396dc", "sha256": "68d632da99a0321713105c4b4e220b4ee0efdf327d985e6737d300a911dc0d17" }, "downloads": -1, "filename": "JackSON-0.1.3.tar.gz", "has_sig": false, "md5_digest": "98222d7d694af4e2534aff176c8396dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3293, "upload_time": "2018-07-04T03:48:56", "url": "https://files.pythonhosted.org/packages/1f/71/8b7ada9bd0a27e691e9b461d2bd548736ea00b2abd983c166d82d62f6b24/JackSON-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "37aab4fa5c4d17ebd6dbb7033de44025", "sha256": "69e01d2946e58a917d7d9ebbcc1941eab128d75a776d5086dd880c40e1da9fdd" }, "downloads": -1, "filename": "JackSON-0.1.4.tar.gz", "has_sig": false, "md5_digest": "37aab4fa5c4d17ebd6dbb7033de44025", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3508, "upload_time": "2018-07-04T03:57:51", "url": "https://files.pythonhosted.org/packages/a8/e0/271c236fd9a8157ccdbf1aa0e628e36041e7ca17bb319e19b010723749e0/JackSON-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "37aab4fa5c4d17ebd6dbb7033de44025", "sha256": "69e01d2946e58a917d7d9ebbcc1941eab128d75a776d5086dd880c40e1da9fdd" }, "downloads": -1, "filename": "JackSON-0.1.4.tar.gz", "has_sig": false, "md5_digest": "37aab4fa5c4d17ebd6dbb7033de44025", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3508, "upload_time": "2018-07-04T03:57:51", "url": "https://files.pythonhosted.org/packages/a8/e0/271c236fd9a8157ccdbf1aa0e628e36041e7ca17bb319e19b010723749e0/JackSON-0.1.4.tar.gz" } ] }