goatnotify 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.
goatnotify-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Louis Midson LAJEANTY <midsonlajeanty@proton.me>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: goatnotify
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A modern, type-safe, framework-agnostic notification system for Python.
|
|
5
|
+
Keywords: notifications,email,smtp,webhooks,asyncio,typed
|
|
6
|
+
Author: Louis Midson LAJEANTY
|
|
7
|
+
Author-email: Louis Midson LAJEANTY <midsonlajeanty@proton.me>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
14
|
+
Classifier: Typing :: Typed
|
|
15
|
+
Requires-Dist: goatnotify-core==0.1.0
|
|
16
|
+
Requires-Dist: goatnotify-django==0.1.0 ; extra == 'django'
|
|
17
|
+
Requires-Dist: goatnotify-fastapi==0.1.0 ; extra == 'fastapi'
|
|
18
|
+
Requires-Dist: goatnotify-jinja==0.1.0 ; extra == 'jinja'
|
|
19
|
+
Requires-Python: >=3.14
|
|
20
|
+
Project-URL: Homepage, https://github.com/goatlabshq/goatnotify
|
|
21
|
+
Project-URL: Documentation, https://goatlabshq.github.io/goatnotify/
|
|
22
|
+
Project-URL: Issues, https://github.com/goatlabshq/goatnotify/issues
|
|
23
|
+
Provides-Extra: django
|
|
24
|
+
Provides-Extra: fastapi
|
|
25
|
+
Provides-Extra: jinja
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# goatnotify
|
|
29
|
+
|
|
30
|
+
A modern, type-safe, framework-agnostic notification system for Python.
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pip install goatnotify
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Documentation: <https://goatlabshq.github.io/goatnotify/>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "goatnotify"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "A modern, type-safe, framework-agnostic notification system for Python."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
requires-python = ">=3.14"
|
|
9
|
+
keywords = [
|
|
10
|
+
"notifications",
|
|
11
|
+
"email",
|
|
12
|
+
"smtp",
|
|
13
|
+
"webhooks",
|
|
14
|
+
"asyncio",
|
|
15
|
+
"typed",
|
|
16
|
+
]
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Development Status :: 3 - Alpha",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.14",
|
|
22
|
+
"Typing :: Typed",
|
|
23
|
+
]
|
|
24
|
+
dependencies = ["goatnotify-core==0.1.0"]
|
|
25
|
+
|
|
26
|
+
[[project.authors]]
|
|
27
|
+
name = "Louis Midson LAJEANTY"
|
|
28
|
+
email = "midsonlajeanty@proton.me"
|
|
29
|
+
|
|
30
|
+
[project.optional-dependencies]
|
|
31
|
+
jinja = ["goatnotify-jinja==0.1.0"]
|
|
32
|
+
django = ["goatnotify-django==0.1.0"]
|
|
33
|
+
fastapi = ["goatnotify-fastapi==0.1.0"]
|
|
34
|
+
|
|
35
|
+
[project.urls]
|
|
36
|
+
Homepage = "https://github.com/goatlabshq/goatnotify"
|
|
37
|
+
Documentation = "https://goatlabshq.github.io/goatnotify/"
|
|
38
|
+
Issues = "https://github.com/goatlabshq/goatnotify/issues"
|
|
39
|
+
|
|
40
|
+
[build-system]
|
|
41
|
+
requires = ["uv_build>=0.12,<0.14"]
|
|
42
|
+
build-backend = "uv_build"
|
|
43
|
+
|
|
44
|
+
[tool.uv.build-backend]
|
|
45
|
+
module-name = "goatnotify"
|
|
46
|
+
|
|
47
|
+
[tool.uv.sources.goatnotify-core]
|
|
48
|
+
workspace = true
|
|
49
|
+
|
|
50
|
+
[tool.uv.sources.goatnotify-jinja]
|
|
51
|
+
workspace = true
|
|
52
|
+
|
|
53
|
+
[tool.uv.sources.goatnotify-django]
|
|
54
|
+
workspace = true
|
|
55
|
+
|
|
56
|
+
[tool.uv.sources.goatnotify-fastapi]
|
|
57
|
+
workspace = true
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "goatnotify"
|
|
3
|
+
version = "0.1.0" # x-release-please-version
|
|
4
|
+
description = "A modern, type-safe, framework-agnostic notification system for Python."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
authors = [{ name = "Louis Midson LAJEANTY", email = "midsonlajeanty@proton.me" }]
|
|
9
|
+
requires-python = ">=3.14"
|
|
10
|
+
keywords = ["notifications", "email", "smtp", "webhooks", "asyncio", "typed"]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Development Status :: 3 - Alpha",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"Programming Language :: Python :: 3.14",
|
|
16
|
+
"Typing :: Typed",
|
|
17
|
+
]
|
|
18
|
+
dependencies = [
|
|
19
|
+
"goatnotify-core==0.1.0", # x-release-please-version
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[project.optional-dependencies]
|
|
23
|
+
jinja = ["goatnotify-jinja==0.1.0"] # x-release-please-version
|
|
24
|
+
django = ["goatnotify-django==0.1.0"] # x-release-please-version
|
|
25
|
+
fastapi = ["goatnotify-fastapi==0.1.0"] # x-release-please-version
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
Homepage = "https://github.com/goatlabshq/goatnotify"
|
|
29
|
+
Documentation = "https://goatlabshq.github.io/goatnotify/"
|
|
30
|
+
Issues = "https://github.com/goatlabshq/goatnotify/issues"
|
|
31
|
+
|
|
32
|
+
[build-system]
|
|
33
|
+
requires = ["uv_build>=0.12,<0.14"]
|
|
34
|
+
build-backend = "uv_build"
|
|
35
|
+
|
|
36
|
+
[tool.uv.build-backend]
|
|
37
|
+
module-name = "goatnotify"
|
|
38
|
+
|
|
39
|
+
[tool.uv.sources]
|
|
40
|
+
goatnotify-core = { workspace = true }
|
|
41
|
+
goatnotify-jinja = { workspace = true }
|
|
42
|
+
goatnotify-django = { workspace = true }
|
|
43
|
+
goatnotify-fastapi = { workspace = true }
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
from pkgutil import extend_path
|
|
2
|
+
|
|
3
|
+
# Editable installs give each workspace package its own sys.path entry; extending __path__
|
|
4
|
+
# lets goatnotify.core, goatnotify.django, ... resolve as portions of this regular package.
|
|
5
|
+
__path__ = extend_path(__path__, __name__)
|
|
6
|
+
|
|
7
|
+
from goatnotify.core import (
|
|
8
|
+
NO_RETRY,
|
|
9
|
+
Address,
|
|
10
|
+
AsyncioQueue,
|
|
11
|
+
Attachment,
|
|
12
|
+
Backoff,
|
|
13
|
+
Channel,
|
|
14
|
+
ConfigurationError,
|
|
15
|
+
DatabaseChannel,
|
|
16
|
+
DatabaseMessage,
|
|
17
|
+
DeliveryError,
|
|
18
|
+
DeliveryFailed,
|
|
19
|
+
DeliveryResult,
|
|
20
|
+
DeliveryStatus,
|
|
21
|
+
DrainableQueue,
|
|
22
|
+
EmailChannel,
|
|
23
|
+
EmailMessage,
|
|
24
|
+
EmailTransport,
|
|
25
|
+
Event,
|
|
26
|
+
ExponentialBackoff,
|
|
27
|
+
Hook,
|
|
28
|
+
HttpRequest,
|
|
29
|
+
HttpResponse,
|
|
30
|
+
HttpTransport,
|
|
31
|
+
InvalidMessageError,
|
|
32
|
+
JsonValue,
|
|
33
|
+
Mailable,
|
|
34
|
+
Mailer,
|
|
35
|
+
Message,
|
|
36
|
+
Notifiable,
|
|
37
|
+
Notification,
|
|
38
|
+
NotificationError,
|
|
39
|
+
NotificationJob,
|
|
40
|
+
NotificationResult,
|
|
41
|
+
NotificationStore,
|
|
42
|
+
Notifier,
|
|
43
|
+
PermanentError,
|
|
44
|
+
Queue,
|
|
45
|
+
RetryableError,
|
|
46
|
+
RetryPolicy,
|
|
47
|
+
SkipDelivery,
|
|
48
|
+
SmtpTransport,
|
|
49
|
+
StoredNotification,
|
|
50
|
+
TemplateRenderer,
|
|
51
|
+
UrllibTransport,
|
|
52
|
+
WebhookChannel,
|
|
53
|
+
WebhookMessage,
|
|
54
|
+
events,
|
|
55
|
+
to_mime,
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
__all__ = [
|
|
59
|
+
"NO_RETRY",
|
|
60
|
+
"Address",
|
|
61
|
+
"AsyncioQueue",
|
|
62
|
+
"Attachment",
|
|
63
|
+
"Backoff",
|
|
64
|
+
"Channel",
|
|
65
|
+
"ConfigurationError",
|
|
66
|
+
"DatabaseChannel",
|
|
67
|
+
"DatabaseMessage",
|
|
68
|
+
"DeliveryError",
|
|
69
|
+
"DeliveryFailed",
|
|
70
|
+
"DeliveryResult",
|
|
71
|
+
"DeliveryStatus",
|
|
72
|
+
"DrainableQueue",
|
|
73
|
+
"EmailChannel",
|
|
74
|
+
"EmailMessage",
|
|
75
|
+
"EmailTransport",
|
|
76
|
+
"Event",
|
|
77
|
+
"ExponentialBackoff",
|
|
78
|
+
"Hook",
|
|
79
|
+
"HttpRequest",
|
|
80
|
+
"HttpResponse",
|
|
81
|
+
"HttpTransport",
|
|
82
|
+
"InvalidMessageError",
|
|
83
|
+
"JsonValue",
|
|
84
|
+
"Mailable",
|
|
85
|
+
"Mailer",
|
|
86
|
+
"Message",
|
|
87
|
+
"Notifiable",
|
|
88
|
+
"Notification",
|
|
89
|
+
"NotificationError",
|
|
90
|
+
"NotificationJob",
|
|
91
|
+
"NotificationResult",
|
|
92
|
+
"NotificationStore",
|
|
93
|
+
"Notifier",
|
|
94
|
+
"PermanentError",
|
|
95
|
+
"Queue",
|
|
96
|
+
"RetryPolicy",
|
|
97
|
+
"RetryableError",
|
|
98
|
+
"SkipDelivery",
|
|
99
|
+
"SmtpTransport",
|
|
100
|
+
"StoredNotification",
|
|
101
|
+
"TemplateRenderer",
|
|
102
|
+
"UrllibTransport",
|
|
103
|
+
"WebhookChannel",
|
|
104
|
+
"WebhookMessage",
|
|
105
|
+
"events",
|
|
106
|
+
"to_mime",
|
|
107
|
+
]
|
|
File without changes
|