pycarwings3


Namepycarwings3 JSON
Version 0.7.8 PyPI version JSON
download
home_pagehttps://github.com/ev-freaks/pycarwings3
SummaryPython library for interacting with the Nissan Leaf Carwings telematics service
upload_time2024-10-19 10:23:08
maintainerNone
docs_urlNone
authorRemus Lazar
requires_pythonNone
licenseApache Software License
keywords nissan leaf carwings nissan+you
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pycarwings3

[![CI](https://github.com/ev-freaks/pycarwings3/actions/workflows/main.yml/badge.svg)](https://github.com/ev-freaks/pycarwings3/actions/workflows/main.yml)

## Introduction

`pycarwings3` is a fork of [pycarwings2](https://github.com/filcole/pycarwings2), updated to support asynchronous operations with the Carwings API via aiohttp, focusing on Python 3 compatibility.

The original `pycarwings2` project is no longer active.

## Rationale Behind the New Name

The library underwent significant changes, especially adopting asynchronous programming, which led to a break in backward compatibility with `pycarwings2`.

The new name reflects these changes and aims for easier PyPI distribution.

## Abstract

Library for connecting and interacting with Nissan's CARWINGS service for Nissan LEAF cars.
Uses the (newly secure!) REST/JSON API rather than the previous XML-based API.

## Asynchronous methods

Note that several of the most interesting methods in the CARWINGS service are
asynchronous--you ask the service to do something, and it just says "ok". You then
have to poll a corresponding method to find out if the operation was successful.

Recently the polling has continued to return zero, yet when querying the data
held on the Nissan servers the last update date changes, indicating a response
has been received from the car, see examples/get-leaf-info.py for how this can
be handled.

## Installation

    pip3 install pycarwings3

## Example usage

* Copy file ./examples/config.ini to ./examples/my_config.ini
* Edit my_config.ini and enter your username, password and region
* Run python3 ./examples/get-leaf-info.py

## License

Copyright 2016 Jason Horne
Copyright 2018 Phil Cole
Copyright 2024 Remus Lazar

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ev-freaks/pycarwings3",
    "name": "pycarwings3",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "nissan leaf carwings nissan+you",
    "author": "Remus Lazar",
    "author_email": "remus@ev-freaks.com",
    "download_url": "https://files.pythonhosted.org/packages/c3/ab/46b0985f161ac3711d634b6500a09b2c0c36ef17ba8db1813050f8f45f03/pycarwings3-0.7.8.tar.gz",
    "platform": null,
    "description": "# pycarwings3\n\n[![CI](https://github.com/ev-freaks/pycarwings3/actions/workflows/main.yml/badge.svg)](https://github.com/ev-freaks/pycarwings3/actions/workflows/main.yml)\n\n## Introduction\n\n`pycarwings3` is a fork of [pycarwings2](https://github.com/filcole/pycarwings2), updated to support asynchronous operations with the Carwings API via aiohttp, focusing on Python 3 compatibility.\n\nThe original `pycarwings2` project is no longer active.\n\n## Rationale Behind the New Name\n\nThe library underwent significant changes, especially adopting asynchronous programming, which led to a break in backward compatibility with `pycarwings2`.\n\nThe new name reflects these changes and aims for easier PyPI distribution.\n\n## Abstract\n\nLibrary for connecting and interacting with Nissan's CARWINGS service for Nissan LEAF cars.\nUses the (newly secure!) REST/JSON API rather than the previous XML-based API.\n\n## Asynchronous methods\n\nNote that several of the most interesting methods in the CARWINGS service are\nasynchronous--you ask the service to do something, and it just says \"ok\". You then\nhave to poll a corresponding method to find out if the operation was successful.\n\nRecently the polling has continued to return zero, yet when querying the data\nheld on the Nissan servers the last update date changes, indicating a response\nhas been received from the car, see examples/get-leaf-info.py for how this can\nbe handled.\n\n## Installation\n\n    pip3 install pycarwings3\n\n## Example usage\n\n* Copy file ./examples/config.ini to ./examples/my_config.ini\n* Edit my_config.ini and enter your username, password and region\n* Run python3 ./examples/get-leaf-info.py\n\n## License\n\nCopyright 2016 Jason Horne\nCopyright 2018 Phil Cole\nCopyright 2024 Remus Lazar\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
    "bugtrack_url": null,
    "license": "Apache Software License",
    "summary": "Python library for interacting with the Nissan Leaf Carwings telematics service",
    "version": "0.7.8",
    "project_urls": {
        "Homepage": "https://github.com/ev-freaks/pycarwings3"
    },
    "split_keywords": [
        "nissan",
        "leaf",
        "carwings",
        "nissan+you"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12c21a38d5a6f61101ed26df2d9ced60b1739e635f1c6448e1d528888c3f53ae",
                "md5": "2e6d58f1984223f5cbcebbb9cfe9c428",
                "sha256": "8ec18dc78b6da0f21e001e2f24fb9e38d6401f5dfe305cfaaaca5848620cf4ed"
            },
            "downloads": -1,
            "filename": "pycarwings3-0.7.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2e6d58f1984223f5cbcebbb9cfe9c428",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 18525,
            "upload_time": "2024-10-19T10:23:06",
            "upload_time_iso_8601": "2024-10-19T10:23:06.989111Z",
            "url": "https://files.pythonhosted.org/packages/12/c2/1a38d5a6f61101ed26df2d9ced60b1739e635f1c6448e1d528888c3f53ae/pycarwings3-0.7.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c3ab46b0985f161ac3711d634b6500a09b2c0c36ef17ba8db1813050f8f45f03",
                "md5": "cb694ef2b969fd767acfd03fb851dc3e",
                "sha256": "b845f9223029eba8b3e2eb59d183b80fb2b7553a6e6fc4af36ecd3b9180dc334"
            },
            "downloads": -1,
            "filename": "pycarwings3-0.7.8.tar.gz",
            "has_sig": false,
            "md5_digest": "cb694ef2b969fd767acfd03fb851dc3e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20201,
            "upload_time": "2024-10-19T10:23:08",
            "upload_time_iso_8601": "2024-10-19T10:23:08.348671Z",
            "url": "https://files.pythonhosted.org/packages/c3/ab/46b0985f161ac3711d634b6500a09b2c0c36ef17ba8db1813050f8f45f03/pycarwings3-0.7.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-19 10:23:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ev-freaks",
    "github_project": "pycarwings3",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "pycarwings3"
}
        
Elapsed time: 0.57597s