Skip to content

Example code for Pydata Carolinas 2016 talk with Mark Lavin

Notifications You must be signed in to change notification settings

rlconley/TSCeleryExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Scraping Example with Celery

This is an example repo for some web scraping with Python and Celery.

Running the Example

To run the example you should create a new virtual environment to install the necessary dependencies. The following example use virtualenv-wrapper:

$ mkvirtualenv celery-example -p `which python3.5`
(celery-example) $ pip install -r requirements.txt

With the requirements installed you can run the worker:

(celery-example) $ celery -A celeryapp worker

Before kicking off the tasks you need to create the directory where there output will be stored:

$ mkdir results

About

Example code for Pydata Carolinas 2016 talk with Mark Lavin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages