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
1cec52081305a4e0ae762ae4664a1a77b443a7fb
7fb805dc0789bfa3bbac7a94b667548c01a8eb4a
/site-packages/oslo_privsep/tests/test_comm.py
09092e41dd00b85f79eb1bfb1d4fda07b81d462c
[ "Python-2.0" ]
permissive
hclareth7/freezer_libraries
8a6173140971679e5b5dc8428e1e56734f02d906
e0bd890eba5e7438976fb3b4d66c41c128bab790
refs/heads/master
2022-11-30T02:19:46.718660
2019-05-29T20:29:20
2019-05-29T20:29:20
189,293,415
0
1
NOASSERTION
2022-11-17T05:38:07
2019-05-29T20:28:12
Python
UTF-8
Python
false
false
2,704
py
# Copyright 2015 Rackspace 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 agr...
[ "root@ubuntu-14.04.general.micro.yul.linux.novalocal" ]
root@ubuntu-14.04.general.micro.yul.linux.novalocal
5cff565f288904fdba1dbcc7ca0f48be5927a54a
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc010/D/3494465.py
aa4c2fd3685ff26f408b94eed914fa888deebe81
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
1,072
py
class Ford_Fulkerson: def __init__(self, N): self.used = [False] * (N + 1) self.G = [[0] * (N + 1) for i in range(N + 1)] def add_edge(self, fr, to, cap): self.G[fr][to] = cap def dfs(self, v, t, f): if v == t: return f self.used[v] = True ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
7b4b16aefb1e0171fc160653227e4d9452db69b0
616714bf9da2f96e0389d6ea08e6b2d03c5ae4e5
/panoptes_aggregation/tests/reducer_tests/test_shape_reducer_ellipse.py
4c441597633ce0f980808b61e79a61fd774208d6
[ "Apache-2.0" ]
permissive
mdheller/aggregation-for-caesar
81fd3529f898fca4f394ee9fda603ea506dec3cc
8f0c1f06138fc112e9a580dbbef9c54545ffec83
refs/heads/master
2021-05-20T16:47:01.662300
2020-03-30T14:41:50
2020-03-31T08:33:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,107
py
from panoptes_aggregation.reducers.shape_reducer_dbscan import process_data as process_data_dbscan, shape_reducer_dbscan from panoptes_aggregation.reducers.shape_reducer_hdbscan import process_data as process_data_hdbscan, shape_reducer_hdbscan from .base_test_class import ReducerTest import copy extracted_data = [ ...
[ "coleman.krawczyk@gmail.com" ]
coleman.krawczyk@gmail.com
2ebd9eed2452babc800d7a2281ffcb64d996e50c
bdbc9cd8c64cfa92efffb9e138cb282d36f69b0a
/addons/base/res/res_company.py
5f386c90273b5157987b65766a0920acac86b672
[]
no_license
clebaresu/impra-adns
d330cece1b710643625627bfd7ed66bac7d233ef
8b9889d86c6ea194cfb7b0db8bdc3284635cc081
refs/heads/master
2020-05-02T16:51:41.798969
2019-03-27T22:03:32
2019-03-27T22:03:32
178,080,681
0
0
null
null
null
null
UTF-8
Python
false
false
21,723
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of ...
[ "clebaresu@gmail.com" ]
clebaresu@gmail.com
b6149467be0b8cf56e60a5ad55bea1e02c7a3f05
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/CAT2600-MIB.py
ba43e9c3486c7310038251bfdcb46e661285c3cd
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
71,052
py
# # PySNMP MIB module CAT2600-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CAT2600-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:47:12 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 0...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
5cceb1e9921123ef59bf3683c92fb27bdb9d0a6c
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/insights/v20210501preview/get_autoscale_setting.py
b4dd2530d39b22c6034b7dfbb91b9d14c8a2d8da
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,924
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
5b595b21ecb45b1089d5f3f668229fa15abb5f7d
aee5f372ba1b5fbb1c8acf6080c4c86ae195c83f
/cern-stubs/lsa/client/rest/api/v1/error/__init__.pyi
4b52a2b4c5ef2508336df50bac3185d52da76bf5
[]
no_license
rdemaria/pjlsa
25221ae4a4b6a4abed737a41a4cafe7376e8829f
e64589ab2203338db4253fbc05ff5131142dfd5f
refs/heads/master
2022-09-03T13:18:05.290012
2022-08-16T13:45:57
2022-08-16T13:45:57
51,926,309
1
5
null
2019-07-11T11:50:44
2016-02-17T13:56:40
Python
UTF-8
Python
false
false
1,479
pyi
import cern.lsa.client.rest.api.v1.dto import com.fasterxml.jackson.databind import feign import feign.codec import java.lang import typing class DefaultErrorDecoder(feign.codec.ErrorDecoder.Default): """ public class DefaultErrorDecoder extends feign.codec.ErrorDecoder.Default """ def __init__(self,...
[ "michi.hostettler@cern.ch" ]
michi.hostettler@cern.ch
37accda085ec7e6e5c0a89743f01ce9566ae4fd5
e21599d08d2df9dac2dee21643001c0f7c73b24f
/Others/Concurrency/multiprocessing/process_communication.py
7720d22f6fd9a97f75512c7c69355ee995a491d3
[]
no_license
herolibra/PyCodeComplete
c7bf2fb4ce395737f8c67749148de98a36a71035
4ef7d2c3aec6d28a53eed0e649cdeb74df3d783b
refs/heads/master
2022-07-17T05:39:03.554760
2020-05-03T07:00:14
2020-05-03T07:00:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
# coding=utf-8 from multiprocessing import Process, Queue import os import time import random # 写数据进程执行的代码: def write(q): for value in ['a', 'b', 'c']: print 'Put %s to queue...' %value q.put(value) time.sleep(random.random()) # 读数据进程执行的代码: def read(q): while True: value = q....
[ "zengyuetian@cloutropy.com" ]
zengyuetian@cloutropy.com
bb1d911ef425f0ed0b1840e1918f6bb57d133b52
dbaf2865fb4e70f2324ddbc625fb76f0f80de502
/crds/jwst/genspecs.py
122eee96261f56779a08f4888350ef8d32712355
[ "BSD-2-Clause" ]
permissive
nden/crds
537caf339fb8df428b997df49f98ab7e946d0adb
b72f14cf07531ca70b61daa6b58e762e5899afa4
refs/heads/master
2021-06-09T04:40:46.176073
2016-11-11T16:35:56
2016-11-11T16:35:56
73,501,275
0
0
null
2016-11-11T18:24:29
2016-11-11T18:24:29
null
UTF-8
Python
false
false
4,117
py
"""Generate .spec files from existing JWST mappings and original hard coded enumerations. """ from __future__ import print_function from __future__ import division from __future__ import absolute_import import glob import os.path import crds from crds import log, reftypes, rmap # =====================================...
[ "jmiller@stsci.edu@stsci.edu" ]
jmiller@stsci.edu@stsci.edu
c118bd4c17c3b90819d660aebf0c18ec4b21007e
a72f39b82966cd6e2a3673851433ce7db550429a
/configs/oscar/oscar_nlvr2_large.py
10b1c5c7ce4e9217c6d0fbeeff70f73b9438c3c9
[ "Apache-2.0" ]
permissive
linxi1158/iMIX
85841d6b95e1d99ed421a1ac3667658e49cae6fc
af87a17275f02c94932bb2e29f132a84db812002
refs/heads/master
2023-06-09T23:37:46.534031
2021-06-30T12:09:42
2021-06-30T12:09:42
381,608,650
0
0
Apache-2.0
2021-06-30T07:08:40
2021-06-30T07:08:39
null
UTF-8
Python
false
false
949
py
_base_ = [ '../_base_/models/oscar/oscar_nlvr2_config.py', '../_base_/datasets/oscar/oscar_nlvr2_dataset.py', '../_base_/default_runtime.py', ] # cover the parrmeter in above files model = dict( params=dict( model_name_or_path='/home/datasets/mix_data/model/oscar/large-vg-labels/ep_55_1617000'...
[ "hsslab.inspur@gmail.com" ]
hsslab.inspur@gmail.com
0d0f4ad38b6351ce52b989b32c5e80cb18010c1b
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/reddit-monitors/allPythonContent.py
2f517d30e56d3699a521830079c73895ee17a4a2
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
66,576
py
__FILENAME__ = alerts #!/usr/bin/python import ConfigParser import logging import logging.handlers import os import sys import time import socket import wessex from zenoss import Zenoss __all__ = ["harold", "config", "zenoss"] harold = None graphite = None zenoss = None config = None def init(...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
5d7522db4d357f9cfe1081c4b1723b7b532654d3
a5f0e7c09c36bb2fc91f95e5f3ec7f95c0ed305e
/cafe_backend/apps/videos/views.py
f602ce6d74d6c3f8fd191946a3305c16c4c3bae5
[]
no_license
ecmascriptguru/cafe_backend
e703047c7f04d68596f76dcbff06828afbf5cc68
0c4152692d68e951481b39f0789bc58e94e0d20c
refs/heads/master
2022-10-26T00:31:50.070430
2020-06-18T15:30:02
2020-06-18T15:30:02
184,465,639
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
from django.views import generic from django.urls import reverse_lazy from django.contrib.auth.mixins import LoginRequiredMixin from django_filters.views import FilterView from django_tables2.views import SingleTableMixin from ...core.apis.viewsets import CafeModelViewSet from . import tables, filters, models, forms, s...
[ "ecmascript.guru@gmail.com" ]
ecmascript.guru@gmail.com
347e9bd8d57eeb5cdf4418999632f196a3599e9c
0c3acf8c0e53802022d941a956826de4f439a990
/wnd.py
c4225e38cf6765cc5305a1641309b8294358a181
[]
no_license
fivethreeo/blenderspeech
c6f5ebb3a611301393872244ed3405432859aadf
bdba28ea310aaa86d4c8cf3bf768401342b5f255
refs/heads/master
2021-01-13T03:13:58.868941
2016-12-26T23:15:40
2016-12-26T23:15:40
77,411,501
0
0
null
null
null
null
UTF-8
Python
false
false
1,368
py
from PyQt5 import QtCore, QtWidgets, QtGui from PyQt5.QtWidgets import (QApplication, QWidget, QMainWindow, QPushButton, QDesktopWidget) from PyQt5.QtGui import QPainter, QPen class TranslucentWindow(QMainWindow): def ppaintEvent(self, event=None): painter = QPainter(self) painter.setOpacity(0.7)...
[ "oyvind.saltvik@gmail.com" ]
oyvind.saltvik@gmail.com
6a29b6b1f5363f1808bc8ac46bebde3e4be4a049
a3d39c53b1abf4d35c9a9a1d8c8f226572f29bcd
/test/functional/p2p_getdata.py
740c92d6152d737755fd0bc96758b8360e938d7f
[ "MIT" ]
permissive
BakedInside/Beans-Core
afc3a55efa3e14e62a19f4bc4d5ae5a357f5f1de
daa9b2ddbfd3305881749bda7f32146738154260
refs/heads/master
2022-07-30T05:42:26.680123
2021-05-22T15:35:40
2021-05-22T15:35:40
369,584,373
1
0
null
null
null
null
UTF-8
Python
false
false
1,654
py
#!/usr/bin/env python3 # Copyright (c) 2020 The Beans Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test GETDATA processing behavior""" from collections import defaultdict from test_framework.messages import (...
[ "lanorlasystem@gmail.com" ]
lanorlasystem@gmail.com
2e6c06e7c08a6f462dfa365514d26acd65285150
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_088/ch51_2020_10_05_19_54_02_851042.py
14d0f29161ff94b5c784cfeb62718cfaa1b28fc9
[]
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
414
py
def eh_primo (x): if(x==2): return True elif (x==0 or x==1 or x%2==0 or x==-1): return False else: n = 3 while (n < x): if x%n==0: return False n += 2 return True def primos_entre(a,b): primos= [] while a<=b: ...
[ "you@example.com" ]
you@example.com
2ab8b4b3b13344fbd26d3a0b67287736dfdb403c
89f4284d0b5b2359c5121626e1575f95fc08a160
/HeavyIonsAnalysis/JetAnalysis/python/jets/akSoftDrop1PFJetSequence_pponpp_data_cff.py
d37d54cad1429f13d1ea48506f0100bcc305b580
[]
no_license
geun-woo/Comparing-collections-in-AOD-and-in-miniAOD
e11eb48cc8ab15a07f02a08a8a46dfd9d5a4e418
7b6e2118b9ce733b2ebb6f26516cbc107e37b285
refs/heads/main
2023-01-27T21:18:37.980241
2020-12-04T08:24:01
2020-12-04T08:24:01
318,445,108
0
0
null
null
null
null
UTF-8
Python
false
false
11,773
py
import FWCore.ParameterSet.Config as cms from PhysicsTools.PatAlgos.mcMatchLayer0.jetMatch_cfi import patJetGenJetMatch, patJetPartonMatch from PhysicsTools.PatAlgos.recoLayer0.jetCorrFactors_cfi import patJetCorrFactors from PhysicsTools.PatAlgos.producersLayer1.jetProducer_cfi import patJets from HeavyIonsAnalysis....
[ "9nukim@gmail.com" ]
9nukim@gmail.com
a4a63af4408c8d9d608b4290d7593bdfe36f544e
010279e2ba272d09e9d2c4e903722e5faba2cf7a
/contrib/python/prompt-toolkit/py2/tests/test_key_binding.py
d706c4443b2e832d3dbb3e2313c3472501053284
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
catboost/catboost
854c1a1f439a96f1ae6b48e16644be20aa04dba2
f5042e35b945aded77b23470ead62d7eacefde92
refs/heads/master
2023-09-01T12:14:14.174108
2023-09-01T10:01:01
2023-09-01T10:22:12
97,556,265
8,012
1,425
Apache-2.0
2023-09-11T03:32:32
2017-07-18T05:29:04
Python
UTF-8
Python
false
false
4,215
py
from __future__ import unicode_literals from prompt_toolkit.key_binding.input_processor import InputProcessor, KeyPress from prompt_toolkit.key_binding.registry import Registry from prompt_toolkit.keys import Keys import pytest class Handlers(object): def __init__(self): self.called = [] def __get...
[ "arcadia-devtools@yandex-team.ru" ]
arcadia-devtools@yandex-team.ru
52e261999d778c79b4a87c78cd46f37fb305be5c
060d31454f840179ebfc02663bff4edfc35ec06f
/源码目录/16留言版.py
10587c46767f35e11ead78b3a4610e2a2553a030
[]
no_license
byst4nder/PyQT5-Tutorial
7ed378b76fc3a37a76da3185a01bbe764684c834
fee4661a020918259f45df1328cda34311e46ae4
refs/heads/master
2020-09-20T11:54:22.056244
2019-11-20T12:27:28
2019-11-20T12:27:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
# _*_ coding:UTF-8 _*_ # 开发人员: 理想国真恵玩-张大鹏 # 开发团队: 理想国真恵玩 # 开发时间: 2019/11/20 19:40 # 文件名称: 16留言版.py # 开发工具: PyCharm import sys from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import ( QWidget, QLabel, QLineEdit, QTextEdit, QGridLayout, QApplication ) class LxgApp(QWidget): def __init__(self): supe...
[ "1156956636@qq.com" ]
1156956636@qq.com
826456d0d42d951003ad2981cea338ead86204cb
becf1c5ba31ae8c7bbe54c2344bf29257f5a007f
/Recursion/recpowerset.py
1c0ed9d24dc9b724de7262f2f505d50708aa723f
[]
no_license
IMJONEZZ/ComputerScienceProjects
ff7e16c90d2ac889ae391f8e1c45784c50b9ba74
637bf80830a0d3da76fbbf311d5910b1d3f4f833
refs/heads/master
2022-10-08T23:19:00.733660
2020-06-08T08:40:21
2020-06-08T08:40:21
270,581,833
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
def power_set(my_list): # base case: an empty list if len(my_list) == 0: return [[]] # recursive step: subsets without first element power_set_without_first = power_set(my_list[1:]) # subsets with first element with_first = [ [my_list[0]] + rest for rest in power_set_without_first ] ...
[ "chrisbrousseau304@gmail.com" ]
chrisbrousseau304@gmail.com
fb6738b7f0f41a59c3215d7dad6d274f70e1660f
6d5fcd3a46cf5a1d5480b84ee82c41b3a7283b65
/0x03-python-data_structures/10-divisible_by_2.py
ee329d1341e4de087a3777df41427e76c2035d8c
[]
no_license
Nesgomez9/holbertonschool-higher_level_programming
f8e6fa39d9c68e60ddd9e0082b3b83e891e8620e
b7b22d0f28eed0953fafff941c9100c9970a2336
refs/heads/master
2020-09-29T02:08:56.666164
2020-06-24T02:23:42
2020-06-24T02:23:42
226,923,230
1
0
null
null
null
null
UTF-8
Python
false
false
221
py
#!/usr/bin/python3 def divisible_by_2(my_list=[]): new = [] for i, count in enumerate(my_list): if count % 2 == 0: new.append(True) else: new.append(False) return (new)
[ "nicolico99@hotmail.com" ]
nicolico99@hotmail.com
7a3b9c2f511e0a4559869b07b0eb914ea9bdf4b6
f7cbd97f67a1f13e560b29c54b1e16ffa1f9d342
/example/tests/settings.py
1d6a2823b9258b075be9719047e8431bee7e5f21
[]
no_license
nikksbagul/django-musette
c15bc708ba9b27df3eef2be8c11038c6c96a0712
95868490d896ee5b316656c15e52755c1e347a34
refs/heads/master
2021-01-11T15:43:09.723062
2017-01-18T15:06:38
2017-01-18T15:06:38
79,909,141
0
1
null
2017-01-24T12:22:41
2017-01-24T12:22:41
null
UTF-8
Python
false
false
3,734
py
""" Django settings for tests project. Generated by 'django-admin startproject' using Django 1.9.4. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ # Build paths ...
[ "martinpeveri@gmail.com" ]
martinpeveri@gmail.com
fd0b44ed4024ffd2c99a025d3cd51e3620873404
ef00822b32075bcfc3b74834c7fad8ba1b622689
/apps/organize/apps.py
a4eafc380e9a09329d0e2b0e539d4a558a043819
[]
no_license
bbright3493/tourApp
ab314dd2e5fbe6046d94f6ecd3f2b9e13b2e94d1
fc674b8bc25008799deeb4187e8ad73141f570e0
refs/heads/master
2021-08-24T05:56:52.221698
2017-12-08T09:19:04
2017-12-08T09:19:04
110,479,442
1
0
null
null
null
null
UTF-8
Python
false
false
196
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class OrganizeConfig(AppConfig): name = 'organize' verbose_name = u'我的机构管理'
[ "44704708@qq.com" ]
44704708@qq.com
87c9cea7393016af56f08827aed69146dfec8e40
3fa98a128e019a84c1785a505992bd19615a5b2a
/38724373.py
0d309d20d46409d81e570e9a1b4c4f9c15e8f9c1
[]
no_license
Khushisomani/codes
2c63628344db230093828b83fc5681fee4a603b8
ccda28b24962807c0f96818bc784a05d92e8de2b
refs/heads/master
2021-07-06T15:39:27.710291
2020-12-16T16:52:07
2020-12-16T16:52:07
214,611,035
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
# cook your dish here import math for _ in range(int(input())): n=int(input()) if n==1: print(2) continue temp=math.floor(math.log(n+1,2)) if 2**temp==n+1: print((n+1)//2-1) else: print(-1)
[ "noreply@github.com" ]
Khushisomani.noreply@github.com
b974207f3db620fdbfa1169ce316f3cb158b02a8
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Tibt.BOD/Serif_12/pdf_to_json_test_Tibt.BOD_Serif_12.py
8fdfc347c368747b3588d77dd0865883f307e98b
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
305
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Tibt.BOD/Serif_12/udhr_Tibt.BOD_Serif_12.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
f27e38d95160b72d1031d31fdb7d647dd9c2a0b6
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/pfnet_chainer/chainer-master/chainer/dataset/dataset_mixin.py
41d5e3271528a5ed22f4ca652a39f547c828bb5f
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
1,612
py
class DatasetMixin(object): """Default implementation of dataset indexing. DatasetMixin provides the :meth:`__getitem__` operator. The default implementation uses :meth:`get_example` to extract each example, and combines the results into a list. This mixin makes it easy to implement a new dataset ...
[ "659338505@qq.com" ]
659338505@qq.com
d98197455ac701f522bf8dd370dd16508e227137
a8314fb4e71a229f2288ca0588bbb3ebd58b7db0
/leet/longest_palindromic_substring/test.py
acbe9597aaf6c4d371ea6ffedc57a6180df7cda9
[]
no_license
blhwong/algos_py
6fc72f1c15fe04f760a199535a0df7769f6abbe6
9b54ad6512cf0464ecdd084d899454a99abd17b2
refs/heads/master
2023-08-30T17:45:51.862913
2023-07-24T18:56:38
2023-07-24T18:56:38
264,782,652
0
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
from unittest import TestCase, main from leet.longest_palindromic_substring.main import Solution s = Solution() class TestSuite(TestCase): def test_1(self): self.assertTrue(s.longestPalindrome('babad') in ['bab', 'aba']) def test_2(self): self.assertEqual('bb', s.longestPalindrome('cbbd')) ...
[ "brandon@yerdle.com" ]
brandon@yerdle.com
b37e911d60650295562632a3c89a3074f1805361
a9305f461b2c03e4a55fec9f1ecc75f78265eb8e
/curses/nps006.py
42070083065530c73ef7661c793f0d487788acac
[]
no_license
JoaoBueno/estudos-python
653afb174f2d141fcc82511c51cbfd2bca1b55cb
606e188e88ee3a2b2e1daee60c71948c678228e1
refs/heads/master
2022-01-24T20:17:52.702768
2022-01-19T20:39:20
2022-01-19T20:39:20
150,925,137
2
2
null
2022-01-19T20:40:46
2018-09-30T03:09:08
Python
UTF-8
Python
false
false
1,368
py
#!/usr/bin/env python # encoding: utf-8 import npyscreen #npyscreen.disableColor() class TestApp(npyscreen.NPSApp): def main(self): F = npyscreen.Form(name = "Welcome to Npyscreen",) t = F.add(npyscreen.BoxBasic, name = "Basic Box:", max_width=30, relx=2, max_height=3) t.footer = "This is a...
[ "heavyhide@gmail.com" ]
heavyhide@gmail.com
b45bb5be5160bd3b3872d52776e493007cb0b93b
66be87f7ee356d4952872042073fb6724b6a28e3
/setup.py
c9fbf4f08e2acd70fe7b1b51be4dcdd25417bceb
[]
no_license
RodericDay/porespy
d50ecefd11bd76dfbdff8838da6a8e52fc7b4f82
9bd7e2ca2a395acafa358cd75e753a58da7db7c6
refs/heads/master
2021-07-17T19:55:04.982876
2017-10-17T17:07:58
2017-10-17T17:07:58
107,927,428
0
0
null
2017-10-23T03:25:32
2017-10-23T03:25:32
null
UTF-8
Python
false
false
1,396
py
import os import sys from distutils.util import convert_path sys.path.append(os.getcwd()) try: from setuptools import setup except ImportError: from distutils.core import setup main_ = {} ver_path = convert_path('porespy/__init__.py') with open(ver_path) as f: for line in f: if line.startswith('_...
[ "jeff@gostick.ca" ]
jeff@gostick.ca
a7062c7670bb15e0d6c4e265bc63f0fada6223f6
2852a84c5efe0b23bbfdb57b771602e918cf7420
/ZH_nunubb/plot_configs.py
48186d20f6365fb32646bf4670dc3611c765de69
[]
no_license
kratsg/L1TriggerAnalysis
52af5a5beb57349e7b0794ec8aab9d72d1203847
39cd0349fe2fb6a02689a3ca0f051d869481c5c8
refs/heads/master
2021-03-12T22:09:21.871489
2015-04-03T16:41:18
2015-04-03T16:41:18
22,962,930
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
dataSetStr = "$ZH \\to \\nu\\nu b\\bar{b}$\n$\sqrt{s}=14 \ \mathrm{TeV}\ \langle\mu\\rangle=80$" # for make_plots_gTower yaxis_efficiencyLabel = 'Efficiency'
[ "kratsg@gmail.com" ]
kratsg@gmail.com
012d95189932bee4d2250d4ac5b42ac8c3a425f1
6a07912090214567f77e9cd941fb92f1f3137ae6
/cs258/2. Problem Set - Code Coverage/2.py
46d143be58dd39fc9a61ea5b1d3de36f7d36ccf0
[]
no_license
rrampage/udacity-code
4ab042b591fa3e9adab0183d669a8df80265ed81
bbe968cd27da7cc453eada5b2aa29176b0121c13
refs/heads/master
2020-04-18T08:46:00.580903
2012-08-25T08:44:24
2012-08-25T08:44:24
5,352,942
3
0
null
null
null
null
UTF-8
Python
false
false
3,929
py
# cs258 ; 2. Problem Set - Code Coverage ; 2 # TASK: # # This is the SplayTree code we saw earlier in the # unit. We didn't achieve full statement coverage # during the unit, but we will now! # Your task is to achieve full statement coverage # on the SplayTree class. # # You will need to: # 1) Write your test code...
[ "raunak1001@gmail.com" ]
raunak1001@gmail.com
cf4f36d32bfb17762cea69eb577981f18358b6f2
4157fb5cecec9efd1a6261ff88c421337794041f
/tests/test_export_runit.py
52fe60b13e10d1bb258aad26d46473047c1f5466
[ "MIT" ]
permissive
nickstenning/honcho
786859f423dcece8b75773bf65a3c597612f5cab
9eeb9b43e82b45c13de9999a0e65287cfbf384d6
refs/heads/main
2023-08-18T04:54:40.543608
2022-10-24T16:16:35
2022-10-24T17:12:45
3,706,909
1,187
113
MIT
2023-09-01T12:42:15
2012-03-13T13:44:30
Python
UTF-8
Python
false
false
1,178
py
import collections from mock import patch import pytest from honcho.export.runit import Export FakeProcess = collections.namedtuple('FakeProcess', 'name env') FIX_1PROC = [FakeProcess('web.1', {'FOO': 'bar'})] class TestExportRunit(object): @pytest.fixture(autouse=True) def exporter(self, request): # noq...
[ "nick@whiteink.com" ]
nick@whiteink.com
f80f7a11a5bd8a113e8f27769f0cf20a6959fcfd
0646c4b7e983ca676b8ce91b579a165833127d75
/illust/views.py
f74c75a820e1944da18257210bbf7863c590855b
[]
no_license
seiya0723/django_ai_03
576007f2015b01b40f712b3822fd7914cc6c6dec
0d1d5b7dca6ff40b5c8950979a2695fdb5a09d28
refs/heads/master
2023-04-19T04:44:29.194527
2021-05-08T05:40:30
2021-05-08T05:40:30
365,122,527
0
0
null
null
null
null
UTF-8
Python
false
false
2,293
py
from django.shortcuts import render,redirect ## Create your views here. #from django.shortcuts import render from django.views import View from .models import Design from .forms import DesignForm #ファイルのMIMEタイプを調べるためのpython-magicをインポート import magic #許可するMIMEタイプのリスト ALLOWED_MIME = [ "application/pdf" ] """ MIMEに...
[ "seiya@asahina" ]
seiya@asahina
70ea6859c94fc37b0dd2603cdfcf78303db0ae13
ef268924e126f127eadbc82a709acfdaeb505925
/0528. Random Pick with Weight/528_bs.py
56a98c1c5381a6057ac4b711ddf8d83f67bf4d4b
[]
no_license
HappyStorm/LeetCode-OJ
e7dec57156b67886cbb57dc6401b2164eaed7476
8e742bc66a70900bbb7bc0bd740cec6092577a6a
refs/heads/master
2022-08-30T11:40:57.658447
2022-08-09T16:59:49
2022-08-09T16:59:49
55,757,963
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
class Solution: def __init__(self, w: List[int]): self.arr = w for i in range(1 , len(w)): self.arr[i] = self.arr[i-1] + w[i] self.len = len(w) def pickIndex(self) -> int: seed = random.randint(1, self.arr[-1]) l, r = 0, self.len - 1 while l < r: ...
[ "gogogo753951741963@gmail.com" ]
gogogo753951741963@gmail.com
9ae2ec53fd9de900331aecd34cd5cb8f18c04769
6c29f457a5e787309b344fec53c133845d8985e8
/stubs/torch/distributed/nn/functional.pyi
182c77e6255507e78fb789f4ba3e8587f656891a
[ "Apache-2.0", "MIT", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
facebookresearch/fairscale
eb378e44cca951e242fb58f82522d9ba8e87d732
164cc0f3170b4a3951dd84dda29c3e1504ac4d6e
refs/heads/main
2023-09-04T12:48:14.924836
2023-04-20T03:41:53
2023-04-20T03:41:53
277,899,703
2,553
257
NOASSERTION
2023-08-28T19:02:48
2020-07-07T19:02:01
Python
UTF-8
Python
false
false
282
pyi
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. from typing import Optional from torch import Tensor from torch.distributed import ProcessGroup, ReduceOp def all_reduce(tensor: Tensor, op: ReduceOp = ReduceOp.SUM, group:Optional[ProcessGroup] = None): ...
[ "noreply@github.com" ]
facebookresearch.noreply@github.com
9cd744c2e8d3a07c8a32d280630ba295b5f9863d
66474178a95abec9a771ac40348249c201b528c4
/tests/test_helpers.py
3e8bc9e0f01edffa53644d6abe82428db7d1a291
[ "MIT" ]
permissive
gitter-badger/frigg-common
9af640e045e4148147f7117a43ea3adcad1dd029
9dc4a69c0929479b1725ee466d71806591350787
refs/heads/master
2021-01-21T04:12:29.381081
2015-03-27T20:43:13
2015-03-27T20:43:13
36,227,788
0
0
null
2015-05-25T11:36:37
2015-05-25T11:36:36
Python
UTF-8
Python
false
false
1,739
py
# -*- coding: utf8 -*- from datetime import datetime from time import sleep from frigg.helpers import cached_property, detect_test_runners, local_run def test_detect_test_runners(): assert(detect_test_runners([]) == []) assert(detect_test_runners(['random file']) == []) files = ['_config.yml', 'Cargo.tom...
[ "me@rolflekang.com" ]
me@rolflekang.com
3b4ad6eec602c3c68a88133e7945fefbd8c15faa
94f3ea65da13c590a344718d22aef3566ff685f2
/ejemplo9_ui/Config/__init__.py
bb275aa52a963866c790cc90ce7cd9a07b7c48cb
[]
no_license
Kammann123/EjemplosElectrotecnia
d0af64b93193c1f84addff239ca234a5a4fb297f
87e17875ed26d094bf4c5bd2d30885cbbf402756
refs/heads/master
2020-05-30T07:53:47.109114
2019-05-31T03:49:39
2019-05-31T03:49:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
LARGE_FONT = ("Bahnschrift", 20) SMALL_FONT = ("Bahnschrift", 16) SMALLEST_FONT = ("Bahnschrift", 10)
[ "newtonis.penguin@gmail.com" ]
newtonis.penguin@gmail.com
24809cdb5a094cd5e0b0fe348c8118d533269ad4
937d1f70fbf3ddfbb956c97fd72ca382ca9ec0de
/pybase/pyglobal.py
9158dbb05ad08662615eaa2e6e3db0be57142ad4
[]
no_license
darr/pybase
e88ef557e9a6bcc73e83fc0a279875482d37e6ed
f4e887d2019376f85c652cde8b8143e686c9bfd5
refs/heads/master
2021-06-21T12:53:59.087685
2021-02-05T04:59:25
2021-02-05T04:59:25
125,706,742
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
#!/usr/bin/python # -*- coding: utf-8 -*- ##################################### # File name : pyglobal.py # Create date : 2013-06-25 22:19 # Modified date : 2018-10-09 17:47 # Author : DARREN # Describe : save global vars # Email : lzygzh@126.com ##################################### from __future__ import absolute_im...
[ "lzygzh@126.com" ]
lzygzh@126.com
30e195cec58eca9c860e225f90a6f339054e0613
f92fd5ba7ec30729dada169f7684e2edf565c139
/test/pages/LoginPage.py
030b3e129ec272aa24b014d285936e62fce98f01
[]
no_license
rico-o/autoTest
6ea0c83ab3ef60bf8ee13d00f61995d3357f4c37
6ca03420faf1b0523a567eed11a8212796ee3d35
refs/heads/master
2022-03-30T14:34:55.787787
2020-02-08T11:46:23
2020-02-08T11:46:23
218,439,831
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
# coding=utf-8 from test.pages.BasePage import BasePage from utils.ReadConfig import ReadConfig from selenium.webdriver.common.by import By import os class LoginPage(BasePage): """登录页面""" def user_name_element(self): """账号""" return self.find_element(By.ID, "user_name") def password_elem...
[ "53588251+rico-o@users.noreply.github.com" ]
53588251+rico-o@users.noreply.github.com
262558bbae51ffd9e136c9927935db6aad9f3f65
18239524612cf572bfeaa3e001a3f5d1b872690c
/clients/client/python/test/test_ui_nodes.py
4604dff330d50b86faf75b9a6ccc75aba71ffef8
[ "Apache-2.0" ]
permissive
simoneromano96/sdk
2d7af9425dabc30df830a09b26841fb2e8781bf8
a6113d0daefbbb803790297e4b242d4c7cbbcb22
refs/heads/master
2023-05-09T13:50:45.485951
2021-05-28T12:18:27
2021-05-28T12:18:27
371,689,133
0
0
Apache-2.0
2021-05-28T12:11:41
2021-05-28T12:11:40
null
UTF-8
Python
false
false
904
py
""" Ory APIs Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501 The version of the OpenAPI document: v0.0.1-alpha.3 Contact: support@ory.sh Generated by: http...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
092e71d780d8a940a9f17180c96c5d40bd5f3b40
a9c3410e4c78a48e6176642e836480630c27251e
/tests/conftest.py
5c0ca6e594c2d513b4be9889a191ae863c0b4e5d
[]
no_license
danlamanna/metabulo
e96895e9425b15c28236fe7e50eb92db3eb1ef54
6735897c92ce206dea1bc9bfc7ea608e501579fc
refs/heads/master
2020-04-27T02:39:52.821602
2019-03-04T22:05:25
2019-03-04T22:05:25
174,001,712
0
0
null
2019-03-05T18:44:54
2019-03-05T18:44:54
null
UTF-8
Python
false
false
1,131
py
from tempfile import TemporaryDirectory import dotenv import pytest from metabulo.app import create_app from metabulo.models import CSVFileSchema, db csv_file_schema = CSVFileSchema() @pytest.fixture(autouse=True) def mock_load_dotenv(monkeypatch): def do_nothing(*args, **kwargs): pass monkeypatch...
[ "jonathan.beezley@kitware.com" ]
jonathan.beezley@kitware.com
233d73b779b03cf834a83242e06f40e09f453ae7
c52bd2ab2c0b6f6a42d80f903897bcc25159eec9
/authentication/views.py
d835700da21a5277a0b5a2f795e32051a1c7277e
[]
no_license
asad2200/BasicAuth
f1d28ead8343821c12577876a34a688369aa64a1
6ca16e15ce393fff6d6695c6fc045c2d0863b0e8
refs/heads/master
2023-04-05T18:22:41.750930
2021-04-21T11:30:10
2021-04-21T11:30:10
360,124,176
0
0
null
null
null
null
UTF-8
Python
false
false
4,686
py
from django.shortcuts import render from django.contrib.auth import authenticate, login, logout from django.http import HttpResponseRedirect from django.contrib.auth.models import User from .helper import send_mail from .models import Verifiaction, ForgotPassword from simpleAuth import * # Create your views here. def...
[ "asadjakhavala92@gmail.com" ]
asadjakhavala92@gmail.com
39fb857e1010035a63e30e2cc78640fbca348253
3663eb777d1007eeee4ad674df203a6afbfa9953
/_peuler/100-200/123.py
686b3659c6192e4d48b09f6dc88d385c8fc56d3e
[]
no_license
lhr0909/SimonsAlgo
5eeffa4048728e8bd9f1cae095b2fc6748d9f14c
fdfa18e33f5ff8e26e1832ea29216490d3c5973c
refs/heads/master
2016-09-06T20:18:38.627126
2015-04-18T03:30:22
2015-04-18T03:30:22
19,721,896
1
0
null
null
null
null
UTF-8
Python
false
false
495
py
#Related: Project Euler 120 #(a+1)^n == an+1 (mod a^2) #(a-1)^n == an-1 or 1-an (mod a^2) depending whether n is odd or even from MathLib import makePrimes p = makePrimes(250000) def funPowMod(n): a = p[n-1] #print (pow(a - 1, n, a*a) + pow(a + 1, n, a*a)) % (a*a) if n % 2 == 1: return ((a*n+1) ...
[ "no.lhr0909@gmail.com" ]
no.lhr0909@gmail.com
65388c048a9c3ad19f2784cf6af420298bcffd53
128dac2cee9a1022fafcc15a8d4903af678d88ee
/541. Reverse String II.py
cf5f0ae48a43f1d8f24df519a082049407beab5e
[]
no_license
wangtaodd/LeetCodeSolutions
b998d9de408bc2e01b6bff11fcb315b453389bc8
364107c1a74b2fbe72cbf7076f38b9089f7017fb
refs/heads/master
2021-09-11T19:21:10.223002
2018-04-11T11:18:32
2018-04-11T11:18:32
125,821,429
0
1
null
null
null
null
UTF-8
Python
false
false
793
py
""" Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the start of the string. If there are less than k characters left, reverse all of them. If there are less than 2k but greater than or equal to k characters, then reverse the first k characters and left ...
[ "wangtaodd@gmail.com" ]
wangtaodd@gmail.com
3e45a4cd2710eb16d0de02717f24e703c2623d76
3343e5193e2dd14a3dc2c8c375914b12323dea82
/dnacentersdk/api/v2_1_2/issues.py
00e5d2495f506ef3feec98d9afeb71440db89b59
[ "MIT" ]
permissive
sandhjos/dnacentersdk
6b483fe61307d4ea377b4bcc343e77aa7994e8bc
9ca1a1923bc714e49e652099e2d60ee121d789e9
refs/heads/master
2023-04-18T17:52:09.350514
2021-05-07T23:41:47
2021-05-07T23:41:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,578
py
# -*- coding: utf-8 -*- """DNA Center Issues API wrapper. Copyright (c) 2019-2020 Cisco and/or its affiliates. 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 witho...
[ "jbogarin@altus.cr" ]
jbogarin@altus.cr
45afa2598388b49411bf499f76ac1bab0999e887
94c8dd4126da6e9fe9acb2d1769e1c24abe195d3
/qiskit/opflow/evolutions/trotterizations/trotterization_base.py
d92fc7f96a3be6ced9a692fe74d70f7b05a739f4
[ "Apache-2.0" ]
permissive
levbishop/qiskit-terra
a75c2f96586768c12b51a117f9ccb7398b52843d
98130dd6158d1f1474e44dd5aeacbc619174ad63
refs/heads/master
2023-07-19T19:00:53.483204
2021-04-20T16:30:16
2021-04-20T16:30:16
181,052,828
1
0
Apache-2.0
2019-06-05T15:32:13
2019-04-12T17:20:54
Python
UTF-8
Python
false
false
1,898
py
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "noreply@github.com" ]
levbishop.noreply@github.com
c03a9b19945c158c2159ee272a1ffb6146b2eed6
5f971045cca2bd246a73467d988d4a82494edd12
/moxie/cli.py
f5292ed7bce74acc41309b7a2ab2339a200489f7
[ "MIT" ]
permissive
boblannon/moxie
a49dde1e191ec21b6706eb6eca59e0413b9ea1d3
75864eeb2ad5a0a1657833645fc26a5401b92837
refs/heads/master
2021-01-18T07:22:19.950236
2015-03-12T00:22:14
2015-03-12T00:22:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,272
py
# Copyright (c) Paul R. Tagliamonte <tag@pault.ag>, 2015 # # 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...
[ "tag@pault.ag" ]
tag@pault.ag
a3c9d02a4289dc693480acb32bc3e9cbe22e74d4
4a48593a04284ef997f377abee8db61d6332c322
/python/astropy/fits/create_a_2d_fits_image_v2.py
167dae193891b9004554236db4a4cfe3e5017a4a
[ "MIT" ]
permissive
jeremiedecock/snippets
8feaed5a8d873d67932ef798e16cb6d2c47609f0
b90a444041c42d176d096fed14852d20d19adaa7
refs/heads/master
2023-08-31T04:28:09.302968
2023-08-21T07:22:38
2023-08-21T07:22:38
36,926,494
26
9
MIT
2023-06-06T02:17:44
2015-06-05T10:19:09
Python
UTF-8
Python
false
false
733
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Documentation: # - http://docs.astropy.org/en/stable/io/fits/ # - http://docs.astropy.org/en/stable/io/fits/api/files.html # - http://www.astropy.org/astropy-tutorials/FITS-tables.html # - http://www.astropy.org/astropy-tutorials/FITS-images.html # - http://www.astropy....
[ "jd.jdhp@gmail.com" ]
jd.jdhp@gmail.com
13ede39a72625e83da2f53d79d31bd732ab64630
80593bc3dd02e80381b801f96820b28e82d9641c
/lib/deprecated/softphone_test.py
590f58c92201dcf33eaf7c3fbc669cb6c067afb6
[]
no_license
mccrorey48/mtaf_private
39045c1a4b5288b9b9340e29b419590c3beba6bf
0c65aaedca5189a377a78776f52773eac5645bfa
refs/heads/master
2023-04-11T08:22:47.455990
2018-04-30T18:20:14
2018-04-30T18:20:14
105,019,624
0
0
null
null
null
null
UTF-8
Python
false
false
2,787
py
import argparse from time import sleep import lib.logging_esi as logging_esi from ePhone7.config.configure import cfg from lib.softphone.simple_pj import Softphone # process command line arguments parser = argparse.ArgumentParser() parser.add_argument("site_tag", type=str, choices=['mm', 'mm_svlab'], help="specify si...
[ "mmccrorey@esi-estech.com" ]
mmccrorey@esi-estech.com
07c0c801bca2e61022124332d67b77363a0661ee
d3be9a169f4c53110f78382ec71a0c3e4b8d64cb
/fr_celery/urls.py
c8cc543b43bf760d3ae65628f8401324db822563
[ "CC0-1.0" ]
permissive
loganmhb/fedireads
fff76e701a4ed1ae0190ec0ac7574ff8c986d3ae
1a3cf4e3a6d635c81c6bbe24c87bb42e01a5a67c
refs/heads/master
2022-11-08T00:06:18.349832
2020-06-17T00:36:19
2020-06-17T00:36:19
273,030,577
0
0
CC0-1.0
2020-06-17T16:52:46
2020-06-17T16:52:46
null
UTF-8
Python
false
false
751
py
"""fr_celery URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "mousereeve@riseup.net" ]
mousereeve@riseup.net
cbb4649e9d5eb5b8eed61a75ba399352e90836a1
8c7876f5ab975f29406d93c4a5e7272b02840c77
/Project2/Sim_model1&2_stat.py
0f9358b73da650088dcc7e4950712416133125e7
[]
no_license
xl0418/Python
2e53f08e4ec0fd02594e92ccf6968164ba4960fa
7eefc53bc53e4b9bed01d14a7713b7ac98fd5deb
refs/heads/master
2021-09-15T21:34:35.406110
2018-06-11T08:18:56
2018-06-11T08:18:56
119,361,973
1
0
null
null
null
null
UTF-8
Python
false
false
3,762
py
import numpy as np import matplotlib.pyplot as plt from matplotlib import pyplot import seaborn as sns theta = 0 # optimum of natural selection gamma = 0.1 # intensity of natural selection r = 1 # growth rate a = 0.01 # intensity of competition K = 3000 # carrying capacity def ga(gamma, theta, zi, r): return...
[ "xl0418@gmail.com" ]
xl0418@gmail.com
eddbf88f6e196fbddfae7be0fab406d5814fe75e
cf21eb0e8c29abf0f5ebd9d34fc23908b489814b
/experiments/main.py
2a342643f1a84cdb4e6e8c1a133b40a9ccd374a7
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
handcraftsman/PyTorch-Style-Transfer
17f051d73777b6b22fec9f926aee30fa795b25aa
e0fe7ea4ae2055e5ea4a1d907d71ceb17bbd548a
refs/heads/master
2021-05-05T14:53:37.775981
2017-09-19T15:33:19
2017-09-19T15:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,015
py
##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ## Created by: Hang Zhang ## ECE Department, Rutgers University ## Email: zhang.hang@rutgers.edu ## Copyright (c) 2017 ## ## This source code is licensed under the MIT-style license found in the ## LICENSE file in the root directory of this sou...
[ "zhang.hang@rutgers.edu" ]
zhang.hang@rutgers.edu
f55490cf24ef3ef271f45067137c020b418bfb23
eddb5cc6ece559a21fb2d99dc03fb4b9e3e1ddb0
/fagaiwei/fagaiwei/keyword_others/__init__.py
57e09d5de59e615144017060ac2a427284b75e55
[]
no_license
KKtoNN/python_spider
a9bdd005d607b1265a556cb4908e84804c0bfc62
c72bd061c3ca4145fef85b0fd9c15576441cdb09
refs/heads/master
2020-03-18T22:50:00.131802
2018-05-30T00:47:56
2018-05-30T00:47:56
135,367,902
3
0
null
null
null
null
UTF-8
Python
false
false
193
py
# -*- coding:utf-8 -*- __author__ = "jake" __email__ = "jakejie@163.com" """ Project:fagaiwei FileName = PyCharm Version:1.0 CreateDay:2018/5/10 13:50 """ if __name__ == "__main__": pass
[ "18835702864@163.com" ]
18835702864@163.com
fc592256108735f9b3438d113dd08988a56b49a6
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/network/azure-mgmt-privatedns/generated_samples/virtual_network_link_delete.py
06eb8a7bc33ecd8da560b12616700b3c084b23ce
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,655
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
b14ca330cb5f6e2e19654323b692a96ae5bce6f4
84e76ea0f0017e5ed38a0673eb3fe5b4d6c44b6d
/python/asyncioActor/tests/test_actor.py
782abf633f88c300d5f66be9314b5581622e6ed6
[ "BSD-3-Clause" ]
permissive
albireox/asyncioActor
b6a4c83a43cf80889a1aff5229bdd7c3213833f1
4cb6ef0cadae60918202954c1600c39a95fc0986
refs/heads/master
2021-06-30T20:16:21.517330
2019-04-27T20:11:17
2019-04-27T20:11:17
118,184,193
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
#!/usr/bin/env python # encoding: utf-8 # # @Author: José Sánchez-Gallego # @Date: Jan 16, 2018 # @Filename: test_actor.py # @License: BSD 3-Clause # @Copyright: José Sánchez-Gallego from __future__ import division from __future__ import print_function from __future__ import absolute_import import asyncio from asyn...
[ "gallegoj@uw.edu" ]
gallegoj@uw.edu
3eb155b46bfffb70779c3610b195e23cd153ad2b
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part000483.py
19266e008ba71e15e8cabd0abbb9e59ee3f9fc61
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,308
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
5bba60e9e4c7ae62754d46c1886896d1ce15534c
42162a3032b97765e925b111c84ebca05ab991c1
/hal4000/camera/hamamatsuCameraWidget.py
e4412376b5bee216ead0f9a397dcc08907f265fb
[]
no_license
amancebo/storm-control_old
dc8589746d7abfb959a2aa0ea063f3e9a7054aca
c59503eda71252b852b5ce3d45a61f5f03567296
refs/heads/master
2021-03-25T03:05:26.831123
2015-06-01T23:48:17
2015-06-01T23:48:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,455
py
#!/usr/bin/python # ## @file # # A qtCameraWidget specialized for displaying the data from a Hamamatsu camera. # # Hazen 10/13 # import numpy from PyQt4 import QtCore, QtGui import qtWidgets.qtCameraWidget as qtCameraWidget import sc_hardware.hamamatsu.scmos_image_manipulation_c as scmos_im ## ACameraWidget # # Ham...
[ "amancebo8@gmail.com" ]
amancebo8@gmail.com
ad894ede046c1ef0c4109b5df31675da2f2b8a14
042bef5964f5eb29075c304ecd48271e44d51dfe
/xt_update.py
b79c43a6f7c513b9a86dc583b741e972a2e6713d
[]
no_license
dkratzert/platon_update
67c67f55e8e8d6daa3a183e000473c6a6282cf48
6b56506e8a2218241dd04b28a22795d20b032a5e
refs/heads/master
2021-01-20T21:24:00.586997
2018-01-05T09:40:16
2018-01-05T09:40:16
10,551,224
0
0
null
null
null
null
UTF-8
Python
false
false
4,017
py
#/usr/bin/env python #-*- encoding: utf-8 -*- #möp # this script updates the shelt-2013 in the c:\bn\sxtl directory import urllib2 import os import sys import getpass import shutil import platform from argparse import ArgumentParser # options parser for username and password of the download parser = ArgumentParser(de...
[ "dkratzert@gmx.de" ]
dkratzert@gmx.de
4f4eab066252673ff0ec73da7724ce167868f547
7e143eca43b471801547644c01f690b82a0b4bbe
/zero_cost_utils/models/shape_searchs/__init__.py
f0ea69cb01fb03c90a7b38c70f4345e75290bdfc
[ "MIT" ]
permissive
rubinxin/TSE
7a522a61e1c5605ad9152af4da1f38a5793868b0
5f55142f4c1ab482033383968f3267578575f431
refs/heads/main
2023-08-27T16:03:01.573665
2021-10-17T00:48:59
2021-10-17T00:49:00
417,982,958
6
0
null
null
null
null
UTF-8
Python
false
false
302
py
from .SearchCifarResNet_width import SearchWidthCifarResNet from .SearchCifarResNet_depth import SearchDepthCifarResNet from .SearchCifarResNet import SearchShapeCifarResNet from .SearchSimResNet_width import SearchWidthSimResNet from .SearchImagenetResNet import SearchShapeImagenetResNet
[ "robin@robots.ox.ac.uk" ]
robin@robots.ox.ac.uk
2031130a166f0ec5fe584d58cbf43005f0f38622
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/container/clusters/upgrade.py
f67744d4f157cb1e97eb7802ecbcf3305366e9ce
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
10,130
py
# -*- coding: utf-8 -*- # # Copyright 2015 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...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
c9e017a3e77da018221fed237a49a8787664ce82
781e2692049e87a4256320c76e82a19be257a05d
/all_data/cs61a/untarred backup/71.py
e99b6074110c4daa523cdaf5e2c7ecb7b6a42712
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
1,049
py
def num_common_letters(goal_word, guess): """Returns the number of letters in goal_word that are also in guess. As per the rules of the game, goal_word cannot have any repeated letters, but guess is allowed to have repeated letters. goal_word and guess are assumed to be of the same length. goal_word...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
8518fcd3213ab8f2ec93dfd6cf0a35c6698b0d3c
e652c47468adb3682d20213b66e1659ad56c9245
/pathproperties.py
b17837c14bc12d0c79f3b713a1fd68f9983b001d
[]
no_license
anhnguyendepocen/Math-Modeling-Econ-Finance-Python
560d10179961e78869dfef8755440c86fe99e0b6
4b8310e55bfbebefaea238ea13569aa821eb5ade
refs/heads/master
2020-08-26T15:24:20.991273
2019-06-11T16:05:53
2019-06-11T16:05:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,751
py
#! /usr/bin/env python3 import scipy import matplotlib.pyplot as plt p = 0.5 N = 1000 T = 1. # the random walk S = scipy.zeros(N+1) S[1:N+1] = scipy.cumsum( 2*( scipy.random.random(N) <= p ) - 1 ) def WcaretN(x): Delta = T/N prior = scipy.floor(x/Delta).astype(int) subsequent = scipy.ceil(x/Delta).asty...
[ "noreply@github.com" ]
anhnguyendepocen.noreply@github.com
84ba92be52e5950cf81e859caaa02196cce1edb6
5b2e38610d39c05fa7ee08ef6ea51ea4f62c4513
/tests/test_cli.py
4fb08a15de56cd638cfa20b02e0f2c89d8509aa4
[ "MIT" ]
permissive
orinocoz/vl
0321720be782c6db1deee7d774c1a9b5e0d7a9f8
ace56839f249cd9fa64a701fad7bc85b745f1921
refs/heads/master
2020-12-07T15:30:57.935511
2016-07-07T18:29:49
2016-07-07T18:29:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,573
py
import pytest import responses from requests.exceptions import HTTPError from click.testing import CliRunner from vl import cli def reset_globals(): cli.ERRORS = [] cli.DUPES = [] cli.EXCEPTIONS = [] cli.WHITELISTED = [] @pytest.fixture def runner(): return CliRunner() @pytest.fixture def val...
[ "ellisonleao@gmail.com" ]
ellisonleao@gmail.com
dc1a88a7e47468d541b2fb1bee934159f2d333d2
085486ba480b406ec7d25df749953d0ddaa3f295
/script/base_api/service_public/entranceExam.py
db30bbc51d8448369f039c8dc408a5469b823807
[]
no_license
WDD185/Interface-automation
0256d8772a5c25b8207ecfa640a29b50a4d56616
36cdcc30194ab9064fd9a06388cb34be30adbdc5
refs/heads/main
2023-06-19T21:15:17.518032
2021-06-22T10:17:40
2021-06-22T10:17:40
358,517,305
0
0
null
null
null
null
UTF-8
Python
false
false
3,387
py
from common.run_method import RunMethod import allure @allure.step("极运营/教务管理/入学诊断") def entranceExam_query_post(params=None, body=None, header=None, return_json=True, **kwargs): ''' :param: url地址后面的参数 :body: 请求体 :return_json: 是否返回json格式的响应(默认是) :header: 请求的header :host: 请求的环境 :return: 默认j...
[ "2356401963@qq.com" ]
2356401963@qq.com
d73acdea2b734ebb10e48a8076652ddaf8955d6d
123cf58c5dc4800d5d50fd2934cc63be1080e093
/data/clustering/generate_data.py
d8a57b5e5675123e8271a58745694bde3ceca8f6
[]
no_license
nitishgupta/char-encode-decode
dd303a9aa77a3af9000e275bcb86abb18d0b7d84
eb4bbb8be701c3cbb4476a779094c45458a1daef
refs/heads/master
2021-04-30T23:25:49.895472
2017-09-03T06:37:55
2017-09-03T06:37:55
66,794,519
2
0
null
null
null
null
UTF-8
Python
false
false
938
py
import os import numpy as np import tensorflow as tf import random import utils np.set_printoptions(threshold=np.inf) flags = tf.app.flags flags.DEFINE_string("data_filepath", "data/clustering/data.txt", "Filepath for generated data. Default : data/clustering/data.txt") flags.DEFINE_integer("num_points", 100000, "Num...
[ "gnnitish@gmail.com" ]
gnnitish@gmail.com
c8fe917c4ad8e139749e67046d1fc21652c49cea
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/428/usersdata/281/88198/submittedfiles/jogoDaVelha.py
7336a21621a0eb4de13437374964bd7396dcddcd
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
# -*- coding: utf-8 -*- from jogoDaVelha_BIB import * # COLOQUE SEU PROGRAMA A PARTIR DAQUI print('Bem vindo ao jogo da velha da equipe ...') nome=str(input('Qual o seu nome (ou apelido)? ')) simb ()
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4bdf9803baf5511f708d45a35ac98f2d4f1ca420
a321652061fd5c389490030f898a0191a35f21c3
/models/cells/PC2015Masoli/protocols/03_positive_current_inj.py
873ec93484d2d59dde4d2e3649bccb22cb5a3421
[ "BSD-3-Clause" ]
permissive
cerebunit/cerebmodels
5c4b1485e68d078988ff7057385309a26e05415a
316d69d7aed7a0292ce93c7fea20473e48cfce60
refs/heads/master
2023-02-18T06:45:08.716877
2022-07-18T11:34:13
2022-07-18T11:34:13
139,698,484
0
1
BSD-3-Clause
2023-02-10T21:20:07
2018-07-04T09:15:24
AMPL
UTF-8
Python
false
false
2,486
py
# 03 - Positive current injections from 0.1 to 1.5nA. from Purkinje import Purkinje from neuron import h import multiprocessing import numpy as np #fixed time step only Fixed_step = h.CVode() Fixed_step.active(0) #the model does not work with the variable time step! #Instantiation of the cell template cell = Purkin...
[ "neuralgraphs@gmail.com" ]
neuralgraphs@gmail.com
1392f79bd911aa7689ca1c541dda6c17bad52fbc
b9022c3d2a463ca3f363b09ee5c387a76fa10fbd
/PAST2e.py
170dba5345b5b759e9c640ea276535d93d7fdacb
[]
no_license
galileo15640215/atcoder
1371c90bbed185327cd5c3ce32516b5306889db8
27f17573589a43e5ac479e8df048ba461b942b83
refs/heads/master
2021-07-20T14:19:29.361693
2021-07-11T14:34:56
2021-07-11T14:34:56
194,278,891
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
n = int(input()) a = list(map(int, input().split())) ans = [] for i in range(n): key = a[i] x = i cnt = 1 x = a[x]-1 while i != x: cnt += 1 x = a[x]-1 ans.append(cnt) for i in range(n-1): print(ans[i], end=' ') print(ans[-1])
[ "ktaishiro1227@gmail.com" ]
ktaishiro1227@gmail.com
da6253a4f4285664eb94c0a6e020c16fbcc993c6
35b460a5e72e3cb40681861c38dc6d5df1ae9b92
/CodeWars/7/spinWords.py
aa76ba7c0f9276b0cced39bcb7411400c2f30a9d
[]
no_license
robgoyal/CodingChallenges
9c5f3457a213cf54193a78058f74fcf085ef25bc
0aa99d1aa7b566a754471501945de26644558d7c
refs/heads/master
2021-06-23T09:09:17.085873
2019-03-04T04:04:59
2019-03-04T04:04:59
94,391,412
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
# Name: spinWords.py # Author: Robin Goyal # Last-Modified: June 28, 2018 # Purpose: Return a string with all words with five or more letters reversed def spin_words(sentence): """spin_words(sentence) (str) -> str Return a string with all words with five or more letters in sentence reversed. Ex...
[ "goyal.rob@gmail.com" ]
goyal.rob@gmail.com
18936bcc31932d0c01edef8d8e2369f397752218
2c2f540f1368368f7bcd5139c6e7c1aec2e56ab8
/tests/unit_tests.py
9748dcd682d4665f5013d77ab0edc9493deeab18
[ "MIT" ]
permissive
johntelforduk/monopoly-simulation
8c630aedcbe9f0e5c26a37ee3dbcc762bd641e19
b6e35a46e68955695f7b6ee3e45b0d97f76829ca
refs/heads/master
2020-06-28T22:26:11.956940
2019-08-31T18:49:31
2019-08-31T18:49:31
200,358,094
2
0
MIT
2019-08-31T18:49:32
2019-08-03T09:40:00
Python
UTF-8
Python
false
false
11,950
py
# Run unit tests on various modules. import dice import board import cards import player import game import rotate_list import curried_percentile as cp import unittest # These tests based on, https://docs.python.org/3/library/unittest.html class TestDice(unittest.TestCase): # Rol...
[ "jtelford1@gmail.com" ]
jtelford1@gmail.com
10db82aa489210a0aeddd676190553cfeeff02b1
0365a6f39cd8712a792753a95909f9cde79e497e
/src/python/twitter/pants/targets/__init__.py
bf59c4a2715452457f24812ff7d8072d463e8f87
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ilsanbao/commons
c50280d7735838c54b614b5c66fb68f0e70d7f56
96557b2ed63a47e047e6cb0578138a953053aefb
refs/heads/master
2021-01-18T08:06:40.894863
2012-04-13T17:11:56
2012-04-13T17:11:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,799
py
# ================================================================================================== # Copyright 2011 Twitter, Inc. # -------------------------------------------------------------------------------------------------- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
[ "jsirois@twitter.com" ]
jsirois@twitter.com
799b0364e7af670dee2393825a9831c7e216c6a8
2b14ef0b8c086a2dd047f6fab6f565f27c3634c6
/BOJ/브루트포스/체스판다시칠하기.py
80c5a0ba2f31cf346591333f27b534527186179d
[]
no_license
psj8532/problem_solving
055475bbdc8902ed4d19fd242d95dff461cc9608
8ae06fc935c3d0a3c5ec537f13677b0534869df3
refs/heads/master
2023-06-09T10:16:01.248293
2021-05-07T03:09:38
2021-05-07T03:09:38
240,618,744
1
1
null
null
null
null
UTF-8
Python
false
false
651
py
#08:02 def change(i,j,c): cnt=0 for y in range(i,i+8,2): for x in range(j,j+8,2): if matrix[y][x]!=c: cnt+=1 if matrix[y][x+1]==c: cnt+=1 if matrix[y+1][x]==c: cnt+=1 if matrix[y+1][x+1]!=c: c...
[ "psj8532@naver.com" ]
psj8532@naver.com
6d6deccaee51b4839fa0fd264fa3bcbe5c0e4448
c8a9d66efb29a9a5d5a42b74c252eeb91f20e2f8
/survae/optim/schedulers/__init__.py
b9026742200bcd03694e882c824c150e996de5a1
[ "MIT" ]
permissive
alisiahkoohi/survae_flows
60ebfa86506f4139ce1fd9508e9c1e0dbdd1bdff
e1747b05524c7ab540a211ed360ab3e67bc3e96d
refs/heads/master
2022-12-19T15:18:42.587276
2020-09-17T12:34:51
2020-09-17T12:34:51
290,247,391
1
0
MIT
2020-08-25T15:08:02
2020-08-25T15:08:01
null
UTF-8
Python
false
false
49
py
from .linear_warmup import LinearWarmupScheduler
[ "didrik.nielsen@gmail.com" ]
didrik.nielsen@gmail.com
2f490df0d9687ad6125add738d6a1b475be1fd12
69dde01994a9532ceaf10b3d7dd8d42cc80e782e
/csv파일 다루기.py
581c8c79003e7ef0b95a35ff860ecd9307a1e7cc
[]
no_license
ssh6189/2019.12.13
77a6633c3bcb216044f070a6922f90ec2c115d4c
4e0e04bbb393db9b2b32c4d52f73b01edb0637ec
refs/heads/master
2020-12-13T19:10:06.400020
2020-01-19T07:22:34
2020-01-19T07:22:34
230,225,699
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
import csv seoung_nam_data = [] header = [] rownum = 0 with open("C:/Users/student/Desktop/csv 파일 만들기.csv", "r", encoding = "cp949") as p_file: csv_data = csv.reader(p_file) for row in csv_data: if rownum == 0: header = row location = row[7] if location.find(u"성남시")!=-1: ...
[ "ssh6189@naver.com" ]
ssh6189@naver.com
0dc67b8d708ad3e0cd657a780c3cc50166b79c33
9c368c9fe78a2dd186daeed2d0714651c1c27d66
/absorption/ml_project/analyse_spectra/plot_Ndelta_Z.py
309539a6b7bc491452d32e067ee64f078242a4ae
[]
no_license
sarahappleby/cgm
5ff2121919e36b10069692f71fb1dc03f3678462
656bf308771dd3ff2f8c2e77107cdc14507c7ce7
refs/heads/master
2023-01-24T03:10:01.610418
2023-01-20T11:04:31
2023-01-20T11:04:31
160,820,718
2
0
null
null
null
null
UTF-8
Python
false
false
8,768
py
import matplotlib.pyplot as plt from matplotlib.lines import Line2D from matplotlib import colors from matplotlib import cm import matplotlib.patheffects as mpe import seaborn as sns import numpy as np import h5py import pygad as pg from scipy.optimize import curve_fit import sys sys.path.append('/disk04/sapple/tools'...
[ "sarahappleby20@gmail.com" ]
sarahappleby20@gmail.com
d3e4a0045a36a4866c2573a880c0ccaa421730fe
644bcdabf35261e07c2abed75986d70f736cb414
/python-project/Premiere/Suites/Trace_suite_Test.py
0652871bfa4a44c038a209dec5aa28c68999f622
[]
no_license
matcianfa/playground-X1rXTswJ
f967ab2c2cf3905becafb6d77e89a31414d014de
67859b496e407200afb2b1d2b32bba5ed0fcc3f0
refs/heads/master
2023-04-03T11:56:15.878757
2023-03-24T15:52:37
2023-03-24T15:52:37
122,226,979
5
20
null
null
null
null
UTF-8
Python
false
false
250
py
#Ne pas oublier de changer le module à importer import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt fig=plt.figure() import Trace_suite fig.savefig('output.png', dpi=fig.dpi) print("TECHIO> open -s /project/target/ index.html")
[ "noreply@github.com" ]
matcianfa.noreply@github.com
6c5fe4b4fb45676b194b907834d05bafd699fa25
006ff11fd8cfd5406c6f4318f1bafa1542095f2a
/DQM/L1TMonitorClient/python/L1TEMUEventInfoClient_cff.py
fe2f407682505cd2a87cdb4282d4e736aa9ea5ce
[]
permissive
amkalsi/cmssw
8ac5f481c7d7263741b5015381473811c59ac3b1
ad0f69098dfbe449ca0570fbcf6fcebd6acc1154
refs/heads/CMSSW_7_4_X
2021-01-19T16:18:22.857382
2016-08-09T16:40:50
2016-08-09T16:40:50
262,608,661
0
0
Apache-2.0
2020-05-09T16:10:07
2020-05-09T16:10:07
null
UTF-8
Python
false
false
33,097
py
# # L1 Emulator Event Info client cff # # authors previous versions - see CVS # # V.M. Ghete 2010-10-22 revised version of L1 emulator DQM # V.M. Ghete 2012-06-01 get l1temuEventInfoClient by cloning l1tEventInfoClient import FWCore.ParameterSet.Config as cms import DQM.L1TMonitorClient.L1TEventInfoClient_cfi l...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
081453da12d349187342184c3a484281180a72cd
b93b1a471f3c1a423b42d398a20ff83eb8b15e4d
/exacttarget/messages.py
d9e84b98d86f17ccdac9443be4713f9cdbab2bac
[ "ISC" ]
permissive
pombredanne/django-exact-target
b6a41d0d4ae62a9dbcdb691e381f104951174c4b
2e8d156c2dc63c47f12385434fa2f4f7ba3dcf87
refs/heads/master
2021-01-18T12:20:27.150044
2016-04-15T15:48:08
2016-04-15T15:48:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
from raven.contrib.django.raven_compat.models import client as raven_client import requests from . import token, exceptions class TriggeredSend(object): url_base = 'https://www.exacttargetapis.com/messaging/v1/messageDefinitionSends' def __init__(self, external_key): self.external_key = external_key ...
[ "crgwbr@gmail.com" ]
crgwbr@gmail.com
2dfec27d8b3ebdc7fe11fce2a0f158e0de5a9d9e
0f074e5adef64fa16e88dc2499e76f08b4c33c02
/numpy_菜鸟教程/05_数组属性/0504_ndarray_itemsize_元素大小字节.py
a204f787b66773f537686c9888c4f73bd71c8f1b
[]
no_license
guozhenjiang/Python
0ac39adaf72df0bfee51795fabcfd959a69b1862
44b07bd767f3f2a947331111ab920200ac2412c6
refs/heads/master
2021-05-19T16:54:40.725132
2020-11-19T16:26:26
2020-11-19T16:27:11
252,035,380
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
''' ndarray.itemsize ndarray.itemsize 以字节的形式返回数组中每一个元素的大小。 例如,一个元素类型为 float64 的数组 itemsiz 属性值为 8 (float64 占用 64 个 bits,每个字节长度为 8,所以 64/8, 占用 8 个字节), 又如,一个元素类型为 complex32 的数组 item 属性为 4(32/8)。 ''' import numpy as np # 数组的 dtype 为 int8(一个字节) x = np.array([1, 2, 3, 4, 5], dtype = np.int8) print(x.itemsize) # 数组的 dtype...
[ "guo_zhen_jiang@163.com" ]
guo_zhen_jiang@163.com
480b080bcbae33bd87031c64dec01cada6c08685
a11d83fced34854664fac72e18d48fde6aa967e4
/0x0C-python-almost_a_circle/models/square.py
954c96149f404847072a31482d71bdb409e0a29c
[]
no_license
afarizap/holbertonschool-higher_level_programming
ffe0bf1440726c952f4dd28b908eabc4ccb5225b
ad39e58f9cb20cba4b9e2c14075f216097588f47
refs/heads/master
2023-03-30T15:39:35.184484
2021-03-22T22:55:24
2021-03-22T22:55:24
259,437,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,552
py
#!/usr/bin/python3 """ Square inherited from rectangle """ from models.rectangle import Rectangle class Square(Rectangle): """ And now the square """ def __init__(self, size, x=0, y=0, id=None): """ imported attributes from Base """ super().__init__(size, size, x, y, id) def __str__(se...
[ "afarizap@gmail.com" ]
afarizap@gmail.com
5dfb0fb227673335395f14b57fec0bab3024ff8f
8be1292327bdc5330dff6985d0d5702d2fe35fa3
/letsencrypt/acme/jose/jwa.py
b32e6bc66ce4ae1978e3518a5920dff88156fec7
[ "MIT", "Apache-2.0" ]
permissive
CohibAA/lets-encrypt-preview
53cd3edf47bd5789b444776a9d74ede7837769c5
1d8281d15d481bab50918e3dd7150fbb88ae643a
refs/heads/master
2021-01-22T06:27:34.467020
2015-04-23T21:11:31
2015-04-23T21:11:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,727
py
"""JSON Web Algorithm. https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40 """ import abc from Crypto.Hash import HMAC from Crypto.Hash import SHA256 from Crypto.Hash import SHA384 from Crypto.Hash import SHA512 from Crypto.Signature import PKCS1_PSS from Crypto.Signature import PKCS1_v1_5 from lets...
[ "jakub@warmuz.org" ]
jakub@warmuz.org
5e152b7e578d565a0943cc4d821e0029ded19482
a8b37bd399dd0bad27d3abd386ace85a6b70ef28
/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_brands.py
510d2492d7b22d3ae9a666f885b753fa1470a816
[ "MIT", "LicenseRef-scancode-free-unknown", "Elastic-2.0" ]
permissive
thomas-vl/airbyte
5da2ba9d189ba0b202feb952cadfb550c5050871
258a8eb683634a9f9b7821c9a92d1b70c5389a10
refs/heads/master
2023-09-01T17:49:23.761569
2023-08-25T13:13:11
2023-08-25T13:13:11
327,604,451
1
0
MIT
2021-01-07T12:24:20
2021-01-07T12:24:19
null
UTF-8
Python
false
false
590
py
# # Copyright (c) 2023 Airbyte, Inc., all rights reserved. # from decimal import Decimal from typing import Dict from .common import CatalogModel class BrandsCampaign(CatalogModel): campaignId: Decimal name: str tags: Dict[str, str] budget: Decimal budgetType: str startDate: str endDate:...
[ "noreply@github.com" ]
thomas-vl.noreply@github.com
eec473899b439f5d2fcd3322fbd68c93c35273ed
6f0eaf71ad20b9abbd94cfdaebae5c28133737a9
/godzila/urls.py
189de11afc0d996b51f5825514e07d937a35748c
[]
no_license
alirezahi/DjangoTemplate
6a839e4d498ca66dc37571a24ab53379de0b5288
e11ef1b304c7ba2af798a019b359f252bfc5df39
refs/heads/master
2020-07-06T10:39:00.144619
2019-08-17T13:28:41
2019-08-17T13:28:41
202,989,343
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
from django.urls import path from .views import hello_world, render_html urlpatterns = [ path('hello_world/<int:django>',hello_world,name='hello_world'), path('render_test',render_html, name="render_test") ]
[ "alireza97hi@gmail.com" ]
alireza97hi@gmail.com
cbbb2f75265ccf44a0906b90f513ad87cc167299
1cf47a28043a7318738c7f719198ff8121aea84a
/instruments/__init__.py
61d94a1ded3bd6a2cb07b861e6e737b081d8e50c
[ "MIT" ]
permissive
geyang/instruments
54c4feb180ab83de451c3d931c750f47b4a5579d
e488e03c03fc175d1ec4ce8301a28bf9c31da832
refs/heads/master
2021-05-31T21:29:43.592744
2016-03-02T22:39:40
2016-03-02T22:39:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
__author__ = 'Ge Yang' from instrumenttypes import *
[ "yangge1987@gmail.com" ]
yangge1987@gmail.com
7149efdfb8ac996f4fe6e7d90a6e845d36fbe39a
5ae3bc1920fafc33693cdfa3928a48158aa6f725
/269/269-0.py
b1ad6165fc1983210a39be72da9f19a76a0f9aa6
[]
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
2,134
py
from collections import defaultdict, deque class Solution: def alienOrder(self, words): """ :type words: List[str] :rtype: str """ in_degree = {} graph = defaultdict(set) for index in range(len(words)): word1 = words[index] ptr...
[ "jcyang@MacBook-Air.local" ]
jcyang@MacBook-Air.local
70f9cc1a15a9dc9c288f9f8c0642db4b1bed6e8b
f6631c40a0c1d5bb5de183d9723bf04544263d8a
/B8/B8_3_7/main.py
aa766857c65eeb382ce509d9119ab28b5dd138ac
[]
no_license
AidysM/Skillfactory-learning-mongush
36eabe36f8a08c541e9c958ff41601d0fe09e2eb
393f77b4c4538189947f7500207f7e5f3c986eb2
refs/heads/main
2023-04-24T07:53:59.981439
2021-05-07T15:23:34
2021-05-07T15:23:34
365,276,124
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from models import * def main(): r = int(input('Введите радиус круга:\n')) a = int(input('Введите длину прямоугольника:\n')) b = int(input('Введите ширину прямоугольника:\n')) if circle_area(r) > rect_area(a, b): print('Площадь круга больше') else: print('Площадь прямоугольника б...
[ "mongush10011979@gmail.com" ]
mongush10011979@gmail.com
d6baa7b3dfd646bd303f0d080a99b9c685416cc2
12456a67b785bfeaf6d0685e174cc760042e4d3f
/__init__.py
355258c4de6a4c7b5766bc69c05cca94b5cf859d
[]
no_license
hsorby/zincdatasourcestep
1077e98ac1ef4de4b25aa91e10ccf5946559e441
1d501d9f22afbba3a59243f382f3c58e9d133db2
refs/heads/master
2020-04-05T23:20:06.715064
2013-09-30T03:04:16
2013-09-30T03:04:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
''' MAP Client, a program to generate detailed musculoskeletal models for OpenSim. Copyright (C) 2012 University of Auckland This file is part of MAP Client. (http://launchpad.net/mapclient) MAP Client is free software: you can redistribute it and/or modify it under the terms of the GNU General Publi...
[ "h.sorby@auckland.ac.nz" ]
h.sorby@auckland.ac.nz
0fe8393376ba60574a22c86a69c95a88f9e4649f
fc6115d75f92ceb999dc09ce8634a64739d81252
/Uri_Online_Judge/1652.py
314561ffbf7056f3c597b974b02d962363fac4cd
[]
no_license
tapumar/Competitive-Programming
973ef57a1f30e58816cfe00decdca3a8d0e8f198
7e9b1682bdbd29bd75f2b37f39de396b08bd09d4
refs/heads/master
2021-05-15T19:28:27.317349
2020-12-09T19:47:53
2020-12-09T19:47:53
107,702,010
4
3
null
2020-10-22T11:06:13
2017-10-20T16:36:18
Python
UTF-8
Python
false
false
874
py
l,n = input().split() irregular ={} for i in range(int(l)): a,b = input().split() irregular[a] = b for j in range(int(n)): comida = input().strip() try: plural = irregular[comida] print(plural) except: if comida[len(comida)-1] == "y" and comida[len(comida)-2] != "a"and c...
[ "noreply@github.com" ]
tapumar.noreply@github.com
20b2faa2735df493e23f678a38b4d9139f61a8a5
9e2935a5186914e44a739989c9b5c1a89fef9f65
/rain_no_sucess/rain.py
f99b33d18c17ff248f8699c3c549bd9597012324
[]
no_license
raspberrypitools/sensor
a36001f0eea6e423ea1659c7bb514e244a12bcf6
96e731416843c6cba04e3e549a59714123e665e6
refs/heads/master
2021-02-17T09:58:22.822618
2020-06-12T14:40:33
2020-06-12T14:40:33
245,087,406
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
import RPi.GPIO as GPIO import time GPIO.setmod(GPIO.BCM) GPIO.setup(18,GPIO.IN) while True: if GPIO.input(18): print("no rain") else: print("rain") time.sleep(1)
[ "you@example.com" ]
you@example.com
478208796e51f4b1442cb2e4f4243df3306e2627
69fff86731eb12d0879c7232c975728c0c444dc6
/modpin/src/SBI/structure/residue/ResidueOfNucleotide.py
e96a8e6275ae96b14526ff010f8e3e3361e70640
[]
no_license
structuralbioinformatics/MODPIN
158565405b0e7bddaec554add53c4a33beddfd39
e06e0ac107de3a025d9d4961518393109dfd55db
refs/heads/master
2021-07-07T16:46:40.602447
2020-07-17T12:32:11
2020-07-17T12:32:11
132,624,679
2
1
null
null
null
null
UTF-8
Python
false
false
5,347
py
""" Nucleotide author: jbonet date: 02/2013 @oliva's lab """ from . import Residue from SBI.data import nucleic3to1, nucleic1to3 import numpy as np class ResidueOfNucleotide(Residue): """ A {Nucleotide} collects a series of {NucleotideAtom}s """ def __init__(self, number, version, Rt...
[ "patriciamirelabota@gmail.com" ]
patriciamirelabota@gmail.com
f9ce96321d78d7876f000687da1a581ca1819103
fdb8f0ad3aced1299b2302fabd912177db74eb1d
/examples/networkx_examples/networkx_shortest_path.py
af994744d4e2f502a04116b31a3e8ab6d10300a2
[ "MIT" ]
permissive
SpencerZPoole/pythontools
e0bbf20559ec75d1c9e228635d4d23c97a1d7de0
b7d28639af47653a991f7377a52bc6e038ac1513
refs/heads/master
2023-06-05T19:53:48.944458
2021-06-18T00:14:30
2021-06-18T00:14:30
361,895,697
0
0
MIT
2021-04-27T19:35:04
2021-04-26T21:14:02
null
UTF-8
Python
false
false
272
py
import networkx class Edge: a = 'a' b = 'b' c = 'c' d = 'd' graph = networkx.Graph() graph.add_edges_from([ (Edge.a, Edge.b), (Edge.a, Edge.c), (Edge.c, Edge.d), (Edge.b, Edge.d), ]) print(networkx.shortest_path(graph, Edge.a, Edge.d))
[ "laptopblaster@gmail.com" ]
laptopblaster@gmail.com
24a634db02a5af80285f4512fd0ea50b9d9117e9
11b8c06280fd776be2dfc9a29ef5c1d3beacdc03
/bumps/dream/outliers.py
fb608d2e3ceb73c69d388b34fc672322be9a001f
[ "LicenseRef-scancode-public-domain" ]
permissive
ScottSWu/bumps
4a47d58d84542da177c683f0d431eb1990cee362
11ed2e548a33c5d3ff3171240495bd8cf4f58d39
refs/heads/master
2020-12-25T12:57:31.238003
2013-06-21T19:55:36
2013-06-21T19:55:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,640
py
""" Chain outlier tests. Given a """ from numpy import mean, std, sqrt, argsort, where, argmin, arange from matplotlib.mlab import prctile from scipy.stats import t as student_t tinv = student_t.ppf from mahal import mahalanobis from acr import ACR from . import util def identify_outliers(test, chains, x): """ ...
[ "paul.kienzle@nist.gov" ]
paul.kienzle@nist.gov
38537075fa37d9a9bfd61ed7bc5e181bb0fc7960
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/43ac887560a1752afb8ec62f4c52800f3c2b18d580427e8dbbe4bfa46a5f0300/_cython_0_29_5.py
7ad81ec4e9cd8e656d6f6729f65e30aa2fdef17b
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
9,750
py
# encoding: utf-8 # module _cython_0_29_5 # from C:\Users\Doly\Anaconda3\lib\site-packages\scipy\cluster\_vq.cp37-win_amd64.pyd # by generator 1.147 # no doc # no imports # Variables with simple values __loader__ = None __spec__ = None # no functions # classes class cython_function_or_method(object): def __cal...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
205cbd225d7e84c236cece8319057dab15ac7399
84e63bf2781557addffed2bbaf9bc27a27d8228c
/yolov4-deepsort-master/utils/convert_longlat_to_cartesian.py
6e52d36f220bb2cb3bc88a9d91f4de9650b6e99d
[ "MIT" ]
permissive
hamhochoi/Object-Tracking
a2d97d3f5048a6c86f1a3ba754bf6eef6928ffa9
15fe5fba3a554c906dfd5e3b0a4e894e4b39a05b
refs/heads/master
2023-05-11T13:42:51.907638
2021-05-28T08:52:53
2021-05-28T08:53:48
370,623,233
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
from pyproj import Transformer transformer = Transformer.from_crs(4326, 3857, always_xy=True) # Enforce lon,lat order def convert(long, lat): x, y = transformer.transform(*(long, lat)) return x, y if __name__ == "__main__": lonlat_1 = (5.9740689, 45.52755007) # Center of the roundabout on google...
[ "dothanhwork2017@gmail.com" ]
dothanhwork2017@gmail.com
c6d48746150908e3924ea76b47c420f24b16ff47
d66818f4b951943553826a5f64413e90120e1fae
/hackerrank/Python/The Minion Game/test.py
5312133d427eb2d55f632d6084d4fb0fc69a7046
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
372
py
import io import unittest from contextlib import redirect_stdout import solution class TestQ(unittest.TestCase): def test_case_0(self): text_trap = io.StringIO() with redirect_stdout(text_trap): solution.minion_game('BANANA') self.assertEqual(text_trap.getvalue(), 'Stuart 12\n...
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
3bbaf3e20c5a67b225d229b3c64cd6cf628c280c
8ce8147b354e2d7661ae14c57ff6ac41ce757590
/app.py
ac459405c26a291c54b3eadfe98202cb953225b0
[]
no_license
jonathansylvestre/Mission-to-Mars
3dcaa49969643bf92b916cfe814a2331d0532a7b
3e01fd7adfaaec69c78aa325857f80258d89230b
refs/heads/main
2023-08-21T20:30:25.515983
2021-10-21T00:08:47
2021-10-21T00:08:47
416,526,392
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
from flask import Flask, render_template, redirect, url_for from flask_pymongo import PyMongo import scraping app = Flask(__name__) # Use flask_pymongo to set up mongo connection app.config["MONGO_URI"] = "mongodb://localhost:27017/mars_app" mongo = PyMongo(app) @app.route("/") def index(): mars = mongo.db.mars.fi...
[ "jonathan@Jonathans-MacBook-Pro.local" ]
jonathan@Jonathans-MacBook-Pro.local
12795bb6fefd5c5f9d18c36c7dca93f303981f7d
726ce8dddbb12af1662e002633bfe538ddf77708
/matplotlib-0.99.0-py2.5-win32.egg/matplotlib/image.py
b4c1441ed7feb6c918f545dfae974fc921433dcc
[]
no_license
bopopescu/BCPy2000-1
f9264bb020ba734be0bcc8e8173d2746b0f17eeb
0f877075a846d17e7593222628e9fe49ab863039
refs/heads/master
2022-11-26T07:58:03.493727
2019-06-02T20:25:58
2019-06-02T20:25:58
282,195,357
0
0
null
2020-07-24T10:52:24
2020-07-24T10:52:24
null
UTF-8
Python
false
false
31,346
py
""" The image module supports basic image loading, rescaling and display operations. """ from __future__ import division import os, warnings import numpy as np from numpy import ma from matplotlib import rcParams import matplotlib.artist as martist from matplotlib.artist import allow_rasterization import matplotlib....
[ "vanessa_kamara@my.uri.edu" ]
vanessa_kamara@my.uri.edu
659eefae4142ccd2f8cdac0e585db8f9b37fb99f
42aec7bae41d738594467789af6091cb2a2c2643
/tests/test_trs2wes.py
b9a661f743711ed8aec512ae3449edc2f9b07ee1
[ "Apache-2.0" ]
permissive
ga4gh/cloud-interop-testing
9f923f05e15eb21c1c743b0b39e237d79af38e7c
e2b3422f6867ce632c65e017d7b558f3cce9fcf1
refs/heads/develop
2021-07-15T14:54:22.100085
2019-09-30T20:22:17
2019-09-30T20:22:17
120,816,110
5
1
Apache-2.0
2019-09-30T19:53:05
2018-02-08T20:47:45
Python
UTF-8
Python
false
false
8,347
py
import logging import os import pytest import mock import yaml import json from ga4ghtest.converters.trs2wes import fetch_queue_workflow from ga4ghtest.converters.trs2wes import store_verification from ga4ghtest.converters.trs2wes import get_version from ga4ghtest.converters.trs2wes import get_wf_info from ga4ghtest.c...
[ "james.a.eddy@gmail.com" ]
james.a.eddy@gmail.com
4255d9f9717f9b5848f0bef69849d3efa41c4867
ca3ff0bc4f7e9e8fcf677afa3a1a18dd2129a5d4
/daily_problems/problem_0_to_100/problem_87.py
8462a923f3f0f3306624b2af3df4d92f428fd98e
[ "MIT" ]
permissive
rrwt/daily-coding-challenge
d9b23a82a1a3c4824b8f1aeacf6584afc5189ce7
4dcd59eaff021be0b9b1aba1dda73248c81454b7
refs/heads/master
2022-05-29T04:32:44.406196
2022-05-25T01:12:01
2022-05-25T01:12:01
181,972,357
1
0
MIT
2021-04-20T19:58:43
2019-04-17T21:41:25
Python
UTF-8
Python
false
false
2,098
py
""" A rule looks like this: A NE B means this means point A is located northeast of point B. A SW C means that point A is southwest of C. Given a list of rules, check if the sum of the rules validate. For example: A N B B NE C C N A does not validate, since A cannot be both north and south of C. A...
[ "rohitrawat2000@gmail.com" ]
rohitrawat2000@gmail.com
d1b0af07c602dff331d14e4bf45d0e828969e71d
691f060037afee52a7a242780796259793be97cb
/graphs/plotly_renders/three_d.py
1c29fc28bd83facd4ece1bf78e15679fc2fece39
[]
no_license
iketutg/Covid-19-Dash-Map
b28c204412035fbbc0592aaea76efedaaa196509
dd2a306bcc7a44a16285d5f1a240e9073ba7b4f9
refs/heads/master
2023-01-24T15:25:02.735910
2020-08-31T00:18:29
2020-08-31T00:18:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
import plotly.graph_objects as go import datetime import pandas as pd from graphs.objects import tabe_view_data_async from async_pull import fetch_to_date def three_d(data): print(data[-1]['lastUpdate'][0]) graphs = [] for x in data: graphs.append(go.Bar( x=x['lastUpdate'], ...
[ "ajkiesewetter@gmail.com" ]
ajkiesewetter@gmail.com
63691a64a68568257709f1a11999786ea02e6b26
c7be03a4a8160750a3260609abe23a115a29848b
/Problems/21. Add Binary/Add_Binary.py
fbcaf898597bd228089b067b17cac54251349da9
[]
no_license
kenlee0305/Leetcode-Automation
9399a362d0b97f8ee9226a74c847e37d50d34d2b
fc89cb7cc3f6f136200ca9acf3c6db10ad972ca4
refs/heads/main
2023-06-03T03:03:20.068567
2021-06-16T07:31:36
2021-06-16T07:31:36
424,152,427
1
0
null
2021-11-03T08:55:25
2021-11-03T08:55:24
null
UTF-8
Python
false
false
642
py
class Solution(object): def addBinary(self, a, b): """ :type a: str :type b: str :rtype: str """ sum1 = 0 sum2 = 0 length = len(a) len2 = len(b) for i in range(0, length): sum1+= int(a[length-i-1])*pow(2, i) for i in...
[ "aj97389@gmail.com" ]
aj97389@gmail.com