python-terminusgps 53.0.0__tar.gz → 53.1.0__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-53.0.0 → python_terminusgps-53.1.0}/PKG-INFO +1 -1
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/pyproject.toml +1 -1
- python_terminusgps-53.1.0/terminusgps/authorizenet/utils.py +14 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/uv.lock +1 -1
- python_terminusgps-53.0.0/terminusgps/authorizenet/utils.py +0 -13
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/.github/workflows/python-test.yml +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/.github/workflows/sphinx.yml +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/.gitignore +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/.python-version +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/COPYING +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/README.md +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/dist/.gitignore +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/Makefile +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/make.bat +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/requirements.txt +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/authorizenet/api.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/authorizenet/constants.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/authorizenet/index.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/authorizenet/service.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/conf.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/index.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/mixins.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/validators.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/wialon/constants.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/wialon/exceptions.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/wialon/index.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/wialon/items.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/wialon/session.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/wialon/usage.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/wialon/utils.rst +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/htmlcov/.gitignore +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/__init__.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/__init__.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/api/__init__.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/api/address_profiles.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/api/customer_profiles.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/api/payment_profiles.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/api/subscriptions.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/api/transactions.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/constants.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/service.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/default_settings.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/mixins.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/validators.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/wialon/__init__.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/wialon/constants.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/wialon/flags.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/wialon/session.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/wialon/utils.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/tests/__init__.py +0 -0
- {python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/tests/test_authorizenet.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 53.
|
|
3
|
+
Version: 53.1.0
|
|
4
4
|
Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
|
|
5
5
|
Project-URL: Documentation, https://terminusgps.github.io/python-terminusgps
|
|
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 = "53.
|
|
3
|
+
version = "53.1.0"
|
|
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" } ]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import typing
|
|
2
|
+
|
|
3
|
+
T_contract = typing.TypeVar("T_contract")
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AuthorizenetContractBuilder(typing.Generic[T_contract]):
|
|
7
|
+
def __init__(self, contract_cls: type[T_contract]) -> None:
|
|
8
|
+
self.contract_cls = contract_cls
|
|
9
|
+
|
|
10
|
+
def build(self, fields: dict[str, typing.Any]) -> T_contract:
|
|
11
|
+
contract = self.contract_cls()
|
|
12
|
+
for field, value in fields.items():
|
|
13
|
+
setattr(contract, field, value)
|
|
14
|
+
return contract
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import typing
|
|
2
|
-
|
|
3
|
-
T_contract = typing.TypeVar("T_contract")
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def build_contract(
|
|
7
|
-
contract_cls: type[T_contract], fields: dict[str, typing.Any]
|
|
8
|
-
) -> T_contract:
|
|
9
|
-
contract = contract_cls()
|
|
10
|
-
for key, value in fields.items():
|
|
11
|
-
if value:
|
|
12
|
-
setattr(contract, key, value)
|
|
13
|
-
return contract
|
|
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-53.0.0 → python_terminusgps-53.1.0}/docs/source/authorizenet/constants.rst
RENAMED
|
File without changes
|
|
File without changes
|
{python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/docs/source/authorizenet/service.rst
RENAMED
|
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-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/__init__.py
RENAMED
|
File without changes
|
{python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/api/transactions.py
RENAMED
|
File without changes
|
{python_terminusgps-53.0.0 → python_terminusgps-53.1.0}/terminusgps/authorizenet/constants.py
RENAMED
|
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
|