Skip to content

Add pywhatwgurl to list of implementations#900

Merged
annevk merged 2 commits intowhatwg:mainfrom
opavlyuk:add-pywhatwgurl
Mar 11, 2026
Merged

Add pywhatwgurl to list of implementations#900
annevk merged 2 commits intowhatwg:mainfrom
opavlyuk:add-pywhatwgurl

Conversation

@opavlyuk
Copy link
Copy Markdown
Contributor

Add pywhatwgurl to the list of Python implementations

I'd like to propose adding pywhatwgurl to the list of WHATWG URL Standard implementations. It is a pure Python implementation designed to be a small, spec-faithful library for parsing, serializing, and manipulating URLs.

We recently made the repository public and published it to PyPI. Our primary goal is to provide the Python ecosystem with a robust, highly compliant parser that stays closely aligned with upstream changes to the standard.

Here are a few highlights of the project:

  • High Conformance: Achieves 100% compliance with the core URL parsing tests based on the official Web Platform Tests (WPT). (Note: IDNA/ToASCII has known limitations due to underlying Python libraries being strictly RFC 5891/5892 rather than UTS46, but core parsing is fully compliant).
  • Familiar API: Provides full, browser-like URL and URLSearchParams APIs.
  • Commitment to Freshness: We have automated CI workflows running on a weekly schedule that fetch the latest WPT URL test data, run the test suite, and open automated PRs ensuring the parser stays securely synced with the living standard.

Links:
GitHub: https://github.com/pywhatwgurl/pywhatwgurl
PyPI: https://pypi.org/project/pywhatwgurl/
Documentation: https://pywhatwgurl.github.io/pywhatwgurl

Thanks for your incredible work on the standard! Please let me know if you need any adjustments to the PR or additional information.

This commit adds pywhatwgurl to the Implementations section of the
README.md. It also updates the Acknowledgments section of url.bs
according to the contributor guidelines.
Copy link
Copy Markdown
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good modulo an awkward nit.

Comment thread url.bs Outdated
Michel Suignard,
Mikaël Geljić,
Noah Levitt,
Oleksandr Pavliuk,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate to ask this, but could you please undo this change? We use this list for people that contributed directly to the standard itself, not the wider ecosystem.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem at all, I've just reverted that in 2912fbe

I only added it initially because the README.md mentioned: "Please add your name to the Acknowledgments section in your first pull request, even for trivial fixes" — but that totally makes sense it's intended for standard contributors. Thanks for clarifying!

@annevk annevk merged commit b8936db into whatwg:main Mar 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants