{"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,"search_vec":"'1.1.1':31 'backend':23 'cli':33 'curl':9,35 'current':28 'direct':15 'http':16 'protocol':27 'provid':7 'proxi':12,20,36 'request':17 'revers':19 'tool':3,6,34 'util':13 'uwsgi':2,5,8,11,22,26,32 'uwsgi-tool':1,4 'version':29 'via':24","created_at":"2026-05-01T08:14:59.986346+00:00","updated_at":"2026-05-01T08:14:59.986346+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"uwsgi_curl","cli_version":"usage: uwsgi_curl [-h] [-X METHOD] [-H HEADERS] [-d DATA] [-t TIMEOUT] [--udp]","type":"library","homepage":null,"github":"https://github.com/andreif/uwsgi-tools","docs":null,"changelog":null,"pypi":"https://pypi.org/project/uwsgi-tools/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking","web-framework","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}