hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
92f10be0db1bfd9a43f5256577f3d2fdfd1c920b
13,185
py
Python
marvel_world/views.py
xiaoranppp/si664-final
f5545c04452fd674ddf1d078444e79ea58385e7e
[ "MIT" ]
null
null
null
marvel_world/views.py
xiaoranppp/si664-final
f5545c04452fd674ddf1d078444e79ea58385e7e
[ "MIT" ]
1
2018-11-25T21:07:37.000Z
2018-11-25T21:07:37.000Z
marvel_world/views.py
xiaoranppp/si664-final
f5545c04452fd674ddf1d078444e79ea58385e7e
[ "MIT" ]
1
2018-12-21T12:06:03.000Z
2018-12-21T12:06:03.000Z
from django.shortcuts import render,redirect from django.http import HttpResponse,HttpResponseRedirect from django.views import generic from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator from .models import Character,Comic,Power,CharacterPower,CharacterComic f...
31.618705
154
0.754873
92f1aa0fa9769c9eeef09b7c084da22948285538
267
py
Python
src/rpi/fwd.py
au-chrismor/selfdrive
31325dd7a173bbb16a13e3de4c9598aab0a50632
[ "BSD-3-Clause" ]
null
null
null
src/rpi/fwd.py
au-chrismor/selfdrive
31325dd7a173bbb16a13e3de4c9598aab0a50632
[ "BSD-3-Clause" ]
6
2018-03-15T05:23:55.000Z
2018-10-26T10:28:47.000Z
src/rpi/fwd.py
au-chrismor/selfdrive
31325dd7a173bbb16a13e3de4c9598aab0a50632
[ "BSD-3-Clause" ]
null
null
null
"""Set-up and execute the main loop""" import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) #Right motor input A GPIO.setup(18,GPIO.OUT) #Right motor input B GPIO.setup(23,GPIO.OUT) GPIO.output(18,GPIO.HIGH) GPIO.output(23,GPIO.LOW)
16.6875
38
0.749064
92f3155f2bddf2f3a6336a7c75d33f3d299e7e91
931
py
Python
util/get_from_db.py
Abel-Huang/simple-image-classifier
89d2822c2b06cdec728f734d43d9638f4b601348
[ "MIT" ]
4
2017-05-17T08:01:38.000Z
2018-07-22T11:13:55.000Z
util/get_from_db.py
Abel-Huang/ImageClassifier
89d2822c2b06cdec728f734d43d9638f4b601348
[ "MIT" ]
null
null
null
util/get_from_db.py
Abel-Huang/ImageClassifier
89d2822c2b06cdec728f734d43d9638f4b601348
[ "MIT" ]
null
null
null
import pymysql # config = { 'host': '127.0.0.1', 'port': 3306, 'user': 'root', 'password': '', 'db': 'classdata', 'charset': 'utf8', 'cursorclass': pymysql.cursors.DictCursor, }
20.23913
54
0.541353
92f361f8ed017247a610edc6823b43b8f1e0fefd
290
py
Python
registerapp/api.py
RajapandiR/django-register
cf20829fe3515bdd3112a88a890d83d852f09bde
[ "MIT" ]
null
null
null
registerapp/api.py
RajapandiR/django-register
cf20829fe3515bdd3112a88a890d83d852f09bde
[ "MIT" ]
6
2021-03-19T04:17:51.000Z
2021-09-22T19:07:17.000Z
registerapp/api.py
RajapandiR/django-register
cf20829fe3515bdd3112a88a890d83d852f09bde
[ "MIT" ]
null
null
null
from rest_framework import viewsets from rest_framework.views import APIView from registerapp import serializers from registerapp import models
26.363636
50
0.855172
92f638d897dda2bf328a3077b43f492f38f39bb7
1,412
py
Python
jduck/robot.py
luutp/jduck
3c60a79c926bb9452777cddbebe28982273068a6
[ "Apache-2.0" ]
null
null
null
jduck/robot.py
luutp/jduck
3c60a79c926bb9452777cddbebe28982273068a6
[ "Apache-2.0" ]
null
null
null
jduck/robot.py
luutp/jduck
3c60a79c926bb9452777cddbebe28982273068a6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ jduck.py Description: Author: luutp Contact: luubot2207@gmail.com Created on: 2021/02/27 """ # Utilities # %% # ================================IMPORT PACKAGES==================================== # Utilities from traitlets.config.configurable import SingletonConfigur...
25.214286
85
0.61119
92f8d1944416ddff1cb95f31ed4c8d93f364c956
5,193
py
Python
src/nebulo/gql/alias.py
olirice/nebulo
de9b043fe66d0cb872c5c0f2aca3c5c6f20918a7
[ "MIT" ]
76
2020-04-03T01:21:47.000Z
2021-12-06T02:54:53.000Z
src/nebulo/gql/alias.py
olirice/nebulo
de9b043fe66d0cb872c5c0f2aca3c5c6f20918a7
[ "MIT" ]
7
2020-04-06T04:44:10.000Z
2021-05-17T12:38:15.000Z
src/nebulo/gql/alias.py
olirice/nebulo
de9b043fe66d0cb872c5c0f2aca3c5c6f20918a7
[ "MIT" ]
2
2020-10-23T10:25:16.000Z
2020-10-28T14:16:57.000Z
# pylint: disable=missing-class-docstring,invalid-name import typing from graphql.language import ( InputObjectTypeDefinitionNode, InputObjectTypeExtensionNode, ObjectTypeDefinitionNode, ObjectTypeExtensionNode, ) from graphql.type import ( GraphQLArgument, GraphQLBoolean, GraphQLEnumType, ...
25.965
101
0.706913
92f9c4373d43c67eefcb0f04052b7d238d59ad11
2,297
py
Python
integrations/tensorflow/bindings/python/pyiree/tf/compiler/saved_model_test.py
rise-lang/iree
46ad3fe392d38ce3df6eff7826cc1ab331a40b72
[ "Apache-2.0" ]
1
2020-08-13T09:25:59.000Z
2020-08-13T09:25:59.000Z
integrations/tensorflow/bindings/python/pyiree/tf/compiler/saved_model_test.py
rise-lang/iree
46ad3fe392d38ce3df6eff7826cc1ab331a40b72
[ "Apache-2.0" ]
null
null
null
integrations/tensorflow/bindings/python/pyiree/tf/compiler/saved_model_test.py
rise-lang/iree
46ad3fe392d38ce3df6eff7826cc1ab331a40b72
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
29.831169
80
0.727035
92f9e01e28f69fd9e75ceb00e00af2fc86419292
1,618
py
Python
api/models/indicator/child_objects/properties.py
taco-chainalysis/pypulsedive
e89a2651e1ef41a1a51ddbeabc1f914a0d4e467d
[ "MIT" ]
null
null
null
api/models/indicator/child_objects/properties.py
taco-chainalysis/pypulsedive
e89a2651e1ef41a1a51ddbeabc1f914a0d4e467d
[ "MIT" ]
null
null
null
api/models/indicator/child_objects/properties.py
taco-chainalysis/pypulsedive
e89a2651e1ef41a1a51ddbeabc1f914a0d4e467d
[ "MIT" ]
1
2021-11-10T16:50:32.000Z
2021-11-10T16:50:32.000Z
from .grandchild_objects import Cookies from .grandchild_objects import Dns from .grandchild_objects import Dom from .grandchild_objects import Geo #from .grandchild_objects import Http #from .grandchild_objects import Meta from .grandchild_objects import Ssl #from .grandchild_objects import WhoIs
33.708333
83
0.642769
92fa506f1dc831d005f72a65f033e46f94fe54e8
9,084
py
Python
iRep/gc_skew.py
scottdaniel/iRep
5d31688eeeab057ce54f39698e3f9cc5738e05ad
[ "MIT" ]
55
2016-06-17T17:31:48.000Z
2022-01-19T08:24:43.000Z
iRep/gc_skew.py
scottdaniel/iRep
5d31688eeeab057ce54f39698e3f9cc5738e05ad
[ "MIT" ]
35
2016-06-24T17:19:04.000Z
2021-11-06T16:08:43.000Z
iRep/gc_skew.py
scottdaniel/iRep
5d31688eeeab057ce54f39698e3f9cc5738e05ad
[ "MIT" ]
14
2016-07-21T17:34:16.000Z
2020-03-18T03:45:55.000Z
#!/usr/bin/env python3 """ script for calculating gc skew Chris Brown ctb@berkeley.edu """ # python modules import os import sys import argparse import numpy as np from scipy import signal from itertools import cycle, product # plotting modules from matplotlib import use as mplUse mplUse('Agg') import matplotlib.py...
36.191235
95
0.55295
92fa730397bfd4949cfd5d8aa12c70a6b5cb5576
2,429
py
Python
examples/send_governance_vote_transaction.py
Algofiorg/algofi-py-sdk
6100a6726d36db4d4d3287064f0ad1d0b9a05e03
[ "MIT" ]
38
2021-12-30T02:32:57.000Z
2022-03-23T22:09:16.000Z
examples/send_governance_vote_transaction.py
Algofiorg/algofi-py-sdk
6100a6726d36db4d4d3287064f0ad1d0b9a05e03
[ "MIT" ]
4
2021-11-03T00:14:46.000Z
2022-03-28T02:17:33.000Z
examples/send_governance_vote_transaction.py
Algofiorg/algofi-py-sdk
6100a6726d36db4d4d3287064f0ad1d0b9a05e03
[ "MIT" ]
8
2021-12-15T05:29:55.000Z
2022-02-08T03:45:11.000Z
# This sample is provided for demonstration purposes only. # It is not intended for production use. # This example does not constitute trading advice. import os from dotenv import dotenv_values from algosdk import mnemonic, account from algofi.v1.asset import Asset from algofi.v1.client import AlgofiTestnetClient, Algo...
42.614035
121
0.799918
92fa7f11780de4e7d336cb67c51c29ac5c8fbc36
9,059
py
Python
bid/inventoryClient.py
franklx/SOAPpy-py3
f25afba322e9300ba4ebdd281118b629ca63ba24
[ "BSD-3-Clause" ]
7
2018-01-03T18:24:43.000Z
2022-03-07T04:34:01.000Z
bid/inventoryClient.py
franklx/SOAPpy-py3
f25afba322e9300ba4ebdd281118b629ca63ba24
[ "BSD-3-Clause" ]
null
null
null
bid/inventoryClient.py
franklx/SOAPpy-py3
f25afba322e9300ba4ebdd281118b629ca63ba24
[ "BSD-3-Clause" ]
18
2018-08-06T11:30:16.000Z
2022-03-09T11:24:24.000Z
#!/usr/bin/env python import getopt import sys import string import re import time sys.path.insert(1,"..") from SOAPpy import SOAP import traceback DEFAULT_SERVERS_FILE = './inventory.servers' DEFAULT_METHODS = ('SimpleBuy', 'RequestForQuote','Buy','Ping') if __name__ == "__main__": ...
31.130584
139
0.486919
92fb1af4be141cb39cbab935a9b9551b1ec5b453
934
py
Python
src/compile.py
Pixxeasy/WinTools
e67c365cd4a7a47a410c25b7df8eeaeedc05dd8d
[ "MIT" ]
null
null
null
src/compile.py
Pixxeasy/WinTools
e67c365cd4a7a47a410c25b7df8eeaeedc05dd8d
[ "MIT" ]
null
null
null
src/compile.py
Pixxeasy/WinTools
e67c365cd4a7a47a410c25b7df8eeaeedc05dd8d
[ "MIT" ]
null
null
null
import os import json import shutil with open("entry.tp") as entry: entry = json.loads(entry.read()) startcmd = entry['plugin_start_cmd'].split("%TP_PLUGIN_FOLDER%")[1].split("\\") filedirectory = startcmd[0] fileName = startcmd[1] if os.path.exists(filedirectory): os.remove(os.path.join(os.getcwd(), "Wi...
33.357143
127
0.674518
92fca9c0141bc42e92af9526839fedc292014b9b
292
py
Python
suda/1121/12.py
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
suda/1121/12.py
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
suda/1121/12.py
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
for _ in range(int(input())): x, y = list(map(int, input().split())) flag = 1 for i in range(x, y + 1): n = i * i + i + 41 for j in range(2, n): if j * j > n: break if n % j == 0: flag = 0 break if flag == 0: break if flag: print("OK") else: print("Sorry")
17.176471
39
0.489726
92feee19e193679cb75cdd6152ceb20caad92e8b
389
gyp
Python
notification/app/node_modules/hiredis/binding.gyp
c2gconsulting/bulkpay
224a52427f80a71f66613c367a5596cbd5e97294
[ "MIT" ]
208
2015-01-07T03:50:56.000Z
2022-03-21T03:34:12.000Z
binding.gyp
badboy/hiredis-node-win
d113945a182ba1d616f8fba06e2d80dc9f09552b
[ "BSD-3-Clause" ]
72
2015-01-11T09:54:16.000Z
2019-11-21T14:07:43.000Z
binding.gyp
badboy/hiredis-node-win
d113945a182ba1d616f8fba06e2d80dc9f09552b
[ "BSD-3-Clause" ]
55
2015-01-10T20:54:13.000Z
2022-02-02T14:08:01.000Z
{ 'targets': [ { 'target_name': 'hiredis', 'sources': [ 'src/hiredis.cc' , 'src/reader.cc' ], 'include_dirs': ["<!(node -e \"require('nan')\")"], 'dependencies': [ 'deps/hiredis.gyp:hiredis-c' ], 'defines': [ '_GNU_SOURCE' ], ...
16.913043
57
0.375321
92ff4f4bfa893dc686e0e12fb0d4936e8c8b259d
272
py
Python
basic_and.py
Verkhovskaya/PyDL
4c3f2d952dd988ff27bf359d2f2cdde65737e062
[ "MIT" ]
5
2018-07-28T18:18:59.000Z
2022-01-05T19:01:50.000Z
basic_and.py
Verkhovskaya/PyDL
4c3f2d952dd988ff27bf359d2f2cdde65737e062
[ "MIT" ]
null
null
null
basic_and.py
Verkhovskaya/PyDL
4c3f2d952dd988ff27bf359d2f2cdde65737e062
[ "MIT" ]
null
null
null
from pywire import * width = 4 a = Signal(width, io="in") b = Signal(width, io="out") Inverter(a, b) build()
14.315789
29
0.591912
13003b62c91dfe370f2b6ae3d293c73a5a463179
4,521
py
Python
network/evaluate_keypoints.py
mhsung/deep-functional-dictionaries
8b3d70c3376339cb1b7baacf7753094cd1ffef45
[ "MIT" ]
41
2018-07-10T10:15:02.000Z
2021-04-20T03:10:16.000Z
network/evaluate_keypoints.py
Yajha/deep-functional-dictionaries
deecf8c6c85e253cfa52be7c6b3c308d5e5aaf81
[ "MIT" ]
2
2018-07-05T06:34:13.000Z
2019-09-18T08:57:56.000Z
network/evaluate_keypoints.py
Yajha/deep-functional-dictionaries
deecf8c6c85e253cfa52be7c6b3c308d5e5aaf81
[ "MIT" ]
7
2018-07-28T00:00:08.000Z
2021-06-30T13:39:44.000Z
# Minhyuk Sung (mhsung@cs.stanford.edu) # April 2018 import os, sys BASE_DIR = os.path.normpath( os.path.join(os.path.dirname(os.path.abspath(__file__)))) sys.path.append(os.path.join(BASE_DIR, '..')) from datasets import * from generate_outputs import * from scipy.optimize import linear_sum_assignment #impor...
26.438596
76
0.601858
13008c4023106e4274d2b92d9aa79a58e4551138
2,388
py
Python
recipes/cxxopts/all/conanfile.py
dvirtz/conan-center-index
2e7a6337804325616f8d97e3a5b6f66cc72699cb
[ "MIT" ]
562
2019-09-04T12:23:43.000Z
2022-03-29T16:41:43.000Z
recipes/cxxopts/all/conanfile.py
dvirtz/conan-center-index
2e7a6337804325616f8d97e3a5b6f66cc72699cb
[ "MIT" ]
9,799
2019-09-04T12:02:11.000Z
2022-03-31T23:55:45.000Z
recipes/cxxopts/all/conanfile.py
dvirtz/conan-center-index
2e7a6337804325616f8d97e3a5b6f66cc72699cb
[ "MIT" ]
1,126
2019-09-04T11:57:46.000Z
2022-03-31T16:43:38.000Z
import os from conans import ConanFile, tools from conans.errors import ConanInvalidConfiguration
36.738462
132
0.641122
1300c8abfbfcff2fad07bdd38a7b66244215a15d
1,868
py
Python
p_030_039/problem31.py
ericgreveson/projecteuler
1844bf383fca871b82d88ef1eb3a9b1a0e363054
[ "Apache-2.0" ]
null
null
null
p_030_039/problem31.py
ericgreveson/projecteuler
1844bf383fca871b82d88ef1eb3a9b1a0e363054
[ "Apache-2.0" ]
null
null
null
p_030_039/problem31.py
ericgreveson/projecteuler
1844bf383fca871b82d88ef1eb3a9b1a0e363054
[ "Apache-2.0" ]
null
null
null
def main(): """ Entry point """ # Important: sorted smallest to largest coins = [1, 2, 5, 10, 20, 50, 100, 200] coin_index = {coin: index for index, coin in enumerate(coins)} # How many ways are there of making each number from 1 to 200 from these values? # Building up from 1 means...
31.661017
89
0.534261
1300e7747076d34572209fef1029da836f1dbf7b
2,358
py
Python
video/cloud-client/quickstart/quickstart.py
nasirdec/GCP-AppEngine-Example
3f5ad26ad2c1e3c8deceb5844adfb40cf7c2e53f
[ "Apache-2.0" ]
1
2019-11-17T08:59:14.000Z
2019-11-17T08:59:14.000Z
video/cloud-client/quickstart/quickstart.py
nasirdec/GCP-AppEngine-Example
3f5ad26ad2c1e3c8deceb5844adfb40cf7c2e53f
[ "Apache-2.0" ]
16
2019-06-15T00:02:56.000Z
2021-03-25T23:22:38.000Z
video/cloud-client/quickstart/quickstart.py
nasirdec/GCP-AppEngine-Example
3f5ad26ad2c1e3c8deceb5844adfb40cf7c2e53f
[ "Apache-2.0" ]
3
2019-02-11T16:16:11.000Z
2019-04-19T21:34:37.000Z
#!/usr/bin/env python # Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
37.428571
75
0.697201
13027944554eb9d8705c77a8073c891a250b3842
1,853
py
Python
ally/instrument.py
platformmaster9/PyAlly
55400e0835ae3ac5b3cf58e0e8214c6244aeb149
[ "MIT" ]
null
null
null
ally/instrument.py
platformmaster9/PyAlly
55400e0835ae3ac5b3cf58e0e8214c6244aeb149
[ "MIT" ]
null
null
null
ally/instrument.py
platformmaster9/PyAlly
55400e0835ae3ac5b3cf58e0e8214c6244aeb149
[ "MIT" ]
null
null
null
from . import utils ################################################# """ INSTRUMENT """ ################################################# ################################################# ################################################# ################################################# ...
29.412698
70
0.399352
1302b2f57e10ec891cc57b121da1cf9b5593731f
432
py
Python
airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py
onaio/airbyte
38302e82a25f1b66742c3febfbff0668556920f2
[ "MIT" ]
22
2020-08-27T00:47:20.000Z
2020-09-17T15:39:39.000Z
airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py
onaio/airbyte
38302e82a25f1b66742c3febfbff0668556920f2
[ "MIT" ]
116
2020-08-27T01:11:27.000Z
2020-09-19T02:47:52.000Z
airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py
onaio/airbyte
38302e82a25f1b66742c3febfbff0668556920f2
[ "MIT" ]
1
2020-09-15T06:10:01.000Z
2020-09-15T06:10:01.000Z
# # Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest pytest_plugins = ("source_acceptance_test.plugin",)
25.411765
98
0.738426
13037ede58d748bec28747c289956464268c2ceb
118
py
Python
ddt/__init__.py
GawenChen/test_pytest
da7a29dc43e8027d3fd1a05054480ed7007131c3
[ "Apache-2.0" ]
null
null
null
ddt/__init__.py
GawenChen/test_pytest
da7a29dc43e8027d3fd1a05054480ed7007131c3
[ "Apache-2.0" ]
null
null
null
ddt/__init__.py
GawenChen/test_pytest
da7a29dc43e8027d3fd1a05054480ed7007131c3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ @Time 2021/10/9 17:51 @Auth @File __init__.py.py @IDE PyCharm @QQ : 810400085 """
14.75
23
0.576271
13058e5281c2e6d308c1c802707f6f83b62cdc9b
1,809
py
Python
darts/models/linear_regression_model.py
BiancaMT25/darts
bb550dede6d8927a45aea0d9f3df53de32a6eee2
[ "Apache-2.0" ]
1
2021-07-15T11:12:05.000Z
2021-07-15T11:12:05.000Z
darts/models/linear_regression_model.py
BiancaMT25/darts
bb550dede6d8927a45aea0d9f3df53de32a6eee2
[ "Apache-2.0" ]
null
null
null
darts/models/linear_regression_model.py
BiancaMT25/darts
bb550dede6d8927a45aea0d9f3df53de32a6eee2
[ "Apache-2.0" ]
null
null
null
""" Standard Regression model ------------------------- """ import numpy as np import pandas as pd from typing import Union from ..logging import get_logger from .regression_model import RegressionModel from sklearn.linear_model import LinearRegression logger = get_logger(__name__)
38.489362
111
0.640133
130613c0dd1daf7edf4aa6e30bb0303b2984e2ce
4,862
py
Python
hail/python/test/hailtop/utils/test_utils.py
vrautela/hail
7db6189b5b1feafa88452b8470e497d9505d9a46
[ "MIT" ]
null
null
null
hail/python/test/hailtop/utils/test_utils.py
vrautela/hail
7db6189b5b1feafa88452b8470e497d9505d9a46
[ "MIT" ]
null
null
null
hail/python/test/hailtop/utils/test_utils.py
vrautela/hail
7db6189b5b1feafa88452b8470e497d9505d9a46
[ "MIT" ]
null
null
null
from hailtop.utils import (partition, url_basename, url_join, url_scheme, url_and_params, parse_docker_image_reference)
37.689922
113
0.644385
13064197a568b4ea0fdb674d3a8685e3b27e92eb
863
py
Python
hood/urls.py
wadi-1000/Vicinity
a41f6ec2c532cb06f7444b55073b6879a1fce63a
[ "MIT" ]
null
null
null
hood/urls.py
wadi-1000/Vicinity
a41f6ec2c532cb06f7444b55073b6879a1fce63a
[ "MIT" ]
null
null
null
hood/urls.py
wadi-1000/Vicinity
a41f6ec2c532cb06f7444b55073b6879a1fce63a
[ "MIT" ]
null
null
null
from django.urls import path,include from . import views urlpatterns = [ path('home/', views.home, name = 'home'), path('add_hood/',views.uploadNeighbourhood, name = 'add_hood'), path('viewhood/',views.viewHood, name = 'viewhood'), path('hood/<int:pk>/',views.hood, name = 'hood'), path('add_bizna/'...
47.944444
74
0.665122
1306e647595d1f2f64e2d6dd214b9b25580f3ed1
8,305
py
Python
src/licensedcode/tokenize.py
chetanya-shrimali/scancode-toolkit
a1a22fb225cbeb211bd6f92272a46f1351f57d6b
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/licensedcode/tokenize.py
chetanya-shrimali/scancode-toolkit
a1a22fb225cbeb211bd6f92272a46f1351f57d6b
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/licensedcode/tokenize.py
chetanya-shrimali/scancode-toolkit
a1a22fb225cbeb211bd6f92272a46f1351f57d6b
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2017 nexB Inc. and others. All rights reserved. # http://nexb.com and https://github.com/nexB/scancode-toolkit/ # The ScanCode software is licensed under the Apache License version 2.0. # Data generated with ScanCode require an acknowledgment. # ScanCode is a trademark of nexB ...
36.425439
105
0.646117
1308f0dd9c15ba9ea58abe836ba21f50ef3863ef
679,794
py
Python
homework_05/graficos_3.py
ufpa-organization-repositories/evolutionary-computing
e16786f9619e2b357b94ab91ff3a7b352e6a0d92
[ "MIT" ]
null
null
null
homework_05/graficos_3.py
ufpa-organization-repositories/evolutionary-computing
e16786f9619e2b357b94ab91ff3a7b352e6a0d92
[ "MIT" ]
null
null
null
homework_05/graficos_3.py
ufpa-organization-repositories/evolutionary-computing
e16786f9619e2b357b94ab91ff3a7b352e6a0d92
[ "MIT" ]
null
null
null
# ensaio = [[[[1, 999.4951009067408, 999.495100909791, '1001100.11100010011001100001001', '100011.10010111010000111110100', '1', '1'], [2, 999.5052434400473, 999.5052434497359, '0000100.11100010011001100001001', '111011.10010111010000111110000', '1', '2'], [3, 999.51676448592, 999.516764613072, '0000100.111000100110011...
23,441.172414
676,649
0.776381
13099ef7ac061602aaff6bfaa4733bfcc5e92bd8
225
py
Python
etest_test/fixtures_test/ebuilds_test/__init__.py
alunduil/etest
e5f06d7e8c83be369576976f239668545bcbfffd
[ "MIT" ]
6
2015-01-08T13:56:50.000Z
2018-01-08T00:53:08.000Z
etest_test/fixtures_test/ebuilds_test/__init__.py
alunduil/etest
e5f06d7e8c83be369576976f239668545bcbfffd
[ "MIT" ]
64
2015-01-01T23:10:07.000Z
2021-06-12T06:55:31.000Z
etest_test/fixtures_test/ebuilds_test/__init__.py
alunduil/etest
e5f06d7e8c83be369576976f239668545bcbfffd
[ "MIT" ]
2
2015-05-08T01:32:48.000Z
2015-05-30T15:38:31.000Z
"""Ebuild Test Fixtures.""" import os from typing import Any, Dict, List from etest_test import helpers_test EBUILDS: Dict[str, List[Dict[str, Any]]] = {} helpers_test.import_directory(__name__, os.path.dirname(__file__))
22.5
66
0.755556
130a61bee54706bd995afa354e7681d8726e5d5d
3,764
py
Python
src/model.py
palucki/RememberIt
1d66616d4bb1bca026dda031d876dca226ba71ad
[ "MIT" ]
null
null
null
src/model.py
palucki/RememberIt
1d66616d4bb1bca026dda031d876dca226ba71ad
[ "MIT" ]
null
null
null
src/model.py
palucki/RememberIt
1d66616d4bb1bca026dda031d876dca226ba71ad
[ "MIT" ]
null
null
null
import random from pymongo import MongoClient from observable import Observable from phrase import Phrase
30.852459
85
0.562965
130ad5b5c3caa22c7668a018ea30cf4d2bc3c2f4
1,381
py
Python
sampleApplication/clientGenerator.py
chall68/BlackWatch
0b95d69e4b7de9213a031557e9aff54ce35b12dd
[ "MIT" ]
null
null
null
sampleApplication/clientGenerator.py
chall68/BlackWatch
0b95d69e4b7de9213a031557e9aff54ce35b12dd
[ "MIT" ]
null
null
null
sampleApplication/clientGenerator.py
chall68/BlackWatch
0b95d69e4b7de9213a031557e9aff54ce35b12dd
[ "MIT" ]
null
null
null
#!flask/bin/python #from user import User from sampleObjects.User import User from datetime import datetime from sampleObjects.DetectionPoint import DetectionPoint import time, requests, random, atexit for i in range (50): requestGenerator() time.sleep(1.5) atexit.register(closingTime)
27.62
187
0.674873
130c49099f8aa40a9dd92ff170ecb6c15b43d8f9
1,873
py
Python
news_collector/collector/consumers.py
ridwaniyas/channels-examples
9e6a26c8e6404483695cbd96ebf12fc4ed9956b2
[ "BSD-3-Clause" ]
null
null
null
news_collector/collector/consumers.py
ridwaniyas/channels-examples
9e6a26c8e6404483695cbd96ebf12fc4ed9956b2
[ "BSD-3-Clause" ]
null
null
null
news_collector/collector/consumers.py
ridwaniyas/channels-examples
9e6a26c8e6404483695cbd96ebf12fc4ed9956b2
[ "BSD-3-Clause" ]
null
null
null
import asyncio import json import datetime from aiohttp import ClientSession from channels.generic.http import AsyncHttpConsumer from .constants import BLOGS
35.339623
91
0.615056
130d77d6c796e047f21c43df476be8389b35aecb
737
py
Python
src/randomcsv/FileUtils.py
PhilipBuhr/randomCsv
34b1da62134077dfe4db2682ee0da386ef380c1d
[ "MIT" ]
null
null
null
src/randomcsv/FileUtils.py
PhilipBuhr/randomCsv
34b1da62134077dfe4db2682ee0da386ef380c1d
[ "MIT" ]
null
null
null
src/randomcsv/FileUtils.py
PhilipBuhr/randomCsv
34b1da62134077dfe4db2682ee0da386ef380c1d
[ "MIT" ]
null
null
null
import os from pathlib import Path
23.03125
80
0.591588
130e4d54c2deae9e851943dbae96e38707ce57ce
46
py
Python
stringtoiso/__init__.py
vats98754/stringtoiso
985da5efa26111ef1d92b7026b5d5d68f0101ef1
[ "MIT" ]
null
null
null
stringtoiso/__init__.py
vats98754/stringtoiso
985da5efa26111ef1d92b7026b5d5d68f0101ef1
[ "MIT" ]
null
null
null
stringtoiso/__init__.py
vats98754/stringtoiso
985da5efa26111ef1d92b7026b5d5d68f0101ef1
[ "MIT" ]
null
null
null
from stringtoiso.convert_to_iso import convert
46
46
0.913043
130ec5dfef9f34118ca5d16b6a8a1a90a53517da
5,495
py
Python
aux_sys_err_prediction_module/additive/R_runmed_spline/my_R_runmed_spline_analysis.py
PNNL-Comp-Mass-Spec/DtaRefinery
609cc90d0322af69aea43c2fc21d9cf05a06797a
[ "BSD-2-Clause" ]
null
null
null
aux_sys_err_prediction_module/additive/R_runmed_spline/my_R_runmed_spline_analysis.py
PNNL-Comp-Mass-Spec/DtaRefinery
609cc90d0322af69aea43c2fc21d9cf05a06797a
[ "BSD-2-Clause" ]
null
null
null
aux_sys_err_prediction_module/additive/R_runmed_spline/my_R_runmed_spline_analysis.py
PNNL-Comp-Mass-Spec/DtaRefinery
609cc90d0322af69aea43c2fc21d9cf05a06797a
[ "BSD-2-Clause" ]
null
null
null
from aux_sys_err_prediction_module.additive.R_runmed_spline.my_R_runmed_spline_fit import R_runmed_smooth_spline from numpy import random, array, median, zeros, arange, hstack from win32com.client import Dispatch import math myName = 'R_runmed_spline' useMAD = True # use median absolute deviations instead of ...
32.323529
113
0.499363
130f0d527db89218f9714b016db75a6b60750779
2,721
py
Python
setup.py
Ms2ger/python-zstandard
b8ea1f6722a710e252b452554442b84c81049439
[ "BSD-3-Clause" ]
null
null
null
setup.py
Ms2ger/python-zstandard
b8ea1f6722a710e252b452554442b84c81049439
[ "BSD-3-Clause" ]
null
null
null
setup.py
Ms2ger/python-zstandard
b8ea1f6722a710e252b452554442b84c81049439
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2016-present, Gregory Szorc # All rights reserved. # # This software may be modified and distributed under the terms # of the BSD license. See the LICENSE file for details. import os import sys from setuptools import setup try: import cffi except ImportError: cffi = None ...
27.765306
78
0.655274
130f1aca25388c2ce8dd308d2bb872e5263f8305
140
py
Python
Escolas/Curso em Video/Back-End/Curso de Python/Mundos/Mundo 01/Exercicio_16.py
c4st1lh0/Projetos-de-Aula
e8abc9f4bce6cc8dbc6d7fb5da0f549ac8ef5302
[ "MIT" ]
null
null
null
Escolas/Curso em Video/Back-End/Curso de Python/Mundos/Mundo 01/Exercicio_16.py
c4st1lh0/Projetos-de-Aula
e8abc9f4bce6cc8dbc6d7fb5da0f549ac8ef5302
[ "MIT" ]
null
null
null
Escolas/Curso em Video/Back-End/Curso de Python/Mundos/Mundo 01/Exercicio_16.py
c4st1lh0/Projetos-de-Aula
e8abc9f4bce6cc8dbc6d7fb5da0f549ac8ef5302
[ "MIT" ]
null
null
null
import math num = float(input('Digite um numero real qualquer: ')) print('O numero: {} tem a parte inteira {}'.format(num, math.trunc(num)))
46.666667
73
0.7
1310f38eea5f3635000289a9e4355d5205ba5668
551
py
Python
mmdet/ops/orn/functions/__init__.py
JarvisUSTC/DARDet
debbf476e9750030db67f030a40cf8d4f03e46ee
[ "Apache-2.0" ]
274
2021-04-06T15:46:06.000Z
2022-03-31T02:00:10.000Z
mmdet/ops/orn/functions/__init__.py
JarvisUSTC/DARDet
debbf476e9750030db67f030a40cf8d4f03e46ee
[ "Apache-2.0" ]
136
2021-07-11T11:26:54.000Z
2022-03-31T02:45:34.000Z
mmdet/ops/orn/functions/__init__.py
JarvisUSTC/DARDet
debbf476e9750030db67f030a40cf8d4f03e46ee
[ "Apache-2.0" ]
84
2021-05-29T06:58:14.000Z
2022-03-31T07:44:10.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch from .active_rotating_filter import active_rotating_filter from .active_rotating_filter import ActiveRotatingFilter from .rotation_invariant_encoding import rotation_invariant_encoding from .rotation_invariant_encoding import RotationI...
61.222222
148
0.874773
131271d5663df6a63ce374c8c4958678283dd5fc
218
py
Python
sympy/core/tests/test_cache.py
eriknw/sympy
b7544e2bb74c011f6098a7e886fd77f41776c2c4
[ "BSD-3-Clause" ]
7
2015-01-14T06:55:33.000Z
2018-08-11T14:43:52.000Z
sympy/core/tests/test_cache.py
pbeltran/sympy-1
94f92b36731c2bebe6de1037c063c2a258a8a399
[ "BSD-3-Clause" ]
1
2018-02-19T04:56:04.000Z
2018-02-19T04:56:04.000Z
sympy/core/tests/test_cache.py
pbeltran/sympy-1
94f92b36731c2bebe6de1037c063c2a258a8a399
[ "BSD-3-Clause" ]
1
2016-04-24T14:39:22.000Z
2016-04-24T14:39:22.000Z
from sympy.core.cache import cacheit
18.166667
45
0.646789
1312f8f0f49eb471bc17c6830c67ae3b593f1370
8,694
py
Python
mmdet/models/losses/ranking_losses.py
VietDunghacker/VarifocalNet
f57917afb3c29ceba1d3c4f824d10b9cc53aaa40
[ "Apache-2.0" ]
null
null
null
mmdet/models/losses/ranking_losses.py
VietDunghacker/VarifocalNet
f57917afb3c29ceba1d3c4f824d10b9cc53aaa40
[ "Apache-2.0" ]
null
null
null
mmdet/models/losses/ranking_losses.py
VietDunghacker/VarifocalNet
f57917afb3c29ceba1d3c4f824d10b9cc53aaa40
[ "Apache-2.0" ]
null
null
null
import torch
35.198381
96
0.743961
131342de18ae50cff3d8d09f0b5c640ef367d9c5
997
py
Python
tests/test_dcd_api.py
sadamek/pyIMX
52af15e656b400f0812f16cf31d9bf6edbe631ad
[ "BSD-3-Clause" ]
null
null
null
tests/test_dcd_api.py
sadamek/pyIMX
52af15e656b400f0812f16cf31d9bf6edbe631ad
[ "BSD-3-Clause" ]
null
null
null
tests/test_dcd_api.py
sadamek/pyIMX
52af15e656b400f0812f16cf31d9bf6edbe631ad
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2017-2018 Martin Olejar # # SPDX-License-Identifier: BSD-3-Clause # The BSD-3-Clause license for this file can be found in the LICENSE file included with this distribution # or at https://spdx.org/licenses/BSD-3-Clause.html#licenseText import os import pytest from imx import img # Used Directories DAT...
22.155556
105
0.691073
1313abf2371aefa93bced19321156374195a59c5
9,387
py
Python
recentjson.py
nydailynews/feedutils
8cb18b26ebf70033df420f3fece8c2cac363f918
[ "MIT" ]
null
null
null
recentjson.py
nydailynews/feedutils
8cb18b26ebf70033df420f3fece8c2cac363f918
[ "MIT" ]
1
2017-07-11T17:37:50.000Z
2017-07-11T17:37:50.000Z
recentjson.py
nydailynews/feedutils
8cb18b26ebf70033df420f3fece8c2cac363f918
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Return recent items from a json feed. Recent means "In the last X days." import os import doctest import json import urllib2 import argparse import types import gzip from datetime import datetime, timedelta from time import mktime def pretty_date(ago): """ Process a ...
40.813043
186
0.520081
1314a6b3e97ad080ab7cf47017455ad35f9e033a
34,521
py
Python
maint/MultiStage2.py
Liastre/pcre2
ca4fd145ee16acbc67b52b8563ab6e25c67ddfc8
[ "BSD-3-Clause" ]
null
null
null
maint/MultiStage2.py
Liastre/pcre2
ca4fd145ee16acbc67b52b8563ab6e25c67ddfc8
[ "BSD-3-Clause" ]
1
2020-04-07T10:42:22.000Z
2020-04-07T10:42:22.000Z
maint/MultiStage2.py
Liastre/pcre2
ca4fd145ee16acbc67b52b8563ab6e25c67ddfc8
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/python # Multistage table builder # (c) Peter Kankowski, 2008 ############################################################################## # This script was submitted to the PCRE project by Peter Kankowski as part of # the upgrading of Unicode property support. The new code speeds up property # matching...
42.72401
143
0.625648
1314ffbb2b5a881e8cbdb62ecc8a53c659f4f382
638
py
Python
setup.py
ihayhurst/RetroBioCat
d674897459c0ab65faad5ed3017c55cf51bcc020
[ "MIT" ]
9
2020-12-01T16:33:02.000Z
2022-01-19T20:02:42.000Z
setup.py
ihayhurst/RetroBioCat
d674897459c0ab65faad5ed3017c55cf51bcc020
[ "MIT" ]
4
2020-10-02T14:38:32.000Z
2021-08-02T09:23:58.000Z
setup.py
ihayhurst/RetroBioCat
d674897459c0ab65faad5ed3017c55cf51bcc020
[ "MIT" ]
6
2021-01-14T07:48:36.000Z
2022-03-20T17:34:27.000Z
from setuptools import setup, find_packages from retrobiocat_web import __version__ with open('requirements.txt') as f: requirements = f.read().splitlines() setup( name = 'retrobiocat_web', packages = find_packages(), include_package_data=True, version = __version__, license='', description = 'Retrosynt...
26.583333
45
0.694357
131631df01aa9316264d6c8b1aaa6ecfd1254785
1,748
py
Python
rxn_yield_context/preprocess_data/preprocess/augmentation_utils.py
Lung-Yi/rxn_yield_context
116d6f21a1b6dc39016d87c001dc5b142cfb697a
[ "MIT" ]
null
null
null
rxn_yield_context/preprocess_data/preprocess/augmentation_utils.py
Lung-Yi/rxn_yield_context
116d6f21a1b6dc39016d87c001dc5b142cfb697a
[ "MIT" ]
null
null
null
rxn_yield_context/preprocess_data/preprocess/augmentation_utils.py
Lung-Yi/rxn_yield_context
116d6f21a1b6dc39016d87c001dc5b142cfb697a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import pickle import numpy as np from rdkit import Chem from rdkit.Chem import AllChem,DataStructs
33.615385
140
0.642449
131665ba7b9465c31b9a3f7865c4b018c27a3aec
6,434
py
Python
src/webstruct-demo/__init__.py
zanachka/webstruct-demo
f5b5081760d9a2b7924704041cd74748a5c98664
[ "MIT" ]
5
2019-04-15T14:54:23.000Z
2020-10-03T04:47:12.000Z
src/webstruct-demo/__init__.py
zanachka/webstruct-demo
f5b5081760d9a2b7924704041cd74748a5c98664
[ "MIT" ]
2
2021-06-01T22:49:44.000Z
2021-12-13T19:51:11.000Z
src/webstruct-demo/__init__.py
zanachka/webstruct-demo
f5b5081760d9a2b7924704041cd74748a5c98664
[ "MIT" ]
3
2019-06-25T10:31:30.000Z
2020-10-03T04:49:01.000Z
import functools import logging import random from flask import Flask, render_template, request import joblib from lxml.html import html5parser import lxml.html import requests import yarl import webstruct.model import webstruct.sequence_encoding import webstruct.webannotator webstruct_demo = Flask(__name__, instan...
28.981982
121
0.617656
13178607e92d499e0a8fa091130826ae93f57d37
757
py
Python
setup.py
Liang813/einops
9edce3d9a2d0a2abc51a6aaf86678eac43ffac0c
[ "MIT" ]
4,738
2018-10-30T08:38:50.000Z
2022-03-31T17:35:50.000Z
setup.py
Liang813/einops
9edce3d9a2d0a2abc51a6aaf86678eac43ffac0c
[ "MIT" ]
120
2018-10-30T09:04:01.000Z
2022-03-27T11:27:30.000Z
setup.py
Liang813/einops
9edce3d9a2d0a2abc51a6aaf86678eac43ffac0c
[ "MIT" ]
216
2018-11-09T02:50:30.000Z
2022-03-30T05:46:44.000Z
__author__ = 'Alex Rogozhnikov' from setuptools import setup setup( name="einops", version='0.3.2', description="A new flavour of deep learning operations", long_description=open('README.md', encoding='utf-8').read(), long_description_content_type='text/markdown', url='https://github.com/arogo...
29.115385
86
0.668428
1317d06f323723e4a4f4ac9a34fb6dfc7aa40fb0
1,146
py
Python
website/migrations/0084_auto_20210215_1401.py
czhu1217/cmimc-online
5ef49ceec0bb86d8ae120a6ecfd723532e277821
[ "MIT" ]
null
null
null
website/migrations/0084_auto_20210215_1401.py
czhu1217/cmimc-online
5ef49ceec0bb86d8ae120a6ecfd723532e277821
[ "MIT" ]
1
2022-01-23T21:08:12.000Z
2022-01-23T21:08:12.000Z
website/migrations/0084_auto_20210215_1401.py
czhu1217/cmimc-online
5ef49ceec0bb86d8ae120a6ecfd723532e277821
[ "MIT" ]
1
2021-10-17T17:11:42.000Z
2021-10-17T17:11:42.000Z
# Generated by Django 3.1.6 on 2021-02-15 19:01 from django.db import migrations, models import django.db.models.deletion
33.705882
150
0.604712
1317fa461eecfb928fe1d73e0f3c19ec9defb396
14,667
py
Python
ldp/tasks/dlp.py
evandez/low-dimensional-probing
3e4af6644a4db7fdf48bc40c5de4815f9db52a6e
[ "MIT" ]
1
2022-03-06T06:59:42.000Z
2022-03-06T06:59:42.000Z
ldp/tasks/dlp.py
evandez/low-dimensional-probing
3e4af6644a4db7fdf48bc40c5de4815f9db52a6e
[ "MIT" ]
null
null
null
ldp/tasks/dlp.py
evandez/low-dimensional-probing
3e4af6644a4db7fdf48bc40c5de4815f9db52a6e
[ "MIT" ]
null
null
null
"""Core experiments for the dependency label prediction task.""" import collections import copy import logging from typing import (Any, Dict, Iterator, Optional, Sequence, Set, Tuple, Type, Union) from ldp import datasets, learning from ldp.models import probes, projections from ldp.parse import pt...
38.395288
79
0.614986
1318a68dfab5df9c8cd4a02ab91e86cccb7f469d
23,613
py
Python
pycquery_krb/common/ccache.py
naver/PyCQuery
a72f74f9b7c208a263fc7cdb14a30d0fe21e63b9
[ "Apache-2.0" ]
2
2021-11-17T03:13:16.000Z
2021-12-03T05:30:22.000Z
pycquery_krb/common/ccache.py
naver/PyCQuery
a72f74f9b7c208a263fc7cdb14a30d0fe21e63b9
[ "Apache-2.0" ]
1
2021-05-04T06:02:40.000Z
2021-05-04T06:02:40.000Z
pycquery_krb/common/ccache.py
naver/PyCQuery
a72f74f9b7c208a263fc7cdb14a30d0fe21e63b9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # # Author: # Tamas Jos (@skelsec) # import os import io import datetime import glob import hashlib from pycquery_krb.protocol.asn1_structs import Ticket, EncryptedData, \ krb5_pvno, KrbCredInfo, EncryptionKey, KRBCRED, TicketFlags, EncKrbCredPart from pycquery_krb.common.utils import dt_to_k...
31.909459
151
0.707915
131a0e5ecdfc260b3827d4c50aa8606f1a20747d
3,054
py
Python
getUniformSmiles.py
OpenEye-Contrib/Molecular-List-Logic
82caf41f7d8b94e7448d8e839bdbc0620a8666d7
[ "BSD-3-Clause" ]
2
2016-01-21T19:50:12.000Z
2021-04-10T13:27:40.000Z
getUniformSmiles.py
OpenEye-Contrib/Molecular-List-Logic
82caf41f7d8b94e7448d8e839bdbc0620a8666d7
[ "BSD-3-Clause" ]
null
null
null
getUniformSmiles.py
OpenEye-Contrib/Molecular-List-Logic
82caf41f7d8b94e7448d8e839bdbc0620a8666d7
[ "BSD-3-Clause" ]
null
null
null
#!/opt/az/psf/python/2.7/bin/python from openeye.oechem import * import cgi #creates a list of smiles of the syntax [smiles|molId,smiles|molId] #takes a list of smiles and writes it as sdf using a memory buffer #creates a list of smiles of the syntax [smiles|molId,smiles|molId] if __name__ == "__main__": print...
30.237624
90
0.586444
131a15a3a8feaf503c53fb7ce15a6a9a4850f413
37,988
py
Python
mfem/_par/gridfunc.py
mfem/PyMFEM
b7b7c3d3de1082eac1015e3a313cf513db06fd7b
[ "BSD-3-Clause" ]
93
2017-03-01T16:45:33.000Z
2022-03-27T22:10:33.000Z
mfem/_par/gridfunc.py
mfem/PyMFEM
b7b7c3d3de1082eac1015e3a313cf513db06fd7b
[ "BSD-3-Clause" ]
64
2017-03-15T21:47:31.000Z
2022-03-31T23:59:00.000Z
mfem/_par/gridfunc.py
mfem/PyMFEM
b7b7c3d3de1082eac1015e3a313cf513db06fd7b
[ "BSD-3-Clause" ]
32
2017-03-02T22:13:38.000Z
2022-03-26T13:09:31.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.2 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): raise Runtime...
49.335065
201
0.740076
131ada8dd58eaa29a8303d1a7138ffe5d3485877
6,861
py
Python
src/tracks/settings.py
adcarmichael/tracks
04108bbdaf8554e57e278c1556efa9c5b9603973
[ "Apache-2.0" ]
null
null
null
src/tracks/settings.py
adcarmichael/tracks
04108bbdaf8554e57e278c1556efa9c5b9603973
[ "Apache-2.0" ]
41
2019-06-14T21:19:31.000Z
2022-02-10T14:41:00.000Z
src/tracks/settings.py
adcarmichael/tracks
04108bbdaf8554e57e278c1556efa9c5b9603973
[ "Apache-2.0" ]
null
null
null
import os import sentry_sdk from sentry_sdk.integrations.django import DjangoIntegration # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) PWA_SERVICE_WORKER_PATH = os.path.join( BASE_DIR, 'routes/static/routes/js', 'serv...
28.5875
91
0.655735
131b0afb1746ef9363aae186aba698e6731a895a
2,647
py
Python
examples/04-lights/plotter_builtins.py
akeshavan/pyvista
45fe8b1c38712776f9b628a60a8662d0716dd52b
[ "MIT" ]
null
null
null
examples/04-lights/plotter_builtins.py
akeshavan/pyvista
45fe8b1c38712776f9b628a60a8662d0716dd52b
[ "MIT" ]
6
2022-03-11T23:21:22.000Z
2022-03-25T03:32:21.000Z
examples/04-lights/plotter_builtins.py
akeshavan/pyvista
45fe8b1c38712776f9b628a60a8662d0716dd52b
[ "MIT" ]
null
null
null
""" Plotter Lighting Systems ~~~~~~~~~~~~~~~~~~~~~~~~ The :class:`pyvista.Plotter` class comes with three options for the default lighting system: * a light kit consisting of a headlight and four camera lights, * an illumination system containing three lights arranged around the camera, * no lighting. With mes...
30.77907
79
0.66377
131c13cd6c6c6b833141fea96f58ed4c3b53dc38
272
py
Python
src/swimport/tests/15_char_arrays/main.py
talos-gis/swimport
e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3
[ "MIT" ]
1
2019-03-07T20:43:42.000Z
2019-03-07T20:43:42.000Z
src/swimport/tests/15_char_arrays/main.py
talos-gis/swimport
e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3
[ "MIT" ]
null
null
null
src/swimport/tests/15_char_arrays/main.py
talos-gis/swimport
e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3
[ "MIT" ]
null
null
null
from swimport.all import * src = FileSource('src.h') swim = Swim('example') swim(pools.c_string) swim(pools.numpy_arrays(r"../resources", allow_char_arrays=True)) swim(pools.include(src)) assert swim(Function.Behaviour()(src)) > 0 swim.write('example.i') print('ok!')
19.428571
65
0.720588
131c14184c1fb810c136590d143d0fdf3f83e6df
4,523
py
Python
ipyvolume/astro.py
larsoner/ipyvolume
8603a47aff4531df69ace44efdcf6b85d6e51e51
[ "MIT" ]
1
2019-04-09T11:57:07.000Z
2019-04-09T11:57:07.000Z
ipyvolume/astro.py
larsoner/ipyvolume
8603a47aff4531df69ace44efdcf6b85d6e51e51
[ "MIT" ]
null
null
null
ipyvolume/astro.py
larsoner/ipyvolume
8603a47aff4531df69ace44efdcf6b85d6e51e51
[ "MIT" ]
null
null
null
import numpy as np import PIL.Image import pythreejs import ipyvolume as ipv from .datasets import UrlCached def _randomSO3(): """return random rotatation matrix, algo by James Arvo""" u1 = np.random.random() u2 = np.random.random() u3 = np.random.random() R = np.array([[np.cos(2*np.pi*u1), np.si...
41.118182
198
0.640946
131e1d61812e10d7ea42b3ca418199cd229845a3
1,157
py
Python
deepfunning/function.py
Zrealshadow/DeepFunning
5c44210a6b30ea57a0be5f930da4ada540e7e3d0
[ "MIT" ]
null
null
null
deepfunning/function.py
Zrealshadow/DeepFunning
5c44210a6b30ea57a0be5f930da4ada540e7e3d0
[ "MIT" ]
null
null
null
deepfunning/function.py
Zrealshadow/DeepFunning
5c44210a6b30ea57a0be5f930da4ada540e7e3d0
[ "MIT" ]
null
null
null
''' * @author Waldinsamkeit * @email Zenglz_pro@163.com * @create date 2020-09-25 14:33:38 * @desc ''' import torch '''--------------------- Weighted Binary cross Entropy ----------------------''' ''' In Torch BCELoss, weight is set to every element of input instead of to every class ''' ''' ----------------...
28.925
84
0.577355
131e36d011ba94f7784c802143deb17326553c0e
7,055
py
Python
dlms_cosem/hdlc/address.py
pwitab/dlms-cosem
aa9e18e6ef8a4fee30da8b797dad03b0b7847780
[ "MIT" ]
35
2018-05-24T08:16:35.000Z
2022-02-24T16:07:07.000Z
dlms_cosem/hdlc/address.py
Layty/dlms-cosem
95b67054a1dfb928e960547b0246b7b6794f0594
[ "MIT" ]
41
2020-12-18T16:31:40.000Z
2021-12-13T20:59:42.000Z
dlms_cosem/hdlc/address.py
Layty/dlms-cosem
95b67054a1dfb928e960547b0246b7b6794f0594
[ "MIT" ]
19
2019-04-02T14:32:01.000Z
2021-12-14T13:24:29.000Z
from typing import * import attr from dlms_cosem.hdlc import validators
36.554404
88
0.624522
131e68c02091db60b313cb5f13708b590b55dc83
3,676
py
Python
benchmarks/benchmarks/stats.py
RasmusSemmle/scipy
4ffeafe269597e6d41b3335549102cd5611b12cb
[ "FSFAP" ]
1
2019-04-13T01:41:50.000Z
2019-04-13T01:41:50.000Z
benchmarks/benchmarks/stats.py
RasmusSemmle/scipy
4ffeafe269597e6d41b3335549102cd5611b12cb
[ "FSFAP" ]
1
2018-10-16T01:50:18.000Z
2018-10-16T01:50:18.000Z
benchmarks/benchmarks/stats.py
RasmusSemmle/scipy
4ffeafe269597e6d41b3335549102cd5611b12cb
[ "FSFAP" ]
null
null
null
from __future__ import division, absolute_import, print_function import warnings import numpy as np try: import scipy.stats as stats except ImportError: pass from .common import Benchmark
32.530973
98
0.596572
131ebdee55bb427354a422cace3807e8ec4ae9ed
3,039
py
Python
src/production_ecommerce/account/models.py
sheriffbarrow/production-ecommerce
cb1a29795ff8e9b4aa95a78df50bb8aa3e5f4350
[ "MIT" ]
1
2020-08-18T16:23:03.000Z
2020-08-18T16:23:03.000Z
src/production_ecommerce/account/models.py
sheriffbarrow/production-ecommerce
cb1a29795ff8e9b4aa95a78df50bb8aa3e5f4350
[ "MIT" ]
8
2020-06-06T01:06:35.000Z
2021-09-08T01:35:58.000Z
src/production_ecommerce/account/models.py
sheriffbarrow/production-ecommerce
cb1a29795ff8e9b4aa95a78df50bb8aa3e5f4350
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractBaseUser, BaseUserManager
33.395604
103
0.763738
13209dfae3637157d917f9f553a882a2aac83180
758
py
Python
dbtmetabase/models/config.py
fernandobrito/dbt-metabase
a1fa5a2c7c5e3cf12ead8806d39f6bd3a212fb83
[ "MIT" ]
null
null
null
dbtmetabase/models/config.py
fernandobrito/dbt-metabase
a1fa5a2c7c5e3cf12ead8806d39f6bd3a212fb83
[ "MIT" ]
1
2021-08-01T19:29:59.000Z
2021-08-01T19:29:59.000Z
dbtmetabase/models/config.py
fernandobrito/dbt-metabase
a1fa5a2c7c5e3cf12ead8806d39f6bd3a212fb83
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from typing import Optional, Iterable, Union
24.451613
59
0.700528
1321da1b77c6741566badad243b4f02ccf184f31
2,510
py
Python
src/plot_timeseries_outstanding_bytes.py
arunksaha/heap_tracker
0755c6b9c3e4e621efda31c144421a1e67e51a9c
[ "BSD-3-Clause" ]
1
2019-07-22T03:43:49.000Z
2019-07-22T03:43:49.000Z
src/plot_timeseries_outstanding_bytes.py
arunksaha/heap_tracker
0755c6b9c3e4e621efda31c144421a1e67e51a9c
[ "BSD-3-Clause" ]
null
null
null
src/plot_timeseries_outstanding_bytes.py
arunksaha/heap_tracker
0755c6b9c3e4e621efda31c144421a1e67e51a9c
[ "BSD-3-Clause" ]
null
null
null
# # Copyright 2018, Arun Saha <arunksaha@gmail.com> # import matplotlib import matplotlib.pyplot as plt import matplotlib.dates as md import datetime as dt import sys import os # Open the file, read the string contents into a list, # and return the list. # Convert usecs (numeric) to datetime # >>> ts = 1520189090755...
28.202247
78
0.712749
1324d01927785e4ef25103f8dd91f9cf2502dddb
722
py
Python
import.py
vmariano/meme-classifier
e8d6e73e4a843542143f20381c0741df16d3945d
[ "BSD-3-Clause" ]
null
null
null
import.py
vmariano/meme-classifier
e8d6e73e4a843542143f20381c0741df16d3945d
[ "BSD-3-Clause" ]
1
2022-02-07T12:06:59.000Z
2022-02-07T12:06:59.000Z
import.py
vmariano/meme-classifier
e8d6e73e4a843542143f20381c0741df16d3945d
[ "BSD-3-Clause" ]
1
2022-02-07T02:38:04.000Z
2022-02-07T02:38:04.000Z
from dotenv import load_dotenv load_dotenv() import sys import os import re import json import psycopg2 from meme_classifier.images import process_image path = sys.argv[1] data = json.load(open(os.path.join(path, 'result.json'), 'r')) chat_id = data['id'] conn = psycopg2.connect(os.getenv('POSTGRES_CREDENTIALS')) ...
26.740741
140
0.67036
1325914730cb3ee047b3e9ac93790891768376c5
4,269
py
Python
nps/migrations/0013_auto_20180314_1805.py
jak0203/nps-dash
9a3bdb0e55e0c857bcce8ed8df04b52a2b71872f
[ "MIT" ]
null
null
null
nps/migrations/0013_auto_20180314_1805.py
jak0203/nps-dash
9a3bdb0e55e0c857bcce8ed8df04b52a2b71872f
[ "MIT" ]
1
2018-03-19T04:08:10.000Z
2018-03-19T04:08:10.000Z
nps/migrations/0013_auto_20180314_1805.py
jak0203/nps-dash
9a3bdb0e55e0c857bcce8ed8df04b52a2b71872f
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2018-03-15 01:05 from django.db import migrations, models
36.177966
114
0.575076
1325fa5a7b424ce8ba5d22a0e7ac2e6be5ce3b49
9,890
py
Python
docs/schema_mapping.py
NoAnyLove/pydantic
50fd2c5b48ffe611b5c4feb24f26f7202217faab
[ "MIT" ]
1
2020-11-01T00:04:04.000Z
2020-11-01T00:04:04.000Z
docs/schema_mapping.py
NoAnyLove/pydantic
50fd2c5b48ffe611b5c4feb24f26f7202217faab
[ "MIT" ]
null
null
null
docs/schema_mapping.py
NoAnyLove/pydantic
50fd2c5b48ffe611b5c4feb24f26f7202217faab
[ "MIT" ]
1
2021-03-02T02:49:05.000Z
2021-03-02T02:49:05.000Z
#!/usr/bin/env python3 """ Build a table of Python / Pydantic to JSON Schema mappings. Done like this rather than as a raw rst table to make future edits easier. Please edit this file directly not .tmp_schema_mappings.rst """ table = [ [ 'bool', 'boolean', '', 'JSON Schema Core', ...
23.491686
120
0.458544
13261dbcef738304d7319335d93a1caa3393465f
2,798
py
Python
hubspot3/test/test_broadcast.py
kevin2357/hubspot3
488f6ff4195034317d99431439087443bca1469f
[ "MIT" ]
1
2019-02-25T01:09:51.000Z
2019-02-25T01:09:51.000Z
hubspot3/test/test_broadcast.py
kevin2357/hubspot3
488f6ff4195034317d99431439087443bca1469f
[ "MIT" ]
null
null
null
hubspot3/test/test_broadcast.py
kevin2357/hubspot3
488f6ff4195034317d99431439087443bca1469f
[ "MIT" ]
null
null
null
import time import unittest from nose.plugins.attrib import attr from hubspot3.test import helper from hubspot3.broadcast import Broadcast, BroadcastClient if __name__ == "__main__": unittest.main()
34.121951
78
0.651537
1326b5cc799b2031e2e9803af2d0899c97761474
5,166
py
Python
benchmark/benchmarks/testdata.py
theroggy/geofile_ops
1b5ab42169d5c3332c0d8298c5a036257cfd68d5
[ "BSD-3-Clause" ]
null
null
null
benchmark/benchmarks/testdata.py
theroggy/geofile_ops
1b5ab42169d5c3332c0d8298c5a036257cfd68d5
[ "BSD-3-Clause" ]
26
2021-12-01T07:46:53.000Z
2022-03-30T23:40:43.000Z
benchmark/benchmarks/testdata.py
theroggy/geofile_ops
1b5ab42169d5c3332c0d8298c5a036257cfd68d5
[ "BSD-3-Clause" ]
1
2021-11-30T17:51:34.000Z
2021-11-30T17:51:34.000Z
# -*- coding: utf-8 -*- """ Module to prepare test data for benchmarking geo operations. """ import enum import logging from pathlib import Path import pprint import shutil import sys import tempfile from typing import Optional import urllib.request import zipfile # Add path so the benchmark packages are found sys.pa...
34.44
196
0.587108
13275a03cfbb8b9a14ddc59598aea372c23ea6fb
6,461
py
Python
relocation/depth/setup_relocation_dir.py
ziyixi/SeisScripts
a484bc1747eae52b2441f0bfd47ac7e093150f1d
[ "MIT" ]
null
null
null
relocation/depth/setup_relocation_dir.py
ziyixi/SeisScripts
a484bc1747eae52b2441f0bfd47ac7e093150f1d
[ "MIT" ]
null
null
null
relocation/depth/setup_relocation_dir.py
ziyixi/SeisScripts
a484bc1747eae52b2441f0bfd47ac7e093150f1d
[ "MIT" ]
null
null
null
""" setup earthquake depth relocation directory """ import obspy import sh import numpy as np import click from os.path import join from glob import glob import copy if __name__ == "__main__": main()
45.181818
207
0.625445
132764a2c0f4e72e8781ad3a0b75e85eb885eb90
12,911
py
Python
python-client/trustedanalytics/core/atktypes.py
blbarker/atk
bcb747d053e801820233a6439c88a457c8cf2438
[ "Apache-2.0" ]
1
2016-04-05T21:57:16.000Z
2016-04-05T21:57:16.000Z
python-client/trustedanalytics/core/atktypes.py
blbarker/atk
bcb747d053e801820233a6439c88a457c8cf2438
[ "Apache-2.0" ]
null
null
null
python-client/trustedanalytics/core/atktypes.py
blbarker/atk
bcb747d053e801820233a6439c88a457c8cf2438
[ "Apache-2.0" ]
null
null
null
# vim: set encoding=utf-8 # # Copyright(c)2015 IntelCorporation # # LicensedundertheApacheLicense,Version2.0(the"License"); # youmaynotusethisfileexceptincompliancewiththeLicense. # YoumayobtainacopyoftheLicenseat # # http://www.apache.org/licenses/LICENSE-2.0 # # Unlessrequiredbyapplicablelaworagreedtoinwriting...
31.036058
191
0.629386
132884f1556370e07396101f0cb65bd3696963c4
6,530
py
Python
srd/pageaggregator.py
poikilos/tabletopManualMiner
94a824feabdf0a8efa1bf28670af44820aff9923
[ "MIT" ]
null
null
null
srd/pageaggregator.py
poikilos/tabletopManualMiner
94a824feabdf0a8efa1bf28670af44820aff9923
[ "MIT" ]
null
null
null
srd/pageaggregator.py
poikilos/tabletopManualMiner
94a824feabdf0a8efa1bf28670af44820aff9923
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import math try: # from PDFPageDetailedAggregator: from pdfminer.pdfdocument import PDFDocument, PDFNoOutlines from pdfminer.pdfparser import PDFParser from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.converter import PDFPageAggregator ...
36.077348
91
0.467994
1328be197a55352f7669047e01b9ed9e941d72e5
1,131
py
Python
ctrltest.py
dkim286/cpsc454-proj
16314802bae3cfbd4d1bf6d7f75a9e6adeb6700d
[ "FTL", "CNRI-Python" ]
null
null
null
ctrltest.py
dkim286/cpsc454-proj
16314802bae3cfbd4d1bf6d7f75a9e6adeb6700d
[ "FTL", "CNRI-Python" ]
null
null
null
ctrltest.py
dkim286/cpsc454-proj
16314802bae3cfbd4d1bf6d7f75a9e6adeb6700d
[ "FTL", "CNRI-Python" ]
null
null
null
from pox.core import core import pox.openflow.libopenflow_01 as of from forwarding.l2_learning import * from tkinter import * from project.firewall import TestFW from project.ui import UI
23.5625
82
0.654288
1328cd1366c0161d1070168617ce0f27d9f43e15
246
py
Python
virtual/lib/python3.6/site-packages/mako/__init__.py
kenmutuma001/Blog
6b19a77b71694bbe9f5e84207de46c68f87ebc5e
[ "Unlicense" ]
1
2019-04-24T21:53:37.000Z
2019-04-24T21:53:37.000Z
virtual/lib/python3.6/site-packages/mako/__init__.py
kenmutuma001/Blog
6b19a77b71694bbe9f5e84207de46c68f87ebc5e
[ "Unlicense" ]
5
2021-03-19T00:19:04.000Z
2022-01-13T01:12:44.000Z
virtual/lib/python3.6/site-packages/mako/__init__.py
kenmutuma001/Blog
6b19a77b71694bbe9f5e84207de46c68f87ebc5e
[ "Unlicense" ]
2
2019-11-30T10:33:16.000Z
2021-02-03T06:29:40.000Z
# mako/__init__.py # Copyright (C) 2006-2016 the Mako authors and contributors <see AUTHORS file> # # This module is part of Mako and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php __version__ = '1.0.9'
27.333333
78
0.743902
1328eb00ae7fa054c34be04f558ebc32d9e45ce4
10,911
py
Python
image_classification/T2T_ViT/load_pytorch_weights.py
RangeKing/PaddleViT
0e25958686e04ed8872cf67fba0dfd6918e9b4dd
[ "Apache-2.0" ]
null
null
null
image_classification/T2T_ViT/load_pytorch_weights.py
RangeKing/PaddleViT
0e25958686e04ed8872cf67fba0dfd6918e9b4dd
[ "Apache-2.0" ]
null
null
null
image_classification/T2T_ViT/load_pytorch_weights.py
RangeKing/PaddleViT
0e25958686e04ed8872cf67fba0dfd6918e9b4dd
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021 PPViT Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
38.284211
93
0.563926
1329bbbf79a71f88d6626330a68385f854fb0eef
479
py
Python
estimators/__init__.py
j-bac/id-concentration
372bacc846d3d5dd5f99178863fa214fb8d3b292
[ "MIT" ]
null
null
null
estimators/__init__.py
j-bac/id-concentration
372bacc846d3d5dd5f99178863fa214fb8d3b292
[ "MIT" ]
null
null
null
estimators/__init__.py
j-bac/id-concentration
372bacc846d3d5dd5f99178863fa214fb8d3b292
[ "MIT" ]
null
null
null
from ._FisherS import randsphere, preprocessing, SeparabilityAnalysis, point_inseparability_to_pointID from ._call_estimators import TwoNN, run_singleGMST,run_singleCorrDim,runDANCo, runDANCoStats, runDANColoop,runANOVAglobal,runANOVAlocal,radovanovic_estimators_matlab,Hidalgo from ._DANCo import dancoDimEst as danco_p...
59.875
174
0.868476
132a98c8a3d62474bea30c75b83e6ea4827d2ca4
265
py
Python
examples/get_message.py
NeroAsmarr/fz-api
d688277b4c616e93c809381ab082cba834964681
[ "MIT" ]
71
2019-12-04T03:58:33.000Z
2022-03-19T11:38:54.000Z
examples/get_message.py
NeroAsmarr/fz-api
d688277b4c616e93c809381ab082cba834964681
[ "MIT" ]
6
2020-01-03T09:56:45.000Z
2022-03-10T09:29:04.000Z
examples/get_message.py
NeroAsmarr/fz-api
d688277b4c616e93c809381ab082cba834964681
[ "MIT" ]
12
2019-11-23T03:37:39.000Z
2021-08-15T09:41:21.000Z
# from zfnew import GetInfo, Login base_url = 'url' lgn = Login(base_url=base_url) lgn.login('', '') cookies = lgn.cookies # cookies person = GetInfo(base_url=base_url, cookies=cookies) message = person.get_message() print(message)
20.384615
52
0.754717
132acdacf1ba08411631ef7d5debcacf7e313231
1,030
py
Python
input/gera_entradas.py
AtilioA/Sort-merge-join
6ed3199aada921973833cafffc8cbde5062b76fb
[ "Unlicense" ]
null
null
null
input/gera_entradas.py
AtilioA/Sort-merge-join
6ed3199aada921973833cafffc8cbde5062b76fb
[ "Unlicense" ]
null
null
null
input/gera_entradas.py
AtilioA/Sort-merge-join
6ed3199aada921973833cafffc8cbde5062b76fb
[ "Unlicense" ]
null
null
null
import sys import random from faker import Faker if __name__ == "__main__": fake = Faker("pt_BR") path = "python/" try: nLinhas = int(sys.argv[1]) nCampos = int(sys.argv[2]) except: nLinhas = 1000 nCampos = 10 gera(nLinhas, nCampos)
23.953488
91
0.523301
132ade11b48d56eee57560835a5c3f4f30719ed6
1,639
py
Python
lessons 20/HomeWork/task9.py
zainllw0w/skillbox
896287b6f7f5612cf589094131fd1a12b0b192ba
[ "MIT" ]
null
null
null
lessons 20/HomeWork/task9.py
zainllw0w/skillbox
896287b6f7f5612cf589094131fd1a12b0b192ba
[ "MIT" ]
null
null
null
lessons 20/HomeWork/task9.py
zainllw0w/skillbox
896287b6f7f5612cf589094131fd1a12b0b192ba
[ "MIT" ]
null
null
null
n = int(input(' : ')) data = dict() time_list = list() for i in range(1, n+1): print(f' {i} : ', end='') text = input().split() time = text[0] time_list.append(int(time)) name = text[1] obj = [name, time] data[i] = tuple(obj) f, s, t, fi, si, ti = sort(data, sorted(time_list)) time_list...
32.78
90
0.534472
132ba0fc5dd29581ad43ebacaf74b8069bf64ef6
5,072
py
Python
src/test-apps/happy/test-templates/WeaveInetDNS.py
aiw-google/openweave-core
5dfb14b21d0898ef95bb62ff564cadfeea4b4702
[ "Apache-2.0" ]
1
2021-08-10T12:08:31.000Z
2021-08-10T12:08:31.000Z
src/test-apps/happy/test-templates/WeaveInetDNS.py
aiw-google/openweave-core
5dfb14b21d0898ef95bb62ff564cadfeea4b4702
[ "Apache-2.0" ]
1
2020-04-30T05:38:44.000Z
2020-04-30T05:38:44.000Z
src/test-apps/happy/test-templates/WeaveInetDNS.py
aiw-google/openweave-core
5dfb14b21d0898ef95bb62ff564cadfeea4b4702
[ "Apache-2.0" ]
1
2020-06-15T01:50:59.000Z
2020-06-15T01:50:59.000Z
#!/usr/bin/env python # # Copyright (c) 2016-2017 Nest Labs, Inc. # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/lice...
29.317919
123
0.636632
132bada4fd58d52bb6e1891b67b8d0c493944002
6,243
py
Python
funcoes.py
ZezaoDev/Circtrigo
5e5f6be0bdee17d30c2993478ca25409b82b6af3
[ "MIT" ]
null
null
null
funcoes.py
ZezaoDev/Circtrigo
5e5f6be0bdee17d30c2993478ca25409b82b6af3
[ "MIT" ]
null
null
null
funcoes.py
ZezaoDev/Circtrigo
5e5f6be0bdee17d30c2993478ca25409b82b6af3
[ "MIT" ]
null
null
null
import turtle as t import math
30.014423
149
0.492712
132c604ed66d104dc1d0fc33432f244eb013965a
7,620
py
Python
esm/model.py
crochereau/esm
881a3b924d3f74e3cddeb6929e91ee7224ef2ebd
[ "MIT" ]
1
2021-01-21T17:54:20.000Z
2021-01-21T17:54:20.000Z
esm/model.py
crochereau/esm
881a3b924d3f74e3cddeb6929e91ee7224ef2ebd
[ "MIT" ]
null
null
null
esm/model.py
crochereau/esm
881a3b924d3f74e3cddeb6929e91ee7224ef2ebd
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import math import torch import torch.nn as nn import torch.nn.functional as F from .modules import ( TransformerLayer, LearnedPosit...
38.1
121
0.600656
132d17111128f658179267c44013a769265d45f3
3,392
py
Python
python/tink/aead/kms_envelope_aead.py
bfloch/tink
aac780590902f726a8e7d6c4e3aa1cd75f4b0ed5
[ "Apache-2.0" ]
null
null
null
python/tink/aead/kms_envelope_aead.py
bfloch/tink
aac780590902f726a8e7d6c4e3aa1cd75f4b0ed5
[ "Apache-2.0" ]
null
null
null
python/tink/aead/kms_envelope_aead.py
bfloch/tink
aac780590902f726a8e7d6c4e3aa1cd75f4b0ed5
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
36.085106
79
0.740861
132da230699a189c6467f4c2e09699a5bd87f139
2,168
py
Python
tests/pyb/can.py
LabAixBidouille/micropython
11aa6ba456287d6c80598a7ebbebd2887ce8f5a2
[ "MIT" ]
null
null
null
tests/pyb/can.py
LabAixBidouille/micropython
11aa6ba456287d6c80598a7ebbebd2887ce8f5a2
[ "MIT" ]
null
null
null
tests/pyb/can.py
LabAixBidouille/micropython
11aa6ba456287d6c80598a7ebbebd2887ce8f5a2
[ "MIT" ]
null
null
null
from pyb import CAN CAN.initfilterbanks(14) can = CAN(1) print(can) can.init(CAN.LOOPBACK) print(can) print(can.any(0)) # Catch all filter can.setfilter(0, CAN.MASK16, 0, (0, 0, 0, 0)) can.send('abcd', 123) print(can.any(0)) print(can.recv(0)) can.send('abcd', -1) print(can.recv(0)) can.send('abcd', 0x7FF + 1) pr...
17.626016
45
0.600092
132f2f1fcc81be862b19147ccbf0e1ac78045127
8,995
py
Python
quarkchain/cluster/tests/test_miner.py
TahiG/pyquarkchain
30da626ef6b50bd07b230aac05a3cef7fd7f23cf
[ "MIT" ]
17
2018-12-25T03:41:25.000Z
2020-08-11T06:06:26.000Z
quarkchain/cluster/tests/test_miner.py
TahiG/pyquarkchain
30da626ef6b50bd07b230aac05a3cef7fd7f23cf
[ "MIT" ]
null
null
null
quarkchain/cluster/tests/test_miner.py
TahiG/pyquarkchain
30da626ef6b50bd07b230aac05a3cef7fd7f23cf
[ "MIT" ]
5
2018-12-25T07:55:56.000Z
2019-09-11T23:19:59.000Z
import asyncio import time import unittest from typing import Optional from quarkchain.cluster.miner import DoubleSHA256, Miner, MiningWork, validate_seal from quarkchain.config import ConsensusType from quarkchain.core import RootBlock, RootBlockHeader from quarkchain.p2p import ecies from quarkchain.utils import sha...
35
90
0.585103
133006e28697a9c060805e03e6080858eb027007
4,782
py
Python
analysis/networks/autoencoder/train_eval.py
nriesterer/iccm-neural-bound
e14b103ba2c81a197de5b0edf948c19d57f0d3ba
[ "MIT" ]
null
null
null
analysis/networks/autoencoder/train_eval.py
nriesterer/iccm-neural-bound
e14b103ba2c81a197de5b0edf948c19d57f0d3ba
[ "MIT" ]
null
null
null
analysis/networks/autoencoder/train_eval.py
nriesterer/iccm-neural-bound
e14b103ba2c81a197de5b0edf948c19d57f0d3ba
[ "MIT" ]
null
null
null
""" Evaluates the training performance of the autoencoder. """ import time import pandas as pd import numpy as np import torch import torch.optim as optim import torch.nn as nn import ccobra import onehot import autoencoder # General settings training_datafile = '../../data/Ragni-train.csv' test_datafile = '../....
32.310811
94
0.669385
13319b518cfc2b51d7dc1b3515004faa2aab4919
2,170
py
Python
Tools/GAutomator/wpyscripts/uiautomator/uiautomator_manager.py
Aver58/ColaFrameWork
04c6750305ad734b30eceb95b463695b8373845a
[ "MIT" ]
1
2020-12-30T00:33:31.000Z
2020-12-30T00:33:31.000Z
Tools/GAutomator/wpyscripts/uiautomator/uiautomator_manager.py
wtb521thl/ColaFrameWork
0a8cc589740e045ebde668a76c4a35366b38e62e
[ "MIT" ]
null
null
null
Tools/GAutomator/wpyscripts/uiautomator/uiautomator_manager.py
wtb521thl/ColaFrameWork
0a8cc589740e045ebde668a76c4a35366b38e62e
[ "MIT" ]
1
2020-07-27T12:28:56.000Z
2020-07-27T12:28:56.000Z
#-*- coding: UTF-8 -*- """ Tencent is pleased to support the open source community by making GAutomator available. Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a...
35
305
0.723502
1334b7e4ac98033a8f1ce868857f5028fcae2b7d
2,261
py
Python
IMU/VTK-6.2.0/Filters/Core/Testing/Python/TestSynchronizedTemplates3D.py
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
IMU/VTK-6.2.0/Filters/Core/Testing/Python/TestSynchronizedTemplates3D.py
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
IMU/VTK-6.2.0/Filters/Core/Testing/Python/TestSynchronizedTemplates3D.py
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() if __name__ == "__main__": Testing.main([(TestSynchronizedTemplates3D, 'test')])
35.888889
81
0.707651
1335259eff2620253efdbb6cb8199b32e7ccadf8
14,913
py
Python
deserialize/__init__.py
iAndriy/deserialize
3552517873d68d3bb953b44dd9512f0e0d045191
[ "MIT" ]
null
null
null
deserialize/__init__.py
iAndriy/deserialize
3552517873d68d3bb953b44dd9512f0e0d045191
[ "MIT" ]
null
null
null
deserialize/__init__.py
iAndriy/deserialize
3552517873d68d3bb953b44dd9512f0e0d045191
[ "MIT" ]
null
null
null
"""A module for deserializing data to Python objects.""" # pylint: disable=unidiomatic-typecheck # pylint: disable=protected-access # pylint: disable=too-many-branches # pylint: disable=wildcard-import import enum import functools import typing from typing import Any, Callable, Dict, List, Optional, Union from deser...
35.507143
148
0.644002
1335675a9f3e2654ba5bacc0a704284147b3d912
2,518
py
Python
tests/test_get_set.py
snoopyjc/ssf
b995cae0e90d38e3758d4944fb144831f9bae0a5
[ "Apache-2.0" ]
3
2020-10-07T18:28:12.000Z
2020-10-09T15:24:53.000Z
tests/test_get_set.py
snoopyjc/ssf
b995cae0e90d38e3758d4944fb144831f9bae0a5
[ "Apache-2.0" ]
15
2020-10-09T15:23:03.000Z
2020-10-29T04:34:17.000Z
tests/test_get_set.py
snoopyjc/ssf
b995cae0e90d38e3758d4944fb144831f9bae0a5
[ "Apache-2.0" ]
null
null
null
from ssf import SSF ssf = SSF(errors='raise')
31.475
100
0.496029
13356a393bf8946042480c6de66561dc06a9116f
3,796
py
Python
script.py
devppratik/Youtube-Downloader
ccdf31b83fbce2d05711c64dbad729c935c72b8a
[ "MIT" ]
null
null
null
script.py
devppratik/Youtube-Downloader
ccdf31b83fbce2d05711c64dbad729c935c72b8a
[ "MIT" ]
null
null
null
script.py
devppratik/Youtube-Downloader
ccdf31b83fbce2d05711c64dbad729c935c72b8a
[ "MIT" ]
null
null
null
import os import pyfiglet from pytube import YouTube, Playlist file_size = 0 folder_name = "" # Progress Bar # Show Progress Bar # Get Download Location # Get Desired Resolution # Single Video Download # Playlist Single Video Download # Playlist Download # Main Function # Start of Program if __name_...
33.008696
113
0.670443
13372002afbafad592f6b286397c1829136d9e66
1,547
py
Python
test/python/test.py
alex952/cdr
e8dce20c2cc635e5ad8bf16a16ec4f7d9a86ac16
[ "MIT" ]
null
null
null
test/python/test.py
alex952/cdr
e8dce20c2cc635e5ad8bf16a16ec4f7d9a86ac16
[ "MIT" ]
null
null
null
test/python/test.py
alex952/cdr
e8dce20c2cc635e5ad8bf16a16ec4f7d9a86ac16
[ "MIT" ]
null
null
null
# # Copyright 2014-2018 Neueda Ltd. # from cdr import Cdr import unittest field1 = 1 field2 = 2 field3 = 55 if __name__ == '__main__': unittest.main()
20.355263
59
0.541694
1337486fb7ecdf7c5699a609f50b6301a5037cab
32,947
py
Python
vendor/mo_times/vendor/dateutil/tz.py
klahnakoski/auth0-api
eda9c2554c641da76687f64445b8d35543d012d9
[ "MIT" ]
null
null
null
vendor/mo_times/vendor/dateutil/tz.py
klahnakoski/auth0-api
eda9c2554c641da76687f64445b8d35543d012d9
[ "MIT" ]
null
null
null
vendor/mo_times/vendor/dateutil/tz.py
klahnakoski/auth0-api
eda9c2554c641da76687f64445b8d35543d012d9
[ "MIT" ]
null
null
null
""" Copyright (c) 2003-2007 Gustavo Niemeyer <gustavo@niemeyer.net> This module offers extensions to the standard Python datetime module. """ import datetime import os import struct import sys import time from mo_future import PY3, string_types __license__ = "Simplified BSD" __all__ = ["tzutc", "tzoffset", "tzloca...
34.284079
89
0.521049
1338002c0bb58e1ef6c0115a4fcc0293761a19a5
764
py
Python
example/first_example/window/inputWindow/view.py
suuperhu/Pyside2MVCFramework
c28bd0fbb6b53bb2cdad8d0723b4251fc93319d6
[ "MIT" ]
1
2021-03-11T13:34:41.000Z
2021-03-11T13:34:41.000Z
example/first_example/window/inputWindow/view.py
suuperhu/Pyside2MVCFramework
c28bd0fbb6b53bb2cdad8d0723b4251fc93319d6
[ "MIT" ]
null
null
null
example/first_example/window/inputWindow/view.py
suuperhu/Pyside2MVCFramework
c28bd0fbb6b53bb2cdad8d0723b4251fc93319d6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ # @SoftwareIDE : PyCharm2020Pro # @ProjectName : PySide2MVCFramework # @FileName : view.py # @Author : # @Email : 2839414139@qq.com # @ZhFileDescription : # @EnFileDescription : """ import os from pyside2mvcframework.core.view...
26.344828
84
0.649215
133a869b28cf9968a719e243a3266dfb25b637ba
18,998
py
Python
src/finn/custom_op/fpgadataflow/streamingfifo.py
AlexMontgomerie/finn
ec5f67b333ad4db4acf6191c3b5ab5e9067347aa
[ "BSD-3-Clause" ]
283
2019-09-26T10:09:34.000Z
2022-03-09T16:36:23.000Z
src/finn/custom_op/fpgadataflow/streamingfifo.py
AlexMontgomerie/finn
ec5f67b333ad4db4acf6191c3b5ab5e9067347aa
[ "BSD-3-Clause" ]
238
2019-10-04T12:20:26.000Z
2022-03-31T04:50:53.000Z
src/finn/custom_op/fpgadataflow/streamingfifo.py
AlexMontgomerie/finn
ec5f67b333ad4db4acf6191c3b5ab5e9067347aa
[ "BSD-3-Clause" ]
144
2019-09-23T13:46:14.000Z
2022-03-18T12:55:07.000Z
# Copyright (c) 2020, Xilinx # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of conditions and the follow...
40.25
88
0.600326
133a8d431ec24410c6b47b396ebee9494e39f0e3
3,403
py
Python
android_fonts.py
chrissimpkins/android_fonts
f904147774836468a8c011b1596f85577220b140
[ "Apache-2.0" ]
1
2022-01-13T01:47:45.000Z
2022-01-13T01:47:45.000Z
android_fonts.py
chrissimpkins/android_fonts
f904147774836468a8c011b1596f85577220b140
[ "Apache-2.0" ]
2
2022-01-13T03:54:39.000Z
2022-03-12T01:00:20.000Z
android_fonts.py
chrissimpkins/android_fonts
f904147774836468a8c011b1596f85577220b140
[ "Apache-2.0" ]
1
2022-03-25T20:01:56.000Z
2022-03-25T20:01:56.000Z
import ast import emoji import os import pandas as pd _SUPPORT_CACHE_CSV = emoji.datafile('emoji_support.csv') _API_LEVELS = { 1: ("(no codename)", "1.0"), 2: ("(no codename)", "1.1"), 3: ("Cupcake", "1.5 "), 4: ("Donut", "1.6 "), 5: ("Eclair", "2.0"), 6: ("Eclair", "2.0.1"), 7: ("Eclair", "2.1 "), 8:...
27.666667
82
0.590949
133cca4be64ff28929df70bc44eae2ffd26907ef
5,889
py
Python
tests/test_list.py
amikrop/django-paste
109f6e5a42bdc20f3cb671471b3ce5c9e329148b
[ "MIT" ]
3
2020-11-11T11:28:47.000Z
2022-03-16T11:27:39.000Z
tests/test_list.py
amikrop/django-paste
109f6e5a42bdc20f3cb671471b3ce5c9e329148b
[ "MIT" ]
null
null
null
tests/test_list.py
amikrop/django-paste
109f6e5a42bdc20f3cb671471b3ce5c9e329148b
[ "MIT" ]
1
2021-01-05T15:01:06.000Z
2021-01-05T15:01:06.000Z
import json from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase from paste import constants from tests.mixins import SnippetListTestCaseMixin from tests.utils import constant, create_snippet, create_user
37.993548
78
0.652742
133e3e1f16ff977c264f6c6b6c2854d7503259d9
1,082
py
Python
Algorithmic Toolbox/Greedy Algorithms/Maximum Advertisement Revenue/maximum_ad_revenue.py
ganeshbhandarkar/Python-Projects
a4df933122a6694d249c69d1e8e95b592cf036a0
[ "MIT" ]
9
2020-07-02T06:06:17.000Z
2022-02-26T11:08:09.000Z
Algorithmic Toolbox/Greedy Algorithms/Maximum Advertisement Revenue/maximum_ad_revenue.py
ganeshbhandarkar/Python-Projects
a4df933122a6694d249c69d1e8e95b592cf036a0
[ "MIT" ]
1
2021-11-04T17:26:36.000Z
2021-11-04T17:26:36.000Z
Algorithmic Toolbox/Greedy Algorithms/Maximum Advertisement Revenue/maximum_ad_revenue.py
ganeshbhandarkar/Python-Projects
a4df933122a6694d249c69d1e8e95b592cf036a0
[ "MIT" ]
8
2021-01-31T10:31:12.000Z
2022-03-13T09:15:55.000Z
# python3 from itertools import permutations if __name__ == '__main__': n = int(input()) prices = list(map(int, input().split())) clicks = list(map(int, input().split())) assert len(prices) == len(clicks) == n print(max_dot_product(prices, clicks))
30.914286
97
0.675601
133ed5289cb6b6aa42d9780aa225db43b59d7e06
154
py
Python
HelloWorldPython/IfStatements.py
SamIge7/Tutorials
7a3361768432a6493313d1f0ea1ccc8b2b916aa2
[ "MIT" ]
null
null
null
HelloWorldPython/IfStatements.py
SamIge7/Tutorials
7a3361768432a6493313d1f0ea1ccc8b2b916aa2
[ "MIT" ]
null
null
null
HelloWorldPython/IfStatements.py
SamIge7/Tutorials
7a3361768432a6493313d1f0ea1ccc8b2b916aa2
[ "MIT" ]
null
null
null
hasGoodCredit = True price = 1000000 deposit = 0 if hasGoodCredit: deposit = price/10 else: deposit = price/5 print(f"Deposit needed: {deposit}")
19.25
36
0.707792
133faca593d6fb1ce0fd475b5ad4b709b64db3a7
1,970
py
Python
main.py
vsundesha/documentation-hub-dependencies
3cdb7c28ceefb7c4ece60fd5e9d3e89640bb0d01
[ "Apache-2.0" ]
null
null
null
main.py
vsundesha/documentation-hub-dependencies
3cdb7c28ceefb7c4ece60fd5e9d3e89640bb0d01
[ "Apache-2.0" ]
null
null
null
main.py
vsundesha/documentation-hub-dependencies
3cdb7c28ceefb7c4ece60fd5e9d3e89640bb0d01
[ "Apache-2.0" ]
null
null
null
import config as props import sys import getopt from GitHubDataFetcher import GitHubDataFetcher from DependencyFile import DependencyFile from ErrorFile import ErrorFile # Github Token TOKEN = props.token OWNER = "" REPOSITORY = "" OUTPUTFILE = "" if __name__ == "__main__": main(sys.argv[1:])
30.78125
117
0.579695
133fae22a7b7ebcd7d6ca9fc3157fb56fb5b1062
6,036
py
Python
inference_realesrgan.py
blabra/Real-ESRGAN
bd5c69d2ef30f27cc2a510443451a2dc841aec28
[ "BSD-3-Clause" ]
null
null
null
inference_realesrgan.py
blabra/Real-ESRGAN
bd5c69d2ef30f27cc2a510443451a2dc841aec28
[ "BSD-3-Clause" ]
null
null
null
inference_realesrgan.py
blabra/Real-ESRGAN
bd5c69d2ef30f27cc2a510443451a2dc841aec28
[ "BSD-3-Clause" ]
null
null
null
import argparse import cv2 import glob import os from basicsr.archs.rrdbnet_arch import RRDBNet import time from realesrgan import RealESRGANer from realesrgan.archs.srvgg_arch import SRVGGNetCompact def main(): """Inference demo for Real-ESRGAN. """ parser = argparse.ArgumentParser() parser.add_argu...
43.73913
117
0.647614
1340144aae426a1da982a7084f1832cdca8e0a63
515
py
Python
examples/Fe__vasp/Fe_fcc_afm_D/Fe_fcc_afm_D_vac_A/clean_vasp.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
4
2018-01-18T19:59:56.000Z
2020-08-25T11:56:52.000Z
examples/Fe__vasp/Fe_fcc_afm_D/Fe_fcc_afm_D_vac_A/clean_vasp.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
1
2018-04-22T23:02:13.000Z
2018-04-22T23:02:13.000Z
examples/Fe__vasp/Fe_fcc_afm_D/Fe_fcc_afm_D_vac_A/clean_vasp.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
1
2019-09-14T07:04:42.000Z
2019-09-14T07:04:42.000Z
import os filenames_delete = [ 'CHG', 'CHGCAR', 'CONTCAR', 'DOSCAR', 'EIGENVAL', 'IBZKPT', 'job.err', 'job.out', 'OSZICAR', 'PCDAT', 'REPORT', 'vasp.log', 'vasprun.xml', 'WAVECAR', 'XDATCAR' ] for filename in filenames_delete: try: ...
17.166667
51
0.518447
1340c125093f2e5f053bbf9519f4a5c3e3aa6a2e
1,195
py
Python
binary_trees/largest_values_in_tree_rows.py
ethyl2/code_challenges
3c9ccca1782f92728e60a515a7ca797f6d470e81
[ "MIT" ]
null
null
null
binary_trees/largest_values_in_tree_rows.py
ethyl2/code_challenges
3c9ccca1782f92728e60a515a7ca797f6d470e81
[ "MIT" ]
null
null
null
binary_trees/largest_values_in_tree_rows.py
ethyl2/code_challenges
3c9ccca1782f92728e60a515a7ca797f6d470e81
[ "MIT" ]
null
null
null
''' Sean Chen's solution. See mine in largest_values_in_each_row.py ''' from collection import deque
24.895833
61
0.594979