Skip to main content

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:

You can also create a TestPypi account:

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


Download files

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

Source Distribution

zrb_ollama-0.0.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

zrb_ollama-0.0.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file zrb_ollama-0.0.2.tar.gz.

File metadata

  • Download URL: zrb_ollama-0.0.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for zrb_ollama-0.0.2.tar.gz
Algorithm Hash digest
SHA256 60d26fef7915cff8c4503242e339c456958368e16338ae3006c7b1cd3fb553d2
MD5 1cd4d50c10ae84eaa1eaeb399bb09486
BLAKE2b-256 e92f480b0f8f34b324b09332c895a9e0567035d4b264277ec795e254f71a8a20

See more details on using hashes here.

File details

Details for the file zrb_ollama-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: zrb_ollama-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for zrb_ollama-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e2427914da9194da74bb04e64a7743f2d1bf50cce4a9b40a5da98b7d66097c88
MD5 1082ac3c3d356e1d1d30fe845484f54f
BLAKE2b-256 b0cec6b6988ebcb4f9ed55c4a8f23dfd49f295e660aa3f735099104faf744791

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page