blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
87a37fe3e3f0046a61ab08d1d78e6778518d0b0c
f2fdc83b5d857f3f1b90a8dc0edfaf3521a3f13a
/retinanet/core/metric.py
169055e56d1f46381c99d90f62205afdfb1bc98a
[]
no_license
ArsenLuca/RetinaNet
e185acec5c18ce411508a560abccfed6723c1740
b6122b1de458db8bd6f674f4a7098358c9c8b44d
refs/heads/master
2021-06-24T04:42:48.848712
2017-09-11T12:18:17
2017-09-11T12:18:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,819
py
# -------------------------------------------------------- # Deformable Convolutional Networks # Copyright (c) 2016 by Contributors # Copyright (c) 2017 Microsoft # Licensed under The Apache-2.0 License [see LICENSE for details] # Modified by Yuwen Xiong # -------------------------------------------------------- impor...
[ "2081264@qq.com" ]
2081264@qq.com
cbf8528ab3e3ecdc60fc8a91bbe9cda7792d5b16
06fb1877c650a96ff331c07438d70505f13d39b2
/vcr_apps/user/models.py
2148ea2e1687990576a5358c0046f15581cf43ef
[]
no_license
VcrTing/Online_Photo_Viewer
b0b02e3695833bedd7987bb6a21b9024c00238d4
b2150670a9d4e9c2390045419feb98a252fce17e
refs/heads/master
2020-03-25T18:08:12.013802
2018-08-08T13:08:21
2018-08-08T13:08:21
144,014,461
0
2
null
null
null
null
UTF-8
Python
false
false
7,962
py
# Import # here that import Python module import os from django.db import models from django.db.models import Q from django.utils import timezone # Import # here that import your module from ..web.models import Lang from ..vcr_conf import (kouza_path, vcr_web_path, station_pic_flag, station_im...
[ "2782721850@qq.com" ]
2782721850@qq.com
075b965b17e97fa15a993e2c6dcde399d22215a6
aaada188819b92d1faf3d99c91855da9f00d6557
/ipipe/producer.py
5fd779b8acca804c9c21a6c26b3fd2810a66f6fb
[]
no_license
bruth/ipipe
b121c22238149304dd0a9fc14d665b01095a0d3e
0ef0dc0104d01381d38df13f76affe695a9a8a82
refs/heads/master
2021-01-10T19:09:08.771093
2012-08-29T18:21:30
2012-08-29T18:21:30
5,570,920
1
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
from collections import namedtuple from .iterbase import Iterable class Producer(Iterable): """An iterator class that wraps an iterable. Each `line` will be mapped converted to a record object for downstream processing. `fields` is an array of field names that are valid variable names as keys and the...
[ "b@devel.io" ]
b@devel.io
ea893f1717b2251ea9d807bef8fc91b3a4870c26
9303232950d946c0b72bec62d7f95a689efa6160
/Otsu_threshold.py
cae726b6ce39555a5cbd4cc6ed9858ff107b2256
[]
no_license
Vibashan/OpenCV_all_basics
7518e9b46af49e0d2a52b78c88619d1dc7fffbd3
f42c2a9a90e3c91071730370793dce5e54fc8500
refs/heads/master
2021-09-10T09:40:40.474838
2018-03-23T19:35:53
2018-03-23T19:35:53
125,088,817
3
1
null
null
null
null
UTF-8
Python
false
false
612
py
import cv2 import numpy as np img = cv2.imread('grayscale_img.jpg',0) # global thresholding ret1,th1 = cv2.threshold(img,127,255,cv2.THRESH_BINARY) print ret1 # Otsu's thresholding ret2,th2 = cv2.threshold(img,0,255,cv2.THRESH_BINARY+cv2.THRESH_OTSU) # ret will store the optimal thresholding value inste...
[ "vibashanvs@gmail.com" ]
vibashanvs@gmail.com
ea5b7553821b4501226e500d5a3db50ad2ca1a0a
99280ee4672420b43bdcedb9c6f5c93a5fe182f0
/API/blogapi_3/blog_project/posts/migrations/0001_initial.py
a299ce2174d6f4f7f3d856c523e445e5424bdc8e
[]
no_license
kamral/test_1
f8674a075d51fc94630df7d6a5cf55b11d086db0
a10ce3337463d1cb9b56876d0566798740c0b42f
refs/heads/master
2023-08-06T23:50:45.519935
2020-06-07T09:27:43
2020-06-07T09:27:43
265,688,683
0
0
null
2021-09-22T19:23:15
2020-05-20T21:21:21
Python
UTF-8
Python
false
false
927
py
# Generated by Django 3.0.7 on 2020-06-03 11:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "kamral010101@gmail.com" ]
kamral010101@gmail.com
e96138d8b2f29f80701b588b049571d5110afa0e
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/fcpm/domstats.py
9cfdd3db4b7ff97d721f6890a87c00fa2d4f2644
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,590
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
f1635fe18b44f00e46ff4b1ea6b52edbb786f893
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_340/ch146_2020_04_08_17_54_11_608131.py
a03451c5425c73bace577e917f28444d9415796b
[]
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
175
py
def conta_ocorrencias(lista): dicionario={} for t in lista: dicionario[t]=1 if dicionario[t] in dicionario: dicionario[t]+=1 return dicionario
[ "you@example.com" ]
you@example.com
00de1e90e0661ad7d51d4d975b58eae6593cc06d
03ab77761c1efa3977d18239879dbeb81502e1a0
/plot_cfrac.py
e2ebee60efeab9e39d3a00b78ac04b5f6ed9697e
[]
no_license
alexji/chemmix
3df24eb9f829de6601ece9002e410dcc09c22bfc
97274b13baf75d51e75e485ccbe5551d41001e30
refs/heads/master
2021-01-21T19:19:38.558224
2014-08-18T21:50:28
2014-08-18T21:50:28
19,949,072
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
import numpy as np import pylab as plt from optparse import OptionParser import karlsson import util if __name__=="__main__": parser = OptionParser() parser.add_option('--save',action='store_true',dest='save',default=False) parser.add_option('-c','--cfecrit',action='store',type="float",dest='CFecrit',defa...
[ "alexji@mit.edu" ]
alexji@mit.edu
1a79747c75842f8ca2319cc4476905e5d9dc4caa
a0f0efaaaf69d6ccdc2a91596db29f04025f122c
/build/cellctrl_database_bridge/catkin_generated/pkg.develspace.context.pc.py
6b335bd4ab8e0d4dffa9bba626c2526491ecd798
[]
no_license
chiuhandsome/ros_ws_test-git
75da2723154c0dadbcec8d7b3b1f3f8b49aa5cd6
619909130c23927ccc902faa3ff6d04ae0f0fba9
refs/heads/master
2022-12-24T05:45:43.845717
2020-09-22T10:12:54
2020-09-22T10:12:54
297,582,735
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/handsome/ros_ws_test/src/ros_base/cell_controller/Model/cellctrl_database_bridge/include".split(';') if "/home/handsome/ros_ws_test/src/ros_base/cell_controller/Model/cellctrl_database_bridge/inc...
[ "chiuhandsome1966@gmail.com" ]
chiuhandsome1966@gmail.com
0e4100941a722d22d87584689dfc5a443c4b0e70
07325ef496db92515b119bfaaa2e1a2a43c0fee7
/vcr/serialize.py
a9c04d667f62934f32cd66c520c037754e1e2176
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yougov/vcrpy
8d02b73d34f7d21c3b02cc77f75c3d29641597c2
df1ca4cb8e8546a1662d40a9b8d41ae1d5ff6378
refs/heads/master
2023-06-21T05:51:16.125030
2019-05-13T16:13:32
2019-05-13T16:13:32
186,450,336
1
0
MIT
2019-05-13T16:13:34
2019-05-13T15:46:16
Python
UTF-8
Python
false
false
2,151
py
from vcr.serializers import compat from vcr.request import Request import yaml # version 1 cassettes started with VCR 1.0.x. # Before 1.0.x, there was no versioning. CASSETTE_FORMAT_VERSION = 1 """ Just a general note on the serialization philosophy here: I prefer cassettes to be human-readable if possible. Yaml ser...
[ "me@kevinmccarthy.org" ]
me@kevinmccarthy.org
583fd26c5338a6462353741540da87984a3a31ab
537d28fb2142331e27c84ebf2c16bad77aceb24e
/ml/m22_RF.py
3c81d8132b8aca635ba94c899329667fdbc66f8f
[]
no_license
gema0000/bit2019
c27c3cec8d8d3a0907ade41523ce1c5ee86337b6
2f44ad3956b387186935374d9a488ad40a13bcaf
refs/heads/master
2020-07-03T05:19:41.051447
2019-10-26T23:56:25
2019-10-26T23:56:25
201,796,021
4
2
null
null
null
null
UTF-8
Python
false
false
1,610
py
from sklearn.tree import DecisionTreeClassifier from sklearn.ensemble import RandomForestClassifier from sklearn.datasets import load_breast_cancer from sklearn.model_selection import train_test_split cancer = load_breast_cancer() X_train, X_test, y_train, y_test = train_test_split( cancer.data, cancer.target, str...
[ "gema0000@naver.com" ]
gema0000@naver.com
e34120c37dc90b908c1c8f4898b29fb766abce5e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/52/usersdata/82/21178/submittedfiles/matriz1.py
accd67561429372a4a4d1dba504fa7d8b3e1ee21
[]
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
1,342
py
# -*- coding: utf-8 -*- from __future__ import division import numpy as np def colunaEsquerda(a): for j in range (0,a.shape[1],1): for i in range (0,a.shape[0],1): if a[i,j]==1: ce=j break return ce def colunaDireita(a): for j in...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
24c86403b092c52afbcca04e5e13139695274382
223861dd0dda7a2e4c94c81171cd2d7fb4979659
/azure/mgmt/resource/links/management_link_client.py
6855492fa70e0433d7e994c25014aa4f4d5d7d97
[]
no_license
pexip/os-python-azure-mgmt-resource
99bc515e3ff4c1a07458fcd2de96bb48daab1eee
f09919899900adf389baf8f96ae7117ccdbd7f1a
refs/heads/master
2023-08-28T05:02:15.070287
2017-02-28T22:33:49
2017-02-28T22:33:49
54,351,762
0
0
null
null
null
null
UTF-8
Python
false
false
5,980
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # C...
[ "jmb@pexip.com" ]
jmb@pexip.com
c46e546a71718cbf217b89a17e188133aa8ac88d
2e263bb909bb706957990f23d4d07a33fe031a61
/her/util.py
76d2f82ff42e50bb3836e70aea2d53b8b879dc4f
[]
no_license
liziniu/SuperMario
3e9b776d4c490275b1684b4fd3b3471914811b7d
64a33901c61591348dd4b9c878e396901dea27b6
refs/heads/master
2020-05-16T02:32:10.694180
2019-06-02T10:08:11
2019-06-02T10:08:11
182,632,295
0
0
null
null
null
null
UTF-8
Python
false
false
5,013
py
import time import numpy as np from baselines import logger from baselines.common.tf_util import save_variables import functools class Acer: def __init__(self, train_runner, evaluate_runner, model, buffer, log_interval): self.train_runner = train_runner self.evaluate_runner = evaluate_runner ...
[ "374387855@qq.com" ]
374387855@qq.com
b459ddac198f69f7f4e52e302f21d079a1708f05
dfc2c18053b8e7576f88e7b2524d7ca3a8f47282
/ch00/section6/45.py
377a8ed931bb086dd4229804eb44d526dd5a721b
[]
no_license
Xoozi/tchomework
a6eed3bbf697ff12af8d42249ec58a139aed0c4c
627c98b0b652ef20fd93025a17341bba76fbfce6
refs/heads/master
2021-01-23T21:18:15.793703
2018-10-21T11:05:55
2018-10-21T11:05:55
57,583,655
1
2
null
null
null
null
UTF-8
Python
false
false
253
py
#用参数做图法画出给定区间上方程的图形 # #抛物线 x = 2*t+3 y = t**2-1, -2 <= t <=2 def fx(t): return 2*t+3 def fy(t): return t**2-1 t = linspace(-2, 2, 100) x = fx(t) y = fy(t) xlabel('x') ylabel('y') plot(x, y, 'r-')
[ "wwfxtt@gmail.com" ]
wwfxtt@gmail.com
408a7c34c8b18a2ee261983370d14c1b7a9d75b8
ffbe40b777a2bb2e74d97e9ebecced4cde690603
/part2/e48_chinese_zodiac.py
28dcd4b9d8d32c57ae809efef0a38527d5591ea8
[]
no_license
terranigmark/the-python-workbook-exercises
ad8dd14ef32d7e018f18f28d356290e959bfc483
eed8b31dd146f3ac95923b9526fb28ae9554b8e7
refs/heads/master
2022-12-23T15:37:24.539818
2020-09-24T05:55:52
2020-09-24T05:55:52
294,312,359
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
""" The Chinese zodiac assigns animals to years in a 12 year cycle. One 12 year cycle is shown in the table below. The pattern repeats from there, with 2012 being another year of the dragon, and 1999 being another year of the hare. Year Animal 2000 Dragon 2001 Snake 2002 Horse 2003 Sheep 2004 Monkey 2005 Rooster 2006 D...
[ "linnk99@gmail.com" ]
linnk99@gmail.com
e344aeb3e8931712d9be9894bcabcae81f4537c7
130c2afc013217586912ae8b8e917e88f06be605
/python/ex4_getText2VoiceStream.py
2b7680be723099810803fa9e66b6d48e6dc76811
[ "MIT" ]
permissive
HAMDONGHO/USMS_Senior
affc106aa70bd875914eef88b0914f595717cc35
e247137b6a9a351676f2de7887d83b1f900e298e
refs/heads/master
2023-01-22T10:55:58.426768
2020-11-25T14:09:27
2020-11-25T14:09:27
313,334,090
0
0
null
null
null
null
UTF-8
Python
false
false
2,090
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Example 4: TTS - getText2VoiceStream""" from __future__ import print_function import grpc import gigagenieRPC_pb2 import gigagenieRPC_pb2_grpc import os import datetime import hmac import hashlib import ex1_kwstest as kws # Config for GiGA Genie gRPC CLIENT_ID = ''...
[ "ii8858@naver.com" ]
ii8858@naver.com
48d47924176751b23d28676a899fa9aef2f03d2a
e53db471b760857368a9463805adc74d61293755
/struct2tensor/prensor_to_structured_tensor.py
8f80cc7d7d6cbfabea2f1601f7c91e8786948bb4
[ "Apache-2.0" ]
permissive
NeoTim/struct2tensor
e19451db479a3b6e952e4a662ea562b3fe7e98c1
e2ff54665a4d111015089492704343f0e6a446d1
refs/heads/master
2022-12-29T01:01:08.240078
2020-10-13T16:30:47
2020-10-13T16:31:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,265
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
43d9eb340f695c3047534c4878bd3e1cc5d90ccc
4ecb332ba2edd08d4a0a0021db675b41c3790dbd
/bc19-scaffold/bots/20.SprintBot3[unused]/constants.py
74e3bf2633630b146f85a3828fc3ee08a09a43e6
[]
no_license
Nischay-Pro/BattleCode2019
fdffdd235e8db60189e90e48c3f47f23bb32b30f
92193daf631687acca00176c1fa6a9255d7d4381
refs/heads/master
2020-04-16T10:15:39.875870
2019-01-27T21:08:52
2019-01-27T21:08:52
165,497,691
1
0
null
null
null
null
UTF-8
Python
false
false
3,587
py
from battlecode import SPECS pathfinding_heuristic_multiplier = 1.1 pilgrim_aging_factor = .3 # Weight for the age of pilgrim after whihc it won't try to search for new mines pilgrim_will_scavenge_closeby_mines_after_turns = 30 pilgrim_will_scavenge_closeby_mines_before_turns = 150 pilgrim_will_scavenge_closeby_mines...
[ "f2015845@hyderabad.bits-pilani.ac.in" ]
f2015845@hyderabad.bits-pilani.ac.in
11381bf066b3af6eba8b5feeb69b51f9dda2240c
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/fritzbox/light.py
f83dd4545924a9890610408dd49c89ca406f0eff
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
6,428
py
"""Support for AVM FRITZ!SmartHome lightbulbs.""" from __future__ import annotations from typing import Any, cast from requests.exceptions import HTTPError from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_COLOR_TEMP_KELVIN, ATTR_HS_COLOR, ColorMode, LightEntity, ) from homeassis...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
8f9ec386604ef5ef4433c1e5bcc25ffad05f4544
8b4ccce0e26408f05297e31b590d350d9632271d
/529. Minesweeper.py
5e372b300b065ba316c99f504f429e870f8a14e5
[]
no_license
bryantbyr/LeetCode-solutions
65e50e104e3504662ae7547865c326282a13a9c9
07b8c34b12d05413466119a82247d7ee5cc34318
refs/heads/master
2022-01-13T12:17:46.699379
2019-04-29T11:54:02
2019-04-29T11:54:02
87,683,855
1
0
null
null
null
null
UTF-8
Python
false
false
2,616
py
# -*- coding: utf-8 -*- # @Time : 2019/1/14 # @Author : qirui # @FileName: 529. Minesweeper.py # Time: O(N) # Space: O(N) # DFS class Solution(object): def updateBoard(self, board, click): """ :type board: List[List[str]] :type click: List[int] :rtype: List[List[str...
[ "noreply@github.com" ]
bryantbyr.noreply@github.com
96f73ef8a414a54330665b959c469bf807311209
8d55d41a4f5c0b89331cac714c1525e9581d9720
/DartMomentumProject/working_example_kh_bvh/mtOptimize.py
1430372ca360fe71340826ba952ba44c7b515f71
[ "Apache-2.0" ]
permissive
hpgit/HumanFoot
8cf35ceeeb35a0371e03eaf19d6da58dc01487eb
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
refs/heads/master
2022-04-13T23:38:19.072203
2019-12-06T06:36:10
2019-12-06T06:36:10
41,348,141
0
0
null
null
null
null
UTF-8
Python
false
false
7,134
py
import numpy as np import numpy.linalg as npl import sys if '../PyCommon/modules' not in sys.path: sys.path.append('../PyCommon/modules') import PyCommon.modules.Math.mmMath as mm import PyCommon.modules.Util.ysPythonEx as ype def getTrackingWeight(DOFs, skeleton, weightMap, rootPositionWeight=0.): weights = [1.]*s...
[ "garethvlf@gmail.com" ]
garethvlf@gmail.com
38b3f37cfad8197a5ae66bd5eb665f4c879cd3b0
b6c6e045fc27ae037ab3cdec0a8c1f4a41cbe6cf
/napalm-lab/load_merge_candidate.py
5b54b9b28e1fe4521f65f7b9e66c8eb1f3bb5684
[]
no_license
sourjp/lab-network
c00dcaff5053d3adaab6cf07b21218d45b12d092
f1d1f20a0f7161e0f297d75917e246e4d18579b3
refs/heads/master
2023-02-12T05:33:29.675565
2020-12-19T01:56:20
2020-12-19T01:56:20
321,029,873
0
0
null
null
null
null
UTF-8
Python
false
false
2,192
py
#!/usr/bin/env python3 from napalm import get_network_driver import time vsrx1_params = { "hostname": "localhost", "username": "root", "password": "Juniper", "optional_args": {"port": "2201"} } if __name__ == "__main__": junos_driver = get_network_driver("junos") CMD = [ "set protocol...
[ "hiro0209.ki@gmail.com" ]
hiro0209.ki@gmail.com
452913bf431a1975f277374addfe3d67c22655e5
0cad68eadfb89c7e339dbb85e38c8f95a4980d4a
/social_auth/__init__.py
71ed1f4c4c807e3fb0d9b04d9435036ab2871fcf
[ "BSD-2-Clause" ]
permissive
jess3/django-social-auth
6005f5cb4fc3b6bd957079a186cf606fad793202
46bf830780a60a5fd50be8ddddbe664b0abe9841
refs/heads/master
2021-01-18T08:52:33.336890
2011-04-04T23:27:37
2011-04-04T23:27:37
1,561,031
0
1
null
null
null
null
UTF-8
Python
false
false
193
py
""" Django-social-auth application, allows OpenId or OAuth user registration/authentication just adding a few configurations. """ version = (0, 3, 10) __version__ = '.'.join(map(str, version))
[ "matiasaguirre@gmail.com" ]
matiasaguirre@gmail.com
b6efafdd0bb77b3c35204d2661c9ffe008e158c9
dc42a65f63ca8327ee74675c7606a9b6e3b39d40
/tpdatasrc/co8infra/scr/Spell591 - Resist Electricity.py
8152d9cc36f5e0f1800c296d688c19a67f993695
[ "MIT" ]
permissive
anatoliy-savchak/TemplePlus
03cda558de2fd30d34305b7e5b548d202ba97f76
50922bb14cc2d7dcf8fceeccf45c3b905c1b512f
refs/heads/master_old
2023-04-28T12:01:06.205497
2021-09-25T13:03:51
2021-09-25T13:03:51
172,583,383
2
0
MIT
2019-02-25T20:56:01
2019-02-25T20:56:00
null
UTF-8
Python
false
false
1,006
py
from toee import * def OnBeginSpellCast( spell ): print "Resist Electricity OnBeginSpellCast" print "spell.target_list=", spell.target_list print "spell.caster=", spell.caster, " caster.level= ", spell.caster_level game.particles( "sp-abjuration-conjure", spell.caster ) def OnSpellEffect( spell ): print "Resist ...
[ "anatoliy.savchak@gmail.com" ]
anatoliy.savchak@gmail.com
1d57ce058f79b76645520a733919e26d3cc38fa9
55f60b7ec448eb48b75118b01b3878c8345242bb
/tests/env/packages/env_test_partd.py
b9c3a23e40c0c2fd1558adcdc312e6ef5fa36ff8
[ "BSD-3-Clause", "CC-BY-4.0" ]
permissive
dd-rrc-ps/foxbms-2
cd8d272afa24187c85c6fa747226bebed4cefc5e
555704a9c4af3dd1c2213e6f0be9860f34e2b1b3
refs/heads/master
2023-08-18T13:49:42.503755
2021-10-21T12:15:09
2021-10-21T12:15:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,668
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright (c) 2010 - 2021, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. # All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # # Redistribution and use in source and binary forms, with or without # modification, are permitted provid...
[ "info@foxbms.org" ]
info@foxbms.org
e0c5e51a08c3898d924497edd60ac16d76d906bf
029c73690f621fd09e0b6ccd07be436f4a5a3534
/bin/forecast/weather.py
ec0bf999b142c1ef223ae5d6e8c4d028a80ba2f1
[ "Apache-2.0", "MIT" ]
permissive
wwwsaisurya/weather-chatbot-1
bb492684add065ce0945be9d9979f475ca5795f5
e43074e17dfb9866fe507037c6662ef4ab274d68
refs/heads/master
2020-12-03T08:25:03.173975
2019-12-08T20:05:47
2019-12-08T20:05:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
from abc import ABC, abstractmethod from typing import Dict from bin.forecast import WEATHER_ID from bin.web_api.requests import Request, SafeBotRequest from bin.web_api.urls import CommonUrl class Weather(ABC): """Abstraction of a weather.""" @abstractmethod def data_records(self) -> Dict[str, str]: ...
[ "vyahello@gmail.com" ]
vyahello@gmail.com
4972d4c61e1fc2a08de689adb1c0f4042bb6dd0b
5bd568514805c092efebb07b41bf6ee2b4a9c6d5
/setup.py
f5f858f91caed3cdb9edf32a9994fafcb57d61a2
[ "MIT" ]
permissive
chagge/chainercv
d364ebbf1d405bd2df4481e15061e50f12acbb09
db781e4c50dec348c7e5a7ced14f54e56aca76e4
refs/heads/master
2020-05-21T06:14:58.128442
2017-03-10T15:20:43
2017-03-10T15:22:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python from distutils.core import setup from setuptools import find_packages import os description = """ Collection of Deep Learning Computer Vision Algorithms implemented in Chainer """ setup( name='chainercv', version='0.4.2', packages=find_packages(), author='Yusuke Niitani', ...
[ "yuyuniitani@gmail.com" ]
yuyuniitani@gmail.com
f2c7971167a0a0a807523ad2e9719588806b3bcf
5b4230f074892b5f9066509e2819c76b55c7ea5f
/1/account/migrations/0001_initial.py
7787d43e7f7caa7b2dd17cf026dc41651a07e589
[]
no_license
ricemi189/sae-django
2807907b27444f4c7845282acd145a4c1087a92d
aed4f81b14ca2b050a8868297b481d7e13bb4ca7
refs/heads/master
2020-03-16T01:09:10.486206
2014-10-26T16:46:06
2014-10-26T16:46:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,259
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ m...
[ "liulixiang1988@gmail.com" ]
liulixiang1988@gmail.com
2ee56fbb3fa53178816c05eca87862ad0014063c
2dce8510e8c2bbe7f3f21af122697e3ae499e430
/pyhodl/api/price/models.py
53703dc73dcaf525f960ee0788d46763907e07f4
[ "Unlicense" ]
permissive
havocesp/pyhodl
f0da449dd7ea95214f55169f38fe711b46571724
6c2fc39c2c9b4dd7f4ec6cfb746e9dd8a91ccc06
refs/heads/master
2020-03-29T14:35:54.441432
2018-07-25T21:17:45
2018-07-25T21:17:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,340
py
# !/usr/bin/python3 # coding: utf_8 """ API client core to fetch price data """ import abc import time from hal.time.profile import print_time_eta, get_time_eta from pyhodl.api.models import AbstractApiClient from pyhodl.config import DATE_TIME_KEY from pyhodl.utils.dates import generate_dates, datetime_to_str c...
[ "sirfoga@protonmail.com" ]
sirfoga@protonmail.com
9460232e943c80054ac29e998967607d206c4f49
5a03b251bd423506b086ba253b66039a70607858
/bootstrap/new.py
c57b453d76a3f42ed1a03ab1f1a317eed630ff7e
[ "BSD-3-Clause" ]
permissive
CV-IP/bootstrap.pytorch
0ecd6b7ec0241770875a2692e3ccc22882156e4a
4cd68ffc3d7bb20518805ce172b5323c89ff0fab
refs/heads/master
2022-07-09T05:23:20.874340
2020-05-15T07:18:20
2020-05-15T07:18:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,039
py
from pathlib import Path from argparse import ArgumentParser def replace_content(file_path, prj_name): content = file_path.read_text() content = content.replace('{PROJECT_NAME}', prj_name) content = content.replace('{PROJECT_NAME_LOWER}', prj_name.lower()) content = content.replace(' # noqa: E999', '...
[ "remi.cadene@icloud.com" ]
remi.cadene@icloud.com
e169f3593a55ab3e28eef49992508de44d577a44
3a02bff6397eb23afd55cc17faf81c24a8751f2d
/fsoft/Week 1/B1/bai11.py
2f96b9df3ba5160d26764d5ef456b8102c564440
[]
no_license
cothuyanninh/Python_Code
909fd4d798cbd856e8993f9d4fea55b4b7c97a1f
7f657db61845cf8c06725a2da067df526e696b93
refs/heads/master
2022-11-06T01:00:39.939194
2019-01-13T15:27:38
2019-01-13T15:27:38
164,468,626
0
1
null
2022-10-13T16:16:21
2019-01-07T17:40:51
Python
UTF-8
Python
false
false
257
py
"""C1""" string_word = "Fresher Academy" for i in range(1,len(string_word)+1): print(string_word[-i], end ="") """C2""" string_word = "Fresher Academy" list_temp = [str(i) for i in string_word] list_temp.reverse() print("".join(str(i) for i in list_temp))
[ "cothuyanninh@gmail.com" ]
cothuyanninh@gmail.com
8121e8d4c09584e5111eb083b4fedb3f5864f521
a9063fd669162d4ce0e1d6cd2e35974274851547
/swagger_client/models/body42.py
f9c57f0ad0eb0d7d03f9bd441e3c6258d653b971
[]
no_license
rootalley/py-zoom-api
9d29a8c750e110f7bd9b65ff7301af27e8518a3d
bfebf3aa7b714dcac78be7c0affb9050bbce8641
refs/heads/master
2022-11-07T14:09:59.134600
2020-06-20T18:13:50
2020-06-20T18:13:50
273,760,906
1
3
null
null
null
null
UTF-8
Python
false
false
8,131
py
# coding: utf-8 """ Zoom API The Zoom API allows developers to safely and securely access information from Zoom. You can use this API to build private services or public applications on the [Zoom App Marketplace](http://marketplace.zoom.us). To learn how to get your credentials and create private/public appli...
[ "github@rootalley.com" ]
github@rootalley.com
60b291d79d0d11193019ba49bac62412e5dc29ef
79b3a30b9ca8f91c72a1d2df82d9876f7af4b43a
/brot.py
a5d60724787de01c56071eb2a0f430f6419ba39a
[]
no_license
vtt-info/PiPicoDsply
1a7f708a21d1eed723f8608f50332d8bfde94093
e359d77a0ca00419a7606805fbe92d3091afbaa3
refs/heads/main
2023-03-08T02:35:56.505140
2021-02-20T12:32:22
2021-02-20T12:32:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,205
py
import picoexplorer as display # based on initial code demo for the PiMoroni PicoDisplay for the RaspberyPiPico width = display.get_width() height = display.get_height() display_buffer = bytearray(width * height * 2) # 2-bytes per pixel (RGB565) display.init(display_buffer) display.set_backlight(1.0) iteration...
[ "noreply@github.com" ]
vtt-info.noreply@github.com
6951085f6aed8875b12397a2ae6b4438dcc84770
14c9d0a885a4dfac5f3e01c5fb6beb7b209e1aa6
/mycode/xiachufang_redis.py
6efe6f8fcb4b40611cdf4a7785ac741cd1466ccc
[]
no_license
xvjingcheng/test01
ec1f0ee086e84a475bc51060673f19a41de1395c
9637fd26016fe2a62b2d36fbdaf72eca2d2e7863
refs/heads/master
2020-05-17T17:19:13.902597
2019-04-28T03:20:07
2019-04-28T03:20:07
183,847,486
0
1
null
2019-04-28T03:20:10
2019-04-28T02:57:57
null
UTF-8
Python
false
false
2,496
py
import datetime import json import requests from lxml import etree import threading from queue import Queue import redis import signal client = redis.StrictRedis(host="sharemsg.cn",db=12) url = "http://www.xiachufang.com/explore/" headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKi...
[ "1625211623@qq.com" ]
1625211623@qq.com
f34417059bf4e54d1056c2e8c1242e58702f61ab
a54ea2df19ce58ffc7080667d40a8067221cf3d9
/fb_post_clean_arch/adapters/service_adapter.py
84946e78364a25b64193dae25fb7152087317856
[]
no_license
gundetisagar/fb-post
211f877d39e8c2051ccc81a3f48f540fa7bf9766
d1dc9b0143a021447d39e99573b3dd4f1375af02
refs/heads/master
2022-11-13T22:43:24.837914
2020-07-11T09:35:35
2020-07-11T09:35:35
278,544,497
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
class ServiceAdapter: @property def auth_service(self): from .auth_service import AuthService return AuthService() @property def reactions_service(self): from .reactions_service import ReactionsService return ReactionsService() def get_service_adapter(): return Se...
[ "sagergundeti@gmail.com" ]
sagergundeti@gmail.com
e9ca03b7324b0db6749a6e54e0159991ddd1ec8b
c52fc81a4c23ccbbe1c466d5abf5b4f5f08217ca
/02.Python/08.Spider/weather/weather/weather/spiders/Weather.py
1b4b797c944cf82b52b300efcaa6711b1092ee8a
[]
no_license
haoen110/FullStackPython
611720895d2ea2901e8109640824d775d60a9d66
e2b59f4a41ec727ab6d79291ec69d454071d646c
refs/heads/master
2020-04-19T23:40:41.934095
2020-01-12T01:52:30
2020-01-12T01:52:30
168,502,346
0
0
null
2019-12-04T03:47:24
2019-01-31T09:56:14
HTML
UTF-8
Python
false
false
1,414
py
# -*- coding: utf-8 -*- import scrapy from weather.items import WeatherItem class WeatherSpider(scrapy.Spider): name = 'Weather' allowed_domains = ['wunderground.com'] start_urls = ['https://www.wunderground.com/history/daily/cn/shenzhen/ZGSZ/date/2019-1-1'] def parse(self, response): item = ...
[ "haoenwei@outlook.com" ]
haoenwei@outlook.com
e9a0fd04755288989dd14784c37e0b454dc1c06a
46083e01408b6bb2e05f78a38f69fd5a6881a4c3
/selenium02UI框架/testcase/unittestcase.py
5160a21fba6bb3a1f1ee20ee1a91ee349e7bb3e8
[]
no_license
caixinshu/api
7601ce97ed6666cbc5995ecd1e32165605a7da7e
b75bf1bdbf4ee14f0485d552ff2f382c7991821e
refs/heads/master
2021-01-22T05:54:14.651098
2019-12-17T09:09:23
2019-12-17T09:19:26
81,718,456
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
# coding=utf-8 from selenium import webdriver import unittest class BaiduPage(unittest.TestCase): def setUp(self): self.driver = webdriver.Firefox() self.driver.maximize_window() self.driver.implicitly_wait(30) self.driver.get("https://www.baidu.com/") def test_001(self): ...
[ "651696408@qq.com" ]
651696408@qq.com
416ef283debdde6b1d17cdd43b6a2aebe378ba5a
16b16abf48332adea0db3c0f13b242f63c5ba5d4
/nnattack/models/oblique_tree.py
821938340b5024dcfd352cf994c2bd57a0f4ec0a
[]
no_license
yangarbiter/adversarial-nonparametrics
9148ab87da66bd860025fd09b0024ba20c5aca34
1c7a086b6c4406f485d4b7669c003b929718ffd2
refs/heads/master
2022-11-30T09:40:16.787306
2021-08-23T03:17:07
2021-08-23T03:17:07
175,070,268
19
8
null
2022-11-21T21:54:41
2019-03-11T19:29:14
Python
UTF-8
Python
false
false
5,809
py
""" https://github.com/KDercksen/pyblique/blob/master/pyblique.py """ from random import randint, random import numpy as np from collections import Counter import numpy as np import time def frequencies(data, target_attr): if len(data) == 0: return [] try: c = Counter(data[:, target_attr]) ...
[ "yangarbiter@gmail.com" ]
yangarbiter@gmail.com
04f926a3f93a81d7ee9c6ab66ef1553f3f8837e3
c2eecca25b1b0062c28bf1bf4f538f25b5f70a80
/tests/test_arnoldi.py
f0cd5aa309df4fc9691a8bbf1cebd193b54c6bd9
[ "MIT" ]
permissive
mohamedlaminebabou/krylov
a322ba135a1022e882d62e1805853850caafe4a7
e6af3d227f1512c84a528f9c4407934973231b42
refs/heads/main
2023-05-07T10:50:23.629293
2021-05-27T15:55:10
2021-05-27T15:55:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,918
py
import numpy as np import pytest import scipy import krylov from .helpers import ( get_matrix_comp_nonsymm, get_matrix_herm_indef, get_matrix_hpd, get_matrix_nonsymm, get_matrix_spd, get_matrix_symm_indef, ) _B = np.diag(np.linspace(1.0, 5.0, 10)) def _unit_vec(n): x = np.zeros(n) x...
[ "nico.schloemer@gmail.com" ]
nico.schloemer@gmail.com
0c8e1ee1d4ce5115aada14dc74e51346f2ce527e
304e75224229786ba64c6ef2124007c305019b23
/src/easy/test_count_good_triplets.py
b81a741fd7c3d82c482bf913073e710e9b45ea56
[]
no_license
Takuma-Ikeda/other-LeetCode
9179a8100e07d56138fd3f3f626951195e285da2
499616d07011bee730b9967e9861e341e62d606d
refs/heads/master
2023-04-14T06:09:35.341039
2023-04-10T02:29:18
2023-04-10T02:29:18
226,260,312
1
0
null
null
null
null
UTF-8
Python
false
false
804
py
import unittest from answer.count_good_triplets import Solution class TestSolution(unittest.TestCase): def setUp(self): self.arr = [ [3, 0, 1, 1, 9, 7], [1, 1, 2, 2, 3], ] self.a = [ 7, 0, ] self.b = [ 2, ...
[ "el.programdear@gmail.com" ]
el.programdear@gmail.com
bc9485fcb5d18c3289c3868602d12ea2caff21c5
e514bbdf8e0abe5ef0b58b94fe5f7d2afb38ea6b
/test_suite/shared_data/frame_order/cam/rigid/rotor_analysis/frame_order.py
58d7339d04dc255c69d5057493811721c2a0606e
[]
no_license
edward-dauvergne/relax
98ad63703e68a4535bfef3d6c0529e07cc84ff29
9710dc0f2dfe797f413756272d4bec83cf6ca1c9
refs/heads/master
2020-04-07T04:25:25.382027
2017-01-04T15:38:09
2017-01-04T15:38:09
46,500,334
1
1
null
null
null
null
UTF-8
Python
false
false
4,332
py
# Script for optimising the rotor frame order test model of CaM to the rigid data. # Python module imports. from numpy import array # The real parameter values. AVE_POS_X, AVE_POS_Y, AVE_POS_Z = [ -21.269217407269576, -3.122610661328414, -2.400652421655998] AVE_POS_ALPHA, AVE_POS_BETA, AVE_POS_GAMMA = [5.6234690...
[ "bugman@b7916896-f9f9-0310-9fe5-b3996d8957d5" ]
bugman@b7916896-f9f9-0310-9fe5-b3996d8957d5
8ab2f72f7e01e5e9d706f515fd99d9cc149e8159
1ba58b17f33122abf4236e9e430a51d375e0eb53
/km72/Bevzuk_Kostya/4/task6.py
99a88f7b0c62ba184452860d2cbfcb7763144f6a
[]
no_license
igortereshchenko/amis_python
c4f8d86b88ab036d08ff0ce35c9b42ebeabecc42
c6f0f2a70c82d5f269b3078eb296f82271b5bb10
refs/heads/master
2021-10-22T16:21:19.990650
2017-11-01T07:26:54
2017-11-01T07:26:54
104,785,028
0
139
null
2020-04-21T21:27:09
2017-09-25T18:11:42
Python
UTF-8
Python
false
false
281
py
x = int(input("Input number1 from 1 till 8:")) y = int(input("Input number2 from 1 till 8:")) z = int(input("Input number3 from 1 till 8:")) с = int(input("Input number4 from 1 till 8:")) if x == z: print("YES") elif y == c: print("YES") else: print("NO")
[ "noreply@github.com" ]
igortereshchenko.noreply@github.com
56a0680448ef61eecb5bb6c44144855d429a2089
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/import-export/azext_import_export/vendored_sdks/storageimportexport/operations/_bit_locker_key_operations.py
900125234da10796711369939105642e7b94e740
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
5,080
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
9d1009333d2c54c343c19819d8ed428a39f6378f
5decb30e4c2cdac167ce24bbabcaacf0ab80f1c4
/dic/prettyCharacterCount.py
741cb3e404d47433c4cb9847a88ea7677d0df99d
[]
no_license
code-repeat/pythonscripts
ab410636c52f813504e89f02b08a4ebf2f43ca50
ae89858893ffacd6192b39e5b96673bcf7de2dba
refs/heads/master
2022-12-11T16:46:24.731482
2020-08-27T16:24:35
2020-08-27T16:24:35
271,111,769
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
import pprint message = 'It was a bright cold day in April, and the clocks were striking thirteen' count = {} for character in message: count.setdefault(character, 0) count[character] = count[character] + 1 pprint.pprint(count)
[ "coderepeat44@gmail.com" ]
coderepeat44@gmail.com
4930f30b1dd65699ebe91d6e60dbd90cba1f3900
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/mdlyud002/question4.py
81abd3aa4ab7f045fcfd179a4dbcfb7bb3da0805
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
# Yudhi Moodley # Assignment 6 - Histogram and grade evaluator #23/04/2014 marksList = [] grade = [0,0,0,0,0,] def histogram(): marks = input("Enter a space-separated list of marks:\n") marksList = marks.split(' ') # creating diagram in range of marks for i in range (len(marks...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
d5f1a64c2b888f81633ee087f145ffe73cf82e95
090a4e026addc9e78ed6118f09fd0d7d4d517857
/validators/indicator/_delta.py
f9fee608d269efaada1778fee117b177f1e1eab8
[ "MIT" ]
permissive
wwwidonja/new_plotly
0777365e53ea7d4b661880f1aa7859de19ed9b9a
1bda35a438539a97c84a3ab3952e95e8848467bd
refs/heads/master
2023-06-04T19:09:18.993538
2021-06-10T18:33:28
2021-06-10T18:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
import _plotly_utils.basevalidators class DeltaValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__(self, plotly_name="delta", parent_name="indicator", **kwargs): super(DeltaValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "wwwidonja@gmail.com" ]
wwwidonja@gmail.com
b1dd066cbcc1fd343d02f5dfd2b620563dc67d4b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02771/s262659463.py
122f6b0ec8110637f84053f4d4b5fe9b628caa3a
[]
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
178
py
a, b, c = map(int, input().split()) ans = "No" if a == b and b != c: ans = "Yes" elif b == c and c != a: ans = "Yes" elif a == c and c != b: ans = "Yes" print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
35c9fb00c4b13bbfd62095ccff67da618c1d1f50
dbeb1e145eba012a200073038d8a8965ae0c6f5d
/numpy_ndarray_attributes.py
73e4c5907fa14ff0fa7c8b21c5f6d22d4589e67a
[]
no_license
hellJane/Python_DataAnalysis
b7027cb9d8e75a98b5626a58ee85b64f62c54c9c
966ee5d732e074e9d124333f13d3e3e23ade1edc
refs/heads/master
2021-05-17T01:57:24.092791
2017-12-01T15:32:32
2017-12-01T15:32:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
import numpy as np a = np.arange(24).reshape(2, 12) print('a: \n', a) print('a.ndim: ', np.ndim(a)) print('a.size: ', np.size(a)) print('a.itemsize: ', a.itemsize) print('a.nbytes: ', a.nbytes) # a.size * a.itemsize a.resize((4, 6)) print('a: \n', a) print('a.T: \n', a.T) b = np.array([1 + 2j, 3 + 4j])...
[ "noreply@github.com" ]
hellJane.noreply@github.com
c339385ca66b31cea1f6d8159b4c752061be43d9
0ed769285c3d0ee5c7b151ddb34a22f3cdcc7c56
/dataStructure/binaryTree.py
abcc12f02c5fc028f8bbe47e273683312f0288a0
[]
no_license
kikihiter/PythonLearning
881cd10befc46088ff97c4800dda77a0c7bd8e52
e6ff01e88e845c038b2576987231cfa4857e3796
refs/heads/master
2021-06-15T22:12:05.556306
2021-02-04T12:20:52
2021-02-04T12:20:52
128,873,551
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
#!user/bin/env python # python binaryTree.py # kiki 2018/08/15 #定义树节点 class treenode(object): def __init__(self, x): self.val = x self.left = None self.right = None #以列表建树 def buildTree(nodeList): maxsize = len(nodeList) def transRoot(root,n): #root.val = nodeList[n-1] ...
[ "noreply@github.com" ]
kikihiter.noreply@github.com
081643f230108d8c051aca67f280a047897b26f1
92b0e55b7671f875be84f8e76666bd6247601047
/myblog/myblog/settings.py
49a60ca5b87d708bace26c931d9c10f3be029cdb
[]
no_license
paulfranco/django-blog
e5b050951702b2a0c75100f9e7fa9c4f40152c25
49d1911e744dc2f8c43d59b7c3cd0bfca1fe31bd
refs/heads/master
2021-03-31T00:29:35.842962
2018-03-15T06:26:57
2018-03-15T06:26:57
125,023,058
0
0
null
null
null
null
UTF-8
Python
false
false
3,161
py
""" Django settings for myblog project. Generated by 'django-admin startproject' using Django 2.0.3. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # ...
[ "paulfranco@me.com" ]
paulfranco@me.com
c329b6dfcf443a49e66a2ab4d4c8a0d16ab74f38
f0f85ad672d67fb224dbff9789da4a4884363ff4
/redis/redis_conn.py
615bf69634494aa207d1f590f0551c71335611c7
[]
no_license
Brucehaha/justforfan
1e30e63f6d1c119495c2c8f528e4b43f0d0c1a9d
87e9305c73b6bac44dcc9dcfab329e54add390a0
refs/heads/master
2020-06-08T08:12:03.454899
2019-06-22T05:13:40
2019-06-22T05:13:40
193,193,861
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
import redis pool = redis.ConnectionPool(host='local', port=6379) r = redis.Redis(connection_pool=pool) # pipe = r.pipeline(transaction=False) pipe = r.pipeline(transaction=True) pipe.set('name', 'alex') pipe.set('role', 'sb') pipe.execute()
[ "henninglee2013@gmail.com" ]
henninglee2013@gmail.com
687554b7f6fd60a57a1a905ace5c6a70937f5611
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_enmeshing.py
7f6536c44cb234b61bdfe759fa9249b583e05f4a
[ "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
242
py
from xai.brain.wordbase.verbs._enmesh import _ENMESH #calss header class _ENMESHING(_ENMESH, ): def __init__(self,): _ENMESH.__init__(self) self.name = "ENMESHING" self.specie = 'verbs' self.basic = "enmesh" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ef0d96258126d20a484c0bf89a5129c3188a775f
65c0ef56c2e2c3e1646a610f49e6dd06f2c6102d
/src/libs/core/options/config.py
364af6c64613560c0b831324ce1f94fcd3d3c4eb
[ "MIT" ]
permissive
VirtualVFix/AndroidTestFramework
d3411f328a793ee7b007c4736983204aae81b739
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
refs/heads/master
2020-08-11T14:48:12.454415
2019-10-12T10:20:43
2019-10-12T10:20:43
214,582,560
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# All rights reserved by forest fairy. # You cannot modify or share anything without sacrifice. # If you don't agree, keep calm and don't look at code bellow! __author__ = "VirtualV <https://github.com/virtualvfix>" __date__ = "29/10/17 20:42" #: Options functions which may be registered OPTION_CLASS_FUNCTIONS_TO_RE...
[ "github.com/virtualvfix" ]
github.com/virtualvfix
ca0622b5f54cca55dc3b406f0b0f18999ec83663
a02b909f5f6223690791319fe707574beadb910d
/app/apps/user/migrations/0001_initial.py
80e2383d3a64262b61afd1d16e765e281d6553bb
[ "MIT" ]
permissive
tonyguesswho/jumga
ac2c5a629a5589534095c03055c851d41c74bfdf
fdcfc437578d48489fea2d3ab2f7c8711b6b231c
refs/heads/main
2023-02-20T19:54:50.196255
2021-01-21T20:01:22
2021-01-21T20:02:31
325,852,373
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
# Generated by Django 3.1.4 on 2021-01-01 12:47 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "anthonyugwu234@gmail.com" ]
anthonyugwu234@gmail.com
6c57a8efa13d14972b030f7aa30b2ceed8663316
15584806a532a956580cf53d785b511a93434999
/hc/front/tests/test_update_channel_name.py
4d6c92ffedf9c135e44c4237b935c9513e865bf2
[ "BSD-3-Clause" ]
permissive
pathcl/healthchecks
ce0b5db51b1eb0ee09cdde16817744f75b442b12
ffc45f0c74694d06679aefe3b92a0b0778473ca7
refs/heads/master
2022-10-10T06:38:45.931479
2020-06-04T12:07:34
2020-06-04T12:07:34
270,658,488
1
0
BSD-3-Clause
2020-06-08T12:22:48
2020-06-08T12:22:48
null
UTF-8
Python
false
false
1,955
py
from hc.api.models import Channel from hc.test import BaseTestCase class UpdateChannelNameTestCase(BaseTestCase): def setUp(self): super(UpdateChannelNameTestCase, self).setUp() self.channel = Channel(kind="email", project=self.project) self.channel.save() self.url = "/integration...
[ "cuu508@gmail.com" ]
cuu508@gmail.com
f4ea431a64ee3f7838cdbbd2108d6cc1468e93fa
8cfee59143ecd307fe7d7a27986c3346aa8ce60c
/AI/텐서플로우/Culculator.py
b205b26689dc86578d5e07185713bc6a9a4fe5f9
[]
no_license
kiminhan/Python
daafc1fde804f172ebfb1385ab9d6205c7a45970
dc6af486aaf7d25dbe13bcee4e115207f37d4696
refs/heads/master
2020-03-08T19:18:10.173346
2018-09-06T06:11:40
2018-09-06T06:11:40
128,288,713
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
import tensorflow as tf a = tf.constant(2) b = tf.constant(3) c = tf.constant(4) # add_op = a+b calc1_op = a+b+c calc2_op = (a+b)*c sess = tf.Session() res1 = sess.run(calc1_op) print(res1) res2 = sess.run(calc2_op) print(res2)
[ "rladlsgks4@naver.com" ]
rladlsgks4@naver.com
1837c5dbe40bbd4bf0f3d1f0a30512487cf985c8
4138be36f76f33815360ca74a3c80dd1b99bee19
/gm2m/version.py
2423d45762adf54b646fc7c637b9143b4873c930
[ "MIT" ]
permissive
mikewolfd/django-gm2m
e385385b56fb2faa2277e270884f65f60e62ab0c
a8cecc4d6d56c83e8d9c623888f5d07cb6ad8771
refs/heads/master
2021-08-22T23:32:17.459805
2017-07-19T02:11:21
2017-07-19T02:11:21
112,767,773
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
import subprocess __version_info__ = (0, 5, 0, 'alpha', 0) def get_version(version=__version_info__): dev_st = {'alpha': 'a', 'beta': 'b', 'rc': 'c', 'final': ''} assert len(version) == 5 assert version[3] in dev_st.keys() n = 2 + (version[2] != 0) version_str = '.'.join([str(v) f...
[ "thomas@ksytek.com" ]
thomas@ksytek.com
b9f95663d38ab0169b955255e7ae4b2067e2dd71
49c986c1a7351d51fd6654f09d4493fa8dffc6cd
/이코테/C14/26-1.py
fe6053891dec516f43820a2fd34b3b38ca73d5c7
[]
no_license
beomseok-kang/Algorithms-Python
53ca2cdbb718e2817eb0086662aea55cd3868559
e06a015e3a8c909643e2fa60808d5157fbb7c3bd
refs/heads/master
2022-12-24T04:42:04.586375
2020-10-03T09:09:23
2020-10-03T09:09:23
291,429,167
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
# n = int(input()) # cards = [] # for _ in range(n): # cards.append(int(input())) # cards.sort() # deck = cards[0] # total = 0 # for i in range(1, n): # deck += cards[i] # total += deck # print(total)
[ "beom.kang17@gmail.com" ]
beom.kang17@gmail.com
da4b2cc4c95455736c59ac302747f1b61bfc4676
d1d79d0c3889316b298852834b346d4246825e66
/blackbot/core/wss/ttp/art/art_T1105-4.py
f46695d149503bf3822a9067d51b69cb73662768
[]
no_license
ammasajan/Atomic-Red-Team-Intelligence-C2
78d1ed2de49af71d4c3c74db484e63c7e093809f
5919804f0bdeb15ea724cd32a48f377bce208277
refs/heads/master
2023-07-17T12:48:15.249921
2021-08-21T20:10:30
2021-08-21T20:10:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,877
py
from blackbot.core.utils import get_path_in_package from blackbot.core.wss.atomic import Atomic from terminaltables import SingleTable import os import json class Atomic(Atomic): def __init__(self): self.name = 'CommandControl/T1105-4' self.controller_type = '' self.external_id = 'T1105' ...
[ "root@uw2artic201.blackbot.net" ]
root@uw2artic201.blackbot.net
efa09c46e8ad81268a726dd39eb37072c9b713fe
515a97129ce1b2b8eecca4b2087fde8985b82d5b
/Code-Scraps/old_modules/SpiceBot/development/Define.py
67f9fe912044545244eab28f03bb76a117c0f9e8
[]
no_license
SpiceBot/scraps
3ad6e81ac75e2b6a684fea64eb7e75477b0f4f63
90125e1397b57ac87cae5f3e506363aa04ddffdc
refs/heads/master
2020-05-02T21:51:01.297114
2019-03-28T15:38:28
2019-03-28T15:38:28
178,232,887
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
#!/usr/bin/env python # coding=utf-8 from __future__ import unicode_literals, absolute_import, print_function, division import sopel.module import sys import os moduledir = os.path.dirname(__file__) shareddir = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) sys.path.append(shareddir) from BotShared import ...
[ "sam@deathbybandaid.net" ]
sam@deathbybandaid.net
2d55e059b18911342e1e07a02585f72b0bc2f597
4a04459da0bb672087151eb2bd15ffa67fd91edf
/utils.py
353c056a40f1b327bdb230affdc4677a5095a869
[]
no_license
rtavenar/hdp_traj
9088ffd30083fee56c373a9e461157b8ec2b53f1
2c8a1e1025b06496f9e702d049adcd4203cedc8b
refs/heads/master
2020-03-22T20:00:22.014641
2018-07-11T12:29:09
2018-07-11T12:29:09
140,567,278
0
0
null
null
null
null
UTF-8
Python
false
false
2,647
py
import json import csv import numpy from gensim.corpora import Dictionary __author__ = 'Romain Tavenard romain.tavenard[at]univ-rennes2.fr' def read_traj_ais(fname): traj_json = json.load(open(fname, "r")) print(traj_json) def read_traj_synthetic(fname): traj_csv = [] for obs in csv.DictReader(open...
[ "romain.tavenard@univ-rennes2.fr" ]
romain.tavenard@univ-rennes2.fr
4c54519bfdeb7f513aae49b4e1651c899bb3ffd7
bd201c7750f8918dfafadc11a4b5d3e8bee27a4e
/stdlib/3/multiprocessing/managers.pyi
692fb2eb37747d426d2eb6536fdc011ea0178e87
[ "MIT", "Apache-2.0" ]
permissive
o11c/typeshed
7cdcd90c85c8220872014bf03d66504c08edb422
e4a7edb949e0b920b16f61aeeb19fc3d328f3012
refs/heads/master
2020-12-11T09:06:38.502097
2015-10-12T22:27:37
2015-10-12T22:28:04
44,358,157
1
0
null
2015-10-16T02:41:17
2015-10-16T02:41:17
null
UTF-8
Python
false
false
179
pyi
# Stubs for multiprocessing.managers # NOTE: These are incomplete! from typing import Any class BaseManager(): def register(typeid: str, callable: Any = None) -> None: ...
[ "kramm@google.com" ]
kramm@google.com
d4653297bc9caa7309ff00f64dd9530d31df6198
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_34/354.py
92da73b61d3b6afaeb091dad5f185a4378475334
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
#!/usr/bin/python import sys def parse(f): L, D, N = map(int, f.readline().rstrip().split(' ')) words = [] for d in range(D): words.append(f.readline().rstrip()) pats = [] for n in range(N): pats.append(pat2sets(f.readline().rstrip())) return (L, D, N, words, pats) def match(word, pat): retu...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
7f51c86609aee9eb9a24ab9df8125c19c3aae964
cbf37e782425e378676814be6b41fab5596ded65
/frontend/pysheep/benchmark_utils.py
0d8269fd9ffb91f29f0dfa39dcce9024c31ff79e
[ "MIT" ]
permissive
PhilipTurk/SHEEP
7c971fcdd6002b385208eba6701d83ed2817f415
b0c95516184536cafe5111438b93fa8140538f22
refs/heads/master
2020-06-18T07:56:49.710405
2019-02-18T15:45:13
2019-02-18T15:45:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,945
py
""" A set of scripts, likely to be run via Jupyter notebook, to allow setting input and parameter values to temporary files, and running the benchmark job. """ import requests import os, uuid import random import re from . import common_utils from . import sheep_client from .database import BenchmarkMeasurement, Tim...
[ "nbarlow@turing.ac.uk" ]
nbarlow@turing.ac.uk
567e2ea5e21f4285f7b0f912163c86e87c0d96b0
3bd961816fe9b9048108f8a5a254b931dd79bde4
/manga_py/providers/darkskyprojects_org.py
8a4b9ebdcacde83e810bd893d190a2583bd43bcf
[ "MIT" ]
permissive
eduhoribe/manga-py
6243115549d78c1599c6b043fe7cd897e2f517d3
fe7eb2e08532b3c75b4f7ac8cc4132f0e7a65eb4
refs/heads/stable_1.x
2023-01-14T01:48:34.873530
2020-11-17T04:30:15
2020-11-17T04:30:15
307,992,359
1
0
MIT
2020-11-15T00:00:45
2020-10-28T11:18:18
Python
UTF-8
Python
false
false
981
py
from manga_py.provider import Provider from .helpers.std import Std class DarkSkyProjectsOrg(Provider, Std): def get_archive_name(self) -> str: return self.normal_arc_name({'vol': [ self.chapter_id, self.get_chapter_index() ]}) def get_chapter_index(self) -> str: ...
[ "sttv-pc@mail.ru" ]
sttv-pc@mail.ru
cab8341c8c0253e63a00f518c4bfcfca88a0eb37
09ae3f372d1000f118ad80874870ae420a4be66f
/scikit-learn-master/benchmarks/bench_tsne_mnist.py
fafc3d2ea236bf0449bdab1416a61193a6b9da29
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
lqkweb/learnMLflow
998f80c3828879b8d542125bc95c6345b8e9b29a
13c5decaebba95b1b90f92021be35e343b4764af
refs/heads/master
2022-10-18T06:17:23.584172
2019-01-18T09:51:38
2019-01-18T09:51:38
166,145,472
2
0
Apache-2.0
2022-09-30T18:26:17
2019-01-17T02:22:29
Python
UTF-8
Python
false
false
6,062
py
""" ============================= MNIST dataset T-SNE benchmark ============================= """ from __future__ import division, print_function # License: BSD 3 clause import os import os.path as op from time import time import numpy as np import json import argparse from joblib import Memory from sklearn.dataset...
[ "leiqk@dxy.cn" ]
leiqk@dxy.cn
1d730d3ab851f25cfa928817cc51c692d01d9359
269308cb9ca28bdf1f3a42106f819ce8c25533c8
/numcodecs/tests/test_vlen_utf8.py
314d6f512e3c4575d867bdd482973ff3b6203b05
[ "MIT" ]
permissive
jrbourbeau/numcodecs
43163e6f8a549e90cf8c190c09c1bb562ad2227a
91416a1d8fc351c2687a60cecd8c5bf024f2cb11
refs/heads/master
2022-08-02T03:56:54.887939
2020-03-08T23:40:21
2020-03-08T23:40:21
250,308,727
0
0
MIT
2020-03-26T16:15:36
2020-03-26T16:15:35
null
UTF-8
Python
false
false
2,625
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, division import unittest import numpy as np import pytest from numcodecs.compat import PY2 try: from numcodecs.vlen import VLenUTF8 except ImportError: # pragma: no cover raise unittest.SkipTest("vlen-utf8 not available") from ...
[ "alimanfoo@googlemail.com" ]
alimanfoo@googlemail.com
a3ca1a3a6e2dce981ecc9f6e7a953f95c965084e
f1a1990df35843ad716c08602acdb2b209652ab3
/algorithm/leetCode/0145_binary_tree_postorder_traversal.py
815164338c359bec1a9f66015017a96d4dba7d76
[]
no_license
dictator-x/practise_as
e3f3de6fe6b87a87680130766e6c54b92e810d61
fe30d8ca54309caff975684648495ea953022048
refs/heads/master
2021-01-01T23:32:07.843212
2020-07-31T18:42:07
2020-07-31T18:42:07
239,390,181
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
""" 145. Binary Tree Postorder Traversal """ from typing import List class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def postorderTraversal(self, root: TreeNode) -> List[int]: if not root: ret...
[ "dictator.xwu@gmail.com" ]
dictator.xwu@gmail.com
79d544736f93e823ffccf10a4a3ace9ac5120017
fea398a9638acdfa2fb06e7a9695d5894452ded7
/0x08-python-more_classes/4-rectangle.py
431bbb3a903aa7ab5fdc0f45613564921d0be105
[]
no_license
OscarDRT/holbertonschool-higher_level_programming
d15585aa93ced9bc04464ced9bfd4197e73c42fa
f57ef3344df6350bded78ffce975eea693e67727
refs/heads/master
2020-09-30T19:56:30.788311
2020-05-14T19:52:10
2020-05-14T19:52:10
227,360,960
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
#!/usr/bin/python3 class Rectangle: def __init__(self, width=0, height=0): self.width = width self.height = height @property def width(self): return self.__width @width.setter def width(self, value): if type(value) != int: raise TypeError("width must be ...
[ "oscarnetworkingpro@gmail.com" ]
oscarnetworkingpro@gmail.com
261438704a7e191fcdc5cc9e86f4579f1aecd75a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/1873.py
4afdd457fea3574c1cbf8f151ac6f7f789a462e8
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
from _hashlib import new fin = open('a.in', 'r') out = open('a.out','w') n = int(fin.readline()) print(n) for i in range(n): line = fin.readline() c, f, x = map(float, line.split()) print('%f %f %f' % (c, f, x)) t_farm = 0 v = 2 t = x / v while True: t_farm += c / ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
f6f42bcd050a043ae54ca35f43efc7e5e00f3a78
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_7/gdnzik001/push.py
66b182914ecdd3a9b7a0e0a65c17583d0c7040d3
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
5,181
py
"""Program to write functions to repeatedlymerge adjacent numbers in a grid Zikho Godana 01 May 2014""" height=4 def push_up(grid): """merge grid values upwards""" for row in range(height): for col in range(height): if row>0: if grid[row][col]!=0: ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
e972400ea0f2c92efb2e6aee0059c6c2864bc893
ca045f22bc2660a24d44ecacdb41f7a646df3d19
/src/exemplos/5_EstruturasDeDados/4_Vetor/0-vetor.py
b2985d296442defe6579067ff03243bda6641364
[]
no_license
gabriel1997castro/CIC-APC
db7e4114bfa0925e976b64638cac9e94845d8376
217f66ab04b0529886d2ef22ce1de15103440ba3
refs/heads/master
2020-12-25T11:32:06.276710
2016-01-27T02:57:24
2016-01-27T02:57:24
50,466,976
0
0
null
2016-01-26T23:32:49
2016-01-26T23:32:49
null
UTF-8
Python
false
false
582
py
# -*- coding: utf-8 -*- # @file: 0-vetor.py # @author: Guilherme N. Ramos (gnramos@unb.br) # @disciplina: Algoritmos e Programação de Computadores # # Exemplo uso de vetor. Em Python, vetores são implementados como listas. vetor = [0]*10 for i in range(10): vetor[i] = input("Digite o " + str(i) + "-ési...
[ "ramos@gnramos.com" ]
ramos@gnramos.com
c814d3a6232b2112094c4cbcddffcd370e861c18
c5d87c7f25e3fe9b17c1e88993b0ed6831e52acb
/GdalDemo/raster_to_line_gdal.py
2a5eb97dd7b51669002234ca1d2c6ddc8965d914
[]
no_license
GIS90/python_base_use
e55d55f9df505dac45ddd332fb65dcd08e8e531f
7166ca85975bb7c56a5fbb6b723fd8300c4dd5d1
refs/heads/master
2020-04-02T08:33:49.461307
2018-10-23T03:33:41
2018-10-23T03:33:41
154,249,857
1
1
null
null
null
null
UTF-8
Python
false
false
2,984
py
# -*- coding: utf-8 -*- """ ------------------------------------------------ @version: ?? @author: PyGoHU @contact: gaoming971366@163.com @software: PyCharm Community Edition @file: raster_to_line_gdal.py @time: 2016/8/30 21:07 @describe: @remark: ------------------------------------------------ """ ...
[ "mingliang.gao@qunar.com" ]
mingliang.gao@qunar.com
66208c13a8a48543715a5df8cd17da06b132cedd
caf8cbcafd448a301997770165b323438d119f5e
/.history/chapter01/variable_20201121083035.py
3a5c146727d4972d5616a37a433e4a3dd5f6eded
[ "MIT" ]
permissive
KustomApe/nerdape
03e0691f675f13ce2aefa46ee230111247e90c72
aef6fb2d1f8c364b26d91bf8570b4487a24de69a
refs/heads/main
2023-01-23T10:13:26.584386
2020-11-28T22:29:49
2020-11-28T22:29:49
309,897,105
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
# 整数型、文字型、浮動小数点型 # int()型、str()型、float()型 # トップス、ボトムス、下着類 1234 # シングルクオート 'エル' # ダブルクオート "nerdape" 1.23 4.56 num = 1234 # print()関数 print(num) # 関数はミニプログラム # print() python側が用意した関数 strings = 'nerdape' print(strings) syosu = 1.23 print(syosu)
[ "kustomape@gmail.com" ]
kustomape@gmail.com
f7b707cbc41e7395a24fbc3dadb151baf3c71383
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2939/60586/292859.py
290e192394c038ed5faf9243217b250a63dc34b5
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
344
py
s=input() if s=="10 5": print(1379151719313335) print(95719313335,end="") elif s=="2 1": print(13) print(3,end="") elif s=="11 2": print(137915171931333539) print(7915171931333539,end="") elif s=="5 4": print(137915) print(95,end="") elif s=="6 3": print(13791517) print(91517,en...
[ "1069583789@qq.com" ]
1069583789@qq.com
64fa38b617fe44d36ee67b87aeed2182e73630ac
5bfbf31332a5c4750ab57d305f400aa5e20bf6bd
/contrib/great_expectations_zipcode_expectations/great_expectations_zipcode_expectations/expectations/expect_column_values_to_be_valid_wyoming_zip.py
3e946f18fccdfa821bc52a4eb7e30dda44e9f54c
[ "Apache-2.0" ]
permissive
alexsherstinsky/great_expectations
9d4ae4c06546c5ab2ee0d04fb7840e3515c25677
2fc4bb36a5b3791c8ada97c5364531cd7510d4ed
refs/heads/develop
2023-08-04T13:13:38.978967
2023-07-24T18:29:46
2023-07-24T18:29:46
203,888,556
1
0
Apache-2.0
2020-07-27T09:12:21
2019-08-22T23:31:19
Python
UTF-8
Python
false
false
5,522
py
from typing import Optional import zipcodes from great_expectations.core.expectation_configuration import ExpectationConfiguration from great_expectations.execution_engine import PandasExecutionEngine from great_expectations.expectations.expectation import ColumnMapExpectation from great_expectations.expectati...
[ "noreply@github.com" ]
alexsherstinsky.noreply@github.com
baf16103f503fef39e3e408f23a04df4659d3180
f06cf7cf7fe12a50f45edbd56b20acfc28606a44
/String/window_containing_other_string.py
5926a5fff4bc0c2a36ef88be9bfd3f507566f9f3
[]
no_license
prashant97sikarwar/data-structure-and-algorithms
53e016e50cf2ba26d2504f5a5f1ba39ca35f13f4
3ebe367c96a7bd82a427fc2beb7c8edd37247de7
refs/heads/master
2023-01-18T16:15:44.935431
2020-11-22T14:59:54
2020-11-22T14:59:54
257,667,068
0
0
null
2020-10-02T09:59:27
2020-04-21T17:32:43
Python
UTF-8
Python
false
false
1,361
py
no_of_chars = 256 def findSubString(string, pat): len1 = len(string) len2 = len(pat) if len1 < len2: return '-1' hash_pat = [0] * no_of_chars hash_str = [0] * no_of_chars for i in range(0, len2): hash_pat[ord(pat[i])] += 1 start, start_index, min_len ...
[ "prashant97sikarwar@gmail.com" ]
prashant97sikarwar@gmail.com
038915243b736c9738f8fcd95affaeb04cb7960a
a6851ef213c7657ba5289a063cd4cdb5bf76fa4d
/picarus/api/hadoop/row_check.py
035f0ee3869fbe8eeacdce53f4f0b45a8f197ae8
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
strategist922/picarus
9efac9d0311f43575d514db974b32974ecc14478
722489d26906f183964bc589e9326c1f3d60d5ca
refs/heads/master
2021-01-18T09:01:20.093362
2013-03-24T05:23:11
2013-03-24T05:23:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,497
py
import hadoopy_hbase import logging import time import tempfile import zlib import json import os import random import numpy as np import imfeat import picarus.modules import picarus.api logging.basicConfig(level=logging.DEBUG) a = hadoopy_hbase.connect() #hrc = picarus.modules.HashRetrievalClassifier() #hrc.load(open...
[ "bwhite@dappervision.com" ]
bwhite@dappervision.com
653ca1bf1316dac74d674bb4627483ffdd8f397c
dbde211b68ba49790e664764cca6029790297f7c
/LeetCode/1678. Goal Parser Interpretation(EASY).py
54e309394387ddd73c1d452937353435248b730c
[]
no_license
ineed-coffee/PS_source_code
6706eb29e7d38336ee98875589596e760ab46686
4ecd0a40cc73207d19d43c558983943b86a929aa
refs/heads/master
2023-05-22T07:34:15.407371
2021-06-14T09:59:44
2021-06-14T09:59:44
279,225,203
1
0
null
null
null
null
UTF-8
Python
false
false
185
py
class Solution: def interpret(self, command: str) -> str: command = command.replace("()","o") command = command.replace("(al)","al") return command
[ "leey93ssu@gmail.com" ]
leey93ssu@gmail.com
07b6f7a525d488abab39c01eb84de93b903bc646
875188967ac96bdabc2780983ef2db32c8c727ef
/ebirdtaiwan/home/migrations/0010_homepage.py
9b8995665be006bffbc5be724ff2dd270516dde5
[ "MIT" ]
permissive
even311379/EbirdTaiwan2020
b57ef8db79ef0d6b452016b6aa48bee2afe227b2
2c1aa4d7346b5ade909d45f7c245fa4988394124
refs/heads/master
2022-12-28T01:04:48.431595
2020-10-16T15:03:52
2020-10-16T15:03:52
289,954,202
0
0
null
null
null
null
UTF-8
Python
false
false
788
py
# Generated by Django 3.1 on 2020-09-08 13:47 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('wagtailcore', '0052_pagelogentry'), ('home', '0009_auto_20200908_2138'), ] operations = [ migrations....
[ "even311379@hotmail.com" ]
even311379@hotmail.com
a17edd87c7f235acfc31cbb7abd7ced8d5902b20
5e8832e7a49e121c4db1f57d036fe39b4250246a
/49_group_anagrams.py
863f2372b660daad23dea6be24586b3e0811c96d
[]
no_license
shaniavina/Leetcode_Python
9e80477794cd80e00a399d65b76088eea41d80d1
185bf1542265f5f4feca2e937d1d36a7bb4a5d2b
refs/heads/master
2022-10-12T10:56:23.476219
2022-09-21T01:53:40
2022-09-21T01:53:40
52,979,850
1
0
null
null
null
null
UTF-8
Python
false
false
377
py
class Solution(object): def groupAnagrams(self, strs): """ :type strs: List[str] :rtype: List[List[str]] """ dic = {} for word in strs: key = ''.join(sorted(word)) if key in dic: dic.get(key).append(word) else: ...
[ "noreply@github.com" ]
shaniavina.noreply@github.com
354e0d75da15bcd6c207b6eccefa9f11de0a7aff
a0788b4020ab5e16917d551a0c9a13d26fe99eeb
/blogProject/blogProject/settings.py
7f593cdd71d7c561b136f7bc987ca10aed6e8864
[]
no_license
AnaRya/roocklab
29a10b08979d7355358438ee8f82e461e57d44e4
5e0eaf3cdfe0062e85193d567e451bac835e1575
refs/heads/master
2020-03-10T14:21:31.064981
2018-05-04T15:32:07
2018-05-04T15:32:07
129,424,364
0
0
null
null
null
null
UTF-8
Python
false
false
5,764
py
""" Django settings for blogProject project. Generated by 'django-admin startproject' using Django 1.11.12. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ impo...
[ "alexander.ksenzov@gmail.com" ]
alexander.ksenzov@gmail.com
2974667ca9e8f180b7ad93777c9ed504e13ef974
0b25b1c2ea3e3f05ea388e1105cd2fab50e7ba54
/educa/courses/fields.py
684dbf20b0097d4f01ef64e5746ed9a45802f2dd
[]
no_license
webclinic017/Django-project
f8337aeb296d12760143951635d0297c13313a50
e757aef633c63aaf857afd1f274d42d16703ca0c
refs/heads/master
2022-12-25T17:30:14.503627
2020-10-12T08:47:08
2020-10-12T08:47:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
from django.db import models from django.core.exceptions import ObjectDoesNotExist class OrderField(models.PositiveIntegerField): def __init__(self, for_fields=None, *args, **kwargs): self.for_fields = for_fields super(OrderField, self).__init__(*args, **kwargs) def pre_save(self, model_instance...
[ "moreshubham203@gmail.com" ]
moreshubham203@gmail.com
c8bcc7374ef071ad76b487a101213e862cb29696
fa0c53ac2a91409eaf0fc7c082a40caae3ffa0d8
/com/lc/python_1_100_Days_Demo/Day01-15/Day09/code/association.py
b0102062cfcb0367215d76df010b7eae701a7890
[]
no_license
ahviplc/pythonLCDemo
aba6d8deb1e766841461bd772560d1d50450057b
22f149600dcfd4d769e9f74f1f12e3c3564e88c2
refs/heads/master
2023-07-24T01:41:59.791913
2023-07-07T02:32:45
2023-07-07T02:32:45
135,969,516
7
2
null
2023-02-02T03:24:14
2018-06-04T04:12:49
Python
UTF-8
Python
false
false
1,219
py
""" 对象之间的关联关系 Version: 0.1 Author: LC DateTime:2018年9月18日13:44:19 一加壹博客最Top-一起共创1+1>2的力量!~LC LC博客url: http://oneplusone.top/index.html """ from math import sqrt class Point(object): def __init__(self, x=0, y=0): self._x = x self._y = y def move_to(self, x, y): self._x = x self._y = y def move_by(sel...
[ "ahlc@sina.cn" ]
ahlc@sina.cn
ecd7eb43d41377ac0a53abedcbd892cd457d7a32
d1742451b25705fc128acc245524659628ab3e7d
/Team Forming Contest/Technocracy/TFC3/G - Search for Pretty Integers.py
989bb43b507b62821dc5fabe0c7ee87bdac51d62
[]
no_license
Shovon588/Programming
ebab793a3c97aedddfcad5ea06e7e22f5c54a86e
e4922c9138998358eed09a1be7598f9b060c685f
refs/heads/master
2022-12-23T18:29:10.141117
2020-10-04T17:29:32
2020-10-04T17:29:32
256,915,133
1
0
null
null
null
null
UTF-8
Python
false
false
136
py
n, m = input().split() a = set(input().split()) b = set(input().split()) print(min(a&b) if a&b else min(min(a)+min(b), min(b)+min(a)) )
[ "mainulislam588@gmail.com" ]
mainulislam588@gmail.com
f6926e5182a10a81d659899e3c70e7cc751ae5b0
f0dc3453e34ca25f15eef001d207ef2b03459bdb
/project/ximalaya/download.py
7a1590116fe278a6fc7c0009f6cb6c3e27a36e80
[]
no_license
vonboe/Py3Crawler
b2723d85b8470efa8baf5c3d24200deced290685
c8e1807ef0fb3f5eb489dc9b1b64854bfd1621d5
refs/heads/master
2021-01-05T14:22:51.169965
2019-11-18T04:55:39
2019-11-18T04:55:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,518
py
# -*- coding:UTF-8 -*- """ 指定喜马拉雅歌曲下载 https://www.ximalaya.com/ @author: hikaru email: hikaru870806@hotmail.com 如有问题或建议请联系 """ import tkinter from tkinter import filedialog from common import * from project.ximalaya import ximalaya def main(): # 初始化 ximalaya_class = ximalaya.XiMaLaYa(extra_sys_config={crawle...
[ "hikaru870806@hotmail.com" ]
hikaru870806@hotmail.com
4d4b4f92f6a93179ed8211e013c1ab35569774b4
ef6ba1ba86a3da26382eab0e163e49ee9b3395d1
/setup.py
7d5cc0a27fc0845e3108c0743b10173fae0b81f6
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
effigies/texext
3976b700c3606440dd13a6e5c7c85bb8e27f85dd
545ecf3715ab43bfb95859861fbb17af1fef512d
refs/heads/master
2021-02-18T06:29:46.076604
2019-12-31T14:07:02
2019-12-31T14:07:02
245,170,805
0
0
NOASSERTION
2020-03-05T13:30:11
2020-03-05T13:30:10
null
UTF-8
Python
false
false
2,291
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Installation script for texext package ''' import sys # For some commands, use setuptools. if len(set(('develop', 'bdist_egg', 'bdist_rpm', 'bdist', 'bdist_dumb', 'install_egg_info', 'egg_info', 'easy_install', 'bdist_wheel', 'bdist_mpkg')).inte...
[ "matthew.brett@gmail.com" ]
matthew.brett@gmail.com
b4237b96ac27bd562907fc498ead282303714c96
482ec3480e8418dda62f85a5359e70c89256f1a8
/pythonTutorial/udemy/mysite/posts/forms.py
0a3ed04de7edf3c93bedb62340cb3b0b3efb83fa
[]
no_license
rajatgirotra/study
84d319968f31f78798a56362546f21d22abd7ae7
acbb6d21a8182feabcb3329e17c76ac3af375255
refs/heads/master
2023-09-01T20:48:31.137541
2023-08-29T01:41:17
2023-08-29T01:41:17
85,041,241
6
1
null
2023-05-01T19:25:38
2017-03-15T07:17:24
C++
UTF-8
Python
false
false
312
py
from django import forms from .models import Post class PostForm(forms.ModelForm): class Meta: # tell django which model you are using model = Post # tell django which fields out of the Post model you are using fields = [ 'title', 'content' ]
[ "rajatgirotra@yahoo.com" ]
rajatgirotra@yahoo.com
3adeb9987ffcd360be40a5d48b18b8618aa98f6b
b911843074e06707c4404588e78c78dfe11d6742
/Fundamentals/session03/homework/serious_2_6.py
d462b77c8acdf9972e7c5aaab9e8ad23784f846f
[]
no_license
AnhQuann/nguyenanhquan-fundameltal-c4e14
afc4ea5d108729231357057a62ae3be81b183b6c
2f0edb00a2b79f28d4f85786ee008845489b7b0f
refs/heads/master
2021-09-03T16:46:41.976317
2018-01-10T14:54:14
2018-01-10T14:54:14
111,936,679
0
1
null
null
null
null
UTF-8
Python
false
false
812
py
ship_size = [5, 7, 300, 90, 24, 50, 75] print('Hello, my name is Hiep and these are my ship sizes') print(ship_size) print() for month in range(3): print('MONTH', month+1, ":") for j in range(len(ship_size)): if ship_size[j] == max(ship_size): ship_size[j] = 8 break print(...
[ "anhquan19051905@gmail.com" ]
anhquan19051905@gmail.com
d5dfbed03389f2665478f79d9cd76d9eac9dab74
a2e852a19d3b3e1b5c4915f51600a8fbf81bdc49
/INICIANTE/1866 - Conta.py
f2d13d3f0992945d26c257d010f6be677a06f37d
[]
no_license
VGasparini/URIOnline
0eace9f1afed08e69bde2667b5f08448e4bb6ec8
b4386a16cbeb38e5ab35e85fadd46657cb030c6a
refs/heads/master
2021-01-18T20:51:29.571536
2018-11-02T17:18:54
2018-11-02T17:18:54
86,994,289
1
1
null
2022-12-18T16:53:56
2017-04-02T15:10:05
Python
UTF-8
Python
false
false
251
py
# Autor: [loopTree] VGasparini 🎈<gasparini.vinicius@hotmail.com> # Nome: Conta # Nível: 1 # Categoria: INICIANTE # URL: https://www.urionlinejudge.com.br/judge/pt/problems/view/1866 n = int(input()) for i in range(n): print(int(input())%2)
[ "noreply@github.com" ]
VGasparini.noreply@github.com
a768c197f611074c07e6a03ff40b7d7637e91545
2269285e9f2d54df990b716f145fb5c464bf1583
/TargetDetection/TargetDetection/TargetModels/faster_rcnn/network_files/boxes.py
62fedb132a8ffb80d58ecb913887a040534b629b
[]
no_license
Scottyoung99/ASL-Detection
6178f09d967619b7b762d1d519114c1fbb67ade6
36e5dba973c8a0192f4918a44ed6dcbdd7f17c75
refs/heads/main
2023-02-25T10:31:50.489391
2021-01-17T09:57:22
2021-01-17T09:57:22
330,075,490
2
1
null
null
null
null
UTF-8
Python
false
false
6,166
py
import torch from torch.jit.annotations import Tuple from torch import Tensor import torchvision def nms(boxes, scores, iou_threshold): # type: (Tensor, Tensor, float) -> Tensor """ Performs non-maximum suppression (NMS) on the boxes according to their intersection-over-union (IoU). NMS iterative...
[ "709223294@qq.com" ]
709223294@qq.com
984391c6fff45ab54d193f9a90e5385a3861032f
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Cetrotide_WC500024863.1.py
c563861fef604bef618ecfe994ce4e9ca87bede5
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
{'_data': [['Common', [['Reproductive system', u'Milt till m\xe5ttligt ovariellt hyperstimuleringssyndrom (WHO grad I eller II) kan f\xf6rekomma, vilket \xe4r en inneboende risk vid stimuleringsbehandling (se avsnitt 4.4.)'], ['General', u'Lokala reaktioner vid in...
[ "daro@daro-ThinkPad-X220.(none)" ]
daro@daro-ThinkPad-X220.(none)
d7ec2bc09ddd386c3f17b5adf8ab109966e02bc7
505dc9404c89e56aea70f2db9fc1b3fb311fc5d9
/usr/lib/enigma2/python/Components/Renderer/speedyAnimatedWeatherPixmap.py
08cd3bb41e6663b49550e6f9e1655c831c3f7a8d
[]
no_license
e2plugins/4ATV_speedy_blue
ae8181ed4017beb4b48e58fe7cbbcbe2a1696057
c84da50a0d872a2e74812214eed5532ed0893534
refs/heads/master
2022-11-14T17:09:41.134795
2020-07-12T06:24:24
2020-07-12T06:24:24
277,350,143
1
0
null
null
null
null
UTF-8
Python
false
false
2,801
py
# by nikolasi for maggy from Tools.LoadPixmap import LoadPixmap from Components.Renderer.Renderer import Renderer from enigma import ePixmap, eTimer from Tools.Directories import fileExists import os class speedyAnimatedWeatherPixmap(Renderer): __module__ = __name__ def __init__(self): Renderer.__init...
[ "captain.onboard@web.de" ]
captain.onboard@web.de
5de682c552b890bdfef3c21fff27a5281dd42367
625d113273cf9bd6474e8ac12cd8afe2e4f8d50b
/Mono Captcha.py
3aae814990a93fce5a203be2e44e39fbdac05207
[]
no_license
hrvach/CheckiO
9e4b04cf93c8f4da7bd61b55a3cf9bdcaea0836f
d25bbdb3b33441f45f4b587fd2a651c5c086484a
refs/heads/master
2020-03-25T02:25:57.273381
2018-08-02T12:13:28
2018-08-02T12:13:28
143,289,238
3
1
null
null
null
null
UTF-8
Python
false
false
476
py
# migrated from python 2.7 font=[list(map(int, list(bin(x)[2:].zfill(15)))) for x in [31279,9184,20157,18107,28831,30386,15031,20120,32447,14014]] def checkio(a): sliding_window = [sum(x,()) for x in zip(zip(*a)[1:],zip(*a)[2:],zip(*a)[3:])[::4]] correlation_index = [[sum([i[0]==i[1] for i in zip(a[0],a[1])]) ...
[ "github@hrvoje.org" ]
github@hrvoje.org
376fe88a34bc9e08f8d10ae35c8e14c23e5adf56
da41330635bf649be367c2aeb0883998c1ebab8b
/unsupported/tests/test_nifti.py
175f868855cbfbad29c71d635d9e0ced7fdde85c
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
NDAR/NITRC-Pipeline-for-NDAR
1c849d4e43d8b25279cf9a42a39c290c399213dc
1a495df9f5d019a927566629fe89dd474fc25f78
refs/heads/master
2021-01-17T12:13:42.764506
2014-11-14T16:24:41
2014-11-14T16:24:41
22,345,036
5
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
import os import nose.tools import ndar def test_nifti_nifti(): """image is already a NIfTI-1 file""" im = ndar.Image('test_data/06025B_mprage.nii.gz') assert im.nifti_1 == im.path(im.files['NIfTI-1'][0]) def test_nifti_unzipped_nifti(): """image is already an uncompressed NIfTI-1 file""" im = nda...
[ "christian.haselgrove@umassmed.edu" ]
christian.haselgrove@umassmed.edu
af41c409dfc2cfd9e8bfaee8c7eed3e475362bfd
c7d91529db199322e39e54fe4051a75704ea843e
/剑指/二刷/和为s的两个数字_S.py
44c0310ec520753d2ba90f52a45ec64cd36a1b48
[]
no_license
2226171237/Algorithmpractice
fc786fd47aced5cd6d96c45f8e728c1e9d1160b7
837957ea22aa07ce28a6c23ea0419bd2011e1f88
refs/heads/master
2020-12-26T07:20:37.226443
2020-09-13T13:31:05
2020-09-13T13:31:05
237,431,164
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
''' 输入一个递增排序的数组和一个数字s,在数组中查找两个数,使得它们的和正好是s。 如果有多对数字的和等于s,则输出任意一对即可。 示例 1: 输入:nums = [2,7,11,15], target = 9 输出:[2,7] 或者 [7,2] 限制: 1 <= nums.length <= 10^5 1 <= nums[i] <= 10^6 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/he-wei-sde-liang-ge-shu-zi-lcof 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 ''' class Solution(obj...
[ "2226171237@qq.com" ]
2226171237@qq.com
9d8ef2b1ca53baf6d7d5c45d4d20a6bc444ba72e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/233/48801/submittedfiles/testes.py
ead7cc65185c9c9a97a0bddaac1954289e5b6aa8
[]
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
158
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO n=int(raw_input('Digite um número: ')) for list in range(1,n+1,1): print(list)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
01cd341314d19eb545e3fd58afa29886bb33895c
59b492bb248b50bf23950d4ff68f444b650805ec
/src/StacksQueues/impl.loopqueue/LQueue.py
79ce55782baaad36bcdd316409d631a599fc9a6b
[]
no_license
mtianyan/AlgoPlay
be9ec594015508801739b334e2017701813ccfd8
166106dbb71cf8a0a8495e08174f97a48a0fa8c6
refs/heads/master
2023-02-21T08:59:47.475121
2021-01-15T22:33:12
2021-01-15T22:33:12
325,931,862
2
0
null
null
null
null
UTF-8
Python
false
false
1,731
py
# -*- coding: utf-8 -*- # NOTE: 从 array_and_list 第一章拷贝的代码 class Array(object): def __init__(self, size=32): self._size = size self._items = [None] * size def __getitem__(self, index): return self._items[index] def __setitem__(self, index, value): self._items[index] = val...
[ "1147727180@qq.com" ]
1147727180@qq.com
a1fb84876c043a7bd9d94001909e12b108b88298
4c36958358221cc18437833c6f269840b52e52f4
/pipeline.py
166f5d463f01f7ed615063e50ae7f9f8b5519d71
[]
no_license
shank16/advance-lane-finding
0ad5239a17d9b5f47699e6b95abafb29547c5002
a6828bfe1119edee9c18a54422ec3068b49acb2d
refs/heads/master
2021-06-14T18:22:59.616634
2017-03-17T22:27:58
2017-03-17T22:27:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,469
py
import cv2 from utils import draw_windows from utils import CameraCalibrator, ProjectionManager, LineTracker, ImageFilter, DiagnosticMgr from moviepy.editor import VideoFileClip def process_image(frame): global cam_calibration global img_filter global projmgr global curve_centers global debug ...
[ "tdat.nguyen93@gmail.com" ]
tdat.nguyen93@gmail.com