Skip to main content

Python wrapper for FranklinWH

Project description

franklinwh-python

Python bindings to the FranklinWH API, such as it is.

In order to use this, you'll need an access token, and your gateway ID. There's a bundled script which can generate an access token, your gateway ID can be found in the app under More -> Site Address. It's shown as your SN.

python3 -m pip install franklinwh

Informational scripts

Scripts in bin use the API to show detailed information about your installation but have extra dependencies, install with

python3 -m pip install franklinwh[bin]

Most scripts require email address, password, and probably gateway id (referenced above).

python3 bin/get_info.py $FRANKLINWH_EMAIL $FRANKLINWH_PASSWORD $FRANKLINWH_GATEWAY_ID

Development

The Makefile has a target to assist development and eventual release:

  • prepare - run this once to install franklinwh in editable mode and prerequisites for bin and build.

This should be run in the context where you will eventually develop, which could be

make prepare

Release

The Makefile has targets to assist the release process:

  • build - build the distribution.
  • release - upload to PyPi.

The release process involves these steps:

[!NOTE] This may already be included in a Pull Request.

  • build

    make build
    

    Fix any errors and commit the changes.

  • upload

    make release
    

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

franklinwh-1.0.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

franklinwh-1.0.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file franklinwh-1.0.0.tar.gz.

File metadata

  • Download URL: franklinwh-1.0.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.11

File hashes

Hashes for franklinwh-1.0.0.tar.gz
Algorithm Hash digest
SHA256 85deacc56c5b0cc7fee9974dc94ba0abc689e259e4a2848c56881e3604d04da8
MD5 d05bac9ba794bbd2574b4eef7bfba583
BLAKE2b-256 1f7b69136a21cbceec2dbb1808abe52d049ebc491df8908f57cd2454cc8aaf6a

See more details on using hashes here.

File details

Details for the file franklinwh-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: franklinwh-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.11

File hashes

Hashes for franklinwh-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 952da37d64095be44d2a5f6999791de7047ec044897aedf778669112d2a9566f
MD5 16206593c4fed60addefa6ee33e1eba5
BLAKE2b-256 a285cf1fa1a705e1d3f4ee21c8f0e4acd40e74e231c5ce17aa93ec2512f401c0

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