Cats-python

Latest version: v4.6.1

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

Scan your dependencies

4.4.0

Released: 2021-09-15

Added

- [x] Added test server `python -m cats.v2.server -h`
- [x] Added test client `python -m cats.v2.client -h`
- [x] Added `Handler.conn` shortcut for `Handler.action.conn` typed with `server.Connection`
- [x] Added `Auth` module fixtures to `test_utils`

Changed

- [x] Exceptions thrown by `cats` internally replaced with subclasses of `CatsError`

Fixed

- [x] Fixed `StreamClosedError` passed through `Server.handle_stream`
- [x] Fixed error propagation

4.0.0

Added

- [x] Added [`retype`](https://retype.com) documentation
- [x] Added [`struct-model-python`](https://github.com/AdamBrianBright/struct-model-python) support
- [x] Added `CATS` client
- [x] Added `INIT Statement` support
- [x] Added separate `Config` class
- [x] Server now chooses compressors from which client support

Changed

- [x] Updated Python version to `3.10`
- [x] Moved protocol-related things to `v2` folder
- [x] Replaced [`orjson`](https://github.com/ijl/orjson) back with [`ujson`](https://github.com/ultrajson/ultrajson)
- [x] Middlewares now apply at startup
- [x] Replaced `Server.instance -> Server` with `Server.running_server() -> list[Server]`
- [x] Moved `Action*.handle()` logic to `Connection.handle()` unified handler
- [x] Replaced `int.to_bytes`, `int.from_bytes` with `to_uint` and `as_uint`

Removed

- [x] Removed `cats.struct` module

Fixed

- [x] Fixed `PyPi` version error
- [x] Fixed slow sending, caused by `sleep(0.05)`, replaced with `Queue`

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.