oqllm-user 0.2.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.
@@ -0,0 +1,109 @@
1
+ CLONERD / WELLMANIFEST PROPRIETARY SOURCE CODE LICENSE & STRICT ANTI-AI / ANTI-MINING RESERVATION OF RIGHTS
2
+
3
+ Copyright (c) 2026 Tomasz Sapletta Prototypowanie.pl NIP: 5881918662, REGON: 220665410. All rights reserved.
4
+ Właścicielem oprogramowania jest Tomasz Sapletta Prototypowanie.pl NIP: 5881918662, REGON: 220665410.
5
+
6
+ ================================================================================
7
+ IMPORTANT NOTICE - PROPRIETARY AND CONFIDENTIAL
8
+ ================================================================================
9
+
10
+ This software, source code, documentation, specifications, schemas, models,
11
+ algorithms, and associated digital assets ("the Software") are the confidential
12
+ and proprietary intellectual property of Tomasz Sapletta Prototypowanie.pl
13
+ (NIP: 5881918662, REGON: 220665410) and its licensors.
14
+
15
+ The Software is NOT licensed under any open source, free software, or
16
+ source-available license (such as MIT, Apache 2.0, BSD, GPL, AGPL, BSL, or SSPL).
17
+ All rights not expressly granted under a separate, signed written commercial
18
+ agreement executed by Tomasz Sapletta Prototypowanie.pl are strictly reserved.
19
+
20
+ ================================================================================
21
+ SECTION 1. STRICT PROHIBITION ON ARTIFICIAL INTELLIGENCE & MACHINE LEARNING INGESTION
22
+ ================================================================================
23
+
24
+ Under no circumstances may any portion of the Software, whether in human-readable
25
+ source code, compiled binary, abstract syntax tree (AST), intermediate representation,
26
+ documentation, ticket history, or commit metadata, be:
27
+
28
+ 1.1. Ingested, scraped, crawled, harvested, indexed, tokenized, cached, or stored
29
+ for the purpose of training, pre-training, fine-tuning, evaluating, or weighting
30
+ any artificial intelligence system, machine learning model, large language
31
+ model (LLM), code-generation model, neural network, diffusion model, or
32
+ multimodal model.
33
+
34
+ 1.2. Used by, or fed into the training datasets, prompt contexts, retrieval-augmented
35
+ generation (RAG) stores, vector databases, or telemetry caches of any commercial
36
+ or non-commercial AI system, including but not limited to:
37
+ - GitHub Copilot / Microsoft Copilot (Microsoft Corporation)
38
+ - OpenAI ChatGPT, Codex, GPT-4, GPT-5, o-series, and related APIs (OpenAI Inc.)
39
+ - Google Gemini, PaLM, Codey, Vertex AI, and DeepMind systems (Google LLC / Alphabet)
40
+ - Anthropic Claude, Constitutional AI, and related models (Anthropic PBC)
41
+ - Meta LLaMA, Code Llama, and related foundation models (Meta Platforms, Inc.)
42
+ - Amazon CodeWhisperer, Bedrock, and Titan models (Amazon.com, Inc.)
43
+ - Mistral AI, Cohere, Cursor AI, Tabnine, Replit Ghostwriter, or any automated
44
+ code-synthesis engine or AI coding assistant.
45
+
46
+ 1.3. Processed or analyzed by any automated tool, bot, crawler, or scraper to generate
47
+ synthetic code, code suggestions, autocomplete suggestions, embeddings, or
48
+ derivative software models.
49
+
50
+ ================================================================================
51
+ SECTION 2. STATUTORY RESERVATION OF RIGHTS (EU DIRECTIVE 2019/790)
52
+ ================================================================================
53
+
54
+ 2.1. In accordance with Article 4(3) of Directive (EU) 2019/790 of the European
55
+ Parliament and of the Council on copyright and related rights in the Digital
56
+ Single Market, the rights holder hereby EXPRESSLY RESERVES ALL RIGHTS
57
+ regarding Text and Data Mining (TDM) for this Software, its source repositories,
58
+ documentation, schemas, and all associated materials.
59
+
60
+ 2.2. Any extraction, automated reading, indexing, or reproduction of the Software
61
+ for text and data mining purposes within the meaning of Directive (EU) 2019/790
62
+ is strictly prohibited without prior written authorization from the rights holder.
63
+
64
+ 2.3. This reservation applies worldwide and is declared in machine-readable form
65
+ within the repository metadata, headers, and this License specification.
66
+
67
+ ================================================================================
68
+ SECTION 3. HOSTING & PLATFORM PREEMPTION CLAUSE
69
+ ================================================================================
70
+
71
+ 3.1. The presence of this source code or repository on any third-party hosting service,
72
+ code forge, version control platform, or cloud provider (including but not
73
+ limited to GitHub, GitLab, Bitbucket, or AWS) does NOT constitute a waiver,
74
+ license grant, or implied consent to the hosting provider, its parent,
75
+ subsidiaries, or third parties to:
76
+ (a) use the Software for machine learning training, telemetry harvesting, or
77
+ model improvement;
78
+ (b) distribute or reproduce the Software to other users or automated agents;
79
+ (c) index the Software in any public search or retrieval system.
80
+
81
+ 3.2. Any terms of service, platform agreements, or automated licenses purporting
82
+ to grant the platform operator an implied, royalty-free, or transferable
83
+ license to utilize hosted code for artificial intelligence development, model
84
+ training, or feature synthesis are hereby explicitly rejected, preempted,
85
+ and declared null and void with respect to this Software.
86
+
87
+ ================================================================================
88
+ SECTION 4. PROHIBITED USES & RESTRICTIONS
89
+ ================================================================================
90
+
91
+ Except as expressly authorized under a valid, executed commercial enterprise license
92
+ with Tomasz Sapletta Prototypowanie.pl, you may NOT:
93
+ - Copy, modify, adapt, translate, reverse engineer, decompile, or disassemble the Software.
94
+ - Distribute, sublicense, rent, lease, lend, sell, or publicly display the Software.
95
+ - Use the Software to provide competitive time-sharing, SaaS, cloud twin, or virtualization services.
96
+ - Remove, alter, or obscure any proprietary notices, copyright labels, or license files.
97
+
98
+ ================================================================================
99
+ SECTION 5. ENFORCEMENT & REMEDIES
100
+ ================================================================================
101
+
102
+ Any breach of this License, including unauthorized scraping, tokenization, or ingestion
103
+ into an artificial intelligence system, constitutes willful copyright infringement,
104
+ unauthorized access, and breach of contract. Tomasz Sapletta Prototypowanie.pl reserves
105
+ the right to seek immediate injunctive relief, statutory damages, compensation for commercial
106
+ harm, and mandatory destruction of all derivative model weights, embeddings, and training
107
+ caches containing representations of the Software.
108
+
109
+ For licensing inquiries and commercial authorization, contact: legal@clonerd.com / tom@prototypowanie.pl
@@ -0,0 +1,109 @@
1
+ CLONERD / WELLMANIFEST PROPRIETARY SOURCE CODE LICENSE & STRICT ANTI-AI / ANTI-MINING RESERVATION OF RIGHTS
2
+
3
+ Copyright (c) 2026 Tomasz Sapletta Prototypowanie.pl NIP: 5881918662, REGON: 220665410. All rights reserved.
4
+ Właścicielem oprogramowania jest Tomasz Sapletta Prototypowanie.pl NIP: 5881918662, REGON: 220665410.
5
+
6
+ ================================================================================
7
+ IMPORTANT NOTICE - PROPRIETARY AND CONFIDENTIAL
8
+ ================================================================================
9
+
10
+ This software, source code, documentation, specifications, schemas, models,
11
+ algorithms, and associated digital assets ("the Software") are the confidential
12
+ and proprietary intellectual property of Tomasz Sapletta Prototypowanie.pl
13
+ (NIP: 5881918662, REGON: 220665410) and its licensors.
14
+
15
+ The Software is NOT licensed under any open source, free software, or
16
+ source-available license (such as MIT, Apache 2.0, BSD, GPL, AGPL, BSL, or SSPL).
17
+ All rights not expressly granted under a separate, signed written commercial
18
+ agreement executed by Tomasz Sapletta Prototypowanie.pl are strictly reserved.
19
+
20
+ ================================================================================
21
+ SECTION 1. STRICT PROHIBITION ON ARTIFICIAL INTELLIGENCE & MACHINE LEARNING INGESTION
22
+ ================================================================================
23
+
24
+ Under no circumstances may any portion of the Software, whether in human-readable
25
+ source code, compiled binary, abstract syntax tree (AST), intermediate representation,
26
+ documentation, ticket history, or commit metadata, be:
27
+
28
+ 1.1. Ingested, scraped, crawled, harvested, indexed, tokenized, cached, or stored
29
+ for the purpose of training, pre-training, fine-tuning, evaluating, or weighting
30
+ any artificial intelligence system, machine learning model, large language
31
+ model (LLM), code-generation model, neural network, diffusion model, or
32
+ multimodal model.
33
+
34
+ 1.2. Used by, or fed into the training datasets, prompt contexts, retrieval-augmented
35
+ generation (RAG) stores, vector databases, or telemetry caches of any commercial
36
+ or non-commercial AI system, including but not limited to:
37
+ - GitHub Copilot / Microsoft Copilot (Microsoft Corporation)
38
+ - OpenAI ChatGPT, Codex, GPT-4, GPT-5, o-series, and related APIs (OpenAI Inc.)
39
+ - Google Gemini, PaLM, Codey, Vertex AI, and DeepMind systems (Google LLC / Alphabet)
40
+ - Anthropic Claude, Constitutional AI, and related models (Anthropic PBC)
41
+ - Meta LLaMA, Code Llama, and related foundation models (Meta Platforms, Inc.)
42
+ - Amazon CodeWhisperer, Bedrock, and Titan models (Amazon.com, Inc.)
43
+ - Mistral AI, Cohere, Cursor AI, Tabnine, Replit Ghostwriter, or any automated
44
+ code-synthesis engine or AI coding assistant.
45
+
46
+ 1.3. Processed or analyzed by any automated tool, bot, crawler, or scraper to generate
47
+ synthetic code, code suggestions, autocomplete suggestions, embeddings, or
48
+ derivative software models.
49
+
50
+ ================================================================================
51
+ SECTION 2. STATUTORY RESERVATION OF RIGHTS (EU DIRECTIVE 2019/790)
52
+ ================================================================================
53
+
54
+ 2.1. In accordance with Article 4(3) of Directive (EU) 2019/790 of the European
55
+ Parliament and of the Council on copyright and related rights in the Digital
56
+ Single Market, the rights holder hereby EXPRESSLY RESERVES ALL RIGHTS
57
+ regarding Text and Data Mining (TDM) for this Software, its source repositories,
58
+ documentation, schemas, and all associated materials.
59
+
60
+ 2.2. Any extraction, automated reading, indexing, or reproduction of the Software
61
+ for text and data mining purposes within the meaning of Directive (EU) 2019/790
62
+ is strictly prohibited without prior written authorization from the rights holder.
63
+
64
+ 2.3. This reservation applies worldwide and is declared in machine-readable form
65
+ within the repository metadata, headers, and this License specification.
66
+
67
+ ================================================================================
68
+ SECTION 3. HOSTING & PLATFORM PREEMPTION CLAUSE
69
+ ================================================================================
70
+
71
+ 3.1. The presence of this source code or repository on any third-party hosting service,
72
+ code forge, version control platform, or cloud provider (including but not
73
+ limited to GitHub, GitLab, Bitbucket, or AWS) does NOT constitute a waiver,
74
+ license grant, or implied consent to the hosting provider, its parent,
75
+ subsidiaries, or third parties to:
76
+ (a) use the Software for machine learning training, telemetry harvesting, or
77
+ model improvement;
78
+ (b) distribute or reproduce the Software to other users or automated agents;
79
+ (c) index the Software in any public search or retrieval system.
80
+
81
+ 3.2. Any terms of service, platform agreements, or automated licenses purporting
82
+ to grant the platform operator an implied, royalty-free, or transferable
83
+ license to utilize hosted code for artificial intelligence development, model
84
+ training, or feature synthesis are hereby explicitly rejected, preempted,
85
+ and declared null and void with respect to this Software.
86
+
87
+ ================================================================================
88
+ SECTION 4. PROHIBITED USES & RESTRICTIONS
89
+ ================================================================================
90
+
91
+ Except as expressly authorized under a valid, executed commercial enterprise license
92
+ with Tomasz Sapletta Prototypowanie.pl, you may NOT:
93
+ - Copy, modify, adapt, translate, reverse engineer, decompile, or disassemble the Software.
94
+ - Distribute, sublicense, rent, lease, lend, sell, or publicly display the Software.
95
+ - Use the Software to provide competitive time-sharing, SaaS, cloud twin, or virtualization services.
96
+ - Remove, alter, or obscure any proprietary notices, copyright labels, or license files.
97
+
98
+ ================================================================================
99
+ SECTION 5. ENFORCEMENT & REMEDIES
100
+ ================================================================================
101
+
102
+ Any breach of this License, including unauthorized scraping, tokenization, or ingestion
103
+ into an artificial intelligence system, constitutes willful copyright infringement,
104
+ unauthorized access, and breach of contract. Tomasz Sapletta Prototypowanie.pl reserves
105
+ the right to seek immediate injunctive relief, statutory damages, compensation for commercial
106
+ harm, and mandatory destruction of all derivative model weights, embeddings, and training
107
+ caches containing representations of the Software.
108
+
109
+ For licensing inquiries and commercial authorization, contact: legal@clonerd.com / tom@prototypowanie.pl
@@ -0,0 +1,162 @@
1
+ Metadata-Version: 2.4
2
+ Name: oqllm-user
3
+ Version: 0.2.0
4
+ Summary: User portal, email authentication, and API key quota manager for oqllm
5
+ Author-email: Softreck <info@softreck.dev>
6
+ License: CLONERD / WELLMANIFEST PROPRIETARY SOURCE CODE LICENSE & STRICT ANTI-AI / ANTI-MINING RESERVATION OF RIGHTS
7
+
8
+ Copyright (c) 2026 Tomasz Sapletta Prototypowanie.pl NIP: 5881918662, REGON: 220665410. All rights reserved.
9
+ Właścicielem oprogramowania jest Tomasz Sapletta Prototypowanie.pl NIP: 5881918662, REGON: 220665410.
10
+
11
+ ================================================================================
12
+ IMPORTANT NOTICE - PROPRIETARY AND CONFIDENTIAL
13
+ ================================================================================
14
+
15
+ This software, source code, documentation, specifications, schemas, models,
16
+ algorithms, and associated digital assets ("the Software") are the confidential
17
+ and proprietary intellectual property of Tomasz Sapletta Prototypowanie.pl
18
+ (NIP: 5881918662, REGON: 220665410) and its licensors.
19
+
20
+ The Software is NOT licensed under any open source, free software, or
21
+ source-available license (such as MIT, Apache 2.0, BSD, GPL, AGPL, BSL, or SSPL).
22
+ All rights not expressly granted under a separate, signed written commercial
23
+ agreement executed by Tomasz Sapletta Prototypowanie.pl are strictly reserved.
24
+
25
+ ================================================================================
26
+ SECTION 1. STRICT PROHIBITION ON ARTIFICIAL INTELLIGENCE & MACHINE LEARNING INGESTION
27
+ ================================================================================
28
+
29
+ Under no circumstances may any portion of the Software, whether in human-readable
30
+ source code, compiled binary, abstract syntax tree (AST), intermediate representation,
31
+ documentation, ticket history, or commit metadata, be:
32
+
33
+ 1.1. Ingested, scraped, crawled, harvested, indexed, tokenized, cached, or stored
34
+ for the purpose of training, pre-training, fine-tuning, evaluating, or weighting
35
+ any artificial intelligence system, machine learning model, large language
36
+ model (LLM), code-generation model, neural network, diffusion model, or
37
+ multimodal model.
38
+
39
+ 1.2. Used by, or fed into the training datasets, prompt contexts, retrieval-augmented
40
+ generation (RAG) stores, vector databases, or telemetry caches of any commercial
41
+ or non-commercial AI system, including but not limited to:
42
+ - GitHub Copilot / Microsoft Copilot (Microsoft Corporation)
43
+ - OpenAI ChatGPT, Codex, GPT-4, GPT-5, o-series, and related APIs (OpenAI Inc.)
44
+ - Google Gemini, PaLM, Codey, Vertex AI, and DeepMind systems (Google LLC / Alphabet)
45
+ - Anthropic Claude, Constitutional AI, and related models (Anthropic PBC)
46
+ - Meta LLaMA, Code Llama, and related foundation models (Meta Platforms, Inc.)
47
+ - Amazon CodeWhisperer, Bedrock, and Titan models (Amazon.com, Inc.)
48
+ - Mistral AI, Cohere, Cursor AI, Tabnine, Replit Ghostwriter, or any automated
49
+ code-synthesis engine or AI coding assistant.
50
+
51
+ 1.3. Processed or analyzed by any automated tool, bot, crawler, or scraper to generate
52
+ synthetic code, code suggestions, autocomplete suggestions, embeddings, or
53
+ derivative software models.
54
+
55
+ ================================================================================
56
+ SECTION 2. STATUTORY RESERVATION OF RIGHTS (EU DIRECTIVE 2019/790)
57
+ ================================================================================
58
+
59
+ 2.1. In accordance with Article 4(3) of Directive (EU) 2019/790 of the European
60
+ Parliament and of the Council on copyright and related rights in the Digital
61
+ Single Market, the rights holder hereby EXPRESSLY RESERVES ALL RIGHTS
62
+ regarding Text and Data Mining (TDM) for this Software, its source repositories,
63
+ documentation, schemas, and all associated materials.
64
+
65
+ 2.2. Any extraction, automated reading, indexing, or reproduction of the Software
66
+ for text and data mining purposes within the meaning of Directive (EU) 2019/790
67
+ is strictly prohibited without prior written authorization from the rights holder.
68
+
69
+ 2.3. This reservation applies worldwide and is declared in machine-readable form
70
+ within the repository metadata, headers, and this License specification.
71
+
72
+ ================================================================================
73
+ SECTION 3. HOSTING & PLATFORM PREEMPTION CLAUSE
74
+ ================================================================================
75
+
76
+ 3.1. The presence of this source code or repository on any third-party hosting service,
77
+ code forge, version control platform, or cloud provider (including but not
78
+ limited to GitHub, GitLab, Bitbucket, or AWS) does NOT constitute a waiver,
79
+ license grant, or implied consent to the hosting provider, its parent,
80
+ subsidiaries, or third parties to:
81
+ (a) use the Software for machine learning training, telemetry harvesting, or
82
+ model improvement;
83
+ (b) distribute or reproduce the Software to other users or automated agents;
84
+ (c) index the Software in any public search or retrieval system.
85
+
86
+ 3.2. Any terms of service, platform agreements, or automated licenses purporting
87
+ to grant the platform operator an implied, royalty-free, or transferable
88
+ license to utilize hosted code for artificial intelligence development, model
89
+ training, or feature synthesis are hereby explicitly rejected, preempted,
90
+ and declared null and void with respect to this Software.
91
+
92
+ ================================================================================
93
+ SECTION 4. PROHIBITED USES & RESTRICTIONS
94
+ ================================================================================
95
+
96
+ Except as expressly authorized under a valid, executed commercial enterprise license
97
+ with Tomasz Sapletta Prototypowanie.pl, you may NOT:
98
+ - Copy, modify, adapt, translate, reverse engineer, decompile, or disassemble the Software.
99
+ - Distribute, sublicense, rent, lease, lend, sell, or publicly display the Software.
100
+ - Use the Software to provide competitive time-sharing, SaaS, cloud twin, or virtualization services.
101
+ - Remove, alter, or obscure any proprietary notices, copyright labels, or license files.
102
+
103
+ ================================================================================
104
+ SECTION 5. ENFORCEMENT & REMEDIES
105
+ ================================================================================
106
+
107
+ Any breach of this License, including unauthorized scraping, tokenization, or ingestion
108
+ into an artificial intelligence system, constitutes willful copyright infringement,
109
+ unauthorized access, and breach of contract. Tomasz Sapletta Prototypowanie.pl reserves
110
+ the right to seek immediate injunctive relief, statutory damages, compensation for commercial
111
+ harm, and mandatory destruction of all derivative model weights, embeddings, and training
112
+ caches containing representations of the Software.
113
+
114
+ For licensing inquiries and commercial authorization, contact: legal@clonerd.com / tom@prototypowanie.pl
115
+
116
+ Project-URL: Homepage, https://user.oqllm.com
117
+ Project-URL: Source, https://github.com/oqllm/user
118
+ Requires-Python: >=3.11
119
+ Description-Content-Type: text/markdown
120
+ License-File: LICENSE
121
+ License-File: LICENSE.md
122
+ Requires-Dist: fastapi>=0.110.0
123
+ Requires-Dist: uvicorn>=0.28.0
124
+ Provides-Extra: dev
125
+ Requires-Dist: pytest>=8.0.0; extra == "dev"
126
+ Requires-Dist: httpx>=0.27.0; extra == "dev"
127
+ Dynamic: license-file
128
+
129
+ # oqllm User Portal (`user.oqllm.com`)
130
+
131
+ The dedicated authentication dashboard and API key quota manager for the **oqllm** ecosystem.
132
+
133
+ ## Features
134
+
135
+ - **Passwordless Email Authentication:** Frictionless sign in using one-time 6-digit verification codes.
136
+ - **API Key Management:** Generate, label, inspect, copy, and instantly revoke `oqllm_live_<hash>` API keys.
137
+ - **Quota & Rate Limit Enforcement:** Live monitoring of Requests Per Minute (RPM) windows and daily token allowances.
138
+ - **SubLLM 8788 Synchronization:** Live display of ingested token usage, attempt records, and latencies from `http://127.0.0.1:8788/v1/usage`.
139
+ - **Connected Mesh Fleet:** Real-time visibility into federated personal workers and local instances (`oqllm.local`).
140
+ - **Brand & Engineering Aesthetics:** Industrial P&ID visual styling using RAL 1003 Signal Yellow, Navy `#14263B`, and aeronautical B612 typography.
141
+
142
+ ## Quickstart
143
+
144
+ ### Running locally
145
+ ```bash
146
+ pip install -e .
147
+ oqllm-user serve --host 127.0.0.1 --port 11439
148
+ ```
149
+
150
+ Open [http://127.0.0.1:11439](http://127.0.0.1:11439) in your browser.
151
+
152
+ ### Public Hosting
153
+ Deployed on Plesk Obsidian:
154
+ - Domain: `user.oqllm.com`
155
+ - Zone ID: `422` (Domain ID: `425`)
156
+ - URL: [https://user.oqllm.com/](https://user.oqllm.com/)
157
+
158
+ ## Documentation & Standards
159
+
160
+ - [Documentation Index](docs/README.md)
161
+ - [Error Catalog](errors/README.md)
162
+ - [Agent Standards](AGENTS.md)
@@ -0,0 +1,34 @@
1
+ # oqllm User Portal (`user.oqllm.com`)
2
+
3
+ The dedicated authentication dashboard and API key quota manager for the **oqllm** ecosystem.
4
+
5
+ ## Features
6
+
7
+ - **Passwordless Email Authentication:** Frictionless sign in using one-time 6-digit verification codes.
8
+ - **API Key Management:** Generate, label, inspect, copy, and instantly revoke `oqllm_live_<hash>` API keys.
9
+ - **Quota & Rate Limit Enforcement:** Live monitoring of Requests Per Minute (RPM) windows and daily token allowances.
10
+ - **SubLLM 8788 Synchronization:** Live display of ingested token usage, attempt records, and latencies from `http://127.0.0.1:8788/v1/usage`.
11
+ - **Connected Mesh Fleet:** Real-time visibility into federated personal workers and local instances (`oqllm.local`).
12
+ - **Brand & Engineering Aesthetics:** Industrial P&ID visual styling using RAL 1003 Signal Yellow, Navy `#14263B`, and aeronautical B612 typography.
13
+
14
+ ## Quickstart
15
+
16
+ ### Running locally
17
+ ```bash
18
+ pip install -e .
19
+ oqllm-user serve --host 127.0.0.1 --port 11439
20
+ ```
21
+
22
+ Open [http://127.0.0.1:11439](http://127.0.0.1:11439) in your browser.
23
+
24
+ ### Public Hosting
25
+ Deployed on Plesk Obsidian:
26
+ - Domain: `user.oqllm.com`
27
+ - Zone ID: `422` (Domain ID: `425`)
28
+ - URL: [https://user.oqllm.com/](https://user.oqllm.com/)
29
+
30
+ ## Documentation & Standards
31
+
32
+ - [Documentation Index](docs/README.md)
33
+ - [Error Catalog](errors/README.md)
34
+ - [Agent Standards](AGENTS.md)
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "oqllm-user"
7
+ version = "0.2.0"
8
+ description = "User portal, email authentication, and API key quota manager for oqllm"
9
+ readme = "README.md"
10
+ authors = [{ name = "Softreck", email = "info@softreck.dev" }]
11
+ license = { file = "LICENSE" }
12
+ requires-python = ">=3.11"
13
+ dependencies = [
14
+ "fastapi>=0.110.0",
15
+ "uvicorn>=0.28.0",
16
+ ]
17
+
18
+ [project.urls]
19
+ Homepage = "https://user.oqllm.com"
20
+ Source = "https://github.com/oqllm/user"
21
+
22
+ [project.optional-dependencies]
23
+ dev = [
24
+ "pytest>=8.0.0",
25
+ "httpx>=0.27.0",
26
+ ]
27
+
28
+ [project.scripts]
29
+ oqllm-user = "oqllm_user.cli:main"
30
+
31
+ [tool.setuptools.packages.find]
32
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ """oqllm user portal package."""
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1,39 @@
1
+ """ASGI web application for oqllm user portal."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import os
6
+ from pathlib import Path
7
+ from typing import Any
8
+
9
+ from fastapi import FastAPI, Response
10
+ from fastapi.middleware.cors import CORSMiddleware
11
+ from fastapi.responses import HTMLResponse
12
+
13
+ app = FastAPI(
14
+ title="oqllm User Portal",
15
+ version="0.1.0",
16
+ description="User dashboard and key management for oqllm.",
17
+ )
18
+
19
+ app.add_middleware(
20
+ CORSMiddleware,
21
+ allow_origins=["*"],
22
+ allow_credentials=True,
23
+ allow_methods=["*"],
24
+ allow_headers=["*"],
25
+ )
26
+
27
+ PORTAL_HTML = Path(__file__).resolve().parents[2] / "portal" / "index.html"
28
+
29
+
30
+ @app.get("/health")
31
+ async def health() -> dict[str, Any]:
32
+ return {"ok": True, "service": "oqllm-user", "version": "0.1.0", "status": "healthy"}
33
+
34
+
35
+ @app.get("/", response_class=HTMLResponse)
36
+ async def user_portal() -> Response:
37
+ if PORTAL_HTML.exists():
38
+ return HTMLResponse(PORTAL_HTML.read_text(encoding="utf-8"))
39
+ return HTMLResponse("<h1>oqllm User Portal</h1>")
@@ -0,0 +1,30 @@
1
+ """CLI runner for oqllm-user portal."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import sys
7
+ import uvicorn
8
+
9
+
10
+ def main(argv: list[str] | None = None) -> int:
11
+ parser = argparse.ArgumentParser(description="oqllm-user: User Portal Server")
12
+ subparsers = parser.add_subparsers(dest="command")
13
+
14
+ serve_p = subparsers.add_parser("serve", help="Run the user portal web server")
15
+ serve_p.add_argument("--host", default="0.0.0.0", help="Bind host (default: 0.0.0.0)")
16
+ serve_p.add_argument("--port", type=int, default=11439, help="Bind port (default: 11439)")
17
+
18
+ args = parser.parse_args(argv)
19
+
20
+ if args.command == "serve":
21
+ print(f"Starting oqllm-user portal on http://{args.host}:{args.port}")
22
+ uvicorn.run("oqllm_user.app:app", host=args.host, port=args.port, log_level="info")
23
+ return 0
24
+
25
+ parser.print_help()
26
+ return 1
27
+
28
+
29
+ if __name__ == "__main__":
30
+ sys.exit(main())
@@ -0,0 +1,162 @@
1
+ Metadata-Version: 2.4
2
+ Name: oqllm-user
3
+ Version: 0.2.0
4
+ Summary: User portal, email authentication, and API key quota manager for oqllm
5
+ Author-email: Softreck <info@softreck.dev>
6
+ License: CLONERD / WELLMANIFEST PROPRIETARY SOURCE CODE LICENSE & STRICT ANTI-AI / ANTI-MINING RESERVATION OF RIGHTS
7
+
8
+ Copyright (c) 2026 Tomasz Sapletta Prototypowanie.pl NIP: 5881918662, REGON: 220665410. All rights reserved.
9
+ Właścicielem oprogramowania jest Tomasz Sapletta Prototypowanie.pl NIP: 5881918662, REGON: 220665410.
10
+
11
+ ================================================================================
12
+ IMPORTANT NOTICE - PROPRIETARY AND CONFIDENTIAL
13
+ ================================================================================
14
+
15
+ This software, source code, documentation, specifications, schemas, models,
16
+ algorithms, and associated digital assets ("the Software") are the confidential
17
+ and proprietary intellectual property of Tomasz Sapletta Prototypowanie.pl
18
+ (NIP: 5881918662, REGON: 220665410) and its licensors.
19
+
20
+ The Software is NOT licensed under any open source, free software, or
21
+ source-available license (such as MIT, Apache 2.0, BSD, GPL, AGPL, BSL, or SSPL).
22
+ All rights not expressly granted under a separate, signed written commercial
23
+ agreement executed by Tomasz Sapletta Prototypowanie.pl are strictly reserved.
24
+
25
+ ================================================================================
26
+ SECTION 1. STRICT PROHIBITION ON ARTIFICIAL INTELLIGENCE & MACHINE LEARNING INGESTION
27
+ ================================================================================
28
+
29
+ Under no circumstances may any portion of the Software, whether in human-readable
30
+ source code, compiled binary, abstract syntax tree (AST), intermediate representation,
31
+ documentation, ticket history, or commit metadata, be:
32
+
33
+ 1.1. Ingested, scraped, crawled, harvested, indexed, tokenized, cached, or stored
34
+ for the purpose of training, pre-training, fine-tuning, evaluating, or weighting
35
+ any artificial intelligence system, machine learning model, large language
36
+ model (LLM), code-generation model, neural network, diffusion model, or
37
+ multimodal model.
38
+
39
+ 1.2. Used by, or fed into the training datasets, prompt contexts, retrieval-augmented
40
+ generation (RAG) stores, vector databases, or telemetry caches of any commercial
41
+ or non-commercial AI system, including but not limited to:
42
+ - GitHub Copilot / Microsoft Copilot (Microsoft Corporation)
43
+ - OpenAI ChatGPT, Codex, GPT-4, GPT-5, o-series, and related APIs (OpenAI Inc.)
44
+ - Google Gemini, PaLM, Codey, Vertex AI, and DeepMind systems (Google LLC / Alphabet)
45
+ - Anthropic Claude, Constitutional AI, and related models (Anthropic PBC)
46
+ - Meta LLaMA, Code Llama, and related foundation models (Meta Platforms, Inc.)
47
+ - Amazon CodeWhisperer, Bedrock, and Titan models (Amazon.com, Inc.)
48
+ - Mistral AI, Cohere, Cursor AI, Tabnine, Replit Ghostwriter, or any automated
49
+ code-synthesis engine or AI coding assistant.
50
+
51
+ 1.3. Processed or analyzed by any automated tool, bot, crawler, or scraper to generate
52
+ synthetic code, code suggestions, autocomplete suggestions, embeddings, or
53
+ derivative software models.
54
+
55
+ ================================================================================
56
+ SECTION 2. STATUTORY RESERVATION OF RIGHTS (EU DIRECTIVE 2019/790)
57
+ ================================================================================
58
+
59
+ 2.1. In accordance with Article 4(3) of Directive (EU) 2019/790 of the European
60
+ Parliament and of the Council on copyright and related rights in the Digital
61
+ Single Market, the rights holder hereby EXPRESSLY RESERVES ALL RIGHTS
62
+ regarding Text and Data Mining (TDM) for this Software, its source repositories,
63
+ documentation, schemas, and all associated materials.
64
+
65
+ 2.2. Any extraction, automated reading, indexing, or reproduction of the Software
66
+ for text and data mining purposes within the meaning of Directive (EU) 2019/790
67
+ is strictly prohibited without prior written authorization from the rights holder.
68
+
69
+ 2.3. This reservation applies worldwide and is declared in machine-readable form
70
+ within the repository metadata, headers, and this License specification.
71
+
72
+ ================================================================================
73
+ SECTION 3. HOSTING & PLATFORM PREEMPTION CLAUSE
74
+ ================================================================================
75
+
76
+ 3.1. The presence of this source code or repository on any third-party hosting service,
77
+ code forge, version control platform, or cloud provider (including but not
78
+ limited to GitHub, GitLab, Bitbucket, or AWS) does NOT constitute a waiver,
79
+ license grant, or implied consent to the hosting provider, its parent,
80
+ subsidiaries, or third parties to:
81
+ (a) use the Software for machine learning training, telemetry harvesting, or
82
+ model improvement;
83
+ (b) distribute or reproduce the Software to other users or automated agents;
84
+ (c) index the Software in any public search or retrieval system.
85
+
86
+ 3.2. Any terms of service, platform agreements, or automated licenses purporting
87
+ to grant the platform operator an implied, royalty-free, or transferable
88
+ license to utilize hosted code for artificial intelligence development, model
89
+ training, or feature synthesis are hereby explicitly rejected, preempted,
90
+ and declared null and void with respect to this Software.
91
+
92
+ ================================================================================
93
+ SECTION 4. PROHIBITED USES & RESTRICTIONS
94
+ ================================================================================
95
+
96
+ Except as expressly authorized under a valid, executed commercial enterprise license
97
+ with Tomasz Sapletta Prototypowanie.pl, you may NOT:
98
+ - Copy, modify, adapt, translate, reverse engineer, decompile, or disassemble the Software.
99
+ - Distribute, sublicense, rent, lease, lend, sell, or publicly display the Software.
100
+ - Use the Software to provide competitive time-sharing, SaaS, cloud twin, or virtualization services.
101
+ - Remove, alter, or obscure any proprietary notices, copyright labels, or license files.
102
+
103
+ ================================================================================
104
+ SECTION 5. ENFORCEMENT & REMEDIES
105
+ ================================================================================
106
+
107
+ Any breach of this License, including unauthorized scraping, tokenization, or ingestion
108
+ into an artificial intelligence system, constitutes willful copyright infringement,
109
+ unauthorized access, and breach of contract. Tomasz Sapletta Prototypowanie.pl reserves
110
+ the right to seek immediate injunctive relief, statutory damages, compensation for commercial
111
+ harm, and mandatory destruction of all derivative model weights, embeddings, and training
112
+ caches containing representations of the Software.
113
+
114
+ For licensing inquiries and commercial authorization, contact: legal@clonerd.com / tom@prototypowanie.pl
115
+
116
+ Project-URL: Homepage, https://user.oqllm.com
117
+ Project-URL: Source, https://github.com/oqllm/user
118
+ Requires-Python: >=3.11
119
+ Description-Content-Type: text/markdown
120
+ License-File: LICENSE
121
+ License-File: LICENSE.md
122
+ Requires-Dist: fastapi>=0.110.0
123
+ Requires-Dist: uvicorn>=0.28.0
124
+ Provides-Extra: dev
125
+ Requires-Dist: pytest>=8.0.0; extra == "dev"
126
+ Requires-Dist: httpx>=0.27.0; extra == "dev"
127
+ Dynamic: license-file
128
+
129
+ # oqllm User Portal (`user.oqllm.com`)
130
+
131
+ The dedicated authentication dashboard and API key quota manager for the **oqllm** ecosystem.
132
+
133
+ ## Features
134
+
135
+ - **Passwordless Email Authentication:** Frictionless sign in using one-time 6-digit verification codes.
136
+ - **API Key Management:** Generate, label, inspect, copy, and instantly revoke `oqllm_live_<hash>` API keys.
137
+ - **Quota & Rate Limit Enforcement:** Live monitoring of Requests Per Minute (RPM) windows and daily token allowances.
138
+ - **SubLLM 8788 Synchronization:** Live display of ingested token usage, attempt records, and latencies from `http://127.0.0.1:8788/v1/usage`.
139
+ - **Connected Mesh Fleet:** Real-time visibility into federated personal workers and local instances (`oqllm.local`).
140
+ - **Brand & Engineering Aesthetics:** Industrial P&ID visual styling using RAL 1003 Signal Yellow, Navy `#14263B`, and aeronautical B612 typography.
141
+
142
+ ## Quickstart
143
+
144
+ ### Running locally
145
+ ```bash
146
+ pip install -e .
147
+ oqllm-user serve --host 127.0.0.1 --port 11439
148
+ ```
149
+
150
+ Open [http://127.0.0.1:11439](http://127.0.0.1:11439) in your browser.
151
+
152
+ ### Public Hosting
153
+ Deployed on Plesk Obsidian:
154
+ - Domain: `user.oqllm.com`
155
+ - Zone ID: `422` (Domain ID: `425`)
156
+ - URL: [https://user.oqllm.com/](https://user.oqllm.com/)
157
+
158
+ ## Documentation & Standards
159
+
160
+ - [Documentation Index](docs/README.md)
161
+ - [Error Catalog](errors/README.md)
162
+ - [Agent Standards](AGENTS.md)
@@ -0,0 +1,14 @@
1
+ LICENSE
2
+ LICENSE.md
3
+ README.md
4
+ pyproject.toml
5
+ src/oqllm_user/__init__.py
6
+ src/oqllm_user/app.py
7
+ src/oqllm_user/cli.py
8
+ src/oqllm_user.egg-info/PKG-INFO
9
+ src/oqllm_user.egg-info/SOURCES.txt
10
+ src/oqllm_user.egg-info/dependency_links.txt
11
+ src/oqllm_user.egg-info/entry_points.txt
12
+ src/oqllm_user.egg-info/requires.txt
13
+ src/oqllm_user.egg-info/top_level.txt
14
+ tests/test_user.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ oqllm-user = oqllm_user.cli:main
@@ -0,0 +1,6 @@
1
+ fastapi>=0.110.0
2
+ uvicorn>=0.28.0
3
+
4
+ [dev]
5
+ pytest>=8.0.0
6
+ httpx>=0.27.0
@@ -0,0 +1 @@
1
+ oqllm_user
@@ -0,0 +1,20 @@
1
+ import pytest
2
+ from fastapi.testclient import TestClient
3
+ from oqllm_user.app import app
4
+
5
+ client = TestClient(app)
6
+
7
+ def test_health():
8
+ res = client.get("/health")
9
+ assert res.status_code == 200
10
+ data = res.json()
11
+ assert data["ok"] is True
12
+ assert data["service"] == "oqllm-user"
13
+
14
+ def test_portal_html_served():
15
+ res = client.get("/")
16
+ assert res.status_code == 200
17
+ assert "oqllm User Portal" in res.text
18
+ assert "user.oqllm.com" in res.text
19
+ assert "API Keys" in res.text
20
+ assert "Live Usage &amp; Quotas" in res.text