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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cc1d8630c5d911d03efe32fa35c8639a4a387cea | 31648f7ba9eab4841eae211b36a5ea025570ba78 | /exam_16_08_2020/project/software/express_software.py | 23896589c3ea9c3f097ae03b4565a7edec1c9828 | [
"MIT"
] | permissive | ivan-yosifov88/python_oop_june_2021 | d7c4d3ba93f3085f019a4409c33b8ae9739de372 | 7ae6126065abbcce7ce97c86d1150ae307360249 | refs/heads/main | 2023-07-04T21:12:07.592730 | 2021-08-18T15:12:50 | 2021-08-18T15:12:50 | 385,363,143 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 440 | py | from project.software.software import Software
class ExpressSoftware(Software):
type = "Express"
coefficient_changing_capacity = 1
coefficient_changing_memory = 2
def __init__(self, name, capacity_consumption, memory_consumption):
super().__init__(name, self.type, int(capacity_consumption * s... | [
"ivan.yosifov88gmail.com"
] | ivan.yosifov88gmail.com |
9fb28b5884cad2119f5b0d25c46f453739e1002b | 5b93930ce8280b3cbc7d6b955df0bfc5504ee99c | /nodes/Bisong19Building/G_PartVI/H_Chapter37/B_StackedAutoencoders/index.py | 5ea3ea09bf83cb054a2ed818f98e32b291b162f3 | [] | no_license | nimra/module_gen | 8749c8d29beb700cac57132232861eba4eb82331 | 2e0a4452548af4fefd4cb30ab9d08d7662122cf4 | refs/heads/master | 2022-03-04T09:35:12.443651 | 2019-10-26T04:40:49 | 2019-10-26T04:40:49 | 213,980,247 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,914 | py | # Lawrence McAfee
# ~~~~~~~~ import ~~~~~~~~
from modules.node.HierNode import HierNode
from modules.node.LeafNode import LeafNode
from modules.node.Stage import Stage
from modules.node.block.CodeBlock import CodeBlock as cbk
from modules.node.block.ImageBlock import ImageBlock as ibk
from modules.node.block.MarkdownB... | [
"lawrence.mcafee@gmail.com"
] | lawrence.mcafee@gmail.com |
479d88ea9f511e28891f74433873a0df3ee25d51 | 605356250c655a7f98d5f1158e0ffc94175de4f7 | /devel/lib/python2.7/dist-packages/pal_interaction_msgs/__init__.py | d49d01c4bf61d8c984b69716337128721f6f9c73 | [] | no_license | MatthewCallery/msc-tiago-project | 4d3dcf07b7bc6915d2f203bbff46f6c11720ff9f | 8c9e987c45d6152192ba36bb27781e961e7900c3 | refs/heads/master | 2020-11-30T04:17:53.649839 | 2017-07-11T14:38:47 | 2017-07-11T14:38:47 | 96,903,254 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 126 | py | /home/mc16766/tiago_public_ws/devel/.private/pal_interaction_msgs/lib/python2.7/dist-packages/pal_interaction_msgs/__init__.py | [
"mc16766@it051534"
] | mc16766@it051534 |
865eac4198f654825e9c003a59da076d6ae2126a | c532ecb0aa2e430b521c6a06a0c98e80886867d0 | /hw5_ws/devel/lib/python2.7/dist-packages/mav_planning_msgs/msg/_Polygon2D.py | 1f3689d5b14b2a5b991d2eced999b770dd7385c5 | [] | no_license | RENyunfan/NRSL | 95d002281d0c2af72cc676ef0205ad7fb60c0876 | 6307708d7b71c86308e4d005db552b3322c6a27c | refs/heads/master | 2020-04-13T02:22:59.813409 | 2018-12-27T16:44:32 | 2018-12-27T16:44:32 | 162,900,906 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 125 | py | /home/kevin/workSpace/hw5_ws/devel/.private/mav_planning_msgs/lib/python2.7/dist-packages/mav_planning_msgs/msg/_Polygon2D.py | [
"renyunfan@stu.hit.ecu.cn"
] | renyunfan@stu.hit.ecu.cn |
db8fa11ced5514e66f1fae92d05139f0299f77f8 | d29405a576a0da35b79d3c73aed62c1011931341 | /ax/core/tests/test_parameter.py | 9f8fb519557601696394772fbe5a4744ad417604 | [
"MIT"
] | permissive | liangshi7/Ax | 5a8c152ec7268e26654ef0a6918b505e3e98ec52 | f20d10f619aae504f2e4509b5a786842a6c72e89 | refs/heads/master | 2020-09-10T17:11:33.483281 | 2019-11-14T16:54:02 | 2019-11-14T16:59:41 | 221,768,108 | 0 | 0 | MIT | 2019-11-14T19:07:42 | 2019-11-14T19:07:42 | null | UTF-8 | Python | false | false | 9,647 | py | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
from ax.core.parameter import (
ChoiceParameter,
FixedParameter,
ParameterType,
RangeParameter,
)
from ax.utils.common.testutils import TestCase
class RangeParameterTest(TestCase):
def setUp(self):
... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
d5484b50a845a80c7c8d7c731acd7778724d8da8 | b21abd3873c76739ceefd1b4613a343ba2b454d1 | /jwst/assign_wcs/util.py | 97140961df5adc10fe0b8c84bfb6276f03a866ae | [
"BSD-2-Clause"
] | permissive | rij/jwst | 96a7baf95de953c51bbe67f3cdd459c114c47eef | 1d3acecb28d9a3dcb44b993e451b69da9856187d | refs/heads/master | 2020-12-24T09:56:21.784342 | 2016-06-09T19:17:01 | 2016-06-09T19:17:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,154 | py | """
Utility function for WCS
"""
import logging
import math
import copy
import functools
import numpy as np
from numpy import arctan2
from astropy.utils.misc import isiterable
from astropy.io import fits
from astropy.modeling.core import Model
from astropy.modeling.parameters import Parameter, InputParameterError
fro... | [
"jhunkeler@gmail.com"
] | jhunkeler@gmail.com |
e2f4c086c474a87cb50581f634658462740af143 | 65ad03b8f4d975585776a5ba3d6a6ee1750ebad4 | /03-First Class Functions/Before/__main__.py | ba99256cf1a798f52d97ca90cd1eeff148e7ba1c | [] | no_license | afettouhi/PythonFP | e51351d5901a28f8ecd938d8213fcb5982c51e62 | c6a2319bc053f26cfbe70102a2dd7c1a4bcbbd57 | refs/heads/master | 2020-05-31T18:53:49.373967 | 2019-06-06T07:53:30 | 2019-06-06T07:53:30 | 190,445,909 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 890 | py | from order import Order
from customer import Customer
def main():
cust1 = Customer()
cust1.name = 'Heart of Gold'
cust1.address = 'The Milky Way Galaxy'
cust1.enterprise = False
cust2 = Customer()
cust2.name = 'Milliways Restaurant'
cust2.address = 'Magrathea'
cust2.enterpris... | [
"A.Fettouhi@gmail.com"
] | A.Fettouhi@gmail.com |
6de42dc97bb55f64381861e2a4e08d9b14e62c76 | f0681b8c129e8afce21e340697502230f45ce930 | /venv/Lib/site-packages/com/vmware/nsx_policy/infra/tier_0s/locale_services/l2vpn_context_client.py | 7157fa51e8d67cf4444b3c0a0e03c6f9e03e3da6 | [] | no_license | dungla2011/python_pyvmomi_working_sample_vmware_easy | 8852b6fdcd0f7d0f648f6f7b6c6e4f70c7213746 | a3b6d86a802f28c7ee249fc03523d5e5f0a2e3bd | refs/heads/main | 2023-07-05T14:56:46.551091 | 2021-08-20T12:19:39 | 2021-08-20T12:19:39 | 395,496,219 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 21,840 | py | # -*- coding: utf-8 -*-
#---------------------------------------------------------------------------
# Copyright 2021 VMware, Inc. All rights reserved.
# AUTO GENERATED FILE -- DO NOT MODIFY!
#
# vAPI stub file for package com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_context.
#---------------------------... | [
"dungla2011@gmail.com"
] | dungla2011@gmail.com |
1d542e307d523389d60ab5251e07e5c7fc776881 | 18d51ac0a6ca14c8221c26f0dacd8d3721ca28e9 | /hun31.py | 1d7fbd0f0f8cb874ba79e0399716f3e93eb88345 | [] | no_license | mahakalai/mahak | 05f96d52880ed7b2e5eb70dd1dbf14fc533236e8 | 613be9df7743ef59b1f0e07b7df987d29bb23ec7 | refs/heads/master | 2020-04-15T05:01:58.541930 | 2019-07-15T16:28:32 | 2019-07-15T16:28:32 | 164,406,486 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 143 | py | n=int(input())
l=[int(x) for x in input().split()]
l1=[]
mul=1
for i in range(1,len(l)):
mul=mul*l[i]
l1.append(mul)
print(max(l1))
| [
"noreply@github.com"
] | mahakalai.noreply@github.com |
d5689f706ada50f514498638a501965f892b556d | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/verbs/_worded.py | b372693f29f593edd5f1838b4d766e0aac3745bb | [
"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 | 226 | py |
from xai.brain.wordbase.verbs._word import _WORD
#calss header
class _WORDED(_WORD, ):
def __init__(self,):
_WORD.__init__(self)
self.name = "WORDED"
self.specie = 'verbs'
self.basic = "word"
self.jsondata = {}
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
545bbda1adda90ddac80fd555953d3811e4d7e98 | 7a4c6fe3802b740b928136fc7a5497c473386e2b | /credentials.py | 6078e9e0769e2cd330defc5649428f5dca5d6788 | [] | no_license | sirrotich/Password--Locker | 4cb882d15a2a1659c48e33227b2b46e5d44a9456 | b2f4dfd330a7812675b71d6a3311e44139f2ae94 | refs/heads/master | 2020-05-05T03:55:41.040277 | 2019-04-08T15:56:22 | 2019-04-08T15:56:22 | 179,690,522 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,938 | py | import pyperclip #This allows you copy and paste a given text-unit
class Credentials:
"""
Class that generates new instances of users.
"""
credentials_list = [] #empty credentials list
def __init__(self,credentials_name,usr_name,password):
self.credentials_name = credentials_name
... | [
"rotichtitus12@gmail.com"
] | rotichtitus12@gmail.com |
a616707b079d8e5fa123ef8a00425c270eaf8257 | c003c5faf5b442fa4bf3010eae46370ebcf39040 | /voseq/genbank_fasta/tests/test_utils.py | b89cfb300f5c60393db249b3155c9fd3863a95d5 | [] | no_license | mezarino/VoSeq | 35d1fb3bb1de85f50bc39bc7ac6aefcad310e120 | bf75f1f91176a57ee23465e520d27df021576712 | refs/heads/master | 2021-01-18T05:28:44.318625 | 2015-02-15T15:40:12 | 2015-02-15T15:40:12 | 29,065,916 | 0 | 0 | null | 2015-01-10T18:04:33 | 2015-01-10T18:04:32 | null | UTF-8 | Python | false | false | 1,722 | py | from django.test import TestCase
from django.core.management import call_command
from core.utils import get_gene_codes
from core.utils import get_voucher_codes
from public_interface.models import TaxonSets
from public_interface.models import GeneSets
from public_interface.models import Genes
from genbank_fasta import ... | [
"mycalesis@gmail.com"
] | mycalesis@gmail.com |
6f9362635f191a549b5555c279d7bffca6d697f5 | 11130633fe59b222da0696dc05e72ac30871a573 | /Problem_Solving/leetcode/Sequential(Non-Linear)_data_structure/Tree/543_Diameter_of_Binary_Tree/diameterOfBinaryTree.py | 07a99675edeb2bce7241276d6b2a9954688e53f8 | [] | no_license | Jin-SukKim/Algorithm | 024aa77c6bf63666910a1eb03407e808a05307ec | 5f2a14fe1f64032126df55b1eadc1580a32735f3 | refs/heads/master | 2023-09-01T20:50:13.150780 | 2023-09-01T07:54:32 | 2023-09-01T07:54:32 | 263,555,962 | 4 | 0 | null | 2023-02-14T14:36:38 | 2020-05-13T07:24:51 | C++ | UTF-8 | Python | false | false | 576 | py | class TreeNode:
def __init__(self, val=0, left=None, right=None):
self.val = val
self.left = left
self.right = right
def diameterOfBinaryTree(root: TreeNode) ->int :
longest: int = 0
def dfs(node: TreeNode) -> int:
if not node:
return -1
# 왼쪽 오른쪽의각 리... | [
"99wlstjr@gmail.com"
] | 99wlstjr@gmail.com |
446b8e28e38c08382df586afe3e8b6076aabc31c | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_136/3170.py | b6dc51d486002f5afd37165abc48d1430d695198 | [] | 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 | 497 | py | #!/usr/bin/python
import sys
N = int(sys.stdin.readline())
for case in xrange(N):
C, F, X = map(float,sys.stdin.readline().split())
n_farms_f = (F*X - 2*C)/(C*F) - 1.
n_farms = int((F*X - 2*C)/(C*F) - 1.)
if n_farms_f > 0:
t1 = 0.
for i in xrange(n_farms+1):
t1 += 1./(2.+i*... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
8ed4bb03243b16d9453a9c48d83128a0f7695c57 | e63ab09f227459380c317aa1694cffd04255c807 | /cheshire3/graph/selector.py | 1fdbfff0492435f2acdc4cbfc817d76c3192b8b3 | [
"ICU",
"X11"
] | permissive | bitwhite/cheshire3 | 91a0d2f8d2e79ac277ac4f7a3bea9efa911ce3d6 | ca27bc2600d217e36a429ccfe064f11d9b200193 | refs/heads/master | 2021-05-27T03:50:09.456813 | 2013-10-10T13:47:16 | 2013-10-10T13:47:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 862 | py |
from cheshire3.selector import SimpleSelector
from cheshire3.exceptions import C3ObjectTypeError
from cheshire3.graph.record import GraphRecord
class SparqlSelector(SimpleSelector):
def __init__(self, session, config, parent):
SimpleSelector.__init__(self, session, config, parent)
def process_record... | [
"info@cheshire3.org"
] | info@cheshire3.org |
c9aee74c7e8a5fbe9602ecf231180839e4630013 | d17bfe4c8e16ed0727ce5bf893db6d287045a6ec | /M3/kcb/db/__init__.py | 52d0428c6210fc981d00752dafb4aa1f4f416803 | [] | no_license | 248808194/python | de81da3779399c4647a8bc7d803b63cd2eb59dea | da44c4949ab921a7822f891a2901c08b487b3de6 | refs/heads/master | 2020-03-08T01:42:19.838894 | 2018-04-19T01:05:46 | 2018-04-19T01:05:46 | 127,838,082 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 696 | py | #!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author: Zhoutao
#create_date:2017-02-14-13:49
# Python 3.5
#
# import pickle
#
# import os,sys,time,datetime,pickle,json
# # sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# # from core.schools import School
# # # with open('/home/zt/PycharmP... | [
"zhoutao@zhoutao.name"
] | zhoutao@zhoutao.name |
9d6f29cf29bdbe519853ad91f64c4a882a7ba5a5 | 7b6377050fba4d30f00e9fb5d56dfacb22d388e1 | /brownies/LLNL/bin/bdflsToFluxes.py | 58e8cbb093f0893f40ddcd99f615430519929bc6 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | LLNL/fudge | 0a4fe8e3a68b66d58e42d1f4d209ea3f713c6370 | 6ba80855ae47cb32c37f635d065b228fadb03412 | refs/heads/master | 2023-08-16T21:05:31.111098 | 2023-08-01T22:09:32 | 2023-08-01T22:09:32 | 203,678,373 | 21 | 4 | NOASSERTION | 2023-06-28T20:51:02 | 2019-08-21T23:22:20 | Python | UTF-8 | Python | false | false | 2,604 | py | #! /usr/bin/env python3
# <<BEGIN-copyright>>
# Copyright 2022, Lawrence Livermore National Security, LLC.
# See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: BSD-3-Clause
# <<END-copyright>>
import os
import argparse
from brownies.legacy.endl import bdfls as bdflsModule
from xData import X... | [
"mattoon1@llnl.gov"
] | mattoon1@llnl.gov |
7aef9623504a9ae338b05888b4715693e16c82be | abe0dd7786f8d0731ba871425bf07e3215391b68 | /part1/LabRab/labrab-02/01.py | 9c61e9666cb43d3e93adef69f534f58c61ea08df | [] | no_license | Alekceyka-1/algopro21 | aff1cef4f1ac9a80ee6d569ecb6a78d5c9fb1f32 | f82e4582c1017c8043f399480104b3e7af4867ca | refs/heads/main | 2023-08-25T17:31:36.682000 | 2021-10-19T08:14:57 | 2021-10-19T08:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 823 | py | '''
Пользователь вводит два целых числа из диапазона [-100, +100].
Программа выводит последовательно по возрастанию
все нечётные числа от минимального, введённого пользьзователем, до максимального (включительно).
Пользователь может ввести сначала большее число, потом меньшее - программа должна работать корректно и в ... | [
"ttxiom@gmail.com"
] | ttxiom@gmail.com |
132daf0f45e263b277451e8d817a095e13b03485 | 9fa71d5834dae1c8900b3444f564b11326374d36 | /packages/tools/compras/rotinas_envio/anl_processos.py | 7c1b7f954066f2e225850a19e8a5f3f326a2da80 | [] | no_license | JoaoPauloLeal/toolbox | a85e726cfeb74603cb64d73c4af64757a9a60db7 | 924c063ba81395aeddc039a51f8365c02e527963 | refs/heads/master | 2023-06-07T02:17:42.069985 | 2021-06-28T19:06:40 | 2021-06-28T19:06:40 | 381,128,045 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 976 | py | import bth.db_connector as db
tipo_registro = 'anl_processo_correcao'
def iniciar_processo_busca(param_exec, ano):
entidade_dsk = str(input('Entidade do desktop : '))
sql = f'''SELECT i_anl_processo as id , i_anl_processo, i_processo, i_ano_proc
FROM compras.anl_processos ap
WHER... | [
"joao.leal@betha.com.br"
] | joao.leal@betha.com.br |
41037a8a5daa9ae01366e348de9873ba9e6d665a | 39b35326534d6efa8a60344ef59eac3d8cea562f | /formpj/form/views.py | 927372f3f8aa02c6898a0501e4b2e54334d1208c | [] | no_license | Hyo-gyeong/Django_review | 8635e8311111cab56066c6b87429c7f57c5e42c3 | 8b59d717c0c8c4404230c8eaa42e6074cacdd712 | refs/heads/master | 2021-01-03T08:32:06.706689 | 2020-08-31T04:55:59 | 2020-08-31T04:55:59 | 240,000,924 | 0 | 0 | null | 2020-08-17T19:21:30 | 2020-02-12T11:53:19 | Python | UTF-8 | Python | false | false | 3,486 | py | from django.shortcuts import render, get_object_or_404, redirect
from django.utils import timezone
from django.core.paginator import Paginator
from .models import Blog
from .form import BlogPost
def index(request):
blog = Blog.objects.all()
#페이지 3개로 자르기
paginator = Paginator(blog, 3)
#request... | [
"cdkrcd8@gmail.com"
] | cdkrcd8@gmail.com |
6329aed37c3a9bf860eb343334aa54620697c20c | caa457f7cfa221ac70eb1c67753d6d1aacc33ede | /is_multiple.py | ebec9eeae996a440cf9b417434ade23a1cb3d3c2 | [] | no_license | ibnahmadCoded/how_to_think_like_a_computer_scientist_Chapter_4 | 0b609aedb7581ef5e825b7e8fe5cb5bcf96d522a | 4de3ea919432dc92a604e7ed2c0ace368c57328c | refs/heads/master | 2021-05-21T05:25:54.616256 | 2020-04-02T21:16:21 | 2020-04-02T21:16:21 | 252,565,473 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 210 | py | def is_multiple(m, n):
"""Checks if n is a multiple of m"""
if is_factor(n, m):
return True
return False
def is_factor(f, n):
"""checks if f is a factor of n"""
return (n % f) == 0
| [
"alegeaa@yahoo.com"
] | alegeaa@yahoo.com |
b1e911efb08abf5dc32d96522d6c397ec0742951 | 06e0c89781ae9c07a55090c43d8609e9dfefbb6f | /School_13/School_13/wsgi.py | efd7f899673f2e8ee018251af6f0faed3d133fcc | [] | no_license | mfarzamalam/django | d6d4302910301ae3e135a95a9982f3bd01218260 | 935a60d3ac874b7adb4287b4c2d172b89c6551b9 | refs/heads/master | 2023-04-10T21:06:11.601436 | 2021-04-27T21:31:47 | 2021-04-27T21:31:47 | 345,129,992 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 395 | py | """
WSGI config for School_13 project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SET... | [
"mfarzamalam@gmail.com"
] | mfarzamalam@gmail.com |
e206dfba614433ba86c5a71556ab64ab0bdb2fba | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03326/s671553368.py | 2d00464fe05662acb9aa093915e6109294176329 | [] | 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 | 592 | py | n, m = map(int, input().split())
XYZ = []
JKL = []
Seihu = [-1, 1]
for i in range(n):
x, y, z = map(int, input().split())
XYZ.append([x,y,z])
for j in Seihu:
for k in Seihu:
for l in Seihu:
tot = x*j + y*k + z*l
XYZ[i].append(tot)
for j in Seihu:
for k... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
340fc2ac99f6e641b00a094e9af72cbbf3ca0766 | 41a4eeaf62a36d7c57ad55393996787bb55ba6b7 | /venv/lib/python3.7/site-packages/kubernetes/client/models/v1_object_meta.py | 16566acc20aef3b19cd8d404cc2679eba03f6b2b | [] | no_license | jicowan/group-operator | c7a20ff03584da9ace19489bc3d27b9fb22a066c | bac6e51aef0d9836679621e3ce7e55f4c1ead402 | refs/heads/master | 2021-07-14T11:45:30.062219 | 2019-09-26T15:26:52 | 2019-09-26T15:26:52 | 209,454,861 | 10 | 4 | null | 2021-07-01T17:23:07 | 2019-09-19T03:29:54 | Python | UTF-8 | Python | false | false | 29,400 | py | # coding: utf-8
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.14.5
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re... | [
"jicowan@f0189801a302.ant.amazon.com"
] | jicowan@f0189801a302.ant.amazon.com |
6b9f29c30d1fd0ae9fe3d68b9873beeff2a97383 | b26ea6b32e5214c5ae32707ba00f5c441ba32da3 | /Biblioteca/settings-prod.py | 716224130602637a23fc30f9ae3f9fc037c2458b | [] | no_license | Karlosnat/https-github.com-rctorr-Biblioteca | 7818486b958998e7515bba140222c8d8da884248 | 828408b7ac4b06815e9e6137854345a74eb0d022 | refs/heads/master | 2020-06-18T08:45:57.928152 | 2019-07-04T02:58:08 | 2019-07-04T02:58:08 | 196,239,472 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,281 | py | """
Django settings for Biblioteca 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/
"""
import os... | [
"rictor@cuhrt.com"
] | rictor@cuhrt.com |
567f9beb3f0603e65a69f91b2c15d5f1de5f34b4 | ceeaf1a4c22e82b344fff6f8aaf2f3d4f4ab4521 | /suppliers/models.py | 82ee5b34c5d38601f3583e9bc9fe3f22c43686a2 | [
"MIT"
] | permissive | CzechInvest/ciis | a14dc23c87fda473be0b6aaeee9e12251c4ce041 | c6102598f564a717472e5e31e7eb894bba2c8104 | refs/heads/master | 2023-03-22T08:48:35.168956 | 2020-05-15T13:27:31 | 2020-05-15T13:27:31 | 110,870,857 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,046 | py | from django.db import models
from contacts.models import ContactPerson as MyContactPerson
from contacts.models import Organisation as MyOrganisation
from django.utils.translation import ugettext_lazy as _
from django.contrib.gis.db import models as gis_models
# Create your models here.
class Supplier(models.Model):
... | [
"jachym.cepicky@gmail.com"
] | jachym.cepicky@gmail.com |
78c60b999513905b844a3b936e14c88757bcbcbc | 74e13532ba442e3deaa0f8ba41a9287fdf0517b0 | /test_problems/u_grid_encoding.py | e23f56b8b4b5a44477ceaa55f3f16647b3f2b71d | [
"MIT"
] | permissive | umautobots/osp | 09afeddbb917381c8a468b08a3e36e5114937520 | d055f1c846f907445186b9dea7da2d4dca4790a6 | refs/heads/master | 2022-12-03T20:40:51.036215 | 2020-08-17T18:03:27 | 2020-08-17T18:03:27 | 288,250,879 | 6 | 2 | null | null | null | null | UTF-8 | Python | false | false | 8,950 | py | import numpy as np
EPS = 1e-3
def xy2mrx_v0(a_xy, b_pv, grid):
"""
Encode xy to activations on a grid
Activation symmetric so that flipping xy about
b's v yields same values
Clip activations that would be outside grid to map to last coordinate
:param a_xy: n, 2 | (x_x, x_y)
:param b_pv: n... | [
"andersct@umich.edu"
] | andersct@umich.edu |
4fd7678e74d8b33f6305ad4d406a856ac171f8e8 | 72af42076bac692f9a42e0a914913e031738cc55 | /01, 특강_210705_0706/02, source/CookData(2021.01.15)/Ex05-02.py | d57ee7fa6f09cf4eacaab57d083ddf0f1fbb88cf | [] | no_license | goareum93/Algorithm | f0ab0ee7926f89802d851c2a80f98cba08116f6c | ec68f2526b1ea2904891b929a7bbc74139a6402e | refs/heads/master | 2023-07-01T07:17:16.987779 | 2021-08-05T14:52:51 | 2021-08-05T14:52:51 | 376,908,264 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,050 | py | ## 클래스와 함수 선언 부분 ##
class Node2() :
def __init__ (self) :
self.plink = None # 앞쪽 링크
self.data = None
self.nlink = None # 뒤쪽 링크
def printNodes(start):
current = start
if current.nlink == None :
return
print("정방향 --> ", end=' ')
print(current.data, end=' ')
while current.nlink != None:
current = curren... | [
"goareum7@gmail.com"
] | goareum7@gmail.com |
7f67e437dfbb9b5a80dde706cb6652c1645f976b | 6dcaec1ea2c227eb84bfa02219e5a4ba5553c47c | /loja_template/apps/galerias/urls.py | 6711636ac6a68ddfbf2c0882ff89d85a7928203d | [] | no_license | silviolucenajunior/store-template | 8f5319c178d82142e3a4e179aca5fc12a6622a3b | 2dd7ffe8dbd894258225fef2b8b1e4b982a36260 | refs/heads/master | 2020-12-30T09:26:11.065198 | 2013-08-16T18:53:51 | 2013-08-16T18:53:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,499 | py | #-*- coding: utf-8 -*-
from django.conf.urls.defaults import *
#plugin tiny_mce
urlpatterns = patterns("galerias.views",
(r'^cadastrar-foto-plugin/$', 'cadastrar_foto_plugin_view'),
(r'^cadastrar-foto-plugin-ajax/$', 'cadastrar_foto_plugin_ajax'),
)
urlpatterns += patterns("galerias.views",
(r'^adicionar_... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
ef79405a7d678f52d4a84fa7839c19a313c6db8b | 1a573f905f074a2135e82a91acbc9ae1d417d50b | /python/netograph/__init__.py | 0465509828e0e73f1b5758d11578ad7c2dbf3a3b | [] | no_license | mhils/netograph-api | f72a7d44773f6902f48f82d6a5cd166799cd3478 | 57425919637d8c7237b160561f181b06ab187bb5 | refs/heads/master | 2021-07-05T12:48:01.319568 | 2018-09-18T08:45:44 | 2018-09-18T08:45:44 | 152,243,259 | 0 | 0 | null | 2018-10-09T11:58:51 | 2018-10-09T11:58:50 | null | UTF-8 | Python | false | false | 888 | py | import grpc
from netograph.dsetapi import dset_pb2_grpc
from netograph.userapi import user_pb2_grpc
def connect_dset(token):
channel = grpc.secure_channel(
'grpc.netograph.io:443',
grpc.composite_channel_credentials(
grpc.ssl_channel_credentials(),
grpc.access_token_call_c... | [
"aldo@nullcube.com"
] | aldo@nullcube.com |
f03c704be6facd8abf5ad3c327fbff2e43f889a9 | 8a25ada37271acd5ea96d4a4e4e57f81bec221ac | /usr/share/pyshared/ajenti/plugins/dashboard/updater.py | 7c6e008bcb22774ad8b2cf6f8f28d50f2db594fa | [
"Apache-2.0"
] | permissive | lupyuen/RaspberryPiImage | 65cebead6a480c772ed7f0c4d0d4e08572860f08 | 664e8a74b4628d710feab5582ef59b344b9ffddd | refs/heads/master | 2021-01-20T02:12:27.897902 | 2016-11-17T17:32:30 | 2016-11-17T17:32:30 | 42,438,362 | 7 | 8 | null | null | null | null | UTF-8 | Python | false | false | 908 | py | import gevent
from ajenti.api import *
from ajenti.plugins.packages.api import PackageManager, PackageInfo
@plugin
class AjentiUpdater (BasePlugin):
AJENTI_PACKAGE_NAME = 'ajenti'
def run_update(self, packages):
packages = packages or [self.AJENTI_PACKAGE_NAME]
actions = []
mgr = Pac... | [
"lupyuen@gmail.com"
] | lupyuen@gmail.com |
7bbd018f9a34d91619ca2f6cf87822698dc58c22 | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /QdEAMeXNJAivcTMiT_1.py | 9bdb30c42b07d4edb70a8ec3942a35405ac86063 | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 287 | py |
def boxes(weights):
arr = []
rem = 10
t = []
for x in weights:
if rem - x >= 0:
rem -= x
t.append(x)
else :
arr.append(t)
t = []
rem = 10
rem -= x
t.append(x)
if len(t) > 0:
arr.append(t)
print(arr)
return len(arr)
| [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
c3a8d0bc33ebcec0952e8c6bbd6c4036f56842d8 | 26d6c34df00a229dc85ad7326de6cb5672be7acc | /msgraph-cli-extensions/beta/education_beta/azext_education_beta/vendored_sdks/education/operations/_education_users_classes_operations.py | 72c60d3f3410415743d9385b687fc2adff41a49a | [
"MIT"
] | permissive | BrianTJackett/msgraph-cli | 87f92471f68f85e44872939d876b9ff5f0ae6b2c | 78a4b1c73a23b85c070fed2fbca93758733f620e | refs/heads/main | 2023-06-23T21:31:53.306655 | 2021-07-09T07:58:56 | 2021-07-09T07:58:56 | 386,993,555 | 0 | 0 | NOASSERTION | 2021-07-17T16:56:05 | 2021-07-17T16:56:05 | null | UTF-8 | Python | false | false | 4,304 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | [
"japhethobalak@gmail.com"
] | japhethobalak@gmail.com |
c83a0ea898a3f56450e1df946b05e71b733734e3 | de7a0984af8ae2bb9706e256c79eb12af65f70f0 | /contexts/rtscontext.py | e155026e0a9acbe9b2a885b98d0a9c0c73e52529 | [
"MIT"
] | permissive | grecoe/amlsdummy | 3370eefdb42c6c6b5847d732d991c145384e0c3f | f83ade8f75bf972f574834eae2535cfda6e2711b | refs/heads/master | 2021-08-07T15:35:26.997351 | 2021-01-09T15:34:37 | 2021-01-09T15:34:37 | 237,675,078 | 1 | 2 | MIT | 2020-02-28T11:13:00 | 2020-02-01T20:42:17 | Python | UTF-8 | Python | false | false | 6,324 | py | import shutil
from scripts.azure_utils import *
from contexts.basecontext import BaseContext
class RealTimeScoringContext(BaseContext):
'''
Model file and scoring script. These are constants and
probably no need to update them.
The remainder of the needed configuration comes from
... | [
"grecoe@microsoft.com"
] | grecoe@microsoft.com |
8d829cc9490f7662027662a0f9511a6e6e50f951 | ec85250addb7357dfe7bb3e0680d53fc7b0fd8fb | /python_modules/dagster-test/dagster_test/toys/asset_reconciliation/eager_reconciliation.py | 5a49890cf839aa67d14aa36c0c71124187f55cb5 | [
"Apache-2.0"
] | permissive | dagster-io/dagster | 6adb5deee8bcf3ea1866a6a64f2ed81e1db5e73a | fe21995e0402878437a828c6a4244025eac8c43b | refs/heads/master | 2023-09-05T20:46:08.203794 | 2023-09-05T19:54:52 | 2023-09-05T19:54:52 | 131,619,646 | 8,565 | 1,154 | Apache-2.0 | 2023-09-14T21:57:37 | 2018-04-30T16:30:04 | Python | UTF-8 | Python | false | false | 602 | py | from dagster import (
AutoMaterializePolicy,
Definitions,
asset,
load_assets_from_current_module,
)
@asset
def root1():
...
@asset
def root2():
...
@asset
def diamond_left(root1):
...
@asset
def diamond_right(root1):
...
@asset
def diamond_sink(diamond_left, diamond_right):
... | [
"noreply@github.com"
] | dagster-io.noreply@github.com |
70ae2f6e338d2396feb7a1beeb897ae04eeedd1c | 2c1429a1bd2d0477fd88119d4d778fc68c82adcf | /python/DeepSeaScene/Convert/ConvertContext.py | e2f0d6c637e2a6d11432c41f10137e9b1b27bf4a | [
"Apache-2.0"
] | permissive | akb825/DeepSea | d7ac54f6d8243d43d6ea538159f3067ab7e79880 | 5a909b4f51717bc59682e51ad6aa598a25a9b965 | refs/heads/master | 2023-08-31T23:45:19.533393 | 2023-08-29T07:30:36 | 2023-08-29T07:30:43 | 142,716,767 | 10 | 2 | null | null | null | null | UTF-8 | Python | false | false | 8,708 | py | # Copyright 2020-2022 Aaron Barany
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | [
"akb825@gmail.com"
] | akb825@gmail.com |
d9268e78fb09969aa65b9d05a32d31fdddf3ecd1 | 43424192529aa1fb554d26b07c7382ce67604729 | /src/lib/datasets/dataset/jde.py | d5c6763aa95f9e87956135d597ed4cf276317bd0 | [] | no_license | byq-luo/CL-MOT | 7e0a61401b0e8f5610a303c71465d06c8b509155 | c79027e8cf5af1a2ea08fefcdaf55be08b1a5a4b | refs/heads/master | 2022-11-04T22:27:57.614695 | 2020-06-25T22:39:24 | 2020-06-25T22:39:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 24,449 | py | import glob
import math
import os
import os.path as osp
import random
import time
from collections import OrderedDict
import cv2
import json
import numpy as np
import torch
from torch.utils.data import Dataset
from torchvision.transforms import transforms as T
from cython_bbox import bbox_overlaps as bbox_ious
from o... | [
"danielzgsilva@knights.ucf.edu"
] | danielzgsilva@knights.ucf.edu |
e29b726c54adb05c37f2093deda259bec151ea6e | 30fe7671b60825a909428a30e3793bdf16eaaf29 | /.metadata/.plugins/org.eclipse.core.resources/.history/63/9010f07eaeea00161174a93fd5908e78 | 392d2088e7c6f05709c2717070f065f8bf4e2b58 | [] | no_license | abigdream84/PythonStudy | 0fc7a3b6b4a03a293b850d0ed12d5472483c4fb1 | 059274d3ba6f34b62ff111cda3fb263bd6ca8bcb | refs/heads/master | 2021-01-13T04:42:04.306730 | 2017-03-03T14:54:16 | 2017-03-03T14:54:16 | 79,123,274 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 243 | #!/usr/bin/env python
#coding:UTF-8
import threading
import time
num = 0
def run():
time.sleep(1)
global num
num += 1
time.sleep(1)
print(num)
for i in range(100):
t = threading.Thread(target=run)
t.start()
| [
"abigdream@hotmail.com"
] | abigdream@hotmail.com | |
ae1e84aa9f819ff4d88b735878bf3a153afc31e3 | aeeaf40350a652d96a392010071df8a486c6e79f | /archive/python/Python/unsorted/235.lowest-common-ancestor-of-a-binary-search-tree.py | 2fe98c1dd49f5015b1f1abd8ba318f5bf60c1b0b | [
"MIT"
] | permissive | linfengzhou/LeetCode | 11e6c12ce43cf0053d86437b369a2337e6009be3 | cb2ed3524431aea2b204fe66797f9850bbe506a9 | refs/heads/master | 2021-01-23T19:34:37.016755 | 2018-04-30T20:44:40 | 2018-04-30T20:44:40 | 53,916,868 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 721 | py | # Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution(object):
def lowestCommonAncestor(self, root, p, q):
"""
:type root: TreeNode
:type p: TreeNode
... | [
"luke.zlf@gmail.com"
] | luke.zlf@gmail.com |
b068bc192b0b532ae5e273f0916abe8531e8e588 | b7fab13642988c0e6535fb75ef6cb3548671d338 | /tools/ydk-py-master/cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_fretta_bcm_dpa_drop_stats_oper.py | 9ec88cc72dcf4d83caeadc1f04d8b6963aa17d73 | [
"Apache-2.0"
] | permissive | juancsosap/yangtraining | 6ad1b8cf89ecdebeef094e4238d1ee95f8eb0824 | 09d8bcc3827575a45cb8d5d27186042bf13ea451 | refs/heads/master | 2022-08-05T01:59:22.007845 | 2019-08-01T15:53:08 | 2019-08-01T15:53:08 | 200,079,665 | 0 | 1 | null | 2021-12-13T20:06:17 | 2019-08-01T15:54:15 | Python | UTF-8 | Python | false | false | 31,508 | py | """ Cisco_IOS_XR_fretta_bcm_dpa_drop_stats_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR fretta\-bcm\-dpa\-drop\-stats package operational data.
This module contains definitions
for the following management objects\:
drop\: Drop stats data
Copyright (c) 2013\-2016 by Cisco Systems, ... | [
"juan.c.sosa.p@gmail.com"
] | juan.c.sosa.p@gmail.com |
aabc884e84fcfc59e35fc4a13e9012ad096792c4 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03464/s278760514.py | 08616e0b58be34c3cb585dbb67b7ff087e21dabd | [] | 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 | 322 | py | n=int(input())
arr=list(map(int,input().split()))
arr=arr[::-1]
if arr[0]!=2:
print(-1)
else:
arr=arr[1:]
l=2
r=3
for val in arr:
if (l<=val*(l//val)<=r) or (l<=val*(r//val)<=r):
if l%val!=0:
l=val*(l//val+1)
r=val*(r//val+1)-1
else:
print(-1)
break
else:
print(l,... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
09202c09b7522bbd53167ab063440db35dd0fec8 | 44eb40bf7bbd006f441b22d149dbb06eebe97506 | /src/chap02/04_XOR_gate.py | 566ded8dc57e75ea16bfa6a035fade75e11729bb | [] | no_license | hoonest/Deep_Learning | 56939f983c81e75b79d5474c11649dd57bf7107b | dd94f46ff886f20a47b09a54593e5fd2d53f0ed4 | refs/heads/master | 2020-04-19T22:52:03.640247 | 2019-02-19T03:34:16 | 2019-02-19T03:34:16 | 168,481,590 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 944 | py | import numpy as np
# from 02_AND_bias import AND
# AND gate
def AND(x1, x2):
x = np.array([x1, x2])
w = np.array([0.5, 0.5])
b = -0.7
tmp = np.sum(w * x) + b
if tmp <= 0:
return 0
else:
return 1
# NAND Gate
def NAND(x1, x2):
x = np.array([x1, x2])
w = np.array([-0.5, -... | [
"hoonest01@gmail.com"
] | hoonest01@gmail.com |
ca42e2d3e0a4b22c42b77adcacf1ad86043a4836 | ca33d58a472233f8a55b6a0e5571448694b8398a | /typeCooker/TypeCooker.roboFontExt/lib/typeCookerData.py | 9c6fcfeb335e423572e4f73514ca45dd64df3a5f | [
"MIT"
] | permissive | BlackFoundry/RoboFontExtensions | bd1ee80a9c9d5b6bb00d05d758cfc3b581db9483 | e4a163fbd5e174a8e1270a2331f02337ce980afe | refs/heads/master | 2021-04-03T08:37:31.325520 | 2018-03-11T20:35:09 | 2018-03-11T20:35:09 | 124,796,892 | 0 | 0 | MIT | 2018-03-11T20:33:18 | 2018-03-11T20:33:18 | null | UTF-8 | Python | false | false | 30,876 | py | parametersData = {
'keys': [
'width',
'weight',
'construction',
'stroke endings',
'ascender',
'descender',
'contrast type',
'contrast amount',
... | [
"frederik@typemytype.com"
] | frederik@typemytype.com |
ae349ac80acca792276ae618b437905cce9acb03 | 945d957bde025c0aa96df08d151252c3d2b682cb | /dynamicNetworkConfig/transport/wsgi/middleware/__init__.py | ffd513f3f042ae197e107ffc17b10c682bbcccae | [
"Apache-2.0"
] | permissive | ClockwerksSoftware/dynamicNetworkConfig | 85d8c16d44dbcd8361dba17fe01d5474d2e3a7c5 | c785f437edb912be0915822184d3967c71225849 | refs/heads/master | 2021-01-19T12:51:56.336000 | 2017-02-25T19:36:37 | 2017-02-25T19:36:37 | 82,368,281 | 0 | 1 | null | 2017-02-25T19:36:38 | 2017-02-18T07:00:42 | null | UTF-8 | Python | false | false | 190 | py | from dynamicNetworkConfig.transport.wsgi.middleware.auth import (
AuthenticationMiddleware
)
from dynamicNetworkConfig.transport.wsgi.middleware.context import (
ContextMiddleware
)
| [
"bm_witness@yahoo.com"
] | bm_witness@yahoo.com |
b4b1aae7471ab0b781047b9e07c70747713c5a23 | 2635edb96afa8117d4584a470061e447b79adc6e | /mybook/urls.py | e264e1f09a359e34ec1c24f8104f5d3d73414430 | [] | no_license | Mark-Seaman/Sensei-2018 | 673609731ecb5ebb782dab94b2cf3d7c22940424 | 06b02892cfe1bf1d25cb4224e86eb693c82b0f29 | refs/heads/master | 2022-02-18T19:14:10.343093 | 2022-01-15T20:06:21 | 2022-01-15T20:06:21 | 158,728,468 | 0 | 0 | null | 2022-01-16T21:06:09 | 2018-11-22T16:51:55 | HTML | UTF-8 | Python | false | false | 1,778 | py | from django.conf.urls import url
from django.contrib.auth import login, logout
from .seaman import DocFileIndex, DocList, Leverage, MarkSeaman, PrivateDoc, SeamansLog
from .guide import SeamansGuide
from .views import *
from .spiritual import SpiritualDoc, SpiritualSelect
urlpatterns = [
# Documents
url(r'^$... | [
"Mark.Seaman@imac.net"
] | Mark.Seaman@imac.net |
e19a2f8a101c73150cc1964bcf8808cb147c50a7 | 99d17ddba93db1105e8941b1b592d9d9e22864fb | /tests/integration_tests/dashboards/commands_tests.py | d382a5f50d1b27f4e29c826805ac43d2ef198793 | [
"Apache-2.0",
"OFL-1.1"
] | permissive | apache-superset/incubator-superset | f376dc15d6e2187d0b65a0dc5476d6c6c3378f21 | 0945d4a2f46667aebb9b93d0d7685215627ad237 | refs/heads/master | 2023-03-15T04:12:40.478792 | 2022-07-25T14:44:43 | 2022-07-25T14:44:43 | 146,225,581 | 21 | 20 | Apache-2.0 | 2023-03-13T16:00:14 | 2018-08-26T23:56:08 | TypeScript | UTF-8 | Python | false | false | 26,088 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | [
"noreply@github.com"
] | apache-superset.noreply@github.com |
8d2fd166695b224a0c4a3383603705671eaf20b8 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03767/s405465871.py | e340c69019eb1ab19c7c4ffec2a97b3f548737f3 | [] | 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 | 166 | py | n = int(input())
a = sorted(map(int,input().split()),reverse=True)
ans = 0
t = (n*3)//3
cnt = 0
i = 1
while cnt<t:
cnt += 1
ans += a[i]
i += 2
print(ans) | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
7f93026775a2e9e95f6b22976a0c2f2e247b946a | 930309163b930559929323647b8d82238724f392 | /DSL_3_C.py | 12248c6e6506b9376befc0c7bcdb09205d16bb8f | [] | no_license | GINK03/atcoder-solvers | 874251dffc9f23b187faa77c439b445e53f8dfe1 | b1e7ac6e9d67938de9a85df4a2f9780fb1fbcee7 | refs/heads/master | 2021-11-07T14:16:52.138894 | 2021-09-12T13:32:29 | 2021-09-12T13:32:29 | 11,724,396 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,398 | py |
class Segtree:
n = 1
size = 1
log = 2
d = [0]
op = None
e = 10 ** 15
def __init__(self, V: "List", OP: "function", E: "基底"):
self.n = len(V)
self.op = OP
self.e = E
self.log = (self.n - 1).bit_length()
self.size = 1 << self.log
self.d = [E for... | [
"gim.kobayashi@gmail.com"
] | gim.kobayashi@gmail.com |
853e439c56d563a22f2a948eb8b7b9eed9488bda | b6a84594f8c29d968014faaddd49abeb7537a5fc | /python/349.intersection-of-two-arrays.py | 7a451d2011ff6765e416ab3f944dd25ec1210da3 | [] | no_license | nickyfoto/lc | 8a6af3df114e693e265d0ede03f4d4e1283e010e | 3633b4df3e24968057c7d684689b931c5a8032d3 | refs/heads/master | 2020-09-16T19:23:07.765917 | 2020-06-07T17:18:06 | 2020-06-07T17:18:06 | 223,866,098 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,496 | py | #
# @lc app=leetcode id=349 lang=python3
#
# [349] Intersection of Two Arrays
#
# https://leetcode.com/problems/intersection-of-two-arrays/description/
#
# algorithms
# Easy (54.07%)
# Total Accepted: 216.7K
# Total Submissions: 398.2K
# Testcase Example: '[1,2,2,1]\n[2,2]'
#
# Given two arrays, write a function to... | [
"nickyfoto@gmail.com"
] | nickyfoto@gmail.com |
c1ebd8b8d228c003d0a4407c67ebe600f881f249 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02733/s121858438.py | 185f83ced0156e8f9333a88aeced5f9f6a733be6 | [] | 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 | 231 | py | h,*s=open(0)
h,w,k,*m=map(int,h.split())
b=w
while b:
b-=1;r=t=j=0;d=[0]*h
while w-j:
i=c=0;j+=1
while h-i:
d[c]+=s[i][~j]>'0'
if d[c]>k:d=[0]*h;f=t<j;r-=h*w*~-f-1;t=j;j-=f;break
c+=b>>i&1;i+=1
m+=r+c,
print(min(m)) | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
bab41f705343005511627b25159e282df8e0bf4c | 466ac2f617422572ee37a1b0eac9825a141e26fa | /thormang3/display_result.py | 0e9c2b648da72fbd5bbeef54c99eecfdfc421d9a | [] | no_license | ahanjaya/Classifying-3D-objects-with-CNN | d667bd15dbbdbb5533033d33e93ccc24899788e6 | 03a5edd1ef5aca759e49c49af476470d9e2e37cb | refs/heads/master | 2020-09-28T10:41:24.090638 | 2020-04-17T07:38:19 | 2020-04-17T07:38:19 | 226,761,422 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,884 | py | #!/usr/bin/env python3
import os
import sys
import yaml
import pickle
import itertools
import numpy as np
import matplotlib.pyplot as plt
from sklearn.preprocessing import LabelEncoder
class Results:
def __init__(self):
self.n_folder = 9
self.res_folder = "result/{}".format(self.n_folder)
... | [
"hanjaya_mandala@yahoo.com"
] | hanjaya_mandala@yahoo.com |
1b8b05482735ac92647346a3e0e9bdb226651375 | d7a68c636e6128533b17975655bd6b46ed222916 | /adapter-transformers-adapters3.1.0/tests_adapters/test_adapter_trainer.py | 5849bc7bfe0fb582570626343ee39662971a6b11 | [
"Apache-2.0"
] | permissive | cambridgeltl/autopeft | 69179f8faf2cc4d2164ff78e544dc3fe2d39c331 | d8ad6bea93aa413a54d0e09fe25bdd62b46cfcf5 | refs/heads/main | 2023-05-23T09:21:59.912941 | 2023-04-25T14:35:31 | 2023-04-25T14:35:31 | 594,316,585 | 26 | 4 | Apache-2.0 | 2023-04-25T14:35:32 | 2023-01-28T06:39:25 | Python | UTF-8 | Python | false | false | 14,876 | py | import os
import unittest
from tempfile import TemporaryDirectory
import torch
from transformers import (
AutoAdapterModel,
AutoModelForSequenceClassification,
AutoTokenizer,
BertConfig,
BertForSequenceClassification,
GlueDataset,
GlueDataTrainingArguments,
Trainer,
TrainingArgumen... | [
"hz416@cam.ac.uk"
] | hz416@cam.ac.uk |
bd4492e32b8c961efd74ceda5ee7197a84dbcbcc | 2ae24d0c6d91df960a2ca68a0b7a754a69d4fe18 | /web/exmr/apps/merchant_tools/migrations/0011_multipayment.py | d15d79ad3a8e90ae65584c71692fb62d2c618350 | [] | no_license | exmrcoin/project-gcps.io | 2fc2a0a207ce1282d616a8a680aef938fbcf5352 | c0071e63406845a5f3dbbe33ae65673cacc271f8 | refs/heads/master | 2023-01-04T02:08:47.893847 | 2020-10-29T17:03:34 | 2020-10-29T17:03:34 | 121,253,614 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 962 | py | # Generated by Django 2.0.2 on 2018-07-19 09:17
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('coins', '0007_auto_20180718_1131'),
('merchant_tools', '0010_posqrmaker'),
]
operations = [
migrati... | [
"nijap@techversantinfotech.com"
] | nijap@techversantinfotech.com |
64bc6044c4ab411bede2d052e9166ee92b5e82f2 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02633/s580079860.py | d8cc6fb47910c5df1bc706994a741571fb146b87 | [] | 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 | 85 | py | from math import gcd
x = int(input())
lcm = (x * 360)/gcd(x, 360)
print(int(lcm/x))
| [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
859b839c18cb19d795cf2a8c7cc2205a86b061a6 | e22e03d9761f5c6d581b5af2e77343e8ee4b201d | /edk2/BaseTools/Scripts/PackageDocumentTools/packagedocapp.pyw | df3b46c49fd23477f3507593a06a26bafcbc9d5a | [
"OpenSSL",
"BSD-2-Clause"
] | permissive | SamuelTulach/SecureFakePkg | 759975fcc84d62f05ac577da48353752e5334878 | f34080a6c0efb6ca3dd755365778d0bcdca6b991 | refs/heads/main | 2023-08-17T07:51:22.175924 | 2021-10-01T10:46:14 | 2021-10-01T10:46:14 | 410,938,306 | 94 | 14 | null | null | null | null | UTF-8 | Python | false | false | 46,029 | pyw | ## @file
# This file is used to define common string related functions used in parsing
# process
#
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials are licensed and made available
# under the terms and conditions of the BSD License which accompanie... | [
"samtulach@gmail.com"
] | samtulach@gmail.com |
133204167552658953dec762fb75f1d33e371f32 | 768058e7f347231e06a28879922690c0b6870ed4 | /venv/lib/python3.7/site-packages/cytoolz/tests/test_curried_toolzlike.py | 04da221e7a6c2da495482c4d0ec0f832cf4c4132 | [] | no_license | jciech/HeisenbergSpinChains | 58b4238281d8c158b11c6c22dd0da82025fd7284 | e43942bbd09f6675e7e2ff277f8930dc0518d08e | refs/heads/master | 2022-12-18T08:04:08.052966 | 2020-09-29T12:55:00 | 2020-09-29T12:55:00 | 258,476,448 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,439 | py | import cytoolz
import cytoolz.curried
import types
from dev_skip_test import dev_skip_test
# Note that the tests in this file assume `toolz.curry` is a class, but we
# may some day make `toolz.curry` a function and `toolz.Curry` a class.
@dev_skip_test
def test_toolzcurry_is_class():
import toolz
assert is... | [
"jan@multiply.ai"
] | jan@multiply.ai |
b97d80c5929e9b8e0c5d063c370f852396e5f312 | 03d7375757324e7ff1d3c9ab187230581d54416d | /backend/rent_a_road_test_3250/wsgi.py | 579cf1810f7da700f3d420b0e011e94c1c08dd8b | [] | no_license | crowdbotics-apps/rent-a-road-test-3250 | 6d657e2d68dc1c5d94fa4504b239ff2b5caea1fc | 847636c17ed56722f64dc3b18765c81364aaf80a | refs/heads/master | 2022-12-08T10:54:58.557243 | 2019-05-13T01:35:42 | 2019-05-13T01:35:42 | 186,325,879 | 0 | 0 | null | 2022-12-06T15:59:27 | 2019-05-13T01:35:39 | JavaScript | UTF-8 | Python | false | false | 420 | py | """
WSGI config for rent_a_road_test_3250 project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefaul... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
1dfc2fd41a419ec42d4dfca32b8e62d7ead75847 | 8f9ea3f14bdf2187de759939b2bbc87fe68ccfc0 | /tensorflow/compiler/xla/python/xla_client_test.py | 375e720f9b433f45ad5adc329104c286184a7510 | [
"Apache-2.0"
] | permissive | davidstanke/bazel-mvn-demo | 4ea43f0ba293a28b916a27eab5f0812e9b753c2c | cff14dddce15ea7152988da576673bd15bab6c6e | refs/heads/master | 2022-10-20T07:52:29.651851 | 2018-11-22T13:17:51 | 2018-11-22T13:17:51 | 157,782,756 | 2 | 0 | Apache-2.0 | 2022-10-04T23:47:05 | 2018-11-15T22:54:09 | C++ | UTF-8 | Python | false | false | 53,532 | py | # Copyright 2017 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... | [
"davidstanke@gmail.com"
] | davidstanke@gmail.com |
76272de482e0e63b6b221d492c32ad0b05144b48 | 3a9f2b3d79cf214704829427ee280f4b49dca70a | /saigon/rat/RuckusAutoTest/tests/zd/CB_ZD_Mesh_Recovery_SSID_Testing.py | fda260e9213a84cb8606005a0f95c60cdf109186 | [] | 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 | 5,930 | py | # Copyright (C) 2011 Ruckus Wireless, Inc. All rights reserved.
# Please make sure the following module docstring is accurate since it will be used in report generation.
"""
Description:
@author: An Nguyen
@contact: an.nguyen@ruckuswireless.com
@since: Feb 2012
Prerequisite (Assumptions about the stat... | [
"tan@xx.com"
] | tan@xx.com |
1f82a2aa9fdec35d68ece70fff55bb94073d3df2 | 62e5b9ccdc8ee3671156919a2b44fba17e429089 | /bin/env.py | 4f6cb5de4ccf59fb09d32cb7b7ad6f32862e84bf | [
"CC0-1.0"
] | permissive | ccgeom/ccg-notes | 609cf4a761ec3d0f24a14cea408e9d5604fafc74 | 6fade9e0ebbbe747d0f07457aa8047470d15ca1b | refs/heads/master | 2022-08-26T10:43:15.112786 | 2022-07-08T04:39:46 | 2022-07-08T04:39:46 | 62,777,276 | 12 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,046 | py | #!/usr/bin/env python3.6
# -*- coding: utf-8 -*-
import sys
import os
import virtualenv as venv
"""
Colorful output
"""
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = "\033[1m"
def head(msg):
print(HEADER + msg + ENDC)
def info(msg):
... | [
"mingli.yuan@gmail.com"
] | mingli.yuan@gmail.com |
a7d718c61e135fceba95959631eed10c720cf4dd | 53ccc4f5198d10102c8032e83f9af25244b179cf | /SoftUni Lessons/Python Development/Python Fundamentals June 2019/Problems and Files/03. PYTHON INTRO, FUNCTIONS, DEBUGGING/Functions-and-Debugging/04. Draw a Filled Square.py | e4dde5e933fe0544aed1d0ecfb3f1f25e1cdd415 | [] | no_license | SimeonTsvetanov/Coding-Lessons | aad32e0b4cc6f5f43206cd4a937fec5ebea64f2d | 8f70e54b5f95911d0bdbfda7d03940cb824dcd68 | refs/heads/master | 2023-06-09T21:29:17.790775 | 2023-05-24T22:58:48 | 2023-05-24T22:58:48 | 221,786,441 | 13 | 6 | null | null | null | null | UTF-8 | Python | false | false | 1,563 | py | """
Functions and Debugging
Проверка: https://judge.softuni.bg/Contests/Compete/Index/922#3
04. Draw a Filled Square
Условие:
Draw at the console a filled square of size n like in the example:
Examples
Input:
4
Output:
--------
-\/\/\/-
-\/\/\/-
--------
Hints
1. Read the input
2. Create a functio... | [
"noreply@github.com"
] | SimeonTsvetanov.noreply@github.com |
9a9cca7de31b0609496ea4dcd0f6039c86ee463c | ac0b9c85542e6d1ef59c5e9df4618ddf22223ae0 | /kratos/applications/ManagerApplication/test_examples/henry.py | d9cc93e644ba5e85b9ef36843485c17350e78ac9 | [] | no_license | UPC-EnricBonet/trunk | 30cb6fbd717c1e78d95ec66bc0f6df1a041b2b72 | 1cecfe201c8c9a1b87b2d87faf8e505b7b1f772d | refs/heads/master | 2021-06-04T05:10:06.060945 | 2016-07-15T15:29:00 | 2016-07-15T15:29:00 | 33,677,051 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,736 | py | #setting the domain size for the problem to be solved
domain_size = 2 # 2D problem
#including kratos path
import sys
from KratosMultiphysics import * #we import the KRATOS
from KratosMultiphysics.ManagerApplication import * #and now our application
from KratosMultiphysics.HenryApplication import * ... | [
"enriquebonetgil@hotmail.com"
] | enriquebonetgil@hotmail.com |
6f444bfe806a2c58d244d733db0a18853b36e3a1 | 97cb35277f4cbeb44b83ce75a4bcd8c008863d2d | /articles/migrations/0001_initial.py | e6c9b63f6136de188e39b1c141e3a7f462120d3d | [] | no_license | TareqMonwer/CS-Basic-Django-Project | 586dd17370929428dcc1ad8a3a9b83b487a40382 | a0769caba38b6063b4761d3f8cdb593f7053f12e | refs/heads/main | 2023-07-15T19:19:49.337261 | 2021-08-28T17:21:54 | 2021-08-28T17:21:54 | 400,535,672 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 782 | py | # Generated by Django 3.2.6 on 2021-08-28 16:38
from django.db import migrations, models
import django.db.models.functions.text
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Article',
fields=[
... | [
"tareqmonwer137@gmail.com"
] | tareqmonwer137@gmail.com |
e2f87b38b11fcc268984013e2471c1e0b3709e7a | 8951fd5293dfb77c64ceddd19459e99a0c1cf677 | /kvmagent/kvmagent/test/test_nfs_primary_storage_create_empty_volume.py | c77db100f78667df482bbef222b8634d3420813f | [
"Apache-2.0"
] | permissive | SoftwareKing/zstack-utility | 7cdc229f05ac511214135fcaa88b5acf5aa08126 | 4765928650cde4f4472a960de9e93a849a5555e3 | refs/heads/master | 2021-01-18T18:20:55.913454 | 2015-09-01T13:39:26 | 2015-09-01T13:39:26 | 41,954,728 | 1 | 0 | null | 2015-09-05T08:46:12 | 2015-09-05T08:46:12 | null | UTF-8 | Python | false | false | 2,127 | py | '''
@author: Frank
'''
import unittest
import time
import os.path
from kvmagent import kvmagent
from kvmagent.plugins import nfs_primarystorage_plugin
from zstacklib.utils import http
from zstacklib.utils import jsonobject
from zstacklib.utils import log
from zstacklib.utils import uuidhelper
from zstackl... | [
"xing5820@gmail.com"
] | xing5820@gmail.com |
9f6bb109db8b941489c1b95f3573d745e1820854 | 64b135891387dac3a4bb29f3001a524830d0e4e4 | /identities/urls.py | abfe0abcb60a404366d0a0c606133c58c7fdf59d | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | dynamicguy/treeio | 9ad52802722b64a212e22710c04dbb0bb50d831e | 4f674898cff2331711639a9b5f6812c874a2cb25 | refs/heads/master | 2021-08-28T11:25:41.504635 | 2014-01-31T17:16:22 | 2014-01-31T17:16:22 | 11,323,559 | 0 | 0 | NOASSERTION | 2021-08-16T20:18:53 | 2013-07-10T20:31:31 | Python | UTF-8 | Python | false | false | 4,876 | py | # encoding: utf-8
# Copyright 2011 Tree.io Limited
# This file is part of Treeio.
# License www.tree.io/license
"""
Identities module URLs
"""
from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('treeio.identities.views',
url(r'^(\.(?P<response_format>\w+))?$', 'index', name='identities... | [
"letoosh@gmail.com"
] | letoosh@gmail.com |
6f1f594771992e3786c0ad60350a49a4d83ed6f5 | 16dbe8b1be0cd360ac1062072430f1f2b7d95bd6 | /FlightPlanner/RnavTurningSegmentAnalyser/ui_RnavTurningSegmentAnalyser.py | 1f1f2874de7983ce09a0355697e6af5e90e5c126 | [] | no_license | developer124320/FlightPlanner | 4a0d9a450ddddede95512ad76437db2906154536 | f1e4c762c360c0a00022ae6fa028fc1aee2a467d | refs/heads/master | 2022-08-25T14:00:57.495037 | 2020-05-27T01:26:27 | 2020-05-27T01:26:27 | 267,186,057 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 32,104 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'RnavTurningSegmentAnalyser.ui'
#
# Created: Wed Nov 25 17:23:08 2015
# by: PyQt4 UI code generator 4.10.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
from FlightPlanner.Panels.TrackRadialBox... | [
"yongjin.818@gmail.com"
] | yongjin.818@gmail.com |
2a4b56c826c10ff5f08b34c6eaad0370b5779382 | ca2ebf664e1d4b7338d014ca92a95bebe31063ff | /greeter_client.py | 3edd2bd9bf6ef469dc18f0f5cd08cb4c4f03ab5b | [] | no_license | ttpro1995/playground-grpc | cfc5d9fbad085da39286cad25181884d3d052468 | 3b41ebbaadc27deb0c06b806a3dcc928f3eaaf34 | refs/heads/master | 2023-03-26T10:26:10.595902 | 2021-03-27T11:29:57 | 2021-03-27T11:29:57 | 352,055,991 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 464 | py | import grpc
import hello_pb2_grpc
import hello_pb2
channel = grpc.insecure_channel('localhost:50051')
stub = hello_pb2_grpc.GreeterStub(channel)
response = stub.SayHello(hello_pb2.HelloRequest(name='you'))
print("Greeter client received: " + response.message)
response = stub.SayHelloAgain(hello_pb2.HelloRequest(name='... | [
"tthien@apcs.vn"
] | tthien@apcs.vn |
69ae600a5a427c98f64cef92c66bec4af9383a99 | cabe35a027a4c26a6360f60b00b176235d79c98b | /Exercises/ex38/3.py | b65224f1d414c734d587d30de897a978e15ad3e4 | [] | no_license | rishikant42/Python-TheHardWay | e3ac9c903be5065277095827a7e31662a1d56cbf | 5c1c7ff6c376627bc6b1abf1fc7a8d7f3ef40176 | refs/heads/master | 2022-07-23T15:12:32.572778 | 2022-06-25T10:29:52 | 2022-06-25T10:29:52 | 70,502,885 | 0 | 1 | null | 2017-02-26T12:51:23 | 2016-10-10T15:42:42 | Python | UTF-8 | Python | false | false | 119 | py | #import random
num = 0
while (num < 100):
num = num +1
if (num % 2) == 0:
continue
print num
| [
"rksbtp@gmail.com"
] | rksbtp@gmail.com |
f4084b1a4d000098c78ec59feb3865cb7fad3d77 | d23e26d37b42fbce4fe51add8f2d3b29bc38f865 | /projecteuler/p035.py | fd3d2afae9dbc1a44e36e60c0025772d79f975b7 | [
"MIT"
] | permissive | rene-d/math | 6728908a3c6c6c6dc5cf77c1c8a52412c90459b9 | 34d33bdfbf2756f442c0deb085b940262d8a1f44 | refs/heads/master | 2022-11-05T04:20:41.204352 | 2022-10-23T08:01:04 | 2022-10-25T06:06:19 | 117,944,288 | 4 | 0 | null | 2018-02-02T21:45:40 | 2018-01-18T06:50:42 | Python | UTF-8 | Python | false | false | 814 | py | """
Circular primes
The number, 197, is called a circular prime because all rotations of the digits:
197, 971, and 719, are themselves prime.
There are thirteen such primes below 100: 2, 3, 5, 7, 11, 13, 17, 31, 37, 71, 73, 79, and 97.
How many circular primes are there below one million?
https://projecteuler.net/p... | [
"rene.devichi@gmail.com"
] | rene.devichi@gmail.com |
ed18e68ccd011c6613dbedac5a2f84f27a16f8ca | ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1 | /res/packages/scripts/scripts/common/dossiers2/__init__.py | 88ded47466e28f07d7c6af032904a1d6282b0a24 | [] | no_license | webiumsk/WOT-0.9.20.0 | de3d7441c5d442f085c47a89fa58a83f1cd783f2 | 811cb4e1bca271372a1d837a268b6e0e915368bc | refs/heads/master | 2021-01-20T22:11:45.505844 | 2017-08-29T20:11:38 | 2017-08-29T20:11:38 | 101,803,045 | 0 | 1 | null | null | null | null | WINDOWS-1250 | Python | false | false | 610 | py | # 2017.08.29 21:52:49 Střední Evropa (letní čas)
# Embedded file name: scripts/common/dossiers2/__init__.py
from dossiers2.common.utils import getDossierVersion
from dossiers2.custom import updaters
from dossiers2.custom.builders import *
def init():
from dossiers2.custom import init as custom_init
custom_init... | [
"info@webium.sk"
] | info@webium.sk |
7b0ab2d7afed8a101332881219940266b8fe20d0 | 20acd4e916ce4bccbfaba12158e348e49923c46b | /setup.py | ff24496d325c047d807ce593e0428cf9216e5367 | [] | no_license | noseapp/noseapp_alchemy | 3df4999a9fcc476f42624609ed049a8528dbdfff | f6606990befd147852fd939c16a6f85de143d52f | refs/heads/master | 2023-04-30T21:46:28.407386 | 2015-05-29T17:47:36 | 2015-05-29T17:47:36 | 30,965,543 | 1 | 1 | null | 2023-04-16T02:42:30 | 2015-02-18T12:56:29 | Python | UTF-8 | Python | false | false | 655 | py | # -*- coding: utf-8 -*-
from setuptools import setup
from setuptools import find_packages
__version__ = '1.0.0'
if __name__ == '__main__':
setup(
name='noseapp_alchemy',
url='https://github.com/trifonovmixail/noseapp_alchemy',
version=__version__,
packages=find_packages(),
... | [
"mikhail.trifonov@corp.mail.ru"
] | mikhail.trifonov@corp.mail.ru |
17cc52ea7967e87801c45229c14d5036fa03301c | 1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc | /venv/lib/python2.7/site-packages/ansible/modules/clustering/k8s/_kubernetes.py | 34ceb6c51365f739c7b36aa0bebdebb43478f2d7 | [
"MIT"
] | permissive | otus-devops-2019-02/devopscourses_infra | 1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c | e42e5deafce395af869084ede245fc6cff6d0b2c | refs/heads/master | 2020-04-29T02:41:49.985889 | 2019-05-21T06:35:19 | 2019-05-21T06:35:19 | 175,780,457 | 0 | 1 | MIT | 2019-05-21T06:35:20 | 2019-03-15T08:35:54 | HCL | UTF-8 | Python | false | false | 16,691 | py | #!/usr/bin/python
# Copyright: (c) 2015, Google Inc. All Rights Reserved.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
... | [
"skydevapp@gmail.com"
] | skydevapp@gmail.com |
f65b0b1dc6d7043f86f1a147c66acad09a14d0b1 | f7574ee7a679261e758ba461cb5a5a364fdb0ed1 | /PopulatingNextRightPointersinEachNodeII.py | 1ff5842f547af6b76b2f6a0ce91307d35175faa3 | [] | no_license | janewjy/Leetcode | 807050548c0f45704f2f0f821a7fef40ffbda0ed | b4dccd3d1c59aa1e92f10ed5c4f7a3e1d08897d8 | refs/heads/master | 2021-01-10T19:20:22.858158 | 2016-02-26T16:03:19 | 2016-02-26T16:03:19 | 40,615,255 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,657 | py | # Definition for binary tree with next pointer.
# class TreeLinkNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
# self.next = None
class Solution(object):
def connect(self, root):
"""
:type root: TreeLinkNode
:... | [
"janewjy87@gmail.com"
] | janewjy87@gmail.com |
3cbf941917133ce9558f26f7a1ef68338357df49 | fa24173e152aa2132895fda77022d998a7d61f38 | /wick/models/segmentation/testnets/mnas_linknets/linknet.py | 1e2c7d81c88c20a48d832be93380b0c3b7d9369c | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | shijie2016/wick | 1c791ec6b22016787c84583fe30823150b279888 | a83d9ca753e8732efb780e84a54d667a8b5f3f37 | refs/heads/master | 2020-04-28T09:19:22.693956 | 2019-03-08T16:15:26 | 2019-03-08T16:15:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 43,544 | py | # Source: https://github.com/snakers4/mnasnet-pytorch/blob/master/src/models/linknet.py
import torch.nn as nn
import torch.nn.functional as F
from torchvision import models
from .resnext import resnext101_32x4d
from .inception_resnet import inceptionresnetv2
from .inception4 import inceptionv4
from .decoder import Dec... | [
"Alexei.Samoylov@digikey.com"
] | Alexei.Samoylov@digikey.com |
793df36891361844131a4d33e050c547c0b01bfc | 59d7db2d959e071991ece694728958b08a6f7c58 | /envs/create_game/levels/create_game_marker.py | 772a0d58b12cf5021463822a56ef3b8f0d5823b7 | [] | no_license | Sivinious/cse257 | 04cdd6f14a7ac0db66626e93305e4015256f1433 | 6b6f21c289094487da89b261af0dacba8135cd25 | refs/heads/main | 2023-05-15T08:12:54.908326 | 2021-05-29T10:12:39 | 2021-05-29T10:12:39 | 371,932,535 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,203 | py | import numpy as np
from .create_level_file import CreateLevelFile
def ball_begin_handler(arbiter, space, data):
obj_1 = arbiter.shapes[1]
obj_2 = arbiter.shapes[0]
if hasattr(obj_1, 'is_marker') and hasattr(obj_2, 'is_target'):
obj_1.hit_target = True
if hasattr(obj_2, 'is_marker') and hasattr... | [
"Sivinious@users.noreply.github.com"
] | Sivinious@users.noreply.github.com |
6ce7c3b81e8347c816509e1759efdab460e04679 | 7733ae47afbf86989e1d3bfd06b9c4ca3edba0e1 | /data_structures/stacks/stack_using_linked_list.py | 0779cac32020c3ac7817c2ae4335cb52817268a7 | [] | no_license | EricMontague/Datastructures-and-Algorithms | 853ac290557e9ecf60c187401a7d576a99529ba7 | 2ce6d8b893f0b8affc8c880165fb3f7ecfdeb19b | refs/heads/master | 2021-07-25T14:59:59.059604 | 2021-01-26T18:24:44 | 2021-01-26T18:24:44 | 242,427,253 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,302 | py | """This module contains my implementation of a stack
based on a singly linked list.
"""
class StackItem:
"""Class to represent an item in a stack."""
def __init__(self, data):
self.data = data
self.next = None
class Stack:
"""Class to represent a stack based on a singly linked list."""
... | [
"eric.g.montague@gmail.com"
] | eric.g.montague@gmail.com |
2770858fad66ba1d79ddd11c3f997d027173e1b0 | 3c000380cbb7e8deb6abf9c6f3e29e8e89784830 | /venv/Lib/site-packages/cobra/modelimpl/ospf/actxpol.py | 93ffd6b54cfa9d3a6d2a078c3d3b02116afbdc08 | [] | no_license | bkhoward/aciDOM | 91b0406f00da7aac413a81c8db2129b4bfc5497b | f2674456ecb19cf7299ef0c5a0887560b8b315d0 | refs/heads/master | 2023-03-27T23:37:02.836904 | 2021-03-26T22:07:54 | 2021-03-26T22:07:54 | 351,855,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,769 | py | # coding=UTF-8
# **********************************************************************
# Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved
# written by zen warriors, do not modify!
# **********************************************************************
from cobra.mit.meta import ClassMeta
from cobra.m... | [
"bkhoward@live.com"
] | bkhoward@live.com |
9707670f3dec472dded3c7da0ce0d31e2033090f | d668209e9951d249020765c011a836f193004c01 | /tools/pnnx/tests/test_F_unfold.py | 51f19a4f48a4b788476ea755f31fd662ef8f4214 | [
"BSD-3-Clause",
"Zlib",
"BSD-2-Clause"
] | permissive | Tencent/ncnn | d8371746c00439304c279041647362a723330a79 | 14b000d2b739bd0f169a9ccfeb042da06fa0a84a | refs/heads/master | 2023-08-31T14:04:36.635201 | 2023-08-31T04:19:23 | 2023-08-31T04:19:23 | 95,879,426 | 18,818 | 4,491 | NOASSERTION | 2023-09-14T15:44:56 | 2017-06-30T10:55:37 | C++ | UTF-8 | Python | false | false | 1,747 | py | # Tencent is pleased to support the open source community by making ncnn available.
#
# Copyright (C) 2022 THL A29 Limited, a Tencent company. All rights reserved.
#
# Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the... | [
"noreply@github.com"
] | Tencent.noreply@github.com |
917f13939d079a68ba1420e76b3c3de9c30c2574 | 555b9f764d9bca5232360979460bc35c2f5ad424 | /google/ads/google_ads/v1/services/feed_mapping_service_client.py | db167566a014a7873d12dec695d51b7aa20a087b | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | juanmacugat/google-ads-python | b50256163782bc0223bcd8b29f789d74f4cfad05 | 0fc8a7dbf31d9e8e2a4364df93bec5f6b7edd50a | refs/heads/master | 2021-02-18T17:00:22.067673 | 2020-03-05T16:13:57 | 2020-03-05T16:13:57 | 245,215,877 | 1 | 0 | Apache-2.0 | 2020-03-05T16:39:34 | 2020-03-05T16:39:33 | null | UTF-8 | Python | false | false | 12,864 | py | # -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
"noreply@github.com"
] | juanmacugat.noreply@github.com |
a5513dfc2836838bb3c4606c9f502067189dd421 | fd3da963aa5ad8ff0d6cf0cc4c9d9ff05f9135ca | /apps/goodss/urls.py | dd136dd536f0526fb077f7ce93ae0e9e66f4032a | [] | no_license | huanshenyi/rental-system-backed | 083dbfe18d28e7f0111282a93c84c415098d07f5 | 3c9487dcb9e650036a2a533a10a3c66f762b6fdb | refs/heads/master | 2022-12-14T18:05:29.876973 | 2020-08-15T13:32:55 | 2020-08-15T13:32:55 | 281,384,752 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 393 | py | __author__ = "ハリネズミ"
from rest_framework.routers import DefaultRouter
from . import views
router = DefaultRouter(trailing_slash=False)
router.register("goods", views.GoodsViewSet, basename="goods")
router.register("category", views.CategoryViewSet, basename="category")
router.register("tag", views.TagViewSet, basename=... | [
"txy1226052@gmail.com"
] | txy1226052@gmail.com |
b28c117e4cb45e821c162342a952aaee187604aa | d2c4934325f5ddd567963e7bd2bdc0673f92bc40 | /tests/artificial/transf_BoxCox/trend_ConstantTrend/cycle_0/ar_12/test_artificial_128_BoxCox_ConstantTrend_0_12_100.py | 02cb32eb108b5b7dafaa5e8d7ad78612f5428a54 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jmabry/pyaf | 797acdd585842474ff4ae1d9db5606877252d9b8 | afbc15a851a2445a7824bf255af612dc429265af | refs/heads/master | 2020-03-20T02:14:12.597970 | 2018-12-17T22:08:11 | 2018-12-17T22:08:11 | 137,104,552 | 0 | 0 | BSD-3-Clause | 2018-12-17T22:08:12 | 2018-06-12T17:15:43 | Python | UTF-8 | Python | false | false | 272 | py | import pyaf.Bench.TS_datasets as tsds
import pyaf.tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 0, transform = "BoxCox", sigma = 0.0, exog_count = 100, ar_order = 12); | [
"antoine.carme@laposte.net"
] | antoine.carme@laposte.net |
1770713e3f35011aa2ee76ea0965250841cc4f2c | 08a851f0d7218beb6c32b5438595c44bb2498af9 | /library/migrations/0004_auto_20150908_1625.py | 3ed5fa8c629bbc36ffed2de3dd854b3f049ef822 | [] | no_license | KobiBeef/base_src | 47ff5a1ecbab0953f74b41533cafbd26eb428e16 | 975294df5edee8d1f441470a7e1cf8ce59778a0b | refs/heads/master | 2020-06-05T08:30:21.358458 | 2015-12-08T08:09:06 | 2015-12-08T08:09:06 | 41,631,457 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 362 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('library', '0003_testcomment'),
]
operations = [
migrations.AlterModelOptions(
name='contact',
option... | [
"ezekielbacungan@gmail.com"
] | ezekielbacungan@gmail.com |
a91ef44aa843bd22308c6d92577a6f5676cd70fc | d7fb8743b6faa4d948b2b08ca0dbdd3b0f11379b | /测试代码/keras/已经/1keras_lstm1/stock_lstm4.py | 9b08b23f74975fac2ad2d7555aae9d4185fb679b | [] | no_license | bancheng/Stock-market | 219e9882858e6d10edad1d13fba67dadbedc27ba | 142ea0eaed0fdccd8e79a51c34d66d1be1c336ed | refs/heads/master | 2021-01-20T15:13:14.667022 | 2017-09-10T06:31:10 | 2017-09-10T06:31:10 | 90,737,452 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,884 | py | from __future__ import absolute_import
from __future__ import print_function
import numpy as np
import cPickle as pkl
from keras.preprocessing import sequence, text
from keras.optimizers import SGD, RMSprop, Adagrad
from keras.utils import np_utils
from keras.models import Sequential
from keras.layers.core import Dens... | [
"tangdongge@buaa.edu.cn"
] | tangdongge@buaa.edu.cn |
dcaa2b75aea54efe2bc037a0cb330dd43ea637a2 | 53784d3746eccb6d8fca540be9087a12f3713d1c | /res/packages/scripts/scripts/common/Lib/tokenize.py | dbb11be960e4c212f4ff08c3cf20cf5dae2722a9 | [] | no_license | webiumsk/WOT-0.9.17.1-CT | 736666d53cbd0da6745b970e90a8bac6ea80813d | d7c3cf340ae40318933e7205bf9a17c7e53bac52 | refs/heads/master | 2021-01-09T06:00:33.898009 | 2017-02-03T21:40:17 | 2017-02-03T21:40:17 | 80,870,824 | 0 | 0 | null | null | null | null | WINDOWS-1250 | Python | false | false | 16,767 | py | # 2017.02.03 21:57:04 Střední Evropa (běžný čas)
# Embedded file name: scripts/common/Lib/tokenize.py
"""Tokenization help for Python programs.
generate_tokens(readline) is a generator that breaks a stream of
text into Python tokens. It accepts a readline-like method which is called
repeatedly to get the next line of... | [
"info@webium.sk"
] | info@webium.sk |
e8b83c5dc9d4999541cb30f76d63cb23ff3fff7d | 814992618962991b1b6dd6f1cdf2853687cbfcd0 | /examples/demo_013_HEOM.py | 8fee2c5b5ca6c9822e512aeed24a2b19cfcb9ad4 | [
"MIT"
] | permissive | MichalPt/quantarhei | a5db7916405236dc78778e4ef378141a19a28ff2 | 536d4f39bb7f7d6893664520351d93eac2bc90f1 | refs/heads/master | 2022-12-15T09:36:53.108896 | 2022-07-28T09:44:12 | 2022-07-28T09:44:12 | 226,359,238 | 1 | 0 | MIT | 2019-12-06T15:37:24 | 2019-12-06T15:37:23 | null | UTF-8 | Python | false | false | 7,159 | py | # -*- coding: utf-8 -*-
_show_plots_ = True
import time
import numpy
import quantarhei as qr
from quantarhei.qm.liouvillespace.integrodiff.integrodiff \
import IntegrodiffPropagator
print("")
print("***********************************************************")
print("* ... | [
"tmancal74@gmail.com"
] | tmancal74@gmail.com |
93b9fc099bbdf4f52185cf649eff703a84c41fea | 8adec48dfaee1cdfd6c7f4d2fb3038aa1c17bda6 | /WProf/build/third_party/twisted_8_1/twisted/flow/.svn/text-base/pipe.py.svn-base | 8b38e07fb29e21544889a65343483bfd058430b2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kusoof/wprof | ef507cfa92b3fd0f664d0eefef7fc7d6cd69481e | 8511e9d4339d3d6fad5e14ad7fff73dfbd96beb8 | refs/heads/master | 2021-01-11T00:52:51.152225 | 2016-12-10T23:51:14 | 2016-12-10T23:51:14 | 70,486,057 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,446 | # Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.
#
# Author: Clark Evans (cce@clarkevans.com)
"""
flow.pipe
This contains various filter stages which have exactly one input stage. These
stages take a single input and modify its results, ie a rewrite stage.
"""
from base import *
f... | [
"kusoof@kookaburra.(none)"
] | kusoof@kookaburra.(none) | |
07b9fc3d3d2f5b66826d0b99c52e23bcaeee837f | b3bf0dfda920950cbc4215a2f591606473398706 | /contact_manager/users/apps.py | b9b9054731b1bdc5afc95af824ba0d884b4ac2f8 | [] | no_license | adeelehsan/contact_manager | 34fa9d4fc9a6e03651b7e81cd144d9380629be33 | d5455a524726ca8577a628d6b2abb6885291e600 | refs/heads/master | 2020-03-25T18:07:28.213197 | 2018-08-08T13:08:34 | 2018-08-08T13:08:34 | 144,013,755 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 258 | py | from django.apps import AppConfig
class UsersAppConfig(AppConfig):
name = "contact_manager.users"
verbose_name = "Users"
def ready(self):
try:
import users.signals # noqa F401
except ImportError:
pass
| [
"adeel.ehsan@arbisoft.com"
] | adeel.ehsan@arbisoft.com |
0702dfcb63672e54fa4461c0fef1e5dec473a471 | d4442db5a7ab9db2b04fef640a9864f3fba54758 | /src/python/WMCore/RequestManager/RequestMaker/Processing/StoreResultsRequest.py | 6262e7d3ca23c220082d5f4d37caec6a43e306c8 | [] | no_license | stuartw/WMCore | fa25ff19ab5058a635d35d3c58a0ac56a3e079a1 | 38c39c43f7237fd316930839674ac9be3c0ee8cc | refs/heads/master | 2021-01-18T07:18:18.324604 | 2012-10-18T22:30:34 | 2012-10-18T22:30:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,051 | py | #!/usr/bin/env python
"""
_StoreResultsRequest_
"""
from WMCore.RequestManager.RequestMaker.RequestMakerInterface import RequestMakerInterface
from WMCore.RequestManager.DataStructs.RequestSchema import RequestSchema
from WMCore.RequestManager.RequestMaker.Registry import registerRequestType, retrieveRequestMaker
cl... | [
"metson@4525493e-7705-40b1-a816-d608a930855b"
] | metson@4525493e-7705-40b1-a816-d608a930855b |
49914a6ca92efeecfc33636379136600b1830cee | cb30d1a3a4fa6c8f7a6f89a671fbdb4a808e19e3 | /c6/prime-iter.py | b70bd78b2b00c2e5f38c042c7396b319d0036b5b | [] | no_license | systemchip/python-for-everyone | 0b45172ca5b41c3b5fc1a835fbccf4a479c282ea | 9fb7f751a97fb6a110079e1e3e1dd9601fb24374 | refs/heads/master | 2021-09-02T09:18:22.013704 | 2017-07-17T07:46:19 | 2017-07-17T07:46:19 | 115,913,547 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 924 | py | # 소수를 열거하는 이터레이터 클래스
class PrimeIter:
def __init__(self, max):
""" 최대값을 지정한다 """
self.max = max
def __iter__(self):
""" 값을 초기화한다 """
self.n = 1
return self
def __next__(self):
""" 다음 소수를 찾아서 반환한다 """
is_prime = False
self.n += 1
# 소수... | [
"dylee@wikibook.co.kr"
] | dylee@wikibook.co.kr |
95bdb414ed8a2d51ed63cf8f0efbbc304e79375f | 6aff904a5c464c3a7437a1136420e4aa10488456 | /chainer_/chainercv2/models/common.py | 7327ca12fb9c606a89b3b28f528138b243fcf0b5 | [
"MIT"
] | permissive | chenjun2hao/imgclsmob | 8c845ce108f5c58c2be708012e6d0f5d0b0c7548 | e6dcf77bf9b5505946befec18f5c54c244f70304 | refs/heads/master | 2020-06-16T05:40:10.847813 | 2019-07-05T21:05:36 | 2019-07-05T21:05:36 | 195,492,889 | 1 | 0 | MIT | 2019-07-06T03:26:20 | 2019-07-06T03:26:20 | null | UTF-8 | Python | false | false | 32,448 | py | """
Common routines for models in Chainer.
"""
__all__ = ['ReLU6', 'HSwish', 'GlobalAvgPool2D', 'conv1x1', 'conv3x3', 'depthwise_conv3x3', 'ConvBlock',
'conv1x1_block', 'conv3x3_block', 'conv7x7_block', 'dwconv3x3_block', 'dwconv5x5_block', 'PreConvBlock',
'pre_conv1x1_block', 'pre_conv3x3_bl... | [
"osemery@gmail.com"
] | osemery@gmail.com |
30f827f6ddccc3e1c29f529fc940673d80998089 | 55c250525bd7198ac905b1f2f86d16a44f73e03a | /Python/Lazymux/sqlmap/lib/core/optiondict.py | 28b61b85b21e4eae996bc3bcfdf792f120d171bf | [] | no_license | NateWeiler/Resources | 213d18ba86f7cc9d845741b8571b9e2c2c6be916 | bd4a8a82a3e83a381c97d19e5df42cbababfc66c | refs/heads/master | 2023-09-03T17:50:31.937137 | 2023-08-28T23:50:57 | 2023-08-28T23:50:57 | 267,368,545 | 2 | 1 | null | 2022-09-08T15:20:18 | 2020-05-27T16:18:17 | null | UTF-8 | Python | false | false | 129 | py | version https://git-lfs.github.com/spec/v1
oid sha256:d81f4b1eec17cebb5bc92268f0648acad5c4739e63d3fe400f570e68878dc011
size 7119
| [
"nateweiler84@gmail.com"
] | nateweiler84@gmail.com |
229f24e48680f186185ca451cd5de90fd1dd6eda | 0df73a877fd521b5e0ab95bb261751c87f1f4b39 | /Scripts/getBranchGroupFnPlanning.py | 39cf13426b15ffa606a9f6bd92b2b1dea52ecc56 | [] | no_license | bikiranguha/Bus-Map | 6bcb907c257e2dc4fcc47dd27772159b51fa2b08 | 8ef96e9027e3abb953834bd76981bcc689ef5250 | refs/heads/master | 2020-03-08T06:56:55.703128 | 2018-07-15T17:51:12 | 2018-07-15T17:51:12 | 127,983,097 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,868 | py | """
Function to generate a dictionary which will contain a list of ties of the bus.
Bus will not be present in keys if no ties connected to it
"""
import math
from Queue import Queue
#import sys
#sys.path.insert(0,'C:/Users/Bikiran/Google Drive/Bus Mapping Project Original/Donut Hole Approach/Donut Hole v2')
#from g... | [
"Bikiran Guha"
] | Bikiran Guha |
cb696f10d6758f10de4b5722c710e854e06b2176 | 6ef3fc3ffa5f33e6403cb7cb0c30a35623a52d0d | /samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_set_sync.py | 5fdcd34e44b44a9d64020ff62b4d50001492f599 | [
"Apache-2.0"
] | permissive | vam-google/python-vision | 61405506e3992ab89e6a454e4dda9b05fe2571f2 | 09e969fa30514d8a6bb95b576c1a2ae2c1e11d54 | refs/heads/master | 2022-08-15T08:40:35.999002 | 2022-07-18T16:04:35 | 2022-07-18T16:04:35 | 254,789,106 | 0 | 0 | Apache-2.0 | 2020-04-11T03:59:02 | 2020-04-11T03:59:01 | null | UTF-8 | Python | false | false | 1,432 | py | # -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | [
"noreply@github.com"
] | vam-google.noreply@github.com |
86896efeee052d4f2180465e41b53bf987d9a329 | d554b1aa8b70fddf81da8988b4aaa43788fede88 | /5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4137/codes/1575_1333.py | 2ce3117fcd60bfc1504426b60b1700c097748847 | [] | no_license | JosephLevinthal/Research-projects | a3bc3ca3b09faad16f5cce5949a2279cf14742ba | 60d5fd6eb864a5181f4321e7a992812f3c2139f9 | refs/heads/master | 2022-07-31T06:43:02.686109 | 2020-05-23T00:24:26 | 2020-05-23T00:24:26 | 266,199,309 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 93 | py | expressao = (30-(3 ** 2))+(8//3 ** 2) * 10
print((30 - ((3) ** 2)) + (8 // (3) ** 2)* 10 )
| [
"jvlo@icomp.ufam.edu.br"
] | jvlo@icomp.ufam.edu.br |
9bcfd3012eec0d28ee28b8ed6b7c79101f1c6b83 | 14a6cacd31c10bb582f8475388f8be1477bea4bc | /venv/bin/pip | eb26c24b06cec8348bef98595c55150991cad508 | [] | no_license | YixingLuo/deeplearning | 2760907039d6cf29c4609c2a82f79cd1b8c4a5ce | 6c2f712faac345547e8e50560640f61ac9423fd6 | refs/heads/master | 2020-04-30T14:29:34.784349 | 2019-03-22T00:48:02 | 2019-03-22T00:48:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 263 | #!/Users/luoyixing/PycharmProjects/Deeplearning-2/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from pip._internal import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"yixingluo@pku.edu.cn"
] | yixingluo@pku.edu.cn | |
1c88935573d4ec33c04ab459f2367009017d9a8e | 872cd13f25621825db0c598268ecd21b49cc2c79 | /Lesson_15/client/jim/constants.py | 9177b988ee7dc22ebac20bffc54f392cdef79639 | [] | no_license | ss2576/client_server_applications_Python | c4e9ebe195d23c8ca73211894aa50a74014013d5 | 9b599e37e5dae5af3dca06e197916944f12129d5 | refs/heads/master | 2022-12-15T10:40:22.935880 | 2020-08-12T11:02:21 | 2020-08-12T11:02:21 | 271,764,749 | 0 | 0 | null | 2020-06-12T10:05:00 | 2020-06-12T09:52:03 | Python | UTF-8 | Python | false | false | 513 | py | """ Module of constants used in jim protocol """
TYPE = 'type'
REQUEST = 'request'
RESPONSE = 'response'
ACTION = 'action'
TIME = 'time'
BODY = 'body'
CODE = 'code'
MESSAGE = 'message'
USERNAME = 'username'
PASSWORD = 'password'
SENDER = 'sender'
TO = 'to'
TEXT = 'text'
class RequestAction:
""" Class the storag... | [
"ss2576@mail.ru"
] | ss2576@mail.ru |
3ea54c81060a1f933135e5577dde53919207f182 | 286b6dc56323f982092ffafbfac8a32dbbaeb7ef | /training_assignments/SandipBarde/SandipBarde_day_5_assignment/exception_02.py | 99842d6af8c79e12aa1ef5f2077b2c9dc80d9a8e | [] | no_license | learndevops19/pythonTraining-CalsoftInc | ccee0d90aadc00bfdb17f9578620f6bf92f80a4c | c5f61516b835339b394876edd1c6f62e7cc6f0c3 | refs/heads/master | 2021-02-05T04:27:17.590913 | 2019-11-20T17:27:06 | 2019-11-20T17:27:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 430 | py |
class NegativePriceException(Exception):
def __init__(self, msg):
self.message = msg
if __name__ == "__main__":
price = float(input("Enter the price\n"))
try:
if(price < 0):
raise NegativePriceException("Inside the Exception:- Price is less than zero.")
else:
... | [
"rajpratik71@gmail.com"
] | rajpratik71@gmail.com |
2844c12c08b01fdbe4ddf201e376874c8b13a2d0 | 01f2986123256d03d731303daa68b742ea4fe23d | /Второй максимум.py | bbc8490544693dbda3ae5d4a80a48a3842bd4ba5 | [] | no_license | mayhem215/Python | 65e05176de50b1f589ca991ac5d9f03b4ca00fa2 | f974d89d52a5aa8553151ea15a8b62e7c7c07cf5 | refs/heads/master | 2020-04-08T11:03:20.372914 | 2018-11-27T07:07:09 | 2018-11-27T07:07:09 | 159,291,502 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 200 | py | m1 = int(input())
m2 = int(input())
if m1 < m2:
m1, m2 = m2, m1
n = int(input())
while n != 0:
if n > m1:
m2, m1 = m1, m2
elif n > m2:
m2 = n
n = int(input())
print(m2) | [
"mayhem15@mail.ru"
] | mayhem15@mail.ru |
7234eeb0580a75054d7eeaf9b5af157f790f9236 | 0567517ff7c0366b58e52d7fa96b651e97af5d82 | /apps/cmdb/views_old.py | 704a236968e584c5c511aea688b5b2ee231ad001 | [] | no_license | m6ttl/smartpipes | fdb9976b11d6c520953c240872d2574b1a69ec55 | 2d5846143dbf7b44c36491dd1787c36ebbe4fe0d | refs/heads/master | 2022-12-09T10:46:38.594820 | 2020-03-09T13:01:07 | 2020-03-09T13:01:07 | 246,028,233 | 0 | 0 | null | 2022-12-08T03:46:02 | 2020-03-09T12:20:32 | HTML | UTF-8 | Python | false | false | 12,215 | py | from __future__ import unicode_literals
# encoding: utf-8
import math
from django.shortcuts import render
from django.shortcuts import HttpResponse
from django.http import HttpResponse
from django.template import loader
from pyecharts import Line3D
from pyecharts import Geo
from pyecharts import GeoLines... | [
"steve_wei@163.net"
] | steve_wei@163.net |
4a71558e39cfe45057c00d2d00e55cb99ba434b8 | c3a3ae45f6fb22bdb3c622498c7ff1c2c2732f6a | /day20/homework/s12bbs/bbs/views.py | 7c19039a94703905939c5b42343c2ea255fe2444 | [] | no_license | huyuedong/S12 | df6b56cf05bb9f9c4a6e54b6a5228f1715e20245 | 61aa6d91f4e70f87c9b4c4b1e2042d5eeb2e2c3d | refs/heads/master | 2020-12-14T08:50:57.514965 | 2016-07-30T01:45:03 | 2016-07-30T01:45:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,285 | py | from django.shortcuts import render, redirect, HttpResponse
from bbs import models
from django.db.models import F, Q, Count, Sum, aggregates
from bbs import forms
from bbs.bll import uploadfile_handler, comments_handler
from datetime import datetime, timezone
# Create your views here.
# 从数据库中找出所有set_as_top_menu=True... | [
"liwenzhou7@gmail.com"
] | liwenzhou7@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.