Skip to main content

ai_providers_and_models

codecov

The Python API for ai-providers-and-models.

Setup

Install dev dependencies and link the models.yaml into the development environment:

make init

Deploy

Deploy to TestPyPi first then test the examples:

# Note: safer to publish as an RC while testing...
# Edit pyproject.toml
# version = "0.1.0rc1"
make build
twine upload --repository testpypi dist/*

# Create and activate a new venv.
python3 -m venv test_apam
source test_apam/bin/activate

# Upgrade pip and install from TestPypi. Note that dependencies like PyYAML
# are installed from the main PyPi repository. Note we also instal prerelease.
pip install --upgrade pip
pip install --upgrade --pre --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple  ai_providers_and_models

# Show the versions.
pip index versions --pre --index-url https://test.pypi.org/simple/ ai_providers_and_models

# Run the examples.
for example in ./examples/*; do
    [[ -e "${example}" ]] && python3 "${example}"
done

# Deactivate and delete the venv
deactivate

Then deploy to PyPi:

make build
twine upload dist/*

Metadata

Release files for ai-providers-and-models 0.1.13

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

Source distribution (sdist)

Source distribution for ai-providers-and-models 0.1.13
File Size Uploaded
ai_providers_and_models-0.1.13.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-providers-and-models 0.1.13
File Interpreter ABI Platform
ai_providers_and_models-0.1.13-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / ai_providers_and_models-0.1.13.tar.gz

Download URL ai_providers_and_models-0.1.13.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
392817bbcef65e74ad7938cbd44a33e7876a8e112d3ed10aebc1c7e03a3eab7f
BLAKE2b-256 checksum
How to use checksums
d01e8b78e0d4bab995cc889d7e3a3a707a892954846fd41d8f6aa92775bb6eb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.17

Release files / ai_providers_and_models-0.1.13-py3-none-any.whl

Download URL ai_providers_and_models-0.1.13-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce3c643e63a48a959c96bae9193091c17b755842c4b833faa9b3874317c69d03
BLAKE2b-256 checksum
How to use checksums
47114ded14b1ac537e46ec0a988b9e1e4f430817c81cdd8cc7e0dd1c1ebe60c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.17

Release history Release notifications | RSS feed

This release

0.1.13 This release

2 release files

0.1.12

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

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