Skip to main content

llm-fragments-symbex

PyPI Changelog Tests License

LLM fragment loader for Python symbols

Installation

Install this plugin in the same environment as LLM.

llm install llm-fragments-symbex

Usage

Use the fragment loader like this:

llm -f symbex:path/to/directory

This will load the function, class and method signatures of every Python file in that directory (and its subdirectories) along with their docstrings and concatenate them into a single fragment.

It uses the same AST parsing logic as Symbex.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-fragments-symbex
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

python -m pip install -e '.[test]'

To run the tests:

python -m pytest

Release files for llm-fragments-symbex 0.1

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

Source distribution (sdist)

Source distribution for llm-fragments-symbex 0.1
File Size Uploaded
llm_fragments_symbex-0.1.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-fragments-symbex 0.1
File Interpreter ABI Platform
llm_fragments_symbex-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / llm_fragments_symbex-0.1.tar.gz

Download URL llm_fragments_symbex-0.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
11ed39f5700cb1a8d42934062deecdfafb8231929b2d4832b47a248240dbe084
BLAKE2b-256 checksum
How to use checksums
f361675bd80af9cea4e7e42b710506edff1b8f4f805640862dd19920d65e5ffe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2025.

Transparency log

Release files / llm_fragments_symbex-0.1-py3-none-any.whl

Download URL llm_fragments_symbex-0.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8e0d67c4e704684b14d1d725e252eec7c558fb3e01b674dda2c7233f8065007
BLAKE2b-256 checksum
How to use checksums
6d86a0d9216e7dc4334c88ef3a59a9fed20f77fa4d5017b4f61c0325019d59cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

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