{ "info": { "author": "Wes Turner", "author_email": "wes@wrd.nu", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "===============================\npgs\n===============================\n\n.. .. image:: https://img.shields.io/travis/westurner/pgs.svg\n.. :target: https://travis-ci.org/westurner/pgs\n\n.. .. image:: https://img.shields.io/pypi/v/pgs.svg\n.. :target: https://pypi.python.org/pypi/pgs\n\nA bottle webapp for serving static files from a git branch,\nor from the local filesystem.\n\n* Free software: MIT license\n* Source: https://github.com/westurner/pgs\n\n\nFeatures\n--------\n\n* [x] Serve static files from a filesystem directory\n* [x] Serve static files from a git branch,\n with Last-Modified headers according to git timestamps\n* [x] Guess MIME-types from paths\n* [x] subprocess bindings to ``git cat-file`` and ``git show``\n* [ ] dulwich\n* [ ] pygit2\n\n\nUsage\n------\n\nServe ``/var/www/html`` from http://localhost:8082/\n\n.. code:: bash\n\n pgs -p /var/www/html\n\nServe the ``gh-pages`` branch of this repo from http://localhost:8083\n\n.. code:: bash\n\n pgs -g $VIRTUAL_ENV/src/pgs -r gh-pages -P 8083\n\n\nFurther Usage:\n\n.. code:: bash\n\n $ pgs --help\n Usage: pgs [-p ] [-g ] [-r ]\n\n Serve a directory or a git revision over HTTP with Bottle, WSGI, MIME types,\n and Last-Modified headers\n\n Options:\n -h, --help show this help message and exit\n -p ROOT_FILEPATH, --path=ROOT_FILEPATH, --root_filepath=ROOT_FILEPATH\n -g GIT_REPO_PATH, --git=GIT_REPO_PATH\n Path to git repo to serve files from\n -r GIT_REPO_REV, --rev=GIT_REPO_REV\n Git repo revision (commit hash, branch, tag)\n -H HOST, --host=HOST \n -P PORT, --port=PORT \n --debug set bottle debug=False\n --reload set bottle reload=False\n -v, --verbose \n -q, --quiet \n -t, --test\n\n\nCaveat Emptor\n---------------\n* Upstream caching would be necessary for all but the most local use\n cases\n* True git bindings would likely do less buffering of\n ``subprocess.check_output``\n\n\nHistory\n---------\n\n\ndevelop (2018-02-10 16:49:59 -0500)\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n::\n\n git log --reverse --pretty=format:'* %s [%h]' v0.1.3..develop\n\n* MRG: Merge tag 'v0.1.3' into develop \\[587b2ae\\]\n* DOC: HISTORY.rst: git-changelog.py --develop \\[141d436\\]\n\n\nv0.1.3 (2018-02-10 16:39:21 -0500)\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n::\n\n git log --reverse --pretty=format:'* %s [%h]' v0.1.2..v0.1.3\n\n* Merge tag 'v0.1.2' into develop \\[f0d9ad0\\]\n* DOC: setup.py: BSD License -> MIT License \\[7744a0a\\]\n* DOC: setup.py: description \\[905ff64\\]\n* MRG: Merge branch 'master' of ssh://github.com/westurner/pgs into release/0.1.3 \\[82f3ab9\\]\n* DOC: __init__.py, setup.py: v0.1.3, rm email \\[3945696\\]\n* MRG: Merge branch 'release/0.1.3' \\[c8b3b9e\\]\n\n\nv0.1.2 (2015-04-17 08:26:35 -0500)\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n::\n\n git log --reverse --pretty=format:'* %s [%h]' v0.1.1..v0.1.2\n\n* BLD: requirements.txt: comment out bottle requirement \\[e1416df\\]\n* BLD: setup.py: codecs.open(encoding='UTF8') \\[75edc38\\]\n* TST: tests/www \\[b332875\\]\n* BUG,TST,REF: unit tests, WebTest WSGI tests \\[f08480d\\]\n* RLS: setup.py, __init__.py: version=0.1.2 \\[2edc3a4\\]\n* Merge branch 'release/0.1.2' \\[0bf19d3\\]\n\n\nv0.1.1 (2015-04-16 19:45:18 -0500)\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n::\n\n git log --reverse --pretty=format:'* %s [%h]' 148d848..v0.1.1\n\n* BLD: app.py, bottle.py: import bottle.py, static files w/ try files .html \\[eed09fc\\]\n* TODO: ENH: add \\*FS objects \\[e80d75e\\]\n* ENH: app.py: host a git branch/revision/tag over HTTP \\[3487e53\\]\n* Initial commit \\[f124283\\]\n* Merge branch 'master' of ssh://github.com/westurner/pygitpages \\[69b278c\\]\n* DOC,CLN: pygitpages.py/app.py \\[552017e\\]\n* BLD: cookiecutter gh:audreyr/cookiecutter-pypackage \\[d791e95\\]\n* Merge pgs cookiecutter \\[13edcb9\\]\n* REF: pygitpages/app.py, bottle.py -> pgs/ \\[1f9ce1d\\]\n* CLN: rm pygitpages/ \\[2ab456e\\]\n* DOC: app.py: pgs, description \\[d4d46af\\]\n* BLD: requirements.txt: add 'bottle' (though it is also vendored) \\[c224ef1\\]\n* BLD: setup.py: add pgs console_script entry_point to pgs.app:main \\[01848bd\\]\n* REF: pygitpages -> pgs \\[1a781af\\]\n* DOC: README.rst, app.py: usage, features \\[259bd0c\\]\n* DOC: README.rst: RST formatting \\[8beee37\\]\n* DOC: README.rst: Caveat Emptor \\[ec590d1\\]\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/westurner/pgs", "keywords": "pgs", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "pgs", "package_url": "https://pypi.org/project/pgs/", "platform": "", "project_url": "https://pypi.org/project/pgs/", "project_urls": { "Homepage": "https://github.com/westurner/pgs" }, "release_url": "https://pypi.org/project/pgs/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "A bottle webapp for serving static files from a git branch, or from the local filesystem.", "version": "0.1.4" }, "last_serial": 3570683, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "7d97715c52264b807dd9745df42d74b2", "sha256": "97c923d596aa17b3296f847d2619a2009e6f604a021985939aa773568b1c3907" }, "downloads": -1, "filename": "pgs-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7d97715c52264b807dd9745df42d74b2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 52424, "upload_time": "2015-04-17T13:28:42", "url": "https://files.pythonhosted.org/packages/e3/42/f8f4923e6611fca12e0095d31562585abd03d1bf15143fd417858e56d78a/pgs-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa3094ce42c938a491f1918ef0daaefa", "sha256": "59ad5285aa7e04690d262280cfee226ff1c36c57e7f1be9850d1df3a9748a8fc" }, "downloads": -1, "filename": "pgs-0.1.2.tar.gz", "has_sig": false, "md5_digest": "aa3094ce42c938a491f1918ef0daaefa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60032, "upload_time": "2015-04-17T13:28:46", "url": "https://files.pythonhosted.org/packages/15/33/0b8b4771b67e0c1977e35d169d0634b57954e01424fbb74db9cc75f92b16/pgs-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "03cfdb47587dae2f9fa1b0d65cba43dd", "sha256": "a0eb95c6c063762a2c1e7053c1b84e2566e302284b5e20eca055b2e1091b3210" }, "downloads": -1, "filename": "pgs-0.1.3.tar.gz", "has_sig": false, "md5_digest": "03cfdb47587dae2f9fa1b0d65cba43dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61678, "upload_time": "2018-02-10T21:43:49", "url": "https://files.pythonhosted.org/packages/ab/a0/69d4f4f7914581585c77c29e21f984119059a41462b642c8a325a994524c/pgs-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "b4ad984c8ebd8912c5d61e9001dda937", "sha256": "b91867f84e5e9255fe5cfd32d5531e82dfbe1160cc5768247adfd337eeaff5ba" }, "downloads": -1, "filename": "pgs-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b4ad984c8ebd8912c5d61e9001dda937", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 54261, "upload_time": "2018-02-10T21:54:29", "url": "https://files.pythonhosted.org/packages/83/f1/bcbbf78a12ceab88ef11f46171c5a58c49991d959d39a4843ee24ea34378/pgs-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a80b74fe182deede71b04ee46c551c41", "sha256": "66f021f8357073a26eea6b4a9f55ab210d8624ca19b4923aff580f62332e19f6" }, "downloads": -1, "filename": "pgs-0.1.4.tar.gz", "has_sig": false, "md5_digest": "a80b74fe182deede71b04ee46c551c41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63608, "upload_time": "2018-02-10T21:54:31", "url": "https://files.pythonhosted.org/packages/fc/8f/f3420709b35d7e47f12ad0f4b8c182b01739a0b60f3889a70f469585b0ed/pgs-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b4ad984c8ebd8912c5d61e9001dda937", "sha256": "b91867f84e5e9255fe5cfd32d5531e82dfbe1160cc5768247adfd337eeaff5ba" }, "downloads": -1, "filename": "pgs-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b4ad984c8ebd8912c5d61e9001dda937", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 54261, "upload_time": "2018-02-10T21:54:29", "url": "https://files.pythonhosted.org/packages/83/f1/bcbbf78a12ceab88ef11f46171c5a58c49991d959d39a4843ee24ea34378/pgs-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a80b74fe182deede71b04ee46c551c41", "sha256": "66f021f8357073a26eea6b4a9f55ab210d8624ca19b4923aff580f62332e19f6" }, "downloads": -1, "filename": "pgs-0.1.4.tar.gz", "has_sig": false, "md5_digest": "a80b74fe182deede71b04ee46c551c41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63608, "upload_time": "2018-02-10T21:54:31", "url": "https://files.pythonhosted.org/packages/fc/8f/f3420709b35d7e47f12ad0f4b8c182b01739a0b60f3889a70f469585b0ed/pgs-0.1.4.tar.gz" } ] }