Pylapi

Latest version: v0.12.16

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

Scan your dependencies

Page 4 of 4

0.4

- Concepture design
- Rename most variables in pylapi.py to be consistent with the concepture design
- Rename api_method to resource_method
- Rename api_class to resource_class
- Swap back argument order in resource_class(resource_name, resource_route) and resource_route defaults to ""
- Bug fixing
- Refine security (`_wash_auth`)
- Fix resource method calls with positional arguments
- Fix resource.data attribute
- Make resource_ids and api_base_headers property (instead of classproperty)
- relunctantly until finding a solution to make them property
- Error handling
- Add self.request, self.request_method, self.response, self.response_data
- Add response_ok() to PyLapi (allowing resource classes to override)
- Add class methods to handle log levels
- Make resource methods a callback function (e.g., to change `self._response_data` if necessary), instead of code being ignored.
- Will separate into `initially` and `finally` in the next release
- Documentation
- Update sdk/README.md
- More tutorials

0.3

- Enhance attrDict to include dict and list methods
- Streamline pylapi.py

0.2

- Wash auth token in all their display and headers
- Use auth() to auth, instead of assignment to api_auth
- Attribute Dict in resource_obj.data resolved by adding the attrDict class
- Argument order in api_class(resource_route, resource_name) and resource_name default to resource_route
- Allow api_method instead of requiring api_method("")
- Add classproperty
- api_url settable in API class
- Add response_ok() check in root class (so subclasses can overwrite it)
- More sample classes, example scripts and tutorial notebooks
- WIP: sdk/README.md

0.1

- First release

Page 4 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.