HTTPServerPY


NameHTTPServerPY JSON
Version 0.0.2 PyPI version JSON
download
home_page
SummaryHTTP Server Py
upload_time2023-01-26 11:41:29
maintainer
docs_urlNone
author
requires_python>=3.7
license
keywords client hyperdb in-memory
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            HTTPServerPY
=======

Author: **[Moin Khan](https://github.com/mo-inkhan)**


# HTTPServerPY: A lightweight static HTTP server written in Python

## Introduction

`HTTPServerPY` is a simple, zero-configuration command-line static HTTP server.

## Installation:

#### Globally via `pip`

    pip install HTTPServerPY

This will install `HTTPServerPY` globally so that it may be run from the command line anywhere.

## Usage:

    py -m HTTPServerPY [host] [port] [path] [options]

`[host]` defaults localhost | 0.0.0.0.
`[port]` defaults 8000.
`[path]` defaults to the current directory `./`.

*Now you can visit http://localhost:8080 to view your server*

## Available Options:

| Command         | 	Description         | Defaults  |
| -------------  |-------------|-------------|------|
|`-p` or `--port` |Port to use. Use `-p=8080` to serve at 8080 port| 8000 |
|`-h` or `--host` |Host to use. Use `-h=0.0.0.0` to serve at localhost | 0.0.0.0 |
|`-pth` or `--path` |Path to serve from. Use `--path=./my_folder` to serve from `my_folder` present in current folder| ./ |

## Magic Files

- `index.html` will be served as the default file to any directory requests.
- `404.html` will be served if a file is not found.
- `405.html` will be served if a requested method is not supported.

*Now you can visit http://localhost:8080 to view your server*

---

## Contributing
All contributions are welcome. Please create an issue first for any feature request
or bug. Then fork the repository, create a branch and make any changes to fix the bug
or add the feature and create a pull request. That's it!
Thanks!

---

## License
**HTTPServerPY** is released under the MIT License.
Check out the full license [here](LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "HTTPServerPY",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "client,hyperdb,in-memory",
    "author": "",
    "author_email": "Moin Khan <mo.inkhan@aol.com>",
    "download_url": "https://files.pythonhosted.org/packages/e9/e5/2cff2e0811be6b6d610558051555a412638bd1a44ddafc55dd3a8cd5dba2/httpserverpy-0.0.2.tar.gz",
    "platform": null,
    "description": "HTTPServerPY\n=======\n\nAuthor: **[Moin Khan](https://github.com/mo-inkhan)**\n\n\n# HTTPServerPY: A lightweight static HTTP server written in Python\n\n## Introduction\n\n`HTTPServerPY` is a simple, zero-configuration command-line static HTTP server.\n\n## Installation:\n\n#### Globally via `pip`\n\n    pip install HTTPServerPY\n\nThis will install `HTTPServerPY` globally so that it may be run from the command line anywhere.\n\n## Usage:\n\n    py -m HTTPServerPY [host] [port] [path] [options]\n\n`[host]` defaults localhost | 0.0.0.0.\n`[port]` defaults 8000.\n`[path]` defaults to the current directory `./`.\n\n*Now you can visit http://localhost:8080 to view your server*\n\n## Available Options:\n\n| Command         | \tDescription         | Defaults  |\n| -------------  |-------------|-------------|------|\n|`-p` or `--port` |Port to use. Use `-p=8080` to serve at 8080 port| 8000 |\n|`-h` or `--host` |Host to use. Use `-h=0.0.0.0` to serve at localhost | 0.0.0.0 |\n|`-pth` or `--path` |Path to serve from. Use `--path=./my_folder` to serve from `my_folder` present in current folder| ./ |\n\n## Magic Files\n\n- `index.html` will be served as the default file to any directory requests.\n- `404.html` will be served if a file is not found.\n- `405.html` will be served if a requested method is not supported.\n\n*Now you can visit http://localhost:8080 to view your server*\n\n---\n\n## Contributing\nAll contributions are welcome. Please create an issue first for any feature request\nor bug. Then fork the repository, create a branch and make any changes to fix the bug\nor add the feature and create a pull request. That's it!\nThanks!\n\n---\n\n## License\n**HTTPServerPY** is released under the MIT License.\nCheck out the full license [here](LICENSE).\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "HTTP Server Py",
    "version": "0.0.2",
    "split_keywords": [
        "client",
        "hyperdb",
        "in-memory"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99b83c4c5420229dbee14da8821d06569daba260464384903c5c7a0e4dd69803",
                "md5": "386fc4d59e689dd20105e04f1ed5e86f",
                "sha256": "2be30d9e0c67610d830decc17b8aaabda74b58a03745564e6e81b00a3572f8d6"
            },
            "downloads": -1,
            "filename": "httpserverpy-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "386fc4d59e689dd20105e04f1ed5e86f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6582,
            "upload_time": "2023-01-26T11:41:27",
            "upload_time_iso_8601": "2023-01-26T11:41:27.198062Z",
            "url": "https://files.pythonhosted.org/packages/99/b8/3c4c5420229dbee14da8821d06569daba260464384903c5c7a0e4dd69803/httpserverpy-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e9e52cff2e0811be6b6d610558051555a412638bd1a44ddafc55dd3a8cd5dba2",
                "md5": "e8b3c184ce8fca7f896d1fc445bb34c1",
                "sha256": "99583f3377d31855894db8fdef55f28292c409f60a0b19b33d8e15268841026d"
            },
            "downloads": -1,
            "filename": "httpserverpy-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e8b3c184ce8fca7f896d1fc445bb34c1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5893,
            "upload_time": "2023-01-26T11:41:29",
            "upload_time_iso_8601": "2023-01-26T11:41:29.543528Z",
            "url": "https://files.pythonhosted.org/packages/e9/e5/2cff2e0811be6b6d610558051555a412638bd1a44ddafc55dd3a8cd5dba2/httpserverpy-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-26 11:41:29",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "httpserverpy"
}
        
Elapsed time: 0.03541s