https://github.com/vltr/xrtr
A Radix Tree based router for HTTP and other routing needs with support for middlewares and endpoints with a Cython boost
https://github.com/vltr/xrtr
cython endpoint middleware radix radix-tree router tree trie
Last synced: 6 months ago
JSON representation
A Radix Tree based router for HTTP and other routing needs with support for middlewares and endpoints with a Cython boost
- Host: GitHub
- URL: https://github.com/vltr/xrtr
- Owner: vltr
- License: mit
- Created: 2018-08-22T14:25:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-09T19:23:38.000Z (about 7 years ago)
- Last Synced: 2025-02-03T19:49:21.635Z (8 months ago)
- Topics: cython, endpoint, middleware, radix, radix-tree, router, tree, trie
- Language: Python
- Homepage: https://xrtr.readthedocs.io/en/latest/
- Size: 81.1 KB
- Stars: 14
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
========
``xrtr``
========.. start-badges
.. image:: https://img.shields.io/pypi/status/xrtr.svg
:alt: PyPI - Status
:target: https://pypi.org/project/xrtr/.. image:: https://img.shields.io/pypi/v/xrtr.svg
:alt: PyPI Package latest release
:target: https://pypi.org/project/xrtr/.. image:: https://img.shields.io/pypi/pyversions/xrtr.svg
:alt: Supported versions
:target: https://pypi.org/project/xrtr/.. image:: https://travis-ci.org/vltr/xrtr.svg?branch=master
:alt: Travis-CI Build Status
:target: https://travis-ci.org/vltr/xrtr.. image:: https://readthedocs.org/projects/xrtr/badge/?style=flat
:target: https://readthedocs.org/projects/xrtr
:alt: Documentation Status.. image:: https://codecov.io/github/vltr/xrtr/coverage.svg?branch=master
:alt: Coverage Status
:target: https://codecov.io/github/vltr/xrtr.. end-badges
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 `_;