index int64 | repo_name string | branch_name string | path string | content string | import_graph string |
|---|---|---|---|---|---|
33,987 | AlenaDos/openeo-python-client | refs/heads/master | /openeo/__init__.py | """
Python Client API for OpenEO backends. This client is a lightweight implementation with limited dependencies on other modules.
The aim of OpenEO is to process remote sensing data on dedicated processing resources close to the source data.
This client allows users to communicate with OpenEO backends, in a way that ... | {"/tests/test_usecase1.py": ["/openeo/__init__.py"], "/tests/test_rest_session.py": ["/openeo/__init__.py"], "/openeo/rest/job.py": ["/openeo/rest/rest_session.py", "/openeo/job.py"], "/openeo/rest/rest_session.py": ["/openeo/sessions.py"], "/openeo/imagecollection.py": ["/openeo/job.py"], "/examples/gee_example.py": [... |
33,988 | AlenaDos/openeo-python-client | refs/heads/master | /openeo/sessions.py | from abc import ABC, abstractmethod
from .auth import Auth
from .imagecollection import ImageCollection
"""
openeo.sessions
~~~~~~~~~~~~~~~~
This module provides a Session object to manage and persist settings when interacting with the OpenEO API.
"""
class Session(ABC):
"""
A `Session` class represents a co... | {"/tests/test_usecase1.py": ["/openeo/__init__.py"], "/tests/test_rest_session.py": ["/openeo/__init__.py"], "/openeo/rest/job.py": ["/openeo/rest/rest_session.py", "/openeo/job.py"], "/openeo/rest/rest_session.py": ["/openeo/sessions.py"], "/openeo/imagecollection.py": ["/openeo/job.py"], "/examples/gee_example.py": [... |
33,990 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /manualtest_control_select.py | import pygame
import constants
from art import *
from control_select import *
SCREEN_WIDTH = 400
SCREEN_HEIGHT = 900
WHITE = (255,255,255)
BLACK = (0,0,0)
pygame.init()
screen = pygame.display.set_mode([constants.SCREEN_WIDTH,constants.SCREEN_HEIGHT])
art = Art()
clock = pygame.time.Clock()
done = False
my_select... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
33,991 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /music.py | import pygame
from file import *
class Music():
class __Music():
def __init__(self):
# needs songs
self.songlist = {"title_music": File().load("titlemusic"),
"new_title_music": File().load("newtitlemusic"),
"game_mu... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
33,992 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /test/test_keyboard_player.py | import unittest
import sys
sys.path.append('..')
import constants
from keyboard_player import *
from art import *
pygame.init()
pygame.display.init()
screen = pygame.display.set_mode([ constants.SCREEN_WIDTH,
constants.SCREEN_HEIGHT ])
class test_KeyboardPlayer(unittest.TestCas... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
33,993 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /soccer_goal.py | import pygame
import constants
from art import *
from actor import *
class SoccerGoal(Actor):
def __init__(self, goalNumber):
self.imgg = Art().get_image('tempGoal')
if goalNumber == 1:
spawn_place = [0, constants.SCREEN_HEIGHT/2]
elif goalNumber == 2:
... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
33,994 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /soccer_screen.py | import pygame
import random
import math
import constants
from level_manager import *
from art import *
from music import *
from sound import *
from keyboard_player import *
from joystick_player import *
from reticle import *
from ball import *
from game_screen import*
from math import *
class SoccerScreen(GameScree... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
33,995 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /control_select.py | import pygame
import constants
from level_manager import *
from art import *
class ControlSelect():
def __init__(self, player_count=2):
self.keyboard_img = Art().get_image("keyboard_select")
self.gamepad_img = Art().get_image("gamepad_select")
self.ready1_on = Art().get_image("ready1_o... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
33,996 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /player.py | import pygame
import constants
from art import *
from actor import *
class Player(Actor):
def __init__(self, playerNumber, hit_points = 5):
self.hitpoint = hit_points
self.control_index = -2
left_bound = 0
right_bound = constants.SCREEN_WIDTH/2
spawn_place = [0,0]
... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
33,997 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /shield.py | import pygame
import constants
import sys
sys.path.append('..')
from art import *
from actor import *
class Shield(Actor):
def __init__(self,x,y,playerNumber):
img = Art().get_image('shield1')
if playerNumber == 2:
img = Art().get_image('shield2')
if playerNumber != 1 and pl... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
33,998 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /gameover_screen.py | import pygame
import constants
from level_manager import *
from art import *
pygame.init()
class GameoverScreen():
def __init__(self):
font = pygame.font.SysFont('Calibri', 60, True, False)
self.gameover = font.render("Gameover",True,constants.RED)
def handle_keyboard_event(self, event):
... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
33,999 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /credit_screen.py | import pygame
import constants
from level_manager import *
from art import *
pygame.init()
class CreditsScreen():
def __init__(self):
self.joysticks = []
for i in range(0,pygame.joystick.get_count()):
pygame.joystick.Joystick(i).init()
self.joysticks.append(pygame.joystic... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,000 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /vertical_menu.py | import pygame
# an external event handler is required to activate selected menu item
# use VerticalMenu.get_selected() to retrieve selected item
# use VerticalMenu.get_joystick() to retrieve supported joystick
class VerticalMenu():
# PARAMETERS:
# rect:
# a pygame.Rect defining the position and boun... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,001 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /sound.py | import pygame
import random
from file import *
class Sound():
class __Sound:
def __init__(self):
self.announcer_volume = 1
# needs sfx
self.soundlist = {"balls_colliding": File().load("colliding"),
"hitting_border": File().load("border"),
... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,002 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /test/test_ball.py | import unittest
import sys
sys.path.append('..')
import constants
from actor import *
from ball import *
class test_Ball(unittest.TestCase):
# can be created
def test_init(self):
ball = Ball(pygame.image.load('missing.png'),0,0,1,1,1)
self.assertTrue(True)
# can be updated automatically... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,003 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /art.py | import pygame
import constants
from file import *
class Art():
class __Art:
def __init__(self):
# needs images
self.imgList = {'missing': File().load("missing"),
'targetBlue': File().load("targetBlue"),
... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,004 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /test_timer.py | import pygame
from timer import *
SCREEN_WIDTH = 400
SCREEN_HEIGHT = 300
WHITE = (255,255,255)
BLACK = (0,0,0)
pygame.init()
screen = pygame.display.set_mode([SCREEN_WIDTH,SCREEN_HEIGHT])
clock = pygame.time.Clock()
done = False
rect = pygame.Rect(0,0, 200, 200)
my_timer = Timer(rect,60)
while not done:
clo... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,005 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /controller_screen.py | import pygame
import constants
from level_manager import *
from art import *
from control_select import *
from game_screen import *
from soccer_screen import *
#from single_player import *
pygame.init()
pygame.joystick.init()
class ControllerScreen():
# game_mode:
# 0: standard versus
# 1: soccer
... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,006 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /test/test_actor.py | import unittest
import sys
from unittest.mock import patch
sys.path.append('..')
import constants
from actor import *
class test_Actor(unittest.TestCase):
# can be created
@patch('actor.pygame')
def test_init(self,mock_pygame):
actor = mock_pygame
self.assertTrue(True)
# can be creat... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,007 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /ball.py | import pygame
import constants
from actor import *
from art import *
class Ball(Actor):
def __init__(self,img,x,y,speed_x,speed_y, multiplier):
super().__init__(img,x,y)
self.multiplier = multiplier
self.set_speed(speed_x, speed_y)
def update(self):
self.rect.x += sel... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,008 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /joystick_player.py | import pygame
import constants
from player import *
class JoystickPlayer(Player):
def __init__(self, playerNumber, joystickNumber):
super().__init__(playerNumber)
self.control_index = joystickNumber
self.joystick = pygame.joystick.Joystick(joystickNumber)
self.joystick.in... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,009 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /timer.py | import pygame
import constants
from art import *
class Timer():
# PARAMETERS:
# start_time:
# the time, in seconds, at which the clock starts
# max_time:
# the upper limit of the clock time;
# not used when counting down from start_time to 0
# count_by_update_cycle:
# TRUE: t... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,010 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /test/test_reticle.py | import unittest
import pygame
import sys
sys.path.append('..')
import constants
from reticle import *
from art import *
pygame.init()
pygame.display.init()
art = Art()
class test_reticle(unittest.TestCase):
# can be created
def test_init(self):
ret = Reticle(0,0,1)
self.assertTrue(Tru... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,011 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /reticle.py | import pygame
import constants
import sys
sys.path.append('..')
from art import *
from file import *
from actor import *
class Reticle(Actor):
def __init__(self, x, y, playerNumber):
img = Art().get_image('reticle1')
if playerNumber == 2:
img = Art().get_image('reticle2')
if... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,012 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /keyboard_player.py | import pygame
import constants
from player import *
class KeyboardPlayer(Player):
def __init__(self, playerNumber):
super().__init__(playerNumber)
self.top_speed = constants.KEYBOARD_PLAYER_SPEED
self.control_index = -1
def handle_event(self, event):
if event.typ... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,013 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /test/test_vertical_menu.py | import unittest
import pygame
import sys
sys.path.append('..')
import constants
from vertical_menu import *
from art import *
art = Art()
pygame.init()
pygame.display.init()
SCREEN_WIDTH = 400
SCREEN_HEIGHT = 300
screen = pygame.display.set_mode([ SCREEN_WIDTH,
SCREEN_HEIGHT ]... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,014 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /test/test_player.py | import unittest
import pygame
import sys
sys.path.append('..')
import constants
from player import *
from art import *
art = Art()
pygame.init()
pygame.display.init()
screen = pygame.display.set_mode([ constants.SCREEN_WIDTH,
constants.SCREEN_HEIGHT ])
class test_player(unitte... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,015 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /howtoplay_screen.py | import pygame
import constants
from level_manager import *
from music import *
from art import *
pygame.init()
class HowtoplayScreen():
def __init__(self):
self.joysticks = []
for i in range(0,pygame.joystick.get_count()):
pygame.joystick.Joystick(i).init()
self.joysticks... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,016 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /actor.py | import pygame
import constants
class Actor(pygame.sprite.Sprite):
def __init__(self, img, x=0, y=0, rebound=0):
super().__init__()
self.rebound = rebound
self.image = img
self.image.set_colorkey(constants.TRANSPARENT_COLOR)
self.rect = self.image.get_rect()
... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,017 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /title_screen.py | import pygame
import constants
from level_manager import *
from credit_screen import *
from game_screen import *
from soccer_screen import *
from controller_screen import *
from howtoplay_screen import *
from art import *
from music import *
from vertical_menu import *
from sound import *
pygame.init()
pygame.joystic... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,018 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /test/template.py | import unittest
import sys
sys.path.append('..')
from level_manager import *
class test_(unittest.TestCase):
def test_init(self):
level_manager = LevelManager()
self.assertTrue(True)
if __name__ == '__main__':
unittest.main()
| {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,019 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /constants.py |
SCREEN_WIDTH = 1600
SCREEN_HEIGHT = 900
KEYBOARD_PLAYER_SPEED = 15
JOYSTICK_PLAYER_SPEED = KEYBOARD_PLAYER_SPEED + 2
DEADZONE = .1
JOYSTICK_RETICLE_DISTANCE = 400
SHIELD_DISTANCE = 80
SHOT_SPEED = 30
SHOT_DELAY = 300
PROMPT_DELAY = 1750
WHITE = (255,255,255)
BLACK = (0,0,0)
RED = (255,0,0)
BLUE = (54,124,... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,020 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /game_screen.py | import pygame
import random
import math
import constants
from level_manager import *
from art import *
from music import *
from sound import *
from keyboard_player import *
from joystick_player import *
from reticle import *
from shield import *
from ball import *
from vertical_menu import *
from timer import *
clas... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,021 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /main.py | import pygame
import constants
from level_manager import *
from title_screen import *
from file import *
from art import *
from sound import *
from music import *
pygame.init()
pygame.joystick.init()
screen = pygame.display.set_mode([constants.SCREEN_WIDTH,
constants.SCREEN_HEIGHT])
... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,022 | tienqpham/final-super-dodgeball-64 | refs/heads/master | /file.py | import os
import json
import sys
sys.path.append('..')
class File:
class __File:
def __init__(self):
self.config = json.load(open('data.json'))
def get_objects(self):
return list(self.config.keys())
def load(self, key):
if key in self.config:
... | {"/manualtest_control_select.py": ["/constants.py", "/art.py", "/control_select.py"], "/music.py": ["/file.py"], "/test/test_keyboard_player.py": ["/constants.py", "/keyboard_player.py", "/art.py"], "/soccer_goal.py": ["/constants.py", "/art.py", "/actor.py"], "/soccer_screen.py": ["/constants.py", "/art.py", "/music.p... |
34,051 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils_ken/log/__init__.py | from .getlog import get_logger
from .getlog import get_logger_console
from .getlog import get_logger_file | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,052 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils/utils_filterobject.py |
def filterSize(classesID, probs, rects, frame) :
classesIDN = []
probsN = []
rectsN = []
(HI,WI) = frame.shape[0:2]
wmax = WI // 3
hmax = HI // 3
for i, (x, y, w, h) in enumerate(rects) :
if (w < wmax) and (h < hmax) :
classesIDN.append(classesID[i])
probsN.append(probs[i])
rectsN.append(rects[... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,053 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils_ken/log/runlog.py | from getlog import get_logger
from getlog import get_logger_console
from getlog import get_logger_file
import time
import logging
def run() :
logname = 'runlog'
logfile = 'run.log'
runloger = get_logger_console(logname=logname)
# runloger = get_logger_file(logname=logname, logfile=logfile)
runloger.debug('start')... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,054 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils/utils_color.py | import cv2
import os
import cv2
import time
import numpy as np
COLOR_BLACK = (0, 0, 0)
COLOR_WHITE = (255, 255, 255)
COLOR_RED = (0, 0, 255)
COLOR_RED1 = (0, 125, 255)
COLOR_GREEN = (0, 255, 0)
COLOR_BLUE = (255, 0, 0)
COLOR_PURPLE = (255, 0, 255)
COLOR_PURPLE1 = (255, 2... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,055 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils/utils_label_xml.py | import os
import cv2
import time
import datetime
import numpy as np
def save_image(frame,image_url, cam_cfg_id) :
date_folder = datetime.datetime.now().strftime('%Y_%m_%d_%H_%M_%S')
ob_name = "f_{}_{}".format(cam_cfg_id, date_folder)
jpg_name = "{}.jpg".format(ob_name)
jpg_full = os.path.joi... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,056 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utilslegend/utils_draw_2way.py | import numpy as np
import cv2
from utilslegend.utils_color import COLOR_TABEL_LINE
from utilslegend.utils_color import COLOR_TABEL_OB
X0 = 30
Y0 = 30
d_row = 30
d_clo = 100
COLOR_WHITE = (255, 255, 255)
COLOR_RED = (0, 0, 255)
COLOR_GREEN = (0, 255, 0)
COLOR_BLUE = (255, 0, 0)
COLOR_PURPLE ... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,057 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utilslegend/utils_label_xml.py | import os
import cv2
import time
import datetime
import numpy as np
from pascal_voc_writer import Writer as WriterXML
# from detectmodel.SSD_Utils import *
from detectmodel.Yolo_Utils import *
def save_image(frame,image_url, cam_cfg_id) :
date_folder = datetime.datetime.now().strftime('%Y_%m_%d_%H_%M_%S')
ob_... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,058 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils_ken/video/runcam.py | import json
import cv2
from recapvideostream import RecapVideoStream
def main(cam_cfg) :
cam_cfg["step"] = 2
caps = RecapVideoStream(cam_cfg)
caps.start()
while True:
frame = caps.get_frame()
cv2.imshow("frame", frame)
k = cv2.waitKey(1) & 0xff
if k == ord('q') :
... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,059 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils/utils_polygon.py | from shapely.geometry import Point, Polygon
import cv2
import numpy as np
from skimage.draw import line, polygon, circle, ellipse
# func_note = '579,258,7,600,174,719,1266,719,1270,403,1056,253'
from utils.utils_color import COLOR_TABEL_LINE
from utils.utils_color import COLOR_TABEL_OB
def decode_note_counter_line(... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,060 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils/utils_mode_counter.py | COUNTER_ONEWAY1 = 1
COUNTER_ONEWAY2 = 2
COUNTER_ONEWAY3 = 3
COUNTER_ONEWAY4 = 4
POLYGON_FILTER = 5
COUNTER_ONEWAY_IDS = [COUNTER_ONEWAY1, COUNTER_ONEWAY2, COUNTER_ONEWAY3, COUNTER_ONEWAY4]
POLYGON_COUNTER_IDS = [11, 12, 13, 14]
| {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,061 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils_ken/video/video_stream.py | '''
start a thread capture frames
save frames to redis server
'''
import sys
import traceback
from queue import Queue
from threading import Thread
import threading
import cv2 as cv
import logging
import datetime
import time
# sys.path.append('../')
from utils_ken.log.getlog import get_logger
log_cam = get_logger... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,062 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils/CheckSideUtils.py |
class CheckSideLine :
def __init__(self, line, point1, point2) :
self.__line = self.__lineFrompoint(line[:2],line[2:])
self.point1 = point1
self.point2 = point2
self.distp1 = self.__distance(self.point1)
self.distp2 = self.__distance(self.point2)
def __line... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,063 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /detectmodel/setting.py | # engine
RUN_MODE_THREAD = False
RESIZE_FACTOR = 0.5
DISPLAY_DETECT_FRAME_ONLY = False
DISPLAY_TRACK_INDEX = False
SAVE_VIDEO = True
# detector
DETECT_ENABLE = True
DETECTION_THRESHOLD = 0.1
# tracker
TRACKER_THRESHOLD_DISTANCE = 100 # 90
TRACKER_BUFFER_LENGTH = 100
TRACKER_KEEP_LENGTH = 5
DISTANCE_MARGIN_IN = 20
DI... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,064 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils_machine.py | ROOT_PATH = '.'
excels_output = '{}/output/excel_export'.format(ROOT_PATH)
videos_output = '{}/output/videos'.format(ROOT_PATH)
images_output = '{}/output/image_xml'.format(ROOT_PATH)
# tree folder in local machine
COMPUTER_ID = 7
COMPUTER_NAME = "Legend_raspberry"
| {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,065 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils/utils_counter.py | from utils.CheckSideUtils import CheckSideLine
from shapely.geometry import Point, Polygon
class Counter_Polygon() :
def __init__(self, coords, maxlist = 100) :
self.point_polygon = coords
self.polygon = Polygon(coords)
self.counter = 0
self.listObject... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,066 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils/utils_draw_2way.py | import numpy as np
import cv2
from utils.utils_color import COLOR_TABEL_LINE
from utils.utils_color import COLOR_TABEL_OB
X0 = 30
Y0 = 30
d_row = 35
d_clo = 70
COLOR_WHITE = (255, 255, 255)
COLOR_RED = (0, 0, 255)
COLOR_GREEN = (0, 255, 0)
COLOR_BLUE = (255, 0, 0)
COLOR_PURPLE = (255, 0, 25... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,067 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utilslegend/utils_draw_polygon.py | import numpy as np
import cv2
from utilslegend.utils_color import COLOR_TABEL_LINE
from utilslegend.utils_color import COLOR_TABEL_OB
X0 = 30
Y0 = 30
d_row = 30
d_clo = 100
COLOR_WHITE = (255, 255, 255)
COLOR_RED = (0, 0, 255)
COLOR_GREEN = (0, 255, 0)
COLOR_BLUE = (255, 0, 0)
COLOR_PURPLE ... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,068 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils/utils_save_video.py | import os
import cv2
import numpy as np
import datetime
import threading
from utils_ken.log.getlog import get_logger
"""
This class will save small video at event have object action
"""
# ID for human
log_video = get_logger('video_write','./logs/video_write.log')
class SaveVideoHour :
def __init... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,069 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /clear_video.py | import sys
sys.path.append('../')
import os
import logging
import datetime
from utils_machine import videos_output
from utils_ken.log.getlog import get_logger
logging.basicConfig(level=logging.INFO,
format='%(asctime)-12s : %(name)-5s : [%(levelname)-5s] : %(message)5s')
clear_video = get_log... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,070 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils_ken/log/getlog.py | import sys
import logging
from logging.handlers import TimedRotatingFileHandler
FORMATLOG = logging.Formatter('%(asctime)-12s : %(name)-5s : [%(levelname)-5s] : %(message)5s')
# setup console logger
def get_console_handler() :
console_handler = logging.StreamHandler()
console_handler.setFormatter(FORMATLOG)
... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,071 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utilslegend/utils_mode_counter.py | COUNTER_ONEWAY1 = 1
COUNTER_ONEWAY2 = 5
COUNTER_ONEWAY3 = 6
COUNTER_ONEWAY4 = 7
COUNTER_TWOWAY1 = 5
COUNTER_TWOWAY2 = 9
COUNTER_TWOWAY3 = 10
COUNTER_TWOWAY4 = 11
COUNTER_ONEWAY_IDS = [COUNTER_ONEWAY1, COUNTER_ONEWAY2, COUNTER_ONEWAY3, COUNTER_ONEWAY4]
COUNTER_T... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,072 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utilslegend/utils_polygon.py | from shapely.geometry import Point, Polygon
import cv2
import numpy as np
from skimage.draw import line, polygon, circle, ellipse
# func_note = '579,258,7,600,174,719,1266,719,1270,403,1056,253'
from utilslegend.utils_color import COLOR_TABEL_LINE
from utilslegend.utils_color import COLOR_TABEL_OB
def decode_note_cou... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,073 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utils_excel/utils_excel.py | import os
import sys
sys.path.append('../')
import datetime
from openpyxl import Workbook
from openpyxl import load_workbook
from utils_ken.log.getlog import get_logger
from utilslegend.utils_mode_counter import POLYGON_COUNTER_IDS
from utilslegend.utils_mode_counter import COUNTER_TWOWAY_IDS
logexcel = get_lo... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,074 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /light/simple.py |
# data = {'msg': 'Hi!!!'}
# headers = {'Content-type': 'application/json', 'Accept': 'text/plain'}
# r = requests.post(url, data=json.dumps(data), headers=headers)
# url = "http://104.248.23.210/person/action?personId=personId&actionName=out"
# r = requests.post(url)
import requests
import json
placeId = 'ViKAVCAwm... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,075 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /trackmodel/centroidRecognize.py | # import the necessary packages
from scipy.spatial import distance as dist
from collections import OrderedDict
import numpy as np
import time
import cv2
# import matplotlib.pyplot as plt
import datetime
class Human(object):
def __init__(self, objectID, centroid, inputRect,image=None, color=None, gender=None) :
""... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,076 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /ubidots/utils_ubidots.py | import time
import requests
import math
import random
import numpy as np
import threading
import datetime
from utils_ken.log.getlog import get_logger
from utils import Conf
logubidot_line = get_logger('ubidot','./logs/ubidot.log')
class Api_Ubidots() :
def __init__(self, conf) :
self.conf = co... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,077 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /light/lightapi.py | import time
import requests
import math
import random
import numpy as np
import threading
import datetime
from utils_ken.log.getlog import get_logger
from utils import Conf
light = get_logger('light','./logs/light.log')
class ApiLight() :
def __init__(self, conf) :
self.conf = conf
sel... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,078 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /core/Core_theard.py | import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
from utils_machine import videos_output
from utils_machine import images_output
from trackmodel.centroidRecognize import RdfTracker
from threading import Thread
from queue import Queue
import datetime
from utils_ken.log.getlog import get_logger
from utils_ken.video.r... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,079 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /run_apps.py | import os
import json
from utils_ken.log.getlog import get_logger
from core.Core_theard import Core
from flask import Response
from flask import Flask
from flask import render_template
import threading
from utils import Conf
from queue import Queue
from utils.utils_polygon import decode_note_counter
from utils.ut... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,080 | edigomes/jetson_people_counter_head_detection | refs/heads/master | /utilslegend/utils_color.py | import cv2
# from detectmodel.SSD_Utils import LABELS
from detectmodel.Yolo_Utils import LABELS
# from Yolo_Utils import LABELS
import os
import cv2
import time
import numpy as np
COLOR_BLACK = (0, 0, 0)
COLOR_WHITE = (255, 255, 255)
COLOR_RED = (0, 0, 255)
COLOR_RED1 = (0, 125, 255)
COLO... | {"/utils_ken/log/__init__.py": ["/utils_ken/log/getlog.py"], "/utilslegend/utils_draw_2way.py": ["/utilslegend/utils_color.py"], "/utils/utils_polygon.py": ["/utils/utils_color.py"], "/utils_ken/video/video_stream.py": ["/utils_ken/log/getlog.py"], "/utils/utils_counter.py": ["/utils/CheckSideUtils.py"], "/utils/utils_... |
34,085 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /src/features/group_and_compute_distances.py | import pandas as pd
from haversine import haversine_vector
from pandarallel import pandarallel
from src.context import ctx
from src.config import params
def process_one_user(df_one_user):
df_one_user = df_one_user.sort_values("timestamp")
df_one_user["dist"] = 0
geopositions = df_one_user[["long", "lat"]... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,086 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /src/features/categorize_geoposition.py | import pandas as pd
from src.context import ctx
from src.config import params
def categorize_geoposition(df):
result = df[[]].copy()
result["round_long"] = df["long"].round(params.geoposition.round_precision).astype(str)
result["round_lat"] = df["lat"].round(params.geoposition.round_precision).astype(str)... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,087 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /serving/backend/main.py | import random
from typing import Optional, List
from glob import glob
from time import sleep
from fastapi import FastAPI
import imagesize
app = FastAPI()
available_footage = list(glob("/footage/*.jpg")) + list(glob("../footage/*.jpg"))
available_footage = [i for i in available_footage if "lazy" not in i]
FIXED_WIDT... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,088 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /src/features/split_data_by_time.py | import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
from src.context import ctx
from src.config import params
def split_data(df):
quantile = params.split.time_based_train_size
dt = pd.to_datetime(df.timestamp)
threshold = pd.to_datetime(np.quantile(dt.values.astype(... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,089 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /serving/worker/main.py | from typing import Optional, List
from fastapi import FastAPI
app = FastAPI()
@app.post("/api/predict")
def read_item(items: List[str]):
return {"status": "ok", "items": ["1", "2", "3"]}
| {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,090 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /src/models/lstm/data.py | import pandas as pd
import pytorch_lightning as pl
import torch
from torch.utils.data import DataLoader
from torch.nn.utils.rnn import pad_sequence, pack_padded_sequence
from src.context import ctx
from src.config import params, config
def _extract_key_from_dict_list(d, key):
return [i[key] for i in d]
def _pad... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,091 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /src/models/lstm/model.py | import numpy as np
import pandas as pd
import pytorch_lightning as pl
from sklearn.metrics import top_k_accuracy_score
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.optim import Adam
from torch.optim.lr_scheduler import CosineAnnealingWarmRestarts, ReduceLROnPlateau
from torch.nn.utils.... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,092 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /src/models/lstm/train.py | import pickle
import pytorch_lightning as pl
from src.models.lstm.data import BrightkiteDataModule
from src.models.lstm.model import LSTMModel
from src.logger import init_logger
from src.config import params
from src.utils.lightning import DVCLiveCompatibleModelCheckpoint, DVCLiveNextStepCallback
def train():
in... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,093 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /setup.py | import setuptools
setuptools.setup(
name="src",
packages=setuptools.find_packages(),
install_requires=[
"attrs",
"python-box",
"rich",
"pandarallel",
"haversine",
"torch",
"pytorch_lightning",
"pandas",
"numpy",
"scikit-learn",... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,094 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /src/data/filter_by_frequency.py | import pandas as pd
from src.context import ctx
from src.config import params
def filter_by_frequency(df):
deduplicated = df.drop_duplicates(
subset=["userId", "loc_id"],
keep="first"
)
location_to_unique_visitors_count = (
deduplicated
.groupby("loc_id")
.agg({"us... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,095 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /src/features/label_encode.py | import pickle
import pandas as pd
from sklearn.preprocessing import LabelEncoder
from src.context import ctx
from src.config import params
def label_encode(df, encoders=None):
result = df.copy()
encoders = encoders or dict()
for col in ["userId", "loc_id", "geo_place"]:
if col in encoders:
... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,096 | sirius-tinkoff-recsys-team/recsys-project | refs/heads/main | /src/features/split_data.py | import pandas as pd
from sklearn.model_selection import train_test_split
from src.context import ctx
from src.config import params
def split_data(df):
unique_users = df.index.get_level_values(0).unique()
users_train, users_test = train_test_split(
unique_users,
test_size=params.split.test_siz... | {"/src/models/lstm/train.py": ["/src/models/lstm/data.py", "/src/models/lstm/model.py"]} |
34,132 | arturkaa231/clickhouse_api | refs/heads/master | /WV/migrations/0011_auto_20170807_1137.py | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-08-07 11:37
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('WV', '0010_auto_20170725_1353'),
]
operations = [
... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,133 | arturkaa231/clickhouse_api | refs/heads/master | /spyrecorder/urls.py | from django.conf.urls import url
from spyrecorder import views
urlpatterns = [
url(r'^',views.AddCH, name='AddCH'),
]
| {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,134 | arturkaa231/clickhouse_api | refs/heads/master | /WV/apps.py | from django.apps import AppConfig
class WvConfig(AppConfig):
name = 'WV'
| {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,135 | arturkaa231/clickhouse_api | refs/heads/master | /log_downloader.py | from lxml import etree from time import time from datetime import
datetime,timedelta import xml.etree.ElementTree as ET from
infi.clickhouse_orm import models as md from infi.clickhouse_orm import
fields as fd from infi.clickhouse_orm import engines as en from
infi.clickhouse_orm.database import Database import sys... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,136 | arturkaa231/clickhouse_api | refs/heads/master | /WV/migrations/0008_auto_20170724_1635.py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-07-24 13:35
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('WV', '0007_auto_20170724_1624'),
]
operations = [
migrations.RenameField(
... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,137 | arturkaa231/clickhouse_api | refs/heads/master | /test.py | import json
import requests
import time
from datetime import datetime, timedelta
from io import BytesIO
import pandas as pd
from infi.clickhouse_orm import models as md
from infi.clickhouse_orm import fields as fd
from infi.clickhouse_orm import engines as en
from infi.clickhouse_orm.database import Database
import ppr... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,138 | arturkaa231/clickhouse_api | refs/heads/master | /WV/migrations/0012_auto_20170808_0818.py | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-08-08 08:18
from __future__ import unicode_literals
import django.core.files.storage
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('WV', '0011_auto_20170807_1137'),
]
operations = [
... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,139 | arturkaa231/clickhouse_api | refs/heads/master | /Word2Vec/settings.py | """
Django settings for Word2Vec project.
Generated by 'django-admin startproject' using Django 1.10.5.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
import os... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,140 | arturkaa231/clickhouse_api | refs/heads/master | /spyrecorder/views.py | from django.shortcuts import render,render_to_response
import json
from django.views.decorators.csrf import csrf_exempt
from django.http import JsonResponse
from time import time
import datetime
from infi.clickhouse_orm import models as md
from infi.clickhouse_orm import fields as fd
from infi.clickhouse_orm import eng... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,141 | arturkaa231/clickhouse_api | refs/heads/master | /WV/migrations/0006_auto_20170724_1617.py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-07-24 13:17
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('WV', '0005_auto_20170724_1034'),
]
operations = [
... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,142 | arturkaa231/clickhouse_api | refs/heads/master | /WV/migrations/0015_options_preview.py | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-08-16 13:42
from __future__ import unicode_literals
import django.core.files.storage
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('WV', '0014_auto_20170815_1048'),
]
operations = [
... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,143 | arturkaa231/clickhouse_api | refs/heads/master | /api/forms.py | from django.forms import ModelForm,fields
from django import forms
class RequestForm(forms.Form):
flat=forms.CharField(required=False)
sort_order=forms.CharField(required=False)
limit=forms.IntegerField(required=False)
offset=forms.IntegerField(required=False)
dimensions=forms.CharField(required=False)
period=for... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,144 | arturkaa231/clickhouse_api | refs/heads/master | /WV/migrations/0017_imageoptions_num_neighbors.py | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-08-29 11:57
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('WV', '0016_data_data_model'),
]
operations = [
migrations.AddField(
... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,145 | arturkaa231/clickhouse_api | refs/heads/master | /WV/migrations/0009_auto_20170725_1117.py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-07-25 08:17
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('WV', '0008_auto_20170724_1635'),
]
operations = [
migrations.CreateModel(
... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,146 | arturkaa231/clickhouse_api | refs/heads/master | /WV/migrations/0014_auto_20170815_1048.py | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-08-15 10:48
from __future__ import unicode_literals
import django.core.files.storage
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('WV', '0013_options_num_cluste... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,147 | arturkaa231/clickhouse_api | refs/heads/master | /api/urls.py | from django.conf.urls import url
from api import views
urlpatterns=[
url(r'^stat/segment_stat/*$',views.segment_stat, name='segment_stat'),
url(r'^diagram_stat/$',views.diagram_stat, name='diagram_stat'),
url(r'^stat/$',views.CHapi, name='CHapi'),
]
| {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,148 | arturkaa231/clickhouse_api | refs/heads/master | /WV/views.py | from django.shortcuts import render
from wsgiref.util import FileWrapper
from django.http.response import HttpResponse, Http404
from django.template.loader import get_template
from django.template import Context
from django.shortcuts import render_to_response, redirect
from django.template.context_processors import csr... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,149 | arturkaa231/clickhouse_api | refs/heads/master | /WV/forms.py | from django.forms import ModelForm, fields
from WV.models import Data,Options,Tags,ImageOptions
from Word2Vec import settings
from uuid import uuid4
import os.path
from django import forms
class EnterOptions(ModelForm):
class Meta:
model = Options
fields = ['size','win','minc','cbow','skipgr']
... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,150 | arturkaa231/clickhouse_api | refs/heads/master | /WV/migrations/0010_auto_20170725_1353.py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-07-25 10:53
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('WV', '0009_auto_20170725_1117'),
]
operations = [
... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,151 | arturkaa231/clickhouse_api | refs/heads/master | /Word2Vec/gunicorn.conf.py | bind = '127.0.0.1:8001'
workers = 10
threads = 10
user = "www-data"
| {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,152 | arturkaa231/clickhouse_api | refs/heads/master | /spyrecorder/apps.py | from django.apps import AppConfig
class SpyrecorderConfig(AppConfig):
name = 'spyrecorder'
| {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,153 | arturkaa231/clickhouse_api | refs/heads/master | /loginsys/views.py | from django.shortcuts import render_to_response, redirect
from django.contrib import auth
from django.template.context_processors import csrf
from django.contrib.auth.forms import UserCreationForm
# Create your views here.
def login(request):
args={}
args.update(csrf(request))
if request.POST:
u... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
34,154 | arturkaa231/clickhouse_api | refs/heads/master | /WV/migrations/0016_data_data_model.py | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-08-23 12:49
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('WV', '0015_options_preview'),
]
operations = [
migrations.AddField(
... | {"/spyrecorder/views.py": ["/spyrecorder/CHmodels.py"], "/WV/views.py": ["/WV/models.py", "/WV/forms.py", "/Word2Vec/settings.py"], "/WV/forms.py": ["/WV/models.py"], "/api/views.py": ["/Word2Vec/settings.py"], "/WV/models.py": ["/Word2Vec/settings.py"], "/WV/admin.py": ["/WV/models.py"]} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.