goatbeat 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.
goatbeat-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,42 @@
1
+ Metadata-Version: 2.4
2
+ Name: goatbeat
3
+ Version: 0.1.0
4
+ Summary: A type-safe, distributed periodic task scheduler for Python and Django Tasks.
5
+ Keywords: scheduler,cron,periodic-tasks,distributed,django-tasks,leader-election
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.13
14
+ Classifier: Programming Language :: Python :: 3.14
15
+ Classifier: Topic :: System :: Distributed Computing
16
+ Classifier: Typing :: Typed
17
+ Requires-Dist: goatbeat-core==0.1.0
18
+ Requires-Dist: goatbeat-cli==0.1.0
19
+ Requires-Dist: goatbeat-celery==0.1.0 ; extra == 'celery'
20
+ Requires-Dist: goatbeat-django==0.1.0 ; extra == 'django'
21
+ Requires-Dist: goatbeat-dramatiq==0.1.0 ; extra == 'dramatiq'
22
+ Requires-Dist: goatbeat-otel==0.1.0 ; extra == 'otel'
23
+ Requires-Dist: goatbeat-postgres==0.1.0 ; extra == 'postgres'
24
+ Requires-Dist: goatbeat-prometheus==0.1.0 ; extra == 'prometheus'
25
+ Requires-Dist: goatbeat-rq==0.1.0 ; extra == 'rq'
26
+ Requires-Python: >=3.13
27
+ Project-URL: Homepage, https://github.com/goatlabshq/goatbeat
28
+ Project-URL: Documentation, https://goatlabshq.github.io/goatbeat/
29
+ Project-URL: Issues, https://github.com/goatlabshq/goatbeat/issues
30
+ Provides-Extra: celery
31
+ Provides-Extra: django
32
+ Provides-Extra: dramatiq
33
+ Provides-Extra: otel
34
+ Provides-Extra: postgres
35
+ Provides-Extra: prometheus
36
+ Provides-Extra: rq
37
+ Description-Content-Type: text/markdown
38
+
39
+ # goatbeat
40
+
41
+ A type-safe, distributed periodic task scheduler for Python, with first-class support for
42
+ Django 6.1 Tasks. See the [repository](https://github.com/goatlabshq/goatbeat).
@@ -0,0 +1,4 @@
1
+ # goatbeat
2
+
3
+ A type-safe, distributed periodic task scheduler for Python, with first-class support for
4
+ Django 6.1 Tasks. See the [repository](https://github.com/goatlabshq/goatbeat).
@@ -0,0 +1,81 @@
1
+ [project]
2
+ name = "goatbeat"
3
+ version = "0.1.0"
4
+ description = "A type-safe, distributed periodic task scheduler for Python and Django Tasks."
5
+ readme = "README.md"
6
+ license = "MIT"
7
+ license-files = ["LICENSE"]
8
+ requires-python = ">=3.13"
9
+ keywords = [
10
+ "scheduler",
11
+ "cron",
12
+ "periodic-tasks",
13
+ "distributed",
14
+ "django-tasks",
15
+ "leader-election",
16
+ ]
17
+ classifiers = [
18
+ "Development Status :: 3 - Alpha",
19
+ "Intended Audience :: Developers",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.13",
22
+ "Programming Language :: Python :: 3.14",
23
+ "Topic :: System :: Distributed Computing",
24
+ "Typing :: Typed",
25
+ ]
26
+ dependencies = [
27
+ "goatbeat-core==0.1.0",
28
+ "goatbeat-cli==0.1.0",
29
+ ]
30
+
31
+ [[project.authors]]
32
+ name = "Louis Midson LAJEANTY"
33
+ email = "midsonlajeanty@proton.me"
34
+
35
+ [project.optional-dependencies]
36
+ postgres = ["goatbeat-postgres==0.1.0"]
37
+ django = ["goatbeat-django==0.1.0"]
38
+ celery = ["goatbeat-celery==0.1.0"]
39
+ dramatiq = ["goatbeat-dramatiq==0.1.0"]
40
+ rq = ["goatbeat-rq==0.1.0"]
41
+ prometheus = ["goatbeat-prometheus==0.1.0"]
42
+ otel = ["goatbeat-otel==0.1.0"]
43
+
44
+ [project.urls]
45
+ Homepage = "https://github.com/goatlabshq/goatbeat"
46
+ Documentation = "https://goatlabshq.github.io/goatbeat/"
47
+ Issues = "https://github.com/goatlabshq/goatbeat/issues"
48
+
49
+ [build-system]
50
+ requires = ["uv_build>=0.12,<0.13"]
51
+ build-backend = "uv_build"
52
+
53
+ [tool.uv.build-backend]
54
+ module-name = "goatbeat"
55
+
56
+ [tool.uv.sources.goatbeat-core]
57
+ workspace = true
58
+
59
+ [tool.uv.sources.goatbeat-postgres]
60
+ workspace = true
61
+
62
+ [tool.uv.sources.goatbeat-django]
63
+ workspace = true
64
+
65
+ [tool.uv.sources.goatbeat-cli]
66
+ workspace = true
67
+
68
+ [tool.uv.sources.goatbeat-celery]
69
+ workspace = true
70
+
71
+ [tool.uv.sources.goatbeat-dramatiq]
72
+ workspace = true
73
+
74
+ [tool.uv.sources.goatbeat-rq]
75
+ workspace = true
76
+
77
+ [tool.uv.sources.goatbeat-prometheus]
78
+ workspace = true
79
+
80
+ [tool.uv.sources.goatbeat-otel]
81
+ workspace = true
@@ -0,0 +1,55 @@
1
+ [project]
2
+ name = "goatbeat"
3
+ version = "0.1.0" # x-release-please-version
4
+ description = "A type-safe, distributed periodic task scheduler for Python and Django Tasks."
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.13"
10
+ keywords = ["scheduler", "cron", "periodic-tasks", "distributed", "django-tasks", "leader-election"]
11
+ classifiers = [
12
+ "Development Status :: 3 - Alpha",
13
+ "Intended Audience :: Developers",
14
+ "Programming Language :: Python :: 3",
15
+ "Programming Language :: Python :: 3.13",
16
+ "Programming Language :: Python :: 3.14",
17
+ "Topic :: System :: Distributed Computing",
18
+ "Typing :: Typed",
19
+ ]
20
+ dependencies = [
21
+ "goatbeat-core==0.1.0", # x-release-please-version
22
+ "goatbeat-cli==0.1.0", # x-release-please-version
23
+ ]
24
+
25
+ [project.optional-dependencies]
26
+ postgres = ["goatbeat-postgres==0.1.0"] # x-release-please-version
27
+ django = ["goatbeat-django==0.1.0"] # x-release-please-version
28
+ celery = ["goatbeat-celery==0.1.0"] # x-release-please-version
29
+ dramatiq = ["goatbeat-dramatiq==0.1.0"] # x-release-please-version
30
+ rq = ["goatbeat-rq==0.1.0"] # x-release-please-version
31
+ prometheus = ["goatbeat-prometheus==0.1.0"] # x-release-please-version
32
+ otel = ["goatbeat-otel==0.1.0"] # x-release-please-version
33
+
34
+ [project.urls]
35
+ Homepage = "https://github.com/goatlabshq/goatbeat"
36
+ Documentation = "https://goatlabshq.github.io/goatbeat/"
37
+ Issues = "https://github.com/goatlabshq/goatbeat/issues"
38
+
39
+ [build-system]
40
+ requires = ["uv_build>=0.12,<0.13"]
41
+ build-backend = "uv_build"
42
+
43
+ [tool.uv.build-backend]
44
+ module-name = "goatbeat"
45
+
46
+ [tool.uv.sources]
47
+ goatbeat-core = { workspace = true }
48
+ goatbeat-postgres = { workspace = true }
49
+ goatbeat-django = { workspace = true }
50
+ goatbeat-cli = { workspace = true }
51
+ goatbeat-celery = { workspace = true }
52
+ goatbeat-dramatiq = { workspace = true }
53
+ goatbeat-rq = { workspace = true }
54
+ goatbeat-prometheus = { workspace = true }
55
+ goatbeat-otel = { workspace = true }
@@ -0,0 +1,48 @@
1
+ from pkgutil import extend_path
2
+
3
+ # Editable installs give each workspace package its own sys.path entry; extending __path__
4
+ # lets goatbeat.core, goatbeat.postgres, ... resolve as portions of this regular package.
5
+ __path__ = extend_path(__path__, __name__)
6
+
7
+ from goatbeat.core.app import GoatbeatApp
8
+ from goatbeat.core.config import GoatbeatConfig
9
+ from goatbeat.core.errors import (
10
+ ConfigurationError,
11
+ GoatbeatError,
12
+ InvalidCronExpressionError,
13
+ InvalidIntervalError,
14
+ LeaseLostError,
15
+ StoreUnavailableError,
16
+ SubmissionError,
17
+ TaskNotFoundError,
18
+ )
19
+ from goatbeat.core.execution import ExecutionStatus
20
+ from goatbeat.core.misfire import MisfirePolicy
21
+ from goatbeat.core.registry import Registry
22
+ from goatbeat.core.scheduler import Scheduler
23
+ from goatbeat.core.stores.memory import MemoryStore
24
+ from goatbeat.core.stores.sqlite import SQLiteStore
25
+ from goatbeat.core.submitters import CallableSubmitter
26
+ from goatbeat.core.tasks import TaskCall, call
27
+
28
+ __all__ = [
29
+ "CallableSubmitter",
30
+ "ConfigurationError",
31
+ "ExecutionStatus",
32
+ "GoatbeatApp",
33
+ "GoatbeatConfig",
34
+ "GoatbeatError",
35
+ "InvalidCronExpressionError",
36
+ "InvalidIntervalError",
37
+ "LeaseLostError",
38
+ "MemoryStore",
39
+ "MisfirePolicy",
40
+ "Registry",
41
+ "SQLiteStore",
42
+ "Scheduler",
43
+ "StoreUnavailableError",
44
+ "SubmissionError",
45
+ "TaskCall",
46
+ "TaskNotFoundError",
47
+ "call",
48
+ ]
File without changes