Dataset Viewer
Auto-converted to Parquet Duplicate
repo_name
stringlengths
5
113
combined_content
stringlengths
88
120M
file_paths
listlengths
2
11.1k
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" ]
0000duck/vrep
#!python3 # -*- coding:utf-8 -*- import matplotlib.pyplot as plt import math import heapq import time try: import vrep except: print ('--------------------------------------------------------------') print ('"vrep.py" could not be imported. This means very probably that') print ('either "vrep.py" or the...
[ "/entity.py", "/mission_path_planning_main.py", "/old_code/5有视觉横向调试.py", "/repeat.py" ]
000Justin000/agnav
import os import sys import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import math, copy, time import pandas as pd from transformers import AutoTokenizer import matplotlib.pyplot as plt from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequen...
[ "/main.py", "/playground.py", "/utils.py" ]
007Saikat/idil_demo
from django import forms from django.contrib.auth.models import User from .models import UserDetail class UserForm(forms.ModelForm): password=forms.CharField(widget=forms.PasswordInput(attrs={'placeholder':'Enter Password*','class':"form-control"})) username=forms.CharField(widget=forms.TextInput(attrs={'place...
[ "/idil/basic_app/forms.py", "/idil/basic_app/migrations/0003_auto_20200817_2347.py", "/idil/basic_app/migrations/0006_auto_20200819_2225.py", "/idil/basic_app/models.py", "/idil/basic_app/urls.py", "/idil/basic_app/views.py", "/idil/user_admin/admin.py", "/idil/user_admin/migrations/0001_initial.py", ...
00MB/stock-simulation
line = "\n" + "_" * 50 + "\n" #globals = {"start" : start, "quit" : quit, "help" : help, "about" : about} --- FILE SEPARATOR --- #Python stock market simulator from globals import * from bs4 import BeautifulSoup import requests def set(): global portfolio global funds fileread = open("data.txt", "r"...
[ "/globals.py", "/stock.py" ]
00arun00/PyRate
def readGz(f): import gzip for l in gzip.open(f): yield eval(l) def amazon_purchase_review(): ''' Loads the amazon purchase review data ''' import pandas as pd import numpy as np from sklearn.model_selection import train_test_split as tts f_name=('Data/assignment1/train.jso...
[ "/data_loader.py", "/eval_metrics.py", "/models.py", "/pyrate.py" ]
00ba/LIST
''' Created on Sep 8, 2016 ''' class Cell: def __init__(self): self.cell = [] def get_car(self): result = self.cell.pop(0) return result def set_car(self, n): self.cell.insert(0, n) def get_cdr(self): result = self.cell.pop() return result def ...
[ "/list.py", "/main.py", "/test_list.py" ]
00fatal00-dev/rpg-python
import pygame,sys from player import Player screen_size = (800, 600) screen = pygame.display.set_mode(screen_size) pygame.display.set_caption("Game") running = True #Initiating player player = Player(0, 0, 32, 32, (255, 0, 0), .075, 0, 0) while running: player.x += player.move_x player.y += pl...
[ "/main.py", "/player.py" ]
00mjk/GitManager
"#!/usr/bin/env python\n\nimport sys\nfrom GitManager import main\n\nif __name__ == '__main__':\n (...TRUNCATED)
["/GitManager/__main__.py","/GitManager/commands/__init__.py","/GitManager/commands/clone.py","/GitM(...TRUNCATED)
00mjk/NMP
"import torch\nfrom torch.utils.data import Dataset\nfrom torch.utils.data import DataLoader\nimport(...TRUNCATED)
["/DataLoader.py","/eval_metrics.py","/modules.py","/preprocess/ass_fun.py","/preprocess/extract_vgg(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6