blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
e5672f4fe584c8f4396ae6b8030cbba66b775c5b
b48afc357cd9fccdcef52d7be2385db04189324b
/sockets/pentesting/prueba.py
c674741734c8d3f53e9f245731fd08aad2b199cc
[]
no_license
binarioGH/programas_de_prueba
0703cc8565aad6dcb9f48495393897dbeef48ac9
c9cc63b505f26c5720dc7298cdf35b14cba5c067
refs/heads/master
2020-03-06T21:28:23.663063
2020-02-07T05:07:21
2020-02-07T05:07:21
127,078,188
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
#-*-coding: utf-8-*- import socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect(("192.168.0.5",21)) banner = sock.recv(1024) print(banner)
[ "lacuentafalsadediegojonas@gmail.com" ]
lacuentafalsadediegojonas@gmail.com
965954113fe472d45d3521f7b0dc9b0e9933fad9
fe24b009913d625f8dca547cf5a3956514678e04
/plugins/nn/unet_v2/src/py_example.py
b0fafe457bfb563d99a3f4119fefd0fe77d12af3
[]
no_license
ai-motive/supervisely
6fed135b27afe166627c24bbee811d07053bd0e0
f6ef26cbb8a5f3457f97b2db600a442aa03aa5d2
refs/heads/master
2023-07-13T21:36:00.541608
2021-08-24T03:05:07
2021-08-24T03:05:07
372,686,196
1
0
null
2021-06-01T03:05:10
2021-06-01T03:05:09
null
UTF-8
Python
false
false
520
py
import requests from requests_toolbelt import MultipartEncoder if __name__ == '__main__': content_dict = {} content_dict['image'] = ("big_image.png", open("/workdir/src/big_image.jpg", 'rb'), 'image/*') content_dict['mode'] = ("mode", open('/workdir/src/sliding_window_mode_example.json', 'rb')) encod...
[ "max@supervise.ly" ]
max@supervise.ly
0bd2b3207f1c166cf6cd840b7f6f2f4ba9ad1f37
ec3090f90b1c3fe7e0550473d719ccc18d130dfe
/sample/linear_algebra.py
785e43e91f5ce3948d96dc6d183265f7c5269da2
[]
no_license
EDAriR/Data_Science_from_Scratch
349ecb54bc5ebb5520d2d6bbe717bed911dc8177
471b3fe6d6bcd27f5f617c7784547ddb98989e9b
refs/heads/master
2020-03-15T21:46:40.167703
2018-05-15T15:48:34
2018-05-15T15:48:34
132,361,385
0
0
null
null
null
null
UTF-8
Python
false
false
3,922
py
# -*- coding: iso-8859-15 -*- import re, math, random # regexes, math functions, random numbers import matplotlib.pyplot as plt # pyplot from collections import defaultdict, Counter from functools import partial, reduce # # functions for working with vectors # def vector_add(v, w): """adds two vectors compone...
[ "ed_he@syntrontech.com" ]
ed_he@syntrontech.com
f83158efa33a39673f800fe504ec1c01c3306456
083ca3df7dba08779976d02d848315f85c45bf75
/DiagonalTraverse6.py
08697eb1bb23cd57f8ecca6a47acfe8dd293814f
[]
no_license
jiangshen95/UbuntuLeetCode
6427ce4dc8d9f0f6e74475faced1bcaaa9fc9f94
fa02b469344cf7c82510249fba9aa59ae0cb4cc0
refs/heads/master
2021-05-07T02:04:47.215580
2020-06-11T02:33:35
2020-06-11T02:33:35
110,397,909
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
class Solution: def findDiagonalOrder(self, matrix: list) -> list: if not matrix: return [] m, n = len(matrix), len(matrix[0]) entries = [[] for _ in range(m + n - 1)] for i in range(m): for j in range(n): entries[i + j].append(matrix[i][j]) ...
[ "jiangshen95@163.com" ]
jiangshen95@163.com
409e3ddf97c77d5f12416e5923d48d09f61b0418
eee4f528b8e3f0ed5a2cfe1359996ecc5293a45a
/clickTracker/views.py
a3516e4689050f26d76d0133118ac6e3010a7327
[]
no_license
anoncb1754/VideoSoup
56baf4cabc2911768cdabab4037c4e73e362d7d0
b7afb1e00f0558c98448fae1f99fd7fe2b257ff5
refs/heads/master
2021-01-19T09:31:13.039227
2013-04-22T20:10:09
2013-04-22T20:10:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
from django.http import HttpResponse from django.http import HttpResponseRedirect from django.http import Http404 from datetime import datetime from clickTracker.models import ClicksTracked def clickTracker(request): ''' Does click tracking on post urls ''' destination = request.GET.get('dst') post_id = request....
[ "cb1754@cb1754s-MacBook-Air.local" ]
cb1754@cb1754s-MacBook-Air.local
22b0d22cc8f6ae16c5bdf42259895c0463786f0e
42aa91a206bd5a685f84e3751732bacc03a2674d
/polls/migrations/0001_initial.py
8666e22fb7e460b193932bcb82d0e839e859f7a4
[]
no_license
deepanshubadshah/Django-polls
e4996ca5a84202cf86a6a26557def8f0abf46e93
52aeabb614cec46964ed8423ef4dea4ed4a33507
refs/heads/master
2020-08-18T01:46:19.091597
2019-10-17T20:20:58
2019-10-17T20:20:58
215,733,853
0
0
null
2019-10-18T03:02:53
2019-10-17T07:50:19
Python
UTF-8
Python
false
false
1,075
py
# Generated by Django 2.2.6 on 2019-10-16 04:29 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Question', fields=[ ...
[ "deepanshu16144@iiitd.ac.in" ]
deepanshu16144@iiitd.ac.in
944ea00d1ec201dd0709e03276f8bdd7cb76fc26
8a2842ad67c3388d26688f78fb8bf828ac9912da
/app/api/urls.py
958b5719b2f93dc31996f5d138ee1268f0d98a15
[]
no_license
gsi-sandy/django-on-docker
2532eedad0be704ac8ebda029067026fdc0c823b
e46d4e157243a37a53c003007669cadaac0afcda
refs/heads/master
2022-11-30T16:05:00.788144
2020-08-04T12:50:26
2020-08-04T12:50:26
276,133,260
2
0
null
null
null
null
UTF-8
Python
false
false
420
py
from django.urls import include, path from rest_framework import routers from . import views router = routers.DefaultRouter() router.register(r'persons', views.PersonViewSet) # Wire up our API using automatic URL routing. # Additionally, we include login URLs for the browsable API. urlpatterns = [ path('', includ...
[ "sandy@generalsoftwareinc.com" ]
sandy@generalsoftwareinc.com
9cb90f35ed78d85d682a190e8d2c536e11bcdc87
b62a4f4cc42aee1066c591e91a9c83c899329fbc
/print_table.py
e5144da8c4f33bcdb0a69abda3418032e69014b6
[]
no_license
LiliyaRachkova/TVShows
f0fff2b23e322fb85882acabf52ed6f8c2cb51de
54068623380bd9c2f8d13f501a072e99b97a5d24
refs/heads/master
2023-06-03T13:09:31.850099
2021-06-18T19:14:33
2021-06-18T19:14:33
378,075,823
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
import psycopg2 import pandas as pd import numpy as np TVSHOW = "http://api.tvmaze.com/search/shows?q=" def print_table(cur): cur.execute("select name, premiered from tvshows order by premiered") tab = cur.fetchall() try: tab = np.array(tab) df = pd.DataFrame(data=tab, columns=["name", "p...
[ "lili.rachkova@ya.ru" ]
lili.rachkova@ya.ru
48fd5cd10a183f7b303fce8d996994720b59e4a7
edb09b9297e960ee3208077c4a15d3497136337b
/server.py
0df7b753bddf5d55a941a3c722f75c84b7013113
[]
no_license
Mathes5556/interview
5fdf8d807b75e49de351c5a81a2d1f3f6badfbbf
156e3d734ea3883ae529e244117f981800ef09dc
refs/heads/master
2021-01-18T20:11:50.634786
2017-08-17T01:43:57
2017-08-17T01:43:57
100,546,106
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
from flask import Flask, request from traingFlow import wholeTraingFlow from utils import get_logger from model import provideRecommendation import pandas as pd from model import provideRecommendation app = Flask(__name__) global models # well, global variables are bad, but this is for storing trained mod...
[ "noreply@github.com" ]
Mathes5556.noreply@github.com
a47231f66de9ee45eddd9c3bc0cf3ff7e80eff0d
6def27a464d1e7457731a40d268bc9d30bc42ba2
/middle_project 最终版/client/game1/game1_client.py
2071faeebd181518d4a8457cfe9e8e02d7ee666c
[]
no_license
liu-xinke/playroom
43201c297ef92c294fd295ecf52946ff2c968fb2
4c44c47fd6dc0c71a34a65023692f34c60ece861
refs/heads/master
2020-03-26T23:58:57.966356
2018-08-22T01:10:36
2018-08-22T01:10:36
145,583,463
2
0
null
null
null
null
UTF-8
Python
false
false
6,840
py
import sys sys.path.append(r'./database') from socket import * import os import random from tkinter import * from threading import Thread from time import sleep import buried_point2 import game1_secondground #利用全局变量获取按下按钮后的返回值 #给定一个初始值 i = '123' name = '' other = '' #界面信息提示 text1 = '正在匹配玩家...' #客户端(用于接收/发送服务器信息) def ...
[ "953576288@qq.com" ]
953576288@qq.com
bd1c3994e1c7429e1072cf4d027c437ad6f3987a
62a33631aae3af5ae1406e4f63d4591838a569ae
/src/apps/shop_managment/serializers/category_serializer.py
227d08429e061a8c0e4443e5602ab9e1222ef4e7
[]
no_license
er5bus/shop-api
092a52a198c620becc48506aee6ef4c333f9798f
7feef3959fa3be69fcbbcf9c2f363757035968b4
refs/heads/main
2023-07-26T23:56:54.422996
2021-09-12T16:33:28
2021-09-12T16:33:28
343,736,798
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
import datetime from rest_framework import serializers from ..models.category import Category from core.mixins.serializers import UniqueFieldsMixin class CategorySerializer(UniqueFieldsMixin): class Meta: model = Category fields = ( 'id', 'category_name', 'descr...
[ "rami2sfari@gmail.com" ]
rami2sfari@gmail.com
6c88248aa22465ec68fe92b2d27487bb17fc0874
61283bb32652990d882c6856cdc25868f91088d1
/Python/WebDev/Django/Tutorial/users/views.py
57308ac2ad847c9dc4f98963a5294785c7964d34
[ "MIT" ]
permissive
michaelg29/Programming
1fbd03099ad75eeab7f0be9d4ee83cb4e5ef6c3f
7f726fbd8e97fe3d32d58265ab753735d88be3e0
refs/heads/master
2023-03-09T08:05:11.314808
2023-02-07T18:04:59
2023-02-07T18:04:59
163,780,658
5
3
MIT
2023-03-06T12:39:52
2019-01-02T01:35:00
C++
UTF-8
Python
false
false
824
py
from django.shortcuts import render, redirect from django.contrib import messages from django.contrib.auth.decorators import login_required from .forms import UserRegisterForm def register(request): if request.method == 'POST': form = UserRegisterForm(request.POST) if form.is_valid(): f...
[ "30534878+michaelg29@users.noreply.github.com" ]
30534878+michaelg29@users.noreply.github.com
8e71e1bca19fca69e10a9eeb6c69b6b561b6e6b1
26a2e9220b4008d1249ed9ee4e6fa60423985d3a
/Blackbox Optimization Techniques/frogger_env/envs/crossing_env_v1.py
ae10003bc3b391dbec91c58633ca12844e42a901
[]
no_license
rprasan/Reinforcement-Learning
6f9a5d210c3bd8a5d79d128df0af87e618e18a96
7bca1ffa2b3a4ff729cb75b84c3ee9adbe3010f0
refs/heads/main
2023-08-03T13:43:08.486955
2023-07-27T21:49:05
2023-07-27T21:49:05
346,599,933
0
0
null
null
null
null
UTF-8
Python
false
false
4,824
py
# Licensing information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to the authors. # # Authors: Avishek Biswas (avisheb@g.clemson.edu) and Ioannis Karamouzas ...
[ "rprasan@clemson.edu" ]
rprasan@clemson.edu
820a35381bbb8b848bc8bc4310a9d3d09d1bfd40
e3f4cf19cd3514a9dd7a758212fb9a0d36d0935d
/auth_backend/role/migrations/0003_auto_20181217_0701.py
39157942f7c71dc5923ebab2458bb1dcc046448c
[]
no_license
dbykov/auth-backend
236b60faca3c41b66bea51db0235b1a03ae1efd9
6e57aa91e0d7cce77a17ba61bc07def053756c40
refs/heads/master
2022-05-31T02:11:36.795650
2019-07-25T12:46:27
2019-07-25T12:46:27
199,646,871
0
0
null
2022-05-25T02:19:42
2019-07-30T12:25:07
Python
UTF-8
Python
false
false
455
py
# Generated by Django 2.1.3 on 2018-12-17 07:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('role', '0002_auto_20181129_0702'), ] operations = [ migrations.AlterModelOptions( name='role', options={'ordering': ('-id',)...
[ "dbykov@mail.ru" ]
dbykov@mail.ru
a510cfec10e0a86ccf1d7cd7c1232f1a3b41a9f4
c394ed7555ee10b2819f1af4773aaf4703887a96
/lab_03/lab_01.py
9466abf0f46539126f301dbc4dc49df0f238c937
[]
no_license
LozovskiAlexey/Computational-Algorithms
5ea587e6669a7475f6aca912e24c24a0703e83f5
62ab440564d152d89e45cc0c30291b74622c9b3b
refs/heads/master
2023-02-21T13:28:03.322795
2021-01-22T09:05:53
2021-01-22T09:05:53
331,891,999
0
0
null
null
null
null
UTF-8
Python
false
false
4,109
py
from math import fabs def f(x): return x**2 def print_mtx(m): print("!!!----------------------------") for i in m: for j in i: if j is not None: print("{:.3f}".format(j), end=' ') print() print("!!!----------------------------") def print_data(data): ...
[ "55348265+LozovskiAlexey@users.noreply.github.com" ]
55348265+LozovskiAlexey@users.noreply.github.com
ca28d6c5b515dfda3cbdafb46b37d89a8095da1b
b284d59bdf2c01977eb6d80795e2c75cb95b9b2c
/danibraz/checkout/validate_error_invoice.py
bda27a0d3f0ca85671f619873e051cf1c9bc10ab
[ "MIT" ]
permissive
CoutinhoElias/danibraz
58d27cb30661d06091196cc487a9d902f4f8dac9
b21f3ce3477ded74c901fa377a5b2ac5e68faf36
refs/heads/master
2021-01-20T02:12:30.096953
2018-04-01T15:52:40
2018-04-01T15:52:40
89,386,992
0
1
MIT
2017-12-01T16:52:47
2017-04-25T17:14:27
JavaScript
UTF-8
Python
false
false
154
py
from django.core.exceptions import ValidationError def validate_quantity(value): if not value < 5: raise ValidationError("Campomenor que 5.")
[ "coutinho.elias@gmail.com" ]
coutinho.elias@gmail.com
450788f02ffc268c72c96c8be14bc7828af2e160
cc81637c0cd6e23e0eca70ad00aaa53ef26ebd1d
/website/urls.py
bc690cab54bc82745fbe49f4ea60f6af92eeceef
[]
no_license
madgeekfiend/django-screens
826d5cdbb90175e4c606ef8ed2347ee50092951e
d76a0eff62d201404db5d56e55f5612c4f76cc15
refs/heads/master
2021-01-21T05:05:47.304035
2014-08-07T15:36:48
2014-08-07T15:36:48
22,726,430
0
1
null
null
null
null
UTF-8
Python
false
false
388
py
from django.conf.urls import patterns, url from website import views urlpatterns = patterns('', # You know what this file is for url(r'^upload/', views.upload, name='upload'), url(r'^review/', views.review, name='review'), url(r'^(?P<screen_id>\d+)/$', views.view_screen, name='view_screen'), url(...
[ "totalgeek@outlook.com" ]
totalgeek@outlook.com
19eaca7ff57991686ef9fc408897335ccb114c66
54077cef77625f39fd65b1df2b2a0bc82ca04773
/back/manage.py
61c0db9e2f3a1fadfe07bee429aba8144d128549
[]
no_license
tabishkhan96/resa
e43ead182b36a34ed6ef0dee8e1def7152b7676e
5789d7e11a984f70e6509b0e2d82e9f149b55b91
refs/heads/master
2023-03-18T17:59:02.936862
2017-06-04T15:27:57
2017-06-04T15:27:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "meeting_room_reservation.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason....
[ "tryphtik@hotmail.com" ]
tryphtik@hotmail.com
24cc74599fb36feb9338f0a3d7920eb7c44d090c
9611f657bbb92d2cc3edd556ea3ffaa702e997f0
/utils/__init__.py
de17b5c9298991340efacc77b8a968e617660208
[]
no_license
donhilion/JumpAndRun
10fdfdcc5fdcd5619b757c3f65e68d2bf4085852
0308785a51bf61d9a4fec2d8370540df502b8178
refs/heads/master
2021-01-23T08:38:53.808186
2014-01-28T20:26:53
2014-01-28T20:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
25
py
__author__ = 'Donhilion'
[ "donhilion@googlemail.com" ]
donhilion@googlemail.com
aeb3b8ff1f2ad11c5a1eabcd0b4aded91f0a5863
66dc2116f2c99cb79ad97a5320f99aedecfd9ac5
/select/src/median.py
1bd5547bf970eae3924f993d37e6e5ab89d240de
[]
no_license
mregulski/ppt-4-aisd
9cee11d7d44df03a7b61ff228f761385349a280b
7a813ea66c7793e5681a9ddffbe1dd9a6a3951af
refs/heads/master
2021-01-12T13:38:07.140724
2017-03-07T22:21:17
2017-03-07T22:21:17
69,969,983
0
0
null
null
null
null
UTF-8
Python
false
false
6,992
py
#!/usr/bin/python3 import random import argparse import sys import math logging = 0 cmps = 0 def comparison(): global cmps cmps += 1 return True def partition(array, start=0, end=-1, depth=0): if(end == -1): end = len(array)-1 pivot = array[random.randrange(start, end+1)] if logging...
[ "maarcin.regulski@gmail.com" ]
maarcin.regulski@gmail.com
0f9d370037e854c8b1e43ca32b4093a32a97b926
f36cb3559618915ca36c7abb29a49aec5a972afe
/week-3/assignment_1.py
260a391cf7677f8498ee685ea6af737d2cbece56
[]
no_license
snsn/programmers-data-engineering-study
3e31b1100625500796b182b796f8f5b0fb377f00
e5f92b1183c4f35e33a84e34bf8aced5fbf65a5d
refs/heads/master
2022-12-04T02:47:05.823218
2020-08-12T05:30:02
2020-08-12T05:30:02
283,785,212
0
0
null
2020-08-12T05:30:05
2020-07-30T13:35:49
null
UTF-8
Python
false
false
3,977
py
# -*- coding: utf-8 -*- """assignment-1.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1L0TgaTyi_KjfnSa3EjhI5M2ue_6ER3Bd """ import sqlalchemy user = 'peter' password = 'PeterWoW1!' sql_conn_str = 'postgresql://{user}:{password}@grepp-data.cdu...
[ "peter@grepp.co" ]
peter@grepp.co
f16c0eb80ddbde537a25faa6d4acb812b83a763e
e6053153c9baa95156f0e7aa700047ea2d26e249
/Data/__init__.py
c586133032f53376ef402302e9f20d5b22bba2a7
[]
no_license
Songtuan/Show-and-Tell-Model
d8d6b71fb8cf3274862c63aa324445d8e802ce41
7b298bd8ab30c9b052d144838ecf022220d41628
refs/heads/master
2020-07-22T07:23:55.489781
2019-10-14T03:01:24
2019-10-14T03:01:24
207,115,342
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
import torch from torch.utils.data import Dataset import torchvision.transforms as trn import h5py class CaptionDataset(Dataset): def __init__(self, input_file, transform=None): h = h5py.File(input_file) self.imgs = h['images'] self.captions = h['captions'] self.captions_per_img = ...
[ "u6162630@anu.edu.au" ]
u6162630@anu.edu.au
a8cb34215357391688c6922cc45ce8c787596bbc
84243e597645fb81d1300ea8ecf7f398f94089da
/StackedDateHistogram.py
d824e847f74eda1da4a93ade6f2456ebda5e230d
[ "MIT" ]
permissive
stevezieglerva/plot-wrappers
07fc24f1f1e1140d9040034087a294b3c704cc8d
e1acd92a0c4452280974e6e28340c849bb63c818
refs/heads/main
2023-05-30T02:08:39.665311
2021-06-18T20:25:00
2021-06-18T20:25:00
339,087,341
0
0
null
null
null
null
UTF-8
Python
false
false
4,294
py
import json import pandas as pd import matplotlib.pyplot as plt class StackedDateHistogram: def __init__( self, date_column_name, grouping_column, value_column, df, ): self._max_groupings = 5 self._date_column_name = date_column_name self._date_...
[ "stephen.v.ziegler@gmail.com" ]
stephen.v.ziegler@gmail.com
fb411458ce67bc348b868b70def5489795c60675
2442d45c9d98f7175447fd1d62212cbba0604bc8
/실전연습/뱀게임/SnakeGame.py
7fb21478b91b6f1c19d28ad158083534d4a7dd85
[]
no_license
yerimroh/Python-Practice
5f25db8ae50f89da3a909a37486bfcf7f044bec9
1faeba80062e4a16ae33673490821d424cd77d1f
refs/heads/master
2023-07-31T20:26:07.064031
2021-09-16T21:20:09
2021-09-16T21:20:09
283,073,517
0
0
null
null
null
null
UTF-8
Python
false
false
5,709
py
import pygame import sys from pygame.locals import * from random import* pygame.init() # Initializing ############################################################# # The node class that composese the snake's body headSize = 20 class Node(pygame.Rect): def __init__(self, x, y): super().__init__(int(x), in...
[ "yerimmie1125@gmail.com" ]
yerimmie1125@gmail.com
a9a87a3073f5e5b306e21351d62078b946fb85c8
36724b5400430baea62119bf3c91fe2cc2cb61e7
/apps/mensura/migrations/0001_initial.py
13218e40b736ec489c83f76d84e882e00c899c53
[]
no_license
cerbeerza/Peritos
20883e476b83bddbe7f735fe7918f107ee812795
96b10520fbd4d373bc731492ef97c156b8efc6b3
refs/heads/master
2021-01-16T18:24:00.921061
2019-09-03T20:02:24
2019-09-03T20:02:24
100,069,043
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-03-21 13:42 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Mensur...
[ "cerbeerza@gmail.com" ]
cerbeerza@gmail.com
243a9a8513dbd98f7277254c647f9c346def832a
ac5bc9956bf97beb0135384f1592b59c12ffe1bb
/arview.py
1cdbed837b1130114515dc37a4fbc930927b03ca
[ "MIT" ]
permissive
hirax/restaurants_viewer
7e89b404d8be68d74794e5ed095f51b5fd57f6e0
eae056893941cf39fa87640bffea72a8aed47c4a
refs/heads/master
2020-07-21T16:32:51.652150
2019-06-03T23:30:10
2019-06-03T23:30:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,194
py
# coding: utf-8 import json import time from enum import IntFlag from math import pi import location import numpy import requests import ui from numpy import sin, cos from objc_util import * class SCNVector3(Structure): _fields_ = [('x', c_float), ('y', c_float), ('z', c_float)] load_framework('SceneKit') load...
[ "noreply@github.com" ]
hirax.noreply@github.com
92574a41f24fa70f4056ae2050c2c690a412eac4
5e5d5fd3d6da5191c426679f3c3ff34a53bf65f9
/tests/conftest.py
23b7134ac9a4bd87b2089dd90dace00f62feeaa4
[ "MIT" ]
permissive
Locotar/anerp
36f0e5b1b6e6b7b3ab9b821fba7d8008e185b6dc
784d990071b6b380bfd532db76f242af3a98e4e4
refs/heads/master
2022-04-26T13:25:17.865775
2016-02-01T06:12:18
2016-02-01T06:12:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
# -*- coding: utf-8 -*- '''Defines fixtures available to all tests.''' import pytest from webtest import TestApp from anerp.app import create_app from anerp.lib.database import db as _db from anerp.settings import TestConfig from .factories import UserFactory @pytest.yield_fixture(scope='function') def app(): ...
[ "fernandojr.ifcg@live.com" ]
fernandojr.ifcg@live.com
57bbdb4ebc42d7134e424b6f16fcbb7fa1ec8d7a
6d03a06a80910d13023949b4297aaa1ac348980b
/cifar10.py
2ac72eecceae47c5cb7993ef3fe24343da264ce4
[]
no_license
strike60/cifar10-NIN
0f6d83ef3b80689f65c3a5e48ab48662ef44641f
259f81801c7bbd58211994e4281db2d771aa69f3
refs/heads/master
2021-01-25T14:10:43.958757
2018-03-05T02:11:01
2018-03-05T02:11:01
123,663,580
0
0
null
null
null
null
UTF-8
Python
false
false
11,385
py
import tensorflow as tf import cifar10_input import os import numpy as np import re import sys import tarfile from six.moves import urllib FLAGS = tf.app.flags.FLAGS tf.app.flags.DEFINE_integer( 'batch_size', 128, """Number of images to process in a batch""") tf.app.flags.DEFINE_string( 'data_dir', '../cifar...
[ "xiangdanqi60@gmail.com" ]
xiangdanqi60@gmail.com
899597fd8353a77813a37816a08ac1651bfc58e9
f6cd0b0ffa6638318ca7f23077245b6379286975
/mod/wotstat/res/scripts/client/gui/mods/wot_stat/asyncRsponce.py
8b7981fccaf2463bfccc4205a87b462a16e84607
[ "MIT" ]
permissive
Steelwall2014/wot-stat
54ddfea0597252e4d3b1cfc2a122b7dc5c5f34e1
0439c56cfdc0ef6e9c3011850e624d6712daaa77
refs/heads/main
2023-07-04T02:12:55.787612
2021-08-11T01:00:21
2021-08-11T01:00:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
# -*- coding: utf-8 -*- import BigWorld import threading import urllib2 json_headers = {'Content-type': 'application/json', 'Accept': 'application/json'} def get_async(url, data=None, callback=None): request_async(url, data, get, callback) def post_async(url, data=None, callbac...
[ "soprachev@mail.ru" ]
soprachev@mail.ru
64a0114f9c5ff58208a57a2598eee7dcbe253ab4
3e1b705d7e2d771a13bbb29d5c9e0279ec7922e9
/kmeans-7.py
adf5c14c0ae62424d646af97b1df100408ee5beb
[]
no_license
Chandu-K/machinelearninginpython
77c51a04afc833f0ae26df6579fa0c09b6457d0d
324b0f3566959c2ea7d2b484ffd812e5d6357cfb
refs/heads/master
2020-03-22T03:27:54.535129
2018-07-02T10:17:54
2018-07-02T10:17:54
139,433,638
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
import matplotlib.pyplot as plt from matplotlib import style style.use('ggplot') import numpy as np from sklearn.cluster import KMeans X= np.array([[1,2],[1.5,1.8],[5,8],[8,8],[1,0.6],[9,11]]) #plt.scatter(X[:,0],X[:,1],s=150) #plt.show() clf=KMeans(n_clusters=2) clf.fit(X) centroids =clf.cluster_centers_ labels=cl...
[ "chandu.kota.pk@gmail.com" ]
chandu.kota.pk@gmail.com
6103a26c7c46df208b2a6c1245e86efe9f687c8c
ea532c855f5372888f91c60d95a51b89bf091749
/controllers/userTable.py
6cb95b1faef8c340cf5e0c6ea6303f8f31382602
[]
no_license
ndohertyjr/the_professor
383f04b42e1ccd6e06fca8a41387f23ac5b15e05
c2bec1423af4a415f67e9d99105110655205fb3f
refs/heads/main
2023-09-02T00:57:44.766728
2021-10-31T20:27:19
2021-10-31T20:27:19
382,406,350
0
0
null
null
null
null
UTF-8
Python
false
false
3,902
py
# Database controller class from model.database import get_db from sqlite3 import Error """ Controls access to the user table in the database """ ''' CREATE FUNCTION ''' # Verify user does not exist in table, then add user def add_user(user_id, username, role, points): db = get_db() cursor = db.cursor()...
[ "51974523+ndohertyjr@users.noreply.github.com" ]
51974523+ndohertyjr@users.noreply.github.com
24d6c9ac7d8ee3f90c92b2f6116de6365a619256
858943227f43c2b6ad387a31120b86235152a0fb
/reporting/basic/username_to_hash_id_reports.py
6c10f486862315a415b4a7f0355da5b81b775083
[ "MIT" ]
permissive
qjyzwlz/edx_data_research
2e14db206a5fef9a41c7a6470bf16591298f6dd9
6fb22ae7a40a1c531887a109a9e5aa4cc02cd189
refs/heads/master
2021-01-16T21:50:21.922901
2015-06-07T14:47:49
2015-06-07T14:47:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
''' In this script, we take a csv report as input and maps usernames to their hash ids and return a new csv_report Usage: python username_to_hash_id_reports.py db_name csv_report ''' import sys import csv from common.base_edx import EdXConnection from common.generate_csv_report import CSV db_name = sys.argv[1] # ...
[ "uehtesham90@gmail.com" ]
uehtesham90@gmail.com
f8d6a6d886bf761a7a3d19afa1fc71b998ed7ede
3d3bfef2045fcadb15033f4d291d9fd8deb42286
/Uploader/serializer.py
7eed05788a14086778be098d62ea117004a8a0f6
[]
no_license
dheerajnishad/django-interior-design-api
778e6cf8b302b96cf0b70f93404b3d3571028540
103481613e40b45dda4eab3d50853ce2be1bb9d8
refs/heads/master
2023-03-31T20:32:54.116498
2021-03-26T14:46:40
2021-03-26T14:46:40
351,811,361
1
0
null
null
null
null
UTF-8
Python
false
false
236
py
from rest_framework import serializers from Uploader.models import ProjectImageUploader class ProjectImageUploadSerializer(serializers.ModelSerializer): class Meta: model = ProjectImageUploader fields = "__all__"
[ "dheerajnishad22@gmail.com" ]
dheerajnishad22@gmail.com
8dc48a952db7cb203c4fca96f582f6db69b40e10
db2d1f36f348576d96b10f151f51c820d19b671c
/memory.py
682d98e5dcbb02a20b61aa08e1c49e52c84d2c48
[]
no_license
kq2/Games
aa269ad43ea86ba0df09f699655fcd02f9089155
0908455c584205fcaaacb1f208582456e1072471
refs/heads/master
2021-01-01T03:49:48.799541
2016-10-03T01:04:20
2016-10-03T01:04:20
56,762,106
1
0
null
null
null
null
UTF-8
Python
false
false
4,515
py
""" Game Memory """ import math import random import kq2tile import kq2grid import kq2gui import kq2animation TILE_SIZE = 100, 100 CELL_SIZE = 106, 106 ANGLE_ANIMATION = [ 0.16, 0.31, 0.45, 0.58, 0.7, 0.81, 0.91, 1.0, 1.08, 1.15, 1.14, 1.12, 1.09, 1.05, 1 ] def random_colors(num_color): """ Retur...
[ "kq2@rice.edu" ]
kq2@rice.edu
2cfec2b157b72c86df79a7c60561062d66386896
a57cc7eb409c4dfac08753544e6fdce5842e8c30
/bought/admin.py
de206e3cf9f1a41819f39c68939d9210acbfcb1d
[]
no_license
satizz/satiz_gallery
4ef307fdd54dc1e698a045141b7a5581fd858b7f
b7518a14b57bc78cb7bb05b3393b6a3ae8681327
refs/heads/master
2021-01-10T04:05:08.468337
2016-03-11T07:43:02
2016-03-11T07:43:02
52,650,796
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
from django.contrib import admin from bought.models import item # Register your models here. class itemAdmin(admin.ModelAdmin): fieldsets = [ ('Item Details',{'fields':[]} ), (None, {'fields':['name']}), (None,{'fields':['quan']}), (None,{'fields':['rate']}), (None,{'fields...
[ "sat.nep001@gmail.com" ]
sat.nep001@gmail.com
290bb219c322d38a5d7f352adeacb26b906d1b1c
e767f21e012d76038086935754a2099e3a161aa5
/figure_scripts/Malezieux_CellRep_Fig3_kinetics.py
4ec5d479ab2a24fa7122178bf48fa102a17a2fa6
[]
no_license
MerylMalezieux/Malezieux_CellRep_2020
99344888c47c11f2321dee907b9a428a539f4750
dac469bf9eb28134132cc81d9ee99fed2d391668
refs/heads/master
2022-11-26T18:22:29.985598
2020-05-27T15:14:08
2020-05-27T15:14:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,479
py
# -*- coding: utf-8 -*- """ Created on Thu Nov 21 15:31:32 2019 @author: Ashley """ # Manuscript Malezieux, Kees, Mulle submitted to Cell Reports # Figure 3 # Description: onset and offset kinetics of dVm with theta # %% import modules import os import numpy as np from scipy import stats import ...
[ "noreply@github.com" ]
MerylMalezieux.noreply@github.com
cf3e55341e073c593654b0ce4d048e66abc3427b
0e950f5d08149dd1e0e4380964144287a8edc6e7
/steps/step11.py
432fbdd184225fd543c0eaf5bf2e9a1b1120cafe
[]
no_license
shotakikuchi/deeplearning-from-scratch3
ff65e88216a6332e1679d04b66cc17ec87711ea0
ac09afc2d00064d7327d19d6a4de6096215430e2
refs/heads/master
2022-07-19T08:20:07.182011
2020-05-24T12:34:01
2020-05-24T12:34:01
266,511,741
1
0
null
null
null
null
UTF-8
Python
false
false
1,701
py
import numpy as np import unittest class Variable: def __init__(self, data): if data is not None: if not isinstance(data, np.ndarray): raise TypeError(f'{type(data)} is not supported') self.data = data self.grad = None self.creator ...
[ "shota.kikuchi@coconala.com" ]
shota.kikuchi@coconala.com
cf4004f1e7c009c4ded193633c9c4aa8c7cda448
005355a6ef55bd41c608b25bdbb4c6ede7927053
/password_generator/settings.py
86a40e45f48e8a4ec594389b4a1e32d772789d78
[]
no_license
dcepticonMan/django3-password-generator
b0dc0e6623f2c635c9048902e4b19bbe25137032
22ddfb2683dc2807baee9e437da152df796af7ad
refs/heads/master
2023-02-16T21:03:59.866296
2021-01-15T18:52:06
2021-01-15T18:52:06
329,997,859
0
0
null
null
null
null
UTF-8
Python
false
false
3,115
py
""" Django settings for password_generator project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ f...
[ "mobooks2020@gmail.com" ]
mobooks2020@gmail.com
49984aaf6964669dd79c03129fbee288768035b4
d856fe696f688f3dcda6b990f280ae789d47273f
/test/test_tensor_creation_ops.py
3575095066daf6c95cc81e216e6ede3b05581a55
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
BBIGCat111/pytorch
8f8cd0d9d3fc63b8ae33b6f0ebf87c561734d6ff
d3cde6c23c1a7d184f38d4e5fb797257e39d3376
refs/heads/master
2023-03-15T12:46:26.442454
2021-03-08T06:54:31
2021-03-08T06:57:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
150,435
py
import torch import numpy as np import sys import math import warnings import unittest from itertools import product, combinations, combinations_with_replacement, permutations import random from torch.testing._internal.common_utils import ( TestCase, run_tests, do_test_empty_full, TEST_WITH_ROCM, suppress_warning...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
4af06ebfc8fef42f9edfc1ec9452157f468d98fa
7a86aabeae1071c09573dde886d7d31b472cbd35
/intro_to_cs/pycharm/exercise1_sct.py
816ee3843065c66f4ffbb397182600d983e170f2
[]
no_license
kkrugler/codecademy-validator
7453f1f82e6488aecb959af0f9d3a8b05eca2ee2
fe5749cfb12705e0c16f7060111dd4e9b4ffc9ba
refs/heads/master
2021-01-21T21:40:01.819302
2016-05-17T15:43:43
2016-05-17T15:43:43
29,620,988
0
0
null
null
null
null
UTF-8
Python
false
false
8,195
py
import re printed_lines = CC.prints() def check_text(expected, actual, desc, is_describe_expected=True): last_char_desc = None if (type(actual) != str): return '''Your %s is not even a String.''' % desc if (expected[-1] == '.'): last_char_desc = 'period' elif (expected[-1] == '!'): ...
[ "Schmed@TransPac.com" ]
Schmed@TransPac.com
b1d924e93f89ee833b35e7cf845dd9470032aca3
4749276f3075c477598eba4be32db32e23226f86
/numpy_and_plt/plt.py
09aa76bb99b53358aec3532b4d8b5083121abbd5
[]
no_license
hangdragon/DNN
1eca7268f72e412cca4624e3236736e3f22d7921
1bc80d067a74168d8eaf452e54eb2f1e97a62036
refs/heads/master
2022-07-31T18:04:47.551383
2020-05-25T13:34:45
2020-05-25T13:34:45
266,782,474
0
0
null
null
null
null
UTF-8
Python
false
false
16,173
py
# -*- coding : utf - 8 -*- import tensorflow as tf import numpy as np class Perceptron_tf : def architecture(self): ########## layer의 갯수(layer_number)입력 ########### self.number_of_layers = int(input('원하시는 레이어의 갯수를 입력하세요(1이상인 정수입니다!) : ')) self.number_of_nodes = [[] for i in range(self.num...
[ "hanjiyong@HANui-MacBookPro.local" ]
hanjiyong@HANui-MacBookPro.local
53f90f9fd678ba7dd9efc74fe19bb7a39c50362f
1fe113a1521d65b5067956437219aade3f5954d3
/expressivity/midiio/RawInstreamFile.py
f9c40e1578a690fbf47bbe9a6dfe25348b80d7c3
[]
no_license
bjvanderweij/expressivity
b7c00b935da88d51cb3532e960e93b2c9d455976
579108611d9f7201b5047444f6bd7973bee302a2
refs/heads/master
2016-09-10T19:43:50.299929
2015-04-05T20:41:11
2015-04-05T20:41:11
1,846,634
0
0
null
null
null
null
UTF-8
Python
false
false
2,908
py
# -*- coding: ISO-8859-1 -*- # standard library imports from struct import unpack # custom import from midiio.DataTypeConverters import readBew, readVar, varLen class RawInstreamFile: """ It parses and reads data from an input file. It takes care of big endianess, and keeps track of the cursor positio...
[ "bjvanderweij@gmail.com" ]
bjvanderweij@gmail.com
12647e19ddbcc77e4aa3c3ad0e1ebd5240dfb434
299ffd64164158ee111a250884c3788cc2ffd983
/backend/zoom_24987/settings.py
bd6f2b9ba71e741b359d63319c516d67959dedc4
[]
no_license
crowdbotics-apps/zoom-24987
eaebe40b8bfc363750075f69946c94c32250a618
fcefda700a3dcae95410edf518e17ebacf51f69a
refs/heads/master
2023-03-21T00:50:54.786881
2021-03-12T01:53:33
2021-03-12T01:53:33
346,899,137
0
0
null
null
null
null
UTF-8
Python
false
false
7,096
py
""" Django settings for zoom_24987 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
708723aa3ef6416f3039260ae36ae594d3543ed8
d64cf6fbb39ddc42a0dd7c73fb970eca458c584d
/system/indy-node-tests/TestAdHocSuite.py
08d89d2443e91fc9002bea83d3d447bc7285601d
[ "Apache-2.0" ]
permissive
AYCH-Inc/aych.hyperindy.autest
81173b28314ff9e6e74adaea6c60f961e002c858
8486267e45c362a28843e64634c6a5f0ea0edb9e
refs/heads/master
2021-04-09T23:27:22.308251
2020-02-17T12:49:29
2020-02-17T12:49:29
248,891,962
0
0
null
null
null
null
UTF-8
Python
false
false
13,680
py
import pytest from system.utils import * import docker from random import choice @pytest.mark.usefixtures('docker_setup_and_teardown') @pytest.mark.usefixtures('check_no_failures_fixture') class TestAdHocSuite: @pytest.mark.nodes_num(4) @pytest.mark.asyncio # staging net issue (INDY-2233) async def t...
[ "vladimir.shishkin@dsr-corporation.com" ]
vladimir.shishkin@dsr-corporation.com
8bf7f50220f7b1f42f0f502c85f94c86400cf9ff
dd04c22836edefe77eeeaedc92662f09fc66c09c
/examples/indicators/moving_averages/indicators_ema.py
5026aa9e5c6ff4ebb42b3b5090945de3300e86db
[ "MIT" ]
permissive
MyBourse/trading-technical-indicators
0d7e3e86a274f3ed50290072e2d716416a8d485d
908e93018b3aa8ba9bee099ce9f1813ea64c6d72
refs/heads/master
2022-04-14T13:27:01.261453
2020-02-09T12:31:07
2020-02-09T12:31:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,540
py
''' File name: indicators_ema.py Example code rlated to the tradingti.indicator package. EMA Trading Indicator. Author: Vasileios Saveris enail: vsaveris@gmail.com License: MIT Date last modified: 26.01.2020 Python Version: 3.6 ''' import pandas as pd from tradingti.indicators import EMA # Futu...
[ "vsaveris@gmail.com" ]
vsaveris@gmail.com
3737ae2448b4558433d4e71caef1f5ebcd5b024c
c8b819d5e728e30d4d796a5c6821421e01529302
/djProject/apps/tasks/migrations/0004_auto__add_comment.py
06648e54504d10f9f6aa913ad137b245ad927135
[ "BSD-3-Clause" ]
permissive
devsar/djProject
729e42ab8799ec648810eb7151c08cf4102efbbd
503fb9dd06c304f0450977bf4bac87d238b71626
refs/heads/master
2020-05-20T06:41:33.500733
2011-08-01T02:08:32
2011-08-01T02:08:32
1,985,397
1
0
null
null
null
null
UTF-8
Python
false
false
8,233
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Comment' db.create_table('tasks_comment', ( ('id', self.gf('django.db.models.f...
[ "sebastian@devsar.com" ]
sebastian@devsar.com
172af6bb4452711f78a3c0202568c7e899d5c577
238e46a903cf7fac4f83fa8681094bf3c417d22d
/VTK/vtk_7.1.1_x64_Debug/lib/python2.7/site-packages/twisted/words/test/test_oscar.py
b2035d1afb15fa8f92969c10f1ffd8f6810ac5bf
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-3-Clause" ]
permissive
baojunli/FastCAE
da1277f90e584084d461590a3699b941d8c4030b
a3f99f6402da564df87fcef30674ce5f44379962
refs/heads/master
2023-02-25T20:25:31.815729
2021-02-01T03:17:33
2021-02-01T03:17:33
268,390,180
1
0
BSD-3-Clause
2020-06-01T00:39:31
2020-06-01T00:39:31
null
UTF-8
Python
false
false
689
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for L{twisted.words.protocols.oscar}. """ from twisted.trial.unittest import TestCase from twisted.words.protocols.oscar import encryptPasswordMD5 class PasswordTests(TestCase): """ Tests for L{encryptPasswordMD...
[ "l”ibaojunqd@foxmail.com“" ]
l”ibaojunqd@foxmail.com“
6ff915ccb108c93545ca357fe9633d124c416a8e
f120d4902578e9d531a9e3a6701a9ea4030c7c80
/Python_NLP_backend/news/realnews.py
963dfa9f0415ccd6eae813f3ce041e0f6aeb2b73
[]
no_license
mjosephan2/baermaster
89e5589a04b03b59b868f3e6eb97d318420d423e
cfda4cb5a37a55303abb0e4470c249ffd321d965
refs/heads/master
2020-08-13T11:43:33.543997
2019-09-26T10:57:32
2019-09-26T10:57:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,107
py
import newsapi from newsapi import NewsApiClient import numpy as np import pandas as pd import time import scipy.sparse as ss import matplotlib.pyplot as plt import csv import collections import string import nltk from nltk.tokenize import RegexpTokenizer from nltk.corpus import stopwords import re from sklearn.feature...
[ "jason.chowcs#gmail.com" ]
jason.chowcs#gmail.com
e2874dfd6f8aca2ed3abbd73ad1d33af2537a36c
b2d5ab7f1b7d2cebd25a2a4ec4a1f3d834ec442c
/1044.py
52fdf47bdf58592f204eae61aa2b69745642c29a
[]
no_license
henriqueparaguassu/uri-online-judge
d3a1663e9f054a6c8f9255606576492f0710f7c1
793579a3c31d5577283dcb3c209eb279fa76f673
refs/heads/main
2023-08-05T12:17:42.099688
2021-09-16T00:54:59
2021-09-16T00:54:59
406,966,727
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
n = input() A = n.split() x = int(A[0]) y = int(A[1]) if (x % y == 0) or (y % x == 0): print('Sao Multiplos') else: print('Nao sao Multiplos')
[ "henriquevoglerparaguassu@gmail.com" ]
henriquevoglerparaguassu@gmail.com
ab6f3a4d3ab74a2ba6c4d84ce083ce4ccbe64a61
25c86c9a28308ae3237dacc0d59c204cfc393003
/app/maps/migrations/0014_auto_20170611_2126.py
1bc96f9c5b37bd7995f1a28364418200cae01811
[ "MIT" ]
permissive
bladekp/DroniadaDjangoDronekitAPP
ec6002eef27706413340e1c2c4afcd92f094939a
2a829ee5f1cc718b501ae315e812433b8ef49293
refs/heads/master
2021-12-14T17:25:19.893776
2021-12-06T16:54:57
2021-12-06T16:54:57
91,502,139
1
1
null
null
null
null
UTF-8
Python
false
false
773
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-11 21:26 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('maps', '0013_auto_20170611_2123'), ] operations = [ migrations.AlterField( ...
[ "bladekp@ee.pw.edu.pl" ]
bladekp@ee.pw.edu.pl
4e0d695cc5dadb7408ed67f7b27413687749c8f5
f994051a71b2a6fe5ba1357bc9da9b38d5843e26
/react_frontend/views.py
bbd03c3b92037a5c37c21486493ad11c1f80726e
[]
no_license
mohsam97/complaint-management-portal
ed6be88668764f24db506c15f827f864e9ea0cba
0314a18af297637f6f7107c58d9cce2850a48fc4
refs/heads/master
2023-07-04T13:33:40.040202
2021-08-07T17:44:53
2021-08-07T17:44:53
393,752,758
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
from django.shortcuts import render def index(request): return render(request, "frontend/index.html")
[ "mohsam97@gmail.com" ]
mohsam97@gmail.com
42e731c4a27671293b4759fbeac2b6d133bfb510
85e6d039205878475e05957219aa6fb32b04b086
/28-implement-strstr.py
34ad216b73d8add1e35e450064f5b8b85f47dec5
[ "MIT" ]
permissive
LGX95/leetcode
e4e3fd98527a8559b60beb572b1f728b97357c14
a25813975beca8e24e8b0c920d6e2ef488c848da
refs/heads/master
2023-01-28T13:00:16.624801
2020-12-07T15:17:58
2020-12-07T15:17:58
292,799,111
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
"""Question: https://leetcode.com/problems/implement-strstr/ """ from util import print_vars class Solution: def strStr(self, haystack: str, needle: str) -> int: if haystack == "" and needle == "": return 0 for i in range(len(haystack) - len(needle) + 1): if haystack[i:i +...
[ "ligengxin95@gmail.com" ]
ligengxin95@gmail.com
c58a2bd5c02ec9417df7aefbfc85f7b4a8906bb1
c44a2871e1fc79f91d195acfac4642fc22f9017a
/MachineLearning/StockPricePredictor/LinRegLearner.py
0e79c3d9a71234cfc2cd427296ccbfa854c65482
[]
no_license
mkumble/codestack
299155657a6310f70080acc9c9e2755a1e7f6c31
a3ef98b8c8563082fa7e618cb1e06db52e02c413
refs/heads/master
2020-05-18T23:34:15.833632
2015-04-22T05:13:20
2015-04-22T05:13:20
23,770,326
0
0
null
null
null
null
UTF-8
Python
false
false
2,426
py
#!/usr/bin/env python __author__ = "Mithun Kumble" import numpy from scipy.spatial import cKDTree import math,random,sys,bisect,time import numpy,scipy.spatial.distance import cProfile,pstats import sys from CommonUtils import calculateRMSError from DataHandler import getflatcsv class LinRegLearner: def __init__(...
[ "mkumble@gmail.com" ]
mkumble@gmail.com
a4198b01c54441278045f5049ab837b159422e89
f8ff804676002a23ec59b470a41c784a2ad9d1b8
/z3_toolbox.py
20d209942d1bd0943c29625656aa722082d7ac7c
[]
no_license
NickF0211/2542project-pre-study
ebce207987d2a405dd14cb388b6d21ffc030a4ab
29d80d0ab2f79dda92c8c1e709bdb13f7fc5e3e3
refs/heads/master
2023-04-24T08:26:27.578385
2021-05-09T00:14:29
2021-05-09T00:14:29
342,433,404
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from z3 import * def atMostOne(candidates): if candidates == []: return True else: head = candidates[0] rst = candidates[1:] return And(Implies(head, Not(Or(rst))), Implies(Not(head), atMostOne(rst)))
[ "lkbjhgfd@hotmail.com" ]
lkbjhgfd@hotmail.com
1dfed182f707b1230da4ea92963aa1a4bc0ae4ce
a1dee1218ca6d948e6c9ba5f5bc299357fa17cf3
/tests/utils-tests.py
9da2d628f93fc7eb9ecaabb7bd718234ae31dca7
[ "MIT" ]
permissive
koaning/wallholla
27d3a7cf310ec093f0b37db9d3bf9e025f44ee09
6641928dab90b19f02de9a8bfecac88d773e35ae
refs/heads/master
2021-03-29T02:05:19.133413
2018-06-01T12:15:58
2018-06-01T12:15:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
import unittest from utils import make_pretrained_filenames class MakeFileNameTestCase(unittest.TestCase): def test_basic_usage1(self): res = make_pretrained_filenames("catdog", "random", "mobilenet", 200, (100, 100)) outcome = [ 'catdog-mobilenet-random-200-100x100-train-data.npy', ...
[ "vincentwarmerdam@Vincents-MacBook-Pro.local" ]
vincentwarmerdam@Vincents-MacBook-Pro.local
c66c0543322bb8f8a5580de0e145f2b559ec397a
9bbb7685f7a85f505784543694cb94431326c83b
/tests/test_install.py
2901da1126623c5f614a826cb5bad1443040b8dd
[ "Apache-2.0" ]
permissive
hunter-packages/fruit
88248cb71b7fedc455ebdd7ac3624dfd8f030331
71d9ada48f7bf1749ce2889250955404582a7c6b
refs/heads/hunter-3.1.1
2020-03-27T13:03:06.281313
2018-08-29T11:29:11
2018-08-29T11:29:11
146,586,928
1
2
Apache-2.0
2018-08-29T11:29:12
2018-08-29T10:58:43
C++
UTF-8
Python
false
false
33,914
py
#!/usr/bin/env python3 # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "poletti.marco@gmail.com" ]
poletti.marco@gmail.com
e82872e0749461c4e0d26b538971dd6af10c902e
6ec710d4577e1e06b3c57fd49ac88e9bce1b82ed
/venv/bin/pygubu-designer
13d69bca40150a647a9232994f85fdecdc5e4aff
[]
no_license
TandyTnd/electricidad
a35cbf1b0618e763d1355c8adfdf7654f44f5420
7344ef1e2ab2c91f8c3149f4e124ea884d290ac6
refs/heads/master
2023-04-07T16:27:22.877466
2020-01-10T20:42:38
2020-01-10T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
#!/home/tndrdesk/PycharmProjects/electricidad/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pygubudesigner.main import start_pygubu if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(start_pygubu())
[ "A01654827@itesm.mx" ]
A01654827@itesm.mx
da57267020f99209add791345266dff1d04c191c
39b3c5b822244c970be17da4bba52e394bc3f258
/TIDALDL-PY/tidal_dl/download.py
0b5ad83ea871d1f2b51d7231654eb4568654169b
[ "Apache-2.0" ]
permissive
ModProg/Tidal-Media-Downloader
897c6ec725818050c43e70b38143847afd174c48
50b08a3f68426d765a943049fc921ef178083929
refs/heads/master
2022-11-19T17:01:32.866966
2020-07-03T11:32:57
2020-07-03T11:32:57
276,871,019
0
0
Apache-2.0
2020-07-03T10:18:30
2020-07-03T10:18:29
null
UTF-8
Python
false
false
32,358
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : download.py @Time : 2019/02/27 @Author : Yaron Huang @Version : 1.0 @Contact : yaronhuang@qq.com @Desc : Download Function ''' import sys import os import codecs from datetime import datetime from aigpy import pathHelper # from tidal_dl ...
[ "392309221@qq.com" ]
392309221@qq.com
dee56192c665947a5c40981b9f530c8e07040c27
bef915f5c24958737f9bbecb5ed51b485bb86384
/pddlstream/algorithms/satisfaction2.py
6239d323c4b3db1b1423818b6ba4985be04d0375
[ "MIT" ]
permissive
aiyi2099/pddlstream
c7757764d066e95fc533e9f7ce318bfbe935f6c5
2efd66351f9f2ae875d3b3629a49d9c22fa54896
refs/heads/master
2020-04-25T21:39:42.959640
2019-02-25T23:46:54
2019-02-25T23:46:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,272
py
from __future__ import print_function from pddlstream.algorithms.algorithm import parse_stream_pddl, evaluations_from_init from pddlstream.algorithms.common import SolutionStore from pddlstream.algorithms.downward import make_domain, make_predicate, add_predicate, make_axiom from pddlstream.algorithms.recover_optimize...
[ "caelan@mit.edu" ]
caelan@mit.edu
22db28b27bcda667767fa13f454db3c18a2c3a11
9d3171d191914bb980f8fea2b895de79d9893db6
/scikits/statsmodels/stats/tests/test_diagnostic.py
ac1e07b146b8b7f9f439869919dcbdbfd6620fb7
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
takluyver/statsmodels
2d3ba11035501bd1e35f23daf27bca823eec2cb5
3f1aeba98cd4bc2f326f9c18c34e66c396be99cf
refs/heads/master
2023-06-19T18:51:28.464440
2012-02-29T16:24:25
2012-02-29T16:24:25
3,585,072
0
0
null
null
null
null
UTF-8
Python
false
false
28,983
py
# -*- coding: utf-8 -*- """Tests for Regression Diagnostics and Specification Tests Created on Thu Feb 09 13:19:47 2012 Author: Josef Perktold License: BSD-3 currently all tests are against R """ import os import numpy as np from numpy.testing import (assert_, assert_almost_equal, assert_equal, ...
[ "josef.pktd@gmail.com" ]
josef.pktd@gmail.com
98e2d1500a5338b9d1789e2f09a9c8c3deeadece
d1d81b97f4f6c733841150b95d9f966fc97e3846
/dir()语句.py
3659532052568344541c9ab7d0d2887541f18cbd
[]
no_license
A-lPha/-python-test
15ce38d473811d0a68a04d18e841543bdfa03688
3b8300f87e4be0145ed78f4a2ffe641adef6e25f
refs/heads/master
2021-01-13T14:48:31.681494
2016-12-15T15:01:21
2016-12-15T15:01:21
76,569,324
0
0
null
null
null
null
UTF-8
Python
false
false
26
py
import os print dir(os)
[ "noreply@github.com" ]
A-lPha.noreply@github.com
3c68c0ecfbf00348fbd1c2d22ad0713d11d9420b
a1e98002088582085f0733d7bbe3c6416a28f2ca
/Django/june5/manage.py
02adebf23b3ece45366357e172c531d64ae63bcf
[]
no_license
flannerykj/modules-archive
ff7dbde76ccac873d0a6ed15ad8458d827b9008f
1c10d04794b497354d976d8bd9814db2bb2b48ad
refs/heads/master
2020-12-02T16:36:43.702798
2017-07-07T16:36:52
2017-07-07T16:36:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "june5.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "flannj@gmail.com" ]
flannj@gmail.com
16f537a1b9f7d342b7d0390549a86589bdc67781
5a0dc727d87f2e46c56299a4084877e9c1633141
/src/pageobject/loginpage.py
1141f09be460e506337882775b0f0302e4c78b00
[]
no_license
llllllinggggwei/auto_UI
f0bbe17cd6dd1f21768867dbfb6ff57a08519600
6108fba3dc94c12ea3620758f078df469747c621
refs/heads/master
2023-04-14T00:29:36.211286
2021-04-27T03:39:33
2021-04-27T03:39:33
360,745,275
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
from src.pageobject.basepage import Page from selenium.webdriver.common.by import By # 登录页面 class LoginPage(Page): # 元素集 # 账号输入框 account_input = (By.NAME, "account") # 密码输入框 password_input = (By.NAME, "password") # 登录按钮 login_button = (By.XPATH, "//span[text()='登 录']") # 关闭窗口按钮 cl...
[ "419056831@qq.com" ]
419056831@qq.com
31fef5230a0f043658d1beccdb76fae0ca3d4085
2c7608ea752fee771f4e69fcaf6716ba2e82fce7
/bin/pasteurize
35b93faf5839293fd403c90c5b41e50c099808c7
[]
no_license
YLZLY/ChatterBot_
5ea57eb68759e2676706672587c3f97457ca35be
a0333f5e703065bafb6a7e1b28c44bad1fa797c1
refs/heads/master
2020-09-14T10:43:46.292984
2018-05-03T19:32:53
2018-05-03T19:32:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
255
#!/Users/amarchisio/starterbot/starterbot/bin/python # -*- coding: utf-8 -*- import re import sys from libpasteurize.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "noreply@github.com" ]
YLZLY.noreply@github.com
882398f469ad3b3c3ed122b0a18d5b1cd52427ee
0451afefb78e8bff2804b3a0aa9e7420b84e3a19
/03-equality.py
7f0aae3fec436c4818e13280a6d33a0a159bfd01
[]
no_license
jarednthomas/python-challenge-2021
f3ee348e1aadf37665b5735f2e0f3ad472bcebb5
0646c4374e50734504c94cd2d887a96e4bc15074
refs/heads/main
2023-07-02T07:19:39.788371
2021-08-02T06:57:27
2021-08-02T06:57:27
391,512,416
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
#!/usr/bin/env python3 import re, requests from bs4 import BeautifulSoup, Comment # Set url and headers url = "http://www.pythonchallenge.com/pc/def/equality.html" headers = { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'GET', 'Access-Control-Allow-Headers': 'Content-Type', 'Acc...
[ "jaredpyrothomas@gmail.com" ]
jaredpyrothomas@gmail.com
8a6cad25cd8faee53fb079d4f2d6261d56c6bb5d
e6145805bc3a338fab6dbe8a2737f4047a654ef6
/project_site/sql-orm.py
717347861bc5e445d1a4d1e82876ec42de80102a
[]
no_license
Danko99/site_django_first
654017e7fc8c923b30e249c419616653c636bc4a
63a4a45633c25cf8f073a3b78e9f3d2b2b83e7da
refs/heads/master
2023-08-07T19:20:14.135840
2021-09-23T16:40:11
2021-09-23T16:40:11
405,380,071
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from news.models import News news1 = News(title="Новость 2", content="Контент новости 2").save()
[ "58398839+Danko998@users.noreply.github.com" ]
58398839+Danko998@users.noreply.github.com
39b633a1c1e7311cd3957b5b541a863b54ca8d09
f3bd271bf00325881fb5b2533b9ef7f7448a75ec
/xcp2k/classes/_rho0_information1.py
266e763637cc4db3096f702b0dc24ff4016f5056
[]
no_license
obaica/xcp2k
7f99fc9d494859e16b9b0ea8e217b0493f4b2f59
6e15c2c95658f545102595dc1783f5e03a9e6916
refs/heads/master
2020-07-15T17:27:43.378835
2019-02-11T16:32:24
2019-02-11T16:32:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
from xcp2k.inputsection import InputSection from _each249 import _each249 class _rho0_information1(InputSection): def __init__(self): InputSection.__init__(self) self.Section_parameters = None self.Add_last = None self.Common_iteration_levels = None self.Filename = None ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
dbf8bbb76fa72d0dc5d11a244358c3400d2a591c
b03fe7009626eb0001ab9e797e098ea248291910
/Contest/SymmetricTree.py
38c5c45288c627e9378cdef4d253b7a896ace901
[]
no_license
Anirudh-thakur/LeetCodeProblems
84761bd006527fb485a7e6a24047fc9d8cbde7fc
1e59e40df06df85d8f3366c326cb4392d27b9e64
refs/heads/main
2023-07-01T13:34:45.166492
2021-08-07T02:09:10
2021-08-07T02:09:10
367,592,489
0
0
null
null
null
null
UTF-8
Python
false
false
1,322
py
# https://leetcode.com/problems/symmetric-tree/ # Definition for a binary tree node. class TreeNode(object): def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution(object): def isSymmetric(self, root): """ :typ...
[ "anirudh.thakur94@gmail.com" ]
anirudh.thakur94@gmail.com
d24ea9e87cc6ec4b639a144c8ebb515845c2ea48
439ab4a51a4fc1f0877a6bdc5092d6761ff46b96
/polls/urls.py
cfadddf3130ffaecdd0410152bc698a2c4a26e12
[]
no_license
UsernameForGerman/askru
e58ccd13d6e0da9abe103e75688ab6f97698438b
c2b62c175cc38abf0d565d2e0e42f05e19bf878d
refs/heads/master
2022-12-11T09:20:50.071495
2020-09-16T19:23:12
2020-09-16T19:23:12
295,678,924
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
from django.urls import include, path from .routings import router app_name = 'polls' urlpatterns = [ path('', include(router.urls)), ]
[ "polyakgerman@gmail.com" ]
polyakgerman@gmail.com
d2f8a4958bd91a5421dcd5d164e905b1d5656717
0d546bff5f7421c5b118ff9dce257b9c65291689
/services/cms_app.py
111edca6c0b1f00f6802f2029a0ca604d80cf403
[]
no_license
ZloiGremlin/agentstvo
cace44c9298b2e5d2767094e5bacd6cd130eb451
1d39694caf89c66ac67489aa3add2482d7e139e1
refs/heads/master
2016-09-01T19:48:04.140064
2013-06-01T14:08:28
2013-06-01T14:08:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
# vim:fileencoding=utf-8 from cms.app_base import CMSApp from cms.apphook_pool import apphook_pool class CakesApp(CMSApp): name = u'Услуги: Торты' urls = ["services.cake_urls"] class DecoratesApp(CMSApp): name = u'Услуги: Украшения' urls = ["services.decorate_urls"] class RequisitesApp(CMSApp): ...
[ "zloi.gremlin@gmail.com" ]
zloi.gremlin@gmail.com
05ba170c288cc1402abe1c388ae50633613b71c6
e49d335d66e6ce28330cd9bb1731152d41dff8f8
/favNumber.py
b6695a2034523df6ae714dfa81d806816e74774e
[]
no_license
sizif/ps-python-path-one
fe52b2b9e3328e752497f4e23cfbadc889e1a9f4
a4e4aa552a5028979ddc04546ef7fdefcc39c8c9
refs/heads/master
2020-06-18T17:56:23.760126
2016-10-14T19:56:28
2016-10-14T19:56:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
print("What's your favorite number?") # print to console # git test
[ "ImsirovicAjdin@users.noreply.github.com" ]
ImsirovicAjdin@users.noreply.github.com
c2505100ccc3c9c808011a301d677a8ff2f94b66
8e57713c7662fb4e851b4a60e1aa743143e94940
/To_From_dynamo.py
82b1799ddbfbe39ba3d568dc76e13f5bf84615c8
[]
no_license
Prathyusha277/Cloud_Project
5ca4538bc102e30ef58d7a482cd54bdab34563a1
78b4f6b56e32f793f0ac8b8b412a3b085f85599c
refs/heads/master
2020-04-03T00:55:32.589432
2016-11-30T19:37:16
2016-11-30T19:37:16
60,643,786
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
import boto import csv import random from boto import dynamodb2 from boto.dynamodb2.exceptions import ItemNotFound from boto.dynamodb2.table import Table from boto.dynamodb.condition import LE, EQ, GE, BETWEEN def cc_prediction(From_user,TO_USER): dynamodb_conn = boto.dynamodb2.connect_to_region('us-west-2') dynamod...
[ "prathyu@uw.edu" ]
prathyu@uw.edu
2d2e271336619fd6ce911645db998560f6dc91c4
18c10aa1261bea4ae02fa79598446df714519c6f
/80_pythonProject/code07-01.py
09a2e9b1428a585abf14afa2b2ae0c0adc62af93
[]
no_license
giveseul-23/give_Today_I_Learn
3077efbcb11ae4632f68dfa3f9285d2c2ad27359
f5599f0573fbf0ffdfbcc9c79b468e3c76303dd4
refs/heads/master
2023-05-06T08:13:49.845436
2021-05-25T04:33:20
2021-05-25T04:33:20
330,189,867
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
# a = 10 # b = 20 # c = 30 # hap = a + b + c a = [10, 20, 30] a = [0, 0, 0] a[0] = 10 a[1] = 20 a[2] = 30 #a[3] = 40 hap = a[0] + a[1] + a[2] print(hap) print(len(a)) # 방의 전체 갯수
[ "joodasel@icloud.com" ]
joodasel@icloud.com
00b1556f93908ce7243de4a76431a0482c4fb549
58338d473f34e7fdcb80e6a281a65e8cbb6826e8
/showing_digit.py
06134f8291c74ae70effecef62f6668c0658825b
[]
no_license
sandeep9889/neural_network
5b0bddec899418f8434c5b25b7198338d79190b6
634beb5a161a2ceead3fdd924bb4834d7169273d
refs/heads/main
2023-08-27T18:42:01.810711
2021-11-15T06:49:46
2021-11-15T06:49:46
427,841,196
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
import numpy import matplotlib.pyplot %matplotlib inline data_file = open("mnist_dataset/mnist_train_100.csv","r") data_list = data_file.readlines() data_file.close all_values = data_list[0].split(',') image_array = numpy.asfarray(all_values[1:]).reshape((28,28)) matplotlib.pyplot.imshow(image_array,cmap='Greys', inte...
[ "sandeepchauhan9630228313@gmail.com" ]
sandeepchauhan9630228313@gmail.com
af63607ea6184a20fe8159adf2d867627c3ab91f
53bd1888e29dd76a2aed467eb5122dcc4802013b
/src/test/s3.py
27015fbf30e579d9ae3efbd53e1c558df9434937
[]
no_license
hongyunnchen/TWCC-CLI
254c45830c39047d6e08e798de85bec6c48b0359
7b80dd5df86199a6c0544d42a0648fbcf44fc9db
refs/heads/master
2023-01-07T14:15:20.826838
2020-06-17T01:06:10
2020-06-17T01:06:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,867
py
from __future__ import print_function import sys, os TWCC_PATH = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) sys.path[1]=TWCC_PATH from termcolor import colored def TWCC_LOGO(): print ( colored(">"*10+" Welcome to ", 'yellow'), colored('TWCC.ai', 'white', attrs=['reverse', 'blink']...
[ "taiwanpride888@gmail.com" ]
taiwanpride888@gmail.com
bd58898ff5e639d5aed47288e437c57b6290db16
f19012ef68807173eea827c0315f672ef56290ce
/python/problem10/sol.py
e7b438949e76985aab91857547173180efafd201
[]
no_license
dkuldeep11/project-euler
33b49202c401d649b2dd61b1243f7aa0d3a7dbd9
2e9e33b9e9e1207e73a119a68ff0eacbfc682d82
refs/heads/master
2020-08-06T20:03:14.035077
2016-10-22T08:01:41
2016-10-22T08:01:41
21,801,851
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
marked = [0] * 1000000 value = 3 s = 2 while value < 1000000: if marked[value] == 0: s += value i = value while i < 1000000: marked[i] = 1 i += value value += 2 print s
[ "dkuldeep11@gmail.com" ]
dkuldeep11@gmail.com
07af8e9ef55e0b2579cbc523d01dae3e7ecc544f
e46c72e21f3eb65f79d6100a50ae008d60e34946
/old/language/python/udemy/ds/135/135.py
9d5df69b4678a9f72bdcd3bd70f4d26f8bb1b94f
[]
no_license
jsmack/learn
cacacdad07c56d73c32797f6393c89185e549bc5
2bc31eb32100eaff7409d6932eb67fb18be37cd8
refs/heads/master
2023-04-15T17:45:14.402233
2023-03-20T06:20:57
2023-03-20T06:20:57
126,584,082
0
1
null
2023-03-09T00:44:18
2018-03-24T09:24:08
Jupyter Notebook
UTF-8
Python
false
false
766
py
import sqlite3 #conn = sqlite3.connect('test_sqlite.db') ## in memory conn = sqlite3.connect(':memory:') curs = conn.cursor() curs.execute( 'create table persons(id INTEGER PRIMARY KEY AUTOINCREMENT, name STRING)' ) conn.commit() curs.execute( 'INSERT INTO persons(name) values("Mike")' ) conn.commit() cur...
[ "noreply@github.com" ]
jsmack.noreply@github.com
7bcdde9d69bbfdf507ab5deb5fc46e32a41bc479
5af6c600306d0bb2ad9ff9b7ac660c4f0b250a54
/analyses/scripts/plots/create_audio_filter_plots.py
df4f9a6deb5ed23d8608ad824c4a417a01791a1c
[ "MIT" ]
permissive
jean-andre-gauthier/findsong
2c1c47fa4313bae3da6b34c893465c070b20ffe3
7dbac881d4ac8aeb0826c5999e1a5bf9ca68ff2f
refs/heads/master
2021-06-07T07:14:04.182444
2020-07-01T07:32:32
2020-07-01T07:32:32
125,167,600
3
0
null
null
null
null
UTF-8
Python
false
false
4,768
py
""" Generates a plot for audio filter analyses WARNING: contains hardcoded values (taken from analyses/data/audio_filters/recognition_rate_for_matches) """ from argparse import ArgumentParser import matplotlib matplotlib.use("Agg") from itertools import groupby import matplotlib.pyplot as plt import numpy as np from ...
[ "jean.andre.gauthier@gmail.com" ]
jean.andre.gauthier@gmail.com
321011e09a0f1060c3d37f2603fac8f748d076a1
0c165b875e9c0189a01fdd77b6a5c22a371be1f5
/bp_locations/deprecated/get_TopBPs.py
60328b4a9fd5431f7f8c102588aa7a2ed60a87ab
[ "MIT" ]
permissive
gunnarpope/eosblocklife
ed904c9257860660a98fb8719cd8398e88cf9455
1028788f73568de68f7df51f5d960e3e38d9bc4e
refs/heads/master
2020-04-07T06:12:36.129427
2019-07-19T18:35:10
2019-07-19T18:35:10
158,126,213
1
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
import os import requests import json from pprint import pprint from get_api import * # output = str(os.system('cleos -u https://api.eossweden.org system listproducers -l 100 > bp_list.txt')) with open('bp_list.txt','r') as f: data = f.readlines() # create a row entry for each BP bps = [ row.strip().split() for ro...
[ "gunnar@gmail.com" ]
gunnar@gmail.com
d01fc85129d2621718d9fb4e85e5e59853382e4e
85291887cc4550a45acc077d0ef007efca39460c
/fastreid/solver/optim/__init__.py
35166055399065859dc667f41a27d92176acc14e
[ "Apache-2.0" ]
permissive
lingxiao-he/fast-reid
309915e98b679264ae6d57b3573cf00502e8576a
29f318c609a6c94b4ae8ab2d88ca37f689e6c109
refs/heads/master
2022-09-12T04:18:21.906079
2020-06-01T02:42:33
2020-06-01T02:42:33
268,408,241
0
1
Apache-2.0
2020-06-01T02:38:57
2020-06-01T02:38:56
null
UTF-8
Python
false
false
291
py
from .lamb import Lamb from .lookahead import Lookahead, LookaheadAdam from .novograd import Novograd from .over9000 import Over9000, RangerLars from .radam import RAdam, PlainRAdam, AdamW from .ralamb import Ralamb from .ranger import Ranger from .swa import SWA from torch.optim import *
[ "sherlockliao01@gmail.com" ]
sherlockliao01@gmail.com
09312b413626034603d22e8710c8a59d6faa95ce
3199589c741e1be8bf226bfdb557978cf36b10f7
/smartrez/migrations/0005_auto_20170602_0531.py
f6b0b866fe027243eeb270ce98ca028249e0e61e
[]
no_license
yadav1aryan/smartrez
566f0555850bc8143edd53222018025706529864
89caa41005fd9d2a26bfd9ef05522e05a255f885
refs/heads/master
2021-01-23T10:21:25.226003
2017-06-06T06:05:54
2017-06-06T06:05:54
93,055,895
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-02 05:31 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('smartrez', '0004_img_thumb_url'), ] operations = [ migrations.RemoveField( ...
[ "yadav1aryan@gmail.com" ]
yadav1aryan@gmail.com
72d6712831449572e9936eb833178603ded478e6
5c7da7dabdc076ad7113ccd20561a8bbf5f9a70e
/investments/api/urls.py
324a28aca34350ecc4cebfd00b973c17458b954b
[]
no_license
aqcloudacio/cloudaciofeez
2499fb5fc5334fa871daab2abea6c34bfa8c7667
8399560ece9aa10a6d6801f42c027dca26a65936
refs/heads/master
2023-02-27T22:36:20.501159
2021-02-11T00:03:46
2021-02-11T00:03:46
337,887,413
0
0
null
null
null
null
UTF-8
Python
false
false
2,887
py
from django.urls import include, path from rest_framework.routers import SimpleRouter from rest_framework_nested import routers from investments.api.views import (InvestmentViewSet, InvestmentClassViewSet, AssetAllocationViewSet, AssetAllocationName...
[ "alejandro.quintero@clouxter.com" ]
alejandro.quintero@clouxter.com
87b391c44ecdd79cf4d4aa98c49de5f95409783b
ac562c0d008a282bef5ea4705b4fc8c2b8897964
/Ch07_exceptions/TRY_EXTENSIONS/ch07_09_assertion.py
2376c7c5769be7bd3562d34a00bcfa0da2a2e6a0
[]
no_license
jimmus69/python-projects
ed78a50250356e9366c9d10303facf037a310596
9a91fe7f979e6e09dedec7b60595e91ae2d0d321
refs/heads/master
2021-01-21T10:52:08.486557
2017-05-18T18:51:54
2017-05-18T18:51:54
91,708,264
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
#! /usr/bin/python -O """ Program: ch07_06_assertion.py Function: An exploration of assertion """ import sys def get_number(): number = int(raw_input("Enter a number (10 - 99): ")) assert number > 9 and number < 100, "Number must be between 10 and 99" return number while True: try: ...
[ "noreply@github.com" ]
jimmus69.noreply@github.com
99d5bdfc4d5e27844954b4dc1ceb95a16c54bf99
0322f3ea9e66a303d46e229ddf2cbd46e794f46e
/model/label.py
3506eecf086118b43ecaa9df7026b9755a24bbea
[]
no_license
WangYX-TKZ/AdvancedEAST-caffe
3df0c7cff265439bf2e1b888be0b9e3d9920dd95
0e56626165fd679f2daa302286d5025078b131ef
refs/heads/master
2022-12-04T13:01:46.971973
2020-08-27T06:44:00
2020-08-27T06:44:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,787
py
import numpy as np import os import cv2 from PIL import Image, ImageDraw from tqdm import tqdm import cfg def point_inside_of_quad(px, py, quad_xy_list, p_min, p_max): if (p_min[0] <= px <= p_max[0]) and (p_min[1] <= py <= p_max[1]): xy_list = np.zeros((4, 2)) xy_list[:3, :] = quad_xy_list[1:4, :]...
[ "395934383@qq.com" ]
395934383@qq.com
979fda9d64ffb33988e33d552691c2db5cf5b8c9
cc3b5dca5e969b3890ccd91d41d04b068e21b13a
/graph.py
25c4859fc4c756d4a071916d28163ecb5d7f5bfa
[]
no_license
saransappa/Graph-Algorithms-in-Python
846cfe53ed4dc5ac3ab093f20b4db7580c85a502
2d8530ce8037e093ce5aa0dd8129b10dee308cfa
refs/heads/master
2022-11-26T10:33:50.629733
2020-07-27T05:41:59
2020-07-27T05:41:59
281,698,931
1
0
null
null
null
null
UTF-8
Python
false
false
7,403
py
# @author: Saran Sappa class graph_node: label = None adjlist = None # adjacency list of the node visited = None # -1 if node is not visited, 0 if visited but still under process and 1 if node visited component = None # Used for assigning connected component number def __init__(self, l): ...
[ "saran.sappa@gmail.com" ]
saran.sappa@gmail.com
42c706c83bf0ed544bdb726a8bf29c823388270e
56a4b179029d1808151bd8435b7b357f6247d8c0
/idealab/makeGallery.py
2202f2a336ca4feb01898faf62482d220e07f0c7
[]
no_license
jtmorgan/grantsbot
8bfa1adec259054e75b6391e260c05cf48377a35
0d334a962e08e0e0c6eb5970d70a830e596913fa
refs/heads/master
2020-03-30T23:51:54.143130
2019-02-25T23:01:12
2019-02-25T23:01:12
8,145,168
2
3
null
2015-06-22T18:07:50
2013-02-11T19:50:11
Python
UTF-8
Python
false
false
3,244
py
#! /usr/bin/python2.7 # Copyright 2013 Jtmorgan # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is dis...
[ "jonnymorgan.esq@gmail.com" ]
jonnymorgan.esq@gmail.com
688d7c6bcc6a6697f9f6c1936e4fbe8249fa496d
d43f7f98ebadc574fe0c1195c98da3a59803b060
/api/migrations/0001_initial.py
41d837d580acf874a71dbf5bca1ff0f05cb130f2
[]
no_license
rauloojs/tata_heroku
1400b74f5a24d1b99657debee641fcebf9d2812c
3c5cd6c08c32d53b10915bc07729f331755971fd
refs/heads/master
2020-05-18T18:59:02.560111
2015-09-22T05:32:37
2015-09-22T05:32:37
42,086,021
1
1
null
null
null
null
UTF-8
Python
false
false
1,117
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Doctor', fields=[ ('id', models.AutoField(verbo...
[ "rauloojs@gmail.com" ]
rauloojs@gmail.com
cb7409896fed2288aa583a0de9b5fa86614e9641
07c8f75a5b061f3a8070bf053311692e4c9a3dce
/wage-calculator.py
b749dc7cba0b00b3cd5029aa374f0f72c4824387
[]
no_license
kuzmicheff/wage-calculator
3d4981b84582250eac3be6f2cdc05e60080f12a7
d7568684016c1becd1c74aca856cf268e05123b1
refs/heads/master
2020-12-24T21:01:42.549374
2016-05-14T23:00:38
2016-05-14T23:00:38
58,769,831
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
print ("Wage Calculator") weeklyHours=input("Enter work hours: ") hourlyWage=input("Enter pay rate: ") weeklyPay=weeklyHours*hourlyWage if weeklyHours>40: overtimeWage=hourlyWage*1.5 overtimeAmount=(weeklyHours-40)*overtimeWage weeklyHours=40 weeklyPay=weeklyHours*hourlyWage+overtimeAmount weeklyPay=str(we...
[ "kuzmicheff@gmail.com" ]
kuzmicheff@gmail.com
a9838870e87d81f80191e3ce0af0627564cd2c98
30f1efe7d81334daff4175e32f347798ddfef6e5
/sqlmaparch/lib/request/connect.py
7a964d84d9c6f8a0ff40da18b752e95c1880cd5c
[]
no_license
HyperionGray/mr-injector
056f3479a3debee0ee78570a0225f14604da0038
e3e7f007bfbbb2746493a5ea0e28bd56aab3cd6b
refs/heads/master
2021-01-19T11:46:19.070871
2013-09-25T15:56:57
2013-09-25T15:56:57
32,473,527
3
3
null
null
null
null
UTF-8
Python
false
false
40,430
py
#!/usr/bin/env python """ Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ import httplib import json import logging import re import socket import string import time import urllib2 import urlparse import traceback from extra.safe2bin.safe2bin impor...
[ "punk@localhost.localdomain" ]
punk@localhost.localdomain
b5518ff31854762bc8a611482d0b0bf0adbeae35
c7a9727f0fd2eaf28a1dcb8ba121634e0620d24d
/WassersteinGAN_template/FrameSenderReciver_A.py
469634bb7f0484665a332cc3887ea70f6caf8056
[]
no_license
lvwanyou/SAGAN_MQTT
649c52826cb4c48cbd5c79302242737b9e8dc17e
c91c7e998fb81b3fbe2f6eea0d75cf2a715ed40a
refs/heads/master
2022-07-15T14:00:08.532699
2020-05-19T09:57:00
2020-05-19T09:57:00
228,141,607
0
0
null
null
null
null
UTF-8
Python
false
false
2,246
py
import socket from handle_data_util import dataSwitch import time import os import sys if __name__ == '__main__': TCP_IP = '127.0.0.1' TCP_PORT = 502 BUFFER_SIZE = 10000 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setblocking(0) s.settimeout(2) s.connect((TCP_IP, TCP_PORT)) ...
[ "lvwanyou@163.com" ]
lvwanyou@163.com
c56a30d7e9a2a3015e39f40d95876a92ff6ac4d6
2c88a421e5fcb9fe62a96c83522a464a41316962
/resources/user.py
d035db209c84fcbaa1aee420ca5fa7a1cfb69fad
[]
no_license
kurtispinkney/UdemyAPICourse
06409b97c0507ee46389d177ec923297944461f9
4ac83915bac1deacf08b08de6fef45db6cbeb694
refs/heads/master
2020-04-25T19:32:11.369004
2019-03-02T20:34:46
2019-03-02T20:34:46
173,023,786
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
import sqlite3 from flask_restful import Resource, reqparse from models.user import UserModel class UserRegister(Resource): parser = reqparse.RequestParser() parser.add_argument("username", type=str, required=True, help="This field cannot...
[ "kurtis.pinkney@gmail.com" ]
kurtis.pinkney@gmail.com
a852056766b2efab5ac506625b024a0666dd43fd
3ed82278dc32f90996484552ef25adc2086830a9
/web/open_webpage.py
cdd38c1ad07347fef58604a97a6ce05ce35744eb
[]
no_license
arunkuttiyara/python
f9f3bb25eebba08855a9398475a67147863fe0da
5dbabd1b2f9e1dcc7c8ef092ffe2ce6644547c26
refs/heads/master
2021-01-21T13:57:55.652389
2016-04-13T01:11:09
2016-04-13T01:11:09
39,611,387
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
#!/usr/bin/python import webbrowser webbrowser.open('https://www.google.ca/?gfe_rd=cr&ei=BdWdVbj_DOaM8Qf2tLjYAQ&gws_rd=ssl') webbrowser.open('https://drive.google.com/drive/my-drive?ltmpl=drive')
[ "arunkuttiyara@yahoo.com" ]
arunkuttiyara@yahoo.com
eba0be807bb462569eca6e28182a3f6c2562cedc
1a2422ffcbd5edd61d1f22951b615a59bcdae782
/svhn/fitting_eae_svhn.py
8b4d3bc2350e7a4c1e99b304bc6d74f5b6a232fa
[]
no_license
laoyangui/autoencoder_based_image_compression
1e5180af0cfb03128c7f2599c17b43e5e3e5687b
5c65bd56299c2c9bb98c54e968420009827053f0
refs/heads/master
2020-04-19T16:08:19.115634
2019-01-06T14:34:29
2019-01-06T14:34:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,564
py
"""A script to fit a Laplace density to the normed histogram of the latent variables in a trained entropy autoencoder. 250 digits from the SVHN test set are used for the fitting. """ import argparse import matplotlib try: import PyQt5 matplotlib.use('Qt5Agg') except ImportError: matplotlib.use('Agg') imp...
[ "tdumas@ad.inria.fr" ]
tdumas@ad.inria.fr
e97ca3fe809c877888d219f53ac676b825839591
948d3b8c03e2fecc4f852cd8b4120e1b3378bfaf
/API/PYTHON/20181127/5.py
826ec3e8b0c07b4cd384e744b2d3522295f7a33a
[]
no_license
ezhuo/ezhuo.github.io
e370abb4bfbbfcc5750a5f9fafa2b995bb1d7d48
977f3ecdd5dee4eb0f10a42572aaecb335145313
refs/heads/master
2021-05-05T20:13:35.446537
2019-01-26T08:39:26
2019-01-26T08:39:26
115,300,126
1
0
null
null
null
null
UTF-8
Python
false
false
824
py
from collections import Counter from collections import OrderedDict from collections import defaultdict d = defaultdict(list) d['a'].append(1) d['a'].append(2) d['b'].append(4) print(d) d = defaultdict(set) d['a'].add(1) d['a'].add(2) d['b'].add(4) print(d) d = OrderedDict() d['foo'] = 1 d['bar'] = 2 d['spam'] = 3...
[ "hi371@qq.com" ]
hi371@qq.com
0a16b1f1e718525cf07bd396651a1c7750109c8e
2e358129de246b0894e4f0682353016c5d847926
/streams_err.py
5eeed01adfc4b2a77e660db80d5293dd2e11ee4e
[]
no_license
davidtaxer/scripts
98095f6ddc9b590228ebcf9e5ad1c6a3172df627
977b2ed2efcb05cefc4dfedc74c3b3e7297b97a7
refs/heads/main
2023-06-09T15:51:54.950345
2021-03-06T21:08:50
2021-03-06T21:08:50
345,185,801
1
1
null
null
null
null
UTF-8
Python
false
false
167
py
#!/usr/bin/env python3 data = input("This will come from STDIN: ") print("Now we write it to STDOUT: " + data) raise ValueError("Now we generate an error to STDERR")
[ "noreply@github.com" ]
davidtaxer.noreply@github.com
33be4cfc896102f5652fad7640e441ab9af55c97
c66955c6fc178955c2024e0318ec7a91a8386c2d
/testframework/excise/testcases/utdemo/bubble_parametrize.py
25b4b472273f4c30378806ba74ca347527b84f05
[]
no_license
duheng18/python-study
a98642d6ee1b0043837c3e7c5b91bf1e28dfa588
13c0571ac5d1690bb9e615340482bdb2134ecf0e
refs/heads/master
2022-11-30T17:36:57.060130
2019-11-18T07:31:40
2019-11-18T07:31:40
147,268,053
1
0
null
2022-11-22T03:36:51
2018-09-04T00:49:42
Python
UTF-8
Python
false
false
1,170
py
''' 对下面测试方法使用pytest的rerun, 参数化方法来实现自动化测试 def bubble_sort(nums): for i in range(len(nums) - 1): for j in range(len(nums) - i - 1): if nums[j] > nums[j + 1]: nums[j], nums[j + 1] = nums[j + 1], nums[j] return random.choice([nums, None, 10]) ''' import pytest import random dat...
[ "emaildh@163.com" ]
emaildh@163.com
51426d948c70181ff18426bfe1fcfb5e2adf5b0a
01a1643de3348991dfdf47f34002095d5e57e43d
/bot/handlers/GetMarkup.py
34c6c5f083c2e3d76410982f55431ff70eed4baa
[]
no_license
Sortia/alexworld
e5344734a3d702240b028471ddb614c161de2dbb
42654ce7f761a450150ca074f92b7f8019795897
refs/heads/master
2022-11-25T23:56:21.396363
2020-07-16T16:06:21
2020-07-16T16:06:21
279,020,788
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from bot.handlers.Markup import Markup class GetMarkupHandler: @staticmethod def handle(message, bot): bot.send_message( message.chat.id, "Держи", reply_markup=Markup.default() )
[ "alexkiyan.lug@gmail.com" ]
alexkiyan.lug@gmail.com
73149def26bab2a8b1756d768a1175d96d9c84e1
9059fbaf6e3686a46612a88e9a9cdc6e664e8aa8
/genplur.py
53f9d049b4ae9c796d207e196d88b9e0ae05671a
[]
no_license
religofsil/progs
4422d1918c50eaa25d0a689febcb1bd2216c88ba
cf7ebb7a1fdd0c0beeb73d96b6a59c1d92a6605f
refs/heads/master
2020-04-16T00:22:31.853907
2018-02-02T11:20:49
2018-02-02T11:20:49
33,817,293
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
# -*- coding: utf-8 -*- import codecs import re count=0 f = codecs.open("fiction3.xml", "r", "utf8") for line in f: if re.search("pl.*gen", line): count+=1 a=re.search(u"</ana>[а-яА-ЯЁё]*`[а-яё]*", line) if a!=None: l=a.group() l=l.replace("</ana>", "") ...
[ "religionofsilence@gmail.com" ]
religionofsilence@gmail.com
dd6014899756f2ffdd627d017aaea8d03d985aee
c7fa04eac79c3be523bebdec84cf31f500225de9
/direction/interfaces/protocol.py
c0ef5a1b0c9bbe2dc6c4bf9737a040ae79980a08
[]
no_license
iancmcc/direction
aa56231aa3faf003807fd1afcac63cde93e7978e
b3685a3ff8f11fe80b4f400c2079d31c3d1b2680
refs/heads/master
2021-01-22T11:47:57.738178
2010-10-10T04:51:22
2010-10-10T04:51:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,205
py
from abc import ABCMeta, abstractmethod, abstractproperty __metaclass__ = type __all__ = ['Transaction', 'Request', 'SuccessResult', 'FailureResult', 'Response'] class Transaction: """ A transaction representing a single remote method call. """ __metaclass__ = ABCMeta @abstractproperty...
[ "ian.mccracken@gmail.com" ]
ian.mccracken@gmail.com
c67d5704121265e4071cf2fac6c05bea4386e156
2c64663773bb08d3f16b2f5a16ade67436fe18a5
/3. django/1026/07_django_rest_framework/articles/views.py
a915beaba4787c2718c2183291fda7819d2790bd
[]
no_license
teqn99/TIL
2cf5bb9c4e8c8e84fcb6108d4e1b75f3777dbbe9
fa6517aa0e6af737dd8d2e62bc23facc71470d13
refs/heads/master
2023-08-28T20:48:24.374417
2021-11-15T14:56:02
2021-11-15T14:56:02
333,354,614
0
0
null
null
null
null
UTF-8
Python
false
false
3,537
py
from rest_framework.response import Response from rest_framework.decorators import api_view from rest_framework import status from django.shortcuts import get_list_or_404, get_object_or_404 from articles.models import Article from .models import Article, Comment from .serializers import ArticleListSerializer, ArticleSe...
[ "teqn99@gmail.com" ]
teqn99@gmail.com