{ "info": { "author": "martyni", "author_email": "martynjamespratt@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# autoyaml because config should be easy\nAutoconfig is a config generator that takes\na dictionary, writes it to a file and loads it\nback as a dictionary. \n\nThe aim of this project is to standardise the\nway python projects create and feed parameters into \npython applications without having to \nrewrite the same IO functions every time. \n\n\n## Installation\n```\npip install autoyaml\n```\n\n## Usage\nWrite your config either from an interactive terminal\nor from a script\n```\nfrom autoyaml import write_config\n\nconf = {\n 'parameter1': 1,\n 'parameter2': 'something'\n}\n\napplication_name = 'app_name'\n\nwrite_config(conf,application_name)\n```\nLoad your config from another python application\n```\nfrom autoyaml import load_config\n\nclass My_Class(object):\n def __init__(self, **kwargs):\n self.parameter1 = kwargs['parameter1']\n self.parameter2 = kwargs['parameter2']\n self.show_parameters()\n\n def show_parameters(self):\n print('parameter1 : {}'.format(self.parameter1))\n print('parameter2 : {}'.format(self.parameter2))\n\n\nif __name__ == \"__main__\":\n my_class = My_Class(**load_config('app_name'))\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/martyni/autoyaml", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "autoyaml", "package_url": "https://pypi.org/project/autoyaml/", "platform": "", "project_url": "https://pypi.org/project/autoyaml/", "project_urls": { "Homepage": "https://github.com/martyni/autoyaml" }, "release_url": "https://pypi.org/project/autoyaml/2019.9.23.950/", "requires_dist": null, "requires_python": "", "summary": "Load and save config files for python projects", "version": "2019.9.23.950" }, "last_serial": 5872610, "releases": { "2019.9.19.1506": [ { "comment_text": "", "digests": { "md5": "e6e776ea2a053b29ce8fc2e7fd7ac663", "sha256": "9afb1d75fc96529f38a8cd5a839bb0c61cc2b92177a7c977a73ec1fde606bd04" }, "downloads": -1, "filename": "autoyaml-2019.9.19.1506.tar.gz", "has_sig": false, "md5_digest": "e6e776ea2a053b29ce8fc2e7fd7ac663", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3078, "upload_time": "2019-09-19T15:23:25", "url": "https://files.pythonhosted.org/packages/23/7c/cfb7c04882cc78c508344064b2f725c9fd2d46f23359e570cb009b501ccd/autoyaml-2019.9.19.1506.tar.gz" } ], "2019.9.19.1539": [ { "comment_text": "", "digests": { "md5": "222c50e2d04ad0db218bb17ae1ae2ee6", "sha256": "a01235f4746a89cc4c59f655c992acc5bf669463ea8c1fc353cf65ed8e223744" }, "downloads": -1, "filename": "autoyaml-2019.9.19.1539.tar.gz", "has_sig": false, "md5_digest": "222c50e2d04ad0db218bb17ae1ae2ee6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3097, "upload_time": "2019-09-19T15:41:41", "url": "https://files.pythonhosted.org/packages/7d/e6/810ddba1dd78b837770db40ef29cef93bdc54d539f8200bf8e67310ba516/autoyaml-2019.9.19.1539.tar.gz" } ], "2019.9.19.1558": [ { "comment_text": "", "digests": { "md5": "8b95f0f7e2ce65f87ef34cea9c7f7003", "sha256": "1873eb3da936f4e24c2259120f92891447ebae104a2089b44a8e7cae1a7a5173" }, "downloads": -1, "filename": "autoyaml-2019.9.19.1558.tar.gz", "has_sig": false, "md5_digest": "8b95f0f7e2ce65f87ef34cea9c7f7003", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2537, "upload_time": "2019-09-19T15:59:38", "url": "https://files.pythonhosted.org/packages/84/2c/bfdc9afb3a752c4225fbd7e6d71cb6f93f91acd6f245f4a7ea51d4eedef1/autoyaml-2019.9.19.1558.tar.gz" } ], "2019.9.19.1605": [ { "comment_text": "", "digests": { "md5": "00516b7ed6c0b5292e5d9b3e32587b1e", "sha256": "c80763a74f9589320e0f9e5142423a04f2e27e5cb90a9df5de2156ef58601fa8" }, "downloads": -1, "filename": "autoyaml-2019.9.19.1605.tar.gz", "has_sig": false, "md5_digest": "00516b7ed6c0b5292e5d9b3e32587b1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2486, "upload_time": "2019-09-19T16:07:16", "url": "https://files.pythonhosted.org/packages/3d/32/b07b2aa9e716ef5026757218e951ed87a4312f1dd1b9743e3699dc1febcb/autoyaml-2019.9.19.1605.tar.gz" } ], "2019.9.20.1207": [ { "comment_text": "", "digests": { "md5": "3da896b3ab277ea6a6e7cf024fd68433", "sha256": "b1bdf8a2c191175e8be8d2c139e1e5087232ad70eb258aa8edfaf212d2f69442" }, "downloads": -1, "filename": "autoyaml-2019.9.20.1207.tar.gz", "has_sig": false, "md5_digest": "3da896b3ab277ea6a6e7cf024fd68433", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2487, "upload_time": "2019-09-20T12:09:50", "url": "https://files.pythonhosted.org/packages/a3/cb/bfad2a654b9089dc8ca1a1de0e1285b57725b727c1e9941ee3aedb0ca41f/autoyaml-2019.9.20.1207.tar.gz" } ], "2019.9.20.1212": [ { "comment_text": "", "digests": { "md5": "199fd86591f9c1e47d76c10275dc62f7", "sha256": "2678c0d4d09f0715c1b404cb8bd86b20c729bb22e208560e0f758b9c6054b61f" }, "downloads": -1, "filename": "autoyaml-2019.9.20.1212.tar.gz", "has_sig": false, "md5_digest": "199fd86591f9c1e47d76c10275dc62f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2480, "upload_time": "2019-09-20T12:14:36", "url": "https://files.pythonhosted.org/packages/bc/94/8ac80aff821b6e1362d9a06655e541ddbd97a3c3737358d6fcd53c126257/autoyaml-2019.9.20.1212.tar.gz" } ], "2019.9.20.1235": [ { "comment_text": "", "digests": { "md5": "76b84a098e1805bfccd95d5356a85134", "sha256": "58e880c6a686df93604ac43018f9c27ad4f63150ed80cb237775629cad4bf140" }, "downloads": -1, "filename": "autoyaml-2019.9.20.1235.tar.gz", "has_sig": false, "md5_digest": "76b84a098e1805bfccd95d5356a85134", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2482, "upload_time": "2019-09-20T12:36:47", "url": "https://files.pythonhosted.org/packages/0d/db/8a769ed0870eee20db59ea44580a9eafd82d3adac943d47ba04148b7ebb8/autoyaml-2019.9.20.1235.tar.gz" } ], "2019.9.20.1516": [ { "comment_text": "", "digests": { "md5": "d8fb0e3d7b7d939dab32af04754812cf", "sha256": "5651e373db2e7acd06ce4612d951a31f568693d4410d497f8a7bc160e3c07add" }, "downloads": -1, "filename": "autoyaml-2019.9.20.1516.tar.gz", "has_sig": false, "md5_digest": "d8fb0e3d7b7d939dab32af04754812cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2448, "upload_time": "2019-09-20T15:17:48", "url": "https://files.pythonhosted.org/packages/45/2d/dc1b9040acca54c2dc7390ac0c6408af6041ba55dc5769e0f39c96348787/autoyaml-2019.9.20.1516.tar.gz" } ], "2019.9.23.933": [ { "comment_text": "", "digests": { "md5": "a87895ebf933eafe832d6c3f9173e863", "sha256": "3362de1a88ceb10ee9e09f9d58e1f60c67e4dd915066a2fd3fdbbd0f27775cd3" }, "downloads": -1, "filename": "autoyaml-2019.9.23.933.tar.gz", "has_sig": false, "md5_digest": "a87895ebf933eafe832d6c3f9173e863", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2461, "upload_time": "2019-09-23T09:35:23", "url": "https://files.pythonhosted.org/packages/f7/0c/757585b68fc1d9d3c50b482d16dba45833ff3e54d62dc6c1bb3e318cad21/autoyaml-2019.9.23.933.tar.gz" } ], "2019.9.23.950": [ { "comment_text": "", "digests": { "md5": "5779a74af3f9cc8a62995b126f7697de", "sha256": "ed15eab1a124b95e55273b351c2816941af651241e0443621f59cc39effb448a" }, "downloads": -1, "filename": "autoyaml-2019.9.23.950.tar.gz", "has_sig": false, "md5_digest": "5779a74af3f9cc8a62995b126f7697de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2424, "upload_time": "2019-09-23T09:52:46", "url": "https://files.pythonhosted.org/packages/79/e1/e71f71031b3c6d453b559b9a111ea86272c9e8ac0b802e5cf483aa947258/autoyaml-2019.9.23.950.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5779a74af3f9cc8a62995b126f7697de", "sha256": "ed15eab1a124b95e55273b351c2816941af651241e0443621f59cc39effb448a" }, "downloads": -1, "filename": "autoyaml-2019.9.23.950.tar.gz", "has_sig": false, "md5_digest": "5779a74af3f9cc8a62995b126f7697de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2424, "upload_time": "2019-09-23T09:52:46", "url": "https://files.pythonhosted.org/packages/79/e1/e71f71031b3c6d453b559b9a111ea86272c9e8ac0b802e5cf483aa947258/autoyaml-2019.9.23.950.tar.gz" } ] }