Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install ptwit

How to install ptwit

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install ptwit
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.0.7 Available View build log
 
Author
License
MIT
Dependencies
Imports
Lastest release
version 0.0.7 on Jan 9th, 2014

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:

System Message: ERROR/3 (<string>, line 27)

Unknown directive type "code-block".

.. code-block:: bash

    $ pip install ptwit


Authorization

For the first time you run ptwit command, you will be asked 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.

You can also manually set your Twitter application information via the commands below:

System Message: ERROR/3 (<string>, line 43)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit config -g set consumer_key "CONSUMER KEY HERE"
    $ ptwit config -g set consumer_secret "CONSUMER SECRET HERE"

ptwit supports multiple Twitter accounts. You can always use the login command to log into a new account:

System Message: ERROR/3 (<string>, line 51)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit login

The command above will take you to the Twitter authorization page, and ask you to give a name for this account.

You can easily switch between accounts you've already authorized:

System Message: ERROR/3 (<string>, line 60)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit login ACCOUNT

To remove an account from your computer, use this command:

System Message: ERROR/3 (<string>, line 66)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit config remove ACCOUNT


Twitter Commands

Get home timeline

System Message: ERROR/3 (<string>, line 77)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit timeline            # latest tweets
    $ ptwit timeline -c 20      # latest 20 tweets

Get tweets of a Twitter user

System Message: ERROR/3 (<string>, line 85)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit tweets              # list your tweets
    $ ptwit tweets USER         # list someone's tweets

Get mentions or replies

System Message: ERROR/3 (<string>, line 93)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit mentions
    $ ptwit replies

Post a new tweet

System Message: ERROR/3 (<string>, line 101)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit post "YOUR STATUS"
    $ ptwit post < tweet.txt

Send direct message

System Message: ERROR/3 (<string>, line 109)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit send USER "YOUR MESSAGE"
    $ cat message.txt | ptwit send USER

List followings

System Message: ERROR/3 (<string>, line 117)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit followings

List followers

System Message: ERROR/3 (<string>, line 124)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit followers

Follow or unfollow Twitter users

System Message: ERROR/3 (<string>, line 131)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit follow USER
    $ ptwit unfollow USER

List your favorite tweets

System Message: ERROR/3 (<string>, line 139)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit faves

Get a Twitter user's information

System Message: ERROR/3 (<string>, line 146)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit whois USER

Search tweets

System Message: ERROR/3 (<string>, line 153)

Unknown directive type "code-block".

.. code-block:: bash

    $ ptwit search TERM


LICENSE

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

Subscribe to package updates

Last updated Jan 9th, 2014

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.