Skip to main content

An API and command-line toolset for Twitter (twitter.com)

Project description

Python Twitter Tools

The Minimalist Twitter API for Python is a Python API for Twitter, everyone’s favorite Web 2.0 Facebook-style status updater for people on the go.

Also included is a twitter command-line tool for getting your friends’ tweets and setting your own tweet from the safety and security of your favorite shell and an IRC bot that can announce Twitter updates to an IRC channel.

For more information, after installing the twitter package:

  • import the twitter package and run help() on it

  • run twitter -h for command-line tool help

  • run twitterbot -h for IRC bot help

  • visit http://mike.verdone.ca/twitter for more info

The Command-Line Tool

The command-line tool currently supports the following things:

  • view your friends’ recent tweets

  • view your recent replies

  • view the public timeline

  • follow and unfollow (leave) friends

  • view tweets from lists

  • various output formats for tweet information

  • read your username and password from a config file

The bottom line: type twitter, receive tweets.

The IRC Bot

The IRC bot is associated with a twitter account (either your own account or an account you create for the bot). The bot announces all tweets from friends it is following. It can be made to follow or leave friends through IRC /msg commands.

twitter-log

twitter-log is a simple command-line tool that dumps all public tweets from a given user in a simple text format. It is useful to get a complete offsite backup of all your tweets. Run twitter-log and read the instructions.

Python Twitter Tools are released under an MIT License.

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

twitter-1.6.tar.gz (20.3 kB view details)

Uploaded Source

Built Distributions

twitter-1.6-py3.2.egg (53.8 kB view details)

Uploaded Source

twitter-1.6-py2.7.egg (53.5 kB view details)

Uploaded Source

File details

Details for the file twitter-1.6.tar.gz.

File metadata

  • Download URL: twitter-1.6.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for twitter-1.6.tar.gz
Algorithm Hash digest
SHA256 1d8bc04c3d79cdaba9b185d57b48760503daf4afbe9fca60d09c5b4d8e68d757
MD5 46030723c44efb2949eaadc8b603bd3e
BLAKE2b-256 a7fcb33c950bd66da1c47fb1c0c513f7c146ae1f8fbd3ceb22aaeaab763a363e

See more details on using hashes here.

Provenance

File details

Details for the file twitter-1.6-py3.2.egg.

File metadata

  • Download URL: twitter-1.6-py3.2.egg
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for twitter-1.6-py3.2.egg
Algorithm Hash digest
SHA256 edbef98c44b6975480e40c0126c2cf68700c5df522631bb4340a2cd3913225ba
MD5 466ffeadcd396b07946b478335358953
BLAKE2b-256 4606f4f48d1ad07e7436747bebd3934b09d4570d86511097a1723fec4793e260

See more details on using hashes here.

Provenance

File details

Details for the file twitter-1.6-py2.7.egg.

File metadata

  • Download URL: twitter-1.6-py2.7.egg
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for twitter-1.6-py2.7.egg
Algorithm Hash digest
SHA256 62130ca9baed8f6eb7a2414e7cc8d706a74e98392435ada42eb20f4e97f246d8
MD5 506ad3140bb5fb03ec0112b20ce61250
BLAKE2b-256 b6aa8a82cfc1942ba2d0112a67185db84c7d96641d3d847e77c519afc5d94182

See more details on using hashes here.

Provenance

Supported by

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