Bug Fixes
- **magic/prql.py**: Change default configurations
([`f3a5274`](https://github.com/PRQL/pyprql/commit/f3a5274e5e72ce750bf60b7ea21d97b862a3fe45))
Defaults autopandas to true and displayconn to false.
- **magic/prql.py**: Fix printing of results
([`a53e172`](https://github.com/PRQL/pyprql/commit/a53e172962fa9db31db879f486b436732d07c854))
By providing an autoview parameter and manually specifying `_` as the return variable, we can ensure
that results are always accessible and always printable.
Build System
- **actions**: Update lock file
([`44c7893`](https://github.com/PRQL/pyprql/commit/44c7893b7bc59d20d4b0ceac0b969d94ffe5da8d))
Bring pyproject and lock file into alignment and update cache number.
- **poetry.lock**: Revert to v 1.1.13
([`c24228e`](https://github.com/PRQL/pyprql/commit/c24228e2cdf4ee7c617d5f85a8762b331de70e4d))
Use of a local pre-release version of poetry had caused divergent formats in the lockfiles. This
should bring those back in line.
- **pyproject.toml**: Add ipython support
([`0422131`](https://github.com/PRQL/pyprql/commit/04221319c0c2c555c8b657239ffcd04bbf7c9cfb))
Adds ipython-sql and ipython as dependencies. The goal is to wrap the former and pass it parsed
prql.
- **pyproject.toml**: Improver IPython version specification
([`c70324b`](https://github.com/PRQL/pyprql/commit/c70324b8502cb57e411ce8a1179c2cf3c8efbe4e))
Allows those running more recent versions of Python to use more recent versions of IPython.
Code Style
- **magic/prql.py**: Apply lints
([`1a47609`](https://github.com/PRQL/pyprql/commit/1a47609a0d23a66113b944fc30ba5ef105778da6))
Applies encessary lints to the file, while also updating format to run on Python 3.10/
- **magic/prql.py**: Improve boolean checks
([`f28d5cb`](https://github.com/PRQL/pyprql/commit/f28d5cb6eb722f4d59a4db058b6ec8884c2b2fb8))
Empty strings are falsey while non empty strings are truth, so we can check them directly.
Documentation
- *****: Document magic
([`2f51f92`](https://github.com/PRQL/pyprql/commit/2f51f9252be0e11a8d714f3906b0f920dd93da76))
Provides full Sphinx documentation for IPython/Jupyter Magic.
- **magic**: Expand line vs cell explanation
([`1e0da72`](https://github.com/PRQL/pyprql/commit/1e0da72056c3e447c4e60385c5423da8f8695849))
Expands on our different uses of line and cell magic relative to IPython-SQL, and also corrects a
few minor typos.
- **magic/README.md**: Correct typos
([`d555db0`](https://github.com/PRQL/pyprql/commit/d555db037c00cbcc76b57b2d820235ef540810c9))
Features
- **magic/prql.py**: Rough working functionality
([`df4a218`](https://github.com/PRQL/pyprql/commit/df4a218ab0a7460fd3e5bf4e10fef9777a810a7d))
Major changes still required. Currently assumes that line magic will only be used to set up
connection strings and options. Additionally, cell magic only returns correct results if the
results are passed to a local variable.
- **pyproject.toml**: Add duckdb-engine
([`e21d4b9`](https://github.com/PRQL/pyprql/commit/e21d4b9364c69ccedbbe6482fcb455ba6f10f979))
Allows magic to use duckdb connection strings.
- **pyprql/magic**: Adds ipython magic
([`2401f01`](https://github.com/PRQL/pyprql/commit/2401f0190b136b6ddb77c48159c4064b3edbe377))
This is a minimal working example. It will fail in many cases, namely when used as a line magic
where arguments are passed.