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
82acc8ecc7c0b4941e23760e4b2601fd2df73b3c
f09e13e9052662a22f91b6b7cff0bb7dbdb9c50a
/'tests'/buttonTest.py
63e041c9953c4332dbcef93ce4555aa8d37f7f43
[]
no_license
basilthebeagles/paulsRaspberryPiThing
22c680a342b44f44ffbb5e6ea9d9dfec75770872
0a46afabc0337c66ebd025c52730c33aec64bddc
refs/heads/master
2020-12-24T14:44:53.600840
2015-04-09T18:32:10
2015-04-09T18:32:10
33,258,359
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BOARD) GPIO.setup(37, GPIO.IN) while True: if(GPIO.input(37) == False): print "ON" else: print("OFF") time.sleep(0.5)
[ "johnjoestack@gmail.com" ]
johnjoestack@gmail.com
4a4906dc31e3d88abba2a6f1a4729ce2b78aa107
6141168b57a1887d06efd538a3e70f1a0006aa43
/Question8.py
f3e6fb2cbf6fb88c117eb487194d99c48b52965f
[]
no_license
surajshrestha-0/python-Basic-II
1f6c0f090db2080af86dd5a9be93958b96770542
39634dd8f302279c956b4bc34a2ad2835133c36e
refs/heads/master
2022-11-24T18:17:15.108063
2020-07-04T19:17:54
2020-07-04T19:17:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
""" Write a function, is_prime, that takes an integer and returns True if the number is prime and False if the number is not prime. """ def test_prime(input_number): if input_number == 1: return False elif input_number == 2: return True else: for i in range(2, input_number): ...
[ "surajshrestha.me@gmail.com" ]
surajshrestha.me@gmail.com
1631a3c546af4cfff54f3f415eee97ed85e68af7
55a34633d3f71da6877c961fa74acea5ceec1a03
/test_wheel.py
bbccc48e711b1f7f44e444f269b0f64da025d579
[]
no_license
DLDavid/oodesign
e36f3cd9e27e66885126d05fcf29cf1fe2150c8f
2ec6a10af41ecaa7af3c582a72633e010692c566
refs/heads/master
2020-03-27T08:12:58.212644
2018-03-22T07:56:43
2018-03-22T07:56:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,803
py
import random from roulette import Outcome, Bin, Wheel class TestWheel: def setup_method(self): self.wheel = Wheel(1) def test_initialize(self): assert len(self.wheel.bins) == 38 for b in self.wheel.bins: assert len(b) > 0 assert len(b) < 20 def...
[ "mochi.ph@gmail.com" ]
mochi.ph@gmail.com
9fef8d5dc64926520d73300c46c095a61f502d6b
9045393c9ace1cfb50b4c03efaafcf815ccce472
/tests/test_flow.py
5ea479c7f7be45454b6d21e1c7f9b4ed9adb4aaf
[ "MIT" ]
permissive
pombredanne/single_file_module-project
554aa3aaa63e32eb1c5473085b968b1160eef9ec
243f4c9cd9e6ef04ec7e8a48a0fed9645d6933b2
refs/heads/master
2021-01-23T06:06:07.098548
2017-07-14T21:53:35
2017-07-14T21:53:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import random import pytest from sfm import flow def bet_and_win(lower=1, upper=100, threshold=50): value = random.randint(lower, upper) if value > threshold: return value else: raise Exception("%s point, You Lose!" % value) def test_try_nti...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
acca603b4ed2b7bfeb5522d310bae7c14a964ec8
148883294416934af5d7825a6c63109bc16d684a
/Task 0.5.py
e295633c8cb59160bb0963e6a779084279e89762
[]
no_license
Mcperson7/Level-0-Coding-Challenge
44f346115984f13246cabde2773f5e25337036a7
64faf6f7347e760305a4be1890bbfd1675b15d77
refs/heads/main
2023-03-26T11:24:04.604156
2021-03-18T07:27:38
2021-03-18T07:27:38
346,590,089
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
from math import sqrt def area_of_a_triangle(side1,side2,side3): semi_perimeter = (side1 + side2 + side3)/2 area = round(sqrt((semi_perimeter*(semi_perimeter-side1)*(semi_perimeter-side2)*(semi_perimeter-side3))),2) return area print(area_of_a_triangle(50,50,50))
[ "40671726+Mcperson7@users.noreply.github.com" ]
40671726+Mcperson7@users.noreply.github.com
d0ccdcb22aee8244f6c504a1a44006abc661ad74
84961c5b8a190f7e2a35107bc9abf2259617e8c2
/Chapter03/textsearcher.py
89c42c05fa9249bd3a914425f3de852567a15765
[ "MIT" ]
permissive
PacktPublishing/Software-Architecture-with-Python
f1002dafba83d74a7096dfad4ac4cd338ee9e425
446b78ba0f5e23039ae0de71fb433424170fac67
refs/heads/master
2023-02-06T11:11:46.699458
2023-01-30T09:38:05
2023-01-30T09:38:05
90,152,034
126
91
MIT
2019-05-08T06:46:58
2017-05-03T13:28:23
Python
UTF-8
Python
false
false
1,261
py
# Code Listing - #7 """ Module textsearcher - Contains class TextSearcher for performing search on a database and returning results """ import operator class TextSearcher(object): """ A class which performs a text search and returns results """ def __init__(self, db): """ Initializer - keyword and ...
[ "pavanr@packtpub.com" ]
pavanr@packtpub.com
62750b17337dd5468a944195eea64784f470b4ac
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/284/92253/submittedfiles/testes.py
e388e395e0c9c5be69b317d970dd592eb7e72f48
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
5,020
py
linha = [] coluna = [] for linha in range (0,3,1): for coluna in range (0,3,1): print('%d %d' %(linha,coluna)) import random def solicitaSimboloDoHumano(): letra = 0 while not (letra == 'O' or letra == 'X'): print('Qual símbolo você deseja utilizar no jogo? ') letra = input...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
faf4840b8226c54ecf73dd9b9b3653f997b6389a
0ec9575e348417a76d678bdeef5dc8e659752bc6
/classes-2.py
b9a2f3513014681a008ad4f05af3be97a8d4698e
[]
no_license
vurise/PythonClasses
f254c006d65661a25217f16d5dfbfd9e78d71b85
66a155e5c79db5ce166784a98eb0d7372f081d36
refs/heads/master
2022-04-20T14:18:49.788931
2020-04-10T18:16:18
2020-04-10T18:16:18
250,340,751
1
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
#classes encapsulates 2 thngs- variables / attributes and functions/methods #recangle class- #length -var #width- var #area- funct/ method / var #perimeter - funct #diagnol- var #color- func #constructor/ init method #1. function #2. this function gets automatically invoked when i make an instance #3. to...
[ "noreply@github.com" ]
noreply@github.com
25997cf73ad2f20664bbecede1723b4ce767e403
6cbb667205d6e404c8b1615bd539443beac11db2
/scripts/process.py
aa525b88b4a5f67ec3f4b764efdee08b57e56ddc
[]
no_license
smartrus/kenneth-french-data-library
94f90b8215406fce7f89594c94677d0f7c39e348
e93795c92f1befedada6634d2c6bebb87cee4a38
refs/heads/master
2021-05-20T09:03:52.934324
2020-04-02T09:41:00
2020-04-02T09:41:00
252,213,515
0
0
null
null
null
null
UTF-8
Python
false
false
1,461
py
import re import csv import zipfile import urllib.request import string from datetime import datetime from io import StringIO url = "http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/ftp/5_Industry_Portfolios_CSV.zip" urllib.request.urlretrieve(url, "../archive/source.zip") with zipfile.ZipFile("../archive/sourc...
[ "rustemabd@gmail.com" ]
rustemabd@gmail.com
f7946d1cdee84c4caffc1e111a52a8eb5cea7940
cccffb042aa329fa79bb75a322876fc6cc43cb60
/hangman.py
9db3861a539533f8e4e99f569a8c3cf89286beb7
[]
no_license
pscretn/Hangman-Using-Python
938c2dfd59c22ffc5fe25027758bad65f47465bf
c8f7564672cc7716afae91cc3a8fcd101e09d1ef
refs/heads/master
2023-02-26T15:40:32.980576
2021-02-03T11:50:15
2021-02-03T11:50:15
335,526,669
1
0
null
null
null
null
UTF-8
Python
false
false
3,610
py
import random #inorder to work random functions we need to import 'random' library at first def hangman(): # here we define a functions called 'hangman()' , we use function whenever required word = random.choice(["computer","earth","water","aeroplane","satellite","robot","helicopter"]) # 'random.choice' is us...
[ "paulsabu.123@gmail.com" ]
paulsabu.123@gmail.com
ad2d102bd7a41e3094127d6e5306850678293961
197e15ff36d2138a1ac7bb119e99602ebef81cd2
/day10/challenge1.py
ddd485adabe9094bdb82dbd69e017dc2e2d7f5d2
[]
no_license
leigh93/100daysofPython
a27bd013bce63dfffd8a4d1c2e54aec70eec2be1
04fb357db2f89b6e013296dc62772c953a6e3e19
refs/heads/master
2023-03-31T20:18:29.902002
2021-04-03T15:43:16
2021-04-03T15:43:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
def is_leap(year): if year % 4 == 0: if year % 100 == 0: if year % 400 == 0: print("Leap year.") print(True) return True else: print("Not leap year.") return False else: print("Leap ye...
[ "zawadikibathi@gmail.com" ]
zawadikibathi@gmail.com
7af08aed6e325f77bfa8eb72c23328fc709bf360
f55226f3c2640de862b6b200f75093638d7df209
/word_count/word_count/core/migrations/0002_delete_wordcount.py
09459b45d2e12b6cf21b79c4c38ccb77261f1b96
[ "MIT" ]
permissive
lugoboni/wordcount
975e8c0ca3eee228daf73ee628926c4a70760aca
575aa33f6e53bdb7e51e4d17bc25edf68ee9afca
refs/heads/master
2020-06-18T20:37:05.162325
2019-07-11T21:33:47
2019-07-11T21:33:47
196,438,995
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
# Generated by Django 2.2.3 on 2019-07-11 20:49 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.DeleteModel( name='WordCount', ), ]
[ "gustavo.lugoboni@gmail.com" ]
gustavo.lugoboni@gmail.com
1f52fc7b98a2980e9da9429774fccee2b8e054d2
ba8d566fe1fca8584601d70e209fef358d5aea16
/pyntcloud/sampling/s_mesh.py
5eb979a4acd73d38bf46e280431bc1d48fbb5e2b
[]
no_license
threerivers3d-jc/pyntcloud
6d316954fdedbd0d336e51ca0c887913f077c6cb
81311d4cbca037a755353dc5fcf80acad9189513
refs/heads/master
2021-01-21T15:26:53.939132
2017-06-21T17:41:48
2017-06-21T17:41:48
91,844,119
0
0
null
2017-05-19T20:46:30
2017-05-19T20:46:30
null
UTF-8
Python
false
false
3,658
py
import numpy as np import pandas as pd from ..base import Sampling from ..geometry.areas import triangle_area_multi class Sampling_Mesh(Sampling): """ """ def __init__(self, pyntcloud, rgb=False, normals=False): super().__init__(pyntcloud) self.rgb = rgb self.normals = norm...
[ "daviddelaiglesiacastro@gmail.com" ]
daviddelaiglesiacastro@gmail.com
45b8401b6a62a93eb164bfe3b2d5abddd7d5d74b
b1fcab0c387cb003183b96fee77554e8102958f4
/NewCoderTrainings/LeetCodeProblems/51-N_Queens.py
9e3956976af075c53e72eaf10d0c89b14ccb2aa1
[]
no_license
Optimus-Prime-X/LearningCode
a4b9ff58d09753440a784f0a0809b081d478c567
f3522ddea58a7c9fb426e26d148732b77e00a722
refs/heads/master
2020-03-29T13:15:42.225747
2018-11-23T07:29:15
2018-11-23T07:29:15
149,949,193
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
# 每个皇后的横坐标和纵坐标不能相同,因此可以设置一个list,其长度为n,且每个元素各不相同,代表不同的皇后 # 如Queen[i] = j代表皇后在(i,j)坐标 # 同时皇后与皇后之间应满足x1 - y1 != x2- y2 and x1 + y1 != x2 + y2 # 因此可以再设置两个list分别保存xi- yi 和xi+ yi的结果,每次判断第i行的n个皇后是否可以添加时,需要同时判断是否满足不在这三个list的条件 class Solution: def solveNQueens(self, n): """ :type n: int :rt...
[ "qingdong1994@163.com" ]
qingdong1994@163.com
fc94674cd3f0712da53e600560ddd94a1e0aa051
8eec17b978e2c134d0953e13b286d1689928a696
/medline/elixir/mesh_por_id.py
04c1ef1ff070d03c579239593aa8b82fbddd35c0
[]
no_license
heyaqiong123/literature
ed8d6cf7bed811acc9e05ec037b5e01c43401b80
d946f915aa7c5fb7ee13c14f6bc723f11b7275fe
refs/heads/master
2020-03-29T05:50:21.562222
2016-03-29T22:07:37
2016-03-29T22:07:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
##Busqueda de Mesh terms por id del articulo y genera la red from Bio import Entrez from Bio import Medline import pprint IDs = [ '23087226' ] Entrez.email = 'jsiqueiros@inmegen.gob.mx' for ID in IDs: # configuramos busqueda del articulo por ID handle = Entrez.efetch(db= 'pubmed', id= ID, r...
[ "jsiqueiros@inmegen.gob.mx" ]
jsiqueiros@inmegen.gob.mx
78fa36ef6a8d9832bb0ded34eae5994208980c70
3b12c2749a0501d22b500aa876b7188feafe470c
/evonum_terrarium.py
7d0362df4e2612c622be9172aab585a031b3798a
[]
no_license
decarboxy/Evonum
368b0fb41246abae496c22c120ab2b843accc7da
e98230ed03ae8e21cf2e6f922c93daa2f55e2553
refs/heads/master
2020-12-11T05:29:22.175555
2015-10-15T00:34:49
2015-10-15T00:34:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,381
py
from __future__ import print_function from evonum_fitness import * from evonum_solvers import * class Terrarium(object): def __init__(self): self._current_day = 0 self._forces = [] self._solvers = [] self._max_solvers = 100 self._max_forces = 2 self._chance_to_surv...
[ "gregory.r.sliwoski@vanderbilt.edu" ]
gregory.r.sliwoski@vanderbilt.edu
385063bc2c2289cac3dbc0f59b2681055420f251
c5dec91822ad03dffc678a574948e387e7364a74
/submission/task1a.py
8332af463776e8a10260ae8ca2a46851246c1885
[]
no_license
Valkyriean/EODP_data_linkage
807091a9dfc7e0e551045989da90487edc220aac
73bf99002f95f35e78bad48705c3bd1568e986a0
refs/heads/main
2023-02-21T08:49:15.831652
2021-01-17T02:03:24
2021-01-17T02:03:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
# Code by Jiachen Li, 1068299 import csv import string import pandas as pd import textdistance from fuzzywuzzy import fuzz from fuzzywuzzy import process # Read in files abt = pd.read_csv("abt_small.csv", encoding='ISO-8859-1') buy = pd.read_csv("buy_small.csv", encoding='ISO-8859-1') # Ready for write file task1a = o...
[ "aegis_fate@outlook.com" ]
aegis_fate@outlook.com
f93762fe1aa074c2ef3f7f2ef70eabd1dae902ce
c986a0ec9efea19a3ef4e7a09a576e9b7ea0597c
/lib/models/pose_higher_hrnet.py
16ac4b6991ddc647508e9c457c9490f398d8bfe8
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Yu-Yy/PointPose
4413f2e1a3592ecaae389341c3412b50c2ace4c7
ff5ba08e88625b75f2e0b0454db4de67fb950f09
refs/heads/main
2023-04-29T07:52:07.421623
2021-03-17T10:19:15
2021-03-17T10:19:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,371
py
# ------------------------------------------------------------------------------ # Copyright (c) Microsoft # Licensed under the MIT License. # Written by Bin Xiao (leoxiaobin@gmail.com) # Modified by Bowen Cheng (bcheng9@illinois.edu) # ------------------------------------------------------------------------------ fro...
[ "pzy20@mails.tsinghua.edu.cn" ]
pzy20@mails.tsinghua.edu.cn
2aa508143b15c41cf17a324f991bc0fe83031d58
5c2e4266abf6d2be9102d5309bf94071a1eae1db
/02 高级语法系列/cp 爬虫/基础/v18.py
478a6d18945b1ac16874c9eb6b549f405533e545
[]
no_license
13834319675/python
8176d5da47136b9b3ec290eaa0b699c6b1e7a8ab
3e6f04670f6f01006f827794865488dd40bca380
refs/heads/master
2021-07-11T18:29:12.894401
2021-07-05T08:29:27
2021-07-05T08:29:27
171,112,613
0
0
null
null
null
null
UTF-8
Python
false
false
1,756
py
''' 破解有道词典 V1 ''' from urllib import request, parse def youdao(): k = input("请输入要翻译的内容:") url = "http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule" data = { "i": k, "from":"AUTO", "to": "AUTO", "smartresult": "dict", "client": "fanyideskweb", ...
[ "1134876981@qq.com" ]
1134876981@qq.com
4e47cceaecf1e3209157eb0200600ae705e2fc5e
747f759311d404af31c0f80029e88098193f6269
/addons/olap/cube/levels/level_normal.py
28102ac873d17b2195509cea402caaffd1a5a756
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
70
py
/home/openerp/production/extra-addons/olap/cube/levels/level_normal.py
[ "geerish@omerp.net" ]
geerish@omerp.net
15f0ae7cea0707dc78551c49d0c39d518528a0a3
7f4509203dc48e33c1081f4447ee89e04b810022
/courses/apps.py
ce423aabc8221a34c52ec34d6e0b2575eab3eeeb
[]
no_license
jug2505/PriCode
d715baf5196da0d9f574b8f120de6860ad463400
72819c54f2762002f2af9148ae5095ff05fb8397
refs/heads/main
2023-02-27T00:42:25.629859
2021-02-05T09:56:00
2021-02-05T09:56:00
334,347,891
0
0
null
2021-02-05T09:56:01
2021-01-30T06:47:10
Python
UTF-8
Python
false
false
90
py
from django.apps import AppConfig class SuperappConfig(AppConfig): name = 'courses'
[ "jonkuvshin@gmail.com" ]
jonkuvshin@gmail.com
48c1870d0f0c83765abb1939c9d76dc4d45bcd65
22510721f57db1502717c1f6dd753a7cdf288e65
/HW1-1/simulate_train.py
d5f80d3f53fdf338afc80ab515e6abe21ed1f57c
[]
no_license
machineCYC/MLDS2018SPRING
85b5bc822c34b197279f2a08cb74eec6d3d69f97
809c1f8ecc04cca324caa6889880d994abb53bd7
refs/heads/master
2023-04-09T17:29:52.807148
2020-01-05T06:12:15
2020-01-05T06:12:15
144,601,789
1
1
null
2023-03-24T22:31:33
2018-08-13T15:54:18
Python
UTF-8
Python
false
false
4,173
py
import os import argparse import numpy as np import tensorflow as tf import matplotlib.pyplot as plt from model.basic_model import shallow_model from model.basic_model import medium_model from model.basic_model import deep_model from src.utils import count_model_parameters def main(args): # parameters batch_...
[ "yenchen0416@gmail.com" ]
yenchen0416@gmail.com
896e0e494e4cb20bef7be03f4da8958384fb740a
e8a607fe2d74b7fb7efefe93da769e7c69d5dc46
/bonvoyage/urls.py
403f0db2aeab7fe625ce9760cfbe025bc085c340
[]
no_license
Anthonyyma/BenchDate
c01771fb4a02633c03e4ce117798debe36d31067
bdd2c508c8dd86b8567d9ed703a7a3047863362e
refs/heads/main
2023-07-25T18:42:06.175568
2021-08-25T06:30:35
2021-08-25T06:30:35
392,185,580
0
1
null
null
null
null
UTF-8
Python
false
false
796
py
"""bonvoyage URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/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-bas...
[ "anthony4@ualberta.ca" ]
anthony4@ualberta.ca
b20fec96bbd6715ed3f0716b8f77082c2f43fea7
0a811010cf257faac01a5d207bfc27ca107c2f1b
/topics/migrations/0002_auto_20180917_2239.py
119c0de8f33b853507f6c34c1e82e83106f26f17
[]
no_license
Kaitrenfsw/business_rules
51554e0da9b9aaf15d173f1e2bce77d117c47efd
ddd0a89d806af4c2b4830980d11686f267bba0a9
refs/heads/master
2022-12-15T13:27:20.809219
2018-10-27T03:19:42
2018-10-27T03:19:42
144,506,695
0
0
null
2021-06-10T20:53:25
2018-08-12T22:59:33
Python
UTF-8
Python
false
false
877
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-09-17 22:39 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('topics', '0001_initial'), ] operations = [ ...
[ "simon.contreras.13@sansano.usm.cl" ]
simon.contreras.13@sansano.usm.cl
a4109458f7d4210d4866f1965a108d5fb0fbd235
b99322aa381b16ab4710e492bdc86941ec0ae26c
/ironman.py
f3dda5325e1a91f3ace82899dd9335a2ba7ac9aa
[]
no_license
hk17672591/ironman
93f04c0f2bd740cfd61305089a1182fd51b334c8
9865b77c71a7c0bd2092b57c8fc5480e782fd527
refs/heads/master
2022-12-05T16:57:00.050672
2020-08-22T06:02:18
2020-08-22T06:02:18
288,892,483
1
0
null
null
null
null
UTF-8
Python
false
false
18,745
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
875105b6c57c4ab622ca57f633cce5b1a7a75255
ca089d2a21fe6384f4c620c8099a10b473710ac8
/login_ui_TaiNgo.py
29ba545c0292012a708abc4e48df1b922eb17de8
[ "MIT" ]
permissive
NoNameGr/NoName
62abeb325e671bd511c841772d70358a9b267cd6
e437ada090612bb44de0524affb66348537eda56
refs/heads/master
2022-11-30T20:13:24.660718
2020-08-12T08:04:09
2020-08-12T08:04:09
283,539,092
0
2
MIT
2020-07-30T04:24:09
2020-07-29T15:43:34
Jupyter Notebook
UTF-8
Python
false
false
25,566
py
from PyQt5 import QtCore, QtGui, QtWidgets class Version(object): def setupUi(self, Frame): Frame.setObjectName("Version") Frame.resize(452, 296) self.label_3 = QtWidgets.QLabel(Frame) self.label_3.setGeometry(QtCore.QRect(110, 100, 91, 81)) font = QtGui.QFont() fo...
[ "noreply@github.com" ]
noreply@github.com
9030b5a6b10be05c7de38200581a48871417e1a2
a2fc37f2a0370e5a78dc2b350efb59fdb3ca47b4
/check_glance_api
eb7b97e7740da76a9cf830d011c44822a869c508
[]
no_license
ajaymahto/nagios-plugins
80696caef85ad6f1b64b2a16d54fea8beaf09054
5fca25d558b4cd9afd9f0aefee3cbb99c82abcbc
refs/heads/master
2021-01-22T16:31:45.270711
2017-02-14T13:41:59
2017-02-14T13:41:59
57,199,521
0
0
null
null
null
null
UTF-8
Python
false
false
5,004
#!/usr/bin/env python # -*- encoding: utf-8 -*- # # Glance API monitoring script for Nagios # # Authors: # Rakesh Patnaik <patsrakesh@gmail.com> # # This file is part of nagios-openstack-monitoring # (https://github.com/rakesh-patnaik/nagios-openstack-monitoring) # # nagios-openstack-monitoring is free software: you ...
[ "ajay.mahto@snapdeal.com" ]
ajay.mahto@snapdeal.com
d00108ac32d6c5ae255e97bb79e6b98f3f50c3f6
7f9a9c4106c6b521654a2b2a24ab69bea757b6da
/lib/topology_docker_openswitch/shell.py
5009081baf8a175234c1f1ab28fdd2d309707d7e
[ "Apache-2.0" ]
permissive
HPENetworking/topology_docker_openswitch
a7c09a4c4e485f9519190cba196ea8b0cdf5a3e8
2d86c11ef718fc96c3c3898f274445156b5b912d
refs/heads/master
2021-01-24T06:38:06.856398
2016-08-31T22:47:50
2016-08-31T22:47:50
53,111,229
1
16
null
2017-05-26T21:33:02
2016-03-04T05:55:34
Python
UTF-8
Python
false
false
1,641
py
# -*- coding: utf-8 -*- # # Copyright (C) 2015-2016 Hewlett Packard Enterprise Development LP # # 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 ...
[ "diego-antonio.hurtado-pimentel@hpe.com" ]
diego-antonio.hurtado-pimentel@hpe.com
28923f1db67f8a7de4873d384ad555cacbd332fd
868a51c434594bdcbcb94371ddfe02f9b53b431b
/account/admin.py
9f6763895ac1f87a13f9d1adf35edcd212a9445b
[]
no_license
Inoxevious/ayci
18f4ce5b551e036bfb796f38b4bcaa57955e411b
9203e75c5131e11c42ece129b01c29f7cae76f9d
refs/heads/master
2022-12-10T04:45:53.400163
2020-02-29T17:57:25
2020-02-29T17:57:25
241,989,670
0
0
null
2022-04-22T23:02:55
2020-02-20T21:04:57
HTML
UTF-8
Python
false
false
536
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.models import User from .models import AccountUser,Role # Register your models here. class AccountInLine(admin.StackedInline): model = AccountUser can_delete = False verbose_name_plura...
[ "mpasiinnocent@gmail" ]
mpasiinnocent@gmail
20695345174d27f1af259b9eaf6bba28ab2a9b54
bbdea1f9d7a05f9fd7d080cc4089690570fa12b4
/5/color_clustering.py
76c51c0d397394bd083fdb8c5962d7d011c4089b
[]
no_license
denisdenisenko/ComputerVision
a18b560b15645b297b5665ceeff10d36f5860d77
278f238842d17628dd55107eac2832ff5c64c12a
refs/heads/master
2023-02-28T03:58:37.122793
2021-02-03T15:45:40
2021-02-03T15:45:40
335,673,465
0
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
import cv2 import numpy as np import matplotlib.pyplot as plt colors =[[253,159,159],[0,255,0],[0,255,255],[0,0,255],[255,0,0],[255,255,0],[0,100,100]] from sklearn.cluster import KMeans image = cv2.imread("untitled.png") Z = image.reshape((-1, 3)) # convert to np.float32 Z = np.float32(Z) # define criteria, number o...
[ "denis.denisenko@gmai.com" ]
denis.denisenko@gmai.com
558486df0233d1129c96bc2379420a59512c25fd
a445ebf20b43a8b34fa2e8d8aa38df1041d148f6
/CSS/RSA/server.py
ed6cbb420d12a8a44243744e6f0ab78bd525e3fa
[]
no_license
ejson03/SEM6PRACS
708bdc4ebe546d26a9197eee16fffb8ae98d574a
4f244261baca3c6e17a80e09c15d7074d6712018
refs/heads/master
2020-12-21T19:34:28.431637
2020-03-30T16:38:05
2020-03-30T16:38:05
236,536,679
0
1
null
null
null
null
UTF-8
Python
false
false
1,462
py
import socket import rsa import time import json import hashlib start = time.time() e, n, d = rsa.RSA_keygen() keytime = time.time() - start print(f"It took {keytime} seconds to generate the public private key") localIP = "127.0.0.1" localPort = 15000 bufferSize = 1024 UDPServerSocket = socket.socket(family=socket.AF...
[ "elvisejsondsouza57@gmail.com" ]
elvisejsondsouza57@gmail.com
4ce551d725fed17f04d859c86246539b5655baf4
d87d634f7d2e4324ba20648cf3f5603c85081f26
/manage.py
7ab688e5ca8f5b71e2b34001bc916c719faf55b1
[]
no_license
sumit7577/cubicus
d5564b046858b1c1f831a98b7804222085de421d
d9323391f7d1ae5496896d714bc43013ee2f6277
refs/heads/master
2023-08-19T11:16:24.130125
2021-09-23T05:03:49
2021-09-23T05:03:49
403,351,723
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'cubicus.settings') try: from django.core.management import execute_from_command_line except Impo...
[ "asmitkumarr082@gmail.com" ]
asmitkumarr082@gmail.com
6a8ab4e8c9d87b5ef9835ff767ae5530877dea77
55225fbd169a3792671c0aff6477f6481f30d16e
/extensions/newrelic/extension.py
df31b07a87f490da51372e9c7f6311e476b113d3
[ "Apache-2.0" ]
permissive
jayallenmn/cf-php-build-pack
49b0a82357011bc36db2f8120ecc9d3774b127ed
9c473b23052777f579df93eb84c3bf5c6edae0a5
refs/heads/master
2021-01-18T17:08:31.811300
2014-12-17T00:29:18
2014-12-17T00:29:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,141
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 ...
[ "dmikusa@gopivotal.com" ]
dmikusa@gopivotal.com
622607fa7a7c60daa2e8c156f9d58d46032e3a4a
f1f21ba2236da38a49a8185ce33b3ce4a4424c1d
/apps/drug_target_interaction/moltrans_dti/preprocess.py
3919994d6fa4be6c6b1b0d8c44ecb5fd98b3b5e8
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleHelix
75a07c2f14475e56e72f4573b2cf82a91d1cbfda
e6ab0261eb719c21806bbadfd94001ecfe27de45
refs/heads/dev
2023-08-05T03:34:55.009355
2023-08-01T09:30:44
2023-08-01T09:30:44
314,704,349
771
197
Apache-2.0
2023-08-01T09:15:07
2020-11-21T00:53:39
Python
UTF-8
Python
false
false
5,501
py
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
noreply@github.com
df83634491e0dcfcc9793d8c38b9b1614a1918d7
14274e11270d0ca9591a953ff553674b14f5acd9
/no7_drf_Serializer/api/migrations/0002_auto_20200504_2103.py
fed1403558cc635d855ec60dabf804753bcd7621
[]
no_license
dog-2/hello_drf
52f12754b3f9a7e018258cde91031eb4622858ff
1411019a142cebcc4cfba5814b87686b2dfcc238
refs/heads/master
2022-06-21T15:49:22.478226
2020-05-10T08:14:01
2020-05-10T08:14:01
262,190,533
2
1
null
null
null
null
UTF-8
Python
false
false
306
py
# Generated by Django 3.0.6 on 2020-05-04 21:03 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0001_initial'), ] operations = [ migrations.AlterModelTable( name='user', table=None, ), ]
[ "test@sb.com" ]
test@sb.com
890c2f1f2002902b58d3e402ec6f2c488446d151
fb3818cfa326aad3ad958eec6376d3b9a242f96d
/tests/algorithms/test_to_int_index.py
90b9c9da19225cf74f76068653c5ebdb98c86152
[]
no_license
StaveWu/RamanSpectrometer-Flasky
2aaa647657b70594fddccfa853cac02695317341
85056e5f07227a4405f0bef077976387bf29ff4b
refs/heads/master
2022-11-24T07:57:42.953905
2019-06-14T15:25:03
2019-06-14T15:25:03
185,988,925
1
0
null
2022-11-21T21:30:45
2019-05-10T12:59:20
Python
UTF-8
Python
false
false
1,185
py
from unittest import TestCase import pandas as pd import numpy as np import pytest from app.algorithms.data_generation import to_int_index, split_by_duplicate_index class TestTo_int_index(TestCase): def test_to_int_index(self): s1 = pd.Series(index=[1.1, 2.2, 3.3], data=[2, 3, 4], name='a') s2 = ...
[ "wtengda0816@outlook.com" ]
wtengda0816@outlook.com
bf27c415d0043fd1bc4f0ca0022fb76d57c961a7
c73e8286579e7ba673440bac44bd527d416beaef
/MyNeutronSimHitAnalyzer/test_myneutronsimhitanalyzer_cfg.py
fefea3af0908ab0115fa557d29761f7fc67dfbf8
[]
no_license
pietverwilligen/MyAnalyzers
6815cec717f2ede3f44070466e33c9b292d5b452
ccd04521747625d82a19174ebebb6a2cba53ddf2
refs/heads/master
2023-05-24T12:42:17.134907
2023-05-18T11:55:05
2023-05-18T11:55:05
16,079,295
1
2
null
null
null
null
UTF-8
Python
false
false
5,417
py
import FWCore.ParameterSet.Config as cms process = cms.Process("Demo") process.load("FWCore.MessageService.MessageLogger_cfi") # process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') # process.load('Configuration.Geometry.GeometryExtended_cff') # process.load('Configuration.Geometry.Geometr...
[ "piet.verwilligen@cern.ch" ]
piet.verwilligen@cern.ch
804a24940885c35a4a7ed6d3b1ddad614a1e83b0
7aa922e785ce1b2d8754c0f62628856db59de631
/IsingAnnealing/plot.py
e89cf171fcd6d34777c1bbea6702999085322b8d
[ "MIT" ]
permissive
karthik-r-rao/parallel-computing-it301
9d8ad0b10ab7fb5c87c61130b1a5ef44ff92f878
47930923e41229bdb8e0fa9aa06668e07bdee469
refs/heads/main
2023-04-16T08:15:49.709154
2021-04-28T18:06:00
2021-04-28T18:06:00
332,651,520
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
import matplotlib.pyplot as plt file1 = open("results.txt", "r") file1 = file1.readlines() vertices = [] s_times = [] p_times = [] for line in file1: line = line.split() if line[0][0] == 'S': s_times.append(float(line[2])) vertices.append(int(line[1])) elif line[0][0] == 'P': p_t...
[ "karthikrrao30@gmail.com" ]
karthikrrao30@gmail.com
7bf32ed10277589fd1dc3e661cceebe03b385ce4
7e1b39feee3da75529caf06ebb41f010414b3a1c
/insert_db.py
48da7e5ad0537f77d3214aa4c1fb1e4234b96f31
[]
no_license
ogechivivian/Python
7a771803cb16643357a1819cd605c8565b6a483b
bb4490db92ecdc99df9d02c8a204e8b10ba6df65
refs/heads/master
2023-04-29T22:50:46.816145
2021-05-17T00:38:01
2021-05-17T00:38:01
368,013,225
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
import pyodbc conn = pyodbc.connect('Driver={SQL Server};' 'Server=ISW-ENGR-OV1\SQLEXPRESS;' 'Database=TestDB;' 'Trusted_Connection=yes;') cursor = conn.cursor() cursor.execute('SELECT * FROM TestDB.dbo.Users') cursor.execute(''' INSERT...
[ "okeyogechivivian@gmail.com" ]
okeyogechivivian@gmail.com
fbd822f61c1a1be9ba9e7a288e6edaa8aa8fe6e7
79175920d99b88fd448d53b0fed715b04784b80d
/code_elements/LogicalFunctions.py
961ce17a1117c64f9ed4ca582db4ae2998ef6c92
[]
no_license
andrea94bs/pattern_recognizer
129806b324c9a33ad95b48b0480e4cb4ef0c5307
b3629d2a8852954419b44d325902ed6743d24696
refs/heads/master
2020-07-13T05:34:51.538331
2019-08-28T20:02:28
2019-08-28T20:02:28
205,004,989
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
from abc import ABC, abstractmethod class LogicalFunction(ABC): def __init__(self, *operands): self.operands = operands @abstractmethod def getOperands(self): pass @abstractmethod def getOperator(self): pass class OrFunction(LogicalFunction): def __init__(self, *opera...
[ "andreamilli9@gmail.com" ]
andreamilli9@gmail.com
a795d94e127b464707333ef1f6a68ca8a2ed11b7
f022c7339bc01749d6ee99162a074ca3fe6711d8
/module_05/sauce_func_lib/test_sauce_inventory.py
2decf0f6f49445e63db12de5b9e3491172f86fc5
[ "Unlicense" ]
permissive
memsprop/2021_python_selenium
e34d5a563a6f0e44b07d82f6db8836d3e9a4c041
eb3de282b11933cb6886d4008fb1b557147afaae
refs/heads/main
2023-04-06T11:01:18.634874
2021-04-21T01:11:31
2021-04-21T01:11:31
335,466,100
0
0
Unlicense
2021-02-05T00:57:09
2021-02-03T00:52:20
null
UTF-8
Python
false
false
1,288
py
"""Test cases for inventory""" import pytest from selenium.webdriver.support.wait import WebDriverWait from common.webdriver_factory import get_driver from module_05.sauce_func_lib.inventory import get_inventory, InventoryItem from module_05.sauce_func_lib.login import login VALID_PRICES = ['$29.99', '$9.99', '$15.99...
[ "garanda@anexinet.com" ]
garanda@anexinet.com
9d8e091e4f9f914bb83c10c472f0a4d23405ed62
2e7970e72e583b6e52cd2dc3b58fbb4a0437d610
/raspberrypi2/GrovePi/Software/Python/grovepi.py
cff2690fe0b8a0d2fb7149cf713c4a593db592ef
[ "MIT" ]
permissive
Lyoncore/iotivity-demo-uc15
dedc25821f672a0b7ea0096fb9acd5651fa7a8e8
33d0d377f433029371403415f695226dad46349e
refs/heads/master
2021-04-06T00:00:54.981699
2016-08-02T06:30:25
2016-08-02T06:30:25
64,462,533
1
1
null
null
null
null
UTF-8
Python
false
false
17,403
py
#!/usr/bin/env python # # GrovePi Python library # v1.2.2 # # This file provides the basic functions for using the GrovePi # # The GrovePi connects the Raspberry Pi and Grove sensors. You can learn more about GrovePi here: http://www.dexterindustries.com/GrovePi # # Have a question about this example? Ask o...
[ "gerald.yang@canonical.com" ]
gerald.yang@canonical.com
30e32a0d0a73c626eb5e77afb62df05a8f9ac067
0391e91adae786eef92cc57c092fa47656c56925
/show_votes.py
f2e89fec5861bc5f5d24ef612ee91bf48b474c93
[]
no_license
imranariffin/masat-agm
d36b2ad5ae85da9ff1d960a984a4aa5fb0dbc22a
dc9be2b2560535dc7c009ea9dcb22f596162e280
refs/heads/master
2020-12-28T19:46:35.824556
2016-04-01T23:22:21
2016-04-01T23:22:21
53,380,659
0
0
null
2016-03-08T03:50:23
2016-03-08T03:50:23
null
UTF-8
Python
false
false
3,173
py
from mongapi import get_all_votes def show_count(votes): pr_count = {} if __name__=="__main__": for vote in get_all_votes(): print vote['code'] for key in vote.keys(): if key != "code" and key != '_id': print "\t", key, vote[key] print "\nshowing count:\n" president_count = {} vice_president_count ...
[ "imranariffin@yahoo.com" ]
imranariffin@yahoo.com
dae07b029684f648dca95618f327516b28e05372
1d8f1c7d69d7b4439dcd533ac30bba355db6e982
/FastAPI-Project-Template/tools.py
23d6a6902927fdc8d107dfce5f9cccf9c7036628
[ "Apache-2.0", "MIT" ]
permissive
shikanon/privatecode
8ad711da2f5e2580f9dc1f04acdaa14661baf23a
953ca25b5df2d525f9e9d4910ec4684c38f08517
refs/heads/master
2023-03-10T22:13:04.016022
2022-06-02T03:27:28
2022-06-02T03:27:28
253,537,808
0
0
MIT
2023-02-14T21:46:42
2020-04-06T15:23:57
Python
UTF-8
Python
false
false
874
py
# coding=utf-8 ''' # Author: shikanon (shikanon@tensorbytes.com) # File Created Time: 2020-03-31 5:12:50 # # Project: FastAPI-Project-Template # File: tools.py # Description: # ''' import click from settings.config import Config from model.database import Database @click.group() def cli(): pass @click.comma...
[ "shikanon@foxmail.com" ]
shikanon@foxmail.com
ad7e6bc02120ef80805bcd33c41a5689fdc3b3ae
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/222/users/4327/codes/1685_2471.py
3839f412181a0170517221e3c9d2dc2bcfbbf2a6
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
361
py
ida=int(input("idade:")) imc=float(input("imc:")) print("Entradas: {} anos e IMC {}".format(ida,imc)) if ((ida<=0 or ida>130) and imc<=0): print("Dados invalidos") elif(ida<45 and imc<22): print("Risco: Baixo") elif(ida>=45 and imc<22): print("Risco: Medio") elif(ida<45 and imc>=22): print("Risco: Medio") elif(id...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
a2684462368bccf9e2ba348abcf9171734ffab33
dc70ab34373d6c97b4c838983ef19c60978a2e7a
/4 Storing resources in SQL code/code/user.py
246cb75e4473da0994124ae14593b55f1e659cdd
[]
no_license
thanhtungittlu/Flask-RestAPI
af9e6a818fa34a4c1627b4128cbb449667a50f7f
ad5c183017565acbb9088f373145375d4a15127f
refs/heads/master
2023-09-04T00:26:47.382532
2021-10-11T09:12:40
2021-10-11T09:12:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,543
py
import sqlite3 from flask_restful import Resource, reqparse class User(): def __init__(self,_id,username,password): self.id = _id self.username = username self.password = password @classmethod def allUser(cls): user = [] connection = sqlite3.connect('data.db') ...
[ "tungteobeng357@gmail.com" ]
tungteobeng357@gmail.com
dcd90f03c5ad889a247fba87b43c5a73531a764e
21817bff4a5c91667e1af61d2720d162b2875a97
/aula10.py
bfb43813b55a2aaa75329e6102bfead152494ad5
[]
no_license
rafarios20/praticando-python
98f7511ed11d53a03f50ed3f1fee7ca3fe24437e
fc966a19b083240cf7c315be7611e2a4c6389a11
refs/heads/master
2023-08-02T01:39:16.046406
2021-10-04T20:48:32
2021-10-04T20:48:32
413,577,545
0
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
from datetime import date, time, datetime, timedelta def trabalhando_com_datetime(): data_atual = datetime.now() print(data_atual) print(data_atual.strftime('%H:%M:%S')) print(data_atual.strftime('%c')) print(data_atual.weekday()) tupla = ('Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábad...
[ "rafaelsrios12@gmail.com" ]
rafaelsrios12@gmail.com
af70d574f31787b8284e14570848001569e88f64
ae4ce90917d44f13b33660578b7a80ba79b68459
/module2-sql-for-analysis/working_solution.py
b29eceb198a4cae52af37c7afe1e815afa4b780a
[ "MIT" ]
permissive
DrewRust/DS-Unit-3-Sprint-2-SQL-and-Databases
963479b6231e4759edbbc5e2258093b4f535e037
f58bb7e76119da044db8f305c2fcd15cf354425d
refs/heads/master
2022-11-27T13:24:08.004619
2020-07-31T01:52:40
2020-07-31T01:52:40
281,267,427
0
0
null
2020-07-21T01:44:53
2020-07-21T01:44:53
null
UTF-8
Python
false
false
1,430
py
import os import sqlite3 import psycopg2 import pandas as pd from dotenv import load_dotenv from psycopg2.extras import execute_values load_dotenv() DB_NAME = os.getenv("DB_NAME") DB_USER = os.getenv("DB_USER") DB_PASS = os.getenv("DB_PASS") DB_HOST = os.getenv("DB_HOST") conn = psycopg2.connect(dbname=DB_NAME, ...
[ "drewrust1@gmail.com" ]
drewrust1@gmail.com
cfd6b4137126ddc96e3d047fec0cc5d0e829c5b1
482d17be739503d4a5612bec89cac8f86ea62fe1
/Session_3/3c_create_list.py
072f645fc7514e7abf1bfb25429f3e001a21f0af
[]
no_license
python101ldn/exercises
014976d1452f18008d4ea9b52ffe2919a228e1e0
504d99e9d11859f347fad2ec05867c81e5c6f051
refs/heads/master
2021-06-07T03:38:46.119736
2019-11-04T10:50:54
2019-11-04T10:50:54
116,511,663
1
1
null
2019-08-05T13:50:22
2018-01-06T20:00:17
Python
UTF-8
Python
false
false
194
py
# Build a list of 1-100 yourself using append and a while loop element = 1 resulting_list = [] while element <= 100: resulting_list.append(element) element += 1 print(resulting_list)
[ "agutteridge@hotels.com" ]
agutteridge@hotels.com
722850cb1918b9896efd11d196b5c64a1a4caa4e
751f4a9d820f11699d466af3a9054e71f28068d1
/URI_1116.py
8d60526d1b33bad92cb2fa12919127f7ab8ce81d
[]
no_license
Abdurrahmans/Uri-problem-solving
3b6fc310e3cb30f10e4b1ec408ab27b9cb0dffd3
073ba18c221ad9194d63620cbf1a68f753ce2526
refs/heads/main
2023-06-06T11:07:06.853347
2021-06-22T12:34:53
2021-06-22T12:34:53
379,262,323
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
n = int(input()) for x in range(n): a,b = map(int,input().split()) if (a>0 or a<0) and b==0: print('divisao impossivel') continue divisor = a/b print(divisor)
[ "noreply@github.com" ]
noreply@github.com
a632be23299d850d9e5ea68478245d78528fac7d
1db1eb9761a639a14185bddefd38f20f317a3846
/MS_project_backend/google/quickstart.py
a625543227170dd64ef2b54dc3b05a4255eaebea
[]
no_license
atavera4/Smart-Surveillance-Project-_Backend
02db02c8e0b21d821a36d61c868d704ddb3dd6e7
2c64b7873b944d9d06d57d8283a22430dc342f7c
refs/heads/master
2021-06-21T20:55:08.898976
2017-08-26T21:25:52
2017-08-26T21:25:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,371
py
from __future__ import print_function import httplib2 import os from apiclient import discovery from oauth2client import client from oauth2client import tools from oauth2client.file import Storage try: import argparse flags = argparse.ArgumentParser(parents=[tools.argparser]).parse_args() except ImportError: ...
[ "shadezeroat@gmail.com" ]
shadezeroat@gmail.com
763c3a099affc2ad5ad0175153483332b443d153
d0efa2026b7ed22ff4f9aa76c27ae2474c30f26d
/openapi_client/models/location.py
f6293ef80984ebfdac4c0af34fa105e138e19331
[]
no_license
begum-akbay/Python
2075650e0ddbf1c51823ebd749742646bf221603
fe8b47e29aae609b7510af2d21e53b8a575857d8
refs/heads/master
2023-03-28T00:11:00.997194
2021-03-25T16:38:17
2021-03-25T16:38:17
351,499,957
0
0
null
2021-03-25T16:38:17
2021-03-25T16:15:16
Python
UTF-8
Python
false
false
7,016
py
# coding: utf-8 """ Payment Gateway API Specification. The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501 The ve...
[ "emargules@bluepay.com" ]
emargules@bluepay.com
ddf47e45ef86e9b199838c7fedfcc38dc2944e9c
6f843575c3b1662e4756fa9bd5e094277c1f770e
/ck_auto_select.py
c336c4d166d1fc94db6a9a059034e9cff490d100
[]
no_license
21ki/qinglong_auto_tools
dc19717b91d5c00068c7c98b3ea9d480bc42a764
3073d46e7bc15eab5db3c55e2309884c713fe2e5
refs/heads/master
2023-09-02T06:23:56.052462
2021-11-19T12:35:16
2021-11-19T12:35:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
# 多ck去重,每10个隔一行输出,ck格式: #ck1&ck2&ck3&…… #作者仓库:https://github.com/spiritLHL/qinglong_auto_tools #觉得不错麻烦点个star谢谢 #代码 import re data1 = '' data2 = '' #data3 = '' #data4 = '' temp1 = data1.split('&') temp2 = data2.split('&') #temp3 = data3.split('&') #temp4 = data4.split('&') temp = temp1 + temp2 #temp = temp1 + tem...
[ "62994705+spiritLHL@users.noreply.github.com" ]
62994705+spiritLHL@users.noreply.github.com
5f36c264f3e710a59ce98235f2fe2af5d9e14332
9710db9720775495d3fbb5d2c109ca99bd52e9d8
/image_mod2.py
2c83f05e634b7fa2e1689897c7f698efca798fd3
[ "MIT" ]
permissive
StepanPoghosyan/NumPy
e81c608352c26bbb5fb810a1a869475d5de8b41c
98b20ed08f467c34612aa443e309c04e53e6b7af
refs/heads/main
2023-03-10T01:15:02.381197
2021-02-19T05:19:23
2021-02-19T05:19:23
338,972,138
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
import numpy as np import matplotlib.image as mpimg img = mpimg.imread("kitty.jpg") print(type(img)) print(img.shape) averages = img.mean(axis=2) # Take the average of each R, G, and B mpimg.imsave("bad-gray.jpg", averages, cmap="gray")
[ "noreply@github.com" ]
noreply@github.com
67022eee39ca403a42056592b5865b71d0932664
3fee42f36817e380a1f911731ef9feae4dd0c5be
/project/project increment 3/bin/pyrsa-sign
0a046b449349b5ed3cddd2631bac50cf505dbcf8
[]
no_license
hvbilla/Python-Deep-Learning-
756a8359185335bd78ae63a30ff518386ef169d9
af46ed73d79718a9064d75e0fad47aab78e79474
refs/heads/master
2020-12-19T21:51:54.505525
2020-05-14T17:41:28
2020-05-14T17:41:28
235,855,355
0
2
null
null
null
null
UTF-8
Python
false
false
275
#!/Users/GowthamYesG/Documents/python-project/Python-Deep-Learning-/api/bin/python3 # -*- coding: utf-8 -*- import re import sys from rsa.cli import sign if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(sign())
[ "msharsha123@gmail.com" ]
msharsha123@gmail.com
245ae97ad6a1378e1321ff246b20b6073791fbf7
d30855895ee0c6ddaef493039dd0e0f1298eeae6
/demo3.py
05468c0c352ed93b62578658570a7927fdf16d41
[ "GPL-1.0-or-later", "GPL-3.0-only", "MIT" ]
permissive
Ezhil-Language-Foundation/open-tamil
f5f28463bff4400aa131b4a428e8f3e17aa63997
8ea745440f96fe587cf0959d12e990ad7923e60e
refs/heads/main
2022-12-23T13:50:19.758812
2022-12-16T21:56:02
2022-12-16T21:56:02
14,263,826
246
72
MIT
2022-09-24T17:49:10
2013-11-09T19:48:48
JavaScript
UTF-8
Python
false
false
531
py
# -*- coding: utf-8 -*- ## (C) 2019 Muthiah Annamalai, ## This module is part of solthiruthi project under open-tamil umbrella. ## This code maybe used/distributed under MIT LICENSE. from solthiruthi.dictionary import DictionaryBuilder, TamilVU from solthiruthi.tamil99kbd import inv_confusion_matrix as kbd_cm from solt...
[ "ezhillang@gmail.com" ]
ezhillang@gmail.com
dc8c9b4ea75f3e8b25d8678b445eb24ee988d0e3
c03c8d7363a3626b1178d241af3aa93a7b0b15e2
/unidesign/transients/__init__.py
3d50473e4a0abd9fdb247dd1784c2cc73cd211c5
[]
no_license
luntan365/unidesign
0c9aa82df215fcff6be32840709ea51588cad805
ee24a7152d937d1b95c2bb67b3f050966850d50f
refs/heads/master
2020-12-01T07:50:18.444676
2011-09-11T10:54:41
2011-09-11T10:54:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
""" Transient Dynamics for Neural Processing Building Blocks - Network N for the neuroanatomy with nodes representing neurons and edges representing connection weight - A set of input pattern I extended in time, representing a spatio-temporal entity, thought of as the activation of a subset of neurons that would be ac...
[ "git@unidesign.ch" ]
git@unidesign.ch
c8b50a4ce851208831a5c8b6a8a736c14b3424ee
ea0932ba09dffbf106f2510bb4a9be401cc147e5
/graphics.py
aaa780fc00bf966c556a7a0cd0cbf8c92f4505bc
[]
no_license
henryhe1/tweetreader
9c6d8bfda5d03715934a4f547fe708626cbe3c59
c041b6df855a7be3f0e380d996f6ae5b497704d6
refs/heads/master
2021-01-10T10:39:47.055551
2015-11-18T17:07:01
2015-11-18T17:07:01
46,192,223
0
0
null
null
null
null
UTF-8
Python
false
false
27,405
py
# graphics.py # (c) 2013 by Rance Necaise # http://graphics.necaiseweb.org # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to # ...
[ "henry_he@ymail.com" ]
henry_he@ymail.com
b68b322e105855c7b3d0e1337b5c91c2592fa778
8a9294e18eb2c91d1cb38e3727c4139d4328ab9e
/scrapeScenes.py
379e4f7a095d0e9c0efa0206e796576ba390b16f
[ "MIT" ]
permissive
hyde231/stash_theporndb_scraper
88ffe6c3fc587bda66352bd7c78d76b8098fdc8d
4d50311369a23884a8d18d4bcc3a2725d213b5cc
refs/heads/master
2022-11-04T22:24:31.390112
2020-06-25T19:46:05
2020-06-25T19:46:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
66,648
py
import os import requests import json import re import urllib import sys import base64 import math import logging import argparse import traceback from datetime import datetime from io import BytesIO from urllib.parse import quote from PIL import Image from requests.packages.urllib3.exceptions import InsecureRequestWar...
[ "fakeinbox@gmail.com" ]
fakeinbox@gmail.com
1713d5332187e0cc6b8db9f9de6d7474cd575c0b
dafe0c744025da2cbaafc8383ca2f7075380a7a0
/yaafe/src_python/yaafelib/core.py
3749cf591dde2292f5c2dc87c5b3632a90094e86
[]
no_license
aidanjohnson/EE-443-Final-Capstone
890e45684add891b047095738bf7144eb38cab9d
f12b0c202244c89a9eed429b1fcda03f5aae8cb0
refs/heads/master
2020-03-17T15:06:31.522058
2018-06-14T17:51:22
2018-06-14T17:51:22
133,698,772
1
0
null
null
null
null
UTF-8
Python
false
false
11,828
py
# -*- coding: utf-8 -*- # # Yaafe # # Copyright (c) 2009-2010 Institut Télécom - Télécom Paristech # Télécom ParisTech / dept. TSI # # Author : Benoit Mathieu # # This file is part of Yaafe. # # Yaafe is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License a...
[ "noreply@github.com" ]
noreply@github.com
8dc9d361d4139844af17f07dafe81976c0cca081
69ba5e6c8397410a67129346d433117da73e4854
/Read.py
80b1c9f738704555b2a44a31b5b1997e53756062
[]
no_license
maroianenasrellah/MFRC522-python
a4ddecd9599acfd4da0140cac448432ec115f677
162f43280ffa8ad89d9450f16a555afa649a6f80
refs/heads/master
2021-04-06T13:13:47.877368
2018-03-15T14:07:36
2018-03-15T14:07:36
125,376,511
0
0
null
null
null
null
UTF-8
Python
false
false
1,816
py
#!/usr/bin/env python # -*- coding: utf8 -*- import RPi.GPIO as GPIO import MFRC522 import signal continue_reading = True # Capture SIGINT for cleanup when the script is aborted def end_read(signal,frame): global continue_reading print ("Ctrl+C captured, ending read.") continue_reading = False GPIO.c...
[ "noreply@github.com" ]
noreply@github.com
ac6de3c65242858fd243ac9a16b29ad30476d158
acde68a570c2fea640993449924aea8ba2ca4a9b
/Lib/site-packages/pip/_internal/index/collector.py
14327ce1af8685304f26ccb2713d09a8768761ef
[]
no_license
nedimg071/Django_3_by_example_Chapter_1
211d4d0bc7a1470e16b7722e0896972838fb41b7
15d8a3057ebf9825b8e64670c9390a4c200e00dd
refs/heads/master
2023-04-11T04:09:08.317170
2021-04-12T13:06:07
2021-04-12T13:06:07
355,130,427
0
0
null
null
null
null
UTF-8
Python
false
false
21,876
py
""" The main purpose of this module is to expose LinkCollector.collect_links(). """ import cgi import functools import itertools import logging import mimetypes import os import re import urllib.parse import urllib.request from collections import OrderedDict from pip._vendor import html5lib, requests from pip._vendor...
[ "nedimg@bih.net.ba" ]
nedimg@bih.net.ba
69bcb14613b73a6d205612ce74dc21c63bac8833
ab829d37a37a048a8170aff2ba20242e0735b24f
/management/ploter.py
e7901242724e64e9811598d4c7a6b72dfcd0ed6d
[]
no_license
roeyashernielsen/eeproj
47e67cfa18d566df5491ec4232bcef302e2f06d0
4c5b4f17a13e86baa8a57b7ce986c1028b0fd86a
refs/heads/master
2021-01-21T15:07:20.852988
2016-06-29T21:21:20
2016-06-29T21:21:20
58,830,894
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
from pylab import * import matplotlib.pyplot as plt from datetime import datetime import time from matplotlib.dates import DateFormatter, WeekdayLocator, HourLocator, \ DayLocator, MONDAY from matplotlib.finance import _candlestick import pandas as pd def plotTest(df): mondays = WeekdayLocator(MONDAY) ...
[ "roey.asher@nielsen.com" ]
roey.asher@nielsen.com
39ea22a4768dbea49a1e239f84a2233863732791
ceb2bdb5df5a6d988ce71594c7eb9825bc558b7a
/get_wall.py
e054352ada268553877a460caef841f779ffa3f2
[]
no_license
bclyons12/C1py
1a3901bebff3b8950ac15c7568f770f394d32b5f
6e4b75f8a5d9ee7de718627ff0fb6338b5a40101
refs/heads/master
2023-01-08T21:57:46.516896
2023-01-05T00:09:10
2023-01-05T00:09:10
51,472,581
1
0
null
2023-01-05T00:09:11
2016-02-10T21:12:37
Python
UTF-8
Python
false
false
6,142
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 16 19:59:44 2016 @author: lyonsbc """ from numpy import array def get_wall(machine='diiid'): if machine is 'diiid': Wi= array([[ 1.0163 , -0.4914 ], [ 1.01631964, -0.57601945], [ 1.01635891, -0.74525834], ...
[ "lyonsbc@irisd.cluster" ]
lyonsbc@irisd.cluster
523a6572bc48a5326a93e982133be5b30218128c
acf8fe77e599f8372adf4fc971012394715795d6
/flask/EGG-INFO/enstaller/post_egginst.py
e91b753a7dca7f316b1ea217b327a33c095849ad
[]
no_license
shaheershantk/Blog-Engine-Using-Flask
3e2f1457a59f282c336bbb63ff48171f938f5108
450e76a8bde0bd702d995fa7bb746ed920917f98
refs/heads/master
2021-01-01T19:42:03.401554
2014-11-10T15:01:08
2014-11-10T15:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
""" converts the old "__egginst__.txt" files to "egginst.json" and "_info.json" files """ import os import re import sys import json import time from os.path import abspath, isdir, isfile, join def read_old(path): d1 = {'installed_size': -1} execfile(path, d1) d2 = {} for name in ['egg_name', 'prefix'...
[ "shaheer.shan@gmail.com" ]
shaheer.shan@gmail.com
a41def6a23f404b4cc471342fface1cd38551c6b
bbd65a48e9fb340b29f39082483680969d6e2571
/python/misc/double_letters.py
3c887a4d9ac46b613773398829e3c96f93bf0139
[ "MIT" ]
permissive
christopher-burke/warmups
2784eef3b959bca5c270b3e642b505f3b4c0b790
140c96ada87ec5e9faa4622504ddee18840dce4a
refs/heads/master
2022-05-24T11:26:40.046650
2022-03-28T16:47:16
2022-03-28T16:47:16
152,440,792
0
0
MIT
2022-03-13T03:25:43
2018-10-10T14:51:43
Python
UTF-8
Python
false
false
712
py
#!/usr/bin/env python3 """Double Letters. Create a function that takes a word and returns true if the word as two consecutive identical letters. Source: https://edabit.com/challenge/q3JMk2yqXfNyHWE9c """ import re def double_letters(text: str) -> bool: """Determine if text contains two consecutive identical l...
[ "christopherjamesburke@gmail.com" ]
christopherjamesburke@gmail.com
fda9be22f30a154d5abe56754b9f02059d1a50ff
753f729f33a1b00a0a7f5c78d217cc4c609aee6f
/n17_ViewSetAndRouters/n17/wsgi.py
8e8c18729c4e259cdf8ed2fa83301e9ba3ae37dc
[]
no_license
nayan-gujju/DRF-Code
874114a861042d558112f1a8ec95daf1356d5493
6fb3fdd5dde352e7b6e3a7363da0e7a3057b1ede
refs/heads/master
2023-08-06T12:42:23.551603
2021-10-06T11:34:54
2021-10-06T11:34:54
404,650,413
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for n17 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "nayangujarati007@gmail.com" ]
nayangujarati007@gmail.com
d85a6204ffa3326cb6857ae0eb121b2ce33e07d6
86f8b94eb30b52b98685bb6ee5e2353c8e93d15d
/app/Utils/OssUtils.py
baf7a230faf389f7d1a8dfd7f20adaa8d11139b3
[]
no_license
badandboy/flask_config
8bdf272c1370534af9a0d7b778a6717fb4a5804f
a1ffdef2c2b5320cbfc00e2291ff5c6167f8063c
refs/heads/master
2022-12-15T20:09:30.595623
2019-10-22T09:20:37
2019-10-22T09:20:37
216,772,589
3
0
null
2021-06-02T00:34:57
2019-10-22T09:18:33
Vue
UTF-8
Python
false
false
940
py
#coding=utf-8 import oss2 from config import AccessKeyId,AccessKeySecret,EndPoint,Bucket class OssUtils(object): def __init__(self): # 阿里云主账号AccessKey拥有所有API的访问权限,风险很高。强烈建议您创建并使用RAM账号进行API访问或日常运维,请登录 https://ram.console.aliyun.com 创建RAM账号。 auth = oss2.Auth(AccessKeyId, AccessKeySecret) # ...
[ "curryliu@xiaoe-tech.com" ]
curryliu@xiaoe-tech.com
cff22fa042836ec8c8c130601397af3987f80e29
b8ee9a391ef474a6bf80edcb609c5d47841056ee
/analyzer.py
9f99f311cfae8862af246efb29922d0fb2119b94
[ "BSD-2-Clause" ]
permissive
Shardey/analyzer-thesis
ad0639e327f11dbeb1b9de1d2b5e81a1f589e641
9d91a1b1ed24d3a818807422ea140b4745d9566b
refs/heads/main
2023-04-25T04:01:58.983460
2021-05-17T06:54:11
2021-05-17T06:54:11
367,798,228
0
0
null
null
null
null
UTF-8
Python
false
false
2,242
py
import os, glob, sys, csv from os import listdir import grouper, plotter import multimetric.multimetric as mm ##### # main() # # The main control sequence for the whole Analyzer project # Needs exactly one command line argument, the name of the directory where all the data is located. # Will wr...
[ "noreply@github.com" ]
noreply@github.com
5090c8edb41dd21c39932a48122aec90d02656ff
58d42eaadd2dc30b0dc3f150cbe6abc009f40d01
/trade_conf.py
3e8cac0e6c5ab42d0f2858cd0e08356fc5f3ca8b
[]
no_license
confiself/highfre
2bc7fc94ab3f8589c66fea72fa5c65205f318802
121cb8768e6d35984103139e2415d9f932e7e5b4
refs/heads/master
2021-05-01T06:05:14.354803
2018-03-05T04:03:18
2018-03-05T04:03:18
121,134,901
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
#! coding:utf-8 class TradeConf(object): def __init__(self, trade_env): if trade_env == 'test': self.api_key = "euYaAVNoDkTOnuJbIzdkbm2it" self.api_secret = "0EuDEoejFvYVPdFk5QlzCJGYM_u-nV1vB1aIstsLi697h_Ndt" elif trade_env == 'product': self.api_key = "mW5LZgi...
[ "confiself@icloud.com" ]
confiself@icloud.com
df9444bb29a93e0916ada2e355c0a1121aed5edc
38ecb8003cfa1f7b418d8c4ccd30d2a6262965c5
/tfx_bsl/coders/sequence_example_coder_test.py
45f5624302061620dc45922e576efd776832810a
[ "MIT", "Apache-2.0" ]
permissive
dhruvesh09/tfx-bsl
ff5c89051516577ef76f9949c18b6e33071eaeff
52f7aeab4a528ee81ae308534c9fcc1ce431d569
refs/heads/master
2021-12-04T11:20:53.374965
2021-08-27T22:53:20
2021-08-27T22:53:52
214,256,743
1
0
Apache-2.0
2019-10-10T18:28:46
2019-10-10T18:28:45
null
UTF-8
Python
false
false
27,863
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
266c35f2896ab720eb79287c6a05ad535120aca1
968571c135957d23a8ce263237876cf1ac7d20d2
/project/urls.py
2b3548db249a486fe61b574c9dac4b90a28418b1
[]
no_license
azam-mamatmurodov/django-simple-chat
8f1f572aa2c510aba91389e193cfcce8f338bbac
415a0ef3b06606825899d3a2021559fd039d6d50
refs/heads/master
2022-12-24T12:22:41.908613
2018-03-21T08:15:20
2018-03-21T08:15:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "azam.mamatmurodov@gmail.com" ]
azam.mamatmurodov@gmail.com
e2276b4282bb15a7c70c965fe65a6cf6a28546e2
c0fcc8dc9b8e503d87048023c2b034d1ac7d7ca0
/WaiQin/frame/screenshoot.py
2982ab36bbc5b313923ec4215b12fabd14a87166
[]
no_license
testwangchunping/Selenium_Python
5299d1a9ac536032e7ed8c733d161b58a2d4a1e7
3bad1b46b42dc8c6a0d6e0870df6ce51df010c7a
refs/heads/master
2020-04-01T22:30:19.570354
2018-11-09T07:36:42
2018-11-09T07:36:42
153,712,194
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# 该方法用来截图的,文件命名imgname def get_window_img(self, logger, img_name, num): img_path = './Screenshots/' + img_name + str(num) + '.jpg' print(img_path) try: self.driver.save_screenshot(img_path) logger.info("已经截图并保存在:/Screenshot目录下") except NameError as e: logger.error("保存截图失败!%s" %...
[ "498361658@qq.com" ]
498361658@qq.com
50c2ad02cfdce5fb90ef693cbcdf660ab9d3d9d5
8973d11a8446fb72f26d04debe9b30b878a5c025
/users/migrations/0002_auto_20200503_0258.py
56b61a6a40faa952d580fcc1a900dc89f83328d4
[ "Apache-2.0" ]
permissive
royaleagle-dev/flinch
766e213e216937852e0d5d115c528b74c526c58b
789262cc207b3fa10ab6882ef8aa72ab368bee85
refs/heads/master
2022-07-20T08:26:38.866796
2020-05-16T05:08:05
2020-05-16T05:08:05
260,341,913
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
# Generated by Django 2.2.7 on 2020-05-03 01:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='profile', name='totalCart', ),...
[ "royaleagle.dev@gmail.com" ]
royaleagle.dev@gmail.com
7e53d9ca6d96aafd543c47c2480508fb53a30c36
70913c6a564ad7784e63a435ef0849d28344fae9
/TiposDatos.py
f7480b2b265dbb628d4f5c5a20f5603e2a38caf8
[]
no_license
juanjogonzalez/CursoPython
6a29a2883fd6c911d9d5133bfd8a1427e663824f
19543ad79b3a2c30d8d6aa9e18afe8de2746c96f
refs/heads/master
2020-05-16T22:27:26.021931
2019-04-25T02:00:44
2019-04-25T02:00:44
183,336,954
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
#strings print ("Hola Mundo") print ('Hola Mundo') print ("""Hola Mundo""") print ('''Hola Mundo''') print ("Hola" + "Mundo") print (type ("Hola Mundo")) print (type (100)) #integer print (30) print (type(30)) #float print (30.5) print (type(30.5)) #boolean True False #list (variables) [10, 20, 30, 40] ['Hola', 'a...
[ "jjegonzalezf@gmail.com" ]
jjegonzalezf@gmail.com
211a3096380086ab0ab13420672bd42a9486c4f1
5a56d9170661e49fa0b3034e5f91cf0f0ebe80c1
/flucoma/dataset.py
806b3af061c0411fcd5e86bc2fd272ce2c386771
[ "BSD-3-Clause" ]
permissive
inegm/python-flucoma
e2d894de19183e7ffc6cd2710d95fda1c1b20214
f37fd95f744cd703cf7125d0d390690fd72c443d
refs/heads/master
2022-12-30T11:11:12.465757
2020-10-22T15:41:33
2020-10-22T15:41:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
from .exceptions import DatasetPointError def pack(d: dict): """ Reformats a dictionary into a fluid.dataset~ Two things need to be true for this to work - The keys are max compatible symbols for datasets - The values in the python dict are flat and can be unpacked with a single iterator """ ...
[ "jamesbradbury93@gmail.com" ]
jamesbradbury93@gmail.com
6a74c2405ff8cb911a6c7988656671ba8bbfff7a
2634c4a0621d865e61f59b11102172a670bc241e
/agencija/nekretnine/migrations/0019_objekat_construction_year.py
060304aa1efc915e5522650f0d46976eb294f44d
[]
no_license
danijelap/global
d4d2a6bffe6af318d8b4a7dac20fb2fb14c61e2c
643b318da4e54fc92aed068df240144fe84dc0ae
refs/heads/master
2021-01-01T18:54:49.405125
2015-11-13T22:08:25
2015-11-13T22:08:25
23,630,125
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('nekretnine', '0018_auto_20150627_1122'), ] operations = [ migrations.AddField( model_name='objekat', ...
[ "dprokic@gmail.com" ]
dprokic@gmail.com
e0864387271e4c2b6c1d284724b0f5f7c123750c
ebd0106f9aa022985b102e2e2125ace9413708e1
/Part 1 - Data Preprocessing/data_preprocessing_total.py
29a4f3df69537dadc28ac681d87fd2c60df1f789
[]
no_license
issei-harada/Machine-Learning-
7ca34d85e1036b4731d3c67c7f0ca7882569d93e
e9dc8e8b7cbcbae8476203a0280e57a73c2d225f
refs/heads/master
2020-04-22T18:27:19.272244
2019-04-11T13:10:31
2019-04-11T13:10:31
170,577,508
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
# Data Preprocessing Template # Importing the libraries import numpy as np import pandas as pd import matplotlib.pyplot as plt # Importing the dataset dataset = pd.read_csv('Data.csv') X = dataset.iloc[:, :-1].values y = dataset.iloc[:, -1].values # Splitting the dataset into the Training set and Test set from sklear...
[ "noreply@github.com" ]
noreply@github.com
d23e874e9eabdc1c03da429ff5ce34651f8bdb90
369f8d32824677082567ef4434332646f7669639
/textcontrol.py
3052bceef0d0c2c057a29980b3e7987c80ee56c5
[]
no_license
jakeparmstrong/pythonEdu
c4a530cfdc2f36f24df6ca7b3d7272ebf610769e
4e056f0e57517f81b11e31fd061bd442513494bf
refs/heads/master
2020-03-28T14:53:40.692022
2018-09-14T17:39:42
2018-09-14T17:39:42
148,533,767
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
import blinkt import time import random def colourset(): global red global green global blue red = random.randint(0,255) green = random.randint(0,255) blue = random.randint(0,255) blinkt.set_brightness(0.1) sihd = input("Enter seed: ") random.seed(sihd) colourset() #def cont lNum = 1 while ...
[ "jacob.armstrong@windriver.com" ]
jacob.armstrong@windriver.com
6d78cb4e690e54c41470accfc57a37d54d557d9b
7002919119e429faac734099bb18d75047e49673
/data/course/migrations/0002_auto_20201012_1724.py
7a34d9c9167def4aad8410dc81a0960926d33509
[]
no_license
Polydelta-ai/competency_model_prototype
47f86353a4157f68f8e3a6fd961223bd81fa3c23
8162ec6df5679143e3f3165a3779c1619f9c925f
refs/heads/main
2022-12-30T19:21:41.044344
2020-10-14T11:09:37
2020-10-14T11:09:37
301,813,276
1
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
# Generated by Django 3.0 on 2020-10-12 21:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='course', name='groups', ), ...
[ "adrian@webb.sh" ]
adrian@webb.sh
75ad74f6d506bc120e99ee767e0028402f3c0bfa
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/elf/ElfStringTable.pyi
eb2f888abcb4090c19e2aa10f46f1b875549534a
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
3,508
pyi
import ghidra.app.util.bin import ghidra.app.util.bin.format import ghidra.app.util.bin.format.elf import ghidra.program.model.data import java.lang class ElfStringTable(object, ghidra.app.util.bin.format.elf.ElfFileSection): ASCII: ghidra.program.model.data.DataType = char BYTE: ghidra.program.model.data.Dat...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
38034d4b43825b5827ae3ba091d989e80b8d13c5
31897bfcff4f3ecd8ed5d97510c4bd4ed5f3ef46
/bit_manipulation/binary_or_operator.py
7bf40f49decdaee95dcab8013857f5795bab268c
[ "MIT" ]
permissive
julianhasse/python-algorithms
41d46d980c766e054e07f830f19fab1d4838a97a
91c0311902e72606fdc29ce1bc37169c687e7d1a
refs/heads/main
2023-09-02T21:22:35.966232
2021-11-18T17:56:30
2021-11-18T17:56:30
429,528,074
0
0
null
null
null
null
UTF-8
Python
false
false
1,414
py
# https://www.tutorialspoint.com/python3/bitwise_operators_example.htm def binary_or(a: int, b: int) -> str: """ Take in 2 integers, convert them to binary, and return a binary number that is the result of a binary or operation on the integers provided. >>> binary_or(25, 32) '0b111001' >>> bi...
[ "info@julianhasse.com" ]
info@julianhasse.com
6c79212a30c69958ae37d23991a6e182ee77d62b
fc6db85c250c411e614828a9e1d795c052b41f60
/src/content_provider_fuzzing/deencoders/json_decoder.py
33c42dfa989932484c804aea94fb07a61e1b2cf8
[]
no_license
abdawoud/Dynamo
8efe3f8649498d11458bee8fe1bd19b57c1b26b1
fe40d8077a1c5df714f958376b692b1bdfad71bf
refs/heads/main
2023-06-23T05:04:16.003864
2023-06-12T09:14:48
2023-06-12T09:14:48
312,528,265
28
5
null
2021-04-12T10:07:17
2020-11-13T09:18:37
Python
UTF-8
Python
false
false
1,826
py
import json from typing import Dict from src.content_provider_fuzzing.deencoders.apis.call_api_deencoder import CallApiDeEncoder from src.content_provider_fuzzing.deencoders.apis.delete_api_deencoder import DeleteApiDeEncoder from src.content_provider_fuzzing.deencoders.apis.insert_api_deencoder import InsertApiDeEnco...
[ "parthipan.ramesh@cispa.saarland" ]
parthipan.ramesh@cispa.saarland
637f4cdda3088cd51fe58b0ba3e2a3319a5153f6
10f88b34a19c1493a34f6e878acceab5691d29cf
/mysite/mysite/settings.py
fafbb1c53ed4555e7d97bcc80a4fa8511632ee77
[]
no_license
Hetklif/my-first-blog1
01711f34f4846cc5c735919b78df9c89cce733d2
65036d4cb1293bb4be1d75e545b92a7f4fc74596
refs/heads/master
2020-04-02T06:41:33.319689
2018-10-31T14:38:02
2018-10-31T14:38:02
154,163,703
0
0
null
null
null
null
UTF-8
Python
false
false
3,097
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.11.16. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "denis10.ru@mail.ru" ]
denis10.ru@mail.ru
b082b3c7ad5a4453378668650eaa7575368881ca
bbbc0e8660cf32334ff5156d974c59e9936b5fa2
/aliyun-python-sdk-workbench-inner/aliyunsdkworkbench_inner/request/v20210121/InnerGetSolutionRequest.py
d5c15d8ea09248a0672e2c3c739550bddb972c1d
[ "Apache-2.0" ]
permissive
stevenQiang/aliyun-openapi-python-sdk
a201062ec1df0df44e4f540e1ae11ef35ce5eb12
a7e33abb4af88674be42d45db821a173c3a9dc60
refs/heads/master
2023-06-21T07:29:18.142415
2021-07-13T07:52:54
2021-07-13T07:52:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,514
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
cea8c224866762cf273604c47dbc87de6565910e
bb1be75786182b0bb32fef3fa714a23dbc43dfcb
/examples/dummy_plugin/dummy_plugin/filters.py
ad742422974f82303695c856784b6f537559778c
[ "Apache-2.0" ]
permissive
hellerve/nautobot
ebe6434886af7690f065a04aa942f98d26b458aa
d441b2d92415bd3122fe86ea21544d0acd98e95a
refs/heads/main
2023-08-15T12:32:33.664162
2021-08-05T15:01:21
2021-08-05T15:01:21
393,108,739
1
0
Apache-2.0
2021-08-05T16:27:42
2021-08-05T16:27:41
null
UTF-8
Python
false
false
658
py
import django_filters from django.db.models import Q from nautobot.utilities.filters import BaseFilterSet from dummy_plugin.models import DummyModel class DummyModelFilterSet(BaseFilterSet): """API filter for filtering dummy model objects.""" q = django_filters.CharFilter( method="search", ...
[ "noreply@github.com" ]
noreply@github.com
b7044d0662504d59b77b29979428fa9a0beec204
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Tensorflow_Pandas_Numpy/source3.6/tensorflow/contrib/rnn/python/ops/gru_ops.py
75536e3f5f8cbe44231f19d4d455537e654f7a08
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
7,762
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
3dabd504782ff4792558612431a1c347e12dcf99
205a01bcf92099a7941e4c3444d869b1ae92961e
/mod/imageloader.py
b1caf31f4b7708a15cb69907816b6e0b34894e17
[ "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
DarkKirb/poyobot-old
d22d5759a9eaca3c65ff36a5fc3728e2bf5d555c
2b0a7d7dc57bd09a5dd91f863de7003abcef38bd
refs/heads/master
2021-09-15T10:31:37.974148
2018-05-30T16:57:59
2018-05-30T16:57:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,554
py
"""This module is a library module that makes modules able to take images from certain sources, like for example embeds, uploads, links and channel history""" from utils import Cog import discord import aiohttp from PIL import Image import io __author__ = "Dark Kirb" __license__ = "BSD-2clause" __website__ = \ "h...
[ "darkkirb@gmail.com" ]
darkkirb@gmail.com
d3d4ebf26271074765aec8135bf24c7a705a1c09
fdd8e908cb75e3b7c96b4a609e75e536c225e4eb
/07032019/xd.py
86c87ba9386d1c427957d8b0b1d60f7e00a225b7
[]
no_license
edgeworthZ/first_year_log
bbaef850a1ccb2a0e3da63461aefc23bf4de19c8
fba2ecf8c0b1a825f1f77b069a2063ce02880394
refs/heads/master
2022-03-06T03:49:47.072042
2019-10-28T13:11:36
2019-10-28T13:11:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
a = 1 b = 0 n = int(input('Enter n: ')) if(n <= 1): print(1) else: for i in range(2,n+1): tmp = a a = a+b b = tmp print(a) print(a)
[ "noreply@github.com" ]
noreply@github.com
7a1b5c254f2039f7688e3d63b249d583379fc3a5
00024bbfef2e06c3bb93b55a91d443fea08d7ae9
/stones.py
a8ed84482f7cd804dd3f9eba0a6870e15b41707e
[]
no_license
hasanseam/CookingFuture
5b40fef2194198551199978495a23a0df34269b4
8248d8915e9b13f6fe40f77b6ea029e29546323d
refs/heads/master
2022-04-27T01:22:44.365011
2020-04-28T13:22:19
2020-04-28T13:22:19
248,551,787
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
testCase = int(input()) def split(word): return list(word) def getResult(jewels,stones): result = 0 for i in range(len(stones)): if stones[i] in jewels: result +=1 return result for i in range(testCase): jewels = input() stones = input() jewels = split(jewels) ...
[ "hasanseam37@gmail.com" ]
hasanseam37@gmail.com
ad4b2dc8435b7049cde996a489f1a5cd634e4b65
61050d0d7f0c0a60474e4e85d30be4e5ea7c6b04
/vnf/scripting/itask.py
7ce7e28ed7a4fa2376510dad889f520aecf393de
[]
no_license
danse-inelastic/vnf
8173f06f32b4a2fa2b71fddfe0fecf9c19e05e9a
be989448577f14f424aca4ce852c7198304ca57b
refs/heads/master
2021-01-22T01:06:00.294100
2015-05-02T23:25:45
2015-05-02T23:25:45
34,947,878
1
1
null
null
null
null
UTF-8
Python
false
false
1,037
py
# -*- Python -*- # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Jiao Lin # California Institute of Technology # (C) 2006-2011 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
32e255b02a850c3797fb6ce4ce7aaf522117092a
61bc31419d212e9be092e4b8f25c86126023b1bf
/main.py
69bfe62d27a639f241de78013b655a034d75df48
[]
no_license
jmosbacher/SRMControl
9054981de22cce4158c4d9da5083064e5cb43646
08738eb07035def95dbd3da75e7d4f0df07614d9
refs/heads/master
2020-03-23T15:01:42.449894
2019-03-01T13:05:19
2019-03-01T13:05:19
141,715,681
1
1
null
null
null
null
UTF-8
Python
false
false
8,762
py
from traits.api import * from traitsui.api import * import os import cfg from devices import BaseDevice from experiments import BaseExperiment from manual_controls import BaseManualControl from global_states import BaseGlobalState from saving import CanSaveMixin, SaveHandler from microscopes import SuperResolutionMicro...
[ "joe.mosbacher@gmail.com" ]
joe.mosbacher@gmail.com
a816c19fa5b5172bfd44052eb8567f8d8c3dcda0
a74ac4077f24bc850d62a91a5db2cd6230b6c7b2
/selenium_test/login.py
57f1b95700331703faefca4c655c51bedc5123ce
[]
no_license
TobiasDing/auto_test
7cd5d3d3eadd2b7d5e64c38ef4f63ad1560e513c
eb05ade5338214a21817caff2f7729c8a51a1790
refs/heads/master
2022-12-22T19:28:07.861448
2020-09-26T14:07:51
2020-09-26T14:07:51
298,827,295
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
from selenium import webdriver import time url = 'https://www.douban.com/' driver = webdriver.Chrome() driver.get(url) driver.switch_to.frame(driver.find_elements_by_tag_name("iframe")[0]) time.sleep(2) login = driver.find_element_by_class_name('account-tab-account') login.click() time.sleep(1) # name_login = driver.f...
[ "dingweiqi@DingweiqideMac-mini.local" ]
dingweiqi@DingweiqideMac-mini.local
9eab2697aa461aa64c7d4d36bb6a56ea7a48521d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_brands.py
764cf25e586cb39ea7275ee9a182cbf0ea77c8e2
[ "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
218
py
#calss header class _BRANDS(): def __init__(self,): self.name = "BRANDS" self.definitions = brand self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['brand']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f953387192ad4b6709f38021023a8739e849e939
3ed70536d4d06b2ac43b64976ddc43a5d7025b31
/uri2253.py
06119c5d13870da281433a9120affdffd464344a
[]
no_license
LuisHenrique01/Questoes_URI
7f1d397e3cd055349939184603eb86cb4bf43d65
35c8e77eb7cd9da96df4268b5d71f3ad87446c89
refs/heads/master
2020-07-22T08:12:12.700484
2020-04-12T17:39:29
2020-04-12T17:39:29
207,126,339
3
0
null
null
null
null
UTF-8
Python
false
false
924
py
def main(): while True: try: senha = input() num = False ma = False mi = False eh_l = True if len(senha) < 6 or len(senha) > 32: print('Senha invalida.') else: for i in range(len(senha)): ...
[ "luizbueno1201@gmail.com" ]
luizbueno1201@gmail.com
c597f6e8d424b52d5b5490852d3c73d4fa802c6c
de2cc7050f7dd5053ef8eb59d1fb1464c26fef6c
/14.py
a40b69aa71c1e6673c2b96fafa046850d63eb5c9
[]
no_license
Den44/MDS
e37870eaa21b6538ce1e95d754f25f10d26b0458
40a310e0d80280d5642160cda29a4b15eef9563f
refs/heads/master
2020-03-21T03:32:02.145214
2018-06-20T16:38:03
2018-06-20T16:38:03
138,059,246
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
import datetime def printTimeStamp(name): print("Марчик Денис: " + name) print("Час компіляції: " + str(datetime.datetime.now()))
[ "noreply@github.com" ]
noreply@github.com
03a2f87742c090a4613bd15f441906eeb005ebc0
3be717f7de91b0aa21b5b9ecfade199d6a03497d
/superset/reports/models.py
a13ded622374365b28b954a443ca585e6d260d65
[ "Apache-2.0", "OFL-1.1" ]
permissive
PartyCo/superset
c447854a3bb6d7896ae328a66b092f01d37315ac
341b8d41c5ba15c3617a61a92779b670c4ece43d
refs/heads/master
2023-08-31T11:01:02.722862
2023-07-21T00:24:35
2023-07-21T00:24:35
341,836,235
0
0
Apache-2.0
2023-07-21T19:42:29
2021-02-24T08:50:47
TypeScript
UTF-8
Python
false
false
7,140
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...
[ "noreply@github.com" ]
noreply@github.com
410aefd86f11913bec8ddea1c05f6bca9dbc6a24
c10edd3fa877232f9a28327d4cfd4a4c0675181a
/pictures.py
0f071a5a6fb505a842dbdefef381660dc9358c58
[]
no_license
itay951/last_project
b97d7ec5948f5e4b23a68cced90b84ee8f82d17e
4aee3e788d7db6cbdae9a0d8bed4011e7d52d107
refs/heads/master
2020-11-27T13:35:08.178098
2020-05-31T09:36:32
2020-05-31T09:36:32
229,464,266
0
0
null
2020-05-30T20:00:44
2019-12-21T18:00:24
Python
UTF-8
Python
false
false
20,381
py
import pygame import ctypes import os from List_Object import * pygame.init() user32 = ctypes.windll.user32 place_win = (0, 30) os.environ['SDL_VIDEO_WINDOW_POS'] = "%d,%d" % place_win class pictures: # colors Black = (0, 0, 0) Grey = (211, 211, 211) White = (255, 255, 255) # sc...
[ "noreply@github.com" ]
noreply@github.com
7b47149e87427e02f6a86782933a5567b38085b9
adc816688421032d4defa733ca5cb6e80f4ef6d3
/main.py
703dbffd33a607e4a311fa6f6f65a480e621d68e
[]
no_license
khmrmtl/Breakout-game
39c3c6f6b5fbbc09408f2d2d4ec6da4277e77240
7c7404b1e799735bfaabb2d7acf8cd9b810af774
refs/heads/master
2023-08-29T22:13:13.466834
2021-11-09T12:42:22
2021-11-09T12:42:22
426,224,503
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
from turtle import Screen, Turtle from paddle import Paddle from ball import Ball from block_manager import BlockManager import time screen = Screen() screen.bgcolor("black") screen.setup(width=800, height=800) screen.title("Pong") screen.tracer(0) screen.listen() def start_game(): screen.resetscreen() padd...
[ "motalkhmer@gmail.com" ]
motalkhmer@gmail.com
2fff95ad35d4750c0f252bec287ab1350c4b2898
7b9e281227bdca23be66c4ebe710dc9b9c754924
/2sum.py
3ff095336bcf1658a3ece602b3139d71429de07d
[]
no_license
sdamico23/Rosalind
8166f8c3f7c06f66941d6fb5af159ab7f2f91367
c2f6a8f5a5e8476d2cd5ef5cdeee2abd2945796a
refs/heads/master
2022-07-18T20:20:08.246294
2020-05-21T14:18:24
2020-05-21T14:18:24
265,867,091
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
def get_edge(inputFile): edge = inputFile.readline() edge = edge.split() u = int(edge[0]) v = int(edge[1]) return (u, v) inputFile = open('rosalind_2sum.txt') numArr, arrLen = get_edge(inputFile) def twoSum(numArr): outputString = "" for i in range(numArr): list1 = i...
[ "noreply@github.com" ]
noreply@github.com