Skip to main content

A minimal browser based on pycurl/lxml

Project description

browser.Browser

A minimal browser based on pycurl/lxml.

Mechanize seemed a bit slow for my usage, so I wrote this alternative using
pycurl (i.e. libcurl) and lxml, mostly focused on speed, whilst not
compromising on the features I see as useful (cookies and form selection/
POSTing).

Plans:
form support for radio, checkbox types
decorator to catch errors and rethrow with attached browser data for
easier scraper debugging

rest_client.RestClient

A simple REST client based upon pycurlbrowser.

CRUD approach providing:
create
read
update
destroy

rest_client.RestClientJson

A REST client that only speaks JSON.

Building upon RestClient to convert to/from JSON for a more streamlined
experience taking in and returning Python primitives, using JSON as a
transport protocol.

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

pycurlbrowser-0.3.0.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file pycurlbrowser-0.3.0.tar.gz.

File metadata

  • Download URL: pycurlbrowser-0.3.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycurlbrowser-0.3.0.tar.gz
Algorithm Hash digest
SHA256 34ded3238b5f04aeca800c15de299cf9db10f7aad2b99f3dfe6f69f511c16758
MD5 78a13a32c69ff7f01e1c82a8214047ff
BLAKE2b-256 fcd8460de76f786de5f627e51d7bb0bdd2fbf1e36a1c362e6ff65d1dddc432c4

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