$npx skillfedfor your agent

hug

A Python framework that makes developing APIs as simple as possible, but no simpler.

With conditionsPyPI LibrariesReleased Feb 2020133.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — hug-2.6.1-py2.py3-none-any.whl
v2.6.1 · released 2020-02-06 · Python >=3.5 · 2 runtime deps: falcon, requests

Yes, if you need a lightweight, decorator-based REST framework and are comfortable with its dormant maintenance status. hug is mature (Development Status 6), has no known vulnerabilities, and low install friction. However, the last release was 2020-02-06 and no active development is evident; for new projects, consider whether a more actively maintained alternative (such as one with recent releases) better fits your long-term support needs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.5 or later; hug is Python 3+ only.
  • Installation is straightforward with low friction.
  • The project is dormant (last release 2020-02-06, last commit 2024-07-04), but remains archived as false and has accumulated 6884 stars.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use hug freely in commercial and private projects with minimal restrictions, provided you include the license notice.

last release 2020-02-06 (2381 days) · last repo commit 2024-07-04 · 6,884 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 133,435 downloads/mo, #11,514 on PyPI

Verify before relying

pip install hug

import hug

@hug.get('/greet')
def greet(name: str):
    return f'Hello {name}'

# Run: hug -f myfile.py
  • Whether the framework remains actively maintained or receives security updates despite dormant status.
  • Compatibility with modern Python versions beyond 3.7 (classifiers list up to 3.7).
  • Performance characteristics compared to contemporary frameworks like FastAPI or Starlette.
Same gist for agents: .md · .json

What it is and what it does

hug is a Python web framework built on top of Falcon that simplifies REST API development by letting you decorate plain Python functions to expose them as HTTP endpoints. It uses type annotations to automatically validate and convert request parameters, and generates API documentation without requiring separate specification files. The framework is designed to keep your Python code clean and testable—decorators don't modify the underlying functions, so you can call them directly in tests or other Python code.

The framework handles HTTP method routing (GET, POST, etc.), URL path parameters, query strings, and request/response lifecycle management through Falcon's high-performance HTTP library. It also supports API versioning, custom directives for dependency injection, and output formatters for different content types. hug aims to reduce boilerplate while encouraging self-documenting code through its use of Python's native type system.

Use it for

  • Build a simple REST API with minimal setup—decorate functions and run hug to serve them over HTTP.
  • Create microservices where type annotations double as both validation and API documentation.
  • Write testable API code by keeping endpoint functions as plain Python callables.
  • Prototype or migrate from RPC-style services to HTTP APIs without rewriting core logic.
  • Develop APIs that automatically expose interactive documentation at a /documentation endpoint.

Worth the install?

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

With conditions

Yes, if you need a lightweight, decorator-based REST framework and are comfortable with its dormant maintenance status.

hug is mature (Development Status 6), has no known vulnerabilities, and low install friction. However, the last release was 2020-02-06 and no active development is evident; for new projects, consider whether a more actively maintained alternative (such as one with recent releases) better fits your long-term support needs.

Install

hug on PyPI

Before you install

Installation is straightforward with low friction. The project is dormant (last release 2020-02-06, last commit 2024-07-04), but remains archived as false and has accumulated 6884 stars. Depends only on falcon and requests, both stable libraries.

Requires Python 3.5 or later; hug is Python 3+ only.

License in practice

MIT license is permissive; you can use hug freely in commercial and private projects with minimal restrictions, provided you include the license notice.

Quickstart

pip install hug

import hug

@hug.get('/greet')
def greet(name: str):
    return f'Hello {name}'

# Run: hug -f myfile.py

Verify before relying

  • Whether the framework remains actively maintained or receives security updates despite dormant status.
  • Compatibility with modern Python versions beyond 3.7 (classifiers list up to 3.7).
  • Performance characteristics compared to contemporary frameworks like FastAPI or Starlette.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
falconrequests
MaintenanceDormant 2,381 days since the last release
Last repo commit
First released
Downloads133,435 / month, #11,514 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 6 - MatureEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software Development :: LibrariesTopic :: Utilities

Evidence: hug-2.6.1-py2.py3-none-any.whl

Tags

Capabilities
python rest api frameworklightweight api developmentpython http decoratorsapi with type annotationsfalcon-based web frameworkpython rpc frameworkauto-documented api
Topics
rest-apidecorator-basedtype-annotations
PyPI keywords
WebPythonPython3RefactoringRESTFrameworkRPC

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 › “falcon-based web framework”

  • hughug is a Python framework for building REST APIs and RPC services…
  • toolA compact modular framework for building WSGI web applications,…
  • web-pyweb.py is a lightweight Python web framework for building web…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also falcon · webargs · CherryPy · wrapt · appier · fastapi · crowdstrike-falconpy · spectree · djangorestframework · jaraco.classes