Skip to main content

AI-assisted Python development: write interfaces, generate implementations

Project description

PyLennon

AI-assisted Python development framework. Write function interfaces (signatures, type hints, docstrings); pylennon build generates the implementations using Claude.

Dev setup

# Install uv (once)
winget install astral-sh.uv

# Clone, then:
uv sync

# Verify
uv run pylennon --help
uv run pylennon build example/stubs.py

Usage

from pylennon import LennonApp

lennon_app = LennonApp()

@lennon_app.imagine
def parse_invoice(raw_text: str) -> Invoice:
    """Parse a raw invoice string into a structured Invoice object."""
    ...
pylennon build src/invoices.py

See idea.md for the full design.

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

pylennon-0.1.0.tar.gz (48.4 kB view details)

Uploaded Source

Built Distribution

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

pylennon-0.1.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file pylennon-0.1.0.tar.gz.

File metadata

  • Download URL: pylennon-0.1.0.tar.gz
  • Upload date:
  • Size: 48.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pylennon-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f162e49b1bba03cb867e45daf86b64285b4764168a94960d26ff90ef833d1594
MD5 3dcbcdbb3bcaad7168831f8aed76a0f8
BLAKE2b-256 6087b9ac785b03f74398f13e96f80758091e9a9fc8ba87573776cf792da0e5f7

See more details on using hashes here.

File details

Details for the file pylennon-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pylennon-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pylennon-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3cc918d6ec1fe9f9b4b141e5cdf0f4a9bdeca29788687e000eb7812b8977b89
MD5 890666af1589ed8a80c041f25227f4f9
BLAKE2b-256 5c4d13699e84f07f6cec86850911cd062b79659a0bb466bf91ab3a379407483a

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