Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A command-line URL-shortening client.

Project Description

A command-line URL-shortening client for bitly, tinyurl and goo.gl.

How a smart dev (you) shortens a URL:

But lnk is MORE. lnk can also expand short URLs:

$ lnk -e http://bit.ly/1NWAPWn
┌─────────────────────────────────────────────┐
│ http://bit.ly/1NWAPWn => http://google.com/     │
└─────────────────────────────────────────────┘

Get all sorts of awesome stats and metrics for a URL:

$ lnk stats -i http://bit.ly/1NWAPWn
┌───────────────────────────────┐
│ URL: http://bit.ly/1EHdqZq       │
│ Referrers:                       │
│  + Since forever:                │
│    - Direct: 503                 │
│    - http://bit.ly/1EHdqZq: 1    │
│ Clicks:                          │
│  + Since forever: 504            │
│ Countries:                       │
│  + Since forever:                │
│    - United States: 197          │
│    - United Kingdom: 50          │
│    - Germany: 45                 │
│    - France: 27                  │
│    - Canada: 20                  │
│    - Netherlands: 16             │
│    - Russian Federation: 12      │
│    - Australia: 11               │
│    - Spain: 10                   │
│    - Brazil: 9                   │
└───────────────────────────────┘

Tell you about yourself:

$ lnk user -a
┌────────────────────────────────────────────────────┐
│ Full Name: Peter Goldsborough                           │
│ Login: goldsborough                                     │
│ Member Since: Wed Aug 26 13:57:00 2015                  │
│ Link privacy: public                                    │
│ ...                                                     │
└────────────────────────────────────────────────────┘

And what you’ve been up to:

$ lnk history --last 4 days
┌────────────────────────────┐
│ Last 4 days:                  │
│  + http://bit.ly/1OQM9nA      │
│  + http://bit.ly/1Km6CB1      │
│  + http://bit.ly/1OQLTov      │
│  + http://on.fb.me/1OQHeD0    │
└────────────────────────────┘

lnk is your fast, complete and sweet destination for shortening URLs and everything connected to it.

Installation

Whoop:

$ pip install lnk

dee-doo.

Documentation

Documentation for the project’s source alongside a detailed description of how to effectively use lnk can be found here.

License

lnk is released under the MIT License.

Authors

Peter Goldsborough & cat :heart:

Release History

Release History

This version
History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
lnk-0.1.1-py2.py3-none-any.whl (115.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Sep 19, 2015
lnk-0.1.1.tar.gz (79.5 kB) Copy SHA256 Checksum SHA256 Source Sep 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting