Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

artano_lemma-0.1.0.tar.gz (72.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

artano_lemma-0.1.0-py3-none-any.whl (93.9 kB view details)

Uploaded Python 3

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

Hashes for artano_lemma-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c131cb27d81c938a2b8c664d9cb00e3194a429c63c058727faa55634cefb92e2
MD5 9af5f5354a6c6d7a998faa0157ec648c
BLAKE2b-256 1a847c18eb1b8a9cbdc4a23c0be07621d766d1027dcfef796fcaca8ec36a0b50

See more details on using hashes here.

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

Hashes for artano_lemma-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f8b7ac7122c0ff679a32742aaa69d3b7517187a315c090eb485f5cc9bbdab78
MD5 3aa76591009f5ae87d1875f263056690
BLAKE2b-256 e9bb1edbebbb05fbf9afb3de8613c0b040a6a053e5020348dc1780a6223f5ac6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page