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
dbc58c36f51e067b5792e8bba74e4cd68f634ce3
d8aa1e426d1948dd87474c11517cdc4bb6e59c8c
/odps/ml/clustering/tests/test_clustering.py
29c5a9e8e62ec151bf04f4f048567f914132cade
[ "Apache-2.0" ]
permissive
albin3/aliyun-odps-python-sdk
ac39c0f53445356c191e38c98d6e7a66bf6865b6
96ab538a42f2aa171d69c64d70e73603abb2618e
refs/heads/master
2020-06-22T13:37:42.090092
2019-07-19T09:48:21
2019-07-19T09:56:11
197,723,112
1
0
Apache-2.0
2019-07-19T07:21:48
2019-07-19T07:21:46
null
UTF-8
Python
false
false
2,552
py
# encoding: utf-8 # Copyright 1999-2017 Alibaba Group Holding 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "xuye.qin@alibaba-inc.com" ]
xuye.qin@alibaba-inc.com
824ac665eb9743aae15f523ed34bffb43888310e
791b790ce8a4ad93ab88cf9a2aea3b2dd70652dc
/Interviews/Coursera/Software Engineer - University Graduate 2018/Royal Names.py
6df3a727f4c45685c3cb94375b6be50e3d1c9906
[ "MIT" ]
permissive
Debasmita-01/Competitive-Programming
16d8778db5ff225519404e88afa4cccf830006b7
547859d6ded88a0d3977c2f6e747d80235c054cd
refs/heads/master
2022-12-25T11:14:55.129524
2020-10-01T05:22:01
2020-10-01T05:22:01
300,511,195
3
1
MIT
2020-10-02T06:06:30
2020-10-02T05:32:52
null
UTF-8
Python
false
false
600
py
# Complete the function below. def getSortedList(names): names = sorted(names, key=lambda element: (element.split()[0], getNumber(element.split()[1]))) return names def getNumber(num): dp = {} dp['C'] = 100 dp['L'] = 50 dp['X'] = 10 dp['V'] = 5 dp['I'] = 1 ans = 0 prevDigit = 0...
[ "manish.bisht490@gmail.com" ]
manish.bisht490@gmail.com
8609c4d0534ec4d52e73be728e3de01adb96a311
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/apimanagement/v20210401preview/named_value.py
f4c6d89748e2fb3d16a32081f121f3503e68a93e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,602
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 fro...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
b6cd95ded91b5a0797a57428311e302a5fb11d19
a8062308fb3bf6c8952257504a50c3e97d801294
/problems/N1339_Maximum_Product_Of_Splitted_Binary_Tree.py
62575977d79131dfadeb0bbdccfa66415c90240c
[]
no_license
wan-catherine/Leetcode
650d697a873ad23c0b64d08ad525bf9fcdb62b1b
238995bd23c8a6c40c6035890e94baa2473d4bbc
refs/heads/master
2023-09-01T00:56:27.677230
2023-08-31T00:49:31
2023-08-31T00:49:31
143,770,000
5
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
from .Utility_Tree import TreeNode class Solution(object): def maxProduct(self, root): """ :type root: TreeNode :rtype: int """ if not root: return 0 self.total = self.get_tree_sum(root) self.res = 0 self.check(root) return self.res...
[ "rarry2012@gmail.com" ]
rarry2012@gmail.com
3852d878520964395974e62a6e8d3b31018153ac
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_hooks.py
139269a61eae4e7a20a5825b8424d68a6bf5632c
[ "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
224
py
from xai.brain.wordbase.verbs._hook import _HOOK #calss header class _HOOKS(_HOOK, ): def __init__(self,): _HOOK.__init__(self) self.name = "HOOKS" self.specie = 'verbs' self.basic = "hook" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0cf7929da113ffdc5d79ad4288a52d6842ab9e03
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1320780/homework04/program01.py
392eac6da8f1b4c1947dffe56e48a478e5fe7f6d
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
2,199
py
import json import copy def getFatherTree(dic): fDic = {} for k in dic: val = dic[k] for vK in val: fDic[vK] = [k] return fDic def loadJson(fnome): with open(fnome, 'r') as fi: dic = json.load(fi) return dic def saveJson(fout, dic): with open(fout, 'w')...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
2fe7bdef898f49a919f053dcbbfbfb1329b60123
da0c8e14a2979c5e997a2d28c1baed426d30010f
/py3.6/multiprocess/__init__.py
016291f377bff9a2f71952cb405161768919902b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
JayDeng2837/multiprocess
0bbd0a0197068ddea90a370effcd50ffd43fad4c
56a6aad861563982ef26f04fbb36f2828024a8ec
refs/heads/master
2020-12-02T06:39:59.729043
2017-07-07T00:30:27
2017-07-07T00:30:27
96,874,445
1
0
null
2017-07-11T09:14:15
2017-07-11T09:14:14
null
UTF-8
Python
false
false
952
py
# # Package analogous to 'threading.py' but using processes # # multiprocessing/__init__.py # # This package is intended to duplicate the functionality (and much of # the API) of threading.py but uses processes instead of threads. A # subpackage 'multiprocessing.dummy' has the same API but is a simple # wrapper for 't...
[ "mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df" ]
mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df
3cc5724f79a77a25057c13d669abde59a0f90b1f
4ad14e547695daaf4637c0790c21245a99fb6114
/tubatu_scrapy_project/tubatu_scrapy_project/pipelines.py
c07d927f07e106d49bff241fcccbc6464ed416b9
[]
no_license
gxl2632537/pachong
b8e1c26ef0e13504dc084b8e12975823126dac41
1ec30451e83a66768b4616ed9d736af8ee53deba
refs/heads/master
2022-11-07T02:16:42.549654
2020-06-30T09:47:34
2020-06-30T09:47:34
272,400,120
1
0
null
null
null
null
UTF-8
Python
false
false
3,736
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html # 定义Item Pipeline的实现,实现数据的清洗,储存,验证。 # 这里我导入是myql 我不用mogodb from os.path import dirname import pymysql import scrapy from scra...
[ "l" ]
l
d1e3fa0b2a5df02920025b17589dc8fb231726fc
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/surface/iot/registries/describe.py
5a94d6309ca19e63c1ee5c1964fefa7f4eb395e9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
1,155
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
94cf45d8f4b4902f6a436852a9d77af215be5b45
2caf6885511af24443e22aaa43cd679d694f6f80
/note/download_note/first_month/day07/exercise03.py
a53ed8bceaf5ad5fb1166ca9c589a0f0e2a9950a
[]
no_license
nandadao/Python_note
7f9ba54a73af05c935b4f7e24cacb728859a6c69
abddfc2e9a1704c88867cff1898c9251f59d4fb5
refs/heads/master
2020-11-25T18:29:50.607670
2019-12-19T01:28:02
2019-12-19T01:28:02
228,793,207
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
list01 = [ [1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16], ] # 1. 打印二维列表第三行数据(一行一个) for item in list01[2]: print(item) # 2. 打印二维列表第二列数据(一行一个) # print(list01[0][1]) # print(list01[1][1]) # print(list01[2][1]) # print(list01[3][1]) # 0 -- 3 for r in range(len(list01)): print(list01...
[ "1361335953@qq.com" ]
1361335953@qq.com
363202a69ac7f58184b0484055ad6a0303639743
1baea33aa23c6d8202af6bda3569df63cc40740c
/meiduo_mall/meiduo_mall/apps/goods/urls.py
e45c5f3cef6b87013c2fb6ecdd8e57f1fa077ae1
[]
no_license
GitFebruary/meiduo
3ee8a31bd9284a8787c70747f2c38e6c9301b65a
0c0afe11bf475d838d1af3791ca4e145ba71a380
refs/heads/master
2020-04-09T01:27:52.625346
2018-12-01T09:27:38
2018-12-01T09:27:38
159,905,528
0
0
null
2018-12-01T09:33:57
2018-12-01T03:34:44
HTML
UTF-8
Python
false
false
397
py
from django.conf.urls import url from goods import views from rest_framework.routers import DefaultRouter urlpatterns = [ url(r'^categories/(?P<pk>\d+)/$', views.CategroiesView.as_view()), url(r'^categories/(?P<pk>\d+)/skus/$', views.SKUListView.as_view()), ] router=DefaultRouter() router.register('skus/sear...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
78ed543f26b8508ba740bddd0b2a0e96a99f37d1
81ec35443bc2567118aece66254c021e73f960d1
/python3/foo/__init__.py
578f0af101ae678aea5810468aa645a66a969350
[]
no_license
folkol/tutorials
95f1d641843cc26c04a79f74270721c7de4ac628
962b0fd89dac244e7f9dcb03773a25d96413fb0b
refs/heads/master
2023-08-17T18:50:18.358911
2023-08-02T20:46:53
2023-08-02T20:47:35
66,833,956
0
0
null
2023-09-05T03:40:46
2016-08-29T10:26:01
JavaScript
UTF-8
Python
false
false
87
py
print('Initializing package foo') lul = 'lul' print('Path (inside foo):', __path__)
[ "mattias4@kth.se" ]
mattias4@kth.se
9d9f5b7514312d9efb9498a3888392de3cbc1589
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_generated/aio/_client.py
340ee54e286f7077a92631962b8cf9488a5ccadf
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
4,606
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
7084b2ca48efd12a8a6750a456492ae509898b3f
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_3689.py
6f57d923230bdf386100c473faa32c34bfc636b8
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
# How to override the `is` operator __eq__
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
4a94ed2c65e84fe0beaaa60b56ba860fe7b85500
e89bf0ff1f31b72ba7d7f03ca628896bb9a6627d
/scripts/api_queries.py
d43b143c6ce54ad248543d7a41d680739415a29e
[ "MIT" ]
permissive
datosgobar/series-tiempo-ar-api
3946ea3bf5652c31594886a00e5579ad8167168d
6b553c573f6e8104f8f3919efe79089b7884280c
refs/heads/master
2021-12-05T19:10:14.959322
2021-11-30T12:25:54
2021-11-30T12:25:54
97,857,863
31
16
MIT
2021-06-10T20:14:22
2017-07-20T16:43:33
Python
UTF-8
Python
false
false
1,800
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Realiza queries a la API de series de tiempo para testeo.""" from __future__ import unicode_literals from __future__ import print_function from __future__ import with_statement import os import os import sys import pandas as pd import numpy as np import requests from ...
[ "agusbenassi@gmail.com" ]
agusbenassi@gmail.com
0f8e697191f804e3c2ec0cf939224f64d7f08e3c
a6fe8aeaa30a22b65d98a2bb360b6d761a2e17fc
/venv/lib/python2.7/site-packages/kubernetes/client/models/v1beta2_deployment.py
f36ea8ebafbb1487ab54cff683541a865e1dd705
[ "MIT" ]
permissive
784134748/kubernetes-install
54a2a8e83e2f47f2064270649725899282b7b244
5df59632c2619632e422948b667fb68eab9ff5be
refs/heads/master
2022-12-15T13:52:43.486633
2019-03-27T13:01:06
2019-03-27T13:01:06
176,937,818
0
0
MIT
2022-05-25T01:56:18
2019-03-21T12:13:41
Python
UTF-8
Python
false
false
7,093
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.12.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "784134748@qq.com" ]
784134748@qq.com
4b2ca8a381f3c2b73934a472be3269c4c94ec63b
8a3c1c66828008941dffad983ad79936830045d7
/memo/combination.py
381722bfab421b94c708b1732e157852e326a402
[ "MIT" ]
permissive
nishio/atcoder
71130c7923f557b5269ffd8063dab1f7e2732a30
8db36537b5d8580745d5f98312162506ad7d7ab4
refs/heads/master
2023-04-15T07:41:00.322297
2021-04-25T09:00:26
2021-04-25T09:00:26
273,831,891
1
0
null
null
null
null
UTF-8
Python
false
false
23,111
py
""" Power, Inverse, Factorial, InvFactorial, Combination best solution: - Power: makePowerTableMaspyNumba 13msec - Inverse: makeInverseTableNumba 47msec - Factorial: makeFactorialTableMaspyNumba: 13msec (K is excluded) - ...: makeFactorialTableMaspy2Numba: 13msec (K is included, x! == ret[n-1]) - InvFactorial: makeIn...
[ "nishio.hirokazu@gmail.com" ]
nishio.hirokazu@gmail.com
ef5a87fee87cf678cec1792a9f2e6f84d24962af
b0d7f360dc12f6f48a84395eab3ba66f89ec71f0
/cms/templatetags/escape_tags.py
7cadfd5289a985b8c78566fd6277efd505783dac
[]
no_license
Adham7533/django_fraeen
38dcb3a08d35ba95b0991908e973516e7a120176
e193f020f885a23c4efa6ecbd8ef3b859485929f
refs/heads/main
2023-02-15T05:19:30.849394
2021-01-16T20:16:16
2021-01-16T20:16:16
330,225,713
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
from django.utils.html import strip_tags from django import template register = template.Library() @register.filter(name='escape_tags') def escape_tags(string): return strip_tags(string)
[ "you@example.com" ]
you@example.com
705b69961d6ef6f15527f8a41216e0252e8b2f47
408f8c561a695ac20b792ba0c4a230c154dad347
/experiments/stepsizes/sbs_compare-stepsizes-algs.py
36498c846f6d013d8a82bd5b13ba98fef7f62604
[]
no_license
andnp/acceleration-v2
a407888c74a247e6d441259d50d77cf6194f728b
52b8a42c3e315ddbb4549a3a941afda81e92be9b
refs/heads/master
2022-11-26T05:42:17.680125
2020-08-02T23:25:01
2020-08-02T23:25:01
204,991,770
0
0
null
null
null
null
UTF-8
Python
false
false
3,658
py
import os import sys import glob import matplotlib.pyplot as plt sys.path.append(os.getcwd()) from itertools import tee from src.analysis.learning_curve import plot, save, plotBest from src.analysis.results import loadResults, whereParameterGreaterEq, getBest, find from src.analysis.colormap import stepsize_colors as ...
[ "andnpatterson@gmail.com" ]
andnpatterson@gmail.com
d098ee70b4ea10461a5efc37450176fcc58149c7
fe0432cd6fa8cfdd38cd2fd8e0447e3e28796141
/Trees/min_depth_binary_tree.py
516959950cb161820c981e856704c66b55177a05
[]
no_license
MuberraKocak/data-structure-python
6e16f76d241975535d6e5ba43620149b606725e9
23bce4198080a06f5127f845b5f17cbc4e9adfa2
refs/heads/master
2023-04-21T23:46:58.094265
2021-05-14T05:03:20
2021-05-14T05:03:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
from collections import deque class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None def find_minimum_depth(root): if root is None: return 0 queue = deque() queue.append(root) minimumTreeDepth = 0 while queue: minimumTreeD...
[ "tahauygun@gmail.com" ]
tahauygun@gmail.com
1502ac82f00ca1ebc316eaefec60f06627b70abf
52b5773617a1b972a905de4d692540d26ff74926
/.history/duplicate_20200619174915.py
4ff85fa09d6fffe1379448e48b3544ff498e0c62
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
def duplicate(str): # brute force approach # is storing the substring and checking how many times they # occur # dictionary key is the substring and occurrences is how many # times its occurred words ={} # pointers left = 0 right = 1 while right <=len(str) and left < len(str)...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
848a43cc37def1ad57baaa70f1a50ae43eb62855
c85f19a599d9e58022d1226431c02e3a083f0a16
/post scripts/qbittorrent.py
35ffb3790533baa4f28f63c7c371b5994af96d7c
[ "Apache-2.0" ]
permissive
nosmokingbandit/Autolycus
5aed1344a94867a36acb3515f2c27600a0118c86
37b376ba2fc27aa7e98f0071b457ebfbc605d4ab
refs/heads/master
2020-05-26T15:37:10.907416
2017-04-23T20:47:21
2017-04-23T20:47:21
82,493,195
2
0
null
null
null
null
UTF-8
Python
false
false
1,378
py
#!/usr/bin/env python # ======================================== # # ============= INSTRUCTIONS ============= # # Add file to QBittorrent's Run External Program # python "path/to/this/script/qbittorrent.py" "%N" "%D" "%R" "%I" # Add api information to conf: watcherapi = 'APIKEY' watcheraddress = u'http://localhost:9...
[ "nosmokingbandit@gmail.com" ]
nosmokingbandit@gmail.com
aa8e53a9a32bcc1ff66c8e740dd44ad5d6958efc
1078c8a8c38d6a4d28718de9ab4afe6a6ae55072
/machine_learning/machine_learning/asgi.py
10c4d2014c8375a5eaff3c72fd7b6f2de22de18a
[]
no_license
srksuman/Flight-Price-Prediction
5297b2772a70c0ae15213bb9de5ab5264c6ca65f
cf6859f4c9b209248819580a8d4d6afb8d809b27
refs/heads/master
2023-06-18T12:18:01.551345
2021-07-11T20:58:49
2021-07-11T20:58:49
384,121,070
11
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" ASGI config for machine_learning project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJA...
[ "sumanrajkhanal@gmail.com" ]
sumanrajkhanal@gmail.com
6f3e892a8b858440067e4533b7d5426b120e8f99
319c8effd49600b5796cd1759063b0b8f10aeac1
/Jun_test_RNA_seq/tools/cellranger-3.1.0/cellranger-cs/3.1.0/mro/stages/counter/report_molecules/__init__.py.2020051919
9dba0ef4eb43060bfc24cac76b3ff75d9971de57
[]
no_license
ijayden-lung/hpc
94ff6b8e30049b1246b1381638a39f4f46df655c
6e8efdebc6a070f761547b0af888780bdd7a761d
refs/heads/master
2021-06-16T14:58:51.056045
2021-01-27T02:51:12
2021-01-27T02:51:12
132,264,399
1
1
null
null
null
null
UTF-8
Python
false
false
9,203
2020051919
#!/usr/bin/env python # # Copyright (c) 2019 10X Genomics, Inc. All rights reserved. # from collections import defaultdict, OrderedDict import itertools import math import numpy as np import tenkit.bam as tk_bam import cellranger.constants as cr_constants import cellranger.molecule_counter as cr_mol_counter from cellra...
[ "ijayden.lung@gmail.com" ]
ijayden.lung@gmail.com
0c71d4ccb534538b9642f7f0c60e753e3cb6a4ed
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_hairstyles.py
25496dbbcdd2eb912ee68c7823f0ea3cb2042560
[ "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
259
py
from xai.brain.wordbase.nouns._hairstyle import _HAIRSTYLE #calss header class _HAIRSTYLES(_HAIRSTYLE, ): def __init__(self,): _HAIRSTYLE.__init__(self) self.name = "HAIRSTYLES" self.specie = 'nouns' self.basic = "hairstyle" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f089e03676b644fa084965f5c56f11e7a41dbb2e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_341/ch46_2020_09_28_19_37_37_628432.py
b342a5568c45fb27c4cbc0fa6eb50576cf56afe2
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
list = [] i = 0 def numero_no_indice(lista): while i < len(lista): if i == lista[i]: list.append[lista[i] i = i + 1 else: i = i + 1 return list
[ "you@example.com" ]
you@example.com
e45e1c70c2d12c5c5892067039e94c1485593dff
60eb98538025c61cf94a91f6c96f9ee81dcd3fdf
/tests/test_handler_rocauc_dist.py
e7689061581bf93b3a04e1712560a6f8abe9818f
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
gagandaroach/MONAI
167e7746995d4b6136731881e22ad4df333b16a9
79b83d9fac41efae9b90ed2f9ad078d6d664bf64
refs/heads/master
2023-06-02T19:54:47.737846
2021-06-24T18:34:02
2021-06-24T18:34:02
270,741,899
0
0
Apache-2.0
2020-06-08T16:29:32
2020-06-08T16:29:31
null
UTF-8
Python
false
false
1,729
py
# Copyright 2020 - 2021 MONAI Consortium # 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 wri...
[ "noreply@github.com" ]
gagandaroach.noreply@github.com
8ec630a9c9c043b1e15cd3cdbba7cff6e99f7cab
4b4d21f6a2aaf8cb0ece595e4aaf9cb705ffdd49
/api_sales_taobao/models/api/rest/RefundRefusereasonGetRequest.py
c4055b9153ed09082c6da8de941187137fb2c18a
[]
no_license
sc4you/odoo-project-10.0
e8c82b4cd42c0672e996561e75e0f9d0717821fa
bca7e400b6316bcbcefe6f0d088cb97a28f644bb
refs/heads/master
2020-03-21T13:41:08.042847
2018-05-15T07:41:58
2018-05-15T07:41:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
''' Created by auto_sdk on 2016.02.20 ''' from base import RestApi class RefundRefusereasonGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.fields = None self.refund_id = None self.refund_phase = None def getapiname(self): retu...
[ "guwenfengvip@163.com" ]
guwenfengvip@163.com
5d6b8e12d1e1984375359741b42978a58ab17388
107fdd20682510440fc002c5b26ce6d51227d23d
/p06_tall_box/p06c.py
aa04bc8252f231ecba19857e4f74821cd93a2c85
[]
no_license
dcollins4096/ytscripts
bddb1a82b30d533e5789a16109dca9226713c76d
52d8337dbbcba5d004663ec2cd1d2a15503c952d
refs/heads/master
2022-07-29T07:44:18.847626
2022-07-18T13:17:11
2022-07-18T13:17:11
185,677,619
0
0
null
null
null
null
UTF-8
Python
false
false
2,498
py
if 0: fname = '../Enzo/grackle_3/input/CloudyData_UVB=HM2012.h5' fptr = h5py.File(fname,'r') Lambda=fptr['CoolingRates']['Metals']['Cooling'][:,0,:] Gamma=fptr['CoolingRates']['Metals']['Heating'][:,0,:] nG=10**fptr['CoolingRates']['Metals']['Heating'].attrs['Parameter1'] TG=fptr['CoolingRates'...
[ "none@none" ]
none@none
c0caa554d3ef7e3bed8c76ea8eb24b44532a348d
866261aaa42d915e9b4e1e938fadb04724105a2b
/appendix_a_wx_demo/dvc_demo_2.py
1a624ae96eff941edc37b74bae7020f36e4f241a
[]
no_license
harrychen9999/applications_with_wxpython
16ef3519dc92f48be958f6e3cff367b04a9c1d41
c097c26a23d03684fb62b46da0462762c19b1af8
refs/heads/master
2022-12-03T12:25:10.546050
2020-08-24T14:54:23
2020-08-24T14:54:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,933
py
# dvc_demo_2.py import wx import wx.dataview as dv musicdata = { 1 : ("Bad English", "The Price Of Love", "Rock"), 2 : ("DNA featuring Suzanne Vega", "Tom's Diner", "Rock"), 3 : ("George Michael", "Praying For Time", "Rock"), 4 : ("Gloria Estefan", "Here We Are", "Rock"), 5 : ("Linda Ronstadt", "Don't Know Much", "Ro...
[ "mike@pythonlibrary.org" ]
mike@pythonlibrary.org
dd23d0eca11fe5cd1bf83560e4e25274f3e276b5
6a6984544a4782e131510a81ed32cc0c545ab89c
/src/weighting/python/fluxes.py
a56fa60932aa64c574448fcabe63570306febc15
[]
no_license
wardVD/IceSimV05
f342c035c900c0555fb301a501059c37057b5269
6ade23a2fd990694df4e81bed91f8d1fa1287d1f
refs/heads/master
2020-11-27T21:41:05.707538
2016-09-02T09:45:50
2016-09-02T09:45:50
67,210,139
1
0
null
null
null
null
UTF-8
Python
false
false
10,038
py
""" A collection of cosmic ray flux paramerizations. """ import numpy import operator import copy import numexpr from .weighting import I3Units, ParticleType, PDGCode def build_lookup(mapping, var='ptype', default='ptype'): """ Build an expression equivalent to a lookup table """ if len(mapping) > 0: return '...
[ "wardvandriessche@gmail.com" ]
wardvandriessche@gmail.com
fed8da334c09f68b70d045978e1d27d2fba3c904
a2b6bc9bdd2bdbe5871edb613065dd2397175cb3
/简单/拿硬币.py
3a3463ca2ded2ae9d3e65506424be9879047ebbb
[]
no_license
Asunqingwen/LeetCode
ed8d2043a31f86e9e256123439388d7d223269be
b7c59c826bcd17cb1333571eb9f13f5c2b89b4ee
refs/heads/master
2022-09-26T01:46:59.790316
2022-09-01T08:20:37
2022-09-01T08:20:37
95,668,066
0
0
null
null
null
null
UTF-8
Python
false
false
764
py
''' 桌上有 n 堆力扣币,每堆的数量保存在数组 coins 中。我们每次可以选择任意一堆,拿走其中的一枚或者两枚,求拿完所有力扣币的最少次数。 示例 1: 输入:[4,2,1] 输出:4 解释:第一堆力扣币最少需要拿 2 次,第二堆最少需要拿 1 次,第三堆最少需要拿 1 次,总共 4 次即可拿完。 示例 2: 输入:[2,3,10] 输出:8 限制: 1 <= n <= 4 1 <= coins[i] <= 10 ''' from typing import List class Solution: def minCount(self, coins: List[int]) -> int: ...
[ "sqw123az@sina.com" ]
sqw123az@sina.com
5d374979fca6748da94cd46a370b2dfc458732fb
00f0d7e80422f2dd7528c3e9189ced60e067489b
/venv/Lib/site-packages/dateutil/tz/tz.py
7c93c7dd90a955fe43efa2f9186042ce82b64e8b
[]
no_license
mohapsat/flask-crud
5258a0fb1f26f766e6d15348bc7fe2396110bf02
2a5d28f5d0ccc2b30291164842a44104621cd41a
refs/heads/master
2021-06-30T16:30:25.352036
2017-09-19T20:55:05
2017-09-19T20:56:33
103,460,418
0
0
null
null
null
null
UTF-8
Python
false
false
50,555
py
# -*- coding: utf-8 -*- """ This module offers timezone implementations subclassing the abstract :py:`datetime.tzinfo` type. There are classes to handle tzfile format files (usually are in :file:`/etc/localtime`, :file:`/usr/share/zoneinfo`, etc), TZ environment string (in all known formats), given ranges (with help fr...
[ "smohapatra@shutterfly.com" ]
smohapatra@shutterfly.com
6ef31112ba1379c9301ff4f4a19ca6d369f42d3a
c0ae0d2c3d435edc2bfa506e18854cfe48a54c4d
/app/bot/ChatBlock.py
58b45f4c865bfa57707d833e9073adea555f7ffb
[]
no_license
generaldave/TwitchChatBot
ec96bd9109aa5bb8310e640a5e08c22aae50daf7
2d140052a10a8765ccf5251be9cf4ac313d34aea
refs/heads/master
2021-01-11T18:57:11.512327
2017-02-20T17:09:48
2017-02-20T17:09:48
79,279,975
0
0
null
null
null
null
UTF-8
Python
false
false
4,109
py
######################################################################## # # # David Fuller # # # # ChatBlock class: Chat wind...
[ "icepicktoeye@gmail.com" ]
icepicktoeye@gmail.com
9720a75d321dd595025895074e64f4da9bab6835
79219d3f789510535d1d5e3642e32f5bdd8a0f1c
/tests/test_activity_async_sync.py
4415c51750e31e14e853022baae65bf13b89f563
[ "MIT" ]
permissive
dandavison/temporalio-3rd-party-python-sdk
e7d05db3ba975dcd4c257ebe31dac28011af4c2a
61215e9623de8eb6588ea901a8b2289752f18315
refs/heads/master
2023-07-22T15:30:31.674861
2021-07-21T22:42:22
2021-07-21T22:42:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,306
py
import threading import pytest from datetime import timedelta import asyncio from temporal.activity import Activity from temporal.async_activity import Async from temporal.decision_loop import ActivityFuture from temporal.workflow import workflow_method, WorkflowClient, Workflow from temporal.activity_method import a...
[ "firdaus.halim@gmail.com" ]
firdaus.halim@gmail.com
80fb500bfd22d23df86499d03cd4cf39da0ae74b
edc1f1369794a4a1c499c6e9d5fe49a712657611
/algorithms/leetcode_all/285.inorder-successor-in-bst/inorder-successor-in-bst.py
ef97c3cddfd0f172aaaa503644e0e5b5290695f6
[]
no_license
williamsyb/mycookbook
93d4aca1a539b506c8ed2797863de6da8a0ed70f
dd917b6eba48eef42f1086a54880bab6cd1fbf07
refs/heads/master
2023-03-07T04:16:18.384481
2020-11-11T14:36:54
2020-11-11T14:36:54
280,005,004
2
0
null
2023-03-07T02:07:46
2020-07-15T23:34:24
Python
UTF-8
Python
false
false
905
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def inorderSuccessor(self, root, q): """ :type root: TreeNode :type p: TreeNode :rtype: T...
[ "william_sun1990@hotmail.com" ]
william_sun1990@hotmail.com
ad6c2de58f0e8f1dc1ffd27d34ea52e6194096dc
57ae5bfbb24ba5fec90c9b3ecf1e15f06f1546ee
/8-6-1.py
13518f2f1688a08ac439146fedf179714b6c39e3
[]
no_license
cjjhust/python_datastucture
f9104f1d5cae2df6436f56d4d3eaa212e6045943
a222bbe4bfc145ee11f73676c8f033f451d45f78
refs/heads/master
2022-07-03T19:53:07.066387
2020-05-15T08:06:21
2020-05-15T08:06:21
260,272,705
0
0
null
null
null
null
UTF-8
Python
false
false
844
py
# -*- coding: utf-8 -*- """ Created on Sat Nov 10 17:39:50 2018 @author: CJJ """ def shell_sort(lists): # 希尔排序 count = len(lists) step = 2 group = count / step while group > 0: for i in range(0, group): j = i + group while j < count: k = j - gr...
[ "44698055@qq.com" ]
44698055@qq.com
379d154a6dd44da7e58923660c7ccfaa7c919f20
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02663/s657702108.py
f981c3ddb82db9cc0fd274a5de9de1ddfd125051
[]
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
187
py
def calc_blank_minute(H1, M1, H2, M2, K): return (H2 * 60) + M2 - (H1 * 60) - M1 - K H1, M1, H2, M2, K = map(int, input().split()) ans = calc_blank_minute(H1, M1, H2, M2, K) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2530236056887e5c3edaf4790fc6413f24375325
2030adcd82de3d2767ef8d17ce74b50864c2bc4c
/CrabTools.py
97524a98bd24dbb1afc2e6b2632300d10a188014
[]
no_license
fhoehle/MyCMSSWAnalysisTools
6bf4f5a06b2ef364da8af3ed26448a4ad1bd0b11
d6b1e2e570e6248f6ce56f39bb21c0b904c3f9b5
refs/heads/master
2016-09-03T06:55:54.267842
2014-08-26T08:40:02
2014-08-26T08:40:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,509
py
### default dict import sys,os sys.path.extend([ os.getenv('CMSSW_BASE')+os.path.sep+p for p in ['MyCrabTools','MyCMSSWAnalysisTools','ParallelizationTools']]) import crabDeamonTools import Tools.tools as tools import MyDASTools.dasTools as dasTools import Tools.alternativeLocation as alternativeLocation crabCfg = { ...
[ "hoehle@physik.rwth-aachen.de" ]
hoehle@physik.rwth-aachen.de
a7e27233cd420275d9c3fa0258dddf4384d21bda
6437a3a4a31ab9ad233d6b2d985beb50ed50de23
/PythonistaAppTemplate/PythonistaKit.framework/pylib_ext/sympy/tensor/index_methods.py
548d1d9fdb133a1dc0e6f1560c135180259c4ef6
[]
no_license
sreyemnayr/jss-lost-mode-app
03ddc472decde3c17a11294d8ee48b02f83b71e7
3ff4ba6fb13f4f3a4a98bfc824eace137f6aabaa
refs/heads/master
2021-05-02T08:50:10.580091
2018-02-08T20:32:29
2018-02-08T20:32:29
120,813,623
1
0
null
null
null
null
UTF-8
Python
false
false
22,927
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "ryanmeyersweb@gmail.com" ]
ryanmeyersweb@gmail.com
c1da039645bd60598f23ec20c273f8daad696fb7
00829e1ff78f73dab073a201d68139960c1d1922
/tools/toolset/tool/rigging/beam/helpers/utility_methods.py
42c83cc06224b2d6095b9c1b3e5df613ebdb69d4
[]
no_license
liangyongg/Beam_Tools
a021ceb4187107508536c46726da5b9629ffd1cf
21b5d06e660f058434e589ae4f672f96296b7540
refs/heads/master
2018-11-04T04:43:02.523654
2018-08-26T12:33:09
2018-08-26T12:33:09
115,005,481
0
0
null
null
null
null
UTF-8
Python
false
false
3,358
py
from rigging.beam.core.maths.math_object import MathObject from rigging.beam.core.maths.vec3 import Vec3 from rigging.beam.core.maths.xfo import Xfo from rigging.beam.core.maths.quat import Quat from rigging.beam.core.maths import decodeValue def logHierarchy(kObject): """Traverses the given Kraken hierarchy and...
[ "hhhh" ]
hhhh
662b7d73e8b9de24e477d428fbc36870fc92625b
762f2852faa2db01d999a2db9b38a9c47c49ae16
/case/dingshi/celer.py
68f7eb5b47fd11e66f268a9893e0daf637730e96
[]
no_license
duanbibo/test_demo
60a7d53dfed0f2adadf1553a6436c3a9bff77b41
2bc66d80acefdd835331b29c5fea35aedd5ed42d
refs/heads/master
2021-07-12T03:10:48.363295
2020-08-25T07:50:20
2020-08-25T07:50:20
196,365,378
0
0
null
2020-06-18T06:22:24
2019-07-11T09:40:09
HTML
UTF-8
Python
false
false
31
py
import celery import datetime
[ "820355197@qq.com" ]
820355197@qq.com
c4b45be26b2730a6a9d85f69a2bd45a5abfe615c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02910/s466426195.py
f8d801c319e7e6de40747994426ff6e649b43fee
[]
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
249
py
s = input() odd = ["R","U","D"] even = ["L","U","D"] for i in range(len(s))[0::2]: if not s[i] in odd: print('No') exit(0) for i in range(len(s))[1::2]: if not s[i] in even: print('No') exit(0) print('Yes')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
26c7f842f08f85f3e907b6400b73b4e8b441d085
bc8a0c1dd64104bc9612cb20a6950a0f8f4b6401
/care/facility/summarisation/facility_capacity.py
cf9a29ae266d279ff5c92ce237c6ec711e5e4901
[ "MIT" ]
permissive
raj-krishnan-r/care
1f37c6b5f9cef661ffc10fadb17fc811d886bebd
e98d9e4854ec2df825ef09ca3cbf0018e3ab6f6b
refs/heads/master
2023-04-15T17:46:00.535379
2021-04-24T11:03:15
2021-04-24T11:03:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,055
py
from celery.decorators import periodic_task from celery.schedules import crontab from django.utils.decorators import method_decorator from django.utils.timezone import localtime, now from django.views.decorators.cache import cache_page from django_filters import rest_framework as filters from rest_framework import seri...
[ "vichuhari100@gmail.com" ]
vichuhari100@gmail.com
3c1cfaae03ac2910b3ebc51ebe239d3a4b2e001a
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/configs/unet/fcn_unet_s5-d16_ce-1.0-dice-3.0_256x256_40k_hrf.py
435b083891cb4165a876cb5a55b7645c5147bb1f
[ "Apache-2.0", "GPL-1.0-or-later", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
954
py
# Copyright (c) Facebook, Inc. and its affiliates. # Copyright 2020 Huawei Technologies Co., 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 # # http://www.apache.org/licenses/LICENSE...
[ "chenyong84@huawei.com" ]
chenyong84@huawei.com
e39b79ecdb211e65888e5a6295f610afa3ea3d3f
3fa0967b9c79e88d676ff1f21bed919cf5e6e715
/0x06-python-classes/2-square.py
860f1a2292fa10819462d88562e47b6f8986b3cb
[]
no_license
ad-egg/holbertonschool-higher_level_programming
695242c08e9facb7a817b5ceb97931aa544d35fc
ea2eb5856831e40369d09fbcf1118fe6254a1e11
refs/heads/master
2020-04-09T10:20:00.492627
2019-05-17T03:28:32
2019-05-17T03:28:32
160,267,751
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
#!/usr/bin/python3 """This module makes a class Square and has a private instance attribute size. """ class Square: """a square is a parallelogram Attributes: __size: instantiates Square with size size must be an integer that is 0 or greater """ def __init__(self, size=0): """this fun...
[ "539@holbertonschool.com" ]
539@holbertonschool.com
a5b8caed50e53cfad6b9446d567e4cbb7d33f67e
2cd11d49f25b4d8a747fb949fc9622e6995df070
/Widen/LC11_Container_With_Most_Water.py
c2971acc189f2367848ad2e52c14a36dc991e422
[ "MIT" ]
permissive
crazywiden/Leetcode_daily_submit
4364b0976b1c5168f0626534533a61bb9a963f96
15637e260ab547022ac0c828dd196337bd8d50a3
refs/heads/master
2021-11-12T00:24:31.187581
2021-11-11T05:56:29
2021-11-11T05:56:29
211,709,223
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
""" 11. Container With Most Water Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a container, such that the container contains...
[ "yuangao719@gmail.com" ]
yuangao719@gmail.com
5643421300869589b2680ad42d39588f057a5327
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/basic/1_7.py
2907cdfbd35a50aeb45fd87f69d65a6f0d686cb0
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
1,966
py
How to generate a random letter in Python? In this article, let’s discuss how to generate a random letter. Python provides rich module support and some of these modules can help us to generate random numbers and letters. There are multiple ways we can do that using various Python modules. **Method 1: Usin...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
6792b8f4aff991f9898f31e465659de5203da3f5
f4dd8aa4e5476ffde24e27273dd47913c7f9177a
/Dlv2_safe2/tests/parser/bug.31.test.py
817b4e53e79382b9da7ffbccee716adb5990dcca
[ "Apache-2.0" ]
permissive
dave90/Dlv_safe2
e56071ec1b07c45defda571cb721852e2391abfb
f127f413e3f35d599554e64aaa918bc1629985bc
refs/heads/master
2020-05-30T10:44:13.473537
2015-07-12T12:35:22
2015-07-12T12:35:22
38,256,201
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
input = """ x(1,2). j :- not j23456789012. """ output = """ x(1,2). j :- not j23456789012. """
[ "davide@davide-All-Series" ]
davide@davide-All-Series
7e0657d203209244ec9e1dce41003a25212dea7f
0a980b41fb45bd1cded50974e93cb056c5116db7
/parlai/core/testing_utils.py
5c6b97f989d14d4f8dc04d38c28ca4b268bae7e7
[ "MIT" ]
permissive
hengyicai/Adaptive_Multi-curricula_Learning_for_Dialog
5c2a68797d61c820838208d1ed8874a91fdeab0b
e2d2c613ac4075ce023d6b4acb0a5eddac4e7837
refs/heads/master
2021-12-11T19:20:16.814909
2021-12-08T06:28:14
2021-12-08T06:28:14
222,266,889
19
5
null
null
null
null
UTF-8
Python
false
false
8,582
py
#!/usr/bin/env python # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ General utilities for helping writing ParlAI unit and integration tests. """ import sys import os import unittest im...
[ "caihengyi@ict.ac.cn" ]
caihengyi@ict.ac.cn
09d69cfc4b611c6710eb901502bbb1376bd02574
bb9fe2011536b211a9d3595029d7bc0674f8671e
/eireg/utils.py
f0ec45bbeee024b4f000e1a857acee1709214c7c
[ "MIT" ]
permissive
zutobg/eireg
58826b623392803cb9b261a866ffab6671f39d7e
460d30b6e5f26a0cf31d7ffb2201f8383bf47f4a
refs/heads/master
2020-03-28T20:40:44.032444
2017-01-30T11:09:29
2017-01-30T11:09:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
def string_to_bytes32(str): """Convert OVT formatted invoicing address to internal bytes32 format. Right pad addresses with zero. """ b = str.encode("ascii") assert len(b) < 32 b += b'\0' * (32 - len(b)) assert len(b) == 32 return b def ytunnus_to_vat_id(str): """Convert Y-Tunnus ...
[ "mikko@opensourcehacker.com" ]
mikko@opensourcehacker.com
12b882904452a4bf46c799684e9bfe096514d026
fa4fc25f5ec49433d4162cfbf34a670f39371973
/backend/PersoRegBackEnd/catalogos_detalle/migrations/0004_auto_20141120_0214.py
095cabce8ab2aba5dd9e9d15149cff4abd147d10
[]
no_license
raultr/PerBackbone
905e7b020cadeec114744cdb39aa9ff890b704bd
e9277886ca6c9fc6aa9233939e0544c1dcf07d37
refs/heads/master
2016-08-03T19:40:40.309758
2014-11-27T05:58:22
2014-11-27T05:58:22
26,204,783
1
0
null
null
null
null
UTF-8
Python
false
false
519
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('catalogos_detalle', '0003_auto_20141119_0540'), ] operations = [ migrations.AlterField( model_name='catalogodeta...
[ "raultr@gmail.com" ]
raultr@gmail.com
8388872467240fe36cd1ae05401b83a100621989
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/common/Lib/plat-mac/buildtools.py
6127b02d161cac4adb498966b6bb743ead2f48db
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
12,781
py
# 2017.02.03 22:00:18 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/plat-mac/buildtools.py """tools for BuildApplet and BuildApplication""" import warnings warnings.warnpy3k('the buildtools module is deprecated and is removed in 3.0', stacklevel=2) import sys import os import string import imp imp...
[ "info@webium.sk" ]
info@webium.sk
33f952a86216ed6ab29ac14c702c660c6e8812cb
068d271e241d8cdb46dbf4243166e4b8ee7025b2
/day17/bookmanager/bookmanager/app01/urls.py
0c191b9fbfabd908326e10d1e086fe4dbdd812e4
[]
no_license
caiqinxiong/python
f6e226e76cb62aac970bcfbcb6c8adfc64858b60
9029f6c528d2cb742b600af224e803baa74cbe6a
refs/heads/master
2023-05-26T19:41:34.911885
2020-05-15T09:02:08
2020-05-15T09:02:08
195,261,757
1
0
null
2021-06-10T23:33:33
2019-07-04T15:01:42
JavaScript
UTF-8
Python
false
false
1,011
py
from django.conf.urls import url from app01 import views urlpatterns = [ # 出版社的展示 # publisher/ url(r'^publisher/$', views.publisher_list, name='publisher'), # 出版社的增加 # url(r'^publisher/add/$', views.publisher_add, name='pub_add'), url(r'^publisher/add/$', views.PublisherAdd.as_view(), name='pub...
[ "13269469526@163.com" ]
13269469526@163.com
fd9edc5143ef68250d908d265d6f97b90f326b0c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03680/s780269048.py
5126898b5b386e403755e9fbe130092a67c37b3f
[]
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
342
py
import sys input=sys.stdin.readline n=int(input()) button=[False]*(n+1) button[1]=True a={} for i in range(1,n+1): ai=int(input()) a[i]=ai tmp=1 pushed={} ans=0 while not button[2]: button[tmp]=False if tmp in pushed: print(-1) exit() pushed[tmp]=1 tmp=a[tmp] button[tmp]=True...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
819b9c670ff07e5dca7d7410915d4cfd7473cefb
809876cf32d8bce9c011f78ef96292f492cd4030
/earthengine/google-api-python-client/samples/src/moderator.py
1ab9ea8ace24f1fd92e0432913d3ab6abe8eeb5f
[ "BSD-3-Clause" ]
permissive
MapofLife/MOL
44ba1ff2101cd2897b76265d91aa185e432fa953
e3c50ee4ec8364c61cfff3ea68ece1098674f4d6
refs/heads/develop
2021-01-18T03:25:14.456405
2014-05-19T21:06:53
2014-05-19T21:06:53
2,550,706
19
4
null
2014-04-10T16:49:16
2011-10-10T20:10:33
Python
UTF-8
Python
false
false
1,648
py
# version: v1 # scope: https://www.googleapis.com/auth/moderator # title: Simple command-line example for Moderator. # description: Command-line application that exercises the Google Moderator API. # Create a new Moderator series. series_body = { "description": "Share and rank tips for eating healthy and c...
[ "eightysteele@gmail.com" ]
eightysteele@gmail.com
6f8bb016a0648bb43049a0a53c7b6a113293e273
a9d4e47aebbfac7d5f442da3bc5639e1ec65d508
/test_db_connection_properties.py
3d665d42166f87c8d0896feb6c4da6ddea6b0b0a
[ "BSD-2-Clause" ]
permissive
Krishnaarunangsu/LogBestPracticesPython
107f23a2458085e1113dbec76bc0b2ac311e0250
15be48ce97e61ebd7e6ec46f3e31f4035c2f9c1c
refs/heads/master
2021-07-07T00:52:22.594076
2020-09-04T04:38:38
2020-09-04T04:38:38
177,321,855
0
0
null
null
null
null
UTF-8
Python
false
false
3,165
py
import pyodbc from typing import Dict, List, Any, Union, Hashable import yaml def get_db_conn_properties(): """ :param self: :return: """ # Load the Database Configuration parameters from the YAML Configuration file config: Union[Union[Dict[Hashable, Any], List[Any], None], Any] = yaml.load(...
[ "arunangsutech@gmail.com" ]
arunangsutech@gmail.com
4fd21c3cff629f4c6ea2ad1376c595aaefdc76d0
3e4d75b4752697334a86529aff12abaa1d888dbb
/reaflow/expression/gene_detect_number_by_mean.py
a6af8f046ed69a9983dfccb7f8e8b5a445d214ec
[]
no_license
bioShaun/reaflow
eadc8814b43d0ebb8d3119520993279e3436d6d7
f4ffbebe2ad49f7637a129b831e82b585aaa6d0a
refs/heads/master
2020-03-27T05:49:56.347652
2018-09-11T08:33:13
2018-09-11T08:33:13
146,055,425
0
0
null
null
null
null
UTF-8
Python
false
false
3,192
py
import fire import configparser import pandas as pd import sys CUTOFF = (0.1, 0.2, 0.5, 1) TYPE = ('lncRNA', 'protein_coding', 'TUCP', 'circRNA', 'miRNA') gene_exp = sys.argv[1] gene_type = sys.argv[2] tissue = sys.argv[3] cutoff = float(sys.argv[4]) prefix = sys.argv[5] def cal_grp_exp_gene(exp_table, gene_type, ...
[ "ricekent@163.com" ]
ricekent@163.com
b3153925ea0a7b1d3c6fe8ed88bb2ba099c73a2f
85b681e2c88de2d1c6bce6a0fbec10da3a4d5b13
/src/tasks/risk_zone_loss_calculations/dfirm/update_building_risk_table_dfirm.py
b790ba304161cd46daa5d5ae41bfdca1a73a9234
[]
no_license
availabs/lhmp
0d828d3f6cd8b07e449b91399cd0651e4f090b19
734946ecb8a7165f3d914536879782f909a7a4ca
refs/heads/master
2023-02-11T22:44:26.087848
2022-01-27T22:13:18
2022-01-27T22:13:18
177,841,761
0
0
null
2023-01-25T07:22:21
2019-03-26T17:56:20
JavaScript
UTF-8
Python
false
false
2,270
py
import psycopg2 import database_config import pandas import csv import numpy as np import json import math def createTable(cursor): print ('UPDATING TABLE') building_risk_data = pandas.read_csv('/home/nayanika/IdeaProjects/mitigate-api/tasks/risk_zone_loss_calculations/dfirm/output_building_risk_data.csv') ...
[ "nayanikabhargava1993@gmail.com" ]
nayanikabhargava1993@gmail.com
b116031cc8571235fce1d28c77db362e38105db9
42516b0348936e257d04113c2e632dc72ba58e91
/test_env/test_suit_ui_customer_issue/test_suit_ui_customer_issue_case03.py
3d3e9660e922af243f5b2f379ee3cee2713a217a
[]
no_license
wwlwwlqaz/Qualcomm
2c3a225875fba955d771101f3c38ca0420d8f468
a04b717ae437511abae1e7e9e399373c161a7b65
refs/heads/master
2021-01-11T19:01:06.123677
2017-04-05T07:57:21
2017-04-05T07:57:21
79,292,426
1
1
null
null
null
null
UTF-8
Python
false
false
1,370
py
# -*- coding: utf-8 -*- ''' @author: U{huitingn<huitingn@qti.qualcomm.com>} ''' import settings.common as SC from case_utility import * from logging_wrapper import log_test_case,save_fail_log,print_report_line from test_case_base import TestCaseBase from qrd_shared.case import * from test_suit_ui_customer_issue imp...
[ "c_wwan@qti.qualcomm.com" ]
c_wwan@qti.qualcomm.com
cdee1db8bf976fb4b6d3399b84a8951532e6cc53
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/kPHmvQPLbdEKYeM9L_5.py
4d2e03ffd2e803491bf7f600dc9bccad333f9872
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
""" You are given a list `asteroids` of integers representing asteroids in a row. For each asteroid, the absolute value represents its size, and the sign represents its direction (positive meaning right, negative meaning left). Each asteroid moves at the same speed. Find out the state of the `asteroids` after all ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3d62b2c3d407a5696a3149264358286913d8ad4e
ea443f8986d25de37349f6ba1cc5bcd5d62dbc26
/recipes/recipe/migrations/0002_alter_recipe_time.py
55cd9d560fd6f13af91defd55fcc756f911a9d9a
[]
no_license
momchilantonov/Recipes
2380f89c8136d01acf9f86c3a9fee3fb21cd26d0
a946776ad172a1abfd3d2b63befb53cf123acc36
refs/heads/main
2023-06-02T04:30:25.725607
2021-06-23T09:40:50
2021-06-23T09:40:50
379,551,861
1
0
null
null
null
null
UTF-8
Python
false
false
370
py
# Generated by Django 3.2.4 on 2021-06-23 07:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recipe', '0001_initial'), ] operations = [ migrations.AlterField( model_name='recipe', name='time', fiel...
[ "eng.antonov@gmail.com" ]
eng.antonov@gmail.com
48115cba0530545db76d752d4d6d7e9dd147020c
305aaf197f15534c1601f858b4f20c7010719769
/generateattcks/generateattcks/sysmonhunter.py
acd25815f0fe18a3d923ad5cd510274d6e17c9da
[ "MIT" ]
permissive
doomedraven/pyattck
a58952dbd5b503bc2c531ca44d06e4817d7a88a5
e663824b2320db7354865e6516eb2c6b12ffadbd
refs/heads/master
2021-06-26T16:42:42.983055
2019-12-02T17:07:43
2019-12-02T17:07:43
206,406,098
1
0
MIT
2019-09-05T13:58:11
2019-09-04T20:19:07
null
UTF-8
Python
false
false
1,341
py
import requests, yaml from .attacktemplate import AttackTemplate class SysmonHunter(object): __URL = 'https://raw.githubusercontent.com/baronpan/SysmonHunter/master/misc/attck.yaml' def __get_data(self): response = requests.get(self.__URL) return yaml.load(response.content, Loader=yaml.FullL...
[ "josh.rickard@swimlane.com" ]
josh.rickard@swimlane.com
d9e7e58ea7cdde2d84912959808ddad294de6250
dd44e145ac547209f5f209bc9b1f09189bb8b5c7
/Python-Advanced-2021/01.Lists-as-stacks-and-queues-E/05.Truck-tour.py
bdf2f10c99db95caf79976083538215d04e834f4
[]
no_license
todorovventsi/Software-Engineering
e3c1be8f0f72c85619518bb914d2a4dbaac270f8
64ffa6c80b190e7c6f340aaf219986f769f175ab
refs/heads/master
2023-07-09T05:35:14.522958
2021-08-15T14:35:55
2021-08-15T14:35:55
336,056,643
2
1
null
null
null
null
UTF-8
Python
false
false
698
py
from collections import deque total_petrol_pumps = int(input()) pumps_info = deque() for number in range(0, total_petrol_pumps): fuel, distance = input().split() pumps_info.append([int(fuel), int(distance)]) success_point = None for point in range(0, len(pumps_info)): current_fuel = 0 is_complete =...
[ "todorov.ventsi@gmail.com" ]
todorov.ventsi@gmail.com
3a735454534c784f95633b1f219fae3e89e9c357
6eca5af393e8e3c83efa7b89857e6876a4da9f9c
/athena/api_library/requests_api.py
b4e26f0c83a63e479506838e9863a35d4fdefb19
[ "MIT" ]
permissive
dimitar-petrov/hey-athena-client
ec714dbf661a2a66eaea3f3bc72f1998ae0c7d78
c4e3121b1df2493d0ddd097eb584ff4c69995695
refs/heads/master
2021-05-04T12:53:45.750307
2016-05-22T03:29:41
2016-05-22T03:29:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
""" A simple API for HTTP Requests (GET and POST) """ import json, traceback from urllib import parse, request def get(url, params=None, post=False, key=None): if params: data = parse.urlencode(params).encode('utf-8') if post: req = request.Request(url, data) else: ...
[ "rcbyron@utexas.edu" ]
rcbyron@utexas.edu
c7aa0d7f75facd2c1d200980e7c1db0606658de7
359f3d8a1a2b5524490c314a44d60cec1d06f658
/whoweb/core/migrations/0001_initial.py
80f7a3ee9ded883534cde6c13fe0822c7d27657c
[]
no_license
sivasuriyangithub/Merket_Intellect-s3.route
ec9d9aa7d4575d5ff8006e1454f69e4033193fc0
71a9ab642f9a31f4a318cebec7fe6a075870a83c
refs/heads/master
2023-08-25T13:51:02.116705
2021-10-19T01:06:49
2021-10-19T01:06:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,415
py
# Generated by Django 2.2.3 on 2019-08-19 22:34 import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): initial = True dependencies = [("contenttypes",...
[ "zach@whoknows.com" ]
zach@whoknows.com
ae6916fdef64bb3da1805fd65a62a6b72021b474
ab58e80b552e44c795ae58dd05bc2b819b6fc163
/fhirclient/models/healthcareservice.py
1f9eebbe8bac7851d59607798e902055d759c388
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
sfoerster/client-py
1ce704e74ca13c84a33bdea9614dcf8720572aac
f484152e66e29f8d39156213bf4e3f9c0e64eef1
refs/heads/master
2020-04-06T04:33:50.149278
2016-03-18T02:37:18
2016-03-18T02:37:18
54,167,089
0
0
null
2016-03-18T02:31:32
2016-03-18T02:31:31
null
UTF-8
Python
false
false
9,743
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 1.0.2.7202 (http://hl7.org/fhir/StructureDefinition/HealthcareService) on 2016-02-24. # 2016, SMART Health IT. from . import domainresource class HealthcareService(domainresource.DomainResource): """ The details of a healthcare service avail...
[ "phase.of.matter@gmail.com" ]
phase.of.matter@gmail.com
680f0992c71246f043308f6491056f52cb26ea0a
8e07b5b7a8dd38e0ef2c7ffc97d0392d886f32e6
/venv/Lib/site-packages/mypy/typeshed/third_party/2and3/cachetools/func.pyi
f9ebc79e1383131e1f77076e76d6d8e88bbc8c65
[]
no_license
RodrigoNeto/cursopythonyt
fc064a2e6106324e22a23c54bdb9c31040ac9eb6
279dad531e21a9c7121b73d84fcbdd714f435e7e
refs/heads/master
2023-07-03T00:54:09.795054
2021-08-13T12:42:24
2021-08-13T12:42:24
395,646,798
0
0
null
null
null
null
UTF-8
Python
false
false
521
pyi
from typing import Any, Callable, Optional, Sequence, TypeVar _T = TypeVar("_T") _F = TypeVar("_F", bound=Callable[..., Any]) _RET = Callable[[_F], _F] def lfu_cache(maxsize: int = ..., typed: bool = ...) -> _RET: ... def lru_cache(maxsize: int = ..., typed: bool = ...) -> _RET: ... def rr_cache(maxsize: in...
[ "rodrigoneto.forseti@gmail.com" ]
rodrigoneto.forseti@gmail.com
716c32711d00303fe311acb0411c448be25d2a37
cc3aa35b7d5039e782a0c2787123c2dd8b3480e3
/QuestionsAndPapers/migrations/0004_sscklasstest_typetest.py
bc02071a65177831672b294a1031b700479c86f9
[]
no_license
prashantspandey/bodhiai_test
3ae9614ad428b0488a0b79e1a2b1bff67050871a
2d3a11c5a596ee05613b28e0153bc0cb480fab9a
refs/heads/master
2022-12-14T00:06:52.333755
2019-04-04T09:07:33
2019-04-04T09:07:33
179,462,093
0
0
null
2022-12-08T01:03:43
2019-04-04T09:06:43
Python
UTF-8
Python
false
false
491
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2019-03-03 09:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('QuestionsAndPapers', '0003_auto_20190220_1526'), ] operations = [ migration...
[ "prashants_pandey@outlook.com" ]
prashants_pandey@outlook.com
26b34afc12dad81006a26484a0388bd2c0c7053c
1c10937afbba2fd4a6c1d306603bc3b7f4900be6
/aid1901/day1/demo_types.py
04bc2a3f6d67f72a2fae2fd9d8afad6bf8def784
[]
no_license
zh-en520/-
5366628ce9d819ed1d29e41e35c0996090df1085
1e4697b091a3b321adc3fa2c13192de8fc3686f7
refs/heads/master
2020-06-28T21:25:59.080990
2019-08-03T07:21:42
2019-08-03T07:21:42
200,345,642
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
#自定义符合类型 import numpy as np data = [ ('zs',[60,61,65],15), ('ls',[60,61,65],15), ('ww',[60,61,65],15), ] #第一种设置dtype的方式 a = np.array(data,dtype='U2,3int32,int32') print(a[1]['f2'])#f2是字段的别名 print('-----------------------') #第二种设置dtype的方式 b = np.array(data,dtype=[ ('name','str',2), ('scores','int32...
[ "zh_en520@163.com" ]
zh_en520@163.com
fe8322fe6c0e49fca7f133b310bac9e203966532
2455062787d67535da8be051ac5e361a097cf66f
/Producers/BSUB/TrigProd_amumu_a5_dR5/trigger_amumu_producer_cfg_TrigProd_amumu_a5_dR5_857.py
a516e45ca599134ede471cef3dbf56c2b0d3f208
[]
no_license
kmtos/BBA-RecoLevel
6e153c08d5ef579a42800f6c11995ee55eb54846
367adaa745fbdb43e875e5ce837c613d288738ab
refs/heads/master
2021-01-10T08:33:45.509687
2015-12-04T09:20:14
2015-12-04T09:20:14
43,355,189
0
0
null
null
null
null
UTF-8
Python
false
false
3,360
py
import FWCore.ParameterSet.Config as cms process = cms.Process("PAT") #process.load("BBA/Analyzer/bbaanalyzer_cfi") process.load("FWCore.MessageLogger.MessageLogger_cfi") process.load('Configuration.EventContent.EventContent_cff') process.load("Configuration.Geometry.GeometryRecoDB_cff") process.load("Configuration.St...
[ "kmtos@ucdavis.edu" ]
kmtos@ucdavis.edu
0183e4166a651cd808a232c5e575625139242d71
f1485e17b42e66a82f5f256e248760688eba113d
/MarketDataGoose_Combo_ES.py
a9c005b504863fa38d295e921b92b5c2e53a2953
[]
no_license
ShabbirHasan1/marketdataGooseCombo
337454ceb552f2fbe69ac77a7278c74ccbb9e7e6
821b6401fe61d9d138d108ea82ffc527ddf5b03b
refs/heads/master
2023-05-13T03:44:44.688526
2021-06-08T14:22:41
2021-06-08T14:22:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,816
py
import mysql.connector import csv import argparse import datetime import collections import inspect import logging import os.path import time import pandas as pd import datetime from ibapi import wrapper from ibapi import utils from ibapi.client import EClient from ibapi.utils import iswrapper from ibapi.contract i...
[ "jsiddique@gmail.com" ]
jsiddique@gmail.com
ea1aad64035ebbdb92536e95b412d69d315a63c4
0adb2ba90d62f59b858b2817c066b7cf3734ec5d
/asyncrequests/session.py
b87d000d0738372a4347fb3315fc70312e4c72f1
[]
no_license
RevengeComing/asyncrequests
69cb1656e297749db6429044709cc1a0527895ae
af3e1aa87cdb69edab8962fc7715d637aec97f82
refs/heads/master
2020-06-25T22:20:21.311350
2017-12-05T15:46:31
2017-12-05T15:46:31
96,991,984
2
1
null
null
null
null
UTF-8
Python
false
false
1,880
py
from asyncio import get_event_loop from .connection import Connection from .models import Request class Session(): def __init__(self): self.loop = get_event_loop() def __enter__(self): return self def __exit__(self, *args): self.close() async def request(self, method, url, ...
[ "s.hamzelooy@gmail.com" ]
s.hamzelooy@gmail.com
0bc9b2c0b2372b4dacd3f15f9f0a9cb95f881c73
b85c8edaf0d4edbc4ce820f19c9ecc7abcb2e3bc
/CSCI220/Week 11 - MAR26-30/Lab 11 - APR04/algorithms2.py
79cafcaad732276b2462a88c03a4a9e517a98363
[ "Apache-2.0" ]
permissive
itsallvoodoo/csci-school
3eba3390c595b281f3f94750b8b787ca3f8c9f29
ecf0c737d31c077e54ddd24ddab50d73d8eb5b17
refs/heads/master
2020-05-24T15:37:46.999396
2014-03-24T16:19:17
2014-03-24T16:19:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
#Lab 12 Lists, searching sorting import time def readData(filename): pass def isInLinear(srchValue, values): pass def isInBinary(srchValue, values): pass def bubbleSort(values): pass def insertionSort(values): pass def selectionSort(values): pass
[ "chaddhobbs@gmail.com" ]
chaddhobbs@gmail.com
2b9119c65c1d9d2fba5ca84d546fac3223f7c0ae
1d60c5a7b8ce6277bff514e376f79848f706344c
/Python Programmer - Career Track/07. Cleaning Data in Python/04. Cleaning data for analysis/08. Dropping duplicate data.py
26757ce2d1463c702ce07b2ba4a064e081a41b8a
[]
no_license
DidiMilikina/DataCamp
338c6e6d3b4f5b6c541c1aba155a36e9ee24949d
3bf2cf3c1430190a7f8e54efda7d50a5fd66f244
refs/heads/master
2020-12-15T13:16:54.178967
2020-05-06T17:30:54
2020-05-06T17:30:54
235,113,616
4
3
null
null
null
null
UTF-8
Python
false
false
1,246
py
''' Dropping duplicate data Duplicate data causes a variety of problems. From the point of view of performance, they use up unnecessary amounts of memory and cause unneeded calculations to be performed when processing data. In addition, they can also bias any analysis results. A dataset consisting of the performance o...
[ "didimilikina8@gmail.com" ]
didimilikina8@gmail.com
45435806571e69e6121f1e47fcaa236a81032ab9
0dbad6aa73869f9a5833c4ae7b55b46e5889394a
/rchitect/bootstrap.py
975d091d4ec5f82a7fdd8f4bc50c397817ecf48b
[ "MIT" ]
permissive
whizzalan/rchitect
9f4b877cfa33d8bf793647c2bb8c7501bb0e7914
e12831a85310880382707b545ba1fdca3fd919c7
refs/heads/master
2020-04-17T10:47:10.855147
2018-12-30T19:06:51
2018-12-30T19:06:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,550
py
from __future__ import unicode_literals import os import sys from ctypes import c_int, c_size_t, c_char, c_char_p, c_void_p, cast, pointer from ctypes import POINTER, CFUNCTYPE, PYFUNCTYPE, Structure from .types import SEXP from .utils import which_rhome, load_libR, load_libRgraphapp, ensure_path, ccall, cglobal c...
[ "randy.cs.lai@gmail.com" ]
randy.cs.lai@gmail.com
788a87c83ca9336d636488f7baeec26615cc11b6
9b54e3d58447e917a238b85891020c392c4ac601
/acmicpc/10474/10474.py
ff06c8a0123b54e63fc37e1dae7b140b829e192a
[ "MIT" ]
permissive
love-adela/algorithm-ps
ea0ebcd641a4c309348b389b8618daa83973f4b2
c92d105d8ad344def001160367115ecf99d81c0d
refs/heads/master
2023-05-11T03:37:11.750692
2023-04-30T17:31:30
2023-04-30T17:31:30
174,651,672
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
while 1: p, q = map(int, input().split()) if p == q == 0: break print(f'{p // q} {p-(p//q*q)} / {q}')
[ "love.adelar@gmail.com" ]
love.adelar@gmail.com
a087cedbfad7899571cdeede7db99bf525de25ce
5e3a60731b90d71ed5160cb258a6eea399b47eb2
/tests/test_api_skeleton.py
75eff0be866d7b703bde18d02ee4387d7f212df2
[ "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-public-domain" ]
permissive
digideskio/conda-build
c9d88641a72782193b360848a8d940ea81cb4ffd
a3f7e20e84555884aaa414b81188933f176cb4a0
refs/heads/master
2022-08-29T00:50:00.229523
2016-09-08T20:38:59
2016-09-08T20:38:59
67,979,525
1
0
null
2016-09-12T14:22:31
2016-09-12T05:46:35
Python
UTF-8
Python
false
false
3,301
py
import os from pkg_resources import parse_version import pytest import yaml from conda_build import api from .utils import testing_workdir, test_config thisdir = os.path.dirname(os.path.realpath(__file__)) repo_packages = [('', 'pypi', 'pip', "8.1.2"), ('r', 'cran', 'nmf', ""), ('p...
[ "msarahan@gmail.com" ]
msarahan@gmail.com
d872530057b65f1d12e44e851b014c7820aa70b8
ca78f93ebd8d4a592558cd5b5bd92f1d67f09352
/custom_profile/api/urls.py
ae5b674746c75e7b41a12f525b08914af24277c1
[]
no_license
anthonylauly/Cabangku
dad662a9fc5eb855c854a070835bc32464b4b52b
2207007dbef388f0897d7376f42b7e5b8f7c1bac
refs/heads/main
2023-01-23T21:03:03.075335
2020-12-07T12:44:07
2020-12-07T12:44:07
315,690,614
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
from django.urls import path, include from rest_framework import routers from . import views app_name = 'profile' router = routers.SimpleRouter() router.register('profile', views.ProfileViewSet) urlpatterns = [ path('', include(router.urls)), ]
[ "anthony.lauly1833@gmail.com" ]
anthony.lauly1833@gmail.com
129458c73b75254ae2ca7fd1f1ccad83c0254715
c9aead6e6e9df4031fac12ad02b9f78250f04a20
/app/packagebinder/exceptions.py
cae13c0a708e9eaf2194118ccc93e8465e45ac4e
[ "MIT" ]
permissive
KryptedGaming/krypted
1aef8e3d04bdb51df6c4cd3fdb8abad6b3fe60f9
ed171bfbd1c98a4c171ddf6a20b18691330b1646
refs/heads/development
2023-05-29T07:19:30.986435
2021-05-12T01:22:10
2021-05-12T01:22:10
93,650,907
4
11
MIT
2021-06-10T19:45:54
2017-06-07T15:30:33
Python
UTF-8
Python
false
false
40
py
class BindException(Exception): pass
[ "porowns@gmail.com" ]
porowns@gmail.com
fcdb3822c4cfb130dc7f9a24b2745e8c34d2d44a
f5ca3435652851f23e3c9f40225b322f22e2754f
/RPN/proposal_target_layer_tf.py
921f68cfee68b1965269430c0cc758d5c29f6796
[]
no_license
UpCoder/MyFasterRCNN
e3daa93c7f32db1e2a3c45da0f1bf4cdd4ad5bc1
18e21b6fa82cb20c9c3f5c7a825e9188773a1c53
refs/heads/master
2020-04-07T12:19:05.328182
2018-03-09T13:49:28
2018-03-09T13:49:28
124,210,883
0
0
null
null
null
null
UTF-8
Python
false
false
6,798
py
# -*- coding=utf-8 -*- # -------------------------------------------------------- # Faster R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick and Sean Bell # -------------------------------------------------------- import yaml import numpy as np i...
[ "546043882@qq.com" ]
546043882@qq.com
d65afe8834dfad330bbaaf50c900b3c5b40c5923
2b0aa857da641edf99ad07688b9079e330c88e31
/pydefect/cli/vasp/util_commands/make_refined_poscar.py
cafc95adffa2f9bc59d9ebf4d16323a3b83457d2
[ "MIT", "Python-2.0" ]
permissive
zhenming-xu/pydefect
0fd58e5de01316b8c8bbdfc1eaeeac7b81577c70
32c09231ca30295bad1a79480570affe8b879b5c
refs/heads/master
2023-02-03T10:38:45.380871
2020-12-23T04:45:43
2020-12-23T04:45:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
# -*- coding: utf-8 -*- # Copyright (c) 2020 Kumagai group. import shutil import fire from monty.serialization import loadfn from pydefect.analyzer.defect_structure_analyzer import \ symmetrize_defect_structure from pydefect.defaults import defaults from pydefect.input_maker.defect_entry import DefectEntry from p...
[ "yuuukuma@gmail.com" ]
yuuukuma@gmail.com
61e8452b8081c42fa778be9dcf0b3b4ff277bc8f
811bf15a5bad488284300b6016c8b77f1e2daf24
/python/ray/data/_internal/datastream_logger.py
8ed7dde89602f6f7de9c04eaa59280da4d7944b3
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
justinwyang/ray
8c102e00321e669b7e78488d38329e82195e7b58
6c356296a01ebf3d8ad0cab6058fb8c03ccbf8f6
refs/heads/master
2023-04-28T15:57:24.167579
2023-04-22T08:28:06
2023-04-22T08:28:06
172,777,393
0
0
Apache-2.0
2020-12-04T02:39:57
2019-02-26T19:37:12
Python
UTF-8
Python
false
false
4,862
py
import logging import os import ray from ray._private.ray_constants import LOGGER_FORMAT, LOGGER_LEVEL class DatastreamLogger: """Logger for Ray Datastreams which writes logs to a separate log file at `DatastreamLogger.DEFAULT_DATASET_LOG_PATH`. Can optionally turn off logging to stdout to reduce clutter...
[ "noreply@github.com" ]
justinwyang.noreply@github.com
61ae55ce83f6293d9f8e61b32e3a6b05d32721c4
466660115eafd99b72f81339d86c5bcbf4c7efb0
/codes/14/filter_resample_demo.py
e9b6e8a0557fc61d8b04133854a5c24b74ebcf7a
[]
no_license
CoryVegan/scipybook2
c2bb68c169c632ab389600034beb33ac921b0ba1
a8fd295c2f2d7ee18f351e5622ca7eeb4649ee50
refs/heads/master
2020-03-23T14:50:28.056482
2017-08-25T06:00:00
2018-06-02T14:18:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
# -*- coding: utf-8 -*- import numpy as np from scipy import signal t = np.arange(0, 100) x = np.sin(t) N = 100 t2 = np.arange(0, 100, 1.0/N) x2 = np.sin(t2) x3 = np.zeros(len(x)*N) x3[::N] = x sinc = np.sinc(np.arange(-10, 10, 1.0/N)) sincw = sinc * signal.hann(len(sinc)) x4 = signal.lfilter(sinc, [1], x3) x5 = s...
[ "qytang326@gmail.com" ]
qytang326@gmail.com
1fde7a3fed0fc59b1c2aaa1281052a6539be6815
0af30c2e3ddcc80a19ea9cfaad9d7e1fedf8b876
/210122/정렬/실패율/배진수.py
a92352cd19ca8c2fcb22f7b57b6f87fea1b4e4d0
[]
no_license
winterash2/algorithm_study_2021_1
d1cd6077f71f68e7fc3eb6dfae7b2cc220885e4c
c1fee62c7e5e560c3bf7ae5e6166866d0147f23f
refs/heads/master
2023-04-02T20:11:04.169856
2021-04-05T11:18:22
2021-04-05T11:18:22
327,563,535
1
2
null
2021-01-24T14:17:40
2021-01-07T09:28:08
Python
UTF-8
Python
false
false
1,731
py
from collections import Counter def solution(N, stages): stages.sort() counter = Counter(stages).most_common() counter.sort() size_stages = len(stages) result = [] for i in range(1,N+1): result.append((i,0)) for c in counter: if c[0] > N: break result...
[ "jinsoo941010@naver.com" ]
jinsoo941010@naver.com
341912b1cddec4954831d7512e86dd5a653abadf
52b5773617a1b972a905de4d692540d26ff74926
/.history/fibo_20200709160954.py
c234253a709554320b2b0660f06cce7e678c05bf
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# solving the fibonaci sequence using recursion and dynamic programming # Recursion # Base case if n = 1 || n == 2 then fibo is 1 def fibo(n): if n <= 0: result = 0 elif n == 1: result = 1 else: result = fibo(n-1) + fibo(n-2) print('result',result) pri...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
0146c4b8db1d612775e0952d8ff3abf3c83a1b87
b55e9d00033ae5c263db81a6352cd9492f920fc6
/backend/new_app_18645/settings.py
6d53ba7d6018bdf5cf495f12765e3e5cdd3d4b55
[]
no_license
crowdbotics-apps/new-app-18645
6aa17a3889d16bc6dbe722bf0cd7d1ac30ad672a
b84924da4f2df1bb064c10d1363041a50a498e6f
refs/heads/master
2022-11-12T17:42:21.844705
2020-07-06T13:42:00
2020-07-06T13:42:00
277,507,063
0
0
null
null
null
null
UTF-8
Python
false
false
5,791
py
""" Django settings for new_app_18645 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
c14878872d0c9f46c3e5620a0435240d14cc41f0
559e336386e02c0e5ebc7316424c3b4a41380d99
/fullstack/python/opencv/yolo34py_object_detection.py
73bf082e9512c4d56d2ff5f7d86514fce08e7f02
[]
no_license
maranemil/howto
edf1e294544ef6980894dcd345d73160d8aa9620
f6270ed0affcdbd899dd8a2ff9b0b98625e63a5a
refs/heads/master
2023-09-05T03:02:18.526914
2023-09-04T11:27:52
2023-09-04T11:27:52
22,177,757
48
26
null
2022-10-17T19:43:31
2014-07-23T21:04:50
Python
UTF-8
Python
false
false
2,352
py
""" ############################################# # # https://pypi.org/project/yolo34py/ # ############################################# https://github.com/madhawav/YOLO3-4-Py/blob/master/download_models.sh http://www.erogol.com/object-detection-literature/ http://absfreepic.com/free-photos/download/crowded-cars-on-s...
[ "maran.emil@gmail.com" ]
maran.emil@gmail.com
58454b96d6a985a52878c8c0c2cb7dec3535a33a
aef1c0d4a32fa10afae10393c850960f9d89cdbc
/MiRegionCO/apps/activacion_youtuber/models.py
019c81671889c3d61820bb4986003b760125321f
[]
no_license
joselofierro/MiRegionCO
587059244fc153f32c6eaac8e41fab05bdeb5937
781491dc81a2dff7a8ae237d4ea7e23b31a31c52
refs/heads/master
2021-11-09T11:23:41.189863
2018-01-16T16:53:34
2018-01-16T16:53:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
import uuid from django.db import models # Create your models here. from apps.usuario.models import Usuario class Youtuber(models.Model): codigo = models.CharField(primary_key=True, default=uuid.uuid4, max_length=25) nombre = models.CharField(max_length=100, blank=False, null=False) foto = models.URLFi...
[ "juliofierro@Mac-mini-de-JULIO.local" ]
juliofierro@Mac-mini-de-JULIO.local
a2585445768a8e4d0a28099c6c6e04b25b65c245
18276d01566c782dfd5e9ef97d1e35ef14637af0
/template.py
176f42397ecff7c3997723ac2d78aca83e5cc5f3
[ "CC0-1.0", "MIT", "LicenseRef-scancode-public-domain" ]
permissive
benediktwerner/AdventOfCode
32d5bbcb8d31059673a6fe98c74cbba7eb733822
44700547d77385b8f84f80a2eb750bc06926152f
refs/heads/master
2023-02-05T22:37:23.215372
2023-02-02T17:54:08
2023-02-02T17:54:21
162,716,840
67
10
null
null
null
null
UTF-8
Python
false
false
667
py
#!/usr/bin/env python3 from os import path from collections import * from networkx import * from copy import deepcopy from tqdm import tqdm import itertools import math import re import pyperclip def ints(string): return list(map(int, re.findall(r"-?[0-9]+", string))) def solve(inp): for line in inp.splitl...
[ "1benediktwerner@gmail.com" ]
1benediktwerner@gmail.com
4bfb2a79fd4cf406cd4610858e33e17183ca411f
283abb87498184abfe38e346867c991c7002e492
/src/collective/behavior/vat/vocabulary.py
ad27edbc5f153327f91d8cfce4e1a6b5638d31e7
[]
no_license
collective/collective.behavior.vat
83994e31eaa40ebfeb0f4897586019af425215b7
ddce01c99802e6933a307e6fb2042af9c847a1c5
refs/heads/master
2023-03-22T13:39:07.521187
2013-10-28T09:19:02
2013-10-28T09:19:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
from collective.behavior.vat.interfaces import IAdapter from plone.registry.interfaces import IRegistry from zope.component import getUtility from zope.interface import implements from zope.schema.interfaces import IVocabularyFactory from zope.schema.vocabulary import SimpleVocabulary class VATRatesVocabulary(object)...
[ "taito.horiuchi@gmail.com" ]
taito.horiuchi@gmail.com
71df0b1b716f9def8544a105e267650aeffc6da5
e1757740bef23814319c7edcb4d77f81fcc0d8f5
/lookerpy/models/scheduled_job_destination.py
526ebe4cf80d42c4bfe307192251f2234080a804
[]
no_license
bufferapp/lookerpy
65a43c89c05d49caa00e52d223fa61f941054b2d
e81634f15bff006a0643320a41175861d9990e4c
refs/heads/master
2021-01-01T05:16:14.891450
2017-10-05T12:48:44
2017-10-05T12:48:44
58,413,445
21
8
null
2018-08-02T21:07:52
2016-05-09T22:58:07
Python
UTF-8
Python
false
false
6,191
py
# coding: utf-8 """ Copyright 2016 SmartBear Software 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 applica...
[ "michaelerasmus@gmail.com" ]
michaelerasmus@gmail.com
3c92b31d6ea9eb6b73b8a4c3ca3dc9507d5391f5
fdf81f962e88e29645003ee953146ed4ad3e47a3
/tests/test_prefix.py
42195ec99d28ac8f7f7d83617cfa6593c9c319d3
[]
no_license
Feuermurmel/snappy
9f7381c55dbdb2bcab4283eb5a822a8906daa8ce
f4ecf45f0150106b4de2ccd758be5ffb7c344388
refs/heads/master
2023-05-24T18:23:18.658648
2023-05-21T16:13:10
2023-05-22T16:56:31
225,735,586
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
from conftest import get_snapshots def test_create_snapshot(filesystem, snappy_command): snappy_command(f'{filesystem} -p foo') assert get_snapshots(filesystem) == ['foo-2001-02-03-081500'] def test_prune(filesystem, snappy_command): snappy_command(f'{filesystem}') snappy_command(f'{filesystem} -p ...
[ "michi.schwarz@gmail.com" ]
michi.schwarz@gmail.com
085c21bb188cd315da50f7551a96993511038c40
35ba33a928991f78f1cd0f27aad39caa4b680d74
/PyFunceble/converter/rpz_policy2subject.py
ac85b3e010e9cd00771a9b2e1643e7c032fdd828
[ "Apache-2.0" ]
permissive
porn-records/PyFunceble
11843d4b0381533c36d14f78ce4b17fce369c5b4
514594aa1e333411c649a405746cd0d0afcf0c94
refs/heads/dev
2023-08-06T17:49:47.779410
2021-09-24T22:13:00
2021-09-24T22:13:00
410,259,332
1
0
Apache-2.0
2021-09-25T11:52:53
2021-09-25T11:52:53
null
UTF-8
Python
false
false
9,016
py
# pylint:disable=line-too-long """ The tool to check the availability or syntax of domain, IP or URL. :: ██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗ ██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝ ██████╔╝ ╚████╔╝ █████╗ ██║ ...
[ "contact@funilrys.com" ]
contact@funilrys.com
a416a911d2e6af8ec59c19ee1f6a2e0a044a46bf
4a31f87aaa79beeaccc1afa8a43f5161ad99faa8
/python/examples/pytest/py1/conftest.py
8b03f3cb9700269dca48f951738b234e6743163c
[]
no_license
fabricejumel/slides
ccdebc3bc6a90bfa98491e3994b05f9e48d0e2ab
527f439a5fc9e1f1938942dedd012e97f5f6963e
refs/heads/main
2023-03-14T06:41:36.220846
2021-02-24T19:38:07
2021-02-24T19:38:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
def pytest_addoption(parser): parser.addoption("--demo")
[ "gabor@szabgab.com" ]
gabor@szabgab.com
4bcdbcede7216e59d4b3d81602db66170b993ccc
9b587d5cf90a3459e482013010d8cfe86ecf492b
/lib/folder_db.py
ee6792a19dd0894dad2295a1ef345f5c43fe9372
[]
no_license
abhay-venkatesh/data-analysis-template
c107d4aefff16014b18edadc65e5ae8a24632756
3b3bedfd60ae908c4de02af2339cf30940a35db7
refs/heads/master
2020-05-25T16:21:05.258699
2019-05-21T17:56:37
2019-05-21T17:56:37
187,885,511
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
from pathlib import Path import os import pandas as pd class FolderDB: def __init__(self, folder): self.folder = folder self.file_names = [ f for f in os.listdir(folder) if os.path.isfile(Path(folder, f)) ] self._data = {} for file_name in self.file_names: ...
[ "abhay.venkatesh@gmail.com" ]
abhay.venkatesh@gmail.com
f39014a3376f0777bebcdf58c516e4d0adb72577
a3ac7f1adc05678a4a5d7719a334c69190be6419
/netmon/models/monitor.py
13ebf530b1f61d0a49bb18575723f2adad8500fb
[]
no_license
Trust-Code/odoo-technical-training
55809a38233878598a2f0a44a8ccea150b7aa23c
0afda9953fdd6aca00571ac2d963b253501f3364
refs/heads/master
2020-04-23T17:55:37.312348
2019-02-22T19:22:20
2019-02-22T19:22:20
171,349,105
0
1
null
2019-02-22T19:22:20
2019-02-18T20:10:33
Python
UTF-8
Python
false
false
692
py
from odoo import fields, models from odoo.exceptions import UserError class Monitor(models.Model): _name = 'monitor' status = fields.Boolean(string="Status") hostname = fields.Char(string="Hostname") ip_address = fields.Char(string="Endereço IP") protocol = fields.Char(string="Protocolo") po...
[ "danimaribeiro@gmail.com" ]
danimaribeiro@gmail.com
339acdb2099b8d3e4339a546bcc7be2191907b64
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-iot/aliyunsdkiot/request/v20180120/UpdateSpeechModelRequest.py
a92428b4782198ce045a59f174c0c6df3cca703b
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
2,516
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
1373bb8c3323ff1f9533f1143db4ccc0a76ed6e8
3155c38585c5d1cf27c4d8065cb5821f5b980983
/scripts/issues/issue14.py
927a4551513545445e72d62ff5c23314bad10af2
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
jlstevens/awesome-panel
460c86ac886a86fa1a3f6ec79b6186f292ca10bc
c67b0f4529a3ce6a8517648f49fef8358e2e2c8b
refs/heads/master
2020-11-25T03:11:10.018557
2019-12-16T20:57:07
2019-12-16T20:57:07
228,474,317
0
0
Apache-2.0
2019-12-16T20:55:56
2019-12-16T20:55:55
null
UTF-8
Python
false
false
804
py
import panel as pn text = """\ ## Wide images in markdown overflows the page A wide image in markdown overflows the page **I think it's a friction point that could be easily solved by setting `max-width: 100%` in the default css of Panel**. Or alternative by default adding `max-width: 100%` to the styling of the `pn...
[ "MASMA@orsted.dk" ]
MASMA@orsted.dk
b54883b0da3d4d4fe8a977eea92844fc55230961
2ae3e31af24f344ddc935cafc176e1d71a454401
/tests/snuba/incidents/test_tasks.py
927984c4b550ec4d0513acd4e264389578d56267
[ "BSD-2-Clause" ]
permissive
Unpublished/sentry
22b61e46daa7b6f5177b0c08e98929792900ee81
9b1393d4a3aa5f2a4012fff6fc8546baf73a6f46
refs/heads/master
2020-07-29T00:55:05.854581
2019-09-24T23:27:50
2019-09-24T23:27:50
209,604,113
0
0
null
2019-09-19T16:47:44
2019-09-19T16:47:43
null
UTF-8
Python
false
false
3,982
py
from __future__ import absolute_import import json from copy import deepcopy from uuid import uuid4 from confluent_kafka import Producer from django.conf import settings from django.test.utils import override_settings from exam import fixture from sentry.incidents.logic import create_alert_rule from sentry.snuba.sub...
[ "dfuller@sentry.io" ]
dfuller@sentry.io