Real-easypy

Latest version: v0.5.0

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

Scan your dependencies

Page 2 of 2

0.3.0

Added
- Support for suppressing and soloing logging to console per thread.
- `TypedStruct`: Support for inheritance.
- `EasyMeta`: the `before_subclass_init` hook.
- `wait` and `iter_wait` support `log_interval` and `log_level` for printing
the thrown `PredicateNotSatisfied` to the log.
- `takesome`: a new generator that partially yields a sequence
- `repr` and `hash` to typed struct fields.
- `PersistentCache`: allow disabling persistence via env-var (`DISABLE_CACHING_PERSISTENCE`)
- collections: raising user-friendly exceptions for failed object queries (too many, too few)

Fixed
- `ExponentialBackoff`: return the value **before** the incrementation.
- `concurrent`: capture `KeyboardInterrupt` exceptions like any other.
- doctests in various functions and classes.
- `SynchronizedSingleton` on `contextmanager` deadlock when some (but not all)
of the CMs throw.
- `resilient` between `timecache`s bug.
- `FilterCollection`: deal with missing attributes on objects (163)
- `PersistentCache`: don't clear old version when changing cache version
- concurrency: documentation
- `SynchronizedSingleton`: deadlock condition when used with `contextmanager` (150)
- concurrency: make 'async' available only in python < 3.7, where it became reserved

Changed
- Reorganization:
- Moved tokens to a proper module.
- Moved function from `easypy.concurrency` and `easypy.timing` to new module
`easypy.sync`
- Moved `throttled` from `easypy.concurrency` to `easypy.timing`.
- `easypy.signals`: Async handlers are invoked first, then the sequential handlers.
- `async` -> `asynchronous`: to support python 3.7, where this word is reserved
- `concurrency.concurrent`: `.result` property changed into method `.result()`, which also waits on the thread
- `easypy.colors`: clean-up, documentation, and reverse-parsing from ansi to markup

Removed
- `Bunch`: The rigid `KEYS` feature.
- `synchronized_on_first_call`.
- `ExponentialBackoff`: The unused `iteration` argument.
- `easypy.cartesian`
- `easypy.selective_queue`
- `easypy.timezone`

Deprecated
- `locking_lru_cache`.

0.2.0

Added
- Add the `easypy.aliasing` module.
- Add the `easypy.bunch` module.
- Add the `easypy.caching` module.
- Add the `easypy.cartesian` module.
- Add the `easypy.collections` module.
- Add the `easypy.colors` module.
- Add the `easypy.concurrency` module.
- Add the `easypy.contexts` module.
- Add the `easypy.decorations` module.
- Add the `easypy.exceptions` module.
- Add the `easypy.fixtures` module.
- Add the `easypy.gevent` module.
- Add the `easypy.humanize` module.
- Add the `easypy.interaction` module.
- Add the `easypy.lockstep` module.
- Add the `easypy.logging` module.
- Add the `easypy.meta` module.
- Add the `easypy.misc` module.
- Add the `easypy.mocking` module.
- Add the `easypy.predicates` module.
- Add the `easypy.properties` module.
- Add the `easypy.randutils` module.
- Add the `easypy.resilience` module.
- Add the `easypy.selective_queue` module.
- Add the `easypy.signals` module.
- Add the `easypy.tables` module.
- Add the `easypy.threadtree` module.
- Add the `easypy.timezone` module.
- Add the `easypy.timing` module.
- Add the `easypy.typed_struct` module.
- Add the `easypy.units` module.
- Add the `easypy.words` module.
- Add the `easypy.ziplog` module.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.