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.

Source Distribution

twimage-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

twimage-0.1.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file twimage-0.1.2.tar.gz.

File metadata

  • Download URL: twimage-0.1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for twimage-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ab8c307779fc1bd52f8c317bf420de8c7031d8f8ba60a93b48d818742773c825
MD5 067374c85ec51944bcd1ef893e15326e
BLAKE2b-256 c79e65e61dc7ea5c0194db1285a579078d51f7f659cadf8883b89ef044871160

See more details on using hashes here.

File details

Details for the file twimage-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: twimage-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for twimage-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 285a828e7bdde6e92a43c2f567a1a1b4e153ea94a4014516d284fd529c49b42c
MD5 7b61ec70490d89c588f090195aece198
BLAKE2b-256 dbd924e210792eb7c5567ec336055d13cc95be1aede2db03b82b366b461fa600

See more details on using hashes here.

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