blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
3e307d287b62bc1365c9f84b092ce3f6e3f832fb
f370072d7d07681654d4a8c06b23e6508af5679c
/untitled1.py
ce7a8aabe886fbfd4e2e10628e197dab9749f4b8
[]
no_license
Thitsugaya1/python
58268f3544907db3e03a06d57119437ba942bc2e
6de59c4c576d73e8552e3bd6a74ab49fda140097
refs/heads/master
2021-07-15T17:46:54.608543
2020-07-31T17:09:43
2020-07-31T17:09:43
194,190,801
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 01 19:47:47 2014 @author: Toshiron """ Cantidad_horas = float(raw_input("cantidad de horas: ")) Cantidad_anios = float(raw_input("Edad: ")) Total_Horas = Cantidad_anios*8760 Hd = 24/Cantidad_horas Ho_dormidas = Total_Horas/Hd Di_dormidos = Ho_dormidas/24 Yea...
[ "noreply@github.com" ]
noreply@github.com
8b89c3071d264d6ae693fe10fbb5a8f56502f10a
e51c97a79a09c3a73fb0ab7f16a9ba670538af84
/src/vertexarea.py
59729b0953f18ffed7ca0ec8a08aeb8291bad172
[]
no_license
zehdeh/spheremeasurements
90a8f49819343c2da0726f2b6f3e3a8f6d4113f3
6e2c6825d63553ac0c53641939aa87bbb7c432ad
refs/heads/master
2020-05-21T14:59:10.918506
2017-01-13T17:08:31
2017-01-13T17:08:31
64,773,580
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
import numpy as np import math from timeit import default_timer as timer def getFaceAngles(face, vertices): v = vertices[face] a = np.linalg.norm(v[0] - v[1]) b = np.linalg.norm(v[1] - v[2]) c = np.linalg.norm(v[2] - v[0]) B = math.acos((a**2 + c**2 - b**2) / (2*a*c)) C = math.asin((c*math.sin(B))/b) A = np.pi...
[ "fabianfuture@web.de" ]
fabianfuture@web.de
b277bc417e82dc0347d75608d8b8bad5d11f6ae8
ba69a96366b7b6801feac5e8716443331838662b
/easy/RemoveElement.py
14b77e25687554aea201b298b86477e2ef57c3b3
[]
no_license
gx20161012/leetcode
8e3e99aecb824668e54652d608bca2137d5d47fe
2765e846c804caf17472fe548e4246b6eff63966
refs/heads/master
2021-07-29T20:01:21.059713
2021-07-28T15:45:05
2021-07-28T15:45:05
147,936,993
1
0
null
null
null
null
UTF-8
Python
false
false
363
py
class Solution: def removeElement(self, nums, val): """ :type nums: List[int] :type val: int :rtype: int """ count = nums.count(val) for i in range(count): nums.remove(val) return len(nums) s = Solution() nums = [0,1,2,2,3,0,4,2] val = 2 pr...
[ "gaoxiang199703@hotmail.com" ]
gaoxiang199703@hotmail.com
4cc08112be4d4b74e844373295dfe2d29f3ee2a7
8804e0fa548726a8683ddececa90c3d789b58a13
/quick_tut/basic_control.py
48facec6d17dd71eda5eb7cc44469b869d6e9b23
[]
no_license
thienkyo/pycoding
aeea0693c99598cd7204e0afa2d4bad7f2805078
c915dc6adc4b2d2ff17e59e9da35cf5a220508dc
refs/heads/master
2021-01-12T08:20:05.063961
2016-12-14T05:47:02
2016-12-14T05:47:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
# If grade = 9 if grade >= 9: print('Awesome') elif grade >= 7: print('Good') elif grade >= 5: print('Not bad') else: print('No way') # Logical operator if 10 > 5 or 10 < 2: print('true') if 10 > 5 and 10 > 2: print('true') if not 10 < 2: print('true') # For loop for num in [1, 2, 3]: ...
[ "nguyentp2788@gmail.com" ]
nguyentp2788@gmail.com
884621be26ade33f8eb4183988131399d396086b
e28ad0328a7c44573b90b613650dcdf80a99991a
/Examples/for.py
ccd20002a614e78500f5b8ed0418ebe95d7e70e4
[]
no_license
ryankennedy712/Python
34f3fbcff5e6b474877f08936ac746828ed03ff1
9282008ef949e7215d5e9bb0c948164b306a7b3b
refs/heads/master
2020-06-11T00:14:33.494819
2020-03-02T00:46:59
2020-03-02T00:46:59
193,801,252
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
#for loop #for loops are annoying to get a hang of. #they are more advanced while loops #range() allows you to generate a temporary list of numbers given what you enter #the first number is the start, the second number is the end but wont be included. for x in range(1,10): print(x)
[ "34756837+ryankennedy712@users.noreply.github.com" ]
34756837+ryankennedy712@users.noreply.github.com
d1fc228680184699671cc79a504fe1cc836c0403
b6efe59f3117da81a76ac634f010fd1feaeef25c
/api/make_file.py
09e277a20223f11016c8ffc78ee3d6c3dbda55f8
[]
no_license
kaktusss123/goods_parsing
b53e342710a1dd8d69b92d2a5f2ca9ef39e05385
b0700e067103c2410e40331fab6ab7d449271a2b
refs/heads/master
2021-01-08T02:38:36.686227
2020-02-20T13:13:44
2020-02-20T13:13:44
241,887,323
0
0
null
null
null
null
UTF-8
Python
false
false
3,794
py
import pandas as pd from functools import reduce from preprocess import preprocess, Status from json import load def match(args): operations = [ lambda x, y: x['match_2'] == y['match_2'], lambda x, y: x['match_3'] == y['match_3'], lambda x, y: ''.join(x['brand'].lower().split()) == ...
[ "PaRoLoK123" ]
PaRoLoK123
427f98bf697d88d38a96995808a89004588dba24
a84164d6298da8788f32451bb1a876670741c533
/mountains/apps.py
22e1c20e670b9e48fcab310be9f49044c049a186
[ "MIT" ]
permissive
marcelotokarnia/mountain-catalog
0e717a5cf78c422afa60c906816067344787824e
8d5b9591e6b24ab7305016e1df41b0dc6e933388
refs/heads/master
2023-03-04T20:10:07.944709
2022-04-11T21:24:43
2022-04-11T21:24:43
134,347,237
1
0
MIT
2023-03-01T23:18:07
2018-05-22T02:05:21
Python
UTF-8
Python
false
false
93
py
from django.apps import AppConfig class MountainsConfig(AppConfig): name = 'mountains'
[ "marcelo.tokarnia@vtex.com.br" ]
marcelo.tokarnia@vtex.com.br
52eeb1962ffc2f1522775ef4204b087658e06a7a
3039e5a569ffb26ad9b3efc9b3f8f142a79ebac9
/RaspberryPi/catkin_ws/src/rpimotor/src/drive.py.orig
7a27d32e015652d966bc07e52c312100f8bb2f03
[]
no_license
lbaitemple/newcar
91eb958cb50d9490b73e0d49326b47d0453e29c3
ed834f2fb954bf1d0fc35a1bcb613ce634040486
refs/heads/master
2020-03-27T00:12:01.043533
2019-04-17T18:59:09
2019-04-17T18:59:09
145,603,131
2
1
null
2019-03-30T20:15:23
2018-08-21T18:23:59
C++
UTF-8
Python
false
false
2,649
orig
#!/usr/bin/env python import sys, tty, termios, time, rospy import RPi.GPIO as GPIO from std_msgs.msg import String from std_msgs.msg import Bool from std_msgs.msg import Empty from std_msgs.msg import Int32 from race.msg import drive_param str_msg = Int32() flagStop = False #pwm_center = 15 #pwm_lowerlimit = 10 #pw...
[ "noreply@github.com" ]
noreply@github.com
c74a1642bf69ff8e2f66383bd39c36cd3f74607a
c21be7fd13f55ccf884271f69314d508596047c8
/locallibrary/locallibrary/catalog/migrations/0002_auto_20180706_1228.py
7567ff4c0547775c6d64cfb3f0ee1115d5257abe
[]
no_license
khanguslee/django-spike
1305fb36593651a9127f7dfaefa893217706af00
8656b7e9f860e2a532c8513c9161a0a768866daf
refs/heads/master
2020-03-18T21:47:46.905558
2018-07-18T16:23:06
2018-07-18T16:23:06
135,303,740
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
# Generated by Django 2.0.7 on 2018-07-06 02:28 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('catalog', '0001_initial'), ] operations = [ migrations.RenameField( model_name='author', old_name='data_of_birth', ...
[ "angus.lee809@gmail.com" ]
angus.lee809@gmail.com
c865b1ad43647c13c16878af99bfb0a29466ab5f
266e641b716f7f13c592234f63fa5a57c1370cff
/Termo Simulations with GUI/pywalker/polar_grid_walk.py
cf164c3ef75db95e1a58e39301d6cd8bd5fa0f5d
[]
no_license
kadirberatyildirim/Some-Small-Projects
68468d21e6f3a259925281b5494ea403b9d66091
9946597990c63f15f0af2d89d6eda94525c486fa
refs/heads/master
2023-08-30T08:20:37.476328
2021-11-18T12:58:50
2021-11-18T12:58:50
250,818,052
0
0
null
null
null
null
UTF-8
Python
false
false
5,609
py
""" TO DO! """ import numpy as np class random_walk_2d(): def __init__(self, steps, init_pos = (0, 0), step_size = 1): self.steps = steps self.path = [init_pos] self.step_size = step_size self.allowed_steps = ['+r', '-r', '+theta', '-theta'] self.occurences = [] se...
[ "noreply@github.com" ]
noreply@github.com
fdbbd3c5a74e3bde1633775550ed3c99e90b4f4b
a7063e41600a0faa85881f9a549c3e6ee84c9627
/AWS_EMR_count_q1-1_reduce_combine.py
c655a30d713224f080b05260ada26dc52c7bfeb8
[]
no_license
Frankie-Spencer/AWS_EMR_CC2020
30a8897cc83f18addb58bc870727bd2f1b662732
a9a909b1ece32b0092c4308caae7dff85b380a27
refs/heads/master
2022-06-25T19:05:45.454977
2020-05-12T10:17:22
2020-05-12T10:17:22
263,301,275
0
0
null
null
null
null
UTF-8
Python
false
false
2,429
py
import sys from pyspark import SparkContext, HiveContext sc = SparkContext() sqlContext = HiveContext(sc) # system input arguments needed # e. g /dir/text.txt /dir/out 100 'reduce' args = sys.argv source_path, out_path, amount, process_type = args[1], args[2], args[3], args[4] # declare removable items # -empty stri...
[ "spen.frankie@gmail.com" ]
spen.frankie@gmail.com
f266e0d0170f262603ee62eb65a42971b55eace2
8048df61aa0d739dcc4d3d1315e2e2b807ff8b4b
/Sorting methods/bubble sort.py
c8d577d0ffc695db0d664fb83c00d7525e5c050a
[]
no_license
Aniangelsuperbat1/Algorithms
3e1097292edc6471e898550456ee38c7f2b7f0a2
6c2b853c5e1a8d86176659cf38fe2a845dd91186
refs/heads/master
2023-01-23T22:14:09.717974
2020-12-06T22:18:49
2020-12-06T22:18:49
314,376,463
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
# Takes an un ordered list and sorts them in ascending value # Compares two values at any given time. # loops through lists and sorts it # o(n*2) def bubble_sort(list_a): indexing_length = len(list_a) - 1 sorted = False while not sorted: sorted = True for i in range(0, indexing_length): ...
[ "Zhen.Patrick@gmail.com" ]
Zhen.Patrick@gmail.com
740e1452267d94475b889877c0ab43214417c4d9
7c870e0f5951becc0242eb664b855e1404246e16
/LeetCode/76.最小覆盖子串.py
e5e4a44bd156d83322bfaac4a010f1b809883477
[]
no_license
kobe24167/Study
73a0dddfee4e9067c6a49d2a218f5d57086a4bd7
8d85d746b9e0882bfb40ada208b689178bc8f3d8
refs/heads/master
2022-12-24T18:28:19.129921
2021-06-29T01:52:21
2021-06-29T01:52:21
161,650,160
2
0
null
2022-12-16T09:57:04
2018-12-13T14:24:40
JavaScript
UTF-8
Python
false
false
1,463
py
# # @lc app=leetcode.cn id=76 lang=python3 # # [76] 最小覆盖子串 # # https://leetcode-cn.com/problems/minimum-window-substring/description/ # # algorithms # Hard (36.06%) # Likes: 240 # Dislikes: 0 # Total Accepted: 13.9K # Total Submissions: 40K # Testcase Example: '"ADOBECODEBANC"\n"ABC"' # # 给你一个字符串 S、一个字符串 T,请在字符串...
[ "A9A7FD10AB8FD700CAD43011EEDFB4B7@i-search.com.cn" ]
A9A7FD10AB8FD700CAD43011EEDFB4B7@i-search.com.cn
8e9aecb12e6e5e2f8c0bc687ca323a81ccf17b40
4935e2ef7994222178f950319f9f8d3e2adfa543
/summer/2018_07_26/4sum-ii.py
93f49d2327c742fa53619df9e5a30f374a233dd2
[]
no_license
shaheming/leecode
e853b59469b97ca97a5b4ecd80497b3dac3fb10f
a8b59573dc201438ebd5a5ab64e9ac61255a4abd
refs/heads/master
2021-07-03T03:57:22.718410
2019-04-06T18:19:53
2019-04-06T18:19:53
140,241,375
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
#这个问题本来是一个 O(N^4) 但是通过拆解可以拆解为两个 O(2*N^2) 的问题 class Solution: def fourSumCount(self, A, B, C, D): """ :type A: List[int] :type B: List[int] :type C: List[int] :type D: List[int] :rtype: int """ count = 0 dicA, dicB, dicC, dicD = {}, {}, {}, {} ...
[ "shmsand@gmail.com" ]
shmsand@gmail.com
4d7505d380777b2beba7bed17181483a5992b5c4
da9b9f75a693d17102be45b88efc212ca6da4085
/sdk/appconfiguration/azure-appconfiguration/setup.py
cbab0ebedf6658d7f5da30366ae1070a9eca46c9
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
elraikhm/azure-sdk-for-python
e1f57b2b4d8cc196fb04eb83d81022f50ff63db7
dcb6fdd18b0d8e0f1d7b34fdf82b27a90ee8eafc
refs/heads/master
2021-06-21T22:01:37.063647
2021-05-21T23:43:56
2021-05-21T23:43:56
216,855,069
0
0
MIT
2019-10-22T16:05:03
2019-10-22T16:05:02
null
UTF-8
Python
false
false
3,251
py
#!/usr/bin/env python #------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #----------------------------------------------------------------...
[ "noreply@github.com" ]
noreply@github.com
f05dbdfaed6829910b7b2a59590a20e33ca3f67a
de3508314b95b8dff009c186c446f78c6e29458d
/crwlremoveirrelevant.py
1f562f0fb719036ae33c375510e5704be3309f6f
[]
no_license
GithubPriya/Ache-Crawler
d5d336315ecf3b475e18cb45497d9ac4926f7ed9
6c7f06f0cbddb7301bba911f6847ca2ad284e9da
refs/heads/master
2021-05-08T08:00:03.582890
2017-10-16T02:53:26
2017-10-16T02:53:26
106,982,212
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
''' Created on Sep 11, 2017 @author: admin_home ''' import os import glob f_path = raw_input('Enter path : ') for hgx in glob.glob("*favicon*"): os.remove(hgx) for hgx in glob.glob("*full-frame*"): os.remove(hgx) for hgx in glob.glob("*eyeglasses"): print hgx os.remove(hgx)
[ "noreply@github.com" ]
noreply@github.com
f8568e77c3e2310bd5d6c4a15288dd45bdcee7e4
3aaa2da49ef0f20897aa6580dc976d362d944aa8
/parserInfor/parserInfor/settings.py
5be1b2fbdf83292e2c4568e96ce0e2b77cdd6cc9
[]
no_license
loyoen/parser
8b995a70c06daba109a977ed888488a13a174e3e
48323a01696d6cf4909fe1ca659acb825e6e2f3c
refs/heads/master
2016-09-05T13:47:17.552809
2013-09-21T06:09:22
2013-09-21T06:09:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,624
py
# Django settings for parserInfor project. import os DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAM...
[ "Zenas@MICROSO-5K70BVP.(none)" ]
Zenas@MICROSO-5K70BVP.(none)
0d4d2f42a60514dcf7d62b89f9738cd4d00ee8a1
68b95073dd0b07314fdfd0a906fd652f5f402eaf
/hog.py
4d8954d10db373049fc9aa6ecc260eaa918698a0
[]
no_license
suryaakella/computer-vision-moocs
23b455d43eb1501d764178e1a0a22bc47b23cad4
213099e8d3e5e58feae69b045518fb9463919e60
refs/heads/main
2023-01-22T19:12:33.330676
2020-11-24T15:01:35
2020-11-24T15:01:35
315,661,885
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
import matplotlib.pyplot as plt import cv2 import numpy as np import math def gaussian(x,y,std): return (1/((std**2)*(2*math.pi))*np.exp(((-1*(x**2 + y**2))/2*(std**2)))) originalimg = cv2.imread('/home/surya/Documents/computer_vision/CAP5415_Fall2012_PA3_data/Seq1/0133.jpeg',0) originalimg=cv2.resize(originalimg, ...
[ "noreply@github.com" ]
noreply@github.com
3541096c6c8edd5bcc12e74e32dadbffe14fcc02
9b452055112184e16259ba95d83e0746d9e57714
/FennicaTrends/serious-spin-master/data/python/countRelativeWeights.py
a2fcfb623573ab41ce92ae5c1872899437f2dad3
[ "MIT" ]
permissive
helsinkithinkcompany/wide
9bb836f9b50a65093d32c9b2827dbbf5a7bfd42f
637189b83499bb612fcefa94e2af88f1f920849c
refs/heads/master
2020-03-28T17:25:38.619458
2018-10-30T17:40:40
2018-10-30T17:40:40
148,788,784
1
0
null
null
null
null
UTF-8
Python
false
false
1,828
py
import json, sys from math import pow # FILE HANDLING # def writeJsonToFile(json_data, file_path): try: with open(file_path, 'w') as outfile: json.dump(json_data, outfile) return True except Exception as e: print(e) print('Failed to dump json to file ' + file_path) return False def getJsonFromFile(fil...
[ "noreply@github.com" ]
noreply@github.com
61acdb8d432dd34f001d2c0e97dfee241beada2b
0bcc7dba1f5f1738f9b11a259e63edcb39795a41
/INFO1110/Lab6/sorter.py
c8f145941317de52a6354f0f760cb64eeb835ec3
[]
no_license
mlumsden001/University-Notes
3704b0a0e49a24d965aa24658a607a89c1dfa7da
e0040192204360e3bd3df7087738913c7763a331
refs/heads/master
2021-08-15T20:19:18.527082
2021-03-22T05:41:11
2021-03-22T05:41:11
246,731,613
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
import sys def sort(sys.argv[1]):
[ "mlum7853@uni.sydney.edu.au" ]
mlum7853@uni.sydney.edu.au
e8a926f2b15c77f420a41eec66fda7a533d53b54
7d07cff7e0900fecb15d433eb9962a809585447f
/hit_me_please/hitters/models.py
ab8922594a759c7f8b586d3cb1c5d6338a87c1b0
[ "MIT" ]
permissive
kaotu/HitMePls
4dcb5280b50333b92d29de90260457680a617cc8
7b105e39517300faf9ef31b455656d69746cdcef
refs/heads/master
2022-12-10T03:30:06.488569
2019-06-04T02:44:04
2019-06-04T02:44:04
189,680,252
0
0
MIT
2022-12-09T04:42:41
2019-06-01T02:14:03
JavaScript
UTF-8
Python
false
false
131
py
from django.db import models # Create your models here. class Hitter(models.Model): email = models.EmailField(max_length=300)
[ "patthraporn.tu@mail.kmutt.ac.th" ]
patthraporn.tu@mail.kmutt.ac.th
32c207f3631eab9b520c22cef2980be18016e080
8b7d98c5077d1607568460ce5ae8da801b11293a
/accounts/forms.py
f47b51e9149eed83879485476cefed208ceca865
[]
no_license
Th0rn-dev/kiteupru
de0e93fd791522433e2ab34efac1e86a0cb0f613
df240ff50f51b390f7e27ca35841c6482642d97d
refs/heads/master
2023-05-04T13:44:05.561708
2021-05-30T19:01:59
2021-05-30T19:45:47
372,293,086
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from django import forms from .models import Profile class ProfileForm(forms.ModelForm): class Meta: model = Profile fields = ('avatar',)
[ "11_ka@rambler.ru" ]
11_ka@rambler.ru
083b8cd284fd20bc221ed0ecb3cbff91911ffaeb
73e29861ef02f3c95fbcdf095b8d539bbc5fd61f
/apps/news/serializers.py
79c74eea0caeec78406002bf1beb61613eab759d
[]
no_license
jc5055/xfz
8cbc6b356f5707185d09df07f9bb9d0b03593e91
95c275e65543b379fc6b25489c381edbc41dc034
refs/heads/master
2022-12-11T18:59:52.464298
2020-09-02T09:07:32
2020-09-02T09:07:32
289,928,051
0
1
null
null
null
null
UTF-8
Python
false
false
878
py
from rest_framework import serializers from .models import News, NewsCategory, Comment, Banner from apps.xfzauth.serializers import AuthSerializer class NewsCategorySerializers(serializers.ModelSerializer): class Meta: model = NewsCategory fields = ('id', 'name') class NewsSerializer(serializers...
[ "hzjiangcong@corp.netease.com" ]
hzjiangcong@corp.netease.com
615fbeee59e36cc1c78df2d2ff2d9ed58a64158d
f555fbb80462bd5ad260256520bd324109fd5fc7
/users/migrations/0001_initial.py
74de2b26de2064e35d33dd7db5aa427540ec3b2c
[]
no_license
Sunki12/Accompany
9acb4a48584eaf3693b0627676ec4fd0c3ee1b73
4100989cc545dc9104702d99b31d9c3c234c986c
refs/heads/master
2020-07-10T10:43:18.918395
2019-08-25T04:09:51
2019-08-25T04:09:51
204,244,431
0
0
null
null
null
null
UTF-8
Python
false
false
8,145
py
# Generated by Django 2.2.2 on 2019-06-28 11:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Doctor', fields=[ ...
[ "1099235482@qq.com" ]
1099235482@qq.com
a3d39c7cacd05406c589fa1898cdea4bc0e3e49a
51c57fd203d75d70dea31ae9816f45b046411261
/simple_vect_field/vector_field.py
7585eedd34b24cc4d35d4e4a006e6893f131256a
[]
no_license
HoughGrant/matplotlib_art
376642410afd1737583aa8ef1ca7f6e144b3babd
6722f2a7906d190390ab7bbc29a5ea5237bcb0fb
refs/heads/main
2023-06-25T21:06:19.118253
2021-07-26T01:51:36
2021-07-26T01:51:36
335,814,007
2
0
null
null
null
null
UTF-8
Python
false
false
1,482
py
import matplotlib.pyplot as plt import numpy as np def run_1(): def v_x(x: float, y: float) -> float: """ x_velocity vector field """ return -y ** 2 - 5 * y + 0.2 * x * y ** 3 def v_y(x: float, y: float) -> float: """ y_velocity vector field """ return -x ** 2 + 2 * x + 5 * y ...
[ "houghgrant94@gmail.com" ]
houghgrant94@gmail.com
ca2956bc2eed953b908d3edf74589e6ded2436d9
90449f55230622e06c85bed858acbbde85b2f399
/dist/suffer.app/Contents/Resources/__boot__.py
d17f1a81d0efc2a657313e2adfd05e84ce000918
[]
no_license
jalovisko/SMeter
1d5c5dcbeb9b824f961b3d35d5c36edda0b7bf8d
3577c1eef37429051abbb70137cb67335a5a2601
refs/heads/master
2021-04-12T10:49:47.092091
2017-07-10T10:46:59
2017-07-10T10:46:59
94,534,643
1
0
null
null
null
null
UTF-8
Python
false
false
3,251
py
def _reset_sys_path(): # Clear generic sys.path[0] import sys import os resources = os.environ['RESOURCEPATH'] while sys.path[0] == resources: del sys.path[0] _reset_sys_path() def _site_packages(): import site import sys import os paths = [] prefixes = [sys.prefix]...
[ "letovnn@gmail.com" ]
letovnn@gmail.com
9a1ebe0e49c72ca6b28bb08e32c90d03154eff35
40d2172ed25d7fce68e169eecc6c1155722b62b4
/tweepy-statuses.py
fb95128bafda0b72e103dbe388f02de0f12b422f
[]
no_license
mortie23/twitter-twurl-csv
51933bd59987602add3183d29bc379242d8ad4a0
da51ce7376f155ddf5eaa2c41c1c50c648bbb3db
refs/heads/master
2020-09-21T10:09:04.491949
2020-01-29T03:31:55
2020-01-29T03:31:55
224,760,984
0
0
null
null
null
null
UTF-8
Python
false
false
1,560
py
#!/usr/bin/python3 ## Author: Christopher Mortimer ## Date: 2020-01-15 ## Desc: Get all statuses based on a list of ids ## Depend: pip3 install tweepy --user ## pip3 install pandas --user ## pip3 install os --user import sys ## Add the parent directory containing the auth files sys.path.appen...
[ "christopher@email.com" ]
christopher@email.com
a4179dd3d6f20a183b344f05c1d32a059c61e4a6
c3eabffad6813a285ea1aa554ff05ef3e798bfa7
/bubbleshoot/utils.py
d1690f1bba79a87551017310240add1a42ba2277
[]
no_license
ranjian0/mini-games
8a96eef730cffccd548cd70dee3349ad31502ba3
34bb48456ed6e3fc0d82a4c936e01c48bf0e8f47
refs/heads/master
2020-03-19T00:09:24.914583
2020-01-08T15:32:46
2020-01-08T15:32:46
135,455,396
0
0
null
null
null
null
UTF-8
Python
false
false
9,516
py
import os import math, random import pygame as pg from pygame.sprite import * # from player import Player # from enemy import EnemySpawner TRANSPARENT = (0, 0, 0, 0) def random_pos(target, dist): pad = 100 max_ = pg.display.get_surface().get_size() pos = [random.randint(0, n - pad) for n in max_] ...
[ "karanjaichungwa@gmail.com" ]
karanjaichungwa@gmail.com
21190bb8e62dd782eafae6f70363d5471f54ebd4
39b35326534d6efa8a60344ef59eac3d8cea562f
/crudpj/crudpj/wsgi.py
b639603353b77ea9655595ff087206ea6ebb8995
[]
no_license
Hyo-gyeong/Django_review
8635e8311111cab56066c6b87429c7f57c5e42c3
8b59d717c0c8c4404230c8eaa42e6074cacdd712
refs/heads/master
2021-01-03T08:32:06.706689
2020-08-31T04:55:59
2020-08-31T04:55:59
240,000,924
0
0
null
2020-08-17T19:21:30
2020-02-12T11:53:19
Python
UTF-8
Python
false
false
405
py
""" WSGI config for crudpj project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('...
[ "cdkrcd8@gmail.com" ]
cdkrcd8@gmail.com
7bc9374380a24a79542e58d5423b623c5ffdaee6
db3ba5776866f978fc2da97c8ac99ca3488a31dc
/production/orders/urls.py
c5c086fdc9bdfb0d1247a082bf8b77cd9ec40e00
[]
no_license
barguello/AmpersandCopy
b7c2216f2ff4530e24f91233dc8332850a375988
cc3e20960bf057d9101c3d4f0cac1b61bdef9089
refs/heads/master
2021-01-10T14:03:38.315929
2016-02-24T03:51:59
2016-02-24T03:51:59
52,412,200
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
from django.conf.urls import patterns, url, include import views urlpatterns = patterns('', url(r'^$', views.OrderFilterListView.as_view(), name="order_list"), url(r'^import/$', views.order_import.as_view(), name="temp") )
[ "bromero314@gmail.com" ]
bromero314@gmail.com
591547196666ba74696882e924b9b0092ccb2e48
b52a1091fbd167a060466b05d7b611f1a5ef24f9
/SOAP.py
adbf0ae163111acb886bf5e977fde6e251bf99ae
[]
no_license
geoffreywestGIS/pythonscripts
5cc765c1208e5ed61fe4c00645ee7a831751a3d3
50b1421999961441f9641ce3ee97880fe9eb5a0c
refs/heads/master
2021-03-12T20:27:10.296344
2015-03-31T18:01:25
2015-03-31T18:01:25
32,751,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
import string, os, sys import httplib server_addr = httplib. HTTPConnection('67.227.0.42/arcgis/services/FeatureMapService/MapServer/FeatureServer?wsdl:6080') service_action = "/services?wsdl/GetServiceDescriptionsEx" body = """ <soapenv:Envelope xmlns:soapenv="http://www.esri.com/schemas/ArcGIS/10.1" xmlns:ns="http:...
[ "geoffreywestGIS@gmail.com" ]
geoffreywestGIS@gmail.com
9d45a3bb593edb5c2ffcac2a4fb25732dd6a03a8
c3d82f3e13dcb72446257694d2f2828a903d11d3
/final2/users/admin.py
531b6e8780ab5acf77f0ae73bdc14d3e4e879fd8
[]
no_license
danielchain3/Hotdog-Not-Hotdog
610de58842a9df5531906a7f391a5d2f8a1e4949
986bb253f86e22059886d8cc400ce02d674b32e3
refs/heads/master
2022-12-18T04:17:32.805173
2019-12-16T00:47:29
2019-12-16T00:47:29
225,662,289
0
1
null
2022-12-08T03:18:17
2019-12-03T16:09:19
Python
UTF-8
Python
false
false
447
py
from django.contrib import admin from django.contrib.auth import get_user_model from django.contrib.auth.admin import UserAdmin from .forms import CustomUserCreationForm, CustomUserChangeForm from .models import CustomUser class CustomUserAdmin(UserAdmin): add_form = CustomUserCreationForm form = CustomUserCh...
[ "davidliang929@gmail.com" ]
davidliang929@gmail.com
69902164ea9b3ea1f9ce378a4254075c62c0dac7
bc0938b96b86d1396cb6b403742a9f8dbdb28e4c
/aliyun-python-sdk-alidns/aliyunsdkalidns/request/v20150109/DescribeDomainStatisticsRequest.py
067b160a177535f3387786359d536dd3e134c0fa
[ "Apache-2.0" ]
permissive
jia-jerry/aliyun-openapi-python-sdk
fb14d825eb0770b874bc123746c2e45efaf64a6d
e90f3683a250cfec5b681b5f1d73a68f0dc9970d
refs/heads/master
2022-11-16T05:20:03.515145
2020-07-10T08:45:41
2020-07-10T09:06:32
278,590,780
0
0
NOASSERTION
2020-07-10T09:15:19
2020-07-10T09:15:19
null
UTF-8
Python
false
false
1,896
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
498e8a90ccaf27eae56b85de8b72e5e374d54131
7a333c69d854d86761a7581fffa1c16d73f12cb6
/selenium/venv/bin/pip3
11404631f19763f89536808d54160c7b11a122ac
[]
no_license
chestnut-egg/selenium
f81ccbf0adbbf6101058a63ff4c7be755d2f6b3b
5bdd914672e4ac90bed70eb3d5882f9697abb668
refs/heads/master
2020-06-02T07:55:16.997757
2019-06-10T03:27:31
2019-06-10T03:27:31
191,089,745
0
0
null
null
null
null
UTF-8
Python
false
false
401
#!/home/ppg/PycharmProjects/selenium/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys....
[ "1048232111@qq.com" ]
1048232111@qq.com
e2b58782ad188be442ae49e9a7cc718b463abe1a
8b60b2b9946af0a441bde689a4c9e43f29fb40ac
/node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents/build/config.gypi
b119c6204c99fc86f750da484afc9c1af3454abd
[ "MIT", "Apache-2.0" ]
permissive
shura-sparrow/raketa
bf3a3e6cb535377351b8d08ea82adc418707721a
f44c1f143800197c7beb3b89702be48b7b6272f5
refs/heads/master
2020-06-05T10:17:02.592220
2015-09-08T20:41:37
2015-09-08T20:41:37
41,766,424
0
0
null
null
null
null
UTF-8
Python
false
false
3,738
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "icu_data_file": "icudt54l.dat", "icu_d...
[ "shurasparrow@vorobyuova.Obninsk.ru" ]
shurasparrow@vorobyuova.Obninsk.ru
d5d687a261f1ff22ddbc2e8327a32492a9ccd1d9
87fbca6990c8cb0185fdecae7ac70f931332f7f3
/User.py
0986dde0043f8c387e85834e55d02931fd14b1ec
[]
no_license
Sulfurixar/Elybot
7dd09154e2f85ec7caf62efd710566bf7bf6965c
0ccb2d248af055f811842ad4e3c20344f24b6801
refs/heads/master
2020-04-24T10:40:30.767517
2019-02-21T16:05:41
2019-02-21T16:05:41
171,901,717
0
0
null
null
null
null
UTF-8
Python
false
false
8,340
py
from Utils import Utils import datetime import discord import json import copy import os class User(object): def __init__(self, data, server, user): self.user_config_path = os.path.join(server.user_path, '{}.json'.format(user.id)) self.user = user self.server = server ...
[ "Sulfurixar@gmail.com" ]
Sulfurixar@gmail.com
780964a1b244dc8494d1e94aa7ffa9022b5d450e
540f1e3233b2bee5248ff95d65b6be4be53203b1
/venv/bin/easy_install-3.6
c4325e86f59b04b1da39d5ab5928c355714f6f08
[]
no_license
ArijitR111Y/Python-programming-exercises
2db108134d0109b2e1bb202fa54f36abab560972
6e4c258bb8d590db5ba527dde24e2fc67dcf7fd1
refs/heads/master
2020-03-26T17:34:17.830803
2018-10-28T06:56:15
2018-10-28T06:56:15
145,168,707
0
0
null
2018-08-17T21:37:45
2018-08-17T21:37:44
null
UTF-8
Python
false
false
476
6
#!/home/arijit/Documents/Github_Repos/Python-programming-exercises/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.s...
[ "arijit@arijit.roy" ]
arijit@arijit.roy
dd4d0d6c201679d893bb319a03af2a7033948222
31f4cab278d83a755f1e434f35273223b049d172
/bugs/accumulo/5594b2e0/test/system/bench/lib/Benchmark.py
ae1fafcbabbaac4fae672042ac01f414b4e77712
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
JenniferJohnson89/bugs_dot_jar_dissection
2a017f5f77772ddb2b9a5e45423ae084fa1bd7a0
7012cccce9a3fdbfc97a0ca507420c24650f6bcf
refs/heads/main
2022-12-28T16:38:18.039203
2020-10-20T09:45:47
2020-10-20T09:45:47
305,639,612
0
1
null
null
null
null
UTF-8
Python
false
false
3,612
py
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
[ "JenniferJonhnson89@163.com" ]
JenniferJonhnson89@163.com
3d6106b6e7e3d37af803f11255cad2346a387720
434a76f2a39b6152e18f25c092e2d3e272bcaa7d
/api/views/blockchains/resources.py
b30b53e5a6ba756d1d935653476963c9e299f4e2
[ "Apache-2.0" ]
permissive
DaCeige/machinaris
fce98168d0ec288b47c37662079cbb928975badc
2d3837c8af00bb41162f8be1cbf6eaf1cb6c6fdb
refs/heads/main
2023-08-24T13:10:22.511119
2021-10-07T18:55:25
2021-10-07T18:55:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,326
py
import datetime as dt from flask.views import MethodView from api import app from api.extensions.api import Blueprint, SQLCursorPage from common.extensions.database import db from common.models import Blockchain from .schemas import BlockchainSchema, BlockchainQueryArgsSchema blp = Blueprint( 'Blockchains', ...
[ "guydavis.ca@gmail.com" ]
guydavis.ca@gmail.com
8ba11f2ef590038ba7088d6471103e17aea99a38
08301e2a1a775ddbb25cfe04c8ed62afcd9b428b
/utils/helpers.py
2945b7b949339d9a18dde0d58d53e253b70a1c43
[]
no_license
KateShapovalova/linkedin
0a1f5f583bfdb57b1fdbb64a086eb0699aafca74
17885e4c8b7641b3487403dc1c656bcc3d025d0c
refs/heads/master
2023-06-06T01:28:15.532775
2021-06-24T12:25:33
2021-06-24T12:25:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,800
py
def get_id_from_urn(urn): """ Return the ID of a given Linkedin URN. Example: urn:li:fs_miniProfile:<id> """ return urn.split(":")[3] def get_urn_from_raw_update(raw_string): """ Return the URN of a raw group update Example: urn:li:fs_miniProfile:<id> Example: urn:li:fs_updateV2:...
[ "shapovalova.kate1997@gmail.com" ]
shapovalova.kate1997@gmail.com
eb072ee218d2a1895d7da00df4591fd81018b7c7
584db1be8b6bdedaa56d186692ad72da5ee07164
/patron/tests/unit/virt/xenapi/test_driver.py
f8674f0cec1082ea4a77834f9a8001aa2c43c8e8
[ "Apache-2.0" ]
permissive
casbin/openstack-patron
66006f57725cf1c3d735cd5529d3459fd77384c8
b41b1262f3a52c8cc9f6b6bdf87be5a1abcf6d25
refs/heads/master
2023-05-31T05:23:37.721768
2015-12-31T12:18:17
2015-12-31T12:18:17
382,054,546
0
0
null
null
null
null
UTF-8
Python
false
false
6,308
py
# Copyright (c) 2013 Rackspace Hosting # # 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...
[ "hsluoyz@qq.com" ]
hsluoyz@qq.com
7a08948419da7bf634db355ebdf9a7f31dfd17f5
cff22053a94d9c2b97fc0c0a420f627d8cb30cd4
/Django2(only)_blog_one_with_comment/myfirst/myfirst/settings.py
45288ea87136dd657a962acee896ef5f169e68a0
[]
no_license
Pasha-lt/My-Project
a8636b8dff3fd748aaf8752024d33263aa42a60b
57dd55ce910f259b9b434db5476361c967a1ca0f
refs/heads/master
2022-12-13T04:51:52.877732
2020-07-13T17:29:09
2020-07-13T17:29:09
238,881,337
0
0
null
2022-12-08T03:47:23
2020-02-07T09:00:10
CSS
UTF-8
Python
false
false
3,580
py
""" Django settings for myfirst project. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os im...
[ "noreply@github.com" ]
noreply@github.com
72ac156b2524eb314454f757d63de6933cd620b4
460a4bf1f736e7f484a0c26b10deaf6b2eb13bd2
/venv_ML_CSG/bin/jupyter
554741b6493b447707e5e914ade27a2015183de6
[]
no_license
igor17400/machineLearningCallEvaluation
ff6fe668e87e6bd5884f4f87b62a242d37973dee
1c157e7a9486305ce79c0dcf5284f6cba503d948
refs/heads/master
2023-01-13T22:48:32.053394
2020-11-12T05:48:46
2020-11-12T05:48:46
296,180,054
0
0
null
null
null
null
UTF-8
Python
false
false
307
#!/Users/igorlimarochaazevedo/Documents/Cellcrypt/machineLearningCallEvaluation/venv_ML_CSG/bin/python3 # -*- coding: utf-8 -*- import re import sys from jupyter_core.command import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "igorlima1740@gmail.com" ]
igorlima1740@gmail.com
4a404290eef8c70049ea154977a634238d6797a0
a72f39b82966cd6e2a3673851433ce7db550429a
/imix/data/loaders/visual_dialog_dataset.py
1ff1aed7483afe4283ef3a5267e1db67c5410fa9
[ "Apache-2.0" ]
permissive
linxi1158/iMIX
85841d6b95e1d99ed421a1ac3667658e49cae6fc
af87a17275f02c94932bb2e29f132a84db812002
refs/heads/master
2023-06-09T23:37:46.534031
2021-06-30T12:09:42
2021-06-30T12:09:42
381,608,650
0
0
Apache-2.0
2021-06-30T07:08:40
2021-06-30T07:08:39
null
UTF-8
Python
false
false
10,038
py
from torch.utils.data import Dataset from imix.data.reader.visual_dialog_reader import VisDiaReader from imix.data.infocomp.visual_dialog_infocpler import VisDiaInfoCpler from imix.data.builder import DATASETS import torch import json from transformers.tokenization_bert import BertTokenizer from imix.data.reader.featu...
[ "hsslab.inspur@gmail.com" ]
hsslab.inspur@gmail.com
df2d58f94c00c797d30176fc3455dcad5d0125e0
371e1dd2cc704b951238337ad0ec5697659a7908
/shopping/migrations/0001_initial.py
a18608908801381c708b61892d9a5b28bea01cfd
[]
no_license
talluriabhishek/shopping-app
89e432827b3919aa7709926bb876d660688149c6
6b22ba0400a19cb79d8da51b569a5a9800fbf4c0
refs/heads/master
2021-01-10T02:50:48.542201
2016-01-22T05:08:44
2016-01-22T05:08:44
50,147,573
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-01-22 00:30 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depen...
[ "svt244@nyu.edu" ]
svt244@nyu.edu
c777b2d81bada506a7365c5637fbc842bcabaf80
4d9c13e61e61f3a6693e2ac427a1dcc93c749bd6
/myparse.py
c83e15b8038e37bce0686783fbec2f3fe7044af9
[]
no_license
yijiaohe/extractive-summs
9b48e0eec7759acc1dde0a9fc7e43bb754dc5176
f2c7d60cc3b8ebf7ad146097067cc26cc14952c5
refs/heads/master
2020-03-13T07:26:37.955091
2018-04-25T15:58:15
2018-04-25T15:58:15
131,025,583
1
0
null
null
null
null
UTF-8
Python
false
false
4,942
py
#!/usr/bin/env python3 import MySQLdb import sys import io import operator import getopt import shutil import os from html.parser import HTMLParser stop_tags = ['h1', 'h2', 'h3', 'p', 'dt', 'dd', 'blockquote'] empty_tags = ['area','base','br','col','embed','hr','img','input', 'link','meta','param','source','tra...
[ "noreply@github.com" ]
noreply@github.com
dc1572244f1304493d64d667155fcbbc94bf2c68
30f8afce1ba484183d8e1e14aae76cabb2d92354
/pythonNet/day2/server_udp.py
1d475122c9fb66755a8bb12c1c143cd7db4d6ed6
[]
no_license
brooot/Python_Base_Codes
d83e8c3b8a37b86672412c812fdb0d47deb67836
a864685e160b5df4162a6f9fb910627eda702aaf
refs/heads/master
2023-04-10T20:08:39.161289
2021-03-25T12:59:23
2021-03-25T12:59:23
200,570,412
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
#!/usr/bin/env python3 from socket import * # 创建套接字对象 sockfd = socket(AF_INET, SOCK_DGRAM) # 绑定地址 IP = '0.0.0.0' PORT = 8888 ADDR = (IP, PORT) sockfd.bind(ADDR) while True: # 接受数据(与tcp不同) data, addr = sockfd.recvfrom(1024) message = "已收到来自%s的数据:%s" % (addr, data.decode()) print(message) # 发送数据 ...
[ "1442704671@qq.com" ]
1442704671@qq.com
9e147454ebbe583aae958e4c95cc4a87cd3a44ab
5f9695616cce1c03013ae9a5e823ad686bf33b6e
/tests/test_unet2.py
8d5f6867f0a173f479a72b89d2328f66e9994c1f
[ "MIT" ]
permissive
caiyunapp/leibniz
c9567685cafbc618d22487e408a27ba21cc8633e
40bb6f088c5325701ca53506d7a66eb0a9ef4fef
refs/heads/master
2023-04-16T18:31:27.194818
2021-09-13T15:54:57
2021-09-13T15:54:57
208,940,378
16
5
null
null
null
null
UTF-8
Python
false
false
11,603
py
# -*- coding: utf-8 -*- import unittest import torch as th from leibniz.nn.net import resunet2 from leibniz.nn.layer.hyperbolic import HyperBasic from leibniz.nn.layer.hyperbolic import HyperBottleneck from leibniz.nn.layer.senet import SEBasicBlock, SEBottleneck from leibniz.nn.layer.hyperbolic2 import HyperBasic as...
[ "mingli.yuan@gmail.com" ]
mingli.yuan@gmail.com
1818810ee229cd68db13a66efefecbe5872edcc2
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_35/216.py
d0006fc021592ec292be67dc3cf4606ceec3d5d5
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,591
py
import string class GraphNode(object): def __init__(self, x_pos, y_pos): self.x_pos = x_pos self.y_pos = y_pos self.flows_to = None self.flows_from = [] self.label = None def set_flows_to(self, other): assert self.flows_to != other self.f...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
3d63d331134d18797d42e9881c410a0bb654d458
5f560350d45fb37aa5346ec746d05e7a9cecf583
/sentiment_analysis_try1.py
3d5472c9b5f8758f4ab3131c7048d96ec3e19926
[]
no_license
nana55star/data-science-project-10-master
cb792ea47f8163b56373ab4d5667083fe715ee80
08b2fbe6b5829a2857928313accb02db0cebb1fb
refs/heads/master
2022-11-19T03:15:24.597663
2020-07-20T02:25:17
2020-07-20T02:25:17
280,975,836
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
from flask import Flask, request import requests from flask import jsonify # Initialize flask application app=Flask(__name__) payload = {'count':1000, 'sort_order': 'ascending' } result= requests.get("http://127.0.0.1:3000/get_data", payload, headers={'Content-Type': 'application/json'}) result_q = result.json() text...
[ "64614297+nana55star@users.noreply.github.com" ]
64614297+nana55star@users.noreply.github.com
28e8240ad2da071ca6374a24427c0cf04bf1df66
9cfc5ab90362545c38def5c33f2d6bcdc11d65ab
/blog/views.py
2dfa65dadb84e7084340b0361bd1c79219bc714f
[]
no_license
salehmmasri/django-crud
377c4d30987425e9d4b8b83cdba41faf036d1c88
2de04f36ad612191dd3bbd1f23107af9feadd1ed
refs/heads/master
2022-12-21T05:09:24.798958
2020-09-22T17:33:22
2020-09-22T17:33:22
297,630,502
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
from django.shortcuts import render from django.views.generic import CreateView, UpdateView, DeleteView,TemplateView, ListView, DetailView from .models import Post from django.urls import reverse_lazy, reverse # # Create your views here. class PostView(ListView): template_name = 'home.html' model=Post class P...
[ "salehalmasri494@yahoo.com" ]
salehalmasri494@yahoo.com
2c84113914b63d511640aec8c07688f75660e985
705458c0781ebd7c13776ebf7d690eaf929a8880
/day27_20191218/2,类的内置方法.py
76665ae8c02b6bb29ca6ca2f3e4eb2793b9301a0
[]
no_license
langlangago/learn_python
8f2298251ad0c07e8efa298d409cdbe77f60bc1b
29ca4ce4a0628e9b168b9e314acfe5889eb5fc6a
refs/heads/master
2020-05-16T15:35:15.212613
2020-04-16T03:34:43
2020-04-16T03:34:43
183,135,843
0
0
null
null
null
null
UTF-8
Python
false
false
2,756
py
# encoding:utf-8 # __str__, __repr__ 用于解释说明,看起来好懂一点 # str() 转换成字符串 ,== __str__ # repr() 原形毕露,原形显示,== __repr__ # print(1, '1') # print(repr(1), repr('1')) # class Teacher: # def __init__(self,name, age): # self.name = name # self.age = age # def __str__(self): # return 'This is a Teach...
[ "lxwno.1@163.com" ]
lxwno.1@163.com
2fc0eb1ac5dcc2492d8e658d9c76edbee562ba75
f909758f99f6ab9f150262cd65bc15bbb82e11c4
/sources/reddit_api_wrapper.py
16474a397ffab244a9f1845fbfd9e578e3fae775
[]
no_license
igsi/R2D2
b05af200c31e596501464f99a60a95516d9ed4fe
c663babff858a17692bd017969e6e48ccb7ad139
refs/heads/master
2021-01-22T23:15:57.357311
2017-03-24T07:46:53
2017-03-24T07:46:53
85,620,168
0
0
null
null
null
null
UTF-8
Python
false
false
3,044
py
import praw from r2d2_errors import R2D2_RedditError class RedditWrapper: def __init__(self, configuration, subreddits): try: self.reddit = praw.Reddit(client_id = configuration["client_id"], client_secret = configuration["client_secret"], ...
[ "igsi@users.noreply.github.com" ]
igsi@users.noreply.github.com
0c31c2c12ba0cee2fca07eaa29b494befb80343a
1626e16760c9c5b5dc9bd7c345871c716d5ffd99
/Problems/0001_0099/0037_Sudoku_Solver/Project_Python3/Solution1.py
55219e728189a2d7038f6a589b53cbfbcce69186
[]
no_license
NobuyukiInoue/LeetCode
94ddb19e63cb8d0775cdc13f311fe90c87a1d718
3f0ffd519404165fd1a735441b212c801fd1ad1e
refs/heads/master
2023-09-01T07:38:50.939942
2023-08-23T09:51:17
2023-08-23T09:51:17
158,100,912
0
0
null
null
null
null
UTF-8
Python
false
false
1,391
py
class Solution: # def solveSudoku(self, board: List[List[str]]) -> None: def solveSudoku(self, board): """ Do not return anything, modify board in-place instead. """ from collections import defaultdict nums = [str(i) for i in range(1, 10)] rows, cols, cells, empty ...
[ "spring555@gmail.com" ]
spring555@gmail.com
f10f571988378799ac15273d5f05eee049bd9d4b
34bdcfc5d7c884c6fcc79ab264f14a95d63418ac
/Capitulo7_Socket/Cliente_UDP.py
f9300f10bca0c3cbafcd5882e34c8b7ab5bee383
[]
no_license
giomovini/nanoCouseFiap_python
a8be74eab47b9c8ec30a8983b13fdd64669f690e
342f6f60a875f2081ec577b0362bdf97781ded43
refs/heads/main
2023-04-04T01:40:02.202390
2021-04-13T14:55:04
2021-04-13T14:55:04
346,827,474
1
0
null
null
null
null
UTF-8
Python
false
false
445
py
from socket import * servidor = "127.0.0.1" porta = 43210 obj_socket = socket(AF_INET, SOCK_DGRAM) obj_socket.connect((servidor, porta)) saida = "" while saida != "X": msg = input("Sua mensagem: ") obj_socket.sendto(msg.encode(), (servidor,porta)) dados, origem = obj_socket.recvfrom(65535) ...
[ "noreply@github.com" ]
noreply@github.com
7c9fa6cda81eafe310ba5a888b58394318b6dabc
de93337b44c8e90461b20bba29baa9866e5fa974
/keylogger.py
b918e3f82fb295906ef3f12f33d24fe7c69c7be4
[]
no_license
felipefbelo/Infosec
b5362519142e3810d942f59a6b9337985fbcf9fc
f272b613ad066c558ae7dbc9c0bfb904818d151b
refs/heads/master
2022-02-24T03:43:14.950956
2022-02-14T23:54:26
2022-02-14T23:54:26
180,662,802
1
0
null
null
null
null
UTF-8
Python
false
false
814
py
#!/usr/bin/env python import win32console import win32gui import pythoncom import pyHook # Keylogger em fase de testes... win=win32console.GetConsoleWindow() win32gui.ShowWindow(win,0) def OnKeyboardEvent(event): if event.Ascii==5: _exit(1) if event.Ascii !=0 or 8: f=open('C:\U...
[ "noreply@github.com" ]
noreply@github.com
f4d93c91da7d8510d5fdbdc9854b1470747f5ebf
19b9bc401df28ede4b4a5f6fa00ee17042299719
/archive/To02-01/01-30/jingu_01-30.py
41fe494a1558fad298323d28a96511a96d845074
[]
no_license
kibitzing/FluentPython
fb0c21c164e0bf7a543e8c3c0d92c6f6c303ebb6
75c743ce4c5e65c2d891babd23f0e4b873924000
refs/heads/master
2021-07-10T23:42:58.224235
2019-02-12T14:24:06
2019-02-12T14:24:06
147,219,835
7
1
null
null
null
null
UTF-8
Python
false
false
1,976
py
# p642~p646 # created by Jingu Kang on 01-29 # reference: Fluent Python by Luciano Ramalho # more abstract python. def cls_name(obj_or_cls): cls = type(obj_or_cls) if cls is type: cls = obj_or_cls return cls.__name__.split('.')[-1] def display(obj): cls = type(obj) if cls ...
[ "noreply@github.com" ]
noreply@github.com
5d4e5cf66dd81c1707202cdf95b789e009a79145
466a1b7e182be502aa9a0048f6d6216cd7139970
/moduleFechas.py
0da26b56d450256eca26476449c9198e9bafea64
[]
no_license
redtdt/smdh
168a8babe526dbf4423a588fe9f0286d9802c778
c83ed5947a01935152b591ca68b8b4e9af2e430d
refs/heads/master
2020-05-02T02:04:52.334028
2012-05-17T15:53:40
2012-05-17T15:53:40
3,880,045
1
0
null
null
null
null
UTF-8
Python
false
false
2,809
py
#----------------------------------------------------------------------------- # Name: moduleFechas.py # # # RCS-ID: $Id: moduleFechas.py $ # # Licence: Sistema de Monitoreo de Derechos Humanos, Compilacion de datos # Copyright (C) 2010, Asociacion Todos los Derechos para Todos, A.C. # Registro Publico de...
[ "adolfo@adlap.(none)" ]
adolfo@adlap.(none)
57fd18f5e0ee538bd2e8ef81cf834062ab1a26e0
a19f698185b1700183189d0f1a543f24897b7a51
/b_utils.py
f09030547ec46ab3d16937bd5bc25d849efb6a31
[]
no_license
Loken85/behavioural_classification
c5a72f02b5aeff9213e5226cd6a079427f265b2d
222e734432318bfd44273d21311395ebc4c7f96d
refs/heads/master
2022-12-10T18:33:53.836142
2020-09-07T05:12:13
2020-09-07T05:12:13
293,425,939
1
0
null
null
null
null
UTF-8
Python
false
false
6,676
py
# -*- coding: utf-8 -*- """ Created on Wed Oct 9 14:48:26 2019 @author: adria Utilities for automated behavioural state tracking with deeplabcut input """ import pandas import numpy as np import scipy.io as sio import matplotlib.pyplot as plt from matplotlib.animation import FFMpegWriter # Turns...
[ "adrianj.lindsay@gmail.com" ]
adrianj.lindsay@gmail.com
eeafb0a33b32e58aaead1a0011773f833e20579c
9628ef262c61ede2c7490920681c063bf1682ea7
/db_clustering/plots.py
a7ca9927c58f6a4b64e393413f351fc755dc68f5
[]
no_license
schnappv/density-based-clustering
6c15457c25c101340acf137f4483527b5b01444f
1ad542b5d7789da782f2b9771d837a64adaee674
refs/heads/master
2023-07-27T00:20:52.464045
2022-06-28T14:37:44
2022-06-28T14:37:44
235,692,188
0
1
null
2023-07-06T21:49:52
2020-01-23T00:00:40
Jupyter Notebook
UTF-8
Python
false
false
3,472
py
import logging from typing import Optional, List import numpy as np import matplotlib.pyplot as plt import seaborn as sns from matplotlib.ticker import MaxNLocator from pandas.plotting import register_matplotlib_converters from db_clustering.base_dbscan import BaseDBSCAN logger = logging.getLogger(__name__) ...
[ "valerie.f.schnapp@gmail.com" ]
valerie.f.schnapp@gmail.com
e1266db15e249a1e84da1b930047cfc7169dce2e
b29f16ffd36eb64d98a0008e64c582d7c23697ea
/Account/views.py
e561deb9663b8ddba4ae43b2f19dc1c5d71d2663
[]
no_license
minhvu2899/B0EC
019bb744857aa66ee50c4b9ca0f2cb9d097180b9
2653653f68d2ac4a8f911214b9a4a3f02f842219
refs/heads/main
2023-06-04T06:41:11.767476
2021-06-23T15:07:39
2021-06-23T15:07:39
379,642,369
0
0
null
null
null
null
UTF-8
Python
false
false
1,591
py
from django.http.response import HttpResponse from django.shortcuts import redirect, render from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth import logout as logouts from django.contrib.auth import login as logins from django.contri...
[ "vuhongminh2899@gmail.com" ]
vuhongminh2899@gmail.com
8308d8158367a20c31afa31998a2f7eb48b3601e
faaf763f55bade3b73a320d841fa4cb3a19d1884
/src/dygie_ent/__init__.py
48dce1901649ff8a80ca4be6df1cfbf485fad62f
[]
no_license
jeremytanjianle/few-shot-active-learner
57bb552871d436890c9c088b42aa14a8ca979608
3bf1b1ccdccfe43747d5de5cbaa550b3c5d85f37
refs/heads/main
2023-04-26T16:14:00.572067
2021-05-26T14:10:58
2021-05-26T14:10:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
from .model import Dygie_Ent
[ "limpetuponarock@gmail.com" ]
limpetuponarock@gmail.com
4912c9aa0169725dec897c3ad6b60c8d226faa63
8f6119f0e31b49b45a500435f509e76718a6d34f
/venv/Scripts/pip3-script.py
45f2ff25911187d97095b29c72a85b088dbafee3
[]
no_license
reyhanzo/PROGJAR_05111740000154
ff4f4d7b519be6b24b4538b303d8883174b1a8fa
77a6fde75f8f8700725fc52c4c80b9aa88ac4d53
refs/heads/master
2021-01-02T03:02:11.379409
2020-05-15T15:53:28
2020-05-15T15:53:28
239,463,276
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
#!C:\Users\LENOVO\Documents\GitHub\PROGJAR_05111740000154\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?...
[ "36990456+reyhanzo@users.noreply.github.com" ]
36990456+reyhanzo@users.noreply.github.com
3242d0126d4fef0df4997284cec8c9188b7e3d1f
3835677a1e44a7c9de8bc1c0fba7df94caaf4b16
/app/modelo/migrations/0005_auto_20190112_2117.py
53c98283d8eb26883207b4b28664b83a77d0fd26
[]
no_license
JonnathanE/cooperativa
cf3f42c112b05120599b261460f88fc6ee7a32bf
9a7c92eb51b7f91c348f38919772e2c83f993d9c
refs/heads/master
2020-04-17T04:51:52.799529
2019-01-17T15:52:33
2019-01-17T15:52:33
166,249,940
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# Generated by Django 2.1.4 on 2019-01-12 21:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('modelo', '0004_auto_20190109_0413'), ] operations = [ migrations.AlterField( model_name='bancavirtual', name='numero...
[ "jonathan684j@gmail.com" ]
jonathan684j@gmail.com
b44afe41d7c0420888c16fb1296fb8feeb61c675
1d4fdcc3ad5a18841da84c9dc9a1838aa4129d40
/For First Design/aircracft.py
f0c36bce1c5d43a04a18033b2796cff14d929cec
[]
no_license
aneax/fixed_wing
fca20b8d80754ff07d39403d9eefed656ef92129
0f56302113f329ecd1c417b4ef9f549590d1bf2d
refs/heads/master
2021-10-28T03:24:33.212703
2019-04-21T08:51:32
2019-04-21T08:51:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,587
py
import math import atmosphere import matplotlib.pyplot as plt import numpy as np import scipy as sp f=open('output.txt','w') n=5 stall_margin=7 #m/s #def round_value(func): # return round(func,n) ##%% Mission Requirements #f.write("Mission Requirements\n\n") #endurance=0 #min #f_range=30 #km #stall_margin=7 #m/s ...
[ "xajsc.aneax@gmail.com" ]
xajsc.aneax@gmail.com
ab82ba1b699e55a93be8f6d23f9c77bc8b1121a2
c5370d05e8b07e78bab362c91fbab70f1cbba22a
/FruitFree/spider/yimutian/yimutian/spiders/yimutian_locationchart.py
dd39e68253a57f4b62f9332a9f0ac70d9b06279b
[]
no_license
YihengWang828/FruitFreedom
21c540a1d049684bc63440f6090034210fabfd45
489fd82b754196f7312960bf75c2bc213c4c0e88
refs/heads/master
2022-11-11T05:21:15.952454
2020-06-27T15:08:34
2020-06-27T15:08:34
273,426,077
0
0
null
null
null
null
UTF-8
Python
false
false
3,710
py
import scrapy import re import json from bs4 import BeautifulSoup from copy import deepcopy import os import csv import time from yimutian.items import YimutianItem #from products.items import ProductsItem class yimutianSpider(scrapy.Spider): name='yimutian' allowed_domains = ['hangqing.ymt.com'] def start_...
[ "15320519577@163.com" ]
15320519577@163.com
1e1edc52a0391978d201fa29915e76ea3b59a2c1
82adfe2b2b6bc3989f8b860513d5ee4b753987e3
/pytmcapi/swagger_client/api/promotions__executables_api.py
8d566fd25748ef0010aab5e51e9c5630fa905a1b
[ "Apache-2.0" ]
permissive
mverrilli/tmc-api-clients
9ffc520a21b791d5047dfd74050af9bd6268b7a5
0d2752a4c2f43b19da9714072d03c15dccf2619a
refs/heads/master
2021-05-17T22:45:38.453946
2020-04-06T16:32:40
2020-04-06T16:32:40
250,986,574
0
0
null
null
null
null
UTF-8
Python
false
false
7,980
py
# coding: utf-8 """ Talend Management Console Public API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 2.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import abs...
[ "mverrilli@talend.com" ]
mverrilli@talend.com
aa1bdb2b6f2dfc31f467de5d05807bbd3a3ac8c9
6138b65079150723e41812b1345001866eeec323
/project.py
af6b2f1844c6d1749de71c454f280291881eebc0
[]
no_license
sirinsu/GlobalAIHubPythonHomework
6b62c20c1503e3fc9665729f02747d1ea2da8939
78598b0ef6105bef1c404bcd57a3313cf85cd568
refs/heads/master
2023-02-06T14:36:15.270897
2020-12-26T19:45:17
2020-12-26T19:45:17
324,580,123
0
0
null
null
null
null
UTF-8
Python
false
false
2,657
py
#!/usr/bin/env python # coding: utf-8 # In[ ]: """Student Management System""" def calculateFinalGrade(grades):#takes a dictionary including midterm, final and project grades then returns the final grade after some calculations. midterm = int(grades.get('midterm')) final = int(grades.get('final')) proje...
[ "sirinsevvalucak@gmail.com" ]
sirinsevvalucak@gmail.com
f50186d3a30eb10b2fb458ea10a2d9f678be8509
72639248c287778e8395a16aedc1fcb8eddcff30
/lancers/migrations/0002_auto_20201019_2106.py
8c19a2d52a9bbacf2be01fdf6269dd949eff97be
[]
no_license
takashifuruya0/fmanage
b13d92a8df6a38f1148a73f5fe189bdea55efc54
6f7c3fcca1e12e280a4c603397eb5e9ba80ab9dc
refs/heads/master
2023-03-10T15:32:45.597104
2023-01-17T14:29:35
2023-01-17T14:29:35
123,647,988
0
0
null
2023-02-16T01:30:56
2018-03-03T01:20:11
Python
UTF-8
Python
false
false
1,712
py
# Generated by Django 2.2.16 on 2020-10-19 12:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lancers', '0001_initial'), ] operations = [ migrations.AddField( model_name='opportunity', name='related_opportunit...
[ "takashi.furuya.0@gmail.com" ]
takashi.furuya.0@gmail.com
afc6e981f257ec4d3f19dd62d8a23a64ddeaccfe
1b9623eb1e19d4ce775fdee6dadfcb743f8aac10
/deptx/mop/urls.py
8f199cc9587fb4f576da54aab386f0b99bb4c9ba
[]
no_license
pombredanne/deptx
d4784a75245f0df9b776fbfeab2a68194d9889cc
a7bd33ca658ab17060d803b86e35ae84cbd9ff08
refs/heads/master
2021-01-22T08:38:41.330904
2013-11-13T13:59:53
2013-11-13T13:59:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,854
py
from django.conf.urls import patterns, url from mop import views urlpatterns = patterns('', url(r'^$', views.login, name='mop_login'), url(r'intranet/$', views.index, name='mop_index'), url(r'intranet/logout/', views.logout_view, name='mop_logout'), url(r'intranet/rules/', views.rules, name='mop_rule...
[ "herr.wetzel@gmail.com" ]
herr.wetzel@gmail.com
1fe2656260edd35919c9745fc47bafc67970c346
c9c5463996bf9e2adcd4918857382121b0a5aa56
/leetcode/堆/重构字符串.py
0147b66b14e19194532f2ddae5788e111bc1a915
[]
no_license
Da1anna/Data-Structed-and-Algorithm_python
fdf370c355248081990c57c1c8eb5e05c4781e2b
cce067ef4374128924018b00c5ea77d2e869a834
refs/heads/master
2022-12-27T13:24:36.084657
2020-10-13T02:39:39
2020-10-13T02:39:39
174,938,027
0
0
null
null
null
null
UTF-8
Python
false
false
2,278
py
''' 给定一个字符串S,检查是否能重新排布其中的字母,使得两相邻的字符不同。 若可行,输出任意可行的结果。若不可行,返回空字符串。 示例 1: 输入: S = "aab" 输出: "aba" 示例 2: 输入: S = "aaab" 输出: "" 注意: S 只包含小写字母并且长度在[1, 500]区间内。 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/reorganize-string 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 ''' ''' 思路1:双指针交换法,遍历数组,当遇到一个字母与它之前一个不同时,从当前位置开始寻找一个...
[ "1318176575@qq.com" ]
1318176575@qq.com
81c732330675c3664eaf16f1f79b56005c8f43b5
ea8336d1d0ce8b70362a544a8cafd55189a47921
/snmpagent_unity/unity_impl/StorageProcessorReadThroughput.py
d0944e72498dd8cef598fd5a9a8f7c6c92c30580
[ "Apache-2.0" ]
permissive
emc-openstack/snmp-agent
d2697cc2b35bf614f8e7e6a09eaa7bdbba3f1d04
466cd3ac072cd3a67c85ae9a4d3c7da3ae7ec9fc
refs/heads/master
2023-03-27T01:52:56.037323
2017-09-13T06:29:00
2017-09-13T06:29:00
124,860,756
2
1
Apache-2.0
2019-10-04T23:00:47
2018-03-12T08:56:26
Python
UTF-8
Python
false
false
301
py
class StorageProcessorReadThroughput(object): def read_get(self, name, idx_name, unity_client): return unity_client.get_sp_block_read_iops(idx_name) class StorageProcessorReadThroughputColumn(object): def get_idx(self, name, idx, unity_client): return unity_client.get_sps()
[ "yong.huang@emc.com" ]
yong.huang@emc.com
661caf7b460c7daa1b1dcd64f2926900fa1374e5
2286b880df34e1bfabe79b3605de287040404560
/02-02/todolist/task/urls.py
97bdb244e32e547aaa634f5ef9fd3c9aa9311fa6
[]
no_license
iklimah27/praxis-academy-2
e5d8b08807980d6fd8ff6ab73caa6ea18083c7f8
925853b520c9a8d7a87d8980d7fedfa604d3b4c8
refs/heads/master
2022-12-25T01:54:45.572190
2020-10-15T07:22:06
2020-10-15T07:22:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from django.contrib import admin from django.urls import path from django.shortcuts import render from . import views urlpatterns = [ path('', views.index), path('<id>/', views.detail), path('<id>/delete/', views.delete), ]
[ "hatami391998@gmail.com" ]
hatami391998@gmail.com
f7c6dff56a5dbfbd57c51b742a1f32e141403c38
da2583af7a14f04aed029a79a79224547de4c1f2
/rl/policy/gp_linear_mean.py
ba4a963f759f350f923730c7a4ecbcfa39d55142
[]
no_license
yun-long/rl_prototype
4b0af8b817ad1c8bc30a46d7fa2e8f5cd37f7ea1
0a86a097d58ce299da90ea346e074f20fe167a5d
refs/heads/master
2020-04-23T15:37:49.498870
2019-02-18T11:28:21
2019-02-18T11:28:21
171,271,851
0
0
null
null
null
null
UTF-8
Python
false
false
2,545
py
""" Gaussin policy, linear mean, constant variance Reference: Jan Peters, A Survey on policy search for robotics """ import numpy as np import time from rl.policy.base import GaussianPolicy class GPLinearMean(GaussianPolicy): def __init__(self, env, featurizer): # self.env = env # ...
[ "yun-long.song@outlook.com" ]
yun-long.song@outlook.com
0e8e943f02932271670514383a5e7afae1d4e102
02be54b8a9ab6813274ae18feb428d0d1405b0b0
/profiles/urls.py
3664a3b5302ffe8a588e8eb15f400198f80a55f9
[]
no_license
paulloy/msp4-brazen-mma
8ee98e2f2b12a4a24b14d30c1456233b02457dcd
33a430d6c81bb44525469bcee1beaee7c92b3f58
refs/heads/master
2023-03-27T13:29:12.825997
2021-03-31T03:30:46
2021-03-31T03:30:46
341,317,874
1
1
null
null
null
null
UTF-8
Python
false
false
370
py
from django.urls import path from . import views urlpatterns = [ path('profile_delivery_info/', views.profile_delivery_info, name='profile_delivery_info'), path('profile_order_history/', views.profile_order_history, name='profile_order_history'), path('order_history/<order_number>', ...
[ "paulloy020896@gmail.com" ]
paulloy020896@gmail.com
dd38fd11a56bf550fab0a93a602c8c020348595c
b58158b53e97775a63540a752b56783d80cf2ff7
/menubarnotifier.py
2a41f7e788e0eb8224065d97de104f5d5338e073
[]
no_license
alexglasser/menubarnotifier
334f6823a8c08f776ca9c1632c5ae09057fe2ec3
4f0b69a0ab9d5e4ca10dd6e0b0a5941a94fb8522
refs/heads/master
2021-01-19T20:14:51.074296
2014-09-24T02:14:40
2014-09-24T02:14:40
24,394,237
14
1
null
null
null
null
UTF-8
Python
false
false
2,502
py
#!/usr/bin/python ''' menubarnotifier.py Alex Glasser September 23, 2014 Simple script to display a message in the Mac OS X menubar using PyObjC. Make sure you have PyObjC installed - you can do this using MacPorts or Homebrew. Call the script with the desired notification as argv[1]: ./menubarnotifier.py "Notifi...
[ "alexander_glasser@student.uml.edu" ]
alexander_glasser@student.uml.edu
9671494c7376ad81448f1c2d11f7707cd3a46a2a
a28f52ac4b77599ab9a71fea6f98d322974b5875
/YAAS/migrations/0023_auctionstatus_version.py
89357412d6d56ffe2d4301d0b50a4bc7cfcf2229
[]
no_license
dawitnida/Pythonidae
3785c3473f585ff5dc3865155547a7de845336b4
4df225bdc55ffee6d6bd02f32956a84fe27749a8
refs/heads/master
2022-12-12T12:21:24.278144
2022-05-12T19:52:44
2022-05-12T19:52:44
24,888,914
1
2
null
2022-05-12T19:52:45
2014-10-07T12:19:02
Python
UTF-8
Python
false
false
520
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import concurrency.fields class Migration(migrations.Migration): dependencies = [ ('yaas', '0022_auto_20141101_2209'), ] operations = [ migrations.AddField( model_name='a...
[ "dchonch@gmail.com" ]
dchonch@gmail.com
58f225e91c9707ccec4037ee3789c38ff19785e9
799a0af9c05deabe5d5250a10e480ec15ae0216e
/Xpath_test/xpath_test_10.py
3c4e2e550651ef49c998f95a34ee15717ae8ac84
[ "MIT" ]
permissive
waws520waws/waws_spider
9b2be28834c08166463fe265e0f5c37a874369c8
c6a5988121f32619a5c5134c09fdfd556c696fe7
refs/heads/master
2021-03-20T06:01:22.041937
2020-03-28T02:49:16
2020-03-28T02:49:16
247,183,308
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
from lxml import etree """ contains的使用:应用于一个标签的属性有多个值的情况,如果我们还是用之前的相等的模式,是匹配不到值的 """ text = ''' <li class="li li-first"><a href="link.html">first item</a></li> ''' html = etree.HTML(text) result = html.xpath('//li[contains(@class, "li")]/a/text()') print(result)
[ "16601203140@163.com" ]
16601203140@163.com
4bb2cddf7a70efd8f3dc3329932dd7882dbfab0e
46a16d4d4054e6063d2f3ed07c79bbd34c520f3b
/tests/trainer/test_data_loading.py
e9d5d3cc047cb83b8c5f4675916634f6bfbab5e7
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
kaushikb11/pytorch-lightning
123c90076d340214d8ba2f68b7a3138c2b30959d
8a931732ae5135e3e55d9c7b7031d81837e5798a
refs/heads/master
2023-08-25T09:07:02.245113
2021-08-22T18:50:10
2021-08-22T18:50:10
319,391,066
1
2
Apache-2.0
2020-12-07T17:16:13
2020-12-07T17:16:12
null
UTF-8
Python
false
false
11,953
py
# Copyright The PyTorch Lightning team. # # 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 i...
[ "noreply@github.com" ]
noreply@github.com
aa3ac1974fafdcc4d0ecbbb8b81994e2958b1715
96e29b0815de8a774fe15aefbfedcfb4d4a78f01
/FreeUsers.py
8de8965739d9e9ad2d8516fc090b3a9dff4f92f6
[]
no_license
gj0nyg/Spark-Tools
23bdebc0220d4f9db850f6b5834e114fc56b18e5
d0163e41b4f1e3bfa6cd2609445aeddbbde68325
refs/heads/master
2021-06-30T02:19:41.869237
2017-09-15T12:17:53
2017-09-15T12:17:53
103,482,445
1
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
#!/usr/local/bin/python3 # Code borrows heavily from Cisco Devnet lessons from ciscosparkapi import CiscoSparkAPI, SparkApiError import os import sys if __name__ == '__main__': # Command line arguments parsing from argparse import ArgumentParser parser = ArgumentParser("ConvertUsers.py")...
[ "joe.bennett@team.telstra.com" ]
joe.bennett@team.telstra.com
4d65297c73e965cf8f0fa945c1dd72e7c6af914c
0b8670d95816cde1ceaa2e87c5a782c50073fc64
/NLP Senti_analysis/程序源代码/Train/Preprocess/process.py
d064bd6f53f91b6e1c961e3c551d95913e7e5b61
[]
no_license
joyjiuyi/UCAS_NLP-1
fd047c6e42a8d3bb7ced5922f8daf72774df530f
23fe692bdfce3706933425c501ea742b7d073077
refs/heads/master
2022-05-06T03:30:03.204529
2018-11-24T06:11:24
2018-11-24T06:11:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
#训练集\验证集划分 import sys import numpy as np import pandas as pd from sklearn.model_selection import train_test_split if __name__ == '__main__': df = pd.read_csv('data.csv') y = df.iloc[:,1] x = df.iloc[:,2:] x_train, x_test, y_train, y_test = train_test_split(x, y, random_state=42, train_size=0.95) xtest...
[ "noreply@github.com" ]
noreply@github.com
31e1e3bd3ba2ce4e49a925c97fabf5020e9c43d7
c875692c864debde738215a0d08872a3ac3d5b92
/pace_statistic.py
2909c3124567e14bacd72f470237850892469e16
[]
no_license
camelop/naive_poem_writer
4f94ae17f88f39f08ac0db53bd4a55ae53b07bf4
9ecbfdf31804b044960962e3a8c4e4fffc3bbca1
refs/heads/master
2021-05-15T12:57:16.961046
2017-10-26T16:56:07
2017-10-26T16:56:10
108,439,812
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
import pickle from poem import Poem with open('poem_list.data', 'rb') as f: poem_list = pickle.load(f) pace_s = {} for p in poem_list: pace_nw = str(p.pace()) if pace_nw in pace_s: pace_s[pace_nw].append(p) else: pace_s[pace_nw] = [p] for index, pace in enumerate(sorted(pace_s.items()...
[ "lxy9843@qq.com" ]
lxy9843@qq.com
6487119fd016b50af8b9e741625a98c8853f21ed
0a303585b67defefb8df983e8d5395815c2ee0b2
/bin/pip
8e43107fe3d24cee92c5efbeae0e3731c8179197
[]
no_license
wangqian121/python3-learn
83c87d62887552dbbe4c41ddc891ff1a863da35b
c8c83ebdd324501c4deeb2026c9ee1f058e1bf64
refs/heads/master
2020-12-24T04:44:27.902787
2020-05-15T09:56:44
2020-05-15T09:56:44
237,384,543
0
0
null
null
null
null
UTF-8
Python
false
false
384
#!/Users/wangqian/untitled/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( lo...
[ "1398803217@qq.com" ]
1398803217@qq.com
74078e9e213ca05dd92ef137c041b24c9432e58a
45c539b7aefbeba43aa1623f53029325b0f8c325
/kcdc3/apps/classes/migrations/0016_auto__add_field_event_status__add_field_event_featured__add_field_even.py
f3847e8d1fd3dfec5631ec7e4bdcc54b3facd065
[ "MIT" ]
permissive
knowledgecommonsdc/kcdc3
f855fd07861ac30b2e0493ff6b788e6140e6df52
573b836b052081c0e4137076574fc987535e1aa8
refs/heads/master
2021-12-12T02:43:14.814991
2017-10-04T14:59:22
2017-10-04T14:59:22
4,991,118
3
3
MIT
2021-12-02T17:56:48
2012-07-11T15:42:11
Python
UTF-8
Python
false
false
14,415
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Event.status' db.add_column('classes_event', 'status', self.gf('django...
[ "dave@imaginaryterrain.com" ]
dave@imaginaryterrain.com
be1283b73ee741d767063e871b3ee06309038aa2
0fc2f0277c68758b5da261dab12cf45b32d45f0b
/main.py
e0e11198ee497cf87f4533922c7a607ad5f18277
[]
no_license
sysadminamit/Bbox-Label-Tool-For-Multi-Class
af1a2c4792ba28cb6647a9100488fd06177e1cb0
05106fceb9d1d2c8d775fb4edb2e84e45aeb90a1
refs/heads/master
2020-04-28T18:20:06.922178
2019-03-13T18:19:47
2019-03-13T18:19:47
175,475,155
0
0
null
null
null
null
UTF-8
Python
false
false
15,297
py
from tkinter import * from tkinter import filedialog from tkinter import messagebox from tkinter import ttk from PIL import Image, ImageTk import os import glob import random # colors for the bboxes COLORS = ['red', 'blue','pink', 'cyan', 'green', 'black'] # image sizes for the examples SIZE = 256, 256 ...
[ "noreply@github.com" ]
noreply@github.com
de5110ecef9c1e5ac39b92c1b6ed363b2bcedf96
91644491699f21add528fbf27753845086b1477f
/hafta4/GarbageTest/GarbageResNet.py
be1c25b7096d64a9c8ac4f269070c364a89fd006
[]
no_license
SerhatTurann/TezCalismalari
6ec3eb3c4d827972d2939bde467f7903e9695719
cc182d05df6fc49ddf83cd2335c233c77673193a
refs/heads/master
2023-05-10T08:53:07.062066
2021-06-16T01:43:32
2021-06-16T01:43:32
349,109,142
0
0
null
null
null
null
UTF-8
Python
false
false
1,411
py
import cv2 #Görüntü işleme kütüphanesi. import numpy as np #matris işlemleri için kullanılır. import Tools #Label işlemleri için kendi yazdığımız modül #Modeli yüklemek ve giriş görüntüsünü hazırlamak için gerekli kütüphaneler. from tensorflow.keras.models import load_model from tensorflow.keras.preprocessing.image imp...
[ "serhatturanresmi@gmail.com" ]
serhatturanresmi@gmail.com
66af6fc6a28ba2a298d0c17907ca815b967fe066
993657cb2aabbe7bd1d705938b566384cc34918c
/JCF/pb37-44.py
37a5d268f8e7d2c0edb4b1ec7166c0457e13787b
[]
no_license
Screwlim/Algorithms
d89e9f57cd022900341d2df6466390ad787ea00d
a5dd9b30a20bf4b75f568c18d99d0a089e1aa9d6
refs/heads/master
2020-07-27T03:37:38.667858
2020-02-25T14:25:37
2020-02-25T14:25:37
208,854,225
0
0
null
null
null
null
UTF-8
Python
false
false
1,988
py
#pb37 ''' print('pb37-----------------------------------') poll = input().split(" ") count = 0 for i in range(1,len(poll)): if poll.count(poll[i-1]) < poll.count(poll[i]): res = i print(poll[res] + '가 총 ' + str(poll.count(poll[res])) + '표로 반장이 되었습니다.') #pb38 print('pb38-----------------------------------...
[ "srlim1121@gmail.com" ]
srlim1121@gmail.com
9a52a06a94e3a2e77b20377abdd1941d2de5376f
8e866c25e4af2430b2bd687d929a3ac9cdc16920
/parametros/migrations/0002_tipoincremento_descripciontipoincr.py
c96d8b017882f3cc72ef67d1cf544f9b1a9f1b72
[]
no_license
ibuilder/Prefact
9ea481e93f4658dbdc569224a713609dba6ef8f1
c1d7cefce92d3cd66122292fed68300e03ff033a
refs/heads/master
2022-01-09T13:28:55.817499
2018-11-09T22:02:45
2018-11-09T22:02:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-12-11 01:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('parametros', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "carlos.herrera@outlook.com" ]
carlos.herrera@outlook.com
14bc6748e329b63cedbea996df25b3276bef925d
2c4b07e4f77e60e654aa0b8501e46172d0fa3d92
/bridge/assets/client_windows.py
626910262e4735ea40853a75cd4e4fde21d96402
[]
no_license
lczxxx123/yyx-bridge
cfd3f75be37cd32f9eac9f114c4f779c67a95b2c
7ff1b875884455cfc7b97aeb0dfb616537e065ee
refs/heads/master
2023-06-29T14:35:15.439591
2020-09-13T01:53:11
2020-09-13T01:53:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,603
py
import json import Globals from DynamicConfigData import DATA_HERO, DATA_EQUIP_ATTR, DATA_EQUIP_INIT, DATA_EQUIP_RANDOM_ATTR, DATA_STORY import com.utils.helpers as helpers import com.const as CONST f = open(r'\\.\pipe\b62340b3-9f87-4f38-b844-7b8d1598b64b', 'wb+', buffering=0) try: player = Globals.player1 if ...
[ "fluxxu@gmail.com" ]
fluxxu@gmail.com
502be4bc987b6810c8c21512e61f399778f76f09
77b07ca84c059d264cbfabc872d03d66b454aa44
/Calc.py
34ba6f4bfb83b83af2399ebf4875d535953eb039
[]
no_license
10376086/AdvancedProgramming-
44784a9acf58f5d83c55de8b30abb49ad61de866
7ef3e94042dbde19a177a700017b2e9ed016fda6
refs/heads/master
2020-04-15T23:42:09.253799
2019-01-10T20:16:40
2019-01-10T20:16:40
165,114,974
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
def add(first, second): return first + second def subtract(first, second): return first + second def multiply(first, second): return first * second
[ "noreply@github.com" ]
noreply@github.com
bdec81e74eafb8a5c8eef6e571073c135807f327
17697a5d83991139de35524dc5369a67ebc48335
/bottom_view.py
c2c3364c492b26d6721e4b719a342ff40f56b4fd
[]
no_license
troj4n/Trees
3f4c1f0b62fd79225fdf596f01adfd8695a73954
dbd5fbefb4a4b799b042fd8cdc0f613e86367397
refs/heads/master
2020-06-04T05:31:40.173514
2019-06-21T09:55:35
2019-06-21T09:55:35
191,889,687
0
0
null
2019-06-14T09:52:48
2019-06-14T06:41:10
Python
UTF-8
Python
false
false
1,640
py
# coding: utf-8 # Your code here! from collections import deque #initialise node class Node: def __init__(self,data): self.data=data self.left=None self.right=None self.hd=None def findBottomView(root): if root==None: return hd=0 root.hd=hd #initialise a dic...
[ "noreply@github.com" ]
noreply@github.com
9e41b715ddb0c07119dda3e386a628a8d2cc9564
867c8f58096777714fb6617669348bb8898811c3
/devGetOffers.py
437c3581a628d2a5c878c22e06ed4e6df078b38c
[]
no_license
dazuna/PyScripts-for-AWS-Serverless
f41c4e0fe22a1824e56c79d00cd24a77a501650a
4136923cab12cc1c2d4610b1ce68e6e04f2ea4d5
refs/heads/master
2022-11-06T04:31:54.392129
2020-06-21T19:24:33
2020-06-21T19:24:33
273,969,434
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
import boto3 import json import decimal from boto3.dynamodb.conditions import Key, Attr dynamo = boto3.client('dynamodb') def respond(err, res=None): return { 'statusCode': '400' if err else '200', 'body': err.message if err else json.dumps(res,cls=DecimalEncoder), 'headers': { ...
[ "noreply@github.com" ]
noreply@github.com
81a3bb51d5a1e975a28e398874c80a57e85d3738
d6f7be19eedb72f9c3a5ac7de83133232c21d395
/app/extract.py
3001e6b21730733e3399d2bb8b5b22547172e334
[ "MIT" ]
permissive
kmalakhova/back-end-mempeasy
6a2723b54eebc86496eda7c3c65b3f7b6df6e4ef
9d918d97fa88189b1dbaf8b0ac6fe430c449a661
refs/heads/master
2023-07-16T05:58:50.178178
2021-08-24T01:19:50
2021-08-24T01:19:50
390,390,242
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
def json_extract(obj, key): """Recursively fetches values from nested JSON.""" arr = [] def extract(obj, arr, key): """Recursively searches for values of key in JSON tree.""" if isinstance(obj, dict): for k, v in obj.items(): if isinstance(v, (dict, list)): ...
[ "kgrekhova@gmail.com" ]
kgrekhova@gmail.com
2fff8b0b4c27cbdf63118589f635f7007234d0ac
daf3c52a9a26e00e1502b4c991b5d7777d444469
/src/analyzer/abstract_reader.py
78dc16fe2e225b1aab61a74e3c9c5851afe06c07
[ "MIT" ]
permissive
rodchenk/time-expenses
a22a5b0ff21feaca65e2c17bc9ed4e23bae93174
b0b37f00514c9f54300097a01f53f8923937caa9
refs/heads/master
2022-10-28T19:59:13.703717
2020-06-06T14:20:21
2020-06-06T14:20:21
267,668,472
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
class AbstractReader(object): def __init__(self, counter_callback, filename): self._counter = counter_callback self.filename = filename self.total_chars, self.total_words, self.total_charts, self.total_images, self.total_tables = 0, 0, 0, 0, 0 def get_stats(self): self._counter() return { 'file': self...
[ "rodchenk@th-brandenburg.de" ]
rodchenk@th-brandenburg.de
dd5617275d2a87e52a380d2ccfcdf4777e0566ba
45e376ae66b78b17788b1d3575b334b2cb1d0b1c
/checkov/common/graph/checks_infra/debug.py
26b247b24b08837b95bd15668c25aedf4d45d7c6
[ "Apache-2.0" ]
permissive
bridgecrewio/checkov
aeb8febed2ed90e61d5755f8f9d80b125362644d
e64cbd27ffb6f09c2c9f081b45b7a821a3aa1a4d
refs/heads/main
2023-08-31T06:57:21.990147
2023-08-30T23:01:47
2023-08-30T23:01:47
224,386,599
5,929
1,056
Apache-2.0
2023-09-14T20:10:23
2019-11-27T08:55:14
Python
UTF-8
Python
false
false
6,589
py
from __future__ import annotations import json import logging from collections.abc import Iterable from typing import Any, TYPE_CHECKING import yaml from termcolor import colored from checkov.common.graph.graph_builder import CustomAttributes from checkov.common.resource_code_logger_filter import add_resource_code_f...
[ "noreply@github.com" ]
noreply@github.com
5c3a9fa4804996502108001cdc92415cd75c53d1
037e7828fcc4779629bf9089d0677abbae6590eb
/run_test_raas.py
9622b17e28cf6e447e02d2dd685d109fc5795007
[]
no_license
ARMmbed/run_tests_linux
af11a82372e0480fa5b9c883607d7fe279da8931
de643663227b9d2cdca884fa67575f1ce48e9196
refs/heads/master
2023-03-16T13:56:40.577605
2017-02-28T17:28:11
2017-02-28T17:28:11
58,552,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
import raas_client def run_test_raas(binary, platform_name="K64F"): print "Running", binary print "On", platform_name client = raas_client.RaasClient(host="193.208.80.31", port=8000) try: k64f = client.allocate({"platform_name": [platform_name]}) print "allocated", k64f.info() ...
[ "liyou.zhou@arm.com" ]
liyou.zhou@arm.com
24007ef5ef566f228a7667133ecccce9e2ca71b6
9be143a314f58bad3ca607e8c322415e6d05a30f
/venv/Scripts/pip3-script.py
5c0139f6223e17f6c9f55c676299039aed715457
[]
no_license
zibb03/Face-Emotion-Recognition
baec3b7d57636642641e52afd73f1ef5436a51d6
fd5b04fc34fc8cfa9415ae7ab5fa85316c3be6d4
refs/heads/main
2023-06-18T15:49:40.905788
2021-07-19T15:05:00
2021-07-19T15:05:00
355,542,615
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
#!C:\Users\user\PycharmProjects\OpenCV\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]...
[ "64014435+zibb03@users.noreply.github.com" ]
64014435+zibb03@users.noreply.github.com
2949ad30d2c1f779dd0f7906f17943d31c121fb1
eac22714038e840028cc5abb72bc750004626ebb
/mct_camera_tools/nodes/image_proc_master.py
3316d09e4957ac3d0f6500030feeee1cccdedf4f
[ "Apache-2.0" ]
permissive
iorodeo/mct
79b19f6dab9f6567452df7274d67245bf64b1801
fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11
refs/heads/master
2022-11-11T18:03:18.178182
2014-08-20T19:21:27
2014-08-20T19:21:27
273,790,182
0
0
null
null
null
null
UTF-8
Python
false
false
2,780
py
#!/usr/bin/env python from __future__ import print_function import roslib roslib.load_manifest('mct_camera_tools') import rospy import os import os.path import tempfile import subprocess from mct_xml_tools import launch # Services from mct_msg_and_srv.srv import CommandString from mct_msg_and_srv.srv import Command...
[ "will@iorodeo.com" ]
will@iorodeo.com
f9023322bed3e99f7881e8b99b2959222c568474
a22bdba754308dc8d64e6260957bbb028f75abe6
/Utilities/saver/attoclass.py
3246a476fdd3190d1c738d96bea8e2376eac686b
[]
no_license
HowDoIUseThis/Nowack_Lab
f592dc3b59bbbe36ae9253dc95a04cf6d8a0f0de
a943896b3cb8b3a326e1a2ef698b11a01884205a
refs/heads/master
2021-01-12T22:07:13.105549
2016-08-02T21:59:19
2016-08-02T21:59:19
64,960,471
0
1
null
2016-08-04T19:09:10
2016-08-04T19:09:10
null
UTF-8
Python
false
false
149
py
from saver import Saver class Atto(Saver): def __init__(self, direction='x'): super(Atto, self).__init__(); self.c = direction;
[ "dhl88@cornell.edu" ]
dhl88@cornell.edu
b9c56ac1d31b2218826dbd63b673f4c3cff2e16a
a2f78983557c1ead7b2a7c3e720d4719099878b9
/python/ray/experimental/sgd/tf/tf_runner.py
384136ba79630ef2660e8ee46da3cf60f3455ccf
[ "Apache-2.0", "MIT" ]
permissive
Senmumu/ray
3fc914a0a5d9da8fcaa3411bc04be7fba3ce6bbd
130b8f21da4fb5383b079493faaea5d81065b772
refs/heads/master
2020-07-18T12:08:51.862689
2019-09-03T22:36:25
2019-09-03T22:36:25
206,242,928
1
0
Apache-2.0
2019-09-04T05:59:44
2019-09-04T05:59:44
null
UTF-8
Python
false
false
5,250
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import logging import json import os import numpy as np import ray import ray.services from ray.experimental.sgd import utils logger = logging.getLogger(__name__) def _try_import_strategy(): """Late imp...
[ "rliaw@berkeley.edu" ]
rliaw@berkeley.edu