Skip to main content

A tasty SEO-focused wrapper around BeautifulSoup

Project description

🍲 TastySoup

A tasty SEO-focused wrapper around BeautifulSoup for extracting metadata, headings, links, images, and schema.

Features

  • Extract meta title & description
  • Extract H1–H6 headings
  • Extract internal/external links
  • Extract images (check missing alt attributes)
  • Word count + keyword density
  • Extract JSON-LD schema
  • Bulk audit report for multiple URLs

Installation

pip install tastysoup

Usage

from tastysoup import TastySoup

soup = TastySoup("https://example.com")
print(soup.get_title())
print(soup.get_description())
print(soup.get_headings())
print(soup.get_links())
print(soup.get_images(without_alt=True))
print(soup.get_word_count())
print(soup.get_keyword_density("example"))
print(soup.get_schema())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tastysoup-0.2.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tastysoup-0.2.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file tastysoup-0.2.1.tar.gz.

File metadata

  • Download URL: tastysoup-0.2.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tastysoup-0.2.1.tar.gz
Algorithm Hash digest
SHA256 dbfeca35f6ac73e9a8701b4a2747c8658d1406df807f5b7cb30460e6ea448482
MD5 4724324846546d8cb1887f766d6c6d21
BLAKE2b-256 3058b887b60815b77e95b0a3ab667ebeb8849127a7bb596ce36e2c07da44295a

See more details on using hashes here.

File details

Details for the file tastysoup-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: tastysoup-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tastysoup-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9decfa411313bc57b4edf08994b1f94c2eb3f71d70099d1b09d285e94a90bb5a
MD5 88a5e53922e2609c067e1bcf89c5dc1a
BLAKE2b-256 614956d08415a3f215c4b32f740ce17f065714004938238239517576ca177114

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page