Shisetsu

Latest version: v0.1.3

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

Scan your dependencies

0.1.3

Protocol Update

`v0.1.3` introduces a [Protocol](PROTOCOL.md) update which I think should be good enough to last until at least the first stable release. The Contract `headers` is now a `dict`, which in a `Request` contains the `func` key, and in `Response` and `Failure` contains the `request_digest` key. Prior to `v0.1.3`, `headers` was a string which contains the value of said keys directly.

This should make it easier to do additional things through the use of [Middlewares](shisetsu/middlewares.py) (introduced in `v0.1.2`) such as auth, extended serialization, padding, and so on.

Example Files

Also, `v0.1.3` contains two new example files: [example_client.py](examples/example_client.py) and [example_server.py](examples/example_server.py) which should make it easier to try Shisetsu out.

Bug Fixes

I inadvertently introduced a bug in `v0.1.2` and `v0.1.1` which caused `CallableClient` to stop working. This was because of the newly introduced `Client` attributes `middlewares` and `timeout` that should be added to list of attribute names that are filtered when doing `getattr` on `CallableClient`, but were not. I guess this really does make it crucial to write Unit Tests next!

0.1.2

See https://github.com/KixPanganiban/shisetsu/pull/2

0.1.1

See https://github.com/KixPanganiban/shisetsu/pull/1

0.1.0

This is the first public beta release of Shisetsu, more of a proof-of-concept than anything else. For more details, see [README.md](README.md)

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.