tweepy.git
3 years agoSend coverage to Coveralls in GitHub Actions Test workflow
Harmon [Wed, 23 Dec 2020 22:22:57 +0000 (16:22 -0600)]
Send coverage to Coveralls in GitHub Actions Test workflow

3 years agoUpdate dev requirement for coveralls
Harmon [Wed, 23 Dec 2020 22:22:21 +0000 (16:22 -0600)]
Update dev requirement for coveralls

from >= 1.8.2 to >= 2.1.0, for GitHub Actions support fix:
https://github.com/coveralls-clients/coveralls-python/releases/tag/2.1.0

3 years agoMerge pull request #1482 from tweepy/python-2-support-removal
Harmon [Sun, 27 Dec 2020 22:19:01 +0000 (16:19 -0600)]
Merge pull request #1482 from tweepy/python-2-support-removal

Drop support for Python 2

3 years agoFix formatting inconsistency in Stream._run
Harmon [Sun, 27 Dec 2020 00:25:49 +0000 (18:25 -0600)]
Fix formatting inconsistency in Stream._run

3 years agoImprove formatting in is_rate_limit_error_message function
Harmon [Sat, 26 Dec 2020 10:36:33 +0000 (04:36 -0600)]
Improve formatting in is_rate_limit_error_message function

3 years agoRemove API.geo_similar_places
Harmon [Sat, 26 Dec 2020 09:55:14 +0000 (03:55 -0600)]
Remove API.geo_similar_places

The method was undocumented, and the API endpoint it uses hasn't been documented in years and errors now.

3 years agoUpdate documentation for sep parameter for ReadBuffer.read_line
Harmon [Sat, 26 Dec 2020 09:34:58 +0000 (03:34 -0600)]
Update documentation for sep parameter for ReadBuffer.read_line

3 years agoUse next built-in function in place of next method for iterators
Harmon [Sat, 26 Dec 2020 09:18:46 +0000 (03:18 -0600)]
Use next built-in function in place of next method for iterators

3 years agoRemove Python 2.7 from tox configuration
Harmon [Sat, 26 Dec 2020 09:08:07 +0000 (03:08 -0600)]
Remove Python 2.7 from tox configuration

3 years agoRemove cPickle import attempt
Harmon [Sat, 26 Dec 2020 09:07:10 +0000 (03:07 -0600)]
Remove cPickle import attempt

3 years agoSpecify support for Python 3.5 - 3.9 in README
Harmon [Sat, 26 Dec 2020 08:45:09 +0000 (02:45 -0600)]
Specify support for Python 3.5 - 3.9 in README

3 years agoUpdate setup classifiers to be only Python 3
Harmon [Sat, 26 Dec 2020 08:44:09 +0000 (02:44 -0600)]
Update setup classifiers to be only Python 3

3 years agoUpdate Python requirement to >= 3.5
Harmon [Sat, 26 Dec 2020 08:40:12 +0000 (02:40 -0600)]
Update Python requirement to >= 3.5

3 years agoRemove Python 2.7 from GitHub Actions Test workflow
Harmon [Sat, 26 Dec 2020 08:39:18 +0000 (02:39 -0600)]
Remove Python 2.7 from GitHub Actions Test workflow

3 years agoRemove six requirement
Harmon [Sat, 26 Dec 2020 08:37:17 +0000 (02:37 -0600)]
Remove six requirement

3 years agoReplace six.reraise
Harmon [Sat, 26 Dec 2020 08:33:59 +0000 (02:33 -0600)]
Replace six.reraise

3 years agoRemove unnecessary attributes for super
Harmon [Sat, 26 Dec 2020 08:19:22 +0000 (02:19 -0600)]
Remove unnecessary attributes for super

3 years agoRemove subclassing of object
Harmon [Sat, 26 Dec 2020 08:14:56 +0000 (02:14 -0600)]
Remove subclassing of object

3 years agoReplace six.text_type with str
Harmon [Sat, 26 Dec 2020 08:07:47 +0000 (02:07 -0600)]
Replace six.text_type with str

3 years agoReplace six.b with b prefix for bytes literals
Harmon [Sat, 26 Dec 2020 08:02:07 +0000 (02:02 -0600)]
Replace six.b with b prefix for bytes literals

