Pyprql

Latest version: v0.13.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 9

0.2.4

Bug Fixes

- **cli.py**: Append limit to select only
([`66f1d57`](https://github.com/PRQL/pyprql/commit/66f1d57cdd3e69141383f712a2ae71c1eb34a2ec))

This checks the generated SQL query for SELECT before appending LIMIT. This should allow us to run
non-returning queries (like CREATE TABLE) from the SQL cli.

See 12.

- **cli.py**: Check for sqlalchemy error
([`fe2c804`](https://github.com/PRQL/pyprql/commit/fe2c804470139699a3708a286167ba1c297b0aaa))

When executing an SQL query, this checks if a ResourceClosedError is thrown. As this is indicative
of a successful query that doesnot return (ie CREATE/UPDATE/DELETE/etc.), we can catch it and
print a null line instead of throwing the error. If the error is not generated, then we have
results, so we print them to the screen.

Closes 12.

- **cli.py**: Increase default limit
([`b5e7be4`](https://github.com/PRQL/pyprql/commit/b5e7be4b574e476495367dd5af26df3633d47b38))

Increses the default LIMIT from 5 to 25.

See 12.

Build System

- Adding support for python3.7 and typing.Literal
([`143d7bc`](https://github.com/PRQL/pyprql/commit/143d7bc6d54b72d5bf458564e7a20cc4b3e110a6))

- Fixing lint for prql.py
([`23f027f`](https://github.com/PRQL/pyprql/commit/23f027fcf720be2dafe294c8d8695c2b83b847ac))

Code Style

- *****: Blacken files
([`8a4b632`](https://github.com/PRQL/pyprql/commit/8a4b6327873b29c2c8dd0ece8f469c3c3ece62f6))

- *****: Blacken files
([`2a2e247`](https://github.com/PRQL/pyprql/commit/2a2e24700fc74241362f7d92617e35d2ba0363da))

Continuous Integration

- **cicd.yaml**: Run lints
([`5101e21`](https://github.com/PRQL/pyprql/commit/5101e21f923c8a9a034ee0c5a346611b011e2978))

By error, the previous actions ran form nox session twice, instead of running lint.

- **prql.py**: Add type ignore comment
([`a51b3ed`](https://github.com/PRQL/pyprql/commit/a51b3edc31b135b2e4c18b4dadd56f2305c4a7aa))

Both clauses of the try/except block for typing literal need ignore comments to make sure they pass
on all versions.

Documentation

- *****: Add module level docstings
([`a9d30de`](https://github.com/PRQL/pyprql/commit/a9d30de78450f24953b4e27b16532a6baa5a777f))

After the refactor, add module level docstrings for new __init__'s.

- **cli.py**: Correct docstrings
([`ee2a5f2`](https://github.com/PRQL/pyprql/commit/ee2a5f2eeee8c8ce8b5e8cdc3aad8022c591527a))

A few docstrings were mangled in the the refactor. This re-formats htem to meet numpy standards.

- **prql.py**: Add annotations
([`a03b653`](https://github.com/PRQL/pyprql/commit/a03b653590a8fd4daef26f9ae26f718498ccf75a))

Completes type annotations across the codebase.

Refactoring

- Refactor the grammar to use Larks Maybe, general cleanup
([`90781e6`](https://github.com/PRQL/pyprql/commit/90781e660424c9f2497eea849eb318e77ffb61e1))

- Refactor the grammar to use Larks Maybe, general cleanup
([`4f99b2c`](https://github.com/PRQL/pyprql/commit/4f99b2cdc0979f203893fcb424096db2852d2a58))

- **prql.py**: Clean up __init__s
([`cfbdf35`](https://github.com/PRQL/pyprql/commit/cfbdf35a3af1792b4f32b851a5d680507946e6f0))

In cases where we have to define our own init methods to satisfy Lark, a data class isn't necessary.
Additionally, in cases where a data class can be used, we should prefer to use the dataclass
__post_init__ method. This commit applies this logic across the python language framework of prql.

0.2.3

0.2.2

Bug Fixes

- Fixes examples command in the cli
([`30d2b2f`](https://github.com/PRQL/pyprql/commit/30d2b2f27e4bf64d59d64f8f4fa566a2c8111e6b))

- Fixes inline documentation and bottom toolbar of CLI
([`b5d32d5`](https://github.com/PRQL/pyprql/commit/b5d32d5f0bccb131e090b63617844666e646ff6c))

Code Style

- *****: Blacken files
([`b1bf0a8`](https://github.com/PRQL/pyprql/commit/b1bf0a8420555728aab8aec087610edc6a1079f3))

0.2.1

Code Style

- *****: Blacken files
([`82b705c`](https://github.com/PRQL/pyprql/commit/82b705cd6aa0508f8bb1fa02229b9193db7390b9))

Documentation

- Updating README
([`b84e771`](https://github.com/PRQL/pyprql/commit/b84e771d242d91ef42f25492420c5bc08aef124b))

0.2.0

Bug Fixes

- Changing cli name to pyprql to prevent name collision with prql proper
([`8125fff`](https://github.com/PRQL/pyprql/commit/8125fff32bf1c351ca64825bed763f83fa88b639))

- Changing cli name to pyprql to prevent name collision with prql proper - fixing lint
([`22fd6bd`](https://github.com/PRQL/pyprql/commit/22fd6bdcc22a647cc5b10533620b74fd03cd74cf))

- Clean-up for redistribution
([`e8080d4`](https://github.com/PRQL/pyprql/commit/e8080d4bf8b39a2a043820a8d8f58f2070b03fd0))

- Fixing imports
([`1031cce`](https://github.com/PRQL/pyprql/commit/1031cce38abdf704aec63a637ccadccd1429c670))

- Fixing imports for redistribution
([`896234a`](https://github.com/PRQL/pyprql/commit/896234a288e22e922d9b89d368ed76b51ec13762))

Code Style

- *****: Blacken files
([`b0d539e`](https://github.com/PRQL/pyprql/commit/b0d539ed95e5ec4ac4a4757259008a78192b3cf3))

- *****: Blacken files
([`cb513f9`](https://github.com/PRQL/pyprql/commit/cb513f9f727a7642444a4fbe5176e15b7da0a105))

- *****: Blacken files
([`eb71617`](https://github.com/PRQL/pyprql/commit/eb71617c235f4e7dc2ea97d9345ba4cb7b062401))

- *****: Blacken files
([`9e318d8`](https://github.com/PRQL/pyprql/commit/9e318d8300aef7127a886862f5319d0740deb030))

- *****: Blacken files
([`aba41c5`](https://github.com/PRQL/pyprql/commit/aba41c5fe6c9d07d236994cccaf20091de2b64a1))

Features

- Restructuring for redistribution
([`29b75bf`](https://github.com/PRQL/pyprql/commit/29b75bf6f38adb213e4b4443672dee3dea15f388))

0.1.2

Build System

- **pyproject.toml**: Add docstring packages
([`9288d9c`](https://github.com/PRQL/pyprql/commit/9288d9c015c8f5bfb6132b7066917264fc29546c))

Add suport for a number of linters and testers to ensure correct docstring usage.

Code Style

- *****: Blacken files
([`425886b`](https://github.com/PRQL/pyprql/commit/425886b94d06b97fdc85de63b363dd1fa6b69d25))

Continuous Integration

- **.flake8**: Ignore ANN101
([`693e720`](https://github.com/PRQL/pyprql/commit/693e720f45e88cbe8dfd7ba6590377fa6eb63051))

No need to type the self-parameter, and it just clutters any errors.

- **pyproject.toml**: Activate docstring lints
([`9ffa084`](https://github.com/PRQL/pyprql/commit/9ffa08430c3f60af3e0396adf464207cf49026e8))

Activates flake8-annotations, flake8-docstring, and darglint to lint docstrings. This additionally
impacts .flake8 and noxfile.py

- **pyproject.toml**: Activate xdoctest
([`ee0444a`](https://github.com/PRQL/pyprql/commit/ee0444a51ab021b0cacb4bf4943b390f18a10c34))

Adds support for xdoctest to allow testing of docstring examples, where relevant.

Documentation

- **cli.py**: Add docstrings throughout
([`fd28c49`](https://github.com/PRQL/pyprql/commit/fd28c49f71a88b34ddac478f929142a1a33446cc))

- **pyprql**: Add module-level docstrings
([`a018801`](https://github.com/PRQL/pyprql/commit/a018801b0ae35d6300d3c8b444bb88e619504b97))

Performance Improvements

- **prql.lark**: Grammar cleanup
([`c25980a`](https://github.com/PRQL/pyprql/commit/c25980a420d1c117a7d3a4456fffffdccc8b0038))

Page 8 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.