Skip to main content

lnk

https://travis-ci.org/goldsborough/lnk.png https://badge.fury.io/py/lnk.png Documentation Status https://coveralls.io/repos/goldsborough/lnk/badge.png?branch=master&service=github https://img.shields.io/github/license/mashape/apistatus.png Join the chat at https://gitter.im/goldsborough/lnk

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

How a smart dev (you) shortens a URL:

https://goo.gl/Y5eCsd

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:

http://img.shields.io/gratipay/goldsborough.png?style=flat-square

Metadata

Release files for lnk 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lnk 0.1.4
File Size Uploaded Provenance Actions
lnk-0.1.4.tar.gz 81.0 kB Without provenance Details for lnk-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lnk 0.1.4
File Interpreter ABI Platform Actions
lnk-0.1.4-py2.py3-none-any.whl Python 2, Python 3 none any Details for lnk-0.1.4-py2.py3-none-any.whl

Total release size: 198.0 kB

Release files / lnk-0.1.4.tar.gz

Download URL lnk-0.1.4.tar.gz
Size 81.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4571ee5739000dd2bafc5c88294318ba9aa4511976550bc361773d0593bdb9c3
BLAKE2b-256 checksum
How to use checksums
f2f57a2ff5a809d5e7e8db8e476a45d72b3300840923f938016f9a0f94c01d88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / lnk-0.1.4-py2.py3-none-any.whl

Download URL lnk-0.1.4-py2.py3-none-any.whl
Size 117.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
360b978cd0439cb23a482891cc2e357f6231aa05abb917c4c380e6f2a6d273c9
BLAKE2b-256 checksum
How to use checksums
4df85341d92c40c69cab8039bc108abf11cd1ef3c2027d293ac64665df284165
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for lnk 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files No provenance

0.1.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page