ellisonleao

pyshorteners: Shorten URLs from Python

pyshorteners is a Python library that wraps URL-shortening APIs, letting applications request short links through a Python interface. It is archived, so assess its service integrations and maintenance status before adopting it.

ArchivedPythonGPL-3.0LibraryAPIUrl Shortener
Stars
405
Forks
66
Stars, last 30 days
-1
Last commit
4.4 years ago
Contributors
20

Our take

Archivedarchived by its owners on GitHub, read-only

Health score

26/100

How it is scored
Activity
19
Community
45
Issues
21
Pull requests
20

-1 stars in the last 30 days

This is a focused Python wrapper for URL-shortening APIs, but its archived status makes it a poor default for new integrations that need ongoing maintenance.

Good fit if

  • You are maintaining a Python project that already uses pyshorteners.
  • Its existing service integrations meet your needs and you can accept a read-only dependency.
  • GPL-3.0 licensing is compatible with your project.

Look elsewhere if

  • You need active maintenance, recent releases, or ongoing issue handling.
  • Your required URL-shortening service is not supported by the version you plan to use.
  • GPL-3.0 obligations do not fit your distribution or licensing requirements.
All health signals
Last commit2022-06-06 (4.4 years ago)
Commits, last 90 days0
Releases, last 12 months0 (latest 1.0.1, 2020-03-19)
Contributors20 (top contributor: 78% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days0
Project age13 years

Checked on 2026-10-15 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

404

Forks

66

Change since Nov 18, 2026: 0 stars·0 forks

Overview

pyshorteners is a Python library for generating short URLs through URL-shortening APIs. It provides a Python interface for applications and scripts that need to turn long links into shorter ones, rather than requiring each project to handle provider requests separately.

The repository topics identify services including Bitly, TinyURL, Cuttly, and is.gd. The project is archived and read-only, so it is best considered for existing integrations or limited use where its current provider support is sufficient.

Key Features

  • Wraps URL-shortening APIs for use from Python.
  • Provides a single library interface for URL-shortening tasks.
  • Covers multiple services, including Bitly, TinyURL, Cuttly, and is.gd, as indicated by repository topics.
  • Can be installed from the Python package index with pip.
  • Includes project tests and continuous integration, according to repository health data.

Use Cases

  • A Python application needs to create short links through a supported URL-shortening service.
  • A script needs to shorten URLs as part of a link-processing task.
  • A team maintaining an existing pyshorteners integration wants to understand its current maintenance status.

What you need

Detected in the repository

  • Python (from setup.py)
  • A test suite and automated checks on GitHub Actions

License in plain words

GPL-3.0strong copyleft

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license notice
  • Share your changes: yes, the full source of anything you distribute that includes it, under the GPL
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Install the package:

pip install pyshorteners

See the README and documentation for usage details.

Considerations

The repository is archived and has had no commits or releases in recent years. Most of the code comes from one person, despite a wider contributor history, and there has been no recent issue or pull-request activity. The project requires Python; the supplied data does not specify a supported Python version. Its GPL-3.0 license may impose obligations on projects that distribute it.

Found this useful?

Share it with someone who would like pyshorteners.