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
7f788150cb65d8a9dd0618a8bae8840a7efe7aac
b788f1f8bfa8949177e28dd4be436572162c418b
/regular expression.py
5622c6603c31b7c63a0a789938965fc66832786f
[]
no_license
KaziMotiour/pyhton-OOP
bc9506f3afe7686a7451de9a5448c759f3cdcbac
8e85cbe31809a11293fb90d6e39b2d0293cff9b5
refs/heads/master
2022-02-18T09:40:05.274955
2019-09-02T17:46:53
2019-09-02T17:46:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
import re def multi_find(text_patterns,phrase): for pat in test_patterns: print("Search for pattern {}".format(pat)) print(re.findall(pat,phrase)) print('\n') patterns = ['Team1', 'Team2'] text = "This is a starting! with Team1, 1234567, not to others arr arrr" # for pattern in patterns: ...
[ "kmatiour30@gmail.com" ]
kmatiour30@gmail.com
321383aac6ddb384a5de4743a8d8fba4a11a44cc
a6d36a861c156e9dd9c3f4733978f194bcc62c2c
/api/serializers.py
b284259aa9cd0eee350124e29334949953db0bd5
[]
no_license
wjaccck/upfile
091f3ba132748cef348ff8a9973eba009e5423fa
2721cc29ca394ddcf9f415e4fba7e2b422e87701
refs/heads/master
2021-01-01T04:30:18.024584
2016-05-26T02:25:51
2016-05-26T02:25:51
57,368,745
0
0
null
null
null
null
UTF-8
Python
false
false
1,960
py
from rest_framework import serializers from api.models import Up_file,Status,Azure_key,Dirs,Recode_dirs class Up_fileSerializer(serializers.ModelSerializer): status = serializers.SlugRelatedField(queryset=Status.objects.all(), slug_field='alias') base_dir = serializers.SlugRelatedField(queryset=Dirs.objects.al...
[ "wjaccck@163.com" ]
wjaccck@163.com
6b307266c03ec45f6004645eac1d4985b1bfbb4c
d5a5ff1ed1f508c47e9506a552bf44844bcdc071
/payroll/apps.py
8313bd0aaa30a056f07efb95e1823ad6458d08af
[]
no_license
sintaxyzcorp/prometeus
5c9dc20e3c2f33ea6b257b850ff9505621302c47
2508603b6692023e0a9e40cb6cd1f08465a33f1c
refs/heads/master
2021-09-01T09:31:36.868784
2017-12-26T07:58:27
2017-12-26T07:58:27
113,787,842
0
1
null
2017-12-18T08:25:31
2017-12-10T22:16:28
JavaScript
UTF-8
Python
false
false
182
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class PayrollConfig(AppConfig): name = 'payroll' verbose_name = 'Nomina'
[ "carloxdev@gmail.com" ]
carloxdev@gmail.com
da837fb82085ba56a201b6894220c72ba25ea444
38182d45f0b1f6228aeec03a876ee8213404d171
/questionnaire/admin.py
be8327b50af90b1628c99da556843bb64cf84a85
[]
no_license
alexzinoviev/MobileDoc
1283ec5cd52d27510e54f22522b9e1a01b65d8f8
66c22f1b8fe96ad5630c3d33bcc26e5d815f48db
refs/heads/master
2020-06-24T05:29:41.366198
2017-08-03T16:37:10
2017-08-03T16:37:10
96,920,344
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
from django.contrib import admin from .models import Questionnaire # Register your models here. @admin.register(Questionnaire) class QuestionAdmin(admin.ModelAdmin): list_display = ('question', 'category') #admin.site.register(Questionnaire, QuestionAdmin) # @admin.register(Product) # class ProductAdmin(admin...
[ "shurik.zinovyev@gmail.com" ]
shurik.zinovyev@gmail.com
51f34c3e0287e316f0918f7bae364df3289de792
966ea314bcd64f40bfaea457f914fcedbe26426a
/March-week3/testconversion.py
be419779776866290ed22ba1214ccc83499f7eda
[]
no_license
vandanasen/Python-Projects
30caa85cf87ba712e1307b0441fed2d7fa9298a0
9b24a9f6af0374bb0d6a3a15c05099f49edfd581
refs/heads/master
2020-03-26T00:26:06.067905
2019-03-11T22:58:25
2019-03-11T22:58:25
144,320,263
1
0
null
null
null
null
UTF-8
Python
false
false
480
py
a_list=[1,1,2,3,3] a = tuple(a_list) print(a) b = list(a) print(len(b)) c = set(b) print(len(c)) d=list(c) print(len(d)) e=list(range(1, 11, 1)) print(e) dict = dict([(1,2),(3,4),(5,6),(7,8),(9,10)]) print(dict) t= tuple(list(dict.items())) print(t) v = tuple(dict.keys()) print(v) k = tuple(dict.values()) print(k) s = ...
[ "vandy_senthil@yahoo.com" ]
vandy_senthil@yahoo.com
7f9cf2b44780a6c73735f0b55eb8a5f232bd2098
88e2c87d087e30dedda11cad8a2665e89f6ac32c
/tests/contrib/operators/test_opsgenie_alert_operator.py
1b4467bc5a523be4b00ce8c701d2f578da10ece5
[ "Apache-2.0", "BSD-3-Clause", "Python-2.0", "MIT", "BSD-2-Clause" ]
permissive
bigo-sg/airflow
690805b782d3490c5d01047203ee4766f9695cf0
e2933fc90d8fd9aeb61402f7a237778553762a17
refs/heads/master
2020-05-30T19:25:36.289802
2019-07-15T10:14:34
2019-07-15T10:14:34
189,924,188
2
1
Apache-2.0
2019-10-18T06:30:14
2019-06-03T02:50:51
Python
UTF-8
Python
false
false
4,788
py
# -*- coding: utf-8 -*- # # 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 #...
[ "ash_github@firemirror.com" ]
ash_github@firemirror.com
a0083cab532c5db426c3e4e1e0041d4f1d5ec536
0cfb5831a748ebd46e438e3ad7e7a09c1d196499
/com/chapter_09/section_04/task_9.4.5_importAllClass.py
92d4e7f85081ee09dbfc6731f3670ef472dcf5a0
[]
no_license
StevenGeGe/pythonFromIntroductionToPractice01
7cfe8cdb4bc5c0ddbe25b44976231d72d9e10108
9d2ba499056b30ded14180e6c4719ee48edd9772
refs/heads/master
2023-02-15T04:08:59.878711
2020-12-28T13:27:55
2020-12-28T13:27:55
310,980,820
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/11/25 20:34 # @Author : Yong # @Email : Yong_GJ@163.com # @File : task_9.4.5_importAllClass.py # @Software: PyCharm # 导入模块中所有的类 # from module_name import * # 不推荐这样使用。 # 推荐使用:module_name.class_name 语法来访问类
[ "Yong_GJ@163.com" ]
Yong_GJ@163.com
babdbff65d7df7830fbc35159f977fcaebc87b48
7be7190aeceef43841274518d260bcd92e04e5a7
/Mahouo-Account/sever/app/__init__.py
a0d44f9b8c1ba491d8fa05edb03452397aa3f1ee
[]
no_license
weivis/Mahouo
078c440b41a686d355a49e3fc29175bc225dff2c
81fd6919a884b97cb53ac3e97f1e48d78ddd4e63
refs/heads/master
2020-04-20T16:56:44.813853
2019-02-03T18:47:11
2019-02-03T18:47:11
168,974,099
10
1
null
null
null
null
UTF-8
Python
false
false
956
py
__author__ = 'Ran' from flask import Flask # flask from flask_cache import Cache # cache from flask_login import LoginManager from flask_cors import * from flask_sqlalchemy import SQLAlchemy # sql from datetime import timedelta from app import config # config #实例化app app = Flask(__name__, template_folder=...
[ "yvban@outlook.com" ]
yvban@outlook.com
703dc8683d7f928f96e719bf5febd0627d683364
9a9e0398f26cee9864d48c4618c0a482e5475e83
/Python/code/top_k_frequent_elements.py
1e0b45c6c2186a3d5aa1760acecb875e104754cb
[]
no_license
CNife/leetcode
92693c653bb41780ee431293286c3e909009e9b0
7cdd61692ecb52dd1613169e80b924dd39d35996
refs/heads/main
2021-06-22T21:22:12.997253
2021-03-18T07:07:15
2021-03-18T07:07:15
206,955,329
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
from collections import defaultdict from heapq import heappush, heapreplace from typing import List, Tuple from leetcode import test, sorted_list def top_k_frequent(nums: List[int], k: int) -> List[int]: counter = defaultdict(lambda: 0) for num in nums: counter[num] += 1 heap: List[Tuple[int, in...
[ "CNife@vip.qq.com" ]
CNife@vip.qq.com
9c68c1a48ea5e7f1c1e9b39fb95197c685595749
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02260/s279877008.py
38cfba9d040e317dbba645db4cba4794e44c61a4
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
input() num_list = raw_input().split() num_list = map(int, num_list) def selection_sort(num_list, count): for i in range(0, len(num_list)): minj = i for j in range(i, len(num_list)): if num_list[j] < num_list[minj]: minj = j temp = num_list[minj] ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
39b8c01806e7f01b801d077e55cdbe99b11dd5a9
0883188e1648f982e3a27bf0b89c4c09dac3d3ef
/nmigen/test/compat/test_fifo.py
bc6b81cdee56cf3921aa32628db05c3a8a6097be
[ "BSD-2-Clause" ]
permissive
pbsds/nmigen
b44c0b212ddd2d88a6641243efbb632baacb66f7
d964ba9cc45490b141c8c4c4c3d8add1a26a739d
refs/heads/master
2022-12-04T10:32:52.573521
2020-07-31T13:17:39
2020-07-31T18:41:59
286,076,534
0
0
BSD-2-Clause
2020-08-08T16:12:24
2020-08-08T16:12:23
null
UTF-8
Python
false
false
1,272
py
import unittest from itertools import count from ...compat import * from ...compat.genlib.fifo import SyncFIFO from .support import SimCase class SyncFIFOCase(SimCase, unittest.TestCase): class TestBench(Module): def __init__(self): self.submodules.dut = SyncFIFO(64, 2) self.syn...
[ "whitequark@whitequark.org" ]
whitequark@whitequark.org
0d6bf526fcc135ca7f156726c43622f99a0c3269
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_053/ch160_2020_06_19_19_49_19_966261.py
0eb7281b995c2be04327db8c79ad0fcf74f9446d
[]
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
503
py
import math resultados = {} valores = [] i = 0 for x in range(91): # Aplica fórmula y = 4*x*(180 - x)/(40500 - x*(180 - x)) # Converte para rad x = x*math.pi/180 # Verifica diferença dif = abs(y - math.sin(x)) # Adiciona na lista de diferenças valores.append(dif) # Adiciona diferenç...
[ "you@example.com" ]
you@example.com
cee5b8650269efe733b6f7b95dcc8366a0fa8d3b
ba919c512e131de90427b1a6bfd29e1d7a2e22c8
/debug/verification_test.py
a509b9d96a2cf195f0bfa7b8082cccaa8b3446a1
[]
no_license
qq183727918/influence
7d3b0106db55402630979b86455e4b82ebed2e98
75cb04453278d13dd82a6f319d6f9ecdfad5fb88
refs/heads/master
2023-01-22T23:00:51.979543
2020-12-08T11:12:12
2020-12-08T11:12:12
317,783,196
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
# _*_ coding: UTF-8 _*_ # @Time : 2020/12/4 17:01 # @Author : LiuXiaoQiang # @Site : http:www.cdtest.cn/ # @File : verification_test.py # @Software : PyCharm def verification(): from PIL import Image # 转换灰度 # 使用路径导入图片 imgName = '13.png' im = Image.open(imgName) # 使用 byte 流导入图片 ...
[ "lxq13925731395@163.com" ]
lxq13925731395@163.com
05881bf793aa55eee51c75d99cdbe7a1085333a9
86fc644c327a8d6ea66fd045d94c7733c22df48c
/scripts/managed_cpe_services/customer/qos_service/policy_class_map_update/update_policy_class_map/update_policy_class_map.py
d79055588ad5e2c89764db215cca6b39ed2e3bd7
[]
no_license
lucabrasi83/anutacpedeployment
bfe703657fbcf0375c92bcbe7560051817f1a526
96de3a4fd4adbbc0d443620f0c53f397823a1cad
refs/heads/master
2021-09-24T16:44:05.305313
2018-10-12T02:41:18
2018-10-12T02:41:18
95,190,459
0
0
null
null
null
null
UTF-8
Python
false
false
6,843
py
# # This computer program is the confidential information and proprietary trade # secret of Anuta Networks, Inc. Possessions and use of this program must # conform strictly to the license agreement between the user and # Anuta Networks, Inc., and receipt or possession does not convey any rights # to divulge, reproduce,...
[ "sebastien.pouplin@tatacommunications.com" ]
sebastien.pouplin@tatacommunications.com
a1d530110266afe81a9bbd327cde526441ccc73b
b79bce0cf363d2b6dd11371d378d78d48e973270
/tests/test_custom_multi_output_classification.py
d9959a3efafdab09cb105e8eec4ea79477e7dcfa
[ "Apache-2.0" ]
permissive
CharlotteSean/Kashgari
2d9338761b16d9804fb81ff92ce2ab1d256c80a7
ab9970ecf6c0164416bfbbec1378c690b0f00d76
refs/heads/master
2022-01-22T03:52:12.284458
2019-07-17T03:48:04
2019-07-17T03:48:04
197,900,673
2
0
Apache-2.0
2019-07-20T08:15:03
2019-07-20T08:15:03
null
UTF-8
Python
false
false
4,917
py
# encoding: utf-8 # author: BrikerMan # contact: eliyar917@gmail.com # blog: https://eliyar.biz # file: test_custom_multi_output_classification.py # time: 2019-05-22 13:36 import unittest import numpy as np import tensorflow as tf import kashgari from typing import Tuple, List, Optional, Dict, Any from kashgari.laye...
[ "eliyar917@gmail.com" ]
eliyar917@gmail.com
b6db08130173918bab964091422606ec2957af39
a34ec07c3464369a88e68c9006fa1115f5b61e5f
/A_Basic/String/L0_1684_Count_the_Number_of_Consistent_Strings.py
802755735771f634df680bf789b44d5b52ac935f
[]
no_license
824zzy/Leetcode
9220f2fb13e03d601d2b471b5cfa0c2364dbdf41
93b7f4448a366a709214c271a570c3399f5fc4d3
refs/heads/master
2023-06-27T02:53:51.812177
2023-06-16T16:25:39
2023-06-16T16:25:39
69,733,624
14
3
null
2022-05-25T06:48:38
2016-10-01T10:56:07
Python
UTF-8
Python
false
false
213
py
class Solution: def countConsistentStrings(self, allowed: str, words: List[str]) -> int: ans = 0 for word in words: if all([w in allowed for w in word]): ans += 1 return ans
[ "zhengyuan.zhu@mavs.uta.edu" ]
zhengyuan.zhu@mavs.uta.edu
9207c9cab23edfac359cbc19c3db823e8b193cb9
84d2efd222fa190c8b3efcad083dcf2c7ab30047
/linRegNoSTD.py
34a9e45c64ae6545a196ca7279c57aa4acfd4220
[]
no_license
webclinic017/Capstone-2
aedfc8692647f2e84114da5b2e32856d0de80586
d476723f7893c7c5da14e24f28736a8f0ba7ff55
refs/heads/master
2023-01-23T06:44:36.868373
2020-12-03T19:44:51
2020-12-03T19:44:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np import sklearn.linear_model from alpha_vantage.timeseries import TimeSeries api_key = '8FIYTT49ZEZT2GV5' ts = TimeSeries(key=api_key, output_format='pandas') data, meta_data = ts.get_daily_adjusted(symbol='SPY', outputsize = 'full') data...
[ "noreply@github.com" ]
webclinic017.noreply@github.com
a7784cf4b12ea9bed917ce26508e4c63ce253b6c
12e42f4f34030b90c1841ece8d4efdd28925394f
/test/functional/wallet_scriptaddress2.py
1f6b0e35dc51989b468955669c9f87acde059877
[ "MIT" ]
permissive
GerardoTaboada/EducaCoin
46d8aa08dd4b3859e59b739713ced08ec0b8c510
c7f1be5dacd0a10464775c7eeb0eb799fc66cd43
refs/heads/master
2020-03-31T20:01:41.768383
2018-10-17T21:54:13
2018-10-17T21:54:13
152,522,009
2
1
null
null
null
null
UTF-8
Python
false
false
3,921
py
#!/usr/bin/env python3 # Copyright (c) 2015-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test new Educacoin multisig prefix functionality. # from test_framework.test_framework import Bitcoi...
[ "you@example.com" ]
you@example.com
74096f3871ce295e10d08f00012c88bc032e9da1
f972e22df004b419d23b4b03d3c7e42e604a2e2b
/compute/wps/tasks/ophidia.py
830321413d5463dd764a9eed4384191c13d65a43
[]
no_license
OphidiaBigData/esgf-compute-wps
9ec663b1701f2336f08117a6fb0725d71adfe078
8dd26dde385fbe861c78e432e0954725d7bf9b18
refs/heads/master
2020-04-28T10:20:49.718253
2019-02-04T09:46:43
2019-02-04T09:46:43
175,198,536
0
0
null
2019-03-12T11:39:20
2019-03-12T11:39:19
null
UTF-8
Python
false
false
5,490
py
import json import os import uuid import cwt from celery.utils.log import get_task_logger from django.conf import settings from PyOphidia import client from wps import WPSError from wps.tasks import base __ALL__ = [ 'PROCESSES', 'oph_submit', ] logger = get_task_logger('wps.tasks.ophidia') PROCESSES = { ...
[ "boutte.jason@gmail.com" ]
boutte.jason@gmail.com
1d299fc35a1f1aa5feca93086cb650a6d0e1c2f3
8842d6c864f12dc8853d22b8a986b01acdf0e446
/27_12_15_Nico3/LDA.pyx
c15e5a4eef6680c7665544e3191ce137506966f6
[]
no_license
yukkyo/ResearchSource
0d701aa09d3cfc5aae80a022445ecf14c42f0a07
db497d19aae41ea57d7d6dd245714a477a7a1d4c
refs/heads/master
2021-01-18T20:01:20.427148
2019-06-20T05:17:54
2019-06-20T05:17:54
24,621,316
0
0
null
null
null
null
UTF-8
Python
false
false
5,397
pyx
#!/usr/bin/env python # -*- coding: utf-8 -*- # cython: profile=True, boundscheck=False, wraparound=False from __future__ import division cimport cython from libc.stdlib cimport rand, RAND_MAX from libcpp.vector cimport vector from libc.math cimport log, exp from cpython.mem cimport PyMem_Malloc, PyMem_Realloc, PyMem_...
[ "yukkyo12221222@gmail.com" ]
yukkyo12221222@gmail.com
9fc5b6e12ba33400052ec9e08c251ff1626f1477
eb3683f9127befb9ef96d8eb801206cf7b84d6a7
/testing/test_programs/numpy/basic_numpy/arrays/stypy_test_files/numpy_array_broadcasting_4__type_data.py
99ec5d09a07932264cc57dd68828680219e497e5
[]
no_license
ComputationalReflection/stypy
61ec27333a12f76ac055d13f8969d3e0de172f88
be66ae846c82ac40ba7b48f9880d6e3990681a5b
refs/heads/master
2021-05-13T18:24:29.005894
2018-06-14T15:42:50
2018-06-14T15:42:50
116,855,812
2
0
null
null
null
null
UTF-8
Python
false
false
844
py
from testing.code_generation_testing.codegen_testing_common import instance_of_class_name test_types = { '__main__': { 'r4': instance_of_class_name("ndarray"), 'r5': instance_of_class_name("ndarray"), '__name__': instance_of_class_name("str"), 'r2': instance_of_class_name("ndarray")...
[ "redondojose@uniovi.es" ]
redondojose@uniovi.es
7c58362f81d2eebf86e77c4f52201dabd123be2d
e7b7cc34f77c71e61aa0fa05bcc62f54fc2fc0e1
/AlgorithmCodeTemplates/algorithm/sliding_window_examples.py
634c355c9efa3418e81eeafb9f04d218da1225cd
[]
no_license
sevenhe716/LeetCode
41d2ef18f5cb317858c9b69d00bcccb743cbdf48
4a1747b6497305f3821612d9c358a6795b1690da
refs/heads/master
2020-03-16T16:12:27.461172
2019-04-22T13:27:54
2019-04-22T13:27:54
130,221,784
0
0
null
null
null
null
UTF-8
Python
false
false
4,002
py
from collections import Counter from collections import defaultdict # [3] https://leetcode.com/problems/longest-substring-without-repeating-characters/ # variation with no pattern def lengthOfLongestSubstring(s): # create a default dict to maintain state counter = defaultdict(int) count, start, end, res =...
[ "429134862@qq.com" ]
429134862@qq.com
f52fb6152bba23a4c0a005ca2f666c5e95d07473
6d80ce7a1f44ddf5741fd190ddfe0d9be8e5f162
/data/lmdbMaker.py
0081b73ccebdd68d83571914b0342cb8bcb9817a
[ "MIT" ]
permissive
dun933/FudanOCR
dd8830ca4b8ebb08acd31326fcf5aa3c961886a0
fd79b679044ea23fd9eb30691453ed0805d2e98b
refs/heads/master
2021-04-03T19:50:47.646099
2020-03-16T08:43:59
2020-03-16T08:43:59
248,391,401
1
0
MIT
2020-03-19T02:23:11
2020-03-19T02:23:10
null
UTF-8
Python
false
false
6,516
py
#!/usr/bin/python # -*- coding: utf-8 -*- ''' Please execute the code with python2 ''' import os import lmdb import cv2 import numpy as np def checkImageIsValid(imageBin): if imageBin is None: return False try: imageBuf = np.fromstring(imageBin, dtype=np.uint8) img ...
[ "576194329@qq.com" ]
576194329@qq.com
25ea3ccf9694bbff46ace1ccdf8a44257540ba69
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/myfavouritekk_vdetlib/vdetlib-master/utils/log.py
331282eee61fb52e30ff5a83431ec74d430c69e0
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
175
py
#!/usr/bin/env python import logging logging.basicConfig( format='[%(asctime)s %(process)d %(filename)s:%(lineno)s %(levelname)s] %(message)s', level=logging.DEBUG)
[ "659338505@qq.com" ]
659338505@qq.com
e13fab0514aa87a22f4efac43760c2d877c23adb
64a99161204051f6f2abb9e8d88a5508952c0115
/examples/saveLoadV1/create_save.py
61f2ff9f7627dd79c32b0c968455c4711de7a2ad
[ "MIT" ]
permissive
suny-downstate-medical-center/netpyne
d1ba5a258ba63c8ad8b0fa91a6d8bbd99f2e8d28
9d08867205b776bbb467554c49df9d8aba57dcf2
refs/heads/development
2023-08-23T22:48:26.020812
2023-08-16T14:20:23
2023-08-16T14:20:23
48,733,333
18
18
MIT
2023-09-11T16:01:19
2015-12-29T07:12:08
Jupyter Notebook
UTF-8
Python
false
false
164
py
from netpyne import sim import params # Create network and save sim.create(netParams=params.netParams, simConfig=params.simConfig) sim.gatherData() sim.saveData()
[ "salvadordura@gmail.com" ]
salvadordura@gmail.com
46c205a3f435959086389638a9fd7fefd957308c
99fa82f29a5b50a5595985acc460a0afaa6099a8
/app/shopdj/sale/migrations/0004_invoice_total.py
a4f08cde3a2ed9f2afa42d4898d917d64e08dcca
[]
no_license
nnocturnnn/university_rep
a47cce9e29f96e9cc33293c76321e298e7628a4d
4a8cd42f53dd112640a37ad5ff815ecf09ce1c25
refs/heads/master
2023-04-20T09:44:24.144760
2021-05-11T16:16:07
2021-05-11T16:16:07
304,661,340
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# Generated by Django 3.0.5 on 2020-07-02 05:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sale', '0003_auto_20200701_0535'), ] operations = [ migrations.AddField( model_name='invoice', name='total', ...
[ "vikchehovich@gmail.com" ]
vikchehovich@gmail.com
080121153af9a45d9084cd5f5233cdfb821defe7
23af1e2b1f29be62926ed6a8e39b4462f07f5f2b
/atcoder.jp/abc086/abc086_b/Main.py
2caffef31e6e42003299d780de9ca6f6f538b840
[]
no_license
IKDrocket/Atcoder
8ef382577a377a8f35890b24a49f681f00f2f047
fc19379de2ddf62a61b67eda33bf8aa29d503685
refs/heads/main
2023-02-09T11:58:00.353304
2021-01-02T12:06:20
2021-01-02T12:06:20
318,876,174
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
a,b = input().split() num = int(a+b) for i in range(1,10101): ans = i*i if num == ans: print("Yes") break else: print("No")
[ "ikdrocket@IKDrocket.local" ]
ikdrocket@IKDrocket.local
c31db9e2643724ed66331b721d6a77560de6209a
06167f625464c898ac95e752694a5931b9a55a55
/src/admission/migrations/0001_initial.py
bacece5228ade3f6e66d8337c4fae54aa72fdb6d
[]
no_license
nazmul629/school_management_system
16e2003b652b14174d6f59b4682ca366275f3207
d0ff759645d9ba8f88d2aa63dbc867e7713455ed
refs/heads/master
2021-06-19T18:06:56.539454
2019-04-20T12:35:24
2019-04-20T12:35:24
182,307,917
1
0
null
2021-03-20T08:15:23
2019-04-19T18:22:11
CSS
UTF-8
Python
false
false
1,699
py
# Generated by Django 2.0 on 2019-04-19 16:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='class_section', fields=[ ...
[ "nazmulhossain.qnh@gmail.com" ]
nazmulhossain.qnh@gmail.com
6e7a8849b45d4e7ef435085fefc41204dd11f94a
bb150497a05203a718fb3630941231be9e3b6a32
/framework/e2e/jit/test_Maxout_0.py
34ed3c5b0baf796738184d4faee74db735487de9
[]
no_license
PaddlePaddle/PaddleTest
4fb3dec677f0f13f7f1003fd30df748bf0b5940d
bd3790ce72a2a26611b5eda3901651b5a809348f
refs/heads/develop
2023-09-06T04:23:39.181903
2023-09-04T11:17:50
2023-09-04T11:17:50
383,138,186
42
312
null
2023-09-13T11:13:35
2021-07-05T12:44:59
Python
UTF-8
Python
false
false
608
py
#!/bin/env python # -*- coding: utf-8 -*- # encoding=utf-8 vi:ts=4:sw=4:expandtab:ft=python """ test jit cases """ import os import sys sys.path.append(os.path.abspath(os.path.dirname(os.getcwd()))) sys.path.append(os.path.join(os.path.abspath(os.path.dirname(os.getcwd())), "utils")) from utils.yaml_loader import Ya...
[ "825276847@qq.com" ]
825276847@qq.com
0b923417f2c83d1b943f897a0e067b827cc724c3
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/6d0b0f8338f7ffbc761ddc05cbdc620a99901074-<format_item>-fix.py
a42ce4e3bcf3cd32eb44b6e67fee46a95e4f787a
[]
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
1,254
py
def format_item(self, item): d = item.as_dict() containers = d['containers'] ports = d['ip_address']['ports'] resource_group = d['id'].split('resourceGroups/')[1].split('/')[0] for port_index in range(len(ports)): ports[port_index] = ports[port_index]['port'] for container_index in range...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
96fdbd1d69014c062a573ce6737c753189550b8e
2031771d8c226806a0b35c3579af990dd0747e64
/pyobjc-framework-CoreServices/PyObjCTest/test_textutils.py
2ff838ec467acf264133c95ae598c609539c4881
[ "MIT" ]
permissive
GreatFruitOmsk/pyobjc-mirror
a146b5363a5e39181f09761087fd854127c07c86
4f4cf0e4416ea67240633077e5665f5ed9724140
refs/heads/master
2018-12-22T12:38:52.382389
2018-11-12T09:54:18
2018-11-12T09:54:18
109,211,701
2
0
null
null
null
null
UTF-8
Python
false
false
1,648
py
from PyObjCTools.TestSupport import * import CoreServices class TestTextUtils (TestCase): def assert_not_wrapped(self, name): self.assertTrue(not hasattr(CoreServices, name), "%r exposed in bindings"%(name,)) def test_not_wrapped(self): self.assert_not_wrapped('ScriptRunStatus') self....
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
fbeecaa4293179be24399fb4bb5c7eee64229141
50a8c057fd6d8cd0ec96ca9b79c9328432335650
/ubisqsh.py
e945ad61a8de0c5092e765f01c13e8f9f6c84a5b
[ "MIT" ]
permissive
KurSh/qc_modem_tools
ee804b566f83e30dde13e4aaf2f55e1a95c74fda
fce2f00e226f0fce82f064d218bf6adb70ea8647
refs/heads/master
2023-07-07T19:16:43.556182
2020-12-25T20:25:52
2020-12-25T20:25:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,643
py
#!/usr/bin/env python3 from struct import unpack import os,sys def parse_ubihdr(rf): curpos=rf.tell() magic = rf.read(4) if magic == b"UBI#": rf.seek(curpos+0x10) hdrsize = unpack(">I", rf.read(4))[0] blksize = unpack(">I", rf.read(4))[0] data = unpack(">I", rf.read(4))[0] ...
[ "info@revskills.de" ]
info@revskills.de
781782dc9fc9bab7ca93ae38f17db36d6e004b67
bae5f696b76af428fb5555c147c4f1bcff1bb62e
/metalearn/examples/evaluate_test_data_envs.py
1f25c6c717085714ed0519ac4b1425fe888f373f
[ "MIT" ]
permissive
cosmicBboy/ml-research
1e309f881f9810e7a82a262d625db5d684752705
04fd31f68e7a44152caf6eaaf66ab59f136dd8f5
refs/heads/master
2021-01-24T09:58:25.662826
2020-08-10T22:08:23
2020-08-10T22:08:23
123,030,133
8
4
MIT
2019-06-29T20:13:37
2018-02-26T21:03:02
Jupyter Notebook
UTF-8
Python
false
false
2,129
py
"""Evaluate controller after training.""" import joblib import pandas as pd import os import torch from pathlib import Path from metalearn.metalearn_controller import MetaLearnController from metalearn.inference.inference_engine import CASHInference from metalearn.task_environment import TaskEnvironment from metalea...
[ "niels.bantilan@gmail.com" ]
niels.bantilan@gmail.com
f8e584f21699ce5bf51c3992ef099f5f3548d4d1
52fb627ec952bf647c625f9372581bff4764da76
/wo_websocket.py
71f69201f610ea526be8c98ac46edded4b559f1b
[]
no_license
syyunn/smpc-dl
b89071d277347e28979973e734b329f51020a6b0
41bd40ef7866062a53fb20bcff994c51f38f38d5
refs/heads/master
2020-08-06T00:17:01.474179
2019-10-05T16:39:14
2019-10-05T16:39:14
212,768,083
0
0
null
null
null
null
UTF-8
Python
false
false
5,515
py
import time import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torchvision import datasets, transforms import syft as sy hook = sy.TorchHook(torch) class Arguments(): def __init__(self): self.batch_size = 64 self.test_batch_size = 64 self....
[ "syyun@snu.ac.kr" ]
syyun@snu.ac.kr
60738160b15b49779d9eaf9e8d83139fd7afa508
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5636311922769920_0/Python/sleepingfire/d.py
ba96e3d60f9df7e644e9b38c0dc4523c1c6882bd
[]
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
988
py
import sys, os, math def main(K, C, S): minimum = math.ceil(K / C) if minimum > S: return "IMPOSSIBLE" cs = [1] * (C + 1) for i in range(1, C+1): cs[i] = C * cs[i-1] tiles = [] idx = 1 depth = 0 for k in range(1, math.ceil(K / C) * C + 1): idx = (idx - 1) * K +...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
b0e17c91d87c7d7e5fcc3f873986d920f6918c16
21a561ec0d40554a43dc5a6dfab0f4f62ddb615d
/canteen/base/__init__.py
aaae304df48bbcbcb386327709ca4b1e4a9c8d98
[ "MIT" ]
permissive
mindis/canteen
2745a0ebec696d1fbfcc6c4c69582711a4a7e8e6
a0cf38333417e879712394800a49eb9d0450f96f
refs/heads/master
2020-12-25T19:15:21.612088
2014-02-24T11:29:59
2014-02-24T11:29:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
# -*- coding: utf-8 -*- ''' canteen base ~~~~~~~~~~~~ :author: Sam Gammon <sam@keen.io> :copyright: (c) Keen IO, 2013 :license: This software makes use of the MIT Open Source License. A copy of this license is included as ``LICENSE.md`` in the root of the project. ''' # import all...
[ "sam@keen.io" ]
sam@keen.io
c79dcbd3e94c42a92504220ffb36ebae2587156d
6d5414a710f09c8a1613e1cb60dfff2d8b37e8ad
/Biweekly Contest 40/Maximum Repeating Substring.py
62ae08890abed3b5a9fbacc68b6a88d4b8a0ed12
[]
no_license
prashanthr11/Leetcode
59985b5037f70933965d509083545e58716b9ec3
c9a034073062ea01f76448b962152ec8f9b82228
refs/heads/master
2023-04-15T09:19:36.526698
2021-04-17T16:09:55
2021-04-17T16:09:55
273,557,306
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
class Solution: def maxRepeating(self, a: str, b: str) -> int: cnt = 0 tmp = b while b in a: cnt += 1 b += tmp return cnt if cnt else 0
[ "prashanthr6789@gmail.com" ]
prashanthr6789@gmail.com
0324f681a4d12c47fa524aa35bd3858f1955c899
98f730ec6a43d8be4a34b0f2a44a9d35989d2287
/tests/unit/entity/test_user_groups_entity.py
d83bcc41f01048931032fe2204cd5fa53a0413ae
[]
no_license
scottwr98/pynifi-client
9337a4f322536ee466d419a788b8b5948cdc62d7
013ac2ffa591284a0d6cbb9ed552681cc6f91165
refs/heads/master
2020-04-18T08:47:03.680749
2017-11-04T23:59:58
2017-11-04T23:59:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,351
py
# coding: utf-8 """ NiFi Rest Api The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ...
[ "ajish@rootedinsights.com" ]
ajish@rootedinsights.com
9363a989c86865fd89d14d0fc1c01f2e8361c7b4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04011/s295435245.py
4d2ae76e99072dfb9ca262f4ebf7f3e478f48296
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
N = int(input()) K = int(input()) X = int(input()) Y = int(input()) ans = 0 if N>=K: ans = K*X+(N-K)*Y if N<K: ans = N*X print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1da82694458a1675eda0715f585913a2ace1f065
cd25757a1ce38f99534f8790e9d4359ab609fc17
/build_index.py
f6d9ab58ca76b8c373d37eab4bd893fd9a161f81
[]
no_license
daviddwlee84/SearchEngine
64be99b2114364e8a0913a51d11215bb3c9806fa
283d1db39900cddf3a2aad6141bd8c9f253a832a
refs/heads/master
2023-03-16T17:55:22.135027
2021-02-24T09:49:54
2021-02-24T09:49:54
288,898,452
1
0
null
null
null
null
UTF-8
Python
false
false
4,231
py
# Build index for search models import os import sys import pandas as pd from tqdm import tqdm import argparse curr_dir = os.path.dirname(os.path.realpath(__file__)) sys.path.append(curr_dir) from search.annoy.build_index import AnnoyIndexBuilder from search.elastic_search.build_index import ESIndexBuilder class In...
[ "daviddwlee84@gmail.com" ]
daviddwlee84@gmail.com
c5b2f86108ef15f5f1ac362a8347eaf8587e4578
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_considerable.py
90514ebc212bd524acaa3c6e06d566fdda7c1fb1
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
#calss header class _CONSIDERABLE(): def __init__(self,): self.name = "CONSIDERABLE" self.definitions = [u'large or of noticeable importance: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): self.jsondata[obj2]...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
227c65532562036f5e133f80f39c5b3e37744a30
0214ce4dd9c8973751120ced006ec90ddc10e0e6
/xepmts_staging/models/inline_response20029.py
f37d1190293987f4bcc393b0a61685193252124f
[]
no_license
jmosbacher/pmts-staging-api-client
b9b4175a8ab52bd1c22a2845ab564cd0bd4d2e1c
d25cacc6c75b5d716414e08184c4a6bc205126f9
refs/heads/master
2022-11-08T09:18:38.371104
2020-07-01T14:52:46
2020-07-01T14:52:46
276,405,990
0
0
null
null
null
null
UTF-8
Python
false
false
3,341
py
# coding: utf-8 """ PMT API API for the XenonnT PMT database # noqa: E501 The version of the OpenAPI document: 0.1 Contact: joe.mosbacher@gmail.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from xepmts_staging.configuration import Confi...
[ "joe.mosbacher@gmail.com" ]
joe.mosbacher@gmail.com
7b6f7484cb3c1c0a99d4139fa6e0a1b4a53cbb31
6452ffce36d1d50dbb27657398af4314ba73c0aa
/python/sqlite-benchmark-graph.py
90612bef91573d686282d438380c1415e3b71cf0
[]
no_license
laysakura/sqlite3_benchmark
1bde4f37be88e20d8a7a385ab897bfe571f7ce3b
f125db9466f9467b7fbd877285e8bd2669fe5346
refs/heads/master
2016-09-06T09:06:43.350515
2012-11-20T12:55:22
2012-11-20T12:55:22
6,775,963
1
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
#!/usr/bin/env python import smart_gnuplotter g = smart_gnuplotter.smart_gnuplotter() import Config import Util def get_graph_file_name(var_graph_file_params): ret = "" for key in var_graph_file_params.keys(): ret += "%(key)s_%%(%(key)s)s--" % {"key": key} return ret[:len(ret) - len("--")] def ...
[ "lay.sakura@gmail.com" ]
lay.sakura@gmail.com
a003bcb38318a40c71739f4d1552601723b08b17
11aaeaeb55d587a950456fd1480063e1aed1d9e5
/.history/test_20190626132733.py
79accd38ca746ea23e96e964bef94a8f31ed415e
[]
no_license
Gr4cchus/Learn-Python-3-The-Hard-Way
8ce9e68f6a91ea33ea45fe64bfff82d65422c4a8
f5fa34db16cdd6377faa7fcf45c70f94bb4aec0d
refs/heads/master
2020-05-17T23:18:29.483160
2019-06-26T18:42:52
2019-06-26T18:42:52
184,023,439
0
0
null
null
null
null
UTF-8
Python
false
false
2,126
py
# # class Foo: # # answer = 42 # # f1 = Foo() # # f2 = Foo() # # print(f1.answer) # # print(f2.answer) # # # both will print 42 # # f1.answer = 84 # # Foo.answer = 21 # # print(f1.answer) # 84 # # print(f2.answer) # 21 # class Foo: # def __init__(self): # self.answer = 42 # f1 = Foo() # f2 = Fo...
[ "ahivent@gmail.com" ]
ahivent@gmail.com
079a78638966c854c7a692303e50cb2a90e5ee38
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02847/s323542817.py
e4b56ed542d286d18994ff8e3ae443092f5f3288
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
from sys import stdin, setrecursionlimit WEEK = { 'SUN': 0, 'MON': 1, 'TUE': 2, 'WED': 3, 'THU': 4, 'FRI': 5, 'SAT': 6 } def main(): input = stdin.buffer.readline s = input()[:-1].decode() print(7 - WEEK[s]) if __name__ == "__main__": setrecursionlimit(10000) main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e8390081053f84852515f18c5edfb636621d94b6
20c20938e201a0834ccf8b5f2eb5d570d407ad15
/dp/dp_d/12309481.py
505ec598e3b892ba10e55f5a4b003c8f412ac4cc
[]
no_license
kouhei-k/atcoder_submissions
8e1a1fb30c38e0d443b585a27c6d134bf1af610a
584b4fd842ccfabb16200998fe6652f018edbfc5
refs/heads/master
2021-07-02T21:20:05.379886
2021-03-01T12:52:26
2021-03-01T12:52:26
227,364,764
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
def main(): N, W = map(int, input().split()) wv = [tuple(map(int, input().split())) for i in range(N)] dp = [-1]*(W+1) dp[0] = 0 for w, v in wv: for j in range(W-1, -1, -1): if dp[j] >= 0 and j+w <= W: dp[j+w] = max(dp[j+w], dp[j] + v) print(max(dp)) main(...
[ "kouhei.k.0116@gmail.com" ]
kouhei.k.0116@gmail.com
d60ad3880d7c6e574a14889e96134d03ea0cf5a7
54fdaa05078261180cbd7cc94c132527725b189d
/test/crab_ElectronPlots_newskim_eraBv2.py
3669634ae8acc57d136ad537adca62dd18a27724
[]
no_license
psiddire/ZeeAnalyzer
e488d3b65108ca923bd459cda41e61f3bd746a5b
d94b1fd4f4de19f5cdeaf405e4c0d6629b889888
refs/heads/master
2021-09-07T12:20:36.554253
2018-02-22T18:31:52
2018-02-22T18:31:52
113,574,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
# from https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookCRAB3Tutorial from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = config() config.General.requestName = 'plots_Zee_newskim_eraBv2' config.General.workArea = 'crab_projects' config.General.transferOutputs = True config.General.transfe...
[ "psiddire@nd.edu" ]
psiddire@nd.edu
4cf9b4ddf5b75a0c24363f4cabbb4a2c429cd06e
1d9e681b204e6ec2d7a710ef45b7dec082239491
/venv/Lib/site-packages/od_python/models/inline_response_200_23.py
be19e551a11c272b3e2fa1c510c9a94e50aeca25
[]
no_license
1chimaruGin/DotaAnalysis
0e0b85805cc83e4cc491d46f7eadc014e8d6b1f1
6a74cde2ee400fc0dc96305203d60c5e56d7ecff
refs/heads/master
2020-07-21T20:48:07.589295
2019-09-07T12:20:15
2019-09-07T12:20:15
206,972,180
2
0
null
null
null
null
UTF-8
Python
false
false
4,972
py
# coding: utf-8 """ OpenDota API # Introduction The OpenDota API provides Dota 2 related data including advanced match data extracted from match replays. Please keep request rate to approximately 1/s. **Begining 4/22/2018, the OpenDota API will be limited to 50,000 free calls per month.** We'll be offering a...
[ "kyitharhein18@gmail.com" ]
kyitharhein18@gmail.com
c7bc15d72bb90e5fb7c6d3a794bcdc3c286ee53a
a3926c09872e1f74b57431fbb3e711918a11dc0a
/python/hash_table/1346_check_if_n_and_its_double_exist.py
a5c2c203328d0dbf68510dd50017a7aac7c37ec2
[ "MIT" ]
permissive
linshaoyong/leetcode
e64297dc6afcebcee0614a153a566323bf223779
57080da5fbe5d62cbc0b8a34e362a8b0978d5b59
refs/heads/main
2022-09-15T00:05:36.476268
2022-08-16T14:09:11
2022-08-16T14:09:11
196,914,051
6
1
null
null
null
null
UTF-8
Python
false
false
582
py
class Solution(object): def checkIfExist(self, arr): """ :type arr: List[int] :rtype: bool """ sa = set() for a in arr: if 2 * a in sa or (a % 2 == 0 and a // 2 in sa): return True sa.add(a) return False def test_check...
[ "linshaoyong@gmail.com" ]
linshaoyong@gmail.com
50a7a10cb9a1aa88a71c786a4b06da91c96801bc
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/anagram/7a7f1153e39747b2922e1c830c65ac0a.py
23159322f0bf7864d05c50ccb0628b12b1aae17c
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
246
py
def detect_anagrams(word, possibles): found = [] for possible in possibles: if sorted(list(word.lower())) == sorted(list(possible.lower())) and word.lower() != possible.lower(): found.append(possible) return found
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
528c4a1f5896ec1fbbc0e2b833b6a51ca7381b80
17cbe826892d06dc5aee4e4c2a5747e10933f2d0
/hmtl/modules/text_field_embedders/__init__.py
233345c6669cbadde24653011c00aa7013aa3810
[ "MIT" ]
permissive
rahular/joint-coref-srl
3fdd0e37a56e3be894f3da4ceeb030a599ff4388
cd85fb4e11af1a1ea400ed657d0a4511c1d6c6be
refs/heads/main
2023-02-16T21:53:11.721014
2021-01-18T15:31:47
2021-01-18T15:31:47
330,708,579
1
0
null
null
null
null
UTF-8
Python
false
false
142
py
# coding: utf-8 from hmtl.modules.text_field_embedders.shortcut_connect_text_field_embedder import ( ShortcutConnectTextFieldEmbedder, )
[ "rahul@di.ku.dk" ]
rahul@di.ku.dk
96fd35a1314f73aa37ac76aef4bb32df8cc4fe3a
cd052f960846ea33e22abdded3106fb492f16c31
/爬虫项目/code09/ITCast/ITCast/spiders/itcast.py
ed76197004fcb89ff0c9826496a95830942d4f4d
[]
no_license
byst4nder/his_spider
2d96457b70894c36506e8061d8a3201ac337a5d0
a51e31acff41292e568ac22b0e213e6cb48218fa
refs/heads/master
2020-07-21T12:06:28.952083
2019-09-06T14:25:58
2019-09-06T14:25:58
206,857,595
1
0
null
2019-09-06T19:04:02
2019-09-06T19:04:02
null
UTF-8
Python
false
false
1,322
py
# coding:utf-8 # 可以通过命令创建爬虫 # #scrapy genspider itcast itcast.cn import scrapy from ..items import ItcastItem class ItcastSpider(scrapy.Spider): name = "itcast" allowed_domains = ["itcast.cn"] start_urls = ["http://www.itcast.cn/channel/teacher.shtml"] def parse(self, respon...
[ "mac@macdeMacBook-Pro.local" ]
mac@macdeMacBook-Pro.local
1f07585f8b5bd8b97955c465f76f0b70ac4458b1
19be6560901ac2d1c2c1cfa307adb84295e58a9e
/backoffice/urls.py
2e272952075115a11bb1b203fa20a5f776dcfd7c
[]
no_license
Neutrinet/backoffice
ebacf44cf9f7c7581a593a6986f1e83c2cfe2591
cb87571a87a4f6fec54d47095e454080cf6fbe5c
refs/heads/master
2023-04-20T09:18:31.755593
2023-03-30T20:54:49
2023-03-30T20:54:49
36,190,840
1
0
null
2017-12-11T18:13:23
2015-05-24T20:10:06
Python
UTF-8
Python
false
false
349
py
from members.views import ffdn_api from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'^admin2/', include('admin2.urls')), url(r'^', include('ordering.urls')), url(r'^accounts/', include('accounts.urls')), url...
[ "cortex@worlddomination.be" ]
cortex@worlddomination.be
d5c8d40acc3d63d3f90c826b6f55231a1363ca22
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_september.py
50ec52f86c7a3f910be158d3734960cae05fab5d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
#calss header class _SEPTEMBER(): def __init__(self,): self.name = "SEPTEMBER" self.definitions = [u'the ninth month of the year, after August and before October: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
26b37fb1f6de95098a60273063f8127dfa9cd6ee
9e335834e7be81068f001d5451781d5c1530ebbf
/LearnPythonTHW/ex15.py
bf759b93985340432ebf224960e5e9315db9f325
[]
no_license
jtr109/SelfLearning
c1dbffa5485d0cd2f444ea510da62a8e3d269dbc
cc920ed507647762b9855385be76869adac89e7c
refs/heads/master
2020-04-06T04:11:31.143688
2016-07-22T02:19:39
2016-07-22T02:19:39
58,049,867
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
# -*- coding: utf-8 -*- from sys import argv script, filename = argv txt = open(filename) print "Here's your file %r:" % filename print txt.read() print "Type the filename again:" file_again = raw_input("> ") txt_again = open(file_again) print txt_again.read()
[ "lyp_login@outlook.com" ]
lyp_login@outlook.com
eb5f2cf86ec088fe0044bbd729282c46ce185b5e
eb64b799ff1d7ef3a244bf8e6f9f4e9118d5cfcd
/homeassistant/components/freedompro/light.py
95731da914e47175459ea54202f980d23b6451cc
[ "Apache-2.0" ]
permissive
JeffLIrion/home-assistant
53966b81b5d5816679f12fc761f79e8777c738d6
8f4ec89be6c2505d8a59eee44de335abe308ac9f
refs/heads/dev
2023-08-22T09:42:02.399277
2022-02-16T01:26:13
2022-02-16T01:26:13
136,679,169
5
2
Apache-2.0
2023-09-13T06:59:25
2018-06-09T00:58:35
Python
UTF-8
Python
false
false
4,138
py
"""Support for Freedompro light.""" import json from pyfreedompro import put_state from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_HS_COLOR, COLOR_MODE_BRIGHTNESS, COLOR_MODE_HS, COLOR_MODE_ONOFF, LightEntity, ) from homeassistant.config_entries import ConfigEntry from homea...
[ "noreply@github.com" ]
JeffLIrion.noreply@github.com
00796d3b3a4472968a31b50cfda2cb973bf04186
2b08e2af586db3b290773bf579ba243962b5e7d5
/interactivo.py
d1758cd6945e8311071ff7ed59a2a6a6013fd7a5
[]
no_license
schiob/python-ciencias-basicas
e7fa4332e3038993c81388272280c4da90812959
433a210f1a80ecdbd6a70df468d9e579ff26df7e
refs/heads/main
2023-06-05T05:10:15.130329
2021-06-24T00:20:55
2021-06-24T00:20:55
378,769,102
0
0
null
null
null
null
UTF-8
Python
false
false
1,728
py
import numpy as np import matplotlib.pyplot as plt from matplotlib.widgets import Slider, Button # The parametrized function to be plotted def f(t, amplitude, frequency): return amplitude * np.sin(2 * np.pi * frequency * t) t = np.linspace(0, 1, 1000) # Define initial parameters init_amplitude = 5 init_frequency...
[ "schiob4@gmail.com" ]
schiob4@gmail.com
e4a39f7dc670a9334da406a630aee065d7152554
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/OTLModel/Datatypes/KlAlgSnelheidsregime.py
421b590ae8912821efe765805334d2de3ff76636
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
3,552
py
# coding=utf-8 import random from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField from OTLMOW.OTLModel.Datatypes.KeuzelijstWaarde import KeuzelijstWaarde # Generated with OTLEnumerationCreator. To modify: extend, do not edit class KlAlgSnelheidsregime(KeuzelijstField): """De snelheidsregimes met ...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be
b6c35090a87a08f91a9ef3303b9b4a5b23fcbb98
a5aabe2e4057d78e687a57a6b560516a7cdb5836
/tests/extreme/clustering/test_tman.py
c4cab7f0ccaa18b6d758bf361d21d8e50575424a
[ "MIT" ]
permissive
aratz-lasa/py-unsserv
0ffc09ddab65a11ce917d0faa8b1b5dff091e563
6f332385e55d05953186b9a8b7848bca4b878e18
refs/heads/master
2022-12-14T21:10:12.397834
2020-05-03T11:29:49
2020-05-03T11:29:49
228,329,158
5
0
MIT
2022-12-08T07:00:55
2019-12-16T07:35:20
Python
UTF-8
Python
false
false
4,202
py
import asyncio from collections import Counter from functools import partial from math import ceil import pytest from tests.utils import init_extreme_membership from unsserv.common.gossip.config import GossipConfig from unsserv.common.structs import Node from unsserv.extreme.clustering.t_man import TMan init_extreme...
[ "aratzml@opendeusto.es" ]
aratzml@opendeusto.es
8b8cc3dcee06ab2783d556bc60df2a47668c5d00
ffcce7bc3d82f19a2e024549f9fe3cd8e8702203
/examples/other/animation2.py
465af025dde5cf668f825fb115e5caad8b1f804a
[ "MIT" ]
permissive
jlqzzz/vtkplotter
97f122e533b7f7d2dae1d7523d96326fbe5b8b60
6d28cb79153ddef29bc7b0bd19ddde655dcc392c
refs/heads/master
2022-03-25T03:15:44.487184
2019-12-02T18:50:10
2019-12-02T18:50:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
""" This example shows how to animate simultaneously various objects by specifying event times and durations of the visual effects. """ from vtkplotter import * s = load(datadir+"bunny.obj").subdivide().normalize() vp = Animation() vp.timeResolution = 0.02 # secs vp.switchOn(s) # no need to repeat t=1, duration=3 ...
[ "marco.musy@gmail.com" ]
marco.musy@gmail.com
fe34abe7832b4c957422ee6ce3e3eb4df632a86d
ebcc40516adba151e6a1c772223b0726899a26eb
/tests/io_/test_versions.py
462e87461b8534cdaa4886943c80729df6647e0a
[ "MIT" ]
permissive
spacetx/slicedimage
acf4a767f87b6ab78e657d85efad22ee241939f4
eb8e1d3899628db66cffed1370f2a7e6dd729c4f
refs/heads/master
2021-04-09T10:53:15.057821
2020-05-26T17:40:11
2020-05-26T17:40:11
125,316,414
7
4
MIT
2020-05-26T17:40:15
2018-03-15T05:24:24
Python
UTF-8
Python
false
false
374
py
from packaging import version from slicedimage import VERSIONS def test_version_increasing_order(): """Verifies that the VERSIONS list is in increasing order.""" for ix in range(1, len(VERSIONS)): prev_version = VERSIONS[ix - 1] curr_version = VERSIONS[ix] assert version.parse(prev_v...
[ "noreply@github.com" ]
spacetx.noreply@github.com
6ccd00459fa87e1a94f5758411d0bbdb9aec6367
a884039e1a8b0ab516b80c2186e0e3bad28d5147
/Livros/Livro-Desenvolvimento web com Flask/Capitulo04/Nível 01/exemplo4_3.py
a387fdd0382fcffe143985b37b25f2d588a471a9
[ "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
1,213
py
# Program: exemplo4_3.py # Author: Ramon R. Valeriano # Description: Fazendos os programas do Capítulo 04, do nível 01 # Developed: 09/03/2020 - 14:48 from flask import Flask, render_template from flask_bootstrap import Bootstrap from flask_moment import Moment from flask_wtf import FlaskForm from wtforms import Str...
[ "rrvaleriano@gmail.com" ]
rrvaleriano@gmail.com
4a0cf341c54b5e86925e1e4083c443883922d80b
23e40d2056bcadb28aad88ef58efb95461516072
/main/settings.py
aab3cf8e575662e3a8938c00d1089bb561948ca2
[]
no_license
drewvpham/dojo_secrets
6436335005373ab93e3dd58e5943b918313f3fa9
120016c86d17643c59f6e18aff84d5ccb84b52b0
refs/heads/master
2021-01-22T04:15:15.385267
2017-05-30T21:47:34
2017-05-30T21:47:34
92,445,838
0
0
null
null
null
null
UTF-8
Python
false
false
3,113
py
""" Django settings for main project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os # B...
[ "drewvpham@gmail.com" ]
drewvpham@gmail.com
6d2cce74c330a140309c8fdbe07a96d959916b66
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg_old/scg_obj_shell_2nd/test_c40407.py
bc6d1b372424eea87293ec88ccf7c74bca513fd8
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
2,560
py
import pytest import time import sys from page_obj.scg.scg_def import * from page_obj.scg.scg_def_obj import * from page_obj.scg.scg_def_log import * from page_obj.common.rail import * from page_obj.scg.scg_def_acl import * from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file_...
[ "15501866985@163.com" ]
15501866985@163.com
52f26c2206606fbefa691cc6942173f41b6ca058
3f2b2c885e81a15ed22b4a781bc2e8f5f264b336
/mhs/common/mhs_common/messages/envelope.py
647b5cfc88274a3290b87d36d4fc9f90d8920933
[ "Apache-2.0" ]
permissive
nhsconnect/prm-deductions-integration-adaptors
9c947dbca3c5bf22874efb35364cd22b52acd795
17c78a2b2df3755736500d8b10f3e09c99263ef2
refs/heads/deductions
2021-07-20T11:13:59.339647
2020-12-22T09:48:09
2020-12-22T09:48:09
246,785,891
0
2
Apache-2.0
2021-04-30T21:57:17
2020-03-12T08:50:37
Python
UTF-8
Python
false
false
2,123
py
"""This module defines the base envelope used to wrap messages to be sent to a remote MHS.""" from __future__ import annotations import abc import pathlib from typing import Dict, Tuple, Any from builder import pystache_message_builder from definitions import ROOT_DIR FROM_PARTY_ID = "from_party_id" TO_PARTY_ID = ...
[ "noreply@github.com" ]
nhsconnect.noreply@github.com
2a12c95c893661baca9bef4785d6924789ae87e7
50e3d53c47250bca40fbbe49ea6f5979cf3ca807
/tson/token.py
46875ebbe66e3600a47e3695f0654d5d388e3a25
[]
no_license
cstuartroe/tson
1d85749e16d611dcf653cef4adc944932450db01
5485e0b6480150f3535c0ce634d228876dd76ba2
refs/heads/main
2023-04-18T12:11:35.751657
2021-05-02T18:39:58
2021-05-02T18:39:58
359,987,026
1
0
null
null
null
null
UTF-8
Python
false
false
3,375
py
import re import sys SINGLE_CHAR_ESCAPES = { '"': '"', '\\': '\\', '/': '/', 'b': '\b', 'f': '\f', 'n': '\n', 'r': '\r', 't': '\t' } LABEL_RE = "[a-zA-Z_][a-zA-Z0-9_]*" NUMERIC_RE = r"-?[0-9]+(\.[0-9]+)?" BOOLS = { "true": True, "false": False, } DECLARERS = { "type", ...
[ "cstuartroe@haverford.edu" ]
cstuartroe@haverford.edu
efb465ae45ed7fa2b00ca94106f0b6d33d05e6bd
135f624cf8c2d95eff09a07397da44c8e76d1a70
/src/tasks/migrations/0003_auto_20170206_1153.py
8c2bbb6235854c056f563c00840d7cc4929eb512
[]
no_license
uk-gov-mirror/datagovuk.publish_data_alpha
42709ffdf1e3ccedf6c5c742078fda5fc9522712
4cbafff4311da0693d456953d01b24f27101e41f
refs/heads/master
2021-06-17T23:05:50.835551
2017-05-25T15:00:27
2017-05-25T15:00:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2017-02-06 11:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0002_task_related_object_id'), ] operations = [ migrations.AlterFi...
[ "ross@servercode.co.uk" ]
ross@servercode.co.uk
0a7f5bc245d7a0b1e7ff8dee61d3c6b185e1ebf3
139af68b78734a6bc53bd942ffa05476baf3d71d
/Python Fundamentals 2020 - 2021/13 - TEXT PROCESSING/More exercise - 13 - 05.py
5a2252209bfb53e58143d4c6eca76fe595a218b6
[]
no_license
MiroVatov/Python-SoftUni
7fe3fc0a3928848c5317fb120f789c773bfc117e
0d0d6f116281b4de8c413d254386e27d992d047b
refs/heads/main
2023-08-24T09:44:31.261137
2021-10-18T14:04:03
2021-10-18T14:04:03
317,510,574
1
0
null
null
null
null
UTF-8
Python
false
false
356
py
title_of_an_article = input() print(f"<h1>") print(title_of_an_article) print(f"</h1>") content_of_the_article = input() print(f"<article>") print(content_of_the_article) print(f"</article>") while True: comment = input() if comment == "end of comments": break print(f"<div>") ...
[ "noreply@github.com" ]
MiroVatov.noreply@github.com
715b78f5c54afb7db2f05ce2265f7dd90eed0a8d
76a68cbbaf9c4aa15ec9b59455e33c6784229bdb
/MECS_gym/venv/bin/easy_install-3.5
82fa72283113e10abd217602c94e6c52cf7de730
[ "MIT" ]
permissive
Python-Repository-Hub/KAIST_MEC_simulator
e63f704bd20b36fd1a8ffa30b7e736c50351d1cc
26556a8216e2bbdfa5c5ee377e9deb51ea7602f8
refs/heads/master
2023-08-30T06:57:39.003766
2021-11-18T16:16:48
2021-11-18T16:16:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
461
5
#!/home/wisrl/Downloads/baselines-master_final_ppo2/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.5' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\....
[ "elasteam88@gmail.com" ]
elasteam88@gmail.com
63672e5230782b6ef6729b1836332595ccc3ecfd
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Generators/Pythia_i/share/PYTUNE_pprintout.py
564fee7303a86b2b89df12767930b5600ed7390c
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
#______________________________________________________________________________________________________________________ # author: liza.mijovic@_nospam_cern.ch # # jO effect: dump the values of all parameters PYTUNE can set - this jopts are meant for runnig with GET_TUNE_params.sh # # __________________________________...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
9c47159651e9c6fdafe463538fc91b52c74619cd
3f09e77f169780968eb4bd5dc24b6927ed87dfa2
/src/Problems/Unique_Paths_II.py
99924d8912f90f3e4316559a40514a8aff937e3d
[]
no_license
zouyuanrenren/Leetcode
ad921836256c31e31cf079cf8e671a8f865c0660
188b104b81e6c73792f7c803c0fa025f9413a484
refs/heads/master
2020-12-24T16:59:12.464615
2015-01-19T21:59:15
2015-01-19T21:59:15
26,719,111
0
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
''' Created on 22 Nov 2014 @author: zouyuanrenren ''' ''' Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 respectively in the grid. For example, There is one obstacle in the middle of a 3x3 g...
[ "y.ren@abdn.ac.uk" ]
y.ren@abdn.ac.uk
650ae2260d45097b8160c5a8e332d7be6a280eb9
33f1c49920201e21adaf794c826148d0330db4a1
/python/binary search/141_sqrt_x.py
688a4f77400111f7206db6c0513756dfcec4b3c1
[]
no_license
zsmountain/lintcode
18767289566ccef84f9b32fbf50f16b2a4bf3b21
09e53dbcf3b3dc2b51dfb343bf77799632efd219
refs/heads/master
2020-04-04T21:35:07.740575
2019-03-16T20:43:31
2019-03-16T20:43:31
156,291,884
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
''' Implement int sqrt(int x). Compute and return the square root of x. Have you met this question in a real interview? Example sqrt(3) = 1 sqrt(4) = 2 sqrt(5) = 2 sqrt(10) = 3 ''' class Solution: """ @param x: An integer @return: The sqrt of x """ def sqrt(self, x): # write your ...
[ "zsmountain27@gmail.com" ]
zsmountain27@gmail.com
3b23e16e50ca0f47fef9667521ed3075d96d58e2
1f6212fab177fb8b84258f297928f5d6b97908d4
/apps/CMDB/model/idc_models.py
6bce6d2afca8721001a890b7cae21920a613b25d
[]
no_license
logan0709/roe
9773ca058e017648bc9a9c05abf1597268a9759a
3f87cfb08471f0e307c08fe0d5de064b4ea8e35b
refs/heads/master
2020-04-08T22:00:51.851184
2018-11-29T10:37:30
2018-11-29T10:37:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,986
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models IDCType = ( ('DX', u'电信'), ('LT', u'联通'), ('YD', u'移动'), ('ZJ', u'自建'), ('BGP', u'BGP') ) #IDC 机房信息 class Idc(models.Model): name = models.CharField(u"机房名称", max_length=30, nul...
[ "flc009@163.com" ]
flc009@163.com
e577ecad7dd739f19d5d4c54911877c6f273475d
cc128e9804ce0cb659421d2b7c98ff4bfbb9d90b
/train_mnist.py
1b0d31c2e9272ae7e592fb1a42f457db483d3fe7
[]
no_license
hope-yao/robust_attention
6beb2de2c3b849c66e79ec71ae81ed127cee3079
905a32f02bb8d4709666036f6a6e1f82684f8716
refs/heads/master
2020-04-02T08:52:48.430423
2018-10-30T00:13:55
2018-10-30T00:13:55
154,265,498
0
0
null
null
null
null
UTF-8
Python
false
false
5,507
py
import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data from model_mnist import Model_madry, Model_att, Model_crop from pgd_attack import * from viz2 import * import os import numpy as np from pgd_attack import LinfPGDAttack from utils import creat_dir from tqdm import tqdm slim = tf.contrib....
[ "hope-yao@asu.edu" ]
hope-yao@asu.edu
31293892611c10cb6f78d5d022590cb0fd1f5d9c
56ade096db1fe376ee43d38c96b43651ee07f217
/326. Power of Three/Python/Solution.py
c065d49b669d5e5476e90c9150b003991cc8f091
[]
no_license
xiaole0310/leetcode
c08649c3f9a9b04579635ee7e768fe3378c04900
7a501cf84cfa46b677d9c9fced18deacb61de0e8
refs/heads/master
2020-03-17T05:46:41.102580
2018-04-20T13:05:32
2018-04-20T13:05:32
133,328,416
1
0
null
null
null
null
UTF-8
Python
false
false
201
py
class Solution(object): def isPowerOfThree(self, n): """ :type n: int :rtype: bool """ if n <= 0: return False return (3 ** 19) % n == 0
[ "zhantong1994@163.com" ]
zhantong1994@163.com
c321ff81f92bb3395f0e4dba6fc0c8587be08646
b1cdbb08b51ce0edfc97351ea07f10166624e5cc
/src/rocks-pylib/rocks/commands/dump/appliance/attr/__init__.py
6c6ac6efa9a4ddd893b4f02fb1a4175d1e36d338
[]
no_license
tcooper/core
2453220bdc305a4532fd6f0bda9fdb22560add21
61d2512146f34f71d09f817a3d07a56c979d1bf9
refs/heads/master
2021-08-22T17:17:20.080481
2017-11-30T19:33:53
2017-11-30T19:33:53
105,914,127
0
0
null
2017-10-05T16:32:48
2017-10-05T16:32:48
null
UTF-8
Python
false
false
4,555
py
# $Id: __init__.py,v 1.9 2012/11/27 00:48:14 phil Exp $ # # @Copyright@ # # Rocks(r) # www.rocksclusters.org # version 6.2 (SideWindwer) # version 7.0 (Manzanita) # # Copyright (c) 2000 - 2017 The Regents of the University of California. # All rights reserved. # # Redistribution...
[ "ppapadopoulos@ucsd.edu" ]
ppapadopoulos@ucsd.edu
89154813eb3ff9f4e9c50e0d31da866ddf5a105f
1617a9a9c92146bcdac89b5efb1ef0d18408160b
/cont6lab/36/generator.py
0977a7c5fc92dad574ae123ad1808f554c15b4d0
[]
no_license
LitRidl/checker-content
1b1329b4462b87731e0755ab33480ff063a94a00
b5d0456c8d4d28db6e6022e272a95a385f253797
refs/heads/master
2023-08-17T18:08:07.377680
2018-02-04T11:16:34
2018-02-04T11:16:34
120,077,784
0
0
null
null
null
null
UTF-8
Python
false
false
3,056
py
from __future__ import print_function from random import shuffle, randint, choice from numpy import base_repr import sys HEX_DIGITS = '0123456789ABCDEF' def rnd(l, r, base=10): return base_repr(randint(l, r), base=base) def rnd_word(length, prefix=' ', alphabet=HEX_DIGITS): word = ''.join(choice(alphabet) ...
[ "tutkarma@gmail.com" ]
tutkarma@gmail.com
732198405c718e475715d90fdb730cc8b135948c
dbd87fe6e9466c4cada18b037667cfdddc62c193
/data/FX_CFD/XTB/utils.py
78e5d6fefed7858147792c12c920d9589d12f8b3
[]
no_license
alexanu/Python_Trading_Snippets
74515a40dc63ba50d95bd50330ed05d59b5dc837
85969e681b9c74e24e60cc524a952f9585ea9ce9
refs/heads/main
2023-06-25T03:27:45.813987
2023-06-09T16:09:43
2023-06-09T16:09:43
197,401,560
18
17
null
2023-02-08T22:25:25
2019-07-17T14:05:32
Jupyter Notebook
UTF-8
Python
false
false
481
py
from itertools import product import settings from api import data_getter from writer import write_tsv def file_maker(): combis = product(settings.WATCHLIST_MAP, settings.INDICATORS) for i in combis: s = i[0].split(",")[0] ind = i[1].split(",") data = data_getter(symbol=s, indicator=...
[ "oanufriyev@gmail.com" ]
oanufriyev@gmail.com
791450cd265e4fdf114e22cd378fa7697db6ffcf
64ae9e59e387aa219183f6748f07ede3533c14b2
/lib/auxiliary/switchd/workertask.py
3f4ddb643005a336a65bf135c9c26feece16dbf4
[ "BSD-2-Clause" ]
permissive
sohonet/HEN
fe0168816d908c9c5d3180e90e67b12e4724c7be
47575028a6f3d3fe04d6839dd779b2b1b991accc
refs/heads/master
2021-01-19T07:30:22.849260
2012-02-20T19:41:17
2012-02-20T19:41:17
87,548,153
0
0
null
2017-04-07T13:25:40
2017-04-07T13:25:40
null
UTF-8
Python
false
false
1,214
py
class TaskID: checkSensorTask = 0 hostStatusTask = 1 switchReadFdbTask = 2 linkStatusTask = 3 networkMapGenerationTask = 4 class WorkerTask: nodeinstance = None node = None taskid = None timeScheduled = None def __init__(self, node, nodeinstance, taskid, timeScheduled): ...
[ "ben@darkworks.net" ]
ben@darkworks.net
02916aa12e26d8e7bd5c64c4e962ad2a3ddd86e0
63a1671145dc6dc6e1a9d10ec21c520b83036fea
/others/label_convert/show_img_by_yolo.py
9a438d83718bba72dd0beed8655d3fa9949b61fa
[ "MIT" ]
permissive
chenpaopao/-
4eca1405a3aab86fe649817048852b620a962c1a
320f7d9a0b9e49528561024217ba07645eb68805
refs/heads/master
2023-02-04T17:44:48.639136
2022-06-06T05:04:57
2022-06-06T05:04:57
323,789,818
0
0
null
null
null
null
UTF-8
Python
false
false
5,590
py
import argparse import os import sys from collections import defaultdict import cv2 import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt from tqdm import tqdm category_set = dict() image_set = set() every_class_num = defaultdict(int) category_item_id = -1 def xywhn2xyxy(box, size): box = ...
[ "739677819@qq.com" ]
739677819@qq.com
1e9b873b207de4e3ceafa838dad971dbb1499a7f
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R2/benchmark/startQiskit365.py
eb19e320752840e2c905c3f8005c7be2d19bdece
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
7,388
py
# qubit number=3 # total number=73 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collections import Counter from...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
5cd7bf15cbb9f9a315ace1403ce4ea46bc9b95db
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2345/60586/315364.py
08640613734e1bd7c00a353bb3777990539f833a
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
203
py
input() input() x=input() input() y=input() if x=="2 2"and y=="1 2 3": print("2 1") print("0 0") elif x=="2 2"and y=="1 3 3": print("2 1") print("3 2") else: print(x) print(y)
[ "1069583789@qq.com" ]
1069583789@qq.com
92798e97c2e24cf01a2aa823f42f660aaab8293b
08892167da611ae1d9fa36ac2c1232804da9d487
/build/ur_dashboard_msgs/catkin_generated/pkg.develspace.context.pc.py
be83fb6cc713cfdfe3c18a4b00a74ad547de0f19
[]
no_license
QuiN-cy/ROS_Test_ws
cfd11134312590cabe09f404a332e5f1c4415f59
6b041e3aa8c27212c5fc665d3c54dbde988b5d67
refs/heads/main
2023-05-15T06:19:16.680149
2021-06-11T15:34:05
2021-06-11T15:34:05
371,643,730
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/student/test_ws/devel/.private/ur_dashboard_msgs/include".split(';') if "/home/student/test_ws/devel/.private/ur_dashboard_msgs/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime;ac...
[ "quincy1234321@hotmail.nl" ]
quincy1234321@hotmail.nl
2e3d8d7cfcfa60a44a0addf88f52ea50fef537c3
cb63b64435af17aaa652d7efd9f624e0e9385085
/todo/forms.py
af63ce00a410f0b86a199cb882b0d209adfb2464
[]
no_license
Vostbur/todo-multiuser-site
e4bb6bb0713cb466fa5338c213911f3d53089db2
b6e975255cbd74ce2319e64b885558d244454b43
refs/heads/master
2023-05-04T23:36:50.668891
2021-05-24T19:47:36
2021-05-24T19:47:36
370,466,082
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
from django.forms import ModelForm from .models import Todo class TodoForm(ModelForm): class Meta: model = Todo fields = ['title', 'description', 'important']
[ "vostbur@gmail.com" ]
vostbur@gmail.com
e57a5bd566d8bd5e6aa1057bfd026b0c36f65ea1
33d078ea9a4dd549d99b01a3aff09d1f2032d6eb
/test/test_server.py
926c6bae3aa8e125201d8c062760d2678483ddf8
[]
no_license
labinxu/majong
f84fa34ce4ba82f5006f37f0ddc98b8c08445d10
234a82b11093f475d5fc4ea37d2b77a3d33877be
refs/heads/master
2020-03-19T04:18:39.950419
2018-06-02T12:16:38
2018-06-02T12:16:38
135,814,974
0
0
null
null
null
null
UTF-8
Python
false
false
1,446
py
import sys if '..' not in sys.path: sys.path.append('..') import socket from xserver import XServer from player import Player from protos.action_pb2 import Action class Test_server(XServer): def __init__(self, host,ip,players): # define four players super().__init__(host, ip, players) def ...
[ "flowinair@gmail.com" ]
flowinair@gmail.com
c006e72d485742e0e24ae62bfbfb57f79139c0dd
2ce0c97025f0cc644bcb747e1a7bc41b15890618
/src/powerful_benchmarker/ensembles/concatenate_embeddings.py
a6360ad6b300eeb1d7808ecc03f99a0a4389d704
[]
no_license
kwotsin/powerful-benchmarker
5412c9b42be385b0b525e9ae9893ba9d12bd21eb
b9cf4dd1ed1e21bfe10b9a88972e51f0db9a0545
refs/heads/master
2022-11-22T10:03:34.346800
2020-07-28T04:31:27
2020-07-28T04:31:27
285,510,355
2
0
null
2020-08-06T08:00:03
2020-08-06T08:00:02
null
UTF-8
Python
false
false
1,029
py
from ..utils import common_functions as c_f import torch from .base_ensemble import BaseEnsemble from .. import architectures class ConcatenateEmbeddings(BaseEnsemble): def create_ensemble_model(self, list_of_trunks, list_of_embedders): if isinstance(self.embedder_input_sizes[0], list): self.em...
[ "tkm45@cornell.edu" ]
tkm45@cornell.edu
3b6bfc3e77f83f7cee554a520237036597617472
1faa248589efec362481be76b536e66fb16784b8
/examples/datavault2-bigdata-example/dags/dvdrentals.py
d631cd5535ef9993bba4e0843ebecdd1e55dcfac
[]
no_license
JomaMinoza/etl-with-airflow
97769b77dd34420efd7545f8cc0980e5fc67540a
cc4fa33b3fb300c79da7cb3696eed8cebac5ca67
refs/heads/master
2020-03-19T18:31:57.234918
2018-06-10T09:13:46
2018-06-10T09:13:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,102
py
# -*- coding: utf-8 -*- # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software ...
[ "gtoonstra@gmail.com" ]
gtoonstra@gmail.com
794ee8b5e9280e3685ccad77574041cb70b678f9
f20931826a557f0d884f8b46de259840c29b7428
/meiduo_mall/meiduo_mall/utils/views.py
6277b442a78467dc0f3a239d427d6ac13b413536
[]
no_license
zy723/meiduo_project
38ccecc2fa1d61f2eb848ebc572dd43d45a534c8
f50a8105c63554b57419cb3494c3d323bb343f9c
refs/heads/master
2022-12-15T02:34:42.578549
2020-05-20T16:56:27
2020-05-20T16:56:27
248,264,846
0
0
null
2022-12-12T20:28:41
2020-03-18T15:08:40
TSQL
UTF-8
Python
false
false
982
py
from django import http from django.contrib.auth.mixins import LoginRequiredMixin from meiduo_mall.utils.response_code import RETCODE class LoginRequiredJSONMixin(LoginRequiredMixin): """ 验证用户并返回json 的扩展类 """ def handle_no_permission(self): """ 重写 handle_no_permission 返回json ...
[ "zy723@vip.qq.com" ]
zy723@vip.qq.com
4574c829390dab1c4b2ccbccc3376035ba788e83
a1b21aa9b4c3b99b9b16fd47686bcc76e6fafd18
/playground/people.py
b0f3a9910a955ad3632716f3dd4206debc55f55e
[]
no_license
irfan87/python_tutorial
986c5dae98a5ad928c3820bf0355f544c091caf0
71bbf8b8aba2d5a1fafc56b8cb15d471c428a0cf
refs/heads/master
2020-06-05T00:52:07.619489
2019-08-19T02:56:41
2019-08-19T02:56:41
192,257,432
0
0
null
2019-08-19T02:56:42
2019-06-17T01:53:46
Python
UTF-8
Python
false
false
689
py
# make a list of people dictionary people = [] person = { 'first_name': 'ahmad irfan', 'last_name': 'mohammad shukri', 'age': 32, 'job': 'web developer' } people.append(person) person = { 'first_name': 'ivy', 'last_name': 'ying', 'age': 21, 'job': 'hair dresser' } people.append(perso...
[ "nerve2009@yahoo.com" ]
nerve2009@yahoo.com
92cfb05db74646ccddbc5c70833a6a1303308641
2e43fc58f2a70b38c8f74101d639d1ad6fffb609
/ParadoxTrading/Indicator/General/KDJ.py
bcec73dc9792d1d6b3c2bea58f33a1710705b2a3
[ "MIT" ]
permissive
ppaanngggg/ParadoxTrading
9cac27dee26a49739dde661c1e03d83bda09df9b
2c4024e60b14bf630fd141ccd4c77f197b7c901a
refs/heads/master
2021-05-11T20:13:14.871616
2018-07-13T05:49:15
2018-07-13T05:49:15
117,434,771
96
26
MIT
2018-03-21T08:47:27
2018-01-14T13:57:16
Python
UTF-8
Python
false
false
1,769
py
import statistics from collections import deque from ParadoxTrading.Indicator.IndicatorAbstract import IndicatorAbstract from ParadoxTrading.Utils import DataStruct class KDJ(IndicatorAbstract): def __init__( self, _k_period: int = 20, _d_period: int = 3, _j_period...
[ "hantian.pang@gmail.com" ]
hantian.pang@gmail.com
9b9fb2306b6d63ca35fd6410f142f97e9fbe80e2
3faf4b9fb76145b2326446bc6bc190a5712b3b62
/Algorithms/0547 Friend Circles.py
8df58948a81a0e77ac8d3781796868dd3678e6a6
[]
no_license
cravo123/LeetCode
b93c18f3e4ca01ea55f4fdebceca76ccf664e55e
4c1288c99f78823c7c3bac0ceedd532e64af1258
refs/heads/master
2021-07-12T11:10:26.987657
2020-06-02T12:24:29
2020-06-02T12:24:29
152,670,206
6
1
null
null
null
null
UTF-8
Python
false
false
3,332
py
import collections # Solution 1, DFS class Solution: def dfs(self, idx, seen, M, n): seen.add(idx) for i in range(n): if i not in seen and M[idx][i] == 1: self.dfs(i, seen, M, n) def findCircleNum(self, M: List[List[int]]) -> int: n = len(M)...
[ "cc3630@columbia.edu" ]
cc3630@columbia.edu
c79df475ffbfb4d044fa2c896464eb9892f52c11
8c6f7475f372c76bcc9c6538bd1d2b4a50cadf74
/trackerproject/trackerwebapp/views/students/student_withdrawal.py
2d69d05367f568f2c774d719ea130132ff09ce68
[]
no_license
stevebrownlee/python-foundations-tracker
a2169a70a0d29bd38eb416dfefb53110f69576b4
de1cd4fa6887bed725eabcc2e6842ced882adaf0
refs/heads/master
2023-05-25T11:16:55.252655
2021-05-31T20:23:48
2021-05-31T20:23:48
276,436,092
1
1
null
2021-06-09T19:23:10
2020-07-01T17:02:37
Python
UTF-8
Python
false
false
509
py
from datetime import date from django.shortcuts import render, redirect from django.urls import reverse from ...models import Student, Cohort def student_withdrawal(request): if request.method == 'POST': student_id = request.POST.get('student', None) student = Student.objects.get(pk=student_id) ...
[ "chortlehoort@gmail.com" ]
chortlehoort@gmail.com
b011141f26bcb341f2544953a40d8dfec7d492c9
f68eda51246c95597def569224f3b56d4c3700e7
/top/api/rest/WdtDictLogisticsQueryRequest.py
c22cdf7b0450254198c06a58e33cabca338fbc47
[ "MIT", "BSD-3-Clause" ]
permissive
stoensin/taobao-openapi
47de8fb29ae2d8ce47d4fce07c0ccaeaee1ef91f
202a9df2085229838541713bd24433a90d07c7fc
refs/heads/main
2023-07-17T02:17:51.527455
2021-08-25T15:08:49
2021-08-25T15:08:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
''' Created by auto_sdk on 2020.06.01 ''' from top.api.base import RestApi class WdtDictLogisticsQueryRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.page_no = None self.page_size = None self.sid = None def getapiname(self): retu...
[ "samzong.lu@gmail.com" ]
samzong.lu@gmail.com
53283ad6f5c2217a5a71cff991b53a10091daa3b
09d3599c8e53b38104e96d479b2b40ac549d0bef
/Rakesh/permutation-combination/palindromic_permutation.py
128dfbbc9c13ad0ed8713cdc04433f515971161b
[]
no_license
rakeshsukla53/interview-preparation
54764c83c86a52c566899ec87d74dad84216764d
09355094c85496cc42f8cb3241da43e0ece1e45a
refs/heads/master
2016-09-06T02:08:50.436414
2016-02-01T00:31:52
2016-02-01T00:31:52
40,916,511
9
3
null
2015-12-31T05:00:55
2015-08-17T17:59:55
HTML
UTF-8
Python
false
false
1,726
py
from collections import Counter from itertools import permutations, repeat class Solution(object): def generatePalindromes(self, s): """ Generate all palindrome of a given sequence :type s: str :rtype: List[str] """ # for not be palindrome we cannot have two charact...
[ "rakesh.sukla53@gmail.com" ]
rakesh.sukla53@gmail.com
07549c00bd4f9d4c98dacd7d1e6de9ae69f986e3
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/container/v1beta1/container-v1beta1-py/google/container_v1beta1/types/__init__.py
63e366e3fc48ad2bfb6cf302007e3f7562e4d6eb
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,486
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
b4e791d6d5b79e2d392a46edb0f370b10920f691
3e30e334d759a3606be1dce6dca1154568808d68
/xlsxwriter/test/comparison/test_hyperlink05.py
639cc3fb1843d81ac62e040af046d02a719c2ee3
[ "BSD-2-Clause-Views" ]
permissive
cimarronm/XlsxWriter
59668816c4faf5b2e5fc7b96a4ab98d5797891b7
b440055bebfcc08339bc3e43cc2ce9819a142004
refs/heads/master
2021-01-18T10:07:21.729676
2014-08-12T23:17:43
2014-08-12T23:17:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2014, John McNamara, jmcnamara@cpan.org # import unittest import os from ...workbook import Workbook from ..helperfunctions import _compare_xlsx_files class TestCompareXLSXFiles(unittest....
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
cd99cc88148eee700ffc8af3c5913d772fc4bb78
f2889a13368b59d8b82f7def1a31a6277b6518b7
/391.py
3cab8540bcc577d43e48c5eceebe7ebc5562b23d
[]
no_license
htl1126/leetcode
dacde03de5c9c967e527c4c3b29a4547154e11b3
c33559dc5e0bf6879bb3462ab65a9446a66d19f6
refs/heads/master
2023-09-01T14:57:57.302544
2023-08-25T15:50:56
2023-08-25T15:50:56
29,514,867
7
1
null
null
null
null
UTF-8
Python
false
false
1,352
py
# ref: https://discuss.leetcode.com/topic/55923/o-n-solution-by-counting-corners # -with-detailed-explaination # ref: https://discuss.leetcode.com/topic/56064/python-solution-based-on-hxtang # -s-idea import collections class Solution(object): def isRectangleCover(self, rectangles): ...
[ "b93902098@ntu.edu.tw" ]
b93902098@ntu.edu.tw
2042d5174b3aa20c74ebf96ade33fe236381d38b
8d0f432027f1c6ee318f0a065caa9e666d00fb6b
/doit_algorithm/chap01/max3_func.py
0ee5290250ea8289f09a0369726e4e06b2c21e4d
[]
no_license
HC-kang/algorithm
ca72e1e4edd8a9c68fca32d15739818dcfbb3c8b
5cd459608bffe28e4de9cfb3ab21880e64456201
refs/heads/master
2023-08-14T16:17:19.501251
2021-09-20T02:01:59
2021-09-20T02:01:59
363,345,024
3
0
null
null
null
null
UTF-8
Python
false
false
458
py
def max3(a, b, c): maximum = a if b > maximum: maximum=b; if c > maximum: maximum=c; return maximum print(f'max3(3,2,1) = {max3(3,2,1)}') print(f'max3(3,2,2) = {max3(3,2,2)}') print(f'max3(3,1,2) = {max3(3,1,2)}') print(f'max3(3,2,3) = {max3(3,2,3)}') print(f'max3(2,1,3) = {max3(2,1,3)}') print(f'max3(...
[ "weston0713@gmail.com" ]
weston0713@gmail.com
d4d98087653712e9fcd891ab6bb3bbb1c2f31baa
c46515f86db0e36f8eb7276d3aa8c5b9ced6f0a1
/disintegrating_plug/alternative_approach.py
abc7f6c41a45f9306a3a9afa51c48dc2e048abb6
[ "MIT" ]
permissive
bolverk/disintegrating_bullet
63e9e7b78576868840bbb75a4631d103581f295f
676bd2f575a70497ee0bebee801405f59df7bc9a
refs/heads/master
2022-01-24T06:36:05.231779
2022-01-23T17:11:32
2022-01-23T17:11:32
109,408,186
1
0
null
null
null
null
UTF-8
Python
false
false
7,615
py
from box import Box import sympy from probe import show from rhd import (psi, p, eta, c, t, r, nu) from riemann_invariant import ( calc_planar_riemann_invariant, calc_spherical_riemann_invariant ) from my_logging import logger from caching import memory from equation_of_motion import alpha def acceleration...
[ "almog.yalin@gmail.com" ]
almog.yalin@gmail.com
5b6c04aa591db9d8cb2167890a99aa0967e2659b
52b5773617a1b972a905de4d692540d26ff74926
/.history/counting_20200622230814.py
361e416c5aa16e50da9614bce0b62e3f72c61ca1
[]
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
878
py
def counting(str): str = str.split('-') hour1 = int(convertTo24(str[0]).split(':')[0]) print('hour1',hour1) hour2 = int(convertTo24(str[1]).split(':')[0]) print('hour2',hour2) minutes1 = int(convertTo24(str[0]).split(':')[1]) print('min1',minutes1) minutes2 = int(convertTo24(str[1]).sp...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com