Results of 1 - 10 of about 14 for scripts (0.002 sec.)
- marimo Notebooks 14249
- marimo is an open-source reactive notebook for Python and SQL that's tightly integrated with DuckDB's Python client, letting you mix and match Python and SQL in a single git-versionable notebook. Unlike traditional notebooks, when you run a
...ell-suited to interactively working with data, and its representation as a Python file makes it simple to run notebooks as scripts. Installation To get started, install marimo from your terminal. Its sql extra also installs DuckDB, Polars and PyArrow: p...ause marimo stores notebooks as pure Python, for many reasons , such as git-friendly diffs and running notebooks as Python scripts. The SQL statement itself is an f-string, letting you interpolate Python values into the query with {} (shown later). In p...UI elements that can be used to parameterize SQL queries Ability to export notebooks as standalone applications or Python scripts, or even run entirely in the browser with WebAssembly . Next Steps Read the marimo docs . Try the SQL tutorial: marimo tut... - https://man.mtool.work/duckdb/2.0/guides/python/marimo.html
- Instantiate 10292
- Overview DuckDB-Wasm can be instantiated in several ways, depending on how your application bundles and serves its assets. Each approach resolves the mainModule (the WebAssembly file) and the mainWorker (the worker script) for the browser's
...t matches the browser. Because a Web Worker script must be same-origin, the CDN worker URL is wrapped in a Blob that importScripts it, and the temporary object URL is revoked once the worker has started. import * as duckdb from '@duckdb/duckdb-wasm'; co...hecks const bundle = await duckdb.selectBundle(JSDELIVR_BUNDLES); const worker_url = URL.createObjectURL( new Blob([`importScripts("${bundle.mainWorker}");`], {type: 'text/javascript'}) ); // Instantiate the asynchronous version of DuckDB-Wasm const wor...emit DuckDB-Wasm's assets instead of fetching them from a CDN. Import each .wasm module directly, and reference the worker scripts with new URL(..., import.meta.url) so that webpack fingerprints them and rewrites the paths to the emitted files. The bund... - https://man.mtool.work/duckdb/2.0/clients/wasm/instantiation.html
- Statically Linking Extensions 9925
- This page is for client and binding authors, and for anyone who embeds libduckdb in their own application. It describes how statically linking extensions changed in DuckDB 2.0 and what builders on top of DuckDB need to do. This change is in
...ding libduckdb yourself, you can download the static and shared archives for DuckDB 2.0 and later using the duckdb-install-scripts tooling ( duckdb-install-scripts#5 ). Setting DUCKDB_INSTALL=static installs the archives and headers under ~/.duckdb/lib/... - https://man.mtool.work/duckdb/2.0/dev/building/linking_extensions.html
- Windows 8840
- On Windows, DuckDB requires the Microsoft Visual C++ Redistributable package both as a build-time and runtime dependency. Note that unlike the build process on UNIX-like systems, the Windows builds directly call CMake. Clang-cl To build Duc
...n a Bash shell from the root of the DuckDB repository: bash export GEN=ninja export CC=clang-cl export CXX=clang-cl python scripts/windows_ci.py make windows_release The make windows_release target invokes CMake with the bundled extensions configuration... - https://man.mtool.work/duckdb/2.0/dev/building/windows.html
- Dot Commands 8489
- Dot commands are available in the DuckDB CLI client. To use one of these commands, begin the line with a period ( . ) immediately followed by the name of the command you wish to execute. Additional arguments to the command are entered, spac
...CLI (silently) autocompletes them. For example: .mo ma Is equivalent to: .mode markdown Tip Avoid using shorthands in SQL scripts to improve readability and ensure that the scripts are future-proof. Importing Data The .import command imports data from... - https://man.mtool.work/duckdb/2.0/clients/cli/dot_commands.html
- Importing Duckbox Tables 8489
- The scripts provided in this page work on Linux, macOS, and WSL. By default, the DuckDB CLI client renders query results in the duckbox format , which uses rich, ASCII-art inspired tables to show data. These tables are often shared verbatim
... - https://man.mtool.work/duckdb/2.0/guides/snippets/importing_duckbox_tables.html
- DuckDB Wasm Client 8122
- Installation To use the DuckDB Wasm client, visit the duckdb-wasm GitHub repository . The latest stable version of the DuckDB WebAssembly client is 2.0.0. DuckDB-Wasm is a version of DuckDB that has been compiled to WebAssembly , the portab
...ntiate DuckDB-Wasm from a jsDelivr bundle const bundle = await duckdb.selectBundle(duckdb.getJsDelivrBundles()); // Worker scripts must be same-origin, so wrap the CDN worker in a Blob URL const worker_url = URL.createObjectURL( new Blob([`importScripts... - https://man.mtool.work/duckdb/2.0/clients/wasm/overview.html
- Extension Distribution 8122
- Platforms Extension binaries are distributed for several platforms (see below). For platforms where packages for certain extensions are not available, users can build them from source and install the resulting binaries manually . Most offic
...sion ├── tpcds.duckdb_extension └── tpch.duckdb_extension See the extension-template repository for all necessary code and scripts to set up a repository. When installing an extension from a custom repository, DuckDB will search for both a gzipped and n... - https://man.mtool.work/duckdb/2.0/extensions/extension_distribution.html
- Securing Extensions 8122
- DuckDB has a powerful extension mechanism, which has the same privileges as the user running DuckDB's (parent) process. This introduces security considerations. Therefore, we recommend reviewing the configuration options listed on this page
...te code execution by design. This is less dramatic than it sounds. For better or worse, we are quite used to piping random scripts from the web into our shells, and routinely install a staggering amount of transitive dependencies without thinking twice.... - https://man.mtool.work/duckdb/2.0/operations_manual/securing_duckdb/securing_ext...
- Python 7772
- The DuckDB Python package has its own repository at duckdb/duckdb-python and uses nanobind 3 to create Python bindings with DuckDB. Prerequisites This guide assumes: You have a full clone of the DuckDB Python package source, including its g
...Program arguments: $FilePath$ Working directory: $ProjectFileDir$ This allows setting C++ breakpoints and debugging Python scripts that use the DuckDB extension. Debugging Command Line Debugging Set breakpoints and debug with lldb: # Example Python scri... - https://man.mtool.work/duckdb/2.0/dev/building/python.html
DuckDB 2.0 Documentation / man.mtool.work