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 Python 3

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 surgery doctor reviews from Internet message board. Sometimes is hard to find real reviews of surgery doctors 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 who 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 comments for the femoroacetabular impingement in the test.csv file.

At this moment it only implement Femoroacetabular Impingement in Spain, but hopefully with some collaboration, Zoidberg will extend his functionality

Install

Just:

  • pip install dr-zoidberg

  • or clone this repository.

Usage

To use zoidberg in a project:

from zoidberg import zoidberg

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

or clone from:

git clone git@github.com:ginopalazzo/zoidberg.git

and use the Zoidberg CLI:

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

TODO

  • CLI: Change argparse to click.pocoo.org.

  • Get list of countries available.

  • Get list of areas available for a country.

  • Get list of illness available for an area.

  • Add keywords of illness for search.

  • Search a doctor for every area or illness.

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.

Source Distribution

dr-zoidberg-0.1.3.8.tar.gz (79.8 kB view hashes)

Uploaded Source

Built Distribution

dr_zoidberg-0.1.3.8-py2.py3-none-any.whl (26.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page