Skip to main content

API and console tool which wraps Folding@Home Client API for Pause/Restart/Power commands

Project description

pypi versions

Folding@Home Client API

This package allows you to manage a Folding@Home client via mocking the same API calls your browser makes when using the FAHViewer local web portal.

Install

pip3 install folding-at-home

Usage

Arguments Description
--host Hostname or IP Address
--https Default is to use HTTP, use HTTPS instead
--port If you want to override the default port (80)
--pause Pauses FAH
--resume Resume's FAH

CLI Examples

Pause

folding-at-home --host 192.168.1.176 --pause 

Resume

folding-at-home --host 192.168.1.176 --resume 

Full Power

folding-at-home --host 192.168.1.176 --power FULL 

Python examples

from folding_at_home.api import FAHClientAPI
folding = FAHClientAPI(host=host)
folding.resume()
folding.set_power(power_level='LIGHT')

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

folding_at_home-1.5.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

folding_at_home-1.5.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file folding_at_home-1.5.0.tar.gz.

File metadata

  • Download URL: folding_at_home-1.5.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.4

File hashes

Hashes for folding_at_home-1.5.0.tar.gz
Algorithm Hash digest
SHA256 892e55f12ef24b5178fc79abd72290c41fa9cc8d46768c2cb9ceffb24c77cde7
MD5 729baae0973a28d04183e794856081ff
BLAKE2b-256 d90728bf3cb32b1afd44e06ae53deea6cc9168b9fde6e25cb9e62b21a735171c

See more details on using hashes here.

File details

Details for the file folding_at_home-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: folding_at_home-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.4

File hashes

Hashes for folding_at_home-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6b34cd648e5fe1abf01fd814c224a405826b77c0d3d394f4f1c55bdedfad7d7
MD5 045455f2b83aaf8a7e47cd1191e997d1
BLAKE2b-256 14d25bff10ac9db73ecef9eb35181ccf4d2d6c2add959f5bad4988ef2f888c12

See more details on using hashes here.

Supported by

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