{ "info": { "author": "Guillaume Fieni, Arthur d'Az\u00e9mar, Jordan Bouchoucha, Romain Rouvoy", "author_email": "powerapi-staff@inria.fr", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3.7" ], "description": "# RAPL-formula\n\nA [powerAPI](https://github.com/powerapi-ng/powerapi) formula using RAPL\ncounters to provides power consumption information of each socket of the\nmonitored machine.\n\nUse RAPL data collected with the\n[hwpc-sensor](https://github.com/powerapi-ng/hwpc-sensor) and convert it into\npower consumption measures (in Watt). The power consumption measures are store\nin a MongoDB database.\n\n# Quick start\n\nWe detail here how to quickly start rapl-formula and connect it to a hwpc-sensor\nusing a mongoDB instance.\n\nFor more detail see our documentation [here](http://powerapi.org)\n\n## Get input data\n\nYou have to launch the [hwpc-sensor](https://github.com/powerapi-ng/hwpc-sensor) to \nmonitor sockets. The sensor must store its data in a mongoDB database. This\ndatabase must be accessible by the rapl_formula.\n\n## Launch formula\n\nwith python(>=3.7):\n\n```bash\npython3 -m rapl_formula --output mongodb --uri input_mongo_uri --db input_db\n\t--collection input_collection --input mongodb --uri output_mongo_uri --db output_db\n\t--collection output_collection\n```\n\nwith docker:\n\n```bash\ndocker run powerapi/rapl-formula --output mongodb --uri input_mongo_uri --db input_db\n\t--collection input_collection --input mongodb --uri output_mongo_uri --db output_db\n\t--collection output_collection\n```\n\nwith the following configuration: \n\n- input_mongo_uri : uri to the mongoDB used by the hwpc-sensor to store its output data\n- input_db : database used by the hwpc-sensor to store its output data\n- input_collection : collection used by the hwpc-sensor to store its output data\n- output_mongo_uri : uri to the mongoDB used to store the power consumption data\n- output_db : database used to store the power consumption data\n- output_collection : collection used to store the power consumption data\n\nBSD 3-Clause License\n\nCopyright (c) 2019, PowerAPI\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\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": "", "keywords": "energy,powerapi,power meter,rapl", "license": "BSD 3-Clause License", "maintainer": "", "maintainer_email": "", "name": "rapl-formula", "package_url": "https://pypi.org/project/rapl-formula/", "platform": "any", "project_url": "https://pypi.org/project/rapl-formula/", "project_urls": null, "release_url": "https://pypi.org/project/rapl-formula/0.4.2/", "requires_dist": [ "powerapi (>=0.6.7)", "sphinx (>=1.8.1) ; extra == 'docs'", "influxdb (>=5.2.2) ; extra == 'influxdb'", "pymongo (>=3.7.2) ; extra == 'mongodb'" ], "requires_python": ">= 3.7", "summary": "PowerAPI formula using RAPL counters to provides power consumption information.", "version": "0.4.2" }, "last_serial": 5928837, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "9d1207a35083cff5e2bd2bc31fe30f12", "sha256": "e1ba1bf795f8bcbadfa30e049471de2f67d561d4f7d6b4427b8463e3797e3e49" }, "downloads": -1, "filename": "rapl_formula-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9d1207a35083cff5e2bd2bc31fe30f12", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">= 3.7", "size": 8494, "upload_time": "2019-04-18T13:18:09", "url": "https://files.pythonhosted.org/packages/ba/a1/6838148e7dbbc9c1eb4f59ea5d481189a92811f4cd609fa1447e3da271e5/rapl_formula-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c2fea7b2458d1070732cacd45dd14b8", "sha256": "2fe80847ad18f033ae441016af12c6d552e0d74555dd3663dc85c412cb124e11" }, "downloads": -1, "filename": "rapl_formula-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9c2fea7b2458d1070732cacd45dd14b8", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 4743, "upload_time": "2019-04-18T13:18:11", "url": "https://files.pythonhosted.org/packages/f6/cd/22ff0f7cee9afb2a03874c7d2fe52219f7cc49ef0e3e5680624a16f227ba/rapl_formula-0.0.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5882a4707bd81068ff11622df6d57339", "sha256": "66d252cb5229a080d264093dddc7f388f233a8fae5a8b0a4ed1f4560891273f8" }, "downloads": -1, "filename": "rapl_formula-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5882a4707bd81068ff11622df6d57339", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">= 3.7", "size": 10127, "upload_time": "2019-05-10T14:36:21", "url": "https://files.pythonhosted.org/packages/6f/b1/7602c5641b62e8cab6a20dad89902d821e6ed34fa3f3d0524513bb44216c/rapl_formula-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "12d0d0f866b4602703b0abc8d54c2cd0", "sha256": "de778b79ba64d86e1e30c275b45e4704cfa595435907381c4516c4917144a713" }, "downloads": -1, "filename": "rapl_formula-0.2.0.tar.gz", "has_sig": false, "md5_digest": "12d0d0f866b4602703b0abc8d54c2cd0", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 5180, "upload_time": "2019-05-10T14:36:22", "url": "https://files.pythonhosted.org/packages/40/a2/17caba0f6f3313b06626f6c86dbd9700e15e3ac472c30b9e4473181ae803/rapl_formula-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "e6c31ff1472fc7a7f04092e94ee58544", "sha256": "f64ff8b5046a107937addf22853b2492f6ecfa840fceba9dada8831622c2993b" }, "downloads": -1, "filename": "rapl_formula-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e6c31ff1472fc7a7f04092e94ee58544", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">= 3.7", "size": 11650, "upload_time": "2019-06-13T14:38:05", "url": "https://files.pythonhosted.org/packages/22/b0/3fc06ef51e2a5ff767ff1149bf10860c3ae030a453b4edf29bd652b92d01/rapl_formula-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1853cb74a57cc2a5d762604e75c7b189", "sha256": "55b2814589e53e7d44e0a444bcdb1d51a0cef32f8d9d24ace8540d53580fbd67" }, "downloads": -1, "filename": "rapl_formula-0.3.0.tar.gz", "has_sig": false, "md5_digest": "1853cb74a57cc2a5d762604e75c7b189", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 5191, "upload_time": "2019-06-13T14:38:07", "url": "https://files.pythonhosted.org/packages/08/e2/8f9916bb613f9af6a38a9eabde07874b5234349b2ed598633329566d5de5/rapl_formula-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "d755ec686e0309ba3322ccbd077eb1ca", "sha256": "1bb2b8683fce729394193f42e0fff988b2b63c21db6944baeb7e6df2fc18ad56" }, "downloads": -1, "filename": "rapl_formula-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d755ec686e0309ba3322ccbd077eb1ca", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">= 3.7", "size": 9820, "upload_time": "2019-07-15T15:22:59", "url": "https://files.pythonhosted.org/packages/bd/05/08d5ac65687782bf5663585d35ef802376b94251fff9bc895bf8df835840/rapl_formula-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aef8d3d758b96a6b735a394540c126f7", "sha256": "a2a0fcfd4b71c730ec80949bafe3d7cde4721dc9eb73fc4f3ca6681ffb80599a" }, "downloads": -1, "filename": "rapl_formula-0.4.0.tar.gz", "has_sig": false, "md5_digest": "aef8d3d758b96a6b735a394540c126f7", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 5118, "upload_time": "2019-07-15T15:23:00", "url": "https://files.pythonhosted.org/packages/66/32/628c330334fdcee3f953ee9847dd0897ac773c65541619082508ee464dfa/rapl_formula-0.4.0.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "13fbf20fd3db4fd2b70f52d21c1a5374", "sha256": "c8656014bb21e23984afa222618e434bc93834c73e203ad7c2f7722329d25b59" }, "downloads": -1, "filename": "rapl_formula-0.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "13fbf20fd3db4fd2b70f52d21c1a5374", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">= 3.7", "size": 9921, "upload_time": "2019-10-04T15:03:40", "url": "https://files.pythonhosted.org/packages/fb/27/51d9b4be4c66888e851db361b8bc9c2007c1ea8f1dc99b0cb7f967d6c047/rapl_formula-0.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "933944575d584a3e118669a3bbb53c0b", "sha256": "394da9fc34d4f6ab3a99e456ed38d5d5245543f78faf528a9c402e5c7858d42e" }, "downloads": -1, "filename": "rapl_formula-0.4.2.tar.gz", "has_sig": false, "md5_digest": "933944575d584a3e118669a3bbb53c0b", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 5238, "upload_time": "2019-10-04T15:03:42", "url": "https://files.pythonhosted.org/packages/df/c0/39fa444393e72700ef555c0e2892564d496703f8d1874b324735646bd88e/rapl_formula-0.4.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "13fbf20fd3db4fd2b70f52d21c1a5374", "sha256": "c8656014bb21e23984afa222618e434bc93834c73e203ad7c2f7722329d25b59" }, "downloads": -1, "filename": "rapl_formula-0.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "13fbf20fd3db4fd2b70f52d21c1a5374", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">= 3.7", "size": 9921, "upload_time": "2019-10-04T15:03:40", "url": "https://files.pythonhosted.org/packages/fb/27/51d9b4be4c66888e851db361b8bc9c2007c1ea8f1dc99b0cb7f967d6c047/rapl_formula-0.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "933944575d584a3e118669a3bbb53c0b", "sha256": "394da9fc34d4f6ab3a99e456ed38d5d5245543f78faf528a9c402e5c7858d42e" }, "downloads": -1, "filename": "rapl_formula-0.4.2.tar.gz", "has_sig": false, "md5_digest": "933944575d584a3e118669a3bbb53c0b", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 5238, "upload_time": "2019-10-04T15:03:42", "url": "https://files.pythonhosted.org/packages/df/c0/39fa444393e72700ef555c0e2892564d496703f8d1874b324735646bd88e/rapl_formula-0.4.2.tar.gz" } ] }