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
a8527c7d3674ac20032a59a1527e34ad664bd317
10fbe5526e5f0b8588b65f70f088cd86b6e9afbe
/mjdxvqk/migrations/0003_waktrjgi.py
92b346496be7809850981f5620a5f4362a6b7a32
[]
no_license
MarkusH/django-migrations-benchmark
eb4b2312bb30a5a5d2abf25e95eca8f714162056
e2bd24755389668b34b87d254ec8ac63725dc56e
refs/heads/master
2016-09-05T15:36:45.250134
2015-03-31T23:44:28
2015-03-31T23:44:28
31,168,231
3
1
null
null
null
null
UTF-8
Python
false
false
608
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cohutfvb', '0003_crzqih'), ('mjdxvqk', '0002_auto_20150218_1621'), ] operations = [ migrations.CreateModel( ...
[ "info@markusholtermann.eu" ]
info@markusholtermann.eu
1d219ad512594e2cae4b70eb993e7229e37cd422
c2849586a8f376cf96fcbdc1c7e5bce6522398ca
/ch40/ex40-13.py
c5927f7af5f1370098b72ce150d2b41a87a400c2
[]
no_license
freebz/Learning-Python
0559d7691517b4acb0228d1cc76de3e93915fb27
7f577edb6249f4bbcac4f590908b385192dbf308
refs/heads/master
2020-09-23T01:48:24.009383
2019-12-02T12:26:40
2019-12-02T12:26:40
225,371,155
0
0
null
null
null
null
UTF-8
Python
false
false
1,889
py
# 상속과 인스턴스 # metainstance.py 파일 class MetaOne(type): def __new__(meta, classname, supers, classdict): # type 메서드 재정의 print('In MetaOne.new:', classname) return type.__new__(meta, classname, supers, classdict) def toast(self): return 'toast' class Super(metaclass=MetaOne): ...
[ "freebz@hananet.net" ]
freebz@hananet.net
1c6a3be3e1752f6693eb3bf88c00391c48ea1ef8
7c4f6dd6f5c0e05af3dc80d08f3458041db98901
/tests/core/types/test_proof_of_space.py
92a25da62735cd5ab4cfc25b049db0c019a3f332
[ "Apache-2.0" ]
permissive
inan0812/kale-blockchain
7ede8a8d3c4e7d49a1c76686975423620de12ed8
1b502fe21a4be10b4db0171c3a7030079dcefa1b
refs/heads/main
2023-06-14T04:49:45.036967
2021-07-06T01:33:54
2021-07-06T01:33:54
383,620,796
0
0
Apache-2.0
2021-07-06T23:24:39
2021-07-06T23:24:38
null
UTF-8
Python
false
false
867
py
from secrets import token_bytes from kale.consensus.default_constants import DEFAULT_CONSTANTS from kale.types.blockchain_format.proof_of_space import ProofOfSpace # pylint: disable=E0401 class TestProofOfSpace: def test_can_create_proof(self): """ Tests that the change of getting a correct proo...
[ "kaleseed@github.com" ]
kaleseed@github.com
a071189c9480f139fe0fc89f2b3f0cc0d5585f3d
21fec19cb8f74885cf8b59e7b07d1cd659735f6c
/chapter_9/grid1.py
18430492301939980236e3fdced87aded6e66b64
[ "MIT" ]
permissive
bimri/programming_python
ec77e875b9393179fdfb6cbc792b3babbdf7efbe
ba52ccd18b9b4e6c5387bf4032f381ae816b5e77
refs/heads/master
2023-09-02T12:21:11.898011
2021-10-26T22:32:34
2021-10-26T22:32:34
394,783,307
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
"Grid Basics: Input Forms Revisited" from tkinter import * colors = ['red', 'green', 'orange', 'white', 'yellow', 'blue'] r = 0 for c in colors: Label(text=c, relief=RIDGE, width=25).grid(row=r, column=0) Entry(bg=c, relief=SUNKEN, width=50).grid(row=r, column=1) r += 1 mainloop()
[ "bimri@outlook.com" ]
bimri@outlook.com
8224c5677035fbf3a368098368ebf6b9364bd4f7
482ec3480e8418dda62f85a5359e70c89256f1a8
/pythonTutorial/numpy_pandas/dataframe_basics.py
d5d67b9c635393bee010eadf0ff15f7696abe9ba
[]
no_license
rajatgirotra/study
84d319968f31f78798a56362546f21d22abd7ae7
acbb6d21a8182feabcb3329e17c76ac3af375255
refs/heads/master
2023-09-01T20:48:31.137541
2023-08-29T01:41:17
2023-08-29T01:41:17
85,041,241
6
1
null
2023-05-01T19:25:38
2017-03-15T07:17:24
C++
UTF-8
Python
false
false
2,078
py
# Please read ndarray_indexing_and_slicing and numpy_broadcasting.py first # Series and dataframe basics # indexing, slicing is almost the same in series and dataframe as in numpy from pandas import DataFrame import pandas as pd import numpy as np # Firstly widen the display width pd.set_option('display.width', 200) ...
[ "rajatgirotra@yahoo.com" ]
rajatgirotra@yahoo.com
1b4babf587f9b6d93c5960358380700294724108
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/agc010/D/4491702.py
f3162b980bfc19faa240d5ed17d6a8a70343be86
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
874
py
from fractions import gcd def gcdL(L): g=L[0] for i in range(1,len(L)): if g==1: return(g) g=gcd(g,L[i]) return g def play(A,i): A[i]-=1 g=gcdL(A) return [x//g for x in A] def cnt(A): odd,even=0,0 for a in A: if a%2: odd+...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
f57023eb7ed4a801ea169fcc6d40539b96f77bef
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_0/models/certificate_patch.py
7ee6bd8501ce45d6e8089ddd94fe47d5eab46526
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
4,454
py
# coding: utf-8 """ FlashBlade REST API Client A lightweight client for FlashBlade REST API 2.0, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six imp...
[ "asun@purestorage.com" ]
asun@purestorage.com
c85b87a6b70a07adba522ce8f1d26a0dd694676b
34ad04667e5ff3e83affb60d905794e12b7dfb4c
/unittests/plain_c_tester.py
0371a0146894073a8148049405bb39bc93246802
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
programmdesign/pygccxml
99bd75ffdd684cf2a2cda3b3a7f3eec046867c2f
6a765daf220e379ed149272f4d0a7583e173aa79
refs/heads/master
2020-12-25T09:58:41.958224
2014-10-13T08:42:29
2014-10-13T17:46:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,223
py
# Copyright 2014 Insight Software Consortium. # Copyright 2004-2008 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. # See http://www.boost.org/LICENSE_1_0.txt import unittest import parser_test_case from pygccxml import parser from pygccxml import declarations class tester_t(parser_test...
[ "michkapopoff@gmail.com" ]
michkapopoff@gmail.com
501ad21ad74d67c2fcbea5e08ddc75932909f80e
fc22b3266191450b5e2a9d2317a331bb5847a74f
/ktb/costmanagement/migrations/0038_auto_20190910_0009.py
11cafecbe79d6f46a85183ae728f09b6ff550f78
[]
no_license
coolarshad/website
1ba36bcd263c95e9699ffeead07f577061693f8b
c47ec1911a709ae3520c65348ca174f3aeacac4b
refs/heads/master
2023-01-18T16:26:37.469666
2020-11-28T17:55:05
2020-11-28T17:55:05
316,044,125
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
# Generated by Django 2.0 on 2019-09-09 18:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('costmanagement', '0037_auto_20190826_2318'), ] operations = [ migrations.AlterField( model_name='finalproduct', name='...
[ "coolarshad96@gmail.com" ]
coolarshad96@gmail.com
9c3e0b479b2fa7b6a7a24bfe46333883fb7464b3
6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5
/katas/beta/reverse_the_number.py
19782f36845f0387a12cf4d653a628e8d252f1ee
[ "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
205
py
def reverse(n): exp = 1 while n / 10 ** exp: exp += 1 return sum((n % 10 ** a / 10 ** (a - 1)) * (10 ** b) for a, b in zip(xrange(1, exp + 1), xrange(exp - 1, -1, -1)))
[ "the-zebulan@users.noreply.github.com" ]
the-zebulan@users.noreply.github.com
c773dac0e7aa554ba9736ce408231ec4f917add8
7a2a9dd511ab1e3623b27dc04163d0bab6336bbd
/mapproxy/cache/dummy.py
4d0235dbf16ce17fe7bb4a430e29f940d32ef039
[ "BSD-3-Clause", "Python-2.0", "Bitstream-Vera", "MIT", "ZPL-2.1", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
DisyInformationssysteme/mapproxy
f96369ff05b4be76b749e6bdff7e4d2fd6d2acbb
09946c423d3d14a88705cf6e4dd17c330bedf496
refs/heads/master
2023-01-23T20:46:05.984071
2022-03-22T11:00:28
2022-03-22T11:00:28
170,381,293
1
0
Apache-2.0
2023-01-17T18:46:58
2019-02-12T19:52:10
Python
UTF-8
Python
false
false
1,064
py
# This file is part of the MapProxy project. # Copyright (C) 2011 Omniscale <http://omniscale.de> # # 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...
[ "olt@bogosoft.com" ]
olt@bogosoft.com
f6a8856c98faf582f5aa725044f12145867e488a
6b5e49b4b644e88b3be88c0425e322af01e8f21a
/taobao/top/api/rest/PictureReplaceRequest.py
8b26bfcd4072cb85a803e63cee3c7cdb051475a2
[ "MIT" ]
permissive
CooperLuan/devops.notes
d4fcce0c7e10184f2e894666a3f41b6be800ecbe
3bcd96d0ebdadc382489406d8c4a34eb7e1c2317
refs/heads/master
2016-09-06T06:54:28.558516
2015-02-09T11:09:40
2015-02-09T11:09:40
17,585,976
0
1
null
null
null
null
UTF-8
Python
false
false
394
py
''' Created by auto_sdk on 2014-12-17 17:22:51 ''' from top.api.base import RestApi class PictureReplaceRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.image_data = None self.picture_id = None def getapiname(self): return 'taobao.pi...
[ "gc.suprs@gmail.com" ]
gc.suprs@gmail.com
40e32dcbbe4f9993eb5059ee8bd59dde0f504d6c
048f2002ed13503d50428c8949c95a2e4f9bd532
/contest/weekcontest140/InsufficientNodesRootToLeafPath.py
981ec500b57284ff72985bc22e1a4d7e76d2d8b5
[]
no_license
ZhengLiangliang1996/Leetcode_ML_Daily
9c9330bd2c7bab5964fbd3827a27eeff5bd2c502
8cdb97bc7588b96b91b1c550afd84e976c1926e0
refs/heads/master
2023-04-06T19:52:23.524186
2023-03-30T21:08:57
2023-03-30T21:08:57
213,055,072
1
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2022 liangliang <liangliang@Liangliangs-MacBook-Air.local> # # Distributed under terms of the MIT license. # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = ...
[ "zhengliangliang1996@gmail.com" ]
zhengliangliang1996@gmail.com
919f023388d4c2bbd7896ba698f05500e20ec3e1
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/sentry/2015/4/setup.py
172d1abd7b5f146997339228bd2b3b38c52bf950
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
5,204
py
#!/usr/bin/env python """ Sentry ====== Sentry is a realtime event logging and aggregation platform. It specializes in monitoring errors and extracting all the information needed to do a proper post-mortem without any of the hassle of the standard user feedback loop. Sentry is a Server ------------------ The Sentry ...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
ef51f485e4b30b07df86bc283d53ae55ff1f0ee5
e37839f9d1979a649957a887d7b7ee2383086c87
/socket__tcp__examples/send_recv__commands/server.py
cb92829aa23118af1109a70eb979131ea5a2094c
[]
no_license
ev-ev/SimplePyScripts
874b3475fa5e0c92f25d098e846bafcb9597bd23
569e5f076a557d647811c4ede87be27bfbda7d75
refs/heads/master
2020-03-30T12:50:22.031733
2018-10-03T08:40:13
2018-10-03T08:40:13
151,243,523
0
0
null
2018-10-02T11:27:40
2018-10-02T11:27:39
null
UTF-8
Python
false
false
1,276
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' import socket import sys sys.path.append('..') from common import send_msg, recv_msg PORT = 9090 def execute_command(command: str) -> str: if command == 'CURRENT_DATETIME': import datetime as DT return DT.datetime.now()....
[ "ilya.petrash@inbox.ru" ]
ilya.petrash@inbox.ru
5edde1523623fed2268c8a5bc58b59b1245e7831
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_204/ch49_2020_10_07_01_43_23_311756.py
7933c1a431594aa0ff9ea85dc2e0e3efe112907a
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
def inverte_lista(lista): i = 0 inicio = len(lista) while i < inicio: lista.append(lista[i]) i += 1 i = 0 while i < inicio: del(lista[i]) i += 1 return lista
[ "you@example.com" ]
you@example.com
a08b6c334e9c82859a38cd517a2fb0e5396bc1dc
6adc166c33bdada82f7509301e25d1c451852d24
/utils/unified_redis.py
d8ae0cadd712490bb38368a9c10d71cabedcdaa8
[]
no_license
liushiwen555/unified_management_platform_backend
ab0a92f38be7f68bc1d3c4570560ea89bf8fcb07
ae1ade20044b59de1e29288fcd61ba0b71d92be3
refs/heads/master
2023-06-25T22:45:24.669052
2021-07-27T01:08:24
2021-07-27T01:08:24
389,808,950
0
1
null
null
null
null
UTF-8
Python
false
false
4,873
py
from datetime import datetime, timedelta from typing import List import json from dateutil import parser import redis from django.conf import settings from utils.helper import get_date from utils.runnable import TaskRun rs = redis.StrictRedis.from_url(settings.REDIS_URL) cache = redis.StrictRedis.from_...
[ "1599932996@qq.com" ]
1599932996@qq.com
f76bd4381b870f841fe52717fd95372e5cf8861a
df541a802b2dfa89d3aab14af627358dc7c76e6e
/APP自动化/App/StoneUIFramework/public/startpage/登录/注册/同意百石堂服务协议/_AgreeProtocol.py
fc48fbbcfacac037fda655a2a93a9efe9b5da264
[]
no_license
gupan2018/PyAutomation
de966aff91f750c7207c9d3f3dfb488698492342
230aebe3eca5799c621673afb647d35a175c74f1
refs/heads/master
2021-09-07T19:44:20.710574
2017-12-22T15:58:23
2017-12-22T15:58:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
__author__ = 'Administrator' #同意百石堂服务协议 import logging from StoneUIFramework.public.startpage.登录.注册._Register import _Register class _AgreeProtocol(_Register): #定位:登录-注册-同意百石堂服务协议 def Login_reg_agreeprotocol_back(self): try: __Login_reg_agreeprotocol_back = self.driver.find_element_by_id("c...
[ "610077670@qq.com" ]
610077670@qq.com
44b10d05670debc0c655d97bafa7a0f694508a22
d7016f69993570a1c55974582cda899ff70907ec
/sdk/keyvault/azure-mgmt-keyvault/generated_samples/list_secrets.py
92e4e7314ca07e446f1811cb2480fc9d84d2226a
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
1,565
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
0826f7c443c39e05127adbb7c60b0bdea5e19fe2
c202845ffd2b4626b7419893faaef681a4936d69
/chapter13-Exception_Handling/chapter10-Functions/recursive_factorial.py
624e5c0aee926e9b116230d82fa70cf070da1ad5
[]
no_license
Avani1992/python
2e27d80fbb445f4bf50eba66cf2b836ae2fc6dfe
57073842e1049e975cad4a92f979fe9faa261682
refs/heads/master
2020-06-13T23:51:20.262407
2020-03-05T16:32:40
2020-03-05T16:32:40
194,827,489
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
# def factorial(n): # if n==0: # result=1 # else: # result=n*factorial(n-1) # return result # print("Factorial of 4 is :",factorial(4)) # print("Factorial of 5 is :",factorial(5)) def fa(n): if(n==0 or n==1): return 1 else: return n*fa(n-1) p=fa(5) print(p)
[ "noreply@github.com" ]
Avani1992.noreply@github.com
3dd682ff1288cc5cc8f985f90a7e73f5af0c0843
aa853a9094fff4b6e9b0ddc7469be29ad5f0f811
/poi_bol_base/models/sale.py
935e041aa90930f8f2b3839c32dc5148c80371ee
[]
no_license
blue-connect/illuminati
40a13e1ebeaceee39f17caa360f79e8deeaebf58
6682e60630064641474ddb2d8cbc520e30f64832
refs/heads/master
2022-01-06T00:55:58.465611
2018-11-24T04:30:03
2018-11-24T04:30:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
# -*- encoding: utf-8 -*- from odoo import models, api, fields, registry, _ import logging _logger = logging.getLogger(__name__) class SaleOrder(models.Model): _inherit = 'sale.order' contract_nr = fields.Char(u'Nr. de contrato', help=u"El número de contrato registrado para fines de Bancarización.") @...
[ "yori.quisbert@poiesisconsulting.com" ]
yori.quisbert@poiesisconsulting.com
9f2e16f30d51dac9e7ae1bd01ac159b14ac61a14
55540f3e86f1d5d86ef6b5d295a63518e274efe3
/toolchain/riscv/MSYS/python/Lib/multiprocessing/popen_fork.py
eef12651097d4bf495dbd1932673d44dbaa0e6ba
[ "Apache-2.0", "bzip2-1.0.6", "LicenseRef-scancode-proprietary-license", "OpenSSL", "Python-2.0", "LicenseRef-scancode-newlib-historical", "TCL", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
bouffalolab/bl_iot_sdk
bc5eaf036b70f8c65dd389439062b169f8d09daa
b90664de0bd4c1897a9f1f5d9e360a9631d38b34
refs/heads/master
2023-08-31T03:38:03.369853
2023-08-16T08:50:33
2023-08-18T09:13:27
307,347,250
244
101
Apache-2.0
2023-08-28T06:29:02
2020-10-26T11:16:30
C
UTF-8
Python
false
false
2,478
py
import os import sys import signal from . import util __all__ = ['Popen'] # # Start child process using fork # class Popen(object): method = 'fork' def __init__(self, process_obj): util._flush_std_streams() self.returncode = None self.finalizer = None self...
[ "jczhang@bouffalolab.com" ]
jczhang@bouffalolab.com
65e9bd0d2e2443ccf25b0d458a192c40e869abbf
0c66e605e6e4129b09ea14dbb6aa353d18aaa027
/diventi/products/migrations/0015_auto_20190411_0806.py
f80dc93b05fe628aa396876c3ad8e87a6576cc1f
[ "Apache-2.0" ]
permissive
flavoi/diventi
58fbc8c947f387cbcc1ce607878a59a6f2b72313
c0b1efe2baa3ff816d6ee9a8e86623f297973ded
refs/heads/master
2023-07-20T09:32:35.897661
2023-07-11T19:44:26
2023-07-11T19:44:26
102,959,477
2
1
Apache-2.0
2023-02-08T01:03:17
2017-09-09T14:10:51
Python
UTF-8
Python
false
false
1,132
py
# Generated by Django 2.1.7 on 2019-04-11 06:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0014_auto_20190120_1049'), ] operations = [ migrations.AlterField( model_name='chapter', name='image', ...
[ "flavius476@gmail.com" ]
flavius476@gmail.com
7771a48e18082b4d6becc212a61c1565e522064a
0a961f6081a0fa6f6d4b5659cd0942a1f9def9bb
/clock27.py
5e65431c473ff1be50fbdfb04c965f6c1ef35bec
[ "MIT" ]
permissive
notro/pydrm
c1902154a7764f7cbace3ed1e7870d11bd6e6836
ce0b0888c35d56017641c9f7c5f966bf7461552e
refs/heads/master
2021-01-20T00:37:13.519484
2021-01-17T20:26:32
2021-01-17T20:26:32
89,163,102
19
4
MIT
2023-09-08T06:59:47
2017-04-23T18:26:52
Python
UTF-8
Python
false
false
5,460
py
# Copyright 2013-2015 Pervasive Displays, 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 or agree...
[ "noralf@tronnes.org" ]
noralf@tronnes.org
96e008e8da87145663660f1d0e836d6bc2f110db
ffd5e689f88c49ab7af3554c22dc0c36301084fa
/string_array_duplicates.py
7337f320c9bb027e8c16287dd45bc8d854398389
[]
no_license
ellismckenzielee/codewars-python
1710e6f0499047139479de386927c7dbd5f1cdf6
af3f4b4534798a58115d0565730aae28ce87437e
refs/heads/master
2023-08-09T13:38:40.964141
2023-08-01T14:45:22
2023-08-01T14:45:22
168,981,376
45
18
null
null
null
null
UTF-8
Python
false
false
271
py
#string array duplicates kata #https://www.codewars.com/kata/59f08f89a5e129c543000069 import re def dup(arry): output = [] for arr in arry: letters = re.findall("([\\w\\d])\\1*", arr) output.append(''.join(letters)) return output
[ "ellismckenzielee@gmail.com" ]
ellismckenzielee@gmail.com
63f14240eaf87d1de8b52d5bc1839176f40dd74a
b6b2be9866fd16699ad5c30a21bbcb70755f1e57
/Experiments/_Legacy/GlobalWarming/Codes_ClassifyUsingLDA_WithLsaValues.py
01e7a2e6f86846a173ad49fbdcdf60d72fcbdc42
[]
no_license
simonhughes22/PythonNlpResearch
24a482c7036c568b063ec099176b393d45a0a86b
2bc2914ce93fcef6dbd26f8097eec20b7d0e476d
refs/heads/master
2022-12-08T17:39:18.332177
2019-10-26T12:48:33
2019-10-26T12:48:33
16,458,105
17
7
null
2022-12-07T23:38:17
2014-02-02T16:36:39
Jupyter Notebook
UTF-8
Python
false
false
1,081
py
from sklearn.lda import LDA from GwExperimentBase import * import numpy as np class Codes_ClassifyUsingLDA_WithLSAValues(GwExperimentBase): def __init__(self): self.num_topics = 500 pass #no params def get_vector_space(self, tokenized_docs): return self.lsa_vspace(toke...
[ "simon.hughes@dice.com" ]
simon.hughes@dice.com
9c4af92f6100e08126b3a0fe1df8db8f17daffb8
94c8dd4126da6e9fe9acb2d1769e1c24abe195d3
/qiskit/utils/name_unnamed_args.py
bf3c626a0071d6ec1b279dd9182b69e80e7f53ea
[ "Apache-2.0" ]
permissive
levbishop/qiskit-terra
a75c2f96586768c12b51a117f9ccb7398b52843d
98130dd6158d1f1474e44dd5aeacbc619174ad63
refs/heads/master
2023-07-19T19:00:53.483204
2021-04-20T16:30:16
2021-04-20T16:30:16
181,052,828
1
0
Apache-2.0
2019-06-05T15:32:13
2019-04-12T17:20:54
Python
UTF-8
Python
false
false
2,516
py
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "noreply@github.com" ]
levbishop.noreply@github.com
e7fa5d3a91ab57260a3c4ed8b784d5564d4d4b88
99dcb18a9e3ea367272f740b8cbf3c34285a0c08
/samples/generated_samples/aiplatform_generated_aiplatform_v1beta1_tensorboard_service_batch_read_tensorboard_time_series_data_sync.py
a90b7a75b27dcea48608e69026cfd35a1d4843de
[ "Apache-2.0" ]
permissive
googleapis/python-aiplatform
926a4873f35dbea15b2fd86c0e16b5e6556d803e
76b95b92c1d3b87c72d754d8c02b1bca652b9a27
refs/heads/main
2023-08-19T23:49:02.180075
2023-08-19T13:25:59
2023-08-19T13:27:27
298,017,988
418
240
Apache-2.0
2023-09-14T21:08:33
2020-09-23T15:43:39
Python
UTF-8
Python
false
false
1,736
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
970d208171838b7ab1292ae0324dc079caedc08b
e196fe807b2720eb7f08ad9ca914887341bd9b44
/tests/utils/test_formatter.py
4fdc3fedda7e73b841b4cef8f4b846910360b93b
[ "BSD-2-Clause" ]
permissive
streamlink/streamlink
ab2ce4a8d71d2abd67f300628f04ce960e7696d0
561f7ef854e3ec076e5bd3efb3e7f8efe5df32df
refs/heads/master
2023-08-29T15:03:17.008502
2023-08-26T19:24:39
2023-08-27T11:02:30
68,402,336
9,529
1,385
BSD-2-Clause
2023-09-13T13:37:33
2016-09-16T17:52:50
Python
UTF-8
Python
false
false
3,050
py
from datetime import datetime, timezone from unittest.mock import Mock, patch import pytest from freezegun import freeze_time from streamlink.utils.formatter import Formatter class TestFormatter: class Obj: def __str__(self): return "obj" @pytest.fixture() def prop(self): re...
[ "gravyboat@users.noreply.github.com" ]
gravyboat@users.noreply.github.com
c76c2a2c1994fefc80c80efe57e44435653cec3f
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/0e43c60510dcee3c1d958aa1b32f44382ac8802a544db441c1a1497058a65071/cython_runtime.py
497c1b1ec4525e11ea049cea2d36f2a104beccf9
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
309
py
# encoding: utf-8 # module cython_runtime # from C:\Users\Doly\Anaconda3\lib\site-packages\skimage\restoration\_unwrap_1d.cp37-win_amd64.pyd # by generator 1.147 # no doc # no imports # Variables with simple values cline_in_traceback = False __loader__ = None __spec__ = None # no functions # no classes
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
b87963b56d149b7b1c204b9a3f941a6943c1667e
b31677f2bebe9b18d5909f1385508696a78763c0
/app_user/controller.py
1d92f67172c97c72191b63906d9840f7d37b7560
[ "BSD-3-Clause" ]
permissive
Slajnef/bottle_restfool
73f6d32cecdd46d1e3230258798a71648db8360e
368e19e543ecf974a4b08fb5846a655a4e9ffcc5
refs/heads/master
2021-02-23T17:28:43.329611
2020-03-06T11:33:29
2020-03-06T11:33:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,976
py
"ICECREAM" from bottle import HTTPResponse, HTTPError from marshmallow import ValidationError from sqlalchemy.exc import SQLAlchemyError from sqlalchemy.orm.exc import NoResultFound from ICECREAM.models.query import get_or_create from app_foo.controller import get_rooms from app_foo.schemas import RoomSchema from app_...
[ "xenups@outlook.com" ]
xenups@outlook.com
fa8fd5359f0820cf3a5c8c418ed12b8046c26b71
9ca7ee115fd815afff0a46e5b21e56298ee294e3
/base/models/learning_unit.py
0f6e52e6e7491bd6fa803b50a979e4fb4f40704c
[]
no_license
dgrevesse/osis-portal
471c8cd3964158e35b1e19b3edd1e42414a3e1ac
25cc6c9afac3cb566e8d6b7046fe28519da83a68
refs/heads/master
2021-01-23T07:50:32.536548
2017-01-31T02:31:28
2017-01-31T02:31:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,332
py
############################################################################## # # OSIS stands for Open Student Information System. It's an application # designed to manage the core business of higher education institutions, # such as universities, faculties, institutes and professional schools. # The core ...
[ "leila.verpoorten@uclouvain.be" ]
leila.verpoorten@uclouvain.be
6fd17d6db008a6f9ac9baa2bedc92c6377c24739
1825283527f5a479204708feeaf55f4ab6d1290b
/leetcode/python/1099/original/1099.two-sum-less-than-k.py
0ff600dfa59253ed88c15a9332f082b1dcf62caa
[]
no_license
frankieliu/problems
b82c61d3328ffcc1da2cbc95712563355f5d44b5
911c6622448a4be041834bcab25051dd0f9209b2
refs/heads/master
2023-01-06T14:41:58.044871
2019-11-24T03:47:22
2019-11-24T03:47:22
115,065,956
1
0
null
2023-01-04T07:25:52
2017-12-22T02:06:57
HTML
UTF-8
Python
false
false
1,027
py
# # @lc app=leetcode id=1099 lang=python # # [1099] Two Sum Less Than K # # https://leetcode.com/problems/two-sum-less-than-k/description/ # # algorithms # Easy (65.32%) # Total Accepted: 1.7K # Total Submissions: 2.6K # Testcase Example: '[34,23,1,24,75,33,54,8]\n60' # # Given an array A of integers and integer K,...
[ "frankie.y.liu@gmail.com" ]
frankie.y.liu@gmail.com
d06448cc58b1580c5a617b94d39059bc53b3d2e1
8729907a13ecaae51699429702e354b64b2e5bd7
/src/sentry/api/urls.py
2574e85901e4286975d9ef5210f48b24e77f0685
[ "BSD-2-Clause" ]
permissive
Simek/sentry
172b70bd1726adb0490306ecff1dd35e4ba534a6
c07aa863da7f0cdb13404ac09cd8580e74dc2af1
refs/heads/master
2022-08-29T13:24:11.972998
2014-12-18T09:27:12
2014-12-18T09:27:12
8,397,149
1
0
null
null
null
null
UTF-8
Python
false
false
5,594
py
from __future__ import absolute_import from django.conf.urls import patterns, url from .endpoints.auth_index import AuthIndexEndpoint from .endpoints.catchall import CatchallEndpoint from .endpoints.event_details import EventDetailsEndpoint from .endpoints.group_assign import GroupAssignEndpoint from .endpoints.group...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
9d65533988de45a74b42d834333e13777142e62b
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/StudentProblem/10.21.11.20/7/1569575930.py
b473ab93153939c57c79d867f2c9dc41c387d313
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def divisior(n: int) -> list: """Eine Funktion, die alle Dividenten einer positiven, ganzen Zahl in einer Liste wiedergibt """ j = [n] for d in range(1:(n+1)): #loop bis n d > 0 if abs(n) % in...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
9add521619136af610484ccfd6a8051ccb7cf07d
ca847767d0b4e1be083b01da676095aa6709c3d5
/MobileHealthWeb/accounts/migrations/0003_auto_20170319_1942.py
b4111087da7d9c55375d21d4f80512b51373218b
[ "CC0-1.0" ]
permissive
cesarbcruz/ProjectMobileHealth
266bdebfbb83590942a661400a13852fb5be1b4e
288da77e4e287b228e1a3b17758542742c089a53
refs/heads/master
2020-05-26T13:34:38.824364
2017-07-26T00:42:08
2017-07-26T00:42:08
82,479,827
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2017-03-19 22:42 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_user_img_url'), ] operations = [ ...
[ "you@example.com" ]
you@example.com
88fcacec9b58f91730868596ed68b9777f0f5450
9df55c5296f3cf94613278c123b7cb4586057eea
/src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/util.py
e5bdb7a2bcbaae1b5b7008c6bacb013f64d3efb6
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
m1ck2/azure-cli
fa820dcf78821d27e6739ffa064626c23e77c2e9
06cd9c2160c2f792a3af76f71fb55368c92cf0d6
refs/heads/dev
2021-05-07T03:29:21.092812
2017-11-15T21:09:06
2017-11-15T21:09:06
110,912,276
0
0
null
2017-11-16T02:26:06
2017-11-16T02:26:05
null
UTF-8
Python
false
false
659
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "troy.dai@outlook.com" ]
troy.dai@outlook.com
028dbe555bfe7c2cd52740c9269f32c75388a74b
7a6e0c036079f2e48622b1f698690f8711c87143
/runs/batchshipyard/snake/3d/2k35-meshA/scripts/average-wz.py
babe49a2a0d5b491d4e266dfcec4029df76fe1fa
[ "CC-BY-4.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
mesnardo/FlyingSnake2Cloud
76265f2725001ce99d03632b7902efca38af2235
c76d83226327476a17ba244040cc6338a4dbe022
refs/heads/master
2021-01-19T20:33:50.698739
2018-05-14T16:30:55
2018-05-14T16:30:55
101,227,827
0
0
null
null
null
null
UTF-8
Python
false
false
1,892
py
""" Average the spanwise vorticity field along the spanwise direction and write the 2D field values into HDF5 file. """ import pathlib import numpy import h5py def read_grid3d_hdf5(filepath): f = h5py.File(str(filepath), 'r') x, y, z = f['x'][:], f['y'][:], f['z'][:] f.close() return x, y, z def write_grid...
[ "mesnardo@gwu.edu" ]
mesnardo@gwu.edu
6902885a4f142161a0d522c04b24b050145894c2
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/67/usersdata/227/35699/submittedfiles/imc.py
97fe9c020fc0ef50bd290ee682eb50afafe24c07
[]
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
294
py
# -*- coding: utf-8 -*- p=float(input('digite a altura:')) a=float(input('digite o peso:')) imc=p/(a**2) if imc<20: print('abaixo') if 20<=imc<=25: print('normal') if 25<imc<=30 : print('sobre peso') if 30<imc<=40: print('obesidade') if imc>40 print('obesidade grave')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b2af0e6b513af6becd4c701575b8da74fd834fb9
bfd6ac084fcc08040b94d310e6a91d5d804141de
/PulseSequences2/subsequences/Rotation.py
3b1089baaeb47610ad771272f2532b2ca7d4c9ed
[]
no_license
jqwang17/HaeffnerLabLattice
3b1cba747b8b62cada4467a4ea041119a7a68bfa
03d5bedf64cf63efac457f90b189daada47ff535
refs/heads/master
2020-12-07T20:23:32.251900
2019-11-11T19:26:41
2019-11-11T19:26:41
232,792,450
1
0
null
2020-01-09T11:23:28
2020-01-09T11:23:27
null
UTF-8
Python
false
false
1,198
py
from common.devel.bum.sequences.pulse_sequence import pulse_sequence import numpy as np from labrad.units import WithUnit class Rotation(pulse_sequence): ''' 729 rotation with controlled phase and angle ''' def sequence(self): #this hack will be not needed with the new dds parsing metho...
[ "haeffnerlab@gmail.com" ]
haeffnerlab@gmail.com
47216b2f2997a32716446db8cf3a69b9fd26bf54
a9d78a8d71de9b4c247e3c87766e3ecd308d8d30
/class_based_api_view/class_based_api_view/settings.py
aee461a1a7490561baa36e3d2c6f97fad663a241
[]
no_license
vineetkashyap/All-REST-API-CODE
ddbf49f96cd0065f91f5f4687f8a61fb7254a5d8
6a63cb3244f792e1e3ee8acac544251e84aaa5e5
refs/heads/master
2023-03-28T15:40:39.059696
2021-03-23T11:42:29
2021-03-23T11:42:29
347,968,941
0
0
null
null
null
null
UTF-8
Python
false
false
3,163
py
""" Django settings for class_based_api_view project. Generated by 'django-admin startproject' using Django 3.0.5. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ ...
[ "vkvineet66@gmail.com" ]
vkvineet66@gmail.com
77461f0647b2c2bdf802913304711c9dc16dcd6a
683876019cad0b0d562ac7f9da8c679cb310cfb2
/2021/day10/part2.py
f4c9d01ff00f3c24ad8b6328994deb6c42aad4bc
[]
no_license
CoachEd/advent-of-code
d028bc8c21235361ad31ea55922625adf743b5c8
10850d5d477c0946ef73756bfeb3a6db241cc4b2
refs/heads/master
2023-05-11T05:20:26.951224
2023-05-09T18:54:16
2023-05-09T18:54:16
160,375,311
0
0
null
null
null
null
UTF-8
Python
false
false
1,948
py
# part 2 """ AoC """ import time import sys from copy import copy, deepcopy import math def hasl(s): if '(' in s or '[' in s or '{' in s or '<' in s: return True return False def hasr(s): if ')' in s or ']' in s or '}' in s or '>' in s: return True return False def getr(s): for c in s: if c i...
[ "CoachEd@gmail.com" ]
CoachEd@gmail.com
f79f14e7ef9346a1a7207371bdda31335f79eb41
62c4892391e18161b676ef37d1aa81b11656eef2
/theanolm/training/adagradoptimizer.py
0fc1ca559c876471e4f8d37440a1007e0d09d2a4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
DemoVersion/theanolm
a7619e17bc1aea4ab84b97a4e83ae7896040d577
3eee0e7445d14b6114c4fa73dff54a15b5ab09aa
refs/heads/master
2021-01-20T13:55:55.823957
2017-04-28T15:39:57
2017-04-28T15:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,881
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy import theano.tensor as tensor from theanolm import Parameters from theanolm.training.basicoptimizer import BasicOptimizer class AdaGradOptimizer(BasicOptimizer): """AdaGrad Optimization Method AdaGrad is a simple extension of Stochastic Gradient De...
[ "seppo.git@marjaniemi.com" ]
seppo.git@marjaniemi.com
60770e7c1429cd10c0565c41963c45f5a90a4743
213749a9598cf20ca26eb2cb3e6f559c4b5639a3
/files_p.py
8c6eef0046e4c925a3c157e12365c85dc74031e2
[]
no_license
VladyslavHnatchenko/theory_python
c605d386d93858ffe85f2112cd0ae388ba92acc5
36e9a448104a9363adfa34101365f9189b7973f2
refs/heads/master
2020-07-13T15:46:35.595667
2019-09-17T13:50:42
2019-09-17T13:50:42
205,108,931
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
"""Works with files in python.""" l_ = ["tree", "four"] f2 = open("data.txt", "w") f2.write("one") f2.write("two") f2.writelines(l_) f2.close() print(f2.closed) f3 = open("data.txt") print(f3.read()) # f1 = open("data.txt") # # for i in open("data.txt"): # print(i) # print(f1.readlines()) # print(f1.read(10)...
[ "hnatchenko.vladyslav@gmail.com" ]
hnatchenko.vladyslav@gmail.com
a016df252a66a8b844ef81de167e24cecf76c7d8
a2c02fb5dd11e1fb7d0faefaaa4929f40d12cfdf
/kelp2grid_kit4_kelp_1.py
ef4ec8a15453cf601eb56ad510eb245a3028cffa
[]
no_license
iwenfeng/workspace_python
2c5486f6e77e13a8fd4d516c6743c2794d062a87
392d8e1f953baefe5ed51028636355c67dc5df62
refs/heads/master
2020-12-03T23:11:31.949332
2019-11-12T16:52:21
2019-11-12T16:52:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,271
py
# -*- coding: utf-8 -*- """ Front Matter ============= Created on Author: Mitchell O'Flaherty-Sproul Requirements =================================== Absolutely Necessary: * Numpy * SciPy * Matplotlib Optional, but recommended: Functions ========= """ #load modules import numpy as np import scipy.io as sio imp...
[ "073208o@acadiau.ca" ]
073208o@acadiau.ca
fc4f879e0fafb9c030facd878e990d23cc16050f
abe52a485b72b6bc54c3ce260a3e4e5fc8a2504f
/d20200811/4_Game01.py
d17e0ade0afe02033efe48ebc628db36319f4067
[]
no_license
soli1101/python_workspace
e920b9589cd1a6a5ef064720400d44a6309249d9
607c7693bdf013fedf193d45de32aac6d48409a0
refs/heads/master
2022-12-26T16:19:32.413709
2020-09-29T08:59:20
2020-09-29T08:59:20
299,560,047
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
import pygame import random # [0] 기본설정 pygame.init() screen_width=1200 scree_height=800 screen=pygame.display.set_mode((screen_width,scree_height)) pygame.display.set_caption("핑퐁") # [2-1] ball 움직임 주기 ''' bx,by를 변수로 주고 그 값을 random값으로 준다''' bx = 580 by = 700 inc_x = random.randint(-10,10) inc_y = random.randint(-10,1...
[ "soli1101@naver.com" ]
soli1101@naver.com
fbbfecfcb06ba44e3cacfc6bc8a13904355db17c
def27d5864764b877b6786835ec97f2bd74c6ba8
/hard/LongestConsecutiveSequence.py
e8d4fe85c98d89340f42e35ce31c34f3ab55d455
[]
no_license
bolan2014/leetcode
f6cf38a49a9250abeb36543ea2498062c58e811d
1c35fde3a65c4f216218f459736d4c39a29980d5
refs/heads/master
2021-04-09T16:59:41.494568
2017-05-10T03:47:14
2017-05-10T03:47:14
46,648,353
0
1
null
null
null
null
UTF-8
Python
false
false
372
py
''' decide whether the difference between index and value is equal or not ''' class Solution(object): def longestConsecutive(self, nums): """ :type nums: List[int] :rtype: int """ nums = list(set(nums)) nums.sort() cnt = rst = 1 for i in range(len(nums)-1): if nums[i] - i == nums[i+1] - i - 1: cnt += 1 ...
[ "1139217488@qq.com" ]
1139217488@qq.com
262967c7c1ef310b40cf81128be1edd4157dca8c
25404f4cfb9be3e6f1b3fe31a1554459eb200813
/my_itertools/common_class/stop_in_shortest/ifiterfalse.py
e2e70b72680bb154e7c926928d34f7c474f75129
[]
no_license
nightimero/annal_report_test
1c6eb4b71482f870c753f5084212afd071929f57
7bbc76ba703527ba8f4b84fbdb94fd57b37b9887
refs/heads/master
2021-09-06T21:18:59.534963
2018-02-11T15:31:21
2018-02-11T15:31:21
103,259,391
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
# -*- coding:utf-8 -*- from itertools import ifilterfalse # ifilterfalse(pred, seq) # ifilter的相反版本。 ifilterfalse(lambda x: x % 2, range(10)) # --> 0 2 4 6 8 for y in ifilterfalse(lambda x: x % 2, range(10)): print y
[ "chenxiang@aiknown.com" ]
chenxiang@aiknown.com
63d785ac899b01a03537b0df7d14ab7ed3691955
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_noisy110.py
f9ed07b39ba5e4403afedd0ccb04cb64992c545d
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,451
py
# qubit number=3 # total number=10 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collectio...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
3899e1d781e1b9388eb9005d7dd9af3dde84c142
596b65dadfa15a09886ecbc12a80931865654c44
/reinforcement_learning/reinforce/policy_evaluator.py
3c1ea0702c52d252933054627933e4f3d9f08938
[ "Apache-2.0" ]
permissive
xSakix/AI_playground
e849f5369cbdc96e1c2b550ae5fb8f3030b6829a
17587583ecfc8fd9e92d9d3f643da6d37ac5cffd
refs/heads/master
2020-03-14T18:53:07.575629
2019-02-20T20:00:13
2019-02-20T20:00:13
131,751,231
1
0
null
null
null
null
UTF-8
Python
false
false
3,623
py
import numpy as np import time class Agent: def __init__(self, r_actions): self.r_actions = r_actions self.ror_history = [] self.dist = np.array([1.]) self.tr_cost = 0.003 self.invested = 100000. self.cash = 100000. self.shares = np.zeros(1) self.ac...
[ "seckarovci@gmail.com" ]
seckarovci@gmail.com
82d585145cfac036a0d871b461c07c2ca25cd0e0
eb9afdef43786bf2cbfeba2cea5e5ee6632ea344
/cloudmersive_configuration_api_client/models/http_orchestration_header.py
5ae9376b6cf4ba0f66f879f37659ca30dde7ac46
[ "Apache-2.0" ]
permissive
Cloudmersive/Cloudmersive.APIClient.Python.Configuration
9f90f609e963dd3020d762c976dc53291fcd5b2c
01ab35d057254295cbd358e5549031fd1ba3c984
refs/heads/master
2021-02-08T23:13:20.675146
2020-06-26T00:42:07
2020-06-26T00:42:07
244,208,579
0
0
null
null
null
null
UTF-8
Python
false
false
5,644
py
# coding: utf-8 """ configapi Config API lets you easily manage configuration at scale. # noqa: E501 OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class HttpOrchestrationHeader(object): """...
[ "35204726+Cloudmersive@users.noreply.github.com" ]
35204726+Cloudmersive@users.noreply.github.com
c8d54a82bb403111e3faec1305905500c1ae7efa
b13a326c8aac68f72c71169187a4aa8d4fe1438f
/rmleague/main_player.py
dace31bafd6d34dc2f5255658a3d37a5462b37e2
[]
no_license
zy10zm/Pulsar
9f1d9abdf90d94e80c6dba2a02630bfe4b4e2115
714ee2d78577e59077af7c0f890e639879490eb8
refs/heads/master
2023-02-22T20:26:42.995175
2021-01-23T04:35:38
2021-01-23T04:35:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,943
py
import os import numpy as np from rmleague.player import Player from rmleague.historical import Historical from rmleague.main_exploiter import MainExploiter from rmleague.league_exploiter import LeagueExploiter from rmleague.agent import Agent from rmleague.player_utils import remove_monotonic_suffix, pfsp class Mai...
[ "impeccableaslan@gmail.com" ]
impeccableaslan@gmail.com
8770e9ad31d13e674b1a6a35814d150d9e7706c2
758b475451f96bb63b0fd4922beb7b6e1ed40137
/PyCalendar/branches/json/src/pycalendar/timezone.py
f7366777ee7ff7d113c37af307ab9adcc4b28f24
[ "Apache-2.0" ]
permissive
svn2github/calendarserver-raw
da9f0bfa94d8080a9803eab5e4630be21645b329
37edd10248e8c13dc13f65ff52c72df1783e3499
refs/heads/master
2023-01-11T00:51:40.137861
2015-01-07T00:07:46
2015-01-07T00:07:46
14,276,537
1
0
null
2022-12-21T13:08:16
2013-11-10T13:09:44
Python
UTF-8
Python
false
false
4,015
py
## # Copyright (c) 2007-2012 Cyrus Daboo. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
[ "cyrusdaboo@e27351fd-9f3e-4f54-a53b-843176b1656c" ]
cyrusdaboo@e27351fd-9f3e-4f54-a53b-843176b1656c
86cd5e7c1b5a227108cb62d495677cb3225c55af
7e41d5ec2f8ba704c99bbb252a216566fa0e7ce3
/Retos/ScraperAmazon/amazon/amazon/settings.py
57e100dc4a68ba68c8d6a15d02c5c6618c42f675
[ "MIT" ]
permissive
juanpanu-zz/PM_DataScience
11cf1fab4939ba415bbae28b134182e7f3108e37
24e71616dae692e931e95cd3815ca88fa9b8a46a
refs/heads/master
2023-01-03T01:15:50.893425
2020-10-24T16:32:16
2020-10-24T16:32:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,792
py
# Scrapy settings for amazon project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-middleware....
[ "juanpa.nb@gmail.com" ]
juanpa.nb@gmail.com
a272604713573188bd595e5a7f06eff60a93db9d
0203e5a6d7beb1e0f83113dac4c167b171756f24
/test/system/spor/TEST_FIO.py
2d587c68ee12c132592244090b13cbb901ad06ac
[ "BSD-3-Clause" ]
permissive
Wonchul08Lee/poseidonos
eaafe277fc56a0f5b5fcca3b70acc9bfe5d5d1ae
6fe410cdf88f3243ad9210f763c2b5a2f7e8b46a
refs/heads/main
2023-03-30T13:41:09.660647
2021-04-08T06:43:26
2021-04-08T06:43:26
355,819,746
0
0
BSD-3-Clause
2021-04-08T08:17:27
2021-04-08T08:17:26
null
UTF-8
Python
false
false
3,515
py
#!/usr/bin/env python3 import subprocess import sys import TEST import TEST_LOG # ###################################################################################### q_depth = 128 block_size = '4K' verify_on = False core_mask = '0x40' extra_fio_options = " --numjobs=1 --ramp_time=0 --norandommap=1 --bs_unaligned...
[ "poseidonos@samsung.net" ]
poseidonos@samsung.net
d3b15d0c87e59ac765c4d48fb3b68d8830a3cd52
dff9fd5a123c8746c222e02579ed8c2edb0949e8
/cell_modelling/generate_automata.py
d9b68661e2eab6cc9304a6ae1121095d4406c6b6
[]
no_license
Sashkow/GeneticAlgorithms
2069e485d018448b4a760781003b6d3316ea0202
d59d0798f25aea57b5079fbd95b013650a0dcf6f
refs/heads/master
2021-01-10T15:33:47.761978
2017-03-21T19:05:46
2017-03-21T19:05:46
43,359,634
2
0
null
null
null
null
UTF-8
Python
false
false
766
py
from cell_modelling.proxyfunctions import* import cell_modelling.boolfunction import random """ zeroes - float from 0 to 1. Share of zeroes in functions values. """ def generate_n_k_automata(N,K,functions_list,links_list, zeroes): generate_functions_list(N,K,functions_list, zeroes) generate_links_list(N,K,lin...
[ "lykhenko.olexandr@gmail.com" ]
lykhenko.olexandr@gmail.com
c70f4468f2f90ea32010819ae9ca94a7b400efe4
a5487ac3c3a15870da630a1a54482dacd7895cc8
/app/config.py
b10a2f9b4627bf7c971f9f1128d091abe68c628c
[]
no_license
EidAbdullahi/Watchlist.
09a8318c86538a1d15b3e475c5c924b36c4eb04e
9ebbd4a0cf1d0bb4352ab4d443e66de6e22c16e9
refs/heads/master
2023-01-23T21:56:54.326686
2020-12-02T15:29:18
2020-12-02T15:29:18
315,248,012
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
class Config: ''' General configuration parent class ''' MOVIE_API_BASE_URL ='https://api.themoviedb.org/3/movie/popular?api_key=dc8778f07dfcbb76925d7106d12b5dfb' SECRET_KEY='c123456789abc' class ProdConfig(Config): ''' Production configuration child class Args: Config: The p...
[ "eidabdullahi10@gmail.com" ]
eidabdullahi10@gmail.com
433970e16d201063f5c88815a8d0ee67c1b0ccd7
60c4255fb0cf7ed817ff09d8113bf404cde8e12b
/env/lib/python2.7/site-packages/django/conf/locale/es/formats.py
935a7ab9732309091df7ef167b5a77ebf7d40de9
[]
no_license
adamjberg/finna-be-octo-ninja
83aba13f619d4fbfb5308e48336917f0ada0459d
cf16bfcb3d7bb4e878ba0b99ad701b5cda8be34c
refs/heads/master
2021-01-10T20:19:20.849476
2014-01-11T05:42:23
2014-01-11T05:42:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
# -*- encoding: utf-8 -*- # This file is distributed under the same license as the Django package. # # The *_FORMAT strings use the Django date format syntax, # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date DATE_FORMAT = r'j \d\e F \d\e Y' TIME_FORMAT = 'H:i:s' DATETIME_FORMAT = r'j \d\...
[ "ilikecattle@gmail.com" ]
ilikecattle@gmail.com
995e0e9dd55b85621ce6c890651f21c298eb9808
083ca3df7dba08779976d02d848315f85c45bf75
/BinaryTreeLevelOrderTraversal.py
b699554649dd0c49771fbd83d539fd77347ebe2f
[]
no_license
jiangshen95/UbuntuLeetCode
6427ce4dc8d9f0f6e74475faced1bcaaa9fc9f94
fa02b469344cf7c82510249fba9aa59ae0cb4cc0
refs/heads/master
2021-05-07T02:04:47.215580
2020-06-11T02:33:35
2020-06-11T02:33:35
110,397,909
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def levelOrder(self, root): """ :type root: TreeNode :rtype: List[List[int]] """ result = [] nodes = [] if root!=None: ...
[ "jiangshen95@163.com" ]
jiangshen95@163.com
6e1d100a34333379e5998b31db45aa62c809724d
b26d11147736cae7a1b10e7deaef08c339cb1e4e
/profiles/urls.py
d2d0699148c86b4652ae317a8a81d48530c09f88
[]
no_license
Komilcoder/Art-blog-website
bcc72e6b18925c141efd28a101c321c82fe7e534
8c88e4245a3e5f36593ceade2ab242f331bf3121
refs/heads/master
2022-12-15T14:06:57.094660
2020-09-02T06:58:00
2020-09-02T06:58:00
291,511,085
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
from django.urls import path from . import views app_name='profiles' urlpatterns = [ path('myprofile/' , views.my_profile_view, name="my_profile"), path('invites/' , views.invites_received, name="my_invite"), path('login/', views.Loginpage, name="login"), path('registr_lis/', views.Registration , name...
[ "yaxshilikovkomil@gmail.com" ]
yaxshilikovkomil@gmail.com
94cb5c11f12b36935cd9c945dc1e7169b0d88ce0
1e7e8ee29809a646b536afe2fed38ffc75bfb501
/万达优卡.py
dd0943ca89026af2411b5e6b9e2ebd5bb01a15fa
[]
no_license
Chihihiro/CrawlerFrame
e97ee4fe22b7ada05cb7d033fa582c93614f61b5
d0df19b3c05de0ed94749c58d5ffc325e92ff035
refs/heads/master
2020-04-19T14:51:08.844972
2019-02-01T01:03:10
2019-02-01T01:03:10
168,256,125
0
1
null
null
null
null
UTF-8
Python
false
false
2,358
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/1/29 0029 16:18 # @Author : Chihiro # @Site : # @File : 万达优卡.py # @Software: PyCharm import time import json from time import sleep from Frame.Crawler import BaseSpider from Frame.Request import Request from scrapy import Selector class Spider(Base...
[ "chihiro123" ]
chihiro123
40b2fea6934c17c73c6042e54d70cada3ea836c8
1fcdccf5d651b60bfe906f2ddafd6745f4e29860
/nufeeb.button/debug/fileapi.py
461f5120bf4f771c155ee2e7f47114fad438c2c7
[]
no_license
LimXS/workspace
6728d6517a764ef2ac8d47fe784c4dba937a1f1d
9669d653f4a7723947da645de526f4c580ddc88b
refs/heads/master
2021-01-21T06:39:14.126933
2017-04-14T03:24:36
2017-04-14T03:24:36
83,257,374
0
0
null
null
null
null
UTF-8
Python
false
false
3,116
py
# -*- coding: utf-8 -*- import time import requests import json from common import browserClass browser=browserClass.browser() f=open('e:src.txt','r') l=f.read() print l headers={'cookie':l} #cookie='_ati=146267075305; ASP.NET_SessionId=qe5bebuz2cphgb0o01omllql; _umdata=65F7F3A2F63DF0207E2BEE3A391EB24C36974786A7AE62C01...
[ "xsx2018@yahoo.com" ]
xsx2018@yahoo.com
5366d2dd48ea41e2fb297fa29af2910999b245a5
5ffed81ced523b6e417b4e48d20380b6f16f8f42
/additional/weather.py
59c9c376b47fe96b34665fb7f94358bbcb82881f
[]
no_license
Nikoletazl/Basics-Python
0f3f095bd51f9546c681e3cdd268232de88749ab
17aef1b95814f13a02053681aae3e617e56f2fe6
refs/heads/main
2023-08-14T15:48:48.450249
2021-10-08T15:02:35
2021-10-08T15:02:35
415,027,622
1
0
null
null
null
null
UTF-8
Python
false
false
199
py
weather = input() if weather == "sunny": print("It's warm outside!") elif weather == "cloudy" and weather == "snowy": print("It's cold outside!") else: print("It's cold outside!")
[ "noreply@github.com" ]
Nikoletazl.noreply@github.com
36cdc9dae22082d2ea838f82af3e592377b6264d
fed854dab0984685ad8094aa76ab2a84cde9cb99
/measure_http/send-requests.py
bc08622e7de678489aafa892bc921703a94d9dda
[]
no_license
redteamcaliber/w3af-misc
30673ec29db277f3317d0e619b892b43d4f49d1a
85e591e1b6ad57e3d3994c045feb29a64d5955c6
refs/heads/master
2020-04-03T16:07:48.441296
2014-08-12T13:09:09
2014-08-12T13:09:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
import time import sys from measure import show_stats NUM_REQUESTS = 5000 try: from core.data.url.xUrllib import xUrllib except: print 'This script needs to be located inside the w3af trunk directory to work' sys.exit(1) from core.data.parsers.urlParser import url_object import core.data.kb.config as cf...
[ "andres.riancho@gmail.com" ]
andres.riancho@gmail.com
e2033e7058da34f5fae42cc2fa014890b4e202ca
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-das/setup.py
26e0e247230127bea559c3876cbadf4e206f803c
[ "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
1,662
py
# coding: utf-8 from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdas" VERSION = "3.1.57" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" DESCRIPTION = "DAS" this_directory = path.abspath(path.dirna...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
93937012b68244e03343e8ad75766b37c8b5e61a
63490d62566ef62ef531dc72da8b4fdbde93cff1
/venv/Lib/site-packages/wcwidth/tests/test_core.py
8a7454b9bb2f5717741abc3e28a9b5cc79b5daf4
[]
no_license
yuyuyuyushui/koal
d353b21c932b17484858cab3267242c7c1aee08c
3114eca6afbab8723c003d36fa386fb4c2d9cd5e
refs/heads/master
2021-07-12T18:41:19.389618
2020-10-13T09:30:34
2020-10-13T09:30:34
207,526,020
0
0
null
null
null
null
UTF-8
Python
false
false
3,891
py
# coding: utf-8 """Core tests module for wcwidth.""" import wcwidth def test_hello_jp(): u""" Width of Japanese phrase: コンニチハ, セカイ! Given a phrase of 5 and 3 Katakana ideographs, joined with 3 English-ASCII punctuation characters, totaling 11, this phrase consumes 19 cells of a terminal emulator....
[ "786313105@qq.com" ]
786313105@qq.com
a535a25d34ddbe9d940388f382d1b780b9517e5c
9afbb6993450d1e0c3bae68e86844bd06d4419ee
/exception/10.py
5d41fdb27de85590a6184c4464744775ff368b96
[]
no_license
Jigar710/Python_Programs
6f331caac30878655d4cca4ad97d4214c0262088
714a6306487eb6712f32ccb51b6a2407a81873fa
refs/heads/main
2023-02-25T12:24:44.874199
2021-01-28T15:43:24
2021-01-28T15:43:24
332,869,164
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
#user defined exception class class MyError(Exception): pass try: a = int(input("Enter A : ")) b = int(input("Enter B : ")) if(a<0 or b<0): raise MyError("Hello error") c = a / b lst = [1,2,3] print(c,lst[c]) except Exception as e: #default except block print(type(e)) print("bye bye")
[ "jigar.shekhat.777@gmail.com" ]
jigar.shekhat.777@gmail.com
c5d7eae344e138b6da01e1ba3701a98aaa0ec7b5
986236feac0d098977dc3f98b705d68155048233
/0x08-python-more_classes/2-rectangle.py
4535c1bea08351a8adf1f115ec29e31997a7f266
[]
no_license
Noeuclides/holbertonschool-higher_level_programming
1f1ec5731840f39ab988593ace190403f701ee67
fcf0d733b73904a848b5718266a644c4f6452166
refs/heads/master
2020-05-18T03:28:56.901071
2019-10-03T17:30:20
2019-10-03T17:30:20
184,145,627
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
#!/usr/bin/python3 class Rectangle: def __init__(self, width=0, height=0): self.width = width self.height = height @property def width(self): return(self._width) @width.setter def width(self, value): if type(value) is not int: raise TypeError("width must...
[ "euclidesnoeuclides@gmail.com" ]
euclidesnoeuclides@gmail.com
b1f9c356148bde3067f87f76563580ae2cd63648
7f4b1d5e9963d63dd45b31c6cad8ced70d823217
/interview-prep/geeks_for_geeks/google/finding_the_numbers.py
51a629bd3c5edcc7b7b0f54b35b1311ce8ad3a4a
[]
no_license
mdhatmaker/Misc-python
b8be239619788ed343eb55b24734782e227594dc
92751ea44f4c1d0d4ba60f5a1bb9c0708123077b
refs/heads/master
2023-08-24T05:23:44.938059
2023-08-09T08:30:12
2023-08-09T08:30:12
194,360,769
3
4
null
2022-12-27T15:19:06
2019-06-29T03:39:13
Python
UTF-8
Python
false
false
1,030
py
import sys # https://practice.geeksforgeeks.org/problems/finding-the-numbers/0 # You are given an array A containing 2*N+2 positive numbers, out of which 2*N numbers # exist in pairs whereas the other two numbers occur exactly once and are distinct. You # need to find the other two numbers and print them in ascendin...
[ "hatmanmd@yahoo.com" ]
hatmanmd@yahoo.com
653af4c38b79106e0c627d50f73fbf6f13532bf2
0049832c5cbee4b96189b88b51653f48decde596
/gk2a/ReprojectionCropping2/_reprojection_gdal.py
d09c3b925fcd13f61492b3c96568efa84f2e97f3
[]
no_license
henockmamo54/ImageFusion
18cf27ec4a066456c0d575696fc986814d10a7e6
07e88b5cb1925f54b3b3659caa2abda2bf4f3a72
refs/heads/master
2023-06-16T12:38:07.352623
2021-07-19T00:52:02
2021-07-19T00:52:02
355,720,494
2
0
null
null
null
null
UTF-8
Python
false
false
772
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 8 11:34:28 2021 @author: Henock """ import os os.system('export PATH="/usr/local/gdal/2.4.2/bin:$PATH"') os.system('export PATH="/usr/local/anaconda/bin:$PATH"') os.system('export GDAL_NETCDF_BOTTOMUP=NO') path ="/bess19/Image_fusion/pre_process/GK2A/Cropped/VI00...
[ "henockmamo54@gmail.com" ]
henockmamo54@gmail.com
247448acdb9b029e13697eb748d05157c64dac14
e4bc9c24a0e00a127f505e384679d32e012a8b93
/limix/heritability/estimate.py
41f246235295c71c1a7f5ed653c6fd88b72d612c
[ "Apache-2.0" ]
permissive
jeffhsu3/limix-1
6e5a37112afffdadbb578fcec040f72d7b20db97
c76e455c4b2c84352d03b75ad578d205192e8547
refs/heads/master
2021-01-23T05:49:54.825954
2017-05-24T13:35:47
2017-05-24T13:35:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,991
py
from __future__ import division from numpy import ascontiguousarray, copy, ones, var from numpy_sugar.linalg import economic_qs from glimix_core.glmm import GLMM def estimate(pheno, lik, K, covs=None, verbose=True): r"""Estimate the so-called narrow-sense heritability. It supports Normal, Bernoulli, Binomi...
[ "danilo.horta@gmail.com" ]
danilo.horta@gmail.com
eec7454c39baf419aee20d1e08eefd3cfb4a9666
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_check_cluster_name_availability.py
d208beef247f78335e5cf6ed38ffb45646b3b539
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
1,607
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
c3659494745d079e14598a44a7ad5769d0846fd1
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/third_party/kubernetes/client/models/v1_secret_list.py
c3549b68019351e465d2f2673fa5437103bbb91e
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
6,235
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.14.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re ...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
13f51e63ef87e8b70cef161a974b8164b6e96a75
541d316b9693031987e7659c61d984302a5869d3
/profiles/admin.py
f361a160877e7de6c62324bf0bec5408372b7761
[ "MIT" ]
permissive
Cian747/insta
ea425af0a2f24e710a7563b5d15448f5b6f05132
caa34a3f2908cf34641c5e42a66db096c1325310
refs/heads/main
2023-08-22T06:34:06.291844
2021-09-14T12:11:39
2021-09-14T12:11:39
404,592,646
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
from django.contrib import admin from .models import Profile from gram.models import Image,Comment # Register your models here. class ProfileAdmin(admin.ModelAdmin): filter_horizontal = ('') admin.site.register(Profile)
[ "cian.omondi@student.moringaschool.com" ]
cian.omondi@student.moringaschool.com
ffec00ecffc48f1c907a43d0865b4c77727809b6
1a5a9bfa6ee62c328fc6ab828ad743c555b0f23a
/ch08/0642-moving-average-from-data-stream.py
7a18664a633aa04d7e7323fcf720360d8b9d425f
[]
no_license
zzy1120716/my-nine-chapter
04b3e4d43a0d8086e5c958b81a3dc4356622d65f
c7bf3eed366b91d6bdebb79d0f11680cf7c18344
refs/heads/master
2020-03-30T03:07:14.748145
2019-05-15T13:07:44
2019-05-15T13:07:44
150,670,072
0
1
null
null
null
null
UTF-8
Python
false
false
1,015
py
""" 642. Moving Average from Data Stream 给出一串整数流和窗口大小,计算滑动窗口中所有整数的平均值。 样例 MovingAverage m = new MovingAverage(3); m.next(1) = 1 // 返回 1.00000 m.next(10) = (1 + 10) / 2 // 返回 5.50000 m.next(3) = (1 + 10 + 3) / 3 // 返回 4.66667 m.next(5) = (10 + 3 + 5) / 3 // 返回 6.00000 """ class MovingAverage: """ @param: size: ...
[ "zzy1120716@126.com" ]
zzy1120716@126.com
8fcdd6931ce5d6fbe199d113591e50716af82f35
4e11c5fe1cd966bfd4c7748cff1a69c303f784d5
/rastervision_core/rastervision/core/data/scene_config.py
d139e1994a26a7554ccebcca5c897f6562a83f76
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
austinekrash/raster-vision
40b02a9e315bc65f14299102b4f2f6fc26acc3a8
a5b0616e8699ce4e26cbc5697adc7615505f4337
refs/heads/master
2022-12-20T13:05:22.061676
2020-10-01T16:40:12
2020-10-01T16:40:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,038
py
from typing import Optional, List from shapely.geometry import shape from rastervision.pipeline.config import Config, register_config, Field from rastervision.core.data.raster_source import RasterSourceConfig from rastervision.core.data.label_source import LabelSourceConfig from rastervision.core.data.label_store imp...
[ "lewfish@gmail.com" ]
lewfish@gmail.com
adcd9078fc7bdbd82c0ec509b16eeb8b499a8efc
bc00bdc08d76c8be38c51b1f1caeced2a4668592
/abjad_demo/env/lib/python3.6/site-packages/abjad/lilypondfile/LilyPondLanguageToken.py
e815f1491edb124386aeb45ea1e2c9d0dce2c00c
[]
no_license
gsy/gmajor
769afd6e87f6712e4059f3f779f41932cbca962d
7f5f20a19494256615fbaaa840b2a0bbbf6e311f
refs/heads/master
2023-02-08T07:00:44.479895
2019-05-20T13:58:03
2019-05-20T13:58:03
161,866,236
0
0
null
2023-02-02T06:26:34
2018-12-15T03:32:48
Scheme
UTF-8
Python
false
false
1,382
py
from abjad.system.AbjadValueObject import AbjadValueObject class LilyPondLanguageToken(AbjadValueObject): r""" A LilyPond file ``\language`` token. .. container:: example >>> abjad.LilyPondLanguageToken() LilyPondLanguageToken() """ ### CLASS VARIABLES ### __slots__ = () ...
[ "chenxuanguang@chuangxin.com" ]
chenxuanguang@chuangxin.com
7ca1ff9dcf0935130da4f10a3e5ce2ed99b8d947
41523dd4871e8ed1043d2b3ddf73417fcbdde209
/day11/compare.py
c44e489a1ceddd072715d33d6ebf53dd3ee50bfb
[]
no_license
WayneChen1994/Python1805
2aa1c611f8902b8373b8c9a4e06354c25f8826d6
a168cd3b7749afc326ec4326db413378fd3677d5
refs/heads/master
2020-03-30T23:19:00.773288
2018-11-02T10:47:40
2018-11-02T10:47:40
151,697,105
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # author:Wayne import time import os # 递归求和:1+2+……+n def getSumRecu(n): if n == 1: return 1 else: return getSumRecu(n - 1) + n # 循环求和:1+2+……+n def getSumLoop(n): res = 0 for i in range(1, n+1): res += i return res # 递归求n! ...
[ "waynechen1994@163.com" ]
waynechen1994@163.com
9e8cafb2c456c939276fa7b36defae1fd39c2b09
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_96/1723.py
028964e961b94931cc852a9b35fd218244d6ad08
[]
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
737
py
from __future__ import division import sys infile = sys.stdin t = int(infile.readline()) for j in xrange(t): l = list(map(int, infile.readline().split())) n=l[0] s=l[1] p=l[2] l=l[3:] triplet=[] for each in l: tick=0 triplet.append(int(each/3)) triplet=sorted(triplet,reverse=True) l=sorted(l,reverse=True)...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
48bf8d632a03e6727e54e58ba280eade118b6ad4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02264/s714981721.py
afa87c67512705793d1305e58038e3c84a7ec5bf
[]
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
338
py
from collections import deque n, q = (int(s) for s in input().split()) que = deque() for i in range(n): name, ts = input().split() que.append((name, int(ts))) t = 0 while que: name, time = que.popleft() if time <= q: t += time print(name, t) else: t += q que.append...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3d58579fa9cfb0d1c0c703a23a286d353494ff4e
e559ee90bcf7078b2c5a3f3266f8a67436470bbe
/theanolm/layers/grulayer.py
c7439411d1d08969f0e8bd88381d8adf885f7c8b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
anirudh9119/theanolm
d63e31b5df93a5dd373725a04efc6efa3a1420fb
5ce8a92ccc37b275a141d1a90eadd8c7f06e7a33
refs/heads/master
2021-01-12T13:10:07.908450
2016-03-07T09:01:23
2016-03-07T09:01:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,243
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from collections import OrderedDict import numpy import theano import theano.tensor as tensor from theanolm.matrixfunctions import get_submatrix from theanolm.layers.basiclayer import BasicLayer class GRULayer(BasicLayer): """Gated Recurrent Unit Layer for Neural Net...
[ "seppo.git@marjaniemi.com" ]
seppo.git@marjaniemi.com
df03cea40c9caa188468249c71d5423fb85e6352
d18d589494066526b8b8b7117156d733773e30db
/src/scale.py
4c6ca8e0408dbd39d6f417acedfc3743888df0fa
[ "MIT" ]
permissive
alexdawn/battle-cogitator
d0c8a836c6e25dc7f332554f260217355cc8caa1
ec1cc7283c5c5c656f8892d0351dfe4879fdcb2d
refs/heads/master
2023-02-19T02:08:11.401132
2021-01-25T21:31:54
2021-01-25T21:31:54
291,942,531
1
0
null
null
null
null
UTF-8
Python
false
false
516
py
# suggests a turn is around 5 or so seconds # allow for shooting and fighting too could be maybe 15-30 second per turn SCALE = 64 INCH_TO_CM = 2.54 SECONDS_PER_TURN = 10 def to_real_scale(value: float) -> float: """Convert to scale in meters""" return value * SCALE * INCH_TO_CM / 100 def to_cm(value: float...
[ "al_4242@hotmail.co.uk" ]
al_4242@hotmail.co.uk
ce870fcf5162755cd27ffda9244c02f08e328e36
2d47b52c6a14f0cf0cec0c62ec0207b7de2c113c
/django_app/mysite/views.py
5afe74165a028ad3ce869d30c82b2be22a95836d
[]
no_license
hanabee337/Django_Tutorial
a6095a4699bf54cbe4f1096003f627ba946acd13
812d319906706d99097398c4661e2ef091916ef2
refs/heads/master
2021-01-22T02:17:14.707662
2017-02-08T15:48:58
2017-02-08T15:48:58
81,039,578
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
''' 루트 url (r'^$')에 polls와 admin/으로 갈 수 있는 링크 페이지를 구현한다. 1. 뷰는 mysite/views.py안에 def index(reques)에 작성 2. 템플릿은 templates/index.html을 사용 polls/, admin/ 연결하는 부분은 {% url %} 태그 쓰지 않고 직접 구현 3. URL은 mysite/urls.py안에 ''' from django.shortcuts import render def index(request): return render(request, 'index.html')
[ "hanabee337@gmail.com" ]
hanabee337@gmail.com
1ccd151e8456333d29cb2c490f1f8bb23f28333b
3056736f013b25d1e70adb355082c578e5091314
/ml_quality/datasets/shit/Javascript parser.py
9eb13f5601e897960ac86baebcbf502df23ddf6f
[]
no_license
flerchy/codestyle-core
dcad1385b76678e4473f0804d2ecfaa03866d124
a009bcd2f17dadd440ea5ff24bd3167e38948bff
refs/heads/master
2021-01-20T03:21:16.694322
2017-06-05T05:52:35
2017-06-05T05:52:35
89,524,181
0
1
null
null
null
null
UTF-8
Python
false
false
7,184
py
import sys sys.path.append('/Users/HTX/Documents') import ply.yacc as yacc import ply.lex as lex import jstokens # use our JavaScript lexer from jstokens import tokens # use out JavaScript tokens start = 'js' # the start symbol in our grammar, maybe 'js' sometimes def p_js(p): 'js : elemen...
[ "flerchy@gmail.com" ]
flerchy@gmail.com
3900fc229818b1a6bbb3299c4ac76d4d69873d8b
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/perf/CascadeMaskRCNN_iflytek_for_PyTorch/configs/_base_/models/mask_rcnn_r50_fpn.py
6fc7908249e013376b343c5fc136cbbe5ff29390
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
4,016
py
# model settings model = dict( type='MaskRCNN', pretrained='torchvision://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=True, ...
[ "zhangjunyi8@huawei.com" ]
zhangjunyi8@huawei.com
43d98922b46d0c06e04fdc1fde7bb4c6acedb7ff
10425fd2f058afb9dd823929314bfede0a4eb513
/websocket_py3/env/Lib/site-packages/gevent/signal.py
544d6b4292b0396240177958c69ac4435b0662e0
[]
no_license
gaozhidf/flask_websocket
60883571a469a7c283e3da9a8fbf81d752f82f71
41653f71b7fd6d07d3592a22a11f29e795ba45d8
refs/heads/master
2022-11-29T04:31:08.953294
2017-08-12T08:53:24
2017-08-12T08:53:24
49,828,952
0
2
null
null
null
null
UTF-8
Python
false
false
3,880
py
""" Cooperative implementation of special cases of :func:`signal.signal`. This module is designed to work with libev's child watchers, as used by default in :func:`gevent.os.fork` Note that each ``SIGCHLD`` handler will be run in a new greenlet when the signal is delivered (just like :class:`gevent.hub.signal`) The i...
[ "gaozhidf@gmail.com" ]
gaozhidf@gmail.com
b6096885181a235c3feaaf8d51b55489bf471e79
549270020f6c8724e2ef1b12e38d11b025579f8d
/recipes/arcus/all/conanfile.py
8f6e301a393139851b15cfb1cb32ff7cfd1bdaf5
[ "MIT" ]
permissive
conan-io/conan-center-index
1bcec065ccd65aa38b1fed93fbd94d9d5fe6bc43
3b17e69bb4e5601a850b6e006e44775e690bac33
refs/heads/master
2023-08-31T11:34:45.403978
2023-08-31T11:13:23
2023-08-31T11:13:23
204,671,232
844
1,820
MIT
2023-09-14T21:22:42
2019-08-27T09:43:58
Python
UTF-8
Python
false
false
4,215
py
from conan import ConanFile from conan.tools.build import check_min_cppstd from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain, cmake_layout from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, rmdir, save from conan.tools.microsoft import is_msvc, is_msvc_static_runtim...
[ "noreply@github.com" ]
conan-io.noreply@github.com
b7b7f62510d24e45dd32346e65f53d670f1c3cea
22dcbf9595c28279b681caac26e43113ce75de5c
/run/events-pubsub/main.py
7b6bdd8ca7ca3746f82304ab23699cfaabfe0514
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jerry-enebeli/python-docs-samples
2e61672e9819405733c94ef824ba0b0f92b3e930
0d78724126ce25dd6203cfd2ee3467b88e5c27b9
refs/heads/master
2022-12-12T18:05:16.899492
2020-09-01T22:35:40
2020-09-01T22:35:40
292,189,370
1
0
Apache-2.0
2020-09-02T05:39:23
2020-09-02T05:39:22
null
UTF-8
Python
false
false
2,561
py
# Copyright 2020 Google, LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
jerry-enebeli.noreply@github.com
69fe22b362fcccd7f36252cb09af606a39c45fe6
5d78424b02afd20e47f437e99ebb469053dd0b2e
/test/list_test.py
46819734b9158f6082f291a3d2b11de5f0aedc7b
[ "Apache-2.0" ]
permissive
cnwarden/simple-mediapipe
35b47e762f679a3aaf7dea3738d183ff1bf71cf9
85dc8a87c9586312c2d057ad587bfccf3b5e2eb6
refs/heads/master
2023-07-04T03:31:01.930286
2021-07-27T06:21:05
2021-07-27T06:21:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
from simple_mediapipe.list import List from logzero import logger import threading import time arr = List() class ProduceThread(threading.Thread): def __init__(self, arr:List): threading.Thread.__init__(self) self.arr = arr def run(self): logger.info('sleep') time.sleep(2) ...
[ "1242733702@qq.com" ]
1242733702@qq.com
baaf0cb5979dfecc084a0ea46fce59f5901c4556
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/era5_scripts/02_preprocessing/combine82/209-tideGauge.py
65b5fa9474ef3bf1699031647f2522bba8cd3197
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,117
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 16 16:11:00 2020 -------------------------------------------- Load predictors for each TG and combine them -------------------------------------------- @author: Michael Tadesse """ import os import pandas as pd #define directories dir_in = '/lustre/fs0/home/mtadesse/er...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
d2f0f1651336220fffc0cc75eb0ae97173549848
5c6a533db16073fd43893bebebb6ff1086dc44e0
/quiz/migrations/0004_auto_20201112_1513.py
7f9935be5fb70d6a6b1df3d023c19f2107facecb
[]
no_license
wecode-bootcamp-korea/13-BeautyOfFunction-backend
8ee10adeb924fbaf88bcd0961d355fd4cbe8305b
5a3c9cfd5bf0eda29211451becaaec24dd60a8be
refs/heads/main
2023-01-19T17:32:50.454367
2020-11-19T14:06:12
2020-11-19T14:06:12
309,289,737
1
1
null
2020-11-19T14:06:14
2020-11-02T07:25:36
Python
UTF-8
Python
false
false
407
py
# Generated by Django 3.1.3 on 2020-11-12 15:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('quiz', '0003_auto_20201109_1310'), ] operations = [ migrations.AlterField( model_name='fragrance', name='fragrance_i...
[ "fergith@naver.com" ]
fergith@naver.com
c1f738f8f4b2894a582a80c2d8dda22183ba8471
926621c29eb55046f9f59750db09bdb24ed3078e
/lib/surface/sql/instances/delete.py
363498bdaf22793f09472a3c4a9595bcc0572737
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/SDK
525d9b29fb2e901aa79697c9dcdf5ddd852859ab
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
refs/heads/master
2022-11-22T18:24:13.464605
2016-05-18T16:53:30
2016-05-18T16:53:30
282,322,505
0
0
NOASSERTION
2020-07-24T21:52:25
2020-07-24T21:52:24
null
UTF-8
Python
false
false
6,092
py
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "richarddewalhalla@gmail.com" ]
richarddewalhalla@gmail.com
d2cb83b16704cd419d708b2d43db70d4b0b09023
1cb0cc435061b6a0156b37813343ae46b1f7346e
/1_learn_step/try_second/glorot_uniform-RMSprop-32.py
1c19797b71f113d5dea4906f29fca46fdcdbde41
[]
no_license
youthliuxi/keras
6370a9de11e152d8ba96e68e9ff02337203b7e66
60a367442f74313d0bd9af01f76068d56e23bec0
refs/heads/master
2020-04-30T19:54:16.628943
2019-08-21T09:47:13
2019-08-21T09:47:13
177,051,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,679
py
# -*- coding:utf-8 -*- from keras import backend as K K.set_image_dim_ordering('th') import numpy as np np.random.seed(123) from keras.layers import * from keras.models import Sequential from keras.utils import np_utils from keras.datasets import mnist # (X_train, y_train), (X_test, y_test) = mnist.load_data() path = "...
[ "lx_einstein@sina.com" ]
lx_einstein@sina.com
a1d345cd84f0b5c23094866a9a24ecf4e94f7200
a394b1053f018ff8be63221c61682df03af4937b
/osf/migrations/0043_set_share_title.py
3a2f366e9fe048ec3b598f82067b22ea56a43ced
[ "Apache-2.0", "LGPL-2.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "MIT", "AGPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "MPL-1.1", "CPAL-1.0", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
RCOSDP/RDM-osf.io
81b11d9511f6248ec9bccb6c586b54a58429e1e7
5d632eb6d4566d7d31cd8d6b40d1bc93c60ddf5e
refs/heads/develop
2023-09-01T09:10:17.297444
2023-08-28T04:59:04
2023-08-28T04:59:04
123,298,542
12
24
Apache-2.0
2023-09-12T08:58:28
2018-02-28T14:46:05
Python
UTF-8
Python
false
false
1,312
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-08-03 15:07 """Sets the share_title field on production PreprintProviders. Makes no updates if the listed providers don't exist in the current envirionment. """ from __future__ import unicode_literals from django.db import migrations # _id => share_title SH...
[ "sloria1@gmail.com" ]
sloria1@gmail.com
6059634c5c856a273edd05e44426e169f4707f19
c97b9ae1bf06757ba61f90905e4d9b9dd6498700
/venv/Lib/site-packages/tensorflow/keras/regularizers/__init__.py
09973e7161adb7730110cc3c6b1d2baf5b70c35c
[]
no_license
Rahulk1p/image-processor
f7ceee2e3f66d10b2889b937cdfd66a118df8b5d
385f172f7444bdbf361901108552a54979318a2d
refs/heads/main
2023-03-27T10:09:46.080935
2021-03-16T13:04:02
2021-03-16T13:04:02
348,115,443
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:77bf0ddee4055542371da5a582f6eaa408d1f72704265495c05baf437951241c size 846
[ "rksc.k1p@gmail.com" ]
rksc.k1p@gmail.com
b23eaa9bed4cbec607f82cb4dce0ce4791b27adc
5ce57ecd89ad85ae690ad04b338ca808a268b009
/excript/app-comerciais-kivy/Int.Ciencia_da Computacao_Python/semana-6/jogo_nim2.py
f21b7077b8596583e1c82b589deb2d5c28f35e4f
[]
no_license
Israelgd85/Pycharm
aa5144b2da92da22255fab7a144050f90e0f0ef1
f75c37d243103721a90471725ae723d16599c06d
refs/heads/master
2021-04-15T19:12:22.596698
2018-07-23T19:13:02
2018-07-23T19:13:02
126,880,163
0
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
#coding: utf-8 #JOGO do NIM def main (): op = int(input("Escolha opcção 1 ja jogada unica ou 2 para campeonato: ")) i = 0 if op == 1: partida() elif op == 2: while i <= 3: partida() i += 1 print("Fim do Campeonato") def computador_escolhe_jogada (n,m):...
[ "gomesdeconto@gmail.com" ]
gomesdeconto@gmail.com
5aa988f491e2801ad775abe70acc0a9e7d22f063
ccdd61e4813c8a0a9f28d23c2ee5b02790cc7456
/ida-kallsyms.py
85c04f61ff5bf563219bef745a873e18d262eb6f
[]
no_license
freemanZYQ/ida-kallsyms
65084ffa65c3d8456fc227b7391ed0c87fbdbd50
4f0beb659a3b65e4b1c5056ad9ebba6ac4572b21
refs/heads/master
2020-08-15T07:51:23.810578
2019-10-10T18:01:48
2019-10-10T18:04:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
from idaapi import get_bytes, get_inf_structure from ida_name import set_name from ida_segment import get_segm_by_name from find_kallsyms import find_kallsyms_in_rodata rodata_segm = get_segm_by_name('.rodata') rodata_size = rodata_segm.end_ea - rodata_segm.start_ea + 1 rodata = bytearray(get_bytes(rodata_segm.start_...
[ "mephi42@gmail.com" ]
mephi42@gmail.com
c4b4b3d9a3be9d5167373258aba28c3eea86cd39
952a9bc5a54bae037662f3bd5e09aa13780628a2
/vespa/analysis/fileio/dicom_siemens_fidsum.py
b633e152199a73ac4a31a235501dfce95f200985
[ "BSD-3-Clause" ]
permissive
bsoher/vespa_py2
199964d2ffdc6ed576d6d73e55078ed5bc26c784
07cd67de2465607319870a18435da784345198d0
refs/heads/main
2023-04-22T04:24:44.270731
2021-05-06T01:07:57
2021-05-06T01:07:57
364,384,405
0
0
null
null
null
null
UTF-8
Python
false
false
1,956
py
# Python modules from __future__ import division # 3rd party modules # Our modules import vespa.analysis.fileio.dicom_siemens as dicom_siemens import vespa.common.mrs_data_raw_fidsum as mrs_data_raw_fidsum from vespa.common.constants import Deflate from vespa.analysis.fileio.util_exceptions import OpenFileAttribut...
[ "bsoher@briansoher.com" ]
bsoher@briansoher.com
bc71160214a2fda9d50ddc554e033ac710f62b63
72730564dc94f1e2e777d7efea5cc4a25e1e773a
/scripts/crpo/job/create_job.py
285805242b602d1c23917ae4c15d3ee731d614dc
[]
no_license
Dinesh-Dewangan/UI-Automation
0126f63201f4d3668a1d1a2ae59da99028a662cf
9d81753cc2034dde2699bf8ccb9fdd382cb4c876
refs/heads/master
2020-06-14T10:33:23.620942
2020-03-17T04:50:48
2020-03-17T04:50:48
194,982,742
1
0
null
2020-03-12T14:04:28
2019-07-03T05:02:16
Python
UTF-8
Python
false
false
3,789
py
import time import page_elements import image_capture import test_data_inputpath from logger_settings import api_logger from scripts.crpo.job import job_excel class CreateJob(job_excel.JobExcelRead): def __init__(self): super(CreateJob, self).__init__() self.job_file = test_data_inputpath.attachm...
[ "Vinod-E" ]
Vinod-E
07ce17c60f33d7d20ae8b792325c9fa46dd0480f
f6d3a6562f18e1a8ec14d038b228dc43652a3b35
/早期/测试name_fun-unitest.py
c36a164b92062fb3c41362042d4db1684424be06
[]
no_license
huangno27/learn
be19a65744b588b296961572e8a5292f1230332f
93fe784a3127e76995e9ae018605efbe78238385
refs/heads/master
2020-04-26T12:52:07.692473
2019-03-10T10:31:55
2019-03-10T10:31:55
173,563,469
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
import unittest from name_fun import get_formatted_name class NameTestCase(unittest.TestCase): """测试name_fun.py""" def test_first_last_name(self): """能够正确处理像xxx这种名字吗?""" formatted_name = get_formatted_name('jenkis','jmeter') self.assertEqual(formatted_name,'Jenkisjmeter') def test_...
[ "13436918611@163.com" ]
13436918611@163.com