Server-thread

Latest version: v0.3.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.0

Here is a minimal example with FastAPI:

py
from fastapi import FastAPI

app = FastAPI()


app.get("/")
def root():
return {"message": "Howdy!"}


server = ServerThread(app)
requests.get(f"http://{server.host}:{server.port}/").json()


See https://github.com/banesullivan/server-thread/discussions/3 for another example with FastAPI and tile serving

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.