id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
35,300 | mlnet.py | SiCKRAGE_SiCKRAGE/sickrage/clients/torrent/mlnet.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 1,919 | Python | .py | 40 | 43.575 | 142 | 0.636851 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,301 | qbittorrent.py | SiCKRAGE_SiCKRAGE/sickrage/clients/torrent/qbittorrent.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 6,244 | Python | .py | 115 | 45.269565 | 161 | 0.618408 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,302 | utorrent.py | SiCKRAGE_SiCKRAGE/sickrage/clients/torrent/utorrent.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 5,208 | Python | .py | 110 | 36.418182 | 114 | 0.564694 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,303 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/clients/torrent/__init__.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 968 | Python | .py | 20 | 47.4 | 80 | 0.621308 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,304 | deluge.py | SiCKRAGE_SiCKRAGE/sickrage/clients/torrent/deluge.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 8,159 | Python | .py | 175 | 33.811429 | 125 | 0.538811 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,305 | putio.py | SiCKRAGE_SiCKRAGE/sickrage/clients/torrent/putio.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 3,557 | Python | .py | 82 | 35.670732 | 120 | 0.607877 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,306 | download_station.py | SiCKRAGE_SiCKRAGE/sickrage/clients/nzb/download_station.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 8,029 | Python | .py | 185 | 31.972973 | 119 | 0.554887 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,307 | sabnzbd.py | SiCKRAGE_SiCKRAGE/sickrage/clients/nzb/sabnzbd.py | # Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage
#
# This file is part of SiCKRAGE.
#
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundatio... | 6,135 | Python | .py | 139 | 35.064748 | 159 | 0.639289 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,308 | nzbget.py | SiCKRAGE_SiCKRAGE/sickrage/clients/nzb/nzbget.py | # Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
#
# This file is part of SiCKRAGE.
#
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Found... | 7,690 | Python | .py | 142 | 40.507042 | 143 | 0.597874 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,309 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/clients/nzb/__init__.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 969 | Python | .py | 20 | 47.4 | 80 | 0.621308 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,310 | hellaToSiCKRAGE.py | SiCKRAGE_SiCKRAGE/sickrage/autoProcessTV/hellaToSiCKRAGE.py | #!/usr/bin/env python3
# ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribu... | 1,226 | Python | .py | 28 | 42.25 | 80 | 0.648536 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,311 | autoProcessTV.py | SiCKRAGE_SiCKRAGE/sickrage/autoProcessTV/autoProcessTV.py | #!/usr/bin/env python3
# ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribu... | 3,747 | Python | .py | 96 | 31.729167 | 98 | 0.574931 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,312 | mediaToSiCKRAGE.py | SiCKRAGE_SiCKRAGE/sickrage/autoProcessTV/mediaToSiCKRAGE.py | #!/usr/bin/env python3
# ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribu... | 7,079 | Python | .py | 168 | 36.505952 | 120 | 0.65263 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,313 | sabToSiCKRAGE.py | SiCKRAGE_SiCKRAGE/sickrage/autoProcessTV/sabToSiCKRAGE.py | #!/usr/bin/env python3
# ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribu... | 1,394 | Python | .py | 32 | 41.8125 | 80 | 0.655376 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,314 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/autoProcessTV/__init__.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 970 | Python | .py | 20 | 47.4 | 80 | 0.621308 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,315 | thetvdb.py | SiCKRAGE_SiCKRAGE/sickrage/series_providers/thetvdb.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 7,617 | Python | .py | 162 | 37.944444 | 144 | 0.613204 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,316 | cache.py | SiCKRAGE_SiCKRAGE/sickrage/series_providers/cache.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 8,340 | Python | .py | 193 | 34.476684 | 141 | 0.604028 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,317 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/series_providers/__init__.py | # Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca
#
# This file is part of SiCKRAGE.
#
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your... | 1,797 | Python | .py | 44 | 35.068182 | 150 | 0.6856 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,318 | exceptions.py | SiCKRAGE_SiCKRAGE/sickrage/series_providers/exceptions.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 1,517 | Python | .py | 36 | 39.805556 | 80 | 0.711263 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,319 | helpers.py | SiCKRAGE_SiCKRAGE/sickrage/series_providers/helpers.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 4,675 | Python | .py | 89 | 43.640449 | 152 | 0.637001 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,320 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/subtitles/__init__.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 16,308 | Python | .py | 279 | 45.609319 | 155 | 0.620882 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,321 | subscene.py | SiCKRAGE_SiCKRAGE/sickrage/subtitles/converters/subscene.py | # -*- coding: utf-8 -*-
from babelfish import LanguageReverseConverter, language_converters
class SubsceneConverter(LanguageReverseConverter):
def __init__(self):
self.name_converter = language_converters['name']
self.from_subscene = {
'Farsi/Persian': ('fas',),
'Brazillian... | 1,129 | Python | .py | 23 | 40.347826 | 79 | 0.651818 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,322 | itasa.py | SiCKRAGE_SiCKRAGE/sickrage/subtitles/providers/itasa.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 18,939 | Python | .py | 405 | 34.064198 | 132 | 0.557912 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,323 | subscene.py | SiCKRAGE_SiCKRAGE/sickrage/subtitles/providers/subscene.py | # -*- coding: utf-8 -*-
# Author: echel0n <echel0n@sickrage.ca>
#
# URL: https://sickrage.ca
#
# This file is part of SiCKRAGE.
#
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of ... | 6,638 | Python | .py | 151 | 35.410596 | 117 | 0.636885 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,324 | wizdom.py | SiCKRAGE_SiCKRAGE/sickrage/subtitles/providers/wizdom.py | # -*- coding: utf-8 -*-
import bisect
import io
import logging
import os
import zipfile
from babelfish import Language
from guessit import guessit
from requests import Session
from subliminal import Provider
from subliminal.cache import SHOW_EXPIRATION_TIME, region
from subliminal.exceptions import ProviderError
fro... | 7,376 | Python | .py | 166 | 34.60241 | 116 | 0.602648 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,325 | utils.py | SiCKRAGE_SiCKRAGE/sickrage/subtitles/providers/utils.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 1,299 | Python | .py | 31 | 39.451613 | 80 | 0.62787 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,326 | tv_episode.py | SiCKRAGE_SiCKRAGE/sickrage/subtitles/refiners/tv_episode.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 3,663 | Python | .py | 84 | 39.011905 | 107 | 0.656557 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,327 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/subtitles/refiners/__init__.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 969 | Python | .py | 20 | 47.4 | 80 | 0.621308 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,328 | release.py | SiCKRAGE_SiCKRAGE/sickrage/subtitles/refiners/release.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 5,378 | Python | .py | 119 | 40.344538 | 137 | 0.674565 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,329 | peer.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/peer.py | # Copyright (c) 2013 Chris Lucas, <chris@chrisjlucas.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, ... | 3,597 | Python | .py | 84 | 36.535714 | 93 | 0.652571 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,330 | err.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/err.py | # Copyright (c) 2013 Chris Lucas, <chris@chrisjlucas.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, ... | 1,641 | Python | .py | 33 | 46.212121 | 72 | 0.748282 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,331 | file.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/file.py | # Copyright (c) 2013 Chris Lucas, <chris@chrisjlucas.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, ... | 3,522 | Python | .py | 76 | 40.394737 | 93 | 0.669193 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,332 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/__init__.py | # Copyright (c) 2013 Chris Lucas, <chris@chrisjlucas.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, ... | 27,074 | Python | .py | 548 | 39.662409 | 123 | 0.629593 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,333 | tracker.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/tracker.py | # Copyright (c) 2013 Chris Lucas, <chris@chrisjlucas.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, ... | 5,187 | Python | .py | 122 | 34.983607 | 90 | 0.620123 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,334 | torrent.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/torrent.py | # Copyright (c) 2013 Chris Lucas, <chris@chrisjlucas.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, ... | 18,832 | Python | .py | 416 | 36.915865 | 98 | 0.61748 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,335 | common.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/common.py | # Copyright (c) 2013 Chris Lucas, <chris@chrisjlucas.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, ... | 2,363 | Python | .py | 55 | 38.981818 | 84 | 0.720717 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,336 | group.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/group.py | # Copyright (c) 2013 Dean Gardiner, <gardiner91@gmail.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify,... | 3,128 | Python | .py | 65 | 40.846154 | 101 | 0.64389 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,337 | torrentparser.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/lib/torrentparser.py | # Copyright (c) 2013 Chris Lucas, <chris@chrisjlucas.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, ... | 5,501 | Python | .py | 126 | 34.761905 | 105 | 0.628064 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,338 | bencode.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/lib/bencode.py | # Copyright (C) 2011 by clueless <clueless.nospam ! mail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | 8,719 | Python | .py | 226 | 34.163717 | 97 | 0.664969 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,339 | scgi.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/lib/xmlrpc/scgi.py | #!/usr/bin/python
# rtorrent_xmlrpc
# (c) 2011 Roger Que <alerante@bellsouth.net>
#
# Modified portions:
# (c) 2013 Dean Gardiner <gardiner91@gmail.com>
#
# Python module for interacting with rtorrent's XML-RPC interface
# directly over SCGI, instead of through an HTTP server intermediary.
# Inspired by Glenn Washburn... | 7,996 | Python | .py | 189 | 35.428571 | 91 | 0.659594 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,340 | basic_auth.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/lib/xmlrpc/basic_auth.py | #
# Copyright (c) 2013 Dean Gardiner, <gardiner91@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, mod... | 2,701 | Python | .py | 63 | 35.492063 | 72 | 0.673896 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,341 | http.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/lib/xmlrpc/http.py | # Copyright (c) 2013 Chris Lucas, <chris@chrisjlucas.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, ... | 1,182 | Python | .py | 21 | 55.190476 | 72 | 0.798102 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,342 | requests_transport.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/lib/xmlrpc/requests_transport.py | # Copyright (c) 2013-2015 Alexandre Beloin, <alexandre.beloin@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later versio... | 5,957 | Python | .py | 150 | 28.926667 | 79 | 0.595358 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,343 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/rtorrentlib/rpc/__init__.py | # Copyright (c) 2013 Chris Lucas, <chris@chrisjlucas.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, ... | 10,745 | Python | .py | 254 | 33.767717 | 107 | 0.606944 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,344 | errors.py | SiCKRAGE_SiCKRAGE/sickrage/libs/fanart/errors.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 1,277 | Python | .py | 30 | 39.966667 | 80 | 0.62389 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,345 | movie.py | SiCKRAGE_SiCKRAGE/sickrage/libs/fanart/movie.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 3,469 | Python | .py | 98 | 29.602041 | 103 | 0.637044 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,346 | music.py | SiCKRAGE_SiCKRAGE/sickrage/libs/fanart/music.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 2,877 | Python | .py | 82 | 29.609756 | 80 | 0.629149 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,347 | tv.py | SiCKRAGE_SiCKRAGE/sickrage/libs/fanart/tv.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 3,584 | Python | .py | 101 | 29.80198 | 117 | 0.643582 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,348 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/fanart/__init__.py | # Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca
#
# This file is part of SiCKRAGE.
#
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your... | 3,743 | Python | .py | 110 | 26.972727 | 103 | 0.610757 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,349 | immutable.py | SiCKRAGE_SiCKRAGE/sickrage/libs/fanart/immutable.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 2,319 | Python | .py | 59 | 32.067797 | 80 | 0.552491 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,350 | items.py | SiCKRAGE_SiCKRAGE/sickrage/libs/fanart/items.py | # ##############################################################################
# Author: echel0n <echel0n@sickrage.ca>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# ... | 2,567 | Python | .py | 72 | 30.263889 | 101 | 0.617374 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,351 | client.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/client.py | from __future__ import absolute_import, division, print_function
from trakt.core.configuration import ConfigurationManager
from trakt.core.emitter import Emitter
from trakt.core.http import HttpClient
from trakt.interfaces import construct_map
from trakt.interfaces.base import InterfaceProxy
from trakt.version import ... | 1,921 | Python | .py | 53 | 26.773585 | 64 | 0.587629 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,352 | sphinxext.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/sphinxext.py | from __future__ import absolute_import, division, print_function, unicode_literals
import collections
import inspect
from docutils import nodes
from docutils.parsers import rst
from docutils.parsers.rst import directives
from docutils.statemachine import ViewList
from sphinx.util.nodes import nested_parse_with_titles... | 2,753 | Python | .py | 70 | 29.828571 | 82 | 0.591937 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,353 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/__init__.py | from __future__ import absolute_import, division, print_function
import logging
from six import add_metaclass
from trakt.client import TraktClient
from trakt.core.errors import ERRORS
from trakt.core.exceptions import RequestError, ClientError, ServerError
from trakt.helpers import has_attribute
from trakt.version im... | 1,522 | Python | .py | 46 | 27.26087 | 72 | 0.678326 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,354 | hooks.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/hooks.py | from __future__ import absolute_import, division, print_function
import os
PACKAGE_DIR = os.path.dirname(__file__)
def write_version(command):
if not command or not hasattr(command, 'egg_version'):
print('Invalid command state')
return
# Retrieve current package version
version = comman... | 1,411 | Python | .py | 40 | 28.2 | 65 | 0.620944 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,355 | helpers.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/helpers.py | from __future__ import absolute_import, division, print_function
from six.moves.urllib_parse import urlencode
def setdefault(d, defaults, func=None):
for key, value in defaults.items():
if func and not func(key, value):
continue
d.setdefault(key, value)
def has_attribute(obj, name)... | 713 | Python | .py | 23 | 24.391304 | 64 | 0.61674 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,356 | show.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/show.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import from_iso8601_datetime, to_iso8601_datetime, deprecated
from trakt.objects.core.helpers import update_attributes
from trakt.objects.media import Media
class Show(Media):
def __init__(self, client, keys, index=None):
... | 7,032 | Python | .py | 209 | 23.760766 | 102 | 0.542866 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,357 | movie.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/movie.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import from_iso8601_datetime, to_iso8601_datetime, \
from_iso8601_date, to_iso8601_date, deprecated
from trakt.objects.core.helpers import update_attributes
from trakt.objects.video import Video
class Movie(Video):
def _... | 5,716 | Python | .py | 165 | 24.769697 | 104 | 0.553308 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,358 | rating.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/rating.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import from_iso8601_datetime
class Rating(object):
def __init__(self, client, value=None, timestamp=None):
self._client = client
self.value = value
"""
:type: :class:`~python:int`
Ra... | 1,240 | Python | .py | 36 | 26.111111 | 78 | 0.579966 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,359 | person.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/person.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import from_iso8601_datetime
from trakt.objects.core.helpers import update_attributes
class Person(object):
def __init__(self, client, keys=None, index=None):
self._client = client
self.keys = keys
"... | 2,325 | Python | .py | 72 | 23.194444 | 92 | 0.536871 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,360 | comment.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/comment.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import from_iso8601_datetime
from trakt.objects.core.helpers import update_attributes
class Comment(object):
def __init__(self, client, keys):
self._client = client
self.keys = keys
"""
:type... | 3,242 | Python | .py | 111 | 19.765766 | 87 | 0.512979 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,361 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/__init__.py | from __future__ import absolute_import, division, print_function
from trakt.objects.comment import Comment
from trakt.objects.episode import Episode
from trakt.objects.list import CustomList, List
from trakt.objects.media import Media
from trakt.objects.movie import Movie
from trakt.objects.person import Person
from t... | 631 | Python | .py | 23 | 24.608696 | 64 | 0.757426 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,362 | episode.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/episode.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import from_iso8601_datetime, to_iso8601_datetime, deprecated
from trakt.objects.core.helpers import update_attributes
from trakt.objects.video import Video
class Episode(Video):
def __init__(self, client, keys=None, index=N... | 4,299 | Python | .py | 110 | 29.3 | 119 | 0.575187 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,363 | media.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/media.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import from_iso8601_datetime
from trakt.objects.core.helpers import update_attributes
from trakt.objects.rating import Rating
class Media(object):
def __init__(self, client, keys=None, index=None):
self._client = cli... | 5,395 | Python | .py | 133 | 30.909774 | 92 | 0.374545 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,364 | season.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/season.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import to_iso8601_datetime, from_iso8601_datetime, deprecated
from trakt.objects.core.helpers import update_attributes
from trakt.objects.media import Media
class Season(Media):
def __init__(self, client, keys=None, index=No... | 3,432 | Python | .py | 93 | 27.387097 | 106 | 0.574629 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,365 | video.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/video.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import from_iso8601_datetime
from trakt.objects.core.helpers import update_attributes
from trakt.objects.media import Media
class Video(Media):
def __init__(self, client, keys=None, index=None):
super(Video, self).__... | 2,996 | Python | .py | 84 | 26.309524 | 85 | 0.562543 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,366 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/list/__init__.py | from __future__ import absolute_import, division, print_function
from trakt.objects.list.base import List
from trakt.objects.list.custom import CustomList
__all__ = (
'List',
'CustomList'
)
| 200 | Python | .py | 7 | 26.142857 | 64 | 0.753927 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,367 | base.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/list/base.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import from_iso8601_datetime
from trakt.objects.core.helpers import update_attributes
class List(object):
def __init__(self, client, keys):
self._client = client
self.keys = keys
"""
:type: :... | 3,083 | Python | .py | 104 | 20.192308 | 87 | 0.514666 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,368 | custom.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/list/custom.py | from __future__ import absolute_import, division, print_function
from trakt.objects.core.helpers import update_attributes
from trakt.objects.list.base import List
class CustomList(List):
def __init__(self, client, keys, username=None):
super(CustomList, self).__init__(client, keys)
self.username... | 4,096 | Python | .py | 108 | 29.185185 | 107 | 0.591267 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,369 | helpers.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/objects/core/helpers.py | from __future__ import absolute_import, division, print_function
def update_attributes(obj, dictionary, keys):
if not dictionary:
return
for key in keys:
if key not in dictionary:
continue
value = dictionary[key]
if getattr(obj, key) is not None and value is None... | 441 | Python | .py | 13 | 25.307692 | 64 | 0.624703 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,370 | sync.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/mapper/sync.py | from __future__ import absolute_import, division, print_function
import logging
from trakt.mapper.core.base import Mapper
log = logging.getLogger(__name__)
class SyncMapper(Mapper):
@classmethod
def process(cls, client, store, items, media=None, flat=False, **kwargs):
if flat:
# Return ... | 7,480 | Python | .py | 221 | 23.361991 | 106 | 0.529706 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,371 | list_item.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/mapper/list_item.py | from __future__ import absolute_import, division, print_function
from trakt.mapper.core.base import Mapper
class ListItemMapper(Mapper):
@classmethod
def process(cls, client, item, media=None, **kwargs):
if media is None:
# Retrieve `media` from `item`
media = item.get('type')... | 3,751 | Python | .py | 110 | 24.709091 | 77 | 0.561701 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,372 | search.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/mapper/search.py | from __future__ import absolute_import, division, print_function
import logging
from trakt.mapper.core.base import Mapper
log = logging.getLogger(__name__)
class SearchMapper(Mapper):
@classmethod
def process(cls, client, item, media=None, **kwargs):
if media is None:
# Retrieve `media`... | 3,952 | Python | .py | 118 | 23.915254 | 82 | 0.554675 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,373 | comment.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/mapper/comment.py | from __future__ import absolute_import, division, print_function
from trakt.mapper.core.base import Mapper
class CommentMapper(Mapper):
@classmethod
def comment(cls, client, item, **kwargs):
if 'comment' in item:
i_comment = item['comment']
else:
i_comment = item
... | 670 | Python | .py | 19 | 26.684211 | 77 | 0.608087 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,374 | summary.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/mapper/summary.py | from __future__ import absolute_import, division, print_function
from trakt.mapper.core.base import Mapper
class SummaryMapper(Mapper):
@classmethod
def movies(cls, client, items, **kwargs):
if not items:
return None
return [cls.movie(client, item, **kwargs) for item in items]
... | 3,786 | Python | .py | 111 | 24.567568 | 80 | 0.567337 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,375 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/mapper/__init__.py | from __future__ import absolute_import, division, print_function
from trakt.mapper.comment import CommentMapper
from trakt.mapper.list import ListMapper
from trakt.mapper.list_item import ListItemMapper
from trakt.mapper.search import SearchMapper
from trakt.mapper.summary import SummaryMapper
from trakt.mapper.sync i... | 471 | Python | .py | 15 | 28.666667 | 64 | 0.792952 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,376 | list.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/mapper/list.py | from __future__ import absolute_import, division, print_function
from trakt.mapper.core.base import Mapper
class ListMapper(Mapper):
@classmethod
def custom_list(cls, client, item, **kwargs):
if 'list' in item:
i_list = item['list']
else:
i_list = item
# Retri... | 670 | Python | .py | 19 | 26.684211 | 82 | 0.598756 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,377 | base.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/mapper/core/base.py | from __future__ import absolute_import, division, print_function
from trakt.objects import Movie, Show, Episode, Season, CustomList, Comment, Person
IDENTIFIERS = {
'movie': [
'imdb',
'tmdb',
'slug',
'trakt'
],
'show': [
'tvdb',
'tmdb',
'imdb',
... | 2,735 | Python | .py | 90 | 20.9 | 83 | 0.509362 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,378 | search.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/search.py | import warnings
import requests
from trakt.interfaces.base import Interface
from trakt.mapper.search import SearchMapper
class SearchInterface(Interface):
path = 'search'
def lookup(self, id, service=None, media=None, extended=None, **kwargs):
"""Lookup items by their Trakt, IMDB, TMDB, TVDB, or TVR... | 5,425 | Python | .py | 131 | 30.610687 | 113 | 0.569357 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,379 | auth.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/auth.py | from __future__ import absolute_import, division, print_function
import requests
from trakt.interfaces.base import Interface
class AuthInterface(Interface):
path = 'auth'
def login(self, login, password, **kwargs):
response = self.http.post('login', data={
'login': login,
'pa... | 588 | Python | .py | 18 | 24.722222 | 64 | 0.622103 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,380 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/__init__.py | from __future__ import absolute_import, division, print_function
from trakt.interfaces import auth
from trakt.interfaces import calendars
from trakt.interfaces import movies
from trakt.interfaces import oauth
from trakt.interfaces import scrobble
from trakt.interfaces import search
from trakt.interfaces import shows
f... | 1,976 | Python | .py | 68 | 22.867647 | 64 | 0.680297 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,381 | calendars.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/calendars.py | from __future__ import absolute_import, division, print_function
from datetime import datetime
import requests
from trakt.core.helpers import popitems
from trakt.interfaces.base import Interface, authenticated
from trakt.mapper.summary import SummaryMapper
class Base(Interface):
def new(self, media, **kwargs):
... | 5,249 | Python | .py | 119 | 33.487395 | 117 | 0.587542 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,382 | recommendations.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/recommendations.py | from __future__ import absolute_import, division, print_function
import requests
from trakt.interfaces.base import Interface, authenticated
from trakt.mapper.summary import SummaryMapper
class RecommendationsInterface(Interface):
path = 'recommendations'
@authenticated
def shows(self, extended=None, **k... | 603 | Python | .py | 15 | 33.733333 | 64 | 0.713058 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,383 | scrobble.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/scrobble.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import popitems
from trakt.interfaces.base import Interface, authenticated, application
class ScrobbleInterface(Interface):
path = 'scrobble'
@application
@authenticated
def action(self, action, movie=None, show... | 11,824 | Python | .py | 314 | 21.563694 | 116 | 0.426901 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,384 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/movies/__init__.py | from __future__ import absolute_import, division, print_function
import requests
from trakt.interfaces.base import Interface
from trakt.mapper.summary import SummaryMapper
class MoviesInterface(Interface):
path = 'movies'
def get(self, id, extended=None, **kwargs):
response = self.http.get(str(id), ... | 909 | Python | .py | 23 | 31.608696 | 64 | 0.661714 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,385 | watched.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/sync/watched.py | from __future__ import absolute_import, division, print_function
from trakt.interfaces.sync.core.mixins import Get
class SyncWatchedInterface(Get):
path = 'sync/watched'
flags = {'is_watched': True}
def get(self, media=None, store=None, params=None, **kwargs):
if media is None:
raise... | 547 | Python | .py | 14 | 30.857143 | 80 | 0.647727 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,386 | watchlist.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/sync/watchlist.py | from __future__ import absolute_import, division, print_function
from trakt.interfaces.base import authenticated
from trakt.interfaces.sync.core.mixins import Get, Add, Remove
class SyncWatchlistInterface(Get, Add, Remove):
path = 'sync/watchlist'
flags = {'in_watchlist': True}
def get(self, media=None,... | 1,078 | Python | .py | 34 | 22.794118 | 101 | 0.577778 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,387 | history.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/sync/history.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import to_iso8601_datetime
from trakt.interfaces.base import authenticated
from trakt.interfaces.sync.core.mixins import Get, Add, Remove
class SyncHistoryInterface(Get, Add, Remove):
path = 'sync/history'
flags = {'is_w... | 1,498 | Python | .py | 45 | 24.066667 | 110 | 0.573315 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,388 | collection.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/sync/collection.py | from __future__ import absolute_import, division, print_function
from trakt.interfaces.sync.core.mixins import Get, Add, Remove
class SyncCollectionInterface(Get, Add, Remove):
path = 'sync/collection'
flags = {'is_collected': True}
def get(self, media=None, store=None, params=None, **kwargs):
i... | 584 | Python | .py | 14 | 33.5 | 80 | 0.656637 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,389 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/sync/__init__.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import deprecated, popitems
from trakt.interfaces.base import Interface, authenticated
# Import child interfaces
from trakt.interfaces.sync.collection import SyncCollectionInterface
from trakt.interfaces.sync.history import SyncHi... | 1,357 | Python | .py | 36 | 31.083333 | 90 | 0.711027 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,390 | playback.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/sync/playback.py | from __future__ import absolute_import, division, print_function
from trakt.interfaces.base import authenticated
from trakt.interfaces.sync.core.mixins import Get, Delete
class SyncPlaybackInterface(Get, Delete):
path = 'sync/playback'
@authenticated
def shows(self, store=None, **kwargs):
raise ... | 507 | Python | .py | 15 | 27.133333 | 64 | 0.679671 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,391 | ratings.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/sync/ratings.py | from __future__ import absolute_import, division, print_function
from trakt.interfaces.base import authenticated
from trakt.interfaces.sync.core.mixins import Get, Add, Remove
class SyncRatingsInterface(Get, Add, Remove):
path = 'sync/ratings'
@authenticated
def get(self, media=None, store=None, rating=... | 1,159 | Python | .py | 30 | 31.666667 | 65 | 0.658318 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,392 | mixins.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/sync/core/mixins.py | from __future__ import absolute_import, division, print_function
import requests
from trakt.core.helpers import popitems
from trakt.core.pagination import PaginationIterator
from trakt.interfaces.base import Interface, authenticated
from trakt.mapper.sync import SyncMapper
class Get(Interface):
flags = {}
@... | 2,485 | Python | .py | 83 | 20.204819 | 89 | 0.553969 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,393 | device.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/oauth/device.py | from __future__ import absolute_import, division, print_function
import calendar
import logging
import time
from datetime import datetime, timedelta
from threading import Thread
import requests
from trakt.core.emitter import Emitter
from trakt.interfaces.base import Interface
log = logging.getLogger(__name__)
clas... | 5,231 | Python | .py | 139 | 27.258993 | 101 | 0.588177 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,394 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/oauth/__init__.py | from __future__ import absolute_import, division, print_function
import requests
from trakt.core.helpers import deprecated
from trakt.helpers import build_url
from trakt.interfaces.base import Interface
# Import child interfaces
from trakt.interfaces.oauth.device import DeviceOAuthInterface # noqa: I100
from trakt.in... | 3,388 | Python | .py | 78 | 33.628205 | 120 | 0.630521 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,395 | pin.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/oauth/pin.py | from __future__ import absolute_import, division, print_function
from trakt.helpers import build_url
from trakt.interfaces.base import Interface
class PinOAuthInterface(Interface):
path = 'oauth/pin'
def url(self):
app_id = self.client.configuration['app.id']
if not app_id:
rais... | 517 | Python | .py | 13 | 32.461538 | 115 | 0.680723 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,396 | settings.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/users/settings.py | from __future__ import absolute_import, division, print_function
from trakt.core.helpers import popitems
from trakt.interfaces.base import Interface, authenticated
class UsersSettingsInterface(Interface):
path = 'users/settings'
@authenticated
def get(self, **kwargs):
response = self.http.get(
... | 493 | Python | .py | 14 | 27.285714 | 64 | 0.649789 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,397 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/users/__init__.py | from __future__ import absolute_import, division, print_function
import logging
from trakt.core.helpers import popitems
from trakt.interfaces.base import Interface, authenticated
# Import child interfaces
from trakt.interfaces.users.lists import UsersListInterface, UsersListsInterface # noqa: I100
from trakt.interfa... | 1,770 | Python | .py | 49 | 26.857143 | 94 | 0.606557 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,398 | __init__.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/users/lists/__init__.py | from __future__ import absolute_import, division, print_function
import requests
from trakt.core.helpers import clean_username
from trakt.interfaces.base import Interface
# Import child interfaces
from trakt.interfaces.users.lists.list_ import UsersListInterface # noqa: I100
from trakt.mapper import ListMapper
__all... | 2,046 | Python | .py | 60 | 24.75 | 79 | 0.594512 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |
35,399 | list_.py | SiCKRAGE_SiCKRAGE/sickrage/libs/trakt/interfaces/users/lists/list_.py | from __future__ import absolute_import, division, print_function
import requests
from trakt.core.helpers import clean_username, popitems
from trakt.interfaces.base import Interface, authenticated
from trakt.mapper import ListMapper, ListItemMapper
class UsersListInterface(Interface):
path = 'users/*/lists/*'
... | 4,801 | Python | .py | 142 | 23.352113 | 99 | 0.543586 | SiCKRAGE/SiCKRAGE | 1,537 | 665 | 0 | GPL-3.0 | 9/5/2024, 5:15:11 PM (Europe/Amsterdam) |