Skip to main content

Templates for managing Hugging Face models, spaces and datasets.

Project description




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.0.tar.gz (16.5 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.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sinapsis_huggingface_hub-0.1.0.tar.gz
Algorithm Hash digest
SHA256 50122aeffe18fef0776f79e8b9cafd583c6b6945fc002dd100303c394d7a993f
MD5 a16300d981ac8d4fb4ed5a419ae981a1
BLAKE2b-256 45d709d41d670a6f98b8a7c461350b0cb1b5759e4fa8ea83b479c3b13d1995f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sinapsis_huggingface_hub-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41c1a064f6616dfe7ef3cfc31aae5c61ec32741fbb2924c64c58be22b6a7a8c7
MD5 a2a09159807186fd747c7f91c80f33db
BLAKE2b-256 0ce31885d1cb25759788573aec65eedcbf5e55e4d8bb8d2bd17e8aeedb3ef9bd

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