shellui-django 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,65 @@
1
+ Metadata-Version: 2.5
2
+ Name: shellui-django
3
+ Version: 0.1.0
4
+ Summary: Shared Django libraries for Shellui services
5
+ Author: Sébastien Barbier
6
+ License-Expression: MIT
7
+ License-File: LICENSE
8
+ Requires-Python: >=3.14
9
+ Requires-Dist: django==6.0.8
10
+ Requires-Dist: djangorestframework==3.18.2
11
+ Provides-Extra: mcp
12
+ Requires-Dist: cryptography>=50.0.0; extra == 'mcp'
13
+ Requires-Dist: djangorestframework-simplejwt==5.5.1; extra == 'mcp'
14
+ Requires-Dist: pyjwt>=2.14.0; extra == 'mcp'
15
+ Description-Content-Type: text/markdown
16
+
17
+ # shellui-django
18
+
19
+ Shared Django libraries for [Shellui](https://shellui.com) backend services: identity, storage, hosting, email, and saas.
20
+
21
+ ## Principles
22
+
23
+ - Only code duplicated in two or more services belongs here.
24
+ - Optional modules. Install what you need via extras (for example `[mcp]`).
25
+ - No shared Django models or migrations for now.
26
+ - [Semantic versioning](https://semver.org/). Services pin a compatible version range.
27
+
28
+ ## Install
29
+
30
+ ```bash
31
+ pip install shellui-django
32
+ pip install shellui-django[mcp] # MCP server helpers
33
+ ```
34
+
35
+ Requires Python 3.14+, Django, and DRF. The `[mcp]` extra adds PyJWT, cryptography, and SimpleJWT for MCP auth and signed internal calls.
36
+
37
+ ## Modules
38
+
39
+ | Module | Description |
40
+ |--------|-------------|
41
+ | [`shellui_django.mcp`](docs/mcp.md) | Turn a DRF OpenAPI schema into a secure multi-tenant MCP HTTP server. |
42
+ | [`shellui_django.testing`](docs/testing.md) | Shared test helpers (planned). |
43
+
44
+ ## Contributing and releases
45
+
46
+ 1. Open pull requests against `develop`.
47
+ 2. Merge `develop` into `main` when ready to release.
48
+ 3. Tag `vX.Y.Z` on `main`. GitHub Actions publishes `shellui-django` to PyPI via [trusted publishing](https://docs.pypi.org/trusted-publishers/).
49
+
50
+ Run checks locally:
51
+
52
+ ```bash
53
+ uv sync --all-groups
54
+ DJANGO_SETTINGS_MODULE=tests.django_settings uv run python -m django test shellui_django.mcp.tests --verbosity=1
55
+ uv run ruff check src
56
+ uv build
57
+ ```
58
+
59
+ ## Security
60
+
61
+ Report vulnerabilities as described in [SECURITY.md](SECURITY.md). Do not open public issues for undisclosed security problems.
62
+
63
+ ## License
64
+
65
+ MIT. See [LICENSE](LICENSE).
@@ -0,0 +1,18 @@
1
+ shellui_django/__init__.py,sha256=8cB_kf-rWazpRjicddts--n5UHO5pSV_CEaHXPvcamk,75
2
+ shellui_django/mcp/__init__.py,sha256=etcDNkB21eRlNCeS6z3yx0YqxvyDzPuI4qSKZniknIo,819
3
+ shellui_django/mcp/decorators.py,sha256=oS0UCnx9lSGrU6SRuC-BR7TJCVJxjcBLouxwKo2zK2k,1139
4
+ shellui_django/mcp/identity_jwks.py,sha256=aJHuRHz-VUwQ39avdGKzF5wthFWb_2fxjEeDcJUVa3E,3750
5
+ shellui_django/mcp/internal.py,sha256=TisxEpiDTgx2D5ejVzBHq-rVbADqEXI6c4hH0Xxo8nE,9230
6
+ shellui_django/mcp/masking.py,sha256=hliNYKHaby_RsZ56HVjcQXB25tRBF4amYkX9P5gaxzQ,2264
7
+ shellui_django/mcp/openapi_mcp.py,sha256=Xreb_pb8EffnQ4kLgrNuusTlJyHi39ZYLeHo3GO-j8w,5293
8
+ shellui_django/mcp/openapi_tools.py,sha256=A33PdLsP879gDx-6fC135cRl3fmReXtyiTGrySmZD0Q,5030
9
+ shellui_django/mcp/rate_limit.py,sha256=Wmq_xi7ZEJCH9pUo5WD4yRPMXVJ5hPTsqebkGhnYe5U,816
10
+ shellui_django/mcp/resources.py,sha256=IDEK4RG0Fe3zskoXkOi24xBGHBAZymB7toQ3wVtyoyQ,1755
11
+ shellui_django/mcp/routing.py,sha256=80s0J6jYAB_eEc-k-csyKVHPJ53CLB0OASeNtkOSoN4,3183
12
+ shellui_django/mcp/server.py,sha256=F73JJotP-OlQrc5qPXb-c7eJ5YB8i_dU6TaoyiI4hMU,12635
13
+ shellui_django/mcp/write_gate.py,sha256=bvuWJzo1jh_IP6ldHOCrxBfbpcu8a4n7X0FVJs6HVcE,1751
14
+ shellui_django/testing/__init__.py,sha256=BJcLvqjMsst22s5YNH0S-9xx4BVbPsDuGz5Ez2ujQg0,239
15
+ shellui_django-0.1.0.dist-info/METADATA,sha256=CZGTh_EdchNssTfp49CEu-g9sSQ38vacWtgjks2jLZA,2093
16
+ shellui_django-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
17
+ shellui_django-0.1.0.dist-info/licenses/LICENSE,sha256=XZrOBMDm9zZ9ErehgLRKws_o2AsBrph3CqoG65Sicn4,1075
18
+ shellui_django-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Sébastien Barbier
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.