Wsblib

Latest version: v1.2.0

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

Scan your dependencies

Page 2 of 3

0.7.0

Adding `RequestData.json` method to convert a **JSON** body in `dict`.

Major commits

- [7257af3](https://github.com/firlast/wsblib/commit/7257af3): Adding method to convert JSON body to dict;
- [c239ab2](https://github.com/firlast/wsblib/commit/c239ab2): Fix change log.

0.6.0

Adding `Server.destroy` method to close server socket.

Major commits

- [b0eca90](https://github.com/firlast/wsblib/commit/b0eca90): Adding `destroy` method to Server class;
- [da812a3](https://github.com/firlast/wsblib/commit/da812a3): Destroying soket in unit test.

0.5.0

Making request data available from the function's global variables.

Major commits

- [e180e05](https://github.com/firlast/wsblib/commit/e180e05): Making request data available through global variables;
- [81e1743](https://github.com/firlast/wsblib/commit/81e1743): Passing `use_globals` argument to `get_route_response` method.

0.4.0

Adding HTTP status error handler.

Major commits

- [202b064](https://github.com/firlast/wsblib/commit/202b064): Checking route parameters in `Route.match_route` method;
- [c59de99](https://github.com/firlast/wsblib/commit/c59de99): Adding `Error` class to handle http status code errors;
- [6ee1e28](https://github.com/firlast/wsblib/commit/6ee1e28): Renaming exception to `InvalidResponseError`;
- [fff0eb7](https://github.com/firlast/wsblib/commit/fff0eb7): Adding errors callback in request process.

0.3.0

Adding module to log request data and returning request data in `ProcessRequest.process`.

Major commits

- [f69dd0d](https://github.com/firlast/wsblib/commit/f69dd0d): Returning request data in `ProcessRequest.process` method;
- [3ac316b](https://github.com/firlast/wsblib/commit/3ac316b): Creating `RequestData` instance outside condition;
- [ba271f7](https://github.com/firlast/wsblib/commit/ba271f7): Adding `log_request` function;

0.2.0

Adding the possibility to create **dynamic routes** and get data from parameters.

Major commits

- [b27fdc1](https://github.com/firlast/wsblib/commit/b27fdc1): Adding `Route._register_dynamic_route` method;
- [5381ed2](https://github.com/firlast/wsblib/commit/5381ed2): Adding `Route.get_parameters` method;
- [e238029](https://github.com/firlast/wsblib/commit/e238029): Adding `RequestData` class;
- [2ef5768](https://github.com/firlast/wsblib/commit/2ef5768): Creating `RequestData` instance to store request data.

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.