Are you ready to operate, Doctor? - I'd love to, but first I have to perform surgery.
Project description
zoidberg
Are you ready to operate, Doctor? - I’d love to, but first I have to perform surgery.
Free software: MIT license
Documentation: https://zoidberg.readthedocs.io.
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 import zoidberg z = zoidberg.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
Gino Palazzo ginopalazzo@gmail.com
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Zoidgber image from Wikipedia: https://en.wikipedia.org/w/index.php?curid=18173215
History
0.1.1 (2018-03-06)
First release on PyPI.
0.1.3 (2018-03-14)
Minor changes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dr_zoidberg-0.1.3.13-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db50fe4bb27306ac468de5abb12f1fec61108b0d8a8ded170d171f47939cb365 |
|
MD5 | f2eae6f1d3baf8be5dbd7ce5ef34a264 |
|
BLAKE2b-256 | cc38e28f780678b73a15a9b2b5528fff7bda3e5c23afb053dd65c6ba5369d64c |