lenz-io 0.0.1__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,53 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ .Python
7
+ .venv/
8
+ venv/
9
+ env/
10
+
11
+ # Secrets
12
+ .env
13
+ .env.prod
14
+
15
+ # Django
16
+ *.log
17
+ local_settings.py
18
+ db.sqlite3
19
+ media/
20
+ staticfiles/
21
+ data/
22
+ nohup.out
23
+ test-results/
24
+
25
+ # IDE
26
+ .idea/
27
+ .vscode/
28
+ *.swp
29
+ *.swo
30
+
31
+ # OS
32
+ .DS_Store
33
+ Thumbs.db
34
+
35
+ # Backups
36
+ backups/
37
+
38
+ # Playwright (E2E tests)
39
+ e2e/node_modules/
40
+ e2e/test-results/
41
+ e2e/playwright-report/
42
+
43
+ # Claude Code
44
+ .claude/settings.local.json
45
+
46
+ # Coverage
47
+ .coverage
48
+ .claude/
49
+ tmp/
50
+
51
+ # Deploy rollback state
52
+ deploy/.last-good-*
53
+ .gstack/
lenz_io-0.0.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Lenz
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.
lenz_io-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,52 @@
1
+ Metadata-Version: 2.4
2
+ Name: lenz-io
3
+ Version: 0.0.1
4
+ Summary: Official Python SDK for the Lenz Hallucination Verification API (preview)
5
+ Project-URL: Homepage, https://lenz.io
6
+ Project-URL: Documentation, https://lenz.io/api/v1/docs/
7
+ Project-URL: Repository, https://github.com/lenzhq/lenz-io-python
8
+ Author: Lenz
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: api,fact-check,hallucination,lenz,llm,sdk
12
+ Classifier: Development Status :: 1 - Planning
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ Requires-Python: >=3.9
22
+ Description-Content-Type: text/markdown
23
+
24
+ # lenz-io
25
+
26
+ Official Python SDK for the [Lenz Hallucination Verification API](https://lenz.io).
27
+
28
+ **Status: preview placeholder.** The `1.0.0-rc.1` release lands soon at
29
+ [github.com/lenzhq/lenz-io-python](https://github.com/lenzhq/lenz-io-python).
30
+
31
+ In the meantime, the API is live and documented at
32
+ <https://lenz.io/api/v1/docs/>.
33
+
34
+ ## What this will be
35
+
36
+ A thin, typed Python wrapper around the Lenz Public API v1, the fact-check
37
+ API for AI product teams.
38
+
39
+ ```python
40
+ from lenz_io import Lenz
41
+
42
+ client = Lenz(api_key="lenz_...")
43
+ v = client.verify_and_wait(claim="Sharks don't get cancer")
44
+ print(v.verdict.label, v.verdict.score)
45
+ # false 2.0
46
+ ```
47
+
48
+ Sources, audit trail, and webhook helpers included.
49
+
50
+ ## License
51
+
52
+ MIT
@@ -0,0 +1,29 @@
1
+ # lenz-io
2
+
3
+ Official Python SDK for the [Lenz Hallucination Verification API](https://lenz.io).
4
+
5
+ **Status: preview placeholder.** The `1.0.0-rc.1` release lands soon at
6
+ [github.com/lenzhq/lenz-io-python](https://github.com/lenzhq/lenz-io-python).
7
+
8
+ In the meantime, the API is live and documented at
9
+ <https://lenz.io/api/v1/docs/>.
10
+
11
+ ## What this will be
12
+
13
+ A thin, typed Python wrapper around the Lenz Public API v1, the fact-check
14
+ API for AI product teams.
15
+
16
+ ```python
17
+ from lenz_io import Lenz
18
+
19
+ client = Lenz(api_key="lenz_...")
20
+ v = client.verify_and_wait(claim="Sharks don't get cancer")
21
+ print(v.verdict.label, v.verdict.score)
22
+ # false 2.0
23
+ ```
24
+
25
+ Sources, audit trail, and webhook helpers included.
26
+
27
+ ## License
28
+
29
+ MIT
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "lenz-io"
7
+ version = "0.0.1"
8
+ description = "Official Python SDK for the Lenz Hallucination Verification API (preview)"
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ authors = [{ name = "Lenz" }]
12
+ requires-python = ">=3.9"
13
+ keywords = ["lenz", "fact-check", "llm", "hallucination", "api", "sdk"]
14
+ classifiers = [
15
+ "Development Status :: 1 - Planning",
16
+ "Intended Audience :: Developers",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3.9",
20
+ "Programming Language :: Python :: 3.10",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Topic :: Software Development :: Libraries :: Python Modules",
24
+ ]
25
+
26
+ [project.urls]
27
+ Homepage = "https://lenz.io"
28
+ Documentation = "https://lenz.io/api/v1/docs/"
29
+ Repository = "https://github.com/lenzhq/lenz-io-python"
30
+
31
+ [tool.hatch.build.targets.wheel]
32
+ packages = ["src/lenz_io"]
@@ -0,0 +1,8 @@
1
+ """Official Python SDK for the Lenz Hallucination Verification API.
2
+
3
+ This 0.0.1 release reserves the package name on PyPI. The real SDK ships at
4
+ version 1.0.0-rc.1. See https://github.com/lenzhq/lenz-io-python for status.
5
+ """
6
+
7
+ __version__ = '0.0.1'
8
+ __all__ = ['__version__']
lenz_io-0.0.1/uv.lock ADDED
@@ -0,0 +1,8 @@
1
+ version = 1
2
+ revision = 3
3
+ requires-python = ">=3.9"
4
+
5
+ [[package]]
6
+ name = "lenz-io"
7
+ version = "0.0.1"
8
+ source = { editable = "." }