Skip to main content

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:
  --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 a user.
  followers   List your followers.
  followings  List who you are following.
  login       Log into an account.
  mentions    List mentions.
  messages    List messages.
  post        Post a tweet.
  replies     List replies.
  search      Search Twitter.
  send        Send a message to a user.
  tweets      List user's tweets.
  unfollow    Unfollow a user.
  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.

Source Distribution

ptwit-0.1.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file ptwit-0.1.tar.gz.

File metadata

  • Download URL: ptwit-0.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ptwit-0.1.tar.gz
Algorithm Hash digest
SHA256 86dfb809015462ad82c0ec89d6cfc6621a5028ff5ab143923a8b304693bd47be
MD5 5bfaddeac0ac39ca36e76a94b41d2751
BLAKE2b-256 86ca6a8fadf0b08e529ef13d3dbf8bd3ac96b2616c56325de136ce77cdf3a0b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page