sendmux-sending 1.0.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.
Files changed (31) hide show
  1. sendmux_sending-1.0.0/.gitignore +14 -0
  2. sendmux_sending-1.0.0/CHANGELOG.md +8 -0
  3. sendmux_sending-1.0.0/PKG-INFO +17 -0
  4. sendmux_sending-1.0.0/README.md +4 -0
  5. sendmux_sending-1.0.0/pyproject.toml +27 -0
  6. sendmux_sending-1.0.0/sendmux_sending/__init__.py +87 -0
  7. sendmux_sending-1.0.0/sendmux_sending/api/__init__.py +5 -0
  8. sendmux_sending-1.0.0/sendmux_sending/api/emails_api.py +673 -0
  9. sendmux_sending-1.0.0/sendmux_sending/api_client.py +804 -0
  10. sendmux_sending-1.0.0/sendmux_sending/api_response.py +21 -0
  11. sendmux_sending-1.0.0/sendmux_sending/client.py +46 -0
  12. sendmux_sending-1.0.0/sendmux_sending/configuration.py +605 -0
  13. sendmux_sending-1.0.0/sendmux_sending/exceptions.py +218 -0
  14. sendmux_sending-1.0.0/sendmux_sending/models/__init__.py +32 -0
  15. sendmux_sending-1.0.0/sendmux_sending/models/address.py +104 -0
  16. sendmux_sending-1.0.0/sendmux_sending/models/attachment.py +105 -0
  17. sendmux_sending-1.0.0/sendmux_sending/models/batch_result_item.py +124 -0
  18. sendmux_sending-1.0.0/sendmux_sending/models/batch_send_request.py +97 -0
  19. sendmux_sending-1.0.0/sendmux_sending/models/batch_send_success_data.py +102 -0
  20. sendmux_sending-1.0.0/sendmux_sending/models/batch_send_success_response.py +100 -0
  21. sendmux_sending-1.0.0/sendmux_sending/models/batch_summary.py +92 -0
  22. sendmux_sending-1.0.0/sendmux_sending/models/email_send_request.py +152 -0
  23. sendmux_sending-1.0.0/sendmux_sending/models/error_detail.py +106 -0
  24. sendmux_sending-1.0.0/sendmux_sending/models/error_issue.py +92 -0
  25. sendmux_sending-1.0.0/sendmux_sending/models/error_response.py +100 -0
  26. sendmux_sending-1.0.0/sendmux_sending/models/meta.py +88 -0
  27. sendmux_sending-1.0.0/sendmux_sending/models/recipient.py +104 -0
  28. sendmux_sending-1.0.0/sendmux_sending/models/send_success_data.py +108 -0
  29. sendmux_sending-1.0.0/sendmux_sending/models/send_success_response.py +100 -0
  30. sendmux_sending-1.0.0/sendmux_sending/models/success_envelope.py +94 -0
  31. sendmux_sending-1.0.0/sendmux_sending/rest.py +263 -0
