index
int64
repo_name
string
branch_name
string
path
string
content
string
import_graph
string
32,503
tonderys/File_Changer
refs/heads/master
/File_Finder_test.py
import unittest import shutil import os from File_Finder import * directory = 'testDirectory' class File_finder_test(unittest.TestCase): def remove_test_directory(self): if os.path.exists(directory): shutil.rmtree(directory) def setUp(self): self.remove_test_directory() def...
{"/File_Changer_GUI.py": ["/File_Finder.py", "/File_Changer.py"], "/tests.py": ["/File_Finder_test.py", "/File_Changer_test.py", "/File_Changer_GUI_test.py"], "/File_Changer_test.py": ["/File_Changer.py"], "/File_Changer_GUI_test.py": ["/File_Changer_GUI.py"], "/File_Finder_test.py": ["/File_Finder.py"]}
32,525
zhouyonglong/two_tower_recommendation_system
refs/heads/master
/config.py
import json, os, re, codecs import tensorflow as tf flags = tf.app.flags flags.DEFINE_boolean("train_on_cluster", True, "Whether the cluster info need to be passed in as input") flags.DEFINE_string("train_dir", "", "") flags.DEFINE_string("data_dir", "", "") flags.DEFINE_string("log_dir", "", "") flags.DEFINE_str...
{"/main.py": ["/feature_processing.py", "/data_input.py", "/config.py"], "/data_input.py": ["/config.py"], "/model.py": ["/config.py", "/feature_processing.py"], "/feature_processing.py": ["/config.py"]}
32,526
zhouyonglong/two_tower_recommendation_system
refs/heads/master
/main.py
# encoding:utf-8 import os import tensorflow as tf from tensorflow import feature_column as fc import feature_processing as fe from feature_processing import FeatureConfig import base_model import data_input import config FLAGS = config.FLAGS if FLAGS.run_on_cluster: cluster = json.loads(os.environ["TF_CONFIG"]...
{"/main.py": ["/feature_processing.py", "/data_input.py", "/config.py"], "/data_input.py": ["/config.py"], "/model.py": ["/config.py", "/feature_processing.py"], "/feature_processing.py": ["/config.py"]}
32,527
zhouyonglong/two_tower_recommendation_system
refs/heads/master
/data_input.py
# coding:utf-8 import tensorflow as tf import config FLAGS = config.FLAGS def parse_exp(example): features_def = {} features_def["label"] = tf.io.FixedLenFeature([1], tf.int64) """ 数据解析逻辑 """ features = tf.io.parse_single_example(example, features_def) label = features["label"] retur...
{"/main.py": ["/feature_processing.py", "/data_input.py", "/config.py"], "/data_input.py": ["/config.py"], "/model.py": ["/config.py", "/feature_processing.py"], "/feature_processing.py": ["/config.py"]}
32,528
zhouyonglong/two_tower_recommendation_system
refs/heads/master
/model.py
# coding:utf-8 import tensorflow as tf from tensorflow import feature_column as fc import config import feature_processing as fe FLAGS = config.FLAGS def build_user_model(features, mode, params): # 特征输入 feature_inputs = [] for key, value in params["feature_configs"].user_columns.items(): featu...
{"/main.py": ["/feature_processing.py", "/data_input.py", "/config.py"], "/data_input.py": ["/config.py"], "/model.py": ["/config.py", "/feature_processing.py"], "/feature_processing.py": ["/config.py"]}
32,529
zhouyonglong/two_tower_recommendation_system
refs/heads/master
/feature_processing.py
#coding:utf-8 import tensorflow as tf from tensorflow import feature_column as fc import config FLAGS = config.FLAGS class FeatureConfig(object): def __init__(self): self.user_columns = dict() self.item_columns = dict() self.feature_spec = dict() def create_features_column...
{"/main.py": ["/feature_processing.py", "/data_input.py", "/config.py"], "/data_input.py": ["/config.py"], "/model.py": ["/config.py", "/feature_processing.py"], "/feature_processing.py": ["/config.py"]}
32,532
leonidguadalupe/fun-backend-service
refs/heads/master
/algorithms/utils/__init__.py
from .sort import Sort # noqa: F401 from .quick import QuickSort # noqa: F401 __all__ = ["QuickSort"]
{"/algorithms/utils/__init__.py": ["/algorithms/utils/sort.py", "/algorithms/utils/quick.py"], "/algorithms/tests/test_sort.py": ["/algorithms/utils/__init__.py"], "/algorithms/tests/test_quicksort.py": ["/algorithms/utils/__init__.py"], "/algorithms/utils/quick.py": ["/algorithms/utils/sort.py"]}
32,533
leonidguadalupe/fun-backend-service
refs/heads/master
/algorithms/utils/sort.py
from abc import ABC, abstractmethod class Sort(ABC): def __init__(self, array): self.array = array self.result = [] super().__init__() @abstractmethod def sort(self): pass @abstractmethod def serialize(self): pass
{"/algorithms/utils/__init__.py": ["/algorithms/utils/sort.py", "/algorithms/utils/quick.py"], "/algorithms/tests/test_sort.py": ["/algorithms/utils/__init__.py"], "/algorithms/tests/test_quicksort.py": ["/algorithms/utils/__init__.py"], "/algorithms/utils/quick.py": ["/algorithms/utils/sort.py"]}
32,534
leonidguadalupe/fun-backend-service
refs/heads/master
/algorithms/tests/test_sort.py
import json import pytest from abc import ABC from algorithms.utils import Sort def test_sort_is_abstract(): """ Test expects Sort class to be subclass of abstract base class """ assert issubclass(Sort,ABC)
{"/algorithms/utils/__init__.py": ["/algorithms/utils/sort.py", "/algorithms/utils/quick.py"], "/algorithms/tests/test_sort.py": ["/algorithms/utils/__init__.py"], "/algorithms/tests/test_quicksort.py": ["/algorithms/utils/__init__.py"], "/algorithms/utils/quick.py": ["/algorithms/utils/sort.py"]}
32,535
leonidguadalupe/fun-backend-service
refs/heads/master
/algorithms/tests/test_quicksort.py
import json import pytest from algorithms.utils import QuickSort def test_quicksort_url_return_is_valid_json(rf): request = rf.get('/sort/quick') print(request) with pytest.raises(Exception): json.loads(request) def test_quicksort_returns_list(): """ Test for if quicksort function retu...
{"/algorithms/utils/__init__.py": ["/algorithms/utils/sort.py", "/algorithms/utils/quick.py"], "/algorithms/tests/test_sort.py": ["/algorithms/utils/__init__.py"], "/algorithms/tests/test_quicksort.py": ["/algorithms/utils/__init__.py"], "/algorithms/utils/quick.py": ["/algorithms/utils/sort.py"]}
32,536
leonidguadalupe/fun-backend-service
refs/heads/master
/algorithms/utils/quick.py
import copy import json from .sort import Sort class QuickSort(Sort): def __init__(self, array): super().__init__(array) self.sort() # sort after array init def _swap(self: object, array: list, left: int, right: int) -> list: array[left], array[right] = array[right], array...
{"/algorithms/utils/__init__.py": ["/algorithms/utils/sort.py", "/algorithms/utils/quick.py"], "/algorithms/tests/test_sort.py": ["/algorithms/utils/__init__.py"], "/algorithms/tests/test_quicksort.py": ["/algorithms/utils/__init__.py"], "/algorithms/utils/quick.py": ["/algorithms/utils/sort.py"]}
32,537
asal97/Computer-Vision-Project
refs/heads/master
/userApp/models.py
from django.contrib.auth import get_user_model from django.db import models from django.db.models.signals import post_save from django.dispatch import receiver User = get_user_model() class SystemUser(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE, related_name='profile') phone = m...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,538
asal97/Computer-Vision-Project
refs/heads/master
/taradodApp/admin.py
from django.contrib import admin # Register your models here. from .models import Taradod class TaradodAdmin(admin.ModelAdmin): ordering = ['seen'] list_display_links = ['plate'] list_display = ('plate','img', 'seen', 'approved') list_filter = ('approved', 'seen') admin.site.register(Taradod, Tar...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,539
asal97/Computer-Vision-Project
refs/heads/master
/userApp/admin.py
from django.contrib import admin from .models import SystemUser class UserAdmin(admin.ModelAdmin): ordering = ['date_created'] list_display = ('user_fullname', 'user', 'phone', 'nationalCode', 'approved', 'date_created') list_filter = ('approved','date_created') def user_fullname(self, obj): ...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,540
asal97/Computer-Vision-Project
refs/heads/master
/taradodApp/urls.py
from django.urls import path from .views import * urlpatterns = [ path('<int:traffic_id>/', traffic_report, name='traffic_report'), # path('', views.register, name='register'), ]
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,541
asal97/Computer-Vision-Project
refs/heads/master
/userApp/urls.py
from django.urls import path from django.conf.urls import url from django.contrib.auth import views as auth_views from . import views urlpatterns = [ path('', views.login, name='login'), url(r'logout/', auth_views.LogoutView.as_view(next_page='login'), name='logout'), ]
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,542
asal97/Computer-Vision-Project
refs/heads/master
/taradodApp/models.py
from django.db import models from django.urls import reverse # Create your models here. class Taradod(models.Model): plate = models.CharField(max_length=50, blank=True) img = models.ImageField(upload_to='TaradodPic/', blank=True) seen = models.DateTimeField(auto_now_add=True) approved = models.Boolea...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,543
asal97/Computer-Vision-Project
refs/heads/master
/registerApp/models.py
from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models ALPHA_CHOICES = ( ("1", "الف"), ("2", "ب"), ("3", "پ"), ("4", "ت"), ("5", "ث"), ("6", "ج"), ("7", "چ"), ("8", "ح"), ("9", "خ"), ("10", "د"), ("11", "ذ"), ("12", "ر"), ...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,544
asal97/Computer-Vision-Project
refs/heads/master
/taradodApp/apps.py
from django.apps import AppConfig class TaradodappConfig(AppConfig): name = 'taradodApp'
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,545
asal97/Computer-Vision-Project
refs/heads/master
/registerApp/admin.py
from django.contrib import admin from .models import Vehicle, Plate, Owner class InlineVehicle(admin.StackedInline): model = Vehicle extra = 1 class OwnerAdmin(admin.ModelAdmin): inlines = [InlineVehicle] list_display = ('first_name', 'family_name', 'nationalCode', 'phone', 'img', 'description') ...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,546
asal97/Computer-Vision-Project
refs/heads/master
/registerApp/views.py
from django.shortcuts import render from .forms import RegisterForm from .models import Owner, Plate, Vehicle from django.db import IntegrityError from django.contrib.auth.decorators import login_required from django.core.exceptions import ObjectDoesNotExist import enum @login_required(login_url='login') def regist...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,547
asal97/Computer-Vision-Project
refs/heads/master
/userApp/forms.py
from django import forms from django.contrib.auth import authenticate from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from django.utils.translation import ugettext_lazy as _ from .models import SystemUser class SignUpForm(UserCreationForm): # first_name = forms.C...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,548
asal97/Computer-Vision-Project
refs/heads/master
/taradodApp/views.py
import jdatetime from django.shortcuts import render, get_object_or_404 from django.db.models import Q from .models import Taradod from registerApp.models import Vehicle from django.contrib.auth.decorators import login_required ALPHA_MAP = {x: y + 1 for y, x in enumerate( ['الف', 'ب', 'پ', 'ت', 'ث', 'ج', 'چ', 'ح',...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,549
asal97/Computer-Vision-Project
refs/heads/master
/userApp/views.py
from django.shortcuts import render, redirect from django.contrib.auth import login as auth_login, logout from .forms import LoginForm, SignUpForm from django.contrib import messages def login(request): if request.user.is_authenticated: return redirect('index') else: login_form, signup_form = ...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,550
asal97/Computer-Vision-Project
refs/heads/master
/registerApp/forms.py
from django import forms from django.forms import ModelForm from .models import Plate, Vehicle, Owner, \ ALPHA_CHOICES, PLATE_CHOICES from django.core.validators import MaxValueValidator, MinValueValidator OWNER_CHOICES = ( ("new_owner", "ثبت مالک جدید"), ("old_owner", "از مالکین ثبت شده در سیستم"),) cla...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,551
asal97/Computer-Vision-Project
refs/heads/master
/CVP/views.py
import datetime import numpy as np from django.shortcuts import render from registerApp.models import Plate, Owner, Vehicle from taradodApp.models import Taradod import jdatetime from django.db.models import Count import calendar from django.db.models.functions import ExtractDay, ExtractHour, ExtractWeekDay from django...
{"/taradodApp/admin.py": ["/taradodApp/models.py"], "/userApp/admin.py": ["/userApp/models.py"], "/taradodApp/urls.py": ["/taradodApp/views.py"], "/registerApp/admin.py": ["/registerApp/models.py"], "/registerApp/views.py": ["/registerApp/forms.py", "/registerApp/models.py"], "/userApp/forms.py": ["/userApp/models.py"]...
32,559
chaimamaatoug/django-project
refs/heads/master
/gestionprojet/migrations/0001_initial.py
# Generated by Django 3.2 on 2021-06-01 14:06 import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Project', fields=[ ('id', mod...
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,560
chaimamaatoug/django-project
refs/heads/master
/gestionprojet/admin.py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(User), admin.site.register(Project), admin.site.register(Task)
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,561
chaimamaatoug/django-project
refs/heads/master
/gestionprojet/views.py
from django.shortcuts import render,redirect from .models import * from .forms import * # Create your views here. def login(request): if request.session.has_key('gest'): return redirect('home') else: if request.method == "POST": email = request.POST['email'] password = re...
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,562
chaimamaatoug/django-project
refs/heads/master
/magasin/views.py
from django.shortcuts import render #from django.http import HttpResponse #from django.template import loader from .models import Commande, Fournisseur, Produit from .forms import * from django.shortcuts import redirect # Create your views here. def index(request): list=Produit.objects.all() return render(requ...
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,563
chaimamaatoug/django-project
refs/heads/master
/magasin/urls.py
from django.urls import path,include from django.conf.urls import url from . import views urlpatterns=[ path('',views.index,name="index"), path('addproduit',views.addproduit,name="addproduit"), path('viewforni',views.viewfor,name="viewforni"), path('viewcomamnde',views.viewcommande,name="viewcomamnde"),...
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,564
chaimamaatoug/django-project
refs/heads/master
/gestionprojet/forms.py
from django.forms import ModelForm from django.forms.models import fields_for_model from .models import * class ProjectForm(ModelForm): class Meta: model = Project fields = ['name','descrp'] class TaskForm(ModelForm): class Meta: model = Task fields = ['name','descr']
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,565
chaimamaatoug/django-project
refs/heads/master
/gestionprojet/urls.py
from django.urls import path,include from django.conf.urls import url from . import views urlpatterns=[ path('',views.login,name="login"), path('home',views.home,name="home"), path('viewproject/<id>',views.viewproject,name="viewproject"), path('deleteproject/<id>',views.deleteproject,name="deleteproj"),...
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,566
chaimamaatoug/django-project
refs/heads/master
/gestionprojet/migrations/0002_auto_20210601_1506.py
# Generated by Django 3.2 on 2021-06-01 14:06 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gestionprojet', '0001_initial'), ] operations = [ migrations.AlterField( model_name='project', name='d...
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,567
chaimamaatoug/django-project
refs/heads/master
/mysite/urls.py
from django.contrib import admin from django.urls import path,include from django.conf import settings from django.conf.urls.static import static from django.conf.urls import url from . import views urlpatterns = [ path('',views.index), path('admin/', admin.site.urls), path('magasin/', include('magasin.url...
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,568
chaimamaatoug/django-project
refs/heads/master
/gestionprojet/models.py
from django.db import models from datetime import datetime # Create your models here. class Task(models.Model): name = models.CharField(max_length=50) descr = models.TextField(blank = True) date = models.DateTimeField(default=datetime.now()) cmplte = models.BooleanField(default=False) class Project(mod...
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,569
chaimamaatoug/django-project
refs/heads/master
/gestionprojet/migrations/0003_auto_20210601_1607.py
# Generated by Django 3.2 on 2021-06-01 15:07 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gestionprojet', '0002_auto_20210601_1506'), ] operations = [ migrations.AlterField( model_name='project', ...
{"/gestionprojet/admin.py": ["/gestionprojet/models.py"], "/gestionprojet/views.py": ["/gestionprojet/models.py", "/gestionprojet/forms.py"], "/gestionprojet/forms.py": ["/gestionprojet/models.py"]}
32,671
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0018_auto_20200316_1848.py
# Generated by Django 2.2.2 on 2020-03-16 07:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0017_auto_20200314_1806'), ] operations = [ migrations.AlterModelOptions( ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,672
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0002_remove_lectionaryverse_unique_string.py
# Generated by Django 2.2.2 on 2019-09-19 12:06 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='lectionaryverse', name='unique_str...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,673
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0008_auto_20200106_1548.py
# Generated by Django 2.2.2 on 2020-01-06 04:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0007_lectioninsystem_cumulative_mass_lections'), ] operations = [ migrations.AlterModelOptions( name='lecti...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,674
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0009_fixeddate_date.py
# Generated by Django 2.2.2 on 2020-01-06 10:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0008_auto_20200106_1548'), ] operations = [ migrations.AddField( model_name='fixeddate', name='...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,675
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0020_remove_lection_verses.py
# Generated by Django 2.2.2 on 2020-03-16 10:44 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0019_auto_20200316_1849'), ] operations = [ migrations.RemoveField( model_name='lection', name='verses'...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,676
rbturnbull/dcodex_lectionary
refs/heads/master
/runtests.py
#!/usr/bin/env python # Taken from https://docs.djangoproject.com/en/3.1/topics/testing/advanced/#using-the-django-test-runner-to-test-reusable-applications import sys, os, django from django.conf import settings from django.test.utils import get_runner if __name__ == "__main__" or True: from pathlib import Path...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,677
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0007_lectioninsystem_cumulative_mass_lections.py
# Generated by Django 2.2.2 on 2019-09-28 08:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0006_auto_20190927_1634'), ] operations = [ migrations.AddField( model_name='lectioninsystem', ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,678
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0024_auto_20200526_1623.py
# Generated by Django 2.2.2 on 2020-05-26 06:23 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0023_auto_20200526_1559'), ] operations = [ migrations.RenameField( model_name='lectionaryversemembership', ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,679
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0014_auto_20200314_1246.py
# Generated by Django 2.2.2 on 2020-03-14 01:46 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0013_auto_20200302_1226'), ] operations = [ migrations.AddField( model_nam...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,680
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/models.py
from pathlib import Path from itertools import chain from lxml import etree from django.db import models from django.db.models import F from django.db.models import Max, Min, Sum from django.shortcuts import render from django.urls import reverse from polymorphic.models import PolymorphicModel import numpy as np impo...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,681
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0005_auto_20190921_1617.py
# Generated by Django 2.2.2 on 2019-09-21 06:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0004_auto_20190921_1617'), ] operations = [ migrations.RenameField( model_name='lectioninsystem', old_n...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,682
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0015_lectioninsystem_incipit.py
# Generated by Django 2.2.2 on 2020-03-14 02:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0014_auto_20200314_1246'), ] operations = [ migrations.AddField( model_name='lectioninsystem', ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,683
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0028_auto_20200813_2236.py
# Generated by Django 3.0.6 on 2020-08-13 12:36 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0027_affiliationlectionarysystem'), ] operations = [ migrations.AlterModelOptions( name='affiliationlectionarysyste...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,684
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0019_auto_20200316_1849.py
# Generated by Django 2.2.2 on 2020-03-16 07:49 from django.db import migrations # https://stackoverflow.com/questions/26927705/django-migration-error-you-cannot-alter-to-or-from-m2m-fields-or-add-or-remove/51351406 def create_through_relations(apps, schema_editor): Lection = apps.get_model('dcodex_lectionary', ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,685
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0011_auto_20200225_1756.py
# Generated by Django 2.2.2 on 2020-02-25 06:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0010_auto_20200221_1733'), ] operations = [ migrations.AlterModelOptions( name='lectioninsystem', optio...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,686
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0032_auto_20201119_2154.py
# Generated by Django 3.0.11 on 2020-11-19 10:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0031_auto_20201119_2140'), ] operations = [ migrations.AlterModelOptions( name='eothinaday', o...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,687
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/templatetags/dcodex_lectionary_tags.py
from django import template import logging from django.utils.safestring import mark_safe register = template.Library() @register.filter def affiliation_active_for(affiliation, lection): if lection in affiliation.lections.all(): return "active" return "" @register.filter def affiliation_button_for(aff...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,688
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0027_affiliationlectionarysystem.py
# Generated by Django 3.0.8 on 2020-08-10 10:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dcodex', '0025_auto_20200809_1536'), ('dcodex_lectionary', '0026_auto_20200809_1631'), ] operations = [ ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,689
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0030_auto_20201119_2131.py
# Generated by Django 3.0.11 on 2020-11-19 10:31 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ('dcodex_lectionary', '0029_auto_20201116_2119'), ] opera...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,690
rbturnbull/dcodex_lectionary
refs/heads/master
/tests/test_settings.py
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = 'akfjnakfcjaldunfkhaldfhalshf' INSTALLED_APPS = [ 'django.contrib.auth', "django.contrib.contenttypes", "adminsortable2", 'easy_thumbnai...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,691
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0034_auto_20201122_2300.py
# Generated by Django 3.0.11 on 2020-11-22 12:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0033_auto_20201119_2239'), ] operations = [ migrations.AlterModelOptions( name='lectioninsystem', opti...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,692
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0006_auto_20190927_1634.py
# Generated by Django 2.2.2 on 2019-09-27 06:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0005_auto_20190921_1617'), ] operations = [ migrations.AlterModelOptions( name='lectioninsystem', optio...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,693
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/__init__.py
default_app_config = 'dcodex_lectionary.apps.DcodexLectionaryConfig'
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,694
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/views.py
from django.http import HttpResponse from django.http import Http404 from django.shortcuts import get_object_or_404, render from django.contrib.auth.decorators import login_required from django.http import JsonResponse from dcodex_lectionary.models import * from dcodex.util import get_request_dict import logging impor...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,695
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/urls.py
from django.urls import path from . import views urlpatterns = [ path('ajax/lection-verses/', views.lection_verses, name='dcodex-lectionary-lection-verses'), path('ajax/add-lection-box/', views.add_lection_box, name='dcodex-lectionary-add-lection-box'), path('ajax/insert-lection/', views.insert_lection, n...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,696
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0025_affiliationlections.py
# Generated by Django 2.2.2 on 2020-05-28 04:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dcodex', '0020_affiliationbase_name'), ('dcodex_lectionary', '0024_auto_20200526_1623'), ] operations = [ ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,697
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/admin.py
from django.contrib import admin from polymorphic.admin import PolymorphicParentModelAdmin, PolymorphicChildModelAdmin, PolymorphicChildModelFilter from adminsortable2.admin import SortableInlineAdminMixin, SortableAdminMixin from dcodex.admin import ManuscriptChildAdmin from .models import * class LectionaryDayChil...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,698
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0023_auto_20200526_1559.py
# Generated by Django 2.2.2 on 2020-05-26 05:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0022_lectionaryverse_mass'), ] operations = [ migrations.AddField( model_name='lectionaryversemembership', ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,699
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/scripts/convert_lectionary_days.py
from dcodex.models import * from dcodex_lectionary.models import * def get_movable_day(day): new_day, _ = MovableDay.objects.update_or_create( day_of_week=day.day_of_week, season=day.period, week=day.week, weekday_number=day.weekday_number, defaults=dict( earl...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,700
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/management/commands/export-lectionary-system.py
from django.core.management.base import BaseCommand, CommandError import pandas as pd from dcodex_lectionary import models class Command(BaseCommand): help = 'Exports a lectionary system to CSV.' def add_arguments(self, parser): parser.add_argument('system', type=str, help="The name of the lectionary ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,701
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0013_auto_20200302_1226.py
# Generated by Django 2.2.2 on 2020-03-02 01:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0012_auto_20200225_1756'), ] operations = [ migrations.AlterModelOptions( name='fixeddate', opt...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,702
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0029_auto_20201116_2119.py
# Generated by Django 3.0.11 on 2020-11-16 10:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0028_auto_20200813_2236'), ] operations = [ migrations.AlterField( model_name='dayofyear', nam...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,703
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/management/commands/create-apostolos-e.py
from django.core.management.base import BaseCommand, CommandError from dcodex_lectionary import models class Command(BaseCommand): help = 'Creates an Apostolos e lectionary system.' def handle(self, *args, **options): models.LectionarySystem.create_apostolos_e()
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,704
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0004_auto_20190921_1617.py
# Generated by Django 2.2.2 on 2019-09-21 06:17 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0003_lectionaryverse_unique_string'), ] operations = [ migrations.CreateModel( ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,705
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0021_lection_verses.py
# Generated by Django 2.2.2 on 2020-03-16 10:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0020_remove_lection_verses'), ] operations = [ migrations.AddField( model_name='lection', name=...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,706
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/management/commands/lectionary-system-maintenance.py
from django.core.management.base import BaseCommand, CommandError import pandas as pd from dcodex_lectionary import models class Command(BaseCommand): help = 'Does necessary maintenance on lectionary systems. Needed if the lections are changed.' def handle(self, *args, **options): models.LectionarySys...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,707
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/apps.py
from django.apps import AppConfig class DcodexLectionaryConfig(AppConfig): name = 'dcodex_lectionary'
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,708
rbturnbull/dcodex_lectionary
refs/heads/master
/tests/test_models.py
from pathlib import Path from re import A from django.test import TestCase #from model_bakery import baker from dcodex.models import * from dcodex_bible.models import * from imagedeck.models import DeckImage, Deck from dcodex_lectionary.models import * def make_easter_lection(): start_rank = book_names.index('Jo...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,709
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0031_auto_20201119_2140.py
# Generated by Django 3.0.11 on 2020-11-19 10:40 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0030_auto_20201119_2131'), ] operations = [ migrations.RenameField( model_name='movableday', old_name=...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,710
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0035_auto_20210811_1101.py
# Generated by Django 3.2.6 on 2021-08-11 01:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0034_auto_20201122_2300'), ] operations = [ migrations.AlterField( model_name='movableday', nam...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,711
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0012_auto_20200225_1756.py
# Generated by Django 2.2.2 on 2020-02-25 06:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0011_auto_20200225_1756'), ] operations = [ migrations.AlterField( model_n...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,712
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0003_lectionaryverse_unique_string.py
# Generated by Django 2.2.2 on 2019-09-19 12:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0002_remove_lectionaryverse_unique_string'), ] operations = [ migrations.AddField( model_name='lectionaryve...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,713
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0026_auto_20200809_1631.py
# Generated by Django 3.0.8 on 2020-08-09 06:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0025_affiliationlections'), ] operations = [ migrations.AlterField( model_name='affiliationlections', ...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,714
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0001_initial.py
# Generated by Django 2.2.2 on 2019-09-19 12:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('dcodex', '0001_initial'), ('dcodex_bible', '0001_initial'), ] operations = [ mi...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,715
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/management/commands/import-lectionary-system.py
from django.core.management.base import BaseCommand, CommandError import pandas as pd from dcodex_lectionary import models class Command(BaseCommand): help = 'Imports a lectionary system from CSV.' def add_arguments(self, parser): parser.add_argument('system', type=str, help="The name of the lectionar...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,716
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0010_auto_20200221_1733.py
# Generated by Django 2.2.2 on 2020-02-21 06:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0009_fixeddate_date'), ] operations = [ migrations.AlterModelOptions( name='lection', options={...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,717
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0022_lectionaryverse_mass.py
# Generated by Django 2.2.2 on 2020-03-16 10:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0021_lection_verses'), ] operations = [ migrations.AddField( model_name='lectionaryverse', name...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,718
rbturnbull/dcodex_lectionary
refs/heads/master
/dcodex_lectionary/migrations/0016_auto_20200314_1804.py
# Generated by Django 2.2.2 on 2020-03-14 07:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0015_lectioninsystem_incipit'), ] operations = [ migrations.AlterField( mo...
{"/dcodex_lectionary/views.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/urls.py": ["/dcodex_lectionary/__init__.py"], "/dcodex_lectionary/admin.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/scripts/convert_lectionary_days.py": ["/dcodex_lectionary/models.py"], "/dcodex_lectionary/management/c...
32,737
zapplecat/oschmod
refs/heads/main
/oschmod/__init__.py
# -*- coding: utf-8 -*- """oschmod module. Module for working with file permissions that are consistent across Windows, macOS, and Linux. These bitwise permissions from the stat module can be used with this module: stat.S_IRWXU # Mask for file owner permissions stat.S_IREAD # Owner has read permission ...
{"/tests/test_oschmod.py": ["/oschmod/__init__.py"], "/oschmod/cli.py": ["/oschmod/__init__.py"]}
32,738
zapplecat/oschmod
refs/heads/main
/tests/test_oschmod.py
# -*- coding: utf-8 -*- # pylint: disable=redefined-outer-name """test_oschmod module.""" import glob import os import random import shutil import stat import string import time from random import randrange import oschmod def test_permissions(): """Tests for stuff.""" test_dir = "tests" path = os.path.j...
{"/tests/test_oschmod.py": ["/oschmod/__init__.py"], "/oschmod/cli.py": ["/oschmod/__init__.py"]}
32,739
zapplecat/oschmod
refs/heads/main
/oschmod/cli.py
# -*- coding: utf-8 -*- """pyppyn cli.""" from __future__ import (absolute_import, division, print_function, unicode_literals, with_statement) import argparse import oschmod def main(): """Provide main function for CLI.""" parser = argparse.ArgumentParser( description='Change...
{"/tests/test_oschmod.py": ["/oschmod/__init__.py"], "/oschmod/cli.py": ["/oschmod/__init__.py"]}
32,746
milesizzo/prompt
refs/heads/master
/example/world.py
from commands import CommandProcessor def enum(**enums): return type('Enum', (), enums) Direction = enum(North=1, East=2, South=3, West=4) class World(CommandProcessor): def __init__(self, scene): self.scene = scene self.time = 0 def processCommand(self, command): result = self.scene.processCommand(command...
{"/example/gameserver.py": ["/prompt.py"], "/example/game1.py": ["/prompt.py"]}
32,747
milesizzo/prompt
refs/heads/master
/example/gameserver.py
from SimpleWebSocketServer import SimpleWebSocketServer from prompt import PromptServer class GameServer(PromptServer): def makeCommandProcessor(self): return self.makeGame() def makeGame(self): raise NotImplementedError
{"/example/gameserver.py": ["/prompt.py"], "/example/game1.py": ["/prompt.py"]}
32,748
milesizzo/prompt
refs/heads/master
/example/game1.py
from world import World, Scene, Direction import gameserver import prompt class Game1Server(gameserver.GameServer): def makeGame(self): street = Scene("You are on the street in front of your home.") home = Scene("You are at home.") home.connect(Direction.North, street) return World(home) if __name__ == "__ma...
{"/example/gameserver.py": ["/prompt.py"], "/example/game1.py": ["/prompt.py"]}
32,749
milesizzo/prompt
refs/heads/master
/commands.py
class CommandProcessor: def __init__(self): pass def processCommand(self, command): raise NotImplementedError
{"/example/gameserver.py": ["/prompt.py"], "/example/game1.py": ["/prompt.py"]}
32,750
milesizzo/prompt
refs/heads/master
/prompt.py
import json from SimpleWebSocketServer import WebSocket, SimpleWebSocketServer, SimpleSSLWebSocketServer clients = set() authenticated = set() class PromptServer(WebSocket): def handleMessage(self): print "%s: %s" % (self.formatAddress(), self.data) data = self.processor.processCommand(self.data) if data is Non...
{"/example/gameserver.py": ["/prompt.py"], "/example/game1.py": ["/prompt.py"]}
32,752
PucheKrunch/MexBank
refs/heads/main
/app/website/forms.py
from django import forms from .models import Empleado,Cliente,C_tarjeta,D_tarjeta class EmpleadoForm(forms.ModelForm): class Meta: model = Empleado fields = ["name","l_names","superior_id","sex","b_date"] class ClienteForm(forms.ModelForm): class Meta: model = Cliente fields = ...
{"/app/website/forms.py": ["/app/website/models.py"], "/app/website/views.py": ["/app/website/models.py", "/app/website/forms.py"], "/app/website/admin.py": ["/app/website/models.py"]}
32,753
PucheKrunch/MexBank
refs/heads/main
/app/website/migrations/0007_auto_20210602_1221.py
# Generated by Django 3.2.3 on 2021-06-02 17:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('website', '0006_auto_20210602_0152'), ] operations = [ migrations.RenameField( model_name='cliente', old_name='emp_i...
{"/app/website/forms.py": ["/app/website/models.py"], "/app/website/views.py": ["/app/website/models.py", "/app/website/forms.py"], "/app/website/admin.py": ["/app/website/models.py"]}
32,754
PucheKrunch/MexBank
refs/heads/main
/app/website/migrations/0005_auto_20210602_0129.py
# Generated by Django 3.2.3 on 2021-06-02 06:29 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('website', '0004_auto_20210601_2354'), ] operations = [ migrations.CreateModel( name='C_tarjeta'...
{"/app/website/forms.py": ["/app/website/models.py"], "/app/website/views.py": ["/app/website/models.py", "/app/website/forms.py"], "/app/website/admin.py": ["/app/website/models.py"]}
32,755
PucheKrunch/MexBank
refs/heads/main
/app/website/models.py
from django.db import models # Create your models here. class Empleado(models.Model): sex_choices = ( ('H','Hombre'), ('M','Mujer'), ('O','Otro'), ) name = models.CharField(max_length=50) l_names = models.CharField(max_length=100) superior_id = models.ForeignKey("self",on_de...
{"/app/website/forms.py": ["/app/website/models.py"], "/app/website/views.py": ["/app/website/models.py", "/app/website/forms.py"], "/app/website/admin.py": ["/app/website/models.py"]}
32,756
PucheKrunch/MexBank
refs/heads/main
/app/website/urls.py
from django.urls import path from . import views urlpatterns = [ path('',views.home, name="home"), path('employee',views.add_emp, name="employee"), path('employees',views.render_emp, name="employees"), path('client',views.add_client, name="client"), path('clients',views.render_client, name="clients...
{"/app/website/forms.py": ["/app/website/models.py"], "/app/website/views.py": ["/app/website/models.py", "/app/website/forms.py"], "/app/website/admin.py": ["/app/website/models.py"]}
32,757
PucheKrunch/MexBank
refs/heads/main
/app/website/migrations/0004_auto_20210601_2354.py
# Generated by Django 3.2.3 on 2021-06-02 04:54 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('website', '0003_rename_members_member'), ] operations = [ migrations.CreateModel( name='Emplead...
{"/app/website/forms.py": ["/app/website/models.py"], "/app/website/views.py": ["/app/website/models.py", "/app/website/forms.py"], "/app/website/admin.py": ["/app/website/models.py"]}
32,758
PucheKrunch/MexBank
refs/heads/main
/app/website/migrations/0006_auto_20210602_0152.py
# Generated by Django 3.2.3 on 2021-06-02 06:52 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('website', '0005_auto_20210602_0129'), ] operations = [ migrations.AddField( model_name='c_tarje...
{"/app/website/forms.py": ["/app/website/models.py"], "/app/website/views.py": ["/app/website/models.py", "/app/website/forms.py"], "/app/website/admin.py": ["/app/website/models.py"]}