Datasette.io, an official project website for Datasette
simonwillison.net
simonwillison.net
Wish list: I wish it were a single executable I could carry around, like fossil, jq, rclone, rg/ag, sqlite3, gitea, micro, etc.
I'd really love to have a standalone executable version of Datasette too. I've been meaning to spend some time on that - bundling Python applications is tricky but it should be possible using BeeWare or PyInstaller.
The best way to install it at the moment is "brew install datasette" - but that only works if you're on a Mac. I really need to get on top of the Windows installation process too.
Scoop and Chocolatey are nice, but you'll still need something like PyInstaller to bundle your Python app into something that can be installed by scoop or choco. (source: building ActivityWatch [1] which is bundled by PyInstaller and available on Chocolatey)
Open Excel --> Click Data --> Get Data --> From File (Csv) -> If it's clean already just do load to (add to data model) --> alt+n+v to insert pivot and impress your business folks.
I find the Datasette author's related tools sqlite-utils (https://github.com/simonw/sqlite-utils) and the Dogsheep tools (https://github.com/dogsheep) and VisiData are nicely complementary.
I prefer the interface of VisiData, but I don't usually need to share links.
If I remember correctly, Excel sheets can be directly used as ODBC data sources. This means that they can be accessed directly by database apps.
There are so many useful data hacking tools these days. I wish I had important data to play with just to try these tools.
https://en.wikipedia.org/wiki/Commodore_Datasette
Oh, well. Looks interesting anyway :-D
But when you pick a unique word that only exists as another product.... why, just, why?
I mistakenly thought it would be a unique name that would make it easy for me to track mentions. Turns out there are still a LOT of C64 fans out there actively talking about their tape drives!
I think its a great name for the project, even with the legacy usage.
It's not like it's super popular primary brands like Macintosh or something Atari.
I made a small PR [1] to try and improve that, but if someone more knowledgeable about design could make a small contribution to this project, I think that would help a lot of people !
Something I'm curious about; is it possible to use datasette as a sort of "sqlite browser"? Say I have users with sqlite databases with various data, but all the dbs conform to a known schema; can I use datasette to allow my users to upload their sqlite databases and browse them?
Or would I have to do something more custom, running datasette in the background against an uploaded db and serving the result to my user?
Currently you need to run Datasette against existing SQLite databases when it starts up. Plugins like https://datasette.io/plugins/datasette-upload-csvs can be used to let people add new tables to those existing databases, but there isn't a mechanism to add a whole new database file without restarting the server.
In the next release I hope to be able to support pointing Datasette at a directory and having any new SQLite files that are added to that directory automatically show up in the interface without having to restart the server.
You can follow this issue for updates: https://github.com/simonw/datasette/issues/417
How much overlap do you see with Graphana? Perhaps trying to target that group could yield more adopters?
I imagine you could do that using SQLite window functions but you'd end up putting a lot of work in to get even a basic alternative to Grafana working.
The visualization features in Datasette are all provided by plugins - I'd love to people experiment with time-series visualization plugins which use SQLite (via the Datasette JSON API) on the backend.
Also, perhaps you could add a comparison between Datasette and existing tools on your webpage.