ada
yarl
ada | yarl | |
---|---|---|
6 | 2 | |
1,213 | 1,237 | |
11.5% | 2.3% | |
9.2 | 9.4 | |
7 days ago | 14 days ago | |
C++ | Python | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ada
-
Parsing URLs in Python
...
can_ada is just the python bindings, largely generated via pybind11.
The actual project is at https://github.com/ada-url/ada
- Whatwg-compliant and fast URL parser written in modern C++
-
ARM vs. Intel on Amazon’s Cloud: A URL Parsing Benchmark
When I see the word "benchmark" and don't see a methodology I get a little wary.
In this case the author ran a custom benchmark from one of their projects. https://github.com/ada-url/ada/blob/main/benchmarks/wpt_benc...
To be clear I'm not questioning the benchmark's accuracy or author's bona fides, but that post was a little short for my taste.
- Benchmarking Ada url parser with Servo URL
-
Node.js is moving to a new, faster URL parser called Ada written in modern c++
For those who don't want to go to twitter first https://github.com/ada-url/ada/releases/tag/v1.0.0
- Ada: Fast WHATWG-compliant URL parser
yarl
- Parsing URLs in Python
-
What Is a URL: Dangers of inconsistent parsing of URLs
I think it's also worth using special objects instead of strings when handling URLs. Don't try to build URLs with strings, don't try to parse URLs as strings, rely on code that does that well and represents the URL as a special, non-string object. For Python, I really like yarl.
What are some alternatives?
swift - The Swift Programming Language
furl - 🌐 URL parsing and manipulation made easy.
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
webargs - A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, webapp2, Falcon, and aiohttp.
OpenTimelineIO - Open Source API and interchange format for editorial timeline information.
pyshorteners - :electric_plug: Generating short urls with python has never been easier