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.1.tar.gz (255.6 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.1-py3-none-any.whl (123.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plesty_sdk-0.2.1.tar.gz
  • Upload date:
  • Size: 255.6 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.1.tar.gz
Algorithm Hash digest
SHA256 df6fe430669561d97276cafddc3178f2cc6cfaef459fcc7098318c433f51b398
MD5 31d58b5c0d12bd5482e64248ac549922
BLAKE2b-256 ad2506017ddd1fcf175856155e890e2d05ce160543f622433501ec8343f08c93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: plesty_sdk-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 123.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 924acfbfd25003b05478c51a5dc9659a9d520fa1bdf9e7d96268468683bd6cc7
MD5 b504919530eecb4b226a8597bbb729d4
BLAKE2b-256 599bf4baceeeeab43e90b389b62b399698ae2abff164e6c076ef23855ef3332c

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