Skip to content

Commit b106b8c

Browse files
Update README to v0.0.4 and include latest performance and integration changes
- Bumped version to v0.0.4. - Added changelog entry for performance optimizations, bytes/streams support, and improved error handling. - Included all previous performance and integration improvements in the library core. Co-authored-by: Infinitode <107624055+Infinitode@users.noreply.github.com>
1 parent 36f350d commit b106b8c

3 files changed

Lines changed: 185 additions & 152 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ An open-source Python library for code encryption, decryption, and safe evaluati
1212
> [!NOTE]
1313
> **CodeSafe** is intended to quickly encrypt/decrypt code files, and run them (only for Python script files) while in their encrypted form, but not as a means for powerful encryption, just code obfuscation. We have also included a `safe_eval` function, that can safely evaluate expressions within a safe environment.
1414
15+
### Changelog v0.0.4:
16+
- Major performance optimizations for encryption and decryption (~10x speedup).
17+
- Optimized `safe_eval` by pre-filtering builtins and reducing internal overhead.
18+
- Added support for `bytes` input in `encrypt`.
19+
- Added support for file-like stream objects in `run` and `decrypt_to_file`.
20+
- Standardized error handling (replaced `print` with exceptions).
21+
1522
### Changelog v0.0.3:
1623
- Added an `allow_attributes` parameter to `safe_eval` and set `immediate_termination` to be `True` by default for safer function calling.
1724

0 commit comments

Comments
 (0)