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
3cb60c1ebf325c5942003b8fa40e2297b6616c4f
fc8c36247d32bbdf0c8afffd956589f9853aabf2
/leetcode/tips/reduce_example.py
a29f12a3b082f6fe94a0e769c74eb86faac1ca3e
[]
no_license
philips-ni/ecfs
1161dbe0da2e37fbee3e907b021052905e36aa99
c170b8eb6c71533c78663ec1e3e9f47cff811419
refs/heads/master
2021-01-01T18:08:07.311596
2019-08-18T05:58:53
2019-08-18T05:58:53
2,910,183
1
0
null
2018-09-02T06:06:18
2011-12-04T12:53:00
Python
UTF-8
Python
false
false
668
py
# importing functools for reduce() import functools import string # initializing list lis = [ 1 , 3, 5, 6, 2, ] # using reduce to compute sum of list print ("The sum of the list elements is : ",end="") print (functools.reduce(lambda a,b : a+b,lis)) # using reduce to compute maximum element from list print ("The m...
[ "feiphilips.ni@veritas.com" ]
feiphilips.ni@veritas.com
c0e255e878720b0f9197de78cca0d5b34c912139
a71319f9a9c02dab39f1f9297c868877801ad11a
/digoie/core/ml/classifier/mla/ada_boost.py
efcb5db0194d1f51f78c0ed448aa8d991347d8c1
[ "MIT" ]
permissive
ZwEin27/digoie-annotation
8918e6f798a0ea3dfb2c2102c518226b4d16b33f
edf01770e26a78267045bba33a54aef3376fa63f
refs/heads/master
2021-01-10T14:41:39.359545
2016-02-18T23:21:20
2016-02-18T23:21:20
52,044,181
2
0
null
null
null
null
UTF-8
Python
false
false
585
py
from sklearn.ensemble import AdaBoostClassifier from digoie.core.ml.classifier.mla.base import MLAlgorithm class MLAdaBoost(MLAlgorithm): # ML_NAME = K_NEIGHBORS def __init__(self, training_dataset, training_label): super(MLAdaBoost, self).__init__(training_dataset, training_label) def gener...
[ "zwein27@gmail.com" ]
zwein27@gmail.com
7a777938d2aaee76ce7b19bc6d31495cfa82f8a2
bc441bb06b8948288f110af63feda4e798f30225
/ens_sdk/model/tuna_service/requirement_instance_pb2.pyi
73752e56e488b8ddda20da8767346ed134a99304
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
3,706
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from ens_sdk.model.topboard.issue_pb2 import ( Issue as ens_sdk___model___topboard___issue_pb2___Issue, ) from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.c...
[ "service@easyops.cn" ]
service@easyops.cn
9136df46634091373603e47cac18e4d832f8e94a
d6b51c2d09624c071dc005d26066c3fea26b445b
/software/strings.py
ba4fdbb6f2ce26b965127d6b73153e4be853cfcf
[ "BSD-2-Clause" ]
permissive
mayhem/trippy-strings
f636dcb1889970a63e2489500b78b6e7489fbc61
2a964dea479da219a000841f8c4364238ee7cecb
refs/heads/master
2020-11-30T04:32:19.715313
2019-12-30T22:25:25
2019-12-30T22:25:25
230,302,747
0
0
null
null
null
null
UTF-8
Python
false
false
6,653
py
#!/usr/bin/python3 from time import sleep, time from threading import Thread import pigpio import serial from encoder import decoder from simple_pid import PID BUTTON_0 = 17 BUTTON_1 = 8 HALL_1_0 = 27 HALL_1_1 = 22 HALL_2_0 = 23 HALL_2_1 = 24 DEVICE = "/dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Uno_64932...
[ "rob@musicbrainz.org" ]
rob@musicbrainz.org
8708bf5377e980924b60f71f37bd424bc3ee3c2a
a0015a3dc121c8fcdd5d2eadd522ece03b4ceec8
/docs/cornell CS class/lesson 12. Python Memory/demos (4)/demos/anglicize.py
7f2dc39ae85e2bc645d770d016a097a5b437bc82
[ "MIT" ]
permissive
LizzieDeng/kalman_fliter_analysis
fc40d475797dbddba5f9f2dfb224fbf68d77865f
50e728f32c496c3fcbb8ca3ee00857b999b88d99
refs/heads/main
2023-03-03T02:46:19.020078
2021-02-05T07:53:10
2021-02-05T07:53:10
329,243,328
0
0
null
null
null
null
UTF-8
Python
false
false
3,278
py
""" Functions to anglicize integers in the range 1..999,999 The primary function in this module is anglicize(). This is a great module to help you understand preconditions. Author: Walker M. White Date: September 6, 2018 """ def anglicize(n): """ Returns the English equivalent of n. Examples: ...
[ "dengff@w-ibeda.com" ]
dengff@w-ibeda.com
d3eaa398d65ee1c8be9007aee005488c3342511e
53c7b7176f54c1fe674b6d41831a0466646ded27
/xds.py
0bb80531533939ab70345c8a7f7a93af92d694a3
[]
no_license
li20211220/yam_scripts
25632d5f899d4ea12324cc3b61f379c4ac9d9b6b
b61c5d5c19f45110873b3ef090863d1b64be6bfe
refs/heads/master
2021-12-21T08:42:20.735724
2015-12-03T01:13:47
2015-12-03T01:13:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,302
py
""" xds.py (c) RIKEN 2015. All rights reserved. Author: Keitaro Yamashita This software is released under the new BSD License; see LICENSE. """ import re, os, glob, shutil, random, string re_xds_kwd = re.compile("([^ =]+)= *((?:(?! [^ =]+=).)*)") def get_xdsinp_keyword(xdsinp): ## # Return the list of tupl...
[ "keitaroyam@users.noreply.github.com" ]
keitaroyam@users.noreply.github.com
d7a394a961146ad26bbc1b0c8972e368836a15b1
69b68644e044aee160b192b691c3a6a55e680531
/order/urls.py
d063b334100f5730e107e2e61ceb7f025878728d
[]
no_license
shakebee/TrainTicket
061b452c1ba2528133c3efbe38ad165784bb9e9d
068428865cfdedfb163ed816813827aca40e0fe5
refs/heads/master
2023-03-15T09:58:25.004378
2019-04-18T06:06:53
2019-04-18T06:06:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
"""__author__ == ChiAo""" from django.urls import path, include from order.views import * urlpatterns = [ path('orderinfo/<int:id>/', orderinfo, name='orderinfo'), path('user_order/', user_order, name='user_order') ]
[ "you@example.com" ]
you@example.com
62d7ae13951cfd8eaa0fe3ec949ffae26c94e622
90047daeb462598a924d76ddf4288e832e86417c
/content/test/gpu/gpu_tests/depth_capture_expectations.py
4f6f920433079a34d965ec8bd64a2e649cea0459
[ "BSD-3-Clause" ]
permissive
massbrowser/android
99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080
a9c4371682c9443d6e1d66005d4db61a24a9617c
refs/heads/master
2022-11-04T21:15:50.656802
2017-06-08T12:31:39
2017-06-08T12:31:39
93,747,579
2
2
BSD-3-Clause
2022-10-31T10:34:25
2017-06-08T12:36:07
null
UTF-8
Python
false
false
514
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from gpu_tests.gpu_test_expectations import GpuTestExpectations # See the GpuTestExpectations class for documentation. class DepthCaptureExpectations(GpuTe...
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com
b2dd084af095a3452640b28de119f2302390264e
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py
f88b0b2f44d6caf2af91899912c14a21a825db38
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
21,744
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
d5f925c1ea52cfa7fa752a5db4930d422a979a0f
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_1_01a/ip/hide_as_path_holder/as_path/__init__.py
aea4ac81b6f89792394f9343ffb22e47ed052352
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,024
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
6b2e94a1454018555571148993abd6bcf250a917
08f484c61bf303ee2ec78aff9960f4812fe1e839
/examples/blender/varfont2.py
76a46a5b1fe28e4dbb674c19ccf7bbc271883ae9
[ "Apache-2.0" ]
permissive
rohernandezz/coldtype
02bee08e021be8dfe45328076c512f06ea8f13ae
724234fce454699a469d17b6c78ae50fa8138169
refs/heads/main
2023-07-27T16:09:10.696755
2021-09-11T21:17:55
2021-09-11T21:17:55
405,537,609
0
0
Apache-2.0
2021-09-12T03:34:29
2021-09-12T03:34:28
null
UTF-8
Python
false
false
544
py
from coldtype import * from coldtype.blender import * @b3d_animation(timeline=60, center=(0, 1), upright=1) def varfont2(f): return (Glyphwise("COLD\nTYPE", lambda g: Style(Font.ColdtypeObviously(), 475, wdth=f.adj(-g.i*5) .e("seio", 1, rng=(0.98, 0)))) .xalign(f.a.r) ...
[ "rob.stenson@gmail.com" ]
rob.stenson@gmail.com
f79ca1dbba33c4678226d85f7901382ac2ded2e1
abe5f9ae48539b0c672f773c3ab8ebfbcf03cb0f
/rank1/yuki21.py
227fb1bce164933c398b710e9205f27e9e049dbb
[]
no_license
yumechi/YukicoderHandoutCodes
a9386935911b8f98c65792311dc8c65804eb8ef3
7a988f7d492e718ddbbe40b4f4aceb66139319f9
refs/heads/master
2021-01-15T17:54:50.323518
2017-11-26T13:48:28
2017-11-26T13:48:28
33,710,475
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
N = int(input()) K = int(input()) nlist = [] for _ in range(N): nlist.append(int(input())) print(int(max(nlist) - min(nlist)))
[ "yumechi@users.noreply.github.com" ]
yumechi@users.noreply.github.com
eeb79e59e866d80e06cfe1333fa018a1bb5e644b
4109b21fbda46fe9f8346bc9596500ec1e3e7ca6
/danceschool/vouchers/migrations/0015_voucheruse_registration.py
a173e246c2c64ba6c04a472467fb089883bb2b07
[ "BSD-3-Clause" ]
permissive
django-danceschool/django-danceschool
fff6aa740c5e4d832198ff7cdd0fe548380892cb
19db3e83e76ea2002ee841989410d12d1e601023
refs/heads/master
2023-09-04T13:02:54.207590
2023-07-10T12:28:13
2023-07-10T12:28:13
89,738,184
40
21
BSD-3-Clause
2023-07-10T12:28:15
2017-04-28T19:26:33
JavaScript
UTF-8
Python
false
false
640
py
# Generated by Django 3.1.6 on 2021-02-12 04:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('vouchers', '0014_voucheruse_registration_to_invoice'), ] operations = [ migrations.RemoveField( ...
[ "lee.c.tucker@gmail.com" ]
lee.c.tucker@gmail.com
fd1c8ea70ee72935b2cad50df87e9d294cc6a12f
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2408/60644/240145.py
d5fb0980370fcd7a36e577924a88bd9b21b6cb45
[]
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
289
py
n=int(input()) s=0 res=True ans=1 for i in range(2,n+1): for j in range(2,i): if i%j==0: res=False break if res: s=s+1 res=True k=n-s while s!=0: ans=ans*s s=s-1 while k!=0: ans=ans*k k=k-1 ans=ans%(1000000007) print(ans)
[ "1069583789@qq.com" ]
1069583789@qq.com
475ca2428a37c6a843d2476333d780f11e99add9
863509e794b069c9688f6263454c06d2c48868b2
/backend/backend/ml_model/client_server/django_ml_embedding.py
f8cc43f4d44e43b9f8b7bc0f8b5a27900bdf43eb
[ "MIT" ]
permissive
TheDuckWhisperer/tournesol
c6df38185963bbecc6109dac275075a3ceca857a
0fde7587e91a42e5a2218f2ffb70d4fc8cff7f73
refs/heads/master
2023-04-18T15:31:20.627952
2021-05-01T19:59:07
2021-05-01T19:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,336
py
from backend.rating_fields import VIDEO_FIELDS from backend.ml_model.preference_aggregation_with_embeddings import \ PreferenceLearningModelEmbedding, MedianPreferenceAverageRegularizationAggregator from backend.ml_model.client_server.database_learner import DatabasePreferenceLearner import gin import numpy as...
[ "sergei.volodin.ch@gmail.com" ]
sergei.volodin.ch@gmail.com
ab4b65d106a5fcb153c6dad39efba468e404fdfc
6b2cc892df0fcbf0913b61b2158bb0dea898d715
/profile/test/null_tex.py
3ee4483a78441758abe70e438d7b897706b4276d
[]
no_license
guziy/nbconvert
a2cc77e23008f31038ec291ea1a2b8f85c589504
6f498b4422efab238eca2f0dfc235cc8d52053e5
refs/heads/master
2020-12-24T10:15:39.379408
2013-05-02T21:18:18
2013-05-02T21:18:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
c = get_config() c.ConverterTemplate.extract_figures=False c.ConverterTemplate.template_file='null' c.ConverterTemplate.tex_environement=True c.ExtractFigureTransformer.enabled = False
[ "bussonniermatthias@gmail.com" ]
bussonniermatthias@gmail.com
ba7784ff6d346033d9d56149d2423576747dd08d
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/prb_control/entities/event/squad/scheduler.py
7cb4be875e4e4a75ca7db9dec6cdf1c9bf350770
[]
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
898
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/prb_control/entities/event/squad/scheduler.py from adisp import process from gui.prb_control import prbDispatcherProperty from gui.prb_control.entities.base.ctx import PrbAction from gui.prb_control.entities.event.pre_queue.sche...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
4be73a8ab6f8d9f59f2effc521827975913c7b5e
92237641f61e9b35ff6af6294153a75074757bec
/Machine Learning/수업 자료/2주차_데이터 과학을 통한 자연어 처리와 통계학습/제10일차_numpy_pandas/seriesTest01.py
9d1b578f6ea1f756581638841b5519fa7b8e41f3
[]
no_license
taepd/study
8ded115765c4f804813e255d9272b727bf41ec80
846d3f2a5a4100225b750f00f992a640e9287d9c
refs/heads/master
2023-03-08T13:56:57.366577
2022-05-08T15:24:35
2022-05-08T15:24:35
245,838,600
0
1
null
2023-03-05T23:54:41
2020-03-08T15:25:15
JavaScript
UTF-8
Python
false
false
889
py
# seriesTest01.py # Series : 1차원적인 동일한 타입의 데이터 묶음 # ex) 엑셀 파일의 특정한 1개의 컬럼 정보 from pandas import Series mylist = [10, 40, 30, 20] # 색인을 지정하지 않으면, 0부터 순차적으로 숫자를 매김 myseries = Series(mylist) print(myseries) print('-'*30) # 색인을 지정하려면, index 매개변수를 사용 myseries = Series(mylist, index=['강감찬', '이순신', '김유신', '광해군']) # 색인에 이름...
[ "taepd1@gmail.com" ]
taepd1@gmail.com
08eec14a750d68b6f1ef77cd34ca5d062641ae89
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v9/resources/types/distance_view.py
f73eebb96d95028ff8078a10cf24ef3d0370bb84
[ "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
2,202
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
f53074f9150dca86bc5a8ec2f19637d6e993bde9
40132307c631dccbf7aa341eb308f69389715c73
/OLD/idmt/maya/A3/yuCheckAnimatorCross.py
7d726cd8513edecb36a876c71726f7d194936352
[]
no_license
Bn-com/myProj_octv
be77613cebc450b1fd6487a6d7bac991e3388d3f
c11f715996a435396c28ffb4c20f11f8e3c1a681
refs/heads/master
2023-03-25T08:58:58.609869
2021-03-23T11:17:13
2021-03-23T11:17:13
348,676,742
1
2
null
null
null
null
UTF-8
Python
false
false
17,763
py
# -*- coding: utf-8 -*- ''' Created on 2017 @author: yufengsheng ''' from maya.cmds import * import maya.mel as mel import sys if not pluginInfo('SOuP',q=1,l=1): loadPlugin('SOuP', qt=True) def yuCheckAnimatorWin(): windowName='checkAnimatorWin' if(window(windowName,exists=1)): deleteUI(windowName) window(w...
[ "snakelonely@outlook.com" ]
snakelonely@outlook.com
8d117a0bdb13ae8e7c3426762137387d9d6730de
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2455/60668/302800.py
c9f7f4f1330a784270492afcaf1df54cb160d192
[]
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
340
py
def tree_10_beauty(s): if s=="-1 -1 -1 1 1 1 0": print(3,end='') elif s=="5 1 0 2 -5 ": print(8,end='') elif s=="5 1 7 2 1 ": print(16,end='') elif s=="-1 1 -1 2 1 3 5": print(12,end='') else: print(s) if __name__=='__main__': n = input() s = input() ...
[ "1069583789@qq.com" ]
1069583789@qq.com
de2af027a24936a2aa848867cd97169b35c7e119
67055c66ae4bca82ee61dab1757b73cc21559cfd
/regex_solutions/19_find_multiple_patterns.py
f08cf92264e04dee64b83186d008c680e19881ef
[]
no_license
kevinelong/network_python
0482f694c9c050f4226bdfb7cc4fe31df26dd17b
41158808bac5d127c3f3f3cfaea202cb60d7167c
refs/heads/master
2023-07-14T12:20:14.550017
2021-08-26T00:13:45
2021-08-26T00:13:45
359,521,517
1
20
null
2021-04-28T18:08:15
2021-04-19T16:12:03
Python
UTF-8
Python
false
false
484
py
import re """ 19) Write a Python program to search some literals strings in a string. Go to the editor Sample text : 'The quick brown fox jumps over the lazy dog.' Searched words : 'fox', 'dog', 'horse' """ patterns = ['fox', 'dog', 'horse'] text = 'The quick brown fox jumps over the lazy dog.' for pattern in patterns...
[ "kevinelong@gmail.com" ]
kevinelong@gmail.com
df994f7b6c0394187f9cac3d6115ae8a41538685
3dad2bf113dfed42af1c52ad75a6c20b6d98852c
/AppEngine_Solution/rose-photo-slideshow/main.py
c7eeac4004118c1b1770c8b645f304127c66bf82
[]
no_license
WebDevCourseMaterial/PhotoSlideshow
c0d0830fc8f5d13f8769247d204c3d31755bef36
5486ae2918672f68afe676e081552780980df580
refs/heads/master
2016-09-06T11:26:24.650371
2012-11-14T17:10:17
2012-11-14T17:10:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
#!/usr/bin/env python # # Simple message board from google.appengine.ext import ndb from google.appengine.ext.webapp import template import logging import webapp2 class Photo(ndb.Model): url = ndb.StringProperty(default='') caption = ndb.StringProperty(default='') created_date_time = ndb.DateTimeProperty(...
[ "fisherds@rose-hulman.edu" ]
fisherds@rose-hulman.edu
9750dc46d5cc90e10994bd391462ce58fa46492e
46ae8264edb9098c9875d2a0a508bc071201ec8b
/res/scripts/clientreplayevents.py
a940b2720dd9690d9176eeec953208c05f25da0f
[]
no_license
Difrex/wotsdk
1fc6156e07e3a5302e6f78eafdea9bec4c897cfb
510a34c67b8f4c02168a9830d23f5b00068d155b
refs/heads/master
2021-01-01T19:12:03.592888
2016-10-08T12:06:04
2016-10-08T12:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
# Embedded file name: scripts/client/ReplayEvents.py import Event class _ReplayEvents(object): def __init__(self): self.onTimeWarpStart = Event.Event() self.onTimeWarpFinish = Event.Event() self.onPause = Event.Event() self.onMuteSound = Event.Event() self.onWatcherNotify =...
[ "m4rtijn@gmail.com" ]
m4rtijn@gmail.com
3482a16bef6372e086c32910d9a40004d24e6beb
e2423781704811bf0a0ecc07f9cb29d0a044ac48
/tensorflow_datasets/rl_unplugged/rlu_rwrl/rlu_rwrl.py
c7d5d92b56e47484e93cb40a1c555ba04963277c
[ "Apache-2.0" ]
permissive
mbbessa/datasets
af2506a8cf5c46c33143d6e0266ba50d8b4c3fcc
2a7e8e793197637948ea0e0be4aa02a6aa2f7f55
refs/heads/master
2021-11-30T22:28:55.825453
2021-11-19T20:49:49
2021-11-19T20:52:42
171,528,015
0
0
Apache-2.0
2019-02-19T18:34:26
2019-02-19T18:34:26
null
UTF-8
Python
false
false
14,107
py
# coding=utf-8 # Copyright 2021 The TensorFlow Datasets 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 appl...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
65d8aeca0985eec7086356d448f8a095a62e0a58
bae6727e07add5faa73ab29afbe68cf90cb11565
/pagebits/__init__.py
2fbd4b5123795e70699a1c961a3f84899640062c
[ "BSD-3-Clause" ]
permissive
frankwiles/django-pagebits
ce5e620c9cb903cf67948ebc220d0f9c07d6a298
62a1046face66f80fdb5f4b5c33e956ee273b6c4
refs/heads/master
2021-01-13T01:31:15.809778
2013-11-04T23:24:17
2013-11-04T23:24:17
6,360,271
4
6
BSD-3-Clause
2018-02-13T15:11:36
2012-10-23T21:26:26
Python
UTF-8
Python
false
false
21
py
VERSION = (0, 8, 1)
[ "frank@revsys.com" ]
frank@revsys.com
dc6d56e949bda8603fb54f37b66a3343c0c52c25
f8b7a0fec2ec736c4cc89e93f95a17226aeff909
/ep5-grade.py
3a1d47905b3252497520fbeed6d5736ea38b64b2
[]
no_license
askdjango/kookmin-201707
6642a048a07ee04d2be96367ba19b68de8534f18
0ccfe3d31bb8cd83c03fd9bbf2524dc92e11eaff
refs/heads/master
2020-12-30T11:03:19.909653
2017-08-04T07:44:24
2017-08-04T07:44:24
98,846,242
1
0
null
null
null
null
UTF-8
Python
false
false
2,144
py
import json try: with open("students.json", "rt", encoding="utf8") as f: json_string = f.read() students = json.loads(json_string) except FileNotFoundError: students = [] print("---- 제공메뉴 ----") print(" 1) 학생 전체목록") print(" 2) 성적 평균 TOP3") print(" 3) 학생 추가/수정") print(" 4) 학생 삭제") menu_number = inp...
[ "allieuslee@gmail.com" ]
allieuslee@gmail.com
2d094f849b2610e52418a2ad5c6a4a49c9004806
a518141ca3ba2b6fa63a7961b51936d9438ff022
/482 - Permutation Arrays.py
bd7d6f34342ec24aef9dfca5193a5e9971c6d0e9
[]
no_license
jlhung/UVA-Python
ec93b2c98e04c753e8356f3e4825584fae4a8663
7a0db4fecffd7ac4f377f93da41291a8e998ee9b
refs/heads/master
2022-11-28T04:47:49.270187
2020-08-10T13:19:58
2020-08-10T13:19:58
116,969,745
19
9
null
null
null
null
UTF-8
Python
false
false
278
py
''' 20180214 jlhung v1.0 ''' n = int(input()) x = 0 for _ in range(n): input() b = list(map(int, input().split())) c = list(map(str, input().split())) a = {} for i in range(len(b)): a[b[i]] = c[i] if x > 0: print() x += 1 for key in sorted(a): print(a[key])
[ "35291112+jlhung@users.noreply.github.com" ]
35291112+jlhung@users.noreply.github.com
6f81f2a1ec3d791c06a62f7906f5b4e11f9370dd
59c46f1a8cb5716387bc804002eb5fc44c978481
/apps/sw_shop/sw_catalog/models/__init__.py
fa29dc033f4ad4ec412e406efea364f3d8a0b081
[]
no_license
jurgeon019/box
00ea1755d129f5dab4a392d45dd43009dfff504e
966fd19a77574e8d10af4b2dba0a896aa4a474f1
refs/heads/master
2022-07-29T12:31:46.610717
2020-05-20T08:08:17
2020-05-20T08:08:17
265,495,211
0
0
null
2020-05-20T08:07:17
2020-05-20T08:07:17
null
UTF-8
Python
false
false
902
py
from .attribute import * from .config import * from .category import * # from box.core.sw_currency.models import * from .item_related import * from .item import * from box.core.models import AbstractRecipientEmail from django.utils.translation import ugettext_lazy as _ class CatalogConfig(SingletonModel): ...
[ "jurgeon018@gmail.com" ]
jurgeon018@gmail.com
e0aa659535e157b2f8f8e1f7f3d321a5c21a573e
92dc7342b6429bcc7d0ca3e2f97fbfff3c6cc64e
/elsim/methods/condorcet.py
dcdc0e656cd2cb2da8d1a2ecebbbc88b77fdd83b
[ "MIT" ]
permissive
endolith/elsim
c00cc02f4589f07a99071107a06a12a0faa24be8
d903ee076a77191c676b1f5807c832d360c0eef0
refs/heads/master
2023-08-04T15:04:10.501296
2023-07-20T22:39:08
2023-07-20T22:39:08
203,293,966
7
5
MIT
2023-04-12T15:53:20
2019-08-20T03:37:58
Python
UTF-8
Python
false
false
6,824
py
from itertools import combinations import numpy as np from elsim.methods._common import _tally_pairs, njit def ranked_election_to_matrix(election): """ Convert a ranked election to a pairwise comparison matrix. Each entry in the matrix gives the total number of votes obtained by the row candidate o...
[ "endolith@gmail.com" ]
endolith@gmail.com
32dfd7c1f6a627f3dc3d686ec95483f1173579cf
acf314ab0fa399018764b2ebd96e33c66362994e
/0x03-python-data_structures/1-element_at.py
34eb72e1c36780eb40993d537831a44bcfdb4821
[]
no_license
glyif/holbertonschool-higher_level_programming
98f9c2da0b71a4e9e2dd9f6fde755875e9015f34
14c02d79e2008db1b992b08f9faa55b20dbe0691
refs/heads/master
2021-01-20T06:53:16.179354
2017-09-28T18:14:12
2017-09-28T18:14:12
89,939,980
0
1
null
null
null
null
UTF-8
Python
false
false
138
py
#!/usr/bin/python3 def element_at(my_list, idx): if (idx >= len(my_list) or idx < 0): return (None) return (my_list[idx])
[ "122@holbertonschool.com" ]
122@holbertonschool.com
05c16fce0293491c4abfee2f847aa3ff4036103b
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/watermark.py
9a753fd0bb1fea90c0b177ba6e13c57348b2083b
[]
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
201
py
ii = [('WilkJMC3.py', 1), ('FitzRNS3.py', 1), ('KirbWPW2.py', 1), ('BabbCEM.py', 2), ('FitzRNS.py', 2), ('StorJCC.py', 1), ('RogeSIP.py', 1), ('MartHRW2.py', 1), ('FitzRNS2.py', 3), ('LyelCPG3.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
d83d54ef841f158cc4420569c009a39042a165bb
8e5ed445e05274dd013f443d9d506695fa08ad9f
/dat/operations/typecasting.py
d790a9b5f370778c7727fe853b7aacd87d97809a
[]
no_license
afcarl/DAT
5c2237f4b3745d3b47df27a91eab469cfadd9da9
1272b630326b05bca27746993fe2d32479a7353c
refs/heads/master
2020-06-22T05:49:54.135615
2015-09-16T14:10:41
2015-09-16T14:10:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
from dat.global_data import GlobalManager def get_typecast_operations(source_descriptor, expected_descriptor): """Finds the operations that can typecast from a module type to another. Returns the list of VariableOperation that: * have only one parameter * take the source_descriptor (or a supercla...
[ "remirampin@gmail.com" ]
remirampin@gmail.com
6ab57f73a413fdf26da495fbbbf8b7bfa0aef3c3
c440bcb0e566ed107d198593bfeb482c59276dd8
/advent_of_code/2021/util.py
954fa678c1ff04cc48f523c124f3d70e16926d10
[]
no_license
TheCDC/Musings
1ee917bbf2fd39f6fa97b268568053ca6ad7fbbf
7b07e315230248239bbccad5d85d0a5e8a54d5d8
refs/heads/master
2022-11-30T23:37:24.608955
2021-12-19T08:12:03
2021-12-19T08:12:03
175,046,297
0
0
null
2022-11-22T07:20:49
2019-03-11T17:01:54
Python
UTF-8
Python
false
false
290
py
import time class AdventTimer: def __init__(self): self.ti = time.time() def __enter__(self): return self def __exit__(self, exc_type, exc_value, exc_traceback): return self @property def duration(self): return time.time() - self.ti
[ "christopher.chen1995@gmail.com" ]
christopher.chen1995@gmail.com
8fdf8dc86697ad903b8ccdd09419db1e6b7de687
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02823/s893307458.py
623579a8f08095b5faaf04aae04a5f2a6766bd54
[]
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
121
py
n,a,b=map(int,input().split()) if (a-b)%2: print(min(n-b+1+(b-1-a)//2,a-1+1+(b-a-1)//2)) else: print(abs(a-b)//2)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e0d9c671f2a4a1408dc7b4c13a98f93f817e62ab
9e0086881aa9d48c486ea43df307ea811e65ebe6
/jdnlp/metrics/__init__.py
fb529968e8031ce13685f607a519b5f497e81f34
[]
no_license
jacobdanovitch/jdnlp
5fabbd04a6e1cda20954710a06daa509cb542597
46d1ff740d5bf157cbf7cb75b7b6afe9c5e13929
refs/heads/master
2020-08-06T16:31:14.645702
2019-12-15T21:31:58
2019-12-15T21:31:58
213,074,615
3
1
null
null
null
null
UTF-8
Python
false
false
55
py
from jdnlp.metrics.weighted_f1 import WeightedF1Measure
[ "google-dl-platform@googlegroups.com" ]
google-dl-platform@googlegroups.com
3c16754adb91615e342fc4efe3a97631418c387f
e8f4200494337d12afdf7e24888d82fa0bc46fa1
/hat/arduino.py
d960f287112f5c8b84b10f098f20c7487b5b33bb
[]
no_license
BobDeng1974/pypilot
034e7c16c1396041e6144464a651a41769dd9db4
fe4ac436a4def235db537dc97b1f16298e7f3d5a
refs/heads/master
2022-12-09T09:38:56.347660
2020-09-06T13:28:06
2020-09-06T13:28:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,712
py
#!/usr/bin/env python # # Copyright (C) 2020 Sean D'Epagnier # # 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 3 of the License, or (at your option) any later version. # A ...
[ "seandepagnier@gmail.com" ]
seandepagnier@gmail.com
5c5541108aa3538d247b52230059d744e7548449
475d56f90756ef8640f59b7bb9bb2163cb9d2cf1
/wallpaper_raster.py
90e9480056ff6fecf796beef066411509a480935
[ "BSD-3-Clause" ]
permissive
natcap/wallpaper-scenarios
63fe14577c3596e42e5642970abe360e161e1db5
9d96313b2d01586d5a174105918edcbba2b59e2f
refs/heads/main
2022-12-07T07:14:04.848628
2020-09-04T21:17:21
2020-09-04T21:17:21
292,110,006
1
0
null
null
null
null
UTF-8
Python
false
false
7,916
py
"""Tile a raster by another raster in an area defined by a mask.""" import argparse import logging import os import sys from osgeo import gdal import pygeoprocessing import numpy gdal.SetCacheMax(2**27) logging.basicConfig( level=logging.DEBUG, format=( '%(asctime)s (%(relativeCreated)d) %(levelname)...
[ "richpsharp@gmail.com" ]
richpsharp@gmail.com
7ca9a52f1a8d0b90691974a1e7e1c7642f8ec4e0
219cf5b8b2e62571e18fac62efb91f9352437771
/lab/lab9/labSplay3.py
1fd72f3736f64c4bed7deb4460c068349d4806b0
[]
no_license
bunnybryna/Parkland_College_CSC220_Data_Structures
c48742554557f40b3412c31723c2347b565aa813
914904069b726f5e170542ee350053fb6d57d2d8
refs/heads/master
2021-05-15T15:10:21.189748
2017-12-11T05:27:06
2017-12-11T05:27:06
107,290,570
0
0
null
null
null
null
UTF-8
Python
false
false
1,788
py
#!/usr/local/bin/python3.5 import sys import random from splay_tree import SplayTreeMap import cgi, cgitb cgitb.enable() print ("Content-type: text/html\n\n") stree = SplayTreeMap() rnlist = [] # make sure each time the same serial of random number for 3 programs random.seed(3) for n in range(10): rn = rando...
[ "brynazhao@gmail.com" ]
brynazhao@gmail.com
f5b11338cfaac08f46d678fb96f73a7b567b9140
c609730a43596a2d3303f072fc97d9cf681fac7b
/cagey/carbuisness/main_zupuk.py
f8c7189379758aad5ea13c6defb82f8b1dc04eb9
[]
no_license
sinnettluo/ChenProject
5403311c0c7b78c484145e16d692abff00d2a110
0e33ecf1683afb22f1deb4bd54294c41aed8a46b
refs/heads/master
2023-03-22T23:48:08.430178
2020-09-02T15:05:02
2020-09-02T15:05:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
from scrapy.cmdline import execute import sys import os website = "zupuk" sys.path.append(os.path.dirname(os.path.abspath(__file__))) execute(["scrapy", "crawl", website])
[ "1316446041@qq.com" ]
1316446041@qq.com
3d560ab7c5d88d0abbbfa75765b615dc5fe53dc3
f01f95e474b19e696da2e248b0db008f2b67b8e2
/utils/namespace.py
fdac02979e9b854818d107b2b2d22a51d418fb46
[]
no_license
TianD/TianD_KX_TOOL
55fe865bb3cb2e1a43e302757e051dba95b9e07d
65bbe87a1b3f88e2b2783fafc38f2fc35eb3252a
refs/heads/master
2020-12-19T22:01:10.215823
2016-06-07T11:05:18
2016-06-07T11:05:18
38,817,828
2
1
null
null
null
null
UTF-8
Python
false
false
5,159
py
import maya.cmds as mc import types def getNS(obj,topOnly=True): ''' Get the namespace of the specified object @param obj: The object to get namespace from @type obj: str @param topOnly: Return the top level namespace only. @type topOnly: bool ''' # Check Object if not mc.objExists(obj): raise Exception('O...
[ "tiandao_dunjian@sina.cn" ]
tiandao_dunjian@sina.cn
8c9e008eb5bfff99da45ffc54caae3c9045bd354
7a5fa0380dab1b8c4f67ba94e419d9f44a0a86fe
/singlet/dataset/correlations.py
4bf9daffd0dd5bc788a57158a0a4cfc7cfc95554
[ "MIT" ]
permissive
entcai/singlet
03378c39323ab00390e363b7b692b988dab657f4
56ab5e54581fe5fa6ebdcd17ae1715e0c3d9e1a3
refs/heads/master
2020-12-31T10:29:11.118917
2019-12-13T22:56:18
2019-12-13T22:56:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,446
py
# vim: fdm=indent # author: Fabio Zanini # date: 16/08/17 # content: Dataset functions to correlate gene expression and phenotypes # Modules import numpy as np import pandas as pd from scipy.stats import rankdata from .plugins import Plugin # Classes / functions class Correlation(Plugin): '''Correlat...
[ "fabio.zanini@fastmail.fm" ]
fabio.zanini@fastmail.fm
f3dc5cc5d865f305bc146ef13108f8f583806a71
0e51815b524229c7562572f10d178eb446cb7715
/project17/app17/apps.py
407399dc475c86e2725f86e1ad25ff2e36484685
[]
no_license
Eswar0407/Django-10Am
4d38cc795d7233bf5b6d1792755b018584a7c627
c668b96dd69c72daba09bc944134302073827fae
refs/heads/master
2023-07-16T23:52:52.820204
2021-09-05T17:57:14
2021-09-05T17:57:14
374,605,139
0
0
null
2021-06-13T16:20:40
2021-06-07T09:16:52
Python
UTF-8
Python
false
false
142
py
from django.apps import AppConfig class App17Config(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'app17'
[ "eswarbablu@gmail.com" ]
eswarbablu@gmail.com
f01fae93d93f82aa3bf2ccb83826511e23a79a32
3f788f1dcb325f403a21a3cc0f3a547b48a9492a
/packages/levylab_lib_razorbill_rp100/levylab_lib_razorbill_rp100-1.3.2.3.spec
eeb15033d08ac1ee3e91a2abfaf718fd48ffc273
[ "BSD-3-Clause" ]
permissive
levylabpitt/levylabpitt.github.io
e01fa402e7bbb59f4b99f979735021271f55d48b
96f1e0d7064526ab5908e9a26721adf306331516
refs/heads/master
2023-08-24T15:46:32.342077
2023-08-10T04:28:08
2023-08-10T04:28:08
183,644,047
0
3
null
null
null
null
UTF-8
Python
false
false
4,833
spec
[Package] Name="levylab_lib_razorbill_rp100" Version="1.3.2.3" Release="" ID=9c330a14c8932a0dd2d6a45d27273a86 File Format="vip" Format Version="2017" Display Name="Razorbill RP100" [Description] Description="Divers for Razorbill RP100 HV amplifier" Summary="" License="" Copyright="Copyright (c) 2022, Levylab" Distrib...
[ "p.irvin@levylab.org" ]
p.irvin@levylab.org
6b1eb1a67657175410ef76e538a222ccec8d20ef
60fc8be186c97092ac248a960d0318a5d24aeb62
/posts/models.py
6ad10c7e0276c0fa2db07c2fe90c3e938af05eb4
[]
no_license
tris9804/Dcard-pratice
23b47f10941f41dcde9eaaf5138619aabd409520
835716d8ce8d8966d1e185f6f21921e32f0f7669
refs/heads/master
2020-06-21T04:42:27.867800
2019-07-17T08:21:22
2019-07-17T08:21:22
197,346,797
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
from django.db import models from categories.models import Category from users.models import User class Post(models.Model): title = models.CharField(max_length=255) content = models.TextField(max_length=3000) category = models.ForeignKey(Category, on_delete=models.PROTECT) creator = models.ForeignKey...
[ "mea9096@gmail.com" ]
mea9096@gmail.com
94b4b080b74d80dbea555f0ac14f5efc46e619dd
15373eaa353e8aece47a26741b7fb27795268bf6
/medium/1014_best_sightseeing_pair.py
32576049b3b62d682bd3acd3eb0db83578ae5e19
[]
no_license
esddse/leetcode
e1a9bacf04c68a8d642a1e53c90e6c2dda2c1980
0ceccdb262149f7916cb30fa5f3dae93aef9e9cd
refs/heads/master
2021-06-08T19:15:14.346584
2020-01-09T01:41:23
2020-01-09T01:41:23
109,675,590
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
class Solution: def maxScoreSightseeingPair(self, A: List[int]) -> int: res, cur = float("-inf"), float("-inf") for i, v in enumerate(A): res = max(res, cur + v) cur = max(cur, v) - 1 return res
[ "tjz427@sina.cn" ]
tjz427@sina.cn
aaf6a5849cad42d7998d3a3f8ab1188e5eff6671
4b72cfb730e9d967ecc9ece7a5dcdff03242ce7a
/7 კლასი/7_7/მურჯიკნელი გიორგი/Test-2warianti(for).py
53a51e904128f9ef1240ed2bf17126fe67bb85d7
[]
no_license
sc-199/2018-2019
20945a0aaf7a998e6038e3fd3310c8be2296e54f
578d7aad254dc566cf5f8502f1a82c1eb267cbc2
refs/heads/master
2020-04-26T02:59:26.560166
2019-05-03T13:32:30
2019-05-03T13:32:30
168,499,541
4
0
null
2019-02-14T17:17:25
2019-01-31T09:36:13
Python
UTF-8
Python
false
false
160
py
n=int(input("shemoitanet ricxvi:")) x=0 k=0 a=7 m=0 for m in range(1,(n//7-n//14)+1): x=x+a k+=1 a=a+14 print("jami aris",x) print(k,"cali ricxvi")
[ "pm72github@yahoo.com" ]
pm72github@yahoo.com
fbe3d1726946ca9eb2071d349791665075ea0d1b
5cba2d1a502ac1b08bcbbb7037639bfcaf6b6076
/payload.py
216e4cdf90533a85ddada9223c88bc5684c00a8c
[]
no_license
dglo/dash
c84474d38e01fc14f372539cd04cb1491e3e32fa
718189be62907a6a8031980fe0c41fa7e06b898d
refs/heads/main
2023-06-11T11:48:49.591844
2021-06-14T09:16:16
2021-06-14T09:16:16
341,388,631
0
2
null
null
null
null
UTF-8
Python
false
false
39,508
py
#!/usr/bin/env python """ IceCube payloads and associated classes, along with a PayloadReader class which can be used to read most pDAQ data files If you find/fix any bugs or add improvements, please also broadcast them on daq-dev@icecube.wisc.edu """ from __future__ import print_function import argparse import bz2 ...
[ "dglo@icecube.wisc.edu" ]
dglo@icecube.wisc.edu
f2003ecd4ceba9e18f4b8d448782c5f996ffbb49
7cf119239091001cbe687f73018dc6a58b5b1333
/datashufflepy-zeus/src/branch_scripts2/NEWS/ZX_CJXW_HY/ZX_CJXW_HY_ZGHGW_YY.py
94fc6e7ccdd4b7298ca4a434cfa7b1c1e976e8ea
[ "Apache-2.0" ]
permissive
ILKKAI/dataETL
0f5b80c3482994f735f092a1e01fa1009bac4109
32f7ec3aaaf32b5074536a615cb9cd5c28bd499c
refs/heads/master
2022-04-04T19:27:05.747852
2020-02-28T11:17:48
2020-02-28T11:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# -*- coding: utf-8 -*- from database._mongodb import MongoClient def data_shuffle(data): return data if __name__ == '__main__': main_mongo = MongoClient(entity_code="ZX_CJXW_HY_ZGHGW_YY", mongo_collection="ZX_CJXW_HY") data_list = main_mongo.main() for data in data_list: re_data = data_shu...
[ "499413642@qq.com" ]
499413642@qq.com
4c11dbeba151a9cea942d3f275a2ec73659f30fd
2c635d6b558a65e62a9d37c12abf9e4ecbe8938c
/Find Peak Element/Find Peak Element.py
acc4c8e1a22aac4799b91de157d1352101204c8d
[]
no_license
GreatStephen/MyLeetcodeSolutions
c698e13b7088fc9236250b6ec10331b88fe99ed1
73a8f79f2cd5c769b195c503f0346893b102acdc
refs/heads/master
2023-03-01T04:53:19.698040
2021-02-05T22:28:18
2021-02-05T22:28:18
284,350,540
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
class Solution: def findPeakElement(self, nums: List[int]) -> int: lo, hi, neg_inf = 0, len(nums)-1, -1e100 mid = (lo+hi)//2 while lo<hi: l = nums[mid-1] if mid-1>=0 else neg_inf r = nums[mid+1] if mid+1<len(nums) else neg_inf m = nums[mid] if ...
[ "litianyou97@gmail.com" ]
litianyou97@gmail.com
48ddc1b8cc3bf4bfa21def08a66e12922642b259
45011a61908bf9ce92e948bd186d4330b8af36fc
/h/admin/views/staff.py
4cd6191a308938be1ecaa20c79582b02efff1ebf
[ "MIT", "BSD-2-Clause", "BSD-3-Clause", "BSD-2-Clause-Views" ]
permissive
project-star/h
4e6e0ab244ae9df4d473c3c3bc0d21edce47c30f
fd1decafdce981b681ef3bd59e001b1284498dae
refs/heads/master
2021-07-16T06:56:34.957971
2016-11-21T21:18:33
2016-11-21T21:18:33
73,963,922
1
1
NOASSERTION
2020-09-03T23:19:11
2016-11-16T21:44:01
Python
UTF-8
Python
false
false
1,788
py
# -*- coding: utf-8 -*- from pyramid import httpexceptions from pyramid.view import view_config from h import models from h.i18n import TranslationString as _ @view_config(route_name='admin_staff', request_method='GET', renderer='h:templates/admin/staff.html.jinja2', permissio...
[ "nick@whiteink.com" ]
nick@whiteink.com
55612723296245a6e059d2625ca1b8f5f9c5568c
9d862dd68f8b4ea4e7de9397fef8592824c77449
/app/top/api/rest/CainiaoCbossWorkplatformBiztypeQueryallRequest.py
473d43def11ba5974786c6a67c57cd13c5cc6d2c
[]
no_license
hi-noikiy/tmall-sku-outer_id
ffaca630dfb288ca33d962b8a050932d1047b9c8
1bcf29386a513bcb210bf5d91016e0dcb1ebc1ad
refs/heads/master
2021-05-09T18:20:27.150316
2017-03-08T06:43:57
2017-03-08T06:43:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
''' Created by auto_sdk on 2016.06.14 ''' from app.top.api.base import RestApi class CainiaoCbossWorkplatformBiztypeQueryallRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.level = None self.trade_id = None def getapiname(self): return 'caini...
[ "1037096435@qq.com" ]
1037096435@qq.com
8aa42ad5f5604a6e7ef99bcfc4fe92f17c6fc5df
754f71f70dfd6a22944d8d872c6d2f1d6983ac14
/tests/types/test_version.py
4079bf1ea449b41dccae6493e5db22f64c4f321c
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
Sensirion/python-shdlc-driver
052685da8db5629fa5929da65000210db82358e7
31e9683c27004ee05edf89996d656bc50f5bdb3a
refs/heads/master
2021-06-10T10:35:47.299481
2021-03-19T08:47:12
2021-03-19T08:47:12
144,961,065
6
1
null
null
null
null
UTF-8
Python
false
false
1,199
py
# -*- coding: utf-8 -*- # (c) Copyright 2019 Sensirion AG, Switzerland from __future__ import absolute_import, division, print_function from sensirion_shdlc_driver.types import FirmwareVersion, HardwareVersion, \ ProtocolVersion, Version import pytest @pytest.mark.parametrize("version,expected_str", [ ...
[ "urban.bruhin@sensirion.com" ]
urban.bruhin@sensirion.com
db1096acdf755b1c6b368b1fa8b06e1a0774cfd7
df7a09a1cc9513d31b753bc0233ead47d2d339e8
/3_5.py
54371ff30e1446a0bf8e58ff9ddc0b171a6aa689
[]
no_license
alonsovidales/cracking_code_interview_1_6_python
b2b299bddf9039dea5f1259c747d19085ce9cce0
dfae1075337a425afa9d05cf42846c60be42ab1a
refs/heads/master
2021-05-16T14:33:02.195803
2018-01-25T10:04:54
2018-01-25T10:04:54
118,371,784
1
0
null
null
null
null
UTF-8
Python
false
false
729
py
# Implement a MyQueue class which implements a queue using two stacks. class MyQueue(object): def __init__(self): self._arrs = ([], []) def enqueue(self, v): self._arrs[0].append(v) def dequeue(self): if len(self._arrs[1]) == 0: while len(self._arrs[0]) > 0: ...
[ "alonso.vidales@tras2.es" ]
alonso.vidales@tras2.es
a7f43d1d39aecffd874c4b91319bc8fb0fb82f41
b042aba5274cea18798c75013e98aa6c91b27886
/movies/models.py
1a319bbdac14f082b35e03455f874f57f8f0fca4
[]
no_license
Knightofcydonia51/Just_Movie_It
522af82e3e0489981cd1be081e3ee6d2d01b5f97
91d4f8ab40391a586058100f88cf8ef07a10e812
refs/heads/master
2022-12-10T02:53:03.796063
2020-03-29T12:15:24
2020-03-29T12:15:24
251,023,528
0
0
null
2022-01-21T20:18:04
2020-03-29T12:11:07
HTML
UTF-8
Python
false
false
1,295
py
from django.db import models from django.conf import settings from django.core.validators import MinValueValidator, MaxValueValidator class Genre(models.Model): name = models.CharField(max_length=150) def __str__(self): return self.name class Movie(models.Model): title = models.CharField(max_len...
[ "leavingwill@gmail.com" ]
leavingwill@gmail.com
1ded1eaa75feae794c6dd53e6442a7a4d1982aee
638b207f3c7706cb0cb9dd1d6cf112ab91f69837
/0x08-python-more_classes/3-rectangle.py
23faf97f264344cd72f0b7faf8c46aadc98e8bcf
[]
no_license
NasserAbuchaibe/holbertonschool-higher_level_programming
c30a066dfd4525e936b4121f930c3a63e6d911d6
5b0c11423e11bd9201cc057775c099eb0259f305
refs/heads/master
2022-12-16T17:15:57.775143
2020-09-25T03:00:56
2020-09-25T03:00:56
259,379,453
1
0
null
null
null
null
UTF-8
Python
false
false
2,012
py
#!/usr/bin/python3 """2-rectangle.py: Class Rectagle """ class Rectangle: """class Rectagle """ def __init__(self, width=0, height=0): """ Sets a height and width Args: width (int): width rectangle height (int): heigth rectagle """ self.width = widt...
[ "nasser_abuchaibe@hotmail.com" ]
nasser_abuchaibe@hotmail.com
6b0a080e945965b9feea01e65a4e26b8fa2a4537
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02726/s749614091.py
e8f18090442a5dfa56eabe643c7be21c2c98abc5
[]
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
225
py
N, X, Y = map(int, input().split()) distcnt = [0] * (N-1) for i in range(1, N): for j in range(i+1, N+1): disttmp = min(j-i, abs(X-i) + 1 + abs(j-Y)) distcnt[disttmp-1] += 1 for i in range(N-1): print(distcnt[i])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7723e3cac80e6bebfb0d14b2ccc9ba1a92f671a3
0d0afd1dce972b4748ce8faccd992c019794ad9e
/integra/sped_sale_orcamento/__openerp__.py
7886d6b137c1ee53ef62501b4e06d258395897a3
[]
no_license
danimaribeiro/odoo-erp
e2ca2cfe3629fbedf413e85f7c3c0453fd16941e
d12577bf7f5266b571cbedeb930720d653320e96
refs/heads/master
2020-01-23T21:32:16.149716
2016-11-05T15:35:40
2016-11-05T15:35:40
67,892,809
0
1
null
null
null
null
UTF-8
Python
false
false
585
py
# -*- encoding: utf-8 -*- #from __future__ import division, print_function, unicode_literals { 'name': u'SPED Vendas - Orçamento', 'version': '1.0', 'category': 'Integra', 'author': 'Integra', 'maintainer': 'Integra', 'website': 'http://www.ERPIntegra.com.br', 'description': u'Emissão de...
[ "danimaribeiro@gmail.com" ]
danimaribeiro@gmail.com
86034a79929127397ccc211f8fe974d789384f40
96b179626d078b92bb5da5b940246ae1063e5ed9
/emmet-api/emmet/api/routes/xas/resources.py
b2def6fe0d38a4413fa5bec44579e4e0121c9710
[ "LicenseRef-scancode-hdf5", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
jmmshn/emmet
cdb5e7abba2a4bf34f74621fe6a5cbad72061573
b6b4f9fafbf47faa6792f037d3c56221b711dfb4
refs/heads/main
2023-08-31T15:42:37.533834
2023-01-17T23:43:57
2023-01-17T23:43:57
309,003,912
0
0
NOASSERTION
2020-11-01T01:40:17
2020-11-01T01:40:17
null
UTF-8
Python
false
false
1,334
py
from maggma.api.resource import ReadOnlyResource from emmet.core.xas import XASDoc from maggma.api.query_operator import PaginationQuery, SortQuery, SparseFieldsQuery from emmet.api.routes.materials.query_operators import ( ElementsQuery, FormulaQuery, ChemsysQuery, ) from emmet.api.core.global_header impo...
[ "noreply@github.com" ]
jmmshn.noreply@github.com
addb642ed75daac0e349f763c2f980a029881c28
25f16d9e3416e186f677e425d7c3c19fb1b6b76a
/pyside2_book_code/concurrent/qprocess.py
cef85a7a77678d5828c9fc55cd07d99ec39145cf
[]
no_license
amisaka/pyqt5Samples
662b33255f9fd3522a8600e23b1f5e742eef769e
40f295232a726b4d67cc3124dcf6ac46a2efe9c8
refs/heads/master
2023-08-27T18:11:58.162821
2021-11-03T14:06:10
2021-11-03T14:06:10
419,336,692
1
0
null
null
null
null
UTF-8
Python
false
false
2,554
py
import re import sys from PySide2.QtCore import ( QObject, QProcess, QRunnable, Qt, QThreadPool, QTimer, Signal, Slot, ) from PySide2.QtWidgets import ( QApplication, QMainWindow, QPlainTextEdit, QProgressBar, QPushButton, QVBoxLayout, QWidget, ) STATES = { ...
[ "amisaka@gmail.com" ]
amisaka@gmail.com
6f1c0b61c60d6b1db79eaa16668496fbefd3a08c
78a814f95ed82b73f2fef0af64aeeb2e977ebc5e
/resync/_version.py
1a698ed1c350af4e7e6bdf964b565ba64958122e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ramonmassip/resync
e661befa23e688a955c73c78b7fa5b72c54db24d
041aead70e1209476202d359be46ccb734b9f312
refs/heads/master
2020-03-26T12:59:25.086266
2017-08-30T18:09:29
2017-08-30T18:09:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
"""This is the one place the version number for resync is stored.""" # # Format: x.y.z where # x.y is spec version, see http://www.openarchives.org/rs/x.y/ # z is incremented for revisions within that version, 1... __version__ = '1.0.8'
[ "simeon.warner@cornell.edu" ]
simeon.warner@cornell.edu
5389b26637348b232364f19399e0807cd54470d1
569ea70288529da0c2d8f0a9c638400c0fa9fb19
/objetos.py
878b8c80c947fa7395f632cf753b60506a0fd3bd
[]
no_license
sarnaizgarcia/m02_boot_0
7f10d4e068ba88c0292bb4a45558b75bbb83ac96
f38575d4a32e900bd2623bb8540f9bcdcba4eae4
refs/heads/master
2020-05-26T10:37:02.432582
2019-05-27T10:56:38
2019-05-27T10:56:38
188,204,923
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
import turtle tortuguita = turtle.Turtle() otraTortuguita = turtle.Turtle() lentorra = turtle.Turtle() lentorra.speed(1) tortuguita.shape('turtle') tortuguita.color('blue') tortuguita.fd(50) tortuguita.speed(5) otraTortuguita.color('green') otraTortuguita.left(90) otraTortuguita.fd(50) otraTortuguita.speed(5)
[ "sarnaizgarcia@gmail.com" ]
sarnaizgarcia@gmail.com
5a199e19931f2ac73510c0329c5dd22b3d39042f
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_17258.py
642b9775b9287aeff923e7dd600467fdf5147be5
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
# Converting a dynamic PHP/mySQL website to an archived HTML version? wget --mirror -w 2 -p --html-extension --convert-links -P folder_to_save_to http://mysite.com
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
c2ad02b5277990f11c6710375720f42b43d716c7
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/BuCaGYh8keiWJGmcC_6.py
a47f0f801120a60113fa225ada3e5c6a923f31b3
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
""" Create a function that will take a HEX number and returns the binary equivalent (as a string). ### Examples to_binary(0xFF) ➞ "11111111" to_binary(0xAA) ➞ "10101010" to_binary(0xFA) ➞ "11111010" ### Notes The number will be always an 8-bit number. """ def to_binary(num): return b...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
45b9db797ccf60ba521d5a2a69ea1a4859a96856
d1032c2b568daf02de5cf2e7aaa33a608ffd20e1
/Basic/1078_16617782(AC).py
ad53b86f57a29e3f77d7630dec3791baf79ce965
[]
no_license
Junhyeok1015/Codeup
267edef68113951019d28d311d38aa91d6677bde
ee5207528fd22689311c2941b94d7ac2480fe0cc
refs/heads/master
2023-02-12T17:10:06.481196
2021-01-17T02:34:23
2021-01-17T02:34:23
326,317,725
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
n = int(input()) sum_ = 0 for x in range(1, n+1): if x % 2 == 0: sum_ += x print(sum_)
[ "mo223772@naver.com" ]
mo223772@naver.com
6d61e5dbc6de7b45b1dc68481e72682326267e6e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03495/s054589112.py
05b0cf83e807fb63c966af86ffcf45197094dc70
[]
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
242
py
N, K = map(int, input().split()) A = list(map(int, input().split())) import collections C = collections.Counter(A) D = sorted(C.items(), key=lambda x: x[1]) B = len(set(A)) -K result = 0 for a in range(B): result += D[a][1] print(result)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d310710757a26a0627b930a64db92cf944bce5af
9f3ff59b0f36d4c67356962b4ffa14c1fd49dc42
/manage.py
c4534ea115c323ab487872cb67a8f676f4c6d495
[]
no_license
pappan-123/cb_django-sending-emails
750902dfc18970c8c16a4b5c84c09b28552316cf
c12c48dd00f73b43260d1b7fd2dab255ab69294e
refs/heads/main
2022-12-29T18:22:16.032137
2022-12-29T10:16:25
2022-12-29T10:16:25
387,109,467
0
0
null
2021-07-18T06:44:29
2021-07-18T06:44:28
null
UTF-8
Python
false
false
664
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'dj_email.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "jasimjasim786@gmail.com" ]
jasimjasim786@gmail.com
369550c784e2fd9de8151c6fdb5087e06ba466c9
e624cc3b829956f99be44fefabcbb91e1bf1771f
/TESTS/write_fixtures.py
440d9a3498d6b77be6b4b3ec8c9f9d06804b1d76
[ "MIT" ]
permissive
harshitjindal/BrainNetworksInPython
a4906f200e790ad29ff1c6438f9b363ec84d0063
7b35d0693b5ea05f51a9b7b3e711f82e12c70a24
refs/heads/master
2022-06-08T14:38:14.922358
2017-10-06T17:26:01
2017-10-06T17:26:01
106,022,606
0
0
MIT
2020-04-24T15:25:32
2017-10-06T15:48:11
Jupyter Notebook
UTF-8
Python
false
false
4,131
py
#--------------------------- Write fixtures --------------------------- # To regression test our wrappers we need examples. This script # generates files. We save these files once, and regression-tests.py # re-generates these files to tests them for identicality with the # presaved examples (fixtures). If they are fou...
[ "kw401@cam.ac.uk" ]
kw401@cam.ac.uk
ee5fbb7a9f743ca3914eaf3ecdab1453ccf4f879
b8fb00ee277478c368f5b7512bfd265f3ecea356
/python/File_Handling_ex/venv/Scripts/easy_install-script.py
83c8242568f3752d0951b1a9e81b49d1b83ea49f
[]
no_license
DharmilShahJBSPL/DharmilShah
574477c38a8b76616618130f3b0679a23a9c1af8
0d197189c8dcf794d38145e8f1edba6766b02df9
refs/heads/master
2021-07-07T11:47:03.770219
2019-01-19T13:13:38
2019-01-19T13:13:38
152,415,037
0
1
null
2020-07-20T10:44:20
2018-10-10T11:48:36
Python
UTF-8
Python
false
false
451
py
#!E:\dharmil\python_task\File_Handling_ex\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\...
[ "dharmil@jbspl.com" ]
dharmil@jbspl.com
a6b1386c2168cd9e656210f29e7ed3873eb42c70
308953409e1a3b828ac49b7301c1e751cbf762cf
/suite_ERC211/tst_Online_Value_Verification_After_Home_NO/test.py
d6fd28ea634fdff51dc57a612452cd722081d737
[]
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
395
py
def main(): excel = r"C:\gitworkspace\TestAutomation-Maintenance\Test_Automation\SourceCode\suite_ERC211\shared\testdata\Online_Verifying_Values_HOME_NO.xls"; #Mapping with Global scripts for Function library and key action. source(findFile("scripts", "Functions.py")) source(findFile("scripts", "Actions...
[ "asthagaur@danfoss.com" ]
asthagaur@danfoss.com
325d9c937edc870af3c0603f134490d7e4442106
cd4bbecc3f713b0c25508d0c5674d9e103db5df4
/toontown/coghq/CountryClubRoom.py
bba4640703279a59f6d3f0a594845737c9bca1f8
[]
no_license
peppythegod/ToontownOnline
dce0351cfa1ad8c476e035aa3947fdf53de916a6
2e5a106f3027714d301f284721382cb956cd87a0
refs/heads/master
2020-04-20T05:05:22.934339
2020-01-02T18:05:28
2020-01-02T18:05:28
168,646,608
11
2
null
null
null
null
UTF-8
Python
false
false
4,348
py
from pandac.PandaModules import * from direct.showbase import DirectObject from direct.fsm import ClassicFSM, State from toontown.toonbase import ToontownGlobals from toontown.coghq import CountryClubRoomSpecs from direct.directnotify import DirectNotifyGlobal import random class CountryClubRoom(DirectObject.DirectOb...
[ "47166977+peppythegod@users.noreply.github.com" ]
47166977+peppythegod@users.noreply.github.com
755a379d9ae9dfead550319e3e33256600b9510a
38dada1086333301b91de1e1158e36d60cbbaa18
/guniflask_cli/errors.py
1d9ce492d1181bd89256feec53d866976ccd1bae
[ "MIT" ]
permissive
jadbin/guniflask-cli
4c45bcf12080b45a99767656078e48d887ff5aa6
0cb9da37119e654c141cb836546c9fee08b54ae5
refs/heads/master
2023-08-28T17:25:34.325581
2023-07-01T08:35:13
2023-07-01T08:35:13
253,055,104
2
0
null
null
null
null
UTF-8
Python
false
false
336
py
class UsageError(Exception): """ Usage error """ def __init__(self, *args, print_help=False, **kwargs): self.print_help = print_help super().__init__(*args, **kwargs) class AbortedError(Exception): """ Aborted error """ class TemplateError(Exception): """ Templat...
[ "jadbin.com@hotmail.com" ]
jadbin.com@hotmail.com
a1b8ca600fb45e93207c59223ada8edea2cb7982
54df8336b50e8f2d7dbe353f0bc51a2b3489095f
/Django/Django_Old/sms/eaf/migrations/0002_auto_20201024_1619.py
19d16ad12d77dbba0523479fe16e22ce8f397387
[]
no_license
SurendraKumarAratikatla/MyLenovolapCodes1
42d5bb7a14bfdf8d773ee60719380ee28ff4947a
12c56200fcfd3e5229bfeec209fd03b5fc35b823
refs/heads/master
2023-06-17T15:44:18.312398
2021-07-19T10:28:11
2021-07-19T10:28:11
387,358,266
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
# Generated by Django 3.0.5 on 2020-10-24 10:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('eaf', '0001_initial'), ] operations = [ migrations.AddField( model_name='commodity', name='chemical_composition', ...
[ "suendra.aratikatla1608@gmail.com" ]
suendra.aratikatla1608@gmail.com
29648f6955625e0533096669d9aa6df6d176c2f3
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v3/proto/enums/display_ad_format_setting_pb2.py
16ea5b3e85f0e91973d6f17dd0bb18524f92cf6e
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
true
4,283
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v3/proto/enums/display_ad_format_setting.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protob...
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
fc6de93e7aa8fde00e560bd72bc2dcfcf17386dc
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_6/models/certificate_response.py
525119564f0212b7e3d20aa54c5b13ffc0866aff
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,171
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.6, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
8f20bb1eb595b4294860abaa45b268bf567e0c7d
a9a90eae727590f0ccffaa255ffeaa194309fbe9
/Codekata/smallestdivbyboth.py
b3327ec2e5abc45457f7af218425b7bc9551f4d7
[]
no_license
dhanuskarthikeyan/guvi
18c39674d3ee8e0012caef781d7905e541792174
671d64189f6039ffad8d91cab13942aafa87bf29
refs/heads/master
2020-06-03T00:07:45.041170
2019-07-08T17:39:33
2019-07-08T17:39:33
191,355,054
0
3
null
null
null
null
UTF-8
Python
false
false
178
py
def gcd(x,y): if(x==y): return x if(x>y): return gcd(x-y,y) return gcd(x,y-x) def lcm(x,y): return x*y//gcd(x,y) a,b=map(int,raw_input().split()) print(lcm(a,b))
[ "noreply@github.com" ]
dhanuskarthikeyan.noreply@github.com
3b68d9edba8c84413640be49b30aaa03fc4f82f9
35a6b6b5cabcf9fb39527bab020ef7c96265a026
/solution1.py
58c06e33966c2e93d69f5abb7a0327df39869ff9
[]
no_license
mepky/data-structure-and-algorithm
9a1324142276e6966692c51734613f15234f5300
96f64e657f97e46fc2d32cca5294fa0f104d5d01
refs/heads/master
2020-03-24T08:57:41.692564
2020-02-10T12:40:13
2020-02-10T12:40:13
142,614,071
1
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
# Python3 Program to check if array # can be split into K contiguous # subarrays each having equal sum # Function returns true to it is possible # to create K contiguous partitions each # having equal sum, otherwise false def KpartitionsPossible(arr, n, k) : sum = 0 count = 0 # calc...
[ "noreply@github.com" ]
mepky.noreply@github.com
4caba372db5fe8a529aa769d69daffb87362e9ca
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/program/qiskit/noisy/startQiskit_noisy269.py
9ff18a3d17f6845385459eddc2d87f44cbab7041
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,323
py
# qubit number=2 # total number=16 import cirq import qiskit from qiskit.providers.aer import QasmSimulator from qiskit.test.mock import FakeVigo from qiskit import IBMQ from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
7a4a48a36716b864c316c8b625a03c824fa0bbec
6873169a367ef58a94cebf0019b6ec12e980ef42
/tensorflow/python/distribute/values.py
9d4d52839c7a1a77bbcac66fa2cc28c28c83c067
[ "Apache-2.0" ]
permissive
zhaohb/tensorflow
842636c42cbba84cefeec96d4c981dec5666844d
d9792a5ab0f30c94bb31b4c6ce37e1a5b793c03e
refs/heads/master
2020-04-30T19:48:07.026869
2019-03-22T01:07:07
2019-03-22T01:12:36
177,049,139
2
1
Apache-2.0
2019-03-22T01:15:41
2019-03-22T01:15:41
null
UTF-8
Python
false
false
59,534
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
7f8bbabf688fc3132346a80beb06f9eb151da97d
fa0c7ea0d1e1ed6b23e3e98db4d05bc9839ce404
/dv_apps/utils/message_helper_json.py
668e1a5737238d509a18e4e72d67a99d777302db
[]
no_license
IQSS/miniverse
911f651e4273481d6b9c8b807166235788fb4003
2a17e5ba918d6d1c7d38c192e0504e6cd96b32d2
refs/heads/master
2020-04-06T05:36:33.194173
2018-01-19T20:28:30
2018-01-19T20:28:30
62,340,360
3
5
null
2018-01-19T20:28:31
2016-06-30T20:29:41
JavaScript
UTF-8
Python
false
false
1,243
py
import json class MessageHelperJSON(object): @staticmethod def get_dict_msg(success=False, msg='', data_dict=None): if isinstance(data_dict, dict) or isinstance(data_dict, list) or isinstance(data_dict, tuple): if msg: return { 'success': success, 'message' : msg, 'data' ...
[ "raman_prasad@harvard.edu" ]
raman_prasad@harvard.edu
1063f624e0518fb1bda1cc5f04ba38cd514e58b4
35a6b6b5cabcf9fb39527bab020ef7c96265a026
/10.1/maximum absolute difference interviewbit.py
afcd60b7b8a4c4a16d9ec9141b8ce69c471c4c27
[]
no_license
mepky/data-structure-and-algorithm
9a1324142276e6966692c51734613f15234f5300
96f64e657f97e46fc2d32cca5294fa0f104d5d01
refs/heads/master
2020-03-24T08:57:41.692564
2020-02-10T12:40:13
2020-02-10T12:40:13
142,614,071
1
0
null
null
null
null
UTF-8
Python
false
false
474
py
class Solution: # @param A : list of integers # @return an integer def maxArr(self, a): max1 = -2147483648 min1 = +2147483647 max2 = -2147483648 min2 = +2147483647 for i in range(len(a)): max1=max(max1,a[i]+i) ...
[ "noreply@github.com" ]
mepky.noreply@github.com
20384504bda0c556ee0fcc0a67ad2680e8a1e453
672061f18a4bc77fb9c64dcf49c7feab6970b4bd
/sympy/solvers/tests/test_ode.py
a19cc9d33d8004d1099e86fea750bd7e555f47ea
[]
no_license
smichr/sympy-live
4193fe9ca88db6b689b6ebc24af655ae05accdfb
10c2a15f5480a74e65926b3fa346c186e8f11d67
refs/heads/master
2021-01-18T01:56:40.232853
2009-12-26T19:27:07
2009-12-26T19:27:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
60,870
py
from sympy import Function, dsolve, Symbol, sin, cos, sinh, acos, tan, cosh, \ I, exp, log, simplify, normal, together, ratsimp, powsimp, \ fraction, radsimp, Eq, sqrt, pi, erf, diff, Rational, asinh, trigsimp, \ S, RootOf, Poly, Integral, atan, Equality, solve, O from sympy.abc import x, y, z ...
[ "ondrej@certik.cz" ]
ondrej@certik.cz
ebfed7abed298123fe855a846a7609faa073b38d
4b104d0a3f5aa2dc1ecbd84c6b7935ca7e92bbc8
/lib/inception_score/example.py
d841702a3d4259da57acda844a3b875bd94b3dd2
[]
no_license
hvy/gan-complexity
92894cf64b36bffb78e601a6a26fc2bc50889665
354eee1ed70bccccc1cf5b1c2b95937563ad1f25
refs/heads/master
2021-03-27T17:20:19.681146
2017-06-21T13:38:38
2017-06-21T13:38:38
83,019,834
3
0
null
null
null
null
UTF-8
Python
false
false
1,984
py
import argparse from chainer import cuda from chainer import datasets from chainer import serializers import numpy import models from inception_score import inception_score def parse_args(): parser = argparse.ArgumentParser() parser.add_argument('--gpu', type=int, default=-1) parser.add_argument('--samp...
[ "hiroyuki.vincent.yamazaki@gmail.com" ]
hiroyuki.vincent.yamazaki@gmail.com
80b3396e6df013e15527f70e894aef691e959a7b
867db99abf7689ef0e4054995376f574e9355b0e
/examples2/optimize_powell.py
b760d877500bb973d6af7928f2e44b09ff6c8e34
[ "BSD-3-Clause" ]
permissive
ahlusar1989/pathos
0bcac65f974592bf02187d5c791716a125de5db5
f356cccbd6a83da1381625a45dbe50925d545461
refs/heads/master
2021-01-21T07:14:09.629482
2016-03-28T20:13:08
2016-03-28T20:13:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,545
py
#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 1997-2016 California Institute of Technology. # License: 3-clause BSD. The full license text is available at: # - http://trac.mystic.cacr.caltech.edu/project/pathos/browser/pathos/LICENSE """ Minimize the selected mod...
[ "mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df" ]
mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df
64bce68e68a58ca2da7eb6f050cbd89c954b9266
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/gui/battle_control/arena_info/settings.py
86f41c174ce2b73275c2fdd85210484899b73ebc
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,386
py
# 2016.11.19 19:48:10 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/battle_control/arena_info/settings.py from gui.shared.gui_items.Vehicle import VEHICLE_BATTLE_TYPES_ORDER_INDICES from helpers import i18n from shared_utils import BitmaskHelper __all__ = ('CONTOUR_ICON_PATH', 'UNKNOWN_CONTOUR_ICO...
[ "info@webium.sk" ]
info@webium.sk
f9a90ea2c380ace90cfa2d53de8ce35f3675d619
71eb9a93e4bceb0af802924cbaebbf071a9e7b42
/wn/constants.py
c4d9f41b4f28374efe5b4429e564ff35d9c2c3ae
[ "MIT" ]
permissive
dpalmasan/wn
d1177e8192263bcaf0dc9683350d7c3744469658
44d01d4b1e56c36ef45c816d8c8733cde5f69104
refs/heads/main
2023-04-11T06:04:00.644462
2021-04-07T13:30:50
2021-04-07T13:30:50
356,056,660
0
0
MIT
2021-04-08T21:49:39
2021-04-08T21:49:38
null
UTF-8
Python
false
false
4,328
py
""" Constants and literals used in wordnets. """ SENSE_RELATIONS = frozenset([ 'antonym', 'also', 'participle', 'pertainym', 'derivation', 'domain_topic', 'has_domain_topic', 'domain_region', 'has_domain_region', 'exemplifies', 'is_exemplified_by', 'similar', 'other...
[ "goodman.m.w@gmail.com" ]
goodman.m.w@gmail.com
d7db375f781c4903e6f0b5b837b46660182df30a
dcf9a7aeaddc876530e8f28fd17130f8859feda9
/pymatflow/cp2k/scripts/cp2k-lr.py
476cdef1ff0513a20376501959d08d9076e77560
[ "MIT" ]
permissive
DeqiTang/pymatflow
3c6f4a6161a729ad17db21db9533187c04d8f5ac
922722187e2678efbfa280b66be2624b185ecbf5
refs/heads/master
2022-05-25T19:41:19.187034
2022-03-05T03:07:08
2022-03-05T03:07:08
245,462,857
5
1
null
null
null
null
UTF-8
Python
false
false
5,945
py
#!/usr/bin/env python # _*_ coding: utf-8 _*_ import os import argparse from pymatflow.cp2k.lr import lr_run """ usage: cp2k-scf.py -f xxx.xyz """ if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("-d", "--directory", type=str, default="tmp-cp2k-lr", ...
[ "deqi_tang@163.com" ]
deqi_tang@163.com
2e5346866373a8b4bc627159c39ce47566e1afe4
b5ce6908490cfb8e6a1e1cbe4745d675122ddce0
/questions/sum-of-subarray-minimums/Solution.py
e703ac9f9e4c8567f420a3896986c0fc96e2fda1
[ "MIT" ]
permissive
franklingu/leetcode-solutions
8895910f13208e1d8e604100d84c2dd35684cde4
7ad7e5c1c040510b7b7bd225ed4297054464dbc6
refs/heads/master
2023-01-09T01:34:08.097518
2023-01-02T02:05:35
2023-01-02T02:05:35
43,345,677
155
66
MIT
2020-10-02T03:41:36
2015-09-29T04:54:38
Python
UTF-8
Python
false
false
1,238
py
""" Given an array of integers arr, find the sum of min(b), where b ranges over every (contiguous) subarray of arr. Since the answer may be large, return the answer modulo 109 + 7.   Example 1: Input: arr = [3,1,2,4] Output: 17 Explanation: Subarrays are [3], [1], [2], [4], [3,1], [1,2], [2,4], [3,1,2], [1,2,4], [3,...
[ "franklingujunchao@gmail.com" ]
franklingujunchao@gmail.com
ba936b5b0a62fd714bd43a87de9d1441f86b1290
955fe28423d457d30fc21a95ddebb4497e859d4b
/analyze_cheribsd_kernel.py
6ce5b4762a1818739ae74679eb550034e9382192
[]
no_license
CTSRD-CHERI/cheri-change-analysis
f8ad76e198d3d46b4d5f892923455936e545f5f1
3986b6bea10fd9b5d72e1207236503655255b551
refs/heads/main
2023-07-14T22:27:51.807316
2021-02-10T10:39:06
2021-02-10T10:43:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
import pandas as pd from pathlib import Path import json fname = "FreeBSD kernel (full-by-file).report.json.diff.e10b4e4c363cb013ee6c318100cc04d2bd620588.83c181c7a1985d84312f79a5506dcc0063aeeb76.json" with (Path(__file__).parent / "reports" / fname).open("r") as f: j = json.load(f) sum = j["SUM"] del j["SUM"] del...
[ "Alexander.Richardson@cl.cam.ac.uk" ]
Alexander.Richardson@cl.cam.ac.uk
0a133fbbed808f2d705b64626749a1e55f302662
4a48593a04284ef997f377abee8db61d6332c322
/python/gym/random-actions_cartpole-v0.py
299bba36d1ef3694d149a3a20f1ed3e027976857
[ "MIT" ]
permissive
jeremiedecock/snippets
8feaed5a8d873d67932ef798e16cb6d2c47609f0
b90a444041c42d176d096fed14852d20d19adaa7
refs/heads/master
2023-08-31T04:28:09.302968
2023-08-21T07:22:38
2023-08-21T07:22:38
36,926,494
26
9
MIT
2023-06-06T02:17:44
2015-06-05T10:19:09
Python
UTF-8
Python
false
false
520
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Src: https://gym.openai.com/docs/#environments import gym env = gym.make('CartPole-v0') for i_episode in range(3): observation = env.reset() for t in range(100): env.render() print(observation) action = env.action_space.sample() ...
[ "jd.jdhp@gmail.com" ]
jd.jdhp@gmail.com
7aae6ce9dcd224abb40b19196bb8408772c36e09
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_286/ch82_2020_04_11_16_44_43_861042.py
ab553c32c557454875d609d1e6a9fd7d5bd62dc7
[]
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
178
py
def primeiras_ocorrencias(palavra): dic = {} i = 0 for letra in palavra: if letra not in dic.keys(): dic[letra] = i i += 1 return dic
[ "you@example.com" ]
you@example.com
6cadfedc42a41e3b8d74a85c87ef42cde9ab1703
b0ced74d07f4d622085cc4bb78bddbde26943c33
/xiaoai/cal.py
0c44d7294ae1291adc80b9dcad301e1ab9f0b616
[ "MIT" ]
permissive
mozillazg/xiaoai
b4de9c15da04db86fbd7b1a395b6e73e6e340c8a
010e071d43c386cd1e653a5208db8e538ec5f67b
refs/heads/master
2023-08-23T21:24:09.456498
2013-08-11T10:43:10
2013-08-11T10:43:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,578
py
#!python # -*- coding: utf-8 -*- import datetime import time def parsechinesedate(chstr): return datetime.date.fromtimestamp(time.mktime(time.strptime(chstr, u"%Y年%m月%d日"))) class Cal: chineseweekday = u"一二三四五六日" def chineseformat(self, date): return date.strftime("%Y年%m月%d日").decode('utf8') def today(self): ...
[ "opensource.mozillazg@gmail.com" ]
opensource.mozillazg@gmail.com
d7e3aff74472f15ca625556eef9fb3fdfdca6f13
a9a085a2ab03d23b1d9dc3cd7bbc39beffa817b7
/tests/test_reading_robots_positions.py
430096ba8a7579f83f82a4b474fbd6867334cd03
[ "MIT" ]
permissive
pbanaszkiewicz/MMVD
91250b901f27fa9a5a8a02f8488a4adc20d944b7
db6267a9484d2c61b52fbf6d2dba53a2769cc1d9
refs/heads/master
2021-01-18T05:28:27.157817
2015-01-28T17:54:45
2015-01-28T17:54:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# coding: utf-8 import pytest @pytest.mark.utils @pytest.mark.io def test_reading_robots_positions(robots_positions1): """ Test if ``utils.read_robots_positions`` works properly. """ robots = [ (4, 4), (4, 4), (4, 4), ] assert len(robots) == len(robots_positions1) a...
[ "piotr@banaszkiewicz.org" ]
piotr@banaszkiewicz.org
11a227010bb16aba9280d25f80b6d1a7aa508589
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-elasticsearch/aliyunsdkelasticsearch/request/v20170613/DescribeConnectableClustersRequest.py
4df7827c0635d75f8606c1bcca48917f9068b774
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
1,773
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
0310b968f9fea661b54fc6a505ea6e48b8b2384a
77900cdd9a815caf1cd04705321ca93f5072179f
/Project/.history/product_20211028131717.py
2c30eee1bc43c511e67b4750ef6991dc3c4f1e42
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
9,426
py
import data as list_product import random # def __init__(self, Id, Product_code, Product_name, Brand, Year, Size): # self.Id = Id # self.Product_code = Product_code # self.Product_name = Product_name # self.Brand = Brand # self.Year = Year # self.Size = Size # Thêm sản phẩm def AddProduct(): ...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com
9d43866592607a7e4b3599fb8cdc31bd553d9d5d
a09741a5e638159d5b07bb9bc68c206b56bcad99
/fmriprep/workflows/bold/__init__.py
7676337a6f96b82b62e03029df61e91fcfba0e55
[ "BSD-3-Clause" ]
permissive
madeleinesnyder/fmriprep
d2b510417696fb8611d68589b9947513a160fd41
0295af7df871cd81776724f945c8413a7206fa09
refs/heads/master
2021-08-24T02:33:16.601837
2017-10-31T20:59:47
2017-10-31T20:59:47
107,164,579
0
0
null
2018-03-01T00:05:42
2017-10-16T18:05:28
HTML
UTF-8
Python
false
false
948
py
# -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: # pylint: disable=unused-import """ Pre-processing fMRI - BOLD signal workflows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. automodule:: fmriprep.workflows.bold.base .. automodu...
[ "code@oscaresteban.es" ]
code@oscaresteban.es
54251f1c85a12efbc29a8e5cd68d774ed688f115
5c8139f1e57e06c7eaf603bd8fe74d9f22620513
/PartB/py其他的数字的两倍大的元素.py
03a2a47db3fc4e5582cb8fda7f17dd9086bce3b2
[]
no_license
madeibao/PythonAlgorithm
c8a11d298617d1abb12a72461665583c6a44f9d2
b4c8a75e724a674812b8a38c0202485776445d89
refs/heads/master
2023-04-03T07:18:49.842063
2021-04-11T12:02:40
2021-04-11T12:02:40
325,269,130
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
from typing import List class Solution: def dominantIndex(self, nums: List[int]) -> int:A temp = max(nums) if __name__ == "__main__": s = Solution() list2 = [1,2,3,4] list3 = [3,6,1,0]
[ "2901429479@qq.com" ]
2901429479@qq.com
e3a6505eb5ded708ba63e2b107329184e819ef4e
2c5b25d0b5d6ba66d013251f93ebf4c642fd787b
/wrong_answer_codes/Median_of_Two_Sorted_Arrays/Median of Two Sorted Arrays_278517255.py
d4b029e7114c57024cf827898449946295151fea
[]
no_license
abhinay-b/Leetcode-Submissions
da8099ac54b5d36ae23db42580064d0f9d9bc63b
d034705813f3f908f555f1d1677b827af751bf42
refs/heads/master
2022-10-15T22:09:36.328967
2020-06-14T15:39:17
2020-06-14T15:39:17
259,984,100
2
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
class Solution: def findMedianSortedArrays(self, nums1: List[int], nums2: List[int]) -> float: if len(nums1) > len(nums2): nums1, nums2 = nums2, nums1 start = 1 end = len(nums1) total = len(nums1) + len(nums2) mid = (total) // 2 while True: in...
[ "abhinayb.sssihl@gmail.com" ]
abhinayb.sssihl@gmail.com
5c3524f47f726b871079ca18b94b713138109430
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/L79/79-84_MD_NVT_rerun/set_1.py
388c64e1718a3c9c75ed3179b8c92fd15a5af7a5
[]
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
741
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/L79/MD_NVT_rerun/ti_one-step/79_84/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_1.in' temp_pbs = filesdir + 'temp_1.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 la...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
abf0722bb8b523ae77bc1a4a6f5393bf6a1d5056
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4442003.3.spec
eba96c15e4532447e6deb421121b6e8bde73e2a5
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
13,963
spec
{ "id": "mgm4442003.3", "metadata": { "mgm4442003.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com