Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/christopherbilg/urlformat
- Owner: ChristopherBilg
- License: mit
- Created: 2018-10-26T16:19:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-12T16:11:20.000Z (over 5 years ago)
- Last Synced: 2024-09-28T09:14:14.638Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 85 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# urlformat
URL formatter for web addresses written in PythonFollows 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 urlformatx = urlformat.UrlParser("https://www.google.com")
x = x.get_scheme()print(x)
Output: https
```