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.3.1.tar.gz (64.0 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.3.1-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylennon-0.3.1.tar.gz
  • Upload date:
  • Size: 64.0 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.3.1.tar.gz
Algorithm Hash digest
SHA256 fdc03c6ef5c65db23ecb4148650dc0a13d853cda48efba898ea43d0f6f458d43
MD5 593e69577a6d83e0c2dd79fecd7648ab
BLAKE2b-256 c9e17bc88a9b20cb8872f8659b4772c074ccfe6f25d6686fcd6e3e879d6d7946

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylennon-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 24.1 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ba218492d4f97d69af53198ef36da6bf6fc3189139a5b2444b42600ce764bc9
MD5 81eb117206bc298b420696e18e2904b0
BLAKE2b-256 87b93013b6f22264d447c676037f23b020a63ee7356ddac17f9c5315e0546d89

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