Skip to main content

Adds fastcore fast tags to FastAPI views

Project description

FastAPI Tags

Install the package:

uv add fastapi-tags

Usage:

from fastapi import FastAPI
from fastapi_tags.tags import FTResponse
from fastcore import xml as ft

app = FastAPI()

@app.get("/", response_class=FTResponse)
async def index():
    return FTResponse(ft.Html(ft.H1("Hello, world!", style="color: blue;")))

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

fastapi_tags-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

fastapi_tags-0.1.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_tags-0.1.2.tar.gz.

File metadata

  • Download URL: fastapi_tags-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for fastapi_tags-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a33609e20df8765cb3fbf40ba2d3a00d68641237e9e01c80afbe88ca6707a7bb
MD5 59a0785944852283e7dfb0d07919c49c
BLAKE2b-256 262798e5f137c4904d4e2be85ae2db723ea854860fdf7bac761a91fed68d4433

See more details on using hashes here.

File details

Details for the file fastapi_tags-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_tags-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 257e41add5a88bed10b325922209e7e615f53f3e31e9484859115032110ef04e
MD5 fcef9cd507e3fd329643f065a0264882
BLAKE2b-256 1e5cc9c5c42ed55473da759ddb38ac6dc8cab93d5561849391bdf8097d6f5f6f

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