firm-stack 0.1.0__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.
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: firm-stack
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Pure-Python ports of the Rails Solid stack: database-backed background jobs (queue), caching (cache), pub/sub (channel), and an append-only audit log. No Redis required. This is a meta-package: pick modules via extras — firm-stack[queue], firm-stack[cache], firm-stack[channel], firm-stack[audit], or firm-stack[all].
|
|
5
|
+
Project-URL: Homepage, https://github.com/h11t-labs/firm
|
|
6
|
+
Project-URL: Documentation, https://github.com/h11t-labs/firm/tree/main/docs
|
|
7
|
+
Project-URL: Repository, https://github.com/h11t-labs/firm
|
|
8
|
+
Project-URL: Issues, https://github.com/h11t-labs/firm/issues
|
|
9
|
+
Author: firm contributors
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
License-File: NOTICE
|
|
13
|
+
Keywords: audit,background,cache,channel,jobs,mysql,postgresql,queue,solid_cable,solid_cache,solid_queue,sqlite,tasks
|
|
14
|
+
Classifier: Development Status :: 4 - Beta
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Topic :: Database
|
|
18
|
+
Classifier: Topic :: System :: Distributed Computing
|
|
19
|
+
Classifier: Typing :: Typed
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Provides-Extra: all
|
|
22
|
+
Requires-Dist: firm-cache[encryption,msgpack]~=0.1.0; extra == 'all'
|
|
23
|
+
Requires-Dist: firm-core[mysql,postgres]~=0.1.0; extra == 'all'
|
|
24
|
+
Requires-Dist: firm-queue[fastapi,flask]~=0.1.0; extra == 'all'
|
|
25
|
+
Requires-Dist: firm-ui~=0.1.0; extra == 'all'
|
|
26
|
+
Provides-Extra: audit
|
|
27
|
+
Requires-Dist: firm-audit~=0.1.0; extra == 'audit'
|
|
28
|
+
Provides-Extra: cache
|
|
29
|
+
Requires-Dist: firm-cache~=0.1.0; extra == 'cache'
|
|
30
|
+
Provides-Extra: channel
|
|
31
|
+
Requires-Dist: firm-channel~=0.1.0; extra == 'channel'
|
|
32
|
+
Provides-Extra: encryption
|
|
33
|
+
Requires-Dist: firm-cache[encryption]~=0.1.0; extra == 'encryption'
|
|
34
|
+
Provides-Extra: fastapi
|
|
35
|
+
Requires-Dist: firm-queue[fastapi]~=0.1.0; extra == 'fastapi'
|
|
36
|
+
Provides-Extra: flask
|
|
37
|
+
Requires-Dist: firm-queue[flask]~=0.1.0; extra == 'flask'
|
|
38
|
+
Provides-Extra: msgpack
|
|
39
|
+
Requires-Dist: firm-cache[msgpack]~=0.1.0; extra == 'msgpack'
|
|
40
|
+
Provides-Extra: mysql
|
|
41
|
+
Requires-Dist: firm-core[mysql]~=0.1.0; extra == 'mysql'
|
|
42
|
+
Provides-Extra: postgres
|
|
43
|
+
Requires-Dist: firm-core[postgres]~=0.1.0; extra == 'postgres'
|
|
44
|
+
Provides-Extra: queue
|
|
45
|
+
Requires-Dist: firm-queue~=0.1.0; extra == 'queue'
|
|
46
|
+
Provides-Extra: ui
|
|
47
|
+
Requires-Dist: firm-ui~=0.1.0; extra == 'ui'
|
|
48
|
+
Description-Content-Type: text/markdown
|
|
49
|
+
|
|
50
|
+
# firm-stack
|
|
51
|
+
|
|
52
|
+
**Pure-Python ports of the Rails Solid stack — database-backed, no Redis required.**
|
|
53
|
+
|
|
54
|
+
`firm-stack` is the meta-package for [firm](https://github.com/h11t-labs/firm): it installs the
|
|
55
|
+
modules you pick via extras, in one shot. Each component is also published independently, so
|
|
56
|
+
you can just as well install only what you need:
|
|
57
|
+
|
|
58
|
+
| Component | Package | Ports |
|
|
59
|
+
|-----------------|----------------------------------------------------------|-----------------|
|
|
60
|
+
| Background jobs | [`firm-queue`](https://pypi.org/project/firm-queue/) | Solid Queue |
|
|
61
|
+
| Cache store | [`firm-cache`](https://pypi.org/project/firm-cache/) | Solid Cache |
|
|
62
|
+
| Pub/sub | [`firm-channel`](https://pypi.org/project/firm-channel/) | Solid Cable |
|
|
63
|
+
| Audit log | [`firm-audit`](https://pypi.org/project/firm-audit/) | — |
|
|
64
|
+
| Web dashboard | [`firm-ui`](https://pypi.org/project/firm-ui/) | Mission Control |
|
|
65
|
+
|
|
66
|
+
Everything runs on SQLite, PostgreSQL, or MySQL via SQLAlchemy.
|
|
67
|
+
|
|
68
|
+
## Install
|
|
69
|
+
|
|
70
|
+
`firm-stack` is extras-only — a bare `pip install firm-stack` installs no modules, so always
|
|
71
|
+
pick at least one:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
pip install "firm-stack[queue]" # background jobs
|
|
75
|
+
pip install "firm-stack[queue,cache]" # jobs + caching
|
|
76
|
+
pip install "firm-stack[ui]" # web dashboard (pulls all four modules)
|
|
77
|
+
pip install "firm-stack[all]" # everything, all drivers and integrations
|
|
78
|
+
|
|
79
|
+
# or skip the meta-package and install components directly:
|
|
80
|
+
pip install firm-queue
|
|
81
|
+
pip install "firm-cache[encryption]"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Imports are always under the `firm` namespace regardless of which packages you installed:
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
import firm.queue
|
|
88
|
+
from firm.cache import Cache
|
|
89
|
+
from firm.channel import Channel
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
> **Why "firm-stack" and not "firm"?** The PyPI name `firm` is held by a dormant, release-less
|
|
93
|
+
> registration; a [PEP 541 name-transfer request](https://github.com/pypi/support/issues/11384)
|
|
94
|
+
> is pending. If it is granted, the meta-package will also be published as `firm` and
|
|
95
|
+
> `firm-stack` will remain as a compatible alias.
|
|
96
|
+
|
|
97
|
+
See the [project README and documentation](https://github.com/h11t-labs/firm) for full usage.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
firm_stack-0.1.0.dist-info/METADATA,sha256=aRV9liGmrcdSSZaVnJnc-EwrTAX-Sj_n3vaF5inaYyg,4563
|
|
2
|
+
firm_stack-0.1.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
3
|
+
firm_stack-0.1.0.dist-info/licenses/LICENSE,sha256=bdN4UXxwtQksIUB9wq-CZ4Tjz6tE9wo3wCUeGz0gYxE,1074
|
|
4
|
+
firm_stack-0.1.0.dist-info/licenses/NOTICE,sha256=nW2JKNBiq5AvPZ1-HBVI502YOneodSouVp-tj1-bb3c,1585
|
|
5
|
+
firm_stack-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 firm contributors
|
|
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,32 @@
|
|
|
1
|
+
firm — third-party notices
|
|
2
|
+
================================
|
|
3
|
+
|
|
4
|
+
firm is a pure-Python port of, and is inspired by, the Rails "Solid" stack.
|
|
5
|
+
Its database schema and design are derived from the following components, which are
|
|
6
|
+
licensed under the MIT License. Their copyright notices are reproduced here as
|
|
7
|
+
required by that license:
|
|
8
|
+
|
|
9
|
+
- solid_queue — https://github.com/rails/solid_queue
|
|
10
|
+
- solid_cache — https://github.com/rails/solid_cache
|
|
11
|
+
|
|
12
|
+
----------------------------------------------------------------------------------
|
|
13
|
+
|
|
14
|
+
Copyright (c) 37signals, LLC
|
|
15
|
+
|
|
16
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
17
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
18
|
+
in the Software without restriction, including without limitation the rights
|
|
19
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
20
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
21
|
+
furnished to do so, subject to the following conditions:
|
|
22
|
+
|
|
23
|
+
The above copyright notice and this permission notice shall be included in all
|
|
24
|
+
copies or substantial portions of the Software.
|
|
25
|
+
|
|
26
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
29
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
30
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
31
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
32
|
+
SOFTWARE.
|