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
c39fc66cbbaf2d7063e82766c69335a2ff9ae3b8
14,626
py
Python
src/resipy/compress_utils.py
sgreene8/resipy
297533fd1a2f0443f4a7a062b36c8ab7df5e5e63
[ "MIT" ]
2
2019-05-06T02:55:40.000Z
2019-05-22T09:53:19.000Z
src/resipy/compress_utils.py
sgreene8/resipy
297533fd1a2f0443f4a7a062b36c8ab7df5e5e63
[ "MIT" ]
null
null
null
src/resipy/compress_utils.py
sgreene8/resipy
297533fd1a2f0443f4a7a062b36c8ab7df5e5e63
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 """ Utilities for performing stochastic matrix and vector compressions. """ import numpy import misc_c_utils import near_uniform def fri_subd(vec, num_div, sub_weights, n_samp): """ Perform FRI compression on a vector whose first elements, vec[i] are each subdivided into equal segments...
36.84131
104
0.673185
c3a1abb9b65cf75cfb9749d348aca024d63998e3
5,590
py
Python
venv/lib/python3.8/site-packages/seaborn_qqplot/plots.py
johncollinsai/post-high-frequency-data
88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4
[ "MIT" ]
6
2019-06-16T15:01:47.000Z
2021-11-01T00:05:19.000Z
venv/lib/python3.8/site-packages/seaborn_qqplot/plots.py
johncollinsai/post-high-frequency-data
88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4
[ "MIT" ]
11
2019-06-16T23:10:12.000Z
2021-07-06T14:24:07.000Z
venv/lib/python3.8/site-packages/seaborn_qqplot/plots.py
johncollinsai/post-high-frequency-data
88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4
[ "MIT" ]
2
2020-04-09T15:35:25.000Z
2020-10-11T20:44:25.000Z
# BSD 3-Clause License # # Copyright (c) 2019, Rene Jean Corneille # 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, thi...
33.473054
140
0.64025
c3a29f62d83a316fed3011a212b3a35c83e9c12c
295
py
Python
intermediate/mutations_nainys.py
garvitsharma05/hacktoberithms
25aea28f362de22414569d67436a670bea5a3aeb
[ "MIT" ]
16
2018-10-05T07:35:06.000Z
2021-10-02T12:12:52.000Z
intermediate/mutations_nainys.py
garvitsharma05/hacktoberithms
25aea28f362de22414569d67436a670bea5a3aeb
[ "MIT" ]
50
2018-10-04T00:04:24.000Z
2019-10-25T16:29:58.000Z
intermediate/mutations_nainys.py
garvitsharma05/hacktoberithms
25aea28f362de22414569d67436a670bea5a3aeb
[ "MIT" ]
115
2018-10-04T02:42:18.000Z
2021-01-27T17:34:21.000Z
print mutations(["hello","heel"]) print mutations(["Alien","line"])
16.388889
37
0.691525
c3a46a64223b4d7935b2ce93b83a5ab0a1585a6c
54
py
Python
lang/py/cookbook/v2/source/cb2_6_0_exm_14.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_6_0_exm_14.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_6_0_exm_14.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
Someclass = type('Someclass', (Somebase,), {'x': 23})
27
53
0.611111
c3a4bac81af5bc3661970906bcc01a696388f5ca
2,131
py
Python
src/main/resources/google/cloud/compute/instance/compute_create_running.py
s-lal/xld-google-cloud-compute-plugin
28389184a6df8bdee33893da6030499384a2b565
[ "MIT" ]
null
null
null
src/main/resources/google/cloud/compute/instance/compute_create_running.py
s-lal/xld-google-cloud-compute-plugin
28389184a6df8bdee33893da6030499384a2b565
[ "MIT" ]
null
null
null
src/main/resources/google/cloud/compute/instance/compute_create_running.py
s-lal/xld-google-cloud-compute-plugin
28389184a6df8bdee33893da6030499384a2b565
[ "MIT" ]
null
null
null
# # Copyright 2020 XEBIALABS # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, subli...
68.741935
462
0.779916
c3a5ae7192b62bac66c1b709fe6b5e22475b2e41
1,599
py
Python
backend/flask-api/src/servicos/movimento_servico.py
lucasbibianot/inova-cnj-time16
e621d7027bd462d348e233ffd6ed88648c53704b
[ "Apache-2.0" ]
null
null
null
backend/flask-api/src/servicos/movimento_servico.py
lucasbibianot/inova-cnj-time16
e621d7027bd462d348e233ffd6ed88648c53704b
[ "Apache-2.0" ]
null
null
null
backend/flask-api/src/servicos/movimento_servico.py
lucasbibianot/inova-cnj-time16
e621d7027bd462d348e233ffd6ed88648c53704b
[ "Apache-2.0" ]
2
2020-10-19T22:03:31.000Z
2020-11-29T21:22:33.000Z
import re from ..entidades.modelo_fluxo import Movimento from ..persistencia.database import db from sqlalchemy.orm import aliased, load_only, Load, exc from flask_restful import abort from flask import Response import json
28.052632
122
0.703565
c3a5e021cbcc85ebb4f94bf78689f3053c0f3211
243
py
Python
PycharmProjects/pythonexercicios/aula014/ex064.py
zmixtv1/cev-Python
edce04f86d943d9af070bf3c5e89575ff796ec9e
[ "MIT" ]
null
null
null
PycharmProjects/pythonexercicios/aula014/ex064.py
zmixtv1/cev-Python
edce04f86d943d9af070bf3c5e89575ff796ec9e
[ "MIT" ]
null
null
null
PycharmProjects/pythonexercicios/aula014/ex064.py
zmixtv1/cev-Python
edce04f86d943d9af070bf3c5e89575ff796ec9e
[ "MIT" ]
null
null
null
n1 = int(input("digite um valor: [999 para parar] ")) cont = 0 soma = n1 while n1 != 999: soma += n1 cont += 1 n1 = int(input("Digite um valor: ")) print("Voc digitou {} numeros e a soma entre eles foi de {}!".format(cont, soma))
27
82
0.604938
c3a6dfb6d53c3397fca6347f04d68006bd544731
2,468
py
Python
figures/seal_delays.py
aditya-sengupta/sealrtc
cadc01d63bd07590b30decbe5fb57c79b3e68503
[ "CC0-1.0" ]
null
null
null
figures/seal_delays.py
aditya-sengupta/sealrtc
cadc01d63bd07590b30decbe5fb57c79b3e68503
[ "CC0-1.0" ]
null
null
null
figures/seal_delays.py
aditya-sengupta/sealrtc
cadc01d63bd07590b30decbe5fb57c79b3e68503
[ "CC0-1.0" ]
null
null
null
import numpy as np from matplotlib import pyplot as plt import sys import re from os.path import join fs = 100 good_runs = ["07_02_14", "07_04_45", "08_11_19", "08_11_46"] exposures = [] measures = [] dmcs = [] total_nframes = 0 for fname in good_runs: with open(join("..", "data", "log", f"log_13_11_2021_{fname...
35.768116
90
0.608185
c3a78423413c586b43d5c6f2ba43237b6c4989d3
514
py
Python
Competive Programming/CodeVitaV7/MockVita/problem_d.py
RitamDey/My-Simple-Programs
147b455a6a40c371ec894ce979e8a61d242e03bd
[ "Unlicense" ]
2
2016-10-14T16:58:05.000Z
2017-05-04T04:59:18.000Z
Competive Programming/CodeVitaV7/MockVita/problem_d.py
GreenJoey/My-Simple-Programs
147b455a6a40c371ec894ce979e8a61d242e03bd
[ "Unlicense" ]
null
null
null
Competive Programming/CodeVitaV7/MockVita/problem_d.py
GreenJoey/My-Simple-Programs
147b455a6a40c371ec894ce979e8a61d242e03bd
[ "Unlicense" ]
null
null
null
main()
15.117647
44
0.424125
c3ab8d6929c69624d061fbf0aa9d0caa473c282b
9,205
py
Python
prototypes/python_prototype/empiricalEstimation.py
Elbercaio/adaptive-engine
c51661ad64d95c7ed36508c90787521261038525
[ "Apache-2.0" ]
null
null
null
prototypes/python_prototype/empiricalEstimation.py
Elbercaio/adaptive-engine
c51661ad64d95c7ed36508c90787521261038525
[ "Apache-2.0" ]
null
null
null
prototypes/python_prototype/empiricalEstimation.py
Elbercaio/adaptive-engine
c51661ad64d95c7ed36508c90787521261038525
[ "Apache-2.0" ]
null
null
null
##Author: Ilia Rushkin, VPAL Research, Harvard University, Cambridge, MA, USA ###################################### ####Estimation functions are below#### ###################################### import numpy as np def knowledge(self, problems, correctness): """ ##This function finds the empirical knowledge ...
33.841912
216
0.5283
c3abc0a68a85157f3c2c372d3a89b0bb5b081f02
352
py
Python
main.py
DHRUV-CODER/Fortnite-Bot
65217baf85169797732ec046c7a5940f46ef9cc7
[ "MIT" ]
1
2021-03-07T10:17:09.000Z
2021-03-07T10:17:09.000Z
main.py
DHRUV-CODER/Fortnite-Bot
65217baf85169797732ec046c7a5940f46ef9cc7
[ "MIT" ]
2
2021-02-05T13:42:45.000Z
2021-02-05T13:43:25.000Z
main.py
DHRUV-CODER/Fortnite-Bot
65217baf85169797732ec046c7a5940f46ef9cc7
[ "MIT" ]
null
null
null
import os import environ import keep_alive from discord.ext import commands token = os.environ.get("TOKEN") bot = commands.Bot(command_prefix="") for filename in os.listdir("./cogs"): if filename.endswith(".py") and filename != "__init__.py": bot.load_extension(f'cogs.{filename[:-3]}') keep_alive.ke...
19.555556
62
0.693182
c3ad330362e01dc7f15821884e5a6bbe50194e31
953
py
Python
scrap2rst/cmd.py
shimizukawa/scrap2rst
d6cab254d03f8e161f210e793083d8b26b44abd7
[ "MIT" ]
5
2019-06-29T03:17:09.000Z
2021-06-19T20:41:04.000Z
scrap2rst/cmd.py
shimizukawa/scrap2rst
d6cab254d03f8e161f210e793083d8b26b44abd7
[ "MIT" ]
24
2019-08-14T23:07:43.000Z
2019-09-30T04:59:42.000Z
scrap2rst/cmd.py
shimizukawa/scrap2rst
d6cab254d03f8e161f210e793083d8b26b44abd7
[ "MIT" ]
null
null
null
""" command-line interface for scrap2rst """ import sys import logging import argparse from scrap2rst import __version__ from scrap2rst.logging import setup_logger from scrap2rst.converter import convert logger = logging.getLogger(__name__) if __name__ == '__main__': main()
24.435897
90
0.673662
c3af3f55df4b117b6e91dedf512a6d86c7573fca
8,605
py
Python
pricing/__init__.py
troylar/aws-pricing-importer
6fabbea533e07e1fad1f3840a28e2a0fb435c888
[ "MIT" ]
3
2019-04-10T13:46:51.000Z
2019-04-16T14:32:55.000Z
pricing/__init__.py
troylar/aws-pricing-to-athena
6fabbea533e07e1fad1f3840a28e2a0fb435c888
[ "MIT" ]
1
2021-06-01T23:23:24.000Z
2021-06-01T23:23:24.000Z
pricing/__init__.py
troylar/aws-pricing-importer
6fabbea533e07e1fad1f3840a28e2a0fb435c888
[ "MIT" ]
null
null
null
import json import os import os.path import requests import csv import tempfile from io import StringIO import boto3 import time import urllib3 create_table = """ CREATE EXTERNAL TABLE `[OFFER]`( [COLUMNS] [PARTITION] ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde' STORED AS INPUTFORMAT 'org.apache...
40.399061
117
0.525276
c3b008c8303bfbb30f36a958105a103791dbc6b7
1,920
py
Python
ensembling.py
Masdevallia/3rd-place-Kaggle-SIIM-ISIC-Melanoma-Classification
69c9481c4f00961c52c1e4d580666b286deba6cf
[ "MIT" ]
14
2020-09-08T08:10:56.000Z
2022-03-16T05:47:46.000Z
ensembling.py
Masdevallia/3rd-place-Kaggle-SIIM-ISIC-Melanoma-Classification
69c9481c4f00961c52c1e4d580666b286deba6cf
[ "MIT" ]
null
null
null
ensembling.py
Masdevallia/3rd-place-Kaggle-SIIM-ISIC-Melanoma-Classification
69c9481c4f00961c52c1e4d580666b286deba6cf
[ "MIT" ]
8
2020-09-09T14:12:50.000Z
2021-09-11T16:27:39.000Z
import sys import argparse import pandas as pd import numpy as np import os if __name__=='__main__': main()
35.555556
113
0.70625
c3b124b23b6ac439915246f3ba91242c0ab87d5c
1,927
py
Python
PythonStuff/hi.py
FlightDev/YSPA
5226712ebf305e7a3c686c43c996517a617f748b
[ "MIT" ]
null
null
null
PythonStuff/hi.py
FlightDev/YSPA
5226712ebf305e7a3c686c43c996517a617f748b
[ "MIT" ]
null
null
null
PythonStuff/hi.py
FlightDev/YSPA
5226712ebf305e7a3c686c43c996517a617f748b
[ "MIT" ]
null
null
null
JDs = [] RAs = [] Decs = [] file = open("data.txt", 'r') data = [] for line in file: datum = line.split("\t") JDs.append(float(datum[0])) RAs.append(float(datum[1])) Decs.append(float(datum[2][:-1])) """ import matplotlib.pyplot as plt JDs = [2458281.856678, 2458281.857743, 2458281.85880...
52.081081
311
0.708874
c3b1a662429cdada1fb29fdf45e27e026c0bbcf8
7,337
py
Python
src/dataStructures/elmtree_jtray.py
tschalch/pyTray
ab26c7d4618c16f1ef6df45f7c8bae81f08f855b
[ "BSD-3-Clause" ]
1
2018-06-15T09:42:22.000Z
2018-06-15T09:42:22.000Z
src/dataStructures/elmtree_jtray.py
tschalch/pyTray
ab26c7d4618c16f1ef6df45f7c8bae81f08f855b
[ "BSD-3-Clause" ]
null
null
null
src/dataStructures/elmtree_jtray.py
tschalch/pyTray
ab26c7d4618c16f1ef6df45f7c8bae81f08f855b
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python2.4 """ tray_data provides the data for the tray GUI. It handles the XML data and provides the neccessary interfaces. """ import tray_data import logging from util.trayErrors import PropertyNotFoundError log = logging.getLogger("xml_jtray") log.setLevel(logging.WARN) if ...
42.166667
108
0.592885
c3b239f366d0aa2e3fa43d5373d1a03a579fb69c
1,104
py
Python
tests/test_iter_ij_in_block.py
kalekundert/wellmap
05a9029807276ec29aea63db10c664ad2ede093c
[ "MIT" ]
7
2020-05-29T21:14:49.000Z
2022-01-25T15:35:17.000Z
tests/test_iter_ij_in_block.py
kalekundert/wellmap
05a9029807276ec29aea63db10c664ad2ede093c
[ "MIT" ]
24
2020-06-09T14:29:03.000Z
2022-03-25T22:43:24.000Z
tests/test_iter_ij_in_block.py
kalekundert/wellmap
05a9029807276ec29aea63db10c664ad2ede093c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import pytest from wellmap import *
30.666667
58
0.272645
c3b3565e61fd4a1d8b267a41d981a92c6d73f542
318
py
Python
lectures/slides_tex/example_sklearn.py
materialsvirtuallab/nano281
d527c5049aab3da99237cbff0cc749640b2c9c06
[ "BSD-3-Clause" ]
38
2019-12-23T13:14:53.000Z
2022-01-25T23:59:33.000Z
lectures/slides_tex/example_sklearn.py
materialsvirtuallab/nano281
d527c5049aab3da99237cbff0cc749640b2c9c06
[ "BSD-3-Clause" ]
null
null
null
lectures/slides_tex/example_sklearn.py
materialsvirtuallab/nano281
d527c5049aab3da99237cbff0cc749640b2c9c06
[ "BSD-3-Clause" ]
18
2020-02-10T20:43:39.000Z
2022-01-21T13:45:36.000Z
model = Model(**params) # Init a model with parameters. model.get_params() # Get model parameters. model.set_params(**params) # Set model parameters model.fit(X, y) # Fit the model with a dataset model.score(X, y) # Provides the score for the dataset. model.predict(X) # Make a prediction using fitted model.
53
59
0.72327
c3b44be37f288d5b48b6f0177fd4a4019cc7b623
215
py
Python
py-server/src/enum/index.py
Jonnytoshen/wind-layer
514e9b9c76b6d72faac21543fd5fb1c43e6bd9b5
[ "BSD-3-Clause" ]
285
2017-12-16T13:29:27.000Z
2022-03-28T02:59:08.000Z
py-server/src/enum/index.py
Jonnytoshen/wind-layer
514e9b9c76b6d72faac21543fd5fb1c43e6bd9b5
[ "BSD-3-Clause" ]
104
2018-01-01T01:40:13.000Z
2022-03-26T18:20:45.000Z
py-server/src/enum/index.py
Jonnytoshen/wind-layer
514e9b9c76b6d72faac21543fd5fb1c43e6bd9b5
[ "BSD-3-Clause" ]
97
2017-12-18T08:05:21.000Z
2022-03-28T15:49:38.000Z
from enum import Enum
26.875
47
0.716279
c3b57eaa438b0e0ff2f40a515ff88ec6d01bf26c
5,202
py
Python
roots/format.py
TomRegan/roots_legacy
cf145d80b526b7142f869eb5d869a27c3d7bb1eb
[ "Apache-2.0" ]
null
null
null
roots/format.py
TomRegan/roots_legacy
cf145d80b526b7142f869eb5d869a27c3d7bb1eb
[ "Apache-2.0" ]
null
null
null
roots/format.py
TomRegan/roots_legacy
cf145d80b526b7142f869eb5d869a27c3d7bb1eb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2015 Tom Regan # # 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...
36.377622
79
0.572472
c3b58ba311536941e44b47fb58812f09838e1ac8
11,567
py
Python
frost/client.py
Sigvesor/frost-client
3c0cf2af27d1ab471ce06331b7b0e6cc87f421e6
[ "MIT" ]
7
2019-02-17T05:00:33.000Z
2020-11-10T13:13:26.000Z
frost/client.py
Sigvesor/frost-client
3c0cf2af27d1ab471ce06331b7b0e6cc87f421e6
[ "MIT" ]
2
2020-03-24T18:23:18.000Z
2020-03-31T10:22:02.000Z
frost/client.py
Sigvesor/frost-client
3c0cf2af27d1ab471ce06331b7b0e6cc87f421e6
[ "MIT" ]
1
2020-04-03T23:53:30.000Z
2020-04-03T23:53:30.000Z
import os from urllib.parse import urljoin import requests from requests.auth import HTTPBasicAuth from .models import SourcesResponse from .models import AvailableTimeSeriesResponse from .models import ObservationsResponse FROST_API_KEY = os.environ.get('FROST_API_KEY', None)
42.369963
79
0.61736
c3b5c82cda0e55aa0b6ba4cf5db98b3355aacc13
3,411
py
Python
llvd/downloader.py
rahil-sh/llvd
e0e55db66b0a7a828f6040cbac8679c304e1c5db
[ "MIT" ]
4
2022-01-03T08:19:08.000Z
2022-02-04T16:51:39.000Z
llvd/downloader.py
rahil-sh/llvd
e0e55db66b0a7a828f6040cbac8679c304e1c5db
[ "MIT" ]
null
null
null
llvd/downloader.py
rahil-sh/llvd
e0e55db66b0a7a828f6040cbac8679c304e1c5db
[ "MIT" ]
1
2022-01-03T08:19:09.000Z
2022-01-03T08:19:09.000Z
from tqdm import tqdm from itertools import starmap import requests import time import click import re import os from llvd.utils import clean_name, subtitles_time_format, throttle def download_video(url, index, filename, path, delay=None): """ Downloads a video and saves it by its name plus index for eas...
35.164948
101
0.562005
c3b8c7827cbab7f0180e68f8f0d4f4b5ef34c2d4
1,902
py
Python
addNextMonth.py
David12312341/Carmelorto
d2a7fe6522940db1d4ee186c5ff335c03e3622da
[ "MIT" ]
null
null
null
addNextMonth.py
David12312341/Carmelorto
d2a7fe6522940db1d4ee186c5ff335c03e3622da
[ "MIT" ]
null
null
null
addNextMonth.py
David12312341/Carmelorto
d2a7fe6522940db1d4ee186c5ff335c03e3622da
[ "MIT" ]
null
null
null
import psycopg2 import calendar import sys import os # TODO: add ability to either add entire year or specific month from command line # TODO: Implement argparse to add functionality to CLI if __name__ == "__main__": main()
30.677419
155
0.609359
c3b8ce5fd606e50e10f8ca74fe1352d18e7c8eec
3,938
py
Python
drivers/plot_Porb_Prot.py
lgbouma/earhart
1d2b65d58655725f43c1bf9705b897bf767d4ca1
[ "MIT" ]
null
null
null
drivers/plot_Porb_Prot.py
lgbouma/earhart
1d2b65d58655725f43c1bf9705b897bf767d4ca1
[ "MIT" ]
null
null
null
drivers/plot_Porb_Prot.py
lgbouma/earhart
1d2b65d58655725f43c1bf9705b897bf767d4ca1
[ "MIT" ]
null
null
null
""" The stellar spin periods and planetary orbital periods originally collected by Penev et al (2018) are shown in Figure~\ref{fig:Pspin_vs_Porb}. We only show hot Jupiter systems with spin period S/N ratios of at least 5, and have colored the hot Jupiters by whether their stellar radius is below or above $1.2R_\odot$....
30.061069
80
0.588624
c3b8e9007add6621a63ae003963d1b0398741980
4,918
py
Python
conjugate_gradient_method.py
Kedow132/extremum_search_methods
16f83a3979a9f1b3f738627f466f97ec72b2031d
[ "BSD-3-Clause" ]
null
null
null
conjugate_gradient_method.py
Kedow132/extremum_search_methods
16f83a3979a9f1b3f738627f466f97ec72b2031d
[ "BSD-3-Clause" ]
null
null
null
conjugate_gradient_method.py
Kedow132/extremum_search_methods
16f83a3979a9f1b3f738627f466f97ec72b2031d
[ "BSD-3-Clause" ]
null
null
null
from math import sqrt import matplotlib.pyplot as plt import numpy as np from prettytable import PrettyTable headers = PrettyTable( ['', 'x1_1', 'x2_1', 'x1_2', 'x2_2', 'function(x1,x2)', 'df']) if __name__ == '__main__': s = ((sqrt(5) - 1) / 2) x1 = 1 x2 = 1 delta = 0.000001 info,...
30.930818
79
0.547377
c3b9c03b0b6999a6a3e2dacc735a7de64457c8b0
784
py
Python
tcga_encoder/analyses/old/dna_functions.py
tedmeeds/tcga_encoder
805f9a5bcc422a43faea45baa0996c88d346e3b4
[ "MIT" ]
2
2017-12-19T15:32:46.000Z
2018-01-12T11:24:24.000Z
tcga_encoder/analyses/old/dna_functions.py
tedmeeds/tcga_encoder
805f9a5bcc422a43faea45baa0996c88d346e3b4
[ "MIT" ]
null
null
null
tcga_encoder/analyses/old/dna_functions.py
tedmeeds/tcga_encoder
805f9a5bcc422a43faea45baa0996c88d346e3b4
[ "MIT" ]
null
null
null
from tcga_encoder.utils.helpers import * from scipy import stats
28
94
0.670918
c3badbbe2ba65c13681fed044b28fd4aa43440f3
646
py
Python
notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/_Another-One/Project Euler/Problem 9/sol2.py
side-projects-42/INTERVIEW-PREP-COMPLETE
627a3315cee4bbc38a0e81c256f27f928eac2d63
[ "MIT" ]
13
2021-03-11T00:25:22.000Z
2022-03-19T00:19:23.000Z
notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/_Another-One/Project Euler/Problem 9/sol2.py
side-projects-42/INTERVIEW-PREP-COMPLETE
627a3315cee4bbc38a0e81c256f27f928eac2d63
[ "MIT" ]
160
2021-04-26T19:04:15.000Z
2022-03-26T20:18:37.000Z
notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/_Another-One/Project Euler/Problem 9/sol2.py
side-projects-42/INTERVIEW-PREP-COMPLETE
627a3315cee4bbc38a0e81c256f27f928eac2d63
[ "MIT" ]
12
2021-04-26T19:43:01.000Z
2022-01-31T08:36:29.000Z
"""A Pythagorean triplet is a set of three natural numbers, for which, a^2+b^2=c^2 Given N, Check if there exists any Pythagorean triplet for which a+b+c=N Find maximum possible value of product of a,b,c among all such Pythagorean triplets, If there is no such Pythagorean triplet print -1.""" #!/bin/python3 import sys ...
32.3
137
0.588235
c3bbcaac1b4c3eb7ea0472b929c01ba8a155ceb5
15
py
Python
openml_data_integration/protobuf_generator/openml_1547/myconstants.py
tuix/tutorials
733d35a8a39df079e8c2432c441b70785ab08440
[ "Apache-2.0" ]
8
2020-04-21T13:29:04.000Z
2021-12-13T08:59:09.000Z
openml_data_integration/protobuf_generator/openml_1547/myconstants.py
tuix/tutorials
733d35a8a39df079e8c2432c441b70785ab08440
[ "Apache-2.0" ]
3
2021-04-27T11:03:04.000Z
2021-05-24T18:22:57.000Z
openml_data_integration/protobuf_generator/openml_1547/myconstants.py
tuix/tutorials
733d35a8a39df079e8c2432c441b70785ab08440
[ "Apache-2.0" ]
6
2020-07-06T08:23:25.000Z
2021-11-24T10:39:34.000Z
DATA_ID = 1547
7.5
14
0.733333
c3bc911a72d3ea304b521b36a90bb52a8b6a530e
10,883
py
Python
devel/lib/python2.7/dist-packages/nav2d_msgs/msg/_LocalizedScan.py
pplankton/MRSLAM
0a16489a2cbd0c2d1511b506c540446cc670bde8
[ "MIT" ]
1
2021-05-17T11:13:01.000Z
2021-05-17T11:13:01.000Z
devel/lib/python2.7/dist-packages/nav2d_msgs/msg/_LocalizedScan.py
pplankton/MRSLAM
0a16489a2cbd0c2d1511b506c540446cc670bde8
[ "MIT" ]
null
null
null
devel/lib/python2.7/dist-packages/nav2d_msgs/msg/_LocalizedScan.py
pplankton/MRSLAM
0a16489a2cbd0c2d1511b506c540446cc670bde8
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from nav2d_msgs/LocalizedScan.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import std_msgs.msg import sensor_msgs.msg _struct_I = genpy.struct_I _struct_2b3f3I = None ...
39.147482
193
0.639989
c3bf3b6220b1341a752239051d140a1c1b00bf32
3,511
py
Python
tests/test_hashing.py
David-Jianguang-Ran/gravity-hash
58c28f07646f3f9177d685c80da4ec4de98cef48
[ "MIT" ]
null
null
null
tests/test_hashing.py
David-Jianguang-Ran/gravity-hash
58c28f07646f3f9177d685c80da4ec4de98cef48
[ "MIT" ]
null
null
null
tests/test_hashing.py
David-Jianguang-Ran/gravity-hash
58c28f07646f3f9177d685c80da4ec4de98cef48
[ "MIT" ]
null
null
null
from unittest import TestCase from gravity_simulation.hashing import *
76.326087
1,393
0.698092
c3bf686e9d3b64fb3a2f04a67c481cb724c6b8f5
1,894
py
Python
pushnetbox.py
M35a2/cisco-interfaces-to-netbox
0d8df402ed85571bdb6e8b627c080fbea670a7f8
[ "BSD-3-Clause" ]
null
null
null
pushnetbox.py
M35a2/cisco-interfaces-to-netbox
0d8df402ed85571bdb6e8b627c080fbea670a7f8
[ "BSD-3-Clause" ]
null
null
null
pushnetbox.py
M35a2/cisco-interfaces-to-netbox
0d8df402ed85571bdb6e8b627c080fbea670a7f8
[ "BSD-3-Clause" ]
null
null
null
from netbox import NetBox import requests import json import csv from re import search requests.packages.urllib3.disable_warnings()
30.548387
131
0.578669
c3c04babb354c41a1b5bfe232b2d3bb50a6a173a
5,568
py
Python
secpy256k1/utils.py
summa-tx/riemann-secp256k1
2013618902eadfab812813b3f93c159187de7a72
[ "MIT" ]
6
2019-01-09T18:59:00.000Z
2020-07-12T09:14:08.000Z
secpy256k1/utils.py
summa-tx/riemann-secp256k1
2013618902eadfab812813b3f93c159187de7a72
[ "MIT" ]
4
2019-01-12T19:16:26.000Z
2019-03-13T19:11:37.000Z
secpy256k1/utils.py
summa-tx/secpy256k1
2013618902eadfab812813b3f93c159187de7a72
[ "MIT" ]
2
2019-01-19T21:52:33.000Z
2019-01-23T10:48:57.000Z
import hashlib from _secpy256k1 import ffi def validate_cdata_type(value, type_str, err_msg, null_flag=False): '''Checks that value is a valid ffi CData type. Args: value (ffi.CData): value to check type_str (str): ffi cdata type err_msg (str): error ...
32.184971
79
0.596983
c3c245e82abe59f7ffe1e78f2b4cafcd335e9622
2,837
py
Python
scikits/pulsefit/correct_addpulses.py
johnnylee/scikits.pulsefit
d07571d524d974f52a863cd96a823fce6f1fed1e
[ "MIT" ]
2
2015-08-25T15:41:26.000Z
2016-05-23T01:42:37.000Z
scikits/pulsefit/correct_addpulses.py
johnnylee/scikits.pulsefit
d07571d524d974f52a863cd96a823fce6f1fed1e
[ "MIT" ]
1
2015-03-28T00:32:16.000Z
2017-04-04T10:48:49.000Z
scikits/pulsefit/correct_addpulses.py
johnnylee/scikits.pulsefit
d07571d524d974f52a863cd96a823fce6f1fed1e
[ "MIT" ]
null
null
null
from __future__ import print_function import numpy as np
32.238636
73
0.505111
c3c27fde8746702040364868f95806b209ac0997
2,549
py
Python
server/accession/fixtures/actiontypes.py
coll-gate/collgate
8c2ff1c59adda2bf318040f588c05263317a2812
[ "MIT" ]
2
2017-07-04T16:19:09.000Z
2019-08-16T04:54:47.000Z
server/accession/fixtures/actiontypes.py
coll-gate/collgate
8c2ff1c59adda2bf318040f588c05263317a2812
[ "MIT" ]
null
null
null
server/accession/fixtures/actiontypes.py
coll-gate/collgate
8c2ff1c59adda2bf318040f588c05263317a2812
[ "MIT" ]
1
2018-04-13T08:28:09.000Z
2018-04-13T08:28:09.000Z
# -*- coding: utf-8; -*- # # @file actiontypes.py # @brief collgate # @author Frdric SCHERMA (INRA UMR1095) # @date 2017-11-30 # @copyright Copyright (c) 2017 INRA/CIRAD # @license MIT (see LICENSE file) # @details ACTION_TYPES = { 'introduction': { 'id': None, 'name': 'introduction', 'labe...
22.758929
66
0.429973
c3c2d5bd4cb2951c2a4329f8a2068be5bb546f68
116,610
py
Python
scripts/analytics_tests.py
rombie/contrail-test
a68c71d6f282142501a7e2e889bbb232fdd82dc3
[ "Apache-2.0" ]
null
null
null
scripts/analytics_tests.py
rombie/contrail-test
a68c71d6f282142501a7e2e889bbb232fdd82dc3
[ "Apache-2.0" ]
null
null
null
scripts/analytics_tests.py
rombie/contrail-test
a68c71d6f282142501a7e2e889bbb232fdd82dc3
[ "Apache-2.0" ]
null
null
null
# Need to import path to test/fixtures and test/scripts/ # Ex : export PYTHONPATH='$PATH:/root/test/fixtures/:/root/test/scripts/' # # To run tests, you can do 'python -m testtools.run tests'. To run specific tests, # You can do 'python -m testtools.run -l tests' # Set the env variable PARAMS_FILE to point to your ini ...
42.021622
334
0.534911
c3c4355aa628e0a4b790fc108449eb7a3f5be2e3
2,128
py
Python
ops_omgx/aws-secrets-importer.py
jet86/optimism
ed0d1ba349c5aa6f3e57c5b5886b34a167177ffa
[ "MIT" ]
13
2021-06-04T20:01:01.000Z
2021-11-25T07:43:53.000Z
ops_omgx/aws-secrets-importer.py
jet86/optimism
ed0d1ba349c5aa6f3e57c5b5886b34a167177ffa
[ "MIT" ]
361
2021-05-24T16:36:12.000Z
2021-12-04T18:03:26.000Z
ops_omgx/aws-secrets-importer.py
jet86/optimism
ed0d1ba349c5aa6f3e57c5b5886b34a167177ffa
[ "MIT" ]
9
2021-05-29T00:13:15.000Z
2021-11-19T18:11:01.000Z
#!/usr/bin/python3 import json import re import subprocess import sys, getopt from ruamel.yaml import YAML if __name__ == "__main__": main(sys.argv[1:])
36.689655
187
0.547932
c3c46544743c479d3ac35edcaaac5e3250bc57a9
309
py
Python
constants.py
Ictcmn/canarytokens
a9fb97929bcec8643b02a8be34fca7d525a382b8
[ "BSD-3-Clause" ]
1
2021-01-09T16:27:23.000Z
2021-01-09T16:27:23.000Z
constants.py
Ictcmn/canarytokens
a9fb97929bcec8643b02a8be34fca7d525a382b8
[ "BSD-3-Clause" ]
null
null
null
constants.py
Ictcmn/canarytokens
a9fb97929bcec8643b02a8be34fca7d525a382b8
[ "BSD-3-Clause" ]
null
null
null
OUTPUT_CHANNEL_EMAIL = 'Email' OUTPUT_CHANNEL_WEBHOOK = 'Webhook' OUTPUT_CHANNEL_TWILIO_SMS = 'TwilioSMS' INPUT_CHANNEL_HTTP = 'HTTP' INPUT_CHANNEL_DNS = 'DNS' INPUT_CHANNEL_IMGUR = 'Imgur' INPUT_CHANNEL_LINKEDIN = 'LinkedIn' INPUT_CHANNEL_BITCOIN = 'Bitcoin' INPUT_CHANNEL_SMTP = 'SMTP'
25.75
41
0.757282
c3c4b445db1b4b18e57fba0843364a7e6f3beaa4
976
py
Python
timefred/dikt/diktutils.py
giladbarnea/timefred
36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60
[ "MIT" ]
null
null
null
timefred/dikt/diktutils.py
giladbarnea/timefred
36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60
[ "MIT" ]
null
null
null
timefred/dikt/diktutils.py
giladbarnea/timefred
36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60
[ "MIT" ]
null
null
null
from typing import Union, Any, Type _builtin_scalars = frozenset({str, bytes, bytearray, int, float, complex, bool, type(None)}) def strict_inherits_from(inst, t) -> bool: """ >>> strict_inherits_from(dict(), dict) False >>> strict_inherits_from(dict, dict) False ...
23.804878
80
0.617828
c3c71ec1d1a7678bdcaa0e51dcb4f75be92aa874
555
py
Python
cartbox/cart/urls.py
bayersglassey/cartbox
579072eea7970ba56111e2d815aff83cea522502
[ "BSD-2-Clause" ]
null
null
null
cartbox/cart/urls.py
bayersglassey/cartbox
579072eea7970ba56111e2d815aff83cea522502
[ "BSD-2-Clause" ]
null
null
null
cartbox/cart/urls.py
bayersglassey/cartbox
579072eea7970ba56111e2d815aff83cea522502
[ "BSD-2-Clause" ]
null
null
null
from django.conf.urls import url, include from django.contrib.auth.decorators import login_required from . import views urlpatterns = [ url(r'^shop/$', login_required(views.ShopView.as_view()), name='shop'), url(r'^order/(?P<pk>\d+)/$', login_required(views.OrderView.as_view()), ...
27.75
57
0.630631
c3c7d9360b54f39f3fe5652ae31ef0dfc4bf8638
9,331
py
Python
tethys_compute/models/dask/dask_job.py
msouff/tethys
45795d1e6561d5db8fddd838f4d1ae1d91dbb837
[ "BSD-2-Clause" ]
null
null
null
tethys_compute/models/dask/dask_job.py
msouff/tethys
45795d1e6561d5db8fddd838f4d1ae1d91dbb837
[ "BSD-2-Clause" ]
1
2018-09-20T21:27:14.000Z
2018-09-20T21:27:14.000Z
tethys_compute/models/dask/dask_job.py
msouff/tethys
45795d1e6561d5db8fddd838f4d1ae1d91dbb837
[ "BSD-2-Clause" ]
null
null
null
""" ******************************************************************************** * Name: basic_job * Author: nswain, teva, tran * Created On: September 19, 2018 * Copyright: (c) Aquaveo 2018 ******************************************************************************** """ import logging import datetime from djan...
31.630508
214
0.58729
c3c8a799dcbacef22d4252dc752a00db83b2fca3
5,699
py
Python
cournot_v6.py
Lkruitwagen/Cournot
4a6defc19e18774dc61f1e2c3a6bd0baff2dc00e
[ "MIT" ]
1
2020-04-08T14:25:04.000Z
2020-04-08T14:25:04.000Z
cournot_v6.py
Lkruitwagen/Cournot
4a6defc19e18774dc61f1e2c3a6bd0baff2dc00e
[ "MIT" ]
1
2018-11-13T10:58:35.000Z
2018-11-13T10:58:35.000Z
cournot_v6.py
Lkruitwagen/Cournot
4a6defc19e18774dc61f1e2c3a6bd0baff2dc00e
[ "MIT" ]
null
null
null
from scipy import optimize,arange from math import * import sys import csv import numpy as np import matplotlib.pyplot as plt #matplotlib inline #vectorised 2P-3T cournot now using basinhopping #1. get in the data, etc. ... CHECK! #2. make arbitrary to nxm ... CHECK! #3. make investment game ... v7 #4. div;expl #vec...
30.31383
210
0.589402
c3c9636997a7889d7b0b583458839ea611f4ceb5
7,566
py
Python
public_21CMvFAST_MC/Programs/CosmoHammer_21CMMC/emcee/utils.py
NNSSA/21cmvFAST
8f015427f3609a3051b4fa185bdbe55b379c930f
[ "MIT" ]
5
2019-04-18T11:31:34.000Z
2020-11-15T03:29:14.000Z
emcee/utils.py
lauralwatkins/emcee
051770bcfb6ed85bbc08459850deae8561ea7110
[ "MIT" ]
1
2019-12-17T05:27:25.000Z
2019-12-18T19:59:55.000Z
emcee/utils.py
lauralwatkins/emcee
051770bcfb6ed85bbc08459850deae8561ea7110
[ "MIT" ]
2
2019-11-14T13:54:46.000Z
2019-12-08T17:16:53.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import (division, print_function, absolute_import, unicode_literals) __all__ = ["sample_ball", "MH_proposal_axisaligned"] import numpy as np # If mpi4py is installed, import it. try: from mpi4py import MPI MPI = MPI excep...
34.081081
79
0.524055
c3c9da5766ad3a8e6c556571dd37b7fb321d959a
1,522
py
Python
utils/lru_cache.py
glongh/visual-run
252e160cec8906319baf0394fc3feb133df3947a
[ "MIT" ]
null
null
null
utils/lru_cache.py
glongh/visual-run
252e160cec8906319baf0394fc3feb133df3947a
[ "MIT" ]
null
null
null
utils/lru_cache.py
glongh/visual-run
252e160cec8906319baf0394fc3feb133df3947a
[ "MIT" ]
null
null
null
from collections import OrderedDict ''' Cache Eviction Flow # get(i) if i in cache: return cache[i] else: # set(i, m) x = longest-in-the-past from cache evict x, add i to cache return cache[i] '''
33.822222
120
0.622208
c3d17483a3af8faee3d6fe2b256913e702cd42e8
1,236
py
Python
LeetCode/1-1000/601-700/601-625/605. Can Place Flowers/solution-python3.py
adubois85/coding_challenge_websites
7867a05847a216661eff3b24b1cb1480fb7d3030
[ "Apache-2.0" ]
null
null
null
LeetCode/1-1000/601-700/601-625/605. Can Place Flowers/solution-python3.py
adubois85/coding_challenge_websites
7867a05847a216661eff3b24b1cb1480fb7d3030
[ "Apache-2.0" ]
null
null
null
LeetCode/1-1000/601-700/601-625/605. Can Place Flowers/solution-python3.py
adubois85/coding_challenge_websites
7867a05847a216661eff3b24b1cb1480fb7d3030
[ "Apache-2.0" ]
null
null
null
from typing import List
38.625
84
0.478964
c3d242b3088a9e13dd0d9c61fc0a9a0586b1bef7
1,996
py
Python
sfftkplus/unittests/test_schema.py
emdb-empiar/sfftk-plus
7ceca24b78c540169bddb3fd433b4aed050f40ec
[ "Apache-2.0" ]
null
null
null
sfftkplus/unittests/test_schema.py
emdb-empiar/sfftk-plus
7ceca24b78c540169bddb3fd433b4aed050f40ec
[ "Apache-2.0" ]
null
null
null
sfftkplus/unittests/test_schema.py
emdb-empiar/sfftk-plus
7ceca24b78c540169bddb3fd433b4aed050f40ec
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # test_schema.py import os import shlex import unittest import h5py from . import TEST_DATA_PATH from ..core.parser import parse_args from ..formats import vtkmesh from ..schema import SFFPSegmentation SCHEMA_VERSION = SFFPSegmentation().version __author__ = "Paul K. Korir, PhD" __email_...
35.017544
84
0.688878
c3d57923087c2261e4fd447792f926798a4e982f
10,806
py
Python
Calculator.py
dabl03/python-advanced-calculator
d4d025b1bdea4d9be1cc47dfabc917f579fed3f8
[ "Apache-2.0" ]
null
null
null
Calculator.py
dabl03/python-advanced-calculator
d4d025b1bdea4d9be1cc47dfabc917f579fed3f8
[ "Apache-2.0" ]
null
null
null
Calculator.py
dabl03/python-advanced-calculator
d4d025b1bdea4d9be1cc47dfabc917f579fed3f8
[ "Apache-2.0" ]
null
null
null
signos_admitidos=['+','-','*','/']; def search(list_char,str_,start=0): """ --------------------------------------------------------- | Busca un char ingresado por list_char en una | | cadena pasada por str_, Cuando lo consige | | crea una lista con la ubicacion de todas | | las coincidencia y lo g...
38.592857
223
0.492782
c3d5a67f41392b8dc06d5a7cc08dc3a0e34cb81f
3,006
py
Python
apps/organizations/models.py
WeiSanJin/MxOnline
e210030a00d7837c135504be618ac3744f8e4356
[ "MIT" ]
1
2021-04-05T14:43:25.000Z
2021-04-05T14:43:25.000Z
apps/organizations/models.py
WeiSanJin/MxOnline
e210030a00d7837c135504be618ac3744f8e4356
[ "MIT" ]
null
null
null
apps/organizations/models.py
WeiSanJin/MxOnline
e210030a00d7837c135504be618ac3744f8e4356
[ "MIT" ]
null
null
null
from django.db import models from apps.users.models import BaseModel from DjangoUeditor.models import UEditorField # # #
36.216867
105
0.683965
c3d5b63b4aec63e711dc906333d611d89cd9fa71
1,360
py
Python
app/data.py
leecrowe/bandersnatch-app
575394a7b7c47b8525d182edd4d7cf22de985d18
[ "MIT" ]
null
null
null
app/data.py
leecrowe/bandersnatch-app
575394a7b7c47b8525d182edd4d7cf22de985d18
[ "MIT" ]
null
null
null
app/data.py
leecrowe/bandersnatch-app
575394a7b7c47b8525d182edd4d7cf22de985d18
[ "MIT" ]
null
null
null
from os import getenv from typing import Iterator, Dict, Iterable from pymongo import MongoClient import pandas as pd from dotenv import load_dotenv
28.333333
68
0.668382
c3d5d0386568e2d8e4d24b1ddf0520a183df8e73
1,935
py
Python
python/static-site/tests/test_stacks.py
jeffmaley/aws-cdk-examples
86f10b0e1c21e5d6b943a02426d06e7a0f085681
[ "Apache-2.0" ]
2,941
2019-02-08T15:29:36.000Z
2022-03-31T23:57:42.000Z
python/static-site/tests/test_stacks.py
jeffmaley/aws-cdk-examples
86f10b0e1c21e5d6b943a02426d06e7a0f085681
[ "Apache-2.0" ]
558
2019-02-14T23:32:02.000Z
2022-03-30T00:35:11.000Z
python/static-site/tests/test_stacks.py
jeffmaley/aws-cdk-examples
86f10b0e1c21e5d6b943a02426d06e7a0f085681
[ "Apache-2.0" ]
1,409
2019-02-12T19:13:04.000Z
2022-03-31T18:46:21.000Z
import pytest from aws_cdk import core as cdk from site_stack import StaticSiteStack
31.209677
91
0.626357
c3d61a440169344b03bc906eb1309f1deef4bcc6
3,011
py
Python
hive-watcher/simple-watcher.py
Podcastindex-org/podping.cloud
58f92aa82dfbe232a411aea9609527904d1259cb
[ "MIT" ]
24
2021-04-26T23:45:45.000Z
2022-03-14T02:00:27.000Z
hive-watcher/simple-watcher.py
Podcastindex-org/podping.cloud
58f92aa82dfbe232a411aea9609527904d1259cb
[ "MIT" ]
23
2021-04-26T22:23:05.000Z
2022-02-22T13:19:32.000Z
hive-watcher/simple-watcher.py
brianoflondon/podping.cloud
df7e5b37fb4881d1fa618accefa2b89e69dfb8fc
[ "MIT" ]
7
2021-05-06T09:17:15.000Z
2021-11-05T18:12:04.000Z
# simple-watcher.py # # Simple version of Hive Podping watcher - no options, just runs # The only external library needed is "beem" - pip install beem # Beem is the official Hive accessing library for Python. # # Version 1.1 from datetime import datetime, timedelta from typing import Set import json import beem from ...
33.455556
97
0.678512
c3d84d6d30fcdcb05b353fb7fabedea3353d5848
9,935
py
Python
data_openml.py
Sergiodiaz53/saint
4d0294ddae5dc79035c252e88fd176af5e417a8e
[ "Apache-2.0" ]
null
null
null
data_openml.py
Sergiodiaz53/saint
4d0294ddae5dc79035c252e88fd176af5e417a8e
[ "Apache-2.0" ]
null
null
null
data_openml.py
Sergiodiaz53/saint
4d0294ddae5dc79035c252e88fd176af5e417a8e
[ "Apache-2.0" ]
null
null
null
import openml import numpy as np from sklearn.preprocessing import LabelEncoder import pandas as pd from torch.utils.data import Dataset
38.657588
162
0.644389
c3d8adaeda7653cb1a90e7bcead87cfd601b12da
853
py
Python
src/Time.py
oskart20/PythonServer-lifty
3e30ac4e8d2415681626646ccdc20cac863e310c
[ "MIT" ]
1
2019-04-14T14:33:00.000Z
2019-04-14T14:33:00.000Z
src/Time.py
oskart20/PythonServer-lifty
3e30ac4e8d2415681626646ccdc20cac863e310c
[ "MIT" ]
null
null
null
src/Time.py
oskart20/PythonServer-lifty
3e30ac4e8d2415681626646ccdc20cac863e310c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import datetime import logging logger_6 = logging.getLogger('PythonServer.Time') def time_in_range(start, end, x): """Return true if x is in the range [start, end]""" if start <= end: return start <= x <= end else: return start <= x or x <= end
22.447368
69
0.720985
c3d9223f50cffa1ff241a1b0548ffbf81ee7c5f8
6,086
py
Python
ROS_ws/src/lab2/traj_planning_ros/src/iLQR/ellipsoid/dyn_sys.py
kenarvyas/ECE346
f0229a9f3e03ca06e2d8fa74f9208fea5b2c29c7
[ "MIT" ]
4
2022-02-04T03:08:53.000Z
2022-03-24T13:17:46.000Z
ROS_ws/src/lab2/traj_planning_ros/src/iLQR/ellipsoid/dyn_sys.py
kenarvyas/ECE346
f0229a9f3e03ca06e2d8fa74f9208fea5b2c29c7
[ "MIT" ]
null
null
null
ROS_ws/src/lab2/traj_planning_ros/src/iLQR/ellipsoid/dyn_sys.py
kenarvyas/ECE346
f0229a9f3e03ca06e2d8fa74f9208fea5b2c29c7
[ "MIT" ]
12
2022-01-28T05:07:56.000Z
2022-03-30T02:43:05.000Z
import numpy as np
32.545455
79
0.548143
c3d93f125dc752ce5954d77d93adc145bfc38790
1,109
py
Python
drfpasswordless/urls.py
saazengineering/django-rest-framework-passwordless
2e8064f3576ab7cabf920fac4951c5ac9245c64a
[ "MIT" ]
null
null
null
drfpasswordless/urls.py
saazengineering/django-rest-framework-passwordless
2e8064f3576ab7cabf920fac4951c5ac9245c64a
[ "MIT" ]
null
null
null
drfpasswordless/urls.py
saazengineering/django-rest-framework-passwordless
2e8064f3576ab7cabf920fac4951c5ac9245c64a
[ "MIT" ]
null
null
null
from django.urls import path from drfpasswordless.views import ( ObtainEmailCallbackToken, ObtainMobileCallbackToken, ObtainAuthTokenFromCallbackToken, ObtainAuthTokenFromRefreshToken, VerifyAliasFromCallbackToken, ObtainEmailVerificationCallbackToken, ObtainMobileVerificationCallback...
50.409091
113
0.766456
c3dbca87e6402740e668135efd6e80f605bace9f
3,249
py
Python
mlinversion/mlinversion/bootstraptests.py
uofuseismo/YPMLRecalibration
18a4231eb12775cf808d83d38a11cc02664b3e35
[ "MIT" ]
null
null
null
mlinversion/mlinversion/bootstraptests.py
uofuseismo/YPMLRecalibration
18a4231eb12775cf808d83d38a11cc02664b3e35
[ "MIT" ]
null
null
null
mlinversion/mlinversion/bootstraptests.py
uofuseismo/YPMLRecalibration
18a4231eb12775cf808d83d38a11cc02664b3e35
[ "MIT" ]
2
2021-09-02T17:19:22.000Z
2021-12-23T00:14:51.000Z
""" Regularisation Tests This file contains a set of functions that were used to test and optimise the effects of regularisation. This file can also be imported as a module and contains the following functions: * func() Blurb about func. """ import os import numpy as np from copy import deepcopy from ty...
28.252174
100
0.564174
c3dc65c6f95112e170d27e15fb7aca74b4ab07cd
11,253
py
Python
lib/fcn/test_common.py
LeiYangJustin/UnseenObjectClustering
177d67c47bfd973d46b816e6b68bf20660f4b71d
[ "BSD-Source-Code" ]
101
2020-12-13T22:20:12.000Z
2022-03-22T07:58:58.000Z
lib/fcn/test_common.py
LeiYangJustin/UnseenObjectClustering
177d67c47bfd973d46b816e6b68bf20660f4b71d
[ "BSD-Source-Code" ]
6
2021-01-13T13:33:04.000Z
2022-03-08T02:13:27.000Z
lib/fcn/test_common.py
LeiYangJustin/UnseenObjectClustering
177d67c47bfd973d46b816e6b68bf20660f4b71d
[ "BSD-Source-Code" ]
19
2021-01-21T18:19:42.000Z
2022-03-07T14:17:21.000Z
# Copyright (c) 2020 NVIDIA Corporation. All rights reserved. # This work is licensed under the NVIDIA Source Code License - Non-commercial. Full # text can be found in LICENSE.md import torch import time import sys, os import numpy as np import cv2 import matplotlib.pyplot as plt from fcn.config import cfg from utils...
31.085635
98
0.50902
c3dd774e3fe02dfa112c698582886e4595fb2a9c
1,667
py
Python
phyluce/mafft.py
faircloth-lab/phyluce
ae6801a7e749be2fa38513db9846046241d0fd7a
[ "BSD-3-Clause" ]
63
2015-03-16T15:10:17.000Z
2022-02-16T12:36:23.000Z
phyluce/mafft.py
faircloth-lab/phyluce
ae6801a7e749be2fa38513db9846046241d0fd7a
[ "BSD-3-Clause" ]
253
2015-01-26T13:03:23.000Z
2022-03-15T19:03:05.000Z
phyluce/mafft.py
faircloth-lab/phyluce
ae6801a7e749be2fa38513db9846046241d0fd7a
[ "BSD-3-Clause" ]
45
2015-01-26T13:09:50.000Z
2021-05-24T04:20:30.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ (c) 2015 Brant Faircloth || http://faircloth-lab.org/ All rights reserved. This code is distributed under a 3-clause BSD license. Please see LICENSE.txt for more information. Created on 0 March 2012 09:03 PST (-0800) """ import os import tempfile import subprocess ...
26.046875
79
0.628674
c3de5aec1e9569212d47284ebab8aa408f948043
833
py
Python
main.py
dunningjack/parrot
1b3cf8b17a8d7880e1a6b2864366115ca8a1759f
[ "MIT" ]
null
null
null
main.py
dunningjack/parrot
1b3cf8b17a8d7880e1a6b2864366115ca8a1759f
[ "MIT" ]
null
null
null
main.py
dunningjack/parrot
1b3cf8b17a8d7880e1a6b2864366115ca8a1759f
[ "MIT" ]
null
null
null
import os from dotenv import load_dotenv from discord.ext import commands load_dotenv() TOKEN = os.getenv('DISCORD_TOKEN') GUILD = os.getenv('DISCORD_GUILD') client = commands.Bot(command_prefix='!p') client.run(TOKEN)
21.358974
57
0.669868
c3e08f45a7325555562cd081380f71ba2b964a18
1,856
py
Python
watcher/decision_engine/model/element/volume.py
ajaytikoo/watcher
6dbac1f6ae7f3e10dfdcef5721fa4af7af54e159
[ "Apache-2.0" ]
64
2015-10-18T02:57:24.000Z
2022-01-13T11:27:51.000Z
watcher/decision_engine/model/element/volume.py
ajaytikoo/watcher
6dbac1f6ae7f3e10dfdcef5721fa4af7af54e159
[ "Apache-2.0" ]
null
null
null
watcher/decision_engine/model/element/volume.py
ajaytikoo/watcher
6dbac1f6ae7f3e10dfdcef5721fa4af7af54e159
[ "Apache-2.0" ]
35
2015-12-25T13:53:21.000Z
2021-07-19T15:50:16.000Z
# -*- encoding: utf-8 -*- # Copyright 2017 NEC 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 ...
32.561404
75
0.716595
c3e0f5d4f905072bdceac9216392204ee8ebc83c
7,885
py
Python
elliptic_curve.py
eriktaubeneck/ellipic-curve
1014c8dfad7917aaacd6cdf1811f0af3513d3e4c
[ "MIT" ]
null
null
null
elliptic_curve.py
eriktaubeneck/ellipic-curve
1014c8dfad7917aaacd6cdf1811f0af3513d3e4c
[ "MIT" ]
null
null
null
elliptic_curve.py
eriktaubeneck/ellipic-curve
1014c8dfad7917aaacd6cdf1811f0af3513d3e4c
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from typing import Union, Tuple import sys import secrets import hashlib import math import warnings import base64 from algebra import ZModField, ZModElement from cryptography.fernet import Fernet from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primi...
32.315574
98
0.555485
c3e0f6e08ad291980fc7266ea3e2dbebcd6fc1e2
2,045
py
Python
DuplicateFileDetector/Menu.py
aksheus/Duplicate-File-Detector
2c096635b78e9617a65027a725952a8fdbb5a0f7
[ "MIT" ]
null
null
null
DuplicateFileDetector/Menu.py
aksheus/Duplicate-File-Detector
2c096635b78e9617a65027a725952a8fdbb5a0f7
[ "MIT" ]
null
null
null
DuplicateFileDetector/Menu.py
aksheus/Duplicate-File-Detector
2c096635b78e9617a65027a725952a8fdbb5a0f7
[ "MIT" ]
null
null
null
from tkinter import filedialog,messagebox from builtins import str import tkinter import os
38.584906
117
0.654279
c3e1a2988c6085b4d424ff4fea8df316b6870432
2,916
py
Python
service/plugins/sqlite/randQuery.py
liorperry/fuzz
2d49b2ea62b59f2790797a93be6a68aae8a150f7
[ "MIT" ]
1
2020-04-23T08:11:40.000Z
2020-04-23T08:11:40.000Z
service/plugins/sqlite/randQuery.py
liorperry/fuzz
2d49b2ea62b59f2790797a93be6a68aae8a150f7
[ "MIT" ]
null
null
null
service/plugins/sqlite/randQuery.py
liorperry/fuzz
2d49b2ea62b59f2790797a93be6a68aae8a150f7
[ "MIT" ]
null
null
null
# File: randQuery.py import random import string # TODO: # sqlite FTS expressions should be extended with count(*), 'order by', 'group by' etc. # if __name__== "__main__": # r = Randomize()
29.16
120
0.6869
c3e23393620a800bd22e9d3452a90377c68df089
216
py
Python
ex29.py
eng-lenin/Python
6038f052b8343878760ed133dd43869927e39b3d
[ "MIT" ]
1
2021-01-30T14:50:55.000Z
2021-01-30T14:50:55.000Z
ex29.py
eng-lenin/Python
6038f052b8343878760ed133dd43869927e39b3d
[ "MIT" ]
null
null
null
ex29.py
eng-lenin/Python
6038f052b8343878760ed133dd43869927e39b3d
[ "MIT" ]
null
null
null
v=float(input('A qual velocidade (km/h) est o carro? ')) if v<= 80: print('Abaixo do limite, obrigado! ') else: print('Voc est acima do limite, voc deve pagar uma multa de R$ {:.2f}!' .format((v-80)*7))
30.857143
97
0.634259
c3e2825a16a71ef4f94da2a5f0430d294e223568
974
py
Python
b_tree/b_tree_2/balanced_b_tree.py
rjsnh1522/geeks-4-geeks-python
9bea0ce4f3fae9b5f9e5952fb5b4b3a8c6186cf4
[ "MIT" ]
null
null
null
b_tree/b_tree_2/balanced_b_tree.py
rjsnh1522/geeks-4-geeks-python
9bea0ce4f3fae9b5f9e5952fb5b4b3a8c6186cf4
[ "MIT" ]
5
2021-03-10T11:49:39.000Z
2022-02-27T01:35:59.000Z
b_tree/b_tree_2/balanced_b_tree.py
rjsnh1522/geeks-4-geeks-python
9bea0ce4f3fae9b5f9e5952fb5b4b3a8c6186cf4
[ "MIT" ]
null
null
null
# Definition for a binary tree node n1 = TreeNode(1) n2 = TreeNode(2) n1.left = n2 n3 = TreeNode(3) n1.right = n3 n4 = TreeNode(4) n3.left = n4 n5 = TreeNode(5) n4.right = n5 n6 = TreeNode(6) n5.left = n6 n7 = TreeNode(7) n6.left = n7 sol = Solution() print(sol.isBalanced(n1))
19.48
43
0.540041
c3e5419e60dd7ed8ba59e0eb9fb45ebe1365558f
472
py
Python
datasets/tinyimagenet.py
SonyPony/shrinkbench
efe078569d6c91add40f14fa673c1fa7c9cde624
[ "MIT" ]
null
null
null
datasets/tinyimagenet.py
SonyPony/shrinkbench
efe078569d6c91add40f14fa673c1fa7c9cde624
[ "MIT" ]
null
null
null
datasets/tinyimagenet.py
SonyPony/shrinkbench
efe078569d6c91add40f14fa673c1fa7c9cde624
[ "MIT" ]
null
null
null
# Authors: Son Hai Nguyen, Miroslav Karpek # Logins: xnguye16, xkarpi05 # Project: Neural network pruning # Course: Convolutional Neural Networks # Year: 2021 import os import torchvision.datasets as datasets
22.47619
63
0.661017
c3e61bd8ca1f42e3b9a657af37fc1b37d341004b
6,937
py
Python
tuun/probo/models/gp_simple.py
petuum/tuun
8eec472dbf0e5e695449b0fa2d98985469fd5b30
[ "Apache-2.0" ]
33
2020-08-30T16:22:35.000Z
2022-02-26T13:48:32.000Z
tuun/probo/models/gp_simple.py
petuum/tuun
8eec472dbf0e5e695449b0fa2d98985469fd5b30
[ "Apache-2.0" ]
2
2021-01-18T19:46:43.000Z
2021-03-24T09:59:14.000Z
tuun/probo/models/gp_simple.py
petuum/tuun
8eec472dbf0e5e695449b0fa2d98985469fd5b30
[ "Apache-2.0" ]
2
2020-08-25T17:02:15.000Z
2021-04-21T16:40:44.000Z
""" Classes for simple GP models without external PPL backend. """ from argparse import Namespace import copy import numpy as np from .gp.gp_utils import kern_exp_quad, sample_mvn, gp_post from ..util.data_transform import DataTransformer from ..util.misc_util import dict_to_namespace
30.831111
83
0.566095
c3e63aa7608692e9e7131de69634555c66e2658b
123
py
Python
mantraml/templates/projects/default/settings.py
cclauss/mantra
19e2f72960da8314f11768d9acfe7836629b817c
[ "Apache-2.0" ]
330
2018-09-04T19:07:51.000Z
2021-09-14T11:21:05.000Z
mantraml/templates/projects/default/settings.py
cclauss/mantra
19e2f72960da8314f11768d9acfe7836629b817c
[ "Apache-2.0" ]
13
2018-09-06T06:08:16.000Z
2018-12-01T17:04:38.000Z
mantraml/templates/projects/default/settings.py
cclauss/mantra
19e2f72960da8314f11768d9acfe7836629b817c
[ "Apache-2.0" ]
20
2018-09-06T11:56:07.000Z
2021-12-03T19:48:21.000Z
# AWS SETTINGS AWS_AMI_IMAGE_ID = 'ami-6356761c' AWS_INSTANCE_TYPE = 'p2.xlarge' S3_BUCKET_NAME = 'default-s3-bucket-name'
30.75
41
0.780488
c3e7b29b7add9b32e1e75aded94807db6fe3e477
2,882
py
Python
alipay.py
nju161250102/NJUSystem_Server
8b72fde8701d55e62ce8ed4bcb299ec8f0ab32fe
[ "MIT" ]
1
2018-07-31T13:31:52.000Z
2018-07-31T13:31:52.000Z
alipay.py
nju161250102/NJUSystem_Server
8b72fde8701d55e62ce8ed4bcb299ec8f0ab32fe
[ "MIT" ]
null
null
null
alipay.py
nju161250102/NJUSystem_Server
8b72fde8701d55e62ce8ed4bcb299ec8f0ab32fe
[ "MIT" ]
null
null
null
# coding=utf-8 import os import sqlite3 import pandas as pd from model import AliPay if __name__ == '__main__': main()
29.408163
87
0.552047
c3ec56e1c8af0f7d9f9d9a7aa6021e37dc6a449a
139
py
Python
robust_loss/robust_loss_pytorch/__init__.py
danieltudosiu/nmpevqvae
c4b96f391ddbe143b2a1e1e445890cee0da271e7
[ "MIT" ]
8
2020-03-20T14:52:29.000Z
2022-03-04T03:26:45.000Z
robust_loss/robust_loss_pytorch/__init__.py
ctr26/nmpevqvae
c4b96f391ddbe143b2a1e1e445890cee0da271e7
[ "MIT" ]
5
2021-04-30T21:13:08.000Z
2022-01-13T02:24:31.000Z
robust_loss/robust_loss_pytorch/__init__.py
ctr26/nmpevqvae
c4b96f391ddbe143b2a1e1e445890cee0da271e7
[ "MIT" ]
5
2020-04-03T09:56:13.000Z
2022-02-25T13:24:03.000Z
from .adaptive import ( AdaptiveLossFunction, StudentsTLossFunction, AdaptiveImageLossFunction, ) from .general import lossfun
19.857143
30
0.776978
c3ec7075da3ac0f6caa68b6294ec49080570e1a4
258
py
Python
learning/challenge/counting.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
2
2019-06-23T07:17:30.000Z
2019-07-06T15:15:42.000Z
learning/challenge/counting.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
null
null
null
learning/challenge/counting.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
1
2019-06-23T07:17:43.000Z
2019-06-23T07:17:43.000Z
if __name__ == '__main__': main(200)
17.2
88
0.53876
c3edee5be71eaec577fa2bdd9fc8bc030cfafc06
5,736
py
Python
Lib/site-packages/wx-2.8-msw-unicode/wx/tools/Editra/src/syntax/_ruby.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
11
2017-09-30T05:47:28.000Z
2019-04-15T11:58:40.000Z
Lib/site-packages/wx-2.8-msw-unicode/wx/tools/Editra/src/syntax/_ruby.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/wx-2.8-msw-unicode/wx/tools/Editra/src/syntax/_ruby.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
7
2018-02-13T10:22:39.000Z
2019-07-04T07:39:28.000Z
############################################################################### # Name: ruby.py # # Purpose: Define Ruby syntax for highlighting and other features # # Author: Cody Precord <cprecord@editra.org> # ...
38.24
80
0.540795
c3ee32e700e90fe20b3a4bc575d2c268c9537e30
1,190
py
Python
gui.py
gabrielmontagne/Blender_Screenwriter
224524a11bee544bd9187521930c9809eb87efad
[ "MIT" ]
null
null
null
gui.py
gabrielmontagne/Blender_Screenwriter
224524a11bee544bd9187521930c9809eb87efad
[ "MIT" ]
null
null
null
gui.py
gabrielmontagne/Blender_Screenwriter
224524a11bee544bd9187521930c9809eb87efad
[ "MIT" ]
null
null
null
import bpy def screenwriter_menu_export(self, context): self.layout.separator() self.layout.operator("export.screenplay", text="Export Screenplay")
31.315789
76
0.691597
c3eef6f9729f8c1bef48244b9732c1b942b74194
4,270
py
Python
dephell_venvs/_venv.py
dephell/dephell_venvs
3d8487eae88cb8d644d0e9a5c36d5392214afdec
[ "MIT" ]
3
2019-04-07T21:46:35.000Z
2020-11-20T21:09:24.000Z
dephell_venvs/_venv.py
dephell/dephell_venvs
3d8487eae88cb8d644d0e9a5c36d5392214afdec
[ "MIT" ]
2
2019-07-18T15:20:50.000Z
2020-11-11T10:42:05.000Z
dephell_venvs/_venv.py
dephell/dephell_venvs
3d8487eae88cb8d644d0e9a5c36d5392214afdec
[ "MIT" ]
1
2021-09-28T02:40:29.000Z
2021-09-28T02:40:29.000Z
# built-in import shutil import sys from itertools import chain from pathlib import Path from typing import Optional, Union # external import attr from dephell_pythons import Python, Finder # app from ._constants import PYTHONS, IS_WINDOWS from ._cached_property import cached_property from ._builder import VEnvBuilde...
27.908497
78
0.566745
c3f241ae53b6959fac76729c56c69cdc3b63c9cf
51
py
Python
_scripts/objecteditor/model/__init__.py
Son-Guhun/Titan-Land-Lands-of-Plenty
edeca1d5437a7397195799ebf4b9585ee4609fed
[ "MIT" ]
12
2019-05-27T16:02:28.000Z
2021-01-08T09:32:08.000Z
_scripts/objecteditor/model/__init__.py
Son-Guhun/Titan-Land-Lands-of-Plenty
edeca1d5437a7397195799ebf4b9585ee4609fed
[ "MIT" ]
209
2019-04-06T15:16:52.000Z
2021-07-03T02:11:53.000Z
_scripts/objecteditor/model/__init__.py
Son-Guhun/Titan-Land-Lands-of-Plenty
edeca1d5437a7397195799ebf4b9585ee4609fed
[ "MIT" ]
1
2021-05-26T12:13:35.000Z
2021-05-26T12:13:35.000Z
from myconfigparser import Decoration, Production
17
49
0.862745
c3f2cf04bce9bef9ea2b365012ef9d47d14ae3f2
447
py
Python
apps/bc_scraper/actions/search.py
aurmeneta/ramos-uc
364ab3c5a55032ab7ffc08665a2da4c5ff04ae58
[ "MIT" ]
7
2021-07-14T18:13:35.000Z
2021-11-21T20:10:54.000Z
apps/bc_scraper/actions/search.py
aurmeneta/ramos-uc
364ab3c5a55032ab7ffc08665a2da4c5ff04ae58
[ "MIT" ]
57
2021-07-10T01:31:56.000Z
2022-01-14T02:02:58.000Z
apps/bc_scraper/actions/search.py
aurmeneta/ramos-uc
364ab3c5a55032ab7ffc08665a2da4c5ff04ae58
[ "MIT" ]
4
2021-07-23T16:51:55.000Z
2021-08-31T02:41:41.000Z
from ..scraper.search import bc_search def search(initials, period): """Search for a initial and period in BuscaCursosUC. Prints the results. Useful for testing only. """ print("Searching in BC:", initials) courses = bc_search(initials, period) for c in courses: print(c["initials"], c[...
31.928571
73
0.642058
c3f31e8c5d6c5dd950e94f91051ce5f31a7f7b3e
3,350
py
Python
test/dlc_tests/ec2/test_smdebug.py
Elizaaaaa/deep-learning-containers
6274ecb264645070d11b27e5c7e60d2e4110537d
[ "Apache-2.0" ]
1
2021-07-14T20:13:12.000Z
2021-07-14T20:13:12.000Z
test/dlc_tests/ec2/test_smdebug.py
Elizaaaaa/deep-learning-containers
6274ecb264645070d11b27e5c7e60d2e4110537d
[ "Apache-2.0" ]
null
null
null
test/dlc_tests/ec2/test_smdebug.py
Elizaaaaa/deep-learning-containers
6274ecb264645070d11b27e5c7e60d2e4110537d
[ "Apache-2.0" ]
null
null
null
import os import pytest from test.test_utils import CONTAINER_TESTS_PREFIX, LOGGER, is_tf2, is_tf1 from test.test_utils.ec2 import get_ec2_instance_type SMDEBUG_SCRIPT = os.path.join(CONTAINER_TESTS_PREFIX, "testSmdebug") SMDEBUG_EC2_GPU_INSTANCE_TYPE = get_ec2_instance_type(default="p3.8xlarge", processor="gpu")...
39.411765
119
0.720299
c3f344b0d44522013033f6e3330ba00bba1d717e
30,559
py
Python
wgpu/rs.py
Korijn/wgpu-py
72f89be121ea6cd819a145ee3b037004211b3245
[ "BSD-2-Clause" ]
null
null
null
wgpu/rs.py
Korijn/wgpu-py
72f89be121ea6cd819a145ee3b037004211b3245
[ "BSD-2-Clause" ]
null
null
null
wgpu/rs.py
Korijn/wgpu-py
72f89be121ea6cd819a145ee3b037004211b3245
[ "BSD-2-Clause" ]
null
null
null
""" WGPU backend implementation based on the wgpu library. The Rust wgpu project (https://github.com/gfx-rs/wgpu) is a Rust library based on gfx-hal, which wraps Metal, Vulkan, DX12 and more in the future. It can compile into a dynamic library exposing a C-API, accomanied by a C header file. We wrap this using cffi, w...
37.914392
198
0.6476
c3f3a3c934b982bed6554dc3bf5e9530583b0559
100
py
Python
dojopuzzles/problems/admin.py
rodbv/dojopuzzles
71d76218a8d5ba6340c384c65d0ab1913f72a5cf
[ "MIT" ]
27
2015-03-26T15:29:16.000Z
2020-01-01T16:13:44.000Z
dojopuzzles/problems/admin.py
rodbv/dojopuzzles
71d76218a8d5ba6340c384c65d0ab1913f72a5cf
[ "MIT" ]
23
2020-08-13T12:33:59.000Z
2021-05-05T18:31:29.000Z
dojopuzzles/problems/admin.py
rodbv/dojopuzzles
71d76218a8d5ba6340c384c65d0ab1913f72a5cf
[ "MIT" ]
13
2020-08-13T12:51:59.000Z
2021-11-09T23:52:54.000Z
from django.contrib import admin from problems.models import Problem admin.site.register(Problem)
16.666667
35
0.83
c3f55e5b9b4b2ea7da77a3255ee2851f0eb3612a
980
py
Python
py/examples/plot_line_annotation.py
swt2c/wave
7fe897a34f4ac25157920132b2e873da755643a8
[ "Apache-2.0" ]
3,013
2020-12-15T15:53:23.000Z
2022-03-31T00:21:06.000Z
py/examples/plot_line_annotation.py
swt2c/wave
7fe897a34f4ac25157920132b2e873da755643a8
[ "Apache-2.0" ]
591
2020-12-15T15:54:42.000Z
2022-03-31T12:51:19.000Z
py/examples/plot_line_annotation.py
swt2c/wave
7fe897a34f4ac25157920132b2e873da755643a8
[ "Apache-2.0" ]
159
2020-12-15T16:34:43.000Z
2022-03-31T07:27:16.000Z
# Plot / Line / Annotation # Add annotations to a line #plot. #annotation # --- from synth import FakeTimeSeries from h2o_wave import site, data, ui page = site['/demo'] n = 50 f = FakeTimeSeries() v = page.add('example', ui.plot_card( box='1 1 4 5', title='Time-Numeric', data=data('date price', n), p...
33.793103
108
0.604082
c3f677ecc5dfde9410fda55667fad516d6d7ddf7
827
py
Python
catweazle/applog.py
upendar245/CatWeazle
58e4e37a71c61b998c6a3adae5e16343db50aff5
[ "MIT" ]
1
2020-12-17T04:23:32.000Z
2020-12-17T04:23:32.000Z
catweazle/applog.py
upendar245/CatWeazle
58e4e37a71c61b998c6a3adae5e16343db50aff5
[ "MIT" ]
null
null
null
catweazle/applog.py
upendar245/CatWeazle
58e4e37a71c61b998c6a3adae5e16343db50aff5
[ "MIT" ]
1
2020-04-24T10:17:03.000Z
2020-04-24T10:17:03.000Z
import logging import aiotask_context as context
29.535714
82
0.610641
c3f6fa374d87044012bcad96f7cc39ff50d9b5cb
696
py
Python
setnw.py
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
setnw.py
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
setnw.py
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys import ConfigParser if len(sys.argv) < 2: print 'Give ESSID' exit(1) config = ConfigParser.RawConfigParser() config.read(r'/etc/wicd/wireless-settings.conf') sectionName = 'essid:' + sys.argv[1] print config.sections() print 'Section name: ' + sectionName if not sectionNa...
21.75
67
0.718391
c3f8493530d35d4422ed29b6391daa2f5bde737f
3,412
py
Python
meissner/naver.py
terrylove19/meissner
14cedb73aa86172aac7af4031aa4670d26acc8ef
[ "MIT" ]
1
2022-01-27T10:16:46.000Z
2022-01-27T10:16:46.000Z
meissner/naver.py
terrylove19/meissner
14cedb73aa86172aac7af4031aa4670d26acc8ef
[ "MIT" ]
null
null
null
meissner/naver.py
terrylove19/meissner
14cedb73aa86172aac7af4031aa4670d26acc8ef
[ "MIT" ]
null
null
null
""" .@@# (@&*%@@@/,%@@@# #&@@@@&. .@@# /&@@@@&* /&@@@@&* (@&*%@@@( *%@@@@&/ .@@&*&@. (@@&((&@@@(/&@@, #@@#/(&@@. .@@# #@@(///(, .@@%////, (@@&(/#@@# #@@&//#@@( .@@@@@%. (@@. /@@* ,@@/ .&@@%%%&@@* .@@# ...
35.915789
111
0.541911
c3fb8295327161f394ebc1278a58504f74938869
1,460
py
Python
benchmark/code/files.py
scailfin/rob-demo-top-tagger
d8a7d9faefd9822cd1e81e8b734158bb96263321
[ "MIT" ]
null
null
null
benchmark/code/files.py
scailfin/rob-demo-top-tagger
d8a7d9faefd9822cd1e81e8b734158bb96263321
[ "MIT" ]
2
2020-02-22T18:37:38.000Z
2020-08-26T02:12:17.000Z
benchmark/code/files.py
scailfin/rob-demo-top-tagger
d8a7d9faefd9822cd1e81e8b734158bb96263321
[ "MIT" ]
1
2021-05-06T15:21:16.000Z
2021-05-06T15:21:16.000Z
# This file is part of the Reproducible Open Benchmarks for Data Analysis # Platform (ROB) - Top Tagger Benchmark Demo. # # Copyright (C) [2019-2020] NYU. # # ROB is free software; you can redistribute it and/or modify it under the # terms of the MIT License; see LICENSE file for more details. """Definition of names f...
37.435897
79
0.649315
c3fc2587fec4910ae12bfcd023ddcfd1f0a5bc93
676
py
Python
utils/validate_password.py
devanshamin/Vault-Plus
67ef8bab0278977bb5d2e9fd4e6328ef120b47c7
[ "MIT" ]
null
null
null
utils/validate_password.py
devanshamin/Vault-Plus
67ef8bab0278977bb5d2e9fd4e6328ef120b47c7
[ "MIT" ]
null
null
null
utils/validate_password.py
devanshamin/Vault-Plus
67ef8bab0278977bb5d2e9fd4e6328ef120b47c7
[ "MIT" ]
null
null
null
import re from typing import Text, Any def pvalidate(pwd: Text) -> Any: """Validate the user's password. Args: pwd: User's password. Returns: None if password is valid else the problem. """ if len(pwd) < 8: prb = "Make sure your password is at least 8 letters" elif ...
30.727273
68
0.600592
c3fc520d24937531ab79fae2872238dcf67090e9
1,668
py
Python
language/python/string_handle.py
morenice/til
9b73f54045dbd65e08df4538300dd12a4a087540
[ "Apache-2.0" ]
null
null
null
language/python/string_handle.py
morenice/til
9b73f54045dbd65e08df4538300dd12a4a087540
[ "Apache-2.0" ]
13
2020-02-11T23:33:22.000Z
2021-06-10T21:17:23.000Z
language/python/string_handle.py
morenice/til
9b73f54045dbd65e08df4538300dd12a4a087540
[ "Apache-2.0" ]
null
null
null
import json if __name__ == '__main__': print('This is ' + 'string' + ' example') basic() dict_to_str() dict_to_str2() split() join() index() formating()
18.130435
61
0.529976
c3fe000b1019a26268d9d118eed183db105873c1
2,030
py
Python
src/art_name_generator.py
Temur0414/machine-psychology-python-art
ec6dfa4270e463d93976d9cd18cd57f1426d00d9
[ "MIT" ]
40
2021-09-10T15:36:41.000Z
2022-03-12T21:02:28.000Z
src/art_name_generator.py
Temur0414/machine-psychology-python-art
ec6dfa4270e463d93976d9cd18cd57f1426d00d9
[ "MIT" ]
1
2022-01-27T14:57:23.000Z
2022-01-27T14:57:23.000Z
src/art_name_generator.py
Temur0414/machine-psychology-python-art
ec6dfa4270e463d93976d9cd18cd57f1426d00d9
[ "MIT" ]
16
2021-10-03T19:23:57.000Z
2022-03-06T21:27:35.000Z
import openai import os
29.42029
78
0.593103
7f002d9960c56d001abb3731ddccba2089c50ab1
160
py
Python
testapp/apps/testmodels/apps.py
jsilva234/django-cropperjs
875d1beee38406526399d9f838e7e2aefc81ad2f
[ "MIT" ]
2
2019-08-01T11:48:17.000Z
2019-10-04T21:30:22.000Z
testapp/apps/testmodels/apps.py
jsilva234/django-cropperjs
875d1beee38406526399d9f838e7e2aefc81ad2f
[ "MIT" ]
null
null
null
testapp/apps/testmodels/apps.py
jsilva234/django-cropperjs
875d1beee38406526399d9f838e7e2aefc81ad2f
[ "MIT" ]
1
2020-07-29T14:35:24.000Z
2020-07-29T14:35:24.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig
17.777778
39
0.74375
7f006596b23afd581cdbe53ae8dc6b039339fb67
2,455
py
Python
qiskit/aqua/circuits/fourier_transform_circuits.py
hushaohan/aqua
8512bc6ce246a8b3cca1e5edb1703b6885aa7c5d
[ "Apache-2.0" ]
1
2020-07-14T15:32:42.000Z
2020-07-14T15:32:42.000Z
qiskit/aqua/circuits/fourier_transform_circuits.py
hushaohan/aqua
8512bc6ce246a8b3cca1e5edb1703b6885aa7c5d
[ "Apache-2.0" ]
null
null
null
qiskit/aqua/circuits/fourier_transform_circuits.py
hushaohan/aqua
8512bc6ce246a8b3cca1e5edb1703b6885aa7c5d
[ "Apache-2.0" ]
1
2022-01-25T07:09:10.000Z
2022-01-25T07:09:10.000Z
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2019, 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
35.57971
97
0.654175
7f00f2f63bc7e222a107cf0dc06e3426985a2b64
486
py
Python
apps/board/migrations/0002_auto_20190112_1938.py
anonim-legivon/picoboard
801064126ccc88c13703b36e0d7c33ddb831c443
[ "MIT" ]
16
2017-11-30T09:52:57.000Z
2022-01-11T17:49:39.000Z
apps/board/migrations/0002_auto_20190112_1938.py
anonim-legivon/picoboard
801064126ccc88c13703b36e0d7c33ddb831c443
[ "MIT" ]
68
2019-01-05T08:09:18.000Z
2021-06-25T15:17:39.000Z
apps/board/migrations/0002_auto_20190112_1938.py
anonim-legivon/picoboard
801064126ccc88c13703b36e0d7c33ddb831c443
[ "MIT" ]
2
2021-10-30T23:27:39.000Z
2022-03-01T12:55:03.000Z
# Generated by Django 2.1.5 on 2019-01-12 09:38 from django.db import migrations, models
25.578947
73
0.592593
7f016cf0b2bfb7aa9dc572a51f61f1df8f05fc95
1,381
py
Python
input_device_handler.py
wdomitrz/input_device_handler
4c99f91a0ac805e559a4de497412717e15bfbe25
[ "MIT" ]
null
null
null
input_device_handler.py
wdomitrz/input_device_handler
4c99f91a0ac805e559a4de497412717e15bfbe25
[ "MIT" ]
null
null
null
input_device_handler.py
wdomitrz/input_device_handler
4c99f91a0ac805e559a4de497412717e15bfbe25
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import json from os import path from evdev import InputDevice, InputEvent, categorize, ecodes from subprocess import Popen CONFIG_FILE = path.expanduser('~/.config/input_device_handler/config.json') if __name__ == '__main__': with open(CONFIG_FILE, 'r') as config_file: config = j...
27.62
75
0.62853
7f02000898a95c1dd1e69a69da9e90223206f7da
3,064
py
Python
modules/plugin_dialog.py
jredrejo/sqlabs
2cf39ff924579e72bc0092f2a6d65214dafd4bfe
[ "MIT" ]
1
2017-12-01T22:46:33.000Z
2017-12-01T22:46:33.000Z
modules/plugin_dialog.py
jredrejo/sqlabs
2cf39ff924579e72bc0092f2a6d65214dafd4bfe
[ "MIT" ]
null
null
null
modules/plugin_dialog.py
jredrejo/sqlabs
2cf39ff924579e72bc0092f2a6d65214dafd4bfe
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # This plugins is licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php # Authors: Kenji Hosoda <hosoda@s-cubism.jp> from gluon import * # For referencing static and views from other application import os APP = os.path.basename(os.path.dirname(os.path.dirname(__file...
42.555556
108
0.555157
7f0d71457ff5029aa819b2d18c137d93a17d27a6
11,698
py
Python
GnuPG-System_Pi-Version/util/_util.py
fabianHAW/GnuPG-Distributer-Mailing-System
7b06ce99481528bdf742c3ee5fe348731daadcc4
[ "MIT" ]
null
null
null
GnuPG-System_Pi-Version/util/_util.py
fabianHAW/GnuPG-Distributer-Mailing-System
7b06ce99481528bdf742c3ee5fe348731daadcc4
[ "MIT" ]
null
null
null
GnuPG-System_Pi-Version/util/_util.py
fabianHAW/GnuPG-Distributer-Mailing-System
7b06ce99481528bdf742c3ee5fe348731daadcc4
[ "MIT" ]
null
null
null
''' Created on 13.06.2016 @author: Fabian Reiber @version: 1.0 This helper-module offers some helpful methods for the GnuPG-System. ''' import base64 from dns.resolver import NXDOMAIN, YXDOMAIN, NoAnswer, NoNameservers, \ NoMetaqueries, Timeout import dns.resolver from email.message import Message from email.mime...
38.354098
150
0.631646
7f0d8bfebfcc1ee1973bd4edbe065b03d9b94a93
19,788
py
Python
ceilometerclient/tests/v2/test_alarms.py
zqfan/python-ceilometerclient
2d4c6446ff6985c3eb9c4742df1c8d0682dee6ea
[ "Apache-2.0" ]
null
null
null
ceilometerclient/tests/v2/test_alarms.py
zqfan/python-ceilometerclient
2d4c6446ff6985c3eb9c4742df1c8d0682dee6ea
[ "Apache-2.0" ]
null
null
null
ceilometerclient/tests/v2/test_alarms.py
zqfan/python-ceilometerclient
2d4c6446ff6985c3eb9c4742df1c8d0682dee6ea
[ "Apache-2.0" ]
null
null
null
# # Copyright 2013 Red Hat, Inc # # Author: Eoghan Glynn <eglynn@redhat.com> # # 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 #...
36.57671
78
0.553214
7f113383c517811a2fada36a91c193fbf6aadc4b
1,642
py
Python
source-code/Shortest Word Distance II 244.py
ttungl/Coding-Interview-Challenge
d80c3e15468d50b42ee53fcc73e9326c6c816495
[ "MIT" ]
null
null
null
source-code/Shortest Word Distance II 244.py
ttungl/Coding-Interview-Challenge
d80c3e15468d50b42ee53fcc73e9326c6c816495
[ "MIT" ]
null
null
null
source-code/Shortest Word Distance II 244.py
ttungl/Coding-Interview-Challenge
d80c3e15468d50b42ee53fcc73e9326c6c816495
[ "MIT" ]
null
null
null
# 244. Shortest Word Distance II # ttungl@gmail.com # This is a follow up of Shortest Word Distance. The only difference is now you are given the list of words and your method will be called repeatedly many times with different parameters. How would you optimize it? # Design a class which receives a list of words in t...
33.510204
214
0.622412
7f127a6ef0e549684fc462a22aab994d7ae0ab9f
10,674
py
Python
tests/acceptance/fetch_test.py
benbariteau/fido
e6839917aaba5097af857b8e9086ca9b7f426621
[ "Apache-2.0" ]
23
2015-02-18T04:00:59.000Z
2021-01-08T04:51:22.000Z
tests/acceptance/fetch_test.py
benbariteau/fido
e6839917aaba5097af857b8e9086ca9b7f426621
[ "Apache-2.0" ]
61
2015-03-05T23:42:02.000Z
2021-03-02T01:53:33.000Z
tests/acceptance/fetch_test.py
benbariteau/fido
e6839917aaba5097af857b8e9086ca9b7f426621
[ "Apache-2.0" ]
21
2015-02-18T04:01:11.000Z
2020-12-21T23:38:16.000Z
# -*- coding: utf-8 -*- import logging import time import zlib from multiprocessing import Process import crochet import pytest from six.moves import BaseHTTPServer from six.moves import socketserver as SocketServer from yelp_bytes import to_bytes import fido from fido.fido import DEFAULT_USER_AGENT from fido.fido i...
30.410256
78
0.661514
7f12be13b6d2453bad70a353595fcd008e638a77
14,028
py
Python
ospy/helpers.py
teodoryantcheff/OSPy
07f44e262383054b276e34d7fc16b3cc10a6d9cf
[ "CC-BY-3.0" ]
1
2018-07-10T18:33:53.000Z
2018-07-10T18:33:53.000Z
ospy/helpers.py
teodoryantcheff/OSPy
07f44e262383054b276e34d7fc16b3cc10a6d9cf
[ "CC-BY-3.0" ]
null
null
null
ospy/helpers.py
teodoryantcheff/OSPy
07f44e262383054b276e34d7fc16b3cc10a6d9cf
[ "CC-BY-3.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Rimco' # System imports import datetime import logging import random import time import errno from threading import Lock BRUTEFORCE_LOCK = Lock() def uptime(): """Returns UpTime for RPi""" try: with open("/proc/uptime") as f: ...
26.82218
122
0.571072
7f1319d6d309450afe662dd106db64ec2c512851
2,279
py
Python
prototypes/harvesters/updated_mml_harvester.py
materials-data-facility/connect
9ec5b61750bf6fa579bf3ec122f31880d3c049b8
[ "Apache-2.0" ]
1
2019-09-13T18:35:56.000Z
2019-09-13T18:35:56.000Z
prototypes/harvesters/updated_mml_harvester.py
materials-data-facility/connect_server
9ec5b61750bf6fa579bf3ec122f31880d3c049b8
[ "Apache-2.0" ]
15
2018-11-01T18:08:11.000Z
2021-12-06T17:55:03.000Z
prototypes/harvesters/updated_mml_harvester.py
materials-data-facility/connect
9ec5b61750bf6fa579bf3ec122f31880d3c049b8
[ "Apache-2.0" ]
1
2020-11-30T17:02:41.000Z
2020-11-30T17:02:41.000Z
import json import os import shutil import requests def harvest(out_dir, index=None, existing_dir=0, verbose=False): """Collects available data from NIST's MML and saves to the given directory Arguments: out_dir (str): The path to the directory (which will be created) for the data files. ind...
36.174603
96
0.600263
7f137405acd5b0f9b1c036fe82b2e527a93cd13e
182
py
Python
PythonProject/model/search/ModelSearchResult.py
vlth/ExcelFileSearcher-python
2e5b2c93bdb3bc4140d3b4b9f486133e123a5c36
[ "MIT" ]
null
null
null
PythonProject/model/search/ModelSearchResult.py
vlth/ExcelFileSearcher-python
2e5b2c93bdb3bc4140d3b4b9f486133e123a5c36
[ "MIT" ]
null
null
null
PythonProject/model/search/ModelSearchResult.py
vlth/ExcelFileSearcher-python
2e5b2c93bdb3bc4140d3b4b9f486133e123a5c36
[ "MIT" ]
null
null
null
import sys from model.data_entities.ModelDatatableRow import ModelDatatableRow
22.75
67
0.774725
7f14d80c30ce922024138d28c7ffb4f35b817d6e
724
py
Python
restaurant/migrations/0006_auto_20160707_2014.py
aggolb/dinnerpad
57558908e10f218bae32d1f99d72b6aeca9c5836
[ "MIT" ]
null
null
null
restaurant/migrations/0006_auto_20160707_2014.py
aggolb/dinnerpad
57558908e10f218bae32d1f99d72b6aeca9c5836
[ "MIT" ]
null
null
null
restaurant/migrations/0006_auto_20160707_2014.py
aggolb/dinnerpad
57558908e10f218bae32d1f99d72b6aeca9c5836
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations
28.96
167
0.598066
7f15c1992685c6fd92039732b2bac2299b5fda58
257
py
Python
jp.atcoder/abc003/abc003_3/8763316.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc003/abc003_3/8763316.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc003/abc003_3/8763316.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
import sys n, k, *r = map(int, sys.stdin.read().split()) r.sort() cand = r[-k:] if __name__ == "__main__": main()
13.526316
46
0.451362