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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file boinc_client-1.12.1.tar.gz.
File metadata
- Download URL: boinc_client-1.12.1.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.12 Linux/6.5.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
583c79e411beadc44cd05e40b3cc81649f0518d02c96156a12414a5e63a217df
|
|
| MD5 |
8fd430904e64ea6591627c6cb82e1720
|
|
| BLAKE2b-256 |
43c3749ecd9ee12ebeeb8369e92602c15fb6eecc3b0c1d149d000061e57a93aa
|
File details
Details for the file boinc_client-1.12.1-py3-none-any.whl.
File metadata
- Download URL: boinc_client-1.12.1-py3-none-any.whl
- Upload date:
- Size: 36.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.12 Linux/6.5.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c090c59f913f518a104f5790dac01d22e2884820aad6d8fe65cab21ee1628f43
|
|
| MD5 |
378687bb962dd7d2265e671b8a7b0ca6
|
|
| BLAKE2b-256 |
84a10a4f06efff36644c5bd8636eaaf717445d960cfac929d82399ff1fb44eb1
|