Skip to main content

XLSX engine plugin for tigrbl where each workbook is a database and each sheet is a table.

Project description

Tigrbl Logo

PyPI - tigrbl_engine_xlsx PyPI - Downloads PyPI - Python Version PyPI - License Hits

tigrbl_engine_xlsx

A tigrbl engine plugin where each workbook is a database-like object and each sheet is a table.

Features

  • Registers kind="xlsx" through the tigrbl.engine entry-point group.
  • Uses load_workbook, wb[...], and wb.save(...) directly for workbook operations.
  • Treats each sheet as a table with transactional table semantics.

Installation

uv

uv add tigrbl_engine_xlsx

pip

pip install tigrbl_engine_xlsx

Usage

from tigrbl.engine import EngineSpec

spec = EngineSpec(kind="xlsx", mapping={"path": "./workbook.xlsx", "pk": "id"})
provider = spec.provider()
engine, session_factory = provider.build()

session = session_factory()
wb = session.workbook()
print(wb["Sheet1"])
print(session.table("Sheet1"))

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

tigrbl_engine_xlsx-0.1.1.dev6.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

tigrbl_engine_xlsx-0.1.1.dev6-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file tigrbl_engine_xlsx-0.1.1.dev6.tar.gz.

File metadata

  • Download URL: tigrbl_engine_xlsx-0.1.1.dev6.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tigrbl_engine_xlsx-0.1.1.dev6.tar.gz
Algorithm Hash digest
SHA256 300d0c068f45e1a047df182b7b1eff315b7ab755adb564c7be937dc511a5234a
MD5 c603f94f78b367194855bd9122397f6c
BLAKE2b-256 9389a868ca50adcf05d78117f5dc431aec6a12ccbbd4fabb709d426dd4caca35

See more details on using hashes here.

File details

Details for the file tigrbl_engine_xlsx-0.1.1.dev6-py3-none-any.whl.

File metadata

  • Download URL: tigrbl_engine_xlsx-0.1.1.dev6-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tigrbl_engine_xlsx-0.1.1.dev6-py3-none-any.whl
Algorithm Hash digest
SHA256 6a512fb5f3be1815fdd4fefba99f6a962f1faf53e09ab63ef98b1f6b8577e76e
MD5 343cb203dc68bfcb94ec8ac0d95b76c6
BLAKE2b-256 a577c1618a5c880ec0fe912c8efd093ae3d22adaa2ad96a3d403541e79b23abf

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