trakt-mcp 0.11.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. trakt_mcp-0.11.2/LICENSE +21 -0
  2. trakt_mcp-0.11.2/PKG-INFO +986 -0
  3. trakt_mcp-0.11.2/README.md +972 -0
  4. trakt_mcp-0.11.2/client/__init__.py +19 -0
  5. trakt_mcp-0.11.2/client/auth/__init__.py +5 -0
  6. trakt_mcp-0.11.2/client/auth/client.py +385 -0
  7. trakt_mcp-0.11.2/client/auth/token_store.py +199 -0
  8. trakt_mcp-0.11.2/client/base.py +637 -0
  9. trakt_mcp-0.11.2/client/checkin/__init__.py +5 -0
  10. trakt_mcp-0.11.2/client/checkin/client.py +100 -0
  11. trakt_mcp-0.11.2/client/comments/__init__.py +5 -0
  12. trakt_mcp-0.11.2/client/comments/client.py +27 -0
  13. trakt_mcp-0.11.2/client/comments/details.py +74 -0
  14. trakt_mcp-0.11.2/client/comments/episode.py +78 -0
  15. trakt_mcp-0.11.2/client/comments/movie.py +68 -0
  16. trakt_mcp-0.11.2/client/comments/season.py +73 -0
  17. trakt_mcp-0.11.2/client/comments/show.py +68 -0
  18. trakt_mcp-0.11.2/client/endpoints.py +27 -0
  19. trakt_mcp-0.11.2/client/episodes/__init__.py +5 -0
  20. trakt_mcp-0.11.2/client/episodes/client.py +36 -0
  21. trakt_mcp-0.11.2/client/episodes/lists.py +74 -0
  22. trakt_mcp-0.11.2/client/episodes/people.py +36 -0
  23. trakt_mcp-0.11.2/client/episodes/ratings.py +36 -0
  24. trakt_mcp-0.11.2/client/episodes/stats.py +38 -0
  25. trakt_mcp-0.11.2/client/episodes/summary.py +39 -0
  26. trakt_mcp-0.11.2/client/episodes/translations.py +46 -0
  27. trakt_mcp-0.11.2/client/episodes/utils.py +74 -0
  28. trakt_mcp-0.11.2/client/episodes/videos.py +38 -0
  29. trakt_mcp-0.11.2/client/episodes/watching.py +36 -0
  30. trakt_mcp-0.11.2/client/movies/__init__.py +5 -0
  31. trakt_mcp-0.11.2/client/movies/anticipated.py +51 -0
  32. trakt_mcp-0.11.2/client/movies/boxoffice.py +25 -0
  33. trakt_mcp-0.11.2/client/movies/client.py +40 -0
  34. trakt_mcp-0.11.2/client/movies/details.py +58 -0
  35. trakt_mcp-0.11.2/client/movies/people.py +31 -0
  36. trakt_mcp-0.11.2/client/movies/popular.py +51 -0
  37. trakt_mcp-0.11.2/client/movies/related.py +60 -0
  38. trakt_mcp-0.11.2/client/movies/stats.py +134 -0
  39. trakt_mcp-0.11.2/client/movies/trending.py +51 -0
  40. trakt_mcp-0.11.2/client/movies/videos.py +33 -0
  41. trakt_mcp-0.11.2/client/people/__init__.py +5 -0
  42. trakt_mcp-0.11.2/client/people/client.py +24 -0
  43. trakt_mcp-0.11.2/client/people/lists.py +81 -0
  44. trakt_mcp-0.11.2/client/people/movies.py +27 -0
  45. trakt_mcp-0.11.2/client/people/shows.py +27 -0
  46. trakt_mcp-0.11.2/client/people/summary.py +42 -0
  47. trakt_mcp-0.11.2/client/people/utils.py +32 -0
  48. trakt_mcp-0.11.2/client/pool.py +92 -0
  49. trakt_mcp-0.11.2/client/progress/__init__.py +13 -0
  50. trakt_mcp-0.11.2/client/progress/client.py +21 -0
  51. trakt_mcp-0.11.2/client/progress/playback.py +93 -0
  52. trakt_mcp-0.11.2/client/progress/show_progress.py +79 -0
  53. trakt_mcp-0.11.2/client/recommendations/__init__.py +5 -0
  54. trakt_mcp-0.11.2/client/recommendations/client.py +21 -0
  55. trakt_mcp-0.11.2/client/recommendations/movies.py +98 -0
  56. trakt_mcp-0.11.2/client/recommendations/shows.py +98 -0
  57. trakt_mcp-0.11.2/client/search/__init__.py +5 -0
  58. trakt_mcp-0.11.2/client/search/client.py +112 -0
  59. trakt_mcp-0.11.2/client/seasons/__init__.py +5 -0
  60. trakt_mcp-0.11.2/client/seasons/client.py +39 -0
  61. trakt_mcp-0.11.2/client/seasons/episodes.py +31 -0
  62. trakt_mcp-0.11.2/client/seasons/info.py +29 -0
  63. trakt_mcp-0.11.2/client/seasons/lists.py +43 -0
  64. trakt_mcp-0.11.2/client/seasons/people.py +26 -0
  65. trakt_mcp-0.11.2/client/seasons/ratings.py +26 -0
  66. trakt_mcp-0.11.2/client/seasons/stats.py +28 -0
  67. trakt_mcp-0.11.2/client/seasons/translations.py +38 -0
  68. trakt_mcp-0.11.2/client/seasons/utils.py +35 -0
  69. trakt_mcp-0.11.2/client/seasons/videos.py +28 -0
  70. trakt_mcp-0.11.2/client/seasons/watching.py +28 -0
  71. trakt_mcp-0.11.2/client/shows/__init__.py +5 -0
  72. trakt_mcp-0.11.2/client/shows/anticipated.py +51 -0
  73. trakt_mcp-0.11.2/client/shows/client.py +39 -0
  74. trakt_mcp-0.11.2/client/shows/details.py +57 -0
  75. trakt_mcp-0.11.2/client/shows/people.py +42 -0
  76. trakt_mcp-0.11.2/client/shows/popular.py +51 -0
  77. trakt_mcp-0.11.2/client/shows/related.py +60 -0
  78. trakt_mcp-0.11.2/client/shows/seasons.py +37 -0
  79. trakt_mcp-0.11.2/client/shows/stats.py +134 -0
  80. trakt_mcp-0.11.2/client/shows/trending.py +51 -0
  81. trakt_mcp-0.11.2/client/shows/videos.py +33 -0
  82. trakt_mcp-0.11.2/client/sync/__init__.py +15 -0
  83. trakt_mcp-0.11.2/client/sync/client.py +21 -0
  84. trakt_mcp-0.11.2/client/sync/history_client.py +141 -0
  85. trakt_mcp-0.11.2/client/sync/ratings_client.py +122 -0
  86. trakt_mcp-0.11.2/client/sync/watchlist_client.py +147 -0
  87. trakt_mcp-0.11.2/client/user/__init__.py +5 -0
  88. trakt_mcp-0.11.2/client/user/client.py +46 -0
  89. trakt_mcp-0.11.2/client/validation.py +41 -0
  90. trakt_mcp-0.11.2/config/__init__.py +17 -0
  91. trakt_mcp-0.11.2/config/api/__init__.py +19 -0
  92. trakt_mcp-0.11.2/config/api/constants.py +48 -0
  93. trakt_mcp-0.11.2/config/api/lists.py +11 -0
  94. trakt_mcp-0.11.2/config/api/sync.py +10 -0
  95. trakt_mcp-0.11.2/config/auth/__init__.py +43 -0
  96. trakt_mcp-0.11.2/config/auth/constants.py +69 -0
  97. trakt_mcp-0.11.2/config/endpoints/__init__.py +53 -0
  98. trakt_mcp-0.11.2/config/endpoints/auth.py +15 -0
  99. trakt_mcp-0.11.2/config/endpoints/checkin.py +10 -0
  100. trakt_mcp-0.11.2/config/endpoints/comments.py +15 -0
  101. trakt_mcp-0.11.2/config/endpoints/episodes.py +19 -0
  102. trakt_mcp-0.11.2/config/endpoints/keys.py +102 -0
  103. trakt_mcp-0.11.2/config/endpoints/movies.py +26 -0
  104. trakt_mcp-0.11.2/config/endpoints/people.py +13 -0
  105. trakt_mcp-0.11.2/config/endpoints/progress.py +13 -0
  106. trakt_mcp-0.11.2/config/endpoints/recommendations.py +14 -0
  107. trakt_mcp-0.11.2/config/endpoints/search.py +11 -0
  108. trakt_mcp-0.11.2/config/endpoints/seasons.py +18 -0
  109. trakt_mcp-0.11.2/config/endpoints/shows.py +26 -0
  110. trakt_mcp-0.11.2/config/endpoints/sync.py +26 -0
  111. trakt_mcp-0.11.2/config/endpoints/user.py +12 -0
  112. trakt_mcp-0.11.2/config/mcp/__init__.py +9 -0
  113. trakt_mcp-0.11.2/config/mcp/descriptions.py +270 -0
  114. trakt_mcp-0.11.2/config/mcp/resources/__init__.py +14 -0
  115. trakt_mcp-0.11.2/config/mcp/resources/movies.py +14 -0
  116. trakt_mcp-0.11.2/config/mcp/resources/shows.py +13 -0
  117. trakt_mcp-0.11.2/config/mcp/resources/user.py +10 -0
  118. trakt_mcp-0.11.2/config/mcp/tools/__init__.py +50 -0
  119. trakt_mcp-0.11.2/config/mcp/tools/auth.py +11 -0
  120. trakt_mcp-0.11.2/config/mcp/tools/checkin.py +5 -0
  121. trakt_mcp-0.11.2/config/mcp/tools/comments.py +14 -0
  122. trakt_mcp-0.11.2/config/mcp/tools/episodes.py +16 -0
  123. trakt_mcp-0.11.2/config/mcp/tools/movies.py +20 -0
  124. trakt_mcp-0.11.2/config/mcp/tools/people.py +12 -0
  125. trakt_mcp-0.11.2/config/mcp/tools/progress.py +13 -0
  126. trakt_mcp-0.11.2/config/mcp/tools/recommendations.py +14 -0
  127. trakt_mcp-0.11.2/config/mcp/tools/search.py +5 -0
  128. trakt_mcp-0.11.2/config/mcp/tools/seasons.py +17 -0
  129. trakt_mcp-0.11.2/config/mcp/tools/shows.py +20 -0
  130. trakt_mcp-0.11.2/config/mcp/tools/sync.py +19 -0
  131. trakt_mcp-0.11.2/config/mcp/tools/user.py +10 -0
  132. trakt_mcp-0.11.2/models/__init__.py +4 -0
  133. trakt_mcp-0.11.2/models/auth/__init__.py +15 -0
  134. trakt_mcp-0.11.2/models/auth/auth.py +37 -0
  135. trakt_mcp-0.11.2/models/checkin/__init__.py +5 -0
  136. trakt_mcp-0.11.2/models/checkin/checkin.py +31 -0
  137. trakt_mcp-0.11.2/models/formatters/__init__.py +45 -0
  138. trakt_mcp-0.11.2/models/formatters/auth.py +46 -0
  139. trakt_mcp-0.11.2/models/formatters/checkin.py +60 -0
  140. trakt_mcp-0.11.2/models/formatters/comments.py +215 -0
  141. trakt_mcp-0.11.2/models/formatters/episodes.py +303 -0
  142. trakt_mcp-0.11.2/models/formatters/movies.py +312 -0
  143. trakt_mcp-0.11.2/models/formatters/people.py +296 -0
  144. trakt_mcp-0.11.2/models/formatters/progress.py +218 -0
  145. trakt_mcp-0.11.2/models/formatters/recommendations.py +132 -0
  146. trakt_mcp-0.11.2/models/formatters/search.py +138 -0
  147. trakt_mcp-0.11.2/models/formatters/seasons.py +308 -0
  148. trakt_mcp-0.11.2/models/formatters/shows.py +324 -0
  149. trakt_mcp-0.11.2/models/formatters/sync_history.py +241 -0
  150. trakt_mcp-0.11.2/models/formatters/sync_ratings.py +236 -0
  151. trakt_mcp-0.11.2/models/formatters/sync_watchlist.py +267 -0
  152. trakt_mcp-0.11.2/models/formatters/user.py +71 -0
  153. trakt_mcp-0.11.2/models/formatters/utils.py +267 -0
  154. trakt_mcp-0.11.2/models/formatters/videos.py +423 -0
  155. trakt_mcp-0.11.2/models/movies/__init__.py +5 -0
  156. trakt_mcp-0.11.2/models/movies/movie.py +38 -0
  157. trakt_mcp-0.11.2/models/progress/__init__.py +29 -0
  158. trakt_mcp-0.11.2/models/progress/playback.py +45 -0
  159. trakt_mcp-0.11.2/models/progress/show_progress.py +54 -0
  160. trakt_mcp-0.11.2/models/recommendations/__init__.py +17 -0
  161. trakt_mcp-0.11.2/models/recommendations/recommendation.py +61 -0
  162. trakt_mcp-0.11.2/models/shows/__init__.py +6 -0
  163. trakt_mcp-0.11.2/models/shows/episode.py +15 -0
  164. trakt_mcp-0.11.2/models/shows/show.py +38 -0
  165. trakt_mcp-0.11.2/models/sync/__init__.py +45 -0
  166. trakt_mcp-0.11.2/models/sync/base.py +64 -0
  167. trakt_mcp-0.11.2/models/sync/history.py +137 -0
  168. trakt_mcp-0.11.2/models/sync/ratings.py +26 -0
  169. trakt_mcp-0.11.2/models/sync/request.py +56 -0
  170. trakt_mcp-0.11.2/models/sync/response.py +13 -0
  171. trakt_mcp-0.11.2/models/sync/summary.py +40 -0
  172. trakt_mcp-0.11.2/models/sync/watchlist/__init__.py +28 -0
  173. trakt_mcp-0.11.2/models/sync/watchlist/base.py +66 -0
  174. trakt_mcp-0.11.2/models/sync/watchlist/request.py +56 -0
  175. trakt_mcp-0.11.2/models/sync/watchlist/response.py +38 -0
  176. trakt_mcp-0.11.2/models/types/__init__.py +128 -0
  177. trakt_mcp-0.11.2/models/types/api_responses.py +486 -0
  178. trakt_mcp-0.11.2/models/types/common.py +26 -0
  179. trakt_mcp-0.11.2/models/types/ids.py +64 -0
  180. trakt_mcp-0.11.2/models/types/language.py +29 -0
  181. trakt_mcp-0.11.2/models/types/pagination.py +109 -0
  182. trakt_mcp-0.11.2/models/types/sort.py +29 -0
  183. trakt_mcp-0.11.2/models/types/timestamps.py +29 -0
  184. trakt_mcp-0.11.2/models/user/__init__.py +5 -0
  185. trakt_mcp-0.11.2/models/user/user.py +16 -0
  186. trakt_mcp-0.11.2/models/videos/__init__.py +1 -0
  187. trakt_mcp-0.11.2/models/videos/video.py +76 -0
  188. trakt_mcp-0.11.2/pyproject.toml +144 -0
  189. trakt_mcp-0.11.2/server/__init__.py +14 -0
  190. trakt_mcp-0.11.2/server/auth/__init__.py +6 -0
  191. trakt_mcp-0.11.2/server/auth/resources.py +44 -0
  192. trakt_mcp-0.11.2/server/auth/tools.py +274 -0
  193. trakt_mcp-0.11.2/server/base/__init__.py +29 -0
  194. trakt_mcp-0.11.2/server/base/error_mixin.py +405 -0
  195. trakt_mcp-0.11.2/server/base/identifier_mixin.py +168 -0
  196. trakt_mcp-0.11.2/server/base/limit_page_mixin.py +30 -0
  197. trakt_mcp-0.11.2/server/base/params.py +112 -0
  198. trakt_mcp-0.11.2/server/checkin/__init__.py +5 -0
  199. trakt_mcp-0.11.2/server/checkin/tools.py +206 -0
  200. trakt_mcp-0.11.2/server/comments/__init__.py +5 -0
  201. trakt_mcp-0.11.2/server/comments/tools.py +756 -0
  202. trakt_mcp-0.11.2/server/episodes/__init__.py +5 -0
  203. trakt_mcp-0.11.2/server/episodes/tools.py +525 -0
  204. trakt_mcp-0.11.2/server/main.py +93 -0
  205. trakt_mcp-0.11.2/server/movies/__init__.py +6 -0
  206. trakt_mcp-0.11.2/server/movies/resources.py +301 -0
  207. trakt_mcp-0.11.2/server/movies/tools.py +751 -0
  208. trakt_mcp-0.11.2/server/people/__init__.py +5 -0
  209. trakt_mcp-0.11.2/server/people/tools.py +286 -0
  210. trakt_mcp-0.11.2/server/progress/__init__.py +5 -0
  211. trakt_mcp-0.11.2/server/progress/tools.py +229 -0
  212. trakt_mcp-0.11.2/server/prompts/__init__.py +10 -0
  213. trakt_mcp-0.11.2/server/prompts/basic.py +70 -0
  214. trakt_mcp-0.11.2/server/recommendations/__init__.py +5 -0
  215. trakt_mcp-0.11.2/server/recommendations/tools.py +367 -0
  216. trakt_mcp-0.11.2/server/search/__init__.py +5 -0
  217. trakt_mcp-0.11.2/server/search/tools.py +226 -0
  218. trakt_mcp-0.11.2/server/seasons/__init__.py +5 -0
  219. trakt_mcp-0.11.2/server/seasons/tools.py +539 -0
  220. trakt_mcp-0.11.2/server/shows/__init__.py +6 -0
  221. trakt_mcp-0.11.2/server/shows/resources.py +310 -0
  222. trakt_mcp-0.11.2/server/shows/tools.py +770 -0
  223. trakt_mcp-0.11.2/server/sync/__init__.py +5 -0
  224. trakt_mcp-0.11.2/server/sync/tools.py +1204 -0
  225. trakt_mcp-0.11.2/server/user/__init__.py +6 -0
  226. trakt_mcp-0.11.2/server/user/resources.py +107 -0
  227. trakt_mcp-0.11.2/server/user/tools.py +212 -0
  228. trakt_mcp-0.11.2/setup.cfg +4 -0
  229. trakt_mcp-0.11.2/tests/test_mcp_compliance.py +497 -0
  230. trakt_mcp-0.11.2/trakt_mcp.egg-info/PKG-INFO +986 -0
  231. trakt_mcp-0.11.2/trakt_mcp.egg-info/SOURCES.txt +246 -0
  232. trakt_mcp-0.11.2/trakt_mcp.egg-info/dependency_links.txt +1 -0
  233. trakt_mcp-0.11.2/trakt_mcp.egg-info/entry_points.txt +2 -0
  234. trakt_mcp-0.11.2/trakt_mcp.egg-info/requires.txt +4 -0
  235. trakt_mcp-0.11.2/trakt_mcp.egg-info/top_level.txt +5 -0
  236. trakt_mcp-0.11.2/utils/__init__.py +1 -0
  237. trakt_mcp-0.11.2/utils/api/__init__.py +1 -0
  238. trakt_mcp-0.11.2/utils/api/error_handler.py +336 -0
  239. trakt_mcp-0.11.2/utils/api/error_types.py +336 -0
  240. trakt_mcp-0.11.2/utils/api/errors.py +458 -0
  241. trakt_mcp-0.11.2/utils/api/hosts.py +10 -0
  242. trakt_mcp-0.11.2/utils/api/id_helpers.py +35 -0
  243. trakt_mcp-0.11.2/utils/api/request_context.py +172 -0
  244. trakt_mcp-0.11.2/utils/api/structured_logging.py +334 -0
  245. trakt_mcp-0.11.2/utils/formatting/__init__.py +15 -0
  246. trakt_mcp-0.11.2/utils/formatting/datetime.py +28 -0
  247. trakt_mcp-0.11.2/utils/validators.py +14 -0
  248. trakt_mcp-0.11.2/utils/version.py +19 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 wwiens
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.