{ "info": { "author": "0Hughman0", "author_email": "rammers2@hotmail.co.uk", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Bonfig\n\n from Bonfig import *\n import configparser\n class INIConfig(Bonfig):\n store = Store()\n SECTION = store.Section()\n A = SECTION.FloatField()\n\n def load(self):\n self.store = configparser.ConfigParser()\n self.store.read_string(\"[SECTION]\\nA = 3.14159\")\n\nStop writing your configurations as dictionaries and strange floating dataclasses, make them `Bonfigs` and make use of\na whole bunch of great features:\n\n* Declare your configurations as easy to read classes.\n* Get all the power that comes with classes built into your configurations - polymorphism, custom methods and custom initialisation.\n* Sleep safe in the knowledge your config won't change unexpectedly.\n* Ready made serialisation and deserialisation with readmade custom `Fields` - `IntField`, `FloatField`, `BoolField` and `DatetimeField`.\n\n## Installation\n\n pip install bonfig\n\nPlease checkout the project on github for more information: https://0hughman0.github.io/bonfig/index.html\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/0Hughman0/bonfig", "keywords": "configuration,inheritance,OOP", "license": "MIT", "maintainer": "0Hughman0", "maintainer_email": "rammers2@hotmail.co.uk", "name": "bonfig", "package_url": "https://pypi.org/project/bonfig/", "platform": "", "project_url": "https://pypi.org/project/bonfig/", "project_urls": { "Documentation": "https://0hughman0.github.io/bonfig/index.html", "Homepage": "https://github.com/0Hughman0/bonfig" }, "release_url": "https://pypi.org/project/bonfig/0.2.1/", "requires_dist": null, "requires_python": ">=3.4,<4.0", "summary": "Don't write configurations, write class declarations.", "version": "0.2.1" }, "last_serial": 4744015, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "94f6e30498ad931390fd5ada59e7e963", "sha256": "ed2f6b81d44e59738269a1b76d65ec8f6309f3b8a0bfa5bf163fc3aac6eb31e0" }, "downloads": -1, "filename": "bonfig-0.1.tar.gz", "has_sig": false, "md5_digest": "94f6e30498ad931390fd5ada59e7e963", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 6258, "upload_time": "2018-11-12T20:40:38", "url": "https://files.pythonhosted.org/packages/66/2c/688287b56d0b988ab718805eed00684c7ff0d177da4ebd1ce3798ff1d172/bonfig-0.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "c6706c030a6576018d146bb7d5eff267", "sha256": "346f8e814d789d2a3623cf100efc8fdb4afd1a8a2d27fba068698b582449beef" }, "downloads": -1, "filename": "bonfig-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c6706c030a6576018d146bb7d5eff267", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4,<4.0", "size": 24143, "upload_time": "2019-01-26T15:29:22", "url": "https://files.pythonhosted.org/packages/5e/57/0fe640ddce2cedc0166ef03580351f55b40533933d080bc39a77998e81c4/bonfig-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1b695b92040be0367d9184e3a80255be", "sha256": "39edb4fbfc01f31469d33c3bd854a3b8752e54d473da820412329777646823cb" }, "downloads": -1, "filename": "bonfig-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1b695b92040be0367d9184e3a80255be", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4,<4.0", "size": 7160, "upload_time": "2019-01-26T15:29:24", "url": "https://files.pythonhosted.org/packages/0f/c0/a82a62122ddb8dc66cbcc0766c5bb029e0f42c500002499104ca95dee316/bonfig-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "39da320390d04de837ba2823617543dc", "sha256": "60fbd96a7cc1703ca81e75cd087fb2c8c059604072fe56ee76dc4ac9f79aff43" }, "downloads": -1, "filename": "bonfig-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "39da320390d04de837ba2823617543dc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4,<4.0", "size": 24712, "upload_time": "2019-01-26T16:38:29", "url": "https://files.pythonhosted.org/packages/51/f3/b42cc0ecb85ce5dcb61faf1e37925e8298492fd4add506bb317c33131dda/bonfig-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc953305965e131a692fc4a63e89d5d4", "sha256": "3ed339394a94661596b0767ef04a38cef1796c023e32b7c6812f43a9f369496d" }, "downloads": -1, "filename": "bonfig-0.2.1.tar.gz", "has_sig": false, "md5_digest": "fc953305965e131a692fc4a63e89d5d4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4,<4.0", "size": 7829, "upload_time": "2019-01-26T16:38:31", "url": "https://files.pythonhosted.org/packages/2c/a4/d6d40554d7eaaa31d393e82ed2da93f7a03fcd1aa42a76cd01532adc2c55/bonfig-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "39da320390d04de837ba2823617543dc", "sha256": "60fbd96a7cc1703ca81e75cd087fb2c8c059604072fe56ee76dc4ac9f79aff43" }, "downloads": -1, "filename": "bonfig-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "39da320390d04de837ba2823617543dc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4,<4.0", "size": 24712, "upload_time": "2019-01-26T16:38:29", "url": "https://files.pythonhosted.org/packages/51/f3/b42cc0ecb85ce5dcb61faf1e37925e8298492fd4add506bb317c33131dda/bonfig-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc953305965e131a692fc4a63e89d5d4", "sha256": "3ed339394a94661596b0767ef04a38cef1796c023e32b7c6812f43a9f369496d" }, "downloads": -1, "filename": "bonfig-0.2.1.tar.gz", "has_sig": false, "md5_digest": "fc953305965e131a692fc4a63e89d5d4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4,<4.0", "size": 7829, "upload_time": "2019-01-26T16:38:31", "url": "https://files.pythonhosted.org/packages/2c/a4/d6d40554d7eaaa31d393e82ed2da93f7a03fcd1aa42a76cd01532adc2c55/bonfig-0.2.1.tar.gz" } ] }