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
c97f38b9487ea7f2a081dab4e1f5b2cc6b13ed64
964de31a74f2e755385b5d35f53f6d7a7e4780af
/ufora/util/AssertStableThreadCount.py
b29d0ac1644c89f5fc2e5f67f8cb35004a1796e3
[ "dtoa", "MIT", "BSD-3-Clause", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "CC0-1.0" ]
permissive
data-processing/ufora
8a5b9230ef800837e584e77e550c27e43c520599
9e9d0cb832ff6685bed93f5e5228331c6d188cc4
refs/heads/master
2021-01-13T11:37:40.076317
2016-05-07T21:07:30
2016-05-07T21:07:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,111
py
# Copyright 2015 Ufora Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "braxton.mckee@gmail.com" ]
braxton.mckee@gmail.com
23166582bc474224b8562fb2d310c6262b2e4314
f7a06c4b919c4ced76f260602c3835bda4c9180e
/proteus/tests/ci/poisson_3d_c0q1_n.py
d8ffbd210ab834ed43b2d13d65758bc5b22011f5
[ "LicenseRef-scancode-us-govt-public-domain", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference" ]
permissive
eelcovv/proteus
d060c7afcde4a24b119c01f507aaaacc6584314a
80c4310d2fa43be2c70fe73914425134debd0139
refs/heads/master
2021-01-17T22:41:37.863572
2015-02-11T23:13:25
2015-02-11T23:13:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,393
py
from proteus import * from proteus.default_n import * from poisson_3d_p import * #steady-state so no time integration timeIntegration = NoIntegration #number of output timesteps nDTout = 1 #finite element spaces femSpaces = {0:C0_AffineLinearOnCubeWithNodalBasis} #numerical quadrature choices elementQuadrature = Cube...
[ "cekees@gmail.com" ]
cekees@gmail.com
2ad99e9cb7f22a99fee9478343fdd9b84524513b
d7016f69993570a1c55974582cda899ff70907ec
/sdk/communication/azure-communication-rooms/tests/test_rooms_client_async_e2e.py
13c8991f566dc421d3f5f0e133b0eb9eb39c4893
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
23,007
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import py...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
ec5cbdadc373b011877eea26cfda3e4244c33c72
1d920162935fafb40a84463d487678a4d02522cc
/container-with-most-water.py
363f69479e346b111cdef80a0e085690169b7348
[]
no_license
dodoingdy/leetcode
34275697e3b24c47161437711d15a91546987882
94462fb5491155d4d516c265bf11403dfe7fad2d
refs/heads/master
2021-05-06T07:46:57.798813
2018-02-09T08:50:11
2018-02-09T08:50:11
113,969,387
1
0
null
null
null
null
UTF-8
Python
false
false
727
py
class Solution(object): def maxArea(self, height): """ :type height: List[int] :rtype: int """ left, right = 0, len(height) - 1 max_v = 0 while left < right: if height[left] < height[right]: max_v = max(max_v, height[left] * (right ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
802e2c5162b2ac1ab5d42d88d50bbd247d732996
7e7d93dd6c87357e0df60f5dd184f089d1b58a91
/src/obtain/__init__.py
c566048b051af840799c1f54e778d6222662bdeb
[]
no_license
dushyantkhosla/ds-deploy-walkthru-iris
4d00013824b82ef48b02d887b147ebcd6ddf7732
bd1808593004e2622294a439dc5d3d8f056769a0
refs/heads/master
2022-12-14T10:53:23.262300
2018-04-15T20:13:12
2018-04-15T20:13:12
119,616,305
0
2
null
2019-10-18T16:11:15
2018-01-31T01:17:24
Jupyter Notebook
UTF-8
Python
false
false
35
py
from .raw_data import get_raw_iris
[ "dushyant.khosla@pmi.com" ]
dushyant.khosla@pmi.com
ae866a6228011ce0811155e3b50c681ca773d4a8
346cf248e94fe97ba9c0a841827ab77f0ed1ff20
/experiments/kdd-exps/experiment_DynaQNN_Feb15_2051.py
598394bc137618510940a2ad6d95f0ca877fc3a7
[ "BSD-3-Clause" ]
permissive
huangxf14/deepnap
cae9c7c654223f6202df05b3c3bc5053f9bf5696
b4627ce1b9022d4f946d9b98d8d1622965cb7968
refs/heads/master
2020-03-26T02:54:01.352883
2018-08-12T01:55:14
2018-08-12T01:55:14
144,429,728
0
0
null
null
null
null
UTF-8
Python
false
false
5,180
py
# System built-in modules import time from datetime import datetime import sys import os from multiprocessing import Pool # Project dependency modules import pandas as pd pd.set_option('mode.chained_assignment', None) # block warnings due to DataFrame value assignment import lasagne # Project modules sys.path.append('...
[ "liujingchu@gmail.com" ]
liujingchu@gmail.com
c3a79362e492bebb39ceb25d86a7ef7837611bb5
777a2ff62fa01ea4309652ab2393e912ab0ab851
/cdc/tut3.py
b6de8dd6c1499baa2ce09a2a174fbe19bc1628a6
[ "Apache-2.0" ]
permissive
deretou/crossbarexamples
05475ee86696c5c28b90a39a66bf45425e233637
e392ea2708f52ba322e63808041f9fe6dcfe893e
refs/heads/master
2021-01-21T02:56:46.236303
2016-09-14T06:53:25
2016-09-14T06:53:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
from twisted.internet.defer import inlineCallbacks import util @inlineCallbacks def main(session): try: # get all nodes in state "online" node_ids = yield session.call(u'cdc.remote.list_nodes@1', filter_status=u'online') for node_id in node_ids: ...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
7258ba76d40c7642fe7f3273cdf69ef3fcf30bdb
a7b5adc5f72b9ef71c0c71691492f8af8a32c868
/Jaeweon-Kim/baekjoon/boj_2252.py
09f868552023b386fcf2a61bd737f4c835552d7e
[]
no_license
mintheon/Practice-Algorithm
535ff607e36d1bfa9f800a28091a52c48748221c
3a653a1d8cc6e1438cab47a427ccd0b421a10010
refs/heads/master
2023-04-10T17:43:10.434210
2021-04-10T18:46:26
2021-04-10T18:46:26
347,719,297
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# 줄 세우기 from collections import deque n, m = map(int, input().split()) graph = [[] for _ in range(n + 1)] in_degree = [0] * (n + 1) queue = deque() for i in range(m): a, b = map(int, input().split()) in_degree[b] += 1 graph[a].append(b) for i in range(1, n+1): if in_degree[i] == 0: queue.appe...
[ "noreply@github.com" ]
mintheon.noreply@github.com
ac96c59480eeea63c8c71a4cc04b3b95c3ca4d06
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/kfm.py
25a933cf1b690e8fa0ffbda93480b3c936631d56
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
856f659595e1a31df4bc0b28a07e1cc5706dcb79
d7faf47825b6f8e5abf9a9587f1e7248c0eed1e2
/python/ray/util/collective/collective.py
16d1fea7b249a3e2a1ccfcca1f9167290820b28b
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ggdupont/ray
7d7c7f39a8f99a09199fab60897da9e48b8e2645
15391026c19f1cbbb8d412e46b01f7998e42f2b9
refs/heads/master
2023-03-12T06:30:11.428319
2021-12-07T05:34:27
2021-12-07T05:34:27
165,058,028
0
0
Apache-2.0
2023-03-04T08:56:50
2019-01-10T12:41:09
Python
UTF-8
Python
false
false
26,068
py
"""APIs exposed under the namespace ray.util.collective.""" import logging import os from typing import List import numpy as np import ray from ray.util.collective import types _NCCL_AVAILABLE = True _GLOO_AVAILABLE = True logger = logging.getLogger(__name__) try: from ray.util.collective.collective_group.\ ...
[ "noreply@github.com" ]
ggdupont.noreply@github.com
eddb248e05db31f8c33e1a9dadd4e79cbfb8886d
a34507bee8dc5502c663a71f3e98257f8ff0334d
/02_双指针/88-合并两个有序数组.py
ae0c6862f122ceb574e39352a90d933a845f92f5
[]
no_license
michelleweii/Leetcode
85b7876a3e283f3982dd86de01ccc5470e63388f
0c09b5a018e7334bd49dd251834fc8e547084cc1
refs/heads/master
2022-05-17T07:28:23.684720
2022-04-28T12:40:48
2022-04-28T12:40:48
149,776,312
3
2
null
null
null
null
UTF-8
Python
false
false
2,449
py
""" easy 2021-09-07 同向双指针(逆序归并) https://leetcode-cn.com/problems/merge-sorted-array/solution/hua-jie-suan-fa-88-he-bing-liang-ge-you-xu-shu-zu-/ 难死了 easy个锤子 思路: - 标签:从后向前数组遍历 - 因为 nums1 的空间都集中在后面,所以从后向前处理排序的数据会更好,节省空间,一边遍历一边将值填充进去 - 设置指针 len1 和 len2 分别指向 nums1 和 nums2 的有数字尾部,从尾部值开始比较遍历,同时设置指针 len 指向 nums1 的最末尾,每...
[ "641052383@qq.com" ]
641052383@qq.com
612f2602f956e63f33d2e6d79685a07f9aa97d91
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L27/27-28_MD_NVT_rerun/set_5.py
b4e0b1199b08e5098930802fb15ac1fe036e386f
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L27/MD_NVT_rerun/ti_one-step/27_28/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_5.in' temp_pbs = filesdir + 'temp_5.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
79ebed97a8217be62f1dde0610b44d3e21692454
fae94c0dcb251ea5854e33e81369140ca75cfaf5
/src/bloombox/schema/analytics/context/OS_pb2.py
208a646b14fdc34836348929f680f85a7912a547
[ "Apache-2.0" ]
permissive
fagan2888/Python
425654b18055233949aa7e6181e0b2652975e185
1b125fbdf54efb390afe12aaa966f093218c4387
refs/heads/master
2020-12-13T14:17:59.452500
2018-06-18T16:16:30
2018-06-18T16:16:30
null
0
0
null
null
null
null
UTF-8
Python
false
true
6,084
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: analytics/context/OS.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import ...
[ "sam@momentum.io" ]
sam@momentum.io
91274a2883652984538afd1c49a72de4fbe1070d
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/Rep3fHbrLGKDatZ2L_2.py
d95dc82974ee6a78e64b618b06fb0948ead55805
[]
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
970
py
""" You will be given a string that is made up of some repeated pattern of characters. However, one of the characters in the string will be missing and replaced by an underscore. Write a function that returns the missing character. ### Examples complete_pattern("ABCABCA_CAB") ➞ "B" complete_pattern("_...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b0fd0d7e50d6994d8620963b5ee0cf63fac52088
7ff851f9759d62b6e22355b6ab138fb1addf3e3c
/app/server/models/question.py
53921921999830dea791588c2f03eb40e691caf2
[]
no_license
brlala/adminhub_backend
150c5beb31df8aa0c02b35113470a81bc68fed21
202fdf25b9a44abd3a94e3b6ada79554b6d05abe
refs/heads/master
2023-08-11T13:02:43.410806
2021-09-25T03:30:17
2021-09-25T03:30:17
326,932,435
0
1
null
2021-09-24T16:20:44
2021-01-05T08:18:39
Python
UTF-8
Python
false
false
4,511
py
from datetime import datetime from typing import Optional from bson import ObjectId from pydantic import BaseModel, Field from app.server.models.flow import FlowSchemaDb, FlowSchemaDbOut from app.server.utils.common import to_camel, Status class QuestionVariationSchema(BaseModel): id: str text: str lang...
[ "liheng@pand.ai" ]
liheng@pand.ai
e261be04b60042323bc688e2a366948c497e834c
31e00afe8f782bd214f8e32949be928a51e5de39
/Coffee Machine/Problems/Who is who/task.py
9aa16b533cde748c679d57d3d5fb57ac1b2e3da8
[]
no_license
akocur/education
65e2a0640bab5e9939c5692333fa2f500c9feb0b
d0a890861cd83dcc61ff2af6cfbb75c157fbaf02
refs/heads/master
2023-05-24T02:38:04.695665
2020-10-26T14:09:07
2020-10-26T14:09:07
269,410,671
0
0
null
2023-05-22T22:47:45
2020-06-04T16:32:11
HTML
UTF-8
Python
false
false
279
py
class Angel: color = "white" feature = "wings" home = "Heaven" class Demon: color = "red" feature = "horns" home = "Hell" objects = [Angel(), Demon()] for object_ in objects: print(object_.color) print(object_.feature) print(object_.home)
[ "akocur@yandex.ru" ]
akocur@yandex.ru
51c526d12a3eee559aa4a33213f330d176c58eb6
f5c62bab2e95bb2dc6986ba271662ade8cae4da0
/docs/PythonSAI/TriangleSet2D.py
6e0e14b9fe839893c3c521bb238092057737d506
[]
no_license
Has3ong/X3DViewer
d211b159c29523e61158eddc015bb320e4ba7c9d
c629305c24b5c25fd41d3a46816efbf1f74d0092
refs/heads/master
2021-06-25T16:36:46.278469
2021-01-03T11:26:02
2021-01-03T11:26:02
180,564,246
0
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
from . import * # TriangleStripSet defines a concrete node interface that extends interface X3DComposedGeometryNode. class CTriangleSet2D(CX3DGeometryNode): m_strNodeName = "TriangleSet2D" def __init__(self): self.m_strNodeName = "TriangleSet2D" self.m_Parent = [None] self.children = []...
[ "khsh5592@naver.com" ]
khsh5592@naver.com
2d8144b89cc4ede0521ae23fe6c39afbfd8fb2ca
56ade096db1fe376ee43d38c96b43651ee07f217
/336. Palindrome Pairs/Python/Solution.py
737749d049903f8f853be776e35344759ccc3588
[]
no_license
xiaole0310/leetcode
c08649c3f9a9b04579635ee7e768fe3378c04900
7a501cf84cfa46b677d9c9fced18deacb61de0e8
refs/heads/master
2020-03-17T05:46:41.102580
2018-04-20T13:05:32
2018-04-20T13:05:32
133,328,416
1
0
null
null
null
null
UTF-8
Python
false
false
731
py
class Solution(object): def palindromePairs(self, words): """ :type words: List[str] :rtype: List[List[int]] """ result = [] words_set = {k: v for v, k in enumerate(words)} for i, word in enumerate(words): for j in range(len(word) + 1): ...
[ "zhantong1994@163.com" ]
zhantong1994@163.com
ef66e572629d7a86720d5bc0a6e76ab61749c0f4
926621c29eb55046f9f59750db09bdb24ed3078e
/lib/surface/debug/snapshots/delete.py
99c94f2ae1a7ed2c3d4351d0e16840a6284ea67d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/SDK
525d9b29fb2e901aa79697c9dcdf5ddd852859ab
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
refs/heads/master
2022-11-22T18:24:13.464605
2016-05-18T16:53:30
2016-05-18T16:53:30
282,322,505
0
0
NOASSERTION
2020-07-24T21:52:25
2020-07-24T21:52:24
null
UTF-8
Python
false
false
3,200
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "richarddewalhalla@gmail.com" ]
richarddewalhalla@gmail.com
52acee007b7431893b69ec6930122d961efab8f7
bb125d646f9bd0fe434f506cf7e9fbe4d73a9788
/groups/managers.py
8c9925ad84ddb44edd73f418f6a18553274d4dc2
[]
no_license
mishaukr7/groups_api
59f831295f2f117f231b83532ed25caf13abff99
665951930706d88309d6fbb9dadf5057c5deaa4a
refs/heads/master
2020-04-01T08:01:39.063708
2018-10-14T20:12:11
2018-10-14T20:12:11
153,014,339
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
from django.db import models class ElementsManager(models.Manager): def get_queryset(self): return super().get_queryset().filter(is_checked=True)
[ "mishaukr22@gmail.com" ]
mishaukr22@gmail.com
285a8e18ad98387154f8f7f2dfa62add09f3cd98
4544f04da8dd6faf602af706e523f4929941ba41
/oandapyV20/__init__.py
03b582eb17ca871332c9e10d4e9d519bdc9f5ba5
[ "MIT" ]
permissive
hpsilva/oanda-api-v20
78febf98384945ded213f517ed1bf00d696e5dcb
a8d82dff91787bde08a4d8733283a62ecd0ef7f3
refs/heads/master
2021-01-12T11:43:45.763974
2016-10-22T16:34:46
2016-10-22T16:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
__title__ = "OANDA REST V20 API Wrapper" __version__ = "0.1.0" __author__ = "Feite Brekeveld" __license__ = "MIT" __copyright__ = "Copyright 2016 Feite Brekeveld" # Version synonym VERSION = __version__ from .oandapyV20 import API from .exceptions import V20Error
[ "f.brekeveld@gmail.com" ]
f.brekeveld@gmail.com
3e33934fe5605a9e6953ee703d5c68605a8dda00
85a50d310c4d3baa09eede36742028dd82ecfb58
/tsai/models/TST.py
3749977eaabb55f0648207749e87eb945d1b5f3b
[ "Apache-2.0" ]
permissive
mfzhang/tsai
f2250e2347d2ff175340aae62cb49a8606dab5d0
89ebb627366a086ea0ef0dee8e39c930731ec6c2
refs/heads/master
2023-04-01T23:19:40.032377
2021-03-22T17:47:07
2021-03-22T17:47:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,159
py
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/108b_models.TST.ipynb (unless otherwise specified). __all__ = ['ScaledDotProductAttention', 'MultiHeadAttention', 'TSTEncoderLayer', 'TSTEncoder', 'TST'] # Cell from ..imports import * from ..utils import * from .layers import * from .utils import * # Cell class Scaled...
[ "“oguiza@gmail.com”" ]
“oguiza@gmail.com”
57b7cd56bdf7968a54a609aa5a691c5980aff18a
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-SpriteKit/PyObjCTest/test_skconstraint.py
e194ed297e21a6f20d5ce04bd4102b6b802a1334
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
299
py
from PyObjCTools.TestSupport import TestCase, min_os_level import SpriteKit class TestSKConstraint(TestCase): @min_os_level("10.10") def testMethods(self): self.assertArgIsBOOL(SpriteKit.SKConstraint.setEnabled_, 0) self.assertResultIsBOOL(SpriteKit.SKConstraint.enabled)
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
dcbd559e2dadb109221e9645fe3db80eb8c1dbab
711756b796d68035dc6a39060515200d1d37a274
/output_cog_tags/optimized_4643_sml.py
436c502e0d139b5af6b21cee6a81211519a2c92d
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
4,458
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
c6670030f617d4f81bb966bf94b6e68f582478a9
f6189ae8031fcf756cd892ed866cb937bf0e5d56
/gcloud/gsutil/upload_files_to_bucket.py
dda977c271e74bfe76ecbe5d6ed1a7eb5a5767a4
[]
no_license
shadhini/python_helpers
f9265ee139a9e32528b257ae1adee731d0d08d3f
d8a74fb22e6da741d9442325661b042c8c26202a
refs/heads/master
2021-07-05T15:07:02.294986
2020-10-28T03:37:01
2020-10-28T03:37:01
198,464,862
2
0
null
null
null
null
UTF-8
Python
false
false
507
py
import os local_file_path = "/gcloud/gsutil/temp.txt" bucket_output_dir = "wrf_nfs/wrf/temp/" # gsutil cp [OBJECT_LOCATION] gs://[DESTINATION_BUCKET_NAME]/ os.system("gsutil cp {} gs://{}".format(local_file_path, bucket_output_dir)) # OR (if the above command doesn't work and gives a "gsutil comman not found erro...
[ "jshadhiniaseka@gmail.com" ]
jshadhiniaseka@gmail.com
b9de082c892356c9e407564aa5fe19ec040ccd33
9531e597cd3f865cc6b6f780498a18281c2413f8
/profiles/migrations/0005_remove_profile_skill_set.py
026bec01dde10abe62d6dad2441396bfa442e81c
[]
no_license
dpitkevics/DevNet
7133b80ce5d56b9c11aa4c500d530faed7cb13f4
98ebc3916346e6c2bda79711a3896f7c2a8e2ac8
refs/heads/master
2020-04-15T12:04:00.245848
2015-09-14T17:45:39
2015-09-14T17:45:39
41,320,800
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('profiles', '0004_auto_20150831_1623'), ] operations = [ migrations.RemoveField( model_name='profile', ...
[ "daniels.pitkevics@gmail.com" ]
daniels.pitkevics@gmail.com
a54987d39f9c0050cbd938e9e61588d655b7e30d
58e952fc6513b9f3590bf541fe3fcd05ac17894c
/minuteAdder.py
82e8c774b8f85f324455093efc277bb2219fa293
[]
no_license
WillLuong97/MinuteAdder
54d72438baebbc5d44f1211641577d482434b8ce
868fb6cd0ddf9460817cbebd7982b6ee1ccfec16
refs/heads/main
2023-05-31T11:10:37.005865
2021-06-24T20:10:53
2021-06-24T20:10:53
379,740,839
0
0
null
null
null
null
UTF-8
Python
false
false
2,741
py
#Problem statement: ''' Without using any built-in date or time functions, write a function or method that accepts two mandatory arguments: the first argument is a 12-hour time string with the format &quot;[H]H:MM {AM|PM}&quot;, and the second argument is a (signed) integer. The second argument is the number of minute...
[ "tluong@stedwards.edu" ]
tluong@stedwards.edu
09eb01ced793d7c8d0607871e594fbc8400a66c4
1afe40fa84cff44c491c7d9e068b2a63a007b15a
/{{ cookiecutter.tool_name_slug }}/{{ cookiecutter.tool_name_slug }}/__main__.py
eae8ff68b134a892f418d357fd8792cbe9dbd387
[ "BSD-2-Clause" ]
permissive
olivierh59500/cookiecutter-security-tool
aa5efb4e2c3405d6b4bb9aa70d80110ab35f3680
374da3cb35681c45fb189b4ce927c8664afc712c
refs/heads/master
2021-01-12T01:12:28.539084
2016-11-10T16:22:06
2016-11-10T16:22:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
def main(): import os import sys parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(1, parent_dir) import {{ cookiecutter.tool_name_slug }} __package__ = str("{{ cookiecutter.tool_name_slug }}") # Run the cmd from {{ cookiecutter.tool_...
[ "cr0hn@cr0hn.com" ]
cr0hn@cr0hn.com
8ed8c3452cb3541195d71f7a0a57c7217dd9808f
aaa6a2fc08643139203a605b9e23abf5020dcdf3
/actions/utils.py
f0065a1e54e93824c6af48b5dead9a35833908f6
[]
no_license
HectorBlisS/galaxy
2f0428f01ff5cc34b4241976eee6b02b06cf4647
7abe6eee155125aef8e78f0c07008e9b3a9864f7
refs/heads/master
2021-01-11T21:08:55.245873
2017-02-06T16:46:41
2017-02-06T16:46:41
79,163,452
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
import datetime from django.utils import timezone from django.contrib.contenttypes.models import ContentType from .models import Action def create_action(user, verb, target=None): #checamos cualquier acción similar en el ultimo minuto now = timezone.now() last_minute = now - datetime.timedelta(seconds=60) simila...
[ "contacto@fixter.org" ]
contacto@fixter.org
515d47617af89e3c6c7409ff8c66a95e42667c35
a312bf5148945a19bb6d30c1f0e97d3edc021af2
/RestFrameWork/models.py
5f2d49a06424b6e10f1e30e925fe1d346c1ea9b8
[]
no_license
Shikhar0907/Create-API
252cdb632765f5d5b7a03213b942bfc9c5b979de
c8f13f309d0aa668091d615946b52bea66316d36
refs/heads/master
2020-04-03T00:51:57.367335
2018-10-27T01:16:00
2018-10-27T01:16:00
154,911,231
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
from django.db import models from django.conf import settings # Create your models here. def Upload_status_image(instance,filename): return("updates/{user}/{filename}".format(user=instance.user,filename=filename)) class Statusqueryset(models.QuerySet): pass class Statusmanager(models.Manager): def get_q...
[ "shikharsuman59@gmail.com" ]
shikharsuman59@gmail.com
a04bfa151f32b8088a807aefef79806318935317
3922e9b41bf8bf5dd0a0d9abc8852d147a02db0f
/affixmarket/wsgi.py
1a9aaf3aa10e0922e785df20fc16bf58135939b9
[]
no_license
levi-p/market
3ddd0ca20818139c96fa102256f21249d85f104f
5deb8dbf83ddeb07415bd21703b57f3c3d54aa54
refs/heads/master
2020-07-10T18:03:30.316598
2017-01-20T15:00:39
2017-01-20T15:00:39
67,126,320
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
""" WSGI config for affixmarket project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_...
[ "levipda@gmail.com" ]
levipda@gmail.com
7ed52b73ffb471229fc0fbb0662ad1d6ac9334f1
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2016_schizConnect/2018_analysis_2ndpart_clinic/clustering_based_on_PCs/corrected/correction_age_sex_site_100comp/3_clusters_solution/00_structural_clustering.py
ba6a4c5c99240be229998e10cbbec5cae3689b55
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
4,744
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Dec 21 12:08:33 2017 @author: ad247405 """ import os import numpy as np import pandas as pd import nibabel as nb import shutil import scipy.stats import matplotlib.pyplot as plt import seaborn as sns import parsimony.utils.check_arrays as check_arrays...
[ "ad247405@is222241.intra.cea.fr" ]
ad247405@is222241.intra.cea.fr
8e93d2be1e1ac053050549e3b1e30d7e45867cfa
6e450a6ce93f4f61fd736782efecd24e72257966
/foo_package/__init__.py
c118a048702409d2a621efb29cb142bf59632bb8
[ "MIT" ]
permissive
peter-stoyanov/Python
ed49a1c9ed10b3f6ee9c998b44e0baa4aa984a47
52ddb70537c05caa0d87740493b7b1f974191984
refs/heads/master
2021-05-12T13:07:45.398837
2018-03-11T19:02:55
2018-03-11T19:02:55
116,926,760
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
__init__.py: __all__ = ["bar_module"]
[ "pesho.stoyanov@gmail.com" ]
pesho.stoyanov@gmail.com
d28354224fbd54cc6bbad71a4280103feadae53c
5e45f1d1d9f58aa1456777b0d75334d6efd43840
/challenges/contests/code_forces/edu6/b.py
855bfeea121600afbf8290a683b0df36218ae02a
[]
no_license
missingdays/nerdy.school
604953dc9b3c38a0f71793f066ce2707aa980dae
051673e0ebc54bc2f7e96a6477697d1d528dc45c
refs/heads/master
2021-01-17T08:10:19.558851
2016-06-06T15:29:01
2016-06-06T15:29:01
59,897,184
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2016 missingdays <missingdays@missingdays> # # Distributed under terms of the MIT license. """ """ m = { 0: 6, 1: 2, 2: 5, 3: 5, 4: 4, 5: 5, 6: 6, 7: 3, 8: 7, 9: 6 } def get_segments(a): globa...
[ "rebovykin@gmail.com" ]
rebovykin@gmail.com
09f48f62a981b30fd95c4f675e5c33bac84de7d9
0fdc732fcdad1c0d76d6ec80cb6e25b6ec17d6e1
/django_channels/chat_app/views.py
ccf59845163dec1fb09828d3454c69c435644471
[ "MIT" ]
permissive
markbirds/Django-Code-Repo
9b3c8bfba948dd8ea1be71e31cbfd2ef26bfa157
b55762d2dab00640acf2e8e00ddc66716d53c6b5
refs/heads/master
2023-01-05T22:44:16.405853
2020-11-03T07:17:50
2020-11-03T07:17:50
299,615,438
3
0
null
null
null
null
UTF-8
Python
false
false
253
py
from django.shortcuts import render # Create your views here. def index(request): return render(request, 'chat_app/index.html') def room(request, room_name): return render(request, 'chat_app/room.html', { 'room_name': room_name })
[ "fowenpatrick@gmail.com" ]
fowenpatrick@gmail.com
7c31e0620b8c0ab872f1aa30fcf207964eafa4ea
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_1_01a/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv4/af_ipv4_unicast/af_ipv4_attributes/af_common_attributes/redistribute/ospf/__init__.py
b217d7d1df9c1bc97d99c61de65e1ea230838d31
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,259
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
632c74f33c6fb10a34714197f03974eb8b89ccab
1fe04382304ae49e05f8a58c03488be2a02fdde6
/example_app/core/models/input.py
1792216d154fbc647dd4be9e180629f0f92ed9ec
[ "MIT" ]
permissive
iwpnd/fastapi-aws-lambda-example
b97e999f20a9cbb144a28afe5fcc1356157ccaad
c68aef5bff12df42070be41c33b7e1d9d63344be
refs/heads/master
2021-08-01T01:14:14.940583
2021-07-23T07:28:45
2021-07-23T07:28:45
234,381,180
132
20
null
null
null
null
UTF-8
Python
false
false
165
py
from pydantic import BaseModel, Field class InputExample(BaseModel): a: int = Field(..., title="Input value a") b: int = Field(..., title="Input value b")
[ "legionaerr@googlemail.com" ]
legionaerr@googlemail.com
644756c75e13bb75dc929d02673251940aed664d
d7016f69993570a1c55974582cda899ff70907ec
/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_anonymous_exchange_client.py
4a550f5f468284a03d5f29b050baabaddfff9910
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
2,609
py
# coding=utf-8 # ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ from typing import Any, Union, Optional from ._exchange_client import ExchangeClientAuthenticationPolicy from ._generated import ContainerRegistry from ....
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
b1b729e31ec3705d652fc7ca67b2a2db3348290d
cea39de006f261ab6a5cf4b38b5925edae86e1e5
/listas.py
01b874a90cf0372d5bf8c92ce4ccc24fdf1d3f42
[]
no_license
luangcp/Python_Basico_ao_Avancado
9f56d1394f5f39faa94851ce041d3208ffcd7602
74700a6778b4e0f7cf759aea397041f41a1b33a9
refs/heads/master
2021-05-17T05:50:17.065257
2020-04-06T00:47:32
2020-04-06T00:47:32
250,658,346
4
0
null
null
null
null
UTF-8
Python
false
false
9,312
py
""" Listas Listas em python funcionam como vetores/matrizes (arrays) em outras linguagens, com a diferença de serem DINAMICO e também podermos colocar QUALQUER tipo de dado. Listas são mutaveis: podem ser mudadas constantemente COMPARANDO: lINGUAGEM C/JAVA: Arrays - Possuem tamanho e tipo de dados fixo; Ou seja...
[ "luan.gabriel.cardoso@hotmail.com" ]
luan.gabriel.cardoso@hotmail.com
3c72b432d919e07b20c7e5d9e985564731125f92
3abf176718395417e1856e25704fe8246a9ee3dc
/urlshort/views.py
c46b831d43025592b6cef35722643abba4fe2f10
[]
no_license
majestrate/urlshort
6b48d4074598dac62dfb559677ff9a702389b71a
5c563aae0273c951ea3bf6509b79c1252cbe4146
refs/heads/master
2021-01-17T14:34:56.034303
2014-04-04T14:57:08
2014-04-04T14:57:08
18,440,889
1
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
from urlshort import app from urlshort import db from urlshort import util import flask @app.route('/', methods=['GET','POST']) def urlshort_index(): if flask.request.method == 'POST': form = flask.request.form if 'url' not in form: flask.flash('no url provided') else: ...
[ "ampernand@gmail.com" ]
ampernand@gmail.com
f3e87e38007649937111509a453d4c867b58ceda
3df665045c494b6b34bacdce600d4c022429ff08
/home/migrations/0002_load_initial_data.py
84bf7e65304c36e58b06bf6649a7ca129b257a78
[]
no_license
crowdbotics-apps/web-17-dev-3077
9c160f61e5fa19b8e93397ac96e4ca307ffe4fde
dae1a1745ab632c3f367c53724797601b3731f43
refs/heads/master
2023-06-01T07:08:43.857483
2020-04-17T07:16:34
2020-04-17T07:16:34
256,430,508
0
0
null
2021-06-13T15:16:18
2020-04-17T07:16:12
Python
UTF-8
Python
false
false
1,281
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "web 17" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ho...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
73f518606b80518cf4f1dbc476c2e91bc75aeb18
66d2d66dafdd9592c22511e99c9ce70ccfe3bb22
/web_salt/main.py
16e47f2974d574a507566371ee24743813f6461d
[]
no_license
wangwenjie2500/test_project
cba6b6354d60ee74033a257a74d56e608e2c9902
1a6307445f849517b745937c7090c47a6a11f94b
refs/heads/master
2021-05-06T20:35:11.511444
2017-11-29T11:14:31
2017-11-29T11:14:31
112,333,882
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
# -*- conding:utf-8 -*- import yaml import os
[ "root@localhost.localdomain" ]
root@localhost.localdomain
090063bd5333614ed14a04e203132b7d42613c39
e6a419576cae038b0d2922d3588a70c854653174
/utils/utils.py
ae6bc3761cd4539ce7dea6d672c7052cd1e4730f
[]
no_license
memsharded/conan-ci-examples
e912b928fceb79f246fbb3b2b72f5b79e9922a34
9c542357e285e0a2772d141e09b2a116d957c1cc
refs/heads/master
2023-01-13T00:09:14.635578
2020-11-19T00:36:34
2020-11-19T00:36:34
212,786,872
0
1
null
null
null
null
UTF-8
Python
false
false
1,659
py
import os import shutil import stat from contextlib import contextmanager def run(cmd): print("RUNNING: %s" % cmd) ret = os.system(cmd) if ret != 0: raise Exception("Command failed: %s" % cmd) @contextmanager def chdir(new_dir): old_dir = os.getcwd() try: os.chdir(new_dir) ...
[ "james@conan.io" ]
james@conan.io
10b5d83dd0e26dd7a819d10b3fcfc78fc6ec36a2
aee7a6cca6a2674f044d7a1cacf7c72d7438b8b1
/cup_skills/stats/average_rewardpdg_one_var_dt_del_0dot01_2.py
8606aa7507a944058bc8b779e1829a844f4ce3f5
[]
no_license
lagrassa/rl-erase
efd302526504c1157fa5810e886caccba8570f1b
0df5c8ce4835c4641a2303d11095e9c27307f754
refs/heads/master
2021-05-13T13:36:12.901945
2019-08-01T02:13:15
2019-08-01T02:13:15
116,709,555
1
2
null
null
null
null
UTF-8
Python
false
false
1,847
py
3.5211267605633805,7.746478873239436,4.225352112676056,2.112676056338028,1.4084507042253522,2.112676056338028,4.225352112676056,3.5211267605633805,3.5211267605633805,7.042253521126761,2.8169014084507045,2.8169014084507045,3.5211267605633805,4.929577464788732,6.338028169014084,2.112676056338028,7.042253521126761,2.11267...
[ "lagrassa@mit.edu" ]
lagrassa@mit.edu
dc2f46fc6be697bc4a871df1137d5e240ed96dc6
95b6f547270557a99c435b785b907896f62e87d1
/result_goodness_cluster_mocking_split.py
d12e022edb71ebcd9a2d744d2922c566aa16d99b
[]
no_license
phizaz/seeding-strategy-ssl
6b3b58c9b1f556f8cd42fea5e3dc20e623462a08
85655ce3297130b273d5f86075ee6bdf1f12be0a
refs/heads/master
2021-01-10T06:18:26.618009
2016-04-02T14:50:08
2016-04-02T14:50:08
49,761,712
0
0
null
null
null
null
UTF-8
Python
false
false
5,500
py
from concurrent.futures import ProcessPoolExecutor from dataset import * from multipipetools import * from ssltools import * from wrapper import * import numpy as np from cache import StorageCache ''' generate results for cluster mocking split on many linkages ''' datasets = [ get_iris_with_test().rescale(), ...
[ "the.akita.ta@gmail.com" ]
the.akita.ta@gmail.com
13f11be3533d90eb492d126f56320638be79da55
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/role/role/tests/test__create_partial_role_from_id.py
a9866551c71dbad6053ef40fb04a1a7a8f75fb05
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
583
py
import vampytest from ..role import Role from ..utils import create_partial_role_from_id def test__create_partial_role_from_id(): """ Tests whether ``create_partial_role_from_id`` works as intended. """ role_id = 202211050000 guild_id = 202211050001 role = create_partial_role_from_id(rol...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
038c3a05bcc319575a05555e9bc49ead2497ea6f
6e060e9730b58e4d7819335438f915179504e72c
/purchase_report/res_partner.py
2c28160b8e6eecb938149f9a0bb87bf2461064df
[]
no_license
missionpetroleumgit/addons_missiongit
4dcdf1d0e79da982670c573d59574a939d1636c0
714514719d5d4d96f371dd529a70ac282070c43b
refs/heads/master
2023-03-10T20:34:10.154050
2021-02-24T23:50:20
2021-02-24T23:50:20
342,027,534
1
0
null
null
null
null
UTF-8
Python
false
false
2,473
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution - Ecuador # Copyright (C) 2019 MissionPetroleum Daniel Aldaz (<daldaz@mission-petroleum.com>). # #####################################################################...
[ "daldaz@mission-petroleum.com" ]
daldaz@mission-petroleum.com
3b92828420d350831d5b4a5fe7b0cf668a30833b
8df119567feb1caffa7d90b29b081ba20fc5c481
/dropper/drc/ec2.py
1df9103179d77c492edeaaeec681e10a5176ecae
[]
no_license
tonicbupt/dropper
967839494b1fbf6458b06084d3079d12433a4873
88a79ba05eec9be34a70efc5c13a0265793de24c
refs/heads/master
2020-03-30T16:55:36.241009
2018-10-04T01:49:57
2018-10-04T01:49:57
151,433,156
1
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
import click from tabulate import tabulate from dropper.style import info from dropper.style import error from dropper.resource import get_ec2_instance_by_id from dropper.resource import create_interface_for_ec2_instance from dropper.resource import create_eip_for_ec2_instance from dropper.resource import clean_eip_fo...
[ "tonicbupt@gmail.com" ]
tonicbupt@gmail.com
f6800a95e7ecb6af6437a180df4b77ec2d8979fd
e71fa62123b2b8f7c1a22acb1babeb6631a4549b
/xlsxwriter/test/drawing/test_write_row_off.py
3958c177db2a6f25924695a89d0ea0cac68551e3
[ "BSD-2-Clause" ]
permissive
timgates42/XlsxWriter
40480b6b834f28c4a7b6fc490657e558b0a466e5
7ad2541c5f12b70be471b447ab709c451618ab59
refs/heads/main
2023-03-16T14:31:08.915121
2022-07-13T23:43:45
2022-07-13T23:43:45
242,121,381
0
0
NOASSERTION
2020-02-21T11:14:55
2020-02-21T11:14:55
null
UTF-8
Python
false
false
773
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2022, John McNamara, jmcnamara@cpan.org # import unittest from io import StringIO from ...drawing import Drawing class TestWriteXdrrowOff(unittest....
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
752132648170d7c017e5c55e377c6cd1959baa47
0760fb4901a75766921a205b55686d6d6f049b30
/python/ray/serve/tests/test_grpc.py
af1dbd8bc1117ab5a426d0d59bdc38a827e66313
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
ray-project/ray
a4bb6940b08b59a61ef0b8e755a52d8563a2f867
edba68c3e7cf255d1d6479329f305adb7fa4c3ed
refs/heads/master
2023-08-31T03:36:48.164405
2023-08-31T03:20:38
2023-08-31T03:20:38
71,932,349
29,482
5,669
Apache-2.0
2023-09-14T21:48:14
2016-10-25T19:38:30
Python
UTF-8
Python
false
false
21,068
py
# coding: utf-8 import pytest import sys import os from ray.serve.drivers import DefaultgRPCDriver, gRPCIngress import ray import time from ray import serve from ray.cluster_utils import Cluster from ray.serve._private.common import DeploymentID from ray.serve._private.constants import SERVE_NAMESPACE from ray.serve.co...
[ "noreply@github.com" ]
ray-project.noreply@github.com
f67ada7d807fd6e1777e3e36289eeb0f4ce40354
7cd2e43560ef234f5fa734761419a485ec988923
/virtual/lib/python3.6/io.py
92597f4f06823cdc0e72abc8f8264d69ac51d318
[ "MIT" ]
permissive
mzazakeith/unsplash-clone
8ec40a1c54ae6fc81b337826660ac98d6dcab98e
5992a62bdd358da705137d6ebe3784a18b15cc03
refs/heads/master
2022-12-15T22:32:25.706652
2018-08-02T10:05:52
2018-08-02T10:05:52
140,807,601
1
0
MIT
2022-12-08T02:20:06
2018-07-13T06:39:50
Python
UTF-8
Python
false
false
53
py
/home/mzaza/.pyenv/versions/3.6.5/lib/python3.6/io.py
[ "mzazakeith@gmail.com" ]
mzazakeith@gmail.com
4096351c4d984813ef93abcd24b3b5b326d854f7
c262825197088c4d3c501dc98ce87e57a42e0f1e
/tests/urls.py
8f8e6089d58dd39054edcd1f72d8ef391756e6a7
[]
permissive
randlet/django-listable
3519cfbd1059e385ab39d9a69df58439d8c0417e
d67b8fa90ce7e05a9e4db2abbc6edcac227580d0
refs/heads/master
2023-07-07T05:09:00.726207
2023-04-18T13:31:39
2023-04-18T13:31:39
16,582,730
12
8
BSD-3-Clause
2023-04-18T13:31:40
2014-02-06T15:06:34
JavaScript
UTF-8
Python
false
false
298
py
from django.conf.urls import include from django.urls import path from django.views.generic import View from django.contrib import admin admin.autodiscover() urlpatterns = [ path("foo/", View.as_view(), name="foo"), path('', include('staff.urls')), path("admin/", admin.site.urls), ]
[ "randle.taylor@gmail.com" ]
randle.taylor@gmail.com
06196fc7aa750093399e06e3cd547f8725ab94aa
5267a42c67b8376a63373f3b3c88f17828ce4f54
/examples/simple_brownian_cross_difference_multi.py
9c581f7afae0d943aa7047e7174ff4c7754ecdf4
[ "MIT" ]
permissive
arkomatej/cddm
92034a197ecf6f7c7264f31ce02cfb676ded10e6
c21f28360d4ccdefa6758a06c71e757abc77efaf
refs/heads/master
2021-01-03T20:51:42.479829
2019-11-29T13:26:24
2019-11-29T13:26:24
240,231,936
0
0
MIT
2020-02-13T10:19:01
2020-02-13T10:19:01
null
UTF-8
Python
false
false
1,791
py
""" In this example we use a simulated dual-camera video of o brownian motion of spherical particles and perform cross-ddm analysis. You must first create FFTs of the videos by calling simple_brownian_fft.py """ from simple_brownian_video import PERIOD from cddm import normalize, k_select, cdiff_multi, log_merge, cc...
[ "andrej.petelin@ijs.si" ]
andrej.petelin@ijs.si
9511ffcc05590f301e4a8466093619f59be26ae6
9cdfe7992090fb91696eec8d0a8ae15ee12efffe
/backtracking/prob40.py
35a50f35d3bf10395f27bb09dc0fd73feed9f333
[]
no_license
binchen15/leet-python
e62aab19f0c48fd2f20858a6a0d0508706ae21cc
e00cf94c5b86c8cca27e3bee69ad21e727b7679b
refs/heads/master
2022-09-01T06:56:38.471879
2022-08-28T05:15:42
2022-08-28T05:15:42
243,564,799
1
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
# 40. Combination Sum II # 20% in speed class Solution(object): def combinationSum2(self, candidates, target): """ :type candidates: List[int] :type target: int :rtype: List[List[int]] """ m = len(candidates) mask = [True] * m # True , unvisited re...
[ "binchen.devops@gmail.com" ]
binchen.devops@gmail.com
bb92c78a3507437d26e8c13bf76458394bd4074d
3428950daafacec9539a83809cf9752000508f63
/9613.py
25c7f72aa501d90fc4c817a8bc99fbaae4c3a433
[]
no_license
HyunAm0225/Python_Algorithm
759b91743abf2605dfd996ecf7791267b0b5979a
99fb79001d4ee584a9c2d70f45644e9101317764
refs/heads/master
2023-05-24T05:29:12.838390
2021-06-15T16:36:33
2021-06-15T16:36:33
274,587,523
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
import sys from itertools import combinations input = sys.stdin.readline def GCD(a, b): return GCD(b,a%b) if b else a # 3항연산자 b ? GCD(b,a%b) N = int(input()) command = [] first_num = 0 _sum = 0 for _ in range(N): commend = input().strip().split() first_num = commend.pop(0) ans_lst = list(combinations...
[ "tlfgjawlq@naver.com" ]
tlfgjawlq@naver.com
4a7409646eb71bc82b2390f4d52bbf7e481fdd75
dc65a27e40a79dadd00612e00b7c37d2d29c94cf
/pitcher/admin.py
87e1d71fe6f9b9c4b727bf4b214eb5b05c57cd13
[]
no_license
xmduhan/pitchersite
8b8c52ba2d8998055600a33b403a9df66055c816
6299a6c2f870aca10c765a17306f477f44d12312
refs/heads/master
2021-01-01T05:39:46.464660
2018-02-03T04:41:57
2018-02-03T04:41:57
26,756,071
0
0
null
null
null
null
UTF-8
Python
false
false
2,980
py
# -*- coding: utf-8 -*- from django.contrib import admin from models import * # Register your models here. # class TicketCountLogAdmin(admin.ModelAdmin): # ''' # 船票数量日志 # ''' # fields = [ # 'logTime', 'seq', 'departure', 'arrival', 'flightCode', 'departureTime', 'price', 'ticketCount', 'fligh...
[ "xmduhan@gmail.com" ]
xmduhan@gmail.com
72a0cfa9fc45ad840b70e24138ea88dffe5deef1
5476056d136b298fd1b75a4f6c5f4ee035bca5d0
/Collocation_syntax/PGpatterns.py.bak
aadb752627858278c06747b03cd0b1ab7aa83ccf
[]
no_license
d2207197/smttoktag
1d9ebf0fb5030a8f046bfc646809e94c9861eee3
1b37f5e29a38347a83bd845fa8a1a28588579e4f
refs/heads/master
2021-01-17T08:54:08.404566
2016-12-12T06:20:54
2016-12-12T06:20:54
38,164,238
1
0
null
null
null
null
UTF-8
Python
false
false
26,352
bak
#!/usr/bin/env python # -*- coding: utf-8 -*- from collections import defaultdict PGtable = { 'VERB':{ # Chapter 1: Simple Patterns 'V n':['V sth'], # 'V pl-n':['V sth+s'], 'V pron-refl':['V oneself'], 'V amount':['V amount'], 'V adj':['V adjp'], 'V -ing':['V...
[ "joseph.yen@gmail.com" ]
joseph.yen@gmail.com
ed1d47f6592f2640a0f502c3748341808bca725a
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve/client/script/ui/shared/info/panels/panelUsedWith.py
8da058573daa14fd3cc36867e8d7ba55e4c457c7
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
#Embedded file name: eve/client/script/ui/shared/info/panels\panelUsedWith.py from carbonui.primitives.container import Container from eve.client.script.ui.control.eveScroll import Scroll import const from utillib import KeyVal class PanelUsedWith(Container): def ApplyAttributes(self, attributes): Contain...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
0405700d43670bffc1633f06a4043b24ca432749
62e45255088abb536e9ea6fcbe497e83bad171a0
/ippython/funciones_raizenesima_295.py
2b69caa01fb20efe9d7ea18d4c6228a54fa57e6b
[]
no_license
jmery24/python
a24f562c8d893a97a5d9011e9283eba948b8b6dc
3e35ac9c9efbac4ff20374e1dfa75a7af6003ab9
refs/heads/master
2020-12-25T21:56:17.063767
2015-06-18T04:59:05
2015-06-18T04:59:05
36,337,473
0
0
null
2015-05-27T02:26:54
2015-05-27T02:26:54
null
UTF-8
Python
false
false
547
py
# -*- coding: utf-8 -*- """ Created on Thu May 23 06:11:49 2013 @author: daniel """ #programa: funeciones_raizenesima_295.py #la funcion calcula el valor: raiz enesima de un valor x, dados (n, x) #ejercicio 295 #define funcion raiz_n_esima def raiz_n_esima(x, n): calculo = x**(1.0/n) return calculo #cue...
[ "danmery@gmail.com" ]
danmery@gmail.com
94669405f51a3622b4e1e82064acafb48771d80f
d8c5f1d5f5b7d222834d233db26d8b03e37bdfa3
/clients/kratos/python/test/test_self_service_registration_flow.py
05d5a65b59f4e145b15dca92fbc0d7e4b2b921a5
[ "Apache-2.0" ]
permissive
kolotaev/sdk
31a9585720c3649b8830cf054fc7e404abe8e588
0dda1becd70be8d7b9d678321ebe780c1ba00485
refs/heads/master
2023-07-09T21:36:44.459798
2021-08-17T09:05:22
2021-08-17T09:05:22
397,220,777
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
""" Ory Kratos API Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the admini...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
05d6d62dcff66ab93a067547d3a95e9afd4e3e90
27ad29c08a31346726a9c2552c7d8e9c8ea1324b
/bootstrap/engines/engine.py
c438a5681c74f22d34852ec718c8b0902b831923
[]
no_license
codegank/bootstrap.pytorch
2980a2a1e6bb6a8c7a17c9400218a2efd7f7b740
fa14dc63c8068abc413a95c1c7298e5750d27a86
refs/heads/master
2020-03-18T07:57:12.442320
2018-05-19T14:59:59
2018-05-19T14:59:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,536
py
import os import math import time import torch import datetime from ..lib import utils from ..lib.options import Options from ..lib.logger import Logger from ..lib.view import GenerateView class Engine(): def __init__(self): self.hooks = {} self.epoch = 0 self.model = None self.dat...
[ "remi.cadene@icloud.com" ]
remi.cadene@icloud.com
2062479dfcc628f8c2a64655813212e02d31c1e9
bdef4751bb59887ec9b035342ea76d33c39d6845
/test/test_cli.py
97f597e21120bc599e114cc5b49bfa0d1f4255e2
[ "MIT" ]
permissive
cyrilleverrier/dxf
f9f1cb01c766cb0aeaf28c59b528127aa854ccb3
17a0cfea455820e921552284a0ca02d2a8f3bff2
refs/heads/master
2021-01-01T16:53:34.319955
2017-07-21T12:52:08
2017-07-21T12:52:08
97,944,669
0
0
null
2017-07-21T12:18:46
2017-07-21T12:18:45
null
UTF-8
Python
false
false
12,518
py
import os import sys import errno import time import hashlib import requests.exceptions import pytest import tqdm import dxf.main # pylint: disable=no-member def test_empty(dxf_main, capsys): assert dxf.main.doit(['list-repos'], dxf_main) == 0 out, err = capsys.readouterr() assert out == "" assert err...
[ "dahalls@gmail.com" ]
dahalls@gmail.com
495dc94c9cfb817ab8434a7119f003ed550c694c
042bd40e554ac7fcd618c334ae98b4f43248a250
/examples/python/cpu/tensors/example_05.py
3eca81540108c21828e2e5f1191625fc20d4ed05
[ "Apache-2.0" ]
permissive
kant/ocean-tensor-package
8a62df968335de2057ff095f0910e5ad5fcff8e1
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
refs/heads/master
2020-03-29T04:01:22.064480
2018-09-19T19:17:19
2018-09-19T19:17:19
149,511,923
0
0
Apache-2.0
2018-09-19T21:03:14
2018-09-19T21:03:14
null
UTF-8
Python
false
false
213
py
## Tensor with irregular size import pyOcean_cpu as ocean t = ocean.tensor([2,3],[12, 3], 1, ocean.int16); s = t.storage s.dtype = ocean.int16 s.asTensor().fill(3) print(t) print(s) print(s.size) print(s.nelem)
[ "evandenberg@us.ibm.com" ]
evandenberg@us.ibm.com
a75c6b62e396c622f0649819186886afbc9091fc
416e996495fadf92047f726e75fe11d827b09a37
/tf_quant_finance/rates/__init__.py
ec1fe4b91d89341723b62978f11d85fae7b7a624
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
matejr/tf-quant-finance
aec57e023eeba6db4da54d6be3a7af2797ab4000
4b21b3c8852ffe4c7b2df3691e3baa064b104fa7
refs/heads/master
2020-06-24T20:39:30.167333
2020-01-21T12:21:01
2020-01-21T12:21:01
199,082,026
2
0
Apache-2.0
2019-09-17T15:24:43
2019-07-26T21:28:05
Python
UTF-8
Python
false
false
1,118
py
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "tf-quant-finance-robot@google.com" ]
tf-quant-finance-robot@google.com
36d44f1315b46a436a9a361090757ac74c56f106
7b221a4981edad73991cf1e357274b46c4054eff
/stacks/XIAOMATECH/1.0/services/HDFS/package/alerts/alert_checkpoint_time.py
80ebc6560e4b2a8a53ec224952a7d595b88c4610
[ "Apache-2.0" ]
permissive
aries-demos/dataops
a4e1516ef6205ad1ac5f692822e577e22ee85c70
436c6e89a1fdd0593a17815d3ec79c89a26d48f1
refs/heads/master
2020-05-29T17:20:12.854005
2019-05-22T06:06:00
2019-05-22T06:06:00
189,270,801
2
3
Apache-2.0
2019-05-29T17:35:25
2019-05-29T17:35:24
null
UTF-8
Python
false
false
11,883
py
#!/usr/bin/env python """ 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");...
[ "xianhuawei@MacBook-Air.local" ]
xianhuawei@MacBook-Air.local
4d23ddd2ea5672db955a5c6d3b5fce098433ddf1
48832d27da16256ee62c364add45f21b968ee669
/res_bw/scripts/common/lib/threading.py
a760088b9957ca3c00193cbadf79d09785f2434e
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
38,545
py
# 2016.08.04 19:57:45 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/threading.py """Thread module emulating a subset of Java's threading model.""" import sys as _sys try: import thread except ImportError: del _sys.modules[__name__] raise import warnings from collections import deque a...
[ "info@webium.sk" ]
info@webium.sk
58a8ac3aeb1031aee7c52aea91979f8e256f1cfd
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_haziest.py
734478d05a08f9da7053e6b7c99b1937fa26fa4c
[ "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
238
py
from xai.brain.wordbase.adjectives._hazy import _HAZY #calss header class _HAZIEST(_HAZY, ): def __init__(self,): _HAZY.__init__(self) self.name = "HAZIEST" self.specie = 'adjectives' self.basic = "hazy" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
4ae46dc907cbd76304d1fd51ea3ff455359ec919
8d753bb8f19b5b1f526b0688d3cb199b396ed843
/osp_sai_2.1.8/system/apps/mibd/mib_modules/common/mib2_system.py
b96ebca4899f951e5d53298d153d58b9e191b182
[]
no_license
bonald/vim_cfg
f166e5ff650db9fa40b564d05dc5103552184db8
2fee6115caec25fd040188dda0cb922bfca1a55f
refs/heads/master
2023-01-23T05:33:00.416311
2020-11-19T02:09:18
2020-11-19T02:09:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,474
py
#!/usr/bin/python import sys, os, signal, time, re, optparse, pprint import binascii, xdrlib, threading, socket from daemon3x import daemon as Daemon from struct import * from netsnmpapi import * from netsnmpagent import * from cdb_const import* from cdb_define import* import tbl_pb2, common_pb2, ds_pb2 AGENT = None ...
[ "zhwwan@gmail.com" ]
zhwwan@gmail.com
0b5acd1df1841635c753ede93fdd054867f5d530
3541de0acb7e6f624b6b01ca3cf6e8827dc79ce1
/dfirtrack_main/views/reason_views.py
7fadd61f4272d75b046b21eb8223c675580a7e29
[ "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
P3t3rp4rk3r/dfirtrack
13d4c7d185d49ac33ac166232edd53bed830a6c0
2a307c5fe82e927b3c229a20a02bc0c7a5d66d9a
refs/heads/master
2023-06-28T14:13:07.085758
2021-08-01T18:06:06
2021-08-01T18:06:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,619
py
from django.contrib import messages from django.contrib.auth.mixins import LoginRequiredMixin from django.http import HttpResponse from django.shortcuts import redirect, render from django.urls import reverse from django.views.generic import DetailView, ListView from django.views.generic.edit import CreateView, UpdateV...
[ "mathias.stuhlmacher@gmx.de" ]
mathias.stuhlmacher@gmx.de
551b7322ab04da826d94093f13076525ea97754c
464325f9c0be2b323d305babc50d974b63762c8f
/pug_or_ugh/apps.py
adada13e2fa05a83ede6059e0f187738694ada20
[]
no_license
frankRose1/pug-or-ugh-api
35ec1cc41cc2b0462a103d7c752c1d15eb9f2123
643c214d066a0e5e27d416b45242ac44773cf649
refs/heads/master
2020-04-25T14:28:17.805437
2019-05-13T00:53:06
2019-05-13T00:53:06
172,842,323
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from django.apps import AppConfig class PugOrUghApiConfig(AppConfig): name = 'pug_or_ugh_api'
[ "frank.rosendorf1@gmail.com" ]
frank.rosendorf1@gmail.com
328ce9ad18492200d88b554a5dc76adf5e604244
08ad52ed4d6b33d464d245273f060bd0722029ea
/hwrt/analyze_data.py
cc84bfe57329809ffba1f51e54883f23196c1e1c
[ "MIT" ]
permissive
MartinThoma/hwrt
8468d5fee904f54b1a925693aff76911666308e9
f271046c64679f38fb98a2af115a92c258c5897a
refs/heads/master
2023-02-21T16:48:51.348954
2022-06-22T05:22:37
2022-06-22T05:22:37
24,846,573
73
20
MIT
2023-02-16T02:35:36
2014-10-06T13:20:25
Python
UTF-8
Python
false
false
4,439
py
""" Analyze data in a pickle file by maximum time / width / height and similar features. """ # Core Library modules import logging import pickle import sys # Third party modules import numpy # Local modules from . import data_analyzation_metrics as dam from . import features, handwritten_data, utils logger = loggi...
[ "info@martin-thoma.de" ]
info@martin-thoma.de
c8b2490cec893fb236b62ca8143b51ef35419017
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_158/1120.py
f954bb5e8fdbdf8e1f91915335edb35a95dcde07
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
#!/usr/bin/python3 def readInputFile(): l = [line.rstrip('\n') for line in open('in.in')] return l def putOutpinutFile(testCaseResults): f = open('out.out', 'w') i = 1 for row in testCaseResults: f.write('Case #' + str(i) + ': ' + row + '\n') i += 1 def calcWinner(g): '''[X, R, C] := X-omino, RxC field...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
a1b6ed2785929ac743135502ae64dcb1fb2694af
8034c55f3b941d91c75f5c02286361174391d698
/DataAnalysis/plot2.py
fc3877a31ed078707f8933c6631b9c9182590489
[]
no_license
billy-inn/Plot
6bb23c9419ef3b4d7a694539d3b04ad04418323d
17537fa4ed9bd2adf691917746cfed5c3d3c1d3d
refs/heads/master
2020-03-29T16:20:55.887599
2014-10-20T12:26:42
2014-10-20T12:26:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
import matplotlib.pyplot as plt import numpy as np fig, (ax0,ax1) = plt.subplots(nrows = 2, sharex = True) fr = open('./Fermi/naive_atomic.txt',"r") x = [] y = [] for line in fr.readlines(): arr = line.strip().split() x.append(eval(arr[0])) y.append(eval(arr[1])) ax0.plot(x,y,'o-',label='naive') fr.close() fr...
[ "bly930725@gmail.com" ]
bly930725@gmail.com
b90f10964bd01b2ecf57b094f81abb2a9448e041
415ef6cfb37b4b072ea97a822a736bd14def2bc2
/chapter1/section4/__init__.py
a9965af10b84f0f8beb4bd707e87e6f143bc0078
[]
no_license
csheahan/NumberTheoryProblems
88f84e42c2fcb205ce1ea2d2a2a175c1351c1d07
f365715bf63752e02cef9823555b59d444889052
refs/heads/master
2021-01-21T12:49:54.838508
2016-05-14T05:19:22
2016-05-14T05:19:22
37,578,891
4
1
null
null
null
null
UTF-8
Python
false
false
348
py
from Tkinter import * import ttk from chapter1.section4 import problem1 from chapter1.section4 import problem2 from chapter1.section4 import problem3 def load_section(tree, frame): tree.insert("ch1", "end", "ch1.4", text="Section 4") problem1.load_problem(tree, frame) problem2.load_problem(tree, frame) problem...
[ "chris.sheahan@live.com" ]
chris.sheahan@live.com
ccce29ab438fd22de5d5533a5951596681c50775
ffe787200a2e363a084454c63ac8633d039ee370
/enemy.py
c39a07ae2897945d9a7e75937f48dbaddd54ed58
[]
no_license
roma2099/the-GAME
7dff9e22ad2c4403e529a4e954e51863a15679c4
67d9bba0b1df46428dfd5e9a18080ff1ac0f76cb
refs/heads/main
2023-03-11T04:53:40.653444
2021-02-23T13:55:25
2021-02-23T13:55:25
327,400,997
1
1
null
null
null
null
UTF-8
Python
false
false
8,959
py
import pygame, caracter,tile class Enemy(caracter.Caracter): def __init__(self, position=(0, 0),index=0): super(Enemy, self).__init__(position) self.rect = pygame.Rect(7, 8, 20 * 3, 27 * 3) self.run_speed= 12 self.attack_on = False self.attack_combo = 1 self.atta...
[ "you@example.com" ]
you@example.com
e2c38c6b8d5cc6321c5f7859ffd8eb9d154fc8f2
ce9d475cebeaec9cf10c467c577cb05c3b431fad
/code/chapter_15_example_04.py
baf0b61f3bb3dd5a2c1a7fdb600caf5ee6b3e45d
[]
no_license
Sundarmax/two-scoops-of-django-2.0-code-examples
9c8f98d145aaa5498bb558fc5125379cd39003e5
a15b2d4c240e879c03d2facf8592a644e27eb348
refs/heads/master
2022-04-19T10:14:53.795688
2020-03-04T15:16:25
2020-03-04T15:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
""" Using This Code Example ========================= The code examples provided are provided by Daniel Greenfeld and Audrey Roy of Two Scoops Press to help you reference Two Scoops of Django: Best Practices for Django 1.11 for Django 2.0 projects. Code Samples follow PEP-0008, with exceptions made for the purposes o...
[ "pydanny@gmail.com" ]
pydanny@gmail.com
16265c1fdb8858bcd02ea413597ac50ef5954070
492d3e666b87eff971628a74fe13facde01e2949
/htmlcov/_python_Django_My Projects_student-portal_Lib_site-packages_django_contrib_contenttypes_migrations_0002_remove_content_type_name_py.html.py
8f376da2eca354acd442ea01dce2aacf00b650ba
[]
no_license
OmarFateh/Student-Portal
42050da15327aa01944dc79b5e00ca34deb51531
167ffd3a4183529c0cbc5db4ab232026711ea915
refs/heads/master
2023-06-13T01:03:16.475588
2021-07-08T11:09:09
2021-07-08T11:09:09
382,895,837
0
0
null
null
null
null
UTF-8
Python
false
false
13,454
py
XXXXXXXXX XXXXX XXXXXX XXXXXX XXXXX XXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXX XX XXXXXXXXXXXXXXX XXX XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
[ "66747309+OmarFateh@users.noreply.github.com" ]
66747309+OmarFateh@users.noreply.github.com
c0ae830810a689c99bef8274af44f7abf7049caa
0c65eead5b7076e042c1c4800ece7e61e99f2ba7
/python/Python_5ch_Class_and_Module/calendar_practice.py
25271bb7de4385a02a878d04755b8975bf0752eb
[]
no_license
LeeSM0518/TIL
3826a432b73945ebea302eef6429a93b6baa1f4f
463d7e056b0083047f3e33d705d77f014947f982
refs/heads/master
2021-06-28T07:26:20.215835
2020-09-25T14:16:00
2020-09-25T14:16:00
149,553,733
3
3
null
2019-02-14T13:16:25
2018-09-20T05:00:06
Java
UTF-8
Python
false
false
781
py
# calendar : 달력을 볼 수 있게 해주는 모듈 이다. import calendar print('calendar 모듈') # calendar.calendar(연도) : 그 해의 전체 달력을 볼 수 있다. print('\ncalendar.calendar(2018) = \n', calendar.calendar(2018) ) # calendar.prcal(연도) : 위와 같다. print('\ncalendar.prcal(2015) = \n' ) calendar.prcal(2015) # calendar.prmonth(2015, 12) : 해당되는...
[ "nalsm98@naver.com" ]
nalsm98@naver.com
8d64c85d093b75fedf8fad09a0e4250f341d0670
2c9db62ddaffd77c097b3da4990021270912ea40
/백준/1316.py
8300773a7464790a64bd367f04b8bdaefe11aab0
[]
no_license
nahyun119/algorithm
9ae120fbe047819a74e06fc6879f55405bc9ea71
40e291305a4108266073d489e712787df1dbae4b
refs/heads/master
2023-08-27T23:18:44.133748
2021-10-03T11:32:12
2021-10-03T11:32:12
326,661,962
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
import sys input = sys.stdin.readline def main(): n = int(input()) words = [] for _ in range(n): words.append(input().strip()) count = 0 for word in words: list_word = list(word) temp = set(list_word) hash_map = {} is_group = True for t in temp:...
[ "nahyun858@gmail.com" ]
nahyun858@gmail.com
773a5e1ddb42e79b5c28f31fef3e6b5649f29a01
8efe9a6c9489d798b5f5b610eb531d86924a1548
/src/products/migrations/0009_auto_20180227_2103.py
d86752a13654ac86e388bc84980127720d29e9d5
[]
no_license
MarekBiczysko/naklisze_public
e8e6f7e61cdb83b74ea68862b40c061c0253767b
e53c0e8fefffbcfc3a8859976eb7b81cf6270847
refs/heads/master
2022-12-12T02:27:09.824803
2019-07-23T10:54:47
2019-07-23T10:54:47
198,410,666
0
0
null
2022-12-08T01:03:08
2019-07-23T10:46:57
Python
UTF-8
Python
false
false
850
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-02-27 20:03 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0008_auto_20180225_1534'), ] operations = [ migrations.AddField( ...
[ "marek.biczysko@stxnext.pl" ]
marek.biczysko@stxnext.pl
f74058d996f173a3cb85c83c060d251e4b237210
0c1c0224e87a9fbbb839936286001d54b9f38cb0
/ml4rt/machine_learning/neural_net_test.py
8776408764981d5e21460027bbab2b3178974854
[]
no_license
muskanmahajan37/ml4rt
3cf09fed0df824493cf06eb128771523977a3807
595426865ed26557a81ba5357fc24356d819dcc0
refs/heads/master
2023-02-21T20:17:07.028561
2021-01-26T22:15:31
2021-01-26T22:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,666
py
"""Unit tests for neural_net.py.""" import copy import unittest import numpy from ml4rt.utils import example_utils from ml4rt.machine_learning import neural_net TOLERANCE = 1e-6 # The following constants are used to test predictors_dict_to_numpy, # predictors_numpy_to_dict, targets_dict_to_numpy, and targets_numpy_t...
[ "lagerqui@ualberta.ca" ]
lagerqui@ualberta.ca
54495b9b13ea03277eb0ba632c1545e78f55339b
bc437dc74647765b51996f64b35fda3d047daf93
/4_Advanced/day78_Analysing_the_Nobel_Prize/main.py
2b2d8ebf5594b7d85c86e1c9decb32fe8572e6bf
[]
no_license
macosta-42/100_days_of_code
e06720d57b6ed870a3dd4fa4e6d019296206a08f
5b527dc18bae2ef556c26f653ef3c4badf94bb82
refs/heads/main
2023-05-22T03:26:02.422275
2021-06-10T10:31:26
2021-06-10T10:31:26
328,963,362
0
0
null
null
null
null
UTF-8
Python
false
false
24,881
py
# -*- coding: utf-8 -*- """Nobel_Prize_Analysis_(start).ipynb Automatically generated by Colaboratory. # Setup and Context ### Introduction On November 27, 1895, Alfred Nobel signed his last will in Paris. When it was opened after his death, the will caused a lot of controversy, as Nobel had left much of his wealth...
[ "macosta@student.42.fr" ]
macosta@student.42.fr
7aad2e9979754dd93ff5acc9841ecef0bd2710fd
3da45c63f83b5acac33da5be8d300b384721c26b
/evolution/evolution_019/integration_tests/dump.py
822d7ccec89790e751309b2b3da940446e7d4869
[]
no_license
lanzhiwang/japronto_evolution
f18a9fb46c12add9336838c9d716d427a7845eac
3948c213d1465f8ad82ad8d21555cf70d9323e16
refs/heads/master
2021-06-28T02:20:39.589983
2019-11-11T11:28:16
2019-11-11T11:28:16
217,689,114
1
0
null
2021-02-26T03:06:20
2019-10-26T09:56:09
C
UTF-8
Python
false
false
663
py
import os.path import sys import base64 sys.path.insert(0, os.path.abspath(os.path.dirname(__file__) + '/..')) from app import Application def dump(request): body = request.body if body is not None: body = base64.b64encode(body).decode('ascii') result = { "method": request.method, ...
[ "hzhilamp@163.com" ]
hzhilamp@163.com
2f441354ecc5e076edf034d737f6949f59b912f0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_breakdowns.py
168fbe2e7c175a28f59bf30b45059c9cec475115
[ "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
234
py
#calss header class _BREAKDOWNS(): def __init__(self,): self.name = "BREAKDOWNS" self.definitions = breakdown self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['breakdown']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0fb6b2de855bb54d5c6db23644b21feb2a146295
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_supervision.py
9d9c30ecc3e1ecb8201ab3b26348b487857f092d
[ "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
399
py
#calss header class _SUPERVISION(): def __init__(self,): self.name = "SUPERVISION" self.definitions = [u'the act of watching a person or activity and making certain that everything is done correctly, safely, etc.: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.s...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
d317bbddc5eec6100448f7cbfe7d659b89ea2c6c
4e96f383d4703ad8ee58869ed91a0c8432c8a051
/Cura/Uranium/plugins/LocalContainerProvider/LocalContainerProvider.py
6a2e0248af9c70f26330cc9d6ecee9fbbbe585b6
[ "LGPL-3.0-only", "GPL-3.0-only" ]
permissive
flight7788/3d-printing-with-moveo-1
b2dba26010c4fa31815bc1d2d0966161a8600081
7fcb9c6b5da9245d54ac917de8c2a7f5148e42b0
refs/heads/Feature_Marlin_with_AlanBoy
2022-08-30T18:36:44.785058
2020-05-30T07:52:58
2020-05-30T07:52:58
212,583,912
0
0
MIT
2020-05-16T07:39:47
2019-10-03T13:13:01
C
UTF-8
Python
false
false
16,524
py
# Copyright (c) 2019 Ultimaker B.V. # Uranium is released under the terms of the LGPLv3 or higher. import os # For getting the IDs from a filename. import pickle # For caching definitions. import re # To detect back-up files in the ".../old/#/..." folders. from typing import Any, Dict, Iterable, Optional, Set, Type...
[ "t106360212@ntut.org.tw" ]
t106360212@ntut.org.tw
3702d842687ff1e61651a4c7ac982d1651bfc3f1
66231ef313035bd81573b3690bcc888cfd86776d
/mifs/models/KernelSVM.py
a9d9d449581db7c484eb48cfffe7436bcb0193cc
[ "MIT" ]
permissive
SHANK885/PKNN-MIFS
3ae9ae6228038bfd90fb14bc55d1e3146ab470dd
ade8132d0b95b6fbdb746906c5482ba91c391407
refs/heads/master
2023-08-25T10:45:08.517807
2022-08-24T06:32:44
2022-08-24T06:32:44
203,161,622
0
0
null
null
null
null
UTF-8
Python
false
false
2,048
py
# -*- coding: utf-8 -*- # Kernel SVM # Importing the libraries import numpy as np from sklearn.preprocessing import Imputer, LabelEncoder from sklearn.preprocessing import OneHotEncoder, StandardScaler from sklearn.model_selection import train_test_split from sklearn.svm import SVC from sklearn.metrics import confusi...
[ "shashankshekhar885@gmail.com" ]
shashankshekhar885@gmail.com
47f57eeb0b316edba3e9777736384707db2eb9b4
116967cd9f326d74a83c7ce01a826e1a83265ade
/nilearn/examples/manipulating_visualizing/plot_mask_computation.py
d13722b24c16aa20b212e82c5ab13f580c15a1fe
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
bcipolli/nilearn-RSA
f73ea5e04ac94c0c2d4c7ac5f5219779a3067596
0ac8595c1ce3e44b6b5ec25d1906f558088ab297
refs/heads/master
2020-04-15T04:01:37.084977
2015-08-15T17:35:22
2015-08-15T17:35:22
31,421,013
4
2
null
null
null
null
UTF-8
Python
false
false
3,283
py
""" Understanding NiftiMasker and mask computation ================================================== In this example, the Nifti masker is used to automatically compute a mask. For data that has already been masked, the default strategy works out of the box. However, for raw EPI, as in resting-state time series, we ...
[ "bcipolli@ucsd.edu" ]
bcipolli@ucsd.edu
5139e43018e74d1eb4e275ee2a4e9b9929095a42
a8547f73463eef517b98d1085430732f442c856e
/scrapinghub/legacy.py
3934ef6d7c90a537d98b4bd9c674bee0477c12f3
[]
no_license
EnjoyLifeFund/macHighSierra-py36-pkgs
63aece1b692225ee2fbb865200279d7ef88a1eca
5668b5785296b314ea1321057420bcd077dba9ea
refs/heads/master
2021-01-23T19:13:04.707152
2017-12-25T17:41:30
2017-12-25T17:41:30
102,808,884
0
0
null
null
null
null
UTF-8
Python
false
false
13,939
py
""" Scrapinghub API Client Library """ from __future__ import division, print_function, absolute_import import os import sys import json import logging import socket import time import warnings # Python 2/3 compatibility _IS_PYTHON2 = sys.version_info < (3,) if _IS_PYTHON2: import httplib _BINARY_TYPE = str ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
4c672c8fb992d3fe90b6a785829c57694c04088d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02796/s099351239.py
cae776a89c2f2684a1ed82c8f23258d578ac2571
[]
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
743
py
import numpy as np N = int(input()) X = [[] for _ in range(N)] L = [[] for _ in range(N)] for i in range(N): X[i], L[i] = map(int, input().split()) def indexSort(L): D = dict(zip(range(len(L)), L)) E = sorted(D.items(), key=lambda x: x[1]) F = [e[0] for e in E] return F L1 = [x-l for x,...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c61d4d1427ea12234fbe411b70b2d9488b04270e
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/surface/compute/diagnose/export_logs.py
6a8b8e411b626ec9500fcfa821f5b588b9cedc55
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
9,996
py
# -*- coding: utf-8 -*- # # Copyright 2018 Google LLC. 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 requir...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
94172a11e53ada7e3df30ab602545170dd478012
3e4ec719074d50d02b3dba8d431dad9895a3144a
/branches/1.0/available plugins/user.py
92af6c219059b77f4acd2748cd6d8fc9bc642e71
[]
no_license
BGCX067/eyercbot-svn-to-git
76b9404415b1eb0fef33357bec49c02519005331
5e71e71b05f4fa0c06cf5e2d15fb15d882d55864
refs/heads/master
2016-09-01T08:50:48.015417
2015-12-28T14:32:02
2015-12-28T14:32:02
48,757,791
0
0
null
null
null
null
UTF-8
Python
false
false
10,859
py
# This script will manage the user database # Objectives: Users will be recognized by their host mask(s) # Users will be placed in groups (general is the default) # Groups will have -command masks # Users will have -command and +command masks, these will override group settings # -Module.Command override +Module (and ...
[ "you@example.com" ]
you@example.com
e99c2919647110fc3f59b705d304d2c8b2ca1d10
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_Anscombe/model_control_one_enabled_Anscombe_LinearTrend_Seasonal_DayOfWeek_LSTM.py
f58e54b4034c5b38bf73953b9661a4e9470846ce
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
168
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Anscombe'] , ['LinearTrend'] , ['Seasonal_DayOfWeek'] , ['LSTM'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
7a090d467db9d938619742f49541d501cbc32f0b
4d776c7cbf3fd7ec616da07056bd940b4c2c7732
/app/views/base_view.py
4c77e9ce300aa7971ead257c679d2b0692ffad6e
[]
no_license
AngelLiang/flask_oauth2_server_demo
b42772290dbedf3aebeeac37bf560904f5db7de2
eda952a3286b8d73698a9825f642f5210c2abfd0
refs/heads/master
2022-12-09T02:57:40.996459
2019-09-20T10:08:58
2019-09-20T10:08:58
136,454,395
1
0
null
2022-12-08T02:12:47
2018-06-07T09:29:42
Python
UTF-8
Python
false
false
2,455
py
# coding=utf-8 from sqlalchemy import func from flask import redirect, url_for, request, abort, g, current_app, render_template from flask_user import current_user, login_required from flask_admin import BaseView, expose, AdminIndexView from flask_admin.contrib.sqla import ModelView from flask_admin.model import Base...
[ "pl01665077@163.com" ]
pl01665077@163.com
5bc32d80fb636f85d16f4efd569db6799f3c4def
78181849d51d1fdc06378e3bf5c33df85ebd6c97
/docrec/models/squeezenet.py
0610389258a165785933fd3284e26c6321b48dbb
[]
no_license
thiagopx/deeprec-sib18
9937d4983aba7bde19a58c6a098a43467bc466dd
7315f8d1beb902c33ceb0720859bd326bb6f5076
refs/heads/master
2022-12-07T17:32:59.667617
2020-07-03T15:59:24
2020-07-03T15:59:24
148,519,361
2
1
null
null
null
null
UTF-8
Python
false
false
9,464
py
import os import numpy as np import tensorflow as tf # https://github.com/vonclites/squeezenet/blob/master/networks/squeezenet.py # https://github.com/ethereon/caffe-tensorflow # python convert.py --caffemodel <path-caffemodel> <path-deploy_prototxt> --data-output-path <path_weights> <path_model>py> class SqueezeNet...
[ "paixao@gmail.com" ]
paixao@gmail.com
9bc0e5f1f3765c1d7550f60284aee3e4bfb968bb
0fdf5196a64ee86a3047671563ca3b62c98bbdb3
/data/spiders/buildings.py
4a14bea657db568caad338ea291fa60ef9fcf0d0
[]
no_license
alxfed/permits_old
ba032f4c83856adbe7d46db93f389c09f34713f3
62955058ebe2ae4abe141c3e5e7dc83cf360562e
refs/heads/master
2021-04-19T05:24:17.006713
2020-03-23T21:35:28
2020-03-24T01:16:12
249,547,768
0
0
null
null
null
null
UTF-8
Python
false
false
8,190
py
# -*- coding: utf-8 -*- from scrapy.spiders import CSVFeedSpider from collections import OrderedDict import scrapy from data.items import InspTableLine, PermTableLine from datetime import datetime import re def not_identified(response): # //*[@id="search"]/div[2]/p NO_MATCH_XPATH = '//*[@id="search"]/div[2]/p...
[ "alxfed@gmail.com" ]
alxfed@gmail.com
235001135efb85f370b3f72a05c368bc30a09161
8fb4f83ac4e13c4c6de7f412f68c280d86ddea15
/eon/virt/driver.py
9bb99abf57aec72761c8472539bf1169197cf655
[ "Apache-2.0" ]
permissive
ArdanaCLM/hpe-eon
cbd61afa0473bbd9c6953e5067dbe5a7ff42c084
48a4086d2ccc5ccac60385b183f0d43f247c0b97
refs/heads/master
2021-07-25T18:55:30.176284
2017-10-24T08:49:42
2017-10-24T08:49:42
103,971,673
0
1
null
2017-11-07T15:47:45
2017-09-18T17:43:45
Python
UTF-8
Python
false
false
4,775
py
# # (c) Copyright 2015-2017 Hewlett Packard Enterprise Development Company LP # # 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 require...
[ "srivastava.abhishek@hp.com" ]
srivastava.abhishek@hp.com
14e1c8684927638b76e122f57d535304d263f89e
2036a29f8659f0364a8fd1ef3397afb8ecf67944
/Ch02/listcomp_speed.py
ac461c87f7dcb112bd6af73f04ffeeca34e43269
[]
no_license
it-zyk/Python_Fluent
3e7b327fa838768378446988c37613fe06b41f7b
9247f7cc62d57d8795ed667a49a27cb847d4f3b3
refs/heads/master
2020-04-10T16:29:08.127284
2018-12-14T03:45:21
2018-12-14T03:45:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
import timeit TIMES = 10000 SETUP = """ symbols = '$¢£¥€¤' def non_ascii(c): return c > 127 """ def clock(label, cmd): res = timeit.repeat(cmd, setup=SETUP, number=TIMES) print(label, *('{:.3f}'.format(x) for x in res)) clock('listcomp :', '[ord(s) for s in symbols if ord(s) > 127]') clock('lis...
[ "it-zyk@outlook.com" ]
it-zyk@outlook.com
528511b86a3f4a3eafed5e64b6dff882a234b80c
6223dc2e5de7921696cb34fb62142fd4a4efe361
/.metadata/.plugins/org.eclipse.core.resources/.history/3f/90fc1f01576a00141afa8a8ed49a3dc2
22093cdf73b3e02ae1a943cce518634a833440d0
[]
no_license
Mushirahmed/python_workspace
5ef477b2688e8c25b1372f546752501ee53d93e5
46e2ed783b17450aba29e4e2df7b656522b2b03b
refs/heads/master
2021-03-12T19:24:50.598982
2015-05-25T10:23:54
2015-05-25T10:23:54
24,671,376
0
1
null
2015-02-06T09:27:40
2014-10-01T08:40:33
Python
UTF-8
Python
false
false
2,315
#!/usr/bin/env python # # Copyright 2014 <+YOU OR YOUR COMPANY+>. # # This is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This software is dis...
[ "imushir@gmail.com" ]
imushir@gmail.com
84fd195e7cdc15a674c5dc4d23f0c09948cd48ba
70cdf0741a22c678401a306229003bf036ffe5a6
/ocbind/network_instances/network_instance/mpls/signaling_protocols/rsvp_te/neighbors/__init__.py
ea8acb9b31542d961b1704924941d43c9717541e
[]
no_license
zsblevins/nanog81-hackathon
5001e034339d6b0c6452ae2474f06916bcd715cf
1b64fd207dd69837f947094fbd6d6c1cea3a1070
refs/heads/main
2023-03-03T09:39:28.460000
2021-02-15T13:41:38
2021-02-15T13:41:38
336,698,856
2
0
null
null
null
null
UTF-8
Python
false
false
20,786
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "zblevins@netflix.com" ]
zblevins@netflix.com