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
15,200
0008_allow_blank_directory_name_and_parent.py
translate_pootle/pootle/apps/pootle_app/migrations/0008_allow_blank_directory_name_and_parent.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import pootle_app.models.directory class Migration(migrations.Migration): dependencies = [ ('pootle_app', '0007_add_directory_name_validation'), ] operations = [ migrations.AlterFiel...
772
Python
.py
20
30.95
139
0.647925
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,201
0010_obsolete_path_idx.py
translate_pootle/pootle/apps/pootle_app/migrations/0010_obsolete_path_idx.py
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-10-23 18:15 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pootle_app', '0009_set_default_directory_pootle_path'), ] operations = [ migrations...
451
Python
.py
14
26.285714
65
0.638889
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,202
0015_add_tp_path_idx.py
translate_pootle/pootle/apps/pootle_app/migrations/0015_add_tp_path_idx.py
# -*- coding: utf-8 -*- # Generated by Django 1.9.11 on 2016-11-04 16:36 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pootle_app', '0014_set_directory_tp_path'), ] operations = [ migrations.AlterIndexT...
470
Python
.py
14
27.642857
93
0.62306
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,203
0009_set_default_directory_pootle_path.py
translate_pootle/pootle/apps/pootle_app/migrations/0009_set_default_directory_pootle_path.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pootle_app', '0008_allow_blank_directory_name_and_parent'), ] operations = [ migrations.AlterField( model_name='...
474
Python
.py
14
27.071429
92
0.630769
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,204
0004_set_directory_has_no_default_permissions.py
translate_pootle/pootle/apps/pootle_app/migrations/0004_set_directory_has_no_default_permissions.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pootle_app', '0003_drop_existing_directory_default_permissions'), ] operations = [ migrations.AlterModelOptions( ...
427
Python
.py
13
26.538462
75
0.633252
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,205
0001_initial.py
translate_pootle/pootle/apps/pootle_app/migrations/0001_initial.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import pootle.core.mixins.treeitem from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('auth', '0001_initial'), migrations.swappable_dependency(settings....
2,072
Python
.py
43
37.209302
143
0.606719
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,206
0019_remove_extra_indeces.py
translate_pootle/pootle/apps/pootle_app/migrations/0019_remove_extra_indeces.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-06-02 16:53 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pootle_app', '0018_set_dir...
614
Python
.py
17
30.352941
126
0.682432
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,207
0007_add_directory_name_validation.py
translate_pootle/pootle/apps/pootle_app/migrations/0007_add_directory_name_validation.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import pootle_app.models.directory class Migration(migrations.Migration): dependencies = [ ('pootle_app', '0006_change_administrate_permission_name'), ] operations = [ migrations.Alt...
521
Python
.py
15
28.333333
113
0.666667
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,208
0017_drop_stray_directories.py
translate_pootle/pootle/apps/pootle_app/migrations/0017_drop_stray_directories.py
# -*- coding: utf-8 -*- # Generated by Django 1.9.11 on 2016-11-08 17:23 from __future__ import unicode_literals from django.db import migrations def drop_stray_directories(apps, schema_editor): """Drop directories that belong to no existing TP.""" Directory = apps.get_model("pootle_app.Directory") TP = ...
1,601
Python
.py
38
34.315789
79
0.649871
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,209
0012_set_directory_tp.py
translate_pootle/pootle/apps/pootle_app/migrations/0012_set_directory_tp.py
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-11-02 19:58 from __future__ import unicode_literals from django.db import migrations def set_directory_tp(apps, schema_editor): dirs = apps.get_model("pootle_app.Directory").objects.all() TP = apps.get_model("pootle_translationproject.TranslationPr...
650
Python
.py
18
30.888889
71
0.682692
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,210
0011_directory_tp.py
translate_pootle/pootle/apps/pootle_app/migrations/0011_directory_tp.py
# -*- coding: utf-8 -*- # Generated by Django 1.9.11 on 2016-11-04 07:36 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pootle_translationproject', '0003_realpath_can_be_none'), ...
677
Python
.py
17
33.588235
176
0.674809
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,211
0005_case_sensitive_schema.py
translate_pootle/pootle/apps/pootle_app/migrations/0005_case_sensitive_schema.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models from pootle.core.utils.db import set_mysql_collation_for_column def make_directory_paths_cs(apps, schema_editor): cursor = schema_editor.connection.cursor() set_mysql_collation_for_column( apps, ...
816
Python
.py
27
23.740741
72
0.638924
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,212
urls.py
translate_pootle/pootle/apps/pootle_app/views/index/urls.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.conf.urls import url from django...
742
Python
.py
22
28.409091
77
0.662465
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,213
index.py
translate_pootle/pootle/apps/pootle_app/views/index/index.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.contrib.auth import REDIRECT_FIE...
3,977
Python
.py
100
31.65
77
0.650752
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,214
users.py
translate_pootle/pootle/apps/pootle_app/views/admin/users.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.contrib.auth import get_user_mod...
1,106
Python
.py
27
35.777778
77
0.705607
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,215
util.py
translate_pootle/pootle/apps/pootle_app/views/admin/util.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django import forms from django.forms.m...
6,759
Python
.py
148
36.202703
79
0.616461
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,216
urls.py
translate_pootle/pootle/apps/pootle_app/views/admin/urls.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.conf.urls import include, url i...
2,294
Python
.py
63
29.68254
77
0.619585
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,217
languages.py
translate_pootle/pootle/apps/pootle_app/views/admin/languages.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.views.generic import TemplateVie...
1,038
Python
.py
26
36.269231
77
0.751745
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,218
projects.py
translate_pootle/pootle/apps/pootle_app/views/admin/projects.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.views.generic import TemplateVie...
2,968
Python
.py
73
32.205479
77
0.628512
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,219
dashboard.py
translate_pootle/pootle/apps/pootle_app/views/admin/dashboard.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from redis.exceptions import ConnectionError...
2,688
Python
.py
70
32.757143
78
0.685769
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,220
adminroot.py
translate_pootle/pootle/apps/pootle_app/views/admin/adminroot.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from pootle.core.decorators import admin_req...
684
Python
.py
18
35.055556
79
0.757164
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,221
__init__.py
translate_pootle/pootle/apps/pootle_app/views/admin/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from .languages import LanguageAdminView, La...
637
Python
.py
14
43.714286
77
0.790323
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,222
permissions.py
translate_pootle/pootle/apps/pootle_app/views/admin/permissions.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django import forms from django.contrib...
6,105
Python
.py
136
34.933824
77
0.63843
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,223
__init__.py
translate_pootle/pootle/apps/pootle_app/management/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import logging from django.contrib.auth.mod...
1,532
Python
.py
34
37.323529
77
0.690604
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,224
set_filetype.py
translate_pootle/pootle/apps/pootle_app/management/commands/set_filetype.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os os.environ['DJANGO_SETTINGS_MODUL...
2,012
Python
.py
51
30.921569
77
0.642894
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,225
sync_stores.py
translate_pootle/pootle/apps/pootle_app/management/commands/sync_stores.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import logging import os os.environ['DJANGO_...
2,802
Python
.py
67
32.074627
80
0.609541
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,226
create_project.py
translate_pootle/pootle/apps/pootle_app/management/commands/create_project.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os import traceback os.environ['DJAN...
5,973
Python
.py
158
26.955696
77
0.561531
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,227
webpack.py
translate_pootle/pootle/apps/pootle_app/management/commands/webpack.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os os.environ['DJANGO_SETTINGS_MODULE...
4,013
Python
.py
94
32.148936
79
0.590361
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,228
config.py
translate_pootle/pootle/apps/pootle_app/management/commands/config.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import collections import json import os os...
8,129
Python
.py
217
25.428571
77
0.519068
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,229
retry_failed_jobs.py
translate_pootle/pootle/apps/pootle_app/management/commands/retry_failed_jobs.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os # This must be run before importi...
727
Python
.py
18
37
77
0.736467
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,230
update_stores.py
translate_pootle/pootle/apps/pootle_app/management/commands/update_stores.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import logging import os os.environ['DJANGO_...
3,254
Python
.py
82
30.353659
77
0.621639
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,231
update_data.py
translate_pootle/pootle/apps/pootle_app/management/commands/update_data.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import logging import os os.environ['DJANGO_...
2,303
Python
.py
59
29.813559
77
0.61387
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,232
list_projects.py
translate_pootle/pootle/apps/pootle_app/management/commands/list_projects.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os os.environ['DJANGO_SETTINGS_MODULE...
1,386
Python
.py
35
31.371429
77
0.640089
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,233
list_serializers.py
translate_pootle/pootle/apps/pootle_app/management/commands/list_serializers.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os os.environ['DJANGO_SETTINGS_MODUL...
2,383
Python
.py
58
31.913793
77
0.623326
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,234
__init__.py
translate_pootle/pootle/apps/pootle_app/management/commands/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import datetime import logging from django....
7,156
Python
.py
173
30.820809
79
0.591308
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,235
update_tmserver.py
translate_pootle/pootle/apps/pootle_app/management/commands/update_tmserver.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os from hashlib import md5 # This mu...
13,500
Python
.py
316
29.901899
79
0.544962
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,236
initdb.py
translate_pootle/pootle/apps/pootle_app/management/commands/initdb.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os # This must be run before importi...
1,314
Python
.py
31
35.741935
77
0.67451
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,237
list_languages.py
translate_pootle/pootle/apps/pootle_app/management/commands/list_languages.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os os.environ['DJANGO_SETTINGS_MODULE...
1,687
Python
.py
43
30.72093
77
0.624235
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,238
revision.py
translate_pootle/pootle/apps/pootle_app/management/commands/revision.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os os.environ['DJANGO_SETTINGS_MODUL...
1,070
Python
.py
28
32.178571
77
0.677638
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,239
flush_cache.py
translate_pootle/pootle/apps/pootle_app/management/commands/flush_cache.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os import sys # This must be run bef...
3,246
Python
.py
79
30.303797
79
0.577996
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,240
refresh_scores.py
translate_pootle/pootle/apps/pootle_app/management/commands/refresh_scores.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os os.environ['DJANGO_SETTINGS_MODULE...
1,970
Python
.py
52
29.384615
77
0.622642
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,241
test_checks.py
translate_pootle/pootle/apps/pootle_app/management/commands/test_checks.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import logging import os os.environ['DJANGO_...
3,853
Python
.py
99
26.838384
77
0.540541
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,242
calculate_checks.py
translate_pootle/pootle/apps/pootle_app/management/commands/calculate_checks.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os # This must be run before importi...
1,735
Python
.py
42
33.642857
77
0.666667
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,243
schema.py
translate_pootle/pootle/apps/pootle_app/management/commands/schema.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os os.environ['DJANGO_SETTINGS_MODUL...
2,668
Python
.py
65
30.184615
77
0.603242
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,244
contributors.py
translate_pootle/pootle/apps/pootle_app/management/commands/contributors.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os from argparse import ArgumentTypeE...
3,767
Python
.py
96
29.416667
79
0.589281
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,245
dump.py
translate_pootle/pootle/apps/pootle_app/management/commands/dump.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os import sys reload(sys) sys.setdef...
6,099
Python
.py
155
28.516129
78
0.555537
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,246
__init__.py
translate_pootle/pootle/apps/pootle_app/management/commands/schema_commands/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os os.environ['DJANGO_SETTINGS_MODULE...
4,623
Python
.py
120
27.208333
77
0.569804
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,247
models.py
translate_pootle/pootle/apps/pootle_statistics/models.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.conf import settings from django...
10,870
Python
.py
238
34.323529
79
0.603251
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,248
getters.py
translate_pootle/pootle/apps/pootle_statistics/getters.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from pootle.core.delegate import contributor...
474
Python
.py
13
34.846154
77
0.789934
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,249
proxy.py
translate_pootle/pootle/apps/pootle_statistics/proxy.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.template.defaultfilters import t...
6,942
Python
.py
196
26.903061
80
0.621855
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,250
urls.py
translate_pootle/pootle/apps/pootle_statistics/urls.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.conf.urls import url from . imp...
485
Python
.py
15
29.466667
77
0.723176
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,251
apps.py
translate_pootle/pootle/apps/pootle_statistics/apps.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import importlib from django.apps import Ap...
547
Python
.py
15
33.466667
77
0.750951
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,252
utils.py
translate_pootle/pootle/apps/pootle_statistics/utils.py
# -*- coding: utf-8 -*- # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from collections import OrderedDict from djan...
2,623
Python
.py
70
29.242857
78
0.613627
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,253
__init__.py
translate_pootle/pootle/apps/pootle_statistics/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. default_app_config = 'pootle_statistics.apps...
345
Python
.py
8
42
77
0.77381
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,254
forms.py
translate_pootle/pootle/apps/pootle_statistics/forms.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. """Form fields required for handling transla...
584
Python
.py
14
38.857143
77
0.737589
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,255
views.py
translate_pootle/pootle/apps/pootle_statistics/views.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.forms import ValidationError fro...
3,287
Python
.py
89
28.719101
77
0.648224
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,256
0014_truncate_source_subs.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0014_truncate_source_subs.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-25 15:53 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0013_remove_revert_flag'), ] operations = [ ]
300
Python
.py
10
26.1
57
0.684211
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,257
0020_convert_checks_subs.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0020_convert_checks_subs.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-02 12:44 from __future__ import unicode_literals from django.db import migrations MUTE_FLAG = 6 UNMUTE_FLAG = 7 MUTED = 0 UNMUTED = 1 CHECK_FIELD_FLAG = 5 WEB_FLAG = 1 def convert_check_subs(apps, schema_editor): subs = apps.get_model("pootle_st...
855
Python
.py
29
24.37931
65
0.674847
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,258
0003_scorelog_translated_wordcount.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0003_scorelog_translated_wordcount.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0002_update_submission_ordering'), ] operations = [ migrations.AddField( model_name='scorel...
441
Python
.py
14
24.714286
65
0.64218
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,259
0004_fill_translated_wordcount.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0004_fill_translated_wordcount.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations def set_translated_wordcount(apps, schema_editor): # this migration created some issues and has been removed pass class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0003_...
494
Python
.py
14
30.428571
68
0.706751
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,260
0016_drop_add_suggestion_subs.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0016_drop_add_suggestion_subs.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-28 11:10 from __future__ import unicode_literals from django.db import migrations SUGG_ADD_FLAG = 8 def drop_add_suggestion_subs(apps, schema_editor): subs = apps.get_model("pootle_statistics.Submission").objects.all() subs.filter(type=SUGG_AD...
551
Python
.py
15
32.466667
71
0.711575
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,261
0006_set_submission_base_manager_name.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0006_set_submission_base_manager_name.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-20 08:21 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0005_index_ordering'), ] operations = [ migrations.AlterModelO...
501
Python
.py
14
29.857143
124
0.636929
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,262
0023_remove_scorelog.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0023_remove_scorelog.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-18 12:41 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0022_set_suggestion_submitters'), ] operations = [ migrations....
708
Python
.py
25
20.24
64
0.576696
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,263
0017_drop_reject_suggestion_subs.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0017_drop_reject_suggestion_subs.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-28 13:11 from __future__ import unicode_literals from django.db import migrations SUGG_REJECT_FLAG = 9 def drop_reject_suggestion_subs(apps, schema_editor): subs = apps.get_model("pootle_statistics.Submission").objects.all() subs.filter(type=S...
564
Python
.py
15
33.333333
71
0.716667
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,264
0011_cleanup_submissions_squashed_0023_remove_scorelog.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0011_cleanup_submissions_squashed_0023_remove_scorelog.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-05-11 04:59 from __future__ import unicode_literals from django.conf import settings from django.db import migrations from pootle.core.batch import Batch # Old types REVERT_TYPE = 2 SUGG_ACCEPT_TYPE = 3 SUGG_ADD_TYPE = 8 SUGG_REJECT_TYPE = 9 UNIT_CREATE_T...
6,748
Python
.py
160
35.88125
117
0.669056
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,265
0008_set_submission_revisions.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0008_set_submission_revisions.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-26 17:02 from __future__ import unicode_literals from django.db import migrations def set_submission_revisions(apps, schema_editor): units = apps.get_model("pootle_store.Unit").objects.all() submissions = apps.get_model("pootle_statistics.Submis...
1,355
Python
.py
29
39.482759
123
0.677075
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,266
0009_rm_similarity.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0009_rm_similarity.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-01 17:00 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0008_set_submission_revisions'), ] operations = [ migrations.R...
640
Python
.py
22
21.318182
63
0.59217
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,267
0012_remove_create_subs.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0012_remove_create_subs.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-17 17:54 from __future__ import unicode_literals import logging import time from django.db import migrations logger = logging.getLogger(__name__) def remove_create_subs(apps, schema_editor): subs = apps.get_model("pootle_statistics.Submission").o...
1,149
Python
.py
34
27.294118
71
0.629529
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,268
0001_initial.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0001_initial.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('pootle_translationproject', '0001_initial'), ('pootle_store', '0001_initial'), migrations.sw...
3,210
Python
.py
59
41.661017
136
0.590273
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,269
0015_remove_system_scorelogs.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0015_remove_system_scorelogs.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-25 19:51 from __future__ import unicode_literals from django.db import migrations from pootle.core.user import get_system_user_id def remove_system_scorelogs(apps, schema_editor): scorelogs = apps.get_model("pootle_statistics.ScoreLog").objects.al...
594
Python
.py
15
35.333333
74
0.724561
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,270
0010_submission_on_delete_user.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0010_submission_on_delete_user.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-02 15:10 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import pootle.core.user class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0009_rm_simila...
602
Python
.py
17
29.647059
132
0.677586
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,271
0013_remove_revert_flag.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0013_remove_revert_flag.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-25 14:15 from __future__ import unicode_literals from django.db import migrations # this was the value of SubmissionTypes.REVERT REVERT_FLAG = 2 def remove_revert_flag(apps, schema_editor): subs = apps.get_model("pootle_statistics.Submission").objec...
575
Python
.py
16
32
71
0.717391
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,272
0002_update_submission_ordering.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0002_update_submission_ordering.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='submission', ...
421
Python
.py
13
26.076923
92
0.620347
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,273
0005_index_ordering.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0005_index_ordering.py
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-10-23 12:28 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0004_fill_translated_wordcount'), ] operations = [ migrations....
460
Python
.py
14
26.928571
71
0.641723
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,274
0019_convert_accept_sugg_subs.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0019_convert_accept_sugg_subs.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-01 08:04 from __future__ import unicode_literals from django.db import migrations from django.db.models import F WEB_FLAG = 1 SUGG_ACCEPT_FLAG = 3 STATE_FIELD_FLAG = 3 def _assoc_state_accept_suggestion_subs(apps): subs = apps.get_model("pootle_st...
2,150
Python
.py
50
37.44
74
0.705769
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,275
0012_drop_stale_scorelog_ctype.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0012_drop_stale_scorelog_ctype.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-05-17 12:21 from __future__ import unicode_literals from django.db import migrations def drop_scorelog_ctype(apps, schema_editor): ContentType = apps.get_model('contenttypes.ContentType') ContentType.objects.filter(app_label='pootle_statistics', ...
611
Python
.py
15
34.533333
88
0.692699
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,276
0021_remove_paid_rates.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0021_remove_paid_rates.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-03 20:51 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0020_convert_checks_subs'), ] operations = [ migrations.Remove...
514
Python
.py
18
21.5
58
0.598778
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,277
0018_remove_submission_store.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0018_remove_submission_store.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-02 08:36 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0017_drop_reject_suggestion_subs'), ] operations = [ migration...
415
Python
.py
14
23.714286
66
0.636364
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,278
0007_submission_revision.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0007_submission_revision.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-26 19:33 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0006_set_submission_base_manager_name'), ] operations = [ ...
505
Python
.py
15
27.266667
76
0.645361
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,279
0022_set_suggestion_submitters.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0022_set_suggestion_submitters.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-14 11:01 from __future__ import unicode_literals from django.db import migrations from django.db.models import F def set_suggestion_submitters(apps, schema_editor): subs = apps.get_model("pootle_statistics.Submission").objects accepted_subs = su...
724
Python
.py
18
35.5
80
0.708155
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,280
0013_remove_extra_indeces.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0013_remove_extra_indeces.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-06-02 16:12 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import pootle.core.user class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(setti...
844
Python
.py
22
31.5
148
0.665851
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,281
0014_submission_unit_notnull.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0014_submission_unit_notnull.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-09-06 08:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pootle_statistics', '0013_remove_extra_indeces'), ] ...
553
Python
.py
16
28.5
105
0.663534
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,282
0011_cleanup_submissions.py
translate_pootle/pootle/apps/pootle_statistics/migrations/0011_cleanup_submissions.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-10 21:45 from __future__ import unicode_literals from django.db import migrations def cleanup_submissions(apps, schema_editor): subs = apps.get_model("pootle_statistics.Submission").objects.all() subs.filter(unit__isnull=True).delete() class M...
522
Python
.py
14
32.928571
71
0.712575
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,283
0001_initial.py
translate_pootle/pootle/apps/reports/migrations/0001_initial.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.Create...
1,207
Python
.py
25
38.12
195
0.604928
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,284
0002_rm_paid_task.py
translate_pootle/pootle/apps/reports/migrations/0002_rm_paid_task.py
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-10-12 16:23 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('reports', '0001_initial'), ] operations = [ migrations.RemoveField( mod...
454
Python
.py
17
20
48
0.592593
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,285
versioned.py
translate_pootle/pootle/apps/pootle_store/versioned.py
from pootle.core.proxy import BaseProxy from pootle_statistics.models import Submission, SubmissionFields class StoreVersion(BaseProxy): pass class VersionedStore(object): version_class = StoreVersion def __init__(self, store): self.store = store @property def current_store(self): ...
2,085
Python
.py
53
27.358491
69
0.55638
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,286
models.py
translate_pootle/pootle/apps/pootle_store/models.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import logging import operator from hashlib ...
32,799
Python
.py
806
30.80273
84
0.591221
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,287
getters.py
translate_pootle/pootle/apps/pootle_store/getters.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.conf import settings from django...
3,525
Python
.py
83
37.301205
83
0.738277
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,288
util.py
translate_pootle/pootle/apps/pootle_store/util.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.conf import settings from .cons...
1,725
Python
.py
43
33.930233
77
0.689303
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,289
syncer.py
translate_pootle/pootle/apps/pootle_store/syncer.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import logging import os from collections im...
9,184
Python
.py
247
27.477733
84
0.608666
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,290
abstracts.py
translate_pootle/pootle/apps/pootle_store/abstracts.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from translate.filters.decorators import Cat...
9,471
Python
.py
260
28.688462
78
0.662698
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,291
urls.py
translate_pootle/pootle/apps/pootle_store/urls.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.conf.urls import url from . imp...
1,762
Python
.py
46
32.456522
77
0.618043
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,292
constants.py
translate_pootle/pootle/apps/pootle_store/constants.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from pootle.i18n.gettext import ugettext_laz...
1,972
Python
.py
67
26.58209
77
0.690438
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,293
apps.py
translate_pootle/pootle/apps/pootle_store/apps.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import importlib from django.apps import Ap...
621
Python
.py
16
35.1875
77
0.746244
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,294
receivers.py
translate_pootle/pootle/apps/pootle_store/receivers.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from hashlib import md5 from django.db.mode...
3,964
Python
.py
98
34.163265
77
0.692048
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,295
utils.py
translate_pootle/pootle/apps/pootle_store/utils.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from collections import OrderedDict from dj...
14,335
Python
.py
367
29.498638
80
0.626556
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,296
__init__.py
translate_pootle/pootle/apps/pootle_store/__init__.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. default_app_config = 'pootle_store.apps.Poot...
335
Python
.py
8
40.75
77
0.766871
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,297
validators.py
translate_pootle/pootle/apps/pootle_store/validators.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from django.core.exceptions import Validatio...
554
Python
.py
13
39.461538
77
0.733706
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,298
updater.py
translate_pootle/pootle/apps/pootle_store/updater.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import logging from django.contrib.auth imp...
14,381
Python
.py
376
27.566489
80
0.591405
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
15,299
providers.py
translate_pootle/pootle/apps/pootle_store/providers.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from pootle.core.delegate import ( event...
1,689
Python
.py
42
36.452381
77
0.787156
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)