{ "info": { "author": "Felipe A. Hernandez", "author_email": "ergoithz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "browsepy\n========\n\n.. image:: http://img.shields.io/travis/ergoithz/browsepy/master.svg?style=flat-square\n :target: https://travis-ci.org/ergoithz/browsepy\n :alt: Travis-CI badge\n\n.. image:: https://img.shields.io/appveyor/ci/ergoithz/browsepy/master.svg?style=flat-square\n :target: https://ci.appveyor.com/project/ergoithz/browsepy/branch/master\n :alt: AppVeyor badge\n\n.. image:: http://img.shields.io/coveralls/ergoithz/browsepy/master.svg?style=flat-square\n :target: https://coveralls.io/r/ergoithz/browsepy?branch=master\n :alt: Coveralls badge\n\n.. image:: https://img.shields.io/codacy/grade/e27821fb6289410b8f58338c7e0bc686/master.svg?style=flat-square\n :target: https://www.codacy.com/app/ergoithz/browsepy/dashboard?bid=4246124\n :alt: Codacy badge\n\n.. image:: http://img.shields.io/pypi/l/browsepy.svg?style=flat-square\n :target: https://pypi.python.org/pypi/browsepy/\n :alt: License: MIT\n\n.. image:: http://img.shields.io/pypi/v/browsepy.svg?style=flat-square\n :target: https://pypi.python.org/pypi/browsepy/\n :alt: Version: 0.5.6\n\n.. image:: https://img.shields.io/badge/python-2.7%2B%2C%203.3%2B-FFC100.svg?style=flat-square\n :target: https://pypi.python.org/pypi/browsepy/\n :alt: Python 2.7+, 3.3+\n\nThe simple web file browser.\n\nDocumentation\n-------------\n\nHead to http://ergoithz.github.io/browsepy/ for an online version of current\n*master* documentation,\n\nYou can also build yourself from sphinx sources using the documentation\n`Makefile` located at `docs` directory.\n\nScreenshots\n-----------\n\n.. image:: https://raw.githubusercontent.com/ergoithz/browsepy/master/doc/screenshot.0.3.1-0.png\n :target: https://raw.githubusercontent.com/ergoithz/browsepy/master/doc/screenshot.0.3.1-0.png\n :alt: Screenshot of directory with enabled remove\n\nFeatures\n--------\n\n* **Simple**, like Python's SimpleHTTPServer or Apache's Directory Listing.\n* **Downloadable directories**, streaming directory tarballs on the fly.\n* **Optional remove** for files under given path.\n* **Optional upload** for directories under given path.\n* **Player** audio player plugin is provided (without transcoding).\n\nNew in 0.5\n----------\n\n* File and plugin APIs have been fully reworked making them more complete and\n extensible, so they can be considered stable now. As a side-effect backward\n compatibility on some edge cases could be broken (please fill an issue if\n your code is affected).\n\n * Old widget API have been deprecated and warnings will be shown if used.\n * Widget registration in a single call (passing a widget instances is still\n available though), no more action-widget duality.\n * Callable-based widget filtering (no longer limited to mimetypes).\n * A raw HTML widget for maximum flexibility.\n\n* Plugins can register command-line arguments now.\n* Player plugin is now able to load `m3u` and `pls` playlists, and optionally\n play everything on a directory (adding a command-line argument).\n* Browsing now takes full advantage of `scandir` (already in Python 3.5 and an\n external dependency for older versions) providing faster directory listing.\n* Custom file ordering while browsing directories.\n* Easy multi-file uploads.\n* Jinja2 template output minification, saving those precious bytes.\n* Setup script now registers a proper `browsepy` command.\n\nInstall\n-------\n\nIt's on `pypi` so...\n\n.. _pypi: https://pypi.python.org/pypi/browsepy/\n\n.. code-block:: bash\n\n pip install browsepy\n\n\nYou can get the development version from our `github repository`.\n\n.. _github repository: https://github.com/ergoithz/browsepy\n\n.. code-block:: bash\n\n pip install git+https://github.com/ergoithz/browsepy.git\n\n\nUsage\n-----\n\nServing $HOME/shared to all addresses\n\n.. code-block:: bash\n\n browsepy 0.0.0.0 8080 --directory $HOME/shared\n\nShowing help\n\n.. code-block:: bash\n\n browsepy --help\n\nShowing help including player plugin arguments\n\n.. code-block:: bash\n\n browsepy --plugin=player --help\n\nThis examples assume python's `bin` directory is in `PATH`, otherwise try\nreplacing `browsepy` with `python -m browsepy`.\n\nCommand-line arguments\n----------------------\n\nThis is what is printed when you run `browsepy --help`, keep in mind that\nplugins (loaded with `plugin` argument) could add extra arguments to this list.\n\n::\n\n usage: browsepy [-h] [--directory PATH] [--initial PATH] [--removable PATH]\n [--upload PATH] [--exclude PATTERN] [--exclude-from PATH]\n [--plugin MODULE]\n [host] [port]\n\n positional arguments:\n host address to listen (default: 127.0.0.1)\n port port to listen (default: 8080)\n\n optional arguments:\n -h, --help show this help message and exit\n --directory PATH serving directory (default: current path)\n --initial PATH default directory (default: same as --directory)\n --removable PATH base directory allowing remove (default: none)\n --upload PATH base directory allowing upload (default: none)\n --exclude PATTERN exclude paths by pattern (multiple)\n --exclude-from PATH exclude paths by pattern file (multiple)\n --plugin MODULE load plugin module (multiple)\n\n\nUsing as library\n----------------\n\nIt's a python module, so you can import **browsepy**, mount **app**, and serve\nit (it's `WSGI`_ compliant) using\nyour preferred server.\n\nBrowsepy is a Flask application, so it can be served along with any `WSGI`_ app\njust setting **APPLICATION_ROOT** in **browsepy.app** config to browsepy prefix\nurl, and mounting **browsepy.app** on the appropriate parent\n*url-resolver*/*router*.\n\n.. _WSGI: https://www.python.org/dev/peps/pep-0333/\n\nBrowsepy app config (available at :attr:`browsepy.app.config`) uses the\nfollowing configuration options.\n\n* **directory_base**: anything under this directory will be served,\n defaults to current path.\n* **directory_start**: directory will be served when accessing root URL\n* **directory_remove**: file removing will be available under this path,\n defaults to **None**.\n* **directory_upload**: file upload will be available under this path,\n defaults to **None**.\n* **directory_tar_buffsize**, directory tar streaming buffer size,\n defaults to **262144** and must be multiple of 512.\n* **directory_downloadable** whether enable directory download or not,\n defaults to **True**.\n* **use_binary_multiples** whether use binary units (bi-bytes, like KiB)\n instead of common ones (bytes, like KB), defaults to **True**.\n* **plugin_modules** list of module names (absolute or relative to\n plugin_namespaces) will be loaded.\n* **plugin_namespaces** prefixes for module names listed at plugin_modules\n where relative plugin_modules are searched.\n* **exclude_fnc** function will be used to exclude files from listing and directory tarballs. Can be either None or function receiving an absolute path and returning a boolean.\n\nAfter editing `plugin_modules` value, plugin manager (available at module\nplugin_manager and app.extensions['plugin_manager']) should be reloaded using\nthe `reload` method.\n\nThe other way of loading a plugin programmatically is calling plugin manager's\n`load_plugin` method.\n\nExtend via plugin API\n---------------------\n\nStarting from version 0.4.0, browsepy is extensible via plugins. A functional\n'player' plugin is provided as example, and some more are planned.\n\nPlugins can add HTML content to browsepy's browsing view, using some\nconvenience abstraction for already used elements like external stylesheet and\njavascript tags, links, buttons and file upload.\n\nMore information at http://ergoithz.github.io/browsepy/plugins.html\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/ergoithz/browsepy/archive/0.5.6.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ergoithz/browsepy", "keywords": "web", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "browsepy", "package_url": "https://pypi.org/project/browsepy/", "platform": "any", "project_url": "https://pypi.org/project/browsepy/", "project_urls": { "Download": "https://github.com/ergoithz/browsepy/archive/0.5.6.tar.gz", "Homepage": "https://github.com/ergoithz/browsepy" }, "release_url": "https://pypi.org/project/browsepy/0.5.6/", "requires_dist": null, "requires_python": "", "summary": "Simple web file browser", "version": "0.5.6" }, "last_serial": 3162166, "releases": { "0.3.3": [], "0.3.4": [ { "comment_text": "", "digests": { "md5": "f6e7c44afdf542fa272db4a5965e9101", "sha256": "75d9e67a168b18f919034fab31fa188f8f549949b35e9148cbba1d3091a2508f" }, "downloads": -1, "filename": "browsepy-0.3.4.tar.gz", "has_sig": false, "md5_digest": "f6e7c44afdf542fa272db4a5965e9101", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8388, "upload_time": "2015-05-27T15:09:36", "url": "https://files.pythonhosted.org/packages/a8/86/089a8daa27c3c6eb4f3b993a84cf369025644c873d0fca993f5e5e429ef8/browsepy-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "0237174677b9450f8ba97bd4a879466d", "sha256": "dbe20d496dbd4307d7b4031224b2bd129e85ca3a027a78c8e49ec6797577b0c1" }, "downloads": -1, "filename": "browsepy-0.3.5.tar.gz", "has_sig": false, "md5_digest": "0237174677b9450f8ba97bd4a879466d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8535, "upload_time": "2015-05-27T15:22:33", "url": "https://files.pythonhosted.org/packages/26/f4/accd393dabe9aecaf46632956d5f4c062c49deee9744ff61843dffa5c447/browsepy-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "f34bc8b70728878f2d728fbd8619f880", "sha256": "df26d1f58d9ee3142d7e6df828451c31377a911fe5073d897e925287fecc27fc" }, "downloads": -1, "filename": "browsepy-0.3.6.tar.gz", "has_sig": false, "md5_digest": "f34bc8b70728878f2d728fbd8619f880", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9809, "upload_time": "2015-06-09T17:54:17", "url": "https://files.pythonhosted.org/packages/8a/eb/929ecd8545223e28ab6100a8e37393ef2da5c14d470314f75ea90b411ac1/browsepy-0.3.6.tar.gz" } ], "0.3.8": [ { "comment_text": "", "digests": { "md5": "10bb3b10eb70989d5d43d8a0682fa6d7", "sha256": "ac3ceb1d88b974a93dfae7301c313b70c5b483a784aeaac5290872d98aebac95" }, "downloads": -1, "filename": "browsepy-0.3.8.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "10bb3b10eb70989d5d43d8a0682fa6d7", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 41624, "upload_time": "2015-11-04T10:35:23", "url": "https://files.pythonhosted.org/packages/27/68/8b6fc71499034bc1987b55727dbd57e32516834bcbdaed91a6e076887d6e/browsepy-0.3.8.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "90289167de7996e161d8f2fcea834890", "sha256": "312fba4656427fcaa85b605cd44fe195c98e4aa9fc3bcad635fe31352f8f9310" }, "downloads": -1, "filename": "browsepy-0.3.8.3.tar.gz", "has_sig": false, "md5_digest": "90289167de7996e161d8f2fcea834890", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40863, "upload_time": "2015-11-04T10:35:10", "url": "https://files.pythonhosted.org/packages/c3/ef/d22ce83f933d811923fcdf10a77720026515091ba111f9709ec54488eb51/browsepy-0.3.8.3.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "4887b60e67e8ee3b6e571b2e2ff7ca57", "sha256": "149f5f8ecf1307cbb897ad14765ff79a34fe8b0fc18b840be8c1a6e91ad5f9f2" }, "downloads": -1, "filename": "browsepy-0.4.0.tar.gz", "has_sig": false, "md5_digest": "4887b60e67e8ee3b6e571b2e2ff7ca57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 157733, "upload_time": "2016-01-31T16:57:24", "url": "https://files.pythonhosted.org/packages/82/c1/fab3f385c9ce8bd152d8247f5c1e67e07eac2917b4da6a73359ef1297749/browsepy-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "ad19ca6d61234ef007348d0d59690293", "sha256": "904ba14026283d91c7cc2c5f7fac91688dc76cf8de1674d2079e6b4171d50ba3" }, "downloads": -1, "filename": "browsepy-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ad19ca6d61234ef007348d0d59690293", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 216256, "upload_time": "2016-11-24T17:15:28", "url": "https://files.pythonhosted.org/packages/89/ce/ec75bd35c64c6f74b751dd7ae28949d3bdbf8d4bc7e86da4582bae878f16/browsepy-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1d53c12be729534a862422d0f8b729cc", "sha256": "07490df3cd9495779c831e75ac4f57502d084ba15e629a6702a619e6edf6ec01" }, "downloads": -1, "filename": "browsepy-0.5.0.tar.gz", "has_sig": false, "md5_digest": "1d53c12be729534a862422d0f8b729cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 201089, "upload_time": "2016-11-24T17:15:32", "url": "https://files.pythonhosted.org/packages/de/2e/20c78d8f51818f3e524f42ca2804f5b302d4dc91b1ada1fd4245486c33b5/browsepy-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "f9a18821e12cbe7cdacd0b42410309fb", "sha256": "832383a7b211221bc74130807799041c88e4accc61b8facb38e27385b5002475" }, "downloads": -1, "filename": "browsepy-0.5.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f9a18821e12cbe7cdacd0b42410309fb", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 216510, "upload_time": "2016-11-28T13:23:24", "url": "https://files.pythonhosted.org/packages/27/d8/7bdfd1cdab4028b0feedaa533aac2cb0c9acac20bb464c560ec3cf9a9302/browsepy-0.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bcf14a7bad419e12514571b8d0cc2bef", "sha256": "d6e6afb59f6d7766d7eb29471c28f930fafa89822336fb3da8f5920c348c2366" }, "downloads": -1, "filename": "browsepy-0.5.1.tar.gz", "has_sig": false, "md5_digest": "bcf14a7bad419e12514571b8d0cc2bef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 201399, "upload_time": "2016-11-28T13:23:28", "url": "https://files.pythonhosted.org/packages/25/2f/079b38bad13e7af3a936b5d14224e653a1aa39e9ea080c5aabae8ea2a1b7/browsepy-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "4bcef3a5a4aa8069bd312dac6651dee5", "sha256": "3eca0fe4e000283a8552f778b1fc2c41c71e40cf91f47b9c29987f2810f6b965" }, "downloads": -1, "filename": "browsepy-0.5.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4bcef3a5a4aa8069bd312dac6651dee5", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 216779, "upload_time": "2017-02-28T14:42:44", "url": "https://files.pythonhosted.org/packages/d4/34/c9c8bc6d778973b85a5968c528d0154cfbc886df30981ade2c4444fc6f5c/browsepy-0.5.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b2c5297df8e0620479aba8c8d808202", "sha256": "f3b73fc3258e4435cfa64ce062a03154ed53f10630ac0a0321fdfb33410d2f97" }, "downloads": -1, "filename": "browsepy-0.5.2.tar.gz", "has_sig": false, "md5_digest": "0b2c5297df8e0620479aba8c8d808202", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 200409, "upload_time": "2017-02-28T14:42:53", "url": "https://files.pythonhosted.org/packages/88/98/e683b386fd464db1bb8653441ca01f8e1828d69abf40a4daf2e6f520dc41/browsepy-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "ea9dceb0d009523aff1bdb7dfc3805cd", "sha256": "f18d7debcf22dd29045e73fbb1ddaa9ca69d7d6752e5c9a0fa36f45912133299" }, "downloads": -1, "filename": "browsepy-0.5.3.tar.gz", "has_sig": false, "md5_digest": "ea9dceb0d009523aff1bdb7dfc3805cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 207279, "upload_time": "2017-06-12T09:00:17", "url": "https://files.pythonhosted.org/packages/3b/14/0b54a9995bbed3bbaadd29a68d9ba15096001cc7a29a36ac4e8af61a70e1/browsepy-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "1c62db72940a55185158ffdaa787d67a", "sha256": "4a10f02aa23e83da1d7bd853c517159b393806a7fcb7933d9ea5d9606f6fabbe" }, "downloads": -1, "filename": "browsepy-0.5.4.tar.gz", "has_sig": false, "md5_digest": "1c62db72940a55185158ffdaa787d67a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 210852, "upload_time": "2017-07-30T18:56:41", "url": "https://files.pythonhosted.org/packages/00/1b/5f452b0e6ffa230d8a0e2e2b9dba2234f27dcd6b16d47bd992c26cfcad8c/browsepy-0.5.4.tar.gz" } ], "0.5.5": [ { "comment_text": "", "digests": { "md5": "cba14fdf41fa17fee237b7e759ffa3b4", "sha256": "a9e74c6f1af565cce18c0125959c04d9ac79d327af8ccea31ee71a57b7177e9f" }, "downloads": -1, "filename": "browsepy-0.5.5.tar.gz", "has_sig": false, "md5_digest": "cba14fdf41fa17fee237b7e759ffa3b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 213656, "upload_time": "2017-09-09T11:57:52", "url": "https://files.pythonhosted.org/packages/0e/33/0c800e8eae3d864f8da63e5b8189aaad3b40120b6dc44e410ab3001c793f/browsepy-0.5.5.tar.gz" } ], "0.5.6": [ { "comment_text": "", "digests": { "md5": "ec853cb94a6167dab8ddb2a22b880f24", "sha256": "09175480eebd04a716a9c823cc6c98a0e3f52072c457e6be4f97eed07ee14e87" }, "downloads": -1, "filename": "browsepy-0.5.6.tar.gz", "has_sig": false, "md5_digest": "ec853cb94a6167dab8ddb2a22b880f24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 213719, "upload_time": "2017-09-09T19:47:51", "url": "https://files.pythonhosted.org/packages/bd/37/e6ae66c52fb87156c8e34972db673d2c3f09180731c104d818d0888a19d8/browsepy-0.5.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec853cb94a6167dab8ddb2a22b880f24", "sha256": "09175480eebd04a716a9c823cc6c98a0e3f52072c457e6be4f97eed07ee14e87" }, "downloads": -1, "filename": "browsepy-0.5.6.tar.gz", "has_sig": false, "md5_digest": "ec853cb94a6167dab8ddb2a22b880f24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 213719, "upload_time": "2017-09-09T19:47:51", "url": "https://files.pythonhosted.org/packages/bd/37/e6ae66c52fb87156c8e34972db673d2c3f09180731c104d818d0888a19d8/browsepy-0.5.6.tar.gz" } ] }