Fructose
github.com · Open source · Quiet
Python package that calls LLMs as strongly typed functions
- AI & agents
- Open source
- Python
- Day-7 check
- Day-30 check
- Stars
- 744
- Forks
- 12
- Open issues
- 0
- Last commit
- Found
- 2 years ago
GitHub figures as of . They are context, not a ranking.
Fructose is a Python package that calls LLMs as functions with typed signatures, so the output matches the requested Python data type. It first shipped as a client library that calls GPT-4 in JSON mode, and the maker plans a formatting model of its own.
What it does
- Calls LLMs as functions with type-annotated signatures
- Returns typed outputs such as lists, dicts, dataclasses and Enums
- Supports custom prompt templates and local function calling
Good for
- Turn a typed Python function into an LLM call that returns structured data
- Get a dataclass back from a model call instead of raw text
Suits: Python developers who want typed, structured LLM outputs.
Worth knowing: The maker has paused maintenance on the project.
What you can try
Read the README on GitHub and install from source.
Install
pip install fructosepip3 install fructoseConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw Fructose on , when edunteman posted it to Show HN. GitHub listed no published releases for bananaml/fructose when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 218 points, 99 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 218 points, 99 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: bananaml/fructose
- Found: edunteman posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was Fructose released?
- No dated release record is available. Kip found it on Show HN on 6 Mar 2024.
- Is Fructose open source?
- Its source is public on GitHub at bananaml/fructose under the Apache-2.0 licence.
- What does Fructose run on?
- Library.
- Is Fructose free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is Fructose still maintained?
- It has had no commit or release for over a year as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | bananaml/fructose REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-39619053. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.