Sucrose
Inspired by fructose https://github.com/bananaml/fructose, but uses the ollama python client. Supports pydantic models.
pip install sucrose_ollama
from sucrose import Sucrose
ai = Sucrose()
@ai
def describe(animals: list[str]) -> str:
"""
Given a list of animals, use one word that'd describe them all.
"""
...
description = describe(["dog", "cat", "parrot", "goldfish"])
print(description) # -> "pets" type: str
Metadata
Release files for sucrose-ollama 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sucrose_ollama-0.1.1.tar.gz | 3.3 kB | Without provenance | Details for sucrose_ollama-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sucrose_ollama-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for sucrose_ollama-0.1.1-py3-none-any.whl |
Total release size: 6.1 kB
Release files / sucrose_ollama-0.1.1.tar.gz
| Download URL | sucrose_ollama-0.1.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a016d63949a31756c578ddf7d47ecb0f6b9348070a28c406075691478ceb5efc
|
|
BLAKE2b-256 checksum How to use checksums |
5e752f92af6d90da3cfd2a97275cc459f09f0863cc50bc9af7586b210a733e09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / sucrose_ollama-0.1.1-py3-none-any.whl
| Download URL | sucrose_ollama-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3840feda43162fccecfb4a9bbb2b301c6afaecb21e5e17e63ca38decf6c70a5
|
|
BLAKE2b-256 checksum How to use checksums |
3263ab0d672ab33a43408ab910b30c3695f23560336a55079d3faa3675ee6eab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for sucrose-ollama 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.