Overview
The filebrowser-client is an async client CLI and library for the Filebrowser API.
Installation
The easiest way to install the filebrowser-client is to use pip:
pip3 install filebrowser-client
Features
- Download a remote file or a directory
- Upload a file or a directory to a remote location
- Delete a file or a directory from a remote location
Usage
The filebrowser-client provides a cli client and a library to interact with the Filebrowser API.
CLI
Run filebrowser-client --help to see the global options and the available commands.
filebrowser-client --help
Usage: filebrowser-client [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
download Download a file or a directory from a remote location
upload Upload a file or a directory to a remote location
delete Delete a file or a directory from a remote location
Library
import asyncio
from filebrowser_client import FilebrowserClient
client = FilebrowserClient("http://localhost:8080", "admin", "admin")
asyncio.run(client.connect())
asyncio.run(client.download("/path/to/file", "/path/to/destination"))
License
This project is licensed under the MIT License
Development
The filebrowser-client is developed using poetry and pre-commit.
Prerequisites
Setup
poetry install
pre-commit install
Build
poetry build
Metadata
Release files for filebrowser-client 0.1.0
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 | |
|---|---|---|---|---|
| filebrowser_client-0.1.0.tar.gz | 4.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| filebrowser_client-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / filebrowser_client-0.1.0.tar.gz
| Download URL | filebrowser_client-0.1.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b728f77f3ce2e502fa8d72ea1d7136e96e76264a25d9cd718c9687b3da90103
|
|
BLAKE2b-256 checksum How to use checksums |
62e224d5fc27662e753a8dfa798d42d0f29e2286eed2e948673c8a11b6ee82c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.7.15 Linux/5.4.0-131-generic
|
Release files / filebrowser_client-0.1.0-py3-none-any.whl
| Download URL | filebrowser_client-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55011b99596a9ae904c8b5f5a66cb8bf9ac7afed1260f20a89d0ceb8289b6bf3
|
|
BLAKE2b-256 checksum How to use checksums |
9b68059bb66195bcad8ba24cdb703af591738fe4c6c87b20d695ad644133b824
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.7.15 Linux/5.4.0-131-generic
|
Security for filebrowser-client 0.1.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.