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.2.1.tar.gz (133.5 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.2.1-py3-none-any.whl (153.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for campbells-0.2.1.tar.gz
Algorithm Hash digest
SHA256 27d3fa0b956427b51ba9bcb3f9961a344526f52ac06a2664c6c9f9ff8562fbdf
MD5 103b92050eeaac9be209e310d4a2dfb7
BLAKE2b-256 a4a7e6c78d87441955b7b43ebd440573caa3d96dd668112a5163b4d8337218e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: campbells-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 153.7 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4dd989aad5cf39e2f42da76005723eb7aaa3f9638443e218ab2f715c45ce1984
MD5 b5593403ad9a75e07062b9d5e1d81413
BLAKE2b-256 0891c3f1d6fd293e921f83b77dadc04bccea005fdf6d83940f95838c795e86c9

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