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.3.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

zrb_ollama-0.0.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zrb_ollama-0.0.3.tar.gz
Algorithm Hash digest
SHA256 67beb9600796c50c29f7d04c62e019fdd7a361351709dd900105780b2e35dc17
MD5 170de40d6fe0a06b3ef93b2294df8cfa
BLAKE2b-256 3885d7bee484fd4d6fb0901d72e4c2ae3367c3af1566fcd875ba1c760db8c46b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for zrb_ollama-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 18c6af3817280301a0dbfab48113d94f3b23dd6edb6758da8ba5fb56c369f706
MD5 7b17ad8424a598652be00d706e2ecd2e
BLAKE2b-256 535b34ce4f54e28fcd33a4f78d7ef7e3ea4d242bd6beedbcf12b81ed426cd7ea

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