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
9f79014a99de26096629779af1c9279f8319b7b4
86813bf514f3e0257f92207f40a68443f08ee44b
/0072 编辑距离/0072 编辑距离.py
09a71367fdde0319dcd6e517d8d2183aa808a77f
[]
no_license
Aurora-yuan/Leetcode_Python3
4ce56679b48862c87addc8cd870cdd525c9d926c
720bb530850febc2aa67a56a7a0b3a85ab37f415
refs/heads/master
2021-07-12T13:23:19.399155
2020-10-21T03:14:36
2020-10-21T03:14:36
212,998,500
4
1
null
null
null
null
UTF-8
Python
false
false
893
py
# label: dynamic programming difficulty: difficult class Solution(object): def minDistance(self, word1, word2): """ :type word1: str :type word2: str :rtype: int """ #用dp[i][j]表示word1[:i + 1], word2[:j + 1]这个问题的解 m, n = len(word1), len(word2) dp = [[0...
[ "noreply@github.com" ]
Aurora-yuan.noreply@github.com
7ae7e78b80d63d83fad51f24b644042cd5b26dc0
128c32834fa8156a25e5693131991525ea33020b
/2016.1/Exércicio LAB DE PROGRAMAÇÃO/Exercício 2016.1/Exemplos_Realizados_em_Sala/TabelaHashOficial.py
32d11b51e1e5f60f2130fc55a4f5649f77574158
[]
no_license
wellington16/BSI-UFRPE
5780e94b4c10b3ee8885d01fc14f4050e6907611
268d0e5beabf211df1aa69cbe52ac1e0cb85fe64
refs/heads/master
2020-06-30T16:59:59.316415
2020-03-10T13:22:31
2020-03-10T13:22:31
66,642,156
1
1
null
null
null
null
UTF-8
Python
false
false
7,527
py
class No: def __init__(self, valor): self.valor = valor self.prox = None self.ant = None def getValor(self): return self.valor def setValor(self, novodado): self.prox = novoDado def getNovValor(self): return self.prox def setN...
[ "wjfilmagens@hotmail.com" ]
wjfilmagens@hotmail.com
b5e65556cb0df5cb435e365882c7a0da7fe6731e
ac1bbabc7c1b3149711c416dd8b5f5969a0dbd04
/Python Advanced/comprehensions/heroes_inventory.py
1ae5e593c8b94b15f8fb01e9809e0e0be37b5b93
[]
no_license
AssiaHristova/SoftUni-Software-Engineering
9e904221e50cad5b6c7953c81bc8b3b23c1e8d24
d4910098ed5aa19770d30a7d9cdf49f9aeaea165
refs/heads/main
2023-07-04T04:47:00.524677
2021-08-08T23:31:51
2021-08-08T23:31:51
324,847,727
1
0
null
2021-08-08T23:31:52
2020-12-27T20:58:01
Python
UTF-8
Python
false
false
634
py
heroes = input().split(', ') command = input() heroes_inventory = {hero: [] for hero in heroes} while not command == "End": data = command.split('-') name, item, cost = data if name in heroes_inventory: if heroes_inventory[name]: if item not in heroes_inventory[name][0]: ...
[ "assiaphristova@gmail.com" ]
assiaphristova@gmail.com
27f120ae877d4f79cb6762956b3002c61edeb0ca
bde402f8375dc12f1a337d534e4ed217023fd1d2
/setup.py
18226d5ce7c5d447cabe839a450b0e052abc3db6
[]
no_license
CONNJUR/nmrglue
975d386a5128db6904041a57f833b34980ec9170
9ee6d6278d1d2be87648bb4903f3948fb6447da1
refs/heads/master
2020-04-20T16:52:19.143719
2019-02-03T17:51:44
2019-02-03T17:51:44
168,971,497
0
0
null
2019-02-03T17:22:07
2019-02-03T17:22:06
null
UTF-8
Python
false
false
1,654
py
#!/usr/bin/env python # setup script for nmrglue from distutils.core import setup from codecs import open from os import path, walk here = path.abspath(path.dirname(__file__)) # get long description from README with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( ...
[ "jjhelmus@gmail.com" ]
jjhelmus@gmail.com
63ab12f6fb3b539ccfbf9e77397ab0cef69e7a12
cb2c9c33b993e14fec3db34cdbaf04dabdf60ad1
/2018/17/solve
4d8fb57693bb81b44e1058eb285023126ead0e59
[]
no_license
rr-/aoc
51e95711d3eaf5de4b80bcd57c90750c1c09252d
babc68340eb46dac42981e700435bd740ff3c625
refs/heads/master
2020-04-10T00:26:08.388243
2018-12-25T15:08:06
2018-12-25T15:17:17
160,685,276
0
0
null
null
null
null
UTF-8
Python
false
false
4,368
#!/usr/bin/env python3 import re import typing as T from collections import defaultdict from pathlib import Path from PIL import Image WELL_X = 500 WELL_Y = 0 AIR = "." CLAY = "#" WELL = "+" STILL_WATER = "~" RUNNING_WATER = "|" def parse_chunk(text: str) -> T.List[int]: num = list(map(int, re.findall(r"\d+", ...
[ "rr-@sakuya.pl" ]
rr-@sakuya.pl
540ec97d8fd8b38e391df681d5f04875976ab585
243335dfe75c72f4e94ff953f5b0851d2e116cb1
/model/simple_graphs.py
dd2a0ecdd9d8c05fc516c00c757c9509420d2282
[]
no_license
bwhub/generalizable-device-placement
f485aea87b8a297cc3212014f3674fd9bad8df49
d9a81a9f6cb05bfc94773722a4e7ead793ca7fd1
refs/heads/master
2022-02-24T13:24:43.374572
2019-10-25T01:02:52
2019-10-25T01:02:52
298,305,058
1
0
null
2020-09-24T14:32:56
2020-09-24T14:32:55
null
UTF-8
Python
false
false
1,606
py
import networkx as nx # d is the number of chains def makeChainGraph(N, d=2): G = nx.DiGraph() def add_edge(i, j): G.add_edge(str(i), str(j)) ''' for N = 4, d = 2 1 2 3 4 0 9 5 6 7 8 Lowest Runtime: (N+2) + l_fact* 2 ''' n = 1 for i in range(d): add_edge(0, n) for j in...
[ "addanki@mit.edu" ]
addanki@mit.edu
44db05656099ea323b7329dabe2deea43a7f61fe
29c71deb76575eb7142f5e798745ccda8dd5d366
/salesapp/cart.py
91c2657add7953b609ab17ee0029f8001f8cac73
[]
no_license
bill0812/salesSystem
c0b992949183ce8df8cd6c3a1470b17a5f6dc33b
4ff17f52bac911959b7b7fff0c5e046d5471ed66
refs/heads/master
2020-03-29T10:04:57.736379
2020-03-01T12:04:10
2020-03-01T12:04:10
149,788,656
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
from firebase import firebase import hashlib,re url = "https://sales-system-project.firebaseio.com/" fb = firebase.FirebaseApplication(url, None) def fetch_cart(account): customer_data = fb.get("/會員資料/"+account+"/購物車/客製化",None) product_data = fb.get("/會員資料/"+account+"/購物車/產品資訊",None) return customer_data,p...
[ "maxwell111023@gmail.com" ]
maxwell111023@gmail.com
1874a9fa74e68180d06cdde9266507f63280c99c
b167407960a3b69b16752590def1a62b297a4b0c
/tools/project-creator/Python2.6.6/Lib/test/test_aepack.py
46ec71b7ce3f537a8a7011abdb870791b1e84d7a
[ "MIT" ]
permissive
xcode1986/nineck.ca
543d1be2066e88a7db3745b483f61daedf5f378a
637dfec24407d220bb745beacebea4a375bfd78f
refs/heads/master
2020-04-15T14:48:08.551821
2019-01-15T07:36:06
2019-01-15T07:36:06
164,768,581
1
1
MIT
2019-01-15T08:30:27
2019-01-09T02:09:21
C++
UTF-8
Python
false
false
2,617
py
# Copyright (C) 2003 Python Software Foundation import unittest import aepack import aetypes import os from test import test_support class TestAepack(unittest.TestCase): OBJECTS = [ aetypes.Enum('enum'), aetypes.Type('type'), aetypes.Keyword('kwrd'), aetypes.Range(1, 1...
[ "278688386@qq.com" ]
278688386@qq.com
52ecbc4b3bd62afc3d58015cf1fd71598141e57a
0a1f8957a798006deaa53d10d09f733fab1e6b05
/bin/Python27/Lib/site-packages/requests/sessions.py
d8b11fad250b05ad550e67d98980f3423b96c548
[ "LicenseRef-scancode-other-permissive" ]
permissive
metamorph-inc/meta-core
a89504ccb1ed2f97cc6e792ba52e3a6df349efef
bc7a05e04c7901f477fe553c59e478a837116d92
refs/heads/master
2023-03-07T02:52:57.262506
2023-03-01T18:49:49
2023-03-01T18:49:49
40,361,476
25
15
NOASSERTION
2023-01-13T16:54:30
2015-08-07T13:21:24
Python
UTF-8
Python
false
false
24,983
py
# -*- coding: utf-8 -*- """ requests.session ~~~~~~~~~~~~~~~~ This module provides a Session object to manage and persist settings across requests (cookies, auth, proxies). """ import os from collections import Mapping from datetime import datetime from .auth import _basic_auth_str from .compat import cookielib, Ord...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
ce32fd8f2071c627a7f0902be8dfa99ab9d61d03
bc441bb06b8948288f110af63feda4e798f30225
/topboard_sdk/model/ops_automation/jobs_pb2.py
9233835a9eb0089af4f4dc15c4c5b04c2d1ac53e
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
5,796
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: jobs.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import...
[ "service@easyops.cn" ]
service@easyops.cn
9079956a8eb24ea4da1f2da69f8788dc1a694f27
6699c63e2abb727bdde2cd08bff8daffbbef7265
/busqueda14.py
4399c01209e1054275ef4987d9834c3f16079030
[]
no_license
FernandotapiaCalua/t08_Tapia
fe034802086515a7b31fdf65d7b37c53a40af7a5
d5a7e02bab8893fb85f00dedd1403a5cc9b6ed66
refs/heads/master
2020-10-02T04:05:06.085249
2019-12-12T21:33:08
2019-12-12T21:33:08
227,696,966
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
#busqueda cadena="para estar en buena forma" print(cadena.find("for"))
[ "ftapiac@unprg.edu.pe" ]
ftapiac@unprg.edu.pe
3edc5c35853123a22c04959e95910dfd09412079
73a0f661f1423d63e86489d4b2673f0103698aab
/python/oneflow/test/modules/test_flatten.py
cf2ada9bbbdcad6b4174bcacb1aeef712538c9af
[ "Apache-2.0" ]
permissive
Oneflow-Inc/oneflow
4fc3e081e45db0242a465c4330d8bcc8b21ee924
0aab78ea24d4b1c784c30c57d33ec69fe5605e4a
refs/heads/master
2023-08-25T16:58:30.576596
2023-08-22T14:15:46
2023-08-22T14:15:46
81,634,683
5,495
786
Apache-2.0
2023-09-14T09:44:31
2017-02-11T06:09:53
C++
UTF-8
Python
false
false
4,076
py
""" Copyright 2020 The OneFlow Authors. 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 agr...
[ "noreply@github.com" ]
Oneflow-Inc.noreply@github.com
11da25680a0f632213592f939be53139bcc252db
5a281cb78335e06c631181720546f6876005d4e5
/senlin-7.0.0/senlin/common/exception.py
43511227726f33e7655deceb9ef5b0b1d100af49
[ "Apache-2.0" ]
permissive
scottwedge/OpenStack-Stein
d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8
7077d1f602031dace92916f14e36b124f474de15
refs/heads/master
2021-03-22T16:07:19.561504
2020-03-15T01:31:10
2020-03-15T01:31:10
247,380,811
0
0
Apache-2.0
2020-03-15T01:24:15
2020-03-15T01:24:15
null
UTF-8
Python
false
false
9,329
py
# # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # # 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 a...
[ "Wayne Gong@minbgong-winvm.cisco.com" ]
Wayne Gong@minbgong-winvm.cisco.com
14ba40653e5a91516f606e964c3cc7999beb2bd4
2ee7195d71993838829e06f26347f76a2433931b
/test_backtest/T0backtest.py
6b49876c013292907cee777def029de94403fe24
[ "MIT" ]
permissive
imgreenbird/QUANTAXIS
0a056de2c3961f5d0b7d0e17782f34b25593e5fb
88eac434135a92cd64bd035cd844b34020729747
refs/heads/master
2020-03-23T14:27:23.003742
2018-07-20T01:25:27
2018-07-20T01:25:27
141,676,903
3
0
MIT
2018-07-20T07:11:09
2018-07-20T07:11:09
null
UTF-8
Python
false
false
3,821
py
# coding: utf-8 # In[1]: from QUANTAXIS.QAARP.QAStrategy import QA_Strategy from QUANTAXIS.QAARP.QAAccount import QA_Account from QUANTAXIS.QAUtil.QAParameter import (AMOUNT_MODEL, MARKET_TYPE, FREQUENCE, ORDER_DIRECTION, ORDER_MOD...
[ "yutiansut@qq.com" ]
yutiansut@qq.com
20a9b35189e8cc10558e34e4a5f9b23e8b6e8215
c733e6b433914a8faba256c7853f5cf2cd39c62a
/Python/Leetcode Daily Practice/Stack/907.Sum of Subarray Minimums.py
27776a90d32a21b05ff11eaa3a7e22e5d544f69d
[]
no_license
YaqianQi/Algorithm-and-Data-Structure
3016bebcc1f1356b6e5f3c3e588f3d46c276a805
2e1751263f484709102f7f2caf18776a004c8230
refs/heads/master
2021-10-27T16:29:18.409235
2021-10-14T13:57:36
2021-10-14T13:57:36
178,946,803
1
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
class Solution(object): def sumSubarrayMins(self, A): MOD = 10**9 + 7 stack = [] dot, ans = 0, 0 for num in A: cnt = 1 while stack and stack[-1][0] >= num: n, c = stack.pop(-1) cnt += c dot -= n * c ...
[ "alicia.qyq@gmail.com" ]
alicia.qyq@gmail.com
5d54aa954b5a801f72d85eef577ed6856517acbf
cccd1ede83f9391238893f3862e7beff999647e1
/rw_and_plot/15_1_cubes.py
efe10175eca18c8f2ef07cef6f815f60667a78fa
[]
no_license
SMS-NED16/pcc-data-vis
c7c136e32921619af52b46cdbf12f6debaa8a690
f9750ee947163335c351a6df453f5d2dab87d855
refs/heads/master
2020-03-09T02:32:19.494589
2018-04-04T12:11:40
2018-04-04T12:11:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
import matplotlib.pyplot as plt x = list(range(1, 6)) five_cubes = [val ** 3 for val in x] thousand_cubes = [ val ** 3 for val in range(1, 5001)] plt.subplot(1, 2, 1) plt.scatter(x, five_cubes, s=40) plt.title("Graph of first five cubes", fontsize=14) plt.xlabel("Values", fontsize=12) plt.ylabel("Cube of Value", font...
[ "saadmsiddiqui96@gmail.com" ]
saadmsiddiqui96@gmail.com
824d5eea34380df61a582e52a5a070cac3dff314
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=0.8_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=48/sched.py
afb4c0412030f6f941ad2606c1757d3218fe3c14
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
-X FMLP -Q 0 -L 1 132 400 -X FMLP -Q 0 -L 1 125 400 -X FMLP -Q 0 -L 1 65 250 -X FMLP -Q 0 -L 1 48 175 -X FMLP -Q 1 -L 1 45 250 -X FMLP -Q 1 -L 1 40 125 -X FMLP -Q 1 -L 1 36 250 -X FMLP -Q 1 -L 1 34 150 -X FMLP -Q 2 -L 1 26 175 -X FMLP -Q 2 -L 1 25 125 -X FMLP -Q 2 -L 1 22 150 -X FMLP -...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
7d2398a97349b50e741469065939c3bdc7116573
5d45174eef86562b6c90a4bc07c86258df249486
/hyak/launcher.py
7b06e8c0e6a491706816db94253c46ac6fdff997
[]
no_license
bmorris3/shampoo
a70dd3b1896c7a4f2e88413c13cae96d80f21c71
853c6668efef3e7b69727ea45ff9eff419e9a70b
refs/heads/master
2023-05-27T04:30:02.756962
2018-03-28T14:38:09
2018-03-28T14:38:09
41,105,695
22
12
null
2021-04-27T11:06:07
2015-08-20T16:08:58
Python
UTF-8
Python
false
false
2,342
py
from __future__ import (absolute_import, division, print_function, unicode_literals) import os from glob import glob import numpy as np python_path = '/usr/lusers/bmmorris/miniconda2/bin/python' data_dir = '/gscratch/stf/bmmorris/shamu/2015.12.15_17-47' output_dir = '/gscratch/stf/bmmorris/sha...
[ "brettmorris21@gmail.com" ]
brettmorris21@gmail.com
8503552be3628a6c2d0f3f38e147fe33a263a51e
066435cd1b48955ab0039c275d706f167ccae5a2
/lib/vhf/test/test_nr_direct_dot.py
bf79d4da8c3e38ac90997edd3731d7adfb69a343
[ "BSD-2-Clause" ]
permissive
matk86/pyscf
ca4b5c27b9ed6c5fb4120c8471110c087c43600b
931bf855591a68c415a9564972a6e216a12b0b36
refs/heads/master
2020-12-25T10:08:18.334338
2016-02-01T06:15:33
2016-02-01T06:15:33
51,003,165
1
0
null
2016-02-03T14:00:02
2016-02-03T14:00:01
null
UTF-8
Python
false
false
16,130
py
#!/usr/bin/env python import os import ctypes import _ctypes import unittest import numpy from pyscf import lib from pyscf import scf from pyscf import gto from pyscf import ao2mo libcvhf2 = lib.load_library('libcvhf') numpy.random.seed(15) nao = 100 i0, j0, k0, l0 = 40,30,20,10 dm = numpy.random.random((nao,nao)) ...
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
da1b593cc79b59596b9f76e1fa5c64cf3aed4938
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnmaccabe.py
b1fe5f5d0c2913389aa178ed89bcd9231758a8f9
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
42
py
ii = [('CoolWHM.py', 1), ('TaylIF.py', 5)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
e06d7832c60e9bb8324a477b100c0e87fb4cfe26
c3274a346ddcf09c9ec70e1402daa34ad0ac44af
/examples/dataframe/dataframe_sum.py
f8171d3e92e95fabd061003fe34051a41b89a867
[ "BSD-2-Clause" ]
permissive
vishalbelsare/hpat
cb6b39ddeb07c319c88e132df9cee4c6adb0a415
eb5efbad9bfec67db88b52474c4bd00238b61283
refs/heads/master
2023-04-06T14:59:35.723023
2023-03-10T16:44:51
2023-03-10T16:44:51
161,796,133
0
0
BSD-2-Clause
2023-03-19T09:18:25
2018-12-14T14:35:55
Python
UTF-8
Python
false
false
1,882
py
# ***************************************************************************** # Copyright (c) 2020, Intel Corporation All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # Redistributions of sou...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
d6c37570c50bc270f95d17f5efe600430681f611
481517a085014aefba963d29ff52b56bef6a393e
/ha.py
ad5da57e38e51a032ce98c31194269c8fb7d6e24
[]
no_license
27Saidou/cours_python
6d916fe63652e0463bd995dbb9a3ec72c74f4c3d
91820b826ced24bed98525429096e32ff4c036db
refs/heads/main
2022-01-09T09:58:32.514032
2022-01-04T18:37:56
2022-01-04T18:37:56
214,328,534
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
import pandas as pd calories = {"day1": 420, "day2": 380, "day3": 390} myvar = pd.Series(calories) print(calories)
[ "saidou224dev@hotmail.com" ]
saidou224dev@hotmail.com
2d221ec37b42ee7d6d78140f67e53a4798e29806
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/appconfiguration/v20200701preview/list_configuration_store_keys.py
1c5a925503a75002b4536769dfcd2cc6de923821
[ "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
3,284
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 from...
[ "noreply@github.com" ]
test-wiz-sec.noreply@github.com
670ee8f2f3d080e83ece3e6e319c7b2d5c3ec218
d8dfe2bb29965f2bf00724caaa4d5f3f02715002
/crater/operations/expand_dims.py
c5c91efc7cd1005456f0b37dce2f1d1912a19e56
[]
no_license
malyvsen/kth-deep-learning
20fc0d89c0b81ea97af77b627f0ee46458310126
17b3140043aaa81cf86a6a9b7fed3295ee48b061
refs/heads/main
2023-05-05T10:02:29.764591
2021-05-13T08:35:25
2021-05-13T08:35:25
353,112,929
1
0
null
null
null
null
UTF-8
Python
false
false
612
py
from typing import Union, Tuple import numpy as np from crater.tensor import Tensor from crater.gradient import Gradients, Gradient from crater.utils import tuplify from .coalesce import coalesce def expand_dims(tensor: Tensor, axes: Union[None, int, Tuple[int]] = None): tensor = coalesce(tensor) axes = () if...
[ "5940672+malyvsen@users.noreply.github.com" ]
5940672+malyvsen@users.noreply.github.com
104f75c625a5c419f721c085bd4d90f8ac2b482c
b7f3edb5b7c62174bed808079c3b21fb9ea51d52
/third_party/blink/tools/blinkpy/w3c/monorail_unittest.py
14a22ac6fb4b1feb36e0116e4dc30575cf05e1d7
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause" ]
permissive
otcshare/chromium-src
26a7372773b53b236784c51677c566dc0ad839e4
64bee65c921db7e78e25d08f1e98da2668b57be5
refs/heads/webml
2023-03-21T03:20:15.377034
2020-11-16T01:40:14
2020-11-16T01:40:14
209,262,645
18
21
BSD-3-Clause
2023-03-23T06:20:07
2019-09-18T08:52:07
null
UTF-8
Python
false
false
4,252
py
# -*- coding: utf-8 -*- # Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import unittest from blinkpy.w3c.monorail import MonorailAPI, MonorailIssue class MonorailIssueTest(unittest.TestCase): def te...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
420a38deaafbfe305203da3b4483510a880f60ab
98bd2625dbcc955deb007a07129cce8b9edb3c79
/simulate_barseq_tnseq.py
85aaae7b4ea0ea4073de7d774c6a359a4df634fe
[]
no_license
melanieabrams/bremdata
70d0a374ab5dff32f6d9bbe0a3959a617a90ffa8
df7a12c72a29cca4760333445fafe55bb6e40247
refs/heads/master
2021-12-26T01:57:25.684288
2021-09-30T22:48:05
2021-09-30T22:48:05
166,273,567
0
3
null
null
null
null
UTF-8
Python
false
false
2,755
py
import regex import numpy as np import sys import subprocess as sp import random # HELP # if len(sys.argv) == 1: print("USAGE: python3 simulate_barseq_tnseq out_directory fastq_file1 fastq_file2...") exit() # INPUT # num_orig = 20 #number of unmodified reads to preserve. This will make sure my modifi...
[ "noreply@github.com" ]
melanieabrams.noreply@github.com
da29fd239650f5e1ed7b3fbb80213b271705d874
edde333afca3ca4977bec7b38271d8c9e8448d85
/mirage/projectstartup/django_app_create.py
377edc7000d92c5c2d4e56add53610298c23d128
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
TrendingTechnology/mirage-django-lts
0219450155d9ce122196b66045de2bee13fa6bfd
b9d74006c1b64f5f5b33049b5a1701de58b478b3
refs/heads/master
2023-05-29T20:25:45.865865
2021-06-16T01:20:23
2021-06-16T01:20:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,119
py
# -*- coding: utf-8 -*- """ Copyright 2017-2020 Shota Shimazu. 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 appl...
[ "hornet.live.mf@gmail.com" ]
hornet.live.mf@gmail.com
4dedc840e56c94ed1dd1857f53ca4926ff01e49f
8997a0bf1e3b6efe5dd9d5f307e1459f15501f5a
/zelle_graphics/hello_world.py
7b041997c7b74d4bae882c7bb8f6ac20efcc7645
[ "CC-BY-4.0" ]
permissive
stepik/SimplePyScripts
01092eb1b2c1c33756427abb2debbd0c0abf533f
3259d88cb58b650549080d6f63b15910ae7e4779
refs/heads/master
2023-05-15T17:35:55.743164
2021-06-11T22:59:07
2021-06-11T22:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' from graphics import * win = GraphWin("My Circle", 100, 100) c = Circle(Point(50, 50), 10) c.draw(win) win.getMouse() # Pause to view result win.close()
[ "ilya.petrash@inbox.ru" ]
ilya.petrash@inbox.ru
182d05ded57370c6cfa6cbc2097c846975a841d1
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/web/v20200901/list_web_app_function_secrets_slot.py
d97937e5b7161052acdff721dd2dc7821a150932
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
2,925
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
morrell.noreply@github.com
8daeb7d575a3677e6cbd190d314c2986273f7bc5
6bd51065a8ecd097e7f80ee3c6acd16a083be350
/tensorflow/contrib/framework/__init__.py
8421ba7c0423c6ed274f92ba74930822d0171e05
[ "Apache-2.0" ]
permissive
cglewis/tensorflow
29b50dadbdb599bacd06af960689bc518a472de1
6eac524ef63728bdc10c40f95d30c94aede5f4ea
refs/heads/master
2023-04-07T18:38:29.752739
2017-10-31T17:56:48
2017-10-31T17:56:48
109,033,012
0
0
Apache-2.0
2023-04-04T00:37:48
2017-10-31T17:54:48
C++
UTF-8
Python
false
false
2,622
py
# Copyright 2016 The TensorFlow Authors. 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
bcc8d9ab29c19e61a07d83c51e7492b792ffa9a4
689a78e08c957abc02ea5f89fb657b1f78f88b6e
/det3d/core/sampler/sample_ops.py
d50746001a249a608396047a47a23836b94e4c36
[ "MIT", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
tianweiy/CenterPoint
2bb9a7def8d4bf87b66af2e3b671736eae6fa275
d3a248fa56db2601860d576d5934d00fee9916eb
refs/heads/master
2023-08-30T23:11:49.528882
2022-10-24T13:09:52
2022-10-24T13:09:52
274,006,091
1,692
476
MIT
2023-05-06T10:30:06
2020-06-22T00:32:05
Python
UTF-8
Python
false
false
15,185
py
import copy import pathlib import pickle import time from functools import partial, reduce import numpy as np from det3d.core.bbox import box_np_ops from det3d.core.sampler import preprocess as prep from det3d.utils.check import shape_mergeable class DataBaseSamplerV2: def __init__( self, db_info...
[ "yintianwei@utexas.edu" ]
yintianwei@utexas.edu
4bb739f59e43b16c125bc8bb2a99540f52ebf7a0
58e4c3e1302a97e781b5657764fdde3e8dd48708
/no_if_required.py
0644af70c34260fd2a4fc9ef39a1b2891b776aa4
[]
no_license
bgroveben/coursera_LTP_TF
05ebf73991f73a98360ffbde685f24f6c68d3968
f96bd2d19316713b496979df63d5ebec2161c722
refs/heads/master
2020-02-26T15:40:04.082856
2017-03-01T13:52:01
2017-03-01T13:52:01
70,072,027
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
# Booleans are your friend. # Why do this: def is_even(num): """ (int) -> bool Return whether number is even. >>> is_even(1) False >>> is_even(2) True """ if num % 2 == 0: return True else: return False print(is_even(1)) print(is_even(2)) # When you can do this: ...
[ "bgroveben@gmail.com" ]
bgroveben@gmail.com
d780518c2b1715e81659974794ceffcf2cb2fbbb
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbtopologylist.py
b35e5c816b1e216f2b6b410bddb5b295d4ea2ce0
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
8,549
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # 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,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
45c4d7da37b08d92138205eb3bc65b14002f33fc
d6c117812a618ff34055488337aaffea8cf81ca1
/git/Gists/GistCommit.py
89840739856aba0fd9c60143035607162a89a352
[]
no_license
c0ns0le/Pythonista
44829969f28783b040dd90b46d08c36cc7a1f590
4caba2d48508eafa2477370923e96132947d7b24
refs/heads/master
2023-01-21T19:44:28.968799
2016-04-01T22:34:04
2016-04-01T22:34:04
55,368,932
3
0
null
2023-01-22T01:26:07
2016-04-03T21:04:40
Python
UTF-8
Python
false
false
36
py
import gistcheck gistcheck.commit()
[ "itdamdouni@gmail.com" ]
itdamdouni@gmail.com
78f2cb1b699f7ef5beaaeed03f0c6df3b2382e73
d9a490dc36da08051b2685489a8e6af3d29fa903
/gaussNodes.py
396b5e58af12eae8c24a9c007102e128565535cc
[]
no_license
freephys/numeric-for-engineer
403679c3f055164bf8b7097c360ad8bfc2cb9978
a98d318e8cdff679cc02a575d32840fa87a4717d
refs/heads/master
2020-04-16T01:33:43.530839
2009-11-28T18:42:12
2009-11-28T18:42:12
388,559
1
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
## module gaussNodes ''' x,A = gaussNodes(m,tol=10e-9) Returns nodal abscissas {x} and weights {A} of Gauss-Legendre m-point quadrature. ''' from math import cos,pi from numarray import zeros,Float64 def gaussNodes(m,tol=10e-9): def legendre(t,m): p0 = 1.0; p1 = t for k in range(1,m): ...
[ "freephys@gmail.com" ]
freephys@gmail.com
914136d9cb630ffafb4876af0629d835fdf2852d
7839d009f3ae0a0c1bc360b86756eba80fce284d
/build/rostime/catkin_generated/generate_cached_setup.py
35bb758cd62d38d6d794504e7e737ab1ac541e5b
[]
no_license
abhat91/ros_osx
b5022daea0b6fdaae3489a97fdb1793b669e64f5
39cd8a79788d437927a24fab05a0e8ac64b3fb33
refs/heads/master
2021-01-10T14:43:41.047439
2016-03-13T23:18:59
2016-03-13T23:18:59
53,812,264
1
1
null
null
null
null
UTF-8
Python
false
false
1,283
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/jade/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.pat...
[ "abhat@wpi.edu" ]
abhat@wpi.edu
382fe6b2d5bbcfdf0985153ae02dac0e9df70625
9f1039075cc611198a988034429afed6ec6d7408
/tensorflow-stubs/python/estimator/canned/metric_keys.pyi
10d9b385f98a4f8bc2d53253b192caa053ff2447
[]
no_license
matangover/tensorflow-stubs
9422fbb1cb3a3638958d621461291c315f9c6ec2
664bd995ef24f05ba2b3867d979d23ee845cb652
refs/heads/master
2020-05-23T12:03:40.996675
2019-05-15T06:21:43
2019-05-15T06:21:43
186,748,093
0
0
null
null
null
null
UTF-8
Python
false
false
848
pyi
# Stubs for tensorflow.python.estimator.canned.metric_keys (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from tensorflow.python.estimator import model_fn as model_fn from typing import Any as Any class MetricKeys: LOSS: Any = ... LOSS_MEAN: Any = ... LOSS_REGULAR...
[ "matangover@gmail.com" ]
matangover@gmail.com
f26f4be9786d1d6d93f78cd9342425b3d05c88fc
99c9ca6edd44a13fd4eabee78625c827cc535ea1
/examples/english/english_experiment.py
911a51f8596bb8082423e0c2ed51e9a07dfd52f2
[ "Apache-2.0" ]
permissive
adeepH/MUDES
bbcdcac41b33990545eac769d127a37ba5f4566f
f2f7413f9c683194253f7ea9286587bad3058396
refs/heads/master
2023-04-04T07:26:19.917166
2021-04-16T11:51:59
2021-04-16T11:51:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,320
py
import os import statistics from sklearn.model_selection import train_test_split from examples.english.transformer_configs import transformer_config, MODEL_TYPE, MODEL_NAME, LANGUAGE_FINETUNE, \ language_modeling_args, TEMP_DIRECTORY from mudes.algo.evaluation import f1 from mudes.algo.mudes_model import MUDESMod...
[ "rhtdranasinghe@gmail.com" ]
rhtdranasinghe@gmail.com
6d325cde6dc284456409345078859f4750f3f561
3406886ecbbed36bb47288a38eaab001a2b30417
/ya_glm/models/FcpLLA.py
c187d77d046477e9904fc8cc0a290839bee5c4e3
[ "MIT" ]
permissive
thomaskeefe/ya_glm
8d953f7444e51dfeaa28dcd92aaf946112ebc677
e6e1bbb915d15c530d10a4776ea848b331c99c3b
refs/heads/main
2023-06-21T15:08:33.590892
2021-07-30T00:57:49
2021-07-30T00:57:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,545
py
from ya_glm.base.GlmFcpLLA import GlmFcpLLA, GlmFcpLLACV from ya_glm.base.GlmCV import SinglePenSeqSetterMixin from ya_glm.PenaltyConfig import ConcavePenalty from ya_glm.loss.LossMixin import LossMixin from ya_glm.models.Lasso import Lasso, LassoCV from ya_glm.cv.RunCVMixin import RunCVGridMixin from ya_glm.process...
[ "idc9@cornell.edu" ]
idc9@cornell.edu
7d7114b73f7531d5ead27980f9e0b3608c42a9a3
c64dd4b7f67d1f3c6ade8404831676a3652963e4
/dask_drmaa/sge.py
0ec11dacb016ef01325f45ed1814c9faf8b51b02
[]
no_license
mrocklin/dask-drmaa
6921a59bf29fd2c5e082dd0aad9bdf1f1e0f1806
71bd87c8c11a759f2495139e3b613421e7ba4986
refs/heads/master
2021-05-01T20:29:12.752914
2017-01-18T13:20:26
2017-01-18T13:20:26
79,346,877
3
0
null
2017-01-18T14:18:45
2017-01-18T14:18:45
null
UTF-8
Python
false
false
1,210
py
from .core import DRMAACluster, get_session class SGECluster(DRMAACluster): default_memory = None default_memory_fraction = 0.6 def createJobTemplate(self, nativeSpecification='', cpus=1, memory=None, memory_fraction=None): memory = memory or self.default_memory memory_fraction...
[ "mrocklin@gmail.com" ]
mrocklin@gmail.com
6f4ec6813bf2211d999511545770fc79c5aad30b
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/deploymentmanager/v2beta/deploymentmanager_v2beta_messages.py
e8077885161d342ac6bee5beb274e2e03c7ef624
[ "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
100,141
py
"""Generated message classes for deploymentmanager version v2beta. The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform. """ # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.protorpclite import messages...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
d2c7ab03478503220cdf8c286f1feb0daed10e8a
cad5b92686d48a2e06766b5d3d671eb41083b825
/microcosm_pubsub/tests/test_decorators.py
b0e88c4ccf382cd9d7abde003189d5cc6f2b313e
[ "Apache-2.0" ]
permissive
lior001/microcosm-pubsub
8166b4596c04d78330f2ceca31f2827d272ec6ae
eeea8409c1f89a6c420fdf42afcc92b1d69d0e11
refs/heads/develop
2020-12-31T00:09:54.584041
2017-02-08T18:51:23
2017-02-08T18:51:23
86,563,543
0
0
null
2017-03-29T09:29:54
2017-03-29T09:29:54
null
UTF-8
Python
false
false
1,016
py
""" Decorator tests. """ from hamcrest import ( assert_that, equal_to, instance_of, is_, ) from marshmallow import fields, Schema from microcosm.api import create_object_graph from microcosm_pubsub.decorators import handles, schema @schema class TestSchema(Schema): MEDIA_TYPE = "test" test ...
[ "jesse.myers@globality.com" ]
jesse.myers@globality.com
c0433ae54e1875d6032f2bb5e76a991006e302f1
a867b1c9da10a93136550c767c45e0d8c98f5675
/LC_yelp_14_Longest_Common_Prefix.py
d27e5697bb4aff657ed6b1ef3ff7795167d9a246
[]
no_license
Omkar02/FAANG
f747aacc938bf747129b8ff35b6648fb265d95b6
ee9b245aa83ea58aa67954ab96442561dbe68d06
refs/heads/master
2023-03-25T19:45:08.153403
2021-03-28T07:13:08
2021-03-28T07:13:08
280,783,785
1
0
null
null
null
null
UTF-8
Python
false
false
504
py
# import __main__ as main # from Helper.TimerLogger import CodeTimeLogging # fileName = main.__file__ # fileName = fileName.split('\\')[-1] # CodeTimeLogging(Flag='F', filename=fileName, Tag='String', Difficult='Easy') def longoestCommonPrefix(strs): strs = list(zip(*strs)) ans = '' for s in strs: ...
[ "omkarjoshi4031@live.com" ]
omkarjoshi4031@live.com
dcffb14f17f4fb9194a97de500c404736ef0cec9
edfd1db2b48d4d225bc58be32fbe372a43415112
/3. Airflow Fundamentals 3/exercises/lesson3.exercise6.py
e5c543342b90982555c56e162aa19390c2e9af9f
[]
no_license
rwidjojo/airflow-training
ed83cb9e97ca85ef06de1426f2f41014881a1f22
ac82040d8ddc3859df5576eee08d397e824016f1
refs/heads/main
2023-08-12T21:01:17.672059
2021-01-04T09:17:48
2021-01-04T09:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
import airflow from airflow import DAG from airflow.utils.dates import days_ago from airflow.operators.bash_operator import BashOperator owner = 'john_doe' # Replace with your short name default_args = { 'owner': owner, 'depends_on_past': False, 'start_date': days_ago(2), } dag = DAG( dag_id=f'{owner}...
[ "nurcahyopujo@gmail.com" ]
nurcahyopujo@gmail.com
3e4ac973d2c8a00ad85ba4f40d23f66a548805d7
e89f44632effe9ba82b940c7721cad19a32b8a94
/text2shorthand/shorthand/svsd/nakatta.py
23f660a4c9c066fff1b7352e466d935597403401
[]
no_license
Wyess/text2shorthand
3bcdb708f1d7eeb17f9ae3181c4dd70c65c8986e
5ba361c716178fc3b7e68ab1ae724a57cf3a5d0b
refs/heads/master
2020-05-17T14:52:11.369058
2019-08-20T12:50:00
2019-08-20T12:50:00
183,776,467
2
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
from ..svsd.char import SvsdChar from text2shorthand.common.point import Point as P, PPoint as PP import pyx from pyx.metapost.path import ( beginknot, knot, endknot, smoothknot, tensioncurve, controlcurve, curve) class CharNakatta(SvsdChar): def __init__(self, name='なかった', kana='nakatt...
[ "diyhacker@mail.goo.ne.jp" ]
diyhacker@mail.goo.ne.jp
c1d36397e7e64ebf831efb5633fa13e307f25556
f883b2ccb4bf6d527f31fca1f1748e8aa5f17f3a
/web/app/social_auth/urls.py
2a6e7402dd2d88391b4a3b7b449e536511f5e311
[]
no_license
nikolaykhodov/liketools
a710faa7fe31cd72df8299829bcc89d16a8d2721
65b4a046c3180eec3af0fa709f23bb12975dfe1c
refs/heads/master
2021-01-10T18:35:08.586890
2014-03-31T12:41:50
2014-03-31T12:41:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
# -*- coding: utf-8 -*- from django.conf.urls.defaults import patterns, url from social_auth.views import VkAuthView, LoginView, LogoutView, KvSetView urlpatterns = patterns('', url(r'^login/$', LoginView.as_view(), name='social_auth_login'), url(r'^logout/$', LogoutView.as_view(), name='social_auth_logout'),...
[ "nkhodov@gmail.com" ]
nkhodov@gmail.com
65c5dc7ecc967754e6eb46de86e6f915461f2ea1
d0af9f544b76e1df4f8ffb6c65a3da1fe13c5871
/setup.py
c10007500e179356be10008723c3f04774009beb
[ "MIT" ]
permissive
vanadium23/doc484
472a90ad08352891aa3ed9526375aebad71f3d16
ff8058f07e6cba8f26e7ce48ef4dd42203dc065a
refs/heads/master
2020-03-29T20:54:44.503542
2018-09-25T22:55:08
2018-09-25T22:55:08
150,338,332
0
0
MIT
2018-09-25T22:48:16
2018-09-25T22:48:16
null
UTF-8
Python
false
false
1,730
py
from setuptools import setup, find_packages import os.path HERE = os.path.abspath(os.path.dirname(__file__)) def read(*parts): with open(os.path.join(HERE, *parts)) as f: return f.read() setup( name="doc484", version="0.2.0", author="Chad Dombrova", description="Generate PEP 484 type co...
[ "chadrik@gmail.com" ]
chadrik@gmail.com
fad7b7f80e12f72ca4a0827c794f7b6a156be69f
7eb606a7957e5500f163c93dc4b19418cf9cf335
/examples/lbfgs/model.py
d68967e5e2c64b3f598e36263ab1e7edc2e6d907
[ "Apache-2.0", "MIT" ]
permissive
ludwig-ai/ludwig
024f74da86567a57ec8e30efcb4600f0c52333a1
e1d023e41606c9b76b35e1d231c2f13368a30eca
refs/heads/master
2023-09-03T08:07:32.978301
2023-09-01T19:39:32
2023-09-01T19:39:32
163,346,054
2,567
285
Apache-2.0
2023-09-14T20:34:52
2018-12-27T23:58:12
Python
UTF-8
Python
false
false
1,033
py
import logging import pandas as pd from ludwig.api import LudwigModel from ludwig.datasets import amazon_employee_access_challenge df = amazon_employee_access_challenge.load() model = LudwigModel(config="config.yaml", logging_level=logging.INFO) training_statistics, preprocessed_data, output_directory = model.trai...
[ "noreply@github.com" ]
ludwig-ai.noreply@github.com
a5124967f629b267a5314e52eda661da43dc0c9a
aba1d17ddc7d7ad9f49e2d6d87600e9e0387ba14
/mi/dataset/driver/dosta_abcdjm/cspp/dosta_abcdjm_cspp_telemetered_driver.py
6f3ee50a7855782d946f895365a65c2d76667fb4
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
oceanobservatories/mi-instrument
3ad880c1366b1a8461fc9085768df0e9ddeb6ef5
bdbf01f5614e7188ce19596704794466e5683b30
refs/heads/master
2023-07-23T07:28:36.091223
2023-07-14T15:54:49
2023-07-14T15:54:49
24,165,325
1
32
BSD-2-Clause
2023-07-13T01:39:22
2014-09-17T22:53:22
Python
UTF-8
Python
false
false
2,147
py
""" @package mi.dataset.driver.dosta_abcdjm.cspp @file mi.dataset.driver.dosta_abcdjm.cspp.dosta_abcdjm_cspp_telemetered_driver.py @author Emily Hahn @brief Telemetered driver for the dosta series abcdjm instrument through cspp """ __author__ = 'ehahn' from mi.core.log import get_logger log = get_logger() from mi.da...
[ "petercable@gmail.com" ]
petercable@gmail.com
007bd03242c94c601ec7e96b1cc0870c218cafc8
a72cb4d00528fb3d2d47f99a1ccca1b8b9b41ff7
/scripts/addons_extern/mesh_selection_topokit.py
d5f60d87eccf6eb335981176cc0aa8f9e909eaf3
[]
no_license
talocan/blenderpython
b05204881183ff901ec189916a3bcc1d3e9d3e20
056ac37e76a1b410696c9efe4fe0ea09fdc68c0e
refs/heads/master
2021-01-18T05:16:47.221786
2014-07-11T17:01:53
2014-07-11T17:01:53
21,749,332
1
0
null
null
null
null
UTF-8
Python
false
false
24,180
py
bl_info = { "name": "Topokit 2", "author": "dustractor", "version": (2,0), "blender": (2,6,0), "api": 41935, "location": "edit mesh vertices/edges/faces menus", "description": "", "warning": "", "wiki_url": "", "tracker_url": "", "category": "Mesh"} # ##### BEGI...
[ "super3dblender@yahoo.com" ]
super3dblender@yahoo.com
df2ff2a7a3bc8e55d9c6887725227b2e593cb3e4
d308fffe3db53b034132fb1ea6242a509f966630
/pirates/ship/GameFSMShip.py
b0ad0a7ce663134da8aa44f91ddeeff4588297ba
[ "BSD-3-Clause" ]
permissive
rasheelprogrammer/pirates
83caac204965b77a1b9c630426588faa01a13391
6ca1e7d571c670b0d976f65e608235707b5737e3
refs/heads/master
2020-03-18T20:03:28.687123
2018-05-28T18:05:25
2018-05-28T18:05:25
135,193,362
3
2
null
null
null
null
UTF-8
Python
false
false
15,725
py
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.ship.GameFSMShip import random from pandac.PandaModules import * from direct.fsm import FSM from direct.interval.IntervalGlobal ...
[ "33942724+itsyaboyrocket@users.noreply.github.com" ]
33942724+itsyaboyrocket@users.noreply.github.com
102a8f4cfe3f00d5c68a2cbea906f0b545205b92
f7630fd6c829cb306e72472296e3a513844d99af
/lib/python3.8/site-packages/ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_vpn_ssl_settings.py
9f00dbacc824308a2aa22c269afe4e8f958bf281
[]
no_license
baltah666/automation
6eccce20c83dbe0d5aa9a82a27937886e3131d32
140eb81fe9bacb9a3ed1f1eafe86edeb8a8d0d52
refs/heads/master
2023-03-07T10:53:21.187020
2023-02-10T08:39:38
2023-02-10T08:39:38
272,007,277
0
0
null
null
null
null
UTF-8
Python
false
false
58,665
py
#!/usr/bin/python from __future__ import absolute_import, division, print_function # Copyright 2019-2021 Fortinet, Inc. # # This program 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 of the ...
[ "baltah666@gmail.com" ]
baltah666@gmail.com
b9f78075d182ca9e57ef766de03b49e5e67b83e3
5ae3bc1920fafc33693cdfa3928a48158aa6f725
/339/339.py
3ae587496c391a69889871704c55b71a5fa45463
[]
no_license
sjzyjc/leetcode
2d0764aec6681d567bffd8ff9a8cc482c44336c2
5e09a5d36ac55d782628a888ad57d48e234b61ac
refs/heads/master
2021-04-03T08:26:38.232218
2019-08-15T21:54:59
2019-08-15T21:54:59
124,685,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
# """ # This is the interface that allows for creating nested lists. # You should not implement it, or speculate about its implementation # """ #class NestedInteger: # def __init__(self, value=None): # """ # If value is not specified, initializes an empty list. # Otherwise initializes a single i...
[ "jcyang@MacBook-Air.local" ]
jcyang@MacBook-Air.local
264486e6a67a5bd97d1e2a4f5fe5a9d2793e581e
60ca69e2a4c6b05e6df44007fd9e4a4ed4425f14
/beginner_contest/072/C.py
080a37ff02695427c7499db8c51223bd96de0bd5
[ "MIT" ]
permissive
FGtatsuro/myatcoder
12a9daafc88efbb60fc0cd8840e594500fc3ee55
25a3123be6a6311e7d1c25394987de3e35575ff4
refs/heads/master
2021-06-13T15:24:07.906742
2021-05-16T11:47:09
2021-05-16T11:47:09
195,441,531
0
0
MIT
2021-05-16T11:47:10
2019-07-05T16:47:58
Python
UTF-8
Python
false
false
320
py
import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) n = int(input()) a = list(map(int, input().split())) t = [0] * (max(a) + 1) for v in a: t[v] += 1 if max(a) <= 1: print(sum(t)) sys.exit(0) ans = 0 for i in range(0, max(a) - 1): ans = max(ans, t[i] + t[i+1] + t[i+2]) print(ans)
[ "204491+FGtatsuro@users.noreply.github.com" ]
204491+FGtatsuro@users.noreply.github.com
0c52af3d9af2fa22e731c5bf98e9226c2a7b2245
b2b79cc61101ddf54959b15cf7d0887d114fb4e5
/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/tests/test_table_get_script_sql.py
bfd9c1ad7926ca39adec0ae5ed46e473f8192970
[ "PostgreSQL" ]
permissive
99Percent/pgadmin4
8afe737eb2ec1400ab034ad1d8a4f7c4ba4c35c8
5e0c113c7bc4ffefbec569e7ca5416d9acf9dd8a
refs/heads/master
2021-10-10T20:08:48.321551
2021-09-30T12:51:43
2021-09-30T12:51:43
165,702,958
0
0
NOASSERTION
2019-01-14T17:18:40
2019-01-14T17:18:39
null
UTF-8
Python
false
false
4,072
py
########################################################################## # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2021, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # ########################################################################## import uuid from ...
[ "akshay.joshi@enterprisedb.com" ]
akshay.joshi@enterprisedb.com
ece365a265c581bb6a442e96dcae94df889f9d30
5a6f88e6671a6a8bd81b0062a687949ee56741e8
/src/variants_analysis.py
1d78860594ad68285baafbc69fac17d74389dbbf
[ "MIT" ]
permissive
yaosichao0915/DeepImmuno
dad4e256515688d8efe622fab55b8f7f40518acc
a2a7832f6cded9296735475c2e8fa5c9b62b3f8d
refs/heads/main
2023-06-17T01:09:51.851248
2021-07-14T17:21:44
2021-07-14T17:21:44
386,014,588
0
0
MIT
2021-07-14T17:01:18
2021-07-14T17:01:17
null
UTF-8
Python
false
false
6,762
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt with open('/Users/ligk2e/Desktop/github/DeepImmuno/files/covid/ORF2-spike.fa','r') as f: spike = f.readlines() spike = ''.join([item.rstrip('\n') for item in spike[1:]]) record = 'MFVFLVLLPLVSSQCVNLTTRTQLPPAYTNSFTRGVYYPDKVFRSSVLHSTQDLFLPFFSN...
[ "Frank Li" ]
Frank Li
48fae7769117066bc7dbba45df7955795e600155
1677eaad65da601a3ac34bd6648c973ffd23c5a9
/test/test_payment_intent.py
96a16f7f0e080de4c3970d1af68af0c32eebc622
[]
no_license
jeffkynaston/sdk-spike-python
dc557cc1557387f8a126cd8e546201d141de535e
f9c65f578abb801ffe5389b2680f9c6ed1fcebd3
refs/heads/main
2023-07-10T00:58:13.864373
2021-08-05T21:38:07
2021-08-05T21:38:07
393,175,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
""" Plastiq Public API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ import sys import unittest import openapi_client from openapi_c...
[ "jeff.kynaston@plastiq.com" ]
jeff.kynaston@plastiq.com
c4b8382cde9c3442aad8576c605f4e3165a4187c
cb3583cc1322d38b1ee05cb1c081e0867ddb2220
/home/0024_auto_20210409_1103.py
6dfdc8917586768f05e72645b5ee96b68f7f94cc
[ "MIT" ]
permissive
iamgaddiel/codeupblood
9e897ff23dedf5299cb59fd6c44d9bd8a645e9c6
a0aa1725e5776d80e083b6d4e9e67476bb97e983
refs/heads/main
2023-05-07T23:34:27.475043
2021-04-24T20:49:08
2021-04-24T20:49:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,718
py
# Generated by Django 3.1.6 on 2021-04-09 18:03 from django.db import migrations, models import tagulous.models.fields import tagulous.models.models class Migration(migrations.Migration): dependencies = [ ('home', '0023_auto_20210409_0900'), ] operations = [ migrations.AlterField( ...
[ "www.spbiology@gmail.com" ]
www.spbiology@gmail.com
05a2b261a7a89318b11bc6be9fb3d2227a7bfd93
92e3a6424326bf0b83e4823c3abc2c9d1190cf5e
/scripts/icehouse/opt/stack/cinder/cinder/volume/drivers/ibm/gpfs.py
e2ddea245b600e2f95568f348349f9d0e75ba915
[ "Apache-2.0" ]
permissive
AnthonyEzeigbo/OpenStackInAction
d6c21cf972ce2b1f58a93a29973534ded965d1ea
ff28cc4ee3c1a8d3bbe477d9d6104d2c6e71bf2e
refs/heads/master
2023-07-28T05:38:06.120723
2020-07-25T15:19:21
2020-07-25T15:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,988
py
# Copyright IBM Corp. 2013 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 agr...
[ "cody@uky.edu" ]
cody@uky.edu
8b99d4542e0c838b433c0a0a5d58782212c4ca07
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano3876.py
3a979b641b2f383e7391e1c9a00800ebf0b3ce64
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
3785d41263e4b9234ce9fa12094e5c58c4066148
14567e2f77d2bf697bb18c3c1e3d6744c11f41c8
/kfpt/ftp/old/yewubiangeng.py
b6326593df20c37274bbb06c1dd6d1d4c6865c11
[]
no_license
yanislong/junnan
268e64c288e18456da621d5485e04bf8eb8f5322
fc35f32a29a7b6da2a8ea334d0e53a21a81d97f3
refs/heads/master
2021-01-01T20:08:05.825407
2017-09-08T02:24:40
2017-09-08T02:24:40
98,772,303
0
0
null
null
null
null
UTF-8
Python
false
false
2,854
py
#!/usr/bin/python # -*- coding=utf-8 -*- import threading import requests import chardet import suds import sys sys.path.append('/root/git_20170730/kfpt') import jiami import config import jiemi reload(sys) sys.setdefaultencoding('utf-8') def DI(): num = "1005891" num2 = "1000213" token4 = "MTAwNDAwMFQwM1...
[ "335916781@qq.com" ]
335916781@qq.com
efb56f8d52f1fa5f6f1068625bd3f62c292a2263
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/refactoring/move/class/before/src/a.py
3672729542fb5dc6e6b22bfe999a85b4377e35a4
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
329
py
from lib1 import URLOpener import lib1 class C(object): def __init__(self): self.opener = lib1.URLOpener(None) def f(self, x): o = URLOpener(x) return o.urlopen() def g(self, x): return 'f({0!r}) = {1!r}'.format(URLOpener(x), lib1.URLOpener(x)) def main(): c = C() ...
[ "andrey.vlasovskikh@jetbrains.com" ]
andrey.vlasovskikh@jetbrains.com
6d70e863685d27bec6df010891b179cfa58dc4b2
75678ff3f7fb3af16b36d5ef952ce90c089336e1
/legacy_folder/deep_action_network.py
d542fe6fced91191d8af9ad6908157fffa3b55e6
[]
no_license
jeonggwanlee/LSTD-mu
71cc530b7072aab9e515609fa61f0fefe1d53903
b2d890ddba587ac01b722a4a6b21575b354dec9d
refs/heads/master
2020-04-12T16:06:25.249480
2019-03-07T16:58:00
2019-03-07T16:58:00
162,602,354
1
0
null
null
null
null
UTF-8
Python
false
false
10,518
py
""" Jeonggwan Lee(leejk526@kaist.ac.kr) """ import pickle import ipdb import gym import numpy as np import copy import os import tensorflow as tf import random from record import get_test_record_title import tf_utils TRANSITION = 15000 #EPISODE = 20 #MEMORY_SIZE = TRANSITION + 1000 NUM_ACTION_ITER = 10000 NUM_EVALUAT...
[ "leejk526@gmail.com" ]
leejk526@gmail.com
776c5ce3437a6a7358d8726241ec13c72d739770
f7346cf6969fb68d157147e91b90584a881ab814
/tutorials/EI networks/STEP3_ExcInhNet_Brunel2000_brian2.py
e04b4f6bf78e4d5d25d75b7bb94d075b5d40eaae
[ "MIT" ]
permissive
h-mayorquin/camp_india_2016
d423f330523fafd4320dbce0429ac4eaafc32e3d
a8bf8db7778c39c7ca959a7f876c1aa85f2cae8b
refs/heads/master
2021-01-20T20:32:50.036961
2016-07-15T17:50:34
2016-07-15T17:50:34
62,492,660
3
0
null
null
null
null
UTF-8
Python
false
false
2,316
py
from brian2 import * from data_utils import * set_device('cpp_standalone', build_on_run=False) # neuronal parameters N = 12500 # total number of neurons NE = 10000 # number of excitatory neurons vth = 20*mV # threshold potential vr = 10*mV # reset potential tau = 20*ms # membrane time constant eqs_neurons=''' inp : ...
[ "h.mayorquin@gmail.com" ]
h.mayorquin@gmail.com
4240dcc89fea3086e9ad8bb2404e025a5801990a
b0b566dc3d3df8b60b8ce26d151991700341667f
/cms/custom_settings/models.py
fd4b05b7a5f1c8fae3e729c316734ea79e048e5e
[]
no_license
lorne-luo/hawkeye
cf2f7cbe2494aea92e0fc333217f86d00cf1ecba
82b633dfc1278ab8f2d25ec699d6034b26c791e2
refs/heads/master
2023-01-06T17:28:28.489494
2020-01-22T23:53:10
2020-01-22T23:53:24
185,289,740
0
0
null
2023-01-04T14:03:49
2019-05-07T00:13:40
Python
UTF-8
Python
false
false
2,026
py
from django.db import models from django.utils.translation import ugettext_lazy as _ from wagtail.contrib.settings.models import BaseSetting from wagtail.contrib.settings.registry import register_setting from core.constants import AU_CITY_CHOICES, AU_STATE_CHOICES from wagtail.snippets.models import register_snippet fr...
[ "dev@luotao.net" ]
dev@luotao.net
67e607b1a677e995c621101f6d3f9332324b08f5
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/billing/azure-mgmt-billing/azure/mgmt/billing/operations/_customers_operations.py
4f17e31856174d92a6b40d4a905e37c304eae880
[ "MIT", "LicenseRef-scancode-generic-cla", "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
17,554
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
720b8b5ad105cefcdea842e54d46b83fb5563320
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/parcoords/_labelangle.py
13d8fff892a81eaefbdfe73a406fc69782ba9295
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
406
py
import _plotly_utils.basevalidators class LabelangleValidator(_plotly_utils.basevalidators.AngleValidator): def __init__(self, plotly_name="labelangle", parent_name="parcoords", **kwargs): super(LabelangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
3ac09f865d0bb02c5ab3497d9bf59377dc8c0d7e
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnessex.py
8c1f5ab339803004f3a0e038993da95c03c88730
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
628
py
ii = [('CookGHP3.py', 2), ('MarrFDI.py', 1), ('CoolWHM2.py', 2), ('CookGHP.py', 37), ('ShawHDE.py', 5), ('WilbRLW5.py', 1), ('ClarGE2.py', 16), ('SeniNSP.py', 2), ('CookGHP2.py', 1), ('CrokTPS.py', 1), ('ClarGE.py', 22), ('LandWPA.py', 1), ('LyelCPG.py', 4), ('DaltJMA.py', 5), ('DibdTRL2.py', 2), ('WadeJEB.py', 8), ('T...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
8c90dde967a168d19294d7de308bc868f12d2843
1719920a92f7194766624474b98d59ef8d6eddaf
/models/workbook_chart.py
e1ff1c8523996a870b6b7be3ab6088101b52548a
[ "MIT" ]
permissive
MIchaelMainer/msgraph-v10-models-python
cfa5e3a65ba675383975a99779763211ed9fa0a9
adad66363ebe151be2332f3ef74a664584385748
refs/heads/master
2020-03-19T12:51:06.370673
2018-06-08T00:16:12
2018-06-08T00:16:12
136,544,573
1
0
null
null
null
null
UTF-8
Python
false
false
7,259
py
# -*- coding: utf-8 -*- ''' # Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. # # This file was generated and any changes will be overwritten. ''' from __future__ import unicode_literals from ..model.workbook_chart...
[ "mmainer@microsoft.com" ]
mmainer@microsoft.com
57da4fcb912fee8e7c21d8f1cbf7a1539e0aaf81
df4ecb12fe9d20cb9fb92014736045425bf57c0d
/setup.py
19fe4c62ffb2598aeb7ade8be207c6859e5fe45b
[ "MIT" ]
permissive
gecko-robotics/pygecko
a277c717d516de6d836ccfd47ac5b1a6e7dd09ef
a809593a894d8e591e992455a01aa73d8f7b7981
refs/heads/master
2022-07-09T09:28:44.500735
2019-10-26T23:07:51
2019-10-26T23:07:51
70,022,547
3
0
null
null
null
null
UTF-8
Python
false
false
3,018
py
from __future__ import print_function from setuptools import setup from build_utils import BuildCommand from build_utils import PublishCommand from build_utils import BinaryDistribution from build_utils import SetGitTag from build_utils import get_pkg_version # ver = {} # with open("pygecko/version.py") as fp: # ...
[ "walchko@users.noreply.github.com" ]
walchko@users.noreply.github.com
25e27632e69d5de8c7019925cc7cc57531e3916a
2ffdd45472fc20497123bffc3c9b94d9fe8c9bc8
/venv/Lib/site-packages/setuptools/_vendor/pyparsing.py
d322ce2aaa240d25e0f0d73d8bffe221325e8e25
[]
no_license
mbea-int/expense-tracker-app
fca02a45623e24ed20d201f69c9a892161141e0c
47db2c98ed93efcac5330ced2b98d2ca365e6017
refs/heads/master
2023-05-10T14:29:04.935218
2021-06-04T15:10:00
2021-06-04T15:10:00
373,816,157
0
0
null
null
null
null
UTF-8
Python
false
false
230,976
py
# module pyparsing.py # # Copyright (c) 2003-2018 Paul T. McGuire # # 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, cop...
[ "besa8383@gmail.com" ]
besa8383@gmail.com
5d00565d21a9ad4f8942b1f3c6dd71b679e404a9
722386e8cb2be70e3a59e4e4667ad2733d84cb93
/fishc/列表/test1.py
0634933ace66d7b1339a02e7d2431af7fe045326
[]
no_license
yuansuixin/Python_Learning
15720a33c5d3d4e2e3b2f5214fdbfb4c3d1ed92e
40aa8d0d034599f448f9125b34897648e87c8f37
refs/heads/master
2021-03-31T01:04:10.830905
2018-03-11T09:55:49
2018-03-11T09:55:49
124,743,274
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
member=['米兔',88,'夜',90,'小甲鱼',87,'意境',56,'求无斜阳',99] # for i in member: # print(i) # temp=0 # for i in member : # temp+=1 # print(i,end=" ") # if temp%2==0: # print() for i in range(len(member)): if i%2==0: print(member[i],member[i+1])
[ "cyss428@163.com" ]
cyss428@163.com
53d2d54f181fbd6d3e304ad89a0d8e9ba7676558
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-592.py
4617a0f91c5b38f9b018301b8a830d082707ec39
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,750
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
a605ac5c7c09241b10bfc550d7dcc7f39dea9c94
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nngravel.py
ffff4b8fe8373362d4a531935536a8b9d9e1aa36
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
876
py
ii = [('FerrSDO3.py', 2), ('RennJIT.py', 2), ('ShawHDE.py', 1), ('MartHSI2.py', 1), ('LeakWTI2.py', 2), ('KembFJ1.py', 2), ('WilbRLW5.py', 1), ('PeckJNG.py', 1), ('KnowJMM.py', 1), ('AdamWEP.py', 4), ('ClarGE2.py', 1), ('WilkJMC2.py', 1), ('KiddJAE.py', 22), ('CrokTPS.py', 3), ('ClarGE.py', 1), ('LandWPA.py', 1), ('Buc...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
3dd03b2ae089b7517063f6fc0366db46c85811ea
4cd0631100e099e9b154b12b234715ddee0711d3
/model/FastSCNNX10.py
8a64c7ac424bd7adb6d5b991f892e91adb8962f6
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
Ethan-ye/Efficient-Segmentation-Networks
d6dd029c76cb46b89ac00ee2f6a49d9ddcd99a3a
27272e43126a507a6d93b21cd2372f5432f61237
refs/heads/master
2023-04-22T11:10:23.256349
2021-05-07T05:04:40
2021-05-07T05:12:38
281,823,847
0
0
MIT
2020-07-23T01:50:42
2020-07-23T01:50:41
null
UTF-8
Python
false
false
48,630
py
################################################################################## # Fast-SCNN: Fast Semantic Segmentation Network # Paper-Link: https://arxiv.org/pdf/1902.04502.pdf ################################################################################## import torch import torch.nn as nn import tor...
[ "ye_b@hotmail.com" ]
ye_b@hotmail.com
33de0048d31e64df7114554ace988932e59ef82a
a61263850fe63de61ec3004519f0d9aa69f104ac
/python_Algorithm/battle16/ArraySideSpin.py
1608d9afead08d58b4772c40d12f1b9339d25e39
[]
no_license
Kimhyeonsuk/Programmers_Python
dd0e13ef6690cfab0c46a7c8b07a5f3b40175071
cc5687c8db2cfa098602829dec3acbf17c5c2177
refs/heads/master
2023-07-16T22:30:29.457419
2021-09-02T10:40:56
2021-09-02T10:40:56
355,876,212
0
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
def solution(rows, columns, queries): maplist = [[j+i*columns for j in range(1,columns+1)]for i in range(rows)] answer=[] # maplist = [[] for _ in range(rows)] # for i in range(1, rows + 1): # for j in range(1, columns + 1): # maplist[i - 1].append((i - 1) * columns + j) for que...
[ "philippe10@naver.com" ]
philippe10@naver.com
aeea0cff7aca2caf25f9f9dd3296fa30bac15a92
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2158/60837/267537.py
f9eb16e1f46295dd50a8fa352db22017d4a5bdca
[]
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
445
py
def atoi(string): result=[] for i in range(len(string)): if i==0: if string[i]=='-' or string[i].isdigit(): result.append(string[i]) else: break else: if string[i].isdigit(): result.append(string[i]) ...
[ "1069583789@qq.com" ]
1069583789@qq.com
5999d541cfc1bb6b84ba5ce6029f9f926694038a
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_116/ch120_2020_03_25_19_26_17_731011.py
72962cf219a8f0a53e1c3745ee3728e79282ae89
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
from random import randint dinheiro=100 print(dinheiro) while dinheiro>0: aposta=int(input("qual o valor da aposta? ")) if aposta !=0: opcao=input("a aposta é em um número ou paridade? ") if opcao == "n": numero=int(input("numero de 1 a 36: ")) roleta=rand...
[ "you@example.com" ]
you@example.com
7bca385eac35f5e7363aff05cb998eabbff0618e
512327cb8d0bbdafd70ad532378a2206c958242e
/tensorflow_federated/python/simulation/baselines/stackoverflow/word_prediction_preprocessing_test.py
736f0bf1b77d1e220c2c9efe9b03ef2abc5071d4
[ "Apache-2.0" ]
permissive
j35tor/federated
14983e3e7d040ccfef41738d12c00b276c0aee9c
d92bfa6b8e3c9ebbac51ff7a3a180c2baaa08730
refs/heads/master
2023-03-22T13:27:11.019501
2021-03-11T01:37:07
2021-03-11T02:17:34
279,016,899
0
0
Apache-2.0
2020-07-12T07:45:29
2020-07-12T07:45:28
null
UTF-8
Python
false
false
10,543
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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
c517d6fa8f95cfd54f1582a7435d4da648b9952e
d77cd334b0d05dc12c620d792bf4a1b8382c9cbe
/examples/keras-iris-pipeline/run_pipeline.py
40c6bb7a3df4745e2e5a2753b981380cba2cec26
[ "Apache-2.0" ]
permissive
pcrete/skil-python
befc4cdbad78213e6e0221c78e960db5eea16a73
672a1aa9e8af020c960ab9ee280cbb6b194afc3f
refs/heads/master
2020-05-18T17:23:30.325751
2019-05-16T07:34:47
2019-05-16T07:34:47
180,715,194
0
0
Apache-2.0
2019-04-11T04:39:12
2019-04-11T04:39:11
null
UTF-8
Python
false
false
480
py
import skil import numpy as np skil_server = skil.Skil() work_space = skil.WorkSpace(skil_server) experiment = skil.Experiment(work_space) transform = skil.Transform(transform='iris_tp.json', experiment=experiment) model = skil.Model(model='iris_model.h5', experiment=experiment) deployment = skil.Deployment(skil_serv...
[ "max.pumperla@googlemail.com" ]
max.pumperla@googlemail.com
2425a8967772fd09cd8e552026ade42063b6fbd5
921f5c21500eb3526d153c6b50fb73bbfe4ecef9
/1.4 Ad Hoc/Game (Chess)/p278.py
8a937641efa41281b9c4caa505235964a159317b
[]
no_license
alex-stephens/competitive-programming
c3c2919b1e3978e2f498f2d53837774b490c2a3c
833363f56ef9ada91952c501829a8f430db0caf5
refs/heads/master
2021-09-13T18:25:22.432073
2018-05-03T00:46:39
2018-05-03T00:46:39
119,809,363
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
# Competitive Programming 3 # Problem 278 T = int(input()) for _ in range(T): inputStr = input().split() piece, m, n = inputStr[0], int(inputStr[1]), int(inputStr[2]) if piece == 'k': print( (m*n + 1) // 2 ) elif piece == 'r' or piece == 'Q': print(min(m, n)) eli...
[ "alexstephens9@gmail.com" ]
alexstephens9@gmail.com
93157f7a41570e59528643a96614df362d938106
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/tests/components/thread/test_dataset_store.py
212db0de06f1b86c6f9ef94662d3b4f1f23b3731
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
9,151
py
"""Test the thread dataset store.""" from typing import Any import pytest from python_otbr_api.tlv_parser import TLVError from homeassistant.components.thread import dataset_store from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeAssistantError from . import DATASET_1, DATASET_2, ...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
9d027ba393e19bf31b550809b6ed0fc83cc038b4
10ddfb2d43a8ec5d47ce35dc0b8acf4fd58dea94
/Python/verbal-arithmetic-puzzle.py
0ce93235f4960cf53349882ed8ec47a385473257
[ "MIT" ]
permissive
kamyu104/LeetCode-Solutions
f54822059405ef4df737d2e9898b024f051fd525
4dc4e6642dc92f1983c13564cc0fd99917cab358
refs/heads/master
2023-09-02T13:48:26.830566
2023-08-28T10:11:12
2023-08-28T10:11:12
152,631,182
4,549
1,651
MIT
2023-05-31T06:10:33
2018-10-11T17:38:35
C++
UTF-8
Python
false
false
1,711
py
# Time: O(10! * n * l) # Space: O(n * l) import collections class Solution(object): def isSolvable(self, words, result): """ :type words: List[str] :type result: str :rtype: bool """ def backtracking(words, result, i, j, carry, lookup, used): if j == l...
[ "noreply@github.com" ]
kamyu104.noreply@github.com
63148046f11c2f2384d376fa158a19b4f33f4a5b
ea44a1681e276b3cc85226b53de217f6096a05d4
/fhir/resources/STU3/documentmanifest.py
76787d0d214eee4100a2f3e37c06bdfd35bce5fe
[ "BSD-3-Clause" ]
permissive
stephanie-howson/fhir.resources
69d2a5a6b0fe4387b82e984255b24027b37985c4
126e9dc6e14541f74e69ef7c1a0b8a74aa981905
refs/heads/master
2020-05-04T22:24:49.826585
2019-06-27T15:51:26
2019-06-27T15:51:26
179,511,579
0
0
null
2019-04-04T14:14:53
2019-04-04T14:14:52
null
UTF-8
Python
false
false
7,250
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 3.0.1.11917 (http://hl7.org/fhir/StructureDefinition/DocumentManifest) on 2019-01-17. # 2019, SMART Health IT. from . import domainresource class DocumentManifest(domainresource.DomainResource): """ A list that defines a set of documents. ...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
7e0bca58ce7844776a9d4810c22e4a72cfef623b
a3926c09872e1f74b57431fbb3e711918a11dc0a
/python/array/0766_toeplitz_matrix.py
3462854c72324c5f85f5dea1c0cc69e7fd5f6b58
[ "MIT" ]
permissive
linshaoyong/leetcode
e64297dc6afcebcee0614a153a566323bf223779
57080da5fbe5d62cbc0b8a34e362a8b0978d5b59
refs/heads/main
2022-09-15T00:05:36.476268
2022-08-16T14:09:11
2022-08-16T14:09:11
196,914,051
6
1
null
null
null
null
UTF-8
Python
false
false
653
py
class Solution(object): def isToeplitzMatrix(self, matrix): """ :type matrix: List[List[int]] :rtype: bool """ m, n = len(matrix), len(matrix[0]) for i in range(0, m): for j in range(0, n): if i < m - 1 and j < n - 1 and \ ...
[ "linshaoyong@gmail.com" ]
linshaoyong@gmail.com
c5e4cd96ca5accdc01de794e2f5a0f7465d365d1
ba694353a3cb1cfd02a6773b40f693386d0dba39
/sdk/python/pulumi_google_native/compute/v1/get_interconnect.py
706eebbfb0d58fdac9e9a151e8a950eb13cae2f3
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-google-native
cc57af8bd3d1d6b76f1f48333ed1f1b31d56f92b
124d255e5b7f5440d1ef63c9a71e4cc1d661cd10
refs/heads/master
2023-08-25T00:18:00.300230
2023-07-20T04:25:48
2023-07-20T04:25:48
323,680,373
69
16
Apache-2.0
2023-09-13T00:28:04
2020-12-22T16:39:01
Python
UTF-8
Python
false
false
19,450
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 copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _u...
[ "noreply@github.com" ]
pulumi.noreply@github.com
ebb24c87e2166bd9394bf1a84d7f4ae129ca184b
c970d6543bc17b5a546ae80dc02cbae3f8b3830a
/server/dhcpd.py
d6dba2dcdd1e75ca8d5caebafbfdb0e5f631e0c9
[]
no_license
Studentergaarden/APsetup
fe0be854f9e74f5ccf4d469d9a448bf8ef5b21cc
b5c2015a87b3ffb904ce13c7e08f656aa839228d
refs/heads/master
2021-01-10T14:08:54.980350
2017-03-06T10:31:44
2017-03-06T10:31:44
54,288,088
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
#!/usr/bin/env python2 from __future__ import print_function navne = ["adm", "cosmos","kanni","abort","dyt","ug","mg","iv","bzrk","barbar","pharis","psyko"] vlan_id = range(10,22) andre = ["priv wifi", "free wifi", "wire"] andre_id = [30, 32, 40] ap_id = range(10, 21) file = "dhcpd.txt" f = open(file, 'w...
[ "pawsen@gmail.com" ]
pawsen@gmail.com
ef77160c3cd3e81ca2ba7e4c01584f18b0e7ef73
f139a99d51cfa01a7892f0ac5bbb022c0cee0664
/Pythonlogy/ShareYourSystem/Standards/Controllers/Drawer/01_ExampleDoc.py
ffe2e7bb003b595d10f996f43eee1168929bdb9e
[ "MIT" ]
permissive
Ledoux/ShareYourSystem
90bb2e6be3088b458348afa37ace68c93c4b6a7a
3a2ffabf46f1f68b2c4fd80fa6edb07ae85fa3b2
refs/heads/master
2021-01-25T12:14:34.118295
2017-01-12T14:44:31
2017-01-12T14:44:31
29,198,670
0
1
null
null
null
null
UTF-8
Python
false
false
1,825
py
#ImportModules import ShareYourSystem as SYS #Define MyDrawer=SYS.DrawerClass( ).draw( { '|fig1':{ '-Panels':{ '|A':{ '-Axes':{ '|a':{ '-Plots':{ '|0':{ 'FiguringDrawVariable': [ ( '#plot', { '#lia...
[ "erwan.ledoux@ens.fr" ]
erwan.ledoux@ens.fr
8602ac0c0521e11e3e0a15e566e3dab96c14e7d7
4c9ed67e62eaa75598f949bb517ac1c175e3eec9
/code/ch07/ch07.py
21fb4eae64d048a09852b993fc7c0a20fd37a304
[ "MIT" ]
permissive
mwasjos/python-machine-learning-book-2nd-edition
c8dda555aebbcd042497af5c382358a2e058ef48
8c54875fb2eea8f997073e9002870d3ef481c286
refs/heads/master
2021-06-27T15:05:34.938957
2017-09-15T07:26:37
2017-09-15T07:26:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,002
py
# coding: utf-8 from scipy.misc import comb import math import numpy as np import matplotlib.pyplot as plt import numpy as np from sklearn.base import BaseEstimator from sklearn.base import ClassifierMixin from sklearn.preprocessing import LabelEncoder from sklearn.externals import six from sklearn.base import clone ...
[ "mail@sebastianraschka.com" ]
mail@sebastianraschka.com
21a08b2221328a34991a9d6b79744c027a46f1f1
69580624a23ab1e6a9d90d957ae08ed951f96d3b
/coolapp/templates/compiled/macros/apptools.py
b846f6aeb6094c6ad51d7952513a9f9a23dc740e
[]
no_license
sgammon/apptools-sample
6e9254e712a6e82b52247f6451d2e388db9ceb9b
5016841ff63536d29b1eb2dd5c84d611b969da21
refs/heads/master
2021-01-23T07:34:17.017619
2013-11-21T18:49:48
2013-11-21T18:49:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,993
py
from __future__ import division from jinja2 import environment from jinja2.runtime import LoopContext, TemplateReference, Macro, Markup, TemplateRuntimeError, missing, concat, escape, markup_join, unicode_join, to_string, identity, TemplateNotFound def run(environment): name = '/source/macros/apptools.html' de...
[ "sam@keen.io" ]
sam@keen.io
216d04773776fc81e9f52786b3e8e6d88651197d
f9f019da9bb01be7e35887082747c4c468a73809
/enarksh/logger/message/LogFileMessage.py
5bb11200fb079bca1d1f5fb33a80288aceab3cb2
[ "MIT" ]
permissive
SetBased/py-enarksh
63df38ce8622b6b22c0115bbe28630b26de042b7
ec0c33cdae4a0afeea37928743abd744ef291a9f
refs/heads/master
2020-04-11T00:14:33.628135
2020-01-24T06:52:17
2020-01-24T06:52:17
60,259,451
3
2
null
2016-08-02T14:42:21
2016-06-02T11:43:47
Python
UTF-8
Python
false
false
2,299
py
""" Enarksh Copyright 2013-2016 Set Based IT Consultancy Licence MIT """ from enarksh.message.Message import Message class LogFileMessage(Message): """ Message type for notifying the logger that a log file is available for storing into the database. """ MESSAGE_TYPE = 'logger:LogFileMessage' """...
[ "p.r.water@setbased.nl" ]
p.r.water@setbased.nl
11decc9e417e1fab8528f8ed17648dc30b41d0c2
98be41d34ca238e040408017e1a2af8cfd71a419
/command_line/aimless_absorption_map.py
5bb462cc2b80aba1f78ccb44a5aee9b3ce5329e1
[]
no_license
hainm/xia2
338a834fd40aa0a684e4833d34244d6d8f6e0417
a5ae68c731577f14b8400404e883029d2147c548
refs/heads/master
2021-01-24T15:24:44.917551
2016-03-10T09:47:27
2016-03-10T09:47:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
# LIBTBX_SET_DISPATCHER_NAME dev.xia2.aimless_absorption_map from __future__ import division def main(log, png): from xia2.Toolkit.AimlessSurface import evaluate_1degree, scrape_coefficients evaluate_1degree(scrape_coefficients(log), png) return if __name__ == '__main__': import sys main(sys.argv[1], sys.a...
[ "graeme.winter@gmail.com" ]
graeme.winter@gmail.com
0eb6a2d29b81069f9b412a45ae5e72d5688176c9
154ec3de1efcf3c97d154ac2ed0c7cd1c9a25040
/tests/h/services/delete_user_test.py
3c3d768d91bc479bf86e39a9e1d7dd833ea1695b
[ "BSD-3-Clause", "BSD-2-Clause-Views", "BSD-2-Clause" ]
permissive
Manuelinux/kubeh
98a9c5c0a98be67c3583dd222bd74046cd5ee484
a549f0d1c09619843290f9b78bce7668ed90853a
refs/heads/master
2023-03-16T00:51:43.318292
2021-09-17T03:33:14
2021-09-17T03:33:14
211,371,455
0
0
BSD-2-Clause
2023-03-03T07:20:50
2019-09-27T17:37:10
Python
UTF-8
Python
false
false
3,514
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from unittest import mock import pytest import sqlalchemy from h.models import Annotation, Document from h.services.delete_user import delete_user_service_factory from h.services.annotation_delete import AnnotationDeleteService @pytest.mark.usefixtur...
[ "manuelaguirre@Admins-MacBook-Pro.local" ]
manuelaguirre@Admins-MacBook-Pro.local
4cb25fcb4d4a805d548a5b8cc8fd783cbdf29274
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03378/s823001968.py
18624fdbcc9f357534760d943dbd2474726acb00
[]
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
205
py
N, M, X = map(int, input().split()) A = list(map(int, input().split())) l_cost = 0 g_cost = 0 for i in A: if i > X: l_cost += 1 else: g_cost += 1 print(min(l_cost, g_cost))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
eb0a7405d6d4ee0c550e9d35ccfe74c20a028799
648796da46791794ee5de7a8004da437c840323e
/311_calls/p2.py
4bbbe7466034c4642042a3360d44ed80983f59db
[]
no_license
YulianaGomez/ml_pp
86530a2ee26bb2f39117ec6a458368a5c1c74104
3891350e1ef6fbf2fd29a792387182601f94c250
refs/heads/master
2020-03-07T19:09:25.958025
2018-05-25T22:34:28
2018-05-25T22:34:28
127,663,580
0
0
null
null
null
null
UTF-8
Python
false
false
5,906
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np import glob import json import requests import sys """ Homework 1: Diagnostic Looking at 311 requests from the Chicago Open Data Portal and census API's for analysis of Chicago communities author: Yuliana Zamora Date: April...
[ "ygomez297@gmail.com" ]
ygomez297@gmail.com
7a509387928543470805a0bff90e312d0618d154
9f1039075cc611198a988034429afed6ec6d7408
/tensorflow-stubs/contrib/seq2seq/__init__.pyi
257610d37bf4e559a080c9544edbf012f74b2e01
[]
no_license
matangover/tensorflow-stubs
9422fbb1cb3a3638958d621461291c315f9c6ec2
664bd995ef24f05ba2b3867d979d23ee845cb652
refs/heads/master
2020-05-23T12:03:40.996675
2019-05-15T06:21:43
2019-05-15T06:21:43
186,748,093
0
0
null
null
null
null
UTF-8
Python
false
false
668
pyi
# Stubs for tensorflow.contrib.seq2seq (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from tensorflow.contrib.seq2seq.python.ops.attention_wrapper import * from tensorflow.contrib.seq2seq.python.ops.basic_decoder import * from tensorflow.contrib.seq2seq.python.ops.beam_search_...
[ "matangover@gmail.com" ]
matangover@gmail.com
0c00c9201ad849dadeaf44789e0b9752180054d1
b62563d791382e75f65ec9cc281882c58baa1444
/machine/urls.py
189042b2c8fa9fb5f6bfb2e68d4fac0d7a3963f7
[]
no_license
moses-mugoya/Farmers-Machinery-Management-System
4fda328f1813041c9a6ae64bf618a7eb0b23d78b
0221c33e5b5936edee3c32baa98f486c9a4726a4
refs/heads/master
2020-05-19T03:59:05.148558
2019-05-03T20:06:04
2019-05-03T20:06:04
184,814,052
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
from django.urls import re_path from . import views app_name = 'machine' urlpatterns = [ re_path(r'^$', views.product_list, name='product_list'), re_path(r'^(?P<category_slug>[-\w]+)/$', views.product_list, name='product_list_by_category'), re_path(r'^(?P<id>\d+)/(?P<slug>[-\w]+)/$', views.product_detail...
[ "mosesmugoya31@gmail.com" ]
mosesmugoya31@gmail.com
24b53bcc79668b3c8a1ee6b0b5ad11b327473c3d
842ccd98867d5549884505d18ed1bc7f53a1803e
/Random-Alan-n-Akaash-Puzzles/mystery_2.py
6f99b554e185fe4a1750db9c0a4030df16940b37
[]
no_license
AwesomeZaidi/Problem-Solving
dd43593c2a9f5d7ce30c7aaa2575fdd9eaa2ba1d
28d40a46f415a41b6754378a46ab26e90a094273
refs/heads/master
2023-01-09T14:40:10.354981
2019-07-10T02:18:26
2019-07-10T02:18:26
158,969,031
3
0
null
2023-01-03T23:53:00
2018-11-24T19:56:50
Python
UTF-8
Python
false
false
932
py
import string import sys def puzzle(binary_input, b): """ Create a dictionary values of 1-9-a-z : Args: ds ? type? b ? type? Returns? ? """ string_values = {char: index for index, char in enumerate(string.printable[:36])} # for ...
[ "asimzaidih@gmail.com" ]
asimzaidih@gmail.com
ebed4b81b88149665e77ef9354a5f98dd58f2dea
2884e44c7c8b5f1dd7405fba24549e8135605ad8
/plastiqpublicapi/http/http_response.py
44ce71985958c313988911f98ecf3550dcaaeec5
[ "MIT" ]
permissive
jeffkynaston/sdk-spike-python-apimatic
d44d2464ba43c12dabe3ae3ba01ef268f73c16f3
e1ca52116aabfcdb2f36c24ebd866cf00bb5c6c9
refs/heads/main
2023-07-01T15:17:50.623155
2021-08-05T22:45:12
2021-08-05T22:45:12
393,186,601
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
# -*- coding: utf-8 -*- """ plastiqpublicapi This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). """ class HttpResponse(object): """Information about an HTTP Response including its status code, returned headers, and raw body Attributes: stat...
[ "jeff.kynaston@plastiq.com" ]
jeff.kynaston@plastiq.com
f1f3e72278974dc7469588dff418f5e9272454b0
5d3fd9328cf3fab1056d79cd8464df3f1719b30e
/MG5_aMC_v2_6_7/tests/unit_tests/madspin/test_madspin.py
d573a9790c9b5cf7806115ae6b05f73d6bc1310d
[]
no_license
BKailasapathy/madgraph
c8d34147146edda1f147e8259539c0e86e6209c2
949fcf00f111eadf8948827e2933952b7823778d
refs/heads/master
2023-07-15T08:38:08.382422
2021-08-21T09:12:23
2021-08-21T09:12:23
398,511,168
0
0
null
null
null
null
UTF-8
Python
false
false
17,966
py
################################################################################ # # Copyright (c) 2009 The MadGraph5_aMC@NLO Development team and Contributors # # This file is a part of the MadGraph5_aMC@NLO project, an application which # automatically generates Feynman diagrams and matrix elements for arbitrary # hi...
[ "balashangar.kailasapathy@cern.ch" ]
balashangar.kailasapathy@cern.ch