blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
7ec62fa65d189134f96ad76d02130a15a9598acd
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/web/latest/web_app_swift_virtual_network_connection.py
3e8952e7afad52a8498263aaa96cb79bcd78486d
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
6,147
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 from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
1561dc7a0d4fdcc7d078decb8d7a38e0e0838680
8600ea155f279e5a8dfe5a1926038511f6b6a7ea
/membership/wizard/__init__.py
ab1f292ce8f004d75e6a9cebe2c074fb580a2a84
[]
no_license
MarkNorgate/addons-EAD
c2fff89ab16fce3ba19fbe433ee5863705a6f4e5
840f28642b5d328e4b86839c413e5164622295a5
refs/heads/master
2020-04-23T22:11:00.164438
2015-07-22T12:24:53
2015-07-22T12:24:53
39,501,011
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify #...
[ "mark.norgate@affinity-digital.com" ]
mark.norgate@affinity-digital.com
e9e2037b55eee5289c172664d2628b589cfd35ef
b7620d0f1a90390224c8ab71774b9c906ab3e8e9
/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/DescribeLiveStreamWatermarksRequest.py
75fdfa4674d65607a75e94f5a4e7d72a1d5becb4
[ "Apache-2.0" ]
permissive
YaoYinYing/aliyun-openapi-python-sdk
e9c62940baee1a35b9ec4a9fbd1e4eb0aaf93b2f
e9a93cc94bd8290d1b1a391a9cb0fad2e6c64627
refs/heads/master
2022-10-17T16:39:04.515562
2022-10-10T15:18:34
2022-10-10T15:18:34
117,057,304
0
0
null
2018-01-11T06:03:02
2018-01-11T06:03:01
null
UTF-8
Python
false
false
1,844
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
ae433691f368227705fc5d0df3b181e7c53763e9
25ba4b387bf6bb278af1335b18e99ea0389548be
/think_python_solutions/chapter-06/exercise-6.8.py
9b6ed0d969a178a8c2633a592518055b1d9abade
[]
no_license
adwanAK/adwan_python_core
56ffc63b326ec3f6739bc4733c060dc49554f1ae
745922331cf36f65376c55115ee9a3df4d5c0450
refs/heads/master
2022-12-12T21:35:42.387685
2018-09-26T08:53:43
2018-09-26T08:53:43
148,442,004
2
1
null
2022-12-08T02:23:54
2018-09-12T07:46:34
Python
UTF-8
Python
false
false
841
py
#!/usr/bin/env python # encoding: utf-8 """ exercise-6.8.py Greatest commond divisor with Euclid's algorithm. PITA to realize that we must return the function vaule, not simply invoke the gcd function via recursion. Created by Terry Bates on 2012-08-19. Copyright (c) 2012 http://the-awesome-python-blog.posterous.com....
[ "breuss.martin@gmail.com" ]
breuss.martin@gmail.com
f75a4829b19ba35e524480bfe8810f6d7f6964e9
81aaa9ffcbdddf0b6f99a5c4c84adf179fef8f3e
/maml_rl/tests/utils/test_torch_utils.py
3c9d2a02ccef8f45ec2b222cc40ed8c90c499847
[ "MIT" ]
permissive
dkkim93/pytorch-maml-rl
5ffd728d356224136244f46bc32b18c72568d007
6dd0dd7dbf2e8aed29e5c3bbab9f42cfd780c99a
refs/heads/master
2021-07-09T07:28:40.184950
2020-08-10T03:50:10
2020-08-10T03:50:10
174,039,301
1
0
MIT
2019-03-06T00:01:14
2019-03-06T00:01:13
null
UTF-8
Python
false
false
3,711
py
import pytest import numpy as np import torch import torch.nn as nn from maml_rl.utils.torch_utils import (weighted_mean, weighted_normalize, vector_to_parameters) def test_weighted_mean(): lengths = [2, 3, 7, 5, 11] # Inputs inputs_np = np.random.rand(13, 5).astyp...
[ "tristan.deleu@gmail.com" ]
tristan.deleu@gmail.com
51f33cc29c4bf5e9a4b13ce80679ec1ace1b8c61
a298d0b4a3e9e12170651a6bf728093b4badfac7
/LeetCode/394 - Decode String/decodeString.py
98d734f3743b24e348b307092d67a1c6b79350b9
[]
no_license
gavinz0228/AlgoPractice
fc8ecd194ea2d26de59df45909838161c802b8cd
1cb183a326a0612a5cd941778500a8265e1d7255
refs/heads/master
2022-07-27T11:42:06.887668
2022-07-18T20:38:31
2022-07-18T20:38:31
172,929,652
1
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
class Solution(object): def decodeString(self, s): """ :type s: str :rtype: str """ return self.getString(s)[0] def getChars(self, s): if not s: return "","" if ord(s[0]) > 57: for i in range(len(s)): if...
[ "gavinz0228@gmail.com" ]
gavinz0228@gmail.com
8f9b74e584166ea6b796806111f5fc467dbaebf4
f36b733f9c24d4cabd0d3354e0344094fbf3c026
/a10_saltstack/helpers/helper_modules/a10_cgnv6_lsn.py
cd9e9303c79271c0cf98e7829c74d1a2739c5a8a
[ "Apache-2.0" ]
permissive
a10networks/a10-saltstack
08e13647e0187b09500ed3d9053ae06e7e808746
0d86043b1d09e75ea170e72fac5068254fc4037c
refs/heads/master
2021-03-19T16:11:14.211706
2019-07-24T17:18:04
2019-07-24T17:18:04
123,501,933
2
3
null
2019-07-24T17:18:05
2018-03-01T22:55:53
Python
UTF-8
Python
false
false
2,223
py
# Copyright 2019 A10 Networks # # 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, ...
[ "thompson.grey.hunter@gmail.com" ]
thompson.grey.hunter@gmail.com
b032bab5b656e6bb9d18d5ee3d3dded0406cb869
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_license_plate_request.py
c1acf5879b063b5598ca85dc49a3cc438cd447aa
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
6,709
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class RecognizeThailandLicensePlateRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): Th...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
6d49fc4df7c3b8e4dd925d25afe79a6b324151f9
78b160d8131f3c4b7aef0d051b040825a9c50e0d
/algoexpert/threeNumberSum.py
864ca5a9c129c8a28975b66b5644991a336c3890
[ "MIT" ]
permissive
ardakkk/Algorithms-and-Data-Structures
744f8c9ffb233b95040e5bdcbddb9f5d2ff7a5ba
c428bb0bd7eeb6c34448630f88f13e1329b54636
refs/heads/master
2021-07-08T22:40:40.361282
2020-07-20T10:39:58
2020-07-20T10:39:58
156,005,721
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# Time: 0(n^2) | Space: O(n) def threeNumberSum(array, target_sum): array.sort() triplets = [] for i in range(len(array) - 2): left = i + 1 right = len(array) - 1 while left < right: current_sum = array[i] = array[left] + array[right] if current_sum == target...
[ "ardakfuse@gmail.com" ]
ardakfuse@gmail.com
c780e1290022738f2784cc181bb9b35646860418
315145ec1f997da0ac2dcedc221285b9a8aae3a9
/2016/get_tweetid_boundary.py
91f38626644492392eded816ed26277cf40cc24c
[]
no_license
lukuang/2016-rts
55cc7f942ad674c325e1e906246873016e3b9678
bfe8c57711aa3243419ff4c0487e971eee667aa6
refs/heads/master
2021-01-19T04:21:53.707708
2019-01-03T23:14:46
2019-01-03T23:14:46
61,137,503
1
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
""" generate tweet boundary for each day """ import os import json import sys import re import argparse import codecs import subprocess def get_tweet_id(output): for line in output.split("\n"): tweetid_finder = re.search("<DOCNO>(\d+)",line) if tweetid_finder: return tweetid_finder.gr...
[ "lukuang1989@gmail.com" ]
lukuang1989@gmail.com
484932b2584a92629dfb5af13608264e37cf192e
3b8ea489dcf2eea47c37156527a2727221e216f3
/virtual/lib/python3.6/site-packages/gunicorn/__init__.py
0edcf51907fe1909fae903ba27d6f143406cb4ac
[ "MIT" ]
permissive
toelapiut/unsplash
d57ec93825ebae7107aea43823b1acbe4e5493f6
a93a694bef7214c64d248e20f3a6b904b463672d
refs/heads/master
2021-08-31T14:49:31.383197
2017-12-21T19:07:11
2017-12-21T19:07:11
111,072,300
5
0
MIT
2017-12-21T19:07:12
2017-11-17T07:31:39
Python
UTF-8
Python
false
false
255
py
# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. version_info = (19, 7, 1) __version__ = ".".join([str(v) for v in version_info]) SERVER_SOFTWARE = "gunicorn/%s" % __version__
[ "toelapiut7@gmail.com" ]
toelapiut7@gmail.com
ac563116caaf0fd04a8dc147dae27c0f347f95fe
75fa11b13ddab8fd987428376f5d9c42dff0ba44
/metadata-ingestion/tests/integration/git/test_git_clone.py
3436c692f5d95399a53d6f910545ab484c6be3d1
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "MIT" ]
permissive
RyanHolstien/datahub
163d0ff6b4636919ed223ee63a27cba6db2d0156
8cf299aeb43fa95afb22fefbc7728117c727f0b3
refs/heads/master
2023-09-04T10:59:12.931758
2023-08-21T18:33:10
2023-08-21T18:33:10
246,685,891
0
0
Apache-2.0
2021-02-16T23:48:05
2020-03-11T21:43:58
TypeScript
UTF-8
Python
false
false
3,961
py
import os import pytest from pydantic import SecretStr from datahub.configuration.common import ConfigurationWarning from datahub.configuration.git import GitInfo, GitReference from datahub.ingestion.source.git.git_import import GitClone LOOKML_TEST_SSH_KEY = os.environ.get("DATAHUB_LOOKML_GIT_TEST_SSH_KEY") def t...
[ "noreply@github.com" ]
RyanHolstien.noreply@github.com
2b811bc4a558ca355bc8465310d5280b36813baf
8ee8fe3c2acea497a85428bfb3dfde19e58b2bc3
/test-examples/issue_673_reproduce.py
aa8cc0108c7bfb6feebd605779c329efcf6936d2
[ "BSD-3-Clause" ]
permissive
sofroniewn/image-demos
a6e46f08fd4ce621aa96d6b6378b50f63ac2b381
2eeeb23f34a47798ae7be0987182724ee3799eb8
refs/heads/master
2022-11-02T23:50:23.098830
2022-10-30T04:38:19
2022-10-30T04:38:19
179,378,745
11
1
null
null
null
null
UTF-8
Python
false
false
729
py
""" Test adding 4D followed by 5D image layers to the viewer Intially only 2 sliders should be present, then a third slider should be created. """ import numpy as np from skimage import data, measure import napari import scipy.ndimage as ndi image = data.binary_blobs(128, n_dim=3) verts, faces, normals, values = ( ...
[ "sofroniewn@gmail.com" ]
sofroniewn@gmail.com
05f26dba9cb6933495ecf2bc530966099292e3d2
6c14069181f313e84eeb524dd495e3882156ef50
/samples/basic/executor/models/cisco-ios-xr/Cisco-IOS-XR-cfgmgr-rollback-act/nc-execute-xr-cfgmgr-rollback-act-42-ydk.py
9ef12861c74cd7aea090947f557c9240b9294995
[ "Apache-2.0" ]
permissive
decolnz/ydk-py-samples
dde0fd64fd4df12a215588766a0f1fb8baf07fcd
7fa3f53c4d458c3332d372fb2fe3c46c5e036f07
refs/heads/master
2021-01-19T03:24:19.877929
2017-04-04T17:16:46
2017-04-04T17:16:46
87,310,389
1
0
null
2017-04-05T13:06:57
2017-04-05T13:06:57
null
UTF-8
Python
false
false
3,204
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "saalvare@cisco.com" ]
saalvare@cisco.com
bf676537a89da5673703b3507daf8b5d7be47720
161d96f4b16e1cc7e473f12b7070aa9f5615e28e
/iternal/discord/cogs/admin/debug.py
d348403298838515aca40e1a29a7ddeae2b6b833
[]
no_license
pikoUsername/prison-bot
be717d4d64eb18d922bf808bb9d48db659269318
c6b8df54e71a4f0fc0fa1568d9da070a290d43da
refs/heads/master
2023-04-02T18:46:52.034934
2021-04-13T05:07:41
2021-04-13T05:07:41
345,583,521
0
0
null
null
null
null
UTF-8
Python
false
false
1,744
py
from discord.ext import commands as commands from discord import Embed as Embed from .utils import log as log from iternal.discord.loader import _ as __, proj_root as proj_root from iternal.store.prison import Prison as Prison class Debugger(commands.Cog, name='pantry | Кладовка'): """ Использвать для того ч...
[ "galymzhan.amantaj@gmail.com" ]
galymzhan.amantaj@gmail.com
064c47c344a4c113a40b9dfe3e8c77cca1f181ac
415a8a4315e6331b2a157de8a1429fe0562729f8
/python/matplotlib/axisSciNotation.py
72ae2b7e657fd9d1a2ed94320b673af0cd30a29a
[]
no_license
alfaceor/programming-examples
784690dd1104e4adbdf958e4163b3b462f635881
abea970a54cfab0eacc5280ae62383495e9e6eeb
refs/heads/master
2022-05-04T23:14:30.503114
2022-04-29T10:11:45
2022-04-29T10:11:45
36,015,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt import matplotlib.ticker as mtick ###### BEGIN PLOT DECORATION VARIABLES font = {'family' : 'normal', 'weight' : 'bold', 'size' : 18} plt.rc('font', **font) plt.rc('text', usetex=True) ###### END PLOT DECORATION VARIABLES XX = n...
[ "alfaceor" ]
alfaceor
548b27946f87ef8704f9fc1a9ba223e08c830efa
6a3af6fe669b2e17db1fa7d0751cbc4e04948079
/fn_icdx/tests/test_icdx_helper.py
9b02b54530b75dba078fdc5e236bea2fe5278b8f
[ "MIT" ]
permissive
jjfallete/resilient-community-apps
5f0a728fe0be958acc44d982bf0289959f84aa20
2e3c4b6102555517bad22bf87fa4a06341714166
refs/heads/master
2022-04-17T13:20:36.961976
2020-04-13T07:03:54
2020-04-13T07:03:54
169,295,943
1
0
MIT
2020-04-13T07:03:56
2019-02-05T19:06:57
Python
UTF-8
Python
false
false
5,963
py
# -*- coding: utf-8 -*- # (c) Copyright IBM Corp. 2010, 2018. All Rights Reserved. """Tests using pytest_resilient_circuits""" from __future__ import print_function import pytest from fn_icdx.util.helper import ICDXHelper class TestIcdxUtilitiesHelper: """ Tests for the helper class""" @pytest.mark.parametr...
[ "brianwal@us.ibm.com" ]
brianwal@us.ibm.com
677afc8e9b4fedb3137341367891adad32492c94
00fc70953dd85f2699fc80cd7c59e9c472cbb90e
/test/test_retention_metadata.py
841367183a76561a116775360f9a0f8cb528dae3
[ "MIT" ]
permissive
solidgoldbomb/python-harbor
89b270caaa6ac450245753c0a3a13af3ff96c142
4a12789a9712cc101abd3f8d32464bc8a474e0a4
refs/heads/main
2023-02-25T20:22:19.137094
2021-02-01T11:58:24
2021-02-01T11:58:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
880
py
# coding: utf-8 """ Harbor API These APIs provide services for manipulating Harbor project. # noqa: E501 OpenAPI spec version: 2.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import harbor from harbor.models.rete...
[ "angeiv.zhang@gmail.com" ]
angeiv.zhang@gmail.com
a1a70d3b122ddbe41c7677983806a28e4eeed340
0b60be2c526149603fcbd3f1a40545ed5d6ed1fc
/uiautomator2/exceptions.py
c5cc3d53d859bec09c096e8a1a9a6578010f23ac
[ "MIT" ]
permissive
levixie/uiautomator2
6f2d4eb1bd1e416dc6ad8a0e50f56dd2f1344530
7fa465601d747aad5c673d603486ad2145b9e860
refs/heads/master
2020-05-20T20:55:13.068591
2019-06-23T23:03:57
2019-06-23T23:03:57
185,751,403
0
0
MIT
2019-06-23T23:03:58
2019-05-09T07:46:01
Python
UTF-8
Python
false
false
1,802
py
# coding: utf-8 # # class ATXError(Exception): # pass class UiaError(Exception): pass class ConnectError(UiaError): pass class XPathElementNotFoundError(UiaError): pass class GatewayError(UiaError): def __init__(self, response, description): self.response = response self.des...
[ "codeskyblue@gmail.com" ]
codeskyblue@gmail.com
1b2d28b012a3ae9806e7d4ee05e0969f02935089
ed9e1b622dad6b559cd0fe6fa23d6a27f857dc7f
/galsim/deprecated/gsobject_ring.py
6a44668976b265c701e31f9d701d4287480961e9
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
ajwheeler/GalSim
40d6f8c64789b601ed2547eefed05f1577592613
cf0ef33e5f83da1b13a0617d362d8357056d6f22
refs/heads/master
2021-01-22T06:14:31.486159
2017-04-20T01:20:20
2017-04-20T01:20:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,029
py
# Copyright (c) 2012-2017 by the GalSim developers team on GitHub # https://github.com/GalSim-developers # # This file is part of GalSim: The modular galaxy image simulation toolkit. # https://github.com/GalSim-developers/GalSim # # GalSim is free software: redistribution and use in source and binary forms, # with or w...
[ "michael@jarvis.net" ]
michael@jarvis.net
9d492d34a91b9b6a2adaf147e43b85fd5e1810c3
6bf7149077f539ab599db1f717c93aca82724512
/static-and-class_metods/movie-world/customer.py
3aed9a54bd7db6ed12a7a149c4e8651417f97feb
[]
no_license
KalinHar/OOP-Python-SoftUni
8b53e8b734b364878c5372525c4249fdd32f0899
9787eea7ab5101e887ed4aaeb0a8b3b80efcfdd7
refs/heads/master
2023-07-09T08:15:59.765422
2021-08-16T06:01:08
2021-08-16T06:01:19
380,813,294
0
1
null
null
null
null
UTF-8
Python
false
false
361
py
class Customer: def __init__(self, name, age, id): self.name = name self.age = age self.id = id self.rented_dvds = [] def __repr__(self): return f"{self.id}: {self.name} of age {self.age} has {len(self.rented_dvds)} " \ f"rented DVD's ({', '.join([dvd.fami...
[ "kalix@abv.bg" ]
kalix@abv.bg
13ecdc3abf138774ecd6ae0a21a5abc0bc3c11a0
a321652061fd5c389490030f898a0191a35f21c3
/managers/operatorsTranscribe/metadata_filegenerator.py
d22dd980ee14d63ef5b5c619fa7a92e2f3597a43
[ "BSD-3-Clause" ]
permissive
cerebunit/cerebmodels
5c4b1485e68d078988ff7057385309a26e05415a
316d69d7aed7a0292ce93c7fea20473e48cfce60
refs/heads/master
2023-02-18T06:45:08.716877
2022-07-18T11:34:13
2022-07-18T11:34:13
139,698,484
0
1
BSD-3-Clause
2023-02-10T21:20:07
2018-07-04T09:15:24
AMPL
UTF-8
Python
false
false
7,147
py
# ~/managers/operatorsTranscribe/metadata_filegenerator.py import platform import uuid import time from datetime import datetime from dateutil.tz import tzlocal class FileGenerator(object): """ **Available Methods:** +---------------------------------+----------------------------------+ | Method name ...
[ "neuralgraphs@gmail.com" ]
neuralgraphs@gmail.com
6decd7a44b88980b1b2eb4cf82a52ae9b74c63df
4c499782655f8e929a5dd6b39d6c5d378fcfd7bd
/2_7_grid.py
4c2dab664014608b73819477edbe701451b3cf3f
[]
no_license
IanCBrown/practice_questions
53a3fd66bee807f6e30e6d57632966f146c704c9
838b94c26cd3c26b76c3908277944a3b5f9bc7c7
refs/heads/master
2021-08-06T07:14:57.237709
2020-04-16T05:03:33
2020-04-16T05:03:33
149,521,025
1
0
null
null
null
null
UTF-8
Python
false
false
1,705
py
from __future__ import absolute_import import sys grid = [] def bfs(grid, n, m): visited = [] q = [(0,0)] while q: node = q.pop(0) if node[0] == n and node[1] == m: visited.append(node) return visited if node not in visited: visited.append(node)...
[ "icb0004@auburn.edu" ]
icb0004@auburn.edu
bdc8891fa9754d6a88a31b22a34e0d3fbb425a84
2d4380518d9c591b6b6c09ea51e28a34381fc80c
/CIM16/IEC61970/Informative/InfLoadControl/LoadShedFunction.py
026cb4a998ab4aeff40560258328b4003d84f7c7
[ "MIT" ]
permissive
fran-jo/PyCIM
355e36ae14d1b64b01e752c5acd5395bf88cd949
de942633d966bdf2bd76d680ecb20517fc873281
refs/heads/master
2021-01-20T03:00:41.186556
2017-09-19T14:15:33
2017-09-19T14:15:33
89,480,767
0
1
null
2017-04-26T12:57:44
2017-04-26T12:57:44
null
UTF-8
Python
false
false
2,090
py
# Copyright (C) 2010-2011 Richard Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish...
[ "fran_jo@hotmail.com" ]
fran_jo@hotmail.com
97f2b7fc974fd31f932b8119a1893c6cdcfbf035
55a273347cb103fe2b2704cb9653956956d0dd34
/code/tmp_rtrip/encodings/cp1257.py
f99bc227bb34ce2c00c56c2c65c9741d841809b6
[ "MIT" ]
permissive
emilyemorehouse/ast-and-me
4af1bc74fc967ea69ac1aed92664f6428acabe6a
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
refs/heads/master
2022-11-18T03:50:36.505882
2018-05-12T17:53:44
2018-05-12T17:53:44
115,035,148
25
1
MIT
2022-11-04T11:36:43
2017-12-21T18:27:19
Python
UTF-8
Python
false
false
1,767
py
""" Python Character Mapping Codec cp1257 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1257.TXT' with gencodec.py. """ import codecs class Codec(codecs.Codec): def encode(self, input, errors='strict'): return codecs.charmap_encode(input, errors, encoding_table) def decode(self, input, errors='...
[ "emily@cuttlesoft.com" ]
emily@cuttlesoft.com
cff6911a30320c0e916ef582ab4652791fb96ef3
3b07edf0cd5c546a09ef79fd93ebfd2b04e162e1
/data/ebs-ai-basic/2/2/05.py
09b0cd80cc813b63c21f1f472eb40eb13a01d637
[]
no_license
neverlish/Learned
603b41f7c6ba3cf4e5eea162f501fc42f8326aa3
47f9160c2e516c8b4d1692f1f7dbf200f1cadbb6
refs/heads/master
2023-06-24T06:03:35.848932
2023-06-10T11:38:53
2023-06-10T11:38:53
78,947,372
8
1
null
2023-09-14T05:26:47
2017-01-14T15:12:57
Jupyter Notebook
UTF-8
Python
false
false
2,670
py
# 행렬의 차이를 이용해서 두 이미지 표현하기 import turtle import numpy as np pixelSize = 10 def putPixel(x, y, pSize, pCol): turtle.penup() turtle.goto(x*pSize, (-1)*y*pSize) turtle.pendown() turtle.begin_fill() turtle.fillcolor(pCol) turtle.setheading(45) turtle.circle(pSize/2, steps=4) turtle.end_fi...
[ "noreply@github.com" ]
neverlish.noreply@github.com
4d7128e1848b65dbcfc95770e62a47980627bd14
a463f5858c663199b6f6e38d9b2dc93e9a9ae730
/problem/2003/00_200316/4522_세상의모든팰린드롬.py
e11adf0825d5dc9730b7dab4969ef9b58acbd159
[]
no_license
do-park/swexpertacademy
4993f79e3a73697ecdc71e0f654306466626b00b
7cbbb0957ce5191cb44cd35094da5b0d29783e49
refs/heads/master
2020-12-22T19:26:35.257666
2020-10-19T02:02:32
2020-10-19T02:02:32
236,907,286
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
for tc in range(1, int(input()) + 1): flag = ['Not exist', 'Exist'] f = 1 string = list(map(str, input())) for i in range(0, len(string) // 2): if string[i] != string[len(string) - i - 1]: if string[i] == '?' or string[len(string) - i - 1] == '?': continue ...
[ "dohee.pa@gmail.com" ]
dohee.pa@gmail.com
d6391f42975e1fd64be45e9ba6750c4ab0765042
bb06411e37bcba25a89bd523133a4e4d083558f1
/sdk/python/pulumi_xyz/provider.py
aba9d6d647b165a5401f010edb5b6ccd24ccc548
[ "Apache-2.0" ]
permissive
zelarhq/pulumi-provider-boilerplate-openapi
7410b57bc220bee9c7095d0a6e9d8e8250ff5620
aec2430937a0c5df072c713f4641ea5ba128569f
refs/heads/master
2023-08-14T19:14:58.092965
2021-06-03T13:32:23
2021-06-03T13:32:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,776
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 __al...
[ "github@mikhail.io" ]
github@mikhail.io
87ea8efb7076d210da8faaf220c1197c97519945
a9bd335b3948d707a6785490e132d59e375c7242
/Problem 101 - 200/P107.py
a61e07fcfa2ee8db5f4498938d386c14f1f48737
[]
no_license
xzguy/LeetCode
cc52f5329843bb2f692cea131c20b629af910bab
54d99f5e54391ea6ed467e2b5c984848a918dc2a
refs/heads/main
2023-03-25T17:50:50.173621
2021-03-28T16:06:03
2021-03-28T16:06:03
331,409,968
0
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def levelOrderBottom(self, root: TreeNode) -> [[int]]: if not root: return [] queue = [root] res = [] while qu...
[ "xuzhou.guy@gmai" ]
xuzhou.guy@gmai
1dd8bdd14d661670b6c8fefa7039e907d5c112bc
e32ee307e4c59cc18f9dea18d797784a1b23148f
/removing the longest palindrome from it..py
6f68218a0b80234c2729e290897466feffb27853
[]
no_license
GuhanSGCIT/SGCIT
f4ab44346186d45129c74cbad466c6614f9f0f08
8b2e5ccf693384aa22aa9d57f39b63e4659f6261
refs/heads/master
2020-07-11T05:47:54.033120
2020-07-07T05:02:41
2020-07-07T05:02:41
204,459,836
0
0
null
null
null
null
UTF-8
Python
false
false
1,287
py
# Python 3 implementation to find # minimum number of deletions # to make a string palindromic # Returns the length of # the longest palindromic # subsequence in 'str' def lps(str): n = len(str) # Create a table to store # results of subproblems L = [[0 for x in range(n)]for y in range(n)] ...
[ "noreply@github.com" ]
GuhanSGCIT.noreply@github.com
8aefb0884aeec07500f70bb238b221cef9a1b21b
cbd2eee46663fad5b5375b13c8c21b1b06eb4c6b
/python_test/except.py
a006780e3fc9b3e0aafc7e7df11473ee0268902a
[]
no_license
1026237416/Python
ef474ee40d7efcd6dabb6fb0ecba81b4dcfc7e14
ffa8f9ffb8bfec114b0ca46295db05c4213c4c30
refs/heads/master
2021-07-05T00:57:00.456886
2019-04-26T10:13:46
2019-04-26T10:13:46
114,510,323
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
s=raw_input("Please input your age:") if s == "": raise Exception("Input must no be empty.") try: i = int(s) except ValueError: print "Could not convert data to an integer." except: print "Unknow exception!" else: print "You are %d"%i, "years old" finally: print "Goodbye"
[ "1026237416@qq.com" ]
1026237416@qq.com
f96f89d9b4a367edb8f8dbf294ee4d21024402b0
283464882733bf4fb9d98c74f46279e98cfd20f9
/calenguay/events/views.py
20e252ce8b369cbac61b1125d1ab5f7e54873b6a
[]
no_license
mariocesar/calenguay
8647734f3fdf3fdeacca44f493b7128be9de54f0
f1759a2a0c35bfc82976b36d7cea65e10a81f572
refs/heads/master
2021-09-25T11:43:08.339647
2020-03-24T22:55:57
2020-03-24T22:55:57
249,537,405
0
0
null
2021-09-22T18:46:55
2020-03-23T20:30:14
Python
UTF-8
Python
false
false
1,560
py
from django import forms from django.contrib import messages from django.core.exceptions import ValidationError from django.core.mail import message from django.shortcuts import get_object_or_404, redirect, render from calenguay.events.models import Category, Event, EventType def landing(request): categories = C...
[ "mariocesar.c50@gmail.com" ]
mariocesar.c50@gmail.com
49606bc5d3a8da0cae3a8792f1f6867089dfb5f2
f9d3ee7b3b203d23f9ef2c95055e1d26bfddd74b
/nn/embedding/embedding.py
29d3ea957df9c0aae268444adcd8460d4784fb39
[ "MIT" ]
permissive
kefirski/amt
ec4b1d4f2bb9a0103c82ef3c09357894272b44f4
6dcca5743ea8750a740c569181ec6998352ef784
refs/heads/master
2021-05-12T19:26:27.756474
2018-01-14T19:56:24
2018-01-14T19:56:24
117,093,089
28
2
null
null
null
null
UTF-8
Python
false
false
2,362
py
from math import sqrt import numpy as np import torch as t import torch.nn as nn from gensim.models.keyedvectors import KeyedVectors from torch.autograd import Variable class Embeddings(nn.Module): def __init__(self, path, vocab_size, max_len, h_size): super(Embeddings, self).__init__() self.voc...
[ "olavursky@gmail.com" ]
olavursky@gmail.com
0845d1f075a7811404b355d17f30f0b0df9abc6c
045cb1a5638c3575296f83471758dc09a8065725
/addons/whatsapp_live/__manifest__.py
38438a168cf3acf2f7b5d8951b7acb880a863574
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
# -*- coding: utf-8 -*- # Copyright 2019 GTICA C.A. - Ing Henry Vivas { 'name': 'Whatsapp Connect Chat Live', 'summary': 'Marketing, Sale, connect Chat Whatsapp live for your business', 'version': '13.0.1.0.0', 'category': 'Website', 'author': 'Harpiya Software Technologies', 'support': 'info@h...
[ "yasir@harpiya.com" ]
yasir@harpiya.com
4bcaa3376d450b8aa1c54c76e3908d3796c1edd3
68bfd128be73ab94ce3b2084585d2957376477d5
/use_cos_loss/data_process.py
b71008b8eac28d7d60168c393e09fd653501c2c9
[]
no_license
SunnyangBoy/Table_Derection
88ceaab3c5f9f8b5ca5d62b7cdb8bffe6e5520b0
35eb4d48858f5aaabe4e46602b169acf67aca2d0
refs/heads/master
2022-10-21T08:20:22.546040
2020-06-17T15:46:30
2020-06-17T15:46:30
273,015,655
1
0
null
null
null
null
UTF-8
Python
false
false
4,758
py
import cv2 import numpy as np import os import math def avg_count(img): sum_r = 0 sum_g = 0 sum_b = 0 for i in range(10): for j in range(10): sum_r += img[i][j][0] sum_g += img[i][j][1] sum_b += img[i][j][2] return sum_r/100, sum_g/100, sum_b/100 def av...
[ "ubuntu@localhost.localdomain" ]
ubuntu@localhost.localdomain
b372f136945c7c140f928e3fcc06b705264dd82a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2606/60797/247414.py
a53d3bf72630c68d1fad189adb9a6e4ed7f2c6f0
[]
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
471
py
import math def search(nums, target): left = 0 right = len(nums) - 1 i = (left + right) // 2 while target != nums[i]: if target < nums[i]: right = i - 1 i = (left + right) // 2 else: left = i + 1 i = (left + right) // 2 return i if __...
[ "1069583789@qq.com" ]
1069583789@qq.com
feff5ab73695206b96ceecd566fb5f3a48277960
685f4474699d769dae88537c69f5517ac13a8431
/EL266.py
03916d472efa7cdc10b541a5ebdc329e8c3f3e82
[]
no_license
Pumafied/Project-Euler
7466f48e449b7314598c106398c0be0424ae72d5
0c3e80a956893ce1881a9694131d52b156b9d3d8
refs/heads/master
2016-09-05T22:45:09.733696
2013-04-20T04:46:48
2013-04-20T04:46:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
# The divisors of 12 are: 1,2,3,4,6 and 12. # The largest divisor of 12 that does not exceed the square root of 12 is 3. # We shall call the largest divisor of an integer n that does not exceed the square root of n the pseudo square root (PSR) of n. # It can be seen that PSR(3102)=47. # Let p be the product of th...
[ "pumafied@gmail.com" ]
pumafied@gmail.com
a8c147db047fa4bcc792392e8c7a98ea3ea03be4
18576820ca4cfbecbfc8e8c05e9aaba0809e6138
/fizeau_control_loop.py
5ea265e3af610f8f96546e44790327fc23afc2ca
[]
no_license
mwanakijiji/lbti_fizeau_control
d12e3fcfa12725ab24c42acaaea6e83bd97e2f02
08cd6aa2ae77d028b3b5d794d6403bffe143b25d
refs/heads/master
2021-07-09T09:13:06.175214
2018-12-10T16:24:44
2018-12-10T16:24:44
139,908,276
0
0
null
null
null
null
UTF-8
Python
false
false
2,021
py
#!/usr/bin/python from lmircam_tools import * from lmircam_tools.overlap_psfs import overlap_airy_psfs, overlap_grism_psfs from lmircam_tools.dial_opd import optimize_opd_fizeau_grism, optimize_opd_fizeau_airy from lmircam_tools.change_tt import optimize_tt_fizeau_airy ############## BEGIN GROSS OVERLAP OF NON-FIZEA...
[ "spalding@email.arizona.edu" ]
spalding@email.arizona.edu
ed86d450a200b1a3716031f000c74d3c8bc7d0b5
449f410b621049c4049a4f7d4b0858f53d56a7d7
/tests/test_text.py
6551f5ce92298f3a3be022e2e9f7888b1f6651cd
[ "MIT" ]
permissive
mvwicky/holdmypics
c02f25fd05d9694ff61d5839bd039a3a1bea4b01
194b135f885ef76d55975727a4a5125a6f9d33ee
refs/heads/main
2023-05-10T19:36:20.978697
2023-05-06T21:27:29
2023-05-06T21:27:29
196,925,416
0
0
MIT
2023-03-31T15:23:01
2019-07-15T04:45:27
Python
UTF-8
Python
false
false
5,151
py
from __future__ import annotations import imghdr import io import os import time from collections.abc import Callable from typing import TYPE_CHECKING from urllib.parse import urlencode import pytest from flask.testing import FlaskClient from hypothesis import example, given, strategies as st from loguru import logge...
[ "mvanwickle@gmail.com" ]
mvanwickle@gmail.com
738b8cf3f59c9df7da1c0c7c55adfefafc2b9a16
9ba61317b33c4015ccfedd80a08532e6698c5b7f
/mnist_data/mnist_app.py
59c99360f921f9ad12f26afc3ca2d477430a7abd
[]
no_license
csliuchang/tensorflow_project
68ff7cdda3805747529de8e57bdcb94e8abaf4f2
0ff718d814ee2e181a35dd968e596421e6986616
refs/heads/master
2020-06-25T23:57:36.669965
2019-08-02T11:28:10
2019-08-02T11:28:10
199,460,996
0
0
null
null
null
null
UTF-8
Python
false
false
3,147
py
# coding utf-8 import tensorflow as tf import numpy as np from PIL import Image import mnist_backward import mnist_forward # from .mnist_backward import MODEL_SAVE_PATH def restore_model(testPicArr): """ " 创建一个默认图,在改图中执行以下操作" args: MOVING_AVERAGE_DECAY: 用于控制模型更新的速度,训练过程中会对每一个变量维护一个影子变量,这个影子变量的初始...
[ "598306303@qq.com" ]
598306303@qq.com
1694499f38c5a7460bdbbd2db70b473fc4b3672a
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/Lambda-Resource-Static-Assets/2-resources/BLOG/Data-Structures/1-Python/sort/bubble_sort.py
eab30b253fea793d1b3452317c7e81488330911d
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
770
py
""" https://en.wikipedia.org/wiki/Bubble_sort Worst-case performance: O(N^2) If you call bubble_sort(arr,True), you can see the process of the sort Default is simulation = False """ def bubble_sort(arr, simulation=False): def swap(i, j): arr[i], arr[j] = arr[j], arr[i] n = len(arr) swapped = ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
9696ef11bc4fc57ad2c5358083c52b57eba4a87c
3e7a8c5630de986a4d02011b1bd368c041f3f477
/pytorch/pytorch实现多层感知机对手写数字分类.py
9bc6523f288118ada524b6e1da6d7b78f30ab5bd
[]
no_license
gswyhq/hello-world
b9ef715f80d2b39c8efaa1aa2eb18a6257e26218
b1ab053a05e1f8c63b8b04d6904a3cdca450bd9f
refs/heads/master
2023-05-26T13:15:36.788620
2023-05-19T13:38:50
2023-05-19T13:38:50
158,821,148
16
6
null
2021-03-19T02:59:48
2018-11-23T11:04:43
Python
UTF-8
Python
false
false
4,428
py
#!/usr/bin/env python # coding: utf-8 # # 3.10 多层感知机的简洁实现 # In[ ]: import torch from torch import nn from torch.nn import init import numpy as np import sys import torchvision print(torch.__version__) # ## 3.10.1 定义模型 # In[11]: num_inputs, num_outputs, num_hiddens = 784, 10, 256 class FlattenLayer(torch.nn.M...
[ "gswyhq@126.com" ]
gswyhq@126.com
d40cbd78c22105244ca33f02a4478fe8bbf16590
a8720518ad514ed4ce893afc43576b6d44ad80b1
/homepage/core/admin.py
42e968b08de540fbcf2531c8f353b64cdaf5e2c2
[]
no_license
AlecAivazis/homepage-old
39d7b08219a1aa1341af8a1ce8ae17dab136ea7d
c48abea73d7118455ac207058cdf0f9d00352877
refs/heads/master
2023-03-12T14:13:44.321900
2015-10-28T23:44:43
2015-10-28T23:44:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
# -*- Python -*- # -*- coding: utf-8 -*- # # alec aivazis # # this file describes the base administration for homepage # homepage imports from .models import Project, ProjectScreenshot # import the django admin from django.contrib import admin # register the base models admin.site.register(Project) admin.site.regist...
[ "alec@aivazis.com" ]
alec@aivazis.com
b683a8b084d250943a04f7b80d5cb9fa65abfa8c
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/lib/python3.6/site-packages/imgaug/augmenters/contrast.py
73170bb37c584e7b4de84c07db04386b23c4f881
[]
no_license
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:6724a23ca8693f52610258fd36edf644480787d709d4351080b5513adc338d47 size 57678
[ "Nqk180998!" ]
Nqk180998!
1c65d2f8b68e1df88765b82bf73aa337b70d5bf6
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/networkcloud/azure-mgmt-networkcloud/generated_samples/agent_pools_create.py
e4702cfc48a1642bf33c4566afcd5f9eb16bf7eb
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
4,299
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" ]
Azure.noreply@github.com
b92c719c838c44f7a9aab607d59e87dbb6da351d
e97060ebb056b8c037e9cf95be08158ecab321bc
/ibmsecurity/isds/interfaces.py
f6af6a062b6ec84043d1ca491d2a39cc3363fcb0
[ "Apache-2.0" ]
permissive
sandermey/ibmsecurity
74ed8378e9ddb9f778b76d227e90cfb747511c1e
92ba7828260e96a6a323f4ac3830bfa43ee8dd7e
refs/heads/master
2020-04-09T22:49:06.302901
2018-03-07T05:04:37
2018-03-07T05:04:37
124,246,868
0
0
Apache-2.0
2018-03-07T14:21:29
2018-03-07T14:21:28
null
UTF-8
Python
false
false
1,052
py
import logging import ibmsecurity.utilities.tools logger = logging.getLogger(__name__) def get_all(isdsAppliance, check_mode=False, force=False): """ Retrieving all interfaces :rtype: (str, dict) """ return isdsAppliance.invoke_get("Retrieving all interfaces", "/widgets/mgmtinterface") def get_a...
[ "rsreera@us.ibm.com" ]
rsreera@us.ibm.com
2eab281a1db78a8b6420122afd404fe0b0a12c37
568fa58296378fa129ab3349adf010daa44ed45b
/third_party/incubator-tvm/python/tvm/contrib/miopen.py
e062ac1e735ecdca9a09778d0aaef388d7a78837
[ "Zlib", "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "NCSA", "X11-distribute-modifications-variant", "Unlicense", "LLVM-exception" ]
permissive
mindspore-ai/akg
37f471badc66de6a831f1f45ad84344f34d23ef2
99f33858d6972741748cbfc9ab0bf9600428fef7
refs/heads/master
2023-07-25T23:03:17.672665
2023-07-11T07:33:57
2023-07-11T07:33:57
274,077,856
319
36
Apache-2.0
2021-12-30T13:43:08
2020-06-22T08:09:05
Python
UTF-8
Python
false
false
3,805
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...
[ "1027252281@qq.com" ]
1027252281@qq.com
ef9da3bac625f676f56fdc1d3a6ff80c1630d9da
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4060/224004060.py
0cfd110dffd480626cfac7c195c4d02697106c2d
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
416
py
from bots.botsconfig import * from records004060 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'MA', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'CF1', MIN: 1, MAX: 1}, {ID: 'CF2', MIN: 1, MAX: 9999, LE...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
50ef32c94d5e5aee734232dd3e61fc70bf587629
8773e8c9b9a0a6e407f91b6f7c6321141d7e8356
/P0113.py
0b8fdc5ce3434443cc3611041a335ba30d4bcad7
[]
no_license
westgate458/LeetCode
1836bb21e8dd95386ccab390f5fd04567a429a02
36d7f9e967a62db77622e0888f61999d7f37579a
refs/heads/master
2021-12-28T04:16:36.875737
2021-12-17T05:48:09
2021-12-17T05:48:09
152,928,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
# -*- coding: utf-8 -*- """ Created on Wed Apr 3 13:23:08 2019 @author: Tianqi Guo """ class Solution(object): def pathSum(self, root, sum): """ :type root: TreeNode :type sum: int :rtype: List[List[int]] """ # deal with trivial case if not root: ...
[ "tqguo246@gmail.com" ]
tqguo246@gmail.com
f4440770a165003e26a1fe82ab270ff926180faa
b822fd48d109c59a07cfef5196888c3f22c792b3
/aae/train.py
0c434501c97952da300c1a76736c15a79a31d1cb
[ "MIT" ]
permissive
cupOJoseph/drawlikebobross
2e179f24bc59303be2782d95880235c57995a460
e4c33745c605d17ea6b9e5bea3cf339eb875a58a
refs/heads/master
2022-05-05T12:18:45.504161
2018-07-05T02:21:40
2018-07-05T02:21:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,237
py
import os import sys import argparse import torch import torchvision.transforms as transforms sys.path.append(os.path.dirname(__file__)) from trainer import gan_trainer from loader import BobRossDataset # Params parser = argparse.ArgumentParser(description='GAN trainer') parser.add_argument('--epoch', default=500, ...
[ "kendricktan0814@gmail.com" ]
kendricktan0814@gmail.com
faa0232a40c211a3852add071f93ba865508361c
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part002186.py
828488582f050dee16fc5a1431eafefa81c4dca2
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,304
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
67c3f9ec9c939f9d356a5fd38f10e6df68ba4e5e
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/celery/2016/4/test_filesystem.py
e96039d394100b3efa36fe17417d2f22b8d73151
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
2,471
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals import os import shutil import tempfile from celery import states from celery.backends.filesystem import FilesystemBackend from celery.exceptions import ImproperlyConfigured from celery.utils import uuid from celery.tests.case import Ap...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
37ec8231587eda9a2df9ede1cf5ec2282956d8c1
d4d3b859f136154427c36924f87525590853873a
/Tools.py
b104a92fdf8abdde26ffeaa6ddae63c1d381c369
[]
no_license
lijiunderstand/Semantic_Segmentation_RefineNet
46b002f53254d5cc0bb4b9565382d2386a1d01c9
ec7ea477096dafc2052fa74fdb3277199251a35f
refs/heads/master
2020-04-18T10:16:16.303654
2018-07-11T16:41:18
2018-07-11T16:41:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,346
py
import time import os from tensorflow.python import pywrap_tensorflow import numpy as np from matplotlib import pyplot as plt import cv2 class Tools: def __init__(self): pass @staticmethod def print_info(info): print(time.strftime("%H:%M:%S", time.localtime()), info) pass # 新...
[ "woxinxie1234@163.com" ]
woxinxie1234@163.com
428f590f1df538a492bd7a601fcb55bf5ce4ee3b
81fff1188c6918fbe7ccbcd9e61b62456f0abef5
/backend/settings.py
4531b84a2b3ef8fe367cd5479e52c1a85a274c8d
[ "MIT" ]
permissive
mugash/cookbook-graphql-backend
2742087f3e6c4012f5c99c17c0518c27a8b30078
116e9dc2e5b0d63a2e4429a5c6f192cd0c43508d
refs/heads/master
2020-12-02T16:13:25.043539
2017-07-07T09:02:42
2017-07-07T09:02:42
96,519,903
0
2
null
null
null
null
UTF-8
Python
false
false
3,205
py
""" Django settings for backend project. Generated by 'django-admin startproject' using Django 1.11.3. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "mugagambi@gmail.com" ]
mugagambi@gmail.com
9d12a804190337836e997d0e7f88d8a22da76e8b
84147502b81451a2f9bcaabc00a35789afe132f0
/fastapistudy/test_chapter08.py
abf3208c284c9c77487e9a7b074f1a6fe1c9b59a
[]
no_license
teng-tt/Fastapi_Study
bfdb3ca9f97cf8e2a928f56a77d0fc17c5bb9692
946decd07b0de98ce353d4008c7920c778a94a6f
refs/heads/master
2023-06-01T14:57:43.811721
2021-06-13T03:50:55
2021-06-13T03:50:55
360,474,922
1
0
null
null
null
null
UTF-8
Python
false
false
878
py
# !/usr/bin/python3 # -*- coding:utf-8 -*- # __author__ = "Teng" from fastapi.testclient import TestClient from run import app """ 测试用例 """ client = TestClient(app) # 先安装pytest def test_run_bg_task(): # 主义不是async def h函数test开头是一种pytest规范 response = client.post(url="/chapter08/background_tasks?framework=FastAp...
[ "admin@example.com" ]
admin@example.com
a6e2b69a7dd2c15bf8f960ee53cf86c2fca9e9cd
9eb35d6df7b0490d556623f84dba12bb05f30ee2
/models_and_validation/cross_validation.py
6b2524e4812c1b21e05c66400b87e28df0741375
[ "MIT" ]
permissive
FelSiq/statistics-related
0b4442bd19338c5b0da7dcf5ecd53eb304dcd3f8
ee050202717fc368a3793b195dea03687026eb1f
refs/heads/master
2021-11-24T12:31:08.660652
2021-11-03T23:42:39
2021-11-03T23:42:39
211,089,869
2
0
null
null
null
null
UTF-8
Python
false
false
5,204
py
"""Tests with cross-validation. General and simple method used for estimating unknown parameters from data. General algorithm: 1. Randomly partition the data X of size n into X_{train} and X_{test} Let m = X_{test}.size Therefore, X_{train}.size = n - m 2. Fit the model using X_{train} 3. ...
[ "felipe.siqueira@usp.br" ]
felipe.siqueira@usp.br
feb5e81dff37b3e59bb6b25fe4a2ad1dd53ee5f0
4591684136ac81244d5337197e97f58864d7fff3
/keras/keras18_ensemble1.py
afb0ad3b17ce43849797d7ecfda41ba1b2a9b692
[]
no_license
marattang/AI_training
4b15e9d9734d77ae04beaae078749c85d832c9c5
f7f1a2b762dcf770335b62ee668ad1c54ccf1ceb
refs/heads/main
2023-06-20T19:05:10.385238
2021-07-26T00:29:10
2021-07-26T00:29:10
383,965,630
0
0
null
null
null
null
UTF-8
Python
false
false
2,746
py
from tensorflow.keras.models import Model from tensorflow.keras.layers import Dense, Input import numpy as np from tensorflow.keras.layers import concatenate, Concatenate from sklearn.model_selection import train_test_split from sklearn.metrics import r2_score x1 = np.array([range(100), range(301, 401), range(1, 101)]...
[ "tlawlfp0322@gmail.com" ]
tlawlfp0322@gmail.com
e23cff71c1b73f9b5b94aefde10c99cbf6be3d6d
66fb1005aaeb25735a1ae9197ab7dd371862bbf2
/sysadmin_scripts/mongodb_data_model_3/updateDB.py
4cd67377a565ab4d07f01bf4870f41dc2df64706
[ "MIT" ]
permissive
jfnavarro/st_misc
8a8d87df9e059dbd2a037d4267acd4e21593e7c4
bb8c1f2c4f05343f6dd5cc8b8cd8f405d825bd31
refs/heads/master
2021-01-01T17:13:58.540991
2017-08-22T13:04:26
2017-08-22T13:04:26
98,029,163
0
0
null
null
null
null
UTF-8
Python
false
false
4,714
py
#! /usr/bin/env python """ Script to convert ST API database model 2 to model 3 @author: Jose Fernandez """ import argparse import os import sys try: from pymongo import MongoClient from pymongo import errors from bson.objectid import ObjectId except ImportError, e: sys.stderr.write("Pymongo was not f...
[ "jc.fernandez.navarro@gmail.com" ]
jc.fernandez.navarro@gmail.com
b0a4eaabb5ac8a0fbcc6c8266ba143827102a7db
6b98eeaf6eb485e1cc4d56c3eda15b6482f21296
/app/grandchallenge/evaluation/migrations/0003_config_new_results_are_public.py
d09b3fcc4484ec754dc2e22c6730305c3811c093
[ "Apache-2.0" ]
permissive
cnbillow/grand-challenge.org
ef2db96c7bc6919aa7ee993d43978f8c3185a71f
de90bd01ca6aa883dcb47c4d005bd15f38549752
refs/heads/master
2020-03-28T03:07:41.905924
2018-09-06T04:45:57
2018-09-06T04:45:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.12 on 2018-04-03 10:27 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("evaluation", "0002_config_submission_page_html")] operations = [ migrations.AddField( ...
[ "jamesmeakin@gmail.com" ]
jamesmeakin@gmail.com
7291d8ba50828814176f7abb193c7cde1e7ba1c6
9d93af3cf4a663fe5e9618061a37d0910c089cea
/tests/test_decompressor_decompressobj.py
8787afa53b47209b0870bd073017dbb59cd40c88
[ "BSD-3-Clause" ]
permissive
glandium/python-zstandard
49bd96daed537169345f8024ead5a4fe599f8b4d
80c3142f274621d11b1e3c401e17ee4b983ab1a5
refs/heads/master
2022-12-07T00:34:01.413940
2022-10-29T22:33:35
2022-10-29T22:38:08
134,373,670
0
0
null
2018-05-22T06:57:46
2018-05-22T06:57:46
null
UTF-8
Python
false
false
3,799
py
import unittest import zstandard as zstd class TestDecompressor_decompressobj(unittest.TestCase): def test_simple(self): data = zstd.ZstdCompressor(level=1).compress(b"foobar") dctx = zstd.ZstdDecompressor() dobj = dctx.decompressobj() self.assertEqual(dobj.unused_data, b"") ...
[ "gregory.szorc@gmail.com" ]
gregory.szorc@gmail.com
57848684f29088f1594e93d18a9cca0f11cda17c
c8781d3dc17202fcc1b5358475071c0a834c7f82
/ShowAndSearch/utils/parser.py
fe86a895837ffa7cf0261b804c6bb2395d13278d
[ "Apache-2.0" ]
permissive
guchengxi1994/show-and-search
7b73d4a7a0250a0f70cf07b0de7695d6c8051545
e955a6677f3cd23b1f7ed247e828a5852ec6ab20
refs/heads/master
2022-12-22T06:28:36.601500
2020-09-22T05:17:14
2020-09-22T05:17:14
295,630,132
1
0
null
null
null
null
UTF-8
Python
false
false
1,636
py
''' lanhuage: python Descripttion: version: beta Author: xiaoshuyui Date: 2020-09-15 15:59:10 LastEditors: xiaoshuyui LastEditTime: 2020-09-22 11:19:20 ''' import argparse from ShowAndSearch.utils.logger import logger class BaseParser(object): def __init__(self, args: list, method: str): """ args...
[ "528490652@qq.com" ]
528490652@qq.com
6a0aec763b5e253145873cd3bed3a39e26344b7f
016b7b0cdd60900ca9b2e26f959142c30313e00d
/report/views.py
1c7bc22d70a1ad296f8eed19d0e4747783cedc6b
[]
no_license
groob/imagr_server
1e2abdab290b020225359103e72f56ecec7d52b5
81dfa968ed48ec719803dd0d53f17b92130e76da
refs/heads/master
2020-04-05T23:06:40.972867
2015-06-11T14:46:15
2015-06-11T14:46:15
51,090,790
0
0
null
2016-02-04T16:58:34
2016-02-04T16:58:34
null
UTF-8
Python
false
false
773
py
from django.shortcuts import render from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from models import * # Create your views here. @csrf_exempt def index(request): data = request.POST serial = data['serial'] message = data['message'] status = data['status'] ...
[ "graham@grahamgilbert.com" ]
graham@grahamgilbert.com
beefc26ee5cc6b2af147350338002391621f0297
80e6e31054fe9105d2c26be7aac53c4cd6a4a33f
/scripts/kettle/oracle2hive.py
532ed84e5b965fec9f9c21de191d5f8bc008386d
[]
no_license
alionishere/learn_python
8a7f6dc7d754a357d4cb720f4bc0d5c3e6e5e895
832b8e0579da0b7ab37e815be10204f8de1ad22d
refs/heads/master
2021-06-24T11:02:05.111027
2021-06-23T08:47:06
2021-06-23T08:47:06
223,834,194
0
0
null
null
null
null
UTF-8
Python
false
false
5,666
py
# -*- coding: utf-8 -*- import json import dbutils get_ora_meta_sql = ''' SELECT t1.OWNER ,t1.TABLE_NAME ,t1.COLUMN_NAME ,t1.DATA_TYPE ,t1.DATA_LENGTH ,t1.DATA_PRECISION ,t1.DATA_SCALE ,t2.COMMENTS FROM DBA_TAB_COLUMNS t1 LEFT JOIN DBA_COL_COMMENTS t2 ON t1.OW...
[ "wang_hongke@163.com" ]
wang_hongke@163.com
ed264a15f7a93c1ffc3c24393851337420b1c8c5
5f67c696967456c063e5f8a0d14cf18cf845ad38
/archiv/_python/py4inf/gmane/gyear.py
30e892a7e7d666c4991703bf713d123ac276373c
[]
no_license
wuxi20/Pythonista
3f2abf8c40fd6554a4d7596982c510e6ba3d6d38
acf12d264615749f605a0a6b6ea7ab72442e049c
refs/heads/master
2020-04-02T01:17:39.264328
2019-04-16T18:26:59
2019-04-16T18:26:59
153,848,116
1
0
null
null
null
null
UTF-8
Python
false
false
1,705
py
import sqlite3 import time import urllib.request, urllib.parse, urllib.error import zlib conn = sqlite3.connect('index.sqlite') conn.text_factory = str cur = conn.cursor() # Determine the top ten organizations cur.execute('''SELECT Messages.id, sender FROM Messages JOIN Senders ON Messages.sender_id = Senders.id...
[ "22399993@qq.com" ]
22399993@qq.com
e8001a656cae6b21c00f398deca4b950fda490ed
ab98c033b4c2e80b304e9f77b740b6d545870b66
/data_aggregation/CreationBDD2_3_aliases+GoTerms/researchDG.py
86a42e0a2c3605a4904beaa95bb1e64303e6338a
[]
no_license
yannistannier/textmining-light
503384c28f5fb4763293ced15337295685d84ba3
864210d127684d5af55336ceb8c0718d0f2c3e3c
refs/heads/master
2020-04-14T23:37:38.751779
2019-01-07T09:10:50
2019-01-07T09:10:50
164,209,545
0
1
null
null
null
null
UTF-8
Python
false
false
4,808
py
from Bio import Entrez, SeqIO, Medline import scipy.sparse as sp import numpy as np import pandas as pd import sklearn import sys Entrez.email = "xxxxxxx@gmail.com" def recupDictionnaires(): ens = [] file = open("dict.txt", "r") doc = file.read() dim = len(doc.split("##")) i = 0 ...
[ "tannier.yannis@gmail.com" ]
tannier.yannis@gmail.com
049c12ca9c2ec403bf4f152a25d45aee9f1d0c8c
6cb1bd6816af5964c82e127e9e28cd6d0fd5fd7d
/05-05finally.py
e54a7e88b941cc9bae40f8afbc18c38fba553199
[]
no_license
jinju-lee/Python-study
660f952b3c16d675147f870e1cab473177106636
c226bcb2c501c49ac157b6d3a3d18e515f3011f8
refs/heads/master
2021-05-08T21:15:32.782635
2018-02-11T14:32:26
2018-02-11T14:32:26
119,610,114
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
try: num =int(input('숫자를 입력하세요:')) except ValueError: print('숫자가 아닙니다.') else: print(num) finally: print('finally는 무조건 실행됩니다.')
[ "noreply@github.com" ]
jinju-lee.noreply@github.com
158affbd0c69bdb708234a227040c705d8a0b2f4
88853b9b6c3ae0c12cbd5bf83be3d48f2fe0159e
/document/eggs_package/gflux_egg/gflux/gflux/apps/station/management/commands/obselete/deal_with_shihua_none_fuel_data.py
e12cd0c2aed3e9ab1d6084886feb5e89e19b5a76
[]
no_license
laoyin/nyf
9151da3368c2e636501bcf1ad52f895fe446c04b
a2b12f54827b6088548f060881b6dafa2d791a3a
refs/heads/master
2021-01-17T17:11:14.174968
2015-09-28T01:12:28
2015-09-28T01:12:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,588
py
# coding=utf-8 import sys reload(sys) sys.setdefaultencoding('utf-8') from django.core.management.base import BaseCommand from dash.core.backends.sql.models import get_dash_session_maker from gflux.apps.common.models import SiteDayBatch from datetime import datetime from optparse import make_option import sys,pdb,re f...
[ "niyoufa@tmlsystem.com" ]
niyoufa@tmlsystem.com
38769bed99e3caf79b45b1c948a5142c38462485
dee1aa5ce988f59165a8a651b28f471c468fff99
/tributary/lazy/output/__init__.py
3d73f9fd9636c043435f23c15dff8fc754280c14
[ "Apache-2.0" ]
permissive
ceball/tributary
04f22e57048a3cb0375b57cdb30e62f69cf4a380
5e30f90d1a5cc176c0f231f525d9dc5a81353925
refs/heads/master
2022-12-05T20:35:33.631468
2020-08-28T13:14:24
2020-08-28T13:14:24
291,319,040
0
0
Apache-2.0
2020-08-29T17:39:39
2020-08-29T17:39:38
null
UTF-8
Python
false
false
3,819
py
from ..node import Node def _print(node, cache=None): if cache is None: cache = {} cache[id(node)] = node ret = {node: []} if node._dependencies: for call, deps in node._dependencies.items(): # callable node if hasattr(call, '_node_wrapper') and \ ...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
7e5da0fbf908161bc4084fef3c8bf28c92b54ad9
c868d681415d152ba331bd80e0ed542832f20f0e
/week 3/todo_project/todo_project/main/migrations/0005_auto_20200205_2301.py
819409651f247514434443d5e5acf7e6a3948904
[]
no_license
Yeldarmt/BFDjango
a297a6b0c00ffb1a269f05c7e6665c5d34a51097
b8256ff1d5f2125495df66eabf267fc17e667aeb
refs/heads/master
2022-11-30T12:45:17.356453
2020-04-19T16:50:26
2020-04-19T16:50:26
233,515,749
0
0
null
null
null
null
UTF-8
Python
false
false
906
py
# Generated by Django 2.0 on 2020-02-05 17:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0004_auto_20200203_1126'), ] operations = [ migrations.CreateModel( name='Todo', fields=[ ('id...
[ "eldarmukhametkazin@gmail.com" ]
eldarmukhametkazin@gmail.com
3467e9fbec6ceb28a2b2a98d25b2a0dbb03e4122
78e60a7d8a67ed76244004e8a3ed573fbf396e41
/samples/sq__unbind_skill.py
5e488f7e1a0d6a6147070822fc075df323fa31d5
[ "MIT" ]
permissive
Crivez/apiclient-python
837a9f7cc0453ccd3121311adc7920b5fe6b3e33
860fc054f546152a101e29b1af388c381075ac47
refs/heads/master
2023-06-08T13:24:09.249704
2021-06-17T12:16:35
2021-06-17T12:16:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
from voximplant.apiclient import VoximplantAPI, VoximplantException if __name__ == "__main__": voxapi = VoximplantAPI("credentials.json") # Unbind the skill with id = 1 from the user with id = 1. APPLICATION_ID = 1 USER_ID = 1 SQ_SKILL_ID = 1 try: res = voxapi.sq__unbind_skil...
[ "andrey@voximplant.com" ]
andrey@voximplant.com
21282b4075722ef249ada742b5404b049ef993c0
9d278285f2bc899ac93ec887b1c31880ed39bf56
/ondoc/diagnostic/migrations/0014_auto_20180427_1159.py
32ba48033c717f5b1bc268bb1082d320a0021623
[]
no_license
ronit29/docprime
945c21f8787387b99e4916cb3ba1618bc2a85034
60d4caf6c52a8b70174a1f654bc792d825ba1054
refs/heads/master
2023-04-01T14:54:10.811765
2020-04-07T18:57:34
2020-04-07T18:57:34
353,953,576
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
# Generated by Django 2.0.2 on 2018-04-27 06:29 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('diagnostic', '0013_auto_20180426_1939'), ] operations = [ migrations.AddField( model_name='lab', ...
[ "arunchaudhary@policybazaar.com" ]
arunchaudhary@policybazaar.com
b255bd1e4fb2df23e823fb53929c10a3c852f996
98801e91bf1a78c5903449082113ecc154cd020e
/src/dron/notify/ntfy_desktop.py
369cf3cf6b8d8ba4eea5002b5597032c988ce1d5
[]
no_license
karlicoss/dron
bcec62e3602fa12134fdb6b86cc54f839086eba5
395d8a259b083b86f3128240bfa8f905fa255921
refs/heads/master
2023-06-10T07:12:20.799184
2023-06-04T23:41:33
2023-06-04T23:48:07
236,066,875
39
2
null
2023-06-04T23:48:08
2020-01-24T19:14:14
Python
UTF-8
Python
false
false
302
py
#!/usr/bin/env python3 from .common import get_parser, IS_SYSTEMD from .ntfy_common import run_ntfy BACKEND = 'linux' if IS_SYSTEMD else 'darwin' def main() -> None: p = get_parser() args = p.parse_args() run_ntfy(job=args.job, backend=BACKEND) if __name__ == '__main__': main()
[ "karlicoss@gmail.com" ]
karlicoss@gmail.com
a3afa5a2a3d5d7657e6d618c5fd7fedd42af7d4e
a550aece79bda789826b463280b91abffbf2d372
/django_projects/chat_app_channels/chatapp/chat/consumers.py
f0aa98c0798399935500a605d8bf556123c8a97f
[ "MIT" ]
permissive
phiratio/learn_python
20376470eaa292c157fd01f52b3077e3a983cd5a
a32240d4355fb331805d515f96e1d009914e5c47
refs/heads/master
2022-11-27T07:07:45.712373
2020-12-03T22:04:31
2020-12-03T22:04:31
189,397,679
1
0
MIT
2022-11-22T04:40:27
2019-05-30T10:56:10
Python
UTF-8
Python
false
false
1,288
py
import json from channels.generic.websocket import AsyncWebsocketConsumer class ChatConsumer(AsyncWebsocketConsumer): async def connect(self): self.room_name = self.scope['url_route']['kwargs']['room_name'] self.room_group_name = 'chat_%s' % self.room_name # Join room group await ...
[ "phiratio161@gmail.com" ]
phiratio161@gmail.com
30df387384a195945b78fe44a457618949568134
98e761a1702351df3b3db91e4ee832ae25d213d1
/test/db_predict2.py
0c33754dac31c6939eb33c91f9c38e337e28bad6
[]
no_license
jack139/face-test
ed637fdabace49c969dac8abbd12d2e80c589fec
3907bf1e84c1e346b4429da0e8ca919ca6404098
refs/heads/master
2023-01-18T18:33:24.812823
2020-11-23T13:32:22
2020-11-23T13:32:22
315,326,106
0
1
null
null
null
null
UTF-8
Python
false
false
2,085
py
# -*- coding: utf-8 -*- # 使用两个算法模型并行识别 import os, sys import base64 #from datetime import datetime from models.predict_plus import predict_parallel, predict_thread_db if __name__ == "__main__": if len(sys.argv)<4: print("usage: python3 %s <knn|keras> <group_id> <test dir or file>" % sys.argv[0]) ...
[ "jack139@gmail.com" ]
jack139@gmail.com
2ddf079941f4eeee653c7ce2ed639d720e32d599
2e10e4f2d5372a82e63377813ff765b876624c30
/promenade/builder.py
394e14f7e4861ddd1e536805ad94025d33734eb2
[ "Apache-2.0" ]
permissive
chnyda/airship-promenade
6ecdda3def775810733d41c88a4ce0391eaf7739
006f1b790772aa7f08852f2409d4c125e1c9f423
refs/heads/master
2020-03-20T01:01:11.409606
2018-06-20T07:17:36
2018-06-20T07:17:36
137,064,477
0
0
null
2018-06-12T11:52:41
2018-06-12T11:52:41
null
UTF-8
Python
false
false
4,512
py
from . import logging, renderer import io import itertools import os import requests import stat import tarfile __all__ = ['Builder'] LOG = logging.getLogger(__name__) class Builder: def __init__(self, config, *, validators=False): self.config = config self.validators = validators self._...
[ "mark.m.burnett@gmail.com" ]
mark.m.burnett@gmail.com
3aaa90180fa18a62d598af790848d69ced4297d4
56be7f6b6a1243c532af9ea98310ccea165a1e66
/day9/课件/2-并发编程/线程/1.线程.py
4c93970dcacc26f1ea5fd6bbb63b6619f8af13fe
[]
no_license
214031230/Python21
55b0405ec4ad186b052cde7ebfb3f4bb636a3f30
d7fc68d3d23345df5bfb09d4a84686c8b49a5ad7
refs/heads/master
2021-05-26T06:00:53.393577
2019-01-09T02:29:04
2019-01-09T02:29:04
127,778,172
0
0
null
null
null
null
UTF-8
Python
false
false
1,141
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # 什么是进程 :是计算机资源分配的最小单位 # 什么是线程 # 线程和进程的关系 : # 每一个进程中都至少有一个线程 # python中线程的特点 # 其他语言中线程的特点 # import os # import time # from threading import Thread # n = 100 # def func(i): # global n # time.sleep(1) # n -= 1 # print(os.getpid(),'thread%s'%i) # t_l = [] # ...
[ "214031230@qq.com" ]
214031230@qq.com
07cde02db4967803b942d8b688c42a2d75a4dfd1
d8ff8d809fcff5f8370e317d837485648cc6ac9b
/repr_test.py
7a91cc106da55a3a694d406c14e6e30f848cef3e
[]
no_license
xiabofei/python_details
c9b1ebfdc9574201b8ac21ebd8aa5e0e8442d3de
1d6950d0fc32997e6f6e6cb269cd1ef4bb233c2f
refs/heads/master
2020-04-02T06:35:05.659746
2019-04-05T06:11:58
2019-04-05T06:11:58
60,343,232
3
0
null
null
null
null
UTF-8
Python
false
false
231
py
#encoding=utf8 """ werkzeug/routing/ Rule __repr__方法 直接print某个对象时 打印出的信息 """ class Test(object): def __repr__(self): return "<%s, called>" % (self.__class__.__name__) t = Test() print t
[ "xbf9xbf@qq.com" ]
xbf9xbf@qq.com
f99d9eb488f96ead2b6615f8f842d81f126d62a7
1c21fa248091e31c362b95afafc5021211e85e63
/invensis_pmc/customer/migrations/0011_remove_customer_services_required.py
f754435ba5eeda7264f3ca535292b5a98b54cd81
[]
no_license
anudeepnaidu95/dev5
3d3252a51fccbb794e78a91681708e1b3c1ce0d4
7351244b79be242aa2cad36dbe1adca22a744edc
refs/heads/master
2021-01-20T12:28:07.286078
2017-05-05T11:08:37
2017-05-05T11:08:37
90,365,863
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-14 14:19 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('customer', '0010_auto_20160714_1930'), ] operations = [ migrations.RemoveField( ...
[ "anudeepnaidu95@gmail.com" ]
anudeepnaidu95@gmail.com
acd99f69d096e095274ab74784eeb2d609a3a1d9
2b6df7c9f1ffbda9d46eda14a62010dac6cfe6da
/app/utils.py
9802bc03b16c95b262732b9479c811f1203dca51
[]
no_license
its-arpit/tranageapp
355e03a362fe14f2cd992b4fa3021806bc4cc4e9
657859135f492cb0f58b532671ee799060aa5afa
refs/heads/master
2023-06-04T12:54:53.956808
2021-06-11T16:10:23
2021-06-11T16:10:23
376,124,298
0
0
null
2021-06-11T19:41:13
2021-06-11T19:30:24
null
UTF-8
Python
false
false
583
py
from django.shortcuts import render from django.http import HttpResponse from django.core.mail import send_mail import math, random def generateOTP() : digits = "0123456789" OTP = "" for i in range(4) : OTP += digits[math.floor(random.random() * 10)] return OTP def send_email_otp(request)...
[ "vkvineet66@gmail.com" ]
vkvineet66@gmail.com
f4acc1b6983de406da0a4d2d27544abda966e6da
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/learnbgame_hops/operators/misc/triangulate_ngons.py
392d2147834108f25c1e15670053e2c33eba33e5
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
import bpy class HOPS_OT_TriangulateNgons(bpy.types.Operator): bl_idname = "hops.triangulate_ngons" bl_label = "triangulate ngons" bl_description = "triangulate ngons" bl_options = {"REGISTER"} @classmethod def poll(cls, context): return True def execute(self, contex...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
681d91cef8af005ef2529196c8d13b4eddf0314d
dc39ccc50b7d34e5de84f3cc132c5cc096a32656
/Sanic/4-NamedURLRedirect/main.py
035aee847b4d83b28db14dd020c1e8de99eb6971
[]
no_license
Shukladas1115/Python
0947aefd62a9ce4c3140360cb7259b031368709c
feb32bc2e2e7df377fc2d92330bfdacb83f31a55
refs/heads/master
2022-02-20T04:15:56.036495
2019-08-26T16:36:52
2019-08-26T16:36:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
from sanic import Sanic from sanic import response app = Sanic(__name__) @app.route('/') async def index(request): # generate a URL for the endpoint `post_handler` url = app.url_for('post_handler', post_id=5) # the URL is `/posts/5`, redirect to it return response.redirect(url) @app.route('/posts/<...
[ "minhhien90@gmail.com" ]
minhhien90@gmail.com
5a7c1fe7ce5663916fe48e08b1c9a759329dca0c
9bdd421f0bd5cb30a0429e11b23bd85ed34b006a
/account/views.py
019f9c68589e98f18cf1df20bd508d7642623be2
[]
no_license
MrAch26/yugioh_django_proj
8f0f0fbf0cb6e4ec4fac8757a7236fbb08099689
9cd363a3ab9019c92973454dab5eb812894c4c37
refs/heads/main
2023-03-27T21:53:45.240113
2020-10-25T07:39:22
2020-10-25T07:39:22
305,049,382
0
0
null
null
null
null
UTF-8
Python
false
false
2,289
py
from django.contrib.auth import authenticate, login from django.contrib.auth.models import User from django.shortcuts import render, redirect from django.urls import reverse, reverse_lazy from django.views.generic import CreateView, UpdateView, DetailView from account.forms import UserSignupForm, ProfileViewForm from ...
[ "MrAch26@users.noreply.github.com" ]
MrAch26@users.noreply.github.com
68f3fb9a96aa5c00e2fb8dedab67d2f23725c127
edb88981aa1420af7e074068ed7818b9d904a3dd
/trunk/minds/test/test_app_httpserver.py
91a8c2880f3ee0c0508f61d743a9000402944147
[]
no_license
BackupTheBerlios/mindretrieve-svn
101c0f1dfc25d20d5f828b6fd0d43301b773af4e
463745fcf1c1d5b1f6c201c30bcc339c99b437ed
refs/heads/master
2021-01-22T13:57:31.225772
2006-04-28T04:24:43
2006-04-28T04:24:43
40,801,743
0
0
null
null
null
null
UTF-8
Python
false
false
3,765
py
""" """ import StringIO import unittest from minds.safe_config import cfg as testcfg from minds import app_httpserver class AppHTTPRequestHandlerFixture(app_httpserver.AppHTTPRequestHandler): def __init__(self): pass class TestAppHTTPRequestHandler(unittest.TestCase): def _test_lookup(self, url, ...
[ "tungwaiyip@785ff9d5-dded-0310-b5f2-a5aff206d990" ]
tungwaiyip@785ff9d5-dded-0310-b5f2-a5aff206d990
3668b4615b62655571841c3fe2962d8a50e0b33f
1b5ab3f252069181b5e07d4d6d177ab82e942e51
/Homework3/Part 1/tt1.py
e219c5bb06a667aa68f443395c6215ac7c9e253b
[]
no_license
phamhailongg/C4T9
59214081224f37b356e209d57f0865632dccc8f6
c400005012fb349c1388dd92c8e590322bb203e4
refs/heads/master
2021-07-06T11:10:05.283974
2019-05-05T21:46:04
2019-05-05T21:46:04
152,599,080
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
from turtle import * speed(10) color("red") for i in range(4): lt(120) fd(100) lt(-60) fd(100) lt(-120) fd(100) lt(-60) fd(100) lt(30) mainloop()
[ "longphamhai123@gmail.com" ]
longphamhai123@gmail.com
f7a0a2fa0e865a49765a53208422402c335ba849
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_discomposing.py
bafc1a64c9a8785f9dbb06454a7311b879d585bc
[ "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
240
py
#calss header class _DISCOMPOSING(): def __init__(self,): self.name = "DISCOMPOSING" self.definitions = discompose self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['discompose']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
dd9ea44609ed4c96315ef9e7285fbe5f871730ce
30bd7e8abe0a15fbb8f1b1e4a3a9a15a3ad124a9
/romans/src/utils/roman.py
c2a15aca81d4265a81dc04ee59ee231d8b7b4fca
[]
no_license
TiagoArrazi/Romans
c96cac19a36e5e89ea719b084693b2af0f6e1cf2
f2841931fb9b7428acdc4604dae0535508002781
refs/heads/master
2020-07-12T01:53:44.220206
2019-08-27T12:31:34
2019-08-27T12:31:34
204,688,868
0
0
null
null
null
null
UTF-8
Python
false
false
3,057
py
from resources.symbols import symbols class Roman: @classmethod def make_it_roman(cls, number): if 900 <= int(number) <= 3000: mult = divmod(int(number), 1000) if mult[0] > 0 and mult[1] == 0: return symbols["1000"] * mult[0] c_amount = (1000 - in...
[ "tiago_arrazi98@outlook.com" ]
tiago_arrazi98@outlook.com
f14c49b90c661b6ac6e514e6ecfda425e0621418
17f2ea360d2cc77ff45ab7b61f0e03d3c9d96247
/Stock/Trade/AccountManager/StopMode/DyStockStopLossMaMode.py
e53c9179190315d960e3820c1281b459be2d9596
[ "MIT" ]
permissive
yutiansut/DevilYuan
89aba2728d42a686cf989b74283a5197edfe6b49
6467f8c33c4692d3616f0eb0b0bf974d16e95836
refs/heads/master
2020-03-19T18:43:11.674992
2018-06-11T03:17:32
2018-06-11T03:17:32
136,821,539
2
1
MIT
2018-06-11T03:17:33
2018-06-10T15:37:24
Python
UTF-8
Python
false
false
2,409
py
from .DyStockStopMode import * from ...DyStockTradeCommon import * class DyStockStopLossMaMode(DyStockStopMode): stopLossPnlRatio = -5 def __init__(self, accountManager, dataEngine, ma): super().__init__(accountManager) self._dataEngine = dataEngine self._daysEngine = self._data...
[ "louis_chu@163.com" ]
louis_chu@163.com
05ff5f5a599c92b2f689b4a53313597783b6caef
727cdc7c9af6fdf6b4eb8444197718e5c6760019
/asin_keyword/cookie_sele_local.py
f538225e776bc68fc0a60a43531ef76c1f359afa
[]
no_license
newer027/amazon_crawler
0cc6feb30f9180ae48ac936eeb6af41ec06eadfd
39d6867a8dd56b90dae5e98aa44e6df274439f8e
refs/heads/master
2022-11-23T17:04:33.995126
2020-04-03T15:42:42
2020-04-03T15:42:42
252,774,253
1
0
null
2022-11-22T01:44:53
2020-04-03T15:42:31
CSS
UTF-8
Python
false
false
4,831
py
import time, pickle from selenium import webdriver from .validation import validation, validation_jp from PIL import Image from pytesseract import image_to_string from random import * from urllib.request import urlretrieve from bs4 import BeautifulSoup #from .emails import send_email from pyvirtualdisplay import Displa...
[ "newer027@gmail.com" ]
newer027@gmail.com
3d7e4e20678a99f2171c8af491263ebaaf9b1f39
34a5921552537d96d9680f88b94be1706e5c8f1a
/facets/common/consts.py
a69b16a8e80bc022fd6cd90a8ebb69d306714fae
[ "Apache-2.0" ]
permissive
hunterhector/DDSemantics
11f1a85486349627036626d3b638db39f70030fe
65235d8897bce403e5d628ed912e516b28254c74
refs/heads/master
2023-07-13T05:20:13.211363
2023-06-21T21:44:37
2023-06-21T21:44:37
123,484,643
0
2
null
null
null
null
UTF-8
Python
false
false
150
py
"""Define constants""" MENTION_START_TOKEN = "[unused1]" MENTION_END_TOKEN = "[unused2]" HEADER_END_TOKEN = "[unused3]" CLS = "[CLS]" SEP = "[SEP]"
[ "hunterhector@gmail.com" ]
hunterhector@gmail.com
2897a346fb526a6e0e57f8e45f21e07c4f5a4bb0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02267/s584392095.py
6a5daa87a557535ac58fe4e73ddfee745deeec4f
[]
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
166
py
n = int(input()) s = [int(x) for x in input().split()] q = int(input()) t = [int(x) for x in input().split()] cnt = 0 for x in t: if x in s: cnt += 1 print(cnt)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
57ca134de961ddf6a494d2abcf622a29832b057d
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/07acc579db839170122fc66505a886ef023d5f4f-<execute_install>-bug.py
46e7feb105b1c13945aa837f5c23514abfcee9e9
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,454
py
def execute_install(self): '\n uses the args list of roles to be installed, unless -f was specified. The list of roles\n can be a name (which will be downloaded via the galaxy API and github), or it can be a local .tar.gz file.\n ' role_file = self.options.role_file if ((len(self.args...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
e3f8022857e30db6341da4c8f88e97f4e7063f57
6d8faae66dd6332836bb11d7f02d6867c95d2a65
/glast/pointlike/python/uw/like/likelihood_fit.py
7dec093d277b975937d18b773ffedc0d0b11c596
[]
no_license
Areustle/fermi-glast
9085f32f732bec6bf33079ce8e2ea2a0374d0228
c51b821522a5521af253973fdd080e304fae88cc
refs/heads/master
2021-01-01T16:04:44.289772
2017-09-12T16:35:52
2017-09-12T16:35:52
97,769,090
0
1
null
null
null
null
UTF-8
Python
false
false
6,382
py
"""A module providing functionality for parametrizing a likelihood curve by a simple function. Classes: LogLikelihood: a representation of a likelihood curve Authors: Eric Wallace, Matthew Kerr """ __version__ = "$Revision: 1.1.2.1 $" #$Header: /glast/ScienceTools/glast/pointlike/python/uw/like/Attic/likeliho...
[ "areustledev@gmail.com" ]
areustledev@gmail.com
a95c88307396ee0164e6f263644fc07b185a3d85
1089bc72856fe3ef0edd4b17b2f07b8ec5de8e14
/firecares/settings/base.py
1090ad22ec43635bb3cf9e8ae536318c7280b299
[ "MIT" ]
permissive
JWileczek/firecares
e521c9d9f829fc60f13c2d051be89b5feadb5fc0
dd82e6e720cdaaf0bacd7a2cc51669341a29ffae
refs/heads/master
2020-12-25T12:41:04.124970
2015-08-30T15:38:56
2015-08-30T15:38:56
41,690,086
0
0
null
2015-08-31T17:29:12
2015-08-31T17:29:12
null
UTF-8
Python
false
false
7,905
py
import os from kombu import Queue DEBUG = True TEMPLATE_DEBUG = DEBUG PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.contrib.gis.db.backends.post...
[ "garnertb@gmail.com" ]
garnertb@gmail.com
4ceda0b049891a9c2963a7c0c48c3f511140ac69
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/HundredRun/PG_0132+151/sdB_PG_0132+151_lc.py
8918441d2824176148a8e7a956f7ebd08c4bc153
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[356.757495,15.400942], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_PG_0132+151 /sdB_PG_0132+151_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
a8824158345cddc59be0477b3353fbdb3dbef6da
fc2d2163e790741de0c0e1aa337948cfeb5b6ba9
/tests/benchmarks/micro/NestedFunctionClosure.py
925ad5c31e3bbdfcba39ca286facd4a95fe0b59e
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
nmoehrle/Nuitka
bcd20531f150ada82c8414620dca6c5424be64d1
317d1e4e49ef8b3bdfe2f80f2464040d644588b2
refs/heads/master
2023-06-22T09:56:23.604822
2017-11-29T14:10:01
2017-11-29T14:10:01
122,110,166
0
0
Apache-2.0
2018-02-19T19:29:05
2018-02-19T19:29:05
null
UTF-8
Python
false
false
1,066
py
# Copyright 2017, Kay Hayen, mailto:kay.hayen@gmail.com # # Python test originally created or extracted from other peoples work. The # parts from me are licensed as below. It is at least Free Software where # it's copied from other people. In these cases, that will normally be # indicated. # # L...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
c4070e57949127be2bf575ae160cb07672a86fd4
064404a6e65dc4bb78624e47fb8010615e20fbe8
/opsgenie_sdk/api/alert/add_details_to_alert_payload.py
bbc3a87ef3d5178e5be8868d78923a57e5e51352
[ "Apache-2.0" ]
permissive
lyongjie20/opsgenie-python-sdk
97de823d958995f44b1934c1aaf1b5740a8efd1e
0d20d2314522fc0fd8ca5f0faa16f7c96387e123
refs/heads/master
2023-07-01T14:31:27.379893
2021-08-02T13:30:07
2021-08-02T13:30:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,705
py
# coding: utf-8 """ Python SDK for Opsgenie REST API Python SDK for Opsgenie REST API # noqa: E501 The version of the OpenAPI document: 2.0.0 Contact: support@opsgenie.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class AddDetailsToAle...
[ "zafer@opsgenie.com" ]
zafer@opsgenie.com
50a0e0a631826408e3f3cd6fd38ce599131e4588
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2506/60832/280621.py
f1113858470ab2074adaab3a1b0c3b72695ba34b
[]
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
666
py
import numpy as np ar = list(map(int, input().split(','))) length = len(ar) if length == 0: print(0) exit() Max = np.zeros(length) opt = np.zeros(length) opt[0] = 1 Max[0] = ar[0] for i in range(1, length): a = opt[i - 1] temp = ar[i] j = i - 1 has = False for j in range(i - 1, -1, -1):...
[ "1069583789@qq.com" ]
1069583789@qq.com
d5edadbe66cf157c9e28ddd27acc016d3102d6ac
abef98cfa3fb2c4626eb8c0a77c1080992d9b11b
/python/bindiff/bindiff.py
00885d7c9351425c339702dff4eee4738485d185
[]
no_license
mikebentley15/sandbox
ff88ed9dc4b9ac37668142a319d0a8162e88e9e3
4f5869544de18be21f415a9d6f9b71c362307f27
refs/heads/main
2023-04-14T00:22:34.623441
2023-03-24T21:43:56
2023-03-24T21:43:56
116,987,549
6
3
null
2022-10-26T03:02:06
2018-01-10T17:14:54
C++
UTF-8
Python
false
false
1,521
py
#!/usr/bin/env python3 ''' Diff two binary files byte by byte. Do not try to do insertions or deletions, just a straight side-by-side comparison. ''' import sys import argparse def parse_args(arguments): 'Parse and return parsed arguments' parser = argparse.ArgumentParser( description=''' ...
[ "mikebentley15@gmail.com" ]
mikebentley15@gmail.com
a0acdd42e55260598a360131a282d5f7852e0d57
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/abc/abc054/D/answers/105471_s484.py
e511180c2fae7d4bf9960eae07c6d72b6540daf4
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
N, Ma, Mb = map(int, input().split()) G = [] for i in range(N): a, b, c = map(int, input().split()) G.append( (a,b,c) ) M = 1 + min(sum([ a for a, b, c in G ]), sum([ b for a, b, c in G ]) ) INF = 1000000000 dp = [INF] * (M * M) dp[0] = 0 for a, b, c in G: i = M - a - 1 while i >= 0: j = M - b -...
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
1b2863c931ac97cc512170299b6e7d5844ead205
add72f4d6f9f7af1f437d19213c14efb218b2194
/icekit/page_types/author/tests.py
afcd6534c4231a59e310a4f281e7a4b7faa61d11
[ "MIT" ]
permissive
ic-labs/django-icekit
6abe859f97c709fcf51207b54778501b50436ff7
c507ea5b1864303732c53ad7c5800571fca5fa94
refs/heads/develop
2022-08-08T21:26:04.144852
2018-01-08T02:55:17
2018-01-08T02:55:17
65,470,395
53
12
MIT
2022-07-06T19:59:39
2016-08-11T13:11:02
Python
UTF-8
Python
false
false
2,128
py
from django.contrib.auth import get_user_model from django.core.urlresolvers import reverse from django_dynamic_fixture import G from django_webtest import WebTest from fluent_contents.models import Placeholder from . import models User = get_user_model() class AuthorTests(WebTest): def setUp(self): self...
[ "greg@interaction.net.au" ]
greg@interaction.net.au