Skip to main content

Command-line application for developing Python modules compliant with the Plesty standard.

Project description

plesty-sdk

The official command-line tool for developing Python modules compliant with the Plesty standard. It provides project scaffolding, compliance checking, documentation tooling, license header management, and device manual generation.

Installation

pip install plesty-sdk

After installation the plesty command is available in your environment. For development inside the SDK repository itself, use uv run plesty.

Quick start

# 1. Scaffold a new device module
mkdir plesty-power-meter && cd plesty-power-meter
plesty init device --author "Jane Doe" --email jane@example.com

# 2. Develop your module — the pre-push hook runs compliance checks automatically

# 3. Run the full [SDK] compliance check manually at any time
plesty check

# 4. Preview the documentation locally
plesty docs serve

Commands

Command Description
plesty init Scaffold a new device or experiment module from the official template
plesty check Validate a project against the Plesty compliance standard
plesty docs serve Preview documentation locally with live reload
plesty docs deploy Build and push documentation to a remote pages branch
plesty license update Apply SPDX license headers to all Python source files
plesty manual generate Generate Markdown/PDF reference manuals from a DocDevice class
plesty update Update author, name, or CI stages in an existing project

Full documentation is available at the project's GitLab Pages site and locally via plesty docs serve run from within this repository.

License

plesty-sdk is free software licensed under the GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later).

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

plesty_sdk-0.2.2.tar.gz (257.9 kB view details)

Uploaded Source

Built Distribution

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

plesty_sdk-0.2.2-py3-none-any.whl (124.9 kB view details)

Uploaded Python 3

File details

Details for the file plesty_sdk-0.2.2.tar.gz.

File metadata

  • Download URL: plesty_sdk-0.2.2.tar.gz
  • Upload date:
  • Size: 257.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for plesty_sdk-0.2.2.tar.gz
Algorithm Hash digest
SHA256 b42d7201418c0c2fbdb13fd78d22c3de5964c967b0a40debce1b7546e823aa39
MD5 7c1c7deb488dfb2c185856bda66daff9
BLAKE2b-256 bbfc6d171d39258a31bb167ff3b56d6c6c6daafaf5ee82de57bcd7b3c0e9b0c1

See more details on using hashes here.

File details

Details for the file plesty_sdk-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: plesty_sdk-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 124.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for plesty_sdk-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f5032abcc8470b169829caf1ec3def51b2a1250714bc738399c533190fe8314
MD5 9622aacbfb0489ba68aa04e128c2b340
BLAKE2b-256 3270dca4b111975fb1c3faa92a2afd1271e64ab47fdb900ae12a3e091d7afee6

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