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.0.tar.gz (125.8 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.0-py3-none-any.whl (144.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: campbells-0.1.0.tar.gz
  • Upload date:
  • Size: 125.8 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.0.tar.gz
Algorithm Hash digest
SHA256 f47fa3c481956c48f5a1a3975febc027fb60e86fa3cc402501a6c7bb91b240df
MD5 59bf1f716d9d22d1c930697c50969f09
BLAKE2b-256 0d8f82bf5af3665b900487f7fc3b35d39133fe62df5a80803f82c6fd48adfefd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: campbells-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 144.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4283ae1095061cd0256fd901e37e4056f56b927d757f98122d28aba96d7d9f66
MD5 2cdcf5034ebb7e67f4ec4174d34edb4e
BLAKE2b-256 8c838b9e062182b27c39e06f781f48b700ef24d7ae6643001a28024c8e45526b

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