hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
5cf5b166e55136fdba6216c5aed7558d7f4e78f8
2,237
py
Python
src/GridCal/update.py
mzy2240/GridCal
0352f0e9ce09a9c037722bf2f2afc0a31ccd2880
[ "BSD-3-Clause" ]
284
2016-01-31T03:20:44.000Z
2022-03-17T21:16:52.000Z
src/GridCal/update.py
mzy2240/GridCal
0352f0e9ce09a9c037722bf2f2afc0a31ccd2880
[ "BSD-3-Clause" ]
94
2016-01-14T13:37:40.000Z
2022-03-28T03:13:56.000Z
src/GridCal/update.py
mzy2240/GridCal
0352f0e9ce09a9c037722bf2f2afc0a31ccd2880
[ "BSD-3-Clause" ]
84
2016-03-29T10:43:04.000Z
2022-02-22T16:26:55.000Z
import subprocess import sys import pkg_resources from GridCal.__version__ import __GridCal_VERSION__ def find_latest_version(name='GridCal'): """ Find the latest version of a package :param name: name of the Package :return: version string """ latest_version = str(subprocess.run([sys.executab...
27.617284
108
0.634332
278
2,237
4.841727
0.302158
0.231798
0.089153
0.096582
0.300892
0.164933
0.164933
0.046062
0.046062
0.046062
0
0.011508
0.261958
2,237
80
109
27.9625
0.803755
0.204291
0
0.2
0
0
0.079103
0
0
0
0
0
0
1
0.075
false
0
0.1
0
0.375
0.025
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5cf72f92776e97a9cc47758c3de0beee44e1e65d
5,502
py
Python
ocean_lib/assets/test/test_utils.py
abhik-99/ocean.py
dce5ad09e3c652083afc27b87a825bbb07ae0550
[ "Apache-2.0" ]
null
null
null
ocean_lib/assets/test/test_utils.py
abhik-99/ocean.py
dce5ad09e3c652083afc27b87a825bbb07ae0550
[ "Apache-2.0" ]
null
null
null
ocean_lib/assets/test/test_utils.py
abhik-99/ocean.py
dce5ad09e3c652083afc27b87a825bbb07ae0550
[ "Apache-2.0" ]
null
null
null
# # Copyright 2021 Ocean Protocol Foundation # SPDX-License-Identifier: Apache-2.0 # import pytest from ocean_lib.assets.utils import ( add_publisher_trusted_algorithm, create_publisher_trusted_algorithms, generate_trusted_algo_dict, remove_publisher_trusted_algorithm, ) from tests.resources.ddo_helper...
41.059701
100
0.765176
702
5,502
5.626781
0.15812
0.109367
0.177722
0.088101
0.656456
0.64
0.62962
0.609367
0.609367
0.609367
0
0.003317
0.178117
5,502
133
101
41.368421
0.87019
0.101781
0
0.40404
0
0
0.117504
0
0
0
0
0
0.212121
1
0.030303
false
0
0.040404
0
0.070707
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5cf773d01f349383923d7342fc2b545139d0fe0d
1,081
py
Python
content/lessons/10/Now-You-Code/NYC4-Syracuse-Weather.py
yajiao-su/istpytonproject
d1434f31a639cbf9ad0df44c8c35b71f654bce9f
[ "MIT" ]
null
null
null
content/lessons/10/Now-You-Code/NYC4-Syracuse-Weather.py
yajiao-su/istpytonproject
d1434f31a639cbf9ad0df44c8c35b71f654bce9f
[ "MIT" ]
null
null
null
content/lessons/10/Now-You-Code/NYC4-Syracuse-Weather.py
yajiao-su/istpytonproject
d1434f31a639cbf9ad0df44c8c35b71f654bce9f
[ "MIT" ]
null
null
null
''' Now You Code 4: Syracuse Weather Write a program to load the Syracuse weather data from Dec 2015 in JSON format into a Python list of dictionary. The file is: "NYC4-syr-weather-dec-2015.json" After you load this data calculate the number of days where the 'Mean TemperatureF' is above freezing ( > 32 degrees) St...
23.5
123
0.720629
176
1,081
4.426136
0.488636
0.066752
0.035944
0.043646
0.064185
0.064185
0
0
0
0
0
0.031854
0.186864
1,081
45
124
24.022222
0.85438
0.597595
0
0
0
0.066667
0.353919
0.071259
0
0
0
0.022222
0
1
0.066667
false
0
0.066667
0
0.2
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
cf0285bdad6d4e7309f80b711d0a3f27cc9fee0b
318
py
Python
02.Modern Python 3 Bootcamp - CS/23.HTTP_Requests/joke_request.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
3
2020-06-01T04:17:18.000Z
2020-12-18T03:05:55.000Z
02.Modern Python 3 Bootcamp - CS/23.HTTP_Requests/joke_request.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
1
2020-04-25T08:01:59.000Z
2020-04-25T08:01:59.000Z
02.Modern Python 3 Bootcamp - CS/23.HTTP_Requests/joke_request.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
7
2020-04-26T10:02:36.000Z
2021-06-08T05:12:46.000Z
#Library Used: requests #https://requests.readthedocs.io/en/master/ import requests url = 'https://icanhazdadjoke.com' # plain text # response = requests.get(url, headers={'Accept':'text/plain'}) # JSON response = requests.get(url, headers={'Accept':'application/json'}) data = response.json() print(data['joke'])
21.2
67
0.716981
40
318
5.7
0.575
0.140351
0.166667
0.192982
0.307018
0.307018
0
0
0
0
0
0
0.097484
318
14
68
22.714286
0.794425
0.446541
0
0
0
0
0.304094
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf06c8bd29199eaf81f1a971c9ed020ebc44fb0b
1,715
py
Python
credit-risk/webapp/loansdb.py
Pro9999/python-data-science
5cd1e82839b90260c5f9f86683f36ae2abb73005
[ "MIT" ]
1
2020-05-25T17:27:18.000Z
2020-05-25T17:27:18.000Z
credit-risk/webapp/loansdb.py
VirtualGoat/full-stack-data-science
5cd1e82839b90260c5f9f86683f36ae2abb73005
[ "MIT" ]
null
null
null
credit-risk/webapp/loansdb.py
VirtualGoat/full-stack-data-science
5cd1e82839b90260c5f9f86683f36ae2abb73005
[ "MIT" ]
2
2017-12-05T18:37:45.000Z
2020-05-25T17:27:19.000Z
"""The loans database. This module manages saving the loans into files and reading them back. """ import datetime import pathlib import json from firefly.client import Client def get_loans(): """Returns all the existing loans. """ path = pathlib.Path("loans") path.mkdir(exist_ok=True) loans = [] ...
28.114754
83
0.654227
222
1,715
4.977477
0.40991
0.049774
0.038009
0.028959
0.097738
0.097738
0.097738
0.097738
0.097738
0
0
0.002285
0.234402
1,715
60
84
28.583333
0.839299
0.221574
0
0
0
0
0.041921
0
0
0
0
0.033333
0
1
0.125
false
0
0.1
0
0.3
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
cf076eb6603ba589e88e07ef62188d5885e8aae0
1,056
py
Python
participant_profile/migrations/0011_auto_20210823_0336.py
zidandff/primaseru
a14fa7326098af220e0671c3bf3870b4016ab4bf
[ "MIT" ]
null
null
null
participant_profile/migrations/0011_auto_20210823_0336.py
zidandff/primaseru
a14fa7326098af220e0671c3bf3870b4016ab4bf
[ "MIT" ]
null
null
null
participant_profile/migrations/0011_auto_20210823_0336.py
zidandff/primaseru
a14fa7326098af220e0671c3bf3870b4016ab4bf
[ "MIT" ]
2
2021-08-10T09:09:58.000Z
2021-08-10T10:54:51.000Z
# Generated by Django 3.2.5 on 2021-08-23 03:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('participant_profile', '0010_majorstudent_charity'), ] operations = [ migrations.AlterField( model_name='majorstudent', ...
44
418
0.627841
126
1,056
5.18254
0.626984
0.027565
0.07657
0.088821
0
0
0
0
0
0
0
0.094272
0.206439
1,056
23
419
45.913043
0.684964
0.042614
0
0.235294
1
0
0.407334
0.047572
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf0b3aefa72e014523b10eed05d77e02810af74b
1,992
py
Python
caluma/data_source/tests/data_sources.py
Yelinz/caluma
b5d4f1ed3fa3e144d8516e7823dd57c3b68617be
[ "MIT" ]
null
null
null
caluma/data_source/tests/data_sources.py
Yelinz/caluma
b5d4f1ed3fa3e144d8516e7823dd57c3b68617be
[ "MIT" ]
null
null
null
caluma/data_source/tests/data_sources.py
Yelinz/caluma
b5d4f1ed3fa3e144d8516e7823dd57c3b68617be
[ "MIT" ]
null
null
null
from uuid import uuid4 from caluma.data_source.data_sources import BaseDataSource from caluma.data_source.utils import data_source_cache class MyDataSource(BaseDataSource): info = {"en": "Nice test data source", "de": "Schöne Datenquelle"} default = [1, 2, 3] validate = True @data_source_cache(timeo...
25.87013
77
0.650602
234
1,992
5.358974
0.260684
0.127592
0.107656
0.140351
0.565391
0.565391
0.542265
0.542265
0.389155
0.389155
0
0.024536
0.242972
1,992
76
78
26.210526
0.807029
0
0
0.436364
0
0
0.13755
0
0
0
0
0
0
1
0.145455
false
0
0.054545
0.109091
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
cf0fea5741223d18d701fd8547a48d95fed3d666
11,897
py
Python
NLPRuleEditor/401_OLD/backend/test_parsing.py
csydora/BIMkit
4badb39730db530f9b672d747cdf4157eab57945
[ "Apache-2.0" ]
2
2021-07-30T05:23:46.000Z
2021-11-08T12:59:51.000Z
NLPRuleEditor/401_OLD/backend/test_parsing.py
csydora/BIMkit
4badb39730db530f9b672d747cdf4157eab57945
[ "Apache-2.0" ]
null
null
null
NLPRuleEditor/401_OLD/backend/test_parsing.py
csydora/BIMkit
4badb39730db530f9b672d747cdf4157eab57945
[ "Apache-2.0" ]
2
2021-07-30T05:23:58.000Z
2022-02-28T05:38:32.000Z
import unittest import parsing import ruleLanguage parser = parsing.Parser() class TestParsingMethods(unittest.TestCase): def testParseComponentsDetectsObjectTypesSimple(self): components = parser.parseComponents("There is a corner and a room in this sentence.") self.assertEqual(component...
57.197115
205
0.712533
1,325
11,897
6.391698
0.125283
0.147007
0.092455
0.053135
0.653796
0.600779
0.526627
0.492502
0.487425
0.444917
0
0.01748
0.192149
11,897
208
206
57.197115
0.863698
0.040514
0
0.335443
0
0.082278
0.222807
0
0
0
0
0
0.525316
1
0.139241
false
0
0.018987
0
0.170886
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
cf148ab927dce71b87228641f4e956be63902936
4,037
py
Python
main.py
davidcdupuis/MinesweeperGame
96b5eac4a0d95652a67446b26756ddc4a6581591
[ "MIT" ]
null
null
null
main.py
davidcdupuis/MinesweeperGame
96b5eac4a0d95652a67446b26756ddc4a6581591
[ "MIT" ]
null
null
null
main.py
davidcdupuis/MinesweeperGame
96b5eac4a0d95652a67446b26756ddc4a6581591
[ "MIT" ]
null
null
null
# http://programarcadegames.com/index.php?chapter=introduction_to_graphics&lang=en # Python minesweeper game import pygame import numpy as np import random from settings import * from classes import Tile from classes import Board # initialize the game engine pygame.init() size = (SCREEN_WIDTH, SCREEN_HEIGHT) screen ...
28.230769
93
0.550656
485
4,037
4.513402
0.383505
0.037003
0.038374
0.041115
0.191412
0.13979
0.075834
0.075834
0.032892
0.032892
0
0.0142
0.337132
4,037
142
94
28.429577
0.803812
0.209562
0
0.348837
0
0
0.012658
0
0
0
0
0
0
1
0.104651
false
0.116279
0.069767
0
0.186047
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
cf16fc3c91d026979c6f940ea365c129cbd93c03
2,827
py
Python
sciencebeam_parser/processors/fulltext/config.py
elifesciences/sciencebeam-parser
66964f283612b8d6fa8a23ad8790292c1ec07651
[ "MIT" ]
13
2021-08-04T12:11:17.000Z
2022-03-28T20:41:20.000Z
sciencebeam_parser/processors/fulltext/config.py
elifesciences/sciencebeam-parser
66964f283612b8d6fa8a23ad8790292c1ec07651
[ "MIT" ]
33
2021-08-05T08:37:59.000Z
2022-03-29T18:42:09.000Z
sciencebeam_parser/processors/fulltext/config.py
elifesciences/sciencebeam-parser
66964f283612b8d6fa8a23ad8790292c1ec07651
[ "MIT" ]
1
2022-01-05T14:53:06.000Z
2022-01-05T14:53:06.000Z
from typing import NamedTuple, Set from sciencebeam_parser.config.config import AppConfig from sciencebeam_parser.processors.document_page_image import ( DEFAULT_PDF_RENDER_DPI ) class RequestFieldNames: """ "Abstract" field names that should be independent from the model architecture. """ TITLE...
34.47561
99
0.721613
297
2,827
6.515152
0.272727
0.062016
0.085271
0.035659
0.08062
0
0
0
0
0
0
0
0.21613
2,827
81
100
34.901235
0.873195
0.037142
0
0.029851
0
0
0.047672
0.025499
0
0
0
0
0
1
0.044776
false
0
0.044776
0.029851
0.552239
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cf17c2be331c2c80baeb359eed976827ace5123c
753
py
Python
Dayyip/commands/fun.py
TheDeadStalker/DiscordBot-Dayyip
6616cc003708a141885e4749f728abd96ba92d8a
[ "MIT" ]
null
null
null
Dayyip/commands/fun.py
TheDeadStalker/DiscordBot-Dayyip
6616cc003708a141885e4749f728abd96ba92d8a
[ "MIT" ]
null
null
null
Dayyip/commands/fun.py
TheDeadStalker/DiscordBot-Dayyip
6616cc003708a141885e4749f728abd96ba92d8a
[ "MIT" ]
null
null
null
import discord from discord.ext import commands class funkomut(commands.Cog): def __init__(self,bot): self.bot = bot @commands.command() async def dayyip(self, mesaj): await mesaj.send("Evren Başkanı.") @commands.command() async def tr(self, mesaj): await me...
26.892857
160
0.658699
92
753
5.336957
0.51087
0.1222
0.162933
0.187373
0.207739
0.114053
0
0
0
0
0
0.006981
0.239044
753
28
161
26.892857
0.849913
0
0
0.210526
0
0
0.265475
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf2328ee92493969bf91ab0a7c37250f1284ace6
1,369
py
Python
02.Modern Python 3 Bootcamp - CS/12.Lists/list_methods.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
3
2020-06-01T04:17:18.000Z
2020-12-18T03:05:55.000Z
02.Modern Python 3 Bootcamp - CS/12.Lists/list_methods.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
1
2020-04-25T08:01:59.000Z
2020-04-25T08:01:59.000Z
02.Modern Python 3 Bootcamp - CS/12.Lists/list_methods.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
7
2020-04-26T10:02:36.000Z
2021-06-08T05:12:46.000Z
""" append and extend""" first_line = [1,2,3,4,5] first_line.append(6) print(first_line) # first_line.append(7,8,9) #doesn't work first_line.append([7,8,9]) print(first_line) correct_list = [1,2,3,4,5] correct_list.extend([6,7,8,9,10]) print(correct_list) """ insert """ print() correct_list.insert(0, 100) print(...
13.163462
41
0.61943
222
1,369
3.693694
0.243243
0.187805
0.17561
0.014634
0.369512
0.271951
0.102439
0
0
0
0
0.048617
0.128561
1,369
104
42
13.163462
0.638726
0.040906
0
0.454545
0
0
0.034783
0
0
0
0
0
0
1
0
false
0
0
0
0
0.636364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
cf2a73d8e9e310c13672c81918244da72cf7b84d
713
py
Python
api/migrations/0001_initial.py
kzambrow/cs347
bcb711545a9f3dfcb298b8a20cf5106d13701cc1
[ "MIT" ]
null
null
null
api/migrations/0001_initial.py
kzambrow/cs347
bcb711545a9f3dfcb298b8a20cf5106d13701cc1
[ "MIT" ]
null
null
null
api/migrations/0001_initial.py
kzambrow/cs347
bcb711545a9f3dfcb298b8a20cf5106d13701cc1
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-04-01 01:37 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='DataFile', fields=[ ('id', models.AutoField...
28.52
114
0.579243
73
713
5.561644
0.684932
0.049261
0.1133
0.137931
0.197044
0.197044
0.197044
0
0
0
0
0.02947
0.286115
713
24
115
29.708333
0.768173
0.063114
0
0
1
0
0.096096
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf2c0f8ccef0001aad46b1ebfa562d89e3fc21c7
6,974
py
Python
rotary_encoder_nireaV2.py
hodeiez/rpi-midi-rotary-encoder
af2c2033566d5c05e65530a6f376f28d9f139cfa
[ "MIT" ]
null
null
null
rotary_encoder_nireaV2.py
hodeiez/rpi-midi-rotary-encoder
af2c2033566d5c05e65530a6f376f28d9f139cfa
[ "MIT" ]
null
null
null
rotary_encoder_nireaV2.py
hodeiez/rpi-midi-rotary-encoder
af2c2033566d5c05e65530a6f376f28d9f139cfa
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # by William Hofferbert # watches raspberry pi GPIO pins and translates that # behavior into midi data. Midi data is accessible to # other clients through a virtual midi device that is # created with amidithru, via os.system import RPi.GPIO as GPIO import time import mido import os import re # # sc...
30.321739
130
0.741038
1,082
6,974
4.574861
0.287431
0.021818
0.024242
0.029091
0.315354
0.208283
0.208283
0.192121
0.183838
0.06101
0
0.044516
0.159306
6,974
229
131
30.454148
0.799761
0.249928
0
0.147651
0
0
0.01394
0
0
0
0
0.004367
0
0
null
null
0
0.033557
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cf2e752e8b7108a9014e9f6f5235ddfb92331b25
1,728
py
Python
Gathered CTF writeups/2018-06-23-google-ctf/proprietary_format/run2.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
1
2022-03-27T06:00:41.000Z
2022-03-27T06:00:41.000Z
Gathered CTF writeups/2018-06-23-google-ctf/proprietary_format/run2.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
null
null
null
Gathered CTF writeups/2018-06-23-google-ctf/proprietary_format/run2.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
1
2022-03-27T06:01:42.000Z
2022-03-27T06:01:42.000Z
from pwn import * import hexdump import string import os import json #data = string.letters[:51] * 100000 data = os.urandom(100000) data = "a" * 15 + data[15:] data = data[:25 * 3] def take(s, n): return s[:n], s[n:] def takedd(s): x, s = take(s, 4) return struct.unpack("<I", x)[0], s def recurse(s): ...
21.333333
50
0.46875
302
1,728
2.682119
0.271523
0.037037
0.059259
0.017284
0.17037
0.140741
0.11358
0.064198
0.064198
0.064198
0
0.050587
0.359375
1,728
80
51
21.6
0.68112
0.020255
0
0.188406
0
0
0.013593
0
0
0
0.001773
0
0
0
null
null
0
0.086957
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cf385cc2edea5a019d4aa362d175709cdb73c363
3,508
py
Python
readreplay.py
delta1/ATZ-ReplayFlair
63a0f7b6aecc83e9374be47b907edd369f6e8186
[ "MIT" ]
null
null
null
readreplay.py
delta1/ATZ-ReplayFlair
63a0f7b6aecc83e9374be47b907edd369f6e8186
[ "MIT" ]
null
null
null
readreplay.py
delta1/ATZ-ReplayFlair
63a0f7b6aecc83e9374be47b907edd369f6e8186
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import sys import argparse import pprint import mpyq from s2protocol import protocol15405 import httplib from bs4 import BeautifulSoup import re import json import praw import urllib from datetime import datetime import settings as settings import funcs def handleMessage(message): pri...
32.481481
164
0.732041
433
3,508
5.859122
0.3903
0.046906
0.06622
0.029957
0.060307
0.052424
0.052424
0.022862
0
0
0
0.018685
0.145667
3,508
107
165
32.785047
0.827828
0.039339
0
0.082192
0
0.027397
0.249554
0.023767
0
0
0
0
0
0
null
null
0
0.205479
null
null
0.054795
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cf4b40a22eb65406e99ad40fcf41821ae5a5f79f
422
py
Python
Menel/commands/ping.py
05xapresses/Menel
7b79cdb51e613d8b4b1bdaa972338381c2936fa7
[ "MIT" ]
null
null
null
Menel/commands/ping.py
05xapresses/Menel
7b79cdb51e613d8b4b1bdaa972338381c2936fa7
[ "MIT" ]
null
null
null
Menel/commands/ping.py
05xapresses/Menel
7b79cdb51e613d8b4b1bdaa972338381c2936fa7
[ "MIT" ]
null
null
null
import discord from ..objects.message import Message def setup(cliffs): @cliffs.command('ping', name='ping', cooldown=2) async def command(m: Message): message = await m.send('Pong!') delay = round((message.created_at.timestamp() - m.created_at.timestamp()) * 1000) try: ...
26.375
89
0.625592
51
422
5.137255
0.627451
0.068702
0.137405
0
0
0
0
0
0
0
0
0.015625
0.241706
422
16
90
26.375
0.803125
0
0
0
0
0
0.068558
0
0
0
0
0
0
1
0.090909
false
0.090909
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
cf4eeedbec467c6f5f08433b0ff32e90d636518a
623
py
Python
pesto-cli/pesto/ws/features/serializer/string_serializer.py
CS-SI/pesto
654a961d1064049578050d4c96e6f68f6a6dd770
[ "Apache-2.0" ]
25
2020-05-19T16:22:52.000Z
2022-01-06T13:31:19.000Z
pesto-cli/pesto/ws/features/serializer/string_serializer.py
CS-SI/pesto
654a961d1064049578050d4c96e6f68f6a6dd770
[ "Apache-2.0" ]
5
2020-10-12T09:30:20.000Z
2021-12-13T12:49:06.000Z
pesto-cli/pesto/ws/features/serializer/string_serializer.py
CS-SI/pesto
654a961d1064049578050d4c96e6f68f6a6dd770
[ "Apache-2.0" ]
5
2020-06-19T16:05:13.000Z
2021-03-11T11:51:19.000Z
import logging import os from typing import Tuple, Any from pesto.common.utils import mkdir from pesto.ws.core.match_apply import MatchApply, Json log = logging.getLogger(__name__) class StringSerializer(MatchApply): def __init__(self, job_path: str): self.job_path = job_path def match(self, schema...
25.958333
63
0.667737
83
623
4.855422
0.542169
0.069479
0.081886
0
0
0
0
0
0
0
0
0
0.221509
623
23
64
27.086957
0.830928
0
0
0
0
0
0.028892
0
0
0
0
0
0
1
0.176471
false
0
0.294118
0.058824
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cf58ce5f9bb64ea6f50e756dab4561756e3d02f2
561
py
Python
fdap/freeling/langdetect.py
orlandc/fdap
60d7d2d0c19d92d5df5a2a8993a12099aab54246
[ "MIT" ]
null
null
null
fdap/freeling/langdetect.py
orlandc/fdap
60d7d2d0c19d92d5df5a2a8993a12099aab54246
[ "MIT" ]
null
null
null
fdap/freeling/langdetect.py
orlandc/fdap
60d7d2d0c19d92d5df5a2a8993a12099aab54246
[ "MIT" ]
1
2020-01-15T20:45:44.000Z
2020-01-15T20:45:44.000Z
#! /usr/bin/python3 import pyfreeling import sys, os # Location of FreeLing configuration files. DATA = "/usr/local/share/freeling/"; # Init locales pyfreeling.util_init_locale("default"); # create language detector. Used just to show it. Results are printed # but ignored (after, it is assumed language is LANG) la...
22.44
70
0.7041
77
561
5.012987
0.649351
0.069948
0
0
0
0
0
0
0
0
0
0.002208
0.192513
561
24
71
23.375
0.84989
0.360071
0
0
0
0
0.169972
0.150142
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cf5a987717297fa127a5f98784d246f0d62ec37e
385
py
Python
bearx/backend.py
Bartekkz/DeepX
4ba2dfc7f2be3919fb9a64021bca154422e539ee
[ "MIT" ]
1
2020-04-03T16:58:57.000Z
2020-04-03T16:58:57.000Z
bearx/backend.py
Bartekkz/DeepX
4ba2dfc7f2be3919fb9a64021bca154422e539ee
[ "MIT" ]
null
null
null
bearx/backend.py
Bartekkz/DeepX
4ba2dfc7f2be3919fb9a64021bca154422e539ee
[ "MIT" ]
1
2020-04-01T11:42:00.000Z
2020-04-01T11:42:00.000Z
import numpy as np def gather(reference, indices): return reference[indices] class Softmax: def __call__(self, x): exp_scores = np.exp(x) return exp_scores / np.sum(exp_scores) def loss(self, x, y): probs = self(x) return -np.log(probs[y]) def diff(self, x, y): ...
18.333333
46
0.568831
56
385
3.785714
0.428571
0.117925
0.103774
0.103774
0.150943
0.150943
0
0
0
0
0
0.007547
0.311688
385
20
47
19.25
0.792453
0
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.071429
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
cf5c1325b73bc7331e443b60a6a2c3fb800c242c
500
py
Python
keyauth/__init__.py
MohanadHosny/keyauth-python-wrapper
a6fba8f17860f6b100ae860b96f582db8faec332
[ "MIT" ]
5
2021-06-26T18:00:55.000Z
2022-03-04T08:09:02.000Z
keyauth/__init__.py
weebzo/keyauth-python-wrapper
a6fba8f17860f6b100ae860b96f582db8faec332
[ "MIT" ]
null
null
null
keyauth/__init__.py
weebzo/keyauth-python-wrapper
a6fba8f17860f6b100ae860b96f582db8faec332
[ "MIT" ]
1
2021-11-20T01:48:09.000Z
2021-11-20T01:48:09.000Z
from .client import KeyAuth from .utils import get_hwid from .errors import InvalidApplicationInformation, ApplicationDoesntExist, KeyAuthException from .types import Subscription, RegisterResult, KeyAuthResult, InitializeResult __all__ = ( # Client + Utils "KeyAuth", "get_hwid", # Errors "Invalid...
25
91
0.73
37
500
9.702703
0.459459
0.038997
0.373259
0
0
0
0
0
0
0
0
0
0.184
500
20
92
25
0.879902
0.054
0
0
0
0
0.291489
0.108511
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf5e4a416311b2a31014474942899c272229e48e
982
py
Python
helpdesk/templatetags/form_list.py
ebeers-png/django-helpdesk
4e820b23662b973727a3f521b3196a2191905953
[ "BSD-3-Clause", "CC-BY-4.0", "MIT" ]
null
null
null
helpdesk/templatetags/form_list.py
ebeers-png/django-helpdesk
4e820b23662b973727a3f521b3196a2191905953
[ "BSD-3-Clause", "CC-BY-4.0", "MIT" ]
null
null
null
helpdesk/templatetags/form_list.py
ebeers-png/django-helpdesk
4e820b23662b973727a3f521b3196a2191905953
[ "BSD-3-Clause", "CC-BY-4.0", "MIT" ]
1
2021-11-05T01:03:04.000Z
2021-11-05T01:03:04.000Z
""" django-helpdesk - A Django powered ticket tracker for small enterprise. templatetags/form_list.py - This template tag returns all forms. """ from django import template from django.db.models import Q from helpdesk.models import FormType from helpdesk.decorators import is_helpdesk_staff register = templa...
35.071429
127
0.672098
128
982
5.046875
0.492188
0.086687
0.092879
0.071207
0.241486
0.241486
0.130031
0.130031
0.130031
0.130031
0
0
0.238289
982
27
128
36.37037
0.863636
0.209776
0
0
0
0
0.113514
0
0
0
0
0.037037
0
1
0.05
false
0
0.25
0
0.4
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
cf67107f6d1011f54fed1cca37eca09717e9aa27
283
py
Python
backend/account/migrations/0003_auto_20200404_1722.py
ecto0310/groupware
e1c9f76b19e6d1f6782f8e2b287ff75d1351fa83
[ "MIT" ]
3
2020-03-23T19:18:00.000Z
2021-04-12T04:01:17.000Z
backend/account/migrations/0003_auto_20200404_1722.py
ecto0310/groupware
e1c9f76b19e6d1f6782f8e2b287ff75d1351fa83
[ "MIT" ]
95
2020-03-07T12:29:38.000Z
2022-02-17T22:44:07.000Z
backend/account/migrations/0003_auto_20200404_1722.py
ecto0310/groupware
e1c9f76b19e6d1f6782f8e2b287ff75d1351fa83
[ "MIT" ]
2
2021-12-27T16:50:36.000Z
2021-12-27T16:53:12.000Z
# Generated by Django 3.0.3 on 2020-04-04 08:22 from django.core.management import call_command from django.db import migrations # # 無効化済み # class Migration(migrations.Migration): dependencies = [ ('account', '0001_initial'), ] operations = [ ]
14.894737
47
0.646643
34
283
5.323529
0.764706
0.110497
0
0
0
0
0
0
0
0
0
0.089202
0.24735
283
18
48
15.722222
0.760563
0.180212
0
0
1
0
0.0837
0
0
0
0
0
0
1
0
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf6747062921868340624135155f4e4145c219a4
2,760
py
Python
src/speedtest_http/__init__.py
shuntingyard/speedtest_dasher
59b558a859f91ff3f7f86018e8dc5bef4f2e5e1f
[ "MIT" ]
3
2020-01-04T00:51:47.000Z
2021-05-29T22:38:35.000Z
src/speedtest_http/__init__.py
shuntingyard/speedtest_dasher
59b558a859f91ff3f7f86018e8dc5bef4f2e5e1f
[ "MIT" ]
1
2020-03-27T12:52:03.000Z
2020-03-27T12:52:03.000Z
src/speedtest_http/__init__.py
shuntingyard/speedtest_dasher
59b558a859f91ff3f7f86018e8dc5bef4f2e5e1f
[ "MIT" ]
1
2020-04-21T10:04:54.000Z
2020-04-21T10:04:54.000Z
# -*- coding: utf-8 -*- """ The module to be launched as Flask app - spins up the things necessary to serve plots over http. """ import logging import os import sys import speedtest_reader from flask import Flask from flask.logging import default_handler from logging.handlers import TimedRotatingFileHandler from pkg...
29.361702
77
0.692391
351
2,760
5.264957
0.410256
0.032468
0.032468
0.02381
0.055195
0.055195
0.055195
0.055195
0
0
0
0.00181
0.199275
2,760
93
78
29.677419
0.834389
0.181884
0
0.032258
0
0
0.185351
0.013399
0
0
0
0.010753
0
1
0
false
0
0.177419
0
0.177419
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
cf71db48de6fcc1d0edac689dfc794531ad3912d
2,322
py
Python
multiae/utils/datasets.py
alawryaguila/multiAE
77a7ec2ad1a0226ba8a7045eb01a5a308f274f16
[ "MIT" ]
null
null
null
multiae/utils/datasets.py
alawryaguila/multiAE
77a7ec2ad1a0226ba8a7045eb01a5a308f274f16
[ "MIT" ]
null
null
null
multiae/utils/datasets.py
alawryaguila/multiAE
77a7ec2ad1a0226ba8a7045eb01a5a308f274f16
[ "MIT" ]
null
null
null
''' Class for loading data into Pytorch float tensor From: https://gitlab.com/acasamitjana/latentmodels_ad ''' import torch from torch.functional import Tensor from torchvision import transforms from torch.utils.data import Dataset import numpy as np import pandas as pd class MyDataset(Dataset): def __init__(sel...
30.155844
107
0.588717
307
2,322
4.351792
0.179153
0.155689
0.053892
0.050898
0.736527
0.673653
0.642216
0.586826
0.586826
0.586826
0
0.002462
0.300172
2,322
76
108
30.552632
0.819692
0.044358
0
0.711864
0
0
0
0
0
0
0
0
0
1
0.101695
false
0
0.101695
0.033898
0.338983
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf762a1a3668bad483285ce3536af31738eedcdb
335
py
Python
saefportal/datasets/migrations/0059_remove_connection_time_out.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
null
null
null
saefportal/datasets/migrations/0059_remove_connection_time_out.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
null
null
null
saefportal/datasets/migrations/0059_remove_connection_time_out.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
1
2020-12-16T15:02:52.000Z
2020-12-16T15:02:52.000Z
# Generated by Django 3.1.6 on 2022-01-18 09:41 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('datasets', '0058_auto_20211215_0715'), ] operations = [ migrations.RemoveField( model_name='connection', name='time_out', ...
18.611111
48
0.6
36
335
5.444444
0.861111
0
0
0
0
0
0
0
0
0
0
0.130252
0.289552
335
17
49
19.705882
0.693277
0.134328
0
0
1
0
0.170139
0.079861
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf786cbec793ca9f27c6459154e33bec04809313
401
py
Python
pipeline_docs/pipeline_gwas/trackers/TrackerPhenotypes.py
MikeDMorgan/pipeline_gwas
9f8e8a061fc2368d40b20bb2fe725f1a75b4f91e
[ "MIT" ]
null
null
null
pipeline_docs/pipeline_gwas/trackers/TrackerPhenotypes.py
MikeDMorgan/pipeline_gwas
9f8e8a061fc2368d40b20bb2fe725f1a75b4f91e
[ "MIT" ]
null
null
null
pipeline_docs/pipeline_gwas/trackers/TrackerPhenotypes.py
MikeDMorgan/pipeline_gwas
9f8e8a061fc2368d40b20bb2fe725f1a75b4f91e
[ "MIT" ]
null
null
null
from CGATReport.Tracker import * import pandas as pd from pandas.io import sql class GenderPlotter(TrackerSQL): pattern = "(.+)" def __call__(self, track, slice=None): column = "f_31_0_0" statement = "SELECT f_eid, %(column)s from ukb4882" df = sql.read_sql(statement, ...
21.105263
59
0.566085
48
401
4.5
0.708333
0.037037
0
0
0
0
0
0
0
0
0
0.030189
0.339152
401
18
60
22.277778
0.784906
0
0
0
0
0
0.134663
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cf7c8f7993026ed31950282a56c8104bc770619d
500
py
Python
Backend/Invento_Manage/items/migrations/0003_auto_20201202_1715.py
coffeebeanspoem/HACKTOBERFEST21-GTBIT-WEBDEV
9c91f90ad9c1078c7dad58d8b0a5796aa8f35837
[ "MIT" ]
null
null
null
Backend/Invento_Manage/items/migrations/0003_auto_20201202_1715.py
coffeebeanspoem/HACKTOBERFEST21-GTBIT-WEBDEV
9c91f90ad9c1078c7dad58d8b0a5796aa8f35837
[ "MIT" ]
null
null
null
Backend/Invento_Manage/items/migrations/0003_auto_20201202_1715.py
coffeebeanspoem/HACKTOBERFEST21-GTBIT-WEBDEV
9c91f90ad9c1078c7dad58d8b0a5796aa8f35837
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-02 11:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('items', '0002_remove_item_category'), ] operations = [ migrations.RemoveField( model_name='item', name='units', ...
21.73913
66
0.568
51
500
5.45098
0.745098
0.064748
0.093525
0.122302
0
0
0
0
0
0
0
0.061047
0.312
500
22
67
22.727273
0.747093
0.09
0
0.25
1
0
0.121413
0.055188
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf7e11265e56445aae0bf54024e65d6dd8a9c969
2,221
py
Python
tools/clean_mae_same_restart.py
jesswahlers/q2mm
71247cd4e7ba644edbe9f55eacd5c88da2e77183
[ "MIT" ]
19
2015-02-26T20:59:14.000Z
2021-04-11T21:33:32.000Z
tools/clean_mae_same_restart.py
jesswahlers/q2mm
71247cd4e7ba644edbe9f55eacd5c88da2e77183
[ "MIT" ]
44
2016-06-03T07:34:13.000Z
2020-03-13T19:24:00.000Z
tools/clean_mae_same_restart.py
jesswahlers/q2mm
71247cd4e7ba644edbe9f55eacd5c88da2e77183
[ "MIT" ]
18
2015-03-24T19:52:02.000Z
2021-04-23T18:57:23.000Z
#!/usr/bin/env python """ Cleans up *.mae files. Accepts multiple filenames and glob as the argument(s). """ import os import sys from schrodinger import structure as sch_struct from clean_mae import \ PROPERTIES_TO_REMOVE, ATOM_PROPERTIES_TO_REMOVE from clean_mae_same_update import \ ATOM_CS_PROPERTIES, BON...
29.613333
65
0.580369
239
2,221
5.07113
0.351464
0.089109
0.133663
0.054455
0.222772
0.138614
0.082508
0.082508
0
0
0
0.002086
0.352544
2,221
74
66
30.013514
0.840751
0.091851
0
0.25
0
0
0.077307
0.031421
0
0
0
0
0
1
0
false
0.096154
0.096154
0
0.096154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
cf824a7021f95d432418a93df2e7473dbb6a62ef
3,413
py
Python
SentimentalAnalyser/extractFeatures.py
amit7sri/SongReccommendation_ML
a2b4a706faff7710428439134435f7d168cd123f
[ "Apache-2.0" ]
null
null
null
SentimentalAnalyser/extractFeatures.py
amit7sri/SongReccommendation_ML
a2b4a706faff7710428439134435f7d168cd123f
[ "Apache-2.0" ]
null
null
null
SentimentalAnalyser/extractFeatures.py
amit7sri/SongReccommendation_ML
a2b4a706faff7710428439134435f7d168cd123f
[ "Apache-2.0" ]
null
null
null
import nltk import re from nltk.corpus import stopwords from random import shuffle from nltk.tokenize import word_tokenize import numpy as np from gensim.models import word2vec from gensim.models.keyedvectors import KeyedVectors """ Extracts features from the given file containing sentences and tags. getTokenized...
24.912409
129
0.692353
418
3,413
5.610048
0.430622
0.015352
0.018763
0.043497
0.063113
0.063113
0.063113
0.063113
0.063113
0.063113
0
0.019364
0.198066
3,413
136
130
25.095588
0.837413
0.163493
0
0.034483
0
0
0.086425
0.037104
0
0
0
0
0
0
null
null
0
0.137931
null
null
0.051724
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cf834152622c833c5c83fe31d6562851607da21c
2,716
py
Python
Scripts/DemographicsQuery.py
rrusk/SCOOP-data-quality
b8d10f2ef1b320157c0700e91564da8ee6e66f61
[ "BSD-2-Clause" ]
null
null
null
Scripts/DemographicsQuery.py
rrusk/SCOOP-data-quality
b8d10f2ef1b320157c0700e91564da8ee6e66f61
[ "BSD-2-Clause" ]
null
null
null
Scripts/DemographicsQuery.py
rrusk/SCOOP-data-quality
b8d10f2ef1b320157c0700e91564da8ee6e66f61
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # Script assumes that database connection information is stored in # ~/mysql/db_config. Change if needed. Variables are initialized # this way for compatibility with prior Bash script. # __author__ = 'rrusk' import os import sys import MySQLdb as mdb con = None f = None f...
32.333333
118
0.639543
418
2,716
3.978469
0.301435
0.050511
0.038485
0.031269
0.399278
0.346362
0.307877
0.276609
0.276609
0.276609
0
0.020938
0.19109
2,716
83
119
32.722892
0.736004
0.224963
0
0
0
0.056604
0.240555
0.060736
0
0
0
0
0
0
null
null
0.037736
0.056604
null
null
0.320755
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cf886dc5da663ef2bd04f485a7c6b290297b2e0b
3,604
py
Python
squid/core/meetup.py
DjangoNYC/squid
e9776df722d6c4d8e43738c053c610475f73f0db
[ "MIT" ]
null
null
null
squid/core/meetup.py
DjangoNYC/squid
e9776df722d6c4d8e43738c053c610475f73f0db
[ "MIT" ]
null
null
null
squid/core/meetup.py
DjangoNYC/squid
e9776df722d6c4d8e43738c053c610475f73f0db
[ "MIT" ]
null
null
null
import requests import json from datetime import datetime import pytz from django.conf import settings from core.models import Member, Event, Venue, MemberRSVP API_BASE = 'https://api.meetup.com/' def get_meetup_json(endpoint, **params): request_url = "{base}{endpoint}".format( base=API_BASE, e...
31.33913
84
0.601554
439
3,604
4.765376
0.264237
0.026291
0.057839
0.043021
0.139579
0.094646
0.061185
0.044933
0.044933
0.044933
0
0.007469
0.294118
3,604
114
85
31.614035
0.814858
0.11071
0
0.054795
0
0
0.077683
0
0
0
0
0.017544
0
1
0.041096
false
0
0.082192
0
0.150685
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d8451c03681f412485463753b00c2c1251a8dd38
364
py
Python
betting/migrations/0009_auto_20191106_2159.py
jrgparkinson/ouccc
36824cd944620b6e28795f43a24e17e648b1f0bb
[ "MIT" ]
null
null
null
betting/migrations/0009_auto_20191106_2159.py
jrgparkinson/ouccc
36824cd944620b6e28795f43a24e17e648b1f0bb
[ "MIT" ]
5
2020-06-06T00:19:41.000Z
2022-02-13T18:49:17.000Z
betting/migrations/0009_auto_20191106_2159.py
jrgparkinson/ouccc
36824cd944620b6e28795f43a24e17e648b1f0bb
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-11-06 21:59 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('betting', '0008_punter_user'), ] operations = [ migrations.RenameField( model_name='betplacing', old_name='runner', ...
19.157895
47
0.585165
38
364
5.473684
0.815789
0
0
0
0
0
0
0
0
0
0
0.074803
0.302198
364
18
48
20.222222
0.744094
0.123626
0
0
1
0
0.154574
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d84cbf6cde31c9957ab265cfc4c8c285cdfdf93c
848
py
Python
test_stream.py
cropsinsilico/deploy-dev
2f5562781a80d072b5325a06babcf2a161c93893
[ "MIT" ]
null
null
null
test_stream.py
cropsinsilico/deploy-dev
2f5562781a80d072b5325a06babcf2a161c93893
[ "MIT" ]
14
2018-10-04T14:18:27.000Z
2021-05-20T19:25:31.000Z
test_stream.py
cropsinsilico/deploy-dev
2f5562781a80d072b5325a06babcf2a161c93893
[ "MIT" ]
2
2020-07-28T21:31:15.000Z
2021-02-24T15:53:49.000Z
#!/usr/bin/env python import json import pprint import sseclient import sys import time token = sys.argv[1] def with_urllib3(url): """Get a streaming response for the given event feed using urllib3.""" import urllib3 http = urllib3.PoolManager() return http.request('GET', url, preload_content=False) d...
29.241379
88
0.709906
118
848
5.059322
0.5
0.055276
0.023451
0.053601
0.164154
0.164154
0.164154
0.164154
0.164154
0.164154
0
0.008415
0.159198
848
28
89
30.285714
0.828892
0.178066
0
0
0
0
0.145773
0
0
0
0
0
0
1
0.090909
false
0
0.318182
0
0.5
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d84d119baf1ea50912086682c00c09f7650d6105
11,209
py
Python
cmg/test/unit_test_framework.py
cubeman99/russian-study-tool
b073df4694f1ad064a780088cdcb1436e1bde7e9
[ "MIT" ]
null
null
null
cmg/test/unit_test_framework.py
cubeman99/russian-study-tool
b073df4694f1ad064a780088cdcb1436e1bde7e9
[ "MIT" ]
null
null
null
cmg/test/unit_test_framework.py
cubeman99/russian-study-tool
b073df4694f1ad064a780088cdcb1436e1bde7e9
[ "MIT" ]
null
null
null
import sys import re import os import traceback import time import inspect import argparse import colorama colorama.init() from colorama import Fore, Back, Style COLOR_PASS = Fore.GREEN COLOR_FAIL = Fore.RED COLORS = {"test_pass": COLOR_PASS, "test_fail": COLOR_FAIL} def plural(word, list): if len(list) ...
28.305556
182
0.624587
1,549
11,209
4.313751
0.111039
0.079318
0.058665
0.05657
0.538162
0.503741
0.497306
0.478899
0.449267
0.426818
0
0.002942
0.211437
11,209
395
183
28.377215
0.753026
0.011241
0
0.40264
0
0
0.183908
0.038556
0
0
0
0
0
1
0.082508
false
0.178218
0.033003
0.006601
0.151815
0.178218
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d85093bc3b135c18752e7b0c56b3d30cfc4dc593
598
py
Python
wecom_portal/__manifest__.py
rainbow-studio-solution/wecom
937ea9c15c5ef42ba749c67335ede85544292aad
[ "MulanPSL-1.0" ]
5
2021-12-17T06:44:41.000Z
2022-02-05T03:34:07.000Z
wecom_portal/__manifest__.py
rainbow-studio-solution/wecom
937ea9c15c5ef42ba749c67335ede85544292aad
[ "MulanPSL-1.0" ]
null
null
null
wecom_portal/__manifest__.py
rainbow-studio-solution/wecom
937ea9c15c5ef42ba749c67335ede85544292aad
[ "MulanPSL-1.0" ]
2
2022-02-06T13:27:56.000Z
2022-02-27T08:06:59.000Z
# -*- coding: utf-8 -*- { "name": "WeCom Portal", "author": "RStudio", "website": "https://gitee.com/rainbowstudio/wecom", "sequence": 608, "installable": True, "application": True, "auto_install": False, "category": "WeCom/WeCom", "version": "15.0.0.1", "summary": """ We...
22.148148
55
0.51505
54
598
5.592593
0.759259
0.072848
0
0
0
0
0
0
0
0
0
0.022727
0.264214
598
26
56
23
0.663636
0.103679
0
0.090909
0
0
0.546992
0.088346
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d8521b5d267c2f0ec63ce57d5e0847499fc6fdcc
1,628
py
Python
project3/6_problem.py
ssi112/data-structures-algorithms
e9bdfa4f41b5dd68b3227151084a8c0115bac8b8
[ "MIT" ]
15
2019-10-09T16:59:43.000Z
2022-03-25T22:35:56.000Z
project3/6_problem.py
adad20/data-structures-algorithms
e9bdfa4f41b5dd68b3227151084a8c0115bac8b8
[ "MIT" ]
null
null
null
project3/6_problem.py
adad20/data-structures-algorithms
e9bdfa4f41b5dd68b3227151084a8c0115bac8b8
[ "MIT" ]
13
2019-10-09T15:27:02.000Z
2021-04-17T10:00:53.000Z
""" 6_problem.py In this problem, we will look for smallest and largest integer from a list of unsorted integers. The code should run in O(n) time. Do not use Python's built-in functions to find min and max. Bonus Challenge: Is it possible to find the max and min in a single traversal? """ def find_min_max(input_lis...
29.071429
80
0.619779
278
1,628
3.52518
0.341727
0.146939
0.061224
0.069388
0.181633
0.142857
0.142857
0.142857
0.142857
0.142857
0
0.040296
0.253071
1,628
55
81
29.6
0.765625
0.349509
0
0.2
0
0
0.038388
0
0
0
0
0
0
1
0.033333
false
0.166667
0.033333
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d856779c74a5dd59f3dbb6db483ac967984c5adf
6,058
py
Python
tests/test_dataload_validate.py
datavore-labs/dv-pyclient
9cd9bc2bcfd3fb88f242dcf3e49a43fb0165633d
[ "MIT" ]
null
null
null
tests/test_dataload_validate.py
datavore-labs/dv-pyclient
9cd9bc2bcfd3fb88f242dcf3e49a43fb0165633d
[ "MIT" ]
null
null
null
tests/test_dataload_validate.py
datavore-labs/dv-pyclient
9cd9bc2bcfd3fb88f242dcf3e49a43fb0165633d
[ "MIT" ]
null
null
null
#!/usr/bin/env python '''test client.publish flows for uploading a data frame''' import pytest import copy import numpy as np import pandas as pd import dv_pyclient.dataload._domain as domain from dv_pyclient.dataload.validate import validate_data_loader def __generate_cfg(df): column_configs = domain.get_colu...
34.225989
86
0.646748
750
6,058
5.058667
0.161333
0.039536
0.080654
0.09884
0.702688
0.702688
0.670269
0.543226
0.52873
0.480496
0
0.015454
0.230934
6,058
176
87
34.420455
0.798884
0.088643
0
0.496124
0
0
0.190762
0
0
0
0
0
0.124031
1
0.054264
false
0
0.046512
0
0.108527
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d85bb9b665ce82519adffa825c1cd0876d53f5b1
513
py
Python
gtfs_util/realtime/models/vehicle_position.py
jwoos/gtfs_util
995ce529d09ba8dc693d3cf4b6cabf395a173997
[ "MIT" ]
1
2018-09-18T02:14:50.000Z
2018-09-18T02:14:50.000Z
gtfs_util/realtime/models/vehicle_position.py
jwoos/gtfs_util
995ce529d09ba8dc693d3cf4b6cabf395a173997
[ "MIT" ]
17
2018-10-17T03:00:19.000Z
2018-11-12T03:46:40.000Z
gtfs_util/realtime/models/vehicle_position.py
jwoos/python_gtfs-util
995ce529d09ba8dc693d3cf4b6cabf395a173997
[ "MIT" ]
null
null
null
from gtfs_util.model import MixIn from gtfs_util.realtime import data from collections import namedtuple class VehiclePosition(namedtuple( 'VehiclePosition', [ 'trip', 'position', 'timestamp', 'stop_id', 'vehicle', ], ), MixIn): NAME_MAPPING = {} DATA_MAPPI...
17.1
36
0.536062
44
513
6.090909
0.522727
0.059701
0.089552
0.186567
0.253731
0.253731
0
0
0
0
0
0
0.34308
513
29
37
17.689655
0.795252
0
0
0.4
0
0
0.191033
0
0
0
0
0
0
1
0
false
0
0.12
0
0.28
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d85dc6cf94ba8310eb119f36c9531fcf43c32997
385
py
Python
container_a/flask_receiver.py
Nossnevs/waeve_test
36e97b5f454a350e3b484101a088a67de135eea3
[ "MIT" ]
null
null
null
container_a/flask_receiver.py
Nossnevs/waeve_test
36e97b5f454a350e3b484101a088a67de135eea3
[ "MIT" ]
null
null
null
container_a/flask_receiver.py
Nossnevs/waeve_test
36e97b5f454a350e3b484101a088a67de135eea3
[ "MIT" ]
null
null
null
import os import signal from time import sleep import sys from flask import Flask from flask import request app = Flask(__name__) @app.route("/") def hello(): return str(os.environ['SERVICE_NAME']) def handler(signum, frame): sleep(4) sys.exit(0) if __name__ == '__main__': signal.signal(signal.SIG...
16.73913
49
0.693506
59
385
4.305085
0.559322
0.023622
0.11811
0
0
0
0
0
0
0
0
0.028213
0.171429
385
22
50
17.5
0.768025
0
0
0
0
0
0.072727
0
0
0
0
0
0
1
0.125
false
0
0.375
0.0625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d8621089cfa59e2ca463a02294d8700c9b720a48
2,639
py
Python
examples/Scripts Python/Scripts/Treinando Scripts/treino.py
rafaelmcam/gr-ITpp
18679b52317af23519c939488d3e15204800645a
[ "MIT" ]
3
2019-02-17T01:33:45.000Z
2019-03-14T10:58:16.000Z
examples/Scripts Python/Scripts/Treinando Scripts/treino.py
rafaelmcam/gr-ITpp
18679b52317af23519c939488d3e15204800645a
[ "MIT" ]
3
2019-07-02T18:37:36.000Z
2019-12-12T13:48:26.000Z
examples/Scripts Python/Scripts/Treinando Scripts/treino.py
rafaelmcam/gr-ITpp
18679b52317af23519c939488d3e15204800645a
[ "MIT" ]
2
2019-10-01T21:23:12.000Z
2019-12-20T02:35:46.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- ################################################## # GNU Radio Python Flow Graph # Title: Top Block # Generated: Fri Apr 19 11:25:15 2019 ################################################## from gnuradio import blocks from gnuradio import eng_notation from gnuradio import...
33.405063
94
0.570292
339
2,639
4.109145
0.283186
0.11486
0.034458
0.075377
0.276382
0.18234
0.103374
0.086145
0.086145
0.055994
0
0.031019
0.181508
2,639
78
95
33.833333
0.613889
0.158393
0
0.05
1
0
0.009408
0
0
0
0
0
0
1
0.125
false
0
0.2
0.025
0.425
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8663b056a0a38f40d8f7679bac0773ebf3f48f2
311
py
Python
Tutorial/setup.py
QuetzalcoatlRosso/scoring-profile-optimization-public
86f639e15a5279c184bcd6580263876aa4bb49b6
[ "MIT" ]
1
2021-10-09T10:42:55.000Z
2021-10-09T10:42:55.000Z
Tutorial/setup.py
QuetzalcoatlRosso/scoring-profile-optimization-public
86f639e15a5279c184bcd6580263876aa4bb49b6
[ "MIT" ]
null
null
null
Tutorial/setup.py
QuetzalcoatlRosso/scoring-profile-optimization-public
86f639e15a5279c184bcd6580263876aa4bb49b6
[ "MIT" ]
null
null
null
from distutils.core import setup setup(name="Tutorial", version="1.02", description="Scoring profile optimization", author="Ivan Barrientos", author_email="ivbarrie@microsoft.com", packages=[ "lib_utils" ], install_requires=[ "numpy=1.20.2", "pandas=0.25.3", "optuna==0.19.0" ], )
17.277778
44
0.662379
40
311
5.075
0.875
0
0
0
0
0
0
0
0
0
0
0.057692
0.163987
311
17
45
18.294118
0.723077
0
0
0.133333
0
0
0.401929
0.07074
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d871efe1ec051ff4f804a2eae3e2779c80498ff7
5,559
py
Python
PythonCode/Routing/RouteGeneration/generateRoutesForUnrealUtilsTest.py
NUIG-ROCSAFE/CBRNeVirtualEnvironment
440149886d7ecca6c774fc4148cf0a0718657ea8
[ "MIT" ]
3
2018-10-05T09:58:17.000Z
2019-03-14T07:21:59.000Z
PythonCode/Routing/RouteGeneration/generateRoutesForUnrealUtilsTest.py
NUIG-ROCSAFE/CBRNeVirtualEnvironment
440149886d7ecca6c774fc4148cf0a0718657ea8
[ "MIT" ]
13
2018-09-13T16:07:03.000Z
2018-12-17T17:38:35.000Z
PythonCode/Routing/RouteGeneration/generateRoutesForUnrealUtilsTest.py
NUIG-ROCSAFE/CBRNeVirtualEnvironment
440149886d7ecca6c774fc4148cf0a0718657ea8
[ "MIT" ]
1
2018-10-09T00:37:52.000Z
2018-10-09T00:37:52.000Z
import unittest import sys sys.path.append('..') from generateRoutesForUnrealUtils import (generate_close_file_code, generate_image_requests_code, generate_record_gps_loc_code, generate_route_text, generate_save_images_code, generate_save_images_loc, get_connect_and_arm_code, get_imports, get_land_and_disarm_code, get...
43.429688
372
0.783774
683
5,559
6.04978
0.259151
0.046467
0.020329
0.033398
0.351888
0.292836
0.21636
0.114714
0.093417
0.068248
0
0.019017
0.091923
5,559
128
373
43.429688
0.799525
0.029682
0
0.182692
1
0.048077
0.474777
0.336053
0
0
0
0
0.048077
1
0.057692
false
0
0.096154
0
0.163462
0.057692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d873173a218a351940a549ed53dcbbee2acbe493
6,039
py
Python
kubevirt/models/v1alpha1_volume_restore.py
gabriel-samfira/client-python
c2e184c3cad6797af35b0160a36ffcbba77284a7
[ "Apache-2.0" ]
21
2018-02-21T23:59:28.000Z
2021-12-08T05:47:37.000Z
kubevirt/models/v1alpha1_volume_restore.py
gabriel-samfira/client-python
c2e184c3cad6797af35b0160a36ffcbba77284a7
[ "Apache-2.0" ]
47
2018-02-01T15:35:01.000Z
2022-02-11T07:45:54.000Z
kubevirt/models/v1alpha1_volume_restore.py
gabriel-samfira/client-python
c2e184c3cad6797af35b0160a36ffcbba77284a7
[ "Apache-2.0" ]
19
2018-04-03T09:20:52.000Z
2021-06-01T06:07:28.000Z
# coding: utf-8 """ KubeVirt API This is KubeVirt API an add-on for Kubernetes. OpenAPI spec version: 1.0.0 Contact: kubevirt-dev@googlegroups.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class V1alpha1...
29.458537
121
0.61997
675
6,039
5.265185
0.179259
0.109736
0.118177
0.104671
0.540518
0.439786
0.416714
0.141531
0.095385
0.021384
0
0.010676
0.302037
6,039
204
122
29.602941
0.832503
0.280841
0
0.069767
1
0
0.114493
0.032393
0
0
0
0
0
1
0.162791
false
0
0.034884
0
0.348837
0.011628
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d877a6d45d60acb827da24f1643f92fab3fa1a31
4,561
py
Python
python/sdk/data/Messages.py
vt-dev/sdk
ccd6d2b6dd940bf335a1d40ff7a7ea77f3e297d0
[ "Apache-2.0" ]
10
2017-05-25T18:20:44.000Z
2018-04-15T16:24:35.000Z
python/sdk/data/Messages.py
vt-dev/sdk
ccd6d2b6dd940bf335a1d40ff7a7ea77f3e297d0
[ "Apache-2.0" ]
4
2019-11-13T01:47:24.000Z
2021-01-20T22:05:47.000Z
python/sdk/data/Messages.py
vt-dev/sdk
ccd6d2b6dd940bf335a1d40ff7a7ea77f3e297d0
[ "Apache-2.0" ]
5
2017-06-20T02:08:30.000Z
2018-04-26T15:54:58.000Z
import json import sdk.util as util from sdk.data import compression from sdk.data.CANFrame import CANFrame from sdk.data.Mappable import Mappable, NoneAsMappable, ListAsMappable, StringAsMappable class Message(Mappable): """ Request base class""" __slots__ = ('message', 'type', 'id') def __init__(self...
24.390374
102
0.58189
486
4,561
5.127572
0.183128
0.054575
0.039727
0.053371
0.300161
0.264446
0.179374
0.1561
0.138844
0.100321
0
0.001265
0.306512
4,561
186
103
24.521505
0.786595
0.075641
0
0.297297
0
0
0.037093
0
0
0
0
0
0
1
0.189189
false
0.009009
0.045045
0.063063
0.522523
0.009009
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d87db0cda22d6c7a8db39f67d7dd92ee9d33c3b5
2,636
py
Python
gunicorn/tests/test_metadata.py
vbarbaresi/integrations-core
ab26ab1cd6c28a97c1ad1177093a93659658c7aa
[ "BSD-3-Clause" ]
663
2016-08-23T05:23:45.000Z
2022-03-29T00:37:23.000Z
gunicorn/tests/test_metadata.py
vbarbaresi/integrations-core
ab26ab1cd6c28a97c1ad1177093a93659658c7aa
[ "BSD-3-Clause" ]
6,642
2016-06-09T16:29:20.000Z
2022-03-31T22:24:09.000Z
gunicorn/tests/test_metadata.py
vbarbaresi/integrations-core
ab26ab1cd6c28a97c1ad1177093a93659658c7aa
[ "BSD-3-Clause" ]
1,222
2017-01-27T15:51:38.000Z
2022-03-31T18:17:51.000Z
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under Simplified BSD License (see LICENSE) import pytest from datadog_checks.gunicorn import GUnicornCheck from .common import CHECK_NAME, CONTAINER_NAME, GUNICORN_VERSION, INSTANCE # TODO: Test metadata in e2e when we can collect metadata from the ag...
31.011765
84
0.747724
318
2,636
5.902516
0.226415
0.083111
0.051145
0.058604
0.621737
0.60309
0.585509
0.585509
0.542888
0.542888
0
0.006228
0.147193
2,636
84
85
31.380952
0.828737
0.06563
0
0.490566
0
0
0.122457
0
0
0
0
0.011905
0.150943
1
0.113208
false
0
0.056604
0
0.169811
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d87e5cc8d97a5067b4f9a221d02be8196f10eaca
2,992
py
Python
src/etl/node_count_etl.py
alliance-genome/agr_loader
79f87f16ccfc1260f57ec651dce6e32b4b926866
[ "MIT" ]
1
2018-10-05T15:35:54.000Z
2018-10-05T15:35:54.000Z
src/etl/node_count_etl.py
sierra-moxon/agr_loader
aa240d579c87b048c24b5cf5cdc205a30b86a8f3
[ "MIT" ]
176
2017-09-05T23:01:59.000Z
2021-11-16T13:14:45.000Z
src/etl/node_count_etl.py
sierra-moxon/agr_loader
aa240d579c87b048c24b5cf5cdc205a30b86a8f3
[ "MIT" ]
5
2020-08-19T11:50:59.000Z
2020-12-19T08:54:01.000Z
"""Node Count ETL""" import logging import os from etl import ETL from files import TXTFile from .helpers import Neo4jHelper class NodeCountETL(ETL): """Node Count ETL""" logger = logging.getLogger(__name__) def __init__(self, config): super().__init__() self.data_type_config = config ...
36.938272
134
0.557821
303
2,992
5.165017
0.313531
0.097764
0.066454
0.071566
0.176358
0.176358
0
0
0
0
0
0.005163
0.352607
2,992
80
135
37.4
0.802788
0.034759
0
0
0
0
0.14196
0.017091
0
0
0
0.0125
0
1
0.075472
false
0
0.09434
0
0.245283
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d87fdd80af9a9f4124162048a16d3bdfa4cd5bba
6,135
py
Python
tests/unit/array/test_advance_indexing.py
sugatoray/docarray
e62c1ad045ea7236912c702aebe87c3a25db110d
[ "Apache-2.0" ]
null
null
null
tests/unit/array/test_advance_indexing.py
sugatoray/docarray
e62c1ad045ea7236912c702aebe87c3a25db110d
[ "Apache-2.0" ]
1
2022-01-11T00:59:52.000Z
2022-01-11T00:59:52.000Z
tests/unit/array/test_advance_indexing.py
sugatoray/docarray
e62c1ad045ea7236912c702aebe87c3a25db110d
[ "Apache-2.0" ]
null
null
null
import numpy as np import pytest from docarray import DocumentArray, Document @pytest.fixture def docarray100(): yield DocumentArray(Document(text=j) for j in range(100)) def test_getter_int_str(docarray100): # getter assert docarray100[99].text == 99 assert docarray100[np.int(99)].text == 99 a...
27.635135
71
0.60652
880
6,135
4.151136
0.148864
0.073912
0.087599
0.029565
0.373118
0.278949
0.185327
0.166986
0.147824
0.12127
0
0.099573
0.237164
6,135
221
72
27.760181
0.680983
0.023635
0
0.213333
0
0
0.058952
0
0
0
0
0
0.413333
1
0.086667
false
0
0.026667
0
0.113333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
d88230815c94fa9dd96ecb32852afbed17b1a528
1,841
py
Python
nematus/model_inputs.py
zippotju/Context-Aware-Bilingual-Repair-for-Neural-Machine-Translation
767572e377fd9fb525ebd28a619bc1696e779db9
[ "BSD-3-Clause" ]
1
2020-03-20T12:33:11.000Z
2020-03-20T12:33:11.000Z
nematus/model_inputs.py
zippotju/Context-Aware-Bilingual-Repair-for-Neural-Machine-Translation
767572e377fd9fb525ebd28a619bc1696e779db9
[ "BSD-3-Clause" ]
null
null
null
nematus/model_inputs.py
zippotju/Context-Aware-Bilingual-Repair-for-Neural-Machine-Translation
767572e377fd9fb525ebd28a619bc1696e779db9
[ "BSD-3-Clause" ]
null
null
null
import tensorflow as tf class ModelInputs(object): def __init__(self, config): # variable dimensions seq_len, batch_size, mrt_sampleN, beam_size, vocab_size = None, None, None, None, None # mrt_sampleN = batch_size X sampleN self.x = tf.placeholder( name='x', ...
26.681159
94
0.519283
201
1,841
4.542289
0.21393
0.170865
0.204819
0.115005
0.421687
0.253012
0.253012
0.253012
0.253012
0.138007
0
0.018933
0.368821
1,841
68
95
27.073529
0.766781
0.029332
0
0.384615
0
0
0.045404
0
0
0
0
0
0
1
0.019231
false
0
0.019231
0
0.057692
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d884863ebd356105999a403d8f4d2ce97d804ee0
661
py
Python
src/process_queue.py
rdando/deeplens-cropped-face-detection
8151cf04e0d765ca343a13ba548278640dfb81ae
[ "MIT" ]
1
2019-06-29T10:13:54.000Z
2019-06-29T10:13:54.000Z
src/process_queue.py
rdando/deeplens-cropped-face-detection
8151cf04e0d765ca343a13ba548278640dfb81ae
[ "MIT" ]
null
null
null
src/process_queue.py
rdando/deeplens-cropped-face-detection
8151cf04e0d765ca343a13ba548278640dfb81ae
[ "MIT" ]
null
null
null
import os import logging import boto3 import json import base64 # Set Logging Level logger = logging.getLogger() logger.setLevel(logging.INFO) def handler(event, context): """ Decode a Base64 encoded JPEG image and save to an S3 Bucket """ logger.info('Event JSON: {0}'.format(json.dumps(event))) ...
23.607143
63
0.6823
91
661
4.857143
0.571429
0.049774
0
0
0
0
0
0
0
0
0
0.030418
0.204236
661
27
64
24.481481
0.809886
0.234493
0
0
0
0
0.133197
0.043033
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d88afe466c180d7bb4855a56f0f5cd902ebbc7a6
10,305
py
Python
deprecated/gnc/sub8_controller/nodes/base_controller.py
ericgorday/SubjuGator
f45ac790f06eb97efc0b0810a7b43d0a6e2facee
[ "MIT" ]
27
2020-02-17T21:54:09.000Z
2022-03-18T17:49:23.000Z
deprecated/gnc/sub8_controller/nodes/base_controller.py
ericgorday/SubjuGator
f45ac790f06eb97efc0b0810a7b43d0a6e2facee
[ "MIT" ]
325
2019-09-11T14:13:56.000Z
2022-03-31T00:38:30.000Z
deprecated/gnc/sub8_controller/nodes/base_controller.py
ericgorday/SubjuGator
f45ac790f06eb97efc0b0810a7b43d0a6e2facee
[ "MIT" ]
24
2019-09-16T00:29:45.000Z
2022-03-06T10:56:38.000Z
#! /usr/bin/env python from tf import transformations import threading import geometry_msgs.msg as geometry_msgs import rospy import numpy as np from sub8_msgs.msg import Trajectory from collections import deque from scipy import linalg from sub8_simulation.srv import SimSetPose import nav_msgs.msg as nav_msgs import m...
40.097276
120
0.645997
1,240
10,305
5.106452
0.242742
0.036955
0.050537
0.02211
0.230575
0.168825
0.123973
0.11513
0.102811
0.08765
0
0.008765
0.258224
10,305
256
121
40.253906
0.819597
0.094226
0
0.165605
0
0
0.078006
0.003276
0
0
0
0.007813
0.006369
0
null
null
0
0.082803
null
null
0.006369
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d88b99b3dfbc7b1e50431b31ef6ea4ab408d4d41
1,043
py
Python
settei/presets/logging.py
spoqa/settei
4e56760479fbdf6c1e77a954fc3152df0c520ec8
[ "Apache-2.0" ]
17
2016-04-02T02:47:58.000Z
2020-12-21T00:10:50.000Z
settei/presets/logging.py
spoqa/settei
4e56760479fbdf6c1e77a954fc3152df0c520ec8
[ "Apache-2.0" ]
24
2016-04-01T11:23:50.000Z
2020-10-29T05:11:42.000Z
settei/presets/logging.py
spoqa/settei
4e56760479fbdf6c1e77a954fc3152df0c520ec8
[ "Apache-2.0" ]
12
2016-04-01T11:15:26.000Z
2020-11-05T12:41:32.000Z
""":mod:`settei.presets.logging` --- Preset for :mod:`logging` configuration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. versionadded:: 0.2.0 Preset for apps holding :mod:`logging` configuration. Logging can be configured through TOML file e.g.: .. code-block:: toml [logging]...
22.191489
76
0.592522
100
1,043
6.13
0.56
0.065253
0.102773
0.091354
0
0
0
0
0
0
0
0.004808
0.202301
1,043
46
77
22.673913
0.731971
0.655801
0
0
0
0
0.079179
0
0
0
0
0
0
1
0.090909
false
0.090909
0.181818
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d88c2c954d96bc460c6b4185b374050988f8b006
1,984
py
Python
src/creeps/soldier/kiter.py
chestm007/screeps-starter-python
efb0c237df4a64028da7c416e8bed44339edfa0c
[ "MIT" ]
1
2018-02-09T09:49:45.000Z
2018-02-09T09:49:45.000Z
src/creeps/soldier/kiter.py
chestm007/screeps-starter-python
efb0c237df4a64028da7c416e8bed44339edfa0c
[ "MIT" ]
null
null
null
src/creeps/soldier/kiter.py
chestm007/screeps-starter-python
efb0c237df4a64028da7c416e8bed44339edfa0c
[ "MIT" ]
null
null
null
from creeps.soldier.soldier import Soldier from defs import * __pragma__('noalias', 'undefined') __pragma__('noalias', 'Infinity') __pragma__('noalias', 'keys') __pragma__('noalias', 'name') __pragma__('noalias', 'get') __pragma__('noalias', 'set') __pragma__('noalias', 'type') __pragma__('noalias', 'update') class ...
36.740741
99
0.524194
193
1,984
5.124352
0.290155
0.113246
0.157735
0.194135
0.171891
0.171891
0.171891
0.171891
0.111223
0.060667
0
0.002394
0.368448
1,984
53
100
37.433962
0.786911
0
0
0.177778
0
0
0.077117
0
0
0
0
0
0
1
0.044444
false
0
0.044444
0
0.177778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d895be5a892315b03f8b69af0126b82786a06def
3,603
py
Python
graphgym/contrib/transform/normalize.py
xnhp/GraphGym-thesis
32f238e7d7eff273be2d0aaf04f21052ce0f5e96
[ "MIT" ]
null
null
null
graphgym/contrib/transform/normalize.py
xnhp/GraphGym-thesis
32f238e7d7eff273be2d0aaf04f21052ce0f5e96
[ "MIT" ]
null
null
null
graphgym/contrib/transform/normalize.py
xnhp/GraphGym-thesis
32f238e7d7eff273be2d0aaf04f21052ce0f5e96
[ "MIT" ]
null
null
null
# scaler supplied via kwargs import torch from graphgym.config import cfg from graphgym.contrib.feature_augment.util import ds_get_interpretations from sklearn.preprocessing import MinMaxScaler import deepsnap def normalize_scale(graph: deepsnap.graph.Graph, scalers=None): """ Transform function to be used ...
43.939024
120
0.692478
500
3,603
4.872
0.348
0.053366
0.022989
0.039409
0.104269
0.095238
0.026273
0
0
0
0
0.001835
0.243686
3,603
81
121
44.481481
0.891743
0.459062
0
0.102564
0
0
0.070091
0.023542
0
0
0
0.012346
0.051282
1
0.076923
false
0
0.128205
0.025641
0.307692
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d899e872fffb04cdb28d1db33696ffec905ea523
407
py
Python
1-2.py
demogest/Python_Practice
6d074d694e761e0ba390252fbeb1092bb21d26e1
[ "MIT" ]
null
null
null
1-2.py
demogest/Python_Practice
6d074d694e761e0ba390252fbeb1092bb21d26e1
[ "MIT" ]
null
null
null
1-2.py
demogest/Python_Practice
6d074d694e761e0ba390252fbeb1092bb21d26e1
[ "MIT" ]
null
null
null
import random if __name__ == '__main__': cnt=0 ans = random.randint(0,9) print("answer is:"+str(ans)) guess = int(input("Guess a num:")) cnt += 1 while ans != guess: if (ans>guess): print("你猜的数字小于正确答案") else: print("你猜的数字大于正确答案") cnt +=...
25.4375
43
0.498771
51
407
3.823529
0.54902
0.123077
0.133333
0.184615
0.225641
0.225641
0
0
0
0
0
0.018519
0.336609
407
15
44
27.133333
0.703704
0
0
0.266667
0
0
0.193878
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.266667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d89c407be597ccdd4da223bbc35b0d163943f5db
2,330
py
Python
test/server/stereo_test.py
XuehaiPan/UnrealCV
46e0e981ccff1f025730f2d0d89b0c3ecee5b7eb
[ "MIT" ]
null
null
null
test/server/stereo_test.py
XuehaiPan/UnrealCV
46e0e981ccff1f025730f2d0d89b0c3ecee5b7eb
[ "MIT" ]
null
null
null
test/server/stereo_test.py
XuehaiPan/UnrealCV
46e0e981ccff1f025730f2d0d89b0c3ecee5b7eb
[ "MIT" ]
null
null
null
# pytest -s stereo.py -k [name] import math import random import pytest from conftest import checker, ver from unrealcv import client class Vec3: def __init__(self, data): if isinstance(data, str): self.vec = [float(v) for v in data.split(' ')] if isinstance(data, list): s...
29.125
91
0.584549
336
2,330
3.904762
0.28869
0.012195
0.011433
0.016006
0.262195
0.221037
0.221037
0.195122
0.0625
0.0625
0
0.039067
0.263949
2,330
79
92
29.493671
0.725948
0.012446
0
0.068966
0
0
0.129187
0.009134
0
0
0
0
0.103448
1
0.172414
false
0
0.086207
0.103448
0.37931
0.017241
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
d8a023402d0ab521531ac333b97844866ff3cfe6
1,065
py
Python
output/models/nist_data/union/g_month_day_g_year_month/schema_instance/nistschema_sv_iv_union_g_month_day_g_year_month_enumeration_3_xsd/nistschema_sv_iv_union_g_month_day_g_year_month_enumeration_3.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/union/g_month_day_g_year_month/schema_instance/nistschema_sv_iv_union_g_month_day_g_year_month_enumeration_3_xsd/nistschema_sv_iv_union_g_month_day_g_year_month_enumeration_3.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/union/g_month_day_g_year_month/schema_instance/nistschema_sv_iv_union_g_month_day_g_year_month_enumeration_3_xsd/nistschema_sv_iv_union_g_month_day_g_year_month_enumeration_3.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from enum import Enum from typing import Optional from xsdata.models.datatype import XmlPeriod __NAMESPACE__ = "NISTSchema-SV-IV-union-gMonthDay-gYearMonth-enumeration-3-NS" class NistschemaSvIvUnionGMonthDayGYearMonthEnumeration3Type(Enum): VALUE_1990_11 = XmlPeriod("199...
32.272727
84
0.723944
119
1,065
6.294118
0.403361
0.048064
0.056075
0.076101
0.22964
0.22964
0.22964
0.22964
0.162884
0.162884
0
0.110236
0.165258
1,065
32
85
33.28125
0.732283
0
0
0
0
0
0.232864
0.166197
0
0
0
0
0
1
0
false
0
0.153846
0
0.653846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8a816ef4f4c510fef8e04e16bafd59d0161deca
395
py
Python
testing/test_button.py
abalakh/widgetastic.patternfly4
d0ef7bfd183447fe62fd3d9355d38c69b0516b83
[ "Apache-2.0" ]
null
null
null
testing/test_button.py
abalakh/widgetastic.patternfly4
d0ef7bfd183447fe62fd3d9355d38c69b0516b83
[ "Apache-2.0" ]
null
null
null
testing/test_button.py
abalakh/widgetastic.patternfly4
d0ef7bfd183447fe62fd3d9355d38c69b0516b83
[ "Apache-2.0" ]
null
null
null
from widgetastic.widget import View from widgetastic_patternfly4 import Button def test_button_click(browser): class TestView(View): any_button = Button() button1 = Button("Primary") button2 = Button("Link to Core Docs") view = TestView(browser) assert view.any_button.is_displayed...
26.333333
45
0.724051
49
395
5.673469
0.489796
0.107914
0.093525
0.151079
0
0
0
0
0
0
0
0.015873
0.202532
395
14
46
28.214286
0.866667
0
0
0
0
0
0.060759
0
0
0
0
0
0.272727
1
0.090909
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8a92af6bd5d53facdd1798be691e246e55d2d35
471
py
Python
research/migrations/0006_auto_20170928_1932.py
kshitij1234/Chemisty-Department-Website
44848fe213aa47e8c02ca612f81c2b49a28b09d1
[ "MIT" ]
null
null
null
research/migrations/0006_auto_20170928_1932.py
kshitij1234/Chemisty-Department-Website
44848fe213aa47e8c02ca612f81c2b49a28b09d1
[ "MIT" ]
null
null
null
research/migrations/0006_auto_20170928_1932.py
kshitij1234/Chemisty-Department-Website
44848fe213aa47e8c02ca612f81c2b49a28b09d1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-09-28 19:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('research', '0005_researchareas_object_no'), ] operations = [ migrations.Alt...
22.428571
53
0.632696
51
471
5.627451
0.803922
0
0
0
0
0
0
0
0
0
0
0.068376
0.254777
471
20
54
23.55
0.749288
0.144374
0
0
1
0
0.1525
0.07
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8ae64cf1c18c7a5ad0a5a906389a2f03fa7c0d6
7,121
py
Python
simCtrl_postSimFastaExtractor.py
joelarmstrong/ragoutSimulations
94ebe629151d67c1c53043a6dd12cda66dbdd145
[ "MIT" ]
null
null
null
simCtrl_postSimFastaExtractor.py
joelarmstrong/ragoutSimulations
94ebe629151d67c1c53043a6dd12cda66dbdd145
[ "MIT" ]
null
null
null
simCtrl_postSimFastaExtractor.py
joelarmstrong/ragoutSimulations
94ebe629151d67c1c53043a6dd12cda66dbdd145
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Slightly modified version of simCtrl_postSimFastaExtractor.py, originally part of evolverSimControl and developed by Dent Earl. eval_evolverpairwiseMAFextractor.py dent earl, dearl (a) soe ucsc edu 16 nov 2009 A script that will take the path to a simulation out directory and makes repeated ca...
37.478947
98
0.633057
921
7,121
4.868621
0.322476
0.022748
0.024532
0.029661
0.131579
0.114184
0.099465
0.067574
0.067574
0.06066
0
0.003877
0.239292
7,121
189
99
37.677249
0.823888
0.178767
0
0.162602
0
0.00813
0.15526
0
0
0
0
0
0
0
null
null
0
0.073171
null
null
0.03252
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d8b863d7fd4fc7817b941ad24da51e2a77386071
536
py
Python
utils/fitting/ode.py
WadhwaniAI/covid-modelling
db9f89bfbec392ad4de6b4583cfab7c3d823c1c9
[ "MIT" ]
3
2021-06-23T10:27:11.000Z
2022-02-09T07:50:42.000Z
utils/fitting/ode.py
WadhwaniAI/covid-modelling
db9f89bfbec392ad4de6b4583cfab7c3d823c1c9
[ "MIT" ]
3
2021-06-23T09:36:29.000Z
2022-01-13T03:38:16.000Z
utils/fitting/ode.py
WadhwaniAI/covid-modelling
db9f89bfbec392ad4de6b4583cfab7c3d823c1c9
[ "MIT" ]
null
null
null
import numpy as np from scipy.integrate import solve_ivp class ODE_Solver(): def __init__(self): pass def solve_ode(self, state_init_values, func, total_days=200, time_step=1, method='Radau'): """ Solves ODE """ t_start = 0 t_final = total_days time_st...
24.363636
94
0.604478
73
536
4.082192
0.506849
0.090604
0.100671
0
0
0
0
0
0
0
0
0.013477
0.307836
536
21
95
25.52381
0.789757
0.018657
0
0
0
0
0.00996
0
0
0
0
0
0
1
0.166667
false
0.083333
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d8bd56fd942aa23d6a59ff650973c350738792d2
3,181
py
Python
stonks/mailbox.py
tjduigna/stonks
bc8fdca24931d2b9167c7107744a8ffb63eb9937
[ "Apache-2.0" ]
null
null
null
stonks/mailbox.py
tjduigna/stonks
bc8fdca24931d2b9167c7107744a8ffb63eb9937
[ "Apache-2.0" ]
null
null
null
stonks/mailbox.py
tjduigna/stonks
bc8fdca24931d2b9167c7107744a8ffb63eb9937
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020, Stonks Development Team # Distributed under the terms of the Apache License 2.0 from collections import defaultdict from traitlets.config.configurable import Configurable from traitlets import Unicode, List from imapclient import IMAPClient class Mailbox(Configurable): ...
36.147727
61
0.6127
409
3,181
4.709046
0.371638
0.033229
0.049844
0.051921
0.01973
0
0
0
0
0
0
0.005737
0.287645
3,181
87
62
36.563218
0.844219
0.329456
0
0.065217
0
0
0.085256
0.010532
0
0
0
0.022989
0
1
0.065217
false
0
0.086957
0
0.369565
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d8c4070a5abe25bd3d2065d4ca68e1dd8c98b6a6
361
py
Python
doitfart.py
TheKitBoi/Funkin-XML-Editor
5c57ae5e471bafd310f931c127203e6d48e51429
[ "MIT" ]
6
2021-04-10T07:04:41.000Z
2022-03-22T19:02:52.000Z
doitfart.py
TheKitBoi/Funkin-XML-Editor
5c57ae5e471bafd310f931c127203e6d48e51429
[ "MIT" ]
6
2021-04-14T02:00:51.000Z
2021-06-24T14:20:25.000Z
doitfart.py
TheKitBoi/Funkin-XML-Editor
5c57ae5e471bafd310f931c127203e6d48e51429
[ "MIT" ]
2
2021-06-05T17:01:59.000Z
2021-11-20T19:11:44.000Z
def main(): space = " " item = "o" buffer = "" for x in range(2): spacing = "" for y in range(50): spacing += space buffer = spacing + item print(buffer) for z in range(50): spacing -= space buffer = item + spacin...
20.055556
35
0.421053
37
361
4.108108
0.432432
0.138158
0.118421
0.210526
0.355263
0.355263
0
0
0
0
0
0.026316
0.473684
361
18
36
20.055556
0.773684
0
0
0.133333
0
0
0.005556
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.066667
0.133333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8c5b9f60e5a6e43910be4d18032dea8d99f8d7a
703
py
Python
lux/models/__init__.py
quantmind/lux
7318fcd86c77616aada41d8182a04339680a554c
[ "BSD-3-Clause" ]
21
2015-03-28T23:27:43.000Z
2020-11-23T13:24:10.000Z
lux/models/__init__.py
quantmind/lux
7318fcd86c77616aada41d8182a04339680a554c
[ "BSD-3-Clause" ]
195
2015-02-18T17:22:28.000Z
2017-12-01T23:01:16.000Z
lux/models/__init__.py
quantmind/lux
7318fcd86c77616aada41d8182a04339680a554c
[ "BSD-3-Clause" ]
16
2015-03-31T23:15:38.000Z
2017-04-18T11:59:43.000Z
"""Lux models are built on top of * Marshmallow Schemas * SqlAlchemy models """ from marshmallow import ValidationError, post_dump, post_load from marshmallow.validate import OneOf import inflect from .schema import Schema, resource_name, get_schema_class from .component import Component from .model import ModelCont...
18.025641
61
0.688478
76
703
6.184211
0.434211
0.06383
0.051064
0.068085
0.110638
0
0
0
0
0
0
0
0.210526
703
38
62
18.5
0.846847
0.103841
0
0
0
0
0.21129
0
0
0
0
0
0
1
0
false
0
0.32
0
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d8c5f5299d766afc9f53ab4955c69738493a9350
362
py
Python
ratter/version.py
fa-me/ratter
dce438b047d818aca92d47aa72a0268d48aab2d9
[ "BSD-3-Clause" ]
null
null
null
ratter/version.py
fa-me/ratter
dce438b047d818aca92d47aa72a0268d48aab2d9
[ "BSD-3-Clause" ]
null
null
null
ratter/version.py
fa-me/ratter
dce438b047d818aca92d47aa72a0268d48aab2d9
[ "BSD-3-Clause" ]
null
null
null
__name__ = "ratter" __version__ = "0.1.0-a0" __author__ = "Fabian Meyer" __maintainer__ = "Fabian Meyer" __email__ = "fabian.meyer@ise.fraunhofer.de" __copyright__ = "Copyright 2020, Fraunhofer ISE" __license__ = "BSD 3-clause" __url__ = "https://github.com/fa-me/ratter" __summary__ = """calculate reflection, absorptio...
40.222222
90
0.756906
45
362
5.288889
0.8
0.138655
0
0
0
0
0
0
0
0
0
0.02795
0.110497
362
9
90
40.222222
0.71118
0
0
0
0
0
0.581267
0.082645
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8c8123bf5440d53fdd205baf674c1528985f0d6
1,962
py
Python
watch.py
maksteel/selwd
1ee8f76fd8ed970857c6a95796d7ebddf6ef3c5a
[ "MIT" ]
null
null
null
watch.py
maksteel/selwd
1ee8f76fd8ed970857c6a95796d7ebddf6ef3c5a
[ "MIT" ]
null
null
null
watch.py
maksteel/selwd
1ee8f76fd8ed970857c6a95796d7ebddf6ef3c5a
[ "MIT" ]
null
null
null
import threading import time, sys, datetime from selenium import webdriver import urllib class WatchYoutube(object): """ WatchYoutube class The run() method will be started and it will run in the background until the video ends. """ def __init__(self, interval=1, video_id='GSAfPHun-9I', download_a...
40.040816
132
0.626911
237
1,962
5.092827
0.459916
0.040597
0.053024
0.029826
0.12179
0.031483
0
0
0
0
0
0.013222
0.267584
1,962
48
133
40.875
0.826722
0.057594
0
0
0
0.033333
0.148893
0.037559
0
0
0
0
0
0
null
null
0
0.133333
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d8c973866ec6c0fe321d17bdcf46ae4ebe4d62a0
2,347
py
Python
onap_data_provider/tag_handlers.py
onap/integration-data-provider
0565394ecbd96730bf982909693514ab88703708
[ "Apache-2.0" ]
null
null
null
onap_data_provider/tag_handlers.py
onap/integration-data-provider
0565394ecbd96730bf982909693514ab88703708
[ "Apache-2.0" ]
null
null
null
onap_data_provider/tag_handlers.py
onap/integration-data-provider
0565394ecbd96730bf982909693514ab88703708
[ "Apache-2.0" ]
null
null
null
"""Custom yaml tag handlers module.""" """ Copyright 2021 Deutsche Telekom AG 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 Unles...
30.480519
86
0.678313
331
2,347
4.767372
0.429003
0.035488
0.038023
0.020279
0.084918
0.084918
0.04436
0.022814
0
0
0
0.007743
0.229655
2,347
76
87
30.881579
0.865044
0.384746
0
0
0
0
0.001372
0
0
0
0
0
0
1
0.1875
false
0
0.25
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8ce48a885595390ee5928a5f9dd4510ccf360d2
363
py
Python
py4e/course3/sum_url.py
tofritz/ExampleWork
6779cce3148f1595fd062e4941aa2697c0a8248d
[ "MIT" ]
null
null
null
py4e/course3/sum_url.py
tofritz/ExampleWork
6779cce3148f1595fd062e4941aa2697c0a8248d
[ "MIT" ]
8
2020-02-05T00:44:39.000Z
2020-02-18T23:11:16.000Z
py4e/course3/sum_url.py
tofritz/ExampleWork
6779cce3148f1595fd062e4941aa2697c0a8248d
[ "MIT" ]
null
null
null
from urllib.request import urlopen from bs4 import BeautifulSoup import ssl ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE html = urlopen('http://py4e-data.dr-chuck.net/comments_33075.html', context=ctx).read() soup = BeautifulSoup(html, "html.parser") print(sum([int(t...
25.928571
87
0.760331
56
363
4.821429
0.714286
0.074074
0
0
0
0
0
0
0
0
0
0.024465
0.099174
363
13
88
27.923077
0.801223
0
0
0
0
0
0.176309
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d8ce6d492bb6a9d6398ce4d7d561916af5c3469a
894
py
Python
backend/users/views.py
gmpmagalhaes/django-occurrence-logger
410541dc73b314341f26b008f2fad146dd71e202
[ "MIT" ]
null
null
null
backend/users/views.py
gmpmagalhaes/django-occurrence-logger
410541dc73b314341f26b008f2fad146dd71e202
[ "MIT" ]
5
2021-03-30T13:58:38.000Z
2021-09-22T19:27:30.000Z
backend/users/views.py
gmpmagalhaes/django-occurrence-logger
410541dc73b314341f26b008f2fad146dd71e202
[ "MIT" ]
null
null
null
from rest_framework import permissions, viewsets, response, status from .models import CustomUser as User from .serializers import UserSerializer class CustomPermission(permissions.BasePermission): ''' If is admin -> allow all (GET, PUT, POST, DELETE) If user is owner -> allow RETRIEVE, PATCH ''' d...
34.384615
66
0.674497
102
894
5.813725
0.529412
0.040472
0.065767
0.091062
0.134907
0.094435
0
0
0
0
0
0
0.238255
894
25
67
35.76
0.870778
0.10179
0
0.210526
0
0
0.033206
0
0
0
0
0
0
1
0.105263
false
0
0.157895
0
0.736842
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8cec83f9615a550106dd70d2d53e305c6879145
1,233
py
Python
run_worker.py
kram22000/gchatautorespond
9e27f46ba699f025b5e24aa691358e8cf80fd98e
[ "BSD-2-Clause" ]
55
2015-10-18T20:00:56.000Z
2021-01-20T00:02:03.000Z
run_worker.py
kram22000/gchatautorespond
9e27f46ba699f025b5e24aa691358e8cf80fd98e
[ "BSD-2-Clause" ]
12
2016-02-20T02:26:30.000Z
2022-02-16T04:36:57.000Z
run_worker.py
kram22000/gchatautorespond
9e27f46ba699f025b5e24aa691358e8cf80fd98e
[ "BSD-2-Clause" ]
9
2016-11-04T16:10:24.000Z
2021-12-09T04:05:15.000Z
from gevent import monkey monkey.patch_all() import django django.setup() import logging from threading import Thread from django.conf import settings from gevent.pywsgi import WSGIServer from gchatautorespond.lib.chatworker.worker import Worker, app from gchatautorespond.lib.chatworker.bot import ContextFilter i...
30.073171
86
0.718573
160
1,233
5.45
0.4875
0.034404
0.052752
0.075688
0
0
0
0
0
0
0
0.006061
0.19708
1,233
40
87
30.825
0.874747
0.214112
0
0
0
0
0.06639
0.023859
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d8cef1205b2c4207942a002f69253af158fed6fb
3,548
py
Python
kinbot/vector.py
rubenvdvijver/KinBot
5bbb29c087b53bc63ffbb1d393ab4e217390eb82
[ "BSD-3-Clause" ]
null
null
null
kinbot/vector.py
rubenvdvijver/KinBot
5bbb29c087b53bc63ffbb1d393ab4e217390eb82
[ "BSD-3-Clause" ]
null
null
null
kinbot/vector.py
rubenvdvijver/KinBot
5bbb29c087b53bc63ffbb1d393ab4e217390eb82
[ "BSD-3-Clause" ]
null
null
null
################################################### ## ## ## This file is part of the KinBot code v2.0 ## ## ## ## The contents are covered by the terms of the ## ## BSD 3-clause license included in the LICENSE ## ## file,...
27.503876
99
0.477734
528
3,548
3.193182
0.295455
0.00949
0.008897
0.008897
0.299526
0.25089
0.172598
0.172598
0.172598
0.145907
0
0.041066
0.354848
3,548
128
100
27.71875
0.6955
0.525085
0
0
0
0
0.005793
0
0
0
0
0
0
1
0.205882
false
0
0.029412
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d8d025b2fd0cc39de66993b08f7d3d9657562dcd
862
py
Python
nomi/migrations/0038_auto_20170605_1406.py
TheDjangoBoys/Gymkhana-Nominations
6ce13fb3a21fe91630e0c8fdaf597e61c87f2d06
[ "MIT" ]
null
null
null
nomi/migrations/0038_auto_20170605_1406.py
TheDjangoBoys/Gymkhana-Nominations
6ce13fb3a21fe91630e0c8fdaf597e61c87f2d06
[ "MIT" ]
null
null
null
nomi/migrations/0038_auto_20170605_1406.py
TheDjangoBoys/Gymkhana-Nominations
6ce13fb3a21fe91630e0c8fdaf597e61c87f2d06
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2017-06-05 14:06 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nomi', '0037_auto_20170605_1120'), ] operations = [ migrations.CreateModel( ...
31.925926
236
0.610209
87
862
5.896552
0.689655
0.066277
0.105263
0
0
0
0
0
0
0
0
0.052469
0.24826
862
26
237
33.153846
0.739198
0.077726
0
0.105263
1
0
0.228535
0.02904
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8d6ced28fc65db3731f6651f076f25b2569f1b7
937
py
Python
pni_customization/config/reporting.py
DaizyModi/pni_customization
577946e91c8fe956ca64c089327ce18174002ec4
[ "MIT" ]
null
null
null
pni_customization/config/reporting.py
DaizyModi/pni_customization
577946e91c8fe956ca64c089327ce18174002ec4
[ "MIT" ]
null
null
null
pni_customization/config/reporting.py
DaizyModi/pni_customization
577946e91c8fe956ca64c089327ce18174002ec4
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "label": _("Other Reports"), "icon": "fa fa-list", "items": [ { "type": "report", "is_query_report": True, "name": "Items To Be Requested", "reference_doctype": "Item", "onboard": 1, }, ...
22.309524
79
0.565635
95
937
5.336842
0.536842
0.078895
0.094675
0.134122
0.35503
0.35503
0.35503
0.232742
0.232742
0.232742
0
0.002933
0.272145
937
42
80
22.309524
0.740469
0
0
0.292683
0
0
0.493603
0
0
0
0
0
0
1
0.02439
true
0
0.04878
0.02439
0.097561
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d8d855ae1bb46f86577f62b958e973d3751132ce
2,629
py
Python
servicios_profesionales/usuarios/forms.py
acs-um/ServiciosProfesionales
b29d67cda42f3d975a8abaf58203d92c9d1a3f57
[ "MIT" ]
1
2018-05-24T23:33:02.000Z
2018-05-24T23:33:02.000Z
servicios_profesionales/usuarios/forms.py
acs-um/ServiciosProfesionales
b29d67cda42f3d975a8abaf58203d92c9d1a3f57
[ "MIT" ]
22
2018-05-07T20:46:27.000Z
2018-06-10T23:59:49.000Z
servicios_profesionales/usuarios/forms.py
acs-um/ServiciosProfesionales
b29d67cda42f3d975a8abaf58203d92c9d1a3f57
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserChangeForm from django.forms import ModelForm from usuarios.models import MyUser, Person class SignUpForm(ModelForm): email = forms.EmailField(required=True) password = forms.CharField(min_length=6, widget=forms.PasswordInput()) password_...
36.013699
107
0.655763
299
2,629
5.638796
0.311037
0.033215
0.040332
0.054567
0.42586
0.362989
0.338078
0.338078
0.233689
0.233689
0
0.008412
0.231267
2,629
72
108
36.513889
0.825829
0.015215
0
0.309091
0
0
0.154233
0.016235
0
0
0
0
0
1
0.109091
false
0.363636
0.072727
0
0.509091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d8de076527da0f3fc0188f700413739394226f14
4,717
py
Python
tests/functional/regressions/test_issue213.py
remorses/tartiflette-whl
92bed13de130a7a88278d7019314135e01281259
[ "MIT" ]
530
2019-06-04T11:45:36.000Z
2022-03-31T09:29:56.000Z
tests/functional/regressions/test_issue213.py
remorses/tartiflette-whl
92bed13de130a7a88278d7019314135e01281259
[ "MIT" ]
242
2019-06-04T11:53:08.000Z
2022-03-28T07:06:27.000Z
tests/functional/regressions/test_issue213.py
remorses/tartiflette-whl
92bed13de130a7a88278d7019314135e01281259
[ "MIT" ]
36
2019-06-21T06:40:27.000Z
2021-11-04T13:11:16.000Z
import pytest from tartiflette import Resolver, create_engine _SDL = """ type Query { hello(name: String = "Unknown"): String bye(name: String! = "Unknown"): String } """ @pytest.fixture(scope="module") async def ttftt_engine(): @Resolver("Query.hello", schema_name="test_issue213") async def resolve_que...
25.090426
117
0.325207
313
4,717
4.837061
0.268371
0.084544
0.069353
0.05284
0.416777
0.335535
0.299868
0.237781
0.192867
0.142668
0
0.014166
0.521094
4,717
187
118
25.224599
0.656043
0.006784
0
0.41129
0
0.008065
0.232312
0.013177
0
0
0
0
0.008065
1
0
false
0
0.016129
0
0.048387
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8e962e12a7a074d4281df59fa6622f6e132388e
9,066
py
Python
posts/migrations/0001_initial.py
saurabhpetkar/club_portal
4c0f68ca01f4e4ee7048b58d40226afb9f8ae876
[ "MIT" ]
2
2019-01-12T08:13:37.000Z
2019-01-17T19:18:51.000Z
posts/migrations/0001_initial.py
saurabhpetkar/club_portal
4c0f68ca01f4e4ee7048b58d40226afb9f8ae876
[ "MIT" ]
57
2018-11-07T05:07:09.000Z
2022-01-13T01:02:43.000Z
posts/migrations/0001_initial.py
saurabhpetkar/club_portal
4c0f68ca01f4e4ee7048b58d40226afb9f8ae876
[ "MIT" ]
12
2018-11-12T20:10:06.000Z
2019-10-15T16:33:23.000Z
# Generated by Django 2.1.3 on 2019-01-29 11:48 import ckeditor_uploader.fields from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings....
48.741935
316
0.579859
921
9,066
5.561346
0.216069
0.029676
0.0492
0.077314
0.642913
0.588052
0.551542
0.533581
0.476962
0.457829
0
0.006643
0.286014
9,066
185
317
49.005405
0.784644
0.004964
0
0.567416
1
0.011236
0.159996
0
0
0
0
0
0
1
0
false
0
0.022472
0
0.044944
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8ebe7d5203ac9254dd75b62f4fb850fda65633a
3,793
py
Python
schedules/admin.py
NadavK/djhome
4f0d936dc475c91e0590bd22deae818cf2650840
[ "MIT" ]
null
null
null
schedules/admin.py
NadavK/djhome
4f0d936dc475c91e0590bd22deae818cf2650840
[ "MIT" ]
8
2020-02-11T23:59:46.000Z
2022-03-03T21:49:33.000Z
schedules/admin.py
NadavK/djhome
4f0d936dc475c91e0590bd22deae818cf2650840
[ "MIT" ]
null
null
null
from django.contrib import admin from guardian.admin import GuardedModelAdmin from .models import Schedule, OnetimeSchedule from django import forms from django.forms import Textarea, TextInput from django.db import models import dateutil.parser import requests class ScheduleAdminForm(forms.ModelForm): #def clean...
39.926316
195
0.618771
444
3,793
5.146396
0.391892
0.030635
0.052079
0.050328
0.312473
0.245077
0.179869
0.12954
0.093654
0.093654
0
0.020725
0.236752
3,793
94
196
40.351064
0.768566
0.406538
0
0.090909
0
0
0.136528
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.613636
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8ec47b72de1e0d84fb9b992b6450cf8eb115ff6
5,961
py
Python
maskrcnn/inference_rpn.py
hqbao/dlp_tf
e8fe3281470faebbe8e36caf55025c270e84c44f
[ "MIT" ]
null
null
null
maskrcnn/inference_rpn.py
hqbao/dlp_tf
e8fe3281470faebbe8e36caf55025c270e84c44f
[ "MIT" ]
null
null
null
maskrcnn/inference_rpn.py
hqbao/dlp_tf
e8fe3281470faebbe8e36caf55025c270e84c44f
[ "MIT" ]
1
2021-12-30T08:55:37.000Z
2021-12-30T08:55:37.000Z
import numpy as np import matplotlib.pyplot as plt import tensorflow as tf from datetime import datetime from matplotlib.patches import Rectangle from pycocotools.coco import COCO from datagen import genx from utils import genanchors, box2frame, nsm from models import build_train_maskrcnn_fpn, build_inference_maskrcnn...
28.521531
94
0.723369
882
5,961
4.552154
0.175737
0.034869
0.022416
0.026899
0.721793
0.710336
0.677709
0.61071
0.590535
0.590535
0
0.029756
0.154337
5,961
208
95
28.658654
0.766713
0.006375
0
0.639241
0
0
0.079344
0.018948
0
0
0
0
0
1
0
false
0
0.063291
0
0.063291
0.012658
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8ef5c32fd015ebc5dd0931cdc3a5da2b9c44f42
872
py
Python
server/pyfiles/config.py
haileyajohnson/cem-utility
8a7fd3b2377c1cc23e373a5aa0cc489aade58d36
[ "MIT" ]
1
2020-07-31T15:02:07.000Z
2020-07-31T15:02:07.000Z
server/pyfiles/config.py
haileyajohnson/cem-wich
8a7fd3b2377c1cc23e373a5aa0cc489aade58d36
[ "MIT" ]
4
2019-12-18T19:59:07.000Z
2019-12-18T19:59:08.000Z
server/pyfiles/config.py
haileyajohnson/cem-utility
8a7fd3b2377c1cc23e373a5aa0cc489aade58d36
[ "MIT" ]
1
2020-07-31T15:09:00.000Z
2020-07-31T15:09:00.000Z
from ctypes import * # configuration object passed to CEM lib class Config(Structure): _fields_ = [ ("grid", POINTER(POINTER(c_double))), ("waveHeights", POINTER(c_double)), ("waveAngles", POINTER(c_double)), ('wavePeriods', POINTER(c_double)), ('asymmetry', c_double), ...
33.538462
45
0.59289
81
872
6.098765
0.469136
0.212551
0.11336
0
0
0
0
0
0
0
0
0
0.243119
872
26
46
33.538462
0.748485
0.043578
0
0
0
0
0.306122
0.086435
0
0
0
0
0
1
0
false
0
0.041667
0
0.125
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8f4aee3e60e570ce848e096f1a190f13571f99e
387
py
Python
ksif/tests/frame/test_periodic_rank.py
MingyoJung/ksif
ccb96cc8c0fd4588ddb3e2ee65596691af914f86
[ "MIT" ]
2
2018-07-31T07:45:42.000Z
2018-09-07T07:01:54.000Z
ksif/tests/frame/test_periodic_rank.py
MingyoJung/ksif
ccb96cc8c0fd4588ddb3e2ee65596691af914f86
[ "MIT" ]
2
2018-07-30T10:48:31.000Z
2018-08-02T11:33:24.000Z
ksif/tests/frame/test_periodic_rank.py
MingyoJung/ksif
ccb96cc8c0fd4588ddb3e2ee65596691af914f86
[ "MIT" ]
1
2020-02-07T14:30:45.000Z
2020-02-07T14:30:45.000Z
# -*- coding: utf-8 -*- """ :Author: Jaekyoung Kim :Date: 2018. 8. 24. """ from unittest import TestCase from ksif import * class TestPeriodicRank(TestCase): def test_periodic_rank(self): pf = Portfolio() pf = pf.periodic_rank(min_rank=26, max_rank=50) # Periodic sizes are 25. p...
20.368421
75
0.640827
53
387
4.584906
0.698113
0.098765
0
0
0
0
0
0
0
0
0
0.052632
0.21447
387
18
76
21.5
0.746711
0.22739
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8f7d7a317f6b0c179ec1ba666e716160688d7c8
4,477
py
Python
catalog/views.py
Zegers/FernwehFinancial
93bf9a15c805b5cba071bf889c6482b50fb6f46b
[ "Apache-2.0" ]
null
null
null
catalog/views.py
Zegers/FernwehFinancial
93bf9a15c805b5cba071bf889c6482b50fb6f46b
[ "Apache-2.0" ]
null
null
null
catalog/views.py
Zegers/FernwehFinancial
93bf9a15c805b5cba071bf889c6482b50fb6f46b
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render, get_object_or_404, redirect from django.views import generic from django.http import HttpResponseRedirect from django.urls import reverse, reverse_lazy import datetime from django.contrib.auth.mixins import PermissionRequiredMixin, LoginRequiredMixin from django.contrib.auth.decor...
34.976563
171
0.720125
551
4,477
5.682396
0.317604
0.028745
0.021718
0.026828
0.123922
0.123922
0.098371
0.098371
0.04152
0.04152
0
0.006022
0.184052
4,477
127
172
35.251969
0.851081
0.150547
0
0.234568
0
0
0.124934
0.051303
0
0
0
0
0
1
0.061728
false
0.024691
0.148148
0.024691
0.62963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8f8c0e63f03bd4d51cc5ec24ca5f9c6c41a4ad9
10,760
py
Python
tessagon/core/rotate_tile_generator.py
virtualritz/tessagon
af1b1b12a6e92b226f76bfd616bde90d5e15b07c
[ "Apache-2.0" ]
199
2017-10-27T12:13:08.000Z
2022-03-24T09:54:48.000Z
tessagon/core/rotate_tile_generator.py
virtualritz/tessagon
af1b1b12a6e92b226f76bfd616bde90d5e15b07c
[ "Apache-2.0" ]
4
2018-03-23T03:15:37.000Z
2019-11-06T15:58:24.000Z
tessagon/core/rotate_tile_generator.py
virtualritz/tessagon
af1b1b12a6e92b226f76bfd616bde90d5e15b07c
[ "Apache-2.0" ]
20
2017-10-27T14:41:08.000Z
2021-12-28T10:12:59.000Z
from tessagon.core.tile_generator import TileGenerator from tessagon.core.abstract_tile import AbstractTile class RotateTileGenerator(TileGenerator): # This generates tiles that are rotated from a regular # grid arrangement. def __init__(self, tessagon, **kwargs): super().__init__(tessagon, **kwar...
43.04
76
0.545539
1,216
10,760
4.620066
0.100329
0.051264
0.014952
0.034176
0.643289
0.479174
0.409754
0.399252
0.363831
0.279281
0
0.015051
0.357807
10,760
249
77
43.212851
0.797974
0.057714
0
0.420792
1
0
0.036346
0
0
0
0
0
0
1
0.10396
false
0
0.009901
0.014851
0.153465
0.044554
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b0119510e691896fed97642728986dbfa29904c
3,239
py
Python
figures/SF1_SeqIdent/plot_sim_dist_pkis12.py
SpencerEricksen/informers
5fd3934f5789c371026fc9eece1846ff1294122b
[ "MIT" ]
null
null
null
figures/SF1_SeqIdent/plot_sim_dist_pkis12.py
SpencerEricksen/informers
5fd3934f5789c371026fc9eece1846ff1294122b
[ "MIT" ]
1
2019-01-15T22:17:25.000Z
2019-01-16T12:14:39.000Z
figures/SF1_SeqIdent/plot_sim_dist_pkis12.py
SpencerEricksen/informers
5fd3934f5789c371026fc9eece1846ff1294122b
[ "MIT" ]
1
2019-01-15T12:36:15.000Z
2019-01-15T12:36:15.000Z
#!/home/ssericksen/anaconda2/bin/python2.7 import numpy as np ## agg backend is used to create plot as a .png file import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt import sys #from matplotlib.ticker import MultipleLocator, FormatStrFormatter try: numbers_file1 = sys.argv[1] numbers_fi...
34.827957
123
0.672738
496
3,239
4.225806
0.370968
0.04771
0.036737
0.048664
0.204198
0.18416
0.099237
0.099237
0.087786
0.087786
0
0.056455
0.179685
3,239
92
124
35.206522
0.732405
0.112072
0
0.086957
0
0
0.133719
0.012649
0
0
0
0
0
0
null
null
0
0.057971
null
null
0.057971
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2b058df122d82e64650dd42db326bb56e28631a9
2,356
py
Python
sqlite3/jython/create/sqlite3_create.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
3
2015-05-12T16:44:27.000Z
2021-02-09T00:39:24.000Z
sqlite3/jython/create/sqlite3_create.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
null
null
null
sqlite3/jython/create/sqlite3_create.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
null
null
null
#! /usr/bin/jython # -*- coding: utf-8 -*- # # sqlite3_create.py # # Jun/02/2011 # # ------------------------------------------------------------------------- import sys import string import java from java.sql import DriverManager from java.lang import System from java.lang import String # sys.path.append ('/var...
31
87
0.58871
317
2,356
4.126183
0.33123
0.110092
0.107034
0.110092
0.232416
0.232416
0.232416
0.093272
0
0
0
0.078725
0.094228
2,356
75
88
31.413333
0.534208
0.189304
0
0
0
0
0.18617
0.041489
0
0
0
0
0
0
null
null
0.046512
0.186047
null
null
0.116279
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2b0efcd375ae257910c9b810d8a50553a91bab39
524
py
Python
ex053.py
erikamaylim/Python-CursoemVideo
5a6809818c4c55a02ec52379d95f3d20c833df2e
[ "MIT" ]
null
null
null
ex053.py
erikamaylim/Python-CursoemVideo
5a6809818c4c55a02ec52379d95f3d20c833df2e
[ "MIT" ]
null
null
null
ex053.py
erikamaylim/Python-CursoemVideo
5a6809818c4c55a02ec52379d95f3d20c833df2e
[ "MIT" ]
null
null
null
"""Crie um programa que leia uma frase qualquer e diga se ela é um palíndromo, desconsiderando os espaços. Exemplos de palíndromos: APOS A SOPA, A SACADA DA CASA, A TORRE DA DERROTA, O LOBO AMA O BOLO, ANOTARAM A DATA DA MARATONA.""" frase = str(input('Digite uma frase (sem pontuação ou acento): ')).strip().upper().re...
43.666667
101
0.687023
84
524
4.285714
0.619048
0.025
0.108333
0
0
0
0
0
0
0
0
0.002304
0.171756
524
11
102
47.636364
0.827189
0.433206
0
0
0
0
0.446735
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
2b0f996bf2805aaa79d12f0d0060c882f5e52530
210
py
Python
shape_recognition/libraries/UR10/testPoseReal.py
ys1998/tactile-shape-recognition
b5ab6f1cdf04ff23e14b467a590533e7ee740b52
[ "MIT" ]
null
null
null
shape_recognition/libraries/UR10/testPoseReal.py
ys1998/tactile-shape-recognition
b5ab6f1cdf04ff23e14b467a590533e7ee740b52
[ "MIT" ]
null
null
null
shape_recognition/libraries/UR10/testPoseReal.py
ys1998/tactile-shape-recognition
b5ab6f1cdf04ff23e14b467a590533e7ee740b52
[ "MIT" ]
null
null
null
from UR10 import * u = UR10Controller('10.1.1.6') x = URPoseManager() x.load('t1.urpose') print(x.getPosJoint('home')) resp = input('hit y if you want to continue') if resp == 'y': x.moveUR(u,'home',30)
26.25
46
0.642857
36
210
3.75
0.75
0
0
0
0
0
0
0
0
0
0
0.067797
0.157143
210
8
47
26.25
0.694915
0
0
0
0
0
0.269608
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b14ae1bc004eff1efb722a86dad31295a7a5b29
164
py
Python
test/login.py
Tacysea/first_use_git
7e1e4a2442f2ab3fd9c1f72b565d380c7b0de55e
[ "MIT" ]
null
null
null
test/login.py
Tacysea/first_use_git
7e1e4a2442f2ab3fd9c1f72b565d380c7b0de55e
[ "MIT" ]
null
null
null
test/login.py
Tacysea/first_use_git
7e1e4a2442f2ab3fd9c1f72b565d380c7b0de55e
[ "MIT" ]
null
null
null
def function(): print('hello world') a = 1 b = 2 c = 3 class myclass(object): def __inti__(self, name) self.name = name my = myclass('lgh') f = 6 h = 7 g = 8
10.933333
25
0.603659
30
164
3.166667
0.833333
0.168421
0
0
0
0
0
0
0
0
0
0.048
0.237805
164
14
26
11.714286
0.712
0
0
0
0
0
0.08642
0
0
0
0
0
0
0
null
null
0
0
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2b1f70c2ab49d20da44b0d8d411c0c695a06c850
1,399
py
Python
services/neural/kmeans/kmeans.py
vitorecomp/hackaton-deep-learn
962eac133ac92d56d8a55136773c2afe4da2e0b5
[ "MIT" ]
null
null
null
services/neural/kmeans/kmeans.py
vitorecomp/hackaton-deep-learn
962eac133ac92d56d8a55136773c2afe4da2e0b5
[ "MIT" ]
null
null
null
services/neural/kmeans/kmeans.py
vitorecomp/hackaton-deep-learn
962eac133ac92d56d8a55136773c2afe4da2e0b5
[ "MIT" ]
null
null
null
import numpy as np from scipy.spatial import distance style = 'kmeans_man' #style = None class Kmeans: @staticmethod def split(musicsDB): musics = [] for i in musicsDB: musics.append(i.toObject()) for i in musics: i['valor'] = i['valor'] + np.array(200) seeds = [] for i in range(0, 6): seeds.ap...
20.573529
51
0.609006
201
1,399
4.228856
0.288557
0.032941
0.049412
0.064706
0.085882
0.057647
0.042353
0
0
0
0
0.030669
0.230879
1,399
68
52
20.573529
0.759294
0.008578
0
0.178571
0
0
0.072098
0
0
0
0
0
0
0
null
null
0.017857
0.035714
null
null
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2b24e7e128f6c176a53bbe23456019c4f503ad21
3,878
py
Python
pysnmp/HH3C-SESSION-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/HH3C-SESSION-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/HH3C-SESSION-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HH3C-SESSION-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-SESSION-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:16:47 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar ...
110.8
477
0.780299
412
3,878
7.339806
0.31068
0.009259
0.008929
0.011905
0.35086
0.26918
0.23545
0.23545
0.23545
0.180886
0
0.092971
0.079165
3,878
34
478
114.058824
0.75385
0.084064
0
0
0
0
0.202089
0.018628
0
0
0
0
0
1
0
false
0
0.259259
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b26ae821cf5cb37ce34538228aa427e680d507a
586
py
Python
customhelpers.py
melvinwevers/w2v-convergence
4a7fc95687398084110ef90586fae323e1a5d597
[ "Apache-2.0" ]
1
2018-03-28T20:26:31.000Z
2018-03-28T20:26:31.000Z
customhelpers.py
melvinwevers/w2v-convergence
4a7fc95687398084110ef90586fae323e1a5d597
[ "Apache-2.0" ]
null
null
null
customhelpers.py
melvinwevers/w2v-convergence
4a7fc95687398084110ef90586fae323e1a5d597
[ "Apache-2.0" ]
1
2019-02-25T14:15:53.000Z
2019-02-25T14:15:53.000Z
def getYears(): """Return a list of years for which data is available.""" years = [1900, 1901, 1902, 1903, 1905, 1905, 1906, 1907, 1908, 1909, 1910] return years def getSentencesForYear(year): """Return list of sentences in given year. Each sentence is a list of words. Each word is a string. ...
34.470588
78
0.636519
76
586
4.907895
0.565789
0.064343
0.0563
0
0
0
0
0
0
0
0
0.109649
0.221843
586
16
79
36.625
0.708333
0.313993
0
0
0
0
0.14248
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2b369ecd2f8539514ded1f95b5b351d7454ec952
800
py
Python
{{cookiecutter.project_slug}}/backend/tests/conftest.py
SnkSynthesis/fastapi-svelte-template
88cd1e4f5d0e0827f1460666b0acbbaddb0ef727
[ "MIT" ]
2
2021-06-30T19:14:26.000Z
2021-07-31T10:14:51.000Z
{{cookiecutter.project_slug}}/backend/tests/conftest.py
SnkSynthesis/fastapi-svelte-template
88cd1e4f5d0e0827f1460666b0acbbaddb0ef727
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/backend/tests/conftest.py
SnkSynthesis/fastapi-svelte-template
88cd1e4f5d0e0827f1460666b0acbbaddb0ef727
[ "MIT" ]
1
2021-06-29T23:40:31.000Z
2021-06-29T23:40:31.000Z
from databases import Database from typing import AsyncGenerator, Generator import pytest from fastapi.testclient import TestClient from ..main import app from pathlib import Path from ..crud.deps import get_database, is_testing from .. import config async def get_database_override() -> AsyncGenerator[Database, None]...
26.666667
68
0.745
107
800
5.383178
0.392523
0.076389
0.065972
0
0
0
0
0
0
0
0
0
0.16875
800
29
69
27.586207
0.866165
0
0
0
0
0
0.02
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0.045455
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2b380086835f4c9a4bc612d8ada12015d140cef0
576
py
Python
Python/PycharmProjects/aula17/main.py
MarcelaSamili/Desafios-do-curso-de-Python
f331e91821c0c25b3e32d2075254ef650292f280
[ "MIT" ]
null
null
null
Python/PycharmProjects/aula17/main.py
MarcelaSamili/Desafios-do-curso-de-Python
f331e91821c0c25b3e32d2075254ef650292f280
[ "MIT" ]
null
null
null
Python/PycharmProjects/aula17/main.py
MarcelaSamili/Desafios-do-curso-de-Python
f331e91821c0c25b3e32d2075254ef650292f280
[ "MIT" ]
null
null
null
'''num = [] for n in range(0, 4): num.append(int(input(f'Digite um número na posição {n}:'))) print(f'O MAIOR número foi {max(num)} nas posiçoes ', end='') for i, v in enumerate(num): if v == max(num): print(f'{i}...', end='' ) print() print(f'O MENOR número foi {min(num)} nas posições ', end='') for i,...
28.8
63
0.559028
96
576
3.322917
0.40625
0.075235
0.050157
0.050157
0.238245
0.15674
0.15674
0.15674
0.15674
0
0
0.010965
0.208333
576
19
64
30.315789
0.688596
0.682292
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
2b3e8a4f3d27bbc929790c32364d587c78a23e46
1,704
py
Python
zentral/contrib/osquery/views/file_categories.py
arubdesu/zentral
ac0fe663f6e1c27f9a9f55a7500a87e6ac7d9190
[ "Apache-2.0" ]
634
2015-10-30T00:55:40.000Z
2022-03-31T02:59:00.000Z
zentral/contrib/osquery/views/file_categories.py
arubdesu/zentral
ac0fe663f6e1c27f9a9f55a7500a87e6ac7d9190
[ "Apache-2.0" ]
145
2015-11-06T00:17:33.000Z
2022-03-16T13:30:31.000Z
zentral/contrib/osquery/views/file_categories.py
arubdesu/zentral
ac0fe663f6e1c27f9a9f55a7500a87e6ac7d9190
[ "Apache-2.0" ]
103
2015-11-07T07:08:49.000Z
2022-03-18T17:34:36.000Z
import logging from django.contrib.auth.mixins import PermissionRequiredMixin from django.urls import reverse_lazy from django.views.generic import CreateView, DeleteView, DetailView, ListView, UpdateView from zentral.contrib.osquery.forms import FileCategoryForm from zentral.contrib.osquery.models import FileCategory ...
34.77551
96
0.771714
170
1,704
7.552941
0.388235
0.070093
0.097352
0.038941
0.272586
0.272586
0.272586
0.180685
0.180685
0.180685
0
0
0.140258
1,704
48
97
35.5
0.876451
0
0
0.441176
0
0
0.163732
0.115023
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.823529
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2b483a673c92a509ff6c0bbdb600d314e22dc119
644
py
Python
dev/node/runners_tools.py
bowlofstew/client
0d5ae42aaf9863e3871828b6df06170aad17c560
[ "MIT" ]
40
2015-04-15T09:40:23.000Z
2022-02-11T11:07:24.000Z
dev/node/runners_tools.py
bowlofstew/client
0d5ae42aaf9863e3871828b6df06170aad17c560
[ "MIT" ]
19
2015-04-15T18:34:53.000Z
2018-11-17T00:11:05.000Z
dev/node/runners_tools.py
bowlofstew/client
0d5ae42aaf9863e3871828b6df06170aad17c560
[ "MIT" ]
22
2015-04-15T09:45:46.000Z
2020-09-29T17:04:19.000Z
from biicode.common.utils.file_utils import load_resource, save from biicode.client.dev.node import DEV_NODE_DIR import platform import os import stat def create_noderunner(project_path, blocks_folder, deps_folder): if platform.system() == 'Windows': runner = "noderunner.bat" else: runner = "n...
35.777778
94
0.76087
90
644
5.177778
0.433333
0.045064
0.042918
0.085837
0
0
0
0
0
0
0
0
0.14441
644
17
95
37.882353
0.845735
0
0
0
0
0
0.063665
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2b4a822bcecd203fc94fc2efc2ca5cc1eba1e65d
1,763
py
Python
hypha/apply/funds/migrations/0079_add_reviewer_settings_for_submission_access.py
maxpearl/hypha
e181ebadfb744aab34617bb766e746368d6f2de0
[ "BSD-3-Clause" ]
20
2021-04-08T16:38:49.000Z
2022-02-09T20:05:57.000Z
hypha/apply/funds/migrations/0079_add_reviewer_settings_for_submission_access.py
maxpearl/hypha
e181ebadfb744aab34617bb766e746368d6f2de0
[ "BSD-3-Clause" ]
1,098
2017-12-15T11:23:03.000Z
2020-01-24T07:58:07.000Z
hypha/apply/funds/migrations/0079_add_reviewer_settings_for_submission_access.py
maxpearl/hypha
e181ebadfb744aab34617bb766e746368d6f2de0
[ "BSD-3-Clause" ]
17
2020-02-07T14:55:54.000Z
2021-04-04T19:32:38.000Z
# Generated by Django 2.2.15 on 2020-08-27 21:35 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('wagtailcore', '0045_assign_unlock_grouppagepermission'), ('funds', '0078_add_heading_block_to_form_fields_block'), ...
56.870968
241
0.657969
197
1,763
5.751269
0.48731
0.035305
0.067079
0.066196
0.35481
0.187114
0.120035
0.120035
0.120035
0.0812
0
0.021475
0.207601
1,763
30
242
58.766667
0.789549
0.026092
0
0
1
0
0.377259
0.04723
0
0
0
0
0
1
0
false
0
0.083333
0
0.208333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b4bba88a14b8464ba4b88054de6a0642cfcacd4
792
py
Python
v1/ingredient/migrations/0008_auto_20180129_1456.py
akkord64/openeats-api
011465123b6e471fc6e4ec3d715d99bc2a8dcfcc
[ "MIT" ]
11
2018-03-04T18:03:30.000Z
2021-09-04T17:03:24.000Z
v1/ingredient/migrations/0008_auto_20180129_1456.py
akkord64/openeats-api
011465123b6e471fc6e4ec3d715d99bc2a8dcfcc
[ "MIT" ]
42
2020-06-05T14:55:57.000Z
2021-07-14T05:58:09.000Z
v1/ingredient/migrations/0008_auto_20180129_1456.py
akkord64/openeats-api
011465123b6e471fc6e4ec3d715d99bc2a8dcfcc
[ "MIT" ]
40
2018-06-22T18:58:19.000Z
2022-01-31T08:34:05.000Z
# Generated by Django 2.0.1 on 2018-01-29 20:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ingredient', '0007_remove_ingredient_recipe'), ] operations = [ migrations.AlterField( model_na...
31.68
153
0.661616
84
792
6.107143
0.488095
0.062378
0.081871
0.128655
0.187135
0.187135
0.187135
0.187135
0.187135
0
0
0.030794
0.22096
792
24
154
33
0.800648
0.056818
0
0.222222
1
0
0.205369
0.073826
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b5273ecfd3b93ce7d6f977ad002ff769f0a1558
1,683
py
Python
bluebottle/projects/migrations/0059_auto_20180118_1100.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
10
2015-05-28T18:26:40.000Z
2021-09-06T10:07:03.000Z
bluebottle/projects/migrations/0059_auto_20180118_1100.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
762
2015-01-15T10:00:59.000Z
2022-03-31T15:35:14.000Z
bluebottle/projects/migrations/0059_auto_20180118_1100.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
9
2015-02-20T13:19:30.000Z
2022-03-08T14:09:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2018-01-18 10:00 from __future__ import unicode_literals import bluebottle.utils.fields from decimal import Decimal from django.db import migrations, models import django.db.models.deletion import djmoney.models.fields class Migration(migrations.Migration): ...
45.486486
183
0.667261
183
1,683
5.983607
0.508197
0.03653
0.051142
0.080365
0.136073
0.136073
0.136073
0.136073
0.136073
0
0
0.043478
0.193702
1,683
36
184
46.75
0.763449
0.040404
0
0.068966
1
0
0.19727
0.078164
0
0
0
0
0
1
0
false
0
0.206897
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b5e234ff257b305bf5d4df827c1e161b9197566
2,116
py
Python
pic_carver.py
n1cfury/BlackHatPython
26f6e9bce7e13879f0c2d9760d210c222d5e9e3a
[ "MIT" ]
10
2018-08-14T22:28:07.000Z
2020-10-23T16:21:48.000Z
pic_carver.py
n1cfury/BlackHatPython
26f6e9bce7e13879f0c2d9760d210c222d5e9e3a
[ "MIT" ]
1
2018-08-01T05:45:53.000Z
2018-08-01T05:47:45.000Z
pic_carver.py
n1cfury/BlackHatPython
26f6e9bce7e13879f0c2d9760d210c222d5e9e3a
[ "MIT" ]
4
2018-05-18T08:46:29.000Z
2020-05-07T03:28:03.000Z
def banner(): print "[***] pCAP processing p56 [***]" def http_assembler(pcap_file): carved_images = o faced_detected = 0 a = rdpcap(pacap_file) sessions = a.sessions() for session in sesions: http_payload = "" for packet in sessions[session]: try: if packet[TCP].dport == 80 or packet[TCP].sport ==...
29.388889
83
0.683365
320
2,116
4.35625
0.3375
0.07891
0.05165
0.030129
0.123386
0.044476
0.044476
0.044476
0.044476
0
0
0.023837
0.167297
2,116
71
84
29.802817
0.76731
0
0
0.1875
0
0
0.117786
0.014664
0
0
0
0
0
0
null
null
0.03125
0
null
null
0.046875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2b5e520b826159d017c900bf47a1ef4bb40b8b89
1,642
py
Python
conftest.py
PlagerX-Group/mysql-logs-testing
a34a95a6c3c404051ebcf1c0e054a552db434151
[ "MIT" ]
null
null
null
conftest.py
PlagerX-Group/mysql-logs-testing
a34a95a6c3c404051ebcf1c0e054a552db434151
[ "MIT" ]
null
null
null
conftest.py
PlagerX-Group/mysql-logs-testing
a34a95a6c3c404051ebcf1c0e054a552db434151
[ "MIT" ]
null
null
null
import os import pytest from _pytest.config import Config from _pytest.fixtures import Parser, FixtureRequest from database.orm.client import ORMClient def pytest_addoption(parser: Parser) -> None: parser.addoption('--username', default="root") parser.addoption('--password', default="pass") parser.addop...
28.807018
81
0.66687
171
1,642
6.28655
0.304094
0.083721
0.08186
0.069767
0.107907
0.08186
0.08186
0
0
0
0
0.003028
0.195493
1,642
56
82
29.321429
0.810749
0
0
0.170732
0
0
0.116931
0
0
0
0
0
0
1
0.121951
false
0.121951
0.121951
0.02439
0.292683
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2b5e6a64c976232c359bfb5ae7836dfc551be0c1
459
py
Python
bot/migrations/0007_auto_20171230_0001.py
CdecPGL/LBot
2136900bfb4bfd6a2fe762c65714a4596b98fc6d
[ "MIT" ]
1
2019-03-04T07:16:17.000Z
2019-03-04T07:16:17.000Z
bot/migrations/0007_auto_20171230_0001.py
CdecPGL/LBot
2136900bfb4bfd6a2fe762c65714a4596b98fc6d
[ "MIT" ]
3
2020-06-05T17:09:27.000Z
2021-06-10T18:18:32.000Z
bot/migrations/0007_auto_20171230_0001.py
CdecPGL/LBot
2136900bfb4bfd6a2fe762c65714a4596b98fc6d
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2017-12-29 15:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bot', '0006_auto_20171229_2354'), ] operations = [ migrations.AlterField( model_name='user', name='authority', ...
24.157895
128
0.592593
48
459
5.5625
0.8125
0
0
0
0
0
0
0
0
0
0
0.093567
0.254902
459
18
129
25.5
0.687135
0.093682
0
0
1
0
0.18599
0.055556
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1