3 years agoReplace six.BytesIO with io.BytesIO
Harmon [Sat, 26 Dec 2020 07:57:24 +0000 (01:57 -0600)]
Replace six.BytesIO with io.BytesIO

3 years agoRemove no longer used variable in streaming tests
Harmon [Sat, 26 Dec 2020 07:52:47 +0000 (01:52 -0600)]
Remove no longer used variable in streaming tests

3 years agoUpdate urllib.parse.quote and urllib.parse.urlencode imports
Harmon [Sat, 26 Dec 2020 07:49:17 +0000 (01:49 -0600)]
Update urllib.parse.quote and urllib.parse.urlencode imports

3 years agoUpdate urllib.parse.parse_qs import
Harmon [Sat, 26 Dec 2020 07:47:00 +0000 (01:47 -0600)]
Update urllib.parse.parse_qs import

3 years agoUpdate HTTPConnection import
Harmon [Sat, 26 Dec 2020 07:44:41 +0000 (01:44 -0600)]
Update HTTPConnection import

3 years agoRemove input import from six.moves
Harmon [Sat, 26 Dec 2020 07:43:48 +0000 (01:43 -0600)]
Remove input import from six.moves

3 years agoRemove u prefix from strings
Harmon [Sat, 26 Dec 2020 07:41:03 +0000 (01:41 -0600)]
Remove u prefix from strings

3 years agoRemove absolute_import and print_function imports from __future__
Harmon [Sat, 26 Dec 2020 07:36:35 +0000 (01:36 -0600)]
Remove absolute_import and print_function imports from __future__

3 years agoUse HTTPS for badge image URLs in README
Harmon [Sat, 26 Dec 2020 07:30:38 +0000 (01:30 -0600)]
Use HTTPS for badge image URLs in README

3 years agoUpdate documentation badge to v3.10.0 in README
Harmon [Sat, 26 Dec 2020 02:24:48 +0000 (20:24 -0600)]
Update documentation badge to v3.10.0 in README

3 years agoAllow GitHub Actions Deploy workflow to be manually triggered
Harmon [Sat, 26 Dec 2020 02:21:46 +0000 (20:21 -0600)]
Allow GitHub Actions Deploy workflow to be manually triggered

3 years agoExplicitly install wheel in GitHub Actions Deploy workflow
Harmon [Sat, 26 Dec 2020 02:16:42 +0000 (20:16 -0600)]
Explicitly install wheel in GitHub Actions Deploy workflow

As it's not required by Twine

3 years agoRelease v3.10.0
Harmon [Sat, 26 Dec 2020 02:06:15 +0000 (20:06 -0600)]
Release v3.10.0

3 years agoAdd changelog for version 3.10.0
Harmon [Sat, 26 Dec 2020 02:02:55 +0000 (20:02 -0600)]
Add changelog for version 3.10.0

3 years agoMerge pull request #1444 from brett-schneider/master
Harmon [Sat, 26 Dec 2020 00:51:08 +0000 (18:51 -0600)]
Merge pull request #1444 from brett-schneider/master

fixed Issue #1443

3 years agoRemove extraneous changes
Harmon [Sat, 26 Dec 2020 00:48:27 +0000 (18:48 -0600)]
Remove extraneous changes

3 years agoMerge pull request #1475 from keatonconrad/master
Harmon [Sat, 26 Dec 2020 00:41:34 +0000 (18:41 -0600)]
Merge pull request #1475 from keatonconrad/master

Allows media upload from BytesIO

3 years agoMerge branch 'master' into master
Harmon [Sat, 26 Dec 2020 00:38:27 +0000 (18:38 -0600)]
Merge branch 'master' into master

3 years agoAdd support for Python 3.9
Harmon [Thu, 24 Dec 2020 08:07:07 +0000 (02:07 -0600)]
Add support for Python 3.9

3 years agoRename job in GitHub Actions Test workflow
Harmon [Wed, 23 Dec 2020 21:23:14 +0000 (15:23 -0600)]
Rename job in GitHub Actions Test workflow

build -> test

3 years agoAdd status badge for GitHub Actions Test workflow to README
Harmon [Wed, 23 Dec 2020 20:25:20 +0000 (14:25 -0600)]
Add status badge for GitHub Actions Test workflow to README

3 years agoFix GitHub Actions Deploy workflow command to create source distribution
Harmon [Wed, 23 Dec 2020 20:19:39 +0000 (14:19 -0600)]
Fix GitHub Actions Deploy workflow command to create source distribution

