Trakt.py

Latest version: v4.4.0

Safety actively analyzes 628969 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 8

3.1.0

------------------
**Added**

- Support for absolute episode numbers (63)
- Support for rating votes (68)

**Changed**

- Dropped support for Python 3.4

3.0.0

------------------
**Added**

- Implemented the show progress interface (60)
- Support for the :code:`extended` parameter on sync methods (57)

**Changed**

- Requests that raise exceptions are now retried (with :code:`retry=True`)
- Dropped support for Python 2.6, 3.3

**Fixed**

- Issue disabling pagination on watchlist requests (62)

2.14.1

-------------------
**Added**

- :code:`__future__` imports to :code:`trakt/hooks.py`

2.14.0

-------------------
**Added**

- Support for Python 3.6
- Package version is now automatically written into the :code:`trakt.version` module on :code:`python setup.py egg_info`
- :code:`__future__` imports for more consistent Python 3 compatibility
- :code:`SummaryMapper.episode` method now accepts the "parse_show" parameter
- Interfaces:

- :code:`Trakt['calendars']` (56)

**Changed**

- Dropped support for Python 3.2
- Cleaned up documentation
- Switched to pbr setup configuration
- Ordering of import statements has been updated to be more consistent

**Tests**

- Replaced usage of :code:`responses` in tests with :code:`httmock`
- Updated :code:`tox.ini` with additional test environments and flake8 plugins
- Improved the :code:`fixtures` directory structure

**Travis CI**

- Switched to using "tox-travis", instead of running pytest directly
- Releases are now automatically uploaded to PyPI and GitHub Releases

2.13.0

-------------------
**Added**

- :code:`Trakt['sync/playback'].delete(<id>)` method (54)

2.12.0

-------------------
**Added**

- Improved token refreshing *(and added the "oauth.refresh" and "oauth.refresh.rejected" events)*
- `RequestFailedError` exception will now be raised if no response was returned (if `exceptions=True`)
- :code:`Trakt.http.keep_alive` property *(defaults to :code:`True`)*
- :code:`Trakt.http.ssl_version` property *(defaults to :code:`None` / :code:`PROTOCOL_TLS` / :code:`PROTOCOL_SSLv23`)*

**Changed**

- Switched default API endpoint to https://api.trakt.tv
- SSL protocol version is now automatically negotiated with the server *(instead of defaulting to TLS v1.0)*
- Warning will now be displayed if a deadlock is detected inside token refresh events
- Fixed some inconsistencies in the handling of error responses
- Updated bundled emitter module (fuzeman/PyEmitter3c558c7c2bc3ae07cb1e8e18b2c1c16be042c748)
- Interfaces:

- :code:`Trakt['search']`

- Updated to use the new search endpoints

- Methods:

- :code:`Trakt['search'].lookup`

- Now supports the :code:`extended` parameter

- :code:`Trakt['search'].query`

- Now supports the :code:`fields` and :code:`extended` parameters

**Fixed**

- :code:`authenticated` decorator wasn't applied to some methods, resulting in tokens not being refreshed
- Exception raised when :code:`Trakt['scrobble']` methods are provided "app_version" or "app_date" parameters
- Error responses weren't being returned correctly with :code:`parse=False`
- Issue handling :code:`None` responses in the automatic token refresher
- Inconsistent handling of error responses in some methods

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.