Skip to main content

A python package to block and mute fake and toxic twitter accounts in an automated and easy way.

Project description

Better-Twitter

A simple python tool that makes your twitter timeline much better.

Installation

pip3 install better-twitter

Twitter API

To be able to use this package, you need to register a Twitter app and add its credentials when you use this package for the first time. This package will connect to your Twitter account using that app's credentials on behalf of you.

Get started

Block from file

To block multiple users of a file:

better-twitter --block-file test_file.csv

Note: The csv file should have two columns named user_id and screen_name.

Mute from file

To mute multiple users of a file:

better-twitter --mute-file test_file.csv

Note: The csv file should have two columns named user_id and screen_name.

Update Twitter API

To update twitter API credentials:

better-twitter --update-api

To Do

  • Add "mute from file" functionality
  • Add "block from file" functionality
  • Rewrite the functions in OOP style
  • Splite functions to be separated in different files and directories (instead of a single main.py file)
  • Add "block/mute retweeters of a tweet" functionality
  • Add "block/mute likes of a tweet" functionality
  • Add "check a fake user's retweets" functionality
  • Add "remove my tweets older than N days" functionality
  • Add "remove my likes older than N days" functionality
  • Add "search for tweets containing a specific word/hashtag and block/mute them"
  • Add "export an account's tweets/followers/followings/likes"
  • Add "block accounts tweeting about a specific hashtag"
  • Add "export block list"

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

better-twitter-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

better_twitter-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file better-twitter-0.1.0.tar.gz.

File metadata

  • Download URL: better-twitter-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for better-twitter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c9dca64a4189cfea5b8bf3550d847e3c6891cb1f3b9fed29fa2861018e9f8f2d
MD5 8be5d70e2395e25dd5a142f37d04bd6e
BLAKE2b-256 2fa58e5d27e6d9100511ff2799b8b39672e1ba1679f85c97c76bea54f91b2675

See more details on using hashes here.

File details

Details for the file better_twitter-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: better_twitter-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for better_twitter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 823046c42ddc3726873266141563ad547d52f716deb8ee88cb2687db51a177cb
MD5 ffa92f1bffeb1a52a21e972a8d3cf66c
BLAKE2b-256 31287b82eb5a5ce7aed4466592aff414eea73b49ae96b00a0f88f61e06464c81

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