Skip to main content

TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.

Project description

TweeterPy

Discord

Overview

TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.

Note : Use it on Your Own Risk. Scraping with Residential proxies is advisable while extracting data at scale/in bulk. If possible, use multiple accounts to fetch data from Twitter. DON'T USE YOUR PERSONAL ACCOUNT FOR SCRAPING PURPOSES.

Installation

Install TweeterPy with pip

  pip install tweeterpy

Usage/Examples

python quickstart.py

OR

from twitter import TweeterPy

TweeterPy()

Example - Get User ID of a User.

from tweeterpy import TweeterPy

twitter = TweeterPy()

print(twitter.get_user_id('elonmusk'))

Documentation

Check out step by step guide.

Documentation

Configuration

Example - Config Usage

from tweeterpy import config

config.PROXY = {"http":"127.0.0.1","https":"127.0.0.1"}
config.TIMEOUT = 10
config.UPDATE_API = False

Check out configuration docs for the available settings.

Configurations

Features

  • Extracts Tweets
  • Extracts User's Followers
  • Extracts User's Followings
  • Extracts User's Profile Details
  • Extracts Twitter Profile Media and much more.

Authors

Feedback

If you have any feedback, please reach out to us at hello@sarabjitdhiman.com or contact me on Social Media @iSarabjitDhiman

Support

For support, email hello@sarabjitdhiman.com

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

tweeterpy-1.0.13.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tweeterpy-1.0.13-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file tweeterpy-1.0.13.tar.gz.

File metadata

  • Download URL: tweeterpy-1.0.13.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for tweeterpy-1.0.13.tar.gz
Algorithm Hash digest
SHA256 3ffd02e8a8f61b73f4d563f37b8e3018680ab2caa983097d1f3bd8a4b425c503
MD5 1b0f352a36a8414b36eacd27fe3d860f
BLAKE2b-256 ccf7f79395d14899fac2fe193aeff5b4ddfa9355fd097919081efbdcbdcd06b1

See more details on using hashes here.

File details

Details for the file tweeterpy-1.0.13-py3-none-any.whl.

File metadata

  • Download URL: tweeterpy-1.0.13-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for tweeterpy-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 62fd3b4368e2f5402c0e470615bdfdc5c0330cef5bafb189cdf2d7ba9246ce85
MD5 1c05563b56b75a861383f004a508b1c2
BLAKE2b-256 6015cc02826808379b4846455f22425e521f1df62ca4b5be5422af4b2ba0f62c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page