Recent submissions

Comment · 2 months ago
awesome, thanks!
Comment · 2 months ago
This sounds interesting! Do you have a specific example by any chance or blog post/doc references?
Comment · 2 months ago
I tend to agree. SQL may have been harder to write in the past (worse autocomplete than pandas/polars), but now that AI is writing the code, SQL is usually much easier to read. So DuckDB is another interesting alternative to pandas.
Comment · 2 months ago
Funny enough, I received a marketing email from GitHub during the outage with the following subject: "What if every pull request you started actually shipped"
Comment · 4 months ago
Pyodide 314.0 is already available in xlwings Lite (the Python in Excel alternative you actually wanted).
Comment · 6 months ago
DuckDB also runs in Excel, by the way, via the free xlwings Lite add-in that you can install from the add-in store. It’s using the Python package and allows to write scripts, custom functions, as well as use a Jupyter-like notebook workflow.
Comment · 7 months ago
Comment · 10 months ago
Have you tried the CSP build of AlpineJS? It takes the code out of the template into a proper JS file, no unsafe-eval. Isn't state management mostly handled on the backend when you use AlpineJS?
Comment · 1 year ago
I am not a random user, but the creator. The dependencies are managed via standard requirements.txt file, which is stored in the Excel workbook itself. When you open xlwings Lite with the workbook, the dependencies are installed from either PyPI or Pyodide's own repository (after the first download from the browser's cache).

Direct db queries are indeed a restriction of Wasm/Pyodide, but there are more and more databases offering a HTTP layer. For example, Supabase has this built-in via PostgREST. For Oracle, there is Oracle REST Data Services (ORDS). Ultimately, you can also build your own little proxy server, although that's a little bit more work, but might still be worth it for company-internal use.

Comment · 1 year ago
No, this is for Excel only, but it does work with the free online version of Excel. I think LibreOffice has support for Python via PyOO.
Comment · 1 year ago
SQLookup is an Excel add-in that gives you access to the SQLOOKUP function. The SQLOOKUP function allows you to query data in your Excel workbook using SQL (SQLite dialect). The add-in is free and works with Excel on Windows, macOS, and web. It can be installed via the add-in store.
Comment · 1 year ago
So basically it’s free for 1 day per month (I only use chat).
Comment · 2 years ago
It's exactly why I built xlwings, to replace VBA with Python. Python in Excel instead is a competitor to the Excel formula language.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton