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
555dc967aabaab2c6844ce81e8e30bd1621e7673
af368ad82efda90ca9de73c57f2822aa27a21044
/rigl/rigl_tf2/networks.py
ff96229cb5555728ea5fe8612ba59a1157351158
[ "Apache-2.0" ]
permissive
google-research/rigl
e24f05bfd872f31194a047cf1b3a0bfa12ab45aa
d39fc7d46505cb3196cb1edeb32ed0b6dd44c0f9
refs/heads/master
2023-08-25T04:54:29.014303
2023-01-13T13:40:32
2023-01-26T17:47:13
224,050,000
324
61
Apache-2.0
2022-07-04T22:02:04
2019-11-25T22:03:16
Python
UTF-8
Python
false
false
2,777
py
# coding=utf-8 # Copyright 2022 RigL Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
[ "evcu@google.com" ]
evcu@google.com
a34232d669a60814dd70d7f8cce498f46081295e
d3f5be1ef0a864425fce20e4ed849bdbe9b3f466
/core/migrations/0008_squad_lang.py
da3212ee2a34d47aa9ead854ada78734227e3de2
[]
no_license
maksymov/afi
8b0a52fa68ef2a88dc2dda5a03ff4404409cad26
32c3b3c0db49ccf386a755b27cfe197204204e3f
refs/heads/master
2023-04-29T07:45:29.750147
2023-02-26T21:39:17
2023-02-26T21:39:17
89,205,363
6
0
null
2023-04-21T22:08:54
2017-04-24T06:29:09
Python
UTF-8
Python
false
false
391
py
# Generated by Django 2.0.1 on 2018-02-02 15:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_auto_20180106_1715'), ] operations = [ migrations.AddField( model_name='squad', name='lang', ...
[ "mv@avex.pro" ]
mv@avex.pro
6574df2be9cc0aa3b9a36549a0b17e98e9412c1d
0115ce96ec893f61735f75ebe5aa36bfe3462f81
/msd/open_ascci.py
90c3710b220c4f88e2e09d484141dd385c2fc8cd
[]
no_license
michelypj/codigos
34b785dddd110162ed94ae48f4363cdb4c768d0f
b86c1688fded849821c8f1670649bb5235dbf08c
refs/heads/master
2023-03-08T23:46:07.568138
2021-02-20T15:25:17
2021-02-20T15:25:17
263,477,645
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
import numpy as np from datetime import datetime class openAscci: col0 = [] col1 = [] data = 0. def __init__(self, fi): self.col0 = [] self.col1 = [] self.data = open(fi) def readfile2col(self): for line in self.data: tmp = line.rstrip('\n')....
[ "mauricio.suarez@unipamplona.edu.co" ]
mauricio.suarez@unipamplona.edu.co
42763a8497b7623897230b660e72a3587b4b5b90
4768b35abc1f8ebac53f69fca3abcdd2a46dbcf7
/ch2/str.py
d8f962a5f0d78342a7657dd6223f0cfc7c372269
[]
no_license
forestnlp/vippython
bdfc53e5204a2bd6e5ffdd81d6be0529305f03c7
35154d3750e86091fc74dda2676591e6514caaaa
refs/heads/master
2023-02-22T02:07:48.763379
2021-01-28T00:52:17
2021-01-28T00:52:17
330,611,889
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
#!/usr/bin/env python # _*_coding:utf-8_*_ ''' @Time : 2021/1/13 10:14 @Author: user ''' str1 = 'Helloworld' str2 = "helloworld" str3 = '''春眠不觉晓 处处闻啼鸟 夜来风雨声 花落知多少''' print(str1,str2,str3) '这个字符串是注释' "这个也是" '''这种也是 还可以换行呢'''
[ "liujie5607@163.com" ]
liujie5607@163.com
fec0c96b66a278d7e3cee19d78201a699dbdb020
b6ad4b641b28cf37a867bb27582ab08dda53c19c
/ROB/stormBot_ws/build/catkin_generated/generate_cached_setup.py
da54ad5c043b926f3f4d6adc7f86443b798ed465
[]
no_license
DelgadoJosh/SeniorDesign
d3238f21902a65f33e79865921a32f28d8ac7fea
f3cb690668e9c4c06d73c53f9f614dca980ab964
refs/heads/master
2023-01-22T19:36:44.084466
2020-12-01T02:38:30
2020-12-01T02:38:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.path.insert(0, ...
[ "callummichaelcoy242@gmail.com" ]
callummichaelcoy242@gmail.com
e29b2f3eec6af3c2ad82eb822709cc5feec69d00
4e9ba32abcbb81c0cb281cc7b5e7a5892fb3ee3d
/utils.py
fe722123f3db956c3676215508e88ab1ea827e68
[]
no_license
mposypkin/nnuniglob
6832b8c96166c3ec54ae5db21c4721b44970b7ac
fc14ca3ab19f9ead39694ae27009b002b9069e01
refs/heads/master
2023-02-04T06:50:25.607048
2020-12-27T16:22:13
2020-12-27T16:22:13
323,061,407
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
def pijav(a, b, fa, fb, da, db): return (fa * db - fb * da + da * db *(b - a))/(db - da)
[ "mposypkin@gmail.com" ]
mposypkin@gmail.com
2cbdbe064e40500d8f25dfad3583b6f4a173164b
8c3279585805824377fe5269ad13953a2912ab49
/sdcard_content/models/trash/trash_main_program_m5stick.py
155f5402102955921143e5b3ae3c70d2f0afeecf
[]
no_license
IotGod/K210-Trash-Classification
24934be6f01bf40d61711c6dc0d5c9139ca838c5
cbab436861fbf54475166f2f78bf63d96665d2a1
refs/heads/master
2022-09-28T18:06:16.155485
2020-05-24T07:26:34
2020-05-24T07:26:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,412
py
# Trash Classifier - By: Julian - Di Mai 5 2020 # ===== Library imports ===== import sensor, image, time import random import utime import lcd from Maix import GPIO from fpioa_manager import * import KPU as kpu from machine import I2C # ===== Configuration ===== # Operation mode # Comment out when set in boot.py...
[ "j_schweigert@gmx.de" ]
j_schweigert@gmx.de
008fbee6f6e8efcbc1b87b7a300974d0ccfb60a4
87290c916593848452e8dbc1b4c504d33e9ea3de
/nova/flags.py
23e42bd30a69a544969eaad0f003ca8b2ed32d2a
[ "Apache-2.0" ]
permissive
781778304/nova
f45d318cde238309e1178b4022bffeb0d8787bec
05aff1959c9f94dae095635133386418390efb37
refs/heads/master
2020-03-07T05:51:20.699391
2018-03-29T15:14:12
2018-03-29T15:14:12
127,307,465
0
0
null
null
null
null
UTF-8
Python
false
false
18,287
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # Copyright 2012 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not...
[ "781778304@qq.com" ]
781778304@qq.com
ba79ccbb978bcafbf81db83fd7e2fa58372de286
1ec96ae64d42a735278c6ae718cc0205e846a79e
/qpwcnet/app/quantize/test_infer_tflite.py
45c4358b9a7326e67f1def3e95d1066e81d036f2
[]
no_license
fenguoo/qpwcnet
c3139c04787ecd8abf88d7aa7c106fd8715d92ab
3fa803d4b55d46559eb96543ce0683fa4dd4d737
refs/heads/master
2023-03-08T20:37:50.137699
2021-02-25T18:40:24
2021-02-25T18:40:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,352
py
#!/usr/bin/env python3 import tensorflow as tf import numpy as np import faulthandler import cv2 from qpwcnet.core.util import disable_gpu from qpwcnet.data.augment import image_resize, image_augment from qpwcnet.data.tfrecord import get_reader from qpwcnet.core.vis import flow_to_image from qpwcnet.vis.show import s...
[ "jchocholate@gmail.com" ]
jchocholate@gmail.com
40d07a435766b7b05fd6c3cfdb3b1ec4ba000f2b
8fe42fb556547bc60bd34b8c5230c01d7ef2dc89
/src/operaciones.py
c2b28d668244639975b2d9d79f52146085af3388
[]
no_license
Davidlazarog/Shark-Project
1c8b3225f41a32dbcabace88c776043aeac42066
e6baf3c346aa324566ac687af885a7abcd66b5a2
refs/heads/master
2022-12-06T20:03:15.679049
2020-08-31T19:06:54
2020-08-31T19:06:54
291,052,138
0
0
null
null
null
null
UTF-8
Python
false
false
1,788
py
def fatality(x): if x == "Y": return True elif x == "N": return False elif x == " N": return False elif x == "N ": return False elif x == "y": return True return 'Unknown' def Type(x): if x == "Unprovoked": return 'Unprovoked' elif x == "P...
[ "david@MacBook-Air-de-David.local" ]
david@MacBook-Air-de-David.local
11e3a016835e75036ea8902a59cb6d19e5fba1d5
ad8a182386d9cbffc5949e06435aee9dc65e79cd
/src/test/py/bazel/testdata/runfiles_test/bar/bar.py
a88b10b28ba73e4b68fbd2bcab7611e28f473e07
[ "Apache-2.0" ]
permissive
JefferyQ/bazel
2284f1792cc10b96fa485bfc7e54e064d2733750
e666d3b88efb59f2a8f10b18882c9f13801508d9
refs/heads/master
2020-03-06T19:08:35.713184
2018-03-27T16:18:53
2018-03-27T16:20:19
127,021,388
1
0
Apache-2.0
2018-03-27T17:18:14
2018-03-27T17:18:14
null
UTF-8
Python
false
false
846
py
# Copyright 2018 The Bazel Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
409c74fbf06e900fe649d5da5009e1495f72cda8
25dfd8a8257f7739c92cc9c1445789d3eb3ef935
/dataset_dicom.py
8b8e54fafefb82d62f5b51ea55406c3bfcee24af
[ "MIT" ]
permissive
TangDH03/PairedImageTranslation
0c04bed977138120414599ee3d4b6ed91ea706c7
9a580d265e3dfc8e102618fa9ea945ec38881a9c
refs/heads/master
2022-04-07T13:17:54.092479
2020-03-11T04:54:28
2020-03-11T04:54:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,219
py
import os import pydicom as dicom import random import glob from chainer.dataset import dataset_mixin import numpy as np #from skimage.transform import rescale from chainercv.transforms import random_crop,center_crop, resize from consts import dtypes class Dataset(dataset_mixin.DatasetMixin): def __init__(self, d...
[ "noreply@github.com" ]
noreply@github.com
368c49ceb3258d23f87c49bbb3df5214f20d328c
61f1ca177ab8b148df1584c6e433ae877c414a92
/extract.py
e25dbd83cf64738a50ffdb08dec92792d05fbff0
[]
no_license
alexlau811/swingman-video
533f3b3398513ad72a13072e9c1ecac64f3a91c8
28e146f4f95ed1b04e41c2828d8b66b7a3d88fa4
refs/heads/master
2021-05-14T18:38:53.233623
2018-01-03T03:03:30
2018-01-03T03:03:30
116,084,494
0
0
null
null
null
null
UTF-8
Python
false
false
2,018
py
#!/usr/bin/env python import os import sys import subprocess from datetime import datetime from highlighter.videotime import getVideoTimes from highlighter.scoringlog import getScoringLogs from math import floor SHOT_TIME_BEFORE = 15 SHOT_TIME_AFTER = 10 # ADJUST = - 7 * 3600 - 8 # adjusting the shot time. use negati...
[ "alex@lightfly.io" ]
alex@lightfly.io
d4d3db0d9c63d6caa39c78c51416d5cd71a05bf5
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/23fcae7c9e2969cf6c9ffb019dda90e2abce2337-<v2_runner_on_unreachable>-fix.py
a2bf157a0a16543a0a827efdc86b55d5841fa9c6
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
def v2_runner_on_unreachable(self, result): self._preprocess_result(result) msg = 'unreachable' display_color = C.COLOR_UNREACHABLE task_result = self._process_result_output(result, msg) self._display.display((' ' + task_result), display_color, stderr=self.display_failed_stderr)
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
26cbac367cc278d00e4d4abb6113728f5f6089cd
be756a50fbbad456e784fed9ba4e52b3e26ba044
/Part_3/Code/dnn_app_utils_v3.py
3c43580b0d6586e3dac15224e5583ac08407075f
[]
no_license
Salsabil007/Classification_with_Neural_Net
1abac915c278defe861c7b9ede4d9ce03e767914
707e663933facbda9a87053430a33e4cd4e379b0
refs/heads/master
2023-01-13T07:13:23.619445
2020-11-16T20:13:06
2020-11-16T20:13:06
313,404,920
0
0
null
null
null
null
UTF-8
Python
false
false
6,421
py
import numpy as np import matplotlib.pyplot as plt import h5py def sigmoid(Z): A = 1/(1+np.exp(-Z)) cache = Z return A, cache def relu(Z): A = np.maximum(0,Z) assert(A.shape == Z.shape) cache = Z return A, cache def relu_backward(dA, cache): Z = cache dZ = np.arr...
[ "salsabilarabishusmi007@gmail.com" ]
salsabilarabishusmi007@gmail.com
dafb2481608e35d2396e8ad3fe7bbe719a7aca68
0f5804933a1284d5afe1505f44ae5f50036f181c
/test.py
f8b422779e2fd173bf934784e40e025f7b6394a9
[]
no_license
Vladikasik/Kwork-offer--images
5614e524b3903b53f57557ee4c6836d94097e3c2
572d429df1bab567dbaf2f6fc42380a94b6221f5
refs/heads/main
2023-03-28T23:02:16.042599
2021-04-03T00:49:06
2021-04-03T00:49:06
350,522,424
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
from lat_lon_parser import * from haversine import haversine, Unit from random import randint from math import cos, radians a = to_dec_deg(55.0, 40.0, 51.64) b = to_dec_deg(37.0, 8.0, 15.02) print('first coordinates') print(a) print(b) num = 15 # from settings x_1 = randint(-num, num) pre_x_2 = int((num**2 - x_1 ** ...
[ "vsakayafignavlad@gmail.com" ]
vsakayafignavlad@gmail.com
1e01b2e8065535afb647be3e9f8bf98ae039a724
187abd71940fceab4220291b53f984fa28da25ad
/is_int_palindrome/tests.py
528b5511ae115e4bba4aee661c8edfd49c5de51c
[]
no_license
EmanuelaMollova/Programming101
69dcf2430ca4626b09c31384d7e4f22a4e565acc
812ff40ee93d6ef2c59040a4fb3ee854cc3e723c
refs/heads/master
2021-01-23T22:42:50.012564
2014-04-18T18:39:03
2014-04-18T18:39:03
18,041,720
1
0
null
null
null
null
UTF-8
Python
false
false
490
py
import unittest from solution import is_int_palindrome class IsIntPalindromeTest(unittest.TestCase): def test_is_int_palindrome(self): self.assertTrue(is_int_palindrome(1)) self.assertTrue(not is_int_palindrome(42)) self.assertTrue(is_int_palindrome(100001)) self.assertTrue(is_int_...
[ "emanuela.mollova@gmail.com" ]
emanuela.mollova@gmail.com
d6942f802ebb324f1d183331af8a70085d17d2a8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03260/s433501845.py
f916e360749b81eba126bb8d969b1f1e0e46b12a
[]
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
227
py
import sys def main(): a, b = map(int, input().split()) for c in range(1, 4): if (a * b * c) % 2 == 1: print('Yes') sys.exit(0) print('No') if __name__ == "__main__": main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c50124e6e37ed41624bd020b878be1a0fd742599
61a21ed2dcdfe9a43588c5582eea38ce8fdfcbf2
/akshare/stock/stock_dzjy.py
b132c81a9b31b7160848277fdb6ca9908ccb012b
[ "MIT" ]
permissive
huanghyw/akshare
44187c6c56872d499651bb62c178ee837c776388
ed84e937773c0420cc003793d74b73e64223e08b
refs/heads/master
2023-04-22T07:06:08.929307
2021-05-02T16:05:59
2021-05-02T16:05:59
319,346,216
13
5
MIT
2021-05-02T16:05:59
2020-12-07T14:32:08
null
UTF-8
Python
false
false
15,145
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Date: 2020/12/4 20:31 Desc: 东方财富网-数据中心-大宗交易-市场统计 http://data.eastmoney.com/dzjy/dzjy_sctj.aspx """ import demjson import pandas as pd import requests def stock_dzjy_sctj() -> pd.DataFrame: """ 东方财富网-数据中心-大宗交易-市场统计 http://data.eastmoney.com/dzjy/dzjy_sctj.as...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
3209c668a67a07c6ad75cfad7348b0fa17bc9382
eae3d77ac72c168cee7701462f1fc45d7d4dcd91
/SWEA/5653_줄기세포배양.py
352a068ba658b7efae977a5f073569e60fa98afe
[]
no_license
ByeongjunCho/Algorithm-TIL
ed2f018d50bd2483bd1175ff9bf7e91913c14766
ad79125a1498915fe97c1d57ee6860b06c410958
refs/heads/master
2022-07-19T15:12:23.689319
2020-05-18T08:37:09
2020-05-18T08:37:09
256,399,493
0
0
null
null
null
null
UTF-8
Python
false
false
1,765
py
# 5653. [모의 SW 역량테스트] 줄기세포배양 for tc in range(1, 1+int(input())): N, M, K = map(int, input().split()) # 행, 열, 시간 arr = [list(map(int, input().split())) for _ in range(N)] # 좌표를 dict 에 입력 cell = {} # 살아있는 세포 deadcell = set() # 죽은세포 for i in range(N): for j in range(M): if...
[ "jjgk91@naver.com" ]
jjgk91@naver.com
b316c6b3422f6f0e89d54126f90ae0769159746d
ba83681442bfe1927d5993d14991ef012e9b525c
/blog/migrations/0001_initial.py
977efdee435ac02a17ebde7fe60c7f3511cc49ee
[]
no_license
voltron995/mongo
9650fee7003e692998f27cc12702dc7182151f2b
a7283ff5d421fb0fbc38c6742e96a9e4448e173e
refs/heads/master
2021-01-10T01:29:27.022084
2015-11-18T22:34:10
2015-11-18T22:34:10
46,220,921
0
1
null
null
null
null
UTF-8
Python
false
false
934
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.Create...
[ "voltron995@gmail.com" ]
voltron995@gmail.com
f43f29913f14c6c491b3362f7dd1e59645f01a4c
e884b0075df707eb89882021eaf4ed4e59ceba69
/data.py
b6edbb5fe41085d232ca5892058a202ef8029985
[]
no_license
anishpdm/test-repo-herokku
8085f391cd04804e470fad922a327b14b5e7aac6
4147a00a20ba1664319985c898c5dd7f2d1ccdaf
refs/heads/master
2020-04-06T13:30:50.783799
2018-11-14T07:25:38
2018-11-14T07:25:38
157,502,945
1
0
null
null
null
null
UTF-8
Python
false
false
1,367
py
def Students(): students= [ { 'id' :1, 'name': 'Anoop', 'place': 'Calicut', 'mobile':9526674440, 'email':'a@gmail.com', 'joinedDate':'06/10/2018' }, { 'id' :2, 'name': 'Sanoop', 'place...
[ "anish.vilayil.s@gmail.com" ]
anish.vilayil.s@gmail.com
9fdd3488b08aac9dcc7849cddf2827b50a922925
07167fd260e26a875f233f22c5d06b8ba791fd20
/pallyneweb/pally/pallyauthenticate.py
f5ca5f41a255b0a180ef7580ced67063e338519b
[]
no_license
Egalaxykenya/pallyne
815b601fb30474bd251e42bdc55c3bb6c983aa22
f5e8d67de0b82b45a1bf21f4cd30dab5f30a0fea
refs/heads/master
2020-04-02T01:37:15.400676
2018-10-29T16:41:52
2018-10-29T16:41:52
153,866,350
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
from pally.models import PallyneUser class EmailAuthenticationBackend(object): """ Authenticates user's using email addresses """ def authenticate(self, request, username=None, password=None): try: user = PallyneUser.objects.get(email=username) if user.check_password(pa...
[ "onesmusemeka93@gmail.com" ]
onesmusemeka93@gmail.com
d32ec2ec1e6d48acbab2a974051878205f55a74e
a02bebf3a1701d200da84ff37c2b5247b134c4c3
/HMF/parallel.py
8059afd78c42b4b61ba2e61f077450f6f339df9f
[ "BSD-3-Clause" ]
permissive
mozjay0619/HMF
d95cc0926fa58ed61ef82cb2e4658d4c5c19ab5f
931017a09f8638bd2090a5f7f6258c9101293237
refs/heads/master
2023-06-03T18:49:25.472526
2021-06-26T06:34:45
2021-06-26T06:34:45
275,681,994
1
0
BSD-3-Clause
2021-06-09T00:47:33
2020-06-28T22:53:02
Python
UTF-8
Python
false
false
18,293
py
from .utils import stride_util from .utils import border_idx_util from .utils import write_memmap from .utils import read_memmap from .utils import printProgressBar from multiprocessing import Process, Manager, sharedctypes import itertools import numpy as np from collections import defaultdict import time from . imp...
[ "jkim2@grubhub.com" ]
jkim2@grubhub.com
92faa269bee64d1a4ef29e2338aaf69f019ccdd4
290e18756f3d3b9c0d478ea4fb0463b913670955
/scripts/draw_slice_surf.py
bd032e979b322e0a200a62396947d855111ee9e9
[]
no_license
changgoo/pyathena
7555f5f22af7d5481e55576726831a6ca3f580db
8bed2cb372e8920ab39d5e4adcce70fb74736e26
refs/heads/master
2021-06-18T08:33:14.148439
2021-05-01T00:26:14
2021-05-01T00:26:14
48,155,840
8
2
null
2018-04-02T19:44:03
2015-12-17T06:06:23
Jupyter Notebook
UTF-8
Python
false
false
4,263
py
import matplotlib as mpl mpl.use('agg') import glob import sys,os,shutil import pandas as pd import numpy as np sys.path.insert(0,'../') from pyathena import get_params from pyathena.plot_tools import plot_slices,plot_projection,set_aux import pyathena.plot_tools.movie as movie from pyathena.utils import compare_file...
[ "changgoo@princeton.edu" ]
changgoo@princeton.edu
bd3345038ec85a214617ddf9be66688f7603808d
dd04b80af043eefebf7bb84291a5ac98f6335cb5
/p01-src/modules/cp3.py
61d004cd7bec9ba9f2bf211876364f4bb450349d
[]
no_license
isEmmanuelOlowe/CS3052-P1
19f31bffcd8837579ade40cee34f1ba111ee5e01
09d2df0c30c2c7f2d73a566e0b912a86aa4590a0
refs/heads/master
2023-03-19T01:22:41.129162
2021-03-12T20:11:06
2021-03-12T20:11:06
342,441,206
0
0
null
null
null
null
UTF-8
Python
false
false
2,583
py
import math from modules.bruteForce import closestPointsBF, distance ''' Given a space of points determines the @param space: the space of points as 2D array @return the smallest distance of points in 2D space and the 2 points ''' def ClosestPoints(space): length = len(space) #brute forces for values small t...
[ "eo32@st-andrews.ac.uk" ]
eo32@st-andrews.ac.uk
d46f33bd71e986de6e1a43afca1f4ec65a81549a
6a33c8a4ec60455221a4d5a93cb6a9fc94917c80
/clientapi/__init__.py
b25140d0f2a61a1d4aab4a54d13ac7801978df50
[]
no_license
gibil5/clientapi
a15debba4da3de363d1cf8337e32e25adbabe960
44a2f218124dbe76dd11cf8d9ba5e8726265ab26
refs/heads/master
2023-08-15T01:06:51.496610
2021-09-19T18:30:59
2021-09-19T18:30:59
408,204,793
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
from . import responses from .client import ClientAPI, ContentType from .exceptions import APIClientError, APIHTTPError, APIValidationError from .parsers import parse __all__ = [ "responses", "ClientAPI", "ContentType", "APIClientError", "APIHTTPError", "APIValidationError", "parse", "s...
[ "gonzalo.saad@electric.ai" ]
gonzalo.saad@electric.ai
91e455468bb1ef2f7a78aea9ef3d1e2527c5efc5
b3892d39e19327bb5baf6f8ae092e00ab9c9ac9f
/coding_problem/improvedTabPy.py
32db253b821da1609f59a321895f6ae630811419
[]
no_license
lagerratrobe/utilities
7b1fcd5705a51bf430cc257ed6c46072591004c2
67df1a60d67911d85c640b6818fcd0d7a572ad3b
refs/heads/master
2021-01-13T01:26:04.374342
2018-03-15T23:55:07
2018-03-15T23:55:07
35,845,396
0
0
null
null
null
null
UTF-8
Python
false
false
4,715
py
#! /usr/bin/python """ WKT ?PointInPolygon? script for Tableau """ import os import csv from osgeo.ogr import * #-------------------------------------------------------------------------- #Input Data Vars & Working Data Dictionaries workDir = "./" inPointsCSV= "zip.csv" inStatesCSV= "states.csv" outFile = "someFi...
[ "randre@gmail.com" ]
randre@gmail.com
40c6ac555563c8894cc8736fe8db3b3220b8438c
8789835998482a1fe6816309f93b85180a417414
/students/paul_anderson/sessions3/list_lab2.py
676aa646af5c15e34d6753f2f3255db95cdaee46
[ "Unlicense" ]
permissive
Panderson16/IntroPython2016
85cddd468e0589c42e516fef02bc2144a588493e
92a15e4b2eb6bfe24d746e81b75dc18c8a3e0e58
refs/heads/master
2021-01-11T00:32:27.153542
2016-10-26T00:54:05
2016-10-26T00:54:05
70,517,705
0
0
null
2016-11-02T22:56:15
2016-10-10T18:40:45
Python
UTF-8
Python
false
false
231
py
#!/usr/bin/env python3 fruit = ['Apples', 'Pears', 'Oranges', 'Peaches'] print(fruit) fruit.pop(-1) print(fruit) n = input("pick a number between 1 and %s -->" % (len(fruit))) pop_n=int(n) fruit.pop(pop_n-1) print(fruit)
[ "pnderson1@gmail.com" ]
pnderson1@gmail.com
a6f241258e356045e41bbe465566b70267763281
c601f59a620ed05683676a22b0ce3039a98af373
/talkShow/tools.py
627a6fce024dc603e4afe3619df4592fb4a31361
[]
no_license
luong-hoang/talkShow
dea5c6efe7814e6af814aa26c89112fd879c35ee
01e9e0f6f17f4ad7f963e01f48ae870053c58eed
refs/heads/master
2021-05-07T01:17:53.232690
2017-11-26T06:31:08
2017-11-26T06:31:08
110,235,645
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
class Tools: @staticmethod def md5(string): import hashlib encode = string.encode('utf') return hashlib.md5(encode).hexdigest() @staticmethod def list_empty_value(li, mode): if mode == 'int': func = int checker = 0 elif mode == 'str': ...
[ "luong.hoang@ceresolutions.com" ]
luong.hoang@ceresolutions.com
c6786c9dbf4949ae65f9b5146056f5c8542d97d3
76658a65823ea493038c1d037eb0bc1eda6733d3
/chapter8/decorator.py
1af2950bea033ac2d44c7197d914df3b0ee7bdea
[]
no_license
Asunqingwen/OOR_Edition3
2f14446f26a6615aea58920f67f6656c74257c4c
92481b15fc365f8d5b903f6e5eb0974e9ff2af33
refs/heads/master
2022-08-15T05:49:33.619528
2020-01-13T01:53:47
2020-01-13T01:53:47
230,414,693
0
0
null
2022-07-29T23:04:04
2019-12-27T09:33:05
Python
UTF-8
Python
false
false
933
py
# -*- coding: utf-8 -*- # @Time : 2020/1/7 0007 14:40 # @Author : 没有蜡笔的小新 # @E-mail : sqw123az@sina.com # @FileName: decorator.py # @Software: PyCharm # @Blog :https://blog.csdn.net/Asunqingwen # @GitHub :https://github.com/Asunqingwen # @WebSite : labixiaoxin.me import time def log_calls(func): def wrapper...
[ "sqw123az@sina.com" ]
sqw123az@sina.com
8cf4dc7a23e8277b21766c6ca1e0ab65fb713c2a
7642b5654ce3260d264db8b05737d5f772c616ec
/venv/bin/easy_install-3.8
0f968af52ac079ac8f171e9d752a571ee94d86e5
[]
no_license
Einar-Storvestre/min-python
5470af0cef9b183c3ff2d232df8a72b93a266b66
35ad890e974e509f169029b3bf2a37eb291a1814
refs/heads/master
2022-09-16T07:31:26.777193
2022-08-16T09:06:01
2022-08-16T09:06:01
251,105,460
0
0
null
null
null
null
UTF-8
Python
false
false
460
8
#!/Users/tullusmaximus/PycharmProjects/hellophyton/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "tullusmaximus@Eiriks-MacBook-Air.local" ]
tullusmaximus@Eiriks-MacBook-Air.local
2576f671397537847ead9f33f72b37b62d262c6c
61004e474b7b2ad0071c16766f0f7874f04f9466
/examples/dataflow-xml-pubsub-to-gcs/python/beamPubSubXml2Gcs.py
714dcc12868880a5d623a66cf9fb253735ed5a8a
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/professional-services
eb79751efae765a8c691a745e520f44f51bd715c
0f51121b945bd74c7f667e74e8861fceda87565c
refs/heads/main
2023-09-05T02:57:33.328973
2023-08-30T14:40:30
2023-08-30T14:40:30
91,730,359
2,626
1,381
Apache-2.0
2023-09-14T20:13:42
2017-05-18T19:29:27
Python
UTF-8
Python
false
false
6,666
py
# Copyright 2023 Google LLC # 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 # https://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, sof...
[ "noreply@github.com" ]
noreply@github.com
b46a86075fb004ac83ffb972bab3faaefd55399e
2cddd9c45de6d2b96e88064666a8650e1c4bf243
/neutron/tests/unit/services/revisions/test_revision_plugin.py
4111893fb1cff539a1a0aab7f3dee3df8c877f6d
[]
no_license
fcxliang/lzf5-study
ca53e2ba70a00e02bb9d8a77b6820407d88e388e
5a205c415f609a0921d23b93140957fe4884b61c
refs/heads/master
2021-09-04T20:28:45.926306
2018-01-22T06:29:08
2018-01-22T06:29:08
115,397,367
0
0
null
null
null
null
UTF-8
Python
false
false
7,917
py
# 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 required by applicable law or agreed to in...
[ "34838867+fcxliang@users.noreply.github.com" ]
34838867+fcxliang@users.noreply.github.com
1a6633f141b7652edc1bf10b12c419edb0753ad1
a7ada7f69777a3a168e30a9b02ea5cf3a485dbb7
/zombie_attack/player.py
0dc01cedbbf525a84b9fe833cbc01b6298e4380f
[ "Apache-2.0" ]
permissive
mastah43/zombie-pygame
a359dd4f1f0de0420cdd09b92ebf1c82222f37fe
ca734da6391f31cbf5e153802ef4d5ab3085a8ac
refs/heads/master
2020-08-01T11:53:53.458090
2019-10-02T21:51:07
2019-10-02T21:51:07
210,989,012
0
0
null
null
null
null
UTF-8
Python
false
false
4,012
py
import pygame import math import logging import typing from . import weapon from . import animation from . import life from .gfx import gfx _log = logging.getLogger(__name__) class Player(pygame.sprite.Sprite, life.Life): ROTATION_IMAGE = 0 # soldier is facing top but 0 degrees is facing right WEAPON_OUT_D...
[ "marc.neumann@bmw.de" ]
marc.neumann@bmw.de
aa7d5492970481f8d5ecd055913b223e31a05a4a
f93ea26173e6b72ff46b3abb2a5250bfb0636cdd
/tests/test_multiple.py
fc19b1449f2d61c628ba768b08192cf784420648
[ "MIT" ]
permissive
eng-tools/eqsig
53d1dc695ffbe132a7fef871d825d9b7011f821c
8a70f4c7152bc0f0901d457b6acbca256d1a6473
refs/heads/master
2023-02-26T06:58:43.243878
2022-08-16T03:23:04
2022-08-16T03:23:04
125,842,866
22
10
MIT
2023-02-08T00:41:12
2018-03-19T10:46:43
Python
UTF-8
Python
false
false
720
py
import numpy as np from eqsig import multiple def test_same_start(): time = np.linspace(0, 102, 10200) acc = np.sin(time) dt = 0.01 cluster = multiple.Cluster([acc, acc + 0.3], dt=dt) cluster.same_start() diff = np.sum(cluster.values_by_index(0) - cluster.values_by_index(1)) assert diff <...
[ "maxim.millen@gmail.com" ]
maxim.millen@gmail.com
f448fb85f2fa97dfe22916d51c24dde06f126299
910c97ce255f39af7ef949664b4346e8cb5d6a0e
/managerlib/dblib/.svn/text-base/db_cloudfs_account.py.svn-base
a35cee46cf8948ff6bed248f5925041ed5a0724e
[]
no_license
sun3shines/manager_monitor
f3742a4fde95b456f51d0a18feb78f3d4048c560
f49d741203d8476f2249a49d90fecc86143ac622
refs/heads/master
2021-01-17T06:47:14.375088
2016-04-29T06:43:05
2016-04-29T06:43:05
57,361,217
0
0
null
null
null
null
UTF-8
Python
false
false
997
# -*- coding: utf-8 -*- from urllib import unquote from managerlib.db.db_account import account2id,insert_account,account_exists from managerlib.db.table.stobj import delete_stobj # atdelete -> db_cloudfs_account_delete # atput -> db_cloudfs_account_put # atexists -> db_cloudfs_account_exists # athead -> db_cloudfs_a...
[ "sun__shines@163.com" ]
sun__shines@163.com
bec4c93a740437135214e47923fb069380ba88e1
eb61d62ca1f6f0123e3771105f5dfbbd6115138d
/.history/19-22-07-21_20210905233329.py
1c3e07808a594a922ce4ec611612db0be63d70cf
[]
no_license
Alopezm5/CORRECTO-2
e0f14bcc3a88c0e222d10e3261e68532008bc42e
223613f1fb04dce3fac9f82f243cb2f22fe100f3
refs/heads/main
2023-07-29T06:52:48.147424
2021-09-12T20:33:27
2021-09-12T20:33:27
388,995,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,447
py
class MENU (): def __init__(self,titulo,opciones=[]): self.titulo = titulo self.opciones = opciones def menu(self): print(self.titulo) for opcion in self.opciones: print(opcion) opc=input("Elije opcion [1 ..... {}]:".format(len(self.opciones))) retu...
[ "85761855+Alopezm5@users.noreply.github.com" ]
85761855+Alopezm5@users.noreply.github.com
d695ad049080c48dcaa3a1237f11fc22978f1b28
8ae2b500900f04a10e0b04172203cf0982b43e08
/dijkstras_algorithm.py
f0a4d5da1154880c995a789f2bd950b7e6df8239
[]
no_license
CSamuelLents/data-structures-and-algorithms
7c97c5df67d4e1db710c2f4eea918f3351da2367
aa71ee5615e9cb32ba4e2345f70a283b30ea4779
refs/heads/main
2023-06-22T14:03:25.260333
2021-07-11T14:34:20
2021-07-11T14:40:05
384,971,072
1
0
null
null
null
null
UTF-8
Python
false
false
4,065
py
""" Note Dijkstra's algorithm can solve the single-source shortest path only when the edges have non-negative weights. In other words, Dijkstra's algorithm can not work if: There are edges with negative weights. There are negative cycles (in directed graphs). A negative cycle is one that has negative weights. It can r...
[ "sam@samlents.com" ]
sam@samlents.com
ee1d4a001ae94f7e9140b3ce1b57fe45088543f6
696e8136a89a7feff3d3194d74029f234a1e8960
/figs/plot.py
c64d919cdfb4cf75fa763f2f7ef11f8216fcabf8
[]
no_license
uenian33/practical_accelerated_imitation_learning
56426f1af929bb671a12c484ebfdd4baf579addf
bb8f48349b62450d0bb1e27f6fa357207bad4c66
refs/heads/main
2023-07-05T13:13:36.938271
2021-07-26T13:46:54
2021-07-26T13:46:54
327,422,539
0
0
null
null
null
null
UTF-8
Python
false
false
15,885
py
from csv import reader import numpy as np import matplotlib.pyplot as plt def plot3(): origin = '/media/wenyan/data_nataliya/imitation_learning/pwil//tmp/d4pg/pwil/Humanoid-v2True/3b2f7ad4-3d71-11eb-b89e-d58564420ca4/logs/train_logs/logs.csv' v1 = 'logs/run-human-tag-reward.csv' new_log = '/media/wenyan/d...
[ "wenyany94@gmail.com" ]
wenyany94@gmail.com
0fbc76d0300d598b7281028957299fbf30355f1c
24de7e00fc6888efe2540d078d4bada6b21174ae
/glue_jupyter/ipyvolume/volume.py
c14a3500bd5b6ef0f413a9b7f7c63bf6c5dcc0f6
[]
no_license
NoahLiot/glue-jupyter
542e136f0688c98380b46ab8d7cb68dd577fc57b
012703c603c5eae7c99ab93d832eb60f307e3c95
refs/heads/master
2020-03-27T05:15:10.485726
2018-08-09T10:16:29
2018-08-09T10:16:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,775
py
import ipyvolume as ipv import ipywidgets as widgets import traitlets from IPython.display import display import numpy as np import matplotlib.colors from .scatter import IpyvolumeScatterLayerArtist from ..utils import reduce_size #from glue_vispy_viewers.common.layer_state import VispyLayerState from glue_vispy_view...
[ "maartenbreddels@gmail.com" ]
maartenbreddels@gmail.com
de8b31435892d51be20ca0c2bc785810e494e60a
3f482959d60addea8a52d99d57cf5618184a1b66
/karty/admin.py
4561e3bebcacabd2446075068f540f3df8ca99b7
[]
no_license
Michocio/Wason-selection-task
1a0460bdff93ca78a36b2335ccb87c835e10dae5
76c10b0cdb4f17910213aba4069cf86fdda108cd
refs/heads/master
2021-07-05T08:29:50.487256
2017-09-25T12:56:00
2017-09-25T12:56:00
104,741,910
2
0
null
null
null
null
UTF-8
Python
false
false
2,364
py
from django.contrib import admin from karty.models import ExperimentSettings, User, Task, Card, GIL_data, Session, Task_data, Task_presented, Training from karty.models import CurrentSettings class CurrentSettingsAdmin(admin.ModelAdmin): def has_add_permission(self, request): return False def has_dele...
[ "micjaron@gmail.com" ]
micjaron@gmail.com
9b4b612b3a4ecb92a5e3d49a7c3542aa71ddf155
b81196fccdae95b037514f8a8aee63ee6d9af753
/app/migrations/0002_auto_20190710_1939.py
363efb33e468c1b9de5f76e4783305028f1ee8c0
[]
no_license
kametanir/book-stand
ad6a6693f43aee3f3cb6fb3dd490eacd46935c94
be5c1a722cbab2f4fe8fa21cd26a6579292144a3
refs/heads/master
2020-06-24T10:00:43.547530
2019-07-25T11:42:09
2019-07-25T11:42:09
198,933,270
0
0
null
2019-07-26T02:37:36
2019-07-26T02:37:36
null
UTF-8
Python
false
false
602
py
# Generated by Django 2.1.2 on 2019-07-10 10:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.AddField( model_name='item', name='rent_date', field=...
[ "kiriharat@nttdata-bizsys.co.jp" ]
kiriharat@nttdata-bizsys.co.jp
d7b71a60adc000b53cc2c6115930660568e04bbc
3d851f0fdf35ad307fae0ea1a73e64296a6ddb74
/Product/migrations/0006_loginconfig_logintype.py
5271305917ff7ab28009418cf45d2786b7962791
[]
no_license
Greeyzyang/Autotest_platform
11125d9f12ed4170475ad843608a720d030a6966
254dde8dcaff5bc6d2d6eecbf17817afd56379e4
refs/heads/master
2023-05-20T04:59:06.549940
2021-06-01T08:43:34
2021-06-01T08:43:34
372,760,860
2
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 2.1.7 on 2019-07-02 11:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Product', '0005_auto_20190627_1542'), ] operations = [ migrations.AddField( model_name='loginconfig', name='loginTyp...
[ "781562942@qq.com" ]
781562942@qq.com
f1fe13309cbc9a4d58541d18427a884b37bec67c
4d8c17bbe8a0799748fdc0c58b6196fbd127851d
/app/core/tests/test_admin.py
aed7d3f893921bfbb520243e58e5f8dd13e4bc5a
[ "MIT" ]
permissive
mojjoGh/recipe-app-api
30e0adc801edcd5a1175c1e3e5b44e46db4d03c4
340bbe0e1c38f99aed1f7fb95bfc73792aa67793
refs/heads/master
2020-07-05T05:29:21.104424
2019-08-20T04:55:39
2019-08-20T04:55:39
202,537,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
#this is where we're going to store all of our admin page unit tests. from django.test import TestCase, Client from django.contrib.auth import get_user_model from django.urls import reverse class AdminSiteTests(TestCase): def setUp(self): self.client = Client() self.admin_user = get_user_model()....
[ "andrew3rdtupag@gmail.com" ]
andrew3rdtupag@gmail.com
5b2c708cc388d8ee2ab64b10b74e9c8b6ccf2c83
f0a87b299f2a2c2daef1330d28f609d679904958
/test/matchers/test_with_text_matcher.py
9717c1d8937a3d66b996eb20ed75998b782fda9e
[ "BSD-3-Clause" ]
permissive
testinfected/cute
a0a8b9fe8e51bc5f9bb02777faf5cb44d22af6d3
9485f2df142a5fcb9f1414683aab8bf476b9c277
refs/heads/master
2021-01-22T17:33:30.137030
2016-08-02T20:08:47
2016-08-02T20:08:47
64,788,519
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
# -*- coding: utf-8 -*- from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets import QLabel, QLineEdit, QWidget from hamcrest import assert_that from hamcrest import is_ from cute import matchers def test_matches_widgets_by_their_text(qt): label = QLabel() label.setText("some text") matcher = matchers.wi...
[ "vtence@gmail.com" ]
vtence@gmail.com
0b01b06bed36ac305533e5d679c79fef3d4f9cc3
df42b0d05038a2940606591d548637bc51d6573d
/stage3/base/project/wiki/user/urls.py
80068e4542b745dec6e035c8b50d24820734e01f
[]
no_license
ThreePointFive/aid1907_0814
440113f5ae2df28e53a088bd3ea420d5558214b4
99eea9aafdf8211278425c33aba2e64d5eb2500b
refs/heads/master
2022-12-03T19:31:21.085608
2019-11-09T06:25:33
2019-11-09T06:25:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
from django.conf.urls import url from . import views urlpatterns=[ url(r'^$',views.users), # 127.0.0.1:8000/v1/users/<username> url(r'^/(?P<username>\w{1,11})$', views.users), # 127.0.0.1;v1/users/<username/avatar> url(r'^/(?P<username>\w{1,11})/avatar$', views.users_avatar), ]
[ "760343741@qq.com" ]
760343741@qq.com
057ffeb95a758d6e6ec313528500b380df8f3d49
7634b5c4517f69c09f7a4568c233146dddb37dfe
/MD_day_dict.py
566759caf6c62286610103baebccb032c2f11278
[ "MIT" ]
permissive
emi-aimy/musicsearch
ba0521b1b3713e07edcde5a7123293dd0fc8f07e
0fd6a14a5a276c2d4cb3cfd934b2f53431c4800b
refs/heads/master
2023-03-19T09:19:42.945463
2014-09-15T23:37:56
2014-09-15T23:37:56
588,507,375
1
0
MIT
2023-01-13T09:37:00
2023-01-13T09:36:59
null
UTF-8
Python
false
false
969
py
d = { 'brahms_rhapsody_01.wav': ('Brahms Rhapsody Op.79, No.2', 'J. Brahms','G minor','Piano','Lili Kraus'), 'brahms_rhapsody_02.wav': ('Brahms Rhapsody Op.79, No.2', 'J. Brahms','G minor','Piano','Martha Argerich'), 'debussy_toccata.wav': ('Debussy Toccata from Pour le Piano', 'C. Debussy','N/A','Piano','Boris Feine...
[ "kiemyang@gmail.com" ]
kiemyang@gmail.com
2dabdb91e5008cd3bc2ce894056531a6897a1ce9
91aee5f06da368fcc7803fbb5b789c2be0b3bc62
/ch3_stacks_queues/interview_questions/iq_4.py
abdf0ef0332afa50fa878fbee6e3bf1de8b6d7a8
[]
no_license
lperri/CTCI-Practice-Problems
b50079ce346e2fc9da4296e02b4e62c28b9ea76d
f432684370ecc76290d429d98f274e1baa7cbb90
refs/heads/master
2021-06-17T08:29:29.035209
2021-03-02T03:05:27
2021-03-02T03:05:27
178,478,850
0
0
null
null
null
null
UTF-8
Python
false
false
1,694
py
# implement a MyQueue class which implements a queue using two stacks from typing import Any, List class MyQueue: def __init__(self): self.stack = [] self.temp_stack = [] def _transfer_stack_to_temp_stack(self) -> None: while len(self.stack) > 0: self.temp_stack.append(self...
[ "leahperri2017@u.northwestern.edu" ]
leahperri2017@u.northwestern.edu
bbb89ab34af2b2b7100b0fe7a3a97e9f61d54f40
9d74cd074b1e2118951f0094655785f4c9ee2e96
/4_0_pca_kmeans_svm/principal_component_analysis/pca_main.py
d4a2254397cdcd0b7f1a8d6ae1b749980159a3d3
[]
no_license
shadimsaleh/ai_for_robotics
fa64a7d7723dc97121833523e88dadaeed4f85b6
8afbd092ac45e8e70e1c60c892e83206160c9847
refs/heads/master
2021-01-11T14:02:02.623731
2017-06-13T09:12:44
2017-06-13T09:12:44
94,936,099
1
0
null
2017-06-20T21:21:24
2017-06-20T21:21:24
null
UTF-8
Python
false
false
1,158
py
import numpy as np from sklearn import preprocessing import matplotlib.pyplot as plt # Load the dataset of orb features from file. orb_features = np.genfromtxt(open("orb_features.txt")) orb_features = orb_features.T orb_size = len(orb_features[:, 0]) # TODO: Compute covariance (exchange the value for None). cov = Non...
[ "abel.gawel@mavt.ethz.ch" ]
abel.gawel@mavt.ethz.ch
a413f816e6defcd241593e88094337aa3196b7e9
c4dbf8577eb1d33ccbe8c18b49234e8ab4753abc
/examples/spline_path.py
286be247a2ed6fbf5cc9addbd9242e98f34672f6
[ "MIT" ]
permissive
zplab/RisWidget
ca6e8f90446c30152ba0f0acebe867aa19813a29
657726e2c74b14a5cca0646c619a6ad65c370e72
refs/heads/master
2021-06-24T06:05:41.107789
2021-03-10T18:18:25
2021-03-10T18:18:25
73,823,386
0
2
MIT
2019-08-22T19:06:43
2016-11-15T14:50:53
Python
UTF-8
Python
false
false
799
py
# This code is licensed under the MIT License (see LICENSE file for details) from zplib.curve import interpolate import PyQt5.Qt as Qt def plot_spline(rw, points, smoothing, rgba): tck = interpolate.fit_spline(points, smoothing=smoothing) bezier_elements = interpolate.spline_to_bezier(tck) path = Qt.QPain...
[ "zpincus@gmail.com" ]
zpincus@gmail.com
649271318b3c346522b7629c8872f91c6863e7ca
fc717ed4319671630243fc86e5f649864c1c0d60
/out/production/FlightPlanner/scripts/create_passes_GUI.py
2fe116824e53d4c4d130725414fe527c6e4abfed
[]
no_license
Tound/FlightPlanner
3514500273b14ca8f2440d2b82758d4c6a58b347
7737fb13bbac19317b67329dede80aba27a1581e
refs/heads/main
2023-04-26T02:34:54.889642
2021-05-26T00:29:35
2021-05-26T00:29:35
335,413,620
1
0
null
null
null
null
UTF-8
Python
false
false
17,278
py
""" Creates passes and terraces for a photogrammetry flight path Created by Thomas Pound Last updated 25/5/21 """ import math import numpy as np import shapely.geometry as sg from shapely import affinity from dubins_3D import * from scipy.interpolate import griddata from Image_Classes import * import json G = 9.81 #...
[ "tompound@ymail.com" ]
tompound@ymail.com
8ab2da09ba590e09eddb4b9cdb40ceb59967d833
124e357b61a241b17686a1bc596fa7653c7769f4
/s_1_4.py
427e6e5753b26da96c2f0c278903358cb6ce71d6
[]
no_license
hjaltithorisleifsson/ma-iv-2021
5969393f34c5919aaf87142a6115671ee4a2604e
0b8bbf5990c20ebf86e11249d31a58e7bffb64c8
refs/heads/main
2023-04-05T01:53:53.244554
2021-05-01T17:19:30
2021-05-01T17:19:30
332,090,022
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
import fourier_series as fs import math import numpy as np import matplotlib.pyplot as plt f = lambda x: np.fabs(x - 2 * math.pi * np.floor(x / (2 * math.pi)) - math.pi) int_f = math.pi ** 2 a = lambda n: 0 if n & 1 == 0 else 4 / (math.pi * n * n) b = lambda n: 0 T = 2 * math.pi res = 100 x = np.array([T * i / r...
[ "hisleifsson@student.ethz.ch" ]
hisleifsson@student.ethz.ch
b03ff75b410cad50551f9771c230a5908f250464
8a62bbff9378187a898f336532bb49de18cb88e4
/2020-rnn-transducer/configs/rna3c-lm4a.convtrain.switchout6.l2a_1e_4.nohdf.encbottle256.attwb5_am.dec1la-n128.decdrop03.decwdrop03.pretrain_less2_rep6.mlr50.emit2.fl2.rep.fixmask.ctcalignfix-ctcalign-p0-4la.chunk60.encctc.devtrain.config
b61cbb234d7f86453b238052a65f98e61fbba6dc
[]
no_license
rwth-i6/returnn-experiments
e2cdecb67febe646d702282ced8c290f1dd8edd0
a46021329c030af361e0becb25ea92afca9610ce
refs/heads/master
2023-06-08T08:56:11.891782
2023-05-30T12:46:45
2023-05-30T12:46:45
67,426,132
159
52
null
2023-05-30T12:46:46
2016-09-05T14:07:48
Python
UTF-8
Python
false
false
45,596
config
#!crnn/rnn.py # kate: syntax python; # -*- mode: python -*- # sublime: syntax 'Packages/Python Improved/PythonImproved.tmLanguage' # vim:set expandtab tabstop=4 fenc=utf-8 ff=unix ft=python: # via: # /u/irie/setups/switchboard/2018-02-13--end2end-zeyer/config-train/bpe_1k.multihead-mlp-h1.red8.enc6l.encdrop03.decbs.ls...
[ "albzey@gmail.com" ]
albzey@gmail.com
dbfa6a4b7f8503cd0447cd7bd7220fb9402b7187
dfcea4b10b99c1907a0ec77b83736dae95ed6adf
/docs/conf.py
0a8dab3caa6913963c5f3cbae530783e2086525b
[ "MIT" ]
permissive
tripiti/beammaster
42aaf3dad0d2652c00b4e4d196d61c3650d05aba
86a95ab74d17d901c259abc8c47e1b3255701e71
refs/heads/master
2021-01-18T14:22:40.629952
2014-12-26T02:44:22
2014-12-26T02:44:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,131
py
# -*- coding: utf-8 -*- # # complexity documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # ...
[ "nico.zuber@web.de" ]
nico.zuber@web.de
1283a4e78c1c69236c90e223cb9cfab9dd6752d0
561eb412fd91a2120d734573328fb28217ea6272
/common/cron/alerts/dataloop.py
a124685d83e8e73521b1df6caf6ace901260e009
[]
no_license
mmain10/python_tools
6f5224de77a6f0ab195fe3856ab744fd5ef338f9
5d8fa49feaa88a3e9bd9bda458655fc3c47a9dab
refs/heads/master
2021-01-18T22:45:11.261891
2017-03-29T18:45:56
2017-03-29T18:45:56
78,037,600
0
0
null
null
null
null
UTF-8
Python
false
false
2,108
py
import pymysql from bi.cron.alerts.base import AlertSystem class DataLoopAlertSystem(AlertSystem): def __init__(self, env_name, config_data): super().__init__(env_name, config_data) # Receive pymysql connection from underlying bi.cron.base.CronBase class instance. self.config = config_...
[ "mitch@moz.com" ]
mitch@moz.com
6bdd016f5ee43bcd1bd3220c983c477ba6cb35fd
183b2288ef8c58cfbe8b7bfb1813a078337f5c7b
/USVSIM_latest_version/src/usv_sim_lsa/freefloating_gazebo_resources/freefloating_gazebo/scripts/uwsim_scene_to_gazebo_spawner.py
627eb093b198468ef08c0dd8447dee9d06df1b3f
[ "Apache-2.0" ]
permissive
AutoSail-MDH/Sailboat_simulator
4e76b9930e082796bf514817fea2ddb3098e554b
69891293a425358eef12a61e695a56e77884bfc1
refs/heads/main
2023-07-19T03:54:09.562075
2021-09-15T22:06:44
2021-09-15T22:06:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,969
py
#!/usr/bin/env python import roslib import rospy import sys,os from roslaunch import substitution_args from lxml import etree import xacro import resource_retriever import subprocess import rospkg import re from pathlib import Path def uwsim_to_abspath(filename, datapath): ''' Returns absolute file path if th...
[ "giraldobustamante@gmail.com" ]
giraldobustamante@gmail.com
1cb6d1506b16b5351e787890bac6541006b1f417
45a6ec2f3816bd0a66ecc8765b75065975273314
/TravelApp/trade_off.py
36437b85383631c9fe9ed46b10c3f388897f0319
[]
no_license
mohdazfar/SDP
8996baaa8ebc4250045d83d79f56165845412f6d
3e16febb4a4b53919e604903ba6b552826fe76b2
refs/heads/master
2020-12-24T11:45:45.310105
2016-11-11T04:14:53
2016-11-11T04:14:53
73,015,610
0
1
null
null
null
null
UTF-8
Python
false
false
1,895
py
import json import os from os.path import join, dirname from watson_developer_cloud import TradeoffAnalyticsV1 def trade_off(options,tfPrice,tfDuration,tfTransfer,thPrice,thRanking): if tfPrice is None: tfPrice='min' if tfDuration is None: tfDuration='min' if tfTransfer is None: tfTr...
[ "zekeymen@gmail.com" ]
zekeymen@gmail.com
bdf022840edc75077d8aba6d506ffb7640783a37
64a78c40f64c21a859861bf8ec25e477c574cfce
/air/test11_reverse_cost.air/test11_reverse_cost.py
039719f5c1a77c7135ee606c5a1e9250499ec6f0
[]
no_license
2019GJ/Airtest
833be72ccc015b299a7bb9b497efa870f182680e
4f1ebeda9440fb32e5b572859f55932faa605f99
refs/heads/master
2023-01-19T23:15:25.991147
2020-11-23T10:27:32
2020-11-23T10:27:32
315,277,747
4
2
null
null
null
null
UTF-8
Python
false
false
11,293
py
# -*- encoding=utf8 -*- __author__ = "Administrator" # 新增费用报销申请单(冲账),进入审批流程,有影响,需要上传一张发票,需要已付款的借款申请单,使用heying from airtest.core.api import * import unittest using(r"E:\黄振旭\费用管理系统自动化测试用例\conf\common.air") from common import common from selenium import webdriver from selenium.webdriver.common.keys import Keys from airtes...
[ "oncwnuJVIu7MJdSbDlgZalcCb33o@git.weixin.qq.com" ]
oncwnuJVIu7MJdSbDlgZalcCb33o@git.weixin.qq.com
84cbe5b710368c24a2a8a82609459c1a565d1d53
214bc76cb0a7a3ef0bbe82509ca5a34727065aec
/test_case/testMutiMerge3.py
ffc7666f9c6379beeb73e8a116532d5156172b45
[]
no_license
zhaoguoquan94/dict_merger
c3f112c3599fdee837a59b52c7c4b3bc80cd478f
18ea5b41e97b99a2e955c60a01fc8f4e38996e4f
refs/heads/master
2021-03-12T19:32:43.259825
2014-03-12T11:46:52
2014-03-12T11:46:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
import json import os import time import merger import codecs #this program test the performance of merge() and mergeAndLog() func path=os.getcwd() serverJson=[] for file in os.listdir(path): if(file.find("serverJson")!=-1): serverJson.append(open(os.path.join(path,file),mode='r',encoding="utf8").read()) #we assum...
[ "zhaoguoquan94@gmail.com" ]
zhaoguoquan94@gmail.com
aefae7fca95e26baee3b1888e265657b3105ea73
2c3f13857d4a915410de5ac9547745eb2769db5f
/eval/e5/scrape_so.py
60e0110c53ba3c6434b54a83d7b9f733bf2aff48
[]
no_license
andrewhead/StackSkim
43a4cf769645bb70202075f8077fa4d5d7be2a4b
9ac11705ff82aa978d1a87177059e665f4e5ebef
refs/heads/master
2020-06-03T16:15:15.127268
2016-01-16T17:16:36
2016-01-16T17:16:36
50,692,945
2
0
null
null
null
null
UTF-8
Python
false
false
3,928
py
#! /usr/bin/env python # encoding: utf-8 from __future__ import unicode_literals import logging import subprocess import requests import json logging.basicConfig(level=logging.INFO, format="%(message)s") SCRAPE_DIR = "scrape" QUESTIONS_OUTFILE = 'questions.json' ANSWERS_OUTFILE = 'answers.json' ANSWERS = [ {'q...
[ "head.andrewm@gmail.com" ]
head.andrewm@gmail.com
82aefad45e4c0f3bab7c5255c6bf1ccd7ff5a192
411099634b1ca8ae5b7d5ac3a12c7618610a202d
/image_parser/signals.py
a56029efaca6953a46e253ffa498d5045085b7b6
[]
no_license
sree-pratheep/message_tagging_api
b9fe5a609d20cf9c8e21876833558dd136a4de61
e3d9734d87ff2b0120b0c54b02b05d91c199f5ca
refs/heads/main
2023-07-08T14:46:07.322046
2021-08-02T07:28:15
2021-08-02T07:28:15
383,049,339
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from django.db.models.signals import post_save from django.contrib.auth.models import User from django.dispatch import receiver from .models import TableRowFromImage, TableCellFromImage, TableFromImage
[ "sreepratheep@gmail.com" ]
sreepratheep@gmail.com
9887b8de836ac721639fb13942c8215118311e0a
e0a25409aa2f673b64a7ee2b00a15219184c5ffc
/flight_checkin_links/v2/get/Python SDK/flight_checkin_links.py
3dc91798bddfc87f09971ab07e539678764af4c5
[ "MIT" ]
permissive
mmadodo/amadeus-code-examples
2f73ad657d845f942d302f3e6c4565c952cc5d5c
dc9928150d37a4e2f4fd37c8418dea21fd8922f2
refs/heads/master
2023-05-30T02:23:05.009319
2021-06-18T12:42:15
2021-06-18T12:42:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
# Install the Python library from https://pypi.org/project/amadeus from amadeus import Client, ResponseError amadeus = Client( client_id='YOUR_AMADEUS_API_KEY', client_secret='YOUR_AMADEUS_API_SECRET' ) try: ''' What is the URL to my online check-in? ''' response = amadeus.reference_data.urls....
[ "anna.tsolakou@amadeus.com" ]
anna.tsolakou@amadeus.com
dd3730c51b67014381c19b72c6cd67bd46f687c4
4c35a63848fa5e9eeb41fbae3ac809b8dc2260cc
/schichtplan/admin.py
b3dbc598d65b23b7aca0f366468955d9b0a0522a
[]
no_license
henneonrails/my-first-blog
ff236de7d0dad4a02bfaf3cc32ce07294c7d2d21
595777f18464b94d31ba407595f125796c11d0ef
refs/heads/master
2023-04-30T16:59:25.183594
2019-06-21T10:01:28
2019-06-21T10:01:28
189,175,150
0
0
null
2023-04-21T20:32:14
2019-05-29T07:38:20
Python
UTF-8
Python
false
false
171
py
from django.contrib import admin from .models import Schichten, Schichtplan # Register your models here. admin.site.register(Schichten) admin.site.register(Schichtplan)
[ "holger@haenisch.de" ]
holger@haenisch.de
26d5bc1377b3152d42dffb7588d782be1a251f02
55fefb8017a97d049f035f6771e1dfb6e7eb94a2
/investmtype/migrations/0002_auto_20180912_1801.py
7a085e28a5f0cfda3dea08219c2bed6a64ba48cb
[]
no_license
niravhjoshi/DjangoE2ISAapi
d90df84d1788e2f6a0335f707438afc543b02d56
ff74799bdb122dbc3067b3f131663c0d932355c4
refs/heads/master
2020-03-25T18:01:04.356469
2019-04-23T12:02:32
2019-04-23T12:02:32
144,008,958
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-09-12 12:31 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('investmtype', '0001_initial'), ] operations = [ migrations.RenameField( ...
[ "nirav.j05@gmail.com" ]
nirav.j05@gmail.com
208d69bc02d5e2615525c480e06d1f84cb00da6c
043c7d4c42b671905af4e9395526202cdcb2a427
/twitter_kafka.py
24e1b72236bbbcb0845e1d693d1af1ed6d612149
[]
no_license
lalbrijesh/Twitter_Kafka_Streaming
4d010dc43665619a379bf6b66040e276afff1ce1
66b9306ea83656b1cd6ae2479f5dbfb9e233aa21
refs/heads/master
2020-03-23T00:00:09.746879
2018-07-13T11:54:53
2018-07-13T11:54:53
140,838,615
0
0
null
null
null
null
UTF-8
Python
false
false
1,363
py
""" Created on Fri Jun 22 06:53:12 2018 @author: lalbrijesh """ from kafka import KafkaClient, SimpleProducer import configparser import tweepy class TwitterStream(tweepy.StreamListener): def __init__(self, api): self.api = api super(tweepy.StreamListener, self).__init__() client = Kafka...
[ "noreply@github.com" ]
noreply@github.com
750617af3b49cf3914950ff6563ee30dfac44d03
825d4b1e8aed1a7b1126e75a1a28e270d9264a17
/webui/conf/settings/__init__.py
159ce917d94a70a26eace1f3db9faf9895c05512
[ "Apache-2.0" ]
permissive
FBK-WED/wed-pipe
4d62d68e2de6fc108c76fb1c716d272dfaf9845b
8ea0cf449ea1c83d2d41fd66e6f135bcf04b97e6
refs/heads/master
2016-09-05T16:15:54.530829
2013-05-23T14:48:27
2013-05-23T14:48:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
""" package for configuration settings """
[ "marco.amadori@gmail.com" ]
marco.amadori@gmail.com
b0450597141d126fe33ce780471d07bf6ea8e4ea
ddd8937324a1bc740a9362f319193598e45255fd
/source/RewardsService/rewardsservice/handlers/customers_handler.py
ec0e7dbcb3d32b8f58a76b915662864003609a7e
[]
no_license
mitchell-cazares/platform-services-python-test-1
42a9c06e68ff783b5c9d491f1f81d33d9ed6636a
d789cfa6391e4e36d6bfbb740884e6b96450cda7
refs/heads/master
2022-12-09T18:03:24.993765
2020-09-28T20:51:44
2020-09-28T20:51:44
299,192,925
0
0
null
2020-09-28T05:00:33
2020-09-28T05:00:32
null
UTF-8
Python
false
false
569
py
import json import tornado.web from pymongo import MongoClient from tornado.gen import coroutine class CustomersHandler(tornado.web.RequestHandler): @coroutine def get(self): client = MongoClient("mongodb", 27017) db = client["Customer"] email = self.get_argument("email","") ...
[ "mitchell_cazares@berkeley.edu" ]
mitchell_cazares@berkeley.edu
e6b027c953a6c3a865340c10d773987610d3b6bd
c38c96e21cea6c69b170d0386293b2d6bb154961
/pareto_clustering/cluster/build_S_PCHA.py
b2b974ecd6af82814e0e58b82d4471f5c510b71d
[]
no_license
ulfaslak/MScProject-build-dataset
18e9b9adc354527a3a3bc88200e7bb03334b1147
404fbfe61d45cb25af63b49e8608877f375f94cc
refs/heads/master
2020-12-29T02:42:36.403757
2017-02-02T12:42:25
2017-02-02T12:42:25
51,014,875
0
0
null
null
null
null
UTF-8
Python
false
false
8,802
py
from build_dataset.analysis.outlier_detection import Outlier_detector_svm from py_pcha.PCHA import PCHA from scipy.spatial import ConvexHull import numpy as np from datetime import datetime as dt import signal import matplotlib.pylab as plt from matplotlib.patches import Ellipse class TimeoutException(Exception): ...
[ "ulfjensen@gmail.com" ]
ulfjensen@gmail.com
bc8b82b7d7f751d232256177b9c37056f697d7d5
8c4cf7e79aaa19abdaeaa296f3a56b5e50cf45be
/cogs/events/on_guild_role_delete.py
4c2662c98dda00113d8e086e58314882ca5e5f22
[ "MIT" ]
permissive
AvyayaGoel/Omnitron
4f5102e63520c1936db3f39c932919215e245f17
e4cd33ae132bf636a654a5e834cbcce3b03d41fa
refs/heads/main
2023-08-15T20:41:53.134743
2021-10-10T13:59:35
2021-10-10T13:59:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,894
py
from disnake import Role from disnake.ext.commands import Cog from bot import Omnitron from data import Utils class Events(Cog, name="events.on_guild_role_delete"): def __init__(self, bot: Omnitron): self.bot = bot @Cog.listener() @Utils.check_bot_starting() async def on_guild_role_delete(se...
[ "theophile.diot900@gmail.com" ]
theophile.diot900@gmail.com
f1076fb840e38e4ba7242e44c59edcb5ea5c7d00
4329cb49f8f6f985dfc9afc76819bf6aecb93582
/dataProcessor.py
9a5c5d352a396a8f815326130f825f64a6e855e2
[]
no_license
shirovlasiki/shirovlasiki.github.io
72b90a93bcfe0bfa4897b9c43fee82d56f1240ba
43e1356bfd3faa84c17671375c67b10cba84970b
refs/heads/master
2020-03-25T12:43:46.568727
2018-08-07T05:56:13
2018-08-07T05:56:13
143,788,326
0
0
null
null
null
null
UTF-8
Python
false
false
1,486
py
import openpyxl shironomics = openpyxl.load_workbook('balance.xlsx') childrenList = shironomics['ChildrenList'] eventList = shironomics['Events'] def find_in_col(ws, col, val): for cell in ws[col]: if val == cell.value: return ws[cell.row] def text_find_in_col(ws, col, val): for cell in...
[ "g.charkovsky@gmail.com" ]
g.charkovsky@gmail.com
66bc27d7bc6e17c0de2ccb8555215a2289d95cff
993a4bd72468801ed3a8495ceb4370f7e889b4d8
/dl56/optim.py
9cf13f611b1019a2d7cbf1dfc473e7b40ad219fb
[]
no_license
yysung1123/deeplearning5566
fe3fa7069590c7b85ff387ed8f2dfb18488b620f
62558f26f17972659215fe9185926e4e1d1de5f2
refs/heads/master
2021-05-17T12:39:54.538814
2020-03-28T11:51:12
2020-03-28T11:51:12
250,781,642
1
0
null
null
null
null
UTF-8
Python
false
false
505
py
class Optim: def __init__(self, params): self.params = params def zero_grad(self): for param in self.params: param.zero_grad() class SGD(Optim): def __init__(self, params, lr, momentum=0.9): self.lr = lr self.momentum = momentum super().__init__(params) ...
[ "sungyuanyao@gmail.com" ]
sungyuanyao@gmail.com
a56375457e47fab62721189ef52b42e414c3d68f
582615115a32a68ebfb3bcf7257ebad2f7f3d11b
/3.3 kruth_morris_pratt.py
4f2d6409cddb5094a83d80e3a4cb960de137a481
[]
no_license
nguyenktrong/thuat-toan-attt-py
c8f15594a4cc0624cc094fc04293797cf8398f08
b5e8d6c989248d142e80a4036b4c1ab358737e87
refs/heads/main
2023-07-04T02:07:19.889641
2021-08-02T13:46:52
2021-08-02T13:46:52
375,361,353
0
1
null
null
null
null
UTF-8
Python
false
false
1,415
py
# đối sánh mẫu - thuật toán kruth morris pratt def preKMP(P, j): if j == 0: return -1 # <-> F[0] = -1 for i in range(len(P)): '''so sánh tiền tố dài nhất với hậu tố dài nhất nếu không khớp giảm dần ex: P = "abacab" P[0:2] = aba -> P[0:1] = ab -> P[0:0] = a P[1:3] = bac -> P[2:3] = ac...
[ "noreply@github.com" ]
noreply@github.com
2e2b8978ae748514c9e2845201d13268a9a83b65
6438a8b95bb8a07a9478839c34a3d8571fe11f0b
/secretsanta.py
7fa839b90cb24509c2c8053d5a4ccf348d7f2d61
[]
no_license
kevarh/secretsanta
4303692c73fb04e8522afe420ec524497b3cc2cb
354b4d3001cfb964ae7b057641baf97ac49fe4aa
refs/heads/master
2020-04-13T09:06:16.245571
2018-12-31T19:41:08
2018-12-31T19:41:08
163,101,678
1
0
null
null
null
null
UTF-8
Python
false
false
3,420
py
#!/usr/bin/env python from random import choice from constraint import AllDifferentConstraint, Problem, Constraint, Unassigned from graphviz import Digraph from itertools import islice from time import time t0 = time() allsolutions = False """ List out all the users. The array is the people who they should not give...
[ "kevarh@kevarh.com" ]
kevarh@kevarh.com
3ec7c8ef188bcd6794eab56d037de95d62c48acc
57228bc20de7f6f3efeed1df86914817f34e2220
/app/optimal_selection.py
f4628dae5ae751364d91dc65c272ebbb12315923
[ "MIT" ]
permissive
Koeng101/flask_freegenes
e997010534f4889c6a851ea973886121636f91d6
c7192f21b3d632d9466c6b6e0a761a90fb06cd12
refs/heads/master
2020-05-02T01:37:40.246707
2019-07-25T22:36:29
2019-07-25T22:36:29
177,689,502
0
0
null
2019-06-11T19:50:01
2019-03-26T01:04:42
Python
UTF-8
Python
false
false
9,581
py
import pandas as pd import itertools from constraint import * import os from .models import uuid_schema, generic_num,schema_generator con = os.environ['URL'] # Robot side class Part(): def __init__(self,uuid,address,volume,quantity,plate_uuid): self.uuid = uuid self.address = address self....
[ "koeng101@gmail.com" ]
koeng101@gmail.com
be0eb37b9856385d25aec9475c8ad69f26d20a11
09780425612d9cec0e907fe11199b9d389304c92
/LDH_code/F01234/Code/AUROC of ENS vs. Baselines - Calculate 95% CIs.py
fdaf7fdd98c0dd980f316d9d05dde8b2d2eeed64
[]
no_license
goldenberg-lab/SorenLiverDisease
e3b943e0f0dce6bf5fce9797469b5faaf389be34
33ee9489195ab9a2e42e3027d79476bd19de667b
refs/heads/master
2022-01-23T14:03:07.208813
2022-01-20T16:10:19
2022-01-20T16:10:19
147,042,728
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import numpy as np import pandas as pd alg = 'APRI' dk = 'McGill' with_indet_path = 'C:\\Users\\Darth\\Desktop\\Thesis\\Code\\Lancet Digital Health Code\\F01234\\Predictions\\AUROC vs. def_advanced_fibrosis_without_indets\\'+dk+'.csv' #comb = 'F0vF234' df = pd.read_csv(with_indet_path, index_col=0)[['comb', 'alg', 'a...
[ "31372100+sorensabet@users.noreply.github.com" ]
31372100+sorensabet@users.noreply.github.com
b447727d2cfe00e700a3faee489c52e476d09de1
e317042def22a2620369148c5a92056e6c4b268c
/19-Bypassing exploit mitigation techniques - I/src/ret2zp-exploit.py
ec4c4f685a49afa14285851fd1814c97fef7b789
[]
no_license
0xc4b4l/the-definite-guide-to-arm-exploitation
d748540b4a8a5d15aa9e481b3c0be3442590b135
3aea03715de021ccb2b7dfd663593566c60152b9
refs/heads/master
2020-03-27T04:39:59.628513
2018-08-12T10:13:45
2018-08-12T10:13:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
#ret2zp-exploit.py import struct f = open('ret2zp-exploit.bin','wb') f.write('B'*24) # Filler f.write(struct.pack('<I', 0xb6ea2fd4)) # lrand48 + 28 (overwrites return address from vulnerable) f.write('BBBB') # Filler f.write(struct.pack('<I', 0xb6f91588)) # address of ...
[ "extremecoders@hotmail.com" ]
extremecoders@hotmail.com
8985832a9acfc77b38e220afc8b2162c9d8ceccd
30736dab9d8e682e5603d4803349144a5f6a84fb
/sdk/cognitiveservices/azure-cognitiveservices-search-websearch/azure/cognitiveservices/search/websearch/models/ranking_ranking_group_py3.py
1a865ff2a79a51e178c6aa333a5a293db4672915
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
montgomp/azure-sdk-for-python
6fcaffc59f4321852aa71109691e94ad38c66464
0ffb0b0de095b97cbc5b69309bbce0a3b91d3eb4
refs/heads/master
2020-12-06T11:08:01.683369
2020-01-07T23:24:42
2020-01-07T23:24:42
232,445,563
1
0
MIT
2020-01-08T00:45:33
2020-01-08T00:45:33
null
UTF-8
Python
false
false
1,174
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
noreply@github.com
9a16095b8acd59b41e7e8caefad9a50cec5f1b3d
1f51c064f70a8ee303ebe3a64eb8e685f40aee88
/lib/core/test_engine.py
6c4d85439a526e58a2606752eb9c6071d5845b0e
[]
no_license
cxiang26/CVPR_2018_WAD
b35e74b238c214985810aca9d592b551deaf7638
c1c631488349015d27b77437a840057833095af2
refs/heads/master
2020-03-24T23:29:51.861906
2018-08-01T10:11:27
2018-08-01T10:11:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,203
py
# Copyright (c) 2017-present, Facebook, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
[ "87249350@tianchi.com" ]
87249350@tianchi.com
6367de7a8a7da1deb78bab119fce03cd22b1fb8f
58a4c5102d1348d698e9563c2117c4dc5ba57250
/exersise 15/Q1/q1.py
4e71931cb7fe0b597bd7eaedfa442a10f1371ddc
[]
no_license
mohammad-talib/Exercises-python
4f7ffb1a4730d69006c846f98679d83364ddd7de
5d40bf2507392f8dd3ff3470cd3bf3729951441b
refs/heads/master
2020-09-13T11:38:29.472981
2019-12-13T20:43:23
2019-12-13T20:43:23
222,764,452
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
from flask import Flask, redirect,url_for,request,render_template app = Flask(__name__) @app.route("/") def index(): return render_template("index.html") @app.route("/login",methods=["POST","GET"]) def submit(): if request.method == "POST": data=request.form return render_template("success.ht...
[ "mohammad.h.alhety@gmail.com" ]
mohammad.h.alhety@gmail.com
6eaf0c898daaaa6af05015b282b301548870e257
686eea9b16bf6abc71d52ea4804174a68a491643
/loadDatasets.py
f1a41504f7f2b455c954546db7d8d7d3780cd822
[]
no_license
0M1N0U5/TFM-ML-Privacy-Comparative
08b5637dece216e04eaef7fd78523e987839d0f1
27885f6856ed1e485de9225099566f7c5d22a88e
refs/heads/main
2023-08-20T12:14:19.078475
2021-09-29T12:03:43
2021-09-29T12:03:43
397,353,917
1
0
null
null
null
null
UTF-8
Python
false
false
2,505
py
import tensorflow as tf import numpy as np def load(dataset): if dataset == 'mnist': return __load_mnist() elif dataset == 'ciphar10': return __load_ciphar10() elif dataset == 'imdb': return __load_IMDB() else: return None def __load_mnist(): """Loads MNIST and preprocesses to combine traini...
[ "josemaria.fer.cab@gmail.com" ]
josemaria.fer.cab@gmail.com
ab7241f48b2d223f9db7d26914fdc5afc3dad7bf
72530e90851251bd8329444a732e06a978d665a2
/setup.py
304e176d5e7c509913e84a96ca022d5cfb554e37
[]
no_license
krzpia/rycerzzwidelcem
6306eadbbe249156bf152b5c7c52cf46b9d8abd9
a90ce8146dfeda060052435d478a9b72c15796f9
refs/heads/master
2021-03-04T11:06:00.060825
2020-04-19T21:24:17
2020-04-19T21:24:17
246,028,950
2
0
null
null
null
null
UTF-8
Python
false
false
248
py
from setuptools import find_packages from setuptools import setup setup( name='RycerzZWidelcem', packages=find_packages(), install_requiries=[ 'pygame==2.0.0.dev6', 'PyTMX==3.21.7', 'PyTweening==1.0.3', ], )
[ "copalco@gmail.com" ]
copalco@gmail.com
309acc52835ddf7d566c1a8a46857eb30c788d2a
4ca7c184e53d968bef3fe9dadc437d5c57925475
/tests/color2/color2.py
79319cae7ecb8a59a93d8f0eee49ae3366e30892
[]
no_license
mike-matera/ArduinoGrader
e4523f961726b1e3653188ef6f6f6ec5f3272422
4d85eb648c621cce858b1f3c7e1f93d5f99d21ef
refs/heads/master
2020-06-14T14:53:13.495986
2017-07-19T16:20:16
2017-07-19T16:20:16
41,816,939
3
0
null
2015-09-09T01:06:48
2015-09-02T17:48:37
C++
UTF-8
Python
false
false
1,992
py
import sketch from tests.button import Button from emu.emulator import emu, Pin, PinMode class PWM_LED(Pin) : def __init__(self) : super().__init__() self.value = 0 def set_value(self, ts, v) : super().set_value(ts, v) self.value = (255 - v) / 255.0 def led_value(se...
[ "matera@lifealgorithmic.com" ]
matera@lifealgorithmic.com
36c5af91c16098ac83d608a74a948a0ebdc15c5d
396f93d8e73c419ef82a94174815a2cecbb8334b
/.history/tester2_20200321213612.py
acc2caebe079475068d5af0e9ab3be845b0ef9ba
[]
no_license
mirfarzam/ArtificialIntelligence-HeuristicAlgorithm-TabuSearch
8c73d9448b916009c9431526864a4441fdeb682a
90b2dca920c85cddd7c1b3335344ac7b10a9b061
refs/heads/master
2021-03-26T21:16:42.561068
2020-04-17T21:44:26
2020-04-17T21:44:26
247,750,502
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
import os import subprocess import re from datetime import datetime import time numberOfTests = 10 tabuIteration = '5' tabuDuration = '0' numberOfCities = '10' final_solution = [] print(f"\n\nTest for Tabu Search with this config: \n\tIterations : {tabuIteration} \n\tDuration(Tabu Memory): {tabuDuration} \n\tNumb...
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
80f7105507b0c62d99300547f3d8e7ab3ab93018
639d8452c2f71335631075ae80640291ff6350e7
/mysite1/urls.py
24587fe4f6196ae5ee289c016cf7de3d62433db0
[]
no_license
Eilafs/my-first-blog
699075e7186396cde1eb32a1e925153d2f92b7c3
e80f9a7ab1c702faf5ec60a30351b5dc102d8895
refs/heads/master
2022-11-02T00:20:18.520392
2018-12-08T14:44:44
2018-12-08T14:44:44
160,722,787
0
1
null
2022-10-22T04:45:05
2018-12-06T19:37:02
Python
UTF-8
Python
false
false
795
py
"""mysite1 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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...
[ "eilaf.alshamilan@grad.ku.edu.kw" ]
eilaf.alshamilan@grad.ku.edu.kw
47f9d8930cfdf15f0382f45a9df23a2e0bf8d53c
a380b2623a4531bf3fe24f3439b7e74fa35899cd
/ControlDock/ApplicationStatus/ApplicationStatusBox.py
a86e5fc29beac09b5c76c49a77f6c099bda22cc2
[]
no_license
todstoychev/control-dock_old
ea5f4e1b21c6647ed2a1210fe421bc7a5de5f71f
f2b1d2ef66a603cb7dd66a1786711463d6b6fd99
refs/heads/master
2021-09-13T21:11:58.458010
2017-04-10T18:18:15
2017-04-10T18:18:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
from PyQt5.QtGui import QTextCursor from PyQt5.QtWidgets import QApplication, QTextEdit class ApplicationStatusBox(QTextEdit): """Custom text edit field used as operation log message box.""" def __init__(self, text=None): """Keyword arguments: text (str): Initial text in the box.""" ...
[ "todstoychev@gmail.com" ]
todstoychev@gmail.com
10f67beb016ab4a44b1e414b5e9714363a7c1c23
cd9ffa2991ac2ff4f3e1171b5c4b33a8f6f2504d
/chatroom1/views.py
8a14e90d982eff0bd3e2f225afe17d4ec6134577
[]
no_license
Ivo-Donchev/simple-django-chat-room
bb6af3a7aeabb36efcc95e05808048d4f685b185
551e6a3200d27d1c0c180ed64461c5097a03cac3
refs/heads/master
2021-01-17T12:54:32.273523
2016-07-27T19:30:32
2016-07-27T19:30:32
56,787,900
0
0
null
null
null
null
UTF-8
Python
false
false
3,158
py
from django.shortcuts import render, redirect from django.contrib.auth import authenticate, login from django.http import JsonResponse, HttpResponse from django.views.generic import TemplateView, ListView from django.utils.decorators import method_decorator from django.contrib.auth.decorators import login_required from...
[ "i.donchev@hacksoft.io" ]
i.donchev@hacksoft.io
83958d051cfb91f802ae0406167170b153d49d14
98dc91f742e13ff4007ffade532c801ce40c6105
/userblog/apps.py
d579959ef1b454682d87a7d8f0f44a52a4288990
[]
no_license
divyajonna/My_First_Task
6149d0da008e549e9f0d8ad52a90fe36e15775e3
c8c5007a2eb9112cecd5b1e6df1ea449be4c02d9
refs/heads/master
2021-05-16T15:51:05.676726
2018-02-12T05:58:21
2018-02-12T05:58:21
119,347,253
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class UserblogConfig(AppConfig): name = 'userblog'
[ "you@example.com" ]
you@example.com
b81c76ba7cc637017c0432b6d9b0e527cd624fd3
e96f821259c852a620baff930c8766b67316130d
/main.py
7e044a049582b6889773b0f50db8061fccc8a3f3
[ "MIT" ]
permissive
tvanrijsselt/file-renamer
49009bfe68cb6b0b4f3dd9d4a12c06d851ab3c90
c8fa2bc7b6c5cfa021591da649ff74f1f13a8ba9
refs/heads/main
2023-04-05T16:04:00.354354
2021-04-26T17:04:46
2021-04-26T17:04:46
361,754,187
0
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
"""This main module calls the helper functions in the main-function, such that the right files in the right folder are changed.""" import os from helperfunctions import ask_input_for_path, ask_input_base_filename, files_ending_with_chars def main(): """Main function to call the helper functions and rena...
[ "noreply@github.com" ]
noreply@github.com
30d4896aacc0ccad29cd4214ecbcded4847db363
76288367bd583fe05faf79759e1fbdb8b66def2e
/03_K-Means/code/reducer.py
3d3e567761d82170760ae09c263513cb447443c9
[]
no_license
parijitkedia/eth-datamining
7a89a5790697ba4bef23a9c1dc110f30fa901abf
80360563e28829af15bed9c1c888ad66d8769e13
refs/heads/master
2021-05-28T11:16:09.391042
2014-06-10T20:55:46
2014-06-10T20:55:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
#!/usr/bin/env python2.7 import numpy as np import sys from ast import literal_eval values = None N = 0 #def listify(row): # return ' '.join(map(str, row.tolist())) if __name__ == "__main__": for line in sys.stdin: line = line.strip() key, value = line.split('\t') value = np.asmatrix(...
[ "thecopy@gmail.com" ]
thecopy@gmail.com
3ef45f1fb6c3dd2c51e246631fb9f873712b52ab
20f3f27d5a65da8c7127f78e45b9fdc5bb91e199
/launch_spec2006_experiments.py
b09dc6da67cd45283ccea2495f17385a0423f9a9
[]
no_license
yuanbo/gem5-skylake-config
34dccb11fab8c8f2d7a0a54e9ab9c9dc8a32871f
d92b219963b09a5c31a8cdfd46d831b29c23bc88
refs/heads/master
2023-01-19T20:36:09.869725
2020-10-24T18:44:33
2020-11-27T05:28:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,256
py
import os import sys from uuid import UUID from gem5art.artifact import Artifact from gem5art.run import gem5Run from gem5art.tasks.tasks import run_gem5_instance import argparse import multiprocessing as mp experiments_repo = Artifact.registerArtifact( command = '', typ = 'git repo', name = 'experiment'...
[ "tvreddy@ucdavis.edu" ]
tvreddy@ucdavis.edu
0fc878c7f8ece7301729d06e4ee5566f97b888d6
5c1283455aa37f5eae0e3e80b3ab5a77fa6640ef
/get_azure_urls.py
e731c67ee8e71e1d42c75596969bb097152a65f8
[]
no_license
kevinqiu92/securityscripts
9e166f1028e8a5270e5ab35f7cbb1b4f1ca75fa6
747303614abd1020a66045127d7c7aeb000656bc
refs/heads/master
2021-01-12T14:59:00.186530
2017-04-04T02:24:47
2017-04-04T02:24:47
71,658,390
0
0
null
null
null
null
UTF-8
Python
false
false
6,548
py
#!/usr/bin/env python import adal, requests, json, yaml, lxml, sys, os, base64 import xml.etree.ElementTree as ET from urlparse import urljoin TENANT_ID = os.environ['TENANT_ID'] CLIENT_ID = os.environ['CLIENT_ID'] CLIENT_SECRET = os.environ['CLIENT_SECRET'] AUTHENTICATION_ENDPOINT = "https://login.microsoftonline.com...
[ "kevin.qiu@kqiu-m2.Winterfell" ]
kevin.qiu@kqiu-m2.Winterfell
8fe7702e03aa18331021f2d8f8aeac01dafc066c
1d7be064256dbdfb571086c4ea5274fe4962bda9
/Results/evaluate_ner.py
272c048de4504a6d2a750f41459c784f6e134ef4
[ "MIT" ]
permissive
betoesquivel/WiKiNER_Essex
a5ec0f7e5bb31769b6544caacdb85ad8db485efd
3c80c4775e61577babc32e1609fa4178f05c9195
refs/heads/master
2021-01-10T14:12:40.076551
2016-03-02T20:40:32
2016-03-02T20:40:32
52,994,896
1
0
null
null
null
null
UTF-8
Python
false
false
879
py
#!/usr/bin/env python import sys from sklearn.metrics import classification_report import re import pandas as pd if len(sys.argv) < 2: exit(-1) ofilename = sys.argv[1] of = open(ofilename, 'r') output = of.read() pattern = re.compile(r'(I-.{3,4}|O)\s+(I-.{3,4}|O)\s+') actual_tags = [] predicted_tags = [] for ...
[ "ppbeto94@gmail.com" ]
ppbeto94@gmail.com
1e28a6240a44970ee1cba5158f274d8e83dbc9c2
5471130fd24b21de91366e2878a5c0939e077d11
/mma/2019-03-09/tapology_finishes.py
7ccddab4cb0d06c1d3dd342c18acf1f5ca51d108
[]
no_license
wpr101/DraftKings
029a0839029e7d73c68702fdf9fda147f97bf060
eb3a0f46668b3cf0b48dbf3ead6d0771a3f7e7fe
refs/heads/master
2021-10-25T04:32:33.951695
2019-04-01T04:07:15
2019-04-01T04:07:15
148,859,288
0
0
null
null
null
null
UTF-8
Python
false
false
4,710
py
import csv from itertools import combinations import random class Player(): def __init__(self, name, odds, salary, fight_num): self.name = name self.odds = float(odds) self.salary = int(salary) self.fight_num = int(fight_num) def __repr__(self): return 'Player(name=%s...
[ "wpr101@gmail.com" ]
wpr101@gmail.com
0828a76a00d270335712363efdce08720cde894b
e171ad5c51e3659f3f7e66bb3e5ce7da4fdb304b
/PythonCrashCourse/BOLUM-8/3.py
006b6f344742ef521e65224d0183bce67c78be0c
[]
no_license
muratyokus/Python
5e7f4e6141cd158010b3b19f4d8e8f6a4be9a997
b570e182b4c66bebd6a13e3238c56d092c758692
refs/heads/master
2020-04-23T11:25:50.254255
2019-04-28T11:05:03
2019-04-28T11:05:03
171,136,410
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
#8-9 sihirbazlar = ['Murat','Hacer','Aybora','AyTurk','Aysa'] bos_sihirbaz = [] def show_magicians(sihirbazlar): for sihirbaz in sihirbazlar: print(sihirbaz) def make_great(sihirbazlar): for sihirbaz in sihirbazlar: #print(sihirbaz) #sihirbazlar1 = sihirbaz.pop() bos_sihirbaz....
[ "murat96587@gmail.com" ]
murat96587@gmail.com
83adbc722c01394cccdd13ffc06703b485e8a31b
64d70b4e2ec97bed70b1c843b878d90b55115392
/flood_control/settings.py
eebe85c412e35ec93cbd8bd46c24a34dbdd70e22
[]
no_license
jasondza2010/flood-control
6fb96600ad02a4b79f4e97f08ca6ef5865c84fe1
ea2305c2dd79d2c0464f84471474298b698f72d0
refs/heads/master
2020-06-13T23:32:49.356961
2019-06-22T10:20:07
2019-06-22T10:20:07
193,249,507
0
0
null
null
null
null
UTF-8
Python
false
false
3,174
py
""" Django settings for flood_control project. Generated by 'django-admin startproject' using Django 2.0.7. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import...
[ "jasondza2010@gmail.com" ]
jasondza2010@gmail.com
79c7a9e2c8dac37a680904bfb122ba8061c232c0
6ac001535433e209eebf1d40c36edd1c81fe5631
/experiment_suite/experiment_utils/storage.py
5099b37d3f04ce9af69bad32f792901628f2f9fb
[]
no_license
chrisgrimm/scheduler
59a7a6764260d186e5c9139e983542145346cbd1
628b890ba6799155ef3236af2a08f4eed9258bb9
refs/heads/master
2023-02-04T02:47:29.747738
2020-12-26T22:28:26
2020-12-26T22:28:26
318,378,942
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
from typing import Dict, Any import pickle def store_data( data_dir: str, experiment_kwargs: Dict[str, Any], experiment_data: Any ): with open(f'{data_dir}/data.pickle', 'wb') as f: pickle.dump((experiment_kwargs, experiment_data), f)
[ "cgrimm1994@gmail.com" ]
cgrimm1994@gmail.com
fa1d5887fe6ef08cd2f3a5e63792396cc36a1d52
934235f70a390a3ba0d7b464cddd10872f31cda3
/rango/server/.history/tango_with_django/tango_with_django/settings_20210102125402.py
2b4db67f09db82b87456b7e41dffde57e8cabd20
[]
no_license
deji100/Projects
6919041ba23e77a5c74e5ab7692bfcee38ececcb
17e64d954d1d7805be57ec5d8d4344e4944889e6
refs/heads/master
2023-04-30T05:25:03.143303
2021-05-20T15:00:43
2021-05-20T15:00:43
338,844,691
0
0
null
null
null
null
UTF-8
Python
false
false
3,283
py
""" Django settings for tango_with_django project. Generated by 'django-admin startproject' using Django 3.1.3. 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/ """ im...
[ "68882568+deji100@users.noreply.github.com" ]
68882568+deji100@users.noreply.github.com
7d1c9b0f5e3300ebc5fe9f8c06ad4bfdcbf070a9
5dc5d1b08008493041fa28cc65dae29836d73c84
/todo/migrations/0007_auto_20200125_1506.py
067187e0b5bcae20705777fe50a39c4564ddfef2
[]
no_license
emushell/django-todo-app
4e618b37a78749a965353f3336e45399d785c8d1
c8d5f0a58941079353104ab601c3eabdcb512fc4
refs/heads/master
2022-11-26T22:08:44.795306
2020-01-27T15:17:32
2020-01-27T15:17:32
233,829,695
0
0
null
2022-11-22T05:16:17
2020-01-14T11:49:19
Python
UTF-8
Python
false
false
751
py
# Generated by Django 2.2.9 on 2020-01-25 15:06 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('todo', '0006_auto_20200124_0214'), ] operations = [ migrations.AlterField(...
[ "arturs.strauss@gmail.com" ]
arturs.strauss@gmail.com
79f878e1893eac9c8f8ec44bea40f5cf0ed7c20b
79b6b5b16884d3e5a2e98892e43c41bce7e1faba
/sslscan2csv.py
7509e3d4f3b7d5956d2745d043629ecaf141e3d5
[ "BSD-3-Clause" ]
permissive
bashexplode/sslscan2csv
1aa740ad7e7410bbf450f9193bbb23b9bb9c1a9a
a030e52e6752a80d363863d6c76d64fa982635ef
refs/heads/master
2020-03-24T08:28:59.945635
2019-04-09T00:53:50
2019-04-09T00:53:50
142,597,162
0
2
null
2019-04-09T00:48:29
2018-07-27T15:56:19
Python
UTF-8
Python
false
false
7,084
py
# Script by Jesse Nebling (@bashexplode) # Additional contributors: # Piotr Marszalik (@addenial) from xml.etree import ElementTree import csv import argparse import sys import os class CSVCreate: def __init__(self, root, outputfile): self.f = open(outputfile, 'w', newline='') self....
[ "noreply@github.com" ]
noreply@github.com