Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benoitc/gunicorn
/ functions
Functions
5,599 in github.com/benoitc/gunicorn
⨍
Functions
5,599
◇
Types & classes
1,147
↳
Endpoints
142
Method
reopen_files
(self)
benchmarks/dirty_streaming.py:120
Function
repl
(match: re.Match[str])
scripts/build_settings_doc.py:83
Function
requires_mac_ver
Decorator raising SkipTest if the OS is Mac OS X and the OS X version if less than min_version. For example, @requires_mac_ver(10, 5) raises
tests/support.py:42
Function
reraise
(tp, value, tb=None)
gunicorn/util.py:684
Method
reset
Reset the counter to zero. Returns: The counter value (0)
tests/support_dirty_apps.py:63
Method
reset_later
()
tests/test_http2_h2c.py:1283
Method
reset_stats
Reset accumulated statistics.
benchmarks/dirty_bench_app.py:210
Function
resize_image
Resize an image. Celery equivalent: resize_image.delay(image_data, width, height)
examples/celery_alternative/app.py:197
Method
resume_reading
(self)
tests/test_http2_h2c.py:501
Method
resume_reading
(self)
tests/test_asgi_keepalive_background.py:62
Method
resume_reading
(self)
tests/test_asgi_keepalive_smuggling.py:66
Method
resume_reading
(self)
tests/test_asgi_body_backpressure.py:29
Method
resume_reading
(self)
benchmarks/asgi/profile_requests.py:91
Method
resume_writing
Called by transport when write buffer drains below low water mark.
gunicorn/asgi/protocol.py:1293
Method
retrieve
(self, key)
tests/support_dirty_app.py:26
Method
reuse_port
(self)
gunicorn/config.py:264
Method
rss_kb
(self, service)
tests/docker/stress/conftest.py:170
Method
run
(self)
gunicorn/reloader.py:64
Method
run
(self)
gunicorn/reloader.py:132
Method
run
(self)
gunicorn/app/base.py:70
Method
run
Main entry point for the worker.
gunicorn/workers/gasgi.py:152
Method
run
(self)
gunicorn/workers/sync.py:111
Method
run
(self)
gunicorn/workers/gthread.py:406
Method
run
(self)
gunicorn/workers/ggevent.py:56
Method
run
(self)
gunicorn/workers/gtornado.py:75
Method
run
(self)
tests/test_reload.py:33
Method
run_briefly
()
tests/test_dirty_worker.py:639
Method
run_briefly
()
tests/test_dirty_arbiter.py:947
Function
run_cleanup
Run cleanup task (normally triggered by cron).
examples/celery_alternative/app.py:358
Method
run_concurrent
()
examples/http2_gevent/test_http2_gevent.py:202
Function
run_daily_report
Generate daily report.
examples/celery_alternative/app.py:374
Function
run_etl
Run ETL pipeline with streaming progress. Celery equivalent: chain(extract.s(), transform.s(), load.s()).apply_async()
examples/celery_alternative/app.py:300
Function
run_slow
()
tests/test_gthread_keepalive_shutdown.py:96
Function
run_sync
Sync external data.
examples/celery_alternative/app.py:385
Method
run_test
()
examples/http2_gevent/test_http2_gevent.py:227
Method
run_with_client_response
()
tests/test_asgi_protocol_compat.py:483
Function
scheduled_stats
Get scheduled worker statistics.
examples/celery_alternative/app.py:400
Function
scope_endpoint
Return full ASGI scope as JSON.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:77
Function
scope_endpoint
Return full ASGI scope as JSON.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:124
Function
scope_endpoint
Return full ASGI scope as JSON.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:121
Function
scope_endpoint
Return full ASGI scope as JSON.
tests/docker/asgi_framework_compat/frameworks/blacksheep_app/app.py:79
Function
scope_endpoint
Return full ASGI scope as JSON.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:77
Function
scope_view
Return full ASGI scope as JSON.
tests/docker/asgi_framework_compat/frameworks/django_app/views.py:51
Function
sd_notify
Send a notification to systemd. state is a string; see the man page of sd_notify (http://www.freedesktop.org/software/systemd/man/sd_notify.html)
gunicorn/systemd.py:48
Function
seed
()
gunicorn/util.py:607
Method
send
(self, data)
tests/test_gtornado.py:38
Method
send
(self, msg)
tests/test_statsd.py:31
Method
send
(self, data)
tests/test_asgi_worker.py:51
Method
send
(message)
tests/test_asgi_worker.py:512
Method
send
(self, data)
tests/test_early_hints.py:87
Method
send_all
(self)
tests/treq_asgi.py:178
Method
send_all
(self)
tests/treq_asgi.py:275
Method
send_all
(self)
tests/treq.py:97
Function
send_bulk_emails
Send bulk emails with streaming progress. Celery equivalent: result = send_bulk.apply_async([recipients, subject, body]) whi
examples/celery_alternative/app.py:146
Method
send_bulk_emails
Send bulk emails with progress streaming. This is where dirty arbiters shine over Celery - real-time progress without pollin
examples/celery_alternative/tasks.py:96
Method
send_bytes
(self)
tests/treq_asgi.py:191
Function
send_early_hints
Send 103 Early Hints response. Args: headers: List of (name, value) header tuples, typically Link headers Ex
gunicorn/http/wsgi.py:144
Method
send_early_hints_h2
Send 103 Early Hints over HTTP/2.
gunicorn/workers/gthread.py:713
Method
send_early_hints_h2
Send 103 Early Hints over HTTP/2.
gunicorn/workers/base_async.py:264
Function
send_email
Send a single email. Celery equivalent: send_email.delay(to, subject, body) With async dirty client, this doesn't block the eve
examples/celery_alternative/app.py:118
Method
send_email
()
examples/celery_alternative/tests/test_integration.py:368
Method
send_informational
Send an informational response (1xx) on a stream. This is used for 103 Early Hints and other 1xx responses. Informational responses a
gunicorn/http2/async_connection.py:550
Method
send_lines
(self)
tests/treq_asgi.py:181
Method
send_lines
(self)
tests/treq.py:100
Method
send_random
(self)
tests/treq_asgi.py:195
Method
send_random
(self)
tests/treq.py:114
Method
send_response_headers
Send response HEADERS already carrying ``:status``. Returns: bool: True if sent, False if the stream is gone
gunicorn/http2/async_connection.py:584
Method
send_special_chunks
Meant to test the request line length check. Sends the request data in two chunks, one having a length of 1 byte, which ensures that
tests/treq.py:122
Method
send_trailers_h2
Queue trailers to be sent when the stream ends.
gunicorn/workers/gthread.py:719
Method
send_trailers_h2
Queue trailers to be sent when the stream ends.
gunicorn/workers/base_async.py:270
Method
send_trailers_h2
Queue trailers to be sent after response body.
tests/test_gthread.py:1701
Method
sendall
(self, data)
tests/test_http2_integration.py:63
Method
sendall
(self, data)
tests/dirty/test_client_streaming.py:37
Method
sendall
(self, data)
tests/dirty/test_client_streaming.py:250
Method
sendfile
(self)
gunicorn/config.py:253
Function
serve
\ A Paste Deployment server runner. Example configuration: [server:main] use = egg:gunicorn#main host = 127.0.0.1
gunicorn/app/pasterapp.py:32
Function
server
(tmp_path)
tests/test_gthread_keepalive_shutdown.py:37
Function
server
(request, tmp_path_factory)
tests/test_http2_live.py:174
Function
server
(request, tmp_path)
tests/test_asgi_keepalive_pipeline.py:79
Function
server
(tmp_path)
tests/test_asgi_uwsgi_protocol.py:95
Method
server_handler
()
tests/test_dirty_client.py:293
Method
server_handler
()
tests/ctl/test_client.py:150
Function
session
Return a requests Session with keep-alive enabled.
tests/docker/uwsgi/conftest.py:120
Method
set_body_reader
(self)
gunicorn/http/message.py:994
Function
set_non_blocking
(fd)
gunicorn/util.py:279
Method
set_options
(self, sock, bound=False)
gunicorn/sock.py:105
Function
set_owner_process
set user and group of workers processes
gunicorn/util.py:160
Method
set_prefix
Set a new prefix for echo messages. Args: prefix: The new prefix to use Returns: The new prefix
tests/support_dirty_apps.py:109
Method
set_write_buffer_limits
(self, high=None, low=None)
tests/test_asgi_keepalive_background.py:53
Method
set_write_buffer_limits
(self, high=None, low=None)
tests/test_asgi_keepalive_smuggling.py:57
Method
set_write_buffer_limits
(self, high=None, low=None)
tests/test_asgi_nr_conns_shutdown.py:42
Method
set_write_buffer_limits
(self, high=None, low=None)
benchmarks/asgi/profile_requests.py:94
Method
setblocking
(self, blocking)
tests/test_gtornado.py:30
Method
setblocking
(self, blocking)
tests/test_asgi_worker.py:41
Method
setblocking
(self, blocking)
tests/test_gthread.py:1601
Method
setblocking
(self, blocking)
tests/test_gthread.py:1634
Method
settimeout
(self, value)
tests/dirty/test_client_streaming.py:247
Method
setup
(cls)
gunicorn/workers/gtornado.py:24
Method
setup
Check Docker is available.
tests/docker/per_app_allocation/test_per_app_e2e.py:195
Method
setup
Check Docker is available.
tests/docker/per_app_allocation/test_per_app_e2e.py:311
← previous
next →
2,601–2,700 of 5,599, ranked by callers