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

Uploaded Python 3

File details

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

File metadata

  • Download URL: campbells-0.2.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.2.2.tar.gz
Algorithm Hash digest
SHA256 41930cec74f9122f04b8bd88a448be9b73fafe5b667987aa2fe17f75f4494db6
MD5 3e9879c677c194841802c3467a47ba3c
BLAKE2b-256 2beacfa92ca2d42be71165a744112478805b24602f19ed26e3d86de7bd3e8ec1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: campbells-0.2.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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e63099e041bc7b1c045dd2ec20b55bb929bdd347640de3e8267e334149a8639b
MD5 2bc78a7a827dcb9ab4efdec31b99a383
BLAKE2b-256 88363f72a9657016e7926fbb7f991b6cf9123080a873e050ce34bde6c520ede7

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