#html-parser #html-xml #xml-parser #html #xml #regex-parser #soup

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

#2723 in Parser implementations

Download history 161/week @ 2024-11-27 158/week @ 2024-12-04 269/week @ 2024-12-11 263/week @ 2024-12-18 46/week @ 2024-12-25 137/week @ 2025-01-01 483/week @ 2025-01-08 196/week @ 2025-01-15 207/week @ 2025-01-22 236/week @ 2025-01-29 531/week @ 2025-02-05 199/week @ 2025-02-12 182/week @ 2025-02-19 317/week @ 2025-02-26 376/week @ 2025-03-05 349/week @ 2025-03-12

1,249 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.2–8.5MB
~70K SLoC