{ "info": { "author": "Nico Schl\u00f6mer", "author_email": "nico.schloemer@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Multimedia :: Graphics :: Presentation", "Topic :: Scientific/Engineering :: Visualization" ], "description": "# meterplot\n\n[![CircleCI](https://img.shields.io/circleci/project/github/nschloe/meterplot/master.svg)](https://circleci.com/gh/nschloe/meterplot/tree/master)\n[![codecov](https://codecov.io/gh/nschloe/meterplot/branch/master/graph/badge.svg)](https://codecov.io/gh/nschloe/meterplot)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n[![PyPi Version](https://img.shields.io/pypi/v/meterplot.svg)](https://pypi.org/project/meterplot)\n[![GitHub stars](https://img.shields.io/github/stars/nschloe/meterplot.svg?logo=github&label=Stars)](https://github.com/nschloe/meterplot)\n\nThis little script takes a number of energy measurements (e.g., from your\nelectricity meter or old power bills) and displays the consumption over time.\nWorks for electricity and water readings.\n\nFor example, with the data file\n```yaml\n# electricity data\n---\nunit: kWh\ngroups:\n - style:\n color: '#2ca02c'\n meters:\n - data:\n - date: 2016-01-01T00:00:00+00:00\n value: 1000\n - date: 2016-02-01T00:00:00+00:00\n value: 1200\n - date: 2016-04-01T00:00:00+00:00\n value: 2000\n - date: 2016-07-01T00:00:00+00:00\n value: 3500\n - date: 2016-10-01T00:00:00+00:00\n value: 4000\n```\nyou'll get\n```\nmeterplot electricity.yml\n```\n\n![](https://nschloe.github.io/meterplot/electricity.png)\n\nInput of water data is equally easy (here for warm and cold water, with a meter\nchange)\n```yaml\n# Water data\n---\nunit: m^3\n\ngroups:\n # warm\n - style:\n color: '#d62728'\n meters:\n - data:\n - date: 2013-01-01T00:00:00+00:00\n value: 0.0\n - date: 2013-07-01T00:00:00+00:00\n value: 16.6\n - date: 2014-01-01T00:00:00+00:00\n value: 30.0\n - data:\n - date: 2014-01-01T00:00:00+00:00\n value: 0.0\n - date: 2014-07-01T00:00:00+00:00\n value: 15.2\n - date: 2015-01-01T00:00:00+00:00\n value: 25.1\n\n # cold\n - style:\n color: '#1f77b4'\n meters:\n - data:\n - date: 2013-01-01T00:00:00+00:00\n value: 0.0\n - date: 2013-04-01T00:00:00+00:00\n value: 4.0\n - date: 2014-07-01T00:00:00+00:00\n value: 23.0\n - date: 2015-01-01T00:00:00+00:00\n value: 35.1\n```\n```\nmeterplot electricity.yml\n```\n\n![](https://nschloe.github.io/meterplot/water.png)\n\n### Installation\n\nmeterplot is [available from the Python Package Index](https://pypi.org/project/meterplot/), so with\n```\npip install -U meterplot\n```\nyou can install/upgrade.\n\n### Distribution\n\nTo create a new release\n\n1. bump the `__version__` number,\n\n2. publish to PyPi and GitHub:\n ```\n $ make publish\n ```\n\n\n### License\n\nmeterplot is published under the [MIT license](https://en.wikipedia.org/wiki/MIT_License).\n\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/nschloe/meterplot", "keywords": "", "license": "License :: OSI Approved :: MIT License", "maintainer": "", "maintainer_email": "", "name": "meterplot", "package_url": "https://pypi.org/project/meterplot/", "platform": "", "project_url": "https://pypi.org/project/meterplot/", "project_urls": { "Homepage": "https://github.com/nschloe/meterplot" }, "release_url": "https://pypi.org/project/meterplot/0.1.6/", "requires_dist": [ "matplotlib", "pipdate (<0.4.0,>=0.3.0)", "pyyaml" ], "requires_python": "", "summary": "display energy consumption data", "version": "0.1.6" }, "last_serial": 3980918, "releases": { "0.1.5": [ { "comment_text": "", "digests": { "md5": "ae8ecd9908cc8750bd3ab18c37f0f255", "sha256": "83d6d8711f839ec062136bd92e1e4f649abbafb57ee9aeceb1a8ddc0c81181fe" }, "downloads": -1, "filename": "meterplot-0.1.5-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "ae8ecd9908cc8750bd3ab18c37f0f255", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7327, "upload_time": "2018-01-07T18:07:53", "url": "https://files.pythonhosted.org/packages/ad/cb/aef92090bf9d119355b6bc6c4df3f7d091ccfacc1a51fe54ad1d756e3f25/meterplot-0.1.5-py2.py3-none-any.whl" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "e77c8b360d0d9f78f73f4d8ded85c276", "sha256": "f097948de1875d5d367a621ab3faad329814e9efc177b5956ef502ceb6b4c19d" }, "downloads": -1, "filename": "meterplot-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e77c8b360d0d9f78f73f4d8ded85c276", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5881, "upload_time": "2018-06-20T10:59:23", "url": "https://files.pythonhosted.org/packages/36/ac/db5eee9f1502fedc684baab734e29db7337ed1ca53106241df086c3416d4/meterplot-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9277ba666f026ecc647e1a1eab2bb3d6", "sha256": "af0245fde65927a348359c5d9519db1c09147f9dac1460ed34076fa51db5b820" }, "downloads": -1, "filename": "meterplot-0.1.6.tar.gz", "has_sig": false, "md5_digest": "9277ba666f026ecc647e1a1eab2bb3d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5285, "upload_time": "2018-06-20T10:59:24", "url": "https://files.pythonhosted.org/packages/d5/88/9c58d857f73b9a2e77a5b794d67a1bd9571d1be8a11a7251ed2418d67b68/meterplot-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e77c8b360d0d9f78f73f4d8ded85c276", "sha256": "f097948de1875d5d367a621ab3faad329814e9efc177b5956ef502ceb6b4c19d" }, "downloads": -1, "filename": "meterplot-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e77c8b360d0d9f78f73f4d8ded85c276", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5881, "upload_time": "2018-06-20T10:59:23", "url": "https://files.pythonhosted.org/packages/36/ac/db5eee9f1502fedc684baab734e29db7337ed1ca53106241df086c3416d4/meterplot-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9277ba666f026ecc647e1a1eab2bb3d6", "sha256": "af0245fde65927a348359c5d9519db1c09147f9dac1460ed34076fa51db5b820" }, "downloads": -1, "filename": "meterplot-0.1.6.tar.gz", "has_sig": false, "md5_digest": "9277ba666f026ecc647e1a1eab2bb3d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5285, "upload_time": "2018-06-20T10:59:24", "url": "https://files.pythonhosted.org/packages/d5/88/9c58d857f73b9a2e77a5b794d67a1bd9571d1be8a11a7251ed2418d67b68/meterplot-0.1.6.tar.gz" } ] }