{ "info": { "author": "Carlos Jenkins", "author_email": "carlos@jenkins.co.cr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Utilities" ], "description": "======================\nDevelopment Web Server\n======================\n\nAbout\n=====\n\nThis is a small web server for development or sharing purposes.\nIt allows to serve through HTTP any directory in your machine.\nIt is based on Python famous `SimpleHTTPServer` and it only depends on a\nPython 2.7 interpreter and the standard library.\n\nIn contrast to ``SimpleHTTPServer`` this development web server:\n\n- Allows the serving folder can be passed as the first positional argument.\n Defaults to current directory.\n- Will respond with 404 if the serving folder is removed; instead of crashing.\n- Will return back to normal operation if the folder is recreated.\n Very useful with build systems that perform clean actions.\n- Bind IP can be specified in case security is a must while developing.\n\nAs with ``SimpleHTTPServer`` this web server can:\n\n- Specify binding port.\n- List directories.\n- Serve ``index.html`` or ``index.html`` automatically as the directory entry.\n\n\nInstallation\n============\n\n::\n\n pip install webdev\n\n\nUsage\n=====\n\n::\n\n $ webdev --help\n usage: webdev [-h] [-v] [--version] [-i IP] [-p PORT] [-f] [-r RANGE] [-u]\n [path]\n\n Development Web Server\n\n positional arguments:\n path Path to serve. Default: Current directory.\n\n optional arguments:\n -h, --help show this help message and exit\n -v, --verbose Increase verbosity level\n --version show program's version number and exit\n -i IP, --ip IP IP to bind to. Default: 0.0.0.0\n -p PORT, --port PORT Port to listen to. Default: 8080.\n -f, --force-port Force the use of the given port.\n -r RANGE, --range RANGE\n Number of ports to try from the base port\n -u, --future Ignore if the folder to server doesn't exists yet\n\n\nChangelog\n=========\n\n1.1.0\n-----\n\n**New**\n\n- Added support for Python 3 (issue #5).\n- Added support for incremental automatic port selection (issue #2).\n- Added the ``--future`` flag that allows the webserver to serve a non-existent\n folder, assuming it will be created in the future (issue #3).\n\n**Changed**\n\n- Ctrl+C is now handled (issue #4).\n\n\n1.0.0\n-----\n\n- Initial release.\n\n\nLicense\n=======\n\n::\n\n Copyright (C) 2015-2016 Carlos Jenkins \n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing,\n software distributed under the License is distributed on an\n \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n KIND, either express or implied. See the License for the\n specific language governing permissions and limitations\n under the License.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/carlos-jenkins/webdev", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "webdev", "package_url": "https://pypi.org/project/webdev/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/webdev/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/carlos-jenkins/webdev" }, "release_url": "https://pypi.org/project/webdev/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Small Development Web Server", "version": "1.1.0" }, "last_serial": 2023480, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "b855e261787df103e23907a0bcb8cee7", "sha256": "ad48ad25b358db1c5d35065f1e80d099b791a12a43cb946e18ec155f54312eff" }, "downloads": -1, "filename": "webdev-1.0.0.tar.gz", "has_sig": false, "md5_digest": "b855e261787df103e23907a0bcb8cee7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7610, "upload_time": "2015-09-01T12:31:53", "url": "https://files.pythonhosted.org/packages/e4/70/0b8c32d27b4402b75bc7611f7228e6b38c9731e8f6c4201a3d183e05fb09/webdev-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "bde572e7062be603a6236ce11196ef98", "sha256": "fd1cbd17b648f04b866332d17860612b1f9a6c4af485d8d9afc5985a50cbd0fd" }, "downloads": -1, "filename": "webdev-1.1.0.tar.gz", "has_sig": false, "md5_digest": "bde572e7062be603a6236ce11196ef98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8291, "upload_time": "2016-03-23T19:58:01", "url": "https://files.pythonhosted.org/packages/28/3d/83c3834dfb3bfc58c708ded0d8131ea8f7cc62ed37283853a66af320dcbd/webdev-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bde572e7062be603a6236ce11196ef98", "sha256": "fd1cbd17b648f04b866332d17860612b1f9a6c4af485d8d9afc5985a50cbd0fd" }, "downloads": -1, "filename": "webdev-1.1.0.tar.gz", "has_sig": false, "md5_digest": "bde572e7062be603a6236ce11196ef98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8291, "upload_time": "2016-03-23T19:58:01", "url": "https://files.pythonhosted.org/packages/28/3d/83c3834dfb3bfc58c708ded0d8131ea8f7cc62ed37283853a66af320dcbd/webdev-1.1.0.tar.gz" } ] }