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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1f49226de6a937a2446a672f978dfcee50e12379 | dea198896f679e577a3fd0923e3fa4470da4b9cc | /journal/pyfakefs_mutants/LCR_BoolOp_mutant_1507055465.py | 26bd0cf441af76594af236ad2c0fa0dba0140aaf | [] | no_license | naustarg/cbmcmutate | f138ab2b04b4be70d735de90815ac670ae6042ce | a6ee6fd395338bb2dfd6bdffabb2dc484cb303f1 | refs/heads/master | 2020-04-04T08:10:15.913309 | 2018-05-21T18:23:58 | 2018-05-21T18:23:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 219,332 | py | # line: 91
'A fake filesystem implementation for unit testing.\n\n:Includes:\n * FakeFile: Provides the appearance of a real file.\n * FakeDirectory: Provides the appearance of a real directory.\n * FakeFilesystem: Provides the appearance of a real directory hierarchy.\n * FakeOsModule: Uses FakeFilesystem to pr... | [
"[email protected]"
] | |
7429637b3d1eff61bac629cdaf2031d9d72d1832 | a29c6e83ae4f9010941d15c8fd4cfc67680bb054 | /ml/m15_randomSearch3.py | 676fef1a96a144265ebefcfd7f4e4e1df752e92b | [] | no_license | ym0179/bit_seoul | f1ff5faf4ae20fbc8c0e2ed10a005f8bd4b2c2b8 | 14d1fb2752312790c39898fc53a45c1cf427a4d1 | refs/heads/master | 2023-02-27T19:52:23.577540 | 2021-02-08T00:30:16 | 2021-02-08T00:30:16 | 311,265,926 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,570 | py | #Day12
#2020-11-24
# 당뇨병 데이터
# 모델 : RandomForestRegressor
import pandas as pd
from sklearn.datasets import load_diabetes
from sklearn.model_selection import train_test_split, KFold, cross_val_score, GridSearchCV, RandomizedSearchCV
from sklearn.metrics import accuracy_score, r2_score
import warnings
from sklearn.svm i... | [
"[email protected]"
] | |
13264a103e66b2e23f72deff4819ceff21da6eca | 1eb2d7d2a6e945a9bc487afcbc51daefd9af02e6 | /eds/controller/__init__.py | deebe85d22d41b69dab825eb5fd53a7005d7ea4e | [] | no_license | fengges/eds | 11dc0fdc7a17b611af1f61894f497ad443439bfe | 635bcf015e3ec12e96949632c546d29fc99aee31 | refs/heads/master | 2021-06-20T04:43:02.019309 | 2019-06-20T12:55:26 | 2019-06-20T12:55:26 | 133,342,023 | 0 | 3 | null | null | null | null | UTF-8 | Python | false | false | 1,143 | py |
# author :feng
# time :2018/1/25
# function : 扫描所有文件,找出所有蓝图并注册
import os,sys
from flask import Blueprint
#------------扫描所有文件----------
bp_file=[]
def eachFile(filepath):
try :
pathDir = os.listdir(filepath)
except:
return
for allDir in pathDir:
# 忽略__开头的文件和文件夹
if... | [
"[email protected]"
] | |
6d118674593e7b3bc5b82d7ca42cd1c3846863ac | 1fac53ab13a9a682ecd926857ef565fa779afae4 | /pro/13.py | 0b8d62883eb73d45ca1280fea31b7038e7b8463f | [] | no_license | Shamabanu/python-1 | 339123ff4e7667d6331c207cb1c7ca3fc775dc48 | 4c1642679bb0bdd53a1d21e5421e04eb7abda65b | refs/heads/master | 2020-04-13T23:49:27.700807 | 2018-12-29T15:10:26 | 2018-12-29T15:10:26 | 163,516,492 | 1 | 0 | null | 2018-12-29T14:16:28 | 2018-12-29T14:16:28 | null | UTF-8 | Python | false | false | 308 | py | def min(l,s,e):
min=999
for i in range(s,e+1):
if min>l[i]:
min=l[i]
return min
def main():
n=int(input())
l=[]
for i in range(n):
l.append(int(input()))
q=int(input())
out=[]
for i in range(q):
s=int(input())
e=int(input())
out.append(min(l,s,e))
for i in out:
print(i)
p
| [
"[email protected]"
] | |
fc4eba5935059e6128b133cc2c060cdb972f9a15 | dcf2ab4e1a66d53eaaa1260a8824882fbd0bbd9f | /bonus of salary.py | f4ca9a0bd3e168131d1e460d06d77175392a50b1 | [] | no_license | gauriindalkar/if-else | a54189ef8e6368be5cc6b8a9fdafa6e9497843be | fac48790ffb9f6d021eff921a80ff57e399a4f77 | refs/heads/main | 2023-05-11T05:59:13.275673 | 2021-05-29T17:24:19 | 2021-05-29T17:24:19 | 371,955,342 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 153 | py | salary=int(input("enter salary"))
years=int(input("enter year of salary"))
if years>5%100:
print("bonus is",5/100*salary)
else:
print("no bonus") | [
"[email protected]"
] | |
b1d060eda455ff0f11063c05df77ac25e88142cf | 80694fba85a4096e9069d836ab71917d5f8b3540 | /rpc_less1/__init__.py | fc1860f538e1d6f1da72aa51a8c431fc4e400142 | [] | no_license | gitletian/zerorpc_test | dad732fd3d9086bbf4200e2d6b790afb377bb685 | 7f11a62dee1ea71cf1ed743c7bc17a3397a806c8 | refs/heads/master | 2021-06-23T18:25:37.210949 | 2019-07-09T07:59:39 | 2019-07-09T07:59:39 | 147,283,404 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 117 | py | # coding: utf-8
# __author__: ""
# like https://github.com/0rpc/zerorpc-python/blob/master/tests/test_middleware.py
| [
"[email protected]"
] | |
a42aa2ddf7f80efdf7902f6b7dd7298a8d9b657a | 23b333449524887594530f73c0079ce60cb8eefb | /python_module/examples/279_Perfect_Squares.py | 2b38c220680fe826fc33b7042145e52e6e043b5d | [] | no_license | benbendaisy/CommunicationCodes | 9deb371095f5d67e260030d3d8abf211c90e7642 | 444cc502ef26810b46115797f2e26ab305a4ebdf | refs/heads/master | 2023-08-09T21:46:58.691987 | 2023-07-20T05:11:39 | 2023-07-20T05:11:39 | 27,856,438 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,495 | py | import math
from cmath import sqrt
from functools import lru_cache
class Solution:
"""
Given an integer n, return the least number of perfect square numbers that sum to n.
A perfect square is an integer that is the square of an integer; in other words, it is the product of some integer with itsel... | [
"[email protected]"
] | |
855c6aaf9eed566e4170ab64ac60019fbc1e0d0a | 76fc4ffc931ce83cfdfc9846435d92f1f217af26 | /jmbo/migrations/0004_photosize_name_length.py | 00a8457f321175fcf2da3750bbc25a86dd0be0f3 | [] | no_license | praekelt/jmbo | 70d2a4c8c19ffcc0b10ed1b915c05a6453ecb3de | b674c14c6611191643870a070ca8c9f229776776 | refs/heads/develop | 2020-04-06T06:10:09.524522 | 2018-06-08T10:52:42 | 2018-06-08T10:52:42 | 1,899,978 | 4 | 6 | null | 2018-06-08T10:52:43 | 2011-06-15T12:29:27 | Python | UTF-8 | Python | false | false | 1,126 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.6 on 2016-05-30 12:47
from __future__ import unicode_literals
from django.core.validators import RegexValidator
from django.db import migrations, models
from django.utils import timezone
# We're modifying a field from another app. This requires trickery.
def fix_app... | [
"[email protected]"
] | |
4220343014eaae108a86cbbe3bc8fb5c6a51211b | f80255edf86a11ca237fd123485cc6af8e121fb6 | /build/lib/woe/eval.py | eafd44d7944da70efb52849d66d65167a5ba44a1 | [
"MIT"
] | permissive | AllenChai/woe | f0d04bf93a590113798f9085f95ecfb80fcd8ae3 | 421cb8ef10627ecf667c625a89e3d25fc0ac7b68 | refs/heads/master | 2021-07-15T16:13:48.955926 | 2017-10-12T10:04:50 | 2017-10-12T10:04:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 19,302 | py | # -*- coding:utf-8 -*-
__author__ = 'boredbird'
import pandas as pd
import numpy as np
import scipy
import matplotlib.pyplot as plt
def eval_feature_detail(Info_Value_list,out_path=False):
"""
format InfoValue list to Dataframe
:param Info_Value_list: Instance list of Class InfoValue
:param out_path:sp... | [
"[email protected]"
] | |
d7870a40f1c0cc50e7e98e6853dcf6f4cf63878b | d554b1aa8b70fddf81da8988b4aaa43788fede88 | /5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/3995/codes/1672_1950.py | d9036258f64b368da9802335bbf86f788d624ec8 | [] | 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 | 253 | py | t=float(input("temperatura:"))
v=float(input("velocidade:"))
o=13.12+(0.6215*t)-(11.37*(v**0.16))+(0.3965*t*(v**0.16))
if((t>=-50 and t<10)and(v>=4.8)):
print(round(o, 4))
elif(v<4.8):
print("Velocidade invalida")
else:
print("Temperatura invalida") | [
"[email protected]"
] | |
c9e3a5a2870c9edd52b272704f1a5fe5d524c02d | 8a25ada37271acd5ea96d4a4e4e57f81bec221ac | /usr/share/pyshared/ajenti/plugins/fm/fm.py | aecbcde1a5101d2dbf7369b8b8633ab88fc1226e | [
"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 | 10,685 | py | import gevent
import grp
import logging
import os
import pwd
from ajenti.api import *
from ajenti.api.http import *
from ajenti.plugins.configurator.api import ClassConfigEditor
from ajenti.plugins.main.api import SectionPlugin, intent
from ajenti.ui import on
from ajenti.ui.binder import Binder
from backend import F... | [
"[email protected]"
] | |
ebf0411cf8fd15124d51fefb1d9fce1ff401d78a | 4ca07649f61d70b8803481e89f0f35a3ad7f7f4c | /Jamie/env/bin/pyrsa-priv2pub | 9f127f79577a4e19d9b15f291939113e553dddc1 | [] | no_license | coralisland-git/web-spider-cloud | b5ab74ea4b2188dd18281618ecaf3337163bd4d1 | 1da2aca0c28e6e08db1978939007706fdf60779e | refs/heads/master | 2021-04-09T15:47:18.220441 | 2018-06-01T16:09:55 | 2018-06-01T16:09:55 | 125,665,826 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 303 | #!/media/apple/f50223eb-8502-4183-93ad-3e6be8fce2e0/work/scrapy/Jamie/env/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from rsa.util import private_to_public
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(private_to_public())
| [
"[email protected]"
] | ||
241fa6b221f9014d153bddf461f56f124deed35d | bf0d7c8d987d5fda14208eb9ce70e31c83c25c25 | /c-ex4/viz_hidden.py | 77f2b6e5a6e6b235b4949916dff588d425775ba8 | [] | no_license | SummerBigData/SamRepo | 7876e9393c7175e300e175a60c17633c3b23a1bb | fd84ad654370faa48c084349952c2921fde4032d | refs/heads/master | 2020-03-18T05:09:08.787956 | 2018-06-18T17:11:49 | 2018-06-18T17:11:49 | 134,327,137 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 824 | py | import matplotlib.pyplot as plt
import numpy as np
from nn_util import *
n = 400
k = 10
s = [n, 25, k]
L = len(s)
sizes = [(s[i+1], s[i]+1) for i in range(L-1)]
theta_flat = np.genfromtxt('weights.txt')
thetas = thetas_from_flat(theta_flat, sizes)
theta_h = thetas[0][:,1:]
def inv_sigmoid(a):
return np.log(a/(1-a)... | [
"[email protected]"
] | |
c348b8fbf62271f2569db6ac5e932e2083f492cd | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02687/s366330739.py | 8212de878e4731ef97587ca957ac1639f31d7b1e | [] | 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 | 148 | py | # A - A?C
# 'ABC'には'ARC'を、'ARC'には'ABC'を返す
S = str(input())
if S == 'ABC':
print('ARC')
elif S == 'ARC':
print('ABC')
| [
"[email protected]"
] | |
f82670200f5a400d8e48a8b174a2cd82239ab27d | 46ce38eacc390e549944d2e73020cbfd7e0b020d | /ml/rl/test/gym/world_model/state_embed_gym.py | 5e5bb9f273deb929dd36f4d255e2f21d9f25bbcf | [
"BSD-3-Clause"
] | permissive | sdaulton/ReAgent | 0ae229da0f55ce0bf0108c5bc7bf481dc42aeb66 | 426d4915dcd90beb3c3781d030c64e748e336351 | refs/heads/master | 2020-09-06T18:44:23.454865 | 2019-11-07T22:34:47 | 2019-11-07T22:36:20 | 220,512,766 | 2 | 0 | NOASSERTION | 2019-11-08T17:07:30 | 2019-11-08T17:07:30 | null | UTF-8 | Python | false | false | 9,698 | py | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
"""
This file shows an example of using embedded states to feed to RL models in
partially observable environments (POMDPs). Embedded states are generated by a world
model which learns how to encode past n observations into a ... | [
"[email protected]"
] | |
6be70691a6a372ac9c7ec40b4679883b2939e460 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /build/android/pylib/constants/__init__.py | 80ad2c1a8b45589070e60fb4c57c2f19f2485186 | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | Python | false | false | 7,735 | py | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Defines a set of constants shared by test runners and other scripts."""
# TODO(jbudorick): Split these constants into coherent modules.
# pylint: di... | [
"[email protected]"
] | |
3ce273ff7c46fa17acd4b7832d4e488d178af564 | c5278643c1df2a0c1a83156f764ba7b2ebcc8cb8 | /hc/api/tests/test_pause.py | e6c3d4142b8b6977190901b14f8e040aea1f06a6 | [
"BSD-3-Clause"
] | permissive | protostartup/healthchecks | a5757584c4506282d488aff207676f54241c975c | 25e48f1b9fff10866e4d6a0f875912527a5160bc | refs/heads/master | 2020-04-11T15:24:42.495688 | 2018-12-14T16:58:35 | 2018-12-14T16:58:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,978 | py | from hc.api.models import Check
from hc.test import BaseTestCase
class PauseTestCase(BaseTestCase):
def test_it_works(self):
check = Check(user=self.alice, status="up")
check.save()
url = "/api/v1/checks/%s/pause" % check.code
r = self.client.post(url, "", content_type="applicati... | [
"[email protected]"
] | |
13ef81d0170c88304adc0fe294d740fb507ae0ef | 7755efce8e5ec81943ceb491590fae29eaad798a | /Codecademy Lesson 3 Control Flow/L3.5_Boolean_Operators_And.py | 8413b9f09629808f478ec877dbcf37d340a3cfe0 | [] | no_license | jashidsany/Learning-Python | 01b3f2f207dfdf6d31f9ca9f5abd38aab710ba1d | 2c9926fd1b159441cbe8e9e30f0804d99b936573 | refs/heads/main | 2023-02-20T03:59:15.123009 | 2021-01-25T01:12:19 | 2021-01-25T01:12:19 | 319,205,996 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 273 | py | statement_one = (2 + 2 + 2 >= 6) and (-1 * -1 < 0)
print(statement_one)
statement_two = (4 * 2 <= 8) and (7 - 1 == 6)
print(statement_two)
def graduation_reqs(gpa, credits):
if gpa >= 2.0 and credits >= 120:
return "You meet the requirements to graduate!"
| [
"[email protected]"
] | |
c8a947e165c9e763ad4bdf98bb89237d7e4bf66e | 021cf3a95271c46647c45427ca6f4e951a1eacb0 | /2020/B/b.py | 3a2882390d01d691f8a0dd5c7c016017fb86c480 | [] | no_license | calvinchankf/GoogleKickStart | 9c5fe0a2537c4efba79aa9352284a0b1e6e65445 | dbcd259b756785ee2864915c22c5ee6abe270581 | refs/heads/master | 2023-02-12T14:05:59.787258 | 2023-02-11T16:19:50 | 2023-02-11T16:19:50 | 182,479,858 | 3 | 3 | null | null | null | null | UTF-8 | Python | false | false | 695 | py | """
math
Small Pass
Big Pass
"""
def f(nums, D):
rightMost = D
for i in range(len(nums)-1, -1, -1):
rightMost = nums[i] * (rightMost // nums[i])
return rightMost
# a = [3, 7, 2]
# print(f(a, 10))
# a = [11, 10, 5, 50]
# print(f(a, 100))
# a = [1,1]
# print(f(a, 1))
# input() ... | [
"[email protected]"
] | |
d3854df5c0cfad528f8a66d04ee219f3398b3031 | f572e0a4b843ed3fd2cd8edec2ad3aab7a0019d3 | /ows/wcs/v20/exceptions.py | 8b2d542a5baad97f4eec81ecbf70515ef3aeeb76 | [
"MIT"
] | permissive | EOxServer/pyows | 9039c8ed7358c98d736e2b8fd9f47be944f0b0a1 | e09310f992d6e69088940e9b5dbd7302f697344b | refs/heads/master | 2022-10-09T23:27:43.884159 | 2022-10-04T10:03:25 | 2022-10-04T10:03:25 | 218,005,699 | 1 | 1 | null | 2022-01-04T13:36:06 | 2019-10-28T09:01:51 | Python | UTF-8 | Python | false | false | 3,719 | py | # ------------------------------------------------------------------------------
#
# Project: pyows <http://eoxserver.org>
# Authors: Fabian Schindler <[email protected]>
#
# ------------------------------------------------------------------------------
# Copyright (C) 2019 EOX IT Services GmbH
#
# Permission is ... | [
"[email protected]"
] | |
fb90ef3f04640975faca0418775ddddf8837d8db | 187c27b5d1255f3f08ec87a4bb51cc4056d8e2da | /agents/views.py | 27ef869b7b3b066d67c3ea077e6f104ce339b5d1 | [] | no_license | LKingJ23/Django-Hotel-Site | 1f589154d9475731d015c823e83815292b962e11 | 49b1bef7425ff63bf8ec3e178629ccc2bab45c1f | refs/heads/master | 2020-06-14T20:22:17.310187 | 2019-07-03T19:41:30 | 2019-07-03T19:41:30 | 195,115,416 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 268 | py | from django.shortcuts import render
from .models import Agent
# Create your views here.
def agents_list(request):
agent_list = Agent.objects.all()
template = 'agents/agents.html'
context = {
'agent_list': agent_list
}
return render(request, template, context) | [
"[email protected]"
] | |
bc29b15eabbd22e4af5e1f1da7d7846fe6fa794d | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_387/ch136_2020_04_01_12_06_52_438302.py | 5a78febe80669c25bdb2163ef7afb2a5b120d898 | [] | 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 | 1,151 | py | import random as rnd
def dicas(soma):
num1 = int(input('Primeiro número: '))
num2 = int(input('Segundo número: '))
num3 = int(input('Terceiro número: '))
nums = [num1, num2, num3]
if soma in nums:
return("Está entre os 3")
else:
return("Não está entre os 3")
dado1 = rnd.randin... | [
"[email protected]"
] | |
d4e0bae3805afbac2f13e7fb4aaa6af639b860f7 | 297497957c531d81ba286bc91253fbbb78b4d8be | /testing/mochitest/pywebsocket3/mod_pywebsocket/util.py | 351ca9fac84852ce0760931431fd2b91c8ebd766 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | Python | false | false | 10,317 | py |
"""WebSocket utilities."""
from __future__ import absolute_import
import array
import errno
import logging
import os
import re
import six
from six.moves import map
from six.moves import range
import socket
import struct
import zlib
try:
from mod_pywebsocket import fast_masking
except I... | [
"[email protected]"
] | |
761d376738dff5065eb205f52483975c3895404c | 11e3ca0f8332835bd28ed69b20729079d071289c | /devel/lib/python2.7/dist-packages/custom_sys_msgs/msg/_TrackPathActionResult.py | 53fa8b36dc54d0f018d69916ce9299010e3403e2 | [] | no_license | huan-holmes/roswrok | 7d90cdb97f3b8af849968de0e498df64448454bd | 3d7b15cd53a5f14e40538c1b8fc330e96ae8d379 | refs/heads/master | 2022-12-08T13:12:31.850804 | 2020-09-08T01:47:38 | 2020-09-08T01:47:38 | 293,672,544 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,026 | py | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from custom_sys_msgs/TrackPathActionResult.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
import custom_sys_msgs.msg
import genpy
import actionlib_msgs.msg
import std_msg... | [
"[email protected]"
] | |
1b748902903c60969cc84f3c2ff0c43c78765de4 | 03e1bef3d11a7b925b43b18f002c74ffd82d170c | /caffe2/python/layers_test.py | 77918792a46a814f8fff3ea91477245fdf0efeee | [
"BSD-2-Clause",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | ConeyFly/caffe2 | 7f921816e9585ec2a49889d2500be50b4e0c9c8b | bcf8f149b3bf05611c7f7e1c769b75f5bc49cdc7 | refs/heads/master | 2021-01-01T04:04:23.326615 | 2017-08-19T01:19:21 | 2017-08-19T01:19:21 | 97,118,593 | 0 | 0 | null | 2017-07-13T12:08:39 | 2017-07-13T12:08:39 | null | UTF-8 | Python | false | false | 32,695 | py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import hypothesis.strategies as st
import numpy as np
import numpy.testing as npt
from hypothesis import given
import caffe2.python.hypothesis_test_util as hu
from caff... | [
"[email protected]"
] | |
75f729bc861f9e09e111d25926334f32e7145824 | 099deeb2c308bdc00a2c423743e4b2aacdac866c | /week1/searching_lyrics/youngyun.py | ba410784e8f79a376a70247b82107a7c61ea8364 | [] | no_license | Joonsun-Hwang/coding-test-study-lamda | 76fed2f18a3220f6731775984425dff49b4379eb | 0632ec9dd60024203ed10ebeab07aa7da4782806 | refs/heads/main | 2023-05-01T21:31:48.174944 | 2021-05-05T09:48:23 | 2021-05-05T09:48:23 | 329,205,708 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,163 | py | # 지나치게 코드가 길며 시간복잡도도 상당히 좋지 않음 글자를 하나하나 맞춰보는 경우 O(n^3)인 경우도 생성됨
def solution(words, queries):
answer = []
print(words)
for query in queries:
match = 0
for word in words:
flag = True
j = 0
i = 0
if len(word) != len(query): # 애초에 길이가 다르면 비교 가치... | [
"[email protected]"
] | |
e51ebc17d32c53b6a368d0019d094b269df2bf23 | e44d77c4d22a9cd0aa0a536d6d4e522359eedc81 | /trialscompendium/trials/api/urls.py | eb740a50c49131d2158a35228430de7d7ed74501 | [
"MIT"
] | permissive | nkoech/trialscompendium | cfd3f65a88a32e3f71bc27cba6a4ae777e319af4 | 9cd2c28a22957b84d97d87eb6b7b9b1b8616bacb | refs/heads/master | 2021-01-01T04:54:18.162744 | 2018-04-17T15:40:05 | 2018-04-17T15:40:05 | 97,270,861 | 2 | 2 | MIT | 2018-02-15T09:48:23 | 2017-07-14T20:36:19 | Python | UTF-8 | Python | false | false | 1,414 | py | from django.conf.urls import url
from .views import (
plot_views,
trial_yield_views,
treatment_views,
)
# Treatment URLs
urlpatterns = [
url(
r'^treatment/$',
treatment_views['TreatmentListAPIView'].as_view(),
name='treatment_list'
),
url(
r'^treatment/create/$',... | [
"[email protected]"
] | |
aec98a6c7f1944baa6fd27a6ecf9f0ca61fb45e8 | cfa632132cd29a0b58e7f45b441ea4f62b0f5eba | /flytekit/models/admin/workflow.py | 91e82252b40cf9f189066fa756e314dbf9e671ad | [
"Apache-2.0"
] | permissive | chixcode/flytekit | 5b4f2e687e82a0d6527411afcdaf0929a94adb13 | f901aee721847c6264d44079d4fa31a75b8876e1 | refs/heads/master | 2020-08-24T00:06:02.808187 | 2019-10-14T18:34:19 | 2019-10-14T18:34:19 | 216,729,272 | 1 | 0 | Apache-2.0 | 2019-10-22T05:22:01 | 2019-10-22T05:22:00 | null | UTF-8 | Python | false | false | 3,275 | py | from __future__ import absolute_import
from flytekit.models import common as _common
from flytekit.models.core import compiler as _compiler_models, identifier as _identifier
from flyteidl.admin import workflow_pb2 as _admin_workflow
class WorkflowSpec(_common.FlyteIdlEntity):
def __init__(self, template):
... | [
"[email protected]"
] | |
b3afe55fffeda671f0363abb51fa4c1e66106c94 | 79ed3f72555aad8548634f523f775f34cfe166e7 | /catch/datasets/hag1.py | fdae6eb661d5e4cfaa9398d0e382898e7a03c753 | [
"MIT"
] | permissive | John-Bioinfo/catch | a2ab188ed598767e7759f74227f24af2b284b379 | fe63b86bc41396c1da0b449ac440c6ae9e52b2c5 | refs/heads/master | 2020-03-18T09:29:10.315733 | 2018-04-17T18:36:47 | 2018-04-17T18:36:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 451 | py | """Dataset with 'Human associated gemyvongvirus 1' sequences.
A dataset with 2 'Human associated gemyvongvirus 1' genomes.
THIS PYTHON FILE WAS GENERATED BY A COMPUTER PROGRAM! DO NOT EDIT!
"""
import sys
from catch.datasets import GenomesDatasetSingleChrom
__author__ = 'Hayden Metsky <[email protected]>'
ds = Geno... | [
"[email protected]"
] | |
1a9adb679879e2543ec9b2ab25ece1e16b986fb3 | d569476dd95496339c34b231621ff1f5dfd7fe49 | /PyTest/SampleWebsite/tests/Pages/FeedbackForm.py | 9cd2c00d4dbc8431b3b190dfb5b56ffb0c4b290f | [] | no_license | monteua/Tests | 10f21f9bae027ce1763c73e2ea7edaf436140eae | 553e5f644466683046ea180422727ccb37967b98 | refs/heads/master | 2021-01-23T10:28:49.654273 | 2018-05-09T09:11:30 | 2018-05-09T09:11:30 | 93,061,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,914 | py | from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.common.exceptions import NoSuchElementException
#page URL
base_url = "CLASSIFIED"
# page locators
page_logo = "logo"
company_moto = "//*[@class='col-xs-8 align-center']//p"
company_name = "//*[@c... | [
"[email protected]"
] | |
0f4aaf1913e904c2aa767b8653cd38ce34ff30bf | 18eef6419da5721139df45b92c7557dbfa654347 | /apps/users/migrations/0004_auto_20180529_2258.py | 40546c416a804fa94b82a01a3ea68690b306a82b | [] | no_license | taoing/pymx | a36989f805c760b535954a0056dcbd8180b32ea3 | 3f24b8d417f1c1896cab73c623ab9774807f520d | refs/heads/master | 2020-03-18T20:58:37.435126 | 2018-06-09T15:16:49 | 2018-06-09T15:16:49 | 135,250,436 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 583 | py | # Generated by Django 2.0.3 on 2018-05-29 22:58
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0003_auto_20180529_1658'),
]
operations = [
migrations.AlterField(
model_name='user',
name='address',
... | [
"="
] | = |
762bbd897e6f2e90c32606aa1aa9c01022761f67 | 27a4eaa9b7052d3d65dd6c63952ac3055c73fbf0 | /ztst/tweet_100th.py | 1d0d4b8246f3b8f2602b011ce8729e61c5b6ef7b | [] | no_license | tobby2002/vec4ir | 84f4695dc0a58f6cca6aff3c970167893a5d8c68 | 8acd1e91cd9eb0a8625bdf18cc3c37d2b7cc2a44 | refs/heads/master | 2021-06-19T20:42:15.913189 | 2021-03-21T10:31:35 | 2021-03-21T10:31:35 | 190,150,202 | 0 | 0 | null | 2019-06-04T07:19:09 | 2019-06-04T07:19:09 | null | UTF-8 | Python | false | false | 1,135 | py | from sklearn.feature_extraction.text import TfidfVectorizer
words = ['the cat sat on the mat cat', 'the fat rat sat on a mat', 'the bat and a rat sat on a mat']
tfidf_vectorizer = TfidfVectorizer(min_df=1, use_idf=True)
tfidf_matrix = tfidf_vectorizer.fit_transform(words)
terms_name = tfidf_vectorizer.get_feature_names... | [
"tobby2002@gmailcom"
] | tobby2002@gmailcom |
7f4f6dc4aceff10b6bbf67daff605692bd017395 | cd08fe6948d6b743419cc5904764374dfaa7a0e2 | /apps/accounts/migrations/0001_initial.py | a140f0102164820ce482bef0d4416ca27406e347 | [] | no_license | divisible-by-hero/central-station | 2af493097be75a3c0299d9a10e76fafa8896cb66 | f6bc8a9cb9a502ffc49164187ebdcde2b51619c5 | refs/heads/develop | 2021-01-20T02:20:39.027229 | 2014-01-29T20:11:12 | 2014-01-29T20:11:12 | 955,878 | 5 | 1 | null | 2014-01-29T20:11:12 | 2010-10-02T03:08:57 | Python | UTF-8 | Python | false | false | 11,106 | py | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Account'
db.create_table('accounts_account', (
('id', self.gf('django.db.models.... | [
"[email protected]"
] | |
f0ac9ae13d2122d7c283b67e7d26a9210686fa38 | b08d42933ac06045905d7c005ca9c114ed3aecc0 | /src/coefSubset/evaluate/ranks/fiftyPercent/rank_4q5e_G.py | afe9e17d1c84d179371c4fcf47787fee1df0ea11 | [] | no_license | TanemuraKiyoto/PPI-native-detection-via-LR | d148d53f5eb60a4dda5318b371a3048e3f662725 | 897e7188b0da94e87126a4acc0c9a6ff44a64574 | refs/heads/master | 2022-12-05T11:59:01.014309 | 2020-08-10T00:41:17 | 2020-08-10T00:41:17 | 225,272,083 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,390 | py | # 9 July 2019
# Kiyoto Aramis Tanemura
# Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess... | [
"[email protected]"
] | |
396e5b33aa1c7bb304b0785bb82b1573c352d6c1 | 5598c24e484177d6a5b0772013247e3118c6dcf1 | /spatialmath/base/__init__.py | 8546e1251ff85aa70bc62e59f7205d645f82cc31 | [
"MIT"
] | permissive | krenshaw2018/spatialmath-python | 587136040267984cd6a431eaae3e89c8d740a7f9 | 95629b378422d58a4c77c62ebf3b189ef7a42824 | refs/heads/master | 2023-03-28T21:14:03.992328 | 2021-04-06T10:36:53 | 2021-04-06T10:36:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,058 | py | # Part of Spatial Math Toolbox for Python
# Copyright (c) 2000 Peter Corke
# MIT Licence, see details in top-level file: LICENCE
from spatialmath.base.argcheck import * # lgtm [py/polluting-import]
from spatialmath.base.quaternions import * # lgtm [py/polluting-import]
from spatialmath.base.transforms2d import ... | [
"[email protected]"
] | |
482a8b9237a2c8bf0e2469c9062327966a46c836 | ccc407c900ac36c57f2716adcdd28f38108d62ef | /models.py | a2cb7960d1b4b75f3ca645404af912b5cd09e2ce | [] | no_license | uditduhan23/YT_FastAPI_Celery_Redis_Flower_Introduction | d1b3f2f361ae0dc11be39eded78ccde45724b45e | 124b35e3af08330cd89f3658906ec54b2f623b46 | refs/heads/main | 2023-06-16T23:30:36.456816 | 2021-07-16T14:42:16 | 2021-07-16T14:42:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 561 | py | from sqlalchemy import Column, DateTime, Integer, String
from sqlalchemy.sql import func
from db_conf import Base
class Post(Base):
__tablename__ = "post"
id = Column(Integer, primary_key=True, index=True)
title = Column(String)
author = Column(String)
content = Column(String)
time_created =... | [
"[email protected]"
] | |
9eb3b5e4e4cdd96a839e5c24b404869c18d5e9ee | 480e33f95eec2e471c563d4c0661784c92396368 | /GeneratorInterface/GenFilters/test/test_isotrack_cfg.py | af5d058a84dc0c93779710cc9bfda12f465b9313 | [
"Apache-2.0"
] | permissive | cms-nanoAOD/cmssw | 4d836e5b76ae5075c232de5e062d286e2026e8bd | 4eccb8a758b605875003124dd55ea58552b86af1 | refs/heads/master-cmsswmaster | 2021-01-23T21:19:52.295420 | 2020-08-27T08:01:20 | 2020-08-27T08:01:20 | 102,867,729 | 7 | 14 | Apache-2.0 | 2022-05-23T07:58:09 | 2017-09-08T14:03:57 | C++ | UTF-8 | Python | false | false | 1,710 | py | import FWCore.ParameterSet.Config as cms
process = cms.Process("TEST")
process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
process.load("Configuration.StandardSequences.Services_cff")
process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
process.load("Configuration.EventContent.EventContent_cff")
process.lo... | [
"[email protected]"
] | |
d46c7e58abc3648273a301b1ff3f9c4f7e2b1214 | 2c0e8fa208f59fb3d23c7257cb9cff426fa16d85 | /ga4gh/backend.py | 2fdefbd883323811fd1ec9d7abe5a4cb4bec5766 | [
"Apache-2.0"
] | permissive | melaniedc/server | db24c37bf0e778630d0910a1101eeb908647b02e | 9fe974e421d2e4d3510e7928053edbbce47fd4bb | refs/heads/master | 2020-02-26T16:09:18.162175 | 2015-01-30T14:52:46 | 2015-01-30T14:52:46 | 26,870,317 | 0 | 0 | null | 2014-12-05T20:26:25 | 2014-11-19T16:28:39 | Python | UTF-8 | Python | false | false | 6,006 | py | """
Module responsible for handling protocol requests and returning
responses.
"""
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import os
import ga4gh.protocol as protocol
class Backend(object):
"""
The GA4GH backend. This class provides metho... | [
"[email protected]"
] | |
d06f9c02053dbaa64d0db28cc52b7690a08a2160 | adc6d8ee596e4710c3241332758bb6990bdd8914 | /subData/ejemplos ROI/ROI_V3.py | 48e1600ee1a3a5b4fbd7593a1e7397eb9abe764a | [] | no_license | NatalyTinoco/Trabajo-de-grado_Artefactos | cf9491c47a8a23ce5bab7c52498093a61319f834 | 5cc4e009f94c871c7ed0d820eb113398ac66ec2f | refs/heads/master | 2022-03-20T00:51:48.420253 | 2019-11-24T19:10:40 | 2019-11-24T19:10:40 | 197,964,659 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,225 | py | # -*- coding: utf-8 -*-
"""
Created on Mon Jul 15 22:32:38 2019
@author: Nataly
"""
import cv2
import pylab as plt
from matplotlib import pyplot as plt
import numpy as np
from pylab import *
from readimg import read_img #leer imagines ### img=read_img(imgfile)##
from skimage.morphology import disk
from skimage.fil... | [
"[email protected]"
] | |
5b01a0dbeb188b5186ce2c9757ac5da7a4312aa3 | 8e00a42f935ee15ed0dd27241f30fd2a909891c2 | /config.py | 481a95097620da6d15f1258a08e9dbf541d129a4 | [] | no_license | MrBrunotte/Microblog | c17965cc34b42332b95748adae75bd0abdd17996 | b1f33a843d717685481c22ab203c740a589177f2 | refs/heads/master | 2020-06-30T10:44:22.527410 | 2019-08-11T15:00:40 | 2019-08-11T15:00:40 | 200,802,140 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 691 | py | import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config(object):
SECRET_KEY = os.environ.get('SECRET_KEY') or 'you-will-never-guess'
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
'sqlite:///' + os.path.join(basedir, 'app.db')
SQLALCHEMY_TRACK_MODIFICATIONS = Fal... | [
"[email protected]"
] | |
e2cc047b7cd5216552d5667bf63496afc02e548b | e74463d223acfe6b849177177cb409060e7a44d1 | /Data Structures and Algorithms/01 Algorithmic Toolbox/Week 4 - Divide-and-Conquer/poly_mult.py | 3d6d01b5f543a0a0108a339b3a2bfa564fdb5742 | [] | no_license | AlexEngelhardt-old/courses | 24f4acf6de22f6707568024c5ee4a2fde412e461 | 739be99265b0aca1c58abe6f107b4c49de055b9d | refs/heads/master | 2023-05-05T22:25:50.327739 | 2020-12-09T14:57:46 | 2020-12-09T14:57:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,645 | py | def lfill(arr, length):
"""Prepends [0] elements to arr so that its total length is at least length."""
return [0] * (length - len(arr)) + arr
def poly_mult_naive(A, B):
"""Naive O(n^2) implementation of polynomial multiplication.
A and B are coefficient arrays:
Example
-------
A = 3x^2... | [
"[email protected]"
] | |
3c21c874290414cd6192f699632f2e64c674bd1f | 46e1db8df96707d3a2effbdea6d06e3622c7ecd7 | /tensorflow/contrib/distributions/python/kernel_tests/mvn_diag_plus_low_rank_test.py | 834877769e887b902f79ddb94aaedbc9cdc313f3 | [
"Apache-2.0"
] | permissive | adammalpass/tensorflow | eeb8973fcd220b55118207703919aa9df71506f4 | b340000aeeb2eae9b48354e42177fb03b30860db | refs/heads/master | 2021-01-22T08:33:52.824616 | 2017-02-20T09:04:33 | 2017-02-20T09:04:33 | 81,909,244 | 1 | 0 | null | 2017-02-14T05:37:57 | 2017-02-14T05:37:56 | null | UTF-8 | Python | false | false | 16,462 | 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... | [
"[email protected]"
] | |
58afd8e194a66d93081d602c1b5562695a2aacc7 | 7e41d70ee3bf07dc3043afef020cde173d5fb0bc | /airflow_client/client/model/resource.py | 4db2b1d4fdbe4e8423ff2bc14774439fc6e6dd11 | [
"Apache-2.0"
] | permissive | apache/airflow-client-python | fb11789076bfed191d730c459c84273781d50246 | 38d55888f7533253857baa878322007f4581fc21 | refs/heads/main | 2023-09-05T18:23:37.049610 | 2023-08-23T13:10:27 | 2023-08-23T13:10:27 | 275,569,232 | 251 | 44 | Apache-2.0 | 2023-08-23T07:49:13 | 2020-06-28T11:20:41 | Python | UTF-8 | Python | false | false | 19,801 | 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... | [
"[email protected]"
] | |
0e91187cd1c363c623c71648471d0a741b416aba | 0c66e605e6e4129b09ea14dbb6aa353d18aaa027 | /diventi/accounts/migrations/0118_auto_20190430_1544.py | 87abb4310a3d8a0e7ce02fa18928b782a13d894b | [
"Apache-2.0"
] | permissive | flavoi/diventi | 58fbc8c947f387cbcc1ce607878a59a6f2b72313 | c0b1efe2baa3ff816d6ee9a8e86623f297973ded | refs/heads/master | 2023-07-20T09:32:35.897661 | 2023-07-11T19:44:26 | 2023-07-11T19:44:26 | 102,959,477 | 2 | 1 | Apache-2.0 | 2023-02-08T01:03:17 | 2017-09-09T14:10:51 | Python | UTF-8 | Python | false | false | 452 | py | # Generated by Django 2.1.7 on 2019-04-30 13:44
import diventi.accounts.models
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('accounts', '0117_auto_20190430_1543'),
]
operations = [
migrations.AlterModelManagers(
name='diventiuser'... | [
"[email protected]"
] | |
4d39d846840e01114a83ec7bece187bdf76b160d | 82b946da326148a3c1c1f687f96c0da165bb2c15 | /sdk/python/pulumi_azure_native/kusto/v20210101/event_grid_data_connection.py | a5730756f74d4be6193881f22a8298b833bd3bfb | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | morrell/pulumi-azure-native | 3916e978382366607f3df0a669f24cb16293ff5e | cd3ba4b9cb08c5e1df7674c1c71695b80e443f08 | refs/heads/master | 2023-06-20T19:37:05.414924 | 2021-07-19T20:57:53 | 2021-07-19T20:57:53 | 387,815,163 | 0 | 0 | Apache-2.0 | 2021-07-20T14:18:29 | 2021-07-20T14:18:28 | null | UTF-8 | Python | false | false | 24,727 | py | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | [
"[email protected]"
] | |
78d8ff1315659190e523ddabf9753cb6e744b0aa | 3c000380cbb7e8deb6abf9c6f3e29e8e89784830 | /venv/Lib/site-packages/cobra/modelimpl/fv/rtsvcbdtobdatt.py | f1ffb7ed17d1fb278b7698c60d82bd28d78ea0a0 | [] | 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 | 4,548 | 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... | [
"[email protected]"
] | |
5577adbf39c30e7cfa89c76e8eb07f81dca2ff8c | 37c6507cb937312017fb05e1010007419e68e5a8 | /post_to_gminer/client_send.py | 94e58eb54cd07a652d151cf836a26292163b5a0e | [] | no_license | bbcf/gdv | 5fc04e186fd0487db6bce850538cba77e82b6284 | f8738e7dc49ca826e29f4454484d2da716389bd2 | refs/heads/master | 2021-01-21T19:28:54.558176 | 2011-07-01T15:01:21 | 2011-07-01T15:01:21 | 1,186,918 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,181 | py | # Modules #
import httplib2, urllib
# All parameters #
args = {
'data' : '''{"operation_type":"desc_stat","characteristic":"number_of_features","compare_parents":[],"per_chromosome":["per_chromosome"],"filter":[{"name":"Ribi genes","path":"/scratch/genomic/tracks/ribosome_genesis.sql"}],"ntracks":[{"nam... | [
"[email protected]"
] | |
2b72601aa35f22fe7285d28cc4fd151b2cd8bd11 | fa798e1779af170ee31bfd710a6faca9904a99ef | /6day/2. parameter2.py | ee3813869b83825983ac1f98dfcf349e50f27af4 | [] | no_license | itwebMJ/pythonStudy | 1c573f98b78ce8c9273ae17a44d59a5a26c61b2c | 8ea3112c9c587b6aeb8a5fa6ef715053286fbaae | refs/heads/master | 2023-06-28T05:37:29.239010 | 2021-08-06T08:01:54 | 2021-08-06T08:01:54 | 375,879,186 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 381 | py | def f1(*x): #가변인자. 튜플로 받아옴
print('함수시작')
for i in x:
print(i)
print('함수 끝')
def add(*num):
s = 0
for i in num:
s+=i
return s
def main():
f1()
f1('aaa', 'bbb')
f1('ccc','ddd','eee','fff')
s=add(1,2,3)
print('add(1,2,3):',s)
s=add(1,2,3,4,5)
print('ad... | [
"[email protected]"
] | |
bfba7db224c5d590de0eaa96f0737a4849accb57 | d094ba0c8a9b1217fbf014aa79a283a49aabe88c | /env/lib/python3.6/site-packages/nipype/interfaces/minc/tests/test_auto_Dump.py | bcca2a480195741d1cc2f4ccc5cdf6e3271a276a | [
"Apache-2.0"
] | permissive | Raniac/NEURO-LEARN | d9274e0baadd97bb02da54bdfcf6ca091fc1c703 | 3c3acc55de8ba741e673063378e6cbaf10b64c7a | refs/heads/master | 2022-12-25T23:46:54.922237 | 2020-09-06T03:15:14 | 2020-09-06T03:15:14 | 182,013,100 | 9 | 2 | Apache-2.0 | 2022-12-09T21:01:00 | 2019-04-18T03:57:00 | CSS | UTF-8 | Python | false | false | 1,907 | py | # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from __future__ import unicode_literals
from ..minc import Dump
def test_Dump_inputs():
input_map = dict(
annotations_brief=dict(
argstr='-b %s',
xor=('annotations_brief', 'annotations_full'),
),
annotations_full... | [
"[email protected]"
] | |
fa43a838c4978b258a9605d31ab39eb249c8b487 | ce76b3ef70b885d7c354b6ddb8447d111548e0f1 | /thing_and_time/year/different_group_or_way/own_hand/bad_woman/old_week.py | 9639b61edb0de71dc9e7ec473e80b69899594523 | [] | no_license | JingkaiTang/github-play | 9bdca4115eee94a7b5e4ae9d3d6052514729ff21 | 51b550425a91a97480714fe9bc63cb5112f6f729 | refs/heads/master | 2021-01-20T20:18:21.249162 | 2016-08-19T07:20:12 | 2016-08-19T07:20:12 | 60,834,519 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 219 | py |
#! /usr/bin/env python
def great_week(str_arg):
year_and_day(str_arg)
print('way_and_little_place')
def year_and_day(str_arg):
print(str_arg)
if __name__ == '__main__':
great_week('want_first_time')
| [
"[email protected]"
] | |
ea5aa6c50f98a175bed92349bae0a7dfb2f69265 | 13b70fefe74a4df57c80207a9f5fddb2c2474f1d | /Ui/Ui_FormConfig.py | f8737de39a52a6332ceafb06dfe1692b405643d9 | [] | no_license | golden7602/zion | 4f8ae947fd754d64de44bb16d9bd2bd7f8c819a5 | 70a5ba13eb1b504f94fdaceba7cc6d0564618c00 | refs/heads/master | 2021-07-01T13:46:03.769916 | 2020-12-01T11:15:01 | 2020-12-01T11:15:01 | 196,413,935 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,713 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'e:\Zion\zion\Ui\FormConfig.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
... | [
"[email protected]"
] | |
917dadb212ec658472de836a5b21d4d5c5744946 | 1cc17b2eb1c885389126299602dbaa3bbd1e6dd7 | /liaoxuefeng_python/innerbuilt/do_wearth_parse.py | cc2b69122069756e6f36f542b652328b8a61a467 | [] | no_license | shulu/python_note | e611093ff2af321fbc889167424574b214052b44 | 93b101a1723d2d47b435a25e81e447f0d5d95022 | refs/heads/master | 2021-01-02T22:47:53.717930 | 2019-03-26T08:55:48 | 2019-03-26T08:55:48 | 99,391,822 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,138 | py | # -*- coding: utf-8 -*-
from xml.parsers.expat import ParserCreate
import json
data = {}
textlist = []
class WeatherSaxHandler(object):
def start_element(self, name, attr):
if not name in data:
data[name] = []
data[name].append({'attr' : attr})
def char_data(self, text):
te... | [
"[email protected]"
] | |
d84e266712ab016b57c02f337ed36cb13b123d9a | 75e16fc6883e3e314b21ccf337beb0320bbcae50 | /train.py | 2f18cc8ed8e16739d9b6c577004d390b0b4c6768 | [] | no_license | mihirp1998/convHypernetComp | a0a9404ab6abf29a56733ea88d45a10f397d551d | 6ed0632af965b81ac38cf3ed7bd9215adadb1902 | refs/heads/master | 2021-08-18T11:11:32.464130 | 2020-04-24T23:44:15 | 2020-04-24T23:44:15 | 169,819,367 | 0 | 0 | null | 2019-02-09T18:08:45 | 2019-02-09T01:07:13 | Jupyter Notebook | UTF-8 | Python | false | false | 7,212 | py | import time
import os
import argparse
import numpy as np
import torch
import torch.optim as optim
import torch.optim.lr_scheduler as LS
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
import torch.utils.data as data
from torchvision import transforms
from torch.nn.parameter i... | [
"[email protected]"
] | |
04ca532abc1f721a651008e03b2fc480c37452cf | 9cd25c62e501741bbf4f982058ac60b8cdf815dc | /_unittests/ut_testing/test_template_dl_torch.py | 2ee7a06eb55e118202d4f461b0f1bb82357dabb5 | [
"MIT"
] | permissive | sdpython/lightmlrestapi | c60c2960b271e59750ebfe8fafc9c70304f92cbc | def172965eb197d8ab7f812c3f5f5ce129593cef | refs/heads/master | 2022-07-09T06:56:31.458790 | 2022-05-19T23:46:52 | 2022-05-19T23:46:52 | 110,975,162 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,329 | py | """
@brief test tree node (time=12s)
"""
import os
import unittest
import numpy
from PIL import Image
from pyquickhelper.pycode import get_temp_folder, ExtTestCase
from lightmlrestapi.testing.template_dl_torch import restapi_version, restapi_load, restapi_predict
def get_torch():
try:
import torch #... | [
"[email protected]"
] | |
2951978989a085b93e5ed9357c2bf2d6381a16a0 | 19a2378a7fc2aef762b0e3a70669208818feeaa9 | /src/transformers/models/upernet/modeling_upernet.py | 6143c57e92d598b2db52e36ef60bc3a18dff8085 | [
"Apache-2.0"
] | permissive | pytorch-tpu/transformers | 494ee005c6d156161171f2a8e60f25603189408f | 6112b1c6442aaf7affd2b0676a1cd4eee30c45cf | refs/heads/master | 2023-09-03T19:34:30.326852 | 2023-07-19T20:57:40 | 2023-07-19T20:57:40 | 220,075,881 | 7 | 2 | Apache-2.0 | 2023-09-14T17:58:25 | 2019-11-06T19:40:45 | Python | UTF-8 | Python | false | false | 17,414 | py | # coding=utf-8
# Copyright 2022 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | [
"[email protected]"
] | |
508d6ae083c9e4dd5e88df2f98ff5ffe1ed2f997 | f1790e298bcbf7b26cacd3c27850f243c446b9eb | /courses/pythonBrasil/EstruturaDeDecisao/ex006.py | e023d983077c2e8cfaf09eb5788f0c2eeb6359b5 | [] | no_license | misa9999/python | 36001a1bf0eb842d00b010b02e05b01aa4dfac57 | 251c5226db1bfef4a8445b025f232a27a6924930 | refs/heads/master | 2023-03-04T16:25:48.610233 | 2021-02-22T21:37:51 | 2021-02-22T21:37:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 359 | py | # pede três números e informa o maior deles
# pede os números
n1 = int(input('n1: '))
n2 = int(input('n2: '))
n3 = int(input('n3: '))
maior = n1
# verifica o maior número
if n2 > n1 and n2 > n3:
maior = n2
elif n3 > n1 and n3 > n2:
maior = n3
else:
print('Todos números são iguais')
print(... | [
"yuukixasuna00@gmailcom"
] | yuukixasuna00@gmailcom |
ad7faa54a46d5965e09d67a6f9c2c498b2bbbec0 | fcd965c9333ee328ec51bc41f5bc0300cc06dc33 | /DailyCoding/invert_tree.py | 9c1f7f53cc075075fb4ac08a3358a5e3da55f484 | [] | no_license | henrylin2008/Coding_Problems | 699bb345481c14dc3faa8bab439776c7070a1cb0 | 281067e872f73a27f76ae10ab0f1564916bddd28 | refs/heads/master | 2023-01-11T11:55:47.936163 | 2022-12-24T07:50:17 | 2022-12-24T07:50:17 | 170,151,972 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 813 | py | # Daily Coding Problem #83
# Problem
# This problem was asked by Google.
#
# Invert a binary tree.
#
# For example, given the following tree:
#
# a
# / \
# b c
# / \ /
# d e f
# should become:
#
# a
# / \
# c b
# \ / \
# f e d
# Solution
# Assuming we could invert the current node's left and ri... | [
"[email protected]"
] | |
59125fada11245cb2fd16d583346fea7808880f8 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03803/s808013287.py | d06c71951fe118e1fa63c59d59e0f64d918f0c20 | [] | 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 | 134 | py | a, b = map(int, input().split())
a = a if a > 1 else 14
b = b if b > 1 else 14
print("Alice" if a > b else "Bob" if a < b else "Draw") | [
"[email protected]"
] | |
076e9da84a5ca277c5b3c7a7d91b7c7594ad151a | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_118/2720.py | ad1a9ec15bca1a694901004c379c73f110bc065c | [] | 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 | 678 | py | def nopalin(li):
count = 0
for i in range(li[0], li[1]):
if ispalin(str(i)):
if ispalin(str(i**2)):
count += 1
return count
def ispalin(a):
return a == a[::-1]
infile = open('C-small-attempt0.in', 'r')
outfile = open('ansfairsq_small.in', 'w')
no = in... | [
"[email protected]"
] | |
a95fdccca63eabb8357efc31abfedb51d7ac8e83 | 17cc8bffed3fadb413506f1545c455d7b9406ed6 | /parts/zodiac/venusian/tests/fixtures/two/mod2.py | 538ca16324ce1614318fbae18501cdb30d38c29a | [] | no_license | stinett/zodiac | f7a4f788942930fa217e7e1c7d525b82a557258f | 22b247719694b0f5aa5135b3cb68c1e84aaf7629 | refs/heads/master | 2020-05-21T01:14:59.949571 | 2014-01-13T15:53:47 | 2014-01-13T15:53:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 90 | py | /home/stine/myenv/zodiac/eggs/venusian-1.0a8-py2.7.egg/venusian/tests/fixtures/two/mod2.py | [
"stine@funkydesktop.(none)"
] | stine@funkydesktop.(none) |
7593e3d69947e1c79ab1ac96622bbf72ed0e4f02 | b15d2787a1eeb56dfa700480364337216d2b1eb9 | /accelbyte_py_sdk/api/seasonpass/models/tier.py | 2f85703a05dbe98fe8aaa8b3cba6d42d71842b3a | [
"MIT"
] | permissive | AccelByte/accelbyte-python-sdk | dedf3b8a592beef5fcf86b4245678ee3277f953d | 539c617c7e6938892fa49f95585b2a45c97a59e0 | refs/heads/main | 2023-08-24T14:38:04.370340 | 2023-08-22T01:08:03 | 2023-08-22T01:08:03 | 410,735,805 | 2 | 1 | MIT | 2022-08-02T03:54:11 | 2021-09-27T04:00:10 | Python | UTF-8 | Python | false | false | 5,204 | py | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: ags_py_codegen
# AccelByte Gaming Services Seasonpass Service (1.19.0)
# pylint: disable... | [
"[email protected]"
] | |
ee3b20fc697c3d1f3fbf397a840d3b576efd3513 | cf1736096051056434ee38407fd0034d07c49044 | /test/testing/test_collect.py | 1f2251bbb1659c5134bb79bda56a52b33275875d | [
"MIT"
] | permissive | paskma/py | 5a41a50381ef7c35bc77b261941d7a0eff8553a8 | 92c92afa7096a167eb70ba82a526b879fbd27afd | refs/heads/master | 2020-05-20T05:49:17.301451 | 2013-01-20T16:01:44 | 2013-01-20T16:01:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,789 | py | from __future__ import generators
import py
from setupdata import setupdatadir
from py.__.test.outcome import Skipped, Failed, Passed, Outcome
def setup_module(mod):
mod.datadir = setupdatadir()
mod.tmpdir = py.test.ensuretemp('test_collect')
def skipboxed():
if py.test.config.option.boxed:
py.t... | [
"[email protected]"
] | |
8968a994c1fe106db75f16913d6a9a08c0008f85 | c2f0dbf82cb28670e83fd2f1da1a1741a59554c5 | /nonlinear/source/backup/deep_qrc.py | fe7c8e7b28306ec9c7d9e028eca9b0d718867beb | [
"MIT"
] | permissive | ZdM87/higher-order-quantum-reservoir | 526b8bf352ca6e07b19b28133b8a6e1af67db2ae | 7fc75d03bb5ff2398d245ed7c5d7939fad00ef96 | refs/heads/master | 2023-08-12T08:18:50.762744 | 2021-10-07T01:44:48 | 2021-10-07T01:44:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,629 | py | import sys
import numpy as np
import scipy as sp
import utils
import qrc
from scipy.special import softmax
def solfmax_layer(states):
states = np.array(states)
return softmax(states)
def linear_combine(u, states, coeffs):
assert(len(coeffs) == len(states))
v = 1 - np.sum(coeffs)
assert(v <= 1 and... | [
"[email protected]"
] | |
f36ba303596cbb747219a2c2e7f7ef047a3de25d | 555c6ae723f2466673b7e6aeea11e7071461bfb3 | /sakura/common/tools.py | 66706081a63c70c046e108faf53597dc919d3359 | [] | no_license | riteshms/sakura | 788ade92cd0f65fb891a737d0113b807bf955a33 | e8d2b4454c26ea80f6275a1bde293db38db73d30 | refs/heads/master | 2021-07-05T10:58:41.774892 | 2017-09-20T09:03:15 | 2017-09-22T14:53:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 920 | py | import sys, gevent
class StdoutProxy(object):
def __init__(self, stdout):
self.stdout = stdout
def write(self, s):
self.stdout.write(s)
self.stdout.flush()
def __getattr__(self, attr):
return getattr(self.stdout, attr)
def set_unbuffered_stdout():
sys.stdout = StdoutPro... | [
"[email protected]"
] | |
9ddee95515d2c6dfb8656282798aa121eb5100be | af62d7e773257ce7c6fb294590c1339e38c134e2 | /iampacks/cross/mercadopago/views.py | 9d8d80d127df578b3665c28b262e94353ad97708 | [] | no_license | sebasgoldberg/iampacks | 1e3355fc3a2818766bde0b0614883d1df8a1db76 | 887acb4ea83ff1c89a5b70383faa1f30a811d7e7 | refs/heads/master | 2021-01-10T04:09:57.226591 | 2019-02-14T15:02:16 | 2019-02-14T15:02:16 | 52,726,621 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 41 | py | # coding=utf-8
# Create your views here.
| [
"[email protected]"
] | |
209b79c613856a3a9efc9586a621842d4e69098e | f28591fab50d9b7a539c66b5a81fc91d1bc2ce64 | /py3/def/uint16_bigendian_tobytes.py | 718ccd6205a399b3b6fa9f1c5e6402ea7d33c9fa | [] | no_license | tnzw/tnzw.github.io | b8a5fe1f8479736bbf2b3594d511a1282939a3b3 | 6d95968db793cebcfa77cb49eecd987f821350db | refs/heads/master | 2023-04-21T14:22:49.849859 | 2023-03-31T15:55:01 | 2023-03-31T15:55:01 | 176,712,013 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 504 | py | # uint16_bigendian_tobytes.py Version 1.0.0
# Copyright (c) 2020 Tristan Cavelier <[email protected]>
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public Lice... | [
"[email protected]"
] | |
7b74cc681fdd50f712c42f1604cb790300fe0a4d | ef821468b081ef2a0b81bf08596a2c81e1c1ef1a | /PythonWebBasics_Django/petstagram/pets/urls.py | 212f52bff8daa5f925d309e180d924a318f1cc1b | [] | no_license | Ivaylo-Atanasov93/The-Learning-Process | 71db22cd79f6d961b9852f140f4285ef7820dd80 | 354844e2c686335345f6a54b3af86b78541ed3f3 | refs/heads/master | 2023-03-30T20:59:34.304207 | 2021-03-29T15:23:05 | 2021-03-29T15:23:05 | 294,181,544 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 276 | py | from django.urls import path
from pets.views import pets_list, show_pet_details, like_pet
urlpatterns = [
path('', pets_list, name='list pets'),
path('details/<int:pk>/', show_pet_details, name='pet details'),
path('like/<int:pk>/', like_pet, name='like pet'),
]
| [
"[email protected]"
] | |
9bea5e1eada06fa70192f113563e4516d9e6a21e | dd097c7ae744227b0312d762ee0482a3380ff8c6 | /makenei_from_ele_xyz.py | 5af3305f3e285e46149ab1da568e6c0ac15fdcba | [] | no_license | moflaher/workspace_python | 0d6e98274d923a721db2b345f65c20b02ca59d08 | 6551e3602ead3373eafce10d11ce7b96bdcb106f | refs/heads/master | 2023-03-06T02:15:01.945481 | 2023-03-01T19:15:51 | 2023-03-01T19:15:51 | 20,814,932 | 3 | 4 | null | null | null | null | UTF-8 | Python | false | false | 1,260 | py | from __future__ import division,print_function
import numpy as np
import matplotlib as mpl
import scipy as sp
from datatools import *
import matplotlib.tri as mplt
import matplotlib.pyplot as plt
#from mpl_toolkits.basemap import Basemap
import os as os
name='kit4'
xyz=np.genfromtxt(name + '.xyz')
ele=np.genfromtxt... | [
"[email protected]"
] | |
b0b14da84042b9971c28982f9d77f519829a1047 | aa1352a2f32c0c36194d3a6f8e683adba487a3eb | /FiRoom_backend/users/urls.py | 461aad0c0a56efdbc04145b7094f3c83cd7a2a12 | [] | no_license | Ace-bb/FiRoom_backend | 6c98d01c40e8de31ccbe86beaeada6c62516705e | efd4d9c1d7265e42f56638d5374a569a146acc03 | refs/heads/main | 2023-03-30T15:48:21.376390 | 2021-03-23T15:53:48 | 2021-03-23T15:53:48 | 338,780,869 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 143 | py | from django.urls import path
from . import views
urlpatterns = [
path('masterIdentify/uploadCertification', views.uploadCertification),
] | [
"[email protected]"
] | |
c4006da28b8476755c3f41bf5a0fcdea5757ca98 | c50e7eb190802d7849c0d0cea02fb4d2f0021777 | /src/azure-firewall/azext_firewall/vendored_sdks/v2020_07_01/v2020_07_01/aio/operations/_express_route_connections_operations.py | a0bfb04f1caa8c809a50e9e6dd906b6a5def7b1f | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | Azure/azure-cli-extensions | c1615b19930bba7166c282918f166cd40ff6609c | b8c2cf97e991adf0c0a207d810316b8f4686dc29 | refs/heads/main | 2023-08-24T12:40:15.528432 | 2023-08-24T09:17:25 | 2023-08-24T09:17:25 | 106,580,024 | 336 | 1,226 | MIT | 2023-09-14T10:48:57 | 2017-10-11T16:27:31 | Python | UTF-8 | Python | false | false | 21,558 | 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 ... | [
"[email protected]"
] | |
c0118ad0e0f29fc84614d3d9782b2b74eeeff8b8 | 7ee1fd7584f8770cd2381d85f797bf85cb9b4b67 | /usuarios/applications/users/migrations/0002_auto_20200318_0722.py | a428a6912352c1390b859456cca63c55c637915a | [] | no_license | neunapp/usuariosdj | 3171160fdf6898d07d6b353d034c70801e4bc21b | 3fe69b7357757baa5d799b614f232d75ed659502 | refs/heads/master | 2022-12-01T16:51:00.432272 | 2020-09-17T14:28:21 | 2020-09-17T14:28:21 | 237,993,639 | 4 | 2 | null | 2022-11-22T05:17:26 | 2020-02-03T15:10:33 | Python | UTF-8 | Python | false | false | 550 | py | # Generated by Django 3.0.3 on 2020-03-18 07:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='user',
name='apellidos',
fi... | [
"[email protected]"
] | |
c2108381f0aa3dc54ea2812312d80e98117659a0 | 5574620c834f96d4baf50d6aa349242dae7c17af | /126.word-ladder-ii.py | 1ab52f8b88f5662f72456dcd442d5aab3fe52358 | [] | no_license | Ming-H/leetcode | 52dceba5f9a605afbdaa65e286a37205873e21bb | 057cee4b830603ac12976ed7d5cea8d06a9b46a0 | refs/heads/main | 2023-09-02T21:30:48.796395 | 2023-09-01T01:59:48 | 2023-09-01T01:59:48 | 489,290,172 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 959 | py | #
# @lc app=leetcode id=126 lang=python3
#
# [126] Word Ladder II
#
import collections
import string
class Solution:
#def findLadders(self, beginWord: str, endWord: str, wordList: List[str]) -> List[List[str]]:
def findLadders(self, start, end, dic):
dic.add(end)
level = {start}
parents... | [
"[email protected]"
] | |
7e749d9cfdf6b6af07e6c5e6d4938e412ae0aeb3 | d26aebefdc6358f63e050f7712589e9fd9f4a258 | /cat_api_proj/settings.py | 02f54b418b70047175a1723d0eec397f4420c924 | [] | no_license | matthewgstillman/Cats_API | e93c7319a26c6bb06ed1be211e8f588edc4dc871 | c0918930d663527535e35d02c5c7ac098dbf6aa4 | refs/heads/master | 2020-03-29T20:47:06.514147 | 2018-09-25T21:17:48 | 2018-09-25T21:17:48 | 150,330,437 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,132 | py | """
Django settings for cat_api_proj project.
Generated by 'django-admin startproject' using Django 1.10.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
import... | [
"[email protected]"
] | |
7e9302d32787862d768a2e2a3a7eeea66f8a542c | fc2fb2118ea02867d559bf8027e54e3c6b652cfd | /devItems/spring-2020/SEEAccuracyImprove/jirasoftware/step1_vectorize_text.py | 80e2c2b832ef7448c32e352447bb35267dbcc71c | [] | no_license | pdhung3012/SoftwareStoryPointsPrediction | 2431ad599e0fba37617cfd467de1f4f1afed56cc | 520990663cb42adcac315b75cd4eb1150c3fc86c | refs/heads/master | 2023-08-29T15:16:30.413766 | 2021-09-18T17:12:20 | 2021-09-18T17:12:20 | 254,596,878 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,611 | py | from sklearn.feature_extraction.text import TfidfVectorizer
import pandas as pd
from nltk.tokenize import word_tokenize
import os
import numpy as np
import gensim
from sklearn.decomposition import PCA
from sklearn.random_projection import GaussianRandomProjection
nameSystem='jirasoftware'
fopVectorAllSystems='vector_t... | [
"[email protected]"
] | |
f4d523bf8b922bf42041001ffdc30993d9ab3efc | d6780d2a5126bff23d0a46c7376f5085063a3a4e | /backend/chat/api/v1/viewsets.py | 211c8f530ed018dec88234b4bfad728e6cf050ca | [] | no_license | crowdbotics-apps/test-25190 | 2721890ce00a97b8168e1188fe5d96ff86e1b6e4 | 48ce90fb307e5d98963a73e8c07a9a631b370f59 | refs/heads/master | 2023-03-24T23:43:59.659900 | 2021-03-22T15:53:21 | 2021-03-22T15:53:21 | 350,400,795 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,983 | py | from rest_framework import authentication
from chat.models import (
Message,
ThreadMember,
MessageAction,
ThreadAction,
ForwardedMessage,
Thread,
)
from .serializers import (
MessageSerializer,
ThreadMemberSerializer,
MessageActionSerializer,
ThreadActionSerializer,
Forwarded... | [
"[email protected]"
] | |
748188ed28fde4abc2b26a91c727a0d58176ac3f | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2484/60691/284691.py | e7ae022ea8ced39460e70e67ef7cc820c09dc498 | [] | no_license | AdamZhouSE/pythonHomework | a25c120b03a158d60aaa9fdc5fb203b1bb377a19 | ffc5606817a666aa6241cfab27364326f5c066ff | refs/heads/master | 2022-11-24T08:05:22.122011 | 2020-07-28T16:21:24 | 2020-07-28T16:21:24 | 259,576,640 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 447 | py | def union(s1, s2):
l = s1.split(' ')
l1 = s2.split(' ')
if l1 == ['']:
return len(l)
for i in range(len(l1)):
if (not l1[i] in l) and (l1[i] != ' '):
l.append(l1[i])
print(l)
return len(l)
n = int(input())
useless = []
arra = []
arrb = []
for i in range(n):
u... | [
"[email protected]"
] | |
4f53fca6de83c3e1a1350e96ab8c05885220e402 | a5fabc6d6341925b587fecb082dc70c0d1b95619 | /py_FPA/FPA_Fil.py | 0e0dabdbc7f14bd77822cefddf3a45b70a4ed9d5 | [] | no_license | illuminous/pythonScripts | fcfef9c0fb9bd3155edcf02b56bbec563ff08b2a | 1bb69a1bb1e10f6041274c027cc0ab06c7a9efed | refs/heads/master | 2022-10-22T09:35:48.088907 | 2022-09-28T22:35:32 | 2022-09-28T22:35:32 | 120,963,663 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,844 | py | import glob, arcgisscripting
import os
# Create the Geoprocessor object
gp = arcgisscripting.create()
gp.CheckOutExtension("spatial")
gp.AddToolBox
gp.toolbox = "management"
zones = ['RM_WY']#'EA_IL', 'EA_IN', 'NW_WA', 'SA_PR','NR_MT','CA_CA', 'EA_IA', 'EA_MI', 'EA_MN', 'EA_MO', 'EA_NH', 'EA_NJ', 'EA_OH', 'E... | [
"[email protected]"
] | |
5152b34d823d6a11128d9e66f1e9e53e70047cb9 | d2c4934325f5ddd567963e7bd2bdc0673f92bc40 | /tests/model_control/detailed/transf_BoxCox/model_control_one_enabled_BoxCox_PolyTrend_NoCycle_AR.py | b8ab652e2b3ff4f4365950f4e030704063914475 | [
"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 | 151 | py | import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod
testmod.build_model( ['BoxCox'] , ['PolyTrend'] , ['NoCycle'] , ['AR'] ); | [
"[email protected]"
] | |
6f353343ebfd3b1bb1b40a1c028e27b4db514c59 | 7a550d2268bc4bc7e2fec608ffb1db4b2e5e94a0 | /1401-1500/1475-Final Prices With a Special Discount in a Shop/1475-Final Prices With a Special Discount in a Shop.py | 4b181402e0898044f9b11bafe9ab82e4848e82b7 | [
"MIT"
] | permissive | jiadaizhao/LeetCode | be31bd0db50cc6835d9c9eff8e0175747098afc6 | 4ddea0a532fe7c5d053ffbd6870174ec99fc2d60 | refs/heads/master | 2021-11-05T04:38:47.252590 | 2021-10-31T09:54:53 | 2021-10-31T09:54:53 | 99,655,604 | 52 | 28 | MIT | 2020-10-02T12:47:47 | 2017-08-08T05:57:26 | C++ | UTF-8 | Python | false | false | 362 | py | class Solution:
def finalPrices(self, prices: List[int]) -> List[int]:
n = len(prices)
result = [0] * n
St = []
for i in range(n - 1, -1, -1):
while St and prices[i] < St[-1]:
St.pop()
result[i] = prices[i] - (St[-1] if St else 0)
S... | [
"[email protected]"
] | |
ec8f221cde5fdf597b6c8d7493464006d316c717 | d2dda11e125068512c5c0db0f24b80bc53c94ce3 | /LeetCode/Ex0/Ex88.py | 730a58387b0e8f11def225a9734664b6064cfec2 | [] | no_license | JasonVann/CrackingCodingInterview | f90163bcd37e08f6a41525f9f95663d5f42dd8e6 | 8f9327a1879949f61b462cc6c82e00e7c27b8b07 | refs/heads/master | 2021-09-02T09:28:34.553704 | 2018-01-01T12:05:12 | 2018-01-01T12:05:12 | 110,519,907 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 813 | py | class Ex88(object):
def merge(self, nums1, m, nums2, n):
"""
:type nums1: List[int]
:type m: int
:type nums2: List[int]
:type n: int
:rtype: void Do not return anything, modify nums1 in-place instead.
"""
k = m + n - 1
i = m - 1
j = n -... | [
"[email protected]"
] | |
e4e5b5b777d0c2876ccd93f0e0687824c3d9acc0 | 53706aea0f1358c3589b9afa8a94f1c902c2c494 | /algorithms/tmax/apps/record_trajectory_manually.py | 29adb24df33967fa011df4579ea3ccccb99c3b98 | [
"MIT"
] | permissive | alex-petrenko/landmark-exploration | 6df0eae63ba501c3509e1264f8f99101ff0df345 | faaeff84176de34e2ab4c18b24ee022bd069299e | refs/heads/master | 2021-06-28T16:43:41.299431 | 2019-06-02T00:09:09 | 2019-06-02T00:09:09 | 164,031,073 | 4 | 1 | MIT | 2021-06-18T20:53:45 | 2019-01-03T22:53:03 | Python | UTF-8 | Python | false | false | 3,668 | py | import datetime
import pickle
import sys
import time
from os.path import join
from threading import Thread
from pynput.keyboard import Key, Listener
from algorithms.utils.algo_utils import main_observation
from algorithms.utils.env_wrappers import reset_with_info
from algorithms.tmax.agent_tmax import AgentTMAX
from ... | [
"[email protected]"
] | |
522b229ed5441f337e5ffaf6d29ee042868dfd53 | f48512f1f42d55fabc9ab46f448138e771b78c68 | /sphinx/conf.py | d3bc27682716395cd7e2c284cb4cb038eaed7629 | [] | no_license | HussainAther/chipseq | 07871167f894ba612d6ca476b5a6fb37440c682a | 6d12752c15a0368a5d4b40af6f5916d2c04c767f | refs/heads/master | 2020-03-08T07:49:44.997059 | 2018-04-04T03:58:42 | 2018-04-04T03:58:42 | 128,004,481 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,167 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# snakemake documentation build configuration file, created by
# sphinx-quickstart on Thu Jul 27 17:54:40 2017.
#
# 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
# ... | [
"[email protected]"
] | |
85f2ca2dc3e54d1d6bd9647dad7d3cbe14a37fcb | 3f7d5999bb7e5a75454c8df2c5a8adcd1a8341ff | /tests/unit/mock/procenv.py | a97081a52d2332cb01f5d0017c20c9c3ff26917c | [] | no_license | ansible-collection-migration/ansible.fortios | f7b1a7a0d4b69c832403bee9eb00d99f3be65e74 | edad6448f7ff4da05a6c856b0e7e3becd0460f31 | refs/heads/master | 2020-12-18T13:08:46.739473 | 2020-02-03T22:10:49 | 2020-02-03T22:10:49 | 235,393,556 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,735 | py | # (c) 2016, Matt Davis <[email protected]>
# (c) 2016, Toshio Kuratomi <[email protected]>
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of ... | [
"[email protected]"
] | |
77ceb0223c09fd8f4e1e20c731296bf4051c99b9 | f4fce41f2b3cba606d2a36075de356434602d1c0 | /xwing_rulebook/rules/migrations/0005_auto_20170114_1838.py | dacc057a40679a2cab8dc474b609d6614fdb0e31 | [] | no_license | lvisintini/xwing-rulebook | 24a392c12a2b13027e7cf65b9cc41e8a21585e3c | 6dc7ac58f962a4928843364dcfc077638384dc16 | refs/heads/master | 2021-01-22T19:41:32.960048 | 2018-07-25T10:53:35 | 2018-07-25T10:53:35 | 85,224,617 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 542 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-01-14 18:38
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rules', '0004_auto_20170114_0010'),
]
operations = [
migrations.AlterField(... | [
"[email protected]"
] | |
7d538662625104748e0d8ce3db20225b2e8cb6a1 | 30ec40dd6a81dbee73e7f14c144e20495960e565 | /kubernetes/test/test_v1_persistent_volume.py | 3f2fe9cff5949e5488c0fb3e07e8efbe740227a8 | [
"Apache-2.0"
] | permissive | jonathan-kosgei/client-python | ae5a46968bcee19a3c62e1cefe227131ac9e7200 | 4729e6865d810824cafa312b4d06dfdb2d4cdb54 | refs/heads/master | 2021-01-20T14:59:10.435626 | 2017-05-08T16:55:51 | 2017-05-08T16:55:51 | 90,700,132 | 1 | 0 | null | 2017-05-09T03:50:42 | 2017-05-09T03:50:42 | null | UTF-8 | Python | false | false | 883 | py | # coding: utf-8
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.6.3
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
im... | [
"[email protected]"
] | |
60478f86d50f53b1d361c8a21deef2a43bb1ef65 | 6c33e4baeda15398a910382ed64f646825591dd0 | /run_project/02_Pima_Indian.py | 893c61f5e55315aec58778663dd56e783fb4b587 | [] | no_license | ss820938ss/pythonProject_deeplearning | 0ad26797299df1eb5b549bd2a5309502d58a495c | baa55f492f07da955b45573ac52d7f61f2d0ee0d | refs/heads/master | 2023-07-09T15:50:37.319896 | 2021-08-10T05:15:46 | 2021-08-10T05:15:46 | 391,771,606 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,308 | py | # pandas 라이브러리를 불러옵니다.
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
# 피마 인디언 당뇨병 데이터셋을 불러옵니다. 불러올 때 각 컬럼에 해당하는 이름을 지정합니다.
df = pd.read_csv('../dataset/pima-indians-diabetes.csv',
names=["pregnant", "plasma", "pressure", "thickness", "insulin", "BMI", "pedigree", "age", "cl... | [
"[email protected]"
] | |
98d4948b986f60c3d4fb60f286e763e24192f924 | 71b11008ab0455dd9fd2c47107f8a27e08febb27 | /09、UI自动化测试及黑马头条项目实战/day08/03代码/等待操作.py | 2c49f02ff15dd038da5d5fa6df7401ffbae20dc0 | [] | no_license | zmh19941223/heimatest2021 | 49ce328f8ce763df0dd67ed1d26eb553fd9e7da4 | 3d2e9e3551a199bda9945df2b957a9bc70d78f64 | refs/heads/main | 2023-08-25T17:03:31.519976 | 2021-10-18T05:07:03 | 2021-10-18T05:07:03 | 418,348,201 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,090 | py | import time
from appium import webdriver
from appium.webdriver.common.touch_action import TouchAction
from selenium.webdriver.common.by import By
from utils import get_element, input_text
des_cap = {
"platformName" : "android" , #表示的是android 或者ios
"platformVersion" : "5.1.1", #表示的是平台系统的版本号
"deviceName" : "****"... | [
"[email protected]"
] | |
6effd0d2562d816e58d889808b24eb4eba7e3903 | 77900cdd9a815caf1cd04705321ca93f5072179f | /Project2/Project2/.history/blog/models_20211114171729.py | abf6466b64bc0655018e82ba7b33ac84f8f2a026 | [] | no_license | Bom19990111/helloword_python | 717799d994223d65de5adaeabecf396ff2bc1fb7 | 2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7 | refs/heads/master | 2023-09-06T04:17:02.057628 | 2021-11-21T20:00:46 | 2021-11-21T20:00:46 | 407,063,273 | 0 | 1 | null | 2021-11-21T20:00:47 | 2021-09-16T07:18:35 | Python | UTF-8 | Python | false | false | 378 | py | from django.db import models
# Create your models here.
class Blog(models.Model):
title = models.CharField(max_length=250, blank=True)
slug = models.SlugField(max_length=250, blank=True)
author = models.ForeignKey(User, on_delete=models.CASCADE)
description = models.TextField()
date = models.Date... | [
"[email protected]"
] | |
29d01b80c275af77e63f5fcd122ffecdf2cc0a5c | e4839f9c32cb57a2b907f2b3eb05f87b7cdcd9e5 | /templates/login/kamran.py | d2b1b5983fde4557ae6b6f00fd9127123f826e74 | [] | no_license | kalantarlikamran2/ali | 4fe900cfa67f40b3db1e2b850383871505e5249f | 413ece9ed5c3c45281dfbf3d5ce17af1da787e4a | refs/heads/main | 2023-01-03T15:51:35.826027 | 2020-11-04T20:46:29 | 2020-11-04T20:46:29 | 308,950,996 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 115 | py | `
class ilkUygulama(App):
def build(self):
return Label(text='Merhaba Dünya!')
ilkUygulama().run() | [
"[email protected]"
] | |
e46bcceeb1e79b9edce031b21c399f957deb42c3 | 1843fd5ccb4377240e664acd21ba5a9369eca2ab | /bluebottle/cms/migrations/0052_auto_20171027_1419.py | f9984292ed4b5065b5abffe1a367865208d217c1 | [
"BSD-2-Clause"
] | permissive | raux/bluebottle | ba2e576cebcb6835065004c410b22bd8a6b9ee29 | 49d92b5deb289c1539f99122abc20f845577b879 | refs/heads/master | 2020-03-27T03:20:11.465491 | 2018-08-23T13:09:25 | 2018-08-23T13:09:25 | 145,854,614 | 0 | 0 | null | 2018-08-23T13:05:00 | 2018-08-23T13:04:59 | null | UTF-8 | Python | false | false | 513 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2017-10-27 12:19
from __future__ import unicode_literals
from django.db import migrations, connection
from django.core.management import call_command
def migrate_homepage(apps, schema_editor):
call_command('migrate_homepage', tenant=connection.tenant.schema... | [
"[email protected]"
] | |
715184433e0880b06cffd93aafcb0ed70d537c8d | 930822ded3de346524648244a6f8edc3e7a2a038 | /leetcode/maxProfit.py | 876984ef35022d6239ba77600de1160b2c0cb8db | [] | no_license | xy2333/Leetcode | 4ad317fa21d3b3c37859e76b25a87993c22ca1b2 | 5915e039868527d624ee4f0ad431d23c6ed2d8bd | refs/heads/master | 2020-06-19T13:30:14.755534 | 2019-08-12T02:12:03 | 2019-08-12T02:12:03 | 196,726,468 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 279 | py | class Solution:
def maxProfit(self, prices):
if len(prices) <= 1:
return 0
maxprofit = 0
minrise = prices[0]
for i in range(1,len(prices)):
if prices[i] < minrise:
minrise = prices[i]
else:
maxprofit = max(maxprofit,prices[i]-minrise)
return maxprofit | [
"[email protected]"
] | |
4fe953b347177ae6fed8e7472e954e208a94074c | 4984a934467631ffe35dd277594184671284d5f6 | /Python: Create a Grid/Create a Grid 05/graphics_environment.py | 9a989e310b7cb8d3e4ba4501dd2d8cd2254679c0 | [
"MIT"
] | permissive | poly451/Tutorials | 8ce2a9d1166f7d63b1ce1e92bded2da16a7d29ef | 27ca5dc09bc69d2bced44cddbe4e7fd201c0e66f | refs/heads/master | 2022-05-17T06:42:16.833986 | 2022-05-10T02:24:54 | 2022-05-10T02:24:54 | 183,793,357 | 16 | 24 | null | null | null | null | UTF-8 | Python | false | false | 56,529 | py | import sys, os
import pygame
import constants
import utils
# -----------------------------------------------------------
# class Event
# -----------------------------------------------------------
class Event:
def __init__(self, mydict):
# print("mydict: {}".format(mydict))
sel... | [
"[email protected]"
] | |
3fbbc5c0f26e5caddce1e220e7e5e9422ca33c8c | 6b8366581101e183592ff5d65ba6c228223ef30d | /mp/tokenizer.py | 086a0397d2c952e98301d843c4d9d4c387465260 | [
"MIT"
] | permissive | BPI-STEAM/mpfshell-lite | a3af795502d20f990d2a084a106f3964beb94392 | e603c2abb942bf45c18519883e1b72760c4db04f | refs/heads/master | 2020-07-22T13:11:57.651653 | 2019-08-27T03:58:41 | 2019-08-27T03:58:41 | 207,213,197 | 3 | 1 | MIT | 2019-09-09T03:06:46 | 2019-09-09T03:06:46 | null | UTF-8 | Python | false | false | 2,163 | py | ##
# The MIT License (MIT)
#
# Copyright (c) 2016 Stefan Wendler
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy,... | [
"[email protected]"
] | |
2eaff4c0a947d923f02ef3bdabca7291afd10e81 | f518506fb620fd29a2db876c05de813508eda519 | /Project19/manage.py | e4a8f6d8ec98276420722e54947fecad37d976b3 | [] | no_license | Niharika3128/Django5-6 | 07435ae9088659e2d192cda60542aee5214e0637 | be3055ca91da45c37f9ec1adb626eea335477746 | refs/heads/master | 2020-06-02T04:28:37.016405 | 2019-06-09T17:28:33 | 2019-06-09T17:28:33 | 191,035,169 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 541 | py | #!/usr/bin/env python
import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Project19.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Ar... | [
"[email protected]"
] | |
0315c96e5abc1d9431a14f6e69cc73e0f1086007 | 5864e86954a221d52d4fa83a607c71bacf201c5a | /eve/client/script/ui/station/lobby.py | 23ab9fb309b4ecb67c73b5253ea850ec54d24f23 | [] | no_license | connoryang/1v1dec | e9a2303a01e5a26bf14159112b112be81a6560fd | 404f2cebf13b311e754d45206008918881496370 | refs/heads/master | 2021-05-04T02:34:59.627529 | 2016-10-19T08:56:26 | 2016-10-19T08:56:26 | 71,334,417 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 47,461 | py | #Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\client\script\ui\station\lobby.py
import blue
from carbon.common.script.util.format import FmtAmt, CaseFoldCompare
from carbonui.control.basicDynamicScroll import BasicDynamicScroll
from carbonui.control.scrollentries import SE_Base... | [
"[email protected]"
] | |
1fced1f8cce087c0bbfdd61d98a7820b2eeef5ec | 419637376e445ec9faf04c877d5fb6c09d15903f | /steam/user/order/userCancelOrderActivityTest.py | 76c1e3a715c556e511a7af0fd3bc03f9bc9ddcd7 | [] | no_license | litaojun/steamOmTest | e4203df30acafaa5e282631d77429c0e4483fb88 | 86f84dbd802d947198823e02c2f1ba2695418a76 | refs/heads/master | 2020-04-02T21:48:55.115389 | 2019-07-11T06:08:27 | 2019-07-11T06:08:27 | 154,812,217 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,340 | py | #!/usr/bin/env python
# encoding: utf-8
"""
@version: v1.0
@author: Lieb
@license: Apache Licence
@contact: [email protected]
@site: http://blog.csdn.net/hqzxsc2006
@software: PyCharm
@file: userCancelOrderActivityTest.py
@time: 2018/7/11 10:09
"""
from steam.util.steamLog import SteamTestCase
from opg.b... | [
"[email protected]"
] | |
aefe209940bc4b34c6bc1de86f72876bf4394890 | 4838552992476399d0452a92d0a38aa9b8b29c63 | /books/serializers.py | 9bcac01e22850c80eaea8102c4e89f7fa859d736 | [] | no_license | sannycand/books | 16cee4d0f8c1a1a4a52108fd0403c258620e146a | 593d77ccd1f4b68be0a5ed44adb495c034bea2a1 | refs/heads/develop | 2020-04-05T13:31:09.296128 | 2017-06-20T01:59:53 | 2017-06-20T01:59:53 | 94,852,739 | 0 | 0 | null | 2017-06-20T05:23:40 | 2017-06-20T05:23:40 | null | UTF-8 | Python | false | false | 412 | py | from rest_framework import serializers
from .models import Book, Review
class BookSerializer(serializers.ModelSerializer):
""" book serializer
"""
reviews = serializers.SerializerMethodField()
class Meta:
model = Book
fields = ('__all__')
def get_reviews(self, instance):
... | [
"[email protected]"
] | |
3b4b6347e2535618b4e084f8032df2acc602fed0 | e2de3f6fe4373f1d98b67af61dd558a813250d54 | /Algorithm/baekjoon/11726_2xn타일링.py | b6bc38b1ab6cf1a8f42e411b2e97006abbff0e4d | [] | no_license | Hansung-Lee/TIL | 3fd6d48427a8b24f7889116297143855d493535b | c24ebab8b631f5c1b835fdc8bd036acbebc8d187 | refs/heads/master | 2020-04-14T11:18:54.035863 | 2019-04-05T07:26:55 | 2019-04-05T07:26:55 | 163,810,436 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 105 | py | N = int(input())
li = [0,1,2,3]
for n in range(N-3):
li.append(li[-1] + li[-2])
print(li[N]%10007) | [
"[email protected]"
] | |
7a74b09d2af23b609529ac816704e8a2d47f99c9 | efae79bc4b6771191c612b121a420f898356ae77 | /tests/_support/py_conf/fabfile.py | 502c718f919618cab02d64fcbad3831bad9e585f | [
"BSD-2-Clause"
] | permissive | WinstonN/fabric | bd0d7c432d22501022495663a1ee3a385c9b045a | 34edfe4a1cc9e3d72c3cc41490673db29afe7bbb | refs/heads/2.0 | 2020-12-22T17:03:27.644562 | 2020-01-10T21:20:58 | 2020-01-10T21:20:58 | 236,866,877 | 0 | 0 | BSD-2-Clause | 2020-01-30T05:06:49 | 2020-01-28T23:40:23 | null | UTF-8 | Python | true | false | 92 | py | from invoke import task
@task
def expect_conf_value(c):
assert c.it_came_from == "py"
| [
"[email protected]"
] | |
d92958e24ff62b6981e69327f0d73818051e91d6 | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_135/3035.py | cf3cfe0ebd3b61e847863f968039e9fe32db8586 | [] | 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 | 656 | py | #! /usr/bin/env python
T = int(raw_input())
t = 1
while t <= T:
a = int(raw_input())
i = 0
while i < a-1:
raw_input()
i += 1
r1 = set(raw_input().split(" "))
while i < 3:
raw_input()
i += 1
a = int(raw_input())
i = 0
while i < a-1:
raw_input()
... | [
"[email protected]"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.