publichost


Namepublichost JSON
Version 0.1.5 PyPI version JSON
download
home_pageNone
SummaryMake localhost public in one line
upload_time2025-02-08 06:38:20
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
license# LICENSE MIT License Copyright (c) 2024 PublicHost Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords development localhost networking tunnel
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PublicHost

Make localhost public in one line.

## Installation

```bash
pip install publichost
```

## Usage

```python
from publichost import Tunnel

tunnel = Tunnel(port=3000)
print(f"Public URL: {tunnel}")  # https://x8k2p.publichost.dev
```

Need a custom subdomain?

```python
tunnel = Tunnel(port=3000, subdomain="myapp")
```

## Features

- 🚀 Single line to get public URL
- 🌐 Random or custom subdomains
- 💻 Works with any local web server

## License

MIT License - see LICENSE file for details.
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "publichost",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "development, localhost, networking, tunnel",
    "author": null,
    "author_email": "Spencer Kinney <email@spencerkinney.dev>",
    "download_url": "https://files.pythonhosted.org/packages/9a/b4/eef801eeec58ba03f8ab96255a56d1c4ab2830a7b9d272c90e8735c8fe2b/publichost-0.1.5.tar.gz",
    "platform": null,
    "description": "# PublicHost\n\nMake localhost public in one line.\n\n## Installation\n\n```bash\npip install publichost\n```\n\n## Usage\n\n```python\nfrom publichost import Tunnel\n\ntunnel = Tunnel(port=3000)\nprint(f\"Public URL: {tunnel}\")  # https://x8k2p.publichost.dev\n```\n\nNeed a custom subdomain?\n\n```python\ntunnel = Tunnel(port=3000, subdomain=\"myapp\")\n```\n\n## Features\n\n- \ud83d\ude80 Single line to get public URL\n- \ud83c\udf10 Random or custom subdomains\n- \ud83d\udcbb Works with any local web server\n\n## License\n\nMIT License - see LICENSE file for details.",
    "bugtrack_url": null,
    "license": "# LICENSE\n        MIT License\n        \n        Copyright (c) 2024 PublicHost\n        \n        Permission is hereby granted, free of charge, to any person obtaining a copy\n        of this software and associated documentation files (the \"Software\"), to deal\n        in the Software without restriction, including without limitation the rights\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n        copies of the Software, and to permit persons to whom the Software is\n        furnished to do so, subject to the following conditions:\n        \n        The above copyright notice and this permission notice shall be included in all\n        copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n        SOFTWARE.",
    "summary": "Make localhost public in one line",
    "version": "0.1.5",
    "project_urls": {
        "Documentation": "https://pypi.org/project/publichost",
        "Homepage": "https://publichost.dev"
    },
    "split_keywords": [
        "development",
        " localhost",
        " networking",
        " tunnel"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3d07e25ea228d7980f3654afb418f9f147e8912273085c1dd4ce24cd3a821c3a",
                "md5": "367cf5ab005cd27191e0d4d8f20eab1f",
                "sha256": "cfe186fe5e06047add83f49ff88d32f264de97e3a1f0d540fec6bfcbf0ea0686"
            },
            "downloads": -1,
            "filename": "publichost-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "367cf5ab005cd27191e0d4d8f20eab1f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7021,
            "upload_time": "2025-02-08T06:38:17",
            "upload_time_iso_8601": "2025-02-08T06:38:17.969760Z",
            "url": "https://files.pythonhosted.org/packages/3d/07/e25ea228d7980f3654afb418f9f147e8912273085c1dd4ce24cd3a821c3a/publichost-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9ab4eef801eeec58ba03f8ab96255a56d1c4ab2830a7b9d272c90e8735c8fe2b",
                "md5": "5cd0499a4cd8f226cf00caf71a7d107a",
                "sha256": "59bf0083b118b01a102047c4cc56cc3097b0ce71a9a160fecd5c4076211c34d9"
            },
            "downloads": -1,
            "filename": "publichost-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "5cd0499a4cd8f226cf00caf71a7d107a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6951,
            "upload_time": "2025-02-08T06:38:20",
            "upload_time_iso_8601": "2025-02-08T06:38:20.219795Z",
            "url": "https://files.pythonhosted.org/packages/9a/b4/eef801eeec58ba03f8ab96255a56d1c4ab2830a7b9d272c90e8735c8fe2b/publichost-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-08 06:38:20",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "publichost"
}
        
Elapsed time: 0.61867s