a client for the dat-daemon
Project description
Dat daemon client
This is a Python client for the dat-daemon. It doesn't run it, but communicates with it, letting it share data in the background.
RFC for the dat daemon protocol is available at dat-daemon. It is not an official spec of the dat project (yet).
Installation
pip install dat-daemon-pyclient
Usage
from dat_daemon_pyclient import DatDaemonClient
client = DatDaemonClient(url='ws://localhost:8447').run()
dat = await client.add('/path/to/file_or_folder')
API
The client supports the following methods:
- list
- add
- removeList
- start
- remove
- load
- watch
- mkdir
- readdir
- rmdir
- unlink
- info
- createReadStream
- createWriteStream
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dat-daemon-pyclient-0.1.0.tar.gz
(18.2 kB
view details)
Built Distribution
File details
Details for the file dat-daemon-pyclient-0.1.0.tar.gz
.
File metadata
- Download URL: dat-daemon-pyclient-0.1.0.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.10 CPython/3.7.2 Linux/4.20.3-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17f7848986f752bc69f9daf9a3bd7a057d3d39b1dd57941b0abff54036442260 |
|
MD5 | ebb17c11e34867ad7cef90cbd9f1c8b1 |
|
BLAKE2b-256 | a85acf3490b07d2eb3725d7a60c925c1bb03fbe4aa5bcfda6151b580228c2bc4 |
File details
Details for the file dat_daemon_pyclient-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: dat_daemon_pyclient-0.1.0-py3-none-any.whl
- Upload date:
- Size: 67.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.10 CPython/3.7.2 Linux/4.20.3-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d4440c4b8413f95e454fca6c6772fbd3bfae7f7f73a08037b4a788d9083637 |
|
MD5 | 3823e643ea3faf591f42432491b85513 |
|
BLAKE2b-256 | 4e52e0708cf112c3852af49f1194afcc2cb6acac8aabdf942db28fdf5df292e9 |