3 years agoSimplify dependency installation in GitHub Actions Deploy workflow
Harmon [Wed, 23 Dec 2020 20:18:03 +0000 (14:18 -0600)]
Simplify dependency installation in GitHub Actions Deploy workflow

Twine requires setuptools and wheel, so installing twine should already install both

3 years agoChange GitHub Actions Deploy workflow to run when releases are published
Harmon [Wed, 23 Dec 2020 20:16:56 +0000 (14:16 -0600)]
Change GitHub Actions Deploy workflow to run when releases are published

Rather than when created, so that saving a draft release doesn't trigger the workflow

3 years agoCapitalize GitHub Actions workflow name
Harmon [Wed, 23 Dec 2020 20:15:13 +0000 (14:15 -0600)]
Capitalize GitHub Actions workflow name

test -> Test
for consistency

3 years agoResolving media_upload conflicts
Keaton Conrad [Tue, 22 Dec 2020 18:33:51 +0000 (12:33 -0600)]
Resolving media_upload conflicts

Co-authored-by: Harmon <Harmon758@gmail.com>
3 years agoResets cursor to beginning of file after guessing file type
keatonconrad [Tue, 22 Dec 2020 17:51:22 +0000 (11:51 -0600)]
Resets cursor to beginning of file after guessing file type

3 years agoMerge pull request #1413 from fkropfhamer/no_saved_file
Harmon [Tue, 22 Dec 2020 17:34:31 +0000 (11:34 -0600)]
Merge pull request #1413 from fkropfhamer/no_saved_file

Fixes #1412

3 years agoUpdate tweepy/api.py
Fabian Kropfhamer [Tue, 22 Dec 2020 17:17:55 +0000 (18:17 +0100)]
Update tweepy/api.py

Co-authored-by: Harmon <Harmon758@gmail.com>
3 years agoadded check if before reading file
Fabian Kropfhamer [Tue, 22 Dec 2020 16:49:57 +0000 (17:49 +0100)]
added check if before reading file

3 years agoMerge pull request #1458 from dplefevre/doc_fix
Harmon [Mon, 21 Dec 2020 05:48:51 +0000 (23:48 -0600)]
Merge pull request #1458 from dplefevre/doc_fix

Fixed issue #1410

3 years agoUpdate docs/api.rst
Daniel Lefevre [Mon, 21 Dec 2020 05:29:28 +0000 (00:29 -0500)]
Update docs/api.rst

Co-authored-by: Harmon <Harmon758@gmail.com>
3 years agoAdded missing allowed params to home_timeline in api.py
Daniel Lefevre [Sat, 19 Dec 2020 23:05:19 +0000 (18:05 -0500)]
Added missing allowed params to home_timeline in api.py

3 years agoAdded 'include_entities' to home_timeline docstring in api.rst
Daniel Lefevre [Sat, 19 Dec 2020 23:02:41 +0000 (18:02 -0500)]
Added 'include_entities' to home_timeline docstring in api.rst

3 years agoRemoved 'exclude_replies' from parameters.rst and added description to home_timeline...
Daniel Lefevre [Sat, 19 Dec 2020 23:01:29 +0000 (18:01 -0500)]
Removed 'exclude_replies' from parameters.rst and added description to home_timeline docstring in api.rst

3 years agoReordered 'count' in to be first allowed parameter for home_timeline
Daniel Lefevre [Sat, 19 Dec 2020 22:45:03 +0000 (17:45 -0500)]
Reordered 'count' in to be first allowed parameter for home_timeline

3 years agoRemoved erroneous 'page' parameter from API.home_timeline docstring
Daniel Lefevre [Sat, 19 Dec 2020 22:30:10 +0000 (17:30 -0500)]
Removed erroneous 'page' parameter from API.home_timeline docstring

3 years agoRemove API.update_profile_background_image
Harmon [Sat, 19 Dec 2020 10:28:30 +0000 (04:28 -0600)]
Remove API.update_profile_background_image

Resolves #1466
The POST account/update_profile_background_image endpoint has been deprecated and removed, since background profile images have not been available or visible on Twitter.com since July 2015.
https://twittercommunity.com/t/upcoming-changes-to-the-developer-platform/104603

