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,100
buildbot.tac
buildbot_buildbot/master/docker/buildbot.tac
import os import sys from twisted.application import service from twisted.python.log import FileLogObserver from twisted.python.log import ILogObserver from buildbot.master import BuildMaster basedir = os.environ.get("BUILDBOT_BASEDIR", os.path.abspath(os.path.dirname(__file__))) configfile = 'master.cfg' # not...
621
Python
.tac
15
39.8
72
0.823627
buildbot/buildbot
5,232
1,616
728
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,101
test_openstack.py
buildbot_buildbot/master/buildbot/test/unit/worker/test_openstack.py
# This file is part of Buildbot. Buildbot 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, version 2. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without eve...
19,338
Python
.tac
416
37.012019
98
0.631007
buildbot/buildbot
5,232
1,616
728
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,102
openstack.py
buildbot_buildbot/master/buildbot/test/fake/openstack.py
# This file is part of Buildbot. Buildbot 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, version 2. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without eve...
6,386
Python
.tac
183
27.945355
95
0.636423
buildbot/buildbot
5,232
1,616
728
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,103
openstack.py
buildbot_buildbot/master/buildbot/worker/openstack.py
# This file is part of Buildbot. Buildbot 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, version 2. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without eve...
15,037
Python
.tac
354
32.084746
99
0.606787
buildbot/buildbot
5,232
1,616
728
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,104
buildbot_tac.tmpl
buildbot_buildbot/master/buildbot/scripts/buildbot_tac.tmpl
import os from twisted.application import service from buildbot.master import BuildMaster {% if relocatable -%} basedir = '.' {% else -%} basedir = {{ basedir|repr }} {%- endif %} {% if not no_logrotate -%} rotateLength = {{ '%d' | format(log_size) }} maxRotatedFiles = {{ ('%d' | format(log_count)) if log_count != No...
1,309
Python
.tac
34
36.264706
94
0.736013
buildbot/buildbot
5,232
1,616
728
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,105
workers-openstack.rst
buildbot_buildbot/master/docs/manual/configuration/workers-openstack.rst
.. -*- rst -*- .. bb:worker:: OpenStackLatentWorker OpenStack ========= .. @cindex OpenStackLatentWorker .. py:class:: buildbot.worker.openstack.OpenStackLatentWorker `OpenStack <http://openstack.org/>`_ is a series of interconnected components that facilitates managing compute, storage, and network resources in a ...
8,488
Python
.tac
164
44.914634
256
0.684115
buildbot/buildbot
5,232
1,616
728
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,106
buildbot.tac
buildbot_buildbot/master/docker-example/pypy/master/buildbot.tac
import sys from buildbot.master import BuildMaster from twisted.application import service from twisted.python.log import FileLogObserver, ILogObserver basedir = '/usr/src/app' configfile = 'master.cfg' # note: this line is matched against to check that this is a buildmaster # directory; do not edit it. application ...
512
Python
.tac
12
41.333333
72
0.832661
buildbot/buildbot
5,232
1,616
728
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,107
buildbot.tac
buildbot_buildbot/master/docker-example/pypy/worker/buildbot.tac
import fnmatch import os import sys from twisted.application import service from twisted.python.log import FileLogObserver from twisted.python.log import ILogObserver from buildslave.bot import BuildSlave # setup worker basedir = os.path.abspath(os.path.dirname(__file__)) application = service.Application('buildbot-...
1,239
Python
.tac
31
36.935484
80
0.773144
buildbot/buildbot
5,232
1,616
728
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,108
buildbot.tac
buildbot_buildbot/master/contrib/docker/master/buildbot.tac
import sys from twisted.application import service from twisted.python.log import FileLogObserver from twisted.python.log import ILogObserver from buildbot.master import BuildMaster basedir = '/var/lib/buildbot' configfile = 'master.cfg' # note: this line is matched against to check that this is a buildmaster # dir...
548
Python
.tac
13
40.769231
72
0.837736
buildbot/buildbot
5,232
1,616
728
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,109
buildbot.tac
buildbot_buildbot/worker/docker/buildbot.tac
import fnmatch import os import sys from twisted.application import service from twisted.python.log import FileLogObserver from twisted.python.log import ILogObserver from buildbot_worker.bot import Worker # setup worker basedir = os.environ.get("BUILDBOT_BASEDIR", os.path.abspath(os.path.dirname(__file__))) app...
1,368
Python
.tac
34
37.205882
80
0.772247
buildbot/buildbot
5,232
1,616
728
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,110
setup.py
aitjcize_cppman/setup.py
#!/usr/bin/env python from distutils.core import setup _package_data = [ 'lib/index.db', 'lib/pager.sh', 'lib/cppman.vim' ] _data_files = [ ('share/doc/cppman', ['README.rst', 'AUTHORS', 'COPYING', 'ChangeLog']), ('share/man/man1', ['misc/cppman.1']), ('share/b...
1,446
Python
.py
36
31.722222
83
0.566856
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,111
test.py
aitjcize_cppman/test/test.py
#!/usr/bin/env python import sys import os import os.path sys.path.insert(0, os.path.normpath(os.getcwd())) from cppman.formatter import cplusplus, cppreference cplusplus.func_test() cppreference.func_test()
211
Python
.py
8
25
52
0.815
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,112
util.py
aitjcize_cppman/cppman/util.py
# -*- coding: utf-8 -*- # # util.py - Misc utilities # # Copyright (C) 2010 - 2015 Wei-Ning Huang (AZ) <aitjcize@gmail.com> # All Rights reserved. # # This file is part of cppman. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as publishe...
3,899
Python
.py
101
33.455446
94
0.678855
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,113
config.py
aitjcize_cppman/cppman/config.py
# -*- coding: utf-8 -*- # # config.py # # Copyright (C) 2010 - 2015 Wei-Ning Huang (AZ) <aitjcize@gmail.com> # All Rights reserved. # # This file is part of cppman. # # 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...
2,853
Python
.py
80
28.4625
73
0.618789
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,114
crawler.py
aitjcize_cppman/cppman/crawler.py
# -*- coding: utf-8 -*- # # crawler.py # # Copyright (C) 2010 - 2016 Wei-Ning Huang (AZ) <aitjcize@gmail.com> # All Rights reserved. # # This file is part of cppman. # # 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 Fre...
8,733
Python
.py
219
29.059361
79
0.570434
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,115
__init__.py
aitjcize_cppman/cppman/__init__.py
# -*- coding: utf-8 -*- # # __init__.py # # Copyright (C) 2010 - 2015 Wei-Ning Huang (AZ) <aitjcize@gmail.com> # All Rights reserved. # # 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 ve...
979
Python
.py
25
37.84
73
0.754737
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,116
environ.py
aitjcize_cppman/cppman/environ.py
# -*- coding: utf-8 -*- # # environ.py # # Copyright (C) 2010 - 2015 Wei-Ning Huang (AZ) <aitjcize@gmail.com> # All Rights reserved. # # This file is part of cppman. # # 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 Fre...
1,864
Python
.py
51
34.705882
77
0.743063
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,117
main.py
aitjcize_cppman/cppman/main.py
# -*- coding: utf-8 -*- # # main.py # # Copyright (C) 2010 - 2015 Wei-Ning Huang (AZ) <aitjcize@gmail.com> # All Rights reserved. # # This file is part of cppman. # # 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 S...
22,210
Python
.py
514
30.287938
92
0.50838
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,118
tableparser.py
aitjcize_cppman/cppman/formatter/tableparser.py
# -*- coding: utf-8 -*- # # tableparser.py - format html from cplusplus.com to groff syntax # # Copyright (C) 2010 - 2015 Wei-Ning Huang (AZ) <aitjcize@gmail.com> # All Rights reserved. # # This file is part of cppman. # # This program is free software; you can redistribute it and/or modify # it under the terms of the...
6,099
Python
.py
148
29.72973
78
0.504222
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,119
cppreference.py
aitjcize_cppman/cppman/formatter/cppreference.py
# -*- coding: utf-8 -*- # # formatter.py - format html from cplusplus.com to groff syntax # # Copyright (C) 2010 - 2015 Wei-Ning Huang (AZ) <aitjcize@gmail.com> # All Rights reserved. # # This file is part of cppman. # # This program is free software; you can redistribute it and/or modify # it under the terms of the G...
12,313
Python
.py
297
34.754209
79
0.517287
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,120
cplusplus.py
aitjcize_cppman/cppman/formatter/cplusplus.py
# -*- coding: utf-8 -*- # # formatter.py - format html from cplusplus.com to groff syntax # # Copyright (C) 2010 - 2015 Wei-Ning Huang (AZ) <aitjcize@gmail.com> # All Rights reserved. # # This file is part of cppman. # # This program is free software; you can redistribute it and/or modify # it under the terms of the G...
9,129
Python
.py
216
35.893519
78
0.519802
aitjcize/cppman
1,286
81
25
GPL-3.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,121
rebuildmo.py
cinemagoer_cinemagoer/rebuildmo.py
# Copyright 2022 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,745
Python
.py
43
36.55814
95
0.689858
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,122
setup.py
cinemagoer_cinemagoer/setup.py
import glob import sys from subprocess import CalledProcessError, check_call import setuptools # version of the software from imdb/version.py exec(compile(open('imdb/version.py').read(), 'imdb/version.py', 'exec')) home_page = 'https://cinemagoer.github.io/' long_desc = """Cinemagoer is a Python package useful to r...
4,791
Python
.py
137
30.321168
78
0.6586
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,123
msgfmt.py
cinemagoer_cinemagoer/msgfmt.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Written by Martin v. Löwis <loewis@informatik.hu-berlin.de> """Generate binary message catalog from textual translation description. This program converts a textual Uniforum-style message catalog (.po file) into a binary GNU catalog (.mo file). This is essentially th...
7,102
Python
.py
206
25.563107
89
0.550182
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,124
generatepot.py
cinemagoer_cinemagoer/generatepot.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...
2,354
Python
.py
65
34.046154
81
0.709776
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,125
get_top_bottom_movies.py
cinemagoer_cinemagoer/bin/get_top_bottom_movies.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ get_top_bottom_movies.py Usage: get_top_bottom_movies Return top and bottom 10 movies, by ratings. """ import sys # Import the Cinemagoer package. try: import imdb except ImportError: print('You need to install the Cinemagoer package!') sys.exit(1) if...
809
Python
.py
28
24.571429
74
0.63342
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,126
get_first_company.py
cinemagoer_cinemagoer/bin/get_first_company.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ get_first_company.py Usage: get_first_company "company name" Search for the given name and print the best matching result. """ import sys # Import the Cinemagoer package. try: import imdb except ImportError: print('You need to install the Cinemagoer package...
1,114
Python
.py
38
26.552632
79
0.707823
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,127
search_company.py
cinemagoer_cinemagoer/bin/search_company.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ search_company.py Usage: search_company "company name" Search for the given name and print the results. """ import sys # Import the Cinemagoer package. try: import imdb except ImportError: print('You bad boy! You need to install the Cinemagoer package!') ...
1,260
Python
.py
38
27.631579
79
0.626964
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,128
get_company.py
cinemagoer_cinemagoer/bin/get_company.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ get_company.py Usage: get_company "company_id" Show some info about the company with the given company_id (e.g. '0071509' for "Columbia Pictures [us]", using 'http' or 'mobile'). Notice that company_id, using 'sql', are not the same IDs used on the web. """ import s...
1,472
Python
.py
41
33.243902
80
0.723749
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,129
get_movie.py
cinemagoer_cinemagoer/bin/get_movie.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ get_movie.py Usage: get_movie "movie_id" Show some info about the movie with the given movie_id (e.g. '0133093' for "The Matrix", using 'http' or 'mobile'). Notice that movie_id, using 'sql', are not the same IDs used on the web. """ import sys # Import the Cinemag...
3,336
Python
.py
91
34.901099
79
0.685334
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,130
search_person.py
cinemagoer_cinemagoer/bin/search_person.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ search_person.py Usage: search_person "person name" Search for the given name and print the results. """ import sys # Import the Cinemagoer package. try: import imdb except ImportError: print('You bad boy! You need to install the Cinemagoer package!') ...
1,243
Python
.py
38
27.236842
79
0.624161
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,131
get_first_movie.py
cinemagoer_cinemagoer/bin/get_first_movie.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ get_first_movie.py Usage: get_first_movie "movie title" Search for the given title and print the best matching result. """ import sys # Import the Cinemagoer package. try: import imdb except ImportError: print('You need to install the Cinemagoer package!') ...
1,113
Python
.py
38
26.526316
79
0.704717
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,132
imdbpy2sql.py
cinemagoer_cinemagoer/bin/imdbpy2sql.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ imdbpy2sql.py script. This script puts the data of the plain text data files into a SQL database. Copyright 2005-2020 Davide Alberani <da@erlug.linux.it> 2006 Giuseppe "Cowo" Corbelli <cowo --> lugbs.linux.it> This program is free software; you can re...
115,020
Python
.py
2,883
28.776968
185
0.529548
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,133
s32cinemagoer.py
cinemagoer_cinemagoer/bin/s32cinemagoer.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ s32cinemagoer.py script. This script imports the s3 dataset distributed by IMDb into a SQL database. Copyright 2017-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 Pu...
6,879
Python
.py
175
32.422857
107
0.635669
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,134
get_person.py
cinemagoer_cinemagoer/bin/get_person.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ get_person.py Usage: get_person "person_id" Show some info about the person with the given person_id (e.g. '0000210' for "Julia Roberts". Notice that person_id, using 'sql', are not the same IDs used on the web. """ import sys # Import the Cinemagoer package. try: ...
2,782
Python
.py
74
35.662162
79
0.678293
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,135
search_keyword.py
cinemagoer_cinemagoer/bin/search_keyword.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ search_keyword.py Usage: search_keyword "keyword" Search for keywords similar to the give one and print the results. """ import sys # Import the Cinemagoer package. try: import imdb except ImportError: print('You bad boy! You need to install the Cinemagoer...
1,167
Python
.py
37
26.783784
79
0.640107
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,136
get_keyword.py
cinemagoer_cinemagoer/bin/get_keyword.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ get_keyword.py Usage: get_keyword "keyword" search for movies tagged with the given keyword and print the results. """ import sys # Import the Cinemagoer package. try: import imdb except ImportError: print('You need to install the Cinemagoer package!') ...
1,111
Python
.py
36
26.027778
79
0.627469
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,137
get_first_person.py
cinemagoer_cinemagoer/bin/get_first_person.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ get_first_person.py Usage: get_first_person "person name" Search for the given name and print the best matching result. """ import sys # Import the Cinemagoer package. try: import imdb except ImportError: print('You need to install the Cinemagoer package!')...
1,103
Python
.py
38
26.263158
79
0.704762
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,138
get_movie_list.py
cinemagoer_cinemagoer/bin/get_movie_list.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ get_movie_list.py Usage: get_movie_list.py ls091843609 Parse the list and print the results. """ import sys # Import the Cinemagoer package. try: import imdb except ImportError: print('You need to install the Cinemagoer package!') sys.exit(1) if len(s...
952
Python
.py
32
26.78125
79
0.69527
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,139
search_movie.py
cinemagoer_cinemagoer/bin/search_movie.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ search_movie.py Usage: search_movie "movie title" Search for the given title and print the results. """ import sys # Import the Cinemagoer package. try: import imdb except ImportError: print('You bad boy! You need to install the Cinemagoer package!') s...
1,239
Python
.py
38
27.131579
79
0.622896
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,140
conf.py
cinemagoer_cinemagoer/docs/conf.py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/stable/config # -- Path setup ------------------------------------------------------------...
5,011
Python
.py
121
39.38843
79
0.66701
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,141
download_applydiffs.py
cinemagoer_cinemagoer/docs/goodies/download_applydiffs.py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- # This script downloads and applies any and all imdb diff files which # have not already been applied to the lists in the ImdbListsPath folder # # NOTE: this is especially useful in Windows environment; you have # to modify the paths in the 'Script configuration' section ...
22,496
Python
.py
412
44.800971
177
0.648431
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,142
conftest.py
cinemagoer_cinemagoer/tests/conftest.py
from pytest import fixture import logging import os import time from imdb import Cinemagoer from imdb.parser.http import IMDbURLopener logging.raiseExceptions = False DELAY = 0 cache_dir = os.path.join(os.path.dirname(__file__), '.cache') if not os.path.exists(cache_dir): os.makedirs(cache_dir) retrieve_uni...
1,235
Python
.py
35
30.228571
66
0.675379
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,143
test_http_movie_sites.py
cinemagoer_cinemagoer/tests/test_http_movie_sites.py
def test_movie_official_sites_should_be_a_list(ia): movie = ia.get_movie('0133093', info=['official sites']) # Matrix official_sites = movie.get('official sites', []) assert len(official_sites) == 3 def test_movie_official_sites_if_none_should_be_excluded(ia): movie = ia.get_movie('1863157', info=[...
804
Python
.py
14
53.142857
78
0.6875
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,144
test_http_person_bio.py
cinemagoer_cinemagoer/tests/test_http_person_bio.py
from pytest import mark import re def test_person_headshot_should_be_an_image_link(ia): person = ia.get_person('0000206', info=['biography']) # Keanu Reeves assert re.match(r'^https?://.*\.jpg$', person['headshot']) def test_person_full_size_headshot_should_be_an_image_link(ia): person = ia.get_perso...
4,551
Python
.py
77
54.844156
84
0.690535
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,145
test_http_chart_bottom.py
cinemagoer_cinemagoer/tests/test_http_chart_bottom.py
def test_bottom_chart_should_contain_100_entries(ia): chart = ia.get_bottom100_movies() assert len(chart) == 100 def test_bottom_chart_entries_should_have_rank(ia): movies = ia.get_bottom100_movies() for rank, movie in enumerate(movies): assert movie['bottom 100 rank'] == rank + 1 def test_b...
1,303
Python
.py
31
36.709677
70
0.700318
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,146
test_http_movie_season_episodes.py
cinemagoer_cinemagoer/tests/test_http_movie_season_episodes.py
from pytest import mark def test_series_episodes_should_be_a_map_of_seasons_and_episodes(ia): movie = ia.get_movie('0412142', info=['episodes']) # House M.D. assert list(sorted(movie.get('episodes'))) == list(range(1, 9)) def test_series_episodes_with_unknown_season_should_have_placeholder_at_end(ia): ...
3,172
Python
.py
58
50.310345
82
0.648867
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,147
test_http_gather_refs.py
cinemagoer_cinemagoer/tests/test_http_gather_refs.py
def test_references_to_titles_should_be_a_list(ia): person = ia.get_person('0000210', info=['biography']) # Julia Roberts titles_refs = person.get_titlesRefs() assert 70 < len(titles_refs) < 100 def test_references_to_names_should_be_a_list(ia): person = ia.get_person('0000210', info=['biography']) ...
416
Python
.py
8
47.75
75
0.692118
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,148
test_http_search_movie_keyword.py
cinemagoer_cinemagoer/tests/test_http_search_movie_keyword.py
def test_get_keyword_should_list_correct_number_of_movies(ia): movies = ia.get_keyword('colander') assert 5 <= len(movies) <= 10 def test_get_keyword_if_too_many_should_list_upper_limit_of_movies(ia): movies = ia.get_keyword('computer') assert len(movies) == 50 def test_get_keyword_entries_should_in...
853
Python
.py
18
43.166667
71
0.711515
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,149
test_http_movie_goofs.py
cinemagoer_cinemagoer/tests/test_http_movie_goofs.py
def test_movie_goofs(ia): movie = ia.get_movie('0133093', info=['goofs']) goofs = movie.get('goofs', []) assert len(goofs) > 120
141
Python
.py
4
31.25
51
0.620438
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,150
test_http_search_movie.py
cinemagoer_cinemagoer/tests/test_http_search_movie.py
# -*- coding: utf-8 -*- from pytest import mark def test_search_movie_if_single_should_list_one_movie(ia): movies = ia.search_movie('od instituta do proizvodnje') assert len(movies) == 1 assert movies[0].movieID == '0483758' assert movies[0]['kind'] == 'short' assert movies[0]['title'] == 'Od inst...
3,928
Python
.py
75
48.173333
81
0.70972
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,151
test_http_search_movie_advanced.py
cinemagoer_cinemagoer/tests/test_http_search_movie_advanced.py
from pytest import mark import sys def test_search_results_should_include_correct_number_of_works_by_default(ia): movies = ia.search_movie_advanced('matrix') assert len(movies) == 20 def test_search_results_should_include_correct_number_of_works(ia): movies = ia.search_movie_advanced('matrix', results=...
18,937
Python
.py
306
57.385621
106
0.695899
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,152
test_http_movie_taglines.py
cinemagoer_cinemagoer/tests/test_http_movie_taglines.py
def test_movie_taglines_if_single_should_be_a_list_of_phrases(ia): movie = ia.get_movie('0109151', info=['taglines']) # Matrix (V) taglines = movie.get('taglines', []) assert taglines == ["If humans don't want me... why'd they create me?"] def test_movie_taglines_if_multiple_should_be_a_list_of_phrases(i...
696
Python
.py
12
53.666667
75
0.680882
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,153
test_http_movie_tech.py
cinemagoer_cinemagoer/tests/test_http_movie_tech.py
def test_movie_tech_sections(ia): movie = ia.get_movie('0133093', info=['technical']) tech = movie.get('tech', []) assert set(tech.keys()) == set(['sound mix', 'color', 'aspect ratio', 'camera', 'laboratory', 'cinematographic process', 'printed film format', ...
389
Python
.py
6
49.833333
99
0.54047
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,154
test_http_chart_top.py
cinemagoer_cinemagoer/tests/test_http_chart_top.py
def test_top_chart_should_contain_250_entries(ia): chart = ia.get_top250_movies() assert len(chart) == 250 def test_top_chart_entries_should_have_rank(ia): movies = ia.get_top250_movies() for rank, movie in enumerate(movies): assert movie['top 250 rank'] == rank + 1 def test_top_chart_entrie...
1,254
Python
.py
31
35.129032
67
0.688172
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,155
test_http_movie_quotes.py
cinemagoer_cinemagoer/tests/test_http_movie_quotes.py
def test_movie_quotes(ia): movie = ia.get_movie('0133093', info=['quotes']) quotes = movie.get('quotes', []) assert len(quotes) > 100
146
Python
.py
4
32.5
52
0.633803
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,156
test_http_chart_popular_movies.py
cinemagoer_cinemagoer/tests/test_http_chart_popular_movies.py
def test_popular_movies_chart_should_contain_100_entries(ia): chart = ia.get_popular100_movies() assert len(chart) == 100 def test_popular_movies_chart_entries_should_have_rank(ia): movies = ia.get_popular100_movies() for rank, movie in enumerate(movies): assert movie['popular movies 100 rank'...
831
Python
.py
19
38.526316
63
0.712687
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,157
test_http_movie_full_credit.py
cinemagoer_cinemagoer/tests/test_http_movie_full_credit.py
def test_movie_full_credits(ia): movie = ia.get_movie('0133093', info=['full credits']) # Matrix assert 'cast' in movie lcast = len(movie['cast']) assert lcast > 38 and lcast < 42 def test_movie_full_credits_for_tv_show(ia): movie = ia.get_movie('0098904', info=['full credits']) # Seinfeld a...
689
Python
.py
13
48.615385
91
0.668155
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,158
test_http_chart_boxoffice.py
cinemagoer_cinemagoer/tests/test_http_chart_boxoffice.py
def test_boxoffice_movies_must_return_10_results(ia): chart = ia.get_boxoffice_movies() assert len(chart) == 10 def test_top50_horrors_must_return_50_results(ia): movies = ia.get_top50_movies_by_genres('horror') assert len(movies) == 50 def test_top50_action_thriller_tv_must_return_50_results(ia): ...
403
Python
.py
9
40.666667
61
0.705128
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,159
test_http_movie_connections.py
cinemagoer_cinemagoer/tests/test_http_movie_connections.py
def test_movie_followed_by_connections(ia): movie = ia.get_movie('0133093', info=['connections']) quotes = movie.get('connections', {}).get('followed by', []) assert len(quotes) >= 5 def test_movie_spinoff_connections(ia): movie = ia.get_movie('0133093', info=['connections']) quotes = movie.get('c...
385
Python
.py
8
43.875
64
0.656
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,160
test_http_chart_top_tv.py
cinemagoer_cinemagoer/tests/test_http_chart_top_tv.py
def test_top_tv_should_contain_100_entries(ia): chart = ia.get_top250_tv() assert len(chart) == 250 def test_top_tv_entries_should_have_rank(ia): movies = ia.get_top250_tv() for rank, movie in enumerate(movies): assert movie['top tv 250 rank'] == rank + 1 def test_top_tv_entries_should_have_...
1,200
Python
.py
31
33.387097
64
0.672727
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,161
test_http_movie_trivia.py
cinemagoer_cinemagoer/tests/test_http_movie_trivia.py
def test_movie_trivia(ia): movie = ia.get_movie('0133093', info=['trivia']) trivia = movie.get('trivia', []) assert len(trivia) >= 5
145
Python
.py
4
32.25
52
0.624113
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,162
test_http_movie_awards.py
cinemagoer_cinemagoer/tests/test_http_movie_awards.py
def test_movie_awards(ia): movie = ia.get_movie('0133093', info=['awards']) awards = movie.get('awards', []) assert len(awards) > 80
145
Python
.py
4
32.25
52
0.631206
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,163
test_http_movie_titles.py
cinemagoer_cinemagoer/tests/test_http_movie_titles.py
from pytest import mark @mark.skip('obviously this depends on your country of origin') def test_movie_localized_title(ia): movie = ia.get_movie('2991224', info=['main']) title = movie.get('localized title', '') assert title in ('Tangerines - Mandarini', 'Tangerines') def test_movie_original_title(ia): ...
595
Python
.py
14
38.5
62
0.676522
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,164
test_http_movie_parental_guide.py
cinemagoer_cinemagoer/tests/test_http_movie_parental_guide.py
def test_movie_parental_guide_contains_mpaa_rating(ia): movie = ia.get_movie('0133093', info=['parents guide']) # Matrix assert movie.get('mpaa') == "Rated R for sci-fi violence and brief language" def test_movie_certificates_from_parental_guide(ia): movie = ia.get_movie('0133093', info=['parents guide']...
1,002
Python
.py
16
58.25
116
0.663265
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,165
test_http_person_awards.py
cinemagoer_cinemagoer/tests/test_http_person_awards.py
def test_person_awards(ia): person = ia.get_person('0000206', info=['awards']) awards = person.get('awards', []) assert len(awards) > 20
149
Python
.py
4
33.25
54
0.641379
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,166
test_http_search_person.py
cinemagoer_cinemagoer/tests/test_http_search_person.py
from pytest import mark def test_search_person_should_list_default_number_of_people(ia): people = ia.search_person('julia') assert len(people) == 20 def test_search_person_limited_should_list_requested_number_of_people(ia): people = ia.search_person('julia', results=11) assert len(people) == 11 de...
2,333
Python
.py
48
44.020833
74
0.720478
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,167
test_in_operator.py
cinemagoer_cinemagoer/tests/test_in_operator.py
def test_person_in_movie(ia): movie = ia.get_movie('0133093', info=['main']) # Matrix person = ia.get_person('0000206', info=['main']) # Keanu Reeves assert person in movie def test_key_in_movie(ia): movie = ia.get_movie('0133093', info=['main']) # Matrix assert 'cast' in movie def test_movie...
755
Python
.py
17
40.117647
79
0.668493
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,168
test_http_movie_combined.py
cinemagoer_cinemagoer/tests/test_http_movie_combined.py
from pytest import mark import re from imdb.Movie import Movie from imdb.Person import Person months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] re_date = re.compile(r'[0-9]{1,2} (%s) [0-9]{4}' % '|'.join(months), re.I) def test_movie_cover_url_should_be_an_image_link(ia)...
21,433
Python
.py
366
54.23224
101
0.659888
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,169
test_http_chart_popular_tv.py
cinemagoer_cinemagoer/tests/test_http_chart_popular_tv.py
def test_popular_tv_should_contain_100_entries(ia): chart = ia.get_popular100_tv() assert len(chart) == 100 def test_popular_tv_entries_should_have_rank(ia): movies = ia.get_popular100_tv() for rank, movie in enumerate(movies): assert movie['popular tv 100 rank'] == rank + 1 def test_popular...
763
Python
.py
19
34.947368
55
0.695652
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,170
test_http_movie_keywords.py
cinemagoer_cinemagoer/tests/test_http_movie_keywords.py
def test_movie_keywords_should_be_a_list_of_keywords(ia): movie = ia.get_movie('0133093', info=['keywords']) # Matrix keywords = movie.get('keywords', []) assert 250 <= len(keywords) <= 400 assert {'computer-hacker', 'messiah', 'artificial-reality'}.issubset(set(keywords)) def test_movie_relevant_key...
746
Python
.py
13
53
87
0.689986
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,171
test_http_search_keyword.py
cinemagoer_cinemagoer/tests/test_http_search_keyword.py
def test_search_keyword_check_list_of_keywords(ia): keywords = ia.search_keyword('zoolander') assert 'reference to zoolander' in keywords def test_search_keyword_if_multiple_should_list_correct_number_of_keywords(ia): keywords = ia.search_keyword('messiah') assert len(keywords) == 25 def test_search...
1,034
Python
.py
19
49.631579
93
0.722939
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,172
test_http_movie_plot.py
cinemagoer_cinemagoer/tests/test_http_movie_plot.py
import re def test_movie_summary_should_be_some_text_with_author(ia): movie = ia.get_movie('0133093', info=['plot']) # Matrix plots = movie.get('plot', []) assert 3 <= len(plots) <= 10 sel_plot = '' for plot in plots: if plot.endswith('redcommander27'): sel_plot = plot ...
1,028
Python
.py
22
41.363636
110
0.656313
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,173
test_http_showtimes.py
cinemagoer_cinemagoer/tests/test_http_showtimes.py
def test_get_showtimes_contains_data(ia): data = ia.get_showtimes() assert len(data) > 0 for cinema_info in data: assert 'cinema' in cinema_info assert 'movies' in cinema_info assert len(cinema_info['movies']) > 0 for movie in cinema_info['movies']: assert 'movie'...
370
Python
.py
10
29.2
45
0.622222
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,174
test_http_person_main.py
cinemagoer_cinemagoer/tests/test_http_person_main.py
import re def test_person_headshot_should_be_an_image_link(ia): person = ia.get_person('0000206', info=['main']) # Keanu Reeves assert re.match(r'^https?://.*\.jpg$', person['headshot']) def test_person_producer_is_in_filmography(ia): person = ia.get_person('0000206', info=['filmography']) # Keanu...
3,041
Python
.py
52
54.134615
80
0.685705
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,175
test_http_search_company.py
cinemagoer_cinemagoer/tests/test_http_search_company.py
from pytest import mark def test_search_company_should_list_default_number_of_companies(ia): companies = ia.search_company('pixar') assert len(companies) == 13 @mark.skip(reason="number of results limit is not honored anymore") def test_search_company_limited_should_list_requested_number_of_companies(ia): ...
1,805
Python
.py
32
52.34375
89
0.74302
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,176
test_http_chart_top_indian.py
cinemagoer_cinemagoer/tests/test_http_chart_top_indian.py
def test_top_indian_chart_should_contain_250_entries(ia): chart = ia.get_top250_indian_movies() assert len(chart) == 250 def test_top_indian_chart_entries_should_have_rank(ia): movies = ia.get_top250_indian_movies() for rank, movie in enumerate(movies): assert movie['top indian 250 rank'] == r...
1,163
Python
.py
27
37.777778
63
0.702847
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,177
test_http_movie_releaseinfo.py
cinemagoer_cinemagoer/tests/test_http_movie_releaseinfo.py
def test_movie_release_info_raw_akas_must_be_a_list(ia): movie = ia.get_movie('0133093', info=['release info']) # Matrix akas = movie.get('raw akas', []) assert len(akas) >= 40 assert len(akas) == len(movie.get('akas from release info')) def test_movie_release_info_raw_release_dates_must_be_a_list(...
525
Python
.py
10
48.1
70
0.653021
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,178
test_locale.py
cinemagoer_cinemagoer/tests/test_locale.py
from pytest import fixture import os import sys import imdb.locale if sys.version_info.major >= 3: from importlib import reload @fixture def italian(): """Set the language temporarily to Italian.""" lang = os.environ["LANG"] os.environ["LANG"] = "it_IT.UTF-8" reload(imdb.locale) yield imdb....
483
Python
.py
17
24.882353
59
0.714597
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,179
test_xml.py
cinemagoer_cinemagoer/tests/test_xml.py
import xml.etree.ElementTree as ET def test_movie_xml(ia): movie = ia.get_movie('0133093') # Matrix movie_xml = movie.asXML() movie_xml = movie_xml.encode('utf8', 'ignore') assert ET.fromstring(movie_xml) is not None
238
Python
.py
6
35.666667
50
0.691304
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,180
test_http_movie_reviews.py
cinemagoer_cinemagoer/tests/test_http_movie_reviews.py
def test_movie_reviews_should_be_a_list(ia): movie = ia.get_movie('0104155', info=['reviews']) # Dust Devil reviews = movie.get('reviews', []) assert len(reviews) == 25 def test_movie_reviews_if_none_should_be_excluded(ia): movie = ia.get_movie('1863157', info=['reviews']) # Ates Parcasi asser...
574
Python
.py
11
48
75
0.676786
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,181
test_http_movie_votes.py
cinemagoer_cinemagoer/tests/test_http_movie_votes.py
from pytest import mark def test_movie_votes_should_be_divided_into_10_slots(ia): movie = ia.get_movie('0133093', info=['vote details']) # Matrix votes = movie.get('number of votes', []) assert len(votes) == 10 def test_movie_votes_should_be_integers(ia): movie = ia.get_movie('0133093', info=['vote...
1,621
Python
.py
32
46.34375
75
0.689524
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,182
test_http_movie_list.py
cinemagoer_cinemagoer/tests/test_http_movie_list.py
listId = "ls058726648" def test_list_movies_entries_should_have_rank(ia): movies = ia.get_movie_list(list_=listId) for rank, movie in enumerate(movies): assert movie['rank'] == rank + 1 def test_list_movies_entries_should_have_movie_id(ia): movies = ia.get_movie_list(list_=listId) for movie ...
682
Python
.py
17
34.882353
54
0.692542
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,183
test_http_movie_series.py
cinemagoer_cinemagoer/tests/test_http_movie_series.py
from pytest import mark @mark.skip('creator parser is still broken see #275') def test_series_has_creator(ia): movie = ia.get_movie('0412142') assert '0794914' in [p.personID for p in movie.get('creator')] def test_series_full_cast_has_ids(ia): movie = ia.get_movie('0412142', info=['full cast']) # ...
444
Python
.py
9
45.666667
73
0.675174
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,184
test_http_company_main.py
cinemagoer_cinemagoer/tests/test_http_company_main.py
def test_company_name_should_not_include_country(ia): data = ia.get_company('0017902', info=['main']) assert data.get('name') == 'Pixar Animation Studios'
163
Python
.py
3
50.666667
56
0.7
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,185
test_http_person_otherworks.py
cinemagoer_cinemagoer/tests/test_http_person_otherworks.py
def test_person_other_works_should_contain_correct_number_of_works(ia): person = ia.get_person('0000206', info=['other works']) # Keanu Reeves other_works = person.get('other works', []) assert len(other_works) == 42 def test_person_other_works_should_contain_correct_work(ia): person = ia.get_pers...
665
Python
.py
11
56.181818
78
0.692308
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,186
test_http_movie_recommendations.py
cinemagoer_cinemagoer/tests/test_http_movie_recommendations.py
from pytest import mark @mark.skip("FIXME: this section changed name to 'More Like This' and divs/classes have changed too") def test_movie_contains_recommendations(ia): movie = ia.get_movie('0133093', info=['recommendations']) # Matrix assert len(movie.get('recommendations', [])) == 12
303
Python
.py
5
57.6
100
0.726351
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,187
_exceptions.py
cinemagoer_cinemagoer/imdb/_exceptions.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,695
Python
.py
36
43.361111
82
0.731959
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,188
linguistics.py
cinemagoer_cinemagoer/imdb/linguistics.py
# -*- coding: utf-8 -*- # Copyright 2009-2017 Davide Alberani <da@erlug.linux.it> # 2012 Alberto Malagoli <albemala AT gmail.com> # 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 a...
9,486
Python
.py
211
40.620853
96
0.628096
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,189
_logging.py
cinemagoer_cinemagoer/imdb/_logging.py
# Copyright 2009-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,732
Python
.py
41
39.463415
82
0.756387
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,190
cli.py
cinemagoer_cinemagoer/imdb/cli.py
# Copyright 2017 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...
6,487
Python
.py
138
39.971014
108
0.642032
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,191
utils.py
cinemagoer_cinemagoer/imdb/utils.py
# Copyright 2004-2022 Davide Alberani <da@erlug.linux.it> # 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,...
60,548
Python
.py
1,472
31.505435
117
0.570711
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,192
__init__.py
cinemagoer_cinemagoer/imdb/__init__.py
# Copyright 2004-2021 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...
48,283
Python
.py
987
38.771023
114
0.622618
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,193
Person.py
cinemagoer_cinemagoer/imdb/Person.py
# Copyright 2004-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...
11,146
Python
.py
251
34.63745
109
0.594662
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,194
Movie.py
cinemagoer_cinemagoer/imdb/Movie.py
# Copyright 2004-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 pro...
13,798
Python
.py
314
33.191083
100
0.575931
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,195
Character.py
cinemagoer_cinemagoer/imdb/Character.py
# Copyright 2007-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...
7,142
Python
.py
166
34.325301
98
0.618849
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,196
helpers.py
cinemagoer_cinemagoer/imdb/helpers.py
# Copyright 2006-2018 Davide Alberani <da@erlug.linux.it> # 2012 Alberto Malagoli <albemala AT gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the...
23,686
Python
.py
562
33.371886
95
0.615395
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,197
Company.py
cinemagoer_cinemagoer/imdb/Company.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...
7,112
Python
.py
165
34.2
98
0.612628
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,198
imdbpy-sr.po
cinemagoer_cinemagoer/imdb/locale/imdbpy-sr.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: 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-...
25,808
Python
.py
979
21.604699
53
0.806061
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)
5,199
imdbpy-pt_BR.po
cinemagoer_cinemagoer/imdb/locale/imdbpy-pt_BR.po
# Gettext message file for imdbpy # Translators: # Wagner Marques Oliveira <wagnermarques00@hotmail.com>, 2015 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: Wagner Marques Oliveira <wagnermarques00@hotmail...
19,695
Python
.py
982
18.698574
104
0.78401
cinemagoer/cinemagoer
1,219
352
80
GPL-2.0
9/5/2024, 5:09:21 PM (Europe/Amsterdam)