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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tigrbl_engine_xlsx-0.1.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","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.tar.gz
Algorithm Hash digest
SHA256 acb4c770e29fc77992aadec697221585a1fa1422ae53766279e706a546163ea4
MD5 3d347c56efb7b48f6b9cea9c48e432c7
BLAKE2b-256 96a5b2cc4ec830718fd00a7967cf949e98a140081b861fbd2a389dfa47117918

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tigrbl_engine_xlsx-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","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-py3-none-any.whl
Algorithm Hash digest
SHA256 7286f63bd8015d4a41906ddd26ab12859a955393feff723d786c4cf1796972f0
MD5 82767f189dd6fe17f2a5523cba889fc1
BLAKE2b-256 99820196412505fb97c2ea2ad0306a3bb3b8e0bd9a5fcdfc10b222da460ba54a

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