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
93f4d1f71ff5a8ed707ce9c378c1dda19e38c177
c7a6c08fe9e84d1e5d4f11add95d2db4c1f8e9b6
/CMtest/wsgi.py
2d52eb8a2bab06dab0cc1b53c367f241ce8db33d
[]
no_license
xsnx/CM-test
aa3a0686180ff71309f4a03176a59d8092cdb178
5c3f73976452eab7d22dbb06eb675c9a8e693ef4
refs/heads/main
2023-03-05T16:40:23.123897
2021-02-23T10:31:03
2021-02-23T10:31:03
341,462,424
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for CMtest project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "xsnx00@gmail.com" ]
xsnx00@gmail.com
3cadbe72c8bcd386865ea4e7d16db39381ee0017
c96209b660a3df4488a534b6fec33f95ea684021
/Code/Qiskit-Env/venv/bin/wheel
74fcaca40a97ebbab4f739bb79b4a453949850a2
[]
no_license
ayush0624/QIGA2-Tuned
2f06eb52f6203c4203facdcf552749e567ec4aa6
924928d6d4532d9456cb883903e25b4e05ea70a4
refs/heads/master
2021-06-13T15:58:50.120295
2021-02-02T17:36:00
2021-02-02T17:36:00
131,007,971
0
1
null
null
null
null
UTF-8
Python
false
false
260
#!/Users/AyushHariharan/PycharmProjects/Qiskit/venv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "31373700+ayush0624@users.noreply.github.com" ]
31373700+ayush0624@users.noreply.github.com
923a5a7b91a896e3ef14340744cc18e1608dd7b2
7e97e2546fe6ea00102414d319ee4d3c9264161c
/digit_classifier.py
e1305e35fb09fb24d6952ff3ed04b48f80d2499a
[]
no_license
kochjohannes/digit_classifier
f49ee68bec91731d4ef11112d274f0e253e52e29
4b2985672189bce55fa7ecee3da94f4884f080dc
refs/heads/master
2021-05-05T12:58:17.444391
2018-01-22T08:28:20
2018-01-22T08:28:20
118,347,803
1
0
null
null
null
null
UTF-8
Python
false
false
7,403
py
from PIL import Image as PImage import PIL.ImageOps import numpy as np import sys import seaborn as sns import matplotlib.pyplot as plt import pickle #This python script attempts to classify hand-written digits in photos. The classification is done using #a SVM (Support Vector Machine) which was trained on the MNIST ...
[ "noreply@github.com" ]
noreply@github.com
568c4ab269b823e162a8355b9b5702b9958cc630
dd5d7e549cbe8ff3d5e0d9bfc022eb40371643d1
/test_runner.py
5d5868aff7b7fcfe958662415970884ed5ff99df
[]
no_license
marksmerchek/cardgame
61645f0244f727b0bff2a874c006192a3bd97115
1efca55725539d90aef172de40a0505d21348ef1
refs/heads/main
2023-01-31T09:31:29.712987
2020-12-20T15:08:01
2020-12-20T15:08:01
323,080,262
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
#!/usr/bin/env python3 import unittest from tests import test_hand, test_deck, test_player, test_card if __name__ == '__main__': suite = unittest.TestSuite() suite.addTest(test_card.CardTestCase()) suite.addTest(test_deck.DeckTestCase()) suite.addTest(test_hand.HandTestCase()) suite.ad...
[ "noreply@github.com" ]
noreply@github.com
3c0a1523f2507ba8bb60cd4470284c90438ca995
e84e19c5d52f511ae280bb02d2febb8e0650a116
/code23_debug.py
3c67ebf1a514a6dd0949dcacb8799efbef50fb58
[]
no_license
AlJamilSuvo/LeetCode
2e3afe0c588d003aa15ea3eb08a8d2ca381c35dd
9ad26f2974ad4a41a9654a5564fe1ad27ae2463c
refs/heads/master
2022-03-15T15:43:21.826485
2022-03-04T20:40:50
2022-03-04T20:40:50
174,458,244
1
0
null
null
null
null
UTF-8
Python
false
false
1,955
py
class Solution(object): def mergeKLists(self, lists): finalList=ListNode(-10000) current=finalList while True: minList=None index=0 for i in range(len(lists)): lst=lists[i] if lst==None: continu...
[ "aljamilsuvo@gmail.com" ]
aljamilsuvo@gmail.com
52c33af4f61224a1a25c25d2c40ae273c0f75f5a
93c734a295ede8b284cdcdf5467ba162fbfcd2ba
/pyslmpclient/const.py
f2263c492e404e588915af80911d03843c1c1674
[ "BSD-3-Clause" ]
permissive
sakharin/PySLMPClient
7c91cf99a0313d2c39767b51a1561d08e4e975b3
d583e8ca5637bbb606a21a9efeef8adbf7a95801
refs/heads/master
2023-04-16T03:37:50.141958
2021-04-28T07:51:49
2021-04-28T07:51:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,767
py
#!/usr/bin/python # -*- coding: utf-8 -*- import enum class SLMPCommand(enum.Enum): Device_Read = 0x0401 Device_Write = 0x1401 Device_ReadRandom = 0x0403 Device_WriteRandom = 0x1402 Device_EntryMonitorDevice = 0x0801 Device_ExecuteMonitor = 0x0802 Device_ReadBlock = 0x0406 Device_Writ...
[ "masahase@gmail.com" ]
masahase@gmail.com
3e9003d1840d7e0214cfb609ef38ac62e0ef0d1d
a6c01fae2255037632f23be0d63167031d3024ce
/Controller/ClienteCTR.py
924cdd6face839cf271b8050116b7ff176d9c9fa
[]
no_license
ElbertRibeiro/locadora-veiculos
627f1e9832803573c5f212ebaa5324226d9d2421
16c3cb6a0e73e3da3e51e53ef0ae42155a293a7e
refs/heads/main
2023-06-25T23:37:14.087981
2021-07-28T23:23:39
2021-07-28T23:23:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
from Model.DTO.ClienteDTO import ClienteDTO from Model.DAO.ClienteDAO import ClienteDAO class ClienteCTR: def CadastrarCliente(nome, CPF, endereco, email, telefone): clienteDTO = ClienteDTO clienteDTO.Nome = nome clienteDTO.CPF = CPF clienteDTO.Endereco = endereco clienteDTO...
[ "elbertprofissional@gmail.com" ]
elbertprofissional@gmail.com
a8f6da07591b1130f0475254d8b508164e3afe18
d063fbc0dda96bd801d9f1befbf8e379760384a5
/pileupfilereader/pileupnotationreader.py
f962e9f67e882fe0a18d5b89aa1b3ede29849c34
[]
no_license
lvn3668/pileupnotationvariantcaller
6ca6c9035341c9d7470968b00c73c4e3c1d3d093
b587483294d65f3fed7f4eb660c021cd37b02cec
refs/heads/main
2023-08-19T22:28:40.527812
2021-10-23T02:00:54
2021-10-23T02:00:54
415,593,997
1
0
null
null
null
null
UTF-8
Python
false
false
3,923
py
import os # sequence id , 1 based coordinate, reference base, number of reads covering that base, # , / . matching positive / negative strand # ATGCN mismatch on fwd strand # atgcn mismatch on rev strand # # If this is the first position covered by the read, # a “^” character followed by the alignment's mapping qual...
[ "lalitha.viswanathan79@gmail.com" ]
lalitha.viswanathan79@gmail.com
27126fdd2539b5a5bd8f8a678dcd4f4f3ed19d3f
7ff0386a9fde833339ab449a83174b2a225722c0
/structures/Revision.py
83af42dffd52b8dbf2550d4bff5653a614bdae10
[ "MIT" ]
permissive
wikiwho/whovis
3646845addeba20686a26c2640cc5354a522ec1c
bc1dd57deb3c6440a57ef034e7a5861831b112fe
refs/heads/master
2021-01-23T22:15:21.022943
2018-04-30T16:02:56
2018-04-30T16:02:56
29,799,585
3
3
null
null
null
null
UTF-8
Python
false
false
1,839
py
''' Created on Feb 20, 2013 @author: maribelacosta ''' class Revision(object): ''' classdocs ''' def __init__(self): self.id = 0 # Fake sequential id. Starts in 0. self.wikipedia_id = 0 # Wikipedia revision id. self.contributor_id = 0; # Id of the ...
[ "maribelacosta@Maribels-MacBook-Pro.local" ]
maribelacosta@Maribels-MacBook-Pro.local
e74bf718f9350dba6ccefa7c8122a8fa90583f18
c9c75ceddd8acd42c4c08a53734e2ac8a2ec74de
/cog.py
1734f25a961f18ff591382610d6f3bcbbcf9f889
[]
no_license
hzafeng/COG
3aa6c91b5070a6bc8b60ee1d2a02751f50f6f4dc
c129bab4a6e8ffae1f3df77f3c1268d35e8c6c30
refs/heads/master
2019-07-01T19:04:20.610748
2018-01-02T11:48:45
2018-01-02T11:48:45
102,475,163
0
0
null
null
null
null
UTF-8
Python
false
false
5,138
py
import os import re import math from scipy import stats import argparse from string import ascii_letters import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt what_i_do = "a script to annotate A list of Genomes with COG database" parser = argparse.ArgumentParser(descrip...
[ "noreply@github.com" ]
noreply@github.com
7e39086a74ae32265aa3a1462885eb871b792cdd
b0e08837495fb2b9bca91ad66f353a0baac71416
/app/dashapp1/callbacks.py
0983d1cceb695e642d6d556122af7a8223c73090
[ "MIT" ]
permissive
cpud/youtube_viz
7ea24d6f6666bef11666d4d833269b03c87d14e2
078994f9ccc33b0ccb9bad3e76ed1e916eb1fc77
refs/heads/main
2023-04-14T18:26:02.795338
2021-04-18T20:59:55
2021-04-18T20:59:55
354,966,445
0
0
null
null
null
null
UTF-8
Python
false
false
2,298
py
from datetime import datetime import os import pandas as pd from dash.dependencies import Input, Output, State import dash_html_components as html from .make_tree import make_plot, make_df #from dash.dependencies import Output #videos = pd.read_csv("data/sy.csv") def register_callbacks(dashapp): @dashapp.callbac...
[ "noreply@github.com" ]
noreply@github.com
a1c419a4ea54808ce0ac1b831c5c5410708662a8
2a61b02c26e77686e38cd9039e6f4b0530ddb7c9
/bitbots_vision/bitbots_vision/src/bitbots_vision/vision_modules/candidate.py
2521adb2f70962a74456ac626dc0dddf939fe016
[ "MIT" ]
permissive
fly-pigTH/bitbots_thmos_meta
931413e86929751024013b8e35f87b799243e22c
f45ccc362dc689b69027be5b0d000d2a08580de4
refs/heads/master
2023-08-27T02:58:08.397650
2021-10-22T17:17:11
2021-10-22T17:17:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,123
py
import abc import rospy class Candidate: """ A :class:`.Candidate` is a representation of an arbitrary object in an image. It is very similar to bounding boxes but with an additional rating. This class provides several getters for different properties of the candidate. """ def __init__(self, ...
[ "759074800@qq.com" ]
759074800@qq.com
1259bceb5974460819e2be54e7535a7623bb90eb
5dbb8361b24bda6a0957ded08fb59b34f9e0a670
/7th_sem/data.py
2035b87a13f96e690ad6065404a9180b3b46557f
[]
no_license
ranjanproject/BTP
24b2624282ea0689774453374013e02653168744
4f3970dcdade1792daf762302a3015d4623ea8cc
refs/heads/master
2020-04-26T18:00:51.061036
2019-03-04T11:28:39
2019-03-04T11:28:39
173,731,811
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D df = pd.read_csv("fort.txt",header=None) data = df.values X =[] for i in range(1,len(data)): X.append(data[i][0].split()) X = np.array(X); Z = X[:,2] X = np.delete(X,2,1) X = X.astype(np.float) Z = Z.astyp...
[ "pratikranjaniitg101@gmail.com" ]
pratikranjaniitg101@gmail.com
6f16803ad8054469cff2091212206f8b087687f3
137a4de8f0318f8767d1093cbbe4757674e719af
/2022/23.py
4a37e43079291c5f6651455f4cea24b35f20ca08
[]
no_license
fridokus/advent-of-code
a93b84c6feca01e46c6f3580201bfeb454f89cd3
b254e1f49c54983bcdbc82e1e27e6198e06b4efc
refs/heads/master
2023-01-20T08:47:14.477054
2023-01-13T09:17:16
2023-01-13T09:17:16
226,941,928
9
4
null
2020-12-05T17:16:18
2019-12-09T18:41:24
Python
UTF-8
Python
false
false
1,780
py
#!/usr/bin/python3 with open('23.in') as f: scan = f.read().splitlines() elves = [] # list of elf = [(pos x y), (proposal)] positions = set() for j in range(len(scan)): for i in range(len(scan[0])): if scan[j][i] == '#': elves.append([(i, j), (i, j)]) positions |= {(i, j)} dir...
[ "raxomukus@gmail.com" ]
raxomukus@gmail.com
132252c650df2d0f3e659321072f0d9295a319b8
cde5715785bd6c6d60a3d8e9a0235b1035279058
/venv/bin/easy_install-3.6
4871fc1ff2ee64b365926707aba0da5ee8e8a63b
[]
no_license
ikpune/parking_assistant
095a097190c0ee54c7f8b3cdf23850dcc66da3b3
d2b127048d562768a4173bd78c32a896b7ea919c
refs/heads/master
2021-06-22T11:53:02.755389
2019-10-16T08:41:21
2019-10-16T08:41:21
215,462,740
0
0
null
2021-05-06T19:44:05
2019-10-16T05:17:07
Python
UTF-8
Python
false
false
455
6
#!/home/imran/Imran/my_work/parking_assistant/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\...
[ "ikpune@gmail.com" ]
ikpune@gmail.com
9ec5ca1c68f2f64948a06e76b913d774cedacfea
c62e0eb9e244588f54689eb28c5fe3ca900197e8
/batch.py
c4f861618a3380517039de1f37480d9d46b44070
[ "MIT" ]
permissive
cmiranda16PonceHealthSciencesUniversity/covizu
57a5ff0be6c8e398e69546d4e8b67f07610fb476
ed13db6674a1ce8a24d751997ba67bf55f0e25da
refs/heads/master
2023-04-11T22:31:57.352333
2021-04-14T19:57:38
2021-04-14T19:57:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,439
py
import argparse import os import sys import json from datetime import datetime import covizu from covizu.utils import gisaid_utils from covizu.utils.progress_utils import Callback from covizu.utils.batch_utils import * from covizu.utils.seq_utils import SC2Locator from tempfile import NamedTemporaryFile def parse_ar...
[ "artpoon@gmail.com" ]
artpoon@gmail.com
5bb2474a91304bec8b372f7f3f9219d03bece636
c34f0355bea31edb189a0eb535ba66450af83605
/Robin/randomDelete.py
4b8aba1dcfc640ce25e2f0431346f27978bf9cbd
[]
no_license
sam676/PythonPracticeProblems
0e1c1db95a107cbf56f49a3a2dfa7a5a925fee5e
1b56aad515c9bf786d2573b28734a414a34c2efe
refs/heads/master
2022-11-27T19:15:28.954182
2020-08-05T18:54:55
2020-08-05T18:54:55
58,278,543
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
""" Thanos believes that in order to balance the program, half of the elements in the list should be randomly deleted. Write an Infinity Gauntlet program that randomly deletes and returns half of the elements in the input list when Thanos bounces a finger (when running the program).(Since it is randomly deleted, th...
[ "noreply@github.com" ]
noreply@github.com
26ed6ec44be1160006e15632ac9c6f9423250349
84f47c12b5806eeff345b4753e321b30d0157c0e
/st01.Python기초/py12리스트/py12_ex03_반평균.py.py
48559e79cad41f8498682d03392d190c2891e3a7
[]
no_license
tnqls1002gh/2020python
89ce7f7c3cebb1841a62b936b76c0557193041c9
55fd05ac1242a579b411869ebcf3b6101502268f
refs/heads/master
2021-01-01T10:57:24.645952
2020-03-15T09:10:15
2020-03-15T09:10:15
239,247,763
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
# 1. List 만들기. # 2. 학생수 입력 받기. 최소 3명이상 # 3. 학생 성적 입력 받기. 몇번 입력받아야 하는가? # 4. list에 입력 받은 학생 성적을 추가한다. # 5. 3번 학생의 성적을 100점으로 바꾸시오. # 6. list에서 마지막 학생 삭제. # 7. list에서 0번 값을 출력하시오. # 8. 평균을 구하고 출력. A = [] count = 0 a = int(input("학생수입력:")) while a > count: b = int(input("성적입력:")) A.append(b) count = count + ...
[ "saudisaudi@asd.com" ]
saudisaudi@asd.com
6980eb56ba74e71b056b4521f24b15403278db45
e67df516ce91ba63fa20fe6c607ef7d6f60a534e
/M17A3.py
e99bf307191a03f6dcc0ad2fc35ebcfe9fb822a5
[]
no_license
chinglamchoi/CompetitiveProgramming
6e10605248dcd4e0130f8a55257cef1812d12a50
5d57d2b868599da2b9f055b0b6d0d2b28ce34b9f
refs/heads/master
2021-03-21T16:04:39.443224
2020-06-17T01:18:25
2020-06-17T01:18:25
247,310,174
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
a,b = input().split(" ") a,b = int(a), int(b) print(a+b|a-b)
[ "noreply@github.com" ]
noreply@github.com
fd3e48475f71d1e5527fe6259abd5f7fe2b579da
2990b0841b63f300a722107933c01c7237a7976b
/all_xuef/程序员练级+Never/Fun_Projects/Interpreter/scheme.py
22e2995f3dee21cbe13685a87e7050789c4ddbb1
[]
no_license
xuefengCrown/Files_01_xuef
8ede04751689e0495e3691fc5d8682da4d382b4d
677329b0189149cb07e7ba934612ad2b3e38ae35
refs/heads/master
2021-05-15T04:34:49.936001
2019-01-23T11:50:54
2019-01-23T11:50:54
118,802,861
1
1
null
null
null
null
UTF-8
Python
false
false
3,997
py
def tokenize(code_s): #词法分析:-->tokens return code_s.replace('(', ' ( ').replace(')', ' ) ').split() def analyze(toks): #语法分析:-->表达式树 def analyze_tok(tok): """Return the value of token if it can be analyzed as a number, or token.""" try: return int(tok) except (TypeErr...
[ "643472092@qq.com" ]
643472092@qq.com
3480902f3cac6afb4c652921fae94f44eb349a78
623b3bbb1ebf7b9c48b8b46d5e9f46865f925b5f
/scripts/test.py
192f360c7c0dc76ef6dada876ec6e5ed7a218a8c
[ "MIT" ]
permissive
iqbal-chowdhury/ACMN-Pytorch
713b14ef401c7fc9559621679bbb231dd4f82aa5
aef7722c45fa8bbe42b5b655e6350e098d723b1e
refs/heads/master
2020-03-24T12:51:07.323529
2018-07-06T01:44:50
2018-07-06T01:44:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
from tqdm import tqdm import argparse import sys, os sys.path.append(os.path.join(os.path.dirname(__file__), '../')) from vqa_lab.evaluator import AccuracyEvaluator parser = argparse.ArgumentParser(description='PyTorch resTree test ON CLEVR') parser.add_argument('--batch_size', type=int, default=64, help="training ba...
[ "bl-zorro@163.com" ]
bl-zorro@163.com
2c773e8fd596a9d13a101aab8381a083857e14bb
0bf4720c77fb583758a76a429335dca11e9e932a
/2zaynenmadrid.py
f770b4fd185ea271838241dab7009262eb92852f
[]
no_license
allinvestglobal/n8
d47b01fce15625b0497ff319b2d24566d7a5bedd
3397d7f5550a9b20fd3bad7ff15aaf8da1d6cac5
refs/heads/master
2020-08-29T11:51:19.992664
2019-11-13T19:29:10
2019-11-13T19:29:10
218,023,892
0
0
null
null
null
null
UTF-8
Python
false
false
16,434
py
from instapy_cli import client username = 'zaynenmadrid' password = '20million' image = '1.jpg' text = '' with client(username, password) as cli: cli.upload(image, text) from instapy_cli import client username = 'zaynenmadrid' password = '20million' image = '2.jpg' text = '' with client(username, pas...
[ "noreply@github.com" ]
noreply@github.com
04e82777d2c4c4a870c576cb0ff5ee4c573256dc
a86bca3e88fc3012bc9805c74c2e752262370326
/AI/current_tab_ctypes.py
510106af5fe46b20ef9f2694c844aabd7d68bc09
[ "MIT" ]
permissive
osamhack2021/AI_NoYoutube_60Duo
4921f7c838776305d8dc00d6ceb04b2190565916
c1e34b7b506b43c9be6c39da3211fac49bfbcd14
refs/heads/main
2023-08-11T19:24:45.560000
2021-10-13T15:00:38
2021-10-13T15:00:38
405,925,929
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
import time, ctypes time.sleep(3) # 타이틀을 가져오고자 하는 윈도우를 활성화 하기위해 의도적으로 3초 멈춥니다. lib = ctypes.windll.LoadLibrary('user32.dll') handle = lib.GetForegroundWindow() # 활성화된 윈도우의 핸들얻음 buffer = ctypes.create_unicode_buffer(255) # 타이틀을 저장할 버퍼 lib.GetWindowTextW(handle, buffer, ctypes.sizeof(buffer)) # 버퍼에 타이틀 저장 ...
[ "noreply@github.com" ]
noreply@github.com
c7997369f3d5777fc33e2486e19c2152522d6c30
99aaf505f9fae90731aba60fca223abaee228f68
/python/greene/quantile_normalization.py
be370b3b42fc150e1bfc9d4d9de863b4155bd30e
[]
no_license
pamd/foo
13c3c354141b456f79274787aeb3e71c1f26e56b
52ce658f3adac4aa618706d1256ead26e90ab6fe
refs/heads/master
2016-09-05T14:35:22.727306
2015-12-27T22:42:58
2015-12-27T22:42:58
31,291,416
2
1
null
null
null
null
UTF-8
Python
false
false
2,310
py
#!/usr/bin/python ''' Calculate quantile normalization, base on: https://en.wikipedia.org/wiki/Quantile_normalization ''' def quantile_normalize(input_matrx): """"This function is a wrapper that calls all the other functions to calculate an input matrix's quantile normalization. """ row = len(input_m...
[ "dhu@air.local" ]
dhu@air.local
5e25eaa15194b94c7e1c267a3fbaa3306025ff1f
29d36fa7d2a967c850cc7df6753942f5b4b9a4d6
/summary-project/myApp/migrations/0001_initial.py
17ce300db15d375ab71e9aac5e4313d782e35683
[]
no_license
rukyasu/django-test
a4a0dc95f6d935a1cf1e3446b8f443d756faf87f
55f5dc537b70aa21c97fb3385fffe6ecd2646540
refs/heads/master
2021-05-15T21:52:23.190292
2017-10-12T21:47:52
2017-10-12T21:47:52
106,612,119
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-04 21:51 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User',...
[ "hostak.lukas@gmail.com" ]
hostak.lukas@gmail.com
f62d789359a7d8c897ed7892cb87c49e19fcb0aa
7b8ee1fafb1a3ae440e21afbdcef58ff0a0cc14d
/plonker/urls.py
39fb2f901d5af2b0d4f10b338937a647b7f96799
[]
no_license
JasonMize/plonker
1c250c654b700d6dd671fe5e9ad2fde227952a63
9cf3a0f771db3121f4eeeabcf049b6169bf13c80
refs/heads/master
2021-01-12T13:31:11.931636
2016-10-18T20:05:01
2016-10-18T20:05:01
69,370,161
1
0
null
null
null
null
UTF-8
Python
false
false
902
py
"""plonker URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "jasonemize@gmail.com" ]
jasonemize@gmail.com
d10b2a9b41e0598ff8763a1746941d17e8fd275d
0a01e4cfbf02ef794cacf5a9103eef7b144f0f18
/daniel_1121/settings.py
a1f0cb615f419c3e290f309c220df641568c1c29
[]
no_license
crowdbotics-apps/daniel-1121
581c1afec62815ab635ccbfd754830f06fd8045f
8d14af971984c95c2453f30c77e34c01c39e9005
refs/heads/master
2022-12-12T09:18:36.394521
2019-02-28T20:37:16
2019-02-28T20:37:16
173,183,600
0
0
null
2022-12-08T01:42:20
2019-02-28T20:36:21
Python
UTF-8
Python
false
false
4,570
py
""" Django settings for daniel_1121 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/ """ impo...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
7b69f735832d2f15be6951497d6e70b23ffc39bd
386d744f965684248ae8da3043fc2fe2c6c1aa33
/prog1.py
c73d4d223cd55255d515950f85ce9e764aeda3ca
[]
no_license
dichlofos/small_python_progs
530566dcbbd2ce2ea8b5964cb9d744740f0227ab
476f5345eee00042c7f388ca64882b5b06340cd1
refs/heads/main
2023-04-17T08:11:12.260892
2021-04-18T22:51:06
2021-04-18T22:51:06
358,671,642
0
1
null
null
null
null
UTF-8
Python
false
false
2,511
py
import os import time # os.rename("/home/turist/Downloads/test_gpx.gpx", "/home/turist/Downloads/test_gpx.txt") with open('./test_gpx.txt', 'r') as f: #ищем строку с trkseg, следующая - начало трека point_start = -1 while point_start == -1: str_new = f.readline() print(str_new, end='') ...
[ "mvel@yandex-team.ru" ]
mvel@yandex-team.ru
f3b74596e197de3b62e4616cb347d18359ceb1dc
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/334/usersdata/302/94780/submittedfiles/listas.py
8dfcb03ca5cfcf1eaceb6d11acfe6403be9fd266
[]
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
290
py
# -*- coding: utf-8 -*- n = int(input('Digite o número de elementos da lista: ')) a = [] b = [] for i in range(0,n,1): a.append(int(input('Digite a%d: ' %(i+1)))) for i in range(0,n,1): if i < n and i != 0: b = a[i-1]-a[i] if b < 0: b = -b print(b)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
70d4ab111639b85d03ea82f2c7436045ae6708bb
7ddd1f19f088c822ff9dc56038a1b281629f918c
/radioReduction.py
db5cfa13858ef8d2a6548592f6e83b4279d98798
[]
no_license
rvanlinge/radio_project
73a6681bd07d39d257d25d988fe60ec61179041e
f43324e6e41ac0c9986a2e1150e226878e9224d7
refs/heads/master
2020-04-06T20:56:42.569523
2019-11-11T02:38:49
2019-11-11T02:38:49
157,788,179
0
0
null
null
null
null
UTF-8
Python
false
false
3,285
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt import math import glob def binning(data,sec=5,binning=5): ''' Creates a binned light curves ''' # Filters out the bad data points data = data[data['nsamp']>np.mean(data['nsamp'])-(0.5*(np.mean(data['nsamp'])))] # Tell...
[ "vanlinge.russell@gmail.com" ]
vanlinge.russell@gmail.com
bc77d10ea5e058014df19209626725ab9bdde174
62b5942773734fbd5373f4df9d9f983a3487c93c
/data.py
bb950ba4ac736e8cca7f2bbf4b0e566278817858
[]
no_license
iliassjabali/cityu-add-drop-classes
950e5e177cd9a81ebcfda59b5f94462cc6715f5a
283fd85537573635c35bb67511ecb39193d2590f
refs/heads/master
2022-03-04T01:17:44.416459
2019-11-07T08:51:39
2019-11-07T08:51:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
# coding=utf-8 import time from _datetime import datetime from dataclasses import dataclass import json info_file = "info.json" info = None login_url = "https://banweb.cityu.edu.hk/pls/PROD/twgkpswd_cityu.P_WWWLogin" username: str password: str driver = None log_file_name: str headers = { 'Accept': '*/*', ...
[ "taitocdt@gmail.com" ]
taitocdt@gmail.com
975d43e4e8606e502c7c09ea2a46a7f4eebda9e3
ba805dd91b9a736e7ac5fd8c2a8eca132c1f85b8
/console_scripts/scanDFT.py
fbac8f627301f8d06386be24c9bba2fb3a473e63
[]
no_license
aaronchen0316/squid
a1a953f3f76690c6b2c7d4e68bbdf1628a4bfe62
9c6c534268a7e002bf05902b715267a6c37395f6
refs/heads/master
2020-06-04T11:02:17.593118
2019-03-13T13:06:22
2019-03-13T13:06:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,286
py
# System imports import sys import os # Squid imports from squid import g09 from squid import orca from squid import files from squid import constants from squid import units # Plot energies def plot(yy, start_val, x_label, y_label, title, x_range, y_range, x_low=0, save=False): import ma...
[ "hherbol@gmail.com" ]
hherbol@gmail.com
e7671c52fc06f8c55b6d0740827fa5848efc6ed8
bd4bcf3684f548d127551932438094069b9f1197
/website/views.py
6d7bddd9cb9611ce4a9b065ce1c48faa640a63d0
[]
no_license
africaarise19/afriacaariseschool
2f5e94690c1dadc91526173b3f0e44156eaf1a8c
ee539bf075f7c205db54fcc7093369bf3b5e580a
refs/heads/master
2021-09-27T15:53:02.348378
2020-02-22T04:21:13
2020-02-22T04:21:13
241,099,675
0
0
null
2021-09-22T18:35:37
2020-02-17T12:15:30
HTML
UTF-8
Python
false
false
779
py
from django.shortcuts import render from django.core.mail import send_mail def home(request): return render(request, 'home.html', {}) def contact(request): if request.method == "POST": #Do something message_name = request.POST['message-name'] message_email = request.POST['message-e...
[ "kdccoalpha.github.io" ]
kdccoalpha.github.io
35e549d99b1e7bb6bdf916a8c92b8a79303bc48f
07522d530c74339963b1132121c04de5390c779e
/src/main/python/fusion.py
bf4b55b523681db00d50afbefce0f11ac44d9617
[ "Apache-2.0" ]
permissive
Alchemist75/anserini
6b537214c11c4d807aec7cbdcd66ac22074750fb
dfcc0e2d3ce03381379454feb6e5d813d810a30a
refs/heads/master
2022-08-20T18:24:05.344485
2020-05-26T02:03:43
2020-05-26T02:03:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,222
py
# -*- coding: utf-8 -*- """ Anserini: A Lucene toolkit for replicable information retrieval research 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 Unle...
[ "noreply@github.com" ]
noreply@github.com
b71e9bb79c2b24efedac532b884b5dc6d0e23cb6
57516ed4753c5c78804472f901161aecd9745404
/scikit-learn/lang_plot.py
37aacffcd51990f9e3a3c082100a5034c074e939
[]
no_license
ghfkdgml/Tensorflow
9a0764973bd6d7b8457ad728af8c940963303d7a
7654d3f95711824653207a19097ba7528b82a453
refs/heads/master
2020-06-27T21:53:23.521697
2019-10-01T06:08:59
2019-10-01T06:08:59
200,059,946
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
import matplotlib.pyplot as plt import pandas as pd import json with open("./lang/freq.json","r",encoding="utf-8") as f: freq = json.load(f) lang_dic = {} for i, lbl in enumerate(freq[0]["labels"]): fq = freq[0]["freqs"][i] if not (lbl in lang_dic): lang_dic[lbl] = fq continue for idx, ...
[ "suho1898@naver.com" ]
suho1898@naver.com
a5d5f087dff9c295833e46547aa5a1176be555e2
9f5db5f4413c4c1d948313fa46f4f0ecbcba99ef
/keyframe_format.py
2b56ed59965ae3858aba21b0fb6171a2676ccb69
[]
no_license
davidmfry/AE-Keyframe-Creator
a45aaf8a61dd196186f1ff4083400e25ec8a022c
2bd20eae5aa43602757949f9a3852072ef17bb2c
refs/heads/master
2020-05-17T13:07:59.979881
2015-05-07T15:57:09
2015-05-07T15:57:09
35,223,760
0
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
__author__ = 'david' from create_keyframes import * keyframe_boiler_plate = "Adobe After Effects 8.0 Keyframe Data" keyframe_end_line = "End of Keyframe Data" # # keyframe_list = [] # # def add_keyframe_to_list(keyframe_type): # # # # def export_keyframe_data(): # pass class Keyframe_Formatter(): units_per_s...
[ "david.fry.tv@gmail.com" ]
david.fry.tv@gmail.com
25c784e5ff8e4732e47b131445f1b4d78109918b
7b53052ed4f593d5112c48eda077dc2f7b8f8225
/wild_bills/users/tests/test_models.py
224d13c71c114a52fa9de54912999e8f2bb9e4a3
[]
no_license
luiscberrocal/wild_bills
074a63918d7980254c2f07fbf03becd78774853c
d13490765883d18b9c00249c534b5cf2fd157320
refs/heads/master
2021-05-04T08:01:23.835177
2016-10-16T14:37:46
2016-10-16T14:37:46
70,325,676
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
from django.utils.translation import activate from test_plus.test import TestCase class TestUser(TestCase): def setUp(self): self.user = self.make_user() activate('en') def test__str__(self): self.assertEqual( self.user.__str__(), 'testuser' # This is the def...
[ "luis.berrocal.1942@gmail.com" ]
luis.berrocal.1942@gmail.com
d81f70deae326dc9cf189382620a0dea39ecedc9
ace6462863a254a45791c02b692c2299a262f3ed
/data/who.py
d655e17dbb9c45d903dd5ce43f8593cc9cfc8a92
[ "Apache-2.0" ]
permissive
Cabdulahi/cadowx
4514adbd0943c95f4fe5a03a6fb26751c2419723
755e59dad4dccc4f6d366a2ae5697b0abed06797
refs/heads/master
2020-05-15T01:31:02.894311
2019-04-18T07:09:42
2019-04-18T07:09:42
182,031,672
0
0
null
null
null
null
UTF-8
Python
false
false
3,509
py
#!/usr/bin/python # coding=utf-8 #//Coded By : Cabdulahi Sharif import os,sys,time,requests import sys,time,os import income import pc import subprocess as cadow prred = ("\033[91m") green = ("\033[92m") pryellow = ("\033[93m") prLightPurple=("\033[94m") prCyan=("\033[96m") prgray = ("\033[97m") prBlack=("\033[98m") p...
[ "noreply@github.com" ]
noreply@github.com
827114899ba5faac8ec359adbe41410bb5e4197e
f5a5e2090600826a7f166773658a8d2106c544c6
/constants/horsemanconst.py
8c9ff11ff37f98ef832a85f840cc97b214f9f107
[]
no_license
Tuskub/StrategyGameOOP
585df98909e6822b6f61703a0158516e62a8e1a1
801350335e2655ae49d5684517e198f58205489c
refs/heads/master
2021-02-03T21:23:43.569081
2020-03-10T11:09:52
2020-03-10T11:09:52
243,542,666
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
HP = 200 MOVE_RANGE = 10 DAMAGE = 75
[ "56831532+Tuskub@users.noreply.github.com" ]
56831532+Tuskub@users.noreply.github.com
b756e831986be050b9b74f5824cf78a3c9db677f
d14b70b7521fae69ee4c3530d2a139f6cb31bf21
/频繁项挖掘/menzhen_dup_person.py
651668ea6745be577f645d7e3f1218fe785dc311
[]
no_license
pan060757/mif_python
37503c7c69871b1bbc513bb6c28ac8b397ccaf21
b0abf9899f7c99949d33e5cd8c8580bd79ea6340
refs/heads/master
2021-09-10T23:58:43.146579
2018-04-04T14:28:29
2018-04-04T14:28:29
113,953,509
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
#-*-coding:utf-8 -*- ''' 涉及重复收费的门诊记录 ''' from pyspark import SparkContext sc=SparkContext() #####读入存在异常的门诊记录 data=sc.textFile("file:///home/edu/songsong/python/freItem/output/menzhen_duplicate.csv") data=data.map(lambda line:line.split(','))\ .map(lambda line:(line[0],(float(line[11]),1)))\ .reduceByKey(lambd...
[ "1746064865@qq.com" ]
1746064865@qq.com
4fbf08ebfb6f577f08117398b0fc7d2860c4c655
a62adccc82ee6ef7ebd94d710b5f75056626057f
/account_tgt/wizard/__init__.py
2a1d5b3a092e2bf98311a01e7d0478867c5d573b
[]
no_license
Lunchik/openerp_custom_modules
614b2fa6ccf1aaaaa2b99210bcd72aea301079d0
b7707762d66743dad139727b3903063393f0da93
refs/heads/master
2020-05-19T13:58:50.328789
2014-12-01T10:36:39
2014-12-01T10:36:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
import account_profit_loss_report import account_balance import ar_aging import billing_report import country_rev_wiz
[ "nelia.garipova@hotmail.com" ]
nelia.garipova@hotmail.com
dd09e2dd198937faffa08b2230d4a3971081399a
0958cceb81de1c7ee74b0c436b800a1dc54dd48a
/wincewebkit/WebKitTools/Scripts/webkitpy/common/checkout/diff_parser_unittest.py
cd3d870914cd00d9d3cdcbc8659e0fde9b3d7256
[]
no_license
datadiode/WinCEWebKit
3586fac69ba7ce9efbde42250266ddbc5c920c5e
d331d103dbc58406ed610410736b59899d688632
refs/heads/master
2023-03-15T23:47:30.374484
2014-08-14T14:41:13
2014-08-14T14:41:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,917
py
# Copyright (C) 2009 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions an...
[ "achellies@163.com" ]
achellies@163.com
092bfe373b9026226163a768874b1178c1e5cd13
bcf88ba098b452619242a65d9f4c2e01b60fe029
/angrmanagement/plugins/log_human_activities/log_human_activities.py
db6d062bb6aa22ace02c1a93087e789245d2f1e8
[ "BSD-2-Clause" ]
permissive
dawnadvent/angr-management
28f742d8d08c6342c68b34e70e2f604195cf0615
988e240b14acdf2e17e00c148839ae9ea8fab0e9
refs/heads/master
2023-08-07T11:54:41.986554
2021-09-24T11:52:11
2021-09-24T11:52:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,152
py
import asyncio import logging import threading import os from time import sleep from getmac import get_mac_address as gma from tornado.platform.asyncio import AnyThreadEventLoopPolicy from angrmanagement.config import Conf import angrmanagement.ui.views as Views from ..base_plugin import BasePlugin l = logging.getLog...
[ "noreply@github.com" ]
noreply@github.com
98677381f2349ff59c4a0dfd93aca8610f1311ae
b83c7e27a6f03523fd10ec850a303d7356ed899b
/firstAttempt.py
70d7203b756f6d7341f4cee11ed1bae5d9b56207
[]
no_license
aseth99/StonkMonitor
63f884a66028f0bec4e039daef5fd15ae293f152
9b93dfa1286e695cb639b46bd0d98281f3287f1d
refs/heads/main
2023-03-07T18:35:05.892400
2021-02-18T01:07:13
2021-02-18T01:07:13
337,616,100
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
import bs4 import requests from bs4 import BeautifulSoup from urllib.request import urlopen ticker = input("what stonk you want the price of? ") url = "https://finance.yahoo.com/quote/"+ticker+"?p="+ticker+"&.tsrc=fin-srch" try: page = urlopen(url) except: print('Error opening the URL') soup = bs4.BeautifulSoup(p...
[ "aseth@ualberta.ca" ]
aseth@ualberta.ca
ffdb7b8da5e921e50cdf3f502f190c909e1b723e
3026871549eaa98611d146d9229a92002caeedd1
/po/case_list/user_manage/third_party_sta.py
5ca945e53a038d90151dae6c260cae6274eb4f6f
[]
no_license
treeytang/PDT
b76ee1315b2a36bbe7c8cf9678f47e2ead80defe
58470e0ca04dd9f89ec22cf41b225216f2b32d6b
refs/heads/master
2020-04-11T07:08:55.663857
2019-11-28T09:55:14
2019-11-28T09:55:14
161,602,511
0
0
null
null
null
null
UTF-8
Python
false
false
2,956
py
from time import sleep import unittest, random, sys,time from comm import myunit, picture from test_cases.user_manage.third_party_page import ThirdParty import HTMLTestRunner class Ticket_Query(myunit.MyTest): def user_login(self, username="", password=""): ThirdParty(self.driver).user_login(username, pa...
[ "terrytang@163.com" ]
terrytang@163.com
3474d91f1df53d1b3284ac83ec374c3631c941ab
62286f3495132b40ef081e0faeef0fd38c91e7ba
/programmes/merge.py
0497b115672f6129b96a7e3b139eaecf72f99663
[]
no_license
fali007/python
373916b8ee9ee75b380d36eb368cf402e7cf2557
d6128267d9217284de700cf5ecba9cc5770c97ec
refs/heads/master
2021-07-24T18:37:01.509921
2020-05-24T19:38:02
2020-05-24T19:38:02
178,662,132
2
0
null
null
null
null
UTF-8
Python
false
false
522
py
def merge(array): if(len(array)>1): mid=len(array)//2 left_half=array[:mid] right_half=array[mid:] merge(left_half) merge(right_half) i=0 j=0 k=0 while i<len(left_half) and j<len(right_half): if(left_half[i]>right_half[j]): array[k]=right_half[j]; j+=1 else: array[k]=left_half[i];...
[ "noreply@github.com" ]
noreply@github.com
31a569e9f424a8e17c8ff58f279f8c56d5f966f4
3b0ae1a9a07ab2561b355088f895ebe480fb84f2
/apitest/apiauto_testcase_unittest.py
eebe24c1d2f36066a8a3f86bdfb6e6fb4f32d02d
[]
no_license
lishuibo/testplatform
0bb45ecbe8099bfbc924e012e61dd408aafa71c5
8f83bf5ae886d3f22f45b4da2535abf8c39ea5f4
refs/heads/master
2020-03-28T03:59:14.968199
2018-10-26T09:38:54
2018-10-26T09:38:54
147,687,104
1
0
null
null
null
null
UTF-8
Python
false
false
10,216
py
__author__ = 'Administrator' import requests, time, sys, re import urllib, zlib import pymysql from apitest import HTMLTestRunner import unittest from trace import CoverageResults import json from idlelib.rpc import response_queue from time import sleep HOSTNAME = '127.0.0.1' class ApiFlow(unittest.TestCase): d...
[ "407378019@qq.com" ]
407378019@qq.com
1776e7639c66d4c60a2db17dacbd5e09c04f2af9
19e92659e6c6b1230951656f6eec8309d9707c59
/server.py
235d22635e78c2037d24183984688db704cf6050
[]
no_license
basketcase03/chatroom
d0dd6167902cf4a39c4bf3efd2890a6dffb76674
b099d840f0a34c54a798caa41bceeb6664ae1924
refs/heads/main
2023-02-04T17:48:09.553473
2020-12-29T12:14:02
2020-12-29T12:14:02
325,278,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,309
py
import threading import socket host = '127.0.0.1' port = 55555 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind((host,port)) server.listen() clients = [] nicknames = [] def broadcast(message): for client in clients: client.send(message) def handle(client): while True: ...
[ "muskankhajuria03@gmail.com" ]
muskankhajuria03@gmail.com
b80c80132e0cb7eecb8c0bc6ba79cc3e8ad004cc
893af5bd2a75a37634d970eb67288bb78cad6a04
/723e_server/django_723e/api/views.py
6f5286b0c79fa0ffb7feb8b1e3a3504a2f441987
[ "MIT" ]
permissive
Natim/723e
9e0c0f3cf2884283ab377bbc51d40df5b040d778
ed6a5f102b45f5d7ab723209eecb87bf306b23d8
refs/heads/master
2021-01-17T13:22:34.513449
2015-08-24T09:36:01
2015-08-24T09:36:01
41,594,079
0
0
null
2015-08-29T13:20:22
2015-08-29T13:20:21
HTML
UTF-8
Python
false
false
1,127
py
# -*- coding: utf-8 -*- import json from django.http import HttpResponse from django.contrib.auth.forms import AuthenticationForm from rest_framework.authtoken.models import Token from django.core import serializers from rest_framework.permissions import IsAuthenticated from rest_framework.decorators import api_vie...
[ "contact@sebastienbarbier.com" ]
contact@sebastienbarbier.com
5c8ddac3358536b6bea399a80fcc5b05e0dafe3b
5600d31c62b629b95ef971ba1fa7859f3facbea1
/src/assignment5/no2.py
0ff3af83af7e85b932de42be29bf40bbf265861b
[]
no_license
giginet/PatternMatch
18864e480eb12c1e94abc631b58758d5ffd596da
eb843eb4847acf32ff72bd8423cb9d3bd838ecb3
refs/heads/master
2021-01-01T05:30:59.343337
2011-08-11T20:46:14
2011-08-11T20:46:14
2,070,055
0
1
null
null
null
null
UTF-8
Python
false
false
1,922
py
# -*- coding: utf-8 -*- # # assignment5.no2 # created by 25090335 Kohki Miki on 2011/08/12 # from PIL import Image from assignment4.no1 import DensityDistribution class BinaryImage(object): XMAX = 5. def __init__(self, image): self.image = image @classmethod def to_xc(cls, ...
[ "giginet.net@gmail.com" ]
giginet.net@gmail.com
234903f9a230f61c4fad2c3d34720a41e3529356
4d25eabd9e75fa2c433b9b0e6bc792dfeaeb1655
/TERMINAL/c02.py
b21b950fdf921b332d3a6270b51204887842dc2c
[]
no_license
kwanderer/DMI
cbcceaaa34837064e6c4ba4e21f726080c5513bd
83748be54d072a501354659377705e5362dafd67
refs/heads/master
2021-09-14T07:25:10.507226
2018-05-09T17:10:08
2018-05-09T17:10:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
f = open("c01.txt","rb") f.seek(0) while 1: b = f.read(1) if not b: break print hex(ord(b)) print chr(ord(b)) f.close()
[ "krisypon@inbox.lv" ]
krisypon@inbox.lv
952409350fb7d319466c166395028df75823dadc
25355a24e32351d3acbffa781e25702802ddff20
/app/auth.py
f2b22196a293e1da199f9faecc16e1bc1c31a147
[]
no_license
khoi-backyard/flask-tutorial
e24dae386727bd3cf0e9e7a719903a2de0eea870
c72b3041b892840e2dde0848c238f387be95cf1d
refs/heads/master
2021-02-17T07:35:09.263323
2020-03-05T07:24:08
2020-03-05T07:24:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,503
py
import functools from flask import Blueprint, flash, g, redirect, render_template, request, session, url_for from werkzeug.security import check_password_hash, generate_password_hash from app.db import get_db bp = Blueprint('auth', __name__, url_prefix='/auth') @bp.before_app_request def load_logged_in_user(): ...
[ "khoiracle@gmail.com" ]
khoiracle@gmail.com
a1fa689511eb2f16f6bc8e9a66cbe49bb4021baf
95d18e82eabb7f122a835a58b94260ae84385505
/4/4.2_homework/task_7.py
ff419e889198c8c94d853b2c65f55db5917ca4c6
[]
no_license
kkravchenkodev/main_academy
161c0b6eae0bb06745f6a689def356a8a29806aa
5ccd5fbca88141180f2ec6adabac7a8b4a0b5d7a
refs/heads/main
2023-03-03T15:49:06.992816
2021-02-15T15:29:54
2021-02-15T15:29:54
316,764,151
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
""" Написать программу, которая принимает 2 аргумента: список элементов любого типа и элемент любого типа. Программа возвращает кол-во вхождений элемента в список. (аналог lst.count(n)) input: [1, 2, 3, "one", "onetwo", "one"] result: 2 """ input_data = [1, 2, 3, "one", "onetwo", "one", 2, 3, 4, 2, 6, 0, 1.2, 3.4, 12,...
[ "kostyakravchenko.dev@gmail.com" ]
kostyakravchenko.dev@gmail.com
4f2109f02224b5f6894716723d8361c39bdefa70
f353f19174ea2fd8569c8f46bb2d99142fff919c
/Basic Part I/Exercise-17.py
4fae615a0edb7478de7a74f6cbf6700ce0981e76
[]
no_license
self-study-squad/Python-examples
a283d9efe47d71d2e134e8fc2e919dccffe5108a
07de281fbcc9fb7f421b89a74ff24bafc78a5d4b
refs/heads/master
2022-12-28T01:35:03.927338
2020-10-09T06:41:16
2020-10-09T06:41:16
298,136,591
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
def nearthousand(n): return (abs(1000-n)<=100) or (abs(2000-n)<=100) print(nearthousand(1000)) print(nearthousand(900)) print(nearthousand(800)) print(nearthousand(2200))
[ "longpham6595@gmail.com" ]
longpham6595@gmail.com
c6352e740b138c67bc561fec69e91924a683d988
0517a260198fbdba92292b9a79e6c1783934161d
/houghTransform.py
c56691c126ec6e839a75f6c645cf21e386f66454
[]
no_license
AkhmadMuzanni/HoughTransform
bad75f7e8d862c171a0b6bacf9efcb3ee46f50cc
5e0bf783a88c72721bf115b01860561b15785a87
refs/heads/master
2020-03-15T16:07:29.169970
2018-05-05T08:26:14
2018-05-05T08:26:14
132,228,804
0
0
null
null
null
null
UTF-8
Python
false
false
2,191
py
import cv2 import numpy as np import matplotlib.pyplot as plt img = cv2.imread('Monas.jpg') gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) edges = cv2.Canny(gray,50,150,apertureSize = 3) np.set_printoptions(threshold='nan') baris,kolom = edges.shape print edges.shape cv2.namedWindow("Monas.jpg",cv2.WINDOW_NORMAL) cv2.imsh...
[ "akhmadmuzannisafii@gmail.com" ]
akhmadmuzannisafii@gmail.com
638d43eae7682711cbff3acc82c3cca1ae006d93
b1ba5707a5cbe918d33bc2082b3eb4ff1378c060
/SDPython/samples/plugins/custom_graph/custom_graph.py
0f3cf3c55f3ba01049983183476f61e58c69ba8e
[]
no_license
qq781217732/SubstanceDev
2eb1d9ed48d477cf70c7bfdac2103bb884e9204c
b9ffab0a1b8f3c01783259074940b2712a8142b8
refs/heads/master
2023-03-26T00:43:35.047305
2021-03-01T04:12:28
2021-03-01T04:12:28
342,539,111
0
0
null
null
null
null
UTF-8
Python
false
false
4,012
py
import sd import os from sd.api.mdl.sdmdlgraphdefinition import * import logging logger = logging.getLogger(__name__) class CustomGraph: @staticmethod def init(aSDGraphDefinitionId = 'custom_graph'): context = sd.getContext() sdApp = context.getSDApplication() # Add MDL Root path ...
[ "gaoyuyang@senseinn.com" ]
gaoyuyang@senseinn.com
6bf99d9793ffdc0c62d6793b678910e9549e95d3
2949466be9b2761a8d8945938b8ed5be8bdc2fa7
/第7回/b.py
835bf9039dc0e4f9745b37a0302d1a686fe4b44c
[]
no_license
greedtn/EEIC-Algorithms2021
ab1087977e45fb6d386bff9db8ae4984363b203c
d38235f776ad51fac93be5a7972a68299a7e0706
refs/heads/main
2023-06-12T09:48:16.287802
2021-07-12T12:49:09
2021-07-12T12:49:09
357,838,621
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
N, S = map(int, input().split()) A = list(map(int, input().split())) dp = [[False for _ in range(S+1)] for _ in range(N+1)] dp[0][0] = True for i in range(1, N+1): for j in range(S+1): if j - A[i-1] >= 0: dp[i][j] = dp[i-1][j] or dp[i-1][j-A[i-1]] else: dp[i][j] = dp[i-1][...
[ "naoto.tsuda63@gmail.com" ]
naoto.tsuda63@gmail.com
c7c1319d6e8b0ddbaad9fb3d2febc853dd7f2e3a
7790f148c1bfe71ab6aca75857e410613cacefb5
/Built-in Functions/functions_test.py
393873695b3f2eadbbde51e6a86c8fb39713b32b
[]
no_license
EthanShapiro/PythonCompleteCourse
de89e674c25f69f8af026fc9f58301e4ae4e2dcf
687f7b91404fd0f32e8dfc4e76ea9534e98d1c50
refs/heads/master
2021-01-25T01:55:21.064855
2017-09-26T03:30:07
2017-09-26T03:30:07
94,653,128
0
0
null
null
null
null
UTF-8
Python
false
false
1,650
py
from functools import reduce # Problem 1 # Use map to get the length of each word in the sentence sentence = "How long are the words in this phrase" print(list(map(len, sentence.split()))) # Problem 2 # Use reduce to take a list of digits and return the number they correspond to digits = [3, 4, 3, 2, 1] def digitsToN...
[ "ethanshapiro123@gmail.com" ]
ethanshapiro123@gmail.com
9ea84a460b207810ee568378dc986a95089b75ee
d06d2c997cfe8ba0579a2aa116cf2b94b264201a
/WROOM-WIP/gfx.py
e9b60b07cd1fe2d88d8ecf769fdb30e88f21b947
[]
no_license
SilverLogix/esp32_MicroPython
7e944dbf0852c96576691f0b2291128071a5d2f2
b9387c4f3b0db31cd1e8e03d8641ecdc30189ab0
refs/heads/master
2023-08-05T10:29:26.259473
2021-09-12T05:38:25
2021-09-12T05:38:25
367,536,027
0
0
null
null
null
null
UTF-8
Python
false
false
5,705
py
# ----------# import st7789 as st from machine import Pin, SPI from micropython import const # noinspection PyArgumentList tft = st.ST7789( SPI(1, baudrate=30000000, sck=Pin(18), mosi=Pin(19)), 135, 240, reset=Pin(23, Pin.OUT), cs=Pin(5, Pin.OUT), dc=Pin(16, Pin.OUT), backlight=Pin(4, Pin.OUT),...
[ "cameron.c.ait@gmail.com" ]
cameron.c.ait@gmail.com
67e18bdcbbd80a906fe7d2881b539d4f5a44ae7c
6ce0a02d12eb530ac4a59d833f48ad17e154dfcd
/DOA_gcc_phat.py
354b8bfcc2c2506c92cd5ff0173eb0e25682dc53
[]
no_license
oozzZZZZ/PySoundTools
ae7fa3f8c23e881587ad83b70c9908297d3a5ec0
4693b86317ee820b439453ae0041e50951e22376
refs/heads/master
2020-12-27T02:46:19.858543
2020-03-14T08:14:12
2020-03-14T08:14:12
237,738,419
0
0
null
null
null
null
UTF-8
Python
false
false
2,509
py
""" 4ch micを用いたGCC-PHATによる簡易音源方向推定プログラム """ import numpy as np from scipy.io.wavfile import read import math tap = 2**10 # Import Sound Sorce dataB = "/content/DOAtest1_B.wav" dataF = "/content/DOAtest1_F.wav" dataL = "/content/DOAtest1_F.wav" dataR = "/content/DOAtest1_F.wav" rate, dataB = read(dataB) _, dataF = r...
[ "noreply@github.com" ]
noreply@github.com
e1ca61cff6ec0075b618a7b92a90386594b54e70
5d5d2100425892d67e44b2416a0f86440f7b8768
/scripts/integration_test.py
1b5db1586486bf74f60bfa2f22e1be6d7668d3e8
[]
no_license
charliekelley21/Lisp_Interpreter
94488ff8e81eee803f2170c0918f6c92bdeb7cf4
8188d3d0b600ba0abe57dd716b7e8e203fc7883b
refs/heads/main
2023-02-16T12:37:58.682005
2021-01-13T00:35:08
2021-01-13T00:35:08
329,148,981
0
0
null
null
null
null
UTF-8
Python
false
false
3,286
py
import pexpect import pexpect.replwrap as replwrap import unittest import os # the slisp executable cmd = './slisp' # the prompt to expect prompt = u'slisp>' class TestREPL(unittest.TestCase): def setUp(self): self.wrapper = replwrap.REPLWrapper(cmd, prompt, None) def test_add(self): output = self.wrapper.ru...
[ "noreply@github.com" ]
noreply@github.com
c84a08760c821d1b48b2632ff79308662f638488
82770c7bc5e2f27a48b8c370b0bab2ee41f24d86
/microblog/flask/venv/lib/python2.7/site-packages/scipy/misc/__init__.py
d1e05f256c77c79c83cf1a81110bb9f8ca32311e
[ "Apache-2.0" ]
permissive
johankaito/fufuka
77ddb841f27f6ce8036d7b38cb51dc62e85b2679
32a96ecf98ce305c2206c38443e58fdec88c788d
refs/heads/master
2022-07-20T00:51:55.922063
2015-08-21T20:56:48
2015-08-21T20:56:48
39,845,849
2
0
Apache-2.0
2022-06-29T23:30:11
2015-07-28T16:39:54
Python
UTF-8
Python
false
false
2,459
py
""" ========================================== Miscellaneous routines (:mod:`scipy.misc`) ========================================== .. currentmodule:: scipy.misc Various utilities that don't have another home. Note that the Python Imaging Library (PIL) is not a dependency of SciPy and therefore the `pilutil` module...
[ "john.g.keto@gmail.com" ]
john.g.keto@gmail.com
cce6cc7038621aa13a49a8489ce3158c991590ce
b0d0a4d18d2da39a8159ae3275be973e4beab42e
/admin.py
95be154941c25047c45d41a86b75b9316491b711
[]
no_license
mandatomarina/boaspraticas
2e533db2212cf3f186febd9374cc21fd5edbe66f
8740f0084accdc292e42a286ae21cf700d596fd3
refs/heads/master
2023-03-07T17:55:30.503123
2021-02-25T15:14:31
2021-02-25T15:14:31
342,270,090
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
from django.contrib import admin from import_export import resources from import_export.fields import Field from import_export.widgets import ManyToManyWidget, ForeignKeyWidget, CharWidget from .models import Projeto, Tema, Autor, Natureza from import_export.admin import ImportExportModelAdmin from cidadaos.admin impor...
[ "pedro@markun.com.br" ]
pedro@markun.com.br
79202942af3a996a72feb9f8f3d3fb8a65e71f54
e10c398b68adc374d3f2886b8b22d78b2f5328d0
/Requests_Pics_test.py
7407b66017ecca6dd4ab8bcea7307cc5e74f456b
[]
no_license
QueenDekimZ/spider_notebook
e5c475462efd782cf2b56b5c30d21b1ad5192570
0ebb5846fc75aa77227b4d1b9266ce0336fa4ca1
refs/heads/master
2020-07-01T16:03:57.240917
2019-08-09T08:19:37
2019-08-09T08:19:37
201,220,030
1
0
null
null
null
null
UTF-8
Python
false
false
502
py
import requests import os url = 'http://placekitten.com/1000/400' root = 'C:\\Users\\MSI-PC\\Desktop\\' path = root + url.split('/')[-2] + '_' + url.split('/')[-1] +'.png' try: if not os.path.exists(root): os.mkdir(root) if not os.path.exists(path): r = requests.get(url) with open(path, ...
[ "37538056+QueenDekimZ@users.noreply.github.com" ]
37538056+QueenDekimZ@users.noreply.github.com
66e0361b6f2044afc61d439dec6561f1f40f127f
a5c9b05657225b07d5e715fcb0721004ceef7ad6
/src/utils/housing.py
0f79103289bb4c6dce70e59113d46487c19fa653
[ "MIT" ]
permissive
mbeni12333/machine-learning
0d868805a1a6efb33b517b7d853b3acc53db5222
3421b86c75452a7c285326ae52747f3dc9083553
refs/heads/master
2021-07-12T18:11:10.105370
2021-03-30T07:59:57
2021-03-30T07:59:57
122,761,214
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
import os import urllib import tarfile import pandas as pd DOWNLOAD_ROOT = "https://raw.githubusercontent.com/ageron/handson-ml2/master/" HOUSING_PATH = os.path.join("datasets", "housing") HOUSING_URL = DOWNLOAD_ROOT + "datasets/housing/housing.tgz" def fetch_housing_data(housing_url=HOUSING_URL, housing_path=HOUS...
[ "mbeni12333@gmail.com" ]
mbeni12333@gmail.com
9d3c4ebbdf12c468362bc277b6fb306ae9189e36
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5670465267826688_1/Python/vtlinh/c.py
156a68308ff94957326b24e88214f34b41b3f7b1
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
993
py
mat = [ [], [0, 1, 2, 3, 4], [0, 2, -1, 4, -3], [0, 3, -4, -1, 2], [0, 4, 3, -2, -1] ] def calc(t, pos, req, till_end): cur = 1 for i in xrange(pos, len(t)): if cur < 0: cur = -1 * mat[-cur][int(t[i])] else: cur = mat[cur][int(t[i])] if cur == req and not till_end: return cu...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
4375332d8f960933504e9cb26befe1775cd69710
a3ac9a65f794c03b99c733c82df7354aff0afc18
/rhaptos/atompub/plone/browser/interfaces.py
f9cafe5c9d9799c5d371d710b5a988cc23f7c6f7
[]
no_license
Rhaptos/rhaptos.atompub.plone
35a8efa1496f74df24071e6ba4573872719335d6
fe6d20cb8e95be1633a42f3d7af515262a00b7f8
refs/heads/master
2021-01-21T21:54:27.252226
2016-03-31T17:52:39
2016-03-31T17:52:39
6,147,154
0
1
null
2016-03-31T17:52:40
2012-10-09T20:19:22
Python
UTF-8
Python
false
false
343
py
from plone.theme.interfaces import IDefaultPloneLayer class IThemeSpecific(IDefaultPloneLayer): """Marker interface that defines a Zope 3 browser layer. If you need to register a viewlet only for the "Rhaptos AtomPub Plone Theme" theme, this interface must be its layer (in atompub/viewlets/co...
[ "phil@cnx.org" ]
phil@cnx.org
079cc07b4e12fb309fa55d655d198fe64513f9c4
bc7d84eeb509e66b56e02606dd43fa61e8cbd741
/build.py
72414479ad25796ff6d909dfe847cda5ca35f451
[ "Apache-2.0" ]
permissive
weekmo/biodb_team3
4ef5e6c9b0b1277b21c59c19ed4f267e828cf901
c2918f629d42c1137dcc249a549991e92f63a7f9
refs/heads/master
2023-01-06T19:58:41.336749
2021-06-23T11:09:02
2021-06-23T11:09:02
141,455,842
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
import sys from biodb_team_3.db_manager import Manager m=None if len(sys.argv) <2: m = Manager() else: m = Manager(str(sys.argv[1])) m.populate_db()
[ "mabdelgadi@iais.fraunhofer.de" ]
mabdelgadi@iais.fraunhofer.de
f0c5bc704d53938498f79858f12f0a79c328b56c
b7abd802cc3289d5d951cbf88e590737f069f1bb
/PyMS/Utilities/UIKit/Widgets/Toplevel.py
aef887605a98c70e76d2ec7251d840cbe67fe570
[]
no_license
poiuyqwert/PyMS
0c5396a859c23ff13028efac0b014e50dede911b
124cc3fd2f6907166d84799edcd8f0450e6b7944
refs/heads/master
2023-08-31T21:04:28.241270
2023-06-16T17:54:00
2023-06-16T17:54:00
31,783,698
44
18
null
2023-06-16T17:54:01
2015-03-06T18:48:15
Python
UTF-8
Python
false
false
479
py
from .. import Theme from .Extensions import Extensions try: # Python 2 import Tkinter as _Tk except: # Python 3 import tkinter as _Tk class Toplevel(_Tk.Toplevel, Extensions): def __init__(self, *args, **kwargs): _Tk.Toplevel.__init__(self, *args, **kwargs) Theme.apply_theme(self) def make_active(self): ...
[ "zzahos@konreadgroup.com" ]
zzahos@konreadgroup.com
99be3902a03da7f048764e27b2998ab563462dab
6d7abc02fc93dd1002c213be5202dcd00baf338b
/users/urls.py
3019358dfb79d2eb6b7cccda9c16e449946207ef
[]
no_license
AnabellJimenez/GC_Ecommerce
595b5b7d8a14cf0edfd3acaec9d69e7b4022b731
2e2115fc5b6455da74d95c62ed9b9915a90c4e3d
refs/heads/master
2020-07-03T08:25:18.270036
2016-08-22T16:15:32
2016-08-22T16:15:32
35,298,280
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^index', views.index, name='index'), url(r'^$', views.users, name='users'), url(r'^sign_up', views.sign_up, name = 'sign_up'), url(r'^log_in', views.log_in, name='log_in'), url(r'^verify', views.verify, name='verify'), url(r'^home', views...
[ "anabell@Anabells-MacBook-Pro.local" ]
anabell@Anabells-MacBook-Pro.local
0a67c0e99351d4619966c92b9672f96906b5d098
031953ffeeb036b0620460ddf8c7ea5c61f2fa9e
/djviews/blog/forms.py
f159307a872ce8e9981137d3e60598e9292ac8a1
[]
no_license
PichaiLim/python-django-view
cc7aa3701e4db773ce187f6f7fbe21317a14972a
545124d46a7c6f67f7d18f1c43bee3842de2878d
refs/heads/master
2020-03-25T22:43:55.054396
2018-08-10T05:09:34
2018-08-10T05:09:34
144,238,987
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
from django import forms from .models import SeialNumber class SeialnumberModelForm(forms.ModelForm): class Meta: model = SeialNumber fields = [ 'running_number' ]
[ "Pichai.Limpanitivat@Gmail.com" ]
Pichai.Limpanitivat@Gmail.com
56ae9b3fcaa09790666db765a0cbd5692dc0b016
00830809a8b7b1f00c92a6c700a3e9270196699c
/apiteste/apiteste/urls.py
83302f9667a9491f6fd37f274941aa62d1e8d8f6
[]
no_license
Marcos-osg/IMDB-Busca
afae909933dfcd20216f82cb7ee2fabfb76227e2
723a86d4b0146daeac2806e07d0cba38e7aa57a9
refs/heads/main
2023-04-21T05:51:44.187681
2021-05-07T00:54:28
2021-05-07T00:54:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
"""apiteste 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-base...
[ "devmarcos.py@gmail.com" ]
devmarcos.py@gmail.com
81e771c136b9233b0c508cdef3123bc72423fb52
17d5e587896e92dcd7c83a1e6ebe210f092da304
/users/models.py
0fab80a462f5dd768a6d32b958aba8be24f55ad4
[]
no_license
wecode-bootcamp-korea/19-1st-whiteSpace-backend
a5edbd0622d759e12a8b9780889fd998a729fe66
2f230e664d99ac997b5e3f6c7075164c28f4e19f
refs/heads/master
2023-04-16T02:06:02.286734
2021-04-25T15:17:18
2021-04-25T15:17:18
357,093,520
0
1
null
2021-04-22T10:51:30
2021-04-12T07:12:04
Python
UTF-8
Python
false
false
2,057
py
from django.db import models class User(models.Model): email = models.EmailField(max_length=100, unique=True) password = models.CharField(max_length=200) name = models.CharField(max_length=45) phone_number = models.CharField(max_length=45, unique=True) is_active = models.Boole...
[ "a01026676497@gmail.com" ]
a01026676497@gmail.com
c67b441c98e470639dc85185462dd575cb90d98f
d63e87256e60db86f0e84d055b1a114f103506ba
/kingpin
7d55c4476b8ce72aa2b6fc1fb6068be594cbc72b
[]
no_license
ahinkka/kingpin
44a765daff7e02fc2a4aa5c10c4a6c2df027c1c7
cd239b71578941ccabf6c11d6132a9554fd6bc67
refs/heads/master
2021-05-27T18:33:10.262555
2013-01-01T18:51:44
2013-01-01T18:51:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
657
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging import signal import gevent from dialer import DialLet def main(): from optparse import OptionParser parser = OptionParser() parser.add_option("-d", "--debug", action="store_true", dest="debug", default=False, help="loggin...
[ "atte.hinkka@iki.fi" ]
atte.hinkka@iki.fi
b3e57e4c05c7628b1a8aef386e7e55747b8689e0
93e6cfece0a5f24d4ac562e61247c4ff820ef875
/model.py
e2eb1b2c1fda21b5678ae28e458175160fb461b4
[]
no_license
lancerQA/RSAN
0b3a50c1323752e03159c1689d3b8f6f061752e1
b36d3145d012b219861fd26fe72cbb75f02146cc
refs/heads/main
2023-08-23T07:23:26.576950
2021-09-28T13:04:22
2021-09-28T13:04:22
411,204,640
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
import torch.nn as nn import torch # G class Generator(nn.Module): def __init__(self, opt): super(Generator, self).__init__() self.fc1 = nn.Linear(1024, opt.ngh) self.fc2 = nn.Linear(opt.ngh, opt.resSize) self.lrelu = nn.LeakyReLU(0.2, True) self.relu = nn.ReLU(True) ...
[ "noreply@github.com" ]
noreply@github.com
b0c5317d1bb311310ee42aa1c026e38ffd5a9d1b
29d6eb6f7c970cd95dca58912ea52bffc6730ba9
/reverse.py
0e71084ec0d2c5c4159f40ebe2eb6bf6482d3788
[]
no_license
30jawahar/pythonPRGMS
13462659c45cc1a9d1d516934c6d5e15692862b8
73d26a1e3ebf14508d85ea4a264c52e6bdaee1a8
refs/heads/master
2020-03-25T02:04:48.882316
2019-06-18T10:31:01
2019-06-18T10:31:01
143,272,972
0
1
null
null
null
null
UTF-8
Python
false
false
83
py
a=int(input()) b=0 for i in range(0,3): c=a%10 b=(b*10)+c a=a//10 print(b)
[ "noreply@github.com" ]
noreply@github.com
63c4d88b1367e5315171946431e0c06728eb83c1
5c6e19225d224dd853cb1708dbed8cdba4c1ec6c
/MarkovDesigns/2-11-2015/chain.py
1daf7d991a502f9242f9971a18ac76ab23858074
[]
no_license
scj7t4/thesis
47deab8d02933122d08523185e26830fd057a6e3
f2d2e1eb01411dc94f885212d8fead1a1fdf1616
refs/heads/master
2021-05-01T15:41:06.921840
2016-06-21T20:54:56
2016-06-21T20:54:56
12,057,059
0
0
null
null
null
null
UTF-8
Python
false
false
11,627
py
import pykov import itertools import functools import collections import functools class memoized(object): '''Decorator. Caches a function's return value each time it is called. If called later with the same arguments, the cached value is returned (not reevaluated). ''' def __init__(self, fun...
[ "scj7t4@mst.edu" ]
scj7t4@mst.edu
e9d5e424f4993447195081dbf41cd2b21b8763a5
2bb8c48b333cad834d7a7d8eef8f80b3fd864e2a
/ddpg2.py
ea92ce5c97db4fa581612644988629619908c895
[ "MIT" ]
permissive
iitkliv/RL-cardriving
cfc80bffa81f96c0aaa0b70fd242c81a93b14ed2
4bae4a7e1440bdec07193aa6a03c5460947a6922
refs/heads/master
2021-01-20T10:55:37.258750
2017-10-20T04:24:00
2017-10-20T04:24:00
101,656,197
3
0
null
null
null
null
UTF-8
Python
false
false
7,448
py
from gym_torcs import TorcsEnv from os import system import numpy as np import random import argparse from keras.models import model_from_json, Model from keras.models import Sequential from keras.layers.core import Dense, Dropout, Activation, Flatten from keras.optimizers import Adam import tensorflow as tf from keras...
[ "abhinavagarwal1996@gmail.com" ]
abhinavagarwal1996@gmail.com
f018f27fad6688e18eb4f7cc4e3a814455dc2612
ec9a28aa745c0f507c16f3b9cc5223677ba15bd6
/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/config.gypi
d17f7d61897144ef0586649f347ca804c29746d3
[ "MIT" ]
permissive
jprystowsky/example-hyper-angular-project
aba56991640494cf9a36929c060ceca4fc64ef03
a2cf2a4826410f327c29f5449e12fb8e1c1243fd
refs/heads/master
2021-06-18T00:17:09.640371
2014-04-20T14:50:27
2014-04-20T14:50:27
18,119,542
0
3
null
2017-03-17T04:12:07
2014-03-25T22:55:55
JavaScript
UTF-8
Python
false
false
3,098
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", "node_install_npm": "true", "node_prefi...
[ "jprystowsky@ohio-cpa.com" ]
jprystowsky@ohio-cpa.com
3eea468ceb51c63b198faf657321babe1e09b22b
852130b4772157b8f564ffeb9e1a6fb6c6f9b4b5
/eth2/_utils/bls/backends/__init__.py
013ac96997a324b6cb2eecbba0d32b55b9e9a49d
[ "MIT" ]
permissive
nanspro/trinity
58d14e55e1fd1462b9ee3d09c214207dfa286f59
1f6b90a5fe2a25c93bd7d5db0f93367bbe33bced
refs/heads/master
2020-06-20T16:38:24.596423
2019-07-02T13:41:20
2019-07-16T10:04:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
from .chia import ChiaBackend from .noop import NoOpBackend from .py_ecc import PyECCBackend DEFAULT_BACKEND = ChiaBackend AVAILABLE_BACKENDS = ( ChiaBackend, NoOpBackend, PyECCBackend, )
[ "noreply@github.com" ]
noreply@github.com
8e335ed82f11764ef9b485e840b67c807e15af5f
097eae4e0190da97570ae7db748fca306f977fbd
/py/learn/test/mysql/add.py
82cd36d8cfc97e84de13a09dd3dd95bdc3f21291
[]
no_license
jiaolj/other
42257c593495d97ab98b9a9af00d3791ccce7a57
78d0366cbd599f4dde7bf6e44ca4cfc373132418
refs/heads/master
2021-05-24T04:14:03.829126
2016-08-28T07:40:49
2016-08-28T07:40:49
64,064,262
0
1
null
2020-07-23T17:05:36
2016-07-24T12:25:56
JavaScript
UTF-8
Python
false
false
2,814
py
#-*- coding:utf-8 -*- from mysql_config import conn_151_DInsight from JMysql import JMysql import re db=JMysql(conn_151_DInsight) db.open() def getjson(): # data={} data='' result=db.fetchall('select nm,el,nl from latitude_longitude') for rst in result: #data[rst[0]]=[rst[1],rst[2]] d...
[ "841232468@qq.com" ]
841232468@qq.com
4ff33526a5296d3ee163149c749ff5b664b8a69c
373ad14b1df083915b83d9ef72648206df23d48c
/countries/countries.py
db1c79ef5f4b76adf22be3179a5537c604b5433b
[]
no_license
Zadigo/my_python_codes
684f2788175f555a90d51566f4c07d3a3a505419
994943e7e7dc82c1873f1cf3e2dcb13f367faf84
refs/heads/master
2021-05-26T06:00:17.040723
2020-05-26T18:43:33
2020-05-26T18:43:33
127,773,216
2
2
null
null
null
null
UTF-8
Python
false
false
9,417
py
COUNTRIES = ( ('afghanistan', 'afghanistan'), ('åland islands', 'åland islands'), ('albania', 'albania'), ('algeria', 'algeria'), ('american samoa', 'american samoa'), ('andorra', 'andorra'), ('angola', 'angola'), ('anguilla', 'anguilla'), ('antarctica', 'antarctica'), ('antig...
[ "pendenquejohn@gmail.com" ]
pendenquejohn@gmail.com
dfe69f776d3890c30073a3cdc73f2020dcb0e00d
85618742f1bded79cdbe0615d2096351a3b87c03
/prediction2.py
6a4e90d071fdd483b4f8544b3f4c543eeea579b0
[ "MIT" ]
permissive
ferdyandannes/Monocular-3D-Object-Detection
ea66aea34ae2987c60d023e722a0c0c9f258a70b
85c424ce0ab386da9b30629819d63f7ec888c9c1
refs/heads/master
2022-11-20T12:30:40.826235
2020-07-21T05:19:19
2020-07-21T05:19:19
272,321,968
5
0
null
null
null
null
UTF-8
Python
false
false
7,218
py
############### import sys print(sys.path) sys.path.remove('/opt/ros/kinetic/lib/python2.7/dist-packages') print(sys.path) import cv2 ############## import os import argparse import numpy as np from utils.read_dir import ReadDir from data_processing.KITTI_dataloader import KITTILoader from utils.correspondece_constrai...
[ "noreply@github.com" ]
noreply@github.com
8ead6ef11a5ecfe08408957453a05ceaf07011eb
e7c3d2b1fd7702b950e31beed752dd5db2d127bd
/code/a_polynomial_modulo_the_square_of_a_prime/sol_457.py
313cf886ddcfbb07ff41548f050bf154569ba645
[ "Apache-2.0" ]
permissive
Ved005/project-euler-solutions
bbadfc681f5ba4b5de7809c60eb313897d27acfd
56bf6a282730ed4b9b875fa081cf4509d9939d98
refs/heads/master
2021-09-25T08:58:32.797677
2018-10-20T05:40:58
2018-10-20T05:40:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
# -*- coding: utf-8 -*- ''' File name: code\a_polynomial_modulo_the_square_of_a_prime\sol_457.py Author: Vaidic Joshi Date created: Oct 20, 2018 Python Version: 3.x ''' # Solution to Project Euler Problem #457 :: A polynomial modulo the square of a prime # # For more information see: # https://projec...
[ "vaidic@vaidicjoshi.in" ]
vaidic@vaidicjoshi.in
cc1c7971c80045e851cb8087415cf80b29690b3a
77a2199488e00a2d71ce92bfc2cb1e5d1067ee3f
/api/dorest/dorest/libs/sh/verbose.py
5fef8b1dfb4e8d29a20b80d98b47bc294edcba6e
[ "BSD-3-Clause" ]
permissive
ichise-lab/uwkgm
541314967c3161af40338b3e8c9ed61d8fcb95db
7f6545c614848b73950b66406df8787f361f317f
refs/heads/master
2023-04-27T07:49:11.679307
2022-12-08T04:16:04
2022-12-08T04:16:04
249,624,364
1
1
BSD-3-Clause
2023-04-21T20:49:20
2020-03-24T05:51:09
Python
UTF-8
Python
false
false
1,920
py
"""Prints styled messages to command-line interface Usage example: --- from dorest import verbose verbose.info('Some information') verbose.info.append('Second line of the information') --- The Dorest project :copyright: (c) 2020 Ichise Laboratory at NII & AIST :author: Rungsiman Nararatwong """ import os import sys...
[ "rungsiman@gmail.com" ]
rungsiman@gmail.com
219d33b94d7b21f8bc57897e1a2bbca5077e7b24
f5424dacc1caf649fb02585656839cf70dfb30ff
/docs/conf.py
a565d89046e684d71509fc46d314f5c7372d8c68
[ "Apache-2.0" ]
permissive
fgregg/civic-scraper
81fc8f889b00677c3af50b27197770c3661ca958
aaf5a76b53d19a23beb386a19bc30dd1b0e0eef9
refs/heads/master
2023-08-18T06:27:57.986155
2021-01-14T19:05:47
2021-01-14T19:05:47
419,768,129
0
0
null
null
null
null
UTF-8
Python
false
false
8,748
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # civic-scraper documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this...
[ "zstumgoren@gmail.com" ]
zstumgoren@gmail.com
dede89d1db066c42ca2fbc3e50fffb709bdb23eb
5170bc564149192634defc547a0bfb156e4cf455
/calc_functions.py
fdfd2ada5f075e7817f50d037888eaab9a112100
[]
no_license
sicknick21/cmpt120siconolfi
2e3c966de4aee61da9845dbc927d8843535f6a6c
9342c19c669d8f87adffbc8f3fcbe1a203d20d0d
refs/heads/master
2020-03-27T16:45:03.671565
2018-12-14T22:41:36
2018-12-14T22:41:36
146,791,032
0
0
null
null
null
null
UTF-8
Python
false
false
2,102
py
#calc_functions.py #This program contains the functions for the calculator from tkinter import * def __init__(self): self.total = 0 self.current = "" self.new_num = True self.op_pending = False self.op = "" self.eq = False def num_press(self, num): self.eq...
[ "nicholas.siconolfi1@marist.edu" ]
nicholas.siconolfi1@marist.edu
721842d40ead0bfe7c4b860cfb2cdfab9cf35cad
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/lib/python2.7/site-packages/statsmodels/sandbox/tsa/example_arma.py
d2375c5c976580c51b30f78fcf12abc5d4e37199
[ "Python-2.0", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
11,572
py
'''trying to verify theoretical acf of arma explicit functions for autocovariance functions of ARIMA(1,1), MA(1), MA(2) plus 3 functions from nitime.utils ''' from __future__ import print_function from statsmodels.compat.python import range import numpy as np from numpy.testing import assert_array_almost_equal impor...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
7757d0c108a82d761e9e7d13a4ab8cc706351b15
c52ed125dde91b381dcff4538c99aa7dda71a3bf
/my_proj/main.py
70831866b43ab3aa73b9bac4d970ea2d5da37503
[]
no_license
raghavan97/projdir
a8e8b27174c77ca7dab742e8d4119792ce777516
89e67c45c1a66dc3a35219a6d9c859304d4204be
refs/heads/master
2021-01-13T10:57:17.071282
2017-02-14T00:32:59
2017-02-14T00:32:59
81,840,196
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
import logging from colorlog import ColoredFormatter from my_proj.m1.m1_src import m1f def setup_root_logger(): formatter = ColoredFormatter( '%(log_color)s%(asctime)s:%(levelname)s:%(name)s:%(lineno)s' ':%(reset)s%(message)s' ) logger = logging.getLogger('my_proj') handler = logging....
[ "raghavan@riptideio.com" ]
raghavan@riptideio.com
5b03be0e5e2197ce7057fe42ac1a67c223b1aa58
d75292aeddc4dd161a8ce404f12c32069c8cdeca
/CRAB/MuNu/MNu-MCPat.py
0f7872cd9d9fda5116fe8745d8c4bf396d08b97d
[]
no_license
isobelojalvo/UWAnalysis
bfd173fdf0f9b49788614992cc6372c1dc8d2b34
2968611938d3b54e3ba2fa7713fab7b56ad92557
refs/heads/master
2020-04-15T17:31:36.880516
2016-01-25T14:24:54
2016-01-25T14:24:54
13,874,373
1
1
null
2016-09-30T10:08:15
2013-10-25T23:23:13
Python
UTF-8
Python
false
false
4,620
py
import FWCore.ParameterSet.Config as cms import sys sys.setrecursionlimit(10000) process = cms.Process("ANALYSIS") process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff') process.GlobalTag.globaltag = 'MC_42_V17::All' process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-...
[ "ojalvo@wisc.edu" ]
ojalvo@wisc.edu
4e4f9e2f9fc07e380d0a61a2fa80e3464ae05ddf
16060e83fe4e025296f7279a8624cef6bafc2c60
/project/rpi/send_i2c.py
13d1cdb607beb39a02fe3804c29b6b9441b1ffe5
[]
no_license
fjasic/bsc
7d2ac418904496046367a0ce4a626b737e1c8c0b
624ad1914f786438eafa3f12d53e0743e89a5aea
refs/heads/master
2022-03-16T18:30:10.676612
2019-10-23T18:43:06
2019-10-23T18:43:06
184,892,310
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
# coding: utf-8 """ Generating I2C signal,10000 times. Used modules in sendI2C.py : --smbus """ import smbus bus = smbus.SMBus(1) for x in range(0, 10000): bus.write_byte(0x53, 0xff)
[ "filipjasic8@gmail.com" ]
filipjasic8@gmail.com
f52d8c492c695ba6e033137bd656361a729f39d1
d7737bfd840a7d0b25d1168dda352a81a6f54a25
/Learning Python/pythonchallenge 02.py
bc09514d4db44b5d0b42b19873acbdfcfae72bcf
[]
no_license
wfSeg/pythonlearning
fbe509a8c131162e68d4816074d1a48b3b1b095e
c06a195988bce801e9b5d637ec3f1a57bb90da3e
refs/heads/master
2021-01-02T08:42:36.421051
2017-10-24T23:10:21
2017-10-24T23:10:21
99,047,490
0
0
null
null
null
null
UTF-8
Python
false
false
100,055
py
line = %%$@_$^__#)^)&!_+]!*@&^}@[@%]()%+$&[(_@%+%$*^@$^!+]!&_#)_*}{}}!}_]$[%}@[{_@#_^{* @##&{#&{&)*%(]{{([*}@[@&]+!!*{)!}{%+{))])[!^})+)$]#{*+^((@^@}$[**$&^{$!@#$%)!@(& +^!{%_$&@^!}$_${)$_#)!({@!)(^}!*^&!$%_&&}&_#&@{)]{+)%*{&*%*&@%$+]!*__(#!*){%&@++ !_)^$&&%#+)}!@!)&^}**#!_$([$!$}#*^}$+&#[{*{}{((#$]{[$[$$()_#}!@}^@_...
[ "Isador@172.16.101.231" ]
Isador@172.16.101.231
f07bf1658b8fb9a73a42f6b0e5754749024c1f5f
ce32e0e1b9568c710a3168abc3c638d6f9f6c31b
/vnpy/api/easytrader/joinquant_follower.py
9e654ea918e1a639ec127fa4540b01545d15b6b9
[ "MIT" ]
permissive
msincenselee/vnpy
55ae76ca32cae47369a66bd2d6589c13d7a0bdd4
7f4fd3cd202712b083ed7dc2f346ba4bb1bda6d7
refs/heads/vnpy2
2022-05-19T10:06:55.504408
2022-03-19T15:26:01
2022-03-19T15:26:01
38,525,806
359
158
MIT
2020-09-09T00:09:12
2015-07-04T07:27:46
C++
UTF-8
Python
false
false
5,421
py
# -*- coding: utf-8 -*- from datetime import datetime from threading import Thread from . import exceptions from .follower import BaseFollower from .log import logger class JoinQuantFollower(BaseFollower): LOGIN_PAGE = "https://www.joinquant.com" LOGIN_API = "https://www.joinquant.com/user/login/doLogin?ajax...
[ "incenselee@hotmail.com" ]
incenselee@hotmail.com
ce13d280984b9699b791c9a9c7ffd9de648809c2
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/surface/ml/language/__init__.py
f511dd8316455437eb6664c2e962454fef136788
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
1,001
py
# -*- coding: utf-8 -*- # # Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
6443cc941ca5cf0c8c0c59cd75851fbf86f4999e
93cdde5d9d5d248b85b0c7cbf1f1ae76ad51b6b0
/new_soft/main_Control/DataM/DataManager.py
8bfa06d30f72ee1ac1a8083cdbe5f2f1814faf71
[]
no_license
841661831/perception
539a476d649e9a4364ad01f3405a8db1c078640f
31918e28fa3390390c4ea6208132d48164f95f73
refs/heads/master
2021-07-08T16:05:41.591419
2021-06-18T05:29:52
2021-06-18T05:29:52
246,080,065
1
0
null
null
null
null
UTF-8
Python
false
false
4,024
py
from Common.CommonDefine import * from Common.CommonInterface import StructSysState, parse_sys_state, DataBase class DataManager(object): """数据管理""" def __init__(self, data_bus_server, log, list_channel, expire_time): """ :param data_bus_server: redis服务 :param log: 日志模块 :param...
[ "siyu@wanji.net.cn" ]
siyu@wanji.net.cn
c7f7c159d7df0921ad7844266ffeadf088accb21
ccc83a52a4ba6afc0fe6ead2e8c9430312976036
/src/models.py
27cb35a5af8abf407360f19b9652c1a40cd0e238
[]
no_license
akostyukov/gallery-fastapi
2d3094585565a33d83082d3b001599f8c869dde3
d31fc033e2f0e180a23241855cfb7cfd6e7d9413
refs/heads/master
2023-06-01T20:11:29.540648
2021-06-22T10:06:02
2021-06-22T10:06:02
354,082,418
0
0
null
2021-06-22T10:06:03
2021-04-02T17:05:10
Python
UTF-8
Python
false
false
1,207
py
from tortoise import Tortoise, fields from tortoise.contrib.pydantic import pydantic_model_creator from tortoise.models import Model class User(Model): email = fields.CharField(max_length=255, unique=True) username = fields.CharField(max_length=100) class Comment(Model): author = fields.ForeignKeyField(...
[ "apkostyukov@gmail.com" ]
apkostyukov@gmail.com
ffa298f53b6d7c4dee1a0c63e9d7f3a7de101945
a741660302b90e8951ee1ef9a4cfce9e19b2070e
/Enhancement.py
9bd3be442e3d61dc31ee2b49d6441aeaf19189b7
[]
no_license
asal97/Computer-Vision-Assignments
cca082b1b52e103b8dbca80dbf0621ecf73cf78e
23d74bca4992f40457d512c37af9e082bbc99d60
refs/heads/master
2021-04-08T16:40:52.283697
2020-04-19T17:41:47
2020-04-19T17:41:47
248,790,983
3
0
null
null
null
null
UTF-8
Python
false
false
1,642
py
import cv2 import numpy as np #read input image image = cv2.imread("Capture.png") # define sharpening kernel # In image processing, a kernel, convolution matrix, or mask is a small matrix # It is used for blurring, sharpening, embossing, edge detection, and more. # This is accomplished by doing a convolution between ...
[ "asal.asgari19@gmail.com" ]
asal.asgari19@gmail.com
1ba6dbfa34e1a2a81ebe61854152f8c935ac8fca
19f9c3c5ab80bcb03a5afafa7797b1bf76ff638c
/Python_Programming/chapter1/gui4.py
725cfca909c7f0bd267e6b5fc9fc45d60aade1f3
[]
no_license
komakim/python_training
9c8edba0fc73e0396838bfd7f293742f6d2e3d44
2e6429f2b36302363cf7e07d3cab73a62bddd832
refs/heads/master
2021-07-25T09:20:14.811067
2017-11-06T14:55:31
2017-11-06T14:55:31
109,708,356
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
from Tkinter import * def greeting(): print 'Hello stdout world!' win = Frame() win.pack() Label(win, text='Hello container world!').pack(side=TOP) Button(win,text='hello',command=greeting).pack(side=LEFT) Button(win,text='Quit',command=win.quit).pack(side=RIGHT) win.mainloop()
[ "masako-k@masako-k-no-MacBook-Air.local" ]
masako-k@masako-k-no-MacBook-Air.local
7466e2d7e4f98cd5ced460881b5a36bc4eb09515
e7d38a7ae5ba729dc60faedc7fb3a05455557734
/public.py
880bfc5dc33579b416241a24b87115482fc2b4a5
[]
no_license
jagatsastry/crossie
974811db42b363cc31e2c65cc8ff5b77ecc374d6
7865dbc75431514147a4bcafa3572756c60abe2e
refs/heads/master
2021-01-17T15:58:32.434190
2011-05-14T04:46:42
2011-05-14T04:46:42
1,746,806
0
1
null
null
null
null
UTF-8
Python
false
false
674
py
from google.appengine.ext import webapp from google.appengine.api import users from google.appengine.ext.webapp.util import run_wsgi_app import simplejson class GetUserInfo(webapp.RequestHandler): def get(self): self.response.headers['Content-Type'] = 'application/json' user = users.get_current_u...
[ "anupcshan@gmail.com" ]
anupcshan@gmail.com
924874fa0493391185c2ec0708e615b41916834c
1f5f8f95530003c6c66419519d78cb52d21f65c0
/projects/golem_api/tests/golem_endpoint/get_golem_actions.py
582257358bedfddeceba8c2dcedfd9930ec62a4d
[]
no_license
golemhq/golem-tests
c5d3ab04b1ea3755d8b812229feb60f513d039ac
dff8fd3a606c3d1ef8667aece6fddef8ac441230
refs/heads/master
2023-08-17T23:05:26.286718
2021-10-04T20:34:17
2021-10-04T20:34:17
105,579,436
4
1
null
2018-11-19T00:14:24
2017-10-02T20:05:55
Python
UTF-8
Python
false
false
310
py
from projects.golem_api.pages import golem_ def test(data): response = golem_.get_golem_actions() assert response.status_code == 200 assert response.headers['Cache-Control'] == 'max-age=604800, public' action = [x for x in response.json() if x['name'] == 'click'] assert len(action) == 1
[ "luciano@lucianorenzi.com" ]
luciano@lucianorenzi.com