Python API for interacting with a BOINC client via RPC
Project description
BOINC Client
Python native library for interacting with a BOINC client via RPC. This library has been designed to have consistent response types.
Usage
Setup
from boinc_client import Boinc
from boinc_client.clients.rpc_client import RpcClient
# Hostname or IP of the running BOINC client
BOINC_HOSTNAME = "192.168.0.2"
# Create an RPC client to connect to the BOINC socket
rpc_client = RpcClient(hostname=BOINC_HOSTNAME)
rpc_client.authenticate()
# Create a BOINC client to interact with the RPC socket
boinc_client = Boinc(rpc_client=rpc_client)
RPC Client options
The following options can be passed when creating an RpcClient
instance
Argument | Description | Required | Default |
---|---|---|---|
hostname |
Hostname or IP address of the BOINC client | Yes | None |
port |
Exposed port of the BOINC client | No | 31416 |
timeout |
Seconds to wait for a successful connection to the RPC socket | No | 30 |
password |
Password to authenticate to the BOINC client, required for most operations | No | None |
Boinc options
The following options can be passed when creating a Boinc
instance
Argument | Description | Required | Default |
---|---|---|---|
rpc_client |
Instance of a configured RpcClient | Yes | None |
Interacting with Boinc
Contributors
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
boinc_client-1.4.4.tar.gz
(24.0 kB
view hashes)
Built Distribution
Close
Hashes for boinc_client-1.4.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fabd511f4717e02f3a312e746cf45151d85f2dd5fa4da6b64261a2b029988964 |
|
MD5 | 7c398c4ddd4e671df0fa1b05887d632b |
|
BLAKE2b-256 | 47a55f94cb029b2fc13eedfdf6f98a1eccff2653744b8e0b6846a6d0ad54c8c8 |