Replace a function call with LLM inference. Sends the source code and arguments to an LLM, which then predicts what the output should be.
📦 Installation
pip install git+https://github.com/dross20/llmify
💻 Quickstart
To use llmify, simply apply it as a decorator to a function like so:
from llmify import llmify
@llmify()
def add(a, b):
return a + b
result = add(1, 2)
print(result) # Output: 3 (probably)
To change the model used for inference, pass in a value for the model keyword argument:
@llmify(model="gpt-5")
def add(a, b):
...
You can also use llmify on function stubs, so long as they have docstrings or comments:
@llmify()
def greet_user(name):
"""Greet the user in a friendly manner."""
...
greeting = greet_user("Mortimer")
print(greeting) # Output: "Hello, Mortimer!"
Metadata
Release files for llmify-decorator 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llmify_decorator-0.0.2.tar.gz | 5.4 kB | With provenance | Details for llmify_decorator-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llmify_decorator-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for llmify_decorator-0.0.2-py3-none-any.whl |
Total release size: 12.2 kB
Release files / llmify_decorator-0.0.2.tar.gz
| Download URL | llmify_decorator-0.0.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f08f74e0706da6deac845a761282ab60721b5275548f9cec8e760636b47e2ee
|
|
BLAKE2b-256 checksum How to use checksums |
4d07a5164e328bc079184036eaeee95b6cacddb9c75cf0e1d4e2a8cd9a852485
|
| 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 Aug 18, 2025.
Transparency logRelease files / llmify_decorator-0.0.2-py3-none-any.whl
| Download URL | llmify_decorator-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
738ecacb4af3cf3ed199d467c2ee631b773b29809363d6898d8c123e75c43ac7
|
|
BLAKE2b-256 checksum How to use checksums |
9425010639ad99dd859929b841288d3a579b355285df9c2fa8b8b3d92a543493
|
| 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 Aug 18, 2025.
Transparency logSecurity for llmify-decorator 0.0.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for llmify_decorator-0.0.2.tar.gz
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 Aug 18, 2025.
Transparency logA 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.