3 years agoFixed None value error in f.read()
keatonconrad [Sat, 19 Dec 2020 05:14:59 +0000 (23:14 -0600)]
Fixed None value error in f.read()

3 years agoUpdate cassette for API.get_oembed test
Harmon [Fri, 18 Dec 2020 13:26:59 +0000 (07:26 -0600)]
Update cassette for API.get_oembed test

3 years agoUpdate test for API.get_oembed
Harmon [Fri, 18 Dec 2020 13:26:42 +0000 (07:26 -0600)]
Update test for API.get_oembed

3 years agoUpdate allowed parameters for API.get_oembed
Harmon [Fri, 18 Dec 2020 13:08:39 +0000 (07:08 -0600)]
Update allowed parameters for API.get_oembed

3 years agoAdd missing information in documentation for API.get_oembed
Harmon [Fri, 18 Dec 2020 12:54:11 +0000 (06:54 -0600)]
Add missing information in documentation for API.get_oembed

3 years agoFix formatting in documentation for API.get_oembed
Harmon [Fri, 18 Dec 2020 12:40:32 +0000 (06:40 -0600)]
Fix formatting in documentation for API.get_oembed

3 years agoImage type bug fixes
keatonconrad [Wed, 16 Dec 2020 04:43:54 +0000 (22:43 -0600)]
Image type bug fixes

3 years agoAdded getting file_type by filestream
keatonconrad [Wed, 16 Dec 2020 04:15:59 +0000 (22:15 -0600)]
Added getting file_type by filestream

4 years agoFixed issue #1410
Daniel Lefevre [Wed, 11 Nov 2020 05:05:34 +0000 (00:05 -0500)]
Fixed issue #1410

4 years agoMerge pull request #1402 from tweepy/gh-actions
Joshua Roesslein [Thu, 29 Oct 2020 16:17:28 +0000 (11:17 -0500)]
Merge pull request #1402 from tweepy/gh-actions

Travis -> Github Actions

4 years agoMerge branch 'master' into gh-actions
Joshua Roesslein [Thu, 29 Oct 2020 16:11:19 +0000 (11:11 -0500)]
Merge branch 'master' into gh-actions

4 years agoMerge pull request #1433 from kmcelwee/master
Joshua Roesslein [Thu, 29 Oct 2020 16:03:53 +0000 (11:03 -0500)]
Merge pull request #1433 from kmcelwee/master

Document API.get_oembed method

4 years agoMerge pull request #1450 from bshmueli/patch-1
Joshua Roesslein [Thu, 29 Oct 2020 15:49:41 +0000 (10:49 -0500)]
Merge pull request #1450 from bshmueli/patch-1

Update api.rst

4 years agoUpdate api.rst
bshmueli [Tue, 20 Oct 2020 01:26:29 +0000 (09:26 +0800)]
Update api.rst

typo

4 years agoadd count to list_members()
brett-schneider [Sun, 11 Oct 2020 17:30:56 +0000 (19:30 +0200)]
add count to list_members()

4 years agofix: list_ownerships()
brett-schneider [Sun, 11 Oct 2020 17:30:35 +0000 (19:30 +0200)]
fix: list_ownerships()

4 years agofixed Issue 106
brett-schneider [Fri, 2 Oct 2020 19:38:36 +0000 (21:38 +0200)]
fixed Issue 106

4 years agoDocument API.get_oembed method
Kevin McElwee [Tue, 15 Sep 2020 20:03:59 +0000 (16:03 -0400)]
Document API.get_oembed method

4 years agoadded transformation to bytes
fkropfhamer [Mon, 10 Aug 2020 10:40:29 +0000 (12:40 +0200)]
added transformation to bytes

4 years agofixed bug for no saved file
fkropfhamer [Sat, 8 Aug 2020 17:31:31 +0000 (19:31 +0200)]
fixed bug for no saved file

4 years agoUse proper MIME type in Content-Type header for uploaded images
Harmon [Sun, 2 Aug 2020 20:00:37 +0000 (15:00 -0500)]
Use proper MIME type in Content-Type header for uploaded images

Fixes regression introduced with #1086 where Content-Type headers of uploaded images did not use proper MIME type structure and only specified the subtype

4 years agoUse mimetypes.guess_type as fallback for determining image file type
Harmon [Sun, 2 Aug 2020 19:49:41 +0000 (14:49 -0500)]
Use mimetypes.guess_type as fallback for determining image file type