@@ -0,0 +1,14 @@
1
+ node_modules/
2
+ dist/
3
+ .tmp/
4
+ coverage/
5
+ .DS_Store
6
+ *.log
7
+ *.codegen.json
8
+ .codegen/
9
+ *.tsbuildinfo
10
+ .phpunit.result.cache
11
+ __pycache__/
12
+ *.py[cod]
13
+ vendor/
14
+ .bundle/
@@ -0,0 +1,8 @@
1
+ # Changelog
2
+
3
+ ## 1.0.0 (2026-06-01)
4
+
5
+
6
+ ### Features
7
+
8
+ * **python-sdk:** add generated Python packages ([82c4a84](https://github.com/Sendmux/sendmux-sdk/commit/82c4a84976b4d9802f993b07302430546a323543))
@@ -0,0 +1,17 @@
1
+ Metadata-Version: 2.4
2
+ Name: sendmux-sending
3
+ Version: 1.0.0
4
+ Summary: Generated Python client for the Sendmux Sending API.
5
+ Project-URL: Repository, https://github.com/Sendmux/sendmux-sdk
6
+ Requires-Python: >=3.10
7
+ Requires-Dist: pydantic<3,>=2
8
+ Requires-Dist: python-dateutil>=2.8.2
9
+ Requires-Dist: sendmux-core<2.0.0,>=1.0.0
10
+ Requires-Dist: typing-extensions>=4.7.1
11
+ Requires-Dist: urllib3<3,>=2.3.0
12
+ Description-Content-Type: text/markdown
13
+
14
+ # sendmux-sending
15
+
16
+ Generated Python client for the Sendmux Sending API.
17
+
@@ -0,0 +1,4 @@
1
+ # sendmux-sending
2
+
3
+ Generated Python client for the Sendmux Sending API.
4
+
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.27"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "sendmux-sending"
7
+ version = "1.0.0"
8
+ description = "Generated Python client for the Sendmux Sending API."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ dependencies = [
12
+ "pydantic>=2,<3",
13
+ "python-dateutil>=2.8.2",
14
+ "sendmux-core>=1.0.0,<2.0.0",
15
+ "typing-extensions>=4.7.1",
16
+ "urllib3>=2.3.0,<3",
17
+ ]
18
+
19
+ [project.urls]
20
+ Repository = "https://github.com/Sendmux/sendmux-sdk"
21
+
22
+ [tool.hatch.build.targets.sdist]
23
+ core-metadata-version = "2.4"
24
+
25
+ [tool.hatch.build.targets.wheel]
26
+ core-metadata-version = "2.4"
27
+ packages = ["sendmux_sending"]
@@ -0,0 +1,87 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ SendMux Sending API
7
+
8
+ Send emails programmatically via the SendMux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
9
+
10
+ The version of the OpenAPI document: 1.0.0
11
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
12
+
13
+ Do not edit the class manually.
14
+ """ # noqa: E501
15
+
16
+
17
+ __version__ = "1.0.0"
18
+
19
+ # Define package exports
20
+ __all__ = [
21
+ "EmailsApi",
22
+ "ApiResponse",
23
+ "ApiClient",
24
+ "Configuration",
25
+ "OpenApiException",
26
+ "ApiTypeError",
27
+ "ApiValueError",
28
+ "ApiKeyError",
29
+ "ApiAttributeError",
30
+ "ApiException",
31
+ "Address",
32
+ "Attachment",
33
+ "BatchResultItem",
34
+ "BatchSendRequest",
35
+ "BatchSendSuccessData",
36
+ "BatchSendSuccessResponse",
37
+ "BatchSummary",
38
+ "EmailSendRequest",
39
+ "ErrorDetail",
40
+ "ErrorIssue",
41
+ "ErrorResponse",
42
+ "Meta",
43
+ "Recipient",
44
+ "SendSuccessData",
45
+ "SendSuccessResponse",
46
+ "SuccessEnvelope",
47
+ ]
48
+
49
+ # import apis into sdk package
50
+ from sendmux_sending.api.emails_api import EmailsApi as EmailsApi
51
+
52
+ # import ApiClient
53
+ from sendmux_sending.api_response import ApiResponse as ApiResponse
54
+ from sendmux_sending.api_client import ApiClient as ApiClient
55
+ from sendmux_sending.configuration import Configuration as Configuration
56
+ from sendmux_sending.exceptions import OpenApiException as OpenApiException
57
+ from sendmux_sending.exceptions import ApiTypeError as ApiTypeError
58
+ from sendmux_sending.exceptions import ApiValueError as ApiValueError
59
+ from sendmux_sending.exceptions import ApiKeyError as ApiKeyError
60
+ from sendmux_sending.exceptions import ApiAttributeError as ApiAttributeError
61
+ from sendmux_sending.exceptions import ApiException as ApiException
62
+
63
+ # import models into sdk package
64
+ from sendmux_sending.models.address import Address as Address
65
+ from sendmux_sending.models.attachment import Attachment as Attachment
66
+ from sendmux_sending.models.batch_result_item import BatchResultItem as BatchResultItem
67
+ from sendmux_sending.models.batch_send_request import BatchSendRequest as BatchSendRequest
68
+ from sendmux_sending.models.batch_send_success_data import BatchSendSuccessData as BatchSendSuccessData
69
+ from sendmux_sending.models.batch_send_success_response import BatchSendSuccessResponse as BatchSendSuccessResponse
70
+ from sendmux_sending.models.batch_summary import BatchSummary as BatchSummary
71
+ from sendmux_sending.models.email_send_request import EmailSendRequest as EmailSendRequest
72
+ from sendmux_sending.models.error_detail import ErrorDetail as ErrorDetail
73
+ from sendmux_sending.models.error_issue import ErrorIssue as ErrorIssue
74
+ from sendmux_sending.models.error_response import ErrorResponse as ErrorResponse
75
+ from sendmux_sending.models.meta import Meta as Meta
76
+ from sendmux_sending.models.recipient import Recipient as Recipient
77
+ from sendmux_sending.models.send_success_data import SendSuccessData as SendSuccessData
78
+ from sendmux_sending.models.send_success_response import SendSuccessResponse as SendSuccessResponse
79
+ from sendmux_sending.models.success_envelope import SuccessEnvelope as SuccessEnvelope
80
+
81
+
82
+ from sendmux_sending.client import (
83
+ DEFAULT_BASE_URL,
84
+ SendmuxSendingApiClient,
85
+ configure_sending,
86
+ create_sending_client,
87
+ )
@@ -0,0 +1,5 @@
1
+ # flake8: noqa
2
+
3
+ # import apis into api package
4
+ from sendmux_sending.api.emails_api import EmailsApi
5
+