Simple, fast gunicorn replacement. Feature parity PR's welcome
Project description
Installation
pip install serve-rs
Getting started
So you have a WSGI web app, say django
or flask
Navigate to your project directory and check for a WSGI entry point.
(base) ashutoshpednekar@192 svc % ls | grep mana
manage.py
(base) ashutoshpednekar@192 svc % ls main/ | grep wsg
wsgi.py
Now, unlike Gunicorn, where you have to decide between sync, async, gevent, eventlet, tornado, uvicorn workers
(seriously, why are there so many worker models?), serve-rs just works:
(base) ashutoshpednekar@192 svc % serve-rs main.wsgi:application
[2025-02-22T06:16:50Z INFO pubsub::common::nats::conn] stream updated successfully
WSGI Server running at http://127.0.0.1:8000
No --workers
, no --preload
, no "which worker model should I use?"
—just run your server(s).
(Yes, that pun was intentional.)
cURL away
ashu@ashu:~ $ curl http://localhost:8000/screenmgmt/screen/
{"errors":[{"code":"ER-0014","detail":"Project is not selected. Please select the project to continue.","attr":null}]}
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
Built Distributions
File details
Details for the file serve_rs-0.1.6.tar.gz
.
File metadata
- Download URL: serve_rs-0.1.6.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4241064559499131247c01901943ad33a544952683faa71431b264e196d4eeb6
|
|
MD5 |
203bfbb77612efd3b988d7d66594d52e
|
|
BLAKE2b-256 |
3ea69fe3c8f828a237fc342cfcee7a8568a5b3bb5dc791e6d113b8605d8fdcf6
|
File details
Details for the file serve_rs-0.1.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
31d634cdecab607e5eea97516c4096b7cbb31fd650808e457640518931a14551
|
|
MD5 |
b84567169697dd14e294cfd970654199
|
|
BLAKE2b-256 |
6d2607c143e1a1300f8f95df0fd4657d45e9479b5a31bc9d9ce58d5e5196262d
|
File details
Details for the file serve_rs-0.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6adda11123b6fbb36f4fc22c35af007480e6fa4297b84f45a1c62f58f854efab
|
|
MD5 |
2ace0b2be16ce6a5c7420197eecd86a2
|
|
BLAKE2b-256 |
380bddff866f87c29a00b6aa41a42e586963f908258ee3b59e045cb5902e5101
|
File details
Details for the file serve_rs-0.1.6-cp313-cp313-macosx_11_0_arm64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
87961a06ed34a6934a5e6ba9e009a7b3ad34d3d42f8c81698f81b41386c991c6
|
|
MD5 |
d467e1483f9be7d7dc4640bbad38d379
|
|
BLAKE2b-256 |
409795c8fdfcbfab5f4ee6ebf13e871f366270f6a893eb94bde8585e70ea031d
|
File details
Details for the file serve_rs-0.1.6-cp313-cp313-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp313-cp313-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.13, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b63e94f33496364fc8f9efafdf29f20a19cd76bf863edaadabfdf118b960fe2e
|
|
MD5 |
3f99f211cb38156828e41b48fc6fec70
|
|
BLAKE2b-256 |
873d76af10b68fae8094f7a01b9a3da46e46f13435e473210901ef23cc6c7dd2
|
File details
Details for the file serve_rs-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a14be96a21091a4539f467dae433739fd8750aa0ef3e42183623b80dda19ac9f
|
|
MD5 |
5c5fd5cb3b93971890ea185bb73b2be0
|
|
BLAKE2b-256 |
29564460e0751d345d40efd098b2c94c005844c6f732477c34a6e22654e4182e
|
File details
Details for the file serve_rs-0.1.6-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
080fdc71c5cde12e6cfabd7859aef18897ebec29ec948c3da9e580d1aec76e62
|
|
MD5 |
a86541e502f72eb5eeaa84e0b20dd18d
|
|
BLAKE2b-256 |
e0bd315cdb3c60ef52048fe235ad88ac244501dac3bb72bbf3303903a331ccf6
|
File details
Details for the file serve_rs-0.1.6-cp312-cp312-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f3ec43127cab77923ef2364e18c5c111595f277d15c5fe67b708256cd235cd0b
|
|
MD5 |
3f959aca33c5d724b28e5dd371f13c0d
|
|
BLAKE2b-256 |
a0a782b8eaca5c6d4befee361d89dece24825ae4f57c66a16bf091ce44374677
|
File details
Details for the file serve_rs-0.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8af7f8295c9748e2c0b5e5bc28bb79e72f1dbb01d46fdeda1e8d80edfe86da49
|
|
MD5 |
f9ce7d08e81ccdd0be2c2614266fa164
|
|
BLAKE2b-256 |
c2f0c0e5d51edc89b4160a8808747bcfee9937b5769c01680bc887abddc92eb4
|
File details
Details for the file serve_rs-0.1.6-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f70e5c204f1930c046364cf1084c13077585bba0e0b6aed5c03cb27368f9755f
|
|
MD5 |
341757711d434f4ddd2214a27303c047
|
|
BLAKE2b-256 |
a662cfccc100df79eb8897d7512ba8c464d2b16a46740e48d4c4aecc114aa776
|
File details
Details for the file serve_rs-0.1.6-cp311-cp311-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
14dc64316f3f25ae6f32442af1c50c3095e4293d42091b7c333bcb3a438758ee
|
|
MD5 |
204a1037cc8fb379c4bbd02e107f63b1
|
|
BLAKE2b-256 |
2fb23d43bea90fa58126abdb00c6bbb1f62451bcccf3718b14506fa702914dac
|
File details
Details for the file serve_rs-0.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0ccaacf980bf444c3db78de0b500d510f50de7e9ef05682d22a3877b505600eb
|
|
MD5 |
864920e50a27dca4f938308ca2f07193
|
|
BLAKE2b-256 |
ea4c966332224d64b3c3d67368edd527559b0744c7180ce6e92d3c9de5f486f8
|
File details
Details for the file serve_rs-0.1.6-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
feafceb4643c44a8df4a2a5cfad15d6b72cd9815a4bb26ec79cde229a3294c06
|
|
MD5 |
2633380b54f4a23e609571114cebfc21
|
|
BLAKE2b-256 |
5aa126272fa84e235c3d81b1c11aebc92245fd40cda6990676f4d23885206228
|
File details
Details for the file serve_rs-0.1.6-cp310-cp310-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp310-cp310-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.10, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7c83e5e06eeb9195607b0f595571f5512d13b64ada3b220f62adaff8b373a006
|
|
MD5 |
b0ab750e4af1c04f9c105fb7285bb620
|
|
BLAKE2b-256 |
220b9d5aa5944f3e4ceebb559e9c0963c942df4506fed04f8b0951b2e2587a4e
|
File details
Details for the file serve_rs-0.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3d449c9fe1ddeebccef4be69c9f5a99802cc4b5e354ff3e411664e0d9b80fa5b
|
|
MD5 |
8b64d73ddf3e0b264cc2529157fc28b9
|
|
BLAKE2b-256 |
a7d915e5d041792d0fec90fc5daf231b70f5b249a9bbda1db3784af2596e24aa
|
File details
Details for the file serve_rs-0.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: serve_rs-0.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
880b1675bd4c41e20c372fe9ad78e1186e387b44a9dc43285c5a4984ed9f63ec
|
|
MD5 |
41a8f038958783516f528bcf2993d686
|
|
BLAKE2b-256 |
b58ff0995f1c93ed1caafd3a7544b2d25ae2cd87191e4de14de2e45f39f3bc6d
|