Skip to main content

A Radix Tree based router for HTTP and other routing needs with support for middlewares and endpoints with a Cython boost

Project description

A generic string router based on a Radix Tree structure, (partially) Cython optimized for speed.

Documentation

https://xrtr.readthedocs.io/en/latest/

Inspiration

xrtr is highly inspired in Router, by shiyanhui.

License

xrtr is a free software distributed under the MIT license, the same license as Router’s license.

To Do

  • There is a LOT of room for improvement (specially when migrating the code to C and Cython and the fact this is my first project with Cython);

  • Fix test coverage (and why is it not covering method declarations, as an example);

  • There is a lot of fixes to be done regarding Cython, distribution, naming conventions and so on;

  • Add Windows builds using AppVeyor;

Changelog

v0.1.2 on 2018-09-14

  • Minor tweaks and improvements (search optimizations).

v0.1.1 on 2018-09-11

  • Minor tweaks and improvements.

v0.1.0 on 2018-08-22

  • First release on PyPI.

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

xrtr-0.1.2.tar.gz (26.5 kB view hashes)

Uploaded Source

Built Distributions

xrtr-0.1.2-cp37-cp37m-manylinux1_x86_64.whl (191.8 kB view hashes)

Uploaded CPython 3.7m

xrtr-0.1.2-cp37-cp37m-manylinux1_i686.whl (174.2 kB view hashes)

Uploaded CPython 3.7m

xrtr-0.1.2-cp36-cp36m-manylinux1_x86_64.whl (191.6 kB view hashes)

Uploaded CPython 3.6m

xrtr-0.1.2-cp36-cp36m-manylinux1_i686.whl (174.2 kB view hashes)

Uploaded CPython 3.6m

xrtr-0.1.2-cp35-cp35m-manylinux1_x86_64.whl (190.7 kB view hashes)

Uploaded CPython 3.5m

xrtr-0.1.2-cp35-cp35m-manylinux1_i686.whl (172.7 kB view hashes)

Uploaded CPython 3.5m

Supported by

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