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
21,200
constants.py
evilhero_mylar/lib/transmissionrpc/constants.py
# -*- coding: utf-8 -*- # Copyright (c) 2008-2013 Erik Svensson <erik.public@gmail.com> # Licensed under the MIT license. import logging from six import iteritems LOGGER = logging.getLogger('transmissionrpc') LOGGER.setLevel(logging.ERROR) def mirror_dict(source): """ Creates a dictionary with al...
28,305
Python
.py
281
92.053381
201
0.564152
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,201
utils.py
evilhero_mylar/lib/transmissionrpc/utils.py
# -*- coding: utf-8 -*- # Copyright (c) 2008-2013 Erik Svensson <erik.public@gmail.com> # Licensed under the MIT license. import socket, datetime, logging from collections import namedtuple import transmissionrpc.constants as constants from transmissionrpc.constants import LOGGER from six import string_types...
6,811
Python
.py
187
27.807487
112
0.590371
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,202
__init__.py
evilhero_mylar/lib/transmissionrpc/__init__.py
# -*- coding: utf-8 -*- # Copyright (c) 2008-2013 Erik Svensson <erik.public@gmail.com> # Licensed under the MIT license. from transmissionrpc.constants import DEFAULT_PORT, DEFAULT_TIMEOUT, PRIORITY, RATIO_LIMIT, LOGGER from transmissionrpc.error import TransmissionError, HTTPHandlerError from transmissionrpc.h...
844
Python
.py
16
50.5
99
0.751214
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,203
torrent.py
evilhero_mylar/lib/transmissionrpc/torrent.py
# -*- coding: utf-8 -*- # Copyright (c) 2008-2013 Erik Svensson <erik.public@gmail.com> # Licensed under the MIT license. import sys, datetime from transmissionrpc.constants import PRIORITY, RATIO_LIMIT, IDLE_LIMIT from transmissionrpc.utils import Field, format_timedelta from six import integer_types, stri...
16,544
Python
.py
411
29.527981
132
0.563121
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,204
httphandler.py
evilhero_mylar/lib/transmissionrpc/httphandler.py
# -*- coding: utf-8 -*- # Copyright (c) 2011-2013 Erik Svensson <erik.public@gmail.com> # Licensed under the MIT license. import sys from transmissionrpc.error import HTTPHandlerError from six import PY3 if PY3: from urllib.request import Request, build_opener, \ HTTPPasswordMgrWithDefaultRe...
3,550
Python
.py
71
40.492958
121
0.667342
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,205
session.py
evilhero_mylar/lib/transmissionrpc/session.py
# -*- coding: utf-8 -*- # Copyright (c) 2008-2013 Erik Svensson <erik.public@gmail.com> # Licensed under the MIT license. from transmissionrpc.utils import Field from six import iteritems, integer_types class Session(object): """ Session is a class holding the session data for a Transmission daemon...
3,837
Python
.py
93
31.301075
113
0.583333
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,206
__init__.py
evilhero_mylar/lib/funcsigs/__init__.py
# Copyright 2001-2013 Python Software Foundation; All Rights Reserved """Function signature objects for callables Back port of Python 3.3's function signature tools from the inspect module, modified to be compatible with Python 2.6, 2.7 and 3.3+. """ from __future__ import absolute_import, division, print_function imp...
30,390
Python
.py
678
31.415929
84
0.547816
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,207
stresstest.py
evilhero_mylar/lib/ConcurrentLogHandler/stresstest.py
#!/usr/bin/env python """ stresstest.py: A stress-tester for ConcurrentRotatingFileHandler This utility spawns a bunch of processes that all try to concurrently write to the same file. This is pretty much the worst-case scenario for my log handler. Once all of the processes have completed writing to the log file, the...
10,516
Python
.py
232
35.603448
112
0.616863
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,208
cloghandler.py
evilhero_mylar/lib/ConcurrentLogHandler/cloghandler.py
# Copyright 2013 Lowell Alleman # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
15,685
Python
.py
307
41.247557
117
0.64562
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,209
portalocker.py
evilhero_mylar/lib/ConcurrentLogHandler/portalocker.py
# portalocker.py - Cross-platform (posix/nt) API for flock-style file locking. # Requires python 1.5.2 or better. """Cross-platform (posix/nt) API for flock-style file locking. Synopsis: import portalocker file = open("somefile", "r+") portalocker.lock(file, portalocker.LOCK_EX) file.seek...
3,780
Python
.py
108
28.731481
135
0.654365
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,210
_compat.py
evilhero_mylar/lib/markupsafe/_compat.py
# -*- coding: utf-8 -*- """ markupsafe._compat ~~~~~~~~~~~~~~~~~~ Compatibility module for different Python versions. :copyright: (c) 2013 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import sys PY2 = sys.version_info[0] == 2 if not PY2: text_type = str string_type...
565
Python
.py
22
21.772727
55
0.619666
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,211
__init__.py
evilhero_mylar/lib/markupsafe/__init__.py
# -*- coding: utf-8 -*- """ markupsafe ~~~~~~~~~~ Implements a Markup string. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import re import string from collections import Mapping from markupsafe._compat import text_type, string_types, int_types, \ u...
10,338
Python
.py
240
34.283333
82
0.585857
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,212
_constants.py
evilhero_mylar/lib/markupsafe/_constants.py
# -*- coding: utf-8 -*- """ markupsafe._constants ~~~~~~~~~~~~~~~~~~~~~ Highlevel implementation of the Markup string. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ HTML_ENTITIES = { 'AElig': 198, 'Aacute': 193, 'Acirc': 194, 'Agrave': 1...
4,795
Python
.py
263
13.292776
50
0.47659
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,213
tests.py
evilhero_mylar/lib/markupsafe/tests.py
# -*- coding: utf-8 -*- import gc import sys import unittest from markupsafe import Markup, escape, escape_silent from markupsafe._compat import text_type class MarkupTestCase(unittest.TestCase): def test_adding(self): # adding two strings should escape the unsafe one unsafe = '<script type="appl...
6,107
Python
.py
147
31.170068
82
0.51805
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,214
_native.py
evilhero_mylar/lib/markupsafe/_native.py
# -*- coding: utf-8 -*- """ markupsafe._native ~~~~~~~~~~~~~~~~~~ Native Python implementation the C module is not compiled. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from markupsafe import Markup from markupsafe._compat import text_type def escape(...
1,187
Python
.py
38
26.026316
71
0.599474
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,215
autoProcessComics.py
evilhero_mylar/post-processing/autoProcessComics.py
import sys import os.path import ConfigParser import urllib2 import urllib import platform try: import requests use_requests = True except ImportError: print '''Requests module not found on system. I'll revert so this will work, but you probably should install requests to bypass this in the future...
3,958
Python
.py
102
31.098039
219
0.632196
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,216
ComicRN.py
evilhero_mylar/post-processing/nzbget/ComicRN.py
#!/usr/bin/env python # ############################################################################## ### NZBGET POST-PROCESSING SCRIPT ### # # Move and rename comics according to Mylar's autoProcessComics.cfg # # NOTE: This script requires Python to be installed on your syste...
2,658
Python
.py
52
45.230769
151
0.569213
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,217
ComicRN.py
evilhero_mylar/post-processing/sabnzbd/ComicRN.py
#!/usr/bin/env python # ############################################################################## ### SABNZBD POST-PROCESSING SCRIPT ### # # Move and rename comics according to Mylar's autoProcessComics.cfg # # NOTE: This script requires Python to be installed on your system...
847
Python
.py
21
38.380952
116
0.579075
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,218
notifiers.py
evilhero_mylar/mylar/notifiers.py
# This file is part of mylar. # # mylar 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 version. # # mylar is distributed in the hope that...
18,324
Python
.py
384
37.033854
295
0.593818
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,219
db.py
evilhero_mylar/mylar/db.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
6,615
Python
.py
141
34.468085
128
0.548974
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,220
webviewer.py
evilhero_mylar/mylar/webviewer.py
import os import re import cherrypy import stat import zipfile from lib.rarfile import rarfile import mylar try: from PIL import Image except ImportError: logger.debug("WebReader Requested, but PIL or pillow libraries must be installed. Please execute 'pip install pillow', then restart Mylar.") return ser...
7,537
Python
.py
141
43.347518
214
0.618664
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,221
cmtagmylar.py
evilhero_mylar/mylar/cmtagmylar.py
# This script was taken almost entirely from Manders2600 Script with the use of the awesome ComicTagger. # modified very slightly so Mylar just passes it the IssueID for it to do it's magic. import os, errno import sys import re import glob import shlex import platform import shutil import time import zipfile import ...
13,638
Python
.py
248
43.887097
227
0.613522
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,222
weeklypull.py
evilhero_mylar/mylar/weeklypull.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
88,402
Python
.py
1,416
41.372175
714
0.489986
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,223
config.py
evilhero_mylar/mylar/config.py
import itertools from collections import OrderedDict from operator import itemgetter import os import glob import codecs import shutil import threading import re import ConfigParser import mylar from mylar import logger, helpers, encrypted import errno config = ConfigParser.SafeConfigParser() _CONFIG_DEFINITIONS = O...
58,374
Python
.py
1,125
38.787556
208
0.543779
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,224
opds.py
evilhero_mylar/mylar/opds.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of Mylar. # # Mylar 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 vers...
42,217
Python
.py
817
36.671971
241
0.520231
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,225
getcomics.py
evilhero_mylar/mylar/getcomics.py
# -*- coding: utf-8 -*- # This file is part of Mylar. # # Mylar 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 version. # # Mylar is distribute...
21,682
Python
.py
417
33.529976
194
0.457828
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,226
comicbookdb.py
evilhero_mylar/mylar/comicbookdb.py
from bs4 import BeautifulSoup, UnicodeDammit import urllib2 import re import helpers import logger import datetime import sys from decimal import Decimal from HTMLParser import HTMLParseError from time import strptime def cbdb(comicnm, ComicYear): #comicnm = 'Animal Man' #print ( "comicname: " + str(comicnm)...
8,235
Python
.py
191
33.350785
210
0.545148
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,227
latest.py
evilhero_mylar/mylar/latest.py
# just updating the sqlite db to latest issue / newest pull from mylar import db def latestcheck(): myDB = db.DBConnection() comics = myDB.select('SELECT * from comics WHERE LatestIssue = 'None')
216
Python
.py
5
38.2
78
0.710145
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,228
test.py
evilhero_mylar/mylar/test.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
4,448
Python
.py
94
36.776596
128
0.617193
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,229
sabnzbd.py
evilhero_mylar/mylar/sabnzbd.py
#!/usr/bin/python # This file is part of Mylar. # # Mylar 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 version. # # Mylar is distribute...
8,883
Python
.py
152
40.328947
177
0.509464
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,230
dbupdater.py
evilhero_mylar/mylar/dbupdater.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that it wi...
1,176
Python
.py
26
42.153846
121
0.748252
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,231
encrypted.py
evilhero_mylar/mylar/encrypted.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of Mylar. # # Mylar 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 vers...
1,888
Python
.py
48
33.520833
92
0.651391
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,232
importer.py
evilhero_mylar/mylar/importer.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of Mylar. # # Mylar 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 vers...
80,815
Python
.py
1,420
41.75
298
0.542585
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,233
newpull.py
evilhero_mylar/mylar/newpull.py
from bs4 import BeautifulSoup, UnicodeDammit import urllib2 import csv import fileinput import sys import re import os import sqlite3 import datetime import unicodedata from decimal import Decimal from HTMLParser import HTMLParseError from time import strptime import requests import mylar from mylar import logger de...
4,753
Python
.py
108
30.277778
186
0.511299
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,234
mb.py
evilhero_mylar/mylar/mb.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
27,511
Python
.py
492
36.660569
343
0.485989
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,235
librarysync.py
evilhero_mylar/mylar/librarysync.py
# -*- coding: utf-8 -*- # This file is part of Mylar. # # Mylar 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 version. # # Mylar is dist...
39,597
Python
.py
630
41.515873
234
0.486008
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,236
moveit.py
evilhero_mylar/mylar/moveit.py
import mylar from mylar import db, logger, helpers, updater, filechecker import os import shutil import ast def movefiles(comicid, comlocation, imported): #comlocation is destination #comicid is used for rename files_moved = [] try: imported = ast.literal_eval(imported) except ValueError: ...
5,320
Python
.py
102
38.686275
131
0.560108
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,237
searchit.py
evilhero_mylar/mylar/searchit.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that it wi...
1,292
Python
.py
28
42.357143
122
0.733704
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,238
versioncheck.py
evilhero_mylar/mylar/versioncheck.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
12,594
Python
.py
253
38.924901
162
0.603586
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,239
Failed.py
evilhero_mylar/mylar/Failed.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
15,082
Python
.py
275
42.4
173
0.583655
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,240
maintenance.py
evilhero_mylar/mylar/maintenance.py
# This file is part of Mylar. # -*- coding: utf-8 -*- # # Mylar 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 version. # # Mylar is dist...
9,190
Python
.py
165
43.163636
248
0.581007
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,241
search.py
evilhero_mylar/mylar/search.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
161,475
Python
.py
2,708
40.681684
534
0.508547
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,242
rsscheckit.py
evilhero_mylar/mylar/rsscheckit.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that it wi...
5,865
Python
.py
94
45.861702
166
0.576389
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,243
rsscheck.py
evilhero_mylar/mylar/rsscheck.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that it wi...
57,247
Python
.py
1,114
36.658887
238
0.514671
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,244
nzbget.py
evilhero_mylar/mylar/nzbget.py
#!/usr/bin/python # This file is part of Harpoon. # # Harpoon 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 version. # # Harpoon is dist...
11,264
Python
.py
213
37.596244
182
0.529241
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,245
api.py
evilhero_mylar/mylar/api.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of Mylar. # # Mylar 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 vers...
31,970
Python
.py
731
31.722298
196
0.560097
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,246
utorrent.py
evilhero_mylar/mylar/utorrent.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
6,754
Python
.py
146
37.513699
143
0.608782
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,247
process.py
evilhero_mylar/mylar/process.py
# This file is part of Mylar. # -*- coding: utf-8 -*- # # Mylar 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 version. # # Mylar is dist...
5,033
Python
.py
105
33.752381
200
0.539837
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,248
readinglist.py
evilhero_mylar/mylar/readinglist.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
12,328
Python
.py
212
45.754717
258
0.537157
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,249
auth.py
evilhero_mylar/mylar/auth.py
#!/usr/bin/env python # -*- encoding: UTF-8 -*- # This file is part of Mylar. # # Mylar 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 ver...
6,778
Python
.py
153
37.542484
125
0.662023
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,250
cache.py
evilhero_mylar/mylar/cache.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
6,033
Python
.py
132
35.621212
110
0.606278
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,251
filers.py
evilhero_mylar/mylar/filers.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of Mylar. # # Mylar 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 vers...
28,615
Python
.py
498
40.096386
163
0.511745
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,252
solicit.py
evilhero_mylar/mylar/solicit.py
from bs4 import BeautifulSoup, UnicodeDammit import urllib2 import csv import fileinput import sys import re import os import sqlite3 import datetime import unicodedata from decimal import Decimal from HTMLParser import HTMLParseError from time import strptime import mylar from mylar import logger, helpers def solic...
14,898
Python
.py
298
34.325503
334
0.481155
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,253
__init__.py
evilhero_mylar/mylar/__init__.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of Mylar. # # Mylar 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 vers...
60,524
Python
.py
1,193
41.483655
789
0.66191
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,254
scheduler.py
evilhero_mylar/mylar/scheduler.py
# Author: Nic Wolfe <nic@wolfeden.ca> # URL: http://code.google.com/p/sickbeard/ # # This file is part of Sick Beard. # # Sick Beard 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 Lice...
2,776
Python
.py
67
32.164179
106
0.630952
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,255
versioncheckit.py
evilhero_mylar/mylar/versioncheckit.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that it wi...
1,261
Python
.py
27
43.148148
124
0.74288
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,256
logger.py
evilhero_mylar/mylar/logger.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
13,503
Python
.py
295
34.223729
168
0.602677
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,257
updater.py
evilhero_mylar/mylar/updater.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
92,033
Python
.py
1,480
43.868243
332
0.525141
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,258
weeklypullit.py
evilhero_mylar/mylar/weeklypullit.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that it wi...
1,290
Python
.py
28
42.285714
125
0.738057
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,259
wwt.py
evilhero_mylar/mylar/wwt.py
#!/usr/bin/env python # This file is part of Mylar. # # Mylar 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 version. # # Mylar is distri...
7,717
Python
.py
168
29.416667
117
0.466986
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,260
cv.py
evilhero_mylar/mylar/cv.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
52,004
Python
.py
986
38.459432
249
0.536743
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,261
webserve.py
evilhero_mylar/mylar/webserve.py
# This file is part of Mylar. # -*- coding: utf-8 -*- # # Mylar 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 version. # # Mylar is dist...
350,353
Python
.py
5,819
42.691012
421
0.527228
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,262
webstart.py
evilhero_mylar/mylar/webstart.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of Mylar. # # Mylar 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 vers...
7,551
Python
.py
166
35.614458
127
0.598316
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,263
filechecker.py
evilhero_mylar/mylar/filechecker.py
#/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of Mylar. # # Mylar 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...
103,577
Python
.py
1,617
41.577613
395
0.468448
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,264
findcomicfeed.py
evilhero_mylar/mylar/findcomicfeed.py
#!/usr/bin/env python import os import sys import time import feedparser import re import logger import mylar import unicodedata import urllib def Startit(searchName, searchIssue, searchYear, ComicVersion, IssDateFix, booktype=None): cName = searchName #clean up searchName due to webparse/redudant naming tha...
8,669
Python
.py
177
37.19774
224
0.531032
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,265
auth32p.py
evilhero_mylar/mylar/auth32p.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that it wi...
32,382
Python
.py
573
40.324607
217
0.534263
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,266
sabparse.py
evilhero_mylar/mylar/sabparse.py
#!/usr/bin/env python # This file is part of Mylar. # # Mylar 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 version. # # Mylar is distri...
2,727
Python
.py
65
33
106
0.606267
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,267
ftpsshup.py
evilhero_mylar/mylar/ftpsshup.py
#!/usr/local/bin/python import os import time import mylar from mylar import logger def putfile(localpath, file): #localpath=full path to .torrent (including filename), file=filename of torrent try: import paramiko except ImportError: logger.fdebug('paramiko not found on system. Please in...
9,292
Python
.py
196
35.816327
146
0.597681
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,268
helpers.py
evilhero_mylar/mylar/helpers.py
# This file is part of Mylar. # -*- coding: utf-8 -*- # # Mylar 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 version. # # Mylar is dist...
191,351
Python
.py
3,716
37.050054
335
0.528789
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,269
PostProcessor.py
evilhero_mylar/mylar/PostProcessor.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
195,670
Python
.py
2,579
47.638232
399
0.463439
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,270
locg.py
evilhero_mylar/mylar/locg.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
7,016
Python
.py
125
40.144
326
0.517543
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,271
parseit.py
evilhero_mylar/mylar/parseit.py
# This file is part of Mylar. # # Mylar 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 version. # # Mylar is distributed in the hope that...
36,412
Python
.py
733
38.502046
840
0.550347
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,272
rtorrent.py
evilhero_mylar/mylar/torrent/clients/rtorrent.py
import os import re from urlparse import urlparse from lib.rtorrent import RTorrent import mylar from mylar import logger, helpers class TorrentClient(object): def __init__(self): self.conn = None def getVerifySsl(self, verify, ca_bundle): # Ensure verification has been enabled if no...
7,595
Python
.py
167
32.886228
151
0.566153
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,273
transmission.py
evilhero_mylar/mylar/torrent/clients/transmission.py
import os import mylar from mylar import logger from transmissionrpc import Client class TorrentClient(object): def __init__(self): self.conn = None def connect(self, host, username, password): if self.conn is not None: return self.conn if not host: return Fal...
3,660
Python
.py
90
28.344444
152
0.561497
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,274
qbittorrent.py
evilhero_mylar/mylar/torrent/clients/qbittorrent.py
import os import mylar from base64 import b16encode, b32decode import re import time from mylar import logger, helpers from lib.qbittorrent import client class TorrentClient(object): def __init__(self): self.conn = None def connect(self, host, username, password, test=False): if self.conn is ...
7,159
Python
.py
142
35.457746
152
0.544946
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,275
utorrent.py
evilhero_mylar/mylar/torrent/clients/utorrent.py
import os from libs.utorrent.client import UTorrentClient # Only compatible with uTorrent 3.0+ class TorrentClient(object): def __init__(self): self.conn = None def connect(self, host, username, password): if self.conn is not None: return self.conn if not host: ...
2,494
Python
.py
70
23.8
81
0.535029
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,276
deluge.py
evilhero_mylar/mylar/torrent/clients/deluge.py
import os import mylar import base64 from mylar import logger, helpers from deluge_client import DelugeRPCClient class TorrentClient(object): def __init__(self): self.conn = None def connect(self, host, username, password, test=False): if self.conn is not None: return self.connect...
8,341
Python
.py
177
33.412429
189
0.552085
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,277
variable.py
evilhero_mylar/mylar/torrent/helpers/variable.py
import os def link(src, dst): if os.name == 'nt': import ctypes if ctypes.windll.kernel32.CreateHardLinkW(unicode(dst), unicode(src), 0) == 0: raise ctypes.WinError() else: os.link(src, dst) def symlink(src, dst): if os.name == 'nt': import ctypes if ctypes.windll.k...
858
Python
.py
24
29.666667
151
0.628019
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,278
fcgi.conf
evilhero_mylar/lib/cherrypy/test/fcgi.conf
# Apache2 server conf file for testing CherryPy with mod_fcgid. DocumentRoot "C:\Python25\Lib\site-packages\cherrypy\test" ServerName 127.0.0.1 Listen 8080 LoadModule fastcgi_module modules/mod_fastcgi.dll LoadModule rewrite_module modules/mod_rewrite.so Options ExecCGI SetHandler fastcgi-script RewriteEngine On Rew...
460
Python
.cgi
11
40.545455
106
0.818386
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,279
modfcgid.py
evilhero_mylar/lib/cherrypy/test/modfcgid.py
"""Wrapper for mod_fcgid, for use as a CherryPy HTTP server when testing. To autostart fcgid, the "apache" executable or script must be on your system path, or you must override the global APACHE_PATH. On some platforms, "apache" may be called "apachectl", "apache2ctl", or "httpd"--create a symlink to them if needed. ...
4,308
Python
.cgi
101
36.623762
77
0.691528
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,280
fastcgi.conf
evilhero_mylar/lib/cherrypy/test/fastcgi.conf
# Apache2 server conf file for testing CherryPy with mod_fastcgi. # fumanchu: I had to hard-code paths due to crazy Debian layouts :( ServerRoot /usr/lib/apache2 User #1000 ErrorLog /usr/lib/python2.5/site-packages/cproot/trunk/cherrypy/test/mod_fastcgi.error.log DocumentRoot "/usr/lib/python2.5/site-packages/cproot/...
686
Python
.cgi
15
44.533333
116
0.820359
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,281
modfastcgi.py
evilhero_mylar/lib/cherrypy/test/modfastcgi.py
"""Wrapper for mod_fastcgi, for use as a CherryPy HTTP server when testing. To autostart fastcgi, the "apache" executable or script must be on your system path, or you must override the global APACHE_PATH. On some platforms, "apache" may be called "apachectl", "apache2ctl", or "httpd"--create a symlink to them if need...
4,709
Python
.cgi
110
36.927273
91
0.696295
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,282
apache-fcgi.conf
evilhero_mylar/lib/cherrypy/scaffold/apache-fcgi.conf
# Apache2 server conf file for using CherryPy with mod_fcgid. # This doesn't have to be "C:/", but it has to be a directory somewhere, and # MUST match the directory used in the FastCgiExternalServer directive, below. DocumentRoot "C:/" ServerName 127.0.0.1 Listen 80 LoadModule fastcgi_module modules/mod_fastcgi.dll ...
929
Python
.cgi
18
50.444444
98
0.805066
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,283
scgi.py
evilhero_mylar/lib/rtorrent/lib/xmlrpc/clients/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...
5,670
Python
.cgi
134
37.865672
79
0.707503
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,284
scgi.py
evilhero_mylar/lib/rtorrent/lib/xmlrpc/transports/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...
5,943
Python
.cgi
139
37.064748
91
0.686247
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,285
modfcgid.py
evilhero_mylar/lib/cherrypy/test/modfcgid.py
"""Wrapper for mod_fcgid, for use as a CherryPy HTTP server when testing. To autostart fcgid, the "apache" executable or script must be on your system path, or you must override the global APACHE_PATH. On some platforms, "apache" may be called "apachectl", "apache2ctl", or "httpd"--create a symlink to them if needed. ...
4,308
Python
.fcgi
101
36.623762
77
0.691528
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,286
apache-fcgi.conf
evilhero_mylar/lib/cherrypy/scaffold/apache-fcgi.conf
# Apache2 server conf file for using CherryPy with mod_fcgid. # This doesn't have to be "C:/", but it has to be a directory somewhere, and # MUST match the directory used in the FastCgiExternalServer directive, below. DocumentRoot "C:/" ServerName 127.0.0.1 Listen 80 LoadModule fastcgi_module modules/mod_fastcgi.dll ...
929
Python
.fcgi
18
50.444444
98
0.805066
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,287
_cpwsgi_server.py
evilhero_mylar/lib/cherrypy/_cpwsgi_server.py
"""WSGI server interface (see PEP 333). This adds some CP-specific bits to the framework-agnostic wsgiserver package. """ import sys import cherrypy from cherrypy import wsgiserver class CPWSGIServer(wsgiserver.CherryPyWSGIServer): """Wrapper for wsgiserver.CherryPyWSGIServer. wsgiserver has been designed ...
3,023
Python
.wsgi
59
39.864407
85
0.648154
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,288
_cpwsgi.py
evilhero_mylar/lib/cherrypy/_cpwsgi.py
"""WSGI interface (see PEP 333 and 3333). Note that WSGI environ keys and values are 'native strings'; that is, whatever the type of "" is. For Python 2, that's a byte string; for Python 3, it's a unicode string. But PEP 3333 says: "even if Python's str type is actually Unicode "under the hood", the content of native ...
16,870
Python
.wsgi
361
34.947368
79
0.580331
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,289
test_wsgi_ns.py
evilhero_mylar/lib/cherrypy/test/test_wsgi_ns.py
import cherrypy from cherrypy.test import helper class WSGI_Namespace_Test(helper.CPWebCase): def setup_server(): class WSGIResponse(object): def __init__(self, appresults): self.appresults = appresults self.iter = iter(appresults) ...
2,570
Python
.wsgi
56
28.142857
77
0.512142
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,290
test_wsgi_vhost.py
evilhero_mylar/lib/cherrypy/test/test_wsgi_vhost.py
import cherrypy from cherrypy.test import helper class WSGI_VirtualHost_Test(helper.CPWebCase): def setup_server(): class ClassOfRoot(object): def __init__(self, name): self.name = name def index(self): return "Wel...
1,127
Python
.wsgi
23
35.608696
81
0.612808
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,291
test_wsgiapps.py
evilhero_mylar/lib/cherrypy/test/test_wsgiapps.py
from cherrypy.test import helper class WSGIGraftTests(helper.CPWebCase): def setup_server(): import os curdir = os.path.join(os.getcwd(), os.path.dirname(__file__)) import cherrypy def test_app(environ, start_response): status = '200 OK' r...
3,819
Python
.wsgi
84
31.547619
72
0.568722
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,292
modwsgi.py
evilhero_mylar/lib/cherrypy/test/modwsgi.py
"""Wrapper for mod_wsgi, for use as a CherryPy HTTP server. To autostart modwsgi, the "apache" executable or script must be on your system path, or you must override the global APACHE_PATH. On some platforms, "apache" may be called "apachectl" or "apache2ctl"-- create a symlink to them if needed. KNOWN BUGS ========...
4,880
Python
.wsgi
118
35.5
90
0.680401
evilhero/mylar
977
173
0
GPL-3.0
9/5/2024, 5:12:46 PM (Europe/Amsterdam)
21,293
setup.py
pymupdf_PyMuPDF/setup.py
#! /usr/bin/env python3 ''' Overview: Build script for PyMuPDF, supporting PEP-517 and simple command-line usage. We hard-code the URL of the MuPDF .tar.gz file that we require. This generally points to a particular source release on mupdf.com. Default behaviour: Building an sdist: ...
48,119
Python
.py
1,146
32.453752
172
0.591096
pymupdf/PyMuPDF
5,009
480
32
AGPL-3.0
9/5/2024, 5:12:54 PM (Europe/Amsterdam)
21,294
pipcl.py
pymupdf_PyMuPDF/pipcl.py
''' Python packaging operations, including PEP-517 support, for use by a `setup.py` script. The intention is to take care of as many packaging details as possible so that setup.py contains only project-specific information, while also giving as much flexibility as possible. For example we provide a function `build_ex...
93,511
Python
.py
2,212
30.250452
145
0.518816
pymupdf/PyMuPDF
5,009
480
32
AGPL-3.0
9/5/2024, 5:12:54 PM (Europe/Amsterdam)
21,295
wdev.py
pymupdf_PyMuPDF/wdev.py
''' Finds locations of Windows command-line development tools. ''' import os import platform import glob import re import subprocess import sys import sysconfig import textwrap import pipcl class WindowsVS: r''' Windows only. Finds locations of Visual Studio command-line tools. Assumes VS2019-style paths...
13,541
Python
.py
327
28.82263
144
0.508922
pymupdf/PyMuPDF
5,009
480
32
AGPL-3.0
9/5/2024, 5:12:54 PM (Europe/Amsterdam)
21,296
__main__.py
pymupdf_PyMuPDF/src/__main__.py
# ----------------------------------------------------------------------------- # Copyright 2020-2022, Harald Lieder, mailto:harald.lieder@outlook.com # License: GNU AFFERO GPL 3.0, https://www.gnu.org/licenses/agpl-3.0.html # Part of "PyMuPDF", Python bindings for "MuPDF" (http://mupdf.com), a # lightweight PDF, XPS, ...
41,110
Python
.py
1,028
31.143969
88
0.545941
pymupdf/PyMuPDF
5,009
480
32
AGPL-3.0
9/5/2024, 5:12:54 PM (Europe/Amsterdam)
21,297
utils.py
pymupdf_PyMuPDF/src/utils.py
# ------------------------------------------------------------------------ # Copyright 2020-2022, Harald Lieder, mailto:harald.lieder@outlook.com # License: GNU AFFERO GPL 3.0, https://www.gnu.org/licenses/agpl-3.0.html # # Part of "PyMuPDF", a Python binding for "MuPDF" (http://mupdf.com), a # lightweight PDF, XPS, an...
200,105
Python
.py
5,226
29.342518
203
0.547429
pymupdf/PyMuPDF
5,009
480
32
AGPL-3.0
9/5/2024, 5:12:54 PM (Europe/Amsterdam)
21,298
__init__.py
pymupdf_PyMuPDF/src/__init__.py
''' PyMuPDF implemented on top of MuPDF Python bindings. License: SPDX-License-Identifier: GPL-3.0-only ''' # To reduce startup times, we don't import everything we require here. # import atexit import binascii import collections import inspect import io import math import os import pathlib import glob import re...
805,118
Python
.py
19,821
30.136673
173
0.558317
pymupdf/PyMuPDF
5,009
480
32
AGPL-3.0
9/5/2024, 5:12:54 PM (Europe/Amsterdam)
21,299
table.py
pymupdf_PyMuPDF/src/table.py
""" Copyright (C) 2023 Artifex Software, Inc. This file is part of PyMuPDF. PyMuPDF is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
81,413
Python
.py
1,968
31.134146
89
0.556364
pymupdf/PyMuPDF
5,009
480
32
AGPL-3.0
9/5/2024, 5:12:54 PM (Europe/Amsterdam)