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
e08ed72e686789ad0ea484cf266e08a34d771429
b33f1afe9f30c99f83ce2fe7ec1556b6dad8e0a6
/03_roc.py
b090cd08264f082a535380984a2f8dfe4ce96087
[]
no_license
Digital-Biobank/covid_variant_severity
e93845045adfc580c2cebbe6ecc5ee03aa02e9ba
cc0449a2429140352a1d6b97083321ae2002581f
refs/heads/master
2023-04-01T16:09:00.206137
2021-04-26T19:09:12
2021-04-26T19:09:12
361,855,017
0
0
null
null
null
null
UTF-8
Python
false
false
5,260
py
import joblib import matplotlib.pyplot as plt import numpy as np import pandas as pd from sklearn.metrics import plot_roc_curve from sklearn.model_selection import StratifiedKFold from sklearn.metrics import auc, roc_curve, roc_auc_score # %% Plot ROC curves df = pd.read_parquet("03_77142-vcf_2-component-pca_3-cluster...
[ "marskar@gmail.com" ]
marskar@gmail.com
4ddd2ce968f291b1087beb17871dd31a8596a4af
cf478990eb71b34c26a4094c8fe463e4551e5da0
/app/mtgatracker_backend.py
5392972ab2b5d0b84d5280681f9e12e5e714af46
[ "MIT" ]
permissive
balika011/mtgatracker
575f718ad0ec1f4b59f20291993b375a84c1651c
5721e9b50b6ec7b21e28365dc0de8ee647dff94b
refs/heads/master
2020-05-27T12:34:57.405589
2019-05-25T23:18:24
2019-05-25T23:18:24
188,620,593
0
0
NOASSERTION
2019-05-25T23:15:02
2019-05-25T23:15:01
null
UTF-8
Python
false
false
9,224
py
import sys import os path_to_root = os.path.abspath(os.path.join(__file__, "..", "..")) sys.path.append(path_to_root) import threading import argparse from app import tasks, queues from util import KillableTailer from queue import Empty import asyncio import datetime import json import websockets import time from pyn...
[ "hawkins.spencer@gmail.com" ]
hawkins.spencer@gmail.com
809baad515b0e0b836349fe344facf3fa45083de
debea7714c997912089fde6a0971989f363c72e8
/lista4/f.py
1054d6968108dbc32d6d25460721e442edf9ad97
[]
no_license
ezequiasOR/aa-iniciante
42bc0f9f4df5bd9a68fcc1ba2d6558bcffff6c90
7a4e3882f74eb3941b3658e82abbbd9a3ecd3776
refs/heads/master
2023-01-29T04:28:55.678450
2020-12-08T23:57:17
2020-12-08T23:57:17
293,347,924
1
0
null
2020-10-30T15:08:53
2020-09-06T19:28:48
Python
UTF-8
Python
false
false
194
py
resp = [0]*100001 n = int(raw_input()) count = 1 for i in range(2, n+1): if resp[i] == 0: for j in range(i, n+1, i): resp[j] = count count += 1 for i in range(2, n+1): print resp[i],
[ "ezequias.rocha@ccc.ufcg.edu.br" ]
ezequias.rocha@ccc.ufcg.edu.br
cc089c46a79ae07632a468a15cec36414e2c88f3
843e855309267575b9e6f43ffcbee68bf85bab37
/swet/bloggerspot/views.py
14219c68e79489d71ca00f10fdf49a4af1d2d026
[]
no_license
Arghachatterjee11/blog1
b3202cb00a5b1adf0d50919c230cf9cc2db4115c
8a79714af7a68732d7463d917bc5f56de6029bc6
refs/heads/main
2023-07-15T06:09:28.820369
2021-08-31T15:33:19
2021-08-31T15:33:19
401,750,641
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
from django.shortcuts import render def home(request): return render(request, 'home.html',{})
[ "you@example.com" ]
you@example.com
bc1543ebdb3cc210318ada2fd80370218e3ac405
f4cc5a888d0dd1a5975e0467e21da0bedf48c921
/runtime/test_hq.py
2e0d0ba8ede7cc804c35e035673420e2ea6254bf
[]
no_license
wenjiandu/QUANTAXISRUNTIME
88dbca3e65ed2510e001392997b97577f8e1214c
2cf28abe1f56d4219f1f89980d7b64460e65856c
refs/heads/master
2020-04-10T04:01:04.097325
2017-11-21T04:45:24
2017-11-21T04:45:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
from hqservice.fetcher import quotation import QUANTAXIS as QA stock_list=QA.QA_fetch_stock_block_adv().code for i in range(100): print(len(quotation(stock_list)))
[ "yutiansut@qq.com" ]
yutiansut@qq.com
2df3e21491d807fa232e644142ee27c142df344e
f32421e59d1b42ff42ef56a529e365dd094160d9
/configs/gcnet/nl_stage/mask_rcnn_nl_eg_c3_r50_fpn_1x.py
86ab75cf3b4ce555de68d70c4531b16eeb29fbb8
[ "Apache-2.0" ]
permissive
li-haoran/DNL-Object-Detection
634d867c2c8126c333884de678c3d9c16a78a1ba
6ae88842d6237a465559c420c610444bcb2d9405
refs/heads/master
2023-01-28T05:35:24.033494
2020-12-07T02:48:57
2020-12-07T02:48:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,880
py
# model settings model = dict( type='MaskRCNN', pretrained='torchvision://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, style='pytorch', nlb=dict(mode='embedded_gaussian', r...
[ "yaozhuliang13@gmail.com" ]
yaozhuliang13@gmail.com
1017ee77d69ca5215e4188bc08bd8329ee38f4b8
d7016f69993570a1c55974582cda899ff70907ec
/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_operations.py
6cf8af613227dde0a71c55c7d088f7485c0db1f3
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
16,390
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" ]
kurtzeborn.noreply@github.com
6c08fe9ceaf7eedae3d6d1ff8b2e4e8906ba1ac7
e8708b79f22859c2623ea59d4e32193270d9c760
/Caminata/frames.py
aae8b1cb69f226b651364da4fb6d3678b69e47bb
[]
no_license
vinsmokemau/PDI
23c927ae36e37a6296ef6f1eb5576e9a800b8e20
cd08cd02fbd81fee82c85673257912fc87e457d7
refs/heads/master
2023-07-19T08:37:38.036967
2020-10-21T01:33:46
2020-10-21T01:33:46
176,957,931
0
0
null
2023-07-06T21:34:03
2019-03-21T14:09:17
Python
UTF-8
Python
false
false
2,529
py
"""Extracting and Saving Video Frames using OpenCV-PythonPython.""" import cv2 import numpy as np import matplotlib.pyplot as plt import matplotlib.image as mpimg def rgb2gray(image): """Transform a color image to a grayscale image.""" return np.dot(image[..., :3], [0.299, 0.587, 0.114]) # Opens the Video fi...
[ "maumg1196@gmail.com" ]
maumg1196@gmail.com
bbf89146767efd68bf9de76bb3bbf8a78f5d8c2f
f213549d8725acaf5417d0d5290430d499bf3cf3
/lino/modlib/polls/models.py
262a35ec08079cb31380384745d5a2cb3525d5fe
[ "BSD-2-Clause" ]
permissive
ExcellentServ/lino
56c8159428a451058a35dad75e8799d239c2dc0e
9ea630e719d47843dd8427dd64db22633626fd3d
refs/heads/master
2020-12-28T23:15:47.380120
2015-01-27T14:53:10
2015-01-27T14:53:10
29,911,723
0
0
null
2015-01-27T11:44:09
2015-01-27T11:44:08
null
UTF-8
Python
false
false
18,518
py
# -*- coding: UTF-8 -*- # Copyright 2013-2015 Luc Saffre # License: BSD (see file COPYING for details) """Database models for `lino.modlib.polls`. .. rubric:: Models overview A :class:`Poll` is a collection of :class:`Questions <Question>` which we want to ask repeatedly to different people. Each Question has a *ques...
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
2c2bd4e0b8e732d00061cbe4b692a413cc6990e2
8850f01a5b61fad9175cb7246a4c7f3c6b455b4d
/tests/test_frameDict.py
b4edcc9edbca205d296e4e7f5c75104595bacb87
[]
no_license
lsst/astshim
26134d1f604e6c892040c99e71217ac833110a3d
3273194fdb8a9e75327a71b15298448ff22f26ca
refs/heads/main
2023-09-04T09:58:40.617680
2023-07-10T00:10:23
2023-07-10T00:10:23
64,975,235
2
18
null
2023-04-05T17:10:43
2016-08-05T00:07:02
C++
UTF-8
Python
false
false
18,058
py
import unittest import numpy as np from numpy.testing import assert_allclose import astshim as ast from astshim.test import MappingTestCase from astshim.detail.testUtils import makeFrameDict class TestFrameDict(MappingTestCase): def setUp(self): self.frame1 = ast.Frame(2, "Domain=frame1, Ident=f1") ...
[ "rowen@uw.edu" ]
rowen@uw.edu
b43b265ab5b8ec038ca93e7960531a9ce7c8c0a4
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/-57053121/cv2/cv2/face_FacemarkKazemi.py
73b898f65569c4285d3408241b623d11da0c7620
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
2,957
py
# encoding: utf-8 # module cv2.cv2 # from C:\Users\Doly\Anaconda3\lib\site-packages\cv2\cv2.cp37-win_amd64.pyd # by generator 1.147 """ Python wrapper for OpenCV. """ # imports import cv2.cv2 as # C:\Users\Doly\Anaconda3\lib\site-packages\cv2\cv2.cp37-win_amd64.pyd import cv2.Error as Error # <module 'cv2.Error'> imp...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
ac4251061dbf04a4b211f6dc6b24aac16bd3c392
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_misbegotten.py
0a2f1ba98baecb49da1a281a971696f07f881ffd
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
#calss header class _MISBEGOTTEN(): def __init__(self,): self.name = "MISBEGOTTEN" self.definitions = [u'badly or stupidly planned or designed: ', u'not deserving to be respected or thought valuable: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjec...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
17ada15b2b7a85d902eab53dcc44a0434d73b4ab
c7169415ae8abedd29ab83cddbcccb6768663062
/image_tagging/dataset_a/twitter/predict_twitter_background.py
cc690218544bfe7ee85106a43155e431a16a7061
[]
no_license
chrisWWU/cross_platform_feature_analysis
26c33dd2adc00b7d8fbc24bfef45d6757b81ae1a
572732554c73bdcb22f31bce5718fdf8beb77bd8
refs/heads/master
2022-12-29T11:11:18.910805
2020-10-16T11:38:04
2020-10-16T11:38:04
296,666,366
0
0
null
null
null
null
UTF-8
Python
false
false
2,277
py
from imageai.Prediction import ImagePrediction import os import pandas as pd from PIL import Image def clear_valid_path(path): r = path.split('/')[7] return r.replace('.jpg', '') def get_image_tags(path_from, path_to, csv): """reads images and returns csv containing predictions, percentages and userid""...
[ "christian28bewerbung@gmail.com" ]
christian28bewerbung@gmail.com
f2b444d8bf9b6798f4553ad51384063997abeeb3
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/rot.py
bde30a20fd61ad84406edc6c861f513cad32bc25
[]
no_license
sqlconsult/byte
02ac9899aebea4475614969b594bfe2992ffe29a
548f6cb5038e927b54adca29caf02c981fdcecfc
refs/heads/master
2021-01-25T14:45:42.120220
2018-08-11T23:45:31
2018-08-11T23:45:31
117,135,069
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('rot', __name__, url_prefix='/rot') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template('republic.html...
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
e4a8db30865c1f641e1659dc8663a83b73f24ba0
e2468c60810764971f2dae2b959650b553042810
/32_longParentheses.py
424c2c33dda1d69ea95600848da000f3d81f0741
[]
no_license
awesome-liuxiao/leetcodesolution
9a01b6f36266149ae7fe00625785d1ada41f190a
3637cd1347b5153daeeb855ebc44cfea5649fc90
refs/heads/master
2023-06-08T13:42:14.653688
2023-06-01T08:39:35
2023-06-01T08:39:35
213,380,224
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
class Solution: def longestValidParentheses(self, s: str) -> int: res = 0 sLen = len(s) stack = [] start = 0 for i in range(sLen): if s[i] == '(': stack.append(i) else: if stack == []: start = i+1 ...
[ "lio4072@hotmail.com" ]
lio4072@hotmail.com
beb00c8795fb8fcbdafe263d42cb4a3b1821cc54
6bf4e54f8ae95582b73bb969ba44069c64e87651
/kdhi/main_site/migrations/0022_article_update_date.py
52c02679337d35350bcf54c1168d52433162fa30
[]
no_license
speedycowenator/kdhi_migration
4bc983c4656a2a87cb056461bfb4219e38da1a85
422b2e3f142a30c81f428fb8eaa813e4a71d56fc
refs/heads/master
2022-11-14T13:27:51.520697
2020-07-02T19:31:12
2020-07-02T19:31:12
246,138,874
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# Generated by Django 2.2.5 on 2020-03-23 22:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_site', '0021_auto_20200323_1821'), ] operations = [ migrations.AddField( model_name='article', name='update_dat...
[ "54556114+speedycowenator@users.noreply.github.com" ]
54556114+speedycowenator@users.noreply.github.com
9d01f2e31bb38d3ccda4e090566d0ce168341b29
9b422078f4ae22fe16610f2ebc54b8c7d905ccad
/xlsxwriter/test/comparison/test_optimize06.py
70a303d77c74404718a1c41d06dcd3a44592ecf3
[ "BSD-2-Clause-Views" ]
permissive
projectsmahendra/XlsxWriter
73d8c73ea648a911deea63cb46b9069fb4116b60
9b9d6fb283c89af8b6c89ad20f72b8208c2aeb45
refs/heads/master
2023-07-21T19:40:41.103336
2023-07-08T16:54:37
2023-07-08T16:54:37
353,636,960
0
0
NOASSERTION
2021-04-01T08:57:21
2021-04-01T08:57:20
null
UTF-8
Python
false
false
1,138
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
af725df8bc8c67caf2efdca7c84665f967cc3fd5
463716b1e2dacba48802b3a58272de732c3e3382
/scripts/earth_capture/OCP_moon_moon_leg.py
b375653c7091984a75bd58a87a6f76a5796cb94b
[]
no_license
TomSemblanet/Asteroid-Retrieval-Mission
e6afa5446ee27268faa8a56d72028d8649a24646
9d4b1809e868aec674d6bf3c48958b23418290e7
refs/heads/main
2023-06-12T20:45:21.493228
2021-07-01T14:03:38
2021-07-01T14:03:38
348,095,525
1
0
null
null
null
null
UTF-8
Python
false
false
6,891
py
import sys import pickle import numpy as np import matplotlib.pyplot as plt import cppad_py from scipy.interpolate import interp1d from collocation.GL_V.src.problem import Problem from collocation.GL_V.src.optimization import Optimization class MoonMoonLeg(Problem): """ CR3BP : Moon-Moon Leg optimal control prob...
[ "tomsemblanet@hotmail.fr" ]
tomsemblanet@hotmail.fr
c609fe49aaa8f7ba0b62b3f030bf3d3de0ce70a8
3ead569228d28e173868dc307acb78f3e41947a1
/greedy/thisisCT_Q04.py
0ae4ce3ac5ed748b4bb35bc57fb27828fe4a4363
[]
no_license
pjhq2/Algorithm
96863d8343fb30fda9fe64b4d0f4abd4a1d7a81b
dd12ed47472f68d3a979d604aa32ca82e1c656b4
refs/heads/main
2023-08-11T11:14:10.720161
2021-10-07T14:01:58
2021-10-07T14:01:58
386,916,139
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
# 04. 만들 수 없는 금액 N = int(input()) money = list(map(int, input().split())) money.sort() # x-1원까지 만들 수 있을 때, x를 만들 수 있는가? target = 1 for x in money: if target < x: break target += x print(target)
[ "pkonu7@gmail.com" ]
pkonu7@gmail.com
97847a90e19953edb59b4fc72b64ea864c749fe6
67377e04b769338d6370b20126aa09af26ffee66
/tests/test_plotting_multiple_keras_histories.py
afc1400e47d9dd91a10fb279393b766308a6e093
[ "MIT" ]
permissive
LucaCappelletti94/plot_keras_history
a9fe2eee28f8021897a7e937937163d99e1c704d
1383a30e5659298d749678b75ea1d02f3bd73275
refs/heads/master
2023-05-23T18:34:57.090240
2022-11-19T12:00:40
2022-11-19T12:00:40
185,058,056
16
4
null
null
null
null
UTF-8
Python
false
false
1,169
py
"""Test to check if multiple histories plots look ok.""" from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense import numpy as np from plot_keras_history import plot_history from extra_keras_metrics import get_minimal_multiclass_metrics import matplotlib.pyplot as plt import matplotli...
[ "cappelletti.luca94@gmail.com" ]
cappelletti.luca94@gmail.com
f9a9d3d90bc48ff33ac94a9bdc430acb9e17d70f
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/bar/marker/colorbar/_ypad.py
fad1f6fcec651e9cb3a069e1030d2a0ba6a7a075
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
442
py
import _plotly_utils.basevalidators class YpadValidator(_plotly_utils.basevalidators.NumberValidator): def __init__(self, plotly_name="ypad", parent_name="bar.marker.colorbar", **kwargs): super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
1cb2d663dd85e185e94758e265d09d2776abc213
89ee7302d7a6c53a8370315c15c136322766fb66
/ch13/dframe_def2.py
6da23eb51ded62a876d48b8ced783873bdc8d8de
[]
no_license
nbvc1003/python
34424ce577335faf180160a82c1ba59b3233030b
bae2f2a066fbde9107e6a3cd26b82de47e71759e
refs/heads/master
2020-09-04T20:18:50.102871
2020-01-29T06:21:47
2020-01-29T06:21:47
219,880,055
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
import pandas as pd # dictionary data = { "2015": [9904312, 3448737, 2890451, 2466052], # 열은 같은 데이터 타입 "2010": [9631482, 3393191, 2632035, 2431774], "2005": [9762546, 3512547, 2517680, 2456016], "2000": [9853972, 3655437, 2466338, 2473990], "지역": ["수도권", "경상권", "수도권", "경상권"], ...
[ "nbvc@nate.com" ]
nbvc@nate.com
3da28a632e3b588d1f02152ca18f53abab8cb077
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/third_party/google/auth/compute_engine/credentials.py
30ffb162bca44fa2bf453997356e51731500b46c
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
17,059
py
# Copyright 2016 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 agreed to in writing, ...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
76582253feea01bffeb2c528387633c0af0ee6aa
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/pandas/tests/util/test_assert_index_equal.py
d49e5ff9c4a7acb872d67258a15a3bba1db6dc40
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:a7a930c51ee077a3cf9db15abd6751d1d7e0fc22968c380545f80e6c3f58a838 size 5664
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
bf3b8438d8ee625611afccaa3eb3e39f83b7f91c
272ae95716e530d538937ded59ec5b6e0b6d4db8
/섹션 4/10. 역수열/AA.py
ac30788d08d5d305fed5b5beddba53a6d2fd1329
[]
no_license
gogoheejun/algorithm
83a1cb30bff5c349f53be16764e517a46e99cf1c
39e999abf7170f434a7ac6e1f698f066e55aca03
refs/heads/main
2023-06-22T13:06:32.135917
2021-07-25T15:46:19
2021-07-25T15:46:19
383,379,782
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
import sys # sys.stdin = open("input.txt", "r") n = int(input()) a = list(map(int, input().split())) a.insert(0, 0) seq = [0]*n for i in range(1, n): for j in range(n): if a[i] == 0 and seq[j] == 0: seq[j] = i break elif seq[j] == 0: a[i] -= 1 for x in seq: pr...
[ "heejjuunn@gmail.com" ]
heejjuunn@gmail.com
9bc46ea84932af7397f0c23c585801421a479073
3e23aaf1d482843e3640dc2721ab887082063b51
/num201_300/num291_300/num300.py
5981af0f9bb0efe30350182a50370d4ece08e4b8
[]
no_license
guozhaoxin/leetcode
b19be28c0dc82fa7a5126edafa7c77ae2c77f22e
807ba32ed7802b756e93dfe44264dac5bb9317a0
refs/heads/master
2020-04-01T10:29:49.375239
2019-02-24T03:27:18
2019-02-24T03:27:18
153,120,115
0
0
null
null
null
null
UTF-8
Python
false
false
3,887
py
#encoding:utf8 __author__ = 'gold' ''' 300. Longest Increasing Subsequence Given an unsorted array of integers, find the length of longest increasing subsequence. Example: Input: [10,9,2,5,3,7,101,18] Output: 4 Explanation: The longest increasing subsequence is [2,3,7,101], therefore the length is 4. Note: There...
[ "1345616978@qq.com" ]
1345616978@qq.com
06dd454f3cc6627b6107b4bad371fd543ba0df59
ef32b87973a8dc08ba46bf03c5601548675de649
/pytglib/api/types/option_value_boolean.py
c8645e9adc81b47b314846938b95c884dc4e4c7b
[ "MIT" ]
permissive
iTeam-co/pytglib
1a7580f0e0c9e317fbb0de1d3259c8c4cb90e721
d3b52d7c74ee5d82f4c3e15e4aa8c9caa007b4b5
refs/heads/master
2022-07-26T09:17:08.622398
2022-07-14T11:24:22
2022-07-14T11:24:22
178,060,880
10
9
null
null
null
null
UTF-8
Python
false
false
595
py
from ..utils import Object class OptionValueBoolean(Object): """ Represents a boolean option Attributes: ID (:obj:`str`): ``OptionValueBoolean`` Args: value (:obj:`bool`): The value of the option Returns: OptionValue Raises: :class:`telegram.E...
[ "me@amirh.co" ]
me@amirh.co
6f3889fd9f1d8115b28c041894d80197faa8958e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03284/s932938186.py
f9974e8e57e1fe2b23ce35c3383ef130a046f77b
[]
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
125
py
import sys input = sys.stdin.readline N, K = [int(x) for x in input().split()] if N % K != 0: print(1) else: print(0)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f42c817db89647881254bc96d1a90ddcfc7de826
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/logs_write_1/retention-policy_delete.py
4ce4469c1a441eb5b15a8dad07b0d26f4ffd024f
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/logs/delete-retention-policy.html if __name__ ==...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
50681b82fb23f55dca02a53dd784ad540e419c21
baed2c2da1f776c0968d3cacd2fa45bdbe5482d6
/S4cam/groupedCameras/TMP/legacy_designs/TMP_baseline_rev_multicam_test4_circular_elliptical_stop_leaders_8_39/elliptical_stop/polarization_analysis/plot_polarization_histograms.py
63e6df9875b18b829138fcd042bd9ea942941e2f
[]
no_license
patogallardo/zemax_tools
5ae2fe9a1e8b032684b8cf57457ee4f3239d9141
90d309c2f96c94469963eb905844d76fa2137bf9
refs/heads/master
2023-01-08T22:52:16.865852
2022-12-20T21:36:28
2022-12-20T21:36:28
234,634,525
7
3
null
null
null
null
UTF-8
Python
false
false
501
py
'''Opens results from distorted mirrors and plots histograms of polarization leakage''' import matplotlib.pyplot as plt import numpy as np import os fname1 = os.path.abspath("./crosspol/crosspol_output.npz") fname2 = os.path.abspath("../gravitational_thermal_deformations/polarization/crosspol/crosspol_output.npz") # ...
[ "26889221+patogallardo@users.noreply.github.com" ]
26889221+patogallardo@users.noreply.github.com
a783a9e19c4613852480150686a548ef7fc28889
1690d6ec0451a5971fea1aded40f0f98e81ad89b
/ch05/25def2.py
54f9bbf1a832610161c831c925367353d67f07b5
[]
no_license
eggeggss/BigData
09165e5935c25b0c5f343f457768c13ee4d7e9a5
0306ff01861c7dcde6dec99df58991411535036c
refs/heads/master
2020-04-04T18:15:25.124491
2018-11-05T09:33:48
2018-11-05T09:33:48
156,156,338
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
#!/usr/bin/env def fun2(num): print("this is function2="+str(num)) #fun2(100) #fun2(num=200) fun2(num=None)
[ "eggeggss@gmail.com" ]
eggeggss@gmail.com
de60fcbc238e290b46b71f00839306c79306ef20
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03221/s313909172.py
7053691761a5635cbd5e58b85e5ee589303cc652
[]
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
539
py
from sys import stdin, setrecursionlimit from bisect import bisect_left def main(): input = stdin.buffer.readline n, m = map(int, input().split()) py = [list(map(int, input().split())) for _ in range(m)] summary = [[] for _ in range(n)] for p, y in py: summary[p - 1].append(y) for i...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
09709c91a5aaf7cf1de4c830b0e3f15e21759830
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_82/50.py
0c6605af2e896c47bfa05692c350399f1ff042a0
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,259
py
#! /usr/bin/python import sys def check_dist(nb_vendor, vendor, min_dist): for i in xrange(nb_vendor): for j in xrange(i+1, nb_vendor): if (vendor[j] - vendor[i]) < min_dist: return 0 return 1 def solve(nb_vendor, vendor, min_dist): time = 0 while check_dist(nb_vendor, vendor, min_dist) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
357f58315058e592739a421382e856391d2e1f97
7b15c40c00ba2008024979d0e520a922bc2f8229
/2nd_try/0529_Minesweeper.py
2bde189cdd44d12473720857df8d975c5259ad35
[]
no_license
axd8911/Leetcode
aa9875a5b55c7d5e961d9a3ea55823d06eb08a88
1c6cab14f4dac4f3f29f1b5ce13bb5289724fdb4
refs/heads/master
2022-07-07T12:59:38.251218
2021-06-22T06:27:05
2021-06-22T06:27:05
173,857,144
0
1
null
2022-06-22T01:22:30
2019-03-05T02:23:42
Python
UTF-8
Python
false
false
1,044
py
class Solution: def updateBoard(self, board: List[List[str]], click: List[int]) -> List[List[str]]: a,b = click if board[a][b] == 'M': board[a][b] = 'X' return board h,w = len(board),len(board[0]) directions = [(1,0),(-1,0),(0,1),(0,-1),(1,1),(-1,1),(1,-1),(-...
[ "axd8911@hotmail.com" ]
axd8911@hotmail.com
ed92641ba38ecc72946b4bca0f14b403d0ef8d9f
8e6b59cf324c87de3d726a585f0f053cf129c5ed
/experiments/netowrks/testAllSimilarNets.py
ab77fb9fbc177a26f19637c3405a62135f147144
[]
no_license
thodorisGeorgiou/comparison_of_hand_crafted_and_deep_learning_on_CFD_output
4556d38a7a12384c0c2c7e780924bec584814272
80721c8af0eb48b0b9b8b1a5d5cccd97cc19304f
refs/heads/main
2023-03-13T08:50:38.069662
2021-03-03T13:58:24
2021-03-03T13:58:24
344,140,621
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
#Run test network scripts on repetative runs, in parallel import os import sys from multiprocessing import Pool # modelTypes = ["op", "cc"] # modelTypes = ["vc", "ds", "op", "cc"] modelTypes = ["vc"] numRuns = 4 basePath = sys.argv[1] mType = sys.argv[2] if basePath[-1] != "/": exit("Path must end with a slash") # gp...
[ "thodorisgeorgiou65@gmail.com" ]
thodorisgeorgiou65@gmail.com
08d21fe53aa88f46cbec0f4f7d961b705b9a3937
f2658c4bd7f833ace25ac2b63e88317b05f4602d
/2017 November/code/VendorDataImporter/rdf/common_tool/command_utils.py
804d006cd090f84d8dcd954aac0dc2b63d6de4d2
[]
no_license
xiaochao00/telanav_diary
e4c34ac0a14b65e4930e32012cc2202ff4ed91e2
3c583695e2880322483f526c98217c04286af9b2
refs/heads/master
2022-01-06T19:42:55.504845
2019-05-17T03:11:46
2019-05-17T03:11:46
108,958,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,987
py
from common_utils import print_error, print_standout import os, sys def execute_cmd(cmd): print_standout("execute cmd is :%s" % cmd) s = os.system(cmd) if s: print_error("execute cmd[%s] failed" % cmd) sys.exit(-1) def parse_size_info_response_lines(response_lines): """ :param re...
[ "1363180272@qq.com" ]
1363180272@qq.com
5214f839a0865e8185396f000fb2bfbf469fc0ee
e0dcc1e7c862823278a93c40bfe263bbd196944b
/setup.py
5a6ad4f2c70e2f58b778427d4f65c0d973e82cd3
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
baiqj/ToughRADIUS
3e9300e3f65264d2e43bdf9f3475077de7d4491e
382b80d2c38ad2fba2a848776d959da9701e002b
refs/heads/master
2021-01-24T03:48:05.517408
2015-03-02T07:00:22
2015-03-02T07:00:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,857
py
#!/usr/bin/python from setuptools import setup, find_packages import toughradius version = toughradius.__version__ install_requires = [ 'argparse', 'MySQL-python>=1.2.5', 'Mako>=0.9.0', 'Beaker>=1.6.4', 'MarkupSafe>=0.18', 'PyYAML>=3.10', 'SQLAlchemy>=0.9.8', 'Twisted>=13.0.0', 'a...
[ "jamiesun.net@gmail.com" ]
jamiesun.net@gmail.com
9b319c036fd8d33a105fc098ecc2c5fbeec64da4
596e92d0d484b6e7eee6d322e72e52748fdeaa5d
/test/test_nfl_scores_team_season.py
e7165e08a90d72cf9112826ce8a69d29d3d5003c
[]
no_license
scottypate/sportsdata
f5f61ddc7eb482883f93737c6ce73dd814ed4336
a07955ab50bf4fff1ce114ed9895095ff770c473
refs/heads/main
2023-08-18T16:51:56.452678
2021-10-22T12:44:08
2021-10-22T12:44:08
420,062,350
1
1
null
null
null
null
UTF-8
Python
false
false
954
py
# coding: utf-8 """ NFL v3 Scores NFL schedules, scores, odds, weather, and news API. # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import sportsdata.nfl_scores from sportsdat...
[ "scotty.pate@auth0.com" ]
scotty.pate@auth0.com
50e5d4ca95a51c397925e4fce092f972e845b93a
c744f3ae44ab1a692b4b6a39ce2c3045c81406c4
/app/api_0_1/resources/config_yongjin.py
27c50713b382bc9acd2b21172fe19037c2afa7e1
[]
no_license
qq529952515/OA
f1e56d37c8e4b35b6f2e9bbdd0fb8370b90cc64d
ccf17b17b3122f9650bb1ab939befad784e9b4e0
refs/heads/master
2023-05-07T22:16:04.130146
2020-05-17T07:20:59
2020-05-17T07:20:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
75,444
py
from flask import request from flask_restful.reqparse import RequestParser from flask_restful import Resource, marshal_with, fields from app.api_0_1.common.utils import make_response, make_marshal_fields, convert_pagination, \ make_response_from_pagination from app.models import db from app.models.common.utils impo...
[ "15294786074@163.com" ]
15294786074@163.com
4b5304e679901413066a5018e1a246a624a23db2
1d2e26ea7ed6d49c05a45e8b55243e52011b74e4
/tests/test_main.py
91c29b2679ea43df1ebebd177965776cc571f6ec
[]
no_license
mikeizbicki/html_validator
723837acd090f29675bb4660d92710a7c9648d73
d786058e2a8a55341e733f55be3770870f7d4124
refs/heads/master
2023-02-18T05:40:00.774317
2023-02-03T20:32:23
2023-02-03T20:32:23
238,632,615
1
143
null
2023-02-08T08:01:43
2020-02-06T07:36:35
Python
UTF-8
Python
false
false
3,574
py
import HTML_Validator import pytest def test__extract_tags_1(): assert HTML_Validator._extract_tags('') == [] def test__extract_tags_2(): assert HTML_Validator._extract_tags('python in fun') == [] def test__extract_tags_3(): assert HTML_Validator._extract_tags('<strong></strong>') == ['<strong>','</stro...
[ "mike@izbicki.me" ]
mike@izbicki.me
c03dc16c54586a55a1a21aae25066d0c7d634f84
8a699595e7f156b1ade42f6042900b3331831fbf
/src/transformers/models/splinter/modeling_splinter.py
86e1c846c82fb291b4e23edf390f3a1ee3dbeb23
[ "Apache-2.0" ]
permissive
stas00/transformers
ab654371a387c5883fc882dd0286177875d6d3b4
7c5d79912a21880ce13d77881940458e90d98917
refs/heads/master
2023-02-16T00:22:41.298155
2022-04-08T20:55:42
2022-04-08T20:55:42
278,214,696
6
0
Apache-2.0
2022-01-28T18:39:00
2020-07-08T23:24:49
Python
UTF-8
Python
false
false
44,759
py
# coding=utf-8 # Copyright 2021 Tel AViv University, AllenAI and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/...
[ "noreply@github.com" ]
stas00.noreply@github.com
d0017561c6f6ad25a1c34c2406c04f4c6a962b52
19380415ccdcb0dac20f7bd67fcc8a0f631a3b90
/codeforces/727A.py
8ed364f5f8143382bfbf97c6d20628a693a1495f
[ "MIT" ]
permissive
italo-batista/problems-solving
c06c811364db7439d842db76e743dd7a1a7c8365
f83ad34f0abebd52925c4020635556f20743ba06
refs/heads/master
2021-10-28T07:01:21.643218
2019-04-22T15:27:19
2019-04-22T15:27:19
76,066,780
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
# LINK FOR PROBLEM: http://codeforces.com/problemset/problem/727/A def ends_with_one(number): number = str(number) return number[-1] == "1" def del_last_one(number): number = str(number) t = len(number) number = int( number[:t-1] ) return number def isEven(number): return (number % 2 == 0...
[ "italo.batista@ccc.ufcg.edu.br" ]
italo.batista@ccc.ufcg.edu.br
7b1fbc45105a4352caa4fbb01235b2f5dcdfa5b7
a3e52fbdfc81da3d17fee3d11b4451b330bfd592
/CompPython/tutoriais/bloghackerearth/numpyTutorial.py
5b484ed95488bf81857c0275ab3b14db7745d0cb
[]
no_license
chrislucas/python
79633915dd0aa8724ae3dfc5a3a32053f7a4f1e0
d3cca374f87e134a7ddfc327a6daea983875ecac
refs/heads/master
2021-01-17T04:08:25.056580
2016-12-26T11:41:31
2016-12-26T11:41:31
42,319,868
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
''' Created on 25 de nov de 2016 @author: C.Lucas ''' if __name__ == '__main__': pass ''' http://blog.hackerearth.com/prerequisites-linear-algebra-machine-learning ''' import numpy as np from numpy import abs, array, eye def test_numpy_abs(): print(abs([-1.2, 1.2])) def test_numpy_array(): matrix = ar...
[ "christoffer.luccas@gmail.com" ]
christoffer.luccas@gmail.com
48cbda302d0e9345f8c476a9d0d78fc6254bd7e4
3ac0a169aa2a123e164f7434281bc9dd6373d341
/sortedArrayToBST.py
590e2e06c1ece805f11ef7d6d7957e2f01800c4c
[]
no_license
sfeng77/myleetcode
02a028b5ca5a0354e99b8fb758883902a768f410
a2841fdb624548fdc6ef430e23ca46f3300e0558
refs/heads/master
2021-01-23T02:06:37.569936
2017-04-21T20:31:06
2017-04-21T20:31:06
85,967,955
1
0
null
null
null
null
UTF-8
Python
false
false
509
py
class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def sortedArrayToBST(self, nums): """ :type nums: List[int] :rtype: TreeNode """ n = len(nums) if n == 0: r...
[ "sfeng77@gmail.com" ]
sfeng77@gmail.com
9b7ca51648662bc507359f911a2b0c1d348fd579
09c39de5aad7b283cfac2f09a2b93e43086846d2
/Unit 07 Lists and Functions/01 Lists and Functions/Function Recap/6-More than one Argument.py
5bd98430a7fc7cfb13218ce3b0036e91af532544
[ "MIT" ]
permissive
lpython2006e/python-samples
b4e84080259faf75b41fb2fd4fb9d2fbc9f857aa
b94ba67ce0d7798ecf796dadae206aa75da58301
refs/heads/master
2023-01-21T13:16:13.295163
2020-11-29T11:01:50
2020-11-29T11:01:50
278,653,779
1
0
null
null
null
null
UTF-8
Python
false
false
109
py
m = 5 n = 13 # Add add_function here! def add_function(x, y): return x + y print(add_function(m, n))
[ "lent@hivetech.vn" ]
lent@hivetech.vn
663d9e55f574ee82bb6d9ecf79a6f7ee71df9a65
f06d9cd5fb86885a73ee997c687f3294840dd199
/setuser.py
169f54a1c0f7ac711cdde780e1f9ecd13d856b49
[]
no_license
bu2/oauth-proxy
aaff16a07d5c2c07c8243293c9ed41205b251a74
dbed492f8a806c36177a56ca626f005acec904b1
refs/heads/master
2020-12-26T15:53:40.618570
2013-07-09T05:06:16
2013-07-09T05:06:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
import getpass import os import sys from werkzeug.datastructures import MultiDict import models import forms # Make sure the database gets installed properly models.db.create_all() values = MultiDict() form = forms.SetUser(values) values['email'] = sys.argv[1] if len(sys.argv) > 1 else raw_input('%s: ' % form.emai...
[ "marty@martyalchin.com" ]
marty@martyalchin.com
f5791441ecd21aa9610b5a7fe8438953b39bd286
eaf25a735c2e8fefcf5a84786bf2b6015ed05793
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models_py3.py
d115113635ee20f04057ec8cc3422ffe14497b6a
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
KieranBrantnerMagee/azure-sdk-for-python
cd7871a38b67b63fa32ccadbdd26cffa3a16cec3
d4f33ed6cc9686b7ef751eb5d727ae6ec6ee1253
refs/heads/master
2021-06-22T01:55:33.669192
2019-10-02T19:14:39
2019-10-02T19:14:39
210,954,237
0
0
MIT
2020-03-13T01:27:44
2019-09-25T22:47:44
Python
UTF-8
Python
false
false
383,369
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 ...
[ "zikalino@microsoft.com" ]
zikalino@microsoft.com
99568bf21ddb40ee0e1fa9bf07ed777ed5918f52
864619c0245254e01fc61ffb3e9942436b0f9a13
/cerebtests/capabilities/__init__.py
47a740e51f2dc5132c32ad8988051153a025b2a3
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cerebunit/cerebtests
094e65dcbc61027b183f28de73ce48e6f6d57ec7
cf4b6d898f391db4f6200a8ee32753d0ff3ab200
refs/heads/master
2022-07-31T03:09:54.759945
2022-07-17T11:10:58
2022-07-17T11:10:58
139,698,304
0
1
null
null
null
null
UTF-8
Python
false
false
145
py
# ~/cerebtests/cerebtests/capabilities/__init__.py #from cerebtests.capabilities import cells #from . import microcircuit #from . import network
[ "neuralgraphs@gmail.com" ]
neuralgraphs@gmail.com
844d27ce562a28d26aab0686cf5d711c564a6f94
4015291afebfd346da3fee4b1d5a775882b5b461
/services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_api/_core.py
6d5e133cdf76767f7aa5f336c39ea1574dfb6324
[ "MIT" ]
permissive
pcrespov/osparc-simcore
3a8a6b5252038542f515c7e90d983ac6f1fb4de7
eb5e00bc2cf4acfe81f5dc422a5e50a4646c9596
refs/heads/master
2023-08-06T04:33:38.594066
2023-07-12T09:47:00
2023-07-12T09:47:00
130,357,545
0
1
MIT
2023-04-18T08:04:27
2018-04-20T12:10:41
Python
UTF-8
Python
false
false
19,513
py
import json import logging import warnings from collections.abc import Mapping from typing import Any, Final import aiodocker from aiodocker.utils import clean_filters, clean_map from fastapi.encoders import jsonable_encoder from models_library.aiodocker_api import AioDockerServiceSpec from models_library.docker impor...
[ "noreply@github.com" ]
pcrespov.noreply@github.com
b21b7c4509567cee5d172d6e123085031357a543
038ce0cf1d4e6f6a8ed6736663b6bb1e02d01b2a
/the_tale/post_service/tests/test_reset_password.py
cd1a25721437c7634379233bf22090e602731efb
[ "BSD-2-Clause-Views" ]
permissive
GrandUser/the-tale
d363fc34bc3cd04ced2bd718f375fa83f887c7df
3f7ec22c457a0c400ddb51dede7e8a3e962acf83
refs/heads/master
2021-01-19T06:56:52.868165
2016-05-22T15:07:32
2016-05-22T15:07:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,765
py
# coding: utf-8 from django.core import mail from the_tale.common.utils import testcase from the_tale.accounts.logic import register_user from the_tale.accounts.prototypes import AccountPrototype, ResetPasswordTaskPrototype from the_tale.game.logic import create_test_map from the_tale.post_service.models import Me...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
42972f492df490b20e312d8053977787b6f6f9b5
66d9f74aabb3ecf2a79f24d36f94e082166fa9df
/trunk/webui/cloud/page/TopMenu.py
6dbfd0a623a8321499036e2ab404f130b01f4cf8
[]
no_license
willcai1984/AerohiveAuto
6b7313de7c09a7d9b749f4531751eac0999b41f7
a4aeea7f98dc279b17515f5d1719efce20dd5133
refs/heads/master
2020-05-24T14:42:35.924787
2014-11-18T09:19:48
2014-11-18T09:19:48
26,797,519
1
1
null
null
null
null
UTF-8
Python
false
false
1,317
py
#!/usr/bin/python # -*- coding: utf-8 -*- __author__ = 'hshao' from selenium.webdriver.common.by import By from webui import WebElement class Home(WebElement): menu_page_title = 'HiveManager NG' Dashboard_btn = (By.XPATH, '//li[@data-dojo-attach-point="dashboardtab"]/a') Monitor_btn = (By.XPATH, '//li[@da...
[ "willcai1984@gmail.com" ]
willcai1984@gmail.com
5755e6b8e66c11d2edb617fcfba69571cd90936f
303bac96502e5b1666c05afd6c2e85cf33f19d8c
/solutions/python3/42.py
7410ae5963ede23de80722a57ac467c5f85b6442
[ "MIT" ]
permissive
jxhangithub/leetcode
5e82f4aeee1bf201e93e889e5c4ded2fcda90437
0de1af607557d95856f0e4c2a12a56c8c57d731d
refs/heads/master
2022-05-22T12:57:54.251281
2022-03-09T22:36:20
2022-03-09T22:36:20
370,508,127
1
0
MIT
2022-03-09T22:36:20
2021-05-24T23:16:10
null
UTF-8
Python
false
false
426
py
class Solution: def trap(self, height): res, left, l, r = 0, {}, 0, 0 for i, h in enumerate(height): left[i] = l if h > l: l = h for i in range(len(height) - 1, -1, -1): roof = min(left[i] , r) if roof > height[i]: ...
[ "cenkay.arapsagolu@gmail.com" ]
cenkay.arapsagolu@gmail.com
2741c2228d5f38ab4186616ac481b2ea60e1e963
d042b8895dc8347356fa4d5984d07bff41eecc73
/obtainfo/views/detail.py
7f708199c23a55cb68966520677fad0b829334e5
[ "Apache-2.0" ]
permissive
jzx1230/obtainfo
257b075c32c3448096391f258f42dd7f0c081350
883c29ab0a462d11682b60b9b52b2fc93031b816
refs/heads/master
2021-05-08T04:19:33.810848
2015-10-13T10:10:10
2015-10-13T10:10:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,121
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import base64 import copy import datetime import hashlib import logging import os import random import re import StringIO import time import urllib import urlparse from functools import wraps from zipfile import ZipFile import pymongo from bson.objectid import ObjectId fr...
[ "pczhaoyun@gmail.com" ]
pczhaoyun@gmail.com
d6f9726289c482ee28560352f61c27e948ee4c0f
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/6hnrKRh7fZfMC5CKY_12.py
826d0c825fe9b56642774cdbea1608c929276213
[]
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
1,197
py
""" Given an integer, return a new **integer** according to the rules below: * Split the number into groups of two digit numbers. If the number has an _odd_ number of digits, return `"invalid"`. * For each group of two digit numbers, concatenate the _last digit_ to a new string the same number of times as the v...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ba0a07d4363c1a6a51d8418e9bcbcfe4b2118f86
5c24dfc11c855fa0e4f196bc2e38661842761ab8
/backend/ImproveContent/DecreaseAnt.py
5b1d3d9dbe70ab765c1ed4bd5d2d7864c3579ab1
[]
no_license
CharlesRajendran/go-viral
2ad7bbdaf1b7d9dbfa0330012dba2740dbe10952
05ced94ac1b97df965232f3c44e341a980e58b3c
refs/heads/master
2020-03-20T01:58:58.616333
2018-06-12T17:32:05
2018-06-12T17:32:05
137,095,620
0
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
import nltk import fileinput from nltk.corpus import wordnet as wn from nltk.tokenize import RegexpTokenizer from nltk.corpus import stopwords stop_words = set(stopwords.words('english')) def increaseAnger(file_name): toker = RegexpTokenizer(r'\w+') words = toker.tokenize(file_name) allowed_types = ["JJ"...
[ "charlesrajendran44@gmail.com" ]
charlesrajendran44@gmail.com
b1d386ee77ceb6075eacc7e5a106f8fefd6a2ee1
2ca5ba967211d4ff37fc530690041503f0e5ec69
/server/evalSentiment/train.py
a846acbfa44fba7588596c40522bd88f9cfdd467
[]
no_license
jessica486424/Gerli
38c0bfab1133212af71fa740e8d2496f752d3c74
89172e40ea00ac3439dca99364e80d8a6e6d6465
refs/heads/master
2021-01-11T08:15:20.011612
2017-03-28T23:49:16
2017-03-28T23:49:16
69,801,970
1
0
null
2016-10-02T14:34:27
2016-10-02T14:34:27
null
UTF-8
Python
false
false
8,225
py
#! /usr/bin/env python import tensorflow as tf import numpy as np import os import time import datetime import data_helpers from text_cnn import TextCNN from tensorflow.contrib import learn # Parameters # ================================================== # Data loading params tf.flags.DEFINE_float("dev_sample_perce...
[ "a6214123@gmail.com" ]
a6214123@gmail.com
179ff15a59f3fa06312c64996a9151b248133d51
990b53061c912397312e505f3c483fea0ed07ec1
/env/lib/python3.6/stat.py
76ef3fbdf5dbc60b74e96c591a861cefe9edc7fa
[]
no_license
YauheniRusinchuk/flask_project
eedaf0688a98f298d980abcb5605d6d891dcd21c
d8ff22e6ee7b197099256aa28c909d8a1856a95a
refs/heads/master
2020-03-29T19:14:14.809477
2018-09-26T15:04:26
2018-09-26T15:04:26
150,253,701
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
/home/yr/anaconda3/lib/python3.6/stat.py
[ "ruevgal@gmail.com" ]
ruevgal@gmail.com
08f3c63df0a0b2bb7b4b07f7f0a824e1c895fbf1
10199a6ffc89c3fe3dd8747385989f6dfa354b3e
/nornir/plugins/tasks/apis/http_method.py
e4c50292e393e3dbe5b66041c6479eab3a914a00
[ "Apache-2.0" ]
permissive
billgrant/nornir
134f151818b444cee6a46ef80b4cc3ec73da3262
837bf85902d1776022d19f460ebe559884a9ffbe
refs/heads/develop
2020-04-08T09:45:50.163417
2018-11-26T08:31:18
2018-11-26T08:31:18
159,238,505
0
0
Apache-2.0
2018-11-26T21:59:29
2018-11-26T21:59:26
Python
UTF-8
Python
false
false
1,553
py
from nornir.core.task import Result import requests def http_method(task=None, method="get", url="", raise_for_status=True, **kwargs): """ This is a convenience task that uses `requests <http://docs.python-requests.org/en/master/>`_ to interact with an HTTP server. Arguments: method (string)...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
f5be676611bbe6c6f91ce40e74a2f5a2523b9938
3fe272eea1c91cc5719704265eab49534176ff0d
/scripts/portal/enterHRpt.py
416069eee82ed5292391535cd8932742f8aea17a
[ "MIT" ]
permissive
Bratah123/v203.4
e72be4843828def05592298df44b081515b7ca68
9cd3f31fb2ef251de2c5968c75aeebae9c66d37a
refs/heads/master
2023-02-15T06:15:51.770849
2021-01-06T05:45:59
2021-01-06T05:45:59
316,366,462
1
0
MIT
2020-12-18T17:01:25
2020-11-27T00:50:26
Java
UTF-8
Python
false
false
252
py
# 222020000 - Ludi tower: Helios Tower <Library> (CoK 3rd job portal) if not sm.hasQuest(20881): # 3rd job quest sm.chat("Only knights looking to job advance to the third job may enter here.") else: sm.warpInstanceIn(922030400, 0) sm.dispose()
[ "pokesmurfuwu@gmail.com" ]
pokesmurfuwu@gmail.com
692ce7baaccecf845f9c396f1e159091422e7e9f
83977dad449cfb0d0401194bad9fdf3d5b794118
/channelfilter/channelfilter.py
e0d8daf8e74b54a33893928c5413c56903be7d99
[ "MIT" ]
permissive
Rick7C2/TWO-Cogs
935fcb30ba2b6a929a77cbc50f794b807168afee
5c5d470ac96780fbc05bb59ba3fa532f01587c81
refs/heads/master
2020-03-20T11:10:14.131098
2018-06-15T00:29:59
2018-06-15T00:29:59
137,394,811
0
0
null
null
null
null
UTF-8
Python
false
false
7,196
py
# -*- coding: utf-8 -*- """ The MIT License (MIT) Copyright (c) 2017 SML 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...
[ "smlbiobot@gmail.com" ]
smlbiobot@gmail.com
d30fbfbfc9bc1ad2db4327b992818ba0277297e0
178eeebc29c3b5501505d1508f52f52c7d62ffdc
/Code/problem17.py
7eba0e3006b02503fb71a59a6fa7fa104258c31a
[]
no_license
krishnakalyan3/BSG
926bcb312974943478107c9a15b47dce737726ca
68f9a853ae803e8d2943bcb8ec31842acbdc2813
refs/heads/master
2021-01-11T19:58:35.152345
2017-01-19T09:05:28
2017-01-19T09:05:28
79,435,188
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
#!/usr/bin/env python2 # Counting Point Mutations def hamming(x,y): count = 0 for x1, y1 in zip(x, y): if (x1 != y1): count += 1 return count if __name__ == '__main__': dataset = open("/Users/krishna/Downloads/rosalind_hamm.txt").read() #dataset = 'GAGCCTACTAACGGGAT\nCATCGTAATGACGGCCT' split_data = datas...
[ "krishnakalyan3@gmail.com" ]
krishnakalyan3@gmail.com
0ac29342f999a38d4b563cd8fac442fcbc10d64d
8ebf6311c3c1db40c7bb56051cf4e37e1b85a4f9
/rm-server/gateway/gateway/router/projectmanager/project/user/list.py
32c198c00b991b4d2b88403cc7cb22d51600f615
[]
no_license
sq591442679/requirements-manager
e8b074afb7fd2a83632f2546d392dab4c35aeeeb
6d664ce338b455150dcc9a86145967e8dd67a9dd
refs/heads/master
2023-07-08T04:38:20.064019
2021-08-11T03:41:13
2021-08-11T03:41:13
392,877,568
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
from flask import request from gateway.app import app from gateway.http_client import projectmanager_http_client from gateway.utils.handle_api import ( get_client_username, handle_request_response ) @app.route('/project/user/list', methods=['GET']) @handle_request_response @get_client_username def project_user_l...
[ "591442679@qq.com" ]
591442679@qq.com
270cd817464fdfc04fa940e1f3291e2453365dc8
42b920d39f6fa79b1b6f8805c788599122e353db
/transcode movie/TV Show/encryption/new.py
7eb5cec57b311ef1d36c18f5cf2713e0a0de5f02
[]
no_license
analyticsbot/Python-Code---Part-10
62a167beb4326824429edf50f2004256103ef9d6
979853c419ed1073b046c65a095131e1e3a2769e
refs/heads/master
2021-06-05T18:22:30.696083
2016-08-27T02:42:10
2016-08-27T02:42:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
from Crypto.Cipher import AES from Crypto.Util import Counter key = '7842f0a1ebc38f44e3e0c81943f68582'.decode('hex') iv = '7842f0a1ebc38f44'.decode('hex') ctr_e = Counter.new(64, prefix=iv, initial_value=0) encryptor = AES.new(key, AES.MODE_CBC, counter=ctr_e) with open('Grass.out.jpg', 'wb') as fout: with open(...
[ "ravi.shankar1788@gmail.com" ]
ravi.shankar1788@gmail.com
fcf79f0af457759532d20061e773bff084cc534c
4c2c1775b6b319ae07155f46e70a6726ab0980c2
/algo/algo_code/naga-algo/naga_interactive/script/tools/email_sender.py
84d8d05ac3c42ef9c45cc00249239fb07efb8a8d
[]
no_license
kiminh/util
8e4b204849a57941120e37c9330772f03c8892d0
763a71031d9c0ef207b87dc03ebc55208a2dd5ad
refs/heads/master
2022-06-09T06:09:13.221754
2020-04-27T04:23:00
2020-04-27T04:23:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,747
py
import email import email.encoders import email.mime.base import email.mime.text import logging import smtplib import time import sys from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.utils import COMMASPACE MAIL_CONFIG = { "SENDER": 'noreply.ads.monitor@cootek.cn', ...
[ "ling@lingdeMacBook-Air.local" ]
ling@lingdeMacBook-Air.local
bf517a269f1e1e2e3035381c5d0e2b41f3f1e470
82195c2a1fce4ec92bc843c815bf06f7bd9c782a
/test/functional/bitcoin_cli.py
3ae91a61f6f43ec06248773e17ab4b3a8d1b25dd
[ "MIT" ]
permissive
cashgoldcoin/cashgoldcoin
9ca2947ff000451182478afeb0726ebd07cdc274
ec774b51a09379d2b9d16aaca6edc7e3661a64ab
refs/heads/master
2020-04-06T07:21:11.480655
2018-11-12T20:55:19
2018-11-12T20:55:19
155,448,765
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
#!/usr/bin/env python3 # Copyright (c) 2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test bitcoin-cli""" from test_framework.test_framework import BitcoinTestFramework from test_framework.util ...
[ "you@example.com" ]
you@example.com
604d6e7c5b0459a745e960c8955855b1864e6b09
aa57b25d0b040dc339ef395d5d17bfdf3723f825
/Tools/DGLPyTorch/SyntheticGraphGeneration/syngen/utils/types/dataframe_type.py
9446d7ce4cf8ad2f1233d90193f2127293336a5f
[]
no_license
nv-kkudrynski/DeepLearningExamples
29f9be9e6560e47f19e1cfc9f27d68b383b51b97
c7400425ff63d4bce3a2207ff6da6e4d3365f9ba
refs/heads/master
2023-04-29T14:11:35.498962
2023-04-18T17:04:45
2023-04-18T17:04:45
186,789,312
2
0
null
2023-04-18T16:50:23
2019-05-15T09:01:45
Jupyter Notebook
UTF-8
Python
false
false
814
py
# Copyright (c) 2023, NVIDIA CORPORATION. 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 applic...
[ "kkudrynski@nvidia.com" ]
kkudrynski@nvidia.com
2d8ae82ee205c9f5daffdedda2ad91f75f17f1a9
9d454ae0d5dd1d7e96e904ced80ca502019bb659
/1588_sumOddLengthSubarrays.py
8cb3fb3c870e0f20cfe1e03d33631e56dd2254c2
[]
no_license
zzz686970/leetcode-2018
dad2c3db3b6360662a90ea709e58d7facec5c797
16e4343922041929bc3021e152093425066620bb
refs/heads/master
2021-08-18T08:11:10.153394
2021-07-22T15:58:52
2021-07-22T15:58:52
135,581,395
3
0
null
null
null
null
UTF-8
Python
false
false
296
py
class Solution: def sumOddLengthSubarrays(self, arr: List[int]) -> int: length = len(arr) res = 0 for i, val in enumerate(arr, 1): res += (i * (length - i + 1) + 1) // 2 * val return res
[ "1564256031@qq.com" ]
1564256031@qq.com
77527a553d29938346edbcc692edd89fda02de2e
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res/scripts/common/goodies/goodie_helpers.py
2ef1ee6c219569bdef95cd2ff114b915d5135da2
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
4,542
py
# 2016.02.14 12:44:31 Střední Evropa (běžný čas) # Embedded file name: scripts/common/goodies/goodie_helpers.py from collections import namedtuple from debug_utils import LOG_ERROR from Goodies import GoodieException from GoodieConditions import MaxVehicleLevel from GoodieDefinition import GoodieDefinition from GoodieR...
[ "info@webium.sk" ]
info@webium.sk
0cbce35c5daef0797c0b72a8d1e35e41e8716bc0
da478f410908814c9be8044696dd2077889e3f82
/0x1F-pascal_triangle/0-pascal_triangle.py
cc48432904bdc874fddaec8afd20dfd1008d73f2
[]
no_license
sonnentag/holbertonschool-interview
5c1c454cfe2e82b7bf4ba02d5aa19b5b5738d4a7
d2d2f3159453a9c879cb1f8f205be504f53c4cae
refs/heads/main
2023-07-18T09:06:19.653685
2021-08-26T16:19:11
2021-08-26T16:19:11
320,453,810
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
#!/usr/bin/python3 """ 0x1F-pascal_triangle """ def pascal_triangle(n): ''' generate pascal's triangle of n levels deep ''' triangle = [] if n <= 0: return triangle for x in range(1, n + 1): row = [] col = 1 for k in range(1, x + 1): row.append(col) ...
[ "zocle@zocle.net" ]
zocle@zocle.net
2f7f638e66f5e1b63eee06075a10ade093af2e5d
b7f3edb5b7c62174bed808079c3b21fb9ea51d52
/third_party/blink/web_tests/external/wpt/bluetooth/generate.py
f7fffddbc301f3e555f75ad4cb2d067430628925
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
otcshare/chromium-src
26a7372773b53b236784c51677c566dc0ad839e4
64bee65c921db7e78e25d08f1e98da2668b57be5
refs/heads/webml
2023-03-21T03:20:15.377034
2020-11-16T01:40:14
2020-11-16T01:40:14
209,262,645
18
21
BSD-3-Clause
2023-03-23T06:20:07
2019-09-18T08:52:07
null
UTF-8
Python
false
false
7,189
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. # # TODO(509038): Delete the file in LayoutTests/bluetooth after all the script # tests have been migrated to this directory. """Generator script for Web Blue...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
54617dd96ce0cb421893e586c7a3aa26247754de
3fbbdc377c84b974bb488ceea1f9a146fd90fdbb
/clean_test.py
100205c6de74b79851f71a4030893b330d6d9a42
[]
no_license
sxtech/SX-UrlImgPackage
ee7bf21bf02a1062218de5398926771e7ba7b722
8c9d95d4c57825a1db2df5f5394cba8dfdb38286
refs/heads/master
2021-01-15T10:05:39.772962
2016-08-18T07:22:00
2016-08-18T07:22:00
33,332,624
1
0
null
2016-08-18T07:22:00
2015-04-02T21:25:38
Python
UTF-8
Python
false
false
256
py
import time from img_package import app from img_package.clean_worker import CleanWorker def test_clean_worker(): cw = CleanWorker() cw.main() time.sleep(10) app.config['IS_QUIT'] if __name__ == "__main__": test_clean_worker()
[ "smellycat2014@foxmail.com" ]
smellycat2014@foxmail.com
e3d180db6d65983092e1957c5bab49d204219983
68e0a8fbfc5bcbcd2ceaca07e420b1d4ca8d02c1
/src/brewlog/utils/views.py
fea936bcd0ee35c3956264e976df32d0dd86d966
[ "BSD-3-Clause" ]
permissive
zgoda/brewlog
391e710a63b8bd1c753caee7cf56dc1e0780fcfd
cbf9d7b14f0cdfd9241ae869cb5f28c9a1e817b4
refs/heads/master
2022-02-21T15:39:46.778749
2022-02-07T11:51:07
2022-02-07T11:51:07
95,431,146
3
0
NOASSERTION
2020-01-14T20:42:03
2017-06-26T09:33:18
Python
UTF-8
Python
false
false
3,413
py
import collections from typing import Optional from urllib.parse import urljoin, urlparse from flask import abort, request, session, url_for from flask_babel import lazy_gettext as _ from itsdangerous.exc import BadSignature, SignatureExpired from itsdangerous.url_safe import URLSafeTimedSerializer from permission imp...
[ "jarek.zgoda@gmail.com" ]
jarek.zgoda@gmail.com
02eacc35cfb41f8410152f22332522879c2551a3
b1b7206d4c8fb878e47bd2cd3a4e6b2a1f94cdc4
/hw3/code/tip3/test_script.py
ad3345cf10406447eaabe3762601d306f5da5eb0
[]
no_license
vachelch/MLDS
a6752e2e568841841389e50e7750d658e2157c29
e4fcaeae3b8a63aaefbf07b9ca0c107e9601ad31
refs/heads/master
2020-05-04T23:08:00.507062
2019-04-04T16:56:23
2019-04-04T16:56:23
179,533,690
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
from dataset import Dataset import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt dataset = Dataset() np.random.seed(0) r, c = 5, 5 dataset.data_generator(64) true_imgs = dataset.next_batch() true_imgs = true_imgs.transpose(0, 2, 3, 1) fig, axs = plt.subplots(r, c) cnt = 0 for ...
[ "r06944043@ntu.edu.tw" ]
r06944043@ntu.edu.tw
84539c92ba6c5c35f7ab4a5a00e5a18ac93e262a
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/datamigration/v20171115preview/project.py
21a6bd7bee26c2b1642ee6b69c5fc5ceafc3190b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,518
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
fef291a802c179905e0f84f64fa6d6589ddd24b7
ed6c1d30ced7e984ae507f5a25ebe4d92b33b5d8
/segno_mimos/qrcode/main.py
272d54bec4920f76f2925aac87269f9e1d825a92
[ "BSD-3-Clause" ]
permissive
heuer/segno-mimos
222f7720b183a08f20b15cf5971e567d5808c740
0b1b220c63fcda9fcaa0e42725ea719651a1d53e
refs/heads/master
2021-07-12T02:20:55.216745
2020-08-01T00:54:42
2020-08-01T00:54:42
64,956,618
1
0
null
null
null
null
UTF-8
Python
false
false
6,542
py
# -*- coding: utf-8 -*- # # Copyright (c) 2011, Lincoln Loop # Copyright (c) 2016 - 2017 -- Lars Heuer - Semagia <http://www.semagia.com/>. # All rights reserved. # # License: BSD License # from __future__ import absolute_import, unicode_literals, print_function import warnings import segno from . import constants, exc...
[ "heuer@semagia.com" ]
heuer@semagia.com
397d9bb3a19a2767981145d677e1eb98ddc7bab3
d3efc82dfa61fb82e47c82d52c838b38b076084c
/utils/ETF/Redemption_HA/YW_ETFSS_SHSH_051.py
59e59b0cdd08a7a3a4f4f1930d68b0081e0fc709
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
6,694
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys import time sys.path.append("/home/yhl2/workspace/xtp_test/ETF") from import_common import * sys.path.append("/home/yhl2/workspace/xtp_test/ETF/etf_service") from ETF_GetComponentShare import etf_get_all_component_stk from ETF_Add import etf_add class YW_ETFSS_SH...
[ "418033945@qq.com" ]
418033945@qq.com
3ab6e6f99098e0b8731959aad64c12f1b6a211bd
cde60eed1c85120ae4ec2bc3a2bb4cb418359aee
/lib/disco/mr_path.py
8449564f47a4928dde7a93f7c791c745438cac35
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
aronwc/quac
c2750c01902b95aead40d75f7c7e8fe5aa9c6e15
f383b4ffba529d19f2c1d24496e5125118d1e13b
refs/heads/master
2021-01-15T16:46:40.382175
2013-05-22T04:28:27
2013-05-22T04:28:27
9,962,349
0
1
null
null
null
null
UTF-8
Python
false
false
1,571
py
'''Disco has a scheme to detect which modules your stuff uses, put them in a zip file, and copy it to workers. In theory, this enables you to install absolutely nothing app-specific on worker nodes. Unfortunately, it works poorly (e.g., it misses modules) and has some very weird quirks (e.g., packages are n...
[ "reidpr@lanl.gov" ]
reidpr@lanl.gov
f061ccdde841c5c5ac087dabb6928fff1c970d56
68c29e7a17d87e34b1d6613c3e2e70a36fd2adcc
/easy/349_two_array_intersection.py
1afa7cccb3ed847d3c43ac2e980d55f050a64209
[ "MIT" ]
permissive
Sukhrobjon/leetcode
284242fbfded3e47a57ce9230f9bc1175685cd7a
547c200b627c774535bc22880b16d5390183aeba
refs/heads/master
2022-02-26T20:56:57.347119
2022-02-05T01:58:49
2022-02-05T01:58:49
192,158,651
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
""" Given two arrays, write a function to compute their intersection. Note: - Each element in the result must be unique. - The result can be in any order. link: https://leetcode.com/problems/intersection-of-two-arrays/ """ class Solution(object): def intersection(self, nums1, nums2): """ F...
[ "sgolibbo@mail.ccsf.edu" ]
sgolibbo@mail.ccsf.edu
a3adc1e9ab9b4222666320de040e4640c918f092
8d50e46e46bed95dac734f148f942c3c4496e855
/build/chefbot/chefbot_description/catkin_generated/pkg.develspace.context.pc.py
4d1ee3a6b51f7b7fe27622105e10853f581e0508
[ "BSD-2-Clause" ]
permissive
kaiodt/kaio_ros_ws
b9a77b3d23ed0e0c2f3ebe8dfdf819c2130e3968
d9ee0edb97d16cf2a0a6074fecd049db7367a032
refs/heads/master
2020-12-29T02:06:24.179739
2016-08-29T13:29:24
2016-08-29T13:29:24
64,547,122
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "chefbot_description" PROJECT_SPACE_DI...
[ "kaiodtr@gmail.com" ]
kaiodtr@gmail.com
196b3a4ec3a18c69c259e617cb54c0e9ce008877
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4040/278004040.py
7a7cf770c5ac97ef0155d9ded6220558dac39a57
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,581
py
from bots.botsconfig import * from records004040 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'HI', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BHT', MIN: 1, MAX: 1}, {ID: 'HL', MIN: 1, MAX: 99999, LE...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
408f877ad0c183781906ef0d631c6a5bce6ec140
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/third_party/catapult/catapult_build/run_with_typ.py
b9c69f2e88db8e8169d48a419a76c5d2f48295b3
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
920
py
#!/usr/bin/env python # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """A wrapper around typ (test your projects).""" import os import sys def Run(top_level_dir, path=None): """Runs a set of Python t...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
a57cf4df9f0068460b9410a8f12b9098b79114f7
6cf70b611cc4d45a7c3e63d818f100f8be895314
/067_二进制求和/Solution.py
db242d61bda7d2ca30ea0466d7b824d3ed6133e2
[]
no_license
hhy5277/LeetCode-9
19bed5482841e7dcdc346093b6fb17ed769fe72e
cf240ff3c9124a1af87b6d5f49ec426ef248298c
refs/heads/master
2020-06-19T00:19:30.194373
2019-06-05T13:53:44
2019-06-05T13:53:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/4/28 21:01 # @Author : zenRRan # @Version : python3.7 # @File : Solution.py # @Software: PyCharm class Solution: def addBinary(self, a: str, b: str) -> str: if a == '': return b if b == '': return a ...
[ "824203828@qq.com" ]
824203828@qq.com
4ce566297c9b085acc9406eff21a80e0d11f3e64
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/find-in-mountain-array/397500377.py
8e6b2ccf21e4d4d83c72f3ba712108de64aea34f
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
1,516
py
# title: find-in-mountain-array # detail: https://leetcode.com/submissions/detail/397500377/ # datetime: Fri Sep 18 23:28:26 2020 # runtime: 28 ms # memory: 14.6 MB # """ # This is MountainArray's API interface. # You should not implement it, or speculate about its implementation # """ #class MountainArray: # def g...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
7fa4b7b39352d11a19ca84ce9da4278700dbb0ed
632dcb4e37cadd87cb7ff8715b0048df5cd0d11b
/cc3d/tests/plugin_test_suite/connectivity_global_fast_test_run/Simulation/connectivity_global_fastSteppables.py
d544b685fd2eb386fca3d8171176a6269cfa8604
[]
no_license
CompuCell3D/CompuCell3D
df638e3bdc96f84b273978fb479842d071de4a83
65a65eaa693a6d2b3aab303f9b41e71819f4eed4
refs/heads/master
2023-08-26T05:22:52.183485
2023-08-19T17:13:19
2023-08-19T17:13:19
12,253,945
51
41
null
2023-08-27T16:36:14
2013-08-20T20:53:07
C++
UTF-8
Python
false
false
544
py
from cc3d.core.PySteppables import * class connectivity_global_fastSteppable(SteppableBasePy): def __init__(self,frequency=1): SteppableBasePy.__init__(self,frequency) def start(self): """ any code in the start function runs before MCS=0 """ def step(self,mcs): ...
[ "maciekswat@gmail.com" ]
maciekswat@gmail.com
fb50a368bcc5d8f9b46c504181ecff05ab605d77
e7f67295e62fc5301ab23bce06c61f2311c2eeee
/mjml/scripts/mjml-html-compare
f49399ce8f7dc8cc9ba742460090ff97b3623b1d
[ "MIT" ]
permissive
bayesimpact/mjml-stub
94d10588359990cd58d2085429b19a3777c51f15
30bab3f2e197d2f940f58439f2e8cd9fadb58d48
refs/heads/main
2023-05-08T11:54:19.313877
2021-01-25T21:30:48
2021-01-25T21:30:48
344,026,118
0
0
MIT
2021-03-03T06:31:49
2021-03-03T06:31:48
null
UTF-8
Python
false
false
471
#!/usr/bin/env python3 from pathlib import Path import sys from htmlcompare import assert_same_html from mjml import mjml_to_html mjml_filename = Path(sys.argv[1]) html_filename = Path(sys.argv[2]) with mjml_filename.open('rb') as mjml_fp: result = mjml_to_html(mjml_fp) with html_filename.open('rb') as html_...
[ "felix.schwarz@oss.schwarz.eu" ]
felix.schwarz@oss.schwarz.eu
9360433c0a871cbdf2706b2337e8d4a813b08125
920b9cb23d3883dcc93b1682adfee83099fee826
/pipeline/variable_framework/migrations/0001_initial.py
56856837e4fec961b57f7bb1f80e956d630c85ae
[ "MIT", "LGPL-2.1-or-later", "LGPL-3.0-only" ]
permissive
TencentBlueKing/bk-itsm
f817fb166248d3059857b57d03e8b5ec1b78ff5b
2d708bd0d869d391456e0fb8d644af3b9f031acf
refs/heads/master
2023-08-31T23:42:32.275836
2023-08-22T08:17:54
2023-08-22T08:17:54
391,839,825
100
86
MIT
2023-09-14T08:24:54
2021-08-02T06:35:16
Python
UTF-8
Python
false
false
1,470
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2020 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
[ "1758504262@qq.com" ]
1758504262@qq.com
38f4aaa11589e5d2daef4908a156e77873951653
77a7e01cf07531c8d4764c6e3edbbf956855a936
/data-processing/tests/test_match_symbols.py
e7c3221cabccb396500fd7270b135827a86149c8
[ "Apache-2.0", "AGPL-3.0-only", "GPL-1.0-or-later", "AGPL-3.0-or-later" ]
permissive
huhuaping/scholarphi
ccc6afa8b2cfea1888748a7457fb882a98e15286
ca892b41ab96a48b88183d8c06a26b9374c9167d
refs/heads/main
2023-08-31T00:00:23.375640
2021-09-19T07:55:12
2021-09-19T07:55:12
374,073,210
0
0
Apache-2.0
2021-06-05T09:29:32
2021-06-05T09:29:32
null
UTF-8
Python
false
false
1,912
py
from common.match_symbols import Match, get_mathml_matches DEFAULT_TEX_PATH = "tex-path" DEFAULT_EQUATION_INDEX = 0 def test_matches_self(): mathml = "<mi>x</mi>" matches = get_mathml_matches([mathml]) assert len(matches) == 1 assert matches[mathml] == [Match(mathml, mathml, 1)] def test_matches_sy...
[ "head.andrewm@gmail.com" ]
head.andrewm@gmail.com
8769ebbd283b5ccdb8e35c30ab2f020c91949723
eddb5cc6ece559a21fb2d99dc03fb4b9e3e1ddb0
/fagaiwei/others_test/xueqiu_test.py
d27ccff8868027c398543e88e64c99b26309ce54
[]
no_license
KKtoNN/python_spider
a9bdd005d607b1265a556cb4908e84804c0bfc62
c72bd061c3ca4145fef85b0fd9c15576441cdb09
refs/heads/master
2020-03-18T22:50:00.131802
2018-05-30T00:47:56
2018-05-30T00:47:56
135,367,902
3
0
null
null
null
null
UTF-8
Python
false
false
920
py
import requests # url = "http://news.people.com.cn/210801/211150/index.js?_=1525332714933" url = "https://xueqiu.com/v4/statuses/public_timeline_by_category.json?since_id=-1&max_id=-1&count=10&category=111" headers = { # "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0...
[ "18835702864@163.com" ]
18835702864@163.com
40a16ce415508f488033c0f2f56fa0b17b24df6e
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_156/406.py
4ee40c64dba71311688697c965764f7c08bc02f6
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,338
py
from math import ceil def solve_problem(file_name): input_file = file_name + ".in" output_file = file_name + ".out" f = open(input_file, "r") g = open(output_file, "w") # Get test cases: test_cases = int(f.readline()) for test_case in range(1, test_cases + 1): le...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0f47292c3df5ab71c9d9bdec321f379075b14053
9fce5f629873ef5c43274fdae1d49a270ec78f38
/venv/bin/pytest
f53807b461ad11d5c4db49d0e044ae604c9722ee
[]
no_license
makkar-nishant123/Pythonselenium
2c9273d81915bc1f7724de93d7b87c76b5f9066b
173f49e6522b80f13e6e406756130c0b1376a139
refs/heads/master
2021-06-12T09:30:24.097297
2021-04-22T02:48:56
2021-04-22T02:48:56
182,635,591
0
0
null
2021-04-22T02:52:08
2019-04-22T06:26:41
Python
UTF-8
Python
false
false
249
#!/Users/nishantmakkar/PycharmProjects/Day1/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pytest import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "makkar.nishant123@gmail.com" ]
makkar.nishant123@gmail.com
35dc1fb247c5ddb4c0bce809ecfd038db2097050
ef821468b081ef2a0b81bf08596a2c81e1c1ef1a
/Python OOP/Testing-Exercise/Code_For_Testing/Account.py
3e74b71551a7fbf33d20b751a7e5e99e0818cc42
[]
no_license
Ivaylo-Atanasov93/The-Learning-Process
71db22cd79f6d961b9852f140f4285ef7820dd80
354844e2c686335345f6a54b3af86b78541ed3f3
refs/heads/master
2023-03-30T20:59:34.304207
2021-03-29T15:23:05
2021-03-29T15:23:05
294,181,544
0
0
null
null
null
null
UTF-8
Python
false
false
2,475
py
class Account: def __init__(self, owner, amount=0): self.owner = owner self.amount = amount self._transactions = [] def add_transaction(self, amount): if isinstance(amount, int): self._transactions.append(amount) #self.amount += amount else: ...
[ "ivailo.atanasov93@gmail.com" ]
ivailo.atanasov93@gmail.com
652a8caf01f28a33c48720bd5911ab324e989653
9b6f36f544af5a2c1c042b18dda920c78fd11331
/omsBackend/omsBackend/urls.py
6d22eadd6ee826298b7574e14a6d7ef4ea919b65
[]
no_license
Nikita-stels/MyOms
a946f08b4ba7abfa8392e98c579320b501a7ca2a
fdaf9d5a2a29b5386c1a86fcf89a2c0d5527687a
refs/heads/master
2022-09-17T20:40:45.228067
2020-01-08T14:41:04
2020-01-08T14:41:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
# -*- coding: utf-8 -*- # author: kiven from django.conf.urls import url, include from django.conf.urls.static import static from rest_framework_jwt.views import obtain_jwt_token from rest_auth.views import PasswordChangeView from django.views.generic.base import TemplateView from omsBackend import settings from omsB...
[ "1069195546@qq.com" ]
1069195546@qq.com
ac620dcfd99271e3beed1f198e5a957010ac5b13
4772576b2f7601fb3295cec7756c832c250ffbc2
/81beg.py
0b2085be0b560c72211c5f8a2c0d2d62205bb84b
[]
no_license
Dhineshkumarraveendiran/Guvi
db3a956025299fcb2fd06911cc322403c0027ca1
3904a980fa59dd079473a4d68c345ed5116160f1
refs/heads/master
2020-04-15T04:59:55.974890
2019-05-15T10:11:59
2019-05-15T10:11:59
164,405,170
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
#dvfdf n,m=map(int,input().split()) a=m-n print(a)
[ "noreply@github.com" ]
Dhineshkumarraveendiran.noreply@github.com
0dc0846c2c3dce2ba4d1e4dfeb5d1fcfafc85aeb
fef925602f644a08491976f9fb6cc86816d30f2e
/WebApp/ToLetTrackerWeb/tolettracker/tolet/apps.py
04f6c8df568b9e9f94fb76c8d8481c47628656a3
[]
no_license
alrafiabdullah/tolet_tracker
6ae62c7ff856b4ff9e7e67cbd82e74ecb5e56fbb
ab9b85a5216a1fe64aeea96ae9ffd5f1adfd2c45
refs/heads/master
2022-12-16T10:48:39.615562
2020-09-12T16:36:40
2020-09-12T16:36:40
294,983,478
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
from django.apps import AppConfig # Django App class ToletConfig(AppConfig): name = 'tolet'
[ "abdullah34alrafi@gmail.com" ]
abdullah34alrafi@gmail.com
2b933a9ae42334721a3cae44e3413bd2ebcc44b3
4ec2b9c52dfa1d80fff89cead0f4cc8ec2874c1f
/1_tf_intro/exercises_sol/sol1_nNetReg.py
12776d0d34843aa661b7b87ef8cda4c9a5c743c7
[]
no_license
rsanchezgarc/deepLearningCourse
31439ba9640662f0840ee7f5c58657d4dd5b6c5f
175e3514e2b767ca2f5b4c88e891a777d95f513b
refs/heads/master
2020-03-21T02:26:50.702008
2018-06-20T21:44:33
2018-06-20T21:44:33
137,998,784
0
0
null
null
null
null
UTF-8
Python
false
false
5,406
py
import tensorflow as tf import numpy as np from keras.datasets import boston_housing from sklearn import cross_validation from sklearn.utils import shuffle from sklearn.preprocessing import StandardScaler N_EPOCHS= 2 N_HIDDEN= 64 BATCH_SIZE= 32 LEARNING_RATE= 1e-10 #PLAY with learning rate. try 1e-1, 1e-2 ... #load ...
[ "rubensanchezgarc@gmail.com" ]
rubensanchezgarc@gmail.com
f988587e634f0ff1e7eafdfc1516557550cfc51e
16c4d625ad9e945471a2a267e9992c7e9260214f
/project/settings/base.py
c4e2c96e358bdf8bb8c54a749f025709c08eb5ae
[ "BSD-2-Clause" ]
permissive
andywar65/rp_repo
8cea1c81533250b49a4036fb9b0ff6e93a0dde66
726c1426d738b962cabeabd8995aa35767df0c41
refs/heads/master
2023-05-26T13:47:48.329624
2021-06-05T08:35:05
2021-06-05T08:35:05
255,056,987
1
0
null
null
null
null
UTF-8
Python
false
false
5,238
py
""" Django settings for project_repo project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ """WARNI...
[ "andy.war1965@gmail.com" ]
andy.war1965@gmail.com
85fcd1aadc483df9977249471836ba9386a69e6e
4b7e282fe480415f5d52c0fc0429f144156190fe
/google/ads/googleads/v8/services/services/location_view_service/client.py
f89bb5eb1b6a50ff70914ddcca823a87788c50b1
[ "Apache-2.0" ]
permissive
Z2Xsoft/google-ads-python
c4750357bb19da91bb3b6bf2fa84bef9d2df36d3
1779d52a0446c8afb2437b0a9e103dcb849f5590
refs/heads/main
2023-08-18T15:22:17.840364
2021-09-26T04:08:53
2021-09-26T04:08:53
410,444,398
0
0
Apache-2.0
2021-09-26T04:08:53
2021-09-26T03:55:38
null
UTF-8
Python
false
false
18,117
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" ]
Z2Xsoft.noreply@github.com
96abcbb8b4d9b6e80e79f4e640727cf3898dbd82
a3b306df800059a5b74975793251a28b8a5f49c7
/Graphs/LX-2/molecule_otsu = False/BioImageXD-1.0/ITK/lib/InsightToolkit/WrapITK/lib/itkScalarConnectedComponentImageFilterPython.py
90e57b3895923a42a4f17809e6ba7febb18a6a5b
[]
no_license
giacomo21/Image-analysis
dc17ba2b6eb53f48963fad931568576fda4e1349
ea8bafa073de5090bd8f83fb4f5ca16669d0211f
refs/heads/master
2016-09-06T21:42:13.530256
2013-07-22T09:35:56
2013-07-22T09:35:56
11,384,784
1
1
null
null
null
null
UTF-8
Python
false
false
75,342
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 1.3.40 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3,0,0): new_instancemethod = lambda func, inst, cls: _itkScalar...
[ "fede.anne95@hotmail.it" ]
fede.anne95@hotmail.it
ff86504950716ef63ae817247b33c8cfba3d5316
92bfcfaedb69b0d5c032f6a9b3ad70c0e06f7c53
/ex12.py
9622ce88c3c10d6bed96f9a1bb3fcd9bd5f1c55e
[]
no_license
hellstrikes13/sudipython
cf529ed60cca09afa185f3b56fe7ce17059212b0
a789fc33cdab12d64ab674cb1c2ad7849617251f
refs/heads/master
2022-01-03T09:12:14.192724
2021-12-23T05:38:31
2021-12-23T05:38:31
184,371,582
2
1
null
2021-12-23T05:38:31
2019-05-01T05:07:18
Python
UTF-8
Python
false
false
139
py
age = raw_input("age: ") tall = raw_input("height: ") wt = raw_input("weight: ") print 'so u\'r %r old , %r tall and %r kg' %(age,tall,wt)
[ "hellstrikes13@gmail.com" ]
hellstrikes13@gmail.com
303ba6a7930d88999d35935f4a43741846fc8d9c
57f5cad2409ee6c8af646a0f95b37431bddeb946
/learning-python-application-development/chapter-05/wargame/attackoftheorcs.py
f76697ec7c0a3cd66fa2bd999a395c27d58b9021
[]
no_license
johannesgiorgis/python-learning
ebb7991c83afd4f066cd487715c1f82d69d81ef9
fb1d13e839d3f1a2ed806ae943853984cda17354
refs/heads/master
2022-09-30T12:21:11.517259
2020-06-07T06:54:13
2020-06-07T06:54:13
239,886,855
0
0
null
null
null
null
UTF-8
Python
false
false
5,732
py
""" Attack of the Orcs v2.0.0 """ import random from hut import Hut from knight import Knight from orcrider import OrcRider from gameutils import print_bold class AttackOfTheOrcs: """Main class to play Attack of The Orcs game :ivar huts: List object to hold instances of `Hut` class. :ivar player: Repres...
[ "johannesgiorgis@users.noreply.github.com" ]
johannesgiorgis@users.noreply.github.com