{ "info": { "author": "Lionel Darras", "author_email": "Lionel.Darras@obs.ujf-grenoble.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "PyVantagePro\n============\n\n.. image:: https://pypip.in/v/PyVantagePro/badge.png\n :target: https://crate.io/package/PyVantagePro\n.. image:: https://pypip.in/d/PyVantagePro/badge.png\n :target: https://crate.io/packages/PyVantagePro\n.. image:: https://travis-ci.org/SalemHarrache/PyVantagePro.png?branch=master\n :target: https://travis-ci.org/SalemHarrache/PyVantagePro\n\n\n\nPyVantagePro is a python project which aims to make the communication with\nweather stations Davis VantagePro2 easier and funnier...i.e. more Pythonic.\n\nThe main feature of this project is to get data automatically.\nIn order to do so, it uses the basic methods `get_archives()`\n(to get archive data) and `get_current_data()` (to get real-time data).\n\nAbout configuration, it only uses `gettime()` and `settime()` because we are\nassuming that stations are already configured.\n\n**Note:** PyVantagePro uses the `PyLink `_ lib, offers a universal communication interface with File-Like API.\n\nExamples\n--------\n\n::\n\n >>> from pyvantagepro import VantagePro2\n >>>\n >>> device = VantagePro2.from_url('tcp:host-ip:port')\n >>> device.gettime()\n 2012-06-13 16:44:56\n >>> data = device.get_current_data()\n >>> data['TempIn']\n 87.3\n >>> data.raw\n 4C 4F 4F ... 0D E6 3B\n >>> data.filter(('TempIn', 'TempOut', 'SunRise', 'SunSet')).to_csv()\n TempIn,TempOut,SunRise,SunSet\n 87.3,71.5,03:50,19:25\n\n\nFeatures\n--------\n\n* Collecting real-time data as a python dictionary\n* Collecting archives as a list of dictionaries\n* Collecting data in a CSV file\n* Updating station time\n* Getting some information about the station, such as date and firmware version.\n* Various types of connections are supported\n* Comes with a command-line script\n* Compatible with Python 2.6+ and 3.x\n\n\nInstallation\n------------\n\nYou can install, upgrade, uninstall PyVantagePro with these commands::\n\n $ pip install pyvantagepro\n $ pip install --upgrade pyvantagepro\n $ pip uninstall pyvantagepro\n\nOr if you don't have pip::\n\n $ easy_install pyvantagepro\n\n\nDocumentation\n-------------\n\nSee documentation here: http://pyvantagepro.readthedocs.org\n\n\nChangelog\n---------\n\nVersion 0.3.2\n~~~~~~~~~~~~~\n\nReleased on 2014-02-02.\n\n- Added python3.3 and pypy support\n- Use detox for parallel multienv tests\n- Corrected WindAvgDir and WindHiDir\n- Added one byte shift if wake-up is not working\n\nVersion 0.3.1\n~~~~~~~~~~~~~\n\nReleased on 2012-06-28.\n\n- remove duplicate records\n- sort records by Datetime field\n\n\nVersion 0.3\n~~~~~~~~~~~\n\nReleased on 2012-06-26.\n\n- Use ordereddict to order data fields (Datetime field first)\n- Fix a bug related to timeout\n- Set timeout to 10 sec by default\n\n\nVersion 0.2\n~~~~~~~~~~~\n\nReleased on 2012-06-20.\n\n- Remove blist from requirements\n- Minor bug fixes\n\nVersion 0.1\n~~~~~~~~~~~\n\nReleased on 2012-06-14.\n\n- First properly tagged release.\n- Support VantagePro2 revB only.\n- Parsing binary data into dict and list of dict.\n- Command-line script.", "description_content_type": null, "docs_url": "https://pythonhosted.org/PyVantagePro/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SalemHarrache/PyVantagePro", "keywords": null, "license": "GNU GPL v3", "maintainer": null, "maintainer_email": null, "name": "PyVantagePro", "package_url": "https://pypi.org/project/PyVantagePro/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PyVantagePro/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/SalemHarrache/PyVantagePro" }, "release_url": "https://pypi.org/project/PyVantagePro/0.3.2/", "requires_dist": null, "requires_python": null, "summary": "Communication tools for the Davis VantagePro2 devices", "version": "0.3.2" }, "last_serial": 988763, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "0ea9f344ce647f9187ff95190fcae2a7", "sha256": "3e3b664884fa0603e780c794b4e3a5391bbbb6e0879e678954fa5a2b3ffa2ee6" }, "downloads": -1, "filename": "PyVantagePro-0.2.tar.gz", "has_sig": false, "md5_digest": "0ea9f344ce647f9187ff95190fcae2a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 65319, "upload_time": "2012-06-20T17:28:26", "url": "https://files.pythonhosted.org/packages/91/42/9d11ed4d47925891ccda9a0ea066bcd1cc13239aa3728ab2badd56e677a0/PyVantagePro-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "285b1039f73bd5a95e1d82edbc47fe0f", "sha256": "c9d78527388fc7c5f869919e171586ec129cb4831762b077c64a27151c75e281" }, "downloads": -1, "filename": "PyVantagePro-0.3.tar.gz", "has_sig": false, "md5_digest": "285b1039f73bd5a95e1d82edbc47fe0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 65368, "upload_time": "2012-06-26T12:50:54", "url": "https://files.pythonhosted.org/packages/90/00/7c6a3bb6af5b36fc81ccb39e294f7e2fe50c67885f97cc61043bb0914950/PyVantagePro-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "1a29a4f098eec402341dbe51547d61e7", "sha256": "b60be7ebf66d5bf61d5cec785881df01af31aa1e6a84216a33e5e53873044012" }, "downloads": -1, "filename": "PyVantagePro-0.3.1.tar.gz", "has_sig": false, "md5_digest": "1a29a4f098eec402341dbe51547d61e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 66792, "upload_time": "2012-06-28T12:23:09", "url": "https://files.pythonhosted.org/packages/39/3a/9125ba19374fd009d6a5f4ec227be43105f417cd16c90e474e2128e3733b/PyVantagePro-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "ac3d5aad202e5754d5619a8907f90310", "sha256": "60c8e46d4081ec57bbd41268db9d9fb2246a3807277424c6e8362fccc4ccfee0" }, "downloads": -1, "filename": "PyVantagePro-0.3.2.tar.gz", "has_sig": false, "md5_digest": "ac3d5aad202e5754d5619a8907f90310", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67410, "upload_time": "2014-02-02T20:02:04", "url": "https://files.pythonhosted.org/packages/f4/c4/3b4030d6dd9d74e8969c57923cbcc96f7621002c8821b531cb866205d88d/PyVantagePro-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ac3d5aad202e5754d5619a8907f90310", "sha256": "60c8e46d4081ec57bbd41268db9d9fb2246a3807277424c6e8362fccc4ccfee0" }, "downloads": -1, "filename": "PyVantagePro-0.3.2.tar.gz", "has_sig": false, "md5_digest": "ac3d5aad202e5754d5619a8907f90310", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67410, "upload_time": "2014-02-02T20:02:04", "url": "https://files.pythonhosted.org/packages/f4/c4/3b4030d6dd9d74e8969c57923cbcc96f7621002c8821b531cb866205d88d/PyVantagePro-0.3.2.tar.gz" } ] }