Skip to main content

A condensed web scraping library.

Project description

Campbells 🥫

A condensed web scraping library.

InstallExamples

Adapted from beautifulsoup4's inner package, then linted, refactored, reduced, and seasoned to taste.

Installation

Campbells is available on PyPi:

pip install campbells

The dependencies needed to use html5lib and lxml parsers are not installed by default. They can be installed with:

  • pip install campbells[html5lib] to be able to use html5lib.
    • Pros: closest to how browsers parses web pages, very lenient, creates valid HTML5.
    • Cons: slowest parser.
  • pip install campbells[lxml] to be able to use lxml.
    • Pros: fastest parser.
    • Cons: heavier dependency (C extension).

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

campbells-0.1.1.tar.gz (125.7 kB view details)

Uploaded Source

Built Distribution

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

campbells-0.1.1-py3-none-any.whl (145.0 kB view details)

Uploaded Python 3

File details

Details for the file campbells-0.1.1.tar.gz.

File metadata

  • Download URL: campbells-0.1.1.tar.gz
  • Upload date:
  • Size: 125.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.8.2 CPython/3.10.6

File hashes

Hashes for campbells-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7d9a7050ba5a8c752793e05aaf980d922ccd7e4790617e54d4f223df205b3069
MD5 9c9a470c2342ed8586f7b799b24bae1f
BLAKE2b-256 4a2395c9f728188f24ba68a017c8ea7d724f1cf76a9064f4ec23a0bd58dbf44f

See more details on using hashes here.

File details

Details for the file campbells-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: campbells-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 145.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.8.2 CPython/3.10.6

File hashes

Hashes for campbells-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a6e0e130512971a006fc89911c904c9d97b57973659ba3c141c928a490ab875
MD5 8e35d345c9a2b9be132d1524690cd717
BLAKE2b-256 04eec71c2a6ad6b2657b8dcf349b0cf33898f399d3e075422f3f8adbee7901fa

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