blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
762b1c64e435700c7347877040a1ae4aaaaabfe8
f51a03fee097195911c1577e8510908d02784853
/src/data/reg_ex/poker_888.py
9df00e106415573e9384ed7598704598977a71a5
[]
no_license
aaaaaa2493/poker-engine
fc04cc4b93ad73189adf99b2f864d12a99a34dce
52aebf8572f87378fa78c999c252d60fcc80f5ce
refs/heads/master
2020-08-31T17:38:28.477260
2019-10-31T12:16:40
2019-10-31T12:16:40
218,746,090
0
0
null
null
null
null
UTF-8
Python
false
false
3,701
py
from re import compile class Poker888: name = '[a-zA-Z0-9_\-@\'.,$*`áàåäãçéèêíîóöôõšüúžÄÁÃÅÉÍÖÔÓÜØø´<^>+&' \ '\\\/()Ѐ£¼ñ®™~#!%\[\]|°¿?:"=ß{}æ©«»¯²¡; ]+' identifier = compile('^\*\*\*\*\* 888poker Hand History') identifier_snap = compile('^Snap Poker Hand History') hand_border = compile('...
[ "aaaaaa2493@yandex.ru" ]
aaaaaa2493@yandex.ru
992d9b74e952ecd7516429a0554f8e5e86d3a855
6f594cc963795c69d8da3c30ca580c0405ef2d6e
/other/57InsertInterval.py
d1fb32163788f8998b4a82b8be2a45e9a2d0316a
[]
no_license
lo-tp/leetcode
25933c5b25f64f881d43748d8b2763f69614a97f
4cc4d76c64e9d9aa3f53c5e9574e488c93e10a50
refs/heads/master
2022-09-07T20:32:58.487759
2022-09-05T03:39:50
2022-09-07T13:39:50
116,555,892
1
0
null
null
null
null
UTF-8
Python
false
false
789
py
class Solution(object): def insert(self, intervals, newInterval): res = [] if intervals: start, end = newInterval for s, e in intervals: if start != -1: # 1 if e < start: res.append([s, e]) ...
[ "regesteraccount@hotmail.com" ]
regesteraccount@hotmail.com
d500f92fed974dfd659c3d126e5fed4ef6a50c77
c2c617f15cb1dc3a385d307d3f26d77e7f9ca4d9
/plot_temperature_bokeh.py
12c08d7667f4d7b8ca9a06386d6b0a2a67e9768f
[]
no_license
gurupras/smartphone.exposed-core
ea213b28bd260f1cef3ffe57dbf37a4149f78cbc
4643cc78175c2b9af4e691046e30d9b67e5bb5fe
refs/heads/master
2021-03-13T01:09:10.767971
2020-08-25T00:57:01
2020-08-25T00:57:01
91,474,632
0
0
null
null
null
null
UTF-8
Python
false
false
2,642
py
import os,sys,argparse import json import time import random import yaml from bokeh.plotting import figure, output_file, show temperature_key_file = './temperature-keys.yaml' def generate_temperature_data(): now = int(time.time() * 1000) hours = random.randint(1, 3) start_time = now - (hours * 60 * 60 * 1000) en...
[ "gurupras@buffalo.edu" ]
gurupras@buffalo.edu
76eb0ff4bccebf9ef628e4a625ec26945dffb10d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02573/s607211232.py
a15ccc098a97d0f2076b85071f021635d77845ac
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
class UnionFind: def __init__(self, n): self.r = [-1] * n def root(self, x): if self.r[x] < 0: return x self.r[x] = self.root(self.r[x]) return self.r[x] def merge(self, x, y): x, y = self.root(x), self.root(y) if x == y: return F...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
bb8b94ab25d8201ddd7a488d9f4b94a041ae6494
cc82fb546ad5ff86eb027fcb8cf5057d14e6a71a
/number14.py
7a54b2b1a7539b268916abbb9d9453c7a9318bca
[ "MIT" ]
permissive
Ben-Donnelly/ProjectEuler
18bcdd2e8192c97d650b795f3b98bb9d839fcfe4
7d36aa700121c631c24c7efeb700b1b66e1f1c64
refs/heads/master
2021-08-09T11:39:37.164611
2020-06-08T23:32:52
2020-06-08T23:32:52
189,453,142
0
0
null
2019-12-21T16:58:43
2019-05-30T17:12:40
Python
UTF-8
Python
false
false
535
py
from time import time start = time() greatest = 0 count = 0 terms = ['', ''] for i in range(1000000, 2, -1): while i > 2: temp = i count = 1 while i != 1: if i % 2 == 0: i /= 2 count += 1 else: i = (3*i + 1) ...
[ "33376747+BenD@users.noreply.github.com" ]
33376747+BenD@users.noreply.github.com
39faa4862aa47b8b64be543e4c5fc3583fb93577
f98a7b6d391e69327a7ed102053806d43ae5dded
/setup.py
8171a804fb7bea92da29c9e307383698c0211050
[ "MIT" ]
permissive
dnidever/gaussdecomp
4663153e55a9d267d1dd2644f5d033c257481a62
057ec8568e990792d4131caea968401784699b62
refs/heads/master
2022-11-23T06:29:14.589025
2022-11-14T04:23:19
2022-11-14T04:23:19
227,955,549
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
#!/usr/bin/env python #from distutils.core import setup from setuptools import setup, find_packages setup(name='gaussdecomp', version='1.0.26', description='Gaussian Decomposition', author='David Nidever', author_email='dnidever@montana.edu', url='https://github.com/dnidever/gaussdecomp'...
[ "dnidever@lsst.org" ]
dnidever@lsst.org
dfe4693210c13c54f57b921e7094ee68abb61262
7fcbfe89f9a5555fd9072d1f2168ed4ca2011c28
/Python/3rdParty/PyWin32/pynetcon.py
50dc205d7e4660ce718acc195a1dc5cb4a1f2b91
[]
no_license
tnotstar/tnotbox
6ca24dfb0a017737a9814da48add98d3e0185c22
79ac4d935fba252ff18274fc1085a585f530e641
refs/heads/master
2023-09-03T22:04:22.440800
2023-09-01T20:03:36
2023-09-01T20:03:36
35,098,842
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
#!/usr/bin/env python # http://pymotw.com/2/contextlib/ from __future__ import print_function import win32wnet as wn import win32netcon as nc class ResourceEnumerator(object): """Blah, blah, blah, ...""" def __init__(self, scope, type_, usage): """Blah, blah, blah, ...""" ...
[ "tnotstar@gmail.com" ]
tnotstar@gmail.com
66caae453d14b96c4506def24e91bdd7deefb22f
dca04307ea5c89e71f4594abaf6ad894e60d2e33
/code/12_count_atribuicao.py
7cf236855423fc45a22a33ce5d9eeba606a04412
[]
no_license
danilobellini/wta2015
d772722713abf92063dac28550cd8ddfe0fec4e3
81bfb400aeb76b62382cb26035d37eee66666bb7
refs/heads/master
2020-05-01T12:50:05.803254
2015-02-03T08:44:06
2015-02-03T08:44:06
30,232,539
2
0
null
null
null
null
UTF-8
Python
false
false
620
py
from collections import Iterator class Counter(Iterator): def __init__(self, start=0, step=1): self.value = start self.step = step self.finish = False def next(self): if self.finish: raise StopIteration result = self.value self.value += self.step ...
[ "danilo.bellini@gmail.com" ]
danilo.bellini@gmail.com
580dcf22f1a3c259986942f10cb8ded10a44b688
b344c2fbb5495de7d2206b06674bfba8e2553635
/q4_softmaxreg.py
2bd2dfc063ac2a3a44c687d134415b7803a49a75
[]
no_license
jeness/EEL6935BIGDATA-project2
62c3ab4e0476197dae56ffbf5866b9b55e7df7b8
7bd478dbf9582c0d378ef4abe313082827549f4a
refs/heads/master
2021-09-11T01:52:07.063187
2018-04-06T01:52:10
2018-04-06T01:52:10
122,714,463
0
0
null
null
null
null
UTF-8
Python
false
false
4,381
py
import numpy as np import random from big_data.data_utils import * from q1_softmax import softmax from q2_gradcheck import gradcheck_naive from q3_sgd import load_saved_params def getSentenceFeature(tokens, wordVectors, sentence): """ Obtain the sentence feature for sentiment analysis by averaging its word vecto...
[ "yuhaoran9968@gmail.com" ]
yuhaoran9968@gmail.com
ae7ca498c0317b9c6661edb59a1ff5caa707a78a
7733d4d17aa14d868cd622aa61f2ab288aa1954b
/ella_hub/migrations/0002_auto_20150727_1432.py
20f40adbf026393331689c1b38c7ef025dee654a
[ "BSD-2-Clause-Views" ]
permissive
SanomaCZ/ella-hub
186aceaf0dcdc1b4d5f800e1157d20ad8a2edf94
d1afa02b423b02911a10b81589aaaf06ad01a6b6
refs/heads/master
2020-12-20T14:02:17.994938
2018-03-04T20:59:10
2018-03-04T20:59:10
5,191,952
0
0
null
2016-12-21T09:31:47
2012-07-26T12:38:22
Python
UTF-8
Python
false
false
925
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('ella_hub', '0001_initial'), ] operations = [ migrations.AlterField( model_name='permission', name='c...
[ "michal.dub@sanomamedia.cz" ]
michal.dub@sanomamedia.cz
5b950ab6d6b1e379a9091eed7e89daf99a2851d6
821c7267b0c7c21a7a16e5058570b12029c00b83
/utilfunc/_defacto_val.py
12394a2cd96c678dd3b0eee594a8b1fd88d427a3
[]
no_license
yo-aka-gene/utilfunc
fee040993c4d99891bfdbe9ccd9e0ef2ab1b907f
04a8eeecbb095315d712dea10d7503ef4759bf10
refs/heads/main
2023-08-28T00:33:27.383141
2021-10-11T19:57:41
2021-10-11T19:57:41
405,647,917
0
0
null
2021-10-11T19:49:18
2021-09-12T13:21:43
Python
UTF-8
Python
false
false
354
py
from typing import NamedTuple, List, Tuple class _umap_val(NamedTuple): min_dist: List[float] = [0, 0.01, 0.05, 0.1, 0.5, 1] n_nbr: List[int] = [5, 15, 30, 50, 100] subplots: Tuple[int] = (5, 6) title: List[str] = [ f"min_dist:{[0, 0.01, 0.05, 0.1, 0.5, 1][i % 6]}, n_nbr:{[5, 15, 30, 50, 100][i...
[ "yujiokano@keio.jp" ]
yujiokano@keio.jp
142bf198d6ea56cfc64c69c5306a42c3e6b70c6f
6ff51ce51a7fb4a0a18c84537b121836e1ab0a47
/shiyanlougithub/shiyanlougithub/items.py
0126d0e854a349bfbb95ceabd02d745e51217cdb
[]
no_license
panoczy/pano-2
857eb35b2fc3c65715eb3de9f35e3f6ad34c0bb4
b130d7887c635ffb422174dae271b95030d3cc6a
refs/heads/master
2021-05-16T13:15:27.646739
2017-12-01T07:58:00
2017-12-01T07:58:00
105,369,433
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class ShiyanlougithubItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() name = scrapy.Field() updat...
[ "13830269168@163.com" ]
13830269168@163.com
71a32b45babd147ce43c56290c96214f1f5a799b
408813c5d698a9c77ca251e29bdfd2d55a810b56
/InitialHandsOn.py
99416e5b76e4e570b2cd402eb4972f0ea2f76124
[ "MIT" ]
permissive
hhaggan/Self-Driving-Car-Behavior-Cloning
02cf08b1c27d8452a47afc5e42275e29829ed617
576287a6c074d8314048ed50ecd3e2e16ce6b148
refs/heads/master
2020-06-04T23:58:41.712292
2019-06-18T19:58:46
2019-06-18T19:58:46
192,242,483
0
0
null
null
null
null
UTF-8
Python
false
false
3,037
py
#!/usr/bin/env python # coding: utf-8 # In[1]: #Libraries import csv import cv2 import numpy as np import matplotlib.pyplot as plt from keras.models import Sequential from keras.layers import Flatten, Dense, Lambda from keras.layers import Convolution2D, Cropping2D from keras.layers.pooling import MaxPooling2D #V...
[ "hhaggan@hotmail.com" ]
hhaggan@hotmail.com
1f5dd61936d635e3620dd60b265d7e87d4c7a583
1b5c181ec40de72dfb53a93b911fb9de9b382917
/Szenario_2/10/tr2_test_2.py
5dc12af909f4973801ba454646de7d9d0022e41c
[]
no_license
tobinatore/Bachelorarbeit
58a74d6417f293883e3453f3473531e072ad6fcf
be1dd5f16d2faec8ef5a91c9660192d9333fa351
refs/heads/main
2023-07-02T11:06:51.153433
2021-07-29T12:05:53
2021-07-29T12:05:53
374,083,131
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
import os import time import pyion import threading def listen(eid_listen: str, proxy) -> None: """Listens on the endpoint specified in the config.""" count_spam = 0 count_ham = 0 with proxy.bp_open(eid_listen) as eid: while eid.is_open: rcvd = eid.bp_receive() def attack(eid_sen...
[ "germanicalp@gmail.com" ]
germanicalp@gmail.com
afe93dc1d7949c0d725deeb6b59bf9bd75071ff2
ecebf2f6f51baabf0530492c44049a520dceaeb4
/Devices/VOG/View/vog_tab.py
7c0c4b758631ea77ccadd7017806bf02db5abae1
[]
no_license
USnark772/-RSCompanionV1
c01fda9b37651e3dab361526196035e46b1e8be4
b8baf13f39b080556fe6cc4c2c55c35afdf86bcc
refs/heads/master
2022-06-28T18:42:54.287893
2020-03-06T02:47:05
2020-03-06T02:47:05
262,855,535
0
0
null
null
null
null
UTF-8
Python
false
false
15,213
py
""" Licensed under GNU GPL-3.0-or-later """ """ This file is part of RS Companion. RS Companion 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 versi...
[ "phillipriskin@gmail.com" ]
phillipriskin@gmail.com
2360a5ecc0c47488fa3c8794d0c4cc372900b1e7
49110e3d108031900249fc793e4f28c53f16f4ca
/2_background.py
1eef64dd2e836e212e2b4d653dbc9f38322c3c01
[]
no_license
wshhwang/pygame_basic
5de90de61865345007d231f9dd9c68bb9c052164
f27eb6abff58f7fa8665e954ed321a3fe1827d8e
refs/heads/master
2022-07-17T22:22:32.356447
2020-05-12T05:41:58
2020-05-12T05:41:58
263,243,826
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
import pygame pygame.init() #Refresh (required) #set screen size screen_width = 480 #width screen_height = 640 #height screen = pygame.display.set_mode((screen_width, screen_height)) #set screen title pygame.display.set_caption("Sample Game") #game title #set background image backgorund = pygame.image.load("C:\\U...
[ "54758601+wshhwang@users.noreply.github.com" ]
54758601+wshhwang@users.noreply.github.com
e31c2e26ec440d62747103a26caeb3e97c34bdc3
2da6b95fe4237cc00014f80c45d268ab62fc90cd
/OSR/DFP_end3/cifar100.py
ce07f74fad4fe9ce0e53a4f74e28977d3e9bb80e
[]
no_license
lvzongyao/Open-Set-Recognition-1
7e26cd1d97f67b6c075f4e64296ce7a82d479168
26a8a1cca199f4e23df98abca6893e3eef3307da
refs/heads/master
2023-08-19T09:15:16.119377
2021-09-13T04:21:18
2021-09-13T04:21:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,458
py
from __future__ import print_function import torch import torch.nn as nn import math import torch.optim as optim import torch.nn.functional as F import torch.backends.cudnn as cudnn import torchvision import numpy as np import torchvision.transforms as transforms import os import argparse import sys # from models i...
[ "xuma@my.unt.edu" ]
xuma@my.unt.edu
3a048eac9f5e15f87292e5be73ecefe8bd6ecab7
927067f65cd34ff9a936cc7f8968093f074b9543
/def_compaar_codig.py
15295f6ec888bbf992dfb76310c37241cef114df
[]
no_license
metrapach/mastermind
8738bf84789af21ba148327e0608db045f48f2be
9d812a13e09f6542c19b014e4c29ac5d75f80013
refs/heads/master
2023-02-05T13:33:01.467642
2020-12-17T21:19:24
2020-12-17T21:19:24
313,092,065
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
codebreaker=[1, 1, 666, "negro"] #bot codemaker=["negro", "negro", "negro", "negro"] #jugador def comparar_codigos(): codigo_bot = codebreaker codigo_jugador = codemaker feedback=[] for i in range(4): if codigo_jugador[i] == codigo_bot[i]: feedback.append("x") else: ...
[ "61920367+metrapach@users.noreply.github.com" ]
61920367+metrapach@users.noreply.github.com
0b77504b0910dea9707998a6007d17e90fd20d01
ebdfe5e8de5e110e37fdacf560f0d97a95ce6758
/patterns/image.py
d74f5d3e8e3b16053c6b3aa5310188dd88c0ceae
[]
no_license
AidanKelley/LEDTileControl
489063120c18019bd61c43c3e93d51adc6d2dd25
0f399e7c87b6a46d94692ce11dff43fa0f0a8a20
refs/heads/master
2020-04-04T08:34:51.009503
2018-11-16T19:58:48
2018-11-16T19:58:48
155,786,648
0
0
null
2018-11-01T23:07:15
2018-11-01T23:07:15
null
UTF-8
Python
false
false
280
py
import cv2 def display(board, leds, filename): # read in image image = cv2.imread(filename) image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB) # fit picture to tile resize = cv2.resize(image, board.shape[0:2]) # display image leds.draw(resize, delay=10)
[ "cma2714@gmail.com" ]
cma2714@gmail.com
98cc3f96d9c11b695e8af46a951457063e809ad5
db4efc602c761b1b39e985b4c9ceb405f535dad0
/Hadoop/reducer_product_totsales.py
365ac53065824ee0d373b9f466c89bb1fde56d96
[]
no_license
adooreLABS/DataScience
5112dcf1484606ed1d00dbc543355b49939ad33e
e7a617e423e01d6e9ed09507c7ba42056fb1d55c
refs/heads/master
2020-04-06T06:34:40.897687
2015-04-17T13:00:11
2015-04-17T13:00:11
55,130,070
1
0
null
2016-03-31T07:36:34
2016-03-31T07:36:34
null
UTF-8
Python
false
false
1,202
py
#! /usr/bin/python import sys def reducer(): """ Reduce function that aggregates total sales per store. """ salesTotal = 0 oldProduct = None for line in sys.stdin: data = line.strip().split("\t") # remove end of line and split string by tabs in data list # check if data cont...
[ "david@meltwater.org" ]
david@meltwater.org
1c77f290341c2fc59e26294d6135f76bfcfd3830
b5c0668b95eb13dc74944173e50a5a478b769b62
/fusion/openstack/common/config/generator.py
1a9be5deefb5272b149773d2cb2aa8072b4215c9
[ "Apache-2.0" ]
permissive
vineethtw/fusion
d16f34255922ceec9eaebb932e7fd7022fb30398
573d82e4a769d9d29da58d8351be06b4d6b8b615
refs/heads/master
2021-01-19T05:39:03.594646
2014-01-23T19:52:42
2014-01-23T19:56:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,273
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 SINA Corporation # 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.or...
[ "vineethv@thoughtworks.com" ]
vineethv@thoughtworks.com
71b10c44b1d938ee4421ed270a9a2feeea3e27ab
acc04607c4f4f4b0b044b1bea521ca92e0930041
/test/expensive_test_fg_anchoring_from_protobuf.py
3376943f04596de309ddfc6e3fbe4213541fe8ef
[]
no_license
TangoJP/npctransport
c8c6587cd8ee16b2a9f6fd87e98cf1a6a8f8dba0
40bc9e2e0b4dc1df72b6d22000269d494d8f4f69
refs/heads/master
2020-03-27T22:08:00.779328
2013-04-24T00:01:19
2013-04-24T00:01:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,581
py
#!/usr/bin/python from IMP.npctransport import * import IMP.test import sys import math #import read_nups class Tests(IMP.test.TestCase): def _create_cfg_file_with_fg_anchors(self, cfg_file): ''' Create a configuration file 'cfg_file' with anchors for fgs returns: the anchor coor...
[ "barak@salilab.org" ]
barak@salilab.org
1e3ec4196112eba857715aaa09b10d4a5b5e363d
6135140b0c48f189c5672858b9d09732f178c829
/topdownparser/parser/simple_topdown_parser_plus.py
ab6c4c95ae8fca034c1c7cb30565b4579edeb505
[]
no_license
jw-develop/cs384-self
8b23fcd39dd78e9a57876b7ac35452f962083ef2
9002d8ca254cc43ba9df7faab2df77167ca007f7
refs/heads/master
2020-05-21T01:30:57.870603
2019-05-09T19:18:08
2019-05-09T19:18:08
185,858,010
0
0
null
null
null
null
UTF-8
Python
false
false
5,021
py
''' Created on Nov 16, 2015 @author: tvandrun ''' from nltk.corpus import wordnet as wn import sys # Exception to be thrown if an unexpected token is found # during a parse class ParseException(Exception): def __init__(self, expected, found): self.expected = expected self.found = found ...
[ "james.white@my.wheaton.edu" ]
james.white@my.wheaton.edu
7e072a572581f6627fca07bcdcad06f5612d2500
44990e9f4630aa9efc8e0fa56f2c5dbd836cddc6
/nao_vacila/wsgi.py
b4a7dcfe74eda774e16c8596df6bc9f14e247473
[]
no_license
kallebefelipe/webserver-nao-vacila
33c61461d73b7f9e649a93406eb032014f3b983c
57e972a44a4eb68e5253d38d320051723d33a924
refs/heads/master
2022-12-14T19:18:22.670018
2017-09-06T13:00:02
2017-09-06T13:00:02
95,972,976
0
0
null
2022-12-07T23:58:58
2017-07-01T15:40:23
Python
UTF-8
Python
false
false
489
py
""" WSGI config for nao_vacila 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/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from whitenoise.django import Dj...
[ "kallebefelipe@gmail.com" ]
kallebefelipe@gmail.com
f948a6389e193460f9201495f88adc3e9209fdf0
7a89ead5f5d49a7d8495b687be5ef1fcfb59eb8c
/homeassistant/components/google_assistant_sdk/__init__.py
185e49435ba4f0720c9842672414b85ab1f69272
[ "Apache-2.0" ]
permissive
jasonwragg/core
dffb38a3d1435af8fb235921a91eafe4e19ec6c5
890c2277cab1728cfa45beb2dbe1aa18359f32c6
refs/heads/dev
2023-02-05T12:00:38.726612
2023-01-25T10:19:52
2023-01-25T10:19:52
245,879,265
0
0
Apache-2.0
2020-03-08T21:09:46
2020-03-08T20:01:21
Python
UTF-8
Python
false
false
6,224
py
"""Support for Google Assistant SDK.""" from __future__ import annotations import aiohttp from gassist_text import TextAssistant from google.oauth2.credentials import Credentials import voluptuous as vol from homeassistant.components import conversation from homeassistant.config_entries import ConfigEntry, ConfigEntr...
[ "noreply@github.com" ]
noreply@github.com
5aedf70eb2f4f9e4d338f8b9baef8144190973ff
b41c7a2951cbc7acf8e5a2ad59d14c967bc89acc
/asgi.py
e275df07fb60cdb38b2b49f065624d413c8ed285
[]
no_license
sandeepkrc/jokeapp
d0727c60c7015fa15d7ae7a9e59acf0e9748c242
307ef5c92cb2e66312d91232ab034a60d1e35f0c
refs/heads/main
2023-02-24T06:04:54.376485
2021-01-29T18:11:29
2021-01-29T18:11:29
332,425,504
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for pweb project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJ...
[ "noreply@github.com" ]
noreply@github.com
dc8835c6dec0140fcb1852faa09d8e70a7cdeaaf
c397d4899fbb5e34b90a2650be2e6aa6f5725972
/blog/migrations/0037_reviewimage_thumbnail.py
805c17f73adb43f3b5a343a908788a464aa1d064
[]
no_license
CCCodes/ProConDuck
aa68e6e89c3c71ddf7832d35f51688fddc379b10
c4ce19e62d5b50b3da9d258fa4e40831e159f2f7
refs/heads/master
2023-02-16T18:55:27.766465
2021-01-17T16:49:37
2021-01-17T16:49:37
96,048,162
1
0
null
null
null
null
UTF-8
Python
false
false
457
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-08-23 00:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0036_auto_20170822_0803'), ] operations = [ migrations.AddField( ...
[ "caitlinchou@gmail.com" ]
caitlinchou@gmail.com
e939a3901ef6659da6ac0573ac7ddcbabb93c78b
8646dcb2ec43cb85edea3d5c909cb60fd90c1dfd
/web/app/api/logistica/model/regiao_cidades.py
25a0fc27e23c5d393c0c2f4b2f1b04e8aa1484f0
[]
no_license
softlog/web
a3d34a0c9990cd1b50e74f4131a1d6bbdb9f91b5
520493cdf64f790b11b4df62e926ab9eebccae7f
refs/heads/master
2020-07-25T14:29:02.715057
2020-03-03T11:50:10
2020-03-03T11:50:10
208,049,629
0
0
null
null
null
null
UTF-8
Python
false
false
1,904
py
from app import query_db_2, execute_db import json import psycopg2 class RegiaoCidadesModel(object): def get(self,id_acesso): str_sql = """ WITH t AS ( SELECT array_agg(row_to_json(row(id_cidade,nome_cidade,uf,cod_ibge,latitude,longitude,id_regiao)::t_api_regiao_cidades)) a...
[ "paulo.sergio.softlog@gmail.com" ]
paulo.sergio.softlog@gmail.com
ae003dc6847d9168f134fd348e467608b5c9ff0b
ea7116b927acd0c87b21b10f8f620ce28c1fe676
/Time_Series_Chart.py
776ab20efd8b920b5740612a51ecb0ccb30a7cd9
[]
no_license
ctcpbl2004/Machine_Learning_For_Investment
23561f97f37f0d89163ba7d6de038ac7037decfb
89e178b29c0b9cdb34dfae9fdc024b289e04f8d6
refs/heads/master
2021-06-11T20:04:38.545200
2017-01-07T08:49:55
2017-01-07T08:49:55
75,713,624
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 19 20:42:37 2016 @author: Raymond """ import pandas as pd import numpy as np import pandas_datareader.data as web
[ "ctcpbl2004@gmail.com" ]
ctcpbl2004@gmail.com
c2ea2cc2352bfd9d8b9ad888ff3c0fb82997b816
22954a0c13d7bf1824320802e802aa8166f16d76
/web_scraping/rhiphopheads/items.py
ca9af6e29328930a755afe5a2a604dbaed917dd5
[]
no_license
luke-zhu/cs1951a-data
e0c7a96c7e100c278722419ba3bc845f6a5326c4
925c3263988db1de815589c5e47ddd918c345b25
refs/heads/master
2021-01-20T07:40:21.372377
2017-05-02T21:47:08
2017-05-02T21:47:08
90,025,042
0
1
null
null
null
null
UTF-8
Python
false
false
291
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class RhiphopheadsItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "luke_zhu@brown.edu" ]
luke_zhu@brown.edu
d5b1b6006132c80f0b401a0275b4ec45332ab1e3
0be331d30e3428dc48090f4f69c0ad66ff40a209
/webwait.py
f15bb183f509a90cbe36d73a62d2b3ba00e37571
[]
no_license
vallab/hackerrank_dashboard
3be7d468874b38850af612abb403f23e068aa7bb
4abeaf674336ef9fc7ff5b877ef46483ad003ba1
refs/heads/master
2022-12-02T06:03:00.946717
2020-08-21T06:44:13
2020-08-21T06:44:13
284,451,388
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC driver = webdriver.Firefox() driver.get("http://cn.bing.com") try: element = WebDriverWait(driver, 10).until( E...
[ "skvallab@gmail.com" ]
skvallab@gmail.com
6ce225b27e57b222c5803bee8ef647f9c9f5b6e1
aaa762ce46fa0347cdff67464f56678ea932066d
/AppServer/lib/django-1.3/tests/regressiontests/test_client_regress/views.py
c40f34fe563a797d6d3a7c364eeb614697b044db
[ "Apache-2.0", "BSD-3-Clause", "LGPL-2.1-or-later", "MIT", "GPL-2.0-or-later", "MPL-1.1" ]
permissive
obino/appscale
3c8a9d8b45a6c889f7f44ef307a627c9a79794f8
be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f
refs/heads/master
2022-10-01T05:23:00.836840
2019-10-15T18:19:38
2019-10-15T18:19:38
16,622,826
1
0
Apache-2.0
2022-09-23T22:56:17
2014-02-07T18:04:12
Python
UTF-8
Python
false
false
4,115
py
from django.conf import settings from django.contrib.auth.decorators import login_required from django.http import HttpResponse, HttpResponseRedirect from django.core.exceptions import SuspiciousOperation from django.shortcuts import render_to_response from django.utils import simplejson from django.utils.encoding impo...
[ "root@lucid64.hsd1.ca.comcast.net" ]
root@lucid64.hsd1.ca.comcast.net
0b1587ab93c33f44b571f1d916b7e2101f407e45
462f3c833660bd0bb3dbc36a1f02bef01daf8922
/sonota_sample/sample_faceApi.py
68783ed9cd2333c3d52ed633bc693959b62745fe
[]
no_license
S-Yasui/-IT-
076b8eac51c61e7a45513d22a13d5e44c56bcb43
70ead95121644e729ccbcc5bec13a78a37585309
refs/heads/master
2020-04-09T07:24:29.142961
2019-01-24T05:21:46
2019-01-24T05:21:46
160,154,054
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
#!/usr/bin/env python #coding:utf-8 import cognitive_face as CF KEY = '0d376b5d65c1439eab3e06154da07cc8' CF.Key.set(KEY) img_url = 'https://raw.githubusercontent.com/Microsoft/Cognitive-Face-Windows/master/Data/detection1.jpg' result = CF.face.detect(img_url) print(result)
[ "noreply@github.com" ]
noreply@github.com
575f659e0414f502308a3bb077a8b58d0a02834f
6005d60e9b0da6d79332c581d3da889f29ee7d50
/examples/multi-task/download.py
57eaee9cb082aa77a3e4befcd904177ecf987eb8
[]
no_license
jelena0521/textclassification_paddlepaddle
2497aa8230013f5076b2d5abcce58fd0f9340935
4ada594025f22a6d74e96641e8db859c57420097
refs/heads/master
2021-05-18T13:48:33.816502
2020-03-30T10:29:36
2020-03-30T10:29:36
251,269,167
0
1
null
2021-03-05T16:48:16
2020-03-30T10:14:29
Python
UTF-8
Python
false
false
1,307
py
# -*- coding: utf-8 -*- import os import requests import tarfile import shutil from tqdm import tqdm def download(src, url): file_size = int(requests.head(url).headers['Content-Length']) header = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom...
[ "jelena0521@126.com" ]
jelena0521@126.com
ed04da53efe1b19da759ebeea4960e75bf14b5b9
661fd0e8288f8c7cd7884c90713ecd775e165449
/mainUI.py
80328bd516615a7e279ba650b6124f8426505cb6
[]
no_license
AdarshKosrekar/Personal-Voice-Assistant
5aa9be08f35020bd9440e964e62fb7cd993878f2
6c069ae4823df1e3e99c78f79e84d57fe6b686e0
refs/heads/main
2023-06-06T19:07:06.403441
2021-07-01T15:12:37
2021-07-01T15:12:37
382,050,792
0
0
null
null
null
null
UTF-8
Python
false
false
4,662
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'JarvisUI.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # 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 QtCore, QtG...
[ "adarshkosrekar2000@gmail.com" ]
adarshkosrekar2000@gmail.com
fd7f4b6d2bf431742dee8cab4227497dffb1d0c2
c59c04d8778d8392a521a18120c96eb7018f8383
/scripts/gitfilestat.py
e88856c2be597ea0a771ef0f3e2430c0f573cf7f
[]
no_license
jlepage-appdirect/hotspot-detector
362d2441fbf6c9b0b0fe73da6b57a9bbd875dd7e
a221ab3807563122c6fd99760454bbc43476dca8
refs/heads/master
2021-01-13T15:01:19.046183
2016-12-12T22:58:34
2016-12-12T22:58:34
76,299,229
0
1
null
null
null
null
UTF-8
Python
false
false
2,125
py
import datetime from datetime import datetime class GitFileStat(object): def __init__(self, path): self.path = path self.commitHashes = [] self.patches = [] self.commiters = set() def __str__(self): return self.path + ", " + str(self.commitsCount()) + ", " + str(self....
[ "jocelyn.lepage@appdirect.com" ]
jocelyn.lepage@appdirect.com
7df8bf472e47f1a3c82e3bc94d505d969958a2e5
fc0d34587eca6b3237999c3d2acbe66cc1b9591b
/__init__.py
5f0def015b32f7039129835eca12d259069de09e
[]
no_license
suniltholia/jproject
5b010bc4cf6bef003e23cc6b0e6bfe44aabd3234
6972ac2b8e1ac2a4831044ff908d7f76a3f07a8f
refs/heads/master
2020-03-18T12:03:03.927091
2018-05-25T09:33:13
2018-05-25T09:33:13
134,705,735
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
""" Project1 is Steve's example project for the blog. It contains sample code here and there. """
[ "tholia.sunil@gmail.com" ]
tholia.sunil@gmail.com
0f53a7ee6b97dc36dbbef5b06fda252678390f1e
451cc8e5febcfb2555335fcfd19e5f4b8d722ad9
/gui/main.py
25378c0efa418b2b29a2189ff95eb8b259d2edcd
[]
no_license
Taku-KATOU/Lifegame
0061aabe3fffedc245de02f63c7ac9c057abebae
0110a56e77b54be758788ee075b05b7f3f56420a
refs/heads/master
2020-09-20T23:05:39.851287
2019-12-02T15:07:33
2019-12-02T15:07:33
224,613,007
0
0
null
null
null
null
UTF-8
Python
false
false
1,545
py
#!/usr/bin/env python # coding: utf-8 # In[56]: import numpy as np import lifegame as lg import matplotlib.pyplot as plt import tkinter as tk import cv2 from numba import jit #import time #import threading #import lggraph #%reload_ext autoreload #%autoreload 2 #@jit def sloop(): #while not stop_flag: c...
[ "katou.physics@gmail.com" ]
katou.physics@gmail.com
e7b570181acc28fc86794e38460966a6b13cbe25
aba4ca8b3c410a9b7a795854ef49515b23345eb7
/ExplorationTechniques/KLEERandomSearch/KLEERandomSearch.py
c59525381822b2e946227213ebf87ffa8fb65d24
[]
no_license
damirpolat/awesome-angr
ed0a7cae171c160ec07067e3f10451fb3ecbee95
faf388329b364f88b7ae1c628cd8697882025fd3
refs/heads/main
2023-08-03T03:49:46.467972
2021-09-28T06:47:37
2021-09-28T06:47:37
405,756,029
0
0
null
2021-09-12T21:20:40
2021-09-12T21:20:39
null
UTF-8
Python
false
false
2,653
py
import logging import random from angr.exploration_techniques import ExplorationTechnique l = logging.getLogger('KLEERandomSearch') class KLEERandomSearch(ExplorationTechnique): """ Random path selection. https://hci.stanford.edu/cstr/reports/2008-03.pdf Maintains a binary tree recording the program pa...
[ "degrigis@users.noreply.github.com" ]
degrigis@users.noreply.github.com
4866b3edb0aab77e428f60abdf72c4c5651511b5
04b86e00e6c097f3d29fe1ae133416c77388c4db
/pyfinex/v1/misc.py
8096f997c37699d012d236f28442542801206a1c
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ddxv/pyfinex
299747fbfe800d34bb059cdbb9828234e83a46ec
2e299c24a38a3299a6feb625d2b3c0be135dcd72
refs/heads/master
2020-03-27T13:03:23.268218
2018-08-16T13:23:44
2018-08-16T13:23:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
from pyfinex.api import request def basket_manage(key, secret_key, **params): """ This endpoint is used to manage the creation or destruction of tokens via splitting or merging. For the moment, this is only useful for the bcc and bcu tokens. Docs: https://bitfinex.readme.io/v1/reference#basket-manage """ ...
[ "michel.z.gaston@gmail.com" ]
michel.z.gaston@gmail.com
1657f962a8133600e36bf5a5651983e5160d9d34
9f2f386a692a6ddeb7670812d1395a0b0009dad9
/python/paddle/fluid/tests/unittests/dygraph_group_sharded_stage3_offload.py
5f9ec5c6e708e37b208ed07a321428f056f83a77
[ "Apache-2.0" ]
permissive
sandyhouse/Paddle
2f866bf1993a036564986e5140e69e77674b8ff5
86e0b07fe7ee6442ccda0aa234bd690a3be2cffa
refs/heads/develop
2023-08-16T22:59:28.165742
2022-06-03T05:23:39
2022-06-03T05:23:39
181,423,712
0
7
Apache-2.0
2022-08-15T08:46:04
2019-04-15T06:15:22
C++
UTF-8
Python
false
false
6,441
py
# -*- coding: UTF-8 -*- # Copyright (c) 2022 PaddlePaddle Authors. 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 #...
[ "noreply@github.com" ]
noreply@github.com
37a100c9a1dbe0e58c39a866dd97c1a6f6a37631
6cbce0ddc052f86a625ff0193363beb5c67d74ae
/tianshan/L20161211/lesson.py
d1f18df70aacf979b9e54598ee7c324cf028d473
[]
no_license
zhenghaizhang/python
19fc24e8c2ca9c0352ab7c70d63bcce651a54e41
e0848ab035bc8467a8c5cc9c2c366d2d23069c34
refs/heads/master
2022-11-10T15:54:36.038161
2020-06-22T11:35:20
2020-06-22T11:35:20
75,375,436
2
0
null
null
null
null
UTF-8
Python
false
false
1,797
py
import jieba # # sentence = '我喜欢上海东方明珠' # # cut_all=True 全模式 # w1=jieba.cut(sentence,cut_all=True) #全模式、精准模式、搜索引擎模式 # for item in w1: # print(item) # print('-'*20) # # cut_all=False 精准模式,依赖分词的优先级 # w2=jieba.cut(sentence,cut_all=False) #全模式、精准模式、搜索引擎模式 # for item in w2: # print(item) # print('-'*20) # # 搜索引擎模式 ...
[ "baoshan@dongchang.local" ]
baoshan@dongchang.local
5f0505f36af2d39f955a7c0c374ddee7f52a9465
024ad288e3e8c4407c147d3e5a3cef9c97ddecce
/keras/keras98_randomsearch.py
3188609d3745a71add73ce93d8b27576dc61a945
[]
no_license
keumdohoon/STUDY
a17f62549e5dc59640875970b79b41ba8f62932c
83a1369d8e93767ebc445a443d8f55921cd984ce
refs/heads/master
2022-12-15T17:25:00.809774
2020-09-07T02:00:30
2020-09-07T02:00:30
264,050,749
1
0
null
null
null
null
UTF-8
Python
false
false
5,264
py
#원래는 randomizedSearchCV로 변환, 파일 keras97불러오기. #score 을 추가해준다. from keras.datasets import mnist from keras.utils import np_utils from keras.models import Sequential, Model from keras.layers import Input, Dropout, Conv2D, Flatten, Dense from keras.layers import MaxPooling2D import numpy as np #. 1. 데이터 (x_train, ...
[ "58944180+keumdohoon@users.noreply.github.com" ]
58944180+keumdohoon@users.noreply.github.com
22c8c50b7859ffd0b128c08f3f64b0fcca6754d2
55ab64b67d8abc02907eb43a54ff6c326ded6b72
/scripts/addon_library/local/uvpackmaster3/scripted_pipeline/panels/grouping_panels.py
6e772957a8c34014a5e61cf1284f7cdbd0d6afda
[ "MIT" ]
permissive
Tilapiatsu/blender-custom_config
2f03b0bb234c3b098d2830732296d199c91147d0
00e14fc190ebff66cf50ff911f25cf5ad3529f8f
refs/heads/master
2023-08-16T14:26:39.990840
2023-08-16T01:32:41
2023-08-16T01:32:41
161,249,779
6
2
MIT
2023-04-12T05:33:59
2018-12-10T23:25:14
Python
UTF-8
Python
false
false
9,945
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # 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 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "tilapiatsu@hotmail.fr" ]
tilapiatsu@hotmail.fr
9e3591fa458f7266fe0f355e245ac83becb3353d
f5d47688b58d5a872d3057acb64d77e1a7ff715b
/egi_notebooks_accounting/watch.py
b8fa189afb4cd947ae7f79a23a40a2ebb64c5519
[ "Apache-2.0" ]
permissive
enolfc/egi-notebooks-accounting
0a9d1f345eebb48befcb42c2ee54434d5d6228e3
f2dfda199a8909688e467e9dcea3eb0a37efaef7
refs/heads/master
2021-07-25T00:05:42.732431
2020-05-19T11:07:35
2020-05-19T11:07:35
191,577,083
0
0
Apache-2.0
2019-06-12T13:31:56
2019-06-12T13:31:56
null
UTF-8
Python
false
false
2,029
py
import datetime import logging import kubernetes from .model import db, init_db, Notebook from .utils import get_k8s_namespace def process_event(event, namespace): pod = event['object'] username = pod.metadata.annotations.get('hub.jupyter.org/username', 'nobody') ...
[ "enol.fernandez@egi.eu" ]
enol.fernandez@egi.eu
8a8d1f8ecd9b993fcbce9ed58a8a13e1f241d44e
7c29bceebb128d8f1f6d297b78bd7892254e00d3
/src/extension/sim.py
d5480927969f7e9c6ec5e3a270c794d2d7630235
[]
no_license
kaluzny1995/HSD2.0
c1376b3e3b962bbfc0cbcf611a2525d3e4705861
dbf227a66d6535411fdf2d5582e2f747540058dd
refs/heads/main
2023-04-14T12:28:13.111525
2021-04-24T21:04:08
2021-04-24T21:04:08
314,372,836
0
0
null
null
null
null
UTF-8
Python
false
false
2,606
py
import numpy as np import itertools from scipy.spatial.distance import cosine from tqdm.notebook import tqdm from polyglot.text import Text from polyglot.detect.base import logger as polyglot_logger import spacy from .lemm import lemmatize_text, tagger from ..constants import SPACY_PL_MODEL polyglot_logger.setLevel...
[ "noreply@github.com" ]
noreply@github.com
e9dc579255087de1204f309104b158759e2721ce
87fadb0fdbcb26f569bc4ec039335aba6c3024f0
/myutils/face_recognition.py
fb329af3f104afd84f9b9eb5750f9d29ccd31911
[]
no_license
nado6miri/automation
6c38424459ef54baa0cd55b94ae19b402c51bdd5
ba6b576ca1fed73c9c592137e43e8fc07cd7f72b
refs/heads/master
2021-03-11T05:09:36.056421
2020-03-19T06:51:05
2020-03-19T06:51:05
246,511,806
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
# -*-coding: utf-8 -*- import cv2 # https://circlestate.tistory.com/5 #웹캠에서 영상을 읽어온다 cap = cv2.VideoCapture(0) cap.set(3, 640) #WIDTH cap.set(4, 480) #HEIGHT #얼굴 인식 캐스케이드 파일 읽는다 face_cascade = cv2.CascadeClassifier('haarcascade_frontface.xml') while(True): # frame 별로 capture 한다 ret, frame = cap.read() gr...
[ "sungbin.na@lge.com" ]
sungbin.na@lge.com
37b87d12218bc68211a3ef73adb34d6e5eb43721
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnhog.py
7c1879ae52723fe68f6909d57aba4d78d84117a7
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
1,016
py
ii = [('CookGHP3.py', 1), ('LyelCPG2.py', 6), ('RogePAV2.py', 5), ('CoolWHM2.py', 4), ('RogePAV.py', 6), ('SadlMLP.py', 2), ('WilbRLW.py', 1), ('ProuWCM.py', 4), ('MartHSI2.py', 1), ('LeakWTI2.py', 1), ('LeakWTI3.py', 4), ('PeckJNG.py', 11), ('AubePRP.py', 1), ('FitzRNS3.py', 2), ('SeniNSP.py', 1), ('AinsWRR3.py', 2), ...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
45d9075b6c1802f1069155be4c0467d375b78ded
96c3d486343fff114b39680335e7d98f06645f9e
/app.py
cdb9b7963469cf0a947539295f5a749f3f21289b
[]
no_license
omuyahmoses/mose
970a680911e8b6b728308ac872bc4f61f428eda0
de183795d663eff8e3d76f50f674476bda537993
refs/heads/master
2021-03-16T11:21:02.817853
2020-03-09T23:33:50
2020-03-09T23:33:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,946
py
from flask import Flask, render_template, url_for, session, redirect, jsonify, request from flask_wtf import FlaskForm from wtforms import StringField, IntegerField, PasswordField, DateField, BooleanField, TextAreaField, FileField, RadioField from wtforms.fields.html5 import DateField from wtforms.validators import Inp...
[ "45616070+MathengeNewton@users.noreply.github.com" ]
45616070+MathengeNewton@users.noreply.github.com
633c846601e607c70cc35a7f9b8eae09bf5ebb89
847fc8576f7e969553a58f026738b88540772ede
/tweet/migrations/0001_initial.py
d371b11b2bf540626614a6e513b2cc5d58d6f4cb
[]
no_license
BertW007/twitter
e8488ae242a2a5416ce5df498e431964f523a9a5
b43ccbbb0a003bfe35c654b0d6d652192d4e1e79
refs/heads/master
2020-04-08T09:50:09.817415
2017-09-12T18:36:06
2017-09-12T18:36:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-05 13:24 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "m.stelwach@gmail.com" ]
m.stelwach@gmail.com
48887c30ff50b09604e6af7c99af845d18f9c3aa
8dca64dd11b23a7d59413ac8e28e92a0ab80c49c
/504. Base 7/solution.py
298b59aa9f66b91ba715bc108c1bf1b2171775ae
[]
no_license
huangruihaocst/leetcode-python
f854498c0a1d257698e10889531c526299d47e39
8f88cae7cc982ab8495e185914b1baeceb294060
refs/heads/master
2020-03-21T20:52:17.668477
2018-10-08T20:29:35
2018-10-08T20:29:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
class Solution(object): def convertToBase7(self, num): """ :type num: int :rtype: str """ if -6 <= num <= 6: return str(num) def helper(n): # n >= 7 li = list() while n >= 7: li.append(n % 7) n //= ...
[ "huangruihaocst@126.com" ]
huangruihaocst@126.com
befff7baa26c14516b0c074285a86f638405aab9
485bb98540018cb556a6545223bf42628cecae25
/models/user.py
1362e00f0b8331bb73e7053f1ace7abb5c206328
[]
no_license
satyam8080/microsun-ecommerce
73e464bed297f4a1e8d17b93919f33ddf67c8f07
ee05713b9d6a0ef1bd8f3f7d194c3c411832c85d
refs/heads/main
2023-04-02T06:16:00.999342
2021-04-07T15:27:50
2021-04-07T15:27:50
350,608,537
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
from app import db from datetime import datetime class User(db.Model): __tablename__ = "users" id = db.Column(db.Integer, primary_key=True, autoincrement=True) name = db.Column(db.String(256), nullable=False) password = db.Column(db.Binary(120), nullable=False) email = db.Column(db.String(256), n...
[ "iamsatyam26@gmail.com" ]
iamsatyam26@gmail.com
d3c43d9e056e2e249b4baded6e92d6e2bde59822
1522cec40063a0267105924735169fda2f3b2039
/tests/test_packages/__init__.py
bf582e0b3c3fa4ef1bcacd17feec9a3fb96e4d10
[ "Apache-2.0" ]
permissive
memgraph/moto
4dc8a5fa1c9b362c65805c39107c4c5b05aa1a46
ff3c33cda6953e2ce5aeac3dd2a872e56632a1b3
refs/heads/master
2020-06-11T08:25:22.339987
2019-09-10T12:55:39
2019-09-10T12:55:39
193,903,464
1
1
Apache-2.0
2019-09-10T12:55:40
2019-06-26T12:50:28
Python
UTF-8
Python
false
false
307
py
from __future__ import unicode_literals import logging # Disable extra logging for tests logging.getLogger('boto').setLevel(logging.CRITICAL) logging.getLogger('boto3').setLevel(logging.CRITICAL) logging.getLogger('botocore').setLevel(logging.CRITICAL) logging.getLogger('nose').setLevel(logging.CRITICAL)
[ "rubelw@Williams-MacBook-Pro.local" ]
rubelw@Williams-MacBook-Pro.local
d5a4b03fe89b3cddcc4f48b6901637ce114cd440
fa8344a5f37ffd5f10bef00a6f7cab6acc6382f7
/libs/jqdjangogrid/views.py
81a0082362d0fae3f8ccc41357f3af46b500f13b
[]
no_license
hustels/django-crud-ajax-demo
2fcd8d3e1c050a76ec1d7e16cfd04fbf1175d8fa
06de79bf60918b7e270491e4d5cbc7e1422ffd23
refs/heads/master
2021-01-12T19:43:44.480199
2011-11-16T01:07:31
2011-11-16T01:07:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,840
py
# -*- coding: utf-8 -*- from django.db.models import Q from django.db.models import get_model from django.core.paginator import Paginator, EmptyPage, InvalidPage from django.http import HttpResponse from django.core import serializers from django.utils import simplejson from django.views.generic.simple import direct_to...
[ "gustavo@gustavohenrique.net" ]
gustavo@gustavohenrique.net
b72ce151c45de7d0eb1b7a8bc0bf6b7264e93609
f8079ce7216863c9ea5924b2f5b18a34e9848e83
/companyBlog/core/views.py
382339fffa1f4cff47776ade45f458ecef318962
[]
no_license
Siriapps/techie-Jr
129cae3d753ef3007c9e825b506e314bab6c357a
ccfabb53c49a5359136bfb14d4c6ab7ee7632edf
refs/heads/main
2023-06-04T20:12:48.703937
2021-06-25T14:49:56
2021-06-25T14:49:56
379,955,585
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
from flask import render_template, request, Blueprint, url_for from flask_login import current_user from companyBlog.models import BlogPost core = Blueprint('core',__name__) @core.route('/') def index(): page = request.args.get('page',1,type=int) blog_posts = BlogPost.query.order_by(BlogPost.date.desc()).pagi...
[ "siriapps3@gmail.com" ]
siriapps3@gmail.com
f5cd52c7607a545bb896d9aafc6eba74a46a0287
16e1518fd9b8aeb79fb3bc6eb9beb95c23dcd50e
/api/env/bin/pip3.8
87709980bb1ee5b8dfa82779fa596093ae8ec5f4
[ "Apache-2.0" ]
permissive
groupwildman/todolist
a6df180989524d563f1e58fa6aa6559f0ac10b57
7ce990b91e208fdb5ca757e3508a2f0764c16798
refs/heads/master
2023-06-21T03:46:40.443646
2021-07-19T09:49:02
2021-07-19T09:49:02
387,409,295
0
0
null
null
null
null
UTF-8
Python
false
false
275
8
#!/media/mhula/3C48DFE648DF9D48/workstation/todolist/api/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "groupwildman@gmail.com" ]
groupwildman@gmail.com
c5553972daa07b860ea815b1988ccb9406ea748d
adf15eed860c36fb156f4e23551e519e03934693
/seb/muon_analysis.py
d94cf5c625826bbb524eab98b44af0f7ef160fb7
[]
no_license
nexo-erlangen/exo_analysis
0bdde9c18d075ea89e3fcb69998254e27b64cdd4
2d04e4567ee7e1ce72972a48702bf3461e5bd7ba
refs/heads/master
2021-01-22T05:46:54.561506
2017-11-30T10:45:31
2017-11-30T10:45:31
92,493,278
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
#!/usr/bin/env python import numpy as np import sys import cPickle import os import ROOT ROOT.gSystem.Load('/home/hpc/capm/mppi025h/EXOoffline/EXOFitting/EXO_Fitting/lib/libEXOFitting.so') ROOT.PyConfig.IgnoreCommandLineOptions = True import plot_support as ps def main(): fName = '/home/vault/capm/mppi025h/anal...
[ "mppi025h@woodycap4.rrze.uni-erlangen.de" ]
mppi025h@woodycap4.rrze.uni-erlangen.de
a91390c161f40656d0f323b1525d55125c72c02a
0b279c246179bc6a76ad17f055ad1dce3402b045
/private_production/eft/2018/crab_INT_MINIAODSIM.py
e9a3be5b74809d1efea5713aa88eb353e315e3d7
[]
no_license
UniMiBAnalyses/CMSSWGeneration
a55e6ad840e4f7f9fae6b46a4bb939a288492f10
a7acf1a780eeb30e14616fef90ccf389e4367668
refs/heads/master
2023-09-01T02:01:44.746469
2022-01-31T11:01:29
2022-01-31T11:01:29
212,852,677
0
2
null
2022-06-16T15:23:25
2019-10-04T15:57:27
Python
UTF-8
Python
false
false
838
py
from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = config() config.General.requestName = 'VBS_SSWW_INT_MINIAODSIM' config.General.workArea = 'crab_projects' config.General.transferOutputs = True config.General.transferLogs = False config.JobType.pluginName = 'Analysis' config.JobType.psetName...
[ "jiexiao@pku.edu.cn" ]
jiexiao@pku.edu.cn
8bc9ba267ab55211234f1b8531b5d213ec6c7238
2315afb8435de656afcc5789ec1ddde21135f658
/todo_project/todo_app/models.py
dbe2eb3e5521a50750030086908baa842542c537
[]
no_license
DeanDupalov/Front-End-Basics
9754315cce8417cb86fbe33c76886df70e9d8ea4
acac5b03f55aff03620bd2d527a96c0d453e07d9
refs/heads/master
2023-04-22T08:58:28.124375
2021-05-13T13:11:18
2021-05-13T13:11:18
357,648,531
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
from django.db import models # Create your models here. class Todo(models.Model): title = models.CharField(max_length=10) description = models.TextField(max_length=100) is_done = models.BooleanField(default=False) def __str__(self): return self.title
[ "75751527+DeanDupalov@users.noreply.github.com" ]
75751527+DeanDupalov@users.noreply.github.com
3951a7046f0bd01eadc39baf522ef5e447f9ea79
dcb6192029405de7458a7955eba8133465f8f808
/screen.py
bf5af3da2a1f086c1d1934da99245be2dcd2ba45
[ "MIT" ]
permissive
christiankuhl/gameoflife
002933c97202fbea198f8de3f7a3df3340d2be3c
df50eb37aba5d339087b8a858d807087bc2d45bd
refs/heads/master
2020-12-03T00:34:35.350404
2017-08-06T14:59:05
2017-08-06T14:59:05
96,044,467
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
import sys import os import curses class ScreenPainter(object): """ This class contains methods to write the game's state on stdout. """ def __init__(self, cell_char="\u2593"): self.height, self.width = map(int,os.popen('stty size', 'r').read().split()) self.cell_char = cell_char ...
[ "christian.kuhl84@gmail.com" ]
christian.kuhl84@gmail.com
edf52ab76db2cfd99a0af88763f296ce469be40c
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/SjShRightSide/YW_GGQQ_QLFSJHA_191.py
7b402aecbf55309b2714b38ef26372383e256c92
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,954
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys import json sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/option/service") from OptMainService import * from OptQueryStkPriceQty import * sys.path.append("/home/yhl2/workspace/xt...
[ "418033945@qq.com" ]
418033945@qq.com
5afec34dfcd3817e923bd4c367627e579190eff1
5673965ed94588a6b78d49f641c60283ccb61b0a
/AD Test.py
e2e53fa4d677c00e745bbc54131da4410c774d82
[]
no_license
mrdavidgrant/workspace_token_test
1bf265a7609ac8102ad8b275d228de1ef421f791
155c1fddb0bf0eff6a3646fb86b6139e089cc4b8
refs/heads/master
2021-07-08T19:40:30.908975
2017-10-07T20:26:09
2017-10-07T20:26:09
106,022,222
0
0
null
null
null
null
UTF-8
Python
false
false
2,464
py
import _pyio import active_directory import csv class WriteUser: def __init__(self): self.cn = 0 self.username = 0 self.ad = 0 self.email = 0 self.VPN = 0 self.token = 0 self.webex = 0 self.laptop = 0 def reset(self): dict = vars(self) ...
[ "mrdavidgrant@outlook.com" ]
mrdavidgrant@outlook.com
677a7733f99ec9ef86d7efdad6061a89aa725c39
5a92c6283a86a8fc5d74bbc96837414623a48faa
/zkdm/python/package/ptz/ArmPtz.py
93b6dd7b06542bd88e4a725cc44c626b13ccf86e
[]
no_license
electri/zkonvif
5a8a4ca767d0dfa9e1b66237c2d380cf1cf12318
1ed6d31a003b5da2f52534a944c4e1c977b894bf
refs/heads/master
2021-06-08T13:10:42.998223
2016-12-05T22:56:16
2016-12-05T22:56:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,920
py
# coding: utf-8 import sys, socket, select import re sys.path.append('../') from common.uty_log import log def TurnStr(name, direction, speed): return 'PtzCmd=Turn&Who=%s&Direction=%s&Speed=%s'%(name,direction,speed) def PresetStr(cmd, name, ids): return 'PtzCmd=%s&Who=%s&ID=%s'%(cmd, name, ids) def ZoomSt...
[ "sunkwei@gmail.com" ]
sunkwei@gmail.com
ea0437398c5d2f0e423bd627eaa886ffd929f096
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv2/lib/python3.8/site-packages/ansible/modules/database/postgresql/postgresql_ext.py
97bd549f21b13edb26860e7beac097a8cf22f526
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
5,700
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
[ "sifang@cisco.com" ]
sifang@cisco.com
b059b880de3f859a5969b06be9518974df6aa833
f6d08b29b76713165fcdb50f78bd9c74b6b38c22
/Collect/S30/DataAccess.py
b4ea6f8e898d457761a400b8cb3c13d44347eeb3
[ "Apache-2.0" ]
permissive
joan-gathu/watertools
b4b22071897e21d2fb306344f9ace42511e9f3ef
55e383942ed3ddb3ba1d26596badc69922199300
refs/heads/master
2022-04-11T17:49:06.324478
2020-03-13T11:11:16
2020-03-13T11:11:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,459
py
# -*- coding: utf-8 -*- """ WaterSat author: Tim Martijn Hessels Created on Sun Feb 10 18:26:30 2019 """ import datetime import pandas as pd import numpy as np import os import urllib import gdal #S2_tile = "10SGE" #output_folder = "F:\Project_Jain\Case_California\Input_Data\S30" #Startdate = "2018-03-01" #Enddate = "...
[ "timhessels@hotmail.com" ]
timhessels@hotmail.com
54554165dd2e9432e8666cd50ffc36993354c9c3
de09ae1e6dac982a0cfdd461eac966f91a26a209
/ML Coaching/test1.py
adda37a89213387d6db613288e2af2a63b26d04c
[]
no_license
bikkimaurya/python
42b82e19894c66cf21ed203cb49b3b6f4761027f
432dfadc064395688c0fa27fd4e50f45cedd1faa
refs/heads/master
2022-12-05T10:44:55.785944
2020-08-27T10:10:45
2020-08-27T10:10:45
275,808,361
1
0
null
null
null
null
UTF-8
Python
false
false
713
py
detail={} def register(): i=int(input("enter id")) name=input("enter name") age=int(input("enter age")) detail[i]=[name,age] def search(): i =int(input("enter you emp id")) if i in detail.keys(): print(detail[i]) else: print("kuchh bhi") def registerWhile(): whil...
[ "abhishekinfinite786@gmail.com" ]
abhishekinfinite786@gmail.com
81245d58715ad29d167143f1b4294119e1df2941
5a5bcfe21defcaf6b050b0c92e8ec03cee7eb50f
/gencrud/gen/page/forms/__init__.py
7d15d4a929cddb986ec8904a4487e97f10a941fc
[]
no_license
marychev/gencrud
dc146c570a81ed0665f6bec309f106d966be349a
d6dc478b9a079aba5589591fa2e79665179e28a2
refs/heads/master
2023-01-06T18:50:13.417451
2020-10-23T18:05:38
2020-10-23T18:05:38
262,617,213
2
0
null
2020-05-10T18:35:19
2020-05-09T16:55:28
Python
UTF-8
Python
false
false
38
py
from .page_comment import CommentForm
[ "marychevmihail3737@gmail.com" ]
marychevmihail3737@gmail.com
36cce059f0eef1944248310def772b96b1245145
7039dbe4d16c79eabb8643fc7bce5dac0038ae0d
/Flask/app/models/webcrawler/meituan.py
17a6d2c7e926710f05d290020d59f84697e0fcb9
[]
no_license
jerryandjune/project
3d5b550635ce646456a169e91e4350f202b972e0
45f87c053eae88a33579adc0d56ac62b6e90dac0
refs/heads/master
2022-10-10T21:09:04.642924
2020-06-13T10:52:29
2020-06-13T10:52:29
261,818,942
0
1
null
null
null
null
UTF-8
Python
false
false
7,104
py
# -*- coding: utf-8 -*- from app.models.webcrawler.agent import Agent from app.models.rating import Rating import requests from fake_useragent import UserAgent import random import time import json from datetime import datetime import base64 import zlib import uuid # 美团数据爬取 class MeiTuan(object): # 代理列表 mya...
[ "228777912@qq.com" ]
228777912@qq.com
7dee80e4a8ef76034ced5fb3980d0ed4a9b5492f
1654120cd609613a5f7b54c02cb451d73acad5ab
/testing-platform-api-server/src/users/migrations/0002_auto_20171227_2246.py
75302f5ec4fa23751cc62ad4865d6bc7fda5426a
[]
no_license
UrosOgrizovic/SOTIS
ca0bde547d5be396b715b1c2e688fc1d2565cfa8
0495dd6676eb8d1fa48d301fcc36801b99b188db
refs/heads/main
2023-02-19T10:12:13.063759
2021-01-21T14:00:58
2021-01-21T14:00:58
310,030,329
2
0
null
2021-01-21T14:00:59
2020-11-04T14:42:30
Python
UTF-8
Python
false
false
365
py
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='last_name', field=models.CharField(blank=True, max_length=150,...
[ "noreply@github.com" ]
noreply@github.com
7ca045d3b976ec4554de720454d67c289ae129cb
2ae0ebfb099b3b2f5cbed3e4fb51e65d2c1eb6a3
/flask_test/03request.py
41208ab478e7fe027baf20affb68474aac3a1382
[]
no_license
amxsa/python_demo
821bf044cb9214c0bf3a1f3f0196ecaadc1d0a75
c2cf9cf2cccb0124cb1136b5db2b3ea791426e66
refs/heads/master
2020-03-13T12:24:22.562380
2018-04-18T11:07:01
2018-04-18T11:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
# coding:utf-8 from flask import Flask,request app=Flask(__name__) @app.route('/login',methods=['GET','POST']) def login(): if request.method=='POST': return 'login success' else: return 'login fail'
[ "Administrator@PC-20150905NHUU" ]
Administrator@PC-20150905NHUU
aa894bb8e9aaaae4618d085bd30ce267bf607169
8df3784537806a8e23d5a09188bfe01a7e7f1905
/manage.py
184ec03691f5c6e29537944ca820e6a529058178
[]
no_license
MyGodOnLoad/django-dash
956dc0cf58b6af32fa880163c4e4ff75f69252b6
23bbd9cb99031f8238f84d18c43ff83864f9940f
refs/heads/master
2023-04-26T15:14:56.360348
2021-05-26T10:53:16
2021-05-26T10:53:16
370,990,627
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'analyze.settings') try: from django.core.management import execute_from_command_line except Impo...
[ "zhangbinjob@163.com" ]
zhangbinjob@163.com
e065368a23696b60736cd304f85e5a28aec35af0
cc157334d7e05f5fcfc681fda4d81b2f54306c5e
/proj/plane.py
0d1cdeca98a71bc2599e2049b749cd694d7f9dbb
[]
no_license
HELL-TO-HEAVEN/Air_Combat_Game_Python
237ec1cb7cbcc29b13383a97d878424291de21c2
78c3b008adc57bc29c0240321e4609993d43e9b3
refs/heads/main
2023-03-18T16:45:55.698642
2021-03-11T06:42:24
2021-03-11T06:42:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
import pygame from proj.flyingObject import FlyingObject class Plane(FlyingObject): def __init__(self): super().__init__() # 飞机属性 self.hp = 5 self.be_hit = False # 飞机资源容器 self.normal_images = [] self.hit_images = [] self.destroy_images = [] ...
[ "78183896+ivan-kunfei@users.noreply.github.com" ]
78183896+ivan-kunfei@users.noreply.github.com
56d44786e3b737243ce5a6ba2395ae5a68db6b8d
ffced5716c90756b82d3835cdd94383661c54d0b
/rest-api/services/memory_service.py
13bb1af5be31d92db6daa3d598bd4377638c4c53
[]
no_license
andrewPompa/fpga-slow-control
076536a009117ddcc75f3e67b930af1b025b7e15
11d862c03fa2c7063ad7ce0feb88eb3ef32d6700
refs/heads/master
2020-05-17T08:43:37.742551
2019-09-12T04:57:03
2019-09-12T04:57:03
183,613,303
0
0
null
2019-07-31T11:55:54
2019-04-26T11:00:55
C++
UTF-8
Python
false
false
617
py
from base64 import b64encode from subprocess import check_output, PIPE, check_call class MemoryService(object): def __init__(self, bram_file_path): self.bram_file_path = bram_file_path def get_as_base64(self, address, num_of_words): memory_bytes = check_output([self.bram_file_path, "-s", "-r"...
[ "mjazowski00gmail.com" ]
mjazowski00gmail.com
fd4ee17286f5e1580432731e179b151fa60cd03f
13ecba2979a357cf20f36e51ee1121e1b9acfe7f
/ServidorDjango/GARV/GARV/celery.py
15ab122b014266898aa120155bd4b6b14f216c31
[]
no_license
MiguelMBP/G.A.R.V
19e1432a9d05131275e90fe509012dcb517bca30
1a52dd9a503f8f81ccfc41a26a2c9a9fc80199f9
refs/heads/master
2022-12-06T13:35:37.921548
2019-06-15T15:21:38
2019-06-15T15:21:38
179,662,847
0
0
null
2022-11-22T03:46:29
2019-04-05T10:34:07
Java
UTF-8
Python
false
false
555
py
from __future__ import absolute_import import os from celery import Celery from django.conf import settings # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'GARV.settings') app = Celery('GARV') # Using a string here means the worker will not have to #...
[ "miguelmbp98@gmail.com" ]
miguelmbp98@gmail.com
6181d30391753ca14343ed1e5a857197478a1134
f6689533ca448dc03d3b4e4f46e280c3bf92b0a9
/venv/bin/miniterm.py
eff689e6788a61ecf7ec0ff06967319ea3d6a0d8
[]
no_license
mimouncadosch/quad
6ad42f901d75c6be623aa071c9f0a6c7a38fd5d9
504be285ce719cf2f629468ef6f97eb15a41270b
refs/heads/master
2021-01-20T11:29:46.205860
2015-01-16T16:15:55
2015-01-16T16:15:55
29,356,330
0
0
null
null
null
null
UTF-8
Python
false
false
27,494
py
#!/Users/mimoun/projects/sonnartech/flask-app/venv/bin/python2.7 # Very simple serial terminal # (C)2002-2011 Chris Liechti <cliechti@gmx.net> # Input characters are sent directly (only LF -> CR/LF/CRLF translation is # done), received characters are displayed as is (or escaped trough pythons # repr, useful for debug...
[ "mimouncadosch@gmail.com" ]
mimouncadosch@gmail.com
f465a24a25ff819d2f93f175b0b03a593d910dbd
6b05dfb2558d468f17b2d1bfae8ce362f353ec43
/password_generator.py
610a6bde8263d8dad974875b29046111ad42c5a9
[]
no_license
nithin1117/PassGen
6883e4abfa206b81a1d3e2fd5646d1165c48d9cc
840133916ae1865977cee6e2ded9134e9d1bbd96
refs/heads/main
2023-09-04T12:21:36.120131
2021-10-08T07:17:39
2021-10-08T07:17:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,010
py
import string import random from tkinter import * from tkinter import messagebox import sqlite3 with sqlite3.connect("users.db") as db: cursor = db.cursor() cursor.execute("CREATE TABLE IF NOT EXISTS users(Username TEXT NOT NULL, GeneratedPassword TEXT NOT NULL);") cursor.execute("SELECT * FROM users") db.commit()...
[ "noreply@github.com" ]
noreply@github.com
f49d115ae7accbc8b8fa06c8bd5d22ac09635921
5eb7563ccd7f4ce44b14ed62f011fe7523072a09
/code/heat3.py
2c3bd04089e22983650aee7777578a79106d4f2a
[]
no_license
arpit251/SURGE
dc1a581e6b34fe4c52b88d1ae187e607bc348c47
733babc517323334fb9bc3fce4443e60419a2f07
refs/heads/main
2023-07-14T16:32:06.080562
2021-08-27T06:53:18
2021-08-27T06:53:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
n,k=list(map(int, input().split())) temp=list(map(int, input().split())) slide_sum=0 ans=0 temp_k=k j=temp_k-1 for i in range(k): slide_sum += temp[i] slide_sumd = slide_sum if k==n: ans=slide_sum/n elif k==1 : ans=max(temp) else : while temp_k < n : j=temp_k-1 while j<...
[ "noreply@github.com" ]
noreply@github.com
f11315e1cf370d2e96234d59d36b02b548789f8a
d3f47c4f648f9d1b1d488ed7ee0bc67b6bbf2aab
/erica_app/erica/pyeric/pyeric_controller.py
1ee52d5a24e3315bd10cee1274b6510468f3067f
[ "MIT" ]
permissive
ramboldio/steuerlotse
f1ee7df4c13337d60e66876e28b07ff11deff5bb
eeebb91be6c13435d621d105ffdb19e972c8f649
refs/heads/main
2023-06-16T20:32:06.712669
2021-07-02T12:28:14
2021-07-02T12:28:14
382,943,447
0
0
MIT
2021-07-04T20:34:12
2021-07-04T20:34:12
null
UTF-8
Python
false
false
3,308
py
import os from ctypes import pointer, c_int from erica.config import get_settings from erica.pyeric.eric import EricWrapper, EricResponse from erica.pyeric.eric import get_eric_wrapper from erica.pyeric.pyeric_response import PyericResponse _ABRUF_CODE = get_settings().abruf_code _INSTANCES_FOLDER = os.path.join('eri...
[ "julian.roesner@4germany.org" ]
julian.roesner@4germany.org
0da92cbd0e4ade8ad9bc3e92c2eeb5dba366e385
99d17ddba93db1105e8941b1b592d9d9e22864fb
/superset/dashboards/permalink/exceptions.py
c234d614f1a27fea248bc5ed03cb5599a37c9fc3
[ "Apache-2.0", "OFL-1.1" ]
permissive
apache-superset/incubator-superset
f376dc15d6e2187d0b65a0dc5476d6c6c3378f21
0945d4a2f46667aebb9b93d0d7685215627ad237
refs/heads/master
2023-03-15T04:12:40.478792
2022-07-25T14:44:43
2022-07-25T14:44:43
146,225,581
21
20
Apache-2.0
2023-03-13T16:00:14
2018-08-26T23:56:08
TypeScript
UTF-8
Python
false
false
1,253
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 u...
[ "noreply@github.com" ]
noreply@github.com
ed3eebeafc63f9ab053b14216164390517280d87
30b5179e32c3f31b56b100238ee9d14449d02071
/tests/components/picnic/test_config_flow.py
b731fce74f9bbc1033373b6eca43f0a513a03586
[ "Apache-2.0" ]
permissive
Verbalinsurection/Home-Assistant-core
e149c13ecae32c34b7cabd0216abcfddd6244bdc
5f69ae436003c75b1eeac2ec488049197e87e9ff
refs/heads/dev
2023-09-01T18:34:53.715026
2023-02-14T21:17:22
2023-02-14T21:17:22
247,318,244
0
0
Apache-2.0
2023-02-22T06:14:24
2020-03-14T17:04:17
Python
UTF-8
Python
false
false
9,501
py
"""Test the Picnic config flow.""" from unittest.mock import patch import pytest from python_picnic_api.session import PicnicAuthError import requests from homeassistant import config_entries, data_entry_flow from homeassistant.components.picnic.const import CONF_COUNTRY_CODE, DOMAIN from homeassistant.const import C...
[ "noreply@github.com" ]
noreply@github.com
cb883b6b7fc0962ca529a10fb39484b6a3445588
d72508d6d60df99086c7a5a6c615635ea193e18e
/src/python3/resources/users/profile.py
20303bcda9fb25906b582ef894121a2b5cbaf6a3
[]
no_license
nromero125/glucolog
679d8ffba1a4a1d593f49cd92caa6433b35194f5
f7c14177639683a5c3a331e94a136b0d4f3ac51b
refs/heads/master
2020-04-04T05:14:00.791376
2019-01-24T17:43:50
2019-01-24T17:43:50
124,118,300
1
1
null
2018-10-29T22:18:01
2018-03-06T18:05:12
HTML
UTF-8
Python
false
false
1,442
py
import datetime from flask_jwt_extended import jwt_required, get_jwt_identity from flask_restful import Resource, reqparse from models.users.user import User as UserModel from schemas.users.user import User as UserSchema class Profile(Resource): def __init__(self) -> None: super().__init__() sel...
[ "davidftavarez@gmail.com" ]
davidftavarez@gmail.com
dea1ae61b850b1e4480c8d9a64ae567fb2fb1a3c
6c5c19a40cd0e4f35336f696ef2a11a4a96844de
/quiz-game/quiz_brain.py
69f93d4d43933f86689cab29c4e0612c177e2d42
[]
no_license
NaruKim/QuizGame
a0b7ebbd1a1544dc7d92faae6496f98210eb4aa7
b4fb58d9da720835d63541be81c338d8807de627
refs/heads/main
2023-03-07T12:48:22.357232
2021-02-13T03:15:29
2021-02-13T03:15:29
338,486,631
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
class QuizBrain: def __init__(self, n): self.question_number = 0 self.question_list = n self.score = 0 def still_has_question(self): return self.question_number < len(self.question_list) def next_question(self): user_answer = input(f"Q.{self.question_num...
[ "noreply@github.com" ]
noreply@github.com
cbcfeea91647098680903a8f637833aefe924612
2333a2da53a2602fc94eaf1d89e0876a44ba769c
/venv/bin/flask
0aa424925775d13ea497d0363622488ba5e7258d
[]
no_license
suguna23/rmsit
25ad41165c52002537aa1fcfb4012a095bf29437
85dd67f03be2a98af167f7377814879e535426b6
refs/heads/master
2022-12-05T19:40:17.328044
2020-08-27T13:24:31
2020-08-27T13:24:31
290,776,894
0
0
null
null
null
null
UTF-8
Python
false
false
238
#!/home/suguna/my_flask_app/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ubuntu@ip-172-31-34-179.ap-south-1.compute.internal" ]
ubuntu@ip-172-31-34-179.ap-south-1.compute.internal
7c56bfb08db5584fffade0c6174081a2d27d177b
9416aa59bd0edadd7c0decc4d4a2c3e3469cace6
/liste_animaux.py
03c17fc022c5c21eb0e0e981367b33f74cd5476d
[]
no_license
amandineldc/git
223452c0dd6bfcd05ea6fea61f6afac39c1c5df1
76997a3190780ea288fbf2a149fe43b0d50ab552
refs/heads/main
2023-07-10T10:39:21.419842
2021-04-01T10:40:22
2021-04-01T10:40:22
351,448,708
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
import random liste_animaux = ['lapin', 'chat', 'chien', 'chiot', 'dragon', 'ornithorynque'] print(liste_animaux) # liste inversé liste_animaux.reverse() print(liste_animaux) liste_animaux.sort() print(liste_animaux) liste_animaux.append('troll') print(liste_animaux) animdom = ['lapin', 'chat', 'chien', 'ch...
[ "noreply@github.com" ]
noreply@github.com
833f51005cf3584f2174b27576b127ef4e2db09e
4e89e26071d383bd5e56272716a7467f1b6ff72f
/flask/lib/python2.7/site-packages/flask_wtf/form.py
93232c70081cc6d1ffde558c7102216af1cd5638
[]
no_license
sunishsheth2009/ChatterBot
8c5b751a54d6bfd81692a4aadf6e67a56a70ecf4
b1fe94565437c27d985b41f6bf68d652641fd743
refs/heads/master
2021-07-23T04:27:13.741038
2020-09-30T21:44:40
2020-09-30T21:44:40
24,700,500
9
7
null
2020-10-06T05:41:32
2014-10-02T00:20:39
Python
UTF-8
Python
false
false
4,504
py
import werkzeug.datastructures from jinja2 import Markup from flask import request, session, current_app from wtforms.fields import HiddenField from wtforms.ext.csrf.session import SessionSecureForm class _Auto(): '''Placeholder for unspecified variables that should be set to defaults. Used when None is a v...
[ "sunishsheth2009@gmail.com" ]
sunishsheth2009@gmail.com
7a5737d47f554c2642a0f6e6d6a2dbb120c0c127
9e440e7f966f978bd0068e358754f2c7544ddd1f
/FacebookCloneWebService/my_user/serializers.py
b531700cb6114d071a23794151a7eb3450dfe4eb
[]
no_license
toddlamb/Academic_Projects
e484b7df0d806f43c0b8b605898bc967c1bd1b3b
49cf4d521797ae81dcffaf88a6695b35eb6c682a
refs/heads/master
2021-09-02T03:37:45.087354
2017-12-30T00:59:31
2017-12-30T00:59:31
103,955,246
0
0
null
null
null
null
UTF-8
Python
false
false
2,384
py
from rest_framework import serializers from .models import User, Friendship from util import serializer_mixins as sm from django.db.utils import IntegrityError # Serializers define the API representation. class UserSerializer(sm.WriteOnceMixin, serializers.ModelSerializer): class Meta: model = User ...
[ "toddlamb199@gmail.com" ]
toddlamb199@gmail.com
48983f1ea96897668bf4f661b7f0605254dc330d
02d1d89ed3c2a71a4f5a36f3a19f0683a0ae37e5
/navigation/sonar/maxsonar_class.py~
fbc039ae23b20329bb3f04d51f235e36260bfd38
[]
no_license
lforet/robomow
49dbb0a1c873f75e11228e24878b1e977073118b
eca69d000dc77681a30734b073b2383c97ccc02e
refs/heads/master
2016-09-06T10:12:14.528565
2015-05-19T16:20:24
2015-05-19T16:20:24
820,388
11
6
null
null
null
null
UTF-8
Python
false
false
2,504
#!/usr/bin/env python import serial import threading import time # need to find best way to search seria ports for find device class MaxSonar(object): def __init__(self): self._isConnected = False self._ser = self._open_serial_port() self._should_stop = threading.Event() self._start_reading() self._data =...
[ "laird@isotope11.com" ]
laird@isotope11.com
83cf91c778e0b5abe897127237fb5f7300f8745b
08e2f659aeac18351078468d28fbd39a19ba129f
/Funcionalidades Interfaz/Funcionalidades.py
e6f6153955ef57f61ec050ad6d2c53b314d133d8
[]
no_license
josejfss/OLC1_Junio2021
fa31b81b8a1248d84759882a9a26fd9056a365d4
36437d7da3594b3876a534f0ce9d6ed1fa0ad996
refs/heads/main
2023-06-06T01:04:27.235343
2021-06-30T20:46:25
2021-06-30T20:46:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,585
py
import os raiz = Tk() def salir(): #SALIR DEL PROGRAMA value = messagebox.askokcancel("Salir", "Está seguro que desea salir?") if value : raiz.destroy() def cerrarDoc(): # CERRAR UN DOCUMENTO value = messagebox.askretrycancel("Reintentar", "No es posible cerrar el documento.") if value == Fal...
[ "puac235@gmail.com" ]
puac235@gmail.com
54806e1c4cfdd075a3b37f53636e5dc27927555f
9ff95e2ecc027cc909271f47e8d7e4fffe97a285
/pytrace/world.py
6b99ed91cba4144acec69a4e4d309c104eb1e864
[]
no_license
fictorial/simple-raytracer
f1dc2b6f3ca4f766f1ed7b3ab658ea8a4fcf2577
ac136d2d061fbca1bd3fc756910b603d67f63b3a
refs/heads/master
2020-04-02T14:56:27.095301
2019-09-26T13:48:26
2019-09-26T13:48:26
154,544,743
1
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
from pytrace.entity import Entity from pytrace.color import RGB class WorldError(RuntimeError): "Invalid world configuration" class World(Entity): _num_worlds=1 def __init__(self, name=None): if name is None: name = "World %d" % World._num_worlds Entity.__init__(self, name) World._num_worl...
[ "brian@fictorial.com" ]
brian@fictorial.com
696567a45e36d66ebef1634dc9de2a913a41bf1b
996ed5e00ee4d4dbf7c8d01956e14796d82bde71
/web_service/lib/errors.py
0aaa63cc5494b561687c9bd2901a8e9c460fff02
[]
no_license
ngroesz/cat_swipe
41493488a2e9a408e5c891029ebfc01778487ea0
269018396116f4297c1ca0ea0b181e0cb86ab07a
refs/heads/master
2022-12-16T16:07:48.193398
2019-10-31T00:12:45
2019-10-31T00:12:45
165,539,828
0
1
null
2022-12-08T06:34:27
2019-01-13T18:29:47
JavaScript
UTF-8
Python
false
false
414
py
class PermissionDenied(Exception): status_code = 400 def __init__(self, message, status_code=None, payload=None): Exception.__init__(self) self.message = message if status_code is not None: self.status_code = status_code self.payload = payload def to_dict(self):...
[ "nick.groesz@gmail.com" ]
nick.groesz@gmail.com
918c6b711b81e16dc421355ce2073c1b32bbf72e
1c68bffb4f7696e2848a1c87ff28ff6a5f6d614e
/10_days_of_statistics/day_8/least_square_regression_line.py
99b7a0cc9bf42ea035efc14c0bf1956964c830b2
[]
no_license
ferpart/metodos_cuantitativos
7e1807b132919bf75385856c73e08e66d2a27be5
08e7fbb5644306d69f1dac910567df7472593cb2
refs/heads/master
2022-11-13T17:31:50.298817
2020-06-20T15:01:16
2020-06-20T15:01:16
239,660,906
1
0
null
null
null
null
UTF-8
Python
false
false
588
py
#!/usr/bin/python3 """Class used for solving the least regression line problem for day 8""" from regression_line import regression_line def main(): """main method for the least_square_regression_line class""" n_count = 5 x_element = 80 x_values = [] y_values = [] for _ in range(n_count): ...
[ "ferpart@hotmail.com" ]
ferpart@hotmail.com
70f692ef781f6065de6e1005d5e0d1614ac63db5
e7f965b3f23afe572e86bb0fb630a4db2185cb70
/apsimRegions/preprocess/soils.py
946a04110a9390489af2df6e6cfdfbdf9bf10204
[]
no_license
twongsi/APSIMRegion_Biochar
b01a76e489ef19930e856b13bb66e93a9cba9174
1159009b225855d3568e2f7d045307ae9e98b2a2
refs/heads/master
2021-06-18T16:27:30.316323
2017-06-27T17:17:36
2017-06-27T17:17:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
#!/usr/bin/env python #============================================================================== # Module for parsing soil files #============================================================================== import lxml.etree as ET def add_soils(element, filename): ''' Adds all soils in filename to elem...
[ "hamzed@iastate.edu" ]
hamzed@iastate.edu
a6a6eac619efabc8f8f09d0d3d8d820ca1fa910b
cc8c39465a8dfc82816cb501b36bc8f292e9d20a
/HW6/Question 5.py
3d9f5a4b32df09b401ca3994a40c47aaa0f4aac2
[]
no_license
gxavier38/CS511
d66231954baccf91f81bca3107c964d9021d4a11
f74b041980eca23d401708951cc5183427c98d19
refs/heads/master
2023-01-30T02:14:07.462558
2020-12-10T09:29:09
2020-12-10T09:29:09
295,649,227
0
1
null
null
null
null
UTF-8
Python
false
false
501
py
from z3 import * m = Function('m', IntSort(), IntSort(), IntSort()) i = Function('i', IntSort(), IntSort()) x,y,z,e = Ints('x y z e') s = Solver() # Axioms of group theory s.add(m(m(x,y), z) == m(x, m(y,z))) # m is associative s.add(m(x, e) == x) # e is a right identity s.add(m(x, i(x)) ...
[ "gxavier@bu.edu" ]
gxavier@bu.edu
8eeec42ecde5a1075e6ca03b213f84525765f2dc
f6143764245600c9657c6c11c51afc60706885f5
/DDA_lab1.py
5d7d6012b30db4f33187f16662188e36bca6992f
[]
no_license
crescent-igor/ComputerGraphics
6834caa27b40f04533e77456ce345930a516fbd9
a335016e8bb84f543b9902260885ba62af6d3d68
refs/heads/master
2020-04-14T17:13:38.931496
2019-04-01T18:35:01
2019-04-01T18:35:01
163,973,411
0
0
null
null
null
null
UTF-8
Python
false
false
1,898
py
import sys import pygame from pygame import gfxdraw pygame.init() screen = pygame.display.set_mode((640, 480)) screen.fill((255, 255, 255)) pygame.display.flip() white = (255, 255, 255) def ROUND(n): return int(n+0.5) def dda(x1, y1, x2, y2): x, y = x1, y1 xt, yt = x2, y2 length = abs(x2-x1) if ab...
[ "noreply@github.com" ]
noreply@github.com
c5c283a87f7a1e437e08fc327d7eb3dee30328cc
39efd1f9f2d0e4029cfd5f3a9ac12db36d1fa880
/DR_explicit_broadband_probe_replace_j_shift_ap_only.py
f3ac9750c07ce321732682f64e3946721a31430e
[]
no_license
arana89/python_ptycho
4b780db0cdfc4f7aa34219d4912f813ad5e24fdf
1d7b9273d0dbea330695a1aefe3c8c72d5296718
refs/heads/master
2020-03-21T08:47:45.113965
2018-07-27T19:24:31
2018-07-27T19:24:31
138,365,273
0
1
null
null
null
null
UTF-8
Python
false
false
15,427
py
#!/u/home/a/arjunran/.conda/envs/intel_mkl/bin/python # -*- coding: utf-8 -*- """ explicit probe and object update, jianhua method @author: Arjun Rana """ #%% import sys sys.path[-2] = sys.path[-1] #because conda environment loads the global site-packages first... import os import numpy as np import scipy.io as sio imp...
[ "arjun.rana@gmail.com" ]
arjun.rana@gmail.com
c4d362c859c78f528a87d6e4fd389d1ad46a49e9
737a6cf8d73b798bd1b992498d2e52983cfe7c08
/website_i2clcda.py
ebb5a92dd426c5f3c545fd260bf921be87906bd6
[]
no_license
floppyfish14/pi-terrarium
56a99605576469d529c852b2daadf8ce1ad4c0e9
b536ad6ce59c98db5bb4327bff771146324b244b
refs/heads/master
2022-12-05T17:51:30.863147
2020-08-31T04:54:30
2020-08-31T04:54:30
291,616,645
0
0
null
null
null
null
UTF-8
Python
false
false
2,650
py
# _____ _____ _____ __ __ _____ _____ #| | __| | | | | | #| | |__ | | |_ _| | | | | #|_____|_____|_____| |_| |_____|_____| # # Project Tutorial Url:http://osoyoo.com/?p=1031 # import smbus import time import sys import Adafruit_DHT # Define some device parameters I2C_ADDR = 0x27 # ...
[ "da3dalus" ]
da3dalus
ab7dcc5f6d4aa108c68e3cd688171c670ed510f8
ddfdce00cb6b525265efc07239cc494e36565e25
/project_name/settings/production.py
b07d55334796c694976290798e3cee76ab9be6e5
[]
no_license
drewbrns/Django-Sample-Project-Layout
5bdf93ac896c3d694c285727f26c3f516d7ba011
4d2f8e8edc1687957515d0f83dd86b2634937701
refs/heads/master
2021-01-18T06:13:30.226332
2013-11-28T08:02:51
2013-11-28T08:02:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
from .defaults import * DEBUG = False TEMPLATE_DEBUG = DEBUG ADMINS = [ # ("Your Name", "your_email@example.com"), ] MANAGERS = ADMINS # App used only at production INSTALLED_APPS += ( ) # https://docs.djangoproject.com/en/1.6/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.my...
[ "iskorum@hotmail.com" ]
iskorum@hotmail.com
0c2134b73618afe8066defdae021a99d1baaf6d3
419d2375514214f71ed79bf402fe5065c66a5143
/bankAccountDemo/acc.py
65044a1adfb12d6182535f8c5ef4ce22715caccd
[]
no_license
MurrayCS1/Python-Projects
a238bf32d2af797cc4733d20b5bbf4ced13c4d38
e0f882beb91b727fbc24af1d02cea2c2c42a2d8a
refs/heads/master
2021-05-16T17:15:21.762560
2017-08-15T18:47:52
2017-08-15T18:47:52
100,401,840
0
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
class Account: def __init__(self, filepath): self.filepath = filepath with open(filepath, 'r') as file: self.balance = int(file.read()) def withdraw(self, amount): self.balance = self.balance - amount def deposit(self, amount): self.balance = self.balance + amo...
[ "noreply@github.com" ]
noreply@github.com
73f759e34e0bb373fed5832be2d79bf6a4727643
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/prime-193.py
a9022462728d26ffa25a7f481c9f9b2ca1f06f24
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
# Get the n-th prime starting from 2 def get_prime(n:int) -> int: candidate:int = 2 found:int = 0 while True: if is_prime(candidate): found = found + 1 if found == n: return candidate candidate = candidate + 1 return 0 # Never happens def is_prime...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
82e810c2ba1640e7bb65e3ba6c9b71c68694f485
af1d78a0fb6d078dbda5fe53cbbfe942f4cf3040
/app/auth/FBAuth.py
dea24f1bd3e93fb1f07aacd0245204195700eff8
[]
no_license
ksaetern6/MenuAppWeb
5625c5dce9cf60e4933fdcbc72b817993f901be6
96780b0a1e4149d75ba198b9ffbdcbdbe5c6dc75
refs/heads/master
2022-10-27T12:05:01.583943
2020-06-12T04:43:08
2020-06-12T04:43:08
217,994,139
0
0
null
2022-09-23T22:30:52
2019-10-28T07:59:09
HTML
UTF-8
Python
false
false
326
py
import pyrebase class FireBaseAuth(): def __init__(self, firebase): self.firebase = firebase def getFireBaseRef(self): auth = self.firebase.auth() return auth def fireBaseLoginUser(self,email,password): auth = self.getFireBaseRef() user = auth.sign_in_with_email_and_password(email,password) return u...
[ "kensaetern@Kens-MacBook-Pro.local" ]
kensaetern@Kens-MacBook-Pro.local