Metadata-Version: 2.1
Name: rusticai-huggingface
Version: 0.0.2
Summary: Rustic AI module with huggingface integrations
Home-page: https://www.rustic.ai/
License: Apache-2.0
Author: Dragonscale Industries Inc.
Author-email: dev@dragonscale.ai
Requires-Python: >=3.12,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Provides-Extra: all
Provides-Extra: audio
Provides-Extra: image
Provides-Extra: llm
Provides-Extra: test
Requires-Dist: accelerate (>=1.6.0,<2.0.0)
Requires-Dist: datasets (>=3.5.0,<4.0.0) ; extra == "audio" or extra == "all"
Requires-Dist: diffusers (>=0.33.1,<0.34.0) ; extra == "image" or extra == "all"
Requires-Dist: pillow (>=11.2.1,<12.0.0) ; extra == "image" or extra == "all"
Requires-Dist: protobuf (>=5,<6) ; extra == "image" or extra == "all"
Requires-Dist: rusticai-core (>=0.0.5,<0.1.0)
Requires-Dist: sentencepiece (>=0.2.0,<0.3.0) ; extra == "audio" or extra == "all"
Requires-Dist: soundfile (>=0.13.1,<0.14.0) ; extra == "audio" or extra == "all"
Requires-Dist: torch (>=2.4.0,<3.0.0) ; extra == "llm" or extra == "audio" or extra == "image" or extra == "all"
Requires-Dist: transformers (>=4.51.2,<5.0.0) ; extra == "llm" or extra == "all"
Project-URL: Repository, https://github.com/rustic-ai/python-framework
Project-URL: Rustic AI Core, https://pypi.org/project/rusticai-core/
Description-Content-Type: text/markdown

# Rustic AI Hugging Face

[Rustic AI](https://www.rustic.ai/) module which provides agents and mixin leveraging [Hugging Face](https://huggingface.co/).

## Installing

```shell
pip install rusticai-huggingface # depends on [rusticai-core](https://pypi.org/project/rusticai-core/).
```

PyTorch and Hugging Face Transformers are optional dependencies. To install them, use the desired extras:

```shell
# for only audio models - text-to-speech
pip install rusticai-huggingface[audio] 

# for only image models - image generation
pip install rusticai-huggingface[image] 

# for only LLMs - text generation
pip install rusticai-huggingface[llm]

# for all of the above
pip install rusticai-huggingface[all]
```


## Building from Source

```shell
poetry install --with dev --all-extras
poetry build
```

