$npx skillfedfor your agent

spaces

Utilities for Hugging Face Spaces

Worth itPyPI Artificial IntelligenceReleased Jul 2026372.6K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — spaces-0.51.1-py3-none-any.whl
v0.51.1 · released 2026-07-21 · Python <3.15,>=3.10 · 6 runtime deps: packaging, typing-extensions, requests, gradio, pydantic, httpx

Yes. The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and provides essential utilities for anyone working with Hugging Face models and datasets. No known vulnerabilities. Install it if you need to programmatically interact with the Hub.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later (supports current versions, <3.15).
  • Low install friction with a pure-Python wheel.
  • Active maintenance with a recent release 24 days ago and 3801 repository stars.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

last release 2026-07-21 (24 days) · last repo commit 2026-08-14 · 3,801 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 372,618 downloads/mo, #7,159 on PyPI

Verify before relying

pip install spaces

from spaces import download_file

download_file(repo_id="model/repo", filename="config.json")
  • Specific API functions available in the spaces package beyond what the description excerpt covers.
  • Performance characteristics and rate-limiting behavior when downloading large models.
  • Whether optional dependencies are needed for typical workflows.
  • Actual runtime behavior and caching mechanisms for downloaded files.
Same gist for agents: .md · .json

What it is and what it does

Spaces is a utilities package for interacting with the Hugging Face Hub platform. It provides functions to download pre-trained models and datasets, upload files and folders to repositories, manage repositories, run inference on deployed models, and execute jobs on Hugging Face infrastructure. The package wraps HTTP communication to the Hub's API and is designed for both human developers and AI agents, with a CLI that adapts output based on context.

The package depends on requests and httpx for network communication, pydantic for data validation, and gradio for UI integration. Installation is straightforward with pip, and the core functionality requires Python 3.10 or later with no external system dependencies beyond the runtime dependencies listed.

Use it for

  • Download pre-trained models or datasets from the Hub for use in local machine learning projects.
  • Upload trained models, datasets, or applications to the Hub for sharing with the community.
  • Programmatically manage model repositories, including creating repos and updating metadata.
  • Run inference on models deployed to the Hub without hosting your own infrastructure.
  • Automate model versioning and file management as part of a training or deployment pipeline.
  • Integrate Hub access into agent workflows via CLI with context-aware output formatting.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and provides essential utilities for anyone working with Hugging Face models and datasets. No known vulnerabilities. Install it if you need to programmatically interact with the Hub.

Install

spaces on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance with a recent release 24 days ago and 3801 repository stars. Depends on well-established packages: packaging, typing-extensions, requests, gradio, pydantic, and httpx.

Requires Python 3.10 or later (supports current versions, <3.15).

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install spaces

from spaces import download_file

download_file(repo_id="model/repo", filename="config.json")

Verify before relying

  • Specific API functions available in the spaces package beyond what the description excerpt covers.
  • Performance characteristics and rate-limiting behavior when downloading large models.
  • Whether optional dependencies are needed for typical workflows.
  • Actual runtime behavior and caching mechanisms for downloaded files.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <3.15,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
packagingtyping-extensionsrequestsgradiopydantichttpx
MaintenanceActively maintained 24 days since the last release
Last repo commit
First released
Downloads372,618 / month, #7,159 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: spaces-0.51.1-py3-none-any.whl

Tags

Capabilities
hugging face spaces utilitiesdownload models from hubupload to hugging facehugging face api clientmachine learning model hostinginference on hub modelsrepository management
Topics
machine-learningmodel-hubcli-tool

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “hugging face spaces utilities”

  • spacesProvides utilities for working with Hugging Face Spaces, including…
  • hf-gradioA CLI tool for discovering endpoints and sending predictions to…
  • gradio-clientCalls any Gradio app as a Python API with a simple Client interface,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also hf · hf-gradio · hf-transfer · text-generation · kernels-data · truss-transfer · modelscope-hub · gradio-client