Caddy file server in Python with many additional features!
Project description
pyup
Getting Started
- On the server host machine:
- Clone the repo:
git clone https://github.com/Alyetama/pyup.git
- Rename and update
.env:
mv .env.example .env
nano .env # or any other text editor
- Create a docker volume, then run the container:
docker volume create fileserver_mongodb_volume
docker-compose up -d
- Copy the
.envfile from the server host to the client machine (where you will upload from), then, run:
mv .env ~/.pyup
Install
pip install pyup
Basic Usage
usage: pyup [-h] [-d DOMAIN_NAME] [-k] [--overwrite] [-l] [--no-notifications] [-v {0,1,2,3,4,5}] [-p]
[--save-logs]
[files ...]
positional arguments:
files Files to upload
options:
-h, --help show this help message and exit
-d DOMAIN_NAME, --domain-name DOMAIN_NAME
The domain name to use for the URL
-k, --keep-name Keep the original file name
--overwrite Overwrite if name is kept and the file name already exists on the server
-l, --local-only Allow uploads from local IP addresses only
--no-notifications Suppress notifications (notifications are supported on macOS only)
-v {0,1,2,3,4,5}, --verbosity-level {0,1,2,3,4,5}
Set the logging verbosity level
-p, --parallel Upload files in parallel
--save-logs Save logs to a file
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyup-0.1.4.tar.gz
(6.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyup-0.1.4-py3-none-any.whl
(7.1 kB
view details)
File details
Details for the file pyup-0.1.4.tar.gz.
File metadata
- Download URL: pyup-0.1.4.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.5 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5dbdd7c0db975b73044d342ab14311c7c72f1ff6f152d4346077c8993ee845c
|
|
| MD5 |
17e4ee7ffdb2d1d2efeefda5e6d78b3e
|
|
| BLAKE2b-256 |
d8f47138eb93521b90718ed0d682acf2e40e3d4b192cc451bbbc350792cd8a56
|
File details
Details for the file pyup-0.1.4-py3-none-any.whl.
File metadata
- Download URL: pyup-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.5 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c2a0138cd5546b26e246239842e3cb05b11050ca5a24cae48866c14284b8028
|
|
| MD5 |
d5522d2f907cc1a21c066caf53f3f923
|
|
| BLAKE2b-256 |
764622887b02322193305674715d4cbd37dcd59eb6d0e7abdb0d7db253e75619
|