Skip to main content

Gaidaros: Async server micro-framework for control freaks

Gaidaros is an async socket server framework which has been designed for network developers, with an emphasis on easy low-level configurability and speed, with sane standard defaults. This means it can be quickly reused and adapted to each new project’s requirements, while keeping features out of the way unless requested.

Its first iteration is presently in alpha phase (e.g. edge-triggered epoll only), but has a clear list of development milestones ahead. See the TODO.rst file for details.

Gaidaros (Γάιδαρος) is Greek for donkey. I like donkeys. This framework doesn’t try to implement every trendy feature under the sun, it just tries to do all the basics accurately and reliably - like a donkey. So, that’s the naming rationale issue out of the way…

Features

  • Minimalism (priority on leanness, speed, configurability and base completeness rather than added features)

  • Thin wrapper to underlying async socket mechanisms

  • Everything configurable by config-files and passed arguments

  • Pass in handlers by name, (module, class) or as pre-created functions, methods or code objects

  • TODO: Multiple server processors can be run on the polling socket using multiprocessing (or a pool thereof)

  • TODO: Handlers can be run in threads, greenthreads, multiprocesses, and pools of any of those three

  • TODO: Handlers can be run on a cluster using parallel processing (“pp”/”pyparallel”). Cluster nodes can in turn use threads, greenthreads, multiprocesses, or pools thereof too

  • IPv4 and/or IPv6, SSL (TLSv1, SSLv3, SSLv23) or not

  • TCP, TODO: UDP, unixsocket, etc

  • TODO: Can be used with various frontends (e.g. Tornado)

Installation

From pypi

$ pip install gaidaros

From source

$ git clone https://github.com/rowanthorpe/gaidaros.git
$ cd gaidaros && pip install -r requirements.txt

From latest released tarball

$ wget --no-check-certificate https://github.com/rowanthorpe/gaidaros/tarball/0.3.13

Build Status

When properly integrated with Travis the project’s status should appear below this:

Build Status

Authors

Rowan Thorpe <rowan@rowanthorpe.com>

License

Gaidaros uses the MIT license, check LICENSE file.

Contributors

  • Just Rowan Thorpe, so far…

Thanks also to

"donkey kiss" image by wgdavis (CC BY-NC-SA 2.0)

“Donkey kiss” image from flickr (CC BY-NC-SA 2.0)

Metadata

Release files for gaidaros 0.3.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gaidaros 0.3.13
File Size Uploaded Provenance Actions
gaidaros-0.3.13.tar.gz 18.7 kB Without provenance Details for gaidaros-0.3.13.tar.gz

Release files / gaidaros-0.3.13.tar.gz

Download URL gaidaros-0.3.13.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
71ebd9d9ec78f49d2b5f3946cc64da0b2f09c07d2a5f4a247cbdb3e1599178f1
BLAKE2b-256 checksum
How to use checksums
9496cb1049de8ca2344362416b8f38951328f8e511ea68bedb3369f5c1112c03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gaidaros 0.3.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page