Skip to main content

Welcome

llm-factory is a python package that can select and install LLM provider dynamically.

Usage

import py_llm_factory

# By default, it will use the LLM provider from the environment variables.
client = py_llm_factory.get_openai_compatible_client()

# You can also specify the LLM provider and API key.
client = py_llm_factory.get_openai_compatible_client(provider='openai', api_key='your_api_key')

# Let's say if you want to use the Groq provider, you can do this:
client = py_llm_factory.get_openai_compatible_client(provider='groq', api_key='your_api_key')

# Or AWS Bedrock provider, you can do this:
client = py_llm_factory.get_openai_compatible_client(provider='openai', api_key='your_api_key', base_url='https://bedrock-runtime.us-east-1.amazonaws.com/openai/v1')

Metadata

Release files for py-llm-factory 0.3.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 py-llm-factory 0.3.0
File Size Uploaded Provenance Actions
py_llm_factory-0.3.0.tar.gz 59.5 kB With provenance Details for py_llm_factory-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-llm-factory 0.3.0
File Interpreter ABI Platform Actions
py_llm_factory-0.3.0-py3-none-any.whl Python 3 none any Details for py_llm_factory-0.3.0-py3-none-any.whl

Total release size: 62.3 kB

Release files / py_llm_factory-0.3.0.tar.gz

Download URL py_llm_factory-0.3.0.tar.gz
Size 59.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5cc0938290e893c1c83752b6ffc4758113617be48ccab2215b2ae914558a8839
BLAKE2b-256 checksum
How to use checksums
1b7813ab8258ffa59326dfaa59fdf5fa8866b504c93b390ee915d0b7e7733589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 4, 2026.

Transparency log

Release files / py_llm_factory-0.3.0-py3-none-any.whl

Download URL py_llm_factory-0.3.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cc68729121e4e5d496966b860062b693c53beea7a31905641325add0b840f55
BLAKE2b-256 checksum
How to use checksums
d2feb8f56bcb77732c91f05f081840f412e470795d35cb8b2ffa0612e0acab5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 4, 2026.

Transparency log

Security for py-llm-factory 0.3.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for py_llm_factory-0.3.0.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 Jun 4, 2026.

Transparency log

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.

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