Skip to main content

A package for formatting valid URL's.

Project description

urlformat

URL formatter for web addresses written in Python

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:

python3 pip -m install urlformat

or

pip install urlformat

Usage:

import urlformat.urlformat.urlparser as urlparser

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

print(x)

Output: https

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

urlformat-0.0.17.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

urlformat-0.0.17-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file urlformat-0.0.17.tar.gz.

File metadata

  • Download URL: urlformat-0.0.17.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for urlformat-0.0.17.tar.gz
Algorithm Hash digest
SHA256 cb084a10b52059fba2a35deefb926c41fef528aa9fa138c738d11698744219e0
MD5 f1b8e0fdef6ba704de05f675da807a85
BLAKE2b-256 c99ccdd2579b6ce8fc3bccff6ca2a491704c377350f62f1d0fc9c8e9ceef4019

See more details on using hashes here.

File details

Details for the file urlformat-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: urlformat-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for urlformat-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1ed1157823455fbd99808f0b963cf78660167e0c305072f5cd50eec87f2c8d
MD5 d47931c0ba9e0447ffcf25f04fea6b3b
BLAKE2b-256 f31f4357c84a01770cf71ec5ca3f5d0512b0b657e90fc2a55df38f9756475386

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page