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
a690d3e3c7eeede902404ea982afe32d49a6f713
2b7d422e78c188923158a2a0780a99eca960e746
/usr/lib/python2.7/dist-packages/mercurial/match.py
425798d0afc4652d7f9b71d6ed924ee8a177b6af
[ "Python-2.0" ]
permissive
sroberti/VREP-Sandbox
4fd6839cd85ac01aa0f2617b5d6e28440451b913
44f7d42494654357b6524aefeb79d7e30599c01d
refs/heads/master
2022-12-24T14:56:10.155484
2019-04-18T15:11:54
2019-04-18T15:11:54
180,481,713
0
1
null
2022-12-14T18:05:19
2019-04-10T02:00:14
C++
UTF-8
Python
false
false
34,493
py
# match.py - filename matching # # Copyright 2008, 2009 Matt Mackall <mpm@selenic.com> and others # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. from __future__ import absolute_import, print_function import copy import os impor...
[ "samuel.p.roberti@gmail.com" ]
samuel.p.roberti@gmail.com
f990494489bde1a8610d3c197a3d453e56275a20
b47c136e077f5100478338280495193a8ab81801
/Lights/adafruit-circuitpython-bundle-6.x-mpy-20210310/examples/fxas21002c_simpletest.py
03e33d75201c976b1b9d57b78db301d55e193ae0
[ "Apache-2.0" ]
permissive
IanSMoyes/SpiderPi
22cd8747cc389f674cc8d95f32b4d86f9b7b2d8e
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
refs/heads/master
2023-03-20T22:30:23.362137
2021-03-12T17:37:33
2021-03-12T17:37:33
339,555,949
16
2
null
null
null
null
UTF-8
Python
false
false
1,196
py
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT # Simple demo of the FXAS21002C gyroscope. # Will print the gyroscope values every second. import time import board import busio import adafruit_fxas21002c # Initialize I2C bus and device. i2c = busio.I2C(bo...
[ "ians.moyes@gmail.com" ]
ians.moyes@gmail.com
2543d81a8f1e8d62cca1d44ab2baf964f4eeb4e7
cd486d096d2c92751557f4a97a4ba81a9e6efebd
/16/addons/script.icechannel.extn.common/plugins/tvandmovies/g2g_mvs.py
63c69da9c356ca9af9df9f71a21c8688c0011255
[]
no_license
bopopescu/firestick-loader-kodi-data
2f8cb72b9da67854b64aa76f720bdad6d4112926
e4d7931d8f62c94f586786cd8580108b68d3aa40
refs/heads/master
2022-04-28T11:14:10.452251
2020-05-01T03:12:13
2020-05-01T03:12:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,459
py
''' g2g.cm # OdrtKapH2dNRpVHxhBtg Copyright (C) 2013 ''' from entertainment.plugnplay.interfaces import MovieSource #from entertainment.plugnplay.interfaces import CustomSettings from entertainment.plugnplay import Plugin from entertainment import common import os from entertainment.xgoogle.search import Go...
[ "esc0rtd3w@gmail.com" ]
esc0rtd3w@gmail.com
75e958e7d869c291cb288b7e42ace08e1c1f7532
7356a31baa4e7d42756fc44f46eeccc399d7f038
/electrumx/lib/coins.py
bcf7b4967ffc387a51e47411c599bafb8695c976
[ "MIT" ]
permissive
zcore-dev/electrumx-server-mue
06e7c4fc9277d1835e907f8150cc3027c964ae13
d082c70c629c8b5dd8f9a94762fd1f2300a8ba20
refs/heads/master
2020-08-21T22:37:49.474821
2019-10-04T19:55:05
2019-10-04T19:55:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
95,352
py
# Copyright (c) 2016-2017, Neil Booth # Copyright (c) 2017, the ElectrumX authors # # All rights reserved. # # The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without ...
[ "sotblad@monetaryunit.org" ]
sotblad@monetaryunit.org
35ee20b58a930dc5be88bf349a6be48e6d7f59ea
986769755b642932cbbf4b3f1022ff04980014cd
/WhatManager2/urls.py
911fedfad0903f35b437e5a36f7179c3b98c8ad7
[ "MIT" ]
permissive
jimrollenhagen/WhatManager2
47d4bba79dc9c80a1f91576b334235f419da3160
832b04396f23c19764557b7ccb6d563035d424ec
refs/heads/master
2020-12-28T22:46:02.411169
2014-09-02T02:53:44
2014-09-02T02:53:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
888
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns( '', url(r'^admin/', include(admin.site.urls)), url(r'^', include('home.urls')), url(r'^json/', include('what_json.urls')), url(r'^download/', include('download.urls')),...
[ "ivailo@karamanolev.com" ]
ivailo@karamanolev.com
7564e367b36c449b7e12686ed0ab34031b201f69
2b96be128373ddd61945bf8b34af832844867b20
/errormsg.py
5c4ab463a62c612c60074f07580c20d63b351711
[]
no_license
novaliu86/apparatus3-seq
330f7039ec1404cc3badfbd88a3f0a0e396e8421
3f7bae71e9844444f2b354fc3c5f5455ca67b2e4
refs/heads/master
2021-01-17T22:30:06.239255
2013-10-04T23:33:29
2013-10-04T23:33:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
from Tkinter import * import tkMessageBox def box(title,msg): window = Tk() window.wm_withdraw() tkMessageBox.showerror(title=title,message=msg, parent=window) if __name__ == "__main__": box("error","Error Mesagge") ##window = Tk() ##window.wm_withdraw() #print window.geometry() #message at ...
[ "pmd323@gmail.com" ]
pmd323@gmail.com
ef4c4c1f3068800382a2dbdbacfe2b987fe76892
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_156/505.py
22a5a74feb5b7fe6de6eacca91094c15de6f4929
[]
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
2,565
py
# ___ ______________________________________________ ___ # #|_/*| |*\_|# #|_/*| Google Code Jam - "Hello World" |*\_|# #|_/*| 10.04.2015 - the end |*\_|# #|_/*| Qualification |*\_|# #|_/*|___________________...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
c84bb7cc50aed8f41a750faecaf4c15d1962f258
554090526e41ab16f927e5fcb772e119923d6080
/three_charts.py
f43d1dbcd5b0ae57c779948590b52519a681fae4
[]
no_license
s2t2/charts-gallery-py
f95a151995b9b72ccc1e1823a6d3689a21d5489a
64abd69be3cd4fcbd7732eb1f4e0ac4f1715bae7
refs/heads/master
2020-04-21T05:58:24.546261
2019-02-06T21:20:08
2019-02-06T21:20:08
169,354,429
1
0
null
null
null
null
UTF-8
Python
false
false
1,452
py
# three_charts.py # # CHART 1 (PIE) # pie_data = [ {"company": "Company X", "market_share": 0.55}, {"company": "Company Y", "market_share": 0.30}, {"company": "Company Z", "market_share": 0.15} ] print("----------------") print("GENERATING PIE CHART...") print(pie_data) # TODO: create a pie chart based o...
[ "s2t2@users.noreply.github.com" ]
s2t2@users.noreply.github.com
b194d0f0623ac12adb20f646bd9719a895c6fa03
4292312541c9f13cb501be3ade936ff156e80fbe
/proso_models/api_test.py
d4f16107e4ddf2a2129437b51615a2a0a0822049
[ "MIT" ]
permissive
thanhtd91/proso-apps
995ce5a327a93a6c77ebbe21297c3c18bde92711
58c95ebb4da1207de8972237c383489575ce2a20
refs/heads/master
2022-09-23T05:03:51.276549
2020-03-19T22:02:12
2020-03-19T22:02:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,757
py
from django.conf import settings from django.core.management import call_command from proso.django.test import TestCase from proso_models.models import Item from proso_flashcards.models import Term, Flashcard, Category, Context import json class PracticeAPITest(TestCase): fixtures = [ 'test_common_data.y...
[ "jan.papousek@gmail.com" ]
jan.papousek@gmail.com
e398a0c0124acbf11bc286459c836a7fd9b5c0dd
62039bcca548f2b974d13e7ef17d78ba39cf8010
/tests/test_ncbi_entrez_annotations.py
692eeea55b1f89ca6b915c5827721165681c9d79
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
camiloaruiz/goatools
8d48ef34d13df15fcc738aba2dcbe67032cdf5e3
3da97251ccb6c5e90b616c3f625513f8aba5aa10
refs/heads/master
2020-03-20T07:40:22.899604
2018-08-07T19:59:34
2018-08-07T19:59:34
137,287,908
0
0
BSD-2-Clause
2018-06-14T00:56:11
2018-06-14T00:56:10
null
UTF-8
Python
false
false
3,653
py
"""Tests downloading and reading of the GO annotation file from NCBI Gene. python test_NCBI_Entrez_annotations.py """ __copyright__ = "Copyright (C) 2016-2018, DV Klopfenstein, H Tang. All rights reserved." __author__ = "DV Klopfenstein" import sys from collections import defaultdict from goatools.associatio...
[ "dvklopfenstein@users.noreply.github.com" ]
dvklopfenstein@users.noreply.github.com
a9b1343d26aab1a47f18de34c95953d66bfe7238
50e2012ecea8307e278d1132ca0094adb940aff2
/lib/review/my_sort/xuan_ze_sort.py
2d147534f7a757a5ad6e0191d111ab11785b0a36
[]
no_license
Lewescaiyong/my_library
6689cae2db4aaa980b4bd5ed9f21691eefbff2fe
35d0d29097823ccef74fa29ca8756a7f59ceeb78
refs/heads/master
2020-11-25T09:20:56.484275
2019-12-17T10:58:20
2019-12-17T10:58:20
228,593,219
1
0
null
null
null
null
UTF-8
Python
false
false
337
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import random a_list = range(30) random.shuffle(a_list) print a_list # 使用选择排序对列表进行排序 for i in range(len(a_list) - 1): for j in range(i + 1, len(a_list)): if a_list[i] > a_list[j]: a_list[i], a_list[j] = a_list[j], a_list[i] print a_list
[ "1351153527@qq.com" ]
1351153527@qq.com
d14de9dd1f4ecedfcd933de9d92811fb01d16fe3
35fd40fbc4cfa46272c4031b9ca0cb88572e3fa4
/xmonitor/common/scripts/utils.py
2d365bad42cc5429e98be796e44ca4910938b1aa
[ "Apache-2.0" ]
permissive
froyobin/xmonitor
3d662541387226a4ff1c18ef450fdc77a769d0b8
092dcaa01f834353ffd8dd3c40edf9e97543bfe8
refs/heads/master
2020-12-23T22:33:15.758127
2016-06-30T06:18:05
2016-06-30T06:18:05
62,284,213
0
0
null
null
null
null
UTF-8
Python
false
false
4,574
py
# Copyright 2014 OpenStack Foundation # 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 requ...
[ "froyo.bin@gmail.com" ]
froyo.bin@gmail.com
659ce6eedcc37d786b1fbb227a329de04172d815
7981914523b28c54576ce548ec4c326314a997cf
/setup.py
39858b2cb46006739ec3dd881ee76b1df57430a3
[]
no_license
geyang/tf_logger
83168499c0acb45890ef68ffce2528848e574ab2
e68f7d19e014d2d7878513c276802db4aa37d8d2
refs/heads/master
2021-09-12T13:13:25.920198
2018-04-17T04:35:40
2018-04-17T04:35:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
from os import path from setuptools import setup with open(path.join(path.abspath(path.dirname(__file__)), 'README'), encoding='utf-8') as f: long_description = f.read() with open(path.join(path.abspath(path.dirname(__file__)), 'VERSION'), encoding='utf-8') as f: version = f.read() setup(name="tf_logger", ...
[ "yangge1987@gmail.com" ]
yangge1987@gmail.com
ccae434857ea91044d3f302e99af40d91f834838
ec6cb8542c8ed962d24ca32fc1f060ef63fdfea7
/第一阶段/review_month01/month01/day10/demo03.py
4912dc1a0e7e42d288f7093cb349fbabc706c428
[]
no_license
singerdo/songers
27859a4ff704318d149b2aa6613add407d88bb5d
9c5dcd80c6772272c933b06c156b33058cbd3ce4
refs/heads/master
2022-04-16T11:00:11.002138
2020-04-18T07:15:16
2020-04-18T07:15:16
256,686,903
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
""" 实例成员: 对象.成员名 实例变量 对象.变量名 实例方法 对象.方法名称() """ # 全局变量 a = 10 def func01(): # 局部变量 b = 20 class MyClass: def __init__(self, c): # 实例变量 self.c = c def func02(self): pass mc01 = MyClass(30) print(mc01.c) print(mc01.__dict__)# 系统提供的...
[ "569593546@qq.com" ]
569593546@qq.com
202548ecc73466cb75e0fc08f83fc70b4de52c7f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_194/ch36_2019_04_04_17_41_44_521451.py
41f5c5173746f4ebf02bbff3c65de5db745362a3
[]
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
265
py
def eh_primo(n): primo = True divisor = 2 if n < 2: primo = False elif n == 2: primo = True else: while divisor < n: if n % divisor == 0: primo = False divisor += 1 return primo
[ "you@example.com" ]
you@example.com
268bb911d88b9c496bb99a9f29b74403225a2e3d
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/validators/scattercarpet/line/_width.py
ee5a9364a2f3fac047fec5cebbf518dc64a31c27
[ "MIT" ]
permissive
tytechortz/Denver_temperature
7f91e0ac649f9584147d59193568f6ec7efe3a77
9d9ea31cd7ec003e8431dcbb10a3320be272996d
refs/heads/master
2022-12-09T06:22:14.963463
2019-10-09T16:30:52
2019-10-09T16:30:52
170,581,559
1
0
MIT
2022-06-21T23:04:21
2019-02-13T21:22:53
Python
UTF-8
Python
false
false
544
py
import _plotly_utils.basevalidators class WidthValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name='width', parent_name='scattercarpet.line', **kwargs ): super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=par...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
49f358698f83b5d59960551bec1a1439c00161b0
614271299ef8145ad40d7ff197897b1a5d598bea
/slackchannel2pdf/settings.py
cb39f8fcfec46ca3eb9dc13659ec6ce215026ad4
[ "MIT" ]
permissive
17500mph/slackchannel2pdf
14498685cdb8d9ac4bdc586948560e8adbd1151a
2848dfaaffbf9a5255c6dbe87dcc1e90d062b820
refs/heads/master
2023-03-04T16:49:28.638394
2021-02-21T11:28:16
2021-02-21T11:28:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,832
py
"""Defines all global settings incl. from configuration files""" from ast import literal_eval import configparser from pathlib import Path _FILE_NAME_BASE = "slackchannel2pdf" _CONF_FILE_NAME = f"{_FILE_NAME_BASE}.ini" _LOG_FILE_NAME = f"{_FILE_NAME_BASE}.log" _DEFAULTS_PATH = Path(__file__).parent def _configpars...
[ "erik.kalkoken@gmail.com" ]
erik.kalkoken@gmail.com
7b74499dbf42c018aec13de219672e212ca40a5a
8c917dc4810e2dddf7d3902146280a67412c65ea
/v_11/masa_project/branches/common/budget_custom_report/wizard/budget_main.py
5ae0836ad9cdc04d75cfc1505aa9649e63578f1a
[]
no_license
musabahmed/baba
d0906e03c1bbd222d3950f521533f3874434b993
0b997095c260d58b026440967fea3a202bef7efb
refs/heads/master
2021-10-09T02:37:32.458269
2018-12-20T06:00:00
2018-12-20T06:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,678
py
# -*- coding: utf-8 -*- from odoo import models, fields, api , _ from datetime import date, datetime, timedelta from odoo.exceptions import UserError, ValidationError ####################################### Budget Custom Reports ################################################################## class BudgetReportM...
[ "bakry@exp-sa.com" ]
bakry@exp-sa.com
bd7dadc54b85e08c31e8ca417b8a7925d903e09a
5dc7dc7e33122e8c588eb6e13f23bf032c704d2e
/scripts/transfer_from_TEXT_to_SQLITE.py
d149f8918fe194ad0b74376c404e553546a1a822
[ "Apache-2.0" ]
permissive
brianr747/platform
a3319e84858345e357c1fa9a3916f92122775b30
84b1bd90fc2e35a51f32156a8d414757664b4b4f
refs/heads/master
2022-01-23T16:06:26.855556
2022-01-12T18:13:22
2022-01-12T18:13:22
184,085,670
3
2
null
null
null
null
UTF-8
Python
false
false
493
py
""" Script that transfers all series from the TEXT database to the SQLite database. Note: the TEXT database series to have the correct ticker_full as the column header. """ import econ_platform_core import econ_platform.start econ_platform_core.start_log() econ_platform_core.Databases['SQLITE'].LogSQL = True ticker...
[ "brianr747@gmail.com" ]
brianr747@gmail.com
b020c98bdd919c3fa176f6133cb896944293d497
61f9553eedc2ec936ea87f06da5b986091e3b8ff
/workspace/buildout-cache/eggs/z3c.form-3.0.2-py2.7.egg/z3c/form/tests/test_doc.py
f5a7184d64deb6152f01ed8826dfdc78c10e1f9a
[]
no_license
gruhter/gso
47880b055455cc99d63eec72498048c857e7831b
c0eb949f8a06aab6b97329d51a6d046e2fc0a653
refs/heads/master
2016-09-01T18:28:05.589620
2015-05-14T19:38:18
2015-05-14T19:38:18
35,579,298
0
0
null
null
null
null
UTF-8
Python
false
false
5,194
py
############################################################################## # # Copyright (c) 2007 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "gso@abv.bg" ]
gso@abv.bg
e07fd9c9d4cb47e3567dbc210bfade4565653d47
bed837cdf2cc0302b435c65f20140601c0b6ca71
/pandas/tests/series/test_constructors.py
c5783779c67c812362a015186edf330497658976
[ "BSD-3-Clause", "LicenseRef-scancode-other-permissive", "BSD-2-Clause" ]
permissive
gustavodemari/pandas
e670b99cc3de81c2c658dc60022128d6db0fc1c3
2ce897f99b82b756926806a35473e3db0f3f4822
refs/heads/master
2020-11-30T13:03:02.879501
2016-02-12T03:10:46
2016-02-12T03:10:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,248
py
# coding=utf-8 # pylint: disable-msg=E1101,W0612 from datetime import datetime, timedelta from numpy import nan import numpy as np import numpy.ma as ma import pandas as pd from pandas import Index, Series, isnull, date_range, period_range from pandas.core.index import MultiIndex from pandas.tseries.index import Tim...
[ "jeff@reback.net" ]
jeff@reback.net
68a763f7ac69f4b4787488d915ee751df8e07af7
a913d347c5a46fd7ff28415dfebe9b10829fdef9
/tests/test_puzzle.py
d6a4847a136bbbf2416b8eac474fb403a4a2fe16
[]
no_license
RZachLamberty/logicpuzzlesolver
6d9ba414e549b13396573ea0d875dae8f592c9b9
b8a93e5bda76bb8e3afc66ef902c42b06c532e8c
refs/heads/master
2021-01-10T16:11:38.742828
2015-12-30T19:42:20
2015-12-30T19:42:20
47,845,121
0
0
null
null
null
null
UTF-8
Python
false
false
1,486
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Module: test_puzzle.py Author: zlamberty Created: 2015-12-19 Description: test the puzzle class Usage: <usage> """ import os import pandas as pd import unittest import categories import rulelist import puzzle CONFIG = os.path.join( os.path.dirname(os...
[ "r.zach.lamberty@gmail.com" ]
r.zach.lamberty@gmail.com
dfc4e92940c3353a5ef279149b589cbbb49540bf
0958c33f05f5d3922c47cccadebc9e70394b8a78
/PowerClassification/ResultAnalysis-Test09/CompareTwoExperiments.py
50818376fc11311b1a9bfed095e101098bca4b6b
[]
no_license
jabarragann/eeg_project_gnaut_power_band_analysis
0b33a5ebdeffd37b64094ba01f8dbd94f9baf961
3f7a7183593eb54a63efcff3762fb2144a0af2df
refs/heads/master
2021-08-10T20:47:23.266562
2021-07-21T02:37:53
2021-07-21T02:37:53
245,556,675
1
0
null
null
null
null
UTF-8
Python
false
false
1,517
py
import pandas as pd from pathlib import Path import numpy as np import re import matplotlib.pyplot as plt import seaborn as sns # sns.set_theme(style="whitegrid") # experiment1Path = {"path":"aa16b_pyprep_complete/", "condition":"FullSet"} # experiment2Path = {"path":"aa16_pyprep_complete/" , "condition":"SubSet"} ...
[ "barragan@purdue.edu" ]
barragan@purdue.edu
0ef3cfd0055514e113ce24309ed7507310fba9f9
3dd2d572213cdddbc4e1a47656b344bada018b61
/server/code/game/mgr/tbox.py
30b8f796e4868668e70901a4bf0b2ca80dc4d7a1
[ "MIT" ]
permissive
hw233/twisted_zdzl
d7632dfd20ac6e8fcf7beecaeeda327de075359d
fb97923c503aa032b08774323cda2b2c603efe41
refs/heads/master
2020-03-19T09:48:13.108622
2016-05-05T06:51:34
2016-05-05T06:51:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,682
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import time from corelib import log, RLock from store.store import StoreObj, GameObj from game import BaseGameMgr, Game from game.base import common from game.base.msg_define import (MSG_START, MSG_TBOX_FPASS, MSG_TBOX_MPASS, MSG_TBOX_PASS, MSG_TBOX_MDIE) ...
[ "you@example.com" ]
you@example.com
b541fe78bc55ab89ff27e9be669b95806c47396b
b3c17f6b3b1c5322a5bf8dd262d01a85e6de2849
/web-api/customSite/ocr/custom_ocr_module/src/detection/ctpn/utils/rpn_msr/generate_anchors.py
8ac5cee0f28ee718219da4393b4a31c54e874f8f
[]
no_license
arxrean/CelebRecognition
6e65a76e984e54ef6a34e9b3dc44e0d19b79bcd6
b202c6ef8bd6314b9c43a02b5afdbad64522f5ee
refs/heads/master
2022-11-23T07:42:13.584305
2019-09-02T08:03:05
2019-09-02T08:03:05
204,247,279
1
1
null
null
null
null
UTF-8
Python
false
false
1,454
py
import numpy as np # 生成基础anchor box def generate_basic_anchors(sizes, base_size=16): base_anchor = np.array([0, 0, base_size - 1, base_size - 1], np.int32) anchors = np.zeros((len(sizes), 4), np.int32) # (10, 4) index = 0 for h, w in sizes: anchors[index] = scale_anchor(base_anchor, h,...
[ "602052254@qq.com" ]
602052254@qq.com
6d52867e4a517db70b6d40506b0c61cf314f3338
cf025ea3bf079748472557304a290593c753b884
/Algorithm/SWEA/시험문제/시험문제_2.py
46481ac0b5ea15cf3b3aaba6f2a5c020c00f7f52
[]
no_license
Silentsoul04/my_software_study
7dbb035ceea74f42c7ce2051b2320f6cae75ed88
c27d33c57f59fe5244a1041c11bbd826dd481546
refs/heads/master
2023-03-29T02:43:40.861045
2019-07-10T08:09:55
2019-07-10T08:09:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,662
py
import sys sys.stdin = open('test_2.txt','r') from itertools import combinations testcases = int(input()) for tc in range(testcases): N, M = list(map(int,input().split())) # N 은 행의크기, M 은 열의크기 mat = [list(map(int,input().split())) for _ in range(N)] max_ = 0 for s_ in range(1, N): s = s_ ...
[ "pok_winter@naver.com" ]
pok_winter@naver.com
bbb44934c8f2e091c86000447893dbfe722bdb59
29d0131660ab0392861df94d4a3198f963db233c
/scripts/delcomments.py
50a8f9a01cfd2a2dc639c3c6dd5c4a538a88a0b1
[ "MIT" ]
permissive
kalinochkind/vkbot
be7123d82063c6c0ce108e532b2798e1bde898e4
306a244cb15745057fd838cd7c3163f0b6754d4b
refs/heads/master
2020-04-04T06:24:16.429204
2019-05-13T16:49:31
2019-05-13T16:49:31
46,568,794
39
16
null
2015-11-21T19:45:13
2015-11-20T15:06:54
Python
UTF-8
Python
false
false
839
py
import logging import accounts import cppbot import log def isBad(bot, comm): return bot.interact('comm ' + bot.escape(comm)) == '$blacklisted' # noinspection PyUnusedLocal def main(a, args): a.timeout = 10 dm = a.delayed() bot = cppbot.CppBot('', 0, None) self_id = a.users.get()[0]['id'] ...
[ "kalinochkind@gmail.com" ]
kalinochkind@gmail.com
3db213af205e3d138da0facbb69dc6031244a12b
8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4
/pyobjc-framework-CoreData/PyObjCTest/test_nspersistentstorecoordinator.py
61d00ec508e6fe1d4afdd4ff5bebc35403d01347
[ "MIT" ]
permissive
strogo/pyobjc
ac4201c7742eb75348328eeecb7eedf4e3458de3
2579c5eaf44b0c5af77ee195c417d2c65e72dfda
refs/heads/master
2023-07-13T00:41:56.448005
2021-08-24T06:42:53
2021-08-24T06:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,326
py
import CoreData from PyObjCTools.TestSupport import TestCase, min_os_level class TestNSPersistentStoreCoordinator(TestCase): def testConstants(self): self.assertIsInstance(CoreData.NSSQLiteStoreType, str) self.assertIsInstance(CoreData.NSXMLStoreType, str) self.assertIsInstance(CoreData.NS...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
a24dd232f54e280a80ade479a457b4adf4a3472f
0effd6f590f0d6d17f080e4c41660df13ffa64a7
/commands/explain_document.py
24083bf2e441b972d713ec47253e5897d2c125f0
[]
no_license
vinodpanicker/sublime-elasticsearch-client
a6b2b5992979fa30d1b01cc98d962c657851ae1d
62b8894f2dbbc776569bc4c6ab0586f7c89dd8c7
refs/heads/master
2021-01-13T06:21:02.945999
2015-09-14T04:01:33
2015-09-14T04:01:33
48,857,093
1
0
null
2015-12-31T17:30:18
2015-12-31T17:30:18
null
UTF-8
Python
false
false
485
py
from .base import BaseCommand class ExplainDocumentCommand(BaseCommand): command_name = "elasticsearch:explain-document" def run_request(self, id=None): if not id: self.show_input_panel('Document Id: ', '', self.run) return options = dict( index=self.setti...
[ "kido@knowledge-works.co.jp" ]
kido@knowledge-works.co.jp
de613a6cd9d0c48a3facb4d8e463cfccd9f9b0d4
a9c3db07c29a46baf4f88afe555564ed0d8dbf2e
/src/0059-spiral-matrix-ii/spiral-matrix-ii.py
c7d45edc7205ebac9381b2f8b6de35e9d65e0110
[]
no_license
HLNN/leetcode
86d2f5b390be9edfceadd55f68d94c78bc8b7644
35010d67341e6038ae4ddffb4beba4a9dba05d2a
refs/heads/master
2023-03-13T16:44:58.901326
2023-03-03T00:01:05
2023-03-03T00:01:05
165,402,662
6
6
null
null
null
null
UTF-8
Python
false
false
801
py
# Given a positive integer n, generate an n x n matrix filled with elements from 1 to n2 in spiral order. # #   # Example 1: # # # Input: n = 3 # Output: [[1,2,3],[8,9,4],[7,6,5]] # # # Example 2: # # # Input: n = 1 # Output: [[1]] # # #   # Constraints: # # # 1 <= n <= 20 # # class Solution: def generateMatrix(...
[ "Huangln555@gmail.com" ]
Huangln555@gmail.com
4e4eabaf2b55526f75580bb1803ec0d48f306489
eb00755d9d0f2630ffdb21e3ab6685b2fbcb0d9e
/tests/bench/bench_scripts/bench_sum.py
7f7d72c9637914d79320c2cdc9f9ffae2db9ff9b
[ "BSD-3-Clause" ]
permissive
mlangill/biom-format
aca45518c71b807cf30b0f548ad726880802a2b5
4cebfbdba8b6b64ff0d503df33634e3d52de1de0
refs/heads/master
2021-01-16T21:59:51.218830
2013-12-04T16:41:50
2013-12-04T16:41:50
9,486,201
1
0
null
null
null
null
UTF-8
Python
false
false
218
py
#!/usr/bin/env python from sys import argv from gzip import open as gzip_open from biom.parse import parse_biom_table if __name__ == '__main__': table = parse_biom_table(gzip_open(argv[1])) foo = table.sum()
[ "mcdonadt@colorado.edu" ]
mcdonadt@colorado.edu
4f55e6834dceee351d0654d188cdf146462d96c7
f042383cbc9f10837ebdb5b9033a0263f6a43698
/python_modules/dagster/dagster/core/execution/execute_in_process_result.py
501d3a953acaebf4aa2a3e49f006830814226899
[ "Apache-2.0" ]
permissive
helloworld/dagster
664e6636d68bafa5151418c9d4316a565717f5ee
779e27faa3e46b7d043cb9624617e655a9ed570c
refs/heads/master
2022-03-24T12:15:36.626783
2022-02-26T01:34:29
2022-02-26T01:34:29
464,019,094
0
0
Apache-2.0
2022-03-05T20:23:14
2022-02-27T02:38:17
null
UTF-8
Python
false
false
9,132
py
from typing import Any, Dict, List, Optional, Union, cast from dagster import check from dagster.core.definitions import NodeDefinition, NodeHandle from dagster.core.definitions.events import AssetMaterialization, AssetObservation, Materialization from dagster.core.definitions.utils import DEFAULT_OUTPUT from dagster....
[ "noreply@github.com" ]
helloworld.noreply@github.com
1150b554ca225799561fdcf23ca5e95515d27372
61d08e23fbb62e16f7bd9d43673b1cf4e0558c37
/other/character.py
660ebb5286f5391e2ab709d75d3d45db874ddaae
[]
no_license
jonntd/mira
1a4b1f17a71cfefd20c96e0384af2d1fdff813e8
270f55ef5d4fecca7368887f489310f5e5094a92
refs/heads/master
2021-08-31T12:08:14.795480
2017-12-21T08:02:06
2017-12-21T08:02:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,280
py
import shutil import os import logging import maya.cmds as mc import xgenm as xgen import xgenm.xgGlobal as xgg from PySide2.QtWidgets import * tex_template = "M:/BA/publish/assets/Character/{asset_name}/Shd/Shd/_tex" publish_template = "M:/BA/publish/assets/Character/{asset_name}/Shd/Shd/_publish/maya/BA_{asset_name...
[ "276575758@qq.com" ]
276575758@qq.com
7187d46526272377f13ea5606ed70cafad22cc94
5095200e9ca55cd3a37af34ed44448c02e2a1bb5
/modules/image/object_detection/yolov3_darknet53_venus/yolo_head.py
cfe796c2edebedbff19f302b24533849ee09c2e3
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleHub
8712603ef486c45e83eb0bc5725b0b3ed3ddbbde
b402610a6f0b382a978e82473b541ea1fc6cf09a
refs/heads/develop
2023-07-24T06:03:13.172978
2023-03-28T11:49:55
2023-03-28T11:49:55
162,672,577
12,914
2,239
Apache-2.0
2023-07-06T21:38:19
2018-12-21T06:00:48
Python
UTF-8
Python
false
false
8,781
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from collections import OrderedDict from paddle import fluid from paddle.fluid.param_attr import ParamAttr from paddle.fluid.regularizer import L2Decay __all__ = ['MultiClassNMS', 'YOLOv3Head'] class MultiC...
[ "wuzewu@baidu.com" ]
wuzewu@baidu.com
ef8f97c0542c2a9778f59095320d840c7079067f
fced0a1451b458b5eb1af5851b75f1da9748a187
/.venv/bin/chardetect
5228ca95a09547c3d4e48d55eedb4327fe5554c2
[]
no_license
Osama-Yousef/Data-Analysis
d4e4ef5fe743803cac24c587ec9bf3f6a7fc6465
bc1f66f45054fa05141c8ec6132f004ca9144fb6
refs/heads/master
2022-12-12T08:24:43.239569
2020-09-05T12:33:08
2020-09-05T12:33:08
291,679,861
3
0
null
2020-09-05T12:33:09
2020-08-31T10:04:10
Python
UTF-8
Python
false
false
243
#!/home/osama/vg-stats/.venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "osamawalidyousef@gmail.com" ]
osamawalidyousef@gmail.com
f91de1717dfd7a91f697029607b32f03528f3f2f
c25fa1b8dd48b6dc4302f626f797d3411d1a991d
/bacon.py
1241c3cbecb8e47a2a61a1329ee2a36a132c67c1
[]
no_license
jasminh925/bacon
8a3c542828f93814b7212cb734e043336e53dbad
b3303ca1f82a27282c8109f79d093fa474cf033f
refs/heads/master
2020-05-30T23:23:17.420030
2016-08-03T04:21:07
2016-08-03T04:21:07
64,814,631
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
def bacon(): pork = raw_input("Should you eat that bacon?") angels = raw_input("Do you want to feel like angels are frolicking on your taste buds?").lower() if angels == "yes": return "Eat it!" elif angels == "no": print "You've clearly never tasted bacon." return "Eat it" else: coward = raw_input("I see y...
[ "you@example.com" ]
you@example.com
2117b97c99737ddfd126db5b1411d0278a6cc213
c69e2eb04c5bff10dd1ec214e6dbe3917a156cef
/test-pandas.py
bb34c9838161b66dd3dba21b7fab57e056ad5d9f
[]
no_license
Jizishuo/daily_code
c865bb1df063dd2cfd9c0e8ab9f64bc9f33ef5c2
cc9b7423bfc7e4a990c3554d91613ee9144ed9e2
refs/heads/master
2021-08-10T20:04:42.541355
2020-04-11T05:59:26
2020-04-11T05:59:26
154,241,659
0
0
null
null
null
null
UTF-8
Python
false
false
1,701
py
import pandas as pd #VIDEO_INFO_PATH = 'F:\\test-data-ex\\0729(0-12).csv' VIDEO_INFO_PATH = 'F:\\0729-history-alarm.csv' # Series & DataFrame是Pandas中最常用的两个对象 # Series if __name__ == '__main__': #video_info = pd.read_csv(VIDEO_INFO_PATH, encoding='ISO-8859-1') video_info = pd.read_csv(VIDEO_INFO_PAT...
[ "948369894@qq.com" ]
948369894@qq.com
9df72bb5dd9d18de36606776a1ca5a76d0e7c0b1
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_076/ch141_2020_04_01_20_36_34_858929.py
9a70d3a247b9894c9efe74e20b17d5431601ec88
[]
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
1,504
py
import random dinheiros = 1000 a=input("Jogo iniciado. Você quer apostar?") while a != "não": dinheiros -= 30 dado1 = random.randint(1,6) dado2 = random.randint(1,6) b= input("Os dados foram lançados. Chute o valor da soma por 30 dinheiros.") if b == dado1 + dado2: dinheiros += 50 ...
[ "you@example.com" ]
you@example.com
42684450fa04e067ffbbf06157502666d0a88556
ea6267b0a3508fd262acdefa51e5ad0f8f2a0563
/src/commcare_cloud/environment/constants.py
e5126c33b55b4d8e78fb02d8aa392eaa39ae8c28
[ "BSD-3-Clause" ]
permissive
rohit-dimagi/commcare-cloud
a606bc269f36be594d38ba6ff516411d63f37aad
55576713f3a12acc3f2df4f24c405df9c30143b3
refs/heads/master
2020-06-15T16:08:46.350848
2019-07-17T07:34:41
2019-07-17T12:05:13
195,337,852
0
0
BSD-3-Clause
2019-07-05T04:17:48
2019-07-05T04:17:48
null
UTF-8
Python
false
false
479
py
import jsonobject class _Constants(jsonobject.JsonObject): commcarehq_main_db_name = jsonobject.StringProperty(default='commcarehq') formplayer_db_name = jsonobject.StringProperty(default='formplayer') ucr_db_name = jsonobject.StringProperty(default='commcarehq_ucr') synclogs_db_name = jsonobject.Stri...
[ "droberts@dimagi.com" ]
droberts@dimagi.com
31c86fbea013718e4e447491328b433b47f69512
9bd861d47402c81f9cc608dc414c9827baa88dd5
/_estudoPython_solid/string_lista.py
74ef590ab5c66d20b8d082b79f770e764908f505
[ "Apache-2.0" ]
permissive
c4rl0sFr3it4s/Python_Analise_De_Dados
8d4cf637573a5610489a2bd44e2a34c749456e73
74a72772179f45684f4f12acd4ad607c99ed8107
refs/heads/master
2023-02-02T21:13:16.150017
2020-08-03T17:52:19
2020-08-03T17:52:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,428
py
''' string grupo de caracteres, trata a frase como uma LISTA de caracteres. para imprimir a primeira letra frase[0] lista é assim 1 caractere 0, 2 caractere 1, 3 caractere 2 etc [0,1,2,3,4,5,6,7,8,9,10] -> indice O,i, ,t,u,d,o, ,b,e,m LISTA é uma estrutura de dados coleção que pode guardar varios tipos de dados...
[ "ti.carlosfreitas@outlook.com" ]
ti.carlosfreitas@outlook.com
42e71d3412b993c5e8075303e52189bb54e275a6
26cadb387da6dc71f5536b9d74ad44b7b974d26d
/launch/test/launch/actions/test_include_launch_description.py
469e71475c914e2d65be6fed1f360e96f554be9c
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
ros2/launch
84971e86f6131976bdfaf872fca12f1a6a377cd6
f2b232555900d62c3cec839a49afd4cdc01cda58
refs/heads/rolling
2023-08-24T14:33:18.237122
2023-08-23T17:12:30
2023-08-23T17:12:30
32,485,326
116
139
Apache-2.0
2023-09-14T12:07:30
2015-03-18T21:27:58
Python
UTF-8
Python
false
false
10,122
py
# Copyright 2018 Open Source Robotics Foundation, 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...
[ "noreply@github.com" ]
ros2.noreply@github.com
52141d7e15eb082e5473257ada7c24392d5df779
e85e846960750dd498431ac8412d9967646ff98d
/cms/migrations/0024_auto_20170702_0605.py
66f85c2b82850a5caef978b4485dd70afb174bf6
[]
no_license
onosaburo/clublink_django
19368b4a59b3aed3632883ceffe3326bfc7a61a6
d2f6024b6224ea7f47595481b3382b8d0670584f
refs/heads/master
2022-03-30T05:30:12.288354
2020-01-27T18:09:11
2020-01-27T18:09:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,620
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-07-02 10:05 from __future__ import unicode_literals from django.db import migrations, models def generate_full_path_recursive(page): page.full_path = page.parent.full_path if page.parent else '' if page.slug: page.full_path += '{}/'.format(...
[ "bestwork888@outlook.com" ]
bestwork888@outlook.com
a9f88520d671011631489d87cf5c6144898c4ccd
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/googlecloudsdk/core/console/console_attr.py
0fbf7194add57d89609f648025dde6094ed3181d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
22,745
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
11726609336d3f6cd333ea5b5aa5ab7fa4187742
66d05b6b42245e4df51a80b593770f761812eb92
/PYTHON/python_code/object-oriented/turkeys/turkeys.py
602ea90fa89e3bf24fa78291613fcf9f05ce608d
[]
no_license
techemstudios/intro_cs
8f32b8b40974c49c65255df8f8e3a835df218df3
dd2ee57394ab04e86b6d78b70a038ba0f04f661f
refs/heads/master
2021-10-19T13:04:28.354963
2019-02-21T05:28:10
2019-02-21T05:28:10
119,568,375
0
1
null
null
null
null
UTF-8
Python
false
false
1,421
py
""" Object Oriented Programming (Thanksgiving Giving style) We start defining classes with Animals. We can define that parent of the class, Animals, as well as the parent of that class. However, to save time we start at Animals. Starting here; instead of directly at the turkey class, should help keep in mind we can d...
[ "joe@techemstudios.com" ]
joe@techemstudios.com
46867e9e4e92fddc64d6f93273ad2155bae22037
efe58c533fb211d457c598fb1fdabbaf1f284a09
/asdf.py
2e2d3210c9c44d407d87329799d571a09a56d8ce
[]
no_license
uniphil/beep-beep-edge
91d59fb04649a72717ca4afa4cc50d5d6bb4c3e8
94c11bae2527edb037cca6a1cec912e53b7a242a
refs/heads/main
2023-01-13T16:25:23.939980
2020-11-15T07:33:56
2020-11-15T07:33:56
312,756,324
0
0
null
null
null
null
UTF-8
Python
false
false
1,519
py
#!/usr/bin/env python3 import hashlib import json import re import struct import urllib.request def unwrap_syslog(line): _, rest = line.split(']: ', 1) return rest def parse_httpd_log(line): m = re.match(r'^\w+ (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) \-.*\- \[.*\] "GET (.*) HTTP/1\.[01]" 200 0 "(.*?)" "(.*...
[ "uniphil@gmail.com" ]
uniphil@gmail.com
752f484dc8427e86fe36a0e5d5f6301b62be3e66
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/collective/fleet/hybrid_parallel_mp_random.py
f779b3298b8dcadbbf7d846adafe260e6bb99497
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
2,235
py
# Copyright (c) 2021 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" ]
Qengineering.noreply@github.com
8835836e75417a9af60bebd2cad24160cdc3265b
df2d967d02f004e46d44bfcd3cc8cdbf1ae54c9d
/tests/test_core/test_factory.py
f6fcce00563512aeb5481e7805c0669307edf8ad
[ "MIT", "CC-BY-4.0" ]
permissive
skasberger/owat_api
f3df29cb1466753390f72c2b4603a7c48d1a4e8f
d40860eeef0de151d51200161baaf10c55810fb1
refs/heads/master
2023-01-24T11:01:05.223602
2020-11-14T11:26:57
2020-11-14T11:26:57
310,701,528
1
0
null
null
null
null
UTF-8
Python
false
false
6,387
py
# !/usr/bin/env python # -*- coding: utf-8 -*- """Test factory.""" from fastapi import FastAPI import os import pytest from app.config import get_config from app.database import get_engine, get_SessionLocal from app.main import create_app BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(__f...
[ "mail@stefankasberger.at" ]
mail@stefankasberger.at
0156df3dfcfc720906440e213664f5d8e437dfc7
81bad22641705683c68ff89f19362ba202891652
/napari/utils/progress.py
2f4dfaa2388ece8d1656f3c87ede44c8642dce93
[ "BSD-3-Clause" ]
permissive
sofroniewn/napari
ee2a39a1a1132910db6f2a47994671e8138edb51
beaa98efe5cf04ba659086e7a514b2ade05277af
refs/heads/main
2023-07-12T02:46:41.185932
2022-09-14T21:57:15
2022-09-14T21:57:15
154,751,137
2
3
BSD-3-Clause
2023-07-01T10:26:45
2018-10-25T23:43:01
Python
UTF-8
Python
false
false
4,659
py
from typing import Iterable, Optional from tqdm import tqdm from napari.utils.events.event import EmitterGroup, Event from ..utils.events.containers import EventedSet from ..utils.translations import trans class progress(tqdm): """This class inherits from tqdm and provides an interface for progress bars in...
[ "noreply@github.com" ]
sofroniewn.noreply@github.com
637ec3627eafc1ba47fb3086852feafdb3e907d7
4d9a9546a5dc0b550aede272c4ba85af88dbb673
/env/lib/python3.8/site-packages/retro/contrib/localfiles.py
caded7f9b85b400d368e60a8b7cd1a406b9e0d1f
[]
no_license
LuisGonzalezLopez/Luis-Gonzalez
f4064dc08ccbada80cc7b45f8fbaaf70f54f420c
109f50e2e26a1c4abed5ba502deda9e212955c69
refs/heads/master
2022-08-04T14:24:42.992548
2022-07-23T09:03:08
2022-07-23T09:03:08
103,600,719
0
0
null
null
null
null
UTF-8
Python
false
false
22,225
py
#!/usr/bin/env python # ----------------------------------------------------------------------------- # Project : Retro - HTTP Toolkit # ----------------------------------------------------------------------------- # Author : Sebastien Pierre <sebastien@ffctn.com> # License : Revised B...
[ "luxo237@gmail.com" ]
luxo237@gmail.com
67d8b4ed1dfaee1604a007b001cd7abea8c31b5c
1d61bf0b287533c9eb89bf71e217ead8cffb7811
/echo.py
050b6333a8aa630e713d3421b7fb828098943c04
[]
no_license
chukotka12/PP4E-GitHub
2f6bf5e431a211beb9e1b6aa56b495770f07e6e4
c9347ffa20f598b8c469082788a964549cd5df2b
refs/heads/master
2020-05-30T04:43:30.570872
2019-09-10T14:33:14
2019-09-10T14:33:14
189,545,845
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
import sys print(sys.version) input('Нажмите Enter')
[ "chukreev.g@gmail.com" ]
chukreev.g@gmail.com
fa9e74de9960aafc87cf37002938ddea36129615
f7b3c8f6c10a742c742ca21184f797f0ad737408
/svn2git.py
b172a8a5d083d46fd3735a02aa1a7d7abca7f490
[]
no_license
mcdonc/svn2git
88488a415c8e0a514a0cc42d7dd4bf5d9ea9504b
f37b624e3b25746ae61fab07045cdb728f84828c
refs/heads/master
2020-04-20T15:52:18.217285
2011-08-18T18:21:10
2011-08-18T18:21:10
1,415,728
1
1
null
null
null
null
UTF-8
Python
false
false
2,108
py
# usage: # # python2.7 svn2git.py \ # http://svn.repoze.org/repoze.catalog \ # git@github.com:repoze/repoze.catalog.git \ # branch1 \ # branch2 # # (branch specs are optional, otherwise only trunk and tags are imported) # # users.txt should be in /tmp/users.txt # # requires pytho...
[ "chrism@plope.com" ]
chrism@plope.com
cdd207946758af304736b74d5fb083e7c096090c
5c099927aedc6fdbc515f40ff543c65b3bf4ec67
/algorithms/combination-sum-iii/src/Solution.py
0a4d6205ea8f236eb6dd457b917b0509fb19bddc
[]
no_license
bingzhong-project/leetcode
7a99cb6af1adfbd9bb1996a7f66a65679053c478
ba82e7d94840b3fec272e4c5f82e3a2cfe4b0505
refs/heads/master
2020-04-15T09:27:33.979519
2020-03-10T03:43:07
2020-03-10T03:43:07
164,550,933
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
class Solution: def combinationSum3(self, k, n): """ :type k: int :type n: int :rtype: List[List[int]] """ def dfs(target, k, start, paths, res): if k == 0: if target == 0: res.append(paths) return ...
[ "zhongyongbin@foxmail.com" ]
zhongyongbin@foxmail.com
5ee023b391e258a9e5fa78d3a05981119497a72a
33e4aaa1a31363336db230eba9a4a65cebc49491
/train-d1.py
47f04edee3bcf07f7ad16143c5b6d0a23967c4b5
[ "BSD-3-Clause" ]
permissive
chonlei/neural-ode-ion-channels
06ecb6d72b90704a8d6171573d7b067a28ec8595
10235c162a5e569ab0b3e48c933bf46359319afb
refs/heads/main
2023-04-12T01:27:50.049286
2021-08-04T06:21:44
2021-08-04T06:21:44
360,855,175
4
2
BSD-3-Clause
2021-07-07T10:09:43
2021-04-23T11:02:55
Python
UTF-8
Python
false
false
36,892
py
import sys import os import argparse import time import numpy as np from scipy.interpolate import interp1d from scipy.interpolate import UnivariateSpline import matplotlib #matplotlib.use('Agg') import matplotlib.pyplot as plt from smoothing import smooth import torch import torch.nn as nn import torch.optim as opti...
[ "chonloklei@gmail.com" ]
chonloklei@gmail.com
8765c2225d5837e8d7fd36b6dc4044e605ab5686
039a274d8a8bfbfb90b3c884024edf8c18507150
/examples/logisticRegression.py
3fecc9725f6e1545a2e1b879c0744400da271f67
[ "MIT" ]
permissive
JayceeLee/TheanoProject
1e33ae2a58a188cfce6c5bcbd8a2f6f9fbd36a0d
be1f5f09aa84d64ad3df7b798cf6ff74a08bf3b7
refs/heads/master
2021-05-11T09:12:50.278105
2017-04-09T08:55:03
2017-04-09T08:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,248
py
#! /usr/bin/python3 # -*- encoding: utf-8 -*- from __future__ import print_function, unicode_literals import numpy as np import theano import theano.tensor as T __author__ = 'fyabc' RNG = np.random def main(): N = 400 # training sample size feats = 784 # number of input variables # genera...
[ "fyabc@mail.ustc.edu.cn" ]
fyabc@mail.ustc.edu.cn
f3edbdc52fa052152bcf4d6e714ac29123c16186
2eb8e3606a8df45d432fdf56ee9aa24942304526
/rocketgram/api/inline_query.py
cc10fabfbdd6a9c87cdb80a8c3c80a24aeaecdd4
[ "MIT" ]
permissive
KulZlaK/rocketgram
22848293980ba44dd9fb63db28f34be36c437c84
09587deecffcd7ccc9529f4d9e51221888870f23
refs/heads/master
2022-07-27T23:25:51.254444
2020-05-15T21:36:57
2020-05-15T21:36:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
871
py
# Copyright (C) 2015-2020 by Vd. # This file is part of Rocketgram, the modern Telegram bot framework. # Rocketgram is released under the MIT License (see LICENSE). from dataclasses import dataclass from typing import Optional from .location import Location from .user import User @dataclass(frozen=True) class Inli...
[ "vd@" ]
vd@
17abd873c71413e3e69a0166b662cadde12a971d
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Tensorflow_OpenCV_Nightly/source/tensorflow/contrib/crf/__init__.py
80a31cc3341a2c7cf1867eef2ef3e463a325667f
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
1,633
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...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
b16e2983b29295ca79df7a58ce01944eb1bc078d
3879d1ca43c573c209f962182cd1e7f7fe978fbf
/leetcode/207. Course Schedule/207.py
38345c4258f98161245c91f343273e5b8b1ee969
[]
no_license
DoctorLai/ACM
34a5600a5adf22660c5d81b2d8b7a358be537ecf
aefa170f74c55c1230eb6f352770512b1e3f469e
refs/heads/master
2023-09-01T02:13:01.604508
2023-08-31T15:42:07
2023-08-31T15:42:07
146,173,024
62
18
null
2020-10-11T13:19:57
2018-08-26T11:00:36
C++
UTF-8
Python
false
false
979
py
# https://helloacm.com/teaching-kids-programming-topological-sort-algorithm-on-directed-graphs-course-schedule-bfs/ # https://leetcode.com/problems/course-schedule/ # MEDIUM, TOPOLOGICAL SORT, GRAPH class Node(object): def __init__(self): self.inDegrees = 0 self.outNodes = [] class Solution(object...
[ "noreply@github.com" ]
DoctorLai.noreply@github.com
963ad59463139f848c367bf564d5b5d04be6a85a
d802cb112c080f99fc800effe23b2a7ca55a694b
/tests/test_updater.py
d3e372ada57fb325e58edc6929cffb630c5c5bbd
[ "Apache-2.0" ]
permissive
zjj2wry/dvc
211ce55c00856abc7d08408c79b93b47cff538a8
c9df567938eefd7b1f5b094c15f04e5ce704aa36
refs/heads/master
2020-04-17T20:34:00.368060
2019-01-21T22:19:15
2019-01-21T22:19:15
166,911,251
0
0
Apache-2.0
2019-01-22T02:13:23
2019-01-22T02:13:23
null
UTF-8
Python
false
false
1,148
py
import os from tests.basic_env import TestDvc class TestUpdater(TestDvc): def test(self): # NOTE: only test on travis CRON to avoid generating too much logs travis = os.getenv('TRAVIS') == 'true' if not travis: return cron = os.getenv('TRAVIS_EVENT_TYPE') == 'cron' ...
[ "kupruser@gmail.com" ]
kupruser@gmail.com
c6a662e4deb03a754003a41447bcac49368a9cfa
a9243f735f6bb113b18aa939898a97725c358a6d
/0.11/_downloads/rt_feedback_server.py
292a32b002948df77bf8eebf9e06156a38d1071c
[]
permissive
massich/mne-tools.github.io
9eaf5edccb4c35831400b03278bb8c2321774ef2
95650593ba0eca4ff8257ebcbdf05731038d8d4e
refs/heads/master
2020-04-07T08:55:46.850530
2019-09-24T12:26:02
2019-09-24T12:26:02
158,233,630
0
0
BSD-3-Clause
2018-11-19T14:06:16
2018-11-19T14:06:16
null
UTF-8
Python
false
false
4,945
py
""" ============================================== Real-time feedback for decoding :: Server Side ============================================== This example demonstrates how to setup a real-time feedback mechanism using StimServer and StimClient. The idea here is to display future stimuli for the class which is pred...
[ "larson.eric.d@gmail.com" ]
larson.eric.d@gmail.com
666ee0df3d1d96fec23aa854fea18f2dd8e1f81e
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/unearth.py
5d8150eeae2ec61b3ceceec28bbd2a0fcf23b71c
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
64
py
ii = [('CoolWHM2.py', 1), ('CarlTFR.py', 1), ('AinsWRR3.py', 2)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
2ce249532f1a3348bba6d0f7f78e80def67cb3a9
a39adde99c75c2bf9b25b59fb0d6769196e74a63
/datasets/hscic/load.py
ae0c205010a46e9d2e59aa6ad24fd23ad88fdd39
[ "MIT" ]
permissive
uk-gov-mirror/nhsengland.publish-o-matic
51624d52df562089f7acf4ac91aabcb37ac6d63b
dc8f16cb83a2360989afa44d887e63b5cde6af29
refs/heads/master
2021-06-09T06:17:50.473307
2016-08-18T10:29:50
2016-08-18T10:29:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,016
py
""" Publish HSCIC Indicators to CKAN ! """ import logging import sys import ffs import slugify import dc from publish.lib.metadata import get_resource_path from publish.lib.helpers import download_file, to_markdown, filename_for_resource from publish.lib.upload import Uploader from datasets.hscic.curate import Curato...
[ "ross@servercode.co.uk" ]
ross@servercode.co.uk
d25bc04e3fb0cd7456802691f219db394d38c4f8
8600ea155f279e5a8dfe5a1926038511f6b6a7ea
/l10n_chart_uk_minimal/__terp__.py
b4881867bb86055b6eb6e5cb179dee319e413791
[]
no_license
MarkNorgate/addons-EAD
c2fff89ab16fce3ba19fbe433ee5863705a6f4e5
840f28642b5d328e4b86839c413e5164622295a5
refs/heads/master
2020-04-23T22:11:00.164438
2015-07-22T12:24:53
2015-07-22T12:24:53
39,501,011
0
0
null
null
null
null
UTF-8
Python
false
false
3,690
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify # ...
[ "mark.norgate@affinity-digital.com" ]
mark.norgate@affinity-digital.com
b77b296b642288c01694999600780b625adcc2da
7ab22a9b23502f6cf3dafa02ac68067f7aacca56
/test/test1.py
2b7029a6553abd58dff1dee5efe0ddcef5609e88
[]
no_license
to2bage/flask_first
62ba6e40f0df7b46cd3f9bff91a8a0a1d41df9be
098f1d81f516c7d369375cf9c48ec8bb6efa3a80
refs/heads/master
2022-11-22T01:29:53.526222
2020-07-24T06:51:50
2020-07-24T06:51:50
281,608,004
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
# webserver的概念 java php nginx apache tomcat iis # app.run()使用的是单进程, 单线程处理请求 #Local: 使用字典的方式实现的线程隔离 #LocalStack: 封装了Local, 实现了线程隔离的栈 """ from werkzeug.local import Local from threading import Thread import time my_obj = Local() my_obj.b = 1 def worker(): my_obj.b = 2 print("in new thread b is ", my_obj.b) ...
[ "to2bage@hotmail.com" ]
to2bage@hotmail.com
130cb2f1bd3d8c3aa0903d0a6039d875dae49c00
6f1e1c378997bf76942ce6e203e720035169ce27
/sort/8-counting-sort.py
731b1a6a22acd113ba2c815055e3f06458f47a35
[ "MIT" ]
permissive
yuenliou/leetcode
a489b0986b70b55f29d06c2fd7545294ba6e7ee5
e8a1c6cae6547cbcb6e8494be6df685f3e7c837c
refs/heads/main
2021-06-16T07:47:39.103445
2021-05-11T09:16:15
2021-05-11T09:16:15
306,536,421
0
0
null
null
null
null
UTF-8
Python
false
false
3,374
py
#!/usr/local/bin/python3.7 # -*- coding: utf-8 -*- def countingSort(arr): """ 工作原理:其核心在于将输入的数据值转化为键存储在额外开辟的数组空间中 编码要素:计数排序要求输入的数据必须是有确定范围的整数 """ #序列比较集中,如果过大:基于0的偏移量 #将数组长度定为max-min+1,即不仅要找出最大值,还要找出最小值,根据两者的差来确定计数数组的长度。 bucket = [0 for _ in range(max(arr) + 1)] for i, val in enumerate(...
[ "liuyuan@aplum.com.cn" ]
liuyuan@aplum.com.cn
77cff2f761a99cf575ecfad3c9e538e645e7170c
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc015/A/4914540.py
7002dd19a3489ebd9a6ae397cf9213d12fc3e0da
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
74
py
a = input() b = input() if len(a)>len(b): print(a) else: print(b)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
390a467424adb2bcd0c7434b36bd29a5310d3333
a3855396e382ec8e5be2bd54d9864feda584546b
/20 Flask REST API with Threadding Run task in background.py
95633da11872e90ea1ba2763b883145d836b907f
[]
no_license
raj713335/REST_API_VIA_FLASK
6930862c7c993222f876de475f08257acb2dbfec
0b6fca7bbfbb7571e468a3b292d9bbe0d79cc6fa
refs/heads/master
2022-12-31T08:15:58.769835
2020-10-26T00:05:10
2020-10-26T00:05:10
306,668,254
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
from flask import Flask from flask_restful import Resource,Api import time import threading app=Flask(__name__) api=Api(app) def task(): print("Started Task...") print(threading.current_thread().name) time.sleep(6) print("completed ...") class HelloWorld(Resource): def get(self): thread...
[ "raj713335@gmail.com" ]
raj713335@gmail.com
6ab5f1183af1a2d2c4981ad8344956be938f629a
58654f5f9f01813da08ecb4f151e7dae32f18cad
/quant_mech/src/test/hierarchy_solver_steady_state_test.py
45604b0638fe003db261f3defb9eb367f1e40e6b
[]
no_license
rstones/quant_mech
57c2f106adfe6fcd1880ab3c50d6f68012963beb
4dc8f59d66e131cca0cc896638f548d9fcae66e4
refs/heads/master
2021-01-19T02:58:24.027297
2018-11-26T11:15:04
2018-11-26T11:15:04
11,790,263
1
1
null
null
null
null
UTF-8
Python
false
false
2,251
py
''' Created on 15 Mar 2017 @author: richard ''' import numpy as np import quant_mech.utils as utils from quant_mech.OBOscillator import OBOscillator from quant_mech.UBOscillator import UBOscillator from quant_mech.hierarchy_solver import HierarchySolver import scipy as sp print sp.__version__ '''Ishizaki and Fleming...
[ "r.stones@ucl.ac.uk" ]
r.stones@ucl.ac.uk
41f450bc4cbe94baee0ef10c1f5414f0977a3a3f
13e93cd07fb45f9fd3bc2a1de78d6d7d4a8f8d25
/backend/theloungeconsole_28185/settings.py
8a505b7264581a8cc9636fc340d22846b95ad478
[]
no_license
crowdbotics-apps/theloungeconsole-28185
fb8a246c44d781101fa924e77a83dc5cf6f541f0
57c9122f1865abdcb00fbe91a02598c599575c61
refs/heads/master
2023-05-30T04:29:22.662494
2021-06-23T11:01:55
2021-06-23T11:01:55
379,573,015
0
0
null
null
null
null
UTF-8
Python
false
false
7,132
py
""" Django settings for theloungeconsole_28185 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ ""...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
78959be17fec88148aeb921aa8831dc39485443f
bc01e1d158e7d8f28451a7e108afb8ec4cb7d5d4
/sage/src/sage/coding/relative_finite_field_extension.py
6f41b576424e37a01cdfaae14a67728872cd0543
[]
no_license
bopopescu/geosci
28792bda1ec1f06e23ba8dcb313769b98f793dad
0d9eacbf74e2acffefde93e39f8bcbec745cdaba
refs/heads/master
2021-09-22T17:47:20.194233
2018-09-12T22:19:36
2018-09-12T22:19:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,150
py
r""" Management of relative finite field extensions Considering a *absolute field* `F_{q^m}` and a *relative_field* `F_q`, with `q = p^s`, `p` being a prime and `s, m` being integers, this file contains a class to take care of the representation of `F_{q^m}`-elements as `F_q`-elements. .. WARNING:: As this code ...
[ "valber@HPC" ]
valber@HPC
1b52a8c073aa7b1299327b714f40bfab360ae620
ca850269e513b74fce76847310bed143f95b1d10
/build/navigation/map_server/catkin_generated/pkg.develspace.context.pc.py
d70657140fd79ea2f8707d898a32909e8b49fded
[]
no_license
dvij542/RISS-2level-pathplanning-control
f98f2c83f70c2894d3c248630159ea86df8b08eb
18390c5ab967e8649b9dc83681e9090a37f3d018
refs/heads/main
2023-06-15T03:58:25.293401
2021-06-20T20:20:30
2021-06-20T20:20:30
368,553,169
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/dvij5420/catkin_ws/src/navigation/map_server/include".split(';') if "/home/dvij5420/catkin_ws/src/navigation/map_server/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;nav_msgs;tf2".repla...
[ "dvij.kalaria@gmail.com" ]
dvij.kalaria@gmail.com
b97f9e2e6819731ed2e72f322fe82fc21b408239
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_20/models/support_response.py
6615baa58a213837986445ba7e3bc77ac6e1937e
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,781
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.20 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
64c34be0d4ccbc654dd237df3cfbb2fa81f69dee
b366e1e6e5c121465c569d2ea630eea0bd61818b
/applications/agro/languages/pt-br.py
874dc38cd74da2da6b7cdd3729dacfea18dc833e
[ "LicenseRef-scancode-public-domain" ]
permissive
rif/agro
a5cc00c3363b0d45d90cff47dd16fac02b46b9d7
5dc3af91a041d0d396313ae0538cf29f11e67511
refs/heads/master
2021-01-19T16:33:13.093880
2013-05-26T21:58:23
2013-05-26T21:58:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,762
py
# coding: utf8 { '!langcode!': 'pt-br', '!langname!': 'Português (do Brasil)', '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" é uma expressão opcional como "campo1=\'novovalor\'". Você não pode atualizar ou apagar os resultados de um JOIN', ...
[ "radu@fericean.ro" ]
radu@fericean.ro
c25b1e852ebebddd1fb1b02d1b006f1d861e91b7
4c7fc810eb442b386969bf345b4dc6ef3152c783
/templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}/modeling_{{cookiecutter.lowercase_modelname}}.py
cbe8153c0ec70ada3f955905e43df9945a751ecf
[ "Apache-2.0" ]
permissive
newcodevelop/transformers
fbcef5d703b12febf6e76e84e3f0493769fb9d37
e8d1bd7427021d2114ec159b2c90c6b1fcddeae7
refs/heads/main
2023-03-15T11:45:09.906184
2022-08-30T07:26:17
2022-08-30T07:26:17
254,360,734
0
1
Apache-2.0
2020-04-09T12:07:09
2020-04-09T12:07:08
null
UTF-8
Python
false
false
155,171
py
# coding=utf-8 # Copyright 2022 {{cookiecutter.authors}} The HuggingFace Inc. team. 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...
[ "noreply@github.com" ]
newcodevelop.noreply@github.com
d3cdc7a0077856a2b97391ea48f1c5b7b2add971
af2fca9931bd9d9531d7e3a7fba3df02fea1bfd3
/bin/dl
99e68cdd0bae029ebaf686b93fc8873ba55c2de9
[]
no_license
hukkelas/Dotfiles
21c5fa5500bf0a0ee3e4dfa1bd069d45c66738df
b0439f612261f1aa0c4f2bb89f06095a08dad990
refs/heads/master
2021-06-28T12:26:04.478573
2020-09-21T07:18:17
2020-09-21T07:18:17
136,961,645
0
0
null
null
null
null
UTF-8
Python
false
false
616
#!/usr/bin/env python3 import subprocess import argparse from termcolor import colored parser = argparse.ArgumentParser() parser.add_argument("docker_name") args = parser.parse_args() keys_to_print = ["Image", "Status","RunningFor", "Names"] query = "docker ps -a --format '{{.Names}}'" wanted_idx = [1, 3, 4, 5, 6]...
[ "hakon.hukkelas@ntnu.no" ]
hakon.hukkelas@ntnu.no
eee551a4414a19d3f9c93aa595e307f5d736289e
ac4dbe322dcb666abdbd5450ecf1194dd7fa21aa
/learn_pipe/model/opt_params.py
7edcc46f16441c7e31765e0bf7154e2e93798abc
[ "MIT" ]
permissive
tpimentelms/meaning2form
432a1cc1b83e54f6b3e3eed54d8d336ae00079a8
624b3947b3ac2a7a521cf35c762fb56508236f74
refs/heads/master
2022-12-13T21:50:10.196711
2020-03-12T10:29:09
2020-03-12T10:29:09
188,860,052
3
1
MIT
2022-12-08T05:15:50
2019-05-27T14:36:40
Python
UTF-8
Python
false
false
804
py
import pandas as pd def _get_opt_params(fname, lang, delimiter='\t'): results = pd.read_csv(fname, delimiter=delimiter) instance = results[results['lang'] == lang] embedding_size = int(instance['embedding_size'].item()) hidden_size = int(instance['hidden_size'].item()) word2vec_size = int(instanc...
[ "tiagopms@gmail.com" ]
tiagopms@gmail.com
4aa8df812330ebe7963dd961c6485a55d2669e95
433cf60d4a3bb69f126ab6b55c43eb34a79aaa8f
/state.py
1c7863b94d133fba8d527416442c94ae094eeba5
[]
no_license
pockerman/odisseus_raspberry_pi
2d84460db859d4b9d52af10a433899945cd44f4c
b6ca2ebf9178411dcb71246880bfb97adcffbad0
refs/heads/master
2021-07-13T09:50:33.113891
2020-05-23T15:55:43
2020-05-23T15:55:43
199,181,066
2
1
null
2020-05-23T14:42:37
2019-07-27T15:19:03
Python
UTF-8
Python
false
false
587
py
""" State describe the state of Odisseus """ import numpy as np class State(object): @staticmethod def names(): return ["X", "Y", "Vx", "Vy", "Theta"] def __init__(self, init_cond): if init_cond: self._state = init_cond else: self._state = np.array([0., ...
[ "a.giavaras@gmail.com" ]
a.giavaras@gmail.com
e6e31132160cc9877eb1dd9ceee62b6a99180cc9
7b36801dd87a1df93b2836db74f68b5e00682638
/scripts/02_MP2RAGE/04_apply_reg.py
652c4181b66a141c87daf9611f9e9d2bd2b4e656
[ "BSD-3-Clause" ]
permissive
ofgulban/meso-MRI
c873bf227ae1048a84ffa7999c7ece72f3a8c3f8
2afd70a3bb7576f401dd98eeb07df38368f42baf
refs/heads/main
2023-04-11T19:49:50.837267
2022-10-24T13:31:49
2022-10-24T13:31:49
327,944,487
3
1
null
null
null
null
UTF-8
Python
false
false
3,505
py
"""Apply registration.""" import os import subprocess import numpy as np import nibabel as nb # ============================================================================= NII_NAMES = [ "/home/faruk/data2/DATA_MRI_NIFTI/derived/sub-05/T1/02_upsample/sub-05_ses-T1_run-02_dir-RL_MP2RAGE_T1_crop_ups2X.nii.gz", ...
[ "farukgulban@gmail.com" ]
farukgulban@gmail.com
a7520b92dd939d6051721286e33af5bdb7690a8d
eb82e06402be351e1d41dfc0a2646426d26eace6
/mkt/files/migrations/0001_initial.py
6b85d73be2712eebb1cf43058d6865cbabce8250
[]
permissive
sarvex/zamboni
34c28697f007b40131444af10fa943b19244fa24
5fa5400a447f2e905372d4c8eba6d959d22d4f3e
refs/heads/main
2023-08-19T04:53:22.857291
2023-08-14T10:04:05
2023-08-14T10:04:05
32,572,674
0
0
BSD-3-Clause
2023-09-10T15:16:10
2015-03-20T08:41:50
Python
UTF-8
Python
false
false
3,661
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import mkt.site.models from django.conf import settings import uuidfield.fields class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "ashort@mozilla.com" ]
ashort@mozilla.com
7d67f4616c7e5934ab9c234e24b997b4b13f07a0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02577/s033060966.py
f0b04fbe76acd807d3b8c178cea182bec7767807
[]
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
126
py
digits = [int(i) for i in list(input())] Sum = 0 for i in digits: Sum += i if Sum%9 == 0: print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
95d7af9ddf3ad428c306a3dda706de52e90220f3
baad8c0884d2a0ff57dfb70f766a2f2c05f3f5cc
/douyu/douyu/spiders/douyuapp.py
6b13e7cb5737b91e470ca568702e56f087646506
[]
no_license
ShaoLay/douyu
ee96f9bd09fd7136de8078284baa2b4f2ede274f
6b2fe2c3f05a58d5e7a323c6e72b7ba447fc74dd
refs/heads/master
2020-04-14T18:59:58.695098
2019-01-04T02:36:24
2019-01-04T02:36:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
import scrapy import json from douyu.items import DouyuspiderItem class DouyuSpider(scrapy.Spider): name = "douyu" allowd_domains = ["http://capi.douyucdn.cn"] offset = 0 url = "http://capi.douyucdn.cn/api/v1/getVerticalRoom?limit=20&offset=" start_urls = [url + str(offset)] def parse(self, r...
[ "javs_shao@163.com" ]
javs_shao@163.com
183946b6075590e313dcdd943ff083cf360204a4
b0fdcd6038f8f51ac6fb88abd3698656d9df6ef5
/HCI_LAB/line_detection/main.py
14ba7d421926ef79a0388b5fc6345187f040f210
[]
no_license
ShineySun/HCI_Deep_Lane_Detection
a5b40c3b9df5eaf6afc7cb9983574009199e1af9
0b7b7a97f03258942d1d2cd9d86e42348bebab15
refs/heads/master
2021-01-02T06:55:59.600259
2020-05-15T09:59:33
2020-05-15T09:59:33
239,537,065
0
0
null
null
null
null
UTF-8
Python
false
false
3,033
py
import sys # print(sys.path) # sys.path.append('/lib/python3.7/site-packages') import opts import math import importlib from preprocess import * import _init_paths import torch from PIL import Image import torchvision.transforms as transforms from torch.autograd import Variable import cv2 import numpy as np # python3 ...
[ "ksp2246@naver.com" ]
ksp2246@naver.com
371c31e5fc3bcc1a0141df7f8659376578c4ebf1
786de89be635eb21295070a6a3452f3a7fe6712c
/numpy/tags/V00-01-05/SConscript
6f45a7e075210962a1c9f52bd87171f239eeedf9
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
947
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # SConscript file for package numpy #------------------------------------------------------------------------ # Do not delete following line, it must be present in # SConscript file fo...
[ "salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
feb42e71803ec62191f6593b4b79a9c6a75d36a1
b53e3d57d31a47a98d87141e44a5f8940ee15bca
/test/programytest/parser/pattern/matching/test_set.py
002785e6fa43cb2e1fb506957d39ed763fe19deb
[ "MIT" ]
permissive
Chrissimple/program-y
52177fcc17e75fb97ab3993a4652bcbe7906bd58
80d80f0783120c2341e6fc57e7716bbbf28a8b3f
refs/heads/master
2020-03-29T13:20:08.162177
2018-09-26T19:09:20
2018-09-26T19:09:20
149,952,995
1
0
null
2018-09-23T06:11:04
2018-09-23T06:11:04
null
UTF-8
Python
false
false
4,013
py
from programytest.parser.pattern.matching.base import PatternMatcherBaseClass from programy.mappings.sets import SetLoader class PatternMatcherSetTests(PatternMatcherBaseClass): def test_basic_set_match_as_text(self): loader = SetLoader() if self._bot.brain.sets.contains("SEX") is False: ...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
3a72b003e889d606d91992540708d221eb06875b
ca47fe64364188b9317cf27c08c31c4af0ddf65f
/app/auth/forms.py
bb504b77ba7cf9b1984ba3ac07559dd5942d140d
[]
no_license
Kennedy128/kennedy-project3
79d1cfe2d90bec1c34cfc9135106dab2e1008e3b
a5523fcbf86acaae29759895002712cc046fafc4
refs/heads/master
2022-07-05T21:52:03.865036
2020-05-13T20:57:48
2020-05-13T20:57:48
263,722,168
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
from flask_wtf import FlaskForm from wtforms import StringField,PasswordField,BooleanField,SubmitField,ValidationError from wtforms.validators import Required,Email,EqualTo from ..models import User class RegistrationForm(FlaskForm): email = StringField('Your Email Address',validators=[Required(),Email()]) u...
[ "santa@northpole.com" ]
santa@northpole.com
c7e52de8525de6e0c856f43ecb896309eb09a319
0db4f248a6f8c036ff47a90e5f85e1e0b8e9b8a4
/TEMP/201610_MKT/audit_content/image_label_gcloud_vision_api/mapping_product.py
3256e109655aaed47679b1d21b20f07c5acfca79
[]
no_license
vunguyen1408/no-more-weekend
9c6afec60d92c7788d0c8b03472b200840d89d11
2b5025798e232ffc23cb1b498d2adb89078f602a
refs/heads/master
2021-08-08T11:54:38.244834
2017-11-10T07:22:00
2017-11-10T07:22:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,277
py
""" Project : Online marketing tool - Audit content - Audit video Company : VNG Corporation Description: Mapping product id to Ads Examples of Usage: python mapping_product.py 2016-10-01 2017-06-29 """ import os, os.path #from os.path import splitext, basename, join import io import json...
[ "ltduong1994@gmail.com" ]
ltduong1994@gmail.com
7f21588272c702b2fbfae216a5ae2764f36efb80
5891051796778cfb44a255248ce38789bfef9e70
/P_base/faith_class/loading.py
22388fec3e0227782de7fce6f4d8ec6eb0d8f417
[]
no_license
Faithlmy/Python_base
cc546a5d86b123e102a69df1227cde9b6e567493
5a43557e6375dc9dbe5f6701d7c10e549873a5ab
refs/heads/master
2021-01-01T17:07:04.097978
2018-03-31T16:44:01
2018-03-31T16:44:01
98,000,621
0
0
null
null
null
null
UTF-8
Python
false
false
1,096
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ python的重载 """ class human: __age = 0 __sex = '' __heigth = 0 __weigth = 0 name = '' def __init__(self, age, sex, height, weight): self.age = age self.sex = sex self.heigth = height self.weigth = weight def s...
[ "lmengyy@126.com" ]
lmengyy@126.com
9873106f27cd3a0141597de96df0b53e68ca1d87
e65a428ca7ee11d2f62d702842d4afbd493f08a4
/Data Types and Variables/elevator.py
8863fad20ce9dfa6fc628d6a3a681caa5f3725d6
[]
no_license
NikiDimov/SoftUni-Python-Fundamentals
d8ba24a06c4366e76bdc69f1c5225dca29fe955e
5bb1bf5928e40f2bac867d33566c8b9dac13f566
refs/heads/main
2023-07-15T05:57:57.085880
2021-08-19T10:27:45
2021-08-19T10:27:45
323,631,864
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
number_of_people = int(input()) capacity_of_elevator = int(input()) total_courses = 0 if number_of_people > capacity_of_elevator: total_courses += number_of_people // capacity_of_elevator if not number_of_people % capacity_of_elevator == 0: total_courses += 1 else: total_courses += 1 print(total_cou...
[ "niki.dimov86@gmail.com" ]
niki.dimov86@gmail.com
ad19d9d129e4da03fb6bf7e6eab0b113ab9f3769
b84f0d7cf248452d7becfdfb672bc91dba4ea46c
/benchmark.py
f50f9d2cbc7fc03c03e6b82c560e6569d2992d0c
[ "MIT" ]
permissive
saurabhkulkarni77/bert-as-service
35a467c1140333ef1319c8b40987f70dcd86d492
d5d5670b7aa79746163ff8061fe76398e7146d5b
refs/heads/master
2020-04-17T17:04:19.314059
2019-01-19T06:06:29
2019-01-19T06:06:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,470
py
import random import string import sys import threading import time from collections import namedtuple from bert_serving.client import BertClient from bert_serving.server import BertServer, get_args_parser from numpy import mean PORT = 7779 PORT_OUT = 7780 MODEL_DIR = '/data/cips/save/chinese_L-12_H-768_A-12' common...
[ "hanhxiao@tencent.com" ]
hanhxiao@tencent.com
59fd38d364beae081dd066ea60debcfc76d65e69
1fb2da0e6f73652f0b0126c82a84562f6a8d3535
/935. Knight Dialer.py
0c6faf5974ebdf4a997d8c9f4c72c190f73e9101
[]
no_license
JaylenZhang19/Leetcode
be3456fcb45270c8aad797f965f4c7a1781c0e61
178546686aa3ae8f5da1ae845417f86fab9a644d
refs/heads/master
2023-02-27T06:08:58.818435
2021-01-31T20:28:10
2021-01-31T20:28:10
287,661,146
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
class Solution: def knightDialer(self, n: int) -> int: moves = [ [4, 6], [6, 8], [7, 9], [4, 8], [3, 9, 0], [], [0, 1, 7], [2, 6], [1, 3], ...
[ "noreply@github.com" ]
JaylenZhang19.noreply@github.com
4727e9204aeccf1fa3855c1e6fdd478abea9f146
0734fe314483192e630272bb212aa7817d627628
/parsl/tests/test_aalst_patterns/test_python_AND_SPLIT_P2.py
e9d383b559002bd1e8e680c61361fecb9d98ea66
[ "Apache-2.0" ]
permissive
djf604/parsl
9798f1043a2196d3b538c8683de6d34d57d8f279
118af3a52be1811a3355c79a7adadda5ea66afde
refs/heads/master
2020-12-02T16:27:10.252111
2017-06-29T01:47:09
2017-06-29T01:47:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
''' Testing bash apps ''' import parsl from parsl import * import os import time import shutil import argparse #parsl.set_stream_logger() workers = ThreadPoolExecutor(max_workers=4) dfk = DataFlowKernel(workers) @App('python', dfk) def increment(x): return x+1 @App('python', dfk) def slow_increment(x, dur): ...
[ "yadudoc1729@gmail.com" ]
yadudoc1729@gmail.com
0269fdda7a60854c67452fee04e6583d65eb2c04
6ff8b7b7ed534d36da6456feeda6ded80464a7de
/chains/tasks.py
d982b814bba7ac7e5b34a9a7950e17f285d6187f
[ "Apache-2.0" ]
permissive
denismakogon/aiorchestra-chain-plugin
c14c4fc1e8417edfbd0a60cc5e28542006928040
8607f2a547234952eeb4008aba48eb168b20d217
refs/heads/master
2021-01-17T08:46:54.599774
2016-07-05T11:02:45
2016-07-05T11:02:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,040
py
# Author: Denys Makogon # # 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 t...
[ "lildee1991@gmail.com" ]
lildee1991@gmail.com
4e618d4077b4c800d20aaf59ebaad94e9cddd0cb
9defbebd427f77ac549548ea83280f253e335ea3
/ltp/transformer_rel_linear.py
820743317af12009087f3fe14b0d74f356c67ef9
[]
no_license
okokyou/ltp
d992378ccff0c955852f9f2f948541ce63808a11
f3d4a25ee2fbb71613f76c99a47e70a5445b8c03
refs/heads/master
2023-07-31T15:44:36.220184
2021-09-10T01:50:48
2021-09-10T01:50:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,774
py
#! /usr/bin/env python # -*- coding: utf-8 -*_ # Author: Yunlong Feng <ylfeng@ir.hit.edu.cn> from argparse import ArgumentParser from typing import Optional import torch from torch import nn from torch.nn import functional as F from transformers import AutoModel from ltp.nn import BaseModule, RelativeTransformer, CR...
[ "ylfeng@ir.hit.edu.cn" ]
ylfeng@ir.hit.edu.cn
f9fe0aeefed117def69a33a5d9e979c5599efd77
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/netapp/ontap/tests/unit/plugins/modules/test_na_ontap_broadcast_domain.py
86a0b8d2cf0afa5b4e4f34e76130943090797174
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
13,384
py
# (c) 2018, NetApp, Inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ''' unit test template for ONTAP Ansible module ''' from __future__ import (absolute_import, division, print_function) __metaclass__ = type import json import pytest from ansible_collections.netapp.on...
[ "sifang@cisco.com" ]
sifang@cisco.com
74377d062ee0d17bd11f3abf5d882d2cd8718a03
87e520f16911077e3944f27be142b028110239d9
/guild/commands/package.py
05fa5c9ad67a1dc7299619e61860d652e0a2ec07
[ "Apache-2.0" ]
permissive
cfregly/guild-python-1
06c81e5c633be231f18318604f2402e8ac24bce9
543889469251e20c1ac55e358100952cdc33e58d
refs/heads/master
2021-07-12T13:38:31.291333
2017-10-16T22:01:17
2017-10-16T22:01:17
107,252,039
0
0
null
2017-10-17T10:14:47
2017-10-17T10:14:47
null
UTF-8
Python
false
false
1,841
py
# Copyright 2017 TensorHub, 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 to in writing, ...
[ "g@rre.tt" ]
g@rre.tt
96af65b743081e61f0620630af27fb2aa2652125
8efb4caeafe2cfb024827ce194b5abae6fdfc9a4
/test/functional/rpc_named_arguments.py
d3557ce2777061179531d4a6c6782b345379400b
[ "MIT" ]
permissive
Worldcoin-Network/worldcoin
cd8ac9631154666cb11603d5f07e3a9dc2e1653a
4f14d8baadda3f46363c26dc327a68b33f14e28c
refs/heads/master
2022-03-04T01:50:14.783972
2021-10-26T15:21:47
2021-10-26T15:21:47
156,328,955
15
9
MIT
2021-05-10T16:58:07
2018-11-06T05:08:32
C++
UTF-8
Python
false
false
1,217
py
#!/usr/bin/env python3 # Copyright (c) 2016-2018 The Worldcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test using named arguments for RPCs.""" from test_framework.test_framework import WorldcoinTestFrame...
[ "quentin.neveu@hotmail.ca" ]
quentin.neveu@hotmail.ca
6d4c6bfd172e9d8027ccb812a282bd1879722b65
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/run_locally.runfiles/pypi__numpy_1_15_4/numpy/distutils/system_info.py
aac7a3ff95556cebf69ee7ac4d807b86b06f47ea
[ "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
135
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__numpy_1_15_4/numpy/distutils/system_info.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
a235367cf7e0587291907ad9357befc485578b2d
824f831ce0921b3e364060710c9e531f53e52227
/Leetcode/Sliding_Window/LC-209. Minimum Size Subarray Sum.py
09456da62cae8ff3353367758c2559fbab35706a
[]
no_license
adityakverma/Interview_Prepration
e854ff92c10d05bc2c82566ea797d2ce088de00a
d08a7f728c53943e9a27c33f8e4249633a69d1a6
refs/heads/master
2020-04-19T19:36:06.527353
2019-06-15T23:02:30
2019-06-15T23:02:30
168,392,921
0
2
null
null
null
null
UTF-8
Python
false
false
3,372
py
# Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous # subarray of which the sum ≥ s. If there is not one, return 0 instead. # # Example: # # Input: s = 7, nums = [2,3,1,2,4,3] # Output: 2 # Explanation: the subarray [4,3] has the minimal length under the pr...
[ "noreply@github.com" ]
adityakverma.noreply@github.com
2573678e9815d6c0d02d522c1f682042b66018a9
5c0a253bf2fb83db01abc99097871c965f4cf565
/spark/crm/PROC_A_SUBJECT_D004039.py
4324513e029099964e80d4e9191f6fdd22410f7b
[]
no_license
airuibel/python-1
3b16553ede9d069ec56efbb12a89a4de6917a447
94f387e2d406fab2128bcfffce6146da720b2ccc
refs/heads/master
2020-07-05T15:43:00.957221
2017-09-17T14:05:48
2017-09-17T14:05:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,160
py
#coding=UTF-8 from pyspark import SparkContext, SparkConf, SQLContext, Row, HiveContext from pyspark.sql.types import * from datetime import date, datetime, timedelta import sys, re, os st = datetime.now() conf = SparkConf().setAppName('PROC_A_SUBJECT_D004039').setMaster(sys.argv[2]) sc = SparkContext(conf = conf) sc....
[ "cysuncn@126.com" ]
cysuncn@126.com
90d2e9f95d7f2972285bb2645fbe7b1c72e80b3e
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/ddpm_w_distillation/ddpm_w_distillation/config/i64_w_unet3_distill.py
087622af189706bd2ae189e6c0d8965bd8a31c4f
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
6,776
py
# coding=utf-8 # Copyright 2022 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
f840d8f08c5b3912798557561050b0c4b3506e47
70280955a5382d73e58395eba78c119a400f4ce7
/comp/exawizards2019/test.py
a24b292819c9854baa39c6eac3b842189d260338
[]
no_license
cohock13/atcoder
a7d0e26a10a4e58690347a2e36839c2f503a79ba
d268aa68fc96203eab94d021bd158cf84bdb00bc
refs/heads/master
2021-01-03T00:41:31.055553
2020-10-27T12:28:06
2020-10-27T12:28:06
239,839,477
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
N = int(input()) S = {} for i in range(N): s = input() if s in S: S[s] += 1 else: S[s] = 1 key = list(S.keys()) value = list(S.values()) m = max(value) Ans = [] for i in range(len(key)): Ans.append([value[i],key[i]]) Ans.sort() for i in range(len(key)): if Ans[i][...
[ "callout2690@gmail.com" ]
callout2690@gmail.com