Skip to main content

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.

pdrive

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

Metadata

Release files for pdrive 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdrive 0.8.2
File Size Uploaded
pdrive-0.8.2.tar.gz 426.1 kB Details

Release files / pdrive-0.8.2.tar.gz

Download URL pdrive-0.8.2.tar.gz
Size 426.1 kB
Tags Source
SHA-256 checksum
How to use checksums
68b14af78b6dd30f9f3062d0db870fcb68aa0bd6a8225b8e865dc9c337fb11bb
BLAKE2b-256 checksum
How to use checksums
8a377cc5818dd5c731fc2d7e7ba6d3f057c1c4ef63f184db474ada1eb4cf3355
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.12

Release history Release notifications | RSS feed

This release

0.8.2 This release

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.3

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.1

1 release file

0.6

1 release file

0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page