#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

#2647 in Parser implementations

Download history 56/week @ 2024-07-04 689/week @ 2024-07-11 373/week @ 2024-07-18 195/week @ 2024-07-25 147/week @ 2024-08-01 788/week @ 2024-08-08 1220/week @ 2024-08-15 2261/week @ 2024-08-22 1026/week @ 2024-08-29 1346/week @ 2024-09-05 245/week @ 2024-09-12 57/week @ 2024-09-19 36/week @ 2024-09-26 32/week @ 2024-10-03 10/week @ 2024-10-10

192 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–8.5MB
~71K SLoC