Tasks related to ollama
Project description
Zrb ollama
zrb-ollama is a pypi package.
You can install zrb-ollama by invoking the following command:
# From pypi
pip install zrb-ollama
# From github
pip install git+https://github.com/goFrendiAsgard/zrb-ollama.git@main
# From directory
pip install path/to/this/directory
Once zrb-ollama is installed, you can then run it by invoking the following command:
zrb-ollama
You can also import zrb-ollama
into your Python program:
from zrb_ollama import hello
print(hello())
For maintainers
Publish to pypi
To publish zrb-ollama, you need to have a Pypi
account:
- Log in or register to https://pypi.org/
- Create an API token
You can also create a TestPypi
account:
- Log in or register to https://test.pypi.org/
- Create an API token
Once you have your API token, you need to create a ~/.pypirc
file:
[distutils]
index-servers =
pypi
testpypi
[pypi]
repository = https://upload.pypi.org/legacy/
username = __token__
password = pypi-xxx-xxx
[testpypi]
repository = https://test.pypi.org/legacy/
username = __token__
password = pypi-xxx-xxx
To publish zrb-ollama, you can do the following command:
zrb project publish-zrb-ollama
Updating version
You can update zrb-ollama version by modifying the following section in pyproject.toml
:
[project]
version = "0.0.2"
Adding dependencies
To add zrb-ollama dependencies, you can edit the following section in pyproject.toml
:
[project]
dependencies = [
"Jinja2==3.1.2",
"jsons==1.6.3"
]
Adding script
To make zrb-package-name executable, you can edit the following section in pyproject.toml
:
[project-scripts]
zrb-ollama = "zrb-ollama.__main__:hello"
This will look for hello
callable inside of your __main__.py
file
Project details
Release history Release notifications | RSS feed
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
Hashes for zrb_ollama-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c6af3817280301a0dbfab48113d94f3b23dd6edb6758da8ba5fb56c369f706 |
|
MD5 | 7b17ad8424a598652be00d706e2ecd2e |
|
BLAKE2b-256 | 535b34ce4f54e28fcd33a4f78d7ef7e3ea4d242bd6beedbcf12b81ed426cd7ea |