index int64 | repo_name string | branch_name string | path string | content string | import_graph string |
|---|---|---|---|---|---|
95,152 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0018_alter_catedra_description.py | # Generated by Django 3.2.3 on 2021-05-30 21:57
import ckeditor_uploader.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('catedra', '0017_alter_catedra_date_create'),
]
operations = [
migrations.AlterField(
model_name='catedra... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,153 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0011_alter_catedra_date_create.py | # Generated by Django 3.2.3 on 2021-05-29 23:23
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('catedra', '0010_alter_catedra_date_create'),
]
operations = [
migrations.AlterField(
model_name='catedra',
name='dat... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,154 | EparionaD/rpa | refs/heads/main | /apps/inicio/admin.py | from django.contrib import admin
from .models import Firma
class FirmaAdmin(admin.ModelAdmin):
list_display = ('title',)
admin.site.register(Firma, FirmaAdmin)
| {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,155 | EparionaD/rpa | refs/heads/main | /apps/actualidades/migrations/0003_auto_20210819_2100.py | # Generated by Django 3.2.3 on 2021-08-20 02:00
import ckeditor.fields
import ckeditor_uploader.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('actualidades', '0002_auto_20210725_1805'),
]
operations = [
migrations.AlterField(
... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,156 | EparionaD/rpa | refs/heads/main | /apps/publicaciones/views.py | from django.core.paginator import Paginator
from django.views.generic import TemplateView, DetailView
from .models import Publicaciones, Categorias
class PublicacionesView(TemplateView):
template_name = 'publicaciones/publicaciones.html'
def get_context_data(self, **kwargs):
context = super().get_cont... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,157 | EparionaD/rpa | refs/heads/main | /apps/inicio/models.py | from django.db import models
class Firma(models.Model):
title = models.CharField('Título', max_length=255, blank=False, null=False)
summary = models.TextField('Descripción imagen de fondo', blank=True, null=True)
image_background = models.ImageField('Imagen de fondo', upload_to='firma/',)
description_f... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,158 | EparionaD/rpa | refs/heads/main | /apps/equipo/admin.py | from django.contrib import admin
from .models import Equipo
from import_export import resources
from import_export.admin import ImportExportModelAdmin
class EquipoResource(resources.ModelResource):
class Meta:
model = Equipo
class EquipoAdmin(ImportExportModelAdmin, admin.ModelAdmin):
prepopulated_fie... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,159 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0025_auto_20210725_1323.py | # Generated by Django 3.2.3 on 2021-07-25 18:23
import ckeditor_uploader.fields
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('catedra', '0024_auto_20210724_2058'),
]
operations = [
migrations.RemoveFie... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,160 | EparionaD/rpa | refs/heads/main | /apps/equipo/models.py | from django.db import models
from django.utils.text import slugify
from ckeditor_uploader.fields import RichTextUploadingField
class Equipo(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField('Nombres', max_length=255, blank=False, null=False)
slug = models.SlugField('Slug', max_... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,161 | EparionaD/rpa | refs/heads/main | /rpa/settings/production.py | import os
from .base import *
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
ALLOWED_HOSTS = ['www.rpa.pe','rpa.pe','143.244.179.7','localhost']
# Database
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.bac... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,162 | EparionaD/rpa | refs/heads/main | /apps/equipo/migrations/0001_initial.py | # Generated by Django 3.2.3 on 2021-05-31 02:25
import ckeditor_uploader.fields
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Equipo',
fields=[
... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,163 | EparionaD/rpa | refs/heads/main | /apps/equipo/urls.py | from django.urls import path
from .views import EquivoView, EquipoDetailView
urlpatterns = [
path('', EquivoView.as_view(), name="equipo"),
path('<slug:slug>/', EquipoDetailView.as_view(), name="detalle"),
] | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,164 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0010_alter_catedra_date_create.py | # Generated by Django 3.2.3 on 2021-05-29 23:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('catedra', '0009_alter_catedra_date_create'),
]
operations = [
migrations.AlterField(
model_name='catedra',
name='dat... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,165 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0024_auto_20210724_2058.py | # Generated by Django 3.2.3 on 2021-07-25 01:58
import ckeditor_uploader.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('catedra', '0023_alter_catedra_contact_number'),
]
operations = [
migrations.AddField(
model_name='catedr... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,166 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0027_alter_catedra_summary.py | # Generated by Django 3.2.3 on 2021-08-20 20:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('catedra', '0026_auto_20210819_2100'),
]
operations = [
migrations.AlterField(
model_name='catedra',
name='summary',
... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,167 | EparionaD/rpa | refs/heads/main | /apps/actualidades/migrations/0004_alter_actualidades_summary.py | # Generated by Django 3.2.3 on 2021-08-20 02:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('actualidades', '0003_auto_20210819_2100'),
]
operations = [
migrations.AlterField(
model_name='actualidades',
name='... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,168 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0020_auto_20210721_1708.py | # Generated by Django 3.2.3 on 2021-07-21 22:08
import ckeditor_uploader.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('catedra', '0019_alter_catedra_description'),
]
operations = [
migrations.AddField(
model_name='c... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,169 | EparionaD/rpa | refs/heads/main | /apps/catedra/views.py | from django.shortcuts import render
from django.views.generic import TemplateView, DetailView
from .models import Catedra, Categorias, Speaker
class CatedraView(TemplateView):
template_name = 'catedra/catedra.html'
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,170 | EparionaD/rpa | refs/heads/main | /apps/equipo/views.py | from django.shortcuts import render
from .models import Equipo
from django.views.generic import ListView, DetailView
class EquivoView(ListView):
model = Equipo
template_name = 'equipo/equipo.html'
context_object_name = 'equipos'
class EquipoDetailView(DetailView):
model = Equipo
template_name = 'e... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,171 | EparionaD/rpa | refs/heads/main | /apps/inicio/urls.py | from django.urls import path
from .views import EspecialidadesView, InicioView, FirmaView, ContactoView
urlpatterns = [
path('', InicioView.as_view(), name="inicio"),
path('firma/', FirmaView.as_view(), name="firma"),
path('especialidades/', EspecialidadesView.as_view(), name="especialidades"),
path('c... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,172 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0016_auto_20210529_1854.py | # Generated by Django 3.2.3 on 2021-05-29 23:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('catedra', '0015_alter_categorias_date_create'),
]
operations = [
migrations.AlterModelOptions(
name='catedra',
optio... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,173 | EparionaD/rpa | refs/heads/main | /apps/publicaciones/admin.py | from django.contrib import admin
from .models import Categorias, Publicaciones
from import_export import resources
from import_export.admin import ImportExportModelAdmin
class CategoriasResource(resources.ModelResource):
class Meta:
model = Categorias
class PublicacionesResource(resources.ModelResource):
... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,174 | EparionaD/rpa | refs/heads/main | /apps/author/models.py | from django.db import models
class Author(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField('Nombre', max_length=255, blank=False, null=False)
last_name = models.CharField('Apellidos',max_length=255, blank=False, null=False)
email = models.EmailField('Correo electrónico', m... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,175 | EparionaD/rpa | refs/heads/main | /apps/equipo/migrations/0004_equipo_cv.py | # Generated by Django 3.2.3 on 2021-06-05 18:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('equipo', '0003_auto_20210601_1733'),
]
operations = [
migrations.AddField(
model_name='equipo',
name='cv',
... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,176 | EparionaD/rpa | refs/heads/main | /apps/catedra/urls.py | from django.urls import path
from .views import CatedraView, CatedraDetailView
urlpatterns = [
path('', CatedraView.as_view(), name="catedra"),
path('<slug:slug>/', CatedraDetailView.as_view(), name="detalle"),
] | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,177 | EparionaD/rpa | refs/heads/main | /apps/equipo/migrations/0002_auto_20210601_1056.py | # Generated by Django 3.2.3 on 2021-06-01 15:56
import ckeditor_uploader.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('equipo', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='equipo',
... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,178 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0008_alter_catedra_options.py | # Generated by Django 3.2.3 on 2021-05-29 23:10
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('catedra', '0007_alter_catedra_date_create'),
]
operations = [
migrations.AlterModelOptions(
name='catedra',
options={'orderi... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,179 | EparionaD/rpa | refs/heads/main | /apps/actualidades/migrations/0001_initial.py | # Generated by Django 3.2.3 on 2021-06-09 22:22
import ckeditor_uploader.fields
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('author', '0002_alter_author_date_create'),
]
operations = [
... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,180 | EparionaD/rpa | refs/heads/main | /apps/author/migrations/0001_initial.py | # Generated by Django 3.2.3 on 2021-05-28 21:10
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Author',
fields=[
('id', models.AutoField(p... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,181 | EparionaD/rpa | refs/heads/main | /apps/actualidades/urls.py | from django.urls import path
from .views import ActualidadesView, ActualidadesDetailView
urlpatterns = [
path('', ActualidadesView.as_view(), name="actualidades"),
path('<slug:slug>/', ActualidadesDetailView.as_view(), name="detalle-actualidad"),
] | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,182 | EparionaD/rpa | refs/heads/main | /apps/publicaciones/migrations/0002_alter_publicaciones_publi_slug.py | # Generated by Django 3.2.3 on 2021-08-26 00:27
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('publicaciones', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='publicaciones',
name='publi_slu... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,183 | EparionaD/rpa | refs/heads/main | /apps/inicio/migrations/0002_auto_20210909_2133.py | # Generated by Django 3.2.3 on 2021-09-10 02:33
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('inicio', '0001_initial'),
]
operations = [
migrations.AlterModelOptions(
name='firma',
options={'verbose_name': 'Fir... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,184 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0019_alter_catedra_description.py | # Generated by Django 3.2.3 on 2021-05-30 22:02
import ckeditor_uploader.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('catedra', '0018_alter_catedra_description'),
]
operations = [
migrations.AlterField(
model_name='catedra... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,185 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0022_catedra_speaker.py | # Generated by Django 3.2.3 on 2021-07-21 23:45
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('catedra', '0021_catedra_contact_number'),
]
operations = [
migrations.AddField(
model_name='catedra',
name='speaker'... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,186 | EparionaD/rpa | refs/heads/main | /apps/actualidades/models.py | from django.db import models
from django.utils.text import slugify
from ckeditor.fields import RichTextField
from ckeditor_uploader.fields import RichTextUploadingField
from apps.author.models import Author
class Actualidades(models.Model):
id = models.AutoField(primary_key=True)
title = models.CharField('Títu... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,187 | EparionaD/rpa | refs/heads/main | /apps/author/admin.py | from django.contrib import admin
from .models import Author
from import_export import resources
from import_export.admin import ImportExportModelAdmin
class AuthorResource(resources.ModelResource):
class Meta:
model = Author
class AuthorAdmin(ImportExportModelAdmin, admin.ModelAdmin):
resource_class =... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,188 | EparionaD/rpa | refs/heads/main | /apps/catedra/migrations/0015_alter_categorias_date_create.py | # Generated by Django 3.2.3 on 2021-05-29 23:49
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('catedra', '0014_alter_categorias_options'),
]
operations = [
migrations.AlterField(
model_name='categorias',
name='d... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,189 | EparionaD/rpa | refs/heads/main | /apps/catedra/models.py | from django.db import models
from django.utils.text import slugify
from django.db.models.fields import DateField
from ckeditor.fields import RichTextField
from ckeditor_uploader.fields import RichTextUploadingField
class Categorias(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,190 | EparionaD/rpa | refs/heads/main | /apps/inicio/views.py | from django.shortcuts import render
from django.views.generic import TemplateView
from apps.actualidades.models import Actualidades
from apps.publicaciones.models import Publicaciones, Categorias
from .models import Firma
class InicioView(TemplateView):
template_name = 'inicio/index.html'
def get_context_data... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,191 | EparionaD/rpa | refs/heads/main | /apps/actualidades/migrations/0002_auto_20210725_1805.py | # Generated by Django 3.2.3 on 2021-07-25 23:05
import ckeditor.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('actualidades', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='actualidades',
... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,192 | EparionaD/rpa | refs/heads/main | /apps/publicaciones/urls.py | from django.urls import path
from .views import PublicacionesView, PublicacionesList, PublicacionesDetailView
urlpatterns = [
path('', PublicacionesView.as_view(), name="publicaciones"),
path('<slug:slug>/<slug:publi_slug>/', PublicacionesDetailView.as_view(), name="detalle"),
path('<slug:slug>/', Publicac... | {"/apps/catedra/admin.py": ["/apps/catedra/models.py"], "/apps/actualidades/admin.py": ["/apps/actualidades/models.py"], "/apps/publicaciones/models.py": ["/apps/author/models.py"], "/apps/actualidades/views.py": ["/apps/actualidades/models.py"], "/apps/inicio/admin.py": ["/apps/inicio/models.py"], "/apps/publicaciones... |
95,204 | numberpi/EvaP | refs/heads/master | /evap/staff/importers.py | from django.conf import settings
from django.contrib import messages
from django.db import transaction
from django.utils.translation import ugettext as _
from django.core.exceptions import ValidationError
from evap.evaluation.models import Course, UserProfile
from evap.evaluation.tools import is_external_email
import... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,205 | numberpi/EvaP | refs/heads/master | /evap/staff/urls.py | from django.conf.urls import url
from django.views.generic import RedirectView
from evap.staff.views import *
urlpatterns = [
url(r"^$", index, name="staff_root"),
url(r"^semester/$", RedirectView.as_view(url='/staff/')),
url(r"^semester/create$", semester_create),
url(r"^semester/(\d+)$", semester_v... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,206 | numberpi/EvaP | refs/heads/master | /evap/rewards/urls.py | from django.conf.urls import url
from evap.rewards.views import *
urlpatterns = [
url(r"^$", index),
url(r"^reward_point_redemption_events/$", reward_point_redemption_events),
url(r"^reward_point_redemption_event/create$", reward_point_redemption_event_create),
url(r"^reward_point_redemption_event/(\... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,207 | numberpi/EvaP | refs/heads/master | /evap/student/urls.py | from django.conf.urls import url
from evap.student.views import *
urlpatterns = [
url(r"^$", index),
url(r"^vote/(?P<course_id>\d+)$", vote),
]
| {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,208 | numberpi/EvaP | refs/heads/master | /evap/staff/management/commands/run_tasks.py | import datetime
from django.core.management.base import BaseCommand
from django.conf import settings
from evap.evaluation.models import Course, EmailTemplate
class Command(BaseCommand):
args = '<kind of jobs>'
help = 'Runs updates/tasks based on time events'
def update_courses(self):
""" Update... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,209 | numberpi/EvaP | refs/heads/master | /evap/staff/forms.py | from django import forms
from django.core.exceptions import ValidationError
from django.forms.fields import FileField
from django.forms.models import BaseInlineFormSet
from django.utils.translation import ugettext_lazy as _
from django.utils.text import normalize_newlines
from evap.evaluation.tools import STATES_ORDER... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,210 | numberpi/EvaP | refs/heads/master | /evap/evaluation/templatetags/evaluation_templatetags.py | from django.template import Library
from evap.evaluation.models import Semester
register = Library()
@register.inclusion_tag("user_list_with_links.html")
def include_user_list_with_links(users):
return dict(users=users)
@register.inclusion_tag("sortable_form_js.html")
def include_sortable_form_js():
return... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,211 | numberpi/EvaP | refs/heads/master | /evap/evaluation/403.py | # the functionality to show a custom 403 page is missing in Django 1.3
# so we provide a custom one here
import django.http
import django.template
import django.template.loader
from django.utils.translation import ugettext as _
def fallback_403(request):
"""
Fallback 403 handler which prints out a hard-coded... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,212 | numberpi/EvaP | refs/heads/master | /evap/evaluation/forms.py | from itertools import chain
from django import forms
from django.contrib.auth import authenticate
from django.forms import widgets
from django.forms.models import ModelChoiceIterator
from django.template import Template, Context
from django.utils.encoding import force_text
from django.utils.html import escape, conditi... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,213 | numberpi/EvaP | refs/heads/master | /evap/student/tests.py | from django.test import TestCase
from django.core.urlresolvers import reverse
from evap.evaluation.models import Course, UserProfile
class VoteTests(TestCase):
fixtures = ['vote_test']
def test_user_cannot_vote_for_themselves(self):
if not self.client.login(username='tutor', password='tutor'):
... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,214 | numberpi/EvaP | refs/heads/master | /evap/staff/fields.py | from itertools import chain
from django import forms
from django.forms.models import ModelChoiceIterator
from django.utils.html import escape, conditional_escape
from django.utils.encoding import force_text
class ToolTipModelChoiceIterator(ModelChoiceIterator):
def choice(self, obj):
return (self.field.p... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,215 | numberpi/EvaP | refs/heads/master | /evap/results/templatetags/results_templatetags.py | from django.template import Library
from evap.evaluation.models import Semester
register = Library()
@register.inclusion_tag("results_semester_menu.html")
def include_results_semester_menu():
return dict(semesters=Semester.get_all_with_published_courses())
| {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,216 | numberpi/EvaP | refs/heads/master | /evap/evaluation/auth.py | from django.core.exceptions import ImproperlyConfigured
from django.contrib import auth, messages
from django.contrib.auth.backends import ModelBackend
from django.contrib.auth.decorators import user_passes_test
from django.utils.decorators import available_attrs
from django.utils.translation import ugettext_lazy as _
... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,217 | numberpi/EvaP | refs/heads/master | /evap/evaluation/tests.py | from django_webtest import WebTest
from django.core import mail
class LoginTests(WebTest):
fixtures = ['login_test_data']
def test_passworduser_login(self):
""" Tests whether a user can login with an incorrect and a correct password. """
response = self.app.get("/")
passwordForm = res... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,218 | numberpi/EvaP | refs/heads/master | /evap/staff/views.py | from django.contrib import messages
from django.core.cache import cache
from django.core.exceptions import PermissionDenied
from django.forms.models import inlineformset_factory, modelformset_factory
from django.shortcuts import get_object_or_404, redirect, render
from collections import OrderedDict
from django.utils.t... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,219 | numberpi/EvaP | refs/heads/master | /evap/evaluation/management/commands/merge_users.py | from django.core.management.base import BaseCommand
from evap.evaluation.models import UserProfile
from evap.evaluation.merge import merge_model_objects
class Command(BaseCommand):
args = '<primary user ID> <duplicate user ID>'
help = 'Merges duplicate user into primary user'
def handle(self, *args, **o... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,220 | numberpi/EvaP | refs/heads/master | /evap/evaluation/management/commands/import_ad.py | import getpass
import ldap
import sys
from django.core.management.base import BaseCommand
from evap.evaluation.models import UserProfile
class Command(BaseCommand):
args = '<ldap server> <username>'
help = 'Imports user data from Active Directory. The username should be specified with realm.'
def handl... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,221 | numberpi/EvaP | refs/heads/master | /evap/staff/tools.py | from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
from django.utils.translation import ugettext_lazy as _
from evap.evaluation.models import Semester
import urllib
EMAIL_RECIPIENTS = (
('all_participants', _('all participants')),
('due_participants', _('due participan... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,222 | numberpi/EvaP | refs/heads/master | /evap/evaluation/models.py | from django.conf import settings
from django.core.exceptions import ValidationError
from django.core.mail import EmailMessage
from django.db import models
from django.db.models import Count
from django.db.models.signals import post_save
from django.dispatch import receiver
from django.utils.translation import ugettext_... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,223 | numberpi/EvaP | refs/heads/master | /evap/settings.py | # -*- coding: utf-8 -*-
"""
Django settings for EvaP project.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
"""
import os
import sys
from django.contrib.messages imp... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,224 | numberpi/EvaP | refs/heads/master | /evap/evaluation/tools.py | from django.conf import settings
from django.core.cache import cache
from django.db.models import Min
from django.utils.translation import ugettext_lazy as _
from evap.evaluation.models import LikertAnswer, TextAnswer, GradeAnswer
from collections import OrderedDict, defaultdict
from collections import namedtuple
LIK... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,225 | numberpi/EvaP | refs/heads/master | /evap/evaluation/management/commands/statistics.py | from django.core.management.base import BaseCommand, CommandError
from django.utils.translation import ugettext as _
from evap.evaluation.models import Semester, LikertAnswer
class Command(BaseCommand):
args = '<name of statistic> <semester id>'
help = 'Computes statstics over semesters'
def answer_hist... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,226 | numberpi/EvaP | refs/heads/master | /evap/results/urls.py | from django.conf.urls import url
from evap.results.views import *
urlpatterns = [
url(r"^$", index),
url(r"semester/(\d+)$", semester_detail),
url(r"semester/(\d+)/export$", semester_export),
url(r"semester/(\d+)/course/(\d+)$", course_detail),
]
| {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,227 | numberpi/EvaP | refs/heads/master | /evap/staff/templatetags/staff_templatetags.py | from django.template import Library
from evap.evaluation.models import Semester
register = Library()
@register.inclusion_tag("staff_semester_menu.html")
def include_staff_semester_menu():
return dict(semesters=Semester.objects.all()[:5])
@register.inclusion_tag('staff_course_selection_list.html')
def include_s... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,228 | numberpi/EvaP | refs/heads/master | /evap/student/templatetags/student_templatetags.py | from django.template import Library
register = Library()
@register.inclusion_tag('student_vote_questionnaire_group.html')
def include_student_vote_questionnaire_group(questionnaire_group):
return {'questionnaire_group': questionnaire_group}
| {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,229 | numberpi/EvaP | refs/heads/master | /evap/results/views.py | from django.conf import settings
from django.http import HttpResponse
from django.core.exceptions import PermissionDenied
from django.shortcuts import get_object_or_404, render
from django.utils.translation import get_language
from evap.evaluation.auth import login_required, staff_required
from evap.evaluation.models ... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,230 | numberpi/EvaP | refs/heads/master | /evap/evaluation/templatetags/morefilters.py | from django import template
from django.conf import settings
from django.template import Library
from evap.evaluation.tools import LIKERT_NAMES, GRADE_NAMES, STATES_ORDERED, STUDENT_STATES_ORDERED
from evap.rewards.tools import can_user_use_reward_points
register = Library()
# from http://www.jongales.com/blog/2009/... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,231 | numberpi/EvaP | refs/heads/master | /evap/staff/tests.py | from django.core.urlresolvers import reverse
from django_webtest import WebTest
from webtest import AppError
from django.test import Client
from django.forms.models import inlineformset_factory
from django.core import mail
from django.core.exceptions import ObjectDoesNotExist
from django.conf import settings
from evap... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,232 | numberpi/EvaP | refs/heads/master | /evap/rewards/tests.py | from django.conf import settings
from django_webtest import WebTest
from evap.evaluation.models import Course
from evap.evaluation.models import UserProfile
from evap.rewards.models import SemesterActivation
from evap.rewards.models import RewardPointRedemptionEvent
from evap.rewards.tools import reward_points_of_user
... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,233 | numberpi/EvaP | refs/heads/master | /evap/evaluation/management/commands/remove_participant_information.py | from django.core.management.base import BaseCommand, CommandError
from django.utils.translation import ugettext as _
from evap.evaluation.models import Semester
class Command(BaseCommand):
args = '<semester id>'
help = 'Removes all participant and voter information from the DB.'
def handle(self, *args, ... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,234 | numberpi/EvaP | refs/heads/master | /evap/results/exporters.py | from evap.evaluation.models import Questionnaire
from evap.evaluation.tools import calculate_results, calculate_average_and_medium_grades
from django.utils.translation import ugettext as _
from collections import OrderedDict
from collections import defaultdict
import datetime
import xlwt
class ExcelExporter(object)... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,235 | numberpi/EvaP | refs/heads/master | /evap/contributor/urls.py | from django.conf.urls import url
from evap.contributor.views import *
urlpatterns = [
url(r"^$", index),
url(r"^profile$", profile_edit),
url(r"^course/(\d+)$", course_view),
url(r"^course/(\d+)/edit$", course_edit),
url(r"^course/(\d+)/preview$", course_preview),
]
| {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,236 | numberpi/EvaP | refs/heads/master | /evap/contributor/forms.py | from django import forms
from django.utils.translation import ugettext_lazy as _
from evap.evaluation.models import Course, UserProfile, Questionnaire
from evap.evaluation.forms import BootstrapMixin, QuestionnaireMultipleChoiceField
class CourseForm(forms.ModelForm, BootstrapMixin):
general_questions = Question... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,237 | numberpi/EvaP | refs/heads/master | /evap/student/forms.py | from django import forms
from django.utils.encoding import force_text
from django.utils.safestring import mark_safe
from evap.student.tools import make_form_identifier
from evap.evaluation.tools import LIKERT_NAMES, GRADE_NAMES
LIKERT_CHOICES = [(unicode(k), v) for k, v in LIKERT_NAMES.items()]
GRADE_CHOICES = [(un... | {"/evap/staff/importers.py": ["/evap/evaluation/models.py", "/evap/evaluation/tools.py"], "/evap/staff/urls.py": ["/evap/staff/views.py"], "/evap/staff/management/commands/run_tasks.py": ["/evap/evaluation/models.py"], "/evap/staff/forms.py": ["/evap/evaluation/tools.py", "/evap/evaluation/forms.py", "/evap/evaluation/... |
95,247 | richo/pyBawt | refs/heads/master | /regen_modules.py | #!/usr/bin/python
MODULE_DIRECTORY = 'modules.d'
LOCAL_MODULES = 'modules.local.d'
CONFIG = 'module_config.py'
outfile = 'bModules.py'
import os
def rebuild_bModules():
out = open(outfile, 'w')
# Module directory
modules = [os.path.join(MODULE_DIRECTORY, i) for i in os.listdir(MODULE_DIRECTORY)]
if os... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,248 | richo/pyBawt | refs/heads/master | /ourgit.py | import os
import subprocess as sp
import logging
for p in ('/usr/bin/git', '/usr/local/bin/git'):
if os.path.exists(p):
git_binary = p
def oneline(cmd):
try:
p = sp.Popen(cmd.split(" "), stdout=sp.PIPE, close_fds=True, executable=git_binary)
p.wait()
return p.stdout.readline()... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,249 | richo/pyBawt | refs/heads/master | /test/radio.py | #!/usr/bin/env python
import sys
sys.path.append("../")
import mpd
c = mpd.MPDClient()
c.connect("domino.psych0tik.net", 6600)
print c.currentsong()
| {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,250 | richo/pyBawt | refs/heads/master | /modules.d/core_modules.py | import re
import time
import ourgit
import os
import sys
import atexit
import traceback
from lib import *
import logging
VERSION="$Rev: 1252 $".split(" ")[1]
class ModuleAlreadyLoaded(Exception):
pass
# TODO Split this out into core modules, and then import a set of user added
# ones. BawtModule and the stuff to... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,251 | richo/pyBawt | refs/heads/master | /modules.d/000_core.py | """This module represents the core features a developer needs to write modules
for the pyBawt framework"""
import re
import time
import ourgit
import os
import sys
import logging
VERSION="$Rev: 1252 $".split(" ")[1]
def get_help(mdl):
try:
obj = globals()[mdl]
except KeyError:
return "No help ... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,252 | richo/pyBawt | refs/heads/master | /auth.py | import hashlib
import pickle
import atexit
import logging
from lib import *
AUTH_FILE_NAME="authen.db"
class Authenticator(object):
"""\
An object that statefully keeps track of all authentication
It is managed by AuthModule which tracks the server messages
"""
def __init__(self, auth_hash='', valid_host=... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,253 | richo/pyBawt | refs/heads/master | /modules.d/mode.py | class ModeModule(BawtM2):
_name = "ModeModule"
privmsg_re = "!mode"
def handle_privmsg(self, msg):
self.parent.privmsg(msg.replyto, self.channel.dump_modes())
| {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,254 | richo/pyBawt | refs/heads/master | /modules.d/debug.py | class DebugModule(BawtM2):
_name = "DebugModule"
privmsg_re = "(!|%(nick)s:\s?)repr"
def handle_privmsg(self, msg):
print repr(msg.data_segment)
self.parent.privmsg(msg.replyto, "%(nick)s: %(data)s" % {'nick': msg.nick,
'data': repr(msg.data_segment)})
| {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,255 | richo/pyBawt | refs/heads/master | /test/unit/helpers.py | #!/usr/bin/env python
import os
import sys
sys.path.append(os.getcwd())
def ASSERT(cond, errormsg):
if cond:
print errormsg
print "\t\t\tPASS"
else:
# COLORS
print >>sys.stderr, errormsg
print "\t\t\tFAIL"
# TODO Add this to something and continue
# Mayb... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,256 | richo/pyBawt | refs/heads/master | /modules.d/prod.py | class ProdModule(BawtM2):
privmsg_re = "prods %(nick)s"
privmsg_flags = re.I
_name = "ProdModule"
def handle_privmsg(self, msg):
self.parent.action(msg.replyto, "prods %(nick)s right back!" % {'nick': msg.nick})
| {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,257 | richo/pyBawt | refs/heads/master | /modules.d/join.py | class GreetModule(BawtM2):
_name = "GreetModule"
def handle_join(self, msg):
# We get notified of our own joins..
if msg.nick != self.parent.nick:
self.parent.privmsg(msg.replyto, "Hi %s" % msg.nick)
class WildModule(BawtM2):
_name = "WildModule"
def handle_join(self, msg):
... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,258 | richo/pyBawt | refs/heads/master | /module_config.py | # IZ FINAL
modules = OurModules()
modules["default"] = [ AddModule, HelpModule, SnackModule, AuthModule ]
modules["#rawptest"] = [ ChanModule, AdminModule, SourceModule, GreetModule, GitModule ]
modules["#psych0tik"] = [ GreetModule, RadioModule ]
modules["#hbh"] = [ LinkModule ]
modules["#cbr250"] = [ OrlyModule, Bli... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,259 | richo/pyBawt | refs/heads/master | /pyBawt.py | #!/usr/bin/env python
##
# pyBawt is (Will be) released under the WTFPL
# You are hereby licensed to do WHATEVER THE FUCK YOU WANT with it's source
# code
##
# Rich Healey '08
import ircSocket
import time
import sys
import os
import random
import config
import bModules
import logging
import traceback
logging.info("... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,260 | richo/pyBawt | refs/heads/master | /test/unit/test_lib.py | #!/usr/bin/env python
from helpers import *
import lib
START("LowerList")
# LowerList should behave like a list
lowerlist = lib.LowerList()
lowerlist.append("UpPeR CaSe")
# LowerList should be case insensitive
ASSERT("upper case" in lowerlist, "LowerList should be case insensitive")
END()
START("Mapping")
mapping =... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,261 | richo/pyBawt | refs/heads/master | /config.py | #!/usr/bin/python
"""A module wrapper around the config files for pyBawt"""
__all__ = []
# This is tremendous hax, just a piece of scaffold to avoid breaking the old
# API
# Also, bail the fuck out if the config is incomplete
import logging
import os
class InvalidConfig(Exception):
pass
class NoConfigFile(Except... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,262 | richo/pyBawt | refs/heads/master | /logging.py | import time
import sys
LOGFILE='pyBawt.log'
def with_log(func):
def _(msg):
fh = open(LOGFILE, 'a')
func(msg, fh)
fh.close()
return _
@with_log
def log(msg, fh):
if not msg.endswith("\n"):
msg += "\n"
fh.write(msg)
def fmt(msg):
return "%s | %s" % (time.asctime(),... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,263 | richo/pyBawt | refs/heads/master | /lib.py | class Mapping(dict):
def __getitem__(self, item):
try:
return super(Mapping, self).__getitem__(item)
except KeyError:
self[item] = []
return self[item]
class LowerList(list):
@staticmethod
def lower(n):
try:
return n.lower()
ex... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,264 | richo/pyBawt | refs/heads/master | /ircSocket.py | import threading
import socket
import sys
import time
import ssl
import re
# Rebuild module tree
import regen_modules
regen_modules.rebuild_bModules()
import bModules
import config
import signal
import auth
import logging
class ModuleError(Exception):
pass
class IrcDisconnected(Exception):
... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,265 | richo/pyBawt | refs/heads/master | /modules.d/extras.py |
# EXTRAS
#-------
class OrlyModule(BawtM2):
"Screams yarly at newbs"
privmsg_re = "orly"
privmsg_flags = re.I
_name = "OrlyModule"
def handle_privmsg(self, msg, ORLOG=['', 0, 0]):
if not msg.nick:
return
if ORLOG[0] != msg.nick.lower() or ORLOG[1] + 150 < time.time():
... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,266 | richo/pyBawt | refs/heads/master | /webutils.py | import time
import os
## CONFIG
# Trailing slash is important.
webroot = "http://natalya.psych0tik.net/~pyBawt/"
docroot = "/home/pyBawt/public_html"
class PublicationError(Exception):
pass
def publish(content, prefix="", suffix="txt"):
name = ""
if prefix:
name += prefix + "_"
name += "%i.%... | {"/ourgit.py": ["/logging.py"], "/modules.d/core_modules.py": ["/ourgit.py", "/lib.py", "/logging.py"], "/modules.d/000_core.py": ["/ourgit.py", "/logging.py"], "/auth.py": ["/logging.py", "/lib.py"], "/pyBawt.py": ["/ircSocket.py", "/config.py", "/logging.py"], "/test/unit/test_lib.py": ["/lib.py"]} |
95,267 | jackpictures/computer-math | refs/heads/main | /8_3(прост).py | from math import sqrt
import numpy as np
from numpy import array
A = array([[24,-7,-4,4],[-3,-9,-2,-2],[3,7,24,9],[1,-6,-2,-15]])
b = array([-190,-12,155,-17])
m = len(A)
x = [.0 for i in range(m)]
Iteration = 0
converge = False
pogr = 0.
while not converge:
x_new = np.copy(x)
for i in range(m... | {"/app_functions.py": ["/main.py"], "/main.py": ["/app_modules.py", "/lab1_1.py", "/tests5_1.py"], "/app_modules.py": ["/app_functions.py"]} |
95,268 | jackpictures/computer-math | refs/heads/main | /7_1испр.py | import math
import matplotlib.pyplot as plt
def f(x, y):
return (x**2 * y**2 + x**2)
def F(x):
return math.tan(x**3/3)
def Euler_method_modified(x0, y0, x, step):
m = int(((x - x0) / step))
y = y0
function_grid = []
function_grid.append(y)
for _ in range(1, m + 1):
... | {"/app_functions.py": ["/main.py"], "/main.py": ["/app_modules.py", "/lab1_1.py", "/tests5_1.py"], "/app_modules.py": ["/app_functions.py"]} |
95,269 | jackpictures/computer-math | refs/heads/main | /3_3.py | import numpy as np
import copy
import module1 as md
def d_poly_koeffs(a1):
deg = len(a1) - 1
k = []
for i in range(deg):
k.append(deg * a1[i])
deg -= 1
return k
def f(x,a1):
k = 0
for i in range(len(a1)):
k+=float(a1[i])*(x**(len(a1)-1-i))
return k... | {"/app_functions.py": ["/main.py"], "/main.py": ["/app_modules.py", "/lab1_1.py", "/tests5_1.py"], "/app_modules.py": ["/app_functions.py"]} |
95,270 | jackpictures/computer-math | refs/heads/main | /3_4.py | import numpy as np
import module1 as md
def print_poly(a):
st = ''
polll = list(map(float, a))
for i in range(len(polll)):
if (float(polll[i])) != 0.0:
if ((len(polll) - 1 - i)) > 1:
if (float(polll[i]) > 0):
st += '+' + str(polll[i])
... | {"/app_functions.py": ["/main.py"], "/main.py": ["/app_modules.py", "/lab1_1.py", "/tests5_1.py"], "/app_modules.py": ["/app_functions.py"]} |
95,271 | jackpictures/computer-math | refs/heads/main | /app_functions.py | # uncompyle6 version 3.7.4
# Python bytecode 3.7 (3394)
# Decompiled from: Python 2.7.17 (default, Sep 30 2020, 13:38:04)
# [GCC 7.5.0]
# Warning: this version of Python has problems handling the Python 3 "byte" type in constants properly.
# Embedded file name: C:\Users\Professional\PycharmProjects\pythonProject2\app... | {"/app_functions.py": ["/main.py"], "/main.py": ["/app_modules.py", "/lab1_1.py", "/tests5_1.py"], "/app_modules.py": ["/app_functions.py"]} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.