Skip to main content

No project description provided

Project description

Twimage v0.1.2

Twimage is a Python library that can scrap the trending section of Twitter for Hashtags and further to download images. It can be used as an image dataset generator for applying machine learning models for research.

Getting Started

These instructions will get you the project up and running on your local machine for scraping purposes.

Prerequisites

Twimage uses Selenium for the headless browser functionality. It also uses Click for CLI purposes and Wget for downloading images. Your system should have Mozilla Firefox installed.

pip3 install selenium click wget colorama

To download the Firefox WebDriver follow the steps.

wget https://github.com/mozilla/geckodriver/releases/download/v0.27./geckodriver-v0.27.0-linux64.tar.gz
tar xvfz geckodriver-v0.19.1-linux64.tar.gz
mv geckodriver ~/.local/bin

Installing

Install Twimage v0.1.2 by:

 pip install twimage==0.1.2 

Built With

  • Selenium - For headless browser
  • Click - Command Line Interace
  • Wget - Used to download images

Contributing

Please mail Anshul.6273@iitkgp.ac.in for contributing in the project.

Authors

License

This project is licensed under the MIT License

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 twimage, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size twimage-0.1.2-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size twimage-0.1.2.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page