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
15940cc897b51daebe5208b32b1e1cbc91bc8a78
940
py
Python
webutils/captcha/widgets.py
ernado-legacy/django-webutils
10c479c10023a227b6705febb85ad5dab59b36ab
[ "BSD-3-Clause" ]
null
null
null
webutils/captcha/widgets.py
ernado-legacy/django-webutils
10c479c10023a227b6705febb85ad5dab59b36ab
[ "BSD-3-Clause" ]
null
null
null
webutils/captcha/widgets.py
ernado-legacy/django-webutils
10c479c10023a227b6705febb85ad5dab59b36ab
[ "BSD-3-Clause" ]
null
null
null
# coding=utf-8 from django import forms from django.conf import settings from django.template.loader import render_to_string from api import * DEFAULT_WIDGET_TEMPLATE = 'captcha_widget.html' WIDGET_TEMPLATE = DEFAULT_WIDGET_TEMPLATE class YaCaptcha(forms.widgets.Widget): def __init__(self, key=None, *args, **kwa...
37.6
114
0.660638
112
940
5.267857
0.5
0.094915
0.047458
0
0
0
0
0
0
0
0
0.001404
0.242553
940
25
115
37.6
0.827247
0.102128
0
0
0
0
0.120238
0.057143
0
0
0
0
0
1
0.176471
false
0
0.235294
0.058824
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1594cf3d4ca148d9173a88362280c8b5f255daf0
240
py
Python
coreModule/enums.py
addu390/app-builder-backend
b7dc4577f97f8e3a31c916bf2b3cf85386bbb445
[ "MIT" ]
1
2020-09-17T11:27:06.000Z
2020-09-17T11:27:06.000Z
coreModule/enums.py
addu390/app-builder-backend
b7dc4577f97f8e3a31c916bf2b3cf85386bbb445
[ "MIT" ]
6
2020-07-17T09:47:29.000Z
2021-09-22T18:57:32.000Z
coreModule/enums.py
addu390/app-builder-backend
b7dc4577f97f8e3a31c916bf2b3cf85386bbb445
[ "MIT" ]
null
null
null
import enum class Component(enum.Enum): TEXT_INPUT_FIELD = 1 IMAGE_UPLOAD_BUTTON = 2 RADIO_BUTTON = 3 MULTI_SELECTION = 4 SUBMIT_BUTTON = 5 class TextInputFieldType(enum.Enum): MULTI_LINE = 1 SINGLE_LINE = 2
16
36
0.691667
33
240
4.757576
0.666667
0.101911
0
0
0
0
0
0
0
0
0
0.038674
0.245833
240
14
37
17.142857
0.828729
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
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
1595378471ae0713c721410d27cf32d64a13866e
425
py
Python
desafio_ibm/desafio_ibm/users/migrations/0003_auto_20210523_1447.py
jamilatta/desafio_ibm
f98a1a861525c5ea0d1770d5f3c204014c2f3b60
[ "BSD-3-Clause" ]
null
null
null
desafio_ibm/desafio_ibm/users/migrations/0003_auto_20210523_1447.py
jamilatta/desafio_ibm
f98a1a861525c5ea0d1770d5f3c204014c2f3b60
[ "BSD-3-Clause" ]
null
null
null
desafio_ibm/desafio_ibm/users/migrations/0003_auto_20210523_1447.py
jamilatta/desafio_ibm
f98a1a861525c5ea0d1770d5f3c204014c2f3b60
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.1.11 on 2021-05-23 17:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("users", "0002_auto_20210523_1411"), ] operations = [ migrations.AlterField( model_name="user", name="street_number"...
22.368421
85
0.616471
48
425
5.3125
0.854167
0
0
0
0
0
0
0
0
0
0
0.108974
0.265882
425
18
86
23.611111
0.708333
0.108235
0
0
1
0
0.135279
0.061008
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
159c393a361e22361947bce7f56d742c93df7bfa
563
py
Python
pages/urls.py
UlmBlois/website
01e652dd0c9c5b7026efe2a923ea3c4668d5a5b4
[ "MIT" ]
null
null
null
pages/urls.py
UlmBlois/website
01e652dd0c9c5b7026efe2a923ea3c4668d5a5b4
[ "MIT" ]
2
2019-06-03T06:17:29.000Z
2019-06-17T05:26:02.000Z
pages/urls.py
UlmBlois/website
01e652dd0c9c5b7026efe2a923ea3c4668d5a5b4
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('PilotInformations', views.PilotInformationsView.as_view(), name='pilot_informations'), path('About', views.AboutView.as_view(), name='about'), path('Contact', views.ContactView.as_view(), name='contact'), path('on_site', vi...
40.214286
71
0.690941
68
563
5.573529
0.397059
0.110818
0.184697
0
0
0
0
0
0
0
0
0
0.12611
563
13
72
43.307692
0.770325
0
0
0
0
0
0.204263
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
15a12b35b969d4c19e83de8204605afafeec3759
524
py
Python
zeppos_git/branch.py
changrunner/zeppos_git
b105bf23aaecd512d2358838cbcf8575d47071bb
[ "Apache-2.0" ]
null
null
null
zeppos_git/branch.py
changrunner/zeppos_git
b105bf23aaecd512d2358838cbcf8575d47071bb
[ "Apache-2.0" ]
null
null
null
zeppos_git/branch.py
changrunner/zeppos_git
b105bf23aaecd512d2358838cbcf8575d47071bb
[ "Apache-2.0" ]
null
null
null
import git from zeppos_root.root import Root from zeppos_logging.app_logger import AppLogger from cachetools import cached, TTLCache class Branch: @staticmethod @cached(cache=TTLCache(maxsize=1024, ttl=600)) def get_current(): g = git.cmd.Git(Root.find_root_of_project(__file__)) for line in...
32.75
81
0.650763
69
524
4.782609
0.608696
0.060606
0.060606
0.09697
0
0
0
0
0
0
0
0.022277
0.229008
524
15
82
34.933333
0.794554
0
0
0
0
0
0.078244
0
0
0
0
0
0
1
0.071429
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
15a52b8397239e6d05d1d06848fe3cd61ae789e8
994
py
Python
onfire/embedders.py
joshfp/onfire
9817c5e5624f783f4040d9a9748fbba1a1df6a3e
[ "MIT" ]
13
2020-09-09T14:48:01.000Z
2022-02-07T17:31:02.000Z
onfire/embedders.py
joshfp/on-fire
9817c5e5624f783f4040d9a9748fbba1a1df6a3e
[ "MIT" ]
2
2020-09-26T23:55:58.000Z
2021-08-03T19:24:02.000Z
onfire/embedders.py
joshfp/on-fire
9817c5e5624f783f4040d9a9748fbba1a1df6a3e
[ "MIT" ]
5
2020-09-26T22:34:01.000Z
2022-03-21T19:53:00.000Z
import torch import torch.nn as nn __all__ = [ 'ConcatEmbeddings', 'PassThrough', 'MeanOfEmbeddings', ] class ConcatEmbeddings(nn.Module): def __init__(self, fields): super().__init__() self.output_dim = sum([field.output_dim for field in fields.values()]) self.embedders = nn....
26.864865
93
0.623742
132
994
4.477273
0.363636
0.054146
0.055838
0.076142
0.138748
0
0
0
0
0
0
0.009126
0.22837
994
36
94
27.611111
0.761408
0
0
0.185185
0
0
0.04326
0
0
0
0
0
0
1
0.185185
false
0.074074
0.074074
0.037037
0.481481
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
15a8689c14b509dfddbcf9af305bf7af93942da0
1,178
py
Python
leecode/396.Rotate-FUnction.py
BizShuk/code_algo
1964a16ba382b360d85937b65b8acd51c1eb5418
[ "MIT" ]
null
null
null
leecode/396.Rotate-FUnction.py
BizShuk/code_algo
1964a16ba382b360d85937b65b8acd51c1eb5418
[ "MIT" ]
null
null
null
leecode/396.Rotate-FUnction.py
BizShuk/code_algo
1964a16ba382b360d85937b65b8acd51c1eb5418
[ "MIT" ]
null
null
null
class Solution(object): def maxRotateFunction(self, A): """ :type A: List[int] :rtype: int """ totalSum = sum(A) Al = len(A) F = {0:0} for i in range(Al): F[0] += i * A[i] maxNum = F[0] ...
22.653846
54
0.348048
136
1,178
3.007353
0.264706
0.06846
0.04401
0.080685
0.264059
0.264059
0.122249
0.122249
0
0
0
0.022222
0.541596
1,178
51
55
23.098039
0.735185
0.056027
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
15b1b5f300cd85cba438d840a1604878190aa72a
2,210
py
Python
collection/plugins/modules/installer_address.py
ventris/tateru
3de2792e62a560768a6b916a7241312ee03c3e7f
[ "Apache-2.0" ]
null
null
null
collection/plugins/modules/installer_address.py
ventris/tateru
3de2792e62a560768a6b916a7241312ee03c3e7f
[ "Apache-2.0" ]
null
null
null
collection/plugins/modules/installer_address.py
ventris/tateru
3de2792e62a560768a6b916a7241312ee03c3e7f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # TODO: describe # Copyright 2020 Tateru Authors # # 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 ...
23.763441
132
0.697738
292
2,210
5.191781
0.503425
0.039578
0.01715
0.021108
0
0
0
0
0
0
0
0.024812
0.215837
2,210
92
133
24.021739
0.849971
0.279186
0
0.15
0
0.016667
0.587825
0.079899
0
0
0
0.01087
0
1
0.033333
false
0
0.033333
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
15b32788cdcdc8b71d24a45ad29728a171074150
2,365
py
Python
get_cleveland_clinic_data.py
CLuiz/med-costs
e114a175b07e65e0ceef659e2315c627a28ef209
[ "MIT" ]
null
null
null
get_cleveland_clinic_data.py
CLuiz/med-costs
e114a175b07e65e0ceef659e2315c627a28ef209
[ "MIT" ]
null
null
null
get_cleveland_clinic_data.py
CLuiz/med-costs
e114a175b07e65e0ceef659e2315c627a28ef209
[ "MIT" ]
null
null
null
# Script to grab all hospital cost info from the Cleveland Clinic Family # of Hospitals, 15 total. import requests from subprocess import call from pathlib import Path from bs4 import BeautifulSoup from bs4.element import NavigableString import time def get_links(url="https://my.clevelandclinic.org/patients/billing...
28.493976
108
0.668499
338
2,365
4.579882
0.470414
0.046512
0.036176
0.021964
0.02584
0.02584
0.02584
0
0
0
0
0.0142
0.225793
2,365
82
109
28.841463
0.83124
0.40296
0
0.060606
0
0
0.157401
0.041877
0
0
0
0.02439
0
1
0.090909
false
0
0.181818
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
15ba841d56dff25103a4efb79315a665d018d9af
674
py
Python
tests/test_view.py
tsouvarev/drf-spectacular
61b2c9558587f50e4c371a71a7a9545b0fd36dea
[ "BSD-3-Clause" ]
null
null
null
tests/test_view.py
tsouvarev/drf-spectacular
61b2c9558587f50e4c371a71a7a9545b0fd36dea
[ "BSD-3-Clause" ]
null
null
null
tests/test_view.py
tsouvarev/drf-spectacular
61b2c9558587f50e4c371a71a7a9545b0fd36dea
[ "BSD-3-Clause" ]
null
null
null
import pytest import yaml from django.conf.urls import url from rest_framework.test import APIClient from drf_spectacular.validation import validate_schema from drf_spectacular.views import SpectacularAPIView urlpatterns = [url(r'^api/schema$', SpectacularAPIView.as_view(), name='schema')] @pytest.mark.urls(__name_...
33.7
81
0.781899
89
674
5.741573
0.573034
0.082192
0.07045
0
0
0
0
0
0
0
0
0.010017
0.111276
674
19
82
35.473684
0.843072
0
0
0
0
0
0.106825
0.040059
0
0
0
0
0.2
1
0.066667
false
0
0.4
0
0.466667
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
15baefbf6b2e6f3940cbb00510ea675863551bd5
332
py
Python
app/core/migrations/0008_auto_20200820_1408.py
dodge-ttu/gohan-api
bf3d4a4e7a93c699a00865c769975d6cfb3ec8cf
[ "MIT" ]
null
null
null
app/core/migrations/0008_auto_20200820_1408.py
dodge-ttu/gohan-api
bf3d4a4e7a93c699a00865c769975d6cfb3ec8cf
[ "MIT" ]
null
null
null
app/core/migrations/0008_auto_20200820_1408.py
dodge-ttu/gohan-api
bf3d4a4e7a93c699a00865c769975d6cfb3ec8cf
[ "MIT" ]
null
null
null
# Generated by Django 2.1.15 on 2020-08-20 14:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0007_auto_20200819_2253'), ] operations = [ migrations.RenameModel( old_name='Device', new_name='Devicetype', ...
18.444444
48
0.596386
36
332
5.361111
0.833333
0
0
0
0
0
0
0
0
0
0
0.13617
0.292169
332
17
49
19.529412
0.685106
0.138554
0
0
1
0
0.151408
0.080986
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
15c04352eed294c26487196833b63da08bd8b13c
401
py
Python
web scrapy/scrapy/coin/coin/items.py
douguedh/Project
3a3569939d96eb7b36301fd84688fc72caf17e9a
[ "MIT" ]
null
null
null
web scrapy/scrapy/coin/coin/items.py
douguedh/Project
3a3569939d96eb7b36301fd84688fc72caf17e9a
[ "MIT" ]
null
null
null
web scrapy/scrapy/coin/coin/items.py
douguedh/Project
3a3569939d96eb7b36301fd84688fc72caf17e9a
[ "MIT" ]
null
null
null
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class ProductItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() Position = scrapy.Field() Name = scrapy.Field() Sigla ...
22.277778
53
0.685786
52
401
5.288462
0.596154
0.24
0.109091
0
0
0
0
0
0
0
0
0
0.199501
401
17
54
23.588235
0.856698
0.458853
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
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
ec5e3de4955042fe8e7fca9bb04d2fa08cde7462
210
py
Python
config.py
mengt/vsphere-event
ae4e53c9db2d516571dbe254d560076f94a5c2b0
[ "Apache-2.0" ]
null
null
null
config.py
mengt/vsphere-event
ae4e53c9db2d516571dbe254d560076f94a5c2b0
[ "Apache-2.0" ]
null
null
null
config.py
mengt/vsphere-event
ae4e53c9db2d516571dbe254d560076f94a5c2b0
[ "Apache-2.0" ]
null
null
null
#coding=utf-8 # interval interval = 60 # 上报的 step 间隔 # vcenter host = "172.16.10.127" # vcenter 的地址 user = "administrator@vsphere.local" # vcenter 的用户名 pwd = "P@ssw0rd" # vcenter 的密码 port = 443 # vcenter 的端口
21
51
0.690476
32
210
4.53125
0.84375
0
0
0
0
0
0
0
0
0
0
0.098837
0.180952
210
9
52
23.333333
0.744186
0.433333
0
0
0
0
0.432432
0.243243
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ec5f0d584c9c4e1e93fc698b894d5b37ec315a47
1,050
py
Python
Twitter-Analysis/tweet_sentiment.py
ntduong/ML
ef69b0ad6205e4a5a3067470d1d2a60009479de6
[ "MIT" ]
3
2015-10-12T23:24:21.000Z
2018-11-19T13:09:30.000Z
Twitter-Analysis/tweet_sentiment.py
ntduong/ML
ef69b0ad6205e4a5a3067470d1d2a60009479de6
[ "MIT" ]
null
null
null
Twitter-Analysis/tweet_sentiment.py
ntduong/ML
ef69b0ad6205e4a5a3067470d1d2a60009479de6
[ "MIT" ]
null
null
null
''' Created on May 4, 2013 @author: Administrator ''' import json import sys def parseTweets(tweet_file='tweets.txt'): parsed_tweets = [] with open(tweet_file, 'r') as fin: for line in fin: tweet = json.loads(line) if 'text' in tweet: parsed_tweets.append(tweet)...
24.418605
62
0.586667
124
1,050
4.862903
0.451613
0.059701
0.019901
0.029851
0.059701
0.059701
0.059701
0
0
0
0
0.025676
0.295238
1,050
43
63
24.418605
0.789189
0
0
0.066667
0
0
0.043086
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.033333
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
ec65319b3104759877691f7b0da781c8a0b0f829
4,959
py
Python
CircuitPython_Flying_Toasters/code.py
joewalk102/Adafruit_Learning_System_Guides
2bda607f8c433c661a2d9d40b4db4fd132334c9a
[ "MIT" ]
1
2022-02-23T02:40:58.000Z
2022-02-23T02:40:58.000Z
CircuitPython_Flying_Toasters/code.py
joewalk102/Adafruit_Learning_System_Guides
2bda607f8c433c661a2d9d40b4db4fd132334c9a
[ "MIT" ]
1
2020-10-16T15:30:22.000Z
2020-10-16T15:30:22.000Z
CircuitPython_Flying_Toasters/code.py
joewalk102/Adafruit_Learning_System_Guides
2bda607f8c433c661a2d9d40b4db4fd132334c9a
[ "MIT" ]
1
2020-10-16T15:23:04.000Z
2020-10-16T15:23:04.000Z
""" Continuously scroll randomly generated After Dark style toasters. Designed for an ItsyBitsy M4 Express and a 1.3" 240x240 TFT Adafruit invests time and resources providing this open source code. Please support Adafruit and open source hardware by purchasing products from Adafruit! Written by Dave Astels for Adafr...
28.5
99
0.655172
689
4,959
4.554427
0.322206
0.020395
0.01912
0.015296
0.075844
0.075844
0.040153
0.040153
0.040153
0.040153
0
0.035367
0.253075
4,959
173
100
28.66474
0.811825
0.254688
0
0.12963
1
0
0.005249
0
0
0
0
0
0
1
0.111111
false
0.009259
0.055556
0.009259
0.240741
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
ec65ea1cd34c9dd5fba1303f6e7eb1449d013bfb
1,088
py
Python
music_collection/compilations/migrations/0003_ordered_releases.py
tiesjan/music-collection
9bc93d91b4b58a4c59fc1183302c479fc321f79b
[ "MIT" ]
null
null
null
music_collection/compilations/migrations/0003_ordered_releases.py
tiesjan/music-collection
9bc93d91b4b58a4c59fc1183302c479fc321f79b
[ "MIT" ]
null
null
null
music_collection/compilations/migrations/0003_ordered_releases.py
tiesjan/music-collection
9bc93d91b4b58a4c59fc1183302c479fc321f79b
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2020-06-05 18:34 from django.db import migrations, models def fill_release_order_index(apps, schema_editor): Release = apps.get_model("compilations", "Release") Series = apps.get_model("compilations", "Series") for series in Series.objects.order_by("pk"): releases...
28.631579
82
0.644301
117
1,088
5.811966
0.495727
0.088235
0.075
0.061765
0.179412
0.179412
0.179412
0.179412
0.179412
0
0
0.024242
0.241728
1,088
37
83
29.405405
0.8
0.042279
0
0.230769
1
0
0.125
0.021154
0
0
0
0
0
1
0.038462
false
0
0.038462
0
0.192308
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
ec73c233bcc589c0582125ff9b45c4ed262257ca
5,496
py
Python
pkg/cortex/serve/start/async.py
wja30/cortex_0.31
522ec6226526dee6b4f8c3ed67bdf2b913d25de3
[ "Apache-2.0" ]
1
2020-09-09T04:04:30.000Z
2020-09-09T04:04:30.000Z
pkg/cortex/serve/start/async.py
wja30/cortex_0.31
522ec6226526dee6b4f8c3ed67bdf2b913d25de3
[ "Apache-2.0" ]
null
null
null
pkg/cortex/serve/start/async.py
wja30/cortex_0.31
522ec6226526dee6b4f8c3ed67bdf2b913d25de3
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Cortex Labs, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
34.136646
97
0.717795
736
5,496
5.096467
0.264946
0.050387
0.02346
0.03919
0.228472
0.192215
0.131165
0.115702
0.115702
0.083711
0
0.006665
0.181041
5,496
160
98
34.35
0.826705
0.108079
0
0.211864
0
0
0.164858
0.020684
0
0
0
0
0
0
null
null
0
0.101695
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
ec7cbeb4dccdf1feeb6dc1edf60795c58c040c0b
26,631
py
Python
Tools/Builder/core/performer.py
hung0913208/Base
420b4ce8e08f9624b4e884039218ffd233b88335
[ "BSD-3-Clause" ]
null
null
null
Tools/Builder/core/performer.py
hung0913208/Base
420b4ce8e08f9624b4e884039218ffd233b88335
[ "BSD-3-Clause" ]
null
null
null
Tools/Builder/core/performer.py
hung0913208/Base
420b4ce8e08f9624b4e884039218ffd233b88335
[ "BSD-3-Clause" ]
2
2020-11-04T08:00:37.000Z
2020-11-06T08:33:33.000Z
from threading import Lock from time import sleep from .logger import Logger, DEBUG from .utils import update_variable_safety try: from queue import Queue, Empty except ImportError: from Queue import Queue, Empty import subprocess import sys import os class Performer(object): def __init__(self, manager, ...
43.372964
118
0.426308
2,308
26,631
4.764298
0.126083
0.032739
0.01637
0.012732
0.670517
0.63123
0.601219
0.57239
0.546744
0.530193
0
0.007102
0.492434
26,631
613
119
43.443719
0.806392
0.071458
0
0.704497
0
0
0.054813
0
0
0
0
0.001631
0.014989
1
0.049251
false
0.008565
0.021413
0.002141
0.109208
0.012848
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ec7f6dc73aa5ac7f73e4480041d4bc76f7aa0fd1
2,491
py
Python
anonlink-entity-service/e2etests/tests/test_project_run_results.py
Sam-Gresh/linkage-agent-tools
f405c7efe3fa82d99bc047f130c0fac6f3f5bf82
[ "Apache-2.0" ]
1
2020-05-19T07:29:31.000Z
2020-05-19T07:29:31.000Z
e2etests/tests/test_project_run_results.py
hardbyte/anonlink-entity-service
3c1815473bc8169ca571532c18e0913a45c704de
[ "Apache-2.0" ]
null
null
null
e2etests/tests/test_project_run_results.py
hardbyte/anonlink-entity-service
3c1815473bc8169ca571532c18e0913a45c704de
[ "Apache-2.0" ]
null
null
null
from e2etests.util import create_project_no_data, post_run, get_run_result def test_run_similarity_score_results(requests, similarity_scores_project, threshold): run_id = post_run(requests, similarity_scores_project, threshold) result = get_run_result(requests, similarity_scores_project, run_id, timeout=240) ...
42.220339
93
0.719791
358
2,491
4.72067
0.209497
0.029586
0.049704
0.071006
0.36213
0.252071
0.191716
0.078107
0
0
0
0.025628
0.185468
2,491
58
94
42.948276
0.807294
0.052991
0
0
0
0
0.06879
0
0
0
0
0
0.47619
1
0.095238
false
0
0.02381
0
0.119048
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
ec8670a4f48ccef9a9480fc2700666aa3754060a
1,106
py
Python
script/share_search.py
pettersoderlund/fondout
99b14eaa8c6eb56fd862ab9bdf6acc8d537d4a31
[ "BSD-3-Clause" ]
null
null
null
script/share_search.py
pettersoderlund/fondout
99b14eaa8c6eb56fd862ab9bdf6acc8d537d4a31
[ "BSD-3-Clause" ]
4
2016-10-18T18:30:08.000Z
2016-11-05T09:22:29.000Z
script/share_search.py
pettersoderlund/fondout
99b14eaa8c6eb56fd862ab9bdf6acc8d537d4a31
[ "BSD-3-Clause" ]
null
null
null
#-*- coding: utf-8 -*- import findsc import argparse import mysql.connector from random import randint if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("-f", "--fund", help="Fund to use.") parser.add_argument("-g", "--google", help="Google list", action='store_true') p...
29.891892
83
0.571429
123
1,106
4.96748
0.455285
0.04419
0.08347
0
0
0
0
0
0
0
0
0.001279
0.292948
1,106
36
84
30.722222
0.780051
0.018987
0
0
0
0
0.180812
0
0
0
0
0
0
0
null
null
0.034483
0.137931
null
null
0.034483
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
ec88756fc43b40d527faa0f7dfe3c8b98fb1061d
622
py
Python
tap_listrak/http.py
Radico/tap-listrak
ea4cc23f50fdcf8ea7720014ef2c0cf730dd9a21
[ "Apache-2.0" ]
null
null
null
tap_listrak/http.py
Radico/tap-listrak
ea4cc23f50fdcf8ea7720014ef2c0cf730dd9a21
[ "Apache-2.0" ]
null
null
null
tap_listrak/http.py
Radico/tap-listrak
ea4cc23f50fdcf8ea7720014ef2c0cf730dd9a21
[ "Apache-2.0" ]
null
null
null
import zeep from singer import metrics WSDL = "https://webservices.listrak.com/v31/IntegrationService.asmx?wsdl" def get_client(config): client = zeep.Client(wsdl=WSDL) elem = client.get_element("{http://webservices.listrak.com/v31/}WSUser") headers = elem(UserName=config["username"], Password=config["pa...
31.1
76
0.734727
81
622
5.469136
0.54321
0.081264
0.094808
0.108352
0
0
0
0
0
0
0
0.013133
0.143087
622
19
77
32.736842
0.818011
0
0
0
0
0
0.197749
0
0
0
0
0
0
1
0.142857
false
0.071429
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ec93d26b2ad852203e8731e70a0f43b5fefb14f0
1,035
py
Python
track/utils.py
hellohaptik/track-python
647acc2d49400d042eb7e68e557e05212b848331
[ "MIT" ]
1
2021-06-09T07:06:19.000Z
2021-06-09T07:06:19.000Z
track/utils.py
interakt/track-python
647acc2d49400d042eb7e68e557e05212b848331
[ "MIT" ]
null
null
null
track/utils.py
interakt/track-python
647acc2d49400d042eb7e68e557e05212b848331
[ "MIT" ]
1
2022-02-11T18:32:55.000Z
2022-02-11T18:32:55.000Z
import logging from phonenumbers.phonenumberutil import region_code_for_country_code logger = logging.getLogger('interakt') def require(name, field, data_type): """Require that the named `field` has the right `data_type`""" if not isinstance(field, data_type): msg = '{0} must have {1}, got: {2}'.form...
27.972973
80
0.687923
138
1,035
4.963768
0.42029
0.208759
0.105109
0.128467
0.213139
0.143066
0.143066
0.143066
0
0
0
0.004831
0.2
1,035
36
81
28.75
0.822464
0.094686
0
0.083333
0
0
0.117711
0
0
0
0
0
0.125
1
0.166667
false
0
0.083333
0
0.458333
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
ec9d7af9447adae432d2591c85c869e8a72c6c1c
9,312
py
Python
api/user_profile.py
Come-and-Unity/come-and-unity-backend
68147cc83ff60f6d3d28e48518d299b17ddd7849
[ "MIT" ]
null
null
null
api/user_profile.py
Come-and-Unity/come-and-unity-backend
68147cc83ff60f6d3d28e48518d299b17ddd7849
[ "MIT" ]
null
null
null
api/user_profile.py
Come-and-Unity/come-and-unity-backend
68147cc83ff60f6d3d28e48518d299b17ddd7849
[ "MIT" ]
null
null
null
"""User profile resource view""" from sqlalchemy.exc import IntegrityError from flask_jwt_extended import decode_token, create_access_token from sqlalchemy.orm import exc from flask import jsonify, request, session, make_response from flask_restful import Resource from flask_api import status from marshmallow import Va...
38.8
117
0.601804
1,003
9,312
5.326022
0.171486
0.054287
0.06739
0.047922
0.57675
0.512917
0.497379
0.473231
0.463684
0.444403
0
0.014973
0.325816
9,312
240
118
38.8
0.835935
0.04564
0
0.596154
0
0
0.081413
0.009651
0
0
0
0
0
1
0.033654
false
0.057692
0.072115
0
0.254808
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
ec9db84a247430480b4bf9576733c67dfd1a1621
373
py
Python
programa idade/ex002.py
VISAOTECH/exerc-cio-Python
3e45c62ab7bdd0c59d9c46626b4a7efdf63ec5c9
[ "MIT" ]
1
2021-08-15T15:29:56.000Z
2021-08-15T15:29:56.000Z
programa idade/ex002.py
VISAOTECH/exerc-cio-Python
3e45c62ab7bdd0c59d9c46626b4a7efdf63ec5c9
[ "MIT" ]
null
null
null
programa idade/ex002.py
VISAOTECH/exerc-cio-Python
3e45c62ab7bdd0c59d9c46626b4a7efdf63ec5c9
[ "MIT" ]
null
null
null
def idade_pessoa(id): idp = int(id) if idp <0: return 'idade inválida' elif idp <12: return 'você ainda é uma criança' elif idp <18: return 'você é adolecente' elif idp <65: return 'Você já é adulto' elif idp <100: return 'você está na melhor idade' ...
24.866667
45
0.573727
53
373
4.018868
0.528302
0.234742
0.103286
0
0
0
0
0
0
0
0
0.041152
0.348525
373
14
46
26.642857
0.835391
0
0
0
0
0
0.33244
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.5
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
eca3118b06e8af317d443fe1f363151145ad65a8
770
py
Python
src/__init__.py
UMCUGenetics/VUSualizer
7adf00a45f1586cbfc588df7cd5b3629c6700605
[ "MIT" ]
null
null
null
src/__init__.py
UMCUGenetics/VUSualizer
7adf00a45f1586cbfc588df7cd5b3629c6700605
[ "MIT" ]
5
2020-06-18T16:44:14.000Z
2022-03-30T07:02:08.000Z
src/__init__.py
UMCUGenetics/VUSualizer
7adf00a45f1586cbfc588df7cd5b3629c6700605
[ "MIT" ]
null
null
null
from flask import Flask from flask_pymongo import PyMongo from flask_admin import Admin #from flask_mongoengine import MongoEngine from flask_login import LoginManager # flask app = Flask(__name__) app.config.from_pyfile("config.py") # mongo db mongo = PyMongo(app) #db = MongoEngine() #db.init_app(app) # login manag...
24.0625
71
0.784416
112
770
5.1875
0.392857
0.123924
0.11704
0.051635
0.092943
0.092943
0
0
0
0
0
0.00149
0.128571
770
31
72
24.83871
0.864382
0.254545
0
0
0
0
0.141593
0
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
eca5d1f5d617d049e1729b1c1c9b71a87d2f065e
5,377
py
Python
template_flask/funcs.py
zacharybeebe/template_flask
0bae0a5211a12902bf4a60e2307c7f218a016843
[ "MIT" ]
null
null
null
template_flask/funcs.py
zacharybeebe/template_flask
0bae0a5211a12902bf4a60e2307c7f218a016843
[ "MIT" ]
null
null
null
template_flask/funcs.py
zacharybeebe/template_flask
0bae0a5211a12902bf4a60e2307c7f218a016843
[ "MIT" ]
null
null
null
import os import site import venv import subprocess import time from random import choice, randrange from .constants import * def generate_random_secret_key(): key = '' for i in range(32): alpha = choice([chr(randrange(65, 91)), chr(randrange(97, 123))]) num = chr(randrange(48, 58)) sy...
30.902299
109
0.670634
788
5,377
4.300761
0.189086
0.067276
0.106226
0.037179
0.250516
0.12039
0.015344
0
0
0
0
0.007854
0.194904
5,377
173
110
31.080925
0.775006
0
0
0.04878
1
0
0.122833
0.010065
0
0
0
0
0
1
0.04065
false
0
0.056911
0
0.105691
0.065041
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
eca87f291404257415a5f11121bf81a21f1f2398
878
py
Python
singleton.py
soaringfreely/blog
7a3492b67c5b12038d22f3d2bd51622b4a003383
[ "Apache-2.0" ]
1
2019-11-08T10:12:00.000Z
2019-11-08T10:12:00.000Z
singleton.py
soaringfreely/blog
7a3492b67c5b12038d22f3d2bd51622b4a003383
[ "Apache-2.0" ]
null
null
null
singleton.py
soaringfreely/blog
7a3492b67c5b12038d22f3d2bd51622b4a003383
[ "Apache-2.0" ]
null
null
null
__author__ = 'Administrator' # class Foo(object): # instance = None # # def __init__(self): # self.name = 'alex' # @classmethod # def get_instance(cls): # if Foo.instance: # return Foo.instance # else: # Foo.instance = Foo() # return Foo.insta...
19.086957
64
0.539863
100
878
4.51
0.27
0.195122
0.150776
0.086475
0.592018
0.554324
0.554324
0.554324
0.554324
0.217295
0
0.024793
0.310934
878
45
65
19.511111
0.720661
0.560364
0
0.181818
0
0
0.047354
0
0
0
0
0
0
1
0.181818
false
0
0
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
ecb9021ccce326064ad6cd90a5a7d0d09f378eb9
326
py
Python
v0.1/test103.py
strickyak/pythonine
7428f4a625c228ebcc582cad4f7f057f625a0561
[ "MIT" ]
null
null
null
v0.1/test103.py
strickyak/pythonine
7428f4a625c228ebcc582cad4f7f057f625a0561
[ "MIT" ]
null
null
null
v0.1/test103.py
strickyak/pythonine
7428f4a625c228ebcc582cad4f7f057f625a0561
[ "MIT" ]
null
null
null
def identity_(a): return a def add_(a, b): return a+b def sum_(vec): z = 0 for e in vec: z = add_(z, identity_(e)) return z def work(): try: return sum_([10, 20, 30]) except as ex: return 'BOGUS' return 'BOTTOM' class Foo: def bar(self, x): return x+work() assert Foo().bar(3) ...
18.111111
44
0.567485
57
326
3.140351
0.54386
0.078212
0
0
0
0
0
0
0
0
0
0.042735
0.282209
326
17
45
19.176471
0.722222
0
0
0
0
0
0.033742
0
0
0
0
0
0.071429
0
null
null
0
0
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
ecd354e5bdbc6d89706bdad91ef5146e42e32f1e
402
py
Python
src/core/migrations/0006_auto_20190615_2123.py
RedMoon32/GKH
ec9e7df805dc5be1ed18d6f015acb6cb90f11556
[ "MIT" ]
null
null
null
src/core/migrations/0006_auto_20190615_2123.py
RedMoon32/GKH
ec9e7df805dc5be1ed18d6f015acb6cb90f11556
[ "MIT" ]
1
2019-06-15T13:53:57.000Z
2019-06-15T13:53:57.000Z
src/core/migrations/0006_auto_20190615_2123.py
RedMoon32/GKH
ec9e7df805dc5be1ed18d6f015acb6cb90f11556
[ "MIT" ]
1
2019-06-15T13:44:33.000Z
2019-06-15T13:44:33.000Z
# Generated by Django 2.2.2 on 2019-06-15 21:23 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0005_auto_20190615_2113'), ] operations = [ migrations.RemoveField( model_name='organisation', name='files', ...
19.142857
47
0.569652
40
402
5.6
0.775
0.017857
0
0
0
0
0
0
0
0
0
0.113139
0.318408
402
20
48
20.1
0.70438
0.11194
0
0.142857
1
0
0.146479
0.064789
0
0
0
0
0
1
0
false
0
0.071429
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
ece5d870979308c2d6e6f7970797c43d2a532991
6,138
py
Python
eosfactory/core/vscode.py
tuan-tl/eosfactory
15e75de35b96b1ddf1d3e80b870593f600166007
[ "MIT" ]
255
2018-05-14T12:48:21.000Z
2022-01-09T11:38:50.000Z
eosfactory/core/vscode.py
tuan-tl/eosfactory
15e75de35b96b1ddf1d3e80b870593f600166007
[ "MIT" ]
126
2018-05-12T05:26:14.000Z
2021-03-08T08:59:57.000Z
eosfactory/core/vscode.py
tuan-tl/eosfactory
15e75de35b96b1ddf1d3e80b870593f600166007
[ "MIT" ]
71
2018-05-11T08:01:12.000Z
2021-12-12T18:26:23.000Z
''' .. module:: eosfactory.core.vscode :platform: Unix, Darwin :synopsis: Default configuration items of a contract project. .. moduleauthor:: Tokenika ''' import json import argparse import eosfactory.core.config as config INCLUDE_PATH = "includePath" LIBS = "libs" CODE_OPTIONS = "codeOptions" TEST_OPTIONS ...
26.456897
103
0.375529
396
6,138
5.712121
0.29798
0.012378
0.034483
0.047745
0.526525
0.425729
0.376216
0.34748
0.295314
0.295314
0
0.009169
0.484686
6,138
232
104
26.456897
0.705975
0.025415
0
0.415094
0
0.014151
0.817741
0.030795
0
0
0
0
0
1
0.014151
false
0
0.014151
0
0.037736
0.004717
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
ece8988a01fa61a4a0efa0c8aff3aab9ff0d6a69
399
py
Python
code/tmp_rtrip/test/subprocessdata/sigchild_ignore.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
24
2018-01-23T05:28:40.000Z
2021-04-13T20:52:59.000Z
code/tmp_rtrip/test/subprocessdata/sigchild_ignore.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
17
2017-12-21T18:32:31.000Z
2018-12-18T17:09:50.000Z
code/tmp_rtrip/test/subprocessdata/sigchild_ignore.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
null
null
null
import signal, subprocess, sys, time signal.signal(signal.SIGCHLD, signal.SIG_IGN) subprocess.Popen([sys.executable, '-c', 'print("albatross")']).wait() p = subprocess.Popen([sys.executable, '-c', 'print("albatross")']) num_polls = 0 while p.poll() is None: time.sleep(0.01) num_polls += 1 if num_polls > 300...
36.272727
75
0.691729
57
399
4.77193
0.614035
0.088235
0.132353
0.205882
0.316176
0.316176
0.316176
0
0
0
0
0.035294
0.14787
399
10
76
39.9
0.764706
0
0
0
0
0
0.213033
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eceb4d10ae5c8c9587b4d8463e6dcb843d1104ac
6,018
py
Python
tests/integration/test_ssl_cert_authentication/test.py
anishbhanwala/ClickHouse
7d01516202152c8d60d4fed6b72dad67357d337f
[ "Apache-2.0" ]
1
2022-03-12T08:14:25.000Z
2022-03-12T08:14:25.000Z
tests/integration/test_ssl_cert_authentication/test.py
anishbhanwala/ClickHouse
7d01516202152c8d60d4fed6b72dad67357d337f
[ "Apache-2.0" ]
null
null
null
tests/integration/test_ssl_cert_authentication/test.py
anishbhanwala/ClickHouse
7d01516202152c8d60d4fed6b72dad67357d337f
[ "Apache-2.0" ]
null
null
null
import pytest from helpers.cluster import ClickHouseCluster import urllib.request, urllib.parse import ssl import os.path HTTPS_PORT = 8443 NODE_IP = '10.5.172.77' # It's important for the node to work at this IP because 'server-cert.pem' requires that (see server-ext.cnf). NODE_IP_WITH_HTTPS_PORT = NODE_IP + ':' + st...
51
163
0.712529
824
6,018
5.007282
0.216019
0.044595
0.086524
0.111488
0.595492
0.555502
0.510906
0.499758
0.464615
0.438439
0
0.011907
0.148721
6,018
117
164
51.435897
0.79348
0.10236
0
0.158537
0
0.012195
0.314355
0.048961
0
0
0
0
0.268293
1
0.085366
false
0.097561
0.060976
0
0.170732
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
01a1a6efd79bdf6f4de80c871eda5432de5ae15e
9,963
py
Python
Layout.py
eym55/mango-client-python
2cb1ce77d785343c24ecba913eaa9693c3db1181
[ "MIT" ]
null
null
null
Layout.py
eym55/mango-client-python
2cb1ce77d785343c24ecba913eaa9693c3db1181
[ "MIT" ]
null
null
null
Layout.py
eym55/mango-client-python
2cb1ce77d785343c24ecba913eaa9693c3db1181
[ "MIT" ]
null
null
null
import construct import datetime from decimal import Decimal from solana.publickey import PublicKey from Constants import NUM_MARKETS, NUM_TOKENS class DecimalAdapter(construct.Adapter): def __init__(self, size: int = 8): construct.Adapter.__init__(self, construct.BytesInteger(size, swapped=True)) d...
35.329787
1,008
0.720466
981
9,963
7.130479
0.239551
0.05361
0.056612
0.079771
0.467906
0.348392
0.259328
0.203431
0.157255
0.118942
0
0.028958
0.161196
9,963
282
1,009
35.329787
0.808065
0.049282
0
0.168142
0
0.004425
0.210293
0.104829
0
0
0.005495
0
0
1
0.053097
false
0
0.030973
0.035398
0.137168
0.00885
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
01a1ac5ac3bd47e52a44470e7355edf48df94258
2,741
py
Python
tests/test_status.py
ekeyme/bio-pm
31fe50cd4d90a05cb709c1c75a663b03d0cde6fe
[ "MIT" ]
null
null
null
tests/test_status.py
ekeyme/bio-pm
31fe50cd4d90a05cb709c1c75a663b03d0cde6fe
[ "MIT" ]
null
null
null
tests/test_status.py
ekeyme/bio-pm
31fe50cd4d90a05cb709c1c75a663b03d0cde6fe
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Unit test for status""" import sys import unittest from os.path import dirname, realpath from pm.status import Y, Conserved, PM, NA class RoutineTest(unittest.TestCase): """Routine test.""" def test_pm_status_gt_order(self): """Status should have a r...
33.024096
105
0.588471
378
2,741
4.092593
0.246032
0.04137
0.042017
0.090498
0.45766
0.45766
0.414997
0.409825
0.409825
0.296057
0
0.015189
0.255381
2,741
82
106
33.426829
0.742773
0.225465
0
0.136364
0
0
0.022749
0
0
0
0
0
0.227273
1
0.204545
false
0
0.090909
0
0.340909
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
01a55fb85dfc60b3924c1660ae239c9fc00d92de
483
py
Python
microimprocessing/migrations/0006_auto_20200530_2236.py
mjirik/scaffanweb
63abebdcb544d1e8649d05a50ce35493ad707b52
[ "MIT" ]
null
null
null
microimprocessing/migrations/0006_auto_20200530_2236.py
mjirik/scaffanweb
63abebdcb544d1e8649d05a50ce35493ad707b52
[ "MIT" ]
null
null
null
microimprocessing/migrations/0006_auto_20200530_2236.py
mjirik/scaffanweb
63abebdcb544d1e8649d05a50ce35493ad707b52
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-05-30 20:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('microimprocessing', '0005_auto_20200530_2231'), ] operations = [ migrations.AlterField( model_name='serverdatafilename', ...
25.421053
122
0.637681
53
483
5.698113
0.773585
0.05298
0.07947
0
0
0
0
0
0
0
0
0.084469
0.240166
483
18
123
26.833333
0.73842
0.093168
0
0
1
0
0.247706
0.103211
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
01bd4e0d574c0b384a13f40bede838f15bc2d4ad
21,459
py
Python
dfelf/cvsfileelf.py
KrixTam/dfelf
022c34a848fede9ac94094ff0ce928fc1dacfaf4
[ "MIT" ]
null
null
null
dfelf/cvsfileelf.py
KrixTam/dfelf
022c34a848fede9ac94094ff0ce928fc1dacfaf4
[ "MIT" ]
null
null
null
dfelf/cvsfileelf.py
KrixTam/dfelf
022c34a848fede9ac94094ff0ce928fc1dacfaf4
[ "MIT" ]
null
null
null
import pandas as pd from moment import moment from ni.config import Config from dfelf import DataFileElf from dfelf.commons import logger class CSVFileElf(DataFileElf): def __init__(self, output_dir=None, output_flag=True): super().__init__(output_dir, output_flag) def init_config(self): sel...
43.090361
96
0.350622
1,676
21,459
4.24642
0.090692
0.070254
0.034846
0.035127
0.635802
0.590417
0.530139
0.484052
0.461009
0.43909
0
0.002304
0.534834
21,459
497
97
43.177062
0.710679
0
0
0.565489
0
0
0.09828
0.001025
0
0
0
0
0
1
0.029106
false
0.006237
0.010395
0
0.068607
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
01c3793e466ddd6736d52ae28d3d0bd9543a54de
305
py
Python
db_api/extensions.py
chengjf/db-api
bf0afee82e49f2a62ec40b7cc467af61cdf547f3
[ "MIT" ]
null
null
null
db_api/extensions.py
chengjf/db-api
bf0afee82e49f2a62ec40b7cc467af61cdf547f3
[ "MIT" ]
null
null
null
db_api/extensions.py
chengjf/db-api
bf0afee82e49f2a62ec40b7cc467af61cdf547f3
[ "MIT" ]
null
null
null
# from flask_login import LoginManager from flask_restless import APIManager from flask_sqlalchemy import SQLAlchemy from flask import logging __author__ = 'sharp' db = SQLAlchemy() restless = APIManager(app=None, flask_sqlalchemy_db=db) logger = logging.getLogger() # login_manager = LoginManager()
20.333333
55
0.803279
37
305
6.351351
0.459459
0.153191
0
0
0
0
0
0
0
0
0
0
0.127869
305
14
56
21.785714
0.883459
0.219672
0
0
0
0
0.021277
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
01c70470c2bde0a72b51d1aa9c3ee7cf24b64fc9
571
py
Python
app/__init__.py
oOo0oOo/FoodWorld
b11e8806d0f56a842d664c7973b24c82b833f03b
[ "MIT" ]
null
null
null
app/__init__.py
oOo0oOo/FoodWorld
b11e8806d0f56a842d664c7973b24c82b833f03b
[ "MIT" ]
null
null
null
app/__init__.py
oOo0oOo/FoodWorld
b11e8806d0f56a842d664c7973b24c82b833f03b
[ "MIT" ]
null
null
null
from flask import Flask, Blueprint from flask_ask import Ask from flask_sqlalchemy import SQLAlchemy from config import config # Extensions db = SQLAlchemy() alexa = Ask(route = '/') # Main blueprint main = Blueprint('main', __name__) from . import models, views def create_app(config_name = 'development'): app...
21.148148
47
0.739054
78
571
5.141026
0.307692
0.129676
0.074813
0
0
0
0
0
0
0
0
0
0.171629
571
27
48
21.148148
0.84778
0.043783
0
0
0
0
0.029412
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.470588
0.235294
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
01c88a1ea5873edfa3742e531149a6ed99bc450a
8,598
py
Python
StravaAPI/swagger_client/models/vpn_configuration.py
jonberthet/EuroTrip_2018
e9b057c6264df76d2b34ad711ff1f6343be5ca5e
[ "MIT" ]
null
null
null
StravaAPI/swagger_client/models/vpn_configuration.py
jonberthet/EuroTrip_2018
e9b057c6264df76d2b34ad711ff1f6343be5ca5e
[ "MIT" ]
null
null
null
StravaAPI/swagger_client/models/vpn_configuration.py
jonberthet/EuroTrip_2018
e9b057c6264df76d2b34ad711ff1f6343be5ca5e
[ "MIT" ]
null
null
null
# coding: utf-8 """ Platform API The REST API for Platform.sh. Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class VpnConfiguration(object): """ NOTE: This class is auto generated by the swagger co...
26.374233
158
0.558851
904
8,598
5.199115
0.129425
0.045957
0.168511
0.053617
0.464681
0.256383
0.158298
0.029787
0.014468
0
0
0.000716
0.350547
8,598
325
159
26.455385
0.840974
0.310188
0
0.210145
1
0
0.140064
0
0
0
0
0
0
1
0.173913
false
0
0.021739
0
0.311594
0.007246
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
01da48feabb6cd1c261c77ff4df3b7d0cfe57e45
2,570
py
Python
venv/Lib/site-packages/keystoneauth1/extras/_saml2/_loading.py
prasoon-uta/IBM-coud-storage
82a6876316715efbd0b492d0d467dde0ab26a56b
[ "Apache-2.0" ]
48
2015-05-02T16:19:10.000Z
2021-12-17T19:01:17.000Z
venv/Lib/site-packages/keystoneauth1/extras/_saml2/_loading.py
prasoon-uta/IBM-coud-storage
82a6876316715efbd0b492d0d467dde0ab26a56b
[ "Apache-2.0" ]
1
2019-12-04T13:48:10.000Z
2019-12-04T13:48:10.000Z
venv/Lib/site-packages/keystoneauth1/extras/_saml2/_loading.py
prasoon-uta/IBM-coud-storage
82a6876316715efbd0b492d0d467dde0ab26a56b
[ "Apache-2.0" ]
46
2015-05-23T14:04:35.000Z
2022-02-17T12:33:50.000Z
# 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, software # distributed under t...
33.376623
75
0.587549
264
2,570
5.655303
0.393939
0.053583
0.053583
0.021433
0.506363
0.506363
0.463496
0.314802
0.314802
0.229069
0
0.011594
0.328794
2,570
76
76
33.815789
0.853913
0.203113
0
0.62
0
0
0.182711
0.045678
0
0
0
0
0
1
0.12
false
0.2
0.04
0.08
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
01e5a8795251a0eb60eabe91f9224d3e79a6d265
542
py
Python
Competitive_Coding/Ways_to_Climbing_Up_Stairs.py
Arko98/Alogirthms
ce56faaaf847dbf077de935a98814c37275f8a5f
[ "MIT" ]
5
2020-08-02T16:31:09.000Z
2022-02-21T22:58:59.000Z
Competitive_Coding/Ways_to_Climbing_Up_Stairs.py
Arko98/Alogirthms
ce56faaaf847dbf077de935a98814c37275f8a5f
[ "MIT" ]
null
null
null
Competitive_Coding/Ways_to_Climbing_Up_Stairs.py
Arko98/Alogirthms
ce56faaaf847dbf077de935a98814c37275f8a5f
[ "MIT" ]
3
2020-09-27T11:23:58.000Z
2020-10-01T05:47:39.000Z
# Problem Statement: https://leetcode.com/problems/climbing-stairs/ class Solution: def climbStairs(self, n: int) -> int: # Base Cases if n==1: return 1 if n==2: return 2 # Memoization memo_table = [1]*(n+1) # Initializati...
28.526316
68
0.51476
68
542
4
0.455882
0.231618
0.110294
0.080882
0
0
0
0
0
0
0
0.041543
0.378229
542
19
69
28.526316
0.765579
0.247232
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
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
01e84e2e09174fa101f24b03bfca3b0cb2f23013
204
py
Python
orders/constants.py
pmaigutyak/mp-shop-orders
1ef2e9ad4763a5b36f011ebb7823f8acc52d814a
[ "0BSD" ]
null
null
null
orders/constants.py
pmaigutyak/mp-shop-orders
1ef2e9ad4763a5b36f011ebb7823f8acc52d814a
[ "0BSD" ]
null
null
null
orders/constants.py
pmaigutyak/mp-shop-orders
1ef2e9ad4763a5b36f011ebb7823f8acc52d814a
[ "0BSD" ]
null
null
null
from django.utils.translation import ugettext_lazy as _ DAYS_OF_WEEK = [ _('Monday'), _('Tuesday'), _('Wednesday'), _('Thursday'), _('Friday'), _('Saturday'), _('Sunday') ]
14.571429
55
0.573529
18
204
5.888889
1
0
0
0
0
0
0
0
0
0
0
0
0.235294
204
13
56
15.692308
0.679487
0
0
0
0
0
0.246305
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
01e87ba7228389deb68a6a39ded327ce55306fe4
1,650
py
Python
test-scheduler/server/src/step/step_manager.py
opnfv/bottlenecks
b6c7bba0c071b42172283e4d97a3641f6464857a
[ "Apache-2.0" ]
1
2019-04-20T08:42:49.000Z
2019-04-20T08:42:49.000Z
test-scheduler/server/src/step/step_manager.py
opnfv/bottlenecks
b6c7bba0c071b42172283e4d97a3641f6464857a
[ "Apache-2.0" ]
2
2020-04-30T00:07:15.000Z
2021-06-02T00:33:47.000Z
test-scheduler/server/src/step/step_manager.py
opnfv/bottlenecks
b6c7bba0c071b42172283e4d97a3641f6464857a
[ "Apache-2.0" ]
3
2016-12-09T10:20:55.000Z
2019-04-22T12:45:00.000Z
############################################################################## # Copyright (c) 2018 HUAWEI TECHNOLOGIES CO.,LTD and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, ...
39.285714
79
0.593939
182
1,650
5.126374
0.521978
0.038585
0.030011
0.04716
0.049303
0
0
0
0
0
0
0.008327
0.199394
1,650
41
80
40.243902
0.697956
0.177576
0
0
0
0
0.097152
0
0
0
0
0
0
0
null
null
0
0.16
null
null
0.08
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
01f03e4c4b71da6314c6ff96bd1460f3d2444275
1,252
py
Python
main/Scraper.py
tanishkaa31/Air-Quality-Index-Prediction
59b53e239765dd1b7ab2b3dbf91e289b190306c9
[ "MIT" ]
1
2022-02-08T05:16:30.000Z
2022-02-08T05:16:30.000Z
main/Scraper.py
tanishkaa31/Air-Quality-Index-Prediction
59b53e239765dd1b7ab2b3dbf91e289b190306c9
[ "MIT" ]
null
null
null
main/Scraper.py
tanishkaa31/Air-Quality-Index-Prediction
59b53e239765dd1b7ab2b3dbf91e289b190306c9
[ "MIT" ]
1
2021-06-17T19:58:36.000Z
2021-06-17T19:58:36.000Z
import requests from datetime import datetime import pandas as pd from .models import Data,Data_Predicted data = Data() data1 = Data_Predicted() def scrap(): url = "https://api.ambeedata.com/latest/by-city" querystring = {"city":"Delhi"} headers = { 'x-api-key': "mqoZ9hQjIi3ZqydD8W3lU7fGnXJ5ndJ...
25.04
80
0.594249
161
1,252
4.602484
0.31677
0.17004
0.188934
0.060729
0.322537
0
0
0
0
0
0
0.039883
0.178914
1,252
50
81
25.04
0.680934
0.005591
0
0
0
0
0.276527
0.032154
0
0
0
0
0
1
0.028571
false
0
0.114286
0
0.142857
0.342857
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
01f83e180784b64e9f21dd4c6bd0f8d69d6fa2eb
4,428
py
Python
cyberdynedyndnscli/__init__.py
droberin/cyberdyne-dyndns
7d495390413cff2829f6b00a482f7b9dff3dcb5a
[ "MIT" ]
null
null
null
cyberdynedyndnscli/__init__.py
droberin/cyberdyne-dyndns
7d495390413cff2829f6b00a482f7b9dff3dcb5a
[ "MIT" ]
null
null
null
cyberdynedyndnscli/__init__.py
droberin/cyberdyne-dyndns
7d495390413cff2829f6b00a482f7b9dff3dcb5a
[ "MIT" ]
null
null
null
import time import datetime import requests class CyberdyneDynDns(): debug = False hostname = None username = None password = None last_known_external_ip_address = None # server_address = "https://cyberdyne.es/dyndns/update" server_address = "http://api.cyberdyne.es/update/dyndns" get_...
38.504348
102
0.586269
485
4,428
5.14433
0.241237
0.056112
0.026052
0.03006
0.104208
0.086172
0.023246
0
0
0
0
0.005554
0.308717
4,428
114
103
38.842105
0.809539
0.054652
0
0.103093
0
0
0.117464
0.007416
0
0
0
0
0
1
0.061856
false
0.051546
0.030928
0
0.298969
0.082474
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
01f868d8afa278063eab09662b9fbbb9b6844c41
1,809
py
Python
caffe2/python/operator_test/jsd_ops_test.py
chocjy/caffe2
1a6cef392495d969d135945d6749e6b99b37d4d9
[ "Apache-2.0" ]
585
2015-08-10T02:48:52.000Z
2021-12-01T08:46:59.000Z
caffe2/python/operator_test/jsd_ops_test.py
PDFxy/caffe2
28523ff1ff33f18eaf8b04cc4e0f308826e1861a
[ "Apache-2.0" ]
23
2015-08-30T11:54:51.000Z
2017-03-06T03:01:07.000Z
caffe2/python/operator_test/jsd_ops_test.py
PDFxy/caffe2
28523ff1ff33f18eaf8b04cc4e0f308826e1861a
[ "Apache-2.0" ]
183
2015-08-10T02:49:04.000Z
2021-12-01T08:47:13.000Z
# Copyright (c) 2016-present, Facebook, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
32.303571
78
0.634605
260
1,809
4.288462
0.496154
0.012556
0.057399
0.0287
0.050224
0.050224
0.050224
0
0
0
0
0.019691
0.21393
1,809
55
79
32.890909
0.764416
0.311774
0
0
0
0
0.013877
0
0
0
0
0
0.03125
1
0.125
false
0
0.28125
0.03125
0.53125
0.03125
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
bf038f8d7db75219ea84e942b6e4d240c040293e
3,961
py
Python
loader/loader.py
jsoldani/ship-to
92ff47d4c44278778e9e75892ba90eb8e34f0181
[ "Apache-2.0" ]
null
null
null
loader/loader.py
jsoldani/ship-to
92ff47d4c44278778e9e75892ba90eb8e34f0181
[ "Apache-2.0" ]
null
null
null
loader/loader.py
jsoldani/ship-to
92ff47d4c44278778e9e75892ba90eb8e34f0181
[ "Apache-2.0" ]
null
null
null
import json import os import sys import yaml def parseYaml(file): yFile = open(file) yml = yaml.load(yFile, Loader=yaml.FullLoader) yFile.close() return yml def generateCosts(tosca, deploymentInfo): # creating empty costs dictionary costs = {} # adding cost for bottom costs["bottom"] ...
30.469231
81
0.644787
386
3,961
6.590674
0.300518
0.049528
0.024764
0.020047
0.101415
0.101415
0.101415
0.101415
0.101415
0.101415
0
0.002615
0.22772
3,961
129
82
30.705426
0.829029
0.11487
0
0.11236
1
0
0.150387
0.030937
0
0
0
0
0
1
0.067416
false
0
0.044944
0
0.157303
0.011236
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
bf03e22d9baa755c16b1895a04300e427382905a
6,002
py
Python
test/test_parser.py
1621740748/stock-pandas
fe8b741e19311235efe901c63c1a8ee81d112680
[ "MIT" ]
1
2020-04-03T09:30:10.000Z
2020-04-03T09:30:10.000Z
test/test_parser.py
1621740748/stock-pandas
fe8b741e19311235efe901c63c1a8ee81d112680
[ "MIT" ]
null
null
null
test/test_parser.py
1621740748/stock-pandas
fe8b741e19311235efe901c63c1a8ee81d112680
[ "MIT" ]
null
null
null
import pytest from stock_pandas.directive import Parser from stock_pandas.common import ( TYPE_DIRECTIVE, TYPE_COMMAND, TYPE_OPERATOR, TYPE_ARGUMENT, TYPE_SCALAR ) from stock_pandas.exceptions import DirectiveSyntaxError def convert(result): if result is None: return if isinstanc...
27.787037
66
0.22026
264
6,002
4.852273
0.284091
0.084309
0.079625
0.112412
0.202186
0.180328
0.120219
0.065574
0
0
0
0.016101
0.710263
6,002
215
67
27.916279
0.720529
0
0
0.285714
0
0
0.082972
0.003999
0
0
0
0
0.005102
1
0.02551
false
0
0.020408
0.005102
0.066327
0.010204
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bf0f9c054a12b0b6dbe3d0df5978701f903438a0
4,157
py
Python
UGRID/ESTOFS_water_levels.py
petercunning/notebook
5b26f2dc96bcb36434542b397de6ca5fa3b61a0a
[ "MIT" ]
32
2015-01-07T01:48:05.000Z
2022-03-02T07:07:42.000Z
UGRID/ESTOFS_water_levels.py
petercunning/notebook
5b26f2dc96bcb36434542b397de6ca5fa3b61a0a
[ "MIT" ]
1
2015-04-13T21:00:18.000Z
2015-04-13T21:00:18.000Z
UGRID/ESTOFS_water_levels.py
petercunning/notebook
5b26f2dc96bcb36434542b397de6ca5fa3b61a0a
[ "MIT" ]
30
2015-01-28T09:31:29.000Z
2022-03-07T03:08:28.000Z
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <markdowncell> # #Extract ESTOFS water levels using NetCDF4-Python and analyze/visualize with Pandas # <codecell> # Plot forecast water levels from NECOFS model from list of lon,lat locations # (uses the nearest point, no interpolation) %matplotlib inline import ...
24.597633
115
0.690883
637
4,157
4.486656
0.420722
0.013996
0.016795
0.010497
0.069979
0.069979
0.069979
0.046186
0.046186
0.046186
0
0.064161
0.148905
4,157
168
116
24.744048
0.74364
0.373587
0
0.030303
0
0.015152
0.305185
0
0
0
0
0
0
0
null
null
0
0.106061
null
null
0.015152
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
bf1097af9af67892577cd0e6f68b0676b6d2f18d
1,406
py
Python
foodgram/migrations/0008_auto_20210303_2022.py
valkhmyrov/foodgram-project
d250ccb998d1141e8b01dc34f6af4dc500a44108
[ "MIT" ]
null
null
null
foodgram/migrations/0008_auto_20210303_2022.py
valkhmyrov/foodgram-project
d250ccb998d1141e8b01dc34f6af4dc500a44108
[ "MIT" ]
null
null
null
foodgram/migrations/0008_auto_20210303_2022.py
valkhmyrov/foodgram-project
d250ccb998d1141e8b01dc34f6af4dc500a44108
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-03-03 20:22 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('foodgram', '0007_recipe_...
35.15
169
0.603841
138
1,406
6
0.492754
0.038647
0.050725
0.07971
0.171498
0.115942
0.115942
0.115942
0.115942
0
0
0.01834
0.263158
1,406
39
170
36.051282
0.780888
0.032006
0
0.181818
1
0
0.116262
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.181818
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
bf2556d0aaf293829c998a062b55220bfa74d30c
2,452
py
Python
tipfyrecipes/ln.py
zhaohongw2015/tipfyrecipes
519f8cb35faa20b47bd171f8535fe7dfec783b5b
[ "Apache-2.0" ]
null
null
null
tipfyrecipes/ln.py
zhaohongw2015/tipfyrecipes
519f8cb35faa20b47bd171f8535fe7dfec783b5b
[ "Apache-2.0" ]
null
null
null
tipfyrecipes/ln.py
zhaohongw2015/tipfyrecipes
519f8cb35faa20b47bd171f8535fe7dfec783b5b
[ "Apache-2.0" ]
null
null
null
# Carlo Pires <carlopires@gmail.com> # Seg 14 Mar 2011 21:46:55 BRT import logging, os, zc.buildout class CreateSymbolicLinks: """ Buildout recipe for create dir and link modules. Use as: [buildout] parts = django tipfy [django] recipe = recipes:ln target = /home/carlo/django/trunk/django directory = a...
24.767677
93
0.709217
349
2,452
4.925501
0.249284
0.027923
0.03025
0.051193
0.385108
0.307155
0.194299
0.188482
0.17801
0.17801
0
0.006873
0.16925
2,452
98
94
25.020408
0.837015
0.166395
0
0.254237
0
0
0.132713
0
0
0
0
0
0
1
0.084746
false
0.050847
0.016949
0
0.135593
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
bf267ef227df31d203243d28260021f92d64f332
7,595
py
Python
sdk/python/pulumi_gcp/storage/bucket.py
stack72/pulumi-gcp
e63e4ed3129fe8e64e4869f4839ba2b20f57cb57
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/storage/bucket.py
stack72/pulumi-gcp
e63e4ed3129fe8e64e4869f4839ba2b20f57cb57
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/storage/bucket.py
stack72/pulumi-gcp
e63e4ed3129fe8e64e4869f4839ba2b20f57cb57
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from .. import utilities, tables class Bucket(pulumi.CustomResource): ...
45.753012
293
0.684398
967
7,595
5.203723
0.222337
0.030405
0.047695
0.056638
0.521065
0.476948
0.438394
0.43124
0.417727
0.417727
0
0.000667
0.210533
7,595
165
294
46.030303
0.838559
0.371955
0
0
1
0
0.141479
0.008932
0
0
0
0
0
1
0.050847
false
0
0.084746
0.033898
0.440678
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
bf322eb3e03ba3347e71f0375bad9573edae27cc
2,334
py
Python
n3rgy-consumer-data.py
n3rgy/consumer-data
2288f166b9fde029d1ba990c22cf5225573539b4
[ "Apache-2.0" ]
10
2020-07-08T07:23:11.000Z
2022-03-30T08:38:28.000Z
n3rgy-consumer-data.py
n3rgy/consumer-data
2288f166b9fde029d1ba990c22cf5225573539b4
[ "Apache-2.0" ]
null
null
null
n3rgy-consumer-data.py
n3rgy/consumer-data
2288f166b9fde029d1ba990c22cf5225573539b4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright 2020 by Matthew Roderick, n3rgy data ltd. # All rights reserved. # # Sample script to interact with https://data.n3rgy.com service # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" basis, # WITHOUT WARRANTI...
25.096774
205
0.655527
346
2,334
4.393064
0.442197
0.036842
0.023684
0.022368
0.093421
0.047368
0.047368
0.047368
0.047368
0.047368
0
0.018405
0.161954
2,334
92
206
25.369565
0.758691
0.256213
0
0.204082
0
0.020408
0.383986
0.127411
0
0
0
0
0
0
null
null
0
0.040816
null
null
0.204082
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
bf326516f33fdb3c903e61dbd5cdde802e2ccc9b
846
py
Python
data/user.py
zr4x/pythonTests
ec5d6913a418a0f168dff85b82c1b824356b6cfa
[ "Apache-2.0" ]
null
null
null
data/user.py
zr4x/pythonTests
ec5d6913a418a0f168dff85b82c1b824356b6cfa
[ "Apache-2.0" ]
null
null
null
data/user.py
zr4x/pythonTests
ec5d6913a418a0f168dff85b82c1b824356b6cfa
[ "Apache-2.0" ]
null
null
null
from model.user_form import UserForm import random import string # def random_string(prefix, maxlen): # symbols = string.ascii_letters + string.digits + " " * 10 # return prefix + "".join([random.choice(symbols) for i in range(random.randrange(maxlen))]) # # # testdata =[ # UserForm(firstname=random_strin...
36.782609
99
0.664303
94
846
5.861702
0.37234
0.196007
0.021779
0.039927
0
0
0
0
0
0
0
0.027338
0.178487
846
23
100
36.782609
0.765468
0.713948
0
0
0
0
0.173913
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bf3c8cdb9f688a301c2bae5b827735c51f5820ae
15,526
py
Python
bin/busers.py
ddierschow/bamca
11b42a1348f22816ca8cc714e7619127af2bcf21
[ "MIT" ]
1
2019-06-05T21:13:20.000Z
2019-06-05T21:13:20.000Z
bin/busers.py
ddierschow/bamca
11b42a1348f22816ca8cc714e7619127af2bcf21
[ "MIT" ]
3
2017-04-26T21:15:01.000Z
2017-04-29T08:19:33.000Z
bin/busers.py
ddierschow/bamca
11b42a1348f22816ca8cc714e7619127af2bcf21
[ "MIT" ]
null
null
null
#!/usr/local/bin/python from sprint import sprint as print import string import uuid import basics import config import useful # ------ user editor def print_users(pif): table_info = pif.dbh.table_info['user'] entries = [] for user in pif.dbh.fetch_users(): user['user_id'] = '<a href="user.cgi...
37.776156
120
0.628816
2,195
15,526
4.307517
0.147153
0.043786
0.043363
0.041248
0.548493
0.46716
0.396192
0.331253
0.31486
0.286938
0
0.003509
0.210808
15,526
410
121
37.868293
0.768138
0.055198
0
0.317726
0
0
0.260804
0.030731
0
0
0
0
0
1
0.056856
false
0.090301
0.020067
0.003344
0.123746
0.053512
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
17106ef6831d56edab3587427d03f53cfc7e7fe2
1,256
py
Python
config.py
Relintai/voxelman
9253cc53c6fbbd78b5e4268eb498ef55b4dd0181
[ "MIT" ]
53
2020-01-07T18:57:42.000Z
2022-03-22T10:24:12.000Z
config.py
stronghold-nine/voxelman
9253cc53c6fbbd78b5e4268eb498ef55b4dd0181
[ "MIT" ]
8
2019-12-26T10:48:49.000Z
2022-02-11T22:09:39.000Z
config.py
stronghold-nine/voxelman
9253cc53c6fbbd78b5e4268eb498ef55b4dd0181
[ "MIT" ]
6
2020-01-07T18:57:44.000Z
2021-10-19T18:32:15.000Z
def can_build(env, platform): return True def configure(env): pass def get_doc_classes(): return [ "WorldArea", "VoxelLight", "VoxelmanLight", "VoxelmanLevelGenerator", "VoxelmanLevelGeneratorFlat", "VoxelSurfaceMerger", "VoxelSurfaceSimple", ...
18.470588
37
0.578025
61
1,256
11.803279
0.819672
0.016667
0.025
0
0
0
0
0
0
0
0
0
0.317675
1,256
67
38
18.746269
0.84014
0
0
0.042553
0
0
0.501595
0.162679
0
0
0
0
0
1
0.085106
false
0.021277
0
0.06383
0.148936
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
171899d901e000937a6eacc7f613ecfc9050f471
603
py
Python
api/snippets/textSnippet.py
kc611/learn-hub
ffb944d0f2cbdbc3d2836a45a6bab3400860ac91
[ "MIT" ]
5
2021-06-09T12:46:52.000Z
2022-01-12T06:37:45.000Z
api/snippets/textSnippet.py
kc611/learn-hub
ffb944d0f2cbdbc3d2836a45a6bab3400860ac91
[ "MIT" ]
null
null
null
api/snippets/textSnippet.py
kc611/learn-hub
ffb944d0f2cbdbc3d2836a45a6bab3400860ac91
[ "MIT" ]
2
2021-09-06T15:11:16.000Z
2021-12-07T04:44:24.000Z
from api.snippet import NonConsoleSnippet from api.colors import print_error class textSnippet(NonConsoleSnippet): _requiredFields_ = [] def get_response(self, data={}): """Takes in a key press as user input.""" input("...") def test_response(self, response, data={}): return Tru...
25.125
66
0.565506
66
603
5.075758
0.575758
0.041791
0.083582
0
0
0
0
0
0
0
0
0
0.320066
603
23
67
26.217391
0.817073
0.124378
0
0
0
0
0.083172
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.066667
0.533333
0.133333
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
171c95fe6b2a2b9656b1142ebd3fc04727a32d57
3,281
py
Python
examples/gridworld.py
abadithela/NFM2021_Static_Test_Synthesis
2e7ad9c08b6b79706ea5124ee7fa7d3b224cf64a
[ "MIT" ]
null
null
null
examples/gridworld.py
abadithela/NFM2021_Static_Test_Synthesis
2e7ad9c08b6b79706ea5124ee7fa7d3b224cf64a
[ "MIT" ]
null
null
null
examples/gridworld.py
abadithela/NFM2021_Static_Test_Synthesis
2e7ad9c08b6b79706ea5124ee7fa7d3b224cf64a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Oct 22 08:32:59 2020 @author: apurvabadithela """ # Generates plots for large number of examples: # Use: restrict_transitions_complex import networkx as nx import time import random import numpy as np import matplotlib.pyplot as plt import sys sys.path....
33.141414
126
0.644316
458
3,281
4.454148
0.408297
0.008824
0.007353
0.011765
0.157843
0.131373
0.081373
0.056863
0.056863
0.056863
0
0.020825
0.238952
3,281
98
127
33.479592
0.796155
0.196586
0
0.09375
1
0
0.090979
0.016123
0
0
0
0
0
1
0.015625
false
0
0.203125
0
0.21875
0.109375
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
172863b8c6fb4301cd532c088771ce322a15926f
2,326
py
Python
ophiuchus/coordinates/core.py
adrn/ophiuchus
fe7e937bf421d506ec252165f044d514f571667b
[ "MIT" ]
1
2015-09-25T10:12:52.000Z
2015-09-25T10:12:52.000Z
ophiuchus/coordinates/core.py
adrn/ophiuchus
fe7e937bf421d506ec252165f044d514f571667b
[ "MIT" ]
null
null
null
ophiuchus/coordinates/core.py
adrn/ophiuchus
fe7e937bf421d506ec252165f044d514f571667b
[ "MIT" ]
null
null
null
# coding: utf-8 """ Astropy coordinate class for the Ophiuchus coordinate system """ from __future__ import division, print_function __author__ = "adrn <adrn@astro.columbia.edu>" # Third-party import numpy as np from astropy.coordinates import frame_transform_graph from astropy.utils.data import get_pkg_data_filen...
35.242424
88
0.717111
265
2,326
6.158491
0.437736
0.079657
0.034926
0.038603
0.23652
0.221814
0.080882
0.080882
0
0
0
0.003731
0.193465
2,326
65
89
35.784615
0.866205
0.44712
0
0
0
0
0.105983
0.021368
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.541667
0.041667
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
172ac699622df5de845b70329c5fad39ee328d30
1,944
py
Python
cluster_funk/core/environments/stack_collection.py
johnnyiller/cluster_funk
132b376b600b606d54861c8edef0e8cdc6dfe740
[ "MIT" ]
null
null
null
cluster_funk/core/environments/stack_collection.py
johnnyiller/cluster_funk
132b376b600b606d54861c8edef0e8cdc6dfe740
[ "MIT" ]
null
null
null
cluster_funk/core/environments/stack_collection.py
johnnyiller/cluster_funk
132b376b600b606d54861c8edef0e8cdc6dfe740
[ "MIT" ]
null
null
null
class StackCollection: def __init__(self, client=None, data=None): super(StackCollection, self).__init__() if data is None: paginator = client.get_paginator('describe_stacks') results = paginator.paginate() self.list = list() for result in results: ...
27.380282
75
0.540123
223
1,944
4.533632
0.282511
0.07913
0.039565
0.038576
0.20277
0.169139
0.097923
0.097923
0.097923
0.097923
0
0.000778
0.338992
1,944
70
76
27.771429
0.785992
0
0
0.218182
0
0
0.059156
0
0
0
0
0
0
1
0.236364
false
0
0
0.072727
0.472727
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
172bc9f557a06aee37f2101ba56cde08ff814d34
10,729
py
Python
src/scheduler.py
scify/DemocracIT-Backend-Scheduler
747c8a66b8090d7604e4916bb70908a7ef318d70
[ "Apache-2.0" ]
1
2015-09-30T13:49:49.000Z
2015-09-30T13:49:49.000Z
src/scheduler.py
scify/DemocracIT-Backend-Scheduler
747c8a66b8090d7604e4916bb70908a7ef318d70
[ "Apache-2.0" ]
null
null
null
src/scheduler.py
scify/DemocracIT-Backend-Scheduler
747c8a66b8090d7604e4916bb70908a7ef318d70
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from datetime import datetime import subprocess import os import re import importlib import requests import yaml import json from psql_dbaccess import PSQLDBAccess from dit_logger import DITLogger __author__ = 'George K. <gkiom@scify.org>' CLASS_LABEL = 'class' PACKAGE_LABEL ...
36.369492
116
0.610215
1,260
10,729
4.988095
0.207143
0.02148
0.018616
0.007637
0.293238
0.261098
0.256006
0.238663
0.205251
0.166746
0
0.002887
0.289775
10,729
294
117
36.493197
0.821916
0.084258
0
0.292553
0
0
0.099307
0.002613
0
0
0
0
0
0
null
null
0.005319
0.079787
null
null
0.005319
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
172f0332724e6f0ce0a4a6923ea034ffc23d8da0
1,169
py
Python
tests/test_scope.py
MrCoft/twocode
741620a2abab003edbabb60533c54a2d9bc55b7e
[ "MIT" ]
null
null
null
tests/test_scope.py
MrCoft/twocode
741620a2abab003edbabb60533c54a2d9bc55b7e
[ "MIT" ]
20
2020-05-25T18:38:47.000Z
2020-06-12T23:14:32.000Z
tests/test_scope.py
MrCoft/twocode
741620a2abab003edbabb60533c54a2d9bc55b7e
[ "MIT" ]
null
null
null
""" import a import a.b import a.B (and is the cross thing) import a.* import a.b as c from a import b, c import a, b from _ import * """ # objects see their own vars # function args are seen ((x)->x)(2) # import bogus # errors # bogus -> NameError """ del list[index] del x del dict[key] delete o...
15.381579
64
0.63302
180
1,169
4.1
0.561111
0.075881
0.04336
0.03794
0.04065
0
0
0
0
0
0
0.002407
0.289136
1,169
76
65
15.381579
0.88568
0.641574
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
17413ce0327d6187b1ebd22c87cbb922a5a339fa
1,015
py
Python
yx_motor/authenticate.py
Jesse-Clarkayx/yx_motor
17d1bbda5c1faff7e41cad2bb7b675e591de9df0
[ "Apache-2.0" ]
null
null
null
yx_motor/authenticate.py
Jesse-Clarkayx/yx_motor
17d1bbda5c1faff7e41cad2bb7b675e591de9df0
[ "Apache-2.0" ]
3
2020-08-12T18:09:56.000Z
2021-09-28T01:26:39.000Z
yx_motor/authenticate.py
yx-dev/yx_motor
17d1bbda5c1faff7e41cad2bb7b675e591de9df0
[ "Apache-2.0" ]
1
2020-04-01T23:10:51.000Z
2020-04-01T23:10:51.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: 04_authenticate.ipynb (unless otherwise specified). __all__ = ['Authenticate'] # Cell import requests from .api import API class Authenticate: "Class for handling authenticate API actions" def __init__(self, api: API): self.api = api self.base_en...
31.71875
95
0.666995
123
1,015
5.325203
0.422764
0.085496
0.073282
0.042748
0.229008
0.161832
0.161832
0.161832
0.161832
0.161832
0
0.010296
0.234483
1,015
32
96
31.71875
0.83269
0.140887
0
0.181818
1
0
0.11694
0.028415
0
0
0
0
0
1
0.136364
false
0.045455
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
1747f46f7c077a80d762bb8eb2875be94a719c4c
8,540
py
Python
src/bin/ocvf_recognizer.py
warp1337/facerecognition_pipeline
49563d61c0dc08684ccd09d671487a50f818eec9
[ "BSD-3-Clause" ]
21
2015-02-09T10:26:43.000Z
2021-12-07T05:49:22.000Z
src/bin/ocvf_recognizer.py
warp1337/facerecognition_pipeline
49563d61c0dc08684ccd09d671487a50f818eec9
[ "BSD-3-Clause" ]
null
null
null
src/bin/ocvf_recognizer.py
warp1337/facerecognition_pipeline
49563d61c0dc08684ccd09d671487a50f818eec9
[ "BSD-3-Clause" ]
13
2015-04-08T15:06:23.000Z
2019-01-22T02:50:25.000Z
# Copyright (c) 2015. # Philipp Wagner <bytefish[at]gmx[dot]de> and # Florian Lier <flier[at]techfak.uni-bielefeld.de> and # Norman Koester <nkoester[at]techfak.uni-bielefeld.de> # # # Released to public domain under terms of the BSD Simplified license. # # Redistribution and use in source and binary forms, with or wit...
55.096774
141
0.667916
1,160
8,540
4.857759
0.347414
0.011358
0.015972
0.013842
0.100799
0.041526
0.034783
0.024135
0.024135
0.024135
0
0.01541
0.232553
8,540
154
142
55.454545
0.84437
0.39356
0
0.069767
0
0.023256
0.224849
0.017582
0
0
0
0
0
0
null
null
0.011628
0.116279
null
null
0.116279
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1758baa120359e1d96cfe7fd673346397b057140
343
py
Python
examples/manager.py
seregagavrilov/queue_mfc_manager
968ce3766cda786d4d53bccdf03a7dc68d9daa6e
[ "MIT" ]
null
null
null
examples/manager.py
seregagavrilov/queue_mfc_manager
968ce3766cda786d4d53bccdf03a7dc68d9daa6e
[ "MIT" ]
null
null
null
examples/manager.py
seregagavrilov/queue_mfc_manager
968ce3766cda786d4d53bccdf03a7dc68d9daa6e
[ "MIT" ]
null
null
null
from redis import Redis from examples.tasks_example import some_function, get_url from queue_manager import QManager redis = Redis() manager = QManager(redis) manager.add_to_queue(some_function, 'asd', 'bc', ['s', 'e', 'r', '1'], sourname='Name') manager.add_to_queue(get_url, 'https://www.jetbrains.com/help/pycharm/c...
24.5
89
0.749271
52
343
4.75
0.615385
0.097166
0.097166
0.137652
0
0
0
0
0
0
0
0.003247
0.102041
343
13
90
26.384615
0.798701
0
0
0
0
0
0.20354
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
175f4f66be772e35d95ab0e9d4eaec76b66c732c
4,524
py
Python
examples/highfreq/highfreq_ops.py
wan9c9/qlib
cc95099d7696ca850205b8ca220a99fba35a637a
[ "MIT" ]
8,637
2020-09-21T05:07:34.000Z
2022-03-31T10:02:54.000Z
examples/highfreq/highfreq_ops.py
Sainpse/qlib
84103c7d43eaa0ff74118a4d05884f659f0548eb
[ "MIT" ]
711
2020-09-21T03:32:44.000Z
2022-03-31T22:18:42.000Z
examples/highfreq/highfreq_ops.py
Sainpse/qlib
84103c7d43eaa0ff74118a4d05884f659f0548eb
[ "MIT" ]
1,569
2020-09-21T10:21:08.000Z
2022-03-31T01:14:12.000Z
import numpy as np import pandas as pd import importlib from qlib.data.ops import ElemOperator, PairOperator from qlib.config import C from qlib.data.cache import H from qlib.data.data import Cal from qlib.contrib.ops.high_freq import get_calendar_day class DayLast(ElemOperator): """DayLast Operator Paramete...
26.928571
91
0.644341
562
4,524
5.032028
0.204626
0.079562
0.106082
0.121994
0.527935
0.51662
0.498939
0.484088
0.484088
0.39215
0
0.002948
0.250221
4,524
167
92
27.08982
0.830778
0.33046
0
0.288462
0
0
0.020333
0
0
0
0
0
0
1
0.173077
false
0
0.153846
0
0.615385
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
1767bcea13ed89c078220f97038968b13cb7905d
16,429
py
Python
no_cloud/cli.py
saalaa/no-cloud
69f53ae8194850b7f307315fee90089b34728204
[ "BSD-3-Clause" ]
null
null
null
no_cloud/cli.py
saalaa/no-cloud
69f53ae8194850b7f307315fee90089b34728204
[ "BSD-3-Clause" ]
2
2021-03-25T21:45:20.000Z
2021-03-31T18:43:22.000Z
no_cloud/cli.py
saalaa/no-cloud
69f53ae8194850b7f307315fee90089b34728204
[ "BSD-3-Clause" ]
null
null
null
# Copyright (C) 2016 Benoit Myard <myardbenoit@gmail.com> # Released under the terms of the BSD license. import os import re import sys import click import string import datetime import subprocess from . import __version__ from .remote import get_remote from .crypto import fernet_encrypt, fernet_decrypt, sha512_hash...
30.255985
79
0.624932
2,069
16,429
4.913001
0.222813
0.020561
0.010821
0.01515
0.319626
0.281161
0.216822
0.184456
0.155239
0.143138
0
0.013069
0.254793
16,429
542
80
30.311808
0.817202
0.373851
0
0.237903
0
0.004032
0.184148
0
0
0
0
0
0.044355
1
0.056452
false
0.064516
0.064516
0
0.125
0.012097
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
17685852f997546379426531582986ad61dd0525
385
py
Python
AXF/App/migrations/0007_remove_user_phone_number.py
sajinchang/django_axf
cc6878cfa48cc31fe753aa4213a163bd98942795
[ "Apache-2.0" ]
null
null
null
AXF/App/migrations/0007_remove_user_phone_number.py
sajinchang/django_axf
cc6878cfa48cc31fe753aa4213a163bd98942795
[ "Apache-2.0" ]
null
null
null
AXF/App/migrations/0007_remove_user_phone_number.py
sajinchang/django_axf
cc6878cfa48cc31fe753aa4213a163bd98942795
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-12-17 19:55 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('App', '0006_goods_user'), ] operations = [ migrations.RemoveField( mode...
19.25
48
0.605195
43
385
5.209302
0.813953
0
0
0
0
0
0
0
0
0
0
0.075269
0.275325
385
19
49
20.263158
0.727599
0.176623
0
0
1
0
0.10828
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
176c7457ffa323b70f1b024513f24d65e5474f31
434
py
Python
Basic Image Processing/Raw_Flips.py
vigneshdurairaj/OpenCv
75184f32c568e02c9658c7c4d7f5b3d5102327c6
[ "Apache-2.0" ]
null
null
null
Basic Image Processing/Raw_Flips.py
vigneshdurairaj/OpenCv
75184f32c568e02c9658c7c4d7f5b3d5102327c6
[ "Apache-2.0" ]
null
null
null
Basic Image Processing/Raw_Flips.py
vigneshdurairaj/OpenCv
75184f32c568e02c9658c7c4d7f5b3d5102327c6
[ "Apache-2.0" ]
null
null
null
# Image Processing Intro import numpy as np import argparse import imutils import cv2 ap = argparse.ArgumentParser() ap.add_argument("-i","--image", required = True, help= "Path to the imagee") args = vars(ap.parse_args()) image = cv2.imread(args["image"]) cv2.imshow("Original",image) cv2.waitKey(0) flipped = cv2.f...
22.842105
76
0.732719
64
434
4.9375
0.59375
0.075949
0.075949
0
0
0
0
0
0
0
0
0.031414
0.119816
434
18
77
24.111111
0.795812
0.145161
0
0.153846
0
0
0.163043
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
176e828942630efe19aab2c07e4f3e5b13f23ffc
902
py
Python
Data/Packages/LiveReload/CommandAPI.py
RodrigoTomeES/sublime-text-settings
0bc98ba2960e81096103f398f01b5778dec3e7d6
[ "MIT" ]
4
2018-06-08T23:18:47.000Z
2020-02-24T06:14:06.000Z
Data/Packages/LiveReload/CommandAPI.py
Jesse121/SublimeText3
521681d376a66d1e908f143bd56817106f5c891f
[ "MIT" ]
3
2021-05-10T18:59:14.000Z
2021-09-02T01:50:15.000Z
Data/Packages/LiveReload/CommandAPI.py
RodrigoTomeES/sublime-text-settings
0bc98ba2960e81096103f398f01b5778dec3e7d6
[ "MIT" ]
2
2019-04-10T01:02:42.000Z
2021-02-05T08:41:38.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import sublime import sublime_plugin import LiveReload import webbrowser import os class LiveReloadTest(sublime_plugin.ApplicationCommand): def run(self): path = os.path.join(sublime.packages_path(), 'LiveReload', 'web') file_name = os.path.join(path, 't...
25.771429
89
0.68071
102
902
5.862745
0.5
0.086957
0.155518
0.170569
0.137124
0.137124
0
0
0
0
0
0.00419
0.206208
902
34
90
26.529412
0.831006
0.042129
0
0.142857
0
0
0.097448
0
0
0
0
0
0
1
0.190476
false
0
0.238095
0
0.571429
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
1773ff2743b5d0494a22423b429c8369b525eed9
12,506
py
Python
python/lib/xjson/parser.py
hidaruma/caty
f71d2ab0a001ea4f7a96a6e02211187ebbf54773
[ "MIT" ]
null
null
null
python/lib/xjson/parser.py
hidaruma/caty
f71d2ab0a001ea4f7a96a6e02211187ebbf54773
[ "MIT" ]
null
null
null
python/lib/xjson/parser.py
hidaruma/caty
f71d2ab0a001ea4f7a96a6e02211187ebbf54773
[ "MIT" ]
null
null
null
from xjson.xtypes import * from topdown import * from decimal import Decimal import itertools from itertools import dropwhile import json def series_of_escape(s): return len(list(itertools.takewhile(lambda c: c=='\\', reversed(s)))) #@profile class string(EagerParser): def matches(self, seq): return ...
29.635071
125
0.448505
1,330
12,506
4.116541
0.118045
0.068676
0.030868
0.054795
0.463744
0.393973
0.321279
0.286027
0.257534
0.220639
0
0.013887
0.412682
12,506
421
126
29.705463
0.731518
0.008316
0
0.425824
0
0
0.039961
0.017276
0
0
0
0
0.002747
0
null
null
0.002747
0.016484
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
177732ce9918321ab123cf0bd0bdbef8a0c64da2
625
py
Python
sourcelyzer/dao/plugin.py
sourcelyzer/sourcelyzer
bbb5d9cce9d79986d905f7484989d97a78b1f5aa
[ "MIT" ]
1
2017-07-25T21:06:09.000Z
2017-07-25T21:06:09.000Z
sourcelyzer/dao/plugin.py
sourcelyzer/sourcelyzer
bbb5d9cce9d79986d905f7484989d97a78b1f5aa
[ "MIT" ]
null
null
null
sourcelyzer/dao/plugin.py
sourcelyzer/sourcelyzer
bbb5d9cce9d79986d905f7484989d97a78b1f5aa
[ "MIT" ]
null
null
null
from sourcelyzer.dao import Base from sqlalchemy import Column, Integer, String, Boolean, DateTime, func import datetime class Plugin(Base): __tablename__ = 'sourcelyzer_plugin' id = Column(Integer, primary_key=True, autoincrement=True) repository_id = Column(Integer) key = Column(String) group = ...
31.25
71
0.7184
72
625
6.111111
0.486111
0.163636
0.068182
0
0
0
0
0
0
0
0
0
0.1824
625
19
72
32.894737
0.861057
0
0
0
0
0
0.0288
0
0
0
0
0
0
1
0
false
0
0.176471
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
177a0188e50e0189414604213651cb92ded9c62c
698
py
Python
src/day6.py
blu3r4y/AdventOfCode2019
51d9ddd351d7f9fcbd6e019a1c65ac7af5879aec
[ "MIT" ]
1
2019-12-10T07:54:40.000Z
2019-12-10T07:54:40.000Z
src/day6.py
blu3r4y/AdventOfCode2019
51d9ddd351d7f9fcbd6e019a1c65ac7af5879aec
[ "MIT" ]
null
null
null
src/day6.py
blu3r4y/AdventOfCode2019
51d9ddd351d7f9fcbd6e019a1c65ac7af5879aec
[ "MIT" ]
null
null
null
# Advent of Code 2019, Day 6 # (c) blu3r4y import networkx as nx from aocd.models import Puzzle from funcy import print_calls @print_calls def part1(graph): checksum = 0 for target in graph.nodes: checksum += nx.shortest_path_length(graph, "COM", target) return checksum @print_calls def part2(...
20.529412
75
0.681948
102
698
4.470588
0.529412
0.065789
0.035088
0.087719
0.245614
0.135965
0
0
0
0
0
0.039216
0.196275
698
33
76
21.151515
0.773619
0.120344
0
0.111111
0
0
0.029557
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.111111
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
17879b9a11d3f5ea42a3a01e5bdf46c5dc86eeed
1,867
py
Python
Practice/member/views.py
yongbj96/Practice-Django
066f04d018ca2f23c9f9d472fc78224cbe1a7a5a
[ "MIT" ]
null
null
null
Practice/member/views.py
yongbj96/Practice-Django
066f04d018ca2f23c9f9d472fc78224cbe1a7a5a
[ "MIT" ]
null
null
null
Practice/member/views.py
yongbj96/Practice-Django
066f04d018ca2f23c9f9d472fc78224cbe1a7a5a
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.http import HttpResponse from .models import BoardMember # Post 추가 from django.core import serializers from rest_framework.decorators import api_view, permission_classes, authentication_classes from rest_framework.permissions import IsAuthenticated # 로그인여부 확인 f...
42.431818
216
0.670595
245
1,867
5.028571
0.534694
0.024351
0.041396
0.012987
0.025974
0.025974
0.025974
0.025974
0
0
0
0.029314
0.196036
1,867
44
216
42.431818
0.791472
0.190145
0
0
0
0
0.093875
0.01731
0
0
0
0
0
1
0.058824
false
0.088235
0.235294
0
0.382353
0.029412
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
1787eece1e38a279f7822878ac42328bdcc6d5d8
4,088
py
Python
checkdt/core/connection.py
openskullbox/checkdt
d164de355a901a7af589a14535a3389c9ec3192a
[ "BSD-2-Clause" ]
null
null
null
checkdt/core/connection.py
openskullbox/checkdt
d164de355a901a7af589a14535a3389c9ec3192a
[ "BSD-2-Clause" ]
null
null
null
checkdt/core/connection.py
openskullbox/checkdt
d164de355a901a7af589a14535a3389c9ec3192a
[ "BSD-2-Clause" ]
null
null
null
from cryptography.fernet import Fernet import sqlalchemy from sqlalchemy import Column, Integer, String from sqlalchemy.dialects.postgresql import ENUM from sqlalchemy.ext.declarative import declarative_base from checkdt.config.config import CORE__ENCRYPTION_KEY from checkdt.core.session_maker import session_init Ba...
32.444444
85
0.621575
453
4,088
5.355408
0.218543
0.065952
0.093982
0.035037
0.306678
0.277411
0.263397
0.248145
0.248145
0.211047
0
0.005387
0.273483
4,088
125
86
32.704
0.811448
0
0
0.262136
0
0
0.06409
0.02275
0
0
0
0
0
1
0.126214
false
0.145631
0.067961
0.019417
0.38835
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
1789f53a61b9002c124fe478626838e81c165c9d
374
py
Python
scripts/hello.py
so-os-troxa/python-lib-example
909465a644f7d72d945031abfd4142bc00d56b3d
[ "MIT" ]
null
null
null
scripts/hello.py
so-os-troxa/python-lib-example
909465a644f7d72d945031abfd4142bc00d56b3d
[ "MIT" ]
null
null
null
scripts/hello.py
so-os-troxa/python-lib-example
909465a644f7d72d945031abfd4142bc00d56b3d
[ "MIT" ]
1
2021-11-23T01:22:27.000Z
2021-11-23T01:22:27.000Z
#!/usr/bin/env python3 from dev_aberto import hello from babel.dates import format_datetime from datetime import datetime import gettext gettext.install('hello', localedir='locale') if __name__ == '__main__': date, name = hello() date = format_datetime(datetime.strptime(date, '%Y-%m-%dT%H:%M:%SZ')) print(...
31.166667
73
0.705882
52
374
4.826923
0.634615
0.111554
0
0
0
0
0
0
0
0
0
0.003115
0.141711
374
12
74
31.166667
0.778816
0.05615
0
0
0
0
0.186969
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
179011422adb814b8c626d1fd95044656d4b1721
4,427
py
Python
src/bos_consensus/blockchain/test_state_lifecycle.py
LuffyEMonkey/isaac-consensus-protocol
806d967d56ef8862a477b2515c7854af289c10a0
[ "Apache-2.0" ]
1
2018-04-10T11:00:59.000Z
2018-04-10T11:00:59.000Z
src/bos_consensus/blockchain/test_state_lifecycle.py
LuffyEMonkey/isaac-consensus-protocol
806d967d56ef8862a477b2515c7854af289c10a0
[ "Apache-2.0" ]
null
null
null
src/bos_consensus/blockchain/test_state_lifecycle.py
LuffyEMonkey/isaac-consensus-protocol
806d967d56ef8862a477b2515c7854af289c10a0
[ "Apache-2.0" ]
null
null
null
from ..common import Ballot, BallotVotingResult, Message from ..consensus import get_fba_module from ..consensus.fba.isaac import IsaacState from .util import blockchain_factory IsaacConsensus = get_fba_module('isaac').IsaacConsensus def test_state_lifecycle(): node_name_1 = 'http://localhost:5001' node_nam...
37.837607
106
0.728258
588
4,427
5.10034
0.086735
0.140047
0.171057
0.084361
0.817272
0.611204
0.523174
0.424475
0.424475
0.317439
0
0.044407
0.186131
4,427
116
107
38.163793
0.787954
0.010165
0
0.186813
0
0
0.031514
0
0
0
0
0
0.098901
1
0.010989
false
0
0.043956
0
0.054945
0
0
0
0
null
0
0
0
1
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
17a18ef6ca78acd0097ee9162558f73001358320
1,010
py
Python
uap/post/forms.py
Tyromancer/UAP-Application-Platform-Django
38ee22b5cfa5a8ea9a3775348665727faa6415b9
[ "MIT" ]
null
null
null
uap/post/forms.py
Tyromancer/UAP-Application-Platform-Django
38ee22b5cfa5a8ea9a3775348665727faa6415b9
[ "MIT" ]
null
null
null
uap/post/forms.py
Tyromancer/UAP-Application-Platform-Django
38ee22b5cfa5a8ea9a3775348665727faa6415b9
[ "MIT" ]
null
null
null
from django import forms from django.forms import ModelForm, CharField from ckeditor.widgets import CKEditorWidget from .models import URP, Application class URPCreateForm(ModelForm): """Form for URP creation""" description = CharField(widget=CKEditorWidget()) class Meta: model = URP fiel...
24.047619
68
0.665347
98
1,010
6.857143
0.418367
0.041667
0.071429
0.119048
0.1875
0.1875
0.1875
0.1875
0.1875
0
0
0
0.219802
1,010
41
69
24.634146
0.852792
0.135644
0
0.28
0
0
0.077465
0
0
0
0
0
0
1
0
false
0
0.16
0
0.64
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
bd579e96ab18b4b26c6314b9af308cb1bb6d010e
2,914
py
Python
fullstack/migrations/0002_booking_schedule_tournament_turf.py
arondasamuel123/TurfAPI
747dec3d1bbd052d7b9e8327d407059838c495f3
[ "MIT" ]
null
null
null
fullstack/migrations/0002_booking_schedule_tournament_turf.py
arondasamuel123/TurfAPI
747dec3d1bbd052d7b9e8327d407059838c495f3
[ "MIT" ]
3
2021-03-19T01:27:34.000Z
2021-06-10T18:49:14.000Z
fullstack/migrations/0002_booking_schedule_tournament_turf.py
arondasamuel123/TurfAPI
747dec3d1bbd052d7b9e8327d407059838c495f3
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-03-30 13:49 import cloudinary.models from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('fullstack', '0001_initial'), ] operations = [ mig...
47.770492
168
0.590597
292
2,914
5.732877
0.318493
0.038232
0.058542
0.091995
0.541219
0.491039
0.491039
0.491039
0.491039
0.491039
0
0.014339
0.258065
2,914
60
169
48.566667
0.759945
0.015443
0
0.481481
1
0
0.125218
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.12963
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
bd675f215fc6b915cdf81c3cbf68fb376b4fe0c5
2,169
py
Python
polrev/campaigns/models/local.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
1
2021-12-10T05:54:16.000Z
2021-12-10T05:54:16.000Z
polrev/campaigns/models/local.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
null
null
null
polrev/campaigns/models/local.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
null
null
null
from django.db import models from django.utils.translation import gettext_lazy as _ from wagtail.admin.edit_handlers import FieldPanel, TabbedInterface, ObjectList from .state import StateCampaignPageBase from areas.widgets.place_widgets import PlaceChooser from offices.widgets import OfficeTypeChooser, LocalOfficeCh...
33.369231
100
0.682342
219
2,169
6.488584
0.351598
0.033779
0.024631
0.042224
0.132301
0.132301
0.132301
0.132301
0
0
0
0
0.207008
2,169
64
101
33.890625
0.826163
0.018442
0
0.18
0
0
0.154678
0.013164
0
0
0
0.015625
0
1
0.02
false
0
0.12
0
0.36
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
bd6886234faad7d13a25db1a64648df33f93d540
635
py
Python
scripts/install_html5.py
proydakov/zeptobird
c9e64aa8bd11e4ed9254bea222b03c6d027b6145
[ "MIT" ]
6
2016-09-18T18:31:45.000Z
2020-10-18T04:44:50.000Z
scripts/install_html5.py
proydakov/zeptobird
c9e64aa8bd11e4ed9254bea222b03c6d027b6145
[ "MIT" ]
1
2019-06-16T17:07:52.000Z
2019-06-16T17:07:52.000Z
scripts/install_html5.py
proydakov/zeptobird
c9e64aa8bd11e4ed9254bea222b03c6d027b6145
[ "MIT" ]
1
2019-06-16T16:55:40.000Z
2019-06-16T16:55:40.000Z
#!/usr/bin/env python3 import os import sys import shutil if len(sys.argv) < 2: print("usage", sys.argv[0], "[install path]") sys.exit(1) files = [] htmls = ["html5/index.html"] sounds = os.listdir("shared/resources/music") bins = ["build-html5/html5/zeptobird.data", "build-html5/html5/zeptobir...
21.166667
53
0.625197
89
635
4.460674
0.505618
0.052897
0.11335
0.18136
0.130982
0
0
0
0
0
0
0.023576
0.198425
635
29
54
21.896552
0.756385
0.033071
0
0
0
0
0.301794
0.230016
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.095238
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
bd851fe59d03419ff41cb551ebf9da8287cb8dc8
16,163
py
Python
bot/commands.py
SuRoryz/surbot-osu
2b27697417d2a69f40937b4c463530f2a6b98166
[ "MIT" ]
null
null
null
bot/commands.py
SuRoryz/surbot-osu
2b27697417d2a69f40937b4c463530f2a6b98166
[ "MIT" ]
1
2020-05-01T17:56:27.000Z
2020-05-01T17:56:27.000Z
bot/commands.py
SuRoryz/surbot-osu
2b27697417d2a69f40937b4c463530f2a6b98166
[ "MIT" ]
null
null
null
import PP_Calculator from pppredict.predict import predict from util import str_to_dict, mod_convert, add_spaces from re import findall from lang_init import Initialization from get_local import get_sample import users import maps class Commands: def __init__(self): pass ''' +====-----------==------...
37.414352
157
0.428633
1,797
16,163
3.731775
0.120757
0.082463
0.022368
0.031315
0.668506
0.660752
0.654787
0.647927
0.638682
0.631673
0
0.020006
0.427891
16,163
431
158
37.50116
0.705202
0.079564
0
0.694915
0
0
0.061342
0.003381
0
0
0
0
0
1
0.033898
false
0.00339
0.027119
0
0.118644
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bd85b17590e6d608aa95e29efdf6e825a3d39587
1,487
py
Python
kita/tests/test_models.py
FelixTheC/beak_emailer_list
8bb34681f1d6b35a8d0cc8a81e03d1044cf74f06
[ "MIT" ]
null
null
null
kita/tests/test_models.py
FelixTheC/beak_emailer_list
8bb34681f1d6b35a8d0cc8a81e03d1044cf74f06
[ "MIT" ]
null
null
null
kita/tests/test_models.py
FelixTheC/beak_emailer_list
8bb34681f1d6b35a8d0cc8a81e03d1044cf74f06
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @created: 20.09.20 @author: felix """ from django.core.exceptions import ValidationError from django.test import TestCase from kita.models import Kita class KitaTest(TestCase): def setUp(self) -> None: pass def tearDown(self) -> None: Kita....
24.783333
50
0.516476
152
1,487
4.901316
0.401316
0.037584
0.06443
0.096644
0.534228
0.534228
0.534228
0.500671
0.500671
0.500671
0
0.049784
0.378615
1,487
59
51
25.20339
0.756494
0.051782
0
0.568182
0
0
0.066381
0
0
0
0
0
0.022727
1
0.136364
false
0.090909
0.068182
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
bd8eb2222168ef4cda254cfc3c473878947a0542
765
py
Python
discord_bot.py
PrivatPinguin/discord_bot_example
06de229306832a52b7dfaf2698fded105e9b1788
[ "MIT" ]
1
2021-12-24T18:08:12.000Z
2021-12-24T18:08:12.000Z
discord_bot.py
PrivatPinguin/discord_bot_example
06de229306832a52b7dfaf2698fded105e9b1788
[ "MIT" ]
null
null
null
discord_bot.py
PrivatPinguin/discord_bot_example
06de229306832a52b7dfaf2698fded105e9b1788
[ "MIT" ]
null
null
null
import discord import os import requests import json # init bot client = discord.Client() # API request def get_json(): response = requests.get('api_request_goes_here') jSon_data = json.loads{response} #alternate json data here # console:: bot ready @client.event async def on_ready(): print('Logged in as {0.user...
20.675676
59
0.713725
111
765
4.828829
0.477477
0.074627
0.059701
0.070896
0.078358
0
0
0
0
0
0
0.001567
0.166013
765
36
60
21.25
0.836991
0.159477
0
0.095238
0
0
0.167192
0.033123
0
0
0
0
0
0
null
null
0
0.190476
null
null
0.047619
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
bd9da45ad4b3eba43cd3c922d7241eaaa25de291
1,056
py
Python
app/dashboard/views/mfa_cancel.py
fariszr/app
932134c2123714cf1d1b7090998fbdf27344cce0
[ "MIT" ]
5
2021-01-13T16:50:46.000Z
2021-11-29T04:01:46.000Z
app/dashboard/views/mfa_cancel.py
fariszr/app
932134c2123714cf1d1b7090998fbdf27344cce0
[ "MIT" ]
1
2021-07-24T18:06:49.000Z
2021-07-24T18:06:49.000Z
app/dashboard/views/mfa_cancel.py
fariszr/app
932134c2123714cf1d1b7090998fbdf27344cce0
[ "MIT" ]
4
2021-02-08T23:04:33.000Z
2022-01-05T12:02:34.000Z
from flask import render_template, flash, redirect, url_for, request from flask_login import login_required, current_user from app.dashboard.base import dashboard_bp from app.dashboard.views.enter_sudo import sudo_required from app.extensions import db from app.models import RecoveryCode @dashboard_bp.route("/mfa_ca...
33
76
0.726326
142
1,056
5.204225
0.478873
0.08931
0.056834
0.043302
0.110961
0.110961
0.110961
0
0
0
0
0.001161
0.184659
1,056
31
77
34.064516
0.857143
0.079545
0
0.090909
0
0
0.141383
0.0258
0
0
0
0
0
1
0.045455
true
0
0.272727
0
0.454545
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
bda2e8efb3b192e6f2de5785a7b9b74c47a0a815
159
py
Python
python_modules/dagster/dagster/core/types/builtin_enum.py
vishvananda/dagster
f6aa44714246bc770fe05a9c986fe8b7d848956b
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster/core/types/builtin_enum.py
vishvananda/dagster
f6aa44714246bc770fe05a9c986fe8b7d848956b
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster/core/types/builtin_enum.py
vishvananda/dagster
f6aa44714246bc770fe05a9c986fe8b7d848956b
[ "Apache-2.0" ]
null
null
null
from enum import Enum class BuiltinEnum(Enum): ANY = 'Any' BOOL = 'Bool' FLOAT = 'Float' INT = 'Int' PATH = 'Path' STRING = 'String'
14.454545
24
0.553459
19
159
4.631579
0.578947
0
0
0
0
0
0
0
0
0
0
0
0.314465
159
10
25
15.9
0.807339
0
0
0
0
0
0.157233
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bdac61447e42eb10d7b8148834f629ed07279ddc
1,389
py
Python
Clases/Lab03/GraphTimeBinarySearch.py
PaulAlexander19/LabADAGrupoB
dd984381e336961501384d712705680a78182fc4
[ "BSD-3-Clause" ]
null
null
null
Clases/Lab03/GraphTimeBinarySearch.py
PaulAlexander19/LabADAGrupoB
dd984381e336961501384d712705680a78182fc4
[ "BSD-3-Clause" ]
null
null
null
Clases/Lab03/GraphTimeBinarySearch.py
PaulAlexander19/LabADAGrupoB
dd984381e336961501384d712705680a78182fc4
[ "BSD-3-Clause" ]
null
null
null
# Ejercicio 04 import time import matplotlib.pyplot as plt # Algoritmo def binarySearch(numbers, n): numElements = len(numbers) if(numElements == 1): return (n == numbers[0]) mitad = numElements // 2 if(numbers[mitad] == n): return True elif (n < numbers[mitad]): return...
27.235294
86
0.62995
191
1,389
4.549738
0.465969
0.087457
0.04603
0.041427
0.057537
0.057537
0.057537
0
0
0
0
0.024085
0.2527
1,389
51
87
27.235294
0.813102
0.267819
0
0
0
0
0
0
0
0
0
0.019608
0
1
0.117647
false
0
0.058824
0
0.323529
0.058824
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
bdaf4e09a2a32c3379727790c1bab5c96acfae21
2,100
py
Python
rest_framework_security/otp/migrations/0001_initial.py
RubenEu/django-rest-framework-security
638cf271c51a5bafd434a6b6a9c25a7c4849b485
[ "MIT" ]
7
2020-09-01T09:55:25.000Z
2021-11-04T06:59:04.000Z
rest_framework_security/otp/migrations/0001_initial.py
RubenEu/django-rest-framework-security
638cf271c51a5bafd434a6b6a9c25a7c4849b485
[ "MIT" ]
32
2020-10-28T17:09:18.000Z
2022-03-12T00:55:09.000Z
rest_framework_security/otp/migrations/0001_initial.py
RubenEu/django-rest-framework-security
638cf271c51a5bafd434a6b6a9c25a7c4849b485
[ "MIT" ]
2
2020-12-18T01:26:53.000Z
2021-11-04T06:59:07.000Z
# Generated by Django 2.2.4 on 2020-06-29 10:53 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import jsonfield.fields class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USE...
47.727273
166
0.616667
227
2,100
5.546256
0.422907
0.059571
0.03336
0.052423
0.374901
0.293884
0.293884
0.238284
0.238284
0.238284
0
0.016129
0.232381
2,100
43
167
48.837209
0.764888
0.021429
0
0.277778
1
0
0.131028
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.222222
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
bdbef62721c57f4ff1f45784b7fdfb725c1df881
637
py
Python
utils/database.py
JustUndertaker/tuanzi_bot
8bb989aceb1a89569f2fcb804c73f7b650feb1f0
[ "MIT" ]
8
2021-07-22T02:57:02.000Z
2021-12-30T03:55:38.000Z
utils/database.py
JustUndertaker/tuanzi_bot
8bb989aceb1a89569f2fcb804c73f7b650feb1f0
[ "MIT" ]
1
2021-12-05T17:58:07.000Z
2021-12-06T12:59:36.000Z
utils/database.py
JustUndertaker/tuanzi_bot
8bb989aceb1a89569f2fcb804c73f7b650feb1f0
[ "MIT" ]
3
2021-07-22T02:57:05.000Z
2022-01-30T12:18:59.000Z
from peewee import SqliteDatabase from configs.pathConfig import DATABASE_PATH from modules.user_info import UserInfo from modules.group_info import GroupInfo from modules.user_level import UserLevel from modules.plugin_info import PluginInfo from nonebot.log import logger from modules.duel_history import DuelHistory...
21.965517
44
0.717425
73
637
6.109589
0.493151
0.123318
0.067265
0
0
0
0
0
0
0
0
0
0.215071
637
28
45
22.75
0.892
0.007849
0
0
0
0
0.022727
0
0
0
0
0
0
1
0.047619
false
0
0.380952
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bdc213067babab163ebb098b21ef2236725354e5
229
py
Python
flask_app/commands.py
loganathanengrr/FlaskBasicRestfulAPI
4d80cee638a2da7d808f3a0da62ffc3a6d31aeff
[ "MIT" ]
null
null
null
flask_app/commands.py
loganathanengrr/FlaskBasicRestfulAPI
4d80cee638a2da7d808f3a0da62ffc3a6d31aeff
[ "MIT" ]
null
null
null
flask_app/commands.py
loganathanengrr/FlaskBasicRestfulAPI
4d80cee638a2da7d808f3a0da62ffc3a6d31aeff
[ "MIT" ]
null
null
null
import click from flask.cli import with_appcontext from .extensions import db @click.command(name='create_tables') @with_appcontext def create_tables(): try: db.create_all() return 'Created' except Exception as e: raise
17.615385
37
0.772926
33
229
5.212121
0.69697
0.162791
0
0
0
0
0
0
0
0
0
0
0.139738
229
13
38
17.615385
0.873096
0
0
0
0
0
0.086957
0
0
0
0
0
0
1
0.090909
true
0
0.272727
0
0.454545
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
bdcaeae6b1b062a8a148a1dd3ff038f6a084729a
2,707
py
Python
lecture5/recording_utils.py
zodoctor/lectures-fall2018
84efbc0ed95143e5db4f81432e4afe2a5cf4d962
[ "MIT" ]
4
2018-10-18T02:11:42.000Z
2021-07-20T14:51:04.000Z
lecture5/recording_utils.py
zodoctor/lectures-fall2018
84efbc0ed95143e5db4f81432e4afe2a5cf4d962
[ "MIT" ]
1
2018-10-18T00:10:55.000Z
2018-10-18T00:10:55.000Z
lecture5/recording_utils.py
zodoctor/lectures-fall2018
84efbc0ed95143e5db4f81432e4afe2a5cf4d962
[ "MIT" ]
4
2018-10-18T00:09:45.000Z
2018-12-09T02:52:15.000Z
import pyaudio import wave import time def record_wav_file(CHUNK = 1024, FORMAT = pyaudio.paInt16, CHANNELS = 2, RATE = 44100, RECORD_SECONDS = 5, WAVE_OUTPUT_FILENAME = "voice.wav"): """ Creates a wav audio fi...
24.169643
76
0.534171
302
2,707
4.649007
0.374172
0.092593
0.064103
0.038462
0.297009
0.297009
0.297009
0.211538
0.183048
0.183048
0
0.025444
0.375693
2,707
111
77
24.387387
0.805325
0.018101
0
0.261538
0
0
0.09803
0
0
0
0
0
0
0
null
null
0
0.046154
null
null
0.107692
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
bdcaf4a5a8cb5e8e9f9ef295e59e7b1a6bea94e1
260
py
Python
python/Util/test.py
zhclwr/demo
c6ddd2f3f3752e4badeab05eaeb1c0adf5e66201
[ "MIT" ]
null
null
null
python/Util/test.py
zhclwr/demo
c6ddd2f3f3752e4badeab05eaeb1c0adf5e66201
[ "MIT" ]
2
2020-06-03T02:31:02.000Z
2021-07-15T01:59:10.000Z
python/Util/test.py
zhclwr/demo
c6ddd2f3f3752e4badeab05eaeb1c0adf5e66201
[ "MIT" ]
null
null
null
res = [] with open('test.txt', mode='r', encoding="utf-8") as f: for line in f: arr = line.split() print(arr) res.append(arr[1]) r = '\t'.join(res) with open('res.txt', mode='w', encoding="utf-8") as f: # print(r) f.write(r)
26
55
0.526923
45
260
3.044444
0.533333
0.10219
0.160584
0.20438
0.218978
0
0
0
0
0
0
0.015385
0.25
260
10
56
26
0.687179
0.030769
0
0
0
0
0.115538
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
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
bdcd8e26ddd13dd4ce1c1861d96a8cb46d3fcca3
2,396
py
Python
meowth/settings.py
bheuair/Professeurchen
2e582962172c631d2ca8f276c51a0a206f37b678
[ "MIT" ]
1
2021-05-22T01:45:50.000Z
2021-05-22T01:45:50.000Z
meowth/settings.py
bheuair/Professeurchen
2e582962172c631d2ca8f276c51a0a206f37b678
[ "MIT" ]
null
null
null
meowth/settings.py
bheuair/Professeurchen
2e582962172c631d2ca8f276c51a0a206f37b678
[ "MIT" ]
null
null
null
class GuildConfig: def __init__(self, data): self._data = data self.prefix = self.settings['prefix'] self.offset = self.settings['offset'] self.regional_pkmn = self.settings['regional'] self.has_configured = self.settings['done'] @property def settings(self): ...
27.54023
62
0.624791
306
2,396
4.611111
0.176471
0.090716
0.054571
0.053154
0.254429
0.254429
0.254429
0.235294
0.144578
0.144578
0
0
0.275042
2,396
86
63
27.860465
0.81232
0
0
0.402778
0
0
0.060935
0
0
0
0
0
0
1
0.208333
false
0
0
0.055556
0.486111
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
bdcfc8f785228d954f5cb6cfe7bd69297b349ece
386
py
Python
blog/migrations/0013_auto_20191023_1808.py
mogubudu/django_blog_backend
88147135607e8119def1126dff34977f21bc0b6d
[ "MIT" ]
null
null
null
blog/migrations/0013_auto_20191023_1808.py
mogubudu/django_blog_backend
88147135607e8119def1126dff34977f21bc0b6d
[ "MIT" ]
11
2020-02-12T02:51:13.000Z
2022-03-12T00:05:58.000Z
blog/migrations/0013_auto_20191023_1808.py
NecrOctopuS/sensive_blog_templates
180636d8f0340d8bd8f3e902335c07a16fe77c78
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-10-23 15:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0012_remove_tag_image'), ] operations = [ migrations.RemoveField( model_name='post', name='tags', ), ...
18.380952
47
0.551813
39
386
5.358974
0.769231
0
0
0
0
0
0
0
0
0
0
0.073643
0.331606
386
20
48
19.3
0.736434
0.11658
0
0.142857
1
0
0.106195
0.061947
0
0
0
0
0
1
0
false
0
0.071429
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
bdd63a280bbc4fadd3fbfb055d01eb74b5acc991
3,490
py
Python
pyPing.py
michael080808/pyPing
c1f9b6f505c8f0b3d521741153ccb737a63735b6
[ "Apache-2.0" ]
null
null
null
pyPing.py
michael080808/pyPing
c1f9b6f505c8f0b3d521741153ccb737a63735b6
[ "Apache-2.0" ]
null
null
null
pyPing.py
michael080808/pyPing
c1f9b6f505c8f0b3d521741153ccb737a63735b6
[ "Apache-2.0" ]
null
null
null
""" ICMP(Internet Control Message Protocol) - Echo Request: +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0|0|0|0|0|0|0|0|0|0|1|1|1|1|1|1|1|1|1|1|2|2|2|2|2|2|2|2|2|2|3|3| |0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0|1| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+...
40.581395
150
0.408023
386
3,490
3.673575
0.253886
0.025388
0.03385
0.039492
0.428773
0.32299
0.269394
0.246827
0.246827
0.172073
0
0.087566
0.244126
3,490
86
151
40.581395
0.449962
0.485387
0
0
0
0
0.062115
0
0
0
0.02742
0
0
1
0.043478
false
0
0.086957
0
0.152174
0.086957
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
bdd80dfc3e071839933ba47a882a96a4513d0dc0
359
py
Python
src/pyrin/users/internal/__init__.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
src/pyrin/users/internal/__init__.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
src/pyrin/users/internal/__init__.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ users internal package. """ from pyrin.packaging.base import Package class InternalUsersPackage(Package): """ internal users package class. """ NAME = __name__ COMPONENT_NAME = 'users.internal.component' DEPENDS = ['pyrin.admin', 'pyrin.validator', ...
18.894737
47
0.610028
34
359
6.294118
0.588235
0.121495
0
0
0
0
0
0
0
0
0
0.003731
0.253482
359
18
48
19.944444
0.794776
0.211699
0
0
0
0
0.269231
0.092308
0
0
0
0
0
1
0
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bde4dfe4fd22f363c49050c7975fcf9fba9ed474
494
py
Python
setup.py
yongzx/labelmodels
78d27e2b5cc56ec167f6f485b811b93c8f5b2c26
[ "Apache-2.0" ]
12
2019-11-01T19:00:58.000Z
2022-01-18T20:53:53.000Z
setup.py
yongzx/labelmodels
78d27e2b5cc56ec167f6f485b811b93c8f5b2c26
[ "Apache-2.0" ]
3
2021-06-09T01:22:05.000Z
2021-07-15T03:18:22.000Z
setup.py
yongzx/labelmodels
78d27e2b5cc56ec167f6f485b811b93c8f5b2c26
[ "Apache-2.0" ]
1
2022-01-10T23:31:57.000Z
2022-01-10T23:31:57.000Z
from setuptools import setup, find_packages setup( name='labelmodels', version='0.0.1', url='https://github.com/BatsResearch/labelmodels.git', author='Shiying Luo, Stephen Bach', author_email='shiying_luo@brown.edu, sbach@cs.brown.edu', description='Lightweight implementations of generative lab...
35.285714
77
0.682186
61
494
5.442623
0.754098
0.072289
0
0
0
0
0
0
0
0
0
0.02457
0.176113
494
13
78
38
0.791155
0
0
0
0
0
0.524292
0.044534
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
bde6e989e07bb55ab16b23d172da5b495fbbd5e6
1,369
py
Python
experiment.py
tansey/tstd0
a59bc3edad452a47d5ad35c22ab68c5ccafbb4c0
[ "MIT" ]
13
2015-05-09T14:15:07.000Z
2021-09-18T07:39:59.000Z
experiment.py
tansey/tstd0
a59bc3edad452a47d5ad35c22ab68c5ccafbb4c0
[ "MIT" ]
null
null
null
experiment.py
tansey/tstd0
a59bc3edad452a47d5ad35c22ab68c5ccafbb4c0
[ "MIT" ]
2
2017-12-07T03:05:54.000Z
2018-06-19T16:23:17.000Z
import sys import csv from gridworld import * import qlearning import tstd if __name__ == "__main__": build_rewards() outfile = sys.argv[1] bandits = int(sys.argv[2]) episodes = int(sys.argv[3]) world = GridWorld(num_bandits = bandits) """ # TESTING WITH DETERMINISTIC WORLD world.band...
27.938776
65
0.585829
177
1,369
4.40678
0.355932
0.092308
0.05
0.046154
0.051282
0.051282
0
0
0
0
0
0.023614
0.288532
1,369
48
66
28.520833
0.777207
0
0
0.055556
0
0
0.031418
0
0
0
0
0
0
0
null
null
0
0.138889
null
null
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
1
0
0
0
0
0
0
0
0
1
bdf1b8afe9f09a449f9e483ecc8f98231f337ba4
11,150
py
Python
sdk/python/pulumi_oci/core/get_dedicated_vm_host.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/core/get_dedicated_vm_host.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/core/get_dedicated_vm_host.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
44.071146
344
0.689865
1,389
11,150
5.221022
0.161267
0.06674
0.091009
0.039851
0.447049
0.331771
0.222835
0.182157
0.100662
0.076393
0
0.00332
0.216502
11,150
252
345
44.246032
0.826809
0.22009
0
0.104294
1
0
0.174651
0.039721
0
0
0
0
0
1
0.110429
false
0
0.030675
0.006135
0.257669
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
bdf424a5d5b3c9f2dd9b4dce3474d58c4da50931
383
py
Python
cloud function/Database.py
Med-ELOMARI/marocovid19-dashboard
3b02a93bc617501a5d66e81fb8ca3722e0b76ad2
[ "MIT" ]
null
null
null
cloud function/Database.py
Med-ELOMARI/marocovid19-dashboard
3b02a93bc617501a5d66e81fb8ca3722e0b76ad2
[ "MIT" ]
null
null
null
cloud function/Database.py
Med-ELOMARI/marocovid19-dashboard
3b02a93bc617501a5d66e81fb8ca3722e0b76ad2
[ "MIT" ]
null
null
null
import firebase_admin from firebase_admin import credentials # conf.json not included in the repo because it have write access to the database cred = credentials.Certificate("conf.json") firebase_admin.initialize_app( cred, {"databaseURL": "https://covid19maroc-632de.firebaseio.com"} ) # Import database module. ...
27.357143
82
0.785901
51
383
5.803922
0.666667
0.175676
0.114865
0.155405
0
0
0
0
0
0
0
0.014925
0.125326
383
13
83
29.461538
0.868657
0.27154
0
0
0
0
0.23913
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1