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.2.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.1.2-py3-none-any.whl (153.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: campbells-0.1.2.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.1.2.tar.gz
Algorithm Hash digest
SHA256 00b6c625b0c94fe05f2de38671fe091cf8acb6511eb59de9244c22f6679a3ffe
MD5 dec8047f1e4435bbc43a0a37bec9c3a7
BLAKE2b-256 7ed50cc6ec57506267f79db829e4ffc348097f90639aab8cad46cf5bedcaa015

See more details on using hashes here.

File details

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

File metadata

  • Download URL: campbells-0.1.2-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.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b574cd2697d73bc4cd7537fdad86f161f035ef10a3db5194640049e1609d88c
MD5 f96762c9f95a9bea07f1402cdbf35861
BLAKE2b-256 00b145b2412e5acb28b952cd817aec4cec98a163c530371a6e3efd695b617d5f

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