Skip to content

Work-in-progress SQLite extension for reading Excel spreadsheet files (.xlsx, .xls, .ods)

Notifications You must be signed in to change notification settings

asg017/sqlite-xl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlite-xl

A SQLite extension for reading spreadsheets (.xlsx, .xls, .ods). Built with calamine and sqlite-loadable-rs.

A work in progress! Watch this repo for updates.

Once complete, you'll be able to do things like:

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 and libgsqlite for alternative spreadsheet SQLite extension.

About

Work-in-progress SQLite extension for reading Excel spreadsheet files (.xlsx, .xls, .ods)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published