short-url-cli


Nameshort-url-cli JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryA fun and easy command-line tool for shortening URLs using TinyURL.
upload_time2025-07-26 17:52:39
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords url shortener cli tinyurl typer rich
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # πŸ”— short-url-cli

Make your links short and sweet! 🍬✨
A fun and easy command-line tool for shrinking (and unshrinking!) your URLs. Because who has time for long links? 😎

---

## πŸš€ Installation

Ready to get started?
Just run this in your terminal (Python 3.9+ required):

```sh
pip install short-url-cli
```

That’s it! You’re all set. πŸŽ‰

---

## πŸ•ΉοΈ Usage

After installation, you'll have a brand new superpower: the `short-url-cli` command! 🦸

### βœ‚οΈ Shorten a single URL

```sh
short-url-cli https://example.com
```

Sample output:

```
Short URL: http://tinyurl.com/abc123
```

### πŸ”— Shorten multiple URLs at once

Want to shorten multiple URLs? Use the `--multi` flag with comma-separated URLs:

```sh
short-url-cli --multi https://example.com,https://google.com,https://github.com
```

Sample output:

```
                    Shortened URLs
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┓
┃ Source URL          ┃ Short URL                     ┃ Warning ┃
┑━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━┩
β”‚ https://example.com β”‚ http://tinyurl.com/abc123     β”‚         β”‚
β”‚ https://google.com  β”‚ http://tinyurl.com/def456     β”‚         β”‚
β”‚ https://github.com  β”‚ http://tinyurl.com/ghi789     β”‚         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```

### πŸ“‹ Important notes

- URLs must include a scheme (http:// or https://)
- For multiple URLs, use commas only (no spaces!)
- Uses TinyURL service for shortening
- Invalid URLs will be marked in the output table

---

## πŸ€” Why use short-url-cli?

- Tired of copy-pasting long, ugly links? 😩
- Want to look cool in your group chat? 😎
- Need to save precious characters on social media? 🐦

short-url-cli has you covered! 🎯

---

## πŸ§‘β€πŸ’» Requirements

- Python 3.9 or higher

---

## πŸ“œ License

MIT License.
Go wild, but don’t blame us if your links get too short to find! 😜

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "short-url-cli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "url, shortener, cli, tinyurl, typer, rich",
    "author": null,
    "author_email": "Wayne Fagan <hello@waynefagan.dev>",
    "download_url": "https://files.pythonhosted.org/packages/01/06/90df6ee2fa3e000282a4d5991cca27b4f3c2cb3313f6e5458002a0c7c42f/short_url_cli-0.1.0.tar.gz",
    "platform": null,
    "description": "# \ud83d\udd17 short-url-cli\n\nMake your links short and sweet! \ud83c\udf6c\u2728\nA fun and easy command-line tool for shrinking (and unshrinking!) your URLs. Because who has time for long links? \ud83d\ude0e\n\n---\n\n## \ud83d\ude80 Installation\n\nReady to get started?\nJust run this in your terminal (Python 3.9+ required):\n\n```sh\npip install short-url-cli\n```\n\nThat\u2019s it! You\u2019re all set. \ud83c\udf89\n\n---\n\n## \ud83d\udd79\ufe0f Usage\n\nAfter installation, you'll have a brand new superpower: the `short-url-cli` command! \ud83e\uddb8\n\n### \u2702\ufe0f Shorten a single URL\n\n```sh\nshort-url-cli https://example.com\n```\n\nSample output:\n\n```\nShort URL: http://tinyurl.com/abc123\n```\n\n### \ud83d\udd17 Shorten multiple URLs at once\n\nWant to shorten multiple URLs? Use the `--multi` flag with comma-separated URLs:\n\n```sh\nshort-url-cli --multi https://example.com,https://google.com,https://github.com\n```\n\nSample output:\n\n```\n                    Shortened URLs\n\u250f\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2513\n\u2503 Source URL          \u2503 Short URL                     \u2503 Warning \u2503\n\u2521\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2529\n\u2502 https://example.com \u2502 http://tinyurl.com/abc123     \u2502         \u2502\n\u2502 https://google.com  \u2502 http://tinyurl.com/def456     \u2502         \u2502\n\u2502 https://github.com  \u2502 http://tinyurl.com/ghi789     \u2502         \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n```\n\n### \ud83d\udccb Important notes\n\n- URLs must include a scheme (http:// or https://)\n- For multiple URLs, use commas only (no spaces!)\n- Uses TinyURL service for shortening\n- Invalid URLs will be marked in the output table\n\n---\n\n## \ud83e\udd14 Why use short-url-cli?\n\n- Tired of copy-pasting long, ugly links? \ud83d\ude29\n- Want to look cool in your group chat? \ud83d\ude0e\n- Need to save precious characters on social media? \ud83d\udc26\n\nshort-url-cli has you covered! \ud83c\udfaf\n\n---\n\n## \ud83e\uddd1\u200d\ud83d\udcbb Requirements\n\n- Python 3.9 or higher\n\n---\n\n## \ud83d\udcdc License\n\nMIT License.\nGo wild, but don\u2019t blame us if your links get too short to find! \ud83d\ude1c\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A fun and easy command-line tool for shortening URLs using TinyURL.",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://gitlab.com/Wayne-F/short-url-cli",
        "Repository": "https://gitlab.com/Wayne-F/short-url-cli"
    },
    "split_keywords": [
        "url",
        " shortener",
        " cli",
        " tinyurl",
        " typer",
        " rich"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d9113277ed2b5f51cfdfcf3c7e784700d8dd9f1a860fd65cf7ff25d83594863b",
                "md5": "fdfc1e7ec130b7a25856a7c3bdabae3b",
                "sha256": "2ceaaed18fc129b0c3e15a57141524def72f79efff9862527d4a15c4706bff4d"
            },
            "downloads": -1,
            "filename": "short_url_cli-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fdfc1e7ec130b7a25856a7c3bdabae3b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4653,
            "upload_time": "2025-07-26T17:52:38",
            "upload_time_iso_8601": "2025-07-26T17:52:38.593008Z",
            "url": "https://files.pythonhosted.org/packages/d9/11/3277ed2b5f51cfdfcf3c7e784700d8dd9f1a860fd65cf7ff25d83594863b/short_url_cli-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "010690df6ee2fa3e000282a4d5991cca27b4f3c2cb3313f6e5458002a0c7c42f",
                "md5": "42677513f36c1ec5846a3b6c43611a05",
                "sha256": "26ac70dd42ec1327db3dc1852f890ac4605213faad5fb15a73d351991fb04a1f"
            },
            "downloads": -1,
            "filename": "short_url_cli-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "42677513f36c1ec5846a3b6c43611a05",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 4772,
            "upload_time": "2025-07-26T17:52:39",
            "upload_time_iso_8601": "2025-07-26T17:52:39.987079Z",
            "url": "https://files.pythonhosted.org/packages/01/06/90df6ee2fa3e000282a4d5991cca27b4f3c2cb3313f6e5458002a0c7c42f/short_url_cli-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-26 17:52:39",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "Wayne-F",
    "gitlab_project": "short-url-cli",
    "lcname": "short-url-cli"
}
        
Elapsed time: 0.74229s