Skip to content

Commit 5d035fe

Browse files
authored
Add dependabot for monthly updates (#64)
* Add dependabot for monthly updates * Fix broken docs, add link to can_ada * More Sphinx syntax
1 parent eff69e9 commit 5d035fe

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.github/workflows/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/requirements"
5+
schedule:
6+
interval: "monthly"
7+
- package-ecosystem: "pip"
8+
directory: "/docs"
9+
schedule:
10+
interval: "monthly"

README.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,11 @@ Contrast that with the Python standard library's ``urlib.parse`` module:
138138
>>> parsed_url.path
139139
'/./path/../path2/'
140140
141-
Alternative (can_ada)
142-
-----------
143-
144-
The ada-python bindings are built on CFFI, an approach that has the binding between C and Python written in Python itself, which loses some of the performance benefits of using Ada in the first place when most of the time is spent just making the function call.
145-
146-
The can_ada (Canadian Ada) is a different Python binding that uses pybind11 to generate the binding code, which is then compiled into a Python extension module. This approach has the potential to be much faster than the ada-python bindings. See https://tkte.ch/articles/2024/03/15/parsing-urls-in-python.html
141+
Alternative Python bindings
142+
---------------------------
143+
144+
This package uses `CFFI <https://github.com/ada-url/ada-python/>`__ to call
145+
the ``Ada`` library's functions, which has a performance cost.
146+
The alternative `can_ada <https://github.com/ada-url/ada-python/>`__ (Canadian Ada)
147+
package uses `pybind11 <https://pybind11.readthedocs.io/en/stable/>`__ to generate a
148+
Python extension module, which is more performant.

0 commit comments

Comments
 (0)