blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
69e9bebc4513c00a473c70457e1a049832307ad5
8ebb138562884f01cae3d3ffaad9501a91e35611
/dbCruiseKeywords/insertKeywordsAMT09.py
df5628bef408fcbba07deedb761444ed58a7b142
[]
no_license
simonscmap/DBIngest
7b92214034e90f8de88b06c17b48f83c769d8d35
9ae035cbf7453df375f0af5e920df3880a419107
refs/heads/master
2021-07-16T07:12:31.749027
2020-08-13T16:28:24
2020-08-13T16:28:24
200,295,674
0
0
null
null
null
null
UTF-8
Python
false
false
2,128
py
import sys import pycmap sys.path.append('../') import insertFunctions as iF import config_vault as cfgv import pandas as pd sys.path.append('../dbCatalog/') import catalogFunctions as cF """-----------------------------""" """ AMT09 CRUISE KEYWORDS""" """-----------------------------""" cruise_name = 'AMT09' server...
[ "norlandrhagen@gmail.com" ]
norlandrhagen@gmail.com
f73c9d617c1cf558ba76fd96c0a0973f40d43195
ddca95269478743a9697c1c3224b8a983c5eb3b9
/LintCode/50. 数组剔除元素后的乘积.py
7deeffc910413d6da36c74bf61b47e2a69b479b6
[]
no_license
hijkzzz/leetcode
d265bd4b6548b84cc91ca65d2e50f500eea33100
135003500fa25f47a45ded87f360ab40ed9cc35f
refs/heads/master
2021-10-23T20:55:21.334513
2018-08-25T08:58:48
2018-08-25T08:58:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
class Solution: """ @param: nums: Given an integers array A @return: A long long array B and B[i]= A[0] * ... * A[i-1] * A[i+1] * ... * A[n-1] """ def productExcludeItself(self, nums): if len(nums) < 2: return [1] # write your code here left = nums[:] ...
[ "janhu9527@gmail.com" ]
janhu9527@gmail.com
e03ff8873d0460764ab6c955459e2d3a0795df63
7c654433dca32f65dba5986f25e7f34d28a7535e
/virt3/lib/python2.7/warnings.py
14229a2e4f26e2c5e25308d9952ea1fba0ac149f
[]
no_license
albertan3/virtualenv_test
3bfab23d3465b530728421a6bd7aa688be905a29
72603b1f070ee9b0faeb7adaa26a39e1793234f4
refs/heads/master
2020-06-10T07:40:00.269911
2017-04-27T23:12:54
2017-04-27T23:12:54
75,987,936
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
/Users/alban/anaconda/lib/python2.7/warnings.py
[ "alban@visa.com" ]
alban@visa.com
0a6acd4a14f06588baa4f0bdf0b0b56f25938617
f2993f5bebdcd5ac38b38c283e1027f134250963
/DataValue.py
296c489578982688bbadec64d9e086007111f040
[]
no_license
ButtrmlkPncakes/MIS-5400-Final-Project
883f010da41c9e904c35a40259148c66c4e8e1bf
a41764f6c475e01474f7f41f359b37d791740d3a
refs/heads/master
2020-04-10T19:31:51.969438
2018-12-14T04:58:38
2018-12-14T04:58:38
161,238,392
0
0
null
null
null
null
UTF-8
Python
false
false
6,859
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 3 17:07:43 2018 @author: Test1 """ import pandas as pd import pyodbc from sqlalchemy import create_engine import matplotlib.pyplot as plt import numpy as np import seaborn as sns import GetCredentials User,Pass = GetCredentials.GetCreds('its me, dummy','...
[ "noreply@github.com" ]
ButtrmlkPncakes.noreply@github.com
ae4a090e21da024645d11c315cc632f99f3bb14c
c5046ff113dce225974a86601b7195d2ef7950a1
/FourthGen/Bprime_B2G/step0/BprimeToBZinc/BprimeToBZinc_M_825_TuneZ2star_8TeV_madgraph_cff_py_GEN.py
fce05c53d8920628074e34a19adb5514d5b8cf22
[]
no_license
dmajumder/cms-UserCode
b8c340f889a119f33be0b169c61308536a0fae78
f519a221dc0d4e8634f7eab7a1a8c802a2708210
refs/heads/master
2020-03-26T10:16:49.305776
2013-08-15T03:21:17
2013-08-15T03:21:17
13,921,973
0
0
null
null
null
null
UTF-8
Python
false
false
8,123
py
# Auto generated configuration file # using: # Revision: 1.372.2.3 # Source: /local/reps/CMSSW.admin/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v # with command line options: Configuration/GenProduction/python/EightTeV/Bprime_B2G/BprimeToBZinc_M_825_TuneZ2star_8TeV_madgraph_cff.py --filein lhe:6...
[ "" ]
c32489949c21f1d787027432e415ed51734417f1
aef92848de596e2477a97e27437438e3ccdca9ae
/languagegames/wsgi.py
05d3b555d9301e4200d73208a1b34d0f14933fcd
[]
no_license
DeasDeas/lang_games_dev
5007a5a81751b052d6df0aba9fcc09b6349405fe
bc2e5857f0da24e55c7d1c4fe37e8ee5ea27d14a
refs/heads/master
2023-04-19T06:12:23.030456
2021-05-02T11:28:52
2021-05-02T11:28:52
348,166,160
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for languagegames 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO...
[ "mikenic30@gmail.com" ]
mikenic30@gmail.com
acc50216c2e161d88c476973b950167d90d80243
7123affac23f7e35dcbf0e6e2d8bb31000b55cc5
/hooks/reviewboard/check-approvers
661c2887af76e501f8aaac50219c0dc50d4fb1e7
[ "BSD-2-Clause" ]
permissive
mdxp/git-hooks
cea923d47dd74cae6a77a88054020f99eb288531
df4a0a5bec1b8449175e76a153c99b8852e77b42
refs/heads/master
2021-01-15T20:52:39.919377
2012-02-17T00:42:17
2012-02-17T00:42:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,175
#!/usr/bin/python2.6 # # Copyright (c) 2012 by Delphix. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # - Redistributions of source code must retain the above copyright notice, # this list of ...
[ "zubairkhan1@gmail.com" ]
zubairkhan1@gmail.com
c013deed8361d585c85ccfe355c7c1dc549354c4
e29f9878cbb84f135e95645c93e5a9fbf0ec5f37
/node_modules/fsevents/build/config.gypi
349fb041904c4311865b97e3299489870d574cfd
[ "MIT" ]
permissive
ishdaddy7/trip-planner-static
9d0f1f3b6aa434a9d629e632a98dc3e6505e4550
3bcafae4b5ad818890eb371303e36e8522ee36e7
refs/heads/master
2021-01-19T05:31:29.252952
2016-06-27T20:47:37
2016-06-27T20:47:37
62,087,052
0
0
null
null
null
null
UTF-8
Python
false
false
4,431
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "host_arch": "x64", "icu_data_file": "icudt56l.dat", "icu_da...
[ "seanhan1@gmail.com" ]
seanhan1@gmail.com
f704899af782cf07017450df852c1d1f05a0a89d
3717822e2dc62100125906b7610c09aac0ef669e
/hw_3/lesson/server.py
45e64de2b469405994a5c31828fc681346686da4
[]
no_license
Nlegion/ClSe
d3fd5879becf0b85aa2b5da04077801afa2e6423
47a25518a4431693ba4768669f41fd4de95c1cfb
refs/heads/main
2023-06-16T15:11:23.073744
2021-07-11T08:34:54
2021-07-11T08:34:54
377,102,136
0
0
null
2021-07-11T10:20:17
2021-06-15T09:08:18
Python
UTF-8
Python
false
false
549
py
from socket import * import time s = socket(AF_INET, SOCK_STREAM) s.bind(('', 8888)) s.listen(5) while True: client, adr = s.accept() # print(f'Подключение по адресу{adr}') # time_str = time.ctime(time.time()) # client.send(time_str.encode('utf-8')) data = client.recv(1024) decoded_data = data...
[ "nparanoid@gmail.com" ]
nparanoid@gmail.com
2c07153d4d45ae259056bf66322d03559d0835bf
38bf7319caa9033f5a7a432d2fe3914692e3e17d
/tools/viz/check_group.py
997805dcc3a21576131ab019fa82bf4be5f466f9
[ "MIT" ]
permissive
XinGuoZJU/gc-horizon-detector
6e9fe7893637b9267cb0a9f32348736fa722fd07
c41f5606aca756281fb518987652403aec7d6ed3
refs/heads/master
2020-07-02T21:02:19.133389
2019-11-16T03:36:30
2019-11-16T03:36:30
201,664,806
0
0
null
2019-08-10T17:54:58
2019-08-10T17:54:58
null
UTF-8
Python
false
false
2,512
py
import os import json from skimage import io import numpy as np import matplotlib.pyplot as plt def imshow(im): plt.close() sizes = im.shape height = float(sizes[0]) width = float(sizes[1]) fig = plt.figure() fig.set_size_inches(width / height, 1, forward=False) ax = plt.Axes(fig, [0.0, 0...
[ "xg5@head.ionic.cs.princeton.edu" ]
xg5@head.ionic.cs.princeton.edu
42d77cdb15f7031c1d699412730a8035bd7e471a
367d2670c75d385d122bca60b9f550ca5b3888c1
/gem5/env/lib/python3.6/site-packages/kombu/asynchronous/http/__init__.py
e776977dd40d3fa99f91d5b31d93c25a7d36b580
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
Anish-Saxena/aqua_rowhammer_mitigation
4f060037d50fb17707338a6edcaa0ac33c39d559
3fef5b6aa80c006a4bd6ed4bedd726016142a81c
refs/heads/main
2023-04-13T05:35:20.872581
2023-01-05T21:10:39
2023-01-05T21:10:39
519,395,072
4
3
Unlicense
2023-01-05T21:10:40
2022-07-30T02:03:02
C++
UTF-8
Python
false
false
591
py
from kombu.asynchronous import get_event_loop from .base import Request, Headers, Response __all__ = ('Client', 'Headers', 'Response', 'Request') def Client(hub=None, **kwargs): """Create new HTTP client.""" from .curl import CurlClient return CurlClient(hub, **kwargs) def get_client(hub=None, **kwarg...
[ "asaxena317@krishna-srv4.ece.gatech.edu" ]
asaxena317@krishna-srv4.ece.gatech.edu
6e241b8e71c9f1a3e79f351f9de5ef956299d76c
c6081127387caef35500075f57b01b4ee30f348e
/data/recall.py
3848f187eaedf61b2bd585004d5c9e23b0478b9c
[]
no_license
yuyanlebond/pytorch_solov2
561048bfd56828f6d0d52bc9100f1735b9235f1f
c171850244cc767290e0fd585ee03c67271ab10a
refs/heads/master
2023-06-03T11:19:49.069454
2021-06-15T15:06:53
2021-06-15T15:06:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,073
py
import numpy as np from terminaltables import AsciiTable def bbox_overlaps(bboxes1, bboxes2, mode='iou'): """Calculate the ious between each bbox of bboxes1 and bboxes2. Args: bboxes1(ndarray): shape (n, 4) bboxes2(ndarray): shape (k, 4) mode(str): iou (intersection over union) or iof ...
[ "liujiangkuan.test@gmail.com" ]
liujiangkuan.test@gmail.com
78153155db6499ffdfa49e388d2356abe41433ff
131df00f8a34cec9326fae86a452d85a93784e5f
/matcherapp/apps.py
bd11e5f47ac208434f3d99c0bf256d65bb3a6848
[]
no_license
ZetaZeta/dictmatcher
a2c8cc1823d3a0fe071eac1cf36123585d966716
df8bac38316e472eb9b61deae9bef6c90b36aaee
refs/heads/master
2020-04-26T22:47:32.895064
2019-03-05T06:22:37
2019-03-05T06:22:37
173,883,583
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from django.apps import AppConfig class MatcherAppConfig(AppConfig): name = 'matcherapp'
[ "MatthewSCarson@gmail.com" ]
MatthewSCarson@gmail.com
e9ff71e25c72bde3be187a7d428d1bc7887ae72e
c3e0f2d7e9a96c30a8ebeeebbad13a45b1ad0410
/deepcheckpe.py
78f7b3dcbc2206e59f50778d858b133e4eae375d
[ "MIT" ]
permissive
rahulremanan/deeplearning_AV
7ea6c3b59c207991434456eadd78662c59394c5a
b4f2a65e445ad1d0f9a6357bd63cea7f2125f210
refs/heads/master
2021-01-20T10:18:10.888102
2017-05-05T05:59:45
2017-05-05T05:59:45
90,341,705
0
0
null
null
null
null
UTF-8
Python
false
false
7,764
py
#! /usr/bin/python2 import pefile import os import array import math import pickle from sklearn.externals import joblib import sys import argparse def get_entropy(data): if len(data) == 0: return 0.0 occurences = array.array('L', [0]*256) for x in data: occurences[x if isinstance(x, int)...
[ "noreply@github.com" ]
rahulremanan.noreply@github.com
321fb15794d5e2e00771737a5237693b81c6223c
9d5522c21b60fa64111b54d1c31a442d755ddd2a
/Problem Solving/Hackerrank/SockMerchant.py
a5c1394641a679af17aac0c2f6e4aea8f17ec86b
[]
no_license
faiyazkhanwif/ProblemSolving-Python
8e156ac95e5a78f3ab7af74710934570964856ee
56b897c29cdc1ffcd3f6638d608f63aff1d7e46e
refs/heads/master
2022-12-29T06:07:18.429488
2020-10-14T04:31:16
2020-10-14T04:31:16
303,902,552
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
#!/bin/python3 import math import os import random import re import sys # Complete the sockMerchant function below. def sockMerchant(n, ar): pairs = 0 checklist=[] for i in range(len(ar)): if ar[i] in checklist: continue else: elcount = ar.count(ar[i]) i...
[ "faiyazkhanwif@gmail.com" ]
faiyazkhanwif@gmail.com
4d7795fb58f8e3398f796892e22306053d589308
6d681b03f6345141da76296fed568dd404ab3124
/mylib/performance.py
e7e8112373e35ab9ff6eabee92b4f9cc81c40f63
[]
no_license
germank/mylib
44596da38edecd1a174a1dfe86791c2095a169f8
5317035df039d90474916d118bfc569a67b2ce69
refs/heads/master
2016-09-08T02:41:22.676133
2015-01-21T16:34:33
2015-01-21T16:34:33
29,599,318
0
0
null
null
null
null
UTF-8
Python
false
false
1,506
py
import math #y correct class #cls predicted class def get_performance_measure(y, cls, perform_measure): tp, tn, fp, fn = 0.0, 0.0, 0.0, 0.0 for label, pred in zip(y,cls): assert label == 1 or label == 0 assert pred == 1 or pred == 0 if label and pred: tp += 1 elif lab...
[ "german.kruszewski@unitn.it" ]
german.kruszewski@unitn.it
00fb0b2202d07d72ab8075b038f6426190d4d82e
de01cb554c2292b0fbb79b4d5413a2f6414ea472
/algorithms/Hard/1449.form-largest-integer-with-digits-that-add-up-to-target.py
fde6df1309dddc7154ccfbf41d760c6ba9bd1dbe
[]
no_license
h4hany/yeet-the-leet
98292017eadd3dde98a079aafcd7648aa98701b4
563d779467ef5a7cc85cbe954eeaf3c1f5463313
refs/heads/master
2022-12-10T08:35:39.830260
2020-09-02T23:12:15
2020-09-02T23:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,868
py
# # @lc app=leetcode id=1449 lang=python3 # # [1449] Form Largest Integer With Digits That Add up to Target # # https://leetcode.com/problems/form-largest-integer-with-digits-that-add-up-to-target/description/ # # algorithms # Hard (42.08%) # Total Accepted: 6.5K # Total Submissions: 15.5K # Testcase Example: '[4,3...
[ "kevin.wkmiao@gmail.com" ]
kevin.wkmiao@gmail.com
95a65891632e1c526dfe49cd5b082b05a23fb3a0
d80173b86be50c7b8c8dec265bfe4e9b66575f7c
/objects.py
80305cbd3829557b6a79312bc8f6e6372c6c0d8e
[]
no_license
Pk13055/bomberman
11450bb673ab1ffbb827d9dddeac3583742ce7e5
5e4d4413f9572e520de5604174123393f4463e86
refs/heads/master
2021-01-19T06:02:39.774474
2017-10-20T14:08:16
2017-10-20T14:08:16
100,589,676
6
4
null
2017-10-20T14:08:17
2017-08-17T10:03:18
Python
UTF-8
Python
false
false
3,723
py
''' contains the structure of each object ''' import config from config import x_fac, y_fac import numpy as np class Object: '''# bombs, walls, bricks all will be of this type''' def __init__(self, x, y, ch=config._empty): '''# the x and y coords wrt top left of board''' self._x = x ...
[ "pkrockstar7@gmail.com" ]
pkrockstar7@gmail.com
a1c45b2d5e7c3c0c8691e443597d313e63999089
dcae274bf977460d90cde490df9cc9254ae0070e
/holon/settings.py
ebc0a93616142a4025a8d8181d85b005c1f77fe3
[]
no_license
muneson/holon
78cd68ac337944ecff7ae5dfb71c0c21b7522b46
9db28ed25aa8828a44492e1b190ef5eea6d43a83
refs/heads/master
2021-01-24T15:53:32.219254
2013-04-27T10:16:02
2013-04-27T10:16:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,747
py
# -*- coding: utf-8 -*- import os gettext = lambda s: s #Dubble dirnames due to project dir PROJECT_PATH = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) # Django settings for holon project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( ('Eirk Günther', 'egu@mensa.se'), ) MANAGERS = ADMINS DATAB...
[ "erik.gunther@gmail.com" ]
erik.gunther@gmail.com
6c657d68c1dd56e03c8efa7e27ee1ef0eb9d352a
574c7a1a8a905b2e5751d4aae48c8f24f354a328
/mfdw_root/quotes/urls.py
349cc97da9feed9f564a5e9d059c8c59c42f7fed
[ "Apache-2.0" ]
permissive
mohammadasim/mfdw_project
45584674bed3988652f3891fd6f775edf9e5f779
5e610ebc34b98695083c6e65ff080abc769cb312
refs/heads/master
2021-09-28T14:21:18.841893
2020-03-01T06:36:30
2020-03-01T06:36:30
240,715,976
2
0
Apache-2.0
2021-09-22T18:37:28
2020-02-15T13:21:05
Python
UTF-8
Python
false
false
291
py
from django.urls import path from . import views from .views import QuoteList, QuoteView urlpatterns = [ path('', views.quote_req, name='quote-request'), path('show/<int:pk>', QuoteView.as_view(), name='quote-details'), path('show', QuoteList.as_view(), name='show-quotes'), ]
[ "asimayub81@gmail.com" ]
asimayub81@gmail.com
6dbbd47ba3700bf7e791869bf7e6824c6fdb295c
03d7dccd9417c1a901ab7e8974216a0c7dce6d5e
/pylti1p3/tool_config/dict.py
fc4b01e39c13d8e015815917afc695dd94d5c7ab
[ "MIT" ]
permissive
ziegenberg/pylti1.3
7dbcf83c376b8a50b267f342ef5aa771f6cd7795
acb10c9b932683593ab6172c648105239f81308c
refs/heads/master
2022-10-24T22:14:56.458373
2020-05-04T17:25:24
2020-05-04T17:25:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,633
py
from .abstract import ToolConfAbstract from ..registration import Registration from ..deployment import Deployment class ToolConfDict(ToolConfAbstract): _config = None _private_key = None _public_key = None def __init__(self, json_data): """ json_data is a dict where each key is issue...
[ "dmitry.viskov@webenterprise.ru" ]
dmitry.viskov@webenterprise.ru
8be08dd6874505f2e4e7c8249bc1f549985c0504
e19cbb9869a79fa1af1063a9291cd5624a5edd6f
/Stack:Queue/프린터.py
67532af370e4dbce2618ecf2c5c7846e503ed09f
[]
no_license
YNNJN/Programmers
c62194163a085231cd22c946c320a2937d69e478
434a62a91a1dc5e16b32f4e64c77fd15776d51e1
refs/heads/master
2023-02-08T11:14:15.399122
2021-01-03T13:27:17
2021-01-03T13:27:17
256,219,547
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
#M1 인쇄 목록과 인덱스를 함께 기억 -> enumerate() #M2 어차피 인쇄되는 건 우선순위가 가장 큰 값이니, 해당 값을 기준으로 조건을 분기 def solution(priorities, location): ans = 0 m = max(priorities) while True: v = priorities.pop(0) if m == v: ans += 1 if location == 0: break else: ...
[ "dbswls1014@naver.com" ]
dbswls1014@naver.com
a8a2f2d6780286dc62bb90f963f992dd1007ffe1
ea19fbe94b9a3e54a02f52408409f98073923e06
/manage.py
153d0d1866b1be07e0cabe53a0e15a2d40902b42
[]
no_license
i-sharmashubham/slambook
415fef1dd3a4f65c7ff4db43c475229a0132a50e
2a6f356e39d991ae0066857029b6f28926a0abcb
refs/heads/master
2020-08-08T01:28:22.121288
2019-10-08T14:03:51
2019-10-08T14:03:51
213,657,007
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'slambook.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "noreply@github.com" ]
i-sharmashubham.noreply@github.com
cea3add153f23a7f8860918d7802bf80c33719cf
77dcbefdeabf554a61c0c20882e9f1f34f954132
/venv/Scripts/easy_install-script.py
0bed0bdf5a6df24a4e608cd3af96cc0a5dc203e8
[]
no_license
JacobDuvall/the-summarizer
49c1976b044017c6cd641a30107da5c1479b6df0
4dddeba2b1110da590bb6070f59ec622cc16fd4b
refs/heads/master
2022-07-01T08:26:31.675468
2020-05-13T17:53:45
2020-05-13T17:53:45
258,939,820
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
#!"C:\Users\jdale\OneDrive\School\Text Analytics\project_2\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(...
[ "jdaleduvall@gmail.com" ]
jdaleduvall@gmail.com
3f1212e0ae34cf0e0cbc7f81b7c67f782074169c
8597d43d7990e1b93cda47646e7abffe565f9bbd
/constants.py
60d81a9cac2ea8f4b15ac897e00fcd4cb0a69c7f
[ "Apache-2.0" ]
permissive
tkim949/REST_API_GCP
a34c55b3a43bc0ecd3f01f3b36fe2247c924df53
a103af6d7a50484a03e12dfe8d4949ead4fce714
refs/heads/master
2023-05-11T02:52:29.728280
2020-06-16T02:27:28
2020-06-16T02:27:28
272,573,382
0
0
Apache-2.0
2023-05-01T21:41:49
2020-06-16T00:36:24
Python
UTF-8
Python
false
false
49
py
shelf = "shelf" product = "product" user = "user"
[ "noreply@github.com" ]
tkim949.noreply@github.com
621e29b29dc1192e480ec4fab3f0a6e5b0c78b37
4e214e3bd8cc413753603701a259416ced37aa25
/debris/20170630.py
6e0e3bfcde38ba991fc5788fad2d9140fb82f03b
[]
no_license
repose1019/MST
149ebaa85cb985fbf9c394f4936b78d42f5f4b73
98b0b573939f84dc8c2ec1bae927b92e41a89ddc
refs/heads/master
2020-12-02T16:16:46.253342
2017-08-11T10:43:27
2017-08-11T10:43:27
96,528,722
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
# -*-coding:utf-8-*- # @author: 'Repose' # @date: 2017/6/30 import numpy as np import pandas as pd data = np.random.randn(4,4) print(data) print(len(data))
[ "846776066@qq.com" ]
846776066@qq.com
80f796be803c6cbe9307785b3beaf103fdaf5177
52266a44e2aca241707984e3b138775681b3e95f
/一本册子/字符串.py
739ef5576c270d031768b4e1d83d68f15064ac44
[]
no_license
Mr-hongji/pythonNote
91b1252711ce0b919fc365932276b89d85d4c16b
ff5eda0c8f63345de4d98cff8f0f7ab5254c77a6
refs/heads/master
2020-04-11T14:49:39.637983
2019-05-26T09:21:09
2019-05-26T09:21:09
161,869,676
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
print 'hello' print "I'm Shihongji" ''' \被称作转译字符,除了用来表示引号,还有比如用 \\表示字符串中的\ \n表示字符串中的换行 ''' print 'I\'m a \"good\" people' print 'I\'m a "good" people' print '我是良民\\' print '我是良民\n吗' ''' 作业 输出以下文字 1、He said, "I'm yours!" 2、\\_v_// 3、Stay hungry, stay foolish. ---Steve Jobs 4、...
[ "shihongji@xiaoneng.cn" ]
shihongji@xiaoneng.cn
07ddacbb56954526dfc54b49ec898b630b576e55
2d4b7280fac70fd922dc203f07d89241f3c21535
/src/cloudify/aria_extension_cloudify/classic_modeling/policies.py
238124b82d67385d4d632d119bc37bfe4460d753
[ "Apache-2.0" ]
permissive
tliron/aria-ng
602f0cad18df0332e25be03cc834e7a42cb7c674
55cf7af3b0a8fe62d422dd687dd7da3849824524
refs/heads/master
2020-08-02T18:10:30.735677
2016-11-12T14:19:32
2016-11-14T18:23:57
73,556,794
0
2
null
2016-11-12T14:17:45
2016-11-12T14:17:45
null
UTF-8
Python
false
false
676
py
# # Copyright (c) 2016 GigaSpaces Technologies Ltd. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
[ "tal.liron@gmail.com" ]
tal.liron@gmail.com
0aacd4bb5f93f7cde57b903a1aec981ffb433ed5
92827cba7b89fce22f0ffce68fa8a9243127d482
/chapter_8/first_mlp.py
545dd387d4688c24a9682742998fb0da0218dd1c
[]
no_license
pm3310/deep_learning_with_python
c028fff8d6ead45dc5bd5849c474821563ee8235
76da1698742b083698803d19d1bcbb0843f7f840
refs/heads/master
2020-12-25T14:13:40.948359
2016-08-17T18:21:12
2016-08-17T18:21:12
65,931,347
3
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
from keras.models import Sequential from keras.layers import Dense import numpy from sklearn.cross_validation import StratifiedKFold seed = 7 numpy.random.seed(seed) # load pima indians dataset dataset = numpy.loadtxt("pima-indians-diabetes.csv", delimiter=",") # split into input (X) and output (Y) variables X = dat...
[ "pavlos@workable.com" ]
pavlos@workable.com
1c016fb55113529b8bfed2ec15edfaa96e64c745
7918d00a8235c1252fdd75e2db6de4d323740318
/env/bin/easy_install-2.7
7a324fbf1f470f876325975cfe88a987d9231b97
[]
no_license
tom-sb/Mayorista
92e1a68402a35785f355fe11ad935071cc7264d3
635f26aae073da42ea58d3f056959a35e08a4bd3
refs/heads/master
2020-11-24T16:46:46.271448
2019-12-19T11:14:27
2019-12-19T11:14:27
228,254,669
0
2
null
2019-12-19T11:14:29
2019-12-15T21:22:34
CSS
UTF-8
Python
false
false
285
7
#!/home/tomsb/Escritorio/ing_soft2/IS2CS_PY/Mayorista/env/bin/python2 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "fvillanuevanut@gmail.com" ]
fvillanuevanut@gmail.com
26f644c66a8b92892987b70efed6d22aee3270b8
6160586aa239eada16e735d40d57970dedbe1dfc
/modules/app_additional/app_custom/app_position_update_info.py
b2724f015a7037a4d90534964a519bb0702c5061
[]
no_license
showgea/AIOT
7f9ffcd49da54836714b3342232cdba330d11e6c
fe8275aba1c4b5402c7c2c2987509c0ecf49f330
refs/heads/master
2020-07-23T10:19:37.478456
2019-09-23T12:25:59
2019-09-23T12:25:59
207,525,184
2
0
null
null
null
null
UTF-8
Python
false
false
945
py
import requests from config import readcfg header_Gary = readcfg.header_Gary header_Jenny = readcfg.header_Jenny url = readcfg.url def app_position_update_info(positionId, positionName=None, isDefault=None): url_ = url + "/app/v1.0/lumi/app/position/update/info" json_ = { "positionId": positionId, ...
[ "tangguobing2011@163.com" ]
tangguobing2011@163.com
16e1c2a3227a5d0baee604734564e9d99490428f
bc441bb06b8948288f110af63feda4e798f30225
/monitor_sdk/model/notify/operation_log_with_meta_pb2.pyi
4eb4b81a00e7c4fbc85a45c47c2b95b1eeda8653
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
2,093
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.message import ( Message as google___protobuf___message___Message, ) from monitor_sdk.model.notify.operation_log_pb2...
[ "service@easyops.cn" ]
service@easyops.cn
45d56d1354e14bbecd02cb825af9747942a005f9
134502316380ec6e66a23b49fd168a5ce0413d29
/Simulator.py
10b5a14e7d6150d93ceb3875c69d21f4e8b3b27d
[]
no_license
helgejo/cozmo_rl
83cd63e5d2880e29d5a0668f8a7e8a4e8575143e
6e2c6a8a7362684c9bc8b1d7ed00601971a369c7
refs/heads/master
2021-01-15T17:15:30.256995
2017-08-10T12:48:37
2017-08-10T12:48:37
99,742,703
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Aug 8 21:05:44 2017 @author: bjorland """ class Gym: def __init__(self): self.x = 1 self.observation self.action_space self.observation_space def step(self, action): return observation, reward, ...
[ "Helge.Johannessen-Bjorland@telenor.com" ]
Helge.Johannessen-Bjorland@telenor.com
086f450b7863c94d7a6224d270dac70c108e4121
adc041494866c5fb9e7879c6f3dc28b992310fd2
/Lists and Tuples/Tuples/list to tuple.py
0b8c7617e1d8e907f4476dacaa73acca0070d703
[]
no_license
REGENTMONK97/Python-
8b53dd684b770d7d6d79b352efa3729731047329
ab8987506dbbae2a9660852c85f21535954738c7
refs/heads/master
2020-03-20T20:56:37.708665
2018-06-18T08:01:38
2018-06-18T08:01:38
137,715,560
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
a = input("Enter all data separated by comma") a = a.lstrip() a1 = a.split(',') tuple(a1)
[ "sairaghunath97@gmail.com" ]
sairaghunath97@gmail.com
9aa6e5fb065c69b21645bff657e9fc0394c80395
38cc32a77077c1ebcea939a81969a6f9f4d37dfe
/lekce/lekce_11/json_load.py
4980d23ece4459c57ff977200c2e2778f09f5cc5
[]
no_license
kabezd/pyladies
13ad60c39a6908cc4cd1401aa6c7d1c69546bc39
c6b0a44f86880ea3deb244fd8ec84c4fb6bebccb
refs/heads/master
2021-02-13T16:59:14.144039
2020-07-31T18:18:14
2020-07-31T18:18:14
244,714,800
0
0
null
2020-08-02T14:38:38
2020-03-03T18:45:26
Python
UTF-8
Python
false
false
220
py
import json json_string = """ { "name": "Anna", "city": "Brno", "language": ["czech", "english", "Python"], "age": 26 } """ data = json.loads(json_string) print(data) print(data['city'])
[ "bezdekova.k@seznam.cz" ]
bezdekova.k@seznam.cz
4cd67a0681d367c305de9840035756f49ffbf251
c7eff37821123960716d818f2bbecf54b50a3e80
/HeroloDjango/settings.py
acdaa15979c891a39900a9b476312697ca4ca547
[]
no_license
PazBazak/HeroloDjango
abeaaf3ed6ec6dd7c8d2e4e197cd0ca7fb544958
7b08316337420914d132851a1e69b86c514e9a49
refs/heads/dev
2023-01-30T16:41:19.500980
2020-12-09T15:40:07
2020-12-09T15:40:07
319,662,166
0
0
null
2020-12-09T15:40:08
2020-12-08T14:23:49
Python
UTF-8
Python
false
false
3,635
py
""" Django settings for HeroloDjango project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import o...
[ "yolobazak1@gmail.com" ]
yolobazak1@gmail.com
4331fac607aeb690fffb8d9b6f614658cc0f4fe0
e678642002db4882cb4a6641aff40c1b7f1f4348
/chapter3/recommender3.py
37bfb16c88474af1551a41b35685f5439f20976d
[]
no_license
eks5115/DatamingGuideBook-Codes
108260cc09656c59b046b6bb6b54ddbd0040e6da
0048ea13e8e60afe61c791fd2f25d4ee87167c16
refs/heads/master
2020-03-24T23:14:39.112447
2018-08-01T08:21:19
2018-08-01T08:21:19
143,125,289
0
0
null
null
null
null
UTF-8
Python
false
false
13,744
py
import codecs from math import sqrt users2 = {"Amy": {"Taylor Swift": 4, "PSY": 3, "Whitney Houston": 4}, "Ben": {"Taylor Swift": 5, "PSY": 2}, "Clara": {"PSY": 3.5, "Whitney Houston": 4}, "Daisy": {"Taylor Swift": 5, "Whitney Houston": 3}} users = {"Angelica": {"Blues Traveler": 3.5, "B...
[ "eks5115@139.com" ]
eks5115@139.com
77a600b8a161271244c70a072a2ad68e0c19c0f9
3712a929d1124f514ea7af1ac0d4a1de03bb6773
/开班笔记/个人项目/weather/venv/Scripts/pip3-script.py
a6ac6cc88412f3e6968662a23c89959c23f69bbe
[]
no_license
jiyabing/learning
abd82aa3fd37310b4a98b11ea802c5b0e37b7ad9
6059006b0f86aee9a74cfc116d2284eb44173f41
refs/heads/master
2020-04-02T20:47:33.025331
2018-10-26T05:46:10
2018-10-26T05:46:10
154,779,387
0
0
null
null
null
null
GB18030
Python
false
false
446
py
#!E:\学习文件\python学习资料\开班笔记\个人项目\weather\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' 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...
[ "yabing_ji@163.com" ]
yabing_ji@163.com
5571bc3f500861a21934a71a6330c94ce561521b
db8692575378366957b246a5b5938f67de936386
/26feb/largest_number_possible.py
2b2bed7f39dbc14461f5e1c5f9167e348adbb691
[]
no_license
adarhp0/coding
24f474f2a3ef4ef578e33509dc57514563929956
63db62efdcdeaae934066c337437afcf52a6e28c
refs/heads/master
2021-07-10T20:04:54.375292
2021-04-03T15:11:06
2021-04-03T15:11:06
242,801,385
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
tes=int(input()) for t in range(tes): n,s=map(int,input().split()) if s/n>9 and s!=0: print(-1) else: z={} for i in range(10): z[i]=0 q=9 while s>0: z[q]=int(s/q) s=s-z[q]*q q=q-1 a='' su=0 for i ...
[ "adarshahp0@gmail.com" ]
adarshahp0@gmail.com
99c4e44f477c0bac23afd0bd0105f76f1483e7d6
8ae2a6f0e9a9f4ed651f13a63a4124a1c99b4dba
/xmudata/DIV2K2018.py
733dd9bea788782457d040368847d253e9f6401b
[]
no_license
SrWYG/channelPruningXMU
7515950210a32aa78bd04030e7bf2b214cc85583
2f03300cb909c751c73f21452721dddbce33f7fd
refs/heads/master
2020-03-17T06:47:44.939130
2018-05-14T14:21:47
2018-05-14T14:21:47
133,369,763
3
2
null
null
null
null
UTF-8
Python
false
false
1,353
py
from xmudata.data import Data import tensorlayer as tl from xmuutil import utils import os from xmuutil.exception import LargeSizeException class DIV2K2018(Data): def __init__(self, train_truth_dir, train_data_dir, test_truth_dir = None, test_data_dir=None, image_size = 96, scale = 4, train_postfix_len = 3, test...
[ "24320142202497@stu.xmu.edu.cn" ]
24320142202497@stu.xmu.edu.cn
988567162ac57924714584f1b7ec11851c83a23f
c86a7673c4258f78b9a8a20495b53f0a0ec965eb
/selenium_pyPOM/test_dou_pypom.py
6901052233358dba2e82b0414ec0bbd059d80ede
[]
no_license
Brombult/Test_Automation
5bb96a3dbedcf9201d0befb36c26a3d7a029e224
40f956f6e5cf48a8ba17e7837a316db70b9f981a
refs/heads/master
2020-04-27T07:05:00.276716
2019-04-20T08:54:59
2019-04-20T08:54:59
174,126,504
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
from selenium import webdriver import pytest from page import DouMainPage, SearchResultPage base_url = 'https://dou.ua/' COMPANY_NAME = 'DOU' INVALID_NAME = '123efdvdfbgfdbfg' driver = webdriver.Chrome() @pytest.fixture(scope='module', autouse=True) def setup_and_teardown(): driver.implicitly_wait(5) drive...
[ "rickrolled5997@gmail.com" ]
rickrolled5997@gmail.com
f36fc9dfdae9c007db292d27d4f13e847e448d2b
93176908770ccfdfcd28849e0344ca8f08433d3e
/MealRunner/__init__.py
148a82d5d9c8dc01e271a367ac3c8d26661c1c5f
[]
no_license
mamutahr/MealRunner
96804943f090e0e6521468aaba7991b6c7414067
038dae2c744b7ec03a68456167fbac8db307bf73
refs/heads/master
2023-05-25T05:07:47.012726
2019-10-13T14:51:14
2019-10-13T14:51:14
214,579,514
0
0
null
2023-05-22T22:30:40
2019-10-12T04:49:57
Python
UTF-8
Python
false
false
1,003
py
""" MealRunner package initializer. """ import flask # app is a single object used by all the code modules in this package app = flask.Flask(__name__) # pylint: disable=invalid-name # Read settings from config module (MealRunner/config.py) app.config.from_object('MealRunner.config') # Overlay settings re...
[ "mamutahr@umich.edu" ]
mamutahr@umich.edu
d3f8274bb3c977361e26de93b6ca096b5273f249
f1a2a34628c67829ee321b1edb40b1f41875d293
/detection_nbdev/metrics.py
4dadc419659b0441f904eb9efd9bb1603124ef63
[ "Apache-2.0" ]
permissive
Sports-AI-Coaching/detection-nbdev
bb09218fe8a418225fc714e6711082a6ea64ae70
331d36aa7ed65492a879d5012c1d6de866ec3519
refs/heads/master
2023-03-05T01:26:35.833951
2021-02-14T23:38:25
2021-02-14T23:38:25
338,741,316
0
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
# AUTOGENERATED! DO NOT EDIT! File to edit: 02_metrics.ipynb (unless otherwise specified). __all__ = ['bbox_iou', 'hungarian_loss'] # Cell import torch from scipy.optimize import linear_sum_assignment # Cell def bbox_iou(boxA, boxB): # determine the (x, y)-coordinates of the intersection rectangle xA = max(b...
[ "atom@phi.asura" ]
atom@phi.asura
c05da3b7474a985ebb26bd86f561fd8df1dd8a8e
b5fd4552474f2b55d6c1d3d2a0e6974221cb022a
/build/turtlebot3_msgs/cmake/turtlebot3_msgs-genmsg-context.py
228d0e782b34294a153d343b357471aac543ee3c
[]
no_license
bryceustc/ROS
ea042f96ce36653252c6c8fe2eb89c4ed5a8c61d
073c0261f729ca52da1def63cba14618d41e7741
refs/heads/master
2021-03-21T00:04:43.528576
2020-03-14T09:34:24
2020-03-14T09:34:24
247,245,675
0
2
null
null
null
null
UTF-8
Python
false
false
723
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/bryce/pid_control_ws/src/turtlebot3_msgs/msg/SensorState.msg;/home/bryce/pid_control_ws/src/turtlebot3_msgs/msg/VersionInfo.msg;/home/bryce/pid_control_ws/src/turtlebot3_msgs/msg/Sound.msg" services_str = "" pkg_name = "turtlebot3_msgs" dependen...
[ "bryce@mail.ustc.edu.cn" ]
bryce@mail.ustc.edu.cn
e9b5253151a81e420a53c743d91c567e23d8895f
295d62b0d1abe97f8a3d1500c44666040870d4b0
/out/gt/real-reinforcement-learning/v2/actor_critic.py
d7a3a664a84c0034c5b89e1caae3832c9a2c3f56
[]
no_license
adandamudi/hlast
3c5e493e15ce9c64a5644ca1d3138e7c87629cbb
94d3e2b12434c137399546a71da5ad063d32d201
refs/heads/main
2023-02-02T13:56:00.955051
2020-12-18T06:45:17
2020-12-18T06:45:17
311,791,616
0
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
import argparse import gym import numpy as np from itertools import count from collections import namedtuple import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torch.autograd as autograd from torch.autograd import Variable import torchvision.transforms as T parser = ar...
[ "gmatute@berkeley.edu" ]
gmatute@berkeley.edu
202431c6183a6dcff01d28a468d59da31fa8c7b1
cb9f5db2cdaa5c85a4c5950e34fa22d931da445e
/seed.py
d94c6e63d50668962053785917432aba4eb825c1
[]
no_license
rmmistry/movie-ratings-
248fdb36a7392cebc8cfc9686cae61a3b0c516c4
89050e4da2dc998ab99fca8537d8df75a650e845
refs/heads/master
2021-01-10T05:13:17.863638
2015-10-23T00:58:23
2015-10-23T00:58:23
44,561,233
0
0
null
null
null
null
UTF-8
Python
false
false
3,133
py
"""Utility file to seed ratings database from MovieLens data in seed_data/""" from model import User, Movie, Rating # from model import Rating # from model import Movie from model import connect_to_db, db from server import app from datetime import datetime def load_users(): """Load users from u.user into data...
[ "info@hackbrightacademy.com" ]
info@hackbrightacademy.com
1ad194458a4f64f614b9ac861a9e7623c7eaa041
29345337bf86edc938f3b5652702d551bfc3f11a
/python/src/main/python/pyalink/alink/tests/examples/from_docs/test_alsusersperitemrecommbatchop.py
21104be85c65e675c3b2d8099853b1de16f0fc5b
[ "Apache-2.0" ]
permissive
vacaly/Alink
32b71ac4572ae3509d343e3d1ff31a4da2321b6d
edb543ee05260a1dd314b11384d918fa1622d9c1
refs/heads/master
2023-07-21T03:29:07.612507
2023-07-12T12:41:31
2023-07-12T12:41:31
283,079,072
0
0
Apache-2.0
2020-07-28T02:46:14
2020-07-28T02:46:13
null
UTF-8
Python
false
false
920
py
import unittest from pyalink.alink import * import numpy as np import pandas as pd class TestAlsUsersPerItemRecommBatchOp(unittest.TestCase): def test_alsusersperitemrecommbatchop(self): df_data = pd.DataFrame([ [1, 1, 0.6], [2, 2, 0.8], [2, 3, 0.6], [4, 1, 0...
[ "shaomeng.wang.w@gmail.com" ]
shaomeng.wang.w@gmail.com
bb31114011aaefceadd2ce293442dbf0b50b6cff
b24012b8e8b4e42600903a04e7740b9e28bc17ac
/utils/DetectClosestColor.py
e63fe8459632ab60fa24e7972866945a859e6d27
[]
no_license
msjun23/Lane-Detection
747e8443a22d0d7d909a2d803d0a601f9095488e
02825a55b684969cda31e061119429d13234cf83
refs/heads/master
2023-08-01T06:54:57.708416
2021-09-20T13:56:37
2021-09-20T13:56:37
288,739,009
1
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
import cv2 import numpy as np from matplotlib import pyplot as plt from numpy.core.fromnumeric import shape delta_h = 30 delta_sv = 75 def DetectYellow(img): hsv_yellow = np.array([30, 255, 255]) hsv_img = cv2.cvtColor(img, cv2.COLOR_BGR2HSV) dist_img = np.sum((hsv_img - hsv_yellow)**2, axis=2)**(1/2) ...
[ "msjun23@gmail.com" ]
msjun23@gmail.com
e2f67ccafad355edc13a17d8c188f2dd33a654a9
268cb0493160b06b1f5d5b33bf0dd80fd58a94f9
/spotify-recommendations/ml/get_feat_playlists_new_albums.py
500cb47eb38407d330a0304bb35a6dd9f044aec2
[]
no_license
restevesd/PROJECTS-DATA-SCIENTIST-TRAINING
1d92c88db700df4e8a067ca02f5d53ec9a85671d
0d3c315594aa6901079650283dc13b866fb98971
refs/heads/main
2023-08-18T09:43:34.489337
2021-10-02T10:21:15
2021-10-02T10:21:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
import django import os import logging from spotipy.oauth2 import SpotifyClientCredentials os.environ.setdefault("DJANGO_SETTINGS_MODULE", "spotify_recs.settings") django.setup() from spotify_app.models import Playlist import spotipy import time logger = logging.getLogger('django') logger.setLevel(logging.INFO) de...
[ "noreply@github.com" ]
restevesd.noreply@github.com
81a39a0d1720fe639ac2b59e7861b623c6118af5
2324dea2cb3003c8ab7e8fd80588d44973eb8c77
/Euler_1_17a.py
9a350a6d333f32263cf6731390cfab23de618e79
[]
no_license
MikeOcc/MyProjectEulerFiles
5f51bc516cb6584732dc67bb2f9c7fd9e6d51e56
4d066d52380aade215636953589bf56d6b88f745
refs/heads/master
2021-01-16T18:45:44.133229
2015-05-27T18:28:43
2015-05-27T18:28:43
5,876,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
def p17(): def lowest_digit(n): return n/10, n%10 def words(n): if n > 999: raise ValueError, "Number too big." digits = [None, 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'] teens = ['ten', 'eleven', 'twelve', 'thirteen'...
[ "mike.occhipinti@mlsassistant.com" ]
mike.occhipinti@mlsassistant.com
159f081af2707fdc632c02abb3f8cfda47e6c305
9a8a58abd169ad6dabd20cf806249faa9e89bf47
/typogrify.py
22c8f23dda4d7f462656dcc918bbc625aa73a0e0
[]
no_license
curiousleo/kardiopraxis-flask
583a25edb4e366b981b20691dc5e0821894e4b3b
d9a7a14b386c5d4415d6b650e503c3c104e5ebaf
refs/heads/master
2021-01-19T03:13:09.666560
2015-05-21T19:58:08
2015-05-21T19:58:08
4,799,515
0
0
null
null
null
null
UTF-8
Python
false
false
12,163
py
# Copyright (c) 2007, Christian Metts # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of cond...
[ "curiousleo@ymail.com" ]
curiousleo@ymail.com
ab3b457e28589da1217469ef6bbcb0b189d0a23f
69f05b01112c94491c0185b27738f3b4b5906ca2
/libnd4j/include/graph/generated/nd4j/graph/UIOp.py
c6207f9624c6c34d361ebb6f6b298f65c089048b
[ "Apache-2.0", "MIT", "BSD-3-Clause" ]
permissive
saudet/deeplearning4j
2b55becb2e8b0881d33b2dacd28489d4f23651b4
21254a4d5a3584a480fce71fd678e021edc1498f
refs/heads/master
2020-05-31T23:47:31.786374
2019-06-04T11:33:52
2019-06-04T11:33:52
190,545,263
2
0
Apache-2.0
2019-06-06T08:32:50
2019-06-06T08:32:49
null
UTF-8
Python
false
false
3,752
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: graph import flatbuffers class UIOp(object): __slots__ = ['_tab'] @classmethod def GetRootAsUIOp(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = UIOp() x.I...
[ "noreply@github.com" ]
saudet.noreply@github.com
037a54ca983b23a17ffe063f910d6ead4fb49b1f
a5479f34e87b046d12fdc020bc3652f8b4498484
/scrapy2019/spiders/ASTRO2.py
2de6840a0de131ca820124e40b3c76f8764fe578
[]
no_license
pavankumar-k/Scrapy2019
4a8226c79455234c73d9ac33c72b57e5bdfc8d18
7e82f8ec0ac467712eaae137c1d42871959a2ef8
refs/heads/master
2020-05-04T20:32:12.728899
2019-04-04T07:10:47
2019-04-04T07:10:47
179,441,474
0
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
# -*- coding: utf-8 -*- import scrapy import logging class AstroSpider(scrapy.Spider): name = 'ASTRO2' url = 'https://www.redjournal.org' # start_urls = ['https://www.redjournal.org/issue/S0360-3016(16)X0010-7'] def parse(self, response): lis = response.css('h2.title > a::attr(href)').extr...
[ "noreply@github.com" ]
pavankumar-k.noreply@github.com
c82b626196c32cb53a26ce7409d33e52aeb8817f
d82efe8ea61a9d391e1444af55bb35c1b95ae7b0
/mainapp/__init__.py
f0be2b2fac1640b58f67d8e2a5d515d8f769813c
[]
no_license
xulongyuan203/leargit
ecbdb46b54d95d6c569ce5e3edb234bff1125e89
40b70ee4d2512d1e5827a9558483bc8c6b4ea761
refs/heads/main
2023-09-04T07:31:06.858491
2021-10-17T03:57:35
2021-10-17T03:57:35
346,919,815
0
0
null
2021-10-17T03:56:18
2021-03-12T03:12:12
Python
UTF-8
Python
false
false
100
py
from flask import Flask import settings app = Flask(__name__) app.config.from_object(settings.Dev)
[ "email@example.com" ]
email@example.com
4ad7c781ebb466cdf938c49be828e1efbcf43234
e8da76ed3458cc3589c6e02a7088550c799651ac
/8lesson/area_circle.py
7bec204476891e733b27455501d381c5c4ff08ab
[]
no_license
leilahassan/introduction-python-leila
9a8ff8d2d3818c5a3beec15f3a6da9492480faa5
fa86b12e7ff6d2804854c1a17af20dc7a28e4df7
refs/heads/master
2021-01-01T18:13:19.670649
2017-07-25T07:36:45
2017-07-25T07:36:45
98,277,540
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
import math def area_circle(radius): radius = int(radius) area = math.pi * radius * radius return area user_radius = input("What is the radius of the circle?:") calculated_area = area_circle(user_radius) print("The area of a circle with radius {} is {}".format(user_radius,calculated_area))
[ "hassanleila333@gmail.com" ]
hassanleila333@gmail.com
f6839df226465c2552f3a1069ffe64e78af771a0
57a9c836d8a933b5e6680dad4711676d0693a5e5
/src/locationAPI.py
38326db19bf750e2d312f6b0efb05c02a8afb94e
[]
no_license
mouseProgrammouse/neighborhood_map
c382588f661a0de31adc0efc3a4dcbab5cab3d9c
1a8d0a0ca114955f1f10682071b5fabf4920de6a
refs/heads/master
2020-03-21T00:40:18.616868
2018-06-27T13:24:55
2018-06-27T13:24:55
137,904,195
0
0
null
null
null
null
UTF-8
Python
false
false
1,154
py
import json import os from flask import Flask from yelpapi import YelpAPI from flask import request from flask.json import jsonify from flask_cors import CORS yelp_api = YelpAPI("7LgYxOlDAZm3sQI3jcyxuDnX2KCI1apQAMZkgB1qDlIpjYQgCr-yZ2q1Abeu7C5dE8kxCrPtjbTY_p29v2b2fosjP8evmheO4hDuEoHEkOheEqBBXX5t-Bp8ogYtW3Yx") app = F...
[ "mouse.programmouse@gmail.com" ]
mouse.programmouse@gmail.com
6013abaf1ceca0fccaeea59d0bb1e9949aee08e7
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_337/ch8_2020_03_02_19_15_37_237019.py
7d27944df20781e9fb1001e6829337fdf582639c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
def calcula_posicao(tempo): posicao = posição inicial + velocidade*(instante t) return posicao
[ "you@example.com" ]
you@example.com
c7ebb944709b1acfb824b0d6ecea1065b462c1a3
79588ca7cc97b19940101b69e82e562921f9c254
/Lab/bibtex.py
5a3af0cccbebb0729d0b05df3dee0b43a53694fd
[]
no_license
Yifan-Liu-95/SoftwareTestingPandas
1c40761da518ec5a639def28342b3c0af57b2adc
3030fb6ffe8e26d5491fd0156e0c79c50be6cfde
refs/heads/main
2023-05-01T11:16:49.142108
2020-12-16T09:57:06
2020-12-16T09:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
def extract_author(str): commaSplit = str.split(',') if len(commaSplit) == 1: spaceSplit = str.split(' ') if len(spaceSplit) == 1: result = (str,'') else: result = (spaceSplit[len(spaceSplit)-1],' '.join(spaceSplit[0:(len(spaceSplit)-1)])) else: result...
[ "36402231+dannemarre@users.noreply.github.com" ]
36402231+dannemarre@users.noreply.github.com
14337940b0714b1dadc8e28c06a38350bf389f9d
d0cb58e1658d4b5b88bdc07e497dc8092707ae02
/2020/09September/26PandasDataSeries02.py
fb8a0a14ecc6a675d6bea128b69cab3fbaa6b025
[]
no_license
June-fu/python365
27f9b753d38ade549d59aa8f2d8bda0fb8b1e20c
242033a4b644a7566fbfa4dba9b60f60aa31fe91
refs/heads/master
2021-07-02T21:42:28.454091
2021-05-04T15:08:44
2021-05-04T15:08:44
233,629,713
0
0
null
2020-01-13T15:52:58
2020-01-13T15:36:53
null
UTF-8
Python
false
false
420
py
#!/usr/local/bin/python # -*- coding: utf-8 -*- ''' # @ Author: june-fu # @ Create Time: 2020-11-20 23:22:57 # @ Modified by: june-fu # @ Modified time: 2020-11-20 23:23:25 # @ Description: # 2.Write a Pandas program to convert a Panda module Series to Python list and it's type ''' import pandas as pd import nu...
[ "june@yeah.net" ]
june@yeah.net
8e75ad0ab217c0a6003d5478916d0b1f69fab144
f455a3bbcf5fbdd7dd684e49b73cc99733da1559
/datacenter/active_passcards_view.py
aeadd06bb7c30ef5ad574eae10f5089b790c6fb1
[ "MIT" ]
permissive
KirillYabl/django-orm-watching-storage
c08541d3b7d68af988ce0ab94b9f61b90fe01da4
f263e37178d027de173794070a4ae507a80fa258
refs/heads/master
2022-09-05T00:16:29.870889
2020-05-31T08:49:49
2020-05-31T08:49:49
268,242,329
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
from datacenter.models import Passcard from datacenter.models import Visit from django.shortcuts import render def active_passcards_view(request): all_passcards = Passcard.objects.all() active_passcards = Passcard.objects.filter(is_active=True).all() context = { "active_passcards": active_passcard...
[ "kirill-yablunovskii@mail.ru" ]
kirill-yablunovskii@mail.ru
410d7498c362b982e00c1371ea8e80ffedc787f5
2ecfe0e10d10513917e4f2770e0a56075404c5d8
/oldnumba/tests/test_exceptions.py
80cbe4e56325c6d8248dd39bfb2723c2511aeeb1
[ "BSD-2-Clause" ]
permissive
laserson/numba
84ab7615ea0177b496a63e2a86319f0b12992cd2
35546517b27764a9120f6dfcd82eba7f4dd858cb
refs/heads/master
2020-05-20T23:13:23.011971
2014-12-08T20:16:20
2014-12-08T20:16:20
16,754,385
1
0
null
null
null
null
UTF-8
Python
false
false
632
py
""" >>> boom() Traceback (most recent call last): ... ValueError: invalid literal for int() with base 10: 'boom' >>> boom2() Traceback (most recent call last): ... TypeError: 'object' object is not callable >>> boom3() Traceback (most recent call last): ... TypeError: 'object' object is not callable """ im...
[ "markflorisson88@gmail.com" ]
markflorisson88@gmail.com
c135d62f920dc56b65ff40f4fbe07eac168328ba
5b6f2b0ff8828d247885204522a7fe4ad7136f7a
/test_arc4.py
fb3574f9ebf651e152ea1554a8cf92cf764e7598
[ "MIT" ]
permissive
manicmaniac/arc4
5fdc292e3ac172a2e2817ff14b2d052604964cd5
6f0706a6f68cb84e419e8652d4196745268c9b3b
refs/heads/master
2023-08-16T04:05:42.398404
2023-04-22T03:58:58
2023-04-22T03:58:58
149,815,580
28
5
MIT
2023-09-12T09:24:09
2018-09-21T20:40:18
Python
UTF-8
Python
false
false
8,405
py
try: from setuptools.distutils.version import StrictVersion except ImportError: from distutils.version import StrictVersion import doctest import functools import multiprocessing import platform import textwrap import timeit import unittest import arc4 import setup KEY = b'PYTHON3' LOREM = b"""Lorem ipsum do...
[ "rito.0305@gmail.com" ]
rito.0305@gmail.com
aef62d376e11b623b10924545474a7345a0d133b
d24bace66da749d30651401e6afa202588751970
/strings/zeroMatrix.py
67787f263dd8f2219e15580eda9a541133de8b51
[]
no_license
roncrisostomo/CrackingTheCodingInterview
16aa227e641b661b8cc6bbea34a8f7dd86749804
bfe36cf48cd047edbe0fe3371444d341c04555ec
refs/heads/master
2020-03-27T17:24:13.376234
2018-09-03T11:37:32
2018-09-03T11:37:32
146,848,431
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
def zeroMatrix(m): """ m: a matrix If element in m x n matrix is zero, sets entire row and column to zero e.g. 1 2 3 1 2 0 4 5 0 -> 0 0 0 7 8 9 7 8 0 Modifies matrix m Returns nothing """ # Approach: Iterate over all elements of matrix, add...
[ "rlcrisostomo06@gmail.com" ]
rlcrisostomo06@gmail.com
b54da0a37016d92c2647e2492dc40440cbd11337
bdfe5001eaef25b767615b7fe5cb73c32d08427f
/api/allergen/admin.py
715b2fcae16c8935e4d8f52aa18e71fe04e48f02
[]
no_license
dducluzeaud/Allergen
462afa5d47850d431112da9d9a2cd491711c0672
1073461e8100134d3fd7ad0d296c3f6b71823085
refs/heads/develop
2022-12-25T14:15:57.880666
2019-07-18T19:27:06
2019-07-18T19:27:06
139,955,843
0
0
null
2022-12-10T19:17:23
2018-07-06T08:26:07
Python
UTF-8
Python
false
false
3,874
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import User from .models import ( Additive, Allergen, Category, Ingredient, Nutriment, NutrimentComposeProduct, Product, Trace, Vitamin, VitaminComposeProduct, Pr...
[ "david.ducluzeaud@live.fr" ]
david.ducluzeaud@live.fr
945e1f553c53f149a5257df89cfd0aae397e9d11
9430f005c3de2a62962a1351f9d6d4a57264e2d4
/composeTiendita/dockerTiendita/tiendita/tiendita/wsgi.py
19a2123f71a6c0f34a69e8dc0f92b45e797ecb20
[]
no_license
xl666/tiendita
6555f5e480a73fa16e28ef5d38ee033a76b84af9
b067fb45a81c56fe84a3ca7ca4176676ac7e098e
refs/heads/master
2020-04-06T20:37:26.079522
2018-11-22T14:57:34
2018-11-22T14:57:34
157,777,670
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
""" WSGI config for tiendita 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 os.environ.setdefault("DJANGO_SET...
[ "xavier120@hotmail.com" ]
xavier120@hotmail.com
88328caa01f9345062f6c71ba6ec86c52c2b4132
96c884767f020cffd93e5572b9dfef65e4c29742
/Práctica 7/p7.12a.cuenta.palabras.py
d68f8fe11652a6ba5ab4a7b235781e64f743074e
[]
no_license
a-valado/python
bff790c0119b882b363277f792fa5dbc43a00de2
dfd52058bd5a19db983acd612ed7d4ad45856f78
refs/heads/master
2020-08-28T02:51:48.745396
2019-11-06T17:50:45
2019-11-06T17:50:45
217,566,950
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
#Albert Valado Pujol #Práctica 7 - Ejercico 12a #Escribir un programa que lea una frase, #y pase ésta como parámetro a una función que debe contar el número de palabras que contiene. #Debe imprimir el programa principal el resultado. #Asumir que cada palabra está separada por un solo blanco: print("Este programa cuent...
[ "avalado@cifpfbmoll.eu" ]
avalado@cifpfbmoll.eu
8382bb673699816c9d1b5f3f844adeedc5044dfa
0bdbeac4d853a3e53cfc8237546c784c0f6ddc44
/app/modules/turtleGrapher/turtle_utils.py
2d2e20115683455d293deb8328ee1134e76f308f
[ "Apache-2.0" ]
permissive
jamez-eh/backend
5129e8400193d82f54d81e6008e183a97c752857
bec1a7043c28be6e3ec12b8bc55ae1bb0d1b7699
refs/heads/master
2021-01-25T04:35:47.195251
2017-05-30T22:31:29
2017-05-30T22:31:29
93,452,777
0
0
null
2017-06-21T21:17:20
2017-06-05T22:30:17
Python
UTF-8
Python
false
false
3,475
py
import urlparse import config # this is the config.py from rdflib import Namespace, URIRef, Literal def generate_hash(filename): from hashlib import sha1 # the 'b' isn't needed less you run this on Windows with open(filename, 'rb') as f: # we apply a sort func to make sure the contents are the sam...
[ "kevin.kent.le@gmail.com" ]
kevin.kent.le@gmail.com
8c739165a6e3e1ef886537f46b1820b695a7ead4
039bcc5f447bf636ff68fbfef9ba461c1aa6b7c9
/lab_4/ex1.py
b1b3897bd49feeaf3b6c5330060b3159273ee1b0
[ "MIT" ]
permissive
davve50/d0009e
06439363feeeac95a52b00d9ccf5d40b0042808c
3af55d7fc9dbdb085a27298961557a60f379b773
refs/heads/main
2023-02-22T00:00:31.703467
2021-01-22T09:13:21
2021-01-22T09:13:21
317,813,418
0
0
null
2021-01-22T09:13:22
2020-12-02T09:34:25
Python
UTF-8
Python
false
false
2,352
py
def main(): temp = [] book = [] com = [] while True: ch = input("Phonebook> ") com = ch.split() if "add" in com: add(com,book,temp) elif "lookup" in com: lookup(com,book) elif "alias" in com: alias(com,book) elif "chang...
[ "davarv-7@student.ltu.se" ]
davarv-7@student.ltu.se
597d15f9483743209611d978a2f889f859a6aa82
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/test/test_put_order_action_trigger_dates_request_type_order_actions.py
f00aa4180e526b79d4133bf03d89dcfe4c1837b8
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,976
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
2edd6447fadbc8f2d5d7f0f1999ee008bc0bec11
278e00c80a4ef641a8899a4977ce1e9378d8ffa1
/tensorflow/mnist/tensorflow-mnist.py
c6c44d3c361df41913aba1342a91333112d9551e
[]
no_license
jjjhai/Python
6e570c349822bf770376c3369f86e2dfc8ccfe98
fee2b0b304071d50253b647aa6b4706bd6485fb5
refs/heads/master
2020-03-07T13:52:37.316600
2019-04-30T11:02:35
2019-04-30T11:02:35
127,512,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 25 20:44:01 2018 @author: Administrator """ import input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) import tensorflow as tf x = tf.placeholder("float", [None, 784]) W = tf.Variable(tf.zeros([784,10])) b = tf.Variable(tf.zeros([10])) y = t...
[ "1520997976@qq.com" ]
1520997976@qq.com
457d79392860d7287c6190a1cddadcbd53f1995a
b26406a338263ec6cb6d9391bb628cba0fa9e37b
/summary_ranges.py
930ad9819e1bed87b1cafa1a49f2449508508f25
[]
no_license
nhiggins13/leetcode
096e27d9945439f6b26470a4712102f1c7f290d5
f949a09c6a9251dc167fd807b412b86d5344977f
refs/heads/main
2023-01-29T20:35:41.472210
2020-12-01T23:20:17
2020-12-01T23:20:17
302,689,607
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
class Solution: def summaryRanges(self, nums: List[int]) -> List[str]: if not nums: return start = nums[0] curr_index = 0 results = [] while (curr_index < len(nums) - 1): curr = nums[curr_index] nxt = nums[curr_index + 1] if ...
[ "n.higgins1313@gmail.com" ]
n.higgins1313@gmail.com
61937d51bfde6945241775ba8c469abe3cd44364
19d9fe02d86e70d9106eb6e2f1f4ec4dc1999fc5
/src/estimations/routes/estimations.py
1e49cbca991954bc8975efaf41a3b2a8406cfb08
[]
no_license
arnulfojr/scrum-estimations-api
38f30dfcc31d8f0708e127b5187b8ff8b13862d1
5b9f645d99035982fd0affda42ec99485f0df46a
refs/heads/master
2023-05-10T23:03:23.815010
2021-05-26T13:13:57
2021-05-26T13:13:57
174,892,482
0
0
null
2023-05-01T21:14:21
2019-03-10T23:12:51
Python
UTF-8
Python
false
false
9,021
py
from http import HTTPStatus from typing import Tuple, Union from cerberus import Validator from flask import jsonify, make_response, request from estimations import schemas from users.models import User from ..app import estimations_app from ..exc import EmptyIdentifier, InvalidRequest, ValueNotFound from ..models i...
[ "arnulfojr94@gmail.com" ]
arnulfojr94@gmail.com
ee00695458ca20ce01b296e151090b8079029e0b
d922f18fe53cf7738d6d536e5c9bfd8f3cb7e202
/F20_3900_851_Group5/asgi.py
4030e48797e6a9f32472657de2a2952339cf06e9
[]
no_license
zhcsteven/public
0b4f075c7f42715c1b892afabfeea5bbfdf834eb
94358b7a256167a542c34f92f149dd93610ec1ec
refs/heads/master
2023-01-01T03:46:48.557855
2020-10-23T19:59:07
2020-10-23T19:59:07
306,734,455
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
""" ASGI config for F20_3900_851_Group5 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('...
[ "zhcsteven@github.com" ]
zhcsteven@github.com
d315787bb6b8a33384f02df4fd9358fc7f3ae68e
f359c953ef823cc44f7d87a3736c3e4fb1817c0b
/EDBRCommon/python/simulation/RunIIDR74X50ns/TTbar/TTaw.py
71536ff1fd213b3a0b0ae79234018df0b109d56f
[]
no_license
jruizvar/ExoDiBosonResonancesRun2
aa613200725cf6cd825d7bcbde60d2e39ba84e39
b407ab36504d0e04e6bddba4e57856f9f8c0ec66
refs/heads/Analysis76X
2021-01-18T20:00:57.358494
2016-05-30T21:30:19
2016-05-30T21:30:19
23,619,682
1
1
null
2016-04-22T18:38:45
2014-09-03T12:41:07
Python
UTF-8
Python
false
false
1,426
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/RunIISpring15D...
[ "jruizvar@cern.ch" ]
jruizvar@cern.ch
3e36c235549137785ce9d51fb36ee188d100364d
bbe7132e45134d015cd96f7ad10f7fd379b8112f
/Functions/TrainingDataCollection/CollectingData_Guided.py
0ed542957cc49c9e5f73e051ff18ec186eacab3b
[]
no_license
lxb1989/DeepClawBenchmark
e8dc770eabe813f87298e3ce9482b1f256f5f331
3f955c9faf82c7c2f20ed8165ef6eb80d1db564d
refs/heads/master
2020-08-25T07:08:50.035336
2019-10-22T09:35:19
2019-10-22T09:35:19
216,980,575
0
0
null
2019-10-23T06:06:27
2019-10-23T06:06:27
null
UTF-8
Python
false
false
3,149
py
import sys sys.path.append('/home/yang/python-urx') sys.path.append('/home/yang/Git/CobotBenchmark/Driver') sys.path.append('/home/yang/Git/CobotBenchmark/Functions') sys.path.append('/home/yang/Git/CobotBenchmark/ToolKit') from fc_predictor import Predictor from realsense_controller import RealsenseController import c...
[ "11510135@mail.sustech.edu.cn" ]
11510135@mail.sustech.edu.cn
068db76603c5e98e0f06eb9aa9ea1e6671dd2e65
d0fb46fb2868089663a4af80ea27509b57f55fce
/puffy/views.py
1b8a20418d8d38cfa26fdf400597c4908599f185
[]
no_license
javad-hub/original-puffy
cb90e44d43b5fb391ce7e8686265f2cefddd3852
caac094d2a60d984d7a2747792a35d2c613148f5
refs/heads/main
2023-04-02T19:52:36.364479
2021-04-13T12:57:55
2021-04-13T12:57:55
357,553,866
3
0
null
null
null
null
UTF-8
Python
false
false
293
py
from django.shortcuts import render from django.shortcuts import HttpResponse def about(request): # return HttpResponse('Hello this is puffy network') return render(request , 'About.html') def home(request): # return HttpResponse('Home') return render(request , 'Home.html')
[ "fasanehsepasian@gmail.com" ]
fasanehsepasian@gmail.com
4921da7ce88afd440d097cc404d7f4dd8e132cd1
fdc75f73274ae55d90e8085100d95c7f3452c1ae
/test_igseq/test_colors.py
03f1274ce616043875d9f9c328d5bb37debf185a
[]
no_license
ShawHahnLab/igseq
dc63b93eb11fecb8376fd5ffba31a7a6263e67d6
539868dab2041b7694c0d53e8e74cf1b5b033653
refs/heads/dev
2023-04-28T09:03:09.404590
2023-04-21T17:11:11
2023-04-21T17:11:11
415,071,017
1
0
null
2023-04-21T17:11:12
2021-10-08T17:20:30
Python
UTF-8
Python
false
false
1,921
py
from igseq import colors from .util import TestBase class TestColors(TestBase): """Tests for color-related helper functions.""" TRIOS = [ ([255, 0, 0], "#ff0000"), ([0, 0, 0], "#000000"), ([0, 136, 0], "#008800"), ([255, 255, 255], "#ffffff"), ] TEXT...
[ "ancon@upenn.edu" ]
ancon@upenn.edu
de0ac5a347c783cdbbd4f0a4d1abc51e230dce90
c3646f146bc5e2478f07da7ec004e1b783f48e99
/Server_Final.py
8e28c0e287d9d43cbd56432848154b1ccb4f8e9f
[]
no_license
comnet14/Chat_Program_Final
c6e0408227ce416c538b5802fbb3c8c0dc556ae4
e12ebe3be5b09e67d1536bc07d978c419fd5b1f5
refs/heads/master
2020-06-05T06:55:40.587548
2015-06-07T16:22:01
2015-06-07T16:22:01
37,023,174
0
0
null
null
null
null
UHC
Python
false
false
2,841
py
# socket 과 select 모듈 임포트 from socket import * from select import * import sys from time import ctime # 호스트, 포트와 버퍼 사이즈를 지정 HOST = '' PORT = 56789 BUFSIZE = 1024 ADDR = (HOST, PORT) # 소켓 객체생성 serverSocket = socket(AF_INET, SOCK_STREAM) # 서버 정보를 바인딩 serverSocket.bind(ADDR) # 요청을 기다림(listen) serverSocket.listen(10) ...
[ "skdbsxir@naver.com" ]
skdbsxir@naver.com
4af89df75f31f967c2e9fffac40bba2655d4eac1
7c568ca8675ee507d231dc3ddc2c26db8af81d3f
/app/measurement/migrations/0039_auto_20210423_2203.py
e4770737f85b702259b6e9732f4c900815cf5bca
[ "MIT" ]
permissive
pnsn/squacapi
ccfb458c7230fc5b0a0be7921eb6db611d8c646a
40d9608295daefc5e1cd83afd84ecb5b0518cc3d
refs/heads/main
2023-04-30T22:10:51.651835
2023-04-28T17:01:06
2023-04-28T17:01:06
176,352,115
7
0
MIT
2023-04-28T17:01:07
2019-03-18T19:03:32
Python
UTF-8
Python
false
false
3,213
py
# Generated by Django 3.1.8 on 2021-04-23 22:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('measurement', '0038_auto_20210414_1911'), ] operations = [ migrations.AddField( model_name='archiveday', name='p05',...
[ "jontconnolly@gmail.com" ]
jontconnolly@gmail.com
e06d790514e028de8404d51db547b5b990b4f864
4a5d9f129d5129b34c55171c99f83f0893ae5c11
/archives/migrations/0006_categorie_lien.py
1d61623e1a6f57d121b4c3b2cf399d28cc058f6f
[ "MIT" ]
permissive
fromdanut/syndicat-riviere
ec097cf9bf9aec8829069a2a93d4750a36d87a39
0fd099524a2a79d0932dbf8b87f8232d470308ad
refs/heads/master
2018-09-04T19:14:40.490656
2018-06-04T10:52:21
2018-06-04T10:52:21
103,665,673
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-15 06:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('archives', '0005_remove_categorie_lien'), ] operations = [ migrations.AddFie...
[ "remidelannoy@hotmail.com" ]
remidelannoy@hotmail.com
e174afa38ec2ea5f548eadf2273ad23fbf7cb7e9
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_105/324.py
9ddec5819097ba9f1a61905d441b8271fd8d44f7
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
class Item(object): def __init__(self, index=0): self.index = index self.parents = [] self.childs = [] def is_source(self): return len(self.parents) > 1 def is_dest(self): return len(self.childs) > 1 def get_dests(self): if len(self.parents): ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
5494e226e3046e745556744498dec3d1c5ebf016
b8b233a47ee590862f3e4e02aabd22c429c34de2
/CLIvmtracker/host.py
8804975187538b5e921fa23e1f40354c433bc7a6
[]
no_license
gskeats/WakeHacks19
91ce7fa0e94cc8eb13492574b98706de5ef2e067
73fc0714df201dd0daea89167bf90596b978e82e
refs/heads/master
2020-05-03T10:28:06.846924
2019-04-04T15:36:12
2019-04-04T15:36:12
178,579,590
0
0
null
null
null
null
UTF-8
Python
false
false
3,960
py
import subprocess class host: def __init__(self, name, key_type_string, key_string, descrip=None): self.names = name if ',' in self.names: name_split = name.split(',') self.domain_name=name_split[0] self.ip_addr=name_split[1] else: self.domain...
[ "gnskeats@gmail.com" ]
gnskeats@gmail.com
687a25694621f2e864b8c7dc5e552473ecff1887
241724e83f5c12ed9d7dd3b825dfe4e2b1b0f777
/pde/pdes/base.py
9cf1ac5b1fae6171c9a2c5dc4a00496021f9c523
[ "MIT" ]
permissive
xuanxu/py-pde
d8be358ab76d4060b14afc74bc7d836591c6188e
de33d938aea8680eff872ae1b64569895662a248
refs/heads/master
2021-03-09T21:37:13.920717
2020-03-10T12:18:03
2020-03-10T12:18:03
246,382,909
0
0
MIT
2020-03-10T18:54:22
2020-03-10T18:54:22
null
UTF-8
Python
false
false
11,150
py
""" Base classes .. codeauthor:: David Zwicker <david.zwicker@ds.mpg.de> """ from abc import ABCMeta, abstractmethod import logging from typing import Callable, Dict, Optional, TYPE_CHECKING # @UnusedImport import numpy as np from ..fields.base import FieldBase from ..trackers.base import TrackerCollectionData...
[ "david.zwicker@ds.mpg.de" ]
david.zwicker@ds.mpg.de
1966651437f609fc2be290d921ab2809c7cb13b0
a73f9df0b7e797a55aa40ce29ca94e981c33543d
/zxcmovies/movie.py
5b45156ef169449a910e18894d1e7d89a7edcd37
[]
no_license
XinuxC/SpiderMan
c7884de144ad9fbdf9e786798e91bcfa71348eb7
d2b193573b870881520bfed970d5c295eaf69e81
refs/heads/master
2021-09-04T02:56:45.838338
2018-01-15T01:01:18
2018-01-15T01:01:18
104,993,126
2
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
# -*- coding: utf-8 -*- import json import os import time import csv import requests header = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56....
[ "pishit2009@gmail.com" ]
pishit2009@gmail.com
7726a4a36d1e204ff71e6eba409b084dffa76440
b0be938d9a8059709d1f7f411c561773e52648bd
/doclink/clients/requests_.py
aca1c0057270ef3c7589edc276ff4d60d077080d
[ "MIT" ]
permissive
Luoyufu/doclink
83c10f485675e0c6ba4cf8c3a2be9ffc0512414d
41e57f7e9891f47579cf9131000d87bb8cc09d05
refs/heads/master
2022-12-10T06:49:45.177895
2018-03-04T15:06:17
2018-03-04T15:06:17
118,544,658
4
0
MIT
2022-12-08T14:59:06
2018-01-23T02:18:12
Python
UTF-8
Python
false
false
5,319
py
# -*- coding: utf-8 -*- import atexit import os import requests from requests_toolbelt import MultipartEncoder from six import string_types class RequestsClient(object): optional_args = ( 'params', 'data', 'headers', 'cookies', 'files', 'auth', 'timeout', 'allow_redirects', 'proxies', '...
[ "yufu_luo@163.com" ]
yufu_luo@163.com
4461735f7bd7281b7b767b8e879ce7b1b19e705a
993ff86a0c3a5fbb4e9e0e93cdb7ff0b40124e00
/wormpose/commands/predict_dataset.py
ccd7d3d8b336f34e609d7f0a86b5fc7dc9c25d64
[ "CC-BY-4.0", "BSD-3-Clause" ]
permissive
stjordanis/wormpose
e616a3cd3d4da7bf822697bf6578928e89a7a7d9
3e480fcf8eed720d9472b106e09c51c9853536c0
refs/heads/master
2022-11-25T03:27:15.834098
2020-07-14T08:33:54
2020-07-14T08:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,111
py
#!/usr/bin/env python """ Predicts videos using a trained model """ import logging import multiprocessing as mp import os import random import shutil import tempfile from argparse import Namespace from functools import partial from typing import Tuple import numpy as np import tensorflow as tf from wormpose.command...
[ "laetitia.hebert@oist.jp" ]
laetitia.hebert@oist.jp
4c83cd3d6d774829a84cb651754cc866c1ea95be
f9bf72c344413343242ad8a9f6c4b0abc767b334
/scripts/add_book.py
485b3666e9c844f60461b395decc4a2b5f069199
[ "MIT" ]
permissive
gskaggs/Refresh
494957f2e809e6ceb41ce53a35fb1816c8778bd8
f1d0a584b12d8c61db512742f457d8c585f8708e
refs/heads/main
2023-02-27T09:43:23.991791
2021-01-01T07:57:36
2021-01-01T07:57:36
320,148,127
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
#! /usr/bin/python3 from io_utils import load_data, save_data, json_path, multiline_input from card_utils import note_card, quote_card, flash_card def get_book_data(): title = input('Title:\n') thesis = input('Thesis:\n') defns = [] print('Abstractions') while True: name = inp...
[ "grant.skaggs@outlook.com" ]
grant.skaggs@outlook.com
1c506a903e67d279b3fce475941803929704354b
31312e5019ce3efd927216b737808131ce208265
/PyPoll_Challenge.py
b3cd0b70409cc507bc5187ad17ce29801192f2c1
[]
no_license
sabrinajc/Election_Analysis
32605b9736425ed6bf00b84a499865d4ad940427
4f0f27733dedb3835c8596bd3f8b70a1cad82df1
refs/heads/master
2022-11-29T11:42:52.122278
2020-08-03T02:03:44
2020-08-03T02:03:44
283,359,748
0
0
null
null
null
null
UTF-8
Python
false
false
5,415
py
# -*- coding: UTF-8 -*- """PyPoll Homework Challenge Solution.""" # Add our dependencies. import csv import os # Add a variable to load a file from a path. file_to_load = os.path.join("Resources","election_results.csv") # Add a variable to save the file to a path. file_to_save = os.path.join("analysis", "election_ana...
[ "hewang@hedeMacBook-Pro.local" ]
hewang@hedeMacBook-Pro.local
aaba80ff9c3f90ecc00e3675665a8f4debca40b3
5047a3f9be0ad269c4a8b9f2a61e537679620f29
/answers/advent-7.py
fc14a9428d727690ce15438fe6bdaffde18e5a36
[]
no_license
thedude42/adventofcode2020
2064b7d54e5fd7a299f361f9703679873998fd4a
56472557698a0bf70234e2b6717fba093882ed8e
refs/heads/main
2023-01-30T00:23:13.544006
2020-12-08T06:28:58
2020-12-08T06:28:58
318,718,016
0
0
null
null
null
null
UTF-8
Python
false
false
3,115
py
import sys import re from collections import namedtuple from typing import List, Dict class Bag(): ''' class to hold the 'contains' relationship for a particular bag type ''' BagRule = namedtuple('BagRule', ["count", "name"]) name_re = re.compile(r'(\w+ \w+) \w+') rule_re = re.compile(r'\s*(\d...
[ "sk8rdie42@gmail.com" ]
sk8rdie42@gmail.com
604df648d3c490b01fd3ac766baf552625a98caf
22a863f78432baf0cf28a924e3bc26555bef2e35
/test/testagent/HAagent_info.py
f7b855cb018e9d264722bf7072595e215d75d4c4
[]
no_license
Li-Shiang-Chi/atca-test-agent
be7294a1d9bcc30971abc29d8cb3dab080c417ea
441e352a72e085b5988a794ff731694b56fa8a2f
refs/heads/master
2021-01-23T00:40:07.206358
2017-07-10T11:36:00
2017-07-10T11:36:00
92,830,203
0
0
null
null
null
null
UTF-8
Python
false
false
6,111
py
#!/usr/bin/python #-*- coding: utf-8 -*- ''' @author: lsc ''' import shell_server import cmd_HAagent import file import json import HAagent_terminal def is_add_primary_success(parser): """ check is primary node add in cluster :param parser is a dict get from base.configure """ is_exists = is_nod...
[ "lsc830621@gmail.com" ]
lsc830621@gmail.com
5452fbedf431f88f306ddea67f5dd66c3d794a2a
c3a351afef234e7a4a69e348ab1dc90dd6455f1d
/supplies_control/migrations/0001_initial.py
9a23f860bd46da6d8fd5fa0b86db036810603cec
[]
no_license
ProgrammerBaldy/bunkers_backend
bf9ca170c18c94da5b5daf0f94b45e1d0bd3085e
d9dcfa34f59bf2349e2880ede7aa9e5c5b9c8706
refs/heads/main
2023-03-10T07:00:12.555231
2021-03-02T14:14:13
2021-03-02T14:14:13
337,581,522
0
0
null
null
null
null
UTF-8
Python
false
false
2,281
py
# Generated by Django 3.1.6 on 2021-02-10 13:08 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.AutoField(...
[ "tauanegri@corpstek.com.br" ]
tauanegri@corpstek.com.br
f868eeff27e7b4b07996e98e3f5ae73e36692f8c
f19df7e4cf34af41b17fb636d4c77ab32f93f20f
/Game tutorial/rpg_game/core/Marker.py
0d1bbe0ff377fa34804ba7afd2bb395390e0de79
[]
no_license
Sequd/python
2fcaa60ee0a535619b50ece0eb8bf9a43ad798e2
3a08ab1285b004f57266853384ed9ef4a91163d3
refs/heads/master
2021-07-10T02:19:40.922424
2021-04-04T15:05:15
2021-04-04T15:05:15
55,693,736
0
0
null
2018-05-11T14:39:59
2016-04-07T12:43:40
Python
UTF-8
Python
false
false
1,051
py
import pygame import random from Constants import * class Marker: def __init__(self, screen, x=250, y=250): self.screen = screen self.x = x self.y = y def update(self): pass def render(self): surface = pygame.Surface((160, 120), pygame.SRCALPHA) shift = ...
[ "e.korunov@gmail.com" ]
e.korunov@gmail.com
cbfdbf55f91029d39dfebc3f950e4dad9f0a19e1
0525edb3a79a46c73576b149c29ca83464c1e1fb
/finalproy/Scripts/pilfile.py
05d9f79a39f3f9b93b300bd6a1a70847ffcdb237
[]
no_license
alseb4991/proyprogweb1.0
88119407c111a82ede5b9fe23840a551c5a75ca6
5d98b7a34360c8a7fbb5135a4e809b6f9bfb2d82
refs/heads/master
2021-01-18T21:08:52.919164
2016-06-07T18:34:44
2016-06-07T18:34:44
50,890,379
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
#!c:\users\alan\desktop\finalproy\scripts\python.exe # # The Python Imaging Library. # $Id$ # # a utility to identify image files # # this script identifies image files, extracting size and # pixel mode information for known file formats. Note that # you don't need the PIL C extension to use this module. # # History: ...
[ "Alan Sebastian Fuentes Toscano" ]
Alan Sebastian Fuentes Toscano
5e05b6b9b39006785cc1c655918b72ebd92fe4a6
b7f856717e407c698453b3fddde74dc19cb81ebc
/solve/solver.py
abd766c05f81f527039bc8954dfadcd4ea596b74
[]
no_license
grace0925/sudoku-solver
22702915dbd290c1409d7d0840b93b51772e67f5
7e0a8e94b418dd5a1e3e259828e3b5f545da7369
refs/heads/master
2021-01-09T17:47:50.007917
2020-03-30T04:19:41
2020-03-30T04:19:41
242,395,747
0
0
null
null
null
null
UTF-8
Python
false
false
2,499
py
board = [ [2,0,3,8,0,0,0,0,0], [0,9,0,4,0,0,3,6,0], [5,0,0,0,6,3,0,2,0], [6,0,7,0,0,0,0,9,8], [0,0,5,9,0,0,0,1,6], [4,0,0,0,7,0,2,0,3], [0,0,0,3,0,4,0,0,0], [0,0,0,0,2,0,0,0,0], [0,0,8,0,0,0,0,0,0] ] def pretty_print_board(board): for...
[ "graceliu0925@gmail.com" ]
graceliu0925@gmail.com
c158869c44fbf7dbcc2976dabe27d6ba3b090513
615593c9b15afe1219bed38efe3adc32b947b6d2
/FaceRecognition-Webapp/DnnRecognizer.py
5691d7d1394151210e780ce5475fbdd895446512
[]
no_license
jbkarle/PyImageConf2018
7bc11f93f4a79195373eddd41deb21b9851bf597
be7f080487dbdb99e6f52941cc26b41123882caa
refs/heads/master
2021-09-22T06:57:34.313260
2018-09-06T05:18:29
2018-09-06T05:18:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,154
py
# License Agreement # 3-clause BSD License # # Copyright (C) 2018, Xperience.AI, all rights reserved. # # Third party copyrights are property of their respective owners. # # Redistribution and use in source and binary forms, with or without modification, # are perm...
[ "spmallick@gmail.com" ]
spmallick@gmail.com
4c1e07954b7f178a1cd06730975c36d9e49da4c4
b747f3ce4a372acc6079f6aa5e08dc0b4e942a8b
/Candy_135.py
716291e973b1e9a6f5a7a5e67e16f28a777a30cc
[]
no_license
yyang116/Leetcode-Journey
6a65ae7615ba6eb91f6d6a4914619366da47264a
0db77523d3f28a146646c877b7dbbe1c375666da
refs/heads/main
2023-08-10T21:26:32.103999
2021-09-24T12:30:57
2021-09-24T12:30:57
407,548,266
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
class Solution: def candy(self, ratings: List[int]) -> int: l=len(ratings) if(l<2): return l candy=[1 for x in range(l)] for i in range(l-1): if(ratings[i]<ratings[i+1]): candy[i+1]=candy[i]+1 for i in range(1,l): if(ratings[l-i-1]>rat...
[ "noreply@github.com" ]
yyang116.noreply@github.com
7c12aa31b26bf8faa5fa8916f6ea06e98186cba2
f722cfc58ffb73fb336cdbea28eeb264b928b21d
/testwebsite/testwebsite/views.py
c6e387d1d51afd1e3dbc3192827a0606eb18a6fb
[]
no_license
dipeshanandparab/DjangoCertificationProject
46b66626603b71831fcff9a9bdea9fb1ebfc1f76
d046c87d63d5eb1205e2ca189083a6ccd2f58572
refs/heads/master
2020-07-26T09:25:43.890549
2019-09-15T14:13:49
2019-09-15T14:13:49
208,603,238
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
from django.http import HttpResponse def blogPage(request): return HttpResponse("Blog Home Page")
[ "noreply@github.com" ]
dipeshanandparab.noreply@github.com
109a875760f5fc39260fd4abcf0b9b11c346051b
7950c4faf15ec1dc217391d839ddc21efd174ede
/explore/2020/september/Evaluate_Division.1.py
65d4246ab245ebe5ad135c0ae57a97572fd70b22
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
Python
false
false
675
py
''' Floyd You are here! Your runtime beats 27.33 % of python submissions. ''' class Solution(object): def calcEquation(self, edges, weights, pairs): graph = collections.defaultdict(lambda: collections.defaultdict(lambda: float('inf'))) for (i, j), weight in itertools.izip(edges, weights): ...
[ "838255715@qq.com" ]
838255715@qq.com
10f058e9cf7828acf4110b55d6c7158a21525c0c
eeee463b73fe69972401e28ae856e551f4c30567
/Digit Classification/custom_knn_implementation.py
ffccdf770bedcf5d20a3cd04a46c218c67b59b63
[ "MIT" ]
permissive
pushprajsingh14/Digit-classification-knn
828e2823809eb4795b9412bd00a2f315ddc2d7d7
65ae68c764159c8eb49358828e177df47e2b2ee5
refs/heads/master
2022-11-22T07:51:10.314289
2020-07-26T18:31:56
2020-07-26T18:31:56
282,705,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
import numpy as np from sklearn.model_selection import train_test_split data = np.load('./datasets/mnist_train_small.npy') x = data[:, 1:] y = data[:, 0] x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.33, random_state=42) class CustomKNN: # constructor def __init__(sel...
[ "noreply@github.com" ]
pushprajsingh14.noreply@github.com
9d97806e7191bf98ae9da511e9ccb752b0504f37
005d4c68695bacbab7a90d2e55567c1b6eeb2881
/tweet_EMR.py
0e67a53e2e688c473bc60037e7bea7e8541cf24a
[]
no_license
nishuranjan/kinesis-tweet-streaming
6c5f84e228ab0fb6cb05edd2f4a42a1df520432a
9676ccd9f1ac82d3db1862f26f4811adfeb0d3fe
refs/heads/master
2022-11-28T23:47:20.896421
2020-08-16T16:15:26
2020-08-16T16:15:26
277,126,772
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
from __future__ import print_function import sys import json import time from pyspark import SparkContext from pyspark.streaming import StreamingContext from pyspark.streaming.kinesis import KinesisUtils, InitialPositionInStream if __name__ == "__main__": applicationName = "PythonStreamingKinesis" ...
[ "noreply@github.com" ]
nishuranjan.noreply@github.com