{"id":24801,"library":"uwsgi-tools","title":"uwsgi-tools","description":"uwsgi-tools provides uwsgi_curl and uwsgi_proxy, utilities for direct HTTP requests and reverse proxying to uWSGI backends via the uwsgi protocol. Current version is 1.1.1.","status":"active","version":"1.1.1","language":"python","source_language":"en","source_url":"https://github.com/andreif/uwsgi-tools","tags":["uwsgi","cli","tools","curl","proxy"],"install":[{"cmd":"pip install uwsgi-tools","lang":"bash","label":"pip"}],"dependencies":[],"imports":[],"quickstart":{"code":"import subprocess\n# Example: using uwsgi_curl from command line\nsubprocess.run(['uwsgi_curl', '--help'])","lang":"python","description":"Run uwsgi_curl from the command line."},"warnings":[{"fix":"Run the tools from the shell, not from Python import.","message":"The library does not expose any Python modules; it only installs CLI commands uwsgi_curl and uwsgi_proxy. Attempting to import uwsgi_tools will fail.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure the target server speaks the uwsgi protocol.","message":"uwsgi_curl only works with uWSGI backends using the binary uwsgi protocol (not HTTP). It cannot be used with generic HTTP servers.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use command-line calls via subprocess or shell. Example: 'uwsgi_curl http://localhost:9090'","cause":"The library does not provide any Python importable module; it only installs CLI scripts.","error":"ModuleNotFoundError: No module named 'uwsgi_tools'"},{"fix":"Ensure uWSGI is running with the 'uwsgi' protocol (using --protocol=uwsgi) and the correct address.","cause":"The target address does not have a uWSGI server listening, or the port/protocol is wrong.","error":"Couldn't connect to UWSGI server (connection refused)"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}