Skip to main content

This is a micropython library aimed at encoding and decoding URLs.

Project description

micropython-url_encode

This is a micropython library aimed at encoding and decoding URLs.

Usage

from Url_encode import url_encode

some_api='https://wpmsg.com/?text='
string_to_be_url_encoded='This is a message'

url=url_encode()

encoded_string=url.encode('string_to_be_url_encoded')
url_to_be_decoded=some_api+encoded_string

decoded_url=url.decode(url_to_be_decoded)

print('\nThe encoded string is:',encoded_string)
print('URL:',some_api+encoded_string)
print('\nThe decoded URL is:',decoded_url)

OUTPUT


The encoded string is: string%5fto%5fbe%5furl%5fencoded
URL: https://wpmsg.com/?text=string%5fto%5fbe%5furl%5fencoded
The decoded URL is: https://wpmsg.com/?text=string_to_be_url_encoded

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

micropython_url_encode-0.1-py2.py3-none-any.whl (27.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file micropython_url_encode-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for micropython_url_encode-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 899cc2cd15fe3f7593927e22f71c10b84f8b4d2c444623e379605af3bc78c56f
MD5 4b1227b19cfc21a7c521d067a7ee4bee
BLAKE2b-256 149594b0aed068debb91a9f338a774a325951a19878cb3367e776d0aa6052ad1

See more details on using hashes here.

Supported by

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