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
6a006eef04f3fcb2a7a7c9fe83bf75253e51710d
23255bee10b758d10e403b5a05fa6b16f95d9760
/experiments/cem_exp/benchmarks/comp_ag_vid_mpc_b200_iter5/mod_hyper.py
b0967b58777374ddc20ac441502eeb314f9855c7
[]
no_license
yilundu/visual_mpc
454e5c1cc80a7f3c6a272a65bca8057176c280ab
357ba4df88dc5ab07ddb67a6cab260fc24a43a01
refs/heads/master
2022-01-12T02:00:23.606406
2017-09-22T22:23:41
2017-09-22T22:23:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
current_dir = '/'.join(str.split(__file__, '/')[:-1]) from python_visual_mpc.visual_mpc_core.algorithm.cem_controller import CEM_controller policy = { 'type' : CEM_controller, 'low_level_ctrl': None, 'usenet':'', 'nactions': 5, 'repeat': 3, 'initial_std': 7, 'iterations' : 5, 'netcon...
[ "frederik.ebert@mytum.de" ]
frederik.ebert@mytum.de
40223914df25833c33813e1542e387023446a6e3
bdadee64ca8c143a925ec84736e3966ef0183bce
/pvpython/dimensioned_slice/T_mean_slice_x_labels.py
cb222278ef4da1a4aa7a763666a207bec0602fce
[]
no_license
snow-stone/python
fcb69950f5984d654f555ca591583c0a0763bef4
0e79a0fb265a22a409309b1c0f992f00ef588f95
refs/heads/master
2020-03-11T10:51:53.268373
2019-10-18T14:24:45
2019-10-18T14:24:45
129,953,986
1
0
null
null
null
null
UTF-8
Python
false
false
36,007
py
# trace generated using paraview version 5.6.0-RC2 # # To ensure correct image size when batch processing, please search # for and uncomment the line `# renderView*.ViewSize = [*,*]` #### import the simple module from the paraview from paraview.simple import * #### disable automatic camera reset on 'Show' paraview.si...
[ "haining.luo@doctorant.ec-lyon.fr" ]
haining.luo@doctorant.ec-lyon.fr
c9648af216493191e2554de3f67d026a357bcf50
f8b3425615edd3e8605c98b5ef33fa9c3f5e409d
/robotics/ekf_slam_and_pf_localization/code/pf/RunPF.py
d1b3ea3eb7dcf886c954fe463e25b9b58d3c610a
[ "MIT" ]
permissive
mtn/ml-toybox
6ac3259e3e20f3dc29e04ec38a573b63fc7b14d6
2cd2c447c15baa41e9626fa453c2fdc872e73cd6
refs/heads/master
2022-07-27T00:09:24.653166
2019-09-22T00:45:51
2019-09-22T00:45:51
96,947,263
0
0
MIT
2022-06-21T21:44:23
2017-07-12T00:06:21
Python
UTF-8
Python
false
false
1,377
py
import sys import os import numpy as np import pickle import matplotlib.pyplot as plt from PF import PF from Laser import Laser from Gridmap import Gridmap if __name__ == "__main__": # This function should be called with two arguments: # sys.argv[1]: Pickle file defining problem setup # sys.argv[2]...
[ "michaeltnoronha@gmail.com" ]
michaeltnoronha@gmail.com
e12442401615adf079ba7aef1b043c1a51856ce4
12f18662719d04d2404396b9059b60525528f557
/findsportsordermanagement-master/stockupdatefiles/CLIPPER_INTERNATIONAL_STOCKUPDATE.py
b33cf064ae43e3ca24965014e2a569982e79dc1b
[]
no_license
ujjalgoswami/ordermanagementcustomdashboard
0bf4a5770d1913b257a43858d778e630e671a342
acd18510b0934601d30bd717ea4b3fbb61ecfb5c
refs/heads/master
2021-02-04T10:04:27.380674
2020-02-28T01:37:35
2020-02-28T01:37:35
243,653,613
0
0
null
null
null
null
UTF-8
Python
false
false
7,341
py
#!/usr/bin/env python # coding: utf-8 # In[6]: import CONFIG_STOCKUPDATE as config_stockudpate import pandas as pd import datetime import glob import csv import json import requests import boto3 import time import datetime from selenium import webdriver import re import json from selenium.webdriver.common.keys import...
[ "ujjalgoswami92@gmail.com" ]
ujjalgoswami92@gmail.com
8ea7ba4b50baf9db7247cbcc1d520a136f107976
730103ddecd23142238defe2a2b1ab3c582cdc45
/onnx2tf/ops/Pad.py
60bc895f4682a342363fde9c02fc97f58bc9edbd
[ "Apache-2.0", "MIT" ]
permissive
PINTO0309/onnx2tf
dcfb0fd8a4810ef1262aa565ba42b5124012bdb2
b0e7d106cc69c0ea0fd464c4dd9064a5b0d6668b
refs/heads/main
2023-08-30T23:28:56.386741
2023-08-29T01:48:40
2023-08-29T01:48:40
541,831,874
345
45
MIT
2023-09-14T16:53:12
2022-09-27T00:06:32
Python
UTF-8
Python
false
false
9,619
py
import sys import copy import random random.seed(0) import numpy as np np.random.seed(0) import tensorflow as tf import onnx_graphsurgeon as gs from onnx2tf.utils.common_functions import ( get_constant_or_variable, print_node_info, inverted_operation_enable_disable, make_tf_node_info, get_replacemen...
[ "rmsdh122@yahoo.co.jp" ]
rmsdh122@yahoo.co.jp
f20b3abc3dbbe14743db601ca2957d582ed015d3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_luck.py
9745937b7fd42225bb1260a117eb619015d17fd7
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
#calss header class _LUCK(): def __init__(self,): self.name = "LUCK" self.definitions = [u'the force that causes things, especially good things, to happen to you by chance and not as a result of your own efforts or abilities: ', u'success: '] self.parents = [] self.childen = [] self.properties = [] sel...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
005019f629299d7f18b45e2cd5ff1ec61e37b3e4
26b9dcad0ad93cb81d1fae1775e235b6e379404c
/src/enamlnative/widgets/picker.py
5bc36204568c23decbd627063f18798c58551f09
[ "MIT" ]
permissive
nmilosev/enaml-native
d278c17142fbd70009c73aed7c00d0041693a422
a05938b0ab356a7e3fc233e9ca127e6772dbed5d
refs/heads/master
2020-03-07T12:34:45.688001
2018-03-26T13:35:22
2018-03-26T13:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,298
py
""" Copyright (c) 2017, Jairus Martin. Distributed under the terms of the MIT License. The full license is in the file LICENSE, distributed with this software. Created on July 6, 2017 @author: jrm """ from atom.api import ( Typed, ForwardTyped, List, Int, Bool, observe ) from enaml.core.declarative import d_ ...
[ "frmdstryr@gmail.com" ]
frmdstryr@gmail.com
8da39b230616b09c5dbe36689c782ed37a611b38
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/raw/GLES2/IMG/program_binary.py
592bc7b6cc4e1225f9b1ba4110077207d9c88432
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
581
py
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GLES2 import _types as _cs # End users want this... from OpenGL.raw.GLES2._types import * from OpenGL.raw.GLES2 import _errors from OpenGL.constant import Constant as _C import...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
a05288c1d0d8dfc1200009b69d9bc77e2a13eab2
181af10fcf40b824fe92d3b8f72fd15d6d1490c2
/Contests/201-300/week 296/2294. Partition Array Such That Maximum Difference Is K/Partition Array Such That Maximum Difference Is K.py
15572ac76423e6ade895d1d5001151b3cb8c3d19
[]
no_license
wangyendt/LeetCode
402c59a0b7b7f5b3a672231ea5dad8056ade36af
4a3ba15284c45b2d8bf38306c8c8526ae174615c
refs/heads/master
2023-08-10T06:27:54.995152
2023-08-10T02:22:27
2023-08-10T02:22:27
176,651,399
6
0
null
null
null
null
UTF-8
Python
false
false
702
py
#!/usr/bin/env python # -*- coding:utf-8 _*- """ @author: wangye(Wayne) @license: Apache Licence @file: Partition Array Such That Maximum Difference Is K.py @time: 2022/06/05 @contact: wang121ye@hotmail.com @site: @software: PyCharm # code is far away from bugs. """ from typing import * class Solution: ...
[ "905317742@qq.com" ]
905317742@qq.com
3b99b2c94dbbcfb950a59c0c158228926eb381e8
bc8a0e87417add0325c9124ee847efaf88d2daa1
/PycharmProjects/hello/server.py
2cac613f5b833ec4897dcb64137c6479b40c7042
[]
no_license
Ivanlasich/python
f0034426ea91d956d4d47a0a41e099785a6ddf1a
d8ed501537581f01d07733bd81911d0f523d7bfc
refs/heads/master
2022-12-12T21:06:46.473608
2019-12-08T19:03:41
2019-12-08T19:03:41
226,704,894
0
0
null
2022-12-08T02:40:00
2019-12-08T17:28:07
Python
UTF-8
Python
false
false
2,702
py
import asyncio class ClientError(Exception): pass class ClientServerProtocol(asyncio.Protocol): list = {} def __init__(self): pass def connection_made(self, transport): self.transport = transport def data_received(self, data): message = data.decode() lst = messa...
[ "ivanlazichny@gmail.com" ]
ivanlazichny@gmail.com
f4902a0a78c9a346e5d8c252e83243c00a11614d
cc08f8eb47ef92839ba1cc0d04a7f6be6c06bd45
/projects/computer-apps/py-qt/executable-file/venv/bin/easy_install-3.7
6878a43b5b004d6c009256c545228da67d0bfd39
[]
no_license
ProsenjitKumar/PycharmProjects
d90d0e7c2f4adc84e861c12a3fcb9174f15cde17
285692394581441ce7b706afa3b7af9e995f1c55
refs/heads/master
2022-12-13T01:09:55.408985
2019-05-08T02:21:47
2019-05-08T02:21:47
181,052,978
1
1
null
2022-12-08T02:31:17
2019-04-12T17:21:59
null
UTF-8
Python
false
false
312
7
#!/home/prosenjit/PycharmProjects/projects/computer-apps/py-qt/executable-file/venv/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "prosenjitearnkuar@gmail.com" ]
prosenjitearnkuar@gmail.com
7e7fc009b3f430d6372cbeb37b45343695dfa677
e3293ed8e14a31bfae9156a9ef2839e6c221710b
/request_scripts/hwmon_amb_temperature_get.py
e67d926d26eb759c0d55f7126b58349bb95bcc3a
[ "MIT" ]
permissive
Boris0105/go_hwmon
ac9438a03d9d13f42e7f93e186358bf6cf126111
30044eddfd057ad49ebe75e5c2d0cf4f023a8966
refs/heads/master
2020-08-29T08:53:07.648574
2019-11-07T05:59:18
2019-11-07T05:59:18
217,986,540
0
0
null
2019-10-28T07:11:28
2019-10-28T07:11:28
null
UTF-8
Python
false
false
665
py
#!/usr/bin/python2.7 import sys import utils def request_list(hostname, out_format): entity = utils.ENTITY_AMB instant = 1 json = '{"entity":%d, "instant":%d}' % (entity, instant) url='http://%s/api/v1/hwmon/get/device/maxtemp' % hostname utils.response_output(out_format, utils.http_request(url, ...
[ "yuanyu.lin@gmail.com" ]
yuanyu.lin@gmail.com
ca65e165fba82ccd5bc020f1ea18045447718a37
eb629018776df5e1ed6fc8d0238ab782100a8a4d
/exercises/squat.py
28bc2c04c5419b04789b1b60227f37ce12b51089
[]
no_license
JSlaatsICAP/iCapturDebugger
c535e02ce784471ba95a811ac3b086a10a6530ec
aea87733b0b51e3d476e6b9a600452c2d7f45bde
refs/heads/main
2023-03-22T19:30:47.334618
2021-03-08T08:07:52
2021-03-08T08:07:52
344,814,298
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
from .functions import detectRaw from .functions import validate def detect(data): splitData = {} parameters = {'axisDet':'roll', 'peakTypeDet':'inverted', 'prominence':15, 'peakTypeStart' : 'positive', 'peakNrStart': 1, ...
[ "you@example.com" ]
you@example.com
c71a7afb49eae09710519174463372eaba384e65
51e75ad802507c4f15b85a3156b4eb6dcdcab811
/dashapp/util/show_docs.py
60022050b0aa00e3879b33ef05e48b8bab376a41
[]
no_license
FriendlyUser/finance-dashboard
548dcfca6a5fe1ee06307f0b44474e2807afe238
51fd6bef75f40e519476b8175e5b4fef2b5022bf
refs/heads/master
2020-07-22T12:43:05.821823
2019-11-14T03:01:30
2019-11-14T03:01:30
207,206,169
1
0
null
null
null
null
UTF-8
Python
false
false
422
py
from flask import Blueprint, send_from_directory docs = Blueprint('docs', __name__) @docs.route('/docs/<path:path>') def show_docs(path): try: return send_from_directory('docs', path) except Exception as e: if path.endswith("/"): print(e) return send_from_directory('docs'...
[ "davidli012345@gmail.com" ]
davidli012345@gmail.com
8821278e56929f27abf7d321fda5ddd9a47d05ea
0f6aa43822ff1f1d2eb06e8472747ad5171682c5
/FasterReID/optims/optimizers.py
4c8faed093712becf99882aea08d1ba591e799b5
[]
no_license
yu9s/ReID
c58ea22d0af8b48497100b21adaefc77328ae23c
6c5fd57d976172ba113f0542b17c9f89bb95989e
refs/heads/master
2023-03-31T17:36:13.273230
2021-04-12T02:02:06
2021-04-12T02:02:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,932
py
# -*- coding: utf-8 -*- # @Author: solicucu import numpy as np import torch import torch.nn as nn from torch.optim import lr_scheduler def make_optimizer(cfg, model): # for some layer was frozen params = filter(lambda p: p.requires_grad, model.parameters()) if cfg.SOLVER.OPTIMIZER_NAME == "SGD": optimizer...
[ "2748847613@qq.com" ]
2748847613@qq.com
490360f6c7470e261e4b8eeea2c537805f8b0ab3
8130c34d546c323d6d5d2ca6b4a67330af08828f
/.history/menu_app/urls_20210104152008.py
5e43087aac7cdc398cfcd1254883c156d2b5d591
[]
no_license
lienusrob/final
ba2dad086fc97b21b537ef12df834dfadd222943
f2726e31f1d51450e4aed8c74021c33679957b28
refs/heads/master
2023-02-15T01:36:54.463034
2021-01-07T12:47:05
2021-01-07T12:47:05
327,279,792
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
# from project.account_app.views import HomeView from django.urls import path from . import views from .views import view_cart, add_to_cart, adjust_cart urlpatterns = [ #path('', views.menu_list_view(template_name = 'menu_app/menu_list.html'), name = 'menu_list'), #path('menu/', views.menu_list_view, name = 'menu_lis...
[ "lienus.rob@hotmail.de" ]
lienus.rob@hotmail.de
439c95e1f94a5a436fbce00ca6e77ed71c2879f1
c2f92d75d235ff5ed7b213c02c4a0657545ba02f
/newchama_web/2/newchama/recommond/migrations/0011_auto__del_field_recommonditem_status.py
890918ab71de18ca1f46a0416f25a7fb39a0fb21
[]
no_license
cash2one/tstpthon
fab6112691eb15a8a26bd168af3f179913e0c4e0
fc5c42c024065c7b42bea2b9de1e3874a794a30d
refs/heads/master
2021-01-20T01:52:06.519021
2017-04-14T09:50:55
2017-04-14T09:50:55
89,338,193
0
1
null
2017-04-25T08:46:06
2017-04-25T08:46:06
null
UTF-8
Python
false
false
39,902
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'RecommondItem.status' db.delete_column('recommond_score...
[ "yxlz_0910@163.com" ]
yxlz_0910@163.com
0296b01675457b899414db301dda3d110004a22b
894a61cfc4517c14ae28690666477ef004aa37a1
/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_foot_triangles_only_multiscale_square_smaller.py
5b601463aad839cce11b08f7ee66d8cf9306c05d
[ "Apache-2.0" ]
permissive
jireh-father/mmdetection_210507
6d3867204ec1c61b88968e0501a577095c756e28
857c78d2caef8842909cb46d870570b4dd176792
refs/heads/main
2023-07-15T22:32:16.699351
2021-08-22T04:04:16
2021-08-22T04:04:16
365,158,778
0
0
null
null
null
null
UTF-8
Python
false
false
2,012
py
_base_ = [ '../_base_/models/mask_rcnn_r50_fpn_class3.py', # '../_base_/datasets/coco_instance.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] # dataset settings dataset_type = 'FootTriangles' data_root = 'data/coco/foot_triangles/' img_norm_cfg = dict( mean=[123.675, 116.28...
[ "seoilgun@gmail.com" ]
seoilgun@gmail.com
85436bf37326a6f9f29ce0e296a57ff45fc1398b
45cabaa649825d533f487bb9074ec2e855571d2b
/Project_Euler/20_Factorial_digit_sum.py
5a94e5674b231eefb0b05244c57ac00d0c964fb6
[ "MIT" ]
permissive
atupal/oj
511cd1849e2488c48f1a0028c6a37e0a711f2f43
2c85a65c57a504bc47e95d2dd7fae62115442be1
refs/heads/master
2021-01-22T06:29:11.702813
2019-06-09T08:14:43
2019-06-09T08:14:43
21,880,941
3
1
null
null
null
null
UTF-8
Python
false
false
590
py
# -*- coding: utf-8 -*- """ n! means n × (n − 1) × ... × 3 × 2 × 1 For example, 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800, and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27. Find the sum of the digits in the number 100! """ #mmap = lambda f, l: [] if not l else [f(l[0])] + mmap(f, l[1:]) #...
[ "atupalykl@gmail.com" ]
atupalykl@gmail.com
4c616ad9c478c1d0c8567641985647579bedd464
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/playground/havan/programming/languages/python/psycopg2/actions.py
da87212b7e0a49b29fc07581734a8818fbcb2d75
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2008 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import pythonmodules from pisi.actionsapi import pisitools from pisi.actionsapi import get def...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
5523d87644b38c44cafb35ad057fd6014161be49
24b33a4a70223ce22e3583dc6d8196e22da5057d
/examples/vector/basic.py
cd2cd6137eb272a1a83957456c7e407876c8a611
[ "MIT" ]
permissive
will-hossack/Poptics
4b4fcd1c596d257835ba2e448a05b5904bfa20e5
4093876e158eb16421dfd4e57818210b11381429
refs/heads/master
2022-11-28T02:45:57.542189
2020-08-03T08:47:26
2020-08-03T08:47:26
265,811,818
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
""" Basic use of poptics.Vector3d Author: Will Hossack, The University of Edinburgh """ import poptics.tio as t import poptics.vector as v def main(): a = v.Vector3d(1.0,2.0,3.0) # Vector3d with three components specified. b = v.Vector3d([3.0,4.0,5.0]) # Vector3d with components as list c = a ...
[ "will.hossack@gmail.com" ]
will.hossack@gmail.com
bb8e98b01818ed9f9b9171861fad12941b9f7612
a35b24c8c3c5bdf861f3cda9396f2fa6795ec929
/abc/053/A.py
055d5653cf88bae2d3469cf19b81cd855d3b31c6
[]
no_license
Msksgm/atcoder_msksgm_practice
92a19e2d6c034d95e1cfaf963aff5739edb4ab6e
3ae2dcb7d235a480cdfdfcd6a079e183936979b4
refs/heads/master
2021-08-18T16:08:08.551718
2020-09-24T07:01:11
2020-09-24T07:01:11
224,743,360
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
def main(): x = int(input()) if x < 1200: ans = 'ABC' else: ans = 'ARC' print(ans) if __name__ == "__main__": main()
[ "4419517@ed.tus.ac.jp" ]
4419517@ed.tus.ac.jp
eeb425af4b93f13d4b4cc8298d86e6f8e6e5867e
2d59a479fe2c45b30d46d2c86ebb5a9414b112f5
/pyexlatex/logic/type_check.py
133d3cc733843cce8854435f767d7768a07cb80e
[ "MIT" ]
permissive
nickderobertis/py-ex-latex
24c8809784b9bdc8b74a05a57bb46cd05ec09945
66f5fadc35a0bfdce5f1ccb3c80dce8885b061b6
refs/heads/master
2023-01-07T03:25:11.640037
2021-11-10T13:42:50
2021-11-10T13:42:50
203,180,166
5
0
MIT
2022-12-26T21:51:20
2019-08-19T13:38:14
Python
UTF-8
Python
false
false
331
py
from typing import Sequence def item_is_in_allowed_type_strs(item, allowed_values: Sequence[str]) -> bool: is_allowed_attrs = [f'is_{value}' for value in allowed_values] for allowed_attr in is_allowed_attrs: if hasattr(item, allowed_attr) and getattr(item, allowed_attr): return True r...
[ "whoopnip@gmail.com" ]
whoopnip@gmail.com
bf9ff695dca4464e3242adeffdd890c9f8c853c1
af4eb8204923b5848fce3158c6f8a89a480ea1d8
/script/TTFF/BF_TTFF_static_130_L1L5_Cold_0001.py
813a07fc092e54d8a6fc35735d4b49983183c6d4
[]
no_license
wanghaoplus/gatog
4ab0c77d4f9eb93da136ad3933a68cbf0b5c5bca
8935e20a426638462cd1cc7bc048a16751287a2f
refs/heads/master
2022-04-10T21:36:20.395304
2020-03-26T10:09:28
2020-03-26T10:09:28
248,264,601
0
0
null
null
null
null
UTF-8
Python
false
false
2,749
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/03/07 12:00 # @Author : wanghao # @Site : # @File : BF_TTFF_static_130_L1L5_Cold_0001.py # @Software: Eclipse from aw.LbsTestCase import LbsTestCase #from autotest.core.logger.AutoLogManager import starttime class BF_TTFF_static_130_L1L5_Cold_000...
[ "418816179@qq.com" ]
418816179@qq.com
eb8815efd0e7e10f2ee5fcf38be1c3796f396776
1ad7fb96c4fc432c7a9b99fd68039febba1bc3f5
/project/docfile.py
13934e3e15ca7f177c9c721479acc8a93773d332
[]
no_license
tsiib/infosec_app
04750eb93384453ef64af53744d5a0221154537d
4d00979f2c5065718ae6f6f601ea78635cdf9b8f
refs/heads/master
2020-09-26T18:39:10.242540
2019-12-06T06:41:27
2019-12-06T06:41:27
226,315,700
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
from fpdf import FPDF class PDF(FPDF): def header(self): # Logo #self.image('Project/logo.jpg', 10, 8, 33) # Arial bold 15 self.set_font('Arial', 'B', 15) # Move to the right self.cell(80) # Title self.cell(80, 10, "The Multi-Web Application Scanner"...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
d6ffd774068cf707bd8c79ba4cc21b49ff86a0cc
b8cc6d34ad44bf5c28fcca9e0df01d9ebe0ee339
/GUI/event_eg.py
84db52f52f0aabc5493a686d25b1dbc907a933af
[]
no_license
python-yc/pycharm_script
ae0e72898ef44a9de47e7548170a030c0a752eb5
c8947849090c71e131df5dc32173ebe9754df951
refs/heads/master
2023-01-05T06:16:33.857668
2020-10-31T08:09:53
2020-10-31T08:09:53
296,778,670
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
# 事件简单的例子 import tkinter def baseLabel(event): global baseFrame lb = tkinter.Label(baseFrame,text="谢谢点击") lb.pack() # 画出程序的总框架 baseFrame = tkinter.Tk() lb = tkinter.Label(baseFrame,text="模拟按钮") # lable绑定相应的消息和处理函数 # 自动获取左键点击,并启动相应的处理函数,baseLable lb.bind("<Button-1>",baseLabel) lb.pack() #启动消息循环 #到此,表示程序...
[ "15655982512.com" ]
15655982512.com
6a43717b2995b74fb81e4abfdefd76c5566285e4
bf309f0b9cc49e2033a9f093d73c746bad45e6a0
/events/migrations/0006_auto_20160625_1523.py
b6714974434ed0bfe22eb8a57ccb1bb15d55f439
[]
no_license
OSDLabs/WavesWebsite2016
3757d551ec75245b0f55c9eca5b7911b2b63d7d9
4624ce6abdd7d06ebc32ea9cb9c64f4552ecffff
refs/heads/master
2021-01-11T04:34:49.820655
2016-11-03T23:18:47
2016-11-03T23:18:47
58,134,398
6
16
null
2016-11-02T11:49:59
2016-05-05T13:54:45
CSS
UTF-8
Python
false
false
667
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('events', '0005_merge'), ] operations = [ migrations.AlterField( model_name='event', name='event_cate...
[ "sebastinssanty@gmail.com" ]
sebastinssanty@gmail.com
c1c30df86d94dee63e8973681ffc60f9e5a1a4eb
782eb83ef3d3e9e8e611bbeb8c53920dfa5686e9
/misc.py
66987147a786f7d1907fc6781c35e11e34a3bba7
[ "MIT" ]
permissive
harimau99/RNN-Visualization
62a76be0fda65fc99444d5d4225daa70142c44c4
b6e31c3a78c2f8ee3cb4949654ba3ef2168329ae
refs/heads/master
2020-03-12T10:24:20.226189
2018-04-21T02:31:07
2018-04-21T02:31:07
130,572,222
1
0
null
2018-04-22T13:55:03
2018-04-22T13:55:02
null
UTF-8
Python
false
false
11,428
py
import glob import matplotlib import matplotlib.pyplot as plt import numpy as np import os from keras.callbacks import ModelCheckpoint, EarlyStopping from keras.layers import Dense, LSTM, Input, Lambda from keras.models import Model from keras.regularizers import l1_l2 from keras.utils import np_utils from matplotlib i...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
94b4498e87b5fad93fd72fd2a79b547a1a5996e3
0e9b2916470bc355f778c9d9c066eeb142a937f8
/struct2tensor/tools/build_docs.py
b4f5dc66cded63f46f734c70548769bf5f3598da
[ "Apache-2.0" ]
permissive
google/struct2tensor
9805515f9b4e9da458dec67f435423e5c26064f7
86d8676ac295697853be8a194460e4d71de3990f
refs/heads/master
2023-09-02T01:53:48.350908
2023-08-10T18:46:22
2023-08-10T18:46:56
196,274,653
36
41
Apache-2.0
2023-08-10T18:50:01
2019-07-10T21:02:42
Python
UTF-8
Python
false
false
4,893
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
73cfd2ad99f932951ac2c24f0de42fb2f37178b9
9019fafa09d93b06c84444c0b1c0d41e6358c06b
/offset/os/signal.py
8d1710f9c6b794f9091cce05a756e071ed7e7615
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
weimingzhen/offset
bb1c18edcd84307c4c0bfb08d4fb5b99e65f3410
077a9278c0e01ed1aaaa3923939316dc03ed5e6e
refs/heads/master
2021-01-15T08:04:29.895003
2013-10-25T09:18:16
2013-10-25T09:18:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,903
py
import weakref from ..core import default, go, gosched, select from ..core.kernel import signal_enable, signal_disable from ..core.sigqueue import NUMSIG from ..sync import Mutex from ..sync.atomic import AtomicLong from ..syscall import signal class Handler(object): def __init__(self): self.mask = set(...
[ "bchesneau@gmail.com" ]
bchesneau@gmail.com
ae083d68844ab7b5ef1b10842ff1ef2dcc318d26
4d327de5447519d3c00e6572f74362380783006f
/source/res/scripts/client/gui/Scaleform/daapi/view/lobby/manual/manual_main_view.py
b7d32fa93782aab0db8e791416b28263dacd4175
[]
no_license
XFreyaX/WorldOfTanks-Decompiled
706ac55d919b766aa89f90c97a75672bf2142611
5025466edd0dd3e5e50a6c60feb02ae793f6adac
refs/heads/master
2021-09-21T15:10:32.655452
2018-08-28T07:34:00
2018-08-28T07:34:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,738
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/manual/manual_main_view.py import logging from gui.Scaleform.daapi.view.meta.ManualMainViewMeta import ManualMainViewMeta from gui.Scaleform.locale.RES_ICONS import RES_ICONS from gui.shared import eve...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
ed216c5522743e233037945a7114c70b08cc4a2e
4a615597d6ac79cae9f770166629c26f1ae27ebb
/ecsi_constants.py
a1639591d9f0c4f5f903588260a9e85376c844b3
[]
no_license
brodanielx/student-loans-scraper
0bb35e95d59c853ef48d07f84bfceb21630b132b
37b2f8c56eba816e618f343c9468bb09ddc10839
refs/heads/master
2020-04-26T02:34:57.803607
2019-03-22T11:43:02
2019-03-22T11:43:02
173,238,711
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
student_id_input_name = 'id' pin_input_name = 'pwd' login_button_name = 'Login' balance_and_billing_link_text = 'Balance and Billing' current_account_balance_link_text = 'Current Account Balance'
[ "bro.danielx@gmail.com" ]
bro.danielx@gmail.com
6595deec3b55e77b3c1a3075d90b902e473006bf
55540f3e86f1d5d86ef6b5d295a63518e274efe3
/toolchain/riscv/MSYS/python/Lib/test/libregrtest/refleak.py
45e36071e645784a2f991a1af2bcd685ff46b973
[ "bzip2-1.0.6", "LicenseRef-scancode-proprietary-license", "OpenSSL", "Python-2.0", "LicenseRef-scancode-newlib-historical", "TCL", "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
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
8,482
py
import os import re import sys import warnings from inspect import isabstract from test import support try: from _abc import _get_dump except ImportError: import weakref def _get_dump(cls): # Reimplement _get_dump() for pure-Python implementation of # the abc module (Lib/_py_ab...
[ "jczhang@bouffalolab.com" ]
jczhang@bouffalolab.com
94932259378e9d947b5bb394602819f95ed9815c
8cb8bfd2dae516612251039e0632173ea1ea4c8a
/modules/analyzes/console/models.py
1a91cbc2a1d6f5e8a069be1c1333d366506da162
[]
no_license
nyzsirt/lift-prod
563cc70700d26a5812a1bce0bd9795998dce6e99
9a5f28e49ad5e80e422a5d5efee77a2d0247aa2b
refs/heads/master
2020-04-22T01:05:42.262876
2019-02-09T13:31:15
2019-02-09T13:31:15
170,003,361
1
0
null
2019-02-10T17:11:50
2019-02-10T17:11:50
null
UTF-8
Python
false
false
972
py
import datetime from mongoengine import Document from mongoengine import StringField from mongoengine import DateTimeField from mongoengine import ObjectIdField from mongoengine import DecimalField from mongoengine import ReferenceField from modules.analyzes.console.consoletype.models import ConsoleType from modules....
[ "mutlu.erdem@soft-nec.com" ]
mutlu.erdem@soft-nec.com
e2377def32fa5d3988b95d55fa79b404eeccea46
9f9f4280a02f451776ea08365a3f119448025c25
/plans/hsppw/lcut_hsp-l_070_pwde_mlpr_hs.py
430bcac552fe7ba7310896f2fd72df80b9f18ce9
[ "BSD-2-Clause" ]
permissive
dbis-uibk/hit-prediction-code
6b7effb2313d2499f49b2b14dd95ae7545299291
c95be2cdedfcd5d5c27d0186f4c801d9be475389
refs/heads/master
2023-02-04T16:07:24.118915
2022-09-22T12:49:50
2022-09-22T12:49:50
226,829,436
2
2
null
null
null
null
UTF-8
Python
false
false
2,157
py
"""Plan using all features.""" import os.path from dbispipeline.evaluators import CvEpochEvaluator from sklearn.neural_network import MLPRegressor from sklearn.pipeline import Pipeline from sklearn.preprocessing import MinMaxScaler import hit_prediction_code.common as common from hit_prediction_code.dataloaders impor...
[ "mikevo-uibk@famv.net" ]
mikevo-uibk@famv.net
7274bf83d4f815c7da5410e68e26a0d44242e9bc
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/miniAODJobs400to600/nano7.py
2c5178bf755bfc734fb9b6014e02ca1c20c22086
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,363
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --mc --eventcontent NANOAODSIM --datatier NANOAODSIM --no_exec --conditions 102X_upgrade2018_realistic_v19 -...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
ce4445bf45c4b681f72488cebf8a0e47969f5cd2
5da7048c8feebaead2823b7367eb2918d6b4a2f9
/cgi-programming/cgi-bin/set_cookie.py
c3124030f75ce8c86adca9217461bcd13f12c67c
[]
no_license
leiurus17/tp_python
e2bfc38a1152e11ae9991bb6a1a6b0e1ef7ee2ad
8d5b8412d67ececbaa798482e364274b3cbeda03
refs/heads/master
2021-09-04T17:29:46.796163
2018-01-20T12:51:12
2018-01-20T12:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
print "Set-Cookie:UserID = XYZ;\r\n" print "Set-Cookie:Password = XYZ123;\r\n" print "Set-Cookie:Expires = Tuesday, 31-Dec-2018 23:59:59 GMT;\r\n" print "Set-Cookie:Domain = www.google.com;\r\n" print "Set-Cookie:Path = /perl;\n" print "Content-type:text/html\r\n\r\n"
[ "martianworm17@gmail.com" ]
martianworm17@gmail.com
59bf3bc1c6f3560a6496e8cd386d71e7493b43ba
6ec91b363b077bffd33f15300a0935124e9fb915
/Cracking_the_Code_Interview/Chapter_6/6.7 The_Apocalypse.py
95ec6ecf75da65871521bca5c9fd9326a2f7b87f
[]
no_license
lzxyzq/Cracking_the_Coding_Interview
03232515ae8eb50394d46322d36b230d1a626fcf
79dee7dab41830c4ff9e38858dad229815c719a0
refs/heads/master
2023-06-05T19:52:15.595289
2021-06-23T22:46:02
2021-06-23T22:46:02
238,068,000
0
1
null
null
null
null
UTF-8
Python
false
false
571
py
# In the new post-apocalyptic world,the world queen is desperately concerned about the birth rate.Therefore,she decrees that all families should ensure that they have one girl or else they face massive fines.If all families abide by this policy——that is, they have continue to have children until they have one girl,at w...
[ "lzxyzq@gmail.com" ]
lzxyzq@gmail.com
8453ffa4d71add9bded88d037892a47c4f908748
1570802981f88165bb0b2db6e7999330eedefdab
/setup.py
ae9d7583da4d68aa53416a8b7de907e43d596c0f
[]
no_license
seantyh/KabelParser
a6b915446c4c6408471e4c8d65f438e54aa5efff
6aaaa01c6d40bd1d280c83c817756321aed17981
refs/heads/master
2021-01-19T14:49:24.163734
2017-08-21T14:57:56
2017-08-21T14:57:56
100,927,463
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
from setuptools import setup setup(name="KabelParser", version="0.1", description="Kabel syntax parser", url="https://github.com/seantyh/KabelParser.git", author="Sean Tseng", license="GNUv3", test_suite="tests", packages=["KabelParser"], zip_safe=False)
[ "seantyh@gmail.com" ]
seantyh@gmail.com
0249bab0cf139b45ed975508423f6537680a1eeb
24688b833f0ee0bcedaa709b35bf2ceee0ce069e
/mass_profiles/nfw.py
3b0aa93b8d5d6fc8bd3c70acfd30fd7114d30c79
[]
no_license
astrosonnen/spherical_jeans
5a594759353c631e89ae109fd1f9253e267dceb2
eae0f4c0cc8f6ee1e882561382c3f133e4ffc28d
refs/heads/master
2023-01-25T00:11:29.785822
2023-01-09T08:19:13
2023-01-09T08:19:13
195,091,771
1
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
import numpy as np #to get quantities in physical units, everything should be multiplied by 4*pi*rhoc*rs**3=M200/M3d(c) def gfunc(x): x = np.atleast_1d(x) g = x*.0 arr = x[x<1] g[x<1] = np.log(arr/2) + 1/np.sqrt(1 - arr**2)*np.arccosh(1/arr) arr = x[x==1] g[x==1] = 1 + np.log(0.5) arr = x...
[ "sonnenfeld@strw.leidenuniv.nl" ]
sonnenfeld@strw.leidenuniv.nl
58e30718a8d0c8bca243927a59f4d8484fe3977c
036c69a0c27cfdc0b0d9d6169caf027635b66325
/tree/leetcode543.py
f40a3d2cc9908374262d7009cf283baa11a392c4
[]
no_license
Marco2018/leetcode
19b6b2c19452babf0198f8705e0dd1f31c321017
c7dc709a7a9b83ef85fbc2d0aad7a8829f1035d1
refs/heads/master
2020-03-23T17:34:09.637831
2020-01-18T11:00:36
2020-01-18T11:00:36
141,865,308
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
class Solution(object): def diameterOfBinaryTree(self, root): """ :type root: TreeNode :rtype: int """ self.ans = 0 def depth(p): if not p: return 0 left, right = depth(p.left), depth(p.right) self.ans = max(self.ans, left + right) ...
[ "513045631@qq.com" ]
513045631@qq.com
122ec478539ec73560e9eac24f794ea3594a18bf
a61b6d0d62e7c3a425f213e6e028e7ff93b49ff0
/Twitter/migrations/0010_auto_20190426_0516.py
390baae94eb51f096ef177d96722642bb92876db
[]
no_license
gdmurray/liveontwitch-backend
2fc12895a61ea094ae7cc2e19ed4fb9ec02e0df5
1e1079e085610965a06d7275b02a3a0753e92e58
refs/heads/master
2022-12-12T10:35:19.773243
2019-05-29T00:52:42
2019-05-29T00:52:42
183,521,494
0
0
null
2022-05-25T01:40:54
2019-04-25T23:03:57
Python
UTF-8
Python
false
false
787
py
# Generated by Django 2.2 on 2019-04-26 05:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Twitter', '0009_twitteraccount_description'), ] operations = [ migrations.AddField( model_name='twitteraccount', name=...
[ "gd-murray@hotmail.com" ]
gd-murray@hotmail.com
005a164d9384cf6d7fca0ad658a18f1db2096182
ba8f5d23d9878a25b30a32cf16e8833f93b25853
/source_py2/test_python_toolbox/test_cute_iter_tools/test_shorten.py
072087b5502e23272b9781fb8354f84ce1243385
[ "MIT" ]
permissive
nastako/python_toolbox
af520cbec1468c8e0aae0b3b1c467ca5623af45b
9713fd728608818630ee409ac6a6fdaf863af31b
refs/heads/master
2020-12-11T09:07:19.681161
2015-01-16T21:26:37
2015-01-16T21:26:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
# Copyright 2009-2015 Ram Rachum. # This program is distributed under the MIT license. '''Testing module for `python_toolbox.cute_iter_tools.shorten`.''' import nose.tools from python_toolbox import nifty_collections from python_toolbox import cute_iter_tools from python_toolbox.cute_iter_tools import shorten infi...
[ "ram@rachum.com" ]
ram@rachum.com
7826b14618df9fec38c48efcda50a46abefba08b
122f9bf0d996c104f541453ab35c56f6ff3fc7cd
/ExhaustiveSearch/2571_색종이3.py
bbd2616e42447c19f72e1d35539edb673747fd76
[]
no_license
JannaKim/PS
1302e9b6bc529d582ecc7d7fe4f249a52311ff30
b9c3ce6a7a47afeaa0c62d952b5936d407da129b
refs/heads/master
2023-08-10T17:49:00.925460
2021-09-13T02:21:34
2021-09-13T02:21:34
312,822,458
0
0
null
2021-04-23T15:31:11
2020-11-14T13:27:34
Python
UTF-8
Python
false
false
808
py
import sys; input= lambda: sys.stdin.readline().rstrip() n= int(input()) dp= [[0]*100 for _ in range(100)] for _ in range(n): y,x= map(int, input().split()) for i in range(y,y+10): for j in range(x,x+10): dp[i][j]=1 for i in range(100): for j in range(100): if dp[i][j] and j>=1:...
[ "baradamoh@gmail.com" ]
baradamoh@gmail.com
f5548c3c4ae3560539c17a7c142f18501c4b9436
5f32815c5e9261cfb6823d139f760eb351b8f2df
/tests/test_signals.py
e00e79e2f6965b64deef2ff1012083a5b3b8169e
[ "MIT" ]
permissive
IcyCC/quart
8aabb9a583d312977c192232a9a5dd72b835d83e
c714109e55cd55b63810ecdb46f841a09b93dfa1
refs/heads/master
2020-04-17T21:01:10.423207
2019-01-18T17:16:10
2019-01-18T17:16:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
from typing import Any import pytest from quart.signals import AsyncNamedSignal @pytest.mark.asyncio async def test_async_signal() -> None: signal = AsyncNamedSignal('name') fired = [False, False] def sync_fired(*_: Any) -> None: nonlocal fired fired[0] = True async def async_fired...
[ "philip.graham.jones@googlemail.com" ]
philip.graham.jones@googlemail.com
143ea53a8fe865da9563e94326da39c1d2d009f7
b9cf16a742b91251fa4757105814db775b8a3d00
/model.py
cb710feecd25491bdd0bb625f9436a6101cf146a
[]
no_license
CelineSiyiYU/Kaggle_Titanic
896a270a9e0ee58c282c8b70bd4b2528f3a44abf
1037d364f007bc8d88d4ae06a49f0ae1f1ba34da
refs/heads/master
2020-04-01T14:55:24.994636
2018-10-16T16:01:17
2018-10-16T16:01:17
153,313,690
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
from sklearn.ensemble import RandomForestClassifier from data_processing import get_X_Y_train rf = RandomForestClassifier(n_estimators=200, max_depth=4) X_train, Y_train, X_test = get_X_Y_train() rf.fit(X_train, Y_train) pred = rf.predict(X_test) import pandas as pd sub = pd.read_csv('gender_submission.csv') sub[...
[ "you@example.com" ]
you@example.com
93e12d8fa212ba34814b7a5e5f5ce7e3b0b21a31
c2758f58b29917e5f00cdf19389a0f55b2975eae
/oldstuff/pyframe/examples/triplet.py
d4f5b2feecead4507070c59e2892485b7b7e2584
[]
no_license
rdemaria/pyoptics
4cf0b59e3524996de84c38a98a1444509246e9d4
6679a7589c751285757b8166c76aeaa1359742da
refs/heads/master
2023-07-08T19:55:50.364373
2023-06-30T09:50:12
2023-06-30T09:50:12
25,566,323
6
11
null
2023-06-14T12:31:15
2014-10-22T06:47:52
Python
UTF-8
Python
false
false
613
py
from abpyutils import * from scipy.optimize import fsolve s=trtable('d0 q1 d1 q2 d2 q3 d3 q4 d4 end') s.d0.l, s.d1.l, s.d2.l, s.d3.l, s.d4.l = 23, 2.7, 1, 2.9, 10 s.q1.l, s.q2.l = 9.2, 7.8 s.q1.knl1 = 122./23350*s.q1.l def cons(): s.q3.l, s.q4.l = s.q2.l, s.q1.l s.q2.knl1 = -s.q1.knl1/s.q1.l*s.q2.l s.q3.knl1, ...
[ "riccardodemaria@gmail.com" ]
riccardodemaria@gmail.com
0d6961f9059ea7f01179f393afb167c050eefe6b
1403d8670aa2e3ad6b72524688ca6318a84cd1f2
/Chapter 3/count_digrams_practice.py
1ff6ec33ff81ff013a6119cc06fbabd716a35a1e
[]
no_license
afettouhi/ImpracticalPythonProjects-py38
033037a9b9b4af1401b968fa6f51fa0adde8be3f
074b9f8b77d72cac2bb33f57a918c509a4f0ef17
refs/heads/master
2023-01-07T08:05:42.849002
2020-11-02T06:12:58
2020-11-02T06:12:58
304,799,612
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
""" Generate letter pairs in Voldemort & find their frequency in a dictionary. Requires load_dictionary.py module to load an English dictionary file. """ import re from collections import defaultdict from itertools import permutations import load_dictionary word_list = load_dictionary.load('../data/2of4brif.txt') n...
[ "A.Fettouhi@gmail.com" ]
A.Fettouhi@gmail.com
29b0e89e2c0bf424fa5bb87364c21c2f4ec6e5ef
3da29484b8d6d598c75dc5446be89c96c8209e3e
/scripts/fitters/syst_norm_kpi_2011_unblinded_delmg3inc.py
585887723a84c5edb3613e6f213692f063322024
[]
no_license
betatim/glowing-wookie
71560dd14cd23466e629dadc6de270c04d848016
fb327714cd066c7c58864d6aec8424271d147f06
refs/heads/master
2016-09-05T19:39:30.174535
2014-08-08T16:25:21
2014-08-08T16:25:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
#doGof = True def changeConstants(w): w.obj('Norm_D0M_Sig_Gaus1_Frac').setVal(0.7) w.obj('Norm_DelM_Sig_Gaus1_Frac').setVal(0.25) w.obj('Norm_DelM_Sig_Gaus3_Frac').setVal(0.25) config = { #'doFit':False, 'doLimits':False, 'doNlls':True, 'doProfile':False, 'doSPlot':False, #'do...
[ "thomas.bird@cern.ch" ]
thomas.bird@cern.ch
b3a08aaaf23ed7398ba4045d5ce93859dda11251
a689a72d3699883d7b58bd4ee3103373270bd0d5
/2019/1912/BJ2178.py
d25de63f697e1ca4f25182f5e0a0b1d6c16a4228
[]
no_license
Oizys18/Algo
4670748c850dc9472b6cfb9f828a3ccad9c18981
45caafe22a8a8c9134e4ff3b227f5f0be94eefe7
refs/heads/master
2022-05-11T08:35:06.812539
2022-05-07T01:30:41
2022-05-07T01:30:41
202,690,024
4
1
null
null
null
null
UTF-8
Python
false
false
828
py
# 미로탐색 # N은 세로 M은 가로 N, M = map(int, input().split()) maze = [[int(i) for i in input()] for _ in range(N)] visit = [[0]*M for _ in range(N)] dx = [0,0,-1,1] dy = [1,-1,0,0] # print(maze) def pathFinder(x,y): if 0 <= x < N and 0 <= y < M: if maze[x][y] == 1: return True else: ...
[ "oizys18@gmail.com" ]
oizys18@gmail.com
2245d2d1e5ace385a86a7762327c6917cc683400
f83e6935c5b61c8d5232d3a327a932f4794433f5
/apps/performance/api/models/HCSLS_Profession.py
09f0d3d374164e6f2a0674a183bf4e60060f2a63
[]
no_license
nttlong2018/hr-python
2965cf9858fee356558dce2e2482b41109c6c774
7916b812f6f9759a27395f7e78c30c07200f8502
refs/heads/master
2020-03-07T14:01:12.550849
2018-07-20T11:08:22
2018-07-20T11:08:22
127,516,483
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
from config import database, helpers, db_context import base _hasCreated=False def HCSLS_Profession(): global _hasCreated if not _hasCreated: helpers.extent_model( "HCSLS_Profession", "base", [["profession_code"]], profession_code=helpers.create_...
[ "zugeliang2000@gmail.com" ]
zugeliang2000@gmail.com
72702d83902ab5e369a90ebd8e4a6bfafa7c6b70
5d65f00e3fb6c84779f14ec0be852f1da285aec2
/tests/components/zwave_js/test_siren.py
937b2c0fa6780bf34dcc29cfa89b8dcaa6d40909
[ "Apache-2.0" ]
permissive
Shahzad6077/core
b448ff00ef4fed131c70c0671635b7b4c62dd23d
e0873493e2f77e9702601969712f6d2c1536aaef
refs/heads/master
2023-07-09T18:11:20.778850
2021-08-16T03:49:10
2021-08-16T03:49:10
397,514,065
2
0
Apache-2.0
2021-08-18T07:36:53
2021-08-18T07:36:53
null
UTF-8
Python
false
false
4,369
py
"""Test the Z-Wave JS siren platform.""" from zwave_js_server.event import Event from homeassistant.components.siren import ATTR_TONE, ATTR_VOLUME_LEVEL from homeassistant.const import STATE_OFF, STATE_ON SIREN_ENTITY = "siren.indoor_siren_6_2" TONE_ID_VALUE_ID = { "endpoint": 2, "commandClass": 121, "co...
[ "noreply@github.com" ]
Shahzad6077.noreply@github.com
af6085d6bfb341c780c9a5bae1f155313f06e31c
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/eA94BuKYjwMoNQSE2_20.py
573076f02b7d5d35bec5ede3d0af546e4f25e486
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
def correct_signs(txt): return eval(txt)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f704aab5ee6af03c511f9171c1accaab3afd4a88
1419418226b6ba0f510649daaf62b71554cc2284
/amatrice/plot_aftershck_sections.py
11bdcbe1dce5d9c85bc0992f0103869a45fece66
[]
no_license
shineusn/mylife
2ef48a777e39be2ef746c3dad16ea963d5b23e5e
61dfa72d9047551746d26b7fe01fb5c2f1f0657a
refs/heads/master
2020-03-22T13:44:42.422127
2018-02-13T18:09:43
2018-02-13T18:09:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,304
py
from numpy import genfromtxt,array,zeros,linspace,where,r_,unique,tile from matplotlib import pyplot as plt from pyproj import Geod #afters=genfromtxt('/Users/dmelgar/Amatrice2016/afters/afters.xyz') #afters_x=afters[:,0] #afters_y=afters[:,1] afters_load=genfromtxt('/Users/dmelgar/Amatrice2016/afters/nonlinloc.dat'...
[ "dmelgar@berkeley.edu" ]
dmelgar@berkeley.edu
794266680b9884b34883798b127a2253a1d74970
52585c8d95cef15199c18ba1a76899d2c31329f0
/05PythonCookbook/ch4IteratorsAndGenerators/countdown_demo_42.py
759d06a35c5e65ec9df39531a4054ff4828a39b5
[]
no_license
greatabel/PythonRepository
c7a952257303a21083ed7d535274c339362bd126
836fcdd3f5c1b150122302685104fe51b5ebe1a3
refs/heads/master
2023-08-30T15:56:05.376391
2023-08-26T03:34:14
2023-08-26T03:34:14
29,392,599
33
6
null
2023-02-14T13:33:21
2015-01-17T13:54:58
Python
UTF-8
Python
false
false
547
py
#https://pypi.python.org/pypi/colorama import colorama from colorama import Fore, Back, Style def countdown(n): print("Starting to count from",n) while n>0: yield n n -= 1 print("Done!") def main(): try: c = countdown(3) print(next(c)) print(next(c)) p...
[ "greatabel1@126.com" ]
greatabel1@126.com
2f49e36e53f985ea3de4fea40cd6ffc1e10edfb9
b1ff1b8920f8bee4d9fdaad938b25daedc51f7ad
/backend/lna/migrations/0005_auto_20190211_1315.py
3e62ab50d7a4c7829363c4e7d06a49140ce213ec
[]
no_license
linea-it/lna
141d051c8b3e3c061ef2016ee48276a4538ddc88
dd7c82059c41180d584bd8b201ea2d843878ef8e
refs/heads/master
2022-12-17T12:29:04.291593
2020-07-01T19:27:21
2020-07-01T19:27:21
148,836,030
0
0
null
2022-12-09T13:57:18
2018-09-14T20:00:05
JavaScript
UTF-8
Python
false
false
429
py
# Generated by Django 2.1.5 on 2019-02-11 13:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lna', '0004_auto_20190211_1313'), ] operations = [ migrations.AlterField( model_name='exposure', name='file_path', ...
[ "glauber.vila.verde@gmail.com" ]
glauber.vila.verde@gmail.com
bb02b55598c5c4a41c913edb585afdbe5aed9c60
8fa8ded3772dd7a124c1bbb91fc109ed2b63574b
/mycelium/apps/donors/migrations/0005_auto__add_field_donation_old_id.py
0759f613de6b4cb7a226b274b2596c26f316851b
[]
no_license
skoczen/mycelium
3642b0f5e5ea03d609a3e499c7ad68092101dce0
da0f169163f4dc93e2dc2b0d934abf4f18c18af0
refs/heads/master
2020-04-10T09:21:46.893254
2014-05-20T02:27:06
2014-05-20T02:27:06
2,114,887
0
0
null
null
null
null
UTF-8
Python
false
false
8,425
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): depends_on = ( ("data_import", "0001_initial"), ) def forwards(self, orm): # Adding field 'Donation.old_id' db.add...
[ "steven@quantumimagery.com" ]
steven@quantumimagery.com
c1a0f9ad8fd1186739083d822c3f44ed8a8a7f21
2c95e0f7bb3f977306f479d5c99601ab1d5c61f2
/olive/wallet/puzzles/prefarm/make_prefarm_ph.py
803d9e44d003d6c6e7e3fc8a8325298e1972ab79
[ "Apache-2.0" ]
permissive
Olive-blockchain/Olive-blockchain-CLI
d62444f8456467f8105531178d2ae53d6e92087d
8c4a9a382d68fc1d71c5b6c1da858922a8bb8808
refs/heads/main
2023-07-19T03:51:08.700834
2021-09-19T16:05:10
2021-09-19T16:05:10
406,045,499
0
0
Apache-2.0
2021-09-19T16:05:10
2021-09-13T16:20:38
Python
UTF-8
Python
false
false
2,223
py
from clvm.casts import int_from_bytes from clvm_tools import binutils from olive.consensus.block_rewards import calculate_base_farmer_reward, calculate_pool_reward from olive.types.blockchain_format.program import Program from olive.types.condition_opcodes import ConditionOpcode from olive.util.bech32m import decode_p...
[ "87711356+Olive-blockchain@users.noreply.github.com" ]
87711356+Olive-blockchain@users.noreply.github.com
6469051a8f3b1d5c63559a54f4219206f14c9168
a64b8fc6c9e81d433878009249fe9c9a109a602c
/core/script/oidrules/oids.py
610f348a4211a2f764084da2d21a1c0e5ace307f
[ "BSD-3-Clause" ]
permissive
ewwwcha/noc
d1de6fe1d556e0f14a0dd31c600844cf43c96728
aba08dc328296bb0e8e181c2ac9a766e1ec2a0bb
refs/heads/master
2020-07-29T10:10:30.862660
2019-09-20T07:54:52
2019-09-20T07:54:52
209,755,887
1
0
NOASSERTION
2019-09-20T09:36:22
2019-09-20T09:36:22
null
UTF-8
Python
false
false
1,023
py
# -*- coding: utf-8 -*- # ---------------------------------------------------------------------- # OIDsRule # ---------------------------------------------------------------------- # Copyright (C) 2007-2018 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------...
[ "dv@nocproject.org" ]
dv@nocproject.org
3d2e14867a46d0864160e6024eecb57c6d633b06
3ec38f7e7d0c145addd2b743c3c5a5112b8dbd15
/app.py
48aaf8e776dd5300ce167210c16ce8b570e58c2c
[]
no_license
teknofage/Playlistr-Tutorial
c58a0811cd5e5cdaf78b281cdd8a37f21a15f1ec
aff3a1c839eb79926cc9101d6639a1f6b25080f7
refs/heads/master
2021-06-26T14:23:51.462172
2019-10-16T18:55:39
2019-10-16T18:55:39
211,415,357
0
0
null
2021-03-20T01:48:17
2019-09-27T23:16:40
HTML
UTF-8
Python
false
false
3,420
py
from flask import Flask, render_template, request, redirect, url_for from pymongo import MongoClient from bson.objectid import ObjectId import os host = os.environ.get('MONGODB_URI', 'mongodb://localhost:27017/Playlister') client = MongoClient(host=f'{host}?retryWrites=false') db = client.get_default_database() playli...
[ "teknofage@gmail.com" ]
teknofage@gmail.com
690a50199995eff4542b161ed727d323288aa7fc
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/739.daily-temperatures/739.daily-temperatures_130578302.py
676041d10b7c2af4a259374607b7592a53aab3b4
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
class Solution(object): def dailyTemperatures(self, temperatures): """ :type temperatures: List[int] :rtype: List[int] """ stack = [] ans = [0] * len(temperatures) for i, t in enumerate(temperatures): while stack and stack[-1][1] < t: ...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
3809ba92931c07dbdbf00d06dad43c2c65628dd4
af3d845103212c92829f3295b7a242e02507cce7
/Pandas/16_Mean_score.py
9896a399d91d81d54c36944943e9e016b3d3df78
[]
no_license
sankar-vs/Python-and-MySQL
b3b95c8de07c957f233012deccb203598d626f64
f2c456fbc5c3bc79c64621b07f918d2180095ac0
refs/heads/master
2023-04-10T05:08:29.008897
2021-04-27T10:08:08
2021-04-27T10:08:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
''' @Author: Sankar @Date: 2021-04-15 12:15:25 @Last Modified by: Sankar @Last Modified time: 2021-04-15 12:20:09 @Title : Pandas_Python-16 ''' ''' Write a Python program to calculate the mean score for each different student in DataFrame. Sample Python dictionary data and list labels: exam_data = {'name': ['Anastasia'...
[ "vs.sankar95@gmail.com" ]
vs.sankar95@gmail.com
95034eb585d3d2ec62e42a3ab7dc6381a4bf1139
3f9bec3201cc255c5ad6023cc746488306224015
/Chapter 8/twilightbus.py
281c76cd742d0c2dc8c274daebd5c8d9b263b139
[]
no_license
afettouhi/FluentPython-py37
64927a908c5804d8970ea3f4b667c109c5867a6a
a14a721d738b8908f9e8e78552d70fbb2d6dd74f
refs/heads/master
2022-06-14T18:26:47.456090
2020-05-08T04:13:51
2020-05-08T04:13:51
259,222,101
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
"""Example 8-15""" class TwilightBus: """A bus model that makes passengers vanish""" def __init__(self, passengers=None): if passengers is None: self.passengers = [] else: self.passengers = passengers def pick(self, name): self.passengers.append(name) ...
[ "A.Fettouhi@gmail.com" ]
A.Fettouhi@gmail.com
d090e9b3090a66085531b1f4dd79eaf46d105004
3dc75c15cec1492ef8360dea741cc66a61305ee5
/script_json.py
e970ca3450dbbf06183438d37c1f932b822739b9
[]
no_license
alexaugusto23/weather_forecast
34589c034e4e7fbc8c476080ffcf3a28e1f4be39
6abf49eb9bae80f3673c0658b75b39c39637ca70
refs/heads/main
2023-02-28T05:09:16.995196
2021-02-06T04:13:08
2021-02-06T04:13:08
333,408,378
1
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
import os import json class DelCre: def delcre(): #Deletando e criando json #os.chdir("C:/git/weather_forecast") #local os.chdir("/home/site/wwwroot") #azure path = os.getcwd() path1 = os.path.join(path,"weather_forecast") path2 = os.path.join(path1,"weather_for...
[ "contato.alexaugusto@hotmail.com" ]
contato.alexaugusto@hotmail.com
6fadaf9bed502a2985c9abf6f69025a165747c57
a3f864e898eaaaf7becd25e05413fac33e3e5cb0
/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/config.gypi
bb485eda53649e7514dc8b614e4c17ee7d117328
[ "MIT" ]
permissive
arthurjamain/agharta-server
0df1d0aa4cdec15d2e669e5dd947d02825438c36
ef6f553b39ea82492669cf7f98736bbe829d9844
refs/heads/master
2016-09-05T16:09:35.885200
2012-11-26T17:21:43
2012-11-26T17:21:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,759
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "armv7": 0, "clang": 0, "gcc_version": 46, "host_arch": "arm", "nod...
[ "root@raspberrypi.(none)" ]
root@raspberrypi.(none)
f379752cad47958dd4a503b6ad3b0fcca5bcb021
7950c4faf15ec1dc217391d839ddc21efd174ede
/leetcode-cn/1130.0_Minimum_Cost_Tree_From_Leaf_Values.py
ff3772390a361d6a8df6838f4de51f4c067a7c49
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
Python
false
false
682
py
''' 执行用时:216 ms, 在所有 Python3 提交中击败了20.43% 的用户 内存消耗:16.9 MB, 在所有 Python3 提交中击败了13.98% 的用户 通过测试用例:103 / 103 ''' class Solution: def mctFromLeafValues(self, arr: List[int]) -> int: n = len(arr) @cache def dfs(i, j): res = inf if i == j: retu...
[ "laoxing201314@outlook.com" ]
laoxing201314@outlook.com
a0377c5924f817203778a366ae43f8b4552ae347
c117f7064b7132778bead5a8b77b67e2429a2b7a
/bracma.py
f149783a31bf55878737969ac79bcc62dc190b73
[]
no_license
gurudurairaj/gp
664306f41f73f8b620ba74b048372e1c94e59bc7
2fce98f7428103b54b9edd075d4a83dc434c2926
refs/heads/master
2020-04-15T05:00:45.934019
2019-05-26T17:54:54
2019-05-26T17:54:54
164,405,807
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
st=input() st=list(st) i=0 l=0 for i in range(len(st)): if st[i]=="(" or st[i]==")": l=l+1 i=0 j=0 k=0 while i<len(st): if len(st)==1: break if st[i]=="(" : while j <len(st): if st[j]==")": k=k+2 st.remove(st[i]) st.remove(s...
[ "noreply@github.com" ]
gurudurairaj.noreply@github.com
a3543850171f2be9634c3038d969f24d974eef64
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Generators/HepMCAnalysis_i/python/HepMCAnalysis_iConfig.py
00d3cb459f03023fc7dffc5b16f187460b77aa55
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
1,957
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration from HepMCAnalysis_i.HepMCAnalysis_iConf import HepMCAnalysis class HepMCAnalysis_i(HepMCAnalysis): def __init__(self, name = "HepMCAnalysis_i", file = None): super( HepMCAnalysis_i, self ).__init__( name ) ...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
c85e20a1e36bf6cae9789f657767e1c28b83dd4a
928d6176940a371c7c2e14a625ecc49ee45b42ff
/openrasp_iast/test/scan_plugin/test_xxe_basic.py
5f6abc71503018666afef11aa93e2451026e16c8
[ "Apache-2.0" ]
permissive
l3ngd0n/openrasp-iast
cca5f98a546050f555583a7c47736806bb17227b
43a92135be36c45dc8d4730bd5d42939510c2348
refs/heads/master
2021-03-26T06:36:01.193632
2020-03-13T08:53:28
2020-03-13T08:53:41
247,680,479
1
0
Apache-2.0
2020-03-16T11:03:58
2020-03-16T11:03:57
null
UTF-8
Python
false
false
8,290
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ Copyright 2017-2020 Baidu 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...
[ "350905402@qq.com" ]
350905402@qq.com
201f6b5e69c22aee2bf531c436e0c96ebee23ea6
edff378e6e24b660a6995f1176496d7de2e3b7f9
/node_modules/emojione/lib/python/emojipy/tests/test_ruleset.py
f62757079184db27dd914ba52acfca7f425612ca
[ "MIT", "CC-BY-SA-4.0", "CC-BY-4.0" ]
permissive
Caisen1988/blog
2d70fe0ee9a5f252fe4372e035446c5d595d5388
af2e0f4c34db20bb35405ac919c010b686b4cfbf
refs/heads/master
2022-10-12T10:33:28.473264
2020-06-11T04:18:11
2020-06-11T04:18:11
269,496,860
0
0
MIT
2020-06-05T00:51:00
2020-06-05T00:50:59
null
UTF-8
Python
false
false
858
py
#!/usr/bin/env python3 # -*- coding: utf-8; -*- from __future__ import unicode_literals from unittest import TestCase import json from emojipy.ruleset import ascii_replace,\ unicode_replace, shortcode_replace json_path = '../../emoji.json' class MappingTests(TestCase): def setUp(self): self.ascii_l...
[ "root@vultr.guest" ]
root@vultr.guest
4e6dcc7777942f9a1347a594e2a12f75f2934835
0420ce2fc8799d5fbd6e96313e6716f5e2ef825b
/bagogold/cri_cra/tests/test_calculo_valor.py
b9937725647176625a87a38fcdf2beda92c462b1
[]
no_license
nizbel/bag-of-gold
1da10acef4d73b8426ca3329b37a28c5f9587af4
a3fd89eb47d33d546bd91947f033d71218c8700f
refs/heads/master
2022-11-13T01:07:26.934813
2020-01-14T16:00:16
2020-01-14T16:00:16
275,689,573
0
0
null
null
null
null
UTF-8
Python
false
false
6,335
py
# -*- coding: utf-8 -*- from bagogold.bagogold.models.taxas_indexacao import HistoricoTaxaDI from bagogold.bagogold.utils.misc import verificar_feriado_bovespa from bagogold.cri_cra.models.cri_cra import CRI_CRA, OperacaoCRI_CRA,\ DataRemuneracaoCRI_CRA from bagogold.cri_cra.utils.utils import calcular_rendimentos_...
[ "kingbowserii@gmail.com" ]
kingbowserii@gmail.com
2a82469f3daecfecd5dc46ed0ecb2bc0cb295c98
d4abaedd47e5a3ce3e8aa7893cb63faaa4064551
/codechef/july17/prob1.py
e2ee87922e8ff7bd9190c4b43e8e02e9c71be3a7
[]
no_license
shiv125/Competetive_Programming
fc1a39be10c0588e0222efab8809b966430fe20f
9c949c6d6b5f83a35d6f5f6a169c493f677f4003
refs/heads/master
2020-03-15T19:47:12.944241
2018-05-06T08:18:11
2018-05-06T08:18:11
132,317,356
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
t=input() while t>0: t-=1 arr=map(str,raw_input().split()) ln=len(arr) if ln==1: print arr[0][0].capitalize()+arr[0][1:].lower() elif ln==2: print arr[0][0].capitalize()+". "+arr[1][0].capitalize()+arr[1][1:].lower() else: print arr[0][0].capitalize()+". "+arr[1][0].capitalize()+". "+arr[2][0].capitalize()+...
[ "shivdutt@shivdutt-Lenovo-G50-80" ]
shivdutt@shivdutt-Lenovo-G50-80
599d54e9a9c4f3ed4b1073a39c1e67a1e4398ab5
f84a32913d91f0508e68f0a90651dd9ed2d897f1
/lib/python/treadmill_aws/plugins/fs/__init__.py
68eac47361491fb7c2b371ef4fddd693e4926281
[ "Apache-2.0" ]
permissive
bretttegartms/treadmill-aws
f5a4dad8c90edb09bb4b57ef982e7262d48cad3a
b6b6438d19adbbabcbcccf1497965b72d11d50bd
refs/heads/master
2020-03-11T16:22:49.491142
2019-04-25T16:26:20
2019-04-25T16:26:20
129,757,973
0
0
Apache-2.0
2018-04-16T14:39:37
2018-04-16T14:39:36
null
UTF-8
Python
false
false
33
py
"""Treadmill AWS FS plugins. """
[ "ceache@users.noreply.github.com" ]
ceache@users.noreply.github.com
2cee56c3d0f126f5db319d4630c0ab7416e5b925
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/HH3C-AFC-MIB.py
5abf489fa03849bb80c782e7753868bdd91da8b0
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
4,975
py
# # PySNMP MIB module HH3C-AFC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-AFC-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:12:32 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019,...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
ae36de6206150b2f4fbf97f2582040e78e7557d7
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5644738749267968_1/Python/juliuswwj/D.py
6bfa6d42155423025efb41b5c8e28f878f360854
[]
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
842
py
#!/usr/bin/python import sys, io def getwar(a, b, N): i = 0 j = 0 while i<N: while j<N and b[j] < a[i]: j += 1 if j>=N: break i += 1 j += 1 return N - i def getdwar(a, b, N): i = 0 j = 0 mj = N c = 0 while j<mj: ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
3c7949503543fbb6b9b0fcec0e7dde61809ceba8
9b2eb0d6b673ac4945f9698c31840b847f790a58
/pkg/apteco_api/models/modify_items_modify_user_collection.py
330dff9442b8027f1bba623a92ada16588a9a07b
[ "Apache-2.0" ]
permissive
Apteco/apteco-api
6d21c9f16e58357da9ce64bac52f1d2403b36b7c
e8cf50a9cb01b044897025c74d88c37ad1612d31
refs/heads/master
2023-07-10T23:25:59.000038
2023-07-07T14:52:29
2023-07-07T14:52:29
225,371,142
2
0
null
null
null
null
UTF-8
Python
false
false
5,000
py
# coding: utf-8 """ Apteco API An API to allow access to Apteco Marketing Suite resources # noqa: E501 The version of the OpenAPI document: v2 Contact: support@apteco.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from apteco_api.configu...
[ "tim.morris@apteco.com" ]
tim.morris@apteco.com
96d3a7a8001b4443f776c49275f94ee01da23ea5
c2c813717d1ab5df2e912d510595e71eb26d505a
/mineralization/clean code/tooth_to_water_simple_antelop.py
d4357580a9d61c29f1ffd0a1fee20f640c153acd
[]
no_license
danielrgreen/toothmin
7dfaa17dea34c6b42b8196652fb0d1ebcaf4b798
307d675225c69340745454ba220df1a5c4089d7a
refs/heads/master
2020-12-24T16:34:07.595761
2017-11-08T19:07:15
2017-11-08T19:07:15
13,531,025
0
0
null
2014-07-25T19:47:58
2013-10-12T23:44:17
Python
UTF-8
Python
false
false
72,463
py
# Daniel Green, Gregory Green, 2014 # drgreen@fas.harvard.edu # Human Evolutionary Biology # Center for Astrophysics # Harvard University # # Mineralization Model Re-Size: # this code takes a larger mineralization model # and produces images demonstrating mineral density # increase over time, total density over time, o...
[ "drgreen@fas.harvard.edu" ]
drgreen@fas.harvard.edu
09784e5918bfdaa884cc97c756f00dc6cdd34fab
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2715/60765/286742.py
2f9a3aab82bd3dd1b4da01b47e6253b1d26cad85
[]
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
1,141
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import math import sys import re import collections def solve(): def root(i): if union[i]==-1: return i else: return root(union[i]) # =list(map(int,input().split())) # =int(input()) # n =input()[2:-2].split('],[') ...
[ "1069583789@qq.com" ]
1069583789@qq.com
92e09ef454ef4c924aff294236896cf3af811ed4
9aaf7732b94429d97022210f7c5b03953e88c158
/maico/server/dialogue_system/language_understanding/dialogue_act_type/rule_based_estimator.py
cb00022dc7882a8b2cb10923fbb8ba8f702ca5f6
[ "Apache-2.0" ]
permissive
tech-sketch/maico
12f55101ee10f336400517a7f3f567ad1a1a54e3
fdff4185275ccf2d93518c405e2059ad509c56e2
refs/heads/master
2021-03-22T04:32:12.244453
2016-10-03T11:08:19
2016-10-03T11:08:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
# -*- coding: utf-8 -*- class RuleBasedDialogueActTypeEstimator(object): def __init__(self): pass def estimate(self, attribute): if attribute['small_area']: return 'RespondSmallArea' elif attribute['middle_area']: return 'RespondMiddleArea' elif attribu...
[ "light.tree.1.13@gmail.com" ]
light.tree.1.13@gmail.com
16ef36f4796039366fe41d46e4381f08464b2e66
5c5b34f6f598a43ddfbd473228737a27c26d1d8e
/utils/ListNode.py
104c571f5ecb5b94c3143ba4c46f78fc5ce11ab7
[]
no_license
lovehhf/LeetCode
34a1bc140b10dc83a32ef9a70f9c73176948a9c4
5d3574ccd282d0146c83c286ae28d8baaabd4910
refs/heads/master
2021-11-04T04:52:34.518621
2021-10-26T15:34:47
2021-10-26T15:34:47
173,673,492
0
0
null
2020-03-03T14:54:09
2019-03-04T04:26:15
Python
UTF-8
Python
false
false
1,266
py
# -*- coding:utf-8 -*- __author__ = 'huanghf' class ListNode: def __init__(self, x): self.val = x self.next = None def __repr__(self): r = "" t = self for i in range(10): if t is None: break r += str(t.val) + "->" t ...
[ "853885165@qq.com" ]
853885165@qq.com
7b5b5d357de8e0fb737b6fff8162b12e07b4597c
6a4e39a39caf76bcffdd3856786119104d8bdfae
/tests/test_core.py
cc0ecfed055146553622ffcba78c560cba79f666
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
sumanthjamadagni/pyoz
22cd43c6dbbc5f741018f0a4c9827464683dfccb
747e6b87df2e2863aaaccec426b4924ef8c78371
refs/heads/master
2021-01-13T07:14:07.086940
2016-10-20T14:35:17
2016-10-20T14:35:17
71,503,060
0
0
null
2016-10-20T20:45:41
2016-10-20T20:45:41
null
UTF-8
Python
false
false
4,426
py
from math import isclose import numpy as np import pytest import pyoz as oz from pyoz.exceptions import PyozError def test_init_system(): name = 'A' dr = 0.05 n_points = 4096 s = oz.System(name=name, dr=dr, n_points=n_points) assert len(s.r) == n_points - 1 assert isclose(s.r[1] - s.r[0], dr...
[ "christoph.t.klein@me.com" ]
christoph.t.klein@me.com
6f9973ef91346a6eacc4e7d4f468035b4153a1f0
122caa7eb08f22aab2c00f143087dd640cf3f8ff
/shipping/deploy/conda.py
7fcf4e5b0605d041358bd976932786cd0f61fb99
[ "MIT" ]
permissive
Clinical-Genomics/shipping
b6b8cb39d5287c1ef9eeec5d8c33e248f39ebc05
e615942c08f1164980b7ffd4c1cd88c2a1fa5c32
refs/heads/master
2022-12-25T17:44:03.728319
2020-10-12T07:48:34
2020-10-12T07:48:34
300,389,302
0
0
MIT
2022-11-10T10:04:35
2020-10-01T18:49:33
Python
UTF-8
Python
false
false
1,882
py
"""Code to deploy a package into a conda environment""" import logging from shipping import environment from shipping.commands import Process from shipping.environment import get_python_path LOG = logging.getLogger(__name__) def check_if_deploy_possible(conda_env_name: str) -> bool: """Function to check if con...
[ "mans.magnusson@scilifelab.se" ]
mans.magnusson@scilifelab.se
527253e05bff5510c8759ab8858fa1fff8f7527e
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/zuora_client/models/usage_flat_fee_pricing_update.py
b61971bf2ede4160a5ab3d4b0988656e9438bd5b
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
44,531
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
d483c6b74875ec222bedc8373be5de0ae36c195c
3e4b3dd03a2b919c256cffdea144400b25f08268
/mysite/mycalendar/migrations/0009_auto_20180802_1908.py
548d4cf8c9215a4990121b7fdb8c31935ee3a024
[]
no_license
1shikawa/deliverables
5df7006335433c536ba1d854534c397f37f3c361
961693c25236867c2c9fa93687809d4b4ca1faad
refs/heads/master
2020-03-30T18:54:06.662358
2018-11-01T07:25:56
2018-11-01T07:25:56
148,773,370
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# Generated by Django 2.0.7 on 2018-08-02 10:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mycalendar', '0008_auto_20180802_1838'), ] operations = [ migrations.AlterField( model_name='schedule', name='LargeI...
[ "ishikawa.toru@gmail.com" ]
ishikawa.toru@gmail.com
d1093e71e645162ff5b3724967eb5528bb6e3f55
51b74a1aa27239664cfea20b36e37a0238af987f
/Practice/OJUMPS.py
c395d5399da19bd7adcbcf2843927483251972bd
[ "MIT" ]
permissive
anirudhkannanvp/CODECHEF
2812c32caafe024bda6a167e5b5f57d9037ea8de
6d108058c11207caa2e35e471ba88f84c0ea9774
refs/heads/master
2021-01-21T23:48:08.374678
2018-04-03T16:29:26
2018-04-03T16:29:26
102,181,572
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
n=int(input()) ans=n%6 if(ans==0 or ans==1 or ans==3): print("yes") else: print("no")
[ "noreply@github.com" ]
anirudhkannanvp.noreply@github.com
738043b10b4447184bc175c4f4fd521e85a575bd
1061216c2c33c1ed4ffb33e6211565575957e48f
/python-legacy/openapi_client/models/rate_limited_error.py
249d386f6b9a8d287a066d99a7a5fe499fc2943f
[]
no_license
MSurfer20/test2
be9532f54839e8f58b60a8e4587348c2810ecdb9
13b35d72f33302fa532aea189e8f532272f1f799
refs/heads/main
2023-07-03T04:19:57.548080
2021-08-11T19:16:42
2021-08-11T19:16:42
393,920,506
0
0
null
null
null
null
UTF-8
Python
false
false
4,723
py
# coding: utf-8 """ Zulip REST API Powerful open source group chat # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ try: from inspect import getfullargspec except ImportError: from inspect import getargspec as getfullargspec import p...
[ "suyash.mathur@research.iiit.ac.in" ]
suyash.mathur@research.iiit.ac.in
72df07585baaf4b9f28c8d6b4bc074cac2b6144a
10d17864a685c025bb77959545f74b797f1d6077
/capitulo 06/06.38.py
1eed19c67e519f9ab5c20e19956237e17c959e30
[]
no_license
jcicerof/IntroducaoPython
02178d2dfcaa014587edbd3090c517089ccef7c2
02e619c7c17e74acdc3268fbfae9ab624a3601dd
refs/heads/master
2020-04-24T18:12:21.422079
2019-02-23T05:14:43
2019-02-23T05:14:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2019 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Segunda edição - Junho/2014 - ISBN 978-85-7522-408-3 # Terce...
[ "jose.cicero@gmail.com" ]
jose.cicero@gmail.com
d3d1fd96f23092f9b1498a089f8524b64c352cd3
27ba6b3f865631c9c0fea429842e41a0fdc27241
/easy_unpack.py
99fd56a94a4921cd468eb308a79a67e153b4d513
[]
no_license
jigi-33/checkio
7c3b0b68213ef6777df3247edc888805e0c505b8
afbfe565618c3e81dbc8f24249bf6832239ece0a
refs/heads/master
2022-05-22T00:22:26.117962
2020-04-20T10:12:07
2020-04-20T10:12:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
def easy_unpack(elements: tuple) -> tuple: lst = [elements[0], elements[2], elements[-2]] tup = tuple(lst) return tup if __name__ == '__main__': print('Examples:') print(easy_unpack((1, 2, 3, 4, 5, 6, 7, 9))) assert easy_unpack((1, 2, 3, 4, 5, 6, 7, 9)) == (1, 3, 7) assert ...
[ "pollicier@gmail.com" ]
pollicier@gmail.com
a661141aa4b5b6fd0f3b8519ced1759d5a8a59e1
290394852b7fb70f791c6c4bb96141523ab96090
/ExpertIdeas_WikipediaProxyServer_Bot_EmailTracking/ExpertIdeas/core/tests/pagegenerators_tests.py
e51483579ab39388ba317ec89ac9d7bf30c03a19
[ "MIT" ]
permissive
ImanYZ/ExpertIdeas
da1564671f2cfe92d9de3fce68b82552cc6f33f7
23e23240854aef59108b16b63a567fffb2aabb69
refs/heads/master
2022-07-27T08:11:36.481824
2022-07-16T20:32:47
2022-07-16T20:32:47
144,018,052
0
0
null
null
null
null
UTF-8
Python
false
false
6,311
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Pywikibot team, 2014 # # Distributed under the terms of the MIT license. __version__ = '$Id: f5183bbb36aed0a1aed455aed8d45aa32be8ae5c $' import sys import pywikibot from pywikibot import pagegenerators from tests.utils import unittest, PywikibotTestCase class TestP...
[ "oneweb@umich.edu" ]
oneweb@umich.edu
da97e6abb08e78b74b52127ea3101f4f46a4c4dc
66ff3d5c4dc5a57304e15927de4068c836c6c68e
/Week_06/53/maximum_subarray2.py
9ca9aa589984b494812a4cea8bb44e8dc1b63a46
[]
no_license
ppd0705/10-week-algorithm-excercise
375ddcb9176c06a78aa296cdfd1b5c06ee93ae17
6a60a86a493bee190ad3551193b141da1873016c
refs/heads/master
2023-03-02T04:01:55.380523
2021-01-31T23:21:47
2021-01-31T23:21:47
318,496,360
1
1
null
null
null
null
UTF-8
Python
false
false
799
py
from typing import List from collections import namedtuple status = namedtuple("Status", ["l_sum", "r_sum", "i_sum", "m_sum"]) class Solution: def maxSubArray(self, nums: List[int]) -> int: return self.get(nums, 0, len(nums) - 1).m_sum def push_up(self, l: status, r: status) -> status: retu...
[ "ppd0705@163.com" ]
ppd0705@163.com
ec33e4e5d4eed083fe253cae856d0d5f379edf7a
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/devices/v20210702preview/get_iot_hub_resource_event_hub_consumer_group.py
9ebb7887604f90513d5581b3b49b134c09b4fb60
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,584
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
2f872eae9df5a564a057e98f0622c9209c9388bc
a1f2df675cfc595b15f1ca9390b7517989f2d4e0
/testCase/performance/result_opprtunities_amount/result_oppotunitites_amount_departments.py
41266fcca76dc0f3249ac48f57601621d1b90605
[]
no_license
GGGYB/crm
d4def2f1abc89451e1c4b11b89ef100a842ed745
61932466dd0ac299adc661383d506389d5f0f8e7
refs/heads/master
2022-04-15T21:29:48.539311
2020-04-14T10:23:41
2020-04-14T10:23:41
255,575,666
0
0
null
null
null
null
UTF-8
Python
false
false
6,478
py
# -*- coding: utf-8 -*- import datetime import os import codecs import operator from commons.const import const from testCase.login import testLogin as login from testCase.performance import result import json class result_opportunities_amount_departments: def __init__(self): self.base_url = const.BASE_U...
[ "nlnongling@163.com" ]
nlnongling@163.com
68879c7d14c0e0a2643c8db05febedc230a23bc4
7b8f68ecf2f75e1568ece86b8f4c60d32606ee5d
/ZAStatAnalysis/utils/labellines.py
dcf26e7c9004ada7885764e8ea9231281db21293
[]
no_license
kjaffel/ZA_FullAnalysis
c86c3f265817e7b9fc4877943c0bd4f3937eed10
30df434202df51017309b5bf88a1d9b94041b6ef
refs/heads/master
2023-08-19T10:42:53.054337
2023-08-13T10:47:02
2023-08-13T10:47:02
194,130,550
11
4
null
2023-03-07T10:21:22
2019-06-27T16:38:34
Python
UTF-8
Python
false
false
2,611
py
from math import atan2,degrees import numpy as np import logging LOG_LEVEL = logging.DEBUG LOGFORMAT = " %(log_color)s%(levelname)-8s%(reset)s | %(log_color)s%(message)s%(reset)s" import colorlog from colorlog import ColoredFormatter logging.root.setLevel(LOG_LEVEL) formatter = ColoredFormatter(LOGFORMAT) stream = lo...
[ "khawla.jaffel@cern.ch" ]
khawla.jaffel@cern.ch
22f70244e4544349bd65dd7f473ce789eb2d0f8b
1a1335a74eaf3bf0a853bb3836e109c8218ea292
/transcrypt/modules/org/transcrypt/compiler_bu.py
59d7def7f56fa1dc3176120ad67e093348891ca8
[ "Apache-2.0" ]
permissive
Musbell/Transcrypt
582af872d1ec21016632f92b37c892dd4ac956af
db01dc0c326f329399bd5b974597221a749a3cc3
refs/heads/master
2021-01-14T12:26:26.699078
2016-03-17T15:35:27
2016-03-17T15:35:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
54,509
py
# ====== Legal notices # # Copyright 2014, 2015, 2016 Jacques de Hooge, GEATEC engineering, www.geatec.com # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/l...
[ "info@qquick.org" ]
info@qquick.org
49e0d6b50639328af8800b8e82ea608288e63939
8ab265b09af7c968803875e9da2e8a3620fa6f7c
/marketing_campaign_crm_demo/__openerp__.py
113d1bf9e469b2a6810314f40551f3047288d636
[]
no_license
limweb/my-openerp-addons
5be34a4611c265055096f8cd0479e68d0f5eb6d2
1c30894b5ce5249261f1dae297ed427d78813b02
refs/heads/master
2021-01-01T18:11:37.685202
2012-10-27T08:16:41
2012-10-27T08:16:41
32,463,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "thitithup@63ab4253-1d0f-0ef1-39c5-73446a8bc111" ]
thitithup@63ab4253-1d0f-0ef1-39c5-73446a8bc111
4484b12f454f824780c1a9bcd39295b04ed9aa2f
296132d2c5d95440b3ce5f4401078a6d0f736f5a
/homeassistant/components/whirlpool/climate.py
ad4cd2ea389ba9d8e4566ab405d2b1d62fbea881
[ "Apache-2.0" ]
permissive
mezz64/home-assistant
5349a242fbfa182159e784deec580d2800173a3b
997d4fbe5308b01d14ceabcfe089c2bc511473dd
refs/heads/dev
2023-03-16T22:31:52.499528
2022-12-08T02:55:25
2022-12-08T02:55:25
68,411,158
2
1
Apache-2.0
2023-03-10T06:56:54
2016-09-16T20:04:27
Python
UTF-8
Python
false
false
6,403
py
"""Platform for climate integration.""" from __future__ import annotations import logging from typing import Any from whirlpool.aircon import Aircon, FanSpeed as AirconFanSpeed, Mode as AirconMode from whirlpool.auth import Auth from whirlpool.backendselector import BackendSelector from homeassistant.components.clim...
[ "noreply@github.com" ]
mezz64.noreply@github.com
f53add19e40206da4bdd86a0672cfdd737e36b33
3665ef60ba2cde4c13a8d192b8779a2f43dd9980
/python/ray/autoscaler/_private/aws/cdk/app.py
4ffb6b10c53bac9578f54e6422975c094b644c74
[ "MIT", "Apache-2.0" ]
permissive
QPC-database/amazon-ray
45783aa27977d7afda0bfa1b076be414f5dd1328
55aa4cac02a412b96252aea4e8c3f177a28324a1
refs/heads/main
2023-06-12T17:07:49.202429
2021-07-08T17:58:32
2021-07-08T17:58:32
384,644,975
1
0
Apache-2.0
2021-07-10T08:05:02
2021-07-10T08:05:02
null
UTF-8
Python
false
false
2,381
py
#!/usr/bin/env python3 import os import sys import boto3 from aws_cdk import core from ray_ec2.ray_ec2_stack import CdkStack, AmazonRayStackProps # amzn-ray 1.2.0, cp37, us-east-1 DEFAULT_AMZN_RAY_AMI = "ami-0a4da390e7a168bb9" AMZN_RAY_AMI_ACCOUNT = "160082703681" def _get_default_ami_helper(): client = boto3....
[ "noreply@github.com" ]
QPC-database.noreply@github.com
82feb35d5fd6600d44928c18e22b6f78ba706ee4
51860e283183514df0f03c995ecb08906b63438a
/accounts/views.py
53b959791d38688d69af28f05e1d55d80071ab30
[]
no_license
Gentility01/facebook
a8c596d07b51569f0cc39accda149c6fb010bb99
e823f2a372511ac419b3954ff6af878a2ea2a764
refs/heads/main
2023-03-30T14:14:00.735265
2021-04-05T03:43:09
2021-04-05T03:43:09
339,988,116
0
1
null
null
null
null
UTF-8
Python
false
false
3,200
py
from django.shortcuts import render,redirect from . import urls from .forms import UserRegistrationForm, UserUpdateForm, ProfileUpdateForm from django.contrib import auth from django.contrib import messages from django.contrib.auth import logout from django.contrib.auth import login,authenticate # from django.contrib.a...
[ "mastergentility5@gmail.com" ]
mastergentility5@gmail.com
59b0c5d33cdb167b4e0e97d467122606718b04c4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/462/usersdata/343/105290/submittedfiles/avenida.py
038de782035239b5dc4b09050662711d037933e3
[]
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
584
py
# -*- coding: utf-8 -*- while True: m = int(input('quadras no sentido leste-oeste: ')) if m>=2 and m<=1000: break while True: n = int(input('quadras no sentido norte-sul: ')) if n>=2 and n<=1000: break bairro = [] for i in range(0,n,1): v = [] for j in range(0,m,1): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ea1decdd61f07c8ef33597c4e43a0904a621eea1
a32056487cebf6bfafef8daac9e31ebfa6b16638
/problem-6.py
e789273583e56deff6bc2bca63755a5ff27a9fe1
[]
no_license
samuelreboucas07/Challenges-Project-Euller
e71f9ed99dd6d44f9d5ca746a3f583c75e2fe8e1
cb155918237606e1a2472a872a422fd6587693b5
refs/heads/main
2023-04-16T11:47:51.922055
2021-04-28T12:13:02
2021-04-28T12:13:02
347,523,638
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
# Sum square difference def square(number): return number ** 2 limit = 100 sum = 0 sum_squares = 0 for i in range(0, limit+1): sum_squares += square(i) sum += i difference = (sum**2) - sum_squares print('Diferença entre a soma dos quadrado e o quadrado da soma é: '+str(difference))
[ "samuelreboucas07@hotmail.com" ]
samuelreboucas07@hotmail.com