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

soupy

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

13 releases (7 breaking)

0.8.3 Jul 17, 2024
0.7.2 Jul 17, 2024
0.1.1 Dec 22, 2023
0.1.0 Oct 23, 2023

#2790 in Parser implementations

Download history 626/week @ 2024-09-09 165/week @ 2024-09-16 37/week @ 2024-09-23 44/week @ 2024-09-30 20/week @ 2024-10-07 1/week @ 2024-10-14 44/week @ 2024-10-28 63/week @ 2024-11-04 16/week @ 2024-11-11 67/week @ 2024-11-18 117/week @ 2024-11-25 147/week @ 2024-12-02 247/week @ 2024-12-09 321/week @ 2024-12-16 58/week @ 2024-12-23

773 downloads per month

MIT/Apache

59KB
1.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–8MB
~72K SLoC