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.7.1.tar.gz (20.8 kB view details)

Uploaded Source

Built Distributions

twitter-1.7.1-py3.2.egg (55.3 kB view details)

Uploaded Source

twitter-1.7.1-py2.7.egg (55.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for twitter-1.7.1.tar.gz
Algorithm Hash digest
SHA256 f56da16d29bd9df47f791bfbe3e3215d0258415e8f737a8f031cc1e27951c787
MD5 37f9251fb62210927a6b54adee62a08e
BLAKE2b-256 a9eab1304252f2b17870d2125f264844cd13aa97612e81bbff9cf8d8c3d4c74b

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for twitter-1.7.1-py3.2.egg
Algorithm Hash digest
SHA256 45723d71314df95ae6e0e476fc4a7d1d958bdb4f4065c2a9e416df781e3c53d6
MD5 e1918c7bd0604785ba38f7a0b97b2dda
BLAKE2b-256 d17798a01d7f1f8e67ee47591ae45c7d5b77c5a1f5dd90ee36194eaf7caeeca1

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for twitter-1.7.1-py2.7.egg
Algorithm Hash digest
SHA256 6c1a0dbbe13c27f91f081e753d35cb2a819abb234ea9c6a8ff0b28e4f2cdfbaa
MD5 165b94962af25a77ae936db2274a0505
BLAKE2b-256 b1e05dd9b5fd5cb1a76e70eb05a357af5abc58f7f4e35fd3d8c97dcb13639bbd

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