Runes

Latest version: v0.6

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

Scan your dependencies

0.5.0

Changed
- Rune() API change: unique_id comes first, and constructor generates a valid Rune from a master authcode() as expected.
- stricter checks on use of unique_id field to avoid caller having to.

Added
- to_str()/from_str() API for encoding Runes without base64.
- tests/ now contains test vectors, for other implementations.

0.4.0

Changed
- empty field without hypen ignored by default (unless in values dict)

Added
- Callables in dict allow custom evaluation
- id field parameters added to constructors for convenience
- New examples for blacklisting and ratelimiting.

0.3.1

Fixed
- copy() now correctly copies (original not modified when restrictions added!)

0.3

Changed
- Punctuation is now allowed in field values; \ is the escape mechanism

Added
- Not equals operator (/) added.

0.2

Added

- examples/decode.py: pretty print output into english phrases
- Rune.copy() helper, and copy utils now work (eg. copy.deepcopy(Rune))
- Simple check() and check_with_reason() routines for simplest usage.

0.1

Initial release.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.