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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5,200 | imdbpy.pot | cinemagoer_cinemagoer/imdb/locale/imdbpy.pot | # Gettext message file for imdbpy
msgid ""
msgstr ""
"Project-Id-Version: imdbpy\n"
"POT-Creation-Date: 2010-03-18 14:35+0000\n"
"PO-Revision-Date: YYYY-MM-DD HH:MM+0000\n"
"Last-Translator: YOUR NAME <YOUR@EMAIL>\n"
"Language-Team: TEAM NAME <TEAM@EMAIL>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-... | 18,867 | Python | .py | 979 | 17.942799 | 53 | 0.779403 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,201 | imdbpy-de.po | cinemagoer_cinemagoer/imdb/locale/imdbpy-de.po | # Gettext message file for imdbpy
# Translators:
# Martin Gri <fanderbestenband@googlemail.com>, 2017
# Nils Welzk, 2013
# Raphael, 2014
# vaeng vaeng <christiaaan@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Cinemagoer\n"
"POT-Creation-Date: 2010-03-18 14:35+0000\n"
"PO-Revision-Date: 2018-11-14 12:49+0000... | 23,174 | Python | .py | 985 | 22.137056 | 88 | 0.810227 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,202 | imdbpy-en.po | cinemagoer_cinemagoer/imdb/locale/imdbpy-en.po | # Gettext message file for imdbpy
msgid ""
msgstr ""
"Project-Id-Version: imdbpy\n"
"POT-Creation-Date: 2009-04-16 14:27+0000\n"
"PO-Revision-Date: YYYY-MM-DD HH:MM+0000\n"
"Last-Translator: YOUR NAME <YOUR@EMAIL>\n"
"Language-Team: TEAM NAME <TEAM@EMAIL>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-... | 21,974 | Python | .py | 946 | 21.899577 | 53 | 0.808273 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,203 | imdbpy-es.po | cinemagoer_cinemagoer/imdb/locale/imdbpy-es.po | # Gettext message file for imdbpy
# Translators:
# strel, 2013
msgid ""
msgstr ""
"Project-Id-Version: Cinemagoer\n"
"POT-Creation-Date: 2010-03-18 14:35+0000\n"
"PO-Revision-Date: 2016-03-28 20:40+0000\n"
"Last-Translator: strel\n"
"Language-Team: Spanish (http://www.transifex.com/davide_alberani/imdbpy/language/es/)\... | 24,257 | Python | .py | 982 | 23.205703 | 89 | 0.809066 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,204 | imdbpy-bg.po | cinemagoer_cinemagoer/imdb/locale/imdbpy-bg.po | # Gettext message file for imdbpy
# Translators:
# Атанас Ковачки <crashdeburn@gmail.com>, 2014
msgid ""
msgstr ""
"Project-Id-Version: Cinemagoer\n"
"POT-Creation-Date: 2010-03-18 14:35+0000\n"
"PO-Revision-Date: 2018-12-29 20:34+0000\n"
"Last-Translator: Атанас Ковачки <crashdeburn@gmail.com>\n"
"Language-Team: Bulga... | 21,161 | Python | .py | 982 | 19.150713 | 91 | 0.789961 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,205 | imdbpy-ar.po | cinemagoer_cinemagoer/imdb/locale/imdbpy-ar.po | # Gettext message file for imdbpy
# Translators:
# Rajaa Jalil <rajaa@hilltx.com>, 2013
msgid ""
msgstr ""
"Project-Id-Version: Cinemagoer\n"
"POT-Creation-Date: 2010-03-18 14:35+0000\n"
"PO-Revision-Date: 2016-03-28 20:40+0000\n"
"Last-Translator: Rajaa Jalil <rajaa@hilltx.com>\n"
"Language-Team: Arabic (http://www.tr... | 19,765 | Python | .py | 982 | 18.461303 | 129 | 0.7814 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,206 | __init__.py | cinemagoer_cinemagoer/imdb/locale/__init__.py | # Copyright 2009 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License, or
# (at your option) any later version.
#
# This program is d... | 1,071 | Python | .py | 24 | 43.416667 | 82 | 0.785029 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,207 | imdbpy-it.po | cinemagoer_cinemagoer/imdb/locale/imdbpy-it.po | # Gettext message file for imdbpy
msgid ""
msgstr ""
"Project-Id-Version: imdbpy\n"
"POT-Creation-Date: 2010-03-18 14:35+0000\n"
"PO-Revision-Date: 2009-07-03 13:00+0000\n"
"Last-Translator: Davide Alberani <da@erlug.linux.it>\n"
"Language-Team: Davide Alberani <da@erlug.linux.it>\n"
"MIME-Version: 1.0\n"
"Content-Type... | 23,271 | Python | .py | 979 | 22.434116 | 56 | 0.807904 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,208 | imdbpy-tr.po | cinemagoer_cinemagoer/imdb/locale/imdbpy-tr.po | # Gettext message file for imdbpy
msgid ""
msgstr ""
"Project-Id-Version: imdbpy\n"
"POT-Creation-Date: 2010-03-18 14:35+0000\n"
"PO-Revision-Date: 2009-04-21 19:04+0200\n"
"Last-Translator: H. Turgut Uyar <uyar@itu.edu.tr>\n"
"Language-Team: Cinemagoer Türkçe <uyar@itu.edu.tr>\n"
"MIME-Version: 1.0\n"
"Content-Type: t... | 22,303 | Python | .py | 979 | 21.129724 | 55 | 0.802572 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,209 | imdbpy-fr.po | cinemagoer_cinemagoer/imdb/locale/imdbpy-fr.po | # Gettext message file for imdbpy
# Translators:
# lukophron, 2014-2016
# Rajaa Jalil <rajaa@hilltx.com>, 2013
# lkppo, 2012
msgid ""
msgstr ""
"Project-Id-Version: Cinemagoer\n"
"POT-Creation-Date: 2010-03-18 14:35+0000\n"
"PO-Revision-Date: 2016-03-20 05:27+0000\n"
"Last-Translator: lukophron\n"
"Language-Team: Frenc... | 19,684 | Python | .py | 984 | 18.653455 | 88 | 0.78638 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,210 | __init__.py | cinemagoer_cinemagoer/imdb/parser/__init__.py | # Copyright 2004-2017 Davide Alberani <da@erlug.linux.it>
#
# 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 2 of the License, or
# (at your option) any later version.
#
# This pro... | 1,090 | Python | .py | 22 | 48.409091 | 82 | 0.771831 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,211 | movieParser.py | cinemagoer_cinemagoer/imdb/parser/http/movieParser.py | # -*- coding: utf-8 -*-
# Copyright 2004-2023 Davide Alberani <da@erlug.linux.it>
# 2008-2018 H. Turgut Uyar <uyar@tekir.org>
#
# 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 ... | 97,928 | Python | .py | 2,536 | 24.250789 | 159 | 0.451871 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,212 | searchPersonParser.py | cinemagoer_cinemagoer/imdb/parser/http/searchPersonParser.py | # Copyright 2004-2022 Davide Alberani <da@erlug.linux.it>
# 2008-2018 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License,... | 2,686 | Python | .py | 64 | 32.78125 | 119 | 0.604598 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,213 | searchMovieParser.py | cinemagoer_cinemagoer/imdb/parser/http/searchMovieParser.py | # Copyright 2004-2022 Davide Alberani <da@erlug.linux.it>
# 2008-2018 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License,... | 4,614 | Python | .py | 113 | 30.212389 | 106 | 0.549732 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,214 | piculet.py | cinemagoer_cinemagoer/imdb/parser/http/piculet.py | # Copyright (C) 2014-2022 H. Turgut Uyar <uyar@tekir.org>
#
# Piculet is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Picule... | 26,143 | Python | .py | 607 | 34.100494 | 95 | 0.596904 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,215 | companyParser.py | cinemagoer_cinemagoer/imdb/parser/http/companyParser.py | # Copyright 2008-2019 Davide Alberani <da@erlug.linux.it>
# 2008-2018 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License,... | 4,253 | Python | .py | 105 | 27.866667 | 82 | 0.522276 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,216 | showtimesParser.py | cinemagoer_cinemagoer/imdb/parser/http/showtimesParser.py | # Copyright 2009-2022 Davide Alberani <da@erlug.linux.it>
# 2018 H. Turgut Uyar <uyar@tekir.org>
# 2022 Kostya Farber
#
# 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 Foundati... | 3,702 | Python | .py | 85 | 25.188235 | 118 | 0.434951 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,217 | utils.py | cinemagoer_cinemagoer/imdb/parser/http/utils.py | # Copyright 2004-2022 Davide Alberani <da@erlug.linux.it>
# 2008-2018 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License,... | 22,603 | Python | .py | 579 | 28.773748 | 93 | 0.545719 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,218 | __init__.py | cinemagoer_cinemagoer/imdb/parser/http/__init__.py | # Copyright 2004-2022 Davide Alberani <da@erlug.linux.it>
# 2008 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License,... | 33,163 | Python | .py | 686 | 38.360058 | 170 | 0.612713 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,219 | topBottomParser.py | cinemagoer_cinemagoer/imdb/parser/http/topBottomParser.py | # Copyright 2009-2023 Davide Alberani <da@erlug.linux.it>
# 2018 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License,... | 7,892 | Python | .py | 186 | 29.494624 | 119 | 0.5243 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,220 | personParser.py | cinemagoer_cinemagoer/imdb/parser/http/personParser.py | # Copyright 2004-2022 Davide Alberani <da@erlug.linux.it>
# 2008-2018 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License,... | 22,385 | Python | .py | 608 | 22.381579 | 169 | 0.440501 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,221 | searchKeywordParser.py | cinemagoer_cinemagoer/imdb/parser/http/searchKeywordParser.py | # Copyright 2009-2022 Davide Alberani <da@erlug.linux.it>
# 2018 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License,... | 3,659 | Python | .py | 93 | 29.516129 | 100 | 0.579318 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,222 | searchMovieAdvancedParser.py | cinemagoer_cinemagoer/imdb/parser/http/searchMovieAdvancedParser.py | # -*- coding: utf-8 -*-
# Copyright 2019 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License, or
# (at your option) any later versi... | 9,949 | Python | .py | 224 | 27.553571 | 136 | 0.453645 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,223 | searchCompanyParser.py | cinemagoer_cinemagoer/imdb/parser/http/searchCompanyParser.py | # Copyright 2008-2022 Davide Alberani <da@erlug.linux.it>
# 2008-2018 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License,... | 2,653 | Python | .py | 60 | 34.85 | 119 | 0.611929 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,224 | listParser.py | cinemagoer_cinemagoer/imdb/parser/http/listParser.py | # Copyright 2004-2018 Davide Alberani <da@erlug.linux.it>
# 2008-2018 H. Turgut Uyar <uyar@tekir.org>
#
# 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 2 of the License,... | 4,107 | Python | .py | 93 | 30.806452 | 105 | 0.532416 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,225 | __init__.py | cinemagoer_cinemagoer/imdb/parser/sql/__init__.py | # Copyright 2005-2019 Davide Alberani <da@erlug.linux.it>
#
# 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 2 of the License, or
# (at your option) any later version.
#
# This pro... | 63,944 | Python | .py | 1,521 | 29.795529 | 101 | 0.537194 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,226 | dbschema.py | cinemagoer_cinemagoer/imdb/parser/sql/dbschema.py | # Copyright 2005-2017 Davide Alberani <da@erlug.linux.it>
# 2006 Giuseppe "Cowo" Corbelli <cowo --> lugbs.linux.it>
#
# 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 versio... | 19,323 | Python | .py | 377 | 41.880637 | 89 | 0.609273 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,227 | alchemyadapter.py | cinemagoer_cinemagoer/imdb/parser/sql/alchemyadapter.py | # Copyright 2008-2017 Davide Alberani <da@erlug.linux.it>
#
# 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 2 of the License, or
# (at your option) any later version.
#
# This pro... | 16,586 | Python | .py | 386 | 35.033679 | 89 | 0.620957 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,228 | utils.py | cinemagoer_cinemagoer/imdb/parser/s3/utils.py | # Copyright 2018 Davide Alberani <da@erlug.linux.it>
#
# 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 2 of the License, or
# (at your option) any later version.
#
# This program ... | 12,180 | Python | .py | 304 | 32.907895 | 108 | 0.60426 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,229 | __init__.py | cinemagoer_cinemagoer/imdb/parser/s3/__init__.py | # -*- coding: utf-8 -*-
# Copyright 2017-2019 Davide Alberani <da@erlug.linux.it>
#
# 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 2 of the License, or
# (at your option) any lat... | 11,613 | Python | .py | 253 | 35.29249 | 111 | 0.584054 | cinemagoer/cinemagoer | 1,219 | 352 | 80 | GPL-2.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,230 | setup.py | kmmbvnr_django-jenkins/setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
from os import path
from setuptools import setup
read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()
setup(
name='django-jenkins',
version='1.11.0',
author='Mikhail Podgurskiy',
author_email='kmmbvnr@gmail.com',
descript... | 1,823 | Python | .py | 45 | 34.022222 | 89 | 0.62775 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,231 | apps.py | kmmbvnr_django-jenkins/django_jenkins/apps.py | import sys
from django.apps import AppConfig
from django_jenkins.tasks.with_coverage import CoverageReporter
class JenkinsConfig(AppConfig):
"""
Enable coverage measurement as soon as possible
"""
name = 'django_jenkins'
def __init__(self, app_name, app_module):
super(JenkinsConfig, self)... | 582 | Python | .py | 16 | 29.3125 | 69 | 0.655971 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,232 | runner.py | kmmbvnr_django-jenkins/django_jenkins/runner.py | import os
import sys
import time
from unittest import TextTestResult
from xml.etree import ElementTree as ET
from django.test.runner import DiscoverRunner
from django.utils.encoding import smart_text
class EXMLTestResult(TextTestResult):
def __init__(self, *args, **kwargs):
self.case_start_time = time.t... | 5,264 | Python | .py | 110 | 39.009091 | 85 | 0.637285 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,233 | run_pep8.py | kmmbvnr_django-jenkins/django_jenkins/tasks/run_pep8.py | import os.path
import pep8
from django.conf import settings
from . import set_option
class Reporter(object):
def add_arguments(self, parser):
parser.add_argument("--pep8-exclude",
dest="pep8-exclude",
help="exclude files or directories which match ... | 2,996 | Python | .py | 57 | 39.210526 | 104 | 0.578911 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,234 | run_flake8.py | kmmbvnr_django-jenkins/django_jenkins/tasks/run_flake8.py | import os
import pep8
import sys
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
from flake8.api.legacy import get_style_guide # Quck hack again, 3d time flake8 would be removed, if no volounters found
from django.conf import settings
from . import set_option
class Reporter... | 3,373 | Python | .py | 72 | 34.25 | 121 | 0.573346 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,235 | __init__.py | kmmbvnr_django-jenkins/django_jenkins/tasks/__init__.py | import os
import itertools
from django.conf import settings
from django.contrib.staticfiles import finders
def static_files_iterator(tested_locations, extension, ignore_patterns=None, additional_settings_list=None):
if ignore_patterns is None:
ignore_patterns = []
source = (os.path.join(storage.loca... | 1,072 | Python | .py | 23 | 39.086957 | 108 | 0.699711 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,236 | run_pylint.py | kmmbvnr_django-jenkins/django_jenkins/tasks/run_pylint.py | import os
from django.conf import settings
from pylint import lint
from pylint.reporters.text import TextReporter
class ParseableTextReporter(TextReporter):
"""
Outputs messages in a form recognized by jenkins
<filename>:<linenum>:<msg>
"""
name = 'parseable'
line_format = '{path}:{line}: [... | 2,204 | Python | .py | 50 | 33.2 | 81 | 0.589888 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,237 | run_pyflakes.py | kmmbvnr_django-jenkins/django_jenkins/tasks/run_pyflakes.py | # -*- coding: utf-8 -*-
import os
import re
import sys
from pyflakes.scripts import pyflakes
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
class Reporter(object):
def add_arguments(self, parser):
parser.add_argument("--pyflakes-exclude-dir",
... | 1,816 | Python | .py | 44 | 27.704545 | 117 | 0.538287 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,238 | with_coverage.py | kmmbvnr_django-jenkins/django_jenkins/tasks/with_coverage.py | import os
import sys
from importlib import import_module
from django.conf import settings
class CoverageReporter(object):
def __init__(self):
try:
import coverage
except ImportError:
raise ImportError('coverage is not installed')
if coverage.__version__ < '4':
... | 2,422 | Python | .py | 52 | 36.326923 | 110 | 0.627493 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,239 | jenkins.py | kmmbvnr_django-jenkins/django_jenkins/management/commands/jenkins.py | import os
import sys
import warnings
from importlib import import_module
from django.apps import apps
from django.conf import settings
from django.core.management.commands.test import Command as TestCommand
from django_jenkins.runner import CITestSuiteRunner
def get_runner(settings, test_runner_class=None):
if ... | 5,869 | Python | .py | 120 | 36.275 | 103 | 0.591608 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,240 | test_non_bound.py | kmmbvnr_django-jenkins/tests/test_non_bound.py | from django.test import TestCase
class NonBoundTest(TestCase):
def test_executed(self):
"""
This test executed only if no --project-apps-tests option provided
"""
| 193 | Python | .py | 6 | 26.166667 | 74 | 0.681081 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,241 | settings.py | kmmbvnr_django-jenkins/tests/settings.py | import os
PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ROOT_URLCONF = 'test_app.urls'
SECRET_KEY = 'nokey'
MIDDLEWARE_CLASSES = ()
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
)
TEMPLATES ... | 2,443 | Python | .py | 83 | 23.554217 | 93 | 0.620145 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,242 | runner.py | kmmbvnr_django-jenkins/tests/runner.py | from django_jenkins.runner import CITestSuiteRunner
class CustomTestRunner(CITestSuiteRunner):
@classmethod
def add_arguments(self, parser):
parser.add_argument('--ok', default=False, action='store_true', help='Custom test runner option')
| 257 | Python | .py | 5 | 46.8 | 105 | 0.768 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,243 | manage.py | kmmbvnr_django-jenkins/tests/manage.py | # -*- coding: utf-8 -*-
import os, sys
from django.core.management import execute_from_command_line
PROJECT_ROOT = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
sys.path.insert(0, PROJECT_ROOT)
if __name__ == "__main__":
if len(sys.argv) == 1:
sys.argv += ['test']
os.environ.setdefault(... | 404 | Python | .py | 10 | 37.1 | 74 | 0.682864 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,244 | sample.py | kmmbvnr_django-jenkins/tests/test_app_dirs/models/sample.py | from django.db import models
class TestDirModel(models.Model):
test_text = models.CharField(max_length=250)
class Meta:
app_label = 'test_app_dirs' | 166 | Python | .py | 5 | 28.6 | 48 | 0.72327 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,245 | test_discovery_dir_tests.py | kmmbvnr_django-jenkins/tests/test_app_dirs/tests/test_discovery_dir_tests.py | # -*- coding: utf-8 -*-
from django.test import TestCase
class DirDiscoveryTest(TestCase):
def test_should_be_dicoverd(self):
"""
Yep!
"""
| 169 | Python | .py | 7 | 18.857143 | 38 | 0.60625 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,246 | models.py | kmmbvnr_django-jenkins/tests/test_app/models.py | from django.db import models
from test_app.not_for_coverage import one, two # NOQA
class TestModel(models.Model):
test_text = models.CharField(max_length=250)
| 166 | Python | .py | 4 | 39 | 54 | 0.78125 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,247 | urls.py | kmmbvnr_django-jenkins/tests/test_app/urls.py | # -*- coding: utf-8 -*-
from django.conf.urls import url
from django.views.generic.base import TemplateView
urlpatterns = [
url(r'^test_click/$', TemplateView.as_view(template_name='test_app/wm_test_click.html'),
name='wm_test_click')
]
| 250 | Python | .py | 7 | 32.857143 | 92 | 0.710744 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,248 | tests.py | kmmbvnr_django-jenkins/tests/test_app/tests.py | # -*- coding: utf-8 -*-
import io
import sys
from xml.etree import ElementTree as ET
from django.core import mail
from django.test import TestCase
from unittest import skip
from django.test import LiveServerTestCase
from pyvirtualdisplay import Display
from selenium import webdriver
from django_jenkins.runner import... | 3,756 | Python | .py | 88 | 35.113636 | 97 | 0.666758 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,249 | 0001_initial.py | kmmbvnr_django-jenkins/tests/test_app/migrations/0001_initial.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='TestModel',
fields=[
('id', models.AutoField(ve... | 562 | Python | .py | 18 | 22.388889 | 114 | 0.558442 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,250 | 0001_initial.py | kmmbvnr_django-jenkins/tests/test_app/south_migrations/0001_initial.py | from south.v2 import SchemaMigration
class Migration(SchemaMigration):
def forwards(self, orm):
a = 1 # pyflakes/pylint violation
pass
def backwards(self, orm):
pass
| 200 | Python | .py | 7 | 22.714286 | 41 | 0.685864 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,251 | example_steps.py | kmmbvnr_django-jenkins/tests/test_app/features/example_steps.py | # -*- coding: utf-8 -*-
from lettuce import step, before
@before.each_scenario
def setup_scenario(scenario):
scenario.numbers = []
@step('(?:Given|And|When) the number "(.*)"(?: is added to (?:it|them))?')
def given_the_number(step, number):
step.scenario.numbers.append(int(number))
@step('Then the result sh... | 489 | Python | .py | 12 | 38.166667 | 74 | 0.675105 | kmmbvnr/django-jenkins | 944 | 279 | 19 | LGPL-3.0 | 9/5/2024, 5:09:21 PM (Europe/Amsterdam) |
5,252 | setup.py | overviewer_Minecraft-Overviewer/setup.py | #!/usr/bin/env python3
import sys
import traceback
# quick version check
if sys.version_info[0] == 2 or (sys.version_info[0] == 3 and sys.version_info[1] < 4):
print("Sorry, the Overviewer requires at least Python 3.4 to run.")
sys.exit(1)
from distutils.core import setup
from distutils.extension import Ex... | 12,409 | Python | .py | 286 | 37.34965 | 175 | 0.668269 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,253 | contribManager.py | overviewer_Minecraft-Overviewer/contribManager.py | #!/usr/bin/env python3
"""The contrib manager is used to help control the contrib scripts
that are shipped with overviewer in Windows packages."""
import ast
import os.path
import sys
scripts = { # keys are names, values are scripts
"convertCyrillic": "cyrillic_convert.py",
"playerInspect": "playerIn... | 2,264 | Python | .py | 61 | 31.606557 | 99 | 0.623971 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,254 | sample_config.py | overviewer_Minecraft-Overviewer/sample_config.py | # This is a sample config file, meant to give you an idea of how to format your
# config file and what's possible.
# Define the path to your world here. 'My World' in this case will show up as
# the world name on the map interface. If you change it, be sure to also change
# the referenced world names in the render def... | 1,254 | Python | .py | 30 | 38.166667 | 81 | 0.697617 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,255 | overviewer.py | overviewer_Minecraft-Overviewer/overviewer.py | #!/usr/bin/env python3
# This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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 o... | 29,543 | Python | .py | 583 | 39.626072 | 118 | 0.595166 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,256 | test_contributors.py | overviewer_Minecraft-Overviewer/test/test_contributors.py | import unittest
from io import StringIO, BytesIO
from textwrap import dedent
from unittest.mock import patch
import contrib.contributors as contrib
class TestContributors(unittest.TestCase):
def setUp(self):
self.contrib_file_lines = dedent("""\
============
Contributors
... | 7,247 | Python | .py | 129 | 41.48062 | 118 | 0.506279 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,257 | test_cyrillic_convert.py | overviewer_Minecraft-Overviewer/test/test_cyrillic_convert.py | import unittest
import tempfile
from contrib.cyrillic_convert import convert
class TestCyrillicConvert(unittest.TestCase):
def test_convert(self):
gibberish = '{chunk: [-2, 0],y: 65,msg: "ðåëèãèè",x: -20,z: 4,type: "sign"}'
cyrillic = '{chunk: [-2, 0],y: 65,msg: "религии",x: -20,z: 4,type: "sign"... | 392 | Python | .py | 8 | 42.375 | 84 | 0.673025 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,258 | test_regionTrimmer.py | overviewer_Minecraft-Overviewer/test/test_regionTrimmer.py | import unittest
from pathlib import Path
from tempfile import TemporaryDirectory
import networkx
import contrib.regionTrimmer as region_trimmer
class TestRegionTrimmer(unittest.TestCase):
def test_get_nodes(self):
coords = [(0, 0), (0, -1), (-1, 0), (-1, -1)]
with TemporaryDirectory() as tmpdirna... | 2,357 | Python | .py | 57 | 30.122807 | 93 | 0.505461 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,259 | test_tileobj.py | overviewer_Minecraft-Overviewer/test/test_tileobj.py | import unittest
from overviewer_core.tileset import iterate_base4, RenderTile
items = [
((-4,-8), (0,0)),
((-2,-8), (0,1)),
((0,-8), (1,0)),
((2,-8), (1,1)),
((-4,-4), (0,2)),
((-2,-4), (0,3)),
((0,-4), (1,2)),
((2,-4), (1,3)),
((-4,0), (2,0)),
... | 1,836 | Python | .py | 51 | 26.941176 | 74 | 0.497169 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,260 | test_cache.py | overviewer_Minecraft-Overviewer/test/test_cache.py | import unittest
from overviewer_core import cache
class TestLRU(unittest.TestCase):
def setUp(self):
self.lru = cache.LRUCache(size=5)
def test_single_insert(self):
self.lru[1] = 2
self.assertEqual(self.lru[1], 2)
def test_multiple_insert(self):
self.lru[1] = 2
s... | 1,684 | Python | .py | 46 | 28.347826 | 60 | 0.574939 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,261 | __init__.py | overviewer_Minecraft-Overviewer/test/__init__.py | # Magic spell to have us find overviewer_core
import sys
import os
import os.path
sys.path.insert(0, os.path.join(os.path.split(__file__)[0], '..'))
| 149 | Python | .py | 5 | 28.8 | 66 | 0.729167 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,262 | test_rendertileset.py | overviewer_Minecraft-Overviewer/test/test_rendertileset.py | import unittest
from itertools import chain
from overviewer_core.tileset import iterate_base4, RendertileSet
from overviewer_core.util import roundrobin
class RendertileSetTest(unittest.TestCase):
# If you change this definition, you must also change the hard-coded
# results list in test_posttraverse()
t... | 6,912 | Python | .py | 196 | 24.903061 | 92 | 0.529693 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,263 | test_tileset.py | overviewer_Minecraft-Overviewer/test/test_tileset.py | import unittest
import tempfile
import shutil
from collections import defaultdict
import os
import os.path
import random
from overviewer_core import tileset
# Supporing data
# chunks list: chunkx, chunkz mapping to chunkmtime
# In comments: col, row
chunks = {
(0, 0): 5, # 0, 0
(0, 1): 5, # 1, 1
... | 9,561 | Python | .py | 232 | 32.034483 | 123 | 0.586062 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,264 | test_testRender.py | overviewer_Minecraft-Overviewer/test/test_testRender.py | import tempfile
import unittest
from unittest.mock import patch
from subprocess import CalledProcessError, PIPE, STDOUT
import contrib.testRender as test_render
from io import StringIO
from shlex import split
class TestTestRender(unittest.TestCase):
@patch("contrib.testRender.run")
def test_check_call_raises_... | 5,178 | Python | .py | 94 | 46.085106 | 108 | 0.691321 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,265 | test_settings.py | overviewer_Minecraft-Overviewer/test/test_settings.py | import unittest
from collections import OrderedDict
from overviewer_core import config_parser
from overviewer_core.settingsValidators import ValidationException
from overviewer_core import world
from overviewer_core import rendermodes
class SettingsTest(unittest.TestCase):
def setUp(self):
self.s =... | 3,161 | Python | .py | 71 | 33.112676 | 96 | 0.58966 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,266 | test_playerInspect.py | overviewer_Minecraft-Overviewer/test/test_playerInspect.py | import unittest
from io import StringIO
from pathlib import Path
from textwrap import dedent
from unittest.mock import patch, MagicMock
import contrib.playerInspect as player_inspect
class TestPlayerInspect(unittest.TestCase):
def setUp(self):
self.player_data = {
'AbsorptionAmount': 0.0,
... | 6,849 | Python | .py | 155 | 32.058065 | 90 | 0.546231 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,267 | test_world.py | overviewer_Minecraft-Overviewer/test/test_world.py | import unittest
import os
from overviewer_core import world
class ExampleWorldTest(unittest.TestCase):
@unittest.skip("Broken old garbage, find a newer world")
def test_basic(self):
"Basic test of the world constructor and regionset constructor"
if not os.path.exists("test/data/worlds/exmaple... | 1,427 | Python | .py | 24 | 51.333333 | 110 | 0.704942 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,268 | settings_test_1.py | overviewer_Minecraft-Overviewer/test/data/settings/settings_test_1.py | worlds['test'] = "test/data/settings/test_world"
renders["myworld"] = {
"title": "myworld title",
"world": "test",
"rendermode": normal,
"northdirection": "upper-left",
}
renders["otherworld"] = {
"title": "otherworld title",
"world": "test",
"rendermode": normal,
"bgcolor": "#ffffff"... | 363 | Python | .py | 14 | 22.357143 | 48 | 0.632948 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,269 | settings_test_rendermode.py | overviewer_Minecraft-Overviewer/test/data/settings/settings_test_rendermode.py | worlds['test'] = "test/data/settings/test_world"
renders["world"] = {
"world": "test",
"title": "myworld title",
"rendermode": "bad_rendermode",
"northdirection": "upper-left",
}
outputdir = "/tmp/fictional/outputdir"
| 238 | Python | .py | 8 | 26.25 | 48 | 0.653509 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,270 | conf.py | overviewer_Minecraft-Overviewer/docs/conf.py | # -*- coding: utf-8 -*-
#
# Overviewer documentation build configuration file, created by
# sphinx-quickstart on Thu Sep 22 10:19:03 2011.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# ... | 7,041 | Python | .py | 158 | 43.107595 | 80 | 0.732161 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,271 | png-it.py | overviewer_Minecraft-Overviewer/contrib/png-it.py | """
Outputs one huge PNG file using the tiles from an Overviewer map.
"""
from __future__ import print_function
import sys
from argparse import ArgumentParser
from glob import glob
from os.path import exists, join, split
from PIL import Image
def main():
parser = ArgumentParser()
parser.add_argument('--me... | 9,008 | Python | .py | 184 | 39.847826 | 97 | 0.592833 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,272 | cyrillic_convert.py | overviewer_Minecraft-Overviewer/contrib/cyrillic_convert.py | #!/usr/bin/env python3
"""Convert gibberish back into Cyrillic"""
import fileinput
import argparse
import sys
gibberish_to_cyrillic = {
'À': 'А',
'Á': 'Б',
'Â': 'В',
'Ã': 'Г',
'Ä': 'Д',
'Å': 'Е',
'Æ': 'Ж',
'Ç': 'З',
'È': 'И',
'É': 'Й',
'Ê': 'К',
'Ë': 'Л',
'Ì': 'М',... | 1,753 | Python | .py | 85 | 14.447059 | 73 | 0.407963 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,273 | regionTrimmer.py | overviewer_Minecraft-Overviewer/contrib/regionTrimmer.py | #!/usr/bin/env python3
"""Deletes outlying and unconnected regions"""
import argparse
import logging
from pathlib import Path
import networkx
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
def get_region_file_from_node(regionset_path, node):
return regionset_path / ('r.%d.%d.mca' % node)
... | 6,788 | Python | .py | 149 | 35.90604 | 100 | 0.593064 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,274 | contributors.py | overviewer_Minecraft-Overviewer/contrib/contributors.py | #!/usr/bin/env python3
"""Update the contributor list
Alias handling is done by git with .mailmap
New contributors are merged in the short-term list.
Moving them to a "higher" list should be a manual process.
"""
import re
from pathlib import Path
import subprocess
CONTRIB_FILE_CONTRIBUTOR_RE = re.compile(r'\* (.+) ... | 4,658 | Python | .py | 108 | 35.768519 | 97 | 0.643284 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,275 | playerInspect.py | overviewer_Minecraft-Overviewer/contrib/playerInspect.py | #!/usr/bin/env python3
"""
Very basic player.dat inspection script
"""
import os
import sys
import argparse
from pathlib import Path
# incantation to be able to import overviewer_core
if not hasattr(sys, "frozen"):
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
from overview... | 2,936 | Python | .py | 73 | 34.328767 | 88 | 0.646728 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,276 | gallery.py | overviewer_Minecraft-Overviewer/contrib/gallery.py | #!/usr/bin/env python3
"""
Outputs a huge image with all currently-supported block textures.
"""
import argparse
from PIL import Image
import sys
import os
# incantation to be able to import overviewer_core
if not hasattr(sys, "frozen"):
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0],... | 1,361 | Python | .py | 36 | 31.777778 | 87 | 0.647104 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,277 | testRender.py | overviewer_Minecraft-Overviewer/contrib/testRender.py | #!/usr/bin/env python3
"Test Render Script"
import argparse
import math
import os
import re
import shutil
import sys
import tempfile
import time
from shlex import split
from subprocess import PIPE, STDOUT, CalledProcessError, run
overviewer_scripts = ['./overviewer.py', './gmap.py']
def check_call(args, verbose=Fa... | 5,290 | Python | .py | 143 | 27.951049 | 99 | 0.589914 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,278 | signals.py | overviewer_Minecraft-Overviewer/overviewer_core/signals.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 3,944 | Python | .py | 87 | 38.505747 | 78 | 0.678032 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,279 | config_parser.py | overviewer_Minecraft-Overviewer/overviewer_core/config_parser.py | import sys
import os.path
import logging
import traceback
from . import settingsDefinition
from . import settingsValidators
class MissingConfigException(Exception):
""""To be thrown when the config file can't be found"""
class MultiWorldParser:
"""A class that is used to parse a settings.py file.
This... | 6,209 | Python | .py | 118 | 41.025424 | 100 | 0.632377 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,280 | util.py | overviewer_Minecraft-Overviewer/overviewer_core/util.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 4,510 | Python | .py | 129 | 27.984496 | 95 | 0.621733 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,281 | world.py | overviewer_Minecraft-Overviewer/overviewer_core/world.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 102,107 | Python | .py | 1,956 | 39.867076 | 213 | 0.555549 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,282 | tileset.py | overviewer_Minecraft-Overviewer/overviewer_core/tileset.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 74,104 | Python | .py | 1,473 | 38.380177 | 100 | 0.596006 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,283 | nbt.py | overviewer_Minecraft-Overviewer/overviewer_core/nbt.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 11,586 | Python | .py | 286 | 32.083916 | 81 | 0.610711 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,284 | rcon.py | overviewer_Minecraft-Overviewer/overviewer_core/rcon.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 2,908 | Python | .py | 67 | 33.776119 | 79 | 0.585133 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,285 | optimizeimages.py | overviewer_Minecraft-Overviewer/overviewer_core/optimizeimages.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 6,742 | Python | .py | 163 | 32.177914 | 79 | 0.604017 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,286 | biome.py | overviewer_Minecraft-Overviewer/overviewer_core/biome.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 1,714 | Python | .py | 35 | 44.485714 | 95 | 0.698271 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,287 | cache.py | overviewer_Minecraft-Overviewer/overviewer_core/cache.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 4,522 | Python | .py | 111 | 32.891892 | 81 | 0.635181 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,288 | __init__.py | overviewer_Minecraft-Overviewer/overviewer_core/__init__.py | #
# Code to check to make sure c_overviewer is built and working
#
import os.path
import os
import platform
import traceback
import sys
from . import util
def check_c_overviewer():
"""Check to make sure c_overviewer works and is up-to-date. Prints
out a helpful error and returns 1 if something's wrong, retu... | 2,910 | Python | .py | 66 | 34.757576 | 100 | 0.616308 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,289 | dispatcher.py | overviewer_Minecraft-Overviewer/overviewer_core/dispatcher.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 15,121 | Python | .py | 329 | 35.282675 | 97 | 0.622607 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,290 | rendermodes.py | overviewer_Minecraft-Overviewer/overviewer_core/rendermodes.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 8,627 | Python | .py | 218 | 32.114679 | 117 | 0.602665 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,291 | logger.py | overviewer_Minecraft-Overviewer/overviewer_core/logger.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 10,915 | Python | .py | 244 | 33.307377 | 93 | 0.599209 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,292 | observer.py | overviewer_Minecraft-Overviewer/overviewer_core/observer.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 16,499 | Python | .py | 389 | 32.426735 | 94 | 0.598677 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,293 | settingsDefinition.py | overviewer_Minecraft-Overviewer/overviewer_core/settingsDefinition.py | # This file describes the format of the config file. Each item defined in this
# module is expected to appear in the described format in a valid config file.
# The only difference is, instead of actual values for the settings, values are
# Setting objects which define how to validate a value as correct, and whether
# t... | 7,041 | Python | .py | 101 | 61.990099 | 128 | 0.719549 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,294 | assetmanager.py | overviewer_Minecraft-Overviewer/overviewer_core/assetmanager.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 9,497 | Python | .py | 196 | 37.632653 | 100 | 0.596096 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,295 | progressbar.py | overviewer_Minecraft-Overviewer/overviewer_core/progressbar.py | #!/usr/bin/env python3
# -*- coding: iso-8859-1 -*-
#
# progressbar - Text progressbar library for python.
# Copyright (c) 2005 Nilton Volpato
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Found... | 13,669 | Python | .py | 345 | 31.86087 | 94 | 0.625283 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,296 | files.py | overviewer_Minecraft-Overviewer/overviewer_core/files.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 7,912 | Python | .py | 164 | 37.073171 | 132 | 0.608036 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,297 | settingsValidators.py | overviewer_Minecraft-Overviewer/overviewer_core/settingsValidators.py | # see settingsDefinition.py
import logging
import os
import os.path
from collections import OrderedDict
from . import rendermodes
from . import util
from .optimizeimages import Optimizer
from .world import LOWER_LEFT, LOWER_RIGHT, UPPER_LEFT, UPPER_RIGHT
class ValidationException(Exception):
pass
class Setting... | 16,345 | Python | .py | 373 | 34.120643 | 99 | 0.606021 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,298 | textures.py | overviewer_Minecraft-Overviewer/overviewer_core/textures.py | # This file is part of the Minecraft Overviewer.
#
# Minecraft Overviewer 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... | 283,319 | Python | .py | 5,408 | 44.332101 | 567 | 0.635943 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |
5,299 | items.py | overviewer_Minecraft-Overviewer/overviewer_core/items.py | items = {
0: 'Air',
1: 'Stone',
2: 'Grass Block',
3: 'Dirt',
4: 'Cobblestone',
5: 'Wooden Planks',
6: 'Sapling',
7: 'Bedrock',
8: 'Water',
9: 'Stationary Water',
10: 'Lava',
11: 'Stationary Lava',
12: 'Sand',
13: 'Gravel',
14: 'Gold Ore',
15: 'Iron Ore',
... | 8,934 | Python | .py | 369 | 19.219512 | 43 | 0.566908 | overviewer/Minecraft-Overviewer | 3,348 | 480 | 347 | GPL-3.0 | 9/5/2024, 5:09:29 PM (Europe/Amsterdam) |