python-terminusgps 1.5.4__tar.gz → 1.5.6__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.
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/PKG-INFO +1 -1
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/pyproject.toml +1 -1
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/session.py +0 -2
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/uv.lock +1 -1
- python_terminusgps-1.5.4/docs/Makefile +0 -20
- python_terminusgps-1.5.4/docs/make.bat +0 -35
- python_terminusgps-1.5.4/docs/source/conf.py +0 -35
- python_terminusgps-1.5.4/docs/source/index.rst +0 -18
- python_terminusgps-1.5.4/docs/source/modules.rst +0 -7
- python_terminusgps-1.5.4/docs/source/terminusgps.authorizenet.rst +0 -21
- python_terminusgps-1.5.4/docs/source/terminusgps.aws.rst +0 -21
- python_terminusgps-1.5.4/docs/source/terminusgps.rst +0 -31
- python_terminusgps-1.5.4/docs/source/terminusgps.wialon.items.rst +0 -69
- python_terminusgps-1.5.4/docs/source/terminusgps.wialon.rst +0 -61
- python_terminusgps-1.5.4/source/conf.py +0 -28
- python_terminusgps-1.5.4/source/index.rst +0 -17
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/.gitignore +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/COPYING +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/README.md +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/requirements.txt +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/__init__.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/authorizenet/__init__.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/authorizenet/auth.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/aws/__init__.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/aws/secrets.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/settings.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/__init__.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/constants.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/errors.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/flags.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/items/__init__.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/items/base.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/items/resource.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/items/retranslator.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/items/route.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/items/unit.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/items/unit_group.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/items/user.py +0 -0
- {python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.6
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "python-terminusgps"
|
|
3
|
-
version = "1.5.
|
|
3
|
+
version = "1.5.6"
|
|
4
4
|
description = "Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [ {name = "Blake Nall", email = "blake@terminusgps.com" } ]
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
from wialon.api import Wialon, WialonError
|
|
2
|
-
from pprint import pprint
|
|
3
2
|
from django.conf import settings
|
|
4
3
|
from django.core.exceptions import ImproperlyConfigured
|
|
5
4
|
|
|
@@ -243,7 +242,6 @@ class WialonSession:
|
|
|
243
242
|
assert not self.active, "Cannot login to an active session."
|
|
244
243
|
try:
|
|
245
244
|
response = self.wialon_api.token_login(**{"token": token, "fl": flags})
|
|
246
|
-
pprint(response)
|
|
247
245
|
except WialonError as e:
|
|
248
246
|
raise WialonLoginError(token, e)
|
|
249
247
|
else:
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Minimal makefile for Sphinx documentation
|
|
2
|
-
#
|
|
3
|
-
|
|
4
|
-
# You can set these variables from the command line, and also
|
|
5
|
-
# from the environment for the first two.
|
|
6
|
-
SPHINXOPTS ?=
|
|
7
|
-
SPHINXBUILD ?= sphinx-build
|
|
8
|
-
SOURCEDIR = source
|
|
9
|
-
BUILDDIR = build
|
|
10
|
-
|
|
11
|
-
# Put it first so that "make" without argument is like "make help".
|
|
12
|
-
help:
|
|
13
|
-
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
14
|
-
|
|
15
|
-
.PHONY: help Makefile
|
|
16
|
-
|
|
17
|
-
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
18
|
-
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
19
|
-
%: Makefile
|
|
20
|
-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
@ECHO OFF
|
|
2
|
-
|
|
3
|
-
pushd %~dp0
|
|
4
|
-
|
|
5
|
-
REM Command file for Sphinx documentation
|
|
6
|
-
|
|
7
|
-
if "%SPHINXBUILD%" == "" (
|
|
8
|
-
set SPHINXBUILD=sphinx-build
|
|
9
|
-
)
|
|
10
|
-
set SOURCEDIR=source
|
|
11
|
-
set BUILDDIR=build
|
|
12
|
-
|
|
13
|
-
%SPHINXBUILD% >NUL 2>NUL
|
|
14
|
-
if errorlevel 9009 (
|
|
15
|
-
echo.
|
|
16
|
-
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
|
17
|
-
echo.installed, then set the SPHINXBUILD environment variable to point
|
|
18
|
-
echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
|
19
|
-
echo.may add the Sphinx directory to PATH.
|
|
20
|
-
echo.
|
|
21
|
-
echo.If you don't have Sphinx installed, grab it from
|
|
22
|
-
echo.https://www.sphinx-doc.org/
|
|
23
|
-
exit /b 1
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
if "%1" == "" goto help
|
|
27
|
-
|
|
28
|
-
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
29
|
-
goto end
|
|
30
|
-
|
|
31
|
-
:help
|
|
32
|
-
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
33
|
-
|
|
34
|
-
:end
|
|
35
|
-
popd
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Configuration file for the Sphinx documentation builder.
|
|
2
|
-
#
|
|
3
|
-
# For the full list of built-in configuration values, see the documentation:
|
|
4
|
-
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
5
|
-
|
|
6
|
-
# -- Project information -----------------------------------------------------
|
|
7
|
-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
8
|
-
|
|
9
|
-
import os
|
|
10
|
-
import sys
|
|
11
|
-
import django
|
|
12
|
-
|
|
13
|
-
sys.path.insert(0, os.path.abspath(".."))
|
|
14
|
-
os.environ["DJANGO_SETTINGS_MODULE"] = "terminusgps.settings"
|
|
15
|
-
django.setup()
|
|
16
|
-
|
|
17
|
-
project = "python-terminusgps"
|
|
18
|
-
copyright = "2025, Terminus GPS"
|
|
19
|
-
author = "Terminus GPS"
|
|
20
|
-
release = "1.0.0"
|
|
21
|
-
|
|
22
|
-
# -- General configuration ---------------------------------------------------
|
|
23
|
-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
24
|
-
|
|
25
|
-
extensions = ["sphinx.ext.autodoc", "sphinx_rtd_theme"]
|
|
26
|
-
|
|
27
|
-
templates_path = ["_templates"]
|
|
28
|
-
exclude_patterns = []
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
# -- Options for HTML output -------------------------------------------------
|
|
32
|
-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
33
|
-
|
|
34
|
-
html_theme = "sphinx_rtd_theme"
|
|
35
|
-
html_static_path = ["_static"]
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
.. python-terminusgps documentation master file, created by
|
|
2
|
-
sphinx-quickstart on Tue Jan 14 10:42:12 2025.
|
|
3
|
-
You can adapt this file completely to your liking, but it should at least
|
|
4
|
-
contain the root `toctree` directive.
|
|
5
|
-
|
|
6
|
-
python-terminusgps documentation
|
|
7
|
-
================================
|
|
8
|
-
|
|
9
|
-
Add your content using ``reStructuredText`` syntax. See the
|
|
10
|
-
`reStructuredText <https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html>`_
|
|
11
|
-
documentation for details.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.. toctree::
|
|
15
|
-
:maxdepth: 2
|
|
16
|
-
:caption: Contents:
|
|
17
|
-
|
|
18
|
-
modules.rst
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
terminusgps.authorizenet package
|
|
2
|
-
================================
|
|
3
|
-
|
|
4
|
-
Submodules
|
|
5
|
-
----------
|
|
6
|
-
|
|
7
|
-
terminusgps.authorizenet.auth module
|
|
8
|
-
------------------------------------
|
|
9
|
-
|
|
10
|
-
.. automodule:: terminusgps.authorizenet.auth
|
|
11
|
-
:members:
|
|
12
|
-
:undoc-members:
|
|
13
|
-
:show-inheritance:
|
|
14
|
-
|
|
15
|
-
Module contents
|
|
16
|
-
---------------
|
|
17
|
-
|
|
18
|
-
.. automodule:: terminusgps.authorizenet
|
|
19
|
-
:members:
|
|
20
|
-
:undoc-members:
|
|
21
|
-
:show-inheritance:
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
terminusgps.aws package
|
|
2
|
-
=======================
|
|
3
|
-
|
|
4
|
-
Submodules
|
|
5
|
-
----------
|
|
6
|
-
|
|
7
|
-
terminusgps.aws.secrets module
|
|
8
|
-
------------------------------
|
|
9
|
-
|
|
10
|
-
.. automodule:: terminusgps.aws.secrets
|
|
11
|
-
:members:
|
|
12
|
-
:undoc-members:
|
|
13
|
-
:show-inheritance:
|
|
14
|
-
|
|
15
|
-
Module contents
|
|
16
|
-
---------------
|
|
17
|
-
|
|
18
|
-
.. automodule:: terminusgps.aws
|
|
19
|
-
:members:
|
|
20
|
-
:undoc-members:
|
|
21
|
-
:show-inheritance:
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
terminusgps package
|
|
2
|
-
===================
|
|
3
|
-
|
|
4
|
-
Subpackages
|
|
5
|
-
-----------
|
|
6
|
-
|
|
7
|
-
.. toctree::
|
|
8
|
-
:maxdepth: 4
|
|
9
|
-
|
|
10
|
-
terminusgps.authorizenet
|
|
11
|
-
terminusgps.aws
|
|
12
|
-
terminusgps.wialon
|
|
13
|
-
|
|
14
|
-
Submodules
|
|
15
|
-
----------
|
|
16
|
-
|
|
17
|
-
terminusgps.settings module
|
|
18
|
-
---------------------------
|
|
19
|
-
|
|
20
|
-
.. automodule:: terminusgps.settings
|
|
21
|
-
:members:
|
|
22
|
-
:undoc-members:
|
|
23
|
-
:show-inheritance:
|
|
24
|
-
|
|
25
|
-
Module contents
|
|
26
|
-
---------------
|
|
27
|
-
|
|
28
|
-
.. automodule:: terminusgps
|
|
29
|
-
:members:
|
|
30
|
-
:undoc-members:
|
|
31
|
-
:show-inheritance:
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
terminusgps.wialon.items package
|
|
2
|
-
================================
|
|
3
|
-
|
|
4
|
-
Submodules
|
|
5
|
-
----------
|
|
6
|
-
|
|
7
|
-
terminusgps.wialon.items.base module
|
|
8
|
-
------------------------------------
|
|
9
|
-
|
|
10
|
-
.. automodule:: terminusgps.wialon.items.base
|
|
11
|
-
:members:
|
|
12
|
-
:undoc-members:
|
|
13
|
-
:show-inheritance:
|
|
14
|
-
|
|
15
|
-
terminusgps.wialon.items.resource module
|
|
16
|
-
----------------------------------------
|
|
17
|
-
|
|
18
|
-
.. automodule:: terminusgps.wialon.items.resource
|
|
19
|
-
:members:
|
|
20
|
-
:undoc-members:
|
|
21
|
-
:show-inheritance:
|
|
22
|
-
|
|
23
|
-
terminusgps.wialon.items.retranslator module
|
|
24
|
-
--------------------------------------------
|
|
25
|
-
|
|
26
|
-
.. automodule:: terminusgps.wialon.items.retranslator
|
|
27
|
-
:members:
|
|
28
|
-
:undoc-members:
|
|
29
|
-
:show-inheritance:
|
|
30
|
-
|
|
31
|
-
terminusgps.wialon.items.route module
|
|
32
|
-
-------------------------------------
|
|
33
|
-
|
|
34
|
-
.. automodule:: terminusgps.wialon.items.route
|
|
35
|
-
:members:
|
|
36
|
-
:undoc-members:
|
|
37
|
-
:show-inheritance:
|
|
38
|
-
|
|
39
|
-
terminusgps.wialon.items.unit module
|
|
40
|
-
------------------------------------
|
|
41
|
-
|
|
42
|
-
.. automodule:: terminusgps.wialon.items.unit
|
|
43
|
-
:members:
|
|
44
|
-
:undoc-members:
|
|
45
|
-
:show-inheritance:
|
|
46
|
-
|
|
47
|
-
terminusgps.wialon.items.unit\_group module
|
|
48
|
-
-------------------------------------------
|
|
49
|
-
|
|
50
|
-
.. automodule:: terminusgps.wialon.items.unit_group
|
|
51
|
-
:members:
|
|
52
|
-
:undoc-members:
|
|
53
|
-
:show-inheritance:
|
|
54
|
-
|
|
55
|
-
terminusgps.wialon.items.user module
|
|
56
|
-
------------------------------------
|
|
57
|
-
|
|
58
|
-
.. automodule:: terminusgps.wialon.items.user
|
|
59
|
-
:members:
|
|
60
|
-
:undoc-members:
|
|
61
|
-
:show-inheritance:
|
|
62
|
-
|
|
63
|
-
Module contents
|
|
64
|
-
---------------
|
|
65
|
-
|
|
66
|
-
.. automodule:: terminusgps.wialon.items
|
|
67
|
-
:members:
|
|
68
|
-
:undoc-members:
|
|
69
|
-
:show-inheritance:
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
terminusgps.wialon package
|
|
2
|
-
==========================
|
|
3
|
-
|
|
4
|
-
Subpackages
|
|
5
|
-
-----------
|
|
6
|
-
|
|
7
|
-
.. toctree::
|
|
8
|
-
:maxdepth: 4
|
|
9
|
-
|
|
10
|
-
terminusgps.wialon.items
|
|
11
|
-
|
|
12
|
-
Submodules
|
|
13
|
-
----------
|
|
14
|
-
|
|
15
|
-
terminusgps.wialon.constants module
|
|
16
|
-
-----------------------------------
|
|
17
|
-
|
|
18
|
-
.. automodule:: terminusgps.wialon.constants
|
|
19
|
-
:members:
|
|
20
|
-
:undoc-members:
|
|
21
|
-
:show-inheritance:
|
|
22
|
-
|
|
23
|
-
terminusgps.wialon.errors module
|
|
24
|
-
--------------------------------
|
|
25
|
-
|
|
26
|
-
.. automodule:: terminusgps.wialon.errors
|
|
27
|
-
:members:
|
|
28
|
-
:undoc-members:
|
|
29
|
-
:show-inheritance:
|
|
30
|
-
|
|
31
|
-
terminusgps.wialon.flags module
|
|
32
|
-
-------------------------------
|
|
33
|
-
|
|
34
|
-
.. automodule:: terminusgps.wialon.flags
|
|
35
|
-
:members:
|
|
36
|
-
:undoc-members:
|
|
37
|
-
:show-inheritance:
|
|
38
|
-
|
|
39
|
-
terminusgps.wialon.session module
|
|
40
|
-
---------------------------------
|
|
41
|
-
|
|
42
|
-
.. automodule:: terminusgps.wialon.session
|
|
43
|
-
:members:
|
|
44
|
-
:undoc-members:
|
|
45
|
-
:show-inheritance:
|
|
46
|
-
|
|
47
|
-
terminusgps.wialon.utils module
|
|
48
|
-
-------------------------------
|
|
49
|
-
|
|
50
|
-
.. automodule:: terminusgps.wialon.utils
|
|
51
|
-
:members:
|
|
52
|
-
:undoc-members:
|
|
53
|
-
:show-inheritance:
|
|
54
|
-
|
|
55
|
-
Module contents
|
|
56
|
-
---------------
|
|
57
|
-
|
|
58
|
-
.. automodule:: terminusgps.wialon
|
|
59
|
-
:members:
|
|
60
|
-
:undoc-members:
|
|
61
|
-
:show-inheritance:
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Configuration file for the Sphinx documentation builder.
|
|
2
|
-
#
|
|
3
|
-
# For the full list of built-in configuration values, see the documentation:
|
|
4
|
-
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
5
|
-
|
|
6
|
-
# -- Project information -----------------------------------------------------
|
|
7
|
-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
8
|
-
|
|
9
|
-
project = 'python-terminusgps'
|
|
10
|
-
copyright = '2025, Terminus GPS'
|
|
11
|
-
author = 'Terminus GPS'
|
|
12
|
-
release = '1.0.0'
|
|
13
|
-
|
|
14
|
-
# -- General configuration ---------------------------------------------------
|
|
15
|
-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
16
|
-
|
|
17
|
-
extensions = []
|
|
18
|
-
|
|
19
|
-
templates_path = ['_templates']
|
|
20
|
-
exclude_patterns = []
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
# -- Options for HTML output -------------------------------------------------
|
|
25
|
-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
26
|
-
|
|
27
|
-
html_theme = 'alabaster'
|
|
28
|
-
html_static_path = ['_static']
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
.. python-terminusgps documentation master file, created by
|
|
2
|
-
sphinx-quickstart on Tue Jan 14 10:41:28 2025.
|
|
3
|
-
You can adapt this file completely to your liking, but it should at least
|
|
4
|
-
contain the root `toctree` directive.
|
|
5
|
-
|
|
6
|
-
python-terminusgps documentation
|
|
7
|
-
================================
|
|
8
|
-
|
|
9
|
-
Add your content using ``reStructuredText`` syntax. See the
|
|
10
|
-
`reStructuredText <https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html>`_
|
|
11
|
-
documentation for details.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.. toctree::
|
|
15
|
-
:maxdepth: 2
|
|
16
|
-
:caption: Contents:
|
|
17
|
-
|
|
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
|
{python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/items/retranslator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-1.5.4 → python_terminusgps-1.5.6}/terminusgps/wialon/items/unit_group.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|