#soup #html #xml #bs4 #beautifulsoup

soupy

A library for querying tree-based formats, similar to BeautifulSoup

15 releases (9 breaking)

0.10.0 Feb 6, 2025
0.8.3 Jul 17, 2024
0.1.1 Dec 22, 2023
0.1.0 Oct 23, 2023

#1754 in Parser implementations

Download history 41/week @ 2024-12-24 110/week @ 2024-12-31 474/week @ 2025-01-07 190/week @ 2025-01-14 212/week @ 2025-01-21 253/week @ 2025-01-28 550/week @ 2025-02-04 189/week @ 2025-02-11 193/week @ 2025-02-18 261/week @ 2025-02-25 403/week @ 2025-03-04 343/week @ 2025-03-11 365/week @ 2025-03-18 339/week @ 2025-03-25 226/week @ 2025-04-01 262/week @ 2025-04-08

1,286 downloads per month

MIT/Apache

170KB
5.5K SLoC

Soupy

soupy is a library for querying tree-based formats, similar to BeautifulSoup.

Cargo Features

  • html: Support for HTML. Enabled by default.
    • html-lenient: Error-tolerant HTML parser. Slow. Enabled by default.
    • html-strict: Simple, fast HTML parser. Enabled by default.
  • xml: Support for XML. Enabled by default.
  • regex: Support for regex matching in queries. Enabled by default.

License

soupy is dual-licensed under MIT and Apache-2.0.

Dependencies

~2.1–8.5MB
~70K SLoC