Sqlean.py

Latest version: v3.45.1

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

Scan your dependencies

Page 4 of 10

0.19.2

Changes in the [fileio](https://github.com/nalgeon/sqlean/blob/main/docs/fileio.md) extension:

- `fileio_append(path, str)` appends a string to a file.
- `fileio_read(path, offset, limit)` reads a file fragment.

Thanks to phrrngtn for `fileio_read` improvements! (68)

0.19.1

Consistent function naming for the [fileio](https://github.com/nalgeon/sqlean/blob/main/docs/fileio.md) extension:


readfile -> fileio_read
scanfile -> fileio_scan
writefile -> fileio_write
mkdir -> fileio_mkdir
symlink -> fileio_symlink
lsdir -> fileio_ls
lsmode -> fileio_mode


Old names still work for the sake of backward compatibility.

0.19.0

Added the `scanfile` function to the [fileio](https://github.com/nalgeon/sqlean/blob/main/docs/fileio.md) extension:

scanfile(path)

Reads the file specified by `path` line by line, without loading the whole file into memory.


sqlite> select rowid, value, name from scanfile('hello.txt');
┌───────┬───────┬───────────┐
│ rowid │ value │ name │
├───────┼───────┼───────────┤
│ 1 │ one │ hello.txt │
│ 2 │ two │ hello.txt │
│ 3 │ three │ hello.txt │
└───────┴───────┴───────────┘

0.18.4

Optimized [regexp](https://github.com/nalgeon/sqlean/blob/main/docs/regexp.md) performance.

0.18.2

Unicode support in the [regexp](https://github.com/nalgeon/sqlean/blob/main/docs/regexp.md) extension.

0.18.1

This release brings the [regexp](https://github.com/nalgeon/sqlean/blob/main/docs/regexp.md) extension for all operating systems. It supports all major regular expression features. The old `re` extension is deprecated.

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.