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.0.tar.gz (253.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.0-py3-none-any.whl (122.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plesty_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 253.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.0.tar.gz
Algorithm Hash digest
SHA256 a690a9ab99fab377723ef85ce5b8a7c54f26779fdd0b132424de0739ab41a7a8
MD5 3005844b6ae7e3aa6d974b5fb7f9753e
BLAKE2b-256 a5becf023d323779ebcc7cdbe1f3f4b42d24def22b83073482655c79d16c4c1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: plesty_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 122.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d1d6bd205aa3cbe1945fe4293e924d123165579b3d265ad88333c344d674585
MD5 2970c7626c908c1864a7a896dd90a363
BLAKE2b-256 e2fd9df4875d5ea959db781e24fca91209540cc4fe48023bb238153fffef7532

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