Skip to main content

pdrive

pdrive is a browser-based document and file manager based on Python 3 and React. 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.9.0

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.9.0
File Size Uploaded Provenance Actions
pdrive-0.9.0.tar.gz 133.1 kB Without provenance Details for pdrive-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pdrive 0.9.0
File Interpreter ABI Platform Actions
pdrive-0.9.0-py3-none-any.whl Python 3 none any Details for pdrive-0.9.0-py3-none-any.whl

Total release size: 222.3 kB

Release files / pdrive-0.9.0.tar.gz

Download URL pdrive-0.9.0.tar.gz
Size 133.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3690974a4a966e12ca74593f97a0f0ad71b22f615d350e8bff032ebe05a92706
BLAKE2b-256 checksum
How to use checksums
3b43fa097be38cd3e26b028ac76dc506502f77c6842aac8d78fc151bb7342d0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / pdrive-0.9.0-py3-none-any.whl

Download URL pdrive-0.9.0-py3-none-any.whl
Size 89.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e97fd0aee1da5da71b1c9c5e6a05025ad000c49b0342e62fbe94af702a137b55
BLAKE2b-256 checksum
How to use checksums
611c6ccc23b6f91fd56b49e56dfd681764a6c795fc6b6be8042db86899d3b1fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Security for pdrive 0.9.0

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.

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