py-uconnect


Namepy-uconnect JSON
Version 0.3.9 PyPI version JSON
download
home_pagehttps://github.com/hass-uconnect/py-uconnect
SummaryPython API Client for FCA/Stellantis cars
upload_time2025-07-17 21:29:26
maintainerNone
docs_urlNone
authorOlga Novgorodova
requires_python>=3.10
licenseApache license
keywords fiat jeep dodge ram alfa romeo maserati chrysler api cloud
VCS
bugtrack_url
requirements boto3 requests requests-auth-aws-sigv4 dataclasses_json
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python client for accessing FCA/Stellantis cars cloud API

## Installation

`pip3 install py-uconnect`

## Usage

```python
from py_uconnect import brands, Client

# Create client
client = Client('foo@bar.com', 'very_secret', pin='1234', brand=brands.FIAT_EU)
# Fetch the vehicle data into cache
client.refresh()

# List vehicles
vehicles = client.get_vehicles()
for vehicle in vehicles.values():
    print(vehicle.to_json(indent=2))
```

This would emit something similar to:
```json
{
  "vin": "XXXXXXXXXXXXXXXXXXXX",
  "nickname": "500e",
  "make": "FIAT",
  "model": "Neuer 500",
  "year": 2023,
  "region": "EMEA",
  "ignition_on": false,
  "trunk_locked": true,
  "odometer": 1841,
  "odometer_unit": "km",
  "days_to_service": 325,
  "distance_to_service": 13159.0,
  "distance_to_service_unit": "km",
  "distance_to_empty": 134,
  "distance_to_empty_unit": "km",
  "battery_voltage": 14.875,
  "oil_level": null,
  "fuel_low": false,
  "fuel_amount": null,
  "plugged_in": false,
  "ev_running": false,
  "charging": false,
  "charging_level": 0,
  "charging_level_preference": 5,
  "state_of_charge": 63,
  "time_to_fully_charge_l3": 41,
  "time_to_fully_charge_l2": 96,
  "wheel_front_left_pressure": null,
  "wheel_front_left_pressure_unit": "kPa",
  "wheel_front_left_pressure_warning": false,
  "wheel_front_right_pressure": null,
  "wheel_front_right_pressure_unit": "kPa",
  "wheel_front_right_pressure_warning": false,
  "wheel_rear_left_pressure": null,
  "wheel_rear_left_pressure_unit": "kPa",
  "wheel_rear_left_pressure_warning": false,
  "wheel_rear_right_pressure": null,
  "wheel_rear_right_pressure_unit": "kPa",
  "wheel_rear_right_pressure_warning": false,
  "door_driver_locked": true,
  "door_passenger_locked": true,
  "door_rear_left_locked": true,
  "door_rear_right_locked": true,
  "window_driver_closed": true,
  "window_passenger_closed": true,
  "location": {
    "longitude": 1.580266952514648,
    "latitude": 1.36115264892578,
    "altitude": 0,
    "bearing": 0,
    "is_approximate": false,
    "updated": 1738660203.634
  },
  "supported_commands": [
    "RDL",
    "RDU",
    "VF",
    "ROLIGHTS",
    "CNOW",
    "DEEPREFRESH",
    "ROPRECOND",
    "ROTRUNKUNLOCK",
    "ROPRECOND_OFF"
  ]
}
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hass-uconnect/py-uconnect",
    "name": "py-uconnect",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "fiat, jeep, dodge, ram, alfa, romeo, maserati, chrysler, api, cloud",
    "author": "Olga Novgorodova",
    "author_email": "olga@novg.net",
    "download_url": "https://files.pythonhosted.org/packages/45/76/025dab9be076fa8d63d69b17bfdf94959b1e6d0fe6887e576b8ab3dfa6c1/py_uconnect-0.3.9.tar.gz",
    "platform": null,
    "description": "# Python client for accessing FCA/Stellantis cars cloud API\n\n## Installation\n\n`pip3 install py-uconnect`\n\n## Usage\n\n```python\nfrom py_uconnect import brands, Client\n\n# Create client\nclient = Client('foo@bar.com', 'very_secret', pin='1234', brand=brands.FIAT_EU)\n# Fetch the vehicle data into cache\nclient.refresh()\n\n# List vehicles\nvehicles = client.get_vehicles()\nfor vehicle in vehicles.values():\n    print(vehicle.to_json(indent=2))\n```\n\nThis would emit something similar to:\n```json\n{\n  \"vin\": \"XXXXXXXXXXXXXXXXXXXX\",\n  \"nickname\": \"500e\",\n  \"make\": \"FIAT\",\n  \"model\": \"Neuer 500\",\n  \"year\": 2023,\n  \"region\": \"EMEA\",\n  \"ignition_on\": false,\n  \"trunk_locked\": true,\n  \"odometer\": 1841,\n  \"odometer_unit\": \"km\",\n  \"days_to_service\": 325,\n  \"distance_to_service\": 13159.0,\n  \"distance_to_service_unit\": \"km\",\n  \"distance_to_empty\": 134,\n  \"distance_to_empty_unit\": \"km\",\n  \"battery_voltage\": 14.875,\n  \"oil_level\": null,\n  \"fuel_low\": false,\n  \"fuel_amount\": null,\n  \"plugged_in\": false,\n  \"ev_running\": false,\n  \"charging\": false,\n  \"charging_level\": 0,\n  \"charging_level_preference\": 5,\n  \"state_of_charge\": 63,\n  \"time_to_fully_charge_l3\": 41,\n  \"time_to_fully_charge_l2\": 96,\n  \"wheel_front_left_pressure\": null,\n  \"wheel_front_left_pressure_unit\": \"kPa\",\n  \"wheel_front_left_pressure_warning\": false,\n  \"wheel_front_right_pressure\": null,\n  \"wheel_front_right_pressure_unit\": \"kPa\",\n  \"wheel_front_right_pressure_warning\": false,\n  \"wheel_rear_left_pressure\": null,\n  \"wheel_rear_left_pressure_unit\": \"kPa\",\n  \"wheel_rear_left_pressure_warning\": false,\n  \"wheel_rear_right_pressure\": null,\n  \"wheel_rear_right_pressure_unit\": \"kPa\",\n  \"wheel_rear_right_pressure_warning\": false,\n  \"door_driver_locked\": true,\n  \"door_passenger_locked\": true,\n  \"door_rear_left_locked\": true,\n  \"door_rear_right_locked\": true,\n  \"window_driver_closed\": true,\n  \"window_passenger_closed\": true,\n  \"location\": {\n    \"longitude\": 1.580266952514648,\n    \"latitude\": 1.36115264892578,\n    \"altitude\": 0,\n    \"bearing\": 0,\n    \"is_approximate\": false,\n    \"updated\": 1738660203.634\n  },\n  \"supported_commands\": [\n    \"RDL\",\n    \"RDU\",\n    \"VF\",\n    \"ROLIGHTS\",\n    \"CNOW\",\n    \"DEEPREFRESH\",\n    \"ROPRECOND\",\n    \"ROTRUNKUNLOCK\",\n    \"ROPRECOND_OFF\"\n  ]\n}\n```\n",
    "bugtrack_url": null,
    "license": "Apache license",
    "summary": "Python API Client for FCA/Stellantis cars",
    "version": "0.3.9",
    "project_urls": {
        "Homepage": "https://github.com/hass-uconnect/py-uconnect"
    },
    "split_keywords": [
        "fiat",
        " jeep",
        " dodge",
        " ram",
        " alfa",
        " romeo",
        " maserati",
        " chrysler",
        " api",
        " cloud"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "01341cf272257244437fa45f51748042b220a229c78663949811ef535aeee448",
                "md5": "6a22252a04996607f2f3b136fdb24df8",
                "sha256": "f5733aa4ba68f77f8b1d549a88bb703b43a6d5d3b923a267946cd89c227f4cdc"
            },
            "downloads": -1,
            "filename": "py_uconnect-0.3.9-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6a22252a04996607f2f3b136fdb24df8",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.10",
            "size": 15426,
            "upload_time": "2025-07-17T21:29:25",
            "upload_time_iso_8601": "2025-07-17T21:29:25.353962Z",
            "url": "https://files.pythonhosted.org/packages/01/34/1cf272257244437fa45f51748042b220a229c78663949811ef535aeee448/py_uconnect-0.3.9-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4576025dab9be076fa8d63d69b17bfdf94959b1e6d0fe6887e576b8ab3dfa6c1",
                "md5": "1be416b9d19caf01a9b5f249e0edaccb",
                "sha256": "d446d8cdad78b859f3082ead2f54dd331365c7537e7732141b9d91b9ed1c6c26"
            },
            "downloads": -1,
            "filename": "py_uconnect-0.3.9.tar.gz",
            "has_sig": false,
            "md5_digest": "1be416b9d19caf01a9b5f249e0edaccb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 15683,
            "upload_time": "2025-07-17T21:29:26",
            "upload_time_iso_8601": "2025-07-17T21:29:26.449757Z",
            "url": "https://files.pythonhosted.org/packages/45/76/025dab9be076fa8d63d69b17bfdf94959b1e6d0fe6887e576b8ab3dfa6c1/py_uconnect-0.3.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-17 21:29:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hass-uconnect",
    "github_project": "py-uconnect",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "boto3",
            "specs": [
                [
                    ">=",
                    "1.35.96"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.32.3"
                ]
            ]
        },
        {
            "name": "requests-auth-aws-sigv4",
            "specs": [
                [
                    ">=",
                    "0.7"
                ]
            ]
        },
        {
            "name": "dataclasses_json",
            "specs": [
                [
                    ">=",
                    "0.6.7"
                ]
            ]
        }
    ],
    "lcname": "py-uconnect"
}
        
Elapsed time: 1.02406s