Fixes #1411, regression introduced with #1086 where imghdr.what is unable to determine the file type

4 years agoMerge pull request #1294 from tweepy/premium-search
Harmon [Sat, 25 Jul 2020 02:17:19 +0000 (21:17 -0500)]
Merge pull request #1294 from tweepy/premium-search

Add API.search_30_day and API.search_full_archive

4 years agoImprove CHANGELOG for v3.9.0
Harmon [Thu, 16 Jul 2020 05:23:25 +0000 (00:23 -0500)]
Improve CHANGELOG for v3.9.0

4 years agoRelease v3.9.0
Josh Roesslein [Sat, 11 Jul 2020 19:21:17 +0000 (12:21 -0700)]
Release v3.9.0

4 years agoDrop travis badge from readme
Josh Roesslein [Wed, 8 Jul 2020 04:16:14 +0000 (21:16 -0700)]
Drop travis badge from readme

4 years agoRemove travis
Josh Roesslein [Wed, 8 Jul 2020 04:13:26 +0000 (21:13 -0700)]
Remove travis

4 years agoAdd deploy workflow and move ci to test
Josh Roesslein [Wed, 8 Jul 2020 04:03:22 +0000 (21:03 -0700)]
Add deploy workflow and move ci to test

4 years agodrop nightly
Josh Roesslein [Wed, 8 Jul 2020 03:36:09 +0000 (20:36 -0700)]
drop nightly

4 years agoTrigger tests on pull requests too
Josh Roesslein [Wed, 8 Jul 2020 03:33:38 +0000 (20:33 -0700)]
Trigger tests on pull requests too

4 years agoSetup gh action to run tests
Josh Roesslein [Wed, 8 Jul 2020 03:25:38 +0000 (20:25 -0700)]
Setup gh action to run tests

4 years agoMerge pull request #1342 from musically-ut/patch-1
Harmon [Thu, 2 Jul 2020 18:43:56 +0000 (13:43 -0500)]
Merge pull request #1342 from musically-ut/patch-1

EHN: Save the raw JSON on DirectMessages as well.

4 years agoSave raw JSON after extracting the event, if present.
Utkarsh Upadhyay [Thu, 2 Jul 2020 18:40:59 +0000 (20:40 +0200)]
Save raw JSON after extracting the event, if present.

Co-authored-by: Harmon <Harmon758@gmail.com>
4 years agoMerge pull request #1338 from achasveachas/master
Harmon [Thu, 2 Jul 2020 00:29:19 +0000 (19:29 -0500)]
Merge pull request #1338 from achasveachas/master

Increase max image size for gif

4 years agoadd file_type as keyword arg in API._pack_image
Yechiel K [Thu, 2 Jul 2020 00:00:05 +0000 (20:00 -0400)]
add file_type as keyword arg in API._pack_image

4 years agofix the max filesize for gifs
Yechiel K [Wed, 1 Jul 2020 23:36:26 +0000 (19:36 -0400)]
fix the max filesize for gifs

4 years agoMerge pull request #1362 from paupaulaz/patch-1
Harmon [Wed, 1 Jul 2020 19:35:00 +0000 (14:35 -0500)]
Merge pull request #1362 from paupaulaz/patch-1

Correcting a very small typo in the docs :)

4 years agoFix signature for parameters in API.lookup_friendships documentation
Harmon [Wed, 1 Jul 2020 19:17:35 +0000 (14:17 -0500)]
Fix signature for parameters in API.lookup_friendships documentation

4 years agoMerge pull request #1375 from luisfta17/master
Joshua Roesslein [Wed, 27 May 2020 00:18:49 +0000 (17:18 -0700)]
Merge pull request #1375 from luisfta17/master

Improvements to Relationship Model and documentation for API.lookup_f…

4 years agoImprovements to Relationship Model and documentation for API.lookup_friendships
Luis Tejero [Tue, 26 May 2020 20:10:01 +0000 (21:10 +0100)]
Improvements to Relationship Model and documentation for API.lookup_friendships

4 years agoUpdate getting_started.rst
paupaulaz [Sun, 10 May 2020 09:50:28 +0000 (11:50 +0200)]
Update getting_started.rst

4 years agofix max_size for gifs
Yechiel K [Thu, 7 May 2020 13:34:16 +0000 (09:34 -0400)]
fix max_size for gifs