pycarwings3


Namepycarwings3 JSON
Version 0.7.4 PyPI version JSON
download
home_pagehttps://github.com/ev-freaks/pycarwings3
SummaryPython library for interacting with the Nissan Leaf Carwings telematics service
upload_time2024-08-25 20:33:56
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/1a/f5/8d95ff452ddac35187d65bab77e9d88b55bb13326f2bf379a577c69caca0/pycarwings3-0.7.4.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.4",
    "project_urls": {
        "Homepage": "https://github.com/ev-freaks/pycarwings3"
    },
    "split_keywords": [
        "nissan",
        "leaf",
        "carwings",
        "nissan+you"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d698431cc8c380585e161e27ddbd1e9e59ffad2b22dc8ffc04000c6971ce21dc",
                "md5": "0a61a7b31873653b3ca922d023dc0b5c",
                "sha256": "d5b89dda823bc09c75a2fd948777d922d57d2dd9b2f50ceb0ecdd50f61665fce"
            },
            "downloads": -1,
            "filename": "pycarwings3-0.7.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0a61a7b31873653b3ca922d023dc0b5c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 18358,
            "upload_time": "2024-08-25T20:33:55",
            "upload_time_iso_8601": "2024-08-25T20:33:55.408205Z",
            "url": "https://files.pythonhosted.org/packages/d6/98/431cc8c380585e161e27ddbd1e9e59ffad2b22dc8ffc04000c6971ce21dc/pycarwings3-0.7.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1af58d95ff452ddac35187d65bab77e9d88b55bb13326f2bf379a577c69caca0",
                "md5": "b8462496bad2451d6e69e4e094243f20",
                "sha256": "da3e20c666972cf5658bf69f1b433cf46728199fb15ab5f4982f17eda08138be"
            },
            "downloads": -1,
            "filename": "pycarwings3-0.7.4.tar.gz",
            "has_sig": false,
            "md5_digest": "b8462496bad2451d6e69e4e094243f20",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20179,
            "upload_time": "2024-08-25T20:33:56",
            "upload_time_iso_8601": "2024-08-25T20:33:56.343377Z",
            "url": "https://files.pythonhosted.org/packages/1a/f5/8d95ff452ddac35187d65bab77e9d88b55bb13326f2bf379a577c69caca0/pycarwings3-0.7.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-25 20:33:56",
    "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.86628s