https://github.com/asg017/sqlite-xl
Work-in-progress SQLite extension for reading Excel spreadsheet files (.xlsx, .xls, .ods)
https://github.com/asg017/sqlite-xl
Last synced: about 2 months ago
JSON representation
Work-in-progress SQLite extension for reading Excel spreadsheet files (.xlsx, .xls, .ods)
- Host: GitHub
- URL: https://github.com/asg017/sqlite-xl
- Owner: asg017
- Created: 2024-01-04T17:58:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-05T23:30:27.000Z (3 months ago)
- Last Synced: 2025-02-26T17:45:50.254Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 77.1 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `sqlite-xl`
A SQLite extension for reading spreadsheets (`.xlsx`, `.xls`, `.ods`). Built with [`calamine`](https://github.com/tafia/calamine) and [`sqlite-loadable-rs`](https://github.com/asg017/sqlite-loadable-rs).
A work in progress! Watch this repo for updates.
Once complete, you'll be able to do things like:
```sql
select
address,
value
from xl_cells(
readfile('My Workbook.xlsx'),
'A1:Z100'
);select
row ->> 'A' as student_name,
row ->> 'B' as student_age,
row ->> 'C' as grade
from xl_rows(
readfile('My Workbook.xlsx'),
'Students!A2:F'
);create virtual table temp.my_table using xl0('My Workbook.xlsx');
select A, B, C from temp.my_table;
```In the meantime, check out [`xlite`](https://github.com/x2bool/xlite) and [`libgsqlite`](https://github.com/0x6b/libgsqlite) for alternative spreadsheet SQLite extension.