Releases: elesiuta/pyxargs
Releases · elesiuta/pyxargs
Version 3.4.4
Version 3.4.3
- add short
-q
flag for--sql
Version 3.4.2
- use db to hold list of tables on db connection, mainly so prior variable db is not used by accident from differing db input types, but more useful than db = None
- other minor fixes/cleanup for
--sql
with duckdb 4e199b7
Version 3.4.1
- fix connecting to sqlite databases with duckdb (requires installing extension), and make connection read only
Version 3.4.0
- add support for running SQL queries via duckdb
- add variable list
out
for accessing previous outputs with python code
Version 3.3.1
- add
--js
flag to treat input as json - add more checks for invalid argument combinations
Version 3.3.0
- add site dirs to import packages from conda or if installed via pipx or in a venv
- add flag
--df
to read input into a dataframe - split input for user available variable
s
differently depending on the mode used - print all omitted inputs if verbose
Version 3.2.0
- shorter name, can now run with command
pyxr
- interactive mode defaults to no instead of quit on no input
- new flags
--lines
--fstring
- new user provided variable list
a
for all inputs - multiple bug fixes from regressions in
v3.1.0
andv3.0.0
Version 3.1.0
- add pyprint flag to simply evaluate the command as a python f-string and print (helps with using this as an
awk
alternative) - provide some variables to use in python commands (i, j, n, x, l) (feature inspired by pyp)
Version 3.0.0
- evaluate commands as f-strings if using one of
--pyev
--pyex
--format
- add support for regex capturing groups