Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A simple twitter command line client

Project description

Introduction

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

Screenshots

http://farm8.staticflickr.com/7326/9144252605_46bb544fe8_z.jpg

Requirements

Installation

To install ptwit, simply:

pip install ptwit

Authorization

For the first time you run ptwit command, ptwit will ask for your Twitter application information, which you can find at https://dev.twitter.com/apps. If you don’t have one, register at https://dev.twitter.com/apps/new.

ptwit supports multiple Twitter accounts. You can easily log into a new account, or switch between accounts you’ve already authorized:

ptwit login ACCOUNT

Usage

Usage: ptwit.py [OPTIONS] COMMAND [ARGS]...

Options:
  -a, --account TEXT  Use this account instead of the default one.
  --text              Print entries as human-readable text.
  --json              Print entires as JSON objects.
  --help              Show this message and exit.

Commands:
  timeline*   List timeline.
  accounts    List all accounts.
  faves       List favourite tweets of a user.
  follow      Follow users.
  followers   List your followers.
  followings  List who you are following.
  login       Log into an account.
  mentions    List mentions.
  messages    List messages.
  pop         Edit or delete the latest tweet.
  post        Post a tweet.
  replies     List replies.
  search      Search Twitter.
  send        Send a message to a user.
  tweets      List user's tweets.
  unfollow    Unfollow users.
  whois       Show user profiles.

LICENSE

ptwit is under the MIT License. See LICENSE file for full license text.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ptwit, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size ptwit-0.2.tar.gz (8.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page