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
0d0e45b717500e7096f723da45140055b013f0af
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnbedew.py
903345cf4acfef6232547aba112b5421e03d2b8f
[]
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
65
py
ii = [('GodwWSL2.py', 3), ('AinsWRR3.py', 1), ('FerrSDO2.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
e914f312a676793d37bbd0b6ebd106a5a1ed8467
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/sankey/node/line/_widthsrc.py
f4b333792ea5fe507c7ee8f990eed4194966516e
[ "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
419
py
import _plotly_utils.basevalidators class WidthsrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__( self, plotly_name="widthsrc", parent_name="sankey.node.line", **kwargs ): super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=...
[ "noreply@github.com" ]
hugovk.noreply@github.com
5cd9a52daf3835b8c6d129f6f036940adfa985e3
700bf615913fa5dd8686fac51b444f691023a035
/igrins/recipes/recipe_wvlsol_sky2.py
2ccbf18967d717ff08c39a6b8788abb53a01a2d4
[]
no_license
shihyuntang/plp
e24da3d23debabb61edfca5416a72577717c6195
842a5db71dfe57d1b3bf8ac292dabdb69830ac7f
refs/heads/master
2023-03-09T06:13:50.874801
2021-02-26T20:03:20
2021-02-26T20:03:20
285,095,289
0
0
null
2020-08-04T20:42:51
2020-08-04T20:42:50
null
UTF-8
Python
false
false
6,854
py
# This is to use new framework. Let's use this to measure flexure # between emission spectra (e.g., sky, UNe, etc.) #import os import numpy as np import pandas as pd def save_qa(obsset): df = obsset.load_data_frame("SKY_FITTED_PIXELS_JSON", orient="split") msk_ = df["slit_center"] == 0.5 dfm_ = df[msk_...
[ "lee.j.joon@gmail.com" ]
lee.j.joon@gmail.com
06470ed428c9e68e74635aeeb5e1e3f853111727
5686100c4ed0436347107f4e9faae30fca609c09
/leetcode/1030. Matrix Cells in Distance Order/Solution.py
926b64215552cf842d6465f0b2786a2cc0af72cb
[]
no_license
adamqddnh/algorithm-questions
7d4f56b7e5ac2ff9460774d43ecf8cba2cd7b0cb
93a1b082e10ade0dd464deb80b5df6c81552f534
refs/heads/master
2023-06-29T04:51:26.635740
2021-07-23T09:11:45
2021-07-23T09:11:45
252,675,682
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
class Solution(object): def allCellsDistOrder(self, R, C, r0, c0): """ :type R: int :type C: int :type r0: int :type c0: int :rtype: List[List[int]] """ maxLength = R + C + 1 distance = [[] for i in range(0, maxLength)] for i in range(0...
[ "noreply@github.com" ]
adamqddnh.noreply@github.com
f35da223ba059f5824b45b5398b78811b900ca89
aef40813a1b92cec0ea4fc25ec1d4a273f9bfad4
/Q15__/04_Count_Submatrices_With_All_Ones/Solution.py
c0f071e4eb738bc0cdf16e003c0295732600aa05
[ "Apache-2.0" ]
permissive
hsclinical/leetcode
e9d0e522e249a24b28ab00ddf8d514ec855110d7
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
refs/heads/main
2023-06-14T11:28:59.458901
2021-07-09T18:57:44
2021-07-09T18:57:44
319,078,569
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
from typing import List class Solution: def numSubmat(self, mat: List[List[int]]) -> int: rowLen = len(mat) colLen = len(mat[0]) medium = [ [0] * colLen for _ in range(rowLen) ] #stack to bottom for j in range(colLen): for i in range(rowLen): if ...
[ "luhongisu@gmail.com" ]
luhongisu@gmail.com
dc9f823aea13cfa9dee9a53a698656d62586ac18
d50d24a111f7fc078ef98bc5059355793fe7dd37
/tao_bao/db/dbhelper.py
97d38ade4af4772e1f66711aeb87dcddf3af6dc3
[]
no_license
liangxuCHEN/scrapy_taobao
f2cbd38b5d746052bac3366aa035edf988cb1115
595fb9a9dcd45a32b43e0478580a7a936d1b55a2
refs/heads/master
2021-05-08T11:50:12.854647
2018-04-11T03:20:17
2018-04-11T03:20:17
119,913,389
0
0
null
null
null
null
UTF-8
Python
false
false
2,986
py
# -*- coding: utf-8 -*- from scrapy.utils.project import get_project_settings #导入seetings配置 from sqlalchemy import create_engine, Column, String, DateTime, Integer, Float, func from sqlalchemy.ext.declarative import declarative_base import redis # 初始化数据库连接: # engine = create_engine('mysql+pymysql://root:123asd@localh...
[ "chenliangxu68@gmail.com" ]
chenliangxu68@gmail.com
09dc5e4b00b0196437111230fc9b278edca31401
cb6f9cf1901b68cad07def3dd0fad75ab046e330
/constructor/migrations/0037_auto_20210824_0700.py
28b5d8a020dee9473cd9b792f1def7f8a2828737
[]
no_license
Junaid522/Cons
631dd9e0e3f1249bd911196ba4a2fef8357bd8fb
cdceb1d07728209dad827917c8ba88e1319c94ad
refs/heads/master
2023-08-10T17:23:28.942917
2021-09-20T07:30:02
2021-09-20T07:30:02
408,348,598
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
# Generated by Django 3.1.2 on 2021-08-24 07:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('constructor', '0036_currency_description'), ] operations = [ migrations.AddField( model_name='course', name='career_...
[ "junaidtariq166@gmail.com" ]
junaidtariq166@gmail.com
be03a987402a3e0420168cf4f91c126ffd69c9de
d7641647d67d110e08997767e85bbea081c2537b
/bitmovin_api_sdk/encoding/inputs/udp_multicast/__init__.py
82c7c6f74bb923c3eaaf1fb60471039f9d174982
[ "MIT" ]
permissive
aachenmax/bitmovin-api-sdk-python
d3ded77c459852cbea4927ff28c2a4ad39e6026a
931bcd8c4695a7eb224a7f4aa5a189ba2430e639
refs/heads/master
2022-11-16T08:59:06.830567
2020-07-06T07:16:51
2020-07-06T07:16:51
267,538,689
0
1
MIT
2020-07-06T07:16:52
2020-05-28T08:44:44
Python
UTF-8
Python
false
false
322
py
from bitmovin_api_sdk.encoding.inputs.udp_multicast.udp_multicast_api import UdpMulticastApi from bitmovin_api_sdk.encoding.inputs.udp_multicast.customdata.customdata_api import CustomdataApi from bitmovin_api_sdk.encoding.inputs.udp_multicast.udp_multicast_input_list_query_params import UdpMulticastInputListQueryParam...
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
8a51a15dd22f14caa28b6fec7f2520ee774af67f
ed06ef44c944707276a2fca16d61e7820596f51c
/Python/path-with-minimum-effort.py
46d3f4ed6f06ca05828dba1b5a76a7f30589242a
[]
no_license
sm2774us/leetcode_interview_prep_2021
15842bef80637c6ff43542ed7988ec4b2d03e82c
33b41bea66c266b733372d9a8b9d2965cd88bf8c
refs/heads/master
2023-05-29T14:14:49.074939
2021-06-12T19:52:07
2021-06-12T19:52:07
374,725,760
0
0
null
null
null
null
UTF-8
Python
false
false
7,239
py
# Time: O(m * n * log(m * n)) # Space: O(m * n) import heapq # Dijkstra algorithm solution class Solution(object): def minimumEffortPath(self, heights): """ :type heights: List[List[int]] :rtype: int """ directions = [(0, 1), (1, 0), (0, -1), (-1, 0)] dst = (len(h...
[ "sm2774us@gmail.com" ]
sm2774us@gmail.com
5e8af7a5f3c6134790c205055461a82ddd53a5a9
292437b85108504a7ca91571f26a639a313501b6
/venv/lib/python2.7/site-packages/oslo_middleware/tests/test_correlation_id.py
6dde5d8af681454e6d686cb8ed827fed79d6f0df
[]
no_license
heekof/monitoring-agent
c86bebcf77091490df7a6b8c881b85fdb2b9e4eb
b1c079efdf2dabe854f2aa3d96f36d2ec7021070
refs/heads/master
2021-01-15T15:39:01.512801
2016-08-31T20:53:38
2016-08-31T20:53:38
58,620,098
1
0
null
null
null
null
UTF-8
Python
false
false
1,713
py
# Copyright (c) 2013 Rackspace Hosting # 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 req...
[ "bendriss-jaafar@live.fr" ]
bendriss-jaafar@live.fr
ec81bc05747f8dce6b33b00f5ce00cd60311d805
380a47268c5975473a2e7c38c747bc3bdbd981b1
/benchmark/third_party/transformers/src/transformers/models/data2vec/modeling_tf_data2vec_vision.py
5b4de28b7ced312c7ef984524a8bae2aeeca582e
[ "Apache-2.0" ]
permissive
FMInference/FlexGen
07aa9b1918c19b02077e13ad07e76840843810dd
d34f7b4b43ed87a374f394b0535ed685af66197b
refs/heads/main
2023-07-24T02:29:51.179817
2023-07-21T22:38:31
2023-07-21T22:38:31
602,270,517
6,821
411
Apache-2.0
2023-07-07T22:59:24
2023-02-15T21:18:53
Python
UTF-8
Python
false
false
62,759
py
# coding=utf-8 # Copyright 2022 Meta Platforms and The HuggingFace Inc. team. 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/LICEN...
[ "sqy1415@gmail.com" ]
sqy1415@gmail.com
6497240502fa621dc2ea8c4dcbce6f85011972b3
e8b6a669bdec937a4226e749a98c7e3905e327db
/rainbow/settings.py
445b701eab004e8de35ade8739bda4dbea1d130e
[]
no_license
danielmoniz/Rainbow
bef52a7bd18f225d48822aa563af03bbba862b9e
a9085476dc83a582b87927251cc269f228ecf557
refs/heads/master
2016-09-11T03:58:41.528607
2012-06-13T19:39:58
2012-06-13T19:39:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,675
py
# Django settings for rainbow project. from private_settings import get_database_settings DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS # This data comes from private_settings.py DATABASES = get_database_settings() # Local time zone for this insta...
[ "daniel.moniz@gmail.com" ]
daniel.moniz@gmail.com
b65f1abafd197004b408adad6774a73815be6aa0
6b9adefb8c3730e1b9edab5605e86ee4f1cfe53c
/treedb/__init__.py
610918df1417c888efe026a930ef6e857065fd8c
[ "MIT" ]
permissive
glottolog/treedb
8ac4b5dd6923a196ceb02f191200cd8053a2cd88
81e6a855e5d69bebc86e1fca05c938621c87ba7c
refs/heads/master
2023-07-21T04:04:27.709761
2023-07-17T20:10:20
2023-07-17T20:10:20
194,383,732
5
2
MIT
2022-05-24T17:48:32
2019-06-29T08:41:10
Jupyter Notebook
UTF-8
Python
false
false
3,066
py
"""Load Glottolog lanuoid tree ``md.ini`` files into SQLite3 database.""" from ._globals import SESSION as Session # noqa: N811 from ._tools import sha256sum from .backend import (print_versions, set_engine, connect, scalar, iterr...
[ "sebastian.bank@uni-leipzig.de" ]
sebastian.bank@uni-leipzig.de
a0c813f549809f79f8ddebdafa8f599069dbc6db
79d512d58ae10492c3e82a475d30f3026561676b
/env/bin/pip3.8
6761b455abe33e3eb91291e20bd91dd5fde0c6bf
[]
no_license
puskarkarki/BlogApplication
6b63c72e1583ccb7a9b7e962e4d8e4c32b11fef0
9cc67e79d75cc6e6f83bd3b81ff02142e0c37efa
refs/heads/master
2023-07-22T15:20:40.465751
2021-09-03T10:19:05
2021-09-03T10:19:05
381,980,331
1
0
null
null
null
null
UTF-8
Python
false
false
252
8
#!/home/linux/PycharmProjects/blog/env/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "puskarrajkarki1234@gmail.com" ]
puskarrajkarki1234@gmail.com
188529fb0dbd729ac43830eb4e0ca46e6b0fad6a
88be4d5657d19462eb1d74d2d4d98180b423a889
/scripts/plot_experiment.py
6579ab2bdda9aaa2117fdcbaab143a8dce51aafd
[ "BSD-3-Clause" ]
permissive
domingoesteban/robolearn
bc58278fe38894f4ca9ec9e657ee13a479a368b7
0d20125425c352b80ef2eeed1c0b11ab6497b11a
refs/heads/master
2020-04-15T22:38:25.343229
2019-01-29T17:01:42
2019-01-29T17:01:42
165,080,647
1
1
null
null
null
null
UTF-8
Python
false
false
2,524
py
import os import argparse import numpy as np import matplotlib.pyplot as plt from robolearn.utils.plots import plot_process_iu_returns from robolearn.utils.plots import plot_process_iu_avg_rewards from robolearn.utils.plots import plot_process_iu_policies from robolearn.utils.plots import plot_process_iu_values_errors ...
[ "domingo.esteban@iit.it" ]
domingo.esteban@iit.it
9b5418cd23ca662fe1c45fcca5e76495bc07df0a
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-iotanalytics/huaweicloudsdkiotanalytics/v1/model/obs_content_req.py
22822ea39ffd91a7bf569bf3a12ad4b92bc758b9
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,178
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ObsContentReq: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
65ae635d43801f0ac9401fab6afbe228040b58f9
8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4
/pyobjc-framework-Cocoa/PyObjCTest/test_cfuuid.py
12c65667350ddf8c8be73389156dd615e6a3126b
[ "MIT" ]
permissive
strogo/pyobjc
ac4201c7742eb75348328eeecb7eedf4e3458de3
2579c5eaf44b0c5af77ee195c417d2c65e72dfda
refs/heads/master
2023-07-13T00:41:56.448005
2021-08-24T06:42:53
2021-08-24T06:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,982
py
import re import CoreFoundation from PyObjCTools.TestSupport import TestCase class TestCFUUIDAPI(TestCase): def testTypes(self): self.assertIsCFType(CoreFoundation.CFUUIDRef) def testTypeID(self): v = CoreFoundation.CFUUIDGetTypeID() self.assertIsInstance(v, int) def testCreate(...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
d3778584e95ef333ce94c9c0141d55f17ae297a7
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2214/60586/309439.py
43887ed3a7a647d20cd7bf664444a594497e9b76
[]
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
144
py
a=input() b=input() if a=='1+1i' and 'b==1+1i': print("0+2i") elif a=='0+1i' and 'b==0+1i': print("-1+0i") else: print("0+-2i")
[ "1069583789@qq.com" ]
1069583789@qq.com
9f35131f1f28ffc0f2fd5ab8325e04833ad5fd83
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/configs/pspnet/pspnet_r18-d8_4x4_512x512_80k_vaihingen.py
a53fcfa8fe36083934a423e9b34464549cde83be
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
976
py
# Copyright (c) Facebook, Inc. and its affiliates. # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
[ "chenyong84@huawei.com" ]
chenyong84@huawei.com
30bc551d847eeb3753771764c28f595558bbc9a0
e3b5e20bcb560a3c37c09f728b9340b1715c1818
/venv/lib/python3.7/site-packages/plotly/validators/scattercarpet/_hovertextsrc.py
748253ef5dd9d965185ead830412b2629267562e
[ "MIT" ]
permissive
180Studios/LoginApp
63bc50b1f91e7221c7581627ab166eeb01758f5c
66ff684a81b23d8f45eef2c56be19a2afd95ab29
refs/heads/master
2022-12-24T00:33:08.481826
2020-02-03T05:14:41
2020-02-03T05:14:41
144,414,562
0
1
MIT
2022-12-08T01:38:26
2018-08-11T19:57:44
Python
UTF-8
Python
false
false
498
py
import _plotly_utils.basevalidators class HovertextsrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__( self, plotly_name='hovertextsrc', parent_name='scattercarpet', **kwargs ): super(HovertextsrcValidator, self).__init__( plotly_name=plo...
[ "kylenahas@gmail.com" ]
kylenahas@gmail.com
35d3332b9b2acae00406b27ed618a1477d42c45d
3474b315da3cc5cb3f7823f19a18b63a8da6a526
/scratch/KRAMS/src/apps/scratch/faezeh/working_area/inputexport.py
1edffac01025a9a4ef04fe864a2eaeb85fcefe02
[]
no_license
h4ck3rm1k3/scratch
8df97462f696bc2be00f1e58232e1cd915f0fafd
0a114a41b0d1e9b2d68dbe7af7cf34db11512539
refs/heads/master
2021-01-21T15:31:38.718039
2013-09-19T10:48:24
2013-09-19T10:48:24
29,173,525
0
0
null
2015-01-13T04:58:57
2015-01-13T04:58:56
null
UTF-8
Python
false
false
4,034
py
#!/usr/bin/env python """ This demonstrates how to create a plot offscreen and save it to an image file on disk. """ # Standard library imports import os, sys # Major library imports from numpy import fabs, linspace, pi, sin from scipy.special import jn # Enthought library imports from enthought.traits.api import fal...
[ "Axel@Axel-Pc" ]
Axel@Axel-Pc
10fbec86fd6c3e609e74bfe53d632b78788da28c
08c8e80dc009166a8d678fd36b34dc6ddbbeecc7
/TTRPlayer.py
05d919340b3b6ecf7d02b12c5726ee121dbdafb9
[]
no_license
wqa/TicketToRide
12f6361f2b1a0461c645817c505d0ebf7a3b9ea8
dbf9ea161c5bbc456b3980a019b93dc1499ba83d
refs/heads/master
2020-03-07T21:06:42.089183
2018-04-02T07:52:57
2018-04-02T07:52:57
127,717,750
0
0
null
2018-04-02T07:00:15
2018-04-02T07:00:15
null
UTF-8
Python
false
false
2,626
py
import collections class Player(object): def __init__(self, startingHand, startingTickets, playerBoard, playerPosition, numTrains ): """orderNumber: int startingHand: list startin...
[ "codeprogress1@gmail.com" ]
codeprogress1@gmail.com
4c5d1f202e7cb831b781f2fdf9e12481448d3c4d
7482a2601861b61f61ad082dbca521a94c36dc92
/image_captioning/config/defaults.py
3c6c9351b41efc3e54c2292e17e424a4652735c1
[]
no_license
congve1/ImageCaptioning
0da1945ac27e406c388824f47e7e4545691ef0a1
ae2d4ec2dc45bc00ff12cde4f55197654100c309
refs/heads/master
2020-05-04T17:17:42.993462
2019-07-07T08:58:28
2019-07-07T08:58:28
179,305,660
1
0
null
null
null
null
UTF-8
Python
false
false
6,738
py
import os from yacs.config import CfgNode as CN # ------------------------------------------------------------------------------ # Convention about Tranining / Test specific parameters # ------------------------------------------------------------------------------ # Whenever an argument can be either used for traini...
[ "congve1@live.com" ]
congve1@live.com
8c636ef816876d5a9d8bccdf63b5af6f4356b911
252b3451ad9683166937152444fedec8b5da6647
/obsolete/py_deprecated/LookupTables.py
cd7936866ad410f7fce43018c4363adbe2b33474
[ "MIT" ]
permissive
faithcomesbyhearing/dbp-etl
993c4c329d8f1950234f02f7fb048ec29b1883da
eb56863415d0d83f7f7928d0fcf927425c039f95
refs/heads/master
2023-08-08T15:11:37.815057
2023-07-10T16:10:21
2023-07-10T16:10:21
204,502,403
1
1
MIT
2023-07-24T23:39:37
2019-08-26T15:12:47
Python
UTF-8
Python
false
false
5,498
py
# LookupTables class LookupTables: def __init__(self): # these are not being used yet? self.otBooks=[ "GEN", "EXO", "LEV", "NUM", "DEU", "JOS", "JDG", "RUT", "1SA", "2SA", "1KI", "2KI", "1CH", "2CH", "EZR", "NEH", "EST", "JOB", "PSA", "PRO", "ECC", "SNG", "ISA", "JER", "LAM", "EZK", "DAN", "HOS", "JOL...
[ "gary@shortsands.com" ]
gary@shortsands.com
27b669ce53b5e339d24c950c5bbf673fec5fd017
1ca315ac6f10d91784c9d2e9e0c993d1a528c644
/locators/class_parse_locators.py
1168ff983b02f53c51788fee41cf24dd739271cf
[]
no_license
osakoh/Scrapping-example
711df9e735f62dfdf5aad5891f8cda4cda678f44
6964f86f56a5797c8152f2e50048190d331ec6d4
refs/heads/main
2022-12-27T20:08:17.684832
2020-10-09T17:18:11
2020-10-09T17:18:11
302,692,216
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
class ParsedItemLocators: """ Locates an item in the HTML page. Allows us to see what our code will be looking at as well as change it quickly if the locator changes. """ NAME_LOCATOR = 'article.product_pod h3 a' LINK_LOCATOR = 'article.product_pod h3 a' PRICE_LOCATOR = 'article.product_pod...
[ "macmive@gmail.com" ]
macmive@gmail.com
718ce3d58ea9a8e84fe1c8a98f3bed47d617e276
743fe3fd926c4f23353e4d2801b007721f3dd1a1
/docstrings/bitmap.py
f9d253fbdea77806791284b8dfc21e3431bef2d8
[ "BSD-2-Clause-Views" ]
permissive
mdboom/freetypy
357cc7570987bf07daa3abd348ed616ad085186a
01b72ad35a613f1366accf16318d078b1e0dfc83
refs/heads/master
2021-01-18T07:03:53.232617
2015-11-04T01:20:01
2015-11-04T01:20:01
45,196,480
1
1
null
2015-10-29T16:38:09
2015-10-29T16:38:09
null
UTF-8
Python
false
false
5,308
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Michael Droettboom All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, t...
[ "mdboom@gmail.com" ]
mdboom@gmail.com
bd0261b67d0371e006d269d817132bcd59e26983
12101ae802a7da37e84d1c5ed0e48670c7d7e203
/tools/trains/t010_xgb.py
c74a8dcf19be8dbdc28bfddc2cced35d43a256fd
[]
no_license
guchio3/kaggle-santander-2019
4590026e32453c257dd90dd8e47bd6812c5ee6c5
f2a636bcb60d52ad8a08a472957b846f2b684005
refs/heads/master
2020-04-29T18:09:08.640374
2019-04-13T13:07:17
2019-04-13T13:07:17
176,315,965
8
4
null
null
null
null
UTF-8
Python
false
false
8,815
py
import datetime import os import pickle import warnings from itertools import tee import lightgbm import numpy as np import pandas as pd import xgboost as xgb from sklearn.metrics import roc_auc_score from sklearn.model_selection import StratifiedKFold from tqdm import tqdm from tools.utils.features import (get_all_f...
[ "astt.hwhw@gmail.com" ]
astt.hwhw@gmail.com
ed3469e684afa8c86b519a431e625fbbd69fd869
7030c780db36c7d8efedb1152cf945a3cc248fdb
/python/cuml/thirdparty_adapters/sparsefuncs_fast.py
21e730ef726063949023d765ade9a3962fedd7a1
[ "Apache-2.0" ]
permissive
rapidsai/cuml
546af8151fd2ee0f737cc4e62386d4b0ede74f3d
7d86042b8de06bc8acce632230fe5821bd36c17d
refs/heads/branch-23.10
2023-08-30T19:17:41.816373
2023-08-28T13:23:15
2023-08-28T13:23:15
152,616,802
3,615
569
Apache-2.0
2023-09-14T00:21:52
2018-10-11T15:45:35
C++
UTF-8
Python
false
false
10,106
py
# # Copyright (c) 2020-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "noreply@github.com" ]
rapidsai.noreply@github.com
accdc603e7b050c80d24dd697beff1e270f215ca
111e6c08c9bfc7a3aeb22ddd69765cfdda2fd38d
/3/day03/day03/urls.py
c42a7fd2660709f6e56eb457c373b4037eedeea3
[]
no_license
huaxiawudi/yz1806
1f9e16292a44f68f7a126fc5e4655f3663ef27b1
0bc9ef8f4bd8b8e0ed9c6416caa0e083ec61d3ea
refs/heads/master
2020-04-07T08:54:53.319535
2018-11-20T04:15:45
2018-11-20T04:15:45
158,233,175
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
"""day03 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
[ "you@example.com" ]
you@example.com
740369dd7596e7744e209ee19a1d27384bffd5de
5923d7526282c63fbf2d56df706c20e4ace3fd3e
/backend/manage.py
0ba611cbf2733d3b04d711054dce31d06abd9cf8
[]
no_license
crowdbotics-apps/pushya-4586
936b4c5df863a3d1728acf5c5b8456bf60e3ce6e
e01acb275fa18542007ca2932a20896f048ed549
refs/heads/master
2023-01-09T15:14:04.158342
2019-06-12T22:49:56
2019-06-12T22:49:56
191,654,775
0
0
null
2023-01-04T00:06:07
2019-06-12T22:48:42
Python
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'pushya_4586.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
22da5615e5302dcdc23585755542fcf7b9605571
a41e1498e3c080f47abd8e8e57157548df3ebbf1
/pandas/tests/indexes/numeric/test_indexing.py
cd28d519313ed36228040361dfbb2a8dccf77be5
[ "BSD-3-Clause" ]
permissive
pandas-dev/pandas
e7e639454a298bebc272622e66faa9829ea393bb
c7325d7e7e77ecb4a4e57b48bc25265277c75712
refs/heads/main
2023-09-01T12:42:07.927176
2023-09-01T11:14:10
2023-09-01T11:14:10
858,127
36,166
18,728
BSD-3-Clause
2023-09-14T21:18:41
2010-08-24T01:37:33
Python
UTF-8
Python
false
false
22,761
py
import numpy as np import pytest from pandas.errors import InvalidIndexError from pandas import ( NA, Index, RangeIndex, Series, Timestamp, ) import pandas._testing as tm from pandas.core.arrays import ( ArrowExtensionArray, FloatingArray, ) @pytest.fixture def index_large(): # large...
[ "noreply@github.com" ]
pandas-dev.noreply@github.com
8180d20b9bd00bbe47b490f34495c8f341ec30bc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_narrators.py
7da72b67f09225deba5ce48d2f216e8a178bf663
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from xai.brain.wordbase.nouns._narrator import _NARRATOR #calss header class _NARRATORS(_NARRATOR, ): def __init__(self,): _NARRATOR.__init__(self) self.name = "NARRATORS" self.specie = 'nouns' self.basic = "narrator" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1e694dedbb1c710bec69da84e4e55be2f1a13405
d21dbab3f374eb42a10f9ec7c434c1ca6fb2bff7
/Python/03 String/04 Mutations.py
ba1b1e83ce4d06eb5589e674c69d305472bec8cd
[]
no_license
almamuncsit/HackerRank
5360ad1d54aa01075dba5527f6ae695e4c6d9c7a
6599cde4c7541ebf27bacff8af02dc0c3eaaa678
refs/heads/master
2021-07-06T00:33:25.912754
2021-01-13T09:09:29
2021-01-13T09:09:29
222,364,072
4
0
null
null
null
null
UTF-8
Python
false
false
270
py
def mutate_string(string, position, character): str_list = list(string) str_list[position] = character return ''.join(str_list) if __name__ == '__main__': s = input() i, c = input().split() s_new = mutate_string(s, int(i), c) print(s_new)
[ "msarkar.cse@gmail.com" ]
msarkar.cse@gmail.com
8ef9e1347e94621ccc9ed1cd1d225d3447098d25
02e4920166051129d1ca28a0da80405a982f1cfe
/curso_py/ex014.py
ae83f034a8736245163401189b8c4d757af60e64
[]
no_license
felipeonf/Exercises_Python
1ab40cea2466d6bb5459b5384a1dde8e1066b3b4
8eb2d17a35a6352fd5268a5fa43b834443171c70
refs/heads/main
2023-07-23T22:30:13.567469
2021-08-25T03:34:33
2021-08-25T03:34:33
397,062,295
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
import random lista = [] i = 0 while i < 4 : lista.append(input(f'Digite o nome do {1+i}° aluno: ')) i+=1 random.shuffle(lista) print(f'A ordem de apresentação escolhida foi {lista}')
[ "noreply@github.com" ]
felipeonf.noreply@github.com
133bb56e795f1304f909216fc94676e89bfc8e04
43eb31fb324240cf6f4150e310c5a7ec4087bbed
/online_inference/requests/make_request.py
324e23627b425313868aa3e32c1bd9f9e36c1ccb
[]
no_license
made-ml-in-prod-2021/bulaevvi
67cb63c0573b71eb152d102b4091f79eb887bfd5
6c0de66bb24c248b9291c03ddeed95ed1e990c61
refs/heads/main
2023-06-01T17:24:32.476388
2021-06-22T06:17:21
2021-06-22T06:17:21
354,891,217
0
0
null
2021-06-22T06:17:21
2021-04-05T16:03:26
Jupyter Notebook
UTF-8
Python
false
false
572
py
import pandas as pd import requests import time ENDPOINT = "http://127.0.0.1:8000/predict" REQUEST_FILE = "requests.csv" NUM_REQUESTS = 100 if __name__ == "__main__": data = pd.read_csv(REQUEST_FILE) for i in range(NUM_REQUESTS): request_data = data.iloc[i].to_dict() request_data["id"] = i ...
[ "noreply@github.com" ]
made-ml-in-prod-2021.noreply@github.com
50dda7b0b5ff6c2dd3b252bb5836dffa34c2fd4e
3f05ce6a332003595064d14b24b57fc36021da92
/matscholar_web/tests/test_util.py
a630bf3cc334db58f3314765428bfb6b5e431020
[ "MIT" ]
permissive
materialsintelligence/matscholar-web
392f845dff515cf7f4f4684d5b105e4c40a40d88
95231228fc6da1a596653d774307b10916fb5847
refs/heads/master
2023-05-10T06:54:44.213445
2023-01-24T20:45:00
2023-01-24T20:45:00
151,479,404
9
13
MIT
2023-05-02T18:28:28
2018-10-03T20:57:22
CSS
UTF-8
Python
false
false
832
py
import json import os import unittest import matscholar_web from matscholar_web.util import load_static_data_file """ Tests for core utilities. """ class TestCoreUtils(unittest.TestCase): def setUp(self) -> None: rootdir = os.path.dirname(os.path.abspath(matscholar_web.__file__)) data_dir = os....
[ "ardunn@lbl.gov" ]
ardunn@lbl.gov
c7d3f584401e6ffd29d0dc4040517f4a44631100
e9538b7ad6d0ce0ccfbb8e10c458f9e0b73926f6
/plugins/module_utils/network/ftd/operation.py
72d3e157b3287863a06c9ac800e2fde6a814e605
[]
no_license
ansible-collection-migration/misc.not_a_real_collection
b3ef8090c59de9ac30aca083c746ec3595d7f5f5
7ab1af924a3db4ada2f714b09bb392614344cb1e
refs/heads/master
2020-12-18T13:48:51.849567
2020-01-22T17:39:18
2020-01-22T17:39:18
235,400,821
0
0
null
null
null
null
UTF-8
Python
false
false
1,619
py
# Copyright (c) 2018 Cisco and/or its affiliates. # # This file is part of Ansible # # Ansible 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 License, or # (at your option) any later v...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
91322d262a1ae0f8f067202a178f058c74d25da4
13800b7827598e76428a335559b7bf11867ec2f0
/python/ccxt/async_support/ace.py
f298281814bfa4c1defe1543dc960ee5fdbfaf5b
[ "MIT" ]
permissive
ccxt/ccxt
b40a0466f5c430a3c0c6026552ae697aa80ba6c6
e4065f6a490e6fc4dd7a72b375428b2faa570668
refs/heads/master
2023-09-04T03:41:29.787733
2023-09-03T19:25:57
2023-09-03T19:25:57
91,253,698
30,798
8,190
MIT
2023-09-14T21:59:09
2017-05-14T15:41:56
Python
UTF-8
Python
false
false
41,723
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange from ccxt.abstract.ace import ImplicitAPI from ccxt.base.types import OrderSide from ...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
66c716da60208194ea298347d9a3cd37cde9cdbe
51e6015db62fd30ff9eaa724926e8373aedf796e
/custom_components/zhibot/chatbot.py
f071c55cac18fde4f0e9057457baed88c9e1df32
[]
no_license
xxx2016/HAExtra
ed0cb3c0a5876c11894bde8a96fde31ca8a9e3a5
e71dc33f51455e2d91ab2d7eec39a931d06847d9
refs/heads/master
2023-02-24T04:41:38.779325
2021-01-25T13:04:12
2021-01-25T13:04:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,692
py
from homeassistant.components.http import HomeAssistantView from homeassistant.util.json import load_json, save_json # from homeassistant.components.http import KEY_HASS # Logging import logging _LOGGER = logging.getLogger(__name__) class chatbotView(HomeAssistantView): """View to handle Configuratio...
[ "Yonsm@qq.com" ]
Yonsm@qq.com
46dbd48b6d5e6c8ffb047612a78d868f11973154
17ba39d104403a36ecdfe83da0d5424feb3fdf24
/accounts/serializers.py
5758bb9f9ed301c9eb631dfdfec009cdfca7f20d
[]
no_license
bellomusodiq/obs
46bc3bfc316d224c732a8747649016ca2fdf9493
a207bf51c2e21c10996e53f01e56368b648c7e6e
refs/heads/master
2020-04-02T21:35:46.813250
2018-10-30T11:11:38
2018-10-30T11:11:38
151,956,354
0
0
null
null
null
null
UTF-8
Python
false
false
4,275
py
from rest_framework import serializers from rest_framework_jwt.settings import api_settings from .models import User, CuponCode from django.template.loader import render_to_string from django.core.mail import EmailMessage import string, random class UserSerializer(serializers.ModelSerializer): def gen_token(self)...
[ "bmayowa25@gmail.com" ]
bmayowa25@gmail.com
067961039a165f93e34347f56a947b446b17133d
1117ae9a0bc4bbbe0e505e573af70a9629ec8c45
/App/models.py
865bdb8ca8a7b9edfe0f5c7e75a61cbabda2da10
[]
no_license
Chukslord1/E-LIBRARY
003eadf124be91e40586f2f6661b5895a93d6a60
c16f6d7ab2efb2be136251298f28119c2023b19f
refs/heads/master
2023-01-10T17:43:28.293541
2020-11-17T20:27:52
2020-11-17T20:27:52
267,709,487
0
0
null
null
null
null
UTF-8
Python
false
false
2,724
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Book(models.Model): title=models.TextField() isbn = models.IntegerField() summary= models.TextField() author = models.TextField() position=models.CharField(max_length=100) genre=models.Char...
[ "chukslord1@gmail.com" ]
chukslord1@gmail.com
74e1f700ad462338166fff4c0f99dcfb6d303a54
0a5db329e6ca4690f6f5f84d34ed51c0f54273b4
/6 Extra 3/Example 1.py
42e838ef0565d84e028cb1912447b5a8a3e24c4a
[]
no_license
wiput1999/Python101
b7778e8feacdf95039260ba4e7d149a1fea30304
5d0eac78417cc1139f884652c5a6c6995dfb9e22
refs/heads/master
2021-01-20T15:31:19.170451
2017-04-08T16:03:38
2017-04-08T16:03:38
90,780,461
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
num = [] for i in range(10): num.append(int(input("Num : "))) for j in range(0,len(num)): for i in range(0,len(num)-1-j): if num[i] > num[i+1]: t = num[i] num[i] = num[i+1] num[i+1] = t print(num)
[ "wiput.pootong@gmail.com" ]
wiput.pootong@gmail.com
c96f702c3c4d089f96e3879dc22c4ec60f1ad720
29c58b3bec6ac0fcdb3070efc118600ee92004da
/test/test_connector_sync_event_dto.py
488ce7ea7b82b940e80e1efabe7d0b5b32f66c67
[ "MIT" ]
permissive
mailslurp/mailslurp-client-python
a2b5a0545206714bd4462ae517f242852b52aaf9
5c9a7cfdd5ea8bf671928023e7263847353d92c4
refs/heads/master
2023-06-23T00:41:36.257212
2023-06-14T10:10:14
2023-06-14T10:10:14
204,662,133
8
0
null
null
null
null
UTF-8
Python
false
false
2,387
py
# coding: utf-8 """ MailSlurp API MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://ww...
[ "contact@mailslurp.dev" ]
contact@mailslurp.dev
b9c545c2775953db809aa333c5571186f061f2f1
6080bfbc95ef2e4103fbd9c75c6b30402fe08aa5
/helpers/ccsm/ccsm2icar.py
1db50ddfa270a90c8105cc3a3cc03832c34efb97
[ "MIT" ]
permissive
d-reynolds/HICAR
0628f2a65922b61e7c68749ccc5b4328fe7c5dec
0ae97ec4556624bd5fe288420f0dde2f737bf1f8
refs/heads/master
2023-05-27T09:55:13.262316
2023-03-31T12:43:55
2023-03-31T12:43:55
284,660,559
1
1
MIT
2020-09-29T14:12:28
2020-08-03T09:40:03
Fortran
UTF-8
Python
false
false
1,103
py
#!/usr/bin/env python import os,traceback,sys import config import io_routines import output import convert def main(info): for k in info.keys(): if k!="times" and k!="lat_data" and k!="lon_data": print(k,info[k]) print(info.times[0],info.times[-1]) curtime=info.times[0] ...
[ "gutmann@ucar.edu" ]
gutmann@ucar.edu
21ffe4553a4099601f96bfe38dde4dcef4cce140
7a3114bedb5e866fc85fecca44432d1ce60e4262
/where/postprocessors/__init__.py
e701fda648f7bd0a1601571994da4ea81345f780
[ "MIT" ]
permissive
kartverket/where
99f26e5d5f2f23a79921bad0fb60cb8a99d05e7f
0c8c5c68adca08f97e22cab1bce10e382a7fbf77
refs/heads/master
2023-08-31T03:26:23.222100
2023-08-30T08:27:07
2023-08-30T08:27:07
111,802,841
21
15
MIT
2019-02-01T15:42:36
2017-11-23T11:44:29
Python
UTF-8
Python
false
false
1,007
py
"""Framework for post-processing data Description: ------------ Each postprocessor should be defined in a separate .py-file. The function inside the .py-file that should be called needs to be decorated with the :func:`~midgard.dev.plugins.register` decorator as follows:: from midgard.dev import plugins @plu...
[ "ask1982@yahoo.com" ]
ask1982@yahoo.com
9e616c90dd516ff508549568cd468a52e1e61faf
731ebf286a169b5f4dae914bcb0970c2388ba875
/tigereye/helpers/tetime.py
1def5631fe0d37df838160507a265594d8ef3325
[]
no_license
ljxproject/tigereye
f8e86287b03102b713b4179a9fa023f03cfd36ea
406024d88450b6dcbec7a337a79339ff8c97a3e3
refs/heads/master
2020-03-26T08:48:48.595467
2018-08-14T13:05:26
2018-08-14T13:05:26
144,721,251
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
from datetime import datetime DEFAULT_DATETIME_FORMAT = '%Y%m%d%H%M%S' SIMPLE_DATETIME_FORMAT = '%Y-%m-%d %H:%M:%S' def now(): return datetime.now().strftime(DEFAULT_DATETIME_FORMAT)
[ "403496369@qq.com" ]
403496369@qq.com
d18cab078be2ac934e019489d1f9e4c5ac53d096
d1ef145c7b51b694e59ed26894ef12e1026e9e78
/data_samples/aio-libs/aiohttp/aiohttp/client_ws.py
209935da8ab681ee47d6e8d8d77923b20921555d
[]
no_license
rkdls/tensorflow_new_seq2seq
2afc12b9e28626d351e4849c556a9f2320588a26
82ab66a79cc3f6631970ba2b2b349792b1aac7e4
refs/heads/master
2021-01-01T15:43:48.902079
2017-07-20T17:10:02
2017-07-20T17:10:02
97,688,888
0
1
null
null
null
null
UTF-8
Python
false
false
8,678
py
'WebSocket client for asyncio.' import asyncio import json from .client_exceptions import ClientError from .helpers import PY_35, PY_352, Timeout, call_later, create_future from .http import WS_CLOSED_MESSAGE, WS_CLOSING_MESSAGE, WebSocketError, WSMessage, WSMsgType class Class321: def __init__(self, arg312, arg...
[ "rkdls9@naver.com" ]
rkdls9@naver.com
37ce0dc192e7a51cb2d91c3c8bbc9b94d5546a56
16ad791ae0fcf9b00fb3f3938e3e69fd86d91715
/solved/probs050-099/euler055.py
fd7e12947d84d15f28aec0927a223aa37fab9937
[]
no_license
chrisgilmerproj/project_euler
9a6cf051ddc1882d803531cb02cc356a94d9bdf4
5a2c72ae40cfff32b79b35bb93db2b93a84afc25
refs/heads/master
2020-05-07T16:44:22.052645
2011-05-03T15:35:34
2011-05-03T15:35:34
1,447,959
0
0
null
null
null
null
UTF-8
Python
false
false
2,772
py
# This is a problem from the Project Euler Website # http://projecteuler.net/ # # Euler Problem #055 # # Problem: How many Lychrel numbers are there below ten-thousand? # # Hint: If we take 47, reverse and add, 47 + 74 = 121, which is palindromic. # # Not all numbers produce palindromes so quickly. For e...
[ "chris.gilmer@gmail.com" ]
chris.gilmer@gmail.com
501225b7b62991c2bb7a453bcb123b336846959d
8b9a418950a8c3ee42e4a4692a0f690c033ba401
/emulators/csp_vis_sender_02/app/__main__.py
e9dfdda4a5725883e6a15b577f3cddae1c04009f
[ "BSD-3-Clause" ]
permissive
jan2nov/integration-prototype
da5b0f8b168365856dabb644bd1d2440ebced9e8
5b4db822b0d49ab45d10365d5c7aaa86954dc2e0
refs/heads/master
2020-03-20T14:54:23.937780
2018-06-04T12:09:21
2018-06-04T12:09:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,006
py
# -*- coding: utf-8 -*- """Module main to stream SPEAD visibility data.""" import sys import argparse import logging import json from .simulator import SimpleSimulator def _init_log(level=logging.DEBUG): """Initialise the logging object. Args: level (int): Logging level. Returns: Logge...
[ "ben.mort@gmail.com" ]
ben.mort@gmail.com
bf6dd2083475268a966f43c0bed20eeff4672592
944401a6292baa2d23b9738898e0b0cb199d0795
/lib/python2.7/site-packages/anaconda_navigator/widgets/lists/apps.py
00f63fc959dcd66ca504c9d506d11bbb66603fd5
[ "Python-2.0" ]
permissive
sunnyweilai/Finding-Theme-Color-Palettes
cc84c93ce58abdd1802431c41bd59181d7a4f75b
4c38b112f5c40b43d6ec126e415b609c7fdc1f39
refs/heads/master
2022-12-21T09:41:31.187411
2019-04-30T14:50:17
2019-04-30T14:50:17
184,273,925
1
0
null
2022-12-07T03:46:55
2019-04-30T14:09:52
Python
UTF-8
Python
false
false
22,134
py
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright (c) 2016-2017 Anaconda, Inc. # # May be copied and distributed freely only as part of an Anaconda or # Miniconda installation. # ---------------------------------------------------------------------------...
[ "wnn2260@gmail.com" ]
wnn2260@gmail.com
2f2e2d2d2856f845f1e9418d80a262410ffbca17
ea515ab67b832dad3a9b69bef723bd9d918395e7
/03_Implementacao/DataBase/true_or_false_question_class_P_plus_regex/make_transformations.py
40165e0cd50ec5187a5a9d604d1f395df4bb19a5
[]
no_license
projeto-exercicios/Exercicios-Python-de-correccao-automatica
b52be3211e75d97cb55b6cdccdaa1d9f9d84f65b
a7c80ea2bec33296a3c2fbe4901ca509df4b1be6
refs/heads/master
2022-12-13T15:53:59.283232
2020-09-20T21:25:57
2020-09-20T21:25:57
295,470,320
0
0
null
null
null
null
UTF-8
Python
false
false
8,577
py
import sys #sys.path.append( # '/home/jbs/develop.old/articles/201509_python_exercises_generator') #sys.path.append('/home/jbs/develop/201902_questions_transformer') sys.path.append('../qom_questions_transformer') import string import re from random import sample from random import choice from random import rand...
[ "ruski@milo.com" ]
ruski@milo.com
219470a0ff5bb403514695edf64cf9ab42c04142
6791fd830e1e3bb1b3e31bac32c8c43debc6e45b
/hash_table/files.py
bb007467042726baa23b98afaff41ac9fa007b62
[]
no_license
niccokunzmann/pydht
e3205eb4f93840531ef79019c7e47156aed44d29
89621647455657291dbb27f966a53ab10c6862f5
refs/heads/master
2020-05-30T17:48:43.608086
2013-10-09T20:34:28
2013-10-09T20:34:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,556
py
import io import tempfile import os from .. import hashing from ..errors import ContentAltered class HashTableFileMixin: """A mixin for a hashtable that adds itself to the hashtable when closed""" def __init__(self, hash_table, *args, **kw): super().__init__(*args, **kw) self._hash_table = has...
[ "niccokunzmann@googlemail.com" ]
niccokunzmann@googlemail.com
d95f07794f027cd5d62ae5f538ba541367149f10
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_97/492.py
a1f42066fd7dc40e8cdcf88aee4718a892fe6447
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
def find_recycled(n, b): ns = str(n) reclist = [] for i in xrange(1, len(ns), 1): nrec = ns[i:len(ns)] + ns[0:i] if nrec[0] != "0": nrec = eval(nrec) if nrec <= b and nrec > n and (n, nrec) not in reclist: reclist.append((n,nrec)) return reclist inp = file("input.in") T = eval(inp.readline()) out = f...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b211f6d3238e69fee4c33b2e8d89b34fe17e5730
f56a16a03346eb2854eaeae0a13a92a222806551
/test/functional/interface_bitcoin_cli.py
74867f2d89fe0cdd48537eea6e2d53ac2dc0d1e0
[ "MIT" ]
permissive
minblock/mishcoin
77b64c00043557cde6b49d4f58612b8ff670d8f6
65d47897b2413b83480d1f04eb2031f62b36a708
refs/heads/master
2021-05-22T23:56:07.613136
2020-04-05T03:14:27
2020-04-05T03:14:27
253,146,024
0
0
null
null
null
null
UTF-8
Python
false
false
4,408
py
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test mishcoin-cli""" from test_framework.test_framework import BitcoinTestFramework from test_framework...
[ "POSTMASTER@provgn.com" ]
POSTMASTER@provgn.com
655f1c6517e4c4109ba59bf8025f9fc0cb629994
41a0c25333100fd551e7a49ceec128c1cd80857f
/Scripts/doSuperResolution.py
7a61ed8b685cd6ce72250a81e478dc58cf0f5443
[]
no_license
ANTsXNet/MRISuperResolution
7a6a6b8e3290d993f79a8d0bc9aa357fee755cb0
3568ad193e124d2000a39e89f11e50231443fff6
refs/heads/master
2021-08-16T10:16:41.781465
2020-09-22T15:37:53
2020-09-22T15:37:53
223,532,949
4
0
null
null
null
null
UTF-8
Python
false
false
2,879
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et import os import sys import time import numpy as np import keras import ants import antspynet args = sys.argv if len(args) != 3: help_message = ("Usage: ...
[ "ntustison@gmail.com" ]
ntustison@gmail.com
ca829bb3b5c37e7e3f12c3fdecba9401acdbba5d
bccfab4d853f7417401a084be95de293e66ccd2a
/mySpider/auxiliary_files/Exhibition136_supporting.py
7999b97dede8993a5006d00cee82bfa1e3c14a46
[]
no_license
CS1803-SE/The-First-Subsystem
a8af03ce04a9de72a6b78ece6411bac4c02ae170
4829ffd6a83133479c385d6afc3101339d279ed6
refs/heads/main
2023-05-06T02:32:08.751139
2021-05-24T06:09:37
2021-05-24T06:09:37
363,400,147
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2021/5/11 20:14 # @Author : 10711 # @File : Exhibition136_supporting.py # @Software: PyCharm class Exhibition136Supporting: startUrl = ['http://www.changjiangcp.com/view/16351.html']
[ "1300978939@qq.com" ]
1300978939@qq.com
e340886d15839bcf81591484b8f866d8ee964e49
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02806/s940830540.py
373fb938a67908fb9d236775b0b7b61aa4ef974e
[]
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
195
py
N = int(input()) st = [input().split() for i in range(N)] X = input() flg = 0 ans = 0 for s, t in st: if flg: ans += int(t) else: if s == X: flg = 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c1b942cfb9f3e78d5166a2ba3efb2c10a7cea81b
ab5cdf8f2de94c327e4679da84f941b1f3c04db4
/kubernetes/test/test_version_api.py
2949fd9417eb62fa0c11cfb164bab7abe4314d78
[ "Apache-2.0" ]
permissive
diannaowa/client-python
a4a92a125178db26004eaef5062f9b1b581b49a8
5e268fb0b6f21a535a14a7f968b84ed4486f6774
refs/heads/master
2020-12-02T22:06:03.687696
2017-06-30T21:42:50
2017-06-30T21:42:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
e125277049f9d9995016ddc244b396fee1ba6e28
40bc68b22e37e77ff7d7ed75f08b7195d16f9fde
/2019/day07/solutionsvm.py
4a2d5b272357149ee73475ed6667046cf732278d
[]
no_license
fuglede/adventofcode
1dd61b3bfd8db0346c8cb6838da8da5adf3d5296
e3c85daf96889dd7aac04a0e741d1409f74e549d
refs/heads/master
2023-09-03T08:52:48.575960
2023-08-26T18:29:19
2023-08-26T18:29:19
159,918,186
59
14
null
null
null
null
UTF-8
Python
false
false
676
py
from collections import deque from itertools import cycle, permutations from math import inf from vm import VM, read_program p07 = read_program(7) # Part one m = -inf for perm in permutations(range(5)): vms = [] signal = 0 for phase in perm: vm = VM(p07) signal = next(VM(p07, deque([phas...
[ "github@fuglede.dk" ]
github@fuglede.dk
d6c70c773646c56f5d50057fddd579b9c60a264a
213be849a50c84e9fc01aade5ff064a9aa7eb8c6
/nautobot_golden_config/__init__.py
133f8c98424367855de2c97353490af77f994942
[ "Apache-2.0" ]
permissive
nniehoff/nautobot-plugin-golden-config
c8d62b381727c9ba76740e4dfa81835561738840
5c5f051d244b277dc9d1dbd6a11c9b236ee9a229
refs/heads/main
2023-08-03T22:11:46.669288
2021-09-24T14:56:28
2021-09-24T14:56:28
413,983,604
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
"""Plugin declaration for nautobot_golden_config.""" __version__ = "0.9.7" from nautobot.extras.plugins import PluginConfig class GoldenConfig(PluginConfig): """Plugin configuration for the nautobot_golden_config plugin.""" name = "nautobot_golden_config" verbose_name = "Golden Configuration" versi...
[ "ken@celenza.org" ]
ken@celenza.org
2bca0b2d85d4f4a26bf43a98631bde8cfd883738
e2cd4f444b18adca671ae2ac8856594b22c6d2ae
/arc/migrations/0091_remove_story_details_change_date.py
1fd910194b0f36e1c5aaa93c79ea00542003a3f9
[]
no_license
anshumanairy/Sprint-Management
36c54c03b66a0d02071a337e8217144a0b0c9578
0c4e8fe87ec4099253d894b7876f0b5b914a2652
refs/heads/master
2022-12-28T02:46:25.847713
2020-10-02T10:02:13
2020-10-02T10:02:13
195,804,893
0
0
null
2020-10-02T10:02:14
2019-07-08T12:11:27
CSS
UTF-8
Python
false
false
341
py
# Generated by Django 2.2 on 2019-08-21 10:47 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('arc', '0090_story_details_change_date'), ] operations = [ migrations.RemoveField( model_name='story_details', name='change_dat...
[ "anshuman.airy04@gmail.com" ]
anshuman.airy04@gmail.com
9ae68445b993fd78a1465231bfcc101b7efb2783
3f888fab6f08ceda44949c7c583ceddcc41b4062
/report_result.py
3f86d4e510fb3a6cda320f5710f608dc81f4cc25
[]
no_license
sisiwang027/Project_SBA_HackBright
cf0397da2eeb58162718c8904d2476dadd4c40bd
38fb60bade59cc5192b08fb47a8530f153a5a7f6
refs/heads/master
2020-12-14T08:50:06.125734
2017-08-07T08:39:38
2017-08-07T08:39:38
95,503,248
2
0
null
null
null
null
UTF-8
Python
false
false
18,515
py
"""Get the result of reports and return json""" from flask import (Flask, render_template, redirect, request, flash, session, jsonify, url_for, send_from_directory) from model import (Gender, User, Customer, Category, CategoryAttribute, CategoryDetail, Product, CategoryDetailValue...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
95592d26dae1df0cb62329b8a85140998af39521
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/7c65ad11e2914bc9774abd37cdd1ac455f1c9433-<list_all>-fix.py
14a5a1ef5bf50d8cde4ae3f6831042b8b6ceec9b
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
def list_all(self): self.log('List all items') try: response = self.storage_client.storage_accounts.list() except Exception as exc: self.fail('Error listing all items - {0}'.format(str(exc))) return response
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
58607e561ba847b72406335fbca478f269ddb28c
3ec008209548feba572f95629747abdebe0558a3
/housing prediction/env/bin/jupyter
37d2a6756a7e2057599c8598b75d53af3855bfea
[]
no_license
KaTaiHo/Continious_Learning
9937b5d14067b13608ad731e5345043caacaca96
879279f9a51038dc3d7b64c28b1e13880f23ac8a
refs/heads/master
2022-11-20T21:23:20.680437
2018-08-24T06:15:16
2018-08-24T06:15:16
99,074,529
0
1
null
2022-10-21T10:47:01
2017-08-02T05:11:53
Python
UTF-8
Python
false
false
263
#!/Users/KaTaiHo/Desktop/GitHub/learning/env/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from jupyter_core.command import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "kataihoo@gmail.com" ]
kataihoo@gmail.com
1980f57a7df7a9544b8dbf8bacd0c53c350a1143
559995c23c13f67ee6f342389d0db81081207d87
/prjforinfcreditvilfw/estimation/postprocess/jsoncsv/gen_top_estimates_df.py
db5348dfd2d78e63f2c2dd095ba7aee8b7cbbcb7
[]
no_license
MacroFinanceHub/PrjForInfCreditVilFW
06a6c475d0c846c1578205e062acb0190bcce1c2
d2a863656962691f8dc13d205a82c81823040c8b
refs/heads/main
2023-07-19T05:31:15.992847
2021-08-30T14:44:14
2021-08-30T14:44:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,516
py
''' Created on Aug 30, 2018 @author: fan ''' import os.path import logging import pandas as pd # import pandas.io.readexport as readexport import pyfan.panda.inout.readexport as readexport import estimation.moments.momcomp as momcomp import projectsupport.hardcode.string_shared as hardstring logger = logging.getLo...
[ "wangfanbsg75@live.com" ]
wangfanbsg75@live.com
369727caa9b1f274cb3338d70531988c54568528
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_098/ch86_2020_06_21_19_53_15_222963.py
1fcf5f95c6e8c012df1e1136e94771e9acbee12f
[]
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
229
py
import csv with open('dados.csv','r') as csv_file, open('dados.tsv', 'w') as tsv_file: csv_file,tsv_file = csv.reader(csv_file), csv.writer(tsv_file, delimiter='\t') for linha in csv_file: tsv_file.writerow(linha)
[ "you@example.com" ]
you@example.com
0fc50b674c41b43ef786650cbc2d22bfbb195881
d14a63d9a08be6040baf51d4f4a6ec845fd9cb97
/admit/util/filter/Filter1D.py
5c1d28090f94e669ff599b1036d628719d97bafd
[ "MIT" ]
permissive
teuben/admit
abf982620f1c58a770a24f9c28165f4adf3f1d0c
1cae54d1937c9af3f719102838df716e7e6d655c
refs/heads/master
2020-04-12T00:49:54.196990
2016-11-09T20:42:13
2016-11-09T20:42:13
73,388,055
1
0
null
null
null
null
UTF-8
Python
false
false
17,793
py
""" .. _filter1D: Filter1D --- 1-dimensional spectral filtering. ---------------------------------------------- This module defines the 1D filter methods. """ import numpy as np import math from copy import deepcopy from collections import OrderedDict class Filter1D(object): """ This class defines ...
[ "teuben@gmail.com" ]
teuben@gmail.com
0a1229effa14b40210a1abe973f19d6d8e697ee6
384d31fe319844c171891f7453b73df84a77bdcc
/src/apps_base/order/constants.py
efbdbf9e0bf0fc6b7c9cad05af960452d6cb5749
[]
no_license
danielhuamani/fanntop
0227a1b5337a45b3b91ab16c614e206f10efc891
1adb65f617f1e418cad75588fa60af909c1e690a
refs/heads/master
2021-03-22T00:46:51.355400
2018-10-06T05:46:07
2018-10-06T05:46:07
114,432,640
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
PENDIENTE = "PE" RECHAZADO = "RC" PAGADO = "PG" CANCELADO = "CN" DENEGADO = "DN" PROCESO = 'PR_1' PROCESO_2 = 'PR_2' ORDER_VALIDATED = 'VAL' ORDER_USED = 'USE' REEMBOLSO = 'RE' TYPE_STATUS = ( (PROCESO, "Pendiente"), ("RC", "Rechazado"), ("PG", "Pagado"), # ("PE", "Pendiente"), # (PROCESO_2, "Proces...
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
cf39c48564e9b19e551240ce121a93cc7743fb4b
dbf4f74403dec9c5531118a858c7b208c43323d4
/airflow/dags/lib/common.py
1ce3c55bbcfb30bcba974a240da78b23c1a92130
[]
no_license
LaoKpa/short_sale_volume
03208c6a5830b61a8e98ba3854b0ada45ee2a666
02c2fb9f91ca94845768554074a5a3018e87b0fe
refs/heads/master
2022-04-06T15:05:19.678439
2020-02-27T20:05:18
2020-02-27T20:05:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
from airflow.configuration import conf as airflow_config import configparser import json import os config = configparser.ConfigParser() airflow_dir = os.path.split(airflow_config['core']['dags_folder'])[0] config.read('{}/config.cfg'.format(airflow_dir)) CLUSTER_NAME = config['AWS']['CLUSTER_NAME'] VPC_ID = config['A...
[ "teguhwpurwanto@gmail.com" ]
teguhwpurwanto@gmail.com
877b61c1bf6a0f9f65e65d4dddc3d75e1788ad23
3ff1c245d945acf82e48f388d2457204e202275f
/desafio/migrations/0022_atributos.py
d65eeb6862db78a6105419422e55ae646f1da42a
[]
no_license
rauldosS/desafio_compiladores
075e7dcb3a167d20d71928727db6c1cb500e23af
da01adf41c47dafd50b1487bb4ad8d27c4f2d199
refs/heads/main
2023-01-03T09:13:18.990618
2020-10-29T01:25:59
2020-10-29T01:25:59
305,174,524
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
# Generated by Django 3.1.2 on 2020-10-28 23:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('desafio', '0021_auto_20201026_0732'), ] operations = [ migrations.CreateModel( name='Atributos', fields=[ ...
[ "48498755+rauldosS@users.noreply.github.com" ]
48498755+rauldosS@users.noreply.github.com
d01c0cfc4e6c223bd56c8cba997a671ee074cc0a
642b7138da231474154a83c2dc3b4a2a42eb441b
/array/sub_arr_with_least_avg.py
4adb849677697c4f94b4740e71555febb2a85ea6
[]
no_license
somanshu/python-pr
15465ed7182413591c709f9978420f6a16c9db91
7bfee6fc2a8340ba3e343f991a1da5bdb4ae9cb2
refs/heads/master
2020-07-02T17:21:37.132495
2019-08-22T08:04:11
2019-08-22T08:04:11
201,602,731
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
# https://www.geeksforgeeks.org/find-subarray-least-average/ def leastAvg(arr, k): summation = [] summation.append(0) summation.append(arr[0]) min_avg = 9999 min_avg_last_index = None for i in range(2, len(arr) + 1): summation.append(summation[i-1] + arr[i-1]) for i in range(3, l...
[ "somanshu@logos.social" ]
somanshu@logos.social
b361107089051be80b1ac8ccd2fb285cfb6e7754
be95beccb4747297af730b25ff00e5016c4337c3
/hostman/__init__.py
091830c8cee238e3b72309918ecee5541fc3e40c
[ "MIT" ]
permissive
TeamAleph/hostman
4e2ebf1a9f246763762fd816d2f3eab9a86e2de4
8ba27903a6dc58464ee4cb8e1a48a2b1a5559696
refs/heads/master
2022-03-30T07:46:24.126778
2020-01-13T20:17:49
2020-01-13T20:17:49
275,264,024
1
0
MIT
2020-06-26T23:14:09
2020-06-26T23:14:08
null
UTF-8
Python
false
false
9,467
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Hostman. Usage: hostman add [-fqbvq] [--force] [--path=PATH] ( [ENTRY ...] | [--input-file=FILE] | [--input-url=URL] ) hostman remove [-qbvq] ([--address=<address>] [--names=<names>]) [--path=PATH] [--input-file=FILE] [--input-url=URL]...
[ "jon@lessknown.co.uk" ]
jon@lessknown.co.uk
756c1be0b975f8ff483955c9a83fcd8608da7e75
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/3240.py
a6126108a389ce9f2e9429f3b4ddc959c34189ad
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
776
py
#!/usr/bin/env python import sys # import numpy import operator def main(filename): f = open(filename, 'r') T = int(f.readline()) for t in xrange(T): result = solve(f) print "Case #%i: %.7f" % (t+1, result) def solve(f): F0 = 2.0 C, F, X = map(float, f.rea...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0afde19c13d759b12976085d7ffb89bde8ee1f5e
9aaa39f200ee6a14d7d432ef6a3ee9795163ebed
/Algorithm/Python/812. Largest Triangle Area.py
892e5661352025b255cbf0cabc57d72ec735f4c0
[]
no_license
WuLC/LeetCode
47e1c351852d86c64595a083e7818ecde4131cb3
ee79d3437cf47b26a4bca0ec798dc54d7b623453
refs/heads/master
2023-07-07T18:29:29.110931
2023-07-02T04:31:00
2023-07-02T04:31:00
54,354,616
29
16
null
null
null
null
UTF-8
Python
false
false
1,046
py
# -*- coding: utf-8 -*- # Created on Mon Apr 09 2018 15:45:58 # Author: WuLC # EMail: liangchaowu5@gmail.com # get the area of triangle with Heron's formula # reference https://en.wikipedia.org/wiki/Heron%27s_formula class Solution(object): def largestTriangleArea(self, points): """ :type points: L...
[ "liangchaowu5@gmail.com" ]
liangchaowu5@gmail.com
98582fdd92598261a9288ab72cad9d235b2a216b
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-3893.py
a0be1c21754b1c2d35d43c59263aa38aa757372e
[]
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,754
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
2827303ea1787af24a4a3935a48e8b7cc341780b
2c4648efe8c7e408b8c3a649b2eed8bb846446ec
/codewars/Python/8 kyu/ExclusiveOrXorLogicalOperator/xor.py
ee8ba551c8806b9d2aebe809a31c1ddfa1f85d12
[]
no_license
Adasumizox/ProgrammingChallenges
9d79bd1b0ce4794b576124f9874aabb86d5c0713
3630fcde088d7991e344eb1b84805e9e756aa1a2
refs/heads/master
2021-07-16T08:16:57.538577
2020-07-19T19:58:28
2020-07-19T19:58:28
190,159,085
1
0
null
null
null
null
UTF-8
Python
false
false
31
py
def xor(a,b): return a != b
[ "darkdan099@gmail.com" ]
darkdan099@gmail.com
f1196a410af03757d39757835dc4e5a8603ad26a
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/comparison/test_comment03.py
28e4c327e5958ca3a4b6bd46ac2f1bfae30638fe
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
961
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
09dddad36a31c3941f9759d85f109af7ad424d73
28c0bcb13917a277cc6c8f0a34e3bb40e992d9d4
/koku/api/migrations/0010_auto_20200128_2138.py
7aceb81ec568991a0e9b1d2e34bcf43e8c3ff8f9
[ "Apache-2.0" ]
permissive
luisfdez/koku
43a765f6ba96c2d3b2deda345573e1d97992e22f
2979f03fbdd1c20c3abc365a963a1282b426f321
refs/heads/main
2023-06-22T13:19:34.119984
2021-07-20T12:01:35
2021-07-20T12:01:35
387,807,027
0
1
Apache-2.0
2021-07-20T13:50:15
2021-07-20T13:50:14
null
UTF-8
Python
false
false
593
py
# Generated by Django 2.2.8 on 2020-01-28 21:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [("api", "0009_providerstatus_squashed_0042_auto_20200116_2048")] operations = [ migrations.RunSQL( """ UPDATE public.api_provider ...
[ "noreply@github.com" ]
luisfdez.noreply@github.com
de6c66ecf43e841a117ca0be3fd1b576c402f4e8
51e7336e8bb447187cbe6ede2910f40700316dc1
/simics/monitorCore/diddler.py
9bb67e16e8360d641a011f184d6c1538ec82b788
[]
no_license
hacker-steroids/RESim
69bac74a1b119c54d03b9ea0fda7a85cc45ea854
94498c699575f5078de415fac8c517d520cb2f94
refs/heads/master
2020-05-30T12:33:53.799610
2019-06-01T00:51:20
2019-06-01T00:51:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,721
py
#!/usr/bin/env python import os import re from simics import * def nextLine(fh): retval = None while retval is None: line = fh.readline() if line is None or len(line) == 0: break if line.startswith('#'): continue retval = line.strip('\n') return retval class ...
[ "mfthomps@nps.edu" ]
mfthomps@nps.edu
baebd8438e36c15261b39d8240930bbf3b21cfac
42fdf741bf64ea2e63d1546bb08356286f994505
/macrocab_ex2/rasp30_vmm_frame6.py
5ccb702b8fe5f8f28ed7cfe61ee3204261d47609
[]
no_license
skim819/RASP_Workspace_sihwan
7e3cd403dc3965b8306ec203007490e3ea911e3b
0799e146586595577c8efa05c647b8cb92b962f4
refs/heads/master
2020-12-24T05:22:25.775823
2017-04-01T22:15:18
2017-04-01T22:15:18
41,511,563
1
0
null
null
null
null
UTF-8
Python
false
false
377
py
'cab_vmm.O[0:5]' ,[range( 29, 23, -1), 21]] ## o/ps connectn to i/ps?? ummmmm !!! ---we need this self.li = smDictFromList(li_sm) li0b = recStrExpand(li_sm_0b) li0b.reverse() self.li0 = recStrExpand(li_sm_0a) + li0b self.li1 = recStrExpand(li_sm_1) #pdb.set_trac...
[ "ubuntu@ubuntu-VirtualBox.(none)" ]
ubuntu@ubuntu-VirtualBox.(none)
ded8ee76872f157d15e6d9423f30b3068ac198ae
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02392/s638672279.py
d0cf75d9c7215e1b6ef0047f7a19216eae852dd7
[]
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
220
py
import fileinput for line in fileinput.input(): tokens = list(map(int, line.strip().split())) a, b, c = tokens[0], tokens[1], tokens[2] if a < b and b < c: print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
05bd301169b370c0af23207dbee2b2997c24161d
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/vpn_connections_operations.py
ad7612c0a65d8b003afc62f941e61d8a204314a4
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
17,358
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
ceb816aa78646111fde73dd941d40a313982aebe
95100d3a58122a81946eac46618b9e59bef1ba22
/Bin/autoTestClass.py
82c5b1f2fd5691c930ede521b36ef16f95f2afad
[]
no_license
ayiya-hui/automation
6fc65bf7168a2ca663d17ead66ad83adffb61cb4
d100795db2275994a40199b8935296ae30a9eb0e
refs/heads/master
2022-12-31T08:32:53.558207
2020-05-25T09:17:53
2020-05-25T09:17:53
135,518,107
2
1
null
null
null
null
UTF-8
Python
false
false
6,566
py
import logging class Config: def __init__(self): self.dataCollector='' self.appServer='' self.user='' self.password='' self.testModule='' self.testTask='' self.testSuites='' self.excludeSuites='' self.option='' self.sleep='' self.version='' class TestCategory: def __init__(sel...
[ "hhuang@fortinet.com" ]
hhuang@fortinet.com
8a08595a18180fdd63eb5e412db51e021f22bf79
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03050/s149029376.py
4af3d320d49d90f7eaaaa5bb9349d14574c742f6
[]
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
452
py
def main(): def trial_division(n): divs = [] for i in range(1, int(n**0.5)+1): if n % i == 0: divs.append(i) if i != n//i: divs.append(n//i) return divs N = int(input()) divs = trial_division(N) ans = 0 for d in...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
123ef66ca04621db199f5545ba0778aa705e1a77
9afbb6993450d1e0c3bae68e86844bd06d4419ee
/file_handling/json_programs/j1.py
bf4e31c84eab625edd9c8a9dbc0bde5ea2b9b2c5
[]
no_license
Jigar710/Python_Programs
6f331caac30878655d4cca4ad97d4214c0262088
714a6306487eb6712f32ccb51b6a2407a81873fa
refs/heads/main
2023-02-25T12:24:44.874199
2021-01-28T15:43:24
2021-01-28T15:43:24
332,869,164
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
import json a = {"name":'sumit',"age":31} print(type(a)) file = open("output.txt","w") json.dump(a,file)
[ "jigar.shekhat.777@gmail.com" ]
jigar.shekhat.777@gmail.com
965b64261b972827ee492000da2e36bc4999cadf
2776195dc0863f5e43c5394767f1f950ce7672bb
/util/command_console_tui.py
646711bad18fe43b632ea9eb243f651dc9bf2df2
[ "MIT" ]
permissive
sharkbound/PythonTwitchBotFramework
a5e6f55c89a0639cb8e3dd16b99bb6388ee5f5f8
3d9aff994d531272d53b869c3dac6602b04a9d70
refs/heads/master
2023-09-04T06:34:44.456338
2023-08-16T21:32:58
2023-08-16T21:32:58
134,095,615
111
47
MIT
2023-09-14T20:40:04
2018-05-19T20:24:24
Python
UTF-8
Python
false
false
6,689
py
#!/usr/bin/env python3 import asyncio import json import click import websockets from urwid import AsyncioEventLoop, Edit, ExitMainLoop, Filler, Frame, MainLoop, Text, connect_signal COMMAND_READ, PASSWORD_READ = 0, 1 SEND_PASSWORD = 'send_password' BAD_PASSWORD = 'bad_password' DISCONNECTING = 'disconnecting' LIST_C...
[ "ashort@mozilla.com" ]
ashort@mozilla.com
38507d07b45390ec1f2ae7abcb4b09bafc861be6
bea3febeda4c0688dfbb2db584ab4f7d710040e0
/django/instad/insta/settings.py
6010fe845419449c188ed9aa6dcdd3369ae86c0d
[]
no_license
airpong/TIL-c9
c471ac73e23716cf677ba590dd6099e584c42883
069cc53820a09cd9787765ad41ba7e792dc342b5
refs/heads/master
2022-12-12T22:26:23.147651
2019-06-27T08:24:44
2019-06-27T08:24:44
166,777,129
0
0
null
2022-11-22T03:46:57
2019-01-21T08:34:01
Python
UTF-8
Python
false
false
3,302
py
""" Django settings for insta project. Generated by 'django-admin startproject' using Django 2.1.8. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # B...
[ "giponge@gmail.com" ]
giponge@gmail.com
e62b8f2033d88c7c11b3b8e799e603b19e5974b7
4bfbcb96dcfe05fee32d222cb7a274099db055bd
/bilinear_LSTM_hingeloss/utils.py
ece2b6692b2ebe9ab87dc7f335d8cdfc537b3af4
[]
no_license
naushadzaman/ACL_CKBC
5c5c8b0669e059f9f08090b9500dff84af94d2e6
655f3aaf28ff5040f50e72fb8118934766306969
refs/heads/master
2020-07-17T07:30:07.943944
2018-11-19T01:27:13
2018-11-19T01:27:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,095
py
from scipy.io import loadmat import numpy as np import math from random import shuffle from random import choice from random import randint from theano import tensor as T def lookup(We,words,w): if w in words: return We[words[w],:] else: #print 'find UUUNKKK words',w return We[words['UU...
[ "abbeyli92@gmail.com" ]
abbeyli92@gmail.com
bc48e51be4ffe8728dfa46f4d44de953c2b09add
7a550d2268bc4bc7e2fec608ffb1db4b2e5e94a0
/0901-1000/0908-Smallest Range I/0908-Smallest Range I.py
294efb4da9d84443ca7fc5f5c0dbae2aa24d967c
[ "MIT" ]
permissive
jiadaizhao/LeetCode
be31bd0db50cc6835d9c9eff8e0175747098afc6
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
refs/heads/master
2021-11-05T04:38:47.252590
2021-10-31T09:54:53
2021-10-31T09:54:53
99,655,604
52
28
MIT
2020-10-02T12:47:47
2017-08-08T05:57:26
C++
UTF-8
Python
false
false
122
py
class Solution: def smallestRangeI(self, A: List[int], K: int) -> int: return max(0, max(A) - min(A) - K * 2)
[ "jiadaizhao@gmail.com" ]
jiadaizhao@gmail.com
7c447cdc98629e0992225a79f10d08e2ae28ed04
650aed41de2191565dce812a3c4d2b049928f5a4
/tornado_overview/chapter01/blockio_test.py
1c48fd520ee956a849f583d2d50952c3f9107b0f
[ "Apache-2.0" ]
permissive
mtianyan/TornadoForum
a41dfc57f1a9ca60a0991dcaa4374cd4a8b6ba93
5698dd5cc0e399d3d0ec53e159b8e1f1cddfbe71
refs/heads/master
2022-04-23T09:48:25.933781
2020-04-20T17:06:23
2020-04-20T17:06:23
168,485,700
2
1
null
null
null
null
UTF-8
Python
false
false
651
py
# 阻塞io import socket import requests html = requests.get("http://www.baidu.com").text # #1. 三次握手建立tcp连接, # # 2. 等待服务器响应 print(html) print("*" * 30) # 如何通过socket直接获取html client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) host = "www.baidu.com" client.connect((host, 80)) # 阻塞io, 意味着这个时候cpu是空闲的 client.send("GET...
[ "1147727180@qq.com" ]
1147727180@qq.com
e1bd696eaab1b5eebddfedbc850748664f84c256
bb983b38f9be7b6fd4ab1a651484db37c1aeff39
/0705/test2_physical_properties.py
f6a28c9ca6581f46cb5dcee2ac17325035455cc2
[]
no_license
nakanishi-akitaka/python2018_backup
c214df78372cca993d69f8001010ec2f6dcaf1be
45766d3c3777de2a91b3e2cf50c6bfedca8627da
refs/heads/master
2023-02-18T08:04:28.625532
2022-06-07T01:02:53
2022-06-07T01:02:53
201,399,236
5
30
null
2023-02-10T21:06:51
2019-08-09T05:48:22
Jupyter Notebook
UTF-8
Python
false
false
583
py
# -*- coding: utf-8 -*- """ Check physical properties of materials Created on Thu Jul 5 14:04:59 2018 @author: Akitaka """ from mendeleev import element for i in range(1,100): x=element(i) # print(x.symbol) # print(x,x.electron_affinity,"electron affinity") if(x.electron_affinity==None...
[ "noreply@github.com" ]
nakanishi-akitaka.noreply@github.com
4b8beff234eb9196456cb171893224665acf0ae0
b580fd482147e54b1ca4f58b647fab016efa3855
/host_im/mount/malware-classification-master/samples/not/sample_good386.py
12e873b5df7e5bce9581700bed1365123b6204c4
[]
no_license
Barnsa/Dissertation
1079c8d8d2c660253543452d4c32799b6081cfc5
b7df70abb3f38dfd446795a0a40cf5426e27130e
refs/heads/master
2022-05-28T12:35:28.406674
2020-05-05T08:37:16
2020-05-05T08:37:16
138,386,344
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
import re import datetime import math import array import random import readline import textwrap import stringprep import difflib nterms = 719 n1, n2 = 0, 1 if nterms <= 0: print("Please provide a positive integer.") elif nterms == 1: print("Fibonacci sequence upto", nterms, ":") print(n1) else: print("Fibonacci se...
[ "barnsa@uni.coventry.ac.uk" ]
barnsa@uni.coventry.ac.uk
8e632b71a2abf023a97cded3ffed0e7a87717c64
5138b8077a944e655570c3d15389ccaac0dafceb
/scripts/fileserver.py
c20b8737a7e1bddee6c8ef5a3c1e1060c3c2b821
[]
no_license
cms-btv-pog/CTagTraining
9740abaf4a5a05500782695723cace90f6d8882e
affb2dc09a3bb812d59302990f59cbfaa06370f4
refs/heads/master
2021-01-18T22:29:05.148151
2016-04-07T07:12:29
2016-04-07T07:12:29
42,971,506
2
4
null
2016-01-25T10:15:07
2015-09-23T01:42:03
Python
UTF-8
Python
false
false
998
py
''' Workaround to allow xrd access to root files, given that the ROOT version shipped with anaconda does not provide the functionality. Files are transferred on demand and deleted when not needed any longer. ''' import subprocess import os import uuid class PoolFile(object): def __init__(self, path, delete_on_exi...
[ "mverzett@cern.ch" ]
mverzett@cern.ch
39c8bc0e2a0434d7c3f69aa93bb3a118e6a627a0
fa5e890e95f35744a42ae231c6678b8295502c12
/lectures/migrations/0001_initial.py
5b9fa25a457967d2fff42b78c8734607ad809eae
[]
no_license
JeeHyungPark/first_MVP
4518ae01114686e9ad9fde45112c2eef438e1054
c4a673a69772260d1ebdb16f73b242c4f90da674
refs/heads/master
2023-01-05T19:31:35.018377
2020-09-02T07:38:34
2020-09-02T07:38:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
# Generated by Django 3.0.9 on 2020-09-01 16:13 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Lecture', fields=[ ('id', m...
[ "cdkrcd8@gmail.com" ]
cdkrcd8@gmail.com
fa338f2fa35a152beb28b1af654dc0bd2c3f620e
e1efc8e0b0e4629dea61504fbc816c0527691bd9
/6.redis/redis12-线程模型.py
ed2756dce5974767a3cd606fad0585653fcbcf93
[]
no_license
xiongmengmeng/xmind-technology
2bb67a0bf92cfd660cac01f8ab3a2454423ccba5
e2fdb6987ef805a65f0a4feb52d84383853f4b77
refs/heads/main
2023-07-31T07:10:29.868120
2021-09-11T08:18:17
2021-09-11T08:18:17
307,636,242
3
1
null
null
null
null
UTF-8
Python
false
false
2,214
py
import os,sys parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0,parentdir) import xmind from xmind.core.markerref import MarkerId xmind_name="redis" w = xmind.load(os.path.dirname(os.path.abspath(__file__))+"\\"+xmind_name+".xmind") s2=w.createSheet() s2.setTitle("线程模型") r2=...
[ "xiongmengmeng@qipeipu.com" ]
xiongmengmeng@qipeipu.com
9ddca5a1b07df11753fc7a2efda1d2201290c07d
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/2/ehb.py
058990e09572712d7dcb0b5b6a5f7d55aff559ca
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
e867fcb024d983a83ea381bf70d707e03b5bf658
a560269290749e10466b1a29584f06a2b8385a47
/Notebooks/py/byt3dev/titanic-data-science-solutions/titanic-data-science-solutions.py
dded11be2e4ef2c17bb12915f5a13b249e462570
[]
no_license
nischalshrestha/automatic_wat_discovery
c71befad1aa358ae876d5494a67b0f4aa1266f23
982e700d8e4698a501afffd6c3a2f35346c34f95
refs/heads/master
2022-04-07T12:40:24.376871
2020-03-15T22:27:39
2020-03-15T22:27:39
208,379,586
2
1
null
null
null
null
UTF-8
Python
false
false
38,808
py
#!/usr/bin/env python # coding: utf-8 # # Titanic Data Science Solutions # # This notebook is companion to the book [Data Science Solutions](https://startupsci.com). The notebook walks us through a typical workflow for solving data science competitions at sites like Kaggle. # # There are several excellent notebooks ...
[ "bitsorific@gmail.com" ]
bitsorific@gmail.com
efd6dd85796d1d65f530aaa37a650624b1f19999
cc8905a957e9e0fa211e5e14e6cda6957727c5dc
/ipwxlearn/tests/glue/test_updates.py
91d6c4e7364f03c7f83768bba473cdaea04aab4c
[]
no_license
korepwx/ipwxlearn
630ae276e1a8b95e68d466debdaf4f51c5c6d634
afbfe8ee1af114a8bf6aac73aee36c4d0930b8fc
refs/heads/master
2021-01-14T10:15:05.883476
2016-07-15T01:59:23
2016-07-15T01:59:23
57,875,265
0
0
null
null
null
null
UTF-8
Python
false
false
2,116
py
# -*- coding: utf-8 -*- import unittest import numpy as np from ipwxlearn import glue from ipwxlearn.glue import G class UpdatesTestCase(unittest.TestCase): def _do_test_update(self, optimizer, n_dim=256, *args, **kwargs): graph = G.Graph() with graph.as_default(): # okay, compose t...
[ "public@korepwx.com" ]
public@korepwx.com
05a0b55aa941375cb364396a2d5cb1c4b6bd978a
1382e88bc948a1f6b506018521827a1fafb9c2df
/modules/dictionary/dictionary.py
39305b1b1169a9c819196605b33ef8f97574931d
[]
no_license
nano13/tambi
73c405d333b91dc478d7cd274e3f8516fde15bd5
9475110ddd9ebb153de4bc8c734ce95c11d63186
refs/heads/master
2021-01-18T12:52:22.386453
2019-01-19T13:52:50
2019-01-19T13:52:50
100,367,577
2
2
null
null
null
null
UTF-8
Python
false
false
2,458
py
# -*- coding: utf_8 -*- from interpreter.exceptions import CommandNotInThisModule from interpreter.structs import Result import sqlite3 class Dictionary(object): def __init__(self): pass def initDbConnection(self): self.connection = sqlite3.connect("./modules/vocable/vocables.db") ...
[ "nano13@gmx.net" ]
nano13@gmx.net
c626b14c3515006e2869ad2a09ddea3d53f9a59a
9468a03f04f91bbb76338253ccb53b885b65698a
/beam_models/EMSS/with_elevation/SKADCBeamPatterns/2019_08_06_SKA_Ku/interpolated/interpolate_beam_Ku.py
035dcf0d39393dc2b17e0baaeeffdfca603503e6
[ "BSD-3-Clause" ]
permissive
ska-telescope/sim-mid-pointing
53a9cd1cb1e66584a72b4f50e51b3e15942d1de7
0f11d37e6fac231d7f20e4a7e20ee76e7d2d560f
refs/heads/master
2020-05-20T06:47:51.107561
2020-01-23T13:50:22
2020-01-23T13:50:22
185,428,675
0
1
BSD-3-Clause
2019-10-15T16:21:26
2019-05-07T15:22:02
Python
UTF-8
Python
false
false
3,440
py
import logging import sys import numpy from processing_library.image.operations import create_empty_image_like from rascil.processing_components.image.operations import export_image_to_fits, import_image_from_fits import matplotlib.pyplot as plt log = logging.getLogger() log.setLevel(logging.INFO) log.addHandler(lo...
[ "realtimcornwell@gmail.com" ]
realtimcornwell@gmail.com