Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

dat_daemon_pyclient-0.2.0-py3-none-any.whl (66.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page