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
- remove_list
- start
- remove
- load
- watch
- mkdir
- readdir
- rmdir
- unlink
- info
- create_read_stream
- create_write_stream
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.2.0.tar.gz
(18.1 kB
view details)
Built Distribution
File details
Details for the file dat-daemon-pyclient-0.2.0.tar.gz
.
File metadata
- Download URL: dat-daemon-pyclient-0.2.0.tar.gz
- Upload date:
- Size: 18.1 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 | 2845e9bafcf29fc04fa8dbc51fbbde60e22d034b6b5af658ef964af4de11a8de |
|
MD5 | 367ec0adc65f3bdbdaea51a3a6944172 |
|
BLAKE2b-256 | 1e7c4e208ae57dc89d30dbf8587df647aabc25d28c2597c88d3c893ea00ee2e4 |
File details
Details for the file dat_daemon_pyclient-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: dat_daemon_pyclient-0.2.0-py3-none-any.whl
- Upload date:
- Size: 66.2 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 | 074e3202d64798d37a15393e5098005e9c170171ee380eabe9adf3b32bea201a |
|
MD5 | 267420d1ce9fbcdec0ae889cdee1e666 |
|
BLAKE2b-256 | ec2564d1f35bc62d85b10d46b3bdad7d7ef5d5308da969ea4330e2c14e97d0a0 |