{ "info": { "author": "Stephane Senart", "author_email": "stephane.senart@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "# PyVeoliaIDF\nPyVeoliaIDF is a Python library for getting water consumption from Veolia French provider.\n\nTheir water meter are wireless and transmit the consumption once per day.\n\nAll consumption data is available on the client account at Veolia Web Site (https://espace-client.vedif.eau.veolia.fr).\n\nPyVeoliaIDF automatically go through the Web Site and download the consumption data CSV file, and make it available in a Python structure (list of dictionaries).\n\n## Installation\n\n### Requirements\nPyVeoliaIDF is working with Selenium Python library to automate navigation through Veolia Web site. Selenium requires a WebDriver that acts as gateway between automatic actions from PyVeoliaIDF and a native browser already installed on the system.\n\nPyVeoliaIDF has been developped and tested with Firefox browser (version 68.8) and its corresponding Web Driver geckodriver (version 0.24).\n\n#### Firefox browser installation\nFollow instructions [here](https://www.mozilla.org/fr/firefox/new)\n\n#### Firefox Web Driver (geckodriver) installation\nFollow instructions [here](https://github.com/mozilla/geckodriver/releases)\n\n### Create your virtual environment\n```bash\n$ pip install virtualenv\n\n$ cd /path/to/my_project_folder/\n\n$ virtualenv venv\n```\n\n### PyGazpar installation\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install PyVeoliaIDF.\n\n```bash\npip install pyveoliaidf\n```\n\nYou can also download the source code and install it manually.\n\n```bash\ncd /path/to/pyveoliaidf/\npython setup.py install\n```\n\n## Usage\n\n### Command line\n\n```bash\n$ pyveoliaidf -u 'your login' -p 'your password' -w 'path/to/Selenium Web Driver' -s 30 -t 'temporary directory where to store CSV file (ex: /tmp)'\n```\n\n### Library\n\n```python\nimport pyveoliaidf\n\nclient = pyveoliaidf.Client('your login',\n 'your password',\n 'path/to/Selenium Web Driver',\n 30,\n 'temporary directory where to store CSV file (ex: /tmp)')\n\nclient.update()\n\ndata = client.data()\n```\n\n### Output\n\n```json\ndata =>\n[\n {\n \"time\": \"2019-07-14 19:00:00\",\n \"total_liter\": \"506669\",\n \"daily_liter\": \"530\",\n \"type\": \"Estim\\u00c3\\u00a9\",\n \"timestamp\": \"2019-08-31T16:55:01.236779\"\n },\n {\n \"time\": \"2019-07-15 19:00:00\",\n \"total_liter\": \"507523\",\n \"daily_liter\": \"854\",\n \"type\": \"Mesur\\u00c3\\u00a9\",\n \"timestamp\": \"2019-08-31T16:55:01.236779\"\n },\n {\n \"time\": \"2019-07-16 19:00:00\",\n \"total_liter\": \"508314\",\n \"daily_liter\": \"791\",\n \"type\": \"Mesur\\u00c3\\u00a9\",\n \"timestamp\": \"2019-08-31T16:55:01.236779\"\n }\n]\n```\n\n## Limitation\nPyVeoliaIDF relies on how Veolia Web Site is built. It goes through each Web pages and automatically fill forms, click buttons using their internal identifiers.\n\nAny change in the Web site structure or identifier naming may break this library.\n\nWe expect in close Future that Veolia makes available a standard API from which we can get safely their data.\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n\n## Project status\nPyVeoliaIDF has been initiated for integration with [Home Assistant](https://www.home-assistant.io/). This integration work is still on-going.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/ssenart/pyveoliaidf/releases/tag/0.1.9", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ssenart/PyVeoliaIDF", "keywords": "RESOURCE,WATER,CONSUMPTION", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyveoliaidf", "package_url": "https://pypi.org/project/pyveoliaidf/", "platform": "", "project_url": "https://pypi.org/project/pyveoliaidf/", "project_urls": { "Download": "https://github.com/ssenart/pyveoliaidf/releases/tag/0.1.9", "Homepage": "https://github.com/ssenart/PyVeoliaIDF" }, "release_url": "https://pypi.org/project/pyveoliaidf/0.1.9/", "requires_dist": null, "requires_python": ">=3.7", "summary": "Retrieve water consumption from Veolia Ile-de-France web site (French Water Company)", "version": "0.1.9" }, "last_serial": 5765350, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c04ad02dfdbf9fda80dedcdc7e815113", "sha256": "b5e0eb3383f773df6917e70bfe7d8ad7a96db4d3a3aa51f48b1f5d3a7eb106c4" }, "downloads": -1, "filename": "pyveoliaidf-0.1.tar.gz", "has_sig": false, "md5_digest": "c04ad02dfdbf9fda80dedcdc7e815113", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3191, "upload_time": "2019-08-21T08:33:02", "url": "https://files.pythonhosted.org/packages/28/9b/845a2530f4e95a864d07dc2ecf33f9636c304ba941e569e348d58feb9b00/pyveoliaidf-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f13759d4c76a110ec5fc2c8737aca9cb", "sha256": "ec5cfa33f5952c409384053a80b64e52abe0947463056b0f042a8766793d5848" }, "downloads": -1, "filename": "pyveoliaidf-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f13759d4c76a110ec5fc2c8737aca9cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3190, "upload_time": "2019-08-23T09:27:47", "url": "https://files.pythonhosted.org/packages/4a/5f/433519f84cbcbdc5ad44e9cc19c2b15aa41a726750020d5bdc38657632e4/pyveoliaidf-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "55236d557398ef1c5e87045832f0b3ac", "sha256": "478affdb8a98f96b6e7b6975a0b293a0580f49219d8b7e3fe59cd9dd5b4f2755" }, "downloads": -1, "filename": "pyveoliaidf-0.1.2.tar.gz", "has_sig": false, "md5_digest": "55236d557398ef1c5e87045832f0b3ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3509, "upload_time": "2019-08-23T09:27:49", "url": "https://files.pythonhosted.org/packages/9a/7e/7648ca2c2bfe160398c95eee8956e7145a843aaedb17dec3605e700cb1b2/pyveoliaidf-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "1e71f8e19e927d40c384611a9c8a70c7", "sha256": "4b6c88a720cedc6fd5e8ce83f62ba41b95daa5b829ba38e6b4c4796a2fe8ba1d" }, "downloads": -1, "filename": "pyveoliaidf-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1e71f8e19e927d40c384611a9c8a70c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3513, "upload_time": "2019-08-23T10:12:11", "url": "https://files.pythonhosted.org/packages/a2/07/66b67c83499bc562033d4eec8cb27d86b7a755988594157cf02c86d4fcef/pyveoliaidf-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "abe1e6fe787cd8eb7129b05981181aee", "sha256": "ef1fdb472485bdaa5830942c779ec3f74dae7a72dced159e8ffd1fbd7d7ac1ef" }, "downloads": -1, "filename": "pyveoliaidf-0.1.4.tar.gz", "has_sig": false, "md5_digest": "abe1e6fe787cd8eb7129b05981181aee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3537, "upload_time": "2019-08-25T20:21:12", "url": "https://files.pythonhosted.org/packages/69/9b/6db2ad0da340718bf5ebee291df255acf9908736e92c3c86737233417904/pyveoliaidf-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "674ab4c71d89ee4ba28ea901d0daa460", "sha256": "9d52956c65271507b554d9b9ebe711f0fadb8e1c47cede1743a3c5fe431febd0" }, "downloads": -1, "filename": "pyveoliaidf-0.1.5.tar.gz", "has_sig": false, "md5_digest": "674ab4c71d89ee4ba28ea901d0daa460", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3560, "upload_time": "2019-08-25T21:20:28", "url": "https://files.pythonhosted.org/packages/bf/7f/acb60ef5095db9a505f01dfd96a67546f9fc04b928d9f2cbc89b4cca344d/pyveoliaidf-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "8b1e9e314e5b1e6b8c3c2f8259d513ab", "sha256": "c2def4d0b4b6cff438470952616d862c0a068a4ea849029edd934f22560c3444" }, "downloads": -1, "filename": "pyveoliaidf-0.1.6.tar.gz", "has_sig": false, "md5_digest": "8b1e9e314e5b1e6b8c3c2f8259d513ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3562, "upload_time": "2019-08-25T21:39:48", "url": "https://files.pythonhosted.org/packages/6d/74/a33cdf0357da06563852a8d24df2f19a339ff9c73524dee5792ff468b81d/pyveoliaidf-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "6d4baca738476577c49357028eb4f7c0", "sha256": "3c74607e2b377ceeef35181552f6b161dd51746fba16874ada94b8a9cc1b49c5" }, "downloads": -1, "filename": "pyveoliaidf-0.1.7.tar.gz", "has_sig": false, "md5_digest": "6d4baca738476577c49357028eb4f7c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3564, "upload_time": "2019-08-25T21:55:28", "url": "https://files.pythonhosted.org/packages/8b/65/cfb406b8cff092b981bbbc8bc1d201773c036096153325a01095a522d666/pyveoliaidf-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "c740258c368efae28d223c14f4fe192c", "sha256": "90c0cbcf6724f27d50b7af0b95d5e2832d210d80aff24d88e5bcbc6338b9ef42" }, "downloads": -1, "filename": "pyveoliaidf-0.1.8.tar.gz", "has_sig": false, "md5_digest": "c740258c368efae28d223c14f4fe192c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 5705, "upload_time": "2019-08-31T15:19:25", "url": "https://files.pythonhosted.org/packages/99/c1/fe029115cda158cf643c7ffac2210d79c755aa4f67f51a9a557aa296b40e/pyveoliaidf-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "23668453f0dea60295dba469805eff65", "sha256": "579f3febaf0233ba34a8483eb5b3573886b56ba615d562b20167665e0ffc49ba" }, "downloads": -1, "filename": "pyveoliaidf-0.1.9.tar.gz", "has_sig": false, "md5_digest": "23668453f0dea60295dba469805eff65", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 5741, "upload_time": "2019-08-31T21:11:34", "url": "https://files.pythonhosted.org/packages/62/40/1de4d88922a611655a0b097d49ed797869dc3688354e0f4295dada4dcd58/pyveoliaidf-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "23668453f0dea60295dba469805eff65", "sha256": "579f3febaf0233ba34a8483eb5b3573886b56ba615d562b20167665e0ffc49ba" }, "downloads": -1, "filename": "pyveoliaidf-0.1.9.tar.gz", "has_sig": false, "md5_digest": "23668453f0dea60295dba469805eff65", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 5741, "upload_time": "2019-08-31T21:11:34", "url": "https://files.pythonhosted.org/packages/62/40/1de4d88922a611655a0b097d49ed797869dc3688354e0f4295dada4dcd58/pyveoliaidf-0.1.9.tar.gz" } ] }