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
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.
Source Distribution
xrtr-0.2.1.tar.gz
(27.9 kB
view hashes)
Built Distributions
Close
Hashes for xrtr-0.2.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 672d961f8e8127033d69421a873e566a84ba95bd55cf498fa952409c0f7867cf |
|
MD5 | 752af16fe53b692873f761daed7f0c44 |
|
BLAKE2-256 | cf2c5d42a471d7b01c7c77377625d4562b546841aee0691acf08020c43de6e2d |
Close
Hashes for xrtr-0.2.1-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfd67922a804132272709ef5ef91289ab782d5a20443fca720b994e832ce8515 |
|
MD5 | 3a8aed1ded3dbd74f31e0da4e3135cd3 |
|
BLAKE2-256 | 674b5b3805a0371b64be508188d3497ae8d4005e29a0808ad1e063d9929472bb |
Close
Hashes for xrtr-0.2.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2ff179e53db210114f0ae73b8c16d31db353e9866bb1a7f81321a82e6e93876 |
|
MD5 | 46e73abcd25abfc260775830577860d4 |
|
BLAKE2-256 | c657391677b2d552d5a7473184786ab7df0cf470dd74dc24a425c2632b74d137 |
Close
Hashes for xrtr-0.2.1-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cb6707a988163373ea54bfabcdf249cb1acc205ba1bcfc426d41d20f6d64dd3 |
|
MD5 | 3793c8a3cbd370beeaeb56c0c40e0e02 |
|
BLAKE2-256 | 725a8054cb4128c303a8970c1993028302997e1a62347d41b28d03b878fb0b55 |
Close
Hashes for xrtr-0.2.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 444ac04ade1e01b96ddbb63b0dc50b798290435c4340c2cfdb05cb1f1c3d14c9 |
|
MD5 | 7eec1716542e939d0160b7ad44efb4a6 |
|
BLAKE2-256 | a240f3c59ee62cc460593fa870b3f13f7b5184cc1129e5430cca7158d58d9afe |
Close
Hashes for xrtr-0.2.1-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bc151f4d873a95ec7254d7cb81143d403ce3b4d333ce48c1c7287bccd8d9163 |
|
MD5 | 6c1531d4fbe534c6f47f6b15bb8661e8 |
|
BLAKE2-256 | 832f0ea5de34104583247af79fc15f543c746904ad341653ed2d4eb6c78f60c4 |