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
00a7245a26381ae947b50a66dd2ac60dabee52c3
79e94a6e14ca31f6f7b1533cc3ee866639ac539e
/transport/__init__.py
fc589489628f59555d6e01136d10e6dd5604c505
[]
no_license
clarkwkw/fdm_hackathon_boggle
ee747b3baea6b35320e587aef4f40702e9094fda
ea82d0e0a31f6a85cb78b7e839acb1ab3bc1beaf
refs/heads/master
2020-04-03T01:01:05.562975
2018-10-27T08:18:23
2018-10-27T08:18:23
154,916,844
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
from .fdm_browser import FDMBrowser
[ "clarkwkw@yahoo.com.hk" ]
clarkwkw@yahoo.com.hk
18418557e2294a5bdc7fcfa2fd029b53e4cf2646
e8dc4a7866fb740bab80994ddfa5bef3a54dff2b
/week1/week1/python/imageDraw.py
ecc41c5b0a56ad32f2d606cd92919b19513ad70e
[]
no_license
chelseatroy/computer-vision
958833732f18e2e58dbfa08c3b89f07a1a78138f
f719f8f3e56a9b808426112c97a8fdee7500acc6
refs/heads/master
2020-12-02T11:32:44.313699
2017-07-08T23:46:39
2017-07-08T23:46:39
96,648,909
0
0
null
null
null
null
UTF-8
Python
false
false
3,201
py
# Copyright 2017 BIG VISION LLC ALL RIGHTS RESERVED # # This code is made available to the students of # the online course titled "Computer Vision for Faces" # by Satya Mallick for personal non-commercial use. # # Sharing this code is strictly prohibited without written # permission from Big Vision LLC. # # For li...
[ "chelsea.dommert@gmail.com" ]
chelsea.dommert@gmail.com
4b3ba3a5412fa3455f13ed56d1d4aa34e40326ea
4b360696d512a35b2114c482c658d10e3ff91a2c
/project-addons/hide_product_variants/product.py
3449816e050af753e51802e6c744e2e158d8b984
[]
no_license
Comunitea/CMNT_010_15_PHA
24ecf3be6a50441dfa3dd8deca4ee96ac5e61970
d4a24aafba48fc7dda7ee662e0c7e1112c220162
refs/heads/master
2022-08-12T00:39:24.464028
2022-07-11T10:30:30
2022-07-11T10:31:31
37,918,119
0
1
null
2015-12-02T12:39:43
2015-06-23T12:37:45
Python
UTF-8
Python
false
false
1,905
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2015 Comunitea All Rights Reserved # $Jesús Ventosinos Mayor <jesus@comunitea.com>$ # # This program is free software: you can redistribute it and/or modify # it under the terms of the GN...
[ "jesus@comunitea.com" ]
jesus@comunitea.com
0293ded1811256d6da80cfd7c9c1a499ae0e1a81
188b490b8e93afda9da16790b8896f233ab27aa1
/tensorflow/python/checkpoint/graph_view.py
b726679976a16211a02aa7497c3c67f98b048f13
[ "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
NobuoTsukamoto/tensorflow
d7a7f2ade3c776aa88caad14ce8c1b0cd3de8f12
705e1684593327dae7b1e71087d5c0f97f6e9b25
refs/heads/master
2022-08-07T16:06:26.075258
2022-06-21T22:02:11
2022-06-21T22:02:11
200,446,660
0
1
Apache-2.0
2019-08-04T03:50:49
2019-08-04T03:50:48
null
UTF-8
Python
false
false
6,813
py
"""Manages a graph of Trackable objects.""" # Copyright 2017 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/license...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
42cce9b60476bab20c48b15b3536182a9fd369c9
8fcc27160f8700be46296568260fa0017a0b3004
/client/fleetbr.py
c2bea9a0cb9a9b03e2ed600b39783844350f5ef9
[]
no_license
connoryang/dec-eve-serenity
5d867f4eedfa896a4ef60f92556356cafd632c96
b670aec7c8b4514fc47cd52e186d7ccf3aabb69e
refs/heads/master
2021-01-22T06:33:16.303760
2016-03-16T15:15:32
2016-03-16T15:15:32
56,389,750
1
0
null
2016-04-16T15:05:24
2016-04-16T15:05:24
null
UTF-8
Python
false
false
3,529
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\common\modules\nice\client\_nastyspace\fleetbr.py from eve.client.script.ui.shared.fleet.fleetbroadcastexports import FilteredBroadcast from eve.client.script.ui.shared.fleet.fleetbroadcastexports import GetBoosterName from eve.c...
[ "masaho.shiro@gmail.com" ]
masaho.shiro@gmail.com
7b3faf55b4fd644228a807c6a1b37706b1a9c262
7507ed5975fe7e33952c6980a9631bb8c370e3c8
/app.py
fe65668b16520cb15ee3ad8f00bb2042a5a534e6
[]
no_license
COOLasHEL/Facebook-Hackathon
dc54e29d1af7973c6c6cc4aabb996d2dc2802fd6
6b2c90438dab695fd573404aedf015ac251b0a00
refs/heads/master
2023-08-06T22:14:55.433962
2019-11-17T01:10:06
2019-11-25T02:17:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,221
py
from flask import Flask, request, Response import requests, json, random, os try: from keys import * verify_token = FB_VERIFY_TOKEN access_token = FB_ACCESS_TOKEN account_sid = TWILIO_ID auth_token = TWILIO_AUTH except: verify_token = os.getenv('VERIFY_TOKEN', None) access_token = os.getenv('ACCESS_TOKEN', None)...
[ "christopherlambert106@gmail.com" ]
christopherlambert106@gmail.com
26cda680259d1d00bd9905defdf6d357bbe16c60
63fd6128189b2324be0db78c78d87b663ce7fff3
/podman/tests/unit/test_api_connection.py
b7815afaca66e16db1ee5cbf3e415c78c07c9c4b
[ "Apache-2.0" ]
permissive
erikbgithub/eb-podman-py
4761bd05a1064d5bbcd29aae9b7b49af6a901ba6
e71fcb8bfd320061c72d691ba7141b17ad9b144c
refs/heads/master
2023-01-10T20:42:32.043282
2020-11-04T21:57:12
2020-11-07T11:11:56
309,814,199
0
0
null
null
null
null
UTF-8
Python
false
false
6,682
py
# Copyright 2019 Red Hat, 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 required by applicable law or agreed ...
[ "aschultz@redhat.com" ]
aschultz@redhat.com
1092549b930ff26c215335f965b099cd3b1e7069
d5f75adf5603927396bdecf3e4afae292143ddf9
/python/paddle/fluid/tests/unittests/test_egr_string_tensor_api.py
3b5ec683bc7bd365803c79fdfada44e9c535d53c
[ "Apache-2.0" ]
permissive
jiweibo/Paddle
8faaaa1ff0beaf97ef7fb367f6c9fcc065f42fc4
605a2f0052e0ffb2fab3a4cf4f3bf1965aa7eb74
refs/heads/develop
2023-07-21T03:36:05.367977
2022-06-24T02:31:11
2022-06-24T02:31:11
196,316,126
3
2
Apache-2.0
2023-04-04T02:42:53
2019-07-11T03:51:12
Python
UTF-8
Python
false
false
4,571
py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
jiweibo.noreply@github.com
527891e9416714415cc8bcc4857c2985c01b2cd8
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/gui/Scaleform/daapi/view/lobby/store/Shop.py
e0579ac8ef6ca98c118a7660cb8c2e23b4258590
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,812
py
# 2016.11.19 19:50:57 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/store/Shop.py from PlayerEvents import g_playerEvents from account_helpers.AccountSettings import AccountSettings from gui.ClientUpdateManager import g_clientUpdateManager from gui.Scaleform.Waiting impo...
[ "info@webium.sk" ]
info@webium.sk
0c3ddfa3bc44a3b7375224fa977557e4944e0850
cc096d321ab5c6abf54fdcea67f10e77cd02dfde
/flex-backend/pypy/translator/flex/metavm.py
79efc37f3a27031a41867c4d3ec2c9f1f458c647
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
limweb/flex-pypy
310bd8fcd6a9ddc01c0b14a92f0298d0ae3aabd2
05aeeda183babdac80f9c10fca41e3fb1a272ccb
refs/heads/master
2021-01-19T22:10:56.654997
2008-03-19T23:51:59
2008-03-19T23:51:59
32,463,309
0
0
null
null
null
null
UTF-8
Python
false
false
9,772
py
""" Opcode meaning objects, descendants of MicroInstruction """ #from pypy.translator.js.jsbuiltin import Builtins from pypy.translator.oosupport.metavm import PushArg, PushAllArgs, StoreResult,\ InstructionList, New, GetField, MicroInstruction from pypy.translator.flex.log import log from pypy.rpython.ootypesyst...
[ "lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d" ]
lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d
e0ebd866bb4b3d4dbc46d9f9b8fc626c0cd3e10f
85bb00e60fc09b7a53fc42e4c7fe45e87b23b35b
/carml/carml_tbb.py
fdf7b9ac73adccc496e778e2de75cb42d876f208
[ "Unlicense" ]
permissive
H0K5/carml
79b1a0ba3437b529c758f976a8e51ebd7e6f5110
2a3f3c5e428a3e0889efa6e22fafd01a28b2df69
refs/heads/master
2021-01-23T08:24:34.956743
2017-05-15T20:59:45
2017-05-15T20:59:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,277
py
from __future__ import print_function from StringIO import StringIO import json import platform import os import re import time import subprocess import shutil import tempfile import functools import pkg_resources try: import OpenSSL except ImportError: raise RuntimeError("No OpenSSL: try 'pip install pyOpenS...
[ "meejah@meejah.ca" ]
meejah@meejah.ca
c8fd7c2b89bb5fcfeceab255bd17eaa5f3184c43
4c4718d5baceb433042824483d0df57fb447c98e
/MorfoKZ/__init__.py
52ee6c7b7a48a9a48d812fa44611f16685d5703a
[]
no_license
kairok/SiteAykoz
cf0c8229d8fa56430e5bd62d3f76dc264ce5a45a
46bca251ce454b8a6fa1ee20ed50b132132302f2
refs/heads/master
2020-05-15T21:28:50.166191
2019-04-22T01:07:26
2019-04-22T01:07:26
182,499,832
0
0
null
null
null
null
UTF-8
Python
false
false
22
py
__author__ = 'Kairat'
[ "kairo@list.ru" ]
kairo@list.ru
66ea525d872730f14974fc71c4d20c76207f959c
7640a3c1c3f3940e988cddb5509a9741130219c2
/tests/test_proxy.py
07c237b82e163ccc93978ebedebd8a3d23e99bd5
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
balloob/aiocoap
3c853387a13f8636bb7bf5262acd45a3fed8d784
97fc5f7f9d51af60cd3c2e1fa421f90fee42da05
refs/heads/master
2021-01-20T08:10:40.169952
2017-04-11T19:53:31
2017-04-11T19:53:31
90,111,912
1
0
null
2017-05-03T05:36:25
2017-05-03T05:36:25
null
UTF-8
Python
false
false
2,585
py
# This file is part of the Python aiocoap library project. # # Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>, # 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at> # # aiocoap is free software, this file is published under the MIT license as # described in the accompany...
[ "chrysn@fsfe.org" ]
chrysn@fsfe.org
c8372c361b0ad23061bd09b9d15b447736aa6d02
5bd97719e0cbabb7c12d1ce4241bd4712202d750
/part02-e12_row_and_column_vectors/ans.py
1502ac968fb428973947bd2870b1c75c926424a7
[]
no_license
Jon-Ting/UH-DA-with-PY-summer-2019
48cd33a038ab2b1a185778edfb064f89ca181f65
7dc569cd3a4450080f745a0ad3831ecbb25f6008
refs/heads/master
2022-12-19T09:22:53.944344
2020-09-17T01:42:21
2020-09-17T01:42:21
296,188,990
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
#!/usr/bin/env python3 import numpy as np def get_row_vectors(a): return np.split(a, a.shape[0], axis=0) def get_column_vectors(a): return np.split(a, a.shape[1], axis=1) def main(): np.random.seed(0) a=np.random.randint(0,10, (4,4)) print("a:", a) print("Row vectors:", get_row_vectors(a...
[ "jonting97@gmail.com" ]
jonting97@gmail.com
52df9b084231dcadbfd589c27d556f82ce1a8d49
99dcb18a9e3ea367272f740b8cbf3c34285a0c08
/samples/generated_samples/aiplatform_generated_aiplatform_v1_job_service_get_custom_job_sync.py
9591f6553b332b5f037727c7b6a2b2ae7684311a
[ "Apache-2.0" ]
permissive
googleapis/python-aiplatform
926a4873f35dbea15b2fd86c0e16b5e6556d803e
76b95b92c1d3b87c72d754d8c02b1bca652b9a27
refs/heads/main
2023-08-19T23:49:02.180075
2023-08-19T13:25:59
2023-08-19T13:27:27
298,017,988
418
240
Apache-2.0
2023-09-14T21:08:33
2020-09-23T15:43:39
Python
UTF-8
Python
false
false
1,467
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 or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
ffbb8cbe4219a3b1634410e8c8ad1f023faf230d
04dd31f1d4c84b96777107701e727c54c4fc704e
/cins-bigdata/my_tf.py
cba74ce7e72967316377ed3410b2bc2955347b12
[]
no_license
stormstone/LEARN-PYTHON
8df6ee96ebf1d2da7703d726dd18061956e2412f
23636e4c267f82815be5e203d0f4fd66acd18ccf
refs/heads/master
2021-01-01T18:10:47.650160
2017-12-21T14:14:59
2017-12-21T14:14:59
98,271,596
2
1
null
null
null
null
UTF-8
Python
false
false
95
py
# -*- coding: utf-8 -*- # @Time : 2017-11-04 14:40 # @Author : Storm # @File : my_tf.py
[ "2499144744@qq.com" ]
2499144744@qq.com
465052b5991fb1f427b0f1cff3a5177e06b1c920
1113e8eec4ccbbcd00c6a9b5466c5239b6f0eb03
/zh_manage/apps/tcr/oa/tcr_0004/tcr_0004_service.py
f57b8b409ed4492664c6e495a23795b8d1cca6e8
[]
no_license
yizhong120110/CPOS
a05858c84e04ce4aa48b3bfb43ee49264ffc5270
68ddf3df6d2cd731e6634b09d27aff4c22debd8e
refs/heads/master
2021-09-01T17:59:53.802095
2017-12-28T05:43:06
2017-12-28T05:43:06
106,247,188
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# -*- coding: utf-8 -*- from sjzhtspj import ModSql def data_service(sql_data): """ # 查询库存信息. """ # 数据结构 data = {} # 数据库链接 with sjapi.connection() as db: # 查询库存信息 kcxx = ModSql.tcr_0004.execute_sql_dict(db, 'get_kcxx', sql_data) # 将查询结果放到结果集中 ...
[ "yizhong120110@gmail.com" ]
yizhong120110@gmail.com
ab4d81a2c5bd2723b627795bf913f4810eddba78
f0fe4f17b5bbc374656be95c5b02ba7dd8e7ec6d
/all_functions/configs/Links_site/diy4ng4django4php-freepaper_rhcloud_com.py
c3b08096cd922a5561676ac436143c814d31a33a
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
Heroku-elasa/heroku-buildpack-python-ieee-new
f46a909ebc524da07f8e15c70145d1fe3dbc649b
06ec2fda04d9e478ed2506400e460489b0ca91ab
refs/heads/master
2022-12-10T13:14:40.742661
2020-01-29T14:14:10
2020-01-29T14:14:10
60,902,385
0
0
MIT
2022-12-07T23:34:36
2016-06-11T10:36:10
Python
UTF-8
Python
false
false
15,257
py
#!/usr/bin/python #---------------------------------------------------------------------- # # Author: Laszlo Nagy # # Copyright: (c) 2005 by Szoftver Messias Bt. # Licence: BSD style # # #---------------------------------------------------------------------- # from __future__ import with_statement # from goo...
[ "soheil_paper@yahoo.com" ]
soheil_paper@yahoo.com
8db329d2526326e3cc464974d25b9af8541924a8
6decdd05e9d3bc1e1baa6708f72c5acc9e32a7b0
/components/google-cloud/google_cloud_pipeline_components/v1/automl/training_job/automl_video_training_job/component.py
62c8484f206d927e6dc7cfc8b5f041251bc65b9c
[ "Apache-2.0" ]
permissive
chensun/pipelines
c8b6c01439eca7ec0c785b9a14670babc6df8993
40c759f4316c2503fd5e6ad187cb69122f7f53b1
refs/heads/master
2023-08-18T05:10:57.743635
2023-08-17T21:49:40
2023-08-17T21:49:40
233,203,533
0
0
Apache-2.0
2020-01-11T08:58:12
2020-01-11T08:58:11
null
UTF-8
Python
false
false
10,127
py
# Copyright 2023 The Kubeflow 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 applicabl...
[ "nobody@google.com" ]
nobody@google.com
24f3e0c42af64a83f99e830a992eb310271b87e7
8234a1add5169e450c54d956e385f14c2551c6c2
/hyper_resource/operations.py
f3dea7fbe9865e9ebf3e24e4564c7b5e530441ce
[]
no_license
GabrielSalvadorCardoso/osm
0826795ea1650220f026911d22bffc1ecc360529
53841f451d43c12f066c3d43f03e69e54942bd81
refs/heads/master
2022-04-29T13:48:09.371379
2019-12-06T19:55:38
2019-12-06T19:55:38
226,080,050
0
0
null
2022-04-22T22:50:35
2019-12-05T10:52:38
Python
UTF-8
Python
false
false
6,855
py
import json import requests from django.contrib.gis.geos import Polygon, GEOSGeometry, MultiPolygon, MultiLineString, MultiPoint, LineString, Point, \ GEOSException from django.db.models import Q from hyper_resource.contexts import OperationContext from hyper_resource.models import FeatureModel, FeatureCollection...
[ "gabrielcardoso95@gmail.com" ]
gabrielcardoso95@gmail.com
ccade644fe3ffe60d88892ae48106f0048f77735
52b5773617a1b972a905de4d692540d26ff74926
/.history/binaryTree2_20200615153730.py
b16fb6b394b7752bb981374d00730967ec1d08b6
[]
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
817
py
# Create a node and assign a value to the node class Node: def __init__(self,data): # designate one node as root self.data = data # then the two others as child nodes self.left = None self.right = None # A function to print in order traversal def inorder_traversal(ro...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
778e461ab47c6cd86a36c83804e9a85a25882594
134c429df7d5c4d067d9761cb1435992b048adaf
/notes/0817/0817.py
2f56dd0b0a71b063b9a9ab8b77b97caad4ec8e00
[]
no_license
PaulGuo5/Leetcode-notes
65c6ebb61201d6f16386062e4627291afdf2342d
431b763bf3019bac7c08619d7ffef37e638940e8
refs/heads/master
2021-06-23T09:02:58.143862
2021-02-26T01:35:15
2021-02-26T01:35:15
177,007,645
1
0
null
null
null
null
UTF-8
Python
false
false
480
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def numComponents(self, head: ListNode, G: List[int]) -> int: res = 0 G = set(G) while head: if head.val in G: re...
[ "zhg26@pitt.edu" ]
zhg26@pitt.edu
2c43874848b2c54a68511d28354cdc8fa982b436
471479fd33215ffd088e09940c78cc8b2f65ffcd
/docs/source/01-AWS/01-All-AWS-Services-Root/31-Migration-and-Transfer/03-AWS-Transfer-Family-Root/test.py
60bc99ad6f398a1e8a534766e320666dd4b2262a
[ "MIT" ]
permissive
MacHu-GWU/Dev-Exp-Share
a25ec59f9402e56c3bd9d98269634894fa452537
0b659c62bf795374ea981953b25119ca30007e7d
refs/heads/master
2023-08-22T05:28:52.536090
2023-08-14T13:37:31
2023-08-14T13:37:31
84,245,070
3
1
MIT
2023-02-13T23:44:03
2017-03-07T20:53:18
Shell
UTF-8
Python
false
false
1,929
py
# -*- coding: utf-8 -*- from io import StringIO from pathlib import Path from paramiko import AutoAddPolicy, SFTPClient, SSHClient from paramiko import RSAKey def sftp_connect( sftp_hostname: str, sftp_username: str, sftp_port: int, ssh_private_key: str, ssh_password: str, ) -> SFTPClient: pri...
[ "MacHu-GWU@users.noreply.github.com" ]
MacHu-GWU@users.noreply.github.com
93b7393d3a38e1b00a67c3459c9155f9316e156c
1e9ad304868c2bda918c19eba3d7b122bac3923b
/kubernetes/client/models/v1beta1_job_spec.py
c8f90f364077749a341046d34150ab46ce4006f5
[ "Apache-2.0" ]
permissive
pineking/client-python
c77e5bd3d476ac852e6dffa96056008baa0f597f
74a64d7325518f4298600d4bb300f92843c29347
refs/heads/master
2021-01-22T22:16:27.368406
2017-03-15T08:21:21
2017-03-15T08:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,724
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems im...
[ "mehdy@google.com" ]
mehdy@google.com
f1a34124341041f1dcdf3c62735e6dc079d750e7
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/pzXrBSiQdMqvRWazp_6.py
d3e09bf79714c03c461cbdc79b100eb403aeaf43
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
score_calculator=lambda e,m,h:'invalid' if e<0 or m<0 or h<0 else e*5+m*10+h*20
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f6d3976b67aa2a5f76fedda3f8d252d8f0b00ed3
ec10fca7a2e3376ae0e5cc59cc45915a7bbb242e
/data/select_linked.py
32a541d0123920cb7110db4c40f187326a37bc4f
[]
no_license
ramalho/mongo-openlibrary
16170a1191f9af5f5391381e84c27b36898ece82
17538947169a4e06e8935e687b9a68f0363ad902
refs/heads/master
2021-01-16T18:29:57.031102
2012-07-01T16:14:19
2012-07-01T16:14:19
4,342,890
2
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
#!/usr/bin/env python import sys import bz2 import pickle try: dump_file_name = sys.argv[1] except IndexError: print 'Plase provide the dump file name (.bz2 format assumed)' sys.exit(1) if 'works' in dump_file_name: field_name = 'works' elif 'authors' in dump_file_name: field_name = 'authors' else: print 'The...
[ "luciano@ramalho.org" ]
luciano@ramalho.org
dbeba29bcf31ba83a9747a49f3cde78e2beaf878
37fa222d2ce4b227dfeeae0053b5110c24f0c595
/18/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisM3000_R_0-06.py
866827b3ce24ecab9f881cded03e5f67cebb15ad
[]
no_license
colizz/fullRunII_ntuple
8fffe7893ad80804c25444534b80edf3f1a09f97
ec8c014e9502f12d060bf8198894f915adcee267
refs/heads/master
2020-08-04T07:02:35.210954
2019-09-30T00:47:37
2019-09-30T00:47:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,147
py
from WMCore.Configuration import Configuration name = 'WWW' steam_dir = 'xulyu' config = Configuration() config.section_("General") config.General.requestName = 'M3000_R0-06_off' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Autum...
[ "XXX@cern.ch" ]
XXX@cern.ch
e7c1d7d949eee2507bd1745bf2c7fa01d76fcac8
090a4e026addc9e78ed6118f09fd0d7d4d517857
/graph_objs/layout/scene/camera/_up.py
1bf7805137c4d4f6879a0d4649449b51dad70063
[ "MIT" ]
permissive
wwwidonja/new_plotly
0777365e53ea7d4b661880f1aa7859de19ed9b9a
1bda35a438539a97c84a3ab3952e95e8848467bd
refs/heads/master
2023-06-04T19:09:18.993538
2021-06-10T18:33:28
2021-06-10T18:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,559
py
from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType import copy as _copy class Up(_BaseLayoutHierarchyType): # class properties # -------------------- _parent_path_str = "layout.scene.camera" _path_str = "layout.scene.camera.up" _valid_props = {"x", "y", "z"} ...
[ "wwwidonja@gmail.com" ]
wwwidonja@gmail.com
674cd563192727beed952fb9f8c5023607a3e664
a79d7f5d0ff7f4ad2c5755f74a8685123eb79157
/week5/sum**2.py
4b874309cc09e2e16f4807905538674a89b3cefc
[]
no_license
ArtamoshinN/python
54c4adf5359fd18c55ce8268c4dde89d1e8b203c
3c9c69f06e6d1ab890ed7ae057bf331d2d007539
refs/heads/master
2021-01-24T03:03:49.064277
2018-07-03T18:47:56
2018-07-03T18:47:56
122,875,295
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
n = int(input()) k = 1 for i in range(n + 1): k = k + i ** 2 print(k - 1)
[ "nikita@MacBook-Pro-Markovic-2.local" ]
nikita@MacBook-Pro-Markovic-2.local
23ddf8b83c6c65c8a8af083efe50b44f951c8151
4252102a1946b2ba06d3fa914891ec7f73570287
/pylearn2/expr/sampling.py
f261853ee9119040829aefe56e5a0c3e27a74d02
[]
no_license
lpigou/chalearn2014
21d487f314c4836dd1631943e20f7ab908226771
73b99cdbdb609fecff3cf85e500c1f1bfd589930
refs/heads/master
2020-05-17T00:08:11.764642
2014-09-24T14:42:00
2014-09-24T14:42:00
24,418,815
2
3
null
null
null
null
UTF-8
Python
false
false
1,809
py
""" .. todo:: WRITEME """ __authors__ = "Ian Goodfellow" __copyright__ = "Copyright 2010-2012, Universite de Montreal" __credits__ = ["Ian Goodfellow"] __license__ = "3-clause BSD" __maintainer__ = "Ian Goodfellow" __email__ = "goodfeli@iro" from theano.sandbox.rng_mrg import MRG_RandomStreams from pylearn2.bloc...
[ "lionelpigou@gmail.com" ]
lionelpigou@gmail.com
8b426dede58d9ca9c680e31f5bbf68ea538127c5
32676887b51845624748e5debb61a01e3942a7ee
/venv/lib/python3.8/site-packages/fanficfare/adapters/adapter_bloodtiesfancom.py
5fa36b0c1be3fedd2adf5597d5435dbe0e3b1dff
[]
no_license
DylanB5402/SummerProject2.5
078589fc49cecb402656942710ce5e33e9194f88
1cd5fe75f859c82122cf1cc5b5371d0cb73b898a
refs/heads/master
2022-12-03T21:49:30.392293
2020-08-19T04:33:58
2020-08-19T04:33:58
288,633,863
0
0
null
null
null
null
UTF-8
Python
false
false
13,685
py
# -*- coding: utf-8 -*- # Copyright 2011 Fanficdownloader team, 2018 FanFicFare team # # 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....
[ "d.barva5402@gmail.com" ]
d.barva5402@gmail.com
2ef8aa1d5aafbcd049e697b6a9fe34ed37d9808a
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/chromium_org/chrome_frame/combine_libs.py
8f2380cd0323101bd18317d10a9681587373bb83
[ "MIT", "BSD-3-Clause" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
Python
false
false
3,272
py
#!/usr/bin/env python # Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # TODO(slightlyoff): move to using shared version of this script. '''This script makes it easy to combine libs and object files to...
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
f62332772c71b2ebbbae08b1a1e118d26eeff786
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/examples/PyQt_PySide_book/003_Placing several components in the box/003_Alignment of form components/080_setLabelAlignment.py
b94810cdc1eed22701e7400f74d48e576c8b34f4
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
778
py
# -*- coding: utf-8 -*- from PyQt5 import QtCore, QtWidgets import sys app = QtWidgets.QApplication(sys.argv) window = QtWidgets.QWidget() window.setWindowTitle("setLabelAlignment") window.resize(300, 150) lineEdit = QtWidgets.QLineEdit() textEdit = QtWidgets.QTextEdit() spinBox = QtWidgets.QSpinBox() button1 = QtWidg...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
2749b375f8d90abe24dbb5dd5f6d04e10a45f9e1
a7da58ad91b007b3650003708eb91928f1e3684a
/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/EGov_setLoginAndPasswordAsManager.py
4da2b4dc132b5aa137810a9f513db0f3264acbd1
[]
no_license
jgpjuniorj/j
042d1bd7710fa2830355d4312a6b76103e29639d
dc02bfa887ffab9841abebc3f5c16d874388cef5
refs/heads/master
2021-01-01T09:26:36.121339
2020-01-31T10:34:17
2020-02-07T04:39:18
239,214,398
1
0
null
null
null
null
UTF-8
Python
false
false
143
py
organisation.setRole('entreprise/siege') #XXX this should not be hardcoded organisation.setReference(login) organisation.setPassword(password)
[ "georgios.dagkakis@nexedi.com" ]
georgios.dagkakis@nexedi.com
f232f09a142265485147ae610e3042202169a8db
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03339/s235734406.py
66e62b6e2ea106c0f1dce6f7518c1e4cb2e999a4
[]
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
129
py
N = int(input()) S = input() a = S.count("E") c = a for s in S: if s=="E": c-=1 else: c+=1 a=min(a,c) print(a)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b86c1027d2480a49ee53ef5a7f91da3d3958f346
395f974e62eafed74572efebcd91d62966e61639
/examples/microjson/mutants/CRP_Str_mutant_1486201396.py
ca360dff43c53bd183fb0ddfd20d718590cbb34f
[ "Apache-2.0" ]
permissive
agroce/tstl
ad386d027f0f5ff750eab19a722a4b119ed39211
8d43ef7fa49534868e6cdf1697863748260405c7
refs/heads/master
2023-08-08T19:14:52.020314
2023-07-26T17:51:36
2023-07-26T17:51:36
32,408,285
106
33
NOASSERTION
2021-01-26T19:05:17
2015-03-17T17:14:04
Python
UTF-8
Python
false
false
8,311
py
import math import StringIO import types __pychecker__ = 'no-returnvalues' WS = set(['', '\t', '\r', '\n', '\x08', '\x0c']) DIGITS = set([str(i) for i in range(0, 10)]) NUMSTART = DIGITS.union(['.', '-', '+']) NUMCHARS = NUMSTART.union(['e', 'E']) ESC_MAP = {'n': '\n', 't': '\t', 'r': '\r', 'b': '\x08', 'f': '\x0c'} RE...
[ "agroce@gmail.com" ]
agroce@gmail.com
04f3d61bb9d6e668d0804fe50ff92d8a0c584f1f
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_1/cshjam001/question1.py
a22950179109d88ff603f4aecdaf28cf3282c51b
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
print(' ____ ____ ___ ____ _____ _ _ _ _ _') print(' / ___/ ___|_ _/ ___|| ___| | | | \ | | |') print('| | \___ \| |\___ \| |_ | | | | \| | |') print('| |___ ___) | | ___) | _| | |_| | |\ |_|') print(' \____|____/___|____/|_| \___/|_| \_(_)')
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
3b1acbe744771de180e27f47d0e6bfbe5b3a9f76
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/Autodesk/Revit/DB/__init___parts/ViewDiscipline.py
bc3cb319246eef29343fb312592d8fd879a79b6a
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
1,040
py
class ViewDiscipline(Enum,IComparable,IFormattable,IConvertible): """ Discipline of the view enum ViewDiscipline,values: Architectural (1),Coordination (4095),Electrical (8),Mechanical (4),Plumbing (16),Structural (2) """ def __eq__(self,*args): """ x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> ...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
d345b75a9d717a27a49d5fea0ff260c30d758a30
cd0cf1c75c715a67502ff7f164bb070da78956de
/calculation/migrations/0042_auto_20160307_1638.py
31a8b3c79cfa3c1d315682f43c48547adb1a709a
[]
no_license
nustarnuclear/orient_linux
9792fb4319007708861d619dac081fa32206d3f6
95082ea56a0dfc248024f9bf54897a017985ccdf
refs/heads/master
2020-03-28T03:17:02.629719
2017-01-04T08:38:16
2017-01-04T08:38:16
43,117,046
0
0
null
null
null
null
UTF-8
Python
false
false
1,822
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('calculation', '0041_auto_20160229_0940'), ] operations = [ migrations.AlterField( model_name='depletionstate', ...
[ "hengzhang@nustarnuclear.com" ]
hengzhang@nustarnuclear.com
96da9932a01b7250a0ce890f36a18152d78ef0eb
f0adca7cac7fb12cdb89e7e821559fe2603bf4bc
/src/027/recipe_027_02.py
4e7cefe4a38981a6cb69ba5d844641d42e232edc
[]
no_license
eriamavro/python-recipe-src
dccfa06bc56fcc713f8da9e466f04d07c1f961f0
d14f3e4cd885515e9a9a7b8e3f064609c8e50fad
refs/heads/master
2023-02-13T02:08:44.531621
2021-01-14T12:03:05
2021-01-14T12:03:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
l = ["りんご", "みかん", "バナナ"] print(l[-1]) print(l[-2]) print(l[-3])
[ "kurozumi.ta@gmail.com" ]
kurozumi.ta@gmail.com
b462cd1f10fea32cb82229758978a71a0c8496c2
74a05d1c15854fce2ff80f4df9b795b11ece58cf
/app/migrations/0031_auto__add_settings.py
c27933e81ffac579e8f1789668e3840d01d42fdb
[]
no_license
crimsonkeysociety/tour_management
e0ec691079bac62562ed9a6bd2dbd1bf42947ab5
8bb6cddc06cc622aff622bafa56a88d76df770e4
refs/heads/master
2022-08-05T20:06:38.610820
2015-10-23T01:13:44
2015-10-23T01:13:44
15,656,503
0
0
null
2022-07-07T22:55:26
2014-01-05T18:41:03
Python
UTF-8
Python
false
false
5,533
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Settings' db.create_table(u'app_settings', ( ...
[ "andrewraftery@gmail.com" ]
andrewraftery@gmail.com
12b02a8505246ec0c8f8a3b62d7fc0d459922f70
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/third_party/catapult/telemetry/telemetry/testing/browser_test_case.py
eb728804004036b1cb50a5dad0cf3eb3ce62e6d6
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
3,394
py
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from functools import wraps import logging import os import sys import types import unittest from telemetry.internal.browser import browser_finder from tele...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
f6a69ac9d550abf78222fde875811bce981f0e7a
6359831db732f929409adbb8270092c7e9cca8d5
/Q012_maximum_distance.py
255ef8dd074a0b6375d115a0a0aa9faa1ccd0be1
[]
no_license
latika18/interviewbit
11237219d982c98a22f0098be8248ef7a5b9246f
a065b19dc368136101dafbbbdab9b664fed0bf35
refs/heads/master
2020-03-15T15:20:30.002201
2018-08-22T07:39:21
2018-08-22T07:39:21
132,209,831
0
0
null
null
null
null
UTF-8
Python
false
false
1,371
py
Given an array A of integers, find the maximum of j - i subjected to the constraint of A[i] <= A[j]. If there is no solution possible, return -1. Example : A : [3 5 4 2] Output : 2 for the pair (3, 4) def maximumGap(self, A): def maximum_gap( A): """find maximum gap between index(j -i ) with A[i] <=...
[ "noreply@github.com" ]
latika18.noreply@github.com
f5068157b2b70b1fe8a22deba803ec5fc2887f83
9c90b9b3c831c57b55e0a545bf047d298118e4bb
/test/functional/nulldummy.py
19816be9b887f74b106671eae2034d8574542c90
[ "MIT" ]
permissive
wolfoxonly/dk
c320958d778cb2831ae6b5f28798238c632218f6
090c9862a1a14c187eefcb8285e43601db5ed35b
refs/heads/master
2021-09-14T01:38:54.560917
2018-05-07T09:19:49
2018-05-07T09:19:49
125,704,169
0
0
null
null
null
null
UTF-8
Python
false
false
6,698
py
#!/usr/bin/env python3 # Copyright (c) 2016-2017 The Dealtoken Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test NULLDUMMY softfork. Connect to a single node. Generate 2 blocks (save the coinbases for later)....
[ "OFIChain@163.com" ]
OFIChain@163.com
03e5b057cdb37de9769563c0991b074c41801993
bb4cfda02ace826c43b6574070af184a3f2c6232
/libs/box_utils/coordinate_convert.py
d3e8f1ff71d252e301b1f6c5176e5d55803d3469
[]
no_license
dreadlord1984/R-DFPN_FPN_Tensorflow
7ee73928477f1bdf141617dc46a4180d56bdfd82
fa69b1c176fc5eb9835e9ac46663c81a4bf7e6ce
refs/heads/master
2020-04-07T05:10:05.032639
2018-10-10T07:54:27
2018-10-10T07:54:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,547
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import cv2 import numpy as np def forward_convert(coordinate, with_label=False, mode=None): """ :param coordinate: format [x_c, y_c, w, h, theta] :return: format [x1, y1, ...
[ "yangxue0827@126.com" ]
yangxue0827@126.com
f89bfd0043ae7b1322da3229b393bc64f742a627
017c8143058c87589ef77e04ee09de95e1235f47
/variable_test.py
a2066dd05162756e57ee46aeb5649c88d0be95cd
[]
no_license
esh1122/python-lecture
4b5a9c04d1df52cd0eb2e15fa13f40e92762dff6
93aa3337ce68e57c0a877e3828ac3cfcb13354e4
refs/heads/main
2023-05-14T03:32:24.652700
2021-05-27T05:31:52
2021-05-27T05:31:52
370,264,465
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
name = '홍길동' age = 27 print('안녕! 나는', name, '이야. 나는 나이가', age, '살이야.') print('안녕! 나는 {0} 이야. 나는 나이가 {1} 살이야.'.format(name,age)) print(f"안녕! 나는 {name} 이야. 나는 나이가 {age} 살이야.")
[ "you@example.com" ]
you@example.com
19e2bfb6aa0bd51898da2bbdbcd2da3dc403e8d0
f9646f1a269b0108b174b68172424f19ea563da5
/lande/pysed/helper.py
5a5b96e0588fd56dd15ce205ca5b061dc252257d
[]
no_license
zimmerst/PhD-python
07a4ef2dd66e2bc9ac08861a04acbf934cb0ae49
21d24c0ae70925201b05f73c8044cc39639f8859
refs/heads/master
2020-12-26T04:56:27.165230
2014-01-27T00:55:17
2014-01-27T00:55:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,379
py
""" Various helper functions I can't think of a better place to put. Author: Joshua Lande <joshualande@gmail.com> """ import numpy as np from . import units as u def logrange(min,max,per_decade): """ Creates a range of values from min to max with per_decade points per logarithmic decade of...
[ "lande@37a9682d-6443-41a2-8582-b44379b6e86f" ]
lande@37a9682d-6443-41a2-8582-b44379b6e86f
b3d04bf6cfae7a820b0727049d1ae15d6bcc683e
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/raw/GL/INTEL/map_texture.py
e9c4f59671fef0a48393ba8d5dfd7578a94e730d
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
'''Autogenerated by xml_generate script, do not edit!''' import ctypes from OpenGL import platform as _p, arrays from OpenGL.constant import Constant as _C # End users want this... from OpenGL.raw.GL import _errors # Code generation uses this from OpenGL.raw.GL import _types as _cs _EXTENSION_NAME = 'GL_INTEL_map_tex...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
509d2af5b33f526f4eb105fb680de65e45e35641
f85ce2baf753d65e8666bbda062acbdb0ccdb5ad
/leetcode/venv/lib/python2.7/site-packages/pyutil/tonfig/lib/google/protobuf/field_mask_pb2.py
62f0022c3f89a7b5b4f2e50f0be6ecab80c5f288
[]
no_license
KqSMea8/PycharmProjects
2a9d3fa59d08c77daf63be427da27695d4dea471
c592d879fd79da4e0816a4f909e5725e385b6160
refs/heads/master
2020-04-14T11:54:56.435247
2019-01-02T10:15:36
2019-01-02T10:15:36
null
0
0
null
null
null
null
UTF-8
Python
false
true
2,370
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/protobuf/field_mask.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from pyutil.tonfig.lib.google.protobuf import descriptor as _descriptor from pyutil.tonfig.lib.google.protobuf import message as _m...
[ "zhangyifeng@bytedance.com" ]
zhangyifeng@bytedance.com
3bc87f2da468ebbafbc7f383d709641aa6463a5c
43b72b9e4d81ffab6e4d79f324034cbb4b7413a3
/DP/makingCoinChange.py
4fc030663040f2153380a88910920258fb33a1c4
[]
no_license
devathul/prepCode
bfe0ad44f68c8c9d4a48f76dde9a1bb8af165373
eb0751bda3066ac2f1a2890cf63b28ee63a6dd89
refs/heads/master
2023-01-08T20:59:52.214333
2020-11-01T00:13:55
2020-11-01T00:13:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,535
py
""" makingCoinChange Given n types of coin denominations of values v1<v2<..<vn (natural numbers). Assume v1=1, so that we can always make change for any amount of money C. Give an algorithm which makes change for an amount of money C with as few coins as possible. Approach 1: Back Tracking Here every coin is taken, th...
[ "42695433+bsofcs@users.noreply.github.com" ]
42695433+bsofcs@users.noreply.github.com
94f1eec1411777661279fe504d4269488c31c6a3
41dae158304aac60289835fca92d9c319b43b5c7
/morph_animal/__init__.py
9e88d7b69fff9d753663281e79db4d9e0f24ecbf
[]
no_license
houskan/morph
f0f24b4763e8ac5481c1b691afd17b30c9e00f8b
b0c429f93050ad07c33ee6098d78a44b45427d6f
refs/heads/main
2023-02-13T11:52:16.584914
2021-01-12T10:13:01
2021-01-12T10:13:01
327,046,575
0
0
null
null
null
null
UTF-8
Python
false
false
2,300
py
bl_info = { "name": "Morphological Animal Design App", "author": "Niklaus Houska", "version": (1, 1, 0), "blender": (2, 82, 0), "location": "View3D", "description": "Create Animal Anatomy and Gaits", "category": "Development", } if "bpy" in locals(): import importlib importlib.reloa...
[ "=" ]
=
857463d30fe1c02c030406ffd7df78b01e388efa
ce981539c6e3546282877ea08c6bbe785c641475
/setup.py
3d439216469abe21e32b0e0c2348c1e9318bfe5d
[ "MIT" ]
permissive
jackiechang2016/sbst-input-generator
73b5e0454218aaeef60887c9bf452cf6e900f63a
3d3234af94a39ca2e3467431b84269e15f31db6f
refs/heads/master
2023-07-24T16:10:51.211632
2019-05-14T01:36:20
2019-05-14T01:36:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="covgen", version="0.0.3", author="Greenmon", author_email="greenmon@kaist.ac.kr", description="Tool for search based test data generation", long_description=long_description, long_...
[ "greenmon@kaist.ac.kr" ]
greenmon@kaist.ac.kr
8dc13d66a0c16293bfacfd3aa92b17c5e39ffa5a
83eaebbd3cae5fdc9390c528bba03da76843f319
/broadcast/urls.py
ca7b094e4154d69aff700af29bab66f9a85e7aff
[]
no_license
eptgen/sunrogers
6588922da979c2b03ed09a55293b24ce088ba4b9
95cb01af0e467d586019d7eebec10446baec3eef
refs/heads/master
2021-01-12T16:33:33.068543
2017-01-02T09:42:35
2017-01-02T09:42:35
71,410,917
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.pretty, name="pretty"), url(r'^get/$', views.gett, name="get"), url(r'^change/$', views.change, name="change"), ]
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
f58173ea162e9c486be6e9ad190a9f714cc9ddcf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03424/s395214182.py
f299a87287558fba71c9c5825876ab5eeebab653
[]
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
70
py
N, *S = open(0).read().split() print('Four' if 'Y' in S else 'Three')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4f1b0f5d62ec18b788542ac1db98e2ce6a827227
196e05948373d8281b3324cd1ef9de5ea3148fc1
/tests/test_fixtures.py
3a08aff54b39c7b7d6b9b737b973050a938b7c65
[ "MIT" ]
permissive
ishakoktn/django-admin-interface
0e4fa070d1066daac96073379b7c758a6de458a2
49ae15ce982c4f26b2cac8c8a1ed7d925b894b19
refs/heads/master
2020-12-20T02:22:03.625441
2020-01-29T01:56:58
2020-01-29T01:56:58
235,931,631
0
0
MIT
2020-01-24T03:19:15
2020-01-24T03:10:23
null
UTF-8
Python
false
false
1,368
py
# -*- coding: utf-8 -*- from django.core.management import call_command from django.test import TestCase from admin_interface.models import Theme class AdminInterfaceFixturesTestCase(TestCase): def setUp(self): pass def tearDown(self): pass def __load_theme(self, theme_name): ...
[ "fabio.caccamo@gmail.com" ]
fabio.caccamo@gmail.com
87e85ecd8d3267a80b9c39ef564d0c7f0e453bb8
7f4aa2a57cea96c958a33399029b56bb5428da17
/srcds/addons/source-python/plugins/arcrank/resource/strings.py
cdd53f234488d2b3237faa43c5f7027cbda7d770
[]
no_license
KirillMysnik/ArcRank
5dbb5f5eba7bed76e4db242c92c31d027b51d265
54d08b980813d79dd62d1d2927bd6f32e26cd7c9
refs/heads/master
2021-01-09T20:17:01.179017
2016-08-20T15:43:30
2016-08-20T15:43:30
65,551,005
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
from colors import Color from core import GAME_NAME from advanced_ts import BaseLangStrings from ..info import info if GAME_NAME in ('csgo', ): COLOR_SCHEME = { 'color_tag': "\x01", 'color_highlight': "\x09", 'color_default': "\x01", 'color_error': "\x02", 'color_points_e...
[ "kirill@mysnik.com" ]
kirill@mysnik.com
b78f3c2367f6b4a2e84b87c0bf0e6852c1b134a1
c921440e1cf4c2531726b4ad18377dcb93515e58
/favourites/migrations/0001_initial.py
2e0578ce380bdd0fee66a90b1c09bbaf1702f028
[]
no_license
ZSPASOV/web-framework-project
b415a2bdf60e5dd24af182050faa5ae9fc1f376f
8f9232e130a764d3e802b1a06f09a6a3ec776aba
refs/heads/main
2023-07-06T03:09:47.088593
2021-08-07T14:04:47
2021-08-07T14:04:47
391,371,442
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
# Generated by Django 3.2.5 on 2021-07-02 13:54 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('products', '0001_initial'), ] operations = [ migrations.CreateModel( name='...
[ "zaprian_spasov@hotmail.com" ]
zaprian_spasov@hotmail.com
ac7e3098aa12ef06701966df5803ee3a61dee359
f0de6c3ffc999616a0a9580a8a3678aef283cdf5
/chrome_elf/third_party_dlls/DEPS
b76182d2e740067acf3e7267a6929b735c48ab92
[ "BSD-3-Clause" ]
permissive
r00tk1ts/chromium
db18e3940667da7aa76baff69c229788baa5d706
a3cef2a9d2ba64068c1fe7de81500d9d33cf4f87
refs/heads/master
2023-02-23T04:57:23.997581
2018-03-28T10:54:29
2018-03-28T10:54:29
127,127,996
1
0
null
2018-03-28T11:07:29
2018-03-28T11:07:28
null
UTF-8
Python
false
false
371
include_rules = [ # Nothing from base. "-base", # Nothing from chrome except install_static. "-chrome", "+chrome/install_static", # Carefully control local includes. "-chrome_elf", "+chrome_elf/nt_registry/nt_registry.h", "+chrome_elf/sha1/sha1.h", "+chrome_elf/third_party_dlls", ] specific_include_...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
dcdb2a4904de7fe17663a71a5d3d10a8f3c7da36
b984792d94231e3a8fde72aa9d99923a4d26ecb5
/test_files/PlotZoom.py
92042aa8b352dc51ef2ff6199ab6e9042f827076
[]
no_license
bazilevs31/MD_gel_simulation
c38633c7a839575e8912a92b031ebc65dd076521
6d902f2beecde6f5e6d72a4264ff3bc0e18eec26
refs/heads/master
2020-03-19T04:42:41.839899
2018-06-03T00:20:50
2018-06-03T00:20:50
135,857,118
6
0
null
null
null
null
UTF-8
Python
false
false
5,907
py
#!/usr/bin/env python # Program: PlotAll.py # Purpose: plot various *.npz files using Python # Author: Triandafilidi Vasiliy , MSc student at CHBE UBC, Vancouver # e-mail: vtriandafilidi(at)chbe(dot)ubc(dot)ca # Syntax: python PlotAll.py for help, # example: python PlotAll.py --points -a Plot1.npz -a Plot2.npz -t <...
[ "vasiliy.triandafilidi@gmail.com" ]
vasiliy.triandafilidi@gmail.com
f59ccb64aba5bc9e4cb43f0c3d779530773372b3
3ea4024cdb109ae7c3cefd313a87036c6aa532d2
/python/using_tuples.py
b5bb4ac9600b8df8aa9163cd3ced541148567646
[]
no_license
KamarajuKusumanchi/sampleusage
abd41275bf3f54895968fddf014f64c2b58e7540
fc8bbca7093a9c362c26483e1d0558513be8c957
refs/heads/master
2022-11-26T02:18:24.252661
2022-11-11T20:23:52
2022-11-11T20:23:52
50,271,274
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
#! /usr/bin/env python3 # adapted from http://www.tutorialspoint.com/python/python_variable_types.htm tuple = ('abcd', 786, 2.23, 'john', 70.2) tinytuple = (123, 'john') print( tuple ) # Prints complete tuple print( tuple[0] ) # Prints first element of the tuple print( tuple[1:3] ) # P...
[ "kamaraju@gmail.com" ]
kamaraju@gmail.com
e212c46b6f59601e5007501d68c40512d282f05c
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/4011/codes/1635_1054.py
bf331355f79ed7d8e41b53243c910a8814f4e7a1
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
337
py
# Teste seu código aos poucos. # Não teste tudo no final, pois fica mais difícil de identificar erros. # Use as mensagens de erro para corrigir seu código. x = float(input("Coordenada X: ")) y = float(input("Coordenada Y: ")) reta = 2*x + y if(reta == 3): print("ponto pertence a reta") else: print("ponto nao perte...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
4db540c4f83e3c9af2eb75d55c9f37821487f23c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_disclaimed.py
bf8cface3c2b542daa628b64bdd99e2bdc97a4dc
[ "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
232
py
#calss header class _DISCLAIMED(): def __init__(self,): self.name = "DISCLAIMED" self.definitions = disclaim self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['disclaim']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
fade567906365d4fa67284338644a097973ec991
0412893529999de784ab9cb914f385ba788a3684
/logicmonitor_sdk/models/azure_account_test_result.py
39312e0a539ea90ca7e6ab4dc225ef1674be4855
[ "Apache-2.0" ]
permissive
JeremyTangCD/lm-sdk-python
0326bf034c16b022b760600dc18fe7aaad42fa26
2a15e055e5a3f72d2f2e4fb43bdbed203c5a9983
refs/heads/master
2020-04-15T15:39:59.276224
2019-01-09T09:55:36
2019-01-09T09:55:36
164,803,314
0
0
Apache-2.0
2019-01-09T09:58:55
2019-01-09T06:33:40
Python
UTF-8
Python
false
false
4,428
py
# coding: utf-8 """ LogicMonitor REST API LogicMonitor is a SaaS-based performance monitoring platform that provides full visibility into complex, hybrid infrastructures, offering granular performance monitoring and actionable data and insights. logicmonitor_sdk enables you to manage your LogicMonitor account...
[ "jeremy.tang@logicmonitor.com" ]
jeremy.tang@logicmonitor.com
634750c15e693f9d57f5942be4c339f5c415d3e1
c9094a4ed256260bc026514a00f93f0b09a5d60c
/tests/components/zwave_js/test_api.py
88e8acc577156fa33acec728e74a933c5a771b7c
[ "Apache-2.0" ]
permissive
turbokongen/home-assistant
824bc4704906ec0057f3ebd6d92788e096431f56
4ab0151fb1cbefb31def23ba850e197da0a5027f
refs/heads/dev
2023-03-12T05:49:44.508713
2021-02-17T14:06:16
2021-02-17T14:06:16
50,231,140
4
1
Apache-2.0
2023-02-22T06:14:30
2016-01-23T08:55:09
Python
UTF-8
Python
false
false
5,104
py
"""Test the Z-Wave JS Websocket API.""" from unittest.mock import patch from zwave_js_server.event import Event from homeassistant.components.zwave_js.api import ENTRY_ID, ID, NODE_ID, TYPE from homeassistant.components.zwave_js.const import DOMAIN from homeassistant.helpers.device_registry import async_get_registry ...
[ "noreply@github.com" ]
turbokongen.noreply@github.com
6ec7975b0913c92ae0cbb28c02fd25f1f31b8848
bb20ff4f8abd59115e78bd5e7426cd38eb1897eb
/gelinho/api/urls.py
7461daccf6eb288e51b15fc1e46ebe92abf8dbad
[]
no_license
DiegoDigo/GelinhoMariaDjango
41fb0d2d01278b865a21abda3d8fe078cb478a61
5c6a95538fca5ba1b997b9ef83c3fff2feb7ff90
refs/heads/master
2020-12-24T09:22:31.862007
2016-12-02T15:48:15
2016-12-02T15:48:15
73,299,840
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
from django.conf.urls import url from . import views from rest_framework_swagger.views import get_swagger_view shema_view = get_swagger_view(title="Tipos e sabores gelinhos") urlpatterns = [ url(r'^tipos/$', views.ListarTipo.as_view()), url(r'^salvar/tipo/$', views.SalvarTipoGelinho.as_view()), url(r'^sab...
[ "di3g0d0ming05@gmail.com" ]
di3g0d0ming05@gmail.com
74a0fbbb091d5be70ed6eb33f5d226ab14f9f84e
005e55bc7ecec5609c84564fb0076da1b46cc67c
/utils/io.py
2256a04c8d148bd86d4f05dd4ef93fa29f932d2f
[]
no_license
jihunchoi/seq2seq-pytorch
f17de7993f49ba1ff787ff42602a952e5b27497e
125aa6e3dd5b5ed7250cd62182bb2ec08d180d5e
refs/heads/master
2021-09-04T11:17:56.877747
2018-01-18T06:56:39
2018-01-18T06:56:39
104,214,722
5
0
null
null
null
null
UTF-8
Python
false
false
3,480
py
"""Some lines are copied from OpenNMT-py.""" import codecs from collections import defaultdict from itertools import chain import torchtext.data import torchtext.vocab PAD_WORD = '<pad>' UNK = 0 BOS_WORD = '<s>' EOS_WORD = '</s>' def __getstate__(self): return dict(self.__dict__, stoi=dict(self.stoi)) def _...
[ "jhchoi@europa.snu.ac.kr" ]
jhchoi@europa.snu.ac.kr
9ae6b118310c804bb37a989f5d501c7213d6de1d
ea982b1edb1690a6ee84093f0dec80dbb33782c6
/swagger_client/models/possible_ontology_info.py
1f278342ef0e58a251143436beb607c40b5446b7
[ "Apache-2.0" ]
permissive
ESIPFed/corpy
9321635b53429c92a6d40ccad6b67e30c21469ba
e1eec577f15934c6969784c4025d2c29eb7c32ca
refs/heads/master
2021-07-09T01:34:17.574347
2019-01-31T19:19:44
2019-01-31T19:19:44
117,897,296
0
0
null
null
null
null
UTF-8
Python
false
false
5,923
py
# coding: utf-8 """ ORR API Documentation The main ORR documentation is located at: https://mmisw.org/orrdoc/ __Please note__: - The ORR API is approaching a stable version but is still work in progress. Please [let us know](https://github.com/mmisw/mmiorr-docs/issues) if you have any questions or sugges...
[ "lewis.mcgibbney@gmail.com" ]
lewis.mcgibbney@gmail.com
49b375c8109ef28d071a53a1c0198ddc6f87929f
aca2258cf58e0d2c7e4939e73bcb82b6c135282c
/libs/pmxbot/pmxbot/saysomething.py
0222d257257ae2fb0c174acef64e02a0f3deed95
[]
no_license
masomel/py-import-analysis
cfe6749a1d7430b179559b9e0911b8c8df507be7
7edf8148e34b9f73ca6433ceb43a1770f4fa32c1
refs/heads/master
2021-03-16T10:00:24.205301
2019-08-01T20:32:34
2019-08-01T20:32:34
112,668,748
1
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
# vim:ts=4:sw=4:noexpandtab r""" >>> import io >>> import itertools >>> f = io.StringIO("foo said one thing\n\nfoo said another thing\n\nbar said nothing\n") >>> data = markov_data_from_words(words_from_file(f)) >>> words = words_from_markov_data(data) >>> paragraph_from_words(words) '...' """ import threading import...
[ "msmelara@gmail.com" ]
msmelara@gmail.com
0082b40a8293c7fe51a379580adaaa81fad88750
076cdfc18e9a888a5db1ef1eba7ff73b682dcdfb
/code-prob-a-day/day14-circle-area.py
a9f39b1e6876b2a2b4c862c1513d9b6d603d16e1
[]
no_license
valexandersaulys/coding-puzzles
7f327dbed4ab32a3b2414898fc371d3944518c42
70195da4be3c5e1b330ace62698e1a3633a7899d
refs/heads/master
2020-04-20T17:37:47.540201
2019-03-07T22:58:37
2019-03-07T22:58:37
168,994,053
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
#! usr/bin/python3 """ Good morning! Here's your coding interview problem for today. This problem was asked by Google. The area of a circle is defined as πr^2. Estimate π to 3 decimal places using a Monte Carlo method. Hint: The basic equation of a circle is x2 + y2 = r2. """ import random import math def monte_ca...
[ "vincent@saulys.me" ]
vincent@saulys.me
a0ffb881ff49b0fabcc7cfaabeecffb92f2f83e3
3474b315da3cc5cb3f7823f19a18b63a8da6a526
/scratch/KRAMS/src/apps/scratch/jakub/graphics_lab/mesh_quad_deformed.py
2b502baff653b158fedf80b0ec5fc709148b71c0
[]
no_license
h4ck3rm1k3/scratch
8df97462f696bc2be00f1e58232e1cd915f0fafd
0a114a41b0d1e9b2d68dbe7af7cf34db11512539
refs/heads/master
2021-01-21T15:31:38.718039
2013-09-19T10:48:24
2013-09-19T10:48:24
29,173,525
0
0
null
2015-01-13T04:58:57
2015-01-13T04:58:56
null
UTF-8
Python
false
false
4,409
py
''' (C)2004 ORFEUS This is the default python module file. It has been generated by the modtree administrator Import the generated Python module in order to - initialize the required modules and - load the compiled module extension library of this module ''' # Here you can add your own code ... #!/usr/bin/env py...
[ "Axel@Axel-Pc" ]
Axel@Axel-Pc
3ccfdd809af0ba9e51701d70aa2ddecc531f04c2
978771e2154ac5cb686283498de4e089e735945c
/lazyflow/request/threadPool.py
c0957a91729b8592c3d9749a522229e944413ef6
[]
no_license
burgerdev/lazyflow
0e5a1ccf543e9851431c536e999fe09283451a7d
c18bdb72bbe1602424d4841bde8db8938ce05bae
refs/heads/master
2021-04-15T16:05:57.825349
2013-08-30T13:14:23
2013-08-30T13:14:23
9,623,570
0
0
null
2015-04-07T12:06:27
2013-04-23T13:23:08
Python
UTF-8
Python
false
false
7,367
py
# Built-in import atexit import collections import heapq import threading import platform # This module's code needs to be sanitized if you're not using CPython. # In particular, check that deque operations like push() and pop() are still atomic. assert platform.python_implementation() == "CPython" class PriorityQueu...
[ "bergs@janelia.hhmi.org" ]
bergs@janelia.hhmi.org
515eba05e197c50eca98e2fc2f5354c6efca6d02
56d222720e337ccfe7c545109cbe09c271367e5b
/run_two.py
6757d338577f3ea029501a4f83e771a1ce1b9529
[ "Apache-2.0" ]
permissive
hasanfaqih/Psychological-Analysis-App
bdee4aa8a7cd607d3e2bed6eef98518f9cb15c13
fdb81e8d9504ff456fc3d4c2b2755f95910c5e95
refs/heads/master
2023-03-16T02:43:30.678436
2018-10-18T04:49:59
2018-10-18T04:49:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
import os import sys # env setup root_path = os.path.dirname(os.path.abspath(__file__)) code_path = os.path.join(root_path, 'src') sys.path.append(code_path) os.chdir(code_path) from managers.run_manager import run_manager run_manager('two', root_path)
[ "md.sabuj.sarker@gmail.com" ]
md.sabuj.sarker@gmail.com
0d4eb76f6cb8d79202b9fa1cc5f68e8f9f688bc5
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/LArCalorimeter/LArExample/LArConditionsCommon/share/CheckADC2MeV.py
73bcc37597f23cf7db51244914bfabc31fadc864
[]
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
6,692
py
############################################################### # # Python script for accessing LAr Conditions data in DetectorStore # # 0. Select run number, and load Conditions jobOpt # 1. Access Conditions Data using Identifier # Retrieve container from DetectorStore # make identifier using on...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
ba664335892f760128b799f05829098b8f4c2c93
f138be1e8e382c404cfe1ff6a35e90fc77fa9bff
/ABC/python/142/B.py
cf7d00b03290acf8f3569ae1990e2f3d7b0aebe2
[]
no_license
jackfrostwillbeking/atcoder_sample
8547d59ca2f66b34905f292191df6c474010fded
d5b2fe8f628fd56eaf23ee7e92938e8ac1b1fef9
refs/heads/master
2023-07-25T19:16:14.340414
2021-08-26T15:26:08
2021-08-26T15:26:08
273,857,286
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
import sys N,K = map(int,input().split()) array_hight = list(map(int,input().split())) if not ( 1 <= N <= 10**5 and 1 <= K <= 500 ): sys.exit() count = 0 for I in array_hight: if not ( 1 <= I <= 500): sys.exit() if I >= K: count += 1 print(count)
[ "jackfrostwillbeking@gmail.com" ]
jackfrostwillbeking@gmail.com
70addfe128dfd90168460c73dd64201d4951cb70
22f73160832fcbd1e09ccc90833a32cdc4ab2f38
/Api/Right/Handler/menu.py
0b046d0c0a817c3f2b45f7e2359c5577a5cf1338
[]
no_license
liuwei881/right
72ae80aa046c7b72bf70fd9056ab748d70f9a12b
2b7add9f9bb5c89120b372f01248c2229906445d
refs/heads/master
2021-01-16T22:14:27.488541
2016-09-19T06:33:03
2016-09-19T06:33:03
68,575,745
1
0
null
null
null
null
UTF-8
Python
false
false
470
py
#coding=utf-8 from lib.urlmap import urlmap from lib.basehandler import BaseHandler from tornado import web from Right.Entity.MenuModel import MenuList import json #用户管理 @urlmap(r'/menu/') class MenuHandler(BaseHandler): @web.asynchronous def get(self): director = self.db.query(MenuList) ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
18c865ecad5629104c3d18e6d4d172a446cffdd5
21b201ebf2ffbbc19fa8d74e5657e12ef597b02d
/research/object_detection/model_test_util.py
01e352f3c2232a28dedc1d812aa139cdaaa01272
[]
no_license
alhsnouf/model
fa619691ad9d0afc7ad849a9471e6bb0643a8d47
5fe429b115634e642a7469b3f1d4bc0c5cf98782
refs/heads/master
2021-04-12T11:16:02.150045
2018-03-27T15:19:18
2018-03-27T15:19:18
126,702,717
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:504923786115622e26d3cbe151e2ed22f12be40eacecc6679014b6e5706e13e7 size 1887
[ "alhanouf987@hotmail.com" ]
alhanouf987@hotmail.com
3b499634d453ec38d8bb79a0e771fff31dd25db5
edd0dc36452366de13a04ec5ced3c502af336b06
/zhe/eeg_analysis/eeg_stats.py
1084e76856d6138ecab4065c940316d6086c37c8
[]
no_license
expertanalytics/Elektrosjokk
2de0a4d504d8cac40d07ce72c081a3fc3a69aaf6
325e731c04950d0c19f47bab1f65d8a3eb3a79ec
refs/heads/master
2021-09-19T02:05:17.726598
2021-08-05T09:15:31
2021-08-05T09:15:31
79,484,610
0
0
null
2018-10-25T12:19:09
2017-01-19T18:58:28
Python
UTF-8
Python
false
false
3,686
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt from boxplot_eeg import get_data import scipy.signal as sig def butter_lowpass_filter(data, cutoff, fs=5000, order=8): def butter_lowpass(cutoff, fs, order=5): nyq = 0.5 * fs normal_cutoff = cutoff / nyq b, a = sig....
[ "jakob2602@gmail.com" ]
jakob2602@gmail.com
57a372be742299b5c1484bec3da600a55c775b7a
99e339383a18acf43d2d29fa2bfc779ffa68fbc9
/src/Snakemake/rules/Fusion/Imbalance.smk
313733f33cb702f4fdb41d4d4d8efbc10ebf1b68
[]
no_license
Clinical-Genomics-Linkoping/Twist_RNA
68d2136a7f98faa1341a33520e53894c26863a15
2595f79c9cb3d6d0f30b7370c27bacacd4266091
refs/heads/main
2023-05-06T13:50:51.451532
2021-03-12T15:42:16
2021-03-12T15:42:16
363,114,653
0
1
null
2021-04-30T11:07:10
2021-04-30T11:07:09
null
UTF-8
Python
false
false
400
smk
rule imbalance : input: bams = ["STAR2/" + s + "Aligned.sortedByCoord.out.bam" for s in config["RNA_Samples"]] output: imbalance_all = "Results/RNA/Imbalance/imbalance_all_gene.txt", imbalance = "Results/RNA/Imbalance/imbalance_called_gene.txt" run: import subprocess ...
[ "jonas.almlof@igp.uu.se" ]
jonas.almlof@igp.uu.se
4e80c64e8f7f19448c42193135618725ca7a0d14
ae005abd620d2d4aa7277b9029dd520c2d1c8037
/data/shakespeare/preprocess/gen_all_data.py
91f45c4aaae2a8edbfee50669739017cf0926fb9
[ "BSD-2-Clause" ]
permissive
krishnap25/simplicial-fl
7a4a67bfa08554d1a80985458675038784ae6c16
a58dc327c56458aad5d17474c3e995e86a62c197
refs/heads/master
2023-09-01T20:42:04.970062
2023-08-03T15:33:32
2023-08-03T15:33:32
242,252,173
23
8
null
null
null
null
UTF-8
Python
false
false
976
py
import argparse import json import os from shake_utils import parse_data_in parser = argparse.ArgumentParser() parser.add_argument('--raw', help='include users\' raw .txt data in respective .json files', action="store_true") parser.add_argument('--seq-length', ...
[ "username@users.noreply.github.com" ]
username@users.noreply.github.com
88195429f8703e1c191ac6aa9ebe8b40b51a8300
f4c9256fd8a8ad4e4ba3bbb6898ef93760923915
/combo.py
508b3c299a96089df13151b455efca5c7fe9c07b
[]
no_license
dt-ajayi/pyqt5_youtube_playlist
bdd7d1ceef1861a9da276b5749f375d71060d428
69b91d00f06a0d9d9ddf4a25897658b0e371a6b9
refs/heads/main
2023-07-22T11:46:25.729516
2021-09-09T15:30:50
2021-09-09T15:30:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
import PyQt5.QtWidgets as qtw import PyQt5.QtGui as qtg class MainWindow(qtw.QWidget): def __init__(self): super().__init__() # Add a title self.setWindowTitle("Hello World!!") # Set Vertical layout self.setLayout(qtw.QVBoxLayout()) # Create A Label my_label = qtw.QLabel("Pick Something From The List ...
[ "johne4196@gmail.com" ]
johne4196@gmail.com
1a2b67ba13c4905bb267f1671cc0752362d2d756
14f4d045750f7cf45252838d625b2a761d5dee38
/argo/argo/models/io_k8s_api_core_v1_container_state_terminated.py
f1d67df908861183d9a67fe1559bc8420a7f04c9
[]
no_license
nfillot/argo_client
cf8d7413d728edb4623de403e03d119fe3699ee9
c8cf80842f9eebbf4569f3d67b9d8eff4ba405fa
refs/heads/master
2020-07-11T13:06:35.518331
2019-08-26T20:54:07
2019-08-26T20:54:07
204,546,868
1
0
null
null
null
null
UTF-8
Python
false
false
9,130
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six...
[ "nfillot@weborama.com" ]
nfillot@weborama.com
bfdde8e203d13eca5834280b04bbae171c480d92
51de6a2a2ce8882ee6462cd1076c7b9675830531
/0x0F-python-object_relational_mapping/11-model_state_insert.py
6b1c7e3aa367c2e4625e2548189c28c1c71602f7
[]
no_license
anamariaroman/holbertonschool-higher_level_programming
9b479c9b1484e4388ec0a4390cda81480626725a
5d75ccc35dfc92887d0f9a9e0b0773ed741d179e
refs/heads/master
2023-08-17T23:40:25.164128
2021-09-23T04:57:43
2021-09-23T04:57:43
361,869,257
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
#!/usr/bin/python3 """Add the new state. """ from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from sys import argv from sqlalchemy.orm.session import Session from sqlalchemy.sql import base from model_state import Base, State if __name__ == "__main__": engine = create_engine( ...
[ "2979@holbertonschool.com" ]
2979@holbertonschool.com
572dbbe17646c63a43dc929dcb0031d954887cf8
a8c8864f89fe337287e9a8f167d256722eb87a89
/main/urls.py
b1fc5724a946d78306874d0d3e99d15e44ad42bd
[]
no_license
Gemy-star/exams_system
8c55d2ae79a4e650fcf368a6749cabde58a9d346
f9144356007f6d8a220978a54349b7269bd7a10d
refs/heads/main
2023-01-08T04:15:16.328575
2020-11-13T14:56:51
2020-11-13T14:56:51
305,020,348
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
from django.urls import path from . import views urlpatterns = [ path('', views.home_page, name='home-page') ]
[ "m.yassen.93@gmail.com" ]
m.yassen.93@gmail.com
e57e4c17befb6799c3ba67ef05951eea7bcf79fc
ae65873c3584cef7139066b224daad04410af6d2
/list.py
48e6c6bb51c11fdae28ab645cbe638ac4a8c317a
[]
no_license
rajatkashyap/Python
2240c7472d07803c460c7a55d570e20694b694f9
f74c85c65b0e209a5f7ab25b653d42835222faaf
refs/heads/master
2022-06-25T19:20:52.847498
2022-06-08T14:40:45
2022-06-08T14:40:45
145,714,257
0
0
null
2022-04-25T00:18:37
2018-08-22T13:39:14
Python
UTF-8
Python
false
false
528
py
from collections import OrderedDict a=[4,3,2,8,9,6,7,1,7,9,6,4,7] print max(a) non=[1,2,1,1,2,1,7,5,4,3,7] l=len(a) print a s= list(set(a)) print s s.sort(reverse=True) print s print s[1] if (l%2==0): m=(a[(l/2)-1] + a[(l/2)])/2.0 else: m=a[l//2] print m print '*'*35 counts=OrderedDic...
[ "rajatkashyap@Rajats-MBP.T-mobile.com" ]
rajatkashyap@Rajats-MBP.T-mobile.com
6a332c02f729b295b09758fdc731947f022c9aee
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/portal/controllers/web.py
d31ad7a2281c64d610b634fdc451c3e81b77f789
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. from odoo import http from odoo.addons.web.controllers.main import Home from odoo.http import request class Home(Home): @http.route() def index(self, *args, **kw): if request.session.uid and not requ...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
6de8ba1cff9eef85f29a7e694847dad174d0c3d9
85b2c758837e37937d431f6e71ca1d6a39685b3f
/1802-exploits/getgodm5302712seh-overflow.txt
11ac710a83865d2694498f63c8ed37cdf9b47457
[]
no_license
Silentsoul04/packetstorm-exploits
e737f4ed192b47866aff113df8818117410615e3
f6c0733c76b2c8f86d8e05e70f80a87faa0e0267
refs/heads/master
2023-02-01T21:56:43.721503
2020-12-16T15:48:54
2020-12-16T15:48:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,998
txt
#!/usr/bin/python # # Exploit Author: bzyo # Twitter: @bzyo_ # Exploit Title: GetGo Download Manager 5.3.0.2712 - Remote Buffer Overflow (SEH) # Date: 02-24-2018 # Vulnerable Software: GetGo Download Manager 5.3.0.2712 # Vendor Homepage: http://www.getgosoft.com/ # Version: 5.3.0.2712 # Software Link: https://www.exp...
[ "sepehrdad.dev@gmail.com" ]
sepehrdad.dev@gmail.com
556a735770399808999cc667d1a074572a982478
b14cab5bf738f32df4051ec4bd045f057b91ab19
/Lesson 7 (True и False, break и continue)/Classwork/Найди кота.py
ec30b55c42dd0b96c03e2c99606477b70aed06d6
[]
no_license
RIMPOFUNK/FirstLyceumCourse
69f8bd27b2783589c66fa8b069ce20bb5cb873f6
990e3bdf2a1e2e2ce8ac70b24da4b251f3bed1d4
refs/heads/master
2020-05-18T09:25:07.031267
2019-04-26T10:10:24
2019-04-26T10:10:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
n = int(input()) flag = False for i in range(n): string = input() if "кот" in string or "Кот" in string: flag = True print("МЯУ" if flag else "НЕТ")
[ "kolobov.kirill@list.ru" ]
kolobov.kirill@list.ru
9ea205392e6b829b1492eec5da48d836b1ffadca
cc1b87f9368e96e9b3ecfd5e0822d0037e60ac69
/devil/devil/android/sdk/version_codes.py
44a06c481f69466c91cd9687f36cf851a9dd96b1
[ "BSD-3-Clause" ]
permissive
CTJyeh/catapult
bd710fb413b9058a7eae6073fe97a502546bbefe
c98b1ee7e410b2fb2f7dc9e2eb01804cf7c94fcb
refs/heads/master
2020-08-19T21:57:40.981513
2019-10-17T09:51:09
2019-10-17T18:30:16
215,957,813
1
0
BSD-3-Clause
2019-10-18T06:41:19
2019-10-18T06:41:17
null
UTF-8
Python
false
false
477
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Android SDK version codes. http://developer.android.com/reference/android/os/Build.VERSION_CODES.html """ JELLY_BEAN = 16 JELLY_BEAN_MR1 = 17 JELLY_BEAN...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
61162037b2e84c71ac8d44aada9daf0107e1880b
0674b9d8a34036a6bbe2052e1cae0eee9a44554b
/SWEA/4828_minmax.py
3a3404458765597229d092ce2a45861496215e65
[]
no_license
timebird7/Solve_Problem
02fb54e90844a42dc69a78afb02cc10a87eda71c
2d54b6ecbe3edf9895fd8303cbca99b3f50f68f3
refs/heads/master
2020-04-14T23:37:15.354476
2019-04-15T14:32:41
2019-04-15T14:32:41
164,208,673
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
T = int(input()) for x in range(T): k = int(input()) nums = list(map(int,list(input().split()))) print(f'#{x+1} {max(nums)-min(nums)}')
[ "timebird7@gmail.com" ]
timebird7@gmail.com
b2ff08ee8891c070cf41897ad2748caf212e20d6
8c37b5363ff77a10e9c54204bc88b1c9861cdee6
/test/test_quantization.py
fd3640c1d51fdb166cf5fad652e7acc7322704a5
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
gchanan/pytorch
50bf0843388c5ce3a818cf79688cf319b2262b15
0d03e73ae73aa6964ef72f848a77d27afeacf329
refs/heads/master
2021-07-02T16:20:50.304428
2019-12-26T20:52:21
2019-12-26T20:52:21
88,906,627
9
1
NOASSERTION
2019-12-26T20:52:23
2017-04-20T20:14:16
Python
UTF-8
Python
false
false
62,456
py
import unittest import math import torch import torch.nn as nn import torch.nn.quantized as nnq import torch.nn.intrinsic as nni import torch.nn.intrinsic.quantized as nniq import torch.nn.intrinsic.qat as nniqat from torch.nn.utils.rnn import PackedSequence from torch.quantization import \ QConfigDynamic, get_obse...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
82822d57bd6cba723ebf6967698c3ae374c22d90
f37e106bc001fc2cc780140413b530c49427bd59
/starfish/.venv/bin/easy_install-3.7
a1dcc360a6eacab3dce1c13c77844a1e3b1aa72e
[]
no_license
shenlab-ucsf/SMART-Q
ed9acbed899632662694805d13083bb849ec0735
632fd1757f433c6ef72712405e558d5a77fdf80e
refs/heads/master
2022-12-09T19:54:44.435352
2021-06-02T01:30:34
2021-06-02T01:30:34
193,999,773
2
0
null
2022-12-08T03:03:03
2019-06-27T01:14:25
Python
UTF-8
Python
false
false
285
7
#!/Users/sbergenholtz/Applications/starfish/starfish/.venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sbergenholtz@ihg-0mah7jy-dt.ucsf.edu" ]
sbergenholtz@ihg-0mah7jy-dt.ucsf.edu
9e7d9f8df155407e309f24f3eae35c9ec8587381
8b7331904bf93158595a298501853bc8d8d9e9af
/credit_china/spiders/aliwx.py
833ed9554fe1c82fe1cfc7a7dd6138bd793dbd2a
[ "Apache-2.0" ]
permissive
pythonyhd/reverse_spider
23732887a45164cb30b9e6c7ac7d7de8dd613221
5922e39bee47bf4114ab06670f49e32eb1bc4b1d
refs/heads/master
2022-08-07T01:31:54.347374
2020-09-08T05:23:37
2020-09-08T05:23:37
251,223,250
9
3
Apache-2.0
2022-07-29T22:40:55
2020-03-30T06:42:50
JavaScript
UTF-8
Python
false
false
4,393
py
# -*- coding: utf-8 -*- import json import logging import re from functools import reduce from urllib.parse import urljoin import scrapy from credit_china.config import aliwx_settings from credit_china.work_utils.process_js import process_aliwx logger = logging.getLogger(__name__) class AliwxSpider(scrapy.Spider):...
[ "18353626676@163.com" ]
18353626676@163.com
f1169099cb2d55c2e8b50403ae28ab95336eff97
fd3fe03575592069f4c754fa3069f6d64297a52e
/pyews/service/operation.py
49067c831f1f4904f069c0a260b71512c5da931c
[ "MIT" ]
permissive
swimlane/pyews
b4db05a5b0a8b63827e76c84a171cd4aff5ae3b2
3492ee4e8db4d61cd949c551752276902c053d7f
refs/heads/master
2023-05-25T16:28:33.000961
2022-02-10T20:48:12
2022-02-10T20:48:12
170,756,198
33
16
MIT
2023-05-23T03:18:35
2019-02-14T20:50:19
Python
UTF-8
Python
false
false
846
py
from .base import Base, etree, abc class Operation(Base): """Operation class inherits from the Base class and defines namespaces, headers, and body of EWS Operation SOAP request """ def get(self, exchange_version): self.__logger.info('Building SOAP request for {current}'.format(current=se...
[ "josh.rickard@swimlane.com" ]
josh.rickard@swimlane.com
ccdd1224d1df0052369c72219529bbf7d64e3dbd
aa1edded17cb18edaa95490fa8d8e34b4e59b858
/l10n_ma_legal/__manifest__.py
1fbdb0495ec86cef523555b3f950a8653cdcd492
[]
no_license
BADEP/addons
6babdf3bc586db111a27ff75eca659671a13004d
d05fe764cea96ddcc4d81a1fef2f7f31ebebd0fe
refs/heads/14.0
2023-08-04T02:11:54.811653
2023-01-24T09:53:58
2023-01-24T09:53:58
38,166,031
29
69
null
2022-10-13T17:51:08
2015-06-27T16:03:37
Python
UTF-8
Python
false
false
554
py
# -*- coding: utf-8 -*- { 'name': 'Legal fields for Moroccan companies', 'version': '14.0.1', 'category': 'Localization', 'description': """ Ajout RC, Patente, IF, CNSS & ICE à la fiche client. """, 'author': 'BADEP', 'website': 'https://badep.ma', 'depends': ['base_partner_company_...
[ "k.hazam@badep.ma" ]
k.hazam@badep.ma
5fa49fcf84067eb446931f20f9ebdd3402d2e09e
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2455/60638/297463.py
a7ee16b9f2967f84f3131353657570511c0f2037
[]
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
785
py
class node(): def __init__(self,id,val): self.id=id self.sons=[] self.res=val n=int(input()) nodes=[node(0,0)] val=[0] inpu=input().split(" ") for i in inpu: if i!='': val.append(int(i)) for i in range(1,n+1): nodes.append(node(i,val[i])) result=val.copy() for i in range(1,n)...
[ "1069583789@qq.com" ]
1069583789@qq.com
85495229767b72a3ece598a415ade618c5be0fa9
8f81de504adaddaf6c45f0c2198a06ac1a796636
/test/quantization/core/test_workflow_ops.py
3472fd7e09b4c028eb383aca32c8ecf59c930274
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
seemethere/pytorch
ac64f1410142eed319cd2c3d0876bb5748916487
b428096680b804dfd3336e80efb5d9e6661236c1
refs/heads/master
2023-03-18T04:19:35.604440
2022-01-11T20:01:12
2022-01-11T20:01:12
227,252,129
1
0
NOASSERTION
2019-12-11T01:47:36
2019-12-11T01:47:36
null
UTF-8
Python
false
false
58,785
py
# Owner(s): ["oncall: quantization"] import torch import math from typing import Tuple from torch.ao.quantization import ( FakeQuantize, MovingAverageMinMaxObserver, default_observer, default_affine_fixed_qparams_fake_quant, ) from torch.ao.quantization._learnable_fake_quantize import _LearnableFakeQu...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
eafe9466c6c59d9e96d99bf3f37fbb2e94370de1
caaf1b0754db1e676c37a6f1e58f19183754e654
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2022_08_03_preview/operations/_resolve_private_link_service_id_operations.py
e625636fe4bcbce0f9e339b51e69d04bb195c62b
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
rdomenzain/azure-sdk-for-python
45dfb39121a0abda048c22e7309733a56259f525
58984255aeb904346b6958c5ba742749a2cc7d1b
refs/heads/master
2023-07-07T06:53:12.967120
2023-07-04T16:27:37
2023-07-04T16:27:37
258,050,134
0
0
MIT
2020-04-23T00:12:14
2020-04-23T00:12:13
null
UTF-8
Python
false
false
10,748
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" ]
rdomenzain.noreply@github.com
e207bcef99c255690c44e74c0f6f5fe7810df212
d3218fbd0d388dde33b410a58f13db3910c9b2ad
/clase-3/funcion_act_1.py
edf8432fbdcef0087d46defde0d68666948cb9dd
[]
no_license
antocaroca/curso-python
cfa9256731925ef598d614a47fd4c0a4c83fa8e2
7b3d20709791b49cc184604eac30e6fb3616711d
refs/heads/master
2022-02-13T18:36:28.031952
2019-08-18T04:47:40
2019-08-18T04:47:40
197,999,575
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
notas={} archivosNotas = ("notasMatematicas.txt", "notasCalculo.txt") def leerNotas(nombreArchivo): archivo = open(nombreArchivo, "r") for linea in archivo: nombre, nota = linea.strip().split() if nombre not in notas: notas[nombre] = [] notas[nombre].append(int(nota)) ...
[ "antonella.caroca@cci-entel.cl" ]
antonella.caroca@cci-entel.cl
ee558b1b69b58f3d43cc347b1c272ef82a92ed50
0a40a0d63c8fce17f4a686e69073a4b18657b160
/test/util/bitcoin-util-test.py
e325979d71df5d5d2df2121e34820b922bd98fd6
[ "MIT" ]
permissive
MotoAcidic/Cerebellum
23f1b8bd4f2170c1ed930eafb3f2dfff07df1c24
6aec42007c5b59069048b27db5a8ea1a31ae4085
refs/heads/main
2023-05-13T06:31:23.481786
2021-06-09T15:28:28
2021-06-09T15:28:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,734
py
#!/usr/bin/env python3 # Copyright 2014 BitPay Inc. # Copyright 2016-2017 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 framework for cerebellum utils. Runs automatically during `make check`. ...
[ "travisfinch01@gmail.com" ]
travisfinch01@gmail.com
e30908a2a1aea6c96f938c5eb3aebb298057b6b2
d3919225e9a0af652eddd333cb5540ca065d6512
/dygiepp/dygie/training/ner_metrics.py
abfa518b714d6c35ff86c1c78e93ef135c67e37a
[ "Apache-2.0" ]
permissive
viswavi/SciREX
ed230bf16f142950b60fbe4cd0bd4a49be65bb16
8e4b402e95d438c92eeecee315d389903a963b8d
refs/heads/master
2023-05-19T08:38:16.709227
2021-05-24T15:50:30
2021-05-24T15:56:30
294,549,661
0
1
Apache-2.0
2021-06-09T16:30:06
2020-09-11T00:02:13
Python
UTF-8
Python
false
false
2,078
py
from overrides import overrides from typing import Optional import torch from allennlp.training.metrics.metric import Metric class NERMetrics(Metric): """ Computes precision, recall, and micro-averaged F1 from a list of predicted and gold labels. """ def __init__(self, number_of_classes: int, none_la...
[ "successar@gmail.com" ]
successar@gmail.com