blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
f724e169f0e72fb09bce266d3710febb7de1132d
31eca08712e704566fb924093d7dde2e94348a79
/examples/generate_from_image.py
fb955999ad646ac5d71ad769fdceaf31f6ea99fe
[ "MIT" ]
permissive
ZhengWenSEC2023/SF_temp
dae2b3282af8867549817d0865d1e2a1a235b90e
48c31d94bd93bb18c05bfc19a6dab2d2206d6fba
refs/heads/main
2023-01-08T16:59:28.642007
2020-11-04T09:12:25
2020-11-04T09:12:25
306,948,372
0
0
null
null
null
null
UTF-8
Python
false
false
2,554
py
""" 9. 19. 2020 by Zheng Wen This file is used to generate 3D models from input 4-channel images Run from anaconda console """ import torch import torch.nn.parallel import examples.recon.datasets as datasets from examples.recon.utils import AverageMeter, img_cvt import soft_renderer as sr import soft_renderer.functi...
[ "buaawenz@gmail.com" ]
buaawenz@gmail.com
ed2c75fad5d5e39f4840aa3b8b02b3ca34f25f33
abccdbf9b0849b47960c3c352870793405debfed
/0x06-python-classes/5-square.py
110324fa78283dc13f9f68d46839961d8eb701db
[]
no_license
hunterxx0/holbertonschool-higher_level_programming
88b1b0f31b536c6940f2e64a6924a06ba9cbf193
44064cf0722cd20d93f58b64ab185d2898770d73
refs/heads/master
2022-12-20T12:14:15.877147
2020-09-24T21:25:54
2020-09-24T21:25:54
259,276,369
0
1
null
null
null
null
UTF-8
Python
false
false
987
py
#!/usr/bin/python3 """a class Square that manages: size """ class Square: """a class Square with size management """ def __init__(self, size=0): if isinstance(size, int): if size < 0: raise TypeError('size must be >= 0') else: self.__size = s...
[ "azouzimhamed@gmail.com" ]
azouzimhamed@gmail.com
757629a5694442b320003a93821932d673584ac7
a5e5f074d1c3ac90ec01114e9efd9e32a4014679
/config/custom_components/waste_collection_schedule/waste_collection_schedule/source/abfall_io.py
6617410b1aaefa2f6d0a96bc80676011a7092aa3
[ "MIT" ]
permissive
mhaack/home-assistant-config
a46a28842d9c71f670bd599c06911bcf4ccffdb5
3f15dce23b297c9f080f78171907fc7bde92d4ec
refs/heads/master
2022-11-04T12:25:38.119829
2022-10-28T15:11:56
2022-10-28T15:11:56
186,481,992
33
5
MIT
2021-05-13T12:15:35
2019-05-13T19:24:20
Python
UTF-8
Python
false
false
4,208
py
import datetime from html.parser import HTMLParser import requests from waste_collection_schedule import Collection # type: ignore[attr-defined] from waste_collection_schedule.service.ICS import ICS TITLE = "AbfallPlus" DESCRIPTION = ( "Source for AbfallPlus.de waste collection. Service is hosted on abfall.io." ...
[ "markus.haack@gmail.com" ]
markus.haack@gmail.com
3ec345329b50b046e56932d8114be7f29c685799
8f6a9ff4c63fd24d145088077d5da1c3e4caaa3a
/notebook/investment/gold/goldDatamaintain.py
cba86364408209959a14a2327fce2bd61213f313
[]
no_license
liaofuwei/pythoncoding
6fd2afba0d27c4a4bbb4b2d321b3fa402a60d6fe
966bd99459be933cf48287412a40e0c7a3d0b8e5
refs/heads/master
2021-07-15T10:34:57.701528
2017-10-10T05:27:13
2017-10-10T05:27:13
107,651,470
0
1
null
null
null
null
UTF-8
Python
false
false
7,303
py
__author__ = 'Administrator' import quandl import datetime import pandas as pd from bs4 import BeautifulSoup import requests import time import urllib import numpy as np ''' 从新浪行情获取comex 黄金实时数据 并以添加模式写入到csv中 ''' COMEXgold_Url ="http://hq.sinajs.cn/list=hf_GC" COMEXgold_web_data = requests.get(COMEXgold_Url) COMEXgol...
[ "459193023@qq.com" ]
459193023@qq.com
7b2f0d7f8f0495df550f83cadc62f3dae6e2b2d2
000637e87e6483528549fdfb640681296e9d339b
/plugins/hyperlinks.py
d84ad008d65567593129370e3cc5caa17e63d12b
[ "Apache-2.0" ]
permissive
tarunjindl/cosr-back
c448666faaa101a94b68ad80e11c0728f7f9e603
45f87e80dff6d1d3d04ceeb2e3d4e430c6995a2b
refs/heads/master
2021-01-14T14:32:49.031752
2016-07-30T06:08:50
2016-07-30T06:08:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,514
py
from pyspark.sql import types as SparkTypes from cosrlib.plugins import Plugin from cosrlib.spark import sql class MostExternallyLinkedPages(Plugin): """ Saves a list of most externally linked pages on a domain """ hooks = frozenset(["document_post_index", "spark_pipeline_action", "spark_pipeline_init"]) ...
[ "sylvain@sylvainzimmer.com" ]
sylvain@sylvainzimmer.com
be5bddd74acf5188ae2561466ed2e19a33e6b684
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_094/ch74_2019_04_04_17_13_33_711735.py
d30f9fcfe2f3f9495b90198d21862f75a8a91b1d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
palavra = list(input("me fale uma palavra: ")) def conta_bigramas(palavra): contagem = {} i = 0 while i<len(palavra): bi = [''.join(palavra[i:i+2])] for e in bi: if e in contagem: contagem[e]+=1 else: contagem[e]=1 i+=1 retu...
[ "you@example.com" ]
you@example.com
e518acd1066a2edf76fba8199bed5203dc37361c
a0b78bdb544958e454f331dc9f33f740b6dbb652
/rosshow/src/librosshow/plotters.py
87f0c0533df3ef73e0f44f529159c89ec32161c9
[ "BSD-3-Clause" ]
permissive
AcutronicRobotics/rosshow
e870b45b2631a696ac1dcbe36e47527627147a36
df6dafa64d87b5ac542fab7902a83c57d17de909
refs/heads/master
2020-05-04T09:10:58.498006
2019-04-01T18:31:00
2019-04-01T18:31:00
179,062,920
6
3
null
2019-04-02T11:26:39
2019-04-02T11:26:39
null
UTF-8
Python
false
false
3,524
py
import math import numpy as np import librosshow.termgraphics as termgraphics class AnglePlotter(object): def __init__(self, g, left = 0, right = 1, top = 0, bottom = 1): self.g = g self.left = left self.right = right self.top = top self.bottom = bottom self.angle = 0...
[ "dheera@dheera.net" ]
dheera@dheera.net
1d8207c5e65b0909fd892165306a025151dbdb7b
8629f82f971f4e036c2b6358fe353a2c88bfd098
/scripts/annotation/assign_synonyms_to_annotations_from_augustus_gff.py
0cd6ecd78123b323d158c0fb3e1509c3ad021683
[ "MIT" ]
permissive
mahajrod/MAVR
92828fa1c191b5f8ed08f1ba33f1684df09742cd
8c57ff5519f130357e36e6f12868bc997e52a8a7
refs/heads/master
2023-08-25T01:02:24.738724
2023-08-22T15:13:39
2023-08-22T15:13:39
21,181,911
11
6
null
2017-09-18T20:25:16
2014-06-24T21:45:57
Python
UTF-8
Python
false
false
1,060
py
#!/usr/bin/env python __author__ = 'Sergei F. Kliver' import argparse from RouToolPa.Tools.Annotation import AUGUSTUS parser = argparse.ArgumentParser() parser.add_argument("-i", "--input_gff", action="store", dest="input_gff", required=True, help="Input gff from AUGUSTUS") parser.add_argument("-...
[ "mahajrod@gmail.com" ]
mahajrod@gmail.com
6ac594ab2f1141ec1102f30becfbf1867fd8e8f1
fc1dadb3d5b6aee76317423191b2d0b1a3eaec48
/02_第二月/10day/01_plan_wal.py
a9430a5314fcaf0346d4846439499559c3458c49
[]
no_license
2332256766/work
9dacb9a0cce28b2f5de1e574bbead1a1e37ae0a6
24e15aa16949508eec0f25f45a8ad18b3bfa5993
refs/heads/master
2020-03-27T20:25:54.669064
2018-09-02T09:23:17
2018-09-02T09:23:17
147,069,102
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
#框架 import pygame from sprites import * class Plan_wal(object): '''飞机大战主游戏''' def __init__(self): '''游戏初始化''' self.sereen=pygame.display.set_mode(SCREEN_RECT.size)#屏幕 self.pygame.time.Clock()#时钟 self.__create_sprites()#精灵组 def Start_Game(self): '''开始游戏''' print('开始游戏...') while True: self.Clock.ti...
[ "2332256766@qq.com" ]
2332256766@qq.com
ee8f762690c3aee66d0ee657ebf195e4281628cf
4781d9293b59a5072647bb179195b143c60621bd
/SW Expert Academy/1249_보급로/1249_보급로.py
8cf447f6f7cd6f2decc6a4746c13f67125d85a6f
[]
no_license
chriskwon96/Algorithm_codes
bf98131f66ca9c091fe63db68b220527800069c9
edb7b803370e87493dad4a38ee858bb7bb3fd31d
refs/heads/master
2023-08-15T18:48:26.809864
2021-10-12T13:43:21
2021-10-12T13:43:21
387,803,476
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
di = [0, +1, 0, -1] dj = [+1, 0, -1, 0] def bfs(): global min_dis while q: x, y = q.pop(0) dis = min_matrix[x][y] # [x,y]까지 도착하는데 걸린 지금까지의 최소거리 for k in range(4): new_x, new_y = x + di[k], y + dj[k] if 0 <= new_x <= N-1 and 0 <= new_y <= N-1 and (new_x or new_y):...
[ "chriskwon96@naver.com" ]
chriskwon96@naver.com
5376893589b9fd21e00e15b6c5060c0bcf1ab938
650dbc2f9642ebccb3a8d1c79d45f56706fa39be
/tests/test_cli.py
bfd9aee9e623238294aa3fd2a90771891f3a0464
[ "Apache-2.0" ]
permissive
Z2PackDev/symmetry_representation
72f7f7b6b54c3d055b173833bbb1e60fcc9e7c38
defb21f66831b2314226469b8bdb68ef84b7855b
refs/heads/develop
2021-01-23T03:27:32.346583
2020-04-29T10:50:00
2020-04-29T10:50:00
86,079,575
6
3
Apache-2.0
2020-04-29T10:50:02
2017-03-24T14:56:33
Python
UTF-8
Python
false
false
1,616
py
# (c) 2017-2018, ETH Zurich, Institut fuer Theoretische Physik # Author: Dominik Gresch <greschd@gmx.ch> """ Tests for the command-line interface ``symmetry-repr``. """ import tempfile from click.testing import CliRunner import symmetry_representation as sr from symmetry_representation._cli import cli def test_fil...
[ "greschd@gmx.ch" ]
greschd@gmx.ch
3a0ebead1d4630b5c9353d068fb039ffb4eec76e
83f443f454716d534eff57ef399f86aa9a267b20
/f4_func_model/visual/0_feature_scatter_series.py
3c349e597cf1f1a1cbf88b3b7af5d93cebeb401e
[]
no_license
Gilbert-Gb-Li/Artificial-Intelligence
fef400c9e767ba7e348e1f135164da1e13c04592
28247627eab50613c1a5bf67f70e979a0a9eecb2
refs/heads/master
2021-04-23T19:46:19.556837
2020-04-09T08:47:42
2020-04-09T08:47:42
249,986,422
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
# -*- coding: utf-8 -*- """ 查看数据关系 """ import pandas as pd data_train = pd.read_csv("data/train.csv") # print("看每列统计信息", data_train.describe()) # 连续型数据 import matplotlib.pyplot as plt rm = data_train['Age'] medv = data_train['Survived'] ''' 参数: x: rm, 横坐标 y: medv, 纵坐标 c: medv, 打印的点坐标,也可以为颜色...
[ "gb.l@foxmail.com" ]
gb.l@foxmail.com
1025074231b68af591fa8350f174052a89662938
2f9d80880aa96d664f67e452b4c9b218f0b01194
/scripts/serve.py
a54600be880b85b9bbb1092e0344167b54178ccc
[]
no_license
janezd/janezd.github.io
81764cc45618f111dc7d667989869217b6a37d14
db80592cc625d32f788816a3820675afef808af8
refs/heads/master
2021-06-18T22:34:28.474969
2021-03-18T11:03:08
2021-03-18T11:03:08
34,021,698
1
0
null
null
null
null
UTF-8
Python
false
false
229
py
import webbrowser import http.server import socketserver Handler = http.server.SimpleHTTPRequestHandler httpd = socketserver.TCPServer(("", 8000), Handler) webbrowser.open_new_tab("http://127.0.0.1:8000") httpd.serve_forever()
[ "janez.demsar@fri.uni-lj.si" ]
janez.demsar@fri.uni-lj.si
1d69114b5c7841ef7ea232770ae36d22a2c00b78
82b3bcc6467c93c8b84948e7df1ec32fe4c4b004
/WEEK 5/Day 4/OOP-lesson-day4/code.py
4e24fda0762e4cceb8040e801591512b560b69fa
[]
no_license
MrAch26/Developers_Institute
b7868fc94556bfced4cb53537278c3ec17991426
840c9710278af033ccdb5f5c3edd7a2a97476aba
refs/heads/master
2023-03-28T19:31:11.666544
2021-04-06T06:54:20
2021-04-06T06:54:20
298,250,894
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# with open("jaime.txt", "a+") as f: # f.write("jaime saucisses2\n") # def getline(file_path, line_num): # with open(file_path , 'r') as f: # for i in range(line_num): # line = f.readline() # return line # exe_lesson with open('exe.txt','r') as f: # print(f.read()) # print(...
[ "MrAch26@users.noreply.github.com" ]
MrAch26@users.noreply.github.com
9162539551e9c8c53f4deadca2948187db610615
99a0d0aef548d7573a62076e2b118ed6b9cb68c9
/transitionMatrix/creditratings/creditcurve.py
69346d0ebc5d5964d49284e60d2775c6027e2f72
[ "Apache-2.0" ]
permissive
sanjaymisri/transitionMatrix
cbf7a4311944e4cf008a07cd14393bfd40e00add
6f390452fa2f78512abe625acef4acf4d73d8569
refs/heads/master
2023-05-27T10:02:41.146912
2021-06-09T07:52:23
2021-06-09T07:52:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,191
py
# encoding: utf-8 # (c) 2017-2021 Open Risk (https://www.openriskmanagement.com) # # TransitionMatrix is licensed under the Apache 2.0 license a copy of which is included # in the source distribution of TransitionMatrix. This is notwithstanding any licenses of # third-party software included in this distribution. You ...
[ "openrisk@outlook.com" ]
openrisk@outlook.com
588d505ccf3c70d90d3b432b71dc6bfb0e86d02f
27c94d7e040902d3cdadd5862b15e67ec2ee4b6e
/xautodl/xmisc/__init__.py
e47d2bcdd1ea061efebcc00defcb6e05832ea773
[ "MIT" ]
permissive
D-X-Y/AutoDL-Projects
8a0779a7710d809af2b052787928d8d34c14d0d9
f46486e21b71ae6459a700be720d7648b5429569
refs/heads/main
2023-08-13T10:53:49.550889
2022-04-24T22:18:16
2022-04-24T22:18:16
168,538,768
989
197
MIT
2022-04-24T22:16:21
2019-01-31T14:30:50
Python
UTF-8
Python
false
false
1,138
py
##################################################### # Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2021.06 # ##################################################### """The module and yaml related functions.""" from .module_utils import call_by_dict from .module_utils import call_by_yaml from .module_utils import nested_ca...
[ "280835372@qq.com" ]
280835372@qq.com
d48b8916b6e44d99e3d4d91d89749b246e23a98a
7900235c769094ba3ae6e135498569b2cb473908
/econ_platform_core/databases/__init__.py
c9dfc5901ae469d89087f9a8a9a2a0a8122dce1d
[ "Apache-2.0" ]
permissive
dlcatt/platform
0dc423e9209348f3dce73fc840c27473d3828ca4
c80614d847ea83643bae597ee72ac1749cd3b401
refs/heads/master
2023-05-01T16:14:42.950098
2019-05-23T01:19:28
2019-05-23T01:19:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,498
py
""" Database managers. Minimal implementation Copyright 2019 Brian Romanchuk 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 ap...
[ "brianr747@gmail.com" ]
brianr747@gmail.com
0176f7ee424b4384250fcb2bcc9d5cfbf3d321cf
5983ea8a59cd0b9763e0eb0dfc7f26dfd2ba5e60
/2019102962刘铎/control-demo.py
759ffd567bd0c040b4ba92c527280b7ac8b0fa11
[]
no_license
wanghan79/2020_Master_Python
0d8bdcff719a4b3917caa76ae318e3f8134fa83a
b3f6f3825b66b93ec6c54ed6187f6c0edcad6010
refs/heads/master
2021-01-26T13:29:09.439023
2020-06-23T02:17:52
2020-06-23T02:17:52
243,442,589
11
6
null
2020-03-29T05:59:29
2020-02-27T05:55:52
Python
UTF-8
Python
false
false
1,142
py
#1.随机生成1000个[0,100]范围内的浮点随机数,1000个随机字符串,存放在set集合中; # 2. 使用控制语句遍历这个集合,取出[20,50]之间的数字和包含子串“at”的字符串; # 3.上述工作分别封装在不同的函数中,并采用主函数完成整体任务流程。下周课上我们根据这个练习讲解控制语句和函数封装相关内容。 import random def Add(num1,num2): a=set() for i in range(num1): a.add(random.uniform(0,100)) for i in range(num2): randomlength =...
[ "noreply@github.com" ]
wanghan79.noreply@github.com
779a365b3ef110cd3b475470a76deef417130bc8
66e6360325b781ed0791868765f1fd8a6303726f
/TB2009/WorkDirectory/5112 Dump to Ntuple/DumpToNtuple_108531.py
beb4a244e31944150b74720b7d00c626bd476e32
[]
no_license
alintulu/FHead2011PhysicsProject
c969639b212d569198d8fce2f424ce866dcfa881
2568633d349810574354ad61b0abab24a40e510e
refs/heads/master
2022-04-28T14:19:30.534282
2020-04-23T17:17:32
2020-04-23T17:17:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
import FWCore.ParameterSet.Config as cms process = cms.Process("VlsbLook") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) process.source = cms.Source("HcalTBSource", fileNames = cms.untracked.vstring("file:/tmp/chenyi/HTB_108531.root"), streams = cms.untracked.vstring('Chunk699...
[ "yichen@positron01.hep.caltech.edu" ]
yichen@positron01.hep.caltech.edu
20560e8f02d09e30d1635b30c30c3c81b5efe211
37f49f6979fdc6e87fd469e66ae8d89361a22a47
/strings.py
e880d0efeb917cdce75f716e7144b79a4bc009ee
[]
no_license
liberbell/py23
7e720fb809f39b068096fa954163e4c8d8f1ed58
ff4830fe11e0d8e1506d46693dba40589c1eff23
refs/heads/master
2022-11-22T01:50:24.191553
2020-07-19T23:58:12
2020-07-19T23:58:12
277,677,589
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
print("World") x = "World" print(x) print(x[0]) print(x[3]) # print(x[6]) # x[0] = "B" print(x) a, b, c, d, e = x print(a) print(a, b, c, d, e) # a, b, c, d = x # print(x) a, b, _, _, _ = x print(b) # print(input("How are you?: ")) # place = input("Where are you from?: ") place = "New York City" print(place) pri...
[ "liberbell@gmail.com" ]
liberbell@gmail.com
2dd42095e9421c895f3494b15b670b96a0ec549a
ac1bbabc7c1b3149711c416dd8b5f5969a0dbd04
/Programming Basics/for_loop/hospital.py
ca528c6ecf42651342c32f3d7c31a485cbfe5bee
[]
no_license
AssiaHristova/SoftUni-Software-Engineering
9e904221e50cad5b6c7953c81bc8b3b23c1e8d24
d4910098ed5aa19770d30a7d9cdf49f9aeaea165
refs/heads/main
2023-07-04T04:47:00.524677
2021-08-08T23:31:51
2021-08-08T23:31:51
324,847,727
1
0
null
2021-08-08T23:31:52
2020-12-27T20:58:01
Python
UTF-8
Python
false
false
461
py
days = int(input()) patients_done = 0 patients_left = 0 doctors = 7 for day in range(1, days + 1): patients = int(input()) if day % 3 == 0: if patients_left > patients_done: doctors += 1 if patients <= doctors: patients_done += patients else: patients_done += doctor...
[ "assiaphristova@gmail.com" ]
assiaphristova@gmail.com
cb8680168861526242458981ed0a7054de71bd9e
ddce4bf452b7b68fb06403c7cabeba196229ce31
/OTR/auto_pick_transfer/boxer_to_spi.py
a099e45e6308c0f3b258342f2b1af1881ba6f888
[]
no_license
leschzinerlab/SPIDER
b01833dc984995dfbc50aa9a155e0f2353d7d18d
5c46ed37ecf57097ea308dc1fdfed3e04e69ae63
refs/heads/master
2021-01-21T21:38:58.217903
2016-05-13T05:39:48
2016-05-13T05:39:48
15,805,142
1
0
null
null
null
null
UTF-8
Python
false
false
1,262
py
#!/usr/bin/env python import sys #============================= def convert_box_to_spi(boxfile): f1 = open(boxfile,'r') o1 = open('%s_picks.spi' %(boxfile[:-4]),'w') count = 1 for line in f1: l = line.split() x = float(l[0]) y = flo...
[ "michael.a.cianfrocco@gmail.com" ]
michael.a.cianfrocco@gmail.com
e1e070da34cfa9e61e4817861f995f9c638c1a96
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/ef48cef3ead37fffd0a38c365b629d206354545f-<test_tightbbox>-fix.py
8babd472735c7bda2dd9a12a54483c2dc6c0b26a
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
def test_tightbbox(): (fig, ax) = plt.subplots() ax.set_xlim(0, 1) t = ax.text(1.0, 0.5, 'This dangles over end') renderer = fig.canvas.get_renderer() x1Nom0 = 9.035 assert (abs((t.get_tightbbox(renderer).x1 - (x1Nom0 * fig.dpi))) < 2) assert (abs((ax.get_tightbbox(renderer).x1 - (x1Nom0 * f...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
b63155a8128ddb5565766f18bbbea2e189b4839b
b3cf22a22bb787f982be2ddeac98cebbb2d8885b
/test.py
8b90094139e8ea8ebbc61301908cc1010142c313
[]
no_license
mrvbrn/HB_project
c1fea7ec77826a70efad3540d98e389dc0eda7ab
5295c12c364cb0913711e360f49a2ac2df9bfbcf
refs/heads/master
2023-02-21T23:38:16.967424
2021-06-13T18:46:32
2021-06-13T18:46:32
170,412,352
0
0
null
2023-02-15T21:36:49
2019-02-13T00:22:02
HTML
UTF-8
Python
false
false
2,257
py
import unittest from server import app from model import connect_to_db, db, example_data from flask import session class FlaskTestsBasic(unittest.TestCase): """Flask tests.""" def setUp(self): """Stuff to do before every test.""" # Get the Flask test client self.client = app.test_clie...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
e2ffca9e3f6f943ade39555eef168acefb3a6676
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/1530-Number-of-Good-Leaf-Nodes-Pairs/soln-1.py
a2765c34dec6fccf09dcdc84873588d9697aa6f5
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
958
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def countPairs(self, root: TreeNode, distance: int) -> int: self.cnt = 0 def postorder(node)...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
c9d676b686eefee10025d9c0fd8639ee241175fb
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/batch/v20170101/__init__.py
5a70cabaca83ac30528e1461df74f943742c9200
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,505
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** # Export this package's modules as members: from ._enums import * from .application import * from .application_package import * from .batch_account imp...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
13e78cdefcbeecd1b4149eae2d48f0f2ebc5b95c
3a093f6a40e8fb24957d277ad8f4b097d08c6d04
/result/tools/search_interesting_events.py
c0e1bd0f554fbb96e0b1f7538f05d7f239d85422
[]
no_license
dlont/FourTops2016
ab9e953760e93b0e777b23478938efd30d640286
88c929bf98625735a92a31210f7233f799c5a10c
refs/heads/master
2021-01-18T22:23:52.796080
2019-07-31T12:34:03
2019-07-31T12:34:03
72,439,490
0
1
null
null
null
null
UTF-8
Python
false
false
1,705
py
#!/usr/bin/python import ROOT as rt import os import pprint CRANEEN_FILES_PATH = '/user/dlontkov/t2016/result/final_unblinding/filtered_samples/plots_mu_filt_custombinning_10J4M_JERSummer16_v0.0.41_weightbugfix_v3/Craneen_Data*.root' # wildcards are supported TREE_NAME = 'Craneen__Mu' # must be Craneen__Mu o...
[ "denys.lontkovskyi@cern.ch" ]
denys.lontkovskyi@cern.ch
1289400e40bc5e9efdbeb1669148a4442fa4e748
3bbd8880fe7eb97e7145ae391a72e06083b8b77f
/ensemble/fincausal2021/resort.py
04bc08fdce4b4b86fc71f4b28230c24cfb43f176
[ "Apache-2.0" ]
permissive
Xianchao-Wu/fincausal2021
100822b72c362b8af82cbabfc0755ba5131a5ef6
58fbeef20e6b0c8982f46e85c09fdb5af2a53bf8
refs/heads/master
2023-07-29T18:13:14.376074
2021-09-16T13:56:37
2021-09-16T13:56:37
403,458,877
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
# resort ref ref="fnp2020-train-full-eva.csv" out="9951-albert-out/predictions.csv" def readfn(afile): outlist = list() outdict = dict() with open(afile) as br: for aline in br.readlines(): aline = aline.strip() outlist.append(aline) cols = aline.split(';') ...
[ "wuxianchao@gmail.com" ]
wuxianchao@gmail.com
5712ca0d48ce626c9688c69645cda31f71b5ef62
329e9204350dee722f45370202b658290b7d9849
/repl.py
2f778e2a03e69b3dbf85c2e20bf9278c2f24cde1
[]
no_license
8l/rotten
0f4ada4850f0b0001951b0eeccc0c05e82daed20
cf50fb03f1724623c911b9e20a769186eb4c5944
refs/heads/master
2021-01-17T20:02:13.164754
2015-05-01T20:03:30
2015-05-01T20:03:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,025
py
#!/usr/bin/env python import sys import sexp from sexp import Symbol import vm def read_all(f): string = f.read() buf, exps = sexp.parse_exps(buffer(string)) assert not buf # should have read to EOF return exps def read_file(filename): with open(filename) as f: return sexp.co...
[ "daekharel@gmail.com" ]
daekharel@gmail.com
3b890451d8e84d2c1c38874bc59fb384c13ab07c
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayMarketingCampaignDrawcampStatusUpdateResponse.py
524c3b2334e3826283c9821b06b9c1a91f030918
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
787
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayMarketingCampaignDrawcampStatusUpdateResponse(AlipayResponse): def __init__(self): super(AlipayMarketingCampaignDrawcampStatusUpdateResponse, self).__init__() s...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
a3de9793d06b682040ff3059ebf27c2cb29f1248
959792313c5cd27596f5cf613a825160c2879c6f
/algomaster/content/migrations/0003_auto_20150313_1915.py
88f5d5643983cd8eed2800ff3bb5e7c732ea405e
[]
no_license
SDM-OS/algomaster
8329e2b868b3822b46987da7c985390b273ee5ae
82d4a07a6ef1cb7586a832709b7ca22aa72e5367
refs/heads/master
2020-12-24T15:04:58.475438
2015-03-14T01:42:55
2015-03-14T01:42:55
32,173,343
1
0
null
null
null
null
UTF-8
Python
false
false
542
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('content', '0002_auto_20150313_1859'), ] operations = [ migrations.AlterField( model_name='content', ...
[ "shashiessp@gmail.com" ]
shashiessp@gmail.com
c81c399e088ba52b6b71c1ff02612a6ac93bc464
98f1a0bfa5b20a0b81e9e555d76e706c62d949c9
/python/dgl/_ffi/object.py
e6fa7cff6de78a86ee58c535edf9868f493fc457
[ "Apache-2.0" ]
permissive
dmlc/dgl
3a8fbca3a7f0e9adf6e69679ad62948df48dfc42
bbc8ff6261f2e0d2b5982e992b6fbe545e2a4aa1
refs/heads/master
2023-08-31T16:33:21.139163
2023-08-31T07:49:22
2023-08-31T07:49:22
130,375,797
12,631
3,482
Apache-2.0
2023-09-14T15:48:24
2018-04-20T14:49:09
Python
UTF-8
Python
false
false
3,750
py
"""Object namespace""" # pylint: disable=unused-import from __future__ import absolute_import import ctypes import sys from .. import _api_internal from .base import _FFI_MODE, _LIB, c_str, check_call, py_str from .object_generic import convert_to_object, ObjectGeneric # pylint: disable=invalid-name IMPORT_EXCEPT = ...
[ "noreply@github.com" ]
dmlc.noreply@github.com
bdb0fa445827b9a67ca72ba6bb2c873eba4b1c18
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/o7u9hqTW5AY3SoZgT_21.py
e84c8ccdcd92a87383990bc8775c95a8816a1a0c
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
def switcheroo(txt): txt = list(txt) for i in range(len(txt) - 3): if not txt[i+3].isalnum(): if txt[i:i+3] == ['n', 't', 's']: txt[i:i+3] = ['n', 'c', 'e'] elif txt[i:i+3] == ['n', 'c', 'e']: txt[i:i+3] = ['n', 't', 's'] return "".join(txt)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
c89d9c6dad7018f95fbd30f471e0e869486bf10f
91deb97afda334c5366e560325995cf6b5407bee
/src/command_modules/azure-cli-eventgrid/azure/cli/command_modules/eventgrid/sdk/models/__init__.py
ad8c48d0ee3d4ffc607bd799001b45b0ee47d8e8
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
viananth/azure-cli
ab117c1b0b676026cbb57567544cd70630efe830
4d23492ed03e946cfc11bae23b29acb971fb137d
refs/heads/master
2021-05-23T05:13:51.414113
2017-08-17T16:58:10
2017-08-17T16:58:10
95,239,804
0
0
NOASSERTION
2019-03-19T18:45:16
2017-06-23T17:01:34
Python
UTF-8
Python
false
false
2,525
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "debekoe@microsoft.com" ]
debekoe@microsoft.com
853efa675e5e54ced60886c3cc5a8a09cb72704d
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/refactoring/pullup/instanceNotDeclaredInInit.after.py
812bd9ce6364e5c41d1b2a1c1b4dc11ac49605c4
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
132
py
class Parent(object): def __init__(self): self.foo = 12 class Child(Parent): def foo(self): self.foo = 12
[ "Ilya.Kazakevich@jetbrains.com" ]
Ilya.Kazakevich@jetbrains.com
5f0745dea19783ffc21abbcb089c31654ed9f91a
3ba8fe7ebb90b82a8bbc74a6ccb4417c1731d6b8
/gui/about.py
c3a7a8a0026f45d60ef4cd790613f0eda5f58e99
[]
no_license
Inter-Actief/JulianaNFC_Python
347fab3e44dabd857d9f66acb602bdac3168f959
544f4e4c5b11f7d310b613f77023ed49770700ba
refs/heads/master
2022-10-05T17:36:07.732058
2022-09-19T19:00:06
2022-09-19T19:00:06
119,987,329
0
0
null
2022-09-16T15:05:40
2018-02-02T13:48:53
Python
UTF-8
Python
false
false
2,932
py
import wx import wx.adv from juliana import resource_path class AboutDialog(wx.Dialog): def __init__(self, *args, **kwargs): from juliana import APP_SUPPORT, APP_LINK kwargs["style"] = kwargs.get("style", 0) | wx.DEFAULT_DIALOG_STYLE wx.Dialog.__init__(self, *args, **kwargs) self.S...
[ "kevin@kevinalberts.nl" ]
kevin@kevinalberts.nl
f2ab5f5e63062a237402ca2ffbc53bafd2682b65
ba694353a3cb1cfd02a6773b40f693386d0dba39
/sdk/python/pulumi_google_native/compute/alpha/get_instance_template.py
54a39f0c6561be6f83e81c7ee3821cc744291a22
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-google-native
cc57af8bd3d1d6b76f1f48333ed1f1b31d56f92b
124d255e5b7f5440d1ef63c9a71e4cc1d661cd10
refs/heads/master
2023-08-25T00:18:00.300230
2023-07-20T04:25:48
2023-07-20T04:25:48
323,680,373
69
16
Apache-2.0
2023-09-13T00:28:04
2020-12-22T16:39:01
Python
UTF-8
Python
false
false
8,058
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _u...
[ "noreply@github.com" ]
pulumi.noreply@github.com
8ca9e51593e30c73f9bb25495144564d74b35b0a
90d3b9467dcc6763865cad90a04a247cafcf5862
/phone_lap/admin.py
3689c839f351ea3abd323228aac7cfa79466eda0
[]
no_license
vandat9xhn/django_1
0fa51515549eab04c27bdfeaf9e43650fe44dc70
6669e172d6b5a2a729dd31ea43d6c08f76b6e19c
refs/heads/master
2023-06-23T19:46:26.558871
2021-07-26T15:11:12
2021-07-26T15:11:12
375,704,827
1
0
null
null
null
null
UTF-8
Python
false
false
246
py
from django.contrib import admin # from . import models # Register your models here. admin.site.register(models.PhoneLapModel) admin.site.register(models.TypeModel) admin.site.register(models.VidPicModel) admin.site.register(models.OrderModel)
[ "vandat9xiloveyou@gmail.com" ]
vandat9xiloveyou@gmail.com
a2781d5a4bfc616f117c18260148142070a8ba7e
889d85d5b12d099f3ba5ce0083a828181da9e973
/2020-05-month-long-challenge/day27.py
dacee41890711cc1001d54b2f1d02638816db1d0
[ "Unlicense" ]
permissive
jkbockstael/leetcode
def0fca6605e3432b979c145979a3f3de225d870
8ef5c907fb153c37dc97f6524493ceca2044ea38
refs/heads/master
2021-05-23T08:54:15.313887
2020-09-24T20:53:46
2020-09-24T20:53:46
253,208,398
0
0
null
null
null
null
UTF-8
Python
false
false
2,202
py
#!/usr/bin/env python3 # Day 27: Possible Bipartition # # Given a set of N people (numbered 1, 2, ..., N), we would like to split # everyone into two groups of any size. # Each person may dislike some other people, and they should not go into the # same group. # Formally, if dislikes[i] = [a, b], it means it is not a...
[ "jkb@jkbockstael.be" ]
jkb@jkbockstael.be
909b288704ecae9ad0d2579d7ae9711f752a5b9a
f0b8e22e3918cf89c13562459edd1579bf046fce
/main.py
bd30d105820381647fd971948f6f28548a954851
[]
no_license
webclinic017/Algorithmic_Trading_Bot
06b0a54830c91377d36445fd06d6a7d48fcfb5bf
6dbc4d7624f94c3703abacea421b13c6cca04e7c
refs/heads/main
2023-05-02T08:26:09.717877
2021-05-22T21:14:10
2021-05-22T21:14:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,776
py
import numpy as np class BreakoutAlgorithm(QCAlgorithm): # initialize values def Initialize(self): # starting cash balance is $100,000 USD for testing purposes self.SetCash(100000) # set start and end dates for backtesting self.SetStartDate(2017,9,1) s...
[ "noreply@github.com" ]
webclinic017.noreply@github.com
895a3ba4f29b6171028b74b06df26a4eecdb1211
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/488/usersdata/343/112929/submittedfiles/AvF_Parte3.py
8f125232148c670250592e8b7b285e48bc5f246a
[]
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
197
py
# -*- coding: utf-8 -*- n = int(input('Quantidade de números: ')) x = [] y = [] for i in range(0,n,1): x.append(int(input('Digite os números: '))) y.append(x[i//2==0]) print (x) print (y)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
77f285f6ace1b7587a27d991e9cf335a954f712d
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4179/codes/1679_1079.py
10d13d959e10e7ad60f60284638a1cbac9416761
[]
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
616
py
# Ao testar sua solução, não se limite ao caso de exemplo. from math import * # Leitura dos lados do triangulo a, b, and c a = float(input ("Lado 1: ")) b = float(input ("Lado 2: ")) c = float(input ("Lado 3: ")) print("Entradas:", a, ",", b, ",", c) # Testa se pelo menos uma das entradas eh negativa if (a > 0 and...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
4b63125ea3c6e629a651b3dae35c601e92fb28cc
651a296c8f45b5799781fd78a6b5329effe702a0
/test_mat/c8_i.py
5d6bfc381903ec3b4ba2c3634adfe791e1286c6c
[]
no_license
pdhhiep/Computation_using_Python
095d14370fe1a01a192d7e44fcc81a52655f652b
407ed29fddc267950e9860b8bbd1e038f0387c97
refs/heads/master
2021-05-29T12:35:12.630232
2015-06-27T01:05:17
2015-06-27T01:05:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
#!/usr/bin/env python def c8_i ( ): #*****************************************************************************80 # ## C8_I returns the value of the imaginary unit as a C8. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 13 February 2015 # # Author: # # John B...
[ "siplukabir@gmail.com" ]
siplukabir@gmail.com
be8ac5e8e6d033935f5bb1ae33efbaa7be138122
b2755ce7a643ae5c55c4b0c8689d09ad51819e6b
/anuvaad-etl/anuvaad-extractor/document-processor/layout-detector/prima/src/utilities/request_parse.py
a9a266d0ae5d159187cfcf571ac3114685025490
[ "MIT" ]
permissive
project-anuvaad/anuvaad
96df31170b27467d296cee43440b6dade7b1247c
2bfcf6b9779bf1abd41e1bc42c27007127ddbefb
refs/heads/master
2023-08-17T01:18:25.587918
2023-08-14T09:53:16
2023-08-14T09:53:16
265,545,286
41
39
MIT
2023-09-14T05:58:27
2020-05-20T11:34:37
Jupyter Notebook
UTF-8
Python
false
false
1,578
py
import src.utilities.app_context as app_context from anuvaad_auditor.loghandler import log_exception import copy, json import os import config def log_error(method): def wrapper(*args, **kwargs): try: output = method(*args, **kwargs) return output except Exception as e: ...
[ "srihari.nagaraj@tarento.com" ]
srihari.nagaraj@tarento.com
8e5b64d18295f8d83d0d1111063411f0aef63b2f
54c15fb13c5a3afd8cafb5800d0bcea3887f1614
/third_party/top/api/rest/ItemSkuGetRequest.py
b14710596ccea624b6287272368a7c8f3ff19190
[ "BSD-3-Clause" ]
permissive
brain-zhang/ihuilife
30fa2f122c51e1d5949824b8b8655d7bcc8794aa
57bd7d45e306084d2518f64da81884e56a68c95e
refs/heads/master
2021-05-28T09:23:25.629581
2012-08-30T14:46:05
2012-08-30T14:46:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
''' Created by auto_sdk on 2012-08-07 12:41:14 ''' from top.api.base import RestApi class ItemSkuGetRequest(RestApi): def __init__(self,domain,port): RestApi.__init__(self,domain, port) self.fields = None self.nick = None self.num_iid = None self.sku_id = None def getapiname(self): return 'taobao.item.sk...
[ "memoryboxes@gmail.com" ]
memoryboxes@gmail.com
df0d567f148d7585f7a981ec311e46187cb22f56
daca1b98836d0ecc2ce3363b243a548316edbb6b
/core/cooggerapp/urls/sitemap.py
11a6e6b6cd23b76a2dceefdadcad4f8f5d8ded11
[ "MIT" ]
permissive
emregeldegul/coogger
c1e3de3e62e39f062198182de68890b9d93ca3c1
9aaf2d5904438d91b9bb403ce3c739a5431bdaac
refs/heads/master
2020-07-26T13:19:05.353746
2019-09-15T20:56:11
2019-09-15T20:56:11
208,656,584
2
0
MIT
2019-09-15T20:57:58
2019-09-15T20:57:58
null
UTF-8
Python
false
false
887
py
from django.contrib.sitemaps.views import sitemap from django.urls import path from ..views.sitemap import ( CommitSitemap, ContentSitemap, IssueSitemap, LanuageSitemap, TopicSitemap, UserSitemap, UtopicSitemap, robots ) urlpatterns = [ path("robots.txt/", robots), path("sitemap/topic.xml/", sitemap, ...
[ "hakancelik96@outlook.com" ]
hakancelik96@outlook.com
6d48a172d41a67fb9b00438df994d0d7511716eb
9023909d2776e708755f98d5485c4cffb3a56000
/oneflow/python/test/dataloader/test_numpy_dataset.py
56e5c44ac1d8a2ff819b65947f223bcd51596971
[ "Apache-2.0" ]
permissive
sailfish009/oneflow
f6cf95afe67e284d9f79f1a941e7251dfc58b0f7
4780aae50ab389472bd0b76c4333e7e0a1a56ef7
refs/heads/master
2023-06-24T02:06:40.957297
2021-07-26T09:35:29
2021-07-26T09:35:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
[ "noreply@github.com" ]
sailfish009.noreply@github.com
23608989e8ac841e9d27fc8b1febcd0ff126cec0
df38290d655488d21903e13be947442fb0a38158
/tests/test_settings.py
ae9b6dbe71123e15e2c82bffc10d9e40d31330e1
[ "Apache-2.0" ]
permissive
zooba/twine
71f948c5f4be24ada5eab7581524a53ae28554fd
bd1d8b0f3ffdae9b91672d075d58cf635aa0e0f6
refs/heads/master
2020-04-03T03:05:51.045532
2018-10-15T12:30:38
2018-10-15T12:30:38
154,976,376
1
0
null
2018-10-27T14:57:29
2018-10-27T14:57:29
null
UTF-8
Python
false
false
1,950
py
"""Tests for the Settings class and module.""" # Copyright 2018 Ian Stapleton Cordasco # # 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 # # Unles...
[ "graffatcolmingov@gmail.com" ]
graffatcolmingov@gmail.com
450e7d1eff3b352d490cce355d48ca9ab025f36e
4d6fc7e3c2760a36c9d45e7158c8cdd4fba9e4ae
/backend/tinman_mobile_recyc_21719/wsgi.py
24eb4b2c63c28acc026cb2bede4d2c4668c136d4
[]
no_license
crowdbotics-apps/tinman-mobile-recyc-21719
789bb1901cf3709bd535403dfef6501508a6ef6c
a2c1c8e38120e8dcebf2af378b9a631c889cccde
refs/heads/master
2022-12-19T19:34:19.167744
2020-10-19T19:42:40
2020-10-19T19:42:40
305,495,285
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
""" WSGI config for tinman_mobile_recyc_21719 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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdef...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
67436b519e8731148b8a0666242ef69f0514e903
69c09e3e8b479c8a65043db9aafcf5193b255f8e
/RRtoolbox/lib/session.py
b0e9f12ece2843699e842c41ed92d2e8cff578fd
[ "BSD-3-Clause" ]
permissive
davtoh/RRtools
1e5a0bf4abae9e971546f250172562841ccea029
6dde2d4622719d9031bf21ffbf7723231a0e2003
refs/heads/master
2020-05-21T20:07:11.428279
2018-07-17T15:24:55
2018-07-17T15:24:55
62,759,687
1
1
null
null
null
null
UTF-8
Python
false
false
4,405
py
# -*- coding: utf-8 -*- """ This module have serializing methods for data persistence so to let the package "save" custom objects session module made by Davtoh and powered by dill Dependency project: https://github.com/uqfoundation/dill """ try: # for security reason read this: http://www.benfrederickson.com/don...
[ "davsamirtor@gmail.com" ]
davsamirtor@gmail.com
2f8b4d8d7bfacca49fe3a4bfc605113a99c9b400
9c93e3da0a209fe9b30514d20615609b2e1a97be
/kids/models.py
2a09b122f1fd4fac3e180b4d5bca08689fcb84cc
[]
no_license
kblauer/kinder-updates
c817cf1597df1e1bd2a335a8d272e76a4d3b9a88
5d8a26f7e08cb28b3ee0a9d2727d32c18e0cf863
refs/heads/master
2016-09-05T20:02:54.564794
2014-11-26T05:36:27
2014-11-26T05:36:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
from django.db import models class Kid(models.Model): last_name = models.CharField(max_length=30) first_name = models.CharField(max_length=30) postTime = models.DateTimeField(auto_now_add=True) updateTime = models.DateTimeField(auto_now=True) def __unicode__(self): return str(self.last_nam...
[ "kyle.g.blauer@gmail.com" ]
kyle.g.blauer@gmail.com
b9de45a439ddc21460740e683994484351c83573
fcdce57c1bd0cc4f52679fd0f3f82532550083fa
/267/test_island.py
1ad4efd9f53a840e3cddb699edb7c0ebe7f07475
[]
no_license
nishanthegde/bitesofpy
a16a8b5fb99ab18dc1566e606170464a4df3ace0
c28aa88e1366ab65f031695959d7cd0b3d08be6b
refs/heads/master
2023-08-08T16:53:17.107905
2023-07-22T19:07:51
2023-07-22T19:07:51
183,959,400
0
1
null
null
null
null
UTF-8
Python
false
false
565
py
import pytest from island import island_size rectangle = [[0, 1, 1, 0], [0, 1, 1, 0], [0, 1, 1, 0], [0, 1, 1, 0]] small = [[0, 0, 0], [0, 1, 0], [0, 0, 0]] empty = [[0, 0, 0], [0, 0, 0], [0, 0, 0]] whole = [[1, 1, 1], ...
[ "nhegde@netflix.com" ]
nhegde@netflix.com
54ce917f02bd029282b1cb78ab04b9b83b0fdcce
e173098f9ecd39bef112432a8bb7ed7fb1209fe9
/wfm_client/migrations/0034_remove_item_threshold.py
b75f3be44de26757ad0634ed0cdc83a4a5265da5
[]
no_license
isaiahiyede/inventory
51b639257c14e257ababae047d83caa93b809893
cedecc5b6d22d977b4bdac00e5faf775da7382ab
refs/heads/master
2021-08-29T08:41:02.062763
2017-12-13T15:46:57
2017-12-13T15:46:57
114,137,491
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-10-31 10:37 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('wfm_client', '0033_auto_20161031_0408'), ] operations = [ migrations.RemoveField( ...
[ "a.ajibike@zaposta.com" ]
a.ajibike@zaposta.com
eea527d293b15752a69e28c3f4dd3834a1ce56df
45ab4c22d918dc4390572f53c267cf60de0d68fb
/src/Analysis/Engine/Impl/Typeshed/stdlib/3/urllib/parse.pyi
c04bf4e98d8c323efefd70d3b02abf3a30315420
[ "Apache-2.0", "MIT" ]
permissive
sourcegraph/python-language-server
580a24fd15fe9d4abeb95e9333d61db1c11a2670
64eae156f14aa14642afcac0e7edaf5d7c6d1a1c
refs/heads/master
2023-04-09T21:17:07.555979
2018-12-06T23:25:05
2018-12-06T23:25:05
155,174,256
2
2
Apache-2.0
2018-10-29T08:06:49
2018-10-29T08:06:49
null
UTF-8
Python
false
false
5,231
pyi
# Stubs for urllib.parse from typing import Any, List, Dict, Tuple, AnyStr, Generic, overload, Sequence, Mapping, Union, NamedTuple, Callable import sys _Str = Union[bytes, str] uses_relative = ... # type: List[str] uses_netloc = ... # type: List[str] uses_params = ... # type: List[str] non_hierarchical = ... # ...
[ "alsher@microsoft.com" ]
alsher@microsoft.com
41e75dddd5c8f7552c13a7c2f581eb3176ae495c
664eaaf3ce1329637966ee85752a4bf792f93d64
/orders/migrations/0100_auto_20170802_0909.py
b727854a7ca3a1423cdb722ee83042217623dad4
[]
no_license
rajinder-mohan/thelunchbox
6fb9f7228490e22da58f59a29601aebec9c8fd35
54e3a14229fd72d24152671fb8f0bc13ae83be8c
refs/heads/master
2021-05-04T16:25:33.015292
2018-02-05T03:43:34
2018-02-05T03:43:34
120,251,788
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-08-02 07:09 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('orders', '0099_auto_20170802_0904'), ...
[ "rajinder_mohan@esferasoft.com" ]
rajinder_mohan@esferasoft.com
a6659f9ae7d873b23e7faa1925b36f2aa7546822
f6e3393dc3ddec266cb57fd20930cf1f2ae05368
/parttwo/__init__.py
18c0b43183b7200012a6bcd45fdc95fbea119052
[]
no_license
cesslab/winners-curse-v8
06dfd26fee1db7445de210f6f87d794796ee5cee
168338017b28f806610794a4dcfbd217b3fe40c4
refs/heads/master
2023-07-03T13:54:32.517208
2021-08-03T13:15:42
2021-08-03T13:15:42
383,651,260
0
0
null
null
null
null
UTF-8
Python
false
false
2,866
py
import random from otree.api import BaseGroup, BaseSubsession, models, BasePlayer, widgets from exp.models import ( BidHistoryPlayer, save_bid_history_for_all_players, ExperimentSubSession, create_player_bid_histories, ) from exp.db import Phase, close_db from .views import ( BidInfo, Bid, Instr...
[ "anwarruff@gmail.com" ]
anwarruff@gmail.com
22a4ddda1f112068bde286fce3381035e66c475a
ded20586a099ba7cbae3ce6c86c6d176243db148
/test/uniontests.py
b7096433d538ce989151664cb30ad35a53837aab
[]
no_license
rlgomes/dicttools
0b3ff9f30ea4bfc70636dc9be5361b8644020d05
7979f6c347acaf1f3095114b9018859c851c976e
refs/heads/master
2021-01-01T15:18:27.005247
2013-05-25T04:04:23
2013-05-25T04:04:23
9,741,307
1
0
null
null
null
null
UTF-8
Python
false
false
684
py
""" verify that the filter() method behaves as expected """ import dicttools import unittest class UnionTests(unittest.TestCase): def test_basic_dictionaries(self): dict1 = { 0: 0, 1: 0 } dict2 = { 1: 1, 2: 2 } actual = dicttools.union(dict1, dict2) expected = { 0: 0, 1: 1, 2: 2 ...
[ "rodneygomes@gmail.com" ]
rodneygomes@gmail.com
b16ea601652e7d9586cb1f93b9ce93b8ae2b4422
c29de7ce2d91f572aeb4da56801de7a1dc034054
/meta_st/experiments/cifar10/exp001_000.py
0cfe92260bd912170114b4a5c944e4004017b178
[]
no_license
kzky/works
18b8d754bfc2b1da22022926d882dfe92ea785e6
b8708c305e52f924ea5a7071e0dfe5f2feb7a0a3
refs/heads/master
2021-01-10T08:04:44.831232
2018-03-01T15:09:47
2018-03-01T15:09:47
54,316,791
0
0
null
null
null
null
UTF-8
Python
false
false
2,796
py
from meta_st.cifar10.experiments001 import Experiment000 from meta_st.utils import to_device from meta_st.cifar10.datasets import Cifar10DataReader, Separator import numpy as np import os import numpy as np import sys import time import chainer.functions as F from chainer import cuda from chainer import Variable def m...
[ "rkzfilter@gmail.com" ]
rkzfilter@gmail.com
a4643e58f65332f011da22c4bdc8ccb39456cc79
19c811de2787789fbbc9ab5007ae9780e5b8911a
/01First_week/06Flower.py
7977498b2e25a1a27f5d405676122cd16c9ae765
[]
no_license
skafev/Python_OOP
5948de698464ad3cba358cec666f688b4471a937
390d3c3b1b9aa6c44533aa91eabc430dea6b8416
refs/heads/main
2023-06-09T19:14:03.611726
2021-07-01T16:47:23
2021-07-01T16:47:23
382,099,231
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
class Flower: def __init__(self, name, water_requirements): self.name = name self.water_requirements = water_requirements self.is_happy = False def water(self, quantity): if quantity >= self.water_requirements: self.is_happy = True def status(self): if s...
[ "s.kafev@gmail.com" ]
s.kafev@gmail.com
4b817ab33947b7eda9efd73e9a8f0750a63c116b
32e3e0016b06c549ea042127124a870b3b361684
/ansible/modules/dcos/dcos_secret.py
7f85dcb29cfb583a9b37868ede5f1ec14a7dfe6d
[ "MIT" ]
permissive
TerryHowe/ansible-modules-dcos
1698fe875facc8884c11fc3d90ee58a7add23fc0
ec6e7a10de81cc14d4b5c2e46d90eaf1347ed95f
refs/heads/master
2021-01-17T17:50:38.429350
2016-11-19T00:09:16
2016-11-19T00:09:16
70,623,881
1
1
null
null
null
null
UTF-8
Python
false
false
2,737
py
#!/usr/bin/python DOCUMENTATION = ''' --- module: dcos_secret short_description: Manage secrets on DCOS options: path: description: - Path of secret. required: true key: description: - key of secret. required: false value: description: ...
[ "terrylhowe@gmail.com" ]
terrylhowe@gmail.com
38a9c6f96dbcbb8bb74393aaf2bf5e968b0adf25
52b5773617a1b972a905de4d692540d26ff74926
/.history/gcd_20200622234501.py
6c803a63102c69b4aa607a61b7f1a772f94dd2dd
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
def gcd(a,b): while b !=1: # t = a # a = b b = a % b print(b) return b print(gcd(20,8)) #where a >b ,when b !=0 then b = a%b
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
821deee605ee700ba4695251ab5ff955d72e972f
bf2b0de62b3ffde9a1684c3eab3e7a62937b5ce5
/arsenal/math/__init__.py
2bdb8c3642e9384dee5029ea2539d4d2c70119a0
[]
no_license
srhrshr/arsenal
4b3c774578912ada1e8ae77245629c9cf7b4652d
28574e52f70c895399ed259bb743b6c8f3dd6628
refs/heads/master
2021-09-06T22:52:21.723774
2018-02-12T22:49:11
2018-02-12T22:49:11
122,544,738
0
1
null
null
null
null
UTF-8
Python
false
false
135
py
#from math import * from util import * from compare import compare, check_equal, pp_plot from checkgrad import fdcheck import stepsize
[ "tim.f.vieira@gmail.com" ]
tim.f.vieira@gmail.com
ebbd64c890bdc56ff7fd43f881a498f4d7d404aa
24710de9897e9647fc7b802dc9b0cfdcfaa4b82f
/nengo_alt/nengo/utils/tests/test_distributions.py
cf1fcf5b61fdd9067e2e899a0db02ed6d0ec8f84
[]
no_license
jaberg/nengo_alt
da6e94afea3f7cf03d56bc9274181da67fcde2d4
18f16a03b851de80b2f0382a464cfaadc050af5c
refs/heads/master
2016-09-05T23:28:20.980908
2014-05-06T17:01:58
2014-05-06T17:01:58
9,757,358
0
0
null
null
null
null
UTF-8
Python
false
false
2,171
py
import numpy as np import pytest import nengo import nengo.utils.distributions as dists import nengo.utils.numpy as npext @pytest.mark.parametrize("low,high", [(-2, -1), (-1, 1), (1, 2), (1, -1)]) def test_uniform(low, high): n = 100 dist = dists.Uniform(low, high) samples = dist.sample(n, np.random.Rand...
[ "james.bergstra@gmail.com" ]
james.bergstra@gmail.com
bab33d217ffbe61928f608bb51a8e3f69e1e9c60
1fe56144905244643dbbab69819720bc16031657
/.history/books/api/views_20210424171408.py
6f909574d72eaf12d2b6a30a1c10991f39c1a6e0
[]
no_license
RaghdaMadiane/django
2052fcdd532f9678fefb034bd60e44f466bd9759
6ca3f87f0b72880f071d90968f0a63ea5badcca8
refs/heads/master
2023-04-15T17:28:25.939823
2021-04-24T22:33:21
2021-04-24T22:33:21
361,279,372
0
0
null
null
null
null
UTF-8
Python
false
false
2,494
py
from rest_framework.response import Response from rest_framework import status from books.models import Book ,Isbn from .serializers import BookSerializer ,UserSerializer from rest_framework.permissions import IsAuthenticated from rest_framework.decorators import api_view , permission_classes from django.http.response ...
[ "raghdamadiane@gmail.com" ]
raghdamadiane@gmail.com
4889af8f198c504a06fcd503c39bf621149a7926
e9a38c6a00b49dc8fb0e5bef9e63bd30c7748db2
/Coil_Codes/CoIL_Test_On_Simulator/PythonClient_py2 (ForJetson)/our_drive_new.py
27abb6d8b4add83a023f63647e9a0c33d688e021
[]
no_license
rohitgajawada/chauffeur_GAN
2736f3bd6bb292b3cff7619a4fec0e656db200a0
01c0078454c2d7d02ac0e7b7e9f99efc606ed2ea
refs/heads/master
2020-03-20T13:55:55.828292
2019-02-04T19:57:32
2019-02-04T19:57:32
137,470,548
2
0
null
null
null
null
UTF-8
Python
false
false
5,979
py
import traceback import sys import logging import json import datetime import numpy as np import os import time import subprocess import socket import torch from contextlib import closing from carla.tcp import TCPConnectionError from carla.client import make_carla_client from carla.driving_benchmark import run_d...
[ "rishabhmadan96@gmail.com" ]
rishabhmadan96@gmail.com
6d45f67728f43e16c80d6baa3ad84eb0c617558f
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_9/brgpat004/question3.py
05472c444c585a4794e99b29f21ea6d96dd498a9
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,957
py
'''program to check if a complete Sudoku grid is valid Patrick Boroughs 10 May 2014 ''' #input lines line1=list(input()) line2=list(input()) line3=list(input()) line4=list(input()) line5=list(input()) line6=list(input()) line7=list(input()) line8=list(input()) line9=list(input()) #create 2d array grid=[line1,line2,l...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
30722fc2bf9332ff897320fc76aa632519053b64
11a246743073e9d2cb550f9144f59b95afebf195
/codeforces/849/b.py
12ecf3c7fec877cf676e718b7f2fe9c9dbf6acd8
[]
no_license
ankitpriyarup/online-judge
b5b779c26439369cedc05c045af5511cbc3c980f
8a00ec141142c129bfa13a68dbf704091eae9588
refs/heads/master
2020-09-05T02:46:56.377213
2019-10-27T20:12:25
2019-10-27T20:12:25
219,959,932
0
1
null
2019-11-06T09:30:58
2019-11-06T09:30:57
null
UTF-8
Python
false
false
1,082
py
def covers(n, a, num, den): # a[i] = num / den * i + a[0] # den * (a[i] - a[0]) = num * i start = a[0] used = [False] * n used[0] = True for i in range(1, n): if den * (a[i] - a[0]) == num * i: used[i] = True first_unused = -1 for i in range(n): if not used...
[ "arnavsastry@gmail.com" ]
arnavsastry@gmail.com
4f39481237dbb459784950665781e548a8a95378
cde11aea86ce9e1e370b02fb14553358b4aaab8b
/practice/medium/_30_remove_nth_node_from_end.py
89f0fb5e1577835d35726fe23b0a203db6a16400
[]
no_license
pavankumarag/ds_algo_problem_solving_python
56f9a2bb64dd62f16028c3f49a72542b8588369a
cbd323de31f2f4a4b35334ce3249bb3e9525dbf8
refs/heads/master
2023-06-21T20:29:41.317005
2023-06-10T18:11:39
2023-06-10T18:11:39
223,919,558
2
1
null
2023-06-10T18:11:40
2019-11-25T10:16:27
Python
UTF-8
Python
false
false
1,849
py
class Node: def __init__(self, data): self.data = data self.next = None def insert_at_beginning(head, val): if head is None: head = Node(val) return head new_node = Node(val) new_node.next = head head = new_node return head def print_list(head): curr = head while curr is not None: print curr.data,...
[ "pavan.govindraj@nutanix.com" ]
pavan.govindraj@nutanix.com
bdfb51204835e93ef2cf2157082654690e8052b9
1d9ab83a59139f1b59f20451146499c7f2c1fe2e
/00web框架的本质/15模板函数uimodule/start.py
4cd7f1696b4b1bea0d983526b1b40fe9e7e4e386
[]
no_license
lannyMa/tornado_info
df1361d9ee5ec418cb3cb7681cb45a0f88560466
fe2c4dfb6d882f5ce750322bcd496c8484452da1
refs/heads/master
2021-01-23T06:06:04.913158
2017-09-15T02:55:20
2017-09-15T02:55:20
102,489,357
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
#!/usr/bin/env python # coding=utf-8 import tornado.web import uimodule as md # 业务逻辑处理模块 INPUT_LIST=[] class MainHandler(tornado.web.RequestHandler): def get(self): # self.write("Hello, world") # self.render("bbs.html",names=INPUT_LIST) self.render("bbs.html", npm="NPM", names=INPUT_LIST) ...
[ "iher@foxmail.com" ]
iher@foxmail.com
48b7ecfe463e752a0be32f5bfc1ab439178b973d
0bb49acb7bb13a09adafc2e43e339f4c956e17a6
/OpenNodes/OpenCoOrdination/getShotsFarmSetup.py
1c2f9e9ce9f4eaea343698f0ed63bc1f62533322
[]
no_license
all-in-one-of/openassembler-7
94f6cdc866bceb844246de7920b7cbff9fcc69bf
69704d1c4aa4b1b99f484c8c7884cf73d412fafe
refs/heads/master
2021-01-04T18:08:10.264830
2010-07-02T10:50:16
2010-07-02T10:50:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
###OpenAssembler Node python file### ''' define { name getShotsFarmSetup tags ocoo input string Project "" "" input string Sequence "" "" input string Shot "" "" output array1D farmsetup "" "" } ''' import os, sys from OpenProject.getAttribute import getAttribute class getShotsFarmSetup(): def getShotsFarmS...
[ "laszlo.mates@732492aa-5b49-0410-a19c-07a6d82ec771" ]
laszlo.mates@732492aa-5b49-0410-a19c-07a6d82ec771
b60543a49f3b61b6f87714073f27f0cc30f52358
cfb4e8721137a096a23d151f2ff27240b218c34c
/mypower/matpower_ported/lib/t/t_opf_userfcns.py
b1f56e79c782e8f409f6b0d392ae82592f0746de
[ "Apache-2.0" ]
permissive
suryo12/mypower
eaebe1d13f94c0b947a3c022a98bab936a23f5d3
ee79dfffc057118d25f30ef85a45370dfdbab7d5
refs/heads/master
2022-11-25T16:30:02.643830
2020-08-02T13:16:20
2020-08-02T13:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
def t_opf_userfcns(*args,nout=1,oc=None): if oc == None: from ....oc_matpower import oc_matpower oc = oc_matpower() return oc.t_opf_userfcns(*args,nout=nout)
[ "muhammadyasirroni@gmail.com" ]
muhammadyasirroni@gmail.com
2c42be1d0682c7616e8d2eace0b905b4f5840ef3
a884039e1a8b0ab516b80c2186e0e3bad28d5147
/Livros/Livro-Introdução à Programação-Python/Capitulo 11/Exemplos/listagem11_8.py
60b60fe1d4d1e50d89d164f60698821422b10bb9
[ "MIT" ]
permissive
ramonvaleriano/python-
6e744e8bcd58d07f05cd31d42a5092e58091e9f0
ada70918e945e8f2d3b59555e9ccc35cf0178dbd
refs/heads/main
2023-04-10T14:04:24.497256
2021-04-22T18:49:11
2021-04-22T18:49:11
340,360,400
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
# Program: Listagem11_8.py # Author: Ramon R. Valeriano # Description: Consulta com filtro # Developed: 15/03/2020 - 15:54 import sqlite3 name = str(input("Digite o nome que deseja procurar: ")) name = name.strip() conexao = sqlite3.connect('agenda.db') cursor = conexao.cursor() cursor.execute('select * from agenda ...
[ "rrvaleriano@gmail.com" ]
rrvaleriano@gmail.com
638d509921f501d47ebdae410bd3b448bb41b732
98cb310b3a8dea5e07dc2359a07ef623e9a153d1
/web-env/bin/chardetect
c4ca2be6b6d6a3ade306fdd5d93715dc608f8704
[ "MIT" ]
permissive
Amirsorouri00/web-search-engine
6c600fb924f3b2e883f746e8075e33954effcc79
00bf463b29490f5285ee44cd351c6de131f04f3a
refs/heads/master
2020-06-01T12:46:37.612714
2019-07-24T14:25:54
2019-07-24T14:25:54
190,783,910
0
0
MIT
2019-06-07T17:30:51
2019-06-07T17:30:51
null
UTF-8
Python
false
false
317
#!/home/amirsorouri00/Desktop/search-engine/myproject/ui/search-engine/web-search-engine/web-env/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "amirsorouri26@gmail.com" ]
amirsorouri26@gmail.com
ea66cb4d02c5b8b88e48e54fee4ce3bdc48b1ac3
a499fbdd93f85a286505433a08afc25d84c8ff04
/tests/python/unittest/test_tir_analysis_detect_buffer_access_lca.py
8c2b2710f1ba5d23a0e98dc44352bfa17a6fdf80
[ "Apache-2.0", "Zlib", "MIT", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "Unlicense" ]
permissive
elphinkuo/tvm
a81e0ccc5950a1473efdcdbb8263de9adbe36787
9df2ae8eaa8b394013182a7ad09ac57fe401f80e
refs/heads/main
2023-08-05T07:41:18.652097
2021-09-28T00:38:26
2021-09-28T00:38:26
411,311,927
2
0
Apache-2.0
2021-09-28T14:51:56
2021-09-28T14:17:46
null
UTF-8
Python
false
false
5,279
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" ]
elphinkuo.noreply@github.com
659664bcd13c89ae3ce988800760bb90b493164f
7b12eb45c1ea76ad9c186b858b5dfebf2c5b862a
/.history/DEBER_20210902214041.py
974d46d39de7c1acfd16b327f8391409fa5123da
[ "MIT" ]
permissive
Alopezm5/PROYECTO-PARTE-1
a1dce04009b24852c1c60e69bdf602ad3af0574b
bd7a8594edf08d41c6ca544cf6bac01ea4fcb684
refs/heads/main
2023-07-25T11:22:17.994770
2021-09-07T03:27:34
2021-09-07T03:27:34
403,670,226
0
0
null
null
null
null
UTF-8
Python
false
false
3,335
py
class Nomina: def __init__(self,nom="",ruc=0,dire="",tele=0,ciud="",tipEmpr="",email="",estado="",profe="",dep="", valhora=0,hotraba=0):#3 self.nombre=nom self.ruc=ruc self.direccion=dire self.telefono=tele self.ciudad=ciud self.tipoEmpresa=tipEmpr self.corre...
[ "85761855+Alopezm5@users.noreply.github.com" ]
85761855+Alopezm5@users.noreply.github.com
8962610fff4cb0c04e27f48269c602230f5ac6d2
72d6b3ab3fc2c7014967a156de082d1c617cbf0f
/网优日常/3G4G告警处理及时率计算/3G告警处理及时率计算.py
4ba1d2f308fa117307d4cdd3906821087ac2f52f
[]
no_license
fengmingshan/python
19a1732591ad061a8291c7c84e6f00200c106f38
b35dbad091c9feb47d1f0edd82e568c066f3c6e9
refs/heads/master
2021-06-03T08:35:50.019745
2021-01-19T15:12:01
2021-01-19T15:12:01
117,310,092
4
1
null
null
null
null
UTF-8
Python
false
false
464
py
# -*- coding: utf-8 -*- """ Created on Thu Dec 17 09:43:33 2020 @author: Administrator """ import pandas as pd import os path = r'C:\Users\Administrator\Desktop\3G历史告警' os.chdir(path) files = os.listdir() li1 = [] for f in files: df = pd.read_excel(f, encoding = 'gbk') li1.append(df) df_3g = pd.concat(li1...
[ "fms_python@163.com" ]
fms_python@163.com
a0c7d02f4e2bb8a7b1c17633b3ac5045a40c65bc
9c2edc273db48dcb6d31a937510476b7c0b0cc61
/image_processing/del_file.py
a596e1fc0c663ee3dd03961d3ccd8f904835c1cc
[]
no_license
miyamotok0105/python_sample
4d397ac8a3a723c0789c4c3e568f3319dd754501
77101c981bf4f725acd20c9f4c4891b29fbaea61
refs/heads/master
2022-12-19T22:53:44.949782
2020-05-05T05:09:22
2020-05-05T05:09:22
81,720,469
1
0
null
2022-11-22T02:22:55
2017-02-12T11:15:08
Jupyter Notebook
UTF-8
Python
false
false
729
py
# -*- coding: utf-8 -*- import os import sys import cv2 import glob import numpy as np in_dir_path = "" out_dir_path = "" in_dir_path = "labels/*.txt" diff_dir_path = "train/*.png" for name in glob.glob(in_dir_path): file_name = os.path.basename(name) exists = False for name_diff in glob.glob(diff_dir_...
[ "miyamotok0105@gmail.com" ]
miyamotok0105@gmail.com
4a2564f4fccabfdd9f67e3a44e32ad2d2b585f8f
780a18c55af7a8744b408e1efd4aaf08a0d3a3e7
/passbook/features/mail.py
8d8ee26c780d1e465d514a4f77e380bdb5745750
[]
no_license
squidnee/passbook
86507c6675122f1b67333f55048eb55f3dff664a
551de76b95049185820a3fc8729fbc126c423994
refs/heads/master
2020-03-22T05:27:31.718897
2018-07-21T12:30:32
2018-07-21T12:30:32
139,567,112
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
# -*- coding: utf-8 -*- """ For asynchronous emailing from within the application. """ from threading import Thread from flask import current_app as app from flask import render_template from flask_mail import Message from passbook.features.extensions import mail mail.init_app(app) def send_async_email(app, msg): w...
[ "smaples@stanford.edu" ]
smaples@stanford.edu
dde509f06845addfd86028a5fd9f666a831e08a1
fe7133ea8e879631e63ef3c5312670464ae0970b
/polynom_tester.py
5b4e8e07f2f6c7b9bf3f831189b014450b77420a
[]
no_license
jonathaw/general_scripts
4f13c55d3544b829488c1d479c2feff1a6c26829
0cf47ab3ade55b9396cb5aea00e09dafd2694067
refs/heads/master
2021-01-17T02:50:54.936936
2017-03-19T17:18:44
2017-03-19T17:18:44
41,436,758
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
#!/usr/bin/env python3.5 import sys c4 = float(sys.argv[1]) c3 = float(sys.argv[2]) c2 = float(sys.argv[3]) c1 = float(sys.argv[4]) c0 = float(sys.argv[5]) z = float(sys.argv[6]) print('found these c4 %f, c3 %f c2 %f, c1 %f and c0 %f. z is %f' % (c4, c3, c2, c1, c0, z)) res = c4*z**4 + c3*z**3 + c2*z**2 + c1*z +c0 prin...
[ "jonathan.weinstein@weizmann.ac.il" ]
jonathan.weinstein@weizmann.ac.il
ff2b36dd9a9efbe06dd7815e407890549038c6c6
4ca340961c32d9738b0e91d55179688a9d9c3ae8
/fn_qradar_advisor/fn_qradar_advisor/lib/html_gen_visitor.py
64d0aec9bedbbb97bd8b3c9d7b1ee6d174d3c803
[ "MIT" ]
permissive
bkaathi/resilient-community-apps
99a319db837aa0a51bbae60d11c0eb4249395bc8
1cd6519808e83f94d2fe6d4eed647f863017535d
refs/heads/master
2020-04-18T06:27:09.654541
2019-01-10T19:51:59
2019-01-10T19:51:59
167,321,490
1
0
MIT
2019-01-24T07:15:43
2019-01-24T07:15:43
null
UTF-8
Python
false
false
3,047
py
# -*- coding: utf-8 -*- # pragma pylint: disable=unused-argument, no-self-use # (c) Copyright IBM Corp. 2010, 2018. All Rights Reserved. from visitors import Visitor import resources class HtmlGenVisitor(Visitor): """ A visitor to generate a html list item for each node """ def __init__(self, log): ...
[ "hpyle@us.ibm.com" ]
hpyle@us.ibm.com
26bbcaca0df675db0915dbf5351e3014b0f65e57
ef243d91a1826b490e935fa3f3e6c29c3cc547d0
/PyQt5/QtWidgets/QGraphicsSceneDragDropEvent.py
1615f03c152583f732fc508fafd6a99aa4750b57
[]
no_license
VentiFang/Python_local_module
6b3d0b22399e817057dfd15d647a14bb1e41980e
c44f55379eca2818b29732c2815480ee755ae3fb
refs/heads/master
2020-11-29T11:24:54.932967
2019-12-25T12:57:14
2019-12-25T12:57:14
230,101,875
0
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
# encoding: utf-8 # module PyQt5.QtWidgets # from F:\Python\Python36\lib\site-packages\PyQt5\QtWidgets.pyd # by generator 1.147 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import PyQt5.QtGui as __PyQt5_QtGui import sip as __sip from .QGraphicsSceneEvent import QGraphicsSceneEvent class QGraphicsSceneDr...
[ "5149528+ventifang@user.noreply.gitee.com" ]
5149528+ventifang@user.noreply.gitee.com
c9a7d02df24ef1b3ef79f68d98c77a7c3b8eae0f
7b4f9a5937c6d390289d7252266cfdd3c62be728
/sessions/week_4/mandala.py
62dd01fecabd0f6c1ff21610ab73abf6f19a0c24
[]
no_license
LCfP-basictrack/basictrack-2020-2021-2b
d7ea1dc651c202d9e433588c9df8cf3554fd80e8
268f066a9baade3c4300a72ef7a866e535a714e0
refs/heads/master
2023-05-05T22:32:41.738918
2021-05-27T15:12:40
2021-05-27T15:12:40
358,275,084
1
1
null
null
null
null
UTF-8
Python
false
false
981
py
import turtle, math, random # https://stackoverflow.com/questions/7198144/how-to-draw-a-n-sided-regular-polygon-in-cartesian-coordinates#7198179 from sessions.week_4.mandala_2 import square_curl def polygon(michelangelo, number_of_sides, radius, center_x=0, center_y=0): for n in range(number_of_sides + 1): ...
[ "mail@vincentvelthuizen.com" ]
mail@vincentvelthuizen.com
4ae7312f1ac15936697e8de1af25a20e2124edf6
71764665e27f4b96bab44f38a4a591ffc2171c24
/hhplt/ui/parallelTestingFrame.py
13f87984db709d920c82cd50771b6f2dd6cb01db
[]
no_license
kingdomjc/RSU_production_VAT
693f8c504acc0cc88af92942734ccb85f7e7d7c0
9a3d6d3f5a5edfaf30afdff725661630aafe434c
refs/heads/master
2020-07-31T05:03:46.699606
2019-09-24T02:09:53
2019-09-24T02:09:53
210,491,514
0
0
null
null
null
null
UTF-8
Python
false
false
2,797
py
#encoding:utf-8 ''' Created on 2016-7-5 并行测试框架界面 对于并行(不管是真正的并行,还是依次串行)的测试,通过槽号来进行标识, 同步显示一批次所有的测试进度。 @author: 张文硕 ''' from PyQt4 import QtCore, QtGui, uic from PyQt4.Qt import pyqtSlot from hhplt.ui.AbstractContentFrame import AbstractContentFrame from hhplt.parameters import SESSION,PARAM from slotTestingFrame import...
[ "929593844@qq.com" ]
929593844@qq.com
b2943348859e207bfaed2892e22c2417ff22fd0d
2c2968b5d1b8bb3b749127ba219c333196c00f3f
/basic data types/swap_case/swap_case.py
64c910b509b810c71102c2b06ed2dc8c0dd76158
[]
no_license
jedthompson99/hacker_rank
b047592f6db70ff24811fea1851807ac3ea3473a
0389019d82c8a2436ca767b73a29495b7fe481b9
refs/heads/main
2023-07-16T03:02:06.901263
2021-08-27T17:34:03
2021-08-27T17:34:03
395,409,606
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
def swap_case(s): output = '' for x in s: if x.isupper() == True: output += (x.lower()) elif x.isupper() != True: output += (x.upper()) else: output += x return output if __name__ == '__main__': s = str(input()) result = swap_case(s) ...
[ "jedthompson@gmail.com" ]
jedthompson@gmail.com
fcc4016e7a652f393b1fdc1027ff4893456322c6
f15f0c1bdf9c1bfffa94d163f4337e02ab728433
/test_files/lstm_text_generation.py
cd7dfdd0509fecd7e3591ff3045493400e550e37
[ "MIT" ]
permissive
jichang1/keras-cntk-benchmark
a9bf5083c133f091a71e6ddcdccbc1a8cebbba8a
5b95f4640f371e0b532f0a14f6bb05466f41eef1
refs/heads/master
2020-03-16T11:40:05.376677
2017-11-28T07:00:00
2017-11-28T07:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,429
py
'''Example script to generate text from Nietzsche's writings. At least 20 epochs are required before the generated text starts sounding coherent. It is recommended to run this script on GPU, as recurrent networks are quite computationally intensive. If you try this script on new data, make sure your corpus has at le...
[ "max@minimaxir.com" ]
max@minimaxir.com
9ead980bf200d6da194cd10898c29065dfec38cb
8049dd81d52e0659054b574323887cf06dbb03a9
/api/features/tests/test_helpers.py
a0bf77574438162cf5e3c43ecfbf1acba6c2d0c0
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
funetes/flagsmith
b6bfdb79e023a6e8832e898b13635e36486e5aa2
97dba4175fac4e723e7bc4208e004d61e748eed7
refs/heads/main
2023-06-21T08:18:53.531171
2021-07-26T16:47:01
2021-07-26T16:47:01
389,799,101
1
0
NOASSERTION
2021-07-26T23:57:23
2021-07-26T23:57:23
null
UTF-8
Python
false
false
591
py
import pytest from features.helpers import get_correctly_typed_value from features.value_types import INTEGER, STRING, BOOLEAN @pytest.mark.parametrize( "value_type, string_value, expected_value", ( (INTEGER, "123", 123), (BOOLEAN, "True", True), (BOOLEAN, "False", False), (ST...
[ "matthewe@solidstategroup.com" ]
matthewe@solidstategroup.com
6e41b50cc789687ed92640632a1c76ae928a9362
2a66fdf4ddcfb475f80a61a8d8c31b3a320c5bae
/code/pprog32.py
554eeeaa6fe0c241386f2ff8e52df1d8550a5bc7
[]
no_license
sujasriman/guvi
12143757bee6e0679ca44f44a6624d34a6dd2cb4
74b4caf2a9c58da5e72eabe0b05adfe77310f71b
refs/heads/master
2020-05-31T07:24:37.295062
2019-08-12T18:24:22
2019-08-12T18:24:22
190,163,562
0
1
null
null
null
null
UTF-8
Python
false
false
199
py
n,k=input().split() n=int(n) k=int(k) count=0 l=list(map(int,input().split())) for i in range(n): if(l[i]==k): count+=1 break if(count==1): print("Yes") else: print("No")
[ "noreply@github.com" ]
sujasriman.noreply@github.com
a9657d3c7fb0f937feb3b41032e5aac72b6c7716
1d23c51bd24fc168df14fa10b30180bd928d1ea4
/Lib/site-packages/cryptography/hazmat/_der.py
66d32e3516b01dd420e3f3a2a7925c4e6ad0ff56
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
BeaverInc/covid19CityMontreal
62dac14840dadcdf20985663bc2527c90bab926c
1b283589f6885977a179effce20212a9311a2ac0
refs/heads/master
2021-05-22T20:01:22.443897
2020-06-21T08:00:57
2020-06-21T08:00:57
253,067,914
0
0
null
null
null
null
UTF-8
Python
false
false
5,204
py
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function import six from cryptography.utils import int_from_bytes, int_to_bytes ...
[ "36340780+lanyutian88@users.noreply.github.com" ]
36340780+lanyutian88@users.noreply.github.com
b8f96911f2fe91e250fa087a46fb33eab202d105
4de28b1f6d97640834e4a795e68ca9987f9e2cd5
/check plugins 2.2/nutanix/agent_based/prism_vm_tools.py
be70a2deafab1a2af92d49a8082c9123645f307f
[]
no_license
Yogibaer75/Check_MK-Things
affa0f7e6e772074c547f7b1df5c07a37dba80b4
029c546dc921c4157000d8ce58a878618e7bfa97
refs/heads/master
2023-09-01T15:52:28.610282
2023-08-29T06:18:52
2023-08-29T06:18:52
20,382,895
47
16
null
2023-07-30T15:52:22
2014-06-01T18:04:07
Python
UTF-8
Python
false
false
3,130
py
#!/usr/bin/env python3 # -*- encoding: utf-8; py-indent-offset: 4 -*- # (c) Andreas Doehler <andreas.doehler@bechtle.com/andreas.doehler@gmail.com> # This is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation in ...
[ "andreas.doehler@gmail.com" ]
andreas.doehler@gmail.com
78e1aa79ef0a25dffcf228bef631c8ab7fc53e16
54f5bd4106b6e70d04708e3c4dc10421fe8b93bd
/tensor/matrix_product.py
6bc2193390698a623f9797c0580f9e59914eff67
[]
no_license
hslee1539/tic_tac_toe
2c11f28e681681314e8f9b9a8cecccfd1f94f494
aa7aa50de55ef4825f05a6d6ad1b00be7f40f770
refs/heads/master
2020-07-26T09:25:23.165078
2019-09-15T15:56:14
2019-09-15T15:56:14
208,603,131
0
0
null
null
null
null
UTF-8
Python
false
false
4,943
py
def matmul(left_array, left_shape, right_array, right_shape, out): left_len = len (left_array) right_len = len(right_array) left_shape_len = len(left_shape) right_shape_len = len(right_shape) left_sw = 2 // (left_shape_len + 1) right_sw = 2 // (right_shape_len + 1) row = left_shape[-1 -1 % l...
[ "qq1539@naver.com" ]
qq1539@naver.com
4ec0b9211122485ed880ff863f78aa3d988ebc2d
7f4c82f7eb8d2805e378586f14e214cdaacfdb4a
/books/model/CreditNoteRefundList.py
e4cafcf6c8dae80d6e27cbab18a1431ba8a20d16
[ "MIT" ]
permissive
deepubansal/books-python-wrappers
5a922267ec8382b3542638d894c96f4891b57bf5
51210c8d557a32564f976a56214d3c0807f46a90
refs/heads/master
2022-12-05T11:25:01.694021
2020-08-29T07:35:23
2020-08-29T07:35:23
288,738,813
0
0
MIT
2020-08-29T07:35:24
2020-08-19T13:26:04
Python
UTF-8
Python
false
false
1,094
py
#$Id$ class CreditNoteRefundList: """This class is used to create object for Creditnotes Refund.""" def __init__(self): """Initialize parameters for creditnotes refund list.""" self.creditnote_refunds=[] self.page_context={} def set_creditnote_refunds(self, creditnote_refunds): ...
[ "sahaya.ramesh@zohocorp.com" ]
sahaya.ramesh@zohocorp.com
8fe3b7e9d6e9abee3796ba161cfd87a85f927ece
d110accdd631abf4b7956f0d31a8c04dc79dd915
/lightbus_examples/ex03_worked_example/store/web.py
5368b7288cd7b8e18f690619ca828c976960bbb3
[ "MIT" ]
permissive
gamb/lightbus
000462f8b38391d5b9299fd52066dd034c4538ec
60b896d632d60c9e1df1163e3e5b9173e3405d22
refs/heads/master
2020-03-13T06:32:43.425464
2018-04-18T16:01:58
2018-04-18T16:01:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
"""A simple pet shop Shows a list of animals, and you can click on each one. Image resizing and page view tracking performed using lightbus. """ import os import lightbus from flask import Flask from lightbus_examples.ex03_worked_example.store.bus import StoreApi app = Flask(__name__) lightbus.configure_logging() b...
[ "adam@adamcharnock.com" ]
adam@adamcharnock.com
35b998323f6bb0195b9f2823f30d52a8cf822742
ac810c7e637afd67cf19704a1a724eaac56fed93
/Hackerrank_python/7.collections/57.Collections.namedtuple().py
7671875e84d41813fa0377ced5ca03bf34070b61
[ "MIT" ]
permissive
Kushal997-das/Hackerrank
57e8e422d2b47d1f2f144f303a04f32ca9f6f01c
1256268bdc818d91931605f12ea2d81a07ac263a
refs/heads/master
2021-10-28T06:27:58.153073
2021-10-18T04:11:18
2021-10-18T04:11:18
298,875,299
41
8
MIT
2021-03-01T04:40:57
2020-09-26T18:26:19
Python
UTF-8
Python
false
false
326
py
# Enter your code here. Read input from STDIN. Print output to STDOUT from collections import* N=int(input()) total_mark=0 fields=input().split() for i in range(N): students=namedtuple("k",fields) MARKS,CLASS,NAME,ID=input().split() x=students(MARKS,CLASS,NAME,ID) total_mark+=int(x.MARKS) print(total_ma...
[ "noreply@github.com" ]
Kushal997-das.noreply@github.com
d935f89a5d154b7925bd879688314e70c09b2e57
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/rds/models/HealthCheckSpec.py
a1fb8cb7aff9f9ad6b8cc01af9db3c30f1b4bbbb
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
1,376
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # 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 ...
[ "tancong@jd.com" ]
tancong@jd.com
65b5b3e7e31a21d6f66955337417b51540fe8ccc
5b4312ddc24f29538dce0444b7be81e17191c005
/autoware.ai/1.12.0/build/kitti_launch/catkin_generated/pkg.installspace.context.pc.py
be9e0f38a9a2832bbbb66c6f61a11dd2de1c9e1f
[ "MIT" ]
permissive
muyangren907/autoware
b842f1aeb2bfe7913fb2be002ea4fc426b4e9be2
5ae70f0cdaf5fc70b91cd727cf5b5f90bc399d38
refs/heads/master
2020-09-22T13:08:14.237380
2019-12-03T07:12:49
2019-12-03T07:12:49
225,167,473
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "kitti_box_publisher".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "kitti_launch" PROJ...
[ "907097904@qq.com" ]
907097904@qq.com
7d7ec66f8142bd94932272b4eec055ff3d7e4917
6d5922f1c893d6c622c61b748910c2d0dda77587
/SamplePrj/bin/django-admin
e01b6123484b23962fb20ecf12811811998392b6
[]
no_license
shivamvku/Django_sampleApp
263073dc4b40be93c89c330d37cb29b2cbac1f6f
1ae4420ece4e8fe7d435750280859e3f4e9bcb2f
refs/heads/master
2023-04-26T00:25:05.297391
2021-05-31T00:53:35
2021-05-31T00:53:35
372,249,165
0
0
null
null
null
null
UTF-8
Python
false
false
308
#!/home/vineet/Documents/project/DjangoApp/SamplePrj/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "shivam.vku@gmail.com" ]
shivam.vku@gmail.com
ee76adfa6f20e7a3034f06793ce2524d334a7239
305e09b8b0df9f91a20ce6fb92e50342d41aadbf
/app/auth/views.py
987f61d3facf589c5af2c2a24266602a87d487a7
[]
no_license
gichimux/househelps
432051bc23694b69929e67b8706e91cc6512f8f8
c4693c9e4e977e42cf3d8a3d5f351857b3868f77
refs/heads/master
2023-02-04T07:11:00.961087
2019-06-07T02:49:36
2019-06-07T02:49:36
190,185,329
0
0
null
2023-02-02T06:28:22
2019-06-04T11:08:09
Python
UTF-8
Python
false
false
1,695
py
from flask import render_template,redirect,url_for,flash,request from ..models import User from .forms import RegistrationForm, LoginForm from .. import db from . import auth from flask_login import login_user, logout_user, login_required # from ..email import mail_message @auth.route('/login', methods=["GET","POST"...
[ "gichimumwai1@gmail.com" ]
gichimumwai1@gmail.com
b2e36bd882e5083c0a204cf4a02239586cacfa94
99f3d691f54bde953c68f7d4e3e88008d7f4aa6f
/basic/solution/string1.py
75e2818b89488b247d2ccc1006812dd0fadf3bb5
[ "Apache-2.0" ]
permissive
psych-214-fall-2016/day_00_lab
4ca692030a80f4bae3947557a76bbc5d7185e4f0
9281731e9fb6a50c48d31e0142c2ff08de39afe6
refs/heads/master
2020-08-04T19:29:15.114615
2016-09-01T18:13:12
2016-09-01T18:13:12
67,155,044
0
0
null
null
null
null
UTF-8
Python
false
false
4,184
py
#!/usr/bin/python -tt # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # # Python 3 port by Matthew Brett 2016, also Apache 2.0 from __future__ import print_function # Google's Python Class # http://code.google.com/edu/languages/google-python-cl...
[ "matthew.brett@gmail.com" ]
matthew.brett@gmail.com
5f7d4e4dd752b6d0ce1460a65810953cf47cc208
9b8e2992a38f591032997b5ced290fe1acc3ad94
/histmatch.py
d8c1703c07d63dfddc7dade79b2e26ff7704a1ef
[]
no_license
girishdhegde/aps-2020
c694443c10d0d572c8022dad5a6ce735462aaa51
fb43d8817ba16ff78f93a8257409d77dbc82ced8
refs/heads/master
2021-08-08T04:49:18.876187
2021-01-02T04:46:20
2021-01-02T04:46:20
236,218,152
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
import cv2 import numpy as np import matplotlib.pyplot as plt img1=cv2.imread("c:/users/girishhegde/dog.jpg") img2=cv2.imread("c:/users/girishhegde/dog.jpg",0) lab=cv2.cvtColor(img1,cv2.COLOR_BGR2Lab) hic=cv2.equalizeHist(lab[0]) histcolor=np.zeros(256,np.uint8) for i in range(256): histcolor[hic[i]]=histcolo...
[ "girsihdhegde12499@gmail.com" ]
girsihdhegde12499@gmail.com
762f912d85fb05fdc5dd38d2cc8641015b20312f
01733042e84a768b77f64ec24118d0242b2f13b8
/ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/view/innerglobalstats/innerglobalstats.py
a7d4f4cb7cb8f74f005f21b742bdaf34d605fc59
[ "MIT" ]
permissive
slieberth/ixnetwork_restpy
e95673905854bc57e56177911cb3853c7e4c5e26
23eeb24b21568a23d3f31bbd72814ff55eb1af44
refs/heads/master
2023-01-04T06:57:17.513612
2020-10-16T22:30:55
2020-10-16T22:30:55
311,959,027
0
0
NOASSERTION
2020-11-11T12:15:34
2020-11-11T12:06:00
null
UTF-8
Python
false
false
2,119
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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 use, copy, ...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com