This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
# scrapekit

Did you know the entire web was made of data? You probably did.
Scrapekit helps you get that data with simple Python scripts. Based on
[requests](http://docs.python-requests.org/) the library will handles
caching, threading and logging.

See the [full documentation](http://scrapekit.readthedocs.org/)

## Example

```python
from scrapekit import Scraper

scraper = Scraper('example')

@scraper.task
def get_index():
url = 'http://databin.pudo.org/t/b2d9cf'
doc = scraper.get(url).html()
for row in doc.findall('.//tr'):
yield row

@scraper.task
def get_row(row):
columns = row.findall('./td')
print columns

pipeline = get_index | get_row
if __name__ == '__main__':
pipeline.run()

```

## Works well with

Scrapekit doesn't aim to provide all functionality necessary for
scraping. Specifically, it doesn't address HTML parsing, data storage
and data validation. For these needs, check the following libraries:

* [lxml](http://lxml.de/) for HTML/XML parsing; much faster and more
flexible than [BeautifulSoup](http://www.crummy.com/software/BeautifulSoup/)
* [dataset](http://dataset.rtfd.org) is a sister library of scrapekit
that simplifies storing semi-structured data in SQL databases.

## Existing tools

* [Scrapy](http://scrapy.org/) is a much more mature and comprehensive
framework for developing scrapers. On the other hand, it requires you to
develop scrapers within its class system. This can be too heavyweight
for a simple script to grab data off a web site.
* [scrapelib](http://scrapelib.readthedocs.org/) is a thin wrapper
around requests that does throttling, retries and caching.
* [MechanicalSoup](https://github.com/hickford/MechanicalSoup) binds
BeautifulSoup and requests into an imperative, stateful API.

## Credits and license

Scrapekit is licensed under the terms of the MIT license, which is also
included in [LICENSE](LICENSE). It was developed through projects of
[ICFJ](http://icfj.org), [ANCIR](http://investigativecenters.org) and
[ICIJ](http://icij.org).
Release History

Release History

0.2.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
scrapekit-0.2.1.tar.gz (14.3 kB) Copy SHA256 Checksum SHA256 Source Sep 5, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting