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.3.tar.gz (69.7 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.3-py3-none-any.whl (71.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: piilot_pack_pennylane-0.1.3.tar.gz
  • Upload date:
  • Size: 69.7 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.3.tar.gz
Algorithm Hash digest
SHA256 3de34cac51a8997619b6a8f4e565b07b19c180978ce311b687ec814af1f0a4b7
MD5 7b133110967d8e017e7103ab6b9e14a9
BLAKE2b-256 60f3079d9b6b3c36524c66e2f991089dc7a74c5b8c0f36fa0b2cc085bec2f6a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for piilot_pack_pennylane-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 680a659c3e4643201dcf95f0098086eb177e3b095b40b07070dea860cb847115
MD5 8b6968d06471de0b8a5de1c3fc1a892f
BLAKE2b-256 e6924ba901bb59c04a36854e7bc5f7f5d947eaa684acae3ddce0dd0b023ad105

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