Commit graph

683 commits

Author SHA1 Message Date
Mike Helmick
52609334bd Update description and long description
[ci skip]
2013-05-21 19:29:15 -04:00
Mike Helmick
78c1a95dc3 Update MANIFEST and HISTORY
[ci skip]
2013-05-21 19:14:20 -04:00
Mike Helmick
48e7ccd39c Add Travis Image to READMEs
[ci skip]
2013-05-21 18:30:37 -04:00
Mike Helmick
bf7b6727dd Update requirements.txt and requirements in setup.py 2013-05-21 18:22:30 -04:00
Mike Helmick
050835e660 construct_api_url params as kwarg
Sometimes params isn't doesn't have to be passed
[ci skip]
2013-05-21 15:20:17 -04:00
Mike Helmick
126305d93d Revert removing unicode2utf8 and encode staticmethods
[ci skip]
2013-05-21 12:52:17 -04:00
Mike Helmick
c7bce9189f Update requests dependency, add str py2/3 compat, __repr__ definition, removed unicode2utf8 & encode static methods, update HISTORY
@ryanmcgrath Let me know if you're okay with the removal of
Twython.unicode2utf8 and Twython.encode. I moved Twython.encode to
_encode in helpers.py (only place being used is
Twython.construct_api_url) If it's python 2 and unicode then we encode
it, otherwise return the original value

[ci skip]
2013-05-21 11:41:43 -04:00
Mike Helmick
3dbef22cee Remove unused compat types from compat.py
[ci skip]
2013-05-20 10:31:32 -04:00
Mike Helmick
f7f19dbdc3 Updated app/oauth secure keys
They we're exposed in Travis before, so we got to keep them secret ;)
[ci skip]
2013-05-18 10:45:25 -04:00
Mike Helmick
c00647a5a0 Remove report_spam test, update tests with --logging-filter
* report spam was being abused and started turning a 403
* try to only log messages from twython, oauthlib is exposing our
secrets when tests fail :(
2013-05-17 21:32:44 -04:00
Mike Helmick
48fc5d4c36 Update READMEs with nice "# of downloads" image
[ci skip]
2013-05-17 13:13:55 -04:00
Mike Helmick
35d8402173 Include ints in params too
Oops ;P
2013-05-16 14:45:38 -04:00
Mike Helmick
c42a987f38 basestring compat for python 3 transparent params 2013-05-16 14:32:58 -04:00
Mike Helmick
27c51b8ba6 Fixes #192, update HISTORY 2013-05-16 14:15:11 -04:00
Mike Helmick
6238912b96 Update examples and READMEs
[ci skip]
2013-05-16 13:36:46 -04:00
Mike Helmick
ea0b646fd1 Fixes #194
[ci skip]
2013-05-16 12:40:25 -04:00
Mike Helmick
008c53048a Cooler twitter handle, different secure tokens 2013-05-15 21:23:50 -04:00
Mike Helmick
00f8fe8705 Merge pull request #196 from ryanmcgrath/tests
Tests
2013-05-15 14:57:44 -07:00
Mike Helmick
077406a8b3 Adding coverage to requirements 2013-05-15 17:38:28 -04:00
Mike Helmick
a76b93e491 Okay, let's try this secure stuff again 2013-05-15 16:55:55 -04:00
Mike Helmick
bb5e0dece1 Adding secure travis keys
Changed keys for the old dev app, so they're invalid now. Adding secure
generated keys for app key/secret, oauth token/secret
2013-05-15 16:36:53 -04:00
Mike Helmick
0d3ae38c39 Update .travis.yml 2013-05-14 22:07:05 -04:00
Mike Helmick
d3e17dcd4b Auth test, updating func names and tests that failed
Coverage 56%
2013-05-14 21:52:25 -04:00
Mike Helmick
6841e7ef28 Tests for all main endpoints 2013-05-14 21:34:22 -04:00
Mike Helmick
5534ea2480 Fixes #193, fixed when Warning is raised, fixed error raising, version bump
- Added `get_retweeters_ids` method
- Fixed `TwythonDeprecationWarning` on camelCase functions if the
camelCase was the same as the PEP8 function (i.e. ``Twython.retweet``
did not change)
- Fixed error message bubbling when error message returned from Twitter
was not an array (i.e. if you try to retweet something twice, the error
is not found at index 0)
2013-05-10 21:28:57 -04:00
Ryan McGrath
f0f0d12a60 One more thing worth noting 2013-05-04 20:35:13 -04:00
Ryan McGrath
bd0bd2748c Updated docs to fix verbage and note PEP8 swapover for anyone who misses it 2013-05-04 20:33:11 -04:00
Mike Helmick
60b2e14bef Update READMEs, fixed streaming pkg error
Removed Twython 1.3 note from READMEs, explained dynamic function
arguments in another place

Fixed error that caused users to not be able to install 2.9.0
2013-05-04 20:15:02 -04:00
Mike Helmick
9aa557ac93 Merge pull request #188 from ryanmcgrath/pep8-functions
Update all endpoints in the api_table for PEP8 functions, examples, READMEs, etc
2013-05-04 16:48:02 -07:00
Mike Helmick
600f36c6ba Catch the four methods that won't get caught with our deprecation fix 2013-05-04 19:46:23 -04:00
Mike Helmick
498bd9e557 Update more old function names in README 2013-05-04 19:35:21 -04:00
Mike Helmick
828d355ad2 Update version 2013-05-04 19:29:55 -04:00
Mike Helmick
84e4c5fe13 Update all endpoints in the api_table, examples, READMEs
Also updated functions in twython.py to use pep8 functions instead of
camelCase functions
2013-05-04 19:28:47 -04:00
Mike Helmick
0e258fe1a1 Update HISTORY 2013-05-04 15:13:29 -04:00
Mike Helmick
b7d68c6136 requests_oauthlib==0.3.1, fixes #154 2013-05-04 15:12:21 -04:00
Mike Helmick
44936d5f09 Merge pull request #187 from ryanmcgrath/streaming
Fixing streaming, fixes #144
2013-05-04 12:05:12 -07:00
Mike Helmick
cea0852a42 Updating file structure and HISTORY.rst 2013-05-03 17:33:17 -04:00
Mike Helmick
97a33ce8dd Merge Handling into TwythonStreamer, update examples 2013-05-03 16:57:59 -04:00
Mike Helmick
c3e84bc8ee Fixing streaming 2013-05-02 15:12:36 -04:00
Mike Helmick
e18bff97d3 Update HISTORY.rst 2013-04-29 14:30:30 -03:00
Mike Helmick
b6e820d792 Remove version.py for now
Was causing conflicts on pip install
2013-04-29 12:04:22 -04:00
Mike Helmick
32432bcac9 Update perms 2013-04-29 11:42:34 -04:00
Mike Helmick
f3d4a0d641 Merge pull request #183 from ryanmcgrath/python3-compat
Python 3 Compatibility
2013-04-29 08:27:43 -07:00
Mike Helmick
776e02b071 Updated AUTHORS, HISTORY; added ssl_verify; removed _media_update
- Added @jvanasco to the AUTHORS.rst
- Updated History
- Removed _media_update internal function
- Twython now takes ssl_verify param
2013-04-29 11:27:15 -04:00
Mike Helmick
a451db43c1 Removed bulkUserLookup & getProfileImageUrl, deprecating shortenUrl, raise TwythonDepWarnings in Python 2.7 > 2013-04-22 21:29:07 -04:00
Mike Helmick
d4c19fc3a9 Version bump 2013-04-19 02:14:22 -04:00
Mike Helmick
4ac6436901 Update Examples and LICENSE
Some examples were out of date (any trends example)
Renamed the core_examples dir. to examples
2013-04-18 22:27:50 -04:00
Mike Helmick
bb019d3a57 Making twython work (again?) in Python 3
- Added a ``HISTORY.rst`` to start tracking history of changes
- Updated ``twitter_endpoints.py`` to ``endpoints.py`` for cleanliness
- Removed twython3k directory, no longer needed
- Added ``compat.py`` for compatability with Python 2.6 and greater
- Added some ascii art, moved description of Twython and ``__author__`` to ``__init__.py``
- Added ``version.py`` to store the current Twython version, instead of repeating it twice -- it also had to go into it's own file because of dependencies of ``requests`` and ``requests-oauthlib``, install would fail because those libraries weren't installed yet (on fresh install of Twython)
- Removed ``find_packages()`` from ``setup.py``, only one package -- we can
just define it
- added quick publish method for Ryan and I: ``python setup.py publish`` is faster to type and easier to remember than ``python setup.py sdist upload``
- Removed ``base_url`` from ``endpoints.py`` because we're just repeating it in
``Twython.__init__``
- ``Twython.get_authentication_tokens()`` now takes ``callback_url`` argument rather than passing the ``callback_url`` through ``Twython.__init__``, ``callback_url`` is only used in the ``get_authentication_tokens`` method and nowhere else (kept in init though for backwards compatability)
- Updated README to better reflect current Twython codebase
- Added ``warnings.simplefilter('default')`` line in ``twython.py`` for Python 2.7 and greater to display Deprecation Warnings in console
- Added Deprecation Warnings for usage of ``twitter_token``, ``twitter_secret`` and ``callback_url`` in ``Twython.__init__``
- Headers now always include the User-Agent as Twython vXX unless User-Agent is overwritten
- Removed senseless TwythonError thrown if method is not GET or POST, who cares -- if the user passes something other than GET or POST just let Twitter return the error that they messed up
- Removed conversion to unicode of (int, bool) params passed to a requests. ``requests`` isn't greedy about variables that can't be converted to unicode anymore
2013-04-18 22:00:23 -04:00
Mike Helmick
8ecc55b5ad Merge pull request #180 from namimi/master
Comments correction for get_lastfunction_header()
2013-04-15 13:45:39 -07:00
Mike Helmick
80c74880b1 Update authors 2013-04-15 16:15:52 -04:00