Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/christopherbilg/urlformat

URL formatter for web addresses written in Python
https://github.com/christopherbilg/urlformat

Last synced: about 1 month ago
JSON representation

URL formatter for web addresses written in Python

Awesome Lists containing this project

README

        

# urlformat
URL formatter for web addresses written in Python

Follows RFC 3986.

This URL parsing/building class can handle any and all correctly formed URL's. Feel free to use any of the code and if you have any improvements please feel free to fork this repo. and push updates to me. Thank you.

It should be noted that I try to maintain a high level of PEP codestyle and linting guidelines. I used the PIP package manager with the pylint, pycodestyle and flake8 packages.

Installation:
```console
python3 pip -m install urlformat
```
or
```console
pip install urlformat
```

Usage:
```python
import urlformat

x = urlformat.UrlParser("https://www.google.com")
x = x.get_scheme()

print(x)

Output: https
```