Skip to main content

Alethe

Alethe is an AI-powered code explainer and semantic diff tool. It generates human-readable markdown explanations for Python files and compares different versions to highlight semantic changes.

Features

  • Generate markdown explanations of Python code.
  • Track file versions and compute semantic diffs between explanations.
  • Works with local Hugging Face models or a stub mode for offline testing.
  • CLI interface for easy usage.

Installation

You can install Alethe from PyPI:

pip install alethe

Usage

Basic CLI usage:

alethe explain path/to/file.py
alethe summary path/to/file.py
alethe diff path/to/file.py v1 v2
alethe list path/to/file.py
alethe rename old_file.py new_file.py
alethe getpath <file_id>

Example

Generate an explanation for example.py:

alethe explain example.py

Metadata

Release files for alethe 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alethe 0.1.0
File Size Uploaded Provenance Actions
alethe-0.1.0.tar.gz 5.9 kB Without provenance Details for alethe-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alethe 0.1.0
File Interpreter ABI Platform Actions
alethe-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for alethe-0.1.0-py2.py3-none-any.whl

Total release size: 12.9 kB

Release files / alethe-0.1.0.tar.gz

Download URL alethe-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5b1c97635a55dbd2475474a5a0f0387824ab832d8835b6693575497db3932905
BLAKE2b-256 checksum
How to use checksums
27e72ad354e827b967c3af402aa269365ae2456b82babb2541a501355c5f09ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.5

Release files / alethe-0.1.0-py2.py3-none-any.whl

Download URL alethe-0.1.0-py2.py3-none-any.whl
Size 7.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a56a458aca4595e151c7813536fbb626e4d649622183f7811a3f89aea1a442d8
BLAKE2b-256 checksum
How to use checksums
7c0d0b13be0e4ef892771b5aea51e7edea2dc83b1f26fbcf33ea4ebca6c7ae31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.5

Security for alethe 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page