skip to navigation
skip to content

Not Logged In

ptwit 0.0.5

A simple twitter command line client

Latest Version: 0.0.9

ptwit is a simple command-line-based twitter client.



To install ptwit, simply:

pip install ptwit

The first time you issue a ptwit command will prompt to input a consumer key and a consumer secret, both of which can be obtained from your registered application at



ptwit login

This command will open a twitter authentication page asking for your permission, and then presenting a 7-digit pincode if you permit it. Feed ptwit the pincode to finish the login process.

Get friends timeline:

ptwit timeline

Get someone’s tweets:

ptwit tweets someone

Get mentions or replies:

ptwit mentions
ptwit replies

Commands above always list the latest 20 new tweets, which means the tweets you’ve fetched will not be listed again.

If you want to list a specified number of tweets, use switch -c:

ptwit timeline -c 30

Post a new tweet:

ptwit post hello world
ptwit post < tweet.txt

Send message to someone:

ptwit send someone hello, ptwit is awesome
cat message.txt | ptwit send someone
File Type Py Version Uploaded on Size
ptwit-0.0.5.tar.gz (md5) Source 2013-06-23 8KB
  • Downloads (All Versions):
  • 9 downloads in the last day
  • 173 downloads in the last week
  • 617 downloads in the last month