repo_name string | combined_content string | file_paths list |
|---|---|---|
0-Ajay-Bhargav-0/FashHUB | from django.shortcuts import render,redirect,reverse,HttpResponse
from django.contrib.auth.models import User,auth
from django.contrib import messages
from .forms import ProfileForm,UserForm
from .models import Profile
def register(request):
if request.method == 'POST':
username = request.POST['username'... | [
"/accounts/views.py",
"/store/admin.py",
"/store/migrations/0001_initial.py",
"/store/migrations/0002_auto_20201101_0205.py",
"/store/migrations/0003_auto_20201101_0222.py",
"/store/migrations/0004_auto_20201101_0245.py",
"/store/models.py",
"/store/urls.py",
"/store/views.py"
] |
0-Yzx/FEELVOS | from itertools import combinations
from cv2 import cv2
import os
import natsort
import pandas as pd
import numpy as np
import torch
import torchvision
from torch.utils.data import Dataset, DataLoader
from torchvision.transforms import ToPILImage
from torchvision import transforms, utils
from feelvos.transform import... | [
"/feelvos/dataset.py",
"/feelvos/models/DynamicSegmentationHead.py",
"/feelvos/models/Embeddings.py",
"/feelvos/models/FEELVOS.py",
"/feelvos/models/Matching.py",
"/feelvos/test.py",
"/feelvos/train.py",
"/feelvos/transform.py",
"/feelvos/util/toTensor.py",
"/setup.py"
] |
0-gpa-gang/NumRoll | import sqlite3
def create():
conn = sqlite3.connect('image.db')
c = conn.cursor()
c.execute("""DROP TABLE image""")
c.execute("""CREATE TABLE image (
path TEXT PRIMARY KEY,
classifier INTEGER DEFAULT "N/A"
)""")
c.execute("""INSERT INTO image (path)
... | [
"/Database.py",
"/Images.py",
"/canvas.py",
"/classifier.py",
"/error.py",
"/io_file.py",
"/main.py",
"/training.py"
] |
0-jam/azfunc | import logging
import azure.functions as func
from .monkey_generator import generate_text
def main(req: func.HttpRequest) -> func.HttpResponse:
logging.info('Python monkey text generator.')
gen_size = req.params.get('gen_size')
if not gen_size:
try:
req_body = req.get_j... | [
"/azmonkeygen/__init__.py",
"/azmonkeygen/monkey_generator.py",
"/get-places/__init__.py",
"/get-places/sql_controller.py",
"/sqlcontroller/sql_controller.py"
] |
0-jam/utanet_scraper | import argparse
import json
from pathlib import Path
def main():
parser = argparse.ArgumentParser(description='utanet_scraper.pyで抽出した曲情報から特定の項目を抽出')
parser.add_argument('input', type=str, help='入力ディレクトリ名')
parser.add_argument('output', type=str, help='出力ファイル名')
parser.add_argument('-a', '--at... | [
"/json_extractor.py",
"/modules/utanet.py",
"/sqlite_converter.py",
"/utanet_scraper.py"
] |
0-k-1/Practice_turorail | from django.urls import path
import books
from books.views import PublisherList
urlpatterns = [
path('publishers/',PublisherList.as_view())
]
--- FILE SEPARATOR ---
from django.shortcuts import render
# Create your views here.
from django.views.generic import ListView
from books.models import Publisher
class P... | [
"/books/urls.py",
"/books/views.py"
] |
0-k-1/TodoMVC2 | from django.db import models
#from django.contrib.auth.models import User
class Todo(models.Model):
title = models.CharField(max_length=50)
completed = models.BooleanField(default=False)
--- FILE SEPARATOR ---
# from django.urls import path
from django.conf.urls import url
from App.views import todoMVC_vi... | [
"/App/models.py",
"/App/urls.py",
"/App/views.py"
] |
0-u-0/webrtc-ios-script | #!/usr/bin/env python
import logging
import os
import subprocess
import sys
def IsRealDepotTools(path):
expanded_path = os.path.expanduser(path)
return os.path.isfile(os.path.join(expanded_path, 'gclient.py'))
def add_depot_tools_to_path(source_dir=''):
"""Search for depot_tools and add it to sys.path.... | [
"/build_tools.py",
"/main.py"
] |
0/pathintmatmult | #!/usr/bin/env python3
"""
Harmonic oscillator PIFT example.
An oscillator with an angular frequency of x kelvin at reciprocal temperature
beta reciprocal kelvin has a thermal potential energy (in kelvin) of
(1/4) x coth(0.5 beta x)
and a total energy of twice that. For example, for an oscillator with an
angular ... | [
"/examples/pift_harmonic_oscillator.py",
"/examples/pigs_harmonic_oscillator.py",
"/examples/pigs_harmonic_oscillator_entangled.py",
"/pathintmatmult/__init__.py",
"/pathintmatmult/nmm.py",
"/pathintmatmult/plotting.py",
"/pathintmatmult/potentials.py",
"/pathintmatmult/tools.py"
] |
00-00-00-11/Discord-S.C.U.M | import inspect
class LogLevel:
INFO = '\033[94m'
OK = '\033[92m'
WARNING = '\033[93m'
DEFAULT = '\033[m'
class Logger:
@staticmethod
def LogMessage(msg, hex_data='', to_file=False, to_console=True, log_level=LogLevel.INFO): #to_file was acting a bit buggy so I decided to remove it altogether f... | [
"/discum/Logger.py",
"/discum/__init__.py",
"/discum/discum.py",
"/discum/gateway/__init__.py",
"/discum/gateway/gateway.py",
"/discum/login/Login.py",
"/discum/user/user.py"
] |
00-00-00-11/Hummingbird | from . import dashboard
from . import home
from . import manage
from . import success
from . import upload
from . import dashboardItem
from . import moreInfoCount
from . import moreInfoGender
from . import moreInfoSalary
from . import moreInfoJobs
--- FILE SEPARATOR ---
from flask import Blueprint, render_template, a... | [
"/controllers/__init__.py",
"/controllers/dashboard.py",
"/controllers/dashboardItem.py",
"/controllers/home.py",
"/controllers/manage.py",
"/controllers/moreInfoJobs.py",
"/controllers/success.py",
"/controllers/upload.py",
"/csvgenerator.py",
"/csvparser.py",
"/lib/DataSections.py",
"/lib/Ge... |
00-00-00-11/News-Suggestions-Using-ML | from tqdm import tqdm
import numpy as np
import random, math, time
from scipy.special import psi
from preprocessing import preprocessing, maxItemNum
from retrieve_articles import retrieve_articles
docs, word2id, id2word = preprocessing()
# The number of documents we'll be using to train the model.
N = len(docs)
... | [
"/keyword_extractor.py",
"/news_api.py",
"/preprocessing.py",
"/retrieve_articles.py"
] |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 7