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
Contributing
Please mail Anshul.6273@iitkgp.ac.in for contributing in the project.
Authors
- Anshul Sharma - TheVoxium
License
This project is licensed under the MIT License
Release files for twimage 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| twimage-0.1.2.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| twimage-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / twimage-0.1.2.tar.gz
| Download URL | twimage-0.1.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab8c307779fc1bd52f8c317bf420de8c7031d8f8ba60a93b48d818742773c825
|
|
BLAKE2b-256 checksum How to use checksums |
c79e65e61dc7ea5c0194db1285a579078d51f7f659cadf8883b89ef044871160
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / twimage-0.1.2-py3-none-any.whl
| Download URL | twimage-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
285a828e7bdde6e92a43c2f567a1a1b4e153ea94a4014516d284fd529c49b42c
|
|
BLAKE2b-256 checksum How to use checksums |
dbd924e210792eb7c5567ec336055d13cc95be1aede2db03b82b366b461fa600
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|