A simple twitter command line client
Project description
Introduction
ptwit is a simple command-line-based Twitter client.
Screenshots
Requirements
A Twitter account
A Twitter application registered at https://dev.twitter.com/apps
Installation
To install ptwit, simply:
$ pip install ptwit
Twitter Commands
Get home timeline
$ ptwit timeline # latest tweets
$ ptwit timeline -c 20 # latest 20 tweets
Get tweets of a Twitter user
$ ptwit tweets # list your tweets
$ ptwit tweets USER # list someone's tweets
Get mentions or replies
$ ptwit mentions
$ ptwit replies
Post a new tweet
$ ptwit post "YOUR STATUS"
$ ptwit post < tweet.txt
Send direct message
$ ptwit send USER "YOUR MESSAGE"
$ cat message.txt | ptwit send USER
List followings
$ ptwit followings
List followers
$ ptwit followers
Follow or unfollow Twitter users
$ ptwit follow USER
$ ptwit unfollow USER
List your favorite tweets
$ ptwit faves
Get a Twitter user’s information
$ ptwit whois USER
Search tweets
$ ptwit search TERM
LICENSE
ptwit is under the MIT License. See LICENSE file for full license text.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ptwit-0.0.7.tar.gz
(8.6 kB
view details)
File details
Details for the file ptwit-0.0.7.tar.gz.
File metadata
- Download URL: ptwit-0.0.7.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f9eb54706280b12fab719ec64ccbc59de57d4c28d33974e5aa87e9fc64fd24e
|
|
| MD5 |
710bade15be15b2db07286d93aeb365b
|
|
| BLAKE2b-256 |
4f1a6fcc808cb7b38f4ab6a601bda12b6a4112be01b673d0cbce50828848a50d
|