Skip to content

altf/tango

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tango - Easy Twitter utilities in Python
-----------------------------------------------------------------------------------------------------
I wrote Tango because I found that other Python Twitter libraries weren't that up to date. Certain
things like the Search API, OAuth, etc, don't seem to be fully covered. This is my attempt at
a library that offers more coverage.

This is my first library I've ever written in Python, so there could be some stuff in here that'll
make a seasoned Python vet scratch his head, or possibly call me insane. It's open source, though,
and I'm open to anything that'll improve the library as a whole.

OAuth support is in the works, but every other part of the Twitter API should be covered. Tango
handles both Basic (HTTP) Authentication and OAuth, and OAuth is the default method for
Authentication. To override this, specify 'authtype="Basic"' in your tango.setup() call.

Documentation is forthcoming, but Tango attempts to mirror the Twitter API in a large way. All
parameters for API calls should translate over as function arguments.


Requirements
-----------------------------------------------------------------------------------------------------
Tango requires (much like Python-Twitter, because they had the right idea :D) a library called
"simplejson". You can grab it at the following link:

http://pypi.python.org/pypi/simplejson


Example Use
-----------------------------------------------------------------------------------------------------
import tango

twitter = tango.setup(authtype="Basic", username="example", password="example")
twitter.updateStatus("See how easy this was?")


Tango 3k
-----------------------------------------------------------------------------------------------------
There's an experimental version of Tango that's made for Python 3k. This is currently not guaranteed
to work, but it's provided so that others can grab it and hack on it. If you choose to try it out,
be aware of this.


Questions, Comments, etc?
-----------------------------------------------------------------------------------------------------
My hope is that Tango is so simple that you'd never *have* to ask any questions, but if
you feel the need to contact me for this (or other) reasons, you can hit me up 
at ryan@venodesigns.net.

Tango is released under an MIT License - see the LICENSE file for more information.

About

An up to date, pure Python wrapper for the Twitter API. Supports Twitter's main API, Twitter's search API, and (soon) using OAuth with Twitter/Streaming API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published