Data Gundar is a Python module to scrap and process data from Gunadarma's Website without any hassle.
Install virtualenv:
pip install virtualenvCreate new virtualenv and install depedencies:
-
Windows:
virtualenv venv venv\Scripts\activate pip install -r requirements.txt -
Linux / MacOS:
virtualenv venv && . venv/bin/activate && pip install -r requirements.txt
Install geckodriver
-
Windows:
- Download latest
geckodriver.exefrom here. - Unzip and move / copy
geckodriver.exeinto yourvenv\Scripts\folder.
- Download latest
-
Linux / MacOS:
- Download latest
geckodriverfrom here. - Untar and move / copy
geckodriverinto your/usr/binor any other directory insidePATH.
- Download latest
Always use virtualenv when interacting with these modules
-
Windows:
venv\Scripts\activate -
Linux / MacOS:
. venv/bin/activate
python -m datagundar
To startup the development server use:
python -m restapi
For production server use gunicorn or any other WSGI.
# Example deployment with gunicorn
gunicorn restapi:appFor more documentation on available API please refer to restapi README.md
Please refer to datagundar README.md
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.