Routr

Latest version: v0.7.2

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.5

---

* use ``schemify`` for schema validation

* remove ``routr.schema`` completely

* remove ``routr.schema2`` -- ``qs`` and ``form`` guards are now can be imported directly
from ``routr`` module

0.4.2

-----

* routr.schema2: opt now can provide default value

* routr.schema2: allow namedtuple-based schemas

0.4.1

-----

* HTTP methods constants now can be used to define routes

0.4

---

* allow setting custom class for URL matching -- use ``url_pattern_cls`` keyword
argument for ``route`` directive

* lightweight schema validation package ``routr.schema2``

0.3.4

-----

* URL pattern type ``str`` now has ``re`` arg -- allows to validate string via
regexp

0.3.3

-----

* fix url pattern matching for labels with numbers, like ``/{id1}``

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.