Elara

Latest version: v0.5.5

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

Scan your dependencies

Page 1 of 2

0.5.5

Description -

Minor release - removed redundant png file

**Full Changelog**: https://github.com/saurabh0719/elara/compare/v0.5.4...v0.5.5

0.5.4

Description :

* Elara can now support keys of any type, not just strings!

* New `ttl` and `ttls` functions to retrieve time to live for all cache objects

* A new `persist` function to persist a key that previously had an expiry.

* Added `linsert` for lists and `randomkey` to fetch any random key from the database.

[v0.5.4](https://pypi.org/project/elara/0.5.4/) out now on pypi! No breaking changes.

<hr>

0.5.3

Description :

* fixed json dump bug for export functions
* db writes are now done in a separate thread
* `getmatch(key)` to retrieve all key-value pairs that contain the substr in their key
* syntax sugar for `get`, `set` , `rem` and `exists`.

No breaking changes.

0.5.2

Description :

* Fully atomic database writes using `safer`.
* updated tests

No breaking changes.

0.5.1

Description :

* `InvalidCacheParams` exception class added for better error messages.
* Fixed internal bug in `rem(key)` (raises exception if `lru.rem_key(key)` returns `Status.NOTFOUND`)
* Improved testing for exceptions

No breaking changes were made from `v0.5.0`.

0.5.0

Description :

- Re-designed the core cache and LRU backend to allow for default `max_age`, `max_size` and `cull_freq` parameters
- Updated `set` functions to take `max_age` param to allow for more granular control
- Official support for python `3.6`. (Elara now supports `3.6` to `3.9`)
- Updated tests and docs

No breaking changes were made from `v0.4.x`.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.