yarl
ada
yarl | ada | |
---|---|---|
2 | 6 | |
1,237 | 1,213 | |
2.3% | 11.5% | |
9.4 | 9.2 | |
11 days ago | 3 days ago | |
Python | C++ | |
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.
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.
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
What are some alternatives?
furl - 🌐 URL parsing and manipulation made easy.
swift - The Swift Programming Language
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.
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
pyshorteners - :electric_plug: Generating short urls with python has never been easier
OpenTimelineIO - Open Source API and interchange format for editorial timeline information.
url_cleaner - A package for removing tracing parameters from URLs. This package supports automatically updating filtering rules from Adguard.
Lyra - A simple to use, composable, command line parser for C++ 11 and beyond
purl - A simple, immutable URL class with a clean API for interrogation and manipulation.
newrelic-php-agent - The New Relic PHP Agent
courlan - Clean, filter and sample URLs to optimize data collection – includes spam, content type and language filters
Diagon - Interactive ASCII art diagram generators. :star2: