# tinyfilemanager-py **Repository Path**: alex-public-repos/tinyfilemanager-py ## Basic Information - **Project Name**: tinyfilemanager-py - **Description**: tinyfilemanager-py - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-14 - **Last Updated**: 2022-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TinyFileManager-Py TinyFileManager-Py 是 [TinyFileManager](https://github.com/prasathmani/tinyfilemanager) 的一个Python版本实现(实现了但是没有完全实现,缺少了一些非必要功能) **这个项目不是为了生产环境开发的.** 谨慎适用,后果自负。 ## 背景 Python自带的`http.server`满足不了我的需求了,而我又不会多少前端,所以我选择了一个 PHP实现的TinyFileManger然后改造为Python版本。 ## 安装 使用pip来进行安装 ```sh pip install tinyfilemanager-py ``` ## 用例 像使用`http.server`一样来用就好了 ```sh tinyfilemanager-py ``` 或者是 ```sh python -m tinyfilemanager-py ``` ### 改端口 ```sh tinyfilemanager-py 8888 ``` ### 改地址用`-b/--bind` ```sh tinyfilemanager-py --bind 127.0.0.1 ``` ### 改目录用`-d/--directory` ```sh tinyfilemanager-py --directory /tmp/ ``` ### 指定配置文件用`-c/--config` ```sh tinyfilemanager-py --config config.json ``` ## 实现的功能 因为我想要的是一个更好的`http.server`,而原项目`TinyFileManager`中有许多功能我感觉 并不是必要的,所以我就没有实现了。 已经实现的功能如下: - ## 相关的项目 - [TinyFileManager](https://github.com/prasathmani/tinyfilemanager) - [Python module http.server](https://github.com/python/cpython/blob/3.10/Lib/http/server.py) ## License - GNU license