Ladder

Latest version: v0.4.1

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

Scan your dependencies

Page 1 of 2

0.4.1

- Fix `utils.iterflatten()` by calling `iterflatten()` instead of `flatten` in recursive loop.

0.4.0

- Rename `URL` class to `URLPath` for consistency with newly expanded library API. **breaking change**
- Add `DelimitedPath` class to handle path generation using a delimiter.
- Add `OSPath` class to handle OS path generation.
- Add `Ladder` base class for all path generation classes. Cannot be used directly; has to be used as a parent class.

0.3.0

- If `URL` param value is a `list` or `tuple`, then flatten it so that each value is mapped to the param key as a separate query parameter (i.e. `a=[1, 2, 3] => '?a=1&a=2&a=3'`).

0.2.4

- Remove usage of `deepcopy` and ensure `URL` state isn't modified during regeneration.

0.2.3

- Fix bug where including params in `URL()` resulted in previous instance's params being modified, i.e., `x = URL('/'); y = x(a=1)` resulted in `a=1` being added to `x`.

0.2.2

- Support mulitple query parameters instead of overriding with last supplied.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.