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
af5f6907b97177df49aeb41017c7b910c91a8543
0cc472d10382adfe58e72704ab3f6e2f9d8a4f48
/src/common/Typehelper.py
9458b023b5513ef714429b609b1c2ac306563a41
[]
no_license
yueguangxuanyuan/ProgramProcessAnalysis
c7c90262dd1dd3590597b8ff018a3326590daec4
5bb93d8f9a7db2e82e034c7c912913a67942face
refs/heads/master
2020-06-07T05:17:58.490888
2019-06-20T14:20:18
2019-06-20T14:20:18
192,934,081
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
def strToType(typeName,value): if typeName == 'int': return int(value); if (typeName == 'float'): return float(value) if(typeName == 'double'): return float(value) if typeName == 'String': return str(value);
[ "yueguangxuanyuan@gmail.com" ]
yueguangxuanyuan@gmail.com
5545e02446baf063cc70fffc4e1cf9e600cc43b4
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4144/codes/1618_2923.py
d7608f21637243d5ea3e7ca02b6e9ce1976bd5c6
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
104
py
taxa = float(input("digite a taxa de juros: ")) final = 1500 * ((1 + taxa) ** 36) print(round(final, 2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
34a28069f8eaa6458a54aac14b25b064ad76de6d
ee81efa621f8a18569d8ac00e5176aff1a736d86
/krizaljka.py
4e7f8251a722a4f1e9ed16eee5ff051608abbb78
[]
no_license
renaldyresa/Kattis
c8b29f40a84f4161f49c6247abf10ec2ecc14810
e504f54602b054eeffaac48b43e70beb976ca94c
refs/heads/master
2021-12-01T14:57:57.614911
2021-11-29T07:44:43
2021-11-29T07:44:43
182,920,692
1
0
null
null
null
null
UTF-8
Python
false
false
565
py
kt1,kt2 = map(str,input().split()) h = 0 for i in range(len(kt1)): for j in range (len(kt2)): if kt1[i] == kt2[j] : h = 1 break if h == 1 : break q = 0 w = 0 for l in range(len(kt2)): for k in range(len(kt1)): if l== j and k==i : print(kt1[q],end='...
[ "noreply@github.com" ]
renaldyresa.noreply@github.com
e470b4d143e4ac234e1e9bfdacb68ec8adf5fa78
89b2db0af633ae5b5be515a04d87a5db9c9b5778
/01-02.py
d5f279f01e5acee311af81472b21b47a306a5c5e
[]
no_license
slahmar/advent-of-code-2018
d4f6cc33997332c74758bf1a194a2db5001b5544
67348b501b7119558855d6034c9178285da30203
refs/heads/master
2020-04-09T12:40:55.213364
2019-02-09T18:16:46
2019-02-09T18:16:46
160,359,882
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
from collections import Counter with open('01.txt', 'r') as file: freqs = Counter() freq = 0 while not freqs or freqs.most_common(1)[0][1] < 2: for line in file.readlines(): freq += int(line) freqs[freq] += 1 if freqs[freq] == 2: break print("...
[ "noreply@github.com" ]
slahmar.noreply@github.com
e8f2f7e54b0957e4ae0a616395fcfea9fb79e0b5
a6ede1d64dc81cea56459199fbd2a1ade0603a50
/src/test1/canvascheckbox.py
be9d3d009845d19745db2f803492d139b88b75fd
[]
no_license
anantha1987/python_stories
a9cb8192350ef9bddb028eaa7615a488b3a3c43b
44f05462a3fc1a9765b84b3f771a27d95aa300cf
refs/heads/master
2020-12-31T23:22:25.285404
2020-02-08T06:00:49
2020-02-08T06:00:49
239,074,213
0
0
null
2020-02-08T06:36:44
2020-02-08T05:21:32
Python
UTF-8
Python
false
false
3,990
py
from ttkwidgets import CheckboxTreeview import tkinter as tk import tkinter.ttk as ttk root=tk.Tk() root.geometry('600x600') root.title("Checkbox example") f1=tk.Frame(root,width=595,height=595,background='blue',bd=1) f1.grid(row=0,column=0) checkingFrame=tk.Frame(f1,width=590,height=590,background='yellow',bd=1) che...
[ "39458121+anantha1987@users.noreply.github.com" ]
39458121+anantha1987@users.noreply.github.com
64ecc79136da0e7bf0ed0b47f75922078b4dad18
a21f8049ecd5f531f4a5ff530b3f182e75636b65
/delinkermap.py
9ccebdf8e047fc591bcf363beda2a768ca54c0ce
[ "MIT" ]
permissive
jamesmunns/delinkermap
44e9fbdecff46793527bcc21efe551eee905ced3
150d28dfa03b7007359dffb6f11c1d9333274b70
refs/heads/master
2021-01-23T08:33:42.941299
2017-09-05T21:55:03
2017-09-05T21:55:03
102,533,293
1
0
null
null
null
null
UTF-8
Python
false
false
2,452
py
#!/usr/bin/env python3 import re import sys from subprocess import check_output as cmd from multiprocessing import Pool COMPONENT = r"[\.a-zA-Z0-9-_\$]*" SPACE_OR_NEWLINE = r"[ \n]*" HEX_NUM = r"0x[a-zA-Z0-9]*" OBJECT = r"[/a-zA-Z0-9-_\.]*" LINE_ITEM = re.compile("({cmp}){sp}({hn}){sp}({hn}){sp}({obj})".format( ...
[ "james.munns@gmail.com" ]
james.munns@gmail.com
61b6f11111c63ea415de9b8226415f583006298a
f5d507413ba15ee6a3aadda933d711a2104386c2
/djangocms_forms/models.py
0b1a805f56dd5999e3b35d62b9772edac7336da3
[]
no_license
samuelblattner/djangocms-forms
150db04de8de0022fecf9039627191d989ddcedd
0a0d1c3c7a399c524c3901551c134bf0da19fd59
refs/heads/master
2021-01-16T21:31:33.467067
2015-07-31T19:05:16
2015-07-31T19:05:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,435
py
import re from cms.models import CMSPlugin from cms.models.fields import PageField from django.db import models from django.template.defaultfilters import slugify from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from jsonfield import JSONField from u...
[ "mishbah@jp74.com" ]
mishbah@jp74.com
45ba51c83865a7fcc65e8995f904f3104af957f8
9671c38ba355b2a30c285e61d5d5af4d49c69787
/2019/2/1202 Program Alarm.py
807377ee5cdaaddf69bafe25e7d3f850a0b99202
[]
no_license
JeeZeh/advent-of-code
c49b2bfb12e39162c0f57f0896654672e39c0f70
bf8613e765ae69d189c20d5869eed42257ae5e21
refs/heads/master
2023-01-16T07:30:04.507687
2022-12-25T18:12:42
2022-12-25T18:12:42
226,599,377
3
2
null
2022-12-04T00:49:36
2019-12-08T01:38:19
Python
UTF-8
Python
false
false
524
py
data = list(map(int, open("input.txt").read().split(","))) data[1] = 12 data[2] = 2 for x in range(100): for y in range(100): mem = data.copy() i = 0 mem[1] = x mem[2] = y while mem[i] != 99: if mem[i] == 1: mem[mem[i + 3]] = mem[mem[i + 1]] + me...
[ "29103230+JeeZeh@users.noreply.github.com" ]
29103230+JeeZeh@users.noreply.github.com
2f37b5475cf5dd147b55ebb87ae26148385efdb8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_179/ch31_2020_04_12_19_48_03_976036.py
810efec55299cf985e0cedf6150169f8866144ed
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
def eh_primo (n): i = 3 if n == 2: return True elif n = 0 or n = 1 or n%2 = 0: return False else: while i < n: if n%i == 0: return False i = i + 2 return True
[ "you@example.com" ]
you@example.com
84d55e4177e6804301d24c4dfe19a3e69a81a43c
47c4d1d1017c06138a672905742a3d3609500288
/EvalBox/Attack/AdvAttack/__init__.py
b19aa1ef5d50e28be460e65b52e403a806821ba4
[]
no_license
liuaishan/AISafety
a32de018a1b9e8ae1821ab757a22edbfe7f818af
241e1258f5658f399f905f1db1f9ef7b68bccb1d
refs/heads/main
2022-12-28T15:21:34.384449
2020-10-18T11:59:35
2020-10-18T11:59:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
#!/usr/bin/env python # coding=UTF-8 ''' @Author: linna @LastEditors: linna @Description: @Date: 2019-09-0313:38:17 @LastEditTime: 2020-09-23 13:38:22 ''' from .attack import Attack from .fgsm import FGSM from .rfgsm import RFGSM from .bim import BIM from .pgd import PGD from .umifgsm import UMIFGSM from .deepfool imp...
[ "zaozhe@buaa.edu.cn" ]
zaozhe@buaa.edu.cn
695e7281f1f68146b70bcc02883d40d300b79020
a22cc323b29f50da397d8363ac2521e3542a0fd7
/dpaycli/conveyor.py
360bb98f88958ebb9bee6105b62a737774382746
[ "MIT" ]
permissive
dpays/dpay-cli
1a58c7dae45218e3b05b7e17ff5ce03e918d27b9
dfa80898e1faea2cee92ebec6fe04873381bd40f
refs/heads/master
2020-04-01T09:26:43.200933
2018-10-15T08:03:06
2018-10-15T08:03:06
153,075,154
0
0
null
null
null
null
UTF-8
Python
false
false
12,076
py
# This Python file uses the following encoding: utf-8 from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import hashlib import base64 import json import random import requests import struct from datetime import datetime fr...
[ "jaredricelegal@gmail.com" ]
jaredricelegal@gmail.com
1cfa332536abeb77d7f6d40576cbfb2992f172b3
9ec58308459dc95405d1a32fcf8fae7f687a207b
/test/test_k_lipschitzconstant.py
56181ba4b0528a3f5bcdea366dc5618fd4cf5849
[ "MIT" ]
permissive
ivanlyon/exercises
067aed812486dbd7a3d7de6e47a692c8b9383163
0792976ae2acb85187b26a52812f9ebdd119b5e8
refs/heads/master
2021-05-24T04:17:29.012329
2021-05-11T17:26:50
2021-05-11T17:26:50
65,584,450
0
0
null
null
null
null
UTF-8
Python
false
false
2,210
py
import io import unittest from unittest.mock import patch from kattis import k_lipschitzconstant ############################################################################### class SampleInput(unittest.TestCase): '''Problem statement sample inputs and outputs''' def test_sample_input_1(self): '''Ru...
[ "roblyon00@gmail.com" ]
roblyon00@gmail.com
a15780d4134153340092b276e7299f3fb54d2570
ac91ee2f10f428315f80134447794de370726c22
/python/main_test_packet_speed.py
52e219009838a0c62cefbe7e06f495cc0eb78f65
[]
no_license
gviejo/LMNphysio
c34a49719e7094fb79b07b55980e186ac95b4fc2
24c9466d6a8a1deaf6b30f38388e90212af07c1e
refs/heads/master
2023-09-01T08:05:02.240143
2023-08-18T19:29:01
2023-08-18T19:29:01
170,920,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
import numpy as np import pandas as pd import neuroseries as nts from pylab import * from wrappers import * from functions import * import sys data_directory = '/home/guillaume/LMNphysio/data/A5000/A5001-200226A' episodes = ['sleep', 'wake'] events = ['1'] spikes, shank = loadSpikeData(data_directory) n_cha...
[ "guillaue.viejo@gmail.com" ]
guillaue.viejo@gmail.com
975d55c83d9b4f29cb206179a448076985191c60
bd6ae68d882cc40876b4f2906fa522ef807d1d89
/2/2_1/源码/75函数默认参数.py
87ce4767c09b40196f6d34813c82d106b6624d2b
[]
no_license
bopopescu/Projects-1
7ecc1f472f418b701bc40c8a58bab447e678c68f
1b7fd99bf1ed96adb7a9486daf098947a9208f77
refs/heads/master
2022-11-19T18:31:32.863170
2018-02-26T02:09:09
2018-02-26T02:09:09
281,792,443
0
0
null
2020-07-22T22:06:26
2020-07-22T22:06:25
null
UTF-8
Python
false
false
490
py
#!/usr/bin/python #_*_ coding:utf-8 _*_ KEVIM = 'Kevim Liu' # lau.liu@9street.org def stu_register(name,age,soures,country="CN"): print('----注册学生信息-----') print('姓名:',name) print('age:',age) print('课程',soures) print('国籍:',country) # print(name,age,soures,country) # stu_register('王山炮',22,'ptyho...
[ "liujicun01@163.com" ]
liujicun01@163.com
ce92ba7d2727c429dea4e58d50bb4094beebbaf1
8f9b0f099a4cee619e8d0053a58e94d019e7b559
/bin/tounaer/Crawl_tounaer_guonianbao.py
b6ca5aa54393587e2245f18fedad2c5d54f21e26
[]
no_license
dongshaohui/yintuwang_offline
fb7cab23824b2d6e9084be4fdd8d8b11e80f4c41
fda6488f93b82a8692a5f85abf85f505c692bec8
refs/heads/master
2020-04-26T22:55:59.388932
2015-06-21T16:16:39
2015-06-21T16:16:39
30,067,127
0
0
null
null
null
null
UTF-8
Python
false
false
2,104
py
# !/usr/bin/python # -*- coding=utf8 -*- # author : Shaohui Dong # description : 爬取宜人贷理财服务数据 from BeautifulSoup import BeautifulSoup import sys,os,urllib2,threading import datetime import json import re import DB g_root_link = "http://www.touna.cn/borrow.do?method=list&borrowType=102&page=0&size=100&subtime=1419907176...
[ "405989455@qq.com" ]
405989455@qq.com
bb3219cbc8ec31dd765120e96672aa2b74086516
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startCirq3280.py
1543140b02ea74ccca969f2f47081af9354cf0ee
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=44 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
f35c0f9b8c76e299a20fd3ee09d8b54cd391f351
d3b99bd7db430a1e46f4a1a59a9eac6cc82c1787
/apps/organization/forms.py
b2c89d1e04c00566cc71d261a3709a7c02f7d99e
[]
no_license
David20111030/Eduonline
460dcd2c530f2a309825666ec6cb394a14336c81
798711f39862256ae5030d29409e90b627684e1c
refs/heads/master
2021-04-15T13:03:39.202881
2017-07-15T14:04:14
2017-07-15T14:04:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# _*_ encoding: utf-8 _*_ import re from django import forms from operation.models import UserAsk,UserFavorite class UserAskForm(forms.ModelForm): class Meta: model = UserAsk fields =['name','mobile','course_name'] def clean_mobile(self): #验证手机号码是否合法 mobile = self.cleaned_dat...
[ "salt_stack@126.com" ]
salt_stack@126.com
4207e5baa7d013e44e18c5137edd94cf511ae5dc
f8d957a01539658fcdcb66e11e82f68dcd648921
/pennylane/transforms/batch_transform.py
d5261a1ff71f330a24e84ad459ea6839c1ab1998
[ "Apache-2.0" ]
permissive
hosseinsadeghi/pennylane
0ccdbdd6536f5245910d959828a4d6029e41ae97
d3363227f29f4c58c63203da378de2e1c20a21b0
refs/heads/master
2023-07-17T07:42:42.567989
2021-09-02T19:54:11
2021-09-02T19:54:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,968
py
# Copyright 2018-2021 Xanadu Quantum Technologies Inc. # 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 required by applicabl...
[ "noreply@github.com" ]
hosseinsadeghi.noreply@github.com
abdff1a74b900f6955b0c6e6f11bbe3febdb8558
f463ea1fd226201c88abc13b567718f1ba4a9396
/2016/Assignment1/cs231n/classifiers/linear_classifier.py
26caa4a36e825434243769b610cc857f036f126a
[]
no_license
RahulBaboota/CS231n-Homeworks
29bc25baeff5ea272a8ab66c13de73cfeaa5be17
820615203eb03d4e479bcf3e2efe831f3da2c534
refs/heads/master
2021-03-27T08:50:23.860952
2019-10-18T18:46:21
2019-10-18T18:46:21
101,315,598
1
0
null
null
null
null
UTF-8
Python
false
false
5,968
py
import numpy as np from cs231n.classifiers.softmax import * from cs231n.classifiers.linear_svm import * class LinearClassifier(object): def __init__(self): self.W = None def train(self, X, y, learningRate = 1e-3, reg = 1e-5, numIters = 100, batchSize = 200, verbose = False): """ Train this linear cl...
[ "rahulbaboota08@gmail.com" ]
rahulbaboota08@gmail.com
570f8cfad52606c0201d19107b7cbeea9163c0b6
53f7dbee9628a42f1205ba18670b4ca19f650eef
/src/remerge/core.py
e5342857052dc300d825cee0c4939d9df76d7709
[ "MIT" ]
permissive
pmbaumgartner/remerge-mwe
b89f772adfa2a52b7c191afb6c373ecdd72441f5
7355bf1e7123f2373ebf48111f1fae00f145bb2b
refs/heads/main
2023-05-23T14:31:01.003815
2022-10-12T14:16:56
2022-10-12T14:16:56
543,675,980
15
2
MIT
2022-10-12T14:14:39
2022-09-30T15:52:03
Python
UTF-8
Python
false
false
17,163
py
import json from collections import Counter, defaultdict from copy import deepcopy from dataclasses import dataclass, field from enum import Enum from functools import cached_property from itertools import groupby, islice from pathlib import Path from typing import Callable from typing import Counter as CounterType fro...
[ "5107405+pmbaumgartner@users.noreply.github.com" ]
5107405+pmbaumgartner@users.noreply.github.com
7516d8abf2b927b3b25da547626b6cd3d7f9db87
b019c47889d911b4008f62a05053abc31b4c8ef9
/trax/tf_numpy/numpy/array_methods.py
f52240f5691dcde83037bbe637f9ec6e5270dec7
[ "Apache-2.0" ]
permissive
pkol/trax
c70e014ff777e959f3ef1226ad0272970bc69afb
4dda0a5079b48ca8c325164884e677a87a0e3b37
refs/heads/master
2020-09-12T13:45:31.767971
2020-03-30T12:02:46
2020-03-30T12:02:46
222,443,710
0
0
Apache-2.0
2019-11-18T12:26:32
2019-11-18T12:26:31
null
UTF-8
Python
false
false
25,429
py
# coding=utf-8 # Copyright 2020 The Trax Authors. # # 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 required by applicable law or a...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
8b745fc24590730af1bfcea38487baaebdeea983
9ea977520ab7dd032a12a8bc83609cce4c33f29b
/ass3/2015csz8044/posRun.py
792a385e56440ff797b74eaf139b0c04de4d8329
[]
no_license
neelamadhav/graphical
7021a1c866b996945b5a4593b95b0581ccb7d170
4af576907c43cca80a33761fa01f5552fe29ca8d
refs/heads/master
2021-01-10T07:05:58.789877
2015-11-14T04:02:25
2015-11-14T04:02:25
44,488,796
0
0
null
null
null
null
UTF-8
Python
false
false
9,363
py
import string stopwords = ["after", "afterwards", "again", "against", "ago", "ah", "ahead", "ain't", "all", "allow", "allows", "almost", "alone", "along", "alongside", "already", "also", "although", "always", "am", "amid", "amidst", "among", "amongst", "amoungst", "amount", "an", "and", "announce", "another", "any", "...
[ "neelamadhavg@gmail.com" ]
neelamadhavg@gmail.com
0f94d084520c7500d5f40912ad474da7ef444f69
e54fb4602d884952935c33ea93e345bb8b9424eb
/easy_tries/setup.py
ad2a8587f9ac6600eabfff57c57056e2069fe25a
[]
no_license
akaashhazarika/easy_tries
3094694d7e0cb1047658692889b3cb846360664a
747fba6ff6d9d88fdd559aec42a88fc506d8a99c
refs/heads/master
2020-06-20T07:47:39.578744
2019-07-15T18:15:16
2019-07-15T18:15:16
197,048,469
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
from setuptools import setup setup(name='easy_tries', version='0.1', description='Python Implementation of Tries for search and Auto Complete', url='http://github.com/akaashhazarika/easy_tries', author='Akaash Hazarika', author_email='akaashhazarika@gmail.com', license='MIT', ...
[ "akaashhazarika@gmail.com" ]
akaashhazarika@gmail.com
f3bd2204373b7afe9536e2ef7ad99941600b2053
b6be68fd512b7cec64577ef515321f7caf311cb6
/game.py
7a8b8a541d9e2f015f585e70def52df0f8c3aa04
[]
no_license
lukabombala/birdgame
c9e11a993bf8bf5a32d419228a22cfa43b9dd7c9
249208f71a7b953c9377d8883c2096b49483fa71
refs/heads/master
2021-06-23T19:58:31.238053
2019-10-23T18:40:20
2019-10-23T18:40:20
216,393,314
0
0
null
2021-04-20T18:47:58
2019-10-20T16:38:11
Python
UTF-8
Python
false
false
2,392
py
import sys from collections import defaultdict import pygame import colors import config as c class Game: def __init__(self, caption, width, height, background_image_filename, frame_rate,): self.background_image = pygam...
[ "lukabombala@gmail.com" ]
lukabombala@gmail.com
7daa4f77d597e2b23f4f0a8015010ae7691443b4
3dcfe383c36d2c2af057b7128ad86f3a01554faa
/label_studio/data_manager/prepare_params.py
c0e902f7013616059e5c7e8d9afe30f1e3b580a4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ieso/label-studio
7306faa87894d1a72a6a33b9a316ccdfc4e80684
b3b451351e1751455f60cdf718c8e25914938a8a
refs/heads/master
2023-08-21T20:08:06.199925
2021-10-28T14:37:07
2021-10-28T14:37:07
359,428,836
0
0
Apache-2.0
2021-04-19T11:07:15
2021-04-19T11:07:13
null
UTF-8
Python
false
false
1,044
py
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license. """ from enum import Enum from typing import List, Optional, Union from pydantic import BaseModel, StrictInt, StrictFloat, StrictStr, StrictBool clas...
[ "noreply@github.com" ]
ieso.noreply@github.com
266a781fba696f660205890b24d0f48ff854d213
2a957611907cad466da49f09aa16c61baa6a009b
/python/attacks/RSA/lsb_client.py
9f0def542438d810c311ac85258f9dd5c6f2fca8
[]
no_license
alessandroguggino/Cryptography
6dea1552b988c7dd4507936dd53de9678e170bf0
ef5fa1c0fbfc0bcd16293b56b182fe1a92b80edc
refs/heads/master
2023-07-13T17:42:35.123088
2021-08-19T13:08:20
2021-08-19T13:08:20
276,401,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
from Crypto.PublicKey import RSA from pwn import * import os os.environ['PWNLIB_NOTERM'] = 'True' # Configuration patch to allow pwntools to be run inside of an IDE os.environ['PWNLIB_SILENT'] = 'True' from mysecrets import HOST,PORT from mysecrets import lsb_n as n, lsb_e as e from mysecrets import lsb_ciphertext a...
[ "noreply@github.com" ]
alessandroguggino.noreply@github.com
0dcbadd58691ccd70835c98e2c3e1ec20f19ad96
44a220c7e3c022d7a403415fce80bcbd39c6b734
/testJCW/action/system/role/__init__.py
3b700e6d9372e2870f17a47e62c854ba63493195
[]
no_license
zhuypy/AutoTest_UI
c078695fa7401503bdef9f83c373a2842442949e
7eee221d141b6907627bc208088407c2925bb17b
refs/heads/master
2022-04-19T23:34:59.898972
2020-04-16T03:19:40
2020-04-16T03:19:40
256,086,543
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
# -*- coding:utf-8 -*- ''' @File : __init__.py.py @Author : @Date : 2019/6/5 14:48 @Desc : '''
[ "1007531447@qq.com" ]
1007531447@qq.com
112a1b440ce085e0d4c6c05c5a44285efa8ab6d2
18a79067223932c2f7aa6ff6b81d0b3f36169db2
/codeforces/1512/E.py
e637a3e6e94ab8d1578276e88b1467c08879b483
[]
no_license
aadiupadhyay/CodeForces
894b0e5faef73bfd55a28c2058fb0ca6f43c69f9
76dac4aa29a2ea50a89b3492387febf6515cf43e
refs/heads/master
2023-04-12T17:58:52.733861
2021-05-07T20:08:00
2021-05-11T20:07:11
330,149,645
1
0
null
null
null
null
UTF-8
Python
false
false
1,308
py
# aadiupadhyay import os.path from math import gcd, floor, ceil from collections import * import sys mod = 1000000007 INF = float('inf') def st(): return list(sys.stdin.readline().strip()) def li(): return list(map(int, sys.stdin.readline().split())) def mp(): return map(int, sys.stdin.readline().split()) def inp(): re...
[ "upadhyay.aaditya2001@gmail.com" ]
upadhyay.aaditya2001@gmail.com
c689e220591bd622b0744eddaaea4c26b8a2cbf0
fdfffa8cacb572a157ead4a9723f90b25ecfe50c
/modules/ducktests/tests/ignitetest/services/utils/jmx_remote/jmx_remote_params.py
077f7c56c4923a67e1a9b10fef4531ecdd118dcd
[ "Apache-2.0", "LicenseRef-scancode-gutenberg-2020", "CC0-1.0", "BSD-3-Clause" ]
permissive
apache/ignite
0bc83435a8db46d9c4df000fe05b1c70165b37d4
dbf1c7825d74809cd6859c85a8ac9ed9ac071e39
refs/heads/master
2023-08-31T21:31:04.618489
2023-08-31T19:43:09
2023-08-31T19:43:09
31,006,158
4,806
2,308
Apache-2.0
2023-09-14T18:56:33
2015-02-19T08:00:05
Java
UTF-8
Python
false
false
1,940
py
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
[ "noreply@github.com" ]
apache.noreply@github.com
a966845dc6ef285450d71ea59e2fc297c7b494fd
590935ad561449559989fce5a85fb8df691b898d
/manage.py
d6c7e0e96d0785bb7292da5f3051281363df378c
[]
no_license
yuki-katayama/Django_bordproject_udemy
22aa5b2e6b4c00d389502dd1b193071290b7c68d
56b8ca8325e48dfb580ab0b7af2872317a6608f7
refs/heads/master
2022-12-13T13:11:23.555227
2020-09-13T03:10:26
2020-09-13T03:10:26
295,062,396
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'bordproject.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "katayu810@gmail.com" ]
katayu810@gmail.com
7c8e6559b705deb86447c305af13ca3973998111
0f08ac954da42af79458685fc314e14426aa3f46
/djangevent/urls.py
8f5f01b5ca894b22b9fd033229b8240f8338fd9b
[]
no_license
serkansokmen/djangevent
06fec64f8714e76e3125dc591e7ea411360f17d7
aec589d4685caf28898f813f444e9d9e6dd7fe56
refs/heads/master
2022-07-09T02:12:55.096261
2013-07-09T18:42:01
2013-07-09T18:42:01
11,156,782
0
0
null
2020-04-07T17:09:16
2013-07-03T17:19:18
JavaScript
UTF-8
Python
false
false
1,119
py
from django.contrib import admin from django.conf import settings from django.conf.urls import patterns, include, url from django.views.generic import TemplateView admin.autodiscover() # See: https://docs.djangoproject.com/en/dev/topics/http/urls/ urlpatterns = patterns( '', # Admin panel and documentation:...
[ "e.serkan.sokmen@gmail.com" ]
e.serkan.sokmen@gmail.com
61aef98a7fed6c913b99e2514a19938460365174
c32a225b013190f047793a083006802d9e9306eb
/apidocs/ApiXML2Trac.py
95b909506088b7f30f0bfe03ecbf27603c990c98
[]
no_license
coderbyheart/hsrm-mi-wtf
531312ef3c64801e86f63891a42e2a844fd3d103
6372aa9e5c308308198fc3cc859689fb23d5f858
refs/heads/master
2016-09-06T04:23:11.363670
2011-11-02T13:52:20
2011-11-02T13:52:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,007
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 '''Konvertiert die Schnittstellendefinition (XML) in eine Trac-Wiki-Seite @author Markus Tacker <m@tacker.org>''' from xml.dom.minidom import parse, parseString from minidomutil import domGetText def maskWikiPageName...
[ "m@tacker.org" ]
m@tacker.org
494865951ad7578bb7e96643d525034b2c9a82cd
c24c6ac0346b7f7d674a5624cc92a4cc30d97a49
/1015_Distancia_Entre_Dois_Pontos.py
5cb40dc62769429c2a7de3185617d0a90f294dd7
[]
no_license
wilmarv/uri.python
8b5bb311f6e4be8464d250ef6451a5f910df1c9c
6a6b4179d49488b24b5f238be26a0605360ea304
refs/heads/master
2022-11-14T10:33:11.402851
2020-07-05T05:28:31
2020-07-05T05:28:31
277,236,008
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
x1, y1 = map(float,input().split()) x2, y2 = map(float,input().split()) d = ((x2-x1)**2+(y2-y1)**2)**(1/2) print('{:.4f}'.format(d))
[ "wilmarfonseca@gec.inatel.br" ]
wilmarfonseca@gec.inatel.br
6316fa8877f8856c44caa9be35ac489e87bad10c
bbb89d13318df191b83716ad28633c6dd87147a5
/ciandt_next_gen_2022/desafio_04.py
69bee09bef6895a10eded6d1f59c28037f2a5b67
[]
no_license
matheusvictor/estudos_python
50745522d2801fd5e9c2c3307eb251c1f18dcdbd
627c01a5e89192388fb5c34f5fdccbc7a3129d9f
refs/heads/master
2022-10-28T09:00:52.972993
2022-10-06T17:45:28
2022-10-06T17:45:28
192,107,427
5
0
null
2022-10-05T18:09:22
2019-06-15T17:43:49
Python
UTF-8
Python
false
false
149
py
def retorna_tempo_arena_em_milisegundos(distancia,velocidade): d = float(distancia) * 1000 tempo = (d / velocidade) * 1000 return round(tempo)
[ "matheusvictor.salles@gmail.com" ]
matheusvictor.salles@gmail.com
84b1f5be8c044f324a8b97d54ad96e6373dfd092
ce1a37c3135fcdcf22d29c7e1951aae55fada9de
/data/Keyword Extractions/Extracted/subsetKeywordRemover.py
c8ee5a2b8ee6c9ccf7323ee5df4a0a91aed9df5f
[]
no_license
thiranja/research-git-repo
d62e1cec34375ffd6c251227917c0d6740e7216d
9b167a34533860d5616c93183fedf6c629c8fc86
refs/heads/main
2023-03-26T14:25:59.395092
2021-03-25T23:47:13
2021-03-25T23:47:13
323,130,727
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
# keywords = ["This", "this","This is", "This is not","This is the","This is the keyword","This is the","This the"] # newKeywords = [] def isSubphrase(subphrase,phrase): subphraseArray = subphrase.split(" ") phraseArray = phrase.split(" ") for word in subphraseArray: if word in phraseArray: ...
[ "lakrandikathiranja@gmail.com" ]
lakrandikathiranja@gmail.com
a89d7d3d33529ddf1bb165e3392fb2f540690c05
8140618782d8e1496b7f829aae4c8952612edea5
/31-01-2018/variables.py
b6cbb2fceff3d7d25d58505bb762211be0e78bde
[]
no_license
psenderski/projektpython
cc177dfabb2d5e2dac06e224f6e6560fcd894008
ce85204a5863f4e423d26eabde25587c834559b9
refs/heads/master
2021-05-04T05:47:40.020785
2018-02-28T19:14:55
2018-02-28T19:14:55
120,345,539
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
# int age = 26 # float temperature = 7.4 # string name = 'Przemek' # bool programmer = True # Nonetype nothing = None print(age) print(type(age)) print(temperature) print(name) # @todo: wyświetl resztę zmiennych na ekran age = 52 print(age) print(type(age)) age = 'something' print(age) print(type(age)) # @todo: wyświe...
[ "psenderski@interia.pl" ]
psenderski@interia.pl
5a8bc6fffdcb844844db90c55d84a0a4153e8429
bb3454e9011e82bc5fdc824edb73f82e40a7b7d4
/get_people.py
1dbaf570c3964eb0e2d8c6a623ddcd9910c5773d
[]
no_license
dazhaoniel/datascience-linkedin
7f5e6bbb43fc897a4d94cdb168904f964f0c7363
c6fef3cd8d545db93d4738978e7b57f9aa9d9c26
refs/heads/master
2018-12-28T10:22:08.872729
2013-03-30T02:36:24
2013-03-30T02:36:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
# Author: Daniel Zhao # File: linkedin_get_jobs.py # View database at http://localhost:5984/_utils/index.html import sys import time import couchdb import httplib, json from couchdb.design import ViewDefinition from time import gmtime, strftime from login import login # Linkedin Industry Code: https://developer.link...
[ "danielantoiny@gmail.com" ]
danielantoiny@gmail.com
8c5cc85f7827a115e7c88d2a50bc47445bf21922
e1f164addc9a286a9fb1bcfba81694a1158279d9
/sphinx_django/admin.py
752e88fe98c65d4a8ba93f7b2ac1eab39a5b1cd6
[]
no_license
dusual/simplecomment
0a013b3c93a811c89cdd8bc3de6f4fa23c763d32
b51a695a961a6db777b7d275358726f2cfb8f559
refs/heads/master
2016-09-06T03:49:45.532776
2012-12-08T08:43:04
2012-12-08T08:43:04
1,317,298
1
0
null
null
null
null
UTF-8
Python
false
false
971
py
from django.contrib import admin from sphinx_django.sphinxcomment.models import Comment, Element class CommentAdmin(admin.ModelAdmin): list_display = ['element', 'submitter_name', 'comment', 'reviewed', 'hidden', 'date'] search_fields = ['comment'] date_hierarchy = 'date' list_filte...
[ "amit.pureenergy@gmail.com" ]
amit.pureenergy@gmail.com
9a9382a25e944f00f75d61e0510937d8257b50f3
bf11fa1b21d90cab8abd4b066fdc1659937df6e1
/remote_works/graphql/delivery/resolvers.py
593862c08f86b1ec3350fd994c6a0a23e0d407ad
[ "BSD-3-Clause" ]
permissive
tetyanaloskutova/remote-works
818f2caec788e4f197f49f3a5dc5f418c37dc601
b3bb51e9c0c4c2febf4aa1e2a7d893e77c331e89
refs/heads/master
2022-02-23T00:08:40.210012
2022-02-14T20:53:36
2022-02-14T20:53:36
173,939,582
7
0
null
null
null
null
UTF-8
Python
false
false
202
py
import graphene_django_optimizer as gql_optimizer from ...delivery import models def resolve_delivery_zones(info): qs = models.DeliveryZone.objects.all() return gql_optimizer.query(qs, info)
[ "tetyana.loskutova@gmail.com" ]
tetyana.loskutova@gmail.com
e9e13bd21b0a5ebe14450be1be54f85d93b4c0ab
066da3596d7534b7eb2b37e826102152f97a5f67
/centinel/experiments/tcp_connect.py
21fc0e170ed8a80330a9d5453c73ef59ea2ffdbd
[ "MIT" ]
permissive
gsathya/blocker
7f26ac9234cc666a93caa1190c6b77da4fcdf974
80723892c309ad08f51067dba431072ea01578da
refs/heads/master
2021-01-10T21:15:12.843761
2014-05-08T22:27:50
2014-05-08T22:27:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
import socket class TCPConnectExperiment: name = "tcp_connect" def __init__(self, input_file): self.input_file = input_file self.results = [] self.host = None self.port = None def run(self): for line in self.input_file: self.host, self.port = line.strip...
[ "gsathya.ceg@gmail.com" ]
gsathya.ceg@gmail.com
35ba0136a87d9efe1bdf81b27723c16b5585aba2
9545652800884f0e54fe6595d8634c29ea4827a2
/每日一题/2020_09_07_前K个高频元素.py
e836ac1a9de16303533f5a54052614466169f89e
[]
no_license
challeger/leetCode
662d9f600a40fd8970568679656f6911a6fdfb05
d75c35b6f8ab33c158de7fa977ab0b16dac4fc25
refs/heads/master
2023-01-13T07:34:42.464959
2020-11-13T02:40:31
2020-11-13T02:40:31
286,426,790
1
0
null
null
null
null
UTF-8
Python
false
false
701
py
""" day: 2020-09-07 url: https://leetcode-cn.com/problems/top-k-frequent-elements/ 题目名: 前k个高频元素 给定一个非空的整数数组, 返回其中出现频率前 k 高的元素 思路: 记录出现次数,排序,输出. """ from typing import List class Solution: def topKFrequent(self, nums: List[int], k: int) -> List[int]: from collections import Counter counter = Count...
[ "799613500@qq.com" ]
799613500@qq.com
0575ea7082474b0773a69f03f5ee29c2dee9f02b
6fa6060026a6165f47aad2e83d0c0621f39b3900
/Turbot_data/Moments_models/2pops/fold_SC_ae_b.py
ce751ceeb0fdeb5ed9d45f56a04d1b848b27a73d
[]
no_license
heroalone/Demographic-Modelling
f07b645a0ee9e211d2c8230f024eff664f794b89
809458dc011bf5515b7502eacbf3aeb6befcfa50
refs/heads/master
2023-03-17T02:12:32.935120
2021-03-11T09:14:31
2021-03-11T09:14:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,046
py
#!/usr/bin/env python # Secondary contact model: Ancestral expansion, Split,Bottleneck and growth in the Baltic Sea, asymmetric migration following secondary contact # n(para): 8 import matplotlib matplotlib.use('PDF') import moments import random import pylab import matplotlib.pyplot as plt import numpy a...
[ "noreply@github.com" ]
heroalone.noreply@github.com
57be481bdc9870c859d5619880cbf7226668a36b
c8422cb23cc0b112f279476ad25d7fc5c66863d7
/14_Longest_Common_Prefix.py
c7d61ec96874ee0789910c1c1306e9e81692f4ec
[]
no_license
skyroam/leet-code
d278b8b7132517a1a405dfef9a352964d85d16fd
7a30c8e44f0e9bf63d25fe964646506936ade999
refs/heads/master
2022-01-11T11:50:56.363587
2019-09-18T12:21:48
2019-09-18T12:21:48
109,248,924
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
class Solution: def longestCommonPrefix(self, strs: List[str]) -> str: num = len(strs) if num == 0: return "" elif num == 1: return strs[0] else: min_ = len(strs[0]) index = 0 for ind, item in enumerate(strs): ...
[ "skyroam.wyx@gmail.com" ]
skyroam.wyx@gmail.com
b71e342de074106d3dcaa30452b90417df3938bf
780b01976dad99c7c2ed948b8473aa4e2d0404ba
/exobuilder/smartexo/smartexo_base.py
37623334d272a11f85fd51d71e6f28bd97bee53f
[]
no_license
trendmanagement/tmqrexo_alexveden
a8ad699c2c3df4ce283346d287aff4364059a351
4d92e2ee2bc97ea2fcf075382d4a5f80ce3d72e4
refs/heads/master
2021-03-16T08:38:00.518593
2019-01-23T08:30:18
2019-01-23T08:30:18
56,336,692
1
1
null
2019-01-22T14:21:03
2016-04-15T17:05:53
Python
UTF-8
Python
false
false
6,094
py
from exobuilder.exo.exoenginebase import ExoEngineBase from exobuilder.algorithms.rollover_helper import RolloverHelper import logging class SmartEXOBase(ExoEngineBase): EXO_NAME = "SmartEXOBase" def __init__(self, symbol, direction, date, datasource, **kwargs): self._symbol = symbol self.cust...
[ "i@alexveden.com" ]
i@alexveden.com
e756e0dccc7b86c84fd2275c1dea8a6dd9bcb273
1c48378b207e4d5b41afd2f29a5db7c8276180fc
/Python/Day 1/A1Q4.py
828463092445bffc10f46eb77486013eaaf9af06
[]
no_license
Newcomer03/Basic-Programs
b3e365516ae516c6d53fb9b317def00b77dc741e
1fdf6190b35403ea754ca8ccec3813c926b1e289
refs/heads/main
2023-06-18T12:30:08.470642
2021-07-11T14:06:14
2021-07-11T14:06:14
384,951,875
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
st = input("Enter a String\n") if len(st) >= 2 and st[:2] == "Is": print(st) else: print("Is" + st)
[ "noreply@github.com" ]
Newcomer03.noreply@github.com
d3241a4402b846dbe54bef75303020bb10e1aba1
f8d2beeb8cad25c6f6c4182fdd7b818d9787032c
/test/onnx/test_fx_dynamic_with_onnxruntime.py
7a38e34cfaebb8cb22f5bccb7cb8247d2a93434c
[ "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
ddkalamk/pytorch
231a99de36313a2c24c6c0366da73cf7d6c3816d
f09347a9f11ac751023d3598ab8a04a10ce22a59
refs/heads/master
2023-04-08T10:16:33.079457
2023-03-26T03:35:03
2023-03-26T03:35:03
195,946,338
0
1
NOASSERTION
2020-03-18T07:56:13
2019-07-09T06:27:24
C++
UTF-8
Python
false
false
13,499
py
# Owner(s): ["module: onnx"] from __future__ import annotations import copy import inspect import io import unittest import warnings from typing import Any, Callable, Optional, Sequence, Tuple, Union import numpy as np import onnx.reference import onnx_test_common import onnxruntime # type: ignore[import] impor...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
09c0351bdcf24e3830e9a7301cefd1d1226c89be
4d4947181174d777196a59baa988c938613ef064
/DIS/signals.py
3b2779cbc85a70528dfd4fd2d4390d46c425a4bd
[]
no_license
VictorImmanuvel1/Department-Information-System
37bea88efab5a7c7c05e3439cadd74e63a043007
1fd185dd0b332617b5bc5a8e6ace02be3fdae407
refs/heads/main
2023-06-11T14:50:50.931114
2021-04-28T07:53:40
2021-04-28T07:53:40
361,377,426
0
0
null
2021-04-28T07:53:41
2021-04-25T08:52:14
HTML
UTF-8
Python
false
false
1,354
py
from django.db.models.signals import post_save from django.contrib.auth.models import User from django.dispatch import receiver from .models import Profile,Education,oe,ap,article,seminar,student,sem1,sem2,sem3,sem4,sem5 @receiver(post_save,sender=User) def create_profile(sender,instance,created,**kwargs): if crea...
[ "victorimmanuvel@protonmail.com" ]
victorimmanuvel@protonmail.com
fc0c191c4df7d151acb3246642ee5516c3f00ae1
ba168a8a6e93346a93238e204d44244c6abd4dab
/app/core/migrations/0004_auto_20200613_1300.py
78f6d337bea3b6878f001bbedb809dab89358b49
[ "MIT" ]
permissive
Amirh-zahmatkesh/acc-back
6e8935aeac1e7f4d21b2b96fb1fe67355b4d1290
77e693c743977eacf6b9ed5c3bcf5b1ae918a9d5
refs/heads/master
2022-11-16T20:26:39.754198
2020-06-17T08:02:52
2020-06-17T08:02:52
280,595,454
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
# Generated by Django 3.0.6 on 2020-06-13 13:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20200613_1259'), ] operations = [ migrations.AlterField( model_name='certificate', name='slug', ...
[ "amirh.zahmatkesh98@gmail.com" ]
amirh.zahmatkesh98@gmail.com
9623807c3351f38f27e901faf5983a24023c0ed1
85149cccb5dfbd804163dd67f20cdd114ad56a71
/examples/bahl/uq_bahl.py
5f08e5e684fb0608d396c8cec6355808ad1f5974
[]
no_license
Mazzol/uncertainpy
9bf9f3a60b177278fdf428d0dc5f805e14c82f07
7e81a46200c272cfa2d5d929a597307a322b9530
refs/heads/master
2020-03-14T21:52:07.441718
2018-04-25T15:00:21
2018-04-25T15:00:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
import uncertainpy as un import chaospy as cp # Subclassing NeuronModel class NeuronModelBahl(un.NeuronModel): def __init__(self, stimulus_start=None, stimulus_end=None): # Hardcode the path of the Bahl neuron model super(NeuronModelBahl, self).__init__(interpolate=True, ...
[ "simetenn@gmail.com" ]
simetenn@gmail.com
6697c4a6ca304290cdf7ee90384c8bfc5c911d0b
697772c770d5b0c04402b819c80d420fa6d41c3e
/tests/beos_plugin_tests/scenarios/scenarios_basic_operations/014_[1.1]_Basic_operations_test_.py
e390d7a7c69d2524fd015f0eb14ed8ff596ac618
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
terradacs/beos-core
bf8f436d1754c4ad7741d976a12fd7a9e514bf85
31e19170bcad573b1d498811284e62babd478f92
refs/heads/beos-initial-release
2021-06-16T07:42:30.089362
2019-07-31T11:47:24
2019-07-31T11:47:24
172,755,498
10
3
NOASSERTION
2021-03-22T22:50:25
2019-02-26T17:13:37
C++
UTF-8
Python
false
false
5,122
py
#!/usr/bin/python3 # Scenario based on test : [1.1]-Basic-operations-test import os import sys import time import datetime currentdir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.dirname(os.path.dirname(currentdir))) from beos_test_utils.beos_utils_pack import init, ActionResult, ResourceRes...
[ "wrona@syncad.com" ]
wrona@syncad.com
0fe74dba4a6c30fea18d505b94370729aabd9a40
e920ca65077c792109f3f44d125b7dce5a012576
/model.py
ceb9b1c0865e61b440f038b9aaadc41bc6fbf4ac
[]
no_license
dsp6414/person_search
3d6433d3b64a2a686e36935febc9c0582d3e0a24
cf13c8839248b471eeb57836c0e5e52b0f6f9fa0
refs/heads/master
2020-03-14T08:40:08.092777
2018-04-29T14:41:36
2018-04-29T14:41:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,788
py
# ----------------------------------------------------- # Spatial Invariant Person Search Network # # Author: Liangqi Li and Xinlei Chen # Creating Date: Apr 1, 2018 # Latest rectified: Apr 10, 2018 # ----------------------------------------------------- import torch import torch.nn as nn from torch.autograd import Var...
[ "noreply@github.com" ]
dsp6414.noreply@github.com
d7794907c843dd270061bb2fbcc662e9a50aded5
b91588cda1a129f06aa9493ee6d6a70e4f996b7f
/Production/python/Spring15v2/QCD_HT1500to2000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_cff.py
e7a99cd64aead259403e31460f446688c6ae74b7
[]
no_license
muzamilahmad/LeptoQuarkTreeMaker
2371e93589dbe41b02a93a2533cbf5e955aaa0db
8e7eed0d03c6770a029eafb9b638e82c600a7425
refs/heads/master
2021-01-19T01:02:35.749590
2018-02-06T17:27:52
2018-02-06T17:27:52
65,389,201
0
0
null
null
null
null
UTF-8
Python
false
false
16,887
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/RunIISpring15M...
[ "kpedro88@gmail.com" ]
kpedro88@gmail.com
3272af571f27ef764ca94877f5ce2aa433f2fd3f
42bef710f7050918cd9bc8049248a988317dce3b
/main/migrations/0003_additionalimage_st.py
b47f488d6aa8cc119286915d724a4cc9cc3be2e9
[]
no_license
wyacheslav-20/Strel_CNC
a5f7c3dee848a0e565519ce49ab87287a6a598c2
43e1bddd1af5d7bf1b9ece65ec9e7dbb9437c59b
refs/heads/master
2020-12-19T01:05:03.651417
2020-02-17T20:48:20
2020-02-17T20:48:20
235,573,206
0
0
null
2020-01-30T12:27:52
2020-01-22T12:54:16
Python
UTF-8
Python
false
false
2,527
py
# Generated by Django 3.0.2 on 2020-02-02 14:10 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import main.utilities class Migration(migrations.Migration): dependencies = [ ('main', '0002_auto_20200131_1120'), ] operation...
[ "noreply@github.com" ]
wyacheslav-20.noreply@github.com
014b4f11a277086ca1dbd5b4f930d298b111bcaf
1d02157bbe8ec6856f51f2a6c3cb7b916ad0fa99
/my_exceptions.py
6cc67cbb4e6d54c8217ab09df84eda54c3374fd7
[]
no_license
dishults/dslr
23c212c7427cc413627df6174004f0cd4a8ebfc2
656f66a1e19b9ba59c8c756a52df6bd6b563bf5e
refs/heads/master
2023-02-22T16:18:34.504537
2021-01-29T15:07:33
2021-01-29T15:07:33
249,403,707
0
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
import sys class Usage(Exception): def __init__(self, stage="train", extra=""): if "./" in sys.argv[0]: sys.exit(f"Example usage: {sys.argv[0]} datasets/dataset_{stage}.csv{extra}") else: sys.exit(f"Example usage: ./{sys.argv[0]} datasets/dataset_{stage}.csv{extra}") c...
[ "me@manhattan.lan" ]
me@manhattan.lan
7e53153542cdb14806115ac36c29ba4abf21775a
b9c323a994a293601d5d7332dcea97dbb3e7ef42
/practicer_flask/topics/postgres.py
c70dbb277d94d880ecae04de6942034bcd2d0e80
[ "MIT" ]
permissive
DominikPott/practicer-flask
60195e38daebfa7a07fd0a3203b93a5ee0bfa6db
c8e523095bdd5912dadb7357d16a4e76229a04da
refs/heads/master
2023-05-06T23:37:02.797637
2021-05-30T18:59:39
2021-05-30T18:59:39
363,600,069
0
0
null
null
null
null
UTF-8
Python
false
false
3,086
py
import os import psycopg2 def get_db(): url = os.environ.get('DATABASE_URL', None) if url: con = psycopg2.connect(url, sslmode='require') else: con = psycopg2.connect(host="localhost", database="statistics", user="postgres", password="test") return con def _create_table(): db = N...
[ "d_tronic_p@gmx.de" ]
d_tronic_p@gmx.de
c1353e4d5fd5aeedd6b659f753a2dfdaed518a60
e89509b453632747077bc57dbec265a7703d5c7c
/function/first class/firstyhu.py
a0d27f9e5ca1c9efafbad2efa91d9502353a9825
[]
no_license
Madhav2108/udemy-python-as
a9dcfdbfdc1bb85471aa66de77957e962a7c5486
0bc6a501516618fb3c7ab10be6bc16c047aeec3f
refs/heads/master
2023-03-30T11:25:16.064592
2021-03-30T18:10:46
2021-03-30T18:10:46
286,001,815
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
def shout1(text): return text.upper() print (shout1('Hello') ) yell = shout1 print (yell('Hello'))
[ "noreply@github.com" ]
Madhav2108.noreply@github.com
64931a97973e990a801007d7f2681ac77b22a909
32ad1d2e9e9505a9415cc4e165bff0bd4cd992e6
/Sorting/quick_sort_with_random_pivot.py
e760aed0c8552d5acb0b2e86d81d107f8c4064ed
[]
no_license
shan18/Algo-Wiki
c26c3a56dc55256b25e71121ca7ab03f439827ad
7d5d1f8b2894726ff95a1a60dd676f236ab9ee93
refs/heads/master
2018-10-28T04:46:32.090787
2018-09-24T18:22:24
2018-09-24T18:22:24
105,189,657
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
"""Quick Sort Time complexity is O(n log(n)). It uses a Divide and Conquer Approach. """ from random import randint # Setting the pivot element to its correct location def partition(a, start, end): pivot_index = randint(start, end) a[start], a[pivot_index] = a[pivot_index], a[start] i = start + 1 f...
[ "thegeek.004@gmail.com" ]
thegeek.004@gmail.com
c96827707326cba9a7f78a456f0afade56a03985
cd871fe2429f8c5b938f07937307c2597d9d8649
/tabulator/loaders/native.py
20531ceb64470c00c7a6ba4bb167e06189667041
[ "MIT" ]
permissive
AleksiKnuutila/tabulator-py
9997ed9557bf932bc5d7aa99d9e49048c0797490
27ab97fbb2f6ee5f11adb3472da4454363041842
refs/heads/master
2021-01-13T08:51:32.974845
2016-09-23T18:57:44
2016-09-23T18:57:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
# -*- coding: utf-8 -*- from __future__ import division from __future__ import print_function from __future__ import absolute_import from __future__ import unicode_literals from .. import exceptions from . import api # Module API class NativeLoader(api.Loader): """Null loader to pass python native lists. ""...
[ "noreply@github.com" ]
AleksiKnuutila.noreply@github.com
1755a22937114ff1bed1509bc3e143df4eb9d669
7923e7378d41e970bbd9394e20f33485a1d58886
/scripts/data_cleaning.py
3d6eaa6e88d66d28837f5ca037b3a0ae5d4ec836
[]
no_license
pbeckdorf/capstonesproject
6d0fd59a61c23b1133727e3920a64e2cc1c0d081
59799f97cae6cc1281b80ed47208108be01fa53e
refs/heads/master
2022-12-10T09:49:51.273422
2020-09-03T16:50:59
2020-09-03T16:50:59
292,609,705
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
total_cases = [100,200,300] deaths = [10, 5, 20, 200]
[ "pbeckdorf@economia.cl" ]
pbeckdorf@economia.cl
d4f85c103ccd79f4dbda2d277093963e5f6af2aa
6fe5fae54af9cee2e9de356dd149b7cfe1ca112a
/examples/zpt/_handler.py
6dff1e09ea9f4ce89dca4366776335a808f6c395
[]
no_license
GrahamDumpleton-abandoned/vampire
181b03a53b62f3f53bdf83fb3d4305ef146d3526
bdcb2d25105ca95fcbda1afa16c4d9d681c664f6
refs/heads/master
2021-01-05T11:26:25.908716
2010-07-11T21:24:07
2010-07-11T21:24:07
241,008,577
0
0
null
null
null
null
UTF-8
Python
false
false
1,091
py
from mod_python import apache import os import vampire from ZopePageTemplates import PageTemplate # Default handler for HTML. def handler_html(req,**kwargs): # Check for existance of ZPT source file. path = os.path.splitext(req.filename)[0] + ".zpt" if os.path.exists(path): layout_file = os.path.join(...
[ "devnull@localhost" ]
devnull@localhost
446f123c795ecd70e833d9410489701f5c5a8e30
76b9f33c396d7233bc40794919f5872e93dbbf9c
/django/debuggingtest-master/boards/views.py
d927d0552129a426c701c1beb5a28030ad314bea
[]
no_license
Lustellz/TIL-c9
14b6796e37cd2ea33e7e108e1f2d686eacb47ae9
86bb493d2e9b42a06545501cacfa1ceed6f9bc25
refs/heads/master
2021-06-16T18:06:28.325082
2019-05-09T06:26:47
2019-05-09T06:26:47
166,776,996
0
0
null
2021-06-10T21:22:41
2019-01-21T08:33:15
Python
UTF-8
Python
false
false
2,456
py
from django.shortcuts import render, get_object_or_404, redirect from django.views.decorators.http import require_POST from django.contrib.auth.decorators import login_required from .models import Board, Comment from .forms import BoardForm, CommentForm # Create your views here. def list(request): boards = Board.o...
[ "lustellz@gmail.com" ]
lustellz@gmail.com
037c7a5f807faf5d8eeaa10c152f743b10d111ef
7c105a76577ffa87403c441962dbb12e26182398
/src/datasets/ds_cifar10.py
b9f47a205f627b5f579b4bfb157aad1a3f31b7c7
[]
no_license
lyubonko/classification
f8850f5b00c3317ba4625fb2094f9ff228530ea5
774ee3f7398c74edc97f5983f524298f7a07ec2b
refs/heads/master
2020-07-03T18:44:39.808812
2019-08-12T21:22:46
2019-08-12T21:22:46
202,008,765
2
2
null
null
null
null
UTF-8
Python
false
false
2,037
py
import torch import torch.utils.data as data import torchvision.datasets as dsets import numpy as np from datasets.transforms_cifar10 import * class DataSetCifar10(object): """ Class manage CIFAR10 data-set """ def __init__(self, path_data, num_dunkeys=4, ...
[ "lyubonko@gmail.com" ]
lyubonko@gmail.com
c16258c80b008084c4e7b2a8e5c9968444bc523f
cb39c9d1ca3b63a0412eac6077b96b66b289fd4c
/Quiz-24.py
0c2e8db65d8277152295f3bb60c7c274495b5891
[]
no_license
Reikenzan/Some-Python
bd64f562fc17b27bbb2a1fecd75f5d6ceff17c1c
84bea86486952f77b19dadb1d8dc99b133b95656
refs/heads/master
2021-05-08T06:31:16.690290
2018-10-16T15:33:52
2018-10-16T15:33:52
106,629,417
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
#quiz resolved def getFirstLetters(myList): newList = [] for string in myList: firstLetter = string[0] newList.append(firstLetter) return newList def main(): strList = input("Enter a list of strings:") userList = strList.split(",") returnedList = getFirstLetters(use...
[ "noreply@github.com" ]
Reikenzan.noreply@github.com
e7874140cb21afaa66b0a2a651badfc70a1c7750
6b78bd7f62f7f407bf11d877cc4d91e7db3b62fe
/csc/python/wk-3-project-1/src/iterative_sorting/test_iterative.py
468d92d7181c18eb42b1f55d9133cb5ff1305388
[]
no_license
PascalUlor/code-challenges
b85efacd4bc5999a0748d1fa1e84f503be09dc94
6488d0a6d2729bd50b106573f16488479fd6e264
refs/heads/master
2023-03-03T17:50:18.413127
2023-02-21T13:10:02
2023-02-21T13:10:02
212,979,719
1
0
null
2023-02-15T22:59:13
2019-10-05T10:14:29
Python
UTF-8
Python
false
false
1,499
py
import unittest import random from iterative_sorting import * class IterativeSortingTest(unittest.TestCase): def test_selection_sort(self): arr1 = [1, 5, 8, 4, 2, 9, 6, 0, 3, 7] arr2 = [] arr3 = [0, 1, 2, 3, 4, 5] arr4 = random.sample(range(200), 50) self.assertEqual(select...
[ "pascalulor@yahoo.com" ]
pascalulor@yahoo.com
0a49052505850de641ea0bb1dcc70e1cff5a7ca0
4997eb61787baea04cb00527dc79b58e481a452f
/09_day/flask-and-MongoDB/app/routes.py
6ddde1efa444e79e031bae8c46ef1821854824b2
[]
no_license
aaronli39/fintech
41b4987116b0ab57f33e8dff3d4eb7e9e22d086a
ddca1417319cb45c4992cc8846ba511cd3717c74
refs/heads/master
2020-06-20T23:14:05.510263
2019-10-25T12:31:07
2019-10-25T12:31:07
197,283,675
0
0
null
null
null
null
UTF-8
Python
false
false
1,526
py
import os from app import app from flask import render_template, request, redirect events = [ {"event":"First Day of Classes", "date":"2019-08-21"}, {"event":"Winter Break", "date":"2019-12-20"}, {"event":"Finals Begin", "date":"2019-12-01"}, {"event":"Fintech Graduation", "date":"2019-...
[ "aaronli39@gmail.com" ]
aaronli39@gmail.com
676ada33993ed1a1add8d641635810ca9929e7c5
3e2e745575d0961eb561d84921777b3572053eb0
/level_07/wopr/cleanup-copy.py
b8d24a3b69ed0e63798a8c7db7ed27b63cd25a48
[]
no_license
thelumberjhack/flareon6
7375040ad172dc19dc1558915d4f1ce9075c80b7
95d6e48ea8a8b33032a7567c1974074cde31325b
refs/heads/master
2022-02-17T18:40:23.184927
2019-09-09T05:44:39
2019-09-09T05:44:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,559
py
""" Once upon a midnight dreary, while I pondered, weak and weary, Over many a q...
[ "yannick.formaggio@sophos.com" ]
yannick.formaggio@sophos.com
f52f32bb65abd65061d45f38d9a91b13948b88aa
e580628ab341494342066974b53aab159815b9a5
/Project4/etl.py
b133bc757ca41d4afbcf525929a998646190ea25
[]
no_license
vserraa/Data-Engineering-Nanodegree
c0363d11ebdf81d3e510711bbb8608ae415d7cee
8c4b74d473c1fb8a601e2f4f4b739590b0b5f7a4
refs/heads/master
2022-12-03T03:43:55.778053
2020-08-17T11:34:39
2020-08-17T11:34:39
280,669,927
0
0
null
null
null
null
UTF-8
Python
false
false
8,833
py
import configparser from datetime import datetime import os import sys from pyspark.sql import SparkSession from pyspark.sql.functions import udf, col from pyspark.sql.functions import year, month, dayofmonth, hour, weekofyear, date_format from pyspark.sql.types import StructType, StructField, IntegerType, StringType, ...
[ "vssm@cin.ufpe.br" ]
vssm@cin.ufpe.br
58d3c784b632f40bba208fc73fe677df7407a2e4
b1ddcf4bac9ca603a7a2333912eb29da8bf2cb7b
/CRUDUsingFunction/CRUDUsingFunction/wsgi.py
69b52b08d810e37cfa8ae28676e25a4e2e7f8667
[]
no_license
sankethalake/django_practice
e9477ae0beee4923cd6758cc6d37517ea5979610
9877304f0c6415ae8979e5cc13a49559155fdd9d
refs/heads/main
2023-07-07T07:07:35.598657
2021-08-14T06:26:23
2021-08-14T06:26:23
389,917,128
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
""" WSGI config for CRUDUsingFunction project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.s...
[ "sankethalake@gmail.com" ]
sankethalake@gmail.com
6c269e0d5dead2bd02fb033ebef3ae1399c5885d
977bdc0268e1428f1b8c734aa3d8bf6193294048
/DJAGEN/branches/mustafa_branch/djagen/collector/models.py
f3f561ef91188e05ebcea83c5692848f5d17df48
[]
no_license
lkdtr/gezegen
b3c7ba20cbd9894aa6726444f626c79aa8670e15
d4972b77fbd756d9fc99cd1b96f08a8a8944978d
refs/heads/master
2020-12-25T16:47:47.407144
2016-03-24T11:05:01
2016-03-24T11:05:01
66,266,213
0
1
null
null
null
null
UTF-8
Python
false
false
4,593
py
from django.db import models import datetime, unicodedata, random, time import re # Create your models here. ACTION_CHOICES = ( (1, u'Removed'), (2, u'Approved'), (3, u'Paused'), (4, u'Readded'), (5, u'Applied'), (6, u'Editted') ) class Authors (models.Model): a...
[ "mustafa.arici90@gmail.com" ]
mustafa.arici90@gmail.com
a09a70560597d75a4cb0c3351fc714dbd2e544b6
3e86f5de2c6aad6c16ac25d30af7e99fa9f2a7c8
/support/lockdb.py
44dd2a43224e91b3c7a323134bf44dffa7f0e02e
[]
no_license
greasysock/bnbLockClient
02d2261147dbe39d9fa66a8aad5d49a214b66aaa
adafc3ed9c0978f6913b50044b9f3043d07def69
refs/heads/master
2021-09-16T00:21:24.725473
2018-06-13T19:21:24
2018-06-13T19:21:24
94,815,883
0
0
null
null
null
null
UTF-8
Python
false
false
5,880
py
import sqlite3, bson, base64 from support import passwordgen tables = [("nodeinfo", "'nodeid' name, 'nodepassword' name, 'username' name, 'nodename' name"), ("deviceinfo", "'name' name, 'location' name, 'type' name, 'deviceid' name"), ("devicedata", "'deviceid' name, 'type' int, 'date' date,'dataid...
[ "chris.gresock@gmail.com" ]
chris.gresock@gmail.com
985e528282041e39605f7a0e1bec4cf5c6961410
d58db5812cc7230ae54c396f19f220f40ad30c63
/locallibrary/catalog/forms.py
7f8d51d17f089caafa57b3da26deeceb75106cc9
[]
no_license
caseytin/django_projects
3e75592d67d5f5e4acd53731f385313a8d3237e0
dfa6a13298a087cde20c94f78b32bbf4f9196c06
refs/heads/master
2020-04-16T16:58:26.140898
2019-04-19T17:08:44
2019-04-19T17:08:44
165,757,607
1
0
null
null
null
null
UTF-8
Python
false
false
1,621
py
import datetime from django import forms from django.core.exceptions import ValidationError from django.utils.translation import ugettext_lazy as _ from catalog.models import BookInstance class RenewBookForm(forms.Form): def clean_due_back(self): data = self.cleaned_data['due_back'] # Check if a da...
[ "ctin@umich.edu" ]
ctin@umich.edu
b7477fa826edf431ec22f6e6a8967a9e84ca3fcf
66d8effab50d23aa809fca2ee47ebd6ff14501f7
/Provisioning/Jenkins/06 Python/modules/global_variables.py
eb106950452f395aa2545ce72887e662d71ed7d7
[]
no_license
pneumakevin/DevOps
670499b728958b8b2d1f54f3f8ad6e7d1f9a1c75
db941e2031d1c24378e06757278058a13176ecc2
refs/heads/master
2021-03-22T03:42:29.132311
2017-11-27T06:21:37
2017-11-27T06:21:37
112,156,112
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
import time '''================================== Build Plan Variables ================================== ''' '''==================================== Folder Vairables ==================================== ''' build_src_repository = 'D:\Projects\Sandbox\SequoiaWebSite' build_folders_excluded = ('.', '...
[ "noreply@github.com" ]
pneumakevin.noreply@github.com
218bd9a1cbc642338ac31db59fa2d81935b7663a
55965f592cb7e915cd68bd371ee1a6ad2a6e0247
/fol2/d.py
a2ae7e959ae2693156856e9795369cb6edb3ccf0
[]
no_license
Upasna4/Training
2b5b57fc3e5229304860f153db93d912a44472bf
33c6eeb565c422e40ea88d50af787f58b9f0da6d
refs/heads/master
2020-08-05T03:50:36.280910
2019-10-02T16:36:09
2019-10-02T16:36:09
212,383,151
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
from fol2.c import sum,mul sum() mul()
[ "upasnabhat17@gmail.com" ]
upasnabhat17@gmail.com
73181bd9da39ef6747ebd8bde0b15ee54e4c5c63
c9666a99dc24c4931906680ddf47d8c916f35a6d
/axf/urls.py
1046af7585f1c8e8e6927d34d7f7300bc2c16981
[]
no_license
jinhai1989/axf
47cadf5323b814421fc2b577f4f48935ea483729
961f9e13ed14b2c90e478975361461a77756eed2
refs/heads/master
2021-07-11T04:34:42.942929
2017-10-11T12:31:51
2017-10-11T12:31:51
106,543,208
0
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "jin@jin.com" ]
jin@jin.com
ab30326e12c8e49c0db5b50227751503d35b9980
afcc6fa6c6a1736b89a018c24b4a6384f8e9c970
/b2g_util/__init__.py
180d33ee7de7d50e8f5ffa758b51a0aebe662c53
[]
no_license
askeing/b2g-util-python
953d78c57243277a02b7edadf9d5bb65dab7d840
55e8e9b819871729da8ddd21c0b44804c4da0010
refs/heads/master
2023-06-18T07:04:59.630427
2016-03-04T07:16:57
2016-03-04T07:16:57
39,761,161
3
5
null
2016-01-29T06:39:53
2015-07-27T07:30:25
Python
UTF-8
Python
false
false
224
py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. import util import test
[ "askeing@gmail.com" ]
askeing@gmail.com
892d774caa9c5b905ab531bbbf72cf2827316c64
d3913120a781d33fb130016403fac8b7075cfc1d
/backend/equipment/apps.py
c205ae5d66f754c31ee8fcbac16322ebddb31ca4
[ "MIT" ]
permissive
Vini1979/Engenharia_Software_IF977
bdb227f087c9ada34aa58681393898b8d6123a29
dee99b7a05736bd35935d30a88b61a1f273d7633
refs/heads/main
2023-04-13T10:45:40.333964
2021-04-28T20:39:37
2021-04-28T20:39:37
355,015,827
0
1
MIT
2021-04-27T03:57:52
2021-04-06T01:02:43
Python
UTF-8
Python
false
false
150
py
from django.apps import AppConfig class EquipmentConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'equipment'
[ "vicpantojadoamaral@gmail.com" ]
vicpantojadoamaral@gmail.com
1fffbb0e94917e1591b20d062f1082d5fae467b5
b42302ae883f5187d03ed5deba8cfc7d03cca9e7
/eshop/migrations/0003_auto_20210523_1802.py
e8a2d1587a0b69265b5fe1036c99239121316a42
[]
no_license
Chauhan-Mukesh/e-shop
86a94a440ff89a64bb97eb4db88fe8fb533ef076
3565aef16e727f91753888f70f3cdc4d3cdeef2a
refs/heads/master
2023-05-01T15:58:49.498165
2021-05-24T02:34:44
2021-05-24T02:34:44
369,959,862
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
# Generated by Django 2.2 on 2021-05-23 12:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('eshop', '0002_contactus'), ] operations = [ migrations.AlterModelOptions( name='user', options={'ordering': ['username...
[ "mrchauhan490@gmail.com" ]
mrchauhan490@gmail.com
629ae714aabaae51da5e87d368cd6d272aafd834
f301de68f64e52fc0770518248eafee6a3c25b1f
/threaded_comments/urls.py
c55fba19b3337f032d64177a3529d291e3ff8899
[]
no_license
bedna-KU/Shakal-NG
1f0cf0ec8f8b2b0ab65e6ed4b954c095554df8a0
c504424545afbe9238d6813962d2a96f7c4889a1
refs/heads/master
2020-12-26T03:55:57.579418
2015-04-25T15:42:47
2015-04-25T15:42:47
34,467,383
0
0
null
2015-04-23T16:17:17
2015-04-23T16:17:17
null
UTF-8
Python
false
false
906
py
# -*- coding: utf-8 -*- from django.conf.urls import patterns, url #from django.contrib.comments.urls import urlpatterns as original_urls from threaded_comments import feeds as threaded_comments_feeds urlpatterns = patterns('threaded_comments.views', url(r'^reply/(\d+)/$', 'reply_comment', name = 'comments-reply-com...
[ "miroslav.bendik@gmail.com" ]
miroslav.bendik@gmail.com
30671f804ed90f82e0af64193a524c8c58b5dd6c
e76e3aaf9670f1372f919a20667bab038d523fdf
/app/app/settings.py
acf4043705f9ae091a753b8d35e439615e913f57
[]
no_license
Claiborne/django-recipe-api
fa0b4f296a86914d08fa6b32e8fbc7f0baa4d61a
849d8b724b8ad89cfa5dc130ec5507d50dad1ad7
refs/heads/master
2022-06-26T10:56:59.747834
2019-09-25T04:23:14
2019-09-25T04:23:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,281
py
""" Django settings for app project. Generated by 'django-admin startproject' using Django 2.1.12. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bu...
[ "willclaiborne@gmail.com" ]
willclaiborne@gmail.com
89efa2dc00a6220dc2d02663f179718f35cd67f8
6e2e5ce3a385120d431be77a5186eca63b2f74aa
/pipetree/executor/__init__.py
dfca041a6acea8dbdc10e572f413164bd5da0014
[ "MIT" ]
permissive
pipetree/pipetree
a716bca7f4d9fc78c89d97de4672a61d8998504b
e7f1cc3247ac4290fed823a2a3a3166d736fe656
refs/heads/master
2021-01-13T14:45:15.172827
2017-02-13T01:08:21
2017-02-13T01:08:21
76,606,256
2
3
null
2017-01-18T06:53:19
2016-12-16T00:09:27
Python
UTF-8
Python
false
false
68
py
from .executor import Executor from .local import LocalCPUExecutor
[ "noreply@github.com" ]
pipetree.noreply@github.com
53d6254220f3ddd0561ebfbd4b317d2d3e80855f
4f0cd2618cd7856e5ef51d1ad177fa572ccaea6b
/CircuitPython_Templates/status_led_one_neopixel_rgb/code.py
9b4478135686bc8e33f0883aed9b180121f9a931
[ "MIT" ]
permissive
profharris/Adafruit_Learning_System_Guides
ecd213d34ffb7fa227e085ef3c763c802406d30e
1e64c043be80451443fcae3f8952c6fd0cb1a52e
refs/heads/main
2023-07-06T22:17:02.568765
2021-08-06T18:44:30
2021-08-06T18:44:30
394,449,146
1
0
MIT
2021-08-09T21:54:29
2021-08-09T21:54:28
null
UTF-8
Python
false
false
330
py
"""CircuitPython status NeoPixel red, green, blue example.""" import time import board import neopixel pixel = neopixel.NeoPixel(board.NEOPIXEL, 1) pixel.brightness = 0.3 while True: pixel.fill((255, 0, 0)) time.sleep(0.5) pixel.fill((0, 255, 0)) time.sleep(0.5) pixel.fill((0, 0, 255)) time.s...
[ "kattni@adafruit.com" ]
kattni@adafruit.com
45ac036e9d79b025bb7a0dcaddc6c7c483ac5676
2b0a557a168f779b11da7f898acc8a1576eb54c3
/server.py
d183581b3506c43a9297db5cd34ad8534a5b7864
[]
no_license
ngzhian/whatsunblockshouldiuse
5e623481213bd2914002fa85d68ae392767ae5ba
1c96e7090f3c1ded19bf258b739c099e5e8d5a47
refs/heads/master
2020-03-30T19:01:31.177601
2015-03-09T03:14:33
2015-03-09T03:14:33
31,860,158
0
0
null
null
null
null
UTF-8
Python
false
false
3,076
py
import re import os import json from io import StringIO from bottle import static_file, request, run, route from bs4 import BeautifulSoup import requests # Read port selected by the cloud for our application PORT = int(os.getenv('VCAP_APP_PORT', 8080)) if os.getenv("VCAP_SERVICES"): services = json.loads(os.g...
[ "ngzhian@gmail.com" ]
ngzhian@gmail.com
35fc385076ea01e14b7f5fe05361a8e7614d1d96
ba480d6c617d1f06b90226b7456bdb4bf8207121
/теория_30.py
8a1c8a54e555d13a3efcf1a739ebccc34514786b
[]
no_license
khomyakovskaya/diploma
cf3d50baf8a966c10d48bf3c24a3c4a493821117
fd2ab58803332bb3a131ffbca41564d800ef2105
refs/heads/main
2023-08-14T05:59:10.290603
2021-09-29T13:19:50
2021-09-29T13:19:50
411,665,578
0
0
null
null
null
null
UTF-8
Python
false
false
10,815
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'теория_30.ui' # # Created by: PyQt5 UI code generator 5.15.2 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import ...
[ "noreply@github.com" ]
khomyakovskaya.noreply@github.com
49857cbe3ebd6c04822a55a04404bb3bf824d180
40a3a643326632db9fee144425e386981cec6f23
/api/app/model/setting.py
c7e369af128184872363c6f4fa4fc57ca224f910
[]
no_license
grdaneault/spoil-it-for-me
edc3cea606aa52cf3dbb03352db9a7cab1fda706
2de4ed38558bda11cc25fc6a61104c3f0a0f9b9a
refs/heads/master
2020-05-21T21:11:00.707459
2019-05-12T15:30:40
2019-05-12T15:30:40
186,147,040
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
class Setting: def __init__(self, name: str, image: str): self.name = name self.image = image
[ "gregdaneault@gmail.com" ]
gregdaneault@gmail.com
f44b5f35ca90998324a02d598ec4db99381052bc
ca75f7099b93d8083d5b2e9c6db2e8821e63f83b
/z2/part2/batch/jm/parser_errors_2/828741753.py
2c4deb3f2940f12c36a84e0cf59bcac0b189fd80
[ "MIT" ]
permissive
kozakusek/ipp-2020-testy
210ed201eaea3c86933266bd57ee284c9fbc1b96
09aa008fa53d159672cc7cbf969a6b237e15a7b8
refs/heads/master
2022-10-04T18:55:37.875713
2020-06-09T21:15:37
2020-06-09T21:15:37
262,290,632
0
0
MIT
2020-06-09T21:15:38
2020-05-08T10:10:47
C
UTF-8
Python
false
false
1,325
py
from part1 import ( gamma_board, gamma_busy_fields, gamma_delete, gamma_free_fields, gamma_golden_move, gamma_golden_possible, gamma_move, gamma_new, ) """ scenario: test_random_actions uuid: 828741753 """ """ random actions, total chaos """ board = gamma_new(3, 2, 2, 2) assert board is...
[ "jakub@molinski.dev" ]
jakub@molinski.dev
f330ec77cbf93b6997398ae141465cd8e9e7d312
5a7af650d21c2dbda536ad4d8b4ec8e49d7a146a
/project/binary_search/binary_search.py
5f942e0b095af78571e86ef9732cfe0dc56b6a8c
[]
no_license
IvanPostu/simple-python-tasks
23348052a28419ccc3ba17cadb96603051a988b2
4e21799cea6bc75508109a55cc59d0d4e7b35d62
refs/heads/master
2022-08-30T06:25:49.620711
2020-05-29T09:28:28
2020-05-29T09:28:28
267,150,832
0
0
null
null
null
null
UTF-8
Python
false
false
1,904
py
import random def generate_random_list(): start = random.randint(0, 100) return list(range(start, 200, 2)) def split_list_in_two_sublist(a_list): """Split list in two sublists Args: - Returns: Tuple ( first_chunk, second_chunk ) Raises: - """ half = int(len(a_...
[ "ipostu20000127@gmail.com" ]
ipostu20000127@gmail.com
24221a6241ecc5b49aa86753b96ffa796b34c50f
09b44c65e84db735a893873a16351394d1a670b7
/fiblary/client/v4/models.py
00bc4a32b4bc2d2b1f74cfb2c5ebda73b78accb2
[ "Apache-2.0" ]
permissive
ikari-pl/fiblary
f4a1b2622216e8fff5f871034e483cdd22f07de2
b910e740075f7948ce375f267dbc3d9de18d54a4
refs/heads/master
2020-12-28T10:24:36.724955
2016-07-04T09:44:35
2016-07-04T09:44:35
238,288,470
0
0
Apache-2.0
2020-02-04T19:30:42
2020-02-04T19:30:42
null
UTF-8
Python
false
false
5,497
py
# Copyright 2014 Klaudiusz Staniek # # 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 required by applicable law or agreed to...
[ "mariusz@lbh.pl" ]
mariusz@lbh.pl
793461b3bca84e69e604fb6c24d1c59def45593f
b30ef73e34c12095c382c95bcc2cd3552cae4f1e
/count.py
7fe15fe547176d99b970c376ecf43bed16469be0
[]
no_license
Cyber-Netic/Python-Counting-Program
0fcc0f574c34e8ea51a2260f57d2ea66c92340cb
47fb51c6e88bf1f3d755cde941ed97d5737dcc7a
refs/heads/master
2020-09-17T09:06:06.046027
2019-11-25T23:52:14
2019-11-25T23:52:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
while True: print('First, enter your name:') x = input() try: if(not x.isalpha()): print("Error: Contains numbers! Please use only letters.") x = input("Enter your name again:") else: print('Hello, ' +x+'! Welcome to Python Counting Program') except ValueError: continue...
[ "noreply@github.com" ]
Cyber-Netic.noreply@github.com
eecf0ef61fbc4fc48698da33a49fe452fb25fd0a
f0b60e7df4db6512189530b185df6af8a5516080
/test_Datapro.py
610719f846958b96f2138c903fb99454246788db
[]
no_license
williamSYSU/Corner
27d6afb244c6266578d3483a868a7f3b1751cb1f
c0e6ca80fdae6f796f87c08527e9b19fce371f7c
refs/heads/master
2020-03-31T20:18:00.807861
2018-11-05T10:45:53
2018-11-05T10:45:53
152,534,000
1
0
null
2018-10-11T05:06:03
2018-10-11T05:06:03
null
UTF-8
Python
false
false
36,421
py
# -*- coding: utf-8 -*- # @Author : William # @Project : Corner-william # @FileName : test_Datapro.py # @Time : Created at 2018/10/12 # @Blog : http://zhiweil.ml/ # @Description : # Copyrights (C) 2018. All Rights Reserved. from __future__ import unicode_literals, print_function, divis...
[ "278976237@qq.com" ]
278976237@qq.com
cd1d47d99acf174779ae17c371c1608da97b648d
a0db69ddb08f229519ec89e699ffb6c575ed7bf5
/addpoint/catimg/views.py
59604eefae69f52c4c6908730313133f5b4eb650
[]
no_license
ninsgosai/photo-project
db814fe8850a87d49c98f1fa3347b5e60577a3f7
abeb5b1f00701d4716e70e1b8b0ea2815586167a
refs/heads/main
2023-01-07T01:09:52.911010
2020-11-18T09:41:04
2020-11-18T09:41:04
313,877,849
0
0
null
null
null
null
UTF-8
Python
false
false
3,939
py
from django.shortcuts import render, HttpResponseRedirect from django.contrib import messages from .models import Catimg from category.models import Category from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required # Create your views here. @login_required(...
[ "69950933+ninad-goswamy@users.noreply.github.com" ]
69950933+ninad-goswamy@users.noreply.github.com
88b2d208ec0c421caa0260b3170e6bddcc6015df
c81fa8d1d83d92fc431be589243a51085beb5592
/pu/_version.py
e0861be54fda54ac92118a7d025d3297a6d8f964
[]
no_license
huyx/pu
4accdf17a9b186be68e347cbb79e3234139ed50b
f91060bb83f878f0bf17a04007cd00ad38adefb1
refs/heads/master
2021-01-10T20:11:12.292747
2019-02-19T07:25:31
2019-02-19T07:25:31
26,038,837
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
# -*- coding: utf-8 -*- version = '0.20.0'
[ "ycyuxin@gmail.com" ]
ycyuxin@gmail.com
b5088b61fa95236e1bbb03e7917ba62faf25de1b
f836b1b2b8914871c27cf1123e67d1956c127a3f
/setup.py
c3f0f992200fd23e7c3a0f36bf1e8ec2be432fdf
[]
no_license
chengxinGuo/OODA-FLOW-Bioimage-Pipeline
62b98ada347c071b05c5443417775e85c981ca9d
b93fb5ffaa2c11221a09ab23e75c54b9f8710e43
refs/heads/master
2022-11-19T05:17:21.969867
2020-07-14T06:48:13
2020-07-14T06:48:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,735
py
# # Copyright (C) 2016-2017 by Yuan Lufeng # See license.txt for full license and copyright notice. # # Authors: Yuan Lufeng # # setup.py # # Created on: Dec 11th, 2016 # Author: Yuan Lufeng # ##\brief this version can complie the code include cuda, C++, python and cython. # NAME="FCDLR-original" DESCRIPTION =...
[ "noreply@github.com" ]
chengxinGuo.noreply@github.com
ea41937cfdb5d0ddde38badacad944b72cfbfb7b
5a54c1e95578a3a073fe592c86621b69114e3a06
/env/lib/python3.7/types.py
13b39e3e356da4dafe288d71839337c8e5e2a300
[ "MIT" ]
permissive
fepas/django-react
a0c66e51d92652f8e22cdbf19b5699f4d9aa00da
6da3fc9d33af23c96ae018df90eaff9a7b6b5f37
refs/heads/master
2020-04-29T18:20:13.954071
2019-03-18T17:09:12
2019-03-18T17:09:12
176,320,793
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
/home/fepas/anaconda3/lib/python3.7/types.py
[ "fepas.unb@gmail.com" ]
fepas.unb@gmail.com
5b45e5fcdbafb967bebb0e2376695c8056505900
87b9119646ff00e180584818869bbd49ba0bad8c
/dashboards/urls.py
cc16ec193597f943435b2649df1641b8e925fd77
[]
no_license
d40a/project1
f47944dcd7700a1e9df8ae42e46ce929d18d5624
b4c3ea1a21a6988a9ec7e10a3801e2be53d74d5f
refs/heads/master
2021-06-10T22:23:46.997810
2017-02-03T18:22:42
2017-02-03T18:22:42
80,071,548
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index), url(r'^get_data/', views.get_data), url(r'^details_of_test/', views.details_of_test), ]
[ "dimaa@google.com" ]
dimaa@google.com
6b3d429131abadcf9ca92e14ad498d833ecf9d6e
7df64cc23fba406829ebb04b54974dbf4dd26318
/simulated_pick/models/simulated_pick_product.py
2137b75490722ee9c85a30667aa96665bbdaca8a
[]
no_license
sendalpegat/azi-odoo-modules
feb5c379b49afb07df9f6642416e2557a71040db
9d6eaa43465492291c5bd6b98876fe893d2fd250
refs/heads/master
2023-05-07T02:57:45.738424
2019-12-20T20:44:40
2019-12-20T20:44:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
# -*- coding: utf-8 -*- # (c) 2014 scosist # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from odoo import models, fields, api import odoo.addons.decimal_precision as dp class SimulatedPickProduct(models.TransientModel): _name = 'simulated.pick.product' sim_prod_id = fields.Many2one( ...
[ "matt454357@gmail.com" ]
matt454357@gmail.com
e765d4fa18aeaa069f1c020736556de7f79b88a7
255f0c22b05deda164f9f5e5e08722ac41844d3e
/src/plot_logs.py
a759ab631b10ef5301933f05a7af30ef0826dc95
[]
no_license
culring/nDES
86ff0619c876117e87c103f1b28db407c414e9a5
c2f371a46356fa1f494fe42e6be67a4938e4765e
refs/heads/master
2023-08-10T15:35:26.692884
2020-12-09T17:07:45
2020-12-09T17:07:45
400,531,824
0
0
null
null
null
null
UTF-8
Python
false
false
1,977
py
import numpy as np import matplotlib.pyplot as plt def get_plot_style(fig_size_multiplier: float = 1.5): """ Get style parameters for :mod:`matplotlib`. Args: fig_size_multiplier: Figure size multiplier. Returns: Dictionary of style parameters which can be used to alter :data:`mat...
[ "fuine@riseup.net" ]
fuine@riseup.net
d04a8bf3cfa899b41ec2c4abea2d088d9706e9cf
fd16ccc7c5576a2f1921bcd9a10d7a157566190e
/Source/server/SocketServer/TestSocket/CardsPattern/Mode_AnyOutRange.py
c5d7c210a9ce1bc7f5b347f6913d21ec02edc4e3
[]
no_license
willy2358/lxqenjoy
5469b2b8cf615a43ae777a841156523a8bf0564b
8d72d76497b21996e72cf97aa4bb7a5fdf6a03be
refs/heads/dev
2021-01-02T22:40:16.346181
2018-10-17T14:34:28
2018-10-17T14:34:28
99,359,908
0
1
null
2018-10-03T13:47:34
2017-08-04T16:12:19
Python
UTF-8
Python
false
false
410
py
from CardsPattern.Mode import Mode class Mode_AnyOutRange(Mode): """description of class""" def __init__(self, start, end, **kwargs): self.__start = start self.__end = end return super().__init__(**kwargs) def is_match(self, faces): for f in faces: ...
[ "willy2358@139.com" ]
willy2358@139.com
53b326c9ddfedcdcf23fa90a9cb66454161f8125
5f65582119800ab9860d401a2ad7d494a0f1bbde
/Learning/Warmups/PQ_Countdown/Level1.py
8531a15d3cd19d94adae6f12fc025342235df7c6
[]
no_license
CVHS-TYM/Marpaung_Story
dad965a80b8c563fe8a4f7cda04935cc353bd56f
85bf1b58ca5247303474888e7fefefba55f185f9
refs/heads/master
2020-03-28T11:03:36.416489
2018-09-27T14:28:47
2018-09-27T14:28:47
148,173,106
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
for i in range (11): print(10-i)
[ "timothymar.21461@redlandsschools.net" ]
timothymar.21461@redlandsschools.net
271b53908f50313b75ff7927ab6fb2b4705c1c7f
043048ecdfd1ddb91c2364b56986aceb2f38eb2e
/vilmedic/networks/models/summarization/SumHugMulti.py
fefc60e55237dd2e6015b67ec50daaf4325d3061
[ "MIT" ]
permissive
Ascensiony/vilmedic
09fa566b6ee11f57e3798945b56d2948ae0fabec
c1d4c1b893e65d0adab828570752f343742ad5af
refs/heads/main
2023-08-11T17:17:30.975359
2021-09-15T22:57:59
2021-09-15T22:57:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,942
py
import torch.nn as nn import torch from vilmedic.networks.blocks.huggingface.encoder_decoder.evaluation import evaluation from vilmedic.networks.models.utils import get_n_params # v4.3.2 from transformers.modeling_outputs import Seq2SeqLMOutput from vilmedic.networks.blocks.huggingface.encoder_decoder.encoder_decoder...
[ "jeanbenoit.delbrouck@gmail.com" ]
jeanbenoit.delbrouck@gmail.com
15f29bffa2032c5460e92f35750be8872586fffd
5504b97bd576906b08da76e95be0348ca676bacf
/ps5/testing.py
0eb640edd7a292e21432c69a3a588a87e562eac0
[]
no_license
ducpq91/mit-ocw-6.0001-ps
283e486acbb9a48b8d9f7afcdae05399e61cdee2
500a0df8c97885fdb391f4dff10463eff2abbf9c
refs/heads/master
2020-03-17T16:36:36.084548
2018-10-24T05:46:22
2018-10-24T05:46:22
133,755,240
1
0
null
null
null
null
UTF-8
Python
false
false
12,205
py
import feedparser import string import time import threading from project_util import translate_html from mtTkinter import * from datetime import datetime import pytz def process(url): """ Fetches news items from the rss url and parses them. Returns a list of NewsStory-s. """ feed...
[ "noreply@github.com" ]
ducpq91.noreply@github.com