XLSX engine plugin for tigrbl where each workbook is a database and each sheet is a table.
Project description
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 thetigrbl.engineentry-point group. - Uses
load_workbook,wb[...], andwb.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tigrbl_engine_xlsx-0.1.1.dev7.tar.gz.
File metadata
- Download URL: tigrbl_engine_xlsx-0.1.1.dev7.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29f0e07e8294467ec3b11769270d7c1c5f150eec29308cefc14efd41c0cb7717
|
|
| MD5 |
59907dd7b1c5781ab214331cd59d5749
|
|
| BLAKE2b-256 |
5691302be64079a1f5caadae644140360a91c1765ca933acc376c5cdad72faaf
|
File details
Details for the file tigrbl_engine_xlsx-0.1.1.dev7-py3-none-any.whl.
File metadata
- Download URL: tigrbl_engine_xlsx-0.1.1.dev7-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0852899b56f23544ac421d4c6866b7cb843a69ffdf0b5015b0796521218b69d3
|
|
| MD5 |
4293c789c0211d1c84f563c036182dbd
|
|
| BLAKE2b-256 |
56962b1ae565520217bba596857a687fd5946219be114a5e350e664ee2704494
|