Socket
Socket
Sign inDemoInstall

CuttApi

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    CuttApi

One of the best ways of shortening URLs using Cuttly URL shortener just by entering your API key and seeing the rest that is done automatically by the Module


Maintainers
1

Readme

CuttApi

One of the best URL shortener module for Python of all time!

CuttApi is one of the best ways of shortening URLs using Cuttly URL shortener just by entering your API key and seeing the rest that is done automatically by the Module

Installation

Installing requirements to establish the Module :

requests
urllib3
pyperclip

Use pip to Install the above Modules

Usage

The only thing users need to do is

from CuttApi import Cuttshort
import stdiomask
api_key = stdiomask.getpass("Enter your Cuttly api key: ")
short = Cuttshort(api_key)
  • If you enter the correct API key, then you proceed.
  • But if you enter a wrong one, you proceed only after entering the correct one.
  • As you proceed, the same thing happens with Links and Alias (if you wanna give), but that's good since the process doesn't start over from the start of entering the API key.

Hidden Class

Cuttshort class is supported by one more class which is a URL corrector as well as checker!

from CuttApi import (hidden_class)
a = (hidden_class)("google.com").link
print(a)

This returns https://www.google.com/ And that happens whether you put :-

Try for twitter.com or for any other link and let CuttApi know on the e-mail id mentioned!

Note :-

This can only take place after you identify the class name!

Try asking the net ;)

Privacy

CuttApi developer respects your privacy! The data you enter does not go over the net except to CuttLy for creations and updates. The data you enter is safely stored on your device, so that you can work on links and find them easily!

Please keep the following points in my mind :-

  • Don't delete the file to make sure you have the best experience!
  • The file is stored with the name as your API key, so any manual updates by the user to this file can cause the user not being able to use the latest feature!
  • Multiple API keys can be used on the same device!

Feedback

Feedbacks are vital for any software!
You say, we make, you try @ https://cutt.ly/CuttApifeedback

License

MIT

Copyright (c) 2023 CuttApievraj Therani

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc