fserver
File Sharing Server implemented with flask and gevent
Install or Upgrade
$ pip install fserver -U
Usage
usage: fserver [-h] [-d] [-u] [-o] [-i IP] [-p PORT] [-r PATH] [-a PATH [PATH ...]] [-b PATH [PATH ...]] [-s STRING]
[-v] [-g] [--git_path GIT_PATH] [--username USERNAME] [--password PASSWORD]
optional arguments:
-h, --help show this help message and exit
-d, --debug run with debug mode
-u, --upload run with upload file function
-o, --override override mode for upload file
-i IP, --ip IP ip address for listening, default 0.0.0.0
-p PORT, --port PORT port for listening, default 2000
-r PATH, --root PATH root path for server, default current path
-a PATH [PATH ...], --allow PATH [PATH ...]
run with allow_list. Only [PATH ...] will be accessed
-b PATH [PATH ...], --block PATH [PATH ...]
run with block_list. [PATH ...] will not be accessed
-s STRING, --string STRING
share string only
-v, --version print version info
-g, --git open git http service for projections in root
--git_path GIT_PATH path for git executable file
--username USERNAME username for git authentication
--password PASSWORD password for git authentication
Matching Rule
argument for -a and -b support wildcards "*" and "**".
"*" match multiple arbitrary character in a file name or directory name.
"**" match arbitrary multi-Level directories.
example:
| */a2 | *1/a2 | b1/* | **/an | b1/** | |
|---|---|---|---|---|---|
| a1/a2 | yes | yes | |||
| a1/an | yes | ||||
| a1/a2/an | yes | ||||
| b1/a2 | yes | yes | yes | yes | |
| b1/a2/an | yes | yes |
License
Metadata
Release files for fserver 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fserver-0.2.tar.gz | 376.5 kB | Without provenance | Details for fserver-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fserver-0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for fserver-0.2-py2.py3-none-any.whl |
Total release size: 760.9 kB
Release files / fserver-0.2.tar.gz
| Download URL | fserver-0.2.tar.gz |
|---|---|
| Size | 376.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05d93e847bd10466cae0fe4834b85342fca561d3193155488e086a918c58c005
|
|
BLAKE2b-256 checksum How to use checksums |
8514ba094e02308f04772a795b01b6afe409cfe88efd815920a192ec9361efc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / fserver-0.2-py2.py3-none-any.whl
| Download URL | fserver-0.2-py2.py3-none-any.whl |
|---|---|
| Size | 384.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6bf50041445c003d6dc80995431b96e9c1058a3ce724fa8409d1374d30062df2
|
|
BLAKE2b-256 checksum How to use checksums |
4da9f70c4c173f2d6ba2da1175f867adfc768a39b67f8aa322cdaed46d7a5f58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Security for fserver 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.