filecho-0.1.6
توضیحات
A web server for serving static files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | filecho-0.1.6 |
| نام | filecho |
| نسخه کتابخانه | 0.1.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | jadbin.com |
| ایمیل نویسنده | jadbin.com@hotmail.com |
| آدرس صفحه اصلی | https://github.com/jadbin/filecho |
| آدرس اینترنتی | https://pypi.org/project/filecho/ |
| مجوز | Apache 2 |
filecho
=======
.. image:: https://img.shields.io/badge/license-Apache 2-blue.svg
:target: https://github.com/jadbin/filecho/blob/master/LICENSE
Overview
--------
A web server for serving static files based on `aiohttp`_.
Requirements
------------
- Python >= 3.5
- `aiohttp`_
.. _aiohttp: https://pypi.python.org/pypi/aiohttp
Installation
------------
You can install filecho from PyPI with:
::
$ pip install filecho
Usage
-----
Run web server with:
::
$ filecho -d DIR -p PORT --prefix PREFIX
where ``DIR`` is the root directory of static files, ``PORT`` is the serving port, ``PREFIX`` is the prefix of the request path.
The default serving port is ``80``.
By the way, you can view the help message for usage with:
::
$ filecho -h
نحوه نصب
نصب پکیج whl filecho-0.1.6:
pip install filecho-0.1.6.whl
نصب پکیج tar.gz filecho-0.1.6:
pip install filecho-0.1.6.tar.gz