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
d3eb7f4dc3043c6c1eb7402170d4b2c207e3aedd
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_142/578.py
4e15bdf45edf6710615a54bb04c19087af116351
[]
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
1,361
py
f=open("A-small-attempt1.in","r") T=int(f.readline().strip()) answers=[] for i in range(T): N=int(f.readline().strip()) strings=[f.readline().strip() for j in range(N)] rivers=[] counts=[] for k in range(N): rivers.append([]) counts.append([]) for p in range(len(strings[k])): if len(rivers[k])==0 or ri...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
eb009c6fb46cba4f3dbac69f58bcbfa4e864c078
828e58fff5f3779b6fddbc029f332345adb97c4f
/yoohalal/apps/customer/utils.py
b318edd40dc6bace39892c7f1b24adf6cd6ea066
[]
no_license
sofyandamha/Django-Oscar-Marketplace-yoohalal
5c33ac77834dcbc199d5f39971b0f527e9627167
8bc1f11b1fe301f1dc5f9f9edfd6c24402effeb3
refs/heads/master
2020-03-27T20:52:37.031477
2018-09-02T16:03:43
2018-09-02T16:03:43
147,099,611
1
2
null
null
null
null
UTF-8
Python
false
false
1,367
py
import logging from django.conf import settings from django.core.mail import EmailMessage, EmailMultiAlternatives from django.contrib.auth.tokens import PasswordResetTokenGenerator from django.utils import six from oscar.core.loading import get_class, get_model from oscar.apps.customer.utils import * class Dispatche...
[ "sofyandamha@gmail.com" ]
sofyandamha@gmail.com
91cc59f9eef22bb28b3c95e146ea61d44498824b
4c538430c1329455f2665d191b98b44cd3168b5f
/telemetry/telemetry/internal/platform/power_monitor/msr_power_monitor_unittest.py
fafb2fc9143f6179a5ea2370e16b100f7e6a4fff
[ "BSD-3-Clause" ]
permissive
isabella232/catapult-csm
a0d7492e1485ef95670cbf68a028e72c5c648e3c
8f69b07e80198c1af0d5bd368d8ad8ced968884a
refs/heads/master
2023-03-13T00:03:27.064808
2017-09-01T00:54:32
2017-09-01T00:54:32
320,805,993
0
0
BSD-3-Clause
2021-02-23T22:37:25
2020-12-12T10:40:09
null
UTF-8
Python
false
false
1,128
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. import logging import time import unittest from telemetry import decorators from telemetry.internal.platform.power_monitor import msr_power_monitor from tel...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
22405d55d28a3c4fad7a4202f91dd76aebd581a0
7b34cecc88b257752af3682ce198adb529f22f52
/tests/uri/test_uri_abspath.py
765cf55425aa19b2b7aff88fbd4eb48b24014256
[ "MIT" ]
permissive
spaceone/httoop
c6a3c61f6b01804fa004e3ea1d46c5417b110f08
bd170d5de030ff855d76b688f3e9d9d4f717a30a
refs/heads/master
2023-01-05T18:36:09.904939
2023-01-03T20:57:56
2023-01-03T20:57:56
9,329,173
17
10
null
2015-06-20T21:55:10
2013-04-09T19:02:18
HTML
UTF-8
Python
false
false
870
py
from __future__ import unicode_literals import pytest from httoop import URI @pytest.mark.parametrize('url,expected', ( (b'http://..', (u'http', u'', u'', u'..', 80, u'', u'', u'')), (b'http:///..', (u'http', u'', u'', u'', 80, u'/', u'', u'')), (b'http://.', (u'http', u'', u'', u'.', 80, u'', u'', u'')), (b'ht...
[ "space@wechall.net" ]
space@wechall.net
935f584f50d0fcf6b62c1221a66d128ebcb10e20
36216b52f6d3c9b5d16e9d93c56540fe07bc5f5a
/migrate/migrations/0008_auto_20180717_1704.py
04c29e8e9bd9474d5ac1583a4ff6256da5ec7e0a
[ "MIT" ]
permissive
zerolfx/eoj3
3984676d1e29ad5d04f06a41836ece3f1a452054
156060399d1c3e5f7bcdbf34eaffbe2be66e1b20
refs/heads/master
2020-08-10T19:55:36.278006
2019-10-11T10:26:20
2019-10-11T10:27:19
214,410,171
1
0
MIT
2019-10-11T10:39:12
2019-10-11T10:39:11
null
UTF-8
Python
false
false
773
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-07-17 17:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('migrate', '0007_auto_20180716_0920'), ] operations = [ migrations.AlterField(...
[ "scottyugochang@hotmail.com" ]
scottyugochang@hotmail.com
edae17648ad3982d160a13acc47b1fe4fa8c5611
d9f173aeb74ac4333df2c00e02a12edbc43bd006
/phono3py/cui/settings.py
ae5406e5a758570197b9ecb41b4e03a13dc72581
[]
no_license
RamyaGuru/phono3py
4f0882f7dfefa068a43d441710b191048a932235
d19abc654c29d06b88d06cda50ed8dba4450d336
refs/heads/master
2020-04-28T11:45:27.774139
2018-11-22T07:42:53
2018-11-22T07:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,939
py
import numpy as np from phonopy.cui.settings import Settings, ConfParser, fracval class Phono3pySettings(Settings): def __init__(self): Settings.__init__(self) self._boundary_mfp = 1.0e6 # In micrometre. The default value is # just set to avoid divergence. ...
[ "atz.togo@gmail.com" ]
atz.togo@gmail.com
1ae97d58d98fe6bf5c2a2860201cd69bf3324f4d
8364e4d23191ee535c163debffafa8418d705843
/test/test_authentication_v1beta1_api.py
d2ee802bfaaa54f002fb278684ae51f24cfb1a36
[ "Apache-2.0" ]
permissive
olitheolix/aiokubernetes
2bb6499030e2e6e9b7ca0db63c4441293d70a09b
266718b210dff2a9b2212183261ea89adf89115e
refs/heads/master
2020-03-21T23:02:30.484410
2018-10-20T19:33:01
2018-10-22T05:52:42
139,162,905
28
3
Apache-2.0
2018-10-22T05:52:51
2018-06-29T15:02:59
Python
UTF-8
Python
false
false
1,036
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.10.6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import u...
[ "olitheolix@gmail.com" ]
olitheolix@gmail.com
a9b418299b36e562e3fe1bd44661f44ed61a20e6
bfc0a74a378d3692d5b033c21c29cf223d2668da
/unittests/libtests/feassemble/data/Quadrature3DQuadratic.py
04d65bd8bc1dda76a9d81da4be4a4b9a6bfc1450
[ "MIT" ]
permissive
rishabhdutta/pylith
b2ed9cd8039de33e337c5bc989e6d76d85fd4df1
cb07c51b1942f7c6d60ceca595193c59a0faf3a5
refs/heads/master
2020-12-29T01:53:49.828328
2016-07-15T20:34:58
2016-07-15T20:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,187
py
#!/usr/bin/env python # # ---------------------------------------------------------------------- # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://ge...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
c8722b2b2432b31187e27a0440b4031805ed2cbf
7f87ea9fe9d2ad9b179fa397671b3ccaa153e878
/reports/urls.py
721e6310d51aa6097bb31064a44332d0fb153b9a
[ "MIT" ]
permissive
openpodd/podd-api
9a694763d3e872cad1ca890536eeee7bc39e793e
19af68723cef092615f9b237d0439de9425fdaf6
refs/heads/master
2023-07-26T13:52:31.321523
2023-07-06T03:32:37
2023-07-06T03:32:37
72,618,952
3
5
MIT
2023-02-08T22:31:03
2016-11-02T08:23:55
Python
UTF-8
Python
false
false
255
py
from django.conf.urls import patterns, url urlpatterns = patterns('reports.views', url(r'^administration-areas/$', 'search_nearby_area', name='search_nearby_area'), url(r'^(?P<report_id>[\w-]+)/share/$', 'report_share', name='report_share'), )
[ "lazym0m3nt@gmail.com" ]
lazym0m3nt@gmail.com
e98e974d72533087adc067fd4c9430d768e7211d
f82e67dd5f496d9e6d42b4fad4fb92b6bfb7bf3e
/scripts/client/tutorial/data/__init__.py
c4e14371e28c822adc2dea702524db75e402c2bb
[]
no_license
webiumsk/WOT0.10.0
4e4413ed4e7b00e22fb85d25fdae9400cbb4e76b
a84f536c73f86d9e8fab559e97f88f99f2ad7e95
refs/heads/master
2021-01-09T21:55:00.662437
2015-10-23T20:46:45
2015-10-23T20:46:45
44,835,654
1
0
null
null
null
null
UTF-8
Python
false
false
309
py
# Embedded file name: scripts/client/tutorial/data/__init__.py from tutorial.data import chapter from tutorial.data import conditions from tutorial.data import descriptor from tutorial.data import effects from tutorial.data import events __all__ = ('chapter', 'conditions', 'descriptor', 'effects', 'events')
[ "info@webium.sk" ]
info@webium.sk
1b446af854593ff18a6fcacbf0213a80e906909b
197f75acb16161f05606c7dff5d085d43928ed12
/crypten/mpc/primitives/binary.py
9a2ac7799c4bd81a89bdb4e6f735023ac319c593
[ "MIT" ]
permissive
JJusti/CrypTen
7c8f6224883e16ecc8658821b75786830d5833c6
132c8412f6bef96ab09ca8ea0a9df83a9aeffa81
refs/heads/master
2021-11-29T00:14:57.494088
2021-11-19T20:57:55
2021-11-19T20:59:20
216,788,929
0
0
MIT
2019-10-22T10:41:48
2019-10-22T10:41:48
null
UTF-8
Python
false
false
17,251
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import crypten.communicator as comm # dependencies: import torch from crypten.common.functions import regular from cr...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
47c5abe7586b03c7622b3c57ab8bb99a5b838054
deba5baa1a1c4995c378267116a45c39e6405e39
/luthiertext/reweighting.py
0b0aba92fb91784d4ca5234e32742038d6cbc478
[ "MIT" ]
permissive
LautaroEst/LuthierText
bf1f3d7103d4ec43d0711608b1061b53ba71efaa
f1395fbfda1039bd19fd829cbe853e39ae91805d
refs/heads/main
2023-01-28T10:50:34.464265
2020-12-07T22:29:09
2020-12-07T22:29:09
316,622,574
0
0
MIT
2020-12-07T22:29:10
2020-11-27T23:51:24
Python
UTF-8
Python
false
false
1,125
py
import numpy as np # Reweight methods: def observed_over_expected(df): col_totals = df.sum(axis=0) total = col_totals.sum() row_totals = df.sum(axis=1) expected = np.outer(row_totals, col_totals) / total oe = np.zeros(df.shape) mask = expected != 0 #np.putmask(oe, mask, df[mask] / expecte...
[ "lautaro.est@gmail.com" ]
lautaro.est@gmail.com
6c94cebaee424ff24b3cb1fe4622d64cf6c72d73
05ad6d839ba95001c8f861a5b1cd619eef8ae9b1
/tseo/Programmers/level2/12909_올바른 괄호-2.py
c58f2c8968d802508707093f2f6c8bab9efe3717
[]
no_license
Raziel-JKM/ps_study
cdcacdabf14e3236af96d20276459e51a0c09100
07602a8af7e23ca3d406ee1db2a5deab01087268
refs/heads/master
2023-08-11T12:20:19.830183
2021-09-28T23:57:03
2021-09-28T23:57:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
def solution(s): x = 0 for w in s: if x < 0: break x = x + 1 if w == "(" else x - 1 if w == ")" else x return x == 0
[ "t1won.seo@gmail.com" ]
t1won.seo@gmail.com
85ea706f70625034a78087e6c19446ad439edb2e
d092ed0767722cb95c10bfd1740c87e5e2c44502
/lablackey/blog/migrations/0009_post__slug.py
c0262efc1da87d54f786ec3f4c7dbb662ac77a90
[]
no_license
chriscauley/lablackey
3c53be7ee32e8fc6966b8700ecf8226628560c25
cb06b4630c99589b10314fb1bc43c33559cf1e7d
refs/heads/master
2020-12-20T15:03:36.868759
2018-06-22T14:52:58
2018-06-22T14:52:58
42,156,848
0
1
null
null
null
null
UTF-8
Python
false
false
443
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2017-08-12 20:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0008_post_extra'), ] operations = [ migrations.AddField( ...
[ "chris@lablackey.com" ]
chris@lablackey.com
8d2cde522dc36021416a1f8de043924085096193
5d9f395176356af28a53443747d6a74bd9d09b19
/PredictiveEvaluation.py
8481e9ed3bdc96a0caec2f24ca3caeb37e7e1336
[]
no_license
sahilsingh1123/predictive_analysis_git
9e9bc12304964702d613b424ade977c73459677e
71acff687b70a5ef29139475d80ac176e23add93
refs/heads/master
2020-04-27T06:53:31.196449
2019-11-09T10:14:02
2019-11-09T10:14:02
174,120,909
1
0
null
null
null
null
UTF-8
Python
false
false
16,058
py
from pyspark.sql.types import * from pyspark.sql.functions import col from PredictionAlgorithms.PredictiveUtilities import PredictiveUtilities from PredictionAlgorithms.PredictiveConstants import PredictiveConstants # this class is inherited by predictiveRegressionModel and will # be used by other classes also in the ...
[ "sahilsingh1123@gmail.com" ]
sahilsingh1123@gmail.com
a214aa5f9dc87b48dfd3d51b194bbc5012177388
3432efd194137e1d0cb05656eb547c9992229f02
/web_test/unit4_auto-testmodel/data driven.py
201aef87fa1f2fef9e73f2cd8e25de704a5b046b
[]
no_license
zhanganxia/other_code
31747d7689ae1e91fcf3f9f758df130246e7d495
8d09d9d0b6d6a1a9b8755487f926ac6fafd761fa
refs/heads/master
2021-09-04T02:22:38.632685
2018-01-14T15:37:14
2018-01-14T15:37:14
107,007,482
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
#coding=utf-8 from selenium import webdriver import time values=['selenium','webdriver',u'虫师'] #执行循环 for serch in values: driver = webdriver.Firefox() driver.get("http://www.baidu.com") driver.find_element_by_id("kw").send_keys(serch) time.sleep(3) #driver.quit()
[ "kk@kk.rhel.cc" ]
kk@kk.rhel.cc
e831a2957e6e48e8996edd0ea54bcfe15a3af4bb
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03108/s642022231.py
9e972a0495f78cbb288e4ee0e6e9bab9b39e9c24
[]
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
1,713
py
class UnionFind(): def __init__(self, n): self.n = n self.parents = [-1] * n def find(self, x): if self.parents[x] < 0: return x else: self.parents[x] = self.find(self.parents[x]) return self.parents[x] def union(self, x, y): x =...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cef7b57fecd106cbc70dcd27bd2dc2b8b2615497
b386e60d977bd7bde9cce680fc6844324f9f2e1c
/NYC_code/Shallow Learning/01-validation/ELM_validation.py
fb6280a02011f86ddfaf255ace46cab1197783af
[]
no_license
Eric-L-Manibardo/CaseStudy2020
bb68b0568488558dabba7f71dd1b4a38462069b4
5c4f38139874939b1f5bbe73062d3419392a8358
refs/heads/master
2023-02-01T06:44:11.117241
2020-12-17T15:22:45
2020-12-17T15:22:45
298,256,971
4
0
null
null
null
null
UTF-8
Python
false
false
4,830
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue May 12 10:47:33 2020 @author: eric """ import numpy as np import pandas as pd import pickle from sklearn.metrics import r2_score from hyperopt import hp, fmin, tpe, Trials from sklearn.preprocessing import StandardScaler from elm import ELMRegressor ...
[ "erasperiko@gmail.com" ]
erasperiko@gmail.com
ce72d2f069fc7cefa946910c25a7002e5f4519d7
d1f15554df2d5c0f74ddbcba6e870359841f682b
/wagtail/admin/views/pages/bulk_actions/__init__.py
d9f1815d34211b2a722d65b6f1194e08db5d065e
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license" ]
permissive
wagtail/wagtail
bd405f89b86e0c625fef0685fd6bfba41cf5cbfc
06a7bc6124bf62675c09fbe0a4ed9bbac183e025
refs/heads/main
2023-09-04T06:22:51.601208
2023-09-01T15:22:00
2023-09-01T15:22:00
16,479,108
12,974
3,580
BSD-3-Clause
2023-09-14T10:45:04
2014-02-03T12:41:59
Python
UTF-8
Python
false
false
265
py
from .delete import DeleteBulkAction from .move import MoveBulkAction from .publish import PublishBulkAction from .unpublish import UnpublishBulkAction __all__ = [ "DeleteBulkAction", "MoveBulkAction", "PublishBulkAction", "UnpublishBulkAction", ]
[ "matthew@torchbox.com" ]
matthew@torchbox.com
4f231c9a00394cc1d038d8713b8d69fc8cca218f
d2a2546165b3db6295a3f21972dda8ab9aab7846
/src/vehicles/stagrun_mail.py
7a35728a5126cbd59fb019e52e43de851176dd24
[]
no_license
andythenorth/road-hog
bab12b133dd674f0e6d7ae87498675f8da96b982
1800d57d4ce904e7041f24646c393b37903d9466
refs/heads/main
2022-09-26T19:57:31.006800
2022-09-17T10:09:37
2022-09-17T10:09:37
214,848,659
1
2
null
null
null
null
UTF-8
Python
false
false
539
py
from road_vehicle import MailHauler, ElectricRoadVehicle consist = MailHauler(id='stagrun_mail', base_numeric_id=840, name='Stagrun', tram_type='ELRL', power=360, # custom power vehicle_life=40, ...
[ "mail@andythenorth.co.uk" ]
mail@andythenorth.co.uk
e74a95a7f9e63141241123df2ce7e3643c4c01c1
ded5a6677afe4fb7832148a679ae12fc2861de8b
/src/qibo/tests/test_core_distcircuit.py
e235f1929a1ac657571d4ec50754ba7ae57c7570
[ "Apache-2.0" ]
permissive
lghui970915/qibo
3545462222629a3ff89e31d581523fd1b843cf3c
7338ce724c05de17619c3abd800e3a89e3888153
refs/heads/master
2023-08-15T23:09:01.870038
2021-09-27T12:42:07
2021-09-27T12:42:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,163
py
"""Test functions defined in `qibo/core/distcircuit.py`.""" import pytest import numpy as np import qibo from qibo import gates from qibo.models import Circuit from qibo.core.distcircuit import DistributedCircuit from qibo.core.distutils import DistributedQubits def check_device_queues(queues): """Asserts that gl...
[ "35475381+stavros11@users.noreply.github.com" ]
35475381+stavros11@users.noreply.github.com
e014cecb5950a52477db22bf134e3fc4d95f7a1a
06476bc4cb7fc3ce378beb357fac7d5aacb87b3b
/Prototype/env/lib/python3.8/site-packages/numba/tests/test_dyn_array.py
e06e55e343c425fed86b7c742a07b1a73035aeef
[ "MIT" ]
permissive
marc-ortuno/VOPEC
44d3a74d3e0686474dd57fcb21e845fd5fd48897
e7ed1f13cc1868a824f4036dd08ec6bed4266c08
refs/heads/main
2023-06-12T19:15:18.060897
2021-07-01T17:15:03
2021-07-01T17:15:03
344,433,646
0
0
MIT
2021-06-14T19:15:47
2021-03-04T10:22:05
Python
UTF-8
Python
false
false
46,795
py
from __future__ import print_function, absolute_import, division import contextlib import sys import numpy as np import random import threading import gc from numba import unittest_support as unittest from numba.errors import TypingError from numba import config from numba import njit from numba import types from num...
[ "you@example.com" ]
you@example.com
611563cc3708220987d85648c4a21f205f596914
7f2efccdd6413eb658161c91d75da7c0fe941505
/catnap/basic_auth.py
8e630f17421fbb020e45a9887414ecec9ad06a90
[ "BSD-2-Clause" ]
permissive
aehlke/django-catnap
82b093b9ee07f9edd294dac3e9ff3784fb2ac5cb
4272cff0de639a65f5cc0fe131370e1531fc2e11
refs/heads/master
2016-09-10T15:49:43.799102
2016-01-26T03:02:44
2016-01-26T03:02:44
1,428,424
8
0
null
null
null
null
UTF-8
Python
false
false
3,366
py
''' Django middleware for HTTP authentication. Copyright (c) 2007, Accense Technology, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above cop...
[ "alex.ehlke@gmail.com" ]
alex.ehlke@gmail.com
4d59de77fc343e37faf7f74fadb46e2c45301821
64fc55385d2745cca26303024cd5121eb6ff4f76
/sample-input/bundled-lattice/bundled-lattice.py
538594598241a36725627664c1906ab90f8627e9
[]
no_license
luisarose/OpenMOC
d6036eb01970c4d0daa9f21c6a065af6176f6845
0617c22c0e0aee32c6c972000f8b399f6c53a51f
refs/heads/master
2020-12-25T08:38:27.530553
2014-11-06T19:57:52
2014-11-06T19:57:52
21,468,358
0
0
null
null
null
null
UTF-8
Python
false
false
9,040
py
from openmoc import * import openmoc.log as log import openmoc.plotter as plotter import openmoc.materialize as materialize from openmoc.options import Options ############################################################################### ####################### Main Simulation Parameters #######################...
[ "wbinventor@gmail.com" ]
wbinventor@gmail.com
c6cdf1041ff9fc7b0ff226ce972855094d64682d
7a10bf8748c7ce9c24c5461c21b5ebf420f18109
/machine_hack/Perfect_Beer/test.py
9360866fdb52f722f76daa0ae5f2e77a11efc796
[]
no_license
VishalChak/machine_learning
aced4b4bf65bbbd08c966a2f028f217a918186d5
c6e29abe0509a43713f35ebf53da29cd1f0314c1
refs/heads/master
2021-06-15T07:13:56.583097
2019-10-05T06:01:58
2019-10-05T06:01:58
133,164,656
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed May 23 09:50:42 2018 @author: vishal """ import random four_random = [random.random() for _ in range(5)] random.seed(10) random.random() from matplotlib import pyplot as plt years = [1950, 1960, 1970, 1980, 1990, 2000, 2010] gdp = [300.2, 543.3, 107...
[ "vishalbabu.in@gmail.com" ]
vishalbabu.in@gmail.com
d6c3862a0c06e4ef9eca6ad7b33184d39484059d
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/network/v20191201/route_filter.py
59d5d301ec0236cc99d2e64f52f3d9bff595f4d1
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
16,239
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
b89fb93450cb6a891ae2ee12a766e6a5854b92cc
f07145d3064ab5283674f723981a09e2ff659c74
/kubevirt/models/v1_http_header.py
06d5aa61efb2fa8e9dd2fec4f14f8004c46507d4
[]
no_license
pkliczewski/client-python
f9d9b6b2de87e8bf7590a81269f2ae65f6e01c9e
e7b976b4225ee06f5feac3041d5779bdd6485013
refs/heads/master
2020-03-26T22:01:57.381927
2019-02-26T08:46:52
2019-02-26T08:46:52
145,426,211
0
0
null
2018-08-20T14:08:45
2018-08-20T14:08:45
null
UTF-8
Python
false
false
3,727
py
# coding: utf-8 """ KubeVirt API This is KubeVirt API an add-on for Kubernetes. OpenAPI spec version: 1.0.0 Contact: kubevirt-dev@googlegroups.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class V1HTTPHe...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
4203bdb9ae8e7505a4bde8f9af083588d85d86ea
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_41/57.py
e9845f9cfdd56a580c47fdc4adadbe849c016481
[]
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,040
py
# # The Next Number # def get_next( n ) : digits = [ int( x ) for x in str( n ) ] is_max = True for i in xrange( len( digits ) - 1 ) : if digits[ i ] < digits[ i + 1 ] : is_max = False break if is_max : min_dig = 10 min_i = 0 for i i...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
c6b89d543271fd5c2901b6b2f61e815b57950fd8
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/virtualmachineimages/__init__.py
25800157d3eb872a6b6c3e4b15459943e753f458
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
311
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** # Make subpackages available: from . import ( latest, v20180201preview, v20190201preview, v20190501preview, v20200214, )
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
227875271cc979322bc01403fd9de5770b57f9b1
f3b233e5053e28fa95c549017bd75a30456eb50c
/bace_input/L7C/7C-7G_MD_NVT_rerun/set_6.py
b025678738081758a6fcfed7a9a649620a0566bb
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/bace/L7C/MD_NVT_rerun/ti_one-step/7C_7G/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_6.in' temp_pbs = filesdir + 'temp_6.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
88e9543bc5c42262c339e1e406e2fb38de68104a
5a7e67c5272a52e04b8250ddb2e38fff99926f97
/演讲目录/转盘.py
fe60943f101678e9c6102c7dcb8e9a611c3de5c2
[]
no_license
gitshangxy/tutorial
b45dd7039b34d3a7c4ea7d223cb51ca28fc2f95c
6259eabe9b863ddb0dc291387b4f0ae1ad5fa9a0
refs/heads/master
2022-12-12T21:10:15.180042
2019-02-27T13:32:59
2019-02-27T13:32:59
164,381,503
1
0
null
null
null
null
UTF-8
Python
false
false
3,229
py
import tkinter # 导入线程模块 import threading import time # 导入代码的sleep 代码休眠 root = tkinter.Tk() root.title('大转盘') root.minsize(300, 300) # 摆放按钮,位置 btn1 = tkinter.Button(root, text='葡萄', bg='red') btn1.place(x=20, y=20, width=50, height=50) btn2 = tkinter.Button(root, text='鸭梨', bg='white') btn2.place(x=90, y=20, width=5...
[ "2765970564@qq.com" ]
2765970564@qq.com
d1e7f5c0eb10facd934fec44d137c264508d157c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2577/60593/255888.py
f83655fbb857b423a4c1c3660a2adf83d69629ac
[]
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
604
py
from typing import List class Solution: def jobScheduling(self, startTime: List[int], endTime: List[int], profit: List[int]) -> int: H = sorted(zip(startTime, itertools.repeat(1), endTime, profit)) res = 0 while H: t = heapq.heappop(H) if t[1]: heapq.h...
[ "1069583789@qq.com" ]
1069583789@qq.com
537e9da86a363ea41cf913ef4a75e189d52ab84f
08c8bf9ea15094eee96df1a42d1d222362b5dc7a
/src/dicom_parser/utils/plane.py
f3382da98b2bfad3d32770b774a7da31c31ce90d
[ "MIT" ]
permissive
open-dicom/dicom_parser
51801fc9e86379e470308b28f05b9520315c82fc
8f9224dfb1e12ee52aa17d520f10e169fe400391
refs/heads/main
2023-04-07T01:21:31.390019
2023-03-15T12:48:23
2023-03-15T12:48:23
241,392,223
12
9
MIT
2023-03-15T12:48:27
2020-02-18T15:09:51
Python
UTF-8
Python
false
false
160
py
""" Definition of the :class:`Plane` Enum. """ from enum import Enum class Plane(Enum): AXIAL = "Axial" CORONAL = "Coronal" SAGITTAL = "Sagittal"
[ "z.baratz@gmail.com" ]
z.baratz@gmail.com
39ce1a72c370aad883c0674029ade95549786733
fb1b1c2d3964f5678c0e3a74d7339f6c4861526f
/weatherapi.py
b0937bce4464484c0176e7f4825063678fcd762b
[]
no_license
mabordon/seminarioitba
f10d4f60ef66972697732156e0d2b6bba97ec15e
001379b2f3b8c8222cbe1859ebfdb36d29bc4b8b
refs/heads/main
2023-03-02T18:53:40.281638
2021-02-08T18:18:02
2021-02-08T18:18:02
330,523,383
0
2
null
2021-01-30T22:02:25
2021-01-18T01:24:57
Python
UTF-8
Python
false
false
622
py
import requests import json from itbatools import get_api_property_hook class WeatherApi: def __init__(self): self._propertyhook=get_api_property_hook() def get_weather_info(self): response = requests.request("GET", self._pr...
[ "maximiliano.bordon@gmail.com" ]
maximiliano.bordon@gmail.com
5da6f76724892eb9efb0c2ffbb0821b3792bdd0e
43e53df2f2bc1779c2896541940a235e66a02b02
/day13/songdan_digui.py
1819b3a4eadbe5ba0823a4b04f35a1a9a014654b
[]
no_license
songdanlee/python_code_basic
ddb3276b0473a261423c43d5d8e7a1ff038d5c51
f32cd4dc9670e55ffa6abe04c9184bfa5d8bbc41
refs/heads/master
2020-07-14T21:05:30.471486
2019-08-30T14:55:51
2019-08-30T14:55:51
205,402,606
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
def digui(n): print(n) if n == 1: return digui(n - 1) # digui(5) def digui2(n, cur=1): print(cur) if cur == n: return digui2(n, cur + 1) digui2(5)
[ "2533636371@qq.com" ]
2533636371@qq.com
36b18576a92258fc9b4cbf8cb315bb2d9e86a5b7
e43bb6ea66d02b573ae5a17f9b933082736718e3
/backend/models/publisher.py
f4fc228decefa66b9bb4f17d37df1ad8cbe57c04
[]
no_license
bhaveshAn/skoobe-task
6c95b6791bca8ef143fa044e85a612f863ec885c
60a04c8dc2519bc8d95983a97b040bb72eb47733
refs/heads/master
2020-03-12T02:13:23.548014
2018-04-20T18:04:35
2018-04-20T18:04:35
130,396,734
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
from db import db class Publisher(db.Model): __tablename__ = 'publisher' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(80)) weight = db.Column(db.Integer) def __init__(self, name, weight): self.name = name self.weight = weight def save(self)...
[ "bhaveshanand7@gmail.com" ]
bhaveshanand7@gmail.com
956943316f9a35dc8efb1f58246ac1f29101ac0d
d833487ba7a78e900ce535d60c123986ab5ebfee
/Binary Trees/8. All Kinds Of Node Depths/Solution2.py
09de6a404c52f1f137e3d3607146b18ad62ab3d2
[]
no_license
ceteongvanness/Algorithm-Python
b71af3bca4d2573f4a0d18dc991012b996746d6a
0151e7bac3f4032bbc76caa209bb63cdfa8a581e
refs/heads/master
2023-01-31T04:17:22.425719
2020-12-14T05:21:15
2020-12-14T05:21:15
263,880,376
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
def allKindsOfNodeDepths(root): if root is None: return 0 return allKindsOfNodeDepths(root.left) + allKindsOfNodeDepths(root.right) + nodeDepths(root) def nodeDepths(node, depth=0): if node is None: return 0 return depth + nodeDepths(node.left, depth + 1) + nodeDepths(node.right, depth + 1) # This is the class...
[ "ceteongvanness@hotmail.com" ]
ceteongvanness@hotmail.com
de42193c4e6c19aaafe7e3cab29d421bce7c8b2b
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/stdlib-big-3224.py
3f38331c7ce7a3a6f55800588bc9872f4fd4a3c3
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
8,999
py
# ChocoPy library functions def int_to_str(x: int) -> str: digits:[str] = None result:str = "" # Set-up digit mapping digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"] # Write sign if necessary if x < 0: result = "-" x = -x # Write digits using a recursive call ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
3eeff7fffd9e1435bec9df575bdb54259278f6e6
0cf3a74494ed92bcdeaf0220ad44475c1b6b2c1c
/airflow/providers/amazon/aws/transfers/dynamodb_to_s3.py
051705321c88583349b087535eb2a60950a90e86
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
bolkedebruin/airflow
064a0c32dff267f586c3fd4dc4beaae12273d180
e1fe30c70d0fe9c033db9daf9d4420f7fa815b2d
refs/heads/master
2023-06-09T11:37:57.734560
2022-02-23T12:38:27
2022-02-23T12:38:27
38,505,714
2
7
Apache-2.0
2022-03-01T01:22:16
2015-07-03T18:27:44
Python
UTF-8
Python
false
false
6,027
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
bolkedebruin.noreply@github.com
bd38a87c39a0b515aa0d06ae1154c6ee38789b46
b54b6168ba35ce6ad34f5a26b5a4a3ab8afa124a
/kratos_2_2_0/applications/structural_application/test_examples/cantilever2d.gid/cantilever2dstatic_pardiso.py
6d17a1f64523dfe2edfe0a93ce1444904a1186f9
[]
no_license
svn2github/kratos
e2f3673db1d176896929b6e841c611932d6b9b63
96aa8004f145fff5ca6c521595cddf6585f9eccb
refs/heads/master
2020-04-04T03:56:50.018938
2017-02-12T20:34:24
2017-02-12T20:34:24
54,662,269
2
1
null
null
null
null
UTF-8
Python
false
false
3,423
py
################################################################## ################################################################## #setting the domain size for the problem to be solved domain_size = 2 ################################################################## ################################################...
[ "pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a" ]
pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a
fddad4d9aa4ddf78b4cdcc1ab3d03ae8f702f7c4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02886/s977520988.py
4909b2240f0be25cb4b63a8616d6594ac7f19fb3
[]
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
150
py
import itertools n = int(input()) Tako = list(map(int, input().split())) ans = 0 for x,y in itertools.combinations(Tako,2): ans += x*y print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
41636e0e99be443fdda150fe1fc825fde01a0315
05b24701576cc5d470b6ab49b25f966d3764c2d2
/venv/Lib/site-packages/pip/_vendor/distlib/_backport/shutil.py
bee31f2606bf435659cf3c5267f1929343860732
[ "MIT" ]
permissive
taneemishere/Spam-Comment-Detector
e80d27cdc679ad55a774052c9fa8f897fe38a514
b0c75cc00ef584a571ab1b2b579a6016b3504792
refs/heads/main
2023-01-24T01:06:57.299863
2020-11-14T05:29:58
2020-11-14T05:29:58
305,711,846
2
1
MIT
2020-11-12T07:03:38
2020-10-20T13:10:41
Jupyter Notebook
UTF-8
Python
false
false
25,701
py
# -*- coding: utf-8 -*- # # Copyright (C) 2012 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # """Utility functions for copying and archiving files and directory trees. XXX The functions here don't copy the resource fork or other metadata on Mac. """ import os import sys import stat from os...
[ "taneemishere@gmail.com" ]
taneemishere@gmail.com
d26ec273370bfa28ec700b67a0376f44423aadfe
8afb5afd38548c631f6f9536846039ef6cb297b9
/_REPO/APRESS/practical-python-ai-projects/Apress-AI-master/test_blend_multi.py
75cb7383086d7a5c525ddd69499ea452da34817f
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
2,814
py
from blend_multi import ( gen_data_content, gen_data_target, gen_data_cost, gen_data_inventory, solve_model, ) def main(): import sys import random import tableutils m = 9 n = 7 k = 5 if len(sys.argv) <= 1: print("Usage is main [content|target|cost|inventory|ru...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
b15766821cdea5298e4f0dacccb8662796266fea
e7efae2b83216d9621bd93390959d652de779c3d
/weblogic/tests/test_check.py
214a532c52564c9d0e08e20c3b76c25f2ff19dc6
[ "BSD-3-Clause", "MIT", "BSD-3-Clause-Modification", "Unlicense", "Apache-2.0", "LGPL-3.0-only", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "CC0-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
DataDog/integrations-core
ee1886cc7655972b2791e6ab8a1c62ab35afdb47
406072e4294edff5b46b513f0cdf7c2c00fac9d2
refs/heads/master
2023-08-31T04:08:06.243593
2023-08-30T18:22:10
2023-08-30T18:22:10
47,203,045
852
1,548
BSD-3-Clause
2023-09-14T16:39:54
2015-12-01T16:41:45
Python
UTF-8
Python
false
false
625
py
# (C) Datadog, Inc. 2021-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import pytest from datadog_checks.dev.jmx import JVM_E2E_METRICS_NEW from datadog_checks.dev.utils import get_metadata_metrics from .metrics import METRICS @pytest.mark.e2e def test(dd_agent_check): ...
[ "noreply@github.com" ]
DataDog.noreply@github.com
e007799002774ad5000e79c917053bf3e2e75dde
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_22401.py
e725cffaeee4003f008f5fdd4a3e7708abe5bf9a
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,846
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
8c810c73d5aebc5379e8a9178f1f180256e2afee
57c8469273463fba71d8a826b968590fbd9c84a9
/nbt/writefiles/writefiles.py
4055624dc5dfec4bea7ea01fadeda930cf450006
[ "MIT" ]
permissive
fcoolish/All4NLP
69cc9e6d6cd8ceeca5f0c3022caeeca8951b48a0
061f5b062eb89b6fc2270d5c89bcaf3a1f3c9f98
refs/heads/master
2020-07-02T03:46:23.626256
2019-08-09T06:33:40
2019-08-09T06:33:40
201,406,639
1
0
MIT
2019-08-09T06:35:57
2019-08-09T06:35:57
null
UTF-8
Python
false
false
462
py
import jieba def write2txt(file, datalist, lenneed=False, MIN=8, MAX=32, listlen=True): with open(file, 'w') as f: for line in datalist: if lenneed: if listlen: lenline = len(jieba.lcut(line)) else: lenline = len(line) ...
[ "haoshaochun@gmail.com" ]
haoshaochun@gmail.com
7b09b6231855e34ff1c0ef936931f9d28033cd24
8ef8e6818c977c26d937d09b46be0d748022ea09
/cv/pose/alphapose/pytorch/detector/tracker_cfg.py
b33c316dfecae0386b7b8afa8262dc4930502c75
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Deep-Spark/DeepSparkHub
eb5996607e63ccd2c706789f64b3cc0070e7f8ef
9d643e88946fc4a24f2d4d073c08b05ea693f4c5
refs/heads/master
2023-09-01T11:26:49.648759
2023-08-25T01:50:18
2023-08-25T01:50:18
534,133,249
7
6
Apache-2.0
2023-03-28T02:54:59
2022-09-08T09:07:01
Python
UTF-8
Python
false
false
280
py
from easydict import EasyDict as edict cfg = edict() cfg.CONFIG = 'detector/tracker/cfg/yolov3.cfg' cfg.WEIGHTS = 'detector/tracker/data/jde.1088x608.uncertainty.pt' cfg.IMG_SIZE = (1088, 608) cfg.NMS_THRES = 0.6 cfg.CONFIDENCE = 0.4 cfg.BUFFER_SIZE = 30 # frame buffer
[ "mingjiang.li@iluvatar.ai" ]
mingjiang.li@iluvatar.ai
3093dbb9b5d0b08e32d03e325f699f3b93d753d3
75dff087b6bec301193b2c145579d38b28249d22
/Leetcode_Algorithm/Python3/437_Path_Sum_III.py
d6574dd72d6d889a4f64305297b93de84f4be463
[]
no_license
ChihYunPai/Data-Structure-and-Algorithms
2d3d930d8374b62287f7cc8c3741a1d7b3d227b6
27a85e20605393a5eca3f8bd7d42c389612493d5
refs/heads/master
2023-06-07T04:04:57.186920
2021-07-03T03:28:29
2021-07-03T03:28:29
119,465,269
0
0
null
null
null
null
UTF-8
Python
false
false
1,540
py
""" You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need to start or end at the root or a leaf, but it must go downwards (traveling only from parent nodes to child nodes). The tree has no more than 1,000 nodes and the val...
[ "tonypaiwhite@gmail.com" ]
tonypaiwhite@gmail.com
e955e8dba4fa8b7c83876490dd570be188aa3522
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03151/s425619458.py
a50649e7c76f210d72664abd7fef814637b91342
[]
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
471
py
N = int(input()) A = list(map(int, input().split())) B = list(map(int, input().split())) diff = [0] * N neg = [] pos = [] for i in range(N): diff[i] = A[i] - B[i] if diff[i] < 0: neg.append(diff[i]) else: pos.append(diff[i]) if sum(diff) < 0: print(-1) exit(0) tobe_supplied = sum(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f60d16497e0d9346c1c13a400dda2abc28b8d7a2
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2311/60763/319765.py
f8e65fbb87eb5fa9379a0e1a26775308f74d9ac2
[]
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
951
py
#include <iostream> #include <sstream> #include <vector> #include <string> #include <iterator> #include <algorithm> #include <numeric> using namespace std; void sumtree(vector<int> &inorder, int left, int right){ int mid = (left + right)/2; if(mid == left) { inorder[mid] = 0; return; } ...
[ "1069583789@qq.com" ]
1069583789@qq.com
c5ee38e527a3f33a828abc90ffe22a4974218edf
4cf8bf7b45475082550f8d4e9088a80e5e754603
/AprimeAlAlpha1/Source/MadWeight_File/Python/madweight.py
2b9aae1c1d734c63db1878a18a2b23b075251d50
[]
no_license
JeffersonLab/BDXEventGenerator
8c73b5b664415139f8fae64f85d63287d8cf02b9
c77b09fda48877ef6f1d2db85237b220f696e512
refs/heads/master
2021-01-15T08:53:15.928558
2019-04-01T06:19:14
2019-04-01T06:19:14
24,151,152
1
0
null
null
null
null
UTF-8
Python
false
false
5,113
py
#!/usr/bin/env python #Extension import string import sys import os import re import time import stat # patch if symbolic directory replace by real file sys.path.append('./Source/MadWeight_File/Python') sys.path.append('../Source/MadWeight_File/Python') #end patch import write_MadWeight import create_param import Card...
[ "andrea.celentano@ge.infn.it" ]
andrea.celentano@ge.infn.it
3f068ea9c2c2d07d94a1ea533459601b4ea10054
6f8b801994529955fe16c7e2d059355f07e3f0d4
/model/model_v2 - onechild/experiments/EITC/eitc_param_exp_4.py
0bfec23d7235f117b86786ec6d3116d2038eb781
[]
no_license
jorginho84/DDCM-NH
5e6578c216356af9d421b70cac11a249e12ea394
e78478ca5c3796be8e590cb893b3b61d6455528f
refs/heads/master
2021-01-12T11:44:48.128404
2019-12-24T13:06:00
2019-12-24T13:06:00
72,445,038
1
1
null
2019-11-19T18:14:01
2016-10-31T14:35:47
Python
UTF-8
Python
false
false
1,393
py
""" exec(open("/home/jrodriguez/NH_HC/codes/model_v2/experiments/EITC/eitc_param_exp_4.py").read()) This file generates a list of EITC parameters Each element of the list (0-9) corresponds to a dictionary of parameters of the EITC (1995-2003), where: -t=0 <=> 1995 -r1,r2: phase-in and phase-out rates -b1,b2: minimum...
[ "jp.rodriguez.osorio@gmail.com" ]
jp.rodriguez.osorio@gmail.com
46c11a51acb5bcbe68bb6369dc7ce51f61253372
2d5171ac7f2640ed73b48aebf4b96e29d5cad818
/VC5/C.py
b138883a5fa5b6f425ed50af690b8dc5da289a00
[]
no_license
kentahoriuchi/Atcorder
d7b8308424175f32d47f24bb15303695780e1611
f6449d4e9dc7d92210497e3445515fe95b74c659
refs/heads/master
2023-06-06T09:26:46.963642
2021-06-13T15:08:04
2021-06-13T15:08:04
255,396,409
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
N,M = list(map(int, input().split())) ans = 1 for i in range(2,100000): ans += i*((1-(1/(2**M)))**(i-1)) if int(ans*((N-M)*100+M*1900)/(2**M))%10 == 0: print(int(ans*((N-M)*100+M*1900)/(2**M))) else: print(int(ans*((N-M)*100+M*1900)/(2**M))+1)
[ "dorahori_108@yahoo.co.jp" ]
dorahori_108@yahoo.co.jp
ac1079d68d0871f08058ad4ec2969019354f59dd
5ae3caf49a20e8307870a597e09d41d4f879c874
/tests/test_tags.py
4d1580cce5a697237d9dc44aaedb595480621a04
[ "Apache-2.0" ]
permissive
dogsheep/github-to-sqlite
df9fb81cc19ffab68a8d8be219f8707f3d12ccbd
56a918f6a6285855fb1bd086b60b44144279a95a
refs/heads/main
2023-05-12T05:35:59.959831
2023-04-26T17:36:17
2023-04-26T17:36:17
207,052,882
322
34
Apache-2.0
2022-09-06T13:21:43
2019-09-08T02:50:28
Python
UTF-8
Python
false
false
1,119
py
from github_to_sqlite import utils import pytest import pathlib import sqlite_utils from sqlite_utils.db import ForeignKey import json @pytest.fixture def tags(): return json.load(open(pathlib.Path(__file__).parent / "tags.json")) @pytest.fixture def repo(): return json.load(open(pathlib.Path(__file__).pare...
[ "swillison@gmail.com" ]
swillison@gmail.com
d89ca6d58afa4de9975ef222f5ce06162562b919
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/392/usersdata/333/71240/submittedfiles/formula.py
288eed44a9b92d1ae32c868e2c37f53c41608d8d
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
# -*- coding: utf-8 -*- p = int(input('digite o valor de p? :')) i = int(input('digite o valor de i? :')) n = int(input('digite o valor de n? :')) v = p * ((1+i)^n) - 1)/2
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
51ff465887058b4ec108923ce60a150e458ccc97
fb06672d267e8dd85e719b0fd9cbb1f4eb81cfb5
/version/CXRNetv0.10.py
7dcacf79b6a4c1014c01d47aab57067e1fab922d
[]
no_license
ncolab/CXRDC
800bd9ee735725445d9a132ba8a03019e3551cd8
900c3f5638f16a409df816c936b716242496c5c1
refs/heads/master
2023-03-23T09:07:03.017015
2021-03-19T08:15:11
2021-03-19T08:15:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,544
py
# encoding: utf-8 """ Attention-Guided Network for ChesstXRay Author: Jason.Fang Update time: 28/12/2020 """ import sys import re import numpy as np import random import torch import torch.nn as nn import torchvision import torch.nn.functional as F import torch.utils.model_zoo as model_zoo from collections import Orde...
[ "sharpsword@163.com" ]
sharpsword@163.com
332f677a67d4ccc2127b1b8e382fca0a11c9da1d
f281d0d6431c1b45c6e5ebfff5856c374af4b130
/DAY200~299/DAY261-BOJ13701-중복 제거/guno.py
e318da1229d2145da38a903955b7f8d9c1a75f9e
[]
no_license
tachyon83/code-rhino
ec802dc91dce20980fac401b26165a487494adb4
b1af000f5798cd12ecdab36aeb9c7a36f91c1101
refs/heads/master
2022-08-13T09:10:16.369287
2022-07-30T11:27:34
2022-07-30T11:27:34
292,142,812
5
6
null
null
null
null
UTF-8
Python
false
false
542
py
import sys mod = 1000 n = (1<<25) // mod + 1 a = [0]*n d = {str(i) for i in range(10)} flag=False while True: b = '' while True: ch = sys.stdin.read(1) if ch == ' ': break elif ch in d: b += ch else: flag=True break if flag: ...
[ "noreply@github.com" ]
tachyon83.noreply@github.com
ccfc87a00eaa425c9c2d64f9f7ac395dd120deec
acb944fb8072f821679bd484e24bf36cccebce74
/ptp/utils/statistics_aggregator.py
13a88e4c3ef4e83b8ccd6cc274a0f5eba0f8a972
[ "Apache-2.0" ]
permissive
linhduongtuan/pytorchpipe
a77ca6dbdd83e67a002e8452db9eb291c8f1ba93
355106e77e7a95714b4fa40b09ddc06f6943f702
refs/heads/master
2020-06-15T17:37:16.574895
2019-04-12T20:28:52
2019-04-12T20:28:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,732
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright (C) IBM Corporation 2018 # # 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 # # U...
[ "tkornut@us.ibm.com" ]
tkornut@us.ibm.com
0aa94952ea0844efbcd6067795eab0ced51c9e1c
1fc638bf8b485f6a0466da096a51038c2e10dad6
/aidu_gui/src/aidu_gui/retrieve_delivery.py
4a464e503efe5e5f34e3cfbebd755bc07bc66e32
[ "MIT" ]
permissive
MartienLagerweij/aidu
a2621288e78cc7c0d9df821ab60f597818158836
a9b6e5a61f20bd60a7773495ba254e1bded1d7a1
refs/heads/master
2021-01-10T19:50:18.576658
2014-01-31T14:52:14
2014-01-31T14:52:14
30,254,215
0
0
null
null
null
null
UTF-8
Python
false
false
2,907
py
#!/usr/bin/env python __author__ = 'Rolf Jagerman' from PySide import QtGui import os from authentication import AuthenticationListener, AuthenticationClient from loadui import loadUi from config import UI_DIRECTORY from drawers import Drawers class RetrieveDelivery(QtGui.QFrame, AuthenticationListener): """ ...
[ "rjagerman@gmail.com" ]
rjagerman@gmail.com
20b47bc24caa832ef8fd82103c8232230cbdc749
9ebbbcf2e7a887c1863bdcb4a444bf7438660e22
/gvzhf/p12/p1222.py
d86e078380e30f708b177ab7f706cc3a4c1aca79
[]
no_license
nazarov-yuriy/contests
a0a070bd55b0b20dd03cf96e50eb06aa9558525e
8f7527adee017f986089a4586947bdfa68a1b93c
refs/heads/master
2021-06-18T07:34:14.967575
2021-04-04T14:07:45
2021-04-04T14:07:45
46,584,643
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
x = int(input()) if x==1: print(1) elif x%3==1: x=int((x-4)/3) print(4*3**x) elif x%3==2: x=int((x-2)/3) print(2*3**x) else: x=int(x/3) print(3**x)
[ "nazarov.yuriy.pavlovich@gmail.com" ]
nazarov.yuriy.pavlovich@gmail.com
b11bee24be255e88d96e99ee159de86fee08068c
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories_2to3/160523/kaggle_Otto-master/new/src/1st_level/svm.py
dd6e9c7c890dfa5a3e8304fc3739aa2da01ffe71
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
1,967
py
import pandas as pd import numpy as np import ml_metrics as metrics from sklearn.calibration import CalibratedClassifierCV from sklearn import svm from sklearn.multiclass import OneVsRestClassifier from sklearn.cross_validation import StratifiedKFold from sklearn.metrics import log_loss print("read training d...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
d36247e5773f37e483b725c9e89b593a16cba174
efde54300001ea7d774b18a255447fab4024f617
/python/src/scripts/CalibrateTicksPerMm.py
503ee35a09b9dcff9a643da0e8e92e7f963216a5
[]
no_license
werobot-france/eurobot2020-main
39dac4db05e7eaa387f52c791fa214368fee9357
f0dbb17e830c7d70283bebdbdc246b375ef9c863
refs/heads/master
2023-05-14T17:55:58.641570
2020-10-29T16:33:13
2020-10-29T16:33:13
240,732,046
0
0
null
2023-05-08T01:20:26
2020-02-15T14:59:23
Python
UTF-8
Python
false
false
570
py
from math import * from ..API import API class CalibrateTicksPerMm(API): def run(self): distance = 2000 self.positionWatcher.setPos(0, 0, -pi/2) # STEP 1: on fait avancer le robot jusqu'a ce qu'il touche la bordure self.navigation.goTo(x=0, y=-200, speed=35, stopOnSlip=True) # S...
[ "spamfree@matthieubessat.fr" ]
spamfree@matthieubessat.fr
fad04338e7f378728ba39a7deb9c07104d045fa7
f070c3acba7da2254adc2c12f80e54b830396d40
/test/venv/bin/pyrsa-verify
68583bdb4a3f80701f265421b516f2f7e80aa339
[]
no_license
liruidesysu/cloudCluster
241a6ac472ecce9c6b4c966a44304128d258fc9b
fc558b464c3052f59cb1e6326aa22bade556b0c8
refs/heads/master
2022-11-06T03:51:31.954607
2019-08-22T12:47:53
2019-08-22T12:47:53
200,144,454
0
1
null
2022-03-29T21:56:02
2019-08-02T01:42:17
Python
UTF-8
Python
false
false
247
#!/home/liruide/Desktop/cloudCluster/venv/bin/python # -*- coding: utf-8 -*- import re import sys from rsa.cli import verify if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(verify())
[ "liruide_read@outlook.com" ]
liruide_read@outlook.com
e82d03c032d5b375ed70db03899e47d33c13c136
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_221/ch76_2020_04_12_12_16_46_136720.py
797e87951bd3f7c00d3e6022fb1f425e16d619b1
[]
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
179
py
def aniversariantes_setembro(nome_data): setembro = {} for nome,data in nome_data.items(): if data[4] == '9': setembro[nome] = data return setembro
[ "you@example.com" ]
you@example.com
8568b967e7fac4f541171e40b58e22e4c44a9d14
2049bda43e392d5f5981fbfdb70090ba226e4ef8
/apps/catalogue/cache.py
4f16ec48d7ef8939c058999752f3ae0da385f74e
[]
no_license
embedded1/django-package-forwarding
2ef84a1fde5ba6817d42d89f983512bdc3d77bc3
8c3286e9a7da8f4ae0401a81c8037585b3bb7ba6
refs/heads/master
2020-06-22T17:05:36.637695
2019-07-26T09:34:40
2019-07-26T09:34:40
197,738,052
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from django.core.cache import cache class ProductCache(object): @staticmethod def store_product_status(key, status): cache.set(key, status, timeout=60*60*24*30)#30 days @staticmethod def get_product_status(key): return cache.get(key) @staticmethod def delete_product_status(ke...
[ "asili@usendhome.com" ]
asili@usendhome.com
e935cd9e122f8c98c7e66ad32669f341aa8b053e
2e9e994e17456ed06970dccb55c18dc0cad34756
/atcoder/arc/041/p_a.py
7277f5edd4212f91dbddd0e9f9439326fa9f33d5
[]
no_license
ksomemo/Competitive-programming
a74e86b5e790c6e68e9642ea9e5332440cb264fc
2a12f7de520d9010aea1cd9d61b56df4a3555435
refs/heads/master
2020-12-02T06:46:13.666936
2019-05-27T04:08:01
2019-05-27T04:08:01
96,894,691
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
def solve(front, back, turn): if back >= turn: return front + turn # 裏返し切れなかった数を元に戻す return front + back - (turn - back) if __name__ == '__main__': front, back = map(int, input().split()) turn = int(input()) print(solve(front, back, turn))
[ "kntsmy@hotmail.co.jp" ]
kntsmy@hotmail.co.jp
3ef13e59321668d155023dc5197ea81b43496646
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03846/s600671259.py
0beca340d24e47296efc559da8de47c32b493946
[]
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
346
py
import sys from collections import Counter MOD = 10 ** 9 + 7 n, *a = map(int, sys.stdin.read().split()) def main(): c = Counter(a) if n & 1: if c.get(0, 0) != 1: print(0); return for i in range(1 + (n & 1), n, 2): if c.get(i, 0) != 2: print(0); return print(pow(2, n // 2, MOD)) if __name_...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
81ef280214190d98f8eb593474278c3471647f1d
5b3bf81b22f4eb78a1d9e801b2d1d6a48509a236
/leetcode/221.py
30564742fdda8f52a429fe323ac970483bd6cc06
[]
no_license
okoks9011/problem_solving
42a0843cfdf58846090dff1a2762b6e02362d068
e86d86bb5e3856fcaaa5e20fe19194871d3981ca
refs/heads/master
2023-01-21T19:06:14.143000
2023-01-08T17:45:16
2023-01-08T17:45:16
141,427,667
1
1
null
null
null
null
UTF-8
Python
false
false
517
py
class Solution: def maximalSquare(self, matrix: List[List[str]]) -> int: n = len(matrix) assert n > 0 m = len(matrix[0]) assert m > 0 dp = [[0] * (m + 1) for _ in range(n + 1)] result = 0 for i in range(1, n + 1): for j in range(1, m + 1): ...
[ "okoks9011@gmail.com" ]
okoks9011@gmail.com
13f1723d49c62e274358b1d0fc47a9e68590232b
ca2407cc48f35d3f8f75e8ae65e188b672838e45
/sub_perf.py
ef20dc20d113970bd4e7e2e072c5de1b8da8a1f2
[]
no_license
majek/pats
1ee7c07b4c42ad6c110e26bbb312f43fcd4d1fdd
ebed58faa2ab14c0a8f5e6de840d02aefd2cbed1
refs/heads/master
2023-08-20T15:05:44.525076
2010-12-07T16:40:17
2010-12-07T16:40:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
#!/usr/bin/env python import os import sys import time sys.path.append(os.path.join('..','puka')) import pats sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0) loop=100000 loop_hash=10000 received = 1 start = None def main(): p = pats.Pats('amqp:///') p.x_connect() def on_test(body, _r, _t): ...
[ "majek04@gmail.com" ]
majek04@gmail.com
0ae459d8937e307aee672023dbbfe0c90e5afdc8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02716/s873218513.py
74648b79e817297e38b7ab5d4b150fc0044d2c1e
[]
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
609
py
# dpでいけそう n = int(input()) a = list(map(int, input().split())) INF = 10**16 ans = -INF a = [0, 0, 0, 0] + a dp = [[-INF for _ in range(n+4)] for _ in range(3)] dp[0][2] = 0 for i in range(4, len(a)): dp[2][i] = max(dp[2][i], dp[1][i-3] + a[i], dp[0][i-4] + a[i], dp[2][i-2] + a[i]) dp[1][i] = max(dp[1][i], dp[...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8f92699b057bf5e05ae209593b26affeb7f80fdc
786de89be635eb21295070a6a3452f3a7fe6712c
/CorAna/tags/V00-00-11/src/ConfigParameters.py
402679bf317cfd918cec0aa4a32eabe3443e26b4
[]
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
10,584
py
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # Module ConfigParameters... # #------------------------------------------------------------------------ """Is a base class with infrastructure for storage for configuration parameters....
[ "dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
28040ad768f0c71337fe159ced6dadf4013df492
ba0cbdae81c171bd4be7b12c0594de72bd6d625a
/MyToontown/py2/direct/gui/DirectRadioButton.pyc.py
da9b871d784660d7c3b23955aa47c43e30519fcc
[]
no_license
sweep41/Toontown-2016
65985f198fa32a832e762fa9c59e59606d6a40a3
7732fb2c27001264e6dd652c057b3dc41f9c8a7d
refs/heads/master
2021-01-23T16:04:45.264205
2017-06-04T02:47:34
2017-06-04T02:47:34
93,279,679
0
0
null
null
null
null
UTF-8
Python
false
false
7,157
py
# 2013.08.22 22:14:17 Pacific Daylight Time # Embedded file name: direct.gui.DirectRadioButton __all__ = ['DirectRadioButton'] from pandac.PandaModules import * import DirectGuiGlobals as DGG from DirectButton import * from DirectLabel import * class DirectRadioButton(DirectButton): __module__ = __name__ ...
[ "sweep14@gmail.com" ]
sweep14@gmail.com
007064ba1611dc718cbb9b9c35370b92c10ff437
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02598/s970958990.py
ec9c775f39e8059b9af25f1f028b0615a96892e1
[]
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
295
py
import math n,k=map(int,input().split()) a=list(map(int,input().split())) x0=0 x1=10**9 while(1): sum=0 mid=(x0+x1)//2 for i in range(n): sum+=math.ceil(a[i]/mid)-1 if(sum<=k): x1=mid if(sum>k): x0=mid if(x0+1==x1): print(x1) break
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3508eaadca51c83e8f1aa2f6e4abbc67c25d853f
b204cddc90c19ad8d4587581b4d7ec0b0fed0f45
/level3/블록이동하기.py
1f7af587491824fa8f7c5df83e862f1838e8481f
[]
no_license
chaeonee/Programmers
db741c7c17b933ff2a42521d5bc1077532375021
f582ca16ec351f1f4678847949cb66e7544b9162
refs/heads/main
2023-04-20T13:50:46.722283
2021-05-06T09:44:16
2021-05-06T09:44:16
348,239,956
0
0
null
null
null
null
UTF-8
Python
false
false
3,949
py
from collections import deque def solution(board): answer = 0 N = len(board) visit = [[[False]*2 for _ in range(N)] for _ in range(N)] visit[0][0][0] = True q = deque() q.append([[0,0],[0,1],0]) while q: robot1, robot2, n = q.popleft() if robot2[0] == N-1 and ro...
[ "noreply@github.com" ]
chaeonee.noreply@github.com
3bc5eef5c837d7803f09b35c2be8241854665efd
811bf15a5bad488284300b6016c8b77f1e2daf24
/python/ray/tune/trainable/util.py
cac898afb89c2be47d71047d9a1c891e8b5a84bf
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
justinwyang/ray
8c102e00321e669b7e78488d38329e82195e7b58
6c356296a01ebf3d8ad0cab6058fb8c03ccbf8f6
refs/heads/master
2023-04-28T15:57:24.167579
2023-04-22T08:28:06
2023-04-22T08:28:06
172,777,393
0
0
Apache-2.0
2020-12-04T02:39:57
2019-02-26T19:37:12
Python
UTF-8
Python
false
false
19,859
py
import glob import inspect import logging import os import shutil import types from typing import Any, Callable, Dict, Optional, Type, Union, TYPE_CHECKING import pandas as pd import ray import ray.cloudpickle as pickle from ray.tune.execution.placement_groups import ( PlacementGroupFactory, resource_dict_to_...
[ "noreply@github.com" ]
justinwyang.noreply@github.com
0a15b7220cc5645e05c282df2e4a43238822938c
8e4f9a3dddc46c951812d27c6c77dfdacd31d976
/py3_env/bin/f2py3
374b08fdd85255eb998a01202de8e00245d1d2f1
[]
no_license
AllenMkandla/multivariate_linear_regression
447bec48a1bedd01403e11867ebfecaf3df2e2ad
f907756c4fcb020e0c52ad85d227e1c93aa5002f
refs/heads/master
2021-04-01T14:47:19.381613
2020-07-16T15:46:55
2020-07-16T15:46:55
248,194,492
0
0
null
null
null
null
UTF-8
Python
false
false
285
#!/home/allen/Documents/Projects/multivariate_linear_regression/py3_env/bin/python3 # -*- coding: utf-8 -*- import re import sys from numpy.f2py.f2py2e import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "allen.mkandla@umuzi.org" ]
allen.mkandla@umuzi.org
bc91436487be48d277e67d107506ae4ab950f536
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/I_to_M_Gk3_no_pad/pyramid_tight_crop_size256/pyramid_5side/bce_s001_tv_s0p1_L4/step11_L2345678.py
4911761e3f3a808b34f7ac41abfb3bf8a3707a23
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
25,316
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
ee4ba6c1b54efb053466338918b3de99db074562
3c88e65e76d8a41fca5bc469eb99117b996711f2
/pgadmin_old/pgadmin4-1.2/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/check_constraint/tests/test_check_constraint_delete.py
e01946db31ff2a9096eacdaabe72d1790cc77502
[ "PostgreSQL" ]
permissive
luvres/alpine
85591b77f0dbc328d89e028c22ef1479be33ffbe
05dc3e77cc8c454143525fed79e38bc38fc390f7
refs/heads/master
2021-01-11T15:48:48.478244
2017-10-31T15:30:32
2017-10-31T15:30:32
79,933,463
1
0
null
null
null
null
UTF-8
Python
false
false
3,744
py
# ################################################################# # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2017, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # # ################################################################## import uuid from regression im...
[ "luvres@hotmail.com" ]
luvres@hotmail.com
cf0539efbc095465ef739d2986a74902b14626be
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnnith.py
80c702b2f7a182c90e49403b2a27c68d916633c3
[]
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
295
py
ii = [('KembFFF.py', 3), ('RennJIT.py', 1), ('LeakWTI2.py', 1), ('KembFJ1.py', 1), ('LeakWTI3.py', 1), ('FitzRNS3.py', 1), ('LyttELD.py', 1), ('MarrFDI2.py', 1), ('AinsWRR.py', 1), ('GodwWLN.py', 1), ('BackGNE.py', 1), ('FitzRNS4.py', 2), ('NortSTC.py', 1), ('ThomWEC.py', 1), ('HowiWRL.py', 2)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
9e241d59e124cf11401e384d9dce4afe46c34f45
bacd935c40794254454743555fa260812f512898
/jax/_src/debugger/core.py
5a8f0e10940123b7ec0f50371918542e7116ea11
[ "Apache-2.0" ]
permissive
jacobjinkelly/jax
5f02f14c6a1107d2099ea33f8a0cc70f396f43bf
640e15fe070a887197143b76a19a3dced816c8df
refs/heads/master
2022-10-20T09:44:17.895904
2022-09-22T08:28:45
2022-09-22T08:29:14
207,571,818
0
0
Apache-2.0
2023-09-11T08:04:01
2019-09-10T13:47:30
Python
UTF-8
Python
false
false
7,506
py
# Copyright 2022 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "sharad.vikram@gmail.com" ]
sharad.vikram@gmail.com
2b74ea4cdf5e771f0102f522caa7bae1c63724a0
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/nilearn/2018/4/test_image.py
caaf95287a0e044ac30b754b1a5bf48d63db4fb6
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
24,686
py
""" Test image pre-processing functions """ from nose.tools import assert_true, assert_false, assert_equal, assert_raises from nose import SkipTest import platform import os import sys import nibabel from nibabel import Nifti1Image import numpy as np from numpy.testing import assert_array_equal, assert_allclose from n...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
18e72b6bd49e0326ed1bff0a38838042ea436aa4
2ecf5a1fa16226052b9c7bbd607fd9df50d0df7f
/61.py
75916aa6fdc91a2928dba0e694086adee4e6cc51
[]
no_license
samrithasudhagar/guvi
288421b091460fc9e4e5d89d50b716450da30ca3
f30706270acca5cf25eaf325c2c0f193636470b9
refs/heads/master
2020-04-15T04:58:42.881053
2019-02-02T15:05:36
2019-02-02T15:05:36
164,404,341
0
2
null
null
null
null
UTF-8
Python
false
false
90
py
s,n=map(str,input().split()) k="" for i in range(0,int(n)): k=k+str(s[i]) print(k) #i
[ "noreply@github.com" ]
samrithasudhagar.noreply@github.com
bdaf4439cf7e51f5a1938a3e2f43abf49cf53bcf
5b8f36a56d128c7eda60499925820854fd21c552
/Problems/Prime numbers/task.py
7f383c797989f25395382702cd8cb23c5e7ae87c
[]
no_license
sebastianczech/HyperSkill-Tic-Tac-Toe
8a237d3116c4de8365e30f8c5a050ae7c0166eae
99a62fe2fe6019ea1f84d39017459ce217f8eb49
refs/heads/master
2021-03-31T04:41:41.133525
2020-06-28T19:00:07
2020-06-28T19:00:07
248,077,677
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
prime_numbers = [k for k in range(1001) if k > 1 and all(k % i != 0 for i in range(2, k - 1))]
[ "sebaczech@gmail.com" ]
sebaczech@gmail.com
3f2fdc6cc01086635ab5a216253a608a24f759d4
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v10/enums/types/customizer_value_status.py
776afb2374d48275b698101d8dea650acf978d83
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
1,188
py
# -*- coding: utf-8 -*- # Copyright 2022 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" ]
GerhardusM.noreply@github.com
0f028f20ee0a31a93005c4432dc867268576f7f0
d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3
/chromium/build/config/fuchsia/build_symbol_archive.py
092566d3f06b7eecb056e7ca3ff7bfa752e8a040
[ "BSD-3-Clause" ]
permissive
Csineneo/Vivaldi
4eaad20fc0ff306ca60b400cd5fad930a9082087
d92465f71fb8e4345e27bd889532339204b26f1e
refs/heads/master
2022-11-23T17:11:50.714160
2019-05-25T11:45:11
2019-05-25T11:45:11
144,489,531
5
4
BSD-3-Clause
2022-11-04T05:55:33
2018-08-12T18:04:37
null
UTF-8
Python
false
false
2,761
py
#!/usr/bin/env python # # Copyright 2018 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. """Creates a compressed archive of binary symbols derived from the unstripped executables and libraries cataloged by "ids.txt".""" i...
[ "csineneo@gmail.com" ]
csineneo@gmail.com
886521ba3fc2e8992c73af31479c634fa625cc91
7d60588702280c7f8c6477e7703528bb860aaa4a
/py_fitness/py_fitness/taskapp/celery.py
56e7e97bdaefd0839705043c8ede25dc840a189e
[ "MIT" ]
permissive
audiolion/py-fitness
7e420c4ef6e10ff122fc4f30309cd428d4d5bc38
9e0ca785c73a07cb788685bbde6e840a7a2e3419
refs/heads/master
2021-05-01T10:16:22.214094
2017-01-02T02:03:51
2017-01-02T02:03:51
68,249,682
1
0
null
null
null
null
UTF-8
Python
false
false
2,114
py
from __future__ import absolute_import import os from celery import Celery from django.apps import apps, AppConfig from django.conf import settings if not settings.configured: # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.l...
[ "castner.rr@gmail.com" ]
castner.rr@gmail.com
f9896895c8ea6d52f49c2dec5454abb9fd488915
c074ce302e0a2a09ebe8b0a94e342380afbaa911
/beakjoon_PS/no10951.py
de785ac188929576ad74f00a31d9ea1d668dc067
[]
no_license
elrion018/CS_study
eeea7a48e9e9b116ddf561ebf10633670d305722
3d5478620c4d23343ae0518d27920b3211f686fd
refs/heads/master
2021-06-10T13:35:20.258335
2021-04-25T10:12:17
2021-04-25T10:12:17
169,424,097
1
0
null
null
null
null
UTF-8
Python
false
false
132
py
import sys while True: try: a, b = map(int, sys.stdin.readline().split()) print(a+b) except: break
[ "elrion018@gmail.com" ]
elrion018@gmail.com
67b78328d77ac7faae60c232f1a94499cefc98fe
c80ec1805a7e6cb1bd3f4b3e383ef4f4cf164765
/gen/filters/rules/place/_hasnoteregexp.py
83ce3f27682763930e0a1e44ff0f21234c7d5c0e
[]
no_license
balrok/gramps_addon
57c8e976c47ea3c1d1298d3fd4406c13909ac933
0c79561bed7ff42c88714edbc85197fa9235e188
refs/heads/master
2020-04-16T03:58:27.818732
2015-02-01T14:17:44
2015-02-01T14:17:44
30,111,898
2
1
null
null
null
null
UTF-8
Python
false
false
1,705
py
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2002-2006 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at you...
[ "carl.schoenbach@gmail.com" ]
carl.schoenbach@gmail.com
2c13f8399ddb0d21a8fe50562e8cef123b3f88dc
6e0001fb880d83d1d3e305e42acba93b85631838
/Point Diagrams/PD1V1/out1/v_SLSL3100SLSL301SLSL.py
9addc4af579898c7699e5a1497fe901b4f6dd68a
[]
no_license
pjalagna/Aryc2019
97b6de8248006bf19af527e4c1e35763b1277aaa
ece8ccf18305e6c65a59bee650b47b8730904bd0
refs/heads/master
2021-06-21T23:14:55.527195
2021-03-18T08:02:31
2021-03-18T08:02:31
205,817,944
0
1
null
2020-10-16T00:13:31
2019-09-02T09:03:22
Python
UTF-8
Python
false
false
423
py
# file v_SLSL3100SLSL301SLSL.py def main(objj,trace): if(trace == 1): xx = raw_input("begin v_SLSL3100SLSL301SLSL") retbox = [0,objj,trace] # init by type # set status to retbox[0] = 0 ok -1 ng or # retbox[0] = 0 # default is ok # process work goes here # ps push return cell objj['...
[ "PJAlagna@Gmail.com" ]
PJAlagna@Gmail.com
055e1301e7b1b446a96aab3fb25821db2154ee3d
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/TSZLMM/YW_TSZLMM_SHXJ_104.py
6388bcee44147c7d52fb5de9abb8a3746221acba
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
4,118
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/home/yhl2/workspace/xtp_test/m...
[ "418033945@qq.com" ]
418033945@qq.com
a5e42c0a160b15ed6293cd2542af7c357c585d2f
a9e608a9af7ccd94f4581b29c61e6cf0ac7a5080
/macOS/bee1.app/Contents/Resources/python/lib/python3.6/ctypes/test/test_libc.py
522b3e9199ec8d227a86dc79dd33af728765af52
[ "Python-2.0", "BSD-3-Clause" ]
permissive
leewonmoh/macrepo1
0d32ec61ee57af6b5018457dec5604848f246338
d8f15145fac127c1c7294f01ad39187f76b76ac2
refs/heads/master
2022-11-12T20:51:18.832798
2018-05-31T04:35:17
2018-05-31T04:35:17
134,810,313
0
1
BSD-3-Clause
2022-10-26T07:05:14
2018-05-25T06:01:32
Python
UTF-8
Python
false
false
1,061
py
import os import unittest from ctypes import * import _ctypes_test lib = CDLL(getattr(_ctypes_test, '__file__', os.environ['TEST_EXECUTABLE'])) def three_way_cmp(x, y): """Return -1 if x < y, 0 if x == y and 1 if x > y""" return (x > y) - (x < y) class LibTest(unittest.TestCase): def test_sqrt(self):...
[ "lee.wonmoh@gmail.com" ]
lee.wonmoh@gmail.com
faaeecbd4aa158b8c1e1db12bc48b57c4ae1f57b
2443f23d928a6b3516f810e3dfdf6f4b72aa0325
/st01.Python기초/py02프로그래밍기초/py02_10_Debug.py
d1a4bbb111d500a38fcbaf32ec8b61eae43baf9d
[]
no_license
syuri7/Python20200209
48653898f0ce94b8852a6a43e4e806adcf8cd233
5f0184d9b235ce366e228b84c663a376a9957962
refs/heads/master
2021-01-01T10:37:59.077170
2020-03-15T09:15:50
2020-03-15T09:15:50
239,241,118
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
# py02_10_Debug.py x = 100 x = x + 1 # 101 x = x + 1 # 102 print("x=", x) # x=102
[ "d@d" ]
d@d
9859a36a120848be71f0823e424dbebb9649279c
130215e73cd45824fc5b7b2bc85949ce03115f20
/py/rsyn0815m03h.py
2140ae24bc5958e4f0cf2e52f3fdc7cfa8997520
[]
no_license
felicitygong/MINLPinstances
062634bf709a782a860234ec2daa7e6bf374371e
1cd9c799c5758baa0818394c07adea84659c064c
refs/heads/master
2022-12-06T11:58:14.141832
2022-12-01T17:17:35
2022-12-01T17:17:35
119,295,560
2
1
null
null
null
null
UTF-8
Python
false
false
209,959
py
# MINLP written by GAMS Convert at 11/10/17 15:35:23 # # Equation counts # Total E G L N X C B # 2218 850 78 1290 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
[ "feligongcity17@gmail.com" ]
feligongcity17@gmail.com
aa449764d52118287c1fc3fa4711f16623b1b7b4
786de89be635eb21295070a6a3452f3a7fe6712c
/pyfilter/tags/V00-00-02/SConscript
b90f5b35b6ff8d41f219129c5334db4516c25d0c
[]
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
1,189
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # SConscript file for package pyfilter_cspad #------------------------------------------------------------------------ # Do not delete following line, it must be present in # SConscrip...
[ "ofte@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
ofte@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
1d09cc370bb9c6f779f6d0f5d67e379f649e2490
a33e380ba70fa915bd3a6199cf88dcfa38ca5fab
/backpack/extensions/firstorder/sum_grad_squared/conv3d.py
985b24dbd0d6f3cf430968e3ead63f56ce065402
[ "MIT" ]
permissive
f-dangel/backpack
1c90aaacad4569dd3153342ad68864466389767c
1ebfb4055be72ed9e0f9d101d78806bd4119645e
refs/heads/master
2023-08-14T05:49:31.904383
2023-07-12T18:17:34
2023-07-12T18:17:34
196,406,270
505
61
MIT
2023-09-05T14:06:32
2019-07-11T14:03:56
Python
UTF-8
Python
false
false
277
py
from backpack.core.derivatives.conv3d import Conv3DDerivatives from backpack.extensions.firstorder.sum_grad_squared.sgs_base import SGSBase class SGSConv3d(SGSBase): def __init__(self): super().__init__(derivatives=Conv3DDerivatives(), params=["bias", "weight"])
[ "noreply@github.com" ]
f-dangel.noreply@github.com
66e1b648989aa5b84355bb9b2f1cd156d7e34ea1
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Irinotecan_CSC_conc_for_sol_for_inf_SmPC.py
36e7f95c0bb231cd4c99628e51fbc7804dce8323
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,040
py
{'_data': [['Unknown', [['GI', u'Episodes of dehydration (associated with diarrhoea and/or vomiting) Constipation relative to irinotecan hydrochloride and/or loperamide Uncommon Pseudo-membranous colitis (one has been documented bacteriological: Clostridium difficile) Renal insufficiency, hypo...
[ "urudaro@gmail.com" ]
urudaro@gmail.com
9d3cad3812063273e893b4ede1e8dafcbcd82f60
f4713830c8519daca9d75ec692a6937ee03c74d4
/Problems/Algorithms/6. Zigzag Conversion/zigzag_conversion.py
1c906205c44af0263f6df229e5e1e6d6ec078629
[ "MIT" ]
permissive
xuedong/leet-code
a0dd38cb884292de9d947718bb00160eff2b0f00
285d49cd7061ec43368d63b7c7c56763be520570
refs/heads/master
2023-09-03T02:38:55.932182
2023-09-02T18:35:42
2023-09-02T18:35:42
189,745,542
1
0
null
null
null
null
UTF-8
Python
false
false
424
py
class Solution: def convert(self, s: str, numRows: int) -> str: if numRows == 1 or numRows >= len(s): return s result = [''] * numRows index, step = 0, 1 for ch in s: result[index] += ch if index == 0: step = 1 elif in...
[ "shang.xuedong@yahoo.fr" ]
shang.xuedong@yahoo.fr
29b95f138e6273fc6a7837e2c959929dd2495250
1b72ba557512a33c6fe896648496233448550ce6
/top_100_liked/python3/linked_list_cycle_ii.py
d77a3fd29a5d38da8206312042a5c3c41ffad0a7
[]
no_license
henrylaih41/LeetCode
e59c8c091186935dd88ffdfe6d52c270ddb4bc20
1ea2880c2c1ff03b23ac8f4a278acbe02cdaee99
refs/heads/main
2023-07-30T23:25:46.068109
2021-09-16T02:48:46
2021-09-16T02:48:46
342,108,527
3
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
# Definition for singly-linked list. # class ListNode: #     def __init__(self, x): #         self.val = x #         self.next = None ​ class Solution:    def detectCycle(self, head: ListNode) -> ListNode:        if(head == None):            return head        slow, fast, cnt = head, head, -1        while(slow.nex...
[ "henrylaih41@gmail.com" ]
henrylaih41@gmail.com
fdaa7b99de99e05bd74054d9d9a91f6862f5f31d
28691ec55ebce9ec7045d12ea9675932ce12d671
/py2rhino-project/branches/sandbox2/py2rhino/_make/data/parser_out/application/status_bar_message.py
0470375c7fbe0ae13a7e4fc44f53ae0dc233363b
[]
no_license
ianclarksmith/design-automation
1e71315193effc0c18b4a8b41300bda6f41a3f09
e27cc028fe582395f4a62f06697137867bb0fc33
refs/heads/master
2020-04-22T22:28:39.385395
2009-10-26T02:48:37
2009-10-26T02:48:37
37,266,915
0
0
null
null
null
null
UTF-8
Python
false
false
957
py
status_bar_message = { "input_folder_name": "Application_Methods", "input_file_name": "StatusBarMessage", "output_package_name": "application", "output_module_name": "status_bar_message", "doc_html": """ Sets Rhino's status bar message pane. """, "syntax_html": { ...
[ "patrick.ht.janssen@d56020b2-6ac5-11de-89a9-0b20f3e2dceb" ]
patrick.ht.janssen@d56020b2-6ac5-11de-89a9-0b20f3e2dceb
9425c3be6ddb72814984849d44eae92a8a4d8b9d
2fc197681ac9cdd0346fe9ab56d9aa4d59b6f1d0
/polyaxon/dockerizer/management/commands/build.py
99863a51adb976a64db9492abdd3a1c248a841b7
[ "MIT" ]
permissive
dtaniwaki/polyaxon
32e0fcfc4cd4b46d1d502ae26cd285dc9c11d55a
04e3c9c9a732a2128233e8d1db1bdc1647fe7c55
refs/heads/master
2020-03-20T08:16:33.334881
2018-06-13T22:40:17
2018-06-13T22:40:17
137,303,634
0
0
null
2018-06-14T03:53:13
2018-06-14T03:53:13
null
UTF-8
Python
false
false
1,780
py
import logging from docker.errors import DockerException from django.core.management.base import BaseCommand from constants.jobs import JobLifeCycle from db.models.build_jobs import BuildJob from dockerizer import builder _logger = logging.getLogger('polyaxon.dockerizer.commands') class Command(BaseCommand): ...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com