index int64 | repo_name string | branch_name string | path string | content string | import_graph string |
|---|---|---|---|---|---|
2,401 | aharley/neural_3d_mapping | refs/heads/master | /archs/encoder2d.py | import torch
import torch.nn as nn
# import hyperparams as hyp
# from utils_basic import *
class Skipnet2d(nn.Module):
def __init__(self, in_chans, mid_chans=64, out_chans=1):
super(Skipnet2d, self).__init__()
conv2d = []
conv2d_transpose = []
up_bn = []
self.down_in_dims ... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,402 | aharley/neural_3d_mapping | refs/heads/master | /pretrained_nets_carla.py | ckpt = '02_s2_m128x32x128_p64x192_1e-3_F2_d32_F3_d32_s.01_O_c1_s.01_V_d32_e1_E2_e.1_n4_d32_c1_E3_n2_c1_mags7i3t_sta41'
ckpt = '02_s2_m128x32x128_1e-3_F3_d32_s.01_O_c2_s.1_E3_n2_c.1_mags7i3t_sta48'
feat3d_init = ckpt
feat3d_dim = 32
occ_init = ckpt
| {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,403 | aharley/neural_3d_mapping | refs/heads/master | /main.py | from model_carla_static import CARLA_STATIC
from model_carla_ego import CARLA_EGO
from model_carla_det import CARLA_DET
import hyperparams as hyp
import os
import logging
logger = logging.Logger('catch_all')
def main():
checkpoint_dir_ = os.path.join("checkpoints", hyp.name)
if hyp.do_carla_static:
... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,404 | aharley/neural_3d_mapping | refs/heads/master | /nets/flownet.py | import torch
import torch.nn as nn
import torch.nn.functional as F
# from spatial_correlation_sampler import SpatialCorrelationSampler
import numpy as np
# import sys
# sys.path.append("..")
import archs.encoder3D
import hyperparams as hyp
import utils_basic
import utils_improc
import utils_misc
import utils_samp
imp... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,405 | aharley/neural_3d_mapping | refs/heads/master | /archs/bottle2D.py | import torch
import torch.nn as nn
import time
# import hyperparams as hyp
# from utils_basic import *
import torch.nn.functional as F
class Bottle2D(nn.Module):
def __init__(self, in_channel, pred_dim, chans=64):
super(Bottle2D, self).__init__()
conv2d = []
# self.out_chans = [chans, 2*ch... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,406 | aharley/neural_3d_mapping | refs/heads/master | /nets/emb2dnet.py | import torch
import torch.nn as nn
import torch.nn.functional as F
import sys
sys.path.append("..")
import archs.encoder2d as encoder2d
import hyperparams as hyp
import utils.basic
import utils.misc
import utils.improc
class Emb2dNet(nn.Module):
def __init__(self):
super(Emb2dNet, self).__init__()
... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,407 | aharley/neural_3d_mapping | refs/heads/master | /nets/egonet.py | import numpy as np
import hyperparams as hyp
import torch
import torch.nn as nn
import torch.nn.functional as F
import torchvision
import torchvision.ops as ops
import utils.basic
import utils.improc
import utils.geom
import utils.misc
import utils.samp
EPS = 1e-6
# acknowledgement:
# Niles Christensen and Sohil Sam... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,408 | aharley/neural_3d_mapping | refs/heads/master | /nets/viewnet.py | import torch
import torch.nn as nn
import torch.nn.functional as F
import sys
sys.path.append("..")
import archs.renderer
import hyperparams as hyp
from utils.basic import *
import utils.improc
import utils.basic
import utils.misc
import utils.geom
class ViewNet(nn.Module):
def __init__(self):
super(View... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,409 | aharley/neural_3d_mapping | refs/heads/master | /exp_base.py | import pretrained_nets_carla as pret_carla
exps = {}
groups = {}
############## training settings ##############
groups['train_feat3d'] = [
'do_feat3d = True',
'feat3d_dim = 32',
# 'feat3d_smooth_coeff = 0.01',
]
groups['train_det'] = [
'do_det = True',
'det_prob_coeff = 1.0',
'det_reg_coeff =... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,410 | aharley/neural_3d_mapping | refs/heads/master | /archs/pixelshuffle3d.py |
'''
reference: http://www.multisilicon.com/blog/a25332339.html
'''
import torch.nn as nn
class PixelShuffle3d(nn.Module):
'''
This class is a 3d version of pixelshuffle.
'''
def __init__(self, scale):
'''
:param scale: upsample scale
'''
super().__init__()
self.... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,411 | aharley/neural_3d_mapping | refs/heads/master | /nets/emb3dnet.py | import torch
import torch.nn as nn
import torch.nn.functional as F
import sys
sys.path.append("..")
import hyperparams as hyp
import utils.improc
import utils.misc
import utils.vox
import utils.basic
class Emb3dNet(nn.Module):
def __init__(self):
super(Emb3dNet, self).__init__()
print('Emb3dNet.... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,412 | aharley/neural_3d_mapping | refs/heads/master | /exp_carla_det.py | from exp_base import *
############## choose an experiment ##############
current = 'det_builder'
current = 'det_trainer'
mod = '"det00"' # go
mod = '"det01"' # rescore with inbound
mod = '"det02"' # show scores
mod = '"det03"' # show bev too
mod = '"det04"' # narrower bounds, to see
mod = '"det05"' # print scoreli... | {"/model_carla_det.py": ["/hyperparams.py", "/nets/detnet.py"], "/model_carla_ego.py": ["/hyperparams.py", "/nets/egonet.py"], "/exp_carla_static.py": ["/exp_base.py"], "/model_carla_static.py": ["/hyperparams.py", "/nets/emb2dnet.py", "/nets/emb3dnet.py", "/nets/viewnet.py"], "/nets/detnet.py": ["/hyperparams.py", "/a... |
2,503 | darcwader/sdcn_p4_advanced_lane_finding | refs/heads/master | /lane.py | from methods import *
from slidingwindow import *
l = Lane()
def frame(img):
binary_warped = l.sliding_window(img)
warp = fast_warp_lane(binary_warped)
out = cv2.addWeighted(img, 1.0, warp, 0.5, 0)
return out
def frame_convolution(img):
res = apply_thresholds(img)
res_rgb = np.dstack((res*2... | {"/lane.py": ["/methods.py"], "/run_1b_undistort.py": ["/methods.py"], "/run_1_undistort.py": ["/methods.py"], "/run_6_image.py": ["/methods.py", "/methods_sliding_window.py"], "/run_3_warping.py": ["/methods.py"], "/methods_sliding_window.py": ["/methods.py"], "/run_7_video.py": ["/methods.py", "/methods_sliding_windo... |
2,504 | darcwader/sdcn_p4_advanced_lane_finding | refs/heads/master | /run_1b_undistort.py | from methods import *
import cv2
#load calibration
mtx, dist = load_calibration()
test_image = cv2.imread('test_images/test4.jpg')
test_image = test_image[..., ::-1]
undist = cv2.undistort(test_image, mtx, dist)
plot_images_save('output_images/1b_undistort.png', [ [test_image, undist] ])
| {"/lane.py": ["/methods.py"], "/run_1b_undistort.py": ["/methods.py"], "/run_1_undistort.py": ["/methods.py"], "/run_6_image.py": ["/methods.py", "/methods_sliding_window.py"], "/run_3_warping.py": ["/methods.py"], "/methods_sliding_window.py": ["/methods.py"], "/run_7_video.py": ["/methods.py", "/methods_sliding_windo... |
2,505 | darcwader/sdcn_p4_advanced_lane_finding | refs/heads/master | /run_1_undistort.py | from methods import *
import cv2
#load calibration
mtx, dist = load_calibration()
test_image = cv2.imread('camera_cal/calibration1.jpg')
undist = cv2.undistort(test_image, mtx, dist)
plot_images_save('output_images/1_undistort.png', [ [test_image, undist] ])
| {"/lane.py": ["/methods.py"], "/run_1b_undistort.py": ["/methods.py"], "/run_1_undistort.py": ["/methods.py"], "/run_6_image.py": ["/methods.py", "/methods_sliding_window.py"], "/run_3_warping.py": ["/methods.py"], "/methods_sliding_window.py": ["/methods.py"], "/run_7_video.py": ["/methods.py", "/methods_sliding_windo... |
2,506 | darcwader/sdcn_p4_advanced_lane_finding | refs/heads/master | /run_6_image.py | from methods import *
from methods_sliding_window import *
import numpy as np
import matplotlib.pyplot as plt
from moviepy.editor import VideoFileClip
import glob
import cv2
import matplotlib.image as mpimg
lane = Lane()
def process(img):
out = lane.sliding_window(img)
out = fast_warp_lane(out)
out = cv2.... | {"/lane.py": ["/methods.py"], "/run_1b_undistort.py": ["/methods.py"], "/run_1_undistort.py": ["/methods.py"], "/run_6_image.py": ["/methods.py", "/methods_sliding_window.py"], "/run_3_warping.py": ["/methods.py"], "/methods_sliding_window.py": ["/methods.py"], "/run_7_video.py": ["/methods.py", "/methods_sliding_windo... |
2,507 | darcwader/sdcn_p4_advanced_lane_finding | refs/heads/master | /run_3_warping.py | from methods import *
import numpy as np
import matplotlib.pyplot as plt
from moviepy.editor import VideoFileClip
import glob
import cv2
import matplotlib.image as mpimg
def thresh(img, warp=False):
res = apply_thresholds(img)
binary = np.dstack((res*255, res*255, res*255))
binary_warped = binary
if w... | {"/lane.py": ["/methods.py"], "/run_1b_undistort.py": ["/methods.py"], "/run_1_undistort.py": ["/methods.py"], "/run_6_image.py": ["/methods.py", "/methods_sliding_window.py"], "/run_3_warping.py": ["/methods.py"], "/methods_sliding_window.py": ["/methods.py"], "/run_7_video.py": ["/methods.py", "/methods_sliding_windo... |
2,508 | darcwader/sdcn_p4_advanced_lane_finding | refs/heads/master | /calibrate.py | import numpy as np
import cv2
import glob
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import pickle
import matplotlib.image as mpimg
from moviepy.editor import VideoFileClip
nx = 9
ny = 6
# prepare object points, like (0,0,0), (1,0,0), (2,0,0) ....,(nx,ny,0)
objp = np.zeros((nx*ny,3), np.float32)... | {"/lane.py": ["/methods.py"], "/run_1b_undistort.py": ["/methods.py"], "/run_1_undistort.py": ["/methods.py"], "/run_6_image.py": ["/methods.py", "/methods_sliding_window.py"], "/run_3_warping.py": ["/methods.py"], "/methods_sliding_window.py": ["/methods.py"], "/run_7_video.py": ["/methods.py", "/methods_sliding_windo... |
2,509 | darcwader/sdcn_p4_advanced_lane_finding | refs/heads/master | /methods.py | import numpy as np
import cv2
import glob
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import pickle
from moviepy.editor import VideoFileClip
from tqdm import tqdm
def load_calibration():
calib = pickle.load(open("calibration.pkl", "rb"))
print("Calibration Loaded")
return calib[0], cal... | {"/lane.py": ["/methods.py"], "/run_1b_undistort.py": ["/methods.py"], "/run_1_undistort.py": ["/methods.py"], "/run_6_image.py": ["/methods.py", "/methods_sliding_window.py"], "/run_3_warping.py": ["/methods.py"], "/methods_sliding_window.py": ["/methods.py"], "/run_7_video.py": ["/methods.py", "/methods_sliding_windo... |
2,510 | darcwader/sdcn_p4_advanced_lane_finding | refs/heads/master | /methods_sliding_window.py |
import numpy as np
import cv2
import glob
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import pickle
from moviepy.editor import VideoFileClip
from tqdm import tqdm
from methods import *
class Line:
def __init__(self):
self.lane_inds = []
#polynomial coefficients averaged over ... | {"/lane.py": ["/methods.py"], "/run_1b_undistort.py": ["/methods.py"], "/run_1_undistort.py": ["/methods.py"], "/run_6_image.py": ["/methods.py", "/methods_sliding_window.py"], "/run_3_warping.py": ["/methods.py"], "/methods_sliding_window.py": ["/methods.py"], "/run_7_video.py": ["/methods.py", "/methods_sliding_windo... |
2,511 | darcwader/sdcn_p4_advanced_lane_finding | refs/heads/master | /run_7_video.py | from methods import *
from methods_sliding_window import *
import numpy as np
import matplotlib.pyplot as plt
from moviepy.editor import VideoFileClip
import glob
import cv2
import matplotlib.image as mpimg
lane = Lane()
def process(img):
undist = undistort(img)
out = lane.sliding_window(img)
out = fast_w... | {"/lane.py": ["/methods.py"], "/run_1b_undistort.py": ["/methods.py"], "/run_1_undistort.py": ["/methods.py"], "/run_6_image.py": ["/methods.py", "/methods_sliding_window.py"], "/run_3_warping.py": ["/methods.py"], "/methods_sliding_window.py": ["/methods.py"], "/run_7_video.py": ["/methods.py", "/methods_sliding_windo... |
2,512 | darcwader/sdcn_p4_advanced_lane_finding | refs/heads/master | /curvature.py | from methods import *
from methods_sliding_window import *
l = Lane()
def frame(img):
binary_warped = l.sliding_window(img)
warp = fast_warp_lane(binary_warped)
out = cv2.addWeighted(img, 1.0, warp, 0.5, 0)
l.draw_curvature(out)
return out
if __name__ == "__main__":
inp = "project_small"
... | {"/lane.py": ["/methods.py"], "/run_1b_undistort.py": ["/methods.py"], "/run_1_undistort.py": ["/methods.py"], "/run_6_image.py": ["/methods.py", "/methods_sliding_window.py"], "/run_3_warping.py": ["/methods.py"], "/methods_sliding_window.py": ["/methods.py"], "/run_7_video.py": ["/methods.py", "/methods_sliding_windo... |
2,525 | Juice178/song_visualization | refs/heads/master | /flaskr/plugin/Exceptions.py | class ToJsonException(Exception):
pass | {"/app.py": ["/flaskr/__init__.py"], "/flaskr/visualize.py": ["/flaskr/api/spotify.py", "/flaskr/plugin/Exceptions.py"]} |
2,526 | Juice178/song_visualization | refs/heads/master | /app.py | from flaskr import create_app
import os
env = os.getenv('env', 'prod')
app = create_app(env)
if __name__ == "__main__":
app.run(threaded=True) | {"/app.py": ["/flaskr/__init__.py"], "/flaskr/visualize.py": ["/flaskr/api/spotify.py", "/flaskr/plugin/Exceptions.py"]} |
2,527 | Juice178/song_visualization | refs/heads/master | /flaskr/__init__.py | import os
from flask import Flask
import logging
def create_app(env="stg"):
app = Flask(__name__, instance_relative_config=True)
app.config.from_mapping(
SECRET_KEY='dev',
DATABASE=os.path.join(app.instance_path, 'flaskr.sqlite'),
)
app.logger.setLevel(logging.ERROR)
if e... | {"/app.py": ["/flaskr/__init__.py"], "/flaskr/visualize.py": ["/flaskr/api/spotify.py", "/flaskr/plugin/Exceptions.py"]} |
2,528 | Juice178/song_visualization | refs/heads/master | /flaskr/visualize.py | from flask import (
Blueprint, flash,render_template, request
)
from spotipy import SpotifyException
from spotipy.oauth2 import SpotifyClientCredentials, SpotifyOauthError
from flaskr.api.spotify import Spotipy
from flaskr.plugin.Exceptions import ToJsonException
import pandas as pd
import logging
bp = Blueprin... | {"/app.py": ["/flaskr/__init__.py"], "/flaskr/visualize.py": ["/flaskr/api/spotify.py", "/flaskr/plugin/Exceptions.py"]} |
2,529 | Juice178/song_visualization | refs/heads/master | /flaskr/api/spotify.py | """A wrapper class for spotipy
"""
from spotipy import Spotify, SpotifyException
from spotipy.oauth2 import SpotifyClientCredentials, SpotifyOauthError
class Spotipy(object):
def __init__(self, client_id, client_secret):
self._sp = self.get_client(client_id, client_secret)
def get_client(self, client... | {"/app.py": ["/flaskr/__init__.py"], "/flaskr/visualize.py": ["/flaskr/api/spotify.py", "/flaskr/plugin/Exceptions.py"]} |
2,536 | blackout314/myrecon.py | refs/heads/master | /modules/resolve.py | # I don't believe in license.
# You can do whatever you want with this program.
import re
import sys
import subprocess
from colored import fg, bg, attr
from functools import partial
from multiprocessing.dummy import Pool
class Resolve( object ):
ips = []
n_ips = 0
dead_host = []
n_dead = 0
full_o... | {"/myrecon.py": ["/modules/app.py", "/modules/subdomains.py", "/modules/resolve.py"]} |
2,537 | blackout314/myrecon.py | refs/heads/master | /myrecon.py | #!/usr/bin/python3.5
# I don't believe in license.
# You can do whatever you want with this program.
t_available_mods = ['resolve', 'screenshot', 'quickhits', 'crlf', 'openredirect']
#
# init app
#
from modules import functions as func
from modules.app import App
app = App()
func.parseargs( app, t_available_mods )... | {"/myrecon.py": ["/modules/app.py", "/modules/subdomains.py", "/modules/resolve.py"]} |
2,538 | blackout314/myrecon.py | refs/heads/master | /modules/functions.py | # I don't believe in license.
# You can do whatever you want with this program.
import os
import sys
import argparse
import tldextract
def parseargs( app, t_available_mods ):
parser = argparse.ArgumentParser()
parser.add_argument( "-d","--domain",help="domain, single, multiples or files", action="append" )
... | {"/myrecon.py": ["/modules/app.py", "/modules/subdomains.py", "/modules/resolve.py"]} |
2,539 | blackout314/myrecon.py | refs/heads/master | /modules/subdomains.py | # I don't believe in license.
# You can do whatever you want with this program.
import re
import sys
import subprocess
from colored import fg, bg, attr
from functools import partial
from multiprocessing.dummy import Pool
class Subdomains( object ):
hosts = []
n_hosts = 0
def run( self, t_domains ):
... | {"/myrecon.py": ["/modules/app.py", "/modules/subdomains.py", "/modules/resolve.py"]} |
2,540 | blackout314/myrecon.py | refs/heads/master | /modules/app.py | # I don't believe in license.
# You can do whatever you want with this program.
import os
import sys
import time
from colored import fg, bg, attr
class App( object ):
mods = []
d_output = ''
f_domains = ''
f_hosts = ''
f_tmphosts = ''
f_dead = ''
f_ips = ''
f_urls ... | {"/myrecon.py": ["/modules/app.py", "/modules/subdomains.py", "/modules/resolve.py"]} |
2,541 | blackout314/myrecon.py | refs/heads/master | /modules/openredirect.py | # I don't believe in license.
# You can do whatever you want with this program.
import os
import sys
import subprocess
from colored import fg, bg, attr
def run( app ):
sys.stdout.write( '[+] running mod: openredirect\n' )
cmd = 'open-redirect.py -o ' + app.f_hosts + ' 2>&1 >/dev/null &'
os.system( cmd )... | {"/myrecon.py": ["/modules/app.py", "/modules/subdomains.py", "/modules/resolve.py"]} |
2,542 | blackout314/myrecon.py | refs/heads/master | /modules/screenshot.py | # I don't believe in license.
# You can do whatever you want with this program.
import os
import sys
import subprocess
from colored import fg, bg, attr
def run( app ):
sys.stdout.write( '[+] running mod: screenshots\n' )
cmd = 'EyeWitness --headless -f "' + app.f_urls + '" --user-agent "Mozilla/5.0 (X11; Lin... | {"/myrecon.py": ["/modules/app.py", "/modules/subdomains.py", "/modules/resolve.py"]} |
2,545 | doctor-budoka/shared-expenses-site | refs/heads/master | /expenses_app/group/group.py | from flask import render_template, redirect, url_for, flash, Blueprint
from flask_login import login_required, current_user
from expenses_app.group.forms import CreateGroup, AddUserToGroup, RemoveUserFromGroup, AddAccountToGroup, RemoveAccountFromGroup
from expenses_app.models import db, User, Group, Account
grp_... | {"/expenses_app/group/group.py": ["/expenses_app/group/forms.py", "/expenses_app/models.py"], "/expenses_app/commands.py": ["/expenses_app/models.py"], "/expenses_app/auth/auth.py": ["/expenses_app/__init__.py", "/expenses_app/auth/forms.py", "/expenses_app/models.py"], "/expenses_app/__init__.py": ["/expenses_app/mode... |
2,546 | doctor-budoka/shared-expenses-site | refs/heads/master | /expenses_app/auth/forms.py | from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, PasswordField
from wtforms.validators import InputRequired, Email, EqualTo
class LogInForm(FlaskForm):
email = StringField("Email", [
InputRequired(message="You must provide an email address to continue"),
Email(... | {"/expenses_app/group/group.py": ["/expenses_app/group/forms.py", "/expenses_app/models.py"], "/expenses_app/commands.py": ["/expenses_app/models.py"], "/expenses_app/auth/auth.py": ["/expenses_app/__init__.py", "/expenses_app/auth/forms.py", "/expenses_app/models.py"], "/expenses_app/__init__.py": ["/expenses_app/mode... |
2,547 | doctor-budoka/shared-expenses-site | refs/heads/master | /expenses_app/group/forms.py | from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, SelectField, FloatField, BooleanField
from wtforms.validators import InputRequired
class CreateGroup(FlaskForm):
name = StringField("Name", [InputRequired(message="You must provide a name for the group!")])
create = SubmitFie... | {"/expenses_app/group/group.py": ["/expenses_app/group/forms.py", "/expenses_app/models.py"], "/expenses_app/commands.py": ["/expenses_app/models.py"], "/expenses_app/auth/auth.py": ["/expenses_app/__init__.py", "/expenses_app/auth/forms.py", "/expenses_app/models.py"], "/expenses_app/__init__.py": ["/expenses_app/mode... |
2,548 | doctor-budoka/shared-expenses-site | refs/heads/master | /expenses_app/commands.py | import click
from flask import current_app as app
from expenses_app.models import db, AuthorisedEmail, User
@app.cli.command("reset-db")
def reset_db():
"""Used to reset the db for the app"""
click.echo("Resetting db...")
db.drop_all()
db.create_all()
click.echo("Done")
@app.cli.co... | {"/expenses_app/group/group.py": ["/expenses_app/group/forms.py", "/expenses_app/models.py"], "/expenses_app/commands.py": ["/expenses_app/models.py"], "/expenses_app/auth/auth.py": ["/expenses_app/__init__.py", "/expenses_app/auth/forms.py", "/expenses_app/models.py"], "/expenses_app/__init__.py": ["/expenses_app/mode... |
2,549 | doctor-budoka/shared-expenses-site | refs/heads/master | /expenses_app/models.py | import datetime as dt
from flask_sqlalchemy import SQLAlchemy
from werkzeug.security import generate_password_hash, check_password_hash
from flask_login import UserMixin
db = SQLAlchemy()
class AuthorisedEmail(db.Model):
email_id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.Stri... | {"/expenses_app/group/group.py": ["/expenses_app/group/forms.py", "/expenses_app/models.py"], "/expenses_app/commands.py": ["/expenses_app/models.py"], "/expenses_app/auth/auth.py": ["/expenses_app/__init__.py", "/expenses_app/auth/forms.py", "/expenses_app/models.py"], "/expenses_app/__init__.py": ["/expenses_app/mode... |
2,550 | doctor-budoka/shared-expenses-site | refs/heads/master | /config.py | from os import environ
from pathlib import Path
from dotenv import load_dotenv
BASE_DIRECTORY = Path(__file__).parent
load_dotenv(BASE_DIRECTORY / ".env")
class Config:
FLASK_ENV = "development"
TESTING = True
DEBUG = True
SECRET_KEY = environ.get("SECRET_KEY")
STATIC_FOLDER = "stati... | {"/expenses_app/group/group.py": ["/expenses_app/group/forms.py", "/expenses_app/models.py"], "/expenses_app/commands.py": ["/expenses_app/models.py"], "/expenses_app/auth/auth.py": ["/expenses_app/__init__.py", "/expenses_app/auth/forms.py", "/expenses_app/models.py"], "/expenses_app/__init__.py": ["/expenses_app/mode... |
2,551 | doctor-budoka/shared-expenses-site | refs/heads/master | /expenses_app/auth/auth.py | from flask import url_for, flash, render_template, make_response
from flask import Blueprint
from flask_login import login_user, login_required, logout_user
from werkzeug.utils import redirect
from expenses_app import db, login_manager
from expenses_app.auth.forms import LogInForm, Register
from expenses_app.mo... | {"/expenses_app/group/group.py": ["/expenses_app/group/forms.py", "/expenses_app/models.py"], "/expenses_app/commands.py": ["/expenses_app/models.py"], "/expenses_app/auth/auth.py": ["/expenses_app/__init__.py", "/expenses_app/auth/forms.py", "/expenses_app/models.py"], "/expenses_app/__init__.py": ["/expenses_app/mode... |
2,552 | doctor-budoka/shared-expenses-site | refs/heads/master | /expenses_app/__init__.py | from flask import Flask
from expenses_app.models import db
from flask_login import LoginManager
login_manager = LoginManager()
def create_app():
app = Flask(__name__, template_folder="templates")
app.config.from_object("config.Config")
db.init_app(app)
login_manager.init_app(app)
wi... | {"/expenses_app/group/group.py": ["/expenses_app/group/forms.py", "/expenses_app/models.py"], "/expenses_app/commands.py": ["/expenses_app/models.py"], "/expenses_app/auth/auth.py": ["/expenses_app/__init__.py", "/expenses_app/auth/forms.py", "/expenses_app/models.py"], "/expenses_app/__init__.py": ["/expenses_app/mode... |
2,622 | saadjansari/KymoAnalysis | refs/heads/main | /src/Features.py | #!/usr/bin/env python
import os, pdb
import numpy as np
from scipy import interpolate, signal
from .node_graph import Graph
import matplotlib.pyplot as plt
import math
import uuid
# Superclass for Poles and tracks that stores positional and intensity information
class Feature:
def __init__(self, time, position, i... | {"/src/Features.py": ["/src/node_graph.py"], "/src/smooth_test.py": ["/src/Kymograph.py"], "/src/Strain.py": ["/src/Load.py", "/src/Kymograph.py"], "/src/Kymograph.py": ["/src/node_graph.py", "/src/Features.py", "/src/ReadFiles.py"], "/KymographAnalysis.py": ["/src/Strain.py"], "/src/Track.py": ["/src/node_graph.py"], ... |
2,623 | saadjansari/KymoAnalysis | refs/heads/main | /src/smooth_test.py | #!/usr/bin/env python
import os, pdb
import matplotlib.pyplot as plt
import numpy as np
from pathlib import Path
from .Kymograph import *
import shutil
'''
Name: breakBipolar.py
Description: Plots the pole separation of a bipolar file
'''
folds = ['wild type']
savepath = Path('/Users/saadjansari/Documents/Projects/I... | {"/src/Features.py": ["/src/node_graph.py"], "/src/smooth_test.py": ["/src/Kymograph.py"], "/src/Strain.py": ["/src/Load.py", "/src/Kymograph.py"], "/src/Kymograph.py": ["/src/node_graph.py", "/src/Features.py", "/src/ReadFiles.py"], "/KymographAnalysis.py": ["/src/Strain.py"], "/src/Track.py": ["/src/node_graph.py"], ... |
2,624 | saadjansari/KymoAnalysis | refs/heads/main | /src/Strain.py | #!/usr/bin/env python
import os, pdb
from .Load import Load
from .Kymograph import Kymograph
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
import seaborn as sns
import math, random
import pickle
from pathlib import Path
from scipy import interpolate, signal
class Strain:
def __init__(sel... | {"/src/Features.py": ["/src/node_graph.py"], "/src/smooth_test.py": ["/src/Kymograph.py"], "/src/Strain.py": ["/src/Load.py", "/src/Kymograph.py"], "/src/Kymograph.py": ["/src/node_graph.py", "/src/Features.py", "/src/ReadFiles.py"], "/KymographAnalysis.py": ["/src/Strain.py"], "/src/Track.py": ["/src/node_graph.py"], ... |
2,625 | saadjansari/KymoAnalysis | refs/heads/main | /src/Kymograph.py | #!/usr/bin/env python
import os, pdb
import math
import numpy as np
from scipy import interpolate
from .node_graph import Graph
import matplotlib.pyplot as plt
from .Features import *
from .ReadFiles import *
'''
Name: Kymograph.py
Description: Parses general, poles and feature information for a single kymograph and... | {"/src/Features.py": ["/src/node_graph.py"], "/src/smooth_test.py": ["/src/Kymograph.py"], "/src/Strain.py": ["/src/Load.py", "/src/Kymograph.py"], "/src/Kymograph.py": ["/src/node_graph.py", "/src/Features.py", "/src/ReadFiles.py"], "/KymographAnalysis.py": ["/src/Strain.py"], "/src/Track.py": ["/src/node_graph.py"], ... |
2,626 | saadjansari/KymoAnalysis | refs/heads/main | /KymographAnalysis.py | #!/usr/bin/env python
import os, pdb, sys
import matplotlib.pyplot as plt
import matplotlib
import pandas as pd
import numpy as np
import seaborn as sns
import math, random
import glob, yaml, copy, shutil
from src.Strain import *
"""
Name: KymographAnalysis.py
Description: Parses and combines tracks from multiple ky... | {"/src/Features.py": ["/src/node_graph.py"], "/src/smooth_test.py": ["/src/Kymograph.py"], "/src/Strain.py": ["/src/Load.py", "/src/Kymograph.py"], "/src/Kymograph.py": ["/src/node_graph.py", "/src/Features.py", "/src/ReadFiles.py"], "/KymographAnalysis.py": ["/src/Strain.py"], "/src/Track.py": ["/src/node_graph.py"], ... |
2,627 | saadjansari/KymoAnalysis | refs/heads/main | /src/Track.py | #!/usr/bin/env python
import os, pdb
import numpy as np
from scipy import interpolate, signal
from .node_graph import Graph
import matplotlib.pyplot as plt
import math
import uuid
# Superclass for Poles and tracks that stores positional and intensity information
class Feature:
def __init__(self, time, position, i... | {"/src/Features.py": ["/src/node_graph.py"], "/src/smooth_test.py": ["/src/Kymograph.py"], "/src/Strain.py": ["/src/Load.py", "/src/Kymograph.py"], "/src/Kymograph.py": ["/src/node_graph.py", "/src/Features.py", "/src/ReadFiles.py"], "/KymographAnalysis.py": ["/src/Strain.py"], "/src/Track.py": ["/src/node_graph.py"], ... |
2,628 | saadjansari/KymoAnalysis | refs/heads/main | /src/node_graph.py | #!/usr/bin/env python
# Python program to print connected
# components in an undirected graph
# This code is contributed by Abhishek Valsan
# Updated by Saad Ansari for a directed graph application
import pdb
class Graph:
# init function to declare class variables
def __init__(self,V):
... | {"/src/Features.py": ["/src/node_graph.py"], "/src/smooth_test.py": ["/src/Kymograph.py"], "/src/Strain.py": ["/src/Load.py", "/src/Kymograph.py"], "/src/Kymograph.py": ["/src/node_graph.py", "/src/Features.py", "/src/ReadFiles.py"], "/KymographAnalysis.py": ["/src/Strain.py"], "/src/Track.py": ["/src/node_graph.py"], ... |
2,629 | saadjansari/KymoAnalysis | refs/heads/main | /src/ReadFiles.py | #!/usr/bin/env python
import os, pdb
import math
import numpy as np
from .Track import *
import matplotlib.pyplot as plt
def ReadTxt( fname, verbose=0):
# Read data from files and parse into general, poles and feature information
if verbose:
PrintFile( fname)
# Initialize lists
geninfo = []
... | {"/src/Features.py": ["/src/node_graph.py"], "/src/smooth_test.py": ["/src/Kymograph.py"], "/src/Strain.py": ["/src/Load.py", "/src/Kymograph.py"], "/src/Kymograph.py": ["/src/node_graph.py", "/src/Features.py", "/src/ReadFiles.py"], "/KymographAnalysis.py": ["/src/Strain.py"], "/src/Track.py": ["/src/node_graph.py"], ... |
2,630 | saadjansari/KymoAnalysis | refs/heads/main | /src/Load.py | #!/usr/bin/env python
import os, pdb
import yaml
import glob
'''
Name: Load.py
Description: loads and splits the tracks saved by the trackBuilder (kyman.mlapp) into general, poles and feature sections to be parsed by Kymograph.py
'''
# Class to load data from files
class Load:
def __init__(self, verbose=0):
... | {"/src/Features.py": ["/src/node_graph.py"], "/src/smooth_test.py": ["/src/Kymograph.py"], "/src/Strain.py": ["/src/Load.py", "/src/Kymograph.py"], "/src/Kymograph.py": ["/src/node_graph.py", "/src/Features.py", "/src/ReadFiles.py"], "/KymographAnalysis.py": ["/src/Strain.py"], "/src/Track.py": ["/src/node_graph.py"], ... |
2,631 | saadjansari/KymoAnalysis | refs/heads/main | /src/breakBipolar.py | #!/usr/bin/env python
import os, pdb
import matplotlib.pyplot as plt
import numpy as np
from pathlib import Path
from .Kymograph import *
import shutil
from random import sample
import seaborn as sns
import pandas as pd
from sklearn.preprocessing import StandardScaler
from sklearn.cluster import KMeans
from sklearn.mi... | {"/src/Features.py": ["/src/node_graph.py"], "/src/smooth_test.py": ["/src/Kymograph.py"], "/src/Strain.py": ["/src/Load.py", "/src/Kymograph.py"], "/src/Kymograph.py": ["/src/node_graph.py", "/src/Features.py", "/src/ReadFiles.py"], "/KymographAnalysis.py": ["/src/Strain.py"], "/src/Track.py": ["/src/node_graph.py"], ... |
2,635 | carina28/interactive-broker-python-api | refs/heads/master | /test_client.py | from ibw.client import IBClient
from ibw.configAlex import REGULAR_ACCOUNT, REGULAR_PASSWORD, REGULAR_USERNAME, PAPER_ACCOUNT, PAPER_PASSWORD, PAPER_USERNAME
# Create a new session of the IB Web API.
ib_client = IBClient(username = PAPER_USERNAME, password = PAPER_PASSWORD, account = PAPER_ACCOUNT)
# create a new ses... | {"/test_client.py": ["/ibw/client.py"]} |
2,636 | carina28/interactive-broker-python-api | refs/heads/master | /ibw/client.py | import os
import sys
import json
import time
import pathlib
import urllib
import requests
import subprocess
import certifi
import urllib3
from urllib3.exceptions import InsecureRequestWarning
urllib3.disable_warnings(category=InsecureRequestWarning)
http = urllib3.PoolManager(cert_reqs='CERT_REQUIRED',ca_certs=certifi... | {"/test_client.py": ["/ibw/client.py"]} |
2,637 | carina28/interactive-broker-python-api | refs/heads/master | /ibw/config.py | REGULAR_USERNAME = ''
REGULAR_PASSWORD = ''
REGULAR_ACCOUNT = ''
PAPER_USERNAME = ''
PAPER_PASSWORD = ''
PAPER_ACCOUNT = '' | {"/test_client.py": ["/ibw/client.py"]} |
2,638 | safwanvk/shop | refs/heads/master | /shop/products/forms.py | from wtforms import Form, BooleanField, StringField, PasswordField, validators, IntegerField, TextAreaField, \
DecimalField
from flask_wtf.file import FileAllowed, FileRequired, FileField
class AddProductForm(Form):
name = StringField('Name', [validators.DataRequired()])
price = DecimalField('Price', [val... | {"/shop/products/routes.py": ["/shop/__init__.py", "/shop/products/forms.py"], "/shop/admin/routes.py": ["/shop/__init__.py"]} |
2,639 | safwanvk/shop | refs/heads/master | /shop/__init__.py | import os
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_bcrypt import Bcrypt
from flask_uploads import IMAGES, UploadSet, configure_uploads, patch_request_class
BASE_DIRS = os.path.abspath(os.path.dirname(__file__))
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite://... | {"/shop/products/routes.py": ["/shop/__init__.py", "/shop/products/forms.py"], "/shop/admin/routes.py": ["/shop/__init__.py"]} |
2,640 | safwanvk/shop | refs/heads/master | /shop/products/routes.py | import secrets
from flask import render_template, request, flash, url_for, session
from shop import app
from werkzeug.utils import redirect
from .forms import AddProductForm
from .models import Brand, Category, Product
from .. import db, photos
@app.route('/add-brand', methods=['GET', 'POST'])
def add_brand():
... | {"/shop/products/routes.py": ["/shop/__init__.py", "/shop/products/forms.py"], "/shop/admin/routes.py": ["/shop/__init__.py"]} |
2,641 | safwanvk/shop | refs/heads/master | /shop/admin/routes.py | from flask import Flask, render_template, request, flash, url_for, session
from werkzeug.utils import redirect
from .forms import RegistrationForm, LoginForm
from .models import User
from .. import app, db, bcrypt
from ..products.models import Product, Brand, Category
@app.route('/')
def index():
return render_... | {"/shop/products/routes.py": ["/shop/__init__.py", "/shop/products/forms.py"], "/shop/admin/routes.py": ["/shop/__init__.py"]} |
2,642 | praneshsaminathan/url_shortener | refs/heads/main | /core/serializers.py | from django.utils.translation import ugettext_lazy as _
from rest_framework import serializers
from core.models import URLInfo
class ShorterIRLSerializer(serializers.Serializer):
url = serializers.URLField(max_length=250, min_length=None, allow_blank=False, label=_('URL'), help_text=_('URL'))
| {"/core/serializers.py": ["/core/models.py"], "/core/urls.py": ["/shorturl/utils/apps.py", "/core/views.py"], "/core/views.py": ["/core/serializers.py", "/core/models.py"]} |
2,643 | praneshsaminathan/url_shortener | refs/heads/main | /core/urls.py | from django.urls import path, include
from shorturl.utils.apps import get_api_url
from .views import (
ShorterAPIView, GetFullURLAPIView
)
urlpatterns = [
path(get_api_url(url_name='url-shorten'), ShorterAPIView.as_view(), name='api-url_shorten'),
path(get_api_url(url_name='full-url/<str:url_hash>'), GetF... | {"/core/serializers.py": ["/core/models.py"], "/core/urls.py": ["/shorturl/utils/apps.py", "/core/views.py"], "/core/views.py": ["/core/serializers.py", "/core/models.py"]} |
2,644 | praneshsaminathan/url_shortener | refs/heads/main | /core/views.py | from hashlib import md5
from django.shortcuts import render
from rest_framework.permissions import AllowAny
from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
from core.serializers import ShorterIRLSerializer
from .models import URLInfo
class Shor... | {"/core/serializers.py": ["/core/models.py"], "/core/urls.py": ["/shorturl/utils/apps.py", "/core/views.py"], "/core/views.py": ["/core/serializers.py", "/core/models.py"]} |
2,645 | praneshsaminathan/url_shortener | refs/heads/main | /shorturl/utils/apps.py |
from django.conf import settings
def get_api_url(name='api', version=settings.API_VERSION, app_name='', url_name=''):
url = '{0}/{1}/'.format(name, version)
if app_name and url_name:
url = '{0}{1}/{2}/'.format(url, app_name, url_name)
elif app_name and not url_name:
url = '{0}{1}/'.form... | {"/core/serializers.py": ["/core/models.py"], "/core/urls.py": ["/shorturl/utils/apps.py", "/core/views.py"], "/core/views.py": ["/core/serializers.py", "/core/models.py"]} |
2,646 | praneshsaminathan/url_shortener | refs/heads/main | /core/models.py | from django.db import models
from django.utils.translation import ugettext_lazy as _
class URLInfo(models.Model):
full_url = models.URLField(unique=True, null=False, blank=False, help_text=_('full url'))
url_hash = models.URLField(unique=True, null=False, blank=False, help_text=_('short url'))
clicks = mo... | {"/core/serializers.py": ["/core/models.py"], "/core/urls.py": ["/shorturl/utils/apps.py", "/core/views.py"], "/core/views.py": ["/core/serializers.py", "/core/models.py"]} |
2,647 | praneshsaminathan/url_shortener | refs/heads/main | /core/migrations/0001_initial.py | # Generated by Django 3.1.7 on 2021-03-01 15:58
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='URLInfo',
fields=[
('id', models.AutoField(... | {"/core/serializers.py": ["/core/models.py"], "/core/urls.py": ["/shorturl/utils/apps.py", "/core/views.py"], "/core/views.py": ["/core/serializers.py", "/core/models.py"]} |
2,648 | tduproject/kagikko2 | refs/heads/master | /tdu/app/migrations/0001_initial.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-05-20 00:08
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Create... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,649 | tduproject/kagikko2 | refs/heads/master | /tdu/keijiban/models.py | from django.db import models
class Posting(models.Model):
name = models.CharField(
max_length=64,
verbose_name='名前',
help_text='あなたの名前を入力してください',
)
message = models.TextField(
verbose_name='メッセージ',
help_text='メッセージを入力してください',
null=True,
)
subjec... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,650 | tduproject/kagikko2 | refs/heads/master | /tdu/accounts/aes.py | import codecs
from Crypto.Cipher import AES
class aesEncryption:
# def PaddingMes(self,mes):
# mes_length = len(mes)
# len = round(mes_length / 16) #四捨五入
# new_mes = mes + " "*len
# return new_mes
def Encrypt(self,mes1):
secret = (b'\xf0\x0e3nE\xa1\x9a\xff\x7f\xf6r\x... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,651 | tduproject/kagikko2 | refs/heads/master | /tdu/profiles/migrations/0006_auto_20170703_2051.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-03 20:51
from __future__ import unicode_literals
from django.db import migrations
import encrypted_fields.fields
class Migration(migrations.Migration):
dependencies = [
('profiles', '0005_auto_20170703_1142'),
]
operations = [
... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,652 | tduproject/kagikko2 | refs/heads/master | /tdu/keijiban/views.py | # ページネーター
from django.core.paginator import (
Paginator, # ページネーター本体のクラス
EmptyPage, # ページ番号が範囲外だった場合に発生する例外クラス
PageNotAnInteger # ページ番号が数字でなかった場合に発生する例外クラス
)
from django.shortcuts import (
render,
redirect,
)
from .models import Posting
from .forms import PostingForm
from .models import PostingSu... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,653 | tduproject/kagikko2 | refs/heads/master | /tdu/profiles/migrations/0007_auto_20170703_2053.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-03 20:53
from __future__ import unicode_literals
from django.db import migrations, models
import encrypted_fields.fields
class Migration(migrations.Migration):
dependencies = [
('profiles', '0006_auto_20170703_2051'),
]
operations = ... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,654 | tduproject/kagikko2 | refs/heads/master | /tdu/keijiban/urls.py | from django.conf.urls import include, url
from . import views
urlpatterns = [
url(r'^$', views.post_list, name='list'),
url(r'^index/(?P<pk>[0-9]+)/$', views.index, name='index'),
]
| {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,655 | tduproject/kagikko2 | refs/heads/master | /tdu/app/urls.py | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.IndexView.as_view(), name='index'),
url(r'^csv_import/$', views.csv_import, name='csv_import'),
url(r'^csv_export/$', views.csv_export, name='csv_export'),
]
| {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,656 | tduproject/kagikko2 | refs/heads/master | /tdu/polls/admin.py | from django.contrib import admin
from polls.models import Poll , Choice
admin.site.register(Poll)
admin.site.register(Choice)
| {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,657 | tduproject/kagikko2 | refs/heads/master | /tdu/app/views.py | import csv
from io import TextIOWrapper, StringIO
from django.http import HttpResponse
from django.shortcuts import redirect
from django.views import generic
from .models import Post
from polls.models import Poll ,Choice
class IndexView(generic.ListView):
model = Post
def csv_import(request):
q_array = ['q1... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,658 | tduproject/kagikko2 | refs/heads/master | /tdu/accounts/views.py | from django.conf import settings
from django.contrib.auth import views as auth_views
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib.auth.models import User
#from myUserModel.models import User
from django.contrib.auth.tokens import default_token_generator
from django.contrib.sites.shortcu... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,659 | tduproject/kagikko2 | refs/heads/master | /tdu/timetable/admin.py | from django.contrib import admin
from .models import Timetable1,Timetable2
admin.site.register(Timetable1)
admin.site.register(Timetable2)
| {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,660 | tduproject/kagikko2 | refs/heads/master | /tdu/profiles/forms.py | from django import forms
from .models import UserProfile
GRADE_CHOICES = (
('1年', '1年生'),
('2年', '2年生'),
('3年', '3年生'),
('4年', '4年生'),
('院1年', '院1年生'),
('院2年', '院2年生'),
('教員', '教員'),
)
MAJOR_CHOICES = (
('RB', 'RB'),
('RD', 'RD'),
('RG', 'RG'),
('RT', 'RT'),
('RU', 'R... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,661 | tduproject/kagikko2 | refs/heads/master | /tdu/timetable/urls.py | from django.conf.urls import url
from .import views
urlpatterns = [
url(r'^$', views.time_table, name = 'table'), #追加 7/9 山田
url(r'^timeedit/$', views.time_table2, name='edit'),
url(r'^result/$', views.show, name='result'),
]
| {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,662 | tduproject/kagikko2 | refs/heads/master | /tdu/profiles/migrations/0004_auto_20170703_1043.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-03 10:43
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('profiles', '0003_auto_20170703_1040'),
]
operations = [
migrations.AlterField... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,663 | tduproject/kagikko2 | refs/heads/master | /tdu/app/models.py | from datetime import datetime
from django.db import models
class Post(models.Model):
title = models.CharField('曜日', max_length=255)
text = models.CharField('時間', max_length=255)
sub = models.CharField('科目名', max_length=255)
category = models.CharField('カテゴリ名', max_length=255 ,default='SOME STRING')
... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,664 | tduproject/kagikko2 | refs/heads/master | /tdu/keijiban/forms.py | from django import forms
from .models import Posting
from .models import PostingSubject
class PostingForm(forms.ModelForm):
name = forms.CharField(label="名前", required=True)
message = forms.CharField(label="メッセージ", widget=forms.Textarea)
class Meta:
model = Posting
fields = ('name','messa... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,665 | tduproject/kagikko2 | refs/heads/master | /tdu/app/migrations/0002_auto_20170708_0057.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-08 00:57
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0001_initial'),
]
operations = [
migrations.AddField(
mode... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,666 | tduproject/kagikko2 | refs/heads/master | /tdu/polls/views.py | # coding: UTF-8
from django.http import HttpResponseRedirect, HttpResponse
from django.shortcuts import render, get_object_or_404
from django.core.urlresolvers import reverse
from django.views import generic
from polls.models import Poll, Choice
#
# 一覧表示
#
def poll_list(request):
posts = Poll.objects.all()
re... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,667 | tduproject/kagikko2 | refs/heads/master | /tdu/timetable/migrations/0001_initial.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-08 00:57
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Timetabl... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,668 | tduproject/kagikko2 | refs/heads/master | /tdu/polls/models.py | # coding: UTF-8
from django.db import models
#
# アンケート質問モデル
#
class Poll(models.Model):
subname = models.CharField(max_length=200)
question1 = models.CharField(max_length=200)
question2 = models.CharField(max_length=200)
question3 = models.CharField(max_length=200)
def __str__(self):
return self.subname
... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,669 | tduproject/kagikko2 | refs/heads/master | /tdu/timetable/views.py | from django.shortcuts import render
from app.models import Post
from .models import Timetable1,Timetable2
from django.http import HttpResponse,HttpResponseRedirect
from django.contrib.auth.models import User
from django.contrib.auth.decorators import login_required
# Create your views here.
def time_table(request):
... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,670 | tduproject/kagikko2 | refs/heads/master | /tdu/profiles/views.py | from django.shortcuts import render
from .models import UserProfile
from django.shortcuts import render, get_object_or_404
from .forms import UserProfileForm
from django.shortcuts import redirect
from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import User
from django.http impor... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,671 | tduproject/kagikko2 | refs/heads/master | /tdu/profiles/models.py | from django.db import models
from django.utils import timezone
from encrypted_fields import EncryptedTextField ,EncryptedEmailField,EncryptedCharField,EncryptedIntegerField
class UserProfile(models.Model):
name = EncryptedCharField(max_length = 254)
email = models.EmailField(max_length= 254 , default = 'exampl... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,672 | tduproject/kagikko2 | refs/heads/master | /tdu/profiles/urls.py | #profilesの全てのviewをインポートするよ
from django.conf.urls import include, url
from . import views
urlpatterns = [
url(r'^detail/(?P<pk>[0-9]+)/$', views.profile_detail, name = 'profile_detail'),
url(r'^edit/$', views.profile_edit, name='profile_edit'),
url(r'^mydetail/$', views.prof... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,673 | tduproject/kagikko2 | refs/heads/master | /tdu/profiles/admin.py | from django.contrib import admin
from .models import UserProfile #UserProfileモデルをインポート
admin.site.register(UserProfile) #モデルをadminページで見るにはこれで登録
| {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,674 | tduproject/kagikko2 | refs/heads/master | /tdu/keijiban/admin.py | from django.contrib import admin
from keijiban.models import Posting
from keijiban.models import PostingSubject
# Register your models here.
admin.site.register(Posting)
admin.site.register(PostingSubject)
| {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,675 | tduproject/kagikko2 | refs/heads/master | /tdu/polls/urls.py | # coding: UTF-8
from django.conf.urls import url
from polls import views
urlpatterns = [
url(r'^$', views.poll_list, name = 'poll_list'),
url(r'^poll/(?P<pk>[0-9]+)/$', views.poll_detail, name = 'poll_detail'),
# ex: /polls/5/
# ex: /polls/5/results/
url(r'^vote/$', views.vote, name='vote'),
# ex: /polls/... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,676 | tduproject/kagikko2 | refs/heads/master | /tdu/profiles/migrations/0003_auto_20170703_1040.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-03 10:40
from __future__ import unicode_literals
from django.db import migrations
import encrypted_fields.fields
class Migration(migrations.Migration):
dependencies = [
('profiles', '0002_userprofile_email'),
]
operations = [
... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,677 | tduproject/kagikko2 | refs/heads/master | /tdu/accounts/forms.py | from django import forms
from django.contrib.auth.forms import UserCreationForm, AuthenticationForm, PasswordChangeForm, PasswordResetForm, SetPasswordForm
from django.contrib.auth.models import User
from django.core.exceptions import ValidationError
from django.core.validators import validate_email
from django.http im... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,678 | tduproject/kagikko2 | refs/heads/master | /tdu/profiles/migrations/0005_auto_20170703_1142.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-03 11:42
from __future__ import unicode_literals
from django.db import migrations
import encrypted_fields.fields
class Migration(migrations.Migration):
dependencies = [
('profiles', '0004_auto_20170703_1043'),
]
operations = [
... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,679 | tduproject/kagikko2 | refs/heads/master | /tdu/home/views.py | from django.http import HttpResponse
from django.shortcuts import render
from django.shortcuts import redirect
from keijiban.models import Posting
from polls.models import Poll
from .models import Contact
from .forms import ContactForm
# Create your views here.
def show(request):
#最新スレッド5件を表示する処理
#全てのデータを1つの... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,680 | tduproject/kagikko2 | refs/heads/master | /tdu/timetable/models.py | from datetime import datetime
from django.db import models
class Timetable1(models.Model):
username = models.CharField('名前', max_length=255)
day = models.CharField('曜日', max_length=255)
time = models.CharField('時間', max_length=255)
sub = models.CharField('科目名', max_length=255)
when = models.CharFie... | {"/tdu/keijiban/views.py": ["/tdu/keijiban/models.py", "/tdu/keijiban/forms.py"], "/tdu/app/views.py": ["/tdu/app/models.py"], "/tdu/accounts/views.py": ["/tdu/accounts/forms.py"], "/tdu/timetable/admin.py": ["/tdu/timetable/models.py"], "/tdu/profiles/forms.py": ["/tdu/profiles/models.py"], "/tdu/keijiban/forms.py": [... |
2,689 | seosaju/SoupKitchen | refs/heads/master | /booth/admin.py | from django.contrib import admin
from .models import Booth, Company
class BoothInline(admin.TabularInline):
model = Booth
fields = ['name', 'contact', 'road_address']
@admin.register(Booth)
class BoothAdmin(admin.ModelAdmin):
list_display = ['name', 'contact', 'company', 'road_address']
search_field... | {"/booth/admin.py": ["/booth/models.py"], "/booth/views.py": ["/load_csv.py", "/booth/models.py"]} |
2,690 | seosaju/SoupKitchen | refs/heads/master | /load_csv.py | import csv
def load(path):
with open(path, 'r', encoding='cp949') as f:
reader = csv.reader(f)
csv_list = list(reader)[1:]
return csv_list
| {"/booth/admin.py": ["/booth/models.py"], "/booth/views.py": ["/load_csv.py", "/booth/models.py"]} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.