index
int64
repo_name
string
branch_name
string
path
string
content
string
import_graph
string
46,219
jaydenwindle/YAK-server
refs/heads/master
/test_project/test_app/migrations/0005_auto_20180314_1653.py
# Generated by Django 2.0 on 2018-03-14 16:53 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('test_app', '0004_auto_20150605_2118'), ] operations = [ migrations.AlterModelOptions( name='user', ...
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,220
jaydenwindle/YAK-server
refs/heads/master
/yak/rest_notifications/migrations/0002_auto_20141220_0018.py
# -*- coding: utf-8 -*- from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('contenttypes', '0001_initial'), ('rest_notifications', '0001_initial'), ...
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,221
jaydenwindle/YAK-server
refs/heads/master
/yak/rest_social_network/serializers.py
from django.contrib.auth import get_user_model from rest_framework import serializers from yak.rest_social_network.models import Tag, Comment, Follow, Flag, Share, Like from yak.rest_user.serializers import UserSerializer User = get_user_model() class LikedMixin(object): def get_liked_id(self, obj): req...
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,222
jaydenwindle/YAK-server
refs/heads/master
/yak/rest_core/fields.py
from rest_framework.fields import get_attribute from rest_framework import relations from rest_framework.reverse import reverse class GenericHyperlinkedRelatedField(relations.PrimaryKeyRelatedField): def get_attribute(self, instance): return get_attribute(instance, self.source_attrs) def to_represent...
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,223
jaydenwindle/YAK-server
refs/heads/master
/yak/rest_notifications/management/commands/add_missing_notification_settings.py
from django.contrib.auth import get_user_model from django.core.management import BaseCommand from yak.rest_notifications.models import NotificationSetting, NotificationType __author__ = 'rudolphmutter' User = get_user_model() class Command(BaseCommand): args = '' help = 'Creates missing notification setti...
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,224
jaydenwindle/YAK-server
refs/heads/master
/yak/rest_social_auth/models.py
from django.db import models from yak.rest_core.models import CoreModel class SocialProvider(CoreModel): """ Used as a relation on User model so users can pick certain default providers to share posts on TODO: Do we still need this? / I think FB recommends explicit sharing, not default sharing """ ...
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,225
jaydenwindle/YAK-server
refs/heads/master
/yak/rest_social_network/models.py
import abc from django.contrib.auth import get_user_model from django.contrib.contenttypes.fields import GenericRelation, GenericForeignKey from django.contrib.sites.models import Site from django.utils.baseconv import base62 import re from django.conf import settings from django.contrib.contenttypes.models import Cont...
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,226
jaydenwindle/YAK-server
refs/heads/master
/yak/rest_notifications/utils.py
import json import requests from django.conf import settings from django.core.mail import EmailMultiAlternatives from django.utils.html import strip_tags from django.utils.module_loading import import_string from pypushwoosh import constants from pypushwoosh.client import PushwooshClient from yak.settings import yak_...
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,227
jaydenwindle/YAK-server
refs/heads/master
/yak/rest_notifications/__init__.py
__author__ = 'rudy'
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,228
jaydenwindle/YAK-server
refs/heads/master
/test_project/test_app/tests/test_syntax.py
from yak.rest_core.test import YAKSyntaxTest class SyntaxTest(YAKSyntaxTest): def test_syntax(self): self.check_syntax()
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,229
jaydenwindle/YAK-server
refs/heads/master
/test_project/urls.py
from django.contrib import admin from django.conf.urls import url, include from rest_framework import routers from .test_app.api.views import ProjectUserViewSet, PostViewSet router = routers.DefaultRouter() router.register(r'users', ProjectUserViewSet, base_name='users') router.register(r'posts', PostViewSet, base_na...
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,230
jaydenwindle/YAK-server
refs/heads/master
/yak/rest_social_network/migrations/0002_auto_20141220_0018.py
# -*- coding: utf-8 -*- from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('contenttypes', '0001_initial'), ('rest_social_network', '0001_initial'),...
{"/yak/rest_core/test.py": ["/yak/settings.py"], "/yak/rest_social_auth/backends/yak_twitter.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_instagram.py": ["/yak/rest_social_auth/backends/base.py"], "/yak/rest_social_auth/backends/yak_soundcloud.py": ["/yak/rest_social_auth/backend...
46,299
mtbui2010/manage_scripts
refs/heads/master
/distribute_package.py
from make_binary_package import make_binary_package import getopt, sys, os PKG_DIR = '/mnt/workspace/000_demo_packaging' PKG_NAME = 'ketitestlib' REBINARY = True MAKE_PYI = True CHANGE = 'bug' def distribute_protect_package_pypi(pkg_dir, pkg_name='', rebinarize=True, make_pyi=True, change='Bug'): cwd = os.getcwd(...
{"/distribute_package.py": ["/make_binary_package.py"]}
46,300
mtbui2010/manage_scripts
refs/heads/master
/make_binary_package_and_git.py
import shutil, os from glob import glob from setuptools import setup from Cython.Build import cythonize from Cython.Distutils import build_ext import numpy as np # +++++++++++++++++++++++++++++++++ CONFIGURATIONS package_dir = '/mnt/workspace/001_grasp_detection_package' rebinarize = True upload_to_git = True git_msg...
{"/distribute_package.py": ["/make_binary_package.py"]}
46,301
mtbui2010/manage_scripts
refs/heads/master
/upload_to_git.py
import os from shutil import rmtree import getpass def upload_to_git(git_path, update_dir, username=None, password=None): cwd = os.getcwd() if username is not None and password is not None: git_path = git_path.replace('https://','') git_path = 'https://{}:{}@{}'.format(username, password, git_p...
{"/distribute_package.py": ["/make_binary_package.py"]}
46,302
mtbui2010/manage_scripts
refs/heads/master
/make_binary_package.py
import os import shutil from glob import glob from distutils.dir_util import copy_tree rebinarize = False make_pyi = False def iter_make_pyi(dir_path=''): os.system(f'stubgen {os.path.join(dir_path,"*.py")} -o .') items = os.listdir(dir_path) sub_dirs = [os.path.join(dir_path, p) for p in items if os.p...
{"/distribute_package.py": ["/make_binary_package.py"]}
46,303
mtbui2010/manage_scripts
refs/heads/master
/download_update_from_git.py
import os from shutil import rmtree import getpass def download_update_from_git(git_path, update_dir, git_dir='tmp', ignores=None, username=None, password=None): if os.path.exists(git_dir): rmtree(git_dir) os.makedirs(git_dir, exist_ok=True) if username is None or password is None: git_command = ...
{"/distribute_package.py": ["/make_binary_package.py"]}
46,305
lschuetze/ReBench
refs/heads/master
/rebench/model/measurement.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,306
lschuetze/ReBench
refs/heads/master
/rebench/model/__init__.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,307
lschuetze/ReBench
refs/heads/master
/rebench/tests/test-vm2.py
#!/usr/bin/env python ## simple script emulating a VM generating benchmark results import sys import time import random print "test-vm2.py: args=", sys.argv print "RESULT-part1: ", random.uniform(100, 110) print "RESULT-part2: ", random.uniform(400, 440) print "RESULT-part3: ", random.uniform(200, 300) print "RESULT-...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,308
lschuetze/ReBench
refs/heads/master
/rebench/interop/epcc_adapter.py
# class EPCCPerformance(Performance): # """EPCCPerformance is used to read the output of the EPCC barrier benchmarks. # """ # barrier_time = re.compile(r"^BARRIER time =\s+([0-9\.E]+) microseconds(?:.+)") # barrier_time2 = re.compile(r"\s*Total time without initialization\s+:?\s+([0-9]+)") # barnes...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,309
lschuetze/ReBench
refs/heads/master
/rebench/model/benchmark_suite.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,310
lschuetze/ReBench
refs/heads/master
/rebench/tests/features/issue_15_vm.py
#!/usr/bin/env python ## simple script emulating a VM generating benchmark results import sys import random print sys.argv print "Harness Name: ", sys.argv[1] print "Bench Name:", sys.argv[2] print "Warmup: ", sys.argv[3] warmup = int(sys.argv[3]) for i in range(0, warmup): print "RESULT-total: ", rand...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,311
lschuetze/ReBench
refs/heads/master
/rebench/reporter.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, co...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,312
lschuetze/ReBench
refs/heads/master
/rebench/__init__.py
from rebench import ReBench, main_func __version__ = ReBench().version
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,313
lschuetze/ReBench
refs/heads/master
/rebench/model/reporting.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,314
lschuetze/ReBench
refs/heads/master
/rebench/persistence.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,315
lschuetze/ReBench
refs/heads/master
/rebench/model/experiment.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,316
lschuetze/ReBench
refs/heads/master
/rebench/model/runs_config.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,317
lschuetze/ReBench
refs/heads/master
/rebench/tests/persistency_test.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,318
lschuetze/ReBench
refs/heads/master
/rebench/tests/features/issue_19_vm.py
#!/usr/bin/env python ## simple script emulating a VM generating benchmark results import sys import random print sys.argv print "Harness Name: ", sys.argv[1] print "Bench Name:", sys.argv[2] print "Input Size: ", sys.argv[3] print "RESULT-total: ", random.triangular(700, 850)
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,319
lschuetze/ReBench
refs/heads/master
/rebench/configurator.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,320
lschuetze/ReBench
refs/heads/master
/rebench/model/virtual_machine.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,321
lschuetze/ReBench
refs/heads/master
/rebench/tests/model/runs_config_test.py
# Copyright (c) 2016 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, mo...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,322
lschuetze/ReBench
refs/heads/master
/rebench/model/benchmark_config.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,323
lschuetze/ReBench
refs/heads/master
/rebench/tests/executor_test.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,324
lschuetze/ReBench
refs/heads/master
/rebench/interop/jgf_adapter.py
# class JGFPerformance(Performance): # """JGFPerformance is used to read the output of the JGF barrier benchmarks. # """ # re_barrierSec1 = re.compile(r"^(?:.*:.*:)(.*)(?:\s+)([0-9\.E]+)(?:\s+)\(barriers/s\)") # for the barrier benchmarks in sec 1 of the JGF benchmarks # re_sec2 = re.compile(r"^(?:Secti...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,325
lschuetze/ReBench
refs/heads/master
/rebench/tests/bugs/issue_27_vm.py
#!/usr/bin/env python ## simple script emulating a failing benchmark print "Starting Richards benchmark ..." print "Results are incorrect"
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,326
lschuetze/ReBench
refs/heads/master
/rebench/subprocess_with_timeout.py
from os import kill from select import select from signal import SIGKILL from subprocess import PIPE, STDOUT, Popen from threading import Thread from time import time import sys class SubprocessThread(Thread): def __init__(self, binary_name, args, shell, cwd, verbose, stdout, stderr): ...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,327
lschuetze/ReBench
refs/heads/master
/rebench/executor.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, co...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,328
lschuetze/ReBench
refs/heads/master
/rebench/tests/interop/rebench_log_adapter_test.py
from unittest import TestCase from ...interop.rebench_log_adapter import RebenchLogAdapter class RebenchAdapterTest(TestCase): def _assert_basics(self, data, val, unit, criterion, total): self.assertEqual(1, len(data)) dp = data[0] self.assertEqual(val, dp.get_total_value()) sel...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,329
lschuetze/ReBench
refs/heads/master
/rebench/rebench.py
#!/usr/bin/env python2.7 # ReBench is tool to run and document benchmarks. # # It is inspired by JavaStats implemented by Andy Georges. # JavaStats can be found here: http://www.elis.ugent.be/en/JavaStats # # ReBench goes beyond the goals of JavaStats, no only by broaden the scope # to not only Java VMs, but also by in...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,330
lschuetze/ReBench
refs/heads/master
/rebench/model/run_id.py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
{"/rebench/model/measurement.py": ["/rebench/model/run_id.py"], "/rebench/model/benchmark_suite.py": ["/rebench/model/__init__.py"], "/rebench/model/reporting.py": ["/rebench/reporter.py"], "/rebench/model/experiment.py": ["/rebench/model/virtual_machine.py", "/rebench/model/benchmark_suite.py", "/rebench/model/benchma...
46,332
dobredia/datathon
refs/heads/master
/data_loading/process_air_quality_official.py
from os import listdir from os.path import isfile, join import codecs from data_loading.data_load_utils import one_hot, process_date_air_official, time_hash, process_date_air_official AirQualityStationVocab = ['STA-BG0040A', 'STA-BG0050A', 'STA-BG0052A', 'STA-BG0054A', 'STA-BG0073A', 'STA-BG0079A'] SamplingProcessVoca...
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,333
dobredia/datathon
refs/heads/master
/heatmap/heatmap_citizen_official.py
import matplotlib.pyplot as plt import pandas as pd import numpy as np from data_loading.process_air_quality_official import data_for_heatmap as data_for_heatmap_official if __name__ == "__main__": ''' OFFICIAL DATA ''' data_official = pd.read_csv('../../datathlon data/air-quality-official/Proces...
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,334
dobredia/datathon
refs/heads/master
/data_loading/merge_citizen_and_official_by_time.py
from os import listdir from os.path import isfile, join import codecs from geohash.geohashdecode import decode1 from data_loading.data_load_utils import time_hash, process_date_str import matplotlib.pyplot as plt import pandas as pd import numpy as np from data_loading.process_air_quality_official import data_for_heatm...
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,335
dobredia/datathon
refs/heads/master
/gausian_mixture_model/gausian-citizen.py
import numpy as np import matplotlib.pyplot as plt from matplotlib.colors import LogNorm from sklearn import mixture import pandas as pd ''' 0. Latitude 1. Longitude 2. Concentration ''' data = pd.read_csv('../../datathlon data/air-quality-citizen/Processed_heatmap_all_citizen.csv') couple_columns = d...
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,336
dobredia/datathon
refs/heads/master
/data_loading/merge_citizen_and_official_by_time_v2.py
from os import listdir from os.path import isfile, join import codecs from geohash.geohashdecode import decode1 from data_loading.data_load_utils import time_hash, process_date_str import matplotlib.pyplot as plt import pandas as pd import numpy as np from data_loading.process_air_quality_official import data_for_heatm...
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,337
dobredia/datathon
refs/heads/master
/heatmap/heatmap_station_citizen.py
import matplotlib.pyplot as plt import pandas as pd import numpy as np from data_loading.process_air_quality_official import data_for_heatmap as data_for_heatmap_official if __name__ == "__main__": data = pd.read_csv('../../datathlon data/air-quality-citizen/Processed_heatmap_all_citizen.csv') # print(data.he...
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,338
dobredia/datathon
refs/heads/master
/data_loading/merge_citizen_and_official_by_time_v4.py
from os import listdir from os.path import isfile, join import codecs from geohash.geohashdecode import decode1 from data_loading.data_load_utils import time_hash, process_date_str import matplotlib.pyplot as plt import pandas as pd import numpy as np from data_loading.process_air_quality_official import data_for_heatm...
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,339
dobredia/datathon
refs/heads/master
/data_loading/process_air_quality_citizen.py
from os import listdir from os.path import isfile, join import codecs from geohash.geohashdecode import decode1 from data_loading.data_load_utils import time_hash, process_date_str ''' 0. time, 1. geohash, 2. P1 PM10, 3. P2 PM2.5, 4. temperature, 5. humidity, 6. pressure ''' def rew...
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,340
dobredia/datathon
refs/heads/master
/heatmap/heatmap_example.py
import matplotlib.pyplot as plt import pandas as pd import numpy as np helix = pd.read_csv('./helix_parameters.csv') helix.head() helix.shape helix.columns couple_columns = helix[['Energy','helix 2 phase', 'helix1 phase']] couple_columns.head() helix.ix[:,['Energy','helix 2 phase', 'helix1 phase']].head() phase_1_2 = ...
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,341
dobredia/datathon
refs/heads/master
/data_loading/data_load_utils.py
import numpy as np from dateutil.parser import parse year_vocab = [2017, 2018] def one_hot(value, vocab): one_hot_array = np.full(len(vocab), '0') one_hot_bool_mask = np.array(vocab) == value one_hot_array[one_hot_bool_mask] = 1 return one_hot_array.tolist() def time_hash(year, month, day, hour): ...
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,342
dobredia/datathon
refs/heads/master
/sheet.py
import numpy as np array1 = np.asarray([1, 2, 3]) array2 = np.asarray([0.5, 5, 10]) print(array1 / array2)
{"/data_loading/process_air_quality_official.py": ["/data_loading/data_load_utils.py"], "/heatmap/heatmap_citizen_official.py": ["/data_loading/process_air_quality_official.py"], "/data_loading/merge_citizen_and_official_by_time.py": ["/data_loading/data_load_utils.py", "/data_loading/process_air_quality_official.py"],...
46,349
dan801212/pytorch-3DGAN
refs/heads/master
/utils.py
import torch import torch.nn.functional as F from torch.autograd import Variable import matplotlib as mpl mpl.use('Agg') from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D import numpy as np from scipy.misc import imread def generateLabel(tensor, label, args): if args.soft_label: if ...
{"/main.py": ["/train.py"], "/train.py": ["/model.py", "/ShapeNetDataset.py", "/utils.py"]}
46,350
dan801212/pytorch-3DGAN
refs/heads/master
/main.py
import argparse from train import train from test import test def main(args): if args.mode == 'train': train(args) elif args.mode == 'test': test(args) else: raise('Please choose a correct mode') if __name__ == '__main__': parser = argparse.ArgumentParser(description="3...
{"/main.py": ["/train.py"], "/train.py": ["/model.py", "/ShapeNetDataset.py", "/utils.py"]}
46,351
dan801212/pytorch-3DGAN
refs/heads/master
/ShapeNetDataset.py
from torch.utils.data.dataset import Dataset import pandas as pd import numpy as np import ReadVoxLabel import torch import scipy.io as io import os.path import scipy.ndimage as nd class CustomDataset(Dataset): """Custom Dataset compatible with torch.utils.data.DataLoader""" def __init__(self, root): ...
{"/main.py": ["/train.py"], "/train.py": ["/model.py", "/ShapeNetDataset.py", "/utils.py"]}
46,352
dan801212/pytorch-3DGAN
refs/heads/master
/train.py
import os import numpy as np import torch import random from torch.autograd import Variable, gradcheck import torch.nn.functional as F import model import ShapeNetDataset from utils import plot_3D_scene, plot_single_3D_scene, print_all_params, adjust_learning_rate, generateZ, generateLabel from logger import Logger de...
{"/main.py": ["/train.py"], "/train.py": ["/model.py", "/ShapeNetDataset.py", "/utils.py"]}
46,353
dan801212/pytorch-3DGAN
refs/heads/master
/model.py
import torch import torch.nn as nn import torch.nn.functional as F class _G(nn.Module): def __init__(self, args): super(_G, self).__init__() self.args = args self.layer1 = torch.nn.Sequential( torch.nn.ConvTranspose3d(self.args.z_dim, 512, kernel_size=4, stride=1, padding=0), ...
{"/main.py": ["/train.py"], "/train.py": ["/model.py", "/ShapeNetDataset.py", "/utils.py"]}
46,476
AnthonyMrt/Poyosei
refs/heads/master
/admin.py
from django.contrib import admin from django.forms import TextInput, Textarea #from simple_history.admin import SimpleHistoryAdmin from .models import * # Register your models here. class PlanteurHistoryAdmin(admin.ModelAdmin): list_display = ('nom', 'prenom', 'pacage', 'controle') history_list_display = ['...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,477
AnthonyMrt/Poyosei
refs/heads/master
/urls.py
from django.conf.urls import url from . import views from poyosei.views import * app_name = 'poyosei' urlpatterns = [ # Static url(r'^$', views.index, name='index'), # Editer -> Modification # Fiche -> Visualisation # Planteur # url(r'planteur/rid/(?P<pacage>[0-9]+)/$', ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,478
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0050_auto_20180821_0525.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-21 09:25 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poyosei', '0049_auto_20180821_0525'), ] operations = [ migrations.AlterField(...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,479
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0032_auto_20180814_1430.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-14 18:30 from __future__ import unicode_literals from decimal import Decimal from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poyosei', '0031_campagne_planteur'), ] operations = [ ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,480
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0001_initial.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-05-31 13:56 from __future__ import unicode_literals from decimal import Decimal from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,481
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0037_auto_20180815_0354.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-15 07:54 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poyosei', '0036_auto_20180814_1732'), ] operations = [ migrations.AlterField(...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,482
AnthonyMrt/Poyosei
refs/heads/master
/forms/formsMouvement.py
from django import forms from django.contrib.admin import widgets from django.forms import ModelChoiceField from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Div, Submit, HTML, Button, Row, Field from crispy_forms.bootstrap import AppendedText, PrependedText, FormActions from poyosei.mo...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,483
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0016_auto_20180802_0851.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-02 12:51 from __future__ import unicode_literals from decimal import Decimal from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poyosei', '0015_auto_20180611_0840'), ] operations = [ ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,484
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0038_auto_20180818_0134.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-18 05:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poyosei', '0037_auto_20180815_0354'), ] operations = [ migrations.AddField( ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,485
AnthonyMrt/Poyosei
refs/heads/master
/views/viewsRapport.py
from django.shortcuts import render # from django.views import View # from poyosei.forms import * # from django.views.decorators.csrf import csrf_exempt # from poyosei.models import * # from poyosei.ressources import PlanteurResource, mouvementResource # from tablib import Dataset # import json # @csrf_exempt def rap...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,486
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0013_remove_mouvement_quantite_reference_individuelle_accorde2.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-06-06 13:23 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('poyosei', '0012_auto_20180606_0922'), ] operations = [ migrations.RemoveField( ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,487
AnthonyMrt/Poyosei
refs/heads/master
/apps.py
from django.apps import AppConfig from django.conf.urls import url from django.contrib import admin class PoyoseiConfig(AppConfig): name = 'poyosei' admin.site.site = '/poyosei'
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,488
AnthonyMrt/Poyosei
refs/heads/master
/forms/formsPlanteur.py
from django import forms from django.contrib.admin import widgets from django.forms import ModelChoiceField from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Div, Submit, HTML, Button, Row, Field from crispy_forms.bootstrap import AppendedText, PrependedText, FormActions from poyosei.mo...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,489
AnthonyMrt/Poyosei
refs/heads/master
/forms/__init__.py
from .formsPlanteur import * from .formsMouvement import * from .formsRelation import * from .formsCampagne import * from .formsProdCommerciale import * from .formsStatistique import * from .formsTypeMouvement import * from .formsTonnage import *
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,490
AnthonyMrt/Poyosei
refs/heads/master
/forms/formsRelation.py
from django import forms from django.contrib.admin import widgets from django.forms import ModelChoiceField from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Div, Submit, HTML, Button, Row, Field from crispy_forms.bootstrap import AppendedText, PrependedText, FormActions from poyosei.mo...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,491
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0006_planteurback.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-05-31 15:59 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('poyosei', '0005_reconstitutiontonnage'), ] operation...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,492
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0042_ajoutmouvement.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-19 06:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poyosei', '0041_delete_ajoutmouvement'), ] operations = [ migrations.CreateMo...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,493
AnthonyMrt/Poyosei
refs/heads/master
/views/viewsMouvement.py
from django.shortcuts import get_object_or_404, render, redirect, HttpResponseRedirect, HttpResponse from django.views import View from poyosei.forms import * # from django.views.decorators.csrf import csrf_exempt from poyosei.models import * from poyosei.ressources import PlanteurResource, mouvementResource from tabli...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,494
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0053_delete_rule.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-03-30 21:39 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('poyosei', '0052_auto_20180828_1023'), ] operations = [ migrations.DeleteModel( ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,495
AnthonyMrt/Poyosei
refs/heads/master
/views/viewsTonnage.py
# from django.contrib import messages # from django.contrib.humanize.templatetags.humanize import intcomma # from django.db.models import Q # from django.conf import settings from django.shortcuts import get_object_or_404, render, redirect # from django.views import View # from django.views.generic import ListView from...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,496
AnthonyMrt/Poyosei
refs/heads/master
/views/viewsHistorique.py
from django.shortcuts import get_object_or_404, render, redirect, HttpResponseRedirect, HttpResponse from django.views import View from poyosei.forms import * # from django.views.decorators.csrf import csrf_exempt from poyosei.models import * #from poyosei.ressources import PlanteurResource, mouvementResource from djan...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,497
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0040_auto_20180819_0205.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-19 06:05 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('poyosei', '0039_auto_20180818_0144'), ] operations = [ migrations.RenameModel( ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,498
AnthonyMrt/Poyosei
refs/heads/master
/views/__init__.py
from .viewsCampagne import * from .viewsExport import * from .viewsMouvement import * from .viewsOperation import * from .viewsPlanteur import * from .viewsRapport import * from .viewsRelation import * from .viewsStatic import * from .viewsHistorique import * from .viewsProdCommerciale import * from .viewsStatistique i...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,499
AnthonyMrt/Poyosei
refs/heads/master
/views/viewsProdCommerciale.py
from django.shortcuts import get_object_or_404, render, redirect # from django.views import View from poyosei.forms import * # from django.views.decorators.csrf import csrf_exempt from poyosei.models import * # from poyosei.ressources import PlanteurResource, mouvementResource # from tablib import Dataset # import json...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,500
AnthonyMrt/Poyosei
refs/heads/master
/forms/formsCampagne.py
from django import forms from django.contrib.admin import widgets from django.forms import ModelChoiceField from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Div, Submit, HTML, Button, Row, Field from crispy_forms.bootstrap import AppendedText, PrependedText, FormActions from poyosei.mo...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,501
AnthonyMrt/Poyosei
refs/heads/master
/models/modelsTonnage.py
from django.db import models from decimal import Decimal # from project import settings # import datetime class reconstitutionTonnage(models.Model): pacage = models.CharField(max_length=9) annee = models.CharField(max_length=4) reconstitution_tonnage = mode...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,502
AnthonyMrt/Poyosei
refs/heads/master
/views/viewsStatistique.py
# from django.views.decorators.csrf import csrf_exempt # from datetime import datetime from django.shortcuts import get_object_or_404, render, redirect # from django.views import View from poyosei.forms import * from poyosei.models import * # from poyosei.ressources import PlanteurResource, mouvementResource # from tab...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,503
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0029_auto_20180814_1146.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-14 15:46 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('poyosei', '0028_auto_20180814_1109'), ] operations =...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,504
AnthonyMrt/Poyosei
refs/heads/master
/models/modelsRelation.py
from django.db import models # from decimal import Decimal # from project import settings from .modelsPlanteur import * # import datetime class Relation(models.Model): pacageA = models.CharField(max_length=9, default="") planteurs = models.ManyToManyField(Planteur) def __str__(self): return "%s" ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,505
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0004_statistique.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-05-31 14:47 from __future__ import unicode_literals from decimal import Decimal from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poyosei', '0003_relation'), ] operations = [ migr...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,506
AnthonyMrt/Poyosei
refs/heads/master
/models/modelsCampagne.py
from django.db import models from decimal import Decimal from django.utils import timezone from django.forms import DateTimeField from datetime import datetime from project import settings from poyosei.models import * class Campagne(models.Model): pacage = models.CharField(max_length=9) annee = models.CharFie...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,507
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0015_auto_20180611_0840.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-06-11 12:40 from __future__ import unicode_literals from decimal import Decimal from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poyosei', '0014_historicalmouvement_historicalplanteur'), ] ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,508
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0007_auto_20180531_1344.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-05-31 17:44 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('poyosei', '0006_planteurback'), ] operations = [ migrations.RenameField( ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,509
AnthonyMrt/Poyosei
refs/heads/master
/views/viewsTypeMouvement.py
from django.shortcuts import get_object_or_404, render, redirect, HttpResponseRedirect, HttpResponse from django.views import View from poyosei.forms import * # from django.views.decorators.csrf import csrf_exempt from poyosei.models import * from poyosei.ressources import PlanteurResource, mouvementResource from tabli...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,510
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0023_auto_20180807_1412.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-07 18:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('poyosei', '0022_auto_20180807_1412'), ] operations = [ migrations.RenameField( ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,511
AnthonyMrt/Poyosei
refs/heads/master
/models/modelsMouvement.py
from django.db import models from decimal import Decimal from django.utils import timezone from django.forms import DateTimeField from project import settings from datetime import datetime from poyosei.models import * from django.core.validators import MaxValueValidator, MinValueValidator from simple_history.models imp...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,512
AnthonyMrt/Poyosei
refs/heads/master
/models/__init__.py
from .modelsCampagne import * from .modelsMouvement import * from .modelsPlanteur import * from .modelsRelation import * from .modelsStatistique import * from .modelsTonnage import * from .modelsProductionCommerciale import * from .modelsTypeMouvement import *
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,513
AnthonyMrt/Poyosei
refs/heads/master
/views/viewsOperation.py
from django.conf import settings from django.db.models import Sum from django.shortcuts import render from poyosei.models import * from django.views.decorators.csrf import csrf_exempt @csrf_exempt def operation(request): continuer = 'init' mouvements = "" planteurs = Planteur.objects.all() for p in planteurs...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,514
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0043_auto_20180819_0908.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-19 13:08 from __future__ import unicode_literals from decimal import Decimal from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poyosei', '0042_ajoutmouvement'), ] operations = [ ...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,515
AnthonyMrt/Poyosei
refs/heads/master
/models/modelsTypeMouvement.py
from django.db import models # from decimal import Decimal # from django.utils import timezone # from django.forms import DateTimeField # from project import settings # from django.db.models import Q # from django.db.models.signals import post_save from poyosei.models import * # from django.shortcuts import get_object...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...
46,516
AnthonyMrt/Poyosei
refs/heads/master
/migrations/0020_auto_20180806_1509.py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-06 19:09 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poyosei', '0019_auto_20180802_1341'), ] operations = [ migrations.AlterModelO...
{"/admin.py": ["/models/__init__.py"], "/forms/__init__.py": ["/forms/formsPlanteur.py", "/forms/formsMouvement.py", "/forms/formsRelation.py", "/forms/formsCampagne.py", "/forms/formsProdCommerciale.py", "/forms/formsTypeMouvement.py"], "/views/__init__.py": ["/views/viewsCampagne.py", "/views/viewsExport.py", "/views...