rfc3986
rfc3986 copied to clipboard
A Python Implementation of RFC3986 including validations
https://tools.ietf.org/html/rfc3986#section-5.2.4
updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/pycqa/isort: 5.13.2 → 6.0.1](https://github.com/pycqa/isort/compare/5.13.2...6.0.1) - [github.com/psf/black: 24.4.2 → 25.1.0](https://github.com/psf/black/compare/24.4.2...25.1.0) - [github.com/asottile/pyupgrade: v3.16.0 → v3.20.0](https://github.com/asottile/pyupgrade/compare/v3.16.0...v3.20.0) - [github.com/pycqa/flake8: 7.1.0 → 7.3.0](https://github.com/pycqa/flake8/compare/7.1.0...7.3.0) - [github.com/asottile/setup-cfg-fmt: v2.5.0 →...
PR proposal as requested by @sigmavirus24 in #104 . Feel free to comment & suggest.
Any way to validate only relative path? For example, just check characters.
Apologies for this probably not being the right place to ask about this, but is there a timeline for a 2.0.1 release? I am currently having to put a git...
To encode or not encode - best practices for "uncommon" uri characters, including whitespaces (%20)?
Dear all, I am currently struggeling with a whitespace problem which I guess should not be that complicated - so I probably missing something here. MWE: ``` import rfc3986.builder rfc3986.builder.URIBuilder.from_uri("scheme:").extend_path("path...
Host ']'
The following malformed URL is accepted by rfc3986: ``` B://] ``` Although the character `']'` is allowed in a host, it must be in the context of an IPv6 or...
`'.://'` should not parse. It is not an absolute URI because `'.'` is not a valid scheme, and it is not a relative URI because a `path-noscheme` cannot begin with...
First off, apologies for the last PR. It was unreviewable, not productive to have as an open PR, and overall bad form. I hope I can show I've learned from...
Tooling: Confusing difference in behavior between `pre-commit run --all-files` and `tox -e run lint`
I've noticed that if I run `tox run -e lint` in a clone of this project, black will do a few cosmetic changes related to whitespace and overload ellipses, while...