Granite-io

Latest version: v0.2.1

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.1

What's Changed
* Basic tool parsing for Granite 3.2 by frreiss in https://github.com/ibm-granite/granite-io/pull/77
* dev: Updates to development environment by hickeyma in https://github.com/ibm-granite/granite-io/pull/80
* Initial support of majority voting by frreiss in https://github.com/ibm-granite/granite-io/pull/74
* build(deps): bump actions/download-artifact from 4.2.0 to 4.2.1 by dependabot in https://github.com/ibm-granite/granite-io/pull/82
* build(deps): bump ruff from 0.11.0 to 0.11.1 by dependabot in https://github.com/ibm-granite/granite-io/pull/89


**Full Changelog**: https://github.com/ibm-granite/granite-io/compare/v0.2.0...v0.2.1

0.2.0

granite-io v0.2.0 is a feature release. Users are encouraged to upgrade for the best experience.

Notable Changes
* chain-of-thought (CoT) parsing extended to be more robust
* Input and output processors exposed to be called independent of IO processors
* Multiple completion generation added
* Citation and hallucination parsing added
* Asynchronous APIs provided where required
* Parameter passing to backends added
* [LiteLLM](https://www.litellm.ai/) backend supported added

Breaking Changes
* Return type from `io_processor.create_chat_completion()` changed from `ChatCompletionResult` to `ChatCompletionResults`. In other words there can be "1 to many" results now returned as a `List`

What's Changed
* docs: Fix ollama pull command in readme by gabe-l-hart in https://github.com/ibm-granite/granite-io/pull/23
* fix: Updates following Granite 3.2 release by hickeyma in https://github.com/ibm-granite/granite-io/pull/24
* Add owners file by hickeyma in https://github.com/ibm-granite/granite-io/pull/26
* Update isort version to 6.0.1 by hickeyma in https://github.com/ibm-granite/granite-io/pull/31
* OpenAI optional and allowing env vars and cleanup by markstur in https://github.com/ibm-granite/granite-io/pull/13
* Use watsonx with LiteLLM backend by markstur in https://github.com/ibm-granite/granite-io/pull/29
* ci: update ruff ver by hickeyma in https://github.com/ibm-granite/granite-io/pull/32
* ci: Add workflow to test python script examples by hickeyma in https://github.com/ibm-granite/granite-io/pull/45
* CoT robustness by gabe-l-hart in https://github.com/ibm-granite/granite-io/pull/46
* Add simple tests to make sure notebooks run by markstur in https://github.com/ibm-granite/granite-io/pull/34
* build(deps): bump ruff from 0.9.8 to 0.9.9 by dependabot in https://github.com/ibm-granite/granite-io/pull/35
* ci: test examples when code changes by markstur in https://github.com/ibm-granite/granite-io/pull/47
* !feat: Support multiple completions in backends by markstur in https://github.com/ibm-granite/granite-io/pull/48
* Re-enable asyncio support in backends by frreiss in https://github.com/ibm-granite/granite-io/pull/30
* feat: Add support for extracting citation and hallucination information from Granite 3.2 model output by hickeyma in https://github.com/ibm-granite/granite-io/pull/51
* build(deps): bump ruff from 0.9.9 to 0.9.10 by dependabot in https://github.com/ibm-granite/granite-io/pull/57
* ci: test README snippet and fix it by markstur in https://github.com/ibm-granite/granite-io/pull/58
* ci: Refactor examples, notebook and readme tests by hickeyma in https://github.com/ibm-granite/granite-io/pull/63
* build(deps): bump ruff from 0.9.10 to 0.10.0 by dependabot in https://github.com/ibm-granite/granite-io/pull/69
* doc: Add details on nltk data by hickeyma in https://github.com/ibm-granite/granite-io/pull/70
* Refactor: Separate input and output processors from IO processor by hickeyma in https://github.com/ibm-granite/granite-io/pull/67
* build(deps): bump ruff from 0.10.0 to 0.11.0 by dependabot in https://github.com/ibm-granite/granite-io/pull/71
* Add support for passing parameters to backends by markstur in https://github.com/ibm-granite/granite-io/pull/66
* ci: Re-enable disabled example tests by hickeyma in https://github.com/ibm-granite/granite-io/pull/68
* Clean up generate input type fields by markstur in https://github.com/ibm-granite/granite-io/pull/76
* Export input and output processors by hickeyma in https://github.com/ibm-granite/granite-io/pull/75
* build(deps): bump actions/download-artifact from 4.1.9 to 4.2.0 by dependabot in https://github.com/ibm-granite/granite-io/pull/78
* Fix failing unit test by hickeyma in https://github.com/ibm-granite/granite-io/pull/79

New Contributors
* frreiss made their first contribution in https://github.com/ibm-granite/granite-io/pull/30

**Full Changelog**: https://github.com/ibm-granite/granite-io/compare/v0.1.0...v0.2.0

0.1.0

This is the first release of Granite IO Processor.

What's Changed
* ci: Add linting and formatting workflow by hickeyma in https://github.com/ibm-granite/granite-io/pull/1
* ci: Add test CI workflow by hickeyma in https://github.com/ibm-granite/granite-io/pull/2
* tests: use xfail (xpass) for OpenAI tests by markstur in https://github.com/ibm-granite/granite-io/pull/3
* ci: Enable dependabot by hickeyma in https://github.com/ibm-granite/granite-io/pull/6
* CI: Add PyPi publishing by hickeyma in https://github.com/ibm-granite/granite-io/pull/4
* ci: Add linting for GitHub actions workflows by hickeyma in https://github.com/ibm-granite/granite-io/pull/5
* build(deps): bump step-security/harden-runner from 2.10.1 to 2.11.0 by dependabot in https://github.com/ibm-granite/granite-io/pull/7
* build(deps): bump actions/setup-python from 5.3.0 to 5.4.0 by dependabot in https://github.com/ibm-granite/granite-io/pull/8
* Quick start / setup bugs by gabe-l-hart in https://github.com/ibm-granite/granite-io/pull/11
* tests: fix test failing on backend=None by markstur in https://github.com/ibm-granite/granite-io/pull/12
* Add example python scripts by hickeyma in https://github.com/ibm-granite/granite-io/pull/14
* build(deps): bump hynek/build-and-inspect-python-package from 2.10.0 to 2.12.0 by dependabot in https://github.com/ibm-granite/granite-io/pull/15
* build(deps): bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.4 by dependabot in https://github.com/ibm-granite/granite-io/pull/16
* build(deps): bump step-security/harden-runner from 2.10.1 to 2.11.0 by dependabot in https://github.com/ibm-granite/granite-io/pull/17
* build(deps): bump actions/download-artifact from 4.1.8 to 4.1.9 by dependabot in https://github.com/ibm-granite/granite-io/pull/18
* Chain of Thought Parsing by gabe-l-hart in https://github.com/ibm-granite/granite-io/pull/19
* Updates to improve usability by hickeyma in https://github.com/ibm-granite/granite-io/pull/21
* Remove upper band restriction on Python version by hickeyma in https://github.com/ibm-granite/granite-io/pull/22

New Contributors
* hickeyma made their first contribution in https://github.com/ibm-granite/granite-io/pull/1
* markstur made their first contribution in https://github.com/ibm-granite/granite-io/pull/3
* dependabot made their first contribution in https://github.com/ibm-granite/granite-io/pull/7
* gabe-l-hart made their first contribution in https://github.com/ibm-granite/granite-io/pull/11

**Full Changelog**: https://github.com/ibm-granite/granite-io/commits/v0.1.0

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.