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
15015f7b5af1f31a75cc01953b047de2bf049354
8f4bd36443984d5856a590f1927c7cc75cdc6f59
/apps/admin.py
554bb3f19554812422f1a0b5d5d54c2aa03c6b86
[]
no_license
ProsenjitKumar/employee-api-django
6b5aafbd25cd1ab5a83328906bb69f962aadc661
946589c4df973a013c2eb333fee0baf5c0c89491
refs/heads/master
2020-04-29T07:30:24.698250
2019-03-16T10:12:06
2019-03-16T10:12:06
175,955,464
1
0
null
null
null
null
UTF-8
Python
false
false
206
py
from django.contrib import admin from .models import Employeer class EmpoyeeAdmin(admin.ModelAdmin): list_display = ['name'] search_fields = ['name'] admin.site.register(Employeer, EmpoyeeAdmin)
[ "prosenjitearnkuar@gmail.com" ]
prosenjitearnkuar@gmail.com
5e855797d48b19ce29b994bc27d3fd726e98e75b
ff6f11f06fbe8f23962baf687950702e36dbc143
/ui/diffexp.py
9dc50db44fb8ca01c80e1331172d0a933a54f0f3
[ "BSD-3-Clause" ]
permissive
tanaes/heatsequer
86970a6bd49fa1f17b57dc1a49f23837d45141d9
35d5f8a4506bc5a0d375b1170bcc7483d7981513
refs/heads/master
2021-01-22T15:04:22.044894
2016-03-08T01:15:18
2016-03-08T01:15:18
44,138,126
0
0
null
2016-01-21T01:30:26
2015-10-12T22:40:02
Python
UTF-8
Python
false
false
5,402
py
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Dialog</class> <widget class="QDialog" name="Dialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>400</width> <height>300</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> ...
[ "amnonim@gmail.com" ]
amnonim@gmail.com
01adbe77d97dffc9bd82a82d62cf909c7a1eb6c0
45d9ceec2d554068c770eabd9d2a7995c0d7f957
/experiments/job/submit_job_ban.py
57f7d140f190c8060aac07d27315ae151962337e
[]
no_license
xyzacademic/scd_deep
6c1e734d4d69d939d3c447807638d8a9de913005
ac112816fc63b0f650bd65a2df31ba8d11177cd1
refs/heads/master
2023-06-27T15:48:04.483991
2021-08-02T22:26:57
2021-08-02T22:26:57
392,111,310
0
1
null
null
null
null
UTF-8
Python
false
false
1,965
py
import os import sys import numpy as np part_1 = [ '#!/bin/bash -l\n', '#SBATCH -p datasci3,datasci4,datasci\n', # '#SBATCH -x node429,node430,node412\n', '#SBATCH --job-name=ban\n', '#SBATCH --gres=gpu:1\n', '#SBATCH --mem=16G\n', '#SBATCH --cpus-per-task=2\n', 'cd ..\n', ] part_2 = ...
[ "yunzhexue@gmail.com" ]
yunzhexue@gmail.com
f3b2c26d670bdf99872a36fac0256ef8de57e280
47f4e3aabb6dcb0f9a48c8a5634eac1523b71b2c
/11.0/website_payment_weixin/__manifest__.py
00f54fb4bd14c49e9f65384ad6836b05da5f5f82
[]
no_license
marvin981973/odoo-2
485b7815b639da17400f38ab2200fb6956486451
f45a562b1bd962697f096e7f7bc57b131b3e11f3
refs/heads/master
2020-06-26T06:22:16.520775
2018-03-11T13:26:04
2018-03-11T13:26:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# -*- coding: utf-8 -*- { 'name': '微信支付', 'category': 'Website', 'summary': '微信支付', 'version': '11.1.0', 'description': """商城微信支付""", 'author': "Gavin Gu", 'website': "http://www.bankcall.net", 'depends': ['payment'], 'data': [ 'templates/payment_weixin_templates.xml', ...
[ "guwenfengvip@163.com" ]
guwenfengvip@163.com
1c69d9a65c51c15f6490b26a2f7d5e246e02163a
d5a82c882160e73e4dce5b0dd02d7ec42c0a8c25
/DataCamp_Introduction_to_Linear_Modeling_in_Python/1.1.1.Reasons_for_Modeling:Interpolation.py
2076f3676e6e74620c19d682eb45595a285832d4
[]
no_license
ContangoRango/Machine_Learning_AI_Blockchain
d31e57682f4b70988f60bfa9d1be598421e9a9eb
2161721493c14ed89f09a81140c4622dd31bebab
refs/heads/master
2022-03-22T03:33:23.333076
2019-12-08T12:12:49
2019-12-08T12:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,517
py
'''One common use of modeling is interpolation to determine a value "inside" or "in between" the measured data points. In this exercise, you will make a prediction for the value of the dependent variable distances for a given independent variable times that falls "in between" two measurements from a road trip, where ...
[ "buryj666@gmail.com" ]
buryj666@gmail.com
f352b6bc800e5edee3a813d50bc102e4410a8372
8be02b6f29dc79c3d6eb279266f98b1206e9748a
/newone/apps/autos/api/views/auto_views.py
b8c0dc33e067b66c9a9d36bfd9262eddede47d66
[]
no_license
nachovidondo/CarSales
803842559875ca83add03b1620e787f563f04825
b4d5cbca64d81bb1df35cf5f7b360dc3d43507e4
refs/heads/master
2023-03-11T05:55:11.698425
2021-02-17T23:19:38
2021-02-17T23:19:38
339,881,101
0
0
null
null
null
null
UTF-8
Python
false
false
2,580
py
from django.utils.module_loading import autodiscover_modules from rest_framework import generics from rest_framework.response import Response from rest_framework import status from apps.autos.api.serializers.auto_serializers import CarSerializer class CarListCreateAPIVIew(generics.ListCreateAPIView): serializer_cl...
[ "ignaciovidondo@hotmail.com" ]
ignaciovidondo@hotmail.com
0242a0d21a63922df3bfa30ddf9dda8823c7b193
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/eventhub/azure-eventhub/azure/eventhub/aio/_eventprocessor/in_memory_checkpoint_store.py
bfee2e6b46f2f5d23c08dac25c1f8674ec6efdfd
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
1,604
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
YijunXieMS.noreply@github.com
6e1fafae016c192848ad9c7aedc9c4acce6d6317
9ab9d9a3883471763edbceea59a0e83170581b5f
/tools/data_source/data_source.py
df1137bad05c7997e7f83ba8883abeeef5fb8677
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
asmmhossain/phyG
24dc211dad5b3e89c87ff384e841f2e98bbd52db
023f505b705ab953f502cbc55e90612047867583
refs/heads/master
2022-11-21T12:43:46.172725
2014-02-14T12:33:08
2014-02-14T12:33:08
13,800,552
0
1
NOASSERTION
2020-07-25T21:05:41
2013-10-23T11:04:25
Python
UTF-8
Python
false
false
5,757
py
#!/usr/bin/env python # Retrieves data from external data source applications and stores in a dataset file. # Data source application parameters are temporarily stored in the dataset file. import socket, urllib, sys, os from galaxy import eggs #eggs needs to be imported so that galaxy.util can find docutils egg... from...
[ "mukarram819@gmail.com" ]
mukarram819@gmail.com
d13b7960bbeb646f94578f03d18f281afd98f87e
64ff8e45e2a0afb1cea4da11a6d0b461865f6881
/0x05-personal_data/encrypt_password.py
9ca2c948c7ebada0c95fbece5f3f83cf717badc1
[]
no_license
Caroll1889/holbertonschool-web_back_end
0e5289002b10fb4c379bdb0204cf5ace526147ab
970dcead135d8072afb45e120078c209d769a49e
refs/heads/master
2023-06-07T22:26:43.471102
2021-06-26T17:58:55
2021-06-26T17:58:55
305,270,759
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
#!/usr/bin/env python3 """Encrypting passwords""" import bcrypt def hash_password(password: str) -> bytes: """Hashed a password""" salt = bcrypt.gensalt() password = bytes(password.encode('utf-8')) return bcrypt.hashpw(password, salt) def is_valid(hashed_password: bytes, password: str) -> bool: ...
[ "diahancaroll@hotmail.com" ]
diahancaroll@hotmail.com
1a766c468b57dd691a681d1512e84b4b30be6979
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2539/60638/276594.py
63c148b6e1f2cc7018bd670bdfd1659572eebc8a
[]
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
295
py
numbers=list(map(int,input()[1:-1].split(","))) begin=0 end=len(numbers) while begin<len(numbers) and numbers[begin]==min(numbers[begin:end]): begin=begin+1 if begin==end: print(0) else: while end>0 and numbers[end-1]==max(numbers[begin:end]): end=end-1 print(end-begin)
[ "1069583789@qq.com" ]
1069583789@qq.com
c2ac8f3e8a5c0fd079fddeed8157caba26067db9
851b57b99cc50c3070bfcb635beb25935dc0f222
/generic_account/models/__init__.py
d2260c362f3a0556da34b6a9ef9717e2bc2ec91d
[]
no_license
pragmatic-lab/custom-holandapets
140ce67daca30b09683ab52bd19b8e88b31c02b9
a1b99ddbffc23dbbdc66b2fdecd07b0ae966225a
refs/heads/12.0
2023-04-19T04:51:30.067882
2021-05-10T00:19:37
2021-05-10T00:19:37
320,437,847
1
3
null
2021-05-10T00:19:38
2020-12-11T01:48:38
Python
UTF-8
Python
false
false
234
py
from . import account_journal from . import account_move from . import account_move_line from . import account_invoice from . import account_payment from . import res_company from . import account_config from . import product_template
[ "lsoto@pragmatic.com.ar" ]
lsoto@pragmatic.com.ar
9b99ae4807086c9138968b0e135d6dee757c9bb8
4b14204ec293038009af187a41b8ad4c77707e8f
/ae-style/train.py
b9d3bedbe6ef32d6045ed8827506b9c27188ab80
[]
no_license
MarshalLeeeeee/calliCodes
4df02c48fb847a56b3f4d36b75b751b8d78f593e
3611579148e552a932f3141f71f6a4ade13b487f
refs/heads/master
2020-05-03T02:49:23.611029
2019-05-03T05:10:02
2019-05-03T05:10:02
178,380,987
0
1
null
null
null
null
UTF-8
Python
false
false
11,306
py
import tensorflow as tf import numpy as np import argparse import os from util import locate, choice, find_truth, loader, plot_batch from network import ae_with_gan, scope_variables, get_mean def init(): parser = argparse.ArgumentParser() parser.add_argument('--gpu', type=str, default='0', help="gpu to use") ...
[ "marshallee413lmc@sina.com" ]
marshallee413lmc@sina.com
e1485dbdc7fc4531801be70e2c28cf9a56b39de5
5cc064d6c0dd2f4b2de8adbca4813b2ed7431973
/.virtualenvs/invenio/lib/python2.7/site-packages/invenio_oauth2server/config.py
33516bacb1b9f62e4da523914ae9d4581256c78a
[]
no_license
N03/invenio
3a3dec6e6ab58ba86d9fb70ef8e052fe771dfbfe
54eb34c7e1594cc50a5347ba93e12a991ba8b7f3
refs/heads/master
2021-04-26T23:12:30.676806
2018-03-06T16:42:10
2018-03-06T16:42:10
123,946,569
0
0
null
null
null
null
UTF-8
Python
false
false
2,493
py
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2014, 2015, 2016 CERN. # # Invenio is free software; you can redistribute it # and/or modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your optio...
[ "noe.zufferey@gmail.com" ]
noe.zufferey@gmail.com
35ff995c16f81cee40b7b42ee46609136eb4435b
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/model_control/detailed/transf_BoxCox/model_control_one_enabled_BoxCox_PolyTrend_Seasonal_WeekOfYear_SVR.py
cc0d9f69c9b6fafab53098dcb0d399d9e04270c6
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
159
py
import tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['BoxCox'] , ['PolyTrend'] , ['Seasonal_WeekOfYear'] , ['SVR'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
e41b21f1a3bb4d7788dac3793284e205f8a50abd
4ede275efc8bc9f9ef121dc37215d2f0d8453e36
/prolongsub.py
fb410b05501c24854087419f6975980e0d7d4818
[]
no_license
shanthivimalanataraajan01/code
bfa8a441b0c360aebd02248ad4433cc21889c3d2
ea467ae1eefd68a5dceaa53aab7149d31bd5faf6
refs/heads/master
2020-04-15T05:01:03.625422
2019-05-17T09:35:45
2019-05-17T09:35:45
164,405,963
0
2
null
null
null
null
UTF-8
Python
false
false
199
py
# your code goes herems n=input() a="" b=[] for i in range(len(n)): if n[i] not in a: a=a+n[i] elif n[i] in a: b.append(len(a)) a="" if i==len(n)-1: b.append(len(a)) a="" print(max(b))
[ "noreply@github.com" ]
shanthivimalanataraajan01.noreply@github.com
2d0f26cefaa710e2d33cf80d6c211c7f6880d435
6e899df09aa69584e35ccb9ef09b6e1a3c07f5aa
/setup.py
15d780b3afa650cc1ca9d6f5c554ebc884fbbce7
[ "MIT" ]
permissive
xiaowu5255/django-comment-migrate
3ba6720a6cf38acdc662260b77cea3d9dfab74ee
1475d1e180cf1853cf0a0cb017873a6bfa68360a
refs/heads/master
2023-07-15T14:16:09.074619
2021-08-09T09:20:36
2021-08-09T09:20:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
from setuptools import setup readme = open('README.rst', encoding='utf-8').read() setup( name='django-comment-migrate', version='0.1.5', description="""An app that provides Django model comment migration """, long_description=readme, author='starryrbs', author_email='1322096624@qq.com', ur...
[ "1322096624@qq.com" ]
1322096624@qq.com
b042a789e85aaf1f26ab0d12061f992819017ada
9c50f57a9cb32b44e86a0cdcbf61ead34754b085
/杂物间/备课/面向对象/main.py
6aef213cb53be3ca32f00e2c15a402140ff5508b
[]
no_license
a1403893559/rg201python
c3f115011981393c86a0150e5281096651712ad4
448f04c86e4c7fd30e3a2a4f9121b934ae1d49be
refs/heads/master
2020-03-15T23:32:17.723403
2018-03-18T12:59:43
2018-03-18T12:59:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
# import msg.sendmsg # import msg.receivemsg # from msg import sendmsg # from LS import haha from msg import * receivemsg.receive() sendmsg.send() # msg.sendmsg.send() # msg.receivemsg.receive() # sendmsg.send() # haha.haha()
[ "wengwenyu@aliyun.com" ]
wengwenyu@aliyun.com
1f17e5931cc5cae6adc9cbd496a1526aa0d3aebc
6ebb170bebdb09f7f662f42e92a9e36ab289c700
/riakasaurus/riak_index_entry.py
f49db83df82c21f843d0f6feda6a08c5f1dc5b59
[]
no_license
ypsilon-net/riakasaurus
b37392850c0efecea95d2c1a89a63027fb22bffb
8708ea4a55803a14edc99fcc1dd8cb23e75ab80c
refs/heads/master
2021-01-11T23:10:57.566165
2016-11-20T16:20:11
2016-11-20T16:20:11
6,920,282
0
0
null
null
null
null
UTF-8
Python
false
false
1,876
py
""" Copyright 2010 Rusty Klophaus <rusty@basho.com> Copyright 2010 Justin Sheehy <justin@basho.com> Copyright 2009 Jay Baird <jay@mochimedia.com> This file is provided to you 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 o...
[ "colin.alston@gmail.com" ]
colin.alston@gmail.com
aae4ed9dabc3ba432d8cb37fc27a730ffd73eeae
5864e86954a221d52d4fa83a607c71bacf201c5a
/carbon/common/lib/cherrypy/tutorial/tut01_helloworld.py
50c22472141c5ca4c66daa9356b2580d9c44b35f
[]
no_license
connoryang/1v1dec
e9a2303a01e5a26bf14159112b112be81a6560fd
404f2cebf13b311e754d45206008918881496370
refs/heads/master
2021-05-04T02:34:59.627529
2016-10-19T08:56:26
2016-10-19T08:56:26
71,334,417
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\carbon\common\lib\cherrypy\tutorial\tut01_helloworld.py import cherrypy class HelloWorld: def index(self): return 'Hello world!' index.exposed = True import os.path tutconf = os.path.join(os.path.dirname(__file__), ...
[ "le02005@163.com" ]
le02005@163.com
d1a11d890b550f9ac19a1bb20f98197095ac19c1
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/_ped.py
012c71eff1864483bf63b444a70e3391242cc4a1
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
86,075
py
# encoding: utf-8 # module _ped # from /usr/lib64/python2.6/site-packages/_pedmodule.so # by generator 1.136 """ This module implements an interface to libparted. pyparted provides two API layers: a lower level that exposes the complete libparted API, and a higher level built on top of that which provides a more Pyth...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
4a18271ed687aee2919cc967574b34f6c927bba7
f023f1b025a49968c1050e7726054e2d69eaddd8
/item/interview/answer/migrations/0005_auto_20200420_1507.py
ff544edd3bdfa076c06c1b85d4230be0c05791ea
[]
no_license
soulorman/Python
225444cab3ce65511ab91db753f07ce28e5bd239
4febccac57bfa5f7ef46f5f57e52206c8b0a57ac
refs/heads/master
2023-05-11T01:50:08.012001
2020-06-22T07:14:24
2020-06-22T07:14:24
149,143,223
0
0
null
2023-04-29T10:08:28
2018-09-17T15:03:08
Python
UTF-8
Python
false
false
578
py
# Generated by Django 2.0 on 2020-04-20 15:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('answer', '0004_auto_20200407_1408'), ] operations = [ migrations.AddField( model_name='interview_options', name='flag'...
[ "2379797392@qq.com" ]
2379797392@qq.com
dd27f9028a9191539f2d19ecf62904e564473e36
d7ae245eca631a5c0e3868bb95d7c40f26768fa8
/deploy/project.wsgi
02208bdb90af8c2cd49e49d266aa1c4c8a0672c4
[]
no_license
ingenieroariel/agromapas
8a82aa0ad1a1a3b555becd1de92f035d810f2aac
7eb751b6d2ea8a18fdabccbd1b53053f5710b8fe
refs/heads/master
2021-08-18T14:05:36.945431
2009-04-23T01:39:02
2009-04-23T01:39:02
180,139
3
1
null
2021-06-10T20:22:45
2009-04-19T16:55:03
Python
UTF-8
Python
false
false
538
wsgi
import os import sys # redirect sys.stdout to sys.stderr for bad libraries like geopy that uses # print statements for optional import exceptions. sys.stdout = sys.stderr from os.path import abspath, dirname, join from site import addsitedir sys.path.insert(0, abspath(join(dirname(__file__), "../../"))) from django...
[ "ingenieroariel@gmail.com" ]
ingenieroariel@gmail.com
3db1bd66611152ae07ca6ebad16a76a453b4d4a7
bc441bb06b8948288f110af63feda4e798f30225
/file_repository_sdk/model/topboard/attachment_pb2.pyi
143133b3e76ab09b674c057218a08c5c80ceac4e
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
2,787
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from file_repository_sdk.model.topboard.issue_basic_pb2 import ( IssueBasic as file_repository_sdk___model___topboard___issue_basic_pb2___IssueBasic, ) from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___...
[ "service@easyops.cn" ]
service@easyops.cn
0fba7bff4094cd2880c3a62e96cccaa1ba61b425
aa1972e6978d5f983c48578bdf3b51e311cb4396
/nitro-python-1.0/nssrc/com/citrix/netscaler/nitro/resource/config/aaa/aaauser_intranetip_binding.py
106bd582594a66755d9c3384391416033d5cb687
[ "Python-2.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MayankTahil/nitro-ide
3d7ddfd13ff6510d6709bdeaef37c187b9f22f38
50054929214a35a7bb19ed10c4905fffa37c3451
refs/heads/master
2020-12-03T02:27:03.672953
2017-07-05T18:09:09
2017-07-05T18:09:09
95,933,896
2
5
null
2017-07-05T16:51:29
2017-07-01T01:03:20
HTML
UTF-8
Python
false
false
10,877
py
# # Copyright (c) 2008-2016 Citrix Systems, 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 l...
[ "Mayank@Mandelbrot.local" ]
Mayank@Mandelbrot.local
d717ac0f4f2fa24d7616238e6f0c6d6c1426c871
e94b622f9bc85e7928e326538ab5daa6b0dd0ad4
/jarbas/chamber_of_deputies/twitter.py
f8a4514cc62643bdd7036f06d939ef5ef3681012
[ "MIT" ]
permissive
llenroc/serenata-de-amor
266449e16f8f5cd970bf7e8ded5c2dffab038b8b
0620260b854093c85bfb6e55edbfc0187c478dda
refs/heads/master
2020-03-29T01:02:11.545003
2018-09-13T17:33:16
2018-09-13T17:33:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
import twitter from django.conf import settings from django.core.exceptions import ObjectDoesNotExist from jarbas.chamber_of_deputies.models import Reimbursement, SocialMedia, Tweet class Twitter: """Twitter target. Maintains the logic for posting suspicious reimbursements in a Twitter account. """ ...
[ "cuducos@users.noreply.github.com" ]
cuducos@users.noreply.github.com
97936df8f9f751bf4d6a86b09d75d517101eb6b8
e4d421593cfff40520c33559028754de3acf7be5
/loki/zookeeper.py
4963639eae5c6b062724d0ff6306ee3622255315
[]
no_license
dongzerun/wloki
341d38982d950e526e7039336e4cb32f8cff5fca
e39819a5f5854795bf90f6a37c870f442ac16c60
refs/heads/master
2020-06-21T01:25:23.078936
2016-11-16T16:46:54
2016-11-16T16:46:54
74,812,144
1
1
null
2016-11-26T07:46:03
2016-11-26T07:46:03
null
UTF-8
Python
false
false
25,788
py
# coding: utf-8 from contextlib import contextmanager __author__ = 'qinguoan@nosa.me' from os import path import socket import ujson as json from time import strftime, localtime from kazoo.retry import KazooRetry from kazoo.exceptions import KazooException, NoNodeError, BadVersionError from kazoo.client import Kazoo...
[ "liningning@wandoujia.com" ]
liningning@wandoujia.com
27732345903d90f13954b37ea3733efd4b89d1d8
7bf617f77a55d8ec23fa8156c1380b563a5ac7f6
/CG/SciPy/RainDropsAnimation.py
0d0298b10d15106ad8f38e91090c45bdcaf00754
[]
no_license
anyatran/school
c06da0e08b148e3d93aec0e76329579bddaa85d5
24bcfd75f4a6fe9595d790808f8fca4f9bf6c7ec
refs/heads/master
2021-06-17T10:45:47.648361
2017-05-26T12:57:23
2017-05-26T12:57:23
92,509,148
1
1
null
null
null
null
UTF-8
Python
false
false
4,775
py
#------------------------------------------------------------------------------- # @author: Ninad Sathaye # @copyright: 2010, Ninad Sathaye email:ninad.consult@gmail.com. # @license: This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License...
[ "panhtran249@gmail.com" ]
panhtran249@gmail.com
ff41559d3cb7448638bd87055611996b31c02187
ba0cbdae81c171bd4be7b12c0594de72bd6d625a
/MyToontown/Panda3D-1.9.0/direct/extensions/NodePath-extensions.py
22cdc837f9b4a4ddb68da143c0916a15d68a1ba6
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
sweep41/Toontown-2016
65985f198fa32a832e762fa9c59e59606d6a40a3
7732fb2c27001264e6dd652c057b3dc41f9c8a7d
refs/heads/master
2021-01-23T16:04:45.264205
2017-06-04T02:47:34
2017-06-04T02:47:34
93,279,679
0
0
null
null
null
null
UTF-8
Python
false
false
45,816
py
""" NodePath-extensions module: contains methods to extend functionality of the NodePath class """ def id(self): """Returns a unique id identifying the NodePath instance""" return self.getKey() def __hash__(self): return self.getKey() # For iterating ...
[ "sweep14@gmail.com" ]
sweep14@gmail.com
493b624d55adc939d3b00fc459888cf2a1d996d8
35c026801051bde86c9f93332d8d594922352ac9
/video_yyz/scheduler.py
e10e61b48b317ff0e69b3b5f0f0f8f496b297340
[]
no_license
yiyuezhuo/video_yyz
00479f5960e4b33f6decdb46f40fc9ad54f45502
30471323f5109a52d7a78eaf48927cac4185e953
refs/heads/master
2022-04-09T13:47:34.561467
2020-03-22T12:07:56
2020-03-22T12:07:56
234,685,245
0
0
null
null
null
null
UTF-8
Python
false
false
1,623
py
import torch from bisect import bisect_right class WarmupMultiStepLR(torch.optim.lr_scheduler._LRScheduler): def __init__( self, optimizer, milestones, gamma=0.1, warmup_factor=1.0 / 3, warmup_iters=5, warmup_method="linear", last_epoch=...
[ "616271835@163.com" ]
616271835@163.com
4a05c7afee9f49d15136c24f3d446188128e0f90
ebd9c249d446d809abc9a0f3e4593f34922a1b93
/lintcode/110_minimum_path_sum.py
f2cf570eb9979fe7439fa6c7f1ba2391d04e920c
[]
no_license
jaychsu/algorithm
ac7a9dc7366f58c635a68bc46bf1640d2f5ff16d
91892fd64281d96b8a9d5c0d57b938c314ae71be
refs/heads/master
2023-05-11T00:40:39.237813
2022-09-14T07:43:12
2022-09-14T07:43:12
106,277,156
143
39
null
2022-09-14T07:43:13
2017-10-09T11:51:48
Python
UTF-8
Python
false
false
803
py
class Solution: """ @param: grid: a list of lists of integers @return: An integer, minimizes the sum of all numbers along its path """ def minPathSum(self, grid): if not grid: return 0 m, n = len(grid), len(grid[0]) dp = [[0] * n for _ in range(m)] for ...
[ "hi@jaych.su" ]
hi@jaych.su
6f59a982f39b6c551466c25852c0e0bd8ac4ef7c
d2e69d4d3d1e11a87f5a377e4a423422fe0a7058
/pandas_code/hierarchical_indexing/intro.py
ffc624322af15ce384e3f5d6cdfe81102066bbef
[]
no_license
oJacker/_python
6f30dd4a60c1593d27c00ac485163fc0ba77dd8c
8086d0cd78e156abfff9819a56384149dd431c56
refs/heads/master
2021-05-06T03:13:29.167281
2018-02-01T09:41:42
2018-02-01T09:41:42
114,827,084
1
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
# -*- coding: utf-8 -*- import numpy as np from pandas import Series, DataFrame, MultiIndex print('Series的层次索引') data = Series(np.random.randn(10), index=[['a', 'a', 'a', 'b', 'b', 'b', 'c', 'c', 'd', 'd'], [1, 2, 3, 1, 2, 3, 1, 2, 2, 3]] ) print(data) print(data.ind...
[ "623657285@qq.com" ]
623657285@qq.com
61d5bebffb811bbe63439a0367fba8e2a6e2a591
89b2f5b08c441d4af0a63ed2ec1a5889bc92f0f7
/Python advanced 2020/Exercise Comprehensions/7.Flatten lists.py
0002468bf8ebfc06de07911c6093f8c9e1995681
[]
no_license
KoliosterNikolayIliev/Softuni_education
68d7ded9564861f2bbf1bef0dab9ba4a788aa8dd
18f1572d81ad9eb7edd04300deb8c81bde05d76b
refs/heads/master
2023-07-18T09:29:36.139360
2021-08-27T15:04:38
2021-08-27T15:04:38
291,744,823
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
init_list = [x.split() for x in [x for x in input().split('|')]] print(' '.join([x for i in reversed(init_list) for x in i]))
[ "65191727+KoliosterNikolayIliev@users.noreply.github.com" ]
65191727+KoliosterNikolayIliev@users.noreply.github.com
6279509647f56878024c85eb3fe869684bd96af0
e3cdf3d7dbc8020af9ed918296de8addb924f23f
/setup.py
64ec0c2b81667d2cb2ca1172c2f4f569f550bf4d
[]
no_license
abal09/django-munin
e459127b157b5dd9efe7339a363fe9ab2306b4e1
902b279ab9c21feafb3e5b2a20028220c960402a
refs/heads/master
2021-01-15T11:29:49.215529
2013-10-21T15:20:29
2013-10-21T15:20:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,114
py
# Copyright (c) 2011, Columbia Center For New Media Teaching And Learning (CCNMTL) # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copy...
[ "anders@columbia.edu" ]
anders@columbia.edu
c62b3f347e9a918b11512d44c22f31ecaec06faf
98ca37f5dd2751efaa060cca19e0b83f871d7765
/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_actions_async.py
5f15ca8fc8e8707a1460c8d2c25703589a05b16a
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
jayhebe/azure-sdk-for-python
5ea99732ebb9929d3f6f77c08cc640d5915970b1
f4455f85d9fe747fa4de2fdc691b975c07bfeea5
refs/heads/main
2023-06-24T01:22:06.602194
2021-07-28T02:12:25
2021-07-28T02:12:25
390,290,984
1
0
MIT
2021-07-28T09:23:46
2021-07-28T09:23:46
null
UTF-8
Python
false
false
7,880
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. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
jayhebe.noreply@github.com
8d5f3b5e38a25f1e0718243455da54d38ec416b0
ef243d91a1826b490e935fa3f3e6c29c3cc547d0
/PyQt5/QtCore/QAbstractAnimation.py
503ed9402b809ea69225f16f38b548f96dab63cc
[]
no_license
VentiFang/Python_local_module
6b3d0b22399e817057dfd15d647a14bb1e41980e
c44f55379eca2818b29732c2815480ee755ae3fb
refs/heads/master
2020-11-29T11:24:54.932967
2019-12-25T12:57:14
2019-12-25T12:57:14
230,101,875
0
0
null
null
null
null
UTF-8
Python
false
false
5,105
py
# encoding: utf-8 # module PyQt5.QtCore # from F:\Python\Python36\lib\site-packages\PyQt5\QtCore.pyd # by generator 1.147 # no doc # imports import enum as __enum import sip as __sip from .QObject import QObject class QAbstractAnimation(QObject): """ QAbstractAnimation(parent: QObject = None) """ def childE...
[ "5149528+ventifang@user.noreply.gitee.com" ]
5149528+ventifang@user.noreply.gitee.com
2aed3738deae636c8e9a3647238d2db78bfc5248
2071cf1aec8e9762a70b8c932943d8769da7f37a
/python_source/mgetcontent.py
6bb2221323fafc391af86679cb42d99cb7dfc6fb
[]
no_license
rinkeigun/linux_module
70581a793d1f170ad1a776fd1acf4cda1abecd52
94450fb2c6af0fc56f451ae9bf74f7aca248d0a6
refs/heads/master
2020-05-21T17:49:15.608902
2018-09-18T22:57:40
2018-09-18T22:57:40
60,572,658
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
# -*- coding: utf-8 -*- # File name : mcontent.py # Date : 2017/11/04 # Author : Huiqun Lin # Ver : 0.1 #----------------------------------------------- #import mbase from mbase import mBase # クラスの説明 # このクラスは、ファイルを取り扱う例 class run(mBase): #関数リスト def __init__(self): com_list = [ ['ページ全体','fwholepag...
[ "huiqun.lin@gmail.com" ]
huiqun.lin@gmail.com
4684f372bc73401340c02d719eb10bc2ab667aef
02467e9975b50c14b4dc8cdc6dc03748f9aa8245
/openshift/client/models/v1_security_context_constraints_list.py
46b811b59c7d6e7276d52515819fa8a8f5202c71
[ "Apache-2.0" ]
permissive
ashcrow/python-openshift
3995e3c4b72bf52a62bc6b07dabf3d0f709444ae
74c9ade612def941938016385842631342e926de
refs/heads/master
2021-01-11T19:29:04.419005
2017-01-18T19:31:58
2017-01-18T19:31:58
79,377,387
0
0
null
2017-01-18T19:46:04
2017-01-18T19:46:04
null
UTF-8
Python
false
false
7,355
py
# coding: utf-8 """ OpenShift API (with Kubernetes) OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is...
[ "jdetiber@redhat.com" ]
jdetiber@redhat.com
cf5472af804820c0aa98fb5b8833ad4181c3fafe
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2875/60765/266888.py
f3da7f19f034de9469a20df58106be984c4191ff
[]
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
229
py
#!/usr/bin/env python # -*- coding:utf-8 -*- n=int(input()) serial=input().split() #serial=list(map(int,input().split())) result=[0]*n for i in range(n): result[int(serial[i])-1]=i+1 print(' '.join([str(n) for n in result]))
[ "1069583789@qq.com" ]
1069583789@qq.com
123f0d47f03a640a36817566fd144048be103dea
fee910145f5ffef1554d1b809e8e7add9475f587
/sgtpy/equilibrium/hazt.py
d6e2c7eb02461f3baf8dbaafe8cc40a24d1f1df2
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
wqtangecust/SGTPy
4df475c3469af4c43be4bc4f03cf69eb47341e1e
b55a4df372a24014a5c61d0bb4c85725ec069eff
refs/heads/master
2023-02-08T21:21:28.970950
2021-01-04T16:31:43
2021-01-04T16:31:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,098
py
from __future__ import division, print_function, absolute_import import numpy as np from scipy.optimize import fsolve from .multiflash import multiflash from .equilibriumresult import EquilibriumResult def haz_objb(inc, T_P, tipo, modelo, index, equilibrio, v0): X0 = inc[:-1].reshape(3, 2) P_T = inc[-1] ...
[ "gustavoch@outlook.com" ]
gustavoch@outlook.com
f30ff31127b0d411873c47c50f3fb2332126cca0
66738cf02020d979410bf65be524ed9bb622e7c5
/lianxi/day0218/demo17-1.py
d0ab00f422058fd3d77ec5b1f487eb8072914a82
[]
no_license
Liu-Zhijuan-0313/pythonAdvance
882a2c19cf611f068e4549a8b06bdfd0036d3624
e5b794f8d0fa0da5465fe123ac179ac09d62cf24
refs/heads/master
2020-04-22T09:15:57.963165
2019-02-23T08:02:49
2019-02-23T08:02:49
170,261,598
0
0
null
null
null
null
UTF-8
Python
false
false
2,663
py
""" 总结垃圾回收的三种机制 引用计数:(指内存的技术) a = [1,2] 引用计数+1 其实是【1,2】列表所在内存的引用+1 标记清楚:(就是为了解决引用计数的循环引用问题) 分代回收:(目的是为了确定 对哪些对象进行标记清除) """ """ 引用计数+1的情况 1、对象被创建时,例如a="hello zzy" 2、对象被copy引用时,例如 b=a,此时a引用计数+1 3、对象被作为参数,传入到一个函数中时 4、对象作为一个子元素,存储到容器中时,例如 list=[a,b] 引用计数-1的情况 1、对象别名被显示销毁,例如 del a ...
[ "1602176692@qq.com" ]
1602176692@qq.com
130a78bba2dc3bd46813b9b21cca30f529fbee65
1c490d54d2b0a599c4709faaa6c867e856928d4c
/HelloWorld/build/Debug/HelloWorld.app/Contents/Resources/main.py
546f16b5739a82056a6d9c94df197e3f8a3bf8a6
[]
no_license
jyr/pythoncocoa-examples
8948fb58b1c06b7d2333da37e54c83628c8a48fb
361cdd9a81f718dd68bb189951d5730357860b84
refs/heads/master
2020-12-24T15:23:27.025755
2011-09-25T18:25:46
2011-09-25T18:25:46
285,995
6
0
null
null
null
null
UTF-8
Python
false
false
438
py
# # main.py # HelloWorld # # Created by Jair Gaxiola on 23/08/09. # Copyright __MyCompanyName__ 2009. All rights reserved. # #import modules required by application import objc import Foundation import AppKit from PyObjCTools import AppHelper # import modules containing classes required to start application and ...
[ "jyr.gaxiola@gmail.com" ]
jyr.gaxiola@gmail.com
404c5e8f8b883c6368399eec169c5353dc32bc6b
7822e658e88f3f948732e6e3e588ca4b2eb5662a
/controles/2011-1-control-en-linea-3/a-caso1.py
9a4afcd372bf6b483afbabd78e5d072f792a9d80
[]
no_license
carlos2020Lp/progra-utfsm
632b910e96c17b9f9bb3d28329e70de8aff64570
a0231d62837c54d4eb8bbf00bb1b84484efc1af2
refs/heads/master
2021-05-28T06:00:35.711630
2015-02-05T02:19:18
2015-02-05T02:19:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
>>> tiene_digito(7, 1478) True >>> tiene_digito(2, 9885) False
[ "rbonvall@gmail.com" ]
rbonvall@gmail.com
f54fd4967316e3da71d71178c278ab85b91ac695
894b290b4f4f47b5eb523c23efd7bd6110d91b2f
/129_qianfan/qianfan/setup.py
53aeea7cfbb3905e60c836fc818b66504815e8ed
[]
no_license
wliustc/SpiderS
6650c00616d11239de8c045828bafdc5a299b1ce
441f309c50d28c1a3917bed19321cd5cbe7c2861
refs/heads/master
2020-03-27T06:15:39.495785
2018-06-14T07:55:44
2018-06-14T07:55:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
# Automatically created by: scrapyd-deploy from setuptools import setup, find_packages setup( name = 'project', version = '1.0', packages = find_packages(), entry_points = {'scrapy': ['settings = qianfan.settings']}, )
[ "luoshao23@gmail.com" ]
luoshao23@gmail.com
0b1dd1f4418ebd4c598ae249930951f3080d667c
6086d87363225fb74a3013a53578ab955635a3e9
/scripts/r/rename_batch.py
bc23a0ac6416e1e11fa04275e1f4fe5a0115005c
[]
no_license
rossning92/MyScripts
9cb940b99fa69c2d3daafad4f65c54c261e9af82
d70d11fc5914d147c7910c5db8493901fa8af51b
refs/heads/master
2023-09-01T00:08:57.966457
2023-08-31T05:30:23
2023-08-31T05:30:23
136,868,420
16
1
null
2022-08-26T06:24:19
2018-06-11T03:11:16
Python
UTF-8
Python
false
false
816
py
import os import time from _editor import open_in_editor from _shutil import get_files, write_temp_file def wait_until_file_modified(f): last_mtime = os.path.getmtime(f) while True: time.sleep(0.2) mtime = os.path.getmtime(f) if mtime > last_mtime: return if __name__ == ...
[ "rossning92@gmail.com" ]
rossning92@gmail.com
106be3f9656de13bac4180946e451e43531c6302
2db5bf5832ddb99e93bb949ace1fad1fde847319
/beginLearn/googleclass/class6/sigmoidVector.py
feb035a31b9f9444b731dadad3050c7bd1d8ff3d
[]
no_license
RoderickAdriance/PythonDemo
2d92b9aa66fcd77b6f797e865df77fbc8c2bcd14
98b124fecd3a972d7bc46661c6a7de8787b8e761
refs/heads/master
2020-04-06T17:36:46.000133
2018-11-15T07:07:03
2018-11-15T07:07:03
157,666,809
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
import numpy as np ### One reason why we use "numpy" instead of "math" in Deep Learning ### # x = np.array([1,2,3]) # exp = np.exp(x) # print(exp) #矩阵的sigmoid函数 def sigmoid_vector(X): exp = 1 / (1+np.exp(-X)) print(exp) X = np.array([1,2,3]) vector = sigmoid_vector(X)
[ "1371553306@qq.com" ]
1371553306@qq.com
0e65c9ce75d93cba4168c65683c05903d0b8c9bb
a09c0690d3b90da1991cb836270d6f3010a773fe
/amplify/agent/containers/system/collectors/meta/centos.py
680de6d57fc9d1d81426924ac57168972ec21003
[ "BSD-2-Clause" ]
permissive
heartshare/nginx-amplify-agent
723ae2e753e2f25c5bdd5f9297deefb9fc8235a2
66d15b16302ea81ac927f0c0dc41d66e47f482f3
refs/heads/master
2021-01-15T08:08:53.386878
2015-11-18T19:09:51
2015-11-18T19:09:51
46,457,987
0
1
null
2015-11-19T01:03:29
2015-11-19T01:03:29
null
UTF-8
Python
false
false
1,257
py
# -*- coding: utf-8 -*- import re from amplify.agent.util import subp from amplify.agent.containers.system.collectors.meta.common import SystemCommonMetaCollector __author__ = "Mike Belov" __copyright__ = "Copyright (C) 2015, Nginx Inc. All rights reserved." __credits__ = ["Mike Belov", "Andrei Belov", "Ivan Poluyano...
[ "dedm@nginx.com" ]
dedm@nginx.com
0b780e9ee17e52ccc6612450b2d2de8e18419e0b
f2af59aae949fa1de6a5540c3c6da3f08622deb8
/assignment5(C2W1)/reg_utils.py
43bcf0d39e9fff542329d62b391354c75079d765
[]
no_license
DominicRen/Deeplearning.ai-assignment
9e4f3a8700238d3ac64b716fe50cc94effa802c5
2efb684ee6449095571e7a20da26e3108388c07f
refs/heads/master
2020-05-24T15:31:20.619918
2019-07-19T15:09:14
2019-07-19T15:09:14
187,333,402
1
0
null
null
null
null
UTF-8
Python
false
false
10,715
py
import numpy as np import matplotlib.pyplot as plt import h5py import sklearn import sklearn.datasets import sklearn.linear_model import scipy.io def sigmoid(x): """ Compute the sigmoid of x Arguments: x -- A scalar or numpy array of any size. Return: s -- sigmoid(x) """ s = 1/(1+np.e...
[ "ren_9510@163.com" ]
ren_9510@163.com
9d2245ee3300ec4e741301c5fab8ee83e32f46e8
9a9088713c917ac47c0b8713d6969b2cfcdbadac
/leetcode_python/facebook_robot_move_left_right.py
a198f36254cf2aba7f710976b743c4462b1c003d
[]
no_license
zihuaweng/leetcode-solutions
615fdcb9178b19764b4d30bcfe65a9f785e77270
e431ff831ddd5f26891e6ee4506a20d7972b4f02
refs/heads/master
2023-02-06T03:58:26.413711
2020-12-26T05:23:03
2020-12-26T05:23:03
311,418,790
4
7
null
null
null
null
UTF-8
Python
false
false
1,716
py
#!/usr/bin/env python3 # coding: utf-8 # Time complexity: O() # Space complexity: O() # 一个机器人在一条长的线段原点上可以左移动/右移动/不动,问有多少种情况可以在k步以内回到原点 # 三种情况 # 左移动/右移动/不动 # 0 0 0 0 0 0 0 0 0 # i # | (dis = 0, k-1) # | (dis =1, k-1) # # | # | (dis=1, k-1) # | (dis=0, k-1) # # base case: # k == 0: idx == 0:...
[ "zihuaw2@uci.edu" ]
zihuaw2@uci.edu
2fe8be1ce896f24697629a76f7eab2114a356a8a
1890c28fb0cfb414de82a5d764eba0f967e5fc45
/Beginner level/factorial.py
59c2532f032338964fc772475255f70f7181b08f
[]
no_license
ramyasutraye/Python-13
7e56f4f89c8f4cf715ab2f7df05da98d3fb2ea0d
c605d1fee4cd4c8972a7327b44ee54c383c60b25
refs/heads/master
2020-04-23T19:27:51.934631
2018-07-24T11:01:41
2018-07-24T11:01:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
number=int(input('')) fact=1 for i in range(1,number+1): fact*=i print fact
[ "noreply@github.com" ]
ramyasutraye.noreply@github.com
0d99091dd60bbb9fee2f88ce4487ade1163df7d4
41d68948807032cbbfe2f3aa9aa1483e7ed62a22
/ABC_problems/abc146_a.py
e777e8acc13629dcc5794304cee31805168b31b2
[]
no_license
yamabook37/atcoder
5d587eb6b1893eaad34983fde85dc7d0bdcbffdc
6ea98c48f4f326fb693623f32283732eed4b770e
refs/heads/master
2023-08-05T06:49:09.502564
2023-07-30T15:08:05
2023-07-30T15:08:05
248,848,495
2
0
null
null
null
null
UTF-8
Python
false
false
139
py
S = input() day = ['SUN','MON','TUE','WED','THU','FRI','SAT'] ss = 0 for i in range(7): if S==day[i]: ss = abs(7-i) print(ss)
[ "yuki.yamamoto0711@gmail.com" ]
yuki.yamamoto0711@gmail.com
55183b1bc323742f95efe57d7f15797f02377aef
143eb3ced0ff1f9cad745c620fcb572f72d66048
/Assignment4/atom3/Kernel/LayoutModule/HierarchicalLayoutModule/CrossingModule/AdjacentExchange.py
3d9db355468a565274d3c1a243ad6ed5a59811df
[]
no_license
pombreda/comp304
2c283c60ffd7810a1d50b69cab1d5c338563376d
d900f58f0ddc1891831b298d9b37fbe98193719d
refs/heads/master
2020-12-11T07:26:19.594752
2014-11-07T12:29:28
2014-11-07T12:29:28
35,264,549
1
1
null
2015-05-08T07:18:18
2015-05-08T07:18:18
null
UTF-8
Python
false
false
12,800
py
""" AdjacentExchange.py Greedy crossing minimization algorithm. It is best used as a post-processing step since it works very locally. Complexity is O(n^2). On the other hand, even when used on its own it can sometimes yield better results than a deterministic Adjacent Exchange. Algorithm Adjacent Exchange ...
[ "shankland@bigvikinggames.com" ]
shankland@bigvikinggames.com
ea9f3f1c716d4943b75ad4c715e5b3e0826a9a53
0de7538a16f54dfc5d2d6fbf078af1558d30086d
/iterable_unpacking.py
122f5c3ea6f7ff323ecbfe9f22b58cedbf62534f
[]
no_license
feleHaile/20181127EliLilly
c15535a60d66c42998fb5b14e5f3a6f2e13a3fc2
27390c5af4e4bd70e0a3a6e338a26c7963f4f8fe
refs/heads/master
2020-05-15T22:31:38.551113
2018-11-30T02:14:25
2018-11-30T02:14:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
#!/usr/bin/env python # iterable unpacking person = 'Bill', 'Gates', 'Microsoft' first_name, last_name, product = person people = [ ('Melinda', 'Gates', 'Gates Foundation'), ('Steve', 'Jobs', 'Apple'), ('Larry', 'Wall', 'Perl'), ('Paul', 'Allen', 'Microsoft', 'Seahawks'), ('Larry', 'Ellison', 'Or...
[ "jstrickler@gmail.com" ]
jstrickler@gmail.com
bc97987f6c49975220c2c95bf71911e5b1bd96a1
d95dab93687c050a967fd758a013b185c3388502
/01-aiohttp/爬虫高级aiohttp/baidu_img/baidu_img_normal.py
58e2df205c1bdd2fdc9609c692d953e757f80377
[]
no_license
zx490336534/Senior_spider
ff9d508522adc1fcf71f4b37b6ced37069bfbc87
b3e41f37b47db53198fbbf72b9d422a5706987d3
refs/heads/master
2020-03-06T23:33:35.877319
2018-09-15T09:36:18
2018-09-15T09:36:18
127,135,090
1
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import requests import time import urllib3 from h1.baidu_img.baidu_img_url import get_img urllib3.disable_warnings() __author__ = 'Terry' def download_img_normal(img_list, file_path): if not os.path.exists(file_path): os.mkdir(file_path) sta...
[ "490336534@qq.com" ]
490336534@qq.com
aead2fdc384c299bb43401053fe962d6a0fa0516
abc3eedd33579c38dcd62cdd2252b760b9c99661
/example.py
bb77615fd063c83f25f1a6ae0077a4a6ee7b7fd2
[ "Unlicense" ]
permissive
quigongene/AO_Scripts
23c397088943d5d7c4a40149961031598699ac4a
7d9d8ad6708e2e83b4bc300a4cd781e2997dd680
refs/heads/master
2021-01-12T06:59:52.456286
2016-12-23T01:04:08
2016-12-23T01:04:08
76,890,145
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
# coding: utf-8 from aoclient import AOClient if __name__ == '__main__': # example usage # Example 1 # client = AOClient() # client.connect() # client.authenticate("username", "password") # client.close() # Example 2 # Using a with block to open and close the connection # Same as...
[ "theys@kayak.com" ]
theys@kayak.com
a9588c3f1edba1407570a4dbb2157ff8c3bed103
001ce2094fc67394d754fba9a620ad8f7435ebbf
/cppimport/cpprun.py
cf6ed4e2ff5d63f01acff8f868ae13ccd7315a41
[ "MIT" ]
permissive
zmoon111/cppimport
ba9e7471493e97080f42301031ad21a192c9612d
eb5fc6d034032041956d61f456894ff99e420128
refs/heads/master
2020-12-03T02:10:17.986649
2016-05-20T17:01:36
2016-05-20T17:01:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
import os import sys import tempfile import mako.template import argparse import cppimport cppimport.install() tmpl = """ ${code} #include <pybind11/pybind11.h> namespace py = pybind11; PYBIND11_PLUGIN(runnable) { py::module m("runnable", ""); m.def("main", main); return m.ptr(); } """ def cpp_run(): ...
[ "t.ben.thompson@gmail.com" ]
t.ben.thompson@gmail.com
dea19c134a47eb48498e92a0e6f55fd0b60bcc23
13f78c34e80a52442d72e0aa609666163233e7e0
/USACO/Practice Problems/December 2018/Gold/cowpatibility.py
77a337bffbf6fb7e9f361c81d53551e9d9e1d91e
[]
no_license
Giantpizzahead/comp-programming
0d16babe49064aee525d78a70641ca154927af20
232a19fdd06ecef7be845c92db38772240a33e41
refs/heads/master
2023-08-17T20:23:28.693280
2023-08-11T22:18:26
2023-08-11T22:18:26
252,904,746
2
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
''' USACO 2018 December Contest (Gold) Problem 2: Cowpatibility Hey, an efficiency problem! I love efficiency problems! Definitely! I'm not sure this is going to go well. Guess what? It didn't go so well. ''' def main(): # Input parsing file_in = open("cowpatibility.in", mode='r') input = file_in.readli...
[ "43867185+Giantpizzahead@users.noreply.github.com" ]
43867185+Giantpizzahead@users.noreply.github.com
5de239599cdbf58c7b50a193584c9e7ba7309ad0
5cc204e2ecb9a756127e7c71633a1edcdb3e989b
/pyvasp/vasp/vdelsingleatom.py
000da135c343b1edc391b0357d26b2132fe194c3
[]
no_license
hopefulp/sandbox
1a1d518cf7b5e6bca2b2776be1cac3d27fc4bcf8
4d26767f287be6abc88dc74374003b04d509bebf
refs/heads/master
2023-06-27T17:50:16.637851
2023-06-15T03:53:39
2023-06-15T03:53:39
218,209,112
1
0
null
2022-09-13T13:22:34
2019-10-29T05:14:02
C++
UTF-8
Python
false
false
7,462
py
#!/usr/bin/python2.7 #heejin import sys import os import re import math import subprocess import operator #usage description if len(sys.argv) < 5: print("Usage: [POSCAR file] [chg file] [Atom name] [# Remaining] [# Max Conf.]") sys.exit() posfilename=sys.argv[1] chgfilename=sys.argv[2] targetname=sys.argv[3] nrmngs...
[ "hopefulp@gmail.com" ]
hopefulp@gmail.com
c927fa38c3df5714cab5c9a55e411859f37d6084
4acf49297ca00213522757908c23125679fa729a
/conekta/api/antifraud_api.py
ba0193b76743688e98b0a8f092aacd702566e8ea
[ "MIT" ]
permissive
conekta/conekta-python
b95c4a913726dfc6b6849c97c2f459c9f143758c
2fee65f13833fb1232148f3a2606660863e54200
refs/heads/main
2023-07-14T05:38:00.598706
2023-07-07T16:43:37
2023-07-07T16:43:37
12,024,074
23
34
MIT
2023-07-06T15:02:30
2013-08-10T17:21:30
Python
UTF-8
Python
false
false
43,665
py
# coding: utf-8 """ Conekta API Conekta sdk # noqa: E501 The version of the OpenAPI document: 2.1.0 Contact: engineering@conekta.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ import re # noqa: F401 import io import warnings from ...
[ "noreply@github.com" ]
conekta.noreply@github.com
fbd140f0cd23ac554bedf77684606c785ee94495
558ab845ee13fc10a6b4a7b842981f35632e7d61
/qa/rpc-tests/walletbackup.py
1e72a83b7ec424efa37c663a68697624219bd662
[ "MIT" ]
permissive
shitcoindev/luckyblockcoin
a866d91f10d538d73565137fe82c875ea4783ed9
3e27d72f3a629e567654a8c76d3064b7b274bcba
refs/heads/master
2020-05-22T07:09:33.261376
2017-03-11T21:05:15
2017-03-11T21:05:15
84,679,788
0
0
null
null
null
null
UTF-8
Python
false
false
7,318
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ Exercise the wallet backup code. Ported from walletbackup.sh. Test case is: 4 nodes. 1 2 and 3 send...
[ "root@vultr.guest" ]
root@vultr.guest
0bb590c97f250a378e4289123bcba17408c688fc
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions/v2018_06_01/aio/_configuration_async.py
353f6a8fd369c40d598ae007e7d123d2b2d1e551
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
2,784
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" ]
YijunXieMS.noreply@github.com
5ac869e4be75ded8578798f0aaee96938743b41b
03f58679c393c1e7f0640cce290587bacbb0eb65
/python/slim/movielens.py
6d145d8391d242c8f3368ff764265e0b5eb9cd58
[]
no_license
lovehoroscoper/tmp
cc515b6992e82d07b8be6a4e250514f364c708f1
0e4c51db111eaee30bcc4f84ac670ed928500330
refs/heads/master
2021-01-25T09:20:11.738070
2017-06-06T23:58:26
2017-06-06T23:58:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,689
py
import numpy as np import scipy.sparse as sp import multiprocessing as mp from sklearn.utils.extmath import safe_sparse_dot def load_data(): """ # ML1M n_user, n_item = 6040, 3900 PATH = '/Users/kitazawa/data/ml-1m/ratings.dat' with open(PATH) as f: lines = list(map(lambda l: l.rstrip().s...
[ "k.takuti@gmail.com" ]
k.takuti@gmail.com
4241094be21578c4a3598a7cd57cbef679279da4
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/733/733.flood-fill.234404773.Accepted.leetcode.py
d74dda52e91c5b042b72fb3a684fccf0979e014a
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
591
py
class Solution(object): def floodFill(self, image, sr, sc, newColor): R, C = len(image), len(image[0]) color = image[sr][sc] if color == newColor: return image def dfs(r, c): if image[r][c] == color: image[r][c] = newColor if r...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
25ce193066a78b1ee48b2161e17dcefbf3b23705
a982d8f9fd99c4af077dcafc1092a0f3779d9b39
/web_pjt/web_pjt/articles/migrations/0001_initial.py
c3981ccf9ca7d83033f7af9a7c50ba7c3ac4c2dd
[]
no_license
do-park/DDDJ
cbe4586a583618b616eaab19014ba16e69b38f06
22b53bb4822d7e0b61f5a8226bbadb9b9cb20ea0
refs/heads/master
2023-01-12T14:30:16.303107
2020-11-07T16:09:11
2020-11-07T16:09:11
273,131,598
1
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
# Generated by Django 2.1.15 on 2020-06-11 04:26 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
[ "dohee.pa@gmail.com" ]
dohee.pa@gmail.com
b030d031baa157e46e73168cd43dd5b7bb5f84e3
bf6f3ccaab26e66c9eac45c78cf2c6f4ee6fa814
/x_websocket/manage.py
6bec5ae69cfb740e0da65fb5f66fab4542a582d6
[ "MIT" ]
permissive
Strangemother/python-simple-websocket-server
40871050c1890b5c2f6e3dfe2828b3b3818a59c6
1586a9e934c1b671636cfad9fbaba8c213b18a1e
refs/heads/master
2020-05-05T12:16:05.411957
2019-04-14T21:35:39
2019-04-14T21:35:39
180,020,839
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "websocket.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "jay@strangemother.com" ]
jay@strangemother.com
a06c510141855730f9fab6d297a73b71da41a284
2449715d42e89f51bd352b3f3a311ef41f3f04f2
/exercise/news_test/nginx_learn.py
8f6bda4a777525438f17dd942e757a4a922935c7
[]
no_license
SmallPuddingComing/PycharmProjects
d0d900c94691efe98d7d0e147f2968c28546f61c
28965e9e2524cb26449a30a237665f404c5aab70
refs/heads/master
2021-01-10T15:47:21.968541
2016-05-03T11:23:27
2016-05-03T11:23:27
54,554,420
0
0
null
null
null
null
UTF-8
Python
false
false
1,619
py
#coding:utf8 from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer import socket import urllib class MyHandler(BaseHTTPRequestHandler): def do_GET(self): uri = self.path # print uri proto, rest = urllib.splittype(uri) host, rest = urllib.splithost(rest) # print hos...
[ "1076643147@qq.com" ]
1076643147@qq.com
8240c4c93851c3df0e5ba6c2f9ef7596c7e79270
ec75def7b327dc1309ff79b3e2c365a14f8caa0b
/hr_payroll_ci/models/__init__.py
56661fc5c55bab9959e2fdf59e9bce2c7c978c99
[]
no_license
Gofekra/addons_hr
e2213c7ce6ea946b604f96bc7ea133c21dc122dd
076ace8c44e8b30760db8a78db79005999f1e73d
refs/heads/master
2021-04-09T14:19:15.206927
2018-03-14T22:26:56
2018-03-14T22:26:56
125,703,507
0
1
null
2018-03-18T07:51:23
2018-03-18T07:51:23
null
UTF-8
Python
false
false
77
py
import res_company import hr_payroll_ci import hr_holidays import hr_employee
[ "jonathan.arra@veone.net" ]
jonathan.arra@veone.net
86fded52ed52bdc7cedb0a3cfb2a672fc7dcd5a6
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-sas/aliyunsdksas/request/v20181203/DescribeAssetsSecurityEventSummaryRequest.py
b9d51030398847af68aea0592c0b51ce4816e150
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
2,369
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
0ccef4b9113c7d207e706e11c94041d1527ab091
07fed53761a86734229866d457159c781d8db9c5
/model_generator/vgg16_transfer.py
6c58b510b569fb52cc5a58ecd036c4fc084cc8f4
[]
no_license
ko7suke/classification
81ead3f2df3c585903c961860bb7a388be6d08f8
6e297d8819bfad2ea9e0bee9df5588bbca9d35ac
refs/heads/master
2023-03-16T20:17:51.222550
2021-03-07T10:31:57
2021-03-07T10:31:57
340,521,606
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
import numpy as np from tensorflow.keras.models import Sequential, Model from tensorflow.keras.layers import Dense, Dropout, Flatten from tensorflow.keras.optimizers import Adam from tensorflow.python.keras.utils import np_utils from tensorflow.python.keras.applications import VGG16 MODEL_NAME = "your_model" C...
[ "you@example.com" ]
you@example.com
96133eb2b8553bebd4fc23ffcf8861fc5e2b9964
afc8d5a9b1c2dd476ea59a7211b455732806fdfd
/Configurations/VH_SF/Full2017_nAODv5/DNN/nuisances.py
a45d1e7ce90e22a526d67b4a21fb4c5a524cfe88
[]
no_license
latinos/PlotsConfigurations
6d88a5ad828dde4a7f45c68765081ed182fcda21
02417839021e2112e740607b0fb78e09b58c930f
refs/heads/master
2023-08-18T20:39:31.954943
2023-08-18T09:23:34
2023-08-18T09:23:34
39,819,875
10
63
null
2023-08-10T14:08:04
2015-07-28T07:36:50
Python
UTF-8
Python
false
false
23,143
py
# nuisances #nuisances = {} # name of samples here must match keys in samples.py # imported from samples.py: # samples, treeBaseDir, mcProduction, mcSteps # imported from cuts.py # cuts from LatinoAnalysis.Tools.commonTools import getSampleFiles, getBaseW, addSampleWeight def nanoGetSampleFiles(inputDir, Sample):...
[ "davide.di.croce@cern.ch" ]
davide.di.croce@cern.ch
df8a4fac6d83dcab78c2012432601edf8f3d38d6
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2652486_1/Python/jbctaka/C.py
b97685a844cb75e90fa347aafdfa94b237009f6b
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
936
py
#!python # -*- coding: utf-8 -*- import sys sys.stdin.readline() (R, N, M, K) = [int(x) for x in sys.stdin.readline().split()] print "Case #1:" for index in range(R): P = [int(x) for x in sys.stdin.readline().split()] counts_max = [0] * (M + 1) for p in P: counts = [0] * (M + 1) for n in range(...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
e4d3c03f33c61f5e96f90a36c71fe1997836ddfb
e43ff8f429a6938a4f16edc4b2c94976acbff157
/ABC/ABC 183/a.py
31ac01a879e260873b519b904cdbe59e9fdf3a7f
[]
no_license
Soule50431/AtCoder
4fcd6ab6b771d55c90dc62aedd75eb81fd067466
118ac5d03630ce143fb50153402eee38e988ae0c
refs/heads/master
2023-06-18T13:07:13.843361
2021-07-14T01:56:20
2021-07-14T01:56:20
357,827,698
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
x = int(input()) print(max(x, 0))
[ "h.ekcero.el6no11@outlook.jp" ]
h.ekcero.el6no11@outlook.jp
ec0dc24b05ad8ad8899081858f5084af46411c26
f902bfafd93fe96515f5b12fa8630b365cf71ce9
/python/ht/nodes/styles/styles.py
34b5d1ae4ed36e2b89f7504c8f4f83338b5af8cf
[]
no_license
hickb/Houdini-Toolbox
69e999a924f387313382c254de2771d66c649f64
5309b2608f86b12aab8e90e754269ed2d2a44653
refs/heads/master
2022-06-18T23:08:45.481414
2020-05-06T19:25:02
2020-05-06T19:25:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,694
py
"""Classes representing color entries and mappings.""" # ============================================================================= # IMPORTS # ============================================================================= # Standard Library Imports import re # ====================================================...
[ "captainhammy@gmail.com" ]
captainhammy@gmail.com
018327e4568a719d2186690e69fda16e8b0e06a5
431a1f738b1edfba7dad8d10a6b7520d51d917cb
/Samples/UserSamples/2017/jetFakes_Splits/Fakes1_Config.py
c8ded1249d244a1467e43ab1dbab1d107576699f
[]
no_license
aloeliger/DatacardCreator
5ce702e46fbb77e843b44d8fe088c2645a4a8f66
5c7e890276a5be079ed3b677a471c1dcadcba52d
refs/heads/master
2022-02-26T19:52:30.563747
2022-02-16T20:24:48
2022-02-16T20:24:48
215,602,523
0
1
null
null
null
null
UTF-8
Python
false
false
658
py
from Samples.SampleDefinition import Sample from Samples.Uncertainties.UserUncertainties.FakeFactorUncertainty import FakeFactorUncertainty from Samples.EventDefinition.UserEventDictionaries.MuTauEventDictionary import MuTauEventDictionary FakeSample = Sample() FakeSample.name = 'jetFakes' FakeSample.path = '/data/a...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
8ea3ef4564f48761d7d8ad388d422cdca738d513
f085af63a93cb12feca75a3d9e855c3373d2b78e
/Arrays/Arrays_buy_and_sell_stock_once.py
c014b55281ae23c05edd7f9d685046d307a8e64a
[]
no_license
zjxpirate/Daily-Upload-Python
9542f1a3491ac5c843bc80266523bc06c37be20e
d5efcfdaf7e632e1f0cb8b21c505c0c0a5325eb0
refs/heads/master
2020-04-03T08:10:55.667410
2019-06-27T01:15:36
2019-06-27T01:15:36
155,124,951
2
0
null
null
null
null
UTF-8
Python
false
false
430
py
list1 = [122, 110, 320, 550, 130, 600, 120, 160, 240] def buy_and_sell_stock_once(prices): min_price_so_far, max_profit = float('inf'), 0.0 for price in prices: max_profit_sell_today = price - min_price_so_far max_profit = max(max_profit, max_profit_sell_today) min_price_so_far = ...
[ "j_zhang21@u.pacific.edu" ]
j_zhang21@u.pacific.edu
e99f76a3e07cf85a97e13d57d5cd36013a8c6fab
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03496/s452031472.py
8b1566bf24775d280b74153c0fedf475999ad505
[]
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
477
py
N = int(input()) A = [int(_) for _ in input().split()] B = [abs(a) for a in A] absmaxv = -1 absmaxi = -1 for i, v in enumerate(B): if v > absmaxv: absmaxi, absmaxv = i, v print(2 * N) if A[absmaxi] > 0: print(absmaxi + 1, 1) print(absmaxi + 1, 1) for i in range(1, N): print(i, i + 1) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a55ceee6a5947916423ac59161b9d3245848c0c0
e7b7505c084e2c2608cbda472bc193d4a0153248
/LeetcodeNew/python2/LC_1338.py
056aab20c7d5c529de621afee054bae9c6a09211
[]
no_license
Taoge123/OptimizedLeetcode
8e5c1cd07904dfce1248bc3e3f960d2f48057a5d
3e50f6a936b98ad75c47d7c1719e69163c648235
refs/heads/master
2023-02-27T21:13:40.450089
2023-02-07T04:11:09
2023-02-07T04:11:09
170,044,224
9
3
null
null
null
null
UTF-8
Python
false
false
331
py
import collections class Solution: def minSetSize(self, arr) -> int: count = collections.Counter(arr) n = len(arr) res = 0 for i, freq in enumerate(sorted(count.values(), reverse=True)): res += freq if res >= n // 2: return i + 1 retur...
[ "taocheng984@gmail.com" ]
taocheng984@gmail.com
d180b1611e42faf797618f9b1b63d89ea8ed13c5
d1bea9ecf5483e5936a55e256bb30894c46725cd
/pyexcel/book.py
fc3ee7bc3adfeb02c1d8e994095b552da9cb2d70
[ "BSD-3-Clause" ]
permissive
bdeeney/pyexcel
5681869adb5a924a572485b6371dcd0238c5b892
20f3d6b60b251971fad5e4364ef2d895961932fb
refs/heads/master
2020-12-03T05:33:19.124687
2017-02-20T23:53:44
2017-02-20T23:53:44
38,444,296
0
0
null
2015-07-02T16:35:58
2015-07-02T16:35:57
null
UTF-8
Python
false
false
10,557
py
""" pyexcel.book ~~~~~~~~~~~~~~~~~~~ Excel book :copyright: (c) 2014-2017 by Onni Software Ltd. :license: New BSD License, see LICENSE for more details """ import sys from pyexcel.sheets import Sheet import pyexcel._compact as compact from pyexcel.sources import BookMeta, save_book, StreamAttribut...
[ "wangc_2011@hotmail.com" ]
wangc_2011@hotmail.com
58f19a5bc0bac8f15b474a2498fb245f8c95d24a
dd4f097e7f350a1a42de1f0e5faec8439cffc603
/week 7/OnlineShop/OnlineShop/urls.py
fde56b150b2a7e61477367f5a23e1f09c8055072
[]
no_license
maymashd/BFDjango
0f4a30b05061ac4f3beac411a80cc0b41e532d9a
a462101889522caed8a6795f7322b6062e265244
refs/heads/master
2022-12-15T00:40:37.510789
2020-04-19T15:51:35
2020-04-19T15:51:35
234,296,298
0
0
null
2022-12-08T05:31:54
2020-01-16T10:35:50
Python
UTF-8
Python
false
false
255
py
from django.contrib import admin from django.urls import path, include from rest_framework_jwt.views import obtain_jwt_token urlpatterns = [ path('admin/', admin.site.urls), path('login/', obtain_jwt_token), path('',include("main.urls")), ]
[ "maymashd@mail.ru" ]
maymashd@mail.ru
83cae22cf15ddfc85a030c04561661a2703c7752
786de89be635eb21295070a6a3452f3a7fe6712c
/CorAna/tags/V00-00-13/src/PlotImgSpeWidget.py
66fd265ca38f731c4c5282fedaaa95614b5be5cf
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,690
py
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # Module PlotImgSpeWidget... # #------------------------------------------------------------------------ """Plots image and spectrum for 2d numpy array. This software was developed for...
[ "dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
897a4263030e308dbf73eb3877444a0e91a3682d
9936666e04e9036491eb841c0a173f808246788f
/rlextra/radxml/tt2xml.py
e2b2bdd4f4de7dc98fa01baea6a3460719c53d09
[]
no_license
Xhiffer/Lama-projet-l2
c53527ef64c5ff0aa036e85422613cda9d173033
4521369f923f458cc95a3d567c17d47dd41391c9
refs/heads/master
2020-03-31T17:30:34.389624
2019-01-06T15:25:09
2019-01-06T15:25:09
152,425,686
1
0
null
null
null
null
UTF-8
Python
false
false
1,765
py
#copyright ReportLab Inc. 2000-2016 #see license.txt for license details __version__='3.3.0' __all__=('tt2xml',) from xml.sax.saxutils import escape, quoteattr from reportlab.lib.utils import isBytes, isUnicode, isStr def tt2xml(tt): '''convert tuple tree form to unicode xml''' if tt is None: return '' if i...
[ "matthew.iqbal@u-psud.fr" ]
matthew.iqbal@u-psud.fr
4e0bbd3df55d1abd292cb5bd3755aa6f8b9f037f
c4fd46deb031983501c26c980e77cb859f20ad5c
/IPython/config/profile/ipython_config_pysh.py
ba20354c368f5825efb6bc183742eb7f2709204d
[ "BSD-3-Clause" ]
permissive
omazapa/ipython
74cd2fdc3e2d8a74d8c6821794dac457fda483b9
1cf44de3833929a4cf9e0069e8c75ef9086eeaca
refs/heads/master
2021-01-17T09:27:18.511150
2010-12-08T23:03:24
2010-12-08T23:06:21
664,018
3
0
null
null
null
null
UTF-8
Python
false
false
882
py
c = get_config() # This can be used at any point in a config file to load a sub config # and merge it into the current one. load_subconfig('ipython_config.py') c.InteractiveShell.prompt_in1 = '\C_LightGreen\u@\h\C_LightBlue[\C_LightCyan\Y1\C_LightBlue]\C_Green|\#> ' c.InteractiveShell.prompt_in2 = '\C_Green|\C_LightG...
[ "ellisonbg@gmail.com" ]
ellisonbg@gmail.com
95e772fd69eb1331a933ef540ac73b23bb379058
b9ae588992a499b52b65a765aa4910f64e142b23
/mydemos/devops/__init__.py
7097288c25997f6a2506c12f58f4cbe82aeb8f9a
[]
no_license
TesterCC/helloflasky
5075e1b2702eeee9b13da4d9c852c4f04b85f8dc
23c594e5d339864467bc67e59010ec48d2cae26d
refs/heads/master
2022-12-14T12:05:45.099676
2021-01-06T03:44:55
2021-01-06T03:44:55
156,819,542
1
0
null
2022-12-08T01:46:11
2018-11-09T06:24:30
Python
UTF-8
Python
false
false
93
py
#!/usr/bin/env python # -*- coding:utf-8 -*- __author__ = 'MFC' __time__ = '2019-01-09 11:41'
[ "testerlyx@foxmail.com" ]
testerlyx@foxmail.com
94b279499154889b3783dcb07efc7e55c2e24d05
ec00584ab288267a7cf46c5cd4f76bbec1c70a6b
/offline/__Digital_Twin/Iotic_Labs/py-application-examples-master/agent_tutorial_code/getting_started/3.3_connect_thing_following.py
1782bfe4b12ee64ec0e5f07f5f88a905e0e2dfc1
[ "Apache-2.0" ]
permissive
rahuldbhadange/Python
b4cc806ff23953389c9507f43d817b3815260e19
7e162117f1acc12537c7eeb36d6983d804122ff3
refs/heads/master
2021-06-23T05:04:20.053777
2020-01-28T10:34:28
2020-01-28T10:34:28
217,307,612
0
0
null
2021-06-10T22:44:11
2019-10-24T13:35:42
Python
UTF-8
Python
false
false
5,503
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2016 Iotic Labs Ltd # # 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 # # https://github.com/Iotic-Labs/py-application-examples/...
[ "46024570+rahuldbhadange@users.noreply.github.com" ]
46024570+rahuldbhadange@users.noreply.github.com
90d0d2c5885749e4e19c566fb0b4d522339b9367
b8fe1fbe36bff3f05cceecbe9811699ba1fb6765
/python_processThreading/threading/threading_setDaemon.py
2702289f42c35907df0d57bffedeff9c4d174de6
[]
no_license
xiaotiankeyi/PythonBase
c2edfeac9fe8d116a68725a784bcb183b1308af9
8f1377eb03135e8ee9c047f6e7762a0d69601ca1
refs/heads/master
2023-03-16T19:43:45.589440
2023-03-13T06:05:53
2023-03-13T06:05:53
219,412,971
0
0
null
2022-02-27T18:57:30
2019-11-04T03:51:29
JavaScript
UTF-8
Python
false
false
978
py
"""关于setDaemon(守护线程) 需求:主线程完成了,子线程不管你完成没完成也结束,所以子线程要设置为守护线程 """ import threading from time import ctime, sleep def ListenMusic(name): print("Begin listening to %s. %s" % (name, ctime())) sleep(3) print("end listening %s" % ctime(), "结束") def RecordBlog(title): print("Begin recording the %s! %s" % (t...
[ "laizhitian163@163.com" ]
laizhitian163@163.com
133828c128c2be4a5d76e6cb74f70bc0082818dc
af45eaf1e992e4b426f5cfcd04e96d828cbd4f1d
/cudeform/cudeformpy/setup.py
2686b4f28586ecd73665070b39e69506a40d9a9d
[]
no_license
adler-j/cudeform
9b6f95bfe5d7681929aa11b68dbdeffdca8136a5
0f5264f04401da62f8d44c6cd90a17e76e7c1e1f
refs/heads/master
2016-08-12T07:58:34.724375
2016-02-17T13:03:54
2016-02-17T13:03:54
51,922,350
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
from future import standard_library standard_library.install_aliases() from distutils.core import setup setup(name='cudeformpy', version='0.0.0', author='Jonas Adler', author_email='jonasadl@kth.se', url='https://github.com/adler-j/cudeform', description='Python bindings for the cudeform...
[ "jonasadl@kth.se" ]
jonasadl@kth.se
e45907430774d35fef871ee88f9cd74f9bf44750
abc72a2f2072ab7a5a338e41d81c354324943b09
/MC 102 (Exemplos de aula)/10 - Eficiência de algoritmos/busca_binaria.py
ee37fa8ae8a7c9d93b8484bc013d433524cb742c
[]
no_license
gigennari/mc102
a3d39fd9a942c97ef477a9b59d7955f4269b202a
fce680d5188a8dfb0bc1832d6f430cbcaf68ef55
refs/heads/master
2023-04-05T01:40:58.839889
2020-07-27T20:33:56
2020-07-27T20:33:56
354,130,720
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
""" Usado para lista ordenadas; conjutos Mas basta coonhecermos os limitates inf e sup da estrutura É mais eficiente que a busca sequencial """ def busca_binaria(lista, valor_procurado): """ Busca um valor em uma lista, avaliando sempre a metade de um intervalo. Toda vez que atualizamos um limintante, descart...
[ "g198010@dac.unicamp.br" ]
g198010@dac.unicamp.br
8665cdccb47d98d9d9145cb46186f361b23b44df
941403731d543182703d5f81589cd4454acf557f
/notebooks/4. purity subclonal/run_notebooks.py
2392afffd7d0a58a5c8c77b2ff8ac05c48dd9145
[]
no_license
bardin-lab/somatic-transposition-fly-intestine
445c7da52413162fba44878a0a646c77c3566397
ddeaac5ba2c44a9246e28a780b2ab2b7f22944b3
refs/heads/master
2023-01-22T03:28:10.755219
2020-12-07T09:29:53
2020-12-07T09:29:53
276,682,679
2
0
null
null
null
null
UTF-8
Python
false
false
662
py
import papermill as pm gff_files = [ '0.5.21.filtered_calls_delta_guts.gff', '0.5.21.filtered_calls_prosgfp_guts.gff', ] DELETION_READ_RATIOS = [ 'delta_purity_estimates_deletion.tab', 'pros_purity_estimates_deletion.tab', ] INSERTION_SET = ['Delta guts', 'ProsGFP guts'] for gff_file, insertion_set,...
[ "m.vandenbeek@gmail.com" ]
m.vandenbeek@gmail.com
12ae31e1cfbe674cfe83124c4fbba5c9061f4080
f3b5c4a5ce869dee94c3dfa8d110bab1b4be698b
/controller/src/config/utils/provision_physical_device.py
6f19fb4ae0e2534d69793e81947366566f1381aa
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
pan2za/ctrl
8f808fb4da117fce346ff3d54f80b4e3d6b86b52
1d49df03ec4577b014b7d7ef2557d76e795f6a1c
refs/heads/master
2021-01-22T23:16:48.002959
2015-06-17T06:13:36
2015-06-17T06:13:36
37,454,161
2
0
null
null
null
null
UTF-8
Python
false
false
7,877
py
#!/usr/bin/python # # Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. # import sys import time import argparse import ConfigParser from vnc_api.vnc_api import * from cfgm_common.exceptions import * class VrouterProvisioner(object): def __init__(self, args_str=None): self._args = None ...
[ "pan2za@live.com" ]
pan2za@live.com
46fbf4de63cd28c0c6beca53dabda0bbb5fee322
6518c74441a68fc99b2b08423b5ea11480806499
/examples/shap/binary_classification.py
7cf78dabb2e0b988d576b64038ebce777d56e261
[ "Apache-2.0" ]
permissive
criteo-forks/mlflow
da58e64d09700623810da63999a1aca81b435b90
499284d8dc9e9ec79d8d9dbd03c58d162a2b7eaa
refs/heads/master
2023-04-14T17:59:29.997458
2022-01-11T09:50:26
2022-01-11T09:50:26
191,391,769
5
4
Apache-2.0
2023-04-07T15:16:20
2019-06-11T14:44:00
Python
UTF-8
Python
false
false
1,052
py
import os import numpy as np from sklearn.datasets import load_breast_cancer from sklearn.ensemble import RandomForestClassifier import shap import mlflow from utils import to_pandas_Xy # prepare training data X, y = to_pandas_Xy(load_breast_cancer()) X = X.iloc[:50, :8] y = y.iloc[:50] # train a model model = Ran...
[ "noreply@github.com" ]
criteo-forks.noreply@github.com
096e19cf177328f8de7c74ba89c84e2a3325b75c
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/activity/activity_assets/tests/test__put_image_large_into.py
9eaf533e30b7069d35e71b3795a2b8e9c1ab244d
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
423
py
import vampytest from ..fields import put_image_large_into def test__put_image_large_into(): """ Tests whether ``put_image_large_into`` is working as intended. """ for input_value, defaults, expected_output in ( (None, False, {}), ('a', False, {'large_image': 'a'}), ): dat...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
fca16ce15c5dc3c586f38a918caad2c4413a58de
700ab97f790003c81d88ecc55498364effdb9cc1
/test_io.py
a13521ebe1bebca9fd36e8890f7588af19e77eba
[ "MIT" ]
permissive
p-p-m/eye
6a3aee3f42020dc696eb5611271701b0f17121b2
ce48a30913052472eff91830356ccf476e2f0f25
refs/heads/master
2021-01-22T08:29:09.703316
2017-05-27T19:47:31
2017-05-27T19:47:31
92,620,364
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
import asyncio @asyncio.coroutine def my_coroutine(task_name, seconds_to_sleep=3): print('{0} sleeping for: {1} seconds'.format(task_name, seconds_to_sleep)) yield from asyncio.sleep(seconds_to_sleep) print('{0} is finished'.format(task_name)) loop = asyncio.get_event_loop() tasks = [ my_coroutine('...
[ "marchukpavelp@gmail.com" ]
marchukpavelp@gmail.com
2f9bf4435f6e21406dd503c7de4e5993d1aac3d7
8cc72f1e6a0162e37e2a093916b100db5dcf2997
/csf_tz/csf_tz/report/accounts_receivable_summary_multi_currency/accounts_receivable_summary_multi_currency.py
bdf9091858b6a0553cd29e78d0cbdee52da48a22
[ "MIT" ]
permissive
questerp/CSF_TZ
c6f9b8fa2022e833ccf4c267c7d088d9647cb6da
38127a5f2d2127b54b29194b2f082f39012d9424
refs/heads/master
2023-07-12T07:05:03.498285
2021-08-20T07:30:35
2021-08-20T07:30:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,908
py
# Copyright (c) 2013, Aakvatech and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe import _, scrub from frappe.utils import flt from erpnext.accounts.party import get_partywise_advanced_payment_amount from csf_tz.csf_tz.report.accounts_r...
[ "info@aakvatech.com" ]
info@aakvatech.com
e5d11bcdc6b50f7e824da9b44fcbf23070b5c67f
89f3169a2393bff8880f657d9bb4c12b40729e9a
/2021-06/abc060_b.py
fa9bcf4d9dadc1d8e0e78b9a42157fe9677eeefa
[]
no_license
YutaGoto/daily_atcoder
c087adbb7fa03f0cdc4291c806f21b1b93130d86
113d4e25f1d3bb0e665f9154bc0afaecae5ea7bf
refs/heads/main
2023-06-19T00:56:12.359473
2021-07-16T12:33:06
2021-07-16T12:33:06
273,282,766
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
a, b, c = map(int,input().split()) t = a while t < 10000: if t % b == c: print("YES") exit() t += a print("NO")
[ "you.goto.510@gmail.com" ]
you.goto.510@gmail.com
7ee9b44415d7791e7ed755e55619507f19ae3164
0a98fae9bef3dbaa8fcb00edd7ac5f163b7aa633
/maze.py
29f095ca0ac2d075c57dcca2d38501c0d94787e3
[]
no_license
acollier88/maze_test
79255b6a7592f859b4b016b003d5e42ff31c6bab
74139a2ad465c4b961e669e2178ee2f50cef3a8b
refs/heads/master
2021-01-19T04:11:25.720019
2017-04-06T05:43:43
2017-04-06T05:43:43
87,356,382
0
0
null
null
null
null
UTF-8
Python
false
false
2,942
py
class Maze(object): def __init__(self, width, height, grid_data, definitions=None): self.width = width self.height = height self.grid_data = grid_data if definitions is not None: self.data_enum = definitions else: self.data_enum = { 1:...
[ "andrew@Andrews-MacBook-Pro.local" ]
andrew@Andrews-MacBook-Pro.local
665ac4c419ef14e0b2e01bbfbf987989c3eeb8ac
d0bdf444c71b724ecfd59b5bc6850962c56494cb
/homeworks/02-arrays_tables/tests/q4_3.py
46a582703b8f14e59cb0fde6db42d6a6b34fa0ff
[]
no_license
ucsd-ets/dsc10-su20-public
10e3d0ff452b337f222baee330fe60d1465b0071
38787e6cc3e6210b4cc8a46350e5120845971c9f
refs/heads/master
2022-12-13T23:28:20.512649
2020-09-03T19:28:06
2020-09-03T19:28:06
275,905,339
0
1
null
null
null
null
UTF-8
Python
false
false
435
py
test = { 'name': 'Question 4_2', 'hidden': False, 'points': 1, 'suites': [ { 'cases': [ { 'code': r""" >>> import numbers >>> isinstance(second_deadliest_year, numbers.Integral) True """, 'hidden': False, 'locked': False ...
[ "eldridgejm@gmail.com" ]
eldridgejm@gmail.com
8c16896ccd71ce0bcd6e74b7d1e54934fbfa4257
b4eee586bc9cc398dcd445ecc2583c494550813b
/packages/merganser_line_detector/include/merganser_line_detector/__init__.py
a627f45c6d32e8896c2c2d568613511fae1fd3d6
[]
no_license
bdura/merganser
e662953eb9920a2890e85a401091456202927f09
90b0646016439ff065937c30e964d68879a95490
refs/heads/daffy
2020-09-04T00:03:52.819738
2019-12-04T02:07:22
2019-12-04T02:07:22
219,611,462
0
1
null
2019-12-03T18:23:54
2019-11-04T22:49:08
Jupyter Notebook
UTF-8
Python
false
false
43
py
from .line_detector import LineDetectorHSV
[ "tristan.deleu@gmail.com" ]
tristan.deleu@gmail.com
b70bdc5fcc5e57880db3fcc6855b3233d73f001f
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_Anscombe/model_control_one_enabled_Anscombe_Lag1Trend_Seasonal_Second_LSTM.py
c525513ed3118885e239452f4e29256aa06af73a
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
163
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Anscombe'] , ['Lag1Trend'] , ['Seasonal_Second'] , ['LSTM'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
34d600e0366ff4ae3592b5761c7ffca27145b963
7704dfa69e81c8a2f22b4bdd2b41a1bdad86ac4a
/fuel_agent/fuel_agent/objects/partition.py
c1132364a2137e43a7b53c36f9d1e81155c97bee
[ "Apache-2.0" ]
permissive
andrei4ka/fuel-web-redhat
8614af4567d2617a8420869c068d6b1f33ddf30c
01609fcbbae5cefcd015b6d7a0dbb181e9011c14
refs/heads/master
2022-10-16T01:53:59.889901
2015-01-23T11:00:22
2015-01-23T11:00:22
29,728,913
0
0
Apache-2.0
2022-09-16T17:48:26
2015-01-23T10:56:45
Python
UTF-8
Python
false
false
11,745
py
# Copyright 2014 Mirantis, 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 agreed to in writing...
[ "akirilochkin@mirantis.com" ]
akirilochkin@mirantis.com
8e6ea1c88b5bcbde4779fea425f0fd4495833b1d
41675d6e771bb3761ab50453e2b729842465ea37
/src/cutadapt/report.py
eb557b35726f1e37f34b4ec9a343d60258208aa5
[ "MIT" ]
permissive
maashroom/cutadapt
6515f293a34b1b6dd790e95ff3a817e44dddb249
5a18a341b3c5b345e9cce3743318034064d3335b
refs/heads/main
2023-04-11T14:07:22.688192
2021-04-20T13:07:47
2021-04-20T13:07:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,757
py
""" Routines for printing a report. """ import sys from io import StringIO import textwrap from collections import Counter from typing import Any, Optional, List, Dict from .adapters import ( EndStatistics, AdapterStatistics, FrontAdapter, NonInternalFrontAdapter, PrefixAdapter, BackAdapter, NonInternalBackAdap...
[ "marcel.martin@scilifelab.se" ]
marcel.martin@scilifelab.se
ea63bc24a209dfe4c40231d80ac2be522b9166ad
2f0cb310e2ec8fb176ee240aa964a7eef5ed23b4
/giico/quality_control_and_material_testing/doctype/soundness_loss/soundness_loss.py
564748565d11e219d5c68768bad8c5130bc415ee
[ "MIT" ]
permissive
thispl/giico
b96cf6b707f361275f8723d15f8ea1f95f908c9c
14c5631639ab56a586a7962be9871d722c20e205
refs/heads/master
2021-06-18T03:56:02.928303
2021-04-27T06:42:59
2021-04-27T06:42:59
200,183,753
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
# -*- coding: utf-8 -*- # Copyright (c) 2021, VHRS and contributors # For license information, please see license.txt from __future__ import unicode_literals # import frappe from frappe.model.document import Document class SoundnessLoss(Document): pass
[ "hereabdulla@gmail.com" ]
hereabdulla@gmail.com