blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
06659e0120fe341e4324f996fe0a30551303f6f1
a663eb28d9c5e05d505a94aba511649b68e951cf
/pytype/constant_folding.py
5873a1aad6ba2dda15ba79caa2491b7feefed22d
[ "Apache-2.0", "MIT" ]
permissive
CyberFlameGO/pytype
603240757291e066aad4259ce0b93221d90a4710
c8cbeea997634455b5abcb27c76c58aa0dfc25ae
refs/heads/master
2023-07-02T14:39:55.343774
2021-08-06T21:55:02
2021-08-06T21:55:02
393,544,239
0
0
NOASSERTION
2021-08-07T01:12:39
2021-08-07T01:10:49
null
UTF-8
Python
false
false
14,305
py
"""Constant folding optimisation for bytecode. This optimisation adds a new pseudo-opcode, LOAD_FOLDED_CONST, which encodes the type of a complex literal constant in its `arg` field, in a "typestruct" format described below. There is a corresponding function, build_folded_type, which constructs a vm type from the enco...
[ "rechen@google.com" ]
rechen@google.com
47271b52662a9586836d4b8ea903135c04084971
b320c665814aff4e705c7302eef4c43689cf037d
/test/vector_mediator/herwig4dm/KKpi.py
7a051efef428f4729535c84b298ca282f2cb85e4
[ "MIT" ]
permissive
LoganAMorrison/Hazma
a393d92a10c677e3ee6db83172c6fa8010f3d975
a40ffd3e5643303bb535d9b487faf201450ff4e9
refs/heads/master
2022-12-05T20:10:20.169282
2022-12-03T23:31:22
2022-12-03T23:31:22
113,697,781
12
2
MIT
2019-11-21T16:36:22
2017-12-09T20:06:27
Jupyter Notebook
UTF-8
Python
false
false
3,365
py
# Libraries to load import matplotlib.pyplot as plt from . import FKKpi, FPhiPi analyses = {} br00 = 0.342 brpp = 0.489 xSM = [] ySM_0 = [] ySM_1 = [] ySM_2 = [] xDP = [] yDP_0 = [] yDP_1 = [] yDP_2 = [] xBL = [] yBL_0 = [] yBL_1 = [] yBL_2 = [] # energy range low_lim = 1.21 upp_lim = 3.0 FKKpi.readHadronic_Cur...
[ "loganmorrison99@gmail.com" ]
loganmorrison99@gmail.com
c6b635d8975e1e9ddb2d14e64c1ceb9dae765e30
5a71a3e20e40bf39f35a5cdf2d8baae485fe1158
/gravitySim.py
155964f408f794aa0824f9e29908e206f1a9f409
[]
no_license
tspanther/FeriDrone
7cc0612083d11b26d9a2dd32dbb9dba770e192b0
911f545bbf8ac3a8c3c09cfc77ddccae40160bc3
refs/heads/master
2020-05-25T18:00:39.667947
2020-01-27T19:41:05
2020-01-27T19:41:05
187,918,038
0
1
null
2020-01-26T10:01:33
2019-05-21T21:46:46
C
UTF-8
Python
false
false
12,197
py
import numpy as np import matplotlib.pyplot as plt ## Noise generator - do not touch!!! def awgn_noise_single_element(x, SNR_dB): #np.random.seed(1) # set the random generator seed to same value (for comparison only) L = x.size SNR = np.power(10, (SNR_dB/10)) # SNR to linear scale Esym = ...
[ "niko.uremovic@student.um.si" ]
niko.uremovic@student.um.si
8450ae9ac9e107829379b46d5b8489d02c6e26a9
efd190338aca71472812a22fa16a70b33481ae43
/web/mcc-import.py
d0cfb3fc9a248d06634eec61f4bb953d90cde2d0
[]
no_license
mgrundy/mcc
3b49a6869846fad1e56365ee62921ba4f05e2020
6a2e72fad986e39f15369462206802ba76e1f9df
refs/heads/master
2021-01-18T10:21:27.534886
2014-10-17T14:39:12
2014-10-17T14:39:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,557
py
# Copyright (C) 2014 MongoDB Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License, version 3, # as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, ...
[ "mvankeulen94@gmail.com" ]
mvankeulen94@gmail.com
2c7265b2668c7bcb4848c3635ee1b3d9f1cf3ae5
63fc7db58cef6c10622ae963e2cf7d89ffc665fe
/coremltools/converters/mil/mil/ops/tests/test_tensor_transformation.py
e6af34aaae3b5da789412e8aca73aaab68bb25ba
[ "BSD-3-Clause" ]
permissive
lexmz/coremltools
c3498d3a79a00806881833c61d0ad80fd226ace2
908ad2add3753b6b57336d6c26821e7074b9f669
refs/heads/main
2023-08-31T19:02:57.904850
2021-11-04T16:39:09
2021-11-04T16:39:09
424,665,865
0
0
BSD-3-Clause
2021-11-04T16:33:17
2021-11-04T16:33:17
null
UTF-8
Python
false
false
39,235
py
# Copyright (c) 2020, Apple Inc. All rights reserved. # # Use of this source code is governed by a BSD-3-clause license that can be # found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause from coremltools.converters.mil import testing_reqs from coremltools.converters.mil.mil import get_ne...
[ "noreply@github.com" ]
lexmz.noreply@github.com
5e8eac17c25523e0b88ce7995848b477fcb94739
93cf8c25ad5475b9697489c0ad567fa861b11bc5
/trunk/multilts/timit/cmudict_to_timit.py
7ed859055ee30ea09e7ab1fe6b99cdf00f2e745a
[]
no_license
BackupTheBerlios/festlang-svn
2d1b0498995bd2620ac7d6bac3fb07cc76b206be
f7325adde1289529bc62aa3aff97f8ff67f1ab82
refs/heads/master
2020-04-11T03:21:02.650683
2011-03-17T09:57:28
2011-03-17T09:57:28
40,663,967
1
0
null
null
null
null
UTF-8
Python
false
false
583
py
#!/usr/bin/python import re # cmudict to timit replacement = { "ah0" : "ah", "ah1" : "ax", "er0" : "axr", "er1" : "er", "ih0" : "ih", "ih1" : "ix", } file = open ("cmudict.0.7a", "r") for line in file: tokens = line.lower().split() word = re.sub ("\([0-9]+\)", "", tokens[0]) r...
[ "nsh@3ccbf08f-adf1-0310-975e-a3baaf75e68e" ]
nsh@3ccbf08f-adf1-0310-975e-a3baaf75e68e
8bef033af5cd564462af75d5a4bc0287381518cf
95eeebfd1283d8936fcb3b88729e977856fd4219
/Python_Challenge/PyPoll/main.py
1ef3a054b628720ab301998c53b49a5d87c72823
[]
no_license
lraynes/homework
d8e1e3dd782472accbb4ad8ce068e7e6c25dd771
feec8a8e862f2a50dc0f7516e0aa0a0e5571125d
refs/heads/master
2020-03-12T07:41:05.900790
2018-09-20T22:00:51
2018-09-20T22:00:51
130,511,406
0
0
null
null
null
null
UTF-8
Python
false
false
1,752
py
#import as a list of dictionaries #{["Voter ID": ____, "County": _____, "Candidate": _____]} import os import csv def percentage_calc(part,whole): return(str(part/whole * 100) + "%") vote_count = 0 candidate_list = [] can_0_count = 0 can_1_count = 0 can_2_count = 0 can_3_count = 0 #INSTEAD, MAKE THE CANDIDATE L...
[ "raynes.laura11@gmail.com" ]
raynes.laura11@gmail.com
40cb7bbdb15f45b488ddfd20090515b60abc5f99
55f5c304ce23c1b3214f2baa322013a3b8118a68
/src/semantic_segmentation/models/model_basic.py
fa138e8ce14b61ec4ce283843b77781bac810e5c
[ "MIT" ]
permissive
ISCAS007/Mask_RCNN
02fd479703c4e1eb2aaa3638f94b6e6ce7bacec7
a24794e68fae65f621abd6af474c78529b1473e8
refs/heads/master
2020-03-07T04:39:53.483184
2018-04-25T06:14:23
2018-04-25T06:14:23
127,272,831
0
0
null
2018-03-29T10:00:05
2018-03-29T10:00:05
null
UTF-8
Python
false
false
6,780
py
# -*- coding: utf-8 -*- import os from keras.applications import MobileNet, VGG16, VGG19, ResNet50, DenseNet121, DenseNet169, DenseNet201, NASNetMobile, InceptionV3, Xception, InceptionResNetV2 from keras.backend import tf as ktf import keras class Interp(keras.layers.Layer): def __init__(self, new_size, **kwargs...
[ "youdaoyzbx@163.com" ]
youdaoyzbx@163.com
744df70ea05418f0a741e97fcc351ced8f4e5eda
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-WebKit/Lib/WebKit/_metadata.py
7a409aa4e1b20a8ba287c34c47b34b62635a083f
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
101,324
py
# This file is generated by objective.metadata # # Last update: Tue Jul 30 21:56:03 2019 import objc, sys if sys.maxsize > 2 ** 32: def sel32or64(a, b): return b else: def sel32or64(a, b): return a if sys.byteorder == "little": def littleOrBig(a, b): return a else: de...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
962661036d44067c7e93ad751d8e43088a30c916
22828678955eb92188a158528963a5fcbcd8b2ff
/蚁群算法.py
38108964d90201254fd65b60a44aa6d46f7f829d
[]
no_license
Satan121/ant
0a5cab4d85ead4f98173c81ebdf77e5ee2756cfa
e46bd9cdc60ee8f781a61ad44f8723ecd4e7b3ae
refs/heads/master
2020-04-02T13:03:46.740843
2018-03-11T08:12:09
2018-03-11T08:12:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,347
py
# -*- coding: UTF-8 -*- ''' 程序主体: 类BACA的实例化->类BACA的初始化->执行BACA.ReadCityInfo()方法->执行BACA.Search()方法->执行BACA.PutAnts()方法 ->类ANT的初始化->类ANT的实例化->执行ANT.MoveToNextCity()方法->执行ANT.SelectNextCity()方法->执行ANT.AddCity()方法 ->执行ANT.UpdatePathLen()方法->执行BACA.UpdatePheromoneTrail()方法 蚁群算法中关键两个问题,一个是选择下一个城市的算法,主要在ANT.SelectNex...
[ "noreply@github.com" ]
Satan121.noreply@github.com
f28a60ffdd9c80cdba50e7b598f33aa9df46a759
13d309f050210d41c86142aa34dfb555d35dcff3
/englishsurveyor/views.py
0a8e5048b56881f373e3e80fc1f83fe12a41c362
[]
no_license
sabiut/erdsurvey
9df00885d5d771ff2dc3397730a66f3b2d8e86fe
980855a6ff68de346459cb2f63f4189d26da684e
refs/heads/main
2023-05-25T09:35:44.533643
2021-06-09T03:16:31
2021-06-09T03:16:31
363,824,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
from django.shortcuts import render # Create your views here. from languages.models import Choice, Survey, SurveyAnswer, QuestionAnswer, TextChoice,CheckChoice def survey_view(request, object_id=None): try: survey = Survey.objects.get(id=object_id) questions = survey.question_set.all() c...
[ "sa252@waikato.students.ac.nz" ]
sa252@waikato.students.ac.nz
c9e5047d03b59579c46003e86f166ca25faaec75
3dfceb181f9cf5bb29c671cc2f417ce877805390
/m2cf/M2P_root/uicharacter.py
1458dd9fa1bc14f526013065ce8f2a72f1e05215
[]
no_license
Sophie-Williams/M2-Project
74e1ce9e80a137b59b54dc8f42f192fb8293b6e9
b07c37b6c24b46040b21693402e4b1606ad67b48
refs/heads/master
2022-11-23T05:16:37.706348
2020-08-02T21:52:07
2020-08-02T21:52:07
null
0
0
null
null
null
null
UHC
Python
false
false
38,363
py
import ui import uiScriptLocale import app import net import dbg import snd import player import mouseModule import wndMgr import skill import playerSettingModule import quest import localeInfo import uiToolTip import constInfo import emotion import chr SHOW_ONLY_ACTIVE_SKILL = False SHOW_LIMIT_SUPPORT_SKILL_LIST = []...
[ "contact@asikoo.xyz" ]
contact@asikoo.xyz
7c453cb16c9b52badd781c88433bb42e7ce571d3
b2c44782b33a063bdb5066e92a924b596e5215d8
/botModule/botMSG.py
dfc5491dc8f9f69ef4cc80dca2c8402c191b153d
[ "Apache-2.0" ]
permissive
KL35Ronaldo/MegaUploaderbot
1e414ea93d2d5e801ac25eceaefd2fcf535b3577
ddd58980ee568f696d226b52750778ca138416e3
refs/heads/master
2023-09-02T17:19:52.795920
2021-11-19T16:41:56
2021-11-19T16:41:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,082
py
#!/usr/bin/env python3 # Bot defined Messages class BotMessage(object): '''Some permanent Variables defined''' common_text = "\n\n<b><u>If you are facing any problem😫, so report📝 at @AJPyroVerseGroup</u></b>" to_login = "<b>If you are not logged in then, send login detail in this format email,passwor...
[ "ajtimepyro@gmail.com" ]
ajtimepyro@gmail.com
27307f6f651010200bc164de7e8875e96c5b5af9
dd60231fa2d99a5100a800f43cb9cd93652fa63d
/lib/dknn_attack_l2.py
0f66da7bebf4798cc5cefb682f49eadc3b9732ce
[ "MIT" ]
permissive
XiaodanLi001/knn-defense
77150f40a9c20a500246d6c0aae91e2583b9fd40
7b390303a4fcfc26b627216649c75ca0f924f827
refs/heads/master
2020-07-31T22:52:52.567319
2019-09-23T21:23:30
2019-09-23T21:23:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,565
py
'''Implement gradient-based attack on DkNN''' import logging import numpy as np import torch import torch.nn.functional as F import torch.optim as optim INFTY = 1e10 class DKNNL2Attack(object): """ Implement gradient-based attack on Deep k-Nearest Neigbhor that uses L-2 distance as a metric """ ...
[ "chawins@berkeley.edu" ]
chawins@berkeley.edu
eeb6395192dadc4713b52cf52005245c92361ded
a538c645b60c4081c693cfb58db8e574ac334011
/d000_analysis/dual_optimization.py
77f22dad72d7a3082701946d1623b0f9cad90510
[]
no_license
pdijksta/analysis_scripts
b5235550143c88354a922e6b01124acf911fbd0c
f84211304357b678ee1d9995a6adf9c4a18d7b61
refs/heads/master
2021-01-11T00:05:36.273740
2016-10-12T07:29:05
2016-10-12T07:29:05
70,569,640
0
0
null
null
null
null
UTF-8
Python
false
false
3,261
py
# Interpolate data for dual optim import numpy as np import matplotlib.pyplot as plt from pyecloud_device import pyecloud_device # Function for device def main(hl_pyecloud, device_list, coast_strs, scenarios_labels_dict, length, dict_keys, arcs, hl_measured, sey_list, args_l, verbose=False): pyecloud_device_easy ...
[ "philipp.dijkstal@cern.ch" ]
philipp.dijkstal@cern.ch
51734a0ca45afb045f0dea8304646a3fa66521c4
34d75743328defe85bb7e1a830fc20a0c667ed69
/Drank/D067.py
b1ebcc15e08e752c505ec9e11a6c9f3d6fc55f1e
[]
no_license
koyamaj/paiza_work
dc4cc5ac1793002ba41225690ece3ab34d872df2
2784d12777ed31a368f787bbc18d36e92c57b294
refs/heads/master
2020-03-17T16:23:36.705228
2018-05-23T02:59:30
2018-05-23T02:59:30
133,746,991
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
n = int(input()) if n%2 == 0: print('OFF') else: print('ON')
[ "koyamaj818@gmail.com" ]
koyamaj818@gmail.com
4aaa6dcc305713880e0f29421a5d64406e92129d
fd2d467fa1d2d3e051a9bf2218db04e59310cef4
/src/process_log.py
3c4b4af2760d0045d2094653e576e3aebcbcfe7c
[]
no_license
MahinM/fansite-analytics-challenge
aa3c063224ab954ac28ec5867d5b88a3090d9353
d5ebbbb8168ac9982ba72d12892ba5864395f3da
refs/heads/master
2021-01-19T04:38:42.047623
2017-04-06T03:48:03
2017-04-06T03:48:03
87,384,024
0
0
null
null
null
null
UTF-8
Python
false
false
2,938
py
import parse_file import argparse def output_results(output_file, results): """Writes results to file""" with open(output_file,'w') as f: for line in results: print(line, file=f) def top_n(result_dict, n): """Returns a list of the top n entries in a dictionary based on the sorted values in the dictionary ...
[ "MahinManley@gmail.com" ]
MahinManley@gmail.com
5af66268499d70e87325b63780fe51d69b3edb8e
ea3440abd4a8cb4b55dcff2cfba9b29f13a62958
/yuding/views.py
41be3e06ca383219cb74e0c336b023c3f655fd1d
[]
no_license
24python/CRBM
223a969f13d006a25423d82dbf255fb73ce7d0f5
80bee0f010fa03493d378401c47aaa2b4dc79c91
refs/heads/master
2020-03-15T17:16:47.281543
2018-05-05T14:55:56
2018-05-05T14:55:56
132,255,804
0
1
null
null
null
null
UTF-8
Python
false
false
8,388
py
from django.forms import Form from django.forms import fields from django.forms import widgets from django.http.response import JsonResponse from django.shortcuts import render, redirect from yuding import models # Create your views here. import datetime import json # def index(request): # #查看所有会议室的名称 # metti...
[ "2414546214@qq.com" ]
2414546214@qq.com
2dbbe020be56a543dbaf3151406ae8c0cbf7fd5d
eb4581ac57524ac4a6f330e0963f09279ead3f24
/scraping/admin.py
52a5f26d80700752ecaa4777ac356acf04f24404
[]
no_license
GenesisBlock3301/scraper-gui-django
8c86975d01c5fa49ba01e0cf5691ad7e45fe42e2
238507ae625c201dcceb2ad188c3561aa5ff8d30
refs/heads/main
2023-01-24T04:02:03.832672
2020-11-24T18:30:51
2020-11-24T18:30:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from django.contrib import admin # Register your models here. from .models import * admin.site.register(Trust) admin.site.register(Facebook) admin.site.register(GOOGLE) admin.site.register(FeeFO) admin.site.register(Youtube)
[ "nur15-1463@diu.edu.bd" ]
nur15-1463@diu.edu.bd
bca42b05540c228d04735a0d6bc347d81e892fc6
92be2d8c4a64d5f8c43341be7f1e36b81fce56ab
/scripts/release/homebrew/docker/formula_generate.py
d44094ad0524ab437e79a6a20bdf6a9ce56e7124
[ "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
allanpedroni/azure-cli
b31d3347f377208b502231266d4839196e574c4b
4e21baa4ff126ada2bc232dff74d6027fd1323be
refs/heads/dev
2023-08-31T18:27:03.240944
2023-08-31T08:49:58
2023-08-31T08:49:58
204,767,533
0
0
MIT
2023-09-14T13:32:41
2019-08-27T18:41:15
Python
UTF-8
Python
false
false
7,645
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" ]
allanpedroni.noreply@github.com
d1f5d63673f69802b8065714b366f829e39daa67
8d9008f378deb041771c17f380b54c2c0d1d85bc
/source_code/1331. 数组序号转换/mine_v1.py
05d481eefb7532ffab963adb4c37c58617db01f7
[]
no_license
kavin525zhang/leetcode
b2fc73fe710f6fdf3637d12218ed0bb21bab00bf
8de38466f286d7c2e73ddaac5d5dae5444cc1e4c
refs/heads/main
2023-06-27T20:30:44.252386
2021-08-05T14:09:24
2021-08-05T14:09:24
391,509,569
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
from typing import List class Solution: def arrayRankTransform(self, arr: List[int]) -> List[int]: arr_sort = sorted(arr) num_index = {} for num in arr_sort: if num not in num_index: num_index[num] = len(num_index) + 1 results = [] for num in arr...
[ "kavin@9527" ]
kavin@9527
c035852caa276f982e8835fe76e946fcadcdaf26
4b8fd6959ebe49e12ee9f6cbd9565b81a7819d49
/app.py
2c960453ba3e096a79c1be9f6bb007e9ac824e6c
[]
no_license
TMead21/UK_Towns
84f73271a40bae963aecd5b3d41366a8a7189eea
db40423fa9eb8f05e1ed7231dbd8d4bb22bf7214
refs/heads/main
2023-04-19T15:26:11.199605
2021-04-30T10:16:10
2021-04-30T10:16:10
362,107,098
0
0
null
null
null
null
UTF-8
Python
false
false
3,115
py
from flask import Flask, render_template from flask import flash from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from Towns import Town from UK_Town_Distance import Town_Distances from operator import attrgetter from Form import LoginForm1, LoginForm2, LoginForm3, LoginForm4 from co...
[ "noreply@github.com" ]
TMead21.noreply@github.com
8ce2ecfdd203f94cdf0f48b69d85027b44bb56b9
d4fb3837eab6caf7045c20f771ff2a2c03119ac4
/ProgBasics_1_2_3/dojo.py
2916739b81e6f00647cf0f5efed672b828092142
[]
no_license
wojciechGaudnik/InteliJ_MAC
de0d6b81af107318c3c2e6c819d98a663485c5fc
987ef2b50ab71049bea9b3728df068a078375de8
refs/heads/master
2023-08-19T08:14:32.587728
2021-09-27T06:14:16
2021-09-27T06:14:16
392,652,890
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
# min(), max(), sum(), sort(), sorted() etc numbers = [-5, 23, 0, -9, 12, 99, 105, -43] numbers = [-5, 23, 0, "dupa", -9, 12, 99, [2, 44, -100, 200, [-200, "dupa2", 300]], None, 105, -43, 1.1] def min1(lista): i_buf = lista[0] for i in lista: if (type(i) == int or type(i) == float) and i_buf > i: i_buf = i i...
[ "wojciech.gaudnik@gmail.com" ]
wojciech.gaudnik@gmail.com
85a137fcddefdf19e9d0e91990275af3b1242bb8
e079a9f0e360ed3d06056faeb23e094237085ab9
/PieceView/wsgi.py
9d3b4c9f284bfb786a7b0b4b5dab6e323616ecad
[ "MIT" ]
permissive
David-Duefrene/PieceView
3c176e5859dd449e4be84012cd013f0f1febe4a8
028f40fa5e87fa7e167722b0f08591b13db34411
refs/heads/master
2023-04-06T15:26:02.924499
2020-08-19T12:22:07
2020-08-19T12:22:07
225,019,294
1
0
MIT
2023-03-29T19:28:43
2019-11-30T13:49:45
JavaScript
UTF-8
Python
false
false
466
py
""" WSGI config for PieceView 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/2.2/howto/deployment/wsgi/ ### urls.py ### Copyright 2019 David J Duefrene, All rights reserved. """ import os from django.c...
[ "fortismilite@gmail.com" ]
fortismilite@gmail.com
230cc44a01501e165e0c52465d919cfe34dcf403
625dff5531fc1fdf2de6f712a0f63e708ba46444
/webcrawler/webcrawler.py
d02d2375017489729c89df48b064edd3fb75d997
[]
no_license
brunoabia/devdojo_machinelearning
0ec38d7c7d0e76e3c392540ef9712afa7513e18d
3499ab0b642dac8b6824f0d2b014947ccbe74b83
refs/heads/master
2021-04-03T06:41:44.630090
2016-06-24T01:23:45
2016-06-24T01:23:45
61,846,726
10
4
null
null
null
null
UTF-8
Python
false
false
1,397
py
import tweepy import csv import time # CHAVES DE ACESSO FORNECIDAS NO SITE DO TWITTER consumer_key = "" consumer_secret = "" access_token = "" access_token_secret = "" # bruno.abia@gmail.com # Autenticando o acesso auth = tweepy.OAuthHandler(consumer_key,consumer_secret) auth.set_access_token(access_token,access_...
[ "bruno.abia@gmail.com" ]
bruno.abia@gmail.com
ddd511b7dc783c12cde406a6e8498fad7324cc38
bcd82f3398b4a6ea22b1b871e8a36e8162e0a0de
/chapter_14/simple_client.py
8a19e2a58d44d8961dfef3d3613cebee737c23e7
[]
no_license
VersionBeathon/Python_learning
a7ffc16ed53caa70f564e2185500a0cfbbe522ed
17959ee44d00b4e64902e89246eddfdd8479c575
refs/heads/master
2018-01-08T10:39:48.613653
2016-05-03T02:12:19
2016-05-03T02:12:19
49,426,286
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
# _*_ coding:utf-8 _*_ import socket s = socket.socket() host = socket.gethostname() # 获取主机名 port = 1234 # 定义接口 s.connect((host, port)) # 使用connect方法连接到服务器 print s.recv(1024) # 调用recv来接收数据
[ "songmingyang@51jk.com" ]
songmingyang@51jk.com
d17689f91e16375d9deb6d3927d2cf21e870fedf
38e5089e01fadde6040b1015fafcc585da262a15
/ReverseString.py
187fa88bebb540de1b4c14018bd65b9a8c66e841
[]
no_license
ManishShiwlani/WallBreakers-Cohort5
3b0029d2f0160c9fefd2131a9b7afbbf11701341
92c809221c3388c9627a7679d2e9ed89678ca075
refs/heads/master
2021-01-03T15:13:15.275912
2020-02-27T00:46:06
2020-02-27T00:46:06
240,126,720
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
class Solution: def reverseString(self, s: List[str]) -> None: left = 0 right = len(s) - 1 # condition for termination while (left < right): temp = s[left] s[left] = s[right] s[right] = temp # updating pointers left += 1 ...
[ "manishshiwlani@gmail.com" ]
manishshiwlani@gmail.com
dda912d12c5e8b8ac840b6bcf9abfd56a67b6a38
bc67563f9a0fdcc6ab827ae7797612d7716d6ae3
/tests/rift_expect_session.py
4e890ccb7a489827aee17a76b977f50663f68b20
[ "Apache-2.0" ]
permissive
jefftant/rift-python
96202b607b5381b5a5bc4728879ac419ee6e5a4f
d8f6bbdbe82199c9d89255f7d3957f1d070a3763
refs/heads/master
2020-03-27T11:53:21.701263
2018-08-17T00:13:18
2018-08-17T00:13:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,791
py
import os import time import traceback import pexpect import pytest class RiftExpectSession: start_converge_secs = 10.0 # Maximum amount of time to fully reconverge after a uni-directional interface failure # If node1 can still send to node2, but node1 cannot receive from node2: # - It takes up to 3 ...
[ "brunorijsman@gmail.com" ]
brunorijsman@gmail.com
945f36dab7417d267090cb6db74296cae27e5b29
f5043ce6204500b264e8933b833aa8c41fab574a
/cochev112.py
f360c5ba28c817490581a362616168f92bfe9e03
[]
no_license
pulgares/coche
47723c43fd5a22537c4425ec12de8c81f387ac0a
d43f5036f36d9271e0cfe3c24f041cdbdebffa84
refs/heads/master
2021-01-21T13:30:08.908367
2016-04-19T18:40:56
2016-04-19T18:40:56
45,938,787
0
0
null
null
null
null
UTF-8
Python
false
false
10,873
py
#!/usr/bin/env python import serial import Tkinter as tk from Tkinter import * from time import sleep import ttk try: arduino = serial.Serial( 'COM7', 9600 ) except: print "Cannot conect to the port" def Luzposicionon(): arduino.write('b') print "Posicion on" def Luzposicionoff(): ...
[ "prusai3@pipo.es" ]
prusai3@pipo.es
ee1ce2bf57e0f7c08c5d867d980536478882b3b8
4e25aba778ed66c3d61c0faec1f987302ef5f27b
/tests/converters_tests/test_list_comp.py
52975d4111f98ffc65706af1020412ab9d45b93f
[]
no_license
giladbarnea/autosyntax-gui
1a2ebc504d2512061663a438d25b4dc16a068fca
50be537e2be5d74ca8ee0452e575e832b2d859bb
refs/heads/master
2020-03-21T09:19:27.751064
2018-06-23T10:59:15
2018-06-23T10:59:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,621
py
from . import get_expression def test_0(): assert get_expression('lcomp collection') == "[c for c in collection]" def test_1(): assert get_expression('my = lcomp collection') == "my = [c for c in collection]" def test_2(): assert get_expression('lcomp collections') == "[collection for collection in collections...
[ "gbetech@gmail.com" ]
gbetech@gmail.com
4944d7c91ada4191e1fa51e7d9d73006e0867e8a
7942b457c56662743a6128517f1ba7287a4e7504
/2018_UCPC_본선/BOJ15947_JH.py
e68fee881451ac3548f6dde117a1148c24b559c1
[]
no_license
JungJaeLee-JJ/Algorithmic-Problem-Solving
8fdaf772b54fc21f9f1af64db4bd0b28fc69c48e
814d771b8d31c0bb5e1600c72a970db79103e45f
refs/heads/master
2021-07-15T20:46:17.515870
2020-12-06T13:34:09
2020-12-06T13:34:09
231,224,644
0
1
null
2021-07-24T08:51:49
2020-01-01T14:14:32
C++
UTF-8
Python
false
false
434
py
import sys string = ["sukhwan", "baby", "sukhwan", "tu", "tu", "very", "cute", "tu", "tu", "in", "bed", "tu", "tu", "baby"] n = int(sys.stdin.readline()) quota = n // 14 n = n % 14 print(string[n], end="") if n % 4 == 3 and n < 12: if 2+quota < 5: print("ru" * (2+quota)) else : print("+ru*%d" %(2+quota)) if n...
[ "jihun.jeong219@gmail.com" ]
jihun.jeong219@gmail.com
c7378ea7cc43486c64b412f2fa77dbb3934d8bb1
a31ea008d1772776497307d565ba5072bee072f9
/manage.py
838b8322b996f06c4342863683d5ece10609c7a1
[]
no_license
MajjigaDeepak/Thirdplatform
540b77935ed266f239289fca94fd13130a8da52b
68ff134a37a650a5ff43829ea3f1f6fa1198410f
refs/heads/master
2016-09-13T16:54:33.516518
2016-05-04T14:27:51
2016-05-04T14:27:51
57,892,197
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Thirdplatform.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "m.deepakeee1@gmail.com" ]
m.deepakeee1@gmail.com
0692cba6db756dc2b4db105199a9246bfd56c262
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/kbn.py
79a097f2e1c35485021fbb608c2bd77d31403db3
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
13592df07bf2bcd3a00656af54e09f394e1361ef
3fbf0d11a9c08b37e8e72c1640d958678e035d11
/lesson09c/settings.py
07e938ce447a5ca456bf5b33f419675996203949
[]
no_license
SMThorpe/lesson09c
a7e65ddbc287db4f9a8a09b8ec4a15aab6c01eb9
785bba277d3625962347eae8464a39230dc1577f
refs/heads/master
2020-06-03T04:48:33.491258
2015-01-29T15:14:00
2015-01-29T15:14:00
30,025,317
0
0
null
null
null
null
UTF-8
Python
false
false
2,051
py
""" Django settings for lesson09c project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) ...
[ "x61714@USMANBUX61714.usma.ds.army.edu" ]
x61714@USMANBUX61714.usma.ds.army.edu
19acf460308d2ae73030a7feddd6223d4eccf4df
9a216260e3c3ba9c73f3cbad0b16c3bb4cd3b622
/imGcode/env_imGcode/Lib/site-packages/matplotlib/widgets.py
ba0168e48a17ef7e1a2693bce40a0463b1681587
[ "Apache-2.0" ]
permissive
vidmo91/imgcode
a214348650e349b81cc9c43c4f92e17d9f791875
7c8d0b6f01af4d96e70b9afb1bbb1e7b72603c3c
refs/heads/master
2023-07-19T17:00:44.757756
2020-07-27T15:07:44
2020-07-27T15:07:44
171,950,671
16
7
Apache-2.0
2023-07-06T21:33:35
2019-02-21T21:48:50
Python
UTF-8
Python
false
false
93,160
py
""" GUI neutral widgets =================== Widgets that are designed to work for any of the GUI backends. All of these widgets require you to predefine a `matplotlib.axes.Axes` instance and pass that as the first parameter. Matplotlib doesn't try to be too smart with respect to layout -- you will have to figure out ...
[ "mateuszwidomski@gmail.com" ]
mateuszwidomski@gmail.com
77f3ff8130c26af341c8b729917f9e72a76f9efd
d5481fc03a8b243312e5bcf67d44f6c7788a7081
/lab3/worker.py
d9356f7a9b79595fd64fea777a435f21889fb8b5
[]
no_license
yklym/databases-2
c2bea85f209cf4e2cb08517e335d43840674196f
af0304cb2fd3eeef34306e4d41f60d18f547008e
refs/heads/main
2023-05-22T07:59:20.097891
2021-06-11T21:11:37
2021-06-11T21:11:37
336,562,906
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
from repositories.message import MessageRepository from random import randint from time import sleep from threading import Thread from services.subscription_listener import MessagesListener DELAY = randint(0, 2) class MessageWorker(Thread): def __init__(self): Thread.__init__(self) pass def ...
[ "yaroslav.klymenko@binary-studio.com" ]
yaroslav.klymenko@binary-studio.com
932b625e63adad142bdca9e8c62eab580df0d5a7
e780771189d3f64cddc667eaa87edbc0f10bdce4
/fit_mle_GenericLikelihoodModel_1vM1U.py
578e291a476c5b65cc2988cb6576280f74e928ca
[]
no_license
dfafalis/fiberDirectionality
fa442a1bb97910866a2260ef728e9890c616da6e
72289b23a2fb6d0dd32bf5c717ef86101aed3781
refs/heads/master
2021-04-26T23:20:02.914896
2018-11-16T19:44:59
2018-11-16T19:44:59
123,973,841
0
0
null
2018-03-05T20:34:35
2018-03-05T20:21:07
null
UTF-8
Python
false
false
5,033
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Mar 30 16:49:27 2018 Author Dimitrios Fafalis This code makes use of the "GenericLikelihoodModel" subclass of the package statsmodels, to fit random variables to a mixture model of one von Mises on the CIRCLE and one Uniform distribution. ...
[ "df2472@columbia.edu" ]
df2472@columbia.edu
2b6425f91d7aec07d2685823ee370f4750527c55
f74ea6792ea917a420c68eb7a81ef76e5cad6fac
/image_synthesis/image_utils.py
ab60dbf80e5ed2b86087758be1f33ce44643d661
[ "MIT" ]
permissive
xcyan/eccv18_mtvae
aebb91d4f1348375df10089562fc7fe530ff8ed8
2b72bdcd09c004af89cbbaf30bad38d2ebae1706
refs/heads/master
2021-11-20T15:21:34.972804
2021-06-22T15:08:26
2021-06-22T15:08:26
143,248,197
40
9
null
null
null
null
UTF-8
Python
false
false
6,490
py
# import imageio import random import math import cv2 import time import numpy as np import scipy.io as sio import scipy.misc as sm from os import listdir, makedirs, system def transform(X): return X / 127.5 - 1 def inverse_transform(X): return (X + 1.) / 2. def save_images(images, size, image_path, bw=False,...
[ "xcyan@umich.edu" ]
xcyan@umich.edu
8ebe82f6ab5430aae3b027ac9ee2cf298c21c342
dd2a441ec546dae92c30fead82a62d6e2a71f0a4
/unitedcp/tests.py
fb9ce907a89e73b2a427e263e9baa73e6c3fd1c4
[ "MIT" ]
permissive
sctnightcore/united_cp
5e7a400900c7bf13c1ac2d82c19bb042ed5b48c5
57483485510ad899bddf81c4f197921e76c9f990
refs/heads/master
2020-03-15T12:39:48.267403
2018-05-04T14:06:15
2018-05-04T14:06:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
from django.test import TestCase from django.contrib.auth.models import User from unitedcp.models import UserProfile class RegisterTest(TestCase): def setUp(self): User.objects.create_user('tata12', 'tata@mail.ru', 'tata@11') def user_profile_created(self): user_profile = UserProfile.object...
[ "inspectahdeck227@gmail.com" ]
inspectahdeck227@gmail.com
05afa838fd50081e3b4f888e158897e0839c85ea
1498148e5d0af365cd7fd16197174174a7fa9800
/leetcode/t000541_3.py
284c9438e5ddf2ebc47b40712ca7845597fd8dc0
[]
no_license
feiyanshiren/myAcm
59a2b80fe7e02787defcb152eee3eae26135322a
00c7082d5143ddf87aeeafbdb6ce29da46dc8a12
refs/heads/master
2023-09-01T12:12:19.866447
2023-09-01T09:09:56
2023-09-01T09:09:56
148,560,672
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
class Solution: def reverseStr(self, s: str, k: int) -> str: left, mid, right = 0, k, 2 * k # 初始化左中右指针 res = '' # 初始化结果字符串 while len(res) < len(s): # 满足条件时执行 res += s[left:mid][::-1] + s[mid:right...
[ "feiyanshiren@163.com" ]
feiyanshiren@163.com
1a05df6b26d23688de3811c69b175a0dcb75ceae
85e867a8be7af4926b2defd4a58dcced0678090f
/pergunte/migrations/0010_materia_materiaativa.py
2fd6b93a170dc893c1f33feeafdcf2b63f5cf305
[]
no_license
marcelodeolive1ra/pergunte_backend
3c6f5106c547f0539fb60ae41284659d7a0c9a96
296b9dbe1d58232a9806679182200a9fd3d1600c
refs/heads/master
2021-01-12T06:35:05.700230
2017-02-14T04:53:30
2017-02-14T04:53:30
77,385,476
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-17 13:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pergunte', '0009_materia_turma'), ] operations = [ migrations.AddField( ...
[ "marcelodeoliveira@outlook.com" ]
marcelodeoliveira@outlook.com
b9fa1c5775b9675a5d28f1c5da1a30ee4d3abf75
c503df9921554e337f4a1ea7f5e7dae18a40061d
/inherit.py
6d32e4636f2ac17e73ced7eabe46e9d53f26f119
[]
no_license
alvo254/tutorial
b6621a154b8a431e9fc954bf2038c3e9dad3dc0f
8193a421c7ffe6071a75bff3a979d26b53e12db4
refs/heads/master
2020-12-20T08:25:48.117590
2020-01-24T17:11:47
2020-01-24T17:11:47
236,014,718
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
"""In inheritance there are two types superclass and subclass""" class Polygon: __width = None __height = None def set_value(self, width, height): self.__width = width self.__height = height def get_width(self): return self.__width def get_height(self): return se...
[ "alvo@localhost.localdomain" ]
alvo@localhost.localdomain
c5bb56e9200cc3034c7b2b30adef7b1f45a7bd73
e1deed5bb2046e96b0fd2deb3a18148897f6c59f
/AST/expressions/plus_exp.py
d9d1d9837f9252f0106b85cdb758c192deaa4869
[]
no_license
Marcin-Szadkowski/JFTT-kompilator
3879272157d42eddff2d4020799df56c36136e25
525364a03b2d3c7ae46a3b15145c2a055ef4bcfa
refs/heads/master
2023-03-20T21:47:15.729067
2021-03-09T10:22:23
2021-03-09T10:22:23
330,029,547
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
from compiler.reg_manager import RegManager from .expression import Expression from compiler.asm import Asm class PlusExp(Expression): """value + value""" def compile(self, code, reg): self.left.compile(code, reg) right_reg = RegManager.get_free_register() self.right.compile(code, righ...
[ "marcinsz9045@gmail.com" ]
marcinsz9045@gmail.com
59501bc606dc946ce671b27b303db0ac3819f2ba
c8784310bea874acfce51a2ad0044ed25c7a060e
/convert_to_gaussian/cityscapes/cityscapesscripts/evaluation/instances2dict_with_polygons.py
10604b934269b3df446cd566c2990b9fc24e626a
[]
no_license
pesong/gaussian_data_api
3d0e2f2216a36a8f5c352634b6155c8c12bfbbba
2d0e73869ed1c4b74caf5ad4b7a28061036128ca
refs/heads/master
2020-03-25T19:42:11.794607
2019-05-08T07:32:12
2019-05-08T07:32:12
144,095,792
0
0
null
null
null
null
UTF-8
Python
false
false
2,178
py
#!/usr/bin/python # # Convert instances from png files to a dictionary # from __future__ import print_function import os, sys # Cityscapes imports from .instance import * sys.path.append( os.path.normpath( os.path.join( os.path.dirname( __file__ ) , '..' , 'helpers' ) ) ) from ..helpers.csHelpers import * import cv2 ...
[ "codeturbo@gmail.com" ]
codeturbo@gmail.com
a856a25d02c587188645a0940e1fcdb5e5fc7249
e4bd0ea58de9c4a7161e05244619a52689702952
/morph.py
e67440c1d49feb9df352c1786973813f354a7158
[]
no_license
mfaruqui/word-clustering
e787fba466dd12567483b3b89e039f372889a976
3165d047914a4db74fd8798e4723ebea83e57628
refs/heads/master
2021-01-19T06:18:33.628251
2013-03-20T18:33:26
2013-03-20T18:33:26
5,985,053
4
2
null
null
null
null
UTF-8
Python
false
false
8,135
py
import numpypy import numpy as np from math import log from collections import Counter from operator import itemgetter import sys class Morphology: def __init__(self, lang, morphWeight): self.transMat = None self.priorMat = None self.charSet = {} self.biCharSet = {} ...
[ "manaalfar@gmail.com" ]
manaalfar@gmail.com
ffb94808eb3bba39e0fc72eaf9e5277f911b9535
ac6fa3f540ba2e6ca3dd6141ca74775c0ae37900
/src/proto/metaDb/views.py
008039b013c1dbfbd3f8bb8eb59c0d573fd74364
[]
no_license
DarioGT/ProtoDict
c07927d9db20ac9ff03a6ad24be6e38802292f0e
68fc3382a5bc486f6ff875327ec4e227a7a0da7c
refs/heads/master
2016-09-05T14:36:35.094321
2011-11-27T06:26:17
2011-11-27T06:26:17
2,438,880
0
0
null
null
null
null
UTF-8
Python
false
false
3,996
py
# -*- encoding: UTF-8 -*- # import sys from django.db import models from django.contrib.auth.models import User from django import forms from django.http import HttpResponse, HttpResponseRedirect from django.template import Context from django.template import RequestContext from django.template.loade...
[ "dariogomezt@gmail.com" ]
dariogomezt@gmail.com
ca6fc80953c92152ef10dbcf1d8f13d0f2c2bb13
e74e0f6fbf0ea8dd438a75ee22f757e4cbde4aee
/webAutoTestTPshop/run_suite.py
d91aa477813039fe179f6dd1b70d5afe0ee82f18
[]
no_license
hgbanlen/-2021
c3f67d8906a371cfee5daf5b73ba74f4dfbd0351
1d9c35fdd7bcde6b91f9fdb81bd07856824da8c6
refs/heads/main
2023-03-23T05:04:23.651609
2021-03-06T10:05:27
2021-03-06T10:05:27
345,060,449
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
""" 测试套件(程序入口) """
[ "hgbanlen45@126.com" ]
hgbanlen45@126.com
65e38637619fc5b209bdf8b5a66ebb43a5e18161
675839e604f82ab7c9edacf84ecc8c62a6acaefb
/v170117/RL4MT/core/optim.py
74a7b2923e86cfa636d95494fab167d8725d74da
[]
no_license
joelau94/RL4MT
3546c299975e3dda6258bee6ca33fb7b7b45cf9e
f3a102df45871e195f32c30232a12be5ec5f3526
refs/heads/master
2021-09-01T11:19:54.476147
2017-12-26T17:39:43
2017-12-26T17:39:43
115,440,618
0
0
null
null
null
null
UTF-8
Python
false
false
3,833
py
import numpy as np import theano import theano.tensor as TT from RL4MT.core.utils import * class Optimizer(object): def __init__(self, name=None): self.name = name class SGD(Optimizer): def __init__(self, inputs, costs, params, learning_rate, clipping, name=None): self.name = name self.params = params se...
[ "joelau94@gmail.com" ]
joelau94@gmail.com
258cdb81f0675756c518f9e9b4b3fa9b36ef89db
d7f0695df6b7a4c9a4264f8b9743c0681ac67638
/WebCafeteria/blog/admin.py
be3be9b904cca4f138fcef1abfcb5f95224ca7d9
[ "Apache-2.0" ]
permissive
CristianAAT/web-cafeteria
69767b3fc3188fba09613fce3fa708745fde4460
1ac0a53a1ffba497b56b9668aa771e881a64a8e4
refs/heads/master
2023-05-25T16:15:37.857455
2023-05-15T20:05:25
2023-05-15T20:05:25
271,836,421
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
from django.contrib import admin from blog.models import Category, Post # Register your models here. class CategoryAdmin(admin.ModelAdmin): readonly_fields = ('created', 'updated') class PostAdmin(admin.ModelAdmin): readonly_fields = ('created', 'updated') list_display = ('title', 'author', 'published', '...
[ "=" ]
=
d7571f085e8d00b48c44e09eaf9bc0b8aba233ab
70e970ce9ec131449b0888388f65f0bb55f098cd
/SignalMC/python/pythia8/AMSB_gluinoToChargino_M-2200GeV_M-600GeV_CTau-10cm_TuneCP5_13TeV_pythia8_cff.py
ee3228ed082aa7a85fedf134f345b0aaa2edc422
[]
no_license
OSU-CMS/DisappTrks
53b790cc05cc8fe3a9f7fbd097284c5663e1421d
1d1c076863a9f8dbd3f0c077d5821a8333fc5196
refs/heads/master
2023-09-03T15:10:16.269126
2023-05-25T18:37:40
2023-05-25T18:37:40
13,272,469
5
12
null
2023-09-13T12:15:49
2013-10-02T13:58:51
Python
UTF-8
Python
false
false
8,098
py
COM_ENERGY = 13000. MGLU = 2200 # GeV MCHI = 600 # GeV CTAU = 100 # mm CROSS_SECTION = 0.000356 # pb SLHA_TABLE=""" # ISAJET SUSY parameters in SUSY Les Houches Accord 2 format # Created by ISALHA 2.0 Last revision: C. Balazs 21 Apr 2009 Block SPINFO # Program information 1 ISASUGRA from ISAJET #...
[ "ahart@cern.ch" ]
ahart@cern.ch
9083a8a566ce6c7788d0215d62ac233f938951c1
ec3f9f1b1327ec8a69bd2fc056cdb2dbf7c243d3
/week_6/6.7.py
d704de0dc6dfdf9fbeb992db37312e1e65364891
[]
no_license
WhiteFeniks/Python_Cursera
e5d7e04c40eb586a9763f38de55c88cfb77318a4
0dbb85f0a225e7152599bbea75e1637d8f4dd04c
refs/heads/master
2022-11-15T22:39:35.663524
2020-07-11T16:55:39
2020-07-11T16:55:39
278,734,455
1
0
null
null
null
null
UTF-8
Python
false
false
383
py
import operator f_w = open('output.txt', 'w', encoding='utf8') with open('input.txt', 'r', encoding='utf8') as f_r: nums = f_r.read().splitlines()[1:] test_list = nums res = [tuple(map(str, sub.split(' '))) for sub in nums] res.sort(key=lambda x: int(x[1]), reverse=True) i = 0 while i < len(res): print(res[...
[ "macbookair@White-Fang-Mac.local" ]
macbookair@White-Fang-Mac.local
0a35eb5cceb4325b5bb86debed96c19bfa21b2eb
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5652388522229760_1/Python/LeoChen/PromblemA_Counting_Sheep.py
20d91b7daf0f04c4c1679635bf89afbd34320e90
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,849
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 8 06:29:02 2015 @author: chenchen """ #run: python PromblemA_Counting_Sheep.py file_in > file_out import sys f_name = sys.argv[1] w_name = sys.argv[3] print sys.argv #define the solution class class CountSheep(): def __init__(self,n): self.__start_number = ...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
0b80497296886daa6a7a0562b3901bc3f70e3ca6
dd666164758ab8ec71ae883236b313bade7f64ab
/src/c4-6/nest-list-c3.py
896e61b9b0f87ad185b297a87d2d82bc4fa75b68
[]
no_license
tosgit1989/pythstudy
331d8ed3b93248dd0a8541c68992e535375d1cd0
2e8f2638846183c434d383feb0c02c1388da303d
refs/heads/master
2020-06-18T12:01:26.295645
2017-01-07T00:15:09
2017-01-07T00:15:09
75,139,071
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
base = [1, 2, 3] result = [ (x, y) for x in base for y in base if x != y ] print(result)
[ "purannaa1989@gmail.com" ]
purannaa1989@gmail.com
dc2b5c2ff2efb43458f0026c5020edbff67c793d
066c9798fa9bca9473808152c525443bf1dfa610
/bfs.py
b6871f37441c85f3c317a2ea3e818626fae7c6a0
[]
no_license
ashish0707/basic_webcrawler
99d118eb4af4196cbd3c842128b7626a400408ee
5f9f2a930607802f28bb329015fa6c8fdbd9372a
refs/heads/master
2021-01-10T23:12:00.976585
2016-12-15T05:38:51
2016-12-15T05:38:51
70,636,072
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
from Searcher import Searcher class BFS(Searcher): name = '2.A_bfs.txt' def merge_list(self, list1, list2): list1 = list1 + list2 return list1
[ "saashaa0707@gmail.com" ]
saashaa0707@gmail.com
708b6ac5770facb72594d5672b90b036c027164f
7e69d3204619ca539e84af7d7da9b45d41760383
/DataLoader/ImbalanceCifar.py
94acca1550da79e527bb5ca74ce42d69fa8b89b2
[]
no_license
CoffeeCatt/Pytorch-Code-Snippet
ac6475e7b1707e81f9962b2484d409c644db50a9
5bc752212043b19628f54d674cd02dd600715a26
refs/heads/main
2023-06-26T21:46:56.250526
2021-07-29T18:04:16
2021-07-29T18:04:16
390,800,785
0
0
null
null
null
null
UTF-8
Python
false
false
2,928
py
import torch import torchvision import torchvision.transforms as transforms import numpy as np class IMBALANCECIFAR10(torchvision.datasets.CIFAR10): cls_num = 10 def __init__(self, root, imb_type='exp', imb_factor=0.01, rand_number=0, train=True, transform=None, target_transform=None, ...
[ "noreply@github.com" ]
CoffeeCatt.noreply@github.com
4471091d4589d819e31f2d4fadfc1864059dd955
5826560b3680c25dc72ee9ad6c70ce808484f05c
/.pycharm_helpers/python_stubs/cache/bbe9cdf40be5fc89fec7c7e8fe7f757f3cd30c63b3e6c0e2af3b4c8f99eaf30b/_lsprof.py
b217b871a4e9ba0722ced166fb29ac963a450be4
[]
no_license
yangzsc/Pancake_test
c98e8caacd1e82c80fdfeb1e94fbf84783100864
22bd0bbcdbd04dc4201057696eaeaf27117e1dcc
refs/heads/master
2020-12-27T18:46:15.112829
2020-02-29T03:57:18
2020-02-29T03:57:18
238,009,308
0
0
null
null
null
null
UTF-8
Python
false
false
6,025
py
# encoding: utf-8 # module _lsprof # from /usr/lib/python3.6/lib-dynload/_lsprof.cpython-36m-x86_64-linux-gnu.so # by generator 1.147 """ Fast profiler """ # no imports # no functions # classes class Profiler(object): """ Profiler(timer=None, timeunit=None, subcalls=True, builtins=True) Builds a ...
[ "zhaoshuchen2018@gmail.com" ]
zhaoshuchen2018@gmail.com
077045edcf59aa7ef113bd1399cbe9bd53983c6c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03545/s422953786.py
4b254d999870e05b7d54322e2f1ab097c008b7a3
[]
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
413
py
def operation(a,ops): ans = a[0] for i in range(3): if ops[i]=='+': ans += a[i+1] else: ans -= a[i+1] return ans s = list(input()) a = [int(i) for i in s] op = ['+','-'] for i in range(1<<3): ops = [op[1&(i>>j)] for j in range(3)] if operation(a,ops)==7: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
394aa06e303e9a3f66b8704e72eb6643cca902d9
fd9146d123bc208967dae58116e0c6826a022b14
/test.py
82b7f57aa2ad03f152a50a6f9e9080dd84923aeb
[]
no_license
TaseerH/Python-DB-Practice
8c51f63367e4ae4a67509a166824fb0814f6942c
076eba31b18753e0091178d549f7a2ab124a399e
refs/heads/main
2023-07-21T12:27:08.467436
2021-08-23T09:44:28
2021-08-23T09:44:28
394,566,019
0
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
from sqlalchemy import create_engine import mysql.connector import pandas as pd import matplotlib.pyplot as plt import numpy as np #db_connection_str = 'mysql+pymysql://root:@localhost:3307/movies1' mydb = mysql.connector.connect(host= 'localhost', user= 'root', ...
[ "73301847+TaseerH@users.noreply.github.com" ]
73301847+TaseerH@users.noreply.github.com
40544f9a4149ed4de40111270434f7a75411b62c
6d08a33780364ef81a4d5d7889546495aeaa0375
/usuario/models.py
b22e84a2440807707cefce63196afddf7408ac95
[]
no_license
DevHoodChiquinquira/AsdicalSAS
5e7ec4e7c39cfaf49fa2834e598640cd13eda8b7
2516c432a08b7e1f8e1672966c1bc4cdcc3ecf72
refs/heads/master
2021-05-07T16:32:20.280790
2018-03-13T23:22:16
2018-03-13T23:22:16
108,570,787
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import User from phonenumber_field.modelfields import PhoneNumberField # Create your models here. class Perfil(models.Model): numeroDocumento = models.CharField(max_length=15, unique=True, ...
[ "romarovin11@gmail.com" ]
romarovin11@gmail.com
1ad4295854a4e9a16f126f62d4b03887d6619a89
dc7d8521472189945d4d7afb8b65319683453f74
/Instacopy/Instacopy/urls.py
460c6935811c45def4c3e0d13f242e3279194793
[]
no_license
rohanraarora/Instacopy
fdcbcdf20f6ca830981fe3e76bf0a2c25cbd2306
c8dadfe635dc87fd4a574f9edf2cb8b5edd53207
refs/heads/master
2020-06-02T06:19:41.541082
2016-12-10T19:46:51
2016-12-10T19:46:51
39,625,770
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
"""Instacopy URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "rohanraarora@gmail.com" ]
rohanraarora@gmail.com
b771191e3d536e036c6705fd9ea3ce57b4d3db46
10f620f96fb5876c9dfd88cbe99897b06489dae9
/you/vlc.py
9ae7f6e44149a198b67acc579f1c39c12e1170ed
[]
no_license
diegocrzt/you
f7a320a35ec49dfae9d02f584a3215e0e85ec5dc
e613a8009f01be2ca2013ea823c8754ad2809859
refs/heads/master
2020-02-26T14:11:00.236002
2014-02-14T20:48:19
2014-02-14T20:48:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
256,209
py
#! /usr/bin/python # Python ctypes bindings for VLC # # Copyright (C) 2009-2012 the VideoLAN team # $Id: $ # # Authors: Olivier Aubert <olivier.aubert at liris.cnrs.fr> # Jean Brouwers <MrJean1 at gmail.com> # Geoff Salmon <geoff.salmon at gmail.com> # # This library is free software; you can redistr...
[ "dh@xix.org" ]
dh@xix.org
47512859c702be0adafb042dec3b9966bc0918d6
c9558831ad86603f0efc27b25b05706984a3338e
/add_string.py
06a2f819b52c286e75fcd061816f38d0282e85b7
[]
no_license
ygohil2350/infytq-Python_Fandamentals-
b7c3bcf3cfbfb9041fafe824454329d5ed3ecd96
82d69aecf479ea62139095f74cea56ed6f07989a
refs/heads/main
2023-03-26T04:19:26.405065
2021-03-19T08:01:27
2021-03-19T08:01:27
346,596,252
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
#lex_auth_0127135739583692801137 def add_string(str1): #start writing your code here length = len(str1) if length > 2: if str1[-3:] == 'ing': str1 += 'ly' else: str1 += 'ing' return str1 str1="com" print(add_string(str1))
[ "noreply@github.com" ]
ygohil2350.noreply@github.com
6e0bd2a7b073204b5855fcc552b1b35eba61c4aa
92fa526d5ca2e31f5908f17bb95c529b09ac9995
/Models/venv/bin/easy_install
1bbeee32f98b0e29d87d1b21f5b35ec837e06a94
[]
no_license
KevinLongkk/IFit
55e1f7f872dbdd28e23066c9b96465315061ca2a
438fbdbd63d7cf4059038623e2739fc0a860c26b
refs/heads/master
2020-03-21T02:08:49.538064
2018-06-20T04:53:56
2018-06-20T04:53:56
137,982,728
0
0
null
null
null
null
UTF-8
Python
false
false
427
#!/home/kevin/IFit/Models/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==28.8.0','console_scripts','easy_install' __requires__ = 'setuptools==28.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)?$', '', sys.argv[0...
[ "1247594945@qq.com" ]
1247594945@qq.com
6e5da171791c50723cfa6449c4572065bd55ecb0
96619fa4155335e98670a52fa94cf1ba3402de69
/Spider_Tanks.py
79a9854e2f38ce5744de6e937f9478e0ec9ef230
[]
no_license
Konstlang/Yandex_Pygame_Project
3e57d4b9b88bf8989180105108a5f45729345c45
e347f617042886abe6155af24408533e800b8870
refs/heads/master
2023-03-08T20:35:21.240717
2021-02-25T10:40:18
2021-02-25T10:40:18
342,208,734
0
0
null
null
null
null
UTF-8
Python
false
false
9,276
py
import pygame pygame.init() win = pygame.display.set_mode((500, 480)) pygame.display.set_caption("Spider_Tanks") image_loader = pygame.image.load walkRight = [image_loader('Player_1.0R.png'), image_loader('Player_1.1R.png'), image_loader('Player_1.2R.png'), image_loader('Player_1.3R.png')] walkLeft = [i...
[ "konstlang@gmail.com" ]
konstlang@gmail.com
c74cdcb4343ed06233a14d71ba0593c0f5429b86
ee21ac3f25a719d7bc04c14adf6ccd9d3354f69c
/ninth.py
b93836bbedf68f22f01baf28937d23d1aa07734c
[]
no_license
AnushaSatram/guvi
f145f7535133354b5f1f7735e3bb95ae09a3df09
8f73ba671a9f2bd3ef17f1fd40574f19a71cb62d
refs/heads/master
2020-06-15T00:17:34.065646
2019-07-23T14:46:32
2019-07-23T14:46:32
195,162,159
0
1
null
null
null
null
UTF-8
Python
false
false
161
py
lt=[] nun=int(input()) kin=int(input()) added=0 for a in range(nun): ssm=int(input()) lt.append(ssm) for d in range(0,kin): added=added+lt[d] print(added)
[ "noreply@github.com" ]
AnushaSatram.noreply@github.com
f7ad1f7ae4e202aef51426d06ced0698403c716e
c82b36298061a64b741a6ca93698e90ec430e1df
/Contents/Code/__init__.py
63903c5503007f2ec9d7142202b4d86c048e41c1
[]
no_license
plex-unofficial/Firefly-Media-Server.bundle
d984b9a7f262def5627f42a0d6b7721510492e91
494cb2413486619dbb37849cccbed430c75e1f45
refs/heads/master
2020-03-29T22:43:43.828605
2011-04-19T00:59:07
2011-04-19T00:59:07
1,633,434
0
0
null
null
null
null
UTF-8
Python
false
false
8,245
py
import re, string, os, socket from PMS import * from PMS.Objects import * from PMS.Shortcuts import * REQUIRED_TAGS = { "str":[ "dmap.itemname", "daap.songalbum", "daap.songartist", "daap.songgenre" ], "int":[ "daap.songcompilation", "daap.songdiscnumber", "daap.songsize", "daap.songtime", "daap.s...
[ "ryan@Mac-Pro.local" ]
ryan@Mac-Pro.local
6b1970ceea76c3cad3edb8e479f28e5abdca6d09
ef243d91a1826b490e935fa3f3e6c29c3cc547d0
/PyQt5/QtCore/QModelIndex.py
d9b013cff9817d045dc57732ff44a7728aa0723d
[]
no_license
VentiFang/Python_local_module
6b3d0b22399e817057dfd15d647a14bb1e41980e
c44f55379eca2818b29732c2815480ee755ae3fb
refs/heads/master
2020-11-29T11:24:54.932967
2019-12-25T12:57:14
2019-12-25T12:57:14
230,101,875
0
0
null
null
null
null
UTF-8
Python
false
false
3,319
py
# encoding: utf-8 # module PyQt5.QtCore # from F:\Python\Python36\lib\site-packages\PyQt5\QtCore.pyd # by generator 1.147 # no doc # imports import enum as __enum import sip as __sip class QModelIndex(__sip.simplewrapper): """ QModelIndex() QModelIndex(QModelIndex) QModelIndex(QPersistentModelIndex) ...
[ "5149528+ventifang@user.noreply.gitee.com" ]
5149528+ventifang@user.noreply.gitee.com
0b5e6a672d8db74b848555e5a59e928e5aa043e3
60da3d5a9c3957ddbaaf481fea19691f87d682b0
/frec/image.py
bb9fbb7a9a1cad9ac45b1b3772cd6d5fb512fec8
[]
no_license
heynemann/frec
59d46740ee86c7f3fc68fe0e0d14d98c043c8a31
bb23732f1c367f4c8167adeeefad93cc153851a2
refs/heads/master
2020-05-16T23:17:42.826305
2012-08-13T13:35:25
2012-08-13T13:35:25
4,644,976
1
0
null
null
null
null
UTF-8
Python
false
false
1,755
py
#!/usr/bin/python # -*- coding: utf-8 -*- # frec face recognition service # https://github.com/heynemann/frec # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license # Copyright (c) 2012 Bernardo Heynemann heynemann@gmail.com # code adapted from remotecv's image module # (http://github.com...
[ "heynemann@gmail.com" ]
heynemann@gmail.com
2e0e001960ba1f8f3bb725c5130f182b56c8df7a
2399b7fe82493359d19257b85baac4959214c641
/setup.py
a2ac0c1e05671a90bf95db90b7074e4addfaf3ec
[ "Apache-2.0" ]
permissive
bradder555/easy_arg_parse
80cd4a9ccac34a2491a4782ee02b81e7b38dd2d5
b56c586d8f76f00c0978868e1dba65b2af5e64ae
refs/heads/master
2021-01-11T17:07:34.371016
2017-01-23T12:56:24
2017-01-23T12:56:24
79,727,679
0
1
null
null
null
null
UTF-8
Python
false
false
495
py
from distutils.core import setup setup( name = 'easy_arg_parse', packages = ['easy_arg_parse'], version = '0.1', description = 'Returns a dict of the arguments and values, guesses datatypes', author = 'Bradley Phillips', author_email = 'brad.phillips@exemail.com.au', url = 'https://github.com/bra...
[ "brad.phillips@exemail.com.au" ]
brad.phillips@exemail.com.au
5d5477fbc6b6ee7ca326ea4d194bceb880852bd8
48ff999aabac44e14fabfc78fd55ebc04b3804ae
/homework8/Action.py
566457c3e6ac422b3859d18ed7d1885c364b8e7d
[]
no_license
stevenacalhoun/ai-homeworks
65907b50f5fdccddef3951c9a14387dce7e764ea
07adf770b5e417d4b20303ea13d58d3507a72fdd
refs/heads/master
2021-03-30T17:28:26.563401
2017-04-18T17:26:32
2017-04-18T17:26:32
78,664,594
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
import sys class Action: actionValue = -1 def __init__(self, value=None): if value != None: self.actionValue = value
[ "stevenacalhoun@gmail.com" ]
stevenacalhoun@gmail.com
1824863c5831b3cc9aea20701a6eb2c9676f3cdc
c8d7c4ba5e949b0af2f5aa234c3ae594b1a49950
/Python接口自动化/GWE_test/common/scripts/parama.py
9745460a9442a29e9a2d5ebc140a385bf346c524
[]
no_license
chase001/chase_learning
00b7396a6775fb6e2fd80950f8acf3f1737b162e
c5ee2473e49923c781212eb3f9f50341c0bc80c8
refs/heads/master
2022-12-12T00:08:08.407671
2020-03-06T14:17:39
2020-03-06T14:17:39
221,268,073
0
0
null
2022-12-08T05:26:49
2019-11-12T16:56:34
Python
UTF-8
Python
false
false
2,985
py
# def bubbleSort(arr): # n = len(arr) # # # 遍历所有数组元素 # for i in range(n): # # # Last i elements are already in place # for j in range(0, n - i - 1): # # if arr[j] > arr[j + 1]: # arr[j], arr[j + 1] = arr[j + 1], arr[j] # # # arr = [64, 34, -20,25, 12, 22, 90,11] ...
[ "chenyuliang@globalegrow.com" ]
chenyuliang@globalegrow.com
b3c6a0714eb2f269e604dddc30b6309035ccebe1
dd493bc6b105eec60e07c80cdea2528365dc0600
/scrapers/fantasy_scraper.py
d5e665ce3feacaa538b2515041636dd43f4402ec
[]
no_license
Arhuan/superteam
717cd05f2ccf6468c4395ed670ef81bb3d05c6ff
81ee469146d2a7a005a2a0bf04cca67efe8500a1
refs/heads/master
2022-11-15T12:56:44.988217
2020-06-20T07:00:04
2020-06-20T07:00:04
267,916,055
1
1
null
null
null
null
UTF-8
Python
false
false
3,384
py
import json import pathlib import re from bs4 import BeautifulSoup from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.chrome.options import Options from selenium.webdriver.support import expected_conditions ...
[ "aaronhuangwork@gmail.com" ]
aaronhuangwork@gmail.com
6caaa6f1a44cbde4d6d152d045b2892ff6b3ffc1
f28cd1e2e8796fbb812be389cd529c6d07833d7d
/vendor/urls.py
0d102f28a5c2a014b1f7a241b7ae1d091606001c
[]
no_license
nn-nagar/Project_management
76f75098bcc50f64b949ad62f0a38c51e96953bb
9e9caf131d99044698d577017ffd777cbbc50301
refs/heads/main
2023-05-12T21:45:31.458093
2021-06-05T14:34:01
2021-06-05T14:34:01
374,134,185
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
"""vendor URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "narendra@verificient.com" ]
narendra@verificient.com
66af14b5202dcf4218d2741fd417060f218040aa
0afae00fa81305c0a5a335a524a3b4930a2d3fed
/inheritance 16.py
ad13ade3fabd0bad5bd2acf59fc4faba1ae939f8
[]
no_license
shubham22121998/python-oop
a116926e1a2b7b51d1b267e569fea642191ed0e9
9ddc1a23a84b1908d8fa3741b0dba1aaa3c0f424
refs/heads/master
2023-03-15T06:28:07.299469
2021-03-12T12:56:21
2021-03-12T12:56:21
347,065,846
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
#single inheritance class phone: def __init__(self,brand,price,color): self.brand=brand self.price=price self.color=color def buy(self): print("customer by the phone") def return_phone(self): print("customer return the phone") class smart_phone(phone): pass s=sma...
[ "shubhammorchhale204@gmail.com" ]
shubhammorchhale204@gmail.com
51237d14d1b60dd28aeb3adaef135d6a6afe2e83
a31695feb0cfd97610829510693c9c8759a845d7
/src/extract_forenames.py
2be56aeb5f8ee3026b664d9ca967e90a518297bd
[]
no_license
jsnajder/socmwe
79474149a7f6c82d8d262089515d224360695bdd
5ee594a1951e1d2ac460b7735ccc5c03221943b8
refs/heads/master
2021-01-20T19:05:56.516662
2016-08-24T06:17:18
2016-08-24T06:17:18
63,913,201
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
import sys import codecs def main(): fname = sys.argv[1] f = codecs.open(fname, encoding='utf8') d = {} for line in f: try: xs = line.split('\t') userid = xs[1] names = [s for s in xs[2].rstrip().split() if s.isalpha()] if len(names) <= 1 or len(names[...
[ "jan.snajder@fer.hr" ]
jan.snajder@fer.hr
0d8116be768c9d283aefa13c43d45fd131abb114
f71d67025b732e66e1a37c02c05392c3dd116d65
/vol/vol.0-3/vol_00/a059.py
7cf7b5e872d7c000f66f5664150d9f7b44424573
[]
no_license
clarinet758/aoj
2829f92137dd1a93734445e1e92513f8e3e0b5c0
21787ffee1a6dd60c717d7b880b63107187e4710
refs/heads/main
2023-06-25T12:04:40.127040
2023-06-19T16:36:38
2023-06-19T16:36:38
34,978,951
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- import time import sys import io import re import math import itertools import collections #sys.stdin=file('input.txt') #sys.stdout=file('output.txt','w') #10**9+7 mod=1000000007 #mod=1777777777 pi=3.141592653589 xy=[(1,0),(-1,0),(0,1),(0,-1)] bs=[(-1,-1),(-1,1),(1,1),(1,-1...
[ "clarinet758@gmail.com" ]
clarinet758@gmail.com
8bb6e6857e69710a41987e95615c5c3e4ef53fa8
008ffa5d2f7f519ef27bd53ec3003cf9170aa40a
/src/tools/utils.py
445f66da0d80e82068bce67722b0fc4342a6fa68
[ "BSD-3-Clause" ]
permissive
oist-cnru/VCBot
ada50b7b1cd77f83842d5e9551af8ec723f0c0f0
52edc41244659a4175e537575b3c4434da441998
refs/heads/master
2023-02-15T06:43:50.033259
2021-01-14T21:06:34
2021-01-14T21:06:34
276,042,234
2
0
null
null
null
null
UTF-8
Python
false
false
22,836
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ BSD 3-Clause License Copyright (c) 2020 Okinawa Institute of Science and Technology (OIST). All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
[ "hendryf@gmail.com" ]
hendryf@gmail.com
9703d7734b6c8cfc45c33b04bbc7ced4d80f58da
926621c29eb55046f9f59750db09bdb24ed3078e
/lib/surface/meta/render_markdown.py
a3a1b3c9051c98b815672f60f889d20ccfcdd062
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/SDK
525d9b29fb2e901aa79697c9dcdf5ddd852859ab
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
refs/heads/master
2022-11-22T18:24:13.464605
2016-05-18T16:53:30
2016-05-18T16:53:30
282,322,505
0
0
NOASSERTION
2020-07-24T21:52:25
2020-07-24T21:52:24
null
UTF-8
Python
false
false
1,267
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...
[ "richarddewalhalla@gmail.com" ]
richarddewalhalla@gmail.com
4cd4265cad19035feb5bf220096223233b1d0b58
ddb6e57f89baecd33eaf5313c8d6f83f64408097
/test.py
3f1ab868ab1602bd40ec28868d6541031f528881
[]
no_license
handesome/OPENCV
f182eef21e8da89a9ff206f454a959d634358411
f5bb5dd08f039e9794dcc38cf6fcafe8fdada964
refs/heads/main
2023-01-31T17:19:30.364424
2020-12-20T02:36:30
2020-12-20T02:36:30
322,884,011
2
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
""" opencv 基础入门 """ # 1. 环境搭配 ## win10 + python3.5/3.6 + opencv3.3/或者更高 + pycharm2017 ## pip install opencv-python ## pip install openc-contrib_python ## pip install pytesseract # 2. 课程内容与目标 ## opencv 图像读写模块 ## opencv 图像处理模块 ## opencv 各种编程技巧 ## 有用案例 ## Tesseract-OCR + opencv ## 解决项目中实际问题 # 创建窗口, 窗口可以调整大小...
[ "noreply@github.com" ]
handesome.noreply@github.com
ab7705221dcf015493c4a0f3bf3914fb49bfe4e6
9399332ae342cb445f1d627857f6a729852dc2e6
/stockExperiments/instances.py
aea7cb51c549f15a4cbe7ebe2d2b3e97580e36fa
[]
no_license
rhlobo/stockExperiments
9fd2eb711f24152a3433d760d33603c7c8d9ac31
dc39f5ac10c31f43162520bb9d8aa58225dfed02
refs/heads/master
2022-11-18T05:16:16.644617
2013-09-24T12:23:56
2013-09-24T12:23:56
5,346,188
4
2
null
2022-11-04T19:05:35
2012-08-08T19:14:02
Python
UTF-8
Python
false
false
96
py
# -*- coding: utf-8 -*- import bigtempo.core data_engine = bigtempo.core.DatasourceEngine()
[ "rhlobo+github@gmail.com" ]
rhlobo+github@gmail.com
e7c5a6940023090081ef2337e06aa152c7e3d894
8cfef2c907b332f4b9442702d8b5d057929275b6
/gen-readme.py
4bf7f09052f10bf4a5e6e157d8835f8141406e71
[ "CC-BY-4.0" ]
permissive
CipherHe/MarineHydromaster
da77506981b9474717d73a7811cd4ed922c194e1
f97e2f03cf8652919eff4f144e4d5921d88288f8
refs/heads/master
2020-12-24T15:05:35.137102
2015-05-09T16:35:48
2015-05-09T16:35:48
35,335,816
1
1
null
null
null
null
UTF-8
Python
false
false
1,433
py
#!/usr/bin/env python2 from glob import glob from urllib import quote import re header = ''' ## Aerodynamics-Hydrodynamics with Python "Aerodynamics-Hydrodynamics" (MAE 6226) is taught at the George Washington University by Prof. Lorena Barba for the first time in Spring 2014. These IPython Notebooks are being prepa...
[ "he_huimin@yahoo.com" ]
he_huimin@yahoo.com
35226f445ccc9b98390bbababafb794059653a52
79e66cea6612693d7a8e67aae6379d241e12bf4d
/basic/mimic.py
4814a5368cf2a1f9d623fbf335bf551e7f517bd9
[ "Apache-2.0" ]
permissive
floresgfelipeal/google-python-course
ec42de1cea061f73f30b3a1e4946234724742702
a8f681b6c40030f4e67f4b29d67b3d25832186f8
refs/heads/master
2020-07-19T12:39:31.008451
2019-09-05T02:24:30
2019-09-05T02:24:30
206,450,023
0
0
null
null
null
null
UTF-8
Python
false
false
2,684
py
#!/usr/bin/python -tt # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ """Mimic pyquick exercise -- optional extra exercise. Google's Python Class Read in the ...
[ "floresgfelipeal@gmail.com" ]
floresgfelipeal@gmail.com
994933abafed5a041b46978eb87f6ccb992ed10b
066e0b1e42f9e3c898f16b3f0cac401fd0f59b2a
/bye.py
1a6f5468159e1f1e7ce108ca62100219bd0749e7
[]
no_license
alexkassil/CircuitSimulator
98d2a1b3e9344b2e901c271b11c401f64b16a1c0
95c27a20154d36fac381a4f551d1404444eb1aa1
refs/heads/master
2021-08-30T19:57:21.734175
2017-12-19T07:41:19
2017-12-19T07:41:19
110,922,020
0
0
null
null
null
null
UTF-8
Python
false
false
3,403
py
def bye(): print(""" _ _ _ _ _____ _____ | | | | /\ | \ | || __ \ / ____| | |__| | / \ | \| || | | || (___ | __ | / /\ \ | . ` || | ...
[ "alexkassil@sbcglobal.net" ]
alexkassil@sbcglobal.net
420bc1b632fdf987b0488093fe043140f0cdea5f
46629ff6f29ff095ce42a3ff943f664055cb571e
/desafio91.py
a6b9c552e221bddbcd34d76a99b59f6afce1b6dd
[]
no_license
alex-gsantos/cursos_em_video
4640defb2a4467d0a76c09c62cc32354f14dd9be
7dbd75300c66789239d51d6f063a06ed28c11f0f
refs/heads/main
2023-06-23T11:11:57.627219
2021-07-09T19:13:59
2021-07-09T19:13:59
384,485,497
0
0
null
null
null
null
UTF-8
Python
false
false
1,609
py
''' Crie um programa onde 4 jogadores joguem um dado e tenham resultados aleatórios. Guarde esses resultados em um dicionario. No final, coloque esse dicionario em ordem, sabendo que o vencedor tirou o maior numero no dado. ''' import random lista = {} l_nome = list() l_num = list() n1 = 0 while n1 < 4: ...
[ "noreply@github.com" ]
alex-gsantos.noreply@github.com
ee5cf6ef026fe9f008bc6c85ef2e4492318ef9b4
2cc051c804f8b46c9e376de2f213c8721dd6c5bf
/eventlog/ext/feeds/instagram.py
4c707923ca28d96172d022559e48d107dd8457b0
[]
no_license
stevebirk/eventlog
96e665e1b5f882e57c24a1d9a58d6400fe3cd0b1
719a99133aabc4727ac810eb9d6988f48a965aeb
refs/heads/master
2021-06-18T18:03:57.532733
2021-03-04T02:46:35
2021-03-04T02:46:35
30,161,205
1
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
import datetime from eventlog.lib.feeds import Feed from eventlog.lib.events import Event, Fields class Instagram(Feed): def __init__(self, config, **kwargs): Feed.__init__(self, config, **kwargs) self.url = 'https://api.instagram.com/v1/users/self/media/recent' # OAuth self._C...
[ "stevebirk@gmail.com" ]
stevebirk@gmail.com
a25416f90ae3e05a24d5a1875ddb153609080649
d7eb6761760ad1a11e617d68d1b06de48c20744d
/bot.py
c4cf198789ebd3b89acad972dec641bc0a4a4cd1
[ "MIT" ]
permissive
Timidger/AutoWikiaBot
32b30a5bed5744a5965627a15a95fab8a9ec3cbd
0117afc509817be0e134851120cd9aa12f8b053b
refs/heads/master
2021-01-16T17:46:09.758094
2015-03-28T04:50:26
2015-03-28T04:50:26
31,488,820
0
0
null
null
null
null
UTF-8
Python
false
false
2,468
py
#! /usr/bin/env python3 import sys import praw import utils from wikia import wikia BOT = praw.Reddit("autowikiabot by /u/timidger at /r/autowikiabot") BOT.login("autowikiabot", "I lke JSON") # The sub reddit that the bot scans on, usually /r/all SUB_REDDIT = str(sys.argv[1]) # The template for the main header of th...
[ "APragmaticPlace@gmail.com" ]
APragmaticPlace@gmail.com
36ff1c0007eda9541b243ff82e0b44688245125d
e6bbb4b0930c7d5fa28de6562e8f881ec1715129
/Problem Set 3/inverse_function.py
09d8d53690ab0aa663fd1b267a8041ca02fc9990
[]
no_license
LanQikun/Udacity-CS212
1ed2170eca8f6ade7d38f778265d67828bccdb1e
e5340f7c5e079155209414ea80b8de07abbce6f3
refs/heads/master
2021-06-07T06:45:00.870435
2021-02-02T10:32:17
2021-02-02T10:32:17
147,186,775
0
0
null
null
null
null
UTF-8
Python
false
false
2,101
py
# -------------- # User Instructions # # Write a function, inverse, which takes as input a monotonically # increasing (always increasing) function that is defined on the # non-negative numbers. The runtime of your program should be # proportional to the LOGARITHM of the input. You may want to # do some research into bi...
[ "lanqikun@hotmai.com" ]
lanqikun@hotmai.com
8044405df35b03963cce1ff6f1ecad088d23825b
f82a567e59c16319d3282d162b052426dbe79b47
/yahootest/1.py
5a0db0307ae9291265f585450584fd44433bdd20
[]
no_license
mk668a/python_aoj
c399191c8f3f514590983e50e09680626841114a
a8394ee9f9fe8d80272209665afa5898fec921fd
refs/heads/master
2020-06-09T23:37:32.957497
2020-01-28T11:47:48
2020-01-28T11:47:48
193,528,013
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
A = list(map(int, input().split())) B = [] for a in A: if a != 0 and a not in B: B.append(a) print(*B)
[ "msftoaa@gmail.com" ]
msftoaa@gmail.com
bb6967f42e912a205b3fa4e6acc87a4de0e7e700
aae7b8484ef985a5b56feb28a9715cc8b2dde826
/app/urls.py
7e05ef62fb7493d513f833364b42cda9a7b30b85
[]
no_license
paligit/django
fa48cebcab60d119f632ca5d68d7037039d99484
cbd6b25d7bbfa5df40519ff2c37ebf01a52ce931
refs/heads/master
2016-09-06T11:26:50.754028
2015-03-25T22:01:47
2015-03-25T22:01:47
32,892,882
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns( url (r'^$/','app.views.crear',name="crearArticulo"), #url (r'^ventas/$','app.views.crear',name='crear'), # Examples: # ...
[ "pablo@debian.debian" ]
pablo@debian.debian
65335f45499cb075ed3818997d7b956fd726a8bf
b5169b07690f58741639ccafb1f2782c9e0bdb10
/Flask-RestPlus/app.py
929b51724d7e547fd9405944d0592981e8f51e65
[]
no_license
akeyi2018/FlaskStudy
d5b2085a9be8f524fb409648bc5165a60bdf1705
cc78a6167277c3dbefad6a144f3e75cc365f5d40
refs/heads/master
2023-07-10T01:34:40.564013
2023-06-27T09:19:48
2023-06-27T09:19:48
249,384,132
0
1
null
2023-05-01T22:15:38
2020-03-23T09:13:53
Python
UTF-8
Python
false
false
568
py
from flask import Flask, jsonify from flask_restx import Api, Resource, fields, model app = Flask(__name__) api = Api(app) a_language = api.model('Language', {'language' : fields.String('The language.')}) languages = [] python = {'language': 'Python'} languages.append(python) @app.route('/language') class Language(...
[ "akeyi2016@gmail.com" ]
akeyi2016@gmail.com
b9ef7a029f6dea3d4b4c85f87f8a68e71e3d9096
45ea532e3f3457cd3f5e1b3203287c07238157e9
/util/writer_util.py
af9bca69635912758edbcb552d0a392baa30ff93
[ "MIT" ]
permissive
EccRiley/DynamicPlacementGenerator
7f0e2f04eb418c3bf7ba997631be1aa59d2c7847
60c0e3f1892c702ae46db78a89ff5e64f472a1b7
refs/heads/master
2022-04-18T01:27:39.062874
2020-04-16T18:41:23
2020-04-16T18:41:23
260,022,209
1
0
MIT
2020-04-29T19:24:35
2020-04-29T19:24:35
null
UTF-8
Python
false
false
1,049
py
import csv def export_all_possible_removal_situations(engine_subtype, all_possible_removal_situations): with open(filepath, 'w') as file: writer = csv.writer(file) rows_to_write = [] for row in all_possible_removal_situations: rows_to_write.append(row) writer.writerows(rows_to_write) def export_all_possib...
[ "meredithmurfin@gmail.com" ]
meredithmurfin@gmail.com
61c97ccfb5080fc8c5285ff5fbfafae1b4b5d6e3
f1265dfe151d65fe0cc99159bc9db8e57785cc95
/devel/lib/python2.7/dist-packages/vrep_common/__init__.py
c95e2b0d85475339e97012f922e3e2dc0fca0c15
[]
no_license
rodrigogarces/catkin_ws
5679e0bcd88f0920409c989ea75b5a174b270e5e
df570450d57bfeb579495d1bb94837df2e72e150
refs/heads/master
2020-05-16T08:35:03.899207
2019-01-22T16:28:02
2019-01-22T16:28:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
/home/raphael/catkin_ws/devel/.private/vrep_common/lib/python2.7/dist-packages/vrep_common/__init__.py
[ "raphaelgoms@gmail.com" ]
raphaelgoms@gmail.com
b36e16cd6bee314d0c10f4c19ce3272dbad7f47a
3908a4e4cc597c1a1b4f6d9740c0b1af2e3f8af0
/mine/models.py
517fb81307b5d16889108906a5e0da5843520699
[]
no_license
0xE232FE/ogamebot-1
317bc2e431ac8974f2752aa69ee1390d299a8b30
8aa8b06244977fdb486509c44cd15da2a1677b10
refs/heads/master
2020-09-17T22:26:34.079851
2019-06-26T16:00:50
2019-06-26T16:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
# Create your models here. from django.db import models from planet.models import Planet class Mine(models.Model): planet = models.ForeignKey(Planet, related_name='mines', on_delete=models.CASCADE) level = models.IntegerField(default=0) upgradeable = models.BooleanField(default=False) name = models....
[ "vinh-ngu@hotmail.com" ]
vinh-ngu@hotmail.com
45ff54197bd2efca8b935fafc218b7c4a05a96f2
4f40b4ac50117892c2466afdaad774eb685a00e9
/ApachelogsAnalyser.py
d15c93faf23a512b7414527c3f8f20b9265097e2
[]
no_license
PIR-Botnet/LogAnalysis
a83b9057a3faf837b255b4cb15337ba20c8f790d
9b7eaf6903580f1599c6221e3a3aed4d2e9e8719
refs/heads/master
2020-12-25T13:44:33.105614
2016-06-25T00:00:51
2016-06-25T00:00:51
61,878,264
0
0
null
null
null
null
UTF-8
Python
false
false
10,886
py
import time import re import numpy as np import matplotlib.pyplot as plt from matplotlib.ticker import MultipleLocator import pylab as pl import datetime class Apache(object): filename = 'final.log' botmasterResource = ['/abc','/cca','/bac/acb/abc/?abc=2','/cba/abc/abc/?bca=0','/presentations/','/blo...
[ "noreply@github.com" ]
PIR-Botnet.noreply@github.com
aff051d98734021f3f4523d83bf58848091ad511
53fab060fa262e5d5026e0807d93c75fb81e67b9
/gaussiana/ch3_2020_03_02_19_40_45_184657.py
388976c4229562ed4c3f1e6b54c6758644c0ce7d
[]
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
164
py
import math def calcula_gaussiana(x,mi,sigma): parte1 = 1 / (sigma * 2 * math.pi ** 1/2) parte2 = math.exp(-0.5*((x-mi)/sigma)**2) return parte1*parte2
[ "you@example.com" ]
you@example.com
efca18ab1d7c9619edf492d0475c54151b784848
2497210cc7e914be160450d8e00ce102820b1bc2
/sdpy/calibrate_map_scans.py
4566cde43ec6eb9a89c91d5822a25486d5112787
[]
no_license
adamginsburg/sdpy
a67640f17d76e09d6854e560c990bd0863c9a9cd
193ab2cb38741f088addc3952ae46b7591f92e60
refs/heads/master
2021-01-21T08:51:43.658918
2015-02-13T07:40:54
2015-02-13T07:40:54
29,185,295
0
0
null
2015-01-13T10:41:13
2015-01-13T10:41:13
null
UTF-8
Python
false
false
19,127
py
import astropy.io.fits as pyfits import numpy as np import warnings from .timer import print_timing def load_data_file(filename, extension=1, dataarr=None, filepyfits=None, datapfits=None): """ Load the series of spectra from a raw SDFITS file """ if filepyfits is not None: ...
[ "keflavich@gmail.com" ]
keflavich@gmail.com
36911a42ddb3beaf4d335d095a98af9da930b3f1
e2247e3bda886b9af82f1a246cc1eafa7cb08067
/experiments/llc2160_01/diag/utils.py
9a26d67f0c0f1b2ecd132befef03e86e205aa9a7
[]
no_license
joernc/NA
b9f15e7fa2653f630ed3fe5c5596f867215a74ad
77c22886ff8a2610ff60977c6aa28bee9737e99d
refs/heads/master
2023-08-09T06:09:58.126443
2021-09-13T21:47:07
2021-09-13T21:47:07
141,634,628
0
0
null
null
null
null
UTF-8
Python
false
false
2,181
py
import sys import os sys.path.append(os.path.abspath("/home/joernc/MITgcm/utils/python/MITgcmutils/MITgcmutils")) from mds import rdmds import numpy as np nx = 1080 ny = 540 nz = 55 # diag levels # model levels with diagnostics (data.diagnostics, converted to 0-based index) diag_lev = np.array([1,2,3,4,5,6,7,8,9,10,...
[ "joernc@mit.edu" ]
joernc@mit.edu
8aac69bd60087f310596326b480b94339be3e5ef
f9d0def0e4a91388f5af9054461c66333abb8430
/kitti_evaluate.py
32ad0fadd2450a419ae75d0beb646020d2254158
[ "MIT" ]
permissive
michaelala25/prednet
aa1b66d33647ddb17479924c55845872cfbf710d
ae09ebf77ab3b6f0d80faf490bb246972de2ddc2
refs/heads/master
2022-08-21T16:53:28.916058
2018-09-25T18:01:02
2018-09-25T18:01:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,478
py
''' Evaluate trained PredNet on KITTI sequences. Calculates mean-squared error and plots predictions. ''' import os import numpy as np from six.moves import cPickle import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec from keras import backend as ...
[ "mfala@edu.uwaterloo.ca" ]
mfala@edu.uwaterloo.ca
37fda34ea2332d382151e6afefbe696b94d10882
347fd3e01f338fe9c4b2ccaf398c758a0f226824
/venv/lib/python3.6/site-packages/django/views/__init__.py
220c4e57a013db1f3b629f2df592e943988ce7f3
[]
no_license
shohruhodilov/forms_tut
a26ad23bc3afcc6d7e1e49731dc0baecb6d84043
629cd97b5b6f94afdf24ed69af77ee8e9a7550d0
refs/heads/master
2021-09-27T15:07:06.044797
2020-03-25T09:34:55
2020-03-25T09:34:55
247,538,042
0
0
null
2021-06-10T18:41:28
2020-03-15T19:36:45
Python
UTF-8
Python
false
false
92
py
from django.views.generic.base import View __all__ = ['View'] def home(): return None
[ "shohruh.odilov@mailru" ]
shohruh.odilov@mailru
69db2cad29759665413e860575b1d9bd3dfb6c4c
388d49ac53ba59f8862048939798379d33b82609
/ipython-dev/Qiime/qiime/compare_distance_matrices.py
c0853c5226b2dcf83dd41dbf874fed2192ef0579
[]
no_license
andrewmagis/docker
973a467dc6bec6f7b182992677a725f3d0964515
46bd6f69c4f5fd61d08ab728caebb7e77d1cc6eb
refs/heads/master
2021-05-29T11:58:01.290201
2015-02-18T01:27:25
2015-02-18T01:27:25
30,884,223
0
0
null
null
null
null
UTF-8
Python
false
false
11,851
py
#!/usr/bin/env python from __future__ import division __author__ = "Jai Ram Rideout" __copyright__ = "Copyright 2012, The QIIME project" __credits__ = ["Jai Ram Rideout", "Michael Dwan", "Logan Knecht", "Damien Coy", "Levi McCracken", "Greg Caporaso"] __license__ = "GPL" __version__ = "1.8.0-dev" __main...
[ "johncearls@gmail.com" ]
johncearls@gmail.com