blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
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
777 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
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
66cef5cbd17f68249077184c9a1078b3126a3213
dce4a52986ddccea91fbf937bd89e0ae00b9d046
/jni-build/jni/include/tensorflow/python/training/server_lib_test.py
f72e96f5af4b264e6fbcdc962ecc0d3a0e21838e
[ "MIT" ]
permissive
Lab603/PicEncyclopedias
54a641b106b7bb2d2f71b2dacef1e5dbeaf773a6
6d39eeb66c63a6f0f7895befc588c9eb1dd105f9
refs/heads/master
2022-11-11T13:35:32.781340
2018-03-15T05:53:07
2018-03-15T05:53:07
103,941,664
6
3
MIT
2022-10-28T05:31:37
2017-09-18T13:20:47
C++
UTF-8
Python
false
false
14,369
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "super_mr.z@hotmail.comm" ]
super_mr.z@hotmail.comm
1d1f0142466d34eff9b75716ab2c1484f3656a7e
50fb25631cdc03a868f09061e76f4dedf85f2d3f
/crawler_sys/site_crawler/crawler_sogou.py
a5329fd56d4cff00cd248b908d874e33674e74c5
[]
no_license
silade/crawler
20a88c0eb6471f79a5d5daf947dcbff681d11e6e
fbfe3c4feca8be61186aec986b600b36f513f7f4
refs/heads/main
2023-03-10T10:06:21.097103
2021-02-19T16:00:45
2021-02-19T16:00:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,663
py
# -*- coding: utf-8 -*- """ Created on Wed Aug 22 09:30:20 2018 @author: fangyucheng """ import time import requests from bs4 import BeautifulSoup from crawler.crawler_sys.utils.trans_strtime_to_timestamp import trans_strtime_to_timestamp cookie = ('YYID=2FFBDAA6D4FBA37438F4067C8123E98B; IMEVER=8.5.0.1322;' ...
[ "593516104@qq.com" ]
593516104@qq.com
b8b00509599fec72275e7b0df844db765b98d0f4
bb313586d9894a6b1a985d2f8b0a1f8e62907481
/videocap1.py
3c449b3f6fcfcb91ea2de0cc70bd2b53eb3c944c
[]
no_license
HelloDivyani/OpenCV
c3538fc8e8985fcbb24bf951f16977b1d23e93a5
96fa8aa563393cfbb15913fd0df863c891d00717
refs/heads/master
2021-01-12T03:45:35.227275
2016-11-10T12:14:29
2016-11-10T12:14:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
import numpy as np import cv2 video_path = "" cap = cv2.VideoCapture(video_path) while(True): ret, frame = cap.read() gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) cv2.imshow('frame',gray) if cv2.waitKey(0) & 0xFF == ord('q'): break cap.release() cv2.destroyAllWindows()
[ "rishabhmadan96@gmail.com" ]
rishabhmadan96@gmail.com
75d5a74d1e78fae22fe705de6e87225c93e25cdc
c6f15aa103de030f7eea6c1aaf6e7ad0ec88dbc1
/add/features/10_binmap/viewer/app/gui/MainFrame.py
fbff879a00f19d0ac8a16c8b54567d556f59fbf3
[]
no_license
sysdeep/dcat
6f3478348113b0d1206f82456f5bd80431282daf
f8c801173ace4447018c3034c56254ab1a6d4089
refs/heads/master
2023-05-03T16:04:28.027335
2023-04-17T15:04:04
2023-04-17T15:04:04
320,551,696
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
# -*- coding: utf-8 -*- from PyQt5.QtWidgets import QApplication, QMainWindow, QLabel, QHBoxLayout, QVBoxLayout, QWidget, QGroupBox, QGridLayout from app.shared import get_storage from .VolumeInfo import VolumeInfo from .explorer.Explorer import Explorer class MainFrame(QWidget): def __init__(self, parent=None): ...
[ "sysdeep@yandex.ru" ]
sysdeep@yandex.ru
369ccaa36c9e88ee6f2b28a35a7d5edc5337d3e5
eedde715576cbbc195c3f6049636b7115895b138
/pandas_doit/pandas_doit_graph/pandas_doit_graphes.py
8dbe02409cf10365758de802b50cd103399f2c54
[]
no_license
azegun/workspace_python
e75de706c08edfe7c5c8d88e8b4679578d6aa68f
8edf1683a57e468a2e665be0092bc516a28571fd
refs/heads/master
2023-07-05T10:42:07.955389
2021-08-13T03:27:52
2021-08-13T03:27:52
388,668,245
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
import seaborn as sns import matplotlib.pyplot as plt tips = sns.load_dataset('tips') print(tips) # 막대 그래프 fig = plt.figure() axes1 = fig.add_subplot(1, 1, 1) axes1.hist(tips['total_bill'], bins=10) # bins 지정시 x축의 간격을 10으로 조정 axes1.set_title('Histogram of Total Bill') axes1.set_xlabel('Frequency') axes1.set_ylabel(...
[ "tkdrjs7@naver.com" ]
tkdrjs7@naver.com
4497ef2a39a12ced95825c28aeb9e9f4ef2b860a
45e34a88f9a70f92b17d9e037f7d719dacc94176
/devel/lib/python2.7/dist-packages/opencv_apps/srv/_FaceRecognitionTrain.py
c4936fec476a88897b452fd98a7dc58589c2d3fc
[]
no_license
lipilian/ROS-RealSense
7f9c40e056b8c9704eee7584cab1bef87874bb59
df1a717fe78d7d994a7b743911ba4940dfc97c8a
refs/heads/master
2020-12-15T05:41:06.900613
2020-02-09T22:38:07
2020-02-09T22:38:07
235,009,699
1
0
null
null
null
null
UTF-8
Python
false
false
19,116
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from opencv_apps/FaceRecognitionTrainRequest.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import std_msgs.msg import opencv_apps.msg import sensor_msgs.msg class FaceR...
[ "15018787835@163.com" ]
15018787835@163.com
fa6054203e5f3135b3d56a0bc695a47469cac9a5
cb3bce599e657188c30366adb0af3007ff9b8f96
/src/note/test_pachongbaidu.py
47392a7ab5c0759490c9e2e271a9216663c6e7ea
[]
no_license
skk4/python_study
534339e6c378d686c29af6d81429c472fca19d6d
4bdd2a50f4bdfd28fdb89a881cb2ebb9eac26987
refs/heads/master
2021-01-01T04:36:52.037184
2017-12-08T01:04:27
2017-12-08T01:04:27
97,207,719
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
# -*- coding:utf-8 -*- import urllib import urllib2 import json while 1: content = raw_input(">:") headers = { 'Referer': 'http://fanyi.baidu.com/?aldtype=16047/', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/5...
[ "skk_4@163.com" ]
skk_4@163.com
36e3c9586af6106c678d5bcac19e2ab7d0f50adc
44e8334e1b17fda7f60d9760f59868a9227e2ab0
/ML/ch10_9.py
a477bc9725a42a97d551bd6ada02ecd600ffca8d
[]
no_license
MysteriousSonOfGod/python-3
47c2aa69a84ba78876c74bc6f2e7e6f3093df1e2
a303a5284c40f3cb96a8082a1f5ed80773b66336
refs/heads/master
2023-02-16T18:21:46.153388
2021-01-13T10:55:14
2021-01-13T10:55:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,853
py
import pandas as pd import numpy as np import mglearn import matplotlib as mpl import matplotlib.pyplot as plt import sys, os sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) import images.image # 9. 두 개의 클래스를 가진 2차원 데이터셋 make_moons from sklearn.datasets import make_moons X, y = make_moons...
[ "cbaeck1@gmail.com" ]
cbaeck1@gmail.com
d2a3053fd64857bb28bf86e6ff1a7e69900c528b
1ad12a71c3d5d2b3810ce03e8bd138c4ffb66eb8
/xlsxwriter/test/comparison/test_chart_pie02.py
772e70f53f3fe101ff7ea093d7ef19814e4f5983
[ "BSD-2-Clause-Views" ]
permissive
idreamsfy/XlsxWriter
b52929229b16e2ee1eaca0cda9980a5a0aad5769
129044ed821de67895b4562c6b71f90eba5be6b4
refs/heads/master
2021-01-02T20:39:20.415882
2020-02-07T21:07:55
2020-02-07T21:07:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2020, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
bca4a0189f323184e4d9d842f593edc9890ec469
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02658/s377864583.py
a4bd4508fb86c22e9ea006ed431ef20ad6050566
[]
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
256
py
def main(): n = int(input()) a = list(map(int, input().split())) ans = 1 if 0 in a: print(0) return else: flag = True for i in a: ans *= i if ans > (10 ** 18): print(-1) return print(ans) main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a9f9d1d30ff078ad375c253215133f498c5895b9
9d29861e44389e02762e6eb0457c6a415a54e26c
/samples/images/export_task.py
64e408194a49b511eccab70c08ad4f8b855b7f79
[ "MIT" ]
permissive
itsmemattchung/pyrax
e787d67f8a79036834575f951f8c9e81d64d8b8f
e8eff127a5c9b6e64a9a42593d5e889c3c03f81d
refs/heads/master
2021-01-18T10:14:31.752469
2015-05-16T16:44:35
2015-05-16T16:44:35
21,360,598
0
0
null
null
null
null
UTF-8
Python
false
false
2,354
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c)2014 Rackspace US, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.ap...
[ "ed@leafe.com" ]
ed@leafe.com
86df25291145f18d5fc9e052389ac8390fba23ec
5e80f0b1af9fbf9dc774dbb68aa603574e4ae0ba
/algorithm-study/baekjun/1927.py
6029af1ee152bdfa3b91b592febe7a1fbf701b55
[]
no_license
namujinju/study-note
4271b4248b3c4ac1b96ef1da484d86569a030762
790b21e5318a326e434dc836f5f678a608037a8c
refs/heads/master
2023-02-04T13:25:55.418896
2020-12-26T10:47:11
2020-12-26T10:47:11
275,279,138
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
import heapq as hq import sys hq_arr = [] n = int(input()) # 연산 갯수 for _ in range(n): i = int(sys.stdin.readline()) # https://www.acmicpc.net/blog/view/56 if i: hq.heappush(hq_arr, i) else: if hq_arr: print(hq.heappop(hq_arr)) else: print(0)
[ "59328810+namujinju@users.noreply.github.com" ]
59328810+namujinju@users.noreply.github.com
93f739b3253aa3891ea450f662d32d5466856a30
ca23b411c8a046e98f64b81f6cba9e47783d2584
/learning_parameter_allocation/omniglot/omniglot_eval.py
57302ece23bb7e33211ed04e68884facbf8e35a4
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
pdybczak/google-research
1fb370a6aa4820a42a5d417a1915687a00613f9c
0714e9a5a3934d922c0b9dd017943a8e511eb5bc
refs/heads/master
2023-03-05T23:16:11.246574
2021-01-04T11:30:28
2021-01-04T11:30:28
326,629,357
1
0
Apache-2.0
2021-02-01T12:39:09
2021-01-04T09:17:36
Jupyter Notebook
UTF-8
Python
false
false
6,063
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
02d2173600e6ba222744b73a6ac1cf959bc7a32f
d96787f92bd86c8d8bcf01a4e7ec8f7feec24194
/kattis/kutevi/solution.py
9a687ed8e3f0ebe800bdb8b0ba3849c123defb8f
[]
no_license
iandioch/solutions
133cbc3af58fadcde0b2e981fb0e7d05801070a7
8b3e458b3c01179ddf776bfbb897f263f22f3693
refs/heads/master
2023-04-09T03:39:16.952817
2023-03-15T20:00:53
2023-03-15T20:00:53
47,693,495
48
40
null
2019-10-22T14:52:59
2015-12-09T13:36:55
Python
UTF-8
Python
false
false
526
py
from collections import deque n, m = map(int, input().split()) poss = [False for _ in range(360)] given = list(map(int, input().split())) q = deque() q.append(given[0]) while len(q): a = q.pop() if poss[a]: continue poss[a] = True for o in given: b = abs(a - o) if not poss[b]:...
[ "iandioch11@gmail.com" ]
iandioch11@gmail.com
2005e615b5cc1e94cd02c98c46a797303e28e8b4
3ed50263057c1695330009f9f5b122e412e1c02f
/bn/distribs/multivariate_distribution.py
353b2f69ef7384b8f6ede8151da65d51d4e14d4f
[ "MIT" ]
permissive
ppijbb/PyOpenDial
5528aa584190dcf08b892ec92a5ce8c2b82eb845
c9bca653c18ccc082dc8b86b4a8feee9ed00a75b
refs/heads/master
2022-02-16T01:27:39.667661
2019-07-24T10:51:41
2019-07-24T10:51:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,027
py
import abc from multipledispatch import dispatch from datastructs.assignment import Assignment class MultivariateDistribution: """ Representation of a multivariate probability distribution P(X1,...Xn), where X1,...Xn are random variables. """ __metaclass__ = abc.ABCMeta @dispatch() @ab...
[ "jys5609@gmail.com" ]
jys5609@gmail.com
bbcc0cc75155387e6ce8b9a138302984c6c21481
37f1563cdacf4b37b5b927b892538218aae79c77
/medium/trees/flatten.py
3a5d24227b7f8b528e32e799246ebdb3f20589e1
[]
no_license
unsortedtosorted/elgoog
9dee49a20f981305910a8924d86e8f2a16fe14c2
5be9fab24c0c1fd9d5dc7a7bdaca105f1ca873ee
refs/heads/master
2020-04-15T00:51:12.114249
2019-05-19T04:37:24
2019-05-19T04:37:24
164,254,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
""" 114. Flatten Binary Tree to Linked List Steps: if leaf node, do nothing if not leaf node: flatten left subtree flatten right subtree connect right child to right most leaf of left child make left child as right child make left child None RunTime : O(N^2) Space : O(N) """ class Solution(object): ...
[ "noreply@github.com" ]
unsortedtosorted.noreply@github.com
0cad74dfab81fccf5ba4454fd2435cc789439934
6b181f5640e2c3df91d1a6d5c95cf1989012f0d5
/RPi-stub/spidev.py
c598627f4304ee6d4f63e4b17637f97d0978bb97
[ "MIT" ]
permissive
GamesCreatorsClub/GCC-Rover
9b84dcd84cce60c321906223f8c24f99722d1bae
25a69f62a1bb01fc421924ec39f180f50d6a640b
refs/heads/master
2021-01-11T18:04:05.876976
2019-10-01T15:20:30
2019-10-01T15:20:30
79,477,472
3
0
null
null
null
null
UTF-8
Python
false
false
5,320
py
import os import socket _SPI_CPHA = 0x01 _SPI_CPOL = 0x02 # _SPI_MODE_0 = 0 # _SPI_MODE_1 = SPI_CPHA # _SPI_MODE_2 = SPI_CPOL # _SPI_MODE_3 = SPI_CPOL | SPI_CPHA # _SPI_MODES = [_SPI_MODE_0, _SPI_MODE_1, _SPI_MODE_2, _SPI_MODE_3] _SPI_CS_HIGH = 0x04 _SPI_LSB_FIRST = 0x08 _SPI_3WIRE = 0x10 _SPI_LOOP = 0x20 _SPI_NO_C...
[ "natdan@users.noreply.github.com" ]
natdan@users.noreply.github.com
a2595b2efb0dc2cdd2387f296ae8a5b72d28c811
974c5a4f101d0e6f4dfa5fc2f7c641c9d2bd8184
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_operations.py
9652fce008b36636921de47c082edd72b0107162
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
gaoyp830/azure-sdk-for-python
4816f04c554dcffb7510a6b7044b0c86a2dd32e1
1c66defa502b754abcc9e5afa444ca03c609342f
refs/heads/master
2022-10-20T21:33:44.281041
2022-09-29T17:03:13
2022-09-29T17:03:13
250,355,505
0
0
MIT
2020-03-26T19:42:13
2020-03-26T19:42:12
null
UTF-8
Python
false
false
5,460
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
gaoyp830.noreply@github.com
b5acde1079fe57a98f775f9003f4e8c68c326e4e
41bea39563c74621924d79723f8ba84889958365
/nkamg_pcap/server/antimal/misc/trails/feeds/bambenekconsultingdga.py
698420381e69cf7f7c349a1e65d60c536efd4101
[ "MIT" ]
permissive
NKQiuKF/pcap_update
abee0c13cb583fddb89eb9e86a487279bdc18f1d
679e3f116367394a5f58eb4f95b5318e80fee331
refs/heads/master
2022-10-21T17:49:30.706480
2019-09-02T09:22:06
2019-09-02T09:22:06
205,816,421
1
0
null
2022-10-06T18:33:32
2019-09-02T08:55:55
JavaScript
UTF-8
Python
false
false
647
py
#!/usr/bin/env python """ Copyright (c) 2014-2016 Miroslav Stampar (@stamparm) See the file 'LICENSE' for copying permission """ import re from core.common import retrieve_content __url__ = "http://osint.bambenekconsulting.com/feeds/dga-feed.txt" __check__ = "Domain used by" __reference__ = "bambenekco...
[ "453341288@qq.com" ]
453341288@qq.com
6fb7d3bd1ca93b6147bb8eb30c92161cb11b930b
d867398bd54ef772a624a72e283a6b2bb546f693
/signbank/docker_wsgi.py
40135228152c02660b293ec2c07228e7b2188eec
[ "BSD-3-Clause" ]
permissive
stevecassidy/signbank-modular
b5d6aa3fd05b0aeeed9c7bb4688be6d0e5cb7b16
f00e30814c8a08fe00eb28df231791f6fc18ce7f
refs/heads/master
2023-01-13T09:32:39.503182
2022-01-12T04:18:59
2022-01-12T04:18:59
79,797,386
1
1
BSD-3-Clause
2022-12-26T20:58:06
2017-01-23T11:13:45
Python
UTF-8
Python
false
false
1,333
py
""" WSGI config for signbank project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION``...
[ "steve.cassidy@mq.edu.au" ]
steve.cassidy@mq.edu.au
0751f1fdaa3b2d55769f3fc59c2d654fde132400
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/331/usersdata/302/94330/submittedfiles/funcoes1.py
46414bcab930f2ecf75035fde4caf630153d831d
[]
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
1,102
py
# -*- coding: utf-8 -*- ''' def crescente (lista): if lista == sorted(lista): return True else: return False def decrescente (lista): if lista == sorted(lista, reverse = True): return True else: return False def consectivos (lista,n): for i in range(0,n,1): if i < n: if l...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
493abda9b939ba922dde6ee476d341dceaf83a2f
89a90707983bdd1ae253f7c59cd4b7543c9eda7e
/effective_python/item_52/recursive_import_bad/dialog.py
8138738a13171344c2d6677a8de506fafcda19cb
[]
no_license
timothyshull/python_reference_code
692a7c29608cadfd46a6cc409a000023e95b9458
f3e2205dd070fd3210316f5f470d371950945028
refs/heads/master
2021-01-22T20:44:07.018811
2017-03-17T19:17:22
2017-03-17T19:17:22
85,346,735
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
#!/usr/bin/env python3 # Copyright 2014 Brett Slatkin, Pearson Education Inc. # # 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 re...
[ "timothyshull@gmail.com" ]
timothyshull@gmail.com
ee48ec2d8e4f8e0d3b65128e0d92c29aa39b01c6
0facb323be8a76bb4c168641309972fa77cbecf2
/Configurations/HWWSemiLepHighMass/nanoAODv5/2018/Mix/MassPoints/samples_2018limit_M800.py
05c27f3ed419caa0a34d0b08bea9be09fa084db5
[]
no_license
bhoh/SNuAnalytics
ef0a1ba9fa0d682834672a831739dfcfa1e7486b
34d1fc062e212da152faa83be50561600819df0e
refs/heads/master
2023-07-06T03:23:45.343449
2023-06-26T12:18:28
2023-06-26T12:18:28
242,880,298
0
1
null
2020-02-25T01:17:50
2020-02-25T01:17:49
null
UTF-8
Python
false
false
19,238
py
#-----Variable Deinition-----# supercut = 'nLepton>0' eleWP='mvaFall17V1Iso_WP90' muWP='cut_Tight_HWWW' LepWPCut='(Lepton_isTightElectron_'+eleWP+'[0]>0....
[ "soarnsoar@gmail.com" ]
soarnsoar@gmail.com
b1bfe0cbfab8073e75cb7be278c8efa2c751956e
169edd2e971f78b261c78eb6e927efce7499237a
/2017_01_21_297/serializeAndDeserializeBT.py
dbaa31e137ab7e81e2b1f075f533908f61ec44c2
[]
no_license
wk633/crack_leetcode
ce75fc92160a5e618f9cd84f5a6ab4871021f17b
e8559773069447f9e986712c45f6a5a53eaeb123
refs/heads/master
2021-01-13T07:38:50.957328
2017-05-12T01:51:21
2017-05-12T01:51:21
78,284,395
0
0
null
null
null
null
UTF-8
Python
false
false
1,205
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Codec: def serialize(self, root): """Encodes a tree to a single string. :type root: TreeNode :rtype: str ...
[ "wk633@outlook.com" ]
wk633@outlook.com
a26332d09362043d07118787666ef90c13046967
b63142e8540cb30bb0c663332e29a4112721073e
/1112_set_mismatch.py
b9a4afe54d4b78dccd9dfe2c00c7e86f2356ed95
[]
no_license
HaydenInEdinburgh/LintCode
025bb2f0d75686097061de324c0fd292536dbb14
dbeae2bf631e57667d1415164d452d5ca2df7447
refs/heads/master
2023-08-18T19:52:54.561623
2021-10-06T21:46:50
2021-10-06T21:46:50
370,733,548
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
class Solution: """ @param nums: an array @return: the number occurs twice and the number that is missing """ def findErrorNums(self, nums): # Write your code here if not nums: return cnt = {} for n in nums: cnt[n] = cnt.get(n, 0) +1 p...
[ "bony960323@gmail.com" ]
bony960323@gmail.com
989a78a26e8477e2179a5074d77b7c51c2f41e38
b3a2beaab1ac676c96e93a48d4f35ff6ed6799d0
/anyex/exmo.py
04a6da12b6988532f22314b2b2c28247dceda6cd
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ttwishing/anyex
40c06cf34e4d8f96bb968e8b7be3d2da5e6023f8
cfd1f2f04ab992b790add4843aafff91e5773cbf
refs/heads/master
2020-05-23T12:07:58.615432
2019-05-15T05:09:46
2019-05-15T05:09:46
186,751,745
0
0
MIT
2019-05-15T04:57:08
2019-05-15T04:57:08
null
UTF-8
Python
false
false
24,105
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/anyex/anyex/blob/master/CONTRIBUTING.md#how-to-contribute-code from anyex.base.exchange import Exchange # ----------------------------------------------------------------------------- try: bases...
[ "yong2452@gmail.com" ]
yong2452@gmail.com
5969f9a3f58bcb9581bb2c8659c6b3ec621e71f5
995514f414eee6bbe9083ec39ecd3027cf9fd7d8
/3.2/14_mandelbrotTime.py
70eae2dba5c0725cca43753388faa48c6d600cd7
[]
no_license
j16949/Programming-in-Python-princeton
e02376ebb714264a1329aacad30347e4ae79f909
392391b98815cc1ae2b49e1057a10bc5b37e801f
refs/heads/master
2023-08-08T11:52:04.362780
2023-08-01T13:02:41
2023-08-01T13:02:41
313,943,770
0
0
null
null
null
null
UTF-8
Python
false
false
2,391
py
#----------------------------------------------------------------------- # mandelbrot.py #----------------------------------------------------------------------- import sys import stddraw from color import Color from picture import Picture import complex as com from stopwatch import Stopwatch #-----------------------...
[ "kkwert@sina.com" ]
kkwert@sina.com
8f90f0f74e299c60c30453d312fc3d1aba364719
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03013/s183344003.py
a8fdb4a198d1b4d4846bb4b99b7d9b53647648b2
[]
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
326
py
N, M = map(int, input().split()) X = [int(input()) for _ in range(M)] MOD = 10 ** 9 + 7 dp = [-1] * (N + 1) dp[0] = 1 for i in range(M): dp[X[i]] = 0 for i in range(N): if dp[i + 1] < 0: if i == 0: dp[i + 1] = dp[i] else: dp[i + 1] = (dp[i] + dp[i - 1]) % MOD print(dp...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
355aefac356edd3ca3cfe23b9b410776566b9d49
ff66dfb302dfdc5a519787cea8ad0ccfc2264334
/python/ex6_support_vector_machines/ex6_spam.py
2a5930371e0659dc42529d963af53411ce0ba45b
[ "MIT" ]
permissive
ashu-vyas-github/AndrewNg_MachineLearning_Coursera
1c2d50e6a44e8e673203bf06a3f0165cac0a240e
1be5124b07df61f7295dd1c5151b86b061bf50fc
refs/heads/main
2023-07-11T14:30:52.057125
2021-08-17T06:04:30
2021-08-17T06:04:30
388,360,602
0
0
null
null
null
null
UTF-8
Python
false
false
3,523
py
# Machine Learning Online Class # Exercise 6 | Spam Classification with SVMs # # Instructions # ------------ # # This file contains code that helps you get started on the # exercise. You will need to complete the following functions: # # gaussianKernel.m # dataset3Params.m # processEmail.m # emailF...
[ "ashutoshavyas@gmail.com" ]
ashutoshavyas@gmail.com
84406411b9aca252144887dbe784d8a128e5029b
115ef7a9ffc88148b7439bd25ef3c97720be87e6
/Backtester_v2.0/2.0/correlation.py
421ae0d95b0fdcf95cf4f52eb0b2f350f8de07db
[ "MIT" ]
permissive
octicalpha/billions
387bc0db600dd97915be0cece710237ff626b86c
5465c527d614ae64789906197c1effe7ba94d373
refs/heads/master
2020-04-01T21:35:50.582694
2018-10-14T05:36:50
2018-10-14T05:36:50
153,664,919
0
3
null
2018-10-18T17:53:35
2018-10-18T17:53:34
null
UTF-8
Python
false
false
3,929
py
import pandas as pd import numpy as np import os import re from matplotlib import pyplot as plt import argparse class Corr(object): def __init__( self, pnl_dir_path, pnl_filepath, pos_dir_path, pos_filepath, range_ ): self.meta_info = { "pnl": { "d...
[ "ubuntu@ip-172-31-26-154.ap-northeast-2.compute.internal" ]
ubuntu@ip-172-31-26-154.ap-northeast-2.compute.internal
062d988ee4c6b9c74fee068ea1501c5cbc67ff6f
942ee5e8d54e8ebe9c5c841fbfdd1da652946944
/2501-3000/2518.Number of Great Partitions.py
cb48ab1fc9ca60491f8fa5cb5332230e804326f0
[]
no_license
kaiwensun/leetcode
0129c174457f32887fbca078fb448adce46dd89d
6b607f4aae3a4603e61f2e2b7480fdfba1d9b947
refs/heads/master
2023-08-31T07:30:50.459062
2023-08-27T07:59:16
2023-08-27T07:59:16
57,526,914
69
9
null
2023-08-20T06:34:41
2016-05-01T05:37:29
Python
UTF-8
Python
false
false
814
py
from functools import cache MOD = 10 ** 9 + 7 class Solution: def countPartitions(self, nums: List[int], k: int) -> int: prefix_sum = [0] * len(nums) for i in range(len(nums)): prefix_sum[i] = nums[i] + prefix_sum[i - 1] if prefix_sum[-1] < k * 2: return 0 @...
[ "skw_kevin@126.com" ]
skw_kevin@126.com
9c05be7ad041f9de5e1d1bce2dd31350714c4619
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/386/usersdata/353/92377/submittedfiles/ep1.py
10718f855550587ca2a4c168c199e31760a04b62
[]
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
1,725
py
# -*- coding: utf-8 -*- ''' /**********************************************************/ /* Equipe: Igor Emanuel Lucas Farias, Victória Cruz Gouveia */ /* N ́umero de matriculas: 407553, 407582 */ /* Exercicio-Programa 1 -- Ra ́ızes de Equa ̧c~oes Quadr ́aticas */ /* ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8843b68fa4debf3686b1f6037b8afaea4ee71840
b739fefa06d46a60fe053f7fe0fe2c62a52242b2
/pages/admin/edit_news_page.py
1417cc238ade39fddacc51eaa0b28d1870ddfc0f
[]
no_license
icorso/gkr-web-tests
c59d3b0f7e371e887c6699cd09b6a87a71dd762e
fdf25ad700d75230f1af74b646a6a8a18f3d0b18
refs/heads/master
2021-01-13T05:15:37.913759
2017-02-08T07:44:04
2017-02-08T07:44:04
81,296,963
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
# coding=utf-8 from pages import page, Input, Checkbox, BasePage, BaseElement, By from pages.gkr_page import GkrPage @page(u"Форма редактирования новости", By.XPATH, "//form[..//child::*[contains(text(),'Редактирование новости')]]") class EditNewsPage(GkrPage): TITLE = BaseElement("Поле 'Заголовок новости'", By....
[ "icorso@yandex.ru" ]
icorso@yandex.ru
dad102cb3faea7b8d1d9c97f542f4ce326fe7d2f
3c44ddbe867d953a5f27c8c073e1ea5e995b5873
/experiments/experiment_1/debugger.py
7a9f1bcd3dee99eca66c48d12ca62b8f83a43330
[]
no_license
cair/deep-warehouse
37f6a3510638b36c276abb62b6b770d0ba6186af
93cb7329c28733083b48ab6afd3de91676852175
refs/heads/master
2022-03-10T16:45:59.553325
2022-02-20T17:28:19
2022-02-20T17:28:19
167,932,576
5
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
import sys from deep_logistics.scheduler import OnDemandScheduler from deep_logistics.spawn_strategy import LocationSpawnStrategy from experiments.experiment_3.state_representations import State0 sys.path.append("/home/per/GIT/deep-logistics") sys.path.append("/home/per/IdeaProjects/deep_logistics") sys.path.append("...
[ "per@sysx.no" ]
per@sysx.no
a71cc98489fc1998a280603110b534f157129380
1a1b7f607c5e0783fd1c98c8bcff6460e933f09a
/core/charge/charge_types.py
6f4f6bbf937df689e1cbbdc057d1a0b96b383e91
[]
no_license
smrmohammadi/freeIBS
14fb736fcadfaea24f0acdafeafd2425de893a2d
7f612a559141622d5042614a62a2580a72a9479b
refs/heads/master
2021-01-17T21:05:19.200916
2014-03-17T03:07:15
2014-03-17T03:07:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,648
py
from core.charge.internet_charge import InternetCharge from core.charge.voip_charge import VoipCharge from core.charge.internet_charge_rule import InternetChargeRule from core.charge.voip_charge_rule import VoipChargeRule from core.lib.time_lib import * from core.ibs_exceptions import * def getChargeClassForType(_type...
[ "farshad_kh" ]
farshad_kh
6b8ead12bbffd5a38cf2d2bff5bce335c95ee51f
1bd14e051251d08393731c03ccfb37a324227e1c
/troposphere_mate/elasticbeanstalk.py
288cd4e0855ebe72cb5021cdb0fc981f760b6594
[ "MIT" ]
permissive
tsuttsu305/troposphere_mate-project
f04bb6a3d137be3e265652c626008edfbb670b55
15ee94cc913efb32bc991979efcad943c992074c
refs/heads/master
2023-06-07T15:07:47.041944
2021-07-05T02:02:00
2021-07-05T02:02:00
285,152,616
0
0
MIT
2020-08-05T02:08:01
2020-08-05T02:08:00
null
UTF-8
Python
false
false
10,323
py
# -*- coding: utf-8 -*- """ This code is auto generated from troposphere_mate.code_generator.__init__.py scripts. """ import sys if sys.version_info.major >= 3 and sys.version_info.minor >= 5: # pragma: no cover from typing import Union, List, Any import troposphere.elasticbeanstalk from troposphere.elasticbea...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
ec5e8b11caa32c3c05e9e790c8640c5854a59efe
308953409e1a3b828ac49b7301c1e751cbf762cf
/suite_ERC113C/tst_Offline_Value_Verification_After_Export/test.py
0b61d6d28c8a932c2629a09e7db845a7ea357bd3
[]
no_license
asthagaur1/danfoss-automation
4dcc7d8f000917b67e4d6f46ff862a525ddcbc5e
213a99d3375889cd0e0c801421a50e9fe6085879
refs/heads/main
2023-03-31T23:26:56.956107
2021-04-01T08:52:37
2021-04-01T08:52:37
353,627,845
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
def main(): excel = r"C:\gitworkspace\TestAutomation-AKCC5XX\Test_Automation\SourceCode\Test_Suites\suite_ERC113C\shared\testdata\Offline_Export_Verifying_Values.xls"; #Mapping with Global scripts for Function library and key action. source(findFile("scripts", "Functions.py")) source(findFile("scripts",...
[ "asthagaur@danfoss.com" ]
asthagaur@danfoss.com
693bf5679a15c573e4ebe87b0a134e654d96be1a
bdda458001808a029b171c09286f022a1384d180
/crm/api/urls.py
4432114d1a628d5ae2367f08e965ea609d506cbb
[]
no_license
bianchimro/crm-django
4189f5c0c31f03d23a2b644a14403d63b8efdf0a
d8e4d18174cb050fd7a22d53fe8bb152e6e43120
refs/heads/master
2021-04-27T15:15:28.219887
2018-02-22T16:51:00
2018-02-22T16:51:00
122,466,604
1
0
null
null
null
null
UTF-8
Python
false
false
387
py
from django.urls import path from .views import ExampleView, AziendaList, AziendaViewSet from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register(r'aziende', AziendaViewSet) urlpatterns = [ path('example/', ExampleView.as_view(), name="example"), path('aziende_list/', AziendaL...
[ "bianchimro@gmail.com" ]
bianchimro@gmail.com
8a86a57c6ba570a80e5a56773f4aacac0bdfff77
cc64b1b5deb4530a5bd3eaabd98ebd4daa2deea1
/Aulas/Exercícios-Mundo2/Aula014/Ex064.py
c503ec40e5b592f3dae6498fbbfd25ca252956e6
[ "MIT" ]
permissive
Sofista23/Aula1_Python
239b9920353138ff99d99dd0af66a4788f1cbb22
129132d977058ac6f23cc95c7bb8b55d8a1bb429
refs/heads/main
2023-09-01T23:55:20.529528
2021-10-13T23:19:33
2021-10-13T23:19:33
416,924,760
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
n=0 s=0 q=0 while n != 999: n=int(input("Digite um número:")) if n != 999: s += n q += 1 print("A soma de todos os números é {0}.".format(s)) print("A quantidade de números digitados foi de {0}.".format(q))
[ "81760467+Sofista23@users.noreply.github.com" ]
81760467+Sofista23@users.noreply.github.com
ff25ffd31d796bc554c0a32e2113e547c0222a62
cbd9b8f2dbd692d74eba6e92465e5f1dc1a807b3
/ukpopulation/myedata.py
33de0fab035316ed548c79e4507c2972d4735391
[ "MIT" ]
permissive
geoadom/ukpopulation
5a99f02c06c2b76464df2508a8f01f0b9ab0a803
bfbd55097a4e9f458e2da6673a83576e37f5079b
refs/heads/master
2020-03-21T07:59:37.195042
2018-06-21T15:02:31
2018-06-21T15:02:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,297
py
""" MYEData - wrapper around Mid-Year Estimate data by LAD, SYoA and gender """ import pandas as pd import ukcensusapi.Nomisweb as Api import ukpopulation.utils as utils class MYEData: """ Functionality for downloading and collating UK mid-year estimate (MYE) data Nomisweb stores the data for the entire UK, fro...
[ "a.p.smith@leeds.ac.uk" ]
a.p.smith@leeds.ac.uk
ddc2a74972b55f12dc91815381d50be81c7ebf36
ba0a2b0d2d1534443ea34320675aadfa378457b6
/Array/Q1267_Count Servers that Communicate.py
bd2da1840b785f2af80b49ee05d2babff826b118
[]
no_license
Luolingwei/LeetCode
73abd58af116f3ec59fd6c76f662beb2a413586c
79d4824879d0faed117eee9d99615cd478432a14
refs/heads/master
2021-08-08T17:45:19.215454
2021-06-17T17:03:15
2021-06-17T17:03:15
152,186,910
0
1
null
null
null
null
UTF-8
Python
false
false
513
py
# 思路: 计算每行每列的server个数,如果一个server与其他server连接,则该行或该列server个数大于1 class Solution: # O(mn) def countServers(self, grid): res=0 m,n=len(grid),len(grid[0]) row,col=list(map(sum,grid)),list(map(sum,zip(*grid))) for i in range(m): for j in range(n): if grid[i...
[ "564258080@qq.com" ]
564258080@qq.com
c7e969446f55baab789853c7141aee407cfb5de5
b2403817f9221ee3550130572a808194ef4f3fda
/Excersise/DiscoverMonk.py
d83e2599dd6f66c342a4d3eafec2a9d392354bbd
[]
no_license
xaviergoby/Python-Data-Structure
e962444ef5b1313c3facbf1fcc315af182b73a26
eaaf31ea98d63e812a75c1d6ecb8722b9c0cf142
refs/heads/master
2020-04-13T00:24:40.896592
2018-11-27T11:51:36
2018-11-27T11:51:36
162,844,732
1
0
null
2018-12-22T21:46:29
2018-12-22T21:46:29
null
UTF-8
Python
false
false
284
py
__author__ = 'Sanjay' def monk(n, args = []): someArray = range(0,50,10) for i in args: if i in someArray: print ("YES") else: print ("NO") if __name__ == '__main__': someList = range(0,100,10) monk(len(someList), someList)
[ "sanjay.siddha3@gmail.com" ]
sanjay.siddha3@gmail.com
8453de52904329d3aaf8fd34272d1308db93de74
7d283f0762d2f85b04148e5db5acebc44dbba606
/get_post_info_dl.py
89d24f3e55214c8c843896a14624df05bc0e6664
[]
no_license
Brandon-Valley/reddit_comp
50dcd3571be1116bebb607c54e105096078c161f
ec618dc12b007a670fb4cc879554c4cf41796b62
refs/heads/master
2022-01-10T19:18:18.042008
2019-06-02T18:30:11
2019-06-02T18:30:11
188,881,552
0
0
null
null
null
null
UTF-8
Python
false
false
3,408
py
import subprocess import json import file_system_utils # optional arguments: # -h, --help show this help message and exit # --directory DIRECTORY, -d DIRECTORY # Specifies the directory where posts will be downloaded # to # --NoDownload Just ge...
[ "bavvh8@mst.edu" ]
bavvh8@mst.edu
4d432a747f4aa1931de0a032b8c48e1b17d77e38
b7add0d1b1effc50b27d3316fa5889a5227e5b19
/Micropython/PYCARD/tests/archieved/hall_encoder_test_2.py
30c908f586454c75ba6d4044967b71489fa1d5d2
[]
no_license
Woz4tetra/Atlas
efb83a7c7b2698bf8b36b023f7aa573cc38284f6
c7380868a9efef9d1594ed7aa87187f03a7e4612
refs/heads/master
2020-04-04T06:25:50.657631
2017-04-05T01:53:15
2017-04-05T01:53:15
50,269,756
3
1
null
null
null
null
UTF-8
Python
false
false
494
py
import pyb from objects import HallEncoder pin = "X11" mode = "" while mode != "e" and mode != "r": mode = input("Raw or encoder counts (r or e)?\n> ").lower() if mode == "e": encoder = HallEncoder(0, pin, 80, 100) while True: if encoder.recved_data(): print(encoder.enc_dist, encoder....
[ "woz4tetra@gmail.com" ]
woz4tetra@gmail.com
81db93b7457b194f44a05dbeb19bfbb07cbf8c1a
6dedf9401746e934e87698f58eedb4631ea5f81b
/scrapy_demo/tesseract/demo.py
5fe50242cefbd8841af0687901b25feedf89c539
[]
no_license
2415970940/scrapy
0d03f9fe0cf121f637b7c5b03d328453c0ae35a7
5a1f4da0d92b3d80c1b95ed9fff0ab4bd02660bd
refs/heads/master
2020-03-23T13:13:50.282118
2018-08-02T09:13:24
2018-08-02T09:13:24
141,607,064
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
import pytesseract from PIL import Image pytesseract.pytesseract.tesseract_cmd = r"G:\progamapp\Tesseract-OCR\tesseract.exe" tessdata_dir_config = '--tessdata-dir "G:\\progamapp\\Tesseract-OCR\\tessdata"' image = Image.open("test.png") text = pytesseract.image_to_string(image,config=tessdata_dir_config) print(text)
[ "2415970940@qq.com" ]
2415970940@qq.com
1639881041340218040dcde824de76ea4b03ae92
58e02b9b88d5aed5acb3f544d1f92114c5468973
/language/serene/training.py
4e0df59a56e9d4c509e71f18ad0ea42a19a095f3
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
alsuhr-c/language
bfb15e23b223c13c119cbb9840dc938571d0d7e0
2223b5c72a69d298f211c8d77bb7a2243af8fe49
refs/heads/master
2021-08-09T01:18:10.314001
2020-09-20T20:45:22
2020-09-20T20:45:22
221,727,017
0
0
Apache-2.0
2020-07-20T20:15:23
2019-11-14T15:18:07
Python
UTF-8
Python
false
false
31,036
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors. # # 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 ...
[ "kentonl@google.com" ]
kentonl@google.com
7c7fc0f5567572ab0c07b65e752550907fbbcd9e
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_135144.13+124255.8/sdB_sdssj_135144.13+124255.8_coadd.py
4c2a173777392d114cb21ec9fb51411e53878edf
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[207.933875,12.7155], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_sdssj_135144.13+124255.8/sdB_sdssj_135144.13+124255.8_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OU...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
ed785e2b5af05ae400c0d35d937f9c33162497ac
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_QC59.py
2688aa43ef87eefbaedb8591966863e235cc4be4
[ "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
2,580
py
# qubit number=3 # total number=10 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collectio...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
7b9e7785e184e54395de1a8b8168e9e9f6dd5da5
3604693215eeac8667a2d140cf0881ec8c3461c4
/TA1_solution.py
eafff85dea49f69746c0240874fd1d89c4227619
[]
no_license
SanjuktaBhatt/G11_C5
7ded1547a5939442f8e6f0a7bcbba065e0ef38e2
2b35462c67bf3a4cfdc3a3a7b257531352304d2a
refs/heads/main
2023-09-04T20:14:41.379654
2021-10-28T06:42:10
2021-10-28T06:42:10
381,617,303
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
maria_busy=True while maria_busy: print("Keep decorating!") maria_busy=False print("Get ready to surprise!")
[ "noreply@github.com" ]
SanjuktaBhatt.noreply@github.com
b80afaa7949dc6770d059a0287bbc3a17570e136
ac09dbe531660a8f5ea6d0ab9b9496db856fe88e
/rules/download_data.smk
bd1e90cfe76baacaac35853c849070aadbdbe100
[ "MIT" ]
permissive
EthanHolleman/GLOE-reps
fc203c0676d474e1477318c18251eb0ff1ac0fc3
196e98eb8cf5fb591ae02b5e999d3562c46b81c2
refs/heads/main
2023-04-09T18:14:23.009901
2021-04-15T01:53:33
2021-04-15T01:53:33
354,414,057
0
0
MIT
2021-04-04T17:57:18
2021-04-03T23:18:50
Python
UTF-8
Python
false
false
1,745
smk
import pandas as pd GLOE_SAMPLES = pd.read_csv( 'samples/GLOE_samples.csv', sep=',' ).set_index('Sample Name', drop=False) # Download GLOE-seq data and process into fastq rule expand_gloe_samples: input: expand('rawdata/GLOE-seq/{sample_name}.sra', sample_name=GLOE_SAMPLES['Sample Name']) rule dow...
[ "etholleman@ucdavis.edu" ]
etholleman@ucdavis.edu
126b2a8c33e68656967eae19d2378d22a7ea2628
242918b007e06cbebbf5b276580a0ed89d0020fa
/thrift/compiler/test/fixtures/inheritance/gen-py3/module/services.pyi
f696015594a83586fbfc4424fc7df5a066a60980
[ "Apache-2.0" ]
permissive
wby-test/fbthrift
2a16ce45d94d3961936300f5b81098cf345360e6
8c50c4ac75ec16ebcd2485ca886b49d3ea55515e
refs/heads/master
2022-08-03T08:30:40.931712
2017-11-28T06:28:36
2017-11-28T06:34:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
907
pyi
# # Autogenerated by Thrift # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @generated # import typing as _typing from thrift.py3.server import RequestContext, ServiceInterface import module.types as _module_types class MyRootInterface( ServiceInterface ): @_typing.overload asyn...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
09f0bceefb59bb73736f9993fabbf1ed9b32640e
9766c2e479e99cca5bf7cc834c949fc4d5286275
/SRC/engine/element.spy
c45a0915e20516a294ba71e27364b627bf1d54c2
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
UstbCmsPjy/OOF2
4c141e8da3c7e3c5bc9129c2cb27ed301455a155
f8539080529d257a02b8f5cc44040637387ed9a1
refs/heads/master
2023-05-05T09:58:22.597997
2020-05-28T23:05:30
2020-05-28T23:05:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
784
spy
# -*- python -*- # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities associated # with its operation, modification and maintenance. However, to # facilitate maintenance we as...
[ "lnz5@rosie.nist.gov" ]
lnz5@rosie.nist.gov
8d6306d191fe7def474de55a4085373419f1808d
b9dcea5142af620b651fdfac05ffcac021ef6f83
/heroku_deploy/settings.py
0c8efb0f8c32a6b2ddba5192ab7b8e4fb168aedd
[]
no_license
Jordan-Ak/heroku_deployment
aee7c1f721a51831329fef244a48fc7d65c3d0fc
ada1568a1c120903e400ba190f9a8fac3fb86d77
refs/heads/master
2023-03-29T12:16:30.680308
2021-02-23T08:16:58
2021-02-23T08:16:58
339,159,841
1
0
null
null
null
null
UTF-8
Python
false
false
3,474
py
""" Django settings for heroku_deploy project. Generated by 'django-admin startproject' using Django 3.1.6. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from p...
[ "JosiahDavid98@gmail.com" ]
JosiahDavid98@gmail.com
31061a65eab30817d6bac7d2d11b6ae2e84bf634
e6f73cc3398050b23df28e3f11a10afbb46ee38b
/idea/chain_iter/great.py
9ef7b72eb2ef2aebef5e53d23cfc96e52856e86a
[]
no_license
monarin/divelite
3db262bf07a0de870d0bfe650ebdf21225b88c1b
0d297bda7368c5295336565431fbfa18a5686f15
refs/heads/master
2023-06-29T23:42:34.541874
2023-06-08T17:59:59
2023-06-08T17:59:59
120,695,376
0
1
null
2018-09-06T00:03:30
2018-02-08T01:41:19
C++
UTF-8
Python
false
false
1,054
py
class Step: def __init__(self,chunks): self.chunks = chunks def events(self): for i, chunk in enumerate(chunks): print(f'events() chunk {i}') for dg in chunk: if dg==102: return if dg<100: yield dg chunks = [iter([101,1,2,3,102,101,4,5,102...
[ "monarin@gmail.com" ]
monarin@gmail.com
f9644cf63ba76c1285a5a362ae49db9da36c072d
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_16052.py
ef3296d91a540d8831255e1a96840896b72cfa8c
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,843
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
f2b92c95db0379a8834ace8efc29165dfbec2f75
6569f43b525305a8899b920b8e58aab413feb519
/CommitteApp/migrations/0001_initial.py
b35fc854aca31273b4892e95c7c63a3797207735
[]
no_license
sontus-tripura-python/tsfbd
daa6b19f2dae8eaf8fd9c5a5c412d7cc9606a381
5f851c2616e912d0af1addaaeb8e64167eed9501
refs/heads/main
2023-04-25T08:36:59.288577
2021-05-07T05:13:28
2021-05-07T05:13:28
242,639,065
0
0
null
null
null
null
UTF-8
Python
false
false
7,016
py
# Generated by Django 3.1.5 on 2021-03-26 13:47 import autoslug.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='BranchCategory'...
[ "sontustrp.com@gmail.com" ]
sontustrp.com@gmail.com
cb039221da592e976304557e61902704eecbcbac
ab0315bcded75c10c591076b22ed8ff664ee76af
/fig4/8mods_round4_0919/config_scf_8mods_data_freeze_190917_sub3_1_2.py
df15d79c7bc45e5b1e3aad780dae8f8d1bab9a7e
[]
no_license
mukamel-lab/BICCN-Mouse-MOp
389f62492986a2ffe4278ed16f59fc17dc75b767
8058ab8ae827c6e019fff719903b0ba5b400931d
refs/heads/master
2021-07-06T11:14:25.401628
2020-09-30T04:54:27
2020-09-30T04:54:27
189,758,115
1
0
null
null
null
null
UTF-8
Python
false
false
1,916
py
#!/usr/bin/env python3 """An example configuration file """ import sys sys.path.insert(0, '/cndd/fangming/CEMBA/snmcseq_dev') import os import snmcseq_utils # # Configs name = 'mop_8mods_0915_k30_sub3-1-2' outdir = '/cndd/fangming/CEMBA/data/MOp_all/results' output_pcX_all = outdir + '/pcX_all_{}.npy'.format(name) o...
[ "fmxie1993@gmail.com" ]
fmxie1993@gmail.com
8bfe423384a181fbcaaca4b82f6299f2a9d8cac4
b6203a8829e4387031762d7a3d9c2125f82a465e
/helloDjango/mainapp/migrations/0011_auto_20210716_1550.py
387e9863e32ec579fb9003544d74473618a96248
[]
no_license
Jack-liyuanjie/Django01
db5f88560d65311987d70325c35f1783ded5ace9
7068dab5fe85b21d7a0f052572a68a2fe814fc21
refs/heads/master
2023-06-27T22:10:44.852483
2021-07-28T07:02:13
2021-07-28T07:02:13
390,248,440
0
0
null
null
null
null
UTF-8
Python
false
false
1,263
py
# Generated by Django 2.0.1 on 2021-07-16 07:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('mainapp', '0010_auto_20210716_1531'), ] operations = [ migrations.CreateModel( name='FruitCartE...
[ "2311485953@qq.com" ]
2311485953@qq.com
16fbdc4c4b8b382fdc8963e09498fcd6e61b7633
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/demo_20201106171218.py
e40917f42694981b872f3e9e7b9a58b87321d17f
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
# a = 1 # if a==0: # print("a=0") # else: # print("a!0") # """ # x>1 (3x-5) # -1<=x<=1 (x+2) # x < -1 (5x+3) # """ # x = int(input("输入您的数字:")) # if x > 1: # print(3*x-5) # else: # if x >= -1: # print(x + 2) # else: # print(5*x+3) # 猜数字游戏 # import random # computet_num = rando...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
67c3ac7edd41ead61f20b9de0717ebc0397b9688
bf683eb4a6080cf67669de90d1afdad53fccb738
/Lib/site-packages/django/contrib/gis/geoip2/base.py
b1035ac6ff31eecbe0e9d58d3948e23d7caa0892
[ "MIT" ]
permissive
mspgeek/Client_Portal
cd513308840aa4203554ebc1160f17f0dd4b17cf
0267168bb90e8e9c85aecdd715972b9622b82384
refs/heads/master
2023-03-07T21:33:22.767108
2020-04-08T01:43:19
2020-04-08T01:43:19
253,946,635
6
0
MIT
2022-12-31T07:01:43
2020-04-08T00:43:07
HTML
UTF-8
Python
false
false
9,033
py
import os import socket import geoip2.database from django.conf import settings from django.core.exceptions import ValidationError from django.core.validators import validate_ipv46_address from .resources import City, Country # Creating the settings dictionary with any settings, if needed. GEOIP_SETTINGS = { 'G...
[ "kspooner13@yahoo.com" ]
kspooner13@yahoo.com
e46760ca6a1ddba11d0537d234a557acc6dd3425
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_216/ch25_2020_09_09_21_54_03_750638.py
ad2b06073c8d92f2380ee1a03f82efb712a43682
[]
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
229
py
import math v = float(input("Velocidade")) a = float(input("Angulo")) d = ((v**2) * math.sin(2*a))/9.8 if d <= 98: print("Muito perto") else: if d >= 102: print("Muito longe") else: print("Acertou!")
[ "you@example.com" ]
you@example.com
b18bc25f8220824e4dc95d1c7070d671cc8e4d5f
e2f9d506dcc3fee7dbbbce370c7e2c3f48275828
/poc/merge-multiple-json-file/test.py
13f57b73202835f5b6dd25006a623ec8932c627f
[ "MIT" ]
permissive
MacHu-GWU/s3splitmerge-project
d33829f1ff6aed9cc77c9b4bec30601ce4570f60
873892158f4a2d0ee20f291e5d3b2a80f0bae1ba
refs/heads/main
2023-08-30T09:07:32.312453
2021-11-07T16:08:24
2021-11-07T16:08:24
394,803,306
0
0
null
null
null
null
UTF-8
Python
false
false
2,238
py
# -*- coding: utf-8 -*- import io import time import boto3 from boto3.s3.transfer import TransferConfig from icecream import ic import awswrangler as wr from datetime import datetime import pandas as pd from pathlib_mate import Path boto_ses = boto3.session.Session() s3_client = boto_ses.client("s3") class Config: ...
[ "MacHu-GWU@users.noreply.github.com" ]
MacHu-GWU@users.noreply.github.com
932b2be3018c7e85db9ac36d0ef3868c1c8bc902
89521af529f155a2352003caddd4b5edd58a57a6
/sale_invoice_plan/models/sale.py
5010af3a87f864d3e5aff52079aa8eef1222c4d7
[]
no_license
ecosoft-odoo/eco-addons
bd132d326c4af150f16dda7935af23d200e1e3df
cb0ebea2cb9a26945093e2a4036a0854b6fc89b2
refs/heads/11.0
2021-07-15T03:22:37.875705
2019-02-23T08:32:59
2019-02-23T08:32:59
168,274,323
0
5
null
2020-07-17T09:15:20
2019-01-30T03:41:11
Python
UTF-8
Python
false
false
6,745
py
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from dateutil.relativedelta import relativedelta from odoo import models, fields, api, _ from odoo.exceptions import UserError from odoo.addons import decimal_precision as dp from odoo.tools.float_utils import float_round as round class SaleOder(models.M...
[ "kittiu@gmail.com" ]
kittiu@gmail.com
3759d19c7821225d7aff6f1f4cd1a6780d8444bb
d7390fea6c7f712ee32be6d3478835d965d795e0
/py26_08day/task_08day.py
db5bc4485d6ca0abe1775d07e118dc8743cc7d00
[]
no_license
luwenchun/Automated_Test
2f424655d80127e3ed98657869021a775beca868
79b9937cfc0841b0a80d4fd45d8ff467654b5b55
refs/heads/master
2021-02-10T15:23:08.446463
2020-03-26T10:39:38
2020-03-26T10:39:38
244,393,626
0
0
null
null
null
null
UTF-8
Python
false
false
2,430
py
""" ============================ Author:柠檬班-木森 Time:2019/10/7 E-mail:3247119728@qq.com Company:湖南零檬信息技术有限公司 ============================ """ # 第一题 def mul_table(): for i in range(1, 10): for j in range(1, i + 1): print('{} * {} = {:<4}'.format(i,j,i*j),end="") print() ...
[ "luwenchun@users.noreply.github.com" ]
luwenchun@users.noreply.github.com
8c810e7e7f2efde783f7790fd2f14511ddd35ac6
8ded89b0aff486337e17ddd710eca15b8450a015
/first.py
25f35fa4facb43418c0376e78efcdf8fc5547efa
[]
no_license
svetlyak40wt/moscow-python-confpp-2021
2f99881efce9e41f0b281bd9f16d0611025ac684
d0b7ce93ac24d0c681697eb17703e975d15fdb27
refs/heads/master
2023-08-04T07:53:23.776076
2021-09-20T09:28:19
2021-09-20T09:28:19
406,925,502
2
0
null
null
null
null
UTF-8
Python
false
false
157
py
def load_ipython_extension(ipython): print('Loading "first" extension') def unload_ipython_extension(ipython): print('Unloading "first" extension')
[ "svetlyak.40wt@gmail.com" ]
svetlyak.40wt@gmail.com
b3603edcdd2487b22caaac500e8b836d86c87e51
d01670aa5bddb47dc414bf01921155610e2a5070
/leetcode/091_decodeways.py
66c865541c4fc56aa6acd0de248dfcfb71736389
[]
no_license
hwillmott/csfundamentals
14c7e4253b581cef7046ca035bda038c24a52613
832f6a8c0deb0569d3fe0dc03e4564c2d850f067
refs/heads/master
2020-08-01T12:27:01.914391
2020-03-26T16:47:35
2020-03-26T16:47:35
73,576,522
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
class Solution(object): def numDecodings(self, s): """ :type s: str :rtype: int """ if len(s) == 0: return 0 if len(s) == 1: return 0 if s[0] == "0" else 1 dp = [0]*(len(s)+1) dp[0] = 1 dp[1] = 0 if s[1] == "0" else 1 s = "0"...
[ "harriet.willmott@gmail.com" ]
harriet.willmott@gmail.com
1b01b4d4b97db401bb32399f6d99e33daa724450
ba90cb8a089d38de2c6d63bf65e9bf556731d5c6
/Projeto1/aplicacaoR.py
026fceaa757598cd22376291ab7299d7ce43933c
[]
no_license
luizasilveira/Camada_fisica
edc96288250b155b4d68156cf2a9ec638a3cb8c8
98c9f6c04d293abaa450c080403d3f25db9c4ef4
refs/heads/master
2020-07-05T21:00:33.782301
2019-10-31T18:50:12
2019-10-31T18:50:12
202,774,216
0
0
null
2019-09-05T17:33:14
2019-08-16T17:46:54
Python
UTF-8
Python
false
false
1,966
py
#!/usr/bin/env python3 # -- coding: utf-8 -- ##################################################### # Camada Física da Computação #Carareto #17/02/2018 # Aplicação #################################################### print("comecou") from enlace import * import time # Serial Com Port # para saber a sua porta, e...
[ "you@example.com" ]
you@example.com
60fba09736c5b2b4834cc41097c27d5db61e411f
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2486/60793/268658.py
cb6f125c3651fd7219133d58cda5cf81b8bf149a
[]
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
318
py
ls = [] for test in range(0, int(input())): ls.append(input()) if ls == []: print() print() elif ls == []: print() print() elif ls == []: print() print() elif ls == []: print() print() elif ls == []: print() print() elif ls == []: print() print() else: print(ls)
[ "1069583789@qq.com" ]
1069583789@qq.com
ab109fe310c0a92a3c5a6c5d7cc674974201c387
84a19fe0b89bb19caa1641aeadc9623c1a181767
/arc/078/d.py
0ff00fea6d789210dda2f0e596992697ebc2dad2
[ "MIT" ]
permissive
wotsushi/competitive-programming
75abae653cff744189c53ad7e6dbd2ca1a62e3a8
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
refs/heads/master
2021-06-10T06:42:40.846666
2021-05-31T10:32:51
2021-05-31T10:32:51
175,002,279
3
0
null
null
null
null
UTF-8
Python
false
false
970
py
from heapq import heappush, heappop # 入力 N = int(input()) a, b = ( zip(*(map(int, input().split()) for _ in range(N - 1))) if N - 1 else ((), ()) ) # 頂点1, N から各蝶点への距離を求める G = [{} for _ in range(N + 1)] for x, y in zip(a, b): G[x][y] = 1 G[y][x] = 1 INF = 10**10 def dijkstra(G, s): dp = [INF for ...
[ "wotsushi@gmail.com" ]
wotsushi@gmail.com
bd9820da489ae49e89dde62f758b29cba5318c2b
7997a9581ac4badc53793e32bc85878b8e16094e
/breaklines2dxf.py
8f168312c1ed8ca374fbae7ab17271d31999fc5e
[]
no_license
jasonfleming/pputils
78adb832c5860a37e1473a43a5b9a54ad4d5ce55
2b34e47e4c3331d5780019d248e3f37c71164665
refs/heads/master
2022-09-29T13:40:38.657005
2022-08-10T19:40:06
2022-08-10T19:40:06
79,500,881
1
0
null
2017-01-19T22:17:09
2017-01-19T22:17:09
null
UTF-8
Python
false
false
2,917
py
#!/usr/bin/env python3 # #+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+! # # # breaklines2dxf.py # # ...
[ "pprodano@gmail.com" ]
pprodano@gmail.com
2283913c20c0a5855e4b54e307d09da3b38a5e03
28a462a28f443c285ca5efec181ebe36b147c167
/tests/compile/basic/es2019/IsInteger.spec
a3eeb6b9762f1cd246c58bd8d2323452533ffde5
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
kaist-plrg/jstar
63e71f9156860dc21cccc33a9f6c638dfee448ea
1282919127ea18a7e40c7a55e63a1ddaaf7d9db4
refs/heads/main
2022-07-22T08:12:34.947712
2022-02-27T04:19:33
2022-02-27T11:06:14
384,045,526
6
4
NOASSERTION
2022-02-27T11:05:26
2021-07-08T07:53:21
Python
UTF-8
Python
false
false
231
spec
1. If Type(_argument_) is not Number, return *false*. 1. If _argument_ is *NaN*, *+∞*, or *-∞*, return *false*. 1. If floor(abs(_argument_)) ≠ abs(_argument_), return *false*. 1. Return *true*.
[ "h2oche22@gmail.com" ]
h2oche22@gmail.com
457a65493ed4ce617c56aab78df164c4dfc8fce9
24c0f121340a2a2df4490ed2c40057170b131087
/words/admin.py
be801cfd5893ebd14272dd0ea963be5109b4ba4f
[]
no_license
Rediet8abere/wordplay
81bcb7dfde11aa6d850aa7ae27ada2953b3c81a3
bb366a0d003d0efa91a1e5bb2ca754d3b24642ec
refs/heads/master
2022-12-12T18:31:22.046606
2020-01-08T17:01:03
2020-01-08T17:01:03
224,571,086
0
0
null
2022-12-08T01:23:19
2019-11-28T04:40:43
Python
UTF-8
Python
false
false
88
py
from django.contrib import admin from .models import Words admin.site.register(Words)
[ "redietaberegesesse@gmail.com" ]
redietaberegesesse@gmail.com
8a92c87c32c27752fd7b041c88469c7df129a667
70b339d0b2638a7914d0d56c5edf8a2637c9f4b0
/maxSideLength.py
cddba5c45c0fad94452c6e6bf97e8ce6d0442861
[]
no_license
pflun/advancedAlgorithms
9991da7514024e18ba08de8688966b9220e12571
5520dbcd26999b98e1229bf03c2f62dd690a2ddc
refs/heads/master
2023-02-19T12:05:26.902535
2023-02-14T06:08:54
2023-02-14T06:08:54
189,055,701
4
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
class Solution(object): def maxSideLength(self, mat, threshold): res = 0 sum = [[0 for _ in range(len(mat[0]) + 1)] for _ in range(len(mat) + 1)] for i in range(1, len(mat) + 1): for j in range(1, len(mat[0]) + 1): sum[i][j] = int(mat[i - 1][j - 1]) + sum[i - 1][j...
[ "tango7down@icloud.com" ]
tango7down@icloud.com
3805526ca3074737c6cb1a415f59d1e0594a8a86
45ca434bdb9e48fdbb2cda0e7fdd9a76474117b0
/aliyun-python-sdk-cdn/aliyunsdkcdn/request/v20141111/SetOptimizeConfigRequest.py
19d77da4c23b5c17673b622254d3d165edf91520
[ "Apache-2.0" ]
permissive
wanyanzhenjiang/aliyun-openapi-python-sdk
e41e9937ad3f851e5a58f6bea95663e88f7fee13
4a5bf1b35f2395d047ead4444ea46721976bdd24
refs/heads/master
2020-12-30T10:37:55.789911
2017-07-27T06:55:15
2017-07-27T06:55:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,659
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 ...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
089f41da2f0384caa4f7439752ccbadea77a3cf2
e15294825647bb904a32703bc4e7b9008d094710
/services/recognize-text/textrecognizer/service.py
eabc4901eb16c2c6ad0cbbf6fa22b332c3352ea4
[ "MIT" ]
permissive
seekersapp2013/aleph
44494ea7c8c02df4f74a817ae2cf901a9a13f099
2c4767da3c75d38d8ea39769559a06a1f29390a8
refs/heads/master
2020-06-14T01:35:31.328619
2019-07-01T15:01:59
2019-07-01T15:01:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
import grpc import time import logging from threading import RLock from concurrent import futures from servicelayer.rpc.ocr_pb2 import Image from servicelayer.rpc.common_pb2 import Text from servicelayer.rpc.ocr_pb2_grpc import RecognizeTextServicer from servicelayer.rpc.ocr_pb2_grpc import add_RecognizeTextServicer_to...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
c58e47f6987edea2fd07cc9f63d9d6781e4a2217
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/model_test.runfiles/pypi__numpy_1_15_4/numpy/core/tests/test_scalarmath.py
7edf9eee8a8e442e4d1620267a1d1d9b7627cebe
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__numpy_1_15_4/numpy/core/tests/test_scalarmath.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
abb229e9e35ef546af8d18066a68b81643982096
48832d27da16256ee62c364add45f21b968ee669
/res_bw/scripts/common/lib/plat-sunos5/sunaudiodev.py
0a3efa9bcb6cdc1e4b813c180119e8e06ce79f19
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
776
py
# 2016.08.04 20:01:31 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/plat-sunos5/SUNAUDIODEV.py from warnings import warnpy3k warnpy3k('the SUNAUDIODEV module has been removed in Python 3.0', stacklevel=2) del warnpy3k ENCODING_NONE = 0 ENCODING_ULAW = 1 ENCODING_ALAW = 2 ENCODING_LINEAR = 3 MIN_GA...
[ "info@webium.sk" ]
info@webium.sk
e5f5f2ed9f2ca264930ccfbd5c09c43a13883401
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/lib/python3.6/site-packages/h5py/_hl/datatype.py
d692af241f56461c8de827c823faa1554b264d1b
[]
no_license
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:ecdc9625758fdf18b86e1432c4f0eaf840a3df0001c5c84f83bc420c7ac598f4 size 1652
[ "Nqk180998!" ]
Nqk180998!
da395f369c351d53a3417bc633bb6b772db67d10
f9273a89fa79c74efb931787dd5bf6d899730adb
/Python_file/python_westos_teacher_doc/day22/03_实现最简单的web开发.py
fbc24a7213ca41949ae3194548593f2a7405637a
[]
no_license
lianlian-YE/Mypycharm
53148a58c6cbc07604abff801fd22b2a3212c6e7
004612a52300a6a99fbeedefa14ece0eeaf96556
refs/heads/master
2020-04-13T22:43:01.650018
2019-01-14T15:15:53
2019-01-14T15:15:53
163,486,739
1
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
""" 目标: Flask应用的基本构成? """ # 1. 导入Flask类; from flask import Flask, render_template # 2. 实例化Flaks类。 生成一个实例; # __name__结果是__main__或者模块名/包名, 根据这个参数确定项目的位置,(确定该项目的静态文件或者模板的位置); app = Flask(__name__) # 3. 通过路由绑定处理的视图函数; # URL: (eg:http://127.0.0.1:5000/ ) # 装饰器@app.route()告诉Flask哪个url才能触发装饰器装饰的函数, ...
[ "1771764895@qq.com" ]
1771764895@qq.com
bb7edc05ec8515b7ec7187ce1fed24a80cdd19ee
7c7c3a34b266e664cf63f710ae5aff5587672c91
/TutorialSeries/Pandas/Outlier Detection.py
2efd45237f8e7a3ffec7defd1e29d09ed123a69a
[]
no_license
Schnei1811/PythonScripts
845594a886a1fecc81cf5d7c550abec325f006a3
89eb331357b7cea86f5b2d0b33089215b73f9481
refs/heads/main
2023-03-31T23:36:48.731570
2021-04-11T21:55:46
2021-04-11T21:55:46
356,950,318
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
import pandas as pd import matplotlib.pyplot as plt from matplotlib import style style.use('fivethirtyeight') bridge_height = {'meters':[10.26, 10.31, 10.27, 10.22, 10.23, 6212.42, 10.28, 10.25, 10.31]} df = pd.DataFrame(bridge_height) df['STD'] = pd.rolling_std(df['meters'], 2) print(df) df_std = df.describe() pri...
[ "stefan871@gmail.com" ]
stefan871@gmail.com
b350d005f125d2893bb96db7385f592cd56d8246
74912c10f66e90195bf87fd71e9a78fa09f017ec
/execroot/syntaxnet/bazel-out/local-opt/bin/syntaxnet/text_formats_test.runfiles/org_tensorflow/tensorflow/contrib/slim/python/slim/data/data_provider.py
21a5295b1d8d173a3f752de142703231d27b73a6
[]
no_license
koorukuroo/821bda42e7dedbfae9d936785dd2d125-
1f0b8f496da8380c6e811ed294dc39a357a5a8b8
237fcc152ff436f32b2b5a3752a4181d279b3a57
refs/heads/master
2020-03-17T03:39:31.972750
2018-05-13T14:35:24
2018-05-13T14:35:24
133,244,956
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
/root/.cache/bazel/_bazel_root/821bda42e7dedbfae9d936785dd2d125/external/org_tensorflow/tensorflow/contrib/slim/python/slim/data/data_provider.py
[ "k" ]
k
4dc4c8e77c4b1dbe4795c4926c3672a5c19aeadf
c537ce53f435f1c17d5fdbfe8f97405d0fb3f4f3
/src/apps/utils/fields.py
ae1a5e895451ee1b1590f2bdd8f4023874c796e4
[]
no_license
HiPiH/life
dbe8892ceb9cc4aaaf6409ffb8391b4903be7fdc
8b0cd5906bd5c508776831368896fc935c9e044b
refs/heads/master
2021-01-10T21:33:17.478873
2011-12-21T05:13:55
2011-12-21T05:13:55
2,938,055
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
from django.db import models __all__ = ('BigIntegerField', ) class BigIntegerField(models.IntegerField): empty_strings_allowed=False def get_internal_type(self): return "BigIntegerField" def db_type(self): return 'bigint' # Note this won't work with Oracle.
[ "admin@nvk.su" ]
admin@nvk.su
664e32a8982f250cb5211834d2f57d9b1dc032f0
79b0a4d3db7299814b963a8ff98732a6df4fe5f8
/worker.py
a87844e6fa3d49823247f731fe051eba67a746a8
[]
no_license
jattoabdul/Ranti-bot
549b28cf84b47d52a767a84e759e1f66c2fee860
6673778ed610c2b331e2da7d8348a798b122cb35
refs/heads/master
2022-12-14T03:24:32.191750
2018-06-05T12:04:08
2018-06-05T12:04:08
136,028,737
8
6
null
2021-06-01T22:12:37
2018-06-04T13:24:25
Python
UTF-8
Python
false
false
232
py
from app.actions import Actions from app.utils.slackhelper import SlackHelper # Main function def main(): slackhelper = SlackHelper() actions = Actions(slackhelper) actions.notify_channel() if __name__ == '__main__': main()
[ "jattoade@gmail.com" ]
jattoade@gmail.com
6e772685c7255e17b1203cec46dc6e0be930ed40
315788ed9c3727acca394ad107b0a55285a7ddc4
/listings/v5_ra9.py
d0b7aacba374b0a4b256ffe2a6c38a0b987bb53a
[]
no_license
n04hk/Python_Zusammenfassung
b118e967d5d5547ad3eb88f9570cb7c9de45d443
923fadb28ab4609450e532f08de41dc4bf4913d1
refs/heads/master
2020-04-24T20:28:43.656148
2019-04-28T13:52:31
2019-04-28T13:52:31
172,245,211
1
0
null
null
null
null
UTF-8
Python
false
false
159
py
def func(m): return '(' + m.group() + ')' s = re.sub(r'\d+', func, '3 Stuecke kosten 250 Franken.') print(s) # Ausgabe: (3) Stuecke kosten (250) Franken.
[ "37226768+n04hk@users.noreply.github.com" ]
37226768+n04hk@users.noreply.github.com
07e216c632b6520fb95391258bf9ab1b25475733
762742b3c5cb5706e93e12dbdc3f8c46fc65f0db
/Packs/ML/Scripts/DBotPredictOutOfTheBoxV2/DBotPredictOutOfTheBoxV2.py
adc01d9712e96b7678df42b5718f5d43aecb9715
[ "MIT" ]
permissive
EmersonElectricCo/content
018f95f7fe7de13819e093a3661587a18407e348
82c82bbee7d428f0b14991a88c67672e2c02f5af
refs/heads/master
2021-06-17T04:54:22.938033
2021-05-06T16:39:59
2021-05-06T16:39:59
161,693,191
2
0
MIT
2018-12-18T15:16:49
2018-12-13T20:47:26
Python
UTF-8
Python
false
false
4,087
py
# pylint: disable=no-member import demisto_ml from CommonServerPython import * import traceback TARGET_PRECISION = 0.97 THRESHOLD = 0.9 OUT_OF_THE_BOX_MODEL_NAME = 'demisto_out_of_the_box_model_v2' OUT_OF_THE_BOX_MODEL_PATH = '/ml/encrypted_model.b' EVALUATION_PATH = '/ml/oob_evaluation.txt' SCRIPT_MODEL_VERSION = '1....
[ "noreply@github.com" ]
EmersonElectricCo.noreply@github.com
be236401a50222b0114e1126ee9946d74187e9dd
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/django/db/backends/base/validation.py
a02780a6947b0d164adbcf26dfc8a43433a65b07
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
1,040
py
class BaseDatabaseValidation: """Encapsulate backend-specific validation.""" def __init__(self, connection): self.connection = connection def check(self, **kwargs): return [] def check_field(self, field, **kwargs): errors = [] # Backends may implement a check_field_type...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
eb45a4ceaeba160509afafd51cde32f37ac7ab0c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02399/s487176195.py
97bc7ca1c37548157f4bd77246ef2f57a6fb5da8
[]
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
76
py
x,y=map(int,input().split()) print("{0} {1} {2:.8f}".format(x//y,x%y,x/y))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1ddf2f22b39151a8fd975399994f0c47d007c8ef
5f2103b1083b088aed3f3be145d01a770465c762
/169. Majority Element.py
ef741962e751483cad719893fc83c186e65afd3e
[]
no_license
supersj/LeetCode
5605c9bcb5ddcaa83625de2ad9e06c3485220019
690adf05774a1c500d6c9160223dab7bcc38ccc1
refs/heads/master
2021-01-17T17:23:39.585738
2017-02-27T15:08:42
2017-02-27T15:08:42
65,526,089
2
0
null
null
null
null
UTF-8
Python
false
false
801
py
# Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. # # You may assume that the array is non-empty and the majority element always exist in the array. # # Credits: # Special thanks to @ts for adding this problem and creating all test case...
[ "ml@ml.ml" ]
ml@ml.ml
fcca03f588d55858da75addbb82353a1568ff909
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2234/60632/279655.py
5ccddbecc0421ed6a32a6f18b48171c5099a2573
[]
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
1,428
py
# x为当前访问的节点,time为时间戳,n为节点总数 def tarjan(x: int, time: int, n: int): time += 1 dfn[x] = low[x] = time stack.append(x) for y in range(n): if adj[x][y] == 1: if dfn[y] == 0: tarjan(y, time, n) low[x] = min(low[x], low[y]) elif y in stack: ...
[ "1069583789@qq.com" ]
1069583789@qq.com
fab46677e2e984639881af549272b656e8a58621
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/tree-20.py
8efa7e396a5213ec09e22d51c9664f39cc8e494f
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,448
py
# Binary-search trees class TreeNode(object): value:int = 0 left:$Type = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: return self.left.insert(x) elif x > self.value: if self.right...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
d31c9d70adba120acd6845805f35c9d9fa7cf28e
6ed6171b313cd485764d6d952b0f06c07d078f5d
/api/permissions.py
1fdded12e31dbd62b79d671d54169e99c8374fba
[]
no_license
yezyilomo/marathon
db802724cecf0360a3e9864d70402d029a10e7b6
75e4fd42ffe37e9b6b1d1bf6610a8bea6b12113e
refs/heads/master
2021-05-26T16:15:47.632053
2020-04-08T16:08:29
2020-04-08T16:08:29
254,133,385
3
0
null
2020-04-08T16:08:30
2020-04-08T15:54:07
Python
UTF-8
Python
false
false
1,517
py
from rest_framework import permissions class IsAllowedUser(permissions.BasePermission): """ Custom permission to only allow owners of an object to edit it. """ def has_object_permission(self, request, view, obj): return obj == request.user class IsCategoryOwner(permissions.BasePermission): ...
[ "yezileliilomo@hotmail.com" ]
yezileliilomo@hotmail.com
2359691b0b5c80c8263fd3b40be86eedd64a19ee
0c70dcec22a090e70b1f20613ea6e0a64fd9a037
/GPS卫星位置的计算/venv/Lib/site-packages/pandas/tests/io/test_gcs.py
b80320e7700f52123bfb6001760260a947bec930
[ "MIT" ]
permissive
payiz-asj/Gis
82c1096d830878f62c7a0d5dfb6630d4e4744764
3d315fed93e2ab850b836ddfd7a67f5618969d10
refs/heads/main
2023-06-27T15:25:17.301154
2021-08-03T10:02:58
2021-08-03T10:02:58
392,269,853
1
1
null
null
null
null
UTF-8
Python
false
false
3,090
py
from io import BytesIO import os import numpy as np import pytest from pandas import DataFrame, date_range, read_csv import pandas._testing as tm from pandas.util import _test_decorators as td @td.skip_if_no("gcsfs") def test_read_csv_gcs(monkeypatch): from fsspec import AbstractFileSystem, registr...
[ "1778029840@qq.com" ]
1778029840@qq.com
e010af64e48efa09d26f1e4b7f943a02082dace2
bbe447a740929eaee1955bd9c1517cf760dd5cb9
/keygrabber/adwords/adwords_api_python_14.2.1/adspygoogle/adwords/zsi/v201008/AdGroupAdService_services.py
bce9883a53e9d6a36b68f760daeabf22fc68622c
[ "Apache-2.0" ]
permissive
MujaahidSalie/aranciulla
f3d32e7dd68ecfca620fe4d3bf22ecb4762f5893
34197dfbdb01479f288611a0cb700e925c4e56ce
refs/heads/master
2020-09-07T02:16:25.261598
2011-11-01T21:20:46
2011-11-01T21:20:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,205
py
################################################## # AdGroupAdService_services.py # generated by ZSI.generate.wsdl2python ################################################## from AdGroupAdService_services_types import * import urlparse, types from ZSI.TCcompound import ComplexType, Struct from ZSI import client impo...
[ "vincenzo.ampolo@gmail.com" ]
vincenzo.ampolo@gmail.com
39319351c0c7faafc21e10a864c35e6716a3785f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_200/945.py
7863ed26a1e33eacbab4fd0315c93eed52357ba7
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
#/usr/bin/python3 def solve(N): N = list(N) res = "" prev = 0 while N: act = int(N.pop(0)) #print(prev, act) if prev <= act: res += str(prev) prev = act else: res += str(prev-1) res += "9"*len(N) prev = 9 ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
76b05533f9e6516133fbc32a4c854068b3945a09
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week01/homework02/maoyanspiders/maoyanspiders/pipelines_20200627225511.py
4f21199c88011b2b2d4020bf52f226457160cd94
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
578
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html class MaoyanspidersPipeline(object): def process_item(self, item, spider): films_name = item['films_name'] ...
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
a7fa0c2b13e99441b55229c95b761c210c29ac52
253089ef4ee99c50cdaa23fde4d789794789e2e9
/134/test_twosums.py
842a20ecb4b75611347c73b305dd9b21be332816
[]
no_license
Zaubeerer/bitesofpy
194b61c5be79c528cce3c14b9e2c5c4c37059259
e5647a8a7a28a212cf822abfb3a8936763cd6b81
refs/heads/master
2021-01-01T15:01:21.088411
2020-11-08T19:56:30
2020-11-08T19:56:30
239,328,990
1
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
import pytest from random import sample, seed from twosums import two_sums NUMBERS = [ 2202, 9326, 1034, 4180, 1932, 8118, 7365, 7738, 6220, 3440, 1538, 7994, 465, 6387, 7091, 9953, 35, 7298, 4364, 3749, 9686, 1675, 5201, 502, 366, 417, 8871, 151, 6246, 3549, 6916, 476, 8645, 3633, 7175, 8124, 9...
[ "r.beer@outlook.de" ]
r.beer@outlook.de
0eb6589094d8dfef39e0ec486bb16c31b27fc3f3
36e27ca74b734994fb2e5cd4e328e7b82202d8cd
/nodarb/migrations/0003_telpa.py
1fe984dec5f7810becd4c75505ce077de3cfe3d1
[]
no_license
svabis/vf
5e9513f3a767a9561e2fb8bd3e37bb3c03d113dd
d83a4afd177e4f7007a9ce824ae5ed36f18654fc
refs/heads/master
2020-05-21T21:19:59.952463
2018-06-04T11:11:50
2018-06-04T11:11:50
84,647,341
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nodarb', '0002_auto_20170311_1322'), ] operations = [ migrations.CreateModel( name='Telpa', fields=[...
[ "fizmats@inbox.lv" ]
fizmats@inbox.lv
2157e48e1a135e8fc11033df646c00f9085d895f
5930f323d96e7ed45c01fef63b100e1ad220f764
/catalyst/core/callbacks/__init__.py
14c691fa96ccc1abd7e4f3bc8f85c97e1378d05c
[ "Apache-2.0" ]
permissive
saswat0/catalyst
8cb91c2392bccdbdd318544e6861e6fe6ac39b33
a35297ecab8d1a6c2f00b6435ea1d6d37ec9f441
refs/heads/master
2023-04-05T00:43:29.124864
2020-06-18T05:41:33
2020-06-18T05:41:33
272,268,902
2
0
Apache-2.0
2020-06-18T05:41:34
2020-06-14T19:24:04
null
UTF-8
Python
false
false
607
py
# flake8: noqa from .checkpoint import CheckpointCallback, IterationCheckpointCallback from .criterion import CriterionCallback from .early_stop import CheckRunCallback, EarlyStoppingCallback from .exception import ExceptionCallback from .logging import ConsoleLogger, TensorboardLogger, VerboseLogger from .metrics imp...
[ "noreply@github.com" ]
saswat0.noreply@github.com
1f25baa28cba0a1250c9712f3a1de7ccb89556b5
d9aa4291a4978b932bef84b8d26aa4b911ca2add
/day111Flask前戏/02偏函数.py
d5009db7bda2799235778291411ea579600ab40d
[]
no_license
SelfShadows/my_git
9a32d3713efb1b055d04c813b319eb2196fdcf53
b10a4c838e1146b3f6ce297480840de9a8e89206
refs/heads/master
2020-12-15T22:33:49.273814
2020-02-14T16:33:46
2020-02-14T16:33:46
235,274,933
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
import functools def index(a,b): return a+b # 原来的调用方法 ret = index(3,1) print(ret) # 偏函数, 帮助开发者自动传递参数 new_func = functools.partial(index, 55) ret = new_func(1) print(ret)
[ "870670791@qq.com" ]
870670791@qq.com
458f916ac8029a2a822f10c365aa1842b758e621
b4241b2c9d01704d85c040825d4e7c32d8db3677
/test.py
b598581bb8509cc4188807d9b7eb362a27f9d302
[]
no_license
juyrjola/thermal-zones
1d68b59daa183368559ce25c0c3c46cc7287576f
a21d025543d4f0413f43feffc7d05fba3b904cf9
refs/heads/master
2022-11-17T07:22:42.383610
2020-07-15T15:03:54
2020-07-15T15:03:54
279,899,451
0
0
null
null
null
null
UTF-8
Python
false
false
20,221
py
import click import time import os import re import glob from functools import cached_property THERMAL_PATH = '/sys/devices/virtual/thermal/' RAPL_PATH = '/sys/devices/virtual/powercap/intel-rapl/intel-rapl:0' POWERCAP_PATH = '/sys/devices/virtual/powercap' def get_thermal_zone_paths(): paths = [p for p in os.li...
[ "juha.yrjola@iki.fi" ]
juha.yrjola@iki.fi