ics-wivi-analytics-ingest 0.1.3__py3-none-any.whl → 0.1.5__py3-none-any.whl
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.
Potentially problematic release.
This version of ics-wivi-analytics-ingest might be problematic. Click here for more details.
- analytics_ingest/internal/schemas/gps_schema.py +2 -2
- {ics_wivi_analytics_ingest-0.1.3.dist-info → ics_wivi_analytics_ingest-0.1.5.dist-info}/METADATA +7 -11
- {ics_wivi_analytics_ingest-0.1.3.dist-info → ics_wivi_analytics_ingest-0.1.5.dist-info}/RECORD +6 -6
- {ics_wivi_analytics_ingest-0.1.3.dist-info → ics_wivi_analytics_ingest-0.1.5.dist-info}/WHEEL +0 -0
- {ics_wivi_analytics_ingest-0.1.3.dist-info → ics_wivi_analytics_ingest-0.1.5.dist-info}/licenses/LICENSE +0 -0
- {ics_wivi_analytics_ingest-0.1.3.dist-info → ics_wivi_analytics_ingest-0.1.5.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# analytics_ingest/src/analytics_ingest/internal/schemas/gps_schema.py
|
|
2
2
|
|
|
3
3
|
from datetime import datetime
|
|
4
|
-
from typing import Optional
|
|
4
|
+
from typing import Optional, Any
|
|
5
5
|
|
|
6
6
|
from pydantic import BaseModel
|
|
7
7
|
|
|
@@ -21,7 +21,7 @@ class GPSSchema(BaseModel):
|
|
|
21
21
|
accuracy: Optional[float] = None
|
|
22
22
|
altitude: Optional[float] = None
|
|
23
23
|
speed: Optional[float] = None
|
|
24
|
-
bearing: Optional[
|
|
24
|
+
bearing: Optional[Any] = None
|
|
25
25
|
available: Optional[AvailableSchema] = None
|
|
26
26
|
|
|
27
27
|
@classmethod
|
{ics_wivi_analytics_ingest-0.1.3.dist-info → ics_wivi_analytics_ingest-0.1.5.dist-info}/METADATA
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ics-wivi-analytics-ingest
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: -
|
|
3
|
+
Version: 0.1.5
|
|
4
|
+
Summary: - Bearing accept both string and float.
|
|
5
5
|
Author-email: Haseeb Saif Ullah <hsaif@intrepidcs.com>, Scott VanDeWater <svandewater@intrepidcs.com>
|
|
6
6
|
License: Copyright (c) 2018-2025 Intrepid Control Systems, Inc.
|
|
7
7
|
|
|
@@ -51,7 +51,7 @@ Dynamic: license-file
|
|
|
51
51
|
|
|
52
52
|
# 🚗 Analytics Ingest Client
|
|
53
53
|
|
|
54
|
-
A lightweight Python library to batch and send automotive telemetry — like signals, DTCs, GPS, and network stats — to a GraphQL backend
|
|
54
|
+
A lightweight Python library to batch and send automotive telemetry — like signals, DTCs, GPS, and network stats — to a GraphQL backend.
|
|
55
55
|
|
|
56
56
|
---
|
|
57
57
|
|
|
@@ -65,7 +65,6 @@ A lightweight Python library to batch and send automotive telemetry — like sig
|
|
|
65
65
|
* Minimal dependencies
|
|
66
66
|
* Easy to integrate and test
|
|
67
67
|
* Supports Signals, DTCs, GPS, and Network Stats ingestion
|
|
68
|
-
* JWT (`SEC_AUTH_TOKEN`)
|
|
69
68
|
|
|
70
69
|
---
|
|
71
70
|
|
|
@@ -76,15 +75,14 @@ pip install ics-wivi-analytics-ingest
|
|
|
76
75
|
```
|
|
77
76
|
---
|
|
78
77
|
|
|
79
|
-
## 🔑 Setting
|
|
78
|
+
## 🔑 Setting Endpoint via Environment Variables
|
|
80
79
|
|
|
81
|
-
You can avoid hardcoding sensitive values like
|
|
80
|
+
You can avoid hardcoding sensitive values like GraphQL endpoints by using environment variables.
|
|
82
81
|
|
|
83
82
|
### Example (Linux / macOS)
|
|
84
83
|
|
|
85
84
|
```bash
|
|
86
|
-
export
|
|
87
|
-
export GRAPHQL_ENDPOINT="https://0.0.0.0:8092/graphql"
|
|
85
|
+
export GRAPHQL_ENDPOINT="https://0.0.0.0:8092/graphql"
|
|
88
86
|
```
|
|
89
87
|
|
|
90
88
|
## 🚀 Quick Usage
|
|
@@ -98,7 +96,6 @@ client = IcsAnalytics(
|
|
|
98
96
|
fleet_id=789,
|
|
99
97
|
org_id=1011,
|
|
100
98
|
graphql_endpoint="https://0.0.0.0:8092/graphql", #default endpoint
|
|
101
|
-
jwt_token="token",
|
|
102
99
|
batch_size=100,
|
|
103
100
|
batch_interval_seconds=10,
|
|
104
101
|
max_signal_count=100
|
|
@@ -198,11 +195,10 @@ Set through constructor or environment variables.
|
|
|
198
195
|
| `vehicle_id` | Vehicle ID (required) | – |
|
|
199
196
|
| `fleet_id` | Fleet ID (required) | – |
|
|
200
197
|
| `org_id` | Org ID (required) | – |
|
|
201
|
-
| `graphql_endpoint` | GraphQL endpoint |
|
|
198
|
+
| `graphql_endpoint` | GraphQL endpoint | Optional|
|
|
202
199
|
| `batch_size` | Max items per batch | 100 |
|
|
203
200
|
| `batch_interval_seconds` | Time-based flush interval | 10 |
|
|
204
201
|
| `max_signal_count` | Max signals before flush | 100 |
|
|
205
|
-
| `jwt_token` | JWT token | '' |
|
|
206
202
|
|
|
207
203
|
|
|
208
204
|
---
|
{ics_wivi_analytics_ingest-0.1.3.dist-info → ics_wivi_analytics_ingest-0.1.5.dist-info}/RECORD
RENAMED
|
@@ -4,7 +4,7 @@ analytics_ingest/internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
|
|
|
4
4
|
analytics_ingest/internal/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
analytics_ingest/internal/schemas/configuration_schema.py,sha256=u53vkAPBjEI6orcIxapiD983VrytyrSz1ZfwCymMvhc,451
|
|
6
6
|
analytics_ingest/internal/schemas/dtc_schema.py,sha256=l-XeV0zj8fMwfbJH_V7SF29di4wBoMlglLwCer0tEmQ,491
|
|
7
|
-
analytics_ingest/internal/schemas/gps_schema.py,sha256=
|
|
7
|
+
analytics_ingest/internal/schemas/gps_schema.py,sha256=cJGq87YJ8twyMsebseTWaNC_Q-wi6cACHIyS98PteqQ,922
|
|
8
8
|
analytics_ingest/internal/schemas/ingest_config_schema.py,sha256=KyBLJKdK492KDmDiK4EZhf3UZVDFJkXMQE8r74OIWik,888
|
|
9
9
|
analytics_ingest/internal/schemas/message_schema.py,sha256=dtNwwjxVE0NHrsoJDiveKjus_ENZVyWj0guAGDlrW1Q,979
|
|
10
10
|
analytics_ingest/internal/schemas/network_schema.py,sha256=d003Z5oAd5bT-KdBKBoKE0DI9owj0rR1951hrLoiml0,1023
|
|
@@ -28,8 +28,8 @@ factories/init_schema_factory.py,sha256=1EnCD_IHoKTER2X6gbug0ZUsr9Iho9t3bbgABwLH
|
|
|
28
28
|
factories/message.py,sha256=C7JorFPIrFzBSfsmRP2pIQ6MKS-1H9imDhm0PMe1YSc,722
|
|
29
29
|
factories/network_stats.py,sha256=HCttDWOXPUDqJnh66DuwbtJEQmUzrPGYHmaxCVD6Bvo,813
|
|
30
30
|
factories/signal.py,sha256=zsj1p13dbKDStNhW0GHOOf8Ru8bM-VHV1pW1mj5ZZFs,1513
|
|
31
|
-
ics_wivi_analytics_ingest-0.1.
|
|
32
|
-
ics_wivi_analytics_ingest-0.1.
|
|
33
|
-
ics_wivi_analytics_ingest-0.1.
|
|
34
|
-
ics_wivi_analytics_ingest-0.1.
|
|
35
|
-
ics_wivi_analytics_ingest-0.1.
|
|
31
|
+
ics_wivi_analytics_ingest-0.1.5.dist-info/licenses/LICENSE,sha256=y8iihD3bEcObJaLI4FUKuGXa0Yr3BnOmQ3QUPuPvO90,1649
|
|
32
|
+
ics_wivi_analytics_ingest-0.1.5.dist-info/METADATA,sha256=-XWN709vBP1KSuyceyqBS-U1fDHachqg2HuwfAsdkN8,12427
|
|
33
|
+
ics_wivi_analytics_ingest-0.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
34
|
+
ics_wivi_analytics_ingest-0.1.5.dist-info/top_level.txt,sha256=SSaHIk3V55_kvJGdVYLZUIP5tJVdSibTLt1rFtqKN00,27
|
|
35
|
+
ics_wivi_analytics_ingest-0.1.5.dist-info/RECORD,,
|
{ics_wivi_analytics_ingest-0.1.3.dist-info → ics_wivi_analytics_ingest-0.1.5.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|