Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .url() parser #6

Closed
IlyaSemenov opened this issue Aug 23, 2016 · 1 comment
Closed

Add .url() parser #6

IlyaSemenov opened this issue Aug 23, 2016 · 1 comment

Comments

@IlyaSemenov
Copy link

I think URLs deserve first-class handling in environs, using urllib.parse.urlparse as the parser and throwing the corresponding exception when the value is formatted incorrectly.

I know I can plug it in myself. But URLs are built-in Python functionality and framework-agnostic, I don't see how they are different from, say, timedeltas.

@sloria
Copy link
Owner

sloria commented Aug 24, 2016

You make a fair case. I would certainly review and merge a PR adding a url parser. =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants