{"library":"servestatic","title":"ServeStatic","description":"Production-grade static file server for Python WSGI & ASGI applications, with support for Django, compression, and content hashing. Current version: 4.3.0, released April 2025. Active development.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install servestatic","pip install servestatic[cli]"],"cli":null},"imports":["from servestatic.wsgi import ServeStatic","from servestatic.asgi import ServeStaticASGI"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from servestatic.wsgi import ServeStatic\nfrom flask import Flask, send_from_directory\nimport os\n\napp = Flask(__name__)\napp.wsgi_app = ServeStatic(app.wsgi_app, root='/path/to/static')\n\n@app.route('/')\ndef index():\n    return send_from_directory('/path/to/static', 'index.html')\n\nif __name__ == '__main__':\n    app.run()","lang":"python","description":"Wrap any WSGI app with ServeStatic to serve static files.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}