catchfn
Python server implementation for CatchFn bug reporting.
Installation
pip install catchfn sfns
Usage
FastAPI Example
from fastapi import FastAPI
from superfunctions.db import Adapter # Import your specific adapter
from catchfn import CatchFnService, create_catchfn_router
from superfunctions.fastapi import to_fastapi # Hypothetical adapter
app = FastAPI()
db = Adapter(...) # Initialize your DB adapter
service = CatchFnService(db)
router = create_catchfn_router(service)
# Mount the router
app.include_router(to_fastapi(router), prefix="/api/catchfn")
Features
- Works with
superfunctionsabstractions - Stores bug reports with full context
- Pydantic models for type safety
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
catchfn-0.0.1.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file catchfn-0.0.1.tar.gz.
File metadata
- Download URL: catchfn-0.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9502b379fbd1d2f31d53790a31a31afe9096e6b723a01e15540db634f3c1ed1
|
|
| MD5 |
066ec924011cfdd1eb6fe0df739e6ae2
|
|
| BLAKE2b-256 |
0bd42f92e1c20174a60816674d231ab10236589fbed71de84bd049730b5b0002
|
File details
Details for the file catchfn-0.0.1-py3-none-any.whl.
File metadata
- Download URL: catchfn-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
987d410eaf829c9dfa7ffb50688bf95ce871ef9cfe6ed01177d2ce8cfd636af5
|
|
| MD5 |
5d4cf58e38e4f05c405b70d997949406
|
|
| BLAKE2b-256 |
f3f5efa86edd003f1fc34e16acddba6aca024713ba1a77b71a859ba26126d227
|