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
13bef7c2833f6eeb5f3da9c722743cc87d56374a
1,141
py
Python
accounts-merge/accounts-merge.py
QQuinn03/LeetHub
51ce21d721f0f524a07ed24266fb5fca473fcaa5
[ "MIT" ]
null
null
null
accounts-merge/accounts-merge.py
QQuinn03/LeetHub
51ce21d721f0f524a07ed24266fb5fca473fcaa5
[ "MIT" ]
null
null
null
accounts-merge/accounts-merge.py
QQuinn03/LeetHub
51ce21d721f0f524a07ed24266fb5fca473fcaa5
[ "MIT" ]
null
null
null
from collections import defaultdict class Solution: def accountsMerge(self, accounts: List[List[str]]) -> List[List[str]]: graph=defaultdict(set) email_name={} for account in accounts: name = account[0] for email in account[1:]: graph[email].add(accou...
27.166667
74
0.381245
101
1,141
4.267327
0.346535
0.104408
0.051044
0
0
0
0
0
0
0
0
0.009488
0.538124
1,141
42
75
27.166667
0.808349
0
0
0
0
0
0
0
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.148148
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
13c1f2cfde9bd7b307158fa6853bad216c77a3c2
10,766
py
Python
code/client/munkilib/profiles.py
bryanheinz/munki
e704e283c9e7c40fd56286ee13c6498dc10350c0
[ "Apache-2.0" ]
4
2019-04-22T17:46:11.000Z
2021-01-13T21:45:15.000Z
code/client/munkilib/profiles.py
fn10859/munki
d44feba3bab31f4c6a3ba7514736af4d7555ed21
[ "Apache-2.0" ]
null
null
null
code/client/munkilib/profiles.py
fn10859/munki
d44feba3bab31f4c6a3ba7514736af4d7555ed21
[ "Apache-2.0" ]
2
2020-04-13T03:37:15.000Z
2021-11-19T05:13:01.000Z
# encoding: utf-8 # # Copyright 2014-2019 Greg Neagle. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
36.869863
80
0.677875
1,299
10,766
5.47729
0.2194
0.027829
0.038229
0.030921
0.380464
0.302881
0.268166
0.198876
0.198876
0.190724
0
0.005344
0.235278
10,766
291
81
36.996564
0.858861
0.150288
0
0.435484
0
0
0.13199
0.002991
0
0
0
0
0
0
null
null
0.005376
0.043011
null
null
0.005376
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
13c2b25708fbb42ee41c5a3058d35ada45f21a4e
6,503
py
Python
Image/KML/CreateRasterKML.py
petebunting/rsgis_scripts
b35b0403cdfad6c63824d4f8c038f190cdb5978d
[ "MIT" ]
4
2020-09-16T10:45:15.000Z
2021-05-06T04:34:32.000Z
Image/KML/CreateRasterKML.py
petebunting/rsgis_scripts
b35b0403cdfad6c63824d4f8c038f190cdb5978d
[ "MIT" ]
null
null
null
Image/KML/CreateRasterKML.py
petebunting/rsgis_scripts
b35b0403cdfad6c63824d4f8c038f190cdb5978d
[ "MIT" ]
2
2020-07-06T18:03:40.000Z
2022-02-15T12:45:34.000Z
#! /usr/bin/env python ####################################### # CreateQuickLook.py # # A script to create quickview files PNG # files of Remote sensing imagary using # Gdal # For more options on gdal_translate see # http://www.gdal.org/gdal_translate.html # # Modified from ConvertImageryTIFF by # Pete Bunting # # Au...
41.685897
219
0.588959
707
6,503
5.379066
0.30976
0.009992
0.08467
0.07573
0.404155
0.403629
0.362083
0.325007
0.302393
0.256114
0
0.012693
0.273105
6,503
155
220
41.954839
0.791834
0.149008
0
0.252252
0
0.009009
0.115576
0.009954
0
0
0
0
0
0
null
null
0
0.009009
null
null
0.063063
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
13c33198e5e7135ee2684dac6dc39d6334a7f3af
3,125
py
Python
config.py
N1nja0p/Like-Instagram-Posts-Using-Tags-And-Selenium
e61919183a1bf610f8c120c2b677548d59bc6aae
[ "MIT" ]
null
null
null
config.py
N1nja0p/Like-Instagram-Posts-Using-Tags-And-Selenium
e61919183a1bf610f8c120c2b677548d59bc6aae
[ "MIT" ]
null
null
null
config.py
N1nja0p/Like-Instagram-Posts-Using-Tags-And-Selenium
e61919183a1bf610f8c120c2b677548d59bc6aae
[ "MIT" ]
null
null
null
# Run This Script Before Running bot.py from csv import DictWriter import os import getpass WELCOME_MESSAGE = ''' # # # #### ##### ## #### ##### ## # # # ## # # # # # # # # # # # ## ## # # # # #### # # # # # # # # # ## # #...
31.887755
121
0.4464
274
3,125
5.010949
0.335766
0.10488
0.13984
0.064093
0.335033
0.335033
0.300073
0.300073
0.300073
0.300073
0
0.003561
0.37088
3,125
97
122
32.216495
0.694812
0.01184
0
0.549451
0
0.032967
0.503564
0
0
0
0
0
0
1
0
false
0.098901
0.032967
0
0.032967
0.10989
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
13c59bbb68a9e02e6b5788b19b6ad055d5852e37
762
py
Python
ryebot/bot/utils.py
Ryeb0t/ryebot
5a9af86e32d1bc69f62d7b2a3b3862c8d42d4a65
[ "MIT" ]
null
null
null
ryebot/bot/utils.py
Ryeb0t/ryebot
5a9af86e32d1bc69f62d7b2a3b3862c8d42d4a65
[ "MIT" ]
null
null
null
ryebot/bot/utils.py
Ryeb0t/ryebot
5a9af86e32d1bc69f62d7b2a3b3862c8d42d4a65
[ "MIT" ]
null
null
null
import os from ryebot.bot import PATHS from ryebot.bot.cli.wiki_manager import LOGINSTATUSFILE, get_wiki_directory_from_name def get_login_time(wikiname: str): last_login_time = 0.0 loginstatusfile = os.path.join(PATHS['wikis'], *get_wiki_directory_from_name(wikiname), LOGINSTATUSFILE) if os.path.exists...
33.130435
108
0.643045
95
762
4.978947
0.547368
0.07611
0.082452
0.084567
0.10148
0
0
0
0
0
0
0.007326
0.283465
762
22
109
34.636364
0.858974
0.15748
0
0
0
0
0.007849
0
0
0
0
0
0
1
0.071429
false
0.071429
0.214286
0
0.357143
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
13cb4033072cf60f78aa04299ba7867b3bde9bb1
4,301
py
Python
tests/test_parametrization_labels.py
kbh2o/slash
532b7e3acdf46103ece5b86f21c29f9b58587289
[ "BSD-3-Clause" ]
70
2015-12-05T12:33:10.000Z
2022-03-03T04:56:58.000Z
tests/test_parametrization_labels.py
kbh2o/slash
532b7e3acdf46103ece5b86f21c29f9b58587289
[ "BSD-3-Clause" ]
711
2015-10-06T11:01:48.000Z
2022-02-09T12:40:47.000Z
tests/test_parametrization_labels.py
kbh2o/slash
532b7e3acdf46103ece5b86f21c29f9b58587289
[ "BSD-3-Clause" ]
37
2015-10-13T11:00:51.000Z
2022-02-08T07:28:11.000Z
import pytest import slash from itertools import zip_longest def test_parametrization_labels(suite, suite_test): param = suite_test.add_parameter() param.add_labels() @suite_test.append_body def __code__(): # pylint: disable=unused-variable # pylint: disable=undefined-variablepylint: disable=...
30.503546
119
0.630551
503
4,301
5.163022
0.218688
0.069311
0.041586
0.050828
0.451675
0.399307
0.38429
0.366192
0.366192
0.366192
0
0.020587
0.232039
4,301
140
120
30.721429
0.765668
0.157405
0
0.29703
0
0
0.081118
0
0
0
0
0
0.108911
1
0.207921
false
0.009901
0.079208
0.009901
0.29703
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
13d0ea049b2570f627d5754364e6687600f3a82e
1,933
py
Python
app/service/pay.py
HuaiGuang10/mini-shop-server
90eb5a36b75e680c6f5fe324261fe0c53373cf5a
[ "MIT" ]
1
2019-09-05T02:17:40.000Z
2019-09-05T02:17:40.000Z
app/service/pay.py
zyxyuanxiao/mini-shop-server
90eb5a36b75e680c6f5fe324261fe0c53373cf5a
[ "MIT" ]
null
null
null
app/service/pay.py
zyxyuanxiao/mini-shop-server
90eb5a36b75e680c6f5fe324261fe0c53373cf5a
[ "MIT" ]
null
null
null
# _*_ coding: utf-8 _*_ """ Created by Allen7D on 2019/4/4. wechatpy(微信的第三方 Python SDK) 使用文档: http://docs.wechatpy.org/zh_CN/master/index.html 《python+Django实现微信小程序支付功能》(不用SDK): https://blog.csdn.net/qq_34493908/article/details/81190057 """ from flask import g from app.libs.enums import OrderStatusEnum from app...
26.121622
95
0.738748
281
1,933
4.797153
0.405694
0.03635
0.032641
0.026706
0.023739
0
0
0
0
0
0
0.028049
0.151578
1,933
73
96
26.479452
0.793902
0.178479
0
0.042553
0
0
0.052699
0
0
0
0
0
0
1
0.106383
false
0.06383
0.148936
0
0.425532
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
13d1c787ea6bfd9c7174d9f11e6b8352f713a30e
3,407
py
Python
nailgun/nailgun/db/sqlalchemy/models/network.py
Axam/nsx-web
4f60d71c05e08740cbdf19b6c9bb0c4cb1e29ad5
[ "Apache-2.0" ]
1
2021-04-06T16:13:35.000Z
2021-04-06T16:13:35.000Z
nailgun/nailgun/db/sqlalchemy/models/network.py
Axam/nsx-web
4f60d71c05e08740cbdf19b6c9bb0c4cb1e29ad5
[ "Apache-2.0" ]
null
null
null
nailgun/nailgun/db/sqlalchemy/models/network.py
Axam/nsx-web
4f60d71c05e08740cbdf19b6c9bb0c4cb1e29ad5
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2013 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
30.419643
78
0.668036
393
3,407
5.636132
0.374046
0.088036
0.074492
0.06772
0.348081
0.259142
0.209932
0.159368
0.103837
0.103837
0
0.007266
0.232463
3,407
111
79
30.693694
0.839771
0.221603
0
0.223684
0
0
0.147796
0.017097
0
0
0
0
0
1
0
false
0
0.105263
0
0.592105
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
13d30afc02505c598c00920cbfa07c2b77eb99d3
1,720
py
Python
myvenv/lib/python3.5/site-packages/psycopg2/tests/test_bug_gc.py
tuvapp/tuvappcom
5ca2be19f4b0c86a1d4a9553711a4da9d3f32841
[ "MIT" ]
12
2020-05-24T02:09:17.000Z
2022-03-18T08:53:17.000Z
myvenv/lib/python3.5/site-packages/psycopg2/tests/test_bug_gc.py
tuvapp/tuvappcom
5ca2be19f4b0c86a1d4a9553711a4da9d3f32841
[ "MIT" ]
7
2020-06-05T18:33:09.000Z
2021-09-20T23:07:52.000Z
myvenv/lib/python3.5/site-packages/psycopg2/tests/test_bug_gc.py
tuvapp/tuvappcom
5ca2be19f4b0c86a1d4a9553711a4da9d3f32841
[ "MIT" ]
9
2020-03-17T09:53:22.000Z
2022-03-18T08:53:26.000Z
#!/usr/bin/env python # bug_gc.py - test for refcounting/GC bug # # Copyright (C) 2010-2011 Federico Di Gregorio <fog@debian.org> # # psycopg2 is free software: you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either ve...
35.102041
75
0.74186
243
1,720
5.148148
0.592593
0.01199
0.028777
0.045564
0.1247
0.076739
0
0
0
0
0
0.031361
0.184302
1,720
48
76
35.833333
0.860299
0.562791
0
0
0
0
0.086301
0.060274
0
0
0
0
0
1
0.15
false
0
0.25
0.05
0.55
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
13d3b5fb199b3bc5abf29648b7b021e60a6559da
3,784
py
Python
test/python/proto/test_pb2.py
jannekai/protoc-gen-elixir
b183119762c39d844cb6323990178a727fcf0b43
[ "MIT" ]
3
2015-05-08T07:36:13.000Z
2017-12-19T03:00:27.000Z
test/python/proto/test_pb2.py
jannekai/protoc-gen-elixir
b183119762c39d844cb6323990178a727fcf0b43
[ "MIT" ]
1
2022-01-05T13:34:39.000Z
2022-01-05T14:15:02.000Z
test/python/proto/test_pb2.py
jannekai/protoc-gen-elixir
b183119762c39d844cb6323990178a727fcf0b43
[ "MIT" ]
1
2022-01-05T13:34:44.000Z
2022-01-05T13:34:44.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: test.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflecti...
30.031746
259
0.730973
488
3,784
5.370902
0.256148
0.042732
0.02976
0.045784
0.518123
0.45021
0.438001
0.438001
0.438001
0.354826
0
0.046626
0.138478
3,784
125
260
30.272
0.757362
0.064746
0
0.543689
1
0.009709
0.11778
0.065968
0
0
0
0
0
1
0
false
0
0.058252
0
0.058252
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
13d51d1dd6871c93dd6156fbaa72f9190fd8b390
428
py
Python
lib/od/identity/od_type.py
ZimCodes/Zyod
5f9e2138cef01930fdf8d29269495f862c183ccb
[ "MIT" ]
1
2022-03-19T19:12:58.000Z
2022-03-19T19:12:58.000Z
lib/od/identity/od_type.py
ZimCodes/Zyod
5f9e2138cef01930fdf8d29269495f862c183ccb
[ "MIT" ]
1
2022-03-23T12:21:28.000Z
2022-03-24T02:18:45.000Z
lib/od/identity/od_type.py
ZimCodes/Zyod
5f9e2138cef01930fdf8d29269495f862c183ccb
[ "MIT" ]
null
null
null
from enum import Enum class ODType(Enum): """ODType enum class holds the names of all supported ODs""" GENERIC = "Generic", GO_INDEX = "GoIndex", FODI = "FODI" ZFILE = "ZFile" GD_INDEX = "GDIndex" ONEDRIVE_VERCEL_INDEX = "onedriver-vercel-index" GONELIST = "GONEList" SHARELIST = "S...
25.176471
64
0.64486
52
428
5.230769
0.615385
0.066176
0.110294
0
0
0
0
0
0
0
0
0
0.240654
428
16
65
26.75
0.827692
0.126168
0
0
0
0
0.285326
0.059783
0
0
0
0
0
1
0
false
0
0.076923
0
1
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
13d727b60ca3f0f3eb4d9fdbd7237cf28202a728
7,941
py
Python
containers/BST.py
mjotsuka/conts
1b96908256c4cb92f82fdadc9dc1dfccd9bc857d
[ "MIT" ]
null
null
null
containers/BST.py
mjotsuka/conts
1b96908256c4cb92f82fdadc9dc1dfccd9bc857d
[ "MIT" ]
null
null
null
containers/BST.py
mjotsuka/conts
1b96908256c4cb92f82fdadc9dc1dfccd9bc857d
[ "MIT" ]
null
null
null
''' This file implements the Binary Search Tree data structure. The functions in this file are considerably harder than the functions in the BinaryTree file. ''' from containers.BinaryTree import BinaryTree, Node class BST(BinaryTree): ''' The BST is a superclass of BinaryTree. That means that the BST cl...
28.981752
77
0.569324
993
7,941
4.427996
0.209466
0.034796
0.038208
0.041392
0.245395
0.142142
0.095065
0.045031
0.045031
0.027746
0
0.001767
0.358645
7,941
273
78
29.087912
0.861575
0.402468
0
0.362832
0
0
0.013842
0
0
0
0
0.032967
0.017699
1
0.159292
false
0
0.00885
0
0.362832
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
13db6094bca2b3ccadbcda4935630952a67c673d
4,436
py
Python
sdk/python/pulumi_aws/codecommit/_inputs.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
260
2018-06-18T14:57:00.000Z
2022-03-29T11:41:03.000Z
sdk/python/pulumi_aws/codecommit/_inputs.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
1,154
2018-06-19T20:38:20.000Z
2022-03-31T19:48:16.000Z
sdk/python/pulumi_aws/codecommit/_inputs.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
115
2018-06-28T03:20:27.000Z
2022-03-29T11:41:06.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
44.808081
391
0.675609
570
4,436
5.164912
0.192982
0.108356
0.095109
0.067935
0.671875
0.566916
0.53159
0.447011
0.422554
0.391304
0
0.000289
0.220694
4,436
98
392
45.265306
0.851316
0.425834
0
0.137931
1
0
0.073356
0
0
0
0
0
0
1
0.189655
false
0
0.086207
0
0.37931
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
13dd365b6f4b62f46fc5af97745b4457dc479b85
6,535
py
Python
tests/sentry/integrations/github/test_issues.py
michaelpetrov/sentry
b3d5dbb81f72edca619b16b46c8d5af0be3350e7
[ "BSD-3-Clause" ]
null
null
null
tests/sentry/integrations/github/test_issues.py
michaelpetrov/sentry
b3d5dbb81f72edca619b16b46c8d5af0be3350e7
[ "BSD-3-Clause" ]
null
null
null
tests/sentry/integrations/github/test_issues.py
michaelpetrov/sentry
b3d5dbb81f72edca619b16b46c8d5af0be3350e7
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import import responses from mock import patch from exam import fixture from django.test import RequestFactory from sentry.integrations.github.integration import GitHubIntegration from sentry.models import Integration, ExternalIssue from sentry.testutils import TestCase from sentry.ut...
36.104972
97
0.615608
705
6,535
5.547518
0.139007
0.030683
0.023012
0.043467
0.689082
0.676042
0.669138
0.638456
0.638456
0.636922
0
0.026041
0.253711
6,535
180
98
36.305556
0.775887
0
0
0.510067
0
0
0.30023
0.03137
0
0
0
0
0.107383
1
0.04698
false
0
0.060403
0.006711
0.120805
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
13ddff9481096d29966d59051fbdffbb3675ca9b
27,466
py
Python
photutils/isophote/isophote.py
astrojuanlu/photutils
1948ff053f1975f13e692196a2e771a536fd7f32
[ "BSD-3-Clause" ]
null
null
null
photutils/isophote/isophote.py
astrojuanlu/photutils
1948ff053f1975f13e692196a2e771a536fd7f32
[ "BSD-3-Clause" ]
null
null
null
photutils/isophote/isophote.py
astrojuanlu/photutils
1948ff053f1975f13e692196a2e771a536fd7f32
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This module provides classes to store the results of isophote fits. """ from astropy.table import QTable import astropy.units as u import numpy as np from .harmonics import (first_and_second_harmonic_function, fit_first_and_se...
32.351001
78
0.597138
3,408
27,466
4.661678
0.147594
0.029584
0.029458
0.041858
0.416189
0.335494
0.292818
0.267514
0.231006
0.189652
0
0.010962
0.309146
27,466
848
79
32.389151
0.826298
0.417498
0
0.244318
0
0
0.034237
0
0
0
0
0
0
1
0.210227
false
0
0.011364
0.025568
0.411932
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
13e170b6b83360c56189329826978aa9bd6c64d3
4,546
py
Python
reference/research/scripts/merv1_constraints.py
chrisspen/homebot
cd1a5a2bddcb90d50a00e67b94297942827fbc61
[ "MIT" ]
8
2017-11-19T01:42:59.000Z
2021-02-08T09:18:58.000Z
reference/research/scripts/merv1_constraints.py
chrisspen/homebot
cd1a5a2bddcb90d50a00e67b94297942827fbc61
[ "MIT" ]
24
2017-02-14T16:50:02.000Z
2017-06-07T18:38:20.000Z
reference/research/scripts/merv1_constraints.py
chrisspen/homebot
cd1a5a2bddcb90d50a00e67b94297942827fbc61
[ "MIT" ]
6
2017-05-17T03:07:05.000Z
2019-11-14T09:33:06.000Z
from constraint_calculator import * class PhysicalComponent(Component): gram = Resource(units='gm', type=float) length = Resource(units='mm', type=float) width = Resource(units='mm', type=float) height = Resource(units='mm', type=float) price = Resource(units='dollars', type=float) quant...
24.706522
96
0.706995
511
4,546
6.142857
0.35225
0.062122
0.03345
0.022937
0.21663
0.193692
0.177764
0.128066
0
0
0
0.005378
0.181918
4,546
183
97
24.84153
0.838666
0.148702
0
0.093023
0
0
0.065922
0
0
0
0
0
0
1
0
false
0
0.011628
0
0.732558
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
0
0
0
1
0
0
1
13e64ad26b1a5a95d0559d9a9f6e1d4c94644280
20,009
py
Python
exp_tools/eyelink/_eyetracker/EyeLinkCoreGraphicsPsychoPy.py
StevenM1/flashtask
22e88b386f934972fc9a208b3bbb231d53c21628
[ "MIT" ]
null
null
null
exp_tools/eyelink/_eyetracker/EyeLinkCoreGraphicsPsychoPy.py
StevenM1/flashtask
22e88b386f934972fc9a208b3bbb231d53c21628
[ "MIT" ]
null
null
null
exp_tools/eyelink/_eyetracker/EyeLinkCoreGraphicsPsychoPy.py
StevenM1/flashtask
22e88b386f934972fc9a208b3bbb231d53c21628
[ "MIT" ]
null
null
null
# Copyright (C) 2016 Zhiguo Wang # Copyright (C) 2017 SR Research # Distributed under the terms of the GNU General Public License (GPL). from psychopy import visual, monitors, event, core, sound from numpy import linspace from math import sin, cos, pi from PIL import Image import array, string, pylink, psychopy, pygaz...
42.663113
150
0.5557
2,503
20,009
4.351978
0.178586
0.043422
0.019278
0.016708
0.400808
0.360966
0.291104
0.234646
0.225558
0.214082
0
0.025069
0.326153
20,009
468
151
42.754274
0.782838
0.085462
0
0.19281
0
0
0.052829
0.007573
0
0
0
0
0
0
null
null
0.009804
0.022876
null
null
0.006536
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
13e71008d96e0ac9f89851414f11b40b18e4ca53
2,087
py
Python
blender_bindings/source1/fake_sfm/__init__.py
anderlli0053/SourceIO
3c0c4839939ce698439987ac52154f89ee2f5341
[ "MIT" ]
null
null
null
blender_bindings/source1/fake_sfm/__init__.py
anderlli0053/SourceIO
3c0c4839939ce698439987ac52154f89ee2f5341
[ "MIT" ]
null
null
null
blender_bindings/source1/fake_sfm/__init__.py
anderlli0053/SourceIO
3c0c4839939ce698439987ac52154f89ee2f5341
[ "MIT" ]
null
null
null
import importlib import importlib.util import sys from importlib.abc import MetaPathFinder, Loader from pathlib import Path import logging from lib2to3.refactor import RefactoringTool, get_fixers_from_package logger = logging.getLogger('SFMHook') class HookedImporter(MetaPathFinder, Loader): def __init__(self, h...
28.986111
107
0.645903
267
2,087
4.883895
0.385768
0.027607
0.020706
0.030675
0.059816
0.047546
0
0
0
0
0
0.007629
0.246287
2,087
71
108
29.394366
0.82136
0.076186
0
0.039216
0
0
0.038522
0
0
0
0
0
0.019608
1
0.117647
false
0.019608
0.352941
0.019608
0.607843
0.019608
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
13ee86c96ecaf876129c53e3b425ec8f030bf709
3,068
py
Python
whats.py
droidlife/PyWhatsapp
f4fc351f0346e26e3b94cb1f16b8711b58ffc755
[ "MIT" ]
24
2017-10-22T16:37:40.000Z
2020-11-25T12:26:17.000Z
whats.py
droidlife/PyWhatsapp
f4fc351f0346e26e3b94cb1f16b8711b58ffc755
[ "MIT" ]
1
2018-03-30T13:12:03.000Z
2018-03-30T15:43:54.000Z
whats.py
droidlife/PyWhatsapp
f4fc351f0346e26e3b94cb1f16b8711b58ffc755
[ "MIT" ]
15
2018-04-05T19:52:50.000Z
2021-09-04T16:39:17.000Z
from selenium import webdriver from selenium.webdriver.common.keys import Keys import time import os import threading driver = None def main(): global driver driver = webdriver.Chrome(os.environ['CHROME_DRIVER']) driver.get("https://web.whatsapp.com/") answer = raw_input('Is the phone connected succes...
30.376238
95
0.604628
388
3,068
4.543814
0.296392
0.095292
0.044243
0.054453
0.305729
0.289847
0.241066
0.160522
0.114577
0.071469
0
0.003567
0.268905
3,068
100
96
30.68
0.782434
0
0
0.3
0
0
0.199153
0.045632
0
0
0
0
0
0
null
null
0
0.0625
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
13ee9f3c3718e10bc75e48ecdf81f8502daa02f4
5,167
py
Python
nova/conf/notifications.py
panguan737/nova
0d177185a439baa228b42c948cab4e934d6ac7b8
[ "Apache-2.0" ]
1
2018-05-27T09:38:17.000Z
2018-05-27T09:38:17.000Z
nova/conf/notifications.py
panguan737/nova
0d177185a439baa228b42c948cab4e934d6ac7b8
[ "Apache-2.0" ]
null
null
null
nova/conf/notifications.py
panguan737/nova
0d177185a439baa228b42c948cab4e934d6ac7b8
[ "Apache-2.0" ]
1
2020-11-02T10:17:13.000Z
2020-11-02T10:17:13.000Z
# Copyright (c) 2016 Intel, Inc. # Copyright (c) 2013 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/li...
35.634483
78
0.74163
691
5,167
5.458755
0.361795
0.04666
0.019088
0.022269
0.158006
0.158006
0.121421
0.121421
0.121421
0.091198
0
0.003774
0.179601
5,167
144
79
35.881944
0.886058
0.124057
0
0.271028
0
0
0.759867
0.049667
0
0
0
0
0
1
0.018692
false
0
0.009346
0.009346
0.037383
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
13f0ca58f662da28c1d45589c0a092a360c25248
3,096
py
Python
tests/test_homepage.py
grickly-nyu/grickly
39fbf796ea5918d0183b3aa1b3ae23dcb3d84f22
[ "MIT" ]
3
2021-02-04T02:53:35.000Z
2021-07-22T01:09:36.000Z
tests/test_homepage.py
grickly-nyu/grickly
39fbf796ea5918d0183b3aa1b3ae23dcb3d84f22
[ "MIT" ]
17
2021-02-19T23:25:29.000Z
2021-05-16T04:18:00.000Z
tests/test_homepage.py
grickly-nyu/grickly
39fbf796ea5918d0183b3aa1b3ae23dcb3d84f22
[ "MIT" ]
null
null
null
from testing_config import BaseTestConfig from application.models import User import json from application.utils import auth class TestAPI(BaseTestConfig): some_user = { "email": "one@gmail.com", "password": "something1", "username": "test_user1" } def test_get_spa_from_index(self...
32.25
116
0.574289
346
3,096
4.947977
0.225434
0.040888
0.042056
0.049065
0.558995
0.444509
0.36507
0.328855
0.328855
0.287967
0
0.019293
0.296835
3,096
95
117
32.589474
0.767111
0
0
0.272727
0
0
0.13146
0
0
0
0
0
0.194805
1
0.064935
false
0.051948
0.051948
0
0.142857
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
13f205ac6fdd1d65621732ad902219cf3254018e
919
py
Python
setup.py
mesos-magellan/enrique
b48d7409648c94a5212ff8673bca98c5860b1827
[ "MIT" ]
null
null
null
setup.py
mesos-magellan/enrique
b48d7409648c94a5212ff8673bca98c5860b1827
[ "MIT" ]
20
2016-01-06T01:17:12.000Z
2016-03-29T09:58:39.000Z
setup.py
mesos-magellan/enrique
b48d7409648c94a5212ff8673bca98c5860b1827
[ "MIT" ]
1
2018-03-28T20:06:02.000Z
2018-03-28T20:06:02.000Z
import os import codecs from setuptools import setup, find_packages def read(filename): """Read and return `filename` in root dir of project and return string""" here = os.path.abspath(os.path.dirname(__file__)) return codecs.open(os.path.join(here, filename), 'r').read() long_description = read('READM...
26.257143
77
0.677911
112
919
5.446429
0.625
0.029508
0.045902
0.072131
0
0
0
0
0
0
0
0.004016
0.18716
919
34
78
27.029412
0.812584
0.297062
0
0
0
0
0.227129
0
0
0
0
0.029412
0
1
0.05
false
0
0.15
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b914b8e088eb7dff4fc9e722b95ad17a401f740d
1,336
py
Python
Lib/site-packages/dev-0.4.0/dev/__init__.py
Srinath-tr/Goferbot
0f734d01c6504c6c97dbdf45f5adf8b25c0f9fd9
[ "Apache-2.0", "bzip2-1.0.6" ]
1
2019-04-23T21:50:08.000Z
2019-04-23T21:50:08.000Z
Lib/site-packages/dev-0.4.0/dev/__init__.py
Srinath-tr/Goferbot
0f734d01c6504c6c97dbdf45f5adf8b25c0f9fd9
[ "Apache-2.0", "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/dev-0.4.0/dev/__init__.py
Srinath-tr/Goferbot
0f734d01c6504c6c97dbdf45f5adf8b25c0f9fd9
[ "Apache-2.0", "bzip2-1.0.6" ]
2
2019-02-14T08:13:33.000Z
2019-04-23T21:47:48.000Z
""" 🚧 About -------- dev is a collection of Python developer tools presented as a modest alternative to the standard library's offering. .. warning:: dev is a work in progress Testing ------- :py:mod`dev.libtest` is a protocol driven testing library. Users need not import libtest in order to define their tests, o...
23.034483
89
0.72979
198
1,336
4.808081
0.59596
0.042017
0.012605
0.031513
0
0
0
0
0
0
0
0.002725
0.175898
1,336
57
90
23.438596
0.861035
1.258234
0
0
0
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b91e29d7c8b42703d35e5be26454514f878f5279
1,259
py
Python
app/wakkerdam/forms.py
mofferthond/flask-base
9f463d1a665b7c3b0466ff14430b4abecf1079d4
[ "MIT" ]
null
null
null
app/wakkerdam/forms.py
mofferthond/flask-base
9f463d1a665b7c3b0466ff14430b4abecf1079d4
[ "MIT" ]
null
null
null
app/wakkerdam/forms.py
mofferthond/flask-base
9f463d1a665b7c3b0466ff14430b4abecf1079d4
[ "MIT" ]
null
null
null
from flask import url_for from flask_wtf import FlaskForm from wtforms import ValidationError from wtforms.fields import ( SubmitField, IntegerField, DateField, StringField, HiddenField ) from wtforms.fields.html5 import EmailField from wtforms.validators import Email, EqualTo, InputRequired, Length...
34.972222
102
0.739476
140
1,259
6.614286
0.564286
0.059395
0.036717
0
0
0
0
0
0
0
0
0.006506
0.145353
1,259
35
103
35.971429
0.854089
0
0
0
0
0
0.105639
0
0
0
0
0
0
1
0.033333
false
0
0.3
0
0.733333
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
b91e47d7649a73efe9f02bb7b8940d56ab40fb42
3,128
py
Python
apps/interactor/tests/commander/commands/test_clean.py
Djelibeybi/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
51
2020-07-03T08:34:48.000Z
2022-03-16T10:56:08.000Z
apps/interactor/tests/commander/commands/test_clean.py
delfick/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
81
2020-07-03T08:13:59.000Z
2022-03-31T23:02:54.000Z
apps/interactor/tests/commander/commands/test_clean.py
Djelibeybi/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
8
2020-07-24T23:48:20.000Z
2021-05-24T17:20:16.000Z
# coding: spec from interactor.commander.store import store, load_commands from photons_app import helpers as hp from unittest import mock import pytest @pytest.fixture() def store_clone(): load_commands() return store.clone() @pytest.fixture() def final_future(): fut = hp.create_future() try: ...
27.928571
99
0.497762
288
3,128
5.298611
0.329861
0.042595
0.078637
0.08519
0.403014
0.403014
0.403014
0.403014
0.403014
0.332241
0
0.034694
0.373402
3,128
111
100
28.18018
0.743878
0.013107
0
0.310345
0
0
0.169964
0
0
0
0
0
0.068966
0
null
null
0
0.045977
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
b91f3a00ee5a53413a2dfd7892686df1f6f16b4d
945
py
Python
home/views.py
lizschley/number_six
a427202397822fca1f49d43d138c24fffdbe95da
[ "MIT" ]
1
2020-07-14T20:13:05.000Z
2020-07-14T20:13:05.000Z
home/views.py
lizschley/number_six
a427202397822fca1f49d43d138c24fffdbe95da
[ "MIT" ]
3
2021-04-06T20:40:08.000Z
2021-06-03T21:54:21.000Z
home/views.py
lizschley/number_six
a427202397822fca1f49d43d138c24fffdbe95da
[ "MIT" ]
null
null
null
''' Home based pages: home, resume and blog (future implementation) ''' from django.shortcuts import render from django.views.generic import TemplateView import helpers.import_common_class.paragraph_helpers as para_helper from common_classes.paragraphs_for_display_cat import ParagraphsForDisplayCat def home(request):...
37.8
91
0.736508
118
945
5.711864
0.533898
0.062315
0.041543
0
0
0
0
0
0
0
0
0
0.180952
945
24
92
39.375
0.870801
0.197884
0
0.125
0
0
0.049664
0
0
0
0
0
0
1
0.1875
false
0
0.25
0.0625
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
b929a74a37a47bdcc1b2fbcaa7e43669da0d2f11
2,897
py
Python
scripts/khr_util/format.py
TinkerBoard-Android/external_deqp
fbf76f4e30a964813b9cdfa0dd36dadc25220939
[ "Apache-2.0" ]
2
2016-07-19T13:05:30.000Z
2016-07-19T13:05:32.000Z
scripts/khr_util/format.py
TinkerBoard-Android/external_deqp
fbf76f4e30a964813b9cdfa0dd36dadc25220939
[ "Apache-2.0" ]
null
null
null
scripts/khr_util/format.py
TinkerBoard-Android/external_deqp
fbf76f4e30a964813b9cdfa0dd36dadc25220939
[ "Apache-2.0" ]
3
2017-01-21T00:56:25.000Z
2020-10-31T12:00:02.000Z
# -*- coding: utf-8 -*- #------------------------------------------------------------------------- # drawElements Quality Program utilities # -------------------------------------- # # Copyright 2015 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use t...
27.855769
128
0.661719
370
2,897
5.17027
0.459459
0.031364
0.023523
0.031364
0.054365
0.030319
0.030319
0.030319
0.030319
0
0
0.010395
0.169831
2,897
103
129
28.126214
0.785031
0.304798
0
0.047619
0
0
0.10603
0
0
0
0
0
0
0
null
null
0
0.015873
null
null
0.015873
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
b92a9e7ed42057afeeef6c140033bda368bdc6d5
2,081
py
Python
examples/dfa/v1_20/get_activity_groups.py
cmm08/googleads-python-lib
97743df32eff92cf00cb8beaddcda42dfa0a37f4
[ "Apache-2.0" ]
1
2018-09-06T18:50:58.000Z
2018-09-06T18:50:58.000Z
examples/dfa/v1_20/get_activity_groups.py
cmm08/googleads-python-lib
97743df32eff92cf00cb8beaddcda42dfa0a37f4
[ "Apache-2.0" ]
null
null
null
examples/dfa/v1_20/get_activity_groups.py
cmm08/googleads-python-lib
97743df32eff92cf00cb8beaddcda42dfa0a37f4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
32.515625
80
0.75012
278
2,081
5.503597
0.514388
0.067974
0.037255
0.052941
0.047059
0
0
0
0
0
0
0.006366
0.16963
2,081
63
81
33.031746
0.879051
0.405094
0
0
0
0
0.251196
0.029904
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.105263
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
b92bf25c792fe50dcd057a98c3e4769305d16084
30,938
py
Python
givenergy_modbus/model/register.py
dewet22/givenergy-modbus
75e7ab7a7a6207c1b5efc2be5745bb393d9d840d
[ "Apache-2.0" ]
3
2022-02-17T12:00:42.000Z
2022-03-24T09:32:06.000Z
givenergy_modbus/model/register.py
dewet22/givenergy-modbus
75e7ab7a7a6207c1b5efc2be5745bb393d9d840d
[ "Apache-2.0" ]
5
2022-01-24T15:25:17.000Z
2022-03-17T18:17:24.000Z
givenergy_modbus/model/register.py
dewet22/givenergy-modbus
75e7ab7a7a6207c1b5efc2be5745bb393d9d840d
[ "Apache-2.0" ]
5
2022-01-24T20:59:18.000Z
2022-03-17T18:47:54.000Z
import logging from datetime import time from enum import Enum, auto, unique from typing import Any, Callable, Optional from givenergy_modbus.exceptions import ExceptionBase _logger = logging.getLogger(__name__) class RegisterError(ExceptionBase): """Base for register errors.""" class RegisterValueError(Regis...
40.179221
112
0.633137
4,676
30,938
3.836826
0.196108
0.052673
0.04905
0.06867
0.359289
0.310016
0.239953
0.181874
0.131598
0.089739
0
0.112267
0.223221
30,938
769
113
40.231469
0.634238
0.168046
0
0.038898
0
0.001621
0.094716
0.006771
0
0
0.000313
0
0
1
0.017828
false
0
0.008104
0.003241
0.860616
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
b930594f6dcd2c5fcff109e2ba917523598ec959
556
py
Python
posts/migrations/0005_auto_20160903_0606.py
gazwald/blog
5eaccf9523257694b4a523ec4a360e26d1e7174f
[ "BSD-3-Clause" ]
null
null
null
posts/migrations/0005_auto_20160903_0606.py
gazwald/blog
5eaccf9523257694b4a523ec4a360e26d1e7174f
[ "BSD-3-Clause" ]
3
2016-09-15T10:49:25.000Z
2016-10-25T08:45:01.000Z
posts/migrations/0005_auto_20160903_0606.py
gazwald/blog
5eaccf9523257694b4a523ec4a360e26d1e7174f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-09-03 06:06 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('posts', '0004_auto_20160903_0546'), ] operations = ...
25.272727
125
0.651079
66
556
5.333333
0.681818
0.068182
0.079545
0.125
0
0
0
0
0
0
0
0.074246
0.22482
556
21
126
26.47619
0.742459
0.120504
0
0
1
0
0.111111
0.047325
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
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
b9327b48bdd1798122f80f603e91bb29b6c8ec59
620
py
Python
videoapi/migrations/0001_initial.py
saintlyzero/Django-API-Assignment
3e582f3388536df05c9c8e2ea2b6ab2fd6349a2d
[ "MIT" ]
1
2019-11-20T10:00:56.000Z
2019-11-20T10:00:56.000Z
videoapi/migrations/0001_initial.py
saintlyzero/Django-API-Assignment
3e582f3388536df05c9c8e2ea2b6ab2fd6349a2d
[ "MIT" ]
null
null
null
videoapi/migrations/0001_initial.py
saintlyzero/Django-API-Assignment
3e582f3388536df05c9c8e2ea2b6ab2fd6349a2d
[ "MIT" ]
null
null
null
# Generated by Django 2.1 on 2019-07-25 05:42 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='UserVideoMapping', fields=[ ('id', models.Aut...
25.833333
114
0.579032
62
620
5.66129
0.709677
0.045584
0
0
0
0
0
0
0
0
0
0.043578
0.296774
620
23
115
26.956522
0.761468
0.069355
0
0
1
0
0.081739
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.3125
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
b93655c1969dedff7fb5a3cdfa179d4a1e113d8f
2,727
py
Python
test/unit/ggrc/utils/test_url_parser.py
sfarbotka/ggrc-core
ef7aae6bc09ad2f53a2414f643572e07d689784a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/unit/ggrc/utils/test_url_parser.py
sfarbotka/ggrc-core
ef7aae6bc09ad2f53a2414f643572e07d689784a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/unit/ggrc/utils/test_url_parser.py
sfarbotka/ggrc-core
ef7aae6bc09ad2f53a2414f643572e07d689784a
[ "ECL-2.0", "Apache-2.0" ]
1
2020-02-13T12:32:45.000Z
2020-02-13T12:32:45.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2019 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """Unit test suite for util url_parser.""" import unittest import ddt from ggrc.utils import url_parser @ddt.ddt class TestUrlParser(unittest.TestCase): """Unittests for user g...
34.0875
78
0.59956
386
2,727
4.139896
0.207254
0.140801
0.187735
0.113892
0.628285
0.600125
0.583855
0.498748
0.421777
0.411139
0
0.003186
0.194353
2,727
79
79
34.518987
0.724169
0.169784
0
0.285714
0
0.125
0.436709
0
0
0
0
0
0.089286
1
0.089286
false
0
0.053571
0
0.160714
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
b936e2a716e03241ab69bb0f553a8d09e56a34b5
320
py
Python
tests/test.py
ashwinvis/jupyter-wordcloud
215a79c96f3893f862ea456ccef28e5925178443
[ "BSD-3-Clause" ]
1
2019-09-04T07:43:03.000Z
2019-09-04T07:43:03.000Z
tests/test.py
ashwinvis/jupyter-wordcloud
215a79c96f3893f862ea456ccef28e5925178443
[ "BSD-3-Clause" ]
null
null
null
tests/test.py
ashwinvis/jupyter-wordcloud
215a79c96f3893f862ea456ccef28e5925178443
[ "BSD-3-Clause" ]
1
2018-07-03T07:50:36.000Z
2018-07-03T07:50:36.000Z
import unittest import matplotlib matplotlib.use('agg') import jupyter_wordcloud class TestJupyterWordcloud(unittest.TestCase): def test_all(self): args = jupyter_wordcloud.parser.parse_args( ['test.ipynb']) jupyter_wordcloud.main(args) if __name__ == '__main__': unittest.main()
20
51
0.70625
35
320
6.085714
0.6
0.225352
0
0
0
0
0
0
0
0
0
0
0.190625
320
15
52
21.333333
0.822394
0
0
0
0
0
0.065625
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.454545
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
b937cf61662662ba9cc1646e3e0ed950a0c8945a
346
py
Python
setup.py
chessbr/shuup-api
317057c22a2ffff8fa0c18485a49defff0eb149b
[ "OLDAP-2.6" ]
null
null
null
setup.py
chessbr/shuup-api
317057c22a2ffff8fa0c18485a49defff0eb149b
[ "OLDAP-2.6" ]
null
null
null
setup.py
chessbr/shuup-api
317057c22a2ffff8fa0c18485a49defff0eb149b
[ "OLDAP-2.6" ]
null
null
null
# -*- coding: utf-8 -*- import setuptools try: import shuup_setup_utils except ImportError: shuup_setup_utils = None if __name__ == "__main__": setuptools.setup( cmdclass=(shuup_setup_utils.COMMANDS if shuup_setup_utils else {}), setup_requires=["setuptools>=34.0", "setuptools-gitver"], ...
21.625
75
0.67052
40
346
5.375
0.575
0.186047
0.27907
0
0
0
0
0
0
0
0
0.014599
0.208092
346
15
76
23.066667
0.770073
0.060694
0
0
0
0
0.126935
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
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
b93aff9f6821ab9972ed4ce1f59f941041423364
26,393
py
Python
welcome/views.py
zhaoyc1990/perblog
9c35ff435771530f1e37f0017e50d5a2cbd56fa1
[ "CC0-1.0" ]
1
2017-11-26T15:36:09.000Z
2017-11-26T15:36:09.000Z
welcome/views.py
zhaoyc1990/perblog
9c35ff435771530f1e37f0017e50d5a2cbd56fa1
[ "CC0-1.0" ]
null
null
null
welcome/views.py
zhaoyc1990/perblog
9c35ff435771530f1e37f0017e50d5a2cbd56fa1
[ "CC0-1.0" ]
null
null
null
# coding=utf-8 import os, time, json, random from django.shortcuts import render from django.conf import settings from django.http import HttpResponse from django.http import JsonResponse from . import database from .models import PageView, Announcement, Article, ArticleRely, TimeLine, GuestBook, Socialaccount, Socialu...
37.97554
213
0.590194
2,905
26,393
5.253356
0.114286
0.054125
0.03676
0.03853
0.605203
0.555206
0.486993
0.45613
0.382347
0.3429
0
0.007363
0.279544
26,393
695
214
37.97554
0.795214
0.020839
0
0.584437
0
0
0.08121
0.002017
0
0
0
0
0
0
null
null
0.004967
0.021523
null
null
0.067881
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
b93fb8d2b438787f50c64ec60c3c12d4fb1e5547
290
py
Python
cap7/cliente_tcp.py
felipesch92/cursoFiap
b5c0d82a29a0660d87f27cd46d5635d9a5dbfea5
[ "MIT" ]
null
null
null
cap7/cliente_tcp.py
felipesch92/cursoFiap
b5c0d82a29a0660d87f27cd46d5635d9a5dbfea5
[ "MIT" ]
null
null
null
cap7/cliente_tcp.py
felipesch92/cursoFiap
b5c0d82a29a0660d87f27cd46d5635d9a5dbfea5
[ "MIT" ]
null
null
null
from socket import * servidor = '127.0.0.1' porta = 43210 msg = bytes(input('Digite algo: '), 'utf-8') obj_socket = socket(AF_INET, SOCK_STREAM) obj_socket.connect((servidor, porta)) obj_socket.send(msg) resposta = obj_socket.recv(1024) print(f'Recebemos: {resposta}') obj_socket.close()
22.307692
44
0.731034
45
290
4.555556
0.666667
0.219512
0.165854
0
0
0
0
0
0
0
0
0.061776
0.106897
290
12
45
24.166667
0.72973
0
0
0
0
0
0.165517
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.1
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
b944fbb489106fe3bcc9c6dfcdc13ed558c4a690
5,698
py
Python
gizmo_sim/node/show_time1.py
peterheim1/gizmo
a7ba92fe8f9fae2d913868e9cf33f1a2a9d0f705
[ "Apache-2.0" ]
null
null
null
gizmo_sim/node/show_time1.py
peterheim1/gizmo
a7ba92fe8f9fae2d913868e9cf33f1a2a9d0f705
[ "Apache-2.0" ]
null
null
null
gizmo_sim/node/show_time1.py
peterheim1/gizmo
a7ba92fe8f9fae2d913868e9cf33f1a2a9d0f705
[ "Apache-2.0" ]
1
2020-04-08T05:40:04.000Z
2020-04-08T05:40:04.000Z
#!/usr/bin/env python """ """ import rospy, sys import re from actionlib import SimpleActionClient from move_base_msgs.msg import * from actionlib_msgs.msg import * from geometry_msgs.msg import * from std_msgs.msg import String from sound_play.libsoundplay import SoundClient import sys from phoenix_robot.interact...
33.715976
121
0.64391
744
5,698
4.78629
0.30914
0.011794
0.010952
0.007863
0.240663
0.192643
0.165684
0.149958
0.081999
0.044931
0
0.022535
0.252369
5,698
168
122
33.916667
0.81338
0.105476
0
0.185185
0
0
0.120411
0
0
0
0
0
0
0
null
null
0
0.203704
null
null
0.027778
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
b949a8aff8170a572cc7e2a1c76ed64d9762f8cf
880
py
Python
workbench/admin.py
saharm1/xblock-sdk
8d261eaadaf46be17f141a9db56cf9f9675fceea
[ "Apache-2.0" ]
null
null
null
workbench/admin.py
saharm1/xblock-sdk
8d261eaadaf46be17f141a9db56cf9f9675fceea
[ "Apache-2.0" ]
null
null
null
workbench/admin.py
saharm1/xblock-sdk
8d261eaadaf46be17f141a9db56cf9f9675fceea
[ "Apache-2.0" ]
null
null
null
""" Basic admin screens for displaying XBlock state and filtering/searching on the fields. """ from django.contrib import admin from .models import XBlockState class XBlockStateAdmin(admin.ModelAdmin): """Basic admin operations for XBlockState model. This is primarily meant for viewing/filtering/searching, ...
32.592593
78
0.704545
116
880
5.25
0.586207
0.039409
0.036125
0
0
0
0
0
0
0
0
0
0.184091
880
26
79
33.846154
0.848189
0.461364
0
0
0
0
0.240909
0
0
0
0
0
0
1
0
false
0
0.2
0
0.7
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
b94be7e6ff8d746ff37c327fa8c14b7e1c2fe964
10,112
py
Python
riko/modules/regex.py
SpyHello/riko-py-stream
b52e35f3883596a8eac5b2d5be86dcc766dd0a88
[ "MIT" ]
null
null
null
riko/modules/regex.py
SpyHello/riko-py-stream
b52e35f3883596a8eac5b2d5be86dcc766dd0a88
[ "MIT" ]
null
null
null
riko/modules/regex.py
SpyHello/riko-py-stream
b52e35f3883596a8eac5b2d5be86dcc766dd0a88
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # vim: sw=4:ts=4:expandtab """ riko.modules.regex ~~~~~~~~~~~~~~~~~~ Provides functions for modifying the content of a field of an item using regular expressions, a powerful type of pattern matching. Think of it as search-and-replace on steriods. You can define multiple Regex rules. Each has th...
35.356643
80
0.572488
1,141
10,112
5.027169
0.199825
0.013424
0.016736
0.016736
0.738842
0.675384
0.630579
0.617678
0.617678
0.617678
0
0.001946
0.288469
10,112
285
81
35.480702
0.795275
0.690368
0
0.466667
0
0
0.037615
0
0
0
0
0
0
1
0.1
false
0
0.166667
0
0.333333
0.016667
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
b94c0d2ce25bb3f97de7a7a4afdb21522c27b212
358
py
Python
src/recipe/migrations/0006_auto_20200621_1351.py
aiyer16/recipe-app-backend
3e427c546dcfd79c40c62c3a4782c27638bdc745
[ "MIT" ]
null
null
null
src/recipe/migrations/0006_auto_20200621_1351.py
aiyer16/recipe-app-backend
3e427c546dcfd79c40c62c3a4782c27638bdc745
[ "MIT" ]
null
null
null
src/recipe/migrations/0006_auto_20200621_1351.py
aiyer16/recipe-app-backend
3e427c546dcfd79c40c62c3a4782c27638bdc745
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-06-21 13:51 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('recipe', '0005_auto_20200621_0031'), ] operations = [ migrations.AlterUniqueTogether( name='instruction', unique_together={(...
19.888889
50
0.603352
36
358
5.888889
0.861111
0
0
0
0
0
0
0
0
0
0
0.119231
0.273743
358
17
51
21.058824
0.696154
0.125698
0
0
1
0
0.163987
0.073955
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
b94cbdcd87a026a86e55b971f5aef6d4a786aaae
433
py
Python
setup.py
brycefrank/pyfor
efd34bcd7440358abea770c1bf5cad5e05a6fbe3
[ "MIT" ]
68
2018-04-02T18:00:29.000Z
2022-03-14T09:41:21.000Z
setup.py
brycefrank/PyFor
efd34bcd7440358abea770c1bf5cad5e05a6fbe3
[ "MIT" ]
68
2018-04-04T19:15:21.000Z
2020-02-14T19:03:49.000Z
setup.py
brycefrank/PyFor
efd34bcd7440358abea770c1bf5cad5e05a6fbe3
[ "MIT" ]
23
2018-04-03T16:30:40.000Z
2021-09-16T08:06:05.000Z
from setuptools import setup, find_packages, Extension setup( name="pyfor", version="0.3.6", author="Bryce Frank", author_email="bfrank70@gmail.com", packages=["pyfor", "pyfortest"], url="https://github.com/brycefrank/pyfor", license="LICENSE.txt", description="Tools for forest resource...
30.928571
85
0.685912
51
433
5.764706
0.843137
0
0
0
0
0
0
0
0
0
0
0.013736
0.159353
433
13
86
33.307692
0.793956
0.048499
0
0
0
0
0.419512
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
b94df21df38adf336c707d1eac362ac915d2910c
2,927
py
Python
Testing.py
faturita/mne-python
2c8cac5cf618351503d8f39e23fee80a66892fee
[ "BSD-3-Clause" ]
null
null
null
Testing.py
faturita/mne-python
2c8cac5cf618351503d8f39e23fee80a66892fee
[ "BSD-3-Clause" ]
2
2019-08-14T06:21:15.000Z
2020-10-29T19:54:56.000Z
Testing.py
faturita/mne-python
2c8cac5cf618351503d8f39e23fee80a66892fee
[ "BSD-3-Clause" ]
1
2020-03-05T16:14:37.000Z
2020-03-05T16:14:37.000Z
# coding: latin-1 import mne mne.set_log_level('WARNING') import matplotlib.pyplot as plt import matplotlib as mpl from matplotlib.transforms import Bbox import scipy.io import numpy as np mat = scipy.io.loadmat('/Users/rramele/GoogleDrive/BCI.Dataset/008-2014/A03.mat') mat = scipy.io.loadmat('/Users/rramele/work/E...
27.613208
99
0.660745
464
2,927
4.043103
0.413793
0.013859
0.03838
0.043177
0.089552
0.030917
0
0
0
0
0
0.046907
0.155108
2,927
105
100
27.87619
0.711686
0.239153
0
0.040816
0
0
0.098678
0.054297
0
0
0
0
0
0
null
null
0
0.122449
null
null
0.020408
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
b94fa597e9f00bf887d7b5604d5f06833ffc6279
3,107
py
Python
examples/Input-OutputNeuronGroup.py
ricardodeazambuja/BrianConnectUDP
d4a6705c885f45bf5905a658a623cda458e19ba7
[ "CC0-1.0" ]
null
null
null
examples/Input-OutputNeuronGroup.py
ricardodeazambuja/BrianConnectUDP
d4a6705c885f45bf5905a658a623cda458e19ba7
[ "CC0-1.0" ]
null
null
null
examples/Input-OutputNeuronGroup.py
ricardodeazambuja/BrianConnectUDP
d4a6705c885f45bf5905a658a623cda458e19ba7
[ "CC0-1.0" ]
null
null
null
''' Example of a spike bridge (receives and sends spikes) In this example spikes are received, processed and sent by UDP creating a raster plot at the end of the simulation. ''' from brian import * import numpy from brian_multiprocess_udp import BrianConnectUDP # The main function with the NeuronGroup(s) and Synap...
42.561644
164
0.758288
472
3,107
4.830508
0.326271
0.052632
0.035088
0.019737
0.188158
0.161842
0.161842
0.124123
0.124123
0.078509
0
0.026913
0.162858
3,107
72
165
43.152778
0.849673
0.384615
0
0
0
0
0.090835
0
0
0
0
0
0
0
null
null
0.041667
0.125
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
b956b676ab77c9a05c2f7dde0e65aeefa7881e52
11,709
py
Python
salt/modules/ini_manage.py
eguven/salt-1
710795b3b3187b1f8f9d948e49009d44fbcb6ebc
[ "Apache-2.0" ]
null
null
null
salt/modules/ini_manage.py
eguven/salt-1
710795b3b3187b1f8f9d948e49009d44fbcb6ebc
[ "Apache-2.0" ]
null
null
null
salt/modules/ini_manage.py
eguven/salt-1
710795b3b3187b1f8f9d948e49009d44fbcb6ebc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' Edit ini files :maintainer: <akilesh1597@gmail.com> :maturity: new :depends: re :platform: all Use section as DEFAULT_IMPLICIT if your ini file does not have any section (for example /etc/sysctl.conf) ''' # Import Python libs import re __virtualname__ = 'ini' def __virtual__(): '''...
29.793893
79
0.581091
1,362
11,709
4.748899
0.131424
0.045918
0.024737
0.013915
0.410637
0.323593
0.262832
0.247372
0.217842
0.196506
0
0.003006
0.318046
11,709
392
80
29.869898
0.807013
0.009822
0
0.257778
0
0
0.026128
0
0
0
0
0
0
0
null
null
0.004444
0.004444
null
null
0.004444
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
b9596514bdeca25dd67e0fa6183540cf124f11bc
8,601
py
Python
app/gws/spec/generator/typescript.py
gbd-consult/gbd-websuite
7212f41081c04614fdb4641e902d4de3424da8c5
[ "Apache-2.0" ]
3
2020-07-24T10:10:18.000Z
2022-03-16T10:22:04.000Z
app/gws/spec/generator/typescript.py
gbd-consult/gbd-websuite
7212f41081c04614fdb4641e902d4de3424da8c5
[ "Apache-2.0" ]
28
2020-03-03T17:35:58.000Z
2021-07-12T12:05:47.000Z
app/gws/spec/generator/typescript.py
gbd-consult/gbd-websuite
7212f41081c04614fdb4641e902d4de3424da8c5
[ "Apache-2.0" ]
1
2021-02-22T14:32:10.000Z
2021-02-22T14:32:10.000Z
"""Generate typescript API files from the server spec""" import json import re import collections from . import base def generate(state: base.ParserState, meta): g = _Generator(state, meta) return g.run() ## class _Generator: def __init__(self, state, meta): self.state = state self.met...
27.925325
99
0.47448
999
8,601
3.963964
0.173173
0.032323
0.039394
0.051515
0.281818
0.232323
0.218687
0.179293
0.163636
0.15404
0
0.004142
0.382397
8,601
307
100
28.016287
0.74134
0.02209
0
0.235294
1
0.004202
0.208715
0.013811
0
0
0
0
0
1
0.058824
false
0
0.016807
0.008403
0.201681
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
b95c364e71ec41ce66bd5c3054502babefb1b485
393
py
Python
src/web/groups/staff/__init__.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
5
2018-03-08T17:22:27.000Z
2018-03-11T14:20:53.000Z
src/web/groups/staff/__init__.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
263
2018-03-08T18:05:12.000Z
2022-03-11T23:26:20.000Z
src/web/groups/staff/__init__.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
6
2018-03-12T19:48:19.000Z
2022-01-14T04:58:52.000Z
import frontend.icons import sistema.staff @sistema.staff.register_staff_interface class GroupsStaffInterface(sistema.staff.StaffInterface): def get_sidebar_menu(self): return [ sistema.staff.MenuItem( self.request, 'Группы', 'school:groups:list'...
24.5625
57
0.585242
35
393
6.457143
0.685714
0.212389
0
0
0
0
0
0
0
0
0
0
0.3257
393
15
58
26.2
0.85283
0
0
0
0
0
0.073791
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0.076923
0.384615
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
b95cb8a47dc065386f25012a9d76cfa36d895e8b
1,757
py
Python
server.py
sriharshapotnuru/Intern_Steelplant
6fa26ddef28856a7dbec48d5356fa216a9419982
[ "MIT" ]
3
2018-08-23T18:49:29.000Z
2018-12-02T08:14:24.000Z
server.py
kiran137/Sales-and-Production-data-analysis-and-Prediction
2bef2b89b5b6e31692ea49483da0a6bd6d9ae99e
[ "MIT" ]
null
null
null
server.py
kiran137/Sales-and-Production-data-analysis-and-Prediction
2bef2b89b5b6e31692ea49483da0a6bd6d9ae99e
[ "MIT" ]
null
null
null
from flask import Flask, request from flask_cors import CORS, cross_origin from flask_restful import Resource, Api from json import dumps from flask_jsonpify import jsonify import numpy as np import pandas as pd import matplotlib.pylab as plt import seaborn as sns from matplotlib.pylab import rcParams from datetime im...
25.1
72
0.673307
245
1,757
4.62449
0.346939
0.031774
0.03707
0.050309
0.214475
0.177405
0.177405
0.113857
0
0
0
0.020284
0.158224
1,757
70
73
25.1
0.745774
0.273762
0
0
0
0
0.080888
0.016653
0
0
0
0
0
1
0.055556
false
0
0.333333
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
0
0
0
1
0
0
0
0
1
b95de63917004509aeb736c2721ede6771e9bc23
3,734
py
Python
examples/04/inference/inference.py
chenwuperth/smworkshop
13738a04d6cdcaf75a4c97b3ca3ed31349a9385f
[ "Apache-2.0" ]
null
null
null
examples/04/inference/inference.py
chenwuperth/smworkshop
13738a04d6cdcaf75a4c97b3ca3ed31349a9385f
[ "Apache-2.0" ]
null
null
null
examples/04/inference/inference.py
chenwuperth/smworkshop
13738a04d6cdcaf75a4c97b3ca3ed31349a9385f
[ "Apache-2.0" ]
2
2020-06-22T02:55:34.000Z
2020-07-09T10:18:48.000Z
""" inference script for both batch transform and endpoint Implements four call-backs, see https://sagemaker.readthedocs.io/en/stable/using_pytorch.html#serve-a-pytorch-model After the SageMaker model server has loaded your model by calling model_fn, SageMaker will serve your model. Model serving is the process of r...
38.102041
210
0.710766
537
3,734
4.865922
0.433892
0.033678
0.027555
0.013777
0.121699
0.079602
0.051282
0.023728
0.023728
0.023728
0
0.01184
0.208356
3,734
97
211
38.494845
0.872124
0.700321
0
0.064516
0
0
0.058423
0
0
0
0
0.010309
0
1
0.064516
false
0
0.129032
0
0.258065
0.064516
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
b9685dd4997b42caae9073441ca71b58248df61e
1,325
py
Python
setup.py
StuartMacKay/ebird-api
14b5c777548416a58abec05e25cd4b9a8e22f210
[ "MIT" ]
9
2020-05-16T20:26:33.000Z
2021-11-02T06:24:46.000Z
setup.py
StuartMacKay/ebird-api
14b5c777548416a58abec05e25cd4b9a8e22f210
[ "MIT" ]
17
2019-06-22T09:41:22.000Z
2020-09-11T06:25:21.000Z
setup.py
ProjectBabbler/ebird-api
14b5c777548416a58abec05e25cd4b9a8e22f210
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os from setuptools import setup def read(filename): with open(os.path.join(os.path.dirname(__file__), filename)) as fp: return fp.read() setup( name='ebird-api', version='3.0.6', description='Wrapper for accessing the eBird API', long_description=read("RE...
29.444444
71
0.612075
141
1,325
5.666667
0.638298
0.142678
0.187735
0.130163
0
0
0
0
0
0
0
0.011834
0.234717
1,325
44
72
30.113636
0.776134
0.015849
0
0
0
0
0.502304
0.018433
0
0
0
0
0
1
0.027027
false
0
0.054054
0
0.108108
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
b96931724065595f804452af54ce9d71cd16432c
1,678
py
Python
tests/test_utils.py
alexey4petrov/reinteract
3e17f469467d065ff0d1f7970815bb49e21ca457
[ "BSD-2-Clause" ]
1
2020-11-11T05:20:35.000Z
2020-11-11T05:20:35.000Z
tests/test_utils.py
alexey4petrov/reinteract
3e17f469467d065ff0d1f7970815bb49e21ca457
[ "BSD-2-Clause" ]
null
null
null
tests/test_utils.py
alexey4petrov/reinteract
3e17f469467d065ff0d1f7970815bb49e21ca457
[ "BSD-2-Clause" ]
null
null
null
# Copyright 2008 Owen Taylor # # This file is part of Reinteract and distributed under the terms # of the BSD license. See the file COPYING in the Reinteract # distribution for full details. # ######################################################################## def assert_equals(result, expected): if result !=...
30.509091
83
0.606675
197
1,678
5.076142
0.431472
0.066
0.05
0.08
0.05
0.05
0
0
0
0
0
0.007513
0.206794
1,678
54
84
31.074074
0.743802
0.107271
0
0.176471
0
0
0.070527
0
0
0
0
0
0.058824
1
0.058824
false
0.117647
0.147059
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b96943c081126f2c31347454eaf9315055f30cf0
3,907
py
Python
dev/GraphTestColoringByDegree.py
dixneuf19/dev-log-cs-1a
ad39cbb15468bde6618f222399381bdf1c03982c
[ "MIT" ]
null
null
null
dev/GraphTestColoringByDegree.py
dixneuf19/dev-log-cs-1a
ad39cbb15468bde6618f222399381bdf1c03982c
[ "MIT" ]
null
null
null
dev/GraphTestColoringByDegree.py
dixneuf19/dev-log-cs-1a
ad39cbb15468bde6618f222399381bdf1c03982c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ## # @author Pr Magoules HPC Research Group, CentraleSupelec, France # @author G. Gbikpi-Benissan # @author Julen Dixneuf, IS1260-PC01, CentraleSupelec, France [TODO] # @date 2016-01-02, 2016-01-02 # @date 2016-12-13, 2016-12-13 # @date 2016-12-13, 2017-01-31 [TODO] # @version 2.0 [Pyt...
26.398649
81
0.460456
387
3,907
4.475452
0.379845
0.050808
0.067552
0.013857
0.144342
0.062356
0
0
0
0
0
0.028119
0.208088
3,907
148
82
26.398649
0.531674
0.457896
0
0.12069
0
0
0.170146
0.020877
0
0
0
0.006757
0
0
null
null
0
0.086207
null
null
0.189655
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
b96b40736c75bc7684e336d59fed664831b57e35
808
py
Python
2020/examples-in-class-2020-10-15/solution_to_example_question01b.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2021-02-04T16:59:11.000Z
2021-02-04T16:59:11.000Z
2020/examples-in-class-2020-10-15/solution_to_example_question01b.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
null
null
null
2020/examples-in-class-2020-10-15/solution_to_example_question01b.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2019-10-30T14:37:48.000Z
2019-10-30T14:37:48.000Z
#Write a function that finds if a given string argument is Palindrome. A Palindrome string is equal to its reverse, that is its reading is the same backward as forward. #For example: efe, hannah, ava, anna are palindromes. #Test your function with above examples and test with at least 3 different # non-Palindrome exa...
31.076923
168
0.773515
125
808
4.832
0.456
0.22351
0.074503
0.049669
0.119205
0.056291
0
0
0
0
0
0.002857
0.133663
808
25
169
32.32
0.86
0.477723
0
0
0
0
0.248792
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0.142857
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
b96bf571aebdccd949a6a47b5550f47e18705321
4,328
py
Python
sdk/python/pulumi_azure/authorization/get_role_definition.py
adnang/pulumi-azure
32360d2f1e41e27d7fdd6522cb26d65e531f279f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/authorization/get_role_definition.py
adnang/pulumi-azure
32360d2f1e41e27d7fdd6522cb26d65e531f279f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/authorization/get_role_definition.py
adnang/pulumi-azure
32360d2f1e41e27d7fdd6522cb26d65e531f279f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from typing import Union from .. import utilities, tables class GetRol...
42.019417
334
0.67537
507
4,328
5.497041
0.274162
0.09042
0.068891
0.086114
0.220667
0.122354
0.071044
0.047363
0
0
0
0.020217
0.234288
4,328
102
335
42.431373
0.82076
0.139325
0
0
1
0
0.155772
0.017886
0
0
0
0
0
1
0.046875
false
0
0.09375
0
0.203125
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
b976531c6db83ee313ebcf4e2a3fe08442b6437f
1,961
py
Python
test_catsgo_clockwork.py
GenomePathogenAnalysisService/catsgo
ccc957a899647eb612bac42270bb5b1da58ca1f3
[ "MIT" ]
null
null
null
test_catsgo_clockwork.py
GenomePathogenAnalysisService/catsgo
ccc957a899647eb612bac42270bb5b1da58ca1f3
[ "MIT" ]
null
null
null
test_catsgo_clockwork.py
GenomePathogenAnalysisService/catsgo
ccc957a899647eb612bac42270bb5b1da58ca1f3
[ "MIT" ]
null
null
null
# Test catsgo.py with clockwork config # Make a config file for testing server: https://cats.oxfordfun.com # Run all tests: python3 test_catsgo_clockwork.py # Run one test: python3 test_catsgo_clockwork.py TestCatsgo.test_fetch # Run code coverage: coverage run test_catsgo_clockwork.py # View code coverage report: cove...
39.22
93
0.72361
257
1,961
5.276265
0.252918
0.097345
0.062684
0.09587
0.526549
0.457227
0.457227
0.429941
0.429941
0.429941
0
0.012165
0.161652
1,961
49
94
40.020408
0.812652
0.189699
0
0.212121
0
0
0.28463
0.224541
0
0
0
0
0.121212
1
0.212121
false
0
0.121212
0
0.363636
0.060606
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
b982f2876ef02cf7478be6c33a03b996062eb813
1,311
py
Python
es/constant.py
Kgermando/e-s
249ada84c63ffe99a71c1fbb301c533b9f5a3869
[ "Apache-2.0" ]
null
null
null
es/constant.py
Kgermando/e-s
249ada84c63ffe99a71c1fbb301c533b9f5a3869
[ "Apache-2.0" ]
null
null
null
es/constant.py
Kgermando/e-s
249ada84c63ffe99a71c1fbb301c533b9f5a3869
[ "Apache-2.0" ]
null
null
null
CATEGORIES = [ ('SOLUTIONS', 'SOLUTIONS'), ('PRODUITS', 'PRODUITS'), ('PARTENAIRES', 'PARTENAIRES'), ('INVESTISSEURS', 'INVESTISSEURS'), ] SECTEUR_ENTREPRISES = [ ('Agroalimentaire', 'Agroalimentaire'), ('Banque / Assurance', 'Banque / Assurance'), ('Bois / Papier / Carton / Imprimerie', '...
46.821429
85
0.664378
103
1,311
8.446602
0.495146
0.034483
0.036782
0.05977
0
0
0
0
0
0
0
0
0.175439
1,311
27
86
48.555556
0.80481
0
0
0
0
0
0.741985
0
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
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b986856ef36b934d20bb4b0f8618d63b369e181e
590
py
Python
setup.py
encukou/pyworking.cz
246da3a46b0dd6ed8bd9d5a6e1621ba0b7407205
[ "MIT" ]
null
null
null
setup.py
encukou/pyworking.cz
246da3a46b0dd6ed8bd9d5a6e1621ba0b7407205
[ "MIT" ]
null
null
null
setup.py
encukou/pyworking.cz
246da3a46b0dd6ed8bd9d5a6e1621ba0b7407205
[ "MIT" ]
1
2018-11-07T12:10:53.000Z
2018-11-07T12:10:53.000Z
#!/usr/bin/env python3 from setuptools import setup, find_packages setup( name='pyworking-cz', version='0.0.1', description='Website pyworking.cz', url='https://github.com/pypa/sampleproject', license='MIT', packages=find_packages(exclude=['contrib', 'doc*', 'tests']), install_requires=[ ...
24.583333
92
0.608475
62
590
5.645161
0.741935
0.157143
0
0
0
0
0
0
0
0
0
0.008584
0.210169
590
23
93
25.652174
0.742489
0.183051
0
0
0
0
0.285417
0
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
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
b98834f2715f082611d4d4e3e20ca782cfe2e15f
1,568
py
Python
gui/tkgui.py
nicorellius/password-generator
15fff8583f070f1d5ef41524f8776c8c97bf99db
[ "MIT" ]
1
2017-06-11T14:29:54.000Z
2017-06-11T14:29:54.000Z
gui/tkgui.py
nicorellius/password-generator
15fff8583f070f1d5ef41524f8776c8c97bf99db
[ "MIT" ]
null
null
null
gui/tkgui.py
nicorellius/password-generator
15fff8583f070f1d5ef41524f8776c8c97bf99db
[ "MIT" ]
null
null
null
#!/usr/bin/env python import tkinter as tk from scripts.generate import generate_secret class Application(tk.Tk): MODES = [ ("Words", "Words"), ("Numbers", "Numbers"), ("Mixed", "Mixed"), ] def __init__(self, *args, **kwargs): tk.Tk.__init__(self, *args, **kwargs) ...
25.290323
78
0.561224
190
1,568
4.489474
0.473684
0.046893
0.056272
0.042204
0
0
0
0
0
0
0
0.006375
0.299745
1,568
61
79
25.704918
0.770492
0.012755
0
0
1
0
0.151261
0
0
0
0
0
0
1
0.097561
false
0.02439
0.04878
0
0.195122
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
b98b68e60fcec384c33c92758938ccd94402b07e
401
py
Python
games/ninswitch/config.py
bn102/surrortg-sdk
5f51515d0fd83741b3359b9a682c0a9afc38886f
[ "MIT" ]
21
2020-11-03T23:41:56.000Z
2022-03-21T04:11:46.000Z
games/ninswitch/config.py
bn102/surrortg-sdk
5f51515d0fd83741b3359b9a682c0a9afc38886f
[ "MIT" ]
5
2021-02-11T14:36:03.000Z
2021-07-20T11:45:07.000Z
games/ninswitch/config.py
bn102/surrortg-sdk
5f51515d0fd83741b3359b9a682c0a9afc38886f
[ "MIT" ]
11
2020-11-13T11:14:33.000Z
2022-03-21T04:11:51.000Z
""" DO NOT MODIFY THE VALUES FROM THIS FILE TO OVERRIDE THESE VALUES, USE config_local.py """ # Reset Trinket board each game loop RESET_TRINKET_EACH_LOOP = False """TrinketResetSwitch""" # Pin to reset Trinket TRINKET_RESET_PIN = 23 # Override values in this file with those found in config_local.py try: from ga...
22.277778
66
0.765586
59
401
5.067797
0.627119
0.110368
0.086957
0
0
0
0
0
0
0
0
0.006006
0.169576
401
17
67
23.588235
0.891892
0.528678
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.166667
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
b98bdda61b22cb980c30bef3e5e205d09a4751e0
316
py
Python
ex028 - Aknator numerico.py
CelsoAntunesNogueira/Phyton3
3a7ec8d7a6f996b2d3c36a9c6d239707e76aace4
[ "MIT" ]
null
null
null
ex028 - Aknator numerico.py
CelsoAntunesNogueira/Phyton3
3a7ec8d7a6f996b2d3c36a9c6d239707e76aace4
[ "MIT" ]
null
null
null
ex028 - Aknator numerico.py
CelsoAntunesNogueira/Phyton3
3a7ec8d7a6f996b2d3c36a9c6d239707e76aace4
[ "MIT" ]
null
null
null
import random from time import sleep num = int(input('Digite um número de 1 a 5 que irei tentar advinhar:')) a = random.randint(0, 5) print('Pensando ..') sleep(2) print("O número foi {}".format(num)) print('E pensei no número {}'.format(a)) if num == a : print("Eu acertei! ") else: print('Você ganhou!!')
24.307692
71
0.655063
52
316
3.980769
0.692308
0
0
0
0
0
0
0
0
0
0
0.019157
0.174051
316
12
72
26.333333
0.773946
0
0
0
0
0
0.389241
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.416667
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
b98c938645d42b638825c66f857c47998c68d6d8
638
py
Python
app/recipe/views.py
snashaboina/recipe-app-api
edec60023f41f1f611d2b0149e6f84f6ce6211e2
[ "MIT" ]
1
2020-09-30T15:40:23.000Z
2020-09-30T15:40:23.000Z
app/recipe/views.py
snashaboina/recipe-app-api
edec60023f41f1f611d2b0149e6f84f6ce6211e2
[ "MIT" ]
null
null
null
app/recipe/views.py
snashaboina/recipe-app-api
edec60023f41f1f611d2b0149e6f84f6ce6211e2
[ "MIT" ]
null
null
null
from rest_framework import viewsets, mixins from recipe.serializers import TagSerializers from rest_framework import authentication, permissions from core.models import Tag class TagViewSet(viewsets.GenericViewSet, mixins.ListModelMixin): """Manage tags in the database""" authentication_classes = (authenticat...
37.529412
77
0.772727
69
638
7.043478
0.652174
0.032922
0.069959
0.09465
0
0
0
0
0
0
0
0
0.142633
638
16
78
39.875
0.888483
0.111285
0
0
0
0
0.008993
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
1
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
b98cc91de9721bbb84db276cc48986b556b304f1
4,132
py
Python
hdidx/storage/lmdb_storage.py
aagnone3/hdidx
81866ceabca8094c5c947926d938d87632c518b3
[ "MIT" ]
77
2015-10-15T13:16:28.000Z
2021-11-01T03:33:38.000Z
hdidx/storage/lmdb_storage.py
Neurocomputing/NEUCOM-D-15-02269
7b816f651cdb7791e8761ad14b943153a94d4f0a
[ "Python-2.0", "RSA-MD" ]
9
2016-03-16T03:40:12.000Z
2021-01-18T14:22:06.000Z
hdidx/storage/lmdb_storage.py
Neurocomputing/NEUCOM-D-15-02269
7b816f651cdb7791e8761ad14b943153a94d4f0a
[ "Python-2.0", "RSA-MD" ]
23
2015-10-07T12:52:01.000Z
2021-04-29T07:04:04.000Z
#!/usr/bin/env python # coding: utf-8 """ File Name: lmdb_storage.py Author: Wan Ji E-mail: wanji@live.com Created on: Sat Aug 8 16:11:07 2015 CST """ DESCRIPTION = """ """ import cPickle as pickle from struct import pack, unpack import numpy as np from hdidx.storage import MemStorage class LMDBA...
29.098592
80
0.560503
581
4,132
3.910499
0.216867
0.047535
0.058099
0.070423
0.299736
0.290933
0.269366
0.269366
0.260123
0.245599
0
0.007304
0.304211
4,132
141
81
29.304965
0.782957
0.07091
0
0.228916
0
0
0.007776
0
0
0
0
0
0
1
0.240964
false
0
0.048193
0.036145
0.433735
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
b98d9ef4f9e2bb082347e90e931fc9598df5da5b
2,512
py
Python
fdi/migrations/0001_initial.py
uktrade/export-wins-data
46caa444812e89abe504bec8c15aa7f7ba1a247e
[ "MIT" ]
5
2016-09-12T12:52:45.000Z
2020-03-24T14:43:13.000Z
fdi/migrations/0001_initial.py
uktrade/export-wins-data
46caa444812e89abe504bec8c15aa7f7ba1a247e
[ "MIT" ]
435
2016-10-18T12:51:39.000Z
2021-06-09T17:22:08.000Z
fdi/migrations/0001_initial.py
uktrade/export-wins-data
46caa444812e89abe504bec8c15aa7f7ba1a247e
[ "MIT" ]
2
2016-12-06T10:37:21.000Z
2017-02-22T17:27:43.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-09-12 14:23 from __future__ import unicode_literals import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion import django_extensions.db.fields class Migration(migrations.Migration): initial...
42.576271
149
0.61465
247
2,512
6.089069
0.352227
0.051197
0.055851
0.071809
0.537899
0.516622
0.489362
0.489362
0.489362
0.489362
0
0.010672
0.253981
2,512
58
150
43.310345
0.791889
0.02707
0
0.56
1
0
0.119623
0
0
0
0
0
0
1
0
false
0
0.2
0
0.28
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
b9917474f94bdbf7bad20d9c6f5dd91bfb1a28bf
18,502
py
Python
tests/integration/backward_compatible/predicate_test.py
tonytheonlypony/hazelcast-python-client
3aafeaf2ebc05aee4f2386c62c079db496a7c81f
[ "Apache-2.0" ]
98
2015-12-08T14:26:27.000Z
2022-03-23T17:44:11.000Z
tests/integration/backward_compatible/predicate_test.py
tonytheonlypony/hazelcast-python-client
3aafeaf2ebc05aee4f2386c62c079db496a7c81f
[ "Apache-2.0" ]
396
2016-02-23T11:07:55.000Z
2022-03-31T14:26:34.000Z
tests/integration/backward_compatible/predicate_test.py
tonytheonlypony/hazelcast-python-client
3aafeaf2ebc05aee4f2386c62c079db496a7c81f
[ "Apache-2.0" ]
62
2015-12-09T11:20:53.000Z
2022-01-28T01:30:54.000Z
import os from hazelcast.predicate import ( equal, and_, between, less, less_or_equal, greater, greater_or_equal, or_, not_equal, not_, like, ilike, regex, sql, true, false, in_, instance_of, paging, ) from hazelcast.serialization.api import P...
31.681507
98
0.619987
2,365
18,502
4.658774
0.104017
0.055909
0.035941
0.036758
0.649029
0.597568
0.549101
0.50472
0.483663
0.44745
0
0.023835
0.249432
18,502
583
99
31.735849
0.769569
0.030483
0
0.411765
0
0
0.038997
0
0
0
0
0
0.158371
1
0.205882
false
0.002262
0.0181
0.029412
0.29638
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
b992af4456d4f28ca438e651f45e2146c75a0d4f
1,478
py
Python
tests/common/gcp_type/test_data/fake_groups.py
aarontp/forseti-security
6d03c14114468ff6170846392b7d14a0619fa9f0
[ "Apache-2.0" ]
921
2017-03-09T01:01:24.000Z
2019-04-16T11:38:25.000Z
tests/common/gcp_type/test_data/fake_groups.py
aarontp/forseti-security
6d03c14114468ff6170846392b7d14a0619fa9f0
[ "Apache-2.0" ]
1,996
2017-03-03T22:07:50.000Z
2019-04-17T00:02:28.000Z
tests/common/gcp_type/test_data/fake_groups.py
aarontp/forseti-security
6d03c14114468ff6170846392b7d14a0619fa9f0
[ "Apache-2.0" ]
241
2017-03-09T01:00:04.000Z
2019-04-15T18:53:35.000Z
# Copyright 2017 The Forseti Security Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
28.423077
74
0.61908
180
1,478
4.955556
0.516667
0.067265
0.049327
0.058296
0.346413
0.213004
0.213004
0.141256
0.141256
0.141256
0
0.03255
0.251691
1,478
51
75
28.980392
0.77396
0.44452
0
0.46875
0
0
0.473815
0
0
0
0
0.019608
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
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
b995e1e42276ccc1554b23ac4f1e28e33ad85ad8
622
py
Python
example.py
IntelliMindTeam/PythonHMM
b2d2159db58bde30e3a81b1b04caa9810992e593
[ "BSD-3-Clause" ]
70
2016-01-28T14:36:14.000Z
2021-09-01T16:44:19.000Z
example.py
IntelliMindTeam/PythonHMM
b2d2159db58bde30e3a81b1b04caa9810992e593
[ "BSD-3-Clause" ]
1
2017-03-03T11:28:30.000Z
2017-03-04T02:29:50.000Z
example.py
IntelliMindTeam/PythonHMM
b2d2159db58bde30e3a81b1b04caa9810992e593
[ "BSD-3-Clause" ]
50
2015-10-12T01:02:15.000Z
2022-02-17T13:33:02.000Z
# -*- coding: utf-8 -*- from hmm import Model states = ('rainy', 'sunny') symbols = ('walk', 'shop', 'clean') start_prob = { 'rainy' : 0.5, 'sunny' : 0.5 } trans_prob = { 'rainy': { 'rainy' : 0.7, 'sunny' : 0.3 }, 'sunny': { 'rainy' : 0.4, 'sunny' : 0.6 } } emit_prob = { 'rainy': { 'walk' : 0.1...
21.448276
78
0.543408
87
622
3.816092
0.333333
0.081325
0.078313
0
0
0
0
0
0
0
0
0.050917
0.210611
622
28
79
22.214286
0.625255
0.033762
0
0
0
0
0.22408
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.105263
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
b99cd9008652957c51311fa5fd21b66b81b37fe5
2,603
py
Python
tests/test_updatable_heap.py
valginer0/exotic-structures
15f9a1204114f2ab3b159fca345d6e34d818df75
[ "MIT" ]
null
null
null
tests/test_updatable_heap.py
valginer0/exotic-structures
15f9a1204114f2ab3b159fca345d6e34d818df75
[ "MIT" ]
null
null
null
tests/test_updatable_heap.py
valginer0/exotic-structures
15f9a1204114f2ab3b159fca345d6e34d818df75
[ "MIT" ]
null
null
null
from unittest import TestCase from exoticst.heap_with_update import UpdatableHeap class TestUpdatableHeap(TestCase): def test_empty_heap_sort_case(self): l2 = [] expected = [] heapq = UpdatableHeap() realised = heapq.heapsort(l2) self.assertEqual(expected, realised) de...
36.661972
116
0.420284
407
2,603
2.63145
0.113022
0.029879
0.022409
0.059757
0.777778
0.699346
0.687208
0.593838
0.593838
0.593838
0
0.196161
0.359585
2,603
70
117
37.185714
0.446311
0
0
0.5625
0
0
0
0
0
0
0
0
0.078125
1
0.078125
false
0
0.03125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b99d289307c2196f6c07374b07cb86820a216534
4,436
py
Python
src/human_lambdas/organization_handler/tests/test_organizations.py
Human-Lambdas/human-lambdas
9a2f2317f0c8dbfbfa88f3ba4994de7e6b2c4d50
[ "Apache-2.0" ]
25
2021-06-08T08:00:08.000Z
2022-03-17T22:49:10.000Z
src/human_lambdas/organization_handler/tests/test_organizations.py
Human-Lambdas/human-lambdas
9a2f2317f0c8dbfbfa88f3ba4994de7e6b2c4d50
[ "Apache-2.0" ]
null
null
null
src/human_lambdas/organization_handler/tests/test_organizations.py
Human-Lambdas/human-lambdas
9a2f2317f0c8dbfbfa88f3ba4994de7e6b2c4d50
[ "Apache-2.0" ]
5
2021-06-15T09:57:46.000Z
2022-02-03T16:18:33.000Z
import logging from rest_framework import status from rest_framework.test import APITestCase from human_lambdas.user_handler.models import Organization, User logger = logging.getLogger(__name__) class TestOrganizations(APITestCase): def setUp(self): self.preset_user_name = "foo" self.preset_use...
42.653846
85
0.656898
520
4,436
5.401923
0.159615
0.06408
0.064792
0.054824
0.60235
0.528302
0.522606
0.522606
0.522606
0.507298
0
0.008865
0.211677
4,436
103
86
43.067961
0.794395
0
0
0.377778
0
0
0.117899
0
0
0
0
0
0.155556
1
0.088889
false
0.1
0.044444
0
0.144444
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
b99ddd2f983df6b00201b698ecc8b6c1422305b6
384
py
Python
webapp/migrations/0014_remove_image_image_likes.py
Agnes-N/Instagram
f74c0dd3b20d72ea9dc495cffcebcd38be759fb4
[ "MIT" ]
null
null
null
webapp/migrations/0014_remove_image_image_likes.py
Agnes-N/Instagram
f74c0dd3b20d72ea9dc495cffcebcd38be759fb4
[ "MIT" ]
3
2020-06-05T23:57:32.000Z
2021-06-10T22:08:15.000Z
webapp/migrations/0014_remove_image_image_likes.py
Agnes-N/Instagram
f74c0dd3b20d72ea9dc495cffcebcd38be759fb4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-10-18 09:42 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('webapp', '0013_comments'), ] operations = [ migrations.RemoveField( model...
19.2
46
0.606771
41
384
5.487805
0.804878
0.08
0
0
0
0
0
0
0
0
0
0.071942
0.276042
384
19
47
20.210526
0.73741
0.171875
0
0
1
0
0.111111
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
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
b99f496788f3819d1dbd16fe66130f979d019cec
5,782
py
Python
PP4E/Examples/PP4E/Ai/ExpertSystem/holmes/holmes3/backwrd5.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/Ai/ExpertSystem/holmes/holmes3/backwrd5.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/Ai/ExpertSystem/holmes/holmes3/backwrd5.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
# # module backwrd5.py # # backward chaining inference engine with tree list rep; # see holmes/backwrd5.py and holmes.doc for more info; #################################################################### from match import * from index import Index from kbase import external from backward import input...
25.8125
79
0.440678
590
5,782
4.274576
0.254237
0.028549
0.013085
0.011102
0.075337
0.036479
0.022205
0
0
0
0
0.01086
0.394846
5,782
223
80
25.928251
0.709917
0.084227
0
0.206107
0
0
0.088875
0
0
0
0
0
0
0
null
null
0
0.030534
null
null
0.160305
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
b9a19629db4985ea1885f376e755f342da1e7346
1,761
py
Python
common/Email.py
dalegebit/PolyTracker-backend
4f817443069f5667646ce9e2ac2bcfbebcb32464
[ "MIT" ]
null
null
null
common/Email.py
dalegebit/PolyTracker-backend
4f817443069f5667646ce9e2ac2bcfbebcb32464
[ "MIT" ]
null
null
null
common/Email.py
dalegebit/PolyTracker-backend
4f817443069f5667646ce9e2ac2bcfbebcb32464
[ "MIT" ]
null
null
null
from flask import current_app, render_template from flask_mail import Message # Code from # https://github.com/lingthio/Flask-User/blob/master/flask_user/emails.py def render_email(filename, **kwargs): """ Render email message in HTML and raw format """ html_message = render_template(filename + '.htm...
32.611111
78
0.722885
229
1,761
5.292576
0.292576
0.072607
0.074257
0.108911
0.362211
0.338284
0.254125
0.254125
0.254125
0.254125
0
0.006863
0.172629
1,761
53
79
33.226415
0.824983
0.158433
0
0.24
0
0
0.157042
0
0
0
0
0
0
1
0.16
false
0.16
0.08
0
0.28
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
b9a53502151806bc23420893e405f7f870371d7b
178
py
Python
2015/4.py
Pitel/adventofcode
6c7f66214bc3294a5ace05ae3386bb26795fbff6
[ "Unlicense" ]
null
null
null
2015/4.py
Pitel/adventofcode
6c7f66214bc3294a5ace05ae3386bb26795fbff6
[ "Unlicense" ]
null
null
null
2015/4.py
Pitel/adventofcode
6c7f66214bc3294a5ace05ae3386bb26795fbff6
[ "Unlicense" ]
null
null
null
import hashlib key = b'bgvyzdsv' md5 = '' i = 0 while not(md5.startswith('000000')): x = key + bytes(str(i), 'ascii') md5 = hashlib.md5(x).hexdigest() print(x, md5) i += 1
14.833333
36
0.61236
29
178
3.758621
0.655172
0.073395
0
0
0
0
0
0
0
0
0
0.089655
0.185393
178
11
37
16.181818
0.662069
0
0
0
0
0
0.106742
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
1
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
0
0
1
b9b17452ba64f8cab0191d9e3ff80da3f9040293
324
py
Python
project/project/urls.py
akhan3674/twitterMapper
8a9626c6d5a463f42936c3a936f31dc6fdf03a20
[ "MIT" ]
null
null
null
project/project/urls.py
akhan3674/twitterMapper
8a9626c6d5a463f42936c3a936f31dc6fdf03a20
[ "MIT" ]
null
null
null
project/project/urls.py
akhan3674/twitterMapper
8a9626c6d5a463f42936c3a936f31dc6fdf03a20
[ "MIT" ]
null
null
null
from django.conf.urls import include, url from django.contrib import admin from project.views import tweetcode urlpatterns = [ # Examples: # url(r'^$', 'project.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)),url(r'^keyword/(.+)/$',tweetcode)...
29.454545
80
0.654321
43
324
4.930233
0.465116
0.075472
0.075472
0
0
0
0
0
0
0
0
0
0.138889
324
10
81
32.4
0.759857
0.290123
0
0
0
0
0.097345
0
0
0
0
0
0
1
0
false
0
0.5
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
0
1
0
0
0
0
1
b9b50efc433988c788936e402d74f4ca1e29c146
8,989
py
Python
backend/childcheck/views.py
NrsSystems/child-check
b3bd84fae98550d4ef07e7d21e4d0af33cff6601
[ "MIT" ]
1
2021-12-18T00:11:42.000Z
2021-12-18T00:11:42.000Z
backend/childcheck/views.py
NrsSystems/child-check
b3bd84fae98550d4ef07e7d21e4d0af33cff6601
[ "MIT" ]
null
null
null
backend/childcheck/views.py
NrsSystems/child-check
b3bd84fae98550d4ef07e7d21e4d0af33cff6601
[ "MIT" ]
null
null
null
from django.db.models.expressions import F from .filters import * from . models import * from .parsers import * from .permissions import * from .serializers import * import csv import datetime from django.conf import settings from django.core.files.base import ContentFile from django.core.files.storage import default_...
37.610879
158
0.64768
1,003
8,989
5.672981
0.215354
0.032865
0.023902
0.029525
0.346046
0.265554
0.240422
0.18717
0.144991
0.129174
0
0.006703
0.236511
8,989
238
159
37.768908
0.822381
0
0
0.242718
0
0
0.095895
0.005896
0
0
0
0
0
1
0.063107
false
0.053398
0.121359
0
0.402913
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
b9b5433290275b38c812791bf6e17f2cfa657527
302
py
Python
Python/OperatingSystemClasses.py
PC-fit-Christian-Rupp/Enumeration-OS
389cae43da98c0865c4d081fac2239a5f12d2b50
[ "MIT" ]
1
2015-04-08T17:33:00.000Z
2015-04-08T17:33:00.000Z
Python/OperatingSystemClasses.py
PC-fit-Christian-Rupp/Enumeration-OS
389cae43da98c0865c4d081fac2239a5f12d2b50
[ "MIT" ]
16
2016-07-20T16:29:54.000Z
2016-10-11T20:03:01.000Z
Python/OperatingSystemClasses.py
PC-fit-Christian-Rupp/Enumeration-OS
389cae43da98c0865c4d081fac2239a5f12d2b50
[ "MIT" ]
null
null
null
from enum import Enum import re class OperatingSystemClasses(Enum): #ENUM:START DESKTOP = 1 SERVER = 2 EMBEDDED = 3 #ENUM:END def parse(self, string): for j in OperatingSystemClasses: if (string.lower()).find(j.name.lower())>=0: return j return OperatingSystemClasses.DESKTOP
16.777778
47
0.705298
40
302
5.325
0.675
0.093897
0
0
0
0
0
0
0
0
0
0.016393
0.192053
302
17
48
17.764706
0.856557
0.059603
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.818182
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
b9bba93e5703d5458419d0fc85a34b0ac40f840a
2,039
py
Python
kolibri/core/device/utils.py
kollivier/kolibri
7312a5353021a22fc7b9701468e470cba5e1c62b
[ "MIT" ]
null
null
null
kolibri/core/device/utils.py
kollivier/kolibri
7312a5353021a22fc7b9701468e470cba5e1c62b
[ "MIT" ]
null
null
null
kolibri/core/device/utils.py
kollivier/kolibri
7312a5353021a22fc7b9701468e470cba5e1c62b
[ "MIT" ]
null
null
null
""" Do all imports of the device settings model inside the function scope here, so as to allow these functions to be easily imported without worrying about circular imports. """ from django.db.utils import OperationalError from django.db.utils import ProgrammingError LANDING_PAGE_SIGN_IN = "sign-in" LANDING_PAGE_LEARN...
26.828947
83
0.759686
247
2,039
5.963563
0.331984
0.082145
0.065173
0.059742
0.384929
0.207739
0.168364
0.168364
0.168364
0.168364
0
0
0.172143
2,039
75
84
27.186667
0.87263
0.082884
0
0.340909
0
0
0.069817
0.039742
0
0
0
0
0
1
0.181818
false
0.022727
0.159091
0.068182
0.568182
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
b9bc50d5f43de45aef0ef333e4aff07edd4d0c93
1,077
py
Python
aoc2020/day03/part1.py
shoreofwonder/adventofcode
15fd2f761533a48b456e510b0a59f7cbc64e8e91
[ "MIT" ]
null
null
null
aoc2020/day03/part1.py
shoreofwonder/adventofcode
15fd2f761533a48b456e510b0a59f7cbc64e8e91
[ "MIT" ]
null
null
null
aoc2020/day03/part1.py
shoreofwonder/adventofcode
15fd2f761533a48b456e510b0a59f7cbc64e8e91
[ "MIT" ]
null
null
null
def read(): for dx in [1, 3, 5, 7]: x = 0 tree = 0 with open('input.txt') as fh: first_line = True for line in fh.readlines(): if first_line: first_line = False continue x = (x + dx) % len(line.s...
23.933333
48
0.363045
122
1,077
3.07377
0.336066
0.144
0.037333
0.042667
0.677333
0.677333
0.592
0.496
0.496
0.496
0
0.058594
0.524605
1,077
45
49
23.933333
0.673828
0.012999
0
0.675676
0
0
0.03393
0
0
0
0
0
0
1
0.054054
false
0
0
0
0.054054
0.108108
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
b9c225ede21692f806a32824b706c960daca41ca
1,057
py
Python
filters/minhead.py
xaviershay/reader
7c713c90ff546032e4723a232a32107ebae88278
[ "CNRI-Python-GPL-Compatible" ]
1
2016-05-09T10:18:18.000Z
2016-05-09T10:18:18.000Z
filters/minhead.py
xaviershay/reader
7c713c90ff546032e4723a232a32107ebae88278
[ "CNRI-Python-GPL-Compatible" ]
4
2015-09-04T06:26:22.000Z
2021-09-04T12:33:32.000Z
filters/minhead.py
xaviershay/reader
7c713c90ff546032e4723a232a32107ebae88278
[ "CNRI-Python-GPL-Compatible" ]
3
2015-09-04T05:44:12.000Z
2018-05-11T13:06:03.000Z
# # Ensure that all headings are below a permissible maximum (like h3). # If not, all heading levels will be changed to conform. # Note: this may create "illegal" heading levels, like h7 and beyond. # import sys from xml.dom import minidom, XHTML_NAMESPACE # determine permissible minimimum heading if '--min' in sys.a...
28.567568
79
0.719962
157
1,057
4.834395
0.55414
0.027668
0.011858
0.042161
0.129117
0.060606
0
0
0
0
0
0.010309
0.174078
1,057
36
80
29.361111
0.859107
0.384106
0
0
0
0
0.0375
0
0
0
0
0
0
0
null
null
0
0.1
null
null
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
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b9c649d6be6633cca488a9e0ae590261cfa9122c
1,304
py
Python
azure-kusto-data/azure/kusto/data/_cloud_settings.py
JF6/azure-kusto-python
337e4b77116b9316e617a33415068327dc0e6064
[ "MIT" ]
null
null
null
azure-kusto-data/azure/kusto/data/_cloud_settings.py
JF6/azure-kusto-python
337e4b77116b9316e617a33415068327dc0e6064
[ "MIT" ]
null
null
null
azure-kusto-data/azure/kusto/data/_cloud_settings.py
JF6/azure-kusto-python
337e4b77116b9316e617a33415068327dc0e6064
[ "MIT" ]
null
null
null
import os AUTH_ENV_VAR_NAME = "AadAuthorityUri" KUSTO_CLIENT_APP_ID = "db662dc1-0cfe-4e1c-a843-19a68e65be58" PUBLIC_LOGIN_URL = "https://login.microsoftonline.com" class CloudInfo: """ This class holds the data for a specific cloud instance. """ def __init__(self, auth_endpoint: str, kusto_client_...
36.222222
135
0.700153
182
1,304
4.714286
0.434066
0.064103
0.081585
0.09324
0
0
0
0
0
0
0
0.018
0.233129
1,304
35
136
37.257143
0.84
0.282209
0
0.095238
0
0
0.095346
0.040863
0
0
0
0.028571
0
1
0.142857
false
0
0.047619
0
0.428571
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
b9cffdc00da8f3c97f9dbf8eb07648bfb9b7f506
6,770
py
Python
a3_levenshtein.py
lrcQAQ/Speech
783d20d40261634110b21fe40f4f8776fc734079
[ "MIT" ]
null
null
null
a3_levenshtein.py
lrcQAQ/Speech
783d20d40261634110b21fe40f4f8776fc734079
[ "MIT" ]
null
null
null
a3_levenshtein.py
lrcQAQ/Speech
783d20d40261634110b21fe40f4f8776fc734079
[ "MIT" ]
null
null
null
import os import numpy as np import string import re dataDir = '/u/cs401/A3/data/' # dataDir = './subdata/' def Levenshtein(r, h): """ Calculation of WER with Levenshtein distance. ...
39.132948
150
0.369867
721
6,770
3.380028
0.237171
0.009027
0.007386
0.008207
0.172343
0.094789
0.080837
0.032827
0.032827
0.032827
0
0.02373
0.514476
6,770
172
151
39.360465
0.717676
0.349483
0
0.128713
0
0
0.052294
0.010221
0
0
0
0
0
1
0.019802
false
0
0.039604
0
0.079208
0.039604
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
b9d1c93510458aa5a94c4778a78e2a64813a6610
616
py
Python
validator/models/version.py
pstradio/qa4sm
e67c9c0ec75fedabbfc389e4400e1203aa2d8a57
[ "MIT" ]
10
2019-02-27T15:05:15.000Z
2022-03-10T21:13:40.000Z
validator/models/version.py
awst-austria/qa4sm
e67c9c0ec75fedabbfc389e4400e1203aa2d8a57
[ "MIT" ]
69
2019-07-04T23:20:17.000Z
2022-03-29T06:34:06.000Z
validator/models/version.py
pstradio/qa4sm
e67c9c0ec75fedabbfc389e4400e1203aa2d8a57
[ "MIT" ]
10
2019-03-14T11:46:58.000Z
2022-03-25T13:06:16.000Z
from django.db import models class DatasetVersion(models.Model): id = models.AutoField(primary_key=True) short_name = models.CharField(max_length=30) pretty_name = models.CharField(max_length=30) help_text = models.CharField(max_length=150) time_range_start = models.TextField(blank=True, null=True...
34.222222
64
0.753247
81
616
5.506173
0.555556
0.100897
0.121076
0.161435
0.278027
0.278027
0
0
0
0
0
0.013487
0.157468
616
17
65
36.235294
0.845857
0.160714
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.090909
1
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
b9d3c090f7e94157e600f9d95bb3cbab1d8115c4
4,061
py
Python
aia_project/test/test_models.py
maciejczyzewski/sem6
a1ef556afef8c59b7148f0e6c2378ed0afc6910f
[ "MIT" ]
null
null
null
aia_project/test/test_models.py
maciejczyzewski/sem6
a1ef556afef8c59b7148f0e6c2378ed0afc6910f
[ "MIT" ]
8
2021-06-08T21:07:23.000Z
2022-03-12T00:20:10.000Z
aia_project/test/test_models.py
maciejczyzewski/sem6
a1ef556afef8c59b7148f0e6c2378ed0afc6910f
[ "MIT" ]
1
2020-03-29T11:33:05.000Z
2020-03-29T11:33:05.000Z
import unittest from app import Service from config import Config from app.models import User from app.log import print import app.action.user class TestConfig(Config): TESTING = True SQLALCHEMY_DATABASE_URI = 'sqlite://' class ExampleTests(unittest.TestCase): def setUp(self): self.service = Se...
29.642336
84
0.58163
461
4,061
4.958785
0.190889
0.082677
0.119423
0.104112
0.599738
0.580927
0.510061
0.492126
0.442257
0.317585
0
0.02121
0.2918
4,061
136
85
29.860294
0.773644
0.007141
0
0.436893
0
0
0.1134
0.017122
0
0
0
0.007353
0.097087
1
0.067961
false
0.126214
0.058252
0
0.165049
0.058252
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
b9d3e20e651f6a84cace68d90b8c5b51c52c0370
3,014
py
Python
scripts/lib-python/files/create_operator_scorecard_bundle.py
juljog/community-operators
870c7b89ac18d0577ed990296a81cd48086de908
[ "Apache-2.0" ]
449
2019-01-08T21:21:22.000Z
2022-03-30T02:23:33.000Z
scripts/lib-python/files/create_operator_scorecard_bundle.py
juljog/community-operators
870c7b89ac18d0577ed990296a81cd48086de908
[ "Apache-2.0" ]
2,828
2019-01-09T14:16:10.000Z
2021-07-30T14:09:52.000Z
scripts/lib-python/files/create_operator_scorecard_bundle.py
juljog/community-operators
870c7b89ac18d0577ed990296a81cd48086de908
[ "Apache-2.0" ]
982
2019-01-08T22:05:07.000Z
2022-03-21T21:31:51.000Z
#!/usr/bin/python3 import sys import getopt import yaml import os import random import string def randomString(stringLength=10): """Generate a random string of fixed length """ letters = string.ascii_lowercase return ''.join(random.choice(letters) for i in range(stringLength)) def main(argv): """Creat...
32.408602
140
0.482747
328
3,014
4.314024
0.341463
0.024735
0.042403
0.050883
0.226148
0.180919
0.180919
0.135689
0.135689
0.067845
0
0.007054
0.38852
3,014
92
141
32.76087
0.760716
0.049436
0
0.227848
1
0
0.139804
0
0
0
0
0
0
1
0.025316
false
0
0.075949
0
0.113924
0.025316
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
b9d427ffcb48da0bdac9a126e39a97297196aa4a
8,955
py
Python
rwslib/rws_requests/biostats_gateway.py
halbow/rwslib
395b0a1dfaf98da1a5260c162325f794980cbaa2
[ "MIT" ]
20
2015-05-21T17:07:20.000Z
2021-12-09T02:46:16.000Z
rwslib/rws_requests/biostats_gateway.py
halbow/rwslib
395b0a1dfaf98da1a5260c162325f794980cbaa2
[ "MIT" ]
83
2015-01-09T08:48:21.000Z
2022-03-28T11:09:34.000Z
rwslib/rws_requests/biostats_gateway.py
halbow/rwslib
395b0a1dfaf98da1a5260c162325f794980cbaa2
[ "MIT" ]
20
2015-05-21T17:07:29.000Z
2021-05-12T11:59:58.000Z
""" Views related to clinical views and their metadata, Biostats Gateway/Adapter http://rws-webhelp.s3.amazonaws.com/WebHelp_ENG/solutions/01_biostat_adapter.html#biostat-adapter """ from . import RWSAuthorizedGetRequest, QueryOptionGetRequest, check_dataset_type # --------------------------------------------------...
31.982143
121
0.619877
968
8,955
5.504132
0.16219
0.121997
0.041479
0.048799
0.610923
0.598724
0.579767
0.560811
0.535473
0.535473
0
0.001673
0.265885
8,955
279
122
32.096774
0.808792
0.298939
0
0.568627
0
0
0.082171
0.019054
0
0
0
0.003584
0
1
0.169935
false
0
0.006536
0.111111
0.366013
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
b9d6eee9351c9edfe1a10aa7bd0b4a2ac2baaddc
1,692
py
Python
src/settings.py
kahlangibson/Syncopation
f62f8831391809ec6e8ae0e639baa6fe2139ef52
[ "MIT" ]
1
2021-03-18T08:24:20.000Z
2021-03-18T08:24:20.000Z
src/settings.py
kahlangibson/Syncopation
f62f8831391809ec6e8ae0e639baa6fe2139ef52
[ "MIT" ]
null
null
null
src/settings.py
kahlangibson/Syncopation
f62f8831391809ec6e8ae0e639baa6fe2139ef52
[ "MIT" ]
1
2021-03-18T08:24:50.000Z
2021-03-18T08:24:50.000Z
#----------------------------------------------------------------------------- # Copyright (c) 2020 Kahlan Gibson # kahlangibson<at>ece.ubc.ca # # Permission to use, copy, and modify this software and its documentation is # hereby granted only under the following terms and conditions. Both the # above copyright notice ...
48.342857
78
0.667258
221
1,692
5.067873
0.58371
0.042857
0.032143
0.039286
0.053571
0
0
0
0
0
0
0.006198
0.141844
1,692
35
79
48.342857
0.765152
0.817967
0
0
0
0
0.079365
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b9d87fcca7bd1450d1b8c4996a43fdcd1e92cde1
2,687
py
Python
azure_provisioning_e2e/iothubservice20180630/models/job_request.py
olivakar/azure-iot-sdk-python
d8f2403030cf94510d381d8d5ac37af6e8d306f8
[ "MIT" ]
366
2016-12-02T20:38:05.000Z
2022-03-29T10:08:14.000Z
azure_provisioning_e2e/iothubservice20180630/models/job_request.py
olivakar/azure-iot-sdk-python
d8f2403030cf94510d381d8d5ac37af6e8d306f8
[ "MIT" ]
640
2016-12-16T21:59:48.000Z
2022-03-30T20:17:52.000Z
azure_provisioning_e2e/iothubservice20180630/models/job_request.py
olivakar/azure-iot-sdk-python
d8f2403030cf94510d381d8d5ac37af6e8d306f8
[ "MIT" ]
371
2016-11-16T16:06:04.000Z
2022-03-31T10:10:57.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
40.104478
96
0.645702
293
2,687
5.662116
0.34471
0.050633
0.067511
0.075949
0.101266
0.051838
0.051838
0.051838
0.051838
0
0
0.015327
0.198735
2,687
66
97
40.712121
0.755225
0.516189
0
0
1
0
0.231544
0.063758
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.137931
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
b9e55029f54f8a6ab7fc40df01f287596ef5c27f
838
py
Python
src/zsl/utils/testing.py
AtteqCom/zsl
0d418ef957c9780263b1031dbc59482cd974bc04
[ "MIT" ]
2
2017-05-17T08:08:52.000Z
2019-03-25T00:24:51.000Z
src/zsl/utils/testing.py
AtteqCom/zsl
0d418ef957c9780263b1031dbc59482cd974bc04
[ "MIT" ]
100
2017-01-11T13:43:11.000Z
2022-02-10T09:27:18.000Z
src/zsl/utils/testing.py
AtteqCom/zsl
0d418ef957c9780263b1031dbc59482cd974bc04
[ "MIT" ]
1
2017-05-10T10:27:01.000Z
2017-05-10T10:27:01.000Z
""" :mod:`zsl.utils.testing` ------------------------ .. moduleauthor:: Martin Babka """ from __future__ import absolute_import, unicode_literals import importlib import unittest from zsl import Config, inject from zsl.router.method import identity_responder, set_default_responder _test_responder_set = False def ...
22.052632
71
0.74105
102
838
5.745098
0.441176
0.133106
0.109215
0
0
0
0
0
0
0
0
0
0.156325
838
37
72
22.648649
0.828854
0.256563
0
0
0
0
0.020101
0
0
0
0
0
0
1
0.117647
false
0
0.352941
0
0.529412
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
b9ee5d3934b7aa04d91ee1e117ab8ae4f826d043
4,082
py
Python
nrcan_etl/tests/test_element.py
Rockynrcan/nrcan_api
13d8fb306d8185f6bcd082c559ad3fe8b4340cc7
[ "MIT" ]
7
2017-12-15T03:58:29.000Z
2018-04-23T22:48:53.000Z
nrcan_etl/tests/test_element.py
Rockynrcan/nrcan_api
13d8fb306d8185f6bcd082c559ad3fe8b4340cc7
[ "MIT" ]
137
2018-01-24T16:44:57.000Z
2018-06-25T14:02:10.000Z
nrcan_etl/tests/test_element.py
Rockynrcan/nrcan_api
13d8fb306d8185f6bcd082c559ad3fe8b4340cc7
[ "MIT" ]
4
2018-02-15T12:40:52.000Z
2018-07-03T14:22:51.000Z
import py._path.local import pytest from energuide import element from energuide.exceptions import ElementGetValueError @pytest.fixture def fragment() -> str: return "<Foo><Bar id='1'>baz</Bar><Bar id='2'>qux</Bar></Foo>" @pytest.fixture def fragment_file_path(fragment: str, tmpdir: py._path.local.LocalPath) ->...
29.57971
80
0.706516
569
4,082
4.869947
0.13884
0.138578
0.110429
0.140743
0.485384
0.376038
0.321545
0.321545
0.252256
0.252256
0
0.007865
0.158991
4,082
137
81
29.79562
0.799301
0
0
0.175824
0
0.010989
0.065164
0.00539
0
0
0
0
0.32967
1
0.252747
false
0
0.043956
0.021978
0.32967
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
6a0008f1247e8e7e05967b34a4788bffaf4ec5df
2,649
py
Python
02-bridge/main.py
Shaienn/sensor_data
05e9e5e1291702e52ebbe5efb02bb4457a2e4487
[ "MIT" ]
null
null
null
02-bridge/main.py
Shaienn/sensor_data
05e9e5e1291702e52ebbe5efb02bb4457a2e4487
[ "MIT" ]
null
null
null
02-bridge/main.py
Shaienn/sensor_data
05e9e5e1291702e52ebbe5efb02bb4457a2e4487
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """A MQTT to InfluxDB Bridge This script receives MQTT data and saves those to InfluxDB. """ import re from typing import NamedTuple import paho.mqtt.client as mqtt from influxdb import InfluxDBClient INFLUXDB_ADDRESS = 'influxdb' INFLUXDB_USER = 'root' INFLUXDB_PASSWORD = 'root' INFLUXDB_D...
26.757576
96
0.690072
325
2,649
5.350769
0.363077
0.057504
0.016101
0.023002
0.039103
0.039103
0.039103
0
0
0
0
0.010926
0.205361
2,649
98
97
27.030612
0.815202
0.11627
0
0.030303
0
0
0.086601
0
0
0
0
0
0
1
0.090909
false
0.060606
0.060606
0
0.257576
0.045455
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
6a097e3d8f3baa658c27e1de1953e29cc6fd8644
2,555
py
Python
api/models.py
BKI92/music-events-project
8dc2c087b1e8ff13af87fb462a0bf60b18a32f21
[ "Apache-2.0" ]
null
null
null
api/models.py
BKI92/music-events-project
8dc2c087b1e8ff13af87fb462a0bf60b18a32f21
[ "Apache-2.0" ]
null
null
null
api/models.py
BKI92/music-events-project
8dc2c087b1e8ff13af87fb462a0bf60b18a32f21
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth import get_user_model from django.db import models User = get_user_model() class Event(models.Model): title = models.CharField('Название события', unique=True, max_length=100) time_limit = models.DateTimeField('Ограничение времени') author = models.ForeignKey(User, ...
32.75641
77
0.55773
250
2,555
5.452
0.3
0.112986
0.051357
0.058694
0.265591
0.230374
0.14967
0.108584
0.07777
0.07777
0
0.010192
0.347162
2,555
77
78
33.181818
0.806954
0
0
0.258621
0
0
0.12955
0.011742
0
0
0
0
0
1
0.068966
false
0
0.034483
0.068966
0.551724
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
6a0d49b34e469239c692788834433b715254c7c8
449
py
Python
Capstone_code_submission/code/coreference_resolver/intersection_strategies/strict_intersection_strategy.py
anurag19006/OntoLearnBench
413f66998e34e882a5d598263715efe92dd43a89
[ "Apache-2.0" ]
29
2021-01-24T19:32:49.000Z
2022-03-11T07:30:14.000Z
Capstone_code_submission/code/coreference_resolver/intersection_strategies/strict_intersection_strategy.py
anurag19006/OntoLearnBench
413f66998e34e882a5d598263715efe92dd43a89
[ "Apache-2.0" ]
4
2021-04-21T05:01:55.000Z
2021-09-27T13:41:59.000Z
Capstone_code_submission/code/coreference_resolver/intersection_strategies/strict_intersection_strategy.py
anurag19006/OntoLearnBench
413f66998e34e882a5d598263715efe92dd43a89
[ "Apache-2.0" ]
13
2021-04-23T23:09:38.000Z
2022-03-05T12:22:32.000Z
from .intersection_strategy import IntersectionStrategy class StrictIntersectionStrategy(IntersectionStrategy): def get_intersected_clusters(self): intersected_clusters = [] for allen_cluster in self.allen_clusters: for hugging_cluster in self.hugging_clusters: if alle...
34.538462
62
0.721604
42
449
7.404762
0.47619
0.244373
0.083601
0
0
0
0
0
0
0
0
0
0.233853
449
12
63
37.416667
0.90407
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.444444
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
6a117da4b32726e0f68fbce03c74bab5b11044d4
339
py
Python
stakemachine/strategies/storagedemo.py
wmbutler/stakemachine
c2d5bcfe7c013a93c8c7293bec44ef5690883b16
[ "MIT" ]
86
2016-06-10T15:30:09.000Z
2021-11-08T11:50:06.000Z
stakemachine/strategies/storagedemo.py
wmbutler/stakemachine
c2d5bcfe7c013a93c8c7293bec44ef5690883b16
[ "MIT" ]
18
2016-06-12T00:18:35.000Z
2019-08-14T11:35:22.000Z
stakemachine/strategies/storagedemo.py
xeroc/stakemachine
c2d5bcfe7c013a93c8c7293bec44ef5690883b16
[ "MIT" ]
57
2016-05-28T09:19:38.000Z
2020-10-26T19:41:54.000Z
from stakemachine.basestrategy import BaseStrategy class StorageDemo(BaseStrategy): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.ontick += self.tick def tick(self, i): print("previous block: %s" % self["block"]) print("new block: %s" % i) ...
26.076923
51
0.60472
39
339
5.051282
0.512821
0.101523
0
0
0
0
0
0
0
0
0
0
0.241888
339
12
52
28.25
0.766537
0
0
0
0
0
0.120944
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
0.222222
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
6a129c00748e1e6e32ff213e6c29232342bf91e0
9,183
py
Python
ros_ws/src/kamu_robotu/kamu_robotu_navigation/src/old/follow_wall-may12.py
a4aleem/oko_slam
7136b806bfd13fafee9b7cf9995202ba063a0aca
[ "MIT" ]
1
2021-06-13T08:18:57.000Z
2021-06-13T08:18:57.000Z
ros_ws/src/kamu_robotu/kamu_robotu_navigation/src/old/follow_wall-may12.py
a4aleem/oko_slam
7136b806bfd13fafee9b7cf9995202ba063a0aca
[ "MIT" ]
null
null
null
ros_ws/src/kamu_robotu/kamu_robotu_navigation/src/old/follow_wall-may12.py
a4aleem/oko_slam
7136b806bfd13fafee9b7cf9995202ba063a0aca
[ "MIT" ]
null
null
null
#! /usr/bin/env python # We are looking for the wall. If we find wall, we turn left to keep wall always # right side of the robot import rospy import os from sensor_msgs.msg import LaserScan from geometry_msgs.msg import Twist from nav_msgs.msg import Odometry from tf import transformations from std_srvs.srv import * ...
36.732
233
0.647283
1,265
9,183
4.498814
0.208696
0.075558
0.115973
0.113161
0.454402
0.39378
0.351959
0.351959
0.351959
0.344931
0
0.036836
0.237286
9,183
249
234
36.879518
0.7757
0.208429
0
0.284916
0
0
0.100055
0
0
0
0
0
0
0
null
null
0.011173
0.050279
null
null
0.01676
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
6a1bf069b85c060c35fa901525df16aa309a86f7
1,163
py
Python
megaman/setup.py
ffancheng/megaman
0ccdf27c26d88685c71a8845796b03fdcf1054c4
[ "BSD-2-Clause" ]
303
2016-03-03T00:44:37.000Z
2022-03-14T03:43:38.000Z
megaman/setup.py
YifuLiuL/megaman
faccaf267aad0a8b18ec8a705735fd9dd838ca1e
[ "BSD-2-Clause" ]
52
2016-02-26T21:41:31.000Z
2021-06-27T08:33:51.000Z
megaman/setup.py
YifuLiuL/megaman
faccaf267aad0a8b18ec8a705735fd9dd838ca1e
[ "BSD-2-Clause" ]
67
2016-03-03T22:38:35.000Z
2022-01-12T08:03:47.000Z
# LICENSE: Simplified BSD https://github.com/mmp2/megaman/blob/master/LICENSE import os def configuration(parent_package='', top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('megaman', parent_package, top_path) config.add_subpackage('__check_build') config.a...
36.34375
88
0.760103
143
1,163
5.867133
0.405594
0.171633
0.271752
0.085816
0.129917
0.129917
0.085816
0
0
0
0
0.00779
0.116939
1,163
31
89
37.516129
0.809153
0.064488
0
0
0
0
0.270718
0.116943
0
0
0
0
0
1
0.041667
false
0
0.125
0
0.208333
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
6a1d0e1ed53a344f04e8ab38dfd4d66566cd54b3
39,820
py
Python
BBR.py
lokal-profil/RAA-tools
63af4d1f10dceacd38938430a72abae5274b4f09
[ "MIT" ]
3
2015-03-27T20:16:46.000Z
2017-07-13T10:03:56.000Z
BBR.py
lokal-profil/RAA-tools
63af4d1f10dceacd38938430a72abae5274b4f09
[ "MIT" ]
null
null
null
BBR.py
lokal-profil/RAA-tools
63af4d1f10dceacd38938430a72abae5274b4f09
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- ## ##Including andring seems to make me run out of memory ##Make sure problems are presented in a sensible way even on success ## import cgi import webapp2 import urllib2, urllib from urllib2 import URLError, HTTPError from xml.dom.minidom import parse # class MainPage(webapp2.RequestHandler): ...
54.176871
313
0.527323
4,521
39,820
4.63747
0.145543
0.010684
0.039349
0.052466
0.547076
0.494276
0.451159
0.417152
0.397119
0.379185
0
0.015957
0.324862
39,820
734
314
54.250681
0.763912
0.062004
0
0.427492
0
0.034743
0.279129
0.016897
0
0
0
0
0
0
null
null
0
0.007553
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
6a21007dcb71d2f1f055ad00cf8e915e461809a4
563
py
Python
sequence_field/migrations/0002_auto_20190417_2146.py
marquicus/django-sequence-field
f6d71bac8e9fa42e5ce9822628125ff2293aed83
[ "BSD-3-Clause" ]
1
2020-01-14T08:11:57.000Z
2020-01-14T08:11:57.000Z
sequence_field/migrations/0002_auto_20190417_2146.py
marquicus/django-sequence-field
f6d71bac8e9fa42e5ce9822628125ff2293aed83
[ "BSD-3-Clause" ]
null
null
null
sequence_field/migrations/0002_auto_20190417_2146.py
marquicus/django-sequence-field
f6d71bac8e9fa42e5ce9822628125ff2293aed83
[ "BSD-3-Clause" ]
2
2020-01-14T10:09:52.000Z
2020-08-18T20:56:56.000Z
# Generated by Django 2.1.5 on 2019-04-18 02:46 from django.db import migrations from sequence_field import settings def initialize_default(apps, schema_editor): Sequence = apps.get_model('sequence_field', 'Sequence') Sequence.objects.create(key=settings.SEQUENCE_FIELD_DEFAULT_NAME, ...
25.590909
78
0.708703
64
563
6.015625
0.609375
0.168831
0.109091
0.145455
0
0
0
0
0
0
0
0.042222
0.20071
563
21
79
26.809524
0.813333
0.079929
0
0
1
0
0.093023
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.461538
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
6a22f35dd781ced8881ee80a32cb399f185060b0
2,651
py
Python
compile_db.py
saifuddin779/data-collector
117f426d5392fffa47103dc0ab21ee6aec027a41
[ "MIT" ]
2
2017-08-04T16:31:45.000Z
2017-10-18T16:16:13.000Z
compile_db.py
saifuddin779/data-collector
117f426d5392fffa47103dc0ab21ee6aec027a41
[ "MIT" ]
null
null
null
compile_db.py
saifuddin779/data-collector
117f426d5392fffa47103dc0ab21ee6aec027a41
[ "MIT" ]
null
null
null
import sys, os import socket import redis import sqlite3 as sql from time import time as tm hostname = socket.gethostname() master_db_file = '../data/%s.db' % hostname droplet_dbs_folder = '../data/droplets_dbs/' r_master = redis.StrictRedis('localhost', '6379') def generate_table(): """ GENERATES THE RESUME IDS...
26.51
154
0.713316
388
2,651
4.657216
0.298969
0.030991
0.033204
0.044272
0.375208
0.353625
0.308799
0.308799
0.245711
0.208633
0
0.009919
0.163335
2,651
99
155
26.777778
0.804779
0
0
0.361111
0
0.013889
0.235927
0.01904
0
0
0
0
0
0
null
null
0
0.069444
null
null
0.027778
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
6a24cc47ae4243f07f3addf8d4272dd4c16932ca
9,074
py
Python
tests/tests/test_compressor.py
alexhayes/django-pipeline
2cca190f960b2d35d899b9ac381d48b7e8b21536
[ "MIT" ]
null
null
null
tests/tests/test_compressor.py
alexhayes/django-pipeline
2cca190f960b2d35d899b9ac381d48b7e8b21536
[ "MIT" ]
null
null
null
tests/tests/test_compressor.py
alexhayes/django-pipeline
2cca190f960b2d35d899b9ac381d48b7e8b21536
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import base64 import os try: from mock import patch except ImportError: from unittest.mock import patch # noqa from django.test import TestCase from django.test.utils import override_settings from pipeline.compressors import Compressor, TEMPLA...
50.132597
1,211
0.678422
1,175
9,074
5.125106
0.23234
0.069744
0.017436
0.022418
0.49917
0.471936
0.452009
0.382929
0.325141
0.288608
0
0.061108
0.148777
9,074
180
1,212
50.411111
0.71841
0.002865
0
0.222222
0
0.052288
0.486346
0.319292
0
0
0
0
0.183007
1
0.124183
false
0
0.078431
0
0.20915
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a25b506843ba7b3fb43619f0f1da4a715e039f3
945
py
Python
bin/hex-to-mif.py
POETSII/actora
d1c5d7b8813eda4262ad39c1d977c2c78f9d0958
[ "MIT" ]
31
2019-09-18T10:55:47.000Z
2021-12-01T20:39:46.000Z
bin/hex-to-mif.py
POETSII/actora
d1c5d7b8813eda4262ad39c1d977c2c78f9d0958
[ "MIT" ]
26
2019-10-13T13:33:04.000Z
2021-11-10T11:09:48.000Z
bin/hex-to-mif.py
POETSII/actora
d1c5d7b8813eda4262ad39c1d977c2c78f9d0958
[ "MIT" ]
1
2019-12-13T16:01:57.000Z
2019-12-13T16:01:57.000Z
#!/usr/bin/python # SPDX-License-Identifier: BSD-2-Clause # # Copyright (c) Matthew Naylor # # Script to convert a hex file (a file where each line is a hex value) # to a .mif file suitable for Quartus. import sys def usage(): print "Usage: hex-to-mif.py <input.hex> <width>" print "" print " Units of <width> i...
18.529412
70
0.632804
147
945
4.054422
0.496599
0.035235
0.040268
0
0
0
0
0
0
0
0
0.017356
0.207407
945
50
71
18.9
0.778371
0.2
0
0.243243
0
0
0.238985
0
0
0
0
0
0
0
null
null
0
0.027027
null
null
0.351351
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
6a27f3575d2fdd8fa5f969666207c9c56f861e6c
1,276
py
Python
gdesk/__init__.py
thocoo/gamma-desk
9cb63a65fe23e30e155b3beca862f369b7fa1b7e
[ "Apache-2.0" ]
null
null
null
gdesk/__init__.py
thocoo/gamma-desk
9cb63a65fe23e30e155b3beca862f369b7fa1b7e
[ "Apache-2.0" ]
8
2021-04-09T11:31:43.000Z
2021-06-09T09:07:18.000Z
gdesk/__init__.py
thocoo/gamma-desk
9cb63a65fe23e30e155b3beca862f369b7fa1b7e
[ "Apache-2.0" ]
null
null
null
#------------------------------------------------------------------------------- # Copyright 2021 Thomas Cools # # 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/li...
34.486486
80
0.644984
165
1,276
4.872727
0.630303
0.074627
0.032338
0.039801
0.052239
0
0
0
0
0
0
0.009042
0.133229
1,276
36
81
35.444444
0.717902
0.579937
0
0
0
0
0.183953
0
0
0
0
0
0
1
0.076923
false
0
0.307692
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6a2a9e4a830183817caeb960e28800ed639f8f56
678
py
Python
setup.py
aria-jpl/sar-availability
b553819fe3ba3bd75e533603294b6bb29bdbd9e2
[ "Apache-2.0" ]
null
null
null
setup.py
aria-jpl/sar-availability
b553819fe3ba3bd75e533603294b6bb29bdbd9e2
[ "Apache-2.0" ]
2
2020-07-06T15:17:58.000Z
2020-09-08T14:55:55.000Z
setup.py
aria-jpl/sar-availability
b553819fe3ba3bd75e533603294b6bb29bdbd9e2
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals from __future__ import print_function from __future__ import division from __future__ import absolute_import from setuptools import setup, find_packages setup( name="tosca", version="0.3.4", long_description="Advanced FacetView User Interface", packages=find_pack...
23.37931
57
0.634218
69
678
5.855072
0.681159
0.09901
0.158416
0
0
0
0
0
0
0
0
0.013917
0.258112
678
28
58
24.214286
0.789264
0
0
0
0
0
0.244838
0
0
0
0
0
0
1
0
true
0
0.185185
0
0.185185
0.037037
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