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,500 | getters.py | translate_pootle/pootle/apps/virtualfolder/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 search_back... | 1,348 | Python | .py | 33 | 38.636364 | 77 | 0.808903 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,501 | urls.py | translate_pootle/pootle/apps/virtualfolder/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
f... | 943 | Python | .py | 22 | 38.818182 | 80 | 0.678337 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,502 | search.py | translate_pootle/pootle/apps/virtualfolder/search.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_store.unit.search import DBSear... | 710 | Python | .py | 15 | 43.266667 | 77 | 0.735849 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,503 | apps.py | translate_pootle/pootle/apps/virtualfolder/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... | 700 | Python | .py | 17 | 37.235294 | 77 | 0.757755 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,504 | display.py | translate_pootle/pootle/apps/virtualfolder/display.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.utils.functional import cached_p... | 732 | Python | .py | 18 | 35.611111 | 77 | 0.702398 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,505 | receivers.py | translate_pootle/pootle/apps/virtualfolder/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 django.db.models.signals import post_sa... | 1,400 | Python | .py | 33 | 38.727273 | 77 | 0.752577 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,506 | utils.py | translate_pootle/pootle/apps/virtualfolder/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 fnmatch import fnmatch
from django.db.... | 8,608 | Python | .py | 227 | 28.735683 | 82 | 0.611351 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,507 | __init__.py | translate_pootle/pootle/apps/virtualfolder/__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 = 'virtualfolder.apps.Poo... | 344 | Python | .py | 8 | 41.875 | 77 | 0.776119 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,508 | providers.py | translate_pootle/pootle/apps/virtualfolder/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 panels, url... | 701 | Python | .py | 18 | 37.166667 | 77 | 0.799114 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,509 | panels.py | translate_pootle/pootle/apps/virtualfolder/panels.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_app.panels import ChildrenPanel
... | 891 | Python | .py | 27 | 26.740741 | 77 | 0.668998 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,510 | views.py | translate_pootle/pootle/apps/virtualfolder/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 import forms
from django.http im... | 5,937 | Python | .py | 150 | 31.533333 | 77 | 0.642522 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,511 | delegate.py | translate_pootle/pootle/apps/virtualfolder/delegate.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.plugin.delegate import Gett... | 435 | Python | .py | 12 | 35 | 77 | 0.766667 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,512 | 0013_set_projects_languages.py | translate_pootle/pootle/apps/virtualfolder/migrations/0013_set_projects_languages.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
from pootle.core.url_helpers import split_pootle_path
def parse_vfolder_rules(vf):
languages = set()
projects = set()
new_rules = set()
full_rules = [vf.location.strip() + rule.strip()
... | 1,728 | Python | .py | 45 | 31.222222 | 79 | 0.64907 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,513 | 0002_set_unit_priorities.py | translate_pootle/pootle/apps/virtualfolder/migrations/0002_set_unit_priorities.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.core.exceptions import FieldError
from django.db import models, migrations
def forwards_units(apps, schema_editor):
Unit = apps.get_model("pootle_store", "Unit")
VirtualFolder = apps.get_model("virtualfolder", "VirtualFolder")
db... | 1,820 | Python | .py | 44 | 33.454545 | 74 | 0.640749 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,514 | 0014_remove_location.py | translate_pootle/pootle/apps/virtualfolder/migrations/0014_remove_location.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('virtualfolder', '0013_set_projects_languages'),
]
operations = [
migrations.AlterUniqueTogether(
name='virtualfo... | 493 | Python | .py | 17 | 21.588235 | 57 | 0.605096 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,515 | 0011_add_projects_languages.py | translate_pootle/pootle/apps/virtualfolder/migrations/0011_add_projects_languages.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pootle_language', '0002_case_insensitive_schema'),
('pootle_project', '0010_add_reserved_code_validator'),
('virtualfolder', ... | 831 | Python | .py | 21 | 31.47619 | 112 | 0.638509 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,516 | 0017_rm_vfdata.py | translate_pootle/pootle/apps/virtualfolder/migrations/0017_rm_vfdata.py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.10 on 2016-10-06 10:36
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('virtualfolder', '0016_remove_vfdata_last_updated_unit'),
]
operations = [
migration... | 704 | Python | .py | 25 | 20.08 | 66 | 0.571217 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,517 | 0016_remove_vfdata_last_updated_unit.py | translate_pootle/pootle/apps/virtualfolder/migrations/0016_remove_vfdata_last_updated_unit.py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.9 on 2016-09-19 09:32
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('virtualfolder', '0015_vfdata'),
]
operations = [
migrations.RemoveField(
... | 397 | Python | .py | 14 | 22.428571 | 47 | 0.624339 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,518 | 0015_vfdata.py | translate_pootle/pootle/apps/virtualfolder/migrations/0015_vfdata.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pootle_statistics', '0004_fill_translated_wordcount'),
('pootle_store', '0019_remove_unit_priority'),
('virtualfolder', '0014... | 1,950 | Python | .py | 31 | 51.290323 | 176 | 0.628527 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,519 | 0009_set_vfolder_stores.py | translate_pootle/pootle/apps/virtualfolder/migrations/0009_set_vfolder_stores.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
def set_vfolder_stores(app, schema):
VirtualFolder = app.get_model("virtualfolder.VirtualFolder")
Store = app.get_model("pootle_store.Store")
for vf in VirtualFolder.objects.all():
store_pks =... | 660 | Python | .py | 17 | 33.411765 | 71 | 0.691824 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,520 | 0003_case_sensitive_schema.py | translate_pootle/pootle/apps/virtualfolder/migrations/0003_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_vfti_paths_cs(apps, schema_editor):
cursor = schema_editor.connection.cursor()
set_mysql_collation_for_column(
apps,
... | 1,140 | Python | .py | 37 | 24.027027 | 63 | 0.645014 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,521 | 0012_add_all_proj_lang_flags.py | translate_pootle/pootle/apps/virtualfolder/migrations/0012_add_all_proj_lang_flags.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('virtualfolder', '0011_add_projects_languages'),
]
operations = [
migrations.AddField(
model_name='virtualfolder'... | 594 | Python | .py | 19 | 23.263158 | 57 | 0.610526 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,522 | 0018_rm_vfti.py | translate_pootle/pootle/apps/virtualfolder/migrations/0018_rm_vfti.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
def drop_vfti_ctype(apps, schema_editor):
ContentType = apps.get_model('contenttypes.ContentType')
ContentType.objects.filter(app_label='virtualfolder',
model='virtualfolder... | 1,218 | Python | .py | 37 | 23.648649 | 70 | 0.602215 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,523 | 0001_initial.py | translate_pootle/pootle/apps/virtualfolder/migrations/0001_initial.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import pootle.core.mixins.treeitem
import pootle.core.markup.fields
class Migration(migrations.Migration):
dependencies = [
('pootle_store', '0001_initial'),
('pootle_app', '0001_initial'),
... | 2,907 | Python | .py | 50 | 46.8 | 172 | 0.629734 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,524 | 0019_change_filter_rules_field_label.py | translate_pootle/pootle/apps/virtualfolder/migrations/0019_change_filter_rules_field_label.py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-07 17:20
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('virtualfolder', '0018_rm_vfti'),
]
operations = [
migrations.AlterField(
... | 549 | Python | .py | 15 | 30.2 | 140 | 0.657845 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,525 | 0004_virtualfolder_title.py | translate_pootle/pootle/apps/virtualfolder/migrations/0004_virtualfolder_title.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('virtualfolder', '0003_case_sensitive_schema'),
]
operations = [
migrations.AddField(
model_name='virtualfolder',... | 461 | Python | .py | 14 | 26.142857 | 96 | 0.633484 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,526 | 0010_remove_virtualfolder_units.py | translate_pootle/pootle/apps/virtualfolder/migrations/0010_remove_virtualfolder_units.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('virtualfolder', '0009_set_vfolder_stores'),
]
operations = [
migrations.RemoveField(
model_name='virtualfolder',... | 364 | Python | .py | 13 | 21.692308 | 53 | 0.621387 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,527 | 0007_make_vfolder_name_unique.py | translate_pootle/pootle/apps/virtualfolder/migrations/0007_make_vfolder_name_unique.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('virtualfolder', '0006_cleanup_vfolder_names'),
]
operations = [
migrations.AlterField(
model_name='virtualfolder... | 450 | Python | .py | 14 | 25.357143 | 84 | 0.63109 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,528 | 0006_cleanup_vfolder_names.py | translate_pootle/pootle/apps/virtualfolder/migrations/0006_cleanup_vfolder_names.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from collections import Counter
from django.db import migrations, models
def rename_vf(vfolder):
parts = vfolder.location.split("/")
suffix = "-".join(
[x for x
in parts
if x and x not in ["{LANG}", "{PROJ}"]])
new... | 1,193 | Python | .py | 33 | 29.757576 | 73 | 0.637631 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,529 | 0008_virtualfolder_stores.py | translate_pootle/pootle/apps/virtualfolder/migrations/0008_virtualfolder_stores.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pootle_store', '0019_remove_unit_priority'),
('virtualfolder', '0007_make_vfolder_name_unique'),
]
operations = [
mi... | 530 | Python | .py | 15 | 28.4 | 106 | 0.637255 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,530 | 0005_set_vfolder_titles.py | translate_pootle/pootle/apps/virtualfolder/migrations/0005_set_vfolder_titles.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
def set_vfolder_titles(app, schema):
VirtualFolder = app.get_model("virtualfolder.VirtualFolder")
for vf in VirtualFolder.objects.all():
vf.title = vf.name
vf.save()
class Migration(migra... | 496 | Python | .py | 15 | 27.933333 | 64 | 0.688421 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,531 | add_vfolders.py | translate_pootle/pootle/apps/virtualfolder/management/commands/add_vfolders.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 json
import logging
import os
# This... | 7,937 | Python | .py | 169 | 30.331361 | 80 | 0.510735 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,532 | getters.py | translate_pootle/pootle/apps/pootle_terminology/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 terminology... | 700 | Python | .py | 17 | 39.352941 | 77 | 0.805022 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,533 | urls.py | translate_pootle/pootle/apps/pootle_terminology/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 .view... | 490 | Python | .py | 14 | 32.285714 | 77 | 0.707627 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,534 | apps.py | translate_pootle/pootle/apps/pootle_terminology/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... | 615 | Python | .py | 16 | 35.0625 | 77 | 0.752108 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,535 | receivers.py | translate_pootle/pootle/apps/pootle_terminology/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 django.db.models.signals import post_sa... | 1,483 | Python | .py | 42 | 30.452381 | 77 | 0.713589 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,536 | utils.py | translate_pootle/pootle/apps/pootle_terminology/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 django.utils.functional import cached_p... | 4,808 | Python | .py | 128 | 28.65625 | 80 | 0.63228 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,537 | __init__.py | translate_pootle/pootle/apps/pootle_terminology/__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_terminology.app... | 347 | Python | .py | 8 | 42.25 | 77 | 0.775148 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,538 | forms.py | translate_pootle/pootle/apps/pootle_terminology/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.
from django import forms
from pootle.i18n.g... | 1,813 | Python | .py | 39 | 36.179487 | 77 | 0.632955 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,539 | views.py | translate_pootle/pootle/apps/pootle_terminology/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.shortcuts import render
from dja... | 3,352 | Python | .py | 74 | 36.932432 | 79 | 0.669016 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,540 | terminology_tags.py | translate_pootle/pootle/apps/pootle_terminology/templatetags/terminology_tags.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 template
register = tem... | 697 | Python | .py | 19 | 31.842105 | 77 | 0.693908 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,541 | state.py | translate_pootle/pootle/apps/pootle_fs/state.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 cop... | 14,558 | Python | .py | 357 | 29.473389 | 84 | 0.574041 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,542 | signals.py | translate_pootle/pootle/apps/pootle_fs/signals.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.dispatch import Signal
fs_pre_... | 580 | Python | .py | 12 | 47 | 77 | 0.755319 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,543 | models.py | translate_pootle/pootle/apps/pootle_fs/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 .abstracts import AbstractStoreFS
cla... | 358 | Python | .py | 10 | 34.1 | 77 | 0.773913 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,544 | getters.py | translate_pootle/pootle/apps/pootle_fs/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.core.exceptions import Validatio... | 2,866 | Python | .py | 66 | 39.136364 | 82 | 0.75099 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,545 | resources.py | translate_pootle/pootle/apps/pootle_fs/resources.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 fnmatch import fnmatch
from ... | 8,028 | Python | .py | 212 | 28.985849 | 82 | 0.624469 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,546 | finder.py | translate_pootle/pootle/apps/pootle_fs/finder.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 fnmatch
import os
import re
import s... | 7,487 | Python | .py | 188 | 30.207447 | 83 | 0.572904 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,547 | plugin.py | translate_pootle/pootle/apps/pootle_fs/plugin.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
import shutil
impor... | 21,449 | Python | .py | 515 | 31.163107 | 82 | 0.591471 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,548 | abstracts.py | translate_pootle/pootle/apps/pootle_fs/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 django.db import models
from django.uti... | 2,527 | Python | .py | 61 | 34.655738 | 77 | 0.686889 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,549 | response.py | translate_pootle/pootle/apps/pootle_fs/response.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 collections import Order... | 4,047 | Python | .py | 110 | 30.527273 | 78 | 0.654504 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,550 | apps.py | translate_pootle/pootle/apps/pootle_fs/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... | 769 | Python | .py | 19 | 36.210526 | 77 | 0.733871 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,551 | display.py | translate_pootle/pootle/apps/pootle_fs/display.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.display import Display, Ite... | 4,005 | Python | .py | 113 | 27.876106 | 77 | 0.631088 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,552 | localfs.py | translate_pootle/pootle/apps/pootle_fs/localfs.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 uuid
from django impo... | 1,781 | Python | .py | 52 | 26.211538 | 77 | 0.627988 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,553 | receivers.py | translate_pootle/pootle/apps/pootle_fs/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 django.dispatch import receiver
from p... | 716 | Python | .py | 19 | 34.947368 | 77 | 0.781792 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,554 | utils.py | translate_pootle/pootle/apps/pootle_fs/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 fnmatch import translate
from django.u... | 3,105 | Python | .py | 81 | 31.024691 | 80 | 0.641761 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,555 | presets.py | translate_pootle/pootle/apps/pootle_fs/presets.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 po... | 680 | Python | .py | 18 | 33.888889 | 77 | 0.665653 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,556 | __init__.py | translate_pootle/pootle/apps/pootle_fs/__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_fs.apps.PootleF... | 329 | Python | .py | 8 | 40 | 77 | 0.7625 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,557 | providers.py | translate_pootle/pootle/apps/pootle_fs/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.plugin import provider
fro... | 488 | Python | .py | 13 | 35.923077 | 77 | 0.785563 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,558 | exceptions.py | translate_pootle/pootle/apps/pootle_fs/exceptions.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.
class FSException(Exception):
def __in... | 594 | Python | .py | 19 | 27.789474 | 77 | 0.739362 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,559 | files.py | translate_pootle/pootle/apps/pootle_fs/files.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 translate.sto... | 7,935 | Python | .py | 221 | 26.515837 | 78 | 0.5932 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,560 | matcher.py | translate_pootle/pootle/apps/pootle_fs/matcher.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 fnmatch import... | 4,402 | Python | .py | 112 | 29.741071 | 77 | 0.608899 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,561 | decorators.py | translate_pootle/pootle/apps/pootle_fs/decorators.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 functools
def emits_state(pre=None... | 1,661 | Python | .py | 49 | 23.142857 | 77 | 0.53995 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,562 | delegate.py | translate_pootle/pootle/apps/pootle_fs/delegate.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.plugin.delegate import Gett... | 735 | Python | .py | 21 | 33.714286 | 77 | 0.765537 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,563 | managers.py | translate_pootle/pootle/apps/pootle_fs/managers.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... | 2,831 | Python | .py | 71 | 32.605634 | 79 | 0.66132 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,564 | fs_tags.py | translate_pootle/pootle/apps/pootle_fs/templatetags/fs_tags.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 template
from pootle.cor... | 1,280 | Python | .py | 30 | 37.933333 | 77 | 0.735105 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,565 | 0001_initial.py | translate_pootle/pootle/apps/pootle_fs/migrations/0001_initial.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('pootle_project', '0004_correct_checkerstyle_options_order'),
('pootle_store', '0008_flush_django_cac... | 1,612 | Python | .py | 30 | 42.566667 | 158 | 0.600507 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,566 | 0002_convert_localfs.py | translate_pootle/pootle/apps/pootle_fs/migrations/0002_convert_localfs.py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-08-17 09:16
from __future__ import unicode_literals
import json
import logging
import os
import posixpath
from functools import partial
from pathlib import PosixPath
import dirsync
from django.conf import settings
from django.db import migrations
from tra... | 8,319 | Python | .py | 203 | 30.70936 | 89 | 0.601285 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,567 | 0003_path_uses_placeholder.py | translate_pootle/pootle/apps/pootle_fs/migrations/0003_path_uses_placeholder.py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-09-12 15:17
from __future__ import unicode_literals
from django.db import migrations
from django.conf import settings
def set_path_with_placeholder(apps, schema_editor):
Config = apps.get_model("pootle_config.Config")
ContentType = apps.get_model(... | 1,143 | Python | .py | 28 | 33.107143 | 81 | 0.654923 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,568 | fs.py | translate_pootle/pootle/apps/pootle_fs/management/commands/fs.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 django.utils.... | 3,224 | Python | .py | 74 | 39.148649 | 77 | 0.67198 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,569 | init_fs_project.py | translate_pootle/pootle/apps/pootle_fs/management/commands/init_fs_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 logging
from django.core.exceptions ... | 3,805 | Python | .py | 109 | 24.33945 | 77 | 0.560956 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,570 | __init__.py | translate_pootle/pootle/apps/pootle_fs/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.
from django.core.management.base import Base... | 4,350 | Python | .py | 111 | 29.936937 | 77 | 0.615458 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,571 | state.py | translate_pootle/pootle/apps/pootle_fs/management/commands/fs_commands/state.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_fs.display import StateDisplay
f... | 1,612 | Python | .py | 41 | 33.707317 | 77 | 0.651088 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,572 | sync.py | translate_pootle/pootle/apps/pootle_fs/management/commands/fs_commands/sync.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_fs.management.commands import FS... | 448 | Python | .py | 11 | 38.727273 | 77 | 0.767281 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,573 | fetch.py | translate_pootle/pootle/apps/pootle_fs/management/commands/fs_commands/fetch.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_fs.management.commands import Pr... | 498 | Python | .py | 12 | 38.833333 | 77 | 0.753112 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,574 | unstage.py | translate_pootle/pootle/apps/pootle_fs/management/commands/fs_commands/unstage.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_fs.management.commands import FS... | 439 | Python | .py | 11 | 37.909091 | 77 | 0.769412 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,575 | add.py | translate_pootle/pootle/apps/pootle_fs/management/commands/fs_commands/add.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_fs.management.commands import FS... | 786 | Python | .py | 19 | 35.210526 | 77 | 0.684142 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,576 | rm.py | translate_pootle/pootle/apps/pootle_fs/management/commands/fs_commands/rm.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_fs.management.commands import FS... | 749 | Python | .py | 19 | 33.263158 | 77 | 0.674931 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,577 | resolve.py | translate_pootle/pootle/apps/pootle_fs/management/commands/fs_commands/resolve.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_fs.management.commands import FS... | 947 | Python | .py | 23 | 34.26087 | 77 | 0.670652 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,578 | info.py | translate_pootle/pootle/apps/pootle_fs/management/commands/fs_commands/info.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_fs.management.commands import Pr... | 703 | Python | .py | 15 | 42.933333 | 77 | 0.717836 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,579 | models.py | translate_pootle/pootle/apps/pootle_config/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 .abstracts import AbstractConfig
clas... | 419 | Python | .py | 11 | 35.636364 | 77 | 0.757426 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,580 | getters.py | translate_pootle/pootle/apps/pootle_config/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 config
from... | 1,264 | Python | .py | 34 | 31.705882 | 77 | 0.701309 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,581 | abstracts.py | translate_pootle/pootle/apps/pootle_config/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.
import collections
from jsonfield.fields im... | 1,957 | Python | .py | 55 | 28.890909 | 77 | 0.674591 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,582 | apps.py | translate_pootle/pootle/apps/pootle_config/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... | 509 | Python | .py | 14 | 33.5 | 77 | 0.754601 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,583 | utils.py | translate_pootle/pootle/apps/pootle_config/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... | 1,834 | Python | .py | 58 | 25.534483 | 77 | 0.637507 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,584 | __init__.py | translate_pootle/pootle/apps/pootle_config/__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_config.apps.Poo... | 337 | Python | .py | 8 | 41 | 77 | 0.768293 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,585 | exceptions.py | translate_pootle/pootle/apps/pootle_config/exceptions.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.
class ConfigurationError(Exception):
""... | 372 | Python | .py | 10 | 35.1 | 77 | 0.752089 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,586 | delegate.py | translate_pootle/pootle/apps/pootle_config/delegate.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.plugin.delegate import Gett... | 488 | Python | .py | 10 | 47.5 | 83 | 0.751579 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,587 | managers.py | translate_pootle/pootle/apps/pootle_config/managers.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.contenttypes.models impo... | 5,446 | Python | .py | 147 | 27.401361 | 77 | 0.594769 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,588 | 0001_initial.py | translate_pootle/pootle/apps/pootle_config/migrations/0001_initial.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import jsonfield.fields
class Migration(migrations.Migration):
dependencies = [
('contenttypes', '0002_remove_content_type_name'),
]
operations = [
migrations.CreateModel(
... | 1,343 | Python | .py | 29 | 35.896552 | 205 | 0.595111 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,589 | models.py | translate_pootle/pootle/apps/pootle_data/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.db import models
from .abstract... | 2,025 | Python | .py | 53 | 31.660377 | 77 | 0.690256 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,590 | language_data.py | translate_pootle/pootle/apps/pootle_data/language_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.
from .utils import RelatedTPsDataTool
clas... | 528 | Python | .py | 13 | 37.692308 | 77 | 0.75098 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,591 | getters.py | translate_pootle/pootle/apps/pootle_data/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 crud, data_... | 2,490 | Python | .py | 61 | 38.213115 | 77 | 0.801082 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,592 | abstracts.py | translate_pootle/pootle/apps/pootle_data/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... | 2,644 | Python | .py | 86 | 23.72093 | 77 | 0.642857 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,593 | tp_data.py | translate_pootle/pootle/apps/pootle_data/tp_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.
from django.db.models import Max, Sum
from d... | 5,243 | Python | .py | 135 | 31.348148 | 80 | 0.657656 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,594 | apps.py | translate_pootle/pootle/apps/pootle_data/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... | 634 | Python | .py | 17 | 33.588235 | 77 | 0.733224 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,595 | receivers.py | translate_pootle/pootle/apps/pootle_data/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.
import logging
from django.db.models.signal... | 3,059 | Python | .py | 71 | 39.71831 | 83 | 0.760163 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,596 | utils.py | translate_pootle/pootle/apps/pootle_data/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 django.db import models
from django.db.... | 19,880 | Python | .py | 531 | 27.305085 | 86 | 0.580972 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,597 | __init__.py | translate_pootle/pootle/apps/pootle_data/__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_data.apps.Pootl... | 333 | Python | .py | 8 | 40.5 | 77 | 0.765432 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,598 | store_data.py | translate_pootle/pootle/apps/pootle_data/store_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.
from translate.filters.decorators import Cat... | 5,994 | Python | .py | 148 | 29.797297 | 80 | 0.591261 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |
15,599 | project_data.py | translate_pootle/pootle/apps/pootle_data/project_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.
from pootle.core.delegate import revision
f... | 1,925 | Python | .py | 51 | 31.117647 | 82 | 0.662177 | translate/pootle | 1,486 | 288 | 526 | GPL-3.0 | 9/5/2024, 5:11:58 PM (Europe/Amsterdam) |