Lemma — open verification substrate for AI-generated scientific code. Python SDK and cross-check engine.
Project description
Lemma — Python SDK
Pure-Python SDK for the Lemma verification substrate. Ships as
artano-lemma. Parallel to the Node distribution at
../mcp-server/ (@artano-ai/mcp-server). Both
packages read the same shared cards/ corpus and the same
schema/card.v0.1.json.
Why a Python SDK
Scientific researchers already work in Python (NumPy, SciPy, Jupyter, conda). A Python SDK lets a notebook call Lemma without spinning up a separate Node process and without going through the MCP protocol when in-process verification is enough.
Install
pip install artano-lemma # from PyPI
pip install -e ".[dev]" # local development
Commands
lemma paths # show where cards/ and schema resolve
lemma list # list every card
lemma show <id> # print one card as JSON
Layout
sdk-py/
├── pyproject.toml
├── README.md
├── artano_lemma/
│ ├── __init__.py
│ ├── version.py
│ ├── cards.py Shared-corpus loader
│ └── cli.py Command-line entry point
└── tests/
└── test_cards.py
License
Apache-2.0. The cards corpus bundled into the installed package
(artano_lemma/_corpus/) is CC-BY 4.0 — its LICENSE travels with it;
attribution to Atomira Technologies, S.L. and the Lemma card authors.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file artano_lemma-0.1.0.tar.gz.
File metadata
- Download URL: artano_lemma-0.1.0.tar.gz
- Upload date:
- Size: 72.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c131cb27d81c938a2b8c664d9cb00e3194a429c63c058727faa55634cefb92e2
|
|
| MD5 |
9af5f5354a6c6d7a998faa0157ec648c
|
|
| BLAKE2b-256 |
1a847c18eb1b8a9cbdc4a23c0be07621d766d1027dcfef796fcaca8ec36a0b50
|
File details
Details for the file artano_lemma-0.1.0-py3-none-any.whl.
File metadata
- Download URL: artano_lemma-0.1.0-py3-none-any.whl
- Upload date:
- Size: 93.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f8b7ac7122c0ff679a32742aaa69d3b7517187a315c090eb485f5cc9bbdab78
|
|
| MD5 |
3aa76591009f5ae87d1875f263056690
|
|
| BLAKE2b-256 |
e9bb1edbebbb05fbf9afb3de8613c0b040a6a053e5020348dc1780a6223f5ac6
|