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
2874f74de9f3de37544a1e61636acc55e31149f1
67d94cea8a4e48683e74ad7da26ab4b02ae37c19
/demo/services/qotm.py
ab405266a3e4504b3d51242754b2179293a01958
[ "Apache-2.0" ]
permissive
smoshtaghi/ambassador
fa39ec86acdde3b76706e37a5273c252b62fda66
f653780befd65d72f955e94f5fac146d8794c712
refs/heads/master
2020-05-02T09:52:45.928453
2019-03-26T20:22:35
2019-03-26T20:22:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,956
py
#!/usr/bin/env python from flask import Flask, jsonify, request, Response import datetime import functools import logging import os import random import signal import time __version__ = "0.0.1" PORT = int(os.getenv("PORT", "5000")) HOSTNAME = os.getenv("HOSTNAME") LOG_LEVEL = os.getenv("LOG_LEVEL", "DEBUG") app = Fl...
[ "flynn@datawire.io" ]
flynn@datawire.io
11d058213a608ce27edb34ddf3e016581618858f
ae46bfda33900ae8098aa222a5695c9cfdde6ef0
/user/urls/__init__.py
2b664bec948df17de71178c8a1a77b1c1851d178
[]
no_license
znavy/MiracleOps
c08f51a3bbc98f0afc18d487753517b1ac1f88f2
004685ad53fee0b64009ea3ce87bad6dad233a47
refs/heads/master
2021-05-09T05:54:27.030399
2018-01-28T23:31:54
2018-01-28T23:31:54
119,322,487
1
0
null
2018-01-29T02:44:32
2018-01-29T02:44:32
null
UTF-8
Python
false
false
127
py
#!/usr/bin/env python # encoding: utf-8 # @Time : 2018/1/3 下午9:39 # @Author : MiracleYoung # @File : __init__.py.py
[ "295891721@qq.com" ]
295891721@qq.com
4484d2110dcfa4da0fff35767ea4919cc1d05daa
eb3ec5892947f4984843b6634c7e2fd4f60c88a6
/2020/arc_ws/src/arc2020/scripts/main/main_dev.py
b1014e0090a0b38cdc1873c04f29f59a20c49851
[]
no_license
arcosaka/arcosaka
2385dcb8d4fdb0561bbf55839f6128f11879c4f1
0a4fc20de0fdb18a64705773e3eea2ee55b5a3ba
refs/heads/master
2023-08-02T21:55:36.703124
2023-07-27T13:30:02
2023-07-27T13:30:02
157,073,359
0
1
null
2021-10-09T04:48:39
2018-11-11T11:35:29
C
UTF-8
Python
false
false
3,368
py
#!/usr/bin/python # -*- coding: utf-8 -*- # license removed for brevity # pythonでROSのソフトウェアを記述するときにimportするモジュール import rospy # gpio制御用 #import pigpio # 自作ライブラリ #from Vec3D import Vec3D #from Transform3D import Transform3D # 自分で定義したmessageファイルから生成されたモジュール from arc2020.msg import client from arc2020.msg import main ...
[ "woowayer@gmail.com" ]
woowayer@gmail.com
6f537f2a2eb98ce9355e639f4b1a40938a2975e3
763d2f0a40c905bc9cbcd83e21c8d716072fcf90
/chapter01/04.py
faf5d15b0528921cf23472e4699f4bf3a532a3d9
[]
no_license
s19014/ProgrammingTraining2
c707dc0a9dc1f4678f91fc05ded6bb1419db4f7a
c28b452d0a52c0e8481731bd1cda6b1aba88228d
refs/heads/master
2022-11-08T18:27:36.692911
2020-06-29T03:36:51
2020-06-29T03:36:51
262,897,354
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
''' “Hi He Lied Because Boron Could Not Oxidize Fluorine. New Nations Might Also Sign Peace Security Clause. Arthur King Can.”という文を単語に分解し, 1, 5, 6, 7, 8, 9, 15, 16, 19番目の単語は先頭の1文字,それ以外の単語は先頭に 2文字を取り出し,取り出した文字列から単語の位置(先頭から何番目の単語か)への 連想配列(辞書型もしくはマップ型)を作成せよ. ''' text = '''Hi He Lied Because Boron Could Not Oxidize Fluo...
[ "s19014@std.it-college.ac.jp" ]
s19014@std.it-college.ac.jp
c6d6428abed097189480ad71fdb265184f16897f
fe1b2c9ecf1727dded76bffa84b3b20e66d91f4d
/tests/pylibversion/test_version_util.py
b92b9093d7ac92fcf3389ca4a3e3d50d0566537c
[ "Apache-2.0" ]
permissive
dbradf/pylibversion
db888d26d0a5b0535af45621f1c920642f8fc267
3b5522c4853142890eeeac2613c03a277c84b48e
refs/heads/master
2020-07-14T02:32:22.575591
2019-09-04T16:58:00
2019-09-04T16:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,170
py
try: from unittest.mock import patch except ImportError: from mock import patch import pytest import pylibversion.version_util as under_test NS = "pylibversion.version_util" def ns(relative_name): # pylint: disable=invalid-name """Return a full name from a name relative to the test module"s name space...
[ "david.bradford@mongodb.com" ]
david.bradford@mongodb.com
2450b992096d4accb4fb99aa6c6aa9972a3ab40d
069e82d0400913682bf5ff1ffa60a62422610b83
/demo03_MaoYanMovie_OOP_mysql_executemany.py
1afcca10fc82418c7bdecfc65a604af67e83b7de
[]
no_license
La0bALanG/Spider_Codes
ae9aa6a97c15d0aeeb72702f6a6b3b8caa7b107d
72ce5b72b0baf1de7d8fecac4805d4711dc6409f
refs/heads/master
2022-12-30T13:06:13.937923
2020-10-13T09:18:54
2020-10-13T09:18:54
298,497,349
0
1
null
null
null
null
UTF-8
Python
false
false
5,762
py
# -*- coding:utf-8 _*- """ @version: author:安伟超 @time: 2020/09/07 @file: demo02_MaoYanMovie_simple.py.py @environment:virtualenv @email:awc19930818@outlook.com @github:https://github.com/La0bALanG @requirement:1.获取top100榜单页面全部内容; 2.使用正则匹配出每一条的电影名称,主演,上映时间 3.将获取的内容写入字典(下一节讲解写入持久化存储) """ import threading import re impo...
[ "awc19930818@outlook.com" ]
awc19930818@outlook.com
b825b147c5f4cb1ca642d0522025724422c21b8d
a4581e379ff79d10cfc4f0842325cb82d16420d7
/project.py
ccf690f6fa01c57c2e330410a26fb300afdafcdc
[]
no_license
Anshul-Gupta24/Microexpression-Spotting
d8952d551db32815d1a70181ffa5735e29f0c2d4
f672b78af61c4d96091b28c9372ea2ce0ba7b62a
refs/heads/master
2020-04-10T06:24:09.986017
2018-12-26T17:00:29
2018-12-26T17:00:29
160,853,289
7
0
null
null
null
null
UTF-8
Python
false
false
1,922
py
''' Extract and align faces using opencv dlib library. Usage: >> python project.py <foldername> Output: ./aligned_frames ''' import sys import dlib import cv2 import openface import os # You can download the required pre-trained face detection model here: # http://dlib.net/files/shape_predictor_68_face_landmarks.d...
[ "noreply@github.com" ]
noreply@github.com
1a365a2bb0309fda4f59bd582114adaab048140e
d65759301e0184955aac88d9a659f22d160a41bf
/games.py
f3ea8ae1f7417708d8e1965c6cf7a9fae34809c2
[]
no_license
Ilu92/Parsing
01cf9a04c25338e3cf8d20156d1ae46c181661b3
a27a02c368d1b1ee64046c940b879a2983e999bf
refs/heads/main
2023-06-06T06:14:23.060868
2021-06-26T09:12:01
2021-06-26T09:12:01
348,758,581
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
from selenium import webdriver from time import sleep driver = webdriver.Chrome() driver.get('https://app-time.ru/games/list/all/android/2022') game = driver.find_elements_by_class_name('gamebox') for i in range(0, len(game)): print(game[i].text)
[ "noreply@github.com" ]
noreply@github.com
8643c21f14838b13d866383e24760ea048005756
5600bf9fc7215617c7c5f3690054189a219d65b6
/users/urls.py
384330b6791bda9be268b69b5a888786cef9dc10
[ "MIT" ]
permissive
MECKEM-COV-19/backend
28037541e218403e4ba3b6f615130947423a001c
c0686f32f98b3acd5dc028d8a054089694654a07
refs/heads/master
2021-07-13T13:12:21.678771
2020-04-02T21:54:55
2020-04-02T21:54:55
248,934,011
0
0
null
2021-06-10T22:44:00
2020-03-21T08:17:18
Python
UTF-8
Python
false
false
242
py
from django.urls import path from . import views urlpatterns = [ path('signup/',views.user_signup, name="user_signup" ), path('login/', views.user_login, name="user_login"), path('logout/',views.user_logout,name="user_logout"), ]
[ "philipp.wegners@gmx.de" ]
philipp.wegners@gmx.de
c1e2e20594477764d4734d0ffe64d2544cd228a2
6b3832826ffc16b8b831f1c91f6863efb608f147
/git_py.py
eec47419244166dbc2270791ebaf0f3abe7022df
[]
no_license
wangkunk/GitDemo
d35afeb05fe88f7d1afd085523af2b349439f198
4dfbf2c16e8129194900c4cdd4dff2c456a2dee2
refs/heads/master
2020-07-22T04:22:22.405985
2019-09-08T07:54:11
2019-09-08T07:54:11
207,072,798
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
# 这是我的第一个Python程序 import time # 我导入了一个时间模块 print(time.time()) # 在屏幕上打印出从1970年1月1日0:00 到现在经过了多少秒 if 10 - 9 > 0: # 这行需要缩进,缩进用4个空格 print('10大于9')
[ "863879392@qq.com" ]
863879392@qq.com
ad82cb2299da4d2401808287a51200b9a1bb360a
3db6e4cb2f62b913f14a557eb800a4c5f000d6ac
/CSI337-Information Security/python_practice.py
d889e6d5969e5b6fea4ca87c396c50be53a3077d
[]
no_license
alanscottthomas/StudentPrograms
9310f8ae2471165887141853c664af037b82bb81
2bee5173663c87fba6734aac6ebb6b059dac995c
refs/heads/master
2021-01-11T10:27:57.258407
2019-06-27T00:45:36
2019-06-27T00:45:36
78,896,547
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
#------------------------------------------------------------------------------- # Name: module1 # Purpose: # # Author: Alan # # Created: 21/02/2018 # Copyright: (c) Alan 2018 # Licence: <your licence> #------------------------------------------------------------------------------- def...
[ "noreply@github.com" ]
noreply@github.com
68cd96a2791e4344d6cade1c5e3956e2ee6d612e
bef07e9674a9f71325b359f87c93a7f40b048268
/pageObjects/loginPage.py
815d48dc076893945ff63b5a7cad89905aefefa1
[]
no_license
apache161/pythonFramework
45089b03dbcef9de097ab6d97f853602050f78b4
b6f1c7c19ba1e8cb93c86a64b4613ed1dc84a883
refs/heads/master
2023-04-21T05:53:54.410855
2021-05-02T00:35:11
2021-05-02T00:35:11
363,525,545
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
class loginPage: textbox_usrname_id = "Email" textbox_passwd_id = "Password" button_login_xpath ="//button[@type='submit']" button_logout_linktext = "Logout" def __init__(self, driver): self.driver = driver def Usrname(self,usrname): self.driver.find_element_by_id(self.textbox...
[ "“emails4syed@gmail.com”" ]
“emails4syed@gmail.com”
a4a775e230fc2f3380b90ca4b69fdf7259f22e2a
17c08826eac8129c0c83ecaa368ac305f9b03a11
/Code/getPowers.py
0efaacf818c94538bb63f54198263f58afe0f2e5
[ "MIT" ]
permissive
abdalazizrashid/AI-Feynman
f445062b831cf835c2f53111e85fd615ecb7d38d
3121276389a2cb6749592206268ac8f31f6c1bbc
refs/heads/master
2022-12-06T01:18:47.214162
2020-08-05T18:04:39
2020-08-05T18:04:39
279,799,700
1
2
MIT
2020-07-15T07:37:34
2020-07-15T07:37:33
null
UTF-8
Python
false
false
1,745
py
import numpy as np import pandas as pd from scipy.sparse.linalg import lsqr from scipy.linalg import * from sympy import Matrix from sympy import symbols, Add, Mul, S from numpy.linalg import matrix_rank from itertools import combinations N = np.array([[ 0, 1, 1], [ 0, -1, -1], [ 1, 0, ...
[ "noreply@github.com" ]
noreply@github.com
f513905a2f9d37b2ca98385e6dcfa3ca23c4aef0
6b7e79c450a53f49a88b5c0a27eafcc43e4cf8d2
/src/transformers/models/ibert/modeling_ibert.py
ec547aae7cc19f374bcc8f55304b21a00738bc32
[ "Apache-2.0" ]
permissive
lohjine/transformers
034196d5032b92aae8eb964480948b22fe3373b3
ca22b488d7fd2620fe45fb14e06effd990762cfd
refs/heads/master
2023-05-15T00:10:11.052110
2021-06-09T09:25:03
2021-06-09T09:25:03
375,295,469
0
0
Apache-2.0
2021-06-09T09:15:50
2021-06-09T09:15:49
null
UTF-8
Python
false
false
55,423
py
# coding=utf-8 # Copyright 2021 The I-BERT Authors (Sehoon Kim, Amir Gholami, Zhewei Yao, # Michael Mahoney, Kurt Keutzer - UC Berkeley) and The HuggingFace Inc. team. # Copyright (c) 20121, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use t...
[ "noreply@github.com" ]
noreply@github.com
ab59db052bdf4934ce86436713e6a01207d89d3c
7b750c5c9df2fb05e92b16a43767c444404de7ae
/src/leetcode/python3/leetcode735.py
ba41f98ebc046b632377456faffcf0601cd24c7a
[]
no_license
renaissance-codes/leetcode
a68c0203fe4f006fa250122614079adfe6582d78
de6db120a1e709809d26e3e317c66612e681fb70
refs/heads/master
2022-08-18T15:05:19.622014
2022-08-05T03:34:01
2022-08-05T03:34:01
200,180,049
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
#!/usr/bin/env python # -*- coding:utf-8 -*- from typing import List """ 行星碰撞 """ # 暴力求解 292ms class Solution: def asteroidCollision(self, asteroids: List[int]) -> List[int]: tasteroids = asteroids result = [] change = True while change: for x in tasteroids: ...
[ "jack.li@eisoo.com" ]
jack.li@eisoo.com
d45a1f2fe70feb6686b5d29bd50a1cdd2fbe5dcc
9cbacf179d81985b3813dc3370c8176575ee457c
/extract_repetitive_elements.py
50c53a077b0a608e8469ece3be5adcb35f65bc0d
[]
no_license
hzz0036/extract_RE_fromgenome
69c24f495c3b42d09c61ea6b989f9ddafcd56c6b
7babfbea81260c8fdf277fb6d77a1912b83ccc0d
refs/heads/master
2020-03-24T01:46:36.494218
2018-07-25T20:41:43
2018-07-25T20:41:43
142,351,058
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
# Extract all of the repetitive elements from a genome scaffolds according to the location of each element. #!/usr/bin/python import sys import re FASTA= sys.argv[1] RE_file= sys.argv[2] #fasta = open(r'test.fa.txt', 'U') fasta= open(FASTA, 'U') # universal newlines mode fasta_dict= {} for line in fast...
[ "hzz0036@hopper-login.(none)" ]
hzz0036@hopper-login.(none)
84d2699b024982d719d9bcf1f5df234a6296f80c
d1f89c11cdebbf0c03d6a40ec1cccc64525f9053
/kai/clients/urls.py
5835d05919d86f285486cfbf3e890dcf5bf36225
[]
no_license
Project-Kai/kai
1854fd79c1cd3218132f79e31fc946a60f22158f
9f7f84cb0c8291e6d38f15d07a29a1006ef1a92c
refs/heads/master
2020-04-16T01:36:41.609803
2019-01-13T07:52:38
2019-01-13T07:52:38
165,180,014
0
0
null
null
null
null
UTF-8
Python
false
false
1,205
py
"""kai 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 vie...
[ "mike@marketfresh.com.sg" ]
mike@marketfresh.com.sg
670d34dbe3196b61380c9d3ee86b17dcf3491f2e
935c04921b18c162e7838fedfc8b914b9a171003
/flaskr/flaskr/bin/flask
75dc4e8c33faf91ee225d73af48886c08fd66ffb
[]
no_license
erbarmungslos/hello-world
48fceb4b3fd54321ebc18d7be0d44c5dfd6088e9
ec15991e14d161abb35883d44155bfccb2f887b2
refs/heads/master
2021-03-27T10:15:59.145482
2018-02-14T18:16:23
2018-02-14T18:16:23
120,190,670
0
0
null
null
null
null
UTF-8
Python
false
false
245
#!/home/alexis/projects/flaskr/flaskr/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "erbamungslos187@gmail.com" ]
erbamungslos187@gmail.com
b7a6f3b2a4bd86f924545888b676eb9f43135eef
d9697cda9384aec02b870e5ed5d53db37f015893
/kaggle/google_football/rule-based-agents/testv8_6.py
8f0f56d42591f0174e8f518f74ca06e6988fe8a2
[]
no_license
guocongyun/ml-projects
0eb809f047960213ce88967b2d7cbc2d55d16e2b
a883935d779dca3a3cc443c3fa6d6a455f21e87a
refs/heads/master
2023-01-24T17:35:53.820315
2020-12-10T14:15:19
2020-12-10T14:15:19
277,168,360
0
0
null
null
null
null
UTF-8
Python
false
false
3,639
py
import numpy as np import math from v9_1_combine_everything import get_player_score, RUN_SPEED, is_within_border, Action, get_distance, evaluation, SHORT_STEPS,PASS_SPEED,normal_get_distance,check_steps,PASS_Y_SPEED def is_blocked(obs, player_x, player_y, teammate_x, teammate_y, teammate_speed=[0,0], speed=PASS_SPEED,...
[ "congyun.guo@student.manchester.ac.uk" ]
congyun.guo@student.manchester.ac.uk
5b89bfaddbe563dad9ee2840d839716f8e5b6d5c
bddd531834f01ff358a3d2f9d534d7a210e35c3f
/mlpJupiter.py
ce073212a72b3c81a6aeafa8c3f1674eca78bf8a
[]
no_license
TomAbrahams/mlpJupiter
5f78aa99acd6e14cc77ee89e192b4bd9caa6ddd9
19aad6f5b2ef25aa22428badab1bb9fd627e8b08
refs/heads/master
2021-07-13T08:40:17.552866
2017-10-16T05:45:25
2017-10-16T05:45:25
103,591,566
0
0
null
null
null
null
UTF-8
Python
false
false
4,884
py
# -*- coding: utf-8 -*- """ Created on Fri Jul 28 18:43:06 2017 @author: Thomas """ # Objective # The objective is to analyze the size of the sepal length, sepal width, # petal length, petal-width to classify the type of flower using neural networks. # Steps: # Today you are going to: # 1. Import a datasheet # 2. Ra...
[ "noreply@github.com" ]
noreply@github.com
84768cd09a36028bf006dd8401bafb0357279c0d
61ac1b89ad090a41d41be1de178a26ae89711dd2
/solutions/1480.py
596e5b89691c4ec5a8e11c58167e47c32de48b5f
[]
no_license
zszzlmt/leetcode
ea0bdc24248075e35094d036520f729e699f7d7e
daee4df1850740438e3860b993aa32b45c03812e
refs/heads/master
2023-07-16T18:55:21.418378
2021-05-10T07:24:05
2021-05-10T07:24:05
119,399,280
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
class Solution: def runningSum(self, nums: List[int]) -> List[int]: if len(nums) == 0: return nums result = list() result.append(nums[0]) for idx in range(1, len(nums)): result.append(result[-1]+nums[idx]) return result
[ "zpu@pku.edu.cn" ]
zpu@pku.edu.cn
c882cc7af50a9749d550a38205740f835645ad2e
1daaf410301dc686ce401d5ac389eded738b976a
/Student/models.py
4a64a14060613cb996a457afc6fd80be204fc93c
[]
no_license
MazenAshraff/DjangoHelloWorld
d2c8dca4028b7da591579d1e7f4c4be98456d821
0789d62b75c2cc1500133e0fd8c4b29c437acc7f
refs/heads/master
2022-07-10T09:03:54.036345
2020-05-19T12:18:26
2020-05-19T12:18:26
265,239,272
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
from django.db import models # Create your models here. class Student(models.Model): name = models.CharField(max_length=20) gpa = models.DecimalField(decimal_places=2, max_digits=3) student_id = models.CharField(max_length=10) age = models.DecimalField(max_digits=3,decimal_places=...
[ "mazen.ashraf.12@gmail.com" ]
mazen.ashraf.12@gmail.com
a79c31dde53d4382b1920a94324c8c6bf44f6dfd
35baa9617b8e46c172d47ad7200037ec11adbc83
/app/oauth2/resources.py
dd416162b9ee135fb5a2187da761745d0e8bbf49
[]
no_license
cuongpianna/oauth2_api
343128c65477779493d5921474e605062aa4042a
9a783ae30184ee9008c1f978c8670e4414d22513
refs/heads/master
2020-05-02T20:03:31.099660
2019-03-29T03:54:29
2019-03-29T03:54:29
178,178,222
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
from flask import g, request, url_for from flask_restful import Resource from flask_jwt_extended import create_access_token, create_refresh_token from app.extensions import github from app.user.models import UserModel class GithubLogin(Resource): @classmethod def get(cls): return github.authorize(url...
[ "cuongpianna1996@gmail.com" ]
cuongpianna1996@gmail.com
041691e4fbf40bbcf0d56b6963aefb25068d3319
b4b3238de8b87fef7070b80c1db943d2f29b1055
/final/main.py
48e7de15d65ba863a329bdd9c436f5a3cb3524c4
[]
no_license
nimavakili/Doppelganger
f84b2d4af43848d5ef4095c6f21de545e48bbf9f
8bbf47efad329cc944f0c101e7db08651ef10577
refs/heads/master
2016-09-08T02:42:45.776612
2014-11-21T17:23:26
2014-11-21T17:23:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,600
py
from helpers import * BUFFALO = 0 AARHUS = 1 side = BUFFALO ## aarhusSpeakers = [0+65, 130+65, 260+65, 390+65, 520+65, 650+65, 780+65, 910+65, 1040+65, 1170+65, 1300+65, 1430+65] ## cm aarhusSensors = [188+65, 297+65, 391+65, 485+65, 586+65, 688+65, 783+65, 883+65, 977+65, 1071+65, 1181+65, 1282+65] ## cm aarhusTunn...
[ "miNim@arpl-13.ap.buffalo.edu" ]
miNim@arpl-13.ap.buffalo.edu
b7b874acea85c0c1c0b468fa63bfcdec322d8e33
d4a874792cc86f64dba859392deacd9e7e6721fc
/monitor.py
01ae60fc559113881e40b008bc3cc7858202075c
[]
no_license
tarungoyal1/python_scripts
a1b0e725813a0277b812f75a73fac330d92405cb
ac362c753d61c3430c46863235bb263ecc62a053
refs/heads/master
2020-03-28T14:23:26.896106
2018-11-13T00:49:17
2018-11-13T00:49:17
148,483,014
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
import time import glob import shutil from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler class MyHandler(FileSystemEventHandler): def on_created(self, event): folder = "10_Practical Uses of S3" current = glob.glob("*.mp4") if len(current...
[ "tarun13317@gmail.com" ]
tarun13317@gmail.com
5dc37e3678c8d99e94d4438d3183d21b96df9997
9c6b4e008d1b8885104c8cb0e58d60688f9a685d
/yaya/python/python/huatu.py
519a57d92d06a1dac1e8883130d4bb665fd1592e
[]
no_license
JinleiZhao/note
2c977266175c9096d6e5be93e92433fa5f9d7ff2
d698b50cd239a079d6d5294fa884ea75f7426996
refs/heads/master
2020-03-11T13:34:32.163152
2019-11-21T13:35:18
2019-11-21T13:35:18
130,028,797
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
digraph abc{ a -> b; b -> d; c -> d; }
[ "jinlei06@foxmail.com" ]
jinlei06@foxmail.com
b1a813aef6ba473bea7a5c2fd78a298593eb2d7a
cb70b467312f2fb8f8415bac03476d207acb990d
/study_case/crawler_7x24_study3.py
fe7a0ea1a66fd9f850e00e2ec518e92fe0c5fcf8
[]
no_license
eddiewang-wgq/python-interface
ded532dbad1dc943420823e91ba5f00637fa978e
d232cfc3a7ffc27f8f186d577265bc93e89b9b54
refs/heads/master
2023-03-27T00:52:50.018082
2021-03-30T07:53:08
2021-03-30T07:53:08
352,916,495
0
0
null
null
null
null
UTF-8
Python
false
false
2,741
py
# !/usr/bin/python3 # -*- coding: utf-8 -*- """ @Author : pgsheng @Time : 2018/8/13 9:31 """ import sys import time import pandas from PyQt5.QtCore import QUrl from PyQt5.QtWebEngineWidgets import QWebEnginePage from PyQt5.QtWidgets import QApplication from bs4 import BeautifulSoup from public import config c...
[ "2568080700@qq.com" ]
2568080700@qq.com
107740e2f0f2f7e2b70c20c128ca470001ce9a62
6beed92ab590a2bff40152cfda89c043f8b164ff
/0608/Animal.py
b7dd79a0759aa55fcda053c308a1729a8690deae
[]
no_license
vulmoss/practice
201f1f0e8dc0a529af6f4ced3ed65a63f3e4cb74
a35b72cbf7fba14bb30a2e6c1e66636658b250e4
refs/heads/master
2022-02-18T08:43:58.064614
2019-09-19T09:26:50
2019-09-19T09:26:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
#!/usr/bin/env python # coding=utf-8 class Animal(): def run(self): print('the Animal is running') class Dog(Animal): def run(self): print('thd Dog is running') def eat(self): print('The dog eat meal') class Cat(Animal): def run(self): print('the cat is running') de...
[ "yaokevin1987@gmail.com" ]
yaokevin1987@gmail.com
a2213b5bb7dca308281c97a32ac56df0e3accb41
e9de250a097291af9ee18f912bb3961015080ff2
/learner/torch/PseudoMLETorchVersion.py
5fbd6f9a7f94bb61d6d42e19b395de3ffab661fb
[]
no_license
leodd/Relational-Neural-MRF
3d7f602da247168ae6f81dff9238a92149992c2c
971160843d61bf9a3ced13f14eb93c4896c9bb48
refs/heads/master
2023-08-23T20:29:25.154846
2021-10-28T19:27:00
2021-10-28T19:27:00
230,360,179
3
0
null
null
null
null
UTF-8
Python
false
false
9,435
py
from Graph import * import numpy as np import torch import random from collections import Counter from optimization_tools import AdamOptimizer from utils import save, load, visualize_2d_potential_torch, visualize_1d_potential_torch import os import seaborn as sns class PseudoMLELearner: def __init__(self, g, trai...
[ "410528518@qq.com" ]
410528518@qq.com
12a39d32430ed59f38dc93de20332541f9a36ff5
35cea906bf1ec6f66165a72d02708d3e357f42c0
/common/models.py
e55cb21d6f3d6b5ad8fbfd9e5bf7c84b2e8e1d0f
[]
no_license
HyunJik-Lee/Betterthannothing
2c05309f44796c90f91fcdd067ab9d26fed0aa7b
e2fa2ceea7e3c1ba72771c6195fa68c8d7956eee
refs/heads/master
2023-06-10T03:12:58.195054
2021-07-02T08:04:18
2021-07-02T08:04:18
379,490,297
0
6
null
2021-07-01T10:22:12
2021-06-23T05:33:40
Python
UTF-8
Python
false
false
1,195
py
from django.db import models from django.contrib.auth.models import AbstractUser from django.db.models.deletion import CASCADE import uuid class User(AbstractUser): # 기본 User 모델은 username, email, password, last_login 등 제공 # 성별과 마일리지, 레벨, 소개글, 캐릭터 추가 GENDER_MALE = 0 GENDER_FEMALE = 1 GENDER_UNKNOWN...
[ "jiggy0429@gmail.com" ]
jiggy0429@gmail.com
37617caf7b26e4fac3e19e04f61478fd628ee5f7
2b41d4bf97d407ed6668291388e0cfe84c10f99a
/apps/mmfile/__init__.py
90647105568695cea7d6e7306a0dad8005badaa4
[]
no_license
zhangchunlin/mmscope
d8e40d7b052bb2974aa5e7e981710e7463d46406
348f9ebc4a4f676cb808a446316a1cb14159c102
refs/heads/master
2021-09-08T19:46:11.211214
2021-09-01T14:43:05
2021-09-01T14:43:05
132,072,872
0
0
null
null
null
null
UTF-8
Python
false
false
9,635
py
#coding=utf-8 import os import platform import hashlib import logging import time from pickle import dumps as pickle_dumps, loads as pickle_loads from datetime import datetime from sqlalchemy.sql import and_ import gevent from PIL import Image from uliweb import settings from uliweb.utils._compat import text_type log...
[ "zhangchunlin@gmail.com" ]
zhangchunlin@gmail.com
9762d380a9a390461c021b2987b08810032c0e8b
602bd2ac3de6f1c2c4a6cd7d3e9382ebefe52f96
/Jaan.py
d6bb7acbb732c1bbdf59fea8516d4919418bca04
[]
no_license
KINGJAANMALIK/JAANMALIK
c2e4fa8d39bbd4278a4e26b1bb49b942aa2ce2cc
1a0b63cb1df90a6f772e6088b799e1bdaac63c3a
refs/heads/master
2022-12-05T18:04:41.376700
2020-08-11T19:36:33
2020-08-11T19:36:33
286,804,248
0
0
null
null
null
null
UTF-8
Python
false
false
16,654
py
#!/usr/bin/python2 #coding=utf-8 import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,requests,mechanize from multiprocessing.pool import ThreadPool from requests.exceptions import ConnectionError from mechanize import Browser reload(sys) sys.setdefaultencoding('utf8') br = mechanize.Browse...
[ "noreply@github.com" ]
noreply@github.com
69240e74f4667dcc2eca03b64939ad5d07446fa2
0ffb18f4d58961ca675d8294eb2154f69061989f
/examples/pipeliner/fastqc_pipeline_example.py
4a2c7ea0b317b3fd00e841734a13324343f5b38b
[]
no_license
nandr0id/auto_process_ngs
a794e904e6d24b0e0403941b44c884374f95850e
9b09f20b344d0ee87227e8771a479aa7c04f1837
refs/heads/master
2020-06-26T03:23:53.225029
2019-06-12T12:11:32
2019-06-12T12:11:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,931
py
#!/usr/bin/env python # # Example pipeline to run Fastqc on one or more Fastq files # but ignoring any with zero reads import os import argparse from bcftbx.FASTQFile import nreads from auto_process_ngs.pipeliner import PipelineTask from auto_process_ngs.pipeliner import PipelineFunctionTask from auto_process_ngs.pipe...
[ "peter.briggs@manchester.ac.uk" ]
peter.briggs@manchester.ac.uk
b0b1c1d1f7925088c04ccd1e0791231dec1defb3
6d4dc3eb681acd8891936b396865b026bf0e32d9
/preprocess_SSL/pretrain.py
5e07b90cd3cb8afe739dd1b22d8879c52ee1b466
[]
no_license
roger199585/bag_of_words
e0e336bbcde5ecd29fcb859f1c77b6cf6b8cc1d5
382571c910760e6d8b681f79cc2a4777b369cf50
refs/heads/master
2023-04-21T19:28:47.983054
2021-05-16T12:57:39
2021-05-16T12:57:39
311,578,171
2
0
null
null
null
null
UTF-8
Python
false
false
4,170
py
""" Author: Corn Update: 2021/5/3 Description: 使用預先訓練好的 SSL model 去做我們的異常偵測的前處理 """ """ Pytorch Library """ import torch from torch.utils.data import Dataset, DataLoader """ STL Library """ import os import random import pickle import argparse import numpy as np from tqdm import tqdm ...
[ "roger199585@yahoo.com.tw" ]
roger199585@yahoo.com.tw
e57b0830a99f0a76850073f697da70e43720ba17
f12d5995ea03c904fa706fd021051f29faf53edb
/pysecm/ric/index/__init__.py
f4db98a5e0e2f1b6e8723aa0ce3df1811e9aa836
[ "MIT" ]
permissive
bostonrwalker/pysecm
260cb3688255b7eb801355c1d989882aecd7f5ee
76fa1d537c6f222214d7582d723ea9b9b67c87b9
refs/heads/master
2022-12-11T05:05:46.559559
2020-09-07T16:58:43
2020-09-07T16:58:43
293,171,324
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
from .index_ric import IndexRIC
[ "bostonrwalker@gmail.com" ]
bostonrwalker@gmail.com
2327e451efdb4a8666c843c8a91c238cd40c83c0
56169cc42c21baeb0773a11f9dc2d14bc873e094
/sortowaniee/venv/bin/easy_install-3.6
40be963b14b45a1c26c3afd53c4dc64c948e96aa
[]
no_license
PROGRAMMINinGPYTHON/minilogia
cc1842bb1e5a388c6d7c71bb7b8412776c1ed26b
346b97671a72046d45e1736b11ba360a92f32c6f
refs/heads/master
2021-07-09T00:47:11.406056
2021-03-28T11:19:13
2021-03-28T11:19:13
234,959,810
0
0
null
2020-03-21T19:07:48
2020-01-19T20:19:22
Python
UTF-8
Python
false
false
453
6
#!/home/stas/Desktop/mini_logia/sortowaniee/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6' __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\.pyw?|\.e...
[ "59664343+PROGRAMMINinGPYTHON@users.noreply.github.com" ]
59664343+PROGRAMMINinGPYTHON@users.noreply.github.com
e11f4464f4bcb444cd86b8e49fb7298d7f59b6a0
0a67ea7b95ed3182a8142cdb4f2e97d5c25268fd
/service-scan-3.x.py
80f032327878d27d27673b3dd3995ce7f4e20bd5
[]
no_license
BrainLyh/service-scan
2e17502ea6afb939442bb89be339ef59172472c6
5be2037aa8e883124367b0a197defca218bc4362
refs/heads/master
2020-12-05T03:58:07.974570
2020-01-06T02:07:41
2020-01-06T02:07:41
232,003,398
0
0
null
null
null
null
UTF-8
Python
false
false
5,199
py
import pymysql import socket import time from datetime import datetime from multiprocessing.dummy import Pool as ThreadPool from ftplib import FTP # 测试目标端口开放情况 save_path = "./result.txt" ip_list = [] with open('iprange.txt', 'rb') as f: for line in f.readlines(): ip_list.append(line.strip()) def port_sc...
[ "noreply@github.com" ]
noreply@github.com
de4d0c6ac188a61b7880ec4da4b12c785ec1c6f3
b91588cda1a129f06aa9493ee6d6a70e4f996b7f
/Production/python/Summer16/LQToUE_M-950_BetaOne_TuneCUETP8M1_13TeV-pythia8_cff.py
35e4d425a5c3511644e3d09a9f876c29f68833da
[]
no_license
muzamilahmad/LeptoQuarkTreeMaker
2371e93589dbe41b02a93a2533cbf5e955aaa0db
8e7eed0d03c6770a029eafb9b638e82c600a7425
refs/heads/master
2021-01-19T01:02:35.749590
2018-02-06T17:27:52
2018-02-06T17:27:52
65,389,201
0
0
null
null
null
null
UTF-8
Python
false
false
728
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/RunIISummer16MiniAODv...
[ "muzamilphy786@gmail.com" ]
muzamilphy786@gmail.com
7929f42fee71cd4a6aa8f0d4abc358df8c6c003e
b6ad13b41ebce02a89928eda10f6709fa272cd36
/SchedulerHelperMethods.py
30cf106e7a256712f42fdc809e9bce15eaad916d
[]
no_license
evinceng/exposureMeterToShare
aec5a7fa303341c7eb686394c2a721e8bc5ecb7f
ab71a263651487ff89bd18c4d9ee7c94bb1e00af
refs/heads/master
2020-03-20T08:59:28.007842
2018-06-14T08:01:45
2018-06-14T08:01:45
136,161,354
0
0
null
null
null
null
UTF-8
Python
false
false
4,397
py
# -*- coding: utf-8 -*- """ Created on Thu May 24 14:57:45 2018 @author: evin """ import os from datetime import datetime from pydispatch import dispatcher from EventType import EventType import logging import Questionnaire from pygame import mixer # Load the required library import inspect import Database from coll...
[ "aslan.evin@gmail.com" ]
aslan.evin@gmail.com
a9f8f0449a0448d406352fab76d8a7797f373824
6863313f17fa69bb324f21b1a8f55cbef12a28eb
/Mean Reversion/meanreversion_strategy_1.py
ba4751004abb955d2e14ecb41d81181da819f220
[ "MIT" ]
permissive
webclinic017/Mister-Market
4dc84247f20bbdab96dad81d42eea2ea0ad6c665
5022b3684c8fda239ff2c6dfc445ae7eedf9f9a5
refs/heads/main
2023-06-23T05:28:02.565166
2021-07-27T04:43:26
2021-07-27T04:43:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,662
py
# Importing the libraries import math import nsepy import numpy import pandas as pd import sklearn import importlib import seaborn as sns import matplotlib.pyplot as plt from datetime import date from scipy.stats import norm from nsepy import get_history from matplotlib.pyplot import figure # Declaring neccessary gl...
[ "arnabaroy@outlook.com" ]
arnabaroy@outlook.com
f26c419a8f84627497ddac7284cfc7c5ac205b4d
cd8c68ce6447af84fce96f2fb8c9f011c9950fc8
/norm_files.py
1f477811434f0fbba0fb2564e885e5ce2cde1027
[ "MIT" ]
permissive
jncraton/ipeds-data
498f58be012833cf8f0ac80238a82c85245541c3
e17b051bac3d4d112d83a85f38dc1422d4fb584b
refs/heads/master
2020-03-30T17:22:32.200849
2020-01-22T02:43:37
2020-01-22T02:43:37
151,452,769
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
""" Normalizes contents for all data files. - Converts column names to uppercase - Converts data values to uppercase - Converts to Unix line endings - Removes trailing whitespace from all lines """ import os csvs = ['data/' + f for f in os.listdir('data') if f.endswith('.csv')] for f in csvs: lf = f.lower() o...
[ "jncraton@gmail.com" ]
jncraton@gmail.com
36c299456974514ce63ca5ad0a30a6deb5316604
1c5a025d8a1689970d6655e164bb558584a1cc3b
/process_rawdata.py
a80543edbba8936b23b09051c335658c2e75401f
[]
no_license
drogen120/RawDataProcess
675f470c5a1e4e236ff862e4d5897907dce2882b
de518c38f68b3f4dfafaa009b76720e58c256153
refs/heads/master
2021-01-15T22:39:24.793676
2017-08-10T09:18:17
2017-08-10T09:18:17
99,904,635
0
0
null
null
null
null
UTF-8
Python
false
false
3,842
py
import cv2 import numpy as np from PIL import Image import matplotlib.pyplot as plt from numpy.linalg import inv def wbmask(m, n, wbmults, align): colormask = wbmults[1] * np.ones((m,n), np.float32) if align == 'rggb': colormask[0::2,0::2] = wbmults[0] colormask[1::2,1::2] = wbmults[2] elif...
[ "wangqianlong120@gmail.com" ]
wangqianlong120@gmail.com
c7b1119f2e17232fefd85a261db1140a3847f62e
9c85d132b2ed8c51f021f42ed9f20652827bca45
/source/res/scripts/client/gui/shared/gui_items/customization/c11n_items.py
61bc31e680cc7214b04d3f2dbc684bf2271ae9b3
[]
no_license
Mododejl/WorldOfTanks-Decompiled
0f4063150c7148184644768b55a9104647f7e098
cab1b318a58db1e428811c41efc3af694906ba8f
refs/heads/master
2020-03-26T18:08:59.843847
2018-06-12T05:40:05
2018-06-12T05:40:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,317
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/shared/gui_items/customization/c11n_items.py import Math from gui.Scaleform.locale.ITEM_TYPES import ITEM_TYPES from gui.Scaleform.locale.RES_ICONS import RES_ICONS from gui.Scaleform.locale.VEHICLE_CUSTOMIZATION import VEHICLE_...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
6f49afff0c429c904dedbd53e6449d4842422037
f3b7cc17aafa21511eb94534324077e88b943701
/create_data.py
700d44f11f486aa7029968a2706f57c44a3bf1ab
[]
no_license
arsenhakobyan/Data_Preparation
e5e7c1a8f25ac887c122c1cd93cde8a4e6761fcf
52b549d9f9d99a403e3afbc99989d609e6295c5a
refs/heads/master
2021-05-04T11:03:05.061090
2018-01-05T14:02:05
2018-01-05T14:02:05
45,413,882
1
0
null
2018-01-05T14:02:06
2015-11-02T18:35:07
Python
UTF-8
Python
false
false
1,703
py
#!/usr/bin/env python # This tool helps to generate training data set of an images croped from the original images. import cv2 import math import os import os.path import sys import subprocess import xml.etree.ElementTree as ET if sys.argv[1] == "-help": print ("usage example: ./create_training_data.py <dir_for_...
[ "arsen@fimetech.com" ]
arsen@fimetech.com
155ebd99501cc8fb0db360b9c150527356d3ac1a
3cd1b656c2b3a4b6963139e1d6a4b5889a273508
/src/sac_stage_1.py
b14836736f3d3f8a118837aa0dd7a1e332be227d
[]
no_license
dranaju/project
d3a722421312f96a93953cdf8a3c32a5229943b5
cdd4ded4c3ccc9753a54d73846964d92d4a82db9
refs/heads/master
2021-06-12T22:08:30.245769
2021-03-04T08:24:26
2021-03-04T08:24:26
157,602,301
65
31
null
null
null
null
UTF-8
Python
false
false
13,674
py
#!/usr/bin/env python # Authors: Junior Costa de Jesus # import rospy import os import json import numpy as np import random import time import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from collections import deque from std_msgs.msg import Float32 from environment_stage_1 import...
[ "dranaju@gmail.com" ]
dranaju@gmail.com
a63e5392c77c44efb38492a70d95c6dfa7e974e7
885404aa969841369b9617c8fad0ac5c1dad555a
/sshmonitor/tests.py
70619ca9ee1e3955fbe456a501873e05b3d6c71a
[]
no_license
meyerjo/ClusterJobMonitor
66262994561d700b0f7f45ff0729935ae4ce2612
24cd87d90e626f8be67fc432f35dce7233ee8965
refs/heads/master
2021-01-21T04:44:26.537933
2016-06-12T16:37:44
2016-06-12T16:37:44
53,283,375
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
import unittest from pyramid import testing class ViewTests(unittest.TestCase): def setUp(self): self.config = testing.setUp() def tearDown(self): testing.tearDown() def test_my_view(self): from .views import my_view request = testing.DummyRequest() info = my_vie...
[ "meyerjo@informatik.uni-freiburg.de" ]
meyerjo@informatik.uni-freiburg.de
8644cb81bf0fcfd6f2c5b8dbf1b318cdfb99784c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_370/ch120_2020_04_01_03_35_57_135848.py
9d294a0499ab557c0f53778c9d2f27dd6b98aebe
[]
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
839
py
import random dinheiro = 100 while dinheiro > 0: print (dinheiro) aposta= int(input("Quanto voce quer apostar? ")) if aposta != 0: n_ou_p=input("Voce quer apostar em um numero (n) ou paridade(p)? ") if n_ou_p == "n": numero=int(input("Escolha um numero entre 1 e 36: ")) ...
[ "you@example.com" ]
you@example.com
4445c4437b3365ae0e73e459d55783e940cf29bf
95cf98bd7484d037dccb7f92659f8c2575f40556
/weatherObservations.py
427fab2867648819ad3a671104e30d5991ccbc0f
[]
no_license
jermainlaforce/channel3
34d2892da10e7d17db9434651d189870dce511fa
95db97313cc24476d3a0445df020415d38ca2254
refs/heads/master
2022-04-17T05:57:18.023468
2020-04-16T10:22:05
2020-04-16T10:22:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,080
py
rom setup import * import os import urllib.request import xml.etree.ElementTree as ET import xmltodict ## Download weather XML file from NWS, change location code in setup.py def loadWeather(): try: os.remove('weatherObservations.xml') urllib.request.urlretrieve(weatherObservationURL, '...
[ "dolfin@gmail.com" ]
dolfin@gmail.com
613fefd8380bf4435858fd0857c0dfb569fafb41
1dfba6d8c60a534d6bdeb985697fba913da5fe9b
/src/mceditlib/bench/time_loadsave.py
52fb8a10945703382abccd3848abbce13e03efe2
[ "BSD-3-Clause" ]
permissive
shipbiulder101/mcedit2
2d88a6933bac3010f5bedcdd65d542587841a19f
44179472b7834c803da243a82d731f9ef555764d
refs/heads/master
2021-01-12T21:52:56.581572
2015-10-20T21:30:34
2015-10-20T21:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
""" time_loadall """ from __future__ import absolute_import, division, print_function import logging import timeit from mceditlib.test import templevel import gc log = logging.getLogger(__name__) def loadall(): ents = 0 for cPos in pos[cStart:cEnd]: chunk = dim.getChunk(*cPos) ents += len(c...
[ "codewarrior@hawaii.rr.com" ]
codewarrior@hawaii.rr.com
358d90cae4b02c3a2bfdc2705e245c5cf7724a73
6cc25605d1942cbf0bae41f8547934e950ecf3c8
/detect-from-images.py
efb1211c5a21884761cb21c5b94ef765297ff380
[]
no_license
JMDTol/Pedestrian-Detection-using-Video-Stream
4c4328f453c94591a746c862b1acd0fd19447f4a
8af71b425d627c35f0a52ec4c18c541e30115374
refs/heads/master
2021-09-04T18:35:58.229016
2018-01-21T03:11:52
2018-01-21T03:11:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,916
py
# USAGE # python detect-image.py --images test # import the necessary packages from __future__ import print_function from imutils.object_detection import non_max_suppression from imutils import paths import numpy as np import argparse import imutils import cv2 # construct the argument parse and parse the arguments ap...
[ "ahmad.ali.abdilah@gmail.com" ]
ahmad.ali.abdilah@gmail.com
3f2f6fbc0481c2d636f6942ed89673e7e7f6161e
32b769cab585de6800a491f5b2f1fadd6d2aba0c
/backend/app/resources/forms.py
a141826e50bf31ccce0b35430dd8cf1246461178
[]
no_license
guoxingx/gxblog
e5a59c43ad58075fba58614e5fddf878b2d37071
bd580f9dd2c97bdea183f83ef7ca57723926c64b
refs/heads/master
2020-03-12T18:27:54.148119
2018-06-19T17:48:02
2018-06-19T17:48:02
130,760,537
1
0
null
null
null
null
UTF-8
Python
false
false
704
py
from flask_wtf import FlaskForm from wtforms import StringField, FloatField from wtforms.validators import DataRequired class BetOnEtherCreateForm(FlaskForm): home = StringField('home', validators=[DataRequired()]) visiting = StringField('visiting', validators=[DataRequired()]) opening_time = StringFiel...
[ "3064793912@qq.com" ]
3064793912@qq.com
ba6a10edb9830a39009bee9ba0cc75451678036a
5fac8d09c3de4bfb86c6522873a7a68d9b42c3bb
/manage.py
44e68760be335b6dda8a416d1176d7d62bd5540c
[]
no_license
LAladder/ceshi
76a77c72cc6d6db66f0e8cba632f029d2ae0e68c
218c9f18acffe0d6d85033bb18fa0d1f3d690d12
refs/heads/master
2020-04-29T07:30:27.750662
2019-03-16T10:07:46
2019-03-16T10:07:46
175,955,515
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "crm_.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "guiwanli95@gmail.com" ]
guiwanli95@gmail.com
bf643a7a27447d15f1d74490504b8f5699958481
47c7549e5f2de8893bf2113e8f50d1562d981614
/service lane hackerrank
297b6441da13d0c45ba1e38a021c590da306e18e
[]
no_license
shantanusl15150/Hackerrank-Solutions-in-Python
0d50eef35fe8c56f742b47e445e537692ee4f854
4cf04746b0be79b9fb18b8e583c224afd372e9a2
refs/heads/master
2022-12-30T10:04:24.730316
2020-10-20T06:02:09
2020-10-20T06:02:09
294,696,637
1
0
null
2020-09-11T13:04:49
2020-09-11T13:02:03
null
UTF-8
Python
false
false
665
#!/bin/python3 import math import os import random import re import sys # Complete the serviceLane function below. def serviceLane(n, cases): result = [] for i in cases: result.append(min(width[i[0]:i[1] + 1])) return result if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w'...
[ "noreply@github.com" ]
noreply@github.com
eb64a20b89f12a415cbf2d405f001c051f4c7815
7936e1cba3dc2e2b98a62b3c7d2dc46145951ab2
/attendance_portal/views.py
48ee9b9b7e33f8affbc7ab291ab0458e09293ac6
[]
no_license
agbilotia1998/attendance_portal
127af2951a2a2a301317e2e16945302898cbcba2
0baa861241bf928eb3cd5dc9cb1af559fca95fb2
refs/heads/master
2021-05-12T15:35:44.406847
2018-01-09T17:58:57
2018-01-09T17:59:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,060
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from .models import * from rest_framework import status from rest_framework.response import Response from rest_framework.views import APIView from rest_framework.decorators import api_view from .serializers import * from django.utils import timezone from ...
[ "hj.harshit007@gmail.com" ]
hj.harshit007@gmail.com
a0b7840f8e31a40c5470899592e6690d84c9efb5
d2e71300b36e6686719ce609469e699ea87ac4bc
/metagrok/games/test_tictactoe.py
78a0f5812773f96e5feff42aa0ba87b7e25e0bb6
[ "MIT" ]
permissive
yuzeh/metagrok
42ff22e69c8172fb19fb1a2aa14f57cb2b2556ff
27f71441653611de939f1fe43e7aee6a7cdf1981
refs/heads/master
2020-06-05T23:04:53.058303
2019-09-18T13:58:43
2019-09-18T13:58:43
192,569,074
27
4
null
null
null
null
UTF-8
Python
false
false
6,234
py
import unittest from metagrok.games.tictactoe import Game class SequencePlayer(object): def __init__(self, seq): self._seq = seq self._idx = 0 def update(self, opcode, data): if opcode == 'end': self.result = data def action(self): action = self._seq[self._idx] self._idx += 1 ret...
[ "github@yuzeh.com" ]
github@yuzeh.com
91de258357da03040a37deec4cce1b055beea036
4ce94e6fdfb55a889a0e7c4788fa95d2649f7bca
/User/apps/logreg/urls.py
13f5528d4db332284dfc1f9219fa72fb983eed21
[]
no_license
HaochengYang/Django-class-assignment
4018d8eb0619a99ebe8c3e47346d29934aafc66b
cb8f920f432209f88c810407ca646ee7dec82e22
refs/heads/master
2021-06-08T20:05:22.876794
2016-12-19T23:39:22
2016-12-19T23:39:22
75,032,572
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$',views.index, name="index"), url(r'^register$',views.register, name="register"), url(r'^login$',views.login, name="login"), url(r'^main$',views.main, name="main"), url(r'^logout$',views.logout, name="logout") ]
[ "haocheng0906@gmail.com" ]
haocheng0906@gmail.com
a5c303c67c7616999fea0538e5cd659a809d73ab
205ff70495217826bf9bf154e4e537419bc3c918
/HackerRank_Climbing_the_leaderBoard/.history/alice_20191021203727.py
b7298e7331e5c90d252a560eee14d2f2cd7dfcaf
[]
no_license
sadegh-babapour/AlgorithmzSolutios
f841b72c9b6cc8cfd6441e99f25ae76766d8a1e3
7ace5528ae504dc837c9968d3505d73444dffce1
refs/heads/master
2020-08-21T06:56:15.889121
2019-11-24T22:15:11
2019-11-24T22:15:11
216,108,724
0
0
null
null
null
null
UTF-8
Python
false
false
5,361
py
import math import os import random import re import sys def climbingLeaderboard(scores, alice): alice_ranks = [] for alice_score in alice: for i, player_score in enumerate(scores): rank = 0 if (player_score > alice_score and i == 0): rank += 1 elif ...
[ "sam.bp.1988@gmail.com" ]
sam.bp.1988@gmail.com
0ecd1fe87ede48fb67a3f78ddd1b51df788584e5
74e47e8e9abc316590d735c660b7b69c38863235
/example/training/tensorflow2-cifar/models/alexnet.py
7a162fc4d2a645a73a55fdeb36a75c4effdacb1a
[ "Apache-2.0" ]
permissive
anandj91/tensorflow
33f80abf8d7c6b7e6f29365a48ecd2453b11b5aa
dca12f7cd1e98e113c7494a4d6edb01d4f511e22
refs/heads/master
2022-10-25T22:49:29.159368
2022-09-27T22:29:52
2022-09-27T22:29:52
197,257,249
0
0
Apache-2.0
2021-05-20T21:44:05
2019-07-16T19:43:22
C++
UTF-8
Python
false
false
1,853
py
''' AlexNet in TensorFlow2. Reference: [1] Krizhevsky, Alex, Ilya Sutskever, and Geoffrey E. Hinton. "Imagenet classification with deep convolutional neural networks." Advances in neural information processing systems 25 (2012): 1097-1105. ''' import tensorflow as tf from tensorflow.keras import layers clas...
[ "32458106+serach24@users.noreply.github.com" ]
32458106+serach24@users.noreply.github.com
2cd75d5d3386369578cce46cf97a8093935871de
ac461875baac1fdd306d6ed4b7df493bc5df21eb
/CiscoTropoSendSMS_v7
97a8fc65f0e0f23e1c82add43399fb9b81825a18
[]
no_license
CiscoDoBrasil/Python-Programs-for-Cisco-APIs
03d48ed9168fb73b3e0dbd90b00de60a6444e4fe
6c47748e73a79c2f8ed3f70d8f0d3b50bf549120
refs/heads/master
2021-01-19T01:48:37.788506
2016-06-20T20:50:42
2016-06-20T20:50:42
61,578,982
0
0
null
null
null
null
UTF-8
Python
false
false
2,134
#!/usr/bin/python # -*- coding: cp1252 -*- import requests import requests.packages.urllib3 requests.packages.urllib3.disable_warnings() import time import csv import os, sys # Function to Send the SMS to the People on the smsusers.csv file def sendme( customerNames, numberToDials, alarmLocation ): url = ...
[ "noreply@github.com" ]
noreply@github.com
a7036727702187f9a453abac487548e362300ef5
f40bf1e1c0ee174d95bae80319ff81e3f7a301d0
/src/entities/region.py
88df3837439c651aa8cbdd26a7b594def6e94c11
[]
no_license
ljvannoo/delvernmud
db31a0bb9c33a62dedf326955838399f7e8399e3
d848d7249f35ee19e0dba9f366e46444aeff7e5d
refs/heads/master
2021-10-14T15:39:05.138360
2019-02-05T03:40:35
2019-02-05T03:40:35
137,833,870
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
from mongoengine import Document, StringField, ListField, ObjectIdField, IntField import src.entities.entity as entity class Region( entity.LogicEntity, entity.HasData, entity.HasCharacters, entity.HasItems, entity.HasRooms, entity.HasPortals): def __init__(self, *args, **kwargs): super(...
[ "lukas.vannoord@gmail.com" ]
lukas.vannoord@gmail.com
6d3aa231cfaf1a601049852cfd75a2b99f12a31e
01903cf9f510d9fe893a042a4d3dd4c027d3ecb7
/prototyping/keyboardTest.py
c65c5e0e4015f07ea0876b5ba48eebcb1aa02782
[]
no_license
EvanBrown96/JayBotsDT
3371609d8b0bd48a7cba44b6759186a7726cd914
31bd8b7d66b56206e5f896835e3c2cf5af995afa
refs/heads/master
2022-12-11T22:25:04.404435
2020-05-27T12:29:19
2020-05-27T12:29:19
238,026,350
1
0
null
2022-12-08T10:15:38
2020-02-03T17:53:44
Python
UTF-8
Python
false
false
1,790
py
from gpiozero import DigitalOutputDevice, PWMOutputDevice import curses left_fwd = DigitalOutputDevice(20) left_bck = DigitalOutputDevice(21) left_spd = PWMOutputDevice(12, frequency=500) right_fwd = DigitalOutputDevice(5) right_bck = DigitalOutputDevice(6) right_spd = PWMOutputDevice(13, frequency=500) c...
[ "noreply@github.com" ]
noreply@github.com
b207757f438be172d38018eac13981d98905a6a4
c22f7d3b6af3d813fd8607c82a98f6e8ff9f934d
/M6T2_WilliamsAaron.py
141ce7156891b9beb966256291aff7a6e0a75f63
[]
no_license
Williama0558/cti110
12e606444a59658c754db92befa1b17e54797ff0
f5439703342087f8dba45e71623e169a2b8fb56a
refs/heads/master
2021-05-16T10:59:25.916675
2017-12-12T00:59:55
2017-12-12T00:59:55
104,895,384
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
#CTI-110 #M6T2 - Feet to Inches Converter #Aaron Williams #11/14/2017 #This programs converts feet to inches. #Constant used to convert feet to inches. INCH_CONVERTER = 12 def main(): #Asks user for a distance in feet. feet = float(input('Please enter a distance in feet: ')) conversion(feet)...
[ "noreply@github.com" ]
noreply@github.com
14f11d1880106ac0cea4729fca3d4e4634e95dbd
a7e9dd8ad69a8e21803ebd228673f694b94b7fc6
/2017/Day 4/Part 1/main.py
ac2e9a6beb64ac963416f63e1306286d87765762
[]
no_license
thekabaro/Advent-of-Code
d54db9e709410a3aa3056059521a95c95bf0862c
ee6e970c463249c5b13b7b4be0dc6a4d61309f80
refs/heads/master
2020-07-25T02:55:31.801375
2019-09-20T22:34:06
2019-09-20T22:34:06
208,142,609
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
myFile = open("../input.txt", "r") total = 0 for line in myFile: clear = True line = line.strip() words = line.split() for i in range(len(words)): for j in range(len(words)): if (j > i and words[i] == words[j]): clear = False if (clear): total += 1 print(t...
[ "thekabaro@gmail.com" ]
thekabaro@gmail.com
b2465b0a106029e03744dcec97325d8d8c6df2cb
505a9364edae5fe3fdb165dd7b1592cc63755255
/10_frequency/frequency.py
acfea09eb4db53024d4cd87052f0d0385b1845ad
[]
no_license
vrussillo/python-ds-practice
6dcebaf205fda8616e049e86fd16938e0a1a625e
1bafc5e20d32d303baa84ee896fdf9acfed9a27e
refs/heads/main
2023-06-23T22:51:16.126025
2021-07-28T23:18:12
2021-07-28T23:18:12
390,535,226
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
def frequency(lst, search_term): """Return frequency of term in lst. >>> frequency([1, 4, 3, 4, 4], 4) 3 >>> frequency([1, 4, 3], 7) 0 """ index_counter = lst.count(search_term) return index_counter
[ "80196694+vrussillo@users.noreply.github.com" ]
80196694+vrussillo@users.noreply.github.com
7a39118e0f167f072d6c15e7eff6fc1a9ecc00f7
61638e7978f3ad79a1c63df9a5dd5cefb8379134
/proxy.py
bdbd4a3cc579b6220fe2b6824bd1e861d5730df0
[]
no_license
tiger-00/cheker_proxy
0133629de4ba461882c75f24939a4088cf4c70f3
5b87cb2a8bfcdb3c8784e60b77229818dbe8cad5
refs/heads/main
2023-02-01T23:54:25.624399
2020-12-22T13:51:19
2020-12-22T13:51:19
323,638,835
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
import random import requests import threading from time import sleep print("Developer :mounir AL bdullha 👨🏻‍💻") print("snapchat:ar5824") fill = input("put file proxy:") def pro(): try: proxy = open(fill, 'r').read().splitlines() proxylist = [] for prox in proxy: ...
[ "noreply@github.com" ]
noreply@github.com
29a81e6881db1268d23434dc6980737b6eb640d4
52855d750ccd5f2a89e960a2cd03365a3daf4959
/ABC/ABC102_A.py
5b3e4fd37e2243daff35ceda1216e174bf71c576
[]
no_license
takuwaaan/Atcoder_Study
b15d4f3d15d48abb06895d5938bf8ab53fb73c08
6fd772c09c7816d147abdc50669ec2bbc1bc4a57
refs/heads/master
2021-03-10T18:56:04.416805
2020-03-30T22:36:49
2020-03-30T22:36:49
246,477,394
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
# 最大公約数 def gcd(a, b): while b != 0: a, b = b, a % b return a # 最小公倍数 def lcm(a, b): return a * b // gcd(a, b) N = int(input()) print(lcm(2, N))
[ "takutotakuwan@gmail.com" ]
takutotakuwan@gmail.com
c2a7b8bd8ed8c4e5ae34e9eeea91aec3c5d466d1
8578bf2218c5ff0842f21f5ce1d6b0b8a2ef9ec3
/venv/Scripts/pip3-script.py
64cc46ddbde8c1bdb43c634715e6a420e411ccdc
[]
no_license
amoghkalyanshetti/GeeksForGeeks-Practice-Solutions-Python
b9ea9c1c8d7c669ab2b8bb9e63ffe301c4e63257
644c71668e2638af928873b2fd4a01e051f8fe5c
refs/heads/master
2020-04-10T11:36:48.344765
2018-12-09T02:55:55
2018-12-09T02:55:55
160,998,468
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
#!"C:\Users\amogh\PycharmProjects\GeeksForGeeks Practice Solutions\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?...
[ "amoghkalyanshetti@gmail.com" ]
amoghkalyanshetti@gmail.com
a616047134756ed93653e3641eeadb7056c6d93e
52b5773617a1b972a905de4d692540d26ff74926
/.history/permutations_20200723155542.py
0a2cb82160de953b2379765e3b9c3fe802252d19
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
def perm(arr): # sort the array if len(arr) == 0: return 0 else: arr.sort() perm = set(arr) maxValue = max(arr) if len(perm) == maxValue: return 1 eli: print(perm([1,1,1]))
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
416202ebf4e2747dd2056cfbbefa57616e96e4e9
ec8d11121b6bdda9e7927365e49b1c4a5242bd9c
/src/sr_factory/sr_method_factory.py
a57a76d9361f96a1b407e98b26b5204e80ab6f61
[]
no_license
ivarshav/SRLab
cb3ff22e91669e6a062b4a73f6b179200430b618
7cdc546cb17ae9e9e0f495f439ecce527253c23f
refs/heads/master
2021-05-15T13:16:25.665337
2018-05-07T11:00:33
2018-05-07T13:10:12
106,411,443
1
0
null
null
null
null
UTF-8
Python
false
false
513
py
from sr_method.iccv09 import ICCV09 from sr_exception.sr_exception import SRException class SRMethodFactory(object): @classmethod def create_method(cls, method_type): """Create a SR method object. @param type: type of SR method @type method_type: str @return: an instance of SR...
[ "inbvar@gmail.com" ]
inbvar@gmail.com
6fb7b4c0f1f3aaa4ff072d35062629e31bbb8707
bad6ba1cc6b01e423a95f25f55933fcd5c9475d5
/src/model/inceptionUnet.py
a9f8375e90515886e17b4bbb4809ba1ea59d4d46
[]
no_license
MaxenceLarose/GLO-4030-7030-DL-Project
53fe5ba0befcd13a6c690c2947cb15fdd0cf7d89
22b8e2c2d95b5969edf75e77c9ab1cadcb182df5
refs/heads/main
2023-05-07T22:41:00.527588
2021-06-01T18:30:35
2021-06-01T18:30:35
348,068,090
0
0
null
null
null
null
UTF-8
Python
false
false
6,753
py
import torch from torch import nn class VGGBlock(nn.Module): def __init__(self, in_channels, middle_channels, out_channels, kernel_size=3, batch_norm_momentum=0.1): super().__init__() self.relu = nn.LeakyReLU(inplace=True) self.conv1 = nn.Conv2d(in_channels, middle_channels, kernel_size=kernel_size, padding=1) ...
[ "BeCe3010@domain_chuq.reg03.rtss.qc.ca" ]
BeCe3010@domain_chuq.reg03.rtss.qc.ca
cd114c83b9966d2daf5cee241b255c9ac3014f68
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/fabric/rstofabricpaths.py
0659e77a7c7208ae475bd9c3100f3f18424e752b
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
9,325
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
6f20ea4026405a9598e5facc2c46b3e34bc3f1db
80579d5cf31edd31750b644d6eb46a2b29ff4972
/CandidateApp/migrations/0004_auto_20191104_0734.py
392e3a7ab7e8e002f5e272f8bbfeb223b6a9d073
[]
no_license
Nigar-mr/Vacancies
fb2935202488d957a4cccece0ac68a3ec052aa87
a8c4605e66cb4cf425abd6565b265df5b458e26d
refs/heads/master
2023-01-27T11:36:32.836172
2020-12-02T14:41:50
2020-12-02T14:41:50
317,890,920
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
# Generated by Django 2.2.6 on 2019-11-04 07:34 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('CandidateApp', '0003_citymodel_countrymodel'), ] operations = [ migrations.RemoveField( model_n...
[ "muradlinigar@gmail.com" ]
muradlinigar@gmail.com
421c7df8c51d2a23bca7d546d4fb6919cd98646d
2c74e0a5f0459cb03cb510711d7ce7677d036c18
/bin/create_ipsec_conf
0f0fdf7a88fbdaf5ea20da36afca76b593ab7237
[]
no_license
Tubbz-alt/secure_ros_tools
9a22e699920d1c2503918b671d00740b3d3e53c6
2f3287703920174729de739e09e4ca067f4d2d5e
refs/heads/master
2021-06-25T13:55:14.644284
2017-08-30T19:44:30
2017-08-30T19:44:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,717
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2017, SRI International # 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 m...
[ "aravind@ai.sri.com" ]
aravind@ai.sri.com
82e203e7765873e866d53104c46d6c8e98aa7857
8f112426cb1154bd7a75b7a4d43aa4740b8f600c
/demo.py
57b486b019cfc77a7e32cd7d8c9b2187572fe544
[]
no_license
yeyeye777/toususina
b77968718e10cb194d3351ea60a99ba3d9528768
cb57a67bdf34d0779c6fbed796716c243e79cc79
refs/heads/main
2023-06-22T19:21:00.322075
2023-06-12T05:46:40
2023-06-12T05:46:40
364,834,231
3
3
null
null
null
null
UTF-8
Python
false
false
1,154
py
import time import random import hashlib import json sha256=hashlib.sha256() c=str(int(time.time() * 1000)) #13位时间戳 a = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C",...
[ "noreply@github.com" ]
noreply@github.com
bffb93f11e2d156068446b36e4f0a07a925befaa
9efe98cd4e2c4b23230ba8af2b98609b0a8654a5
/articles/urls.py
cc4823f2d18d59695b2fe6aa45fc3bc87e971e07
[]
no_license
Jordan-Rob/django-news
f0855d10f9056ad491d90d9086284ed3de468227
fc73862274522a16530d2fd3497d6e90b7b109c2
refs/heads/master
2021-09-25T11:37:50.529863
2020-02-26T13:50:42
2020-02-26T13:50:42
241,844,795
1
0
null
2021-09-22T18:45:20
2020-02-20T09:34:47
Python
UTF-8
Python
false
false
551
py
from django.urls import path from .views import ( ArticleListView, ArticleCreateView, ArticleDeleteView, ArticleDetailView, ArticleUpdateView, ) urlpatterns = [ path('', ArticleListView.as_view(), name='article_list'), path('new/', ArticleCreateView.as_view(), name='article_new'), pat...
[ "jordanrob709@gmail.com" ]
jordanrob709@gmail.com
6b7f37d2fd1de90aaddae7a91b5ac1259183df26
ab092c8d031ff38c16e6dd0d14c61b6474a34929
/switcher.py
3fb3b6844f5c6c5fad259b1a2b200bb01db538af
[ "MIT" ]
permissive
boiledfroginthewell/windowswitcher
0e4fa44fb6a6109fc1b1544be0888ddc16f1c6dd
8da870146c43fd610a1839e742976f52171e8aec
refs/heads/master
2020-12-24T18:55:17.525040
2017-03-31T12:15:41
2017-03-31T12:15:41
58,038,274
0
0
null
null
null
null
UTF-8
Python
false
false
8,403
py
#!/usr/bin/env python # vim: fileencoding=utf-8 # Note # only one-letter labels are supported # Currently only one-letter label is supported, since the event handeler # accept only one letter. import gtk import wnck import pango import sys # Window name for this program. # This name should be different from the oth...
[ "boiledfroginthewell@users.noreply.github.com" ]
boiledfroginthewell@users.noreply.github.com
4e41708c351fee9a7c63120d04ebf8b6b7dcd013
057b97ef719c6b13121e4cb28caf55fe75358620
/minggu-03/praktik/src/listcomprehensions.py
4fd213d494525d0edda7d2302a47f025b915b97d
[]
no_license
rodesta2212/bigdata
3dc209a3b7b84291c82d99be31952141bd3f6f16
06c9761e03771664d75fdf4c2c8ff094611f9e56
refs/heads/master
2020-03-28T15:34:46.306985
2019-01-07T14:53:08
2019-01-07T14:53:08
148,607,540
2
4
null
null
null
null
UTF-8
Python
false
false
310
py
squares = [] for x in range(10): squares.append(x**2) print squares print [(x, y) for x in [1,2,3] for y in [3,1,4] if x != y] combs = [] for x in [1,2,3]: for y in [3,1,4]: if x != y: combs.append((x, y)) print combs from math import pi [str(round(pi, i)) for i in range(1, 6)]
[ "rodesta2212@gmail.com" ]
rodesta2212@gmail.com
20d466c872a9e9cc3e8c0d6993541a1ee769c0e9
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_dissed.py
bfd39eb88b44f035eafe50cb7e30ebacde72a66b
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
from xai.brain.wordbase.verbs._diss import _DISS #calss header class _DISSED(_DISS, ): def __init__(self,): _DISS.__init__(self) self.name = "DISSED" self.specie = 'verbs' self.basic = "diss" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
8579c92447a21ce7b508108375db792656afff0a
7357d367b0af4650ccc5b783b7a59090fdde47bb
/library/k8s_v1_config_map.py
f1f041f9632980fdd20118debaac00931c8b2207
[ "MIT" ]
permissive
BarracudaPff/code-golf-data-python
fb0cfc74d1777c4246d56a5db8525432bf37ab1a
42e8858c2ebc6a061012bcadb167d29cebb85c5e
refs/heads/main
2023-05-29T05:52:22.856551
2020-05-23T22:12:48
2020-05-23T22:12:48
378,832,634
0
0
null
null
null
null
UTF-8
Python
false
false
5,574
py
DOCUMENTATION = """ module: k8s_v1_config_map short_description: Kubernetes ConfigMap description: - Manage the lifecycle of a config_map object. Supports check mode, and attempts to to be idempotent. version_added: 2.3.0 author: OpenShift (@openshift) options: annotations: description: - Annotations is an ...
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
8830c2898a2a2fdf1585445d96bea0025756f561
ed54290846b5c7f9556aacca09675550f0af4c48
/salt/salt/modules/boto_kms.py
ec2ea5bc01595adf8767bcb4cf716358e7dc0430
[ "Apache-2.0" ]
permissive
smallyear/linuxLearn
87226ccd8745cd36955c7e40cafd741d47a04a6f
342e5020bf24b5fac732c4275a512087b47e578d
refs/heads/master
2022-03-20T06:02:25.329126
2019-08-01T08:39:59
2019-08-01T08:39:59
103,765,131
1
0
null
null
null
null
UTF-8
Python
false
false
17,620
py
# -*- coding: utf-8 -*- ''' Connection module for Amazon KMS .. versionadded:: 2015.8.0 :configuration: This module accepts explicit kms credentials but can also utilize IAM roles assigned to the instance trough Instance Profiles. Dynamic credentials are then automatically obtained from AWS API and no further...
[ "5931263123@163.com" ]
5931263123@163.com
96113d307e68e6ecf1ab568b98dfef680ef7a326
949e75c7edfc600f16a5931828e5a678f0775778
/shelf/admin/__init__.py
f8084a25454f4716389dd18a8a79b547b885700f
[]
no_license
alexpirine/shelf-cms
8d76ea62f161c91e36f5cc73e630a2a93f39e1a8
2a0873b4a197e4ebc2bd92f01666cfec27cc9be3
refs/heads/master
2020-04-05T23:38:05.355330
2017-12-15T14:02:57
2017-12-15T14:02:57
49,945,172
5
1
null
2018-05-07T12:37:02
2016-01-19T10:28:58
HTML
UTF-8
Python
false
false
44
py
from base import Admin __all__ = ['Admin']
[ "as@netica.fr" ]
as@netica.fr
ca12d0553370be58a4e3f461d5eb2ef2d6995281
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nncanon.py
fbf0d87bad8b52f95da4ae2656a4b80d205e6358
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
1,300
py
ii = [('CookGHP3.py', 2), ('MarrFDI.py', 2), ('GodwWSL2.py', 1), ('ChanWS.py', 1), ('RogePAV.py', 1), ('SadlMLP.py', 2), ('WilbRLW.py', 1), ('WilbRLW4.py', 1), ('ProuWCM.py', 1), ('CookGHP.py', 1), ('LeakWTI2.py', 1), ('LeakWTI3.py', 1), ('PettTHE.py', 1), ('AubePRP.py', 2), ('AdamWEP.py', 1), ('ClarGE2.py', 2), ('Carl...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
122c75e27c17df4bbf14e2c70b81f28d3bea7b90
088d4cdb572e1ef31dea6fffd22db943ceab31bb
/test/sample.py
cc6dee78451a1bb979e6b1b9aeebbc2b87ec6cf9
[]
no_license
umesh-gattem-rzt/Python_utils
2904cbcb1e1d23542991b7d94e79b301fb7d6bba
3f877f9a262be01e507fab78c98d209a934899b5
refs/heads/master
2021-01-20T09:20:03.527339
2017-05-04T09:24:37
2017-05-04T09:24:37
90,237,672
0
1
null
null
null
null
UTF-8
Python
false
false
697
py
import os import tensorflow as tf logs_path = 'logs' train_data = [1, 2, 3, 4, 5] label = [6, 7, 8, 9, 10] epoch_acc = tf.Variable(1) tf.summary.scalar("acc", epoch_acc) summary_op = tf.summary.merge_all() init = tf.global_variables_initializer() with tf.Session() as sess: sess.run(init) # summary_write...
[ "umesh.kumar@razorthink.net" ]
umesh.kumar@razorthink.net
58460e195591fa74ab7ac0ef1d322fab526420a8
af2306e4e78f619c8adf1c80a9edc4932fff77a8
/session/views/session.py
efbea2599960434c1cd534838d5d07f73f98d715
[]
no_license
andybui01/openCMS
440284890650a2152b0a1d9a9e3156a5b7bfbe6b
2203b412886043ca53450bdfde0613d3e0a00898
refs/heads/master
2023-05-01T08:29:21.956782
2020-02-26T23:24:25
2020-02-26T23:24:25
228,292,304
0
0
null
2023-04-21T20:43:52
2019-12-16T03:08:55
Python
UTF-8
Python
false
false
4,569
py
from django.shortcuts import get_object_or_404, render from django.http import HttpResponse, HttpResponseRedirect, Http404 from django.urls import reverse from simple_barloader.generate import generate from ..models import Session, Athlete from ..forms import CreateAthleteForm, UpdateAthleteForm def index(request, me...
[ "andy.bui2001@gmail.com" ]
andy.bui2001@gmail.com
7b7236e04ce84478b326d1bf5639d8e284d3c418
47175228ce25812549eb5203fc8b86b76fec6eb9
/API_scripts/dfp/dfp_python3/v201411/custom_field_service/create_custom_fields.py
f810346ad2e1082080513f0a6bbf67f474035af9
[]
no_license
noelleli/documentation
c1efe9c2bdb169baa771e9c23d8f4e2683c2fe20
a375698b4cf0776d52d3a9d3c17d20143bd252e1
refs/heads/master
2021-01-10T05:41:30.648343
2016-02-13T05:46:31
2016-02-13T05:46:31
51,477,460
1
1
null
null
null
null
UTF-8
Python
false
false
2,146
py
#!/usr/bin/python # # Copyright 2014 Google Inc. 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 b...
[ "noelle@makermedia.com" ]
noelle@makermedia.com
ac8acff2dcb4b82c2b1917c7a973d1992c0d57b3
a0dba1abf1970fde535234a9bed30cd34e9550e1
/good_first_pgm.py
004f4a87e33383a000e7db501d104dc92125096f
[]
no_license
deepak1211/python_101
e7a22beb1c9277169c13622b82c5075628056a31
19865b07ddc1c8b013b8fe1169a9374d28b1a0a3
refs/heads/master
2020-03-25T08:17:41.261075
2018-08-05T12:42:05
2018-08-05T12:42:05
143,605,832
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
print("HEllo") print("Hi Python") print("hello world")
[ "deepak12.pss@gmail.com" ]
deepak12.pss@gmail.com
0a89f00e61b99fc24c2200e195e32fef8e804757
1a2d843df90bbde9d958c9539b418a6c765cfef5
/Easy/BeautifulStrings.py
72bc1197757fc1141e18ebfc70b76b24be877f2d
[]
no_license
tramxme/CodeEval
4a0255bc795558f512d1aa918ecd53bd555fd506
1914daa981d0f4bac0f6ec1227f09cf530fb0431
refs/heads/master
2021-01-20T15:12:41.770646
2017-06-08T19:13:41
2017-06-08T19:13:41
90,733,074
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
import sys, re alphabet = "abcdefghijklmnopqrstuvwxyz" def getVal(string): string = re.sub(r'\n', '', string) string = string.lower() total = 0 string_dict = {} for char in string: if char in alphabet: if char not in string_dict.keys(): string_dict.setdefault(cha...
[ "tramlaisf@gmail.com" ]
tramlaisf@gmail.com
4a7a01e5cb12d0a238a17ba751a56c9fc83ceea1
3c0f8b3ff8e15d354a92ab060a9bda187f1eb4af
/blog/migrations/0002_auto_20180906_0729.py
372c03f1416be1bc0eaf496590c7577d18099162
[]
no_license
TamannaArora/Blogging
cc9baedb0bfe1e6b19923fdcae749dbafd740d54
57467e4c5f311db45878a588e94eaac91ab160e6
refs/heads/master
2022-12-15T04:53:56.092112
2018-09-24T06:35:40
2018-09-24T06:35:40
149,570,576
0
0
null
2022-12-07T23:52:22
2018-09-20T07:38:17
Python
UTF-8
Python
false
false
402
py
# Generated by Django 2.0.8 on 2018-09-06 07:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='postpagecomments', name='page', ), ...
[ "tamanna.arora@netsolutions.com" ]
tamanna.arora@netsolutions.com
f56344ec03298cfd6368be3e8e5f8f4c8d6ba39b
09f89953329fdcf3c5faec67b218cf807dcf018b
/node_modules/webpack-dev-server/node_modules/fsevents/build/config.gypi
6e187ad3224fd2f75fa83990bc929db8e6642560
[ "MIT" ]
permissive
ogjaylowe/orion_webtools_parent_client
4d6feae4acdbecc6d868ad986ade43298c242c42
ce14872c7c3da3ec3b530ca175486c292d624ba7
refs/heads/master
2022-11-29T04:24:29.524178
2020-08-13T19:21:42
2020-08-13T19:21:42
286,554,089
0
1
null
null
null
null
UTF-8
Python
false
false
5,681
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, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "jlowe@orionacademy.org" ]
jlowe@orionacademy.org
3765211e0c207bb119cdda1a1d3de087a63cce44
1b71913237e59ce02a4675fb2e15828a28295a75
/crowd/middleware.py
137338f801b004b8de95437361e649efa63a41e0
[]
no_license
taxilian/django-crowd-backend
c4d657b8137427a624fd7da36824736fb00c43dd
b339a6e00218b3168a1ffaf30f7a5c5e1acaf454
refs/heads/master
2021-01-10T21:17:42.299845
2011-05-31T16:59:18
2011-05-31T16:59:18
1,514,677
3
2
null
null
null
null
UTF-8
Python
false
false
2,249
py
from crowd.backend import CrowdBackend from datetime import datetime, timedelta from django.contrib.auth import login as auth_login from django.contrib.auth.models import AnonymousUser __author__ = 'sannies' class CrowdSSOAuthenticationMiddleware(object): crowdBackend = CrowdBackend() crowdUserLoggedIn = Fa...
[ "Sebastian.Annies@googlemail.com" ]
Sebastian.Annies@googlemail.com
7c1292d91e51bb80995f6b69217480ef9b74e4c4
cd9d1c2de48193218efc5bf4945cc412ae9578a7
/casa_scripts/split_dataset.py
4222e9e6f18c84e585a14cac277c1d22691d0dc9
[]
no_license
RTIP/artip
c4bc7a0c60d5cfb840e5bb56f7d688323f893dec
c4f3a98b5952261371a446a33702f6db1ddca8d2
refs/heads/master
2021-07-22T17:39:01.386175
2018-11-23T05:47:06
2018-11-23T05:47:06
112,178,563
18
5
null
null
null
null
UTF-8
Python
false
false
431
py
script_parameters_start_index = sys.argv.index('-c') + 2 parameters = sys.argv[script_parameters_start_index:] ms_dataset = parameters[0] output_dataset = parameters[1] field = parameters[2] datacolumn = parameters[3] width = [int(v) for v in parameters[4].split(',')] spw = "" if parameters[5] == 'all' else parameters...
[ "ravis4376@gmail.com" ]
ravis4376@gmail.com
46a33a67736e7b3e187d1302396f135fa21a695c
9d12d8086552762413999907ac7ce3242b1e05bf
/task2/task1_2.py
410f708ce519b7690e43ad80da43a6dbc94fb97a
[]
no_license
clthegoat/IML_project
4b5bf9506f0a21e29b88ca08061bc8c52a825957
7b5b002ce0266343fcb44729b521a75daf9c6d38
refs/heads/master
2022-11-04T23:13:34.372989
2020-06-13T14:57:37
2020-06-13T14:57:37
247,167,897
0
0
null
null
null
null
UTF-8
Python
false
false
31,096
py
import pandas as pd import numpy as np from sklearn.metrics import r2_score from sklearn.model_selection import KFold, GridSearchCV from sklearn.feature_selection import SelectFromModel from sklearn.preprocessing import StandardScaler from sklearn.metrics.pairwise import cosine_similarity import tqdm import matplotlib....
[ "lechen.chn@gmail.com" ]
lechen.chn@gmail.com
7f45e9874c2bec2f7cbb448475e5c45d63d5972f
315450354c6ddeda9269ffa4c96750783963d629
/CMSSW_7_0_4/src/TotemRawData/Readers/test/.svn/text-base/raw_data_example.py.svn-base
fe26aa920afdb0d2be6cac4e77ee9b7bb3cb236e
[]
no_license
elizamelo/CMSTOTEMSim
e5928d49edb32cbfeae0aedfcf7bd3131211627e
b415e0ff0dad101be5e5de1def59c5894d7ca3e8
refs/heads/master
2021-05-01T01:31:38.139992
2017-09-12T17:07:12
2017-09-12T17:07:12
76,041,270
0
2
null
null
null
null
UTF-8
Python
false
false
934
import FWCore.ParameterSet.Config as cms process = cms.Process("rpReconstruction") # minimum of logs process.load("Configuration.TotemCommon.LoggerMin_cfi") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(2) ) process.load('TotemRawData.Readers.RawDataSource_cfi') process.source.verbosity = ...
[ "eliza@cern.ch" ]
eliza@cern.ch
fd8c461c6a49189e245594956e73066da9675fbc
2e396444e67fc649dad1b8eef6f1bf8cafa60c07
/auto-stop-all-running/stop_ecs.py
61061af430a08bf2c4bd5eb399fe1169c44bb406
[]
no_license
soren-wandrup-bendixen/aws-lambda-python
f32b5f30b8474d859129c027972d087ce3eafb97
d7eb4d7563404fcb4910064f0977a93be402b3b9
refs/heads/master
2021-07-10T02:23:28.476145
2020-09-10T08:40:13
2020-09-10T08:40:13
195,198,956
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
# File_name: stop_ecs.py # Purpose: Stop ecs that are running # Problem: # Author: Søren Wandrup-Bendixen # Email: soren.wandrup-Bendixen@cybercom.com # Created: 2019-07-01 # Called from lambda_function.py import boto3 # instance_type = 'ecs' def stop_instances(instance_type,region_name_,RunningInstances) : clien...
[ "sobe70@linux-e2v9.swb.dk" ]
sobe70@linux-e2v9.swb.dk
adbcbf6a12df25a98d01ded607da3023800ac5e0
d0864c366018e03a30be0ddede37d0752400041c
/resnets.py
bd8c05f1356d83810bdddd0c36312bdc82faaf5c
[]
no_license
armen-h/wildlife_classification
89391389f69649b0452e30a8678b21643454e5f1
f02e947273912061ee8683f5973a8d858ebe5096
refs/heads/master
2022-09-01T07:43:12.702345
2020-05-28T15:53:10
2020-05-28T15:53:10
267,630,297
0
0
null
null
null
null
UTF-8
Python
false
false
8,174
py
# coding=utf-8 """ Resnets networks implementation in pytorch adapted from https://github.com/pytorch/vision/blob/master/torchvision/models/resnet.py """ # 3rd party imports import torch import torch.nn as nn import torch.utils.model_zoo as model_zoo model_urls = { 'resnet18': 'https://download....
[ "noreply@github.com" ]
noreply@github.com
42742cd191a5e2dc9ca2d07d896126833e05562d
acf95ae9a81f6ca7146aa803019602262122d4aa
/main.py
4bcaa6844d8738292fb12dcb518decefe9051800
[]
no_license
UtkuDenizSonmez/snake-game
bd7556e4632b8058806b1e466dc0f288c82066bd
a15799e548af146beb4385e7ed3f849f56ae3fb4
refs/heads/master
2023-05-24T04:10:28.169124
2021-06-23T15:26:27
2021-06-23T15:26:27
379,648,897
1
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
from turtle import Screen from snake import Snake from food import Food from scoreboard import ScoreBoard import time GAME_OVER_WALL = 290 screen = Screen() screen.setup(width=600, height=600) screen.bgcolor("black") screen.title("My Snake Game") screen.tracer(0) # Screen de olan her şey sırayla olmasını sağlıyor. 0...
[ "73853487+UtkuDenizSonmez@users.noreply.github.com" ]
73853487+UtkuDenizSonmez@users.noreply.github.com
34629b6fb15080ccaf408cf9a8dedc6b2f74309e
208a9a35191c6e4d9c63f3915a518f191f3108ba
/train_analysis.py
a7f627a9f1fc5c8658158d7050ed3e60f21edfe1
[]
no_license
Soma2-HighFashion/image_analysis
619b9ea6574e518f0e77f93b80adf5d2c50656eb
b805f8ede64e3d2ae96d4d4103f25babc5f4f6fa
refs/heads/master
2021-01-17T12:48:37.971868
2016-06-16T02:28:01
2016-06-16T02:28:01
58,246,352
2
0
null
null
null
null
UTF-8
Python
false
false
2,067
py
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import sys sys.path.append('./data') import data import numpy as np import tflearn as tl from tflearn.layers.core import input_data, dropout, fully_connected from tflearn.layers.conv import conv_2d, max_pool_2d from tflearn.laye...
[ "ehdwns2045@gmail.com" ]
ehdwns2045@gmail.com
174dd9ad5009af5573e49c63538a4a3f3b95d55e
d50ec43131be668368200315d1d9d307071d5385
/keanu-python/keanu/stubs/pandas/io/clipboard/exceptions.pyi
bdbaf0be98ea94794a4318f30816b92e94162d5b
[ "MIT" ]
permissive
improbable-research/keanu
605e4dc6a2f90f095c2c1ec91fa1222ae8d04530
99de10a15e0d4b33d323093a5cc2dd10b31c9954
refs/heads/develop
2023-04-14T01:17:29.130975
2021-09-21T10:24:48
2021-09-21T10:24:48
128,393,918
155
47
MIT
2023-04-12T00:18:07
2018-04-06T12:48:36
Java
UTF-8
Python
false
false
307
pyi
# Stubs for pandas.io.clipboard.exceptions (Python 3.6) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any class PyperclipException(RuntimeError): ... class PyperclipWindowsException(PyperclipException): def __init__(self, message: Any) -> None: ...
[ "michaellewin@improbable.io" ]
michaellewin@improbable.io
4bf8c937d1cb5fca14b04296a6c9c0a5afd934fd
8da1d25e1ecaeade49723207c9185c920da21040
/Log.py
19636b147b644a155d4328a05d136d1d9b0385bd
[]
no_license
batekmc/honeypot
fbaa7f78263e750a72f9d81057f1c5bfafbfcdd4
ae07c622215dd5a9ee1eec345f45679db15cce67
refs/heads/master
2020-04-05T23:20:04.028352
2015-07-10T10:11:25
2015-07-10T10:11:25
32,019,518
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
import threading import Queue from datetime import datetime class Log(threading.Thread): def __init__(self, fileName=None): threading.Thread.__init__(self) self.daemon = True self.fileName="" if fileName is None: self.fileName="honeypotLog" ...
[ "t.batiha@gmail.com" ]
t.batiha@gmail.com
b815002f092f7fa8b69f3b801a668fdef61e40b4
d8edd97f8f8dea3f9f02da6c40d331682bb43113
/networks848.py
f7be8eb4307013b16d110cd51277a2c9fe945916
[]
no_license
mdubouch/noise-gan
bdd5b2fff3aff70d5f464150443d51c2192eeafd
639859ec4a2aa809d17eb6998a5a7d217559888a
refs/heads/master
2023-07-15T09:37:57.631656
2021-08-27T11:02:45
2021-08-27T11:02:45
284,072,311
0
0
null
null
null
null
UTF-8
Python
false
false
8,798
py
import torch import torch.nn as nn import torch.nn.functional as F import numpy as np __version__ = 205 # Number of wires in the CDC n_wires = 3606 # Number of continuous features (E, t, dca) n_features = 3 geom_dim = 3 def wire_hook(grad): print('wg %.2e %.2e' % (grad.abs().mean().item(), grad.std().item())) ...
[ "m.dubouchet18@imperial.ac.uk" ]
m.dubouchet18@imperial.ac.uk