Releases: digital-science/dimcli
Releases · digital-science/dimcli
v 1.7
v 1.7
- Added DSL grammar for DSL V2.14
- New
-q / --queryoption to run a DSL query directly from the command line without entering the interactive REPL- Results default to JSON; use
-f / --format [json|csv|df]to change output format -f dfrenders a formatted ASCII grid table in the terminal (requirestabulate)--niceflattens nested structures into readable strings (mirrors%%dsldf --nicein Jupyter)--htmlrenders results as an HTML table with Dimensions hyperlinks (mirrors%%dsldf --links; only applies with-f df)
- Results default to JSON; use
- CLI session caching: API token is saved to
~/.dimensions/session.jsonand reused for up to 1 hour, avoiding repeated authentication on consecutive-qcalls - Added new dependency:
tabulate>=0.8.9 - Removed
-w / --websearchCLI option - Added PoC
SKILLfor Claude
v 1.6
v 1.6
- New
/gbqcommand for BigQuery schema exploration/gbq tables [keyword]- list tables in tabular format with name, last updated, and full path/gbq fields [table]- list all fields in a specific table/gbq fields "search"- search for fields containing string across all tables/gbq fields [table] "search"- search for fields within a specific table- Defaults to
dimensions-ai.data_analyticsdataset - Auto-displays fields when exactly one table is found
- Tabular output format for easy copy-paste into SQL queries
- Added BigQuery configuration support in
~/.dimensions/settingsfile - Added optional dependency:
google-cloud-bigquery>=3.0.0
Version 1.5
- Added DSL grammar for DSL V2.13
- Updated CLI special commands. Now starting with
/instead of.
Version 1.4
v 1.4
- Fix CLI history bug
- Added DSL grammar for DSL V2.10
v1.3
- Function
extract_affiliationsreturn an extra column with the input string (for unstructured data only) - see also https://docs.dimensions.ai/dsl/functions.html#function-extract-affiliations
v1.2
- Updated DSL grammar for DSL V2.8
- New utility function: utils.explode_nested_repeated_field
v1.1
Improve query_iterative so to included warning messages linked to specific iterations.
v1.0.2
v0.9.9.1
v 0.9.9
v 0.9.9
This release primarily improves the hyperlinked tables feature for Jupyter environments.
- Test suite for magic commands
- Improvements to the
--niceand--linksrendering of dataframes within the%%dsldfmagic command- When using hyperlinks, drop IDs if title is present
- Return affiliations as a list with GRID links
- Generic 'default_transform' method for extra column not in transformations
- New parameters for DslDataset.as_dataframe() method allow calling the 'nice' and 'links' renderers without a magic command