blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
d98234efa40fb798d6faa30258566f5240281566
52b5773617a1b972a905de4d692540d26ff74926
/.history/smallestWindow_20200707160434.py
7409791c55ac7cf067acac42549d2f5fd582c808
[]
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
1,472
py
def min(s,t): no_of_chars = 256 count = 0 start = 0 start_index = -1 min_len = float('inf') print(start,start_index,min_len) # first check if the length of the string is less than the string of the given pattern if len(t)> len(s): return "" else: # store the occurr...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
9c6ef08a4f2ad7ea43a9ad6e3577602aba3521a9
f3f76d228f7de399831f31d7d3ca8942e0c27d58
/tutorial_coding_example.py
1ac17fa1231e79284ce32ef860c65fa73bb9304f
[]
no_license
emylincon/line_encoding
3cac93630d8416c0f513c172982b561c7fd7469a
80a79b22501bac2371b6ad63ca6fe955608291f2
refs/heads/master
2021-01-04T11:54:42.411696
2020-02-15T21:40:13
2020-02-15T21:40:13
240,536,066
1
0
null
null
null
null
UTF-8
Python
false
false
3,775
py
import matplotlib.pyplot as plt fig = plt.figure() ax1 = fig.add_subplot(411) ax2 = fig.add_subplot(412) ax3 = fig.add_subplot(413) ax4 = fig.add_subplot(414) names = {1: "Unipolar NRZ", 2: "Unipolar RZ", 3: "Manchester coding", 4: "Differential Manchester coding"} def line_convert(bits, no): ax1.grid() x1 ...
[ "emylincon@gmail.com" ]
emylincon@gmail.com
4730d785505d4b447c0411e7674925389bef38ed
b6c7f367306f8f3d9fad7551810c68b392a1b879
/omoide/tests/unit/test_utils.py
92cf7e3191f512d335d542af0351cc8503a66dc8
[ "MIT" ]
permissive
TaXeH/Omoide
c96ef35b1394125fc98367e8a9ef1674718e7e9e
8ccc9d47e802433bb2de21ff930e6630658cd5e3
refs/heads/main
2023-07-18T12:00:15.469707
2021-08-28T11:37:23
2021-08-28T11:37:23
400,773,814
0
0
MIT
2021-08-28T11:17:55
2021-08-28T11:17:55
null
UTF-8
Python
false
false
2,579
py
# -*- coding: utf-8 -*- """Tests. """ from omoide import utils def test_byte_count_to_text_ru(): """Must convert to readable size in russian.""" func = utils.byte_count_to_text assert func(-2_000, language='RU') == '-2.0 КиБ' assert func(-2_048, language='RU') == '-2.0 КиБ' assert func(0, languag...
[ "nicord@yandex.ru" ]
nicord@yandex.ru
56805d4ddf91239e2f1e5d9219a569abc53ef185
48deb00f51be78bd0e2eac898428a783b1fb95da
/ejemplos/funcion_palindromo.py
0dcef6a2c971bfd2d1ed5d36358323128864c922
[]
no_license
jkaalexkei/TrabajosEnPython
435bc77982bc3b44f080e28732ff0c439a2c41cd
764965ddc6736e94e61d7ab8419cc5e33a767a0b
refs/heads/master
2023-06-04T21:35:56.522264
2021-06-22T02:04:51
2021-06-22T02:04:51
352,990,890
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
def palindromo(texto): lista =[] for i in texto: lista.append(i) print(lista) lista_inversa = lista[::-1]#se invierte la lista print(lista_inversa) if lista == lista_inversa: print("verdadero, si es palindromo") else: print("Falso, no es palindromo") palindr...
[ "jkaalexkei@gmail.com" ]
jkaalexkei@gmail.com
3ac66d934734757dcd65a9fc45415ee138398ade
ec9431bc95f5b832876e16351967aef19b1395d7
/ci-hpc/visualisation/www/plot/highcharts.py
2f107515cadada74fee026073ba8c3fbe4d2c584
[ "MIT" ]
permissive
elichad/ci-hpc
743b828c1e410d6dc1d457121e9508ee2de6f420
62c45a2e12a515a7034edafc2f3139f820f8bfeb
refs/heads/master
2020-03-26T06:09:45.508223
2018-08-10T09:30:25
2018-08-10T09:30:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,640
py
#!/usr/bin/python3 # author: Jan Hybs import collections import copy import pandas as pd import numpy as np import utils.dateutils as dateutils from artifacts.db.mongo import Fields as db from utils.datautils import ensure_iterable from utils.logging import logger from utils.timer import Timer from visualisation.www...
[ "jan.hybs@tul.cz" ]
jan.hybs@tul.cz
f9e9ea5cf0e8aaaf099dc0d00f881e4a8d78ebcc
69033ac834a34f10df535f102197d3af05e5ee69
/cmstack/codegen/dnnweavergen/dnnweaver2/tf_utils/__init__.py
fc38259c6600164e872c649c3406bfb281b5de31
[ "Apache-2.0" ]
permissive
he-actlab/cdstack
126c3699074bf6ef30f9f9246704069d27e9e614
38f605cfa299bf97b5875a19f9fd811a2671d56f
refs/heads/master
2023-04-10T10:42:10.199207
2019-10-03T02:12:49
2019-10-03T02:12:49
354,713,812
0
0
null
null
null
null
UTF-8
Python
false
false
23,823
py
import tensorflow as tf import time from datetime import datetime import math from pynvml import * import tensorpack import os from tqdm import tqdm, trange import numpy as np from dnnweaver2.tf_utils.dataset import ImageNetProducer from dnnweaver2.tf_utils.helper import DataSpec import logging def time_tensorflow_r...
[ "sean.kinzer@gmail.com" ]
sean.kinzer@gmail.com
ae2ec3f90bade82ccddeed661b5e315c0a5f5a14
1fdad1e45625edf2fdaf26ca284054461839a2d4
/rmzfzc/rmzfzc/spiders/jilin_zwgk.py
0bdaaba3f5ff6751cf7f78211ea6d56d11d32b53
[]
no_license
Mdxue/crawler-scrapy
b99a61f2fa0eff7a1194495314acdb7907018369
ed4dcf5ffc15b60f9efa5d7e5093872343d2bbd0
refs/heads/master
2020-12-09T08:02:53.134473
2020-01-11T13:44:28
2020-01-11T13:44:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,292
py
# -*- coding: utf-8 -*- import scrapy import logging from scrapy_splash import SplashRequest from rmzfzc.items import rmzfzcItem import time from utils.tools.attachment import get_attachments,get_times script = """ function wait_for_element(splash, css, maxwait) -- Wait until a selector matches an element -- in th...
[ "sn_baby@qq.com" ]
sn_baby@qq.com
a42429003c82135a616d13a78e0327d1159b7f2f
84350ae13162c3bb1978ab4340ebb95abca55d34
/SampleSize/get_ns_sample_sizes.py
e4e48efead29bdd9cf1973e52e8cfb3520a37592
[ "MIT" ]
permissive
poldracklab/ScanningTheHorizon
5bd6b31bd7028f4724719c78cca3e89410d4f3e8
09b9f64eda5fc5c82e64679aa33d4c3c2685928b
refs/heads/master
2021-06-14T08:24:59.989406
2021-02-10T14:25:27
2021-02-10T14:25:27
63,067,849
8
8
null
2016-12-10T23:50:12
2016-07-11T12:55:22
Jupyter Notebook
UTF-8
Python
false
false
3,259
py
# get_ns_sample_sizes.py - extract estimated sample size data from neurosynth # Tal Yarkoni, 2016 import re import traceback def text2int(textnum, numwords={}): if not numwords: units = [ "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven...
[ "poldrack@gmail.com" ]
poldrack@gmail.com
7a4b19779b85a11de4e2f07e299d2bdc2245323b
b6284d558812f07251adfbcda389611028043a4c
/brands/migrations/0006_auto_20180604_0913.py
ffda114cfc851f64bdc47cc39cd8afb239c1100c
[]
no_license
markmurimi/shoe-blog
980c63c184007cadd5f59fa546f7328a38bed54e
669f260dfcdb196e47a37d9e12bf7a377f709362
refs/heads/master
2020-03-19T00:07:00.550739
2018-06-04T13:47:11
2018-06-04T13:47:11
135,454,230
4
0
null
null
null
null
UTF-8
Python
false
false
539
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-06-04 06:13 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('brands', '0005_brand_profile'), ] operations = [ ...
[ "murimimg180@gmail.com" ]
murimimg180@gmail.com
6759042deacc240255f80367f88e6bf8224b325a
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-ecs/huaweicloudsdkecs/v2/model/reinstall_server_with_cloud_init_response.py
cfb9cc2e4bdefdc4bf87295e0a15170c6d533e4b
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,105
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ReinstallServerWithCloudInitResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dic...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
9f2c43f0d001e0f731da8d1a66178d1408dda476
384b9368ee0731ed62e48f38c40fc027f08a4b7f
/PycharmProjects/DeepLearning/MachineLearning/Mnist_layers.py
29702c0870d337404ee60fb79d0cb8c60633bc17
[]
no_license
secrecy27/MachineLearning
2ff2d438a91d5b906c61b388deeebeb774f933d3
f88e6477ec6e4087a347beb168e36b7fe0ea8359
refs/heads/master
2021-05-10T07:44:45.703761
2019-03-04T02:11:27
2019-03-04T02:11:27
118,853,812
1
0
null
null
null
null
UTF-8
Python
false
false
3,876
py
import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data tf.set_random_seed(777) mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) learning_rate = 0.001 training_epochs = 15 batch_size = 100 class Model: def __init__(self, sess, name): self.sess = sess se...
[ "secrecy418@naver.com" ]
secrecy418@naver.com
65b9d19d5490262f91494a7fbd37661c397b0a1e
6f3647ede6498a09dd2556130aebe30c9f80db43
/백트래킹/2580.py
6e6d1a09d26aca6b9b285868286ec5a891ad63b6
[]
no_license
dohee479/BAEKJOON
727a4eb1ce15879017e8edc1662b623babfa3801
77ed46da7e0de17d7f3ec9faf5b1bb1efa7b9d6b
refs/heads/master
2023-03-20T01:30:22.997774
2021-03-02T14:54:38
2021-03-02T14:54:38
275,624,349
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
# 스도쿠 import sys sys.stdin = open('input.txt', 'r') # 가로 체크 def horizontal(x, val): if val in sudoku[x]: return False return True # 세로 체크 def vertical(y, val): for i in range(9): if val == sudoku[i][y]: return False return True # 3x3 체크 def square(x, y, val): nx = x...
[ "dohee479@naver.com" ]
dohee479@naver.com
625838e78bffab40389132c5f4db754939aa0280
67a95330832e8bb83d65b22c6a58badaf416c043
/01_examples/my_close.py
262b66cd95fb7ba89ec9cb991ac7dea5fd98c4f0
[ "MIT" ]
permissive
jabbalaci/GUI-Dev-with-Python
af57fdccd59cd48cd2172988fdaa4074d4ac8c09
a4ac137965156621f3cf418018ef28f2c20541d9
refs/heads/master
2020-09-07T04:41:18.920856
2019-11-09T15:56:20
2019-11-09T15:56:20
220,657,859
1
0
null
null
null
null
UTF-8
Python
false
false
856
py
#!/usr/bin/env python3 import sys from PyQt5.QtGui import QKeySequence from PyQt5.QtWidgets import QApplication, QMainWindow, QAction, QShortcut class Window(QMainWindow): def __init__(self): super().__init__() self.shortcutQuit = QShortcut(QKeySequence("Ctrl+Q"), self) self.shortcutQui...
[ "jabba.laci@gmail.com" ]
jabba.laci@gmail.com
88f4d105da6bb88b15b7a37352e9b8f00e417880
e1de075ee032cf0cebc3e467aa222e35e6e370e9
/groups/migrations/0004_group_image.py
a09be9649caa8921f8835f234a2c8fe9a5de4a99
[]
no_license
benaka-tech/scientract
b6c5d2f6ddc483d4023531b9904590f1fa24f35f
9d89e80778ac1a44e5def4832fc2311a99d77f89
refs/heads/master
2022-11-21T12:32:12.217925
2020-10-18T05:16:25
2020-10-18T05:16:25
230,889,764
0
1
null
null
null
null
UTF-8
Python
false
false
412
py
# Generated by Django 2.1 on 2019-07-17 04:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('groups', '0003_auto_20190706_1030'), ] operations = [ migrations.AddField( model_name='group', name='image', ...
[ "cjayanth35@gmail.com" ]
cjayanth35@gmail.com
5532e746db3d8d199fa70f0b181057bac3d9c0d6
d9d8b097197baeaadafdacccd86b520773c32d85
/erifying an Alien Dictionary.py
26271222349b60aacedd2074ccdf9257cdacb9cc
[]
no_license
RiddhiRex/Leetcode
5e2f382182c735c6fc721120c6f32726d4cb7414
eeaa632e4d2b103c79925e823a05072a7264460e
refs/heads/master
2021-12-23T23:57:31.574066
2021-08-14T22:00:23
2021-08-14T22:00:23
136,531,450
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
class Solution(object): def isAlienSorted(self, words, order): """ :type words: List[str] :type order: str :rtype: bool """ l = len(words) o = {w: i for i,w in enumerate(order)} for i in range(len(words)-1): w1= words[i] w2= wor...
[ "noreply@github.com" ]
RiddhiRex.noreply@github.com
2dcadf604ebbbfe0a8359400a37f53b2daecfeea
c88d702ef4b64ae90788f5bff007f6c8bc901cd3
/the-versatile-sieve-of-eratosthenes/eratosthenessievestest.py
d133112a611a16a6552f5bbe0ba76592edd43c03
[]
no_license
ehem/Nayuki-web-published-code
566d3cc06d3d94405fa797098914884c8f8164fd
22003ffb91fd6f63e206dd15b870065f664976f8
refs/heads/master
2020-07-30T00:47:27.107344
2016-11-18T21:44:29
2016-11-18T21:44:29
73,651,938
1
0
null
2016-11-14T00:19:06
2016-11-14T00:19:06
null
UTF-8
Python
false
false
1,690
py
# # Test of variants of the sieve of Eratosthenes (Python) # by Project Nayuki, 2016. Public domain. # https://www.nayuki.io/page/the-versatile-sieve-of-eratosthenes # import eratosthenessieves, sys def main(): test_values() test_prefix_consistency() def test_values(): assert eratosthenessieves.sieve_primenes...
[ "me@nayuki.io" ]
me@nayuki.io
b4de99c9d8766608c026cc0929e60804e84684cd
e68a40e90c782edae9d8f89b827038cdc69933c4
/res/scripts/client/gui/scaleform/daapi/view/battle/shared/markers2d/manager.py
9cd0b7f91da659339fae8c59c961cfa51d0951ee
[]
no_license
webiumsk/WOT-0.9.16
2486f8b632206b992232b59d1a50c770c137ad7d
71813222818d33e73e414e66daa743bd7701492e
refs/heads/master
2021-01-10T23:12:33.539240
2016-10-11T21:00:57
2016-10-11T21:00:57
70,634,922
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
8,714
py
# 2016.10.11 22:10:44 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/battle/shared/markers2d/manager.py import weakref import GUI from account_helpers.settings_core import g_settingsCore import constants from debug_utils import LOG_CURRENT_EXCEPTION from gui import DEPTH_OF_Veh...
[ "info@webium.sk" ]
info@webium.sk
ce0f1fd01e0c92f3db50f007aee37f83ec422233
1afa1b1929d1cd463cd9970174dd58ce2ca6eb1e
/configs/dnlnet/dnl_r101-d8_512x1024_40k_cityscapes.py
35486efd42f3d22eaed88e076420094ab7358379
[ "Apache-2.0" ]
permissive
CAU-HE/CMCDNet
2328594bf4b883384c691099c72e119b65909121
31e660f81f3b625916a4c4d60cd606dcc8717f81
refs/heads/main
2023-08-08T17:21:57.199728
2023-07-28T07:34:40
2023-07-28T07:34:40
589,927,845
12
1
null
null
null
null
UTF-8
Python
false
false
133
py
_base_ = './dnl_r50-d8_512x1024_40k_cityscapes.py' model = dict(pretrained='open-mmlab://resnet101_v1c', backbone=dict(depth=101))
[ "flyhxn@qq.com" ]
flyhxn@qq.com
5bf6f1a2a9a6ec4d4c56d13b543f635813c9541a
8bc15212b7c3f097fd2335094f16344dfd5cb530
/icbc_test_to_anki/__init__.py
57fd2fcb2b91b6e264b61cec2ec6eec19fb45616
[ "MIT" ]
permissive
genzj/icbc_test_to_anki
c6888db81f1fb2e282446815006f52fb647bb711
148c29cd9513d666afe4b41d2aa4abcbcb5e8220
refs/heads/main
2022-12-20T09:26:54.339921
2020-10-18T22:19:18
2020-10-18T22:19:18
305,209,198
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
"""Top-level package for ICBC Test to Anki.""" __author__ = """genzj""" __email__ = 'zj0512@gmail.com' __version__ = '0.1.0'
[ "zj0512@gmail.com" ]
zj0512@gmail.com
d83ecf1d144629c8d144fbf6023add38a6bfd419
106983cf0b8df622f514ecff2bb2fa4c794c9dac
/Misc/Raspberry Pi Things/SimpleCV/sportsballs.py
49c60bf7ccc25b67065b125f48b3a7fd61125480
[]
no_license
michael5486/Senior-Design
2d9ae521c637abf7c0825f85b32752ad61c62744
6b6c78bed5f20582a9753a9c10020c709d6b6e53
refs/heads/master
2021-01-19T09:58:35.378164
2017-05-26T17:17:13
2017-05-26T17:17:13
67,556,475
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
from SimpleCV import Color, Image import time img = Image("sportsballs.jpg") circles = img.findCircle(canny=200, thresh=250, distance=15) circles.sortArea() circles.draw(width=4) circles[0].draw(color=Color.RED, width = 4) img_with_circles = img.applyLayers() edges_in_image = img.edges(t2=200) final = img.sideBySide(e...
[ "michael5486@gmail.com" ]
michael5486@gmail.com
0356ceefabfd8f1609a9c3d6d709691476e619e4
7506c49859870af9e62c3e919857ffcdf2e9a19e
/book2/tf_test/keras_inception2.py
b85281630d569a8b110336815cd45ff6cc371f84
[]
no_license
Git2191866109/BookStudy
d363717285a5e9767e582f6efd1258680fa26f80
f172244218871372ca94286c3db64cf334627ef3
refs/heads/master
2022-11-08T00:15:00.963332
2020-06-28T10:28:33
2020-06-28T10:28:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,550
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # coding=utf-8 """ @author: Li Tian @contact: 694317828@qq.com @software: pycharm @file: keras_inception2.py @time: 2019/5/6 15:43 @desc: 用原生态的Keras实现Inception """ from keras.layers import Conv2D, MaxPooling2D, Input, Dense, Flatten import keras from keras...
[ "694317828@qq.com" ]
694317828@qq.com
5a7f4fcc5349f7c3cf44fdf7599a2ecb726ac6e8
bec623f2fab5bafc95eb5bd95e7527e06f6eeafe
/django-gc-shared/profiles/migrations/0016_userprofile_risk_appetite.py
5289f7c30df4582aa664b83ef65249cc6c01a66d
[]
no_license
riyanhax/a-demo
d714735a8b59eceeb9cd59f788a008bfb4861790
302324dccc135f55d92fb705c58314c55fed22aa
refs/heads/master
2022-01-21T07:24:56.468973
2017-10-12T13:48:55
2017-10-12T13:48:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0015_auto_20170118_1908'), ] operations = [ migrations.AddField( model_name='userprofile', ...
[ "ibalyko@ubuntu-server-16-04" ]
ibalyko@ubuntu-server-16-04
7efa3c706308d3f3fb706e4ca6d7d04a22d29144
399dae0b5ad9ca27cde175d25b5435958674eb50
/Network/Renew IP Configuration/renew-ip-configuration.py
40ebc13c2dc4e93b13e23b39afab411ca5f3fb03
[]
no_license
kannanch/pythonscripts
61e3ea9e8ebf6a6b0ec2a4a829664e4507b803ba
843a522236f9c2cc2aadc68d504c71bb72600bd9
refs/heads/master
2020-06-12T11:18:00.404673
2019-06-28T11:24:37
2019-06-28T11:24:37
194,282,297
1
0
null
2019-06-28T13:55:56
2019-06-28T13:55:56
null
UTF-8
Python
false
false
644
py
import os import ctypes class disable_file_system_redirection: _disable = ctypes.windll.kernel32.Wow64DisableWow64FsRedirection _revert = ctypes.windll.kernel32.Wow64RevertWow64FsRedirection def __enter__(self): self.old_value = ctypes.c_long() self.success = self._disable(ctypes.by...
[ "noreply@github.com" ]
kannanch.noreply@github.com
579cc5aad5e975d5285f65e46ab296b71ec91288
87d33dc5f071d00723da819a62f01ecda6db0244
/backend/api/models/vehicle_fuel_type.py
2f0cbf5e8cddfbcce7a7c0b79bd69bf917dd03c2
[ "Apache-2.0" ]
permissive
AntonCoetzer/zeva
bc961d1cf1e520ddc4a88e4dc826e317772737dc
500ed05694348f9084784ca8ec9aafa9b7f4371f
refs/heads/master
2020-12-23T06:33:04.149965
2020-01-28T20:00:09
2020-01-28T20:00:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
from django.db import models from api.models.mixins.effective_dates import EffectiveDates from auditable.models import Auditable from .mixins.named import Description class FuelType(Auditable, Description, EffectiveDates): vehicle_fuel_code = models.CharField( blank=False, db_comment="Fuel type (...
[ "31664961+kuanfandevops@users.noreply.github.com" ]
31664961+kuanfandevops@users.noreply.github.com
9bc0d080bd641b14b0f1ceaa0da41ea242af3190
131cf803a1f7b9638ab0a604d61ab2de22906014
/dimensigon/domain/entities/action_template.py
a8c9815a1afa5aa07818652e46e5d603bc62d2c6
[ "Apache-2.0" ]
permissive
dimensigon/dimensigon
757be1e61e57f7ce0a610a9531317761393eaad0
079d7c91a66e10f13510d89844fbadb27e005b40
refs/heads/master
2023-03-09T06:50:55.994738
2021-02-21T11:45:01
2021-02-21T11:45:01
209,486,736
2
0
Apache-2.0
2021-02-26T02:59:18
2019-09-19T07:11:35
Python
UTF-8
Python
false
false
11,589
py
import copy from enum import Enum from sqlalchemy import orm from dimensigon import defaults from dimensigon.domain.entities.base import UUIDistributedEntityMixin from dimensigon.utils import typos from dimensigon.utils.helpers import is_iterable_not_string from dimensigon.utils.typos import MultiLine from dimensigon...
[ "joan.prat@knowtrade.eu" ]
joan.prat@knowtrade.eu
5656b071da54a733c610db362e7eb8a3a509ff00
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/angle/third_party/glmark2/src/waflib/TaskGen.py
09c574622b8f905b68f0d5d96505a83460245800
[ "GPL-3.0-only", "LicenseRef-scancode-x11-opengl", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
12,619
py
#! /usr/bin/env python # encoding: utf-8 # WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file import copy,re,os from waflib import Task,Utils,Logs,Errors,ConfigSet,Node feats=Utils.defaultdict(set) HEADER_EXTS=['.h','.hpp','.hxx','.hh'] class task_gen(object): mappings=Utils.ordered_iter_dic...
[ "jengelh@inai.de" ]
jengelh@inai.de
88a801941c924e8ff2f4e55af3e00dd0489f7dc8
2ceb72ba06468ee4985c205697c9381c09dd71b2
/everest/repositories/rdb/querying.py
fa6c63eaa1409e7ce6bcaba0c6efe5c81e31637a
[ "MIT" ]
permissive
BigData-Tools/everest
7e9530125a8ae622825c75605e65f2a9b5669136
a9fad763148477d5d9112996707070578082c1e8
refs/heads/master
2021-01-16T23:04:01.857682
2013-05-23T11:48:00
2013-05-23T11:48:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,358
py
""" This file is part of the everest project. See LICENSE.txt for licensing, CONTRIBUTORS.txt for contributor information. Created on Jan 7, 2013. """ from everest.entities.attributes import EntityAttributeKinds from everest.querying.filtering import FilterSpecificationVisitor from everest.querying.interfaces import...
[ "fogathmann@gmail.com" ]
fogathmann@gmail.com
24911b11fad215799ee373c5a29640eef7216591
26fdd3419c1855f180d7e9bea3b59459ba9e6446
/venv/lib/python3.6/site-packages/oauthlib/oauth2/rfc6749/endpoints/base.py
c0fc72691170a3514b88711fe5b0a2a7fbc25395
[]
permissive
vansh1999/fashion-ecomm
eed52884ac007928260f50a885bec963d85a88d2
5879d0b1c64411485e861dfc9bcca6b4a82afc57
refs/heads/master
2021-06-24T21:58:26.931849
2021-04-10T08:37:50
2021-04-10T08:37:50
219,543,353
1
0
Apache-2.0
2021-04-10T08:37:51
2019-11-04T16:14:06
Python
UTF-8
Python
false
false
3,007
py
# -*- coding: utf-8 -*- """ oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ This module is an implementation of various logic needed for consuming and providing OAuth 2.0 RFC6749. """ from __future__ import absolute_import, unicode_literals import functools import logging from ..errors import (FatalClientError, OAut...
[ "vansh.bhardwaj1999@gmail.com" ]
vansh.bhardwaj1999@gmail.com
5f02870079502ff2794bbb095db80ebed49dd7d1
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/93f36b6c867e49c3bdbf84c064b0c842.py
e8e6a56b31f03144abc8f05a090f50e82b90b7b7
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
297
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals def hey(s): if s.isupper(): return 'Whoa, chill out!' elif s != '' and s[-1] == '?' : return 'Sure.' elif s == '' or s.isspace(): return 'Fine. Be that way!' else: return "Whatever."
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
a136b78531bddd949d77867571db4dfb227b0af5
355a09eb2f05b17e9acdac68922f297291a34d64
/hail/python/hail/nd/__init__.py
b9b251e1570234942491306a522d586c019ac5b7
[ "MIT" ]
permissive
3vivekb/hail
0d7ff84475b60322da6597e08132c61b1f72315c
82c9e0f3ec2154335f91f2219b84c0fb5dbac526
refs/heads/master
2020-09-17T08:48:02.250139
2019-11-25T23:07:45
2019-11-25T23:07:45
224,058,163
0
0
MIT
2019-11-25T23:04:45
2019-11-25T23:04:45
null
UTF-8
Python
false
false
104
py
from .nd import array, arange, full, zeros, ones __all__ = ["array", "arange", "full", "zeros", "ones"]
[ "daniel.zidan.king@gmail.com" ]
daniel.zidan.king@gmail.com
74f014742fb35dcae65ffef8e6013a171fbea7a2
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2321/60623/305900.py
95c8cdd08e3c24d9183b9dc840807c8375262ddf
[]
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
176
py
a=input().split(',') b=input() if a==['1','3','5','7'] and b='100': print(20) elif a[0]=='1': print(29523) elif a[0]=='20': print(8) else: print(a) print(b)
[ "1069583789@qq.com" ]
1069583789@qq.com
0ae86a8f2d6a7390e131c6a71cca58ae7de53deb
902198ab44ff0c74f8176e3eb3c6850c67ece463
/vpnaas-sslvpn-agent/neutron-16/neutron/agent/linux/ovs_lib.py
f92189f36929bdcf34b7b6f833b985f099c6f116
[ "Apache-2.0" ]
permissive
rajeshmohan/openstack
7ca543e86ce5b18be9615590128bf2811c019ef5
19eaf41c20503a7320e9895271802d11675dae2f
refs/heads/master
2021-03-12T20:29:20.842361
2014-09-12T00:48:08
2014-09-12T00:48:08
23,939,961
1
0
null
null
null
null
UTF-8
Python
false
false
19,963
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 Nicira Networks, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apach...
[ "rajesh.mlists@gmail.com" ]
rajesh.mlists@gmail.com
8779357df2161b13bec2458e00e29592b9255a79
8c3755e907a8f7fbae4e5e3334aa9332f8f705bb
/oop/duck_private.py
d8ba463099236eceb21c50f4216f1aa2592ed915
[]
no_license
xaneon/PythonProgrammingBasics
20c9db82f621a41735856a0b008bf2c328d8e4b5
accf4d16034d33e616b5ebe46f69c1130b09f85e
refs/heads/master
2020-06-13T13:47:02.995326
2019-07-01T13:45:29
2019-07-01T13:45:29
194,235,103
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
class Ente: def __init__(self, name): self.name = name self.pub = "Ich bin öffentlich" self._prot = "Ich bin protected" self.__priv = "Ich bin private" meineEnte = Ente("Ente Helga") print(meineEnte.name) print(meineEnte.pub) print(meineEnte._prot) # print(meineEnte.__priv) # funk...
[ "bonne.habekost@gmail.com" ]
bonne.habekost@gmail.com
50a41939dcaece2ee62cb4ecfa69a3b42812e2d6
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-alloydb/samples/generated_samples/alloydb_v1_generated_alloy_db_admin_failover_instance_sync.py
5378712384df36085d5bf053c22c3a0de018eeca
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,928
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
d9fe856ac2aee42a0671c65d6af3cb305a3eb1ec
e1c5b001b7031d1ff204d4b7931a85366dd0ce9c
/CMSDAS2019/CMSDAS2019_PKU/root_filter/definations.py
32c72710d7fbc2a62aa96daed37a787c2fdc34cb
[]
no_license
fdzyffff/IIHE_code
b9ff96b5ee854215e88aec43934368af11a1f45d
e93a84777afad69a7e63a694393dca59b01c070b
refs/heads/master
2020-12-30T16:03:39.237693
2020-07-13T03:06:53
2020-07-13T03:06:53
90,961,889
0
0
null
null
null
null
UTF-8
Python
false
false
18,961
py
import ROOT, array, os, sys, time, threading from multiprocessing import Pool from math import * ROOT.TH1.AddDirectory(ROOT.kFALSE) ROOT.gROOT.SetBatch(ROOT.kTRUE) ROOT.gErrorIgnoreLevel=ROOT.kError ### a C/C++ structure is required, to allow memory based access ROOT.gROOT.ProcessLine( "struct HEEPinfo_t {\...
[ "1069379433@qq.com" ]
1069379433@qq.com
973d62af79f23603d12e59d2936310822445ccff
497535fd65de15c1c39c53ceacc778aa557b42c8
/penn_treebank_reader.py
6d6915ad5c9b774211b5bf804fa53e5d5f6d18cd
[]
no_license
mrdrozdov/chart-parser
d44936f1872d2e8e18469dba5f6e8d6172ace53a
5dfa79ed1aea2a11112a4320618e78c752520f46
refs/heads/master
2020-06-20T14:21:49.709284
2019-07-16T08:06:45
2019-07-16T08:06:45
197,149,402
0
0
null
null
null
null
UTF-8
Python
false
false
4,788
py
import json import os import nltk from nltk.corpus import ptb # For tests. import unittest #################### # Reader (raw PTB) # #################### class RawPTBReader(object): def __init__(self): section2fileid = {} for fileid in ptb.fileids(): if not fileid.startswith('WSJ')...
[ "andrew@mrdrozdov.com" ]
andrew@mrdrozdov.com
e2fb370681ad6a240332bc2274c752d6b9e04960
c9fd8f943918e3fa3f19edeea96cff2303368ab6
/apps/quotes/urls.py
9bb2416f6570f34f8eea50e8d98c4ef48e3e35f5
[]
no_license
fgomesc/system_stocks
e363181837d4efe3e563d49e1a80869b91f0048c
190e855c5e95f4459dfcf1204e8939ccac6f7778
refs/heads/master
2022-06-25T13:33:44.428654
2020-05-08T19:34:19
2020-05-08T19:34:19
262,412,052
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
from django.urls import path, include from .views import home from . import views urlpatterns = [ path('', views.home, name='home'), path('about/', views.about, name='about'), path('add_stocks.html', views.add_stocks, name='add_stocks'), path('delete/<stock_id>', views.delete, name='delete'), path(...
[ "fgomesc0586@gmail.com" ]
fgomesc0586@gmail.com
5535132c338f582ef5cc8e7c14057cc6bfd01c5d
7949f96ee7feeaa163608dbd256b0b76d1b89258
/toontown/suit/DistributedBossbotBossAI.py
704473b6aab824f2953dfe003fc194ae15799602
[]
no_license
xxdecryptionxx/ToontownOnline
414619744b4c40588f9a86c8e01cb951ffe53e2d
e6c20e6ce56f2320217f2ddde8f632a63848bd6b
refs/heads/master
2021-01-11T03:08:59.934044
2018-07-27T01:26:21
2018-07-27T01:26:21
71,086,644
8
10
null
2018-06-01T00:13:34
2016-10-17T00:39:41
Python
UTF-8
Python
false
false
38,255
py
# File: t (Python 2.4) import random import math from pandac.PandaModules import Point3 from direct.directnotify import DirectNotifyGlobal from direct.fsm import FSM from direct.interval.IntervalGlobal import LerpPosInterval from toontown.coghq import DistributedFoodBeltAI from toontown.coghq import DistributedBanquet...
[ "fr1tzanatore@aol.com" ]
fr1tzanatore@aol.com
48902b3ddf518fcde7dd331a6fd0e765785f9e38
af82475dc7eb45c478414372c222e7b6016359d4
/python书籍/Python For Finance Code/Code of Python For Finance/4375OS_04_Code/4375OS_04_03_cumulative_standard_normal_CND.py
2a6c8a23cd889e5cbf7786369ec7bdeffe6ba0ba
[]
no_license
enfangzhong/PythonBaseCode
8f58c8b817eb9f4b0f0a5be437a52d5b5fab3433
9ab4a578b2692fdbb6aeeacb310251d51f72e953
refs/heads/master
2020-05-17T16:26:02.598344
2019-04-27T20:49:40
2019-04-27T20:49:40
183,817,172
4
1
null
null
null
null
UTF-8
Python
false
false
883
py
""" Name : 4375OS_04_03_cumulative_standard_normal_CND.py Book : Python for Finance Publisher: Packt Publishing Ltd. Author : Yuxing Yan Date : 12/25/2013 email : yany@canisius.edu paulyxy@hotmail.com """ from math import * def CND(X): """ Objective: cumulative starda...
[ "944727327@qq.com" ]
944727327@qq.com
7a1b05fc18498fd91411554f68ba46fa469f7957
26329cc5464a2aa69a2bc1636c71772efafdd467
/lab 6/GameObjects/Player.py
9396ad525308790419f076230f419f2fe9e46221
[]
no_license
ThomasMGilman/ETGG-2801_2
e71030d7368a929a24e20efddae346bd6b3a6173
209b37e79bd32fc41a544c29bf050e77f91bc71f
refs/heads/master
2020-07-11T13:44:58.623191
2019-12-04T04:22:32
2019-12-04T04:22:32
204,556,761
0
0
null
null
null
null
UTF-8
Python
false
false
3,302
py
from sdl2.keycode import * from utilityLibs import glCommands, ImageTexture2DArray from toolLibs import math3d from GameObjects import Bullet, Shapes #from GameObjects.Entity import * import array, globs class Player:#(Entity): vbuff = None tbuff = None ibuff = None vao = None tex = None def __...
[ "Thomas.Gilman@ymail.com" ]
Thomas.Gilman@ymail.com
d55024cc1d14013dab3c9fdb65756c1e8cb97845
1864af9eda58307024acbf7fe5d5f2f39f435e44
/quickstart_guides/recursion/python/reverse_linked_list.py
244a165ff3027aacc2733b2dde26717f6a2260f6
[]
no_license
vprusso/6-Weeks-to-Interview-Ready
c393bbfe071d97cba12f0f0668e53a25fb25986f
8105e1b20bf450a03a9bb910f344fc140e5ba703
refs/heads/master
2021-08-11T04:48:34.252178
2020-08-09T22:54:55
2020-08-09T22:54:55
210,997,768
6
2
null
2019-09-26T04:12:44
2019-09-26T04:12:44
null
UTF-8
Python
false
false
2,103
py
""" Title: Reverse linked list Problem: Given a linked list, write a function that prints the nodes of the list in reverse order. Execution: python reverse_linked_list.py """ import unittest class Node: """Node class for linked list.""" def __init__(self, data) -> None: self.data = data ...
[ "vincentrusso1@gmail.com" ]
vincentrusso1@gmail.com
5840d6184e90ee1b3c4b1a42b7b7153e6c2fd7d5
b2203c60193d7707407fa269e47200f6e1804f0c
/deid/dicom/fields.py
a47e8d6b6c6fa43fb1fe67cd83d4287c18c96806
[ "MIT" ]
permissive
ticlazau/deid
4790c3f09a731a656dbe2e55570c1776bb1cbd86
827844dac2b06ce2221068697a9662779447ee81
refs/heads/master
2020-04-17T20:53:37.988381
2019-01-18T21:14:02
2019-01-18T21:14:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,522
py
''' Copyright (c) 2017-2019 Vanessa Sochat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
4b1bb2a44f75ecdfb99ce83063c562e36192098b
00af09f4ac6f98203910d86c3791c152184ace9a
/Lib/email/iterators.py
881b2439a615ee50f496dc7c4be7e91b56a1ac07
[]
no_license
orf53975/CarnosOS
621d641df02d742a2452fde2f28a28c74b32695a
d06849064e4e9f30ef901ad8cf90960e1bec0805
refs/heads/master
2023-03-24T08:06:48.274566
2017-01-05T16:41:01
2017-01-05T16:41:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,545
py
<<<<<<< HEAD <<<<<<< HEAD # Copyright (C) 2001-2006 Python Software Foundation # Author: Barry Warsaw # Contact: email-sig@python.org """Various types of useful iterators and generators.""" __all__ = [ 'body_line_iterator', 'typed_subpart_iterator', 'walk', # Do not include _structure() since it's par...
[ "Weldon@athletech.org" ]
Weldon@athletech.org
e3d5b4f6f3145f4fce8231acb6e4696d0b02ff4e
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/renderplus/data.py
12c9f7792fa1157e207d11cea0d79b48fc7da224
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,589
py
# ------------------------------------------------------------------------------ # LICENSE # ------------------------------------------------------------------------------ # Render+ - Blender addon # (c) Copyright Diego Garcia Gangl (januz) - 2014, 2015 # <diego@sinestesia.co> # ----------------------------------------...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
4a355ab43b857bd830f0d81558594437970485f1
6c2ecefb12be6b04f597e3fb887d9389050aa7e1
/DjangoCourse/第七周/freshshop/fs_goods/models.py
928b9f8ce8a000fcae1b280535926d0418865cc1
[]
no_license
GmyLsh/learngit
99d3c75843d2b0b873f26e098025832985c635b3
3e7993c7119b79216fea24e5e35035336e4f5f5b
refs/heads/master
2020-04-12T09:11:55.068312
2018-12-19T07:19:42
2018-12-19T07:19:42
162,395,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
from django.db import models # 商品类型分类模型 class TypeInfo(models.Model): title = models.CharField(max_length=20, verbose_name='分类标题') is_delete = models.BooleanField(default=False, verbose_name='是否删除') def __str__(self): return self.title class Meta: verbose_name = '商品类型' verbos...
[ "469192981@qq.com" ]
469192981@qq.com
e015ea8cfa5f548fa912b28984f7499b639d1bed
255021fadf9f739db042809ca95f5b9f75609ec5
/Adv/5650 핀볼게임.py
771fdbfb2a006e5ee03930ac9293d0be077fa50d
[]
no_license
unsung107/Algorithm_study
13bfff518fc1bd0e7a020bb006c88375c9ccacb2
fb3b8563bae7640c52dbe9324d329ca9ee981493
refs/heads/master
2022-12-13T02:10:31.173333
2020-09-13T11:32:10
2020-09-13T11:32:10
295,137,458
0
0
null
null
null
null
UTF-8
Python
false
false
3,745
py
directions = {1:(0, -1), 2:(0, 1), 3:(-1, 0), 4:(1, 0)} aside = {1:2, 2:1, 3:4, 4:3} def meet1(y, x, d): if d == 1: d = 2 elif d == 2: d = 4 elif d == 3: d = 1 else: d = 3 return y + directions[d][1], x + directions[d][0], d def meet2(y, x, d): if d == 1: ...
[ "unsung102@naver.com" ]
unsung102@naver.com
abbde3fd251b2dccc42da4c3a43154a3c9c35846
1ffc17893d9e15fd939628bbc41c3d2633713ebd
/skl2onnx/operator_converters/pipelines.py
c7b3ba34da23d9d118749da61a273cb421c92735
[ "Apache-2.0" ]
permissive
xadupre/sklearn-onnx
646e8a158cdded725064964494f0f8a760630aa8
b05e4864cedbf4f2a9e6c003781d1db8b53264ac
refs/heads/master
2023-09-01T15:58:38.112315
2022-12-21T01:59:45
2022-12-21T01:59:45
382,323,831
0
2
Apache-2.0
2023-01-04T13:41:33
2021-07-02T11:22:00
Python
UTF-8
Python
false
false
1,971
py
# SPDX-License-Identifier: Apache-2.0 from sklearn.base import is_classifier from ..common._registration import register_converter from ..common._topology import Scope, Operator from ..common._container import ModelComponentContainer from .._parse import _parse_sklearn def convert_pipeline(scope: Scope, operator: Op...
[ "noreply@github.com" ]
xadupre.noreply@github.com
c0190465b828f87abbc3ab7021fb9c721401241b
1705e97ef5613685e142e3f78a2057399b09858c
/Code/asiportal/rquests/services/emailer.py
78a33d7d3764f695eb5e9b690d2725d5eb245dbb
[]
no_license
FIU-SCIS-Senior-Projects/Academic-Success-Initiative---ASI-PantherCentric-1.0
0b956175efb031022ed32412195531c7f0c162c5
8ee64b58e2634384d5905defd3701a453b49b966
refs/heads/master
2022-11-24T00:07:52.458186
2017-08-02T01:36:32
2017-08-02T01:36:32
91,715,982
0
0
null
2022-11-22T01:31:04
2017-05-18T16:37:10
SQLPL
UTF-8
Python
false
false
2,813
py
from django.core.mail import EmailMessage from django.template.loader import get_template def no_room_available_email(request): title = '[ASI] Tutoring Request Unable To Be Scheduled' email_template = get_template('no_room_available.txt') email_context = {'firstName' : request.submitted_by.first_name, ...
[ "jakedlopez@gmail.com" ]
jakedlopez@gmail.com
05dc6b9ebd8801ca06357f2accaa763cc5a0c6f7
ce73929de648d080420fc99a86e7b73bfb15f0dc
/tms_maintenance/tms_maintenance_program.py
c057166bd3462094aaa9bfd8ebe11cd83fdb5eb8
[]
no_license
thinkasoft/TMS
dce16ee4b10f9e35d392c883b443f556946d9526
d8d07227749e07e047a03713142c0bb898a9abf6
refs/heads/master
2021-01-10T02:31:22.526633
2016-02-01T22:25:00
2016-02-01T22:25:00
50,875,749
0
0
null
null
null
null
UTF-8
Python
false
false
32,503
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
[ "you@example.com" ]
you@example.com
49f4d6d252100b0b949ba1b7bf23ef3ea84a80f8
faf793376991092615975a559c6bed4e093acc44
/SECTION 10 lists in python/52 multidimentional list.py
56299802d4b05bc3d9ab01da570d5b5a043afac8
[]
no_license
jdiaz-dev/practicing-python
2385f2541759cfc9ed221b62030c28e8cf6ddde4
139b7dd4332e9ab3dd73abee0308cff41f4657fe
refs/heads/master
2023-04-05T06:13:53.590830
2023-03-19T16:06:00
2023-03-19T16:06:00
320,443,146
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
contacts = [ [ 'junior', 234234 ], [ 'yessy', 1234 ], [ 'frank', 543 ], [ 'esteban', 54645 ], ] for contac in contacts : for element in contac : if type(element) == int : print(element)
[ "lordgelsin26@gmail.com" ]
lordgelsin26@gmail.com
710509fda1ddbdba3b9d7389f504685c47ba5004
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03060/s036965559.py
d6d7712aa32946ddbf4bfd84f61f44f5d904de74
[]
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
203
py
N=int(input()) V=list(map(int, input().split())) C=list(map(int, input().split())) ans=0 for i in range(2**N): X=0 for j in range(N): if (i>>j)&1: X+=(V[j]-C[j]) ans=max(ans,X) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
baa6261da09ef1142961ad1d5095576eea1b0295
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/stmt_for_list_nested_same_var-27.py
35ee6738772f0e965c2ee7337e7b87203f15cdb9
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
x:int = 0 y:int = 0 z:[int] = None $Statement for x in z: for x in z: print(x)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
b90ad803daea0eea82e9295f45004cdbba4b9f07
f0b741f24ccf8bfe9bd1950425d83b6291d21b10
/kubernetes_platform/python/test/unit/test_volume.py
87835ff6a63c9b890b3b70da6dde13dbc3de3e3b
[ "Apache-2.0" ]
permissive
kubeflow/pipelines
e678342b8a325559dec0a6e1e484c525fdcc8ce8
3fb199658f68e7debf4906d9ce32a9a307e39243
refs/heads/master
2023-09-04T11:54:56.449867
2023-09-01T19:07:33
2023-09-01T19:12:27
133,100,880
3,434
1,675
Apache-2.0
2023-09-14T20:19:06
2018-05-12T00:31:47
Python
UTF-8
Python
false
false
6,215
py
# Copyright 2023 The Kubeflow 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 applicable law or agreed to in...
[ "noreply@github.com" ]
kubeflow.noreply@github.com
b5328046f6cdb5aa66427ffe9e2707dabca2be0e
d9c95cd0efad0788bf17672f6a4ec3b29cfd2e86
/disturbance/migrations/0216_proposal_fee_invoice_references.py
6f6dc55ec362b2eba775bf211d8f1b787e1e6f82
[ "Apache-2.0" ]
permissive
Djandwich/disturbance
cb1d25701b23414cd91e3ac5b0207618cd03a7e5
b1ba1404b9ca7c941891ea42c00b9ff9bcc41237
refs/heads/master
2023-05-05T19:52:36.124923
2021-06-03T06:37:53
2021-06-03T06:37:53
259,816,629
1
1
NOASSERTION
2021-06-03T09:46:46
2020-04-29T03:39:33
Python
UTF-8
Python
false
false
622
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2021-02-05 06:04 from __future__ import unicode_literals import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('disturbance', '0215_merge_20210202_1343'), ] ...
[ "katsufumi.shibata@dbca.wa.gov.au" ]
katsufumi.shibata@dbca.wa.gov.au
5ed73b5cde48e571ff3a4f5ef8a0ff1133755556
675e4c77ea4f1053f1acf5b76b9711b53157d841
/questions/serializers.py
5cdbc43af6b1978b33f1b6684fb86a672d0fd672
[]
no_license
moh-hosseini98/django-rest-quora-like
6d67717be5afd708eacdd74bba706be90a73a1e9
7bf020515145a54dcc822d50584e12c0398e7ee5
refs/heads/master
2023-04-09T04:56:03.783036
2021-04-29T04:18:12
2021-04-29T04:18:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,629
py
from rest_framework import serializers from .models import Question,Answer,qlike,alike,Reply class AnswerSerializer(serializers.ModelSerializer): author = serializers.StringRelatedField(read_only=True) answer_likes = serializers.SerializerMethodField() number_of_replies = serializers.SerializerMethodField...
[ "mamadhss@yahoo.com" ]
mamadhss@yahoo.com
95bacd72df21ee4e7d6eba5d398151122f814f1e
fd18ce27b66746f932a65488aad04494202e2e0d
/d03_socket_http/pro_2.py
d3a7e2e1ff30f43c75d905ad8fb338e68a45f33f
[]
no_license
daofeng123/ClassCodes
1acbd843836e550c9cebf67ef21dfca9f6b9fc87
fbcd1f24d79b8bb56ad0669b07ad118064609612
refs/heads/master
2020-06-24T12:34:28.148197
2019-08-15T03:56:40
2019-08-15T03:56:40
198,963,469
3
0
null
2019-07-26T06:53:45
2019-07-26T06:53:44
null
UTF-8
Python
false
false
193
py
# coding=utf-8 import os pipe_file = 'io.pipe' os.mkfifo(pipe_file) fd = os.open(pipe_file, os.O_RDONLY) while True: s = os.read(fd, 10) if not s: break print(s.decode())
[ "38395870@qq.com" ]
38395870@qq.com
0203efcddf9cbe42574c145dec465a59c98bc2b0
54df8336b50e8f2d7dbe353f0bc51a2b3489095f
/Django/Django_DB/Django_mysql/mysqlpro/mysqlpro/asgi.py
e8daa3c14429a4891a272b7a5bf0977492bd3708
[]
no_license
SurendraKumarAratikatla/MyLenovolapCodes1
42d5bb7a14bfdf8d773ee60719380ee28ff4947a
12c56200fcfd3e5229bfeec209fd03b5fc35b823
refs/heads/master
2023-06-17T15:44:18.312398
2021-07-19T10:28:11
2021-07-19T10:28:11
387,358,266
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" ASGI config for mysqlpro project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "suendra.aratikatla1608@gmail.com" ]
suendra.aratikatla1608@gmail.com
7aa31c841c9d3967ee889869937a5741cd46cf68
ed2389b9c0f8b45f4d1ac2e52815846ed37bc127
/train_deep_logo_cnn.py
c95a538c88e80aa52713c4c770b95ccb8dbe4aea
[ "MIT" ]
permissive
tracxpoint/AIC_DeepLogo
161281c443a6d1bc96556fa41d1818ff4609c5fa
9b936208fcb785cc0affb6e2e9087d1bb83744d4
refs/heads/master
2021-09-06T22:03:45.942170
2018-01-04T08:27:55
2018-01-04T08:27:55
116,278,954
1
0
null
null
null
null
UTF-8
Python
false
false
7,980
py
# The MIT License (MIT) # Copyright (c) 2016 satojkovic # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, m...
[ "satojkovic@gmail.com" ]
satojkovic@gmail.com
f369dd0824db0d2646bb8503a57347fd157c1020
9e549ee54faa8b037f90eac8ecb36f853e460e5e
/venv/lib/python3.6/site-packages/future/backports/email/feedparser.py
e543f232bc70b05d6ffce2fddf6940acce824cc5
[ "MIT" ]
permissive
aitoehigie/britecore_flask
e8df68e71dd0eac980a7de8c0f20b5a5a16979fe
eef1873dbe6b2cc21f770bc6dec783007ae4493b
refs/heads/master
2022-12-09T22:07:45.930238
2019-05-15T04:10:37
2019-05-15T04:10:37
177,354,667
0
0
MIT
2022-12-08T04:54:09
2019-03-24T00:38:20
Python
UTF-8
Python
false
false
22,840
py
# Copyright (C) 2004-2006 Python Software Foundation # Authors: Baxter, Wouters and Warsaw # Contact: email-sig@python.org """FeedParser - An email feed parser. The feed parser implements an interface for incrementally parsing an email message, line by line. This has advantages for certain applications, such as thos...
[ "aitoehigie@gmail.com" ]
aitoehigie@gmail.com
3eb78ccf566602282c5c3dfa11e4a7b6bad48b99
b7fab13642988c0e6535fb75ef6cb3548671d338
/tools/ydk-py-master/cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_Ethernet_SPAN_datatypes.py
5cf1f786c1167dbd94086d2115a83fb0bc7c7ecc
[ "Apache-2.0" ]
permissive
juancsosap/yangtraining
6ad1b8cf89ecdebeef094e4238d1ee95f8eb0824
09d8bcc3827575a45cb8d5d27186042bf13ea451
refs/heads/master
2022-08-05T01:59:22.007845
2019-08-01T15:53:08
2019-08-01T15:53:08
200,079,665
0
1
null
2021-12-13T20:06:17
2019-08-01T15:54:15
Python
UTF-8
Python
false
false
1,120
py
""" Cisco_IOS_XR_Ethernet_SPAN_datatypes This module contains a collection of generally useful derived YANG data types. Copyright (c) 2013\-2016 by Cisco Systems, Inc. All rights reserved. """ from ydk.entity_utils import get_relative_entity_path as _get_relative_entity_path from ydk.types import Entity, EntityPath...
[ "juan.c.sosa.p@gmail.com" ]
juan.c.sosa.p@gmail.com
8692b572824530ddb8d707d7d9cd3e25d74df493
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/appengine/lib/external/admin/tools/conversion/yaml_schema.py
a5982a4efc0f604246f9948bda038bf50a2a5432
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
5,782
py
# Copyright 2015 Google Inc. All Rights Reserved. """Definition for conversion between legacy YAML and One Platform protos.""" from googlecloudsdk.appengine.lib.external.admin.tools.conversion import converters as c from googlecloudsdk.appengine.lib.external.admin.tools.conversion import schema as s SCHEMA = s.Messa...
[ "joe@longreen.io" ]
joe@longreen.io
b945506a9f4a29f2511783145f6af33587bc473c
3e5b2eb741f5ae52752328274a616b475dbb401a
/services/core-api/tests/now_applications/resources/test_now_application_put.py
ea8ee6fa40ba11e0a78d8a568d69b0bf9ac3409d
[ "Apache-2.0" ]
permissive
bcgov/mds
165868f97d0002e6be38680fe4854319a9476ce3
60277f4d71f77857e40587307a2b2adb11575850
refs/heads/develop
2023-08-29T22:54:36.038070
2023-08-29T05:00:28
2023-08-29T05:00:28
131,050,605
29
63
Apache-2.0
2023-09-14T21:40:25
2018-04-25T18:54:47
JavaScript
UTF-8
Python
false
false
1,253
py
import json, decimal, pytest from flask_restplus import marshal, fields from app.api.now_applications.response_models import NOW_APPLICATION_MODEL from tests.now_application_factories import NOWApplicationIdentityFactory, NOWApplicationFactory class TestNOWApplication: """PUT mines/now-applications/<guid>""" ...
[ "noreply@github.com" ]
bcgov.noreply@github.com
0412431b0da4e6ff054478296cc9d25714eb67c8
fa8036fd416aecab3f1ca617acf0989f032f02ce
/abc165/A.py
d0cee18d96e021925e06a71e9d431a57b9a655f3
[]
no_license
MitsuruFujiwara/Atcoder
e2e2e82014e33e3422ea40eca812c6fdd8bcaaaa
bc73c4cd35a80c106d0e9b14cee34a064d89d343
refs/heads/master
2022-12-14T23:50:56.843336
2020-09-17T22:25:57
2020-09-17T22:25:57
252,980,448
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
K = int(input()) A, B = map(int, input().split()) ans = 'NG' for n in range(A,B+1): if n%K ==0: ans = 'OK' print(ans)
[ "fujiwara52jp@gmail.com" ]
fujiwara52jp@gmail.com
4cc0049abb138568478357ab24aa4bfb3ca4fffb
dd4d2589d1f14303cacd3b7ee1dd5f6bacd3bf3c
/company/amazon/linked_list/intersection.py
962fdaf38fc28e16cedeeda12cb343a8230f6c91
[]
no_license
salujaharkirat/ds-algo
ec22eaae81bdb78f2818248508325a536aedbb7b
819b5971826d97ec600b92776c5158518c9cbf22
refs/heads/master
2023-05-02T17:20:49.425484
2021-05-23T07:54:29
2021-05-23T07:54:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def get_length(self, head): length = 0 while head: length += 1 head = head.next return length #...
[ "saluja.harkirat@gmail.com" ]
saluja.harkirat@gmail.com
c69ab5d34d637db9d7131d63900bcf5f52226b04
f17a78351f53086ce2f9a42bb4b67a0528e3f651
/backend/main/urls.py
5f6aa88e52359ba7cffc7b901f523ce4f9264e64
[ "MIT" ]
permissive
tony/futurecoder
556dad5c28d4317f0928d821e3e22592d03d09b3
986e23137ef9ea2ca267c8b51ab6e1dfe10e530e
refs/heads/master
2022-11-19T06:20:20.703834
2020-07-21T20:37:24
2020-07-21T20:37:24
282,333,435
0
0
MIT
2020-07-24T23:21:20
2020-07-24T23:21:19
null
UTF-8
Python
false
false
1,182
py
"""book URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "alex.mojaki@gmail.com" ]
alex.mojaki@gmail.com
bbac5a99758351de35a1c9ee434cc4b0470a6ae4
394b5d87d193071e10d7f875e874edeb1720adbb
/staff/views.py
1b780d23c1a05dde4c12d9f3c2a137c7137bf4f8
[]
no_license
Andreyglass1989/Academy
346f3f6d468f44aeed2f0e73b3ac6c1ef206fba4
79527e9752324cf820314114e1dc97962c92f2fc
refs/heads/master
2021-01-20T15:12:49.542352
2017-05-26T07:11:57
2017-05-26T07:11:57
90,734,162
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
# from django.shortcuts import render, render_to_response # from .models import Staff # # # Create your views here. # # def main_menu(request): # staffs = Staff.objects.all() # title = "Staff" # context = {"title_docum":title, "staffs": staffs} # return render_to_response(request,"base.html",context)
[ "1989andreyglass@gmail.com" ]
1989andreyglass@gmail.com
7f82070c300a6bc1d32d4659948899e75073d7f1
e82245a9e623ef3e2b4b9c02f0fd932c608c4484
/pramp.com/07-busiest_time_in_the_mall-scratch_work.py
7d56bc26cc311d181c29572540e87d3ffc59e514
[]
no_license
Zylophone/Programming-for-Sport
33e8161028cfddce3b7a1243eb092070107342e3
193d6184f939303d8661f68d6fd06bdec95df351
refs/heads/master
2020-06-16T23:11:44.719286
2017-05-21T17:10:46
2017-05-21T17:10:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
# doesn't handle case where people enter and exit at the same second maintain a var that tracks the number of people in the mall time count type number_of_people 1 4 enter 4 3 3 exit 1 10 10 enter 11 14 20 enter 31 19 5 exi...
[ "jfv33@cornell.edu" ]
jfv33@cornell.edu
e231ce7dd808dce03eb6e5f868bfbb3469308c4f
6f06a519bc5a89464d95702fa27fa663ad4eb8f8
/logfile_analiser2.py
551da5be08045a53d14c08ab541b7c2466b976c1
[]
no_license
chrismaurer/chrism
64e71397bfffcd76aa5a12cc1394fad2c8939d76
b0a30d5cbe4602a32ad494e2550219d633edf2db
refs/heads/master
2021-06-04T07:53:15.212812
2021-01-19T13:23:22
2021-01-19T13:23:22
112,128,681
0
0
null
null
null
null
UTF-8
Python
false
false
17,464
py
#~TestCaseName: logfile_analiser #~TestCaseSummary: This program reads logfiles from C:\logs and returns any unexpected messages '''.''' __author__ = 'Chris Maurer (chris.maurer@tradingtechnologies.com)' __version__ = '1.1' import logging from optparse import OptionParser log = logging.getLogger(__name__...
[ "chris.maurer@tradingtechnologies.com" ]
chris.maurer@tradingtechnologies.com
48e110407f51f654dff1452b5eb1425e8cd86c75
cc310e5586d7f7b6824802d290ba15e72832b76e
/ssil_sso_ms/global_function.py
97e7fd35cd07a01843dedf068f4176bf2aee5601
[]
no_license
abhisek11/my_django_boiler
9bccc1d57c8bab83f54f6083919531a7b6b97ff6
af36011a86376291af01a1c3a569f999bed4cb0d
refs/heads/master
2022-12-13T19:43:26.500510
2020-03-02T07:03:13
2020-03-02T07:03:13
244,302,032
0
0
null
2022-12-08T01:51:32
2020-03-02T06:57:59
Python
UTF-8
Python
false
false
3,086
py
from django.shortcuts import render from rest_framework import generics from rest_framework.response import Response from rest_framework.permissions import IsAuthenticated from rest_framework.authentication import TokenAuthentication from hrms.models import * from hrms.serializers import * from pagination import CSLim...
[ "abhishek.singh@shyamfuture.com" ]
abhishek.singh@shyamfuture.com
2aa9aa7a5e03efbfd148d48e3641f8958d935c5c
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_117/682.py
fdb052b6206ab635aa8befdf177223b0490ce73e
[]
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
879
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from numpy import empty, array, reshape, zeros def read_pattern(m,n): ar = array(map(int, sum([sys.stdin.readline().strip().split(' ') for a in range(m)],[]))) return reshape(ar, (m,n)) def solve(n): m, n = map(int, sys.stdin.readline().split(' ')) patt...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
9a6cf0b3eef8453bda85efcb047570913328df11
fc3f784c8d00f419b11cbde660fe68a91fb080ca
/algoritm/20하반기 코딩테스트/.카카오기출/쿠키구입.py
7aec711f931dadca16ca4ad6e2314022f0adfae9
[]
no_license
choo0618/TIL
09f09c89c8141ba75bf92657ac39978913703637
70437a58015aecee8f3d86e6bfd0aa8dc11b5447
refs/heads/master
2021-06-25T07:01:34.246642
2020-12-21T04:57:13
2020-12-21T04:57:13
163,782,782
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
def solution(cookie): Len=len(cookie) answer=0 Sum=sum(cookie) def Chk(A,B): if B%2:return 0 for m in range(a,b+1): A+=cookie[m] B-=cookie[m] if A==B:return A elif A>B:return 0 for a in range(Len-1): tmp=Sum for b in r...
[ "choo0618@naver.com" ]
choo0618@naver.com
3661e9be4ba4631580df807c9d3591b2478fc8ea
b34c2e2ccb3dcda09bab17e3082627c8401cc67b
/bank/api/bank_api.py
a60dab611be6a0126475132c99c93a73ee80bd38
[]
no_license
udwivedi394/django_api_app
7cc80c68064e9349bd0ca21b1f794be21ec78dfc
bcc918a3dc6263017e54a3ea34086ed51aa7e7cb
refs/heads/master
2020-05-07T21:45:02.960050
2019-04-14T17:09:37
2019-04-14T17:09:37
180,916,904
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
import json from django.db import transaction from django.http import HttpResponse from django.utils.decorators import method_decorator from rest_framework.exceptions import APIException from rest_framework.views import APIView from bank.api.bank_api_processor import BranchDetails, BranchFinderInCity from bank.api.se...
[ "utkarshdwivedi394@gmail.com" ]
utkarshdwivedi394@gmail.com
96247780730626ed382d3dfaee4df66524f0fc30
59080f5116b9e8f625b5cc849eb14b7ff9d19f3d
/124 rpc/msg_pb2.py
23fe08aa72bfcbf531911d26beccb3cd695daaf0
[]
no_license
yyq1609/Python_road
eda2bcd946b480a05ec31cdcb65e35b3f3e739d1
e9ba2f47c8dd2d00a6e5ddff03c546152efd8f49
refs/heads/master
2020-09-11T11:51:35.903284
2019-11-11T13:02:21
2019-11-11T13:02:21
222,054,462
1
0
null
2019-11-16T05:58:13
2019-11-16T05:58:12
null
UTF-8
Python
false
true
3,570
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: msg.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import ...
[ "958976577@qq.com" ]
958976577@qq.com
8caada00d03e7730fef604f1bac57dc6925a29f7
f51c6d0cebb27c377ce9830deec4b727b9b2ee90
/AI/BOOK - Problem Solving with Algorithms and Data Structures - EXAMPLES/Listings/listing_1_1.py
401dd53d09553f35e9b4e840ee00ed270ecae51c
[]
no_license
dbbudd/Python-Experiments
1c3c1322583aaaf2016a2f2f3061e6d034c5d1c8
b6d294bf11a5c92b8578d16aa2f63cc27fc47b07
refs/heads/master
2020-04-17T02:21:36.693593
2019-01-17T00:18:34
2019-01-17T00:18:34
166,130,283
1
0
null
null
null
null
UTF-8
Python
false
false
151
py
def squareroot(n): root = n/2 #initial guess will be 1/2 of n for k in range(20): root = (1/2)*(root + (n / root)) return root
[ "dbbudd@gmail.com" ]
dbbudd@gmail.com
addaa8d9c141661d40806d61bb19fb4cc977f2ec
01fa2aca31eb73a559d192fd29e44350f26a13a9
/HAX/18.CocoJoe/script.module.lambdascrapers/lib/lambdascrapers/sources_overeasy/en_de/iwantmyshow.py
b4f83e473feaf904ab832be9fa246515efd676a8
[ "Beerware" ]
permissive
RandomIntermition/k4y108837s
b4beedeff375645bd4fa9ad348631a9a9f3640b6
e9115aad49795dfe30a96c278cedaf089abcc11d
refs/heads/master
2022-05-01T18:45:57.298903
2022-03-30T03:41:08
2022-03-30T03:41:08
109,356,425
1
0
null
2019-11-08T02:20:47
2017-11-03T05:36:48
Python
UTF-8
Python
false
false
7,914
py
# -*- coding: utf-8 -*- ''' 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 3 of the License, or (at your option) any later version. This program is distributed in...
[ "github+github@github.github" ]
github+github@github.github
6e3fc1ac707dd1993a33342c09e738411880714c
7ab16fa64eedde37cefabdbb8b7e176b28590c36
/controller/connector/docs/simple/reverse_tcp_agent.py
c4d562d1dd7a744c3adb1120a436effb3943dd28
[]
no_license
how2how/PlayGround
240b5ab512dc1992f551f4af9289362b5018dba3
cc10ee74ee3ee86b8b769cbf6237745bf1614adb
refs/heads/master
2020-03-07T00:49:02.530872
2018-05-08T15:09:13
2018-05-08T15:09:13
127,166,699
0
0
null
null
null
null
UTF-8
Python
false
false
1,802
py
from server.core.orchestration import SimpleOrchestrator orch_obj = SimpleOrchestrator( "Our passphrase can be anything! &^&%{}", out_length = 20, in_length = 20, ) import socket s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) s.connect(("127.0.0.1",1234)) def send( data ) : ...
[ "test@test.com" ]
test@test.com
93978618a6ba0603136f2dbec1dfdfb4e5fe055a
1e297340a3c85a29bbad1b27b076d8ad50086e7a
/algorithm/BinarySearch/BOJ_10815(binary_search).py
47e0f364a9bb5bf3c8855715e7b29fec31491ba4
[]
no_license
onewns/TIL
a5ee524604feb77d0d982ead2ea0265fa78c9349
fa53ede5194979ccc54eeae882399799afe08bcf
refs/heads/master
2023-08-29T02:50:19.982012
2021-10-11T12:24:59
2021-10-11T12:24:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
import sys sys.stdin = open('../input.txt', 'r') def binary_search(num, start, end): left, right = start, end - 1 mid = (left + right) // 2 if left > right: return 0 if num == cards[mid]: return 1 elif num > cards[mid]: return binary_search(num, mid + 1, end) else: ...
[ "wonjun9090@naver.com" ]
wonjun9090@naver.com
a55a94207d6eebdfea63144d689f0a8ed1c3a00b
ce8a7ed7afb9a11a22df905f55749c1e06a98b63
/amazon/python/17. Letter Combinations of a Phone Number.py
e72e9ed254f36f029c3b55ccb3e87fde05050a16
[]
no_license
suruisunstat/leetcode_practice
9da68247263d9b9bec98ab7e0f78bfe58e9dc830
1c0ff616ee3753ac9d4571301313f7a6b8ba6f37
refs/heads/master
2022-11-09T05:05:55.946361
2022-11-05T08:24:41
2022-11-05T08:24:41
147,136,224
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
class Solution(object): def letterCombinations(self, digits): """ :type digits: str :rtype: List[str] """ dict_num = {'2':['a','b','c'],'3':['d','e','f'],'4':['g','h','i'],'5':['j','k','l'],'6':['m','n','o'],'7':['p','q','r','s'], '8':['t','u','v'], '9':['w','x','y','z']} ...
[ "noreply@github.com" ]
suruisunstat.noreply@github.com
09e30b7fd5c4de83950b8216c5b2fdaeae13dbbf
17c280ade4159d4d8d5a48d16ba3989470eb3f46
/16/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisWprime4500.py
0c7712eb078cfa84197fb5056d2af33b0c4f59b9
[]
no_license
chengchen1993/run2_ntuple
798ff18489ff5185dadf3d1456a4462e1dbff429
c16c2b203c05a3eb77c769f63a0bcdf8b583708d
refs/heads/master
2021-06-25T18:27:08.534795
2021-03-15T06:08:01
2021-03-15T06:08:01
212,079,804
0
2
null
null
null
null
UTF-8
Python
false
false
2,256
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'Wprime_4500_weight_v2' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName='Analysis' config.JobType.sendExternalFolder=True# = 'Analysis' config.JobTy...
[ "c.chen@cern.ch" ]
c.chen@cern.ch
9de5d30fd5005247c0ea0b488e83799dad76357a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02546/s866918954.py
5473133d05a55e007d9ae5c6bea35eb7c3726a25
[]
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
89
py
line = input() if (line[-1]) == "s": print(line + "es") else: print(line + "s")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3b3a117221d6b53dde8de16074a991941662ffdb
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/11146113.py
693fb033baff53bcb422a63ef8bda36e903bc01f
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/11146113.py generated: Fri, 27 Mar 2015 15:47:59 # # Event Type: 11146113 # # ASCII decay Descriptor: [B0 -> (J/psi(1S) -> mu+ mu-) (phi(1020) -> K+ K-) (K_S0 -> pi+ pi-)]cc # from Gaudi.Configuration import * importOptions( "$DECFILESROOT/options/KKmumuI...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
a15867a35dd920ebf76e728cf713b109c778aac1
a11f098121fc5446f8dc7a9555034c51512a4e26
/app03.py
5e9a5b21f9738b072a606de1943a4357df144e6c
[]
no_license
anjoe/flask-study
30b7f2adb1265790dee246dd97fee51f496b046b
2b5639c9ef4ae77672ff8f4df1c5e1164af6b962
refs/heads/master
2020-08-06T21:03:42.926786
2019-10-06T15:28:58
2019-10-06T15:28:58
213,153,400
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
from flask import Blueprint app03=Blueprint('app03',__name__) @app03.route('/t3/') def show(): return 'app03.hello'
[ "root@localhost.localdomain" ]
root@localhost.localdomain
0d61e717f8f7e75de0fcb1bd47dc911cd7bd82c8
137ba8a70dfcf94dfe7aeef1599341ecc06ca48f
/project_ex/10_lotto.py
a2e74e17dec7fa2d55a90d94167acf5e665eabba
[]
no_license
smtamh/oop_python_ex
e1d3a16ade54717d6cdf1759b6eba7b27cfc974e
bd58ee3bf13dad3de989d5fd92e503d5ff949dd9
refs/heads/master
2020-09-22T08:35:19.847656
2019-11-13T02:47:06
2019-11-13T02:47:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
""" Created on 2014. 8. 10. @author: uyu423@gmail.com http://luckyyowu.tistory.com/209 """ import random # 0. 객체지향을 통해 크게 3가지 형태의 클래스가 나온다. Data, B.O, U.I # 1. 데이터를 클래스로 만들 수 있음(Data) # 2. 프로그램이 해야하는 기능을 모아서 클래스로 만들 수 있음(Business Object(B.O). B.O는 입출력을 처리하지 않음(중요) # 3. 실제 입출력을 담당하는 UI 클래스도 있음(UI) # 4. 모든 프로그램은 CRUD(...
[ "kadragon@sasa.hs.kr" ]
kadragon@sasa.hs.kr
a7f1d277305c8d83ed636dbd93ae990fb9151277
34652a47355a8dbe9200db229a1bbc62619de364
/Maths/diff_eqns/electrogravRK45adaptive.py
c27cb2519beb5537ac886dfec50963acbdc8f86c
[]
no_license
btrif/Python_dev_repo
df34ab7066eab662a5c11467d390e067ab5bf0f8
b4c81010a1476721cabc2621b17d92fead9314b4
refs/heads/master
2020-04-02T13:34:11.655162
2019-11-10T11:08:23
2019-11-10T11:08:23
154,487,015
0
1
null
null
null
null
UTF-8
Python
false
false
11,226
py
from __future__ import division from pylab import * import os #Evaluates the derivative functions def derivs(time, last_values, properties, alpha): particle_num = size(last_values, axis = 1) spatial_dims = size(last_values, axis = 0)/2. grad = zeros((spatial_dims * 2, particle_num)) for j in arange(pa...
[ "bogdan.evanzo@gmail.com" ]
bogdan.evanzo@gmail.com
e15fbbc01d14573d8ad538799b6a7f1880f85372
d03a31d080267010c7bbd5ac9cbaa94cffa23292
/tests/test_utils.py
19edf3ba3488d535380466b4472b639ffe03e69d
[]
no_license
chmouel/python-nonobot
0d654f4e608f77bb85d0adb16b9d3639a2586f0b
4e07ec1a4ba755a6f7070f5778fe734a3180ad70
refs/heads/master
2021-01-01T18:02:30.832406
2014-12-05T10:48:14
2014-12-05T10:48:14
17,373,952
0
4
null
2014-03-15T09:04:21
2014-03-03T17:34:52
Python
UTF-8
Python
false
false
1,231
py
# -*- coding: utf-8 -*- # Author: Chmouel Boudjnah <chmouel@chmouel.com> # # 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 require...
[ "chmouel@chmouel.com" ]
chmouel@chmouel.com
7aff18c1f4eb1588572df7d1e9b78d0096ea42c8
8dbe574f3b20308d79ef37643570d7dec15e67d9
/cn.zero/py.ori.fmt/m1140.bin.py
d1675897ba84651c10bf4eed04b87afd190c32a7
[]
no_license
xaeingking/ZeroAoVoiceScripts
62526d004bd02e645970930ecd4b6053809092ab
512c1fd544954a38c92fc097f5b0c006031ee87d
refs/heads/master
2020-05-20T17:04:55.028776
2019-01-29T10:40:44
2019-01-29T10:40:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,701
py
from ZeroScenarioHelper import * def main(): CreateScenaFile( "m1140.bin", # FileName "m1140", # MapName "m1140", # Location 0x006E, # MapIndex "ed7304", 0x00080000, # Flags ...
[ "zj.yang@qq.com" ]
zj.yang@qq.com
835478f976795573d8355bbee93293234d4cb55f
c87ae09a0229b4b4620c511b0c51eb685ec22b99
/Python全栈学习/第四模块 网络编程进阶&数据库开发/practise/基于多进程的socket通信/队列的使用.py
b186e6d31bb0a9672c52aa8b644e8f974705eaaf
[]
no_license
caideyang/python2018
050f4c29c37b5bec963e77e0724cd05a9350deed
b7a3a728ef36b43448dc5ff594fdba500b67ad53
refs/heads/master
2020-03-25T06:02:54.699941
2018-11-01T23:04:29
2018-11-01T23:04:29
143,480,652
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
#!/usr/bin/python3 #@Author:CaiDeyang #@Time: 2018/9/26 10:41 from multiprocessing import Queue import time if __name__ == "__main__": q = Queue(3) # 创建队列,最大深度3 q.put("hello") # 往队列存放消息 q.put([1,2,3,4]) q.put({"name": "caideyang"}) # time.sleep(1) print(q.empty()) # 判断队列是否为空 print(q.full(...
[ "deyangcai@163.com" ]
deyangcai@163.com
515436b4d5fe3ddd0030470fde74f0965147a76f
96cfaaa771c2d83fc0729d8c65c4d4707235531a
/Configuration/Spring08Production/python/Spring08_PhotonJetpt30-50_GEN_cfg.py
8cf29fde0fbca5f06b831fcb9e3f0f9fe8054a8d
[]
no_license
khotilov/cmssw
a22a160023c7ce0e4d59d15ef1f1532d7227a586
7636f72278ee0796d0203ac113b492b39da33528
refs/heads/master
2021-01-15T18:51:30.061124
2013-04-20T17:18:07
2013-04-20T17:18:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
import FWCore.ParameterSet.Config as cms process = cms.Process("Gen") process.load("FWCore.MessageService.MessageLogger_cfi") # control point for all seeds process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff") process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") process.load("C...
[ "sha1-197b93d87bf2e1eb4349df76c6ec25fd8f1f348e@cern.ch" ]
sha1-197b93d87bf2e1eb4349df76c6ec25fd8f1f348e@cern.ch
2d4343cd3084b61e1e48672feeb7de774d2d4833
6f3b3f29b0ed43f056526a7d96df27c623cf8a29
/czsc/enum.py
ccd2fd8436e1ff3e6e6431b4b1183683bb279deb
[ "MIT" ]
permissive
dst1213/czsc
a163c362d162110557e64e8ea8b41350d4d90a00
939803a9b196c19db3d8498f63276a4fdb8a442b
refs/heads/master
2023-04-22T04:17:22.703347
2021-04-30T13:53:40
2021-04-30T13:53:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,016
py
# coding: utf-8 from enum import Enum class Mark(Enum): D = "底分型" G = "顶分型" class Direction(Enum): Up = "向上" Down = "向下" class Freq(Enum): F1 = "1分钟" F5 = "5分钟" F15 = "15分钟" F30 = "30分钟" F60 = "60分钟" D = "日线" W = "周线" M = "月线" class Signals(Enum): Other = "Other~...
[ "zeng_bin8888@163.com" ]
zeng_bin8888@163.com
cc8b434ce82b6e1625a617bbbd89b70bd16b8524
f225b35d49562e7a1114968bdf9128dbc4cd91ab
/myspider/items.py
fa8e60c784f6743287563124add7390aebc383f6
[]
no_license
15032373556/scrapy_exercise
1948ce42102f99e414ae214b27163eb1d9e3b338
7a6e8b7a395044bda3acb649ab8f5a74bc854d82
refs/heads/master
2022-11-25T13:29:28.726984
2020-07-25T03:09:41
2020-07-25T03:09:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class ItcastItem(scrapy.Item): # 抓取 1.讲师姓名 2.讲师职称 3.讲师个人信息 # 测试提交代码 name = scrapy.Field() title = scrapy.Field() info = scrapy.Field()
[ "1798549164@qq.com" ]
1798549164@qq.com
25da0744ea358f58944383d0fa56dbde72f8ca7e
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/7/rbd.py
4548339f733e7c118189a771baa2ea2fcc9e9962
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
705796328fb21af7633d2c714b02f3ea143c60d9
bd6e9f4f6261795fd876107b21b04cafec00b5d7
/web/code/src/my_proj/settings/base.py
e4e7135dce4402369d49d6a25f66aef51faf12d5
[]
no_license
hema71024/StudentPortal
774f4a7167ce624c60e5b6c8a3c8ccac18860616
2aa53f57120acfd93178e5a5eee49c69a1527fdd
refs/heads/master
2021-04-24T07:21:05.921571
2018-04-03T08:56:59
2018-04-03T08:56:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,286
py
""" Django settings for my_proj project. For more information on this file, see https://docs.djangoproject.com/en/dev/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/dev/ref/settings/ """ from django.core.urlresolvers import reverse_lazy from os.path import dirna...
[ "ashutoshhathidara98@gmail.com" ]
ashutoshhathidara98@gmail.com
80d6314141d4f24833a5ea2410e5ce6f0c2c9472
074afd26d00bb742b03c12891b057ab263e640bf
/LeetCode 30 days/week1.2.py
ffcfa748b1935152b9419bb6cf112f940f619277
[]
no_license
IsmailTitas1815/Data-Structure
7a898800b1e53c778b1f2f11b0df259e52c20140
fece8dd97d3e162e39fc31d5f3498a6dac49b0f0
refs/heads/master
2023-02-05T10:39:49.349484
2020-12-21T13:37:22
2020-12-21T13:37:22
296,343,627
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
# import re # s = '123 456-7890' # new_s = [int(i) for i in re.findall('\d', s)] # unformattedPhone = "1239084590348509 456-7890" # numbersList = [int(s) for s in unformattedPhone if s.isdigit()] # print(numbersList) class Solution: def isHappy(self,num): setofvalue = set() while num!=1: ...
[ "titas.sarker1234@gmail.com" ]
titas.sarker1234@gmail.com
def2f5d76a06abfa75bee8540d5a5982b97fa204
9fb1c85a6d39c08e2a3cc235335bc482ad909b71
/prowler/providers/aws/services/route53/route53_domains_transferlock_enabled/route53_domains_transferlock_enabled.py
d49160981b34ad878af72233ab6ebf3869bfae89
[ "Apache-2.0" ]
permissive
muharihar/prowler
06dbdeaa0696dd65d72c33ff3c9f957b97f83d7a
25c9bc07b219cc02004cc0b84adcfdcf18d5ad2b
refs/heads/master
2023-02-18T01:26:54.161003
2023-02-10T11:38:13
2023-02-10T11:38:13
238,623,868
0
0
null
2020-02-06T06:36:36
2020-02-06T06:36:35
null
UTF-8
Python
false
false
1,012
py
from prowler.lib.check.models import Check, Check_Report_AWS from prowler.providers.aws.services.route53.route53domains_client import ( route53domains_client, ) class route53_domains_transferlock_enabled(Check): def execute(self) -> Check_Report_AWS: findings = [] for domain in route53domains...
[ "noreply@github.com" ]
muharihar.noreply@github.com
e5d247bf7cc030a77b8a76348eccb8ccd9311a7f
f91f9330179236025528682df90c4ba9baaae49d
/backend/manage.py
f4749adf415cbcfc37b8618e105dd6561a310b4a
[]
no_license
crowdbotics-apps/test-4316-dev-9267
96e7b04626045a40333ef81f161bf7e096c68931
3a0ae32df3ea8175d4aa37a20dec262086e00eb4
refs/heads/master
2022-12-04T10:11:57.679231
2020-08-24T08:22:33
2020-08-24T08:22:33
289,866,517
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_4316_dev_9267.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: r...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
15d8600fcc62bae425faaf90085a8f09360ab77e
df038c9a84ca9b11bbef86d84d2e6feb6fd733bf
/setup.py
d7698c8b3fa3d0b9da3a92af8fb21d3751e3cf58
[ "BSD-2-Clause" ]
permissive
wybaby/PSpider
d31ff8cbde1a3f23d05c1684c455beea2b48c915
5087fc20589878fa123daa113213fbf17282a35b
refs/heads/master
2021-01-22T01:55:16.258596
2017-06-23T03:35:04
2017-06-23T07:40:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
# _*_ coding: utf-8 _*_ """ install script: python3 setup.py install """ from setuptools import setup, find_packages setup( name="spider", version="2.4.5", author="xianhu", keywords=["spider", "crawler", "multi-threads", "asyncio", "distributed"], packages=find_packages(exclude=("otherfiles", "te...
[ "qixianhu@qq.com" ]
qixianhu@qq.com
99cbb1c2c9693fe423a01b59ef5289715abab28f
396ee8958eb753d96a62b1199103c2c1194c08e0
/creme/ensemble/bagging.py
a8509f03c6ffe22b2ed05d0f2a2d8f770954a48a
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ZuoMatthew/creme
fe1499a9071a994587172f908a530522be6b915b
27d40fa7a5014c94d7f95dee259368c0adc7115c
refs/heads/master
2020-04-22T20:46:58.100005
2019-02-12T17:13:15
2019-02-12T17:13:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,843
py
import collections import copy from sklearn import utils from .. import base __all__ = ['BaggingClassifier'] class BaggingClassifier(base.BinaryClassifier): """Bagging for classification. For each incoming observation, each model's `fit_one` method is called `k` times where `k` is sampled from a Pois...
[ "maxhalford25@gmail.com" ]
maxhalford25@gmail.com
c44508356d98bca92ede322dff36b8fe69233790
316a07bd7ab47d447606d341c5d221d8318f65b9
/python-quantumclient/quantumclient/__init__.py
d7a6aab476a7fd877ee47d88223005f3700109e1
[]
no_license
kumarcv/openstack-nf
791d16a4844df4666fb2b82a548add98f4832628
ad2d8c5d49f510292b1fe373c7c10e53be52ba23
refs/heads/master
2020-05-20T03:10:54.495411
2013-06-16T23:44:11
2013-06-16T23:44:11
7,497,218
2
0
null
null
null
null
UTF-8
Python
false
false
863
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 Citrix Systems # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.ap...
[ "b37839@freescale.com" ]
b37839@freescale.com
ee819a6e8372d9aa07f36cdf730a81eaea0c1055
18b977dccd70e9e5a1b553b28ab0413fb3f54f4b
/SoftUni/Python Developmen/Python-Fundamentals/04_Lists/the_office.py
12c13b6f4c2e6e1f5e8584f7e661696c2d418881
[]
no_license
stevalang/Coding-Lessons
7203e3a18b20e33e8d596e3dfb58d26c50b74530
2d0060c2268ad966efdcae4e6e994ac15e57243a
refs/heads/master
2023-06-05T08:28:33.290530
2021-06-16T19:37:29
2021-06-16T19:37:29
284,852,565
1
0
null
null
null
null
UTF-8
Python
false
false
632
py
employees = input().split() factor = int(input()) employee_happiness = list(map(lambda x: int(x) * factor, employees)) avg_happiness = sum(employee_happiness) / len(employee_happiness) # above_avg_happy = [employee for employee in employee_happiness if employee >= avg_happiness] above_avg_happy = list(filter(lambda em...
[ "rbeecommerce@gmail.com" ]
rbeecommerce@gmail.com
e0315093c2111b0b43b0c96efd9f3b6ae0dd7d10
1a639d185f9c883b7bebf33c577c58b22ac93c7e
/other/sound.py
d69bb732b93754a0a9bbad2d5b75c7350984b2d5
[]
no_license
gofr1/python-learning
bd09da5b5850b1533a88b858690ed4380b55d33e
19343c985f368770dc01ce415506506d62a23285
refs/heads/master
2023-09-02T15:42:27.442735
2021-11-12T10:17:13
2021-11-12T10:17:13
237,828,887
0
0
null
2021-11-12T10:17:14
2020-02-02T20:03:42
Python
UTF-8
Python
false
false
568
py
#!/usr/bin/env python3 # gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate text-to-speech API # sudo pip3 install gtts from io import BytesIO from pygame import mixer from gtts import gTTS def speak(text): with BytesIO() as f: gTTS(text=text, lang="en").write_...
[ "gofr.one@gmail.com" ]
gofr.one@gmail.com