programmableinbox 0.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.
- programmableinbox-0.1.0/PKG-INFO +49 -0
- programmableinbox-0.1.0/README.md +32 -0
- programmableinbox-0.1.0/programmableinbox/__init__.py +76 -0
- programmableinbox-0.1.0/programmableinbox/api/__init__.py +5 -0
- programmableinbox-0.1.0/programmableinbox/api/email_inboxes_api.py +2436 -0
- programmableinbox-0.1.0/programmableinbox/api_client.py +819 -0
- programmableinbox-0.1.0/programmableinbox/api_response.py +21 -0
- programmableinbox-0.1.0/programmableinbox/configuration.py +627 -0
- programmableinbox-0.1.0/programmableinbox/exceptions.py +218 -0
- programmableinbox-0.1.0/programmableinbox/models/__init__.py +30 -0
- programmableinbox-0.1.0/programmableinbox/models/create_email_inbox201_response.py +92 -0
- programmableinbox-0.1.0/programmableinbox/models/create_email_inbox_request.py +95 -0
- programmableinbox-0.1.0/programmableinbox/models/email_inbox.py +104 -0
- programmableinbox-0.1.0/programmableinbox/models/email_message.py +138 -0
- programmableinbox-0.1.0/programmableinbox/models/error_response.py +88 -0
- programmableinbox-0.1.0/programmableinbox/models/get_email_inbox200_response.py +92 -0
- programmableinbox-0.1.0/programmableinbox/models/get_email_inbox_messages200_response.py +92 -0
- programmableinbox-0.1.0/programmableinbox/models/get_email_inbox_messages200_response_data.py +105 -0
- programmableinbox-0.1.0/programmableinbox/models/get_email_inbox_messages200_response_data_messages_inner.py +138 -0
- programmableinbox-0.1.0/programmableinbox/models/get_email_inbox_otp200_response.py +92 -0
- programmableinbox-0.1.0/programmableinbox/models/get_email_inbox_otp200_response_data.py +94 -0
- programmableinbox-0.1.0/programmableinbox/models/get_email_message200_response.py +92 -0
- programmableinbox-0.1.0/programmableinbox/models/list_email_inboxes200_response.py +96 -0
- programmableinbox-0.1.0/programmableinbox/models/update_email_inbox_request.py +93 -0
- programmableinbox-0.1.0/programmableinbox/py.typed +0 -0
- programmableinbox-0.1.0/programmableinbox/rest.py +313 -0
- programmableinbox-0.1.0/programmableinbox.egg-info/PKG-INFO +49 -0
- programmableinbox-0.1.0/programmableinbox.egg-info/SOURCES.txt +48 -0
- programmableinbox-0.1.0/programmableinbox.egg-info/dependency_links.txt +1 -0
- programmableinbox-0.1.0/programmableinbox.egg-info/requires.txt +4 -0
- programmableinbox-0.1.0/programmableinbox.egg-info/top_level.txt +1 -0
- programmableinbox-0.1.0/pyproject.toml +94 -0
- programmableinbox-0.1.0/setup.cfg +7 -0
- programmableinbox-0.1.0/setup.py +47 -0
- programmableinbox-0.1.0/test/test_create_email_inbox201_response.py +64 -0
- programmableinbox-0.1.0/test/test_create_email_inbox_request.py +54 -0
- programmableinbox-0.1.0/test/test_email_inbox.py +62 -0
- programmableinbox-0.1.0/test/test_email_inboxes_api.py +80 -0
- programmableinbox-0.1.0/test/test_email_message.py +103 -0
- programmableinbox-0.1.0/test/test_error_response.py +52 -0
- programmableinbox-0.1.0/test/test_get_email_inbox200_response.py +57 -0
- programmableinbox-0.1.0/test/test_get_email_inbox_messages200_response.py +62 -0
- programmableinbox-0.1.0/test/test_get_email_inbox_messages200_response_data.py +60 -0
- programmableinbox-0.1.0/test/test_get_email_inbox_messages200_response_data_messages_inner.py +103 -0
- programmableinbox-0.1.0/test/test_get_email_inbox_otp200_response.py +60 -0
- programmableinbox-0.1.0/test/test_get_email_inbox_otp200_response_data.py +58 -0
- programmableinbox-0.1.0/test/test_get_email_message200_response.py +106 -0
- programmableinbox-0.1.0/test/test_list_email_inboxes200_response.py +68 -0
- programmableinbox-0.1.0/test/test_update_email_inbox_request.py +52 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: programmableinbox
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: ProgrammableInbox Email Inboxes API
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: OpenAPI Generator community
|
|
7
|
+
Author-email: OpenAPI Generator Community <team@openapitools.org>
|
|
8
|
+
Project-URL: Repository, https://github.com/roshansingh/programmableinbox
|
|
9
|
+
Keywords: OpenAPI,OpenAPI-Generator,ProgrammableInbox Email Inboxes API
|
|
10
|
+
Requires-Python: >=3.9
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: urllib3<3.0.0,>=2.6.3
|
|
13
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
14
|
+
Requires-Dist: pydantic>=2.11
|
|
15
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
16
|
+
Dynamic: author
|
|
17
|
+
|
|
18
|
+
# ProgrammableInbox Python SDK
|
|
19
|
+
|
|
20
|
+
Generated from `lib/openapi/email-inboxes.ts`. Regenerate with `npm run sdk:generate` from the repo root — do not hand-edit anything else in this directory.
|
|
21
|
+
|
|
22
|
+
## Install
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
pip install ./sdk/python
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
(From a checkout. The release pipeline that publishes this to PyPI now exists — see
|
|
29
|
+
[`sdk/README.md`](../README.md#publishing) — but publishing is gated on a maintainer bumping the
|
|
30
|
+
version in `pyproject.toml` and on PyPI registry provisioning, tracked in
|
|
31
|
+
[issue #130](https://github.com/roshansingh/programmableinbox/issues/130); it hasn't happened yet.)
|
|
32
|
+
|
|
33
|
+
## Quick start
|
|
34
|
+
|
|
35
|
+
```python
|
|
36
|
+
import programmableinbox
|
|
37
|
+
from programmableinbox.api.email_inboxes_api import EmailInboxesApi
|
|
38
|
+
|
|
39
|
+
configuration = programmableinbox.Configuration(
|
|
40
|
+
access_token="sk_live_...",
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
with programmableinbox.ApiClient(configuration) as api_client:
|
|
44
|
+
api = EmailInboxesApi(api_client)
|
|
45
|
+
inboxes = api.list_email_inboxes()
|
|
46
|
+
print(inboxes.data)
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The default host is `https://app.programmableinbox.com`; pass `host=` to `Configuration` to point at a local dev server instead.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# ProgrammableInbox Python SDK
|
|
2
|
+
|
|
3
|
+
Generated from `lib/openapi/email-inboxes.ts`. Regenerate with `npm run sdk:generate` from the repo root — do not hand-edit anything else in this directory.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install ./sdk/python
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
(From a checkout. The release pipeline that publishes this to PyPI now exists — see
|
|
12
|
+
[`sdk/README.md`](../README.md#publishing) — but publishing is gated on a maintainer bumping the
|
|
13
|
+
version in `pyproject.toml` and on PyPI registry provisioning, tracked in
|
|
14
|
+
[issue #130](https://github.com/roshansingh/programmableinbox/issues/130); it hasn't happened yet.)
|
|
15
|
+
|
|
16
|
+
## Quick start
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
import programmableinbox
|
|
20
|
+
from programmableinbox.api.email_inboxes_api import EmailInboxesApi
|
|
21
|
+
|
|
22
|
+
configuration = programmableinbox.Configuration(
|
|
23
|
+
access_token="sk_live_...",
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
with programmableinbox.ApiClient(configuration) as api_client:
|
|
27
|
+
api = EmailInboxesApi(api_client)
|
|
28
|
+
inboxes = api.list_email_inboxes()
|
|
29
|
+
print(inboxes.data)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The default host is `https://app.programmableinbox.com`; pass `host=` to `Configuration` to point at a local dev server instead.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
ProgrammableInbox Email Inboxes API
|
|
7
|
+
|
|
8
|
+
Email inbox management endpoints with API key support
|
|
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__ = "0.1.0"
|
|
18
|
+
|
|
19
|
+
# Define package exports
|
|
20
|
+
__all__ = [
|
|
21
|
+
"EmailInboxesApi",
|
|
22
|
+
"ApiResponse",
|
|
23
|
+
"ApiClient",
|
|
24
|
+
"Configuration",
|
|
25
|
+
"OpenApiException",
|
|
26
|
+
"ApiTypeError",
|
|
27
|
+
"ApiValueError",
|
|
28
|
+
"ApiKeyError",
|
|
29
|
+
"ApiAttributeError",
|
|
30
|
+
"ApiException",
|
|
31
|
+
"CreateEmailInbox201Response",
|
|
32
|
+
"CreateEmailInboxRequest",
|
|
33
|
+
"EmailInbox",
|
|
34
|
+
"EmailMessage",
|
|
35
|
+
"ErrorResponse",
|
|
36
|
+
"GetEmailInbox200Response",
|
|
37
|
+
"GetEmailInboxMessages200Response",
|
|
38
|
+
"GetEmailInboxMessages200ResponseData",
|
|
39
|
+
"GetEmailInboxMessages200ResponseDataMessagesInner",
|
|
40
|
+
"GetEmailInboxOtp200Response",
|
|
41
|
+
"GetEmailInboxOtp200ResponseData",
|
|
42
|
+
"GetEmailMessage200Response",
|
|
43
|
+
"ListEmailInboxes200Response",
|
|
44
|
+
"UpdateEmailInboxRequest",
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
# import apis into sdk package
|
|
48
|
+
from programmableinbox.api.email_inboxes_api import EmailInboxesApi as EmailInboxesApi
|
|
49
|
+
|
|
50
|
+
# import ApiClient
|
|
51
|
+
from programmableinbox.api_response import ApiResponse as ApiResponse
|
|
52
|
+
from programmableinbox.api_client import ApiClient as ApiClient
|
|
53
|
+
from programmableinbox.configuration import Configuration as Configuration
|
|
54
|
+
from programmableinbox.exceptions import OpenApiException as OpenApiException
|
|
55
|
+
from programmableinbox.exceptions import ApiTypeError as ApiTypeError
|
|
56
|
+
from programmableinbox.exceptions import ApiValueError as ApiValueError
|
|
57
|
+
from programmableinbox.exceptions import ApiKeyError as ApiKeyError
|
|
58
|
+
from programmableinbox.exceptions import ApiAttributeError as ApiAttributeError
|
|
59
|
+
from programmableinbox.exceptions import ApiException as ApiException
|
|
60
|
+
|
|
61
|
+
# import models into sdk package
|
|
62
|
+
from programmableinbox.models.create_email_inbox201_response import CreateEmailInbox201Response as CreateEmailInbox201Response
|
|
63
|
+
from programmableinbox.models.create_email_inbox_request import CreateEmailInboxRequest as CreateEmailInboxRequest
|
|
64
|
+
from programmableinbox.models.email_inbox import EmailInbox as EmailInbox
|
|
65
|
+
from programmableinbox.models.email_message import EmailMessage as EmailMessage
|
|
66
|
+
from programmableinbox.models.error_response import ErrorResponse as ErrorResponse
|
|
67
|
+
from programmableinbox.models.get_email_inbox200_response import GetEmailInbox200Response as GetEmailInbox200Response
|
|
68
|
+
from programmableinbox.models.get_email_inbox_messages200_response import GetEmailInboxMessages200Response as GetEmailInboxMessages200Response
|
|
69
|
+
from programmableinbox.models.get_email_inbox_messages200_response_data import GetEmailInboxMessages200ResponseData as GetEmailInboxMessages200ResponseData
|
|
70
|
+
from programmableinbox.models.get_email_inbox_messages200_response_data_messages_inner import GetEmailInboxMessages200ResponseDataMessagesInner as GetEmailInboxMessages200ResponseDataMessagesInner
|
|
71
|
+
from programmableinbox.models.get_email_inbox_otp200_response import GetEmailInboxOtp200Response as GetEmailInboxOtp200Response
|
|
72
|
+
from programmableinbox.models.get_email_inbox_otp200_response_data import GetEmailInboxOtp200ResponseData as GetEmailInboxOtp200ResponseData
|
|
73
|
+
from programmableinbox.models.get_email_message200_response import GetEmailMessage200Response as GetEmailMessage200Response
|
|
74
|
+
from programmableinbox.models.list_email_inboxes200_response import ListEmailInboxes200Response as ListEmailInboxes200Response
|
|
75
|
+
from programmableinbox.models.update_email_inbox_request import UpdateEmailInboxRequest as UpdateEmailInboxRequest
|
|
76
|
+
|