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
d4d9b776ffa4ab7d86eb4bf77e2b49965ea96eb9
f88bdb38fcf6c87c15b9316645e5cf9e923e1c96
/dellemc_ansible/unity/library/dellemc_unity_consistencygroup.py
479436e1929d001095a794bfc465ec95cb8792a5
[ "Apache-2.0" ]
permissive
coughybean/ansible-unity
d05559a88eef25b03fc3883b7d3aac71883e0e4c
2d28f8132682bd3d9b13b0c64fdb771e967f0066
refs/heads/master
2022-12-05T01:07:43.978718
2020-06-24T13:10:14
2020-06-24T13:10:14
291,908,740
0
0
null
null
null
null
UTF-8
Python
false
false
34,031
py
#!/usr/bin/python # Copyright: (c) 2020, DellEMC """Ansible module for managing consistency group on Unity""" from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_...
[ "anil.degwekar@emc.com" ]
anil.degwekar@emc.com
03fbb82f24cc28ece207060f332c53b35b135b5f
98d5aebf7fa092e7f06b821f68d1dbb949486d9c
/kvirt/gcp/__init__.py
fa686cf20ad71baaf2ae9ebf7612d59a31429f2c
[ "Apache-2.0" ]
permissive
jcpowermac/kcli
1f97c1f717096c177234b4af8b38feb5e8fe07d8
e2ca6cf3233fd122a451c31b5ba68bc831d1552b
refs/heads/master
2020-03-24T09:50:14.644072
2018-07-27T23:35:26
2018-07-28T01:51:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,039
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Gcp Provider Class """ from jinja2 import Environment, FileSystemLoader from kvirt import common from dateutil import parser as dateparser import googleapiclient.discovery from google.cloud import dns from iptools import IpRange import os import time binary_types = ['...
[ "karimboumedhel@gmail.com" ]
karimboumedhel@gmail.com
812f4e0a054a92fe9d84fbc8a29fcca5fb313458
38170fe8548572700a2ed620c70359369e4ff811
/filemanager.py
e6e754f331298839ccf422daa2978bca0fa7d7c3
[]
no_license
wnd2da/flaskfilemanager
354ffb5de456d21e95e3c1168bcb15cf77620f31
e6017839d612b1f3f21416bed9806f5e41048728
refs/heads/master
2022-11-28T14:21:45.374757
2020-08-08T14:10:29
2020-08-08T14:10:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,165
py
""" Main filemanager package - contains blueprint """ import logging import json import os from collections import OrderedDict import datetime import io from flask import Blueprint, request, make_response, send_from_directory, abort, url_for #from littlefish import util, imageutil __author__ = 'Stephen Brown (Littl...
[ "cybersol@naver.com" ]
cybersol@naver.com
a4b5ef0298eec20cb86808159be94c8de415255c
45da24ad0793ced3ce4a332486877ebdd9776388
/app/data/protocols/repositories/survey/load_survey_result_repo.py
1fb821b918a76cda8af32f3ab7273a4436f1a4ff
[]
no_license
luccasPh/clean-python-api
2fce7003646613ad543b9e8e4afd77bd4b49a25e
bc10bdc485bbec1c02c73783109c178d887514f1
refs/heads/master
2023-03-24T11:30:40.380210
2021-03-19T19:11:24
2021-03-19T19:11:24
343,474,537
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
from abc import ABC, abstractmethod from typing import Union from app.domain import SurveyResultModel class LoadSurveyResultRepo(ABC): @abstractmethod def load_by_survey_id(self, survey_id) -> Union[SurveyResultModel, None]: """Abstract method to load a survey result by survey id on database"""
[ "lucas4pinheiro@gmail.com" ]
lucas4pinheiro@gmail.com
0a0434c1235311f23cf9d56c1b326792cbb19373
739cf9467a7eefb5c2bf5d37ca3c70e1c9ff8d5c
/settings_development.py
3d4787d1d7a96ee8a1e1277ec3da2d52c9c4d54b
[]
no_license
rif/elMonumental
289228f972e7e91c282cc9f069a0ab07af43bcbb
c2ceb728a3abc6522561106f6428503d9242a896
refs/heads/master
2021-06-27T19:13:11.974275
2012-04-10T12:40:36
2012-04-10T12:40:36
204,654,522
1
0
null
2021-06-10T21:53:57
2019-08-27T08:17:54
Python
UTF-8
Python
false
false
2,920
py
# -*- coding: utf-8 -*- # Django settings for elMonumental project. import os def rel(*x): return os.path.join(os.path.abspath(os.path.dirname(__file__)), *x) DEBUG = True TEMPLATE_DEBUG = DEBUG MANAGERS = ADMINS = ( ('Radu Ioan Fericean', 'radu.fericean@oce.com'), ) DATABASES = { 'default': { 'E...
[ "radu@fericean.ro" ]
radu@fericean.ro
b534584be815f6a2c6404c26876f91ac4ccaba75
75dcb56e318688499bdab789262839e7f58bd4f6
/_algorithms_challenges/codingbat/codingbat-python-master/List-1/common_end.py
e3be1e59fed286a14620da006d0349d9675f7780
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
396
py
# Given 2 arrays of ints, a and b, # return True if they have the same first element or they have the same last element. # Both arrays will be length 1 or more. # common_end([1, 2, 3], [7, 3]) → True # common_end([1, 2, 3], [7, 3, 2]) → False # common_end([1, 2, 3], [1, 3]) → True def common_end(a, b): return ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
6310865ed4c8b4b72532d4e2adf40e5c50e06def
8923fe8a8a7ff6bdafacb2af6c4439bbe0ad0559
/constants.py
69adbc05924f4ab3e8b2f53fd3e429a93e6296b3
[ "MIT" ]
permissive
marcofavorito/information-extraction-from-annotated-wikipedia
5918f66aface5c8f97311c76084aeb95905de8d3
749f59c001d3850896431aaf0854c4c2ed209f1e
refs/heads/master
2020-03-23T22:10:24.566453
2018-07-24T13:12:41
2018-07-24T13:12:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
# Some constants NULL_BABELNET_ID = "NULL_BID" NULL_TYPE = "NULL_T" CUSTOM_TYPE = "CUSTOM_TYPE" # XML tags DISAMBIGUATED_ARTICLE_TAG = "disambiguatedArticle" TEXT_TAG = "text" ANNOTATIONS_TAG= "annotations" ANNOTATION_TAG= "annotation" BABELNET_ID_TAG = "babelNetID" MENTION_TAG = "mention" ANCHOR_START_TAG= "anchorSt...
[ "marco.favorito@gmail.com" ]
marco.favorito@gmail.com
8a1a7fe892220f1aa7df44f9ecdd8f03d1afa2cc
965fc2f0e22f0d0a14ac2b65fb7ae1a94371c9d1
/harvester/tests/integration/test_disease_normalizer.py
87ac52c5bede46bd77dfa9d4205940c7f9adb08a
[]
no_license
ohsu-comp-bio/g2p-aggregator
9a2ca19612905f7d7aca950aa81cb7a1d83dd56c
2a0d57c31bdad67b759322407b2c9c91a59c615b
refs/heads/v0.12
2022-12-11T14:07:34.994534
2019-06-25T21:13:27
2019-06-25T21:13:27
88,804,628
46
16
null
2022-08-23T17:12:16
2017-04-20T00:51:34
HTML
UTF-8
Python
false
false
7,412
py
import sys sys.path.append('.') # NOQA import logging logging.basicConfig(level=logging.DEBUG) from disease_normalizer import normalize import requests import requests_cache # cache responses requests_cache.install_cache('harvester') def test_comma(): term = "Non-small cell lung cancer, positive for epidermal g...
[ "brian@bwalsh.com" ]
brian@bwalsh.com
19cfe9db10a6f3d2660b175e1a824ae95d7b9a8c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03837/s676974942.py
9934b2b65658c22da40c2659d76b1e78b84fad70
[]
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
521
py
N, M = map(int, input().split()) INF = 10 ** 7 A = list() B = list() C = list() d = [[INF] * N for i in range(N)] for m in range(M): a, b, c = map(int, input().split()) a -= 1 b -= 1 A.append(a) B.append(b) C.append(c) d[a][b] = c d[b][a] = c for k in range(N): d[k][k] = 0 for k in ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2aa327cb7ed520349a870092358619281dd8ed21
f4335e8e7d3010506f570167bbba18156d3a4674
/stubs/django/template/__init__.pyi
de5717ba87113bc4e44496c5d245bfa04d8ee550
[]
no_license
rtpg/typehangar
133686ea45ad6187b768290aeebda9cbcae25586
790d057497c4791a38f9e3e009b07935b4a12f45
refs/heads/master
2021-01-19T04:49:17.940793
2017-01-16T13:54:14
2017-01-16T13:54:14
69,260,488
0
0
null
null
null
null
UTF-8
Python
false
false
301
pyi
# Stubs for django.template (Python 3.5) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any from .engine import Engine as Engine from .base import Context as Context, RequestContext as RequestContext, Template as Template engines = ... # type: Any
[ "raphael@rtpg.co" ]
raphael@rtpg.co
c71fc28d72cf51f6f8927ca521c6956cb9169c59
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/migrate/v20191001preview/get_move_resource.py
687c2f1dd9bf9160301cb4fe30b96ee56060074e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,477
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 from ... import _utilities, _tables from...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
467b72deaf5e1ae852c6e350d310d38691390d82
3dbe78764eff766fbf7eb9b746be8895a6c1eefb
/app/internal/module/video/item.py
782f9f16918eaabc46cb0a40bb3f4c9e65e20d50
[ "MIT" ]
permissive
kuropengin/SHINtube-video-api
7650a26d6127cc4af09fd8574e0159e97c6e22ea
8a4b068fb95a9a2736b3dba3782dbbbf73815290
refs/heads/main
2023-08-14T10:36:11.466973
2021-09-20T16:12:43
2021-09-20T16:12:43
408,505,615
0
0
MIT
2021-09-20T15:50:01
2021-09-20T15:50:01
null
UTF-8
Python
false
false
795
py
from concurrent.futures import ThreadPoolExecutor import pathlib import json import glob import aiofiles import asyncio from functools import wraps, partial # 保存先のビデオフォルダ video_dir = "video" def async_wrap(func): @wraps(func) async def run(*args, loop=None, executor=None, **kwargs): if loop is N...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
d91b848b61e9a9bb8a0690ff27104a2dba8bb0fe
0b842bcb3bf20e1ce628d39bf7e11abd7699baf9
/oscar/elwood/ptemplate/ut/ptemplate_test_all_protos_pb2.py
a81dc335fe08b3a0926f22e3e41479c42562a945
[]
no_license
afeset/miner2-tools
75cc8cdee06222e0d81e39a34f621399e1ceadee
81bcc74fe7c0ca036ec483f634d7be0bab19a6d0
refs/heads/master
2016-09-05T12:50:58.228698
2013-08-27T21:09:56
2013-08-27T21:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
true
5,740
py
# Generated by the protocol buffer compiler. DO NOT EDIT! from google.protobuf import descriptor from google.protobuf import message from google.protobuf import reflection from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) DESCRIPTOR = descriptor.FileDescriptor( name='elwood/ptemplate/...
[ "afeset@gmail.com" ]
afeset@gmail.com
03571a9bf291790af4c15b737bcf24e4250a162a
6cf81acfdc22c9eae523cb2eaac454f5805e94a4
/tensorflow/contrib/slim/python/slim/learning.py
c2b7583be5cebcb8156165da575188e7ada96012
[ "Apache-2.0" ]
permissive
c0g/tensorflow
1e43b35f43a4fbb4dbe284e7622c6e303f108fd0
f613c871f1dd24df75da32ff830e0bc80a26c3ea
refs/heads/master
2021-01-21T02:59:16.115488
2016-11-07T12:43:20
2016-11-07T12:43:20
56,776,452
1
0
null
2016-04-21T13:34:53
2016-04-21T13:34:50
null
UTF-8
Python
false
false
30,806
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
ae447c7e6f087c2a58658a3d3baeb9af123512d7
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/173216_import_Outlook_contacts_using/recipe-173216.py
c3388d3d54f12adde9b3a2ebb9cfc94367e758a5
[ "MIT", "Python-2.0" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
3,130
py
import win32com.client DEBUG = 0 class MSOutlook: def __init__(self): self.outlookFound = 0 try: self.oOutlookApp = \ win32com.client.gencache.EnsureDispatch("Outlook.Application") self.outlookFound = 1 except: print "MSOutlook: unable to...
[ "betty@qburst.com" ]
betty@qburst.com
71d3da10e6e875d16569f57ec29ffb12e6940f30
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/fc/inputtotalbytehist1h.py
d28d2dff2e8bc2594c510c8bc2e3c04d0d2af1d3
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
24,307
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
31a399d7febe959c30f1a22af376fced11bbb529
66c3eb5a49b6b674e72ffeac00a221f16e224806
/LX_API_TEST/Test_Case/User/Api_User_UpdateLoginPwd_Case.py
4eba6c78bd1b8e715958f1f3883b42008bede342
[]
no_license
fan966/LX_AT_TEST
20ad5793ef9ab6fe9070d046935b90450321ff0b
7e95a399140567ff601205f8d83babbe56279ab6
refs/heads/master
2022-12-31T15:11:04.972185
2020-10-23T11:58:46
2020-10-23T11:58:46
258,690,216
0
1
null
2020-04-26T07:00:43
2020-04-25T04:53:19
Python
UTF-8
Python
false
false
2,705
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import unittest from ddt import ddt,data from Config.Config import * from Libs.data_util import * from Libs.CheckRresult_Util import * from Verify.User.UserVerify import login_api from Libs.http_requests import http_api_requests import logging from Libs.Random_uti...
[ "664340382@qq.com" ]
664340382@qq.com
dd505eb397c91e6b9d4e23f32bd73694dd3b5c5a
c0e069209c4139362e8119a5718d695d81077312
/hw4/LED.py
821cdaf997406d0182e9155525b2b410fed4b720
[]
no_license
DragonChen-TW/raspberry_prac
57686ba423ff97e7382ec659792c32cd72323dd4
4e40dd80b27e486b46c3ec37679d2f7ed213ddca
refs/heads/master
2022-05-09T08:21:12.661146
2018-06-20T17:02:10
2018-06-20T17:02:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
import RPi.GPIO as gpio def setup(gpio_num, ctr): if ctr == 'in': gpio.setup(gpio_num, gpio.IN) elif ctr == 'out': gpio.setup(gpio_num, gpio.OUT) def turnON(gpio_num): gpio.output(gpio_num, gpio.HIGH) def turnOFF(gpio_num): gpio.output(gpio_num, gpio.LOW)
[ "teacher144123@gmail.com" ]
teacher144123@gmail.com
6f23a1d95816207670f958b2c05e2b04574e305a
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/comparison/test_autofit10.py
c4273d7c464ac8da9b09808fabe961c5d2d026e6
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
990
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
6d2758391da64e0ff525429807ced639b3ca7abf
10f4589802924889830e6e4d4f6aabd70fd43be8
/ax/runners/synthetic.py
0fb4c93f8ed5bdf421c5a4c684c0b4222ae7c3e3
[ "MIT" ]
permissive
kiukchung/Ax
473620b607e77ecb75b9339c39f38fc7fcce4508
0f50d94056782d304e573c3c1dde567beb44b65a
refs/heads/main
2023-07-15T10:20:19.879679
2021-08-30T16:36:41
2021-08-30T16:37:29
401,422,595
0
0
MIT
2021-08-30T17:03:29
2021-08-30T17:03:29
null
UTF-8
Python
false
false
1,008
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Any, Dict, Optional from ax.core.base_trial import BaseTrial from ax.core.runner import Runner cl...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
3ae54efdb050950baf0c47a22810a7cfa27e0fc6
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/AWCVX-MIB.py
3f01bb611d762f5e6a51eeaf6f3cda227894e01e
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
299,902
py
# # PySNMP MIB module AWCVX-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AWCVX-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:32:52 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
3a4516200ecbaf3d52ca889babe0e17b227ce7e9
6e9d6a682f20054e13d3764e95b8bd3b7b64fabf
/dailychallenge215.py
8856bc6a0e92e560a91609be9fe5f9bfe5392f6e
[]
no_license
SeanyDcode/codechallenges
30a271e04bc2b360bca923ae868be65a9533c8db
947cf3034911b381afaf777794d22d2af06aa5ba
refs/heads/master
2022-11-07T21:22:56.927863
2022-10-18T23:33:13
2022-10-18T23:33:13
154,498,776
1
0
null
2022-10-18T23:02:05
2018-10-24T12:38:45
Python
UTF-8
Python
false
false
949
py
# from dailycodingproblem.com # # Daily Challenge #215 # The horizontal distance of a binary tree node describes how far left or right the node will be when the # tree is printed out. # # More rigorously, we can define it as follows: # # The horizontal distance of the root is 0. # The horizontal distance of a left chi...
[ "noreply@github.com" ]
SeanyDcode.noreply@github.com
0fa40be0cdd6da373598cbf3839f5ad86ed4395b
fc03b53c2fb81455bc1c5e1c7369f0fab7052787
/Test_Locker.py
c2cd857223da6d9a3bc3d80f705a96c43af90860
[ "MIT" ]
permissive
Belie06Loryn/Password__Locker
f328c388738a651a4304db51def810022473a193
a63e8218e0e4878f2258bbdbdffc8d932607c7ec
refs/heads/master
2020-07-19T20:43:28.854206
2019-09-09T10:45:47
2019-09-09T10:45:47
206,511,963
0
0
null
null
null
null
UTF-8
Python
false
false
5,600
py
import pyperclip import unittest from Locker import Urufunguzo from Credentials import Credential #Test for Creating User class Genzura(unittest.TestCase): """ this class it gona check if application behaviour are driven as how it surppose to be driven """ def setUp(self): self.user = Urufung...
[ "maniralexie@gmail.com" ]
maniralexie@gmail.com
dd688f26a7656b187b5b178decf816309bbaf086
7a06da727da4374dfb43576b10e67e50116a8c92
/caffe2/python/layers/batch_mse_loss.py
85b1802b5c5c9420683a96da68e38ae09e8edfb1
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
KevinKecc/caffe2
3856495267fb6e69f5a4486b67a1fda5f5dea02c
a2b6c6e2f0686358a84277df65e9489fb7d9ddb2
refs/heads/master
2020-04-22T18:34:38.840825
2019-02-13T21:49:30
2019-02-13T21:49:30
170,581,714
0
0
Apache-2.0
2019-02-13T21:24:06
2019-02-13T21:24:05
null
UTF-8
Python
false
false
2,554
py
# Copyright (c) 2016-present, Facebook, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
073bc8e84160b66d7206e899e1e596afe65febd8
33cde221776eef4d7ecb2720a7fbc6bdee912997
/libexec/begblock.py
554064ea21ca725394b940b934d93995e72b3a56
[ "NCSA" ]
permissive
DarkEnergySurvey/ProcessingFW
4433acc5bd39ee7d87b6569d062165b77b64c366
31b5742e7aedbf0dd20aeca2964fe411bab21799
refs/heads/master
2022-05-23T22:52:58.452071
2022-04-29T19:49:54
2022-04-29T19:49:54
206,154,221
0
1
NOASSERTION
2022-04-29T19:49:55
2019-09-03T19:15:17
Python
UTF-8
Python
false
false
11,377
py
#!/usr/bin/env python3 # $Id: begblock.py 47308 2018-07-31 19:42:07Z friedel $ # $Rev:: 47308 $: # Revision of last commit. # $LastChangedBy:: friedel $: # Author of last commit. # $LastChangedDate:: 2018-07-31 14:42:07 #$: # Date of last commit. """ Program run at beginnin...
[ "friedel@illinois.edu" ]
friedel@illinois.edu
1d8ea340a9d30a0edb256fdd34b112f8b0de5000
a9c3e212f86acdbc84ba57357194e8f11c844535
/catalogue_management/migrations/0011_servicetype_icon.py
1576d39b55cdcbf0a63b36a1b6c8937e79f15cf7
[]
no_license
bitapardaz/carwash
bde4635bda1f1fa51409c2454e27aca84c2bffa0
0a10954eae44df7341372b5f3def652e512538b0
refs/heads/master
2021-01-15T13:34:31.198300
2017-08-23T11:35:33
2017-08-23T11:35:33
99,678,532
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('catalogue_management', '0010_servicetype_short_description'), ] operations = [ migrations.AddField( model_name='...
[ "pourranjbar.ar@gmail.com" ]
pourranjbar.ar@gmail.com
910b9f07fd8a2e9bf2d2025b357f4df32b4c3c0e
b4b451568e36374cd74830f5629f258259193336
/pytglib/api/types/users.py
d19be2f76f9b868d04aab5ea3ee253005cbeb0af
[ "MIT" ]
permissive
enodr/pytglib
a898342193eaf48c163f845de76c4846dd295ba7
e5e75e0a85f89b77762209b32a61b0a883c0ae61
refs/heads/master
2022-07-04T21:44:35.170736
2020-05-14T08:30:43
2020-05-14T08:30:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
from ..utils import Object class Users(Object): """ Represents a list of users Attributes: ID (:obj:`str`): ``Users`` Args: total_count (:obj:`int`): Approximate total count of users found user_ids (List of :obj:`int`): A list of user identifiers ...
[ "me@amirh.co" ]
me@amirh.co
e66724b9f8930e0670f70b27db0a3753f85434b5
cdc5d3badcd3c1060c6987ee47205b6bfe192e11
/penelope/core/socketspace.py
33bb9c52e0449f72876589cbd18c7340e2be3e56
[]
no_license
getpenelope/penelope.core
5dda00bcc2d9b6a2dc1ee5cdd5c1250c7d6bf0de
c1de9aee3afef093ff3a27259780761e7c028939
refs/heads/master
2021-01-09T20:48:53.561049
2016-07-28T15:43:02
2016-07-28T15:43:02
12,054,073
3
0
null
null
null
null
UTF-8
Python
false
false
461
py
from pyramid.response import Response from pyramid.view import view_config from socketio import socketio_manage from penelope.core.activity_stream import FeedlyNamespace from penelope.core.kanbanboard import KanbanNamespace @view_config(route_name="socketio") def socketio(request): socketio_manage(request.enviro...
[ "andrew@mleczko.net" ]
andrew@mleczko.net
84de3d5d5f2109ebf72fefa2f811b5d0d0fce00a
e6e81d0cd02223ca27f2c3f544b3c116e7617270
/LeetCodePremium/96.unique-binary-search-trees.py
593d1b0379b7a9e7601abfe4c8132db230de1ca5
[]
no_license
ashjambhulkar/objectoriented
86166640b0546713095dd5d8804fc78d31782662
6f07b50590ceef231be38d6d7b8c73a40c1152e9
refs/heads/master
2022-05-03T23:28:38.674275
2022-04-26T21:37:31
2022-04-26T21:37:31
249,091,045
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# # @lc app=leetcode id=96 lang=python3 # # [96] Unique Binary Search Trees # # @lc code=start class Solution: def numTrees(self, n: int) -> int: dp = [0] * (n+1) dp[0], dp[1] = 1, 1 for i in range(2, n+1): for j in range(1, i+1): dp[i] += dp[j-1] * dp[i-j] ...
[ "ashjambhulkar@hotmail.com" ]
ashjambhulkar@hotmail.com
0593b22bd5d503656d63fda337df1fa7e6a0985f
c98a7caf8eeccc95b6005e845d34b4be6d63e638
/train.py
9f469f303f50f42da60eee0db86b53822892be10
[ "MIT" ]
permissive
kentakozuka/machine_learning_in_application
cf8faeb2daaceb0022d6456a879e52636cd306ed
533cb74c680abf3c1beadb9325dc096f42bcdb3d
refs/heads/master
2021-07-17T13:02:36.495600
2017-10-23T22:11:24
2017-10-23T22:11:24
107,009,264
0
0
null
2017-10-15T12:15:43
2017-10-15T12:15:43
null
UTF-8
Python
false
false
1,325
py
import os import argparse from ml.model import NumberRecognizeNN from ml.data_processor import DataProcessor from ml.trainer import Trainer from ml.resource import Resource def train(data_file, batch_size, epoch, test_size): r = Resource() dp = DataProcessor() model = NumberRecognizeNN(Resource.INPUT_SIZE...
[ "icoxfog417@yahoo.co.jp" ]
icoxfog417@yahoo.co.jp
ec74d80ae0b9da90594d4116911a6385c8a3500e
65f856bb3c782fe2fec794192260d5b7aa997ef3
/wsc_django/wsc_django/apps/order/services.py
1098bdfe9523a5be13c87b89182787ef40b687c4
[ "MIT" ]
permissive
hzh595395786/wsc_django
0c8faf0cac1d8db8d9e3fa22f6914b6b64bf788b
c0a4de1a4479fe83f36108c1fdd4d68d18348b8d
refs/heads/main
2023-06-06T07:26:17.979944
2021-06-24T13:14:53
2021-06-24T13:14:53
336,303,377
2
0
null
null
null
null
UTF-8
Python
false
false
23,061
py
import decimal import hashlib import json import uuid import requests from config.services import get_printer_by_shop_id from customer.models import Customer from delivery.services import _convert_delivery_period, apply_promotion from groupon.models import GrouponAttend from groupon.services import get_shop_groupon_a...
[ "595395786@qq.com" ]
595395786@qq.com
a21e809035c29b0c8f9282191c6ccf5cc1a003e4
328ff0d287f8f058f109c472e7f8902022a39325
/tools/set_upi_1.py
09f987ff49f916ae23f5b9ffb00e55ccb4312da3
[]
no_license
qihqi/HenryFACTService
e69104cf01e46c3e4ed0c1e5d2d72d91bac30634
a74b01afa0ba5a0bcbe517a7a52317a840487600
refs/heads/master
2023-04-16T17:39:01.863063
2021-06-21T15:12:20
2021-06-21T15:12:20
8,528,113
0
1
null
2022-06-03T22:44:27
2013-03-02T22:33:52
Python
UTF-8
Python
false
false
638
py
from coreapi import dbapi from henry.config import transapi from henry.product.schema import NPriceList def set_upi_for_ids(dbapi, ids): for i in ids: x = dbapi.db_session.query(NPriceList).filter( NPriceList.almacen_id == 1 ).filter(NPriceList.prod_id == i or NPriceList.prod_id == i +...
[ "you@example.com" ]
you@example.com
ff794b3d86b31e94d537170eb89b88affdb45e80
68d5dfd61fc2ea4dce4046d4ab83b5e837288781
/trax/data/text_encoder_build_subword.py
ed9d4829e17c8eb6edb9eddfa4d3b8982a189cfe
[ "Apache-2.0" ]
permissive
lukaszkaiser/trax
e1bf055c40c1c2c69726b0fe23f3de87c2e6ec6f
d875d804b8503d36b5dba493efa22ace86bb68f0
refs/heads/master
2023-08-17T11:12:47.806355
2021-09-29T21:57:02
2021-09-29T21:57:02
411,838,526
3
0
Apache-2.0
2021-09-29T21:46:56
2021-09-29T21:46:55
null
UTF-8
Python
false
false
2,785
py
# coding=utf-8 # Copyright 2021 The Trax 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 applicable law or a...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
203a32df831d39ebd365ac727afbe33ff43ae75d
ce18cf6bdb1a85a65a509597b4c0ec046b855186
/2021年3月/和为K的子数组.py
342425af8104bf2f7a982e8d34e7d4eec26186e0
[]
no_license
elssm/leetcode
e12e39faff1da5afb234be08e7d9db85fbee58f8
a38103d2d93b34bc8bcf09f87c7ea698f99c4e36
refs/heads/master
2021-06-11T06:44:44.993905
2021-04-28T06:14:23
2021-04-28T06:14:23
171,072,054
3
0
null
null
null
null
UTF-8
Python
false
false
354
py
class Solution(object): def subarraySum(self, nums, k): """ :type nums: List[int] :type k: int :rtype: int """ m={0:1} sumN=0 count=0 for i in range(len(nums)): sumN+=nums[i] count+=m.get(sumN-k,0) m[sumN]=m....
[ "noreply@github.com" ]
elssm.noreply@github.com
4e7fc5d8758356404791545138699efd52feadf1
3ae2210dc1c166d8f2bb45f9e951d1bef13efc77
/statsmodels/regression/_prediction.py
087c802da8b614dea6c4386d4ef2455d182b510d
[ "BSD-3-Clause" ]
permissive
tchakravarty/statsmodels
586112870db439182103f6cdfdc408b6204afe6a
ba2aab7d25aaef0c57ad6eeab5f4982aae43b34c
refs/heads/master
2021-01-16T21:43:59.404887
2015-02-10T17:15:57
2015-02-10T17:15:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,045
py
# -*- coding: utf-8 -*- """ Created on Fri Dec 19 11:29:18 2014 Author: Josef Perktold License: BSD-3 """ import numpy as np from scipy import stats # this is similar to ContrastResults after t_test, partially copied and adjusted class PredictionResults(object): def __init__(self, predicted_mean, var_pred_mean...
[ "josef.pktd@gmail.com" ]
josef.pktd@gmail.com
115ea3b20a755ebf34355476174d67946dabe9ae
e9538b7ad6d0ce0ccfbb8e10c458f9e0b73926f6
/plugins/module_utils/network/iosxr/config/l3_interfaces/l3_interfaces.py
34786e39b6fd1e225e90568de7c9a995a28b24ff
[]
no_license
ansible-collection-migration/misc.not_a_real_collection
b3ef8090c59de9ac30aca083c746ec3595d7f5f5
7ab1af924a3db4ada2f714b09bb392614344cb1e
refs/heads/master
2020-12-18T13:48:51.849567
2020-01-22T17:39:18
2020-01-22T17:39:18
235,400,821
0
0
null
null
null
null
UTF-8
Python
false
false
13,060
py
# -*- coding: utf-8 -*- # Copyright 2019 Red Hat Inc. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) """ The iosxr_l3_interfaces class It is in this file where the current configuration (as dict) is compared to the provided configuration (as dict) and the command set necess...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
578da7c41b25040a346831398a8b2deee5db2dae
291ab4b5b1b99d0d59ce2fb65efef04b84fd78bd
/tmp_testdir/Forex_Trading212/Selenium_LOGIN_Trading212_Read_Data_on_Graph_reverse.py
c67a37e29254f23fae5e15286cfde6759e7052e7
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
cromox1/Trading212
15b5ea55d86e7063228f72dd92525e1fca693338
68f9b91098bc9184e16e9823a5e07e6b31e59602
refs/heads/main
2023-04-17T23:03:07.078229
2021-05-05T23:02:54
2021-05-05T23:02:54
320,100,427
0
2
null
2021-04-13T07:03:41
2020-12-09T22:58:06
Python
UTF-8
Python
false
false
8,288
py
__author__ = 'cromox' from time import sleep from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import ...
[ "xixa01@yahoo.co.uk" ]
xixa01@yahoo.co.uk
50887b486afeec9ca73c193ea062fe9cbd07b122
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-Security/PyObjCTest/test_securedownload.py
b3b52a777c14eb6760cd2ca2cba18606e85d7ded
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
4,648
py
from PyObjCTools.TestSupport import * import Security SecureDownloadTrustSetupCallback = b"i@^v" SecureDownloadTrustEvaluateCallback = b"i@i^v" class TestSecureDownload(TestCase): def test_constants(self): self.assertEqual(Security.errSecureDownloadInvalidTicket, -20052) self.assertEqual(Securit...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
86dc056ff945813410e5d1478b2c312013699e1e
d06046e416d68652729c6e0c3e6937af8262cbfb
/OCR/skipNet/skipNet-master/models/m3d.py
3defe45d401502b64b49481f828f048e8882a9d5
[ "MIT" ]
permissive
xixiareone/OCR_TTS-project
bce9b00c30a5b2b5352823514d492bc6e5451256
4327c92395c99a424ffb980994a8e2667fc4b8ea
refs/heads/master
2023-05-25T16:46:15.272837
2021-06-10T14:21:13
2021-06-10T14:21:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,517
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import tensorflow as tf from tensorflow.contrib.rnn import GRUCell,LSTMCell, MultiRNNCell, OutputProjectionWrapper, ResidualWrapper from tensorflow.contrib.seq2seq import BasicDecoder, BahdanauAttention, AttentionWrapper fro...
[ "noreply@github.com" ]
xixiareone.noreply@github.com
d723b5c189e844180b46a43782f1c85ca09d34f6
46083e01408b6bb2e05f78a38f69fd5a6881a4c3
/project/subdomains/domains.py
f68f3659ce116281cb30250d0493d16232ab407a
[]
no_license
caixinshu/api
7601ce97ed6666cbc5995ecd1e32165605a7da7e
b75bf1bdbf4ee14f0485d552ff2f382c7991821e
refs/heads/master
2021-01-22T05:54:14.651098
2019-12-17T09:09:23
2019-12-17T09:19:26
81,718,456
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
# coding=utf-8 from utils.crt import Crt domain = 'ichunqiu.com' result = Crt(domain=domain).run()
[ "651696408@qq.com" ]
651696408@qq.com
22e638443f6a4a7989b18abd2a9217846125ca6e
b9df0ebcd6d188e9561537ed5f914d58c02c20ac
/test.py
a8f8c3e15215cb823d139a10c50aae31681bfdd3
[]
no_license
ScarletMcLearn/PySnips
690fd0028fe1031bff563fad4c45edc6d5eece41
25cae07103b93eac54bb0c183f6d6540f11970f1
refs/heads/master
2021-01-13T09:03:39.226245
2016-10-06T15:14:53
2016-10-06T15:14:53
70,165,839
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
##i = 1 ##while (i < 20): ## print (i, end=" ",) ## print ("+", end=" ",) ## i = i + 1 ## ## ##while (True): ## print (i, end=" ",) ## print ("+", end=" ",) ## i = i + 1 ## ## if i > 100 : ## break ## ##for i in range (0, 50, 5): ## print (i, end=" ",) x = int(input("x")) y = int(input...
[ "noreply@github.com" ]
ScarletMcLearn.noreply@github.com
f69b8e2c2290c7423914f760e5cab9f32e00b565
d612040ff26a15bbc525a0c84a81a46b0b7115ec
/guvi104.py
59e77fe61bfacea7594910a69644290b451034a3
[]
no_license
EsaikaniL/Python-exercise
0c707c64cd4001e57996f69e4ca9bdd2a082bfe7
5e3f5e8f0d3af56e1f0c722aee395c2b806c6de2
refs/heads/master
2020-04-17T17:54:56.622727
2018-03-16T11:29:27
2018-03-16T11:29:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
n=int(raw_input()) m=int(raw_input()) print n**m
[ "noreply@github.com" ]
EsaikaniL.noreply@github.com
731294d1ee328acf3c6233ff0c3110a8b66f1550
3e3a39296a0c11ca0f5ab787a096b5a4d22369ee
/tests/py/test_security.py
eae24c24dd319137dd8528ad112b254c28706020
[ "CC0-1.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
stefb965/gratipay.com
7aa8175c75e220afa9524f339146087905a9933b
5f3b5922d6b3a7ff64f51574a1087bab2378cbd8
refs/heads/master
2021-01-12T09:06:05.346326
2016-12-17T12:26:17
2016-12-17T12:26:17
76,761,240
0
0
NOASSERTION
2019-05-11T23:47:51
2016-12-18T03:49:13
Python
UTF-8
Python
false
false
3,349
py
from __future__ import absolute_import, division, print_function, unicode_literals import struct import datetime from aspen import Response from aspen.http.request import Request from base64 import urlsafe_b64decode from cryptography.fernet import Fernet, InvalidToken from gratipay import security from gratipay.model...
[ "chad@zetaweb.com" ]
chad@zetaweb.com
1d30a223169636e37a8b8fc6e99515b28adce941
7681c936b3ec9cb9d033944bc03ee0569d30e2f7
/products/migrations/0011_payscore_timestamp.py
3ba7d5847584e9dd7e9e074207a300eb4d75a94d
[]
no_license
kij8323/mynewspaper
c624816bb87dedfe2c28182535f187e09b2f2824
12677e636224b53469b75d72185b2d198a6b5836
refs/heads/master
2021-04-12T03:33:51.549169
2017-08-26T07:24:37
2017-08-26T07:24:37
49,888,027
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('products', '0010_auto_20170201_1712'), ] operations = [ migrations.AddField( model_name='payscore', ...
[ "shenanping2008@Hotmail.com" ]
shenanping2008@Hotmail.com
7934af59c4d19973c528065a0693cc6dc5e73cb6
3a9f2b3d79cf214704829427ee280f4b49dca70a
/saigon/rat/RuckusAutoTest/scripts/zd/ats_ZD_Combo_CLI_Config_L3Acl.py
1e5071f32db63586ef3ca9141c06fc3d36274f12
[]
no_license
jichunwei/MyGitHub-1
ae0c1461fe0a337ef459da7c0d24d4cf8d4a4791
f826fc89a030c6c4e08052d2d43af0b1b4b410e3
refs/heads/master
2021-01-21T10:19:22.900905
2016-08-20T03:34:52
2016-08-20T03:34:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,722
py
''' Description: Configure L3 ACL information on ZD CLI, verify the information on ZD GUI. By Louis louis.lou@ruckuswireless.com ''' import sys import random from copy import deepcopy import libZD_TestSuite as testsuite from RuckusAutoTest.common import Ratutils as utils from RuckusAutoTest.common import ...
[ "tan@xx.com" ]
tan@xx.com
b9997fd87223f304d354eccc851ca7a8e912e90b
43d4b962a83dac734dfb09b8523fdfcfcc6628c1
/mario_home/apps.py
7f152b5b7ad85052117efc00d69bbbaae2fca0ce
[]
no_license
redcliver/sistemas
01edd98c2814eee50550010169b2c7594e5256f5
1129c9516c57fbf53ce3cf5e0e5feb3835d3e9df
refs/heads/master
2020-04-07T17:23:04.809752
2019-05-02T16:24:18
2019-05-02T16:24:18
158,567,651
1
0
null
null
null
null
UTF-8
Python
false
false
94
py
from django.apps import AppConfig class MarioHomeConfig(AppConfig): name = 'mario_home'
[ "igor-peres@hotmail.com" ]
igor-peres@hotmail.com
eb676bd2c0f6153a0441f03f28d3b07c01d0bcab
4351a81d4a4fae778711643cb9644534e595920d
/Python 3/LeetCode/lc946.py
44ba51e60f315974bac51f380cce4884b5bf880a
[]
no_license
nsmith0310/Programming-Challenges
ba1281127d6fa295310347a9110a0f8998cd89ce
7aabed082826f8df555bf6e97046ee077becf759
refs/heads/main
2023-08-13T14:47:10.490254
2021-10-13T04:35:57
2021-10-13T04:35:57
416,565,430
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
class Solution: def validateStackSequences(self, pushed: List[int], popped: List[int]) -> bool: check = [j for j in popped] f = [] i = 0 while i<len(pushed): while pushed!=[] and popped!=[] and pushed[i]==popped[0]: f...
[ "92414264+nsmith0310@users.noreply.github.com" ]
92414264+nsmith0310@users.noreply.github.com
ed36d3fdc4475b33ea6c8319b8df1931754b4fe7
5be4ba98d02d8862d327f04291cafe4f0f6760f0
/django/django intro/random_word_generator/main/apps/randomword_app/apps.py
eebba82d0fa6c1246ebc9d34858962b7fe1bb0c9
[]
no_license
HassanZaghmoury/Python
f614e962e17bf9d767ba17d9be7bf862709274a7
b45f1b0392112bce73dce0dc6baf021bb2c1beaa
refs/heads/master
2020-03-08T00:42:00.672277
2018-04-02T21:21:09
2018-04-02T21:21:09
127,811,770
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class RandomwordAppConfig(AppConfig): name = 'randomword_app'
[ "34197290+HassanZaghmoury@users.noreply.github.com" ]
34197290+HassanZaghmoury@users.noreply.github.com
65dfa16c7775915575ffaa3e2344c0ecc6aadf20
9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612
/exercises/1901100081/D4/1001S02E04_control_flow.py
235bfd7b193b169bc56a2aecf67165da6a5e184a
[]
no_license
shen-huang/selfteaching-python-camp
e8410bfc06eca24ee2866c5d890fd063e9d4be89
459f90c9f09bd3a3df9e776fc64dfd64ac65f976
refs/heads/master
2022-05-02T05:39:08.932008
2022-03-17T07:56:30
2022-03-17T07:56:30
201,287,222
9
6
null
2019-08-08T15:34:26
2019-08-08T15:34:25
null
UTF-8
Python
false
false
319
py
print('九九') for i in range(1, 10): print('第%a行' % i,end='\t') for j in range(1, i + 1): print(i,'*',j,'=',i*j, end='\t') print() print('九九2') i=1 while i<10: if i%2==0: print() else: for j in range(1,i+1): print(i,'*',j,'=',i*j,end='\t') i +=1
[ "2470962+srvz@users.noreply.github.com" ]
2470962+srvz@users.noreply.github.com
af7522ebaa33d8310ad5e3ff58638cbe5d89fb47
1c91f3e1884d9cba5328ac6b2a09bd92a1f498de
/mp/ontology/models.py
83c91d68f12f08ee9d9052d1729e3722edda884c
[]
no_license
point97/marine-planner-wcodp
31c9f3ee568683c737dbc56d9104f6e9ebf941c1
e707694d32fa34ddf69ff30a19ba6593e1fb3d5f
refs/heads/master
2020-06-06T18:59:17.561373
2015-07-24T17:49:54
2015-07-24T17:49:54
33,622,636
1
2
null
2015-04-23T22:24:32
2015-04-08T17:50:05
JavaScript
UTF-8
Python
false
false
1,079
py
from django.db import models from django.conf import settings from django.contrib.gis.db import models from mptt.models import MPTTModel, TreeForeignKey import caching.base class Term(caching.base.CachingMixin, models.Model): name = models.CharField(max_length=125) slug = models.CharField(max_length=125) ...
[ "sfletche@gmail.com" ]
sfletche@gmail.com
1b2e30eec717f5d0921cb995fc26d9e8803dd3bc
d788f2e3277d6274db345084f3f127de0f23b068
/charles-university/speech-recognition/asr-project/wer.py
7193d62185d76f4a96d586424278192e2df6f64d
[ "MIT" ]
permissive
Hyperparticle/lct-master
2af75fcd68990d6e5906be39e63d5a4a45db5a5e
8acb0ca8fe14bb86305f235e3fec0a595acae2de
refs/heads/master
2022-03-09T22:59:20.496277
2019-01-23T17:25:57
2019-01-23T17:25:57
106,123,054
3
0
MIT
2022-02-19T21:05:02
2017-10-07T19:00:34
HTML
UTF-8
Python
false
false
1,253
py
# Code taken from https://martin-thoma.com/word-error-rate-calculation/#python import numpy as np def wer(r, h): """ Calculation of WER with Levenshtein distance. Works only for iterables up to 254 elements (uint8). O(nm) time and space complexity. Parameters ---------- r : list h :...
[ "hyperparticle@gmail.com" ]
hyperparticle@gmail.com
330670dbf6c3457fd98cf4057cc21b11f9120ba1
f1364645e43b60c05b746083981e5c7f169702ba
/strategy/phase_out/ss01_09.py
2749467cbea2685475fd2a6b665aef0b86f31fb9
[]
no_license
geniustom/AI_Trading
bf41b946abe1f431a98078878d4b5f28a9a0d5c3
8c21d966053d64a224dc6b277ac9a33c576134ea
refs/heads/master
2020-05-29T18:35:43.400029
2020-03-28T21:11:09
2020-03-28T21:11:09
189,305,491
2
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
# coding=UTF-8 ############################################################################### def filter1(self,I): import lib.filter as fl if self.RunToday==-1: self.RunToday=1 AA=fl.getOpenVolABS(I.get("小台純散戶買作為")-I.get("小台純散戶賣作為"),15) AQ=fl.getOpenVolABS(I.get("金期未純化主力作為"),15) ...
[ "Geniustom@gmail.com" ]
Geniustom@gmail.com
2655878f24b25272b476d9ac5dbe74e71631982c
669e9241b02bdaa303fbc2fd4023b90d4d179a59
/Simultaneous Circles/challenge1.py
abcf47a2bc4a0e10b6fc3521e647b0c062ce441e
[]
no_license
benjaminpotter/HatchProjects
0854cf46ae7c3781468116a5d63b703dd54ae68c
7f6a948d3474c755d071751b725c059e6c7f3553
refs/heads/master
2022-01-28T16:58:03.449073
2019-08-16T13:47:30
2019-08-16T13:47:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
def setup(): size(400, 400) max_distance = 400 def paint_circles(): global max_distance x = -1 while x < width: y = -1 while y < height: circle_size = dist(mouseX, mouseY, x, y) circle_size = (circle_size/max_distance) * 66 fill(100, 150, 200) ...
[ "reactiveneon@gmail.com" ]
reactiveneon@gmail.com
27fe4536ba9a967e254336743ef98598f1b4eb67
6f2abe83cc2f6f7719f8a9cc38ab9a5af9514c47
/passagens/views.py
60a420fb465e9a06becdd2ab862669058cd4b59b
[]
no_license
Aleleonel/precopassagens
04edd2610904b5274a86a96372657445e42e87e8
25ea826d4646f3bbbfc74bbd0eddf928115d200e
refs/heads/master
2023-07-20T19:24:00.735840
2021-08-14T22:28:45
2021-08-14T22:28:45
394,820,037
0
0
null
2021-08-14T22:28:45
2021-08-11T00:59:21
Python
UTF-8
Python
false
false
782
py
from django.shortcuts import render from passagens.forms import PassagemForms def index(request): template_name = 'index.html' form = PassagemForms() context = { 'form': form } return render(request, template_name, context) def revisao_consulta(request): template_name = 'consulta...
[ "aleleonel@gmail.com" ]
aleleonel@gmail.com
a0ad93b22ece0e723968a0e41b7b240290a43c99
44a8159afa9a26b30c07771fa8a6fbee9b1a1c5d
/src/main/views.py
f185bb9c9ed0543d032d149cb7d624bfad03bf01
[]
no_license
ionescuig/taxi-fares
27aee078e531555078dd8548ac7035d2b1d20194
317b06a2ffb85eb8e488bb04d06579166559b62b
refs/heads/master
2020-04-06T20:31:39.179112
2019-06-11T15:36:32
2019-06-11T15:36:32
157,760,197
0
0
null
null
null
null
UTF-8
Python
false
false
2,055
py
from django.views.generic import CreateView, ListView, UpdateView, TemplateView from .calculator import check_tariff, calculate_fare from .forms import JourneyForm from .models import BankHoliday, Tariff, Journey class HomeCreateView(CreateView): template_name = 'main/index.html' form_class = JourneyForm c...
[ "ionescuig@yahoo.com" ]
ionescuig@yahoo.com
b66e0d7fe8e3e9bd5d710542d89b58cd37e3351e
9752f8065f5b4fb229d94416bc4c6a1fddbd4179
/templates_advanced-recources/dvanced/books_REST/Scripts/django-admin.py
e274e6ca5e20dea065cbac37d16e25de70fc1f7c
[]
no_license
DeanDupalov/web-basic-django
1b2bbc7d3bdb9452f067f230cd14733859071dea
52e79535d12ce7673a4b17680154b48d7d184487
refs/heads/master
2023-07-12T19:13:49.117155
2021-08-26T10:57:41
2021-08-26T10:57:41
370,965,846
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
#!C:\Users\deand\PycharmProjects\web-basic-django\templates_advanced-recources\dvanced\books_REST\Scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportE...
[ "75751527+DeanDupalov@users.noreply.github.com" ]
75751527+DeanDupalov@users.noreply.github.com
9da15d0aaa1eab5127828ce90bdc4a2a1add160c
bc63598033c6ca4ac7f257897aec0b23eaff60d1
/test/mitmproxy/addons/test_streambodies.py
b982c66db582644c4edeed6e8e2096baa0a9a643
[ "MIT" ]
permissive
Scalr/mitmproxy
4aee723aef2f34fa1209364b5b03cedff7d3f85e
a6c608e08595e95279713e51e2a346344bd290c0
refs/heads/master
2020-06-27T08:52:29.441895
2016-11-23T00:27:23
2016-11-23T00:27:23
74,527,489
0
2
MIT
2018-05-03T00:00:18
2016-11-23T01:10:39
Python
UTF-8
Python
false
false
809
py
from mitmproxy.test import tflow from mitmproxy.test import taddons from mitmproxy.addons import streambodies def test_simple(): sa = streambodies.StreamBodies() with taddons.context() as tctx: tctx.configure(sa, stream_large_bodies = 10) f = tflow.tflow() f.request.content = b"" ...
[ "aldo@nullcube.com" ]
aldo@nullcube.com
1041d57927340a920c5756aecaa0fafe2abc05bf
016089e3b1ef4a8b5266d9ed6b292d8c9efd2e6d
/chapter1/scpt1-8.py
a1f136f50c3e77a64aba0599596479b7641db8d0
[]
no_license
sdzr/cookbook_study
c4435ea7bba75d899bfff1e4f365c23badf1f3f8
8fa488f79a7c23244513bf577c3bc01caab858e4
refs/heads/master
2020-04-27T05:01:05.068668
2019-07-03T13:45:23
2019-07-03T13:45:23
174,070,622
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
#与字典相关的计算问题 #利用zip函数将key与value对调过来是非常合适的,zip会产生一个迭代器,只被消费一次 prices={ 'g':1, 'b':3, 'c':4, 'e':3 } min_price=min(zip(prices.values(),prices.keys())) print(min_price) prices_sort=sorted(zip(prices.values(),prices.keys())) print(prices_sort) #如果直接在字典上做常规的数据操作,处理的会是key print(min(prices)) #传入的是key print(m...
[ "290701331@qq.com" ]
290701331@qq.com
612bb52f38512851a9c28d26cacc85ad08c83eb0
835e2e0cb039e4d269bcd54d75c382baf8d2a567
/backend/square_shape_26887/settings.py
30faee7a41fda156eba4d40d81514a6f73c50e06
[]
no_license
crowdbotics-apps/square-shape-26887
5ddaa8eb5873f52d7f213d2c04a08b0fdf93cf12
e78e5325e5b159c93d90aee7bb2382010ffe5b2c
refs/heads/master
2023-04-27T11:40:47.109551
2021-05-18T19:05:08
2021-05-18T19:05:08
368,639,380
0
0
null
null
null
null
UTF-8
Python
false
false
7,120
py
""" Django settings for square_shape_26887 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ i...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e81264a37eee5b59302701deb76efde538380d84
8e5f292e781088195d6494d82f8e8b9ba19a3523
/1-Dictionaries/6_Nestec_Dic.py
eee09f0946ec36319a7cb455e6b1a8a2737add9b
[]
no_license
2662772445/Python
35e0e7d5d2762e1642c318b6e9d33e5ddf99c75f
1d492b2556c166ab6afe1236ecdd46b3f64b750e
refs/heads/master
2023-04-03T23:00:10.229761
2020-10-27T14:33:15
2020-10-27T14:33:15
288,967,508
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
myfamily = { "child1" : { "name" : "Salman", "year" : "2004" }, "child2" : { "name" : "Sharukh", "year" : "2007" }, "child3" : { "name" : "Juhi", "year" : "2010" }, } print(myfamily) print(' ') # Another way of child1 = { "name" : "Salman"...
[ "you@example.com" ]
you@example.com
88c1f9e6ac51e908b7fbd0e10a438bfb793d6a6e
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_23002.py
5a95f88c8e221d3871cf3bf7da359cd1f037ac36
[]
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
86
py
# Why doesn't self.object in a CreateView have an id after saving to the database? id
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
77e6ee4502591f12174f822e7feda8b11e72f603
05cdf6f093124aff17c9378dcc63602f3d973ae5
/tccli/services/domain/__init__.py
bffc0f8338b4c7b35c5c1581871b3fe712023f11
[ "Apache-2.0" ]
permissive
zyh911/tencentcloud-cli
e717d78c2429da8f2e26c9e3c19ecabfcc116f45
dfc5dbd660d4c60d265921c4edc630091478fc41
refs/heads/master
2021-06-02T07:00:48.445549
2020-04-17T04:08:26
2020-04-17T04:08:26
254,317,574
0
0
Apache-2.0
2020-04-17T04:08:27
2020-04-09T08:43:15
null
UTF-8
Python
false
false
221
py
# -*- coding: utf-8 -*- from tccli.services.domain.domain_client import register_arg from tccli.services.domain.domain_client import get_actions_info from tccli.services.domain.domain_client import AVAILABLE_VERSION_LIST
[ "tencentcloudapi@tencent.com" ]
tencentcloudapi@tencent.com
ca66aa561a297467b9a3fe8c82e3ff9cebd1abde
70f95113a6c63cd230259ce613fef88abf47fb73
/docs/conf.py
74ac59bb4cfd16af0c2f61905c2f4bdc3db099eb
[]
no_license
philip-brohan/ML_ATB2
ffe40b6efe6b9f61fa03ac9676e995b691a6c566
dba85f4465c5a555747f9c1b4b51d00b7c7755c1
refs/heads/master
2023-01-05T02:52:26.626134
2020-10-28T10:00:55
2020-10-28T10:00:55
276,402,987
0
0
null
null
null
null
UTF-8
Python
false
false
7,293
py
# -*- coding: utf-8 -*- # # ML_ATB2 documentation build configuration file. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are comm...
[ "philip@brohan.org" ]
philip@brohan.org
798614018c1f649d995e682810406d867297d913
7a2ad6c274add0f88cab8f6f89de551ff86597c9
/AOC2018/days/day2/tests/test_Day2Puzzle1.py
812c5e2f444b28a3cca517ca4087784ba8a7a011
[]
no_license
Akivashi/AOC
8b66cecc9c6cf32c318d5b605f7f9ee952aad373
cbd3a766db1a4b6560c4adcf978ec79b30707032
refs/heads/master
2023-01-29T17:57:39.704089
2020-12-08T18:41:15
2020-12-09T18:55:10
318,249,828
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from unittest import TestCase from Day2Puzzle1 import Day2Puzzle1 class Day2Puzzle1Test(TestCase): def setUp(self): self.puzzle = Day2Puzzle1() def test_puzzle(self): self.assertEqual(self.puzzle.solution("tests/Day2Puzzle1_test_input1.txt"), 12)
[ "rene@infi.nl" ]
rene@infi.nl
c5c1fc371c9bd7fe8f2945ee648a7230f8cdd114
89b315f2a883bd878154dbfba3f8f54e2f19acbf
/l10n_ru_doc/res_bank.py
f17876445a0bc07992278a03d5f10b9ce9c98cf4
[]
no_license
yustas147/suspect
dedb1b2a85d2f2d119e6165ca3bc67ec337fde96
4b91b682272fc4b09534bda5fae1b60c28f37220
refs/heads/master
2021-01-13T14:48:52.576158
2017-02-03T12:43:08
2017-02-03T12:43:08
76,555,566
1
1
null
null
null
null
UTF-8
Python
false
false
1,804
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2014 CodUP (<http://codup.com>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero...
[ "yustas@simbioz.com.ua" ]
yustas@simbioz.com.ua
23766383f0e709a66fc716e7fb456675896c8bc5
6982c3c54ee9199d93fb89c61cfdcba15b9b7012
/python_advanced/chapter11/python_process.py
4a84326f8d7e6844183ca8d947ff3ec21fa28c1a
[]
no_license
gzgdouru/python_study
a640e1097ebc27d12049ded53fb1af3ba9729bac
e24b39e82e39ee5a5e54566781457e18c90a122a
refs/heads/master
2020-03-29T11:33:13.150869
2019-03-08T09:24:29
2019-03-08T09:24:29
149,858,658
0
1
null
null
null
null
UTF-8
Python
false
false
843
py
''' python多进程使用 ''' import multiprocessing import time def get_html(n): time.sleep(n) print("get html {}.html success.".format(n)) return "get {0}.html compalte!".format(n) def show(arg): print(arg) if __name__ == "__main__": # process = multiprocessing.Process(target=get_html, args=(10,)) # ...
[ "18719091650@163.com" ]
18719091650@163.com
ef9df9f61a596a25b40d97d1935d5a5eecdb0c2a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02712/s341864270.py
b5f1d3b8ed9f2c8a8ca99113e54d566b8a14a487
[]
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
97
py
print(sum([i for i in range(1,int(input())+1) if not ((i%3==0 and i%5==0) or i%3==0 or i%5==0)]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2d473554fdfd26bac2b4fe737071b23e31abd9d6
3a533d1503f9a1c767ecd3a29885add49fff4f18
/saleor/order/migrations/0126_alter_order_updated_at.py
fae28df36b197f51ea914b6e31b0e464925e0fdd
[ "BSD-3-Clause" ]
permissive
jonserna/saleor
0c1e4297e10e0a0ce530b5296f6b4488f524c145
b7d1b320e096d99567d3fa7bc4780862809d19ac
refs/heads/master
2023-06-25T17:25:17.459739
2023-06-19T14:05:41
2023-06-19T14:05:41
186,167,599
0
0
BSD-3-Clause
2019-12-29T15:46:40
2019-05-11T18:21:31
TypeScript
UTF-8
Python
false
false
413
py
# Generated by Django 3.2.12 on 2022-02-09 14:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("order", "0125_populate_order_updated_at"), ] operations = [ migrations.AlterField( model_name="order", name="updated...
[ "noreply@github.com" ]
jonserna.noreply@github.com
3051f3f4facc89bf497ee8adfc2a56f2ed3beb4c
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/googlecloudsdk/command_lib/run/integrations/formatters/states.py
142e67153e402fa7591a2728c18d0bcb28948a58
[ "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
904
py
# -*- coding: utf-8 -*- # # Copyright 2022 Google LLC. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
b16727655111c16002490960e1e06d9d9faca762
fd98c19c082c2d3c9e0f3de89bb7e47fdaff31bf
/cleanup.py
0887b54cf65edc9378fd020b325738e15bbca5c4
[]
no_license
Softcatala/auto-translate
d4903a74bcd1778071d9545d442bad9c7aaf5554
b96300b436828dec9e40d1ce5657e682e679158f
refs/heads/master
2021-06-12T01:22:10.851684
2017-03-15T07:02:26
2017-03-15T07:02:26
76,189,933
1
0
null
null
null
null
UTF-8
Python
false
false
2,101
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2016 Jordi Mas i Hernandez <jmas@softcatala.org> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of ...
[ "jmas@softcatala.org" ]
jmas@softcatala.org
918818dc2af54334f11326d35727b823878bea88
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/ABC/abc051-abc100/abc092/a.py
28eccd7450b37799e7ef73fca400a44dbcc1ac61
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
300
py
'''input 549 817 715 603 1152 600 300 220 420 520 ''' # -*- coding: utf-8 -*- # AtCoder Beginner Contest # Problem A if __name__ == '__main__': a = int(input()) b = int(input()) c = int(input()) d = int(input()) print(min(a, b) + min(c, d))
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
2ffff887ccd5dfd2cec2d564ae6e959d4ed07231
3fe6876c4c80c4ae6398a060fb88679bb0278324
/shop/migrations/0002_auto_20180501_0921.py
6f0ae58dcb448231e15491a5d9c134a8a5c3d0c7
[]
no_license
Exiaoxinghaha/store
ffd41628608a72095fe0ff0190d46fbc487edc8c
299088b247fa2b7d8b13cc3b7535bce32b577d43
refs/heads/master
2020-03-19T01:28:21.099911
2018-05-31T07:34:57
2018-05-31T07:34:57
135,548,146
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-05-01 09:21 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('shop', '0001_initial'), ] operations = [ mig...
[ "pyvip@Vip.tz.cn" ]
pyvip@Vip.tz.cn
3ee002c477b76f052660d778ef63595d390ad951
a340c26fa447320173f9cf6d6b52c70190805bbc
/benchmarks/tensorexpr/normalization.py
4cef570da983b5250e3488a0e024b8ff48457afa
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
dmitrivainbrand/pytorch
effdea8c21eb99d233690e57f4e348be1051cd35
e93e7b27950392fdd8ac8c15b45094e954ba3ebf
refs/heads/master
2021-03-27T07:13:30.472878
2020-03-16T18:38:29
2020-03-16T18:49:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,004
py
import framework import tensor_engine class NormalizationBench(framework.Benchmark): def __init__(self, mode, device, N, C, H, W): super().__init__(mode, device) self.N = N self.C = C self.H = H self.W = W self.data = self.nchw_rand([self.N, self.C, self.H, self.W],...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
b3c7887440cb77641d08b94bc1946dc9298adf2f
6f8243186cae5ba860c8b8c8f8390cd61f31f6f3
/Server/app/views/v2/admin/account/auth.py
e4964138e2d01db28ccae2e804dabfcc12961e7a
[ "MIT" ]
permissive
moreal/DMS-Backend
d7016444b5de276abe03d2efe6c92e1b1a260639
c0a3b28972739c58049a296570bb873f32c03eec
refs/heads/master
2020-04-10T20:24:05.256937
2018-11-21T11:04:04
2018-11-21T11:04:04
150,601,269
0
0
null
2018-09-27T14:35:45
2018-09-27T14:35:45
null
UTF-8
Python
false
false
1,065
py
from flask import Blueprint, Response, request from flask_restful import Api from flasgger import swag_from from app.docs.v2.admin.account.auth import * from app.models.account import AdminModel from app.models.token import AccessTokenModelV2, RefreshTokenModelV2 from app.views.v2 import BaseResource, json_required a...
[ "city7310@naver.com" ]
city7310@naver.com
4392c6e3f41ac8d7f1dd22dd42b9e8f82bccfacf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03617/s452270534.py
b9d6a8b5184ccea4036a47e30628c13d64cc797e
[]
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
200
py
q,h,s,d = map(int,input().split()) n = int(input()) a=min(q*8,h*4,s*2,d) b=min(q*4,h*2,s) ans = 0 if n%2==1: ans += b ans += min(b*(n-1),a*(n//2)) else: ans += min(b*n,a*(n//2)) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5b63ff31e610de9993cb211d036c5fc07e430430
d66818f4b951943553826a5f64413e90120e1fae
/hackerearth/Algorithms/Dynamic Programming/Introduction to Dynamic Programming 1/Terminators/solution.py
1cf1ef5946b9ff0fee7fd88360e43d32ece777d6
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
448
py
def group(arr, size): dp = [1] * size for i in range(1, size): for j in range(i): if arr[i][1] > arr[j][1]: dp[i] = max(dp[i], dp[j] + 1) return dp t = int(input()) for _ in range(t): n = int(input()) terminators = [] for _ in range(n): p1, p2 = map(...
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
a5451c871f38929c351753c2a52e4af0236fbada
5c1e5935129b4d0f5626f64bd62e3370b0553262
/openpype/tools/launcher/window.py
c0aeec7d2f65486351dbca2fd2388244f6191a83
[ "MIT" ]
permissive
dangerstudios/OpenPype
c72f9d6d3a4a964697fa77712c116cfd2949b696
f82ed5e127340e852a7517ff1e13e2524ee6e704
refs/heads/main
2023-04-21T00:25:02.364398
2021-04-13T22:10:36
2021-04-13T22:10:36
362,811,887
0
0
null
2021-04-29T12:35:54
2021-04-29T12:35:53
null
UTF-8
Python
false
false
15,036
py
import copy import logging from Qt import QtWidgets, QtCore, QtGui from avalon import style from avalon.api import AvalonMongoDB from openpype.api import resources from avalon.tools import lib as tools_lib from avalon.tools.widgets import AssetWidget from avalon.vendor import qtawesome from .models import ProjectMod...
[ "jakub.trllo@gmail.com" ]
jakub.trllo@gmail.com
0c9176dcb6862f266ce74740a2bfefb0e96b9557
e3a97b316fdf07b170341da206163a865f9e812c
/python/kwiver/vital/tests/test_essential_matrix.py
c9d42a2dc197a40e36c4e904d6e7359e89889abf
[ "BSD-3-Clause" ]
permissive
Kitware/kwiver
09133ede9d05c33212839cc29d396aa8ca21baaf
a422409b83f78f31cda486e448e8009513e75427
refs/heads/master
2023-08-28T10:41:58.077148
2023-07-28T21:18:52
2023-07-28T21:18:52
23,229,909
191
92
NOASSERTION
2023-06-26T17:18:20
2014-08-22T15:22:20
C++
UTF-8
Python
false
false
11,880
py
""" ckwg +31 Copyright 2020 by Kitware, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
[ "john.parent@kitware.com" ]
john.parent@kitware.com
77bbdd2615f9e7ec5570530c749b908552433d27
06f036994ccb76d93cfc2a7ae9fc3d5c221724ee
/qmla/analysis/tree_plot.py
fdff9ea4aea2287a0531192205c854626bce748a
[ "MIT" ]
permissive
flynnbr11/QMLA
13b43b7789632ca18306b8818fd90b702cc139eb
ac8cfe1603658ee9b916452f29b99460ee5e3d44
refs/heads/master
2023-05-04T04:58:28.461900
2021-10-27T22:10:35
2021-10-27T22:10:35
95,233,038
15
11
MIT
2023-03-31T14:59:08
2017-06-23T15:33:06
Python
UTF-8
Python
false
false
35,536
py
import os import sys import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib.colors as colors import matplotlib.patches as mpatches from matplotlib import collections import matplotlib.cbook as cb from matplotlib.colors import colorConverter, Colormap from matplotlib.patches import Fan...
[ "flynnbr@tcd.ie" ]
flynnbr@tcd.ie
b5ab71e3078a56dc7f36261459268c27b16d6571
f8ad6963bfc851657ea50c6a036cfad29cdd7f60
/Books/DeepLearningLearningFromTheFounderOfKeras/chapter7/sub7_1_4.py
2e86582b7229d47a1899727d95ac4ca065f11679
[]
no_license
foru120/PythonRepository
e1ab0265c0f50ef2e9acdf7447237c913560692b
db6b6be0f9fb91b0a81a3b6a2ec5631daab10f98
refs/heads/master
2021-01-01T06:53:11.728109
2019-04-25T13:52:50
2019-04-25T13:52:50
97,541,222
4
0
null
null
null
null
UTF-8
Python
false
false
2,510
py
#todo p.322 ~ p.326 #todo code x ~ code x #todo 7.1.4 층으로 구성된 비순환 유향 그래프 # ▣ 인셉션 모듈 # - 네트워크가 따로따로 공간 특성과 채널 방향의 특성을 학습 # - 1x1 합성곱으로 시작해서 3x3 합성곱이 뒤따르고 마지막에 전체 출력 특성이 합쳐지는 구조 # - 채널이 공간 방향으로 상관관계가 크고 채널 간에는 독립적이라고 가장하면 좋은 전략 구조 # ※ 1x1 합성곱의 목적 # - 입력 텐서의 채널 정보를 혼합한 특성을 계산하며, 공간 방향으로는 정보를 섞지 않음 #todo 인셉션 모듈 구현 from ...
[ "broodsky1122@hanmail.net" ]
broodsky1122@hanmail.net
9a3d9417d5ffbee5b1f6323e82e1f385f1bdef11
019f03d6713a2bc5344b644aeb5ebe70aaf7cfd0
/tests/unit_tests/detection_targets_format_transform_test.py
b5a54fa8f3bd3d67655d9c2b50c67b8ba795b667
[ "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
Deci-AI/super-gradients
6f52cd15bc2f9f39e3cdc6067292b6512aba5dd0
7240726cf6425b53a26ed2faec03672f30fee6be
refs/heads/master
2023-08-25T17:47:02.595029
2023-08-24T11:50:50
2023-08-24T11:50:50
432,652,408
3,237
331
Apache-2.0
2023-09-14T11:24:46
2021-11-28T07:58:02
Jupyter Notebook
UTF-8
Python
false
false
5,891
py
import numpy as np import unittest from super_gradients.training.transforms.transforms import DetectionTargetsFormatTransform from super_gradients.training.datasets.data_formats.default_formats import ( XYXY_LABEL, LABEL_XYXY, LABEL_CXCYWH, LABEL_NORMALIZED_XYXY, LABEL_NORMALIZED_CXCYWH, ) class...
[ "noreply@github.com" ]
Deci-AI.noreply@github.com
72d13b905f3c7903a10248240d645f257c49f16d
677a3a76807d8585f65ec0e0839bb3a8b833e2fb
/8.Decorators/exercise/3.Text Format.py
31b311284059cf2b72896feaa9216df291aec0d2
[]
no_license
negative0101/Python-OOP
0d531a1b72beb3e58f9486df88d457ecd59be10e
b5825e66a909c947a46458712d683e8a38035912
refs/heads/main
2023-07-14T11:27:34.841594
2021-08-20T08:49:04
2021-08-20T08:49:04
381,475,313
0
0
null
2021-07-25T19:52:38
2021-06-29T19:26:42
Python
UTF-8
Python
false
false
843
py
def make_bold(greet): def wrapper(*name): text = greet(*name) bold = '<b>' bold2 = '</b>' return bold + text + bold2 return wrapper def make_italic(greet): def wrapper(*name): text = greet(*name) italic = '<i>' italic2 = '</i>' re...
[ "noreply@github.com" ]
negative0101.noreply@github.com
c219c81df97d360092517fdb68f96c9fd9567796
fdb5c8d71839ad15c7942d1367972524d2243573
/tests/datasets/seq_labeling/test_conll_yago_dataset.py
a4d6ebd943db9f095116553f378945687ceda8b7
[ "MIT" ]
permissive
abhinavkashyap/sciwing
b752b779053a2444f64bcdbc64e2bdc6a0d55ed6
1c061b99a35a9d8b565d9762aaaf5db979b50112
refs/heads/master
2023-05-12T16:00:08.210458
2022-03-25T01:19:00
2022-03-25T01:19:00
187,997,438
58
11
MIT
2023-05-01T21:26:41
2019-05-22T08:36:14
Python
UTF-8
Python
false
false
2,757
py
import pytest from sciwing.datasets.seq_labeling.conll_yago_dataset import ConllYagoDatasetsManager from sciwing.datasets.seq_labeling.conll_yago_dataset import ConllYagoDataset import sciwing.constants as constants import pathlib from sciwing.tokenizers.word_tokenizer import WordTokenizer PATHS = constants.PATHS DATA...
[ "abhinav@comp.nus.edu.sg" ]
abhinav@comp.nus.edu.sg
3b107ef0e09e9f1948db76e42553b3b70bcf71e5
f4d0f09f73bab6540d545318a2de761e8cd6c356
/src/kizuna/skills/nlp.py
063c90294e21cb4dd3b68c5851512d0b2afd97d7
[ "MIT" ]
permissive
ridhoq/kizuna-1
fb40b83224ed364d99565e566d4100a375f8ebf5
7bf6c20b28e50fb918f6169f775bfd9290df7825
refs/heads/master
2020-05-17T05:38:38.651116
2019-04-26T00:54:23
2019-04-26T00:54:23
183,540,196
0
0
null
2019-04-26T02:12:01
2019-04-26T02:12:01
null
UTF-8
Python
false
false
119
py
from spacy.language import Language class NLP: def __init__(self, nlp: Language) -> None: self.nlp = nlp
[ "austin@austinpray.com" ]
austin@austinpray.com
ed44bafca0189fa91500d48ce626404a191e4184
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/lepu.py
3d4968c539ac82fb92d6a39c3cac3c00b989a657
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
64
py
ii = [('GodwWLN.py', 1), ('BuckWGM2.py', 1), ('FitzRNS4.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
946555e164b98279fd2bae83a406cbafdad43efe
22954a0c13d7bf1824320802e802aa8166f16d76
/web_scraping/rhiphopheads/settings.py
4f9420a165ebca3cd87a2faf53a24faa06a62f1e
[]
no_license
luke-zhu/cs1951a-data
e0c7a96c7e100c278722419ba3bc845f6a5326c4
925c3263988db1de815589c5e47ddd918c345b25
refs/heads/master
2021-01-20T07:40:21.372377
2017-05-02T21:47:08
2017-05-02T21:47:08
90,025,042
0
1
null
null
null
null
UTF-8
Python
false
false
3,289
py
# -*- coding: utf-8 -*- # Scrapy settings for rhiphopheads project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/l...
[ "luke_zhu@brown.edu" ]
luke_zhu@brown.edu
afbf77795fe3b628a10b8e3475fcbd6bb622e0f4
385c01f7337cf5031093147f6731251bfbf17430
/lms/course/parse.py
bba22424f143b641561c108baa5cab884d7871c4
[]
no_license
lucassimon/lmswebaula
23a73d6d2d43c78a2f9e3b552113cf50a11a3587
671276426685968458f240faa93b313427fa32d9
refs/heads/master
2021-01-19T13:26:12.352308
2017-08-16T21:07:43
2017-08-16T21:07:43
88,088,474
1
0
null
null
null
null
UTF-8
Python
false
false
846
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import six import pytest from lms.course.containers import * class CourseParse(object): @staticmethod def get_all(response): data = [] try: ws_students = response['CourseListDTO']['CourseDTO'] except Exce...
[ "lucassrod@gmail.com" ]
lucassrod@gmail.com
2ff8c24910e32cd976950ae9ce3b77352eec7d17
ba03b99d73886349d66883b8c328b8eff805772d
/40 combination sum II.py
5f6e4ed036874f8a817bf1ef667f556612e4afd6
[]
no_license
liyi0206/leetcode-python
38cc33eb74b006e7e6609eda86e1ae8d5e278247
2c4a54070b20d2fe33b81d889ad0ad0c6aa5fb5c
refs/heads/master
2016-09-12T22:54:09.622652
2016-05-26T05:20:44
2016-05-26T05:20:44
59,178,964
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
class Solution: # @param candidates, a list of integers # @param target, integer # @return a list of lists of integers def combinationSum(self, candidates, target): #candidates=list(set(candidates)) self.t,self.c = target, sorted(candidates) self.res=[] self.bt(0,[]) ...
[ "ly.protegee@gmail.com" ]
ly.protegee@gmail.com
d92f9c6fc88afa9f650606e778aab5716294d07b
8456aa7e564ad46443fbd1bd5f7188cb7185dcbe
/galerias/admin.py
0830e3dad5f403b9538975304da8ddafcaf9bd3a
[]
no_license
CARocha/maonic
d3038c330e16b4b63f2fd6c36cd09241fb893892
b71b8da159dc22fded72c38f7d37672073386bc7
refs/heads/master
2021-01-21T01:15:47.764129
2017-12-12T04:51:12
2017-12-12T04:51:12
1,085,853
0
3
null
null
null
null
UTF-8
Python
false
false
360
py
# -*- coding: UTF-8 -*- from django.contrib import admin from .models import Galeria, FotoGalerias class FotoGaleriaInlines(admin.TabularInline): model = FotoGalerias max_num = 20 extra = 1 class GaleriaAdmin(admin.ModelAdmin): inlines = [FotoGaleriaInlines] list_display = ('titulo', 'autor',) ad...
[ "crocha09.09@gmail.com" ]
crocha09.09@gmail.com
b6a0b3c917b3035f501c5046d89e90ddbdd97d36
7f5492e4c85f88e4daa9e59617cd6094296ce369
/firstDjango/myfirstsite/test_tmpl/test_tmpl/urls.py
52376476bda33066eac94255252bf6a3808bf7aa
[]
no_license
evaseemefly/myfirstDjango
22f5a4116c92d03647816e098afef72faf2b9652
7e79e0de8cebf13f3ebbc9477d27d7a3f07998cc
refs/heads/master
2021-01-01T17:34:03.419333
2017-08-27T10:38:30
2017-08-27T10:38:36
98,098,014
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
"""test_tmpl URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "evaseemefly@126.com" ]
evaseemefly@126.com
2bd25fa7e619f762ed00101f67b273aa404bf299
c25a17f0f82c2eebca55bbe180f4c2ccbbf00292
/03_Data_Science/1_Collection/CSV_Handle/BigData1_ver4.py
78f0c0ee6d0358672d30ffe24f31fa3c63104bbf
[]
no_license
superbeom97/jumpjump
a0a4da6f0df0483ef0cef9833b5fe0402ec63c9c
fc45efce2a2b00c614aa5aa54b36be1572ed40ce
refs/heads/master
2021-09-15T09:35:16.903857
2018-05-30T00:00:59
2018-05-30T00:00:59
111,883,402
0
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
import csv ## 행의 입력 정의 def get_csv_rowInstance(row_name): row_instance = [] row_index = data[0].index(row_name) for row in data[1:]: row_instance.append(row[row_index]) return row_instance ## 열의 입력 정의 def get_csv_columnInstance(primary_key): column_instance = [] for column in data[1:...
[ "beom9790@naver.com" ]
beom9790@naver.com
afc407cd1802875061a68d732124b2fd8ac08f7c
e56214188faae8ebfb36a463e34fc8324935b3c2
/test/test_asset_managed_device_ref.py
643170e6d361cd79d76f027b75e17d8ceabe8d5c
[ "Apache-2.0" ]
permissive
CiscoUcs/intersight-python
866d6c63e0cb8c33440771efd93541d679bb1ecc
a92fccb1c8df4332ba1f05a0e784efbb4f2efdc4
refs/heads/master
2021-11-07T12:54:41.888973
2021-10-25T16:15:50
2021-10-25T16:15:50
115,440,875
25
18
Apache-2.0
2020-03-02T16:19:49
2017-12-26T17:14:03
Python
UTF-8
Python
false
false
1,941
py
# coding: utf-8 """ Cisco Intersight Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen...
[ "ucs-build@github.com" ]
ucs-build@github.com
a865e01c3b6e175a2ba1957558f10cb940a0e380
b62f1ecfd96d52187a60f8f083ee14fb331f0a35
/fileio.py
ad17a97b2c82ac87af270fa5cdde4ce516522877
[]
no_license
hieubz/SentimentAnalysis_20181
f45e993323786b2db221a2655f857256b3264740
efd7cc19d8775a2c34686b0c78e87df76c79ad7b
refs/heads/master
2021-10-08T22:53:16.269463
2018-12-18T16:31:19
2018-12-18T16:31:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,354
py
import json import os class FileIO(): def __init__(self): print("") def read_file_json(self, path_file): with open(path_file, 'r') as content: data = json.load(content) content.close() return data def read_multi_files_json(self,path_dir): data = [] ...
[ "phamduyhieuit@gmail.com" ]
phamduyhieuit@gmail.com
e57aae10bada934841a8913500a993b73a31c834
9ed6b0fb1a76adc02a8a67f5c10c88b524baa444
/CBSFind.py
c83be90856dcd9dad6f1e84378b38d02c2ccc0fa
[]
no_license
scottmudge/CBS-Log-Corruption-Extractor
38608307e28e4b5bcacf8141da9591283e2694a2
2087a5373bdac51a264156c8f8c5adbe1a231e9e
refs/heads/master
2020-03-20T21:34:42.081867
2018-06-18T12:36:28
2018-06-18T12:36:28
137,748,328
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
import sys import os class CBSFinder: def __init__(self, log_file: str): self.log_file = log_file if not os.path.exists(self.log_file): raise FileNotFoundError("CBS Log File [{0}] does not exist!".format(cbs_logfile)) print("Placing output into cbs_finder_out.txt") ...
[ "mail@scottmudge.com" ]
mail@scottmudge.com
e64d9b93f91b73c755d3f2289c028fa760b5cbca
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_74/413.py
a0a9061e60285b02bcb552e27122baabbb5a9f99
[]
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,319
py
#!/usr/bin/python def inp(): fout=file('out.txt', 'a') fin=file('inp.txt', 'r') testCases=fin.readline() for count in range(int(testCases)): case=fin.readline() result=compute(case) out(result, count, fout) def compute(case): clist=case.split(" ") num=clist.pop(0) color="N" olist=[] blist=[] mlist=[] ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
a1fcbebd2d8b4e4900f275b47b80cf6c0ed99485
24381845fe5e8b8a774d74911e2f07bcd1a00190
/azure-iot-provisioning-servicesdk/azure/iot/provisioning/servicesdk/client.py
e7fa889310c95d91a8393304efcabec43616208e
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
noopkat/azure-iot-sdk-python-preview
94b3b29497b80e1dac6471ae906d8491f018b12d
f51733e9d3424c33ed86d51e214b20c843716763
refs/heads/master
2020-04-30T03:07:37.445782
2019-03-18T18:42:15
2019-03-18T18:42:15
176,579,084
6
0
MIT
2019-03-19T18:53:43
2019-03-19T18:53:43
null
UTF-8
Python
false
false
1,160
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- """Redefi...
[ "noreply@github.com" ]
noopkat.noreply@github.com
e297bbabfcd4fc5a2c9bb0e68bb07f415260aa4f
07c75f8717683b9c84864c446a460681150fb6a9
/1.Django_cursor/days10/myweb/myblog/urls.py
4728fa72f33a2515e8bbf021c8c855a41360839e
[]
no_license
laomu/py_1709
987d9307d9025001bd4386381899eb3778f9ccd6
80630e6ac3ed348a2a6445e90754bb6198cfe65a
refs/heads/master
2021-05-11T09:56:45.382526
2018-01-19T07:08:00
2018-01-19T07:08:00
118,088,974
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from django.conf.urls import url from . import views app_name = "myblog" urlpatterns = [ url(r'header_upload/', views.header_upload, name="header_upload"), url(r'upload/', views.upload, name="upload"), url(r'^.*$', views.index, name="index"), ]
[ "1007821300@qq.com" ]
1007821300@qq.com
73de9ba48b3caa621559f36eea216062aec15bb7
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_050/ch58_2019_04_02_20_45_29_867778.py
6980b12d26bb55b8364bd5c9b1df3a78c1c15e7a
[]
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
109
py
calcula_fibonacci(x): lista=[] a=1 while x>0 a+=a x-=1 append.lista(a) return a
[ "you@example.com" ]
you@example.com
3e9538d038352216f68b9d4de302e3bddd3de27c
3d02b79ce53a83fc0086decb2e933c767c3d55bc
/IPython/parallel/controller/hub.py
512de7ff10b8cce3682f5df709b5c3b35a9f56e9
[ "BSD-3-Clause" ]
permissive
minrk/ipython-py3k
47f8a65ac9767599568c94f01540364b8593a35d
094195eaf203e88c58f71e834bf0153842ac852c
refs/heads/master
2023-06-08T10:51:37.423469
2011-07-02T01:57:42
2011-07-02T01:57:42
1,989,947
0
0
null
null
null
null
UTF-8
Python
false
false
49,870
py
#!/usr/bin/env python """The IPython Controller Hub with 0MQ This is the master object that handles connections from engines and clients, and monitors traffic through the various queues. Authors: * Min RK """ #----------------------------------------------------------------------------- # Copyright (C) 2010 The IPy...
[ "takowl@gmail.com" ]
takowl@gmail.com
233829fb4db01442e2258fc10cfa609346c43916
df4d125ae7422adaaa87087ae36f9b009060985a
/Tic-Tac-Toe/Problems/Prime numbers/main.py
2b37fb95c0daca559f1dbed499471956311b90d8
[]
no_license
Jebadeiah/tic_tac_toe
f1ecb5b19081cf0bd7657a690059fe19257bf4d8
23c589d40e7e7d73238d3c00e90da2a0cecd1e08
refs/heads/master
2023-03-16T07:22:16.008591
2021-03-09T06:40:39
2021-03-09T06:40:39
338,735,671
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
prime_numbers = [num for num in range(2, 1001) if all(num % div != 0 for div in range(2, num - 1))]
[ "michael.nevin.miller@gmail.com" ]
michael.nevin.miller@gmail.com