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
41f393d491852164a2cfb96a4570ea66239f8b85
2ae046e1e6329479275fb15e318c4db80de96edd
/rider_skills_tree.py
71593a54b256d1c3b9a211b66d7a3282e1b083b4
[]
no_license
pcwong13/wardragons-gamepedia
cb658ed5520e8db92bba9d7339dac95850b59cd9
327dfe4b9d80fa2135896cee405e3760db2a4c30
refs/heads/master
2021-07-18T10:46:36.940214
2020-08-10T17:07:06
2020-08-10T17:07:06
204,075,528
1
0
null
null
null
null
UTF-8
Python
false
false
5,483
py
#!/usr/bin/env python import csv import riderdata import requests import wikilogin # ----------------------------------------------------------------------------- # Main processing loop # ----------------------------------------------------------------------------- # # rider skills tree # for info in riderdata.info_d...
[ "noreply@github.com" ]
noreply@github.com
7543cdf445cb135d685ea0c8aadce2b1123acf5d
b07208301e07076da04fde86402fbaf826a90d73
/chapter2/Chapter_2.1.1.4 KNN.py
40bbeb0dd79e24167282d812dcdcc51916cb6fb9
[]
no_license
TaoStarlit/python_ML
b5baf7c90c207a215db2b311bea1f6068b30d881
278524509503613b71c0d66c3b533e5b0c79d8d1
refs/heads/master
2021-08-29T01:43:40.746184
2017-12-13T10:01:51
2017-12-13T10:01:51
103,505,901
1
0
null
null
null
null
UTF-8
Python
false
false
1,786
py
# coding: utf-8 # In[1]: # 从sklearn.datasets 导入 iris数据加载器。 from sklearn.datasets import load_iris # 使用加载器读取数据并且存入变量iris。 iris = load_iris() # 查验数据规模。 iris.data.shape # In[2]: # 查看数据说明。对于一名机器学习的实践者来讲,这是一个好习惯。 print iris.DESCR # In[3]: # 从sklearn.cross_validation里选择导入train_test_split用于数据分割。 ...
[ "zhengt2016@gmail.com" ]
zhengt2016@gmail.com
0be3ce62f1272fed0b3e68f1055e1809062aab96
1f14921d3372a0570f39d0d000d4de560823aea7
/src/day1_7/day5_2.py
2be276d7d1e87af3544e2b840d5c048145c62103
[]
no_license
YangYishe/pythonStudy
8e47346f9b9da5724e0ba23cd67666c7e20e9794
825c7601fd7f7a635dd309fce339e456ca66a110
refs/heads/master
2020-08-08T09:39:45.541771
2019-10-22T09:07:25
2019-10-22T09:07:25
213,806,475
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
""" 说明:百钱百鸡是我国古代数学家张丘建在《算经》一书中提出的数学问题: 鸡翁一值钱五,鸡母一值钱三,鸡雏三值钱一。 百钱买百鸡,问鸡翁、鸡母、鸡雏各几何? 翻译成现代文是: 公鸡5元一只,母鸡3元一只,小鸡1元三只,用100块钱买一百只鸡,问公鸡、母鸡、小鸡各有多少只? """ for a in range(0, 101): for b in range(0, 101): c = 100 - a - b if a * 5 + b * 3 + c / 3 == 100: print('公鸡%d只,母鸡%d只,小鸡%d只' % (a, b, c)) ...
[ "YangYishe@users.noreply.github.com" ]
YangYishe@users.noreply.github.com
96697e0a1210d4821564472422964ebcc50a0e3b
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/zulip/2015/12/run-dev.py
67b1614d07af8c64d03977bec514a539b207ca73
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
3,852
py
#!/usr/bin/env python2.7 import optparse import subprocess import signal import traceback import sys import os from twisted.internet import reactor from twisted.web import proxy, server, resource # Monkey-patch twisted.web.http to avoid request.finish exceptions # https://trac.zulip.net/ticket/1728 from twisted....
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
9782f416c9447c9bea34e745ec11be24c68003db
8dbba1dc3b0a9cb3972e6fee6f41459d6fa56d78
/ch09/ex9-10.py
b644f50c93a1b0bc17981d880b07bc7f5e71550d
[]
no_license
freebz/Foundations-for-Analytics-with-Python
8da8308981538266e8e982ffcd080657058144ca
736b2075e339a679905071b39201e6a575f59229
refs/heads/master
2020-03-15T21:53:43.100954
2018-05-06T18:07:59
2018-05-06T18:07:59
132,363,669
0
1
null
null
null
null
UTF-8
Python
false
false
196
py
import numpy as np from numpy import concatenate, vstack, r_ array_concat = np.concatenate([array1, array2], axis=0) array_concat = np.vstack((array1, array2)) array_concat = np.r_[arry1, array2]
[ "freebz@hananet.net" ]
freebz@hananet.net
6524ea94820092e4a5ac123ed4c71fb81f6f7c7e
764001a417797e484d20b90e902dce6e0cc41c97
/code/models_single_xgb_tree.py
ce587d370ff8141143498bc47cc5fd029f25860f
[]
no_license
apex51/kaggle-home-depot-search-relevance
39145f8e6d2f944e5e8f50e9b149bd2041d74a92
44b439e5ef462dcdde2cd19ff879ca9086639536
refs/heads/master
2021-01-19T12:22:03.853816
2017-03-09T14:14:11
2017-03-09T14:14:11
84,448,610
0
0
null
null
null
null
UTF-8
Python
false
false
4,040
py
import numpy as np import pandas as pd import pickle import xgboost as xgb # from sklearn.cross_validation import train_test_split from sklearn.cross_validation import KFold from sklearn.metrics import mean_squared_error from datetime import datetime from hyperopt import fmin, tpe, hp, STATUS_OK, Trials PROJECT_PATH ...
[ "jiangh@dxy.cn" ]
jiangh@dxy.cn
3bbfc34b91572873ef075cf05e8158c8325a294f
5f2039b325a63765c43e9fdf28c275f7af990dac
/acamica-course/unit_testing/test_cap.py
426f2fc0735314904586e52e6ef52f2c0afa8fde
[]
no_license
pipecm/learning-python
da33cd8c076c58eee426cd4547ab05daaacd60d9
3f5fde44db21fb81316d2b2b956c832e719ab8b4
refs/heads/master
2022-11-09T18:27:16.515577
2020-06-25T01:03:30
2020-06-25T01:03:30
258,350,167
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
import unittest import cap class TestCap(unittest.TestCase): def test_cap_one_word(self): text = 'python' result = cap.cap_text(text) self.assertEqual(result, 'Python') def test_cap_multiple_words(self): text = 'monty python' result = cap.cap_text(text) self.as...
[ "pipecm@gmail.com" ]
pipecm@gmail.com
f3409674f6082e19e2cdbb91ddc6cc1956ae779f
9aea1b19a8681b4c6b15d628a080982fb2d98b39
/mianJing111111/Google/Implement Queue using Stacks.py
2e144185623f255bcbf62dc1b0ca3271002fcff4
[]
no_license
yzl232/code_training
ee7612efc6f166742fcf48e1af715f57a624d3aa
fc165027c3d7b1fec58ebfad2f9ada275a6b8c03
refs/heads/master
2021-01-21T04:32:02.522931
2016-07-01T21:35:29
2016-07-01T21:35:29
26,989,266
2
0
null
null
null
null
UTF-8
Python
false
false
901
py
# encoding=utf-8 ''' In this method, in en-queue operation, the new element is entered at the top of stack1. In de-queue operation, if stack2 is empty then all the elements are moved to stack2 and finally top of stack2 is returned. enQueue(q, x) 1) Push x to stack1 (assuming size of stacks is unlimited). deQueue(...
[ "buptyuzhenglin@gmail.com" ]
buptyuzhenglin@gmail.com
fd719ea423919eefadcd1185e677cc2b990b8786
0d60d2a954610d207efb976a50e28e59aae93286
/programmers_algorithm/이중우선순위큐(dual_priority_queue).py
acc81f45c6775c0e592e7f726af61e81126f1326
[]
no_license
darlcode/algorithm
074806be0a08918a6a594e5471aa61cd3f5755a6
359630d41faf1923314cf9e06b486a39643258d1
refs/heads/master
2021-07-16T15:07:55.209580
2021-04-04T06:37:44
2021-04-04T06:37:44
243,684,370
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
####### link : https://programmers.co.kr/learn/courses/30/lessons/42628 ######## ## 2019.10.01 ## def solution(operations): answer = [] for i in operations: # 명령어 데이터를 분리하여 command, data에 넣어주기 command, data = i.split(" ") # command가 I일 경우 if(command == "I"): ...
[ "noreply@github.com" ]
noreply@github.com
a23a94fd41f8b4ba1969672db4aa44e1875101a5
e36bdda1c178b409f581681a4633a9da5551425c
/NIGGA.py
01670a4290aafec729142c97f09b8f0d7a033b76
[]
no_license
jamakedo/MAMORY
c94d4e84715f9fab323c6c9add09a097734c0a01
0e53cff31a7d4b2786783a3a410ef1d444c60205
refs/heads/main
2023-08-04T02:37:14.214809
2021-09-24T13:55:15
2021-09-24T13:55:15
409,970,546
0
0
null
2021-09-24T13:38:38
2021-09-24T13:18:39
null
UTF-8
Python
false
false
51
py
ValueError BaseException TypeError SyntaxError
[ "noreply@github.com" ]
noreply@github.com
7ed539393db275f2f1dd067a9bf2e75a118f4e81
6edcb269d4f54ea37f7f12c31169192ab13e882f
/text.py
3518e7030baf503f62f4b6845e0c3e6f9c65fe59
[]
no_license
Jovi007/newGit
63f79befe801865d8132f6211422fa473e452e68
7b26570343d95d00b4e1dd4c05383ca8dcb43653
refs/heads/master
2021-01-01T04:58:04.412831
2016-04-20T10:10:59
2016-04-20T10:10:59
56,666,477
0
0
null
2016-04-20T10:10:59
2016-04-20T07:43:26
Python
UTF-8
Python
false
false
175
py
print 'new branch' print 'master branch fix' print 'fix conflict' print 'I want master get my code,I am dev1' print 'I am master,I have new code' print 'fix bug ing.........'
[ "zhouwei03@chinatopcredit.com" ]
zhouwei03@chinatopcredit.com
12499e79860b8214c7af7b3d4cd71912cad85ace
0cd266f5a862e0849ff534ac06fccd4eaa2114bd
/scikit/sklearn/neighbors/tests/test_dist_metrics.py
3e0ab34aab3ccfa93cf323800dfebd9657ef24ab
[ "BSD-3-Clause" ]
permissive
johnnykwwang/GPGPU_Final_Python_CUDA
45eeed3631ce577c22ffaea7ba076c5563771d60
439d11b98cd839c5a9bac153ee0f21c62d7ba932
refs/heads/master
2021-03-22T03:04:18.953358
2017-06-14T16:09:53
2017-06-14T16:09:53
93,535,442
2
0
null
null
null
null
UTF-8
Python
false
false
6,356
py
import itertools import pickle import numpy as np from numpy.testing import assert_array_almost_equal from scipy.spatial.distance import cdist from sklearn.neighbors.dist_metrics import DistanceMetric from sklearn.neighbors import BallTree from sklearn.utils.testing import assert_raises_regex def dist_func(x1, x2, ...
[ "ec2-user@ip-172-31-12-7.ap-northeast-1.compute.internal" ]
ec2-user@ip-172-31-12-7.ap-northeast-1.compute.internal
b1a48b404cef952e203b19b3d0a78243594f0388
97ccf3f73e371afd4037b664ba0c71b0b6af1db3
/guessing_number.py
aa6edf2ce024ad5db431f145fa4fdc80d98c9d35
[]
no_license
jaesmanalang/number-guessing
97f33e61d0c44d3e385965c4c671ab377bb5f7b4
919255390e1aef6b43c748c0d0e2551ed08561f2
refs/heads/master
2022-08-13T15:51:05.519634
2020-05-17T14:51:21
2020-05-17T14:51:21
264,690,067
0
0
null
null
null
null
UTF-8
Python
false
false
1,859
py
import random import os attempts = 0 game_playing = True def play_game(): reset() global game_playing, attempts max_range = get_max_range() the_number = number_to_guess(max_range) while game_playing: guess = player_guess(max_range) if check_guess(guess, the_number): ga...
[ "jaesmanalang@gmail.com" ]
jaesmanalang@gmail.com
e0912c5ac778e21ca948703da25cf176eec9062e
415a2bcd0350270956e94a8e1adb90216b1293e8
/venv/Scripts/pip-script.py
1f44689ada4571fcbbab8ad5ec3c9978f3602acd
[]
no_license
unclet1999/Sort
1205d0c19b7603d8960a9701e27e0c1c60ecb6ab
b620dd714d1d0b86e6fd0fecfec19de03f5a9c48
refs/heads/master
2020-08-23T11:29:37.636864
2019-10-28T18:03:01
2019-10-28T18:03:01
216,606,298
0
1
null
2019-10-28T19:16:43
2019-10-21T15:48:07
Python
UTF-8
Python
false
false
408
py
#!C:\Users\Uncle\Desktop\Sort_Project\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "real.friend2013@outlook.com" ]
real.friend2013@outlook.com
4a0902dc27453f1c3c75f66b24e4029df02fe5ed
4f205fc9316eff48092f573b072b644e8f02d8bd
/src/training/mytransforms.py
a8bdbb915bba86ea0d73dbf24e6f4d62a1ae0203
[ "Apache-2.0", "MIT" ]
permissive
hip-satomi/microbeSEG
017d5a0af616b4ee4652c315dea21eb4fc62b754
7e5455f1a27bc42ad765ec06e62c36012be71c11
refs/heads/main
2023-04-14T10:29:08.178419
2023-01-26T10:09:59
2023-01-26T10:09:59
483,291,328
6
1
MIT
2022-10-21T15:11:37
2022-04-19T14:55:12
Python
UTF-8
Python
false
false
15,396
py
import numpy as np import random import scipy import torch from imgaug import augmenters as iaa from skimage.exposure import equalize_adapthist, rescale_intensity from torchvision import transforms from src.utils.utils import min_max_normalization def augmentors(label_type, min_value, max_value): """ Get augment...
[ "tim.scherr@kit.edu" ]
tim.scherr@kit.edu
06072e8a7f63c5d0535c8e97d3d3590ec3ef64bc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_backup.py
9eff4b2688d253805fa8fdb41115f611870c9543
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
#calss header class _BACKUP(): def __init__(self,): self.name = "BACKUP" self.definitions = [u'(someone or something that provides) support or help, or something that you have arranged in case your main plans, equipment, etc. go wrong: ', u'a copy of information held on a computer that is stored separately from...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b4b48833b14eeae1819479c4994e066e45300d1c
d0dccd8b1c31c0256dca3472719acab561661aa9
/events/views.py
8f52985d56e7d9d48486c2516ac1ab2f8b850635
[]
no_license
cjredmond/GrouperApp
5fe97271bc275e570d2e3565c2bb5233ce34a79d
aba431c7def9173150e24686dbbb87685d25ed24
refs/heads/master
2020-03-19T21:43:12.609648
2018-06-29T16:17:10
2018-06-29T16:17:10
136,947,937
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
from django.shortcuts import render from django.views.generic import * from django.views.generic.edit import * from django.contrib.auth import get_user_model from django.urls import reverse from .models import Event from .forms import EventCreateForm from group.models import Entity class EventCreateView(CreateView):...
[ "connor.redmond@gmail.com" ]
connor.redmond@gmail.com
9004f791a1dcd8b9174c7e98612c338f9f24f0b8
1bfab43b76b084e428e8d0ff1809afd6d20acc35
/on luyen python/django/render_templates/render_templates/settings.py
02ecb7968a902fe613e0f578cd8570a56debf306
[]
no_license
namdh1985/python
807a292c24e225b7d671fe2138b1d3d63865d191
35c2760326b04e264ed35342a73262e816be8798
refs/heads/master
2022-12-05T10:20:48.910118
2020-08-26T14:28:57
2020-08-26T14:28:57
287,443,752
0
0
null
null
null
null
UTF-8
Python
false
false
3,129
py
""" Django settings for render_templates project. Generated by 'django-admin startproject' using Django 3.0.8. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ imp...
[ "namdh1985@gmail.com" ]
namdh1985@gmail.com
ee0c4d0093eb8fb6ee16511f21e8fcbcd1f15975
d0b6e0994331a27e4828a42256cf2a4960e6fc77
/src/visualization/visualize.py
fad8beca4b6d54169a1b7d0eec11dbfd9f7f9ab5
[]
no_license
MikkelMathiasen23/mlops_cookiecutter
08593f1475a164def363d7bf9ca231000f29efd9
9ec63e756257abaa793658db7d8671213cead17e
refs/heads/master
2023-06-02T07:48:28.159788
2021-06-17T08:28:27
2021-06-17T08:28:27
374,989,943
0
0
null
null
null
null
UTF-8
Python
false
false
1,705
py
import argparse import sys import matplotlib.pyplot as plt import pandas as pd import seaborn as sns import torch import torch.nn as nn from sklearn.manifold import TSNE from src.data.make_dataset import mnist from src.models.model import MNIST_NET parser = argparse.ArgumentParser(description='Training arguments') p...
[ "s174344@student.dtu.dk" ]
s174344@student.dtu.dk
f933c954e217766db493055dde446e4bbc81de4e
189e580f1525a4f15a279daacb1e62155c65542b
/metrilyx/metrilyxconfig.py
cf2fba1498ac1c594f3be18db0a7ddacc50de9b8
[ "Apache-2.0" ]
permissive
hvyas/metrilyx-2.0
33c009a0c925d84e31580960d8424c4ab9a7f1be
ca3aac416298fb6ba2550dd040cdc50379ab894a
refs/heads/master
2020-12-26T04:37:38.725817
2014-09-28T22:56:22
2014-09-28T22:56:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
import os from datastores import jsonFromFile _abspath = os.path.abspath(__file__) _apphome = os.path.dirname(os.path.dirname(_abspath)) CONFIG_FILE = os.path.join(_apphome, "etc/metrilyx/metrilyx.conf") config = jsonFromFile(CONFIG_FILE) config["static_path"] = os.path.join(os.path.dirname(_abspath), "static") con...
[ "abs.pathak@ticketmaster.com" ]
abs.pathak@ticketmaster.com
ea876ca3108b51995f148ecb425ba1ea887579b0
e5718bfa592ca171fd4100116ce566ecb0883e10
/lib/to_delete/ConvDeconvClassesMnist_mods.py
25cd606c3926001bf43fd87215e721ac80405fbe
[ "MIT" ]
permissive
joaquimlyrio/feature-visualization
e0d4eba7d9f5d3e99c917d00a6780e59fbf77ef5
47ead5044d1239dba1133b7ea812b2ed7f2564dc
refs/heads/master
2021-08-30T13:03:09.928336
2017-12-18T03:27:05
2017-12-18T03:27:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,528
py
### ### maybe try to use tf.nn.conv2d? ### # Imports import numpy as np import tensorflow as tf import matplotlib.pyplot as plt import random import math from scipy.misc import imsave ### ### Convolutional Neural Network (CNN) for MNIST ### class CnnMnist: def __init__( self, session, n_in, n_out, mode...
[ "31713176+joaquimlyrio@users.noreply.github.com" ]
31713176+joaquimlyrio@users.noreply.github.com
391eafe0985b6bbaa0f03b8aabc19aed9a0aeefa
9b8caa2e66fa81a0037e8066536f09b8c824941c
/atcoder/arc/arc142/b.py
436236417ec2b1770a6ab33b4cb46f91c9bbc7ea
[]
no_license
ayanamizuta/cpro
a66b46c87c71c2e9451fa01af1736242f09832a2
ddd6fa35ed11a1fddadbed4027c52ed5479725eb
refs/heads/master
2022-11-18T00:19:57.289569
2022-10-22T00:42:09
2022-10-22T00:42:09
149,390,268
0
0
null
null
null
null
UTF-8
Python
false
false
2,712
py
def render(arr): for a_ in arr: print(*a_) def validate(arr): n_=len(arr) for i in range(1,n_-1): for j in range(1,n_-1): a_=arr[i][j] cnt=0 for ii in range(-1,2): for jj in range(-1,2): if (ii,jj)!=(0,0) and a_<arr[...
[ "ayanamizuta832@gmail.com" ]
ayanamizuta832@gmail.com
003ffc8b931687487cf729b77a66c0d3d2b33116
af41debd568a7e2701f6be440b2a60d3afb3afef
/py_tests/t_queue.py
7cf04f164bead3a0ce1390479b5b403e501f57fd
[]
no_license
rimelis/BBB-Alarm
f948b208df2e5529445689b3bf2f21bc3df381a0
cd3539746ec118d5556bc096f0816ad2ceb29ed4
refs/heads/master
2021-01-01T17:54:25.204728
2019-03-19T15:37:40
2019-03-19T15:37:40
98,190,778
0
0
null
null
null
null
UTF-8
Python
false
false
1,539
py
import threading import time import logging import random import queue logging.basicConfig(level=logging.DEBUG, format='(%(threadName)-9s) %(message)s',) BUF_SIZE = 10 q = queue.Queue(BUF_SIZE) class ProducerThread(threading.Thread): def __init__(self, group=None, target=None, name=None, ...
[ "debian@arm.localdomain" ]
debian@arm.localdomain
e94a700f968a82baaa9b58e135e2d927dc8dca63
43e79af67945b3bf580d294d09da63d0379b4ae0
/script/relative_kinect_publisher.py
58d7290d3d026b3ed5f6e8d0de08c01edd44fa41
[]
no_license
payamn/following-ahead
3ef0caf0a50cdbec877c98051969661a42a98a90
25743f8683df3e96d79355422bd202a935b61c28
refs/heads/master
2021-09-05T17:24:30.442715
2017-09-20T03:28:47
2017-09-20T03:28:47
104,242,088
0
0
null
2017-09-20T16:44:00
2017-09-20T16:44:00
null
UTF-8
Python
false
false
2,396
py
#!/usr/bin/env python import rospy from geometry_msgs.msg import TransformStamped import message_filters import tf as transform import numpy as np tfObj = transform.TransformerROS(True, rospy.Duration(10.0)) relativePosePub = rospy.Publisher('/person_follower/groundtruth_pose', TransformStamped, queue_size=1) def cal...
[ "payam222@gmail.com" ]
payam222@gmail.com
cbf79af35fb2759d0e7ec9a19ca7f7380778de56
02d003627dc39487c43827de23f8a26faa616574
/ds/array/contains_dup.py
b279e96b09329f845a71fa8705cba64e06c63801
[]
no_license
amitt001/cs-review
63d31739d70c24eb1204537d2e37b4bbfb195e36
f04987b32f2598e6f058edd44c2e586894dab704
refs/heads/master
2020-05-24T23:32:50.234181
2019-09-03T14:26:18
2019-09-03T14:26:18
187,516,405
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
"""Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if every element is distinct. Input: [1,2,3,1] Output: true Input: [1,2,3,4] Output: false """ def containsDuplicate(nums) -> bool:...
[ "mail2amit19@gmail.com" ]
mail2amit19@gmail.com
e0d2036b5459a0bba69f3c1b91adeb65c9e1cccb
f1d850a59052deb004b8742a468d3f03e5d849cc
/youtap.py
e94858323194787eee1ba093a236114c4f4ccc5e
[ "Apache-2.0" ]
permissive
hubert10/youtap
00c5bf168d6967b17400a913932e2d6e7cec45ef
232134389336afd316f79d09689e127630d087ae
refs/heads/master
2020-12-28T12:18:22.928153
2011-07-26T21:52:11
2011-07-26T21:52:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,812
py
#!/usr/bin/python # # Copyright [2011] Sundar Srinivasan # # 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 ...
[ "krishna.sun@gmail.com" ]
krishna.sun@gmail.com
5de0f9c4b170ee96a23070ab179376033873edf0
3436a1502b344e92351c03a03a2e97e9dc0b3e00
/chapter4/code/classifier-fast.py
3283e6a907145eb9ea64e8a5797152456d44f9b9
[]
no_license
Rajiv-Nayan/Machine-Learning
0c47321c59938600f6f77ab9a6f7de5637598b9e
3850eb7c4ce1018c92ccf6a228174599613cfba7
refs/heads/master
2022-11-30T04:26:21.882330
2020-08-11T16:09:59
2020-08-11T16:09:59
284,464,237
1
0
null
null
null
null
UTF-8
Python
false
false
2,188
py
import os import numpy as np from collections import Counter from sklearn.metrics import accuracy_score def make_Dictionary(root_dir): all_words = [] emails = [os.path.join(root_dir,f) for f in os.listdir(root_dir)] for mail in emails: with open(mail) as m: for line in m: ...
[ "rajivnayanu23@gmail.com" ]
rajivnayanu23@gmail.com
a3dcc90e068ad557401a75428293332468a08fb3
ebff4045910369fafd56ad369f2de0da992dd221
/button.py
4d8510cc5a5355da8a451c9d60a87dfe6a408fa8
[]
no_license
galaxy-dust/alien_invasion
0d654e33af3fc4cd49cddcf7dc3faf2d959bf8fb
206141b0fde7ee30bed41cc6850ec2b2962137b0
refs/heads/master
2020-04-10T00:29:37.037805
2018-12-06T14:32:04
2018-12-06T14:32:04
160,686,852
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
import pygame.font import pygame class Button(): def __init__(self,ai_settings, screen, msg): self.ai_settings = ai_settings self.screen = screen self.screen_rect = self.screen.get_rect() self.width, self.height = 200, 50 self.button_color = (0,255,0) self.text_color =(255,255,255) self.font = p...
[ "zhangxuyu_ts@he.chinamobile.com" ]
zhangxuyu_ts@he.chinamobile.com
e87c25a0946568e24a4c75d826cd347aa92d0ceb
60baa50bc1f5b30136aa2618bd04c64fdef4bc7f
/plotting_from_mongo.py
47a0ee68ff3b278525e0b5a927d54721f84fd24e
[]
no_license
SaharCarmel/Memristor-NN
07159e2957e8db0e80efd070df89929d68f4d7f9
8d767c73790252afaba8ef22f940e05ec927f76e
refs/heads/master
2020-05-23T04:05:09.397918
2020-01-22T19:12:16
2020-01-22T19:12:16
186,628,314
7
3
null
null
null
null
UTF-8
Python
false
false
1,104
py
import pymongo import matplotlib.pyplot as plt import matplotlib.pyplot as plt from sacred import Experiment from sacred.utils import apply_backspaces_and_linefeeds from sacred.observers import MongoObserver def plot_results(run_id_1,run_id_2,metric): myclient = pymongo.MongoClient("mongodb://localhost:27017/") ...
[ "45436875+AmirsSaad@users.noreply.github.com" ]
45436875+AmirsSaad@users.noreply.github.com
8fdf3accccfac6904b4799b77cccadf2bfc83862
42516b0348936e257d04113c2e632dc72ba58e91
/test_env/test_suit_ui_file_explorer/test_suit_ui_file_explorer_case06.py
d446ea461909499285fd138a157ee129cd48ee84
[]
no_license
wwlwwlqaz/Qualcomm
2c3a225875fba955d771101f3c38ca0420d8f468
a04b717ae437511abae1e7e9e399373c161a7b65
refs/heads/master
2021-01-11T19:01:06.123677
2017-04-05T07:57:21
2017-04-05T07:57:21
79,292,426
1
1
null
null
null
null
UTF-8
Python
false
false
4,124
py
#coding=utf-8 import settings.common as SC from test_case_base import TestCaseBase from logging_wrapper import log_test_case, take_screenshot from test_case_base import TestCaseBase from qrd_shared.case import * import fs_wrapper from case_utility import * import settings.common as SC from utility_wrapper import * ##...
[ "c_wwan@qti.qualcomm.com" ]
c_wwan@qti.qualcomm.com
15a4d561dfb7b03334bf6343e7c40bcd382ae8a9
a7893ea023f4839fa0447845b88fbf2536966ba0
/FASRGAN_and_Fs-SRGAN/codes/models/__init__.py
035089f9d36bccbf24381558a598506920d7475d
[]
no_license
Rainyfish/FASRGAN-and-Fs-SRGAN
c84f6e0220d48271799b521237b937c9383e6471
2d85fc0bb5cb65d4ef4101c1953f0322fd3effbf
refs/heads/master
2021-06-21T23:53:35.992689
2021-03-14T10:22:56
2021-03-14T10:22:56
201,067,476
24
6
null
null
null
null
UTF-8
Python
false
false
989
py
import logging logger = logging.getLogger('base') def create_model(opt): model = opt['model'] if model == 'sr': from .SR_model import SRModel as M elif model == 'FsSRModel': from .FsSR_model import FsSRModel as M elif model == 'srgan': from .SRGAN_model import SRGANModel as M...
[ "1040999427@qq.com" ]
1040999427@qq.com
fc7d7b27a526a43db9c9b511ae29a4442acf81d4
0fb2e09c0629cf47045881d7eecc125f674230e5
/pps_webapp/main/views.py
bf6d96c2869c358792ae6771da7c09201b547904
[]
no_license
satwik77/phenopacket-scraper-webapp
ea24ad2cc2fbd988e12df1178be5ba940c8a9859
4382c2a4e501448e7bfd68c7826a3c4c5ab39a26
refs/heads/master
2021-01-17T09:33:07.188192
2016-08-23T17:24:20
2016-08-23T17:24:20
61,695,575
0
0
null
2016-06-22T06:45:50
2016-06-22T06:45:50
null
UTF-8
Python
false
false
1,984
py
from django.shortcuts import get_object_or_404, render_to_response, redirect from django.shortcuts import render from django.contrib import auth from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt import requests import pprint api_url= 'http://localhost:8001/api/' @csrf_exempt de...
[ "satwik55@gmail.com" ]
satwik55@gmail.com
d6722ce189fbb5948c8db922d888a2d1878b4e68
6fa437f198e74ebac1446999303bd34a04378e3f
/wat/wat.py
3cffd9f75ebfc222306612cb35ee58220fed0d5e
[]
no_license
0f11/Python
27f718e38cf40d2a8a348a9134660b619f4f6f20
7ba7941343560604539c2ad61b94afd660f8279d
refs/heads/master
2020-07-11T01:43:04.402080
2019-08-26T07:32:50
2019-08-26T07:32:50
204,421,162
0
1
null
null
null
null
UTF-8
Python
false
false
425
py
"""Wat.""" def first(n: int): """ First. :param n: :return: """ if n == 1: return 0 if n == 2: return 2 if n == 4: return 4 if n == 3: return 6 if n == 713: return 8 if n == -145: return 11 if n == -789: return 12...
[ "Welcomettu13" ]
Welcomettu13
187962dd8c17294e9070e38afbd203c6d97037a2
1258e001beb0c5aabb866a170625698e9385d3e9
/Alura/diff21.py
1295c6d8cd97d286c3f377611f0ca9d13ae814b9
[]
no_license
mgarcia86/python
7b3d450d7a0cb5623af446074784f247eb113497
66dd2e0dd6000a6d500dca594b23b54acae88169
refs/heads/master
2020-03-16T19:46:28.420744
2018-05-10T19:32:28
2018-05-10T19:32:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
def diff21(): if n > 21: return 2 * (abs(21 - n)) elif n <= 21: return abs(21 - n) def sleep(): if not week: return True elif week and not holiday: return False else: return True def nao_string(str): if len(str) >= 3 and str[:3] == 'not': ret...
[ "marcos.note@gmail.com" ]
marcos.note@gmail.com
c4d968751daae4a8ae948fa75f2ff562ca58b8b2
bb0ef99c4b16047b8c16b6d5ff0605b8e9b8dfbf
/neat2.py
4450d44c67a69c4464344d2b734abe2fdae62b86
[]
no_license
JRGCaponde/JRGCaponde
85c71a18145110a12d76699ab12463c70c2d28c2
092c0b4cafd17d5abc285b7ad2caff8c95c2a691
refs/heads/main
2023-09-03T17:17:39.581408
2021-11-05T23:24:40
2021-11-05T23:24:40
364,477,451
0
0
null
null
null
null
UTF-8
Python
false
false
5,514
py
import pygame from random import randrange import os import neat branco = (255, 255, 255) preto = (0, 0, 0) vermelho = (255, 0, 0) verde = (0, 255, 0) azul = (0, 0, 255) geracao = 0 velocidade_x = 10 velocidade_y = 10 CobraXY = [] try: pygame.init() except: print('o modolo pygame não foi inic...
[ "noreply@github.com" ]
noreply@github.com
31a0c3c321b124e25d22c7584aa8ccbc4ed0ae04
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/PyQt4/QtNetwork/__init__.py
499f277c4fd5601ad24160f4fb960e5e5fc2f65f
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,637
py
# encoding: utf-8 # module PyQt4.QtNetwork # from /usr/lib64/python2.6/site-packages/PyQt4/QtNetwork.so # by generator 1.136 # no doc # imports import PyQt4.QtCore as __PyQt4_QtCore # no functions # classes from QAbstractNetworkCache import QAbstractNetworkCache from QAbstractSocket import QAbstractSocket from QAut...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
ebe0553b549074fa2039364d294b9e381bbae91a
a7ca85d9a0a1e93fb9557f5afcf25dd9883909d3
/run_stgcn.py
9843f69d3e2e3283c6327d1793ec53b694293db9
[]
no_license
youngflyasd/STG2Seq
c03f88bcabc685ab53e7e1a46029ad0d6a5bf401
6047e29dc40571d99900c1b84c0a2a60e5fd67ac
refs/heads/master
2022-04-07T16:27:57.112543
2020-03-11T09:57:52
2020-03-11T09:57:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,562
py
import tensorflow as tf from tqdm import tqdm import numpy as np import os import h5py from lib.load_dataset import load_dataset_multi_demand_external from lib.batch_generator import batch_generator_multi_Y from lib.generate_adj import generate_graph_with_data from RootPATH import base_dir base_dir = os.path.realpath(...
[ "32267565+LeiBAI@users.noreply.github.com" ]
32267565+LeiBAI@users.noreply.github.com
6e74598ac562afd898833af86af9f06afb2a53aa
b99c82c6f280da992d539fcffbba7cb2cf6e78ce
/core/admin.py
a1ae04832490eff3ec6ff0e715f40fb3ad87d92a
[]
no_license
jonas-pettersson/Polls
541c6854274d81df35223a4fa0ff22b617ffa0ff
754e2e5ebde228734b21db4403237d056df23dcb
refs/heads/master
2022-12-17T06:24:03.734284
2020-09-09T16:16:47
2020-09-09T16:16:47
293,620,651
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
from django.contrib import admin from .models import Question, Choice admin.site.register(Choice) class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class QuestionAdmin(admin.ModelAdmin): fields = ['date_published', 'question_text'] inlines = [ChoiceInline] list_display = ('ques...
[ "jonas.pettersson@siemens.com" ]
jonas.pettersson@siemens.com
0b04dcafbb7bafeed73250d6bc7254c906731ccc
7486b3af4d4413a96b3e0bf76f776cd8605d7c05
/koalakid1/Divide Conquer/bj-2630.py
bdd6711efba8a0bed6260a699fb4fb5d2babdeb5
[]
no_license
WonyJeong/algorithm-study
7146e18ec9a3d7f46910e31890768b2e37f8b9b4
dd659bf75c902800bed226d392d144b691d8e059
refs/heads/main
2023-03-31T14:38:47.365622
2021-04-02T01:35:36
2021-04-02T01:35:36
334,309,434
3
1
null
null
null
null
UTF-8
Python
false
false
704
py
import sys def quadtree(n, x, y): global graph, blue, white point = graph[x][y] for i in range(x, x + n): for j in range(y, y + n): if point != graph[i][j]: quadtree(n//2, x, y) quadtree(n//2, x, y+n//2) quadtree(n//2, x+n//2, y) ...
[ "koalakid154@gmail.com" ]
koalakid154@gmail.com
3bae786e9e40c36b6f97504686557294fa9bf5c6
695a2237c52485a01086e690a633f4fd43e3c128
/COVID-away_one-class_classification_models/Acc+Gyro+Mbar+RVect/Local_Outlier_Factor.py
5608c38c7b291f332df1ef6940f08aed4ae2db11
[]
no_license
wbing520/COVID-away
db3c3dc10d4b56036a30985a02e93d3b7f0338e3
fea67b4d1e7232e0f16b5bbd886788fe7a676771
refs/heads/master
2022-12-23T14:43:57.455443
2020-10-07T01:53:19
2020-10-07T01:53:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
# local outlier factor for imbalanced classification import pandas as pd from sklearn.metrics import precision_recall_fscore_support, classification_report,confusion_matrix, precision_recall_curve import pickle test = pd.read_csv('./Test.csv') testX = test.drop(['label','Pattern'], axis = 1) testy = test.label f...
[ "bhasud@ie.deri.local" ]
bhasud@ie.deri.local
b5f5180f9a11d57ae823a912a59eb65def369fcd
95f0d18cfabeb3806d6a54f80a47aa3b7f996dfb
/newsletter.py
a65ebc63f2e8e0bb01be6a573817946c43907fd5
[ "MIT" ]
permissive
thedeadwoods/Comradery-API
14eade52bc41b4b5e2fdbf5746bff468c62c75d0
0d30df376f5542d01a04b96c5fdf9363d3103679
refs/heads/master
2023-03-23T07:52:27.476182
2021-03-06T20:01:36
2021-03-06T20:01:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,104
py
from lionhearted import settings import os import django import sys os.environ.setdefault("DJANGO_SETTINGS_MODULE", "lionhearted.settings") django.setup() from django.utils.html import strip_tags from forum.models import Comment, Post, partial_update_objs, Community from datetime import datetime, timedelta from djan...
[ "rishabhegde@Rishabs-MacBook-Pro.local" ]
rishabhegde@Rishabs-MacBook-Pro.local
6dad64a78b096b80c43759b584af08e34c1f1b78
8eeae0008711f6c62e63a599d2d7e67ba43b32ad
/tradesimpy/engines/backtest_engine_import.py
77bfd0a3d79150cb0d5a189b1e2bc0e2cc5994e3
[ "BSD-2-Clause" ]
permissive
shaoshoutianheyu/tradesimpy
d0db391fef0cc3471dc159da318c2de3b8bb6d31
5b58676e8d9ae2ce2d714413beddbc14e6154fc7
refs/heads/master
2020-12-13T19:13:29.582731
2016-08-10T19:35:27
2016-08-10T19:35:27
66,049,690
5
5
null
2016-08-19T03:29:06
2016-08-19T03:29:05
null
UTF-8
Python
false
false
315
py
import os import sys # Provide directory paths for necessary imports lib_paths =\ [ os.path.abspath('../data/'), os.path.abspath('../backtester/'), os.path.abspath('../trading_algorithm/'), ] for lib_path in lib_paths: sys.path.append(lib_path) sys.path = list(set(sys.path))
[ "grant.bartel@gmail.com" ]
grant.bartel@gmail.com
d4fa5bcb847d01f156a7da6ca7aebead0bed0ebb
10079a6cf80ce917159a87f09f4dcc939bfe5436
/oldboy/面向对象/super解析.py
ce4ce33545a6ea7806bdcd243d077587213642da
[]
no_license
w1033834071/qz2
27b89a48a8eb4e86e30f252a92ead28dd46fcd81
4d8664bc714bbd134d26cf31d16b942c925cedf3
refs/heads/master
2021-01-01T06:13:00.267460
2017-10-02T12:01:26
2017-10-02T12:01:26
97,381,292
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
#!/usr/bin/env python # -*- coding:utf-8 -*- class Animal: def __init__(self): print("A 构造方法 ") self.A = "动物" class Cat(Animal): def __init__(self): print("B 构造方法 ") self.B = "猫" super(Cat,self).__init__() # self 在本例中是c对象 super的执行顺序和继承相同 c = Cat() print(c.__dict__)...
[ "2232339224@qq.com" ]
2232339224@qq.com
9574cb4698ffe8030a2193baae1e5054ffa6bc81
33a89d3df007e896e74e743bd0bd32b515f794b9
/src/storage/common/entity/EntitySerializer.py
e160754fbf66d80e54f1b978c89509979282329c
[]
no_license
andreyzaytsev21/MasterDAPv2
75cb8712262290a418a6aa73a9cd7ddcd305ea91
d34ae3e0ecb2c06cbf707f3c948c0c5307390845
refs/heads/main
2023-06-22T06:24:59.465823
2021-07-11T20:09:24
2021-07-11T20:09:24
385,041,447
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
from typing import Dict from src.property.Property import Property class EntitySerializer: @staticmethod def serialize(props: Dict[str, Property]) -> Dict[str, str]: return {props[i].get_id(): props[i].get_val() for i in props.keys()}
[ "62799231+andreyzaytsev21@users.noreply.github.com" ]
62799231+andreyzaytsev21@users.noreply.github.com
406ba475df4e4247276045d3a8377eed80d0612b
116763c900b41ff793c6621edeb196ccfafda403
/scripts/analyses/archive/penalized_regression/penal_regresFC_Age_TMDif_Gaus.py
6a7081400f43036e2ac33d7f730a639cb93d57fe
[]
no_license
weiwei-wch/multiscale
b29d1ef24013c4756c019b6f5d884bfe0c7708ec
9f7cbc021a47c4acb87afa85b3654093b7ef984a
refs/heads/master
2023-04-26T04:38:33.998724
2021-05-17T21:25:56
2021-05-17T21:25:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,317
py
## imports ## import scipy import scipy.io as sio from os.path import dirname, join as pjoin import numpy as np import sklearn from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression from sklearn.linear_model import RidgeCV from sklearn.linear_model import Ridge from skle...
[ "pinesa@pennmedicine.upenn.edu" ]
pinesa@pennmedicine.upenn.edu
4d4ecc1e1bddc6ac36317f8f1c3f8dc07d77ef43
8e79de4b73998dd0ee1dae4881784a2b12410615
/Bite_83/test_timezone.py
48b2574919d1328895aa94b5cdc1f6966ae66c3b
[ "MIT" ]
permissive
alehpineda/bitesofpy
e6eb7c9413cf407a12643efece01bef5457e5dcb
bfd319a606cd0b7b9bfb85a3e8942872a2d43c48
refs/heads/master
2021-07-15T19:59:35.061049
2020-09-25T17:49:32
2020-09-25T17:49:32
209,878,791
0
0
MIT
2020-09-06T00:11:45
2019-09-20T20:49:51
Python
UTF-8
Python
false
false
1,060
py
from datetime import datetime from timezone import what_time_lives_pybites def test_what_time_lives_pybites_spanish_summertime(): # AUS is 8 hours ahead of ES naive_utc_dt = datetime(2018, 4, 27, 22, 55, 0) aus_dt, es_dt = what_time_lives_pybites(naive_utc_dt) assert aus_dt.year == 2018 assert a...
[ "ale.hpineda@gmail.com" ]
ale.hpineda@gmail.com
16a366d7fe0e7f788721b4bb5f0dad1de7ce646f
77929020bd02471b46e5627de621e13870876216
/weather/urls.py
8dbbf64b32fbd85072cbfb07c8e9ca9d83869b31
[]
no_license
Hiwa2719/weather
0c8b593ce8935b938e72616d41867bd75fd0acab
b16b9c7cf90dda43d8d6e34c8f7d8200b7454c37
refs/heads/main
2023-04-14T23:01:16.794996
2021-04-23T21:36:30
2021-04-23T21:36:30
348,776,625
0
0
null
2021-04-23T18:23:10
2021-03-17T16:23:58
SCSS
UTF-8
Python
false
false
366
py
from django.urls import path from . import views app_name = 'weather' urlpatterns = [ path('', views.IndexView.as_view(), name='index'), path('new-list/', views.NewList.as_view(), name='new_list'), path('remove-city/', views.RemoveCity.as_view(), name='remove_city'), path('model-detail/', views.Get...
[ "hiahmadyan@gmail.com" ]
hiahmadyan@gmail.com
924ad60f641a250c2dc45b133d9e54b951e6657d
3d42221bf6adffb35000a0cf2dd115de6ffa5796
/clades_adapted - Kopie/Delphineae/input/01_make-revscript.py
e14988122ea32c4fa154d548b7aface5ea9816f7
[ "MIT" ]
permissive
envima/AlpineFloraLJ
0e021f47d0457fc018b0dad0e52b6735e2d45a90
d3d7bbd188fbe1792382756237776cf317eabf71
refs/heads/main
2023-04-07T13:34:06.290176
2021-04-12T10:12:53
2021-04-12T10:12:53
304,222,269
0
0
null
null
null
null
UTF-8
Python
false
false
4,623
py
import operator from functools import reduce import model pd = model.pd areas = model.areas ranges = model.ranges biomes = model.biomes states = model.states nstates = model.nstates # read the data csv files - the first column (taxa) is identical in each, # so we can concatenate them csvdata = pd.concat([pd.read_csv(...
[ "nauss@staff.uni-marburg.de" ]
nauss@staff.uni-marburg.de
f2e1196243b5d394c734be8e294572d083fbdc33
a798b3033f7f0fd42c02f1b90b718511a36024e4
/views.py
6347e541d596a6d56d4c6c00af9d4b832e1932e5
[]
no_license
kpagariya/DjangoJan21
11fd50c17757926c96255a0ecc504ba9bc82124d
0fd17d2845350433de181bee21e829b8c9b37ab3
refs/heads/main
2023-02-25T02:31:51.694615
2021-01-28T14:19:28
2021-01-28T14:19:28
329,339,079
0
0
null
null
null
null
UTF-8
Python
false
false
2,737
py
from django.shortcuts import render,redirect from django.http import HttpResponse from django.contrib import messages,auth from django.contrib.auth.models import User def homemenu(request): #return HttpResponse('<h1>Hello, I am learning Django!</h1>') return render(request,'menu/home.html') def loginmenu(r...
[ "noreply@github.com" ]
noreply@github.com
c245e365442238e1f481ff741ef8a55ec08242bd
af5184f69ef76b40a27a220cd6b9085978e6ade4
/handlers/ui_ibon.py
3824f5dd68ef1c2f1d6f421d3dfb44a822863395
[]
no_license
igoiko-ii40project/web_remoht
f0a71a2954083367956edcad3e58c08420ab19f2
4e63c897d357e71686d449796b224c33ea5dec54
refs/heads/master
2020-09-15T23:16:06.365373
2016-09-13T08:09:12
2016-09-13T08:09:12
67,804,652
0
0
null
null
null
null
UTF-8
Python
false
false
6,735
py
__author__ = '105031691' import os import logging import webapp2 import jinja2 from google.appengine.api import xmpp, taskqueue, users from google.appengine.ext import ndb import datetime import json import model from . import BaseHandler COUNTER_PAGE_HTML = """\ <!DOCTYPE html> <html> <body> <form action="#" method=...
[ "ibon.ii40project@gmail.com" ]
ibon.ii40project@gmail.com
ddb174f793b28d3d67bd47fc709bbd1e25118f3d
a671a684173ba8128f43d075d6b070c04689a0f7
/myS2SVAE/Vocabulary.py
a4c5c515eec4cff42bb9365bff21e71cf52983f6
[]
no_license
yeyeye529/my-vae
160a983a8f6249fa989b13b3ed6ae9f493a11051
8809ebd603f6dc8dc26759fa2cb457313ac5ab10
refs/heads/master
2020-03-29T22:05:01.785176
2018-10-23T07:41:33
2018-10-23T07:41:33
150,402,204
0
0
null
null
null
null
UTF-8
Python
false
false
4,362
py
from collections import defaultdict class vocabulary(object): def __init__(self, max_vocab_size = 1000000): self._vocab = None self._word2idx = None self.bos_id = 0 self.eos_id = 1 self.unk_id = 2 self.pad_id = 3 self._max_vocab_size = max_vocab_siz...
[ "shiwenxian@bytedance.com" ]
shiwenxian@bytedance.com
74839efab519d289ba6649d52bf30afcb25301e6
ab22bd8e87813af9b02ddef3f6403b114fec7921
/drawing.py
b17be49192d3b0c3a6d3d17d687601fb5f77df98
[ "MIT" ]
permissive
AmirRaad/Chess-Piece-Presence
791f56a81502fc3de39191f499685d3718c8134c
9d6a3981179e75bb9aade3c8db156d7fe721d4e7
refs/heads/master
2023-01-11T04:02:44.784036
2023-01-07T14:49:19
2023-01-07T14:49:19
230,105,795
4
0
null
null
null
null
UTF-8
Python
false
false
1,868
py
import cv2 as cv import numpy def drawredlines(result): hsv_result = cv.cvtColor(result, cv.COLOR_BGR2HSV) h, s, v = cv.split(hsv_result) chess_board = numpy.zeros((8, 8)) squaresizex = result.shape[0] / 8 squaresizex = int(round(squaresizex)) squaresizey = result.shape[1] / 8 squaresizey ...
[ "59220669+AmirRaad@users.noreply.github.com" ]
59220669+AmirRaad@users.noreply.github.com
700e79e4d279bb312926b55257ce6be156b4ee69
6bc8a3ea831b544514160f61131c5d2b6c8b4234
/side-experiments/two_worker_classes/gen_class_condition_test.py
08737f317c88e5a2d5e90aaf043d36dcb2771795
[]
no_license
populace-org/optimal-filtering-rating
31d243c06d003584d566e6e9c35b78447b4ebe63
84d9d57a746e0a6df7f7626d68c1136d593bf5f8
refs/heads/master
2020-12-24T07:26:46.844180
2016-07-02T19:35:55
2016-07-02T19:35:55
62,466,846
0
1
null
null
null
null
UTF-8
Python
false
false
780
py
import math import matplotlib.pyplot as plt def LHS(P, m, k): return (math.pow(1.0 - P, k) / math.pow(P, m-k-1)) def RHS(p, m, k): return (math.pow(1.0 - p, k+1) / math.pow(p, m-k)) m = 10 P_range = [float(i) / 100.0 for i in xrange(80, 100)] p_range = [float(i) / 100.0 for i in xrange(60, 80)] for k in r...
[ "akash@troo.ly" ]
akash@troo.ly
8b4a671e8f15ec14fb5e1bf7b5b95915b9486d2a
c10d080c40161633a922b1274b92d3048555ea5b
/src/interaction.py
5d3b9721a9476bcf679456078f04c14a32d3b311
[ "MIT" ]
permissive
leolani/leolani-datarepresentation
3c784bb8401c3b67efe2b80ac4a34498f0f9e827
bc2975310fe623f7548db54bf5d691c7bbcf0c1e
refs/heads/main
2023-01-06T07:52:45.733312
2020-10-23T09:10:29
2020-10-23T09:10:29
306,548,492
0
0
null
null
null
null
UTF-8
Python
false
false
8,604
py
import os import re import platform import requests import pycountry import subprocess from time import time from datetime import datetime from random import getrandbits from typing import List, Iterable, Dict, Tuple, Optional from vision import Object, Face, Observations from language import Chat class Context(obje...
[ "s.baezsantamaria@vu.nl" ]
s.baezsantamaria@vu.nl
acb8cafa74645f1560e286301b9c4b31274498d0
b72e42f7f15ea8d359512cc0fe524f5407f358e5
/CS50_web_dev/src/src8/airline1/airline/urls.py
f9e85ea4cf69f88b0dfd879f4bc3a158aa887856
[ "MIT" ]
permissive
ChuaCheowHuan/web_app_DPTH
ec9f96d66c69ebd7e04df8d4b92578a3aaa7e392
dd901e6359fe76f15b69701c53f76666c3219173
refs/heads/master
2021-06-18T11:31:10.959634
2020-07-23T04:04:52
2020-07-23T04:04:52
205,556,446
0
0
MIT
2021-06-10T21:55:14
2019-08-31T14:42:35
HTML
UTF-8
Python
false
false
797
py
"""airline URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "17569306+ChuaCheowHuan@users.noreply.github.com" ]
17569306+ChuaCheowHuan@users.noreply.github.com
f819a33c29a02bdfd3bd03dc17a1abc83f6968ad
67c8fbadf97cad08d5dc03100863a7e4cfb67bd4
/api/serializers.py
5907ce214f03dba88de81b96f3d340c91d23dac6
[]
no_license
SavenkovAlx/public-chat-API
4fb3c388992f57991e52da936086a4323b162f6f
3c9b33f447f40ee43e6b833638c83b603789585f
refs/heads/main
2023-03-31T05:27:56.899064
2021-03-28T13:53:24
2021-03-28T13:53:24
352,340,422
0
0
null
2021-03-28T13:53:24
2021-03-28T13:44:20
Python
UTF-8
Python
false
false
797
py
import re from rest_framework import serializers from .models import Message class MessageSerializer(serializers.ModelSerializer): class Meta: model = Message fields = ['id', 'email', 'text', 'created_date', 'update_date'] def validate_email(self, email): norm_email = email.lower() ...
[ "savenkovalx@gmail.com" ]
savenkovalx@gmail.com
0b239c2c51a089c34e86074facdbcc6c217e14ef
f77d436de9db3ec3d0b9cba8baf90895409f5b89
/Term 1/CarND-Alexnet-Feature-Extraction/train_feature_extraction.py
8d60314ccb033bd1fe639ef8ef011948d6b08a7c
[]
no_license
markusmeyerhofer/SelfDrivingCarND
ecea9f13b018db0df8a718a6c0a8f52818ba04ea
9421fc46b2a05fb9ca5c7aebd18ca4101d019d4c
refs/heads/master
2020-07-04T06:10:21.617199
2019-08-13T16:17:43
2019-08-13T16:17:43
202,181,551
0
0
null
null
null
null
UTF-8
Python
false
false
2,403
py
import pickle import time import tensorflow as tf from sklearn.model_selection import train_test_split from sklearn.utils import shuffle from alexnet import AlexNet nb_classes = 43 epochs = 10 batch_size = 128 with open('./train.p', 'rb') as f: data = pickle.load(f) X_train, X_val, y_train, y_val = train_test_s...
[ "markus.meyerhofer@me.com" ]
markus.meyerhofer@me.com
fa05da510debee69a4af4485d50232ca7c5fa3c1
a42e38bc94858d2ea0b751b0717b076407bd75ef
/example/example/documents/models.py
d5cd8b0f3c739532f0e66ebd430b9e5cfcc842b3
[ "MIT" ]
permissive
wolfhechel/django-azurite
90aca7274649e99e1f3595be422e75ce541644d9
48107d1979b480f72d6dad18b4dd2e60c3c19748
refs/heads/master
2021-01-22T04:10:09.436420
2017-05-17T11:05:43
2017-05-17T11:05:43
37,257,138
0
0
null
2015-06-11T11:28:29
2015-06-11T11:28:28
null
UTF-8
Python
false
false
217
py
from django.db import models class Document(models.Model): name = models.CharField(max_length=50) file_field = models.FileField(upload_to='files') def __unicode__(self): return u'%s' % self.name
[ "drewtemp@gmail.com" ]
drewtemp@gmail.com
adfbeffea9979a517b0969fbc17f9bae8accd85f
3a0da75df781481b054ab885a251361b4559aea2
/superlists/lists/tests/test_views.py
5dddcf23566e246c908c0e5de6b485b245fcef5f
[]
no_license
vickiev305/mhcjterm2016
03bc92bd1404e60b69a80b12cf7b4ee09ac3bc7f
6dfdb5098a9883d947f78e8522821882c395ffac
refs/heads/master
2021-01-10T02:10:27.405891
2016-01-15T16:50:46
2016-01-15T16:50:46
49,726,175
0
0
null
null
null
null
UTF-8
Python
false
false
8,127
py
from django.core.urlresolvers import resolve from django.utils.html import escape from django.template.loader import render_to_string from django.test import TestCase from lists.views import home_page from django.http import HttpRequest from lists.models import Item, List class HomePageTest(TestCase): def test_ro...
[ "victo22v@mtholyoke.edu" ]
victo22v@mtholyoke.edu
dbed2a85e85458a64ddba3eb266945ed0f13a0de
fd374fb704d03abec6c82c6c6a73fbd934e6ce5b
/polls/views.py
51d0ddafbd3ced46d4078e8ffbf2fba60899289e
[]
no_license
zl2838/hw15
7096272143c3ace83718fc91b10dc13d5d4fa820
34cf75e787d5619863b8855cca3ab94328322fc3
refs/heads/master
2020-09-11T08:41:18.163725
2019-11-19T03:44:34
2019-11-19T03:44:34
222,008,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404, render from django.urls import reverse from django.views import generic from .models import Choice, Question class IndexView(generic.ListView): template_name = 'polls/index.html' context_object_name = 'latest_questio...
[ "zl2838@columbia.edu" ]
zl2838@columbia.edu
697626c30cf184c516e232318ae7b05ae01d178c
bdd3bb5ac2abce8bc16fd7a28826b4a2db17079a
/obs_mapper/obs_plot.py
dc4f9f4b82186e356d0f15303658178b2e6d7747
[]
no_license
MIT-STARLab/circinus_tools
9537269c38dc89de51aba0ac250f910ff621e9ea
e18d40766acb26f7074aff317ea96ea54301a788
refs/heads/master
2023-07-21T13:24:52.611318
2022-01-22T15:05:44
2022-01-22T15:05:44
249,547,862
0
0
null
null
null
null
UTF-8
Python
false
false
4,585
py
# Tools for plotting observation targets # # @author Kit Kennedy import json from collections import namedtuple import matplotlib.pyplot as plt from matplotlib.pyplot import savefig from matplotlib.patches import Rectangle # need to "pip install pillow" for this import to work from scipy.misc import imread GeoPoin...
[ "akennedy@mit.edu" ]
akennedy@mit.edu
2ca6dd6d9e283d56848cb08dedccbc18699489cf
f40c65a649206261d7255eb3132ea67963f13a17
/src/wait.py
d830074cea069e62e268c87b9f7ee5afbff4750b
[ "MIT" ]
permissive
fcurella/gh-status-check
2ec47ca212bfe471cda97d1ae0c1ee41f16420e3
1fdb5f7be1dcdb9f2338839ad55ad7c9188b159b
refs/heads/main
2022-12-22T18:35:00.543508
2020-10-01T17:46:35
2020-10-01T17:46:35
297,731,570
0
0
null
null
null
null
UTF-8
Python
false
false
2,852
py
import asyncio import logging import os import sys import aiohttp from asgiref.sync import sync_to_async from github import Github REPOSITORY = os.environ["GITHUB_REPOSITORY"] SHA = os.environ["GITHUB_SHA"] EVENT = os.environ["GITHUB_EVENT_NAME"] EVENT_PATH = os.environ["GITHUB_EVENT_PATH"] TOKEN = os.environ["INPUT...
[ "flavio.curella@gmail.com" ]
flavio.curella@gmail.com
68a3df6c0377dc1399e5b7410bc5a493031893e5
486a74b3f129f696a6199834b01cc286515a170f
/groups/views.py
66e3e93a6c2c9f97ff1c5c960a5ed23868f3a0f1
[]
no_license
pkattimani51/simple_social_app
30e245ef88800dee9d1c8c3fa69d36066a4ed795
abac095dda1f2d91563f9f76b500c21ac80890e5
refs/heads/master
2021-05-18T01:33:30.143416
2020-03-29T15:46:26
2020-03-29T15:46:26
251,048,749
0
0
null
2020-03-29T18:28:41
2020-03-29T14:14:08
Python
UTF-8
Python
false
false
2,017
py
from django.shortcuts import render, get_object_or_404 from django.views import generic from django.contrib.auth.mixins import LoginRequiredMixin, PermissionRequiredMixin from .models import Group, GroupMember from django.urls import reverse from django.contrib import messages from django.db import IntegrityError cla...
[ "prkattim@partnet.cisco.com" ]
prkattim@partnet.cisco.com
d7804ea8b7f2ecc0bd38927b3992aa58daadc478
af9b7a00b55aac5eaed58592cf8a9d69e659a076
/learning_log/learning_logs/forms.py
da3fa007a63b1f3e2886d67e9cb7c2ee946bc820
[]
no_license
dujiaojingyu/Django-Practice
bc246d2283a8f994567756b4e391ea167359620b
cab5db123eb97bd424a84fae24629cc0e1be4652
refs/heads/master
2020-03-25T17:33:25.597885
2018-08-08T08:38:09
2018-08-08T08:38:09
143,983,344
2
0
null
null
null
null
UTF-8
Python
false
false
204
py
__author__ = "Narwhale" from django import forms from .models import Topic class TopicForm(forms.ModelForm): class Meta: model = Topic fields= ['text'] labels = {'text':''}
[ "34296128+dujiaojingyu@users.noreply.github.com" ]
34296128+dujiaojingyu@users.noreply.github.com
5d396f8a619172ddd3f61c1c285aedc696426ca7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03001/s613586641.py
5dadc4795c529eb1e7ffe05c54da04dc2de9168e
[]
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
162
py
import sys sys.setrecursionlimit(10**6) w, h, x, y = map(int, input().split()) ans1 = w*h/2 ans2 = 0 if x == w/2 and y == h/2: ans2 = 1 print(ans1, ans2)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
79a91706bf96b9abcd40c27b0c9b989e0f98d43c
a226186de42abb44e426e54b2dd03ccfc882fd75
/courses/settings.py
d32737c62dc4fd969901f042bbe18662f1dca84b
[]
no_license
KristoD/Courses-Python2-Django
87ad0b54aae9007407929033545a9d8fe0b3e380
371bafcc1239e21c4c839b8158b3339b43e16937
refs/heads/master
2020-03-26T00:40:56.025046
2018-08-10T21:03:44
2018-08-10T21:03:44
144,332,015
0
0
null
null
null
null
UTF-8
Python
false
false
3,116
py
""" Django settings for courses project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "chrisdedeian@gmail.com" ]
chrisdedeian@gmail.com
913cd021c12d554ac4af6619ce5decfb7ce970c3
ee89a6682a01f67b753ab9a7d4ddf588e90c5a59
/src/table_titles.py
0714f430783075fae91b5bf9d523c4bd8b430ba6
[]
no_license
wbkd/bpa-wochenberichte-htw
7ba39429e979580a4b4e2ffee584957fa7e6de25
43608de6986c0b846a3d359d0282a4ae1ef5ac8d
refs/heads/master
2023-06-01T22:31:52.802453
2021-06-26T12:26:13
2021-06-26T12:26:13
379,924,894
13
0
null
null
null
null
UTF-8
Python
false
false
6,350
py
from operator import itemgetter """Script to extract all table headers of one pdf, using font styles and sizes to identify headers. Most parts of the code gratefully taken from https://ichi.pro/de/extrahieren-von-uberschriften-und-absatzen-aus-pdf -mit-pymupdf-113724360868967 Headers that don't belong to tables ca...
[ "pustet@posteo.de" ]
pustet@posteo.de
9236eff7dea85e348b76f3d349db72fe24ee20c1
52bbc07d59b003342a0920da47b20cb4a52385c4
/node.py
515f5e395046f4bbf7bf1799140358081ad58036
[]
no_license
juliemyhu/HB-DS
281aeefdf57a0ffe6ec680cacbf49716a88403a4
a13846647eb6c266ccf7bca2d71cf1da59b36e05
refs/heads/master
2023-03-23T08:54:52.852559
2021-03-08T23:59:59
2021-03-08T23:59:59
292,702,223
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
class Node(): def __init__(self,data): self.data = data self.next = None class DLinkedNode(): def __init__(self,data) self.data = data self.next = None self.prev = None
[ "jhu21495@gmail.com" ]
jhu21495@gmail.com
410dcad216373dd96905200a44c6f6e4a4a9826e
e1da5e8320113ce0affee1daa9f6ad94c26e9441
/lab3/3.2.py
2166b23b2fcfe74b51be1609214fe728243e4f3a
[]
no_license
cheretka/Fundamentals-of-Artificial-Intelligence
5f5efc119609ca4b131fbb217eefe1ce84aa7e16
d2949d9ab76e33651b24a696b2543101d540a9ce
refs/heads/master
2023-05-14T03:32:11.485401
2021-05-25T16:58:58
2021-05-25T17:13:11
370,770,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
import numpy as np def relu(x): return (x > 0) * x def relu2deriv(output): return output>0 input = np.array([[8.5, 0.65, 1.2], [9.5, 0.8, 1.3], [9.9, 0.8, 0.5], [9.0, 0.9, 1.0]]) layer_1_weights = np.array([[0.1, 0.2, -0.1], [-...
[ "ocheretianfws@gmail.com" ]
ocheretianfws@gmail.com
5d6068c848077e8a105dbf9d50960d966a1c1194
9bc039ec7538305c8b26066541d0430fc8402fec
/Debugger.py
69b9c6efc5650b5684c984d40eccbb41c5ad7a5f
[ "Apache-2.0" ]
permissive
SamDu1998/Python-Learning
44d7870c478c48d171f1fa9df192e033691b40af
68920f2ea598ee5bb5ab4c64ec1262294bb79b05
refs/heads/master
2021-04-03T04:55:02.514401
2018-03-24T06:51:45
2018-03-24T06:51:45
124,553,966
0
0
Apache-2.0
2018-03-24T06:50:06
2018-03-09T14:54:32
Python
UTF-8
Python
false
false
1,155
py
try: print('try...') r = 10 / 0 print('result:', r) except ZeroDivisionError as e: print('except:', e) finally: print('finally...') print('END') # 用try来运行这段代码 # 如果执行出错,则后续代码不会继续执行 # 而是直接跳转至错误处理代码,即except语句块 # 执行完except后,如果有finally语句块,则执行finally语句块 try: print('try...') r = 10 / 4 print(...
[ "djc1998@163.com" ]
djc1998@163.com
c0d6a280a0a7680cf42afeeccaecfcfb1cbf28a4
cf4f9389e7eb0a7753f2139b79274e96db744f56
/go_and_do_people_info/serializers.py
b99b8eb7b4e36dc3ab74d17eb72c31963a9b969d
[ "MIT" ]
permissive
capitalChurch/GoDoBackend
f7dc8a126fce99da6df87df8203408f3fe810139
ded1614cceaeb202fb922dac1c04c40c45f6d9e0
refs/heads/master
2020-08-10T09:19:38.119653
2019-10-16T03:44:16
2019-10-16T03:44:16
214,314,845
1
0
null
null
null
null
UTF-8
Python
false
false
5,197
py
from django.contrib.auth import get_user_model from django.contrib.auth.models import Group, User from go_and_do_people_info.models import (Country, Event, Ministry, News, Prayer, Ticket, UserProfile, Volunteer) from phonenumber_field ...
[ "philipeborba@gmail.com" ]
philipeborba@gmail.com
e4448f39b42e44e64db73404f01ce8f3786ff926
a9696abf5bdf2d5e5bb8594905bb698b210f2b0e
/setup.py
1b3c38465f54aec981b665bf499cfc5fa912f980
[]
no_license
niconoe/django-nuages-tag
553b278fcea5220eab2276ee08125e59b415d28e
8d264972583cbd2d0ff5924050ff92d2ee27dd20
refs/heads/master
2020-05-20T07:20:56.840260
2013-02-13T20:18:30
2013-02-13T20:18:30
5,314,533
2
0
null
null
null
null
UTF-8
Python
false
false
558
py
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name='django-nuages-tag', version='0.1.3', author=u'Nicolas Noé', author_email='nicolas@niconoe.eu', packages=find_packages(), url='https://github.com/niconoe/django-nuages-tag/', license='B...
[ "nicolas@niconoe.org" ]
nicolas@niconoe.org
8af1f2b9b43cf26c7d092f16479f3b479eed5d23
90f52d0348aa0f82dc1f9013faeb7041c8f04cf8
/wxPython3.0 Docs and Demos/wxPython/samples/wxPIA_book/Chapter-10/popupmenu.py
5226849ca7224afab2ef1c1e69a3aae5158a74d5
[]
no_license
resource-jason-org/python-wxPythonTool
93a25ad93c768ca8b69ba783543cddf7deaf396b
fab6ec3155e6c1ae08ea30a23310006a32d08c36
refs/heads/master
2021-06-15T10:58:35.924543
2017-04-14T03:39:27
2017-04-14T03:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
import wx class MyFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, -1, "Popup Menu Example") self.panel = p = wx.Panel(self) menu = wx.Menu() exit = menu.Append(-1, "Exit") self.Bind(wx.EVT_MENU, self.OnExit, exit) ...
[ "869999860@qq.com" ]
869999860@qq.com
76dfebb655f45b53d778e40b6ae290fc76785090
09f0505f3ac1dccaf301c1e363423f38768cc3cc
/r_DailyProgrammer/Intermediate/C239/__init__.py
cf2036a70032f331ee1707580700ecc8e93ea54f
[]
no_license
Awesome-Austin/PythonPractice
02212292b92814016d062f0fec1c990ebde21fe7
9a717f91d41122be6393f9fcd1a648c5e62314b3
refs/heads/master
2023-06-21T11:43:59.366064
2021-07-29T23:33:00
2021-07-29T23:33:00
270,854,302
0
0
null
2020-08-11T20:47:10
2020-06-08T23:24:09
Python
UTF-8
Python
false
false
71
py
#! python3 from r_DailyProgrammer.Intermediate.C239.main import main
[ "{ID}+{username}@users.noreply.github.com" ]
{ID}+{username}@users.noreply.github.com
054d4ae02061323bc123c1d0faad5aec890d1a87
b9503e86921041609763c65f148c08ecff69cc4b
/dojo_ninjas_app/models.py
9da7e8535bda9583ef770e1a7765cb4f707b8e21
[]
no_license
cristian-nav/Dojo-y-ninjas
c1371e7b4c74b4ee127f3734e68f30fdcc80c623
d06016bf2e6f5adc7d20806f0031c04a978c769c
refs/heads/main
2023-02-25T06:11:44.707956
2021-02-11T18:44:58
2021-02-11T18:44:58
338,104,055
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
from django.db import models class Dojo(models.Model): name = models.CharField(max_length=255) city = models.CharField(max_length=255) state = models.CharField(max_length=2) desc = models.CharField(("dojo antiguo"), max_length=50) class Ninja(models.Model): dojo = models.ForeignKey(Dojo, related_n...
[ "cris.project03@gmail.com" ]
cris.project03@gmail.com
0733491eee55234423a66abc2ff9356c899a6a40
f0439b825a45259b4c47777513acf665281f4602
/posts/migrations/0001_initial.py
46c4b380a3bfbe587d358f7aff0921d3b8f86f38
[ "MIT" ]
permissive
glweems/django-dummy-blog
508e1262d1457739d0065bc7d8169cd795a84410
a8b7c2be6a9f28e9c05cf96294983dbad7119766
refs/heads/master
2023-05-08T21:03:55.691842
2019-08-14T21:32:18
2019-08-14T21:32:18
202,423,677
1
0
null
2023-04-21T20:35:57
2019-08-14T20:47:19
Python
UTF-8
Python
false
false
730
py
# Generated by Django 2.2.4 on 2019-08-14 18:46 import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Posts', fields=[ ('id', mod...
[ "gwgraphicdesign@gmail.com" ]
gwgraphicdesign@gmail.com
61bd905871c3846fa56e4ddc6b4a859a88c8a0fc
f9081d54071a499736ccc00fe11c58ab2ebe9f89
/subagents.py
ede9ffee62f605615ec02742792d8a1a9efd0461
[]
no_license
moridinamael/subagents
6970f332840620a49cf3b85ce5f1ec63c2fabd61
57c654a092ba1e5a72212406b6f4a384f3d8b02c
refs/heads/master
2020-05-21T12:49:26.518696
2019-07-09T03:49:30
2019-07-09T03:49:30
186,050,878
5
1
null
2019-07-09T03:49:31
2019-05-10T20:32:42
Python
UTF-8
Python
false
false
22,894
py
# -*- coding: utf-8 -*- """ Created on Fri May 10 14:09:30 2019 @author: Matt """ # -*- coding: utf-8 -*- """ Created on Thu Apr 04 09:26:27 2019 @author: mfreeman """ import random import math import matplotlib.pyplot as plt import copy class position(): def __init__(self,x,y): self._x = x sel...
[ "tamuic@gmail.com" ]
tamuic@gmail.com
85b2dfa0de69e2abae6ac8a76301db1e6d1b3290
8d97668e0666f0b7e7c82b52bae13ece76435612
/examples/python/bufr_ecc-448.py
a864aeb6e297b4686e900660b7ed80a888dd6d04
[ "Apache-2.0" ]
permissive
jdkloe/eccodes
83e5e6df5100d53a4274c706f5cb6fb07ca23743
66700b02d8a74722deafa085dab76e99e9b44fca
refs/heads/master
2021-12-15T01:35:24.387814
2021-12-01T15:55:14
2021-12-01T15:55:14
243,985,448
0
0
NOASSERTION
2020-02-29T14:42:08
2020-02-29T14:42:07
null
UTF-8
Python
false
false
1,838
py
# (C) Copyright 2005- ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its status as an intergovernme...
[ "masn@ecmwf.int" ]
masn@ecmwf.int
e42b09c7276cceed3af5975712adab3f66799982
6893b439bdc5243058fecf5769bd587fd9f56ec9
/anchorhub/validation/validate_overwrite.py
4140b4dee9eb3fb3229ea9d94af2b09806dec4fb
[ "Apache-2.0" ]
permissive
samjabrahams/anchorhub
15f73a5bf3425c2558647d5a5c6eac95ef93c0ef
5ade359b08297d4003a5f477389c01de9e634b54
refs/heads/master
2021-01-10T04:02:42.770945
2016-03-04T19:45:52
2016-11-18T19:17:50
50,009,409
9
3
null
null
null
null
UTF-8
Python
false
false
2,447
py
""" Functions for validating the overwrite argument in combination with other arguments """ import os.path as path from anchorhub.exceptions.validationexception import ValidationException from anchorhub.util.hasattrs import hasattrs def validate(opts): """ Client facing overwrite validation. Checks to see i...
[ "sjabraha@gmail.com" ]
sjabraha@gmail.com
e277cd2671d5de63fd0453d59feb4fde97ffbdaf
ac4b9385b7ad2063ea51237fbd8d1b74baffd016
/.history/google/s5_getparser_20210216045646.py
c901cc9e70acfeeb7542185d4f3f24d9c669f62e
[]
no_license
preethanpa/ssoemprep
76297ef21b1d4893f1ac2f307f60ec72fc3e7c6f
ce37127845253c768d01aeae85e5d0d1ade64516
refs/heads/main
2023-03-09T00:15:55.130818
2021-02-20T06:54:58
2021-02-20T06:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,991
py
import shutil from fonduer.parser.preprocessors import html_doc_preprocessor from sqlalchemy import exc import pdftotree import re from sen_parser_usable import * from config import config import json import os import posixpath import http.server import urllib.request, urllib.parse, urllib.error import cgi import sh...
[ "{abhi@third-ray.com}" ]
{abhi@third-ray.com}
2aedeb2b23073928b3f8b67e3cc1d7b1e29ec108
b237ba12ed0b825490c5616eb4726a22792f34bd
/package/scripts/turtlesim_go_to_2.py
056519625430a6d429a70c000a18973ce3d956ee
[]
no_license
JoelsonMiller/trabalhos
76b45279bd02abc86337c0015dd87c90ae4d8cd1
d30e4664576c05382c9b779e38884d0cc22e05c5
refs/heads/master
2021-07-12T19:26:27.099620
2020-08-05T13:19:53
2020-08-05T13:19:53
191,399,936
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
#!/usr/bin/env python import rospy from turtlesim.msg import Pose from geometry_msgs.msg import Twist import math pub = rospy.Publisher("/turtle1/cmd_vel", Twist, queue_size=10) goal_x = 3.0 def callback(data): #print("A pose em x = " + str(data.x) + " y = " + str(data.y) + " theta = " + str(data.theta)) twist = T...
[ "noreply@github.com" ]
noreply@github.com
e4cf4ab1bde5d12816c7568855788438a2c3bde5
b7620d0f1a90390224c8ab71774b9c906ab3e8e9
/aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/SetAutoScaleConfigRequest.py
3e59df6b987590270e37c30aed6f6b4716a2eea1
[ "Apache-2.0" ]
permissive
YaoYinYing/aliyun-openapi-python-sdk
e9c62940baee1a35b9ec4a9fbd1e4eb0aaf93b2f
e9a93cc94bd8290d1b1a391a9cb0fad2e6c64627
refs/heads/master
2022-10-17T16:39:04.515562
2022-10-10T15:18:34
2022-10-10T15:18:34
117,057,304
0
0
null
2018-01-11T06:03:02
2018-01-11T06:03:01
null
UTF-8
Python
false
false
10,448
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
f9b1ac42f013c89dbd7aaf9bcb5ea7ba62c3199e
9050fbce29cbc3924cbc24fd40a655173e9e748e
/demo_else/else用法.py
8bde27a0dd252f88587eaee6bdc426dd0e4f3528
[]
no_license
yuesest/pydemo
f2772f8183ce375e0c6d05270f795966706f9898
b53fa539c869035561c9b0dfdbd35c2546d5c263
refs/heads/master
2023-05-26T10:58:30.020883
2020-06-15T10:59:53
2020-06-15T10:59:53
202,110,544
0
0
null
2023-05-22T22:30:13
2019-08-13T09:28:10
Python
UTF-8
Python
false
false
832
py
# -*- coding: utf-8 -*- # @Time : 2019/11/24 0024 9:12 # @Author : Vincent # @Email : Vincent@163.com # @File : else用法.py # @Software: PyCharm def else1(num): for i in range(num): if(i>10): break print(i) else: print("over") # else1(5) # print("##"*20) # else1(20)...
[ "2015huangchunhao" ]
2015huangchunhao
b6f80b51afd99ba0773086834fe57db9c858d9da
03de30415febd0771ace187ae6c3c21ad75296d9
/migrations/versions/8e659f49dead_initial_migration.py
08aeba6d220c8aedc4e2d4bad44086395c50994a
[ "MIT" ]
permissive
mmbukane-shy6/PITCH
62f803dbbf6efa4574b7a465606fed8a61eb1011
e460f7a9d999282b90e1d39c71bd8a60ce6f242e
refs/heads/master
2022-07-03T13:50:46.844958
2020-05-08T14:06:23
2020-05-08T14:06:23
261,741,413
0
0
null
null
null
null
UTF-8
Python
false
false
3,047
py
"""Initial Migration Revision ID: 8e659f49dead Revises: Create Date: 2020-05-08 12:45:46.285478 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '8e659f49dead' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto ...
[ "sheiladidy9@gmail.com" ]
sheiladidy9@gmail.com
4d2951e12c2ba280e102b0d81a77f21d42208f05
22c76898be1752bd5756285d41aa925866ff537a
/src/py/solution_manager.py
6d3102ee57694bdefeb8d9511d08fae5726bcdb7
[]
no_license
willthbill/ExtensionCC
8be2371876e8e90b82e7989074c0ab5db1c4c109
129ef58d12242172ddb6ded2dac3dd561e8363ed
refs/heads/main
2023-07-19T09:34:24.983091
2023-07-16T20:50:00
2023-07-16T20:50:00
613,107,140
1
0
null
null
null
null
UTF-8
Python
false
false
5,235
py
from math import inf import os, shutil, json from loguru import logger import cgshop2023_pyutils from py.polygon_set import PolygonSet import importlib class SolutionManager: def __init__(self, group="instances_v2"): self.group = group self.P = None def get_all_file_names(self): retur...
[ "williambillemeyling@gmail.com" ]
williambillemeyling@gmail.com
5cccbaa94265737b9c994909e64e4f7648eded0d
0b1128bc9348f8e231ba5344544e6651e666b428
/Project/ServiceLayer.py
6152b13d419b215b3803c865e3e31616958c128f
[]
no_license
Robot173/KURS_PDB
0668d5531e57320c6c7b76a86330ed5b1ceb17d8
92a66f148cf4fe7f04ab5bfd5044bbb483fe1e33
refs/heads/master
2020-05-16T10:24:24.458524
2019-05-29T11:47:33
2019-05-29T11:47:33
182,983,250
1
0
null
null
null
null
UTF-8
Python
false
false
19,835
py
from proxy.device_proxy import DeviceProxy as DevGW from proxy.user_proxy import UserProxy as UsGW from proxy.test_proxy import TestProxy as TestGW from proxy.report_proxy import ReportProxy as RepGW from proxy.rating_proxy import RatingProxy as RatGW from proxy.post_proxy import PostProxy as PostGW from constants impo...
[ "todosievnik@gmail.com" ]
todosievnik@gmail.com
55cadd97907633b2c24c61b2e9a54c14c2564999
bcbddf91c1a59438e5508f9d92cb213a39df3448
/imagegen/nodes/noise_node.py
d3561f86d50ba9e26840adb7fe51def634148d82
[]
no_license
nfactorial/imagegen
1323b9a1112a79c39a153df428345155f7feb048
7420f8cdcea12fddb92bb8dadfc8e0bb6bc0f165
refs/heads/master
2021-01-10T07:09:12.470665
2016-03-02T17:25:48
2016-03-02T17:25:48
52,427,109
8
0
null
null
null
null
UTF-8
Python
false
false
1,730
py
""" Copyright 2016 nfactorial 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 in writing, software dis...
[ "nfactorial@btopenworld.com" ]
nfactorial@btopenworld.com
e0278a3e2e7f4c9d8f654cc264072d3c87528f49
e42e963b6a8c7a77cad7969fe5ced1992116fe10
/accounts/tests.py
ad00664ae7d8ed24f35e118ccf5df012db4cccae
[]
no_license
adnanhaider/sms
7abf74f112caa3fa896519b7acce3cd9a308d0bd
3f3332c077375f7e75e90c4f77d2dc6cf5254071
refs/heads/master
2022-12-29T13:23:15.540834
2020-10-17T04:16:33
2020-10-17T04:16:33
255,548,259
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
from django.test import TestCase from .models import User class UserProfileTest(TestCase): def test_user_model_has_profile(self): user = User( email = "adnan@gmail.com", password="admin" ) user.save() self.assertTrue( hasattr(user, 'principal...
[ "adnanhaider530@gmail.com" ]
adnanhaider530@gmail.com
0709557c1f679fa1a41d7157bfe2c991f6adadfc
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/NTWS-AP-IF-MIB.py
d9da09616db8ef8ddc0d2db88e651ab9fd3c63d5
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
5,408
py
# # PySNMP MIB module NTWS-AP-IF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NTWS-AP-IF-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:16:00 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
dfe138a8b062dadc9bf0ccbf8f7a91c3026c7cc6
94db0ed850c3f9080a6beae1afcbf7eba1d50b5c
/3_task_2.py
6ab8b4527b67a8a6a4e932e224aba2ae86d1cf5a
[]
no_license
vikulovm5/Homeworks
212c97469906dc805253cfe182e74455b7338f74
0613b6a0b79c29774dfa2bfb245ef3fd8ab2dcd7
refs/heads/master
2023-06-19T09:46:09.590389
2021-07-19T20:21:42
2021-07-19T20:21:42
318,340,025
0
0
null
2021-07-19T20:21:43
2020-12-03T22:47:33
Python
UTF-8
Python
false
false
439
py
def data(name, last_name, year, city, mail, phone): return name, last_name, year, city, mail, phone a = input("Введите имя: ") b = input("Введите фамилию: ") c = input("Введите год рождения: ") d = input("Введите город проживания: ") e = input("Введите email: ") f = input("Введите номер телефона: ") print(f"{str...
[ "vikulov.1991@mail.ru" ]
vikulov.1991@mail.ru
a14b9d7ee3ae9527c62b6bac4b30185f407e2cfb
3f399b08c7f86604fc608d9cf065ada9459dcd9f
/blog_core/djangoapps/user_module/migrations/0001_initial.py
c157486a847968493f8e709fad04638c1f9dd93c
[]
no_license
mrxiaoxinyong/DBlog
0aad823588bca47a4b3133f3fbb14028e33aa5b3
2c4280515e2c3867c5349dd04a9deeef58092e92
refs/heads/master
2022-10-08T04:30:50.046112
2020-06-01T09:15:13
2020-06-01T09:15:13
268,473,875
10
4
null
null
null
null
UTF-8
Python
false
false
3,281
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2020-03-15 15:27 from __future__ import unicode_literals import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initi...
[ "xuzhongwen2@huawei.com" ]
xuzhongwen2@huawei.com
1077e3a359f70ea9f79c9681b0bc59bf455afbb9
616f5d438c7662d2fedc5b55ec616e702a57cf1a
/downtime.py
33c4fec10f960e751be99c4b6253e2a17ac818d0
[ "MIT" ]
permissive
mozilla-it/security-patching
d07015c77bc768c0ae67e224ef23783dc5f51801
23cbbf39c5b5ccc47c6a818f8137abaeb55d49f1
refs/heads/master
2021-07-03T16:42:12.875642
2020-08-04T19:41:46
2020-08-04T19:41:46
95,240,563
0
1
MIT
2020-08-04T19:41:48
2017-06-23T17:11:59
Python
UTF-8
Python
false
false
3,650
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- ''' downtimes.py ''' import os import re import sys import socket, ssl sys.dont_write_bytecode = True from argparse import ArgumentParser, RawDescriptionHelpFormatter from ConfigParser import SafeConfigParser class IRC(object): def __init__(self, network, port, nick...
[ "scott.a.idler@gmail.com" ]
scott.a.idler@gmail.com
42533e87831e34941babde24267e52e9219a54f1
6fa13067f1f5f50a48f7a535184c8abfb0334012
/old/fall2019/lecture8/sqlite_example2.py
e6d430e24ea7aacf5ae9ecffb2af1c1309060823
[]
no_license
mkzia/eas503
89193b889c39fc5dbc81217e1c6c3d2581b6929d
4d7b548cc7fa8e938842d390f3df710c23d5f8fb
refs/heads/master
2023-09-04T06:56:49.796298
2023-09-01T02:05:16
2023-09-01T02:05:16
205,002,120
70
123
null
null
null
null
UTF-8
Python
false
false
2,280
py
import os import sqlite3 from sqlite3 import Error def create_connection(db_file): conn = None try: conn = sqlite3.connect(db_file) conn.execute("PRAGMA foreign_keys = 1") except Error as e: print(e) return conn def create_table(conn, create_table_sql): try: c = ...
[ "mkhawarzia@gmail.com" ]
mkhawarzia@gmail.com
fbe0979bb9bfd1111ac0cd12f14a2aecde30e551
892266713e500efa5ac04e1b8de812200410c956
/devset.py
cd8b6e2d344c504aedbc001fde9be6ebc8fc85de
[ "BSD-2-Clause" ]
permissive
martinphellwig/django-g11n
972eb95128637ec0b21efabad6b40ba02c30356c
94eb9da7d7027061873cd44356fdf3378cdb3820
refs/heads/master
2020-08-29T12:24:04.687019
2016-10-10T15:54:32
2016-10-10T15:54:32
218,030,322
0
0
null
null
null
null
UTF-8
Python
false
false
2,315
py
#! /usr/bin/env python """ Developer Reset. """ import os APP = 'django_g11n' DIR = os.path.dirname(os.path.abspath(__file__)) def get_last_migration_file(): "Fetch the latest migration file." _ = os.path.join(DIR, APP, 'migrations') _ = [os.path.join(_, item) for item in os.listdir(_) if not item.starts...
[ "martin@localhost" ]
martin@localhost
e5b0b1f4b9f206b62340e849ea16c8f2270dc880
3fdf00da8c02d8498aa594b763d455ff11bc65e1
/generate.py
be9a80aea94240c6608bab6d6ba09c99d010c989
[]
no_license
prabormukherjee/BERT-keyphrase-extraction
e3e2c1db05660a4383f9953f2c81bb68f49607dc
c45115447d91179a99e4ce6e2f1c426841a3fdbe
refs/heads/master
2023-01-28T13:08:23.045704
2020-12-13T13:05:45
2020-12-13T13:05:45
315,028,801
0
0
null
null
null
null
UTF-8
Python
false
false
6,019
py
"""Generate Key Phrase of the model""" import argparse import random import logging import os import numpy as np import torch #from pytorch_pretrained_bert import BertForTokenClassification, BertConfig from transformers import BertForTokenClassification, BertConfig, BertTokenizer from evaluate import evaluate import...
[ "prabor1@gmail.com" ]
prabor1@gmail.com
7db90b76ad8b3755f314e61da0f7b4ddf29bd341
ce196aba0adde47ea2767eae1d7983a1ef548bb8
/lambda单行表达式_0.py
dd751c9cc43d2361811c60ac8ee87e8da1b77fb7
[]
no_license
xiang-daode/Python3_codes
5d2639ffd5d65065b98d029e79b8f3608a37cf0b
06c64f85ce2c299aef7f9311e9473e0203a05b09
refs/heads/main
2023-08-30T14:59:55.123128
2021-11-03T05:12:24
2021-11-03T05:12:24
333,632,892
0
2
null
null
null
null
GB18030
Python
false
false
500
py
#!/usr/bin/python # -*- coding: cp936 -*- b= [x for x in range(2,100) if not[y for y in range(2,int(x**0.5)) if not x%y]] print("100以内的全部质数是:",b) c= [y for y in range(2,36)] print('2--35全部输出',c) b= [x for x in range(2,24) if True] print('2--23全部输出',b) d= [x for x in range(2,24) if False] print('无返回: ',...
[ "noreply@github.com" ]
noreply@github.com
42c833655d0fc3460137731e23c8829b9f9b608f
c08cbc3589f2542ee2718ba900dec682e80cbd48
/authentication_practice/forms.py
e31e8fc91248f5f8137a1075d05042ba5db5d264
[]
no_license
pun1sh3r/flask_lab
4abf1f1d4d1ada4de556e87e70861c3f5902c677
0e2fb2c9ed46d22a3a36584b36adb37d3c2ebfc0
refs/heads/master
2023-09-04T01:49:06.795779
2021-11-08T21:41:52
2021-11-08T21:41:52
421,600,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,325
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, BooleanField from wtforms.validators import DataRequired, Email, EqualTo # registration form class RegistrationForm(FlaskForm): username = StringField('Username', validators=[DataRequired()]) # add email field here: ...
[ "lmendieta@fidelissecurity.com" ]
lmendieta@fidelissecurity.com
e3e7ebee71f69fdbdd0c48659e3990cb42319055
513913bb77fc7f8f71e67de53d99bc8b33deb04e
/myDict.py
4c71faa73b213c7bd4cbe1c7b0dd843304bd3dfe
[]
no_license
jmhughes018/camp-game
3314e883f99a59269ea57b4fe9180f237f874104
d72bc021ff89474fb2ee209f4ab37772d927126c
refs/heads/master
2020-04-10T12:20:27.055457
2016-09-15T17:24:23
2016-09-15T17:24:23
68,007,766
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
myPhrases = ['CACTUS PACT', 'SIMPLE DIMPLE', 'RIP VAN WRINKLE', 'BLUE FISH RED FISH', 'WILDLY MILD', 'TURBO BLURB', 'PORK AND STORK', 'ELMOS ELBOW', 'GIMPY BLIMP', 'BANG BANG SHRIMP', 'MOCHA CHA CHA', 'ORANGE MOCHA FRAP', 'BUMMER SUMMER', 'WINTER LINT', 'FALL WATERFALL', 'DING DONG STAY', 'SPRING DYNASTY', 'EPSOM SALT'...
[ "joshhughes@Flint-Michigan.local" ]
joshhughes@Flint-Michigan.local
956a8c2e6f77f02477e08eab6172881f93d5b37c
5ae3fb122408210fdd99aa02f3fb187059d8e4bf
/django_realtime/wsgi.py
64a9d66a0a48710b2dcf33ec2a4708641545ec5c
[]
no_license
Tee-py/django_realtime
1e129a738567eced96ac92b95e128b6f0bb9426b
65dd68aa1215a2dcf08430bfa54ac26e4f71d528
refs/heads/master
2023-01-11T10:37:46.689473
2020-11-05T03:26:06
2020-11-05T03:26:06
310,178,740
1
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" WSGI config for django_realtime 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJAN...
[ "emmanueloluwatobi2000@gmail.com" ]
emmanueloluwatobi2000@gmail.com
8a362a0df735219f29c68495bb533f8f394296d1
fa0aea96b4c1d3dce39ce74a1396b562b06f349d
/code.py
0e7034935d1e4691a0c71e4e635a7d331375aa3b
[]
no_license
EMID3/av3intro
d4ae8a7c2b6a8c0f530284ae384f099f8de63786
98316d9fa38995ab796895d93388379b94a9c424
refs/heads/master
2020-06-11T02:04:25.222832
2019-06-26T03:26:42
2019-06-26T03:26:42
193,822,336
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
import cv2 img = cv2.imread("mdfoto.jpeg", cv2.IMREAD_COLOR) stylization = cv2.stylization(img) cv2.imshow('mdfoto2', stylization) cv2.waitKey(0) cv2.destroyAllWindows() cv2.imwrite("mdfoto_result.png", stylization)
[ "noreply@github.com" ]
noreply@github.com