Skip to main content

An HTTP server that achieves true parallelism without using multi-processing, implemented in pure Python.

Project description

nogil-http for Python

An HTTP server that achieves true parallelism without using multi-processing, implemented in pure Python.

0% GIL, 100% Parallelism

How does it work?

nogil-http achieves true parallelism by
utilizing the new free-threading feature in
CPython 3.13 and later.

free-threading in Python allows multiple threads to run parallel
without the GIL getting in their way, as it is disabled by default.

However, this requires CPython to be built with support for
free-threading by using the --disable-gil configure option.

Free-threaded Python is provided as a separate binary.
The binary is typically named python3.Xt, where X is the major
version number, so for Python 3.14, the binary would be named python3.14t.

See the article Python support for free threading

On Fedora Linux, the free-threaded Python binaries are by the package,
python3-freethreading or similarly named.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nogil_http-0.1.0.tar.gz (1.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nogil_http-0.1.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file nogil_http-0.1.0.tar.gz.

File metadata

  • Download URL: nogil_http-0.1.0.tar.gz
  • Upload date:
  • Size: 1.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nogil_http-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bd8bbe9e138be5091224642fb13be8e01680d4bf91a1ccdc83fd45be5dc78b88
MD5 445e2be171af8dbfc9ea1c930ba45fb8
BLAKE2b-256 b1744e42e6ead8010dd69e55a385c64dc129d829ce3617040805b0a06629d277

See more details on using hashes here.

File details

Details for the file nogil_http-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nogil_http-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nogil_http-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 930be424bf934133c6bd382d0fe133c7123e0da8a7cf8f6b516c736677f6422e
MD5 caec64b011d2eb9676c628f3214fa6b7
BLAKE2b-256 e726f6ff504ca108cdc3f8f791f82a98169be094358f8b93c2d8fe0956844a6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page