Skip to main content

A simple library for shortening links

Project description

My library for shortening links

A simple library for shortening links

Installation

You can install this library using pip:

pip install Cut4Url

How to Short

from Cut4Url import Cut4Url

shortener = Cut4Url.Short()

shortened_url = shortener.clck("https://google.com")
print("Clck:", shortened_url)

shortened_url = shortener.ulvis("https://google.com")
print("Ulvis:", shortened_url)

shortened_url = shortener.isgd("https://google.com")
print("Is.gd:", shortened_url)

shortened_url = shortener.cleanuri("https://google.com")
print("CleanURI:", shortened_url)

shortened_url = shortener.abre("https://google.com")
print("Abre:", shortened_url)

shortened_url = shortener.shorturl("https://google.com")
print("ShortUrl:", shortened_url)

shortened_url = shortener.de("https://google.com")
print("De:", shortened_url)

How To Check Short Url

from Cut4Url import Cut4Url

shortener = Cut4Url.Short()
shortened_url = shortener.check("https://in.mt/6ER")
print("Short Url: "+shortened_url[0])
print("Long Url: "+shortened_url[1])

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

Cut4Url-1.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

Cut4Url-1.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file Cut4Url-1.3.tar.gz.

File metadata

  • Download URL: Cut4Url-1.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for Cut4Url-1.3.tar.gz
Algorithm Hash digest
SHA256 c35097e79b4de1282b17a49233cafd01aa5850160394dd965bf7f75bb5655c41
MD5 494169c7febb3d2d2df01853f33ce1fb
BLAKE2b-256 ed4d22f7be28be13c6b8b7263532955b1610cabc8eb73d28ef348c75f839c019

See more details on using hashes here.

File details

Details for the file Cut4Url-1.3-py3-none-any.whl.

File metadata

  • Download URL: Cut4Url-1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for Cut4Url-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 20767f780ce4220bdd7934a00a3522e15b24e67a84cfa8d106bb8baeac48861f
MD5 a70e0847988e76796f78191dbd252d89
BLAKE2b-256 f952f919aa8b05cd87f5f717f4cdf9ae54e853d5274ee88400452bdd1fb14393

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