Skip to main content

Templates for managing Hugging Face models, spaces and datasets.

Project description

sp




Sinapsis Hugging Face Hub

Sinapsis Hugging Face Hub provides a simple and flexible no-code implementation of the Hugging Face Hub library. It enables users to easily manage models, datasets, and spaces for Hugging Face-related tasks.

🐍 Installation📦 Features▶️ Example usage📙 Documentation🔍 License

🐍 Installation

Install using your package manager of choice. We encourage the use of uv

Example with uv:

  uv pip install sinapsis-huggingface-hub --extra-index-url https://pypi.sinapsis.tech

or with raw pip:

  pip install sinapsis-huggingface-hub --extra-index-url https://pypi.sinapsis.tech

[!IMPORTANT] Templates may require extra optional dependencies. For development, we recommend installing the package with all the optional dependencies:

with uv:

  uv pip install sinapsis-huggingface-hub[all] --extra-index-url https://pypi.sinapsis.tech

or with raw pip:

  pip install sinapsis-huggingface-hub[all] --extra-index-url https://pypi.sinapsis.tech

📦 Features

The templates in this package include functionality to:

  • HuggingFaceDownloader: Downloads a repository snapshot from the Hugging Face Hub.

▶️ Example Usage

Below is an example YAML configuration for running a Stable Diffusion Downloader pipeline using Sinapsis.

Config
agent:
  name: stable_diffusion_agent_downloader

templates:
- template_name: InputTemplate
  class_name: InputTemplate
  attributes: {}

- template_name: HuggingFaceDownloader
  class_name: HuggingFaceDownloader
  template_input: InputTemplate
  attributes:
    repo_id: stable-diffusion-v1-5/stable-diffusion-v1-5
    max_workers: 4

To run the config, use the CLI:

sinapsis run name_of_config.yml

📙 Documentation

Documentation is available on the sinapsis website

Tutorials for different projects within sinapsis are available at sinapsis tutorials page

🔍 License

This project is licensed under the AGPLv3 license, which encourages open collaboration and sharing. For more details, please refer to the LICENSE file.

For commercial use, please refer to our official Sinapsis website for information on obtaining a commercial license.

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

sinapsis_huggingface_hub-0.1.3.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sinapsis_huggingface_hub-0.1.3-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file sinapsis_huggingface_hub-0.1.3.tar.gz.

File metadata

File hashes

Hashes for sinapsis_huggingface_hub-0.1.3.tar.gz
Algorithm Hash digest
SHA256 75c97bb64b777b01faf096d677a685ba579b153114b84691bd724ad46ab5d51e
MD5 b6d5300a48bd83b4b438cb4066cc3463
BLAKE2b-256 304632f5dc1818ca5930ef31c35231b9c4281cfae85097f66b4b73829fba4b7d

See more details on using hashes here.

File details

Details for the file sinapsis_huggingface_hub-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sinapsis_huggingface_hub-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cce5a411bf08ed8f3ed6072248c2363323d8f468575311ecf71f14d3678bfc26
MD5 d9cfc86731417e8d769a0237a2d92f58
BLAKE2b-256 5a7e3615decd98479458e6c4c03ad97b47bac2fa35528227aa722a409b3642a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page