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
85114466ac2617c5521e08b36fa53537bc608a70
7,822
py
Python
mcedit_ui/ui_sprite_editor.py
LagoLunatic/MinishEdit
9933fd5f2b7488f9d88009d13d23338d888e40a5
[ "MIT" ]
10
2019-10-26T08:00:34.000Z
2021-10-05T14:22:07.000Z
mcedit_ui/ui_sprite_editor.py
LagoLunatic/MinishEdit
9933fd5f2b7488f9d88009d13d23338d888e40a5
[ "MIT" ]
3
2021-08-28T14:27:04.000Z
2022-01-13T02:20:45.000Z
mcedit_ui/ui_sprite_editor.py
LagoLunatic/MinishEdit
9933fd5f2b7488f9d88009d13d23338d888e40a5
[ "MIT" ]
2
2019-10-16T10:20:17.000Z
2020-10-25T07:59:32.000Z
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'sprite_editor.ui' ## ## Created by: Qt User Interface Compiler version 5.14.1 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ############...
41.606383
136
0.703656
872
7,822
6.134174
0.150229
0.127874
0.00673
0.071041
0.285474
0.188073
0.125257
0.060572
0.060572
0
0
0.022397
0.172334
7,822
187
137
41.828877
0.803831
0.029404
0
0
1
0
0.078603
0
0
0
0
0
0
1
0.015748
false
0
0.023622
0
0.047244
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
851318596f30594bd0a3b765641b4aed8201b8a8
3,663
py
Python
doorway-husky/linkedinMan.py
kostkobv/doorway-husky
3c8760a3335f668f051b8f8228d91e27ad3818b7
[ "Apache-2.0" ]
2
2016-05-07T10:39:34.000Z
2016-09-05T01:23:52.000Z
doorway-husky/linkedinMan.py
kostkobv/doorway-husky
3c8760a3335f668f051b8f8228d91e27ad3818b7
[ "Apache-2.0" ]
null
null
null
doorway-husky/linkedinMan.py
kostkobv/doorway-husky
3c8760a3335f668f051b8f8228d91e27ad3818b7
[ "Apache-2.0" ]
null
null
null
from linkedin import linkedin from wsgiref.simple_server import make_server from urlparse import parse_qs import webbrowser class LinkedinMan(object): """ Class for communication with linkedin. Just simplifying the interface to make it simpler to use inside off app """ PERMISSIONS = ['r_netw...
28.84252
108
0.627082
452
3,663
4.913717
0.336283
0.016209
0.025214
0.013507
0.016209
0
0
0
0
0
0
0.003046
0.283101
3,663
126
109
29.071429
0.842727
0
0
0
0
0
0.163112
0
0
0
0
0
0
0
null
null
0
0.078431
null
null
0.078431
0
0
0
null
0
0
0
0
0
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
8519ff3656007ee67ead4666d5bdce01840abc0a
565
py
Python
orchestra/contrib/payments/migrations/0004_auto_20210330_1049.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
null
null
null
orchestra/contrib/payments/migrations/0004_auto_20210330_1049.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
4
2021-01-30T14:26:46.000Z
2022-03-18T16:28:39.000Z
orchestra/contrib/payments/migrations/0004_auto_20210330_1049.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
3
2022-02-06T04:35:59.000Z
2022-03-17T00:40:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2021-03-30 10:49 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('payments', '0003_auto_20170528_2011'), ] operations = [ migrations.AlterFie...
26.904762
156
0.638938
61
565
5.737705
0.819672
0.057143
0
0
0
0
0
0
0
0
0
0.080092
0.226549
565
20
157
28.25
0.720824
0.120354
0
0
1
0
0.220648
0.046559
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
851f55af2e2915150045f32b7dd71d2207d05b17
924
py
Python
setup.py
outscraper/amazon-scraper-python
221b5ead483de03f506a3061340e2df24f6a45cd
[ "MIT" ]
null
null
null
setup.py
outscraper/amazon-scraper-python
221b5ead483de03f506a3061340e2df24f6a45cd
[ "MIT" ]
null
null
null
setup.py
outscraper/amazon-scraper-python
221b5ead483de03f506a3061340e2df24f6a45cd
[ "MIT" ]
null
null
null
from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup( name='amazon-scraper-by-outscraper', version='0.0.3', description='Amazon Scraper API SDK', long_description=readme(), classifiers = ['Programming Language :: Python', ...
29.806452
63
0.630952
98
924
5.826531
0.683673
0.091068
0.052539
0.087566
0
0
0
0
0
0
0
0.00428
0.241342
924
30
64
30.8
0.810271
0
0
0
0
0
0.430736
0.087662
0
0
0
0
0
1
0.038462
true
0
0.038462
0
0.115385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
85236cdd7e3f87c9c17aa41b6388275b944bf64e
521
py
Python
openbook_posts/migrations/0028_auto_20190414_1953.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
164
2019-07-29T17:59:06.000Z
2022-03-19T21:36:01.000Z
openbook_posts/migrations/0028_auto_20190414_1953.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
188
2019-03-16T09:53:25.000Z
2019-07-25T14:57:24.000Z
openbook_posts/migrations/0028_auto_20190414_1953.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
80
2019-08-03T17:49:08.000Z
2022-02-28T16:56:33.000Z
# Generated by Django 2.2 on 2019-04-14 17:53 from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('openbook_communities', '0018_auto_20190309_1527'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('openbo...
24.809524
66
0.658349
54
521
6.12963
0.777778
0.060423
0
0
0
0
0
0
0
0
0
0.115
0.232246
521
20
67
26.05
0.7125
0.082534
0
0
1
0
0.210084
0.096639
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
852ce5c02ebf60fb39cc014f08226a55f56863b2
4,155
py
Python
dj_bookmarks/bookmarks/views/bookmarks.py
jeremy886/django_bookmarks
41b224158dfa8feaed284081e1ec415dbbb6f155
[ "BSD-3-Clause" ]
8
2017-07-14T18:24:05.000Z
2021-02-18T10:03:35.000Z
dj_bookmarks/bookmarks/views/bookmarks.py
jeremy886/django_bookmarks
41b224158dfa8feaed284081e1ec415dbbb6f155
[ "BSD-3-Clause" ]
18
2017-07-14T17:17:24.000Z
2018-09-28T18:52:18.000Z
dj_bookmarks/bookmarks/views/bookmarks.py
jeremy886/django_bookmarks
41b224158dfa8feaed284081e1ec415dbbb6f155
[ "BSD-3-Clause" ]
7
2017-07-14T17:17:19.000Z
2018-06-19T00:41:40.000Z
from django.contrib.auth.mixins import LoginRequiredMixin from django.db.models import Q from django.http import JsonResponse from django.shortcuts import get_object_or_404 from django.urls import reverse_lazy from django.utils import timezone from django.views import generic from django.views.generic import RedirectVi...
30.551471
69
0.666667
477
4,155
5.662474
0.192872
0.065161
0.049981
0.033321
0.470937
0.44391
0.402444
0.390226
0.354313
0.334691
0
0.004047
0.226955
4,155
135
70
30.777778
0.836862
0
0
0.442308
0
0
0.048857
0.009146
0
0
0
0
0
1
0.144231
false
0
0.086538
0.048077
0.586538
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
517a905d29ee63c79e48e9c89f4f964ff118e2e4
666
py
Python
congress/migrations/0004_auto_20220116_1741.py
InsiderUnlocked/Backend
efd71d3eb874b9bfdbca89d0aa9e610338f9fa52
[ "blessing" ]
3
2022-01-22T06:53:52.000Z
2022-02-13T10:16:29.000Z
congress/migrations/0004_auto_20220116_1741.py
InsiderUnlocked/Backend
efd71d3eb874b9bfdbca89d0aa9e610338f9fa52
[ "blessing" ]
null
null
null
congress/migrations/0004_auto_20220116_1741.py
InsiderUnlocked/Backend
efd71d3eb874b9bfdbca89d0aa9e610338f9fa52
[ "blessing" ]
null
null
null
# Generated by Django 3.2.3 on 2022-01-16 22:41 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('congress', '0003_congresstrade_assetdetails'), ] operations = [ migrations.AlterField( model_na...
26.64
114
0.623123
69
666
5.942029
0.565217
0.058537
0.068293
0.107317
0
0
0
0
0
0
0
0.03854
0.25976
666
24
115
27.75
0.793103
0.067568
0
0.222222
1
0
0.142165
0.050081
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
517c0128c7a5b71b366a337fb9b8accff15c0b99
12,748
py
Python
students/k3342/laboratory_works/Nikonchuk_Anna/Lr1/minos/presencing_publications/views.py
nikonura/ITMO_ICT_WebProgramming_2020
f930041ce4a0fe64782f67716ca8056abb8a9792
[ "MIT" ]
null
null
null
students/k3342/laboratory_works/Nikonchuk_Anna/Lr1/minos/presencing_publications/views.py
nikonura/ITMO_ICT_WebProgramming_2020
f930041ce4a0fe64782f67716ca8056abb8a9792
[ "MIT" ]
null
null
null
students/k3342/laboratory_works/Nikonchuk_Anna/Lr1/minos/presencing_publications/views.py
nikonura/ITMO_ICT_WebProgramming_2020
f930041ce4a0fe64782f67716ca8056abb8a9792
[ "MIT" ]
null
null
null
from .models import * from .forms import * from django.contrib.auth.models import User import django.shortcuts from django.shortcuts import get_object_or_404 from django.views.generic import View from django.views.generic.list import ListView from django.views.generic.edit import CreateView, FormView from django.urls ...
37.494118
120
0.653279
1,397
12,748
5.764495
0.133142
0.081957
0.109524
0.093878
0.623867
0.607972
0.562523
0.546877
0.524028
0.506395
0
0.000931
0.241999
12,748
339
121
37.60472
0.832454
0.029809
0
0.420354
0
0
0.151255
0.098123
0
0
0
0
0
1
0.141593
false
0.017699
0.066372
0
0.504425
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
51822a4d9022b1279b47ed631dd646a4136a5ff7
9,874
py
Python
scheduler_sdk/model/metadata_center/stream_aggregate_rule_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
webshell_sdk/model/metadata_center/stream_aggregate_rule_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
webshell_sdk/model/metadata_center/stream_aggregate_rule_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: stream_aggregate_rule.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from googl...
47.019048
878
0.752076
1,230
9,874
5.770732
0.137398
0.056354
0.097633
0.05579
0.707382
0.604818
0.580163
0.580163
0.544942
0.544942
0
0.035372
0.123861
9,874
209
879
47.244019
0.785112
0.035345
0
0.650538
1
0.005376
0.233477
0.193128
0
0
0
0
0
1
0
false
0
0.026882
0
0.026882
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
518384f2cf991baec5d7026d5fa1177582f18798
1,179
py
Python
ctdpy/core/writers/yaml_writer.py
sharksmhi/ctdpy
ff0c3931fd96370387c33eb297889ab69448e34a
[ "MIT" ]
1
2018-11-16T13:58:29.000Z
2018-11-16T13:58:29.000Z
ctdpy/core/writers/yaml_writer.py
sharksmhi/ctdpy
ff0c3931fd96370387c33eb297889ab69448e34a
[ "MIT" ]
null
null
null
ctdpy/core/writers/yaml_writer.py
sharksmhi/ctdpy
ff0c3931fd96370387c33eb297889ab69448e34a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Jul 10 09:48:18 2018 @author: a002028 """ import yaml import numpy as np import pandas as pd class YAMLwriter(dict): """Writer of yaml files.""" # TODO Ever used? def __init__(self): """Initialize.""" super().__init__() def _check_format(s...
24.061224
61
0.53944
134
1,179
4.597015
0.559701
0.053571
0.058442
0
0
0
0
0
0
0
0
0.026247
0.35369
1,179
48
62
24.5625
0.782152
0.265479
0
0
0
0
0.026415
0
0
0
0
0.020833
0
1
0.125
false
0
0.125
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
518b3cbbb5aaae4767f1fc3a77809307886bedd7
176
py
Python
Contest/ABC032/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
Contest/ABC032/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
Contest/ABC032/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 from fractions import gcd a, b, n = map(int, open(0).read().split()) f = g = a * b // gcd(a,b) while True: if f >= n: print(f) exit() f += g
19.555556
42
0.539773
34
176
2.794118
0.705882
0.063158
0.105263
0
0
0
0
0
0
0
0
0.015152
0.25
176
9
43
19.555556
0.704545
0.119318
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
518d260e134f8cb47d69cdb5e06ac56eeecb5a4b
6,376
py
Python
Statistical Rollups/stats.py
SciSpark/Pyspark-Benchmarks
289ee9287bfc487d13c8b7ea8dee4a0b823c4a50
[ "Apache-2.0" ]
1
2018-07-31T04:39:08.000Z
2018-07-31T04:39:08.000Z
Statistical Rollups/stats.py
SciSpark/Pyspark-Benchmarks
289ee9287bfc487d13c8b7ea8dee4a0b823c4a50
[ "Apache-2.0" ]
null
null
null
Statistical Rollups/stats.py
SciSpark/Pyspark-Benchmarks
289ee9287bfc487d13c8b7ea8dee4a0b823c4a50
[ "Apache-2.0" ]
1
2018-08-30T17:51:03.000Z
2018-08-30T17:51:03.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
39.85
132
0.601788
855
6,376
4.466667
0.329825
0.043991
0.029851
0.013616
0.171249
0.14873
0.098979
0.083792
0.051846
0.051846
0
0.00993
0.257685
6,376
159
133
40.100629
0.796958
0.225063
0
0.198198
0
0
0.133461
0.01388
0
0
0
0
0
0
null
null
0
0.081081
null
null
0.036036
0
0
0
null
0
0
0
0
0
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
51935145cb07730fc2efb9da5857425801d1dfc1
1,035
py
Python
main.py
Schwarzbaer/StrangeStars
00959c12db5bb88dbfdad6d61627315e0854ec4e
[ "BSD-3-Clause" ]
null
null
null
main.py
Schwarzbaer/StrangeStars
00959c12db5bb88dbfdad6d61627315e0854ec4e
[ "BSD-3-Clause" ]
null
null
null
main.py
Schwarzbaer/StrangeStars
00959c12db5bb88dbfdad6d61627315e0854ec4e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import os from panda3d.core import loadPrcFileData from wecs import boilerplate def run_game(): boilerplate.run_game( module_name='game', # Name of module to use to set up game console=False, # panda3d-cefconsole keybindings=True, # panda3d-keybi...
30.441176
84
0.643478
111
1,035
5.828829
0.603604
0.032458
0.068006
0.055641
0
0
0
0
0
0
0
0.021144
0.223188
1,035
33
85
31.363636
0.783582
0.573913
0
0
0
0
0.028369
0
0
0
0
0
0
1
0.071429
true
0
0.214286
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
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
519434552a6f2562355103b0b896f1d65e5b1155
1,288
py
Python
cirq/study/sweepable_test.py
jlmayfield/Cirq
dc1294f54118a9a4f92546ca13780b91615dd675
[ "Apache-2.0" ]
2
2019-04-02T10:22:21.000Z
2019-06-19T04:54:04.000Z
cirq/study/sweepable_test.py
jlmayfield/Cirq
dc1294f54118a9a4f92546ca13780b91615dd675
[ "Apache-2.0" ]
36
2019-04-03T23:03:51.000Z
2019-05-15T23:49:01.000Z
cirq/study/sweepable_test.py
jlmayfield/Cirq
dc1294f54118a9a4f92546ca13780b91615dd675
[ "Apache-2.0" ]
2
2019-04-03T22:55:05.000Z
2019-04-24T23:24:53.000Z
# Copyright 2018 The Cirq Developers # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.894737
79
0.694876
181
1,288
4.850829
0.458564
0.100228
0.041002
0.082005
0.150342
0.091116
0.056948
0
0
0
0
0.022923
0.187112
1,288
37
80
34.810811
0.815664
0.451863
0
0
0
0
0.007267
0
0
0
0
0
0.285714
1
0.285714
false
0
0.071429
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
51983015359d21bcbd74466c12a97a720e29681b
924
py
Python
modules/passport.py
ddealer/avacity-2.0
756b9877c6df2bdc8b1368dfd5fdf5ca96179516
[ "MIT" ]
1
2019-10-20T14:09:23.000Z
2019-10-20T14:09:23.000Z
modules/passport.py
ddealer/avacity-2.0
756b9877c6df2bdc8b1368dfd5fdf5ca96179516
[ "MIT" ]
null
null
null
modules/passport.py
ddealer/avacity-2.0
756b9877c6df2bdc8b1368dfd5fdf5ca96179516
[ "MIT" ]
null
null
null
from modules.base_module import Module from const import tr class_name = "Passport" class Passport(Module): prefix = "psp" def __init__(self, server): self.server = server self.commands = {"sttrph": self.set_trophy, "psp": self.passport} def set_trophy(self, msg, client): if msg[...
31.862069
73
0.494589
111
924
4.018018
0.378378
0.089686
0.058296
0.058296
0.09417
0.09417
0
0
0
0
0
0.008104
0.332251
924
28
74
33
0.714749
0
0
0
0
0
0.132035
0.045455
0
0
0
0
0
1
0.130435
false
0.173913
0.086957
0
0.304348
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
519b7529b7df1bc3712150b4edaf1f31e5517b65
4,154
py
Python
tools/rcon_c.py
ocean0801/DjangoMinecraft
9dfb7ce82e1d05c771f0e40c45c071d1ad381390
[ "Apache-2.0" ]
null
null
null
tools/rcon_c.py
ocean0801/DjangoMinecraft
9dfb7ce82e1d05c771f0e40c45c071d1ad381390
[ "Apache-2.0" ]
null
null
null
tools/rcon_c.py
ocean0801/DjangoMinecraft
9dfb7ce82e1d05c771f0e40c45c071d1ad381390
[ "Apache-2.0" ]
null
null
null
import sys from mcipc.query import Client as Client_q from mcipc.rcon.je import Client import mcipc.rcon.errors from rcon.exceptions import WrongPassword import subprocess from subprocess import PIPE help = """ #コマンドプロンプトを出す 用法:rcon_c [IP]@[PORT] #Query飛ばせる 用法:rcon_c [IP]@[PORT] -q #Help出す 用法:rcon_c -help """ ver = "...
32.453125
113
0.57559
529
4,154
4.396975
0.240076
0.05804
0.072227
0.027515
0.11049
0.093723
0.093723
0.068788
0.068788
0.068788
0
0.037451
0.267212
4,154
128
114
32.453125
0.726675
0.001926
0
0.247934
0
0
0.153679
0.013993
0
0
0
0
0
1
0.066116
false
0.115702
0.057851
0
0.157025
0.280992
0
0
0
null
0
0
0
0
0
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
51b4a102ccd4a3e4801bd86ea9b0000d445a1da2
2,719
py
Python
examples/folder_example.py
jjrylearn/CBA-SignNow
7173885eb42d5de31e5a665bd4ff305e36cd3e8d
[ "MIT" ]
null
null
null
examples/folder_example.py
jjrylearn/CBA-SignNow
7173885eb42d5de31e5a665bd4ff305e36cd3e8d
[ "MIT" ]
null
null
null
examples/folder_example.py
jjrylearn/CBA-SignNow
7173885eb42d5de31e5a665bd4ff305e36cd3e8d
[ "MIT" ]
null
null
null
import signnow import json if __name__ == "__main__": signnow.Config( client_id="0fccdbc73581ca0f9bf8c379e6a96813", client_secret="3719a124bcfc03c534d4f5c05b5a196b", base_url="https://api-eval.signnow.com", ) # Enter your own credentials username = "" password = "" # C...
37.763889
117
0.675616
320
2,719
5.5375
0.28125
0.160835
0.067156
0.086907
0.288939
0.165914
0.12754
0.12754
0.12754
0.12754
0
0.025328
0.215888
2,719
71
118
38.295775
0.805816
0.095623
0
0.166667
0
0
0.309009
0.026091
0
0
0
0
0
0
null
null
0.033333
0.033333
null
null
0.316667
0
0
0
null
0
0
0
0
0
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
51b8a3e28a1393d727bfe9549978d9cc44a0ecc2
792
py
Python
origins/migrations/0009_auto_20180329_2356.py
paleocore/paleocore110
754f3248ab22a2996b43bd224bd4ba15462edf7d
[ "MIT" ]
null
null
null
origins/migrations/0009_auto_20180329_2356.py
paleocore/paleocore110
754f3248ab22a2996b43bd224bd4ba15462edf7d
[ "MIT" ]
7
2020-02-05T20:54:24.000Z
2021-12-13T20:13:20.000Z
origins/migrations/0009_auto_20180329_2356.py
paleocore/paleocore110
754f3248ab22a2996b43bd224bd4ba15462edf7d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2018-03-29 23:56 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('origins', '0008_auto_20180110_0723'), ] operations...
26.4
123
0.593434
80
792
5.75
0.6125
0.052174
0.06087
0.095652
0
0
0
0
0
0
0
0.057192
0.271465
792
29
124
27.310345
0.740035
0.085859
0
0.409091
1
0
0.120666
0.0319
0
0
0
0
0
1
0
false
0
0.136364
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
51ba6368c0a69577751d4a4c01cfd80d3f8491a0
650
py
Python
superset/views/extract_db_info.py
charvigupta/apachesuperset_ed
174ad6ca1ec89920bf77a1c9989a319c373dacf9
[ "Apache-2.0" ]
null
null
null
superset/views/extract_db_info.py
charvigupta/apachesuperset_ed
174ad6ca1ec89920bf77a1c9989a319c373dacf9
[ "Apache-2.0" ]
8
2020-03-24T17:59:51.000Z
2022-03-29T22:27:47.000Z
superset/views/extract_db_info.py
charvigupta/apachesuperset_edit
174ad6ca1ec89920bf77a1c9989a319c373dacf9
[ "Apache-2.0" ]
null
null
null
import sqlite3 ## path to .db connection = sqlite3.connect("/home/charvi/.superset/superset.db") def sql_table_fetch(con): datasource_dict = {} database_dict = {} cursorObj = con.cursor() cursorObj.execute('SELECT * FROM tables') rows = cursorObj.fetchall() for row in rows: db_val = str(list(row)[6]) p...
21.666667
66
0.678462
97
650
4.340206
0.453608
0.133017
0.15677
0.185273
0
0
0
0
0
0
0
0.026978
0.144615
650
29
67
22.413793
0.730216
0.016923
0
0
0
0
0.102362
0.053543
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.166667
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
51c24b14abcf3cfb02d52beccdce8c575d714ccd
7,895
py
Python
tests/data/test_array.py
dead-beef/backtest
052c558aeeffbae7c2fde0a13bcecec3ca4d6bd0
[ "MIT" ]
null
null
null
tests/data/test_array.py
dead-beef/backtest
052c558aeeffbae7c2fde0a13bcecec3ca4d6bd0
[ "MIT" ]
null
null
null
tests/data/test_array.py
dead-beef/backtest
052c558aeeffbae7c2fde0a13bcecec3ca4d6bd0
[ "MIT" ]
null
null
null
from unittest import TestCase from tempfile import mkstemp from os import remove, close from sys import exc_info import numpy as np from numpy.testing import assert_array_equal from backtest.data.array import ArrayDataSource, FileDataSource class TestArrayDataSource(TestCase): data = { 'dataset0': np.ar...
34.030172
76
0.550095
958
7,895
4.421712
0.126305
0.05288
0.110482
0.062795
0.610009
0.536827
0.40864
0.323654
0.306185
0.227101
0
0.057685
0.31273
7,895
231
77
34.177489
0.723
0
0
0.298507
0
0
0.045598
0
0
0
0
0
0.303483
0
null
null
0
0.034826
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
51d65899e0060955d473d4787f781020a6e5fc16
1,016
py
Python
pyaff4/version.py
Enqueuing/pyaff4
60617a8738465d6590201ba0b4891fabd2dab8fa
[ "Apache-2.0" ]
null
null
null
pyaff4/version.py
Enqueuing/pyaff4
60617a8738465d6590201ba0b4891fabd2dab8fa
[ "Apache-2.0" ]
null
null
null
pyaff4/version.py
Enqueuing/pyaff4
60617a8738465d6590201ba0b4891fabd2dab8fa
[ "Apache-2.0" ]
null
null
null
class Version(object): def __init__(self, major, minor, tool): self.major = major self.minor = minor self.tool = tool @staticmethod def create(dic): return Version(int(dic["major"]),int(dic["minor"]),dic["tool"]) def is10(self): if self.major == 1 and self.minor...
27.459459
85
0.565945
132
1,016
4.287879
0.272727
0.159011
0.09894
0.111307
0.226148
0.09894
0.09894
0.09894
0
0
0
0.03267
0.307087
1,016
37
86
27.459459
0.771307
0
0
0.233333
0
0
0.05998
0.028515
0
0
0
0
0
1
0.233333
false
0
0
0.1
0.6
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
51d74887e071363f278853415f8af7fafa61e356
797
py
Python
backend/unpp_api/apps/project/migrations/0079_eoi_population.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
6
2017-11-21T10:00:44.000Z
2022-02-12T16:51:48.000Z
backend/unpp_api/apps/project/migrations/0079_eoi_population.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
995
2017-07-31T02:08:36.000Z
2022-03-08T22:44:03.000Z
backend/unpp_api/apps/project/migrations/0079_eoi_population.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
1
2021-07-21T10:45:15.000Z
2021-07-21T10:45:15.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-03-21 08:58 from __future__ import unicode_literals import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('project', '0078_auto_20181016_1513'), ] oper...
36.227273
358
0.65872
92
797
5.576087
0.815217
0.050682
0.081871
0.105263
0
0
0
0
0
0
0
0.053681
0.181932
797
21
359
37.952381
0.733129
0.086575
0
0
1
0
0.241379
0.031724
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
51e252b86c248d94115c4fd3194f78b5d7ca75ab
8,644
py
Python
apps/jamendo/models.py
matagus/django-jamendo
9004562fdae9d438048c6c11463113337ed874b7
[ "BSD-3-Clause" ]
2
2015-11-05T11:54:20.000Z
2016-06-18T05:23:34.000Z
apps/jamendo/models.py
matagus/django-jamendo
9004562fdae9d438048c6c11463113337ed874b7
[ "BSD-3-Clause" ]
null
null
null
apps/jamendo/models.py
matagus/django-jamendo
9004562fdae9d438048c6c11463113337ed874b7
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import urllib from django.contrib.contenttypes.models import ContentType from django.db import models from tagging.models import Tag class HistoryMixin(models.Model): # creation date time added_at = models.DateTimeField(auto_now_add=True) # last modified dat...
36.319328
115
0.679778
1,155
8,644
4.922078
0.153247
0.047493
0.056113
0.058047
0.675989
0.618118
0.584345
0.547405
0.522076
0.483026
0
0.011886
0.192156
8,644
237
116
36.472574
0.802234
0.053679
0
0.472727
0
0.042424
0.090418
0
0
0
0
0
0
1
0.151515
false
0
0.024242
0.127273
0.878788
0.006061
0
0
0
null
0
0
0
0
0
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
51e41d78079dadfc337c3452fc00891250587de1
651
py
Python
convert_to_tflite/ex_albert.py
Pixir/Pixir
63a6fc0728403af92eadf188f532f9f41cd9f912
[ "MIT" ]
null
null
null
convert_to_tflite/ex_albert.py
Pixir/Pixir
63a6fc0728403af92eadf188f532f9f41cd9f912
[ "MIT" ]
1
2020-02-10T08:11:23.000Z
2020-02-10T08:11:23.000Z
convert_to_tflite/ex_albert.py
Pixir/Pixir
63a6fc0728403af92eadf188f532f9f41cd9f912
[ "MIT" ]
3
2020-02-09T11:14:33.000Z
2020-04-11T16:10:17.000Z
import numpy as np import tensorflow as tf from tensorflow.keras.layers import Dense, Input from tensorflow.keras.models import Model def build_model(bert_layer, max_len=512): input_word_ids = Input(shape=(max_len, ), dtype=tf.int32, name='input_word_ids') input_mask = Input(shape=(max_len, ), dtype=tf.int32...
31
87
0.738863
98
651
4.622449
0.357143
0.0883
0.10596
0.15011
0.419426
0.384106
0.384106
0.247241
0.247241
0
0
0.017921
0.142857
651
20
88
32.55
0.793907
0
0
0
0
0
0.053929
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
51fb1ceb8e5dd3554ae0e7d78429247c89925786
4,137
py
Python
welib/weio/hawc2_htc_file.py
moonieann/welib
0e430ad3ca034d0d2d60bdb7bbe06c947ce08f52
[ "MIT" ]
24
2019-07-24T23:37:10.000Z
2022-03-30T20:40:40.000Z
welib/weio/hawc2_htc_file.py
moonieann/welib
0e430ad3ca034d0d2d60bdb7bbe06c947ce08f52
[ "MIT" ]
null
null
null
welib/weio/hawc2_htc_file.py
moonieann/welib
0e430ad3ca034d0d2d60bdb7bbe06c947ce08f52
[ "MIT" ]
11
2019-03-14T13:47:04.000Z
2022-03-31T15:47:27.000Z
""" Wrapper around wetb to read/write htc files. TODO: rewrite of c2_def might not be obvious """ from .file import File import numpy as np import pandas as pd import os from .wetb.hawc2.htc_file import HTCFile from .hawc2_st_file import HAWC2StFile class HAWC2HTCFile(File): @staticmethod def defaultExtens...
35.059322
139
0.538313
541
4,137
3.994455
0.275416
0.03702
0.03702
0.012957
0.215641
0.149005
0.073114
0.073114
0.073114
0.031467
0
0.021324
0.342519
4,137
117
140
35.358974
0.773162
0.080493
0
0.146067
0
0
0.104984
0
0
0
0
0.017094
0
1
0.101124
false
0.011236
0.067416
0.022472
0.247191
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
51fedc3c7aed8f1b7c56d66b2ea8e3ad7b34ce68
7,396
py
Python
stream/clients/python/bookkeeper/proto/kv_pb2.py
pkumar-singh/bookkeeper
fe671ea51bc837d71c54a9db265c3dbd5c990e47
[ "Apache-2.0" ]
1,545
2015-01-12T07:49:24.000Z
2022-03-31T10:30:49.000Z
stream/clients/python/bookkeeper/proto/kv_pb2.py
pkumar-singh/bookkeeper
fe671ea51bc837d71c54a9db265c3dbd5c990e47
[ "Apache-2.0" ]
2,613
2015-12-02T13:57:01.000Z
2022-03-31T23:35:22.000Z
stream/clients/python/bookkeeper/proto/kv_pb2.py
pkumar-singh/bookkeeper
fe671ea51bc837d71c54a9db265c3dbd5c990e47
[ "Apache-2.0" ]
843
2015-02-09T03:11:58.000Z
2022-03-31T10:31:41.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: kv.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection...
38.321244
755
0.739995
993
7,396
5.252769
0.168177
0.053681
0.061925
0.057324
0.627876
0.56921
0.526649
0.471051
0.449578
0.449578
0
0.043066
0.130341
7,396
192
756
38.520833
0.767879
0.037453
0
0.589286
1
0.005952
0.20135
0.170416
0
0
0
0
0
1
0
false
0
0.029762
0
0.029762
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
a4039ad4efb6c0d37dd3be5efd1fcbd5635b9393
2,114
py
Python
start.py
chingyuchen/CYCTelebot
0a37f9bd3e033bbca4f3829375738fcbd272bfd0
[ "MIT" ]
null
null
null
start.py
chingyuchen/CYCTelebot
0a37f9bd3e033bbca4f3829375738fcbd272bfd0
[ "MIT" ]
null
null
null
start.py
chingyuchen/CYCTelebot
0a37f9bd3e033bbca4f3829375738fcbd272bfd0
[ "MIT" ]
null
null
null
################################################################################ ''' File: start.py Author: Ching-Yu Chen Description: start.py contains Start class, which is a program object of the "/start" command. Copyright (c) 2017 Ching-Yu Chen ''' ###############################################################...
26.425
85
0.441343
191
2,114
4.759162
0.445026
0.022002
0.024202
0
0
0
0
0
0
0
0
0.004887
0.225639
2,114
79
86
26.759494
0.550397
0.400662
0
0
0
0
0.136196
0
0
0
0
0
0
1
0.136364
false
0
0.136364
0.045455
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
a40c4189bc867c5e01389bf45d7b952d2e087e30
3,967
py
Python
dependencynet/network/stylebuilder.py
cfalguiere/dependencynet
485a9d7fe39988b7b733f04e7980382a1e0db8f8
[ "MIT" ]
null
null
null
dependencynet/network/stylebuilder.py
cfalguiere/dependencynet
485a9d7fe39988b7b733f04e7980382a1e0db8f8
[ "MIT" ]
16
2021-05-01T11:44:35.000Z
2021-06-12T22:25:23.000Z
dependencynet/network/stylebuilder.py
cfalguiere/dependencynet
485a9d7fe39988b7b733f04e7980382a1e0db8f8
[ "MIT" ]
null
null
null
""" This module provides helpers to setup the cytoscape graph style """ import logging # TODO pattern builder class StyleBuilder(): logger = logging.getLogger(__name__) @classmethod def __init__(self, schema): self.schema = schema self.graph_style = None self.levels_colors = ['#BB...
31.484127
73
0.364507
299
3,967
4.749164
0.428094
0.06338
0.059155
0.03169
0.289437
0.24507
0.205634
0.159155
0.159155
0.159155
0
0.040868
0.500378
3,967
125
74
31.736
0.67558
0.028485
0
0.288288
0
0
0.19844
0.006242
0
0
0
0.008
0
1
0.027027
false
0
0.009009
0
0.072072
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
cf8cb590f7b91692ef7bf4d6ee7b7379d315164d
2,949
py
Python
src/utils/models.py
Gigawhat-net/Gigawhat-Website
9464772a3655ad926110ab35583b79415566d88e
[ "MIT" ]
2
2022-02-19T08:48:59.000Z
2022-02-23T23:47:52.000Z
src/utils/models.py
Gigawhat-net/Gigawhat-Website
9464772a3655ad926110ab35583b79415566d88e
[ "MIT" ]
null
null
null
src/utils/models.py
Gigawhat-net/Gigawhat-Website
9464772a3655ad926110ab35583b79415566d88e
[ "MIT" ]
null
null
null
# Gigawhat Website JSON models file. # Copyright 2022 Gigawhat Programming Team # Written by Samyar Sadat Akhavi, 2022. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 o...
29.49
190
0.646999
399
2,949
4.614035
0.320802
0.038023
0.032591
0.030961
0.330255
0.294948
0.217273
0.217273
0.217273
0.217273
0
0.004034
0.243472
2,949
100
191
29.49
0.821156
0.361478
0
0.072727
0
0
0.02161
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.581818
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
cf8e6347ace51a825bb68c0e9d189d4f91bbb8a8
51,386
py
Python
basic_derivation/factor_basic_derivation.py
STHSF/panther
8122f299c5225f683c24070a1048e7bfbbe831fd
[ "Apache-2.0" ]
1
2019-10-16T06:24:41.000Z
2019-10-16T06:24:41.000Z
basic_derivation/factor_basic_derivation.py
STHSF/panther
8122f299c5225f683c24070a1048e7bfbbe831fd
[ "Apache-2.0" ]
null
null
null
basic_derivation/factor_basic_derivation.py
STHSF/panther
8122f299c5225f683c24070a1048e7bfbbe831fd
[ "Apache-2.0" ]
1
2020-01-14T05:15:02.000Z
2020-01-14T05:15:02.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- """ @version: @author: li @file: factor_operation_capacity.py @time: 2019-05-30 """ import gc import sys sys.path.append('../') sys.path.append('../../') sys.path.append('../../../') import six, pdb import pandas as pd from pandas.io.json import json_normalize from utili...
48.79962
162
0.560464
5,000
51,386
5.609
0.1084
0.117525
0.025994
0.036584
0.739882
0.703833
0.6757
0.653806
0.597932
0.576609
0
0.042202
0.327677
51,386
1,052
163
48.846008
0.769567
0.140894
0
0.599691
0
0
0.142279
0.044688
0
0
0
0
0
1
0.078825
false
0
0.009274
0
0.244204
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf97d188faadce0aa4970ceb639f5935618389ba
1,425
py
Python
website/market/forms.py
Dmytrenko-Roman/flask-learning
fcc4f2fa62346728fd0c7108d51a40c8c85f16fb
[ "MIT" ]
null
null
null
website/market/forms.py
Dmytrenko-Roman/flask-learning
fcc4f2fa62346728fd0c7108d51a40c8c85f16fb
[ "MIT" ]
null
null
null
website/market/forms.py
Dmytrenko-Roman/flask-learning
fcc4f2fa62346728fd0c7108d51a40c8c85f16fb
[ "MIT" ]
null
null
null
from typing import NoReturn from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField from wtforms.validators import Length, EqualTo, Email, DataRequired, ValidationError from market.models import User class RegisterForm(FlaskForm): username = StringField( label='User n...
33.928571
84
0.696842
148
1,425
6.621622
0.358108
0.065306
0.057143
0.067347
0.036735
0
0
0
0
0
0
0.006014
0.183158
1,425
41
85
34.756098
0.835911
0
0
0
0
0
0.089123
0
0
0
0
0
0
1
0.064516
false
0.193548
0.16129
0
0.548387
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
cf9f2367304d30fca6f48f63b640e77cc51e3d97
1,710
py
Python
tests/contrib/hardening/audits/test_base_audits.py
AurelienLourot/charm-helpers
b5725ac546372e7d4004d15095f79cdd5e7da687
[ "Apache-2.0" ]
15
2017-09-20T13:37:10.000Z
2021-11-03T13:31:15.000Z
tests/contrib/hardening/audits/test_base_audits.py
AurelienLourot/charm-helpers
b5725ac546372e7d4004d15095f79cdd5e7da687
[ "Apache-2.0" ]
313
2017-09-15T13:22:58.000Z
2022-02-25T17:55:01.000Z
tests/contrib/hardening/audits/test_base_audits.py
AurelienLourot/charm-helpers
b5725ac546372e7d4004d15095f79cdd5e7da687
[ "Apache-2.0" ]
136
2017-09-19T13:37:33.000Z
2022-03-29T11:08:00.000Z
# Copyright 2016 Canonical Limited. # # 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 writi...
32.264151
74
0.711696
218
1,710
5.394495
0.408257
0.170068
0.046769
0.072279
0.34949
0.34949
0.34949
0.329932
0.329932
0.269558
0
0.005948
0.21345
1,710
52
75
32.884615
0.868401
0.322807
0
0.482759
0
0
0
0
0
0
0
0
0.172414
1
0.275862
false
0
0.068966
0.068966
0.448276
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
cf9f8016789a09d33edadc3335344779a6021320
1,881
py
Python
dlutils/async_calls.py
podgorskiy/dlutils
716c99fd26cde73550c58b2be1071d64c67ca036
[ "Apache-2.0" ]
5
2019-11-06T20:42:38.000Z
2020-09-06T02:09:56.000Z
dlutils/async_calls.py
podgorskiy/dlutils
716c99fd26cde73550c58b2be1071d64c67ca036
[ "Apache-2.0" ]
2
2020-04-23T09:22:29.000Z
2020-04-23T14:41:22.000Z
dlutils/async_calls.py
podgorskiy/dlutils
716c99fd26cde73550c58b2be1071d64c67ca036
[ "Apache-2.0" ]
3
2020-04-28T18:12:47.000Z
2020-08-28T06:50:34.000Z
# Copyright 2019-2020 Stanislav Pidhorskyi # # 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 i...
30.836066
110
0.643275
233
1,881
5.064378
0.429185
0.050847
0.035593
0.027119
0.149153
0.113559
0.113559
0.113559
0.113559
0.113559
0
0.008208
0.222754
1,881
60
111
31.35
0.798906
0.339181
0
0.294118
0
0
0.008143
0
0
0
0
0
0
1
0.235294
false
0
0.029412
0.058824
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
cfa10eff9d6ba2ad9289d56ecadbe83a25ccca43
6,440
py
Python
buildscripts/perf_regression_check.py
tychoish/mongo
0c695aa1e879af482dc3aea4768dbda223ff4592
[ "Apache-2.0" ]
null
null
null
buildscripts/perf_regression_check.py
tychoish/mongo
0c695aa1e879af482dc3aea4768dbda223ff4592
[ "Apache-2.0" ]
null
null
null
buildscripts/perf_regression_check.py
tychoish/mongo
0c695aa1e879af482dc3aea4768dbda223ff4592
[ "Apache-2.0" ]
null
null
null
import argparse import json import sys import itertools from dateutil import parser from datetime import timedelta, datetime # Example usage: # perf_regression_check.py -f history_file.json --rev 18808cd923789a34abd7f13d62e7a73fafd5ce5f # Loads the history json file, and looks for regressions at the revision 18808cd.....
39.509202
176
0.622826
803
6,440
4.92279
0.268991
0.019479
0.013661
0.017455
0.149507
0.125221
0.076651
0.076651
0.076651
0.068303
0
0.011443
0.267236
6,440
162
177
39.753086
0.826234
0.119721
0
0.171171
0
0.018018
0.175727
0.00402
0
0
0
0
0
0
null
null
0
0.054054
null
null
0.054054
0
0
0
null
0
0
0
0
0
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
cfa85e7a26682623d52de44fb84f4b6628b6a4ac
3,919
py
Python
pages/process.py
TheKickStater/Success-Prediction-Option2
c055b4aa2cf7939ea3bad44dcba7496f4dfb9b17
[ "MIT" ]
null
null
null
pages/process.py
TheKickStater/Success-Prediction-Option2
c055b4aa2cf7939ea3bad44dcba7496f4dfb9b17
[ "MIT" ]
null
null
null
pages/process.py
TheKickStater/Success-Prediction-Option2
c055b4aa2cf7939ea3bad44dcba7496f4dfb9b17
[ "MIT" ]
1
2021-07-05T19:49:50.000Z
2021-07-05T19:49:50.000Z
# Imports from 3rd party libraries import dash import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output # Imports from this application from app import app # 1 column layout # https://dash-bootstrap-components...
55.197183
125
0.679765
544
3,919
4.886029
0.488971
0.011287
0.017306
0.013544
0
0
0
0
0
0
0
0.012518
0.286553
3,919
71
126
55.197183
0.938126
0.039296
0
0.125
0
0
0.077748
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
cfae211b849128076fb63e783ca1e748c61cd1c7
701
py
Python
setup.py
jccriado/basisgen
9d9f31bf9182915862d3c677f35b668fd3fd7184
[ "MIT" ]
7
2019-01-14T13:20:16.000Z
2021-09-09T03:12:48.000Z
setup.py
jccriado/basisgen
9d9f31bf9182915862d3c677f35b668fd3fd7184
[ "MIT" ]
null
null
null
setup.py
jccriado/basisgen
9d9f31bf9182915862d3c677f35b668fd3fd7184
[ "MIT" ]
3
2020-09-10T03:43:27.000Z
2022-02-15T15:11:10.000Z
from distutils.core import setup setup( name='basisgen', version='1.0.2', description='Package for the generation of operator bases', url='https://github.com/jccriado/basisgen', author='Juan Carlos Criado', author_email='jccriadoalamo@ugr.es', license='MIT', packages=['basisgen'], ...
25.035714
63
0.621969
70
701
6.214286
0.8
0.087356
0.114943
0.11954
0
0
0
0
0
0
0
0.011194
0.235378
701
27
64
25.962963
0.800373
0
0
0
0
0
0.586305
0.062767
0
0
0
0
0
1
0
true
0
0.05
0
0.05
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
cfb27328fd9c7e8d1bdf4b79eb0514003a3c336b
433
py
Python
tictactoe/main.py
neelabhg/tic-tac-toe-python
1ab6cbbc5b187e0088c90ba1c523caec01f62fcd
[ "Unlicense" ]
1
2019-03-02T23:43:05.000Z
2019-03-02T23:43:05.000Z
tictactoe/main.py
neelabhg/tic-tac-toe-python
1ab6cbbc5b187e0088c90ba1c523caec01f62fcd
[ "Unlicense" ]
null
null
null
tictactoe/main.py
neelabhg/tic-tac-toe-python
1ab6cbbc5b187e0088c90ba1c523caec01f62fcd
[ "Unlicense" ]
null
null
null
import random from .game import Game from .board import Board from .player import Human, SimpleAI from .tokens import PLAYER_TOKENS from .ui import ConsoleUserInterface def main(): tokens = list(PLAYER_TOKENS) random.shuffle(tokens) Game( ConsoleUserInterface(), Board(), tuple(toke...
18.826087
36
0.65127
49
433
5.55102
0.44898
0.088235
0
0
0
0
0
0
0
0
0
0.006135
0.247113
433
22
37
19.681818
0.828221
0
0
0
0
0
0.018476
0
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.388889
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
cfb2a82be62fc4e918b6bb7081fa8625305c1c42
959
py
Python
lib/library/file_store.py
overholts/tuner
761a40d152d3c7afc681aaaecf1660bc93d68a97
[ "MIT" ]
1
2020-12-26T21:56:50.000Z
2020-12-26T21:56:50.000Z
lib/library/file_store.py
overholts/tuner
761a40d152d3c7afc681aaaecf1660bc93d68a97
[ "MIT" ]
3
2019-10-28T18:16:25.000Z
2019-11-23T07:50:28.000Z
lib/library/file_store.py
overholts/tuner
761a40d152d3c7afc681aaaecf1660bc93d68a97
[ "MIT" ]
null
null
null
import logging from datetime import datetime from pathlib import Path from lib.entities import Source from lib.library.datetime_path_resolver import DatetimePathResolver from lib.util.file_utils import copy from lib.library.parameterized_path_resolver import ParameterizedPathResolver logger = logging.getLogger("FileS...
30.935484
77
0.724713
102
959
6.607843
0.411765
0.041543
0.041543
0.091988
0.124629
0.124629
0
0
0
0
0
0
0.20438
959
30
78
31.966667
0.883355
0
0
0
0
0
0.045881
0
0
0
0
0
0
1
0.090909
false
0
0.318182
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
0
0
1
0
0
0
0
1
cfb33867463e5504c29af9ab9298fd4f4a07d245
19,230
py
Python
mod/common.py
lokal-profil/isfdb_site
0ce20d6347849926d4eda961ea9249c31519eea5
[ "BSD-3-Clause" ]
null
null
null
mod/common.py
lokal-profil/isfdb_site
0ce20d6347849926d4eda961ea9249c31519eea5
[ "BSD-3-Clause" ]
null
null
null
mod/common.py
lokal-profil/isfdb_site
0ce20d6347849926d4eda961ea9249c31519eea5
[ "BSD-3-Clause" ]
null
null
null
# # (C) COPYRIGHT 2006-2021 Al von Ruff, Bill Longley, Ahasuerus and Dirk Stoecker # ALL RIGHTS RESERVED # # The copyright notice above does not evidence any actual or # intended publication of such source code. # # Version: $Revision$ # Date: $Date$ import sys import MySQLdb from isfdb ...
38.306773
292
0.598856
2,375
19,230
4.741474
0.172211
0.024865
0.013498
0.015984
0.340645
0.271113
0.248735
0.242874
0.219607
0.199005
0
0.007484
0.228705
19,230
501
293
38.383234
0.751753
0.162403
0
0.353623
0
0.008696
0.231223
0.028702
0
0
0
0
0
0
null
null
0
0.02029
null
null
0.15942
0
0
0
null
0
0
0
0
0
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
cfba681248ead474b173922b0cc9441db7afa61f
5,048
py
Python
batch_generators/center_batch_generator.py
huhongjun/3d-semantic-segmentation
6aa8936e2a046a0536c0ce1dcc0f7e83a6f13cf2
[ "MIT" ]
98
2018-10-07T03:30:36.000Z
2022-01-18T20:11:06.000Z
batch_generators/center_batch_generator.py
huhongjun/3d-semantic-segmentation
6aa8936e2a046a0536c0ce1dcc0f7e83a6f13cf2
[ "MIT" ]
11
2019-02-05T05:16:40.000Z
2022-03-07T13:58:54.000Z
batch_generators/center_batch_generator.py
huhongjun/3d-semantic-segmentation
6aa8936e2a046a0536c0ce1dcc0f7e83a6f13cf2
[ "MIT" ]
31
2018-10-07T01:28:46.000Z
2021-10-10T08:32:25.000Z
from tqdm import * from sklearn.neighbors import BallTree from .batch_generator import * from .ReadWriteLock import ReadWriteLock class CenterBatchGenerator(BatchGenerator): """ creates batches where the blobs are centered around a specific point in the grid cell """ def __init__(self, dataset, batch...
37.117647
123
0.609746
671
5,048
4.289121
0.244411
0.031272
0.030577
0.036484
0.316539
0.213343
0.196664
0.162613
0.113273
0.091035
0
0.01429
0.292987
5,048
135
124
37.392593
0.792099
0.121434
0
0.088889
0
0
0.029079
0
0
0
0
0.014815
0
1
0.111111
false
0.011111
0.044444
0.022222
0.266667
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
cfbdad3cc9cc30bac1ad1298b44f8776ca89cce8
4,133
py
Python
pysnmp-with-texts/GNOME-PRODUCT-ZEBRA-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/GNOME-PRODUCT-ZEBRA-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/GNOME-PRODUCT-ZEBRA-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module GNOME-PRODUCT-ZEBRA-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/GNOME-PRODUCT-ZEBRA-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:19:46 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
105.974359
477
0.781515
535
4,133
6.033645
0.323364
0.05948
0.104089
0.008674
0.414498
0.284387
0.284387
0.284387
0.284387
0.280669
0
0.049703
0.104283
4,133
38
478
108.763158
0.822258
0.082265
0
0
0
0.096774
0.442125
0.017706
0
0
0
0
0
1
0
false
0
0.225806
0
0.225806
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cfbec43f9458646fb153a48e05910a959bb3e244
1,915
py
Python
tests/test_visitors.py
stonier/py_trees
e1973d62097e999436338cdc6094fd628e27a487
[ "BSD-3-Clause" ]
47
2017-05-02T19:12:28.000Z
2019-02-21T10:28:25.000Z
tests/test_visitors.py
stonier/py_trees
e1973d62097e999436338cdc6094fd628e27a487
[ "BSD-3-Clause" ]
93
2017-02-21T05:26:15.000Z
2019-02-21T00:53:35.000Z
tests/test_visitors.py
stonier/py_trees
e1973d62097e999436338cdc6094fd628e27a487
[ "BSD-3-Clause" ]
26
2017-05-02T16:04:56.000Z
2019-02-02T14:36:44.000Z
#!/usr/bin/env python # # License: BSD # https://raw.githubusercontent.com/splintered-reality/py_trees/devel/LICENSE # ############################################################################## # Imports ############################################################################## import py_trees import py_tre...
33.017241
92
0.445953
166
1,915
4.957831
0.439759
0.119077
0.051033
0.080194
0.155529
0.060753
0
0
0
0
0
0.003625
0.13577
1,915
57
93
33.596491
0.493656
0.076762
0
0
0
0
0.086344
0.021145
0
0
0
0
0.074074
1
0.037037
false
0
0.074074
0
0.111111
0.185185
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
cfc54fd9ff9a978c8cad52413a4a721630adee07
2,456
py
Python
tests/integration/test_keys.py
bdharang/AWS_SHELL
4e84552f367f4da647e10be05795b870c112e3bb
[ "Apache-2.0" ]
null
null
null
tests/integration/test_keys.py
bdharang/AWS_SHELL
4e84552f367f4da647e10be05795b870c112e3bb
[ "Apache-2.0" ]
null
null
null
tests/integration/test_keys.py
bdharang/AWS_SHELL
4e84552f367f4da647e10be05795b870c112e3bb
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file acc...
40.262295
74
0.714984
335
2,456
5.083582
0.397015
0.041104
0.070464
0.05872
0.355843
0.355843
0.318262
0.285379
0.285379
0.116265
0
0.011242
0.203176
2,456
60
75
40.933333
0.858968
0.317997
0
0.088235
0
0
0
0
0
0
0
0.016667
0.235294
1
0.176471
false
0
0.205882
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
cfc6544d404526a968498fa74dcfb14a3f4cc863
515
py
Python
spyre/testing/contour.py
zhong-lab/optics
9de1942d9a128183ecb3d360b160b27126e7b8f0
[ "BSD-2-Clause" ]
1
2022-03-27T07:47:19.000Z
2022-03-27T07:47:19.000Z
spyre/testing/contour.py
zhong-lab/optics
9de1942d9a128183ecb3d360b160b27126e7b8f0
[ "BSD-2-Clause" ]
null
null
null
spyre/testing/contour.py
zhong-lab/optics
9de1942d9a128183ecb3d360b160b27126e7b8f0
[ "BSD-2-Clause" ]
4
2019-11-08T22:39:04.000Z
2021-11-05T02:39:37.000Z
##Config file for lifetime_spyrelet.py in spyre/spyre/spyrelet/ # Device List devices = { 'fungen':[ 'lantz.drivers.keysight.Keysight_33622A.Keysight_33622A', ['USB0::0x0957::0x5707::MY53801461::INSTR'], {} ], 'wm':[ 'lantz.drivers.bristol.bristol771.Bristol_771', [6...
20.6
65
0.553398
47
515
5.957447
0.617021
0.085714
0
0
0
0
0
0
0
0
0
0.104839
0.27767
515
25
66
20.6
0.647849
0.172816
0
0.25
0
0
0.491726
0.41844
0
0
0.028369
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cfc6ac982533005563416454b2fd605013a12295
1,168
py
Python
jivago/config/abstract_context.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
12
2018-03-19T20:57:44.000Z
2020-01-27T14:11:24.000Z
jivago/config/abstract_context.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
73
2018-04-20T22:26:00.000Z
2021-12-01T14:17:37.000Z
jivago/config/abstract_context.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
1
2019-02-28T13:33:45.000Z
2019-02-28T13:33:45.000Z
from typing import List from jivago.config.router.router_builder import RouterBuilder from jivago.inject.service_locator import ServiceLocator class AbstractContext(object): INSTANCE: "AbstractContext" = None def __init__(self): self.serviceLocator = ServiceLocator() AbstractContext.INSTANCE...
29.948718
69
0.588185
92
1,168
6.782609
0.413043
0.144231
0.173077
0.096154
0
0
0
0
0
0
0
0
0.305651
1,168
38
70
30.736842
0.76942
0
0
0.142857
0
0
0.253425
0
0
0
0
0
0
1
0.25
false
0
0.107143
0.071429
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
cfc6adad3acfbf07cf53b09d328993942e4d60b2
3,912
py
Python
tools/SpiderDiagrams.py
MALORGIS/l100toolsForArcGIS
fa010382c6e9b194dfcab837d0a84cae7357928f
[ "MIT" ]
2
2018-02-13T11:13:26.000Z
2020-12-08T00:48:21.000Z
tools/SpiderDiagrams.py
MALORGIS/l100toolsForArcGIS
fa010382c6e9b194dfcab837d0a84cae7357928f
[ "MIT" ]
null
null
null
tools/SpiderDiagrams.py
MALORGIS/l100toolsForArcGIS
fa010382c6e9b194dfcab837d0a84cae7357928f
[ "MIT" ]
1
2019-05-19T09:24:34.000Z
2019-05-19T09:24:34.000Z
# -*- coding: UTF-8 -*- import arcpy import os class SpiderDiagrams(object): def __init__(self): self.label = _("Spider Diagrams") self.description = _("Creates a SpiderDiagrams Polyline feature class from specified point features.") self.category = _("TransformationShapes") self.canRunInBackgrou...
28.977778
145
0.615031
360
3,912
6.630556
0.361111
0.029326
0.052367
0.043988
0.123167
0.096355
0.074571
0
0
0
0
0.011084
0.262014
3,912
134
146
29.19403
0.815379
0.025307
0
0.172043
0
0
0.121746
0
0
0
0
0
0
0
null
null
0
0.021505
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
cfcac3f3ec677d9483e34070e23c3362a5bc0ebd
384
py
Python
tools/isolate/data/trace_inputs/child2.py
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2016-03-10T09:13:57.000Z
2016-03-10T09:13:57.000Z
tools/isolate/data/trace_inputs/child2.py
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2022-03-13T08:39:05.000Z
2022-03-13T08:39:05.000Z
tools/isolate/data/trace_inputs/child2.py
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import time print 'child2' # Introduce a race condition with the parent so the parent may have a chance # to exit before the child. Will be random. time...
29.538462
76
0.75
68
384
4.220588
0.808824
0.062718
0
0
0
0
0
0
0
0
0
0.022293
0.182292
384
12
77
32
0.89172
0.791667
0
0
0
0
0.260274
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
0
0
0
null
0
0
0
0
0
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
cfcb408dbc782388920f682ed52cd81fb9fe12c4
7,528
py
Python
python/test/lib/rev_cache_test.py
cschutijser/scion
054cef53b31a577ed224a090d6a4fd3883fd520b
[ "Apache-2.0" ]
null
null
null
python/test/lib/rev_cache_test.py
cschutijser/scion
054cef53b31a577ed224a090d6a4fd3883fd520b
[ "Apache-2.0" ]
1
2020-03-20T01:28:56.000Z
2020-03-20T01:28:56.000Z
python/test/lib/rev_cache_test.py
cschutijser/scion
054cef53b31a577ed224a090d6a4fd3883fd520b
[ "Apache-2.0" ]
2
2020-03-14T16:03:27.000Z
2020-03-18T08:13:19.000Z
# Copyright 2017 ETH Zurich # # 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, sof...
40.256684
95
0.639878
1,066
7,528
4.204503
0.138837
0.110665
0.044177
0.063588
0.705266
0.695672
0.68697
0.673137
0.645248
0.617581
0
0.032431
0.229942
7,528
186
96
40.473118
0.740728
0.114639
0
0.666667
0
0
0.038252
0
0
0
0
0
0.193798
1
0.093023
false
0
0.046512
0
0.170543
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
cfdcebbc216feed7564d87b6b445683235a5091d
1,096
py
Python
ch4_ex.py
DexHunter/Think-Python-book-exercise-solutions
d0abae261eda1dca99043e17e8a1e614caad2140
[ "CC-BY-4.0" ]
24
2019-05-07T15:11:28.000Z
2022-03-02T04:50:28.000Z
ch4_ex.py
Dekzu/Think-Python-book-exercise-solutions
d0abae261eda1dca99043e17e8a1e614caad2140
[ "CC-BY-4.0" ]
null
null
null
ch4_ex.py
Dekzu/Think-Python-book-exercise-solutions
d0abae261eda1dca99043e17e8a1e614caad2140
[ "CC-BY-4.0" ]
19
2019-08-05T20:59:04.000Z
2022-03-07T05:13:32.000Z
#!/usr/bin/env python2 def square(t): for i in range(4): t.fd(100) t.lt(90) # move a right angle to the left def square_modified(t,length): for i in range(4): t.fd(length) #custom length t.lt(90) # move a right angle to the left def polygon(t,length, n): move_angle = 360.0 / n #!!!make angle to fl...
22.367347
90
0.656934
193
1,096
3.65285
0.362694
0.022695
0.034043
0.062411
0.38156
0.347518
0.347518
0.24539
0.09078
0.09078
0
0.043124
0.217153
1,096
49
91
22.367347
0.778555
0.306569
0
0.305556
0
0
0.010667
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cfe226aaf0e0f908806c99160af53e978ec94751
1,632
py
Python
genetix/chromosome.py
ryanleland/Genetix.py
04d8baef848871101837d8e51dae640e0b561cac
[ "MIT" ]
null
null
null
genetix/chromosome.py
ryanleland/Genetix.py
04d8baef848871101837d8e51dae640e0b561cac
[ "MIT" ]
3
2020-09-24T11:17:25.000Z
2021-06-25T15:28:06.000Z
genetix/chromosome.py
ryanleland/Genetix.py
04d8baef848871101837d8e51dae640e0b561cac
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import random from genetix.gene import Gene class Chromosome(object): """The base Chromosome class, which is a container for genes, and handles mutation via the offspring method. """ def __init__(self, names=[], genes=[]): self.names = names self.genes = gene...
24.358209
96
0.581495
203
1,632
4.566502
0.320197
0.058252
0.042071
0.023732
0
0
0
0
0
0
0
0.012281
0.301471
1,632
66
97
24.727273
0.800877
0.11826
0
0.102564
0
0
0.004926
0
0
0
0
0
0.025641
1
0.205128
false
0
0.051282
0.076923
0.410256
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
320daba2b9344dd64cb09e2f1bdbcba3a27a06a7
727
py
Python
ui_extensions/scheduled_snapshots/urls.py
hciudad/cloudbolt-forge
d1109c90dcd189defa70876906d394e0c91feab5
[ "Apache-2.0" ]
34
2015-08-30T09:26:41.000Z
2022-03-03T13:18:14.000Z
ui_extensions/scheduled_snapshots/urls.py
hciudad/cloudbolt-forge
d1109c90dcd189defa70876906d394e0c91feab5
[ "Apache-2.0" ]
22
2015-11-23T21:24:17.000Z
2022-01-31T04:24:24.000Z
ui_extensions/scheduled_snapshots/urls.py
hciudad/cloudbolt-forge
d1109c90dcd189defa70876906d394e0c91feab5
[ "Apache-2.0" ]
43
2015-11-18T16:26:22.000Z
2021-10-18T13:19:39.000Z
from django.conf.urls import url from xui.scheduled_snapshots import views xui_urlpatterns = [ url(r'^snapshots/configure_schedule/(?P<server_id>\d+)/$', views.configure_snapshot_schedule, name='configure_snapshot_schedule'), url(r'^snapshots/configure_max/(?P<server_id>\d+)/$', views.configur...
34.619048
97
0.689133
92
727
5.086957
0.282609
0.032051
0.111111
0.08547
0.425214
0.136752
0.136752
0
0
0
0
0
0.162311
727
20
98
36.35
0.768473
0
0
0.222222
0
0
0.425034
0.425034
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
320ea5b8d398f04c84eea2960dadbb6c6aa51208
931
py
Python
pubg/test1/match_object.py
jocelynchen66/PUBG-Madglory-Project
c429d6599d3aa612aa54221aaa9298bf23f16c2c
[ "MIT" ]
2
2019-08-20T14:02:36.000Z
2020-02-27T15:37:57.000Z
pubg/test1/match_object.py
jocelynchen66/PUBG-Madglory-Project
c429d6599d3aa612aa54221aaa9298bf23f16c2c
[ "MIT" ]
1
2019-05-03T10:35:36.000Z
2019-05-03T10:35:36.000Z
pubg/test1/match_object.py
jocelynchen66/PUBG-Madglory-Project
c429d6599d3aa612aa54221aaa9298bf23f16c2c
[ "MIT" ]
4
2019-05-03T10:31:34.000Z
2021-02-01T09:37:55.000Z
import datetime """ Match objects contain information about a completed match such as the game mode played, duration, and which players participated. """ class match_obj: def __init__(self, data): """ data is the response from pubg api after sending get request using match object url """ self.id = data['d...
34.481481
108
0.686359
116
931
5.448276
0.5
0.126582
0.199367
0
0
0
0
0
0
0
0
0.001222
0.121375
931
26
109
35.807692
0.771394
0.089151
0
0
0
0
0.317597
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.214286
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
32101e757885d9a472f1c28112608c235441a2d9
3,154
py
Python
anneal.py
rameziophobia/Travelling_Salesman_Optimization
a14f39f7e229daab4765ce415847dff2a402dee1
[ "MIT" ]
25
2020-06-10T10:29:05.000Z
2022-03-28T12:34:59.000Z
anneal.py
ImperB-riven/Travelling_Salesman_Optimization
a14f39f7e229daab4765ce415847dff2a402dee1
[ "MIT" ]
null
null
null
anneal.py
ImperB-riven/Travelling_Salesman_Optimization
a14f39f7e229daab4765ce415847dff2a402dee1
[ "MIT" ]
11
2021-06-10T20:32:17.000Z
2022-03-13T08:33:37.000Z
import math import random import matplotlib.pyplot as plt from util import City, read_cities, write_cities_and_return_them, generate_cities, visualize_tsp, path_cost class SimAnneal(object): def __init__(self, cities, temperature=-1, alpha=-1, stopping_temperature=-1, stopping_iter=-1): self.cities = citi...
39.924051
117
0.652505
400
3,154
4.93
0.27
0.032454
0.039047
0.038032
0.135903
0.124239
0.073022
0.03854
0.03854
0
0
0.015145
0.246354
3,154
78
118
40.435897
0.814472
0.007609
0
0.029851
1
0
0.023977
0
0
0
0
0
0
1
0.104478
false
0
0.059701
0.014925
0.208955
0.014925
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
5c5300263b29f017e9449c9edb41a244daf7f5f2
4,093
py
Python
test/test_nfw.py
LBJ-Wade/astrofunc_lensing_profile
d2223705bc44d07575a5e93291375ab8e69ebfa8
[ "MIT" ]
null
null
null
test/test_nfw.py
LBJ-Wade/astrofunc_lensing_profile
d2223705bc44d07575a5e93291375ab8e69ebfa8
[ "MIT" ]
null
null
null
test/test_nfw.py
LBJ-Wade/astrofunc_lensing_profile
d2223705bc44d07575a5e93291375ab8e69ebfa8
[ "MIT" ]
null
null
null
__author__ = 'sibirrer' from astrofunc.LensingProfiles.nfw import NFW from astrofunc.LensingProfiles.nfw_ellipse import NFW_ELLIPSE import numpy as np import numpy.testing as npt import pytest class TestNFW(object): """ tests the Gaussian methods """ def setup(self): self.nfw = NFW() d...
34.686441
79
0.61935
604
4,093
4.006623
0.134106
0.063636
0.136364
0.181818
0.70124
0.64876
0.596281
0.595455
0.552479
0.387603
0
0.158915
0.243587
4,093
118
80
34.686441
0.622739
0.015636
0
0.423913
0
0
0.004001
0
0
0
0
0
0.271739
1
0.086957
false
0
0.054348
0
0.163043
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
5c55c6a4e0aafa7625cb1671c77f4cbfbdd9f62a
1,192
py
Python
python/346.moving-average-from-data-stream.py
Zhenye-Na/leetcode
95196a45f5709ccf7b970ee5ac84a4bf8fe2301e
[ "MIT" ]
10
2019-09-15T00:23:57.000Z
2022-01-05T12:53:42.000Z
python/346.moving-average-from-data-stream.py
Zhenye-Na/leetcode
95196a45f5709ccf7b970ee5ac84a4bf8fe2301e
[ "MIT" ]
3
2021-06-30T00:39:26.000Z
2021-08-01T07:13:59.000Z
python/346.moving-average-from-data-stream.py
Zhenye-Na/leetcode
95196a45f5709ccf7b970ee5ac84a4bf8fe2301e
[ "MIT" ]
6
2020-02-08T02:55:22.000Z
2022-01-02T22:48:18.000Z
# [346] Moving Average from Data Stream # Description # Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. # Example # Example 1: # MovingAverage m = new MovingAverage(3); # m.next(1) = 1 // return 1.00000 # m.next(10) = (1 + 10) / 2 // return 5.50000 ...
22.490566
115
0.581376
163
1,192
4.226994
0.423313
0.069666
0.039187
0.037736
0
0
0
0
0
0
0
0.064362
0.296141
1,192
53
116
22.490566
0.756853
0.489933
0
0
0
0
0
0
0
0
0
0.018868
0
1
0.125
false
0
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5c56fbf2329347f87df5d54ce77cfba3934b235f
296
py
Python
setup/timvideos/streaming/get_aws_host.py
kattekrab/veyepar
d7010e451b1b04e7eb7b5ee0239696958ada41d6
[ "MIT" ]
20
2015-02-01T23:37:03.000Z
2021-12-07T16:32:41.000Z
setup/timvideos/streaming/get_aws_host.py
yoe/veyepar
440f7c0c907510a887c20f1dbddbc590d6065971
[ "MIT" ]
19
2015-01-03T05:19:33.000Z
2020-06-05T17:27:41.000Z
setup/timvideos/streaming/get_aws_host.py
yoe/veyepar
440f7c0c907510a887c20f1dbddbc590d6065971
[ "MIT" ]
18
2015-01-17T12:19:09.000Z
2021-11-20T19:03:08.000Z
import boto import pw id='i-b59966c7' # misson id='i-5dba412f' # america id='i-45ba4137' # cd id='i-e8a4a39b' # www creds = pw.stream['aws'] ec2 = boto.connect_ec2( creds['id'], creds['key'] ) hostname = ec2.get_all_instances(instance_ids=[id])[0].instances[0].public_dns_name print hostname
19.733333
83
0.709459
48
296
4.25
0.625
0.058824
0
0
0
0
0
0
0
0
0
0.09542
0.114865
296
14
84
21.142857
0.683206
0.070946
0
0
0
0
0.178439
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5c60e813837a2899967095755def16ef5fd905b8
27,491
py
Python
application.py
tartufotaruffetti/Catalog
a4b6c8044c2844a044208016bc9c8d92fc60a26e
[ "MIT" ]
1
2019-08-30T08:00:43.000Z
2019-08-30T08:00:43.000Z
application.py
tartufotaruffetti/catalog
a4b6c8044c2844a044208016bc9c8d92fc60a26e
[ "MIT" ]
null
null
null
application.py
tartufotaruffetti/catalog
a4b6c8044c2844a044208016bc9c8d92fc60a26e
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, redirect from flask import jsonify, url_for, flash from sqlalchemy import create_engine, asc from sqlalchemy.orm import sessionmaker from database_setup import Base, Category, CategoryItem, User from flask import session as login_session import random import strin...
33.607579
79
0.607399
3,263
27,491
5.019614
0.125958
0.047011
0.020514
0.026864
0.57763
0.539349
0.481531
0.437206
0.401368
0.372123
0
0.004754
0.296061
27,491
817
80
33.648715
0.841618
0.141392
0
0.419223
0
0
0.192427
0.023731
0
0
0
0
0
0
null
null
0
0.03272
null
null
0.00409
0
0
0
null
0
0
0
0
0
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
5c77a1715ededa923b6d8455c4a548bfe2ff797a
1,035
py
Python
leetcode/implement_strstr.py
dantin/leetcode-py
a0536eb37aa6ad6e2682f543407b5a45012173b4
[ "BSD-3-Clause" ]
null
null
null
leetcode/implement_strstr.py
dantin/leetcode-py
a0536eb37aa6ad6e2682f543407b5a45012173b4
[ "BSD-3-Clause" ]
null
null
null
leetcode/implement_strstr.py
dantin/leetcode-py
a0536eb37aa6ad6e2682f543407b5a45012173b4
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from typing import Dict class Solution: def strStr(self, haystack: str, needle: str) -> int: def init_shift_mat(s: str) -> Dict[str, int]: mat = {} for i in range(len(s) - 1, -1, -1): if s[i] not in mat: mat[s[i]] = len(s)...
29.571429
60
0.424155
129
1,035
3.348837
0.27907
0.055556
0.115741
0.185185
0.233796
0.185185
0
0
0
0
0
0.017699
0.454106
1,035
34
61
30.441176
0.746903
0.02029
0
0.137931
0
0
0.003953
0
0
0
0
0
0
1
0.068966
false
0
0.034483
0
0.344828
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
5c7e157177979d1fcd26c8ad29124311b8808f25
573
py
Python
processlib/forms.py
JanMalte/processlib
3c8c938479a85b5ad82258244b3c5eeaa537641e
[ "BSD-3-Clause" ]
1
2020-07-14T10:42:55.000Z
2020-07-14T10:42:55.000Z
processlib/forms.py
JanMalte/processlib
3c8c938479a85b5ad82258244b3c5eeaa537641e
[ "BSD-3-Clause" ]
2
2019-07-12T14:22:11.000Z
2019-07-30T07:27:20.000Z
processlib/forms.py
JanMalte/processlib
3c8c938479a85b5ad82258244b3c5eeaa537641e
[ "BSD-3-Clause" ]
2
2018-08-22T11:09:06.000Z
2019-07-12T14:16:00.000Z
from django import forms from django.core.exceptions import ValidationError from .models import Process class ProcessCancelForm(forms.ModelForm): def __init__(self, user=None, **kwargs): self.user = user super(ProcessCancelForm, self).__init__(**kwargs) def clean(self): data = super(P...
26.045455
80
0.668412
67
573
5.58209
0.552239
0.064171
0.139037
0
0
0
0
0
0
0
0
0
0.239093
573
21
81
27.285714
0.857798
0
0
0
0
0
0.075044
0
0
0
0
0
0
1
0.133333
false
0
0.2
0
0.533333
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
5c7f672134fc8d34e4154f8c2cd201d53a09c222
1,483
py
Python
notice/accounts/views.py
Smart-Notice-Bot/Smart.Notice.Bot
6da1e653a537237d89554616e0f5b0b1d7ea683d
[ "Apache-2.0" ]
null
null
null
notice/accounts/views.py
Smart-Notice-Bot/Smart.Notice.Bot
6da1e653a537237d89554616e0f5b0b1d7ea683d
[ "Apache-2.0" ]
null
null
null
notice/accounts/views.py
Smart-Notice-Bot/Smart.Notice.Bot
6da1e653a537237d89554616e0f5b0b1d7ea683d
[ "Apache-2.0" ]
2
2022-01-31T07:47:20.000Z
2022-02-19T15:30:21.000Z
from django.shortcuts import render, redirect # from django.contrib.auth.models import User from accounts.models import User from django.contrib import auth import logging logger=logging.getLogger(__name__) # Create your views here. def signup(request): if request.method == 'POST': if request.POST['passwo...
38.025641
310
0.661497
169
1,483
5.775148
0.301775
0.146516
0.055328
0.040984
0.196721
0.143443
0.077869
0
0
0
0
0.00253
0.20027
1,483
38
311
39.026316
0.820405
0.045179
0
0.354839
0
0
0.124558
0
0
0
0
0
0
1
0.096774
false
0.129032
0.129032
0
0.419355
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
5c8161112136b897a06a710fa42f401d6fc456fa
265
py
Python
means_and_mmts/make_fakedata.py
bmonreal/adv_lab_data_analysis
b334bd6e09346b6cb4281d1daabdd693c369f49d
[ "CC-BY-4.0" ]
2
2021-01-22T20:19:55.000Z
2022-01-14T13:40:05.000Z
means_and_mmts/make_fakedata.py
bmonreal/adv_lab_data_analysis
b334bd6e09346b6cb4281d1daabdd693c369f49d
[ "CC-BY-4.0" ]
null
null
null
means_and_mmts/make_fakedata.py
bmonreal/adv_lab_data_analysis
b334bd6e09346b6cb4281d1daabdd693c369f49d
[ "CC-BY-4.0" ]
1
2022-02-13T20:45:47.000Z
2022-02-13T20:45:47.000Z
import numpy as np wavelength = 626.34 constant = np.array([(3050+0.6*np.cos(np.pi*i/40.0))*(1/wavelength) for i in range(30)]) exactdata = constant*wavelength errorbar = 0.1*constant realdata = np.random.normal(exactdata,errorbar) runnumber = np.array(range(30))
29.444444
88
0.735849
45
265
4.333333
0.6
0.071795
0
0
0
0
0
0
0
0
0
0.088235
0.101887
265
8
89
33.125
0.731092
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
5c871735e452a5d1ed5f3422d090470fdc9dae9a
1,094
py
Python
admincommands/migrations/0001_initial.py
EralpB/django-admin-commands
9d127bac7b1320337a31b0958b2b787f559a1bef
[ "MIT" ]
null
null
null
admincommands/migrations/0001_initial.py
EralpB/django-admin-commands
9d127bac7b1320337a31b0958b2b787f559a1bef
[ "MIT" ]
null
null
null
admincommands/migrations/0001_initial.py
EralpB/django-admin-commands
9d127bac7b1320337a31b0958b2b787f559a1bef
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-17 14:32 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
35.290323
137
0.6234
115
1,094
5.8
0.547826
0.089955
0.089955
0.107946
0
0
0
0
0
0
0
0.018293
0.250457
1,094
30
138
36.466667
0.795122
0.041133
0
0
1
0
0.079274
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.304348
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
5c88c3ef7ffd3baf4ef5768c94d015c536d773e5
335
py
Python
Part 2 - Convolutional Neural Networks (CNN)/homework.py
onnoeberhard/eremenko-ii
76dfccfd962cf73a07f9f2e3b897e24f18e5a498
[ "MIT" ]
null
null
null
Part 2 - Convolutional Neural Networks (CNN)/homework.py
onnoeberhard/eremenko-ii
76dfccfd962cf73a07f9f2e3b897e24f18e5a498
[ "MIT" ]
null
null
null
Part 2 - Convolutional Neural Networks (CNN)/homework.py
onnoeberhard/eremenko-ii
76dfccfd962cf73a07f9f2e3b897e24f18e5a498
[ "MIT" ]
1
2020-05-24T14:35:41.000Z
2020-05-24T14:35:41.000Z
# use classifier and test_datagen from before # classifier is just a Sequential object x = test_datagen.flow_from_directory('dataset/image_folder', target_size = (64, 64), class_mode = 'binary') print("It is a %s!" % ("dog" if classifier.predict(...
55.833333
66
0.579104
41
335
4.560976
0.780488
0.117647
0
0
0
0
0
0
0
0
0
0.017544
0.319403
335
6
66
55.833333
0.802632
0.244776
0
0
0
0
0.171315
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5c8ac358d62726f0c769519ef1556ba6e5256acb
2,219
py
Python
tests/test_entry.py
juliamarc/mal-tier-list-bbcode-gen
3b14d1982883bea6c0b5cf3ba1de5360c2d71abc
[ "MIT" ]
null
null
null
tests/test_entry.py
juliamarc/mal-tier-list-bbcode-gen
3b14d1982883bea6c0b5cf3ba1de5360c2d71abc
[ "MIT" ]
null
null
null
tests/test_entry.py
juliamarc/mal-tier-list-bbcode-gen
3b14d1982883bea6c0b5cf3ba1de5360c2d71abc
[ "MIT" ]
null
null
null
import pytest import mal_tier_list_bbcode_gen.exceptions as exceptions from mal_tier_list_bbcode_gen.entry import Entry @pytest.fixture(autouse=True) def direct_image_url(): return 'example.com/test.png' @pytest.mark.parametrize( "mal_url,expected_name", [ pytest.param( 'https://my...
26.73494
76
0.612438
259
2,219
4.996139
0.30888
0.069552
0.132148
0.166924
0.507728
0.333076
0.27357
0.183153
0.107419
0.07728
0
0.02925
0.260478
2,219
82
77
27.060976
0.759293
0
0
0.373134
0
0
0.327625
0.031546
0
0
0
0
0.044776
1
0.074627
false
0
0.044776
0.014925
0.134328
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
5c95a660062d52b1a31e04ca4de0911205db84d0
551
py
Python
planner/migrations/0003_planner_test_json.py
elcolie/halfglass
e20b04a74728ed8c7d61379bb8e55f003bbdf2ca
[ "MIT" ]
null
null
null
planner/migrations/0003_planner_test_json.py
elcolie/halfglass
e20b04a74728ed8c7d61379bb8e55f003bbdf2ca
[ "MIT" ]
null
null
null
planner/migrations/0003_planner_test_json.py
elcolie/halfglass
e20b04a74728ed8c7d61379bb8e55f003bbdf2ca
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-28 02:35 from __future__ import unicode_literals import django.contrib.postgres.fields.jsonb from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('planner', '0002_auto_20160427_1052'), ] operatio...
23.956522
77
0.640653
61
551
5.606557
0.737705
0.076023
0.122807
0.157895
0.187135
0
0
0
0
0
0
0.076739
0.243194
551
22
78
25.045455
0.743405
0.121597
0
0
1
0
0.095634
0.047817
0
0
0
0
0
1
0
false
0
0.2
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5c99380d75cc8b90a271c5d710c4d29f7a825b1f
1,462
py
Python
run_on_gateway/deploy_monitoring/remove_deployment.py
JohanRuuskanen/FedApp
15cd57fd1f1f54d66aec4b597268b6e09a681917
[ "MIT" ]
6
2021-09-14T01:50:46.000Z
2022-03-25T12:50:40.000Z
run_on_gateway/deploy_monitoring/remove_deployment.py
JohanRuuskanen/FedApp
15cd57fd1f1f54d66aec4b597268b6e09a681917
[ "MIT" ]
null
null
null
run_on_gateway/deploy_monitoring/remove_deployment.py
JohanRuuskanen/FedApp
15cd57fd1f1f54d66aec4b597268b6e09a681917
[ "MIT" ]
1
2022-02-07T19:42:12.000Z
2022-02-07T19:42:12.000Z
import os import time import subprocess ROOT = "/home/ubuntu/run_on_gateway/clusters" def remove_prom_operator(clusters): for cluster in clusters: print("For %s" % cluster) os.system("helm --kube-context=%s --namespace monitoring uninstall po" % cluster) os.system("kubectl --context=%s del...
45.6875
104
0.698358
183
1,462
5.502732
0.306011
0.087388
0.148957
0.196624
0.496524
0.496524
0.496524
0.496524
0.457795
0.457795
0
0
0.173051
1,462
31
105
47.16129
0.83292
0
0
0.076923
0
0
0.533516
0.215458
0
0
0
0
0
1
0.038462
false
0
0.115385
0
0.153846
0.192308
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
5ca001b50969f28fabd4baf135d075a48d4c34b6
2,176
py
Python
src/blog/api/serializers.py
amirpsd/drf_blog_api
58be081a450840114af021e7412e469fad90456d
[ "MIT" ]
33
2022-02-11T12:16:29.000Z
2022-03-26T15:08:47.000Z
src/blog/api/serializers.py
amirpsd/django_blog_api
58be081a450840114af021e7412e469fad90456d
[ "MIT" ]
null
null
null
src/blog/api/serializers.py
amirpsd/django_blog_api
58be081a450840114af021e7412e469fad90456d
[ "MIT" ]
5
2022-02-11T13:03:52.000Z
2022-03-28T16:04:32.000Z
from rest_framework import serializers from blog.models import Blog, Category # create serializers class BlogsListSerializer(serializers.ModelSerializer): author = serializers.SerializerMethodField(method_name='get_author') category = serializers.SerializerMethodField(method_name='get_category') def g...
24.177778
83
0.592831
198
2,176
6.373737
0.292929
0.126783
0.150555
0.166403
0.400158
0.253566
0.253566
0.253566
0.253566
0.122029
0
0
0.298254
2,176
89
84
24.449438
0.826457
0.008272
0
0.333333
0
0
0.106265
0
0
0
0
0
0
1
0.075758
false
0
0.030303
0.060606
0.409091
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
5cab92a49235cb0b9d3bf0c521ee811905197ca1
865
py
Python
07_debug_exceptions_testing/entropy/entropy.py
UWSEDS/lecture-materials
42f24ce191efc4a193ac4a84e067519045f7f7c3
[ "BSD-2-Clause" ]
null
null
null
07_debug_exceptions_testing/entropy/entropy.py
UWSEDS/lecture-materials
42f24ce191efc4a193ac4a84e067519045f7f7c3
[ "BSD-2-Clause" ]
null
null
null
07_debug_exceptions_testing/entropy/entropy.py
UWSEDS/lecture-materials
42f24ce191efc4a193ac4a84e067519045f7f7c3
[ "BSD-2-Clause" ]
4
2020-10-09T01:07:19.000Z
2020-12-11T23:11:35.000Z
""" Compute the entropy in bits of a list of probabilities. """ import numpy as np def entropy(ps): """ Compute the entropy in bits of a list of probabilities. The input list of probabilities must sum to one and no element should be larger than 1 or less than 0. :param list ps: list of probabil...
25.441176
77
0.6
140
865
3.678571
0.428571
0.058252
0.147573
0.073786
0.174757
0.174757
0.174757
0.174757
0.174757
0.174757
0
0.024712
0.298266
865
33
78
26.212121
0.823723
0.310983
0
0.277778
0
0
0.163375
0
0
0
0
0
0
1
0.055556
false
0.111111
0.055556
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5cafae5f7ff3e5cd4529daa6da37c1b6e63cd66a
5,114
py
Python
passwordchanger/src/plugin.py
Haehnchen/enigma2-plugins
23007eb0b78665cd3a2faf98d1d6145b4f0ada3f
[ "OLDAP-2.3" ]
1
2020-01-27T22:53:56.000Z
2020-01-27T22:53:56.000Z
passwordchanger/src/plugin.py
Haehnchen/enigma2-plugins
23007eb0b78665cd3a2faf98d1d6145b4f0ada3f
[ "OLDAP-2.3" ]
null
null
null
passwordchanger/src/plugin.py
Haehnchen/enigma2-plugins
23007eb0b78665cd3a2faf98d1d6145b4f0ada3f
[ "OLDAP-2.3" ]
null
null
null
## ## PasswordChanger ## by AliAbdul ## from Components.ActionMap import ActionMap from Components.config import config, ConfigText, ConfigSubsection, getConfigListEntry from Components.ConfigList import ConfigListScreen from Components.Language import language from Components.ScrollLabel import ScrollLabel from os imp...
29.390805
151
0.669339
588
5,114
5.653061
0.27381
0.029783
0.058965
0.027978
0.236462
0.147413
0.093863
0.025271
0.025271
0
0
0.008894
0.14255
5,114
173
152
29.560694
0.749145
0.00528
0
0.230159
0
0.015873
0.186603
0.022883
0
0
0
0
0
1
0.103175
false
0.269841
0.095238
0.007937
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5cb84317e9ae3f3e92fcaeb0fa8689c5986b44a3
813
py
Python
functional_tests/pages/base.py
e-dang/Algorithms
09415ab06cd3b03dc9e40f25a80c25deb6a44bab
[ "MIT" ]
null
null
null
functional_tests/pages/base.py
e-dang/Algorithms
09415ab06cd3b03dc9e40f25a80c25deb6a44bab
[ "MIT" ]
null
null
null
functional_tests/pages/base.py
e-dang/Algorithms
09415ab06cd3b03dc9e40f25a80c25deb6a44bab
[ "MIT" ]
null
null
null
from selenium.webdriver.support.ui import WebDriverWait TIMEOUT = 10 class BaseInputElement: """ https://selenium-python.readthedocs.io/page-objects.html """ def __set__(self, obj, value): driver = obj.driver WebDriverWait(driver, TIMEOUT).until( lambda driver: driver.fi...
28.034483
77
0.686347
100
813
5.29
0.4
0.094518
0.160681
0.179584
0.521739
0.393195
0.393195
0.21172
0.21172
0.21172
0
0.003101
0.206642
813
28
78
29.035714
0.817054
0.068881
0
0.235294
0
0
0.006748
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0
0.411765
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
5cbb9157c64356c34dd08327e3eae85b1c9e3faa
363
py
Python
DQM/L1TMonitor/python/L1TdeStage2RegionalShower_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
DQM/L1TMonitor/python/L1TdeStage2RegionalShower_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
DQM/L1TMonitor/python/L1TdeStage2RegionalShower_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
import FWCore.ParameterSet.Config as cms from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer l1tdeStage2RegionalShower = DQMEDAnalyzer( "L1TdeStage2RegionalShower", dataSource = cms.InputTag("emtfStage2Digis"), emulSource = cms.InputTag("valEmtfStage2Showers", "EMTF"), monitorDir = cms.untracked.s...
33
71
0.785124
31
363
9.193548
0.741935
0.266667
0
0
0
0
0
0
0
0
0
0.02795
0.112948
363
10
72
36.3
0.857143
0
0
0
0
0
0.256906
0.149171
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
5ccfa1e395c0210e5a24f04978b3a59c3f857a62
408
py
Python
site/decorators/admin.py
savila202501/notasi
d449e9d2ef11641ff91def4a53d382da353dac4e
[ "Apache-2.0" ]
7
2019-10-21T21:24:31.000Z
2019-12-12T11:51:25.000Z
site/decorators/admin.py
savila202501/notasi
d449e9d2ef11641ff91def4a53d382da353dac4e
[ "Apache-2.0" ]
1
2021-06-02T00:31:14.000Z
2021-06-02T00:31:14.000Z
site/decorators/admin.py
savila202501/notasi
d449e9d2ef11641ff91def4a53d382da353dac4e
[ "Apache-2.0" ]
2
2019-10-21T03:22:26.000Z
2019-12-12T03:25:53.000Z
from flask_login import current_user from flask import abort from functools import wraps def is_admin(fn): @wraps(fn) def wrap(*args, **kwargs): for user_group in current_user.user_groups: if user_group.group.name =='Administrators' and user_group.group.group_category.name == 'Access Level ...
31.384615
123
0.676471
56
408
4.767857
0.517857
0.101124
0.104869
0
0
0
0
0
0
0
0
0.009585
0.232843
408
13
124
31.384615
0.84345
0
0
0
0
0
0.080685
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5cd89f7fb52a7d4728e1c52cc291adc0be6231e9
4,099
py
Python
Structs.py
amygo123/pytorch-a3c
60d37f243850719072b643e3487eb1895c96df56
[ "MIT" ]
null
null
null
Structs.py
amygo123/pytorch-a3c
60d37f243850719072b643e3487eb1895c96df56
[ "MIT" ]
null
null
null
Structs.py
amygo123/pytorch-a3c
60d37f243850719072b643e3487eb1895c96df56
[ "MIT" ]
null
null
null
import copy from math import * import shapely.geometry class Point: def __init__(self, x=0., y =0.): self.x = float(x) self.y = float(y) def set(self, x, y): self.x = float(x) self.y = float(y) def max(self, point): return Point(max(point.x, self.x), max(point.y, s...
25.302469
119
0.565504
575
4,099
3.850435
0.153043
0.031617
0.044264
0.031617
0.270551
0.210479
0.126016
0.079946
0.079946
0.036134
0
0.013499
0.313247
4,099
161
120
25.459627
0.773002
0
0
0.186441
0
0
0.002928
0
0
0
0
0
0
1
0.254237
false
0
0.025424
0.067797
0.440678
0.008475
0
0
0
null
0
0
0
0
0
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
5ce3e77af01dc30b3020514b109b17b98898386b
351
py
Python
alchemyapi/__init__.py
jjangsangy/AlchemyAPI
9502ed348589b1bb5997d9b6c6db3f742dae3b15
[ "Apache-2.0" ]
null
null
null
alchemyapi/__init__.py
jjangsangy/AlchemyAPI
9502ed348589b1bb5997d9b6c6db3f742dae3b15
[ "Apache-2.0" ]
null
null
null
alchemyapi/__init__.py
jjangsangy/AlchemyAPI
9502ed348589b1bb5997d9b6c6db3f742dae3b15
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Python AlchemyAPI Client ======================== """ from .api import * from .tests.test_api import TestAPI from .__version__ import __build__, __version__, __release__ __title__ = 'AlchemyAPI' __author__ = 'Sang Han' __license__ = 'Apache Software License Version 2.0' __copyri...
19.5
60
0.660969
37
351
5.378378
0.72973
0.090452
0
0
0
0
0
0
0
0
0
0.023891
0.165242
351
17
61
20.647059
0.65529
0.205128
0
0
0
0
0.266667
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
5ce5cc82aaed66bef36493a45cfaca2421383d21
1,700
py
Python
db-server/dbcon/migrations/0007_leakresult.py
JannisBush/xs-leaks-browser-web
15ed76a87c1c30e15cd7d0b070e2853d17d322bc
[ "MIT" ]
null
null
null
db-server/dbcon/migrations/0007_leakresult.py
JannisBush/xs-leaks-browser-web
15ed76a87c1c30e15cd7d0b070e2853d17d322bc
[ "MIT" ]
null
null
null
db-server/dbcon/migrations/0007_leakresult.py
JannisBush/xs-leaks-browser-web
15ed76a87c1c30e15cd7d0b070e2853d17d322bc
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-07-26 08:34 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dbcon', '0006_observation_retest'), ] operations = [ migrations.CreateModel( name='LeakResult',...
50
142
0.630588
179
1,700
5.882682
0.379888
0.060779
0.093067
0.146249
0.45774
0.40076
0.40076
0.40076
0.40076
0.40076
0
0.014372
0.222353
1,700
33
143
51.515152
0.782148
0.026471
0
0
1
0
0.165154
0.053842
0
0
0
0
0
1
0
false
0
0.074074
0
0.185185
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
7a242861f9c24506f27dbc8de6b764a786ea7b43
2,496
py
Python
fdrtd/webserver/connexion/controllers/default_controller.py
chart21/fdrtd
c5f8ba84f8e367580572f2759683dfd3789b0b80
[ "MIT" ]
null
null
null
fdrtd/webserver/connexion/controllers/default_controller.py
chart21/fdrtd
c5f8ba84f8e367580572f2759683dfd3789b0b80
[ "MIT" ]
10
2021-08-29T00:03:36.000Z
2022-02-18T09:19:38.000Z
fdrtd/webserver/connexion/controllers/default_controller.py
chart21/fdrtd
c5f8ba84f8e367580572f2759683dfd3789b0b80
[ "MIT" ]
2
2021-08-28T21:44:10.000Z
2021-12-16T23:23:58.000Z
""" contains the entry points of the API """ from flask import current_app from fdrtd.server.exceptions import handle_exception def get_bus(): """get the singleton bus of the server application""" with current_app.app_context(): return current_app.bus def list_representations(): """list availa...
31.594937
91
0.68149
282
2,496
5.875887
0.205674
0.07242
0.04647
0.08449
0.597465
0.447194
0.395293
0.395293
0.354255
0.354255
0
0.012232
0.213942
2,496
78
92
32
0.832314
0.152644
0
0.530612
0
0
0.04466
0
0
0
0
0
0
1
0.163265
false
0
0.040816
0
0.530612
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
7a330b7426c11875933809a4742504b2a29049dd
302
py
Python
contentdb/migrations/0007_delete_newsarticle.py
Unarelith/openminer_web
4c5007c5021f5d9f2b6b6601be374d80fad3f8a2
[ "CNRI-Python" ]
1
2020-05-23T04:27:42.000Z
2020-05-23T04:27:42.000Z
contentdb/migrations/0007_delete_newsarticle.py
Unarelith/openminer_web
4c5007c5021f5d9f2b6b6601be374d80fad3f8a2
[ "CNRI-Python" ]
null
null
null
contentdb/migrations/0007_delete_newsarticle.py
Unarelith/openminer_web
4c5007c5021f5d9f2b6b6601be374d80fad3f8a2
[ "CNRI-Python" ]
null
null
null
# Generated by Django 3.0.3 on 2020-03-26 03:13 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('contentdb', '0006_auto_20200326_0256'), ] operations = [ migrations.DeleteModel( name='NewsArticle', ), ]
17.764706
49
0.612583
32
302
5.6875
0.8125
0
0
0
0
0
0
0
0
0
0
0.142202
0.278146
302
16
50
18.875
0.692661
0.149007
0
0
1
0
0.168627
0.090196
0
0
0
0
0
1
0
false
0
0.1
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7a34ccb2cd2dd79e957aa8031db3f3720203dbb1
6,122
py
Python
colorexlib/common/tests/test_TileGroups.py
louisronron/ColorFunk
aef341bed941b2e9d63abc64ab7b02348a271583
[ "MIT" ]
null
null
null
colorexlib/common/tests/test_TileGroups.py
louisronron/ColorFunk
aef341bed941b2e9d63abc64ab7b02348a271583
[ "MIT" ]
null
null
null
colorexlib/common/tests/test_TileGroups.py
louisronron/ColorFunk
aef341bed941b2e9d63abc64ab7b02348a271583
[ "MIT" ]
1
2020-05-30T08:26:46.000Z
2020-05-30T08:26:46.000Z
import unittest from colorexlib.colorexlib.common.datastructures import TileGroup, TileGroups class TestInit(unittest.TestCase): def setUp(self): self.tg1 = TileGroup(1, 9,label='label1') self.tg2 = TileGroup(10, 80,label='label2') self.tg3 = TileGroup(-15, 40,label='label3') self.tg4 = TileGroup(50...
28.607477
78
0.663019
819
6,122
4.831502
0.117216
0.05863
0.072024
0.09856
0.786707
0.706343
0.494061
0.432398
0.421279
0.394491
0
0.071414
0.178863
6,122
214
79
28.607477
0.715735
0
0
0.466667
0
0
0.075635
0
0
0
0
0
0.15
1
0.183333
false
0.016667
0.011111
0
0.244444
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7a396eb9364a816c49c9c756cfa31fe14b3232b4
361
py
Python
blogango/admin.py
GabrielAparicio/BlogApp
1a9c5d29fe5ca93927ddaa7c338b70c3c49b68a2
[ "BSD-3-Clause" ]
76
2015-02-20T00:10:08.000Z
2021-09-20T03:47:03.000Z
blogango/admin.py
GabrielAparicio/BlogApp
1a9c5d29fe5ca93927ddaa7c338b70c3c49b68a2
[ "BSD-3-Clause" ]
9
2015-02-06T07:48:14.000Z
2021-05-11T05:33:14.000Z
blogango/admin.py
GabrielAparicio/BlogApp
1a9c5d29fe5ca93927ddaa7c338b70c3c49b68a2
[ "BSD-3-Clause" ]
53
2015-01-14T07:07:35.000Z
2021-09-20T03:47:05.000Z
from django.contrib import admin from blogango.models import Blog, BlogEntry, Comment, BlogRoll, Reaction class BlogEntryAdmin(admin.ModelAdmin): prepopulated_fields = {'slug': ('title',)} admin.site.register(Blog) admin.site.register(BlogEntry, BlogEntryAdmin) admin.site.register(Comment) admin.site.registe...
30.083333
72
0.789474
43
361
6.604651
0.488372
0.158451
0.299296
0
0
0
0
0
0
0
0
0
0.094183
361
12
73
30.083333
0.868502
0
0
0
0
0
0.024862
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.444444
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7a3b2b642549432ef4f0b52df7e9f0239773f83b
867
py
Python
setup.py
arvkevi/biogridpy
3009b3d48f0b81953bff981c5b5cb9f609435860
[ "MIT" ]
null
null
null
setup.py
arvkevi/biogridpy
3009b3d48f0b81953bff981c5b5cb9f609435860
[ "MIT" ]
null
null
null
setup.py
arvkevi/biogridpy
3009b3d48f0b81953bff981c5b5cb9f609435860
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup setup(name='biogridpy', version='0.1.1', description='Python client for the BioGRID REST API webservice', license='MIT', keywords=['genetics', 'genomics', 'interaction', 'bioinformat...
36.125
74
0.623991
90
867
5.977778
0.711111
0.105948
0.139405
0.063197
0.122677
0.122677
0
0
0
0
0
0.014993
0.230681
867
23
75
37.695652
0.791604
0.024221
0
0
0
0
0.510353
0.026797
0
0
0
0
0
1
0
true
0
0.15
0
0.15
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
7a415246574cfc228bac3c07941d36afe8aa18b0
19,197
py
Python
teUtils/plotting.py
sys-bio/teUtils
87265a0d6d3a4e7fe09d8b46bf61b9bebb8eb7c4
[ "MIT" ]
2
2020-09-16T20:36:16.000Z
2021-03-25T23:10:34.000Z
teUtils/plotting.py
sys-bio/teUtils
87265a0d6d3a4e7fe09d8b46bf61b9bebb8eb7c4
[ "MIT" ]
18
2020-07-25T17:15:39.000Z
2020-08-29T15:30:36.000Z
teUtils/plotting.py
sys-bio/teUtils
87265a0d6d3a4e7fe09d8b46bf61b9bebb8eb7c4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Created on Tue Jan 16 09:32:22 2018 # # @author: hsauro # --------------------------------------------------------------------- # Plotting Utilities # --------------------------------------------------------------------- import tellurium as _te from mpl_toolkits.mplot3d import Axes3D as _...
31.783113
124
0.592645
2,451
19,197
4.595675
0.177887
0.030629
0.014915
0.025568
0.71218
0.679776
0.652433
0.618963
0.618963
0.612216
0
0.033246
0.287076
19,197
603
125
31.835821
0.789785
0.350159
0
0.646209
0
0
0.133168
0
0
0
0
0.001658
0
1
0.050542
false
0
0.079422
0.00361
0.137184
0.039711
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
7a41e6ec54e88f96c05ffea2ed04bb29fb7f7cab
5,514
py
Python
stacks/ledger_stack.py
kamil1marczak/rapid_bondz_document_ledger
527ac2b124d13ddb055d0e830770b74be1e236de
[ "MIT-0" ]
null
null
null
stacks/ledger_stack.py
kamil1marczak/rapid_bondz_document_ledger
527ac2b124d13ddb055d0e830770b74be1e236de
[ "MIT-0" ]
null
null
null
stacks/ledger_stack.py
kamil1marczak/rapid_bondz_document_ledger
527ac2b124d13ddb055d0e830770b74be1e236de
[ "MIT-0" ]
null
null
null
import os from aws_cdk import ( aws_ec2 as ec2, aws_ecs as ecs, aws_rds as rds, aws_iam as iam, aws_s3 as s3, aws_route53 as r53, aws_elasticloadbalancingv2_actions as elbv2_actions, aws_elasticloadbalancingv2 as elbv2, aws_secretsmanager as sm, aws_managedblockchain as managedb...
36.516556
110
0.645085
442
5,514
7.780543
0.264706
0.128526
0.136086
0.05583
0.50916
0.484443
0.42745
0.401861
0.401861
0.401861
0
0.006544
0.27947
5,514
150
111
36.76
0.859049
0.222706
0
0.072917
0
0
0.101599
0.007056
0
0
0
0
0
1
0.010417
false
0.052083
0.041667
0
0.0625
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
7a4abdd0d92790d6c75ccbfd58737f627d49ae61
2,442
py
Python
clean-specific-fixture.py
ONS-OpenData/gss-utils
f0aa9025fe42d9f4090e396d616cf488b80aac8b
[ "Apache-2.0" ]
1
2021-01-21T23:35:12.000Z
2021-01-21T23:35:12.000Z
clean-specific-fixture.py
GSS-Cogs/gss-utils
55165c58d8c4fb9dd4ad364059f2c1de24935c06
[ "Apache-2.0" ]
254
2019-10-07T16:17:48.000Z
2022-01-31T09:20:16.000Z
clean-specific-fixture.py
ONS-OpenData/gss-utils
f0aa9025fe42d9f4090e396d616cf488b80aac8b
[ "Apache-2.0" ]
5
2020-09-30T16:01:12.000Z
2021-01-13T18:44:28.000Z
import os import yaml import json import sys # TODO - use an arg parser clean_the_yaml = False index_to_keep = None try: uri_arg = sys.argv[1] print("\nWith uri {}\n".format(uri_arg)) except: raise Exception("Please provide a uri as the first argument") try: do_clean = sys.argv[2].strip() if do_cl...
34.394366
174
0.653153
349
2,442
4.441261
0.363897
0.072258
0.028387
0.018065
0.188387
0.145806
0.101935
0.101935
0.046452
0.046452
0
0.003132
0.215397
2,442
71
175
34.394366
0.805846
0.124488
0
0.211538
0
0.038462
0.259155
0.029108
0
0
0
0.014085
0
1
0
false
0.038462
0.076923
0
0.076923
0.134615
0
0
0
null
0
0
0
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
7a4cae57698f707af9b7b87c0544b2f36d71dff2
511
py
Python
libs/yowsup/yowsup/yowsup/layers/auth/protocolentities/test_response.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
22
2017-07-14T20:01:17.000Z
2022-03-08T14:22:39.000Z
libs/yowsup/yowsup/yowsup/layers/auth/protocolentities/test_response.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
6
2017-07-14T21:03:50.000Z
2021-06-10T19:08:32.000Z
libs/yowsup/yowsup/yowsup/layers/auth/protocolentities/test_response.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
13
2017-07-14T20:13:14.000Z
2020-11-12T08:06:05.000Z
from yowsup.layers.auth.protocolentities.response import ResponseProtocolEntity from yowsup.structs import ProtocolTreeNode from yowsup.structs.protocolentity import ProtocolEntityTest import unittest class ResponseProtocolEntityTest(ProtocolEntityTest, unittest.TestCase): def setUp(self): self.ProtocolEnt...
42.583333
79
0.757339
48
511
8.0625
0.645833
0.077519
0.087855
0
0
0
0
0
0
0
0
0
0.16047
511
12
80
42.583333
0.902098
0
0
0
0
0
0.105469
0.0625
0
0
0
0
0
1
0.090909
false
0
0.363636
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
1
0
0
0
0
1
7a55ee775bc3cbfd87c20386240b425b02001f84
1,127
py
Python
pyleecan/Methods/Machine/LamSlotMulti/comp_periodicity.py
EmileDvs/pyleecan
ad2f5f25c089a981f373557a198da51c62407928
[ "Apache-2.0" ]
95
2019-01-23T04:19:45.000Z
2022-03-17T18:22:10.000Z
pyleecan/Methods/Machine/LamSlotMulti/comp_periodicity.py
ecs-kev/pyleecan
1faedde4b24acc6361fa1fdd4e980eaec4ca3a62
[ "Apache-2.0" ]
366
2019-02-20T07:15:08.000Z
2022-03-31T13:37:23.000Z
pyleecan/Methods/Machine/LamSlotMulti/comp_periodicity.py
ecs-kev/pyleecan
1faedde4b24acc6361fa1fdd4e980eaec4ca3a62
[ "Apache-2.0" ]
74
2019-01-24T01:47:31.000Z
2022-02-25T05:44:42.000Z
# -*- coding: utf-8 -*- def comp_periodicity(self, p=None): """Compute the periodicity factor of the lamination Parameters ---------- self : LamSlotMulti A LamSlotMulti object Returns ------- per_a : int Number of spatial periodicities of the lamination is_antiper_a :...
28.897436
79
0.629104
144
1,127
4.722222
0.381944
0.051471
0.080882
0.139706
0.425
0.326471
0.135294
0
0
0
0
0.003717
0.28394
1,127
38
80
29.657895
0.83891
0.43567
0
0
0
0
0.197531
0
0
0
0
0.026316
0
1
0.071429
false
0
0
0
0.214286
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
7a56d7cfcda52ae512897cbf779004345c06e73e
6,893
py
Python
scheduler_sdk/model/resource_manage/collector_history_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
webshell_sdk/model/resource_manage/collector_history_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
webshell_sdk/model/resource_manage/collector_history_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: collector_history.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.pr...
46.261745
656
0.743943
907
6,893
5.404631
0.176406
0.060384
0.085679
0.058344
0.618931
0.511424
0.505712
0.505712
0.475112
0.475112
0
0.041424
0.127956
6,893
148
657
46.574324
0.774081
0.036849
0
0.507813
1
0.007813
0.22301
0.18848
0
0
0
0
0
1
0
false
0
0.039063
0
0.039063
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
7a5860cb9aedaae3242a97dcc334e8432f92fd18
250
py
Python
backend/simple_app/tests/test_models.py
scedar/django-graphql-apollo-react
8c318c199b5fe3dfe9225449f7dcdb13565e9988
[ "MIT" ]
null
null
null
backend/simple_app/tests/test_models.py
scedar/django-graphql-apollo-react
8c318c199b5fe3dfe9225449f7dcdb13565e9988
[ "MIT" ]
null
null
null
backend/simple_app/tests/test_models.py
scedar/django-graphql-apollo-react
8c318c199b5fe3dfe9225449f7dcdb13565e9988
[ "MIT" ]
1
2018-01-17T13:13:24.000Z
2018-01-17T13:13:24.000Z
import pytest from mixer.backend.django import mixer # We need to do this so that writing to the DB is possible in our tests. pytestmark = pytest.mark.django_db def test_message(): obj = mixer.blend('simple_app.Message') assert obj.pk > 0
22.727273
72
0.74
42
250
4.333333
0.785714
0
0
0
0
0
0
0
0
0
0
0.004902
0.184
250
10
73
25
0.887255
0.28
0
0
0
0
0.101124
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7a5ba6b43c93beefbcc3e00324861d0ccf4bf0e9
314
py
Python
toolbox/source/python/setup.py
yuquanshan/personal-stash
5497e69f8621cd7e48f2052c8ef28f9d15f3b1eb
[ "MIT" ]
null
null
null
toolbox/source/python/setup.py
yuquanshan/personal-stash
5497e69f8621cd7e48f2052c8ef28f9d15f3b1eb
[ "MIT" ]
null
null
null
toolbox/source/python/setup.py
yuquanshan/personal-stash
5497e69f8621cd7e48f2052c8ef28f9d15f3b1eb
[ "MIT" ]
null
null
null
#!/usr/bin/python from distutils.core import setup setup(name='ada', version='1.0', description='Ada: the script that can answer questions regarding date', author='yuquanshan', packages = ['ada'], package_data={'ada': ['data/*.dat', 'data/*.txt']}, scripts=['bin/ada'] )
24.153846
77
0.598726
38
314
4.921053
0.789474
0
0
0
0
0
0
0
0
0
0
0.00813
0.216561
314
12
78
26.166667
0.752033
0.050955
0
0
0
0
0.353535
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
7a5fce3c575f8c5eb7de78993db1c65f343cbe21
987
py
Python
praxis/migrations/0001_initial.py
normanjaeckel/UH-praxis
c47ead1d024c14ffa323e8ff1316b4ab1dfd2cc1
[ "MIT" ]
null
null
null
praxis/migrations/0001_initial.py
normanjaeckel/UH-praxis
c47ead1d024c14ffa323e8ff1316b4ab1dfd2cc1
[ "MIT" ]
null
null
null
praxis/migrations/0001_initial.py
normanjaeckel/UH-praxis
c47ead1d024c14ffa323e8ff1316b4ab1dfd2cc1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-01-03 22:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Section...
32.9
170
0.597771
103
987
5.563107
0.728155
0.115183
0
0
0
0
0
0
0
0
0
0.027894
0.273556
987
29
171
34.034483
0.771269
0.067882
0
0
1
0
0.210469
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7a6329d419423afc5d276d62d72165e6fe17ab28
407
py
Python
examples/emails/send_text_real.py
abhiabhi94/learn-python
448211b4b9fa828f076618624b1ff00144adfd9f
[ "MIT" ]
null
null
null
examples/emails/send_text_real.py
abhiabhi94/learn-python
448211b4b9fa828f076618624b1ff00144adfd9f
[ "MIT" ]
1
2021-06-20T23:14:59.000Z
2021-06-23T23:23:15.000Z
examples/emails/send_text_real.py
abhiabhi94/learn-python
448211b4b9fa828f076618624b1ff00144adfd9f
[ "MIT" ]
null
null
null
import smtplib from email.message import EmailMessage import os msg = EmailMessage() msg['from'] = sender = os.getenv('EMAIL_SENDER') msg['to'] = os.getenv('EMAIL_RECEIVER') msg['subject'] = 'Testing text email through python' msg.set_content('Hi! let us hope this works.') with smtplib.SMTP_SSL('smtp.gmail.com') as ...
27.133333
52
0.732187
60
407
4.866667
0.583333
0.082192
0.133562
0.130137
0
0
0
0
0
0
0
0
0.12285
407
14
53
29.071429
0.817927
0
0
0
0
0
0.302211
0
0
0
0
0
0
1
0
false
0.090909
0.272727
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7a685b8fe6c76ad7cd4d76e4d877aadaca65d27e
8,590
py
Python
scripts/graph/load_model.py
raulGX/bt-tf-training
4b78b57b34db073131a2823234f9a9512cb27730
[ "MIT" ]
null
null
null
scripts/graph/load_model.py
raulGX/bt-tf-training
4b78b57b34db073131a2823234f9a9512cb27730
[ "MIT" ]
null
null
null
scripts/graph/load_model.py
raulGX/bt-tf-training
4b78b57b34db073131a2823234f9a9512cb27730
[ "MIT" ]
null
null
null
import os import tensorflow as tf from tensorflow.python.platform import gfile from data.load_data import load_data CHECKPOINT_NAME = '/tmp/_retrain_checkpoint' def load_model(model_dir, model_info): with tf.Graph().as_default() as graph: model_path = os.path.join( model_dir, model_info['mode...
38.348214
88
0.657625
1,045
8,590
5.057416
0.222967
0.051466
0.017029
0.025544
0.21211
0.123746
0.093472
0.042763
0.042763
0.042763
0
0.013065
0.242608
8,590
223
89
38.520179
0.799262
0.009895
0
0.089385
0
0
0.106316
0.029993
0
0
0
0
0
0
null
null
0
0.027933
null
null
0.005587
0
0
0
null
0
0
0
0
0
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
7a703486a6d19c18b17da7c7f4a23bc36c71c96e
1,832
py
Python
pymusement/config/usj.py
CNCTD/pymusement
664fd31edad107c339816bb8909311e823261160
[ "MIT" ]
22
2015-12-27T05:17:21.000Z
2016-06-10T17:36:43.000Z
pymusement/config/usj.py
CNCTD/pymusement
664fd31edad107c339816bb8909311e823261160
[ "MIT" ]
8
2017-02-22T01:41:39.000Z
2018-07-03T17:53:15.000Z
pymusement/config/usj.py
CNCTD/pymusement
664fd31edad107c339816bb8909311e823261160
[ "MIT" ]
5
2017-08-10T17:24:59.000Z
2021-05-14T16:23:51.000Z
# -*- coding: UTF-8 -*- strings = { u"フライング・スヌーピー" : u"The Flying Snoopy", u"スヌーピーのグレートレース™" : u"Snoopy's Great Race", u"ハローキティのカップケーキ・ドリーム" : u"Hello Kitty's Cupcake Dream", u"ジュラシック・パーク・ザ・ライド®\n※ご利用には整理券が必要です" : u"Jurassic Park: The Ride", u"バック・トゥ・ザ・フューチャー®・ザ・ライド" : u"Back to the Future: The Ride...
48.210526
91
0.647926
377
1,832
3.350133
0.474801
0.020586
0.021378
0.023753
0.0673
0.02692
0.02692
0.02692
0
0
0
0.013926
0.176856
1,832
37
92
49.513514
0.77321
0.011463
0
0
0
0
0.715312
0.134328
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7a74ec1272ebd5ee012b51153e9a51f01f47fc01
3,391
py
Python
script_makevoc.py
skiteskopes/datasetCulling
a79d36cd54bab5b3c5a7f097b6f01412873eaa03
[ "MIT" ]
1
2019-07-18T02:10:01.000Z
2019-07-18T02:10:01.000Z
script_makevoc.py
skiteskopes/datasetCulling
a79d36cd54bab5b3c5a7f097b6f01412873eaa03
[ "MIT" ]
null
null
null
script_makevoc.py
skiteskopes/datasetCulling
a79d36cd54bab5b3c5a7f097b6f01412873eaa03
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ script for setting up pascal-like datasets copyright:kentaroy47 10/2/2018 """ import os import subprocess import argparse parser = argparse.ArgumentParser(description='Train a Fast R-CNN network') parser.add_argument('--dataset', dest='dataset', help='training datase...
41.864198
113
0.711
433
3,391
5.494226
0.254042
0.094157
0.141236
0.174863
0.665406
0.630097
0.58554
0.538041
0.53636
0.510298
0
0.027452
0.119139
3,391
81
114
41.864198
0.768999
0.115895
0
0.280702
0
0
0.325956
0.086184
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.017544
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
7a7c906442fe028f7478f664606ef13069ac6d6f
323
py
Python
master.py
MattWyatt/paul-discord-bot
19ae085d6b9f9daf962b4879f36054440fca9cd2
[ "MIT" ]
null
null
null
master.py
MattWyatt/paul-discord-bot
19ae085d6b9f9daf962b4879f36054440fca9cd2
[ "MIT" ]
9
2018-02-17T03:15:29.000Z
2018-03-28T04:34:40.000Z
master.py
s-viour/paul-discord-bot
19ae085d6b9f9daf962b4879f36054440fca9cd2
[ "MIT" ]
null
null
null
""" this module handles anything used throughout the whole bot. it includes references to the global client instance, the global handler instance, and pre-loads the cfg. """ import discord from modules import config from modules.Handler import Handler cfg = config.get() client = discord.Client() handler = Handler(clie...
29.363636
105
0.786378
46
323
5.521739
0.586957
0.070866
0
0
0
0
0
0
0
0
0
0
0.142415
323
11
106
29.363636
0.916968
0.510836
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7a81cb1b48e9ee34adcb8716e5a7faa6043ef229
5,476
py
Python
tictactoe/player.py
protago90/tictactoe-arena
13576fd1e950268f263de4a4818252b9d7f9b200
[ "Beerware" ]
null
null
null
tictactoe/player.py
protago90/tictactoe-arena
13576fd1e950268f263de4a4818252b9d7f9b200
[ "Beerware" ]
null
null
null
tictactoe/player.py
protago90/tictactoe-arena
13576fd1e950268f263de4a4818252b9d7f9b200
[ "Beerware" ]
null
null
null
# by protago90 from tictactoe.board import BoardAPI from abc import abstractmethod from typing import Callable, List, Optional, Tuple import random import time class PlayerAPI(): SIGNS = BoardAPI.SIGNS # TicTacToe's board hardcoded signs NAP = 0 ID = 'none' def __init__(self, sign: str) -> None: ...
31.113636
88
0.605004
720
5,476
4.331944
0.179167
0.051298
0.042321
0.038474
0.573261
0.501122
0.449182
0.380891
0.380891
0.380891
0
0.005858
0.283053
5,476
175
89
31.291429
0.788589
0.040723
0
0.5
0
0
0.016775
0.004194
0
0
0
0
0
1
0.2
false
0.046154
0.038462
0.038462
0.515385
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
7a844a9530044bda8f897385987ad4654f0eca12
51,595
py
Python
main.py
jdilger/african-elephants
8fab40a16c4d83a164cdc04e44927de5295eb3fb
[ "MIT" ]
null
null
null
main.py
jdilger/african-elephants
8fab40a16c4d83a164cdc04e44927de5295eb3fb
[ "MIT" ]
null
null
null
main.py
jdilger/african-elephants
8fab40a16c4d83a164cdc04e44927de5295eb3fb
[ "MIT" ]
null
null
null
import ee from utils import * import sun_angles import view_angles class base(object): def __init__(self): self.TEST = True # self.date = 123 # self.studyArea = ee.FeatureCollection('somehwrere').geometry() # Vegetation self.ecoregions = ee.FeatureCollection('RESOLVE/ECORE...
48.040037
157
0.523035
6,821
51,595
3.904999
0.121536
0.103018
0.150811
0.196126
0.489938
0.445863
0.41977
0.387033
0.36338
0.352493
0
0.092018
0.321775
51,595
1,073
158
48.084809
0.669162
0.117337
0
0.423497
0
0.002732
0.078673
0.009451
0
0
0
0
0.002732
1
0.069672
false
0.006831
0.005464
0
0.146175
0.061475
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
7a89bc0c4cc207e2cd177b92d857ae7ccfe97633
471
py
Python
district42_exp_types/sdict/_sdict_representor.py
nikitanovosibirsk/district42-exp-types
e36e43da62f32d58d4b14c65afa16856dc8849e1
[ "Apache-2.0" ]
null
null
null
district42_exp_types/sdict/_sdict_representor.py
nikitanovosibirsk/district42-exp-types
e36e43da62f32d58d4b14c65afa16856dc8849e1
[ "Apache-2.0" ]
2
2021-08-01T05:02:21.000Z
2021-08-01T10:06:28.000Z
district42_exp_types/sdict/_sdict_representor.py
nikitanovosibirsk/district42-exp-types
e36e43da62f32d58d4b14c65afa16856dc8849e1
[ "Apache-2.0" ]
null
null
null
from typing import Any from district42.representor import Representor from ._sdict_schema import SDictSchema __all__ = ("SDictRepresentor",) class SDictRepresentor(Representor, extend=True): def visit_sdict(self, schema: SDictSchema, *, indent: int = 0, **kwargs: Any) -> str: r = self.visit_dict(schema...
29.4375
89
0.685775
58
471
5.396552
0.568966
0.031949
0.057508
0
0
0
0
0
0
0
0
0.007853
0.18896
471
15
90
31.4
0.811518
0.042463
0
0
0
0
0.113586
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7a8a8e43cff103f1b34633af221815fc2f041a7f
1,322
py
Python
travel/urls.py
sausage-team/travel-notes
3c2454ebad7764906c5ff30cbdfe296cb7c64eb4
[ "MIT" ]
null
null
null
travel/urls.py
sausage-team/travel-notes
3c2454ebad7764906c5ff30cbdfe296cb7c64eb4
[ "MIT" ]
null
null
null
travel/urls.py
sausage-team/travel-notes
3c2454ebad7764906c5ff30cbdfe296cb7c64eb4
[ "MIT" ]
null
null
null
""" Travel Notes Router """ from django.urls import path from travel import views urlpatterns = [ path('captcha', views.CaptchView.as_view()), path('user/login', views.UserLogin.as_view()), path('user/logout', views.UserLogout.as_view()), path('user/register', views.UserRegister.as_view()), path('u...
48.962963
92
0.704992
164
1,322
5.567073
0.317073
0.124863
0.197152
0.13034
0.191676
0
0
0
0
0
0
0
0.099092
1,322
27
93
48.962963
0.766583
0.014372
0
0
0
0
0.263889
0.155864
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
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
7a8c7d3e5b2da9efb1b8017ec580470150f99f1b
427
py
Python
chap03/k26.py
wtsnjp/nlp100
8beaabd0e8598e8a0cbd1eca690281ce5d783e93
[ "Unlicense" ]
3
2018-01-18T09:56:39.000Z
2019-03-14T05:54:11.000Z
chap03/k26.py
WatsonDNA/nlp100
8beaabd0e8598e8a0cbd1eca690281ce5d783e93
[ "Unlicense" ]
null
null
null
chap03/k26.py
WatsonDNA/nlp100
8beaabd0e8598e8a0cbd1eca690281ce5d783e93
[ "Unlicense" ]
1
2020-05-12T14:24:00.000Z
2020-05-12T14:24:00.000Z
# # usage: python k26.py {file name} {article title} {template name} # import sys import re from k20 import load_article from k25 import template2dict def remove_stress(dc): r = re.compile("'+") return {k:r.sub('', v) for k,v in dc.items()} if __name__ == '__main__': fn, title, template = sys.argv[1:] ...
22.473684
66
0.672131
63
427
4.365079
0.571429
0.094545
0.101818
0
0
0
0
0
0
0
0
0.026012
0.189696
427
18
67
23.722222
0.768786
0.149883
0
0
0
0
0.027855
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7a8d46b696b40d1c5d79e9d78aac33b842d73c5e
1,093
py
Python
challenge32/ihatemaths.py
dBizzle/ringzer0team-CTF
1329d5cc1fd698aa02c4e58484bc7d8bb940409b
[ "MIT" ]
2
2016-07-21T02:25:39.000Z
2020-01-07T08:48:09.000Z
challenge32/ihatemaths.py
dominiquejb/ringzer0team-CTF
1329d5cc1fd698aa02c4e58484bc7d8bb940409b
[ "MIT" ]
null
null
null
challenge32/ihatemaths.py
dominiquejb/ringzer0team-CTF
1329d5cc1fd698aa02c4e58484bc7d8bb940409b
[ "MIT" ]
null
null
null
import hashlib import requests import re import binascii __author__ = 'dBizzle' s = requests.session() #url to fetch baseurl = "http://ringzer0team.com/challenges/32" #fetch the web page with my PHPSESSID at the time r = s.post(baseurl, cookies={'PHPSESSID': 'j3c7p18vekvafqev0cnejq4g53'}) #find area around the mes...
31.228571
94
0.693504
166
1,093
4.542169
0.475904
0.05305
0.029178
0.034483
0.116711
0.116711
0.116711
0.116711
0.116711
0.116711
0
0.030043
0.147301
1,093
35
95
31.228571
0.77897
0.338518
0
0
0
0.055556
0.309524
0.131653
0
0
0
0
0
0
null
null
0
0.222222
null
null
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
1
0
0
0
0
0
0
0
0
1