Litestash

Latest version: v0.1.0b5

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

Scan your dependencies

0.1.0b5

Pre-release 5

0.1.0.b5

LiteStash Update
This is a quick cleanup and preparation release. The layout for the remaining key, value store has been added as stubs. This release trimmed some trailing raw prints from various setup functions and cleaned up packages that aren't planned or needed yet.

Function update
1. mget: request a while batch of keys with a str (JSON) or DTO object
2. mset: slurp up a string (JSON) or the DTO objects
3. expire: on-demand expiration with time to live integer (Unix timestamp)

Review
Several modifications are needed. There is no default time-to-live setting. Managing the timer is decoupled from the stock implementation. Hence the expiration is a delayed delete request. I am still considering whether this should be part of the set function arguments. The preference is to leave it up to the developer's specific implementation.

0.1.0b4

Minimal api functions working. Updated hashing for reliable distribuiton, each database is now in its own directory. Approaches O(1) on tests up to 100,000 sample records.

0.1.0b3

The LiteStash API: get,set,delete,exists,keys,values, & clear are implemented. Comprehensive testing lags a bit so that is next on the queue.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.