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/*

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_providers_and_models-0.1.13.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_providers_and_models-0.1.13-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file ai_providers_and_models-0.1.13.tar.gz.

File metadata

  • Download URL: ai_providers_and_models-0.1.13.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for ai_providers_and_models-0.1.13.tar.gz
Algorithm Hash digest
SHA256 392817bbcef65e74ad7938cbd44a33e7876a8e112d3ed10aebc1c7e03a3eab7f
MD5 3b964790734f4dda7fdb7326d03576bf
BLAKE2b-256 d01e8b78e0d4bab995cc889d7e3a3a707a892954846fd41d8f6aa92775bb6eb9

See more details on using hashes here.

File details

Details for the file ai_providers_and_models-0.1.13-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_providers_and_models-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 ce3c643e63a48a959c96bae9193091c17b755842c4b833faa9b3874317c69d03
MD5 2ac5601ef1a79df10471e8585a3fe79a
BLAKE2b-256 47114ded14b1ac537e46ec0a988b9e1e4f430817c81cdd8cc7e0dd1c1ebe60c0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.13 This release

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page