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.1.0.dev2.tar.gz (253.8 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.1.0.dev2-py3-none-any.whl (122.3 kB view details)

Uploaded Python 3

File details

Details for the file plesty_sdk-0.1.0.dev2.tar.gz.

File metadata

  • Download URL: plesty_sdk-0.1.0.dev2.tar.gz
  • Upload date:
  • Size: 253.8 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.1.0.dev2.tar.gz
Algorithm Hash digest
SHA256 4d0baa8693825fdea9c1c525b8c90d5769a2b88665eee1506e07151f555b2d40
MD5 c6622321f8928eae9bcc65a16f0d08aa
BLAKE2b-256 30423928b98a5676a661c4fdc5f7d7caea1aeaca9b3d3c6d0dc9ad70d6b4fbe4

See more details on using hashes here.

File details

Details for the file plesty_sdk-0.1.0.dev2-py3-none-any.whl.

File metadata

  • Download URL: plesty_sdk-0.1.0.dev2-py3-none-any.whl
  • Upload date:
  • Size: 122.3 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.1.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 4ed7212f50fc06a09602901ebd479c1610e4c50c15b1a384531cde0858ffe8e6
MD5 73f8ad2289338e759974d63bb321abea
BLAKE2b-256 6ab06523514aca30143c02850368e4d50cf03961dbac6e15ce1f6357d34ed05d

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