Skip to main content

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"

Metadata

Release files for better-twitter 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for better-twitter 0.1.0
File Size Uploaded
better-twitter-0.1.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for better-twitter 0.1.0
File Interpreter ABI Platform
better_twitter-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / better-twitter-0.1.0.tar.gz

Download URL better-twitter-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c9dca64a4189cfea5b8bf3550d847e3c6891cb1f3b9fed29fa2861018e9f8f2d
BLAKE2b-256 checksum
How to use checksums
2fa58e5d27e6d9100511ff2799b8b39672e1ba1679f85c97c76bea54f91b2675
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / better_twitter-0.1.0-py3-none-any.whl

Download URL better_twitter-0.1.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
823046c42ddc3726873266141563ad547d52f716deb8ee88cb2687db51a177cb
BLAKE2b-256 checksum
How to use checksums
31287b82eb5a5ce7aed4466592aff414eea73b49ae96b00a0f88f61e06464c81
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.20

2 release files

0.0.19

1 release file

0.0.18

1 release file

0.0.17

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.4

1 release file

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page