Skip to main content

🔌 Karcytics SDK

Documentation CI Build Status License

The Software Development Kit (SDK) and Command-Line Interface (CLI) for building, validating, and signing plugins for the Karcytics desktop scientific suite.


🚀 Key Features

  • Decoupled Architecture: Build and test PyQt6-based scientific plugins independently of the main desktop app.
  • Fail-Safe Dynamic Theme Fallbacks: Visual components automatically load custom HSL-tailored colors when running standalone inside CI/CD test gates or external visualizers.
  • Merkle-Tree Cryptographic Integrity: Built-in Ed25519 signing and verification tools to secure user environments against remote execution and tampering.
  • PyPI-Ready Packaging: Complete declarative pyproject.toml config, built to publish natively under the karcytics-sdk package.

🛠️ Installation

Install the SDK directly into your plugin's virtual environment:

pip install karcytics-sdk

(Or during development, install in editable mode):

git clone https://github.com/KalaimaranB/Karcytics-SDK.git
cd Karcytics-SDK
pip install -e .

📦 Creating a Custom Karcytics Plugin

To build a valid plugin, implement the KarcyticsPlugin interface and declare your entrypoints.

1. manifest.json

Every plugin must include a manifest file in its root directory:

{
  "id": "my_custom_plugin",
  "name": "My Custom Plugin",
  "version": "1.0.0",
  "author": "Dr. Kalaimaran",
  "description": "High-performance scientific analysis plugin.",
  "category": "analysis",
  "min_core_version": "1.0.0",
  "entrypoint": "plugin:MyPluginClass"
}

2. plugin.py

from PyQt6.QtWidgets import QWidget, QVBoxLayout, QLabel
from karcytics_sdk.core.interfaces import KarcyticsPlugin
from karcytics_sdk.ui import PrimaryButton


class MyPluginClass(KarcyticsPlugin):
    """A professional-grade Karcytics plugin."""

    def initialize(self) -> None:
        self.logger.info("Initializing custom plugin...")

    def create_panel(self, parent=None) -> QWidget:
        panel = QWidget(parent)
        layout = QVBoxLayout(panel)

        title = QLabel("Welcome to Custom Analysis Panel")
        btn = PrimaryButton("Execute Step")

        layout.addWidget(title)
        layout.addWidget(btn)
        return panel

🛡️ Cryptographic Trust Architecture

Karcytics implements a professional-grade Chain of Trust to protect laboratory environments:

[ Root Authority ] (Hardcoded Core Key)
       │
       ▼ (signs)
[ Developer Key ] (Dev Certificate)
       │
       ▼ (signs)
[ Plugin Manifest ] (Ed25519 Signature + Merkle-Tree Hashes)

1. Generate Your Cryptographic Identity

karcytics-sdk setup-identity
  • Local Private Key: ~/.karcytics/dev_private_key.pem
  • Developer Certificate: ~/.karcytics/dev_cert.bin

2. Sign Your Plugin payload

Calculates Merkle-hashes for all your files recursively, excludes development directories automatically, updates manifest.json, and writes signature.bin:

karcytics-sdk sign <path/to/plugin>

3. Modularity Compliance Check

Verify your plugin matches QA and security standards:

karcytics-sdk evaluate <path/to/plugin>

📘 Standalone Preview Support

Since the SDK decouples all theme components from the desktop core using robust try-except fallbacks, you can instantiate and preview components standalone in development:

import sys
from PyQt6.QtWidgets import QApplication
from karcytics_sdk.ui import PrimaryButton, WizardPanel

app = QApplication(sys.argv)
widget = WizardPanel()  # Renders beautifully even without the main app!
widget.show()
sys.exit(app.exec())

📄 License

This project is licensed under the MIT License.

Release files for karcytics-sdk 2.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for karcytics-sdk 2.0.9
File Size Uploaded
karcytics_sdk-2.0.9.tar.gz 194.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for karcytics-sdk 2.0.9
File Interpreter ABI Platform
karcytics_sdk-2.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 395.2 kB

Release files / karcytics_sdk-2.0.9.tar.gz

Download URL karcytics_sdk-2.0.9.tar.gz
Size 194.2 kB
Tags Source
SHA-256 checksum
How to use checksums
66733f39d5f9330398e196b2cd1f481ce209705029693013d0c3abd0963d03a1
BLAKE2b-256 checksum
How to use checksums
583695bd9c99ec82403e77b11a095e2f3578307d89ac5938f9498889f83dcab0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.

Transparency log

Release files / karcytics_sdk-2.0.9-py3-none-any.whl

Download URL karcytics_sdk-2.0.9-py3-none-any.whl
Size 201.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cca1df013760b520696ddf8fc80332d230377e2279161308512aae6a74dc70b4
BLAKE2b-256 checksum
How to use checksums
89f7d3464360f3d1bfac5fc49f3ef19d603b5372952ac186be6871080f68a0e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.

Transparency log

Release history Release notifications | RSS feed

2.1.8

2 release files

2.1.7

2 release files

2.1.6

2 release files

2.1.5

2 release files

2.1.4

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

This release

2.0.9 This release

2 release files

2.0.8

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page