karrio-tnt 2025.5rc1__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.
- karrio/mappers/tnt/__init__.py +3 -0
- karrio/mappers/tnt/mapper.py +40 -0
- karrio/mappers/tnt/proxy.py +97 -0
- karrio/mappers/tnt/settings.py +22 -0
- karrio/plugins/tnt/__init__.py +24 -0
- karrio/providers/tnt/__init__.py +10 -0
- karrio/providers/tnt/error.py +129 -0
- karrio/providers/tnt/rate.py +184 -0
- karrio/providers/tnt/shipment/__init__.py +4 -0
- karrio/providers/tnt/shipment/create.py +226 -0
- karrio/providers/tnt/tracking.py +71 -0
- karrio/providers/tnt/units.py +166 -0
- karrio/providers/tnt/utils.py +162 -0
- karrio/schemas/tnt/__init__.py +0 -0
- karrio/schemas/tnt/label_common_definitions.py +3499 -0
- karrio/schemas/tnt/label_request.py +4409 -0
- karrio/schemas/tnt/label_response.py +5744 -0
- karrio/schemas/tnt/rating_common_definitions.py +1610 -0
- karrio/schemas/tnt/rating_request.py +2886 -0
- karrio/schemas/tnt/rating_response.py +3077 -0
- karrio/schemas/tnt/shipping_common_definitions.py +1216 -0
- karrio/schemas/tnt/shipping_request.py +6114 -0
- karrio/schemas/tnt/shipping_response.py +3404 -0
- karrio/schemas/tnt/tracking_request.py +2742 -0
- karrio/schemas/tnt/tracking_response.py +3729 -0
- karrio_tnt-2025.5rc1.dist-info/METADATA +44 -0
- karrio_tnt-2025.5rc1.dist-info/RECORD +30 -0
- karrio_tnt-2025.5rc1.dist-info/WHEEL +5 -0
- karrio_tnt-2025.5rc1.dist-info/entry_points.txt +2 -0
- karrio_tnt-2025.5rc1.dist-info/top_level.txt +3 -0
@@ -0,0 +1,44 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: karrio_tnt
|
3
|
+
Version: 2025.5rc1
|
4
|
+
Summary: Karrio - TNT Shipping extension
|
5
|
+
Author-email: karrio <hello@karrio.io>
|
6
|
+
License-Expression: Apache-2.0
|
7
|
+
Project-URL: Homepage, https://github.com/karrioapi/karrio
|
8
|
+
Classifier: Intended Audience :: Developers
|
9
|
+
Classifier: Operating System :: OS Independent
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
11
|
+
Requires-Python: >=3.7
|
12
|
+
Description-Content-Type: text/markdown
|
13
|
+
Requires-Dist: karrio
|
14
|
+
|
15
|
+
# karrio.tnt
|
16
|
+
|
17
|
+
This package is a TNT extension of the [karrio](https://pypi.org/project/karrio) multi carrier shipping SDK.
|
18
|
+
|
19
|
+
## Requirements
|
20
|
+
|
21
|
+
`Python 3.7+`
|
22
|
+
|
23
|
+
## Installation
|
24
|
+
|
25
|
+
```bash
|
26
|
+
pip install karrio.tnt
|
27
|
+
```
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
```python
|
32
|
+
import karrio.sdk as karrio
|
33
|
+
from karrio.mappers.tnt.settings import Settings
|
34
|
+
|
35
|
+
|
36
|
+
# Initialize a carrier gateway
|
37
|
+
canadapost = karrio.gateway["tnt"].create(
|
38
|
+
Settings(
|
39
|
+
...
|
40
|
+
)
|
41
|
+
)
|
42
|
+
```
|
43
|
+
|
44
|
+
Check the [Karrio Mutli-carrier SDK docs](https://docs.karrio.io) for Shipping API requests
|
@@ -0,0 +1,30 @@
|
|
1
|
+
karrio/mappers/tnt/__init__.py,sha256=RlFPB4iwoqqHLxNScVvpk5q55LPwbW9Rx1n53rJ6Jtg,137
|
2
|
+
karrio/mappers/tnt/mapper.py,sha256=UNEcXV-hWRoTGCvbJx_vDxWM3Kbs_5EEPkC8i_65_oc,1493
|
3
|
+
karrio/mappers/tnt/proxy.py,sha256=k3Nd7WaDQu1maME6Rh4PkjLh8kDNt7L7ew78H4NVFyY,3849
|
4
|
+
karrio/mappers/tnt/settings.py,sha256=4oplZJ0rVZ2GM7CdlWWTG0r2Bo71E2adSKMbtdtzvNg,480
|
5
|
+
karrio/plugins/tnt/__init__.py,sha256=X2yf7vjBhJtXjYRtDNgcxkQniupkE2N0rsUaDN9wly4,722
|
6
|
+
karrio/providers/tnt/__init__.py,sha256=xJ64GAbBkSrdPVgbcgpOSLmonfbR8SpstmJBj4vXpBc,314
|
7
|
+
karrio/providers/tnt/error.py,sha256=LkqOQV1ZhIkemm1BiQA-c3MiQSO-4GF3EAchRmrNnug,4362
|
8
|
+
karrio/providers/tnt/rate.py,sha256=WJGXj2EkZBLpRITxNlRdJeUDXEj7kA79KdGP-2MJCw8,6670
|
9
|
+
karrio/providers/tnt/tracking.py,sha256=a7zH6UJKyBpgDp7UNMacarR0O_Lzzs3_ImgcB8tc3N4,2471
|
10
|
+
karrio/providers/tnt/units.py,sha256=cs86XEwssXj4imv_EgQkyeDX7EpbnBrg263DgFZJYGg,4927
|
11
|
+
karrio/providers/tnt/utils.py,sha256=G4hdtbbq15KECYmfXW8SrDYNKKqQELV7NT2dbxNFOEo,5989
|
12
|
+
karrio/providers/tnt/shipment/__init__.py,sha256=k6qc3Cght9Ty9kxPgdVJSrlP-5EOzFMUfqD7XJG76nI,104
|
13
|
+
karrio/providers/tnt/shipment/create.py,sha256=StOQWU5vlkR6bhB5IfzzX06LcVDm5xXFxRp6i0gWH_0,9589
|
14
|
+
karrio/schemas/tnt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
|
+
karrio/schemas/tnt/label_common_definitions.py,sha256=hbrn5Wcs9NLufGZAIbrBWYr1x6ZE6OqL6FLP2GyTKf8,165759
|
16
|
+
karrio/schemas/tnt/label_request.py,sha256=o1ZPFyth9RlrC0jFoZXcQQPEl24eUCdWoyOluHp6RjI,212758
|
17
|
+
karrio/schemas/tnt/label_response.py,sha256=GShrLC4OUGLheGz-CrTG_7h1p7c3BKRMZmSp2mtMpl0,279910
|
18
|
+
karrio/schemas/tnt/rating_common_definitions.py,sha256=s5SbfQmS66X1LYBM73YMkyPF2c2dwjMw6Eo6DFLMkyA,64178
|
19
|
+
karrio/schemas/tnt/rating_request.py,sha256=p0Cxqm8fvONNiHYz5yXiqZMHq8M-l4e5prA11Gr_e4k,127610
|
20
|
+
karrio/schemas/tnt/rating_response.py,sha256=ZV0LbVrYIx98abh9khDlDxcEC0Ud2Iyvp8Rj57KCXAs,135608
|
21
|
+
karrio/schemas/tnt/shipping_common_definitions.py,sha256=94KhpGbdx2eAriyQKFhC7VhJqpU0WTN50RpHjB4TDPA,45728
|
22
|
+
karrio/schemas/tnt/shipping_request.py,sha256=79jfXUccQBTAOUl6hDfTCSlKQU062ldnuZe257Htvq0,291846
|
23
|
+
karrio/schemas/tnt/shipping_response.py,sha256=UHKTlKlPAJ4YsUpQwdUzH0R2dyEz1mK_wDlyFrZm4Xg,147902
|
24
|
+
karrio/schemas/tnt/tracking_request.py,sha256=rLGNxbIre_v7pKhgY5TXUpEVZbrwkcK7A-roJq2dsmo,121783
|
25
|
+
karrio/schemas/tnt/tracking_response.py,sha256=fnF7JV8zpqx90CUO6VJni4FyTIoCiTEV-ZR-GP_N47s,174125
|
26
|
+
karrio_tnt-2025.5rc1.dist-info/METADATA,sha256=zEg7CwtPAJYIDN656Ud-gnOngKJ9VjTy6EQ3jZtBxls,966
|
27
|
+
karrio_tnt-2025.5rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
28
|
+
karrio_tnt-2025.5rc1.dist-info/entry_points.txt,sha256=Z5VVDHvypBqPVFR40Ahk2UerIfSYMfovaYWWeqH2V_A,51
|
29
|
+
karrio_tnt-2025.5rc1.dist-info/top_level.txt,sha256=FZCY8Nwft8oEGHdl--xku8P3TrnOxu5dETEU_fWpRSM,20
|
30
|
+
karrio_tnt-2025.5rc1.dist-info/RECORD,,
|