#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

#2926 in Parser implementations

Download history 262/week @ 2024-07-29 524/week @ 2024-08-05 1075/week @ 2024-08-12 1049/week @ 2024-08-19 2180/week @ 2024-08-26 1380/week @ 2024-09-02 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

110 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–8.5MB
~72K SLoC