From d1c579af31c1ed98fe68421be68d2391ede0f31c Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Thu, 17 Dec 2009 02:14:44 -0500 Subject: [PATCH] Rearranging Twython to be a proper package structure --- twython.py => core/twython.py | 0 twython3k.py => core/twython3k.py | 0 oauth.py => oauth/oauth.py | 0 twython_oauth.py => oauth/twython_oauth.py | 0 .../twython_streaming.py | 0 twython.egg-info/PKG-INFO | 64 ------------------- twython.egg-info/SOURCES.txt | 7 -- twython.egg-info/dependency_links.txt | 1 - twython.egg-info/requires.txt | 2 - twython.egg-info/top_level.txt | 1 - 10 files changed, 75 deletions(-) rename twython.py => core/twython.py (100%) rename twython3k.py => core/twython3k.py (100%) rename oauth.py => oauth/oauth.py (100%) rename twython_oauth.py => oauth/twython_oauth.py (100%) rename twython_streaming.py => streaming/twython_streaming.py (100%) delete mode 100644 twython.egg-info/PKG-INFO delete mode 100644 twython.egg-info/SOURCES.txt delete mode 100644 twython.egg-info/dependency_links.txt delete mode 100644 twython.egg-info/requires.txt delete mode 100644 twython.egg-info/top_level.txt diff --git a/twython.py b/core/twython.py similarity index 100% rename from twython.py rename to core/twython.py diff --git a/twython3k.py b/core/twython3k.py similarity index 100% rename from twython3k.py rename to core/twython3k.py diff --git a/oauth.py b/oauth/oauth.py similarity index 100% rename from oauth.py rename to oauth/oauth.py diff --git a/twython_oauth.py b/oauth/twython_oauth.py similarity index 100% rename from twython_oauth.py rename to oauth/twython_oauth.py diff --git a/twython_streaming.py b/streaming/twython_streaming.py similarity index 100% rename from twython_streaming.py rename to streaming/twython_streaming.py diff --git a/twython.egg-info/PKG-INFO b/twython.egg-info/PKG-INFO deleted file mode 100644 index 8359b77..0000000 --- a/twython.egg-info/PKG-INFO +++ /dev/null @@ -1,64 +0,0 @@ -Metadata-Version: 1.0 -Name: twython -Version: 0.9 -Summary: An easy (and up to date) way to access Twitter data with Python. -Home-page: http://github.com/ryanmcgrath/twython/tree/master -Author: Ryan McGrath -Author-email: ryan@venodesigns.net -License: MIT License -Description: Twython - Easy Twitter utilities in Python - ========================================================================================= - I wrote Twython 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 and Streaming API support is in the works, but every other part of the Twitter API should be covered. Twython - handles both Basic (HTTP) Authentication and OAuth (Older versions (pre 0.9) of Twython need Basic Auth specified - - to override this, specify 'authtype="Basic"' in your twython.setup() call). - - Twython has Docstrings if you want function-by-function plays; otherwise, check the Twython Wiki or - Twitter's API Wiki (Twython calls mirror most of the methods listed there). - - Requirements - ----------------------------------------------------------------------------------------------------- - Twython 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 twython - > - > twitter = twython.setup(username="example", password="example") - > twitter.updateStatus("See how easy this was?") - - - Twython 3k - ----------------------------------------------------------------------------------------------------- - There's an experimental version of Twython 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 Twython 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. - - Twython is released under an MIT License - see the LICENSE file for more information. - -Keywords: twitter search api tweet twython -Platform: UNKNOWN -Classifier: Development Status :: 4 - Beta -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Topic :: Software Development :: Libraries :: Python Modules -Classifier: Topic :: Communications :: Chat -Classifier: Topic :: Internet diff --git a/twython.egg-info/SOURCES.txt b/twython.egg-info/SOURCES.txt deleted file mode 100644 index 26a7786..0000000 --- a/twython.egg-info/SOURCES.txt +++ /dev/null @@ -1,7 +0,0 @@ -setup.py -twython.py -twython.egg-info/PKG-INFO -twython.egg-info/SOURCES.txt -twython.egg-info/dependency_links.txt -twython.egg-info/requires.txt -twython.egg-info/top_level.txt \ No newline at end of file diff --git a/twython.egg-info/dependency_links.txt b/twython.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/twython.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/twython.egg-info/requires.txt b/twython.egg-info/requires.txt deleted file mode 100644 index 58cf212..0000000 --- a/twython.egg-info/requires.txt +++ /dev/null @@ -1,2 +0,0 @@ -setuptools -simplejson \ No newline at end of file diff --git a/twython.egg-info/top_level.txt b/twython.egg-info/top_level.txt deleted file mode 100644 index 292a670..0000000 --- a/twython.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -twython