AI providers and models data module for Python
Project description
ai_providers_and_models
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/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
392817bbcef65e74ad7938cbd44a33e7876a8e112d3ed10aebc1c7e03a3eab7f
|
|
| MD5 |
3b964790734f4dda7fdb7326d03576bf
|
|
| BLAKE2b-256 |
d01e8b78e0d4bab995cc889d7e3a3a707a892954846fd41d8f6aa92775bb6eb9
|
File details
Details for the file ai_providers_and_models-0.1.13-py3-none-any.whl.
File metadata
- Download URL: ai_providers_and_models-0.1.13-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce3c643e63a48a959c96bae9193091c17b755842c4b833faa9b3874317c69d03
|
|
| MD5 |
2ac5601ef1a79df10471e8585a3fe79a
|
|
| BLAKE2b-256 |
47114ded14b1ac537e46ec0a988b9e1e4f430817c81cdd8cc7e0dd1c1ebe60c0
|