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
c57c61d86c5572b1948a7a0502578e0809ad170e
e36472948f74fd5ed35fc64801a59db4efa27070
/part_1/04_6_test.py
174139579a5653b3edaa5a336c79a87ac1f5214f
[]
no_license
anton1k/python_crash_course
051aad7c5a043830d8cc9e5fd314f568bf0f4a53
80f302074e5fef48fb40e72f7d79ab4b8658b38a
refs/heads/master
2020-07-18T23:28:00.871466
2019-09-04T14:06:12
2019-09-04T14:06:12
206,333,934
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
square = list(range(1, 21, 2)) print(square) for i in square: print(i)
[ "40913464+anton1k@users.noreply.github.com" ]
40913464+anton1k@users.noreply.github.com
3351932d3d3a75e35b6b1fcbd967fa8b054bd65b
13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab
/home--tommy--mypy/mypy/lib/python2.7/site-packages/theano/sandbox/cuda/tests/test_tensor_op.py
cb9162354ac7fa9120cf4dd3b05d616e784e0f36
[ "Unlicense" ]
permissive
tommybutler/mlearnpy2
8ec52bcd03208c9771d8d02ede8eaa91a95bda30
9e5d377d0242ac5eb1e82a357e6701095a8ca1ff
refs/heads/master
2022-10-24T23:30:18.705329
2022-10-17T15:41:37
2022-10-17T15:41:37
118,529,175
0
2
Unlicense
2022-10-15T23:32:18
2018-01-22T23:27:10
Python
UTF-8
Python
false
false
5,283
py
""" This file test tensor op that should also operate on CudaNdaray. """ from __future__ import absolute_import, print_function, division from nose.plugins.skip import SkipTest from nose_parameterized import parameterized import numpy import theano from theano import tensor import theano.tensor as T import theano.tes...
[ "tbutler.github@internetalias.net" ]
tbutler.github@internetalias.net
1f54af48b0de5de3deb1326d6dfc2e3b9b08012e
7246faf9a222269ce2612613f58dc5ff19091f10
/baekjoon/3000~5999/4949_균형잡힌세상.py
69e300ec26003ff839d8917a542427b2e7f68cc4
[]
no_license
gusdn3477/Algorithm_Study
87a2eb72a8488d9263a86db70dadc7944434d41d
3fefe1dcb40122157845ffc542f41cb097711cc8
refs/heads/main
2023-08-30T12:18:21.412945
2021-09-28T13:00:11
2021-09-28T13:00:11
308,364,230
0
1
null
null
null
null
UTF-8
Python
false
false
598
py
a = input() while a != '.': poc = [] for i in range(len(a)): if a[i] == '(' or a[i] == '[': poc.append(a[i]) if a[i] == ')': if not poc or poc[-1] != '(': poc.append(a[i]) break if poc[-1] == '(': poc.pop() ...
[ "gusdn3477@naver.com" ]
gusdn3477@naver.com
170a083c957c7be6132d27953ebb3e394bf8b3e5
130a98632d2ab4c171503b79e455b7aa27a1dda4
/models/research/object_detection/inputs_test.py
10dd078873c538661d0f57fd9154cb10f2b0c150
[ "Apache-2.0", "MIT" ]
permissive
aboerzel/German_License_Plate_Recognition
d7fc0314295f5cf0c9d7ae9c93a795e3ef1c5787
6fc53292b1d3ce3c0340ce724c2c11c77e663d27
refs/heads/master
2023-01-30T18:08:37.339542
2023-01-07T07:41:36
2023-01-07T07:41:36
245,586,430
34
12
MIT
2023-01-07T07:41:37
2020-03-07T07:16:51
Python
UTF-8
Python
false
false
75,857
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "andreas.boerzel@gmx.de" ]
andreas.boerzel@gmx.de
83547d23b166d298dba8225456e446df30293c67
c90962d0f3233205d4dc99391f6aab3402fa7ed8
/parPDE/__init__.py
4557dcb4c8a5af05fe9207a2e5b7ce6f3b66bbdf
[ "BSD-2-Clause" ]
permissive
chrisjbillington/parpde
f97a1303c404ec83f22df15c6fb4e80485176150
4f882cbbb9ad6c57814e4422e9ba063fa27886a0
refs/heads/master
2022-11-10T16:18:31.489069
2019-01-22T21:01:25
2019-01-22T21:01:25
275,920,389
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
from .parPDE import * try: from __version__ import __version__ except ImportError: __version__ = None
[ "chrisjbillington@gmail.com" ]
chrisjbillington@gmail.com
0d8f76b499ac816e3bd0061d7450637456aaa4d7
1681332a25e5130517c403bb7a860ca30506d5ea
/res/dlworkshop/conv_test.py
abb17bf25cec4bb3835f22de94b69b03e0211a02
[ "MIT", "CC-BY-4.0" ]
permissive
dgyrt/dgyrt.github.io
240550826aa031323db1f64b00b36db1ac3d65df
fac6c1a9d10d8e87bad6e80aa96027b84975ee1d
refs/heads/master
2020-05-21T12:23:00.437395
2017-01-31T14:05:39
2017-01-31T14:05:39
43,422,967
0
0
null
null
null
null
UTF-8
Python
false
false
7,173
py
"""" convnet test """ import os; import gzip; import cPickle as pickle; import numpy as np; import theano; import theano.tensor as T; from theano.tensor.nnet import conv; from theano.tensor.signal import downsample; n_epochs=100; batch_size=100; def relu(x): return x*(x>1e-13); class ConvLayer(object): def...
[ "duguyue100@gmail.com" ]
duguyue100@gmail.com
36297de68d4dda62481025cf1bbce659d0ce664f
3b89c0a97ac6b58b6923a213bc8471e11ad4fe69
/python/CodingExercises/CheckSecondStringFormedFirstString.py
82a8ded99bb4b608b37b268d47ca9e6f94271932
[]
no_license
ksayee/programming_assignments
b187adca502ecf7ff7b51dc849d5d79ceb90d4a6
13bc1c44e1eef17fc36724f20b060c3339c280ea
refs/heads/master
2021-06-30T07:19:34.192277
2021-06-23T05:11:32
2021-06-23T05:11:32
50,700,556
1
3
null
null
null
null
UTF-8
Python
false
false
1,218
py
''' Check whether second string can be formed from characters of first string Given two strings str1 and str2, check if str2 can be formed from str1 Example : Input : str1 = geekforgeeks, str2 = geeks Output : Yes Here, string2 can be formed from string1. Input : str1 = geekforgeeks, str2 = and Output : No Here stri...
[ "kartiksayee@gmail.com" ]
kartiksayee@gmail.com
9796214d25e80f9655fb1910bc028c1969ce3aca
1d8535658ed07fc88558c7d9bf3a01b709f189b1
/src/reversion/migrations/0001_initial.py
986fd81ac986f7c87b8babac57ae6a6c0bfa701a
[ "BSD-2-Clause" ]
permissive
druids/django-reversion
ebedc4debe3ffc611f9e2bf72a04f388274502a0
d80a24b6a195c8a68bfc3100ba533419226fa18d
refs/heads/master
2020-12-25T08:50:58.658410
2018-06-10T20:19:42
2018-06-10T20:19:42
40,229,843
0
3
NOASSERTION
2020-04-09T13:16:57
2015-08-05T06:56:01
Python
UTF-8
Python
false
false
2,506
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.db.models.deletion from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('contentt...
[ "dave@etianen.com" ]
dave@etianen.com
290c90e1ec3e9aea7039b80484a81718c05d1dfb
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_shelled.py
92293753951a72a46ead1e9e801bf3e2ad1a351b
[ "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
233
py
from xai.brain.wordbase.nouns._shell import _SHELL #calss header class _SHELLED(_SHELL, ): def __init__(self,): _SHELL.__init__(self) self.name = "SHELLED" self.specie = 'nouns' self.basic = "shell" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ca58b1ce2b21900200329d5dbd2507235c210435
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03853/s066137758.py
acb2ac42342d566e74d51b19e21c6c91f5ab7f87
[]
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
288
py
num = input().split() hei = int(num[0]) wei = int(num[1]) photo = [] for i in range(hei): temp = input() temp = list(temp) photo.append(temp) photo.append(temp) for i in range(hei*2): for j in range(wei): print(photo[i][j],end="") print("\n",end="")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a0a3e8f4dab8d2d3cc6497f8b4e8c5507e50f494
9497432cd07d17be15853544197853d1ae7ae472
/encryption files/hashing/sha384hash.py
1880fd67f6fa014e3adfcf43b48c4f4a11238ba8
[]
no_license
SeresAdrian/Crypto-Project
e99be9c2bf9155e1a54be4419d5626633fd2b333
4c2fd709f667bdfa71bc5fadd9b47a1c79f59c6a
refs/heads/master
2022-07-25T13:54:46.704949
2020-05-18T19:40:42
2020-05-18T19:40:42
265,021,044
1
0
null
null
null
null
UTF-8
Python
false
false
194
py
#!/usr/bin/python import hashlib string=input("Please enter tha plaintext : ") result = hashlib.sha384(string.encode()) print("The hexadecimal equivalent of hash is : ", result.hexdigest())
[ "root@localhost.localdomain" ]
root@localhost.localdomain
721a102e40b391250ee3101e851acdd76b192386
34f29e764609930da0b3d3d7db18dc63ab1b4a97
/util/tasks/trainInvV2_2.py
d118d52a2810437ab0796e678089eb538f9bbefd
[]
no_license
samhu1989/RAtlasNet
c77fe2a65fcbfb34bfdf78a5e1c7abdcea989341
0b2859a620dd15f66c4af1355eb79356ee335507
refs/heads/master
2020-04-15T01:01:33.874790
2019-05-30T15:00:13
2019-05-30T15:00:13
164,260,625
0
0
null
null
null
null
UTF-8
Python
false
false
12,503
py
# import os; from .task import Task; from ..ply import *; from ..Lutils import *; from ..utils import *; from ..datasets import *; import torch; from torch.autograd import Variable; from torch.utils.data import DataLoader; import torch.nn as nn import math; import json; sys.path.append("./ext/"); import dist_chamfer a...
[ "hsy19891228@yeah.net" ]
hsy19891228@yeah.net
fc10885cc1c93b0fef9785b5f6bc9a544e6d5749
b943f725f8c6b20c277eb7b77e67689173bc0d1a
/simplemooc/core/urls.py
06bf7fc6d8d6aa47edc54cbee4a80a33837c89a1
[]
no_license
Akijunior/Eleanning
c4da62971735b5a6c18f0ee04758ac6db770c2a4
4b0e4c397b76a7839722b00f23ef3eb4f309d229
refs/heads/master
2020-08-19T05:14:57.581513
2019-10-21T15:33:36
2019-10-21T15:33:36
215,882,153
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from django.urls import path from simplemooc.core.views import home urlpatterns = [ path('', home, name='home'), ]
[ "suitsu19@gmail.com" ]
suitsu19@gmail.com
9b8ffd02c0680421820d9d17d7078ba7ee1365ba
ce8bb40bf2b688f19ab8bcc20cfd58994413bc0f
/ajax/ajax_mysite/app01/views.py
b372bd95be6a215aa5b89bd42d3acb0b23b5da03
[]
no_license
Fover21/project1
457f452d7f6e7ecbfc81a18512377ebc5457f3f6
84d596caf5701d7d76eee8c50f61bcb6150c57f2
refs/heads/master
2020-03-24T20:01:51.506348
2018-12-26T06:07:45
2018-12-26T06:07:45
142,955,917
2
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
from django.shortcuts import render, HttpResponse, reverse, redirect # Create your views here. from django.views.decorators.csrf import csrf_exempt, csrf_protect @csrf_exempt # 排除 def login(request): return render(request, 'login.html') def index(request): i1, i2, i3 = '', '', '' if request.method == ...
[ "850781645@qq.com" ]
850781645@qq.com
525faba85baf47e70bd840eb6b17b29331739083
0c41031269497790425702d4ad882423dc443a6a
/pandas14/pandas14_9.py
ad0ca612be2e850e77d6d818f876fb6c53ce6255
[]
no_license
diegoami/datacamp-courses-PY
4c546e69241ca429adefdd459db92d617cfa0e9f
bab3082929fa6f1cf2fc2f2efb46d16374715b4b
refs/heads/master
2023-07-20T06:42:29.776349
2018-10-28T22:57:21
2018-10-28T22:57:21
92,448,198
0
0
null
null
null
null
UTF-8
Python
false
false
1,599
py
import pandas as pd # Load DataFrame from file_path: editions medals = pd.read_csv('../data/medals_2.csv') # Construct the pivot_table: medal_counts medal_counts = medals.pivot_table(index='Edition',values='Athlete',columns='NOC',aggfunc='count') # Load DataFrame from file_path: editions editions = pd.read_csv('../da...
[ "diego.amicabile@gmail.com" ]
diego.amicabile@gmail.com
15d215b500c6d26dbd37bfda3a9d73e8979c26aa
01af3f8a79453482febefe64d356a616abc08c1e
/backend/config/settings/production/third_party.py
c58e3e64fb67c81f95dfd14e878c6d18778211f4
[]
no_license
by-Exist/django-skeleton
0ea3dbc815cb8da8417ef0f64e304715b8e5b5dd
4848dd1074533b368015cdde943719114d001bcc
refs/heads/master
2023-06-12T12:52:09.216952
2021-07-12T08:48:09
2021-07-12T08:48:09
372,245,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,638
py
from .django import * # Django Storage # ============================================================================= STATICFILES_STORAGE = "config.storages.StaticStorage" DEFAULT_FILE_STORAGE = "config.storages.MediaStorage" AWS_S3_REGION_NAME = "ewr1" # TODO: region, endpoint url도 environment로 관리해야 하지 않을까? AWS_S3...
[ "bolk9652@naver.com" ]
bolk9652@naver.com
bf8a6a3bbd710bdaa7611c6890907a61a0e9cce7
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_010/ch136_2020_04_01_12_09_01_220465.py
566b2a82eb758b3344edaf9b17037a14dee59e8d
[]
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,641
py
import random dinheiro=10 dicas=True jogo=True chutes=True dado1=random.randint (1,6) dado2=random.randint (1,6) dado3=random.randint (1,6) soma=dado1+dado2+dado3 while dicas: print ("Fase de dicas") print ("Você tem {} dinheiros.".format (dinheiro)) if dinheiro==0: dicas=False ...
[ "you@example.com" ]
you@example.com
ca2e11ed3a29496a59aceae5171f893f340a43d0
c0caed81b5b3e1498cbca4c1627513c456908e38
/src/python/bindings/app/pyrosetta_toolkit/pyrosetta_toolkit.py
b9934a7edda6e3f28079e9c1f622ad02ca1c8a1e
[ "LicenseRef-scancode-other-permissive" ]
permissive
malaifa/source
5b34ac0a4e7777265b291fc824da8837ecc3ee84
fc0af245885de0fb82e0a1144422796a6674aeae
refs/heads/master
2021-01-19T22:10:22.942155
2017-04-19T14:13:07
2017-04-19T14:13:07
88,761,668
0
2
null
null
null
null
UTF-8
Python
false
false
11,387
py
#!/usr/bin/env python # (c) Copyright Rosetta Commons Member Institutions. # (c) This file is part of the Rosetta software suite and is made available under license. # (c) The Rosetta software is developed by the contributing members of the Rosetta Commons. # (c) For more information, see http://www.rosettacommons.org...
[ "malaifa@yahoo.com" ]
malaifa@yahoo.com
69024abc125c1c0fbb26411947e1976dc81fb6e6
1f41b828fb652795482cdeaac1a877e2f19c252a
/maya_menus/_MAINMENU_PMC_Rigging/05.Put Object-(RP[N])/03.Put Controller/18.sidePin.py
e9ed02aaea8fe1c13e224651d6f47fb6657f251a
[]
no_license
jonntd/mayadev-1
e315efe582ea433dcf18d7f1e900920f5590b293
f76aeecb592df766d05a4e10fa2c2496f0310ca4
refs/heads/master
2021-05-02T07:16:17.941007
2018-02-05T03:55:12
2018-02-05T03:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
from sgMaya import sgModel, sgCmds sels = cmds.ls( sl=1 ) if not sels: sels = [None] for sel in sels: sgCmds.putControllerToGeo( sel, sgModel.Controller.sidePinPoints )
[ "kimsung9k@naver.com" ]
kimsung9k@naver.com
22b95182bd9050b6d8dbb6cfd970e83489eff911
477c8309420eb102b8073ce067d8df0afc5a79b1
/Applications/ParaView/Testing/Python/DisconnectAndSaveAnimation.py
f9f080edafa9f6c87116a65800627d5c41831290
[ "LicenseRef-scancode-paraview-1.2" ]
permissive
aashish24/paraview-climate-3.11.1
e0058124e9492b7adfcb70fa2a8c96419297fbe6
c8ea429f56c10059dfa4450238b8f5bac3208d3a
refs/heads/uvcdat-master
2021-07-03T11:16:20.129505
2013-05-10T13:14:30
2013-05-10T13:14:30
4,238,077
1
0
NOASSERTION
2020-10-12T21:28:23
2012-05-06T02:32:44
C++
UTF-8
Python
false
false
3,862
py
#/usr/bin/env python import QtTesting import QtTestingImage object1 = 'pqClientMainWindow/menubar/menuSources' QtTesting.playCommand(object1, 'activate', 'SphereSource') object2 = 'pqClientMainWindow/proxyTabDock/proxyTabWidget/qt_tabwidget_stackedwidget/objectInspector/Accept' QtTesting.playCommand(object2, 'activat...
[ "aashish.chaudhary@kitware.com" ]
aashish.chaudhary@kitware.com
be33d28852484275819ace98b621bc01decf9381
985a874c832d7632e287f2185b18aaf2e1b42018
/dtcwt_gainlayer/layers/nonlinear.py
f3f2b274c311342e0a0b16400783156a896a9a06
[ "MIT" ]
permissive
fbcotter/dtcwt_gainlayer
e2ea03ccfe8ad4f903b59846c1c902391c66b227
32ec3e21066edc2a0d5edefaf70f43d031d1b4ac
refs/heads/master
2023-03-28T13:08:37.919222
2019-08-20T09:05:46
2019-08-20T09:05:46
157,608,716
6
1
null
null
null
null
UTF-8
Python
false
false
5,276
py
import torch import torch.nn as nn import torch.nn.functional as func from dtcwt_gainlayer.layers.shrink import SparsifyWaveCoeffs_std, mag, SoftShrink class PassThrough(nn.Module): def forward(self, x): return x class WaveNonLinearity(nn.Module): """ Performs a wavelet-based nonlinearity. Args...
[ "fbcotter90@gmail.com" ]
fbcotter90@gmail.com
34a5496edaf78c200fe0a67006564fb6d0ff9b2b
a4ea525e226d6c401fdb87a6e9adfdc5d07e6020
/src/azure-cli-core/azure/cli/core/tests/test_aaz_paging.py
2ec14f790d3d6bce17f38400edfd9df57904a7dc
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
Azure/azure-cli
13340eeca2e288e66e84d393fa1c8a93d46c8686
a40fd14ad0b6e89720a2e58d4d9be3a6ce1535ca
refs/heads/dev
2023-08-17T06:25:37.431463
2023-08-17T06:00:10
2023-08-17T06:00:10
51,040,886
4,018
3,310
MIT
2023-09-14T11:11:05
2016-02-04T00:21:51
Python
UTF-8
Python
false
false
3,855
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
2a43d736e2b0bed80741d6dc401155c5fb685570
374aac5655cbdead72683a5e8b6e02126a024768
/tests/test_sqlalchemy.py
b05d87ce415b1c3218592d47c7af99354879f0b8
[ "MIT" ]
permissive
naveenkumar-grofers/nplusone
0f51179a5a4aa717ea2b537bfa1a8e07af568ebb
2bcf727a73c05afa01a020993997a6a60778b872
refs/heads/master
2021-01-24T21:54:08.390445
2015-11-15T16:52:42
2015-11-15T16:52:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,041
py
# -*- coding: utf-8 -*- import pytest import sqlalchemy as sa from sqlalchemy.ext.declarative import declarative_base from nplusone.core import signals import nplusone.ext.sqlalchemy # noqa from tests import utils from tests.utils import calls # noqa pytest.yield_fixture(calls) Base = declarative_base() models...
[ "jm.carp@gmail.com" ]
jm.carp@gmail.com
f41d0214026ead1d8003886b6a76d15d7f9fd2d8
29c3595a4e1f8de9382650610aee5a13e2a135f6
/venv/Lib/site-packages/django/db/utils.py
28afa6cd076757b79702b2aab41a1cc2382588ba
[ "MIT" ]
permissive
zoelesv/Smathchat
1515fa56fbb0ad47e1859f6bf931b772446ea261
5cee0a8c4180a3108538b4e4ce945a18726595a6
refs/heads/main
2023-08-04T14:47:21.185149
2023-08-02T15:53:20
2023-08-02T15:53:20
364,627,392
9
1
MIT
2023-08-02T15:53:21
2021-05-05T15:42:47
Python
UTF-8
Python
false
false
10,398
py
import pkgutil from importlib import import_module from pathlib import Path from asgiref.local import Local from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.utils.functional import cached_property from django.utils.module_loading import import_string DEFAULT_DB_ALI...
[ "ZoomLee@users.noreply.github.com" ]
ZoomLee@users.noreply.github.com
8a3441b439ae0c781ace3ba8281fe64a57450d67
b550eda62179ffd8e49a59df7f8a30163140204f
/backend/openshift-old/services/user/service/model/user.py
72451f8834453939723096891846cc39a7ccf1a3
[ "Apache-2.0" ]
permissive
bgoesswe/openeo-repeatability
6222fb235b70fda9da998b63fec92c0e5ac07169
087b9965e710d16cd6f29cb25e2cb94e443c2b30
refs/heads/master
2022-12-11T03:43:35.365574
2018-08-07T20:02:02
2018-08-07T20:02:02
139,158,921
0
1
null
2022-12-08T02:15:15
2018-06-29T14:27:34
Python
UTF-8
Python
false
false
2,121
py
''' Model of User ''' import jwt import datetime from flask import current_app from service import DB, BCRYPT class User(DB.Model): __tablename__ = "users" id = DB.Column(DB.Integer, primary_key=True, autoincrement=True) # Umbennen in uid username = DB.Column(DB.String(128), unique=True, nullable=False) ...
[ "bernhard.goesswein@geo.tuwien.ac.at" ]
bernhard.goesswein@geo.tuwien.ac.at
2db80125614126b1bda5dac81b52721288060e5e
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/D/dasfaha/get_imdb_movie_rating.py
4f8bab114f20f4b7fedaa3cbfb02a591f9fa6362
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,532
py
import lxml.html import scraperwiki #Ge the data html = scraperwiki.scrape("http://www.imdb.com/title/tt2103264/") #The request to IMDB returns plain text so the line below processes this text and turns it into a format that can be queried root = lxml.html.fromstring(html) #The rating of a movie is within a div wit...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
c4be35002664253e83bad83bee500cc207fa909c
e4700f3ff598b997bf0ea35bcdb76b00c530c994
/tmp.py
d616e22344314282bffb61071d044da898ac2eef
[]
no_license
nikkibisarya/therapysummarization
64d056683454289561a45b6e5e1d88f5e3f78dae
203b5a06577456d68d3022aa94d9476e0d352e18
refs/heads/master
2020-03-16T23:23:11.698069
2019-11-05T18:08:54
2019-11-05T18:08:54
133,075,146
1
0
null
null
null
null
UTF-8
Python
false
false
407
py
import numpy as np import matplotlib.pyplot as plt loss = [1.0761, 0.8476, 0.7516, 0.6956, 0.6562, 0.6243, 0.5985, 0.5765, 0.5586, 0.5427, 0.5315, 0.5169, 0.5089, 0.4994, 0.4923, 0.4866, 0.4806, 0.4763, 0.4708, 0.4707] plt.title('model loss') plt.ylabel('loss') plt.xlabel('epoch') plt.legend(['train', 'test'...
[ "me@andrewszot.com" ]
me@andrewszot.com
feb967e768de780f768c67ee8e6bc478974aa13b
7e90a1f8280618b97729d0b49b80c6814d0466e2
/workspace_pc/catkin_ws/build_isolated/hector_slam/catkin_generated/stamps/hector_slam/_setup_util.py.stamp
c51cc0942a19064fe6e7239c5adffd9ad95290b7
[]
no_license
IreneYIN7/Map-Tracer
91909f4649a8b65afed56ae3803f0c0602dd89ff
cbbe9acf067757116ec74c3aebdd672fd3df62ed
refs/heads/master
2022-04-02T09:53:15.650365
2019-12-19T07:31:31
2019-12-19T07:31:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,976
stamp
#!/usr/bin/python2 # -*- coding: utf-8 -*- # Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistri...
[ "sh9339@outlook.com" ]
sh9339@outlook.com
a0afd01311fc3c8b2e58fd920285130338e86b2d
62c11667bc780b8fb80b69a069c5e4135a40ac8a
/src/newsletter/migrations/0001_initial.py
77ec77167df437d057a369a632f89115ed37d047
[]
no_license
garabek/Django_BootcampSite
39b8bc976730c0776d733536f020a043d2f89370
8752cd7f2c469e2e4c9cf639e357c51cd05b5c4d
refs/heads/master
2021-07-01T12:09:57.557274
2017-09-21T23:07:01
2017-09-21T23:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='SignUp', fields=[ ('id', models.AutoField(verbo...
[ "bekiyev@gmail.com" ]
bekiyev@gmail.com
2bf07793bfef24a2bed035690bb6849533f776bc
1239393937f155fd5090c41f462262098fa6c6c1
/dev/docs/source/conf.py
20af5dc2d5e88af3e123d49e2e27b9d9573e3297
[ "BSD-2-Clause-Views", "BSD-3-Clause" ]
permissive
hyunjinb/XlsxWriter
af4fe17c11b81c05ba8ec6adf27d0f6d1d632399
b4c4b499ffb3db8e0fa1b306880bcbcb3675fd4d
refs/heads/master
2021-01-23T13:42:00.785444
2017-09-05T23:17:06
2017-09-05T23:17:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,926
py
# -*- coding: utf-8 -*- # # XlsxWriter documentation build configuration file, created by # sphinx-quickstart on Mon Jan 28 00:12:14 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # ...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
88c0d4f7001e4d7f2d2a994d979b9b99a1ed7d08
9adc810b07f7172a7d0341f0b38088b4f5829cf4
/experiments/ashvin/icml2020/hand/buffers/pen1.py
c92cde36156496ccf82fa584986ffbc35a17a452
[ "MIT" ]
permissive
Asap7772/railrl_evalsawyer
7ee9358b5277b9ddf2468f0c6d28beb92a5a0879
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
refs/heads/main
2023-05-29T10:00:50.126508
2021-06-18T03:08:12
2021-06-18T03:08:12
375,810,557
1
0
null
null
null
null
UTF-8
Python
false
false
4,576
py
""" AWR + SAC from demo experiment """ from rlkit.demos.source.dict_to_mdp_path_loader import DictToMDPPathLoader from rlkit.launchers.experiments.awac.awac_rl import experiment, process_args import rlkit.misc.hyperparameter as hyp from rlkit.launchers.arglauncher import run_variants from rlkit.torch.sac.policies im...
[ "alexanderkhazatsky@gmail.com" ]
alexanderkhazatsky@gmail.com
70c3c06f681b066ac0388b0d3c1198b4074e9724
7f24023d365e013ec0924844c1a872edfb0c75b4
/tests/trac/trac-0186/check.py
08b3119a43dd3dd72dd22febf93509b88bca7eca
[ "Python-2.0", "MIT", "Apache-2.0" ]
permissive
pabigot/pyxb
cd42c024607572c6363682d389e9296caf3f2857
5ee5ba54c9f702dc9c9efc2731ee547ecd4dae4a
refs/heads/next
2023-05-11T03:23:19.599756
2023-04-29T20:38:15
2023-04-29T20:45:13
20,547,850
130
63
Apache-2.0
2021-08-19T16:52:18
2014-06-06T01:49:03
Python
UTF-8
Python
false
false
493
py
# -*- coding: utf-8 -*- import logging if __name__ == '__main__': logging.basicConfig() _log = logging.getLogger(__name__) import pyxb.utils.domutils import resources import unittest class ExternalTrac0186 (unittest.TestCase): def testXBIngress (self): instance = resources.XBIngress(match='all', acti...
[ "pab@pabigot.com" ]
pab@pabigot.com
969d035c63ace1f7b4c413e93f06400bb2d2bf34
119437adb7830659307c18b79a9cc3f6bfc6fe40
/transformers_learning/english_sequence_labeling/torch_model_train.py
234011630b2febd960451887847252ee4bdd95c0
[]
no_license
percent4/PyTorch_Learning
478bec35422cdc66bf41b4258e29fbcb6d24f60c
24184d49032c9c9a68142aff89dabe33adc17b52
refs/heads/master
2023-03-31T03:01:19.372830
2023-03-17T17:02:39
2023-03-17T17:02:39
171,400,828
16
7
null
2023-09-02T08:53:26
2019-02-19T03:47:41
Jupyter Notebook
UTF-8
Python
false
false
5,513
py
# -*- coding: utf-8 -*- # @Time : 2021/1/31 15:01 # @Author : Jclian91 # @File : torch_model_train.py # @Place : Yangpu, Shanghai import json import torch import numpy as np from torch.utils.data import Dataset, DataLoader from transformers import BertForTokenClassification, BertTokenizer, BertConfig from util import...
[ "1137061634@qq.com" ]
1137061634@qq.com
d8c137dda1852fc28941eac7e6a8c8a76905993e
9bde6cafb4273d721229448d115853ff2f5994a6
/myblog/blog/models.py
29739ca1865621b4e4224bca3f600e41f915a179
[]
no_license
davejonesbkk/myblog
11eb30b4d75270b3e99f172f27f05ce31e318f93
4a5cbeb47154004ef239b16e63155997b1c9afe6
refs/heads/master
2021-01-17T17:43:28.465235
2016-05-31T02:02:07
2016-05-31T02:02:07
59,930,156
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
from django.db import models from django_markdown.models import MarkdownField from django.core.urlresolvers import reverse class EntryQuerySet(models.QuerySet): def published(self): return self.filter(publish=True) class Entry(models.Model): title = models.CharField(max_length=200) body = models.TextField() slu...
[ "davejonesbkk@gmail.com" ]
davejonesbkk@gmail.com
447a75ff7f1e949a3c268918e94f8ab08d58da0f
68cd659b44f57adf266dd37789bd1da31f61670d
/2020-01/python/18188_다오의데이트.py
7c55c44e597a14f68e338a66b4a4458c5ab95c41
[]
no_license
01090841589/solved_problem
c0c6f5a46e4d48860dccb3b0288aa5b56868fbca
bbea2f31e5fe36cad100bc514eacd83545fb25b1
refs/heads/master
2023-07-02T23:55:51.631478
2021-08-04T13:57:00
2021-08-04T13:57:00
197,157,830
2
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
import sys sys.stdin = open("다오의데이트.txt") DIR = [[-1, 0], [0, 1], [1, 0], [0, -1]] def go_dao(y, x, k, route): global result, rts if result: return if k >= A: return flag = 1 for i in range(4): if can[k][i]: Y = y+DIR[i][0] X = x+DIR[i][1] ...
[ "chanchanhwan@naver.com" ]
chanchanhwan@naver.com
b1918d70a960ef445232d6b1b21ffd44d9848c48
71c7683331a9037fda7254b3a7b1ffddd6a4c4c8
/Phys/Urania/examples/KsPiZeroMM_angularPDF.py
a83417211276319e5a15c72d57e48769a1b46477
[]
no_license
pseyfert-cern-gitlab-backup/Urania
edc58ba4271089e55900f8bb4a5909e9e9c12d35
1b1c353ed5f1b45b3605990f60f49881b9785efd
refs/heads/master
2021-05-18T13:33:22.732970
2017-12-15T14:42:04
2017-12-15T14:42:04
251,259,622
0
1
null
null
null
null
UTF-8
Python
false
false
2,684
py
from Urania.Helicity import * from Urania.SympyBasic import * from os import * DiLeptonSpins = [0,1,2] ## DMS: I doube we'll need 2, probably we'll only ## have Pwave (J=1) from the photon, plus maybe some S-wave (J=0) ### transAmp=1 : Changes to transversity amplitude basis A = doKsPizeroMuMu(DiLe...
[ "liblhcb@cern.ch" ]
liblhcb@cern.ch
d2e18daba5039bfa0fe53bdc30e97c234ded7ec8
bbfa9cdfd5f09c833ab9190cd4ad5a46e7a515e7
/effective-python/2020-05/item_61.py
863a8f8f00e61d939277ee2b82426ba026599225
[]
no_license
alexchonglian/readings
775204e013a2301f08fee96c5e8b116842faebcb
03cb6cb266d8d2376db411e9b12e9b6cd1f2b33b
refs/heads/master
2022-12-02T13:56:56.878477
2021-06-18T05:53:14
2021-06-18T05:53:14
218,573,810
0
0
null
null
null
null
UTF-8
Python
false
false
11,393
py
import random random.seed(1234) import logging from pprint import pprint from sys import stdout as STDOUT # Write all output to a temporary directory import atexit import gc import io import os import tempfile TEST_DIR = tempfile.TemporaryDirectory() atexit.register(TEST_DIR.cleanup) # Make sure Windows processes e...
[ "alexchonglian@gmail.com" ]
alexchonglian@gmail.com
e8492bd500e419e50fa3815209d4889eb2e4e971
c761f3fbce728e61cbcf5179f1d3f27e1e5625cd
/register_key.py
1328baddc2fe4d7e5f91b2052b07daa49e53649f
[]
no_license
philopon/usermon
16033d41436efe2cf4971bcd3b25f99cf82de318
7f97db09a65466e2133d4304f9fe5ba212299598
refs/heads/master
2021-01-18T16:51:56.457593
2017-04-21T13:06:12
2017-04-21T13:06:12
86,775,704
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
#!/usr/bin/env python3 def main(): import sys import os import pwd import pamela pw = pwd.getpwuid(os.getuid()) ssh_dir = os.path.join(pw.pw_dir, '.ssh') auth_keys = os.path.join(ssh_dir, 'authorized_keys') os.makedirs(ssh_dir, mode=0o700, exist_ok=True) with open(auth_keys, 'a'...
[ "philopon.dependence@gmail.com" ]
philopon.dependence@gmail.com
3e35560a675840b2ed59a45d39e280ce612af5c6
4e5b20fdcca20f458322f0a8cd11bbdacb6fb3e5
/suning/api/union/UnionInfomationGetRequest.py
5a52d242f32e5e4c7c3d65d8e1872c3832f9291a
[]
no_license
shijingyu/sunningAPI
241f33b0660dc84635ce39688fed499f5c57a5da
4a3b2ef7f9bdc4707d1eaff185bc7eb636fe90d5
refs/heads/master
2020-04-24T22:15:11.584028
2019-02-24T06:41:20
2019-02-24T06:41:20
172,305,179
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
# -*- coding: utf-8 -*- ''' Created on 2016-1-27 @author: suning ''' from suning.api.abstract import AbstractApi class UnionInfomationGetRequest(AbstractApi): ''' ''' def __init__(self): AbstractApi.__init__(self) self.goodsCode = None self.setParamRule({ ...
[ "945090896@qq.com" ]
945090896@qq.com
da850d8841ddddfdccfc6bde153467956b91789c
78e60a7d8a67ed76244004e8a3ed573fbf396e41
/samples/get_zip_codes.py
a89c105f5ec1a635d350ba870418f9f735a0bb60
[ "MIT" ]
permissive
Crivez/apiclient-python
837a9f7cc0453ccd3121311adc7920b5fe6b3e33
860fc054f546152a101e29b1af388c381075ac47
refs/heads/master
2023-06-08T13:24:09.249704
2021-06-17T12:16:35
2021-06-17T12:16:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
from voximplant.apiclient import VoximplantAPI, VoximplantException if __name__ == "__main__": voxapi = VoximplantAPI("credentials.json") # Search for zip codes in Germany. COUNTRY_CODE = "DE" COUNT = 1 try: res = voxapi.get_zip_codes(COUNTRY_CODE, count=COUNT) ...
[ "andrey@voximplant.com" ]
andrey@voximplant.com
0ae55acd20bb59d6c3f499e32e0f526820a351d7
822d3cd484b54f0531fc205520c765a8321c0613
/pyFile/8.面向对象/2.类的属性/9.类方法和静态方法.py
a0ccbf84964d8f9059c7feb1ae5efeedb1a3e65a
[]
no_license
mghxy123/learnPython
31d1cc18deeed5a89864ca0333fe488e0dbf08b4
00740e87d55a4dffd78773deaff8689485df31e8
refs/heads/master
2021-07-21T14:31:02.421788
2020-06-27T11:28:01
2020-06-27T11:28:01
187,751,182
0
0
null
2020-06-07T05:14:05
2019-05-21T02:58:35
Python
UTF-8
Python
false
false
1,232
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # File : 9.类方法和静态方法.py # Author: HuXianyong # Mail: mghxy123@163.com # Date : 2019/5/16 0016 #类中普通函数的方法 # class Person: # def normal_method(): #可以吗? 这样是可以的没有语法上面的问题,执行也没问题,只是大家都默认不这么写 # print('normal') # # # 如何调用? # Person.normal_method() #可以吗? 这个是可以的,应为只是直接调...
[ "mghxy123@163.com" ]
mghxy123@163.com
f29fc6830528398b792fd60578b01a78f12aa4e7
41ede4fd3bfba1bff0166bca7aee80dcf21434c6
/ayhanyalcinsoy/Desktop/lxde/base/libfm/actions.py
ad79cdbb6f0b2d887aa5244a18b52080cbb19379
[]
no_license
pisilinux/playground
a7db4b42559a21cc72fd4c8649e0231ab6a3eb3c
e4e12fff8a847ba210befc8db7e2af8556c3adf7
refs/heads/master
2022-08-12T23:03:27.609506
2022-08-11T18:28:19
2022-08-11T18:28:19
8,429,459
16
22
null
2022-08-11T18:28:20
2013-02-26T09:37:11
Python
UTF-8
Python
false
false
811
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get WorkDir = "libfm-%s" % (get.srcVERSION()) def setup():...
[ "ayhanyalcinsoy@gmail.com" ]
ayhanyalcinsoy@gmail.com
d7336abe08b51fb335e57cf3d53ee20b79886453
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/insights/v20160301/_inputs.py
5910733c44e6efa9bc7563418d54942acbf6f519
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,307
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
32965056a1b7a8f68e29a888ddf16692219f8202
6f2675eee55b7ebc5adf9c2176ced8cb59fc64d4
/dataInterKingdee/interDebug.py
f5873ce9a0c97db0f8dd05bed388d20b019fdced
[]
no_license
wildmanwang/proDataInter
8c2b65fa96ad45b21165d997b1769a28e12fc42a
f5a1f1fb195c66bf586bd999465c7e3b16453369
refs/heads/master
2023-06-07T11:57:16.763251
2023-06-03T08:54:56
2023-06-03T08:54:56
157,559,747
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# -*- coding:utf-8 -*- """ """ __author__ = "Cliff.wang" import os from interConfig import Settings #from interProcess import InterProcess from interControl import InterControl if __name__ == "__main__": try: path = os.path.abspath(os.path.dirname(__file__)) sett = Settings(path, "config") ...
[ "cliff.w@qq.com" ]
cliff.w@qq.com
a44db705bdc58cdcecdcd4b8200bf85a3d08fc83
b15d2787a1eeb56dfa700480364337216d2b1eb9
/samples/cli/accelbyte_py_sdk_cli/group/_get_group_join_request_public_v2.py
32ba9735f4911a02f803f73dab69c4e7a260ec52
[ "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
2,611
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: python-cli-command.j2 # AGS Group Service (2.18.1) # pylint: disable=duplicate-code # py...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
c2d9305312002748edb2d0e5470f541784c71352
3fc00c49c6b5a5d3edb4f5a97a86ecc8f59a3035
/shared_models/test/test_api.py
ae9465bb6b3b41416d097c202b1034470650a378
[]
no_license
yc-hu/dm_apps
9e640ef08da8ecefcd7008ee2d4f8f268ec9062e
483f855b19876fd60c0017a270df74e076aa0d8b
refs/heads/master
2023-04-07T13:13:55.999058
2021-04-12T10:19:21
2021-04-12T10:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,264
py
from django.test import tag from django.urls import reverse from rest_framework import status from shared_models.test import SharedModelsFactoryFloor as FactoryFloor from shared_models.test.common_tests import CommonTest class TestUserAPIListView(CommonTest): def setUp(self): super().setUp() self...
[ "davjfish@gmail.com" ]
davjfish@gmail.com
270875ed2be025781a975375972379cf8f211f80
dfad28a2e1a0199c0117e551fd1e31804804d5b9
/app/auth/views.py
d2df7a97666207276aa6648ef9f85af4a25d98bc
[ "MIT" ]
permissive
wilbrone/Pitches
c33d60b142b43de9ccf60a86cf59acbc262c6711
b20d234fd930a6551f26d9cf863c6d1631b62bc2
refs/heads/master
2022-12-09T08:02:08.631177
2019-11-25T23:47:13
2019-11-25T23:47:13
223,405,696
0
0
MIT
2022-12-08T06:55:48
2019-11-22T13:09:30
Python
UTF-8
Python
false
false
1,583
py
from flask import render_template,redirect,url_for, flash,request from flask_login import login_user,logout_user,login_required from . import auth from ..models import User from .forms import LoginForm,RegistrationForm from .. import db from ..email import mail_message @auth.route('/login',methods=['GET','POST']) def ...
[ "wilbroneokoth@gmail.com" ]
wilbroneokoth@gmail.com
9f04557904bdeeb5a5b0b9e265605429682ff434
a867b1c9da10a93136550c767c45e0d8c98f5675
/G_11_RemoveKthNode.py
408aa2a8a0bdec884c65ff5c410cb79045ed72b6
[]
no_license
Omkar02/FAANG
f747aacc938bf747129b8ff35b6648fb265d95b6
ee9b245aa83ea58aa67954ab96442561dbe68d06
refs/heads/master
2023-03-25T19:45:08.153403
2021-03-28T07:13:08
2021-03-28T07:13:08
280,783,785
1
0
null
null
null
null
UTF-8
Python
false
false
941
py
import __main__ as main from Helper.TimerLogger import CodeTimeLogging fileName = main.__file__ fileName = fileName.split('\\')[-1] CodeTimeLogging(Flag='F', filename=fileName, Tag='Linked-List', Difficult='Medium') from Datastruct.masterLinkedList import l arr = [1, 2, 3, 4, 5, 6] # arr = [1, 2] for i in arr: ...
[ "omkarjoshi4031@live.com" ]
omkarjoshi4031@live.com
c119687b11afe9b22fca389be33ff9b8a804cf22
9322c270beaf1019328bf14c836d167145d45946
/raoteh/sampler/tests/test_graph_transform.py
af315325cddb45fdc81619cf995488fd53736710
[]
no_license
argriffing/raoteh
13d198665a7a3968aad8d41ddad12c08d36d57b4
cdc9cce8fdad0a79dbd90dfcdec6feece8fc931f
refs/heads/master
2021-01-22T19:41:25.828133
2014-03-10T22:25:48
2014-03-10T22:25:48
10,087,018
1
0
null
null
null
null
UTF-8
Python
false
false
17,511
py
"""Test graph algorithms relevant to Rao-Teh sampling. """ from __future__ import division, print_function, absolute_import import itertools from collections import defaultdict import networkx as nx from numpy.testing import (run_module_suite, TestCase, assert_equal, assert_allclose, assert_, assert_raises) ...
[ "argriffi@ncsu.edu" ]
argriffi@ncsu.edu
7b5a81f5531be906c6c75c6ea6ee45ae41407e10
188950fb7b1fce4840b41e1e9454f0133a8d75ce
/src/Server/Controller/guess_controller.py
a2518f5c1fdefce113aeaec0371319b7b16a82fa
[]
no_license
cloew/WordGuessAngular
3f5c6a1e0e14f6e905ec78a618b606ff3cb3e798
0d889cd3bb9cafe35a6e7e2ccba97914a26825b9
refs/heads/master
2021-01-01T05:53:26.776161
2014-09-01T14:55:39
2014-09-01T14:55:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
from Server.game_wrapper import GameWrapper from kao_flask.controllers.json_controller import JSONController class GuessController(JSONController): """ Controller to allow a player to guess the word for the current Round """ def performWithJSON(self, gameId): game = GameWrapper(id=gameId) ...
[ "cloew123@gmail.com" ]
cloew123@gmail.com
45bd5115c7a3405823961182633a568318a1d2ef
7234e6c72eb3f09c4a66dbe91f00fdf7742f010f
/algo/arrays/binarysearch/shiftedBinarySearch.py
fc901758206f1662bac912102f0b1b7740f4186f
[]
no_license
srinathalla/python
718ac603473e7bed060ba66aa3d39a90cf7ef69d
b6c546070b1738350303df3939888d1b0e90e89b
refs/heads/master
2021-06-13T06:11:42.653311
2021-02-19T06:01:41
2021-02-19T06:01:41
150,374,828
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
# # T.C : O(logn) S.C : O(1) # # def shiftedBinarySearch(array, target): l = 0 r = len(array)-1 while l < r: m = (l + r)//2 if array[m] == target: return m elif array[m] < array[r]: if array[m] < target and target <= array[r]: l = m + 1 ...
[ "srinathb10j.ik@gmail.com" ]
srinathb10j.ik@gmail.com
cd83a748401283dfbf2bddb5137bb34063e8eb43
1825283527f5a479204708feeaf55f4ab6d1290b
/leetcode/python/50/50.powx-n.py
c24eb3b7c7bcc033fb5286680caebed06bbe3c0f
[]
no_license
frankieliu/problems
b82c61d3328ffcc1da2cbc95712563355f5d44b5
911c6622448a4be041834bcab25051dd0f9209b2
refs/heads/master
2023-01-06T14:41:58.044871
2019-11-24T03:47:22
2019-11-24T03:47:22
115,065,956
1
0
null
2023-01-04T07:25:52
2017-12-22T02:06:57
HTML
UTF-8
Python
false
false
802
py
# # @lc app=leetcode id=50 lang=python3 # # [50] Pow(x, n) # # https://leetcode.com/problems/powx-n/description/ # # algorithms # Medium (27.38%) # Total Accepted: 281K # Total Submissions: 1M # Testcase Example: '2.00000\n10' # # Implement pow(x, n), which calculates x raised to the power n (x^n). # # Example 1: ...
[ "frankie.y.liu@gmail.com" ]
frankie.y.liu@gmail.com
2c72fc48e73c2fcf5db27a84c63d3341b2696983
ed7fde0483a4836bfc9ef3ab887cf1220559bfc7
/masters_scripts/EC17_get_allele_dist_1.py
80bb3023acd365ccf7683c6816f51994e190d9c1
[]
no_license
cizydorczyk/python_scripts
326b3142a3c6ce850237e8b13e229854699c6359
b914dcff60727bbfaa2b32e1a634ca9ca354eeeb
refs/heads/master
2023-05-11T14:29:44.548144
2023-05-05T19:39:28
2023-05-05T19:39:28
116,588,201
0
0
null
null
null
null
UTF-8
Python
false
false
1,850
py
from sys import argv import numpy as np import itertools script, inputallelicdepth, outputfile = argv print "Working on file: " + inputallelicdepth.split('/')[-1] with open(inputallelicdepth, 'r') as infile1: lines = infile1.read().splitlines() del lines[0] proportions_breakdown = {1:[], 2:[], 3:[], 4:[]} p...
[ "conradizydorczyk@gmail.com" ]
conradizydorczyk@gmail.com
88267b9d5edb8a48d3ceb3ce7f9c307f1a46e175
55965f592cb7e915cd68bd371ee1a6ad2a6e0247
/libmngmtsys.py
79288d746d1e8cdb428259f150297c49244931cb
[]
no_license
Upasna4/Training
2b5b57fc3e5229304860f153db93d912a44472bf
33c6eeb565c422e40ea88d50af787f58b9f0da6d
refs/heads/master
2020-08-05T03:50:36.280910
2019-10-02T16:36:09
2019-10-02T16:36:09
212,383,151
0
0
null
null
null
null
UTF-8
Python
false
false
4,733
py
memberData = {} bookData = {} borrowData = {} m_id = 101 b_id = 201 print("Library Management System\n" "1.Add Member\n" "2.Add Book\n" "3.Book Borrowing\n" "4.Book Returning\n" "5.Member Status\n" "6.Book Status\n" "7.Exit") while True: choice =...
[ "upasnabhat17@gmail.com" ]
upasnabhat17@gmail.com
03e79839472824d49009eb882c9be785ea788325
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/uhd_restpy/testplatform/sessions/ixnetwork/globals/globals.py
d957b41f406b4b6a75b7525b1800f265fe66875b
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
11,362
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
6cdaa4435e0e15d1f90e91b2cdd9468848c117bf
9a258d81d612b855e244e4a03594ebe312ff3268
/webapp/tests/test_urls.py
8a82dcab33b5fefed07c162dd7d7b024a90d642f
[ "MIT" ]
permissive
erischon/p10_digitalocean
19fb39f7442e0eec669fbd1ef5b2d49464c37493
a850dfb97470da57117fa1dfc62c4614a602fe40
refs/heads/master
2023-04-27T16:52:04.158502
2021-05-15T22:44:34
2021-05-15T22:44:34
360,518,773
0
1
null
null
null
null
UTF-8
Python
false
false
427
py
from django.test import SimpleTestCase from django.urls import reverse, resolve from webapp.views import home_page, mentions class WebappTestUrls(SimpleTestCase): def test_home_url_is_resolved(self): url = reverse('home') self.assertEqual(resolve(url).func, home_page) def test_mentions_url_...
[ "erischon@gmail.com" ]
erischon@gmail.com
e4fbb87cc08aaac02be49eda20357561270994c1
61863d68d64c9319cd49d280b20d2c2a40957363
/r2lab.inria.fr/users/views.py
b878f3e298472f439face96a6b9b5c151f7c9383
[]
no_license
sfehlandt/r2lab
fd781637d258a7fc40043f4f8cddef9ec672b563
b4f8ddd84327c426b20fe8f772a4e5e47e0cce31
refs/heads/master
2021-01-22T18:46:29.143500
2017-03-08T17:38:29
2017-03-08T17:38:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
from .plcapi_users import UsersProxy
[ "thierry.parmentelat@inria.fr" ]
thierry.parmentelat@inria.fr
793fabc710ab61e60bc4ad701ef6d70a64ebffcc
5d0f91e3a4c75375a2ba9b12cf3cbd4350c2ccdf
/geopdf/__init__.py
11df3297614cf7a212aab066ac7d3ed89a52d353
[ "MIT" ]
permissive
garnertb/geopdf
8fac6419e62db9d880d48bb4b202cfbf11729629
175073cb44a308513bdb6db32092dd806029afc0
refs/heads/master
2021-01-10T18:50:22.802931
2015-06-09T13:53:43
2015-06-09T13:53:43
29,563,939
1
4
null
null
null
null
UTF-8
Python
false
false
6,121
py
# -*- coding: utf-8 -*- """Adds GeoPDF functionality to ReportLab""" from reportlab.lib.colors import black from reportlab.pdfbase.pdfdoc import PDFArray, PDFDictionary, PDFName, PDFString from reportlab.pdfbase import pdfdoc from reportlab.pdfgen import canvas class GeoPDFBase(object, PDFDictionary): """ Ba...
[ "garnertb@gmail.com" ]
garnertb@gmail.com
aa49a4d64508c9fa62c1e3f29026d15008e407f4
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/lib/surface/app/versions/delete.py
fe4a27d6de672df18ddf9b85bc4ecc86e88036db
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KaranToor/MA450
1f112d1caccebdc04702a77d5a6cee867c15f75c
c98b58aeb0994e011df960163541e9379ae7ea06
refs/heads/master
2021-06-21T06:17:42.585908
2020-12-24T00:36:28
2020-12-24T00:36:28
79,285,433
1
1
Apache-2.0
2020-12-24T00:38:09
2017-01-18T00:05:44
Python
UTF-8
Python
false
false
4,568
py
# Copyright 2015 Google Inc. 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 applicable law or ag...
[ "toork@uw.edu" ]
toork@uw.edu
e1ea4c169eac6a692d0243c2fe8e607a7bc281e2
2c74bb301f1ed83b79254944183ac5a18a639fdf
/tests/components/github/test_diagnostics.py
80dfaec24459735e6cd3e4ebee2a1a78979dbbc2
[ "Apache-2.0" ]
permissive
Adminiuga/home-assistant
5bec93007ddac1a268cc359bf7e48530c5f73b38
dcf68d768e4f628d038f1fdd6e40bad713fbc222
refs/heads/dev
2023-02-22T22:03:31.013931
2022-11-09T00:27:20
2022-11-09T00:27:20
123,929,062
5
4
Apache-2.0
2023-02-22T06:14:31
2018-03-05T14:11:09
Python
UTF-8
Python
false
false
2,437
py
"""Test GitHub diagnostics.""" import json from aiogithubapi import GitHubException from aiohttp import ClientSession from homeassistant.components.github.const import CONF_REPOSITORIES, DOMAIN from homeassistant.core import HomeAssistant from .common import setup_github_integration from tests.common import MockCo...
[ "noreply@github.com" ]
Adminiuga.noreply@github.com
30cc1d1fc50d0f446d0341344fbc5cfd52d78242
9df89a1652d183d8fc654acd728f9a578d6d1912
/cli/psym/graphql/query/customers.py
cc9b41c460503454a4b358260df7649396259444
[ "BSD-3-Clause" ]
permissive
duranrojasm/symphony
b37d54a134e29093edacb80442e204fc71a37fbe
55b3d0c20b669374303bafb10e9c96c734647c9c
refs/heads/main
2023-08-24T02:00:33.433220
2021-10-28T20:35:23
2021-10-28T20:35:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,209
py
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from dataclasses import dataclass, field as _field from ...config import custom_scalars, datetime from gql_client.runtime.variables import encode_variables from gql import gql, Client from gql.transport.exceptions import TransportQueryError from fu...
[ "jcaroper@everis.com" ]
jcaroper@everis.com
faf45b629da2c9b6f878c086d6691fdf8be9c9f5
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/15/31/5.py
0b76face2b61578a0a63ae7ae2bee12b06fe88cd
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
745
py
import os import sys from collections import defaultdict problem_id = 'A' sys.setrecursionlimit(10**9) input_path = '%s.in' % problem_id output_path = '%s.out' % problem_id def read_line(): line = '' while len(line) == 0: line = input_file.readline().strip() return line def write_line(line): ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
7d0b9e321fad687717ba261f712748cb57d968a3
7848ded2f7b1cf5cc33380d739e0ceee5718ffec
/imrunicorn/activity_log/migrations/0006_auto_20210218_0756.py
73aa939743b218d1fe05de35fdd5684fce3b3c7e
[]
no_license
benspelledabc/djangosite
cbed1a7da3eb6ba6eee05897ec928b350831fc6b
fa8004b20f790f56fc69e9d158128a867be700f3
refs/heads/master
2023-04-17T19:24:48.908640
2021-05-02T19:05:38
2021-05-02T19:05:38
294,891,690
1
1
null
2021-05-02T19:05:38
2020-09-12T07:16:11
Python
UTF-8
Python
false
false
474
py
# Generated by Django 3.0.7 on 2021-02-18 12:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('activity_log', '0005_activity_sfw'), ] operations = [ migrations.AlterModelOptions( name='activityphotovalidation', options=...
[ "admin@benspelledabc.me" ]
admin@benspelledabc.me
8e56a302ab72b021d83ee70f0ad1e776d0ef9fc3
1956b7c652d8c2e22a9edc22032a1ee5a64b6b7b
/apps/partner/migrations/016_auto__change_data_type__commission_field.py
0a86af3822ac6019bf771eb379a3bc08602d411f
[]
no_license
quantmScubism/django_oscar
939bb5fd0d4caa17747e966a0a847939646808c1
e283abbe89a0ca0488fc6442de0a0eb5b53f0149
refs/heads/master
2020-04-16T02:30:18.269115
2017-06-24T14:41:28
2017-06-24T14:41:28
95,303,096
0
0
null
null
null
null
UTF-8
Python
false
false
17,247
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models from oscar.core.compat import AUTH_USER_MODEL, AUTH_USER_MODEL_NAME class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Stockrecord.commission' ...
[ "012kinglight@gmail.com" ]
012kinglight@gmail.com
88163ffa4c39f9c08b7cefc81c2eb7c2b7c7bed4
f146cef3f2172275c8d7f526dab92951fa50eb2c
/COURSE/group project -week9/backup -backend day3/backend/app/users/views.py
d0da6f0f9c4c96335aafbf7f3314c9c3e1305e26
[]
no_license
mehranj73/Bootcamp
fed04d3858d6d0bc1cdad94e1f05bd4f7a47c0ec
bd575cd02329ad1ce21b05350380dfbf17cbdd89
refs/heads/master
2023-02-09T06:50:00.590751
2019-08-22T18:56:02
2019-08-22T18:56:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,413
py
from django.contrib.auth.models import User from rest_framework import filters from rest_framework.generics import RetrieveAPIView, ListCreateAPIView, ListAPIView, UpdateAPIView from rest_framework.response import Response from rest_framework.permissions import IsAuthenticated from app.permissions import IsOwnerOrRead...
[ "rachovsky@gmail.com" ]
rachovsky@gmail.com
92df14d9f3a7a7b18fe39ebd9d18ab9b452e8f22
44032f82bcb767175cf86aeccee623eb6cfbd40e
/server/dvaapp/task_shared.py
8733e35fc2bb8ee34d3eb83854a172bd24e95358
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
veyselkoparal/DeepVideoAnalytics
3628d41f8e06547e177a7badd20b399bd7f9028a
013f7e1efcc11f9ed5762192a91589aa6b4df359
refs/heads/master
2020-03-16T04:22:46.603989
2018-05-07T06:55:47
2018-05-07T06:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,253
py
import os, json, requests, copy, time, subprocess, logging, shutil, zipfile, uuid, calendar, shlex, sys, tempfile, uuid from models import Video, QueryRegion, QueryRegionIndexVector, DVAPQL, Region, Frame, Segment, IndexEntries, TEvent,\ Worker, TrainedModel from django.conf import settings from PIL import Image fr...
[ "akshayubhat@gmail.com" ]
akshayubhat@gmail.com
f027e2fef6d80f6cee29c3c460427d5ff4690d31
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_073/ch18_2020_03_09_13_23_07_056737.py
5580c305acffebf7d622cc6890b83f53b3de7ef7
[]
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
203
py
def verifica_idade(idade): if idade>=21: return 'liberado EUA e BRASILl' if idad>=1 and idade<18: return 'Não está liberado' else: return 'esta liberado BRASIL'
[ "you@example.com" ]
you@example.com
14652fb38016928ddefc74fa43e0a8c3e8ada405
63b0fed007d152fe5e96640b844081c07ca20a11
/ABC/ABC200~ABC299/ABC245/d2.py
39575b7b194f9b94d10060fb30a0af67e9572081
[]
no_license
Nikkuniku/AtcoderProgramming
8ff54541c8e65d0c93ce42f3a98aec061adf2f05
fbaf7b40084c52e35c803b6b03346f2a06fb5367
refs/heads/master
2023-08-21T10:20:43.520468
2023-08-12T09:53:07
2023-08-12T09:53:07
254,373,698
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
def polydiv(xs, ys): xn = len(xs) yn = len(ys) zs = xs.copy() qs = [] for _ in range(xn - yn + 1): temp = zs[0] // ys[0] for i in range(yn): zs[i] -= temp * ys[i] qs.append(temp) zs = zs[1:] if qs == []: qs = [0.] return qs n,m=map(int,input().spli...
[ "ymdysk911@gmail.com" ]
ymdysk911@gmail.com
843d8fb2fb90c80110e6a1f94182e4440e561463
7a07d957316172fe78b341c6f5215df2ccdb24f6
/assignment/EasyAI_all_program.py
c6fbae635760a88672fcd1070d47c597c1a75d57
[]
no_license
chandraprakashh/Python_with_AI
87ff4655c44eef9d0459cf0f2ceedabde88b0f1f
6d76eeea94e0cb7402330a2beea1fc4a7ab73e29
refs/heads/master
2020-07-18T18:18:06.463302
2019-12-11T08:20:12
2019-12-11T08:20:12
206,291,055
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
# -*- coding: utf-8 -*- """ Created on Sun Oct 13 22:50:57 2019 @author: user """ # Code => 1 from easyAI import TwoPlayersGame, Human_Player, AI_Player, Negamax class GameOfBones( TwoPlayersGame ): def __init__(self, players): self.players = players self.pile = 20 self...
[ "noreply@github.com" ]
chandraprakashh.noreply@github.com
7678c21d2e011e118d23455f36514f5d73e162d6
8454441f899c3beb9fcea26cffc2f4c3cf75ff6a
/common/code/snippets/py/flask-get-header.py
a040c637e90ee07be18f7cd6ed97246a58f26c1e
[ "MIT" ]
permissive
nevesnunes/env
4a837e8fcf4a6a597992103e0a0c3d0db93e1c78
f2cd7d884d46275a2fcb206eeeac5a8e176b12af
refs/heads/master
2023-08-22T15:49:35.897161
2023-08-15T13:51:08
2023-08-15T13:51:08
199,400,869
9
6
MIT
2023-06-22T10:59:51
2019-07-29T07:24:47
Python
UTF-8
Python
false
false
630
py
#!/usr/bin/env python3 from flask import Flask, request app = Flask(__name__) @app.route("/") def hello(): return "Hello!" @app.route("/<path:text>", methods=["GET", "POST"]) def echo(text): return f"You said (len = {len(text)}): {bytes(text, 'latin-1')}" @app.after_request def after(response): red_...
[ "9061071+nevesnunes@users.noreply.github.com" ]
9061071+nevesnunes@users.noreply.github.com
2ddaa2d8860b7299c64a636af17c11fbc5ebfa46
c04acaa6ee9c6a7c365e217bc78039fa9c77833e
/cuzquena/urls.py
785b7ed1280475deaaa389f28b11b64b4deafb40
[]
no_license
danielhuamani/django-la-cuzquena
0386800d640b224d94b0fac2d83f999b60d7da85
a6f4aaf44775b27328d073a65f1d0f50eff51fad
refs/heads/master
2020-12-05T04:51:01.077860
2016-09-17T13:56:58
2016-09-17T13:56:58
67,900,351
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
"""cconline URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
8349477f2dc38370be2a6048b4ca40ce366e75e2
f3a4b4c7c39d2ed2959b410367e8abc66493772e
/laplacianFlux/r2_1_0/__init__.py
c64bf8efa3593dcacfa71e4abd9edc4f9e87754b
[]
no_license
asimurzin/laplacianFlux
6800bc5aba29968f7784ce91a5a1503318fad246
83977d5ce967b87ed0203a143d19d88c9a5d7ed7
refs/heads/master
2020-03-29T20:22:44.143734
2012-07-01T19:36:36
2012-07-01T19:36:36
1,613,806
0
0
null
null
null
null
UTF-8
Python
false
false
5,376
py
#!/usr/bin/env python #-------------------------------------------------------------------------------------- ## pythonFlu - Python wrapping for OpenFOAM C++ API ## Copyright (C) 2010- Alexey Petrov ## Copyright (C) 2009-2010 Pebble Bed Modular Reactor (Pty) Limited (PBMR) ## ## This program is free software: you can...
[ "asimurzin@gmail.com" ]
asimurzin@gmail.com
178ebfab22130821e12bb8c9157a0436f54acf48
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/109/usersdata/172/63370/submittedfiles/av2_p3_civil.py
4c68528d682769ee8dc9310c3e74e069e24ca4aa
[]
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
498
py
# -*- coding: utf-8 -*- import numpy as np def somal(l,i): soma=0 for j in range(0,l.shape[1],1): soma=soma+l[i,j] return (soma) def somac(l,j): soma=0 for i in range(0,l.shape[0],1): soma=soma+l[i,j] return (soma) n=int(input('Tamanho: ')) g=int(input('Pl: ')) h=int(input('Pc: '...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5d745f9fd64c2b44a2dd7a0b7c45e43d247a4cc2
1c0509a06cec726735048f00f63d2529f5e43ce6
/code_supermarkets_france/analysis/analysis_qlmc_prices_2007_2012/stats_des/price_frequencies_by_chain.py
b951142551efcfccf3721c6c7e0bf28f2e1fe55d
[]
no_license
etiennecha/master_code
e99c62e93aa052a66d4cdd3f3e3aa25a3aec4880
48821f6c854a1c6aa05cf81b653b3b757212b6f8
refs/heads/master
2021-01-23T14:35:45.904595
2018-03-11T18:57:38
2018-03-11T18:57:38
16,312,906
2
0
null
null
null
null
UTF-8
Python
false
false
9,391
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import add_to_path from add_to_path import path_data from functions_generic_qlmc import * import numpy as np import pandas as pd import statsmodels.api as sm import statsmodels.formula.api as smf pd.set_option('float_format', '{:,.2f...
[ "echamayou@gmail.com" ]
echamayou@gmail.com
6c6be5bb613ab1ba748008cf64ecb99a72b2ea86
814fd0bea5bc063a4e34ebdd0a5597c9ff67532b
/build/android/pylib/utils/mock_calls_test.py
1b474afd1ea1707910b1716170ec0f65c1c87e17
[ "BSD-3-Clause" ]
permissive
rzr/chromium-crosswalk
1b22208ff556d69c009ad292bc17dca3fe15c493
d391344809adf7b4f39764ac0e15c378169b805f
refs/heads/master
2021-01-21T09:11:07.316526
2015-02-16T11:52:21
2015-02-16T11:52:21
38,887,985
0
0
NOASSERTION
2019-08-07T21:59:20
2015-07-10T15:35:50
C++
UTF-8
Python
false
false
5,078
py
#!/usr/bin/env python # Copyright 2014 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. """ Unit tests for the contents of mock_calls.py. """ import logging import os import sys import unittest from pylib import constants...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
4a5f20033b2ce926b8c120facc7b1de246135d9c
c47e274f6af4d08bff65e360fb8a11b163dc34b2
/common/global_constants.py
7e184ce065f2d0ce801d87ae0ab50fb3d1e9079c
[ "BSD-3-Clause" ]
permissive
nozberkaryaindonesia/ReadableWebProxy
6b66994c574dc0a70767397403c04f97bf2d07f0
82d14d8dfb23ef135a16f88274c14c7acc1162a5
refs/heads/master
2022-05-21T20:06:03.707617
2017-09-24T09:54:23
2017-09-24T09:54:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,460
py
GLOBAL_BAD_URLS = [ '//mail.google.com', '/comments/feed/', '/embed?', '/osd.xml', '/page/page/', '/wp-json/', '/wp-login.php', '/xmlrpc.php', '?openidserver=1', 'a.wikia-beacon.com', 'accounts.google.com', 'add.my.yahoo.com', 'addtoany.com', 'b.scorecardresearch.com', 'del...
[ "something@fake-url.com" ]
something@fake-url.com
a43033cd1083b62dfa20f3914123e00835219987
c5a004f26bf249f888be3849114dd35dbd24cb24
/python/evalrescallers/tests/ten_k_validation_data_test.py
c9f2b7b50349d5124180fb1dad48982f96e4202e
[ "MIT" ]
permissive
wangdi2014/tb-amr-benchmarking
f7cf331608cfe7b9cc8995906d991573323dc87a
276f4f7f30639dacc62b3e8e395b2d2ce8675089
refs/heads/master
2022-03-10T00:41:07.364006
2019-11-08T09:37:23
2019-11-08T09:37:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,515
py
import os import unittest from evalrescallers import ten_k_validation_data modules_dir = os.path.dirname(os.path.abspath(ten_k_validation_data.__file__)) data_dir = os.path.join(modules_dir, 'tests', 'data', 'ten_k_validation_data') class TestTenKValidationData(unittest.TestCase): def test_load_sample_to_res_f...
[ "martin.g.hunt@gmail.com" ]
martin.g.hunt@gmail.com
0129e5f8bb4ef9510bef37bfe7c32a58b45a1089
6ec8e4271968cae715babe05029931d2c11df754
/run.py
3381b4ca954744143adb1172231fafc792c96a42
[ "MIT" ]
permissive
lllhhhqqq/SPIRAL-tensorflow
040efe8af0fd3bc4d5f5ce2ed5474e6d732763f5
05ddfdc20c73a61cde46594bd6b7b7a2e255a44b
refs/heads/master
2020-03-08T08:57:45.938448
2018-04-03T15:32:19
2018-04-03T15:32:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,371
py
# -*- coding: future_fstrings -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import sys import tensorflow as tf from six.moves import shlex_quote import utils as ut def new_cmd(session, name, cmd, load_path, shell): if isinstance(cmd, (...
[ "carpedm20@gmail.com" ]
carpedm20@gmail.com
7c602f029e3a124f40432e96b024c8300417ae5b
f4b5721c6b3f5623e306d0aa9a95ec53461c1f89
/backend/src/gloader/xml/dom/html/HTMLTableRowElement.py
e18280ba18ad8af52f593f29fbe8bf83d5cc6ac0
[ "Apache-1.1", "MIT" ]
permissive
citelab/gini5
b53e306eb5dabf98e9a7ded3802cf2c646f32914
d095076113c1e84c33f52ef46a3df1f8bc8ffa43
refs/heads/uml-rename
2022-12-10T15:58:49.578271
2021-12-09T23:58:01
2021-12-09T23:58:01
134,980,773
12
11
MIT
2022-12-08T05:20:58
2018-05-26T17:16:50
Python
UTF-8
Python
false
false
3,711
py
######################################################################## # # File Name: HTMLTableRowElement.py # # """ WWW: http://4suite.com/4DOM e-mail: support@4suite.com Copyright (c) 2000 Fourthought Inc, USA. All Rights Reserved. See http://4suite.com/COPYRIGHT for license and copyright in...
[ "maheswar@MacBook-Pro.local" ]
maheswar@MacBook-Pro.local
82cd114c38d8767bd5493b1054b0112eb2f33b82
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02772/s117684727.py
af179f388db806b32c0635d0c096c78b0d0171ea
[]
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
253
py
N = int(input()) A = list(map(int, input().split())) even_numbers = [a for a in A if a % 2 == 0] is_approved = all([even_num % 3 == 0 or even_num % 5 == 0 for even_num in even_numbers]) if is_approved: print('APPROVED') else: print('DENIED')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
26a00630aeba6a6ae67c356e67ad7108f664c08b
2aec9c5e8c72b731d3abf22f2a407fe09c1cde09
/ZQZ510/ZQZ510/pipelines.py
96d17ebedbe541b8ea71011896e82ef784f24a35
[]
no_license
jiangyg/ZWFproject
8b24cc34970ae0a9c2a2b0039dc527c83a5862b5
aa35bc59566d92721f23d2dd00b0febd268ac2dd
refs/heads/master
2020-09-26T17:01:00.229380
2019-11-15T13:16:21
2019-11-15T13:16:21
226,297,631
0
1
null
2019-12-06T09:55:37
2019-12-06T09:55:36
null
UTF-8
Python
false
false
542
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html import json class Zqz510Pipeline(object): def open_spider(self, spider): self.file = open('./zqz_data.json', 'w+...
[ "34021500@qq.com" ]
34021500@qq.com
560d28d47aec3beddae995957b47f2a586147262
153995fa868b4697d8d6b25379a16f9756604151
/student/migrations/0003_auto_20180530_1427.py
23c1d56c1bf88a956e612254eb17747ba36e63f8
[]
no_license
Manju1313/django-school
816c13259654c4f57352add903cc13e3915f3724
1182de09e9b638a2a4f328024f6bc6807eff6029
refs/heads/master
2023-03-21T22:44:59.002131
2020-08-15T14:34:19
2020-08-15T14:34:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,414
py
# Generated by Django 2.0.4 on 2018-05-30 18:27 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('student', '0002_auto_20180530_1421'), ] operations = [ migrations.RemoveField( model_name='student...
[ "dihfahsihm@gmail.com" ]
dihfahsihm@gmail.com
3cb9f0d148c54cbbe893c3e1c798c3bb23c70ffc
a3cc7286d4a319cb76f3a44a593c4a18e5ddc104
/lib/surface/compute/instances/delete_access_config.py
479bf531ec0ef199dca5ae411f4dd8aff59f1cff
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jordanistan/Google-Cloud-SDK
f2c6bb7abc2f33b9dfaec5de792aa1be91154099
42b9d7914c36a30d1e4b84ae2925df7edeca9962
refs/heads/master
2023-09-01T01:24:53.495537
2023-08-22T01:12:23
2023-08-22T01:12:23
127,072,491
0
1
NOASSERTION
2023-08-22T01:12:24
2018-03-28T02:31:19
Python
UTF-8
Python
false
false
3,102
py
# Copyright 2014 Google Inc. 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 applicable law or ag...
[ "jordan.robison@gmail.com" ]
jordan.robison@gmail.com
51076cbc05dfd34c93e5ff0d33ec683f7304252f
6cc795fef13e82a2e50f487740f5373b5a3f8549
/pyunlocbox/tests/__init__.py
7cae2d147d6d4ccbb8129886a11191b019a147e2
[ "BSD-3-Clause" ]
permissive
epfl-lts2/pyunlocbox
7a14e97f7e46981ed6748bb5073d473f45af676e
ec84282096fa9154d8bdcc52bacc3531c9720779
refs/heads/master
2023-08-29T22:13:29.345251
2022-10-18T11:18:53
2022-10-18T11:18:53
17,248,167
98
28
BSD-3-Clause
2023-08-18T02:01:44
2014-02-27T12:33:31
Python
UTF-8
Python
false
false
445
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Test suite for the pyunlocbox package, broken by modules. """ import unittest from . import test_functions from . import test_operators from . import test_solvers from . import test_acceleration from . import test_docstrings suite = unittest.TestSuite([ test_f...
[ "michael.defferrard@epfl.ch" ]
michael.defferrard@epfl.ch
2f52dc55e8244d2992f25fe087aa779b5ee88b23
edfa045d12b8efb65de20261ff80a86160298e44
/contact/views.py
92ba8640b73aadf1add6ef04d0e028b1dae69786
[ "MIT" ]
permissive
yusif763/Unistore-pro
1d559a89bb71f3db8b5d1e89df64ed7113f00f2a
41ad0fa209c79a201d3f6a7aa68ec0ace707dcad
refs/heads/main
2023-04-24T02:50:30.085011
2021-04-29T11:00:11
2021-04-29T11:00:11
362,782,688
4
0
null
null
null
null
UTF-8
Python
false
false
1,954
py
from django.shortcuts import render,redirect from contact.models import * from contact.forms import ContactForm from django.views.generic import ( ListView, DetailView,CreateView ) from django.views.generic.edit import FormMixin from django.http import HttpResponseRedirect from django.urls import reverse_lazy # ...
[ "you@example.com" ]
you@example.com
8cbb0199476d4a0ff738d2012c7bde1daee5d0e7
496e05014492b4bbecf9f15c40ae416c21e27a46
/src/outpost/django/api/serializers.py
f3b19c6cac6763725dbcfae9ac299911d7d02ba2
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
medunigraz/outpost_deprecated
b1ff802054c04cf989b3b660e132fa6a1c2a078c
bc88eaa3bb504d394fdf13f1131e40db27759c89
refs/heads/master
2022-01-23T15:46:34.859095
2019-05-21T08:38:11
2019-05-21T08:38:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,266
py
import re from base64 import ( b64decode, urlsafe_b64encode, ) from pathlib import PurePosixPath from uuid import uuid4 import six from django.core.files.base import ContentFile from drf_haystack.serializers import HaystackSerializer from rest_framework.serializers import ( FileField, IntegerField, ...
[ "michael@fladi.at" ]
michael@fladi.at
556cd12c5bcabb294fdef6cef5e233d27d08634b
b5ce6908490cfb8e6a1e1cbe4745d675122ddce0
/questions/search-insert-position/Solution.py
c0090acd08a2b839bf40909c0f07c328192ae1f5
[ "MIT" ]
permissive
franklingu/leetcode-solutions
8895910f13208e1d8e604100d84c2dd35684cde4
7ad7e5c1c040510b7b7bd225ed4297054464dbc6
refs/heads/master
2023-01-09T01:34:08.097518
2023-01-02T02:05:35
2023-01-02T02:05:35
43,345,677
155
66
MIT
2020-10-02T03:41:36
2015-09-29T04:54:38
Python
UTF-8
Python
false
false
523
py
''' Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array. Example 1: Input: [1,3,5,6], 5 Output: 2 Example 2: Input: [1,3,5,6], 2 Output: 1 Example 3: Input: [1,3,5,6], 7 ...
[ "franklingujunchao@gmail.com" ]
franklingujunchao@gmail.com
1c8e3344ff726702de26bc95b86ffad4f8fa87df
cce5684e1bb9fea2df762c1afedb17b1795b7a5f
/pymcutil/selector/selectors/self_selector.py
03d75db75e9fd916c4c55f012ac4e9ca91173109
[ "MIT" ]
permissive
Arcensoth/pymcutil
85071e5c3bbd25a47a1133bfa464f67126c62bdd
0c8f1efa4d611e92170ec48bedb160b1d00d0022
refs/heads/master
2020-03-18T05:02:06.769457
2018-07-02T00:45:51
2018-07-02T00:45:51
91,645,414
3
1
null
2017-07-12T15:56:12
2017-05-18T03:37:33
Python
UTF-8
Python
false
false
322
py
from pymcutil.selector.abc.selector import Selector from pymcutil.symbols import selector_bases from pymcutil.symbols.selector_bases.selector_bases import SelectorBase class SelfSelector(Selector): @property def base(self) -> SelectorBase: return selector_bases.self self = SelfSelector SELF = self(...
[ "arcensoth@gmail.com" ]
arcensoth@gmail.com
8065d5a222ea47f64ef74359900886af9e88af37
fa9c5bb26c72b053a41f34e858d7395ee29aea5d
/HttpTesting/main.py
ed8bc130a9da20ac6da12479814e772dab2e1447
[ "Apache-2.0" ]
permissive
HttpTesting/HttpTesting
3c01d7b00b13ddf5d52ac223693a5222d9a52a03
b5b68dd546cb7aea02931c46fe4e51a98f71566e
refs/heads/master
2021-06-20T15:34:35.583811
2019-12-25T05:58:34
2019-12-25T05:58:34
195,352,254
1
0
Apache-2.0
2021-03-25T22:50:17
2019-07-05T06:33:48
Python
UTF-8
Python
false
false
9,090
py
# ######################################################## # 将根目录加入sys.path中,解决命令行找不到包的问题 import sys import os curPath = os.path.abspath(os.path.dirname(__file__)) rootPath = os.path.split(curPath)[0] sys.path.insert(0, rootPath) # ######################################################## import unittest import shutil ...
[ "lengyaohui.bj@acewill.cn" ]
lengyaohui.bj@acewill.cn
84b921ebd67dca82253a50ee13baf4d2cb8fdb97
6646f6b92e9ff31f2f74b749ea12ace53cfc135c
/tests/unit/models/test_package_model.py
5d883c6352b89b74851372eb02d55c084db4b862
[]
no_license
EricMontague/SponsorMatch
0a6685edb44b2694824d3d3a4d15dfcb42fdb68e
864aa3cfe25d74c2b97b9f09f45eb9fa10dac892
refs/heads/master
2022-12-08T22:43:21.684165
2021-03-19T00:50:06
2021-03-19T00:50:06
241,396,411
0
0
null
2022-12-08T03:38:23
2020-02-18T15:27:42
Python
UTF-8
Python
false
false
2,398
py
"""This module contains tests for the package model.""" import unittest from tests.integration.testing_data import TestModelFactory from app import create_app from app.extensions import db class PackageModelTestCase(unittest.TestCase): """Class to test the Package Model.""" def setUp(self): """Crea...
[ "eric.g.montague@gmail.com" ]
eric.g.montague@gmail.com
73a23e510d0db12d3463c18a0f24bc61535d211a
9d1b1d52f99b86bec0e74878c0535057115dc667
/pes/views.py
2c1c8ed73da304fb4070741309f11b3496348234
[]
no_license
antocuni/pesranking
1f9b2bb8f03ba15f5f5d36ff6e70e0de8edc5002
574ecf8b5e49979adf709239a4df78de83acd039
refs/heads/master
2022-11-22T03:21:40.837305
2011-12-01T19:31:03
2011-12-01T19:31:03
275,815,179
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from django.http import HttpResponseRedirect from pes import models def updateranking(request): models.Match.updateranking() return HttpResponseRedirect(request.META['HTTP_REFERER'])
[ "anto.cuni@gmail.com" ]
anto.cuni@gmail.com
9dc4b494a28257793973cafba0d97492a5e21a0a
8dbb2a3e2286c97b1baa3ee54210189f8470eb4d
/kubernetes-stubs/client/models/v1beta1_volume_error.pyi
9f645d23474efed86f712f543da51fd09fa5d231
[]
no_license
foodpairing/kubernetes-stubs
e4b0f687254316e6f2954bacaa69ff898a88bde4
f510dc3d350ec998787f543a280dd619449b5445
refs/heads/master
2023-08-21T21:00:54.485923
2021-08-25T03:53:07
2021-08-25T04:45:17
414,555,568
0
0
null
2021-10-07T10:26:08
2021-10-07T10:26:08
null
UTF-8
Python
false
false
518
pyi
import datetime import typing import kubernetes.client class V1beta1VolumeError: message: typing.Optional[str] time: typing.Optional[datetime.datetime] def __init__( self, *, message: typing.Optional[str] = ..., time: typing.Optional[datetime.datetime] = ... ) -> None: ...
[ "nikhil.benesch@gmail.com" ]
nikhil.benesch@gmail.com
f8e6de07d5227dc1abec9911ddada669643f42bb
8b97e08d7d7cd904cafe5163eb81d6e2a81fbd90
/venv/bin/easy_install
74aede3b0a1b02eca86658618ec7a70e9aa649db
[]
no_license
Shaigift/Python-Practice-3
180f8005b31526a4f4c834be5ea46bea1a04ef62
e464740050513a455debeecc1af568f10707010a
refs/heads/master
2022-08-27T15:50:14.602975
2020-05-20T08:31:32
2020-05-20T08:31:32
265,501,050
0
0
null
null
null
null
UTF-8
Python
false
false
444
#!/Users/mphoshai/PycharmProjects/untitled/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$...
[ "Mphogivenshai@gmail.com" ]
Mphogivenshai@gmail.com
688f5a27c17943c555fe537f43e8a91de0397e93
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/scattercarpet/_uid.py
e693f7c7608fa0de61de5dbd33659c52dd174a3f
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
390
py
import _plotly_utils.basevalidators class UidValidator(_plotly_utils.basevalidators.StringValidator): def __init__(self, plotly_name="uid", parent_name="scattercarpet", **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, edit...
[ "noreply@github.com" ]
hugovk.noreply@github.com
073c78c464eb8c22be7697340798bdfb19009e7c
8adec48dfaee1cdfd6c7f4d2fb3038aa1c17bda6
/WProf/build/masters/master.chromium.chromiumos/master_gatekeeper_cfg.py
68b8a28fa503e0db0192a1a7d126068772a3feef
[]
no_license
kusoof/wprof
ef507cfa92b3fd0f664d0eefef7fc7d6cd69481e
8511e9d4339d3d6fad5e14ad7fff73dfbd96beb8
refs/heads/master
2021-01-11T00:52:51.152225
2016-12-10T23:51:14
2016-12-10T23:51:14
70,486,057
0
1
null
null
null
null
UTF-8
Python
false
false
4,526
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. from master import gatekeeper from master import master_utils # This is the list of the builder categories and the corresponding critical # steps. If on...
[ "kusoof@kookaburra.(none)" ]
kusoof@kookaburra.(none)
f0eefe22562432df713f9a164d1362e2892d2ea0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03495/s527457667.py
af89959a94f603b8e66e9c604d4ff5d4f266dce7
[]
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
316
py
n, k = map(int, input().split()) a = list(map(int, input().split())) ball = {} for i in a: if i in ball: ball[i] += 1 else: ball[i] = 1 ball = sorted(ball.items(), key=lambda x: -x[1]) ans = 0 if len(ball) > k: for i in range(k): ans += ball[i][1] ans = n - ans print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2a46cba90659a56d1af070ee76242a046edd72a9
ff12b271c7538f0621b88e567b315d5bb44166af
/ambari_monitor/hbase_monitor/hbase_monitor_v2/conn_db.py
d483eee20dceb6a566d0b5d5b49a331740dd2f1d
[]
no_license
witnesslq/big_data_operation
23ca6afd2f69fbe2b4f9debea4bd2f49f6d4a1c8
829422bfd3c52fbd99e0b54e3da7b9ac7ec4f3cd
refs/heads/main
2023-06-06T22:17:15.572951
2021-07-13T14:34:18
2021-07-13T14:34:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
#!/usr/bin/env python # -*-coding:utf-8 -*- # *************************************************************************** # 文件名称:conn_db.py # 功能描述:迁移Hive表 # 输 入 表: # 输 出 表: # 创 建 者:hyn # 创建日期:20200808 # 修改日志: # 修改日期: # *************************************************************************** # 程序调用格式:python conn_db.p...
[ "1342831695@qq.com" ]
1342831695@qq.com
9fbddab470ce95d6a31bb446fcd8a7ee812aa1d0
5399dd4580ea3f528753bc8b52a981743d62f8bb
/keras/keras26_LSTM_hamsu.py
10977c12c7ffbf0c14ef67ef7f6d8b6f2e3211d9
[]
no_license
iwillbeaprogramer/Study
3ac7c118ffe3981d78b4ad263cb62432eae13970
3bfe571da5bbfc545b994e5878e217f9306bde14
refs/heads/main
2023-05-07T16:31:05.564973
2021-05-27T14:50:00
2021-05-27T14:50:00
324,044,441
8
1
null
null
null
null
UTF-8
Python
false
false
1,598
py
# keras 23 _LSTM3_scale을 함수형으로 코딩 import numpy as np x = np.array([[1,2,3],[2,3,4],[3,4,5],[4,5,6],[5,6,7],[6,7,8],[7,8,9],[8,9,10],[9,10,11],[10,11,12],[20,30,40],[30,40,50],[40,50,60]]) y = np.array([4,5,6,7,8,9,10,11,12,13,50,60,70]) x_pred = np.array([50,60,70]).reshape(1,3,1) from tensorflow.keras.models import ...
[ "wisixicidi@gmail.com" ]
wisixicidi@gmail.com
1e4ec69660f5980e00461dbe5783a03c23174204
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4131/codes/1758_1580.py
c80833ecede95654db5b447bb5eb5803ca08197f
[]
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
423
py
from numpy import* v=array(eval(input("notas:")))*1.0 n=array(eval(input("alunos:"))) i=0 faltas=0 aprovados=0 reprovados=0 soma=0 while(i<size(v)): if(v[i]==-1.0): faltas+=1 if(v[i]>=6): aprovados+=1 soma+=v[i] if(v[i]<6.0 and v[i]!=-1.0): reprovados+=1 soma+=v[i] if(v[i]==max(v)): nome = n[i] i=i+1 p...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
573e195a6ee0cf64d44548b0b3cf38f0233749b1
7c843f80a08db6725fd8d2e85099d9e6c13f6426
/lib/yllibInterface.py
ec7a24ba3216459a602d8f2be161df434745f8a3
[]
no_license
wanfade/scaffolding_Seg
e983c1d1cdd60efcd7d381728c277993a1cf4721
12ba8892eb44d3ce47fa2609973b0510904c4753
refs/heads/master
2023-03-16T05:57:28.808341
2017-11-25T13:53:11
2017-11-25T13:53:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# -*- coding: utf-8 -*- import sys from os.path import abspath,join,dirname yllibPath = abspath(join(dirname(abspath(__file__)),'./yl')) if yllibPath not in sys.path: sys.path = [yllibPath] + sys.path import tool import ylimg as imglib import ylml as mllib import ylnp as nplib from tool import * from ylimg i...
[ "ylxx@live.com" ]
ylxx@live.com