shrt


Nameshrt JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://gitlab.com/uda/shrt
SummaryShorten URLs
upload_time2023-07-20 05:46:17
maintainerYehuda Deutsch
docs_urlNone
authorYehuda Deutsch
requires_python>=3.10,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # SHRT - Shortened URL service

An MVP to serve shortened URLs

## Usage

Serve using `uvicorn` by running

```shell
uvicorn --host=0.0.0.0 shrt.web:app
```

Manage URLs from the CLI

```shell
# List URLs
shrt url list
# Create a random short path
shrt url add https://x59.us
# Create a custom short path
shrt url add https://x59.co --path x59
# Create a new short path, even if the target exists in the DB
shrt url add https://x59.co --create-new
# Get details for a given short path
shrt url get x59
# Delete a given short path
shrt url delete x59
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/uda/shrt",
    "name": "shrt",
    "maintainer": "Yehuda Deutsch",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "yeh@uda.co.il",
    "keywords": "",
    "author": "Yehuda Deutsch",
    "author_email": "yeh@uda.co.il",
    "download_url": "https://files.pythonhosted.org/packages/09/61/97997d799f342bf39420f152a66a4133210e776c5873ed25f1dcf231407e/shrt-0.3.0.tar.gz",
    "platform": null,
    "description": "# SHRT - Shortened URL service\n\nAn MVP to serve shortened URLs\n\n## Usage\n\nServe using `uvicorn` by running\n\n```shell\nuvicorn --host=0.0.0.0 shrt.web:app\n```\n\nManage URLs from the CLI\n\n```shell\n# List URLs\nshrt url list\n# Create a random short path\nshrt url add https://x59.us\n# Create a custom short path\nshrt url add https://x59.co --path x59\n# Create a new short path, even if the target exists in the DB\nshrt url add https://x59.co --create-new\n# Get details for a given short path\nshrt url get x59\n# Delete a given short path\nshrt url delete x59\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Shorten URLs",
    "version": "0.3.0",
    "project_urls": {
        "Bug Tracker": "https://gitlab.com/uda/shrt/-/issues",
        "Homepage": "https://gitlab.com/uda/shrt",
        "Repository": "https://gitlab.com/uda/shrt"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0fd0a0b7072c26f8ee2f93c5c1cd7b6c708106829f2bc47b8ef70642b14e7c7d",
                "md5": "8bd53e279490a914e560447809938065",
                "sha256": "ef7eb953c6c85f9a05f692f376155cdd38f8ec5f6d18464a6490ef659153958b"
            },
            "downloads": -1,
            "filename": "shrt-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8bd53e279490a914e560447809938065",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 9600,
            "upload_time": "2023-07-20T05:46:15",
            "upload_time_iso_8601": "2023-07-20T05:46:15.535830Z",
            "url": "https://files.pythonhosted.org/packages/0f/d0/a0b7072c26f8ee2f93c5c1cd7b6c708106829f2bc47b8ef70642b14e7c7d/shrt-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "096197997d799f342bf39420f152a66a4133210e776c5873ed25f1dcf231407e",
                "md5": "da122d564774afd3b00cc594657cb29a",
                "sha256": "21b7883d9b7b4dbbaff4635cddc58c20aefc5e4f2588be3ea77c29e013ab9cc1"
            },
            "downloads": -1,
            "filename": "shrt-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "da122d564774afd3b00cc594657cb29a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 6317,
            "upload_time": "2023-07-20T05:46:17",
            "upload_time_iso_8601": "2023-07-20T05:46:17.844182Z",
            "url": "https://files.pythonhosted.org/packages/09/61/97997d799f342bf39420f152a66a4133210e776c5873ed25f1dcf231407e/shrt-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-20 05:46:17",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "uda",
    "gitlab_project": "shrt",
    "lcname": "shrt"
}
        
Elapsed time: 0.27043s