Skip to main content

Pennylane integration — invoices & treasury

Project description

piilot-pack-pennylane

Pennylane integration — invoices & treasury

Piilot plugin that wraps the Pennylane accounting API (invoices, suppliers, treasury) and exposes it to Piilot agents and modules.

Status

v0.0.1 — scaffold only. The plugin is intentionally inert at this stage: Plugin.register() is a no-op. Real wiring is added incrementally by PLT-18 Lot B (sub-lots B.2 → B.6):

Sub-lot Brings
B.2 Migrations + repositories (schema integrations_pennylane)
B.3 HTTP connector + scheduler sync
B.4 14 agent tools + system-prompt builder
B.5 Trésorerie module
B.6 REST routes + webhooks

Track the plan in the AICockpit worktree at PLT18/index.md.

Install (dev)

The core Piilot dev stack picks this plugin up via a bind mount. Clone it next to (or inside) the core's plugins-dev/ and restart the backend container:

# From AICockpit/workspaces/<worktree>/plugins-dev/
gh repo clone Kinetics-Consulting-V2/piilot-pack-pennylane

# Then, from the worktree root:
docker compose -f compose.dev.yml restart backend

Watch the logs for:

[plugins] Loaded: pennylane v0.0.1

Run the tests

pip install -e .[dev]
pytest

Conventions

  • SDK contract — the plugin imports only from piilot.sdk.*. The core loader's AST check refuses any from backend.* or import backend.
  • Namespace — every identifier the plugin exposes (handler ids, tool ids, i18n keys, env vars, HTTP routes) is prefixed by pennylane.
  • DB schema — all plugin-owned tables live under integrations_pennylane.*. Migrations are idempotent (IF NOT EXISTS everywhere).

Versioning

Semantic Versioning. sdk_compat in pyproject.toml pins the Piilot SDK range this plugin builds against. Watch the core's docs/SDK_CHANGELOG.md for breaking changes.

License

Apache-2.0. See LICENSE.

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

piilot_pack_pennylane-0.1.4.tar.gz (67.9 kB view details)

Uploaded Source

Built Distribution

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

piilot_pack_pennylane-0.1.4-py3-none-any.whl (69.5 kB view details)

Uploaded Python 3

File details

Details for the file piilot_pack_pennylane-0.1.4.tar.gz.

File metadata

  • Download URL: piilot_pack_pennylane-0.1.4.tar.gz
  • Upload date:
  • Size: 67.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for piilot_pack_pennylane-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2e412d44e2df928ce2ae76580487d49e7ff5ea9b697a35beda4fe2a21e43ecd6
MD5 06b7d9dd510488ece2467fddb3a58c8f
BLAKE2b-256 a1a45559a963b4200e5bf02d0303e566c1f932eddf1a8fce3b22991233b4b76b

See more details on using hashes here.

File details

Details for the file piilot_pack_pennylane-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for piilot_pack_pennylane-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7cf93db4f6eed21f081858aef405be378c34188e6932871a8de3461d3d9020ea
MD5 52ed1c2b749b6101f2d3e0ce49fad80f
BLAKE2b-256 3212e7a5bcd545f93286ebcce108fa71adb7381e8c53323fee2ecd190fbd5c9d

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