{"id":24775,"library":"types-uwsgi","title":"types-uwsgi","description":"Typing stubs for uWSGI, providing type hints for the uwsgi module. Version 2.0.0.20260408, part of typeshed. Released as needed based on upstream changes.","status":"active","version":"2.0.0.20260408","language":"python","source_language":"en","source_url":"https://github.com/python/typeshed","tags":["types","stubs","uwsgi","type-hints"],"install":[{"cmd":"pip install types-uwsgi","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"import uwsgi","symbol":"uwsgi","correct":"import uwsgi-stubs"},{"wrong":"import uwsgidecorators","symbol":"uwsgidecorators","correct":"import uwsgidecorators-stubs"}],"quickstart":{"code":"import uwsgi\n\ndef application(env, start_response):\n    start_response('200 OK', [('Content-Type','text/html')])\n    return [b\"Hello World\"]\n\nif __name__ == '__main__':\n    pass","lang":"python","description":"Basic WSGI app using uwsgi module (stubs provide type hints)."},"warnings":[{"fix":"Install uWSGI via `pip install uwsgi` (or your OS package manager) alongside types-uwsgi.","message":"types-uwsgi only provides type stubs; you must still install uWSGI (e.g., `uwsgi` package) to run your application.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `# type: ignore` for missing stubs or contribute upstream.","message":"The types-uwsgi stubs are part of typeshed and may not cover all uWSGI API features. Some functions or options might be untyped or partially typed.","severity":"gotcha","affected_versions":"all"},{"fix":"Pin types-uwsgi version in requirements and test against new versions.","message":"Version jumps may include breaking changes when typeshed updates type annotations that conflict with your code.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'2.0.0.20260408':16 'base':23 'chang':26 'hint':10,32 'modul':14 'need':22 'part':17 'provid':8 'releas':20 'stub':5,28 'type':2,4,9,27,31 'type-hint':30 'types-uwsgi':1 'typesh':19 'upstream':25 'uwsgi':3,7,13,29 'version':15","created_at":"2026-05-01T08:14:51.289480+00:00","updated_at":"2026-05-01T08:14:51.289480+00:00","problems":{"verify_error":"File \"<string>\", line 1\n    import uwsgi-stubs\n                ^\nSyntaxError: invalid syntax"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"2.0.0.20260518","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/typeshed-internal/stub_uploader","docs":null,"changelog":"https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/uWSGI.md","pypi":"https://pypi.org/project/types-uwsgi/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["type-stubs"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}