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
059e8d97f0b62ea4ab980bb45f12a01bacc68228
6dd08ec6b4f6351de8450a3d7e592fd6b4994119
/cbase/server/cbase-1.8.1/testrunner/pytests/spatialcompaction.py
190ff0ff033f2e8af6e3946146558e06a12e1206
[]
no_license
zhgwenming/appstack
d015e96b911fe318f9fba1bdeeea9d888d57dfba
8fe6c1dfc2f5ed4a36c335e86ae28c17b3769276
refs/heads/master
2021-01-23T13:30:19.507537
2015-11-09T06:48:35
2015-11-09T06:48:35
7,576,644
1
2
null
2016-01-05T09:16:22
2013-01-12T15:13:21
C
UTF-8
Python
false
false
1,569
py
import unittest import uuid import logger from membase.helper.spatial_helper import SpatialHelper class SpatialCompactionTests(unittest.TestCase): def setUp(self): self.log = logger.Logger.get_logger() self.helper = SpatialHelper(self, "default") self.helper.setup_cluster() def tear...
[ "zhgwenming@gmail.com" ]
zhgwenming@gmail.com
dc9289d234825789dfd30143764b5bf441e87b50
a7cca49626a3d7100e9ac5c2f343c351ecb76ac7
/playbooks/tests/led_toggle.py
f8079be0655d96fcf02c841fe646899d740a03c0
[ "MIT" ]
permissive
Carglglz/upydev
104455d77d64300074bda54d86bd791f19184975
529aa29f3e1acf8160383fe410b5659110dc96de
refs/heads/master
2023-05-24T18:38:56.242500
2022-10-21T14:03:17
2022-10-21T14:03:17
199,335,165
49
9
MIT
2022-10-21T14:03:18
2019-07-28T20:42:00
Python
UTF-8
Python
false
false
142
py
import time for i in range(5): print(f"This is a loaded script: {i}") led.on() time.sleep(0.5) led.off() time.sleep(0.5)
[ "carlosgilglez@gmail.com" ]
carlosgilglez@gmail.com
dcff227305bc074d0d32949ae48b052c1608a805
dd3bbd4e7aaee7a8a5f26b927ce28ac472c855a5
/eggs/Products.CMFPlone-4.1-py2.7.egg/Products/CMFPlone/skins/plone_scripts/getNotAddableTypes.py
d9e66131d0c1fb846122cf94e88d8368a72a9d1e
[]
no_license
nacho22martin/tesis
ea0a822f8bdbdef6f13f41276ecd4d6e85427ca5
e137eb6225cc5e724bee74a892567796166134ac
refs/heads/master
2020-12-24T13:20:58.334839
2013-11-09T12:42:41
2013-11-09T12:42:41
14,261,570
0
1
null
null
null
null
UTF-8
Python
false
false
307
py
## Script (Python) "getNotAddableTypes" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title= ## # customize this script to filter addable portal types based on # context, the current user or other criteria return ()
[ "ignacio@plone.(none)" ]
ignacio@plone.(none)
859189dfd335cbf552d601b7f074a5040f3b71b9
d1f8aef0e3da67555b6b7d57ac9bec0b94e12cc5
/dragex/interfaces/__init__.py
d85a2f6ea8e655ceea1d1c1ab049f645c0717c72
[]
no_license
victorhook/dragex
d3593f0c12fc2cbdbccc14a085f70e493f3b8f05
6c06740230f7513318abe79c78cb6d4369ba3e68
refs/heads/master
2023-06-02T03:58:54.061938
2021-06-17T19:06:24
2021-06-17T19:06:24
370,010,180
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
from .drawable import Drawable # noqa from .game_object import GameObject # noqa from .screen import Screen # noqa from .sprite_image import SpriteImage # noqa
[ "victorkrook96@gmail.com" ]
victorkrook96@gmail.com
7bffb66e5f552e2e744965e1073430a1c8eaf3b7
1b60858c303bd7d88dae82b8db56273c326ddb44
/tests/swagger_client_tests/test_processor_status_snapshot_entity.py
5f4fb8dda20bf1e9f698019dba23303937af0daf
[ "Apache-2.0" ]
permissive
tspannhw/nipyapi
1ba076ef669493bad20681579891eea1d43f4fc8
30cdd028cf68cc4316b54a23bfa1f0397de3ae23
refs/heads/master
2021-07-19T14:37:22.993682
2017-10-29T18:52:31
2017-10-29T18:52:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,475
py
# coding: utf-8 """ NiFi Rest Api The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ...
[ "dchaffey@hortonworks.com" ]
dchaffey@hortonworks.com
da5f875d6ad92fb09e0281b4cd2eaf5ec54ecfc4
1974b3e9c5f2f677833e1608a41281f377fd331c
/dltesthttp_xuyalin2/www/testcase/webservice/ts_ws_orders/getOrderLog.py
f1dc05383ce69ec78eba00680612de440006ef31
[]
no_license
xyl00755/pythonLearning
ed0f540b61247c3560f347853da5886b2e2ba25d
c6aecff86ff34dcd7358d98201627ff84e9bf2cf
refs/heads/master
2021-01-13T08:19:25.171016
2016-12-16T05:43:10
2016-12-16T05:43:10
71,764,553
0
0
null
null
null
null
UTF-8
Python
false
false
14,736
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 0255.获取订单跟踪信息 http://127.0.0.1:8280/mallws/orders/getOrderLog.json { "token": "57469529686440a88fedb0bed51ba5d0", // 必须 token "orderNo":"123123123" // 必须 订单号 } { "code": 200, "description": "执行成功!", "model": { ...
[ "xuyalin@danlu.com" ]
xuyalin@danlu.com
7ee7f2e7f0034ad78299103059e5d41c7e5251e8
47ff744da519c525cccfad1d8cead74f7e2cd209
/uge4/.history/exercise_20200220124148.py
f126b64625bf836dfaac34c1d4c008fc555bbe88
[]
no_license
Leafmight/Python
f6098395a7a13dd6afe6eb312a3eb1f3dbe78b84
d987f22477c77f3f21305eb922ae6855be483255
refs/heads/master
2020-12-21T14:21:06.802341
2020-05-22T10:21:37
2020-05-22T10:21:37
236,457,255
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
import numpy as np filename = './befkbhalderstatkode.csv' dd = np.genfromtxt(filename, delimiter=',', dtype=np.uint, skip_header=1) neighb = {1: 'Indre By', 2: 'Østerbro', 3: 'Nørrebro', 4: 'Vesterbro/Kgs. Enghave', 5: 'Valby', 6: 'Vanløse', 7: 'Brønshøj-Husum', 8: 'Bispebjerg', 9: 'Amager Øst', 10: 'A...
[ "jacobfolke@hotmail.com" ]
jacobfolke@hotmail.com
e8813cd668f7ed59984bd897bab0933c4ba2a92a
8a36ddf6a9f2f6c00ff7d3db72fe7a6f88ead7a2
/weather/weather.py
f53c89e3bc9040f4b89115a55e4788b9c56e3dde
[]
no_license
pccode21/PyQt5
5d5b79f55d6165d03d58768bf30f25382ac7812b
f0af930b1338d0472aacbd3cab65be009bddd96e
refs/heads/master
2020-12-03T11:07:44.226390
2020-02-19T05:29:09
2020-02-19T05:29:09
231,293,179
0
0
null
null
null
null
UTF-8
Python
false
false
4,490
py
from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtCore import * from MainWindow import Ui_MainWindow from datetime import datetime import json import os import sys import requests from urllib.parse import urlencode # OPENWEATHERMAP_API_KEY = os.environ.get('b020112734ca76c7df0ccad361a58fa3') """ ...
[ "16007005@qq.com" ]
16007005@qq.com
7c76835603d90ac7c8e51e9c8be02a23b28636b1
a5dd6bcb59130979624c0274a91bb1566421dbc4
/thor/config.py
f0faee12c5842bbacca47f5949d4fa2242d68ec3
[ "BSD-3-Clause" ]
permissive
mjuric/thor
62563455526eaec09c96341ac239a5985824f24b
4e2403bf9c08e998ccd7a277583b0e550b9d3a67
refs/heads/main
2023-04-21T02:22:17.359744
2021-05-19T20:12:56
2021-05-19T20:12:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,027
py
import numpy as np __all__ = ["Config"] class Config: """ Config: Holds configuration settings. Of interest to the user are two main attributes: columnMapping : This dictionary should define the data column names of the user's data relative to the internally used nam...
[ "moeyensj@gmail.com" ]
moeyensj@gmail.com
348970a0f4e5c0d7929ac752e3078f95f5443c3a
6e5ab77fee1fb4a0310213dd8c6dd8601828b1b9
/Algorithm/Swea/D1_6230.py
11bc95295c19530488c6fba37d18d628e6562027
[]
no_license
hongyong3/TIL
36d031c0da9e3e6db3eebb977bd3e12df00a849f
7f1492128e957a78fc95b255f4f7f2978161e471
refs/heads/master
2023-08-19T09:16:03.231757
2023-08-18T09:38:47
2023-08-18T09:38:47
162,100,258
1
0
null
2023-02-11T00:52:32
2018-12-17T08:42:42
Jupyter Notebook
UTF-8
Python
false
false
263
py
data = [88, 30, 61, 55, 95] for i in range(5): if data[i] >= 60: print("{}번 학생은 {}점으로 {}입니다.".format(i + 1, data[i], "합격")) else: print("{}번 학생은 {}점으로 {}입니다.".format(i + 1, data[i], "불합격"))
[ "chy66822495@gmail.com" ]
chy66822495@gmail.com
11663c0f28cb942a4a9a90c69f77584703d14b96
5633afdce5fb2209f130bb0cd2c478a35bd75957
/168-理解function.py
62a304b055863e54e0b2122b6167d3374a9902b5
[]
no_license
weiyinfu/learnKeras
36a68e7f9966bf2ac53bb4767b3754864fe6087d
c011005bf760053e9085a0171702e54d19cafebc
refs/heads/master
2023-03-06T18:06:32.811186
2021-02-22T06:05:57
2021-02-22T06:05:57
147,919,920
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
import keras.backend as K import keras import tensorflow as tf """ keras的function可以方便的求某几个数字的值 """ input = keras.layers.Input((None,)) output = tf.multiply(input, input) output2 = keras.layers.multiply([input, input]) called_count = K.variable(0.0) f = K.function([input], [output, output2, called_count], [K...
[ "weiyinfu.weiyinfu@bytedance.com" ]
weiyinfu.weiyinfu@bytedance.com
90f6b044e0738dd4144dea41df919f7fe76752a2
167c6226bc77c5daaedab007dfdad4377f588ef4
/python/ql/test/2/library-tests/PointsTo/import_time/module.py
0e14ce6e5d765b8d724c6890d6495ef311dde746
[ "MIT", "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "LicenseRef-scancode-free-unknown", "Python-2.0" ]
permissive
github/codeql
1eebb449a34f774db9e881b52cb8f7a1b1a53612
d109637e2d7ab3b819812eb960c05cb31d9d2168
refs/heads/main
2023-08-20T11:32:39.162059
2023-08-18T14:33:32
2023-08-18T14:33:32
143,040,428
5,987
1,363
MIT
2023-09-14T19:36:50
2018-07-31T16:35:51
CodeQL
UTF-8
Python
false
false
152
py
import sys os_test = sys.platform == "linux2" version_test = sys.version_info < (3,) if version_test: version_2 = True else: version_3 = False
[ "mark@hotpy.org" ]
mark@hotpy.org
fc9a98ef9d50ff78217956a8266a6c2d94e05061
f67aa51d4afcdb2f31b78032dc910094ec310295
/2. Python Code/node_tag_audit.py
c7c180574df2c7cce567eab1f29a792c8d6595be
[]
no_license
johncgr/data-wrangle-OpenStreetMap-data
a7e7bc1b0979d897eda55db35678f56b545f8f64
90e3aaf0113c312d7caa4a5c0b5978c09a464340
refs/heads/master
2016-09-16T11:58:28.772831
2015-06-10T20:53:38
2015-06-10T20:53:38
36,739,086
0
0
null
null
null
null
UTF-8
Python
false
false
6,943
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 25 09:41:27 2015 @author: john """ import xml.etree.ElementTree as ET import time import re #time of program start start = time.time() #error logging function def add_error(log, key, error_msg): if key in log: log[key].append(error_msg) else: log...
[ "you@example.com" ]
you@example.com
132233e2f673ca46ed09870bc39f3069ada4e184
d79c4fa73bd26550cfaa5d1a3259b20bda1fba46
/Tests/Services/test_distance_service.py
79975e946cb9b7d65f9ff492746e0f981a60d6c6
[]
no_license
dev-11/coding-test
37e8372b4eff1b6d5c9b0bd2c0c13f88d0940736
7bd56b00d48a0419206b99170075fe34183830ee
refs/heads/master
2021-07-11T02:49:44.832998
2021-03-28T12:08:47
2021-03-28T12:08:47
233,877,609
0
0
null
2020-01-14T15:52:20
2020-01-14T15:52:19
null
UTF-8
Python
false
false
2,074
py
import unittest from Services import DistanceService from Tests.TestEnvironment import get_test_stores class DistanceServiceTests(unittest.TestCase): def test_get_stores_within_range_returns_every_store_in_one_mile_range(self): a = [51.460903, -0.301702] stores = get_test_stores() servi...
[ "otto@masterbranch.io" ]
otto@masterbranch.io
9e20c44700047479c01f6cdeb7fbfcafb618f3b9
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-vod/huaweicloudsdkvod/v1/model/show_asset_meta_response.py
17beda5d5d2fc1bd79e8b76d4ed6bfa0f640b853
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,451
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowAssetMetaResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
af062882db668d2127cd9f91c3691c449ef42328
12c41119156dd3783c3801e07f5f973289f26bb0
/aliyun-python-sdk-green/aliyunsdkgreen/request/v20170823/DescribeWebsiteScanResultRequest.py
f09d346c2c80b7eb9219b58dbf61434df7b191ec
[ "Apache-2.0" ]
permissive
toywei/aliyun-openapi-python-sdk
bfe0893da38af9b222ce072fd7587d5b6cdce204
ce8f683e3201fca8c473512267f50a34f71e31d3
refs/heads/master
2020-08-07T23:42:00.053692
2019-10-08T08:50:21
2019-10-08T08:50:21
213,626,962
1
0
NOASSERTION
2019-10-08T11:43:15
2019-10-08T11:43:15
null
UTF-8
Python
false
false
2,640
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 u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
4aa2a44af09dce4919240097d2cf50df5c2286cc
56f155db28b5703786a08fef0ecf821aefb6ffe5
/lib/testmill/test/test_images.py
f43dc574d9685d3d89f1196cbad690c754365c2e
[ "Apache-2.0" ]
permissive
h4ckl4bm3/testmill
595c30facec943b3593febe080b1e6602e82dee2
607d5622f14785e1b2f785e162ae862c5e638c5f
refs/heads/master
2021-05-27T08:58:17.899271
2013-04-10T15:40:12
2013-04-10T15:41:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
# Copyright 2012-2013 Ravello Systems, 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 agree...
[ "geertj@gmail.com" ]
geertj@gmail.com
94a57d37ee01ad48525f12206f52a6d3317127e3
04164e028417ff8472b9f2bfec0ec45b0888f743
/development/pysrc/extract.py
1b6bc09351d99ac31b3285f0ed8f27a28be337e3
[]
no_license
Huaguiyuan/quantum-honeycomp
c2b810ff5f5e25d41b1f0c1c1ff7ae500b04dc31
50deb0e59fffe4031f05094572552ca5be59e741
refs/heads/master
2020-03-22T19:09:58.148862
2018-07-08T19:51:58
2018-07-08T19:51:58
140,510,217
1
2
null
2018-07-11T02:20:32
2018-07-11T02:20:32
null
UTF-8
Python
false
false
2,779
py
# routines to extract channels from a matrix from __future__ import division import numpy as np def spin_channel(m,spin_column=None,spin_row=None,has_spin=True): """Extract a channel from a matrix""" if not has_spin: return m # return initial if (spin_row is None) or (spin_column is None): return m # return init...
[ "jose.luis.lado@gmail.com" ]
jose.luis.lado@gmail.com
72b7bb7acba687c0f6f14413cd6d43962e8a3351
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/common/Lib/encodings/iso2022_jp_ext.py
79e0c5be45183dd71284af4365cf20ec67ea90b1
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
964
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/common/Lib/encodings/iso2022_jp_ext.py import _codecs_iso2022, codecs import _multibytecodec as mbc codec = _codecs_iso2022.getcodec('iso2022_jp_ext') class Codec(codecs.Codec): encode = codec.encode decode = codec.decode class ...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
01f03677c1c199afc3763b2adf640bf22524e264
8e69eee9b474587925e22413717eb82e4b024360
/v2.5.7/toontown/coghq/CashbotMintLavaRoomFoyer_Action01.py
b7cfc755c82949fc1587ac270f73a11b84148d12
[ "MIT" ]
permissive
TTOFFLINE-LEAK/ttoffline
afaef613c36dc3b70514ccee7030ba73c3b5045b
bb0e91704a755d34983e94288d50288e46b68380
refs/heads/master
2020-06-12T15:41:59.411795
2020-04-17T08:22:55
2020-04-17T08:22:55
194,348,185
5
4
null
null
null
null
UTF-8
Python
false
false
9,037
py
from toontown.coghq.SpecImports import * GlobalEntities = {1000: {'type': 'levelMgr', 'name': 'LevelMgr', 'comment': '', 'parentEntId': 0, 'cogLevel': 0, 'farPlaneDistance': 1500, 'modelFilename': 'phase_10/models/cashbotHQ/ZONE18a', 'wantDoors': 1}, 1001: {'ty...
[ "s0mberdemise@protonmail.com" ]
s0mberdemise@protonmail.com
93f01551fc71c691ab7c4d7b49966cb6e2af604c
e4200b764d0b4ffba65180e54cf84b30ee84efcc
/selfdrive/boardd/boardd_setup.py
f987c7aa29e08bc7bdd5e335dc38ac0c14730201
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
kegman/openpilot
c9ba96a72d905956f02c684e065091e023942883
54a8614b5a6451154817a4c6c86141c96103ae47
refs/heads/kegman-0.7
2022-05-22T17:07:16.656336
2020-01-23T16:40:55
2020-01-23T16:40:55
229,979,925
105
212
MIT
2022-03-13T05:47:51
2019-12-24T17:27:11
C
UTF-8
Python
false
false
1,019
py
import subprocess from distutils.core import Extension, setup from Cython.Build import cythonize from common.cython_hacks import BuildExtWithoutPlatformSuffix from common.basedir import BASEDIR import os PHONELIBS = os.path.join(BASEDIR, 'phonelibs') ARCH = subprocess.check_output(["uname", "-m"], encoding='utf8')....
[ "8837066+kegman@users.noreply.github.com" ]
8837066+kegman@users.noreply.github.com
30e99cd125126168a62391d1dd2870494f66f8d3
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/comparison/test_optimize11.py
419bdafcf7b28b46a1cc0c98248bc2b40b67c8d9
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
2,279
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
60970ab65f2384908efc1c74b7fa6fdefbaadf46
b6a48f9a6158bcb7e6fc75e5eacaef19250fc4c5
/cosmos/ingestion/ingest/process/detection/src/torch_model/model/utils/config_manager.py
c5af72c9c0d77749c41e4e4151ac91a4091dc749
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
UW-COSMOS/Cosmos
dcde3be6534e411a20fcf1ff36e422fc8af2ac8a
5ed4a4c149e03773690668437d2f93aa532453c6
refs/heads/master
2023-09-01T18:03:20.525760
2023-08-31T13:56:21
2023-08-31T13:56:21
159,849,583
39
14
null
2023-09-13T14:39:45
2018-11-30T16:24:59
Python
UTF-8
Python
false
false
1,242
py
import yaml class Struct: def __init__(self, **entries): for key, value in entries.items(): value2 = (Struct(**value) if isinstance(value, dict) else value) self.__dict__[key] = value2 class ConfigManager: """ Basic config singleton for easily accessing config parameters ...
[ "ankur.goswami12@gmail.com" ]
ankur.goswami12@gmail.com
90472ae1500003128c099c82b18c65cd294fb594
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_67/run_cfg.py
b7a42574ec89cfa3b75f992ff17c74f8999faf28
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,539
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_m...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
97c3730c522f14d3e70b194878b0d860135c6b52
def06466dadf32385b083615e46a07188ef841c2
/web_app/primes/primes/wsgi.py
4839f01dfbebfa726790474ac354f5d2b5730dc8
[]
no_license
ChillarAnand/just-queue-it
ead51fa0fa14bca6276c452b32a8d4e382e37f95
c58a214507b429d8854a1049e4b5ed6377435a82
refs/heads/master
2020-05-23T14:05:38.511931
2015-02-19T21:42:34
2015-02-19T21:42:34
31,038,556
0
0
null
null
null
null
UTF-8
Python
false
false
1,560
py
""" WSGI config for primes project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`` s...
[ "anand21nanda@gmail.com" ]
anand21nanda@gmail.com
76365823d072d54826924eb954f54f08ee1178c8
616c3c02be31b9ae4d06bd7c5a8d4a2e7c446aa1
/401.二进制手表.py
c1394764a8ed4675d2bc74aff7690c1c59620be7
[]
no_license
L1nwatch/leetcode-python
8b7c47c04ee9400d50d8b0764a544a0463df8f06
0484cbc3273ada25992c72105658cd67411c5d39
refs/heads/master
2023-01-11T14:53:15.339276
2023-01-11T05:24:43
2023-01-11T05:24:43
194,516,548
0
1
null
null
null
null
UTF-8
Python
false
false
467
py
# # @lc app=leetcode.cn id=401 lang=python3 # # [401] 二进制手表 # # @lc code=start class Solution: def readBinaryWatch(self, turnedOn: int) -> List[str]: result = list() for hour in range(12): bin_hour_1 = bin(hour).count("1") for minute in range(60): if bin_hour...
[ "watch1602@gmail.com" ]
watch1602@gmail.com
2d35ba558e65b2aa0a4c270411cd0a7207189d72
9cf434b6ee59ab22496ee031fb4ab145bbaff1a2
/tranque_v1.8.4_source/backend/src/targets/migrations/0025_threshold_kind.py
9da935043934aadd20fada38b72528d8345ff01b
[]
no_license
oliverhernandezmoreno/SourcesOH
f2ff1a5e3377f0ac1fb8b3153d99d0ee703700b7
5d9ca5ab1caceafd4d11207139c9e56210156ef8
refs/heads/master
2023-01-05T02:51:25.172103
2020-08-27T14:39:34
2020-08-27T14:39:34
64,422,812
0
1
null
2022-12-30T17:25:10
2016-07-28T19:33:44
JavaScript
UTF-8
Python
false
false
402
py
# Generated by Django 2.1 on 2019-06-04 19:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('targets', '0024_target_remote'), ] operations = [ migrations.AddField( model_name='threshold', name='kind', ...
[ "oliverhernandezmoreno@gmail.com" ]
oliverhernandezmoreno@gmail.com
1180c2df653973dfeb4478f34ad3c39fd22cab39
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/workflows/v1beta/workflows-v1beta-py/google/cloud/workflows_v1beta/types/__init__.py
66aec79fe2b77723f73afe591aafa1edbbb647c0
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
03756a7acb99e8907d2bf21186f702c06e303a3b
731c136992f98cab61508b9e5661afbd491962b6
/Sort/Sort.py
2f1338d9504c5dc5d5304e321cc3d067484b1d45
[]
no_license
yangze01/py_LeetCode
c311235dbe1053c68694aea04fe29296ccb3a6e2
2b7213d00e2e482379a2f160b0d8e267a7951599
refs/heads/master
2021-01-20T06:03:53.852486
2017-12-08T01:30:26
2017-12-08T01:30:26
101,479,228
0
0
null
null
null
null
UTF-8
Python
false
false
8,980
py
#coding=utf8 import sys """ 算法复习开始: 八大排序算法 """ def bubble_sort(list): """ 冒泡排序 :param list: :return: """ length = len(list) # 第一级遍历 for index in range(length): # 第二级遍历 for j in range(1, length - index): if list[j-1] > list[j]: # 交换两者数据 ...
[ "858848101@qq.com" ]
858848101@qq.com
58270a7c262944cd188186aa67ab970c20b93094
7bb9f2e6e8993c6104c1109c1c2714e331c09ac2
/toolbox/workload/forms.py
e1b7346061cdb45ffd663c20b22b963dac2ebc2f
[]
no_license
oinopion/toolbox
6a775156cb20660f2d92e1d825e4cbabc9df3be7
a8df57ee6f2343aaaa512703da74dae5fa3d4cfd
refs/heads/master
2021-01-19T18:32:54.484006
2011-12-22T15:00:48
2011-12-22T15:00:48
3,033,048
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
# encoding: utf-8 from django import forms from django.forms import fields from toolbox.workload.models import Assignment from workload.grid import date_range_inclusive class AssignmentForm(forms.ModelForm): beginnig = fields.DateField( widget=forms.DateInput(attrs={'class': 'date-picker'})) end = fiel...
[ "tomek@hauru.eu" ]
tomek@hauru.eu
389e956262735deadbff885eaace35377b9672fa
cbcbb04be207839cab8d26d352f64cc505a5eec9
/virtual/lib/python3.6/site-packages/virtualenv/create/creator.py
45075dae96cf5208adec66636979324cfeb1a046
[ "MIT" ]
permissive
Antony-me/perfect-pitch
8c61b7d6de1d00fddff5c2feea0293eb85ea8f92
a2de0adaa3a22844390627459796b823e4ac8e71
refs/heads/main
2023-01-10T23:25:46.931458
2020-11-02T20:34:52
2020-11-02T20:34:52
308,002,503
0
0
MIT
2020-11-02T07:58:34
2020-10-28T12:01:00
Python
UTF-8
Python
false
false
8,501
py
from __future__ import absolute_import, print_function, unicode_literals import json import logging import os import sys from abc import ABCMeta, abstractmethod from argparse import ArgumentTypeError from ast import literal_eval from collections import OrderedDict from textwrap import dedent from six import add_metac...
[ "antonymunyasia993@gmail.com" ]
antonymunyasia993@gmail.com
c33f29d71bbf135ea10ec41aa87c6f4a64b32f7e
62179a165ec620ba967dbc20016e890978fbff50
/tests/torch/modules/seq2seq/seq2seq_base.py
ebe3e13913b31bd5beac08c8b2640c3364faf5eb
[ "Apache-2.0" ]
permissive
openvinotoolkit/nncf
91fcf153a96f85da166aacb7a70ca4941e4ba4a4
c027c8b43c4865d46b8de01d8350dd338ec5a874
refs/heads/develop
2023-08-24T11:25:05.704499
2023-08-23T14:44:05
2023-08-23T14:44:05
263,687,600
558
157
Apache-2.0
2023-09-14T17:06:41
2020-05-13T16:41:05
Python
UTF-8
Python
false
false
3,173
py
# Copyright (c) 2023 Intel Corporation # 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 writ...
[ "noreply@github.com" ]
openvinotoolkit.noreply@github.com
7083f94716d817a0f64bfe154b86ee5261c2109e
e17b0ad0ebeb361e5565eb3d12e717f296a7b878
/SheetAPI/config_example.py
a3fa30cc58a3bb13f0e1eee83397cd254f4f0c2e
[]
no_license
easy-rpg/SheetAPI
94ea732083c3a7a82577e59e3a882a878772d6eb
5542197f8388eed761a15a79c6ccca4fd481ccba
refs/heads/master
2022-12-11T17:01:16.130002
2018-07-05T00:26:48
2018-07-05T00:26:48
131,898,341
1
0
null
2022-11-22T02:30:09
2018-05-02T19:44:34
Python
UTF-8
Python
false
false
231
py
# DB Heroku # import dj_database_url # DATABASES = {'default': dj_database_url.config(conn_max_age=600, ssl_require=True)} # DB LOCAL DB_HOST = "localhost" DB_PORT = "" DB_NAME = "DB_NAME" DB_USER = "DB_USER" DB_PASSWORD = ""
[ "rodrigondec@gmail.com" ]
rodrigondec@gmail.com
40984c2fb2d800dd58b439a634f44d0ceae530a0
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/list_message_statistics_response.py
1e7816007f8524b86b1888cb87a5c5deb1613cd5
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,215
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListMessageStatisticsResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name a...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
0667f97fb57c8c12e435d2f0e0d28df739385605
fcf3c983043273c4e57ac33330efaa0a9e5643a2
/model-optimizer/mo/front/mxnet/extractors/utils_test.py
070d5323122452347c77478d42a838fab10ae476
[ "Apache-2.0" ]
permissive
p3tromyz0n/dldt
e7ab259848c90fdffd1395eaf5cf53ecd2b1e2f3
669bee86e580cbbc8ef40b440ab195ba2cbf5142
refs/heads/2018
2020-05-15T13:03:47.748654
2019-03-14T10:13:27
2019-03-14T10:13:27
158,445,061
0
1
Apache-2.0
2019-04-19T15:24:15
2018-11-20T20:07:50
C++
UTF-8
Python
false
false
6,599
py
""" Copyright (c) 2018 Intel Corporation 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 wri...
[ "44090433+openvino-pushbot@users.noreply.github.com" ]
44090433+openvino-pushbot@users.noreply.github.com
4bf01b7ae1c62134c913b6119a7902635486c910
f44c9ab8a25c5f4a2811fc1e77a59cdce2fe588c
/analysis/check_audio_problems.py
790ab272d5f3822830562109658a06f5fe559128
[]
no_license
vejmelkam/StimPackC
645e1137ef057379971054778cf45f7a9d89ed07
b82dbbf267073017be3202996906fd0fe900e89e
refs/heads/master
2021-01-10T20:39:14.301366
2011-08-24T17:39:54
2011-08-24T17:39:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
#!/usr/bin/env python import sys import string # read lines from log file f = open(sys.argv[1], "r") lines = f.readlines() f.close() # find number of instance of "dropping buffer" found = 0 for line in lines: if string.find(line, "dropping buffer") >= 0: found += 1 print("\n **** check audio problem...
[ "devnull@localhost" ]
devnull@localhost
cdc75150fd9e9b0bb84009d08bf0c00bb9a0f43b
05ac6b13a380f1b0ed0676afaae9f8467b86b4a9
/livegraph.py
d4bb9ed1fad2e85763f54554907e3f0591ba2853
[ "MIT" ]
permissive
UncleEngineer/LiveGraph
fe6177473dca2bb16815dfb0f65dd3084b72c10e
825dc11663fe3dbbfde6a722bf9ec35adac1c7f2
refs/heads/main
2023-02-13T09:19:44.307744
2021-01-25T16:28:16
2021-01-25T16:28:16
332,809,674
1
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
""" =============== Embedding in Tk =============== """ from tkinter import * from tkinter import ttk import random import tkinter from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk from matplotlib.backend_bases import key_press_handler from matplotlib.figure import Figure GUI ...
[ "noreply@github.com" ]
UncleEngineer.noreply@github.com
4652f613145fb60655bd9d03b2e0216af7a37090
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/retail/v2beta/retail-v2beta-py/google/cloud/retail_v2beta/types/product.py
e4a0de410942b7658ddae38bbd0a119804277476
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,576
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
cd4b5d06ac6645f6260588192fe3ce2be88410b7
59bd9c968a3a31a73d17f252fe716a3eacdf7f4f
/portfolio/Python/scrapy/seapets/ebay_spider.py
60ab55266368702543f063870e4045f0adfb606e
[ "Apache-2.0" ]
permissive
0--key/lib
113ff1e9cf75e446fa50eb065bc3bc36c090d636
a619938ea523e96ab9e676ace51f5a129e6612e6
refs/heads/master
2023-06-23T22:17:54.244257
2023-06-21T17:42:57
2023-06-21T17:42:57
23,730,551
3
5
null
2016-03-22T08:19:30
2014-09-06T08:46:41
Python
UTF-8
Python
false
false
1,675
py
import os from scrapy.spider import BaseSpider from scrapy.selector import HtmlXPathSelector from scrapy.http import Request, HtmlResponse from scrapy.utils.url import urljoin_rfc from scrapy.utils.response import get_base_url from product_spiders.items import Product, ProductLoaderWithNameStrip as ProductLoader from ...
[ "a.s.kosinov@gmail.com" ]
a.s.kosinov@gmail.com
e93010ae26c2f452cbfb17ba59524682846ac2e7
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/asp.py
5132eb9ef039bf880ace7b2535f8a47941dfbc54
[]
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
162
py
ii = [('WilkJMC3.py', 4), ('PettTHE.py', 11), ('WilkJMC2.py', 5), ('CoolWHM.py', 1), ('LyelCPG.py', 1), ('WestJIT2.py', 1), ('LandWPA2.py', 1), ('SomeMMH.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
e3de59ab0a628f70e1187295bc11caee29962f62
308e318d1fd56520b1cfe093a5436043c72703db
/medicalcase/urls.py
7fbff357f5082f6a7d17dabd49a02a808157e9fd
[]
no_license
NicholasTurner23/360MedNet-1
b35e2b79712cd5568054e697298ad02c368f8853
fb3939031c455c62c889383f73611b5b6845d8dd
refs/heads/master
2021-06-18T09:57:32.656789
2017-06-17T22:33:32
2017-06-17T22:33:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
from django.conf.urls import url from medicalcase import views as medicalcase_views urlpatterns = [ url(r'^post/medical_case/$', medicalcase_views.MedicalCaseCreate.as_view(), name='medical-case'), url(r'^medical_cases/$', medicalcase_views.MedicalCaseList.as_view(), name='medical_cases'), url(r'^medical_c...
[ "faithnassiwa@gmail.com" ]
faithnassiwa@gmail.com
24b8b0d128b1755bfce972e35b56b2635439d049
927eb86f9d2b0466f580c08ec84e6a13604ba6f8
/worldcupapp/views/media.py
7d48a519f7bb1ae79aa49c2624f70fec9e7f0476
[]
no_license
by-Exist/piku_backend_api
61ee1aa0526d29d735f0fd8c0cf0a69d2a01abe4
5dfc4a3fc6cb842e2dc16d5af5b6fd7dea609b4f
refs/heads/main
2023-06-11T21:10:51.652924
2021-07-07T14:35:33
2021-07-07T14:35:33
338,810,443
0
0
null
null
null
null
UTF-8
Python
false
false
6,041
py
from itertools import chain from django.shortcuts import get_object_or_404 from django.utils.functional import cached_property from worldcupapp.models.worldcup import Worldcup from rest_framework import mixins, viewsets, response, status from rest_framework.decorators import action from drf_spectacular.utils import ( ...
[ "bolk9652@naver.com" ]
bolk9652@naver.com
a712979f0746ffdb9d01e4e7639de181f610ecfc
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/apimanagement/v20210101preview/list_delegation_setting_secrets.py
7b3884925eda30d4b2d81d99584cc3666a53a128
[ "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
2,469
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 __...
[ "noreply@github.com" ]
morrell.noreply@github.com
224733db7bbbe943a5cdd5d14513e71863001123
37879f158886946a3328cb7c938b774eef6b12f4
/feature_engineering_pandas.py
003cf38f3ec684d66b08086075a253ee2016ccec
[ "MIT" ]
permissive
beckernick/cml_rapids
82f73bb4a7a12783967e1392ab5dba0d4ca01fde
da29a412418ac5c5be038f6c96af0b926c57c1ea
refs/heads/main
2023-04-28T17:25:42.612687
2021-05-13T12:17:49
2021-05-13T12:17:49
367,154,418
0
0
MIT
2021-05-13T19:31:23
2021-05-13T19:31:23
null
UTF-8
Python
false
false
3,622
py
## Feature Engineering using dask import time import pandas as dd import pandas as pd import numpy as np from feature_engineering_2 import ( pos_cash, process_unified, process_bureau_and_balance, process_previous_applications, installments_payments, credit_card_balance ) ### Load Data bureau_balance...
[ "bpl.law@gmail.com" ]
bpl.law@gmail.com
5eae1492af790922bb806b1d1c75466db26ca638
1d22e0cc8db1ddbdab6c06a049ccc15f35dfff99
/hmm_class/hmm_classifier.py
ef78103fd4f6f7572a36a305ebe37019bd61ebd0
[]
no_license
JiaxinYu/machine_learning_examples
59f37335407d9b9523a6879602ad3d58eac7da77
db49879ca5efd34e7d2ad6c3ddf1fb4854c24429
refs/heads/master
2020-06-11T07:24:29.871826
2016-11-27T17:54:19
2016-11-27T17:54:19
75,734,758
1
0
null
2016-12-06T13:39:27
2016-12-06T13:39:27
null
UTF-8
Python
false
false
2,841
py
# https://udemy.com/unsupervised-machine-learning-hidden-markov-models-in-python # http://lazyprogrammer.me # Demonstrate how HMMs can be used for classification. import string import numpy as np import matplotlib.pyplot as plt from hmmd_theano import HMM from sklearn.utils import shuffle from nltk import pos_tag, wor...
[ "sublime.balloon@gmail.com" ]
sublime.balloon@gmail.com
18ab42c276337f57636ec03c57500e23dd33eeda
d57f6c045c7b07dd53ee80982005beb33450b64b
/migrations/versions/b75221b7534f_.py
80700eb2975f945de0b9aab80daaa6d3a076c042
[]
no_license
gwynethbradbury/ouss_ball
7df0ccafd42bd8d6fd22816c71fbe9a6a852351a
1115fe316f7c1ee1407017a60a054b1f7291f331
refs/heads/master
2023-05-11T18:36:29.921936
2018-03-22T15:56:52
2018-03-22T15:56:52
122,100,136
1
0
null
2018-03-22T13:55:05
2018-02-19T17:58:55
PHP
UTF-8
Python
false
false
641
py
"""empty message Revision ID: b75221b7534f Revises: 57bc3837370a Create Date: 2016-01-11 19:56:43.653390 """ # revision identifiers, used by Alembic. revision = 'b75221b7534f' down_revision = '57bc3837370a' from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql def upgrade(): ### ...
[ "samuel.littley@toastwaffle.com" ]
samuel.littley@toastwaffle.com
bd0fab02a5fbbadc2955432d86b4c0f514793a5d
1817aca734cda258cbbfd9e13fbf040d76824621
/aliyun-python-sdk-slb/aliyunsdkslb/request/v20140515/SetLogsDownloadStatusRequest.py
3f5de92cf81226eceacc5ace8c2ca2a158173dc2
[ "Apache-2.0" ]
permissive
sdk-team/aliyun-openapi-python-sdk
4bd770718e70e31f19e1e322727c27ba74d9fb80
996cb07bfcf010fe3ab65daa73d26df2f3b6e97f
refs/heads/master
2022-08-04T13:11:56.729215
2022-07-25T10:01:10
2022-07-25T10:01:10
183,356,741
0
0
null
2019-04-25T04:33:24
2019-04-25T04:33:24
null
UTF-8
Python
false
false
2,308
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 u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
59c3bd06e2e52ff8c563ba694f192343d83d345f
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-SceneKit/PyObjCTest/test_scnmaterial.py
f2c6d6c21c5547c3bc9103160f5ceb299b9928c3
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
2,832
py
from PyObjCTools.TestSupport import * import objc import sys if os_level_key(os_release()) < os_level_key("10.12") or sys.maxsize >= 2 ** 32: import SceneKit class TestSCNMaterial(TestCase): def testConstants(self): self.assertIsInstance(SceneKit.SCNLightingModelPhong, unicode) ...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
8411f21b811eca560091444108d42f0dc1514fce
951a3c8d6ec3d4e5f0718b8e6c92348196e5ebbf
/mysite/polls/migrations/0003_remove_question_question_prompt.py
e82e0fccbdf3a513a36859ca9de862621ece514d
[]
no_license
aspiringguru/learnDjango
6f3b178381cd8037f9c954e7cc49f68d6a8b3b4c
24ac82293b109ad36bb375e32983154b4de23470
refs/heads/master
2020-12-10T23:00:33.479558
2020-01-15T08:46:18
2020-01-15T08:46:18
233,736,009
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
# Generated by Django 2.2.9 on 2020-01-15 00:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('polls', '0002_question_question_prompt'), ] operations = [ migrations.RemoveField( model_name='question', name='question_pro...
[ "bmatthewtaylor@gmail.com" ]
bmatthewtaylor@gmail.com
5859434341568411959a48e0941bf29a6dbeaeae
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_091/ch4_2020_09_04_14_40_54_928784.py
652261e221bca6774cbba41cd2b6e29cac4be123
[]
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
197
py
def classifica_idade(idade): if idade <= 11: return ('crianca') if 12<=idade<=17: return('adolescente') if idade => 18: return('adulto') a= 13 b=classica_idade(a) print(b)
[ "you@example.com" ]
you@example.com
512c76ab159a877dea30fe399f3220371dd2baf0
51de6a2a2ce8882ee6462cd1076c7b9675830531
/0x0F-python-object_relational_mapping/2-my_filter_states.py
20f1742598a0848dd05b4b932cf3a0fffab10e70
[]
no_license
anamariaroman/holbertonschool-higher_level_programming
9b479c9b1484e4388ec0a4390cda81480626725a
5d75ccc35dfc92887d0f9a9e0b0773ed741d179e
refs/heads/master
2023-08-17T23:40:25.164128
2021-09-23T04:57:43
2021-09-23T04:57:43
361,869,257
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/python3 """ takes in an argument and displays all values in the states table of hbtn_0e_0_usa where name matches the argument. """ import MySQLdb from sys import argv if __name__ == "__main__": db = MySQLdb.connect(host="localhost", port=3306, user=argv[1], passwd=argv[2], db=a...
[ "2979@holbertonschool.com" ]
2979@holbertonschool.com
b5faf82ad73aadaff1bd1970efa1a7fe32bb250f
bf15a97a377bc49495a8c278cd247387a08361fd
/intersight/models/hcl_exempted_catalog.py
03d80031ad546ce01d077c8a759720408006b260
[ "Apache-2.0" ]
permissive
movinalot/intersight-python
ffcb434e5fdf3f6e857dd967c794a64b2d2e05de
cdc3b082d75eac93b74029ab610e16d3008fdd8c
refs/heads/master
2020-12-18T15:46:06.780834
2019-10-29T00:39:49
2019-10-29T00:39:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,346
py
# coding: utf-8 """ Intersight REST API This is Intersight REST API OpenAPI spec version: 1.0.9-961 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class HclExemptedCatalog(object): """ NOTE: This cl...
[ "ategaw@cisco.com" ]
ategaw@cisco.com
96b772958a9c0a774904dcf77ee5a9f9143e17c7
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-4/2cb4a725b4cb9be160d194f7b47df6c98709ebfd-<create_connection_team_slave>-fix.py
d3c209e5c778414dddc980ca9daa3ffc050223ca
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
def create_connection_team_slave(self): cmd = [self.nmcli_bin, 'connection', 'add', 'type', self.type, 'con-name'] if (self.conn_name is not None): cmd.append(self.conn_name) elif (self.ifname is not None): cmd.append(self.ifname) cmd.append('ifname') if (self.ifname is not None): ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
e1f6740a875c434bf2e70839f5493f69bb4e96d7
64b6364b2cea4e49cc1768e159ceb3fb438fc096
/src/metric_runner.py
dc4d64f00f77ed24aac17d9f471364a1a419b32d
[]
no_license
nkartashov/4genome_tester
902828f2a4373df9888788d4cb98398700259e7b
547446b9f38ee69177d8a12bb171c1d2ae993cad
refs/heads/master
2016-09-06T01:08:24.565208
2015-06-04T22:55:17
2015-06-04T22:55:17
34,047,710
0
0
null
null
null
null
UTF-8
Python
false
false
1,754
py
__author__ = 'nikita_kartashov' from src.graph.statistics import get_distribution_metric, \ get_simple_paths_metric, \ get_bp_distance_metric, \ get_dcj_distance_metric, \ get_ca_metric, \ get_mca_metric, \ get_cumulative_metric_batch from .metrics.metrics import Metrics ANNOTATED_SINGLE_METR...
[ "snailandmail@gmail.com" ]
snailandmail@gmail.com
de8de4a17ab7c78b43d4dc1dd862aaa4d5ba5ef9
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-openanalytics-open/aliyunsdkopenanalytics_open/request/v20180619/DestroyVirtualClusterRequest.py
f34fbf62e2477c455d21adcac88c4659473afa70
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
1,456
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 u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
36a11457b2ad103a18565c44f60b426d4dc20b3e
99d436394e47571160340c95d527ecadaae83541
/algorithms_questions/ch18_graph_theory/q45_1.py
0053a3fd5f07e6c424f2a633246622ae14a46a7f
[]
no_license
LeeSeok-Jun/Algorithms
b47ba4de5580302e9e2399bcf85d245ebeb1b93d
0e8573bd03c50df3f89dd0ee9eed9cf8716ef8d8
refs/heads/main
2023-03-02T06:47:20.939235
2021-02-08T05:18:24
2021-02-08T05:18:24
299,840,348
0
0
null
null
null
null
UTF-8
Python
false
false
2,090
py
""" 최종 순위 - 2회차 """ # 풀이 제한 시간 : 60분 # 2020/12/31 11:10 ~ 11:31 # 실패 - 자료의 사용(data[i])에 실수, 큐에 처음 초기화를 안함 from collections import deque """ # 위상 정렬 알고리즘에서는 사용할 필요가 없다. def find_parent(parent, x): if parent[x] != x: parent[x] = find_parent(parent, parent[x]) return parent[x] def union_parent(parent,...
[ "seok9376@gmail.com" ]
seok9376@gmail.com
96cdda7deaa7720cd3559f3d0b3e5accb90e9308
6c597d56ab500f8d0788b803fdfb9ab4dbb37a90
/openregistry/assets/claimrights/tests/transferring.py
29487148a1b9b1a3825f6e85e4ebbe8f092f72a2
[ "Apache-2.0" ]
permissive
openprocurement/openregistry.assets.claimrights
1671e55313aa69b073d1662a0fe16a8bd604f4fd
8f8d59760da3b647730da9d56e656a6ef4d12302
refs/heads/master
2021-05-14T23:59:00.664485
2019-03-27T15:33:44
2019-03-27T15:33:44
104,233,542
0
10
Apache-2.0
2019-02-06T11:28:28
2017-09-20T15:27:44
Python
UTF-8
Python
false
false
549
py
# -*- coding: utf-8 -*- import unittest from openregistry.assets.claimrights.tests.base import AssetTransferWebTest from openregistry.assets.core.tests.plugins.transferring.mixins import AssetOwnershipChangeTestCaseMixin class AssetOwnershipChangeTest(AssetTransferWebTest, AssetOwnershi...
[ "leitsius@gmail.com" ]
leitsius@gmail.com
0d4374fc859560faca1bf38f60793e519cb4ea39
e9173667eec2576782863a51ee63672f9b419297
/k2.py
b0c3e665770160fd0f0a9f0e424c8e55fafe7c96
[]
no_license
sabareesh123/pythonprogamming
d41c23ddae183ded09eafde445273126c6b56fcf
004f248aa2e25f2855d6ccafbb9244447bfb5873
refs/heads/master
2020-05-30T06:28:54.901030
2019-08-06T11:50:10
2019-08-06T11:50:10
189,580,451
0
3
null
null
null
null
UTF-8
Python
false
false
66
py
e=int(input("")) if(e%2==0): print("Even") else: print("Odd")
[ "noreply@github.com" ]
sabareesh123.noreply@github.com
438a534b66b835b18edc0a542fc5499bae377670
ca23b411c8a046e98f64b81f6cba9e47783d2584
/cache_replacement/policy_learning/cache/main.py
5cbddf2a4c41057f1d91d6f6838f52f0665a237d
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
pdybczak/google-research
1fb370a6aa4820a42a5d417a1915687a00613f9c
0714e9a5a3934d922c0b9dd017943a8e511eb5bc
refs/heads/master
2023-03-05T23:16:11.246574
2021-01-04T11:30:28
2021-01-04T11:30:28
326,629,357
1
0
Apache-2.0
2021-02-01T12:39:09
2021-01-04T09:17:36
Jupyter Notebook
UTF-8
Python
false
false
5,923
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
deb56472c890832c3e7ee3dae8b4a62f9590c3d3
74863206d868c63d73ed927c5d4559fe4e2320fd
/week 5/wk 5 q 2.py
4e92daa6b065054e24c2e2d95ebeb2cbd758f5ac
[]
no_license
Shubhanshu-Nishad/210-Coursework-Amanjit-S-Phull
e58a622b9b0bd2da3259f318944d1164c9f3fd93
01ed9eb426d3af180cb486503ab8bfcdf6694e90
refs/heads/master
2022-12-18T06:08:58.172949
2020-10-01T14:27:44
2020-10-01T14:27:44
300,308,089
1
0
null
2020-10-01T14:26:13
2020-10-01T14:26:12
null
UTF-8
Python
false
false
1,155
py
class Node(object): def __init__(self, value): self.value=value self.next=None self.prev=None class List(object): def __init__(self): self.head=None self.tail=None def insert(self,n,x): if n!=None: x.next=n.next n.next=x x.prev=n ...
[ "noreply@github.com" ]
Shubhanshu-Nishad.noreply@github.com
1c7ed19f2aaacdb47b9e5eefd21dd227de5cb2ed
d024ccbb4cc04af3866a4db1ac1d8c1d7395d909
/boj/3040.py
7340db9c6af2e68f61e4fb313c8b4a7a0a8b412e
[]
no_license
demetoir/ps-solved-code
ff0418dddd10f3b053c9b8d32af48027b10c8481
f4d4fd2183176b083f2287c9d89c6d5a1e983cc5
refs/heads/master
2022-10-14T20:11:34.581439
2020-06-12T11:24:11
2020-06-12T11:24:11
68,782,768
1
0
null
null
null
null
UTF-8
Python
false
false
169
py
import itertools l=[] for i in range(9):l+=[input()] for s in itertools.combinations(range(9),7): if sum(l[i] for i in s)==100: print "\n".join(str(l[i]) for i in s)
[ "wnsqlehlswk@gmail.com" ]
wnsqlehlswk@gmail.com
b15b87aebf2cf07b8e065a527f31b2b55377fa13
d7ee76b7f1d6cd038982335792f15959a58a8395
/SWEA/4615. 재미있는 오셀로 게임.py
e557fb8ef44326abc668927b3051576baa6bd26d
[]
no_license
min1378/-algorithm
1c5dea6b2f03e4d376275cfccbf11b240bc659d9
bfb720277160077a816deec21469a7e597c62d14
refs/heads/master
2021-08-02T06:54:10.478501
2021-07-31T14:03:01
2021-07-31T14:03:01
202,688,865
0
0
null
null
null
null
UTF-8
Python
false
false
2,638
py
#import sys from pprint import pprint #sys.stdin = open('4615.txt', 'r') # 벽체크 함수 def isWall(x, y): if x > N or x < 1 : return True if y > N or y < 1 : return True return False # 색을 바꿔야할 돌의 위치 체크. def enermy_check(x, y, mode, color): check_enermy = [] dx = [0, 1, 1, 1, 0, -1, -1, -1]...
[ "qwes123@naver.com" ]
qwes123@naver.com
812b33798a282b1ce8b7d31e14999b7e5d629e07
9255068b7b45348a084555b8c413fd55a4b12013
/odfdo/link.py
43d15ef07e9f2067b7636723ff4a05076ec64545
[ "Apache-2.0" ]
permissive
mat-m/odfdo
fdf9752f0273760deb59403f23dbc20eac3de753
a4a509a056517ecf91449e029b36fe9a8ffa8ed0
refs/heads/master
2020-03-18T05:04:16.263647
2018-05-21T21:46:13
2018-05-21T21:54:11
134,322,638
0
0
null
null
null
null
UTF-8
Python
false
false
2,931
py
# Copyright 2018 Jérôme Dumonteil # Copyright (c) 2009-2013 Ars Aperta, Itaapy, Pierlis, Talend. # # 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...
[ "jerome.dumonteil@gmail.com" ]
jerome.dumonteil@gmail.com
092653579244e4f4c095d89145e7b1090c29b97a
8ecd899a8558ad0a644ecefa28faf93e0710f6fb
/other_practices/JOI2009_ho2.py
bf6da9af81b0852342546b9a6414ba07ece8d743
[]
no_license
yut-inoue/AtCoder_ABC
b93885547049788d452e86b442a4a9f5ee191b0e
3d2c4b2b2f8871c75f86040ad07ccd7736ad3dbe
refs/heads/master
2021-07-03T09:09:20.478613
2021-02-21T13:20:31
2021-02-21T13:20:31
227,140,718
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
import bisect d = int(input()) n = int(input()) m = int(input()) dl = [int(input()) for _ in range(n-1)] ml = [int(input()) for _ in range(m)] dl.append(0) dl.append(d) dl.sort() dis = 0 for m in ml: ind = bisect.bisect_left(dl, m) dis += min(abs(dl[ind]-m), abs(dl[ind-1]-m)) print(dis)
[ "yinoue.1996787@gmail.com" ]
yinoue.1996787@gmail.com
fdcfdfd429431291ef3a98faf19e4dc7d4ffcdb2
841c0df958129bef4ec456630203992a143c7dc7
/src/1/1297.py
8c9a783bb90ccd8c2f495c94b1b79838d0b82fc5
[ "MIT" ]
permissive
xCrypt0r/Baekjoon
da404d3e2385c3278a1acd33ae175c2c1eb82e5e
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
refs/heads/master
2022-12-25T18:36:35.344896
2021-11-22T20:01:41
2021-11-22T20:01:41
287,291,199
16
25
MIT
2022-12-13T05:03:49
2020-08-13T13:42:32
C++
UTF-8
Python
false
false
385
py
""" 1297. TV 크기 작성자: xCrypt0r 언어: Python 3 사용 메모리: 29,380 KB 소요 시간: 72 ms 해결 날짜: 2020년 9월 20일 """ def main(): d, h, w = map(int, input().split()) hk = pow(d ** 2 * h ** 2 // (h ** 2 + w ** 2), 0.5) wk = pow(d ** 2 * w ** 2 // (h ** 2 + w ** 2), 0.5) print(f'{int(hk)} {int(wk)}') if __name__ == '__m...
[ "fireintheholl@naver.com" ]
fireintheholl@naver.com
9ef04a08bc10dea64e0d9e928d37a877bfa39cc1
603ed82854e5b67af76d9bbdf4d2183419c6167c
/pages/views.py
05b88e646d6daa37ff170c9d948d5fc2c442c219
[]
no_license
IbrahimAlAzhar/Basic-CRUD
26a209433fefb3da38d742602e54abeff83daa8d
2e9d68537270fc72b44757b39eea845d78602902
refs/heads/master
2022-12-14T11:34:20.784724
2020-09-05T21:18:51
2020-09-05T21:18:51
293,155,575
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
from django.shortcuts import render # Create your views here. from django.shortcuts import render from django.http import HttpResponse def home_view(request,*args, **kwargs): print(args, kwargs) print(request) print(request.user) # return HttpResponse("<h1>Hello world</h1>") return render(request...
[ "ibrahimalazhar264@gmail.com" ]
ibrahimalazhar264@gmail.com
ea7db6646783c4f5b7190aa6fb3fa228a8266c5b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03061/s160632113.py
8ebe292df9e3f2e8d6f104cfca93a5b226a41bb0
[]
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
402
py
from fractions import gcd N = int(input()) A = list(map(int, input().split())) L = [-1] * (N-1) L[0] = A[0] R = [-1] * (N-1) R[0] = A[-1] for i in range(1, N-1): L[i] = gcd(L[i-1], A[i]) for i in range(1, N-1): R[i] = gcd(R[i-1], A[-i-1]) ans = 0 for i in range(1, N-1): tmp = gcd(L[i-1], R[N-i-2]) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
92a05238afd3189143bdf1d508e8b2205b46dabe
917c0949dd410439e7f882e20a3fb744b7b4bd6e
/Pandas/obesity.py
bf7e8dceb6a5561f1b97151d830ba938469e350c
[ "MIT" ]
permissive
daveaseeman/PyEng
229d01df85c2959b4333d5bd19ba15029b11ee38
31403a7f0e557456eeaad865295213cf27847bf9
refs/heads/master
2020-12-28T19:11:49.210811
2017-05-15T23:13:42
2017-05-15T23:13:42
43,885,548
0
0
null
2015-10-08T12:03:50
2015-10-08T12:03:49
null
UTF-8
Python
false
false
1,221
py
import pandas as pd import matplotlib.pyplot as plt data = pd.ExcelFile("Obes-phys-acti-diet-eng-2014-tab.xls") print data.sheet_names # Read section 7.1 from the Excel file # Define the columns to be read columns1 = ['year', 'total', 'males', 'females'] data_gender = data.parse(u'7.1', skiprows=4, skipfooter=14, ...
[ "a@a.com" ]
a@a.com
976eab4c20ccc6d97267a0e261e856efb42bac17
9a393d5dae8147088b1c9b78987197c60a6618cf
/0828/모의2.py
5afbfdf130cc6d42c69e1a772ee5ab0f6d43cf74
[]
no_license
bumbum9944/bumpycharm
5444440379f6d5142130bc8a7a4b69276f23f991
b487eb433d41ff0d2f6e1ca4f723225b114b96c0
refs/heads/master
2020-07-05T16:04:35.153231
2019-10-02T00:14:00
2019-10-02T00:14:00
202,693,662
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
def shuffle(cards, card_u, card_d, N): X = list(range(N)) global cnt if cards != card_u and cards != card_d: if cnt > 5: return -1 else: cnt += 1 for x in X: if x > N // 2: x = x - N // 2 for change in ra...
[ "tong940526@gmail.com" ]
tong940526@gmail.com
c570ee9849bd9f6570218d86553e22d114fc0308
0130c8b14927097663157846adc4b146d67d2fda
/tests/common/test_op/conv_ad_v2.py
8938d4b68efd6d2d80bc3ba6342cb407603a7729
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-3-Clause", "NCSA", "LLVM-exception", "Zlib", "BSD-2-Clause", "MIT" ]
permissive
Shigangli/akg
e8be3e0ee1eafe3e42b4cc4d424c28f08ef4c0bc
3766c54e0b109541932d147a6b5643a334b82403
refs/heads/master
2023-09-06T05:13:40.571583
2021-11-23T03:44:54
2021-11-23T03:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,379
py
# Copyright 2019 Huawei Technologies Co., Ltd # # 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...
[ "1027252281@qq.com" ]
1027252281@qq.com
2438dc850e5d62d640bcdc86236a89bc67376373
1d60c5a7b8ce6277bff514e376f79848f706344c
/Data Engineer with Python/04. Writing Efficient Python Code/04. Basic pandas optimizations/08. Bringing it all together: Predict win percentage.py
cf12b3bebb30941ce6308446c58c8d8a439da8bb
[]
no_license
DidiMilikina/DataCamp
338c6e6d3b4f5b6c541c1aba155a36e9ee24949d
3bf2cf3c1430190a7f8e54efda7d50a5fd66f244
refs/heads/master
2020-12-15T13:16:54.178967
2020-05-06T17:30:54
2020-05-06T17:30:54
235,113,616
4
3
null
null
null
null
UTF-8
Python
false
false
2,790
py
''' Bringing it all together: Predict win percentage A pandas DataFrame (baseball_df) has been loaded into your session. For convenience, a dictionary describing each column within baseball_df has been printed into your console. You can reference these descriptions throughout the exercise. You'd like to attempt to pre...
[ "didimilikina8@gmail.com" ]
didimilikina8@gmail.com
3f126799ab9a40abdd2ebaae9d63469bf925c350
65381b8dffa1ade89746f6fc3a4979a7eb548d34
/analytic_structure/models/analytic_dimension.py
3e0c1f79cf94b69f49c82b31d834c963f9d7f218
[]
no_license
ff4f/AISJ-13
a4240d1952c3854dd5b21a62cf7dbfdebb16fde5
a2f2183e0f753100842877efecc844bdc72f8bd4
refs/heads/master
2023-05-08T22:54:43.972954
2021-06-03T14:44:10
2021-06-03T14:48:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
# -*- coding: utf-8 -*- from odoo import models, fields class AnalyticDimension(models.Model): ###################### # Private attributes # ###################### _name = "account.analytic.dimension" ################### # Default methods # ################### ######################...
[ "LuisAngelMalaveMora@gmail.com" ]
LuisAngelMalaveMora@gmail.com
aff1a5f925b9a5fb61aa23bc3c7204c9d0b2fdf8
98f730ec6a43d8be4a34b0f2a44a9d35989d2287
/tests/unit/entity/test_flow_file_entity.py
c96730ce6075f70da6c024829667d2c0880046c9
[]
no_license
scottwr98/pynifi-client
9337a4f322536ee466d419a788b8b5948cdc62d7
013ac2ffa591284a0d6cbb9ed552681cc6f91165
refs/heads/master
2020-04-18T08:47:03.680749
2017-11-04T23:59:58
2017-11-04T23:59:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
# coding: utf-8 """ NiFi Rest Api The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ...
[ "ajish@rootedinsights.com" ]
ajish@rootedinsights.com
386b87b23a4abb72e8025a74ef4beb8cda822341
c2bcf42e04a1e2146b41b250ff14e62fddcdf589
/docs/examples/plot_gpr.py
b38412ecdc8bb8734c124690fb196f341c3f89ea
[ "Apache-2.0" ]
permissive
onnx/sklearn-onnx
0f958e1c090572fbe11e15f95bec975d1780cf8d
895c3a76a315c7a6567a1a07a96dc658994ec16a
refs/heads/main
2023-08-18T18:49:25.164433
2023-08-17T09:52:31
2023-08-17T09:52:31
162,340,939
455
92
Apache-2.0
2023-08-31T16:04:13
2018-12-18T20:18:48
Python
UTF-8
Python
false
false
6,674
py
# SPDX-License-Identifier: Apache-2.0 """ .. _l-gpr-example: Discrepencies with GaussianProcessorRegressor: use of double ============================================================ The `GaussianProcessRegressor <https://scikit-learn.org/stable/modules/generated/sklearn.gaussian_process. GaussianProcessRegressor.h...
[ "noreply@github.com" ]
onnx.noreply@github.com
67032eeb4f2ea4129a550c569f568b99688b109e
c9952dcac5658940508ddc139344a7243a591c87
/lab/lecture/reader1.py
d3885dfb767c08b06da281dc2472b7af0b93c299
[]
no_license
wongcyrus/ite3101_introduction_to_programming
5da1c15212528423b3df91997327fe148abef4de
7cd76d0861d5355db5a6e2e171735bee2e78f829
refs/heads/master
2023-08-31T17:27:06.193049
2023-08-21T08:30:26
2023-08-21T08:30:26
136,574,036
3
2
null
2023-08-21T08:30:28
2018-06-08T06:06:49
Python
UTF-8
Python
false
false
44
py
message = input('Message? ') print(message)
[ "cywong@vtc.edu.hk" ]
cywong@vtc.edu.hk
bd9b3e6313ea6387c3ad74cf5a29de28b414e98c
c24cc0544ff838b8eb837b941bf2425ce7895293
/eggs/__init__.py
5587e8f54e093b901242ce4f0b28eb5a8d58da44
[]
no_license
mscroggs/readthedocstest
16d9fc35f841a4398fc2e47e36016dc86f102564
f0750170fe8aab0e69281eb8c98d9c513f9832c8
refs/heads/master
2021-01-01T16:22:31.053270
2017-07-21T08:01:18
2017-07-21T08:01:18
97,815,926
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
from eggs import * from oil import *
[ "matthew.w.scroggs@gmail.com" ]
matthew.w.scroggs@gmail.com
44465a4a6db8996eacce62966259ef8c47a0909e
1915774790a77a630c00e70738ac41a315f5a2cb
/doorscalc/migrations/0034_order.py
0f5f4e76a216a981d62729e85601dd332467b201
[]
no_license
coconutcake/hajduktools
842948646d2e8d3368b4d420d73bba981d649d43
6f9e678a1168195d77d1163bc9145205d03bb141
refs/heads/master
2020-07-02T20:02:19.914649
2019-09-13T17:44:05
2019-09-13T17:44:05
201,648,138
0
2
null
null
null
null
UTF-8
Python
false
false
1,456
py
# Generated by Django 2.1.11 on 2019-08-21 11:08 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('doorscalc', '0033_auto_...
[ "contact@mign.pl" ]
contact@mign.pl
c0fda12954d82dd3a44313c715b0d476d2c87363
e5eec1428da1d24d3e9b86f5723c51cd2ca636cd
/백준 삼성역량테스트기출/시험감독.py
4c3226fd88492be95fe560c0c9ef3c4b27668a7e
[]
no_license
jamwomsoo/Algorithm_prac
3c36c381f59277721517d331a8f1640399d80c1d
8393f3cc2f950214c47f3cf0b2c1271791f115d0
refs/heads/master
2023-06-09T06:49:14.739255
2021-06-18T06:41:01
2021-06-18T06:41:01
325,227,295
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
n = int(input()) a_lst = list(map(int, input().split())) b, c = map(int, input().split()) total = 0 for i in range(n): total+=1 a_lst[i] -= b if a_lst[i] > 0: total += a_lst[i]//c z = a_lst[i] % c if z > 0: total+=1 print(total)
[ "41579282+jamwomsoo@users.noreply.github.com" ]
41579282+jamwomsoo@users.noreply.github.com
a6681169fe270861ab20c12bb9dd080537671d0c
80ae9b5cfb45b6e9cf7873ef7c46e17e117e4019
/data/HackerRank-ProblemSolving/Is This a Binary Search Tree.py
731ae39593eed79cc53c99eb8fef64bfffb5dc12
[]
no_license
Ritvik19/CodeBook
ef7764d89b790e902ede5802f36d5ca910d8a50e
2b4ed7938bbf156553d6ba5cba6216449528f0fc
refs/heads/master
2021-07-04T08:25:52.478719
2020-08-08T06:54:14
2020-08-08T06:54:14
138,744,302
3
0
null
null
null
null
UTF-8
Python
false
false
437
py
""" Node is defined as class node: def __init__(self, data): self.data = data self.left = None self.right = None """ def check_binary_search_tree_(root): return check_node(root, -1, 10001) def check_node(node, Min, Max): if not node: return True if Min < node.data < M...
[ "rastogiritvik99@gmail.com" ]
rastogiritvik99@gmail.com
1094a919ee00b4136d877401a04011ef4e3c2f08
7b358c3af9b1d10ace466d492909c90b8937bb38
/models/utils.py
865c6c5c51e79993de84c555ce0805b820531d9a
[ "Apache-2.0" ]
permissive
shibaji7/model.CODE_BASE
b3090b0aa88c62e0fe62cb1b6c8bbca196b9e674
1ef8cffbbde1dbb05c405aedd1c0cac612ac6330
refs/heads/master
2023-04-11T13:07:52.722081
2021-09-23T02:47:25
2021-09-23T02:47:25
276,458,519
0
0
null
null
null
null
UTF-8
Python
false
false
18,464
py
#!/usr/bin/env python """utils.py: utils is dedicated to utility functions.""" __author__ = "Chakraborty, S." __copyright__ = "Copyright 2020, SuperDARN@VT" __credits__ = [] __license__ = "MIT" __version__ = "1.0." __maintainer__ = "Chakraborty, S." __email__ = "shibaji7@vt.edu" __status__ = "Research" import os imp...
[ "shibaji7@vt.edu" ]
shibaji7@vt.edu
cede73216293a8ce2fb462daf6702e71a3c0f983
51885da54b320351bfea42c7dd629f41985454cd
/abc023/d.py
44e56efe280652514dbc388ca3b19c414d04f3e6
[]
no_license
mskt4440/AtCoder
dd266247205faeda468f911bff279a792eef5113
f22702e3932e129a13f0683e91e5cc1a0a99c8d5
refs/heads/master
2021-12-15T10:21:31.036601
2021-12-14T08:19:11
2021-12-14T08:19:11
185,161,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,354
py
# # abc023 d # import sys from io import StringIO import unittest import bisect class TestClass(unittest.TestCase): def assertIO(self, input, output): stdout, stdin = sys.stdout, sys.stdin sys.stdout, sys.stdin = StringIO(), StringIO(input) resolve() sys.stdout.seek(0) out ...
[ "mskt4440@gmail.com" ]
mskt4440@gmail.com
b550022c8996e1254ad04bbc6e68d43f9a20036d
8bbeb7b5721a9dbf40caa47a96e6961ceabb0128
/python3/745.Find Smallest Letter Greater Than Target(寻找比目标字母大的最小字母).py
a515ae5b4ea2c96f75d6260137b0d993b0a8432c
[ "MIT" ]
permissive
lishulongVI/leetcode
bb5b75642f69dfaec0c2ee3e06369c715125b1ba
6731e128be0fd3c0bdfe885c1a409ac54b929597
refs/heads/master
2020-03-23T22:17:40.335970
2018-07-23T14:46:06
2018-07-23T14:46:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,576
py
""" <p> Given a list of sorted characters <code>letters</code> containing only lowercase letters, and given a target letter <code>target</code>, find the smallest element in the list that is larger than the given target. </p><p> Letters also wrap around. For example, if the target is <code>target = 'z'</code> and <cod...
[ "lishulong@wecash.net" ]
lishulong@wecash.net
10ba96abd7fbec0f39742d29991a6863ac7d558b
17c14b758959cdceec0dce8f783346fdeee8e111
/chap05_nlp/sequence_labeling/eng_model/main.py
9bc95c095d4eb0780ca8db2ad4280e23fd2c0801
[]
no_license
yurimkoo/tensormsa_jupyter
b0a340119339936d347d12fbd88fb017599a0029
0e75784114ec6dc8ee7eff8094aef9cf37131a5c
refs/heads/master
2021-07-18T12:22:31.396433
2017-10-25T01:42:24
2017-10-25T01:42:24
109,469,220
1
0
null
2017-11-04T05:20:15
2017-11-04T05:20:15
null
UTF-8
Python
false
false
1,871
py
import os from eng_model.data_utils import get_trimmed_glove_vectors, load_vocab, \ get_processing_word, CoNLLDataset from eng_model.general_utils import get_logger from eng_model.model import NERModel from eng_model.config import config try : # directory for training outputs if not os.path.exists(config...
[ "tmddno1@naver.com" ]
tmddno1@naver.com
2cbd45af7d26fd7efc079cde6e33ae3cf3e2f982
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_143/ch118_2020_03_29_04_35_07_099201.py
d8962c300590a574cb248be19c49e2d9ef558047
[]
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
275
py
import math def snell_descartes(n1, n2, o): y=(n1/n2) x=math.sin(math.radians(o)) z=x*y o2= math.asin(z) o2=math.degrees(o2) return o2 def reflexao_total_interna (n1, n2, o2): if (n2*o2)/n1 == o2: return True else: return False
[ "you@example.com" ]
you@example.com
178910e4f15626f235806824e33a9222ee63e9b0
308953409e1a3b828ac49b7301c1e751cbf762cf
/suite_EETc 12/tst_Open_Import_Export/test.py
4453463efcc939e846f44d4a6859e0aa61a262cf
[]
no_license
asthagaur1/danfoss-automation
4dcc7d8f000917b67e4d6f46ff862a525ddcbc5e
213a99d3375889cd0e0c801421a50e9fe6085879
refs/heads/main
2023-03-31T23:26:56.956107
2021-04-01T08:52:37
2021-04-01T08:52:37
353,627,845
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
def main(): excel = r"C:\gitworkspace\KoolProg-TestAutomation\Master_Functions\Test_Automation\SourceCode\suite_EETc 12\shared\testdata\Open_Import_Export.xls"; #Mapping with Global scripts for Function library and key action. source(findFile("scripts", "Functions.py")) source(findFile("scripts", "Actio...
[ "asthagaur@danfoss.com" ]
asthagaur@danfoss.com
14b48bbbf62470ff68ffb9122f28308444f5f2f1
25873da962b0acdcf2c46b60695866d29008c11d
/src/programr/clients/events/console/config.py
16a2c9b254edf08455d0a327b7f522385af6cbbc
[]
no_license
LombeC/program-r
79f81fa82a617f053ccde1115af3344369b1cfa5
a7eb6820696a2e5314d29f8d82aaad45a0dc0362
refs/heads/master
2022-12-01T14:40:40.208360
2020-08-10T21:10:30
2020-08-10T21:10:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,186
py
from programr.config.client.config import ClientConfigurationData class ConsoleConfiguration(ClientConfigurationData): def __init__(self): super().__init__("console") self._default_userid = "console" self._prompt = ">>>" @property def default_userid(self): return self._de...
[ "hilbert.cantor@gmail.com" ]
hilbert.cantor@gmail.com
56c90b4716f1cc14341f23413d49aaa8b0682632
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/bulk_email/tests/test_views.py
d2ec21c3ba6ac57f01f91d77bfab7dc4daf89163
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
3,247
py
""" Test the bulk email opt out view. """ import ddt import pytest from django.http import Http404 from django.test.client import RequestFactory from django.test.utils import override_settings from django.urls import reverse from common.djangoapps.student.tests.factories import UserFactory from lms.djangoapps.bulk_em...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
bd548c6e28569374dce6cece185f426673c7f3d6
8d0eec5c051cf902df1ef004b537115b888fe5c6
/async_dev/generators_two_way.py
7483829ccf1ffe0d0ef3648065fd504c53c26ea0
[]
no_license
MadhuV99/complete_py_course
494300225eef49470a92290f908c1d6f1296cb4f
ade2ac8c5722c45196b700d3ad99f37c9deb76d8
refs/heads/main
2023-02-24T06:57:57.441762
2021-02-04T03:49:58
2021-02-04T03:49:58
329,334,980
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
from collections import deque # friends = ['Rolf', 'Jose', 'Charlie', 'Jen', 'Anna'] friends = deque(('Rolf', 'Jose', 'Charlie', 'Jen', 'Anna')) def get_friend(): yield from friends def greet(g): while True: try: friend = next(g) yield f'HELLO {friend}' except StopIt...
[ "madhuvasudevan@yahoo.com" ]
madhuvasudevan@yahoo.com
9b64afa65c9d6ded04f35a8e66d55c8a70318c62
d488f052805a87b5c4b124ca93494bc9b78620f7
/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/third_party/apis/serviceuser/v1/serviceuser_v1_client.py
81860d607ce811e4c113893404142a4427ea51cd
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
PacktPublishing/DevOps-Fundamentals
5ce1fc938db66b420691aa8106ecfb3f9ceb1ace
60597e831e08325c7e51e8557591917f7c417275
refs/heads/master
2023-02-02T04:48:15.346907
2023-01-30T08:33:35
2023-01-30T08:33:35
131,293,311
13
19
null
null
null
null
UTF-8
Python
false
false
7,177
py
"""Generated client library for serviceuser version v1.""" # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.py import base_api from googlecloudsdk.third_party.apis.serviceuser.v1 import serviceuser_v1_messages as messages class ServiceuserV1(base_api.BaseApiClient): """Generat...
[ "saneetk@packtpub.com" ]
saneetk@packtpub.com
097bcb484e898145895118958d891df3c5377fe3
183e4126b2fdb9c4276a504ff3ace42f4fbcdb16
/I семестр/Програмування (Python)/Лабораторні/Братун 6305/Приклади/34/Ex26.py
4c5ba37cc50a32792e7f969423731ecf7a45162d
[]
no_license
Computer-engineering-FICT/Computer-engineering-FICT
ab625e2ca421af8bcaff74f0d37ac1f7d363f203
80b64b43d2254e15338060aa4a6d946e8bd43424
refs/heads/master
2023-08-10T08:02:34.873229
2019-06-22T22:06:19
2019-06-22T22:06:19
193,206,403
3
0
null
2023-07-22T09:01:05
2019-06-22T07:41:22
HTML
UTF-8
Python
false
false
296
py
import re p1 = re.compile(r"[0-9]+") print(p1.findall("2012, 2013, 2014, 2015, 2016")) p2 = re.compile(r"[a-z]+") print(p2.findall("2012, 2013, 2014, 2015, 2016")) t = r"[0-9]{3}-[0-9]{2}-[0-9]{2}" p = re.compile(t) print(p.findall("322-55-98")) print(p.findall("322-55-98, 678-56-12"))
[ "mazanyan027@gmail.com" ]
mazanyan027@gmail.com
f0ae052c5b0b8463da08c228210c0886e7c2f4a6
2fa12cde6a091a1559617e8f825b00f2a5c7f8ba
/src/007.py
7441d7fc81f6d9ddf193b5423fc9674d9eb1bc6f
[]
no_license
yeasellllllllll/bioinfo-lecture-2021-07
b9b333183047ddac4436180cd7c679e3cc0e399a
ce695c4535f9d83e5c9b4a1a8a3fb5857d2a984f
refs/heads/main
2023-06-15T20:31:35.101747
2021-07-18T14:31:27
2021-07-18T14:31:27
382,995,460
0
0
null
2021-07-05T06:06:35
2021-07-05T02:45:29
Python
UTF-8
Python
false
false
87
py
for i in range(2,9,2): for j in range(1,10,1): print(i, "*", j, '=', i*j)
[ "yeasel6112@gmail.com" ]
yeasel6112@gmail.com
fc1a2897b55e9c6109a9729b245562e9d13b8022
347c70d4851b568e03e83387f77ae81071ab739e
/older/rc-query-rest/tests/test_rest_query.py
5974c1291876236f288ae59b86951e2be8b4d673
[ "MIT" ]
permissive
neetinkandhare/resilient-community-apps
59d276b5fb7a92872143ce2b94edd680738693ce
3ecdabe6bf2fc08f0f8e58cbe92553270d8da42f
refs/heads/master
2021-12-27T09:05:36.563404
2021-09-29T13:04:56
2021-09-29T13:04:56
159,804,866
1
0
MIT
2021-08-03T19:45:45
2018-11-30T10:07:32
Python
UTF-8
Python
false
false
2,446
py
"""System Integration Tests for REST Query component""" from __future__ import print_function import os.path import pytest from circuits.core.handlers import handler data_dir = os.path.join(os.path.dirname(__file__), "rest_sample_data") config_data = """[rest] queue = rest query_definitions_dir = %s test_endpoint = h...
[ "hpyle@us.ibm.com" ]
hpyle@us.ibm.com
58abc4b1b7819ca83c47d829f036934ed54e49e7
bf7959048edc0005e04431a0864c719adc5ea9ea
/python版本/451-FrequencySort.py
def3b0ce4fd72584a4725058697bf09520d70677
[]
no_license
Yohager/Leetcode
7c24f490cfa5fd8e3cdb09e5a2305a134a064a93
585af82ff2c2d534053f6886714406019ed0c7d1
refs/heads/master
2022-12-07T23:51:16.347174
2022-11-28T02:30:53
2022-11-28T02:30:53
178,201,848
1
0
null
null
null
null
UTF-8
Python
false
false
223
py
class Solution: def frequencySort(self, s: str) -> str: c = collections.Counter(s) n = len(c.keys()) ans = '' for x in c.most_common(n): ans += x[0] * x[1] return ans
[ "guoyuhang0921@gmail.com" ]
guoyuhang0921@gmail.com
1d1bce381708be4fc64b894ae43fcf0a22f2e34e
6ee9a46a95a504cf91eb5031b180f2d6c6cc9d98
/cut_rod.py
f4f900ef0683dad36b563fa62f8a127caac380dd
[]
no_license
rohitmungre/dynamic_programming
8dc952f9f83e15a9b6eae8eef0e509da1c2add97
1d1f8036f5f6066bdc39436ace8132208466541e
refs/heads/master
2020-08-01T22:37:25.817167
2019-11-20T05:33:11
2019-11-20T05:33:11
211,140,758
1
0
null
null
null
null
UTF-8
Python
false
false
689
py
rod = 7 sz = [1,2,3,4] vl = [2,5,7,8] def cut_rod_dp(sz, vl, rod, idx, memo): if rod<= 0: return 0 if idx <0: return 0 tval = 0 varr = [] while rod >= 0: varr.append(tval+cut_rod_dp(sz, vl, rod, idx-1, memo)) rod = rod - sz[idx] tval = tval + vl[...
[ "noreply@github.com" ]
rohitmungre.noreply@github.com
b83ad2d4e1821a822a0a025c4c8ac3d98b9ceca2
e87aec694108cb1f76716260daf569bcb8091958
/fluo/db/backends/postgresql_psycopg2.py
0dc6fcb482eacb73871660aaf300340fe45c5048
[ "MIT" ]
permissive
rsalmaso/django-fluo
a283b8f75769ac6e57fa321c607819899e0c31c8
340e3b4f9c1b4b09feccefb9b3ab2d26d59fac2b
refs/heads/master
2023-01-12T01:37:06.975318
2020-12-01T17:13:11
2020-12-01T17:13:11
48,948,936
1
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
# Copyright (C) 2007-2020, Raffaele Salmaso <raffaele@salmaso.org> # # 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 restriction, including without limitation the rights # to use, cop...
[ "raffaele@salmaso.org" ]
raffaele@salmaso.org
53db8753d8c4e718450caf4aedd4c34c6bf8bbe6
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/BitPim/rev2895-2929/rev2895-2929/playlist.py
80a59694380a0966cc13538dfbfcc9752a490f64
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
13,937
py
""" Code to handle Playlist items. The playlist data includes 2 components: the list of available songs, and the playlist items. The format of the Playlist items is standardized. It is a list of dict which has the following standard fields: name: string=the name of the play list type: string=the type of this play list...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
73bbab25409bb3a778ef3dd83a746c1a3afa4f41
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/dnsresolver/azure-mgmt-dnsresolver/generated_samples/forwarding_rule_patch.py
ec4f075536336909b5c46cae450b85e6328d0b0b
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,788
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
348ec2eec4d21d7506aea88f63e6a2a997a674b6
131caeecc070839555b95382fe9c6ea77a618dce
/.history/Classiles/scynced_lights_20210615180248.py
a220c037ce3499a5a4636818e84bdd60366e17aa
[ "Unlicense" ]
permissive
minefarmer/Coding101-OOP
f128e34c95f5362b3d9a53bbac3d862c3f256263
d5655977559e3bd1acf6a4f185a6121cc3b05ce4
refs/heads/main
2023-05-22T18:42:37.769345
2021-06-18T00:28:06
2021-06-18T00:28:06
376,620,545
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
"""[Scynced Lights] Class attributes are "shared" """ class Light: pass a = Light() b = Ligth()
[ "pgoldfarm@yahoo.com" ]
pgoldfarm@yahoo.com
6b77d8e8260bf6dcb9f443b9a700a1dfa9e73bc2
4678c79ba53884b8a18383d3bf5a312d2408a20a
/adanet/core/estimator.py
b46b61c933221791b9569c7f56d2058a88c14e89
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
mlzxy/adanet
af902854b8ed79accf3f48121970524bd3283a82
5f30fd61457fd6fafea6e4fa9eef178e3de6b9fa
refs/heads/master
2021-10-10T06:59:04.818230
2019-01-07T20:33:24
2019-01-07T22:35:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
51,691
py
"""An AdaNet estimator implementation in Tensorflow using a single graph. Copyright 2018 The AdaNet 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 https://www.ap...
[ "weill@google.com" ]
weill@google.com
706c4a133f112d01c765c80eac0083d6d5e90652
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/uhd_restpy/testplatform/sessions/ixnetwork/topology/rxsakpool_22340fe5cb5d81664cab595d3e6d08ef.py
8aea7fbb4b72c3d049aa51d15c50a9fa0db81919
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
6,134
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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 restriction, including without limitation # the rights to use, copy, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com