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
cc8073a006724d4c3a463c9da8af11bbef0e2d5c
19136335b7e88324546fdfed45b4d0b22042202c
/rplugin/python3/deoplete/filter/converter_truncate_menu.py
90a331d0f918b01825f96575468fc8be3376b89e
[ "MIT" ]
permissive
nholik/deoplete.nvim
3074fa3cdd5a8a2df5f300d0ac74fedde6555fdf
614cd3ddf1f352c977f3405e809d967093571117
refs/heads/master
2020-05-27T18:05:59.540419
2019-05-26T22:26:41
2019-05-26T22:26:41
188,736,112
0
0
NOASSERTION
2019-05-26T22:06:01
2019-05-26T22:06:01
null
UTF-8
Python
false
false
1,034
py
# ============================================================================ # FILE: converter_truncate_menu.py # AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> # License: MIT license # ============================================================================ from deoplete.base.filter import Base from deop...
[ "Shougo.Matsu@gmail.com" ]
Shougo.Matsu@gmail.com
2a2d1d8830e835a1494087e94fb849e401876cc4
bf21cd0ef7a94fa106ccd9f91a4bbfdcda7f94ed
/python-basic/chapter04/ex01_2.py
2b0d435813f0cc5b511a07e9e93529dd676c29ef
[]
no_license
juneglee/Deep_Learning
fdf8cae1b962aaa0ce557cb53f78a22b6d5ae1e8
17a448cf6a7c5b61b967dd78af3d328d63378205
refs/heads/master
2023-07-15T03:02:55.739619
2021-08-19T14:04:55
2021-08-19T14:04:55
273,253,872
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
# 리스트 연선자 : 연결(+) , 반복(*), len() # 리스트 연산자 list_a = [1, 2, 3] list_b = [4, 5, 6] print("# 리스트") print("list_a = ", list_a) print("list_b = ", list_b) print() # 기본 연산자 : 연결(+) , 반복(*) print("# 리스트 기본 연산자") print("list_a + list_b =", list_a + list_b) print("list_a * 3 =", list_a * 3) print() # 길이 구하기 : len() print...
[ "klcpop1@gmail.com" ]
klcpop1@gmail.com
59f257e74467edf2e02f1c12f63bef4bc528fd7e
085488720112922ff3aed15f99f3c93911425c4a
/vesper/signal/tests/test_s3_byte_sequence.py
c6f1f484a9b415154c8d517bf998a2ab6d8b4200
[ "MIT" ]
permissive
HaroldMills/Vesper
0b61d18bc241af22bfc251088fc87d72add6367b
ec92fe5231f54336499db189a3bbc6cb08a19e61
refs/heads/master
2023-07-05T22:45:27.316498
2023-07-04T11:58:14
2023-07-04T11:58:14
19,112,486
49
6
MIT
2023-02-14T16:09:19
2014-04-24T14:55:34
Python
UTF-8
Python
false
false
909
py
import unittest import warnings from vesper.signal.tests.byte_sequence_tests import ByteSequenceTests from vesper.signal.s3_byte_sequence import S3ByteSequence from vesper.tests.test_case import TestCase REGION_NAME = 'us-east-2' BUCKET_NAME = 'vesper-test' OBJECT_KEY = 'Bytes 00-FF.dat' OBJECT_LENGTH = 256 # TODO...
[ "harold.mills@gmail.com" ]
harold.mills@gmail.com
102f709bebff12b32c93c321b66bd7327cd6e92b
b15d2787a1eeb56dfa700480364337216d2b1eb9
/accelbyte_py_sdk/api/matchmaking/models/models_query_mock_by.py
8e41cf6eec7f84d441d5c2d4e272a292a791f88e
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
3,879
py
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template file: ags_py_codegen # AccelByte Gaming Services Matchmaking Service (2.25.7) # pylint: disabl...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
685eea7db453f95d3b09c7e014f28eeee0ba4439
a8123a86db99b9365b10ba76dd509d58caa7bc10
/python/practice/start_again/2021/05182021/Day18.3_Darw_a_spriograph.py
8814fcac3b147a6c0f49245cd49b4fbe21a8a16f
[]
no_license
smohapatra1/scripting
c0404081da8a10e92e7c7baa8b540acc16540e77
3628c9109204ad98231ae8ee92b6bfa6b27e93cd
refs/heads/master
2023-08-22T20:49:50.156979
2023-08-22T20:43:03
2023-08-22T20:43:03
147,619,016
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#Draw a Spirograph from turtle import Turtle, Screen import turtle as t import random tim = t.Turtle() t.colormode(255) tim.speed("fastest") #Random Color def random_color(): r = random.randint(0,255) g = random.randint(0,255) b = random.randint(0,255) color = (r, g, b) return color def draw_spiro...
[ "samarendra.mohapatra121@gmail.com" ]
samarendra.mohapatra121@gmail.com
aaf7c07df0a3a79d0aa83017aa4a3142f7911d98
dec5c1416279178c23e81794789ed27e7e806faf
/profiles_api/models.py
921345fafbd8fe1b8cb4afa2e7952b8838987617
[ "MIT" ]
permissive
amitarvindpatil/profiles-rest-api
44c7555888e654a2a64362d21834f5a67aeab07a
c2092bdc13c77e2f1f3cd4940740f752cc2b180f
refs/heads/master
2022-09-15T06:53:40.777169
2020-05-31T09:01:43
2020-05-31T09:01:43
260,257,045
0
0
null
null
null
null
UTF-8
Python
false
false
2,032
py
from django.db import models from django.contrib.auth.models import AbstractBaseUser from django.contrib.auth.models import PermissionsMixin from django.contrib.auth.models import BaseUserManager from django.conf import settings # Create your models here. class UserProfileManager(BaseUserManager): """Manager For U...
[ "amitpatil04041993@gmail.com" ]
amitpatil04041993@gmail.com
792b61efe2adbe81bfa8e2d488a1dbf4bd884444
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-das/huaweicloudsdkdas/v3/model/export_top_sql_templates_details_response.py
1286a8c3db19b4ec0f54ea95567708a585fd8a62
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,619
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ExportTopSqlTemplatesDetailsResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
d5af0b0faa18fdfc639b31b41dfbdb93a890659b
085a6c4ac532bd4f46980f340890659b0cd03824
/two_sigma_problems/problem_9.py
f2c2e10d39d7f5185f1a978013c9b743178ba7e5
[ "MIT" ]
permissive
thinhnguyennt7/Daily-Coding-Problem
c66aa51422dc79ee912fbd042fefb2b2cf37a94f
16d42e33af1de08aac1d888be518e398b4674bc8
refs/heads/master
2021-04-04T02:10:52.800504
2020-03-18T17:29:44
2020-03-18T17:30:01
248,416,248
1
1
MIT
2020-03-19T05:13:37
2020-03-19T05:13:36
null
UTF-8
Python
false
false
223
py
"""This problem was asked by Two Sigma. Using a function rand5() that returns an integer from 1 to 5 (inclusive) with uniform probability, implement a function rand7() that returns an integer from 1 to 7 (inclusive). """
[ "mxcsyounes@gmail.com" ]
mxcsyounes@gmail.com
d994f4b20a182b9c9b4b26dea314bed2f83d5097
da52951c32b37aa75765b718707ce08c0a6208d1
/ReinforcementLearning/PolicyGradient/PPO/tf2/main.py
b3a0d38e4986d6a9da18c87322ee6faa32643f1d
[]
no_license
philtabor/Youtube-Code-Repository
08c1a0210f80976df50b01a91f1936a7d5c7b302
eb3aa9733158a4f7c4ba1fefaa812b27ffd889b6
refs/heads/master
2023-08-08T05:28:11.712470
2023-03-27T16:07:29
2023-03-27T16:07:29
144,081,173
811
568
null
2023-07-24T20:00:37
2018-08-09T00:21:29
Python
UTF-8
Python
false
false
1,575
py
import gym import numpy as np from agent import Agent from utils import plot_learning_curve if __name__ == '__main__': env = gym.make('CartPole-v0') N = 20 batch_size = 5 n_epochs = 4 alpha = 0.0003 agent = Agent(n_actions=env.action_space.n, batch_size=batch_size, alpha=alpha...
[ "ptabor@gmail.com" ]
ptabor@gmail.com
351cca2054fb8641c34017b3bc190680a699b824
4b44a299bafbd4ca408ce1c89c9fe4a449632783
/python3/10_Modules/Parallel_Processing/a_get_cpu_count.py
0a0464db866ec3a6c8aa2be9e3d728d2be413a38
[]
no_license
umunusb1/PythonMaterial
ecd33d32b2de664eaaae5192be7c3f6d6bef1d67
1e0785c55ccb8f5b9df1978e1773365a29479ce0
refs/heads/master
2023-01-23T23:39:35.797800
2020-12-02T19:29:00
2020-12-02T19:29:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
import multiprocessing as mp result = '''There are {} processors, in number, in this \ computer'''.format(mp.cpu_count()) print(result) print(dir(mp)) print(mp.current_process())
[ "uday3prakash@gmail.com" ]
uday3prakash@gmail.com
08aea1c4cf86277a51c4d590dbf843a9e116acea
3ccd609f68016aad24829b8dd3cdbb535fb0ff6d
/python/bpy/types/FILEBROWSER_UL_dir.py
d242f98ab9b1a289208ea3db9e875d5ed1fb5d58
[]
no_license
katharostech/blender_externs
79b2eed064fd927e3555aced3e2eb8a45840508e
fdf7f019a460de0fe7e62375c1c94f7ab0e9f68d
refs/heads/master
2020-04-11T14:00:29.393478
2018-10-01T00:40:51
2018-10-01T00:40:51
161,838,212
1
1
null
2018-12-14T20:41:32
2018-12-14T20:41:32
null
UTF-8
Python
false
false
140
py
class FILEBROWSER_UL_dir: def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index): pass
[ "troyedwardsjr@gmail.com" ]
troyedwardsjr@gmail.com
cb3c52836c92de725f4b0b5bc037f530ce63d13a
656b431bf7ac23d5593ddf4fb69c29c251d744cb
/zen/layer/base/node.py
91c5f8a19f460b42f4d3cf942d8f853c60c39140
[]
no_license
knighton/zen-0.14
2c8e4f0aa2e6c862d4022eb346a619268250273e
7936e43a115d00888bf6c523525bf9f3e7a49256
refs/heads/master
2021-01-21T05:33:01.494392
2018-05-17T15:01:30
2018-05-17T15:01:30
101,927,115
0
0
null
null
null
null
UTF-8
Python
false
false
4,619
py
from copy import deepcopy from ..arch.vee import Vee class Node(Vee): """ A node of a neural network. They consist of input and non-input nodes (Inputs and LayerNodes). """ def __init__(self): self._out_shape = None self._out_dtype = None self._out_data = None se...
[ "iamknighton@gmail.com" ]
iamknighton@gmail.com
3e6a874a64e7d69cc870d2a47199ffe654c59f9b
904e75e2ceff81c18a432fe1b951b683e859cbed
/views/console/voucher.py
809b9bed03144310d4c914e793626e5bbf9acd22
[]
no_license
PUYUP/plutoborn
a42c65fa360de41a1236af00b5718948dc1b9940
e6b47b7f183fcff60fa803329e11c2e87de560ef
refs/heads/master
2022-12-05T17:06:10.049472
2020-08-19T09:12:45
2020-08-19T09:12:45
254,116,939
0
0
null
null
null
null
UTF-8
Python
false
false
1,675
py
from django.conf import settings from django.views import View from django.shortcuts import render from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from django.db.models.functions impor...
[ "hellopuyup@gmail.com" ]
hellopuyup@gmail.com
1d6c708e713687a606bcec30490c9970a32b2031
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/94/usersdata/203/55258/submittedfiles/mediaLista.py
9f8eabcc98947ef4aefb6758c5a6a0a6eab90482
[]
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
281
py
# -*- coding: utf-8 -*- n=int(input('tamanho da lista: ')) l=[] soma=0 for i in range (1,n+1,1): l.append(input('elemento da lista: ')) for i in range (0,n-1,1): soma=soma+l[i] media=soma/n print ('%.2f' %l[0]) print ('%.2f' %l[n-1]) print ('%.2f' %media) print ('%.2f' %l)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f16c623f2284f4fcc342ceffbc101ff396686148
59b3dce3c770e70b2406cc1dd623a2b1f68b8394
/python_1/lessons/calculations.py
9fc441721ed85e47fac26d241c4db2cfd87301c8
[]
no_license
patrickbeeson/python-classes
04ed7b54fc4e1152a191eeb35d42adc214b08e39
b5041e71badd1ca2c013828e3b2910fb02e9728f
refs/heads/master
2020-05-20T07:17:36.693960
2015-01-23T14:41:46
2015-01-23T14:41:46
29,736,517
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
print("""--------------- Some Calculations ---------------""") print(314159e-5) print(10**6, 1j**2) print(3 + 2 * 4, 1 / 3) print("-" * 20) print((3.14159 * 16) ** 2) print(3.14159 * 16 ** 2) print(20 * "-") print("------------------\nEnd of Calculations\n--------------")
[ "patrickbeeson@gmail.com" ]
patrickbeeson@gmail.com
982f09e06da9b91e11bebb4ecf8d383bc704f702
a5cf1d2fc478d490df05eb198d1a0fb77fcb0bc9
/flask_oauthlib/contrib/client/__init__.py
4b777b4430dcbd3daf2326ea063c4e02dca552ae
[ "BSD-3-Clause" ]
permissive
ageis/flask-oauthlib
516df1a661441cc46c26ab5e9b07fa328066a5f4
9414e002505354e8b5b3aa5f54a0889c836aa732
refs/heads/master
2021-01-05T05:11:59.090723
2020-04-19T07:20:23
2020-04-19T07:20:23
240,891,932
1
0
BSD-3-Clause
2020-04-19T07:20:24
2020-02-16T12:58:27
null
UTF-8
Python
false
false
3,277
py
import copy from flask import current_app from werkzeug.local import LocalProxy from .application import OAuth1Application, OAuth2Application __all__ = ['OAuth', 'OAuth1Application', 'OAuth2Application'] class OAuth(object): """The extension to integrate OAuth 1.0a/2.0 to Flask applications. oauth = ...
[ "me@lepture.com" ]
me@lepture.com
8113e61753b63a1adf848618b5af0bff3890f601
eecbf2f570b46e5a890847288144f2df8097d988
/awlsim/core/instructions/insn_zr.py
f279e701766a8124bf9e436cb8dc38b157639018
[]
no_license
ITI/PLCNet
8ebb34dc57862abfc3a635fb3cee197601cade71
7f2c1a9d3a8a0ca8d8ab9a8027c65bc0ff0db64c
refs/heads/master
2020-06-10T00:19:14.916423
2016-10-01T06:53:38
2016-10-01T06:53:38
193,533,866
2
0
null
2019-06-24T15:42:51
2019-06-24T15:42:50
null
UTF-8
Python
false
false
1,490
py
# -*- coding: utf-8 -*- # # AWL simulator - instructions # # Copyright 2012-2014 Michael Buesch <m@bues.ch> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or ...
[ "vig2208@gmail.com" ]
vig2208@gmail.com
f45bd2b725edf19a4c9f528650707dc5900d8683
83959c80527cd727042bc3467b6e537fca8bef1a
/kbengine_stone_assets/scripts/common/tornado/platform/windows.py
b1d701de4fcc5ac181dde0a8d77764622db74e77
[]
no_license
shanlihou/ttxiaoyouxi
696697807cbf9d1fe41fb10fe64f8f29d5bd8864
bca20863c4e1b5d6f3f835fee17c700292918a6c
refs/heads/master
2020-04-26T13:12:13.153761
2019-03-03T12:36:04
2019-03-03T12:36:04
173,572,763
1
1
null
null
null
null
UTF-8
Python
false
false
727
py
# NOTE: win32 support is currently experimental, and not recommended # for production use. #from __future__ import absolute_import, division, print_function, with_statement #import ctypes # type: ignore #import ctypes.wintypes # type: ignore # See: http://msdn.microsoft.com/en-us/library/ms724935(VS.85).aspx #SetH...
[ "shanlihou@gmail.com" ]
shanlihou@gmail.com
d50db3f0895bfcfe6b6a9eb5f62c99302983871e
a29c6e83ae4f9010941d15c8fd4cfc67680bb054
/pandas/pandas_sample.py
11ec8f3f3066928a773948c21c7d305883c6a906
[]
no_license
ym0179/bit_seoul
f1ff5faf4ae20fbc8c0e2ed10a005f8bd4b2c2b8
14d1fb2752312790c39898fc53a45c1cf427a4d1
refs/heads/master
2023-02-27T19:52:23.577540
2021-02-08T00:30:16
2021-02-08T00:30:16
311,265,926
1
0
null
null
null
null
UTF-8
Python
false
false
1,632
py
#Day9 #2020-11-19 import pandas as pd import numpy as np from numpy.random import randn np.random.seed(100) data = randn(5,4) #5행 4열 print(data) df = pd.DataFrame(data, index='A B C D E'.split(), columns='가 나 다 라'.split()) print(df) data2 = [[1,2,3,4,], [5,6,7,8], [9,10,11,12], [13,14,15,16...
[ "ym4766@gmail.com" ]
ym4766@gmail.com
bf56ed2037a8d92ae1cd83b1ca14a15536c85df2
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2385/60677/251112.py
a199b651fd4db5634ac382da13966aee61e6f9bc
[]
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
199
py
times=int(input()) for i in range(times): n=int(input()) k=1 answer=1 while n-2*k+2>0: answer+=n-2*k+2 k+=1 if n==4: answer=8 print((answer)%(10**9+7))
[ "1069583789@qq.com" ]
1069583789@qq.com
a4c56e977fcf8aa0aa8b1d5700eac711f0e99616
e1ffebca6a0f185663c779462e3ca27866f557b8
/GROUP_project/project/api/migrations/0002_auto_20191204_0429.py
9dcf91bc2afb5abac10e0bf7a31e18ff8156c88e
[]
no_license
asselyer/Backend2019
d8d85d7850261880fe4aeef9092b0a8c7b1b6767
ec5931e2bd22ec62e68592a4199c00184f4dacc3
refs/heads/master
2020-07-24T13:38:21.246351
2019-12-04T03:16:27
2019-12-04T03:16:27
207,944,768
0
0
null
null
null
null
UTF-8
Python
false
false
2,680
py
# Generated by Django 2.2.3 on 2019-12-03 22:29 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), ('api'...
[ "asel.yer98@gmail.com" ]
asel.yer98@gmail.com
af3d099f71d75651e8da95d4362fc5e824ea06bf
1886065d10342822b10063cd908a690fccf03d8b
/appengine/findit/waterfall/analyze_build_failure_pipeline.py
df1014f2a3c07efd6b1e1306d39bff06edb9fa1f
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/chromium-infra_A6Y5
26af0dee12f89595ebc6a040210c9f62d8ded763
d27ac0b230bedae4bc968515b02927cf9e17c2b7
refs/heads/master
2023-03-16T15:33:31.015840
2017-01-31T19:55:59
2017-01-31T20:06:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,205
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from common import appengine_util from common.pipeline_wrapper import BasePipeline from common.pipeline_wrapper import pipeline from libs import time_util fr...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
350dcd30a907105662e6bda717ac24f31ad8370f
2136701f48ad131084b331039d864f85988cf451
/spider/.svn/pristine/35/350dcd30a907105662e6bda717ac24f31ad8370f.svn-base
c6842a58e1a64674b74afbe2cc40404b328236bd
[]
no_license
cuiyulin77/other
9d374a47d482f1c3f9ef0f3ac4429487643b04b9
c00cafaf7607452966fa523c4d0b04edb7f153e6
refs/heads/master
2020-05-18T04:24:26.095929
2019-04-30T06:37:53
2019-04-30T06:37:53
184,169,488
0
0
null
null
null
null
UTF-8
Python
false
false
1,692
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html from pymysql import * import re class WbUserPipeline(object): def process_item(self, item, spider): return item ...
[ "494658565@qq.com" ]
494658565@qq.com
2e67dafe7fac1cbbc5927705e346ad37a6ed6c89
fcde32709c62b8ee86da459bb7c8eee52c848118
/爬虫1903/day09/Baidu/Baidu/settings.py
6b94193878c3f25ccff9e68ecba1f7857d9f4e73
[]
no_license
klaus2015/py_base
6b92d362c3d7dc0e09205a037f4d580381dac94d
ec32c731c1c2f6a0dab87f1d167397e4fa86b8de
refs/heads/master
2022-07-28T15:49:30.383648
2020-05-11T15:31:43
2020-05-11T15:31:43
261,777,278
0
0
null
null
null
null
UTF-8
Python
false
false
3,181
py
# -*- coding: utf-8 -*- # Scrapy settings for Baidu project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics/...
[ "598467866@qq.com" ]
598467866@qq.com
93320c27e48d82cb9a176e9aed8825a5e95f31a2
cee3e57aaae9eaeb16f696e3cdad5f32c3af6861
/evennia/server/portal/mssp.py
5ff0a7b319a0e8139ee16b4a057e3b81c4e8bf0c
[ "BSD-3-Clause" ]
permissive
Sa1tC/evennia
8ef7fae9cbeb2d46bd6cdf5c5482331f9e0846ff
1248428d132fde1b975678b53e22c1ca68a73a43
refs/heads/master
2021-01-23T12:32:03.594263
2017-05-22T06:21:25
2017-05-22T06:21:25
93,164,000
0
1
null
2017-06-02T12:36:55
2017-06-02T12:36:55
null
UTF-8
Python
false
false
6,861
py
""" MSSP - Mud Server Status Protocol This implements the MSSP telnet protocol as per http://tintin.sourceforge.net/mssp/. MSSP allows web portals and listings to have their crawlers find the mud and automatically extract relevant information about it, such as genre, how many active players and so on. """ from bui...
[ "griatch@gmail.com" ]
griatch@gmail.com
aef3c3624058a9104e4a84e3fdb7e33668a84b8c
90d4b790f9a7198760fdbcfad6abd2da851f2f4e
/0x0F-python-object_relational_mapping/3-my_safe_filter_states.py
b2b27fdbdcc3fbb2c02bd4aa205bc8225158b438
[]
no_license
Murega14/holbertonschool-higher_level_programming
2817a532d7d6739ed046e350903e394ed1bae0a3
f29a4c4e74c01798cb51bfe5160432569a1ca833
refs/heads/master
2023-03-15T08:22:06.926537
2018-09-09T20:46:33
2018-09-09T20:46:33
572,548,803
1
0
null
2022-11-30T14:11:06
2022-11-30T14:10:32
null
UTF-8
Python
false
false
643
py
#!/usr/bin/python3 # gets all states via python yee boi with your own state SAFE def main(args): # gets all state stuff SAFELY if len(args) != 5: raise Exception("need 4 arguments!") db = MySQLdb.connect(host='localhost', user=args[1], passwd=args[...
[ "Dkazemian@gmail.com" ]
Dkazemian@gmail.com
c1ee39b1b2a7ca3e916a559da292bc53bfdc5b74
017f62ebc7357dc665723a5b4fa75294f31fda8f
/lib/jnpr/eznc/resrc/srx/nat/nat_proxy_arp.py
10fe27280370f10dad027ec9771f769faed67709
[ "Apache-2.0", "BSD-2-Clause" ]
permissive
cro/py-junos-eznc
c2588d9fde7b65ec523c558d741716f3a19621c7
4c111476cc8eb7599462379ddf55743ae30bbf5c
refs/heads/master
2021-01-20T16:36:20.034788
2013-11-19T19:17:32
2013-11-19T19:17:32
14,535,497
0
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
# 3rd-party modules from lxml.builder import E # module packages from ...resource import Resource from .... import jxml as JXML class NatProxyArp( Resource ): """ [edit security nat proxy-arp interface <if_name> address <ip_prefix>] Resource namevar: tuple(if_name, ip_prefix) Description: This res...
[ "jschulman@juniper.net" ]
jschulman@juniper.net
9e9bd761750fdacff2550f9144c914ddc1e8529c
7bead245354e233f76fff4608938bf956abb84cf
/test/test_docx_table_cell.py
f1aec4840f9d6c266499020f55fa9f2df8b0c8a9
[ "Apache-2.0" ]
permissive
Cloudmersive/Cloudmersive.APIClient.Python.Convert
5ba499937b9664f37cb2700509a4ba93952e9d6c
dba2fe7257229ebdacd266531b3724552c651009
refs/heads/master
2021-10-28T23:12:42.698951
2021-10-18T03:44:49
2021-10-18T03:44:49
138,449,321
3
2
null
null
null
null
UTF-8
Python
false
false
955
py
# coding: utf-8 """ convertapi Convert API lets you effortlessly convert file formats and types. # noqa: E501 OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import cloudmersive_convert_api_...
[ "35204726+Cloudmersive@users.noreply.github.com" ]
35204726+Cloudmersive@users.noreply.github.com
aa5650cfa845d0f8a1a8b2048a907d06c2b3d36d
1061216c2c33c1ed4ffb33e6211565575957e48f
/python-legacy/test/test_custom_profile_field.py
9c780d683beda23dc85ae0a5a0c376b149184f96
[]
no_license
MSurfer20/test2
be9532f54839e8f58b60a8e4587348c2810ecdb9
13b35d72f33302fa532aea189e8f532272f1f799
refs/heads/main
2023-07-03T04:19:57.548080
2021-08-11T19:16:42
2021-08-11T19:16:42
393,920,506
0
0
null
null
null
null
UTF-8
Python
false
false
1,526
py
# coding: utf-8 """ Zulip REST API Powerful open source group chat # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import openapi_client from openapi_client.models.cus...
[ "suyash.mathur@research.iiit.ac.in" ]
suyash.mathur@research.iiit.ac.in
b7c41240fa74e52ba4534e26961d3cbf7322a0d6
43ed422113d58b27d5012f5ccf405700a46fc0f2
/MaskRCNN/model/loss.py
eb4cb8a2d3d03b016b3857b3071a40cc1977da99
[]
no_license
wprazuch/DeepLearningPlayground
99a86945818e8a42e77408369e566b793ac612b9
53859fb4fd7bfc314121c85870afabd47627ce73
refs/heads/master
2022-12-16T05:50:22.757434
2020-09-03T09:23:26
2020-09-03T09:23:26
187,896,626
0
0
null
null
null
null
UTF-8
Python
false
false
6,227
py
import tensorflow as tf import tensorflow.keras.backend as K from utils import batch_pack_graph def smooth_l1_loss(y_true, y_pred): """Implements Smooth-L1 loss. y_true and y_pred are typically: [N, 4], but could be any shape. """ diff = K.abs(y_true - y_pred) less_than_one = K.cast(K.less(diff, ...
[ "wojciechprazuch3@gmail.com" ]
wojciechprazuch3@gmail.com
00f4f432b42195fe0d5718333d4fea31f17c3546
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/layout-blt/configs/bert_layout_publaynet_config.py
c468d18d59fde1f6a87c790cc4dbb6815ec3e80b
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
2,219
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
b0852cf85d9083b3a78990c4c4ecb96b24190dc2
191d18fae52df2b10fc3c78676612ce0828c1ad8
/essentials/multi_server.py
b345cfc321697ef93d206779c4ae5ae4b88e165c
[ "MIT" ]
permissive
yada-yoda/pollmaster
1e44ef42f68bf971e67b75c84842556d2ef2d687
c7431d6b952599671c6408209528dceaad19116e
refs/heads/master
2021-10-19T14:32:24.222515
2019-02-21T18:57:07
2019-02-21T18:57:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,061
py
import time import discord from essentials.settings import SETTINGS from utils.paginator import embed_list_paginated async def get_pre(bot, message): '''Gets the prefix for a message.''' if str(message.channel.type) == 'private': shared_server_list = await get_servers(bot, message) if shared...
[ "matnad@gmail.com" ]
matnad@gmail.com
921548cdfb11ada7eb5d4be07398294bf09ce197
b9963ffb80aad7e057bc375edb85ac7ed5a837d0
/adventofcode2017/03b.py
44f43305774184f644e62bce54dfc526c453e223
[ "MIT" ]
permissive
matslindh/codingchallenges
a2db9f4579e9f35189f5cdf74590863cf84bdf95
a846e522f7a31e988c470cda87955ee3ef20a274
refs/heads/main
2022-12-23T15:56:19.776354
2022-12-15T21:03:37
2022-12-15T21:03:37
76,491,177
3
0
null
null
null
null
UTF-8
Python
false
false
888
py
from itertools import repeat from math import floor map = [] s_y = s_x = 1001 for y in range(0, s_y): map.append(list(repeat(0, s_x))) x = y = floor(s_x/2) map[y][x] = 1 x += 1 dir = 'R' written = 0 while written <= 289326: if dir == 'R': if not map[y-1][x]: dir = 'U' else: ...
[ "mats@lindh.no" ]
mats@lindh.no
f829374ecf93d80a724d38e00dff9ecc2cb9c16b
f68065baf489013c926dcfea9994878716d19586
/accounts/views.py
323deb2d9a062d75f066d39db1854285279ddd21
[]
no_license
groyce/pots
06667fdc686b74a897c42879cbed5803e9efb154
ac839943c84c3135cb4596a8f734e4a061086e10
refs/heads/master
2020-04-10T01:42:55.863071
2018-12-06T19:47:18
2018-12-06T19:47:18
160,723,310
0
0
null
null
null
null
UTF-8
Python
false
false
2,905
py
from django.http import HttpResponse from django.shortcuts import render from django.contrib.auth import authenticate, login from .forms import LoginForm, UserRegistrationForm, UserEditForm, ProfileEditForm from django.contrib.auth.decorators import login_required from .models import Profile def user_login(request): ...
[ "groyce@unomaha.edu" ]
groyce@unomaha.edu
8cd85855d175d322e73f636de7aed0b6850bdf52
2f233b31ea7ffefad4b901b561f341fabe3bbb1f
/2017/02a.py
77f9ee8c4d1e176ea1331fdbdd314eff205802e3
[ "MIT" ]
permissive
cz-fish/advent-of-code
066b63c3ac2e3b13bf88ae86843a7a9a7b687e96
ecbcef544e8d89ec019464811760ce86f84dbc6e
refs/heads/master
2023-08-03T19:41:23.186666
2023-03-14T08:59:04
2023-03-14T08:59:04
226,355,674
0
0
MIT
2023-07-20T02:51:13
2019-12-06T15:17:10
Python
UTF-8
Python
false
false
593
py
#!/usr/bin/env python3 grid = [] with open('input02.txt', 'rt') as f: for ln in f.readlines(): grid.append([int(x) for x in ln.strip().split('\t')]) print(sum([max(l) - min(l) for l in grid])) print('-----') s = 0 for ln in grid: srt = sorted(ln) stop = False for i in range(len(srt) - 1): ...
[ "filip.simek@gmail.com" ]
filip.simek@gmail.com
f6066d060c195e6f9ef837b859b666ab4f30bdb8
096167807fa625681beae7e25919357c90b89e75
/emails/models.py
1fb86f349ab69c1489f2ef26d7c95be401ff5b2d
[]
no_license
bussiere/Sumomo
c849484fbae37490998bcc44e232bf6a252fe9d7
ac3efc46014e66e193c5f852d121a25dd0a9ec5e
refs/heads/master
2021-01-19T11:34:42.645970
2012-08-31T04:15:32
2012-08-31T04:15:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
from django.db import models # Create your models here. class Contact(models.Model): Emails = models.TextField(null=True, blank=True) class Email(models.Model): Sender = models.ForeignKey("Contact",related_name="Sender", null=True, blank=True) Recepter = models.ManyToManyField("Contact", related_name="Re...
[ "bussiere@gmail.com" ]
bussiere@gmail.com
1c9832b0b85c1b52d6843f79ec2dcb1fa84e81b1
68ab00c77312827e522151e6e9f2fff166e85b9c
/mypy_boto3_builder/structures/collection.py
41b5f2550bb9a33bdb6cd53825ecc814e7734f48
[ "MIT" ]
permissive
pyto86pri/mypy_boto3_builder
2cdfb3ed55ea1ff23cdffd5a9ee5400e71562450
e8132dc4632430e0abd4cd330af51a8b1c82028f
refs/heads/master
2023-01-25T04:06:11.174287
2020-12-03T23:39:06
2020-12-03T23:39:06
319,283,736
0
0
MIT
2020-12-07T10:29:52
2020-12-07T10:29:51
null
UTF-8
Python
false
false
1,280
py
""" Boto3 ServiceResource or Resource collection. """ from typing import Set from mypy_boto3_builder.import_helpers.import_string import ImportString from mypy_boto3_builder.structures.class_record import ClassRecord from mypy_boto3_builder.type_annotations.external_import import ExternalImport from mypy_boto3_builder...
[ "volshebnyi@gmail.com" ]
volshebnyi@gmail.com
97876c1143af3c1bbcf63ea5db171555c18fc239
242086b8c6a39cbc7af3bd7f2fd9b78a66567024
/python/PP4E-Examples-1.4/Examples/PP4E/Gui/Intro/gui3.py
6617d3e8edd2b088131c50e73653265dc000e795
[]
no_license
chuzui/algorithm
7537d0aa051ac4cbe9f6a7ca9a3037204803a650
c3006b24c4896c1242d3ceab43ace995c94f10c8
refs/heads/master
2021-01-10T13:05:30.902020
2015-09-27T14:39:02
2015-09-27T14:39:02
8,404,397
4
4
null
null
null
null
UTF-8
Python
false
false
290
py
import sys from tkinter import * def quit(): # a custom callback handler print('Hello, I must be going...') # kill windows and process sys.exit() widget = Button(None, text='Hello event world', command=quit) widget.pack() widget.mainloop()
[ "zui" ]
zui
4fd2db085bebdf0fb2594d570603ecce95d71f50
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03227/s459999028.py
03236a4d5fabd077163769a4c50f0ed805cccd94
[]
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
146
py
def main(): s = input().rstrip() if len(s) == 2: print(s) else: print(s[::-1]) if __name__ == "__main__": main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d807abdc220d8649a4f546bf8715b4be597aec77
5a71ca1f5c964f803350e3c1238cb48986db565c
/coinlibbitfinex/tests/test_bitfinex_streamapi.py
25331ab7bbc5c1144c8083305e500db7203b9b85
[]
no_license
tetocode/coinliball
fd644cbc16039ecad7e43228ea4e287ead5c8e5f
41ebbac13c1fbba98aedaa766b9a505cb157f374
refs/heads/master
2022-09-28T21:58:08.130006
2020-06-04T03:00:56
2020-06-04T03:00:56
269,247,318
0
2
null
null
null
null
UTF-8
Python
false
false
1,491
py
import time from queue import Queue, Empty import pytest from coinlib.datatypes.streamdata import StreamData from coinlibbitbankcc.streamapi import StreamApi WAIT = 3 N = 10 def test_subscribe(stream_api: StreamApi): xrp_usd_params = { 'event': 'subscribe', 'channel': 'book', 'pair': 'X...
[ "_" ]
_
d8bef9d2257e646945921eef2184ee0089672dc5
dabc9c7ec7cce125a12c6243ff67fd91e620d636
/tap/line.py
2784be13d982350342f9cef81eb316a081153234
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
Mark-E-Hamilton/tappy
7634209c2862c9e837b58602d4b59636fd9a8e89
62c1a4ef1d9e724d3c7bbb31361c17c3bf071d04
refs/heads/master
2021-01-15T09:04:09.813683
2016-03-21T04:51:45
2016-03-21T04:51:45
53,630,217
0
0
null
null
null
null
UTF-8
Python
false
false
3,921
py
# Copyright (c) 2016, Matt Layman class Line(object): """Base type for TAP data. TAP is a line based protocol. Thus, the most primitive type is a line. """ @property def category(self): raise NotImplementedError class Result(Line): """Information about an individual test line.""" ...
[ "matthewlayman@gmail.com" ]
matthewlayman@gmail.com
b11986b3974295a315c63bf1ec08b07e1e0e3087
dde9442399c78414c05f7f36803c861638065ca3
/Multidimensional-Lists-Exercise/Radioactive-Mutant-Vampire-Bunnies.py
a22c9f63fe0ef1c68063385ce0f936bf2bfc334d
[]
no_license
Vigyrious/python_advanced
6778eed9e951b5a11b22f6c6d8ea5b160c3aa00d
67db470e78b194aea1f9a35283d5a88b0f6ab94c
refs/heads/main
2023-03-23T12:24:59.688699
2021-03-12T20:53:04
2021-03-12T20:53:04
347,192,305
0
1
null
null
null
null
UTF-8
Python
false
false
3,396
py
row, col = map(int, input().split(" ")) matrix = [] [matrix.append(list(input())) for _ in range(row)] movements = list(input()) player_row, player_col = [[row_index,col_index] for row_index in range(row) for col_index in range(col) if matrix[row_index][col_index] == "P"][0] is_dead = False has_won = False while not is...
[ "73179295+Vigyrious@users.noreply.github.com" ]
73179295+Vigyrious@users.noreply.github.com
369add1f2e8ed2f7a86b91b166f88feef21733e3
63b79eb44cf682ece74be1fc866f7651837db448
/powerplay/models/game_content_media.py
cc2654fda4508741a4901f39caab2b020b8b674c
[]
no_license
bclark86/powerplay-py
c8cc4df8acd9ada91299706b7a7113ab9c963645
584d754629936a93d95157356ff806a5c68438dc
refs/heads/main
2023-07-19T04:23:16.510338
2021-09-02T13:17:12
2021-09-02T13:17:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,861
py
# coding: utf-8 """ NHL API Documenting the publicly accessible portions of the NHL API. # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class GameContentMedia(object): """NOTE:...
[ "saiem.gilani@gmail.com" ]
saiem.gilani@gmail.com
d7b4e049f95736c4a3a270a0a6e326a8bc7e03d5
887b9fd5f4fd4b9448f32750788b138b2e94be3e
/stock/futu/import_requests _income.py
6411f1232d8b5870521859d6a0da9b07f5f729fa
[]
no_license
hong0396/hotwind_git
8fa11b3bc46aadd0b83b297cb6c6919102b7b920
544d984d8a8cdc42b422792a5064d19d24e0c831
refs/heads/master
2020-04-04T01:11:50.010424
2018-11-03T07:24:59
2018-11-03T07:24:59
136,184,346
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
import requests headers={ 'Accept': 'application/json, text/javascript, */*; q=0.01', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'zh-CN,zh;q=0.9', 'Connection': 'keep-alive', 'Cookie': 'UM_distinctid=165fa9285fb762-07c06f613d5cac-8383268-e1000-165fa9285fc20a; cipher_device_id=1537507232150902; tgw_l7_r...
[ "hong0396@126.com" ]
hong0396@126.com
7db05f705d72bdf87180f6a7bff371d915d8b61e
299e5934971f9de638692e2667d6e270bcab5cbd
/214.最短回文串.py
fd576408b90eb365d8d4759abcade422cdf7f582
[]
no_license
ycj123/Leetcode-Python3
14bcd6c9f4d26191d5d40c77e923df4d0be4c0e5
1593960cdf2655ef1dcf68e3517e7121670c6ac3
refs/heads/master
2022-12-16T23:12:19.326702
2020-09-18T00:17:45
2020-09-18T00:17:45
295,302,872
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
# # @lc app=leetcode.cn id=214 lang=python3 # # [214] 最短回文串 # # https://leetcode-cn.com/problems/shortest-palindrome/description/ # # algorithms # Hard (36.30%) # Likes: 262 # Dislikes: 0 # Total Accepted: 23.3K # Total Submissions: 64.2K # Testcase Example: '"aacecaaa"' # # 给定一个字符串 s,你可以通过在字符串前面添加字符将其转换为回文串。找到并...
[ "yangchijiang@icloud.com" ]
yangchijiang@icloud.com
ec7acf98f9484508ac4aef0ff75457eae8bd99f0
f05acf7451fe58b64ec11744e8afddf142014efa
/crowdsorter/views/_session.py
dd75bd5c8d2a06dddfad4e0d7a5a23f7570d19a0
[ "MIT" ]
permissive
iCodeIN/crowdsorter
899ac58b1df43ca134d3f966dcf2ec1c4a49e0df
1c847f1f0284fc810ec1f2dd501acb4dbfa16bbb
refs/heads/master
2023-03-26T16:09:04.914897
2020-11-11T18:25:55
2020-11-11T18:25:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from flask import session VERSION = 2 # increment when session logic changes to clear sessions VOTED_NAMES = f"voted-names:{VERSION}:" SKIPPED_NAMES = f"skipped-names:{VERSION}:" VIEWED_PAIRS = f"viewed-pairs:{VERSION}:" def get_voted_names(code): return _get(VOTED_NAMES, code) def set_voted_names(code, name...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
69aa022e185b5ec3bb7d2f6da610e01aedc92957
fba1ae1672a770846eb219e4e092ba4c162aec40
/2.py
01fbf8c10fb3569d0961749560f345f35e124f7d
[]
no_license
peterbe/optimize-titles.json
9272ad39d7565c448dce2b22a3d844ef0e7524d6
ff7f8a01a5a742906ebb350c55cc963ca3b85e73
refs/heads/master
2022-11-23T05:33:05.004619
2020-07-15T18:18:48
2020-07-15T18:18:48
279,936,544
1
0
null
null
null
null
UTF-8
Python
false
false
275
py
import json import csv with open('0.json') as f: data = json.load(f) import csv with open('2.csv', 'w') as f: writer = csv.writer(f, delimiter="|") for each, value in data['titles'].items(): writer.writerow([each, value['title'], value['popularity']])
[ "mail@peterbe.com" ]
mail@peterbe.com
986e4045b106ad579041853e9891735e06800efd
52b5773617a1b972a905de4d692540d26ff74926
/.history/rottenOranges_20200810191228.py
2e8869821ab7c96fc3b8d53eff3ef2e939c3ffb4
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
def markrotten(i,j,row,column) def oranges(grid): # loop through the grid # if there is no fresh orange just return 0 # if there is a two check all its four neighbours # recursive call # count when a one becomes a two row = len(grid) column = len(grid[0]) for i in range(len(grid)):...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
d20e606c613d78c5971e9e9c8e93448c465bcbe1
68aa9bf99d62a5b991dc5aaa3d794f4bcd6e355a
/Programiranje/gui/Capital_Cities.py
24cfdaf80e27e2162949498aef012db6a6261742
[]
no_license
dujodujo/lemur
82c9e695459597ab1b3430e566bc375af84d563c
1e6350b33f86f89f89c5bddbd3924364f027160e
refs/heads/master
2021-01-01T16:49:35.386172
2013-11-06T09:59:12
2013-11-06T09:59:12
14,150,163
1
0
null
null
null
null
UTF-8
Python
false
false
2,022
py
import sys, os, random from PyQt4.QtCore import * from PyQt4.QtGui import * class Form(QDialog): def __init__(self,parent = None): super(Form, self).__init__(parent) self.get_data() self.answers = 0 self.count = 0 self.countryLabel = QLabel("Country:") self.fromCo...
[ "avsic.ziga@gmail.com" ]
avsic.ziga@gmail.com
3e7c227a882f2cd39cdaf02c0f17a021690effc5
40a04920dea94179878e25a0804ce4a6b459aca9
/Python/Django/Portfolio/apps/first_app/urls.py
8e117530ce911208aad1a83f1f376ca1c35e005b
[]
no_license
Kryptonian92/pythonAssignments
5c7dd9140d07c94b19816ebbcaba579338479136
06355e0481307a77e5acd53b86b1fc144e98302a
refs/heads/master
2021-01-20T15:50:46.355224
2017-10-28T19:02:52
2017-10-28T19:02:52
90,771,012
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
from django.conf.urls import url from . import views # This line is new! urlpatterns = [ url(r'^$', views.index), # This line has changed! url(r'^testimonials$', views.show) ]
[ "ausar_mcgruder@yahoo.com" ]
ausar_mcgruder@yahoo.com
6c7376c8231168cb83ab28cd66f7376c7363aa20
0b842bcb3bf20e1ce628d39bf7e11abd7699baf9
/oscar/a/sys/platform/manager/blinky/__init__.py
856452a17cd28db74867fb490c14dee2212dcaf8
[]
no_license
afeset/miner2-tools
75cc8cdee06222e0d81e39a34f621399e1ceadee
81bcc74fe7c0ca036ec483f634d7be0bab19a6d0
refs/heads/master
2016-09-05T12:50:58.228698
2013-08-27T21:09:56
2013-08-27T21:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
# # Copyright Qwilt, 2012 # # The code contained in this file may not be used by any other entities without explicit written permission from Qwilt. # # Author: shmulika # G_GROUP_NAME_PLATFORM_POWER_BLINKY_ADAPTOR = "power-blinky-adaptor" G_GROUP_NAME_PLATFORM_FANS_BLINKY_ADAPTOR = "fans-blinky-adap...
[ "afeset@gmail.com" ]
afeset@gmail.com
b2c1be6d03658e2b794333b2d98e59fda98d2e05
7d97daf9b9f46d68bbe29441d8db554918dfcdc4
/leetcode/StringtoInteger8.py
5a117868d64f0d0ad26bb4ae61baff99e7332feb
[]
no_license
hundyoung/LeetCode
9a56c4f078dcb4e875a6178c14665b7784c1a0a2
803e164d3a21b593cb89206b3a362c1ab1eb9abf
refs/heads/master
2020-09-23T02:51:13.657444
2020-05-06T12:53:07
2020-05-06T12:53:07
225,383,854
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
class Solution: def myAtoi(self, str: str) -> int: str1 = str.strip() result = "" for i in range(len(str1)): char = str1[i] if(i==0and (char=="+" or char=="-")): result= result+char elif char.isdigit(): result = result + cha...
[ "285080301@qq.com" ]
285080301@qq.com
6b1515908b2fe16543fdcf82ee9325387b7d572b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_plagued.py
33674872c908833ea1ef79864be519cf6ce0d184
[ "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
238
py
from xai.brain.wordbase.verbs._plague import _PLAGUE #calss header class _PLAGUED(_PLAGUE, ): def __init__(self,): _PLAGUE.__init__(self) self.name = "PLAGUED" self.specie = 'verbs' self.basic = "plague" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2bd765f9129f0648c344eac691a54cae5729812b
cc0d06e2aad3d30152c4a3f3356befdc58748313
/13nov_til_19nov/17_novin1900.py
0e049e544ca995c89370175743c5e1de70beedec
[]
no_license
lasse-steinnes/IN1900
db0bb4da33fa024d4fe9207337c0f1d956197c50
c8d97c2903078471f8e419f88cc8488d9b8fc7da
refs/heads/master
2020-12-14T15:34:36.429764
2020-01-18T19:59:46
2020-01-18T19:59:46
234,789,653
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
#### Forelesning in1900 #### ### Siste forelesning. Foilbasert. ## siste del av ODE-løsere og modellering av smittsomme sykdommer ## System av ODE´s ### Skal lage klassehierarki for ODE løsere. ###
[ "lasse.steinnes93@gmail.com" ]
lasse.steinnes93@gmail.com
9a68a892ee7454b8952addae4614751aba7824f7
0789e92ff05448f511352982dbc9fcc8b481e806
/kikar_hamedina/reporting/management/commands/export_commentator_data_to_csv.py
728384914535440e35a1486adb779002cbeca29e
[]
no_license
danielhers/kikar-hamedina
9645dfc554c004092cb44bb5189b63e9940b3801
a838a2fc675ea7100c620477bae438f215c741f7
refs/heads/dev
2020-06-14T14:08:05.069290
2017-05-04T17:22:03
2017-05-04T17:22:03
75,173,287
0
0
null
2016-11-30T09:47:01
2016-11-30T09:47:01
null
UTF-8
Python
false
false
6,338
py
#!encoding utf-8 from csv import DictWriter from django.utils import timezone from facebook_feeds.management.commands.kikar_base_commands import KikarBaseCommand from facebook_feeds.models import Facebook_Feed, Facebook_Status DELIMITER = '~' class Command(KikarBaseCommand): def add_arguments(self, parser): ...
[ "yotammanor@gmail.com" ]
yotammanor@gmail.com
98f50633d7a2f376fa62cba3433f8d1dd51588f3
ebe5167148cfff43d24b6c66e44634bb55513b72
/solutions/linkedlist/160.Intersection.of.Two.Linked.Lists.py
2cf42f3f9cf91b328616216b08a513d48d5ff246
[]
no_license
ljia2/leetcode.py
c90ac38a25331d61d3ff77fd135b82372da3a09f
08c6d27498e35f636045fed05a6f94b760ab69ca
refs/heads/master
2020-03-25T03:37:13.318582
2019-07-18T23:14:41
2019-07-18T23:14:41
143,351,386
0
0
null
null
null
null
UTF-8
Python
false
false
3,122
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def getIntersectionNode(self, headA, headB): """ Write a program to find the node at which the intersection of two singly linked list...
[ "ljia@conversantmedia.com" ]
ljia@conversantmedia.com
c797fec39e87cec2724d05c13ea1be0f98111384
7f66c66eb82b480e8a23ecbfb8613aae02cb50f7
/tests/integration/parity/utils.py
572d4c4af3500566de67c6e37afa8c80f6465074
[ "MIT" ]
permissive
y19818/web3.py
03ddedcfdbd4dde2c1a458b31f5e796509b3c7c6
32a85a287ab63220d1e0c06d77be74de595ff02f
refs/heads/master
2021-06-25T00:30:50.312173
2019-12-02T08:21:40
2019-12-02T08:21:40
225,276,093
0
0
MIT
2019-12-02T03:20:47
2019-12-02T03:20:47
null
UTF-8
Python
false
false
1,939
py
import signal import socket import subprocess import time from vns_utils import ( to_text, ) import requests def wait_for_socket(ipc_path, timeout=60): start = time.time() while time.time() < start + timeout: try: sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)...
[ "y19818@gmail.com" ]
y19818@gmail.com
8c4e25032a017464274c3783f28d6988a1017590
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/3673.py
56a2a64feb4db88351e2187df1ddbb45f569ef30
[]
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
583
py
import sys def t_process(): n1 = int(sys.stdin.readline()) n1 -= 1 n1_matrix = [set(map(int, sys.stdin.readline().split())) for _ in range(4)] n2 = int(sys.stdin.readline()) n2 -= 1 n2_matrix = [set(map(int, sys.stdin.readline().split())) for _ in range(4)] sol = list(n1_matrix[n1].intersection(n2_matrix[n2]))...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
1152f9facac5c0cb34d89abe0989f056a54199fe
0ab3ab2cda94a700f015ff172ef37abc3402ed75
/drawfromfile.py
3150dd3f92c114e2f97a979d71243be2403f76c8
[]
no_license
mikerr/laserPOV
719c85493f8a4dc05e92267695e9e0804aac0b64
215ee38db2c3a2ff6e92e1c4f5aa18615ec76839
refs/heads/master
2016-09-06T07:49:40.767385
2015-04-11T20:49:39
2015-04-11T20:49:39
33,660,512
1
0
null
null
null
null
UTF-8
Python
false
false
879
py
#!/usr/bin/python import subprocess,time file = open('drawing','r') x,y = [], [] for line in file: row = line.split() x.append(row[0]) y.append(row[1]) SPEED = 0.09 REPS = 10 XOFFSET = 160 YOFFSET = 110 for loop in range (REPS): for i in range (len(x)): xpos = int(x[i]) + XOFFSET ypos = int(y[i])...
[ "pi@raspberrypi.(none)" ]
pi@raspberrypi.(none)
23afbdc21f3c52e6711d6a97008f609df14f55bf
a2ad46d4995b2dbe182e645a15b7d5a7047d3b56
/2018.12.05.provetta/all-CMS-submissions-2018-12-05/2018-12-05.12:18:30.099314.VR437605.conta_multipli.py
e4d78f797d2d4c80a6e99aaa5ded613795628fb5
[]
no_license
romeorizzi/temi_prog_public
ccf634a0291dd943b503f8dc57ed03de4d9b1a68
e9e3e98d4a9a3cddec45d514180b83fd5004fe7b
refs/heads/master
2020-04-09T04:27:35.687265
2019-03-25T14:04:04
2019-03-25T14:04:04
160,024,031
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
""" * user: VR437605 * fname: ANNALISA * lname: DETTORI * task: conta_multipli * score: 100.0 * date: 2018-12-05 12:18:30.099314 """ #!/usr/bin/env python3 # Template per soluzione conta_multipli from __future__ import print_function import sys if sys.version_info < (3, 0): input = raw_input # in python2, l'eq...
[ "romeo.rizzi@univr.it" ]
romeo.rizzi@univr.it
497b09aec342a86f55cb820435ec603f2aab872a
07fbdae51275b4bab2074524fc4c1ae58ac53d08
/List's/Lists Basics/Exercise/Solutions/10. Bread Factory.py
ef0ba277e0e12230313d1b24fb7eeaa1489595d6
[]
no_license
rimisarK-blue/Python-Fundamental-knowledge
85c2afa4401f848c9919f672c7fa3d54a43e761f
a182fb1c7c3ce11f9e26ce0afefe5c2069d70e8d
refs/heads/main
2023-03-09T02:08:34.411768
2021-02-15T20:19:52
2021-02-15T20:19:52
326,009,707
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
events = input().split('|') energy = 100 coins = 100 good_day = True for com in events: command, value = com.split('-') value = int(value) if command == 'rest': if energy == 100: print("You gained 0 energy.") print(f"Current energy: 100.") elif energy + value >...
[ "rimisark92@gmail.com" ]
rimisark92@gmail.com
68cf3e5e2413d7edeffddb03c066dfb7a3e78310
4e187a73d451f8c500955098e8f7d466b90d05de
/Flasky0.1.py
299910de2cdaa6ebb388c7732ee6b2261932d8dc
[]
no_license
LinZiYU1996/Flask_Login
21c3592b6116ca49a17bab98eb4171ea4721b551
420d540cf18f4627054ecf589872611e6e6ff8b6
refs/heads/master
2021-01-02T08:48:38.669567
2017-08-02T03:14:37
2017-08-02T03:14:37
99,066,660
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
from flask import Flask,render_template,flash,url_for,redirect from flask_bootstrap import Bootstrap from flask_moment import Moment from flask_wtf import FlaskForm from flask_login import LoginManager,login_user,UserMixin,logout_user,login_required from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app...
[ "2669093302@qq.com" ]
2669093302@qq.com
757bb5db334a4b6518bf2b293c9f9cc451d67ebf
5891051796778cfb44a255248ce38789bfef9e70
/P_base/python_pdf/kp.py
1849b1e321f912c79b6c02533938157eb9a214ea
[]
no_license
Faithlmy/Python_base
cc546a5d86b123e102a69df1227cde9b6e567493
5a43557e6375dc9dbe5f6701d7c10e549873a5ab
refs/heads/master
2021-01-01T17:07:04.097978
2018-03-31T16:44:01
2018-03-31T16:44:01
98,000,621
0
0
null
null
null
null
UTF-8
Python
false
false
2,258
py
#!/usr/bin/env python3 # encoding: utf-8 import sys import importlib importlib.reload(sys) from pdfminer.pdfparser import PDFParser,PDFDocument from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.converter import PDFPageAggregator from pdfminer.layout import LTTextBoxHorizontal,LAPara...
[ "lmengyy@126.com" ]
lmengyy@126.com
1bab715b0c564a7a2941200a68f23a04ab4bfd58
be2c022b270522fe24475b794d53a3fd973a5de1
/영동/05_11049_행렬 곱셈 순서.py
9a26a4594789aceefcc502611d23e25d9aedf66e
[]
no_license
zeroistfilm/week04
ea4a358be0931fe28202b7ce543ed246536a1c50
fdb5985e2d899c8b1a60cb81d660937304fa5bcb
refs/heads/main
2023-02-09T09:35:27.795180
2021-01-07T02:29:28
2021-01-07T02:29:28
325,717,500
1
0
null
null
null
null
UTF-8
Python
false
false
562
py
# https://www.acmicpc.net/problem/11049 import sys #sys.stdin = open("input.txt", "r") N = int(sys.stdin.readline()) M = [0 for i in range(N+1)] for i in range(N): a,b = map(int, sys.stdin.readline().split()) M[i]=a M[i+1] = b Matrix = [[0 for i in range(N)] for i in range(N)] for i in range(1,N): r...
[ "zeroistfilm@naver.com" ]
zeroistfilm@naver.com
1f4ddfa1c8bc8ae0575ee67ac34d8226efa92e7e
e1efc8e0b0e4629dea61504fbc816c0527691bd9
/3.jvm/24-静态分派.py
4057e69948dec7c7341531bc1d10fa9e78285067
[]
no_license
xiongmengmeng/xmind-technology
2bb67a0bf92cfd660cac01f8ab3a2454423ccba5
e2fdb6987ef805a65f0a4feb52d84383853f4b77
refs/heads/main
2023-07-31T07:10:29.868120
2021-09-11T08:18:17
2021-09-11T08:18:17
307,636,242
3
1
null
null
null
null
UTF-8
Python
false
false
3,314
py
import os,sys parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0,parentdir) import xmind xmind_name="jvm" w = xmind.load(os.path.dirname(os.path.abspath(__file__))+"\\"+xmind_name+".xmind") s2=w.createSheet() s2.setTitle("静态分派") r2=s2.getRootTopic() r2.setTitle("静态分派") cont...
[ "xiongmengmeng@qipeipu.com" ]
xiongmengmeng@qipeipu.com
f8c70c1da41cfea53b6d1f02569fd71e0439f618
35e00d1996515ccf3151067ff28ff3357078f0b6
/samples/generated_samples/pubsub_v1_generated_schema_service_validate_message_async.py
add86c6fa8941035f2205bc30efda5abdc9894e2
[ "Apache-2.0" ]
permissive
googleapis/python-pubsub
5bb18674307bd89236a61c0d7c5079f10e19467e
1b9724324c58d27bcee42020b751cda58d80fddb
refs/heads/main
2023-09-03T13:14:22.894233
2023-08-28T13:18:36
2023-08-28T13:18:36
226,992,581
321
195
Apache-2.0
2023-09-10T23:29:10
2019-12-10T00:09:52
Python
UTF-8
Python
false
false
1,876
py
# -*- coding: utf-8 -*- # Copyright 2023 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...
[ "noreply@github.com" ]
googleapis.noreply@github.com
8152f5de1e216e50d57f2ee029225b5144c4beb2
ed2be337ce4b8a3c772862fce99ec99416784a62
/play/models.py
c889f87afcafa52f0ca12af45ece8a4485629983
[ "MIT" ]
permissive
fraferra/PlayPaloAltoServer
e5ecc7557a02b2b14750e929f656a121984a560f
a7128d363efd6059007df2c9da77f7bd033f7987
refs/heads/master
2020-05-20T05:30:19.020450
2014-07-08T02:34:14
2014-07-08T02:34:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,899
py
from django.db import models from datetime import date from django import forms from django.contrib.auth.models import User,UserManager from django.utils import timezone from django.db.models.signals import post_save from django.utils.translation import ugettext as _ from utils import * from social_auth.models import U...
[ "fraferra@cisco.com" ]
fraferra@cisco.com
fec6a3aa31a220c668b93a5b34d034e735fbae41
233087c1eb99e1d13f80de6f43d2cc3264aa9ca6
/polyaxon_cli/cli/version.py
e1a7f0433468d235fe651db2f75bb5fd16ca9f7f
[ "MIT" ]
permissive
DXist/polyaxon-cli
e33cd3b3633df5b21b9eb3cc48d7a6affed8e4ec
0b01512548f9faea77fb60cb7c6bd327e0638b13
refs/heads/master
2020-07-08T07:02:43.248549
2019-08-15T16:00:05
2019-08-15T16:04:31
203,601,306
0
0
MIT
2019-08-21T14:27:56
2019-08-21T14:27:56
null
UTF-8
Python
false
false
5,988
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import sys import click from polyaxon_deploy.operators.pip import PipOperator from polyaxon_cli import pkg from polyaxon_cli.client import PolyaxonClient from polyaxon_cli.client.exceptions import ( AuthorizationError, ...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
1be13eebadb30837a50498bf56c567f3ae17a166
4f00c6a08db5755b294bd519b9377866f5ff6c19
/src/tests/google/appengine/api/xmpp/xmpp_service_stub.py
8071acee686aa1637f430255e904c727b3a3af37
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cooljeanius/cauliflowervest
02035a8455b1dde469ebfd0b202c02456820a679
a9bc209b610a927083bf16274d8451c6c45227bf
refs/heads/main
2022-12-24T15:28:30.616604
2020-09-25T23:55:15
2020-09-25T23:55:15
303,812,548
1
0
Apache-2.0
2023-09-04T16:48:46
2020-10-13T19:46:58
Python
UTF-8
Python
false
false
5,161
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "egall@gwmail.gwu.edu" ]
egall@gwmail.gwu.edu
2f50c5d8fbaf7359990e0e5264f56327e41de7cc
0e2a58dce33bb412f19d019b98168d68af9bdeec
/model.py
9d1eb91c29159a77b3e6e6ab01503bc436ef9099
[]
no_license
Naveenprabaharan/Salary_Prediction
0ea2810a177b7c0d3de8f4044970f35d51efa820
c36cf19545667c4e330cb08bb273c45afa74b06a
refs/heads/master
2023-08-23T16:16:10.834688
2021-10-23T15:39:28
2021-10-23T15:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression import pickle # MODEL TRAINING: # dataset = pd.read_csv('__demo\Salary_Data.csv') # X = dataset.iloc[:, :-1].values # y = dataset.iloc[:, -1].va...
[ "you@example.com" ]
you@example.com
0547381d2254684900dcf79141d5b76f75c00912
65fce73a1e6a36718238cdef09a17493b19532a0
/8/swagger_client/__init__.py
d6ffda23006c1131e1217a75ca10767be0046ebb
[ "Apache-2.0" ]
permissive
apitore/apitore-sdk-python
eb419589609efb86bd279cd1733c2a03cdc03680
c0814c5635ddd09e9a20fcb155b62122bee41d33
refs/heads/master
2020-03-21T10:06:34.557781
2018-06-23T21:26:27
2018-06-23T21:26:27
138,434,217
3
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
# coding: utf-8 # flake8: noqa """ Word2Vec APIs Word2Vec.<BR />[Endpoint] https://api.apitore.com/api/8 # noqa: E501 OpenAPI spec version: 1.0.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import # import apis into sdk package from s...
[ "keigoht@gmail.com" ]
keigoht@gmail.com
d973653f84166354990b4df25cb162438aa56b9e
ed9b286cc1fba177abae3449540e95cde558b7e3
/tests/unit/test_logging.py
57a6cff2087deaf7e117e341b0311904534212d9
[ "Apache-2.0" ]
permissive
AndrewNg/anchore
e706f0a0c47e298be3295d1aa6d167ec58788cd2
308e91881be65dd546dbfc79b9d3982b501252a8
refs/heads/master
2020-09-29T04:58:03.114023
2019-12-09T20:07:08
2019-12-09T20:07:08
226,957,427
0
0
Apache-2.0
2019-12-09T20:06:16
2019-12-09T20:06:15
null
UTF-8
Python
false
false
2,428
py
import logging import unittest import anchore.cli.logs import anchore.cli.common import anchore.util class TestLogging (unittest.TestCase): @staticmethod def do_generic(some_logger, name=None): assert isinstance(some_logger, logging.Logger) some_logger.debug('debug message - ' + name) ...
[ "nurmi@anchore.com" ]
nurmi@anchore.com
630a17eceb74a3892bd59ab00b61f09ff63f75c5
949ebd7bc2ab1526b3d535def4c90c80fab907f0
/Decision_Tree_Classification/decision_tree_classification_f1score.py
543282a5320bd6834cdfb946ee193307187f8799
[]
no_license
mbhushan/ml
1c5c0d79f56dbc374f5163a032900da14ca5bc58
89441760c489bb265339bcdcbe975888686fc8a5
refs/heads/master
2021-05-15T05:31:47.801454
2018-05-12T17:34:23
2018-05-12T17:34:23
116,192,180
0
0
null
null
null
null
UTF-8
Python
false
false
3,358
py
# Decision Tree Classification # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Social_Network_Ads.csv') X = dataset.iloc[:, [2, 3]].values y = dataset.iloc[:, 4].values # Splitting the dataset into the Training set and Te...
[ "manibhushan.cs@gmail.com" ]
manibhushan.cs@gmail.com
7cae145eeb1765e1dc1249a7c25c4f9b5a5a80c0
2612f336d667a087823234daf946f09b40d8ca3d
/python/lib/Lib/site-packages/django/utils/formats.py
c23a37cb2b51c0f4fca23725608c0e1326cc71ee
[ "Apache-2.0" ]
permissive
tnorbye/intellij-community
df7f181861fc5c551c02c73df3b00b70ab2dd589
f01cf262fc196bf4dbb99e20cd937dee3705a7b6
refs/heads/master
2021-04-06T06:57:57.974599
2018-03-13T17:37:00
2018-03-13T17:37:00
125,079,130
2
0
Apache-2.0
2018-03-13T16:09:41
2018-03-13T16:09:41
null
UTF-8
Python
false
false
6,513
py
import decimal import datetime from django.conf import settings from django.utils.translation import get_language, to_locale, check_for_language from django.utils.importlib import import_module from django.utils.encoding import smart_str from django.utils import dateformat, numberformat, datetime_safe from django.util...
[ "dmitry.trofimov@jetbrains.com" ]
dmitry.trofimov@jetbrains.com
112d2d8320692eba6ef70e6342254ab8abb37bd3
875921eb2b486923cfef0c2af249e8f456bdf0c9
/config.py
71df786a370703f818458fa7a87ac6837cb8727c
[ "Apache-2.0" ]
permissive
baozixifan/ASRFrame
c0d3d477409b0e262fbf760860c6c7b6ddd59caf
307596dc729f7611b270b9f6d279fefa05ef488d
refs/heads/master
2020-06-23T07:06:07.973172
2019-07-18T16:26:07
2019-07-18T16:26:07
198,550,805
1
0
null
2019-07-24T03:23:48
2019-07-24T03:23:47
null
UTF-8
Python
false
false
1,964
py
import platform import os project_path = os.path.split(os.path.realpath(__file__))[0] # thu_datapath = None # 目录下应该有data/ dev/ 等目录 z200_datapath = None # 目录下应该有一大堆G../格式的目录 aishell_datapath = None # 目录下应有wav/和transcript/两个目录 prime_datapath = None # 目录下应有一个json文件和一个目录 stcmd_datapath = None # 目录下应该直接是音频文件 wiki_datapat...
[ "sailist@outlook.com" ]
sailist@outlook.com
977922ac36268edcaa041e79fd97eed215a5b6ac
179577ecdd7fda84ad970b3aad573a575fef56bc
/exercicios/ex034.py
cc2175d2d31399159743980d7251f1a8965d04fb
[]
no_license
Elvis-Lopes/Curso-em-video-Python
6c12fa17a5c38c722a7c8e9677f6d9596bc5653c
65f093975af9bd59c8aaa37606ba648b7ba1e1c4
refs/heads/master
2021-02-11T12:15:13.580496
2020-05-05T21:55:06
2020-05-05T21:55:06
244,490,886
1
0
null
null
null
null
UTF-8
Python
false
false
218
py
sal = float(input('Insira o salário: ')) aumento = float() if sal > 1250: aumento = (sal*15)/100 sal = sal + aumento else: aumento = (sal*10)/100 sal = sal + aumento print(f'Novo salario R${sal:.2f}')
[ "elvislopes1996@hotmail.com" ]
elvislopes1996@hotmail.com
3c53e42d5a2371b1683e62b91621f013f2474ebd
7e50b94379132a4156fd693bc73d640ff6752ed9
/tests/conftest.py
6981e1f250018bce62a66937c9462a5ed171ebab
[ "MIT" ]
permissive
Pylons/plaster_pastedeploy
145ac4c5310babf78ea7a0f7ad0639cc1b3f8a33
c0a146cdfac61781057ecaaa1b7938ef53dae9af
refs/heads/main
2023-06-12T04:08:37.382145
2023-01-03T02:44:28
2023-01-03T02:44:28
60,292,293
7
8
MIT
2023-09-09T04:19:56
2016-06-02T19:40:32
Python
UTF-8
Python
false
false
515
py
import os.path import sys import pkg_resources import pytest @pytest.fixture(scope="session") def fake_packages(): # we'd like to keep this scope more focused but it's proven really # difficult to fully monkeypatch pkg_resources and so for now we just # install the packages for the duration of the test s...
[ "michael@merickel.org" ]
michael@merickel.org
a73f8302a9249594d2ed5b77f6688c6768dc5b63
6a2b0db7d6c4ecef8434f3b35fcaef71eeb0d896
/VENV/py3_venv/lib/python3.6/site-packages/pyntc/templates/__init__.py
f9a12282a24b39159158a59ac474ea95c08b289c
[]
no_license
pseudonode/nornircourse
9bf890ecfadd1a08691f113e0cd2acadd4b9bffa
1ad0372f9673de784233937cc15779bc2391e267
refs/heads/master
2022-11-09T20:18:22.714703
2019-10-04T08:06:42
2019-10-04T08:06:42
211,856,983
3
2
null
null
null
null
UTF-8
Python
false
false
926
py
import os import textfsm TEMPLATE_PATH_ENV_VAR = "NTC_TEMPLATES" def get_structured_data(template_name, rawtxt): """Returns structured data given raw text using TextFSM templates """ template_file = get_template(template_name) with open(template_file) as template: fsm = textfsm.TextFSM(te...
[ "andre@recursivenet.com" ]
andre@recursivenet.com
3eb6d193517b5ddaa0e343c16513ad7fff94180c
216ee8ab7ca468638aa2dc6ccb7f89ea76dd0b35
/Project/Solutions/b_print_to_csv/scraper.py
53d02a6e14c5fe2a789323404aefe9f094fd9c4d
[]
no_license
satishkbe/python-level-2
7b44d0f676bc830f0a94f823aeb6e0f628215628
834411f74d54019b9675a87004fd39072dc5fba0
refs/heads/master
2023-03-13T20:32:17.993938
2021-03-16T00:19:07
2021-03-16T00:19:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
import csv import requests from bs4 import BeautifulSoup URL = "https://en.wikipedia.org/wiki/Member_states_of_the_United_Nations" # Todo: Update with your info name = None email = None assert name and email headers = {'User-Agent': f'{name} ({email})'} response = requests.get(URL, headers=headers) assert respons...
[ "ariannedee@gmail.com" ]
ariannedee@gmail.com
1571db30fcb1897a7c23bbc6da84249efffefe12
13cf11440998376d3b52a49f1e4fb8936c360ac4
/chainer_chemistry/saliency/visualizer/table_visualizer.py
4e27c19c5a807d63f9d5844832ecaecdfb772adc
[ "MIT" ]
permissive
k-ishiguro/chainer-chemistry
87e3db724de0e99042d9585cd4bd5fff38169339
aec33496def16e76bdfbefa508ba01ab9f79a592
refs/heads/master
2021-07-06T22:58:20.127907
2019-02-04T02:51:34
2019-02-04T02:51:34
169,345,375
1
1
MIT
2020-07-30T06:04:13
2019-02-06T02:27:39
Python
UTF-8
Python
false
false
3,289
py
import numpy import matplotlib.pyplot as plt from chainer_chemistry.saliency.visualizer.base_visualizer import BaseVisualizer # NOQA from chainer_chemistry.saliency.visualizer.visualizer_utils import abs_max_scaler # NOQA class TableVisualizer(BaseVisualizer): """Saliency visualizer for table data""" def...
[ "acc1ssnn9terias@gmail.com" ]
acc1ssnn9terias@gmail.com
af23bfe2581b749cad1c35dc75d23d8ece968b41
e756bfb5290cd336d20f0cf0cde04eec2a35caae
/src/actions/custom/utils/pick_card.py
9847ba74cd50d6deef5415fb9cb4dde04b52eee6
[ "MIT" ]
permissive
StetHD/Lonabot
ff1b9113f1e8d6618a271a17752e86679e0c6274
615ce2c176607d6da71c84d38644d8aaaf0d3a0b
refs/heads/master
2021-01-22T10:40:55.989293
2016-08-24T10:17:29
2016-08-24T10:17:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,101
py
from actions.action_base import ActionBase from random import choice, randint class PickCardAction(ActionBase): def __init__(self): super().__init__(name="PICK A CARD FROM THE DECK", keywords=['pick a card (INT)', 'pick (INT) cards?']) def a...
[ "totufals@hotmail.com" ]
totufals@hotmail.com
b26f46287c34e1c977675f1a1da4680ab338880a
d578dc0955028ee86656f06423ceaa4a50c5ba92
/Final Project/Centroid.py
6915378daa05fc205509cf703953b537c1f5ae35
[]
no_license
ohsuz/CSI4106-Repository
1b17482d9215c0dcfff60edb90494833d11e069a
d81c5a2600b7c8bf67dd02fbd30138a7f8245e47
refs/heads/master
2023-06-11T10:29:33.009843
2021-06-26T18:02:50
2021-06-26T18:02:50
230,781,524
3
1
null
null
null
null
UTF-8
Python
false
false
1,509
py
#!/usr/bin/env python # coding: utf-8 # In[33]: #import packages import glob import os import imutils import cv2 #read the images from the folder images = [cv2.imread(file) for file in glob.glob("C:/Users/cjtol/CSI4106/Pocket/*.png")] #covert image to grayscale gray = cv2.cvtColor(image, cv2.COLOR_...
[ "gl_gd@naver.com" ]
gl_gd@naver.com
cd6c93b19fecb396cb0458d2561de26a3b8b110a
f40ad51a600e64f12710fc4847c356a35cd0a3d2
/S08/oop/geometry.py
69181f8bd1a3113ef4a969527338183d111a722a
[]
no_license
pymft/py-mft1
0aa1b854ea80e17e18c0eacc6f4dc7428a71af39
f4657fe17e56b6f54bdc8b1076edfc388b85cb05
refs/heads/master
2020-05-09T09:32:59.020361
2019-07-05T13:59:19
2019-07-05T13:59:19
181,006,072
1
5
null
2019-05-03T20:06:03
2019-04-12T12:42:38
Python
UTF-8
Python
false
false
940
py
import math class Parallelogram: def __init__(self, a, b, angle): print("paralleogram", self.__class__) self.a = a self.b = b self.angle = angle @property def area(self): return self.a * self.b * math.sin(math.radians(self.angle)) @property def perimeter(se...
[ "naeini.v@gmail.com" ]
naeini.v@gmail.com
56e49ec8b756e2762d4f46ee992731ee54be86f1
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/379.py
45af30e36a16a8b8f0a6a9536d9e5d1ddb753e2b
[]
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
1,246
py
def hasLine(squares, symbol): for i in range(4): if squares[i][0] == squares[i][1] == squares[i][2] == squares[i][3] == symbol: return True for i in range(4): if squares[0][i] == squares[1][i] == squares[2][i] == squares[3][i] == symbol: return True if squares[0][0] == squares[1][1] == squares[2][2]...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
fd7326df55080e803d9ef5dcf9ef75f5bfd70c6c
2c872fedcdc12c89742d10c2f1c821eed0470726
/pbase/day12/code/text2.py
416a82954f3664da8fa1e1eb23e2cb329b0f8028
[]
no_license
zuigehulu/AID1811
581c3c7a37df9fa928bc632e4891fc9bafe69201
10cab0869875290646a9e5d815ff159d0116990e
refs/heads/master
2020-04-19T16:33:04.174841
2019-01-30T07:58:24
2019-01-30T07:58:24
168,307,918
1
0
null
null
null
null
UTF-8
Python
false
false
479
py
# 编写函数fun 基功能是计算下列多项式的和 # Sn = 1 + 1/1! + 1/2! + 1/3! + .... + 1/n! # (建议用数学模块中的factorial) # 求当n得20时 Sn的值 # 即: # print(fun(20)) # 2.718281828... import math # def sumfun(n): # Sn = 1 # for x in range(1,n+1): # Sn += 1/math.factorial(x) # return Sn # print(sumfun(20)) def ...
[ "442315617@qq.com" ]
442315617@qq.com
e1797abbb517a5b0d9e49e93536eb28f286dff74
a214e706c875e0af7221c0c9ae193d9d93ee20a7
/merge_pedmap.py
a521b00da550343f20052204c786390bad354afb
[]
no_license
inambioinfo/bioinformatics_scripts
fa2292e91ad4134204a09ace27c8a91ae70fa34c
3a23611f382b7f3dd60e5e2abe841b84408c0d44
refs/heads/master
2020-03-20T21:17:10.163061
2017-03-28T23:41:39
2017-03-28T23:41:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,809
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from optparse import OptionParser import os __author__ = "Raony Guimarães" __copyright__ = "Copyright 2012, Filter Analysis" __credits__ = ["Raony Guimarães"] __license__ = "GPL" __version__ = "1.0.1" __maintainer__ = "Raony Guimarães" __email__ = "raonyguimaraes@gmail.co...
[ "raonyguimaraes@gmail.com" ]
raonyguimaraes@gmail.com
dd713f3a180a0c82f82e9b6a9e9358a8c8649ab4
f4d78406cda8cb7e8232873dfd4d735763a36f07
/result/migrations/0004_auto_20170331_2017.py
5ac9fa86e89e90bb810b3663b4339951b7cc5e5d
[]
no_license
pratulyab/ipu-results-bot
722b646a098f95e21bb12a47bcaff69d7e8a034a
aa000f28cad79ad49d14547203877247fae7327d
refs/heads/master
2022-07-13T18:03:39.107959
2019-06-24T20:45:56
2019-06-24T20:45:56
193,555,061
0
0
null
2022-06-21T22:12:19
2019-06-24T18:05:45
Python
UTF-8
Python
false
false
550
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-03-31 14:47 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('result', '0003_auto_20170331_1806'), ] operations = [ migrations.RemoveField(...
[ "pratulyabubna@outlook.com" ]
pratulyabubna@outlook.com
0b3788d4fbdbbf609b1d07cec5135630f51a7c4b
ed7b5c24d9a13d0c717fd6f6293f3464f43d7cbf
/demo/sjh_web/demo55.py
0dd3351eafd4b929e7b8c9d051f64ed3d14dee2a
[]
no_license
befallenStar/python
ccb93d456dc161a8087a78220a7aaab21320ab8b
e44ce8c11b820f03fe2d60dfa84053d8cc356c80
refs/heads/master
2022-12-07T18:34:03.091146
2020-08-20T02:33:56
2020-08-20T02:33:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,659
py
# -*- encoding: utf-8 -*- import urllib3 pcUserAgent = { 'IE-agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windwos NT 6.1; Trident/5.0;', 'firefox-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0', 'chrome-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/5...
[ "sy5622_5@126.com" ]
sy5622_5@126.com
572b84a3f569162ee860e6f7b20ac524c04a19b9
6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5
/katas/kyu_7/linked_lists_get_nth_node.py
1f2b39f86f418fb40df8cc42b845bc21a735c961
[ "MIT" ]
permissive
mveselov/CodeWars
e4259194bfa018299906f42cd02b8ef4e5ab6caa
1eafd1247d60955a5dfb63e4882e8ce86019f43a
refs/heads/master
2021-06-09T04:17:10.053324
2017-01-08T06:36:17
2017-01-08T06:36:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
class Node(object): def __init__(self, data): self.data = data self.next = None def get_nth(node, index): current = node dex = -1 while current is not None: dex += 1 if dex == index: return current current = current.next raise Exception
[ "the-zebulan@users.noreply.github.com" ]
the-zebulan@users.noreply.github.com
d47b760098656ec22905595db57af143f04c9a99
b5cf99c4ed0ff18e351394ae85a91068a74dcc16
/libdemo/bs_demo.py
445ff43c30b45cdfd2a3a0e39920958a494e0f96
[]
no_license
srikanthpragada/DEMO_PYTHON_19_NOV_2019
8966d218af8531c8e77accf7e2740094e2c1902f
ac50fdbb7de94d671e0ab5274d6aadd133b70899
refs/heads/master
2020-09-14T08:19:55.453868
2019-12-23T03:00:07
2019-12-23T03:00:07
223,076,035
1
0
null
null
null
null
UTF-8
Python
false
false
204
py
from bs4 import BeautifulSoup st = "<html><body><h1>Title1</h1><h2>Title2.1</h2><h2>Title2.2</h2></body></html>" bs = BeautifulSoup(st, 'html.parser') for tag in bs.find_all("h2"): print(tag.text)
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
5a991fed1d4a0e7596274c8eb7335d9e09592e6a
8f5f0c3ef83fdd482387973149738f6178477a42
/medium/trees/next_right_pointer.py
e1eb4ce5802ddc9adc9779869feb56faa06352f2
[]
no_license
nicokuzak/leetcode
79a5771ad83786cc7dbfd790f8fffcf1ce58794e
39b0235dc429a97a7cba0689d44641a6af6d7a32
refs/heads/main
2023-04-06T21:02:09.553185
2021-04-14T22:21:20
2021-04-14T22:21:20
336,847,511
0
0
null
null
null
null
UTF-8
Python
false
false
1,414
py
"""You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following definition: struct Node { int val; Node *left; Node *right; Node *next; } Populate each next pointer to point to its next right node. If there is no next right nod...
[ "nicokuzak95@gmail.com" ]
nicokuzak95@gmail.com
5b21a4c2067e74e7ff233876453a7bbb84d6ebc6
3bc4b502fdb5ffecdbecc9239a0c25746dc31022
/Ch06/p157.py
9df9fb2464141935daf597c1cf1f74a731857083
[]
no_license
pkc-3/python
68da873bbe7ad9a3e0db4e22ddaa412a9377720f
d8410d897c3784c6017f7edc215ce8763e557518
refs/heads/master
2023-05-31T06:40:30.279748
2021-06-10T09:00:09
2021-06-10T09:00:09
361,634,592
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
#self 명령어 예 class multiply3: #멤버 변수 없음 #생성자 없음 #동적 멤버변수 생성/초기화 def data(self,x,y): self.x = x self.y = y #곱셈 연산 def mul(self): result = self.x * self.y self.display(result) #메서드 호출 #결과 출력 def display(self, result): print("곱셈 = %d" % (result)) ...
[ "pkc_3@naver.com" ]
pkc_3@naver.com
1ad1cdf4c211d1ad2cfc0e6db523776b6a91d5d7
711756b796d68035dc6a39060515200d1d37a274
/output_cog_tags/initial_859.py
a64a24fccf2efc8b865aa813310e625203f34f62
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
4,330
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
d7f63dcc0bc4be0be92e1b193db9abad6b55f611
c9500ad778b8521aaa85cb7fe3239989efaa4799
/plugins/microsoft_intune/icon_microsoft_intune/actions/get_managed_apps/schema.py
950f7ebf08d7248b32cb5c69cb6007c0c35c5b04
[ "MIT" ]
permissive
rapid7/insightconnect-plugins
5a6465e720f114d71b1a82fe14e42e94db104a0b
718d15ca36c57231bb89df0aebc53d0210db400c
refs/heads/master
2023-09-01T09:21:27.143980
2023-08-31T10:25:36
2023-08-31T10:25:36
190,435,635
61
60
MIT
2023-09-14T08:47:37
2019-06-05T17:05:12
Python
UTF-8
Python
false
false
4,712
py
# GENERATED BY KOMAND SDK - DO NOT EDIT import insightconnect_plugin_runtime import json class Component: DESCRIPTION = "Returns InTune manageable apps" class Input: APP = "app" class Output: MANAGED_APPS = "managed_apps" class GetManagedAppsInput(insightconnect_plugin_runtime.Input): sc...
[ "noreply@github.com" ]
rapid7.noreply@github.com
d09cbbe00b827f394ca2273cd1219aa9bad0fd43
9c7091f82a5108261cbc3e5209f0e6df42f55530
/node/src/fuzzers/peach_fuzzbang.py
3a1d9883ba450b54c00eee87fd997b6a106f6edc
[ "MIT" ]
permissive
hatRiot/PeachOrchard
881b24bdf8ceb5c1e23c989fdb612f8b70dfd192
cd11ab0ccbcce2349408d5c2e4b651eb99a4e9c1
refs/heads/master
2021-06-18T03:27:03.835834
2019-09-23T19:24:02
2019-09-23T19:24:02
23,305,215
46
26
MIT
2021-06-10T19:48:39
2014-08-25T07:12:20
Python
UTF-8
Python
false
false
3,101
py
from src.core.log import * from src.core import config from src.core import utility from src.core.fuzzer import Fuzzer from re import findall import os class peach_fuzzbang(Fuzzer): """ Class implements the interface for the Peach fuzzer. This has been tested with FuzzBang as well as regular ol' Peach. "...
[ "shodivine@gmail.com" ]
shodivine@gmail.com
9dd49b3cf82fa3b52f4bc3b9c1514bcf1c23dca0
63ba933a294865f65409635f62e0f1d59f725f37
/src/trees/isBalanced.py
7ecb0495d36c1aecf3938a94d2007c4730bf1f19
[ "CC0-1.0" ]
permissive
way2arun/datastructures_algorithms
fc4302bdbb923ef8912a4acf75a286f2b695de2a
4ea4c1579c28308455be4dfa02bd45ebd88b2d0a
refs/heads/master
2021-12-07T04:34:35.732026
2021-09-30T12:11:32
2021-09-30T12:11:32
203,658,808
1
0
null
2020-08-08T15:55:09
2019-08-21T20:23:46
Python
UTF-8
Python
false
false
1,995
py
""" Balanced Binary Tree Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the left and right subtrees of every node differ in height by no more than 1. Example 1: Input: root = [3,9,20,null,null,15,7] Output: true Exam...
[ "way2aru@yahoo.com" ]
way2aru@yahoo.com
64728e5c76187cf4177e6d19c48c73b797430c05
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/perso_arabic_norm/describe_splits.py
70788b7f48dbdc399d1fcc680fe3b99a08017009
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
2,067
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
ad55a036719eab54161bb16e9344fa465842a9b0
003ffcf8144565404636f3d74590a8d6b10a90a4
/620-not-boring-movies/620-not-boring-movies.py
649086294562ebc1cd5148e624db643e5a39e3ab
[]
no_license
congve1/leetcode
fb31edf93049e21210d73f7b3e7b9b82057e1d7a
ce1e802b5052da2cdb919d6d7e39eed860e0b61b
refs/heads/master
2020-05-13T19:19:58.835432
2019-05-06T00:44:07
2019-05-06T00:44:07
181,652,371
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
# Write your MySQL query statement below select id,movie,description,rating from cinema where description != 'boring' and id%2 = 1 order by rating DESC
[ "congve1@live.com" ]
congve1@live.com
656400a9a3c0238586b3bc67900a8c9c266c3cfb
5891051796778cfb44a255248ce38789bfef9e70
/DjangoLearn/bgfaith/urls.py
2fae220197d9f146c5fbb61d9e5154182b10d282
[]
no_license
Faithlmy/Python_base
cc546a5d86b123e102a69df1227cde9b6e567493
5a43557e6375dc9dbe5f6701d7c10e549873a5ab
refs/heads/master
2021-01-01T17:07:04.097978
2018-03-31T16:44:01
2018-03-31T16:44:01
98,000,621
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
"""bgfaith 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-bas...
[ "lmengyy@126.com" ]
lmengyy@126.com
4fbda2699b9145b694ef3f7a10590380ae779cad
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L54/54-23_MD_NVT_rerun/set_4.py
5cd6d8796cee46fdf49e2b9f80b0d39eff8896aa
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L54/MD_NVT_rerun/ti_one-step/54_23/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_4.in' temp_pbs = filesdir + 'temp_4.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu