{
"info": {
"author": "Matt Davis",
"author_email": "jiffyclub@gmail.com",
"bugtrack_url": null,
"classifiers": [
"License :: OSI Approved :: ISC License (ISCL)",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
],
"description": "T-Service\r\n=========\r\n\r\n.. image:: https://pypip.in/version/tservice/badge.svg\r\n :target: https://pypi.python.org/pypi/tservice/\r\n :alt: Latest Version\r\n\r\n.. image:: https://pypip.in/py_versions/tservice/badge.svg\r\n :target: https://pypi.python.org/pypi/tservice/\r\n :alt: Supported Python versions\r\n\r\n.. image:: https://pypip.in/wheel/tservice/badge.svg\r\n :target: https://pypi.python.org/pypi/tservice/\r\n :alt: Wheel Status\r\n\r\nT-Service is a tiny Python tool for starting a local static file server\r\nusing `Tornado `__.\r\nI use it for previewing sites before pushing them to\r\n`GitHub Pages `__.\r\n\r\nInstallation\r\n------------\r\n\r\nT-Service is on PyPI, install it with: ``pip install tservice``.\r\n\r\nUsage\r\n-----\r\n\r\nT-Service installs a command line utility called ``tserve``.\r\n``tserve`` has one required parameter:\r\nthe directory from which to serve files.\r\nFor example, to start the server from a directory called ``build``\r\nthat's in your current directory, use this command::\r\n\r\n tserve build\r\n\r\nThe server starts on port 8000 by default, so you can look for your\r\nsite at ``http://localhost:8000``.\r\n\r\nSpecifying a Port\r\n~~~~~~~~~~~~~~~~~\r\n\r\nIf port 8000 is in use, or you want to use a different port, use the\r\n``-p``/``--port`` flag::\r\n\r\n tserve --port 7654 build\r\n\r\nSpecifying a Prefix\r\n~~~~~~~~~~~~~~~~~~~\r\n\r\nIf you need to run the server so that it serves the files from some prefix\r\nuse the ``-f``/``--prefix`` flag::\r\n\r\n tserve --prefix myusername build\r\n\r\nThat will cause the files to be served from\r\n``http://localhost:8000/myusername/``.\r\n(You may need to do this so that the local site matches where your\r\nsite will be deployed, e.g. GitHub Pages or a university server.)\r\n\r\nStopping the Server\r\n~~~~~~~~~~~~~~~~~~~\r\n\r\nType ``control-C`` at the command line to stop the server.\r\n\r\nWhy Not Use Python's Server?\r\n----------------------------\r\n\r\nI've found I sometimes need to serve files with a prefix on the URL,\r\nand I don't know how to do that with Python's\r\n`builtin server `__.",
"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/jiffyclub/tservice",
"keywords": "",
"license": "UNKNOWN",
"maintainer": "",
"maintainer_email": "",
"name": "tservice",
"package_url": "https://pypi.org/project/tservice/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/tservice/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/jiffyclub/tservice"
},
"release_url": "https://pypi.org/project/tservice/1.0.0/",
"requires_dist": null,
"requires_python": null,
"summary": "Start a local Tornado static file server",
"version": "1.0.0"
},
"last_serial": 1453464,
"releases": {
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "cdfdd51a51c46d840c65302edabb6335",
"sha256": "7f5dc868859b9bb380d4f842aeaeb7ce603898d797ea6241e9c8009dcf8753e0"
},
"downloads": -1,
"filename": "tservice-1.0.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "cdfdd51a51c46d840c65302edabb6335",
"packagetype": "bdist_wheel",
"python_version": "any",
"requires_python": null,
"size": 5337,
"upload_time": "2015-03-08T05:55:36",
"url": "https://files.pythonhosted.org/packages/3f/31/38788006fc245bd4cf75c935fab0b1cd60da151eb1e5abb14a305eeb2fcf/tservice-1.0.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "7963a85a488fbb1e82a162c64bb2fe40",
"sha256": "71033eb88078ab678933ff23a77daab78ac42625b5307732711c2afd38678717"
},
"downloads": -1,
"filename": "tservice-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "7963a85a488fbb1e82a162c64bb2fe40",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6705,
"upload_time": "2015-03-08T05:55:48",
"url": "https://files.pythonhosted.org/packages/63/10/c7efd6b3761e8a63ca2418241906847e4062d7ed8d32714946981902b952/tservice-1.0.0.tar.gz"
},
{
"comment_text": "",
"digests": {
"md5": "da51d08b6ebc0e321522c7bff8685449",
"sha256": "41f4cb2931824e157d903add3927eb42767eb9258e4da2917f8e3a5a163e76cb"
},
"downloads": -1,
"filename": "tservice-1.0.0.zip",
"has_sig": false,
"md5_digest": "da51d08b6ebc0e321522c7bff8685449",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10730,
"upload_time": "2015-03-08T05:56:01",
"url": "https://files.pythonhosted.org/packages/b8/f0/11c16fc08d7a42a55d1d78e6ee9ad03decb6359fa94edc2215b1f1bb3876/tservice-1.0.0.zip"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "cdfdd51a51c46d840c65302edabb6335",
"sha256": "7f5dc868859b9bb380d4f842aeaeb7ce603898d797ea6241e9c8009dcf8753e0"
},
"downloads": -1,
"filename": "tservice-1.0.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "cdfdd51a51c46d840c65302edabb6335",
"packagetype": "bdist_wheel",
"python_version": "any",
"requires_python": null,
"size": 5337,
"upload_time": "2015-03-08T05:55:36",
"url": "https://files.pythonhosted.org/packages/3f/31/38788006fc245bd4cf75c935fab0b1cd60da151eb1e5abb14a305eeb2fcf/tservice-1.0.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "7963a85a488fbb1e82a162c64bb2fe40",
"sha256": "71033eb88078ab678933ff23a77daab78ac42625b5307732711c2afd38678717"
},
"downloads": -1,
"filename": "tservice-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "7963a85a488fbb1e82a162c64bb2fe40",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6705,
"upload_time": "2015-03-08T05:55:48",
"url": "https://files.pythonhosted.org/packages/63/10/c7efd6b3761e8a63ca2418241906847e4062d7ed8d32714946981902b952/tservice-1.0.0.tar.gz"
},
{
"comment_text": "",
"digests": {
"md5": "da51d08b6ebc0e321522c7bff8685449",
"sha256": "41f4cb2931824e157d903add3927eb42767eb9258e4da2917f8e3a5a163e76cb"
},
"downloads": -1,
"filename": "tservice-1.0.0.zip",
"has_sig": false,
"md5_digest": "da51d08b6ebc0e321522c7bff8685449",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10730,
"upload_time": "2015-03-08T05:56:01",
"url": "https://files.pythonhosted.org/packages/b8/f0/11c16fc08d7a42a55d1d78e6ee9ad03decb6359fa94edc2215b1f1bb3876/tservice-1.0.0.zip"
}
]
}