python-terminusgps 20.5.0__py3-none-any.whl → 20.5.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 20.5.0
3
+ Version: 20.5.1
4
4
  Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
5
5
  Project-URL: Documentation, https://app.terminusgps.com/docs/apps/python-terminusgps/index.html
6
6
  Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
@@ -17,7 +17,7 @@ terminusgps/wialon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
17
17
  terminusgps/wialon/constants.py,sha256=u7y9MsA5LYvjPjxJnCMQdprTF3QhPPR9j4MvzoSNBaw,1628
18
18
  terminusgps/wialon/flags.py,sha256=-OoH-eZM54yjRqxsAXL8VImdQu_7C0OAxCrFqaCEuko,13510
19
19
  terminusgps/wialon/logger.py,sha256=nUBsaLMaffSaAHGHAM6mFXDzix9hbNecVtA3INVtii8,968
20
- terminusgps/wialon/session.py,sha256=47Cq3cM4sF-lySPtafzizKHeHbfuDuK1CnR0Jrmwk-Q,10634
20
+ terminusgps/wialon/session.py,sha256=4YoTA6oVux4vd_F_nZLXl4N5i_FtrI6GpumtJbs-2Tw,10118
21
21
  terminusgps/wialon/utils.py,sha256=KhRgLcD4q2EXAGhi_OOdpo3Azvu65NAEQIvzClj9tbc,6494
22
22
  terminusgps/wialon/items/__init__.py,sha256=cfUC5sfVsTwmpgsR-w9wA4ay6_EZYAPgEeuw2k06RJM,256
23
23
  terminusgps/wialon/items/base.py,sha256=EAtzlnCvB7WTu3iX1bV1-S9TvwXc-Eez7e0X4TMiK9U,6943
@@ -29,7 +29,7 @@ terminusgps/wialon/items/route.py,sha256=PTJx1gmT_PGz7nlSSUS2VzjYD-aAuvkEOIdIFne
29
29
  terminusgps/wialon/items/unit.py,sha256=sXgEW3mbGgHCI9-lD69voy8yiKv39rKJei6ybYODKpM,8531
30
30
  terminusgps/wialon/items/unit_group.py,sha256=vGVJMBY1BrKK0tP-C1DCIz4Bh6P-HKRnKY1g8g95UIs,5031
31
31
  terminusgps/wialon/items/user.py,sha256=INwAibQVmjNNelepQXMfDevgJqMvIjHHgEjAMLRvhB0,7082
32
- python_terminusgps-20.5.0.dist-info/METADATA,sha256=PT4xXro5O_TFZ1FSw2f5oWGbhbyoxxMV28CjYHpo3Rg,912
33
- python_terminusgps-20.5.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
34
- python_terminusgps-20.5.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
35
- python_terminusgps-20.5.0.dist-info/RECORD,,
32
+ python_terminusgps-20.5.1.dist-info/METADATA,sha256=AIl4bT3oFG3RFJaA4MblvwZjYEiWOZw-x2AY0pO-Q8s,912
33
+ python_terminusgps-20.5.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
34
+ python_terminusgps-20.5.1.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
35
+ python_terminusgps-20.5.1.dist-info/RECORD,,
@@ -342,20 +342,3 @@ class WialonSessionManager:
342
342
  if not self._session:
343
343
  self._session = WialonSession(sid=sid, log_level=log_level)
344
344
  return self._session
345
-
346
-
347
- def main() -> None:
348
- # Usage example
349
- session = WialonSession(log_level=logging.DEBUG) # Instantiate session
350
- session.login(settings.WIALON_TOKEN) # Login to session
351
- session.wialon_api.avl_evts() # Call Wialon API
352
- session.logout() # Logout of session
353
-
354
- # Alternatively, use a context manager to handle logging in and out
355
- with WialonSession() as session:
356
- session.wialon_api.avl_evts() # Call Wialon API, logout when scope ends
357
- return
358
-
359
-
360
- if __name__ == "__main__":
361
- main()