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
0c598b7d1a109b3b9cc1ee5134871248637521af
622
py
Python
src/mcedit2/panels/pending_imports.py
elcarrion06/mcedit2
4bb98da521447b6cf43d923cea9f00acf2f427e9
[ "BSD-3-Clause" ]
673
2015-01-02T02:08:13.000Z
2022-03-24T19:38:14.000Z
src/mcedit2/panels/pending_imports.py
ozzhates/mcedit2
4bb98da521447b6cf43d923cea9f00acf2f427e9
[ "BSD-3-Clause" ]
526
2015-01-01T02:10:53.000Z
2022-02-06T16:24:21.000Z
src/mcedit2/panels/pending_imports.py
ozzhates/mcedit2
4bb98da521447b6cf43d923cea9f00acf2f427e9
[ "BSD-3-Clause" ]
231
2015-01-01T16:47:30.000Z
2022-03-31T21:51:55.000Z
""" pending_imports """ from __future__ import absolute_import, division, print_function, unicode_literals from PySide import QtGui import logging log = logging.getLogger(__name__) class PendingImportsWidget(QtGui.QWidget): def __init__(self): super(PendingImportsWidget, self).__init__() self....
34.555556
82
0.766881
58
622
7.87931
0.586207
0.183807
0
0
0
0
0
0
0
0
0
0
0.14791
622
17
83
36.588235
0.862264
0.024116
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.833333
0
1
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
0
0
0
0
1
0
0
0
0
1
0c5e8ba42dc550f81f70fc98d7031668968aaeab
4,085
py
Python
app.py
Anivarth/weather
4227a9387472355e32c44501da19feda8b3b9f6d
[ "CC-BY-3.0" ]
null
null
null
app.py
Anivarth/weather
4227a9387472355e32c44501da19feda8b3b9f6d
[ "CC-BY-3.0" ]
null
null
null
app.py
Anivarth/weather
4227a9387472355e32c44501da19feda8b3b9f6d
[ "CC-BY-3.0" ]
null
null
null
from bottle import run, route, debug, template, static_file, get, request import requests, time, sys, pyinfodb #alternate open_weather_app_id = ###### # Static Routes """@get('/<filename:re:.*\.js>') def javascripts(filename): return static_file(filename, root='static/js')""" @get('/<filename:re:.*\.css>') def s...
37.824074
96
0.673439
553
4,085
4.801085
0.292948
0.249718
0.096422
0.054237
0.107721
0.107721
0.107721
0
0
0
0
0.049204
0.169155
4,085
107
97
38.17757
0.733058
0.040881
0
0.022727
0
0
0.131514
0.017735
0
0
0
0
0
1
0.068182
false
0
0.022727
0.045455
0.159091
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
0c6238212d9f72a045bfbfd1fdd5d0d460990012
3,865
py
Python
orderbook_tests.py
valmac/HFT-Orderbook
a205fb7264c6e297371b7005739d60b3fe276a8b
[ "MIT" ]
1
2021-02-25T13:03:52.000Z
2021-02-25T13:03:52.000Z
orderbook_tests.py
anyiwei66/HFT-Orderbook
a205fb7264c6e297371b7005739d60b3fe276a8b
[ "MIT" ]
null
null
null
orderbook_tests.py
anyiwei66/HFT-Orderbook
a205fb7264c6e297371b7005739d60b3fe276a8b
[ "MIT" ]
1
2020-03-08T03:00:11.000Z
2020-03-08T03:00:11.000Z
# Import Built-Ins import logging from unittest import TestCase # Import Third-Party # Import Homebrew from lob import LimitOrderBook, Order # Init Logging Facilities log = logging.getLogger(__name__) class OrderTests(TestCase): def test_adding_a_new_order_works(self): lob = LimitOrderBook() b...
42.472527
103
0.694437
578
3,865
4.429066
0.17301
0.090625
0.070313
0.128906
0.630469
0.535547
0.481641
0.371094
0.260156
0.178906
0
0.031301
0.206468
3,865
90
104
42.944444
0.803391
0.146184
0
0.311475
0
0
0
0
0
0
0
0
0.491803
1
0.032787
false
0
0.04918
0
0.098361
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0c63156d857de41712342818e84f1c511b87211d
380
py
Python
test.py
gnudeb/ludere
328dcd8f8ee8b4da635ff378c74115c88ebb6474
[ "MIT" ]
null
null
null
test.py
gnudeb/ludere
328dcd8f8ee8b4da635ff378c74115c88ebb6474
[ "MIT" ]
null
null
null
test.py
gnudeb/ludere
328dcd8f8ee8b4da635ff378c74115c88ebb6474
[ "MIT" ]
null
null
null
from dataclasses import dataclass from ludere.core import Ludere l = Ludere() Register = l.register @Register @dataclass class Config: x: int = 5 def __post_init__(self): print("Config got instantiated!") @Register @dataclass class App: config: Config def __post_init__(self): pr...
12.666667
41
0.668421
48
380
4.916667
0.520833
0.144068
0.186441
0.127119
0.169492
0
0
0
0
0
0
0.003425
0.231579
380
29
42
13.103448
0.804795
0
0
0.333333
0
0
0.084211
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.444444
0.111111
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
0c63598949f8a9504c5e504348398a8915853a81
555
py
Python
setup.py
jee67/evohome-client
9adeede8de4dbd0d417fd478db484b5086b7876f
[ "Apache-2.0" ]
null
null
null
setup.py
jee67/evohome-client
9adeede8de4dbd0d417fd478db484b5086b7876f
[ "Apache-2.0" ]
null
null
null
setup.py
jee67/evohome-client
9adeede8de4dbd0d417fd478db484b5086b7876f
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name = 'evohomeclient', version = '0.2.8', description = 'Python client for connecting to the Evohome webservice', url = 'https://github.com/watchforstock/evohome-client/', download_url = 'https://github.com/watchforstock/evohome-client/tarball/0.2.8', author = 'Andrew Stock',...
29.210526
80
0.706306
64
555
6.078125
0.671875
0.010283
0.015424
0.087404
0.22108
0.22108
0.22108
0
0
0
0
0.01875
0.135135
555
18
81
30.833333
0.791667
0
0
0
0
0
0.536937
0.043243
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
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
a74481b3a4ced99061f214c42bc7491def3bae43
530
py
Python
leetcode/unique_char.py
clnFind/DayDayAlgorithm
5644a666a3d84547d8cf00031fc2e30273cc0e9a
[ "Apache-2.0" ]
null
null
null
leetcode/unique_char.py
clnFind/DayDayAlgorithm
5644a666a3d84547d8cf00031fc2e30273cc0e9a
[ "Apache-2.0" ]
null
null
null
leetcode/unique_char.py
clnFind/DayDayAlgorithm
5644a666a3d84547d8cf00031fc2e30273cc0e9a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- def find_first_unique_char(s): """ 字符串中找到第一个出现的唯一字符 :param s: :return: """ char_dict = dict() unique_char = list() for char in s: if char_dict.get(char): unique_char.remove(char) else: print(unique_char) uniq...
15.142857
36
0.562264
64
530
4.296875
0.4375
0.290909
0.109091
0.138182
0.145455
0
0
0
0
0
0
0.005556
0.320755
530
34
37
15.588235
0.758333
0.109434
0
0.125
0
0
0.053691
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.125
0.1875
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
a7459987fef540260bc9c0b492abe4fd19821610
309
py
Python
arrays/topk.py
santoshmano/pybricks
bcb3ab80417e8e896280062494ce6c046329b7e8
[ "MIT" ]
null
null
null
arrays/topk.py
santoshmano/pybricks
bcb3ab80417e8e896280062494ce6c046329b7e8
[ "MIT" ]
null
null
null
arrays/topk.py
santoshmano/pybricks
bcb3ab80417e8e896280062494ce6c046329b7e8
[ "MIT" ]
null
null
null
from heapq import * def topk(nums,k): minHeap = [] #construct heap with k elements first for i in range(k): heappush(minHeap, nums[i]) for i in range(k, len(nums): if minHeap[0] < nums[i]: heappop(minHeap) heappush(minHeap, nums[i]) return list(minHeap) print(topk([2, 4, 1, 0, 5], 3)
16.263158
38
0.63754
52
309
3.788462
0.576923
0.076142
0.060914
0.111675
0.121827
0
0
0
0
0
0
0.028689
0.210356
309
18
39
17.166667
0.778689
0
0
0.181818
0
0
0
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a74b4d6fc550192dd466bbef80672a9015e1966a
3,465
py
Python
openslides/utils/tornado_webserver.py
DerPate/OpenSlides
2733a47d315fec9b8f3cb746fd5f3739be225d65
[ "MIT" ]
1
2015-03-22T02:07:23.000Z
2015-03-22T02:07:23.000Z
openslides/utils/tornado_webserver.py
frauenknecht/OpenSlides
6521d6b095bca33dc0c5f09f59067551800ea1e3
[ "MIT" ]
null
null
null
openslides/utils/tornado_webserver.py
frauenknecht/OpenSlides
6521d6b095bca33dc0c5f09f59067551800ea1e3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import posixpath from urllib import unquote from django.conf import settings from django.core.handlers.wsgi import WSGIHandler as Django_WSGIHandler from django.utils.translation import ugettext as _ from sockjs.tornado import SockJSRouter, SockJSConnection from tornado.httpserver im...
35
121
0.69899
415
3,465
5.708434
0.421687
0.045589
0.023639
0.02195
0
0
0
0
0
0
0
0.004029
0.212121
3,465
98
122
35.357143
0.863736
0.149495
0
0.064516
0
0
0.0756
0
0
0
0
0
0
0
null
null
0
0.225806
null
null
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a74ed33bed9fd2bf1869587eb51efae4b73acf0f
2,694
py
Python
wxPython/wxGlade-0.9.1/tests/casefiles/bug194.py
DarkShadow4/python
4cd94e0cf53ee06c9c31e9272572ca9656697c30
[ "MIT" ]
null
null
null
wxPython/wxGlade-0.9.1/tests/casefiles/bug194.py
DarkShadow4/python
4cd94e0cf53ee06c9c31e9272572ca9656697c30
[ "MIT" ]
null
null
null
wxPython/wxGlade-0.9.1/tests/casefiles/bug194.py
DarkShadow4/python
4cd94e0cf53ee06c9c31e9272572ca9656697c30
[ "MIT" ]
1
2020-08-19T17:25:22.000Z
2020-08-19T17:25:22.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- # # generated by wxGlade # import wx # begin wxGlade: dependencies import gettext # end wxGlade # begin wxGlade: extracode # end wxGlade class Frame194(wx.Frame): def __init__(self, *args, **kwds): # begin wxGlade: Frame194.__init__ kwds["style"] = ...
36.405405
136
0.674091
379
2,694
4.474934
0.211082
0.074292
0.058373
0.084906
0.533019
0.475236
0.371462
0.303066
0.303066
0.132665
0
0.031119
0.200817
2,694
73
137
36.90411
0.756619
0.136971
0
0
1
0
0.071521
0
0
0
0
0
0
1
0.093023
false
0
0.046512
0
0.209302
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
a756bc1796d3c38a6c55bf2da71181376b6cbb0c
1,006
py
Python
nadine-2.2.3/interlink/migrations/0006_auto_20191230_1550.py
alvienzo720/Dep_Nadine
b23688aa87ba3cfe138f9b243eed3f50a74e1486
[ "Apache-2.0" ]
null
null
null
nadine-2.2.3/interlink/migrations/0006_auto_20191230_1550.py
alvienzo720/Dep_Nadine
b23688aa87ba3cfe138f9b243eed3f50a74e1486
[ "Apache-2.0" ]
null
null
null
nadine-2.2.3/interlink/migrations/0006_auto_20191230_1550.py
alvienzo720/Dep_Nadine
b23688aa87ba3cfe138f9b243eed3f50a74e1486
[ "Apache-2.0" ]
1
2020-02-24T08:23:45.000Z
2020-02-24T08:23:45.000Z
# Generated by Django 2.2.9 on 2019-12-30 23:50 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('interlink', '0005_mailinglist_enabled'), ] operations = [ migrations.AlterField( model_name='ma...
33.533333
155
0.656064
102
1,006
6.27451
0.45098
0.09375
0.117188
0.135938
0.540625
0.45
0.38125
0.38125
0.209375
0.209375
0
0.024707
0.235586
1,006
29
156
34.689655
0.807542
0.044732
0
0.391304
1
0
0.178311
0.07195
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
a7588dc2fb7f9b731cbacf573dc6b763ba2192b1
865
py
Python
test/test_wave_utils.py
nowindxdw/0AI_ears
e372262b8d71618b07face9d46bea96f66181430
[ "MIT" ]
null
null
null
test/test_wave_utils.py
nowindxdw/0AI_ears
e372262b8d71618b07face9d46bea96f66181430
[ "MIT" ]
null
null
null
test/test_wave_utils.py
nowindxdw/0AI_ears
e372262b8d71618b07face9d46bea96f66181430
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import print_function import pytest import os #xears_test from xears.data_utils import wave_utils def test_wave_test(): #A_path = os.path.dirname(__file__)+os.path.sep+'xears'+os.path.sep+'mp3source'+os.path.sep+'model.wav' A_path = os.path.dirname(__fil...
36.041667
109
0.752601
135
865
4.348148
0.303704
0.163543
0.143101
0.144804
0.32368
0.238501
0.153322
0.153322
0.153322
0.153322
0
0.003947
0.121387
865
24
110
36.041667
0.768421
0.410405
0
0
0
0
0.111332
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.461538
0.230769
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
a758c760db170d6cf98798434f42f33ee7da220c
10,022
py
Python
lib/TransferModules/GridFTPTransferCertificate.py
cedadev/mistamover
37ad31c4c66658c4c77340efc783040f94df3f3f
[ "BSD-3-Clause-Clear" ]
null
null
null
lib/TransferModules/GridFTPTransferCertificate.py
cedadev/mistamover
37ad31c4c66658c4c77340efc783040f94df3f3f
[ "BSD-3-Clause-Clear" ]
null
null
null
lib/TransferModules/GridFTPTransferCertificate.py
cedadev/mistamover
37ad31c4c66658c4c77340efc783040f94df3f3f
[ "BSD-3-Clause-Clear" ]
null
null
null
# BSD Licence # Copyright (c) 2012, Science & Technology Facilities Council (STFC) # All rights reserved. # # See the LICENSE file in the source distribution of this software for # the full license text. from TransferBase import TransferBase from TransferUtils import * import os import tempfile import sys this_dir = ...
42.28692
97
0.59998
1,157
10,022
5.047537
0.196197
0.078767
0.084589
0.064726
0.438014
0.389384
0.346233
0.290925
0.229281
0.159247
0
0.001118
0.28627
10,022
236
98
42.466102
0.815322
0.055378
0
0.213115
0
0
0.213618
0.095127
0
0
0
0
0
0
null
null
0.038251
0.04918
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
a7635a8f3017e4a7211ec8e2f200f26f8326b7e9
735
py
Python
algorithms/python/leetcode/common/sort_util.py
ytjia/coding-pratice
6ddba1f3b86c40639a8203cbc3373d52301c1b1f
[ "MIT" ]
null
null
null
algorithms/python/leetcode/common/sort_util.py
ytjia/coding-pratice
6ddba1f3b86c40639a8203cbc3373d52301c1b1f
[ "MIT" ]
null
null
null
algorithms/python/leetcode/common/sort_util.py
ytjia/coding-pratice
6ddba1f3b86c40639a8203cbc3373d52301c1b1f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Authors: Y. Jia <ytjia.zju@gmail.com> def binary_search(arr, target, begin=None, end=None): """ :param arr: :param target: :param begin: :param end: :return: """ if begin is None: begin = 0 if end is None: end = len(arr) - 1 if end <...
21
57
0.52517
98
735
3.908163
0.326531
0.093995
0.117493
0.164491
0.221932
0
0
0
0
0
0
0.014644
0.34966
735
34
58
21.617647
0.786611
0.165986
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.368421
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
a76652d815bddd80747051961441e704bfa1bb69
3,643
py
Python
pddlstream/algorithms/scheduling/apply_fluents.py
syc7446/pddlstream
c8990c45279109b271e58b5f48990a541a701289
[ "MIT" ]
2
2019-07-10T04:43:43.000Z
2019-07-17T06:25:07.000Z
pddlstream/algorithms/scheduling/apply_fluents.py
syc7446/pddlstream
c8990c45279109b271e58b5f48990a541a701289
[ "MIT" ]
null
null
null
pddlstream/algorithms/scheduling/apply_fluents.py
syc7446/pddlstream
c8990c45279109b271e58b5f48990a541a701289
[ "MIT" ]
null
null
null
import copy from pddlstream.algorithms.downward import fact_from_fd from pddlstream.algorithms.reorder import get_partial_orders from pddlstream.language.conversion import pddl_from_object from pddlstream.language.object import OptimisticObject, UniqueOptValue from pddlstream.utils import neighbors_from_orders, get_ma...
58.758065
117
0.692287
468
3,643
5.108974
0.269231
0.037641
0.062735
0.043915
0.136345
0.092848
0.092848
0.081138
0.081138
0.081138
0
0.00142
0.226736
3,643
62
118
58.758065
0.847355
0.138348
0
0
0
0
0.015335
0
0
0
0
0.016129
0.020408
1
0.040816
false
0
0.163265
0
0.244898
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
a7666dbb1b91f74f713867a4beffb58f00b6fa63
1,368
py
Python
signal_processing/synthetic/generators/tests/test_sine_wave_generator.py
dtemir/labgraph
34e12f203ba1254291a6b3b08458ede75f1d4383
[ "MIT" ]
1
2022-02-02T15:14:54.000Z
2022-02-02T15:14:54.000Z
signal_processing/synthetic/generators/tests/test_sine_wave_generator.py
bennaaym/labgraph
f29eb520335e883bb5244a6e4400cf34a281ec8a
[ "MIT" ]
null
null
null
signal_processing/synthetic/generators/tests/test_sine_wave_generator.py
bennaaym/labgraph
f29eb520335e883bb5244a6e4400cf34a281ec8a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2004-present Facebook. All Rights Reserved. import numpy as np from ..sine_wave_generator import SineWaveChannelConfig, SineWaveGenerator def test_generate_sinusoid() -> None: """ Tests that the samples generated from each channel matches the parameters specified in th...
28.5
80
0.687135
181
1,368
4.983425
0.458564
0.038803
0.066519
0.059867
0
0
0
0
0
0
0
0.032228
0.20614
1,368
47
81
29.106383
0.798343
0.182018
0
0
1
0
0.007319
0
0
0
0
0
0.038462
1
0.038462
false
0
0.076923
0
0.115385
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
a7684ae9a391a41a50640fc395191bbd3744a8f7
183
py
Python
examples/ocaml_rockstar.py
hoojaoh/rockstar
2cb911be76fc93692c180d629f0b282d672ea8f7
[ "MIT" ]
4,603
2015-07-16T20:11:28.000Z
2022-03-21T23:51:47.000Z
examples/ocaml_rockstar.py
hoojaoh/rockstar
2cb911be76fc93692c180d629f0b282d672ea8f7
[ "MIT" ]
90
2015-07-18T11:51:33.000Z
2021-05-10T02:45:58.000Z
examples/ocaml_rockstar.py
hoojaoh/rockstar
2cb911be76fc93692c180d629f0b282d672ea8f7
[ "MIT" ]
436
2015-07-16T22:10:50.000Z
2022-02-15T04:53:19.000Z
from rockstar import RockStar ocaml_code = 'print_string "Hello world!\n";;' rock_it_bro = RockStar(days=400, file_name='hello.ml', code=ocaml_code) rock_it_bro.make_me_a_rockstar()
30.5
71
0.786885
31
183
4.290323
0.677419
0.135338
0.135338
0
0
0
0
0
0
0
0
0.017964
0.087432
183
5
72
36.6
0.778443
0
0
0
0
0
0.213115
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a77f2189d09ca1ca9ed9ba45216e8e7088b6ba1a
3,140
py
Python
tests/test_config.py
ambrozic/http3
5442006a41f94a3e41186910d7a6e8546adf0f89
[ "BSD-3-Clause" ]
1
2021-10-07T01:41:33.000Z
2021-10-07T01:41:33.000Z
tests/test_config.py
didip/http3
7c6fb5c6ca44b69fd221d626c9e2fb60530fa1bc
[ "BSD-3-Clause" ]
null
null
null
tests/test_config.py
didip/http3
7c6fb5c6ca44b69fd221d626c9e2fb60530fa1bc
[ "BSD-3-Clause" ]
null
null
null
import os import ssl import pytest import http3 @pytest.mark.asyncio async def test_load_ssl_config(): ssl_config = http3.SSLConfig() context = await ssl_config.load_ssl_context() assert context.verify_mode == ssl.VerifyMode.CERT_REQUIRED @pytest.mark.asyncio async def test_load_ssl_config_verify_non_...
29.345794
88
0.752866
440
3,140
5.075
0.140909
0.08464
0.040305
0.078818
0.766682
0.710703
0.592924
0.448276
0.448276
0.429467
0
0.02266
0.142675
3,140
106
89
29.622642
0.806835
0
0
0.383562
0
0
0.067197
0.028025
0
0
0
0
0.191781
1
0.109589
false
0
0.054795
0
0.164384
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a787e1b195521846bde87a14f16f1ef7ebb384b6
813
py
Python
tests/games/gridworld/test_gridworld.py
johink/willsmith
a6bdfff2e3b12770100811002867bf3ed64ad6d3
[ "MIT" ]
null
null
null
tests/games/gridworld/test_gridworld.py
johink/willsmith
a6bdfff2e3b12770100811002867bf3ed64ad6d3
[ "MIT" ]
null
null
null
tests/games/gridworld/test_gridworld.py
johink/willsmith
a6bdfff2e3b12770100811002867bf3ed64ad6d3
[ "MIT" ]
null
null
null
from tests.games.mdp_testcase import MDPTestCase from games.gridworld.grid import Grid from games.gridworld.gridworld import Gridworld from games.gridworld.gridworld_direction import GridworldDirection from games.gridworld.gridworld_examples import * class TestGridworld(MDPTestCase): def setUp(self): ...
33.875
77
0.714637
99
813
5.666667
0.414141
0.064171
0.128342
0.144385
0
0
0
0
0
0
0
0.012232
0.195572
813
23
78
35.347826
0.845566
0
0
0
0
0
0
0
0
0
0
0
0.117647
1
0.176471
false
0
0.294118
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
0
0
1
0
0
1
a7a0768154d8c4759f66cbd6c080058115cc0e72
839
py
Python
betfair_scraper/__init__.py
meister245/betfair-scraper
45bc2ff5253d4b910f76acc80dddd2f093378364
[ "MIT" ]
2
2021-04-18T01:13:28.000Z
2021-10-31T12:48:50.000Z
betfair_scraper/__init__.py
meister245/betfair-scraper
45bc2ff5253d4b910f76acc80dddd2f093378364
[ "MIT" ]
null
null
null
betfair_scraper/__init__.py
meister245/betfair-scraper
45bc2ff5253d4b910f76acc80dddd2f093378364
[ "MIT" ]
1
2022-03-30T07:07:03.000Z
2022-03-30T07:07:03.000Z
import os import getpass from .scraper import BetfairScraper as Betfair __version__ = '1.0' SECRETS_DIR = os.path.expanduser('~') + '/.betfair/' SECRETS_FILE = SECRETS_DIR + 'secrets' if not os.path.isdir(SECRETS_DIR): os.mkdir(SECRETS_DIR) if not os.path.isfile(SECRETS_FILE): with open(SECRETS_FILE, 'w'...
22.078947
75
0.617402
114
839
4.421053
0.412281
0.109127
0.089286
0.113095
0
0
0
0
0
0
0
0.004732
0.244339
839
37
76
22.675676
0.790221
0
0
0.086957
0
0
0.076281
0
0
0
0
0
0
1
0.043478
false
0.391304
0.130435
0
0.26087
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
a7a47a9c6c49c6402f51b64f7cd549a0911b6d80
2,070
py
Python
src/rest/endpoint.py
leolani/cltl-demo-component
5b23e69dbae60466bda1ea535ab9080df693a0d1
[ "MIT" ]
null
null
null
src/rest/endpoint.py
leolani/cltl-demo-component
5b23e69dbae60466bda1ea535ab9080df693a0d1
[ "MIT" ]
null
null
null
src/rest/endpoint.py
leolani/cltl-demo-component
5b23e69dbae60466bda1ea535ab9080df693a0d1
[ "MIT" ]
null
null
null
from apispec import APISpec from apispec.ext.marshmallow import MarshmallowPlugin from apispec.yaml_utils import load_yaml_from_docstring from marshmallow_dataclass import class_schema from cltl.demo.api import ExampleOutput, ExampleInput from cltl.demo.implementation import DummyExampleComponent class OpenAPISpec: ...
27.6
77
0.6343
229
2,070
5.554585
0.401747
0.031447
0.033019
0.042453
0.031447
0
0
0
0
0
0
0.00657
0.264734
2,070
74
78
27.972973
0.829172
0.227536
0
0.078947
0
0
0.078289
0.013816
0
0
0
0
0
1
0.184211
false
0
0.157895
0.078947
0.526316
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
a7ab6f9626fa7636eee27dd76f9999ef8eb9d4dc
374
py
Python
scripts.py
mukherjeeakash/GestureRecognizer
51c16c9b7c2d32fc6cdcc90bd251f7b131b9e821
[ "Apache-2.0" ]
null
null
null
scripts.py
mukherjeeakash/GestureRecognizer
51c16c9b7c2d32fc6cdcc90bd251f7b131b9e821
[ "Apache-2.0" ]
null
null
null
scripts.py
mukherjeeakash/GestureRecognizer
51c16c9b7c2d32fc6cdcc90bd251f7b131b9e821
[ "Apache-2.0" ]
null
null
null
import numpy as np import tensorflow as tf import os graph_def = tf.GraphDef() labels = ["0","1","2"] # Import the TF graph with tf.gfile.FastGFile("model.pb", 'rb') as f: graph_def.ParseFromString(f.read()) tf.import_graph_def(graph_def, name='') # Create a list of labels. with open("labels.txt", 'rt') as ...
20.777778
47
0.660428
63
374
3.84127
0.603175
0.132231
0
0
0
0
0
0
0
0
0
0.009836
0.184492
374
17
48
22
0.783607
0.117647
0
0
0
0
0.076453
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a7af2d566e74a066d9d015d35b90fa4e332aa445
1,600
py
Python
PyDSS/cli/export.py
JMorganUSU/PyDSS
7e28c45204e6ba8e703162c24c8a585f038fff6a
[ "BSD-3-Clause" ]
21
2019-02-04T22:19:50.000Z
2022-03-01T18:06:28.000Z
PyDSS/cli/export.py
JMorganUSU/PyDSS
7e28c45204e6ba8e703162c24c8a585f038fff6a
[ "BSD-3-Clause" ]
33
2020-01-28T22:47:44.000Z
2022-03-30T20:05:00.000Z
PyDSS/cli/export.py
JMorganUSU/PyDSS
7e28c45204e6ba8e703162c24c8a585f038fff6a
[ "BSD-3-Clause" ]
11
2019-12-28T01:04:55.000Z
2022-03-01T18:05:30.000Z
""" CLI to export data from a PyDSS project """ import logging import os import sys import click from PyDSS.pydss_project import PyDssProject from PyDSS.pydss_results import PyDssResults from PyDSS.loggers import setup_logging from PyDSS.utils.utils import get_cli_string logger = logging.getLogger(__name__) # TOD...
22.535211
84
0.678125
205
1,600
5.141463
0.356098
0.034156
0.026565
0.028463
0.129032
0.129032
0.077799
0.077799
0.077799
0
0
0.001567
0.2025
1,600
70
85
22.857143
0.824451
0.069375
0
0.181818
0
0
0.151762
0
0
0
0
0.014286
0
1
0.018182
false
0
0.145455
0
0.163636
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
a7bcbc487c55b22068dcf4e87aa3769e98558fa9
1,517
py
Python
cloudapi_digitalocean/digitaloceanapi/snapshots.py
zorani/cloudapi_digitalocean
670da3b66fe343553194dd5f39a8209fd6012802
[ "MIT" ]
4
2022-01-25T12:26:53.000Z
2022-02-18T22:18:18.000Z
digitaloceanobjects/digitaloceanapi/snapshots.py
zorani/digitalocean_objects
ed4fbf60f27b413f1990be096660326dec471310
[ "MIT" ]
null
null
null
digitaloceanobjects/digitaloceanapi/snapshots.py
zorani/digitalocean_objects
ed4fbf60f27b413f1990be096660326dec471310
[ "MIT" ]
null
null
null
from .digitaloceanapiconnection import DigitalOceanAPIConnection import os import time import queue import threading import datetime import random import json class Snapshots(DigitalOceanAPIConnection): def __init__(self): DigitalOceanAPIConnection.__init__(self) self.endpoint = "/v2/snapshots" ...
32.276596
83
0.693474
188
1,517
5.43617
0.25
0.07045
0.088063
0.078278
0.668297
0.633072
0.633072
0.633072
0.483366
0.483366
0
0.004205
0.216216
1,517
46
84
32.978261
0.855341
0.104153
0
0.363636
0
0
0.076753
0
0
0
0
0
0
1
0.181818
false
0
0.242424
0.060606
0.606061
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
a7cb125bf8f6905272315a2631b2f70671efae67
400
py
Python
plugins/beebeeto/utils/payload/webshell/php.py
aliluyala/PocHunter
ff2d7e745eabd81ffb77920fe00813b17fc432cf
[ "MIT" ]
95
2016-07-05T12:44:25.000Z
2022-01-24T09:16:44.000Z
plugins/beebeeto/utils/payload/webshell/php.py
sigma-random/PocHunter
ff2d7e745eabd81ffb77920fe00813b17fc432cf
[ "MIT" ]
2
2016-10-24T09:35:24.000Z
2017-07-28T08:50:31.000Z
plugins/beebeeto/utils/payload/webshell/php.py
sigma-random/PocHunter
ff2d7e745eabd81ffb77920fe00813b17fc432cf
[ "MIT" ]
39
2016-06-13T07:47:39.000Z
2020-11-26T00:53:48.000Z
#author: fyth from webshell import * class PhpShell(Webshell): _password = 'cmd' _content = "<?php var_dump(md5(123));@assert($_REQUEST['{0}']);?>" _check_statement = 'var_dump(md5(123));' _keyword = '202cb962ac59075b964b07152d234b70' class PhpVerify(VerifyShell): _content = "<?php var_dump(md...
22.222222
70
0.6875
40
400
6.5
0.65
0.080769
0.115385
0.15
0.176923
0.176923
0
0
0
0
0
0.179941
0.1525
400
17
71
23.529412
0.587021
0.03
0
0.222222
0
0
0.474093
0.38601
0
0
0
0
0.111111
1
0
false
0.111111
0.111111
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
1
0
0
0
0
0
1
a7cfaedb85025ea4a28f4e8caa8183a88b91d045
6,305
py
Python
src/loopy_modules.py
joennlae/amp
d0bd6a7f895eeab9893ccd9a40d3fd015e9a6165
[ "MIT" ]
7
2019-12-26T08:29:27.000Z
2021-11-07T03:15:09.000Z
src/loopy_modules.py
joennlae/amp
d0bd6a7f895eeab9893ccd9a40d3fd015e9a6165
[ "MIT" ]
null
null
null
src/loopy_modules.py
joennlae/amp
d0bd6a7f895eeab9893ccd9a40d3fd015e9a6165
[ "MIT" ]
1
2020-05-26T22:40:00.000Z
2020-05-26T22:40:00.000Z
''' This file implements the detection algorithms (message passing) on markov random field of graphs generated by ER model. The algorithms defined in this file would be imported by bin/varying_loopy.py For the specifics about the algorithms, please see the description in manuscript/amp.pdf. ''' import numpy as np imp...
35.027778
119
0.554798
775
6,305
4.357419
0.197419
0.040865
0.026059
0.017767
0.588392
0.574474
0.519988
0.498667
0.457803
0.400948
0
0.004735
0.330056
6,305
179
120
35.223464
0.794744
0.11705
0
0.5
1
0
0.005487
0
0
0
0
0
0
1
0.098214
false
0.017857
0.053571
0
0.232143
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
a7d30929e11a9b3fbae0aefacf61fd2b7ab1f563
3,670
py
Python
brain_brew/build_tasks/csvs/csvs_generate.py
ohare93/brain-brew
e04b837b5e5aa16c223778007ae119a2996c07b1
[ "Unlicense" ]
62
2020-04-23T20:51:27.000Z
2022-03-31T10:14:20.000Z
brain_brew/build_tasks/csvs/csvs_generate.py
ohare93/brain-brew
e04b837b5e5aa16c223778007ae119a2996c07b1
[ "Unlicense" ]
22
2020-04-16T16:57:55.000Z
2022-01-16T18:56:23.000Z
brain_brew/build_tasks/csvs/csvs_generate.py
ohare93/brain-brew
e04b837b5e5aa16c223778007ae119a2996c07b1
[ "Unlicense" ]
3
2020-07-02T17:54:43.000Z
2020-10-29T16:36:56.000Z
from dataclasses import dataclass from typing import List, Dict, Union from brain_brew.build_tasks.csvs.shared_base_csvs import SharedBaseCsvs from brain_brew.commands.run_recipe.build_task import TopLevelBuildTask from brain_brew.configuration.part_holder import PartHolder from brain_brew.representation.yaml.notes im...
38.229167
118
0.667847
467
3,670
4.991435
0.276231
0.069498
0.087516
0.027027
0.142428
0.071214
0
0
0
0
0
0
0.242779
3,670
95
119
38.631579
0.838791
0.028065
0
0.092105
0
0
0.1016
0.031434
0
0
0
0.010526
0
1
0.118421
false
0
0.118421
0.065789
0.381579
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
a7d40e84fd390f4918dd96a93d2f38630a63c4d0
901
py
Python
bindings/python/test/Library/IO/IP.test.py
cowlicks/library-io
abe29d6c7c741ee9e3406923adf538b22f80a8d1
[ "Apache-2.0" ]
null
null
null
bindings/python/test/Library/IO/IP.test.py
cowlicks/library-io
abe29d6c7c741ee9e3406923adf538b22f80a8d1
[ "Apache-2.0" ]
null
null
null
bindings/python/test/Library/IO/IP.test.py
cowlicks/library-io
abe29d6c7c741ee9e3406923adf538b22f80a8d1
[ "Apache-2.0" ]
1
2020-12-01T14:49:31.000Z
2020-12-01T14:49:31.000Z
# coding=utf-8 ################################################################################################################################################################ # @project Library ▸ I/O # @file LibraryIOPy/IP.test.py # @author Lucas Brémond <lucas@loftorbital.com> # @license ...
36.04
160
0.309656
64
901
4.375
0.578125
0.042857
0.075
0.117857
0
0
0
0
0
0
0
0.00369
0.097669
901
24
161
37.541667
0.339483
0.192009
0
0
0
0
0.091286
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
a7d8184dea28a08b1345e8b57808e130c0d651b5
4,222
py
Python
piio/_piio_pwm.py
daniel-blake/piio-client
29a32075f1bfa9832d91524aa1be369438002623
[ "MIT" ]
null
null
null
piio/_piio_pwm.py
daniel-blake/piio-client
29a32075f1bfa9832d91524aa1be369438002623
[ "MIT" ]
null
null
null
piio/_piio_pwm.py
daniel-blake/piio-client
29a32075f1bfa9832d91524aa1be369438002623
[ "MIT" ]
null
null
null
import gobject import dbus import dbus.service import dbus.mainloop.glib from _event import Event from _dbus_smartobject import DBusSmartObject,NoConnectionError from _piio import PiIo, PiIoGroup, PiIoDict class PiIoGroupPwm (PiIoGroup): ''' Access piio Digital IO Groups Attributes: PwmValueC...
28.146667
96
0.607532
492
4,222
5.063008
0.29065
0.040145
0.022481
0.027298
0.303894
0.270173
0.227218
0.227218
0.207146
0.207146
0
0.001347
0.296542
4,222
149
97
28.33557
0.837374
0.109427
0
0.208333
0
0
0.065337
0.017194
0
0
0
0
0
0
null
null
0
0.097222
null
null
0.013889
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
a7dd78900a1dc80bcafa0f8cbdb8750a0fa80b79
321
py
Python
mud/migrations/0020_remove_users_loggedin.py
cspt2-build-week-abr/Backend
2e349f3ff73db1cbe9bb4f13fceae4847fe47f2f
[ "MIT" ]
null
null
null
mud/migrations/0020_remove_users_loggedin.py
cspt2-build-week-abr/Backend
2e349f3ff73db1cbe9bb4f13fceae4847fe47f2f
[ "MIT" ]
8
2019-12-04T23:44:37.000Z
2022-02-10T11:45:47.000Z
mud/migrations/0020_remove_users_loggedin.py
cspt2-build-week-abr/Backend
2e349f3ff73db1cbe9bb4f13fceae4847fe47f2f
[ "MIT" ]
null
null
null
# Generated by Django 2.2.3 on 2019-07-22 02:31 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('mud', '0019_users_loggedin'), ] operations = [ migrations.RemoveField( model_name='users', name='loggedIn', ), ]...
17.833333
47
0.582555
34
321
5.411765
0.764706
0
0
0
0
0
0
0
0
0
0
0.084821
0.302181
321
17
48
18.882353
0.736607
0.140187
0
0
1
0
0.127737
0
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
38eade0d4c31bad46974d09679621a4a2dea49ac
4,996
py
Python
uuv_simulator/uuv_control/uuv_control_utils/scripts/trajectory_marker_publisher.py
laughlinbarker/underice_ekf
d74a83b2d02cef986fc904cf588a408382d728a6
[ "BSD-2-Clause" ]
1
2021-11-10T08:59:19.000Z
2021-11-10T08:59:19.000Z
uuv_simulator/uuv_control/uuv_control_utils/scripts/trajectory_marker_publisher.py
laughlinbarker/underice_ekf
d74a83b2d02cef986fc904cf588a408382d728a6
[ "BSD-2-Clause" ]
2
2019-06-13T10:58:38.000Z
2019-09-24T14:09:05.000Z
uuv_simulator/uuv_control/uuv_control_utils/scripts/trajectory_marker_publisher.py
laughlinbarker/underice_ekf
d74a83b2d02cef986fc904cf588a408382d728a6
[ "BSD-2-Clause" ]
2
2017-10-24T15:02:53.000Z
2019-04-02T15:14:58.000Z
#!/usr/bin/env python # Copyright (c) 2016 The UUV Simulator 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...
35.432624
105
0.670536
610
4,996
5.177049
0.3
0.031349
0.037049
0.020899
0.150728
0.033566
0.018366
0.018366
0
0
0
0.003999
0.249199
4,996
140
106
35.685714
0.83791
0.139311
0
0.06383
0
0
0.074982
0.011446
0
0
0
0
0
0
null
null
0
0.106383
null
null
0.042553
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
38fdf70e90d31e67fc340ea96d6418ad2ed554b0
2,696
py
Python
python/demos/logregDemoAffair.py
qyxiao/pmt
87513794fc43f8aa1f4f3d7588fa45ffc75d1a44
[ "MIT" ]
null
null
null
python/demos/logregDemoAffair.py
qyxiao/pmt
87513794fc43f8aa1f4f3d7588fa45ffc75d1a44
[ "MIT" ]
null
null
null
python/demos/logregDemoAffair.py
qyxiao/pmt
87513794fc43f8aa1f4f3d7588fa45ffc75d1a44
[ "MIT" ]
null
null
null
#logistic regression demo on female extra marital affair dataset #https://github.com/justmarkham/gadsdc1/blob/master/logistic_assignment/kevin_logistic_sklearn.ipynb import matplotlib.pyplot as plt import numpy as np import pandas as pd import statsmodels.api as sm from patsy import dmatrices from sklearn.linear_mode...
37.444444
100
0.672107
396
2,696
4.426768
0.386364
0.075299
0.051341
0.045636
0.06275
0.026241
0
0
0
0
0
0.020686
0.211053
2,696
71
101
37.971831
0.803479
0.268917
0
0
0
0
0.208611
0.06407
0
0
0
0
0
0
null
null
0
0.236842
null
null
0.131579
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
38fe917a7cec515d1908bf364f192d7d5de9f8fa
333
py
Python
main.py
leofansq/Tools_make_planes
e43710c19be4bb7d23f07cd61164ab8e602fffaa
[ "MIT" ]
8
2019-11-19T06:54:53.000Z
2022-02-09T03:24:21.000Z
main.py
gujiaqivadin/Tools_make_planes
e43710c19be4bb7d23f07cd61164ab8e602fffaa
[ "MIT" ]
1
2022-03-12T06:23:26.000Z
2022-03-12T06:23:26.000Z
main.py
gujiaqivadin/Tools_make_planes
e43710c19be4bb7d23f07cd61164ab8e602fffaa
[ "MIT" ]
9
2019-10-14T06:15:39.000Z
2022-03-12T05:42:02.000Z
import make_planes as mp # Path of the dataset, for KITTI is "/home/xxxxx/KITTI/training/" DATA_FILE_PATH = "./training/" print ("Start", DATA_FILE_PATH) # lidar4to3(input_file_path, output_file_path="./points/") mp.lidar4to3(DATA_FILE_PATH) # cal_planes(input_file_path="./points/", output_file_path="./planes/") mp...
27.75
71
0.753754
51
333
4.588235
0.470588
0.239316
0.153846
0
0
0
0
0
0
0
0
0.013201
0.09009
333
12
72
27.75
0.759076
0.570571
0
0
0
0
0.114286
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
ac0bde386d312ab6ebf73314452c15b2d87edf60
3,957
py
Python
test_proj/apps/app1/models/relations.py
andrewbird2/django-data-validation
8c3a8e14440f0299a5f4b188dfaa7864b53b5123
[ "MIT" ]
1
2020-08-05T16:42:48.000Z
2020-08-05T16:42:48.000Z
test_proj/apps/app1/models/relations.py
andrewbird2/django-data-validation
8c3a8e14440f0299a5f4b188dfaa7864b53b5123
[ "MIT" ]
1
2020-11-04T07:06:37.000Z
2020-11-04T07:06:37.000Z
test_proj/apps/app1/models/relations.py
andrewbird2/django-data-validation
8c3a8e14440f0299a5f4b188dfaa7864b53b5123
[ "MIT" ]
1
2020-11-04T02:16:05.000Z
2020-11-04T02:16:05.000Z
from random import choice, sample, seed from typing import List from datavalidation import data_validator, PASS, FAIL, NA from django.db import models from .base import BaseModel seed(1234) class Relation(BaseModel): fkey = models.ForeignKey( "RelatedFields", on_delete=models.CASCADE, blank=True, null...
31.15748
91
0.648471
453
3,957
5.514349
0.282561
0.078062
0.028022
0.052042
0.200961
0.151321
0.119295
0.08727
0.08727
0.056845
0
0.012208
0.254738
3,957
126
92
31.404762
0.834859
0.167551
0
0.1875
0
0
0.0424
0.007538
0
0
0
0
0.0125
1
0.1
false
0.0875
0.0625
0
0.4875
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
ac1e40ec4d199159a647e2a155bc01a6bb8ab6ad
890
py
Python
src/python/MergeSort/MergeSort-1.py
sheilapaiva/data-structures
4e64d902f737c6dad5ff7c5b9a033e1ccc5bdb43
[ "MIT" ]
19
2020-10-05T07:15:47.000Z
2021-11-15T11:21:42.000Z
src/python/MergeSort/MergeSort-1.py
sheilapaiva/data-structures
4e64d902f737c6dad5ff7c5b9a033e1ccc5bdb43
[ "MIT" ]
3
2020-10-07T04:28:45.000Z
2020-10-30T12:44:47.000Z
src/python/MergeSort/MergeSort-1.py
sheilapaiva/data-structures
4e64d902f737c6dad5ff7c5b9a033e1ccc5bdb43
[ "MIT" ]
24
2020-10-04T18:33:32.000Z
2021-03-30T14:59:31.000Z
import random # DIVIDE A LISTA EM DUAS PARA O MERGE SORT def separador(lista): l1 = [] l2 = [] for i in range(0,len(lista)/2): l1.append(lista[i]) for i in range(len(lista)/2,len(lista)): l2.append(lista[i]) return l1,l2 # MERGE JUNTA LISTA def juntalista(lista1,lista2): novalista = [] while len(lista1)...
19.777778
45
0.658427
143
890
4.097902
0.34965
0.054608
0.046075
0.037543
0
0
0
0
0
0
0
0.057183
0.194382
890
44
46
20.227273
0.760112
0.110112
0
0.121212
0
0
0
0
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.030303
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
ac23c6c7b042d1eccf5b643e7a4db2d95f68f163
852
py
Python
tests/unit/enrichers/test_gene_enricher.py
bmeg/bmeg-etl
3efa28a7775d6defd77457838e92817a2fbc9e99
[ "MIT" ]
1
2022-03-08T22:06:35.000Z
2022-03-08T22:06:35.000Z
tests/unit/enrichers/test_gene_enricher.py
bmeg/bmeg-etl
3efa28a7775d6defd77457838e92817a2fbc9e99
[ "MIT" ]
191
2018-07-09T20:49:34.000Z
2021-02-09T18:44:28.000Z
tests/unit/enrichers/test_gene_enricher.py
bmeg/bmeg-etl
3efa28a7775d6defd77457838e92817a2fbc9e99
[ "MIT" ]
null
null
null
import bmeg.enrichers.gene_enricher as gene_enricher def test_simple(): """ straightforward """ tp53 = gene_enricher.get_gene('TP53') assert(tp53), 'Should exist' assert tp53 == {'symbol': u'TP53', 'entrez_id': u'7157', 'ensembl_gene_id': u'ENSG00000141510', 'hg...
25.058824
60
0.612676
102
852
4.941176
0.460784
0.142857
0.119048
0.150794
0.293651
0.206349
0.206349
0.206349
0.206349
0
0
0.053883
0.25939
852
33
61
25.818182
0.744849
0.110329
0
0.363636
0
0
0.234417
0
0
0
0
0
0.227273
1
0.181818
false
0.090909
0.045455
0
0.227273
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
ac24efa505659e250d88667385680aa42d08f274
1,443
py
Python
dataHora.py
renatabezerratech/Exercicio_Data_Hora_Python
a543af0bed784ae1c7bfe3b82f05353c4c1dee9e
[ "MIT" ]
null
null
null
dataHora.py
renatabezerratech/Exercicio_Data_Hora_Python
a543af0bed784ae1c7bfe3b82f05353c4c1dee9e
[ "MIT" ]
null
null
null
dataHora.py
renatabezerratech/Exercicio_Data_Hora_Python
a543af0bed784ae1c7bfe3b82f05353c4c1dee9e
[ "MIT" ]
null
null
null
# Para trabalhar com data é preciso importar o módulo datetime; import datetime # Para trabalhar a variável, precisa declarar o valor e em seguida dizer o que quer: x = datetime.datetime.now() print(x) # Para exibir a data e a hora atual x = datetime.datetime.now() print(x.strftime("%A")) # Para exibir dia ...
48.1
100
0.690922
220
1,443
4.531818
0.363636
0.025075
0.060181
0.054162
0.212638
0.190572
0.138415
0.138415
0.138415
0.138415
0
0
0.218295
1,443
29
101
49.758621
0.883865
0.524602
0
0.105263
0
0
0.154192
0
0
0
0
0.034483
0
1
0.052632
false
0
0.210526
0
0.263158
0.368421
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
ac3492bc19c5fce179336468c08b1bffd6f49cca
669
py
Python
tests/test_models/test_jobs.py
PhilippeGalvan/jinete
b7b22f8265935bc41b42ad8c4bf7464dc21ab424
[ "MIT" ]
null
null
null
tests/test_models/test_jobs.py
PhilippeGalvan/jinete
b7b22f8265935bc41b42ad8c4bf7464dc21ab424
[ "MIT" ]
null
null
null
tests/test_models/test_jobs.py
PhilippeGalvan/jinete
b7b22f8265935bc41b42ad8c4bf7464dc21ab424
[ "MIT" ]
null
null
null
import unittest from copy import deepcopy import jinete as jit from tests.utils import ( generate_trips, generate_one_job, ) class TestJob(unittest.TestCase): def test_construction(self): trips = generate_trips(3) objective_cls = jit.HashCodeObjective job = jit.Job(trips, object...
21.580645
58
0.684604
81
669
5.382716
0.395062
0.110092
0.123853
0.09633
0
0
0
0
0
0
0
0.001938
0.2287
669
30
59
22.3
0.843023
0
0
0
1
0
0.011958
0
0
0
0
0
0.190476
1
0.095238
false
0
0.190476
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac379ea83c79aee3ef5046526305a65290e08272
378
py
Python
d042.py
wgalimberti/Python-Exercises
2a7184741edc1f2d7703d29b626ce47289cfc0db
[ "MIT" ]
null
null
null
d042.py
wgalimberti/Python-Exercises
2a7184741edc1f2d7703d29b626ce47289cfc0db
[ "MIT" ]
null
null
null
d042.py
wgalimberti/Python-Exercises
2a7184741edc1f2d7703d29b626ce47289cfc0db
[ "MIT" ]
null
null
null
peso = float(input('Peso em Kilogramas: ')) altura = float(input('Altura em Centimetros: ')) imc = peso / ((altura / 100) ** 2) print('O IMC esta em {:.2f}'.format(imc)) if imc < 18.5: print('Abaixo do Peso!') elif imc <= 25: print('Peso Ideal') elif imc <= 30: print('Sobrepeso') elif imc <= 40: print('...
25.2
48
0.613757
55
378
4.218182
0.509091
0.12069
0.077586
0.12069
0.198276
0
0
0
0
0
0
0.052805
0.198413
378
14
49
27
0.712871
0
0
0
0
0
0.325397
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
ac381f0acda98755994792703730d29d77a08f1f
1,228
py
Python
excise/study1.py
pingao2019/DS-Unit-3-Sprint-2-SQL-and-Databases
376d63c7664cf6f77e79924a72591c7f83e89190
[ "MIT" ]
null
null
null
excise/study1.py
pingao2019/DS-Unit-3-Sprint-2-SQL-and-Databases
376d63c7664cf6f77e79924a72591c7f83e89190
[ "MIT" ]
null
null
null
excise/study1.py
pingao2019/DS-Unit-3-Sprint-2-SQL-and-Databases
376d63c7664cf6f77e79924a72591c7f83e89190
[ "MIT" ]
null
null
null
import sqlite3 conn = sqlite3. connect('study_part1.sqlite3') cur = conn.cursor() create table study1(student VARCHAR(20). ) import sqlite3 connection = sqlite3.connect('study_part1.sqlite3') curs= connection.cursor() table_1 = ''' CREATE TABLE table_1( student VARCHAR(20), studied VARCHAR(20), grade...
16.594595
60
0.653909
165
1,228
4.745455
0.4
0.061303
0.051086
0.061303
0.079183
0
0
0
0
0
0
0.046875
0.166124
1,228
73
61
16.821918
0.717773
0
0
0.159091
0
0
0.539604
0
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac3a55c16988b6c52109da74a0beb3d93e433826
5,291
py
Python
usig_normalizador_amba/Callejero.py
hogasa/normalizador-amba
ecf9f66803c128e73fe5777c13bceab101f4299b
[ "MIT" ]
null
null
null
usig_normalizador_amba/Callejero.py
hogasa/normalizador-amba
ecf9f66803c128e73fe5777c13bceab101f4299b
[ "MIT" ]
null
null
null
usig_normalizador_amba/Callejero.py
hogasa/normalizador-amba
ecf9f66803c128e73fe5777c13bceab101f4299b
[ "MIT" ]
null
null
null
# coding: UTF-8 ''' Created on Apr 21, 2014 @author: hernan ''' from __future__ import absolute_import import urllib2 import re import json from bisect import bisect_left from usig_normalizador_amba.Calle import Calle from usig_normalizador_amba.settings import default_settings from usig_normalizador_amba.commons imp...
37.524823
125
0.574372
664
5,291
4.519578
0.296687
0.034655
0.021993
0.015995
0.160613
0.127957
0.111296
0.0993
0.0993
0.0993
0
0.022099
0.315819
5,291
140
126
37.792857
0.806906
0.082593
0
0.158537
0
0
0.054003
0.024152
0
0
0
0
0
0
null
null
0
0.097561
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
ac3e561c8ef9bdd1ec9be354b582656fa4393f0f
324
py
Python
setup.py
tianer2820/cmdWrapper
f509d1a82392a6555fcaeb7996695eaea08c3cc7
[ "MIT" ]
1
2019-05-21T08:37:20.000Z
2019-05-21T08:37:20.000Z
setup.py
tianer2820/cmdWrapper
f509d1a82392a6555fcaeb7996695eaea08c3cc7
[ "MIT" ]
null
null
null
setup.py
tianer2820/cmdWrapper
f509d1a82392a6555fcaeb7996695eaea08c3cc7
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='cmdWrapper', version='0.1', packages=['cmdWrapper'], url='https://github.com/tianer2820/cmdWrapper', license='MIT', author='Toby', author_email='tianer2820@163.com', description='a vary simple gui lib based on wxpython', requires=['wxPython'...
23.142857
58
0.66358
38
324
5.631579
0.815789
0
0
0
0
0
0
0
0
0
0
0.049057
0.182099
324
13
59
24.923077
0.758491
0
0
0
0
0
0.416667
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
ac3e849822db2013239d96c72a3cd096f84aca66
275
py
Python
ad_api/sp_brands/brands.py
854350999/python-amazon-advertising-api
ec52f72dab85ad67e271bfd6248071f00e9c7292
[ "MIT" ]
null
null
null
ad_api/sp_brands/brands.py
854350999/python-amazon-advertising-api
ec52f72dab85ad67e271bfd6248071f00e9c7292
[ "MIT" ]
null
null
null
ad_api/sp_brands/brands.py
854350999/python-amazon-advertising-api
ec52f72dab85ad67e271bfd6248071f00e9c7292
[ "MIT" ]
null
null
null
from ..client import Client class Brands(Client): def get_brands(self, brand_type_filter): self.uri_path = "/brands" self.method = "get" self.params = { "brandTypeFilter": brand_type_filter } return self.execute()
18.333333
48
0.592727
30
275
5.233333
0.6
0.127389
0.191083
0
0
0
0
0
0
0
0
0
0.305455
275
14
49
19.642857
0.82199
0
0
0
0
0
0.091575
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.444444
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
ac3ec4bcdbbb12f77eda3be9a1ba882b058ad81d
1,306
py
Python
data_control.py
DudkinON/catalog
aca601f9b31c877e809f4321908f99e5d907056d
[ "MIT" ]
null
null
null
data_control.py
DudkinON/catalog
aca601f9b31c877e809f4321908f99e5d907056d
[ "MIT" ]
null
null
null
data_control.py
DudkinON/catalog
aca601f9b31c877e809f4321908f99e5d907056d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from validate_email import validate_email from random import choice from string import ascii_uppercase as uppercase, digits from settings import * def allowed_file(filename, extensions): """ Check file is image :param filename: string :param extensions: ...
21.766667
73
0.634763
177
1,306
4.553672
0.40678
0.037221
0.029777
0.034739
0.081886
0.081886
0.081886
0.081886
0.081886
0.081886
0
0.012974
0.232772
1,306
59
74
22.135593
0.791417
0.266462
0
0
0
0
0.004657
0
0
0
0
0
0
1
0.181818
false
0.045455
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ac4055835be4dddf436c89a76eec2089f396f092
818
py
Python
Petstagram/pets/migrations/0002_auto_20201027_1528.py
Irinkaaa/Petstagram_Django_Project
6f20c788156fad2da27f8e9ce8cddaa21d297012
[ "MIT" ]
null
null
null
Petstagram/pets/migrations/0002_auto_20201027_1528.py
Irinkaaa/Petstagram_Django_Project
6f20c788156fad2da27f8e9ce8cddaa21d297012
[ "MIT" ]
null
null
null
Petstagram/pets/migrations/0002_auto_20201027_1528.py
Irinkaaa/Petstagram_Django_Project
6f20c788156fad2da27f8e9ce8cddaa21d297012
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-27 13:28 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pets', '0001_initial'), ] operations = [ migrations.AddField( model_name='like', na...
27.266667
113
0.562347
87
818
5.206897
0.54023
0.05298
0.06181
0.09713
0
0
0
0
0
0
0
0.036021
0.287286
818
29
114
28.206897
0.740995
0.055012
0
0.304348
1
0
0.094682
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
ac44d10b4a0aa3c0888fcaba22e66748c4843693
960
py
Python
q2/a2/lcss.py
WilhelmStein/HackeMining2
4c95cae641c04cb0460ce0935150233f3491a992
[ "MIT" ]
null
null
null
q2/a2/lcss.py
WilhelmStein/HackeMining2
4c95cae641c04cb0460ce0935150233f3491a992
[ "MIT" ]
null
null
null
q2/a2/lcss.py
WilhelmStein/HackeMining2
4c95cae641c04cb0460ce0935150233f3491a992
[ "MIT" ]
null
null
null
import numpy as np from harversine import harvesine def lcss(u, v, match_error_margin): def bt(t, u, v, match_error_margin, i , j): # Backtrack through matrix t in order to find the lcss if i == 0 or j == 0: return [] if harvesine(u[i - 1], v[j - 1]) <= match_error_margin: ...
38.4
102
0.5
173
960
2.682081
0.231214
0.172414
0.275862
0.155172
0.515086
0.476293
0.476293
0.476293
0.476293
0.422414
0
0.037442
0.332292
960
24
103
40
0.686427
0.078125
0
0.2
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.45
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
ac46978892ab541ce4ba2a3b0a562f4814db984a
7,084
py
Python
src/sentry/migrations/0029_discover_query_upgrade.py
pierredup/sentry
0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80
[ "BSD-3-Clause" ]
null
null
null
src/sentry/migrations/0029_discover_query_upgrade.py
pierredup/sentry
0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80
[ "BSD-3-Clause" ]
null
null
null
src/sentry/migrations/0029_discover_query_upgrade.py
pierredup/sentry
0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Hand from __future__ import unicode_literals, print_function from sentry.utils.query import RangeQuerySetWrapperWithProgressBar from django.db import migrations # SearchVisitor.numeric_keys + SearchVisitor.date_keys OPERATOR_KEYS = set( [ "project_id", "projec...
34.896552
119
0.635799
807
7,084
5.434944
0.307311
0.05244
0.0342
0.01938
0.169403
0.127907
0.102143
0.093935
0.047424
0.047424
0
0.013536
0.249153
7,084
202
120
35.069307
0.811055
0.167702
0
0.055944
1
0
0.135499
0.008435
0
0
0
0
0
1
0.027972
false
0
0.020979
0
0.111888
0.006993
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
ac50784ef5c568b1ad7d2f20b27f7306b81c6891
812
py
Python
Source Code/client/RaspberryPi_backup/tcp_sender_multi_connection.py
PerryLai/AutoTest-Platform
798e797149dfdbc975131c3f95cc887e29594182
[ "MIT" ]
null
null
null
Source Code/client/RaspberryPi_backup/tcp_sender_multi_connection.py
PerryLai/AutoTest-Platform
798e797149dfdbc975131c3f95cc887e29594182
[ "MIT" ]
null
null
null
Source Code/client/RaspberryPi_backup/tcp_sender_multi_connection.py
PerryLai/AutoTest-Platform
798e797149dfdbc975131c3f95cc887e29594182
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import socket import time def main(): payload = [0x0b] * 1024 counter = 1 try: while True: s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM, 0) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.setsockopt(socket.SOL_SOCKET, 25, str("net0.2" + '\0').en...
19.333333
79
0.618227
110
812
4.436364
0.536364
0.07377
0.069672
0.081967
0.106557
0
0
0
0
0
0
0.071542
0.225369
812
41
80
19.804878
0.704293
0.025862
0
0.074074
0
0
0.152284
0
0
0
0.005076
0
0
1
0.037037
false
0.074074
0.074074
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ac5324efb6d75ecfdc02d4431a2f690ed3294fcf
46,903
py
Python
nexus/library/gamess_input.py
bwvdg/qmcpack
cd09fc54b36de2579c9802f5e64b7ec15506f3c3
[ "NCSA" ]
null
null
null
nexus/library/gamess_input.py
bwvdg/qmcpack
cd09fc54b36de2579c9802f5e64b7ec15506f3c3
[ "NCSA" ]
1
2020-04-10T15:33:28.000Z
2020-04-10T15:35:59.000Z
nexus/library/gamess_input.py
bwvdg/qmcpack
cd09fc54b36de2579c9802f5e64b7ec15506f3c3
[ "NCSA" ]
null
null
null
################################################################## ## (c) Copyright 2015- by Jaron T. Krogel ## ################################################################## #====================================================================# # gamess_input.py ...
35.559515
425
0.487965
5,077
46,903
4.43766
0.22986
0.016644
0.011363
0.011229
0.246161
0.199467
0.176787
0.153706
0.139547
0.128495
0
0.02407
0.365798
46,903
1,318
426
35.586495
0.733342
0.123382
0
0.268571
0
0.010286
0.211183
0.003466
0
0
0
0
0
0
null
null
0.001143
0.009143
null
null
0.019429
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
ac535d999f8a137d49f5eb0c38a84e5969cc5f9c
705
py
Python
ecommerce/core/migrations/0006_auto_20200911_0447.py
berrondo/ecommerce
daa0fa3c336d7e1e9816cc187f858bab7122fb1b
[ "MIT" ]
1
2020-09-04T02:23:02.000Z
2020-09-04T02:23:02.000Z
ecommerce/core/migrations/0006_auto_20200911_0447.py
berrondo/ecommerce
daa0fa3c336d7e1e9816cc187f858bab7122fb1b
[ "MIT" ]
null
null
null
ecommerce/core/migrations/0006_auto_20200911_0447.py
berrondo/ecommerce
daa0fa3c336d7e1e9816cc187f858bab7122fb1b
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-09-11 04:47 from django.conf import settings from django.db import migrations class Migration(migrations.Migration): atomic = False dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('auth', '0012_alter_user_first_name_max_length'...
25.178571
66
0.617021
76
705
5.434211
0.697368
0.048426
0.072639
0
0
0
0
0
0
0
0
0.076321
0.275177
705
27
67
26.111111
0.731898
0.06383
0
0.095238
1
0
0.215805
0.147416
0
0
0
0
0
1
0
false
0
0.095238
0
0.285714
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
ac5392e0387407b7afb191ec14943fdec3e2f834
10,135
py
Python
src/finmag/util/mesh_templates_test.py
davidcortesortuno/finmag
9ac0268d2c0e45faf1284cee52a73525aa589e2b
[ "BSL-1.0" ]
10
2018-03-24T07:43:17.000Z
2022-03-26T10:42:27.000Z
src/finmag/util/mesh_templates_test.py
davidcortesortuno/finmag
9ac0268d2c0e45faf1284cee52a73525aa589e2b
[ "BSL-1.0" ]
21
2018-03-26T15:08:53.000Z
2021-07-10T16:11:14.000Z
src/finmag/util/mesh_templates_test.py
davidcortesortuno/finmag
9ac0268d2c0e45faf1284cee52a73525aa589e2b
[ "BSL-1.0" ]
7
2018-04-09T11:50:48.000Z
2021-06-10T09:23:25.000Z
#!/usr/bin/env python import pytest import os import numpy as np import dolfin as df from math import pi from meshes import mesh_volume from mesh_templates import * import logging # loose tolerance for bad approximations (e.g. for a spherical mesh) TOL1 = 1e-2 TOL2 = 1e-7 # intermediate tolerance (used e.g. for the...
35.561404
109
0.669068
1,588
10,135
4.105793
0.184509
0.032209
0.042945
0.026994
0.423926
0.36181
0.322546
0.286196
0.206135
0.178221
0
0.067711
0.2
10,135
284
110
35.68662
0.736433
0.136063
0
0.21978
0
0
0.115547
0.05641
0
0
0
0.003521
0.131868
0
null
null
0
0.049451
null
null
0.016484
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
ac5bf1564653a52e303dc0e65b36e7b93cd91048
512
py
Python
viz_net.py
fangkaimin/pytorch_classification_new
21032e7ab91f0f3106ba07aa97657a023b1cc717
[ "MIT" ]
null
null
null
viz_net.py
fangkaimin/pytorch_classification_new
21032e7ab91f0f3106ba07aa97657a023b1cc717
[ "MIT" ]
null
null
null
viz_net.py
fangkaimin/pytorch_classification_new
21032e7ab91f0f3106ba07aa97657a023b1cc717
[ "MIT" ]
null
null
null
import torch from torch import nn from torchviz import make_dot from torchvision.models import AlexNet from cnn_flower import CNNNet model = CNNNet() x = torch.randn(1, 3, 32, 32).requires_grad_(True) y = model(x) vis_graph = make_dot(y, params=dict(list(model.named_parameters()) + [('x', x)])) vis_graph.view() # ...
23.272727
83
0.701172
83
512
4.156627
0.385542
0.046377
0.104348
0.069565
0.57971
0.504348
0.504348
0.504348
0.504348
0.504348
0
0.031603
0.134766
512
21
84
24.380952
0.747178
0.355469
0
0
0
0
0.003086
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
ac5dc16b3679ddc3879c28a17697f16bbabf1324
16,779
py
Python
feed/standings.py
fearless-spider/python_playground
5150b2de09736d68558f4c159e110a7ebbe29bfc
[ "BSD-3-Clause" ]
null
null
null
feed/standings.py
fearless-spider/python_playground
5150b2de09736d68558f4c159e110a7ebbe29bfc
[ "BSD-3-Clause" ]
null
null
null
feed/standings.py
fearless-spider/python_playground
5150b2de09736d68558f4c159e110a7ebbe29bfc
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import sys import MySQLdb from BeautifulSoup import BeautifulStoneSoup import feedparser from datetime import datetime, timedelta import urllib2 screen = 'standings' sport = sys.argv[1] league = sys.argv[2] direct = sys.argv[3] news = False class Season: id = 0 feed_id = '' name =...
37.286667
117
0.460337
1,809
16,779
4.171918
0.11885
0.054061
0.027031
0.034981
0.451835
0.410494
0.372598
0.356301
0.333775
0.300517
0
0.01497
0.402825
16,779
449
118
37.36971
0.738224
0.005781
0
0.177057
0
0.002494
0.186763
0.026378
0
0
0
0
0
0
null
null
0
0.014963
null
null
0.002494
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
ac63d9b3d43e9b34d25116607959d86fbd832b2d
864
py
Python
data/external/repositories/238397/ucla-cs145-kaggle-master/labelpropagationclassifier.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories/238397/ucla-cs145-kaggle-master/labelpropagationclassifier.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories/238397/ucla-cs145-kaggle-master/labelpropagationclassifier.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
1
2019-12-04T08:23:33.000Z
2019-12-04T08:23:33.000Z
""" labelpropagationclassifier.py Builds a label propagation classifier Takes a very long time, unknown accuracy/execution time """ from classifier import Classifier from matrixdatabase import MatrixDatabase from sklearn.semi_supervised import LabelPropagation class LabelPropagationClassifier(Classifier): def __...
27.870968
95
0.782407
104
864
6.25
0.490385
0.043077
0.083077
0.067692
0
0
0
0
0
0
0
0.001333
0.131944
864
31
96
27.870968
0.865333
0
0
0
0
0
0.025921
0
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac678dc9fa439b3c0d122ce60a39ba4f2db1cd7d
364
py
Python
flask_debug/__init__.py
mbr/Flask-Debug
2458a1a8f65847ec0703b547ebd3d8b454dc8e24
[ "MIT" ]
11
2015-06-12T10:39:48.000Z
2020-05-14T14:13:18.000Z
flask_debug/__init__.py
mbr/Flask-Debug
2458a1a8f65847ec0703b547ebd3d8b454dc8e24
[ "MIT" ]
2
2015-07-24T11:30:14.000Z
2016-04-27T15:53:09.000Z
flask_debug/__init__.py
mbr/Flask-Debug
2458a1a8f65847ec0703b547ebd3d8b454dc8e24
[ "MIT" ]
2
2016-04-24T21:50:47.000Z
2020-06-27T18:52:03.000Z
from .dbg import dbg from .security import requires_debug class Debug(object): def __init__(self, app=None): import flask_debug_plugins dbg._debug_load_plugins() if app: self.init_app(app) def init_app(self, app): app.config.setdefault('FLASK_DEBUG_DISABLE_STRICT',...
24.266667
66
0.673077
48
364
4.770833
0.5
0.061135
0
0
0
0
0
0
0
0
0
0
0.241758
364
14
67
26
0.82971
0
0
0
0
0
0.071429
0.071429
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.545455
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ac6eba0473ecb1586db850e7393ae49dc30bbfb0
10,140
py
Python
layer23/python2/testutils/TestUtilsL23.py
xenadevel/xenascriptlibs
31d6d7a4abd1ec732337a611edeac25446ae538b
[ "MIT" ]
7
2016-03-09T09:30:33.000Z
2021-12-01T08:36:26.000Z
layer23/python2/testutils/TestUtilsL23.py
xenadevel/xenascriptlibs
31d6d7a4abd1ec732337a611edeac25446ae538b
[ "MIT" ]
2
2019-11-04T13:07:58.000Z
2020-02-19T20:19:27.000Z
layer23/python2/testutils/TestUtilsL23.py
xenadevel/xenascriptlibs
31d6d7a4abd1ec732337a611edeac25446ae538b
[ "MIT" ]
9
2017-07-21T14:01:36.000Z
2020-06-25T01:41:10.000Z
import os, sys, time, threading, inspect from SocketDrivers import SimpleSocket LOGFILE = "XENALOG" RESET = " p_reset" RESERVATION = " p_reservation ?" RESERVE = " p_reservation reserve" RELINQUISH = " p_reservation relinquish" RELEASE = " p_reservation release" TRAFFIC_ON = ...
31.490683
102
0.54497
1,088
10,140
4.998162
0.217831
0.037514
0.025745
0.01655
0.265907
0.244207
0.21975
0.185546
0.156307
0.137183
0
0.005659
0.30286
10,140
321
103
31.588785
0.763616
0.106608
0
0.321101
0
0
0.13568
0.008798
0
0
0
0
0
0
null
null
0
0.009174
null
null
0.050459
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
ac7e2660f0b071e0cbd4bbc4fcbf552a0b7fc364
7,022
tac
Python
tests/asm/test-tac.tac
yuriserka/cipl
80843607353d968989e00fdd5632b9d21997ce8c
[ "MIT" ]
1
2021-12-09T16:36:31.000Z
2021-12-09T16:36:31.000Z
tests/asm/test-tac.tac
yuriserka/cipl
80843607353d968989e00fdd5632b9d21997ce8c
[ "MIT" ]
null
null
null
tests/asm/test-tac.tac
yuriserka/cipl
80843607353d968989e00fdd5632b9d21997ce8c
[ "MIT" ]
null
null
null
.table char str_0[] = "" char str_1[] = ", " char snil[] = "nil" .code cast: seq $0, #1, 1 brnz cast_F2I, $0 cast_I2F: mov $1, 2 mov $2, #0[1] inttofl $2, $2 jump cast_END cast_F2I: mov $1, 1 mov $2, #0[1] fltoint $2, $2 cast_END: mema $3, 2 mov $3[0], $1 mov $3[1], $2...
13.90495
45
0.513814
1,307
7,022
2.583015
0.063504
0.028436
0.029621
0.045616
0.618483
0.531398
0.498223
0.461493
0.410545
0.359597
0
0.128108
0.358587
7,022
504
46
13.93254
0.621448
0
0
0.621891
0
0
0.001035
0
0
0
0
0
0
0
null
null
0
0
null
null
0.047264
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
ac898028744ece7e8c2279310ea70ced49bb49ae
3,481
py
Python
gen_templates.py
bentotten/gamma-spectra_denoising
42cf6791e2399475666f4308526f574fed59763b
[ "MIT" ]
null
null
null
gen_templates.py
bentotten/gamma-spectra_denoising
42cf6791e2399475666f4308526f574fed59763b
[ "MIT" ]
1
2020-08-11T21:31:22.000Z
2020-08-15T04:31:36.000Z
gen_templates.py
bentotten/gamma-spectra_denoising
42cf6791e2399475666f4308526f574fed59763b
[ "MIT" ]
1
2021-08-05T21:26:56.000Z
2021-08-05T21:26:56.000Z
import os import sys import time import json import h5py import argparse import numpy as np from tqdm import tqdm from spectra_utils import load_radionuclide_nndc, generate_spectrum, plot_spectrum def load_nndc_tables(nndc_dir, radionuclides): nndc_tables = {} for rn in radionuclides: keV, intensit...
36.260417
127
0.651537
434
3,481
5.087558
0.308756
0.049819
0.061594
0.021739
0.128623
0.075181
0.075181
0.048913
0.048913
0.048913
0
0.007432
0.226946
3,481
95
128
36.642105
0.813081
0.13588
0
0.119403
1
0
0.161721
0.007669
0
0
0
0
0
1
0.059701
false
0.029851
0.134328
0
0.238806
0.029851
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
ac8a5f6ecaee32e4765a096ed1ecb46ed96dfa4c
1,094
py
Python
openstack_dashboard/dashboards/project/stacks/sro.py
ameoba/horizon
ff9e367c98a8bb79f10914abffaaa04b0a461819
[ "Apache-2.0" ]
2
2019-12-29T09:20:13.000Z
2020-01-01T13:12:34.000Z
openstack_dashboard/dashboards/project/stacks/sro.py
yongquanf/horizon
9aad7fd6f66588fed7c27b720642e47a4a12854b
[ "Apache-2.0" ]
1
2015-03-12T01:03:44.000Z
2015-03-12T01:03:44.000Z
openstack_dashboard/dashboards/project/stacks/sro.py
yongquanf/horizon
9aad7fd6f66588fed7c27b720642e47a4a12854b
[ "Apache-2.0" ]
null
null
null
from django.template.defaultfilters import title # noqa from django.template.loader import render_to_string # noqa from horizon.utils import filters def stack_info(stack, stack_image): stack.stack_status_desc = title( filters.replace_underscores(stack.stack_status)) if stack.stack_status_reason: ...
33.151515
72
0.693784
120
1,094
6.016667
0.25
0.096953
0.110803
0.166205
0.423823
0.423823
0.271468
0
0
0
0
0
0.226691
1,094
32
73
34.1875
0.853428
0.008227
0
0.148148
0
0
0.082255
0.060074
0
0
0
0
0
1
0.074074
false
0
0.111111
0
0.259259
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
3ba4cf7a4b8009d32aa6bab9c85cc917e7156757
529
py
Python
prompt412/round-111/c.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
2
2019-02-08T01:23:07.000Z
2020-11-19T12:23:52.000Z
prompt412/round-111/c.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
prompt412/round-111/c.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
t = int(input()) def solve(): candy = 0 x = input() r, c = map(int, input().split()) a = [] for _ in range(r): a.append(input()) for i in range(r): for j in range(c - 2): if a[i][j] == '>' and a[i][j + 1] == 'o' and a[i][j + 2] == '<': candy += 1 ...
22.041667
76
0.381853
87
529
2.298851
0.298851
0.21
0.06
0.11
0.24
0
0
0
0
0
0
0.028391
0.400756
529
24
77
22.041667
0.602524
0
0
0.105263
0
0
0.011321
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.052632
0.052632
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
3ba5e29fe366eacb70fe8e9a055d3f4e5a04d2fe
2,997
py
Python
pozytywnie_facebook/facebook_project/settings.py
riklaunim/django-examples
82d60b4b20b2f41922bd44be325a406e843cdab8
[ "MIT" ]
17
2015-01-05T09:13:38.000Z
2019-09-01T12:55:38.000Z
pozytywnie_facebook/facebook_project/settings.py
riklaunim/django-examples
82d60b4b20b2f41922bd44be325a406e843cdab8
[ "MIT" ]
1
2015-05-24T02:33:18.000Z
2015-05-24T02:33:18.000Z
pozytywnie_facebook/facebook_project/settings.py
riklaunim/django-examples
82d60b4b20b2f41922bd44be325a406e843cdab8
[ "MIT" ]
13
2015-01-28T01:03:11.000Z
2018-04-21T13:48:59.000Z
""" Django settings for facebook_project project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR...
25.836207
71
0.742409
353
2,997
6.135977
0.450425
0.06602
0.060942
0.069252
0.120499
0.104801
0.104801
0.104801
0.036934
0
0
0.012246
0.128128
2,997
115
72
26.06087
0.816686
0.279613
0
0
0
0.015152
0.575503
0.44834
0
0
0
0
0
1
0
false
0
0.030303
0
0.030303
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bac951282dcfe56655215be24bcc9f5793fbf98
776
py
Python
buybacks/views/stats.py
buahaha/aa-buybacks
ba0286bc99b49e3c86109ef7eb9e4a66065ef477
[ "MIT" ]
null
null
null
buybacks/views/stats.py
buahaha/aa-buybacks
ba0286bc99b49e3c86109ef7eb9e4a66065ef477
[ "MIT" ]
null
null
null
buybacks/views/stats.py
buahaha/aa-buybacks
ba0286bc99b49e3c86109ef7eb9e4a66065ef477
[ "MIT" ]
null
null
null
from django.contrib.auth.decorators import login_required, permission_required from django.shortcuts import render from ..models import Contract @login_required @permission_required("buybacks.basic_access") def my_stats(request): contracts = Contract.objects.filter( character__user=request.user, ) ...
22.171429
78
0.698454
83
776
6.337349
0.39759
0.074144
0.131179
0.176806
0.365019
0.365019
0.365019
0.201521
0
0
0
0
0.197165
776
34
79
22.823529
0.844302
0
0
0.48
0
0
0.136598
0.054124
0
0
0
0
0
1
0.08
false
0
0.12
0
0.28
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bad4de6baadffefbdc78fb11c20f97af665985c
2,984
py
Python
tests/resources/test_resources.py
Glignos/invenio-records-resources
84a7bf7f279def2d671bb72bae3c77804e206840
[ "MIT" ]
null
null
null
tests/resources/test_resources.py
Glignos/invenio-records-resources
84a7bf7f279def2d671bb72bae3c77804e206840
[ "MIT" ]
null
null
null
tests/resources/test_resources.py
Glignos/invenio-records-resources
84a7bf7f279def2d671bb72bae3c77804e206840
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2020 CERN. # Copyright (C) 2020 Northwestern University. # # Invenio-Records-Resources is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see LICENSE file for more # details. """Service tests.""" import json import pytest from in...
30.141414
78
0.638405
427
2,984
4.360656
0.262295
0.101504
0.080559
0.102041
0.609023
0.574651
0.553169
0.523631
0.482814
0.435553
0
0.022166
0.198727
2,984
98
79
30.44898
0.756587
0.209786
0
0.471698
0
0
0.15325
0.01808
0
0
0
0.010204
0.396226
1
0.056604
false
0
0.075472
0
0.150943
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
3bae64fd4f7054032d70c9422834ca457796ee0c
234
py
Python
performers/export.py
Jiyuan-Yang/paper_lookup
a7d1e362f9977fffeee54d08d70442fb9db64a10
[ "MIT" ]
1
2020-06-28T11:37:48.000Z
2020-06-28T11:37:48.000Z
performers/export.py
Jiyuan-Yang/paper_lookup
a7d1e362f9977fffeee54d08d70442fb9db64a10
[ "MIT" ]
null
null
null
performers/export.py
Jiyuan-Yang/paper_lookup
a7d1e362f9977fffeee54d08d70442fb9db64a10
[ "MIT" ]
null
null
null
from configs.meta_params import get_db_list from utils.parser.bib_parser import bib_gen def export_exec(paper_id): for item in get_db_list(): if item['id'] == paper_id: print(bib_gen(item)) break
23.4
43
0.666667
37
234
3.918919
0.621622
0.068966
0.124138
0
0
0
0
0
0
0
0
0
0.247863
234
9
44
26
0.823864
0
0
0
0
0
0.008547
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bb03e8ff2411243b0f41c0c817ddaa37f3e18cf
1,194
py
Python
api/momo_devc_app/views/profile_views.py
tranminhduc4796/devc_backend
52c82adf60cfcb220dd221736533ab97b3ebd5e5
[ "MIT" ]
null
null
null
api/momo_devc_app/views/profile_views.py
tranminhduc4796/devc_backend
52c82adf60cfcb220dd221736533ab97b3ebd5e5
[ "MIT" ]
null
null
null
api/momo_devc_app/views/profile_views.py
tranminhduc4796/devc_backend
52c82adf60cfcb220dd221736533ab97b3ebd5e5
[ "MIT" ]
null
null
null
from rest_framework.generics import ListCreateAPIView, UpdateAPIView from rest_framework.permissions import IsAuthenticated from ..models import Profile, User from ..serializers import ProfileSerializer from rest_framework.response import Response from django.shortcuts import get_object_or_404 class ListCreate(ListCr...
32.27027
68
0.734506
137
1,194
6.218978
0.343066
0.042254
0.059859
0.049296
0.164319
0.164319
0.164319
0.164319
0
0
0
0.009288
0.188442
1,194
36
69
33.166667
0.869969
0
0
0.142857
0
0
0.005868
0
0
0
0
0
0
1
0.107143
false
0
0.214286
0
0.642857
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
3bb0af0d1ccfedaf3ba660f961e29b3337bf55b3
986
py
Python
octavia/image/image_base.py
zhangi/octavia
e68c851fecf55e1b5ffe7d5b849f729626af28a3
[ "Apache-2.0" ]
129
2015-06-23T08:06:23.000Z
2022-03-31T12:38:20.000Z
octavia/image/image_base.py
zhangi/octavia
e68c851fecf55e1b5ffe7d5b849f729626af28a3
[ "Apache-2.0" ]
6
2016-05-20T11:05:27.000Z
2021-03-23T06:05:52.000Z
octavia/image/image_base.py
zhangi/octavia
e68c851fecf55e1b5ffe7d5b849f729626af28a3
[ "Apache-2.0" ]
166
2015-07-15T16:24:05.000Z
2022-03-02T20:54:36.000Z
# Copyright 2020 Red Hat, 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 by applicable law or agr...
34
75
0.727181
147
986
4.823129
0.632653
0.084626
0.036671
0.045134
0
0
0
0
0
0
0
0.010178
0.20284
986
28
76
35.214286
0.891858
0.764706
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
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
3bb330263d8e8f4359774037fb586b7759a7f22d
502
py
Python
financialaid/migrations/0017_countryincomethreshold_unique.py
Wassaf-Shahzad/micromasters
b1340a8c233499b1d8d22872a6bc1fe7f49fd323
[ "BSD-3-Clause" ]
32
2016-03-25T01:03:13.000Z
2022-01-15T19:35:42.000Z
financialaid/migrations/0017_countryincomethreshold_unique.py
Wassaf-Shahzad/micromasters
b1340a8c233499b1d8d22872a6bc1fe7f49fd323
[ "BSD-3-Clause" ]
4,858
2016-03-03T13:48:30.000Z
2022-03-29T22:09:51.000Z
financialaid/migrations/0017_countryincomethreshold_unique.py
umarmughal824/micromasters
ea92d3bcea9be4601150fc497302ddacc1161622
[ "BSD-3-Clause" ]
20
2016-08-18T22:07:44.000Z
2021-11-15T13:35:35.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-10-13 20:05 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('financialaid', '0016_load_country_income_thresholds'), ] operations = [ mig...
23.904762
64
0.649402
54
502
5.814815
0.814815
0
0
0
0
0
0
0
0
0
0
0.057743
0.241036
502
20
65
25.1
0.766404
0.135458
0
0
1
0
0.187935
0.132251
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bb55a38bbd4e04a0fe3de7d4b931b34db1d4c24
1,586
py
Python
test_knot_injector.py
rdidyk/injector
6f6bb4c3aba0696e82979b03dc53d805c71afad6
[ "MIT" ]
null
null
null
test_knot_injector.py
rdidyk/injector
6f6bb4c3aba0696e82979b03dc53d805c71afad6
[ "MIT" ]
null
null
null
test_knot_injector.py
rdidyk/injector
6f6bb4c3aba0696e82979b03dc53d805c71afad6
[ "MIT" ]
null
null
null
import pytest import knot_injector class TestInjector(object): @pytest.fixture() def provider(self): def test_provider(container=None): return {'name': 'test'} return test_provider @pytest.fixture() def container(self): return knot_injector.Container() def te...
29.924528
71
0.621059
170
1,586
5.647059
0.270588
0.051042
0.0875
0.09375
0.3
0.216667
0.13125
0.13125
0.13125
0.13125
0
0.003398
0.257881
1,586
52
72
30.5
0.812234
0
0
0.225
0
0
0.092055
0
0
0
0
0
0.125
1
0.225
false
0
0.1
0.075
0.45
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
3bbd105477e90be2ef27950c4c5418cad82c0f99
4,975
py
Python
azure/multicloud_azure/tests/test_aria_view.py
onap/archive-multicloud-azure
d3562b78879a900510c8ecb1241156d5b9bb50f6
[ "Apache-2.0", "CC-BY-4.0" ]
1
2018-10-13T06:32:10.000Z
2018-10-13T06:32:10.000Z
azure/multicloud_azure/tests/test_aria_view.py
onap/archive-multicloud-azure
d3562b78879a900510c8ecb1241156d5b9bb50f6
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
azure/multicloud_azure/tests/test_aria_view.py
onap/archive-multicloud-azure
d3562b78879a900510c8ecb1241156d5b9bb50f6
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
# Copyright (c) 2018 Amdocs # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
34.79021
79
0.561407
522
4,975
5.124521
0.287356
0.037009
0.024673
0.040374
0.507664
0.49757
0.455701
0.416449
0.376075
0.29757
0
0.01576
0.349548
4,975
142
80
35.035211
0.810878
0.090653
0
0.548077
0
0
0.038121
0.005319
0
0
0
0
0.057692
1
0.173077
false
0.105769
0.076923
0
0.336538
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
3bc0b00ba46abe37a8f25efeb6ca872c9f489ab2
407
py
Python
AssocRuleLearn/arl_apriori.py
rajasekar-venkatesan/MachineLearning_Python
eaeed630edcae4aa29283d1de21fa175f0d6dec6
[ "MIT" ]
null
null
null
AssocRuleLearn/arl_apriori.py
rajasekar-venkatesan/MachineLearning_Python
eaeed630edcae4aa29283d1de21fa175f0d6dec6
[ "MIT" ]
null
null
null
AssocRuleLearn/arl_apriori.py
rajasekar-venkatesan/MachineLearning_Python
eaeed630edcae4aa29283d1de21fa175f0d6dec6
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import pandas as pd dataset = pd.read_csv('Market_Basket_Optimisation.csv', header=None) transactions = [] for i in range(0,7501): transactions.append([str(dataset.values[i,j]) for j in range(0,20)]) from apyori import apriori rules = apriori(transactions,min_s...
27.133333
98
0.751843
67
407
4.462687
0.641791
0.046823
0.053512
0
0
0
0
0
0
0
0
0.045326
0.132678
407
15
99
27.133333
0.8017
0
0
0
0
0
0.073529
0.073529
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3bc571018d7e3466f1b528e4972aca4c1c7202ba
1,493
py
Python
lib/trackers/__init__.py
BestSonny/open-vot-1
3e00fbded601cf8c6a38d6f57d7b5a9df0be394b
[ "MIT" ]
95
2018-05-12T13:13:22.000Z
2021-09-30T18:42:11.000Z
lib/trackers/__init__.py
BestSonny/open-vot-1
3e00fbded601cf8c6a38d6f57d7b5a9df0be394b
[ "MIT" ]
14
2018-05-21T03:43:28.000Z
2018-12-09T05:42:03.000Z
lib/trackers/__init__.py
BestSonny/open-vot-1
3e00fbded601cf8c6a38d6f57d7b5a9df0be394b
[ "MIT" ]
19
2018-05-20T17:04:48.000Z
2019-04-02T12:28:15.000Z
from __future__ import absolute_import, division import cv2 import numpy as np import time from ..utils.viz import show_frame class Tracker(object): def __init__(self, name): self.name = name def init(self, image, init_rect): raise NotImplementedError() def update(self, image): ...
26.660714
63
0.622907
185
1,493
4.848649
0.416216
0.044593
0.024526
0.033445
0.06466
0.06466
0
0
0
0
0
0.014164
0.29069
1,493
55
64
27.145455
0.832861
0
0
0.04878
0
0
0
0
0
0
0
0
0
1
0.097561
false
0
0.317073
0
0.463415
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
3bc5da09d7dfbc6a4f4fd551acf4de5698f991fa
2,355
py
Python
src/webserver/displayer/migrations/0001_initial.py
MarcinAman/AGH-GoogleSheets-Validator
6389411751c288aaa4d5b45368762e1203c21576
[ "MIT" ]
null
null
null
src/webserver/displayer/migrations/0001_initial.py
MarcinAman/AGH-GoogleSheets-Validator
6389411751c288aaa4d5b45368762e1203c21576
[ "MIT" ]
null
null
null
src/webserver/displayer/migrations/0001_initial.py
MarcinAman/AGH-GoogleSheets-Validator
6389411751c288aaa4d5b45368762e1203c21576
[ "MIT" ]
null
null
null
# Generated by Django 2.0.6 on 2018-06-20 12:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ClassRoom', fields=[ ...
36.796875
121
0.564331
229
2,355
5.659389
0.275109
0.059414
0.096451
0.088735
0.630401
0.517747
0.460648
0.460648
0.460648
0.460648
0
0.016384
0.300212
2,355
63
122
37.380952
0.770024
0.019108
0
0.517857
1
0
0.093588
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.107143
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
3bc61aaf81d70e2f44eb5859774a0f66e223aa1b
965
py
Python
pyfibre/tests/test_pyfibre_runner.py
franklongford/ImageCol
96f0db337a203c5634bebcbae10a6d85789dff2c
[ "Apache-2.0" ]
2
2019-03-01T14:28:18.000Z
2021-07-26T05:53:01.000Z
pyfibre/tests/test_pyfibre_runner.py
franklongford/ImageCol
96f0db337a203c5634bebcbae10a6d85789dff2c
[ "Apache-2.0" ]
25
2019-12-20T12:00:01.000Z
2021-07-24T11:27:16.000Z
pyfibre/tests/test_pyfibre_runner.py
franklongford/PyFibre
255a3c659931f1be0356eb49b878e3b741201955
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from pyfibre.model.objects.segments import ( FibreSegment, CellSegment ) from pyfibre.tests.probe_classes.objects import ( ProbeFibreNetwork, generate_probe_segment) from pyfibre.pyfibre_runner import PyFibreRunner LOAD_NETWORK_PATH = "networkx.read_gpickle" SAVE_NETWORK_PATH =...
23.536585
56
0.726425
113
965
5.946903
0.469027
0.049107
0.089286
0.083333
0
0
0
0
0
0
0
0.003783
0.178238
965
40
57
24.125
0.843632
0
0
0
1
0
0.100518
0.04456
0
0
0
0
0.038462
1
0.115385
false
0
0.153846
0
0.346154
0.038462
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
3bce2020a663e461fca0a3b97586e907f9a06fec
8,060
py
Python
ingenico/connect/sdk/domain/payment/definitions/non_sepa_direct_debit_payment_method_specific_input.py
festicket/connect-sdk-python3
c399c6443789dd978f319c89e1ebd387c812a77b
[ "MIT" ]
12
2016-09-26T21:46:31.000Z
2020-12-23T18:44:54.000Z
ingenico/connect/sdk/domain/payment/definitions/non_sepa_direct_debit_payment_method_specific_input.py
festicket/connect-sdk-python3
c399c6443789dd978f319c89e1ebd387c812a77b
[ "MIT" ]
3
2020-05-02T16:53:02.000Z
2020-06-02T12:49:51.000Z
ingenico/connect/sdk/domain/payment/definitions/non_sepa_direct_debit_payment_method_specific_input.py
festicket/connect-sdk-python3
c399c6443789dd978f319c89e1ebd387c812a77b
[ "MIT" ]
11
2017-07-16T00:55:28.000Z
2021-09-24T17:00:49.000Z
# -*- coding: utf-8 -*- # # This class was auto-generated from the API references found at # https://epayments-api.developer-ingenico.com/s2sapi/v1/ # from ingenico.connect.sdk.domain.definitions.abstract_payment_method_specific_input import AbstractPaymentMethodSpecificInput from ingenico.connect.sdk.domain.payment.de...
40.502513
175
0.704094
811
8,060
6.726264
0.172626
0.054812
0.050412
0.060495
0.367919
0.254079
0.096425
0.096425
0.096425
0.096425
0
0.01885
0.229901
8,060
198
176
40.707071
0.859997
0.21067
0
0.078261
1
0
0.109855
0.06733
0
0
0
0
0
1
0.173913
false
0
0.026087
0
0.382609
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
3bd3d0cbc64096a960eb4c27b848a53d8e509c0b
2,475
py
Python
piccel/commands/piccel_import_logic.py
lesca-research/piccel
dc363df65e29f3d6e71a2460b7cd7518d7f8ae0f
[ "MIT" ]
2
2021-05-25T13:57:47.000Z
2021-12-19T14:50:40.000Z
piccel/commands/piccel_import_logic.py
lesca-research/piccel
dc363df65e29f3d6e71a2460b7cd7518d7f8ae0f
[ "MIT" ]
null
null
null
piccel/commands/piccel_import_logic.py
lesca-research/piccel
dc363df65e29f3d6e71a2460b7cd7518d7f8ae0f
[ "MIT" ]
null
null
null
import sys import os import os.path as op import logging from datetime import datetime import shutil from optparse import OptionParser import piccel logger = logging.getLogger('piccel') def main(): min_args = 3 max_args = 3 usage = 'usage: %prog [options] WORKBOOK_FILE LOGIC_FOLDER BACKUP_DIR' desc...
35.869565
76
0.579394
288
2,475
4.805556
0.409722
0.026012
0.043353
0.031792
0.08815
0.08815
0.043353
0
0
0
0
0.009292
0.304242
2,475
68
77
36.397059
0.794425
0
0
0
0
0
0.175758
0
0
0
0
0
0.018519
1
0.018519
false
0.111111
0.185185
0
0.222222
0.018519
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
3bd9a22d6eb99e003f7716fc38d754dac594e4ed
1,809
py
Python
config.py
cedar-technologies/skpcrm
e4c3b0985b2c918b90882ab684529fd3a4a98629
[ "Apache-2.0" ]
1
2019-01-04T20:19:00.000Z
2019-01-04T20:19:00.000Z
config.py
cedar-technologies/skpcrm
e4c3b0985b2c918b90882ab684529fd3a4a98629
[ "Apache-2.0" ]
50
2018-12-30T06:18:31.000Z
2019-01-29T06:15:00.000Z
config.py
cedar-technologies/skpcrm
e4c3b0985b2c918b90882ab684529fd3a4a98629
[ "Apache-2.0" ]
2
2018-12-30T05:40:53.000Z
2019-01-05T07:48:03.000Z
# pylint: disable=too-few-public-methods,invalid-name,missing-docstring import os class BaseConfig(object): PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__)) SERVER_NAME = "localhost:8888" # POSTGRESQL # DB_USER = 'user' # DB_PASSWORD = 'password' # DB_NAME = 'restplusdb' # DB_HO...
25.125
94
0.652847
206
1,809
5.441748
0.364078
0.096343
0.1124
0.03033
0.231936
0.157003
0.103479
0.103479
0.103479
0.103479
0
0.012866
0.226645
1,809
71
95
25.478873
0.78842
0.436705
0
0.090909
0
0
0.079027
0.023303
0
0
0
0
0
1
0
false
0
0.045455
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
3be0846ed06725c14c6411de481ebdbfa78afa73
251
py
Python
PythonExercicios/Mundo 1/4_modulos/ex018.py
GuilhermoCampos/Curso-Python3-curso-em-video
723767bc6069e9c1fa9e28fe412e694f9eb8d05e
[ "MIT" ]
null
null
null
PythonExercicios/Mundo 1/4_modulos/ex018.py
GuilhermoCampos/Curso-Python3-curso-em-video
723767bc6069e9c1fa9e28fe412e694f9eb8d05e
[ "MIT" ]
null
null
null
PythonExercicios/Mundo 1/4_modulos/ex018.py
GuilhermoCampos/Curso-Python3-curso-em-video
723767bc6069e9c1fa9e28fe412e694f9eb8d05e
[ "MIT" ]
null
null
null
import math ang = float(input('Digite o ângulo:')) angr = math.radians(ang) sen = math.sin(angr) cos = math.cos(angr) tan = math.tan(angr) print('Dado o ângulo {}\nO Seno é {:.2f} \nO Cosseno é {:.2f}\nA Tangente é {:.2f}'.format(ang, sen, cos, tan))
31.375
111
0.653386
45
251
3.644444
0.533333
0.054878
0
0
0
0
0
0
0
0
0
0.013953
0.143426
251
7
112
35.857143
0.748837
0
0
0
0
0.142857
0.36255
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3be47efd3e9c23a7f8725c44516dae2420346ed0
561
py
Python
apps/user/admin.py
JuanJoseStone/shoe-app
b9eb10e59877d6eb0582b65cf1b91cdd47bdcdb0
[ "MIT" ]
null
null
null
apps/user/admin.py
JuanJoseStone/shoe-app
b9eb10e59877d6eb0582b65cf1b91cdd47bdcdb0
[ "MIT" ]
null
null
null
apps/user/admin.py
JuanJoseStone/shoe-app
b9eb10e59877d6eb0582b65cf1b91cdd47bdcdb0
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import User from django.contrib.auth.admin import UserAdmin from django.contrib.auth.forms import UserCreationForm, UserChangeForm class CustomUser(UserAdmin): add_form = UserCreationForm form = UserChangeForm model = User add_fieldsets = UserAdmin.add_fie...
28.05
70
0.700535
61
561
6.327869
0.442623
0.07772
0.132124
0.108808
0.227979
0.227979
0.227979
0.227979
0
0
0
0
0.178253
561
19
71
29.526316
0.83731
0
0
0.133333
0
0
0.117647
0
0
0
0
0
0
1
0
false
0
0.266667
0
0.666667
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
3be4b0644867e65391da5b58223da20b224d86ba
357
py
Python
app/worker_hello.py
CedricCabessa/techallhand_celery
889642cfeab4316a98c1fe130e0a7ef7da2a2e26
[ "MIT" ]
null
null
null
app/worker_hello.py
CedricCabessa/techallhand_celery
889642cfeab4316a98c1fe130e0a7ef7da2a2e26
[ "MIT" ]
null
null
null
app/worker_hello.py
CedricCabessa/techallhand_celery
889642cfeab4316a98c1fe130e0a7ef7da2a2e26
[ "MIT" ]
null
null
null
import time from celery import Celery def init_celery(): config = {"broker_url": "amqp://guest:guest@rabbitmq:5672/"} celery = Celery() celery.config_from_object(config) return celery celery = init_celery() @celery.task(name="say_hello", bind=True) def hello(self, name, *args, **kwargs): time...
17.85
64
0.67507
49
357
4.795918
0.571429
0.204255
0
0
0
0
0
0
0
0
0
0.016949
0.173669
357
19
65
18.789474
0.779661
0
0
0
0
0
0.179272
0.092437
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.416667
0.083333
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
3be53bc7a679ef8054807f9bff9e2f23f0f97b57
819
py
Python
spacy/lang/ga/__init__.py
snosrap/spaCy
3f68bbcfec44ef55d101e6db742d353b72652129
[ "MIT" ]
1
2019-05-17T02:43:33.000Z
2019-05-17T02:43:33.000Z
spacy/lang/ga/__init__.py
snosrap/spaCy
3f68bbcfec44ef55d101e6db742d353b72652129
[ "MIT" ]
49
2021-10-01T10:15:30.000Z
2021-12-27T14:36:05.000Z
spacy/lang/ga/__init__.py
snosrap/spaCy
3f68bbcfec44ef55d101e6db742d353b72652129
[ "MIT" ]
1
2019-10-01T08:27:20.000Z
2019-10-01T08:27:20.000Z
from typing import Optional from thinc.api import Model from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS from .stop_words import STOP_WORDS from ...language import Language, BaseDefaults from .lemmatizer import IrishLemmatizer class IrishDefaults(BaseDefaults): tokenizer_exceptions = TOKENIZER_EXCEPTIONS ...
24.088235
82
0.741148
96
819
6.135417
0.489583
0.129032
0
0
0
0
0
0
0
0
0
0.002882
0.152625
819
33
83
24.818182
0.845821
0
0
0
0
0
0.079365
0
0
0
0
0
0
1
0.043478
false
0
0.26087
0.043478
0.608696
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
3be6a1e4f5d89b132f98daad59e949a4eb49d6da
1,957
py
Python
nutrition.py
reedcwilson/nutrition
6c18d3c2d5344a8df0b636fe2e6376a987c39d0a
[ "MIT" ]
null
null
null
nutrition.py
reedcwilson/nutrition
6c18d3c2d5344a8df0b636fe2e6376a987c39d0a
[ "MIT" ]
null
null
null
nutrition.py
reedcwilson/nutrition
6c18d3c2d5344a8df0b636fe2e6376a987c39d0a
[ "MIT" ]
null
null
null
import myfitnesspal import time import flask import sys import argparse import os class Nutrition: def __init__(self): # create client self.client = myfitnesspal.Client('reedcwilson', 'myfitnesspal') def format_name(self, name): return name.strip().replace("'", "@`") def create_json(self, day): ...
31.063492
106
0.6837
283
1,957
4.583039
0.286219
0.069391
0.074017
0.037008
0.249807
0.228219
0.228219
0.148034
0.148034
0.148034
0
0.004808
0.149719
1,957
62
107
31.564516
0.774639
0.006643
0
0.12
0
0
0.111226
0
0
0
0
0
0
0
null
null
0
0.12
null
null
0.02
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
3be810a9555cde312258edbbfb6ad1a166fbc3ba
850
py
Python
smart_contracts/helpers/addresses.py
flashbake/registry-contract
2d9a3a1bed702a95eadadf322d06307946d04efd
[ "MIT" ]
null
null
null
smart_contracts/helpers/addresses.py
flashbake/registry-contract
2d9a3a1bed702a95eadadf322d06307946d04efd
[ "MIT" ]
3
2021-11-20T01:15:05.000Z
2022-01-27T23:09:40.000Z
smart_contracts/helpers/addresses.py
flashbake/registry-contract
2d9a3a1bed702a95eadadf322d06307946d04efd
[ "MIT" ]
null
null
null
#################################################################################### # Default addresses for use in testing. # # These addresses are unique, and providing them names makes tests easier to read # and reason about. #################################################################################### impor...
42.5
85
0.645882
85
850
6.411765
0.588235
0.066055
0.117431
0
0
0
0
0
0
0
0
0.026385
0.108235
850
20
86
42.5
0.692612
0.424706
0
0
0
0
0.460064
0.460064
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3be8df013353784465082133a2de2d7ceea2728c
2,781
py
Python
hybrid/dispatch/power_storage/simple_battery_dispatch.py
jmartin4nrel/HOPP-1
c66ff2d97b43a785ac15004958615290a76477c5
[ "BSD-3-Clause" ]
null
null
null
hybrid/dispatch/power_storage/simple_battery_dispatch.py
jmartin4nrel/HOPP-1
c66ff2d97b43a785ac15004958615290a76477c5
[ "BSD-3-Clause" ]
null
null
null
hybrid/dispatch/power_storage/simple_battery_dispatch.py
jmartin4nrel/HOPP-1
c66ff2d97b43a785ac15004958615290a76477c5
[ "BSD-3-Clause" ]
null
null
null
import pyomo.environ as pyomo from pyomo.environ import units as u import PySAM.BatteryStateful as BatteryModel import PySAM.Singleowner as Singleowner from hybrid.dispatch.power_storage.power_storage_dispatch import PowerStorageDispatch class SimpleBatteryDispatch(PowerStorageDispatch): _system_model: BatteryM...
42.136364
114
0.67206
333
2,781
5.228228
0.297297
0.094773
0.103389
0.126364
0.244687
0.203906
0.124067
0.085009
0
0
0
0.010456
0.243438
2,781
65
115
42.784615
0.817015
0.064365
0
0
0
0
0.060829
0.008136
0
0
0
0.015385
0
1
0.125
false
0
0.104167
0
0.291667
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
3beb3476dfc85c6e6c5224fa86e04a7cdb1fdb04
1,917
py
Python
create_tables.py
derekrbracy/dend-project-1
1dfbc380f363f3433993ded67bf767869e22df08
[ "MIT" ]
null
null
null
create_tables.py
derekrbracy/dend-project-1
1dfbc380f363f3433993ded67bf767869e22df08
[ "MIT" ]
null
null
null
create_tables.py
derekrbracy/dend-project-1
1dfbc380f363f3433993ded67bf767869e22df08
[ "MIT" ]
null
null
null
""" This module connects to and creates the sparkifydb if it does not already exists. It also drops and creates tables in the sparkifydb as specified by the queries imported from 'sql_queries.py' """ from typing import Tuple from psycopg2.extensions import connection, cursor import psycopg2 from sql_queries import ...
23.666667
96
0.681794
246
1,917
5.195122
0.304878
0.043818
0.050078
0.037559
0.356025
0.338028
0.338028
0.338028
0.27543
0.27543
0
0.012829
0.227439
1,917
80
97
23.9625
0.850101
0.351069
0
0.30303
0
0
0.205882
0
0
0
0
0
0
1
0.121212
false
0.060606
0.121212
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3bf3169e8b5d21552644c136cd495b7e3d76213f
376
py
Python
setup.py
philipperemy/bitmex-liquidations
1569f7bf0fb7cf89f79d23261d7204fe350b25f1
[ "MIT" ]
30
2019-11-10T04:52:08.000Z
2022-01-27T22:41:46.000Z
setup.py
kccheung/bitmex-liquidations
1569f7bf0fb7cf89f79d23261d7204fe350b25f1
[ "MIT" ]
3
2020-01-17T23:53:15.000Z
2021-01-17T17:29:28.000Z
setup.py
kccheung/bitmex-liquidations
1569f7bf0fb7cf89f79d23261d7204fe350b25f1
[ "MIT" ]
8
2019-11-10T09:12:19.000Z
2022-02-02T14:42:14.000Z
from setuptools import setup setup( name='bitmex-liquidation', version='1.0.1', description='BitMEX Liquidation Python Wrapper', author='Philippe Remy', license='MIT', long_description_content_type='text/markdown', long_description=open('README.md').read(), packages=['bitmex_liquidation...
26.857143
52
0.702128
44
376
5.863636
0.75
0.197674
0
0
0
0
0
0
0
0
0
0.021875
0.148936
376
13
53
28.923077
0.784375
0
0
0
0
0
0.361702
0.06383
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
3bfe7522378256e99c2b8235e403592dd5b0b57b
11,630
py
Python
preprocess/prepare/kwic.py
kingsdigitallab/tvof-kiln
80348c3ecb9c9cf6951d0816f09a767bf313dc35
[ "Apache-2.0" ]
null
null
null
preprocess/prepare/kwic.py
kingsdigitallab/tvof-kiln
80348c3ecb9c9cf6951d0816f09a767bf313dc35
[ "Apache-2.0" ]
1
2021-06-23T20:55:00.000Z
2021-06-23T20:55:00.000Z
preprocess/prepare/kwic.py
kingsdigitallab/tvof-kiln
80348c3ecb9c9cf6951d0816f09a767bf313dc35
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import sys import os import re from xml_parser import XMLParser import xml.etree.ElementTree as ET from collections import OrderedDict # TODO # [DONE] only critical # [DONE] xml format # [DONE] grouped by keywords # [DONE] sorted by token # [DONE] ids # [DONE] ' missing from keywords # [DONE] w...
34.306785
126
0.513844
1,380
11,630
4.236957
0.236957
0.010262
0.009236
0.016419
0.139388
0.094749
0.060544
0.032153
0.032153
0.032153
0
0.008556
0.346776
11,630
338
127
34.408284
0.76109
0.200516
0
0.098522
0
0.004926
0.117482
0.022554
0
0
0
0.005917
0
0
null
null
0
0.029557
null
null
0.054187
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
ce09fba44546fa94fde13911dda362d9b2870524
394
py
Python
Python/Skrypty/Python - Szkolenie_11-2015/przyklady_rec_python/PythonExample/descriptors2.py
Elzei/show-off
fd6c46480160d795a7c1c833a798f3d49eddf144
[ "MIT" ]
null
null
null
Python/Skrypty/Python - Szkolenie_11-2015/przyklady_rec_python/PythonExample/descriptors2.py
Elzei/show-off
fd6c46480160d795a7c1c833a798f3d49eddf144
[ "MIT" ]
null
null
null
Python/Skrypty/Python - Szkolenie_11-2015/przyklady_rec_python/PythonExample/descriptors2.py
Elzei/show-off
fd6c46480160d795a7c1c833a798f3d49eddf144
[ "MIT" ]
null
null
null
class MyClass(object): @property def x(self): return self.__x @x.getter def x(self): print "Pobranie atrybutu x" return self.__x @x.setter def x(self, value): print "Ustawienie x na", value self.__x = value @x.deleter def x(self): print "U...
17.909091
38
0.543147
58
394
3.551724
0.37931
0.07767
0.15534
0.116505
0
0
0
0
0
0
0
0.011673
0.347716
394
21
39
18.761905
0.789883
0
0
0.25
0
0
0.114213
0
0
0
0
0
0
0
null
null
0
0
null
null
0.15
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
ce0f8ef68e35ec94af4686ac2de58575e86a13f1
813
py
Python
myapp/setup.py
clozinski/grok.install
d15f3aed6b422865c690c2787ad3811e73c7f1e9
[ "ZPL-2.1" ]
1
2016-03-24T20:03:19.000Z
2016-03-24T20:03:19.000Z
myapp/setup.py
clozinski/grok.install
d15f3aed6b422865c690c2787ad3811e73c7f1e9
[ "ZPL-2.1" ]
null
null
null
myapp/setup.py
clozinski/grok.install
d15f3aed6b422865c690c2787ad3811e73c7f1e9
[ "ZPL-2.1" ]
null
null
null
from setuptools import setup, find_packages setup( name='myapp', version='0.1', author='Grok Team', author_email='grok-dev@zope.org', url='https://github.com/clozinski/grok.install', description="""\ Simple Part of the Install package. """, packages=find_packages('.'), package_dir={'':...
27.1
80
0.589176
80
813
5.7875
0.7125
0.097192
0.095032
0
0
0
0
0
0
0
0
0.00339
0.274293
813
29
81
28.034483
0.781356
0
0
0
0
0
0.432964
0.134071
0
0
0
0
0
1
0
true
0
0.037037
0
0.037037
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
ce101bb212f26b09a8467f63c776be6efa0091df
409
py
Python
mrgeo-services/mrgeo-services-core/src/main/scripts/wps-shell-example.py
ngageoint/mrgeo
77a3c22f4094680dfd275fb35dc8108e51d7cc66
[ "Apache-2.0" ]
198
2015-01-05T14:05:54.000Z
2022-03-31T03:06:55.000Z
mrgeo-services/mrgeo-services-core/src/main/scripts/wps-shell-example.py
ngageoint/mrgeo
77a3c22f4094680dfd275fb35dc8108e51d7cc66
[ "Apache-2.0" ]
275
2015-01-14T17:31:16.000Z
2022-01-27T16:16:26.000Z
mrgeo-services/mrgeo-services-raster/src/main/scripts/wps-shell-example.py
ngageoint/mrgeo
77a3c22f4094680dfd275fb35dc8108e51d7cc66
[ "Apache-2.0" ]
83
2015-01-13T21:12:26.000Z
2022-02-10T08:23:38.000Z
#!/usr/bin/python import sys import time # read all the input values into a dictionary for easy access. args = {} for v in sys.argv[1:]: s = v.split("=") args[s[0]] = s[1] # put an artificial pause to simulate an expensive operation for i in range(1, 10): print "progress:" + str(i * 10) time.sleep(1)...
20.45
62
0.645477
68
409
3.882353
0.661765
0
0
0
0
0
0
0
0
0
0
0.027778
0.207824
409
19
63
21.526316
0.787037
0.388753
0
0
0
0
0.126016
0
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.272727
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
ce110e471a85e18ca51493bbb9be65183c6dccf4
406
py
Python
DjangoGraphs/migrations/0004_type_unit.py
vabene1111/DjangoGraphs
506bee43e41e20fa286ad4287b85d94ff34dc4cb
[ "MIT" ]
7
2019-07-08T17:28:20.000Z
2021-12-06T08:09:59.000Z
DjangoGraphs/migrations/0004_type_unit.py
vabene1111/DjangoGraphs
506bee43e41e20fa286ad4287b85d94ff34dc4cb
[ "MIT" ]
2
2019-07-17T07:55:18.000Z
2019-07-17T07:55:59.000Z
DjangoGraphs/migrations/0004_type_unit.py
vabene1111/DjangoGraphs
506bee43e41e20fa286ad4287b85d94ff34dc4cb
[ "MIT" ]
3
2020-06-25T22:54:03.000Z
2021-03-17T23:10:43.000Z
# Generated by Django 2.2.3 on 2019-07-04 07:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('DjangoGraphs', '0003_auto_20190704_0628'), ] operations = [ migrations.AddField( model_name='type', name='unit', ...
21.368421
71
0.593596
44
406
5.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0.109215
0.278325
406
18
72
22.555556
0.696246
0.110837
0
0
1
0
0.119777
0.064067
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce140f74268c1dd32c6a11c5b93d5f8d7f5659a1
967
py
Python
insert-delete-getrandom-o1.py
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
insert-delete-getrandom-o1.py
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
insert-delete-getrandom-o1.py
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
from typing import Dict, List, Set from random import choice class RandomizedSet: def __init__(self): self.vals: List[int] = [] self.indices: Dict[int, int] = {} def insert(self, val: int) -> bool: if val in self.indices.keys(): return False self.indices[val] = l...
23.585366
69
0.590486
130
967
4.338462
0.353846
0.141844
0.047872
0.049645
0.251773
0.166667
0
0
0
0
0
0.008658
0.283351
967
40
70
24.175
0.805195
0.171665
0
0.173913
0
0
0
0
0
0
0
0
0
1
0.173913
false
0
0.086957
0.043478
0.521739
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
ce15872945aeb1d4f4886e0c548976f7208a8f0d
1,831
py
Python
jinrui/__init__.py
haobin12358/jinrui-test
cce7c584e22546a7a1bcb654f82e7b8e78e52edd
[ "MIT" ]
null
null
null
jinrui/__init__.py
haobin12358/jinrui-test
cce7c584e22546a7a1bcb654f82e7b8e78e52edd
[ "MIT" ]
null
null
null
jinrui/__init__.py
haobin12358/jinrui-test
cce7c584e22546a7a1bcb654f82e7b8e78e52edd
[ "MIT" ]
1
2020-10-25T03:18:31.000Z
2020-10-25T03:18:31.000Z
# -*- coding: utf-8 -*- from flask import Flask from flask import Blueprint from flask_cors import CORS from .api.APdfUpload import APdfUpload from .api.AHello import AHello from .api.AOcr import AOcr from .api.APpt import APpt from .api.APaper import APaper from .api.AAnswer import AAnswer from .api.AFile import AFil...
35.211538
83
0.744948
266
1,831
4.906015
0.270677
0.037548
0.042912
0.064368
0.066667
0
0
0
0
0
0
0.000623
0.12343
1,831
51
84
35.901961
0.812461
0.011469
0
0
0
0
0.160951
0.097898
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.47619
0.071429
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
ce15e472537b345852ca573a41542b86fa06b740
13,775
py
Python
server/core/alpaca.py
webclinic017/trading-bot-1
c567b1d865a88aa025e589b8c403cc7749ab52ad
[ "MIT" ]
1
2021-08-29T03:34:30.000Z
2021-08-29T03:34:30.000Z
server/core/alpaca.py
webclinic017/trading-bot-1
c567b1d865a88aa025e589b8c403cc7749ab52ad
[ "MIT" ]
null
null
null
server/core/alpaca.py
webclinic017/trading-bot-1
c567b1d865a88aa025e589b8c403cc7749ab52ad
[ "MIT" ]
1
2021-08-16T22:33:24.000Z
2021-08-16T22:33:24.000Z
import logging import alpaca_trade_api as tradeapi logger = logging.getLogger(__name__) class TradeApiRest: """Base wrapper for TradeView REST requests.""" def __init__(self): try: # Env variables set to initalise connection: # * APCA_API_KEY_ID # * APCA_API_...
35.966057
87
0.605662
1,718
13,775
4.731083
0.228172
0.018947
0.033588
0.025591
0.268209
0.196358
0.122047
0.072343
0.06373
0.035925
0
0.004349
0.315644
13,775
382
88
36.060209
0.857749
0.59804
0
0.226087
0
0
0.013067
0
0
0
0
0
0
1
0.208696
false
0
0.017391
0.008696
0.443478
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
ce1a6f94ad995e54dd8e81e5d89eb8a77ed308a1
4,428
py
Python
tests/bugs/core_5750_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2022-02-05T11:37:13.000Z
2022-02-05T11:37:13.000Z
tests/bugs/core_5750_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-09-03T11:47:00.000Z
2021-09-03T12:42:10.000Z
tests/bugs/core_5750_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-06-30T14:14:16.000Z
2021-06-30T14:14:16.000Z
#coding:utf-8 # # id: bugs.core_5750 # title: Date-time parsing is very weak # decription: # Checked on: 4.0.0.1479: OK, 1.263s. # # 27.10.2020. # Parser changed after following fixes: # - CORE-6427 - Whitespa...
32.8
128
0.652213
642
4,428
4.426791
0.26947
0.054187
0.116115
0.125616
0.503871
0.490148
0.490148
0.463406
0.347291
0.286418
0
0.167603
0.235998
4,428
134
129
33.044776
0.67248
0.187444
0
0.232558
0
0.05814
0.825503
0.024049
0
0
0
0
0.023256
1
0.011628
false
0
0.023256
0
0.034884
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
ce2024889f38afa95fd5f0ae08e8458fd433cfb7
706
py
Python
AccGenBot/__init__.py
AL-Noman21/AccGenBot
e4b27e539ff42f76b87f8be9d3766795f52a8fbb
[ "MIT" ]
8
2021-04-24T03:27:07.000Z
2021-10-07T04:09:22.000Z
AccGenBot/__init__.py
AL-Noman21/AccGenBot
e4b27e539ff42f76b87f8be9d3766795f52a8fbb
[ "MIT" ]
null
null
null
AccGenBot/__init__.py
AL-Noman21/AccGenBot
e4b27e539ff42f76b87f8be9d3766795f52a8fbb
[ "MIT" ]
12
2021-04-24T05:16:56.000Z
2022-03-16T13:48:39.000Z
""" AccGenBot Copyright (C) 2021 TgxBotz This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. See < https://github.com/TgxBotz/Acc...
29.416667
81
0.75779
102
706
5.196078
0.676471
0.037736
0
0
0
0
0
0
0
0
0
0.008319
0.148725
706
23
82
30.695652
0.873544
0.512748
0
0
0
0
0.169643
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
ce22293f2e50619f8d595bbcb7ab5508ae51c561
968
py
Python
microbench/disjoint-choice/yacc/yacc_generator.py
yshinya6/Cello
92b683fc99c6d6d691213846251bd07c2ac19b1a
[ "Apache-2.0" ]
null
null
null
microbench/disjoint-choice/yacc/yacc_generator.py
yshinya6/Cello
92b683fc99c6d6d691213846251bd07c2ac19b1a
[ "Apache-2.0" ]
null
null
null
microbench/disjoint-choice/yacc/yacc_generator.py
yshinya6/Cello
92b683fc99c6d6d691213846251bd07c2ac19b1a
[ "Apache-2.0" ]
null
null
null
import sys import random alphabets = [] codes = (('a','z'),('A','Z'),('0','9')) # create alphabet list for r in codes: chars = map(chr, range(ord(r[0]),ord(r[1])+1)) alphabets.extend(chars) print alphabets header = open("header") hCode = header.read() header.close() footer = open("footer") fCode = footer.rea...
22.511628
64
0.554752
134
968
4.007463
0.358209
0.055866
0.055866
0
0
0
0
0
0
0
0
0.013459
0.232438
968
42
65
23.047619
0.709287
0.048554
0
0
0
0
0.076253
0
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.028571
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
ce243cbcac510e039b94415d3dc873785a3e2057
447
py
Python
communication/logging/Logger.py
vladimir2240/orders_searcher
dac5143ec882f84ba263b5dd5a5eca1891051f3e
[ "MIT" ]
null
null
null
communication/logging/Logger.py
vladimir2240/orders_searcher
dac5143ec882f84ba263b5dd5a5eca1891051f3e
[ "MIT" ]
null
null
null
communication/logging/Logger.py
vladimir2240/orders_searcher
dac5143ec882f84ba263b5dd5a5eca1891051f3e
[ "MIT" ]
null
null
null
import logging _log_format = f"%(asctime)s - [%(levelname)s] - %(name)s: %(message)s" def get_stream_handler(): stream_handler = logging.StreamHandler() stream_handler.setLevel(logging.INFO) stream_handler.setFormatter(logging.Formatter(_log_format)) return stream_handler def get_logger(name): l...
29.8
71
0.740492
55
447
5.781818
0.418182
0.245283
0.100629
0
0
0
0
0
0
0
0
0
0.14094
447
15
72
29.8
0.828125
0
0
0
0
0
0.120536
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.416667
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
ce24e13a3d8f0e6437f77cc8b0a04e9435548d87
2,318
py
Python
day04/2.py
lvrcek/advent-of-code-2020
2f0acd80d0d8053539327282da29aca08bd7dfcf
[ "MIT" ]
2
2020-12-06T09:34:58.000Z
2020-12-07T08:12:46.000Z
day04/2.py
lvrcek/advent-of-code-2020
2f0acd80d0d8053539327282da29aca08bd7dfcf
[ "MIT" ]
null
null
null
day04/2.py
lvrcek/advent-of-code-2020
2f0acd80d0d8053539327282da29aca08bd7dfcf
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Advent of Code 2020 Day 4, Part 2 """ class Passport: def __init__(self, byr=-1, iyr=-1, eyr=-1, hgt=-1, hfc=-1, ecl=-1, pid=-1, cid=-1): self.fields = { 'byr': byr, 'iyr': iyr, 'eyr': eyr, 'hgt': hgt, ...
24.924731
87
0.465919
293
2,318
3.617747
0.320819
0.103774
0.067925
0.084906
0
0
0
0
0
0
0
0.048353
0.384383
2,318
92
88
25.195652
0.694464
0.032787
0
0.180556
0
0
0.042544
0
0
0
0
0
0
1
0.055556
false
0.111111
0
0
0.25
0.013889
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
ce2b4181a2cd82aa162f4fc70294c2f4dac836bb
43,342
py
Python
qpid/tests/messaging/endpoints.py
martpat/qpid-python
900baa9bfab0f9b348c517fe1dac3cc6e8f26b29
[ "Apache-2.0" ]
17
2016-09-04T03:34:10.000Z
2021-11-09T22:29:30.000Z
qpid/tests/messaging/endpoints.py
martpat/qpid-python
900baa9bfab0f9b348c517fe1dac3cc6e8f26b29
[ "Apache-2.0" ]
1
2016-07-11T09:32:41.000Z
2016-07-11T09:32:41.000Z
qpid/tests/messaging/endpoints.py
martpat/qpid-python
900baa9bfab0f9b348c517fe1dac3cc6e8f26b29
[ "Apache-2.0" ]
19
2016-07-11T09:23:50.000Z
2021-11-09T22:29:20.000Z
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
29.344617
99
0.651147
5,505
43,342
5.081926
0.111535
0.03528
0.027881
0.014298
0.439091
0.350122
0.278739
0.226551
0.189448
0.148878
0
0.009617
0.217895
43,342
1,476
100
29.364499
0.815682
0.052789
0
0.411516
0
0.00254
0.147461
0.023384
0
0
0.000293
0
0.107536
0
null
null
0.015241
0.005927
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
ce2c0837b0b810206e2a0ef326258c5780180e20
4,345
py
Python
python/days/d06/__init__.py
tamaroth/advent-of-code-2018
83af50c7c128d268a8518ba88432dec6e15d149a
[ "MIT" ]
1
2018-12-02T10:08:05.000Z
2018-12-02T10:08:05.000Z
python/days/d06/__init__.py
tamaroth/advent-of-code-2018
83af50c7c128d268a8518ba88432dec6e15d149a
[ "MIT" ]
null
null
null
python/days/d06/__init__.py
tamaroth/advent-of-code-2018
83af50c7c128d268a8518ba88432dec6e15d149a
[ "MIT" ]
null
null
null
""" Day 6: Chronal Coordinates """ from days import Day from utils.file import read_lines_of_datafile def get_day_06(): return Day06( read_lines_of_datafile('day_06_data.txt') ) class Day06(Day): """A solution to Day 6: Chronal Coordinates.""" def __init__(self, data, max_distance=None...
28.585526
92
0.571461
613
4,345
3.791191
0.161501
0.033563
0.034423
0.042169
0.248709
0.157487
0.086059
0.077883
0.067986
0.032702
0
0.012312
0.327043
4,345
151
93
28.774834
0.78249
0.09275
0
0.201923
0
0
0.017612
0
0
0
0
0
0.009615
1
0.201923
false
0
0.019231
0.086538
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ce31f1422fbd847184a9f1d7189a682436261f1a
3,168
py
Python
src/resource/style.py
AaronWxy/TestCommon
259d605d555dde3736b3f7f445242a7bf8067bbc
[ "MIT" ]
null
null
null
src/resource/style.py
AaronWxy/TestCommon
259d605d555dde3736b3f7f445242a7bf8067bbc
[ "MIT" ]
null
null
null
src/resource/style.py
AaronWxy/TestCommon
259d605d555dde3736b3f7f445242a7bf8067bbc
[ "MIT" ]
null
null
null
css = """ body { font-family: Roboto, Helvetica, Arial, sans-serif; font-size:14px; color: #555555; background-color:#f5f5f5; margin-left: 5px; } .container{ padding-right:5px; padding-left:5px; ...
29.607477
63
0.443813
265
3,168
5.30566
0.279245
0.160028
0.102418
0.099573
0.409673
0.386202
0.386202
0.380512
0.380512
0.319346
0
0.06809
0.452967
3,168
107
64
29.607477
0.74322
0
0
0.439252
0
0
0.995898
0.07668
0
0
0
0
0
1
0
false
0.018692
0.009346
0
0.009346
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