Sirope

Latest version: v0.3.1

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

Scan your dependencies

Page 2 of 3

0.1.7

Changelog:
- Adds max number of objects ot filter() and enumerate().
- Adds load_first(cls: type, n: int) and load_last(cls: type. n: int), able to load the first n object and the last n objects.

0.1.6

Changelog:
- Fixed the restriction on the __init__() method, by resorting to __new__,

0.1.5

Changelog:
- Fixes naming oddities.
- Adds find_first.

0.1.4

Changelog:
- Adds an enumeration method.

0.1.3.1

Changelog:
- Added Sirope.filter_by(), which accepts a callable and a class and applies the predicate to all objects of that class, returning the compliant objects.
- Added some guards so functions such as Sirope._obj_from_json() or OID.from_pair() return None instead of launching an undescriptable error messages due to null parameters.

0.1.2

Changelog:
- A Redis instance can be passed when creating a Sirope object, so it is possible to configure it beyond the default values. You can still pass nothing so the defaults are assumed.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.