Commit graph

115 commits

Author SHA1 Message Date
f9cf79883d
Merge pull request #541 from altendky/patch-1
Update metadata to describe present support and CI testing
2021-07-16 15:27:06 -07:00
4be4a504a3 Push 3.9.0 2021-07-16 14:32:48 -07:00
Kyle Altendorf
0b6f372620
Update metadata to describe present support and CI testing 2021-02-06 17:47:42 -05:00
02fb35651d
Fixes #530, bump version to 3.8.2 2020-04-04 16:21:59 -07:00
e6b5364d28
Bump version for patching manifest 2020-04-03 02:22:33 -07:00
9718f54afe
Merge pull request #514 from jayvdb/py37
Add Python 3.7 support
2020-04-02 23:00:32 -07:00
7ce058e6fd
Resolve issues with Pypi publishing (RST -> MD) and bump to 3.8.0 2020-04-02 22:58:15 -07:00
33fccac46b
Fix this so Pypi publishing works again 2020-04-02 22:48:57 -07:00
John Vandenberg
a029433247 Add Python 3.7 support
Also remove branch restriction in .travis.yml which
prevents contributors from seeing builds on their forks.
2019-03-30 11:12:19 +07:00
Mike Helmick
c9e8a46200 Version 3.7.0 2018-05-07 12:52:54 -04:00
Mike Helmick
ede941cf1a Version 3.6.0 and update travis python versions 2017-08-23 11:29:20 -04:00
Mike Helmick
5a87fc7d84 Fixes #446, add Python 3 classifier to setup.py 2017-06-16 09:16:22 -04:00
Mike Helmick
574483d870 3.5.0 Release 2017-06-06 10:17:58 -04:00
Mike Helmick
3f6700373f
3.4.0 release, update version and history 2016-04-30 05:22:26 -04:00
Mike Helmick
faee7ea3ff Update AUTHORS.rst, Update HISTORY.rst, Update version
[ci skip]
2015-07-18 10:32:30 -04:00
Mike Helmick
02d1a946c1 Unpin requests 2014-10-30 16:49:03 -04:00
Mike Helmick
8548a31238 Changing versions, adding AUTHORS & HISTORY 2014-10-30 11:14:34 -04:00
Joe Cabrera
a0fec2f004 pep8 finished 2014-07-26 11:48:36 -04:00
Mike Helmick
0937fbe929 Fix Changelog, update version
[ci skip]
2013-12-06 11:14:39 -05:00
Mike Helmick
c2068466af Update requests version, HISTORY.rst, prepare for 3.1.1 release 2013-12-05 18:15:30 -05:00
Mike Helmick
6c2cac76a5 Update lib versions, update gitignore
[ci skip]
2013-10-26 19:04:08 -04:00
Ben McGinnes
5ff6db186e Update setup.py
Copied setup import from Python-Requests so it does not fail on some platforms (e.g. Nokia N9/MeeGo).
2013-10-20 14:51:39 +11:00
Mike Helmick
a0b7c88402 Fixing travis encrypted keys, version number and requests requirement 2013-09-24 15:55:50 -04:00
Mike Helmick
53b930b75f Update requests requirement, update READMEs, new secure variables, attempting better coverage reports
Secure variables were exposed. Had to make new ones.
2013-06-11 14:03:26 -04:00
Mike Helmick
b9b7199cc6 Update requirements
nose-cov==1.6

really hope this works >__>
2013-06-11 13:24:11 -04:00
Mike Helmick
8c41a3e9da Ugh, still trying to figure this coveralls thing out. 2013-06-11 12:52:22 -04:00
Mike Helmick
ea178df702 Trying to get coveralls and nose working.
Programming is hard
2013-06-11 11:44:31 -04:00
Mike Helmick
d86f2b0e00 Attempting coveralls again. 2013-06-08 17:06:14 -04:00
Mike Helmick
47e1b7c158 3.0.0
## 3.0.0

- Changed ``twython/twython.py`` to ``twython/api.py`` in attempt to
make structure look a little neater
- Removed all camelCase function access (anything like
``getHomeTimeline`` is now ``get_home_timeline``) Fixes #199
- Removed ``shorten_url``. With the ``requests`` library, shortening a
URL on your own is simple enough
- ``twitter_token``, ``twitter_secret`` and ``callback_url`` are no
longer passed to ``Twython.__init__`` Fixes #185
    - ``twitter_token`` and ``twitter_secret`` have been replaced with
``app_key`` and ``app_secret`` respectively
    - ``callback_url`` is now passed through
``Twython.get_authentication_tokens``

[ci skip]
2013-05-30 18:16:39 -04:00
Mike Helmick
4327ff30df Cleaning up a bit
[ci skip]
2013-05-30 17:48:47 -04:00
Mike Helmick
894e94a4cd 2.10.1
- More test coverage!
- Fix ``search_gen``
- Fixed ``get_lastfunction_header`` to actually do what its docstring
says, returns ``None`` if header is not found
- Updated some internal API code, ``__init__`` didn't need to have
``self.auth`` and ``self.headers`` because they were never used
anywhere else but the ``__init__``
2013-05-29 11:41:03 -04:00
Mike Helmick
52609334bd Update description and long description
[ci skip]
2013-05-21 19:29:15 -04:00
Mike Helmick
bf7b6727dd Update requirements.txt and requirements in setup.py 2013-05-21 18:22:30 -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
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
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
828d355ad2 Update version 2013-05-04 19:29:55 -04:00
Mike Helmick
b7d68c6136 requests_oauthlib==0.3.1, fixes #154 2013-05-04 15:12:21 -04:00
Mike Helmick
c3e84bc8ee Fixing streaming 2013-05-02 15:12:36 -04: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
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
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
d228e04bc0 Version bump! 2013-04-12 11:40:05 -04:00
Mike Helmick
10dbe11b56 Version bump and update contributors! 2013-04-08 16:40:59 -04:00
Mike Helmick
4a181d3ac1 Version bump! 2013-04-08 11:51:34 -04:00
Mike Helmick
abaa3e558a oauth_verifier required, remove simplejson dependency, update endpoint
* Update `updateProfileBannerImage` to use the v1.1 endpoint

* Added `getProfileBannerSizes` method using the GET
/users/profile_banner.json endpoint

* Fixed a couple of endpoints using variable in the url:
  * destroyDirectMessage, createBlock, destroyBlock no longer use id in
their urls, this shouldn't break anything though.
(t.destroyDirectMessage(id=123) should still work)

* `oauth_verifier` is now **required** when calling
`get_authorized_tokens`

* Updated docs - removed getProfileImageUrl docs since it is
deprecated. Noted since `Twython` 2.7.0 that users should focus on
migrating to v1.1 endpoints since Twitter is deprecating v1 endpoints
in May!,
2013-04-08 11:49:12 -04:00
Mike Helmick
fffedd4588 Version bump 2013-04-04 14:52:32 -04:00
Mike Helmick
a6afb2cf5c Version bump! 2013-03-31 12:38:07 -04:00
Mike Helmick
a172136f3e Update Twitter Endpoints & Internal Functions
* Twitter Endpoints are now in the order of
https://dev.twitter.com/docs/api/1.1

* No need to repeat search function internally when it is available via
`twitter_endpoints.py`

* Make `searchGen` use self.search, instead of self.get with the full
search url
2013-03-20 23:24:26 -04:00