Skip to main content

Are you ready to operate, Doctor? - I'd love to, but first I have to perform surgery.

Project description

zoidberg

https://img.shields.io/pypi/v/zoidberg.svg https://img.shields.io/travis/ginopalazzo/zoidberg.svg Documentation Status

Are you ready to operate, Doctor? - I’d love to, but first I have to perform surgery.

Dr. Zoidberg

Features

Zoidberg is a small lobster crawler that use Scrapy to get surgeon reviews from an Internet message board. Sometimes it is hard to find real reviews of surgeons in Google.

For example (my case), I have Femoroacetabular Impingement in the hip and the only medical solution is surgery. I thought Margalet was the best doctor to perform this operation but when I searched with Zoidberg, I realized that López Carro was a much better choice.

By typing:

python zoidberg.py -c es -d margalet -a traumatologia -i femoroacetabular -p test.csv -o csv

you get all the Doctor Margalet reviews for the femoroacetabular impingement in the test.csv file.

At this moment it only implements Femoroacetabular Impingement in Spain, but hopefully with some collaboration, Zoidberg will extend its functionality.

Install

Just:

  • pip install dr-zoidberg
  • or clone this repository.

Usage

To use Zoidberg from CLI just type zoidberg and follow the instructions.

To use Zoidberg in a project:

from zoidberg.zoidberg_main import Zoidberg

z = Zoidberg(country='es', doctor='margalet', area="traumatologia", illness="femoroacetabular", path='test.csv', output='csv')
z.conf()
z.run()

TODO

  • DONE - CLI: Change argparse to click.pocoo.org.
  • TODO - Get a list of countries available.
  • DONE - Get a list of areas available for a country.
  • DONE - Get a list of illnesses available for an area.
  • TODO - Add keywords of illness for each search.
  • TODO - Search a doctor for every area or illness.
  • TODO - Comprehensive tests

Credits

History

0.1.1 (2018-03-06)

  • First release on PyPI.

0.1.3 (2018-03-14)

  • Minor changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dr-zoidberg, version 0.1.3.15
Filename, size File type Python version Upload date Hashes
Filename, size dr_zoidberg-0.1.3.15-py2.py3-none-any.whl (29.7 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size dr-zoidberg-0.1.3.15.tar.gz (80.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page