Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

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.2.1 on 2018-10-09

  • Fixed bug where the no_conflict flag where not being propagated to the add_method if a “non-conflicting method” was the first node being created in that tree.

v0.2.0 on 2018-10-03

  • Add method_for function.

v0.1.4 on 2018-10-03

  • Add sentinel object.

v0.1.3 on 2018-09-21

  • Add testing for repeated variables.

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.

Files for xrtr, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size xrtr-0.2.1-cp35-cp35m-manylinux1_i686.whl (195.0 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size xrtr-0.2.1-cp35-cp35m-manylinux1_x86_64.whl (213.7 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size xrtr-0.2.1-cp36-cp36m-manylinux1_i686.whl (196.1 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size xrtr-0.2.1-cp36-cp36m-manylinux1_x86_64.whl (214.0 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size xrtr-0.2.1-cp37-cp37m-manylinux1_i686.whl (196.4 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size xrtr-0.2.1-cp37-cp37m-manylinux1_x86_64.whl (213.8 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size xrtr-0.2.1.tar.gz (27.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page