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 twitsilver

How to install twitsilver

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

Twitsilver is a Quicksilver action for posting to twitter.

It features

Installation

Twitsilver installation is a two step process:

  1. easy_install the code
  2. custom install the Quicksilver action

This is because distutils (as a pure python, platform independant tool) doesn't know anything about Quicksilver actions. Therefore we create a quicksilver-aware installer for you, which you must invoke manually after easy_install has done its magic.

In other words, open the Terminal (/Applications/Utitlities/Terminal.app) and execute the following two commands:

System Message: WARNING/2 (<string>, line 21)

Literal block expected; none found.

sudo easy_install twitsilver install_twitsilver

If this fails due to missing PATH entries, you need to find the install_twitsilver script and execute it. As mentioned above, due to the sandbox restrictions of distutils it can't be copied to a more convenient location.

The installer will create a Quicksilver action and register twitsilver with growl. Unfortunately, the python bindings for Growl don't provide a way to actually enable the notifications it registrs. This means, you need to:

  • open the System Preferences control panel
  • select Growl
  • click the Applications tab
  • select Twitsilver from the list
  • click Configure...
  • click Notifications
  • select failure and success and for each click on enabled

After that you need to restart Quicksilver (Command-Control-q) and you're good to go.

Usage

Now you can invoke Quicksilver and press . to enter text mode. Type the message you want to post to twitter, hit the tab key and start to type tweet until the action shows up. Now just hit enter to invoke the it.

Credentials

Twitsilver uses the Mac OS X Keychain to know which username and password to use. It first checks, whether Twitterrific has any credentials stored and if so, it uses those.

If not, it falls back to an item by the name of twitter. To create this entry, open up Keychain Access and add a new password item (Command-n), give it the name twitter and your username and password.

Growl

Theoretically, twitsilver should also work without Growl, but this hasn't been tested, as there is no sane reason any Mac OS X user should not install this insanely useful utility :-)

After contacting twitter and posting the message twitsilver will use Growl to notify you that it has succeeded. If not, it will post twitters error message.

Of course, twitsilver checks the length of your message and will refuse to post it, if it's longer than the infamous 140 characters.

TODO

  • Currently twitsilver registers itself with Growl for every call. Ideally, this should be done only once, upon installation
  • use an URL shortening service to shorten any URLs before posting to twitter.
  • add a nicer icon (for growl)
  • twitsilver has no pony. This is unacceptable in the long run

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

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.