blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
b3c6f8b199115f12bd32d0061f4a571a117ca082
0bde5f7f09aa537ed1f4828d4e5ebee66475918f
/h2o-py/tests/testdir_apis/Data_Manipulation/pyunit_h2oH2OFrame_mult.py
f2690d0cf18bb0a449c22efbf81071d98ed0caba
[ "Apache-2.0" ]
permissive
Winfredemalx54/h2o-3
d69f1c07e1f5d2540cb0ce5e6073415fa0780d32
dfb163c82ff3bfa6f88cdf02465a9bb4c8189cb7
refs/heads/master
2022-12-14T08:59:04.109986
2020-09-23T08:36:59
2020-09-23T08:36:59
297,947,978
2
0
Apache-2.0
2020-09-23T11:28:54
2020-09-23T11:28:54
null
UTF-8
Python
false
false
1,178
py
from __future__ import print_function import sys sys.path.insert(1,"../../../") from tests import pyunit_utils import h2o import numpy as np from h2o.utils.typechecks import assert_is_type from h2o.frame import H2OFrame import random def h2o_H2OFrame_mult(): """ Python API test: h2o.frame.H2OFrame.mult(matrix)...
[ "noreply@github.com" ]
Winfredemalx54.noreply@github.com
808270b56854e917ed75cbf6c97e1c769dfb54cd
bc7b5d2477ca3b0c54383c97a19d29cb7cb63bc5
/sdk/lusid/models/resource_list_of_order.py
c5bac180964942bdd13bef10b9e59403e18824e9
[ "MIT" ]
permissive
mb-a/lusid-sdk-python-2
342b6e7b61ca0c93f43e72f69e572478e3a7be4f
0eee79c8e36188a735aaae578a9c4be2a8497aed
refs/heads/master
2023-07-15T16:15:11.878079
2021-08-25T20:52:27
2021-08-25T20:52:27
214,153,732
0
0
null
null
null
null
UTF-8
Python
false
false
6,906
py
# coding: utf-8 """ LUSID API FINBOURNE Technology # noqa: E501 The version of the OpenAPI document: 0.11.3430 Contact: info@finbourne.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class ResourceListOfOrder(object): """NOTE: This cl...
[ "concourse@finbourne.com" ]
concourse@finbourne.com
8b4e464b1ad0ef3c918a96fd380ac7b91b8c909d
7f57c12349eb4046c40c48acb35b0f0a51a344f6
/2015/ConstructBinaryTreeFromPreorderAndInorderTraversal_v0.py
daaa268e1414a2c429629aa49eadb7c663488efa
[]
no_license
everbird/leetcode-py
0a1135952a93b93c02dcb9766a45e481337f1131
b093920748012cddb77258b1900c6c177579bff8
refs/heads/master
2022-12-13T07:53:31.895212
2022-12-10T00:48:39
2022-12-10T00:48:39
11,116,752
2
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
#!/usr/bin/env python # encoding: utf-8 # Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: # @param {integer[]} preorder # @param {integer[]} inorder # @return {TreeNode} def buildTre...
[ "stephen.zhuang@gmail.com" ]
stephen.zhuang@gmail.com
bc0b93fd8478e0c280277ddeab4f81620aed29f5
6d42b5219f25cb12626c79d4ec45a0eab0b51d9c
/pthbldr/datasets/tests/test_datasets.py
38d66b8c1dd1cd81729e649848f3bb94db6e55e0
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
kastnerkyle/pthbldr
cc370182126784645f6a4b24af81aefb12e2adcc
4dd65f9973a0199b920fb7b76d9b3163b5928675
refs/heads/master
2020-12-30T13:20:07.846618
2017-11-06T23:45:07
2017-11-06T23:45:07
91,346,119
2
0
null
2017-11-06T23:45:08
2017-05-15T14:16:43
Python
UTF-8
Python
false
false
324
py
from pthbldr.datasets import load_digits from pthbldr.datasets import load_iris from nose.tools import assert_equal def test_digits(): digits = load_digits() assert_equal(len(digits["data"]), len(digits["target"])) def test_iris(): iris = load_iris() assert_equal(len(iris["data"]), len(iris["target"...
[ "kastnerkyle@gmail.com" ]
kastnerkyle@gmail.com
436d1079e865e48d975bd6ffa89a5f3ed150f80d
bdfd3889e1cc02f97b3e2dc0032ce0c9b59bf37e
/src/gork/contrib/gtag/forms.py
f975a8005e00e6d6fd6d68bfd55cee536a5ff863
[ "MIT" ]
permissive
indexofire/gork
c85728953cfa9ab98c59b79a440d4e12212cbc4e
c5e172b896a51c15f358d3aabbcb66af837b54b2
refs/heads/master
2016-09-06T04:58:01.435002
2014-02-06T08:35:51
2014-02-06T08:35:51
9,260,830
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
# -*- coding: utf-8 -*- from django import forms from django.utils.translation import ugettext as _ from gtag.utils import parse_tags, edit_string_for_tags class TagWidget(forms.TextInput): def render(self, name, value, attrs=None): if value is not None and not isinstance(value, basestring): v...
[ "indexofire@gmail.com" ]
indexofire@gmail.com
72301ec7c64df86bd3500a01d59262d2037866dd
e59f696a96f216cdeea8d638f05b75bb0c26ef55
/4 Python_Programs/1 Problems on numbers/10_EvenFactors/Demo.py
2f5e56dcd12e00dd9d0888a7d45b09e65f1ca07a
[]
no_license
Aditya-A-Pardeshi/Coding-Hands-On
6858686bdf8f4f1088f6cc2fc0035a53c4875d81
0d72d45e92cb0698129636412f7bf5a8d865fd2f
refs/heads/main
2023-05-29T05:35:34.052868
2021-06-14T18:52:57
2021-06-14T18:52:57
376,928,262
1
0
null
null
null
null
UTF-8
Python
false
false
411
py
''' Write a program which accept number from user and print even factors of that number Input : 24 Output: 2 4 6 8 12 ''' def PrintEvenFactors(no): if(no<0): no = -no; for i in range(2,int(no/2)+1): if(no%i == 0): print("{} ".format(i),end = " "); def main(): no = int(...
[ "adityapardeshi0078@gmail.com" ]
adityapardeshi0078@gmail.com
4030f63098bbbd19a41102250c7f615bf1a647c3
dd87194dee537c2291cf0c0de809e2b1bf81b5b2
/test/test_v1_job.py
2a33786b9e31d281aa3aff1f99a840af636abb55
[ "Apache-2.0" ]
permissive
Arvinhub/client-python
3ea52640ab02e4bf5677d0fd54fdb4503ecb7768
d67df30f635231d68dc4c20b9b7e234c616c1e6a
refs/heads/master
2023-08-31T03:25:57.823810
2016-11-02T22:44:36
2016-11-02T22:44:36
73,865,578
1
0
Apache-2.0
2018-10-10T12:16:45
2016-11-15T23:47:17
Python
UTF-8
Python
false
false
1,310
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: unversioned Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "Licens...
[ "mehdy@google.com" ]
mehdy@google.com
9b6e87777212e93821e9296860eef76c187aa685
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/298/82997/submittedfiles/testes.py
526e6017d8abd2de623bff22ac68e85aeb35505c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
2,205
py
n = int(input('Digite um numero inteiro positivo entre 1 e 100: ')) while (n<1) and (n>100): print('Entrada inválida.') n = int(input('Digite um numero inteiro positivo entre 1 e 100: ')) if n in range (1,100): kn = float(((n + 2)/10)*2) print('%.4f' % kn) #-----------------------------------------...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
7580db354e832980cb68e6afb7c9c89485dede71
b0cdbad299f6174bfdb0fba173dbcf3889b82209
/Modules/datetime/d1.py
29a423c96933b4d0b2a03754743aa30a42bb5be7
[]
no_license
deesaw/PythonD-06
a33e676f1e0cfc13b4ea645c8b60547b198239ac
3c6f065d7be2e3e10cafb6cef79d6cae9d55a7fa
refs/heads/master
2023-03-18T08:24:42.030935
2021-03-02T14:15:09
2021-03-02T14:15:09
343,797,605
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
import datetime bday=(datetime.date(2000,7,26)) print(bday) print('Year : ',bday.year) print('Month : ',bday.month) print('Date : ',bday.day) t = datetime.time(9, 25, 39,10) print( t ) print( 'hour :', t.hour ) print( 'minute:', t.minute ) print( 'second:', t.second ) print( 'microsecond:', t.microsecond )
[ "69420960+deesaw@users.noreply.github.com" ]
69420960+deesaw@users.noreply.github.com
9e7c2bcddff622777890630a880abba20a2ceb93
9152c6f5b692694c4cb95725319fc8dd21d30455
/office365/runtime/client_value_object.py
6d76794e0d56308f5fb685632d48f2ac654b41b2
[ "MIT" ]
permissive
VISIN9/Office365-REST-Python-Client
cf3de86a6bdd2461ff5814dbfa02d4d4185917d5
91c07d427a76197f6eb143c6253bdc832cbb889d
refs/heads/master
2021-05-25T08:43:35.530546
2020-04-06T20:24:53
2020-04-06T20:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
from office365.runtime.odata.json_light_format import JsonLightFormat from office365.runtime.odata.odata_metadata_level import ODataMetadataLevel class ClientValueObject(object): """Base client value object""" def map_json(self, json): for key, val in json.items(): # if hasattr(type(self)...
[ "vvgrem@gmail.com" ]
vvgrem@gmail.com
386494842d287ea6d6dfa1a2affa37e918c30a55
1a937b899af949d23e667782a7360b9de1634456
/SoftUni/Advanced Tree Structures - II/homework/sweep_and_prune.py
3f531c9cb5c36afd49d3a4e1d23949822687a1c9
[]
no_license
stanislavkozlovski/data_structures_feb_2016
c498df6ea7cb65d135057a300e0d7e6106713722
adedac3349df249fe056bc10c11b0b51c49e24bb
refs/heads/master
2021-07-06T17:37:18.117104
2017-09-30T19:01:51
2017-09-30T19:01:51
75,526,414
2
2
null
null
null
null
UTF-8
Python
false
false
2,930
py
OBJECT_WIDTH, OBJECT_HEIGHT = 10, 10 class BoundableObject: def __init__(self, name, x1, y1): self.name = name self.x1 = x1 self.x2 = x1 + OBJECT_WIDTH self.y1 = y1 self.y2 = y1 + OBJECT_HEIGHT def __repr__(self): return '{x1} {x2}'.format(x1=self.x1, x2=self.x...
[ "familyguyuser192@windowslive.com" ]
familyguyuser192@windowslive.com
1c345f9f054da786bb4b108d6e9fe03934792328
0f47b8b3775e1730f92141128491b0bbfe3d89e0
/data_structure/graph/shortest_path/floydwarshall.py
e74f989ab56a38084b43fe4e47c8b53dce6094b5
[]
no_license
hongmin0907/CS
1d75c38da98c6174ea19de163c850d0f3bac22e3
697e8e1a5bde56a7588381a12f74bbb0e3aee3e8
refs/heads/master
2020-06-23T20:10:22.051477
2019-07-15T00:20:09
2019-07-15T00:20:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,194
py
from copy import deepcopy class ShortestPath: def __init__(self, A, path): #2차원 배열 A self.A=A #2차원 배열 path self.path=path def print_shortest_path(self, source, dest): print(source, end=" ") self.__print_sp(source, dest) print(dest, end=" ") def __p...
[ "ythwork83@gmail.com" ]
ythwork83@gmail.com
41fab65078d3fb5f668f2cb47c7cc24fb333394f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03371/s845988695.py
4818cf4f4ba7277bd6347d6792e793a348563d0c
[]
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
217
py
A,B,C,X,Y=map(int,input().split()) ans=0 if C*2<=A+B: mi=min(X,Y) ans=mi*C*2 if Y<=X: ans+=min(A*(X-mi),2*C*(X-mi)) else: ans+=min(B*(Y-mi),2*C*(Y-mi)) else: ans=A*X+B*Y print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e3d72dcb67b7c3981d26691b7181d72ccf66814e
7807d8d9d109a3e272fffed91bf841201da39256
/trans_ALDS1_1_B/HARU55_ALDS1_1_B_kotonoha.py
2d3f4f61cfadb439b240ad350d2e8f32c35c3b9d
[]
no_license
y-akinobu/AOJ_to_Kotonoha
0e8df43393964fcdd5df06c75545091bd6c0c2e2
5a694a55a3d85e3fbc4a07b57edc4374556db9a1
refs/heads/main
2023-02-05T15:33:16.581177
2020-12-30T16:14:44
2020-12-30T16:14:44
325,524,216
0
1
null
null
null
null
UTF-8
Python
false
false
552
py
# map(整数,入力された文字列を空白で分割した列)を展開し順にNとMとする N, M = map(int, input().split()) # 真の間、繰り返す while True : # NがMより小さいとき、 if N < M : # NとMを入れ替える N, M = M, N # NをMで割った余りをaとする a = N % M # aが0のとき、 if a == 0 : # 繰り返すのを中断する break # () else :[#Else [#Block [#MultiAssignment left: [# [#Name 'N'][#Name ...
[ "sx2_vn_yuka@outlook.jp" ]
sx2_vn_yuka@outlook.jp
4b9bf327874fb716a5ef0c14b6c733148ed3e614
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/FXJSMM/YW_FXJSMM_SZSJ_307.py
94a0758207761f5b78d6a48514fdeaef3d006e5d
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,002
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
04ae437e0973bf482e71ebf5563db2e45951c6c9
9c32890a188dfcd949883c10c8db112aed5321d6
/learner/wsgi.py
1f2d5f930764af173595a367e93da2297a089d37
[]
no_license
gitanjali1077/learner
dcb11d92b84bac0a9254a2409570261a03503945
fef0c5554b100216210ba8f3777bad69a9219d4f
refs/heads/master
2022-12-12T08:24:55.268350
2018-03-02T04:34:43
2018-03-02T04:34:43
122,777,081
1
0
null
2022-11-22T02:15:06
2018-02-24T20:28:20
CSS
UTF-8
Python
false
false
484
py
""" WSGI config for learner 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.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from whitenoise.django import Djang...
[ "gitanjali1077@gmail.com" ]
gitanjali1077@gmail.com
cb03689df98cce2aeec0d424a2ee39025ac09c42
cc3d7bd252c225bf588a8e663b2214b8ccc3b399
/report/make_report.py
cd623d6d4f3915b774a17d563e74329b25cd9405
[]
no_license
stestagg/dict_index
c1ca8cac3389b5f2d22882a159ab8ea68439e4a5
41d06d705e28e8c52c3a9c76349c2aadfd984dff
refs/heads/master
2022-11-27T12:14:58.791348
2020-08-01T18:11:52
2020-08-01T18:11:52
278,656,935
0
0
null
null
null
null
UTF-8
Python
false
false
4,737
py
import textwrap from pathlib import Path from datetime import datetime import json import click import dateformat from jinja2 import Environment, FileSystemLoader, select_autoescape, Markup from pygments import highlight from pygments.lexers import PythonLexer from pygments.formatters import HtmlFormatter JINJA_ENV ...
[ "stestagg@gmail.com" ]
stestagg@gmail.com
7e23ddf115d5ed2d24c73fb7144f196d75b02cdf
92237641f61e9b35ff6af6294153a75074757bec
/Machine Learning/수업 자료/2주차_데이터 과학을 통한 자연어 처리와 통계학습/제06~09일차_정형.비정형 데이터 처리 및 결합 분석/xmlEx02.py
3fecb052979d01243b6104879395476414339d15
[]
no_license
taepd/study
8ded115765c4f804813e255d9272b727bf41ec80
846d3f2a5a4100225b750f00f992a640e9287d9c
refs/heads/master
2023-03-08T13:56:57.366577
2022-05-08T15:24:35
2022-05-08T15:24:35
245,838,600
0
1
null
2023-03-05T23:54:41
2020-03-08T15:25:15
JavaScript
UTF-8
Python
false
false
1,323
py
# xmlEx02.py from xml.etree.ElementTree import Element from xml.etree.ElementTree import SubElement from xml.etree.ElementTree import ElementTree mydict = {'kim': ('김철수', 30, '남자', '강남구 역삼동'), 'park': ('박영희', 40, '여자', '서초구 방배동')} print(mydict) members = Element('members') for key, mytuple in mydict.items(): mya...
[ "taepd1@gmail.com" ]
taepd1@gmail.com
802eca46c3e683e50f6e47f7a5d22d1b059841c1
b80c84125f8176d5e40ffd51af36a0aed2df9d7c
/roboPortal/views.py
df87e4b4fe81d4d9cd6354a524d49fb76790be56
[]
no_license
bhatiaisb5300/RobotixDevelopmentv1
cbee6f90f06c85c8bfec308e8d35ef3a2587e263
6d541bdc8a9b89565c103fdff53a28373b0afb8b
refs/heads/master
2022-12-13T10:12:30.841794
2020-02-15T15:33:00
2020-02-15T15:33:00
223,969,445
0
1
null
2022-12-08T05:24:26
2019-11-25T14:35:35
JavaScript
UTF-8
Python
false
false
7,171
py
from django.shortcuts import render, redirect from django.http import HttpResponse, Http404 from django.contrib.auth.models import User, auth from django.contrib.auth.decorators import login_required from django.core.mail import send_mail from django.conf import settings from .models import portalUser, UserLink, Token,...
[ "ayushganguli1769@gmail.com" ]
ayushganguli1769@gmail.com
53564b0dbb1fb2ca036162b4a6dc25d45b8bdaf8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03846/s787181482.py
9e79a1ae234c00a297c69bb69d20566532f2d43a
[]
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
465
py
def main(): N=int(input()) A=list(map(int,input().split())) mod=10**9+7 ans=1 A.sort() if N%2==0: for i in range(0,N,2): if A[i]!=A[i+1] or A[i]!=i+1: print(0) exit() ans=ans*2%mod print(ans) else: if A[0]!=0: print(0) exit() ans=1 for i in range...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
67afec9212a1433422a4bc56f2afbeca8ea194b9
e66fa131cff76fa3fe70e7b6649fa1332159c781
/ch06/Packages.py
8ff16ca6520d9fb4e3c32d634368017d536a0500
[]
no_license
chc1129/python_tutorial
c6d97c6671a7952d8a7b838ccb8aa3c352fa6881
2f8b389731bafbda73c766c095d1eaadb0f99a1c
refs/heads/main
2023-08-24T07:00:43.424652
2021-10-28T16:07:57
2021-10-28T16:07:57
341,532,732
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
import sound.effects.echo sound.effects.echo.echofilter(input, output, delay=0.7, atten=4) from sound.effects import echo echo.echofilter(input, output, delay=0.7, atten=4) from sound.effects.echo import echofilter echofilter(input, output, delay=0.7, atten=4)
[ "chc1129@gmail.com" ]
chc1129@gmail.com
6991dc207815ab48ae46791891d445b78c2359a0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_recentest.py
f93941f4b13cefdd2333686e329e9b615cf9de18
[ "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
#calss header class _RECENTEST(): def __init__(self,): self.name = "RECENTEST" self.definitions = recent self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['recent']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
143a2b435ce857dbd0475e94aef1e9bf00d0afb5
19236d9e966cf5bafbe5479d613a175211e1dd37
/cohesity_management_sdk/models/role_update.py
733ad80c72ec30c51a96e5f47fa441e5e2415f91
[ "MIT" ]
permissive
hemanshu-cohesity/management-sdk-python
236c44fbd9604809027f8ddd0ae6c36e4e727615
07c5adee58810979780679065250d82b4b2cdaab
refs/heads/master
2020-04-29T23:22:08.909550
2019-04-10T02:42:16
2019-04-10T02:42:16
176,474,523
0
0
NOASSERTION
2019-03-19T09:27:14
2019-03-19T09:27:12
null
UTF-8
Python
false
false
1,628
py
# -*- coding: utf-8 -*- # Copyright 2019 Cohesity Inc. class RoleUpdate(object): """Implementation of the 'Role Update.' model. Specifies parameters required to update a role. Attributes: description (string): Specifies a description about the role. privileges (list of string): Array of...
[ "ashish@cohesity.com" ]
ashish@cohesity.com
24fee577c01fbd41cd14296cf06baa7ff9dd8694
76e62ddbfdfba19c80b37e855a4df67672ef0808
/IVTa/2014/ALEKSEEV_I_S/task_12_50.py
ab19443ceba4961fb2b12b4689e1e91a89688863
[ "Apache-2.0" ]
permissive
stasvorosh/pythonintask
9d30f3cd492e89783b7221402375c1ebe4690baa
8169ed26510022fe0d589f4013f11749131957df
refs/heads/master
2021-01-17T16:49:32.778063
2016-10-10T14:08:04
2016-10-10T14:08:04
52,255,539
6
0
null
2016-02-22T07:33:16
2016-02-22T07:33:15
null
UTF-8
Python
false
false
1,942
py
# Задача 12. Вариант 50 # Разработайте игру "Крестики-нолики". #(см. М.Доусон Программируем на Python гл. 6). # Alekseev I.S. # 20.05.2016 board = list(range(1,10)) def draw_board(board): print("-------------") for i in range(3): print( "|", board[0+i*3], "|", board[1+i*3], "|", board[2+i*3], "|") ...
[ "stasyan.v@gmail.com" ]
stasyan.v@gmail.com
5a39161daf1b0158febc6f1084a130433c1c9944
bffd457e17dc250c81d7bd9e25c20a483f1a1ed5
/pandatools/demo_hw.py
609861d6783d01829e0f12b67428d2acf0459b39
[]
no_license
Harzva/gigavision
3121f183b8cfc66f9c89f4afe1bd0bdf1c1fe104
1fb1ad9b9d5aac6c18dc83184a52c484964be7fb
refs/heads/master
2023-02-20T10:34:21.735085
2021-01-24T10:07:30
2021-01-24T10:07:30
332,416,570
2
2
null
null
null
null
UTF-8
Python
false
false
5,892
py
import json import cv2 import numpy as np import os # basepath="/root/data/gvision/dataset/train_all_annos/s0.3_t0.7_all" # load_path="/root/data/gvision/dataset/output/my_pv_train/my_inference/coco_pv_inference_results.json" # load_path_coco="/root/data/gvision/dataset/predict/s0.5_t0.8_141517/image_annos/person_bbox...
[ "562282219@qq.com" ]
562282219@qq.com
d74a7b8a8e2ea23d2b2855097c8f985640ed438f
2fac796fa58c67fb5a4a95a6e7f28cbef169318b
/python/copy-books.py
2e512fdb8dea53102e37f2f032524d38ae208b24
[]
no_license
jwyx3/practices
f3fe087432e79c8e34f3af3a78dd10278b66dd38
6fec95b9b4d735727160905e754a698513bfb7d8
refs/heads/master
2021-03-12T20:41:59.816448
2019-04-14T06:47:30
2019-04-14T06:47:30
18,814,777
2
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
class Solution: # @param pages: a list of integers # @param k: an integer # @return: an integer def copyBooks(self, pages, k): # can k persons copy books within x minutes def check(x): total, kt = 0, 0 for p in pages: # current person cannot copy a...
[ "jwyx88003@gmail.com" ]
jwyx88003@gmail.com
4b304a6e1a76ef2a2f7c84a60648ce425b7fb6eb
4ad94b71e30883d6df07a3277265bd6fb7457ba7
/python/examples/doc_examples/export/animation_mpeg4.py
7c73d2ff682be520d5d63b21b8a1722fb7631a24
[ "MIT" ]
permissive
Tecplot/handyscripts
7cb1d4c80f323c785d06b0c8d37aeb0acb67f58c
84a89bfecff5479a0319f08eb8aa9df465283830
refs/heads/master
2023-08-22T15:29:22.629644
2023-08-12T01:19:59
2023-08-12T01:19:59
149,826,165
89
64
MIT
2022-01-13T01:11:02
2018-09-21T22:47:23
Jupyter Notebook
UTF-8
Python
false
false
2,932
py
import argparse, os import tecplot as tp from tecplot.constant import * def parse_args(): """ This script is to be run from the command line and accepts the following command line arguments. Run this script with "--help" to see usage and help information. """ parser = argparse.ArgumentParser()...
[ "55457608+brandonmarkham@users.noreply.github.com" ]
55457608+brandonmarkham@users.noreply.github.com
826ff5fbda6157abe17679e09c88a2f5ee00718f
7b2d14f78099fde6c4a35082c9c294d1771cb163
/Week 8/class_test.py
53f6096a898910fbe51a1f31c0374884107660a0
[]
no_license
pinardy/Digital-World
04c6ddb369ede7295a0891aaaa006486c557965e
dd0a351eb64f05b524b08c47cd0c0ad3eadd775c
refs/heads/master
2020-12-30T22:45:02.448171
2018-01-30T03:06:08
2018-01-30T03:06:08
80,622,946
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
class A: x = [] def add(self): self.x.append(1) class B: def __init__(self): self.x = [] def add(self): self.x.append(1) x = A() y = A() x.add() print x.x y.add() # print "A's x:",x.x x = B() y = B() x.add() y.add() # print "B's x:",x.x
[ "pinardy@hotmail.com" ]
pinardy@hotmail.com
2d959348fb53a3f73acfd66f0441f7e8c6026727
813284b9dac4477f4893cb6b30ffafab8e181cc4
/contrib/linearize/linearize-hashes.py
d09065439ec8c13970e3d8289d3634fc41ad3053
[ "MIT" ]
permissive
phoenixkonsole/xbtx
609809c29c32e2c4373a26204480a0e2a9f0922e
2f9db3d0ca34103e315a5bc9ef2fa2d42cb71810
refs/heads/master
2023-05-11T17:37:28.762478
2023-05-03T09:54:14
2023-05-03T09:54:14
243,993,348
3
11
MIT
2023-05-03T09:54:15
2020-02-29T15:30:47
C++
UTF-8
Python
false
false
4,698
py
#!/usr/bin/env python3 # # linearize-hashes.py: List blocks in a linear, no-fork version of the chain. # # Copyright (c) 2013-2016 The Bitcoin Core developers # Copyright (c) 2017 The BitcoinSubsidium Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.openso...
[ "william.kibbler@googlemail.com" ]
william.kibbler@googlemail.com
db31b8d2ff15f45a463ad6fbc60c2cb57dc1f3f5
31e3e0ce6d8b8cd1b286971aa1ea3c56a338ca48
/sunpy/util/sphinx/doctest.py
5a29458fbf6228f895f78a2fab1182fc8684257c
[ "BSD-2-Clause" ]
permissive
sunpy/sunpy
d8df998cf7753834ffd7add6911c0e4f6828b5b8
edd3ea805f4540d41ce2932a0e865cab2d6a4cf5
refs/heads/main
2023-09-01T12:05:09.343909
2023-08-31T13:36:35
2023-08-31T13:36:35
2,165,383
792
683
BSD-2-Clause
2023-09-14T14:03:09
2011-08-06T15:34:08
Python
UTF-8
Python
false
false
1,966
py
# Licensed under the Astropy 3-clause BSD license - see licenses/ASTROPY.rst """ This is a set of three directives that allow us to insert metadata about doctests into the .rst files so the testing framework knows which tests to skip. This is quite different from the doctest extension in Sphinx itself, which actually d...
[ "stuart@cadair.com" ]
stuart@cadair.com
44846d39e03d4c86d424fa57d50d5d22b76e2b30
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/73/usersdata/214/39773/submittedfiles/triangulo.py
69ff688cd3048f7f591723dc3954f22789a5366c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
# -*- coding: utf-8 -*- import math a=int(input('Digite a:')) b=int(input('Digite a:')) c=int(input('Digite a:') a>=b>=c>0 if a<b+c: print('S') else: print('N') if a+b<c: if(a**2)==(b*2)+(c**2): print ('Re') if(a**2)==(b*2)+(c**2): print ('Re') if(a**2)==(b*2)+(c**2): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
694a32db49cb1ca6e8ff77d71cfc2dbc980fad97
a668806b052884b2f1faef6a28304c908a89fc68
/test/fixtures/LoggerFixture.py
fcb55b6b5af8ab5768519c8566db92db68e92c05
[ "MIT" ]
permissive
pip-services3-python/pip-services3-elasticsearch-python
aa2e49a70a0debcb2e77f59aefe144baf401b4ca
fe2fba2aeaef7ba80c17732d0065e5bcd60fcb82
refs/heads/master
2023-01-28T14:40:18.698083
2023-01-24T08:08:32
2023-01-24T08:08:32
140,886,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
# -*- coding: utf-8 -*- import time from pip_services3_components.log import LogLevel class LoggerFixture: def __init__(self, logger): self.__logger = logger def test_log_level(self): assert self.__logger.get_level() >= LogLevel.Nothing assert self.__logger.get_level() <= LogLevel.Tr...
[ "judas.priest999@gmail.com" ]
judas.priest999@gmail.com
32f57999cceed14699a94052de464465d2c5f3f6
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_mendicant.py
b54bd489ffe8ff7e7bd2a65fa8196b2a4fa0cc55
[ "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
390
py
#calss header class _MENDICANT(): def __init__(self,): self.name = "MENDICANT" self.definitions = [u'someone, especially a member of a religious group, who lives by asking people they do not know for money'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = '...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9c7997be9cd575f150d0f208a7ab48236e792676
ffc6efca14efd126e9b0541e7b0c1f3a05ee90e1
/algorithms/sorts.py
639abd50908bf5d6bb9026c50b0d6391653e9e3c
[]
no_license
dlopes7/python-tests
65b6687fcee9c6230d1fd13aa2941fef34cbaa8f
93c175c717499f75a2f533c2bccf4e4e0b886e25
refs/heads/master
2021-01-13T00:16:32.516708
2015-12-28T17:45:43
2015-12-28T17:45:43
48,704,303
0
0
null
null
null
null
UTF-8
Python
false
false
3,112
py
import random import pygame from algorithms.colors import * def draw_array(array, nome, frame): DISPLAY.fill(BLACK) aux_surf = DISPLAY_FONT.render(nome+ ' - ' + str(frame), True, WHITE) aux_rect = aux_surf.get_rect() aux_rect.topleft = (10, 10) DISPLAY.blit(aux_surf, aux_rect) for idx, va...
[ "davidribeirolopes@gmail.com" ]
davidribeirolopes@gmail.com
09abbc7def9184b80f439ee054f332587bccaf68
03e3138f99f275d15d41a5c5bfb212f85d64d02e
/source/res/scripts/common/Lib/distutils/tests/test_core.py
2de38bab70119d63190c0ca07ab4ad94abb32f45
[]
no_license
TrenSeP/WorldOfTanks-Decompiled
e428728e7901146d0b599d02c930d70532232a97
1faa748acec1b7e435b657fd054ecba23dd72778
refs/heads/1.4.1
2020-04-27T08:07:49.813023
2019-03-05T17:37:06
2019-03-05T17:37:06
174,159,837
1
0
null
2019-03-06T14:33:33
2019-03-06T14:24:36
Python
UTF-8
Python
false
false
2,628
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/common/Lib/distutils/tests/test_core.py import StringIO import distutils.core import os import shutil import sys import test.test_support from test.test_support import captured_stdout, run_unittest import unittest from distutils.tests impo...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
7c464d2064133dba060722b62dd9afa6f8efab4a
7864ab2c567f5f3a98e7ab38ff38a3bd7c816fde
/fireplace/cards/gvg/spare_parts.py
eabe7299eaca68fb72038d7f15c9cb40af004331
[]
no_license
gmagogsfm/fireplace
bfa1b57254b673317442518a997c635183bd3e61
f16ee0659310a003d54552d0660ea3eb15c4da3f
refs/heads/master
2021-01-09T09:06:35.035741
2015-02-09T14:30:24
2015-02-09T14:30:24
28,540,192
1
0
null
null
null
null
UTF-8
Python
false
false
799
py
""" Spare Parts """ from ..utils import * # Armor Plating class PART_001: action = buffTarget("PART_001e") class PART_001e: Health = 1 # Time Rewinder class PART_002: action = bounceTarget # Rusty Horn class PART_003: def action(self, target): target.taunt = True # Finicky Cloakfield class PART_004: ac...
[ "jerome@leclan.ch" ]
jerome@leclan.ch
6e8c6813730dff827293a1ea8bb73eac583c808b
32a3396cf8d879c92c09f5411af946084ed2ca3c
/blog/company_name_context_processor.py
945c41dda6a2e989d60d18204aab0c0e256507cc
[]
no_license
mPowering/django-mpowering-healthcare
5ae527dd7abac8d2f9debc506b6cb197b4db0ab8
52cff8d864d9363f0115831963bfa43a92ee2b47
refs/heads/master
2020-12-25T18:16:32.992431
2014-05-23T15:52:46
2014-05-23T15:52:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
# Django imports from django.conf import settings def get_company_name(request): return {"company": settings.COMPANY_NAME}
[ "gitumarkk@gmail.com" ]
gitumarkk@gmail.com
9582efa970cbb8fbcb5908d20387bee0ac01cdcb
00b405a49ac6108d24986243c4b52fa53fb58acc
/0517_super_washing_machines.py
2f24982ec5d0bc0f3747d006eebaca662cd97192
[]
no_license
Shin-jay7/LeetCode
0325983fff95bfbc43a528812582cbf9b7c0c2f2
953b0b19764744753f01c661da969bdab6521504
refs/heads/master
2023-07-19T07:17:21.513531
2023-07-15T06:05:06
2023-07-15T06:05:06
231,285,199
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
from __future__ import annotations from typing import List class Solution: def findMinMoves(self, machines: List[int]) -> int: total, n = sum(machines), len(machines) if total % n: return -1 target, ans, to_right = total // n, 0, 0 # to_right: num of dresses to pass to ...
[ "shin@jay7.net" ]
shin@jay7.net
84d78b6245a076777dc308a6a42e78272b8479ec
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03330/s929352693.py
253b3802f55ad2c29dbbdab985c6ea0170a9fbee
[]
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
712
py
n,c=map(int,input().split()) irohen=[list(map(int,input().split())) for i in range(c)] grid=[list(map(int,input().split())) for i in range(n)] rem0=[0]*c rem1=[0]*c rem2=[0]*c for i in range(n): for j in range(n): if (i+j)%3==0: rem0[grid[i][j]-1]+=1 elif (i+j)%3==1: rem1[gri...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c6658efc9c3b1000d0b1be621573728ac5c30b16
fc4f97918ac9366837cb05f51091178bbf37ac18
/shelve_ex.py
d7cf2d49cdfc05a1eac38bbb50efef5cfafaa194
[]
no_license
zoejane/automate-python
ae72ef7bed291b757ee41d578844c132cd1fc192
9c4e8ce69da21dc58e4fc85604d9e1fc848d8c3e
refs/heads/master
2021-01-10T01:51:23.009746
2015-10-24T13:14:09
2015-10-24T13:14:09
43,808,231
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
import shelve # list,dictionary,etc.. shelfFile =shelve.open('mydata') shelfFile['cats']=['Pooka','Simon','Cleo'] shelfFile.close() shelfFile =shelve.open('mydata') print(shelfFile['cats']) print(list(shelfFile.keys())) print(list(shelfFile.values())) shelfFile.close()
[ "dadac123@gmail.com" ]
dadac123@gmail.com
7b53a6dde1bd8e550782891bc7ea6c8a288fb41e
b005369db9f220e8548a11fceab8543a726def3c
/stacked-autoencoder-pytorch/untitled.py
d5d81ba59073148107d09a96f751aa0269d6617a
[]
no_license
liuyanqi/shallow_learning
9ec2b365986f66f2a3c07d377e3d979a07ebb2bd
b5fafb5b6ae5886bbd1a4ed03611eaee5481b627
refs/heads/master
2020-04-09T03:27:21.907715
2018-12-01T22:16:23
2018-12-01T22:16:23
159,983,237
0
0
null
null
null
null
UTF-8
Python
false
false
3,552
py
import os import torch import torch._utils try: torch._utils._rebuild_tensor_v2 except AttributeError: def _rebuild_tensor_v2(storage, storage_offset, size, stride, requires_grad, backward_hooks): tensor = torch._utils._rebuild_tensor(storage, storage_offset, size, stride) tensor.requires_grad ...
[ "liuyanqi@umich.edu" ]
liuyanqi@umich.edu
9e6ee83397fceeb430e08c5252d3be5dfb030f62
c5458f2d53d02cb2967434122183ed064e1929f9
/sdks/python/setup.py
0e7640cc7b4ed0f33efa8b96d3aad2210fed2a4f
[]
no_license
ross-weir/ergo-node-api-sdks
fd7a32f79784dbd336ef6ddb9702b9dd9a964e75
9935ef703b14760854b24045c1307602b282c4fb
refs/heads/main
2023-08-24T05:12:30.761145
2021-11-08T10:28:10
2021-11-08T10:28:10
425,785,912
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
""" Ergo Node API API docs for Ergo Node. Models are shared between all Ergo products # noqa: E501 The version of the OpenAPI document: 4.0.15 Contact: ergoplatform@protonmail.com Generated by: https://openapi-generator.tech """ from setuptools import setup, find_packages # noqa: H301 NAME = ...
[ "29697678+ross-weir@users.noreply.github.com" ]
29697678+ross-weir@users.noreply.github.com
c8b0402d15b859aaa402c2e24f7481605a77cd2a
762de1c66746267e05d53184d7854934616416ee
/tools/MolSurfGenService/MolSurfaceGen32/chimera/share/SimpleSession/versions/v25.py
ab3a358e3694974f623f33517a4eaf4975369ca4
[]
no_license
project-renard-survey/semanticscience
6e74f5d475cf0ebcd9bb7be6bb9522cf15ed8677
024890dba56c3e82ea2cf8c773965117f8cda339
refs/heads/master
2021-07-07T21:47:17.767414
2017-10-04T12:13:50
2017-10-04T12:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,944
py
# --- UCSF Chimera Copyright --- # Copyright (c) 2000 Regents of the University of California. # All rights reserved. This software provided pursuant to a # license agreement containing restrictions on its disclosure, # duplication and use. This notice must be embedded in or # attached to all copies, including partia...
[ "alex.gawronski@d60594c4-dda9-11dd-87d8-31aa04531ed5" ]
alex.gawronski@d60594c4-dda9-11dd-87d8-31aa04531ed5
699107beaaa0112e11b92168d41891cd13d99d01
996bb6bf244dded0a778b9035e34311a4ca0fbfe
/docs/conf.py
57e9c9ffe3ccd4b6a7747a216820b2bfb4ab4c67
[ "MIT" ]
permissive
edeposit/cz-urnnbn-api
7eb4229c03051300ddc375030d8233e8b3b2e95f
2c9d36648491bfcbf0f29bedaf6f507a51805f8e
refs/heads/master
2020-05-30T17:01:38.993229
2015-10-12T12:38:11
2015-10-12T12:38:11
31,064,934
1
0
null
null
null
null
UTF-8
Python
false
false
2,418
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # import os import sys import urllib import os.path sys.path.insert(0, os.path.abspath('../src/')) extensions = [ 'sphinx.ext.autodoc', 'sphinxcontrib.napoleon', 'sphinx.ext.intersphinx' ] intersphinx_mapping = { 'python': ('http://docs.python.org/2.7', ...
[ "bystrousak@kitakitsune.org" ]
bystrousak@kitakitsune.org
be8ba9e73db30402493becf02ec4687d74472442
a343a405ecc557a52974fa84bc0481cc11405b14
/33_searchRotatedSortedArray_V2.py
16dcda7bdf1a8844681f255d5bae37eca5ec09c1
[]
no_license
jennyChing/leetCode
926c2a5ff9f6c03152e93725b64f7bad804c415a
f3fc71f344cd758cfce77f16ab72992c99ab288e
refs/heads/master
2020-05-21T16:42:17.325980
2017-03-18T01:59:15
2017-03-18T01:59:15
61,048,131
2
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
''' 33. Search in Rotated Sorted Array Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a target value to search. If found in the array return its index, otherwise return -1. You may assume no duplicate exists in the array. ''...
[ "jklife3@gmail.com" ]
jklife3@gmail.com
29e07ede867807108d273fe7196934df3cefeaac
b0cfa5e2d84057ece11f3316f82b806f1383a9df
/modules/standard/whois/org_list_controller.py
634951f4f7f98df7331e81c2e4726dc4fdd7b993
[]
no_license
comatech/Tyrbot
0b862afc834ec2d587fd5f8f67926569b109b667
1f8648d81c0a5f089ef7aaa6581809a47657b624
refs/heads/master
2020-07-06T06:40:13.863215
2019-07-21T09:51:45
2019-07-21T09:51:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,161
py
from core.buddy_service import BuddyService from core.chat_blob import ChatBlob from core.command_param_types import Int, Any, Character from core.decorators import instance, command, event from core.dict_object import DictObject @instance() class OrgListController: ORGLIST_BUDDY_TYPE = "orglist" def __init_...
[ "email1@jkbff.com" ]
email1@jkbff.com
acf3f83d7f62c84c967c3097d82a174f12128cc8
6296d071fb9f48d8a12b1a14b371f9c4da29f98b
/notebook_format/formats.py
9c774ef6ba757215b4411ff71f8112eb2f17798c
[]
no_license
rosdyana/programming
681b14d9977cca527b8d787ffbcc4322ceca4725
eef81128a76519c96c7dd3e236f7a3bcd7e48d71
refs/heads/master
2021-01-18T16:07:23.625612
2017-03-26T23:33:30
2017-03-26T23:33:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
import json import warnings import matplotlib.pyplot as plt from IPython.core.display import HTML def load_style(css_style = 'custom1.css'): """ custom1.css adapted from https://github.com/rlabbe/ThinkBayes/blob/master/code/custom.css custom2.css adapted from https://github.com/neilpanchal/iPython-Notebook-Theme...
[ "ethen8181@gmail.com" ]
ethen8181@gmail.com
59286046da3a22e4b8f901dfac7e4065db049967
42a0760a051935b2e765d57c445235221a28f49e
/791_custom_sort_string.py
b4bb0b9295a5d278dee0a6d9d69b7aff5e664df3
[]
no_license
Th3Lourde/l33tcode
3bea3a3e7c633a2d5a36f7d76d5d776d275d8ee3
eb6b11f97a022b66716cb3890cc56c58f62e8aa4
refs/heads/master
2022-12-22T19:05:04.384645
2022-12-18T19:38:46
2022-12-18T19:38:46
232,450,369
0
0
null
null
null
null
UTF-8
Python
false
false
2,020
py
''' S and T are strings that contain lowercase letters. S is composed of unique chrs. S is sorted. Sort the characters in T that are in S. If there are characters in T not in S, they can be put anywhere in the resulting permutation. Idea: go through all elements of T, put them in a dictionary. We will want to keep t...
[ "th3sylvia.lourde@gmail.com" ]
th3sylvia.lourde@gmail.com
8707126656c4925ca4d8fbc116ad308a37a5d15e
964b063c2461aad267ddd991fefaf7ab53b1ca94
/7-kyu/remove-the-minimum/python/solution.py
11722bbad1643eb8888c64bafc9b75e0de5391b9
[]
no_license
lucasbflopes/codewars-solutions
26c4e2cd1be19db50cc8c1d9fc117c51c82a2259
72ef2c02dde7bd0d5a691e04e3b2a383e892f84b
refs/heads/master
2022-03-14T01:26:41.816498
2019-11-23T17:17:19
2019-11-23T17:17:19
114,834,447
0
1
null
null
null
null
UTF-8
Python
false
false
267
py
def remove_smallest(numbers): if not numbers: return [] else: min = numbers[0] for number in numbers[1:]: if number < min: min = number numbers.remove(min) return numbers
[ "LucasBraganca@Lucas-MacBook-Pro.local" ]
LucasBraganca@Lucas-MacBook-Pro.local
d6fa72819b42cb6d6b28b3aa70ee781aee56d539
e93cdd365b302dcbdb0dbef8accbd61473851354
/core/migrations/0018_field_picture.py
f10c67a1c51ad0c9dc125f0fb51f1423dbc3a9ad
[]
no_license
jonerra/radcliff
7bfd1004a2e1c789c4894b89df7d6408c5dc5034
13957e48a96175f11318187f3e180efa4fba2294
refs/heads/master
2021-01-21T13:53:45.409435
2016-05-16T23:21:51
2016-05-16T23:21:51
52,484,880
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-04-14 15:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0017_auto_20160414_1533'), ] operations = [ migrations.AddField( ...
[ "jonerra23@aim.com" ]
jonerra23@aim.com
0c056a6628998a8dee81f09c8ff8bf4f17b95073
ed1165acc8937976142f00009df5a942c02dbd24
/database.py
fe32b9a6206e5442caefce688ca62b803109ef8d
[]
no_license
Kha/shaderwall
1cb116b41c36ef9b20e86bfe2e16aaf4bf24e164
afac9d484fbee345500167cfc1e2edcf5c752b5c
refs/heads/master
2021-01-15T12:30:50.704084
2014-12-28T21:23:54
2014-12-28T21:23:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
from sqlalchemy import Column, ForeignKey, Integer, String, Text, DateTime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker from sqlalchemy import create_engine import datetime from config import connection_url import random import string def generate_authcode(): retu...
[ "lukas@schauer.so" ]
lukas@schauer.so
2160e87b55ae05a8679e74bdf72ae4a4de990797
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_lofts.py
8a42b14b52f7fdd76fb42f78e75a7c6bdbbbc98f
[ "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
214
py
#calss header class _LOFTS(): def __init__(self,): self.name = "LOFTS" self.definitions = loft self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['loft']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
3e8087f0c76fb300a58687be1be04060a5486a08
e66fa131cff76fa3fe70e7b6649fa1332159c781
/ch10/statisticsModule.py
457ed3ce44eb38e2f21007c4ca924d22a6b5f722
[]
no_license
chc1129/python_tutorial
c6d97c6671a7952d8a7b838ccb8aa3c352fa6881
2f8b389731bafbda73c766c095d1eaadb0f99a1c
refs/heads/main
2023-08-24T07:00:43.424652
2021-10-28T16:07:57
2021-10-28T16:07:57
341,532,732
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
import statistics data = [2.74, 1.75, 1.25, 0.25, 0.5, 1.25, 3.5] print(statistics.mean(data)) print(statistics.median(data)) print(statistics.variance(data))
[ "chc1129@gmail.com" ]
chc1129@gmail.com
f00e73727670667a1e871603bb509b79a7a90568
d190750d6cb34e9d86ae96724cf4b56a2f57a74a
/tests/r/test_saving.py
d5ffb1d760e2806452c3283ac3a9f4c3fa58f4c0
[ "Apache-2.0" ]
permissive
ROAD2018/observations
a119f61a48213d791de0620804adb8d21c2ad9fb
2c8b1ac31025938cb17762e540f2f592e302d5de
refs/heads/master
2021-09-24T04:28:02.725245
2018-09-16T23:06:30
2018-09-16T23:06:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.saving import saving def test_saving(): """Test module saving.py by downloading saving.csv and testing shape of extracted data has 100 row...
[ "dustinviettran@gmail.com" ]
dustinviettran@gmail.com
119d98cbfe961151ff8f55209511e83d900e5f00
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/point-mutations/80163ab58f714c95a8b2ee96815a1fcb.py
1d9ab6a4040ca28d3ccf3327a89a15e4fdbfb616
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
210
py
class DNA(object): def __init__(self, strand): self.strand = strand def hamming_distance(self, strand): return len([(x,y) for (x,y) in zip(strand, self.strand) if x != y])
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
c4a8cd354d040c15afd379aff695a191ded6cdc5
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_redistributing.py
7376d9ca1ac4caa9854da9d4a805a8cb3a3c1b21
[ "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
282
py
from xai.brain.wordbase.verbs._redistribute import _REDISTRIBUTE #calss header class _REDISTRIBUTING(_REDISTRIBUTE, ): def __init__(self,): _REDISTRIBUTE.__init__(self) self.name = "REDISTRIBUTING" self.specie = 'verbs' self.basic = "redistribute" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
39fa71b52214a84429c1e12d21c534e2b0f13a00
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/102/usersdata/195/49999/submittedfiles/av1_2.py
aa7d3b44f7edf2b0de15cd659ec5a4cc9d377f3f
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
# -*- coding: utf-8 -*- import math a=int(input('digite a :')) b=int(input('digte b:')) c=int(input('digite c:')) d=int(input('digite d:')) if a!=b and a==c and a!=d: print(V) else: print(F)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6619ecbf5ce70002cdfdedb21633647ee067064e
3d8aae8aa43e0fbd8a8cffc4fa2cd67419059d66
/module_PyQt/xtest/test_echo_array.py
33ca00c7a33595dfb60b15d778273c5fa491ec50
[]
no_license
onitonitonito/k_mooc_reboot
b8273b7e9fa3fc5958bca57c39f2f3a9108964f1
68c8c6a94adc99005fb0fc8c38c416f902d37888
refs/heads/main
2021-07-21T22:32:26.080330
2021-07-04T02:22:08
2021-07-04T02:22:08
109,581,972
0
0
null
2020-05-05T22:28:26
2017-11-05T13:30:03
Python
UTF-8
Python
false
false
945
py
""" # how to stack echo file """ print(__doc__) import random import _add_syspath_root from assets.config import dir_statics from string import ascii_letters SYMBOLS = [sym for sym in "!@#$%^&*()_-+=,.?/|;:{}~{}" + ascii_letters] RANDOM_START = (0, 39) RANDOM_END = (40, 78) LINES = 50 REPEAT = 10 FILE_NAME = dir_st...
[ "nitt0x0@gmail.com" ]
nitt0x0@gmail.com
c4ea0a8154024f7e95ffa9605300406c7e7de34f
e1b8fb9a5500516f28d3d7e9a5f259c49ef35f14
/top/api/rest/UserGetRequest.py
b3bd7048fb45379401d4afc382aa2472248e42f6
[]
no_license
htom78/taobao_comet_py
9224dbca1a413a54bcc5569873e4c7a9fc9ba059
ad8b2e983a14d3ab7665244449f79dd72f390815
refs/heads/master
2020-05-17T10:47:28.369191
2013-08-27T08:50:59
2013-08-27T08:50:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
''' Created by auto_sdk on 2013-06-16 16:36:02 ''' from top.api.base import RestApi class UserGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.fields = None self.nick = None def getapiname(self): return 'taobao.user.get'
[ "tomhu@ekupeng.com" ]
tomhu@ekupeng.com
bf4d638465250a538af5ac031e32f9596dbd63e1
4b773103a5000a0a980739dd65426878c90dc098
/core/models.py
9e45dbcac258c6b24c9a9cf4ee079215ea16be1f
[]
no_license
gpchelkin/grading_system
6ef693a89700fb86ce9567e33f697fb529c34297
e34f85fd1d9ac6bad892222d68516bbab5d7cf23
refs/heads/master
2020-06-15T07:10:27.193190
2016-12-20T14:12:32
2016-12-20T14:12:32
75,315,919
0
0
null
null
null
null
UTF-8
Python
false
false
2,319
py
# coding=utf-8 from django.contrib.auth.base_user import AbstractBaseUser from django.contrib.auth.models import AbstractUser from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from curriculum.models import ClassesType SEMESTER_CHOICES = ( ('1', '1'), ('2', '2...
[ "a.s.maratkanov@gmail.com" ]
a.s.maratkanov@gmail.com
0fd11a4dfafdc5db0041929e7300c6f3c2bac9da
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/oepiudBYC7PT7TXAM_12.py
b4db6ac9bfd7b1baa70fc45eadc33d11817f752d
[]
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
203
py
def parse_roman_numeral(num): d = {'M':1000,'D':500,'C':100,'L':50,'X':10,'V':5,'I':1} return sum(d[num[i]] if (i+1 == len(num) or d[num[i]]>=d[num[i+1]]) else -d[num[i]] for i in range(len(num)))
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
aa9043d32112f48f44454ef11cc5e8715ec14cc7
f320d83c1b6f4854cb808a17a2dbb8827051636e
/setfreq/ParaSetTest.py
d9afb304b9f8f27e4bf782ec4f1758761566c8d9
[]
no_license
JiahuiSun/Digital-Signal-Analyzer-based-on-SDR
f5214f2b2b36d4a24896f7d0c4a712979c236fd0
1e57dbb9cfcec7c0cb0a3f2335f3e68ecd2694d6
refs/heads/master
2020-04-04T19:50:16.131461
2018-11-06T12:51:42
2018-11-06T12:51:42
156,222,484
2
1
null
null
null
null
UTF-8
Python
false
false
179
py
import ParaSetCliSock import time f1 = 1500 f2 = 1600 ##while True: ParaSetCliSock.set_param('rx_freq',f1) ##time.sleep(5) ParaSetCliSock.set_param('tx_freq',f2) ##time.sleep(5)
[ "you@example.com" ]
you@example.com
6cf93c00ab4fa724d6ba734a936d3ff553a95395
6e3f97742562ff3cdf9372f54320c78e5c72fe97
/apps/partidos/serializers.py
984cd9ae22ba0f32acb4b3a184c75e363f0e068c
[]
no_license
desarrollosimagos/exit_poll
6892e9ad504691fa44eb5b599881c7fb044b260d
e4572e2b222cf6b5de8a221ac300ccb0062f8e41
refs/heads/master
2021-01-01T16:36:31.726898
2017-07-20T18:52:30
2017-07-20T18:52:30
97,868,339
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
from rest_framework import serializers from .models import Partidos class PartidosSerializer(serializers.ModelSerializer): """ Clase donde llamamos al modelo `Partidos` y serializamos los campos """ class Meta: model = Partidos fields = ('id', 'n_partidos','siglas','foto_partido','...
[ "ing.omar.orozco@gmail.com" ]
ing.omar.orozco@gmail.com
699ab4ccd658741ab0ee7d42f5a80900e4a99ca3
a137466dbaa5d704cd5a15ab9dfd17907b24be04
/utility/aggregator.py
dd85c5817e5daa2bc1e2d53f3a9685154e121927
[ "Apache-2.0" ]
permissive
xlnwel/g2rl
92c15b8b9d0cd75b6d2dc8df20e6717e1a621ff6
e1261fdd2ce70724a99ddd174616cf013917b241
refs/heads/master
2023-08-30T10:29:44.169523
2021-11-08T07:50:43
2021-11-08T07:50:43
422,582,891
1
1
null
null
null
null
UTF-8
Python
false
false
437
py
class Aggregator: """Allows accumulating values and computing their mean.""" def __init__(self): self.total = 0 self.last = 0 self.reset() def reset(self): self.sum = 0. self.count = 0 def average(self): return self.sum / self.count if self.count else 0...
[ "122134545@qq.com" ]
122134545@qq.com
4d5ea0573f752d71751f6d8611db7e239774bfc2
ea5a801283e5c8dd822d755aa8824e9fd17c9ecf
/nomuraholdings/spiders/nomura.py
9dde6136aea2930291b6ca2abd5eacd2b258ca05
[]
no_license
daniel-kanchev/nomuraholdings
3a5c98c2540fac135346267504eedd8bc8375ee1
4cf5faeeba53cf1122b1efe7698bac71af21b8fb
refs/heads/main
2023-03-03T14:54:43.454865
2021-02-11T07:33:46
2021-02-11T07:33:46
337,959,237
0
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
import scrapy from scrapy.loader import ItemLoader from itemloaders.processors import TakeFirst from datetime import datetime from nomuraholdings.items import Article class NomuraSpider(scrapy.Spider): name = 'nomura' start_urls = ['https://www.nomuraholdings.com/news/nr/index.html'] def parse(self, resp...
[ "daniel.kanchev@adata.pro" ]
daniel.kanchev@adata.pro
22c627fae44f0079e535d66064c91480db572937
7bad6ecb04b57f4a692426bb23766cf0b5916d3d
/microdrop/core_plugins/command_plugin/plugin.py
8fa27ab553a21e769406c2338ae015ca0488a243
[ "BSD-3-Clause" ]
permissive
cfobel/microdrop
b943bed4a765c5419b6dead8344dbff420af283e
721f2c9c040406bb3c70a9928923aad10a725b96
refs/heads/master
2020-04-15T18:50:20.035858
2018-10-23T14:26:58
2018-10-23T14:31:04
164,927,192
0
0
BSD-3-Clause
2019-01-09T19:47:11
2019-01-09T19:47:10
null
UTF-8
Python
false
false
3,735
py
from multiprocessing import Process import logging import sys from zmq_plugin.plugin import Plugin as ZmqPlugin from zmq_plugin.schema import decode_content_data import pandas as pd from logging_helpers import _L #: .. versionadded:: 2.20 logger = logging.getLogger(__name__) class CommandZmqPlugin(ZmqPlugin): ...
[ "christian@fobel.net" ]
christian@fobel.net
c94b34d4d6623b867a7cc91d3672366334dd307f
9cb6a655735b954eac4feeb006b174b8a5d759f4
/test/test_sighash.py
1e3dbf744d8ce0de53675357bfa42832889eef0d
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
Conio/pybitcointools
c68639439c5fc84694bb28213cc6d9c21198ad94
3025e73092789121ecf5aef4e6815be24f475735
refs/heads/master
2021-11-27T07:55:38.707876
2021-11-23T10:17:32
2021-11-23T10:17:32
53,937,108
20
13
null
2017-11-15T01:03:28
2016-03-15T10:55:22
Python
UTF-8
Python
false
false
3,375
py
import unittest import bitcoin from bitcoin import * class TestTransaction(unittest.TestCase): @classmethod def setUpClass(cls): print("Attempting transaction creation") def test3(self): print( deserialize_script('52210248905f94419795ea33cd42474e10bfaddc3ee5f0f0c66ecc29238fea...
[ "guido.dassori@gmail.com" ]
guido.dassori@gmail.com
09a20fc08bd4c36c320dd80bd12158ff8b3dd30e
0549916a0d04943a0d944a2794e103aed2d1299c
/docs/conf.py
1e9f35385b8904bab54fa8a27ed5d249e4bc4fcb
[ "MIT" ]
permissive
stephtdouglas/thejoker
20d6eac36520477b0478ae84effa519fde625f2f
b1f2681cd72b6c04d19b24aadf818639c5f59ad0
refs/heads/master
2020-03-18T10:26:55.842576
2018-04-16T20:24:47
2018-04-16T20:24:47
134,612,547
0
0
null
null
null
null
UTF-8
Python
false
false
7,806
py
# -*- coding: utf-8 -*- # Licensed under a 3-clause BSD style license - see LICENSE.rst # # Astropy documentation build configuration file. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this file. # # All configurati...
[ "adrian.prw@gmail.com" ]
adrian.prw@gmail.com
198f417c20f548b5837d62bb3ea3650d6729a7b7
a66460a46611483dfbdc94c7996893f427e60d97
/ansible/my_env/lib/python2.7/site-packages/ansible/modules/source_control/github_hooks.py
df0f0f2199b9d4b047c892050d52ba99640ae995
[ "MIT" ]
permissive
otus-devops-2019-02/yyashkin_infra
06b57807dde26f94f501828c07503d6bf1d70816
0cd0c003884155ac922e3e301305ac202de7028c
refs/heads/master
2020-04-29T02:42:22.056724
2019-05-15T16:24:35
2019-05-15T16:24:35
175,780,718
0
0
MIT
2019-05-15T16:24:36
2019-03-15T08:37:35
HCL
UTF-8
Python
false
false
5,874
py
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2013, Phillip Gentry <phillip@cx.com> # 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', ...
[ "theyashkins@gmail.com" ]
theyashkins@gmail.com
7669acaa0139374e57a42a7a5e950e3fd981b1cf
3ca6b34676a0adeaba85a2953a8c9abf5d6ef3e4
/cap 5/pizza.py
44790867aae04d53d68213989d73d8dcd4ef7e96
[]
no_license
giusepper11/Curso-intensivo-Python
34fb8e94c7c9afb09f54d8fc67136b337d0ef106
613cd502af3ff877dac0d62d9eb09b290d227838
refs/heads/master
2021-08-30T11:41:42.824065
2017-12-17T19:47:15
2017-12-17T19:47:15
114,535,941
1
0
null
null
null
null
UTF-8
Python
false
false
637
py
available_toppings = ['mushrooms', 'olives', 'green pepper', 'pepperoni', 'pinapple', 'extra cheese'] requested_toppings = ['mushrooms', 'extra cheese', 'french fries'] # if 'mushrooms' in requested_toppings: # print('Adding mushrooms') # if 'pepperoni' in requested_toppings: # print('Adding pepperoni') # if '...
[ "giusepper11@gmail.com" ]
giusepper11@gmail.com
a04ff5d4bae9109384d468f2375916651f0782c8
fe1d3a2e3b51d1440a5c431c32afc334841dcdc6
/view-point-server/tests/landmark_objects/perform_modeling.py
a351aa50fa3ffb0b0128eba0135d867485c7742d
[]
no_license
vyzuer/view_point
5a9b2251880de93a6ac41058f7d05eac2f4d814d
3ae071f8b5eca883f5d8790ad441d8ae419e9242
refs/heads/master
2020-06-15T23:35:26.027690
2016-12-01T05:35:33
2016-12-01T05:35:33
75,258,808
3
1
null
null
null
null
UTF-8
Python
false
false
1,189
py
import sys # add the package sys.path.append('/home/vyzuer/Copy/Research/Project/code/view-point/view-point-python') import landmark_object.classify_objects as cl_obj import landmark_object.gmm_modeling as gmm_model import landmark_object.geo_pixel_map as gpmap def process(cluster_model_path, dump_path, model_type):...
[ "ysrawat.cse@gmail.com" ]
ysrawat.cse@gmail.com
b216d0f072c2e1c156b59d7618b849f5928627d9
5d5f6ba3bdcb52b4750a5f28afa8a1a1019bfc9e
/django/extras/miniRegisterProject/miniRegisterProject/wsgi.py
611c6dc7765e6df4a6c4145df88f0e835082e8e1
[]
no_license
eDiazGtz/pythonLearning
06e96f2f5a6e48ac314cb815cf9fbf65d0b7c2c8
57d7b2292cf5d9769cce9adf765962c3c0930d6c
refs/heads/master
2023-06-18T02:16:09.293375
2021-05-03T18:09:52
2021-05-03T18:09:52
335,090,531
0
0
null
2021-05-03T18:09:53
2021-02-01T21:35:24
Python
UTF-8
Python
false
false
415
py
""" WSGI config for miniRegisterProject 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('...
[ "ediaz-gutierrez@hotmail.com" ]
ediaz-gutierrez@hotmail.com
1aa5f30f75d756e2d60d09e99a08e0c7a06a8549
cd5746f8cc7aee1f20606a65b4fae0d5e8ee78dc
/Python Books/Athena/training/exercises/exercises/software_craftsmanship/code_check/code_check_solution.py
503dc3833b752d73aa4ecca182f07f0d07cda69b
[]
no_license
theGreenJedi/Path
df24fca355590efef0c6cb5c52e7216c6b5d2464
b5ed2805dbb046480929e49e550bfd8af5bb4d6f
refs/heads/master
2023-07-27T14:23:37.694546
2021-07-16T01:38:55
2021-07-16T01:38:55
87,686,563
8
2
null
2023-07-11T22:49:03
2017-04-09T05:57:30
Jupyter Notebook
UTF-8
Python
false
false
1,073
py
""" Code Check ---------- This code has an assortment of bugs, and its style doesn't conform to PEP-8. Use pyflakes and pep8 to find and fix the code. You may have to install pep8 with the command: $ easy_install pep8 It might take a few iterations before pyflakes doesn't complain about something. """ from math i...
[ "GreenJedi@protonmail.com" ]
GreenJedi@protonmail.com
78294f6a8aef669474858e616f2609a6d163080a
bef7c41e7b51417f9cc5c3d30a7f94b59286e2b7
/Algorithms/subsets.py
eb73b6b90fe89a9c354b65f360339b14b82bdd11
[]
no_license
algometrix/LeetCode
40dd6ea93c370cabe57ba672d820f261e0595cae
3dc885ac2a93781c36fbe2735061da29194caba4
refs/heads/master
2021-07-01T19:45:08.018784
2021-06-03T05:38:13
2021-06-03T05:38:13
235,496,179
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
import pprint def generateSubset(array): temp = [] result = [] def search(k): if k == len(array): result.append([array[index] for index in temp]) else: temp.append(k) search(k+1) temp.pop() search(k+1) search(0) return...
[ "ashishnagar31@gmail.com" ]
ashishnagar31@gmail.com
1def5be0b51e055f3389540b66364e0974814105
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_159/624.py
cf0d31f0a91c8e0ded44e2339ac0e8cf0e446e08
[]
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
3,099
py
#codejam 4/17/15 import math as m import time #import codejam import sys sys.setrecursionlimit(100)#1100) #we need 1000 max #filename = r'c:\g\1A\1-test.in.txt' filename = r'c:\g\1A\A-large.in' #filename = r'c:\g\A1\1-large.in' foutname = r'c:\g\1A\1-out-large.txt' #foutname = r'c:\g\1A\1-out-large.txt' ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2a06374a0a793b1371880df1dcb25fa45b93da2c
aea74a8c1d4ad17eb65b7c70da5342c01fd1a930
/websites_mongo/scraper_military_shop.py
b0d8f9173ceff9468d92e846a3b1818f303f0b09
[]
no_license
savusebastian/angular_project
4e6d8b398e17ca91842d7579d8f4da8650e7a13a
9c28c25e4b9875abf346f7e9a7e8baa34bc3f9ee
refs/heads/main
2023-04-17T07:03:32.016850
2021-05-09T09:07:55
2021-05-09T09:07:55
365,710,891
0
0
null
null
null
null
UTF-8
Python
false
false
3,161
py
from bs4 import BeautifulSoup from bson.objectid import ObjectId from pymongo import MongoClient import pymongo import requests def military_shop_DB(): cluster = MongoClient('mongodb://localhost:27017/vrem_reduceri_db') db = cluster['vrem_reduceri_db'] collection = db['military_shop_products'] all_links = [ 'h...
[ "savusebastianf@gmail.com" ]
savusebastianf@gmail.com
4e09b2610a1de447484dfa0b2a454a2e60fbe606
c1c7f9e400f788c296d9464117ba6cac553b03ca
/src/datasets/soilmoist.py
4985c8c3541822a678276e354a53aac02b638597
[ "MIT" ]
permissive
nasa/RHEAS
1d8e0d6cb2df13713d458db07c0348fcf18eb9e1
27d0abcaeefd8760ce68e05e52905aea5f8f3a51
refs/heads/master
2023-08-03T23:05:47.535575
2023-08-01T16:55:13
2023-08-01T16:55:13
46,281,533
88
63
MIT
2023-08-01T16:55:15
2015-11-16T14:57:18
Python
UTF-8
Python
false
false
4,223
py
"""Definition for abstract soil moisture class. .. module:: soilmoist :synopsis: Definition of the Soilmoist class .. moduleauthor:: Kostas Andreadis <kandread@jpl.nasa.gov> """ import numpy as np import dbio import logging class Soilmoist(object): def __init__(self, uncert=None): """Initialize SM...
[ "kandread@jpl.nasa.gov" ]
kandread@jpl.nasa.gov
c09e738a65a63a9205d71eecf0d10d4efcb5b816
cd2aaf0097f2e244aa4a22c9da7133dd0e2f2fb8
/Saylani/python-code-master/23July2017/hello/first.py
3447c8c7a278396583b817b155ad18eece3784af
[]
no_license
EnggQasim/SSUET-2017-Module-I
349ea6e9b0554fa8c55899622bf0ee97fd19b685
cd41ab8e768616ca56ddaa1d7662283f653674f9
refs/heads/master
2020-03-25T10:36:38.330710
2018-09-30T13:17:38
2018-09-30T13:17:38
143,698,684
1
2
null
null
null
null
UTF-8
Python
false
false
190
py
print("Hello New world") name = "Mughal" name = 'Mughal' age = 45 email = "zeeshanhanif@gmail.com" print(name) name = 67 print(name) name1 = "My father\"s name is M. Aslam" print(name1)
[ "m.qasim077@gmail.com" ]
m.qasim077@gmail.com
5fb8b2e6dd69ef1453ce691638668749ee32b12b
29e1133741b339c2e6c4c0385a103f68baa32a11
/findata/gbif/gbif.py
94ef7024bcdaf8ce800a3eefbe841ba0e9df5a59
[]
no_license
Gscsd8527/AllProject
b406935dd1e969d1f45a62f870fb409f81ba4200
10b56c432b6f433e3a37967b7c717840e726765c
refs/heads/master
2023-02-21T20:25:48.397668
2022-03-04T14:01:27
2022-03-04T14:01:27
199,461,253
13
6
null
2023-02-15T20:47:23
2019-07-29T13:45:25
Python
UTF-8
Python
false
false
1,903
py
import requests from concurrent.futures import ThreadPoolExecutor, as_completed import json import pymongo from loguru import logger myclient = pymongo.MongoClient('mongodb://*********:27017/') mydb = myclient['dataset'] # 数据库 mycol = mydb['gbif'] # 表 class Gbif: def __init__(self): self...
[ "tan_gscsd@163.com" ]
tan_gscsd@163.com
b8732654492ceef372cc4e82ca927642071ce0f8
47ec91bedb4ca9d69bf288fd25484b08e013a8ac
/themylog/config/processors.py
ade5bc4eb60a7c781f37f1697dc4a98080629c66
[]
no_license
themylogin/themylog
23d1238866240d168cf3ce828bbb85d38276a226
d4de99f08f066972a06c1463a1e2440a56513bfa
refs/heads/master
2020-04-15T17:29:36.318428
2016-04-17T14:53:14
2016-04-17T14:53:14
14,795,831
1
0
null
null
null
null
UTF-8
Python
false
false
626
py
# -*- coding=utf-8 -*- from __future__ import absolute_import, division, unicode_literals from collections import namedtuple import sys from themylog.config.scripts import find_scripts Processor = namedtuple("Processor", ["name", "process"]) def get_processors(config): processors = [] directory = config.ge...
[ "themylogin@gmail.com" ]
themylogin@gmail.com
e5f2f94778e5364a8c9c19af7062bf8a1f7f02e9
2734b77a68f6d7e22e8b823418ad1c59fe1a34af
/opengever/workspaceclient/tests/test_keys.py
96b2015989f56a8230f5fa71a7c7b1f05fd50952
[]
no_license
4teamwork/opengever.core
5963660f5f131bc12fd0a5898f1d7c8f24a5e2b1
a01bec6c00d203c21a1b0449f8d489d0033c02b7
refs/heads/master
2023-08-30T23:11:27.914905
2023-08-25T14:27:15
2023-08-25T14:27:15
9,788,097
19
8
null
2023-09-14T13:28:56
2013-05-01T08:28:16
Python
UTF-8
Python
false
false
2,895
py
from contextlib import contextmanager from ftw.builder import Builder from ftw.builder import create from opengever.testing import IntegrationTestCase from opengever.workspaceclient.exceptions import ServiceKeyMissing from opengever.workspaceclient.keys import key_registry from plone.restapi.serializer.converters impor...
[ "e.schmutz@4teamwork.ch" ]
e.schmutz@4teamwork.ch
eb28e0f54441e884f4107a7771de1bbcac4b2f24
3b60e6f4bbc011003ac4929f01eb7409918deb79
/Analysis_v1/Simulation/Pythia/Unparticles/CP2UnparticlesPythia8fragments-2018PSWeights/UnparToGG_Spin2_du1p1_LambdaU-2000_pT70_M2000_TuneCP2_13TeV_pythia8_cfi.py
f5943fddccc2bb59b36b498dd9eadffdd636bb94
[]
no_license
uzzielperez/Analyses
d1a64a4e8730325c94e2bc8461544837be8a179d
1d66fa94763d7847011ea551ee872936c4c401be
refs/heads/master
2023-02-09T04:54:01.854209
2020-09-07T14:57:54
2020-09-07T14:57:54
120,850,137
0
0
null
2020-06-17T16:48:16
2018-02-09T03:14:04
C++
UTF-8
Python
false
false
1,586
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP2Settings_cfi import * from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", maxE...
[ "uzzie.perez@cern.ch" ]
uzzie.perez@cern.ch
dc7b67abce3d12e28bf013bb0871e37d84a241c6
40eb57784dc62179eafcf21f796a7d0c43cf55e5
/calliope/constraints/planning.py
39e9ce39f71b7a76af050a81764360e4c2893cc3
[ "Apache-2.0" ]
permissive
sjpfenninger/calliope
61b202f8519076a95ee8bad3d0d2215043e1b497
a4e49c3b7d37f908bafc84543510eec0b4cf5d9f
refs/heads/master
2020-06-11T01:01:36.709420
2016-12-06T14:47:20
2016-12-06T14:47:20
75,827,649
1
1
null
2016-12-07T11:01:51
2016-12-07T11:01:49
Python
UTF-8
Python
false
false
1,944
py
""" Copyright (C) 2013-2016 Stefan Pfenninger. Licensed under the Apache 2.0 License (see LICENSE file). planning.py ~~~~~~~~~~~ Planning constraints. """ import numpy as np import pyomo.core as po def node_constraints_build_total(model): """ """ m = model.m # Constraint rules def c_e_cap_to...
[ "stefan@pfenninger.org" ]
stefan@pfenninger.org
a727ae60692c2636d6abd360bd56330c24e06fee
df2cbe914f463ad050d7ed26194424afbe3a0a52
/addons/hr_maintenance/models/res_users.py
c97a2bb60b15c15017414adf202109752bb76078
[ "Apache-2.0" ]
permissive
SHIVJITH/Odoo_Machine_Test
019ed339e995be980606a2d87a63312ddc18e706
310497a9872db7844b521e6dab5f7a9f61d365a4
refs/heads/main
2023-07-16T16:23:14.300656
2021-08-29T11:48:36
2021-08-29T11:48:36
401,010,175
0
0
Apache-2.0
2021-08-29T10:13:58
2021-08-29T10:13:58
null
UTF-8
Python
false
false
1,195
py
from odoo import api, models, fields class Users(models.Model): _inherit = 'res.users' equipment_ids = fields.One2many('maintenance.equipment', 'owner_user_id', string="Managed Equipments") equipment_count = fields.Integer(related='employee_id.equipment_count', string="Assigned Equipments") def __in...
[ "36736117+SHIVJITH@users.noreply.github.com" ]
36736117+SHIVJITH@users.noreply.github.com
2de6c9501b1b8560c72788d40905ffe4818ba046
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/5_map/构造O(1)复杂度数组.py
4022012734ec37223659443e2deaa1ed6ec62b0f
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
665
py
# 设计一个特殊的数组,要求该数据结构以下三种操作的时间复杂度均为O(1) # 1. 查询数组某个位置的元素 # 2. 将数组某个位置的元素修改为指定值 # 3. 将数组所有元素修改为指定值 from collections import defaultdict class SpecialArray: __slots__ = "_data" def __init__(self) -> None: self._data = defaultdict(int) def get(self, index: int) -> int: return...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
d6f0dd5c587a5205dc3e3b19517b90443f991d4e
97e349765284a1239580f4ae6943f597797fdc0d
/dingweitest/test1.py
88b98797ba89775967126c4b52b4988562f63047
[]
no_license
chenhanfang/test2
716aa9b1f875a6c88bfc6fb45ddc9879441c3c34
5d9d44086815bdf514636a1fc14bcd2c1f4284a5
refs/heads/master
2021-01-20T14:22:51.885745
2017-05-09T01:59:34
2017-05-09T01:59:34
90,597,906
0
0
null
null
null
null
UTF-8
Python
false
false
2,244
py
#coding=utf-8 from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains#######鼠标事件的类 import time from selenium.webdriver.common.desired_capabilities import DesiredCapabilities driver=webdriver.Remote(desired_capabilities=DesiredCapabilities.CHROME) driver.get('http://www.baidu.com...
[ "chenhanfang@zhixunkeji.cn" ]
chenhanfang@zhixunkeji.cn
914fa86716ed865bb5eabf6824fd0f4239243ca5
163c66e58f04268c884335ed66461d5ddf513280
/hw2/quicksort.py
9d115b440faadc402a3c34e630c76fdcad1375f1
[]
no_license
pz325/Coursera_ADA
4ca0d8273c0571b45364b951d52a5d06cbdc652c
b968dd6b60f73d1ebe34195ddfa7fc39df3726cd
refs/heads/master
2016-09-05T22:16:13.865655
2014-11-18T21:27:54
2014-11-18T21:27:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,269
py
def chooseFirstElementAsPivot(A, l, r): return A[l] def chooseLastElementAsPivot(A, l, r): tmp = A[l] A[l] = A[r] A[r] = tmp return A[l] def chooseMedianOfThreeAsPivot(A, l, r): if r - l == 1: return chooseFirstElementAsPivot(A, l, r) mid = (r - l) / 2 + l # print(l, mid, r) ...
[ "sg71.cherub@gmail.com" ]
sg71.cherub@gmail.com
9b1aec656d50ff842d5761e6a750df7afab50cad
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/Bert-text-classification_for_PyTorch/transformers/tests/bartpho/test_tokenization_bartpho.py
3e35ad15c1ee543473709c7f66f9c1e22cda20ae
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,656
py
# coding=utf-8 # Copyright 2021 HuggingFace Inc. team. # 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 o...
[ "dongwenbo6@huawei.com" ]
dongwenbo6@huawei.com
d6667c371f5635050e24804b3548edbb78015a8e
d2e69d4d3d1e11a87f5a377e4a423422fe0a7058
/FullStack/12/celery_stuff/periodic_task.py
5d5dcb1b71af4eff0549304787a59963e751cecf
[]
no_license
oJacker/_python
6f30dd4a60c1593d27c00ac485163fc0ba77dd8c
8086d0cd78e156abfff9819a56384149dd431c56
refs/heads/master
2021-05-06T03:13:29.167281
2018-02-01T09:41:42
2018-02-01T09:41:42
114,827,084
1
0
null
null
null
null
UTF-8
Python
false
false
773
py
from celery import Celery from celery.schedules import crontab app = Celery() @app.on_after_configure.connect def setup_periodic_tasks(sender,**kwargs): # Calls test('hello) every 10 seconds sender.add_periodic_task(10.0, test.s('hello'),name='add every 10') # Calls test('world') every 30 seconds se...
[ "623657285@qq.com" ]
623657285@qq.com
97f136b14681008e20c099f12631a94a0fc21e33
b7203262280b8fabcf5573ea494e8e2408d8d2b9
/turtle/star.py
9282c3b8c1bd90f12603fc067e860a8e5d21d5fd
[ "Apache-2.0" ]
permissive
MDGSF/PythonPractice
1c11994a047ecb01c74b0cf0b320b6ffc570209d
77e81d7c965c5de1629df223cb27dd541d128eb1
refs/heads/master
2021-06-16T13:49:00.310063
2021-04-15T11:32:24
2021-04-15T11:32:24
177,229,019
1
0
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- import turtle as t def main(): t.color('red', 'yellow') t.begin_fill() while True: t.forward(200) t.left(170) if abs(t.pos()) < 1: break t.end_fill() t.done() if __name__ == "__main__": main()
[ "1342042894@qq.com" ]
1342042894@qq.com
c351193f7c13944665260375b74e52d614f9e126
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/list/double/Schema+Instance/NISTXML-SV-IV-list-double-maxLength-3-3.py
b87e6657a0667e04224d685b68de4abfd4acfadf
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
415
py
from output.models.nist_data.list_pkg.double.schema_instance.nistschema_sv_iv_list_double_max_length_3_xsd.nistschema_sv_iv_list_double_max_length_3 import NistschemaSvIvListDoubleMaxLength3 obj = NistschemaSvIvListDoubleMaxLength3( value=[ 6.828163737338829e+162, 4.3832452374445357e+167, ...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
5b89597467106b28a80cea60757167381bfd8edc
2aee45d23b47c6adba9eafc5a84d606a021f9300
/web_dashboard/models/models.py
fec9ca50de1abcd2af54f1f4e7a897ee9cb90ce6
[]
no_license
charles-123456/Primoris-System
23b183460ea79bfa8d896556aa35d62460154567
0880b8266eedfd0016a3b365c9939c34ad301155
refs/heads/main
2023-08-21T06:24:42.840026
2021-10-25T06:10:48
2021-10-25T06:10:48
385,922,247
1
0
null
null
null
null
UTF-8
Python
false
false
555
py
# -*- coding: utf-8 -*- from odoo import models, api from lxml.builder import E class BaseModel(models.AbstractModel): _inherit = 'base' @api.model def _get_default_dashboard_view(self): """ Generates a default dashboard view containing default sub graph and pivot views. :returns...
[ "charlesit333@gmail.com" ]
charlesit333@gmail.com
bb6fb54135f828268b32553a317043acc288650b
a2ab6c23253badb3be54b19ba061e1aeaac6a8cd
/utils/image_annotator.py
6d3168d8b386e8ae48a956d41739e56d99f89255
[]
no_license
vivek09pathak/ImageDetection_RealTime
0720fb4a6f35a81591f401a04ae44aa3bbea013f
d9e376b41a1216aecaacc9626cee59d45001695c
refs/heads/master
2022-12-26T22:04:18.328476
2020-09-30T10:20:15
2020-09-30T10:20:15
152,729,896
0
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
import cv2 import numpy as np from data.videos import path as videos_path def from_image(image): try: grid_interval = 25 grid_color = (200, 100, 200) points = [] current = [0, 0] width = image.shape[1] height = image.shape[0] img = image.copy() c_x ...
[ "anupamb266@gmail.com" ]
anupamb266@gmail.com
ab2e4af17f8e39c556b8394fc307067c0fcf635b
da0d673da16f92ffed008b4c8b8c82c336d78122
/server/app.py
90039f57aee1197bfae1a0fe21bfe9586aac1f61
[]
no_license
aparkalov/sc-web
5dcac607c42376df205c6a025dbfe076f018970b
43c0d79f0fefa435bb9f53b230e9b9048e000613
refs/heads/master
2021-01-17T18:21:58.247615
2015-10-25T20:45:11
2015-10-25T20:45:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,155
py
import tornado.ioloop import tornado.web import tornado.options import secret import os from handlers.main import MainHandler import handlers.api as api import handlers.auth as auth import admin.main as admin import admin.users as admin_users import ws, db is_closing = False def signal_handler(signum, frame): gl...
[ "denis.koronchik@gmail.com" ]
denis.koronchik@gmail.com
efdf17b0386a062ae1786386cfcd575b6dfe973d
397e125e94f4f139f2bf5055824d81f24b8b1757
/ABC/165/F-1.py
e46b77a108de4a46bd7d12686ca0056a7ddfe1e2
[]
no_license
tails1434/Atcoder
ecbab6ee238e3f225551297db961b1b502841fa4
e7c7fed36be46bbaaf020a70997842240ba98d62
refs/heads/master
2021-07-07T00:31:49.235625
2020-09-30T01:42:01
2020-09-30T01:42:01
189,009,622
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
import sys import bisect from collections import deque sys.setrecursionlimit(4100000) input = sys.stdin.readline def main(): N = int(input()) A = list(map(int, input().split())) edge = [[] for _ in range(N)] for i in range(N-1): u, v = map(int, input().split()) u -= 1 v -= 1 ...
[ "sososo1333@gmail.com" ]
sososo1333@gmail.com
e5298e2cb42519ec6fdfc02dc68398406969417c
cc096d321ab5c6abf54fdcea67f10e77cd02dfde
/flex-backend/pypy/translator/js/function.py
c14b8c8c19d81579e42f69e8c29f1ca539832eaa
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
limweb/flex-pypy
310bd8fcd6a9ddc01c0b14a92f0298d0ae3aabd2
05aeeda183babdac80f9c10fca41e3fb1a272ccb
refs/heads/master
2021-01-19T22:10:56.654997
2008-03-19T23:51:59
2008-03-19T23:51:59
32,463,309
0
0
null
null
null
null
UTF-8
Python
false
false
7,649
py
try: set except NameError: from sets import Set as set from pypy.objspace.flow import model as flowmodel from pypy.rpython.lltypesystem.lltype import Signed, Unsigned, Void, Bool, Float from pypy.rpython.lltypesystem.lltype import SignedLongLong, UnsignedLongLong from pypy.rpython.ootypesystem import ootype fr...
[ "lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d" ]
lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d
02c88c50e679434e3e4ae163ee0e5026f6e74efc
e489172f6e49e1239db56c047a78a29a6ffc0b36
/via_purchase_enhancements/stock.py
94ac503ae599e50b3f088a456a70e97b5fede72d
[]
no_license
eksotama/prln-via-custom-addons
f05d0059353ae1de89ccc8d1625a896c0215cfc7
f2b44a8af0e7bee87d52d258fca012bf44ca876f
refs/heads/master
2020-03-25T19:49:08.117628
2015-12-01T07:29:43
2015-12-01T07:29:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
############################################################################## # # Vikasa Infinity Anugrah, PT # Copyright (c) 2011 - 2012 Vikasa Infinity Anugrah <http://www.infi-nity.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Genera...
[ "aero@aero.(none)" ]
aero@aero.(none)
680addf26dba5b848a8d83cd34e73d8f679a6b41
b67ba573498318c906968bd2c946543dbd4658fe
/gravityspytools/retrain_model/views.py
479c7bb11b8c958af3bc4fd322cdb30c88d2d2d7
[ "BSD-3-Clause" ]
permissive
Gravity-Spy/gravityspytools
1f86f91a00063afdfe507f1d1bf38be5c8e1b421
23ef83e36ed934f7c39440bf43f4d5c7b7b4abb0
refs/heads/master
2021-05-09T08:55:12.904449
2020-07-14T18:38:25
2020-07-14T18:38:25
119,413,494
4
4
BSD-3-Clause
2020-07-14T18:38:27
2018-01-29T17:05:08
Python
UTF-8
Python
false
false
2,405
py
# -*- coding: utf-8 -*- #from __future__ import unicode_literals from django.shortcuts import render, redirect from login.utils import make_authorization_url from collection_to_subjectset.utils import retrieve_subjects_from_collection from .forms import NewClassForm from .models import NewClass from gwpy.table impo...
[ "scottcoughlin2014@u.northwestern.edu" ]
scottcoughlin2014@u.northwestern.edu
5d17e513b427415520b3fd591509b1b5542e8fb0
556db265723b0cc30ad2917442ed6dad92fd9044
/tensorflow/lite/tutorials/dataset.py
fdaf84c2bb43e306fe0bf9c9172c996cdcefe1c6
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
graphcore/tensorflow
c1669b489be0e045b3ec856b311b3139858de196
085b20a4b6287eff8c0b792425d52422ab8cbab3
refs/heads/r2.6/sdk-release-3.2
2023-07-06T06:23:53.857743
2023-03-14T13:04:04
2023-03-14T13:48:43
162,717,602
84
17
Apache-2.0
2023-03-25T01:13:37
2018-12-21T13:30:38
C++
UTF-8
Python
false
false
4,299
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
27175455b13f7f9029aeb649eab51391f2080bbf
6be8aa517e679b33b47d35f100e6590902a8a1db
/Math/Problem05.py
bd5e99bc0820fd1c4d6b55798e43ebf0508f2baa
[]
no_license
LeeJuhae/Algorithm-Python
7ca4762712e5e84d1e277abecb3bf39c9cbd4e56
729947b4428205adfbac194a5527b0eeafe1c525
refs/heads/master
2023-04-24T01:02:36.430970
2021-05-23T07:17:25
2021-05-23T07:17:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# https://www.acmicpc.net/problem/1722 import sys read = sys.stdin.readline n = int(read().strip()) cmd = list(map(int, read().strip().split())) cmd[0] -= 1 fact = [-1 for _ in range(21)] fact[0] = 1 for i in range(1, 21): fact[i] = fact[i - 1] * i def go(d, ans): global k, arr, fact if d == n: ...
[ "gusdn0657@gmail.com" ]
gusdn0657@gmail.com