A simple file manager
Project description
pdrive
pdrive is a browser-based document and file manager based on Python 3 and vue.js. If you need a quick way of browsing files on a remote server, this is the tool for you.
You can use it as a pretty alternative to python -m http.server
or as a simple interface into a remote network-attached-storage drive.
It's designed to combine the excellent usability of Google Drive with the benefits of having control over your own data.
installation
pip install pdrive
Usage
You can start a server for browsing or modifying a given directory with the following command
cd /path/to/my/directory
python -m pdrive
getting started
You can run pdrive by calling the python -m pdrive
command within a directory you want to explore. Once running, you can visit the web interface at http://127.0.0.1:9999
.
If you're running this on a remote server, you can use ssh port forwarding to access the web interface over an ssh connection:
ssh -N -L 9999:localhost:9999 your@host.com
SECURITY NOTE: pdrive will have all the same permissions to modify your file system as the user who started the program.
Documentation
usage: python -m pdrive [-h] [-H HOST] [-p PORT]
optional arguments:
-h, --help show this help message and exit
-H HOST, --host HOST
-p PORT, --port PORT
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
File details
Details for the file pdrive-0.8.2.tar.gz
.
File metadata
- Download URL: pdrive-0.8.2.tar.gz
- Upload date:
- Size: 426.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b14af78b6dd30f9f3062d0db870fcb68aa0bd6a8225b8e865dc9c337fb11bb |
|
MD5 | 1b3bd0fb1729e62a1599c0b09fc13940 |
|
BLAKE2b-256 | 8a377cc5818dd5c731fc2d7e7ba6d3f057c1c4ef63f184db474ada1eb4cf3355 |