Trakt-py

Latest version: v2.14.1

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

Scan your dependencies

Page 1 of 7

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

2.11.0

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

- Properties

- :code:`Movie`

- :code:`tagline`
- :code:`released`
- :code:`runtime`
- :code:`certification`
- :code:`updated_at`
- :code:`homepage`
- :code:`trailer`
- :code:`language`
- :code:`available_translations`
- :code:`genres`

- :code:`Show`

- :code:`first_aired`
- :code:`airs`
- :code:`runtime`
- :code:`certification`
- :code:`network`
- :code:`country`
- :code:`updated_at`
- :code:`status`
- :code:`homepage`
- :code:`language`
- :code:`available_translations`
- :code:`genres`
- :code:`aired_episodes`

- :code:`Season`

- :code:`first_aired`
- :code:`episode_count`
- :code:`aired_episodes`

- :code:`Episode`

- :code:`first_aired`
- :code:`updated_at`
- :code:`available_translations`

**Changed**

- Methods on the :code:`Trakt['movies']` and :code:`Trakt['shows']` interfaces now support the :code:`extended` parameter (51)
- Minor improvements to property descriptions on the :code:`Show` and :code:`Episode` objects

2.10.1

-------------------
**Changed**

- Removed some stray files from the source distribution

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.