pycupra 0.1.11__tar.gz → 0.1.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pycupra-0.1.12/PKG-INFO +13 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/__version__.py +1 -1
- pycupra-0.1.12/pycupra.egg-info/PKG-INFO +13 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra.egg-info/SOURCES.txt +1 -2
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra.egg-info/requires.txt +1 -0
- pycupra-0.1.12/pyproject.toml +16 -0
- pycupra-0.1.12/setup.cfg +4 -0
- pycupra-0.1.11/PKG-INFO +0 -67
- pycupra-0.1.11/pycupra.egg-info/PKG-INFO +0 -67
- pycupra-0.1.11/setup.cfg +0 -36
- pycupra-0.1.11/setup.py +0 -30
- {pycupra-0.1.11 → pycupra-0.1.12}/.gitignore +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/LICENSE +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/README.md +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/example/PyCupra.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/__init__.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/connection.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/const.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/dashboard.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/exceptions.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/__init__.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/android_checkin.proto +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/android_checkin_pb2.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/android_checkin_pb2.pyi +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/checkin.proto +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/checkin_pb2.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/checkin_pb2.pyi +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/const.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/fcmpushclient.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/fcmregister.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/mcs.proto +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/mcs_pb2.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/mcs_pb2.pyi +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/firebase_messaging/py.typed +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/utilities.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra/vehicle.py +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra.egg-info/dependency_links.txt +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra.egg-info/top_level.txt +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/pycupra_credentials.json.demo +0 -0
- {pycupra-0.1.11 → pycupra-0.1.12}/requirements.txt +0 -0
pycupra-0.1.12/PKG-INFO
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: pycupra
|
3
|
+
Version: 0.1.12
|
4
|
+
Requires-Python: >=3.10
|
5
|
+
License-File: LICENSE
|
6
|
+
Requires-Dist: aiohttp
|
7
|
+
Requires-Dist: beautifulsoup4
|
8
|
+
Requires-Dist: cryptography
|
9
|
+
Requires-Dist: lxml
|
10
|
+
Requires-Dist: PyJWT
|
11
|
+
Requires-Dist: xmltodict
|
12
|
+
Requires-Dist: pandas
|
13
|
+
Dynamic: license-file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: pycupra
|
3
|
+
Version: 0.1.12
|
4
|
+
Requires-Python: >=3.10
|
5
|
+
License-File: LICENSE
|
6
|
+
Requires-Dist: aiohttp
|
7
|
+
Requires-Dist: beautifulsoup4
|
8
|
+
Requires-Dist: cryptography
|
9
|
+
Requires-Dist: lxml
|
10
|
+
Requires-Dist: PyJWT
|
11
|
+
Requires-Dist: xmltodict
|
12
|
+
Requires-Dist: pandas
|
13
|
+
Dynamic: license-file
|
@@ -0,0 +1,16 @@
|
|
1
|
+
[build-system]
|
2
|
+
requires = ["setuptools"]
|
3
|
+
|
4
|
+
[project]
|
5
|
+
name = "pycupra"
|
6
|
+
version = "0.1.12"
|
7
|
+
requires-python = ">=3.10"
|
8
|
+
dependencies = [
|
9
|
+
"aiohttp",
|
10
|
+
"beautifulsoup4",
|
11
|
+
"cryptography",
|
12
|
+
"lxml",
|
13
|
+
"PyJWT",
|
14
|
+
"xmltodict",
|
15
|
+
"pandas"
|
16
|
+
]
|
pycupra-0.1.12/setup.cfg
ADDED
pycupra-0.1.11/PKG-INFO
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: pycupra
|
3
|
-
Version: 0.1.11
|
4
|
-
Summary: A library to read and send vehicle data via Cupra/Seat portal using the same API calls as the MyCupra/MySeat mobile app.
|
5
|
-
Home-page: https://github.com/WulfgarW/pycupra
|
6
|
-
Author: WulfgarW
|
7
|
-
License: APACHE-2.0
|
8
|
-
Provides: pycupra
|
9
|
-
Description-Content-Type: text/markdown
|
10
|
-
License-File: LICENSE
|
11
|
-
Requires-Dist: aiohttp
|
12
|
-
Requires-Dist: beautifulsoup4
|
13
|
-
Requires-Dist: cryptography
|
14
|
-
Requires-Dist: lxml
|
15
|
-
Requires-Dist: PyJWT
|
16
|
-
Requires-Dist: xmltodict
|
17
|
-
Dynamic: author
|
18
|
-
Dynamic: description
|
19
|
-
Dynamic: description-content-type
|
20
|
-
Dynamic: home-page
|
21
|
-
Dynamic: license-file
|
22
|
-
Dynamic: provides
|
23
|
-
Dynamic: requires-dist
|
24
|
-
Dynamic: summary
|
25
|
-
|
26
|
-
# PyCupra
|
27
|
-
|
28
|
-
A library to read and send vehicle data via Cupra/Seat portal using the same API calls as the MyCupra/MySeat mobile app.
|
29
|
-
|
30
|
-
Fork of https://github.com/Farfar/seatconnect which in turn is a fork of:
|
31
|
-
Fork of https://github.com/lendy007/skodaconnect which in turn is a fork of:
|
32
|
-
https://github.com/robinostlund/volkswagencarnet
|
33
|
-
|
34
|
-
## Information
|
35
|
-
|
36
|
-
Retrieve statistics about your Cupra/Seat from the Cupra/Seat Connect online service
|
37
|
-
|
38
|
-
No licence, public domain, no guarantees, feel free to use for anything. Please contribute improvements/bugfixes etc.
|
39
|
-
|
40
|
-
## Breaking changes
|
41
|
-
|
42
|
-
- The method vehicle.update(updateType) supports 3 different update types:
|
43
|
-
- updateType=0: Small update (=only get_basiccardata() and get_statusreport are called). If the last full update is more than 1100 seconds ago, then a full update is performed.
|
44
|
-
- updateType=1: Full update (nearly all get-methods are called. The model images and the capabilitites are refreshed only every 2 hours.)
|
45
|
-
- updateType=2: Like updateType=0, but ignoring the nightly update reduction
|
46
|
-
|
47
|
-
- Nightly update reduction: If nightly reduction is activated and the current time is within the time frame between 22:00 and 05:00, then vehicle.update(0) performs a full update, if the last full update is more than 1700 seconds ago. If that's not the case, vehicle.update(0) does nothing.
|
48
|
-
|
49
|
-
- PyCupra can ask the Seat/Cupra portal to send push notifications to PyCupra if the charging status or the climatisation status has changed or when the API has finished a request like lock or unlock vehicle, start or stop charging or change departure timers or ....
|
50
|
-
|
51
|
-
## Thanks to
|
52
|
-
|
53
|
-
- [RobinostLund](https://github.com/robinostlund/volkswagencarnet) for initial project for Volkswagen Carnet I was able to fork
|
54
|
-
- [Farfar](https://github.com/Farfar) for modifications related to electric engines
|
55
|
-
- [tanelvakker](https://github.com/tanelvakker) for modifications related to correct SPIN handling for various actions and using correct URLs also for MY2021
|
56
|
-
- [sdb9696](https://github.com/sdb9696) for the firebase-messaging package that is used in PyCupra with only minor modifications
|
57
|
-
|
58
|
-
### Example
|
59
|
-
|
60
|
-
For an extensive example, please use the code found in example/PyCupra.py.
|
61
|
-
When logged in the library will automatically create a vehicle object for every car registered to the account. Initially no data is fetched at all. Use the doLogin method and it will signin with the credentials used for the class constructor. After a successful login, the tokens are stored in a json file. Later doLogin calls can use the token file instead of the credentials.
|
62
|
-
Method get_vehicles will fetch vehicle basic information and create Vehicle class objects for all associated vehicles in account.
|
63
|
-
To update all available data use the update_all method of the Connect class. This will call the update function for all registered vehicles, which in turn will fetch data from all available API endpoints.
|
64
|
-
|
65
|
-
The file *pycupra_credentials.json.demo* explains the data structure of the credentials file.
|
66
|
-
|
67
|
-
|
@@ -1,67 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: pycupra
|
3
|
-
Version: 0.1.11
|
4
|
-
Summary: A library to read and send vehicle data via Cupra/Seat portal using the same API calls as the MyCupra/MySeat mobile app.
|
5
|
-
Home-page: https://github.com/WulfgarW/pycupra
|
6
|
-
Author: WulfgarW
|
7
|
-
License: APACHE-2.0
|
8
|
-
Provides: pycupra
|
9
|
-
Description-Content-Type: text/markdown
|
10
|
-
License-File: LICENSE
|
11
|
-
Requires-Dist: aiohttp
|
12
|
-
Requires-Dist: beautifulsoup4
|
13
|
-
Requires-Dist: cryptography
|
14
|
-
Requires-Dist: lxml
|
15
|
-
Requires-Dist: PyJWT
|
16
|
-
Requires-Dist: xmltodict
|
17
|
-
Dynamic: author
|
18
|
-
Dynamic: description
|
19
|
-
Dynamic: description-content-type
|
20
|
-
Dynamic: home-page
|
21
|
-
Dynamic: license-file
|
22
|
-
Dynamic: provides
|
23
|
-
Dynamic: requires-dist
|
24
|
-
Dynamic: summary
|
25
|
-
|
26
|
-
# PyCupra
|
27
|
-
|
28
|
-
A library to read and send vehicle data via Cupra/Seat portal using the same API calls as the MyCupra/MySeat mobile app.
|
29
|
-
|
30
|
-
Fork of https://github.com/Farfar/seatconnect which in turn is a fork of:
|
31
|
-
Fork of https://github.com/lendy007/skodaconnect which in turn is a fork of:
|
32
|
-
https://github.com/robinostlund/volkswagencarnet
|
33
|
-
|
34
|
-
## Information
|
35
|
-
|
36
|
-
Retrieve statistics about your Cupra/Seat from the Cupra/Seat Connect online service
|
37
|
-
|
38
|
-
No licence, public domain, no guarantees, feel free to use for anything. Please contribute improvements/bugfixes etc.
|
39
|
-
|
40
|
-
## Breaking changes
|
41
|
-
|
42
|
-
- The method vehicle.update(updateType) supports 3 different update types:
|
43
|
-
- updateType=0: Small update (=only get_basiccardata() and get_statusreport are called). If the last full update is more than 1100 seconds ago, then a full update is performed.
|
44
|
-
- updateType=1: Full update (nearly all get-methods are called. The model images and the capabilitites are refreshed only every 2 hours.)
|
45
|
-
- updateType=2: Like updateType=0, but ignoring the nightly update reduction
|
46
|
-
|
47
|
-
- Nightly update reduction: If nightly reduction is activated and the current time is within the time frame between 22:00 and 05:00, then vehicle.update(0) performs a full update, if the last full update is more than 1700 seconds ago. If that's not the case, vehicle.update(0) does nothing.
|
48
|
-
|
49
|
-
- PyCupra can ask the Seat/Cupra portal to send push notifications to PyCupra if the charging status or the climatisation status has changed or when the API has finished a request like lock or unlock vehicle, start or stop charging or change departure timers or ....
|
50
|
-
|
51
|
-
## Thanks to
|
52
|
-
|
53
|
-
- [RobinostLund](https://github.com/robinostlund/volkswagencarnet) for initial project for Volkswagen Carnet I was able to fork
|
54
|
-
- [Farfar](https://github.com/Farfar) for modifications related to electric engines
|
55
|
-
- [tanelvakker](https://github.com/tanelvakker) for modifications related to correct SPIN handling for various actions and using correct URLs also for MY2021
|
56
|
-
- [sdb9696](https://github.com/sdb9696) for the firebase-messaging package that is used in PyCupra with only minor modifications
|
57
|
-
|
58
|
-
### Example
|
59
|
-
|
60
|
-
For an extensive example, please use the code found in example/PyCupra.py.
|
61
|
-
When logged in the library will automatically create a vehicle object for every car registered to the account. Initially no data is fetched at all. Use the doLogin method and it will signin with the credentials used for the class constructor. After a successful login, the tokens are stored in a json file. Later doLogin calls can use the token file instead of the credentials.
|
62
|
-
Method get_vehicles will fetch vehicle basic information and create Vehicle class objects for all associated vehicles in account.
|
63
|
-
To update all available data use the update_all method of the Connect class. This will call the update function for all registered vehicles, which in turn will fetch data from all available API endpoints.
|
64
|
-
|
65
|
-
The file *pycupra_credentials.json.demo* explains the data structure of the credentials file.
|
66
|
-
|
67
|
-
|
pycupra-0.1.11/setup.cfg
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
[metadata]
|
2
|
-
description_file = README.md
|
3
|
-
license = APACHE-2.0
|
4
|
-
|
5
|
-
[flake8]
|
6
|
-
ignore =
|
7
|
-
I201,
|
8
|
-
W503,
|
9
|
-
CFQ001,
|
10
|
-
CFQ002
|
11
|
-
filename =
|
12
|
-
pycupra.py
|
13
|
-
exclude =
|
14
|
-
.git,
|
15
|
-
__pycache__,
|
16
|
-
*.txt,
|
17
|
-
*.md,
|
18
|
-
*.cfg
|
19
|
-
*.json
|
20
|
-
max_line_length = 127
|
21
|
-
count = True
|
22
|
-
inline_quotes = single
|
23
|
-
|
24
|
-
[tool:pytest]
|
25
|
-
minversion = 5.4.3
|
26
|
-
addopts = -ra -q
|
27
|
-
testpaths = tests
|
28
|
-
python_files = *_test.py
|
29
|
-
pep8maxlinelength = 250
|
30
|
-
pep8ignore = * E731 \
|
31
|
-
* E402 \
|
32
|
-
|
33
|
-
[egg_info]
|
34
|
-
tag_build =
|
35
|
-
tag_date = 0
|
36
|
-
|
pycupra-0.1.11/setup.py
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
import setuptools
|
2
|
-
|
3
|
-
# read the contents of your README file
|
4
|
-
from os import path
|
5
|
-
from pycupra.__version__ import __version__ as lib_version
|
6
|
-
this_directory = path.abspath(path.dirname(__file__))
|
7
|
-
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
8
|
-
long_description = f.read()
|
9
|
-
|
10
|
-
def local_scheme(version):
|
11
|
-
return ""
|
12
|
-
|
13
|
-
setuptools.setup(
|
14
|
-
name='pycupra',
|
15
|
-
version=lib_version,
|
16
|
-
description='A library to read and send vehicle data via Cupra/Seat portal using the same API calls as the MyCupra/MySeat mobile app.',
|
17
|
-
author='WulfgarW',
|
18
|
-
#author_email='xxx@googlemail.com',
|
19
|
-
url='https://github.com/WulfgarW/pycupra',
|
20
|
-
long_description=long_description,
|
21
|
-
long_description_content_type='text/markdown',
|
22
|
-
packages=setuptools.find_packages(),
|
23
|
-
provides=["pycupra"],
|
24
|
-
install_requires=list(open("requirements.txt").read().strip().split("\n")),
|
25
|
-
#use_scm_version=True,
|
26
|
-
use_scm_version={"local_scheme": local_scheme},
|
27
|
-
setup_requires=[
|
28
|
-
'setuptools_scm',
|
29
|
-
]
|
30
|
-
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|