Gazpacho

Latest version: v1.1

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

Scan your dependencies

Page 1 of 2

1.1

- Feature: now [PEP 561](https://www.python.org/dev/peps/pep-0561/) compliant
- Feature: `Soup` now automatically formats and indents (pretty print) HTML where possible

1.0

- Feature: gazpacho is now fully baked with type hints (thanks for the suggestion [**ju-sh**](https://github.com/ju-sh)!)
- Feature: `Soup.get("url")` alternative initializer
- Fixed: `.find` is now able to capture malformed void tags (`<img />`, vs. `<img>`) (thanks for the Issue [**mallegrini**](https://github.com/mallegrini)!)
- Renamed: `.find(..., strict=)` is now `find(..., partial=)`
- Renamed: `.remove_tags` is now `.strip`

0.9.4

- Feature: automagical json-to-dictionary return behaviour for `get`
- Improvement: automatic missing URL protocol inference for `get`
- Improvement: condensed HTTPError Exceptions

0.9.3

- Updated the README (thanks for flagging the `lxml` error, [**koaning**](https://github.com/koaning)!)

0.9.2

- Fixed `find(..., mode='first')` to return `None` and not an `IndexError` (thanks, [**psyonara**](https://github.com/maxhumber/gazpacho/issues/14)!)

0.9.1

- Fixed `UnicodeEncodeError` lurking beneath `get` (thanks for the "Issue" [**mlehotay**](https://github.com/mlehotay)!)
- Fixed `find` method to properly handle non-closing HTML tags

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.