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.

Source Distribution

dr-zoidberg-0.1.3.15.tar.gz (80.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dr_zoidberg-0.1.3.15-py2.py3-none-any.whl (29.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dr-zoidberg-0.1.3.15.tar.gz.

File metadata

File hashes

Hashes for dr-zoidberg-0.1.3.15.tar.gz
Algorithm Hash digest
SHA256 049c3eba6d35bd78362320063084ad1067665913dd7c678fd5c56565d98d63bd
MD5 a8785021278593092a5eead17f82bbf5
BLAKE2b-256 b24d40ccafceee112508f110d4486b18b11b6f564328c9c1e0f455e4d66bd9d4

See more details on using hashes here.

File details

Details for the file dr_zoidberg-0.1.3.15-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dr_zoidberg-0.1.3.15-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6cc42d81acf13f25dc6b846d99078dc45e23c8984dfa384f16c8a76fed777e74
MD5 c47d5f36b387c6e6b39f33f2d44bb372
BLAKE2b-256 81f4b053fbc1835ef555bad1767ee28b9b28ab9aef128f1e917a34b4ff98794b

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