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
387eb64186d9be38a6ef7eb92362e60714c12f89
981
py
Python
src/custom_user_app/urls.py
JackCX777/user_polls_2
fa8fe9ad4c1fa36b4ea5bb402b3d485852a98d3b
[ "BSD-3-Clause" ]
null
null
null
src/custom_user_app/urls.py
JackCX777/user_polls_2
fa8fe9ad4c1fa36b4ea5bb402b3d485852a98d3b
[ "BSD-3-Clause" ]
null
null
null
src/custom_user_app/urls.py
JackCX777/user_polls_2
fa8fe9ad4c1fa36b4ea5bb402b3d485852a98d3b
[ "BSD-3-Clause" ]
null
null
null
from django.urls import path from custom_user_app.views import (CustomUserLoginView, CustomUserLogoutView, CustomUserCreationView, CustomUserUpdateView, CustomUserPasswordChangeVie...
51.631579
114
0.643221
80
981
7.6125
0.35
0.059113
0.098522
0.114943
0
0
0
0
0
0
0
0
0.249745
981
18
115
54.5
0.827446
0
0
0
0
0
0.213048
0.094801
0
0
0
0
0
1
0
false
0.3125
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
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
387f0112c992c1eb1d347a52c37faadb884c7c51
1,691
py
Python
helpme/migrations/0003_auto_20200901_2025.py
renderbox/django-help-me
6efdaf715d2770305a7187c008354e0f784f9f5b
[ "MIT" ]
1
2020-09-30T22:21:02.000Z
2020-09-30T22:21:02.000Z
helpme/migrations/0003_auto_20200901_2025.py
renderbox/django-help-me
6efdaf715d2770305a7187c008354e0f784f9f5b
[ "MIT" ]
8
2020-09-11T00:50:57.000Z
2022-03-30T22:10:45.000Z
helpme/migrations/0003_auto_20200901_2025.py
renderbox/django-help-me
6efdaf715d2770305a7187c008354e0f784f9f5b
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-09-01 20:25 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('sites', '0002_alter_domain_unique'), ('helpme', '0002_category_question'), ] operations = [ migration...
33.156863
127
0.595506
162
1,691
6.067901
0.320988
0.06409
0.116989
0.137335
0.549339
0.467955
0.399797
0.322482
0.2706
0.144456
0
0.018092
0.280899
1,691
50
128
33.82
0.790296
0.025429
0
0.590909
1
0
0.181045
0.027947
0
0
0
0
0
1
0
false
0
0.045455
0
0.113636
0
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
38823e27450525f05ac5a168826d916d3ea60ed9
382
py
Python
projects/migrations/0005_alter_location_location.py
Gomax-07/gallery
934b667d79d9a98e43648864a420cc559e9456e6
[ "Unlicense" ]
null
null
null
projects/migrations/0005_alter_location_location.py
Gomax-07/gallery
934b667d79d9a98e43648864a420cc559e9456e6
[ "Unlicense" ]
null
null
null
projects/migrations/0005_alter_location_location.py
Gomax-07/gallery
934b667d79d9a98e43648864a420cc559e9456e6
[ "Unlicense" ]
null
null
null
# Generated by Django 3.2.7 on 2021-09-07 02:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0004_location'), ] operations = [ migrations.AlterField( model_name='location', name='location', ...
20.105263
51
0.594241
40
382
5.6
0.8
0.107143
0
0
0
0
0
0
0
0
0
0.081181
0.290576
382
18
52
21.222222
0.745387
0.117801
0
0
1
0
0.110448
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
38838a2148cd8410cf38dde80c33588255de0106
487
py
Python
CoquoBot/order_manager.py
Josef212/CoquoBot
adb9744b04454a4591237937dfb2c9f00da30077
[ "MIT" ]
null
null
null
CoquoBot/order_manager.py
Josef212/CoquoBot
adb9744b04454a4591237937dfb2c9f00da30077
[ "MIT" ]
null
null
null
CoquoBot/order_manager.py
Josef212/CoquoBot
adb9744b04454a4591237937dfb2c9f00da30077
[ "MIT" ]
null
null
null
from order import Order class OrderManager: def __init__(self): self.orders = {} def user_has_any_order(self, chat_id: int, user: str) -> bool: order = self.get_order(chat_id) return order.user_has_any_order(user) def get_order(self, id: int) -> Order: if id not in sel...
27.055556
66
0.601643
69
487
4.014493
0.347826
0.144404
0.072202
0.108303
0
0
0
0
0
0
0
0
0.285421
487
18
67
27.055556
0.795977
0
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
388a33a4c640a949c0d9f3e5677661be8943cc55
4,755
py
Python
tests/components/unifi/test_services.py
rahulsinghsss/core
1156275db4e53a556ef58bb2038ae7d8ad103556
[ "Apache-2.0" ]
1
2021-12-30T09:37:48.000Z
2021-12-30T09:37:48.000Z
tests/components/unifi/test_services.py
rahulsinghsss/core
1156275db4e53a556ef58bb2038ae7d8ad103556
[ "Apache-2.0" ]
18
2021-11-03T06:21:46.000Z
2022-03-31T06:21:15.000Z
tests/components/unifi/test_services.py
rahulsinghsss/core
1156275db4e53a556ef58bb2038ae7d8ad103556
[ "Apache-2.0" ]
1
2021-12-30T09:37:53.000Z
2021-12-30T09:37:53.000Z
"""deCONZ service tests.""" from unittest.mock import Mock, patch from homeassistant.components.unifi.const import DOMAIN as UNIFI_DOMAIN from homeassistant.components.unifi.services import ( SERVICE_REMOVE_CLIENTS, UNIFI_SERVICES, async_setup_services, async_unload_services, ) from .test_controller ...
31.282895
87
0.646477
586
4,755
5
0.204778
0.043686
0.049147
0.043686
0.76041
0.722526
0.637543
0.597952
0.580205
0.554949
0
0.04495
0.242061
4,755
151
88
31.490066
0.768036
0.004416
0
0.525
0
0
0.168274
0.044077
0
0
0
0
0.091667
1
0
false
0
0.033333
0
0.033333
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
388a3e1c967bd69504b07a1ff1bfdb07f5722281
632
py
Python
{{cookiecutter.directory_name}}/config/settings/development.py
ragnarok22/cookiecutter-django
082196dde5ad932bf99bee138dc80de8c3823e03
[ "Apache-2.0" ]
2
2021-07-23T18:58:49.000Z
2022-02-23T18:44:40.000Z
{{cookiecutter.directory_name}}/config/settings/development.py
ragnarok22/cookiecutter-django
082196dde5ad932bf99bee138dc80de8c3823e03
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.directory_name}}/config/settings/development.py
ragnarok22/cookiecutter-django
082196dde5ad932bf99bee138dc80de8c3823e03
[ "Apache-2.0" ]
null
null
null
""" This is the settings file that you use when you're working on the project locally. Local development-specific include DEBUG mode, log level, and activation of developer tools like django-debug-toolsbar """ from .base import * # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True # SECURI...
31.6
118
0.764241
94
632
5.074468
0.797872
0.062893
0
0
0
0
0
0
0
0
0
0.018215
0.131329
632
19
119
33.263158
0.850638
0.547468
0
0
0
0
0.481884
0.460145
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3892d5674879bbcf71468a4b3b615df537552e19
729
py
Python
HackTheVote/2020/fileshare/cleaner.py
mystickev/ctf-archives
89e99a5cd5fb6b2923cad3fe1948d3ff78649b4e
[ "MIT" ]
1
2021-11-02T20:53:58.000Z
2021-11-02T20:53:58.000Z
HackTheVote/2020/fileshare/cleaner.py
ruhan-islam/ctf-archives
8c2bf6a608c821314d1a1cfaa05a6cccef8e3103
[ "MIT" ]
null
null
null
HackTheVote/2020/fileshare/cleaner.py
ruhan-islam/ctf-archives
8c2bf6a608c821314d1a1cfaa05a6cccef8e3103
[ "MIT" ]
1
2021-12-19T11:06:24.000Z
2021-12-19T11:06:24.000Z
import os, time, shutil def get_used_dirs(): pids = [p for p in os.listdir("/proc") if p.isnumeric()] res = set() for p in pids: try: path = os.path.realpath("/proc/%s/cwd"%p) if path.startswith("/tmp/fileshare."): res.add(path) except: pa...
25.137931
84
0.463649
92
729
3.630435
0.423913
0.08982
0.065868
0
0
0
0
0
0
0
0
0.002331
0.411523
729
28
85
26.035714
0.776224
0
0
0.346154
0
0
0.089163
0
0
0
0
0
0
1
0.038462
false
0.115385
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
0
1
0
0
0
0
0
1
389e3359d1c51e16167fb066518dcce270c6cf1d
1,150
py
Python
qa_tool/models.py
pg-irc/pathways-backend
05a8c4e750523d2d081b030a248c5444d1ed7992
[ "BSD-3-Clause" ]
12
2017-08-30T18:21:00.000Z
2021-12-09T04:04:17.000Z
qa_tool/models.py
pg-irc/pathways-backend
05a8c4e750523d2d081b030a248c5444d1ed7992
[ "BSD-3-Clause" ]
424
2017-08-08T18:32:14.000Z
2022-03-30T21:42:51.000Z
qa_tool/models.py
pg-irc/pathways-backend
05a8c4e750523d2d081b030a248c5444d1ed7992
[ "BSD-3-Clause" ]
7
2017-09-29T21:14:37.000Z
2019-12-30T21:07:37.000Z
from django.contrib.gis.db import models from common.models import (RequiredURLField, OptionalTextField, RequiredCharField) from human_services.locations.models import ServiceAtLocation from search.models import Task from users.models import User class Algorithm(models.Model): url = Req...
30.263158
81
0.722609
123
1,150
6.666667
0.414634
0.097561
0.085366
0.128049
0.058537
0
0
0
0
0
0
0.003205
0.186087
1,150
37
82
31.081081
0.872863
0
0
0.178571
0
0
0.005217
0
0
0
0
0
0
1
0
false
0
0.178571
0
0.821429
0
0
0
0
null
0
0
0
0
0
0
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
38a0b921f983b2d2b9365a4bb47c16ebd9b5348e
449
py
Python
wazimap_ng/boundaries/migrations/0007_auto_20200121_0907.py
arghyaiitb/wazimap-ng
2a77860526d865b8fd0c22a2204f121fdb3b28a0
[ "Apache-2.0" ]
11
2019-12-31T20:27:22.000Z
2022-03-10T03:55:38.000Z
wazimap_ng/boundaries/migrations/0007_auto_20200121_0907.py
arghyaiitb/wazimap-ng
2a77860526d865b8fd0c22a2204f121fdb3b28a0
[ "Apache-2.0" ]
164
2020-02-06T15:02:22.000Z
2022-03-30T22:42:00.000Z
wazimap_ng/boundaries/migrations/0007_auto_20200121_0907.py
arghyaiitb/wazimap-ng
2a77860526d865b8fd0c22a2204f121fdb3b28a0
[ "Apache-2.0" ]
16
2020-01-03T20:30:24.000Z
2022-01-11T11:05:15.000Z
# Generated by Django 2.2.8 on 2020-01-21 09:07 import django.contrib.gis.db.models.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('boundaries', '0006_worldborder'), ] operations = [ migrations.AlterField( model_name='worldbo...
22.45
78
0.632517
50
449
5.64
0.68
0.092199
0.113475
0.12766
0.212766
0.212766
0
0
0
0
0
0.068249
0.249443
449
19
79
23.631579
0.768546
0.100223
0
0
1
0
0.104478
0
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
38a1aeec73b5c25381b82d560fdb3ca48a37c74c
701
py
Python
autoPyTorch/pipeline/components/setup/network_initializer/NoInit.py
ravinkohli/Auto-PyTorch
a1512d56d4db89133e895e85765e3b72afbfe157
[ "Apache-2.0" ]
1
2021-05-12T10:11:58.000Z
2021-05-12T10:11:58.000Z
autoPyTorch/pipeline/components/setup/network_initializer/NoInit.py
maxpark/Auto-PyTorch
06e67de5017b4cccad9398e24a3d9f0bd8176da3
[ "Apache-2.0" ]
34
2020-10-06T08:06:46.000Z
2021-01-21T13:23:34.000Z
autoPyTorch/pipeline/components/setup/network_initializer/NoInit.py
maxpark/Auto-PyTorch
06e67de5017b4cccad9398e24a3d9f0bd8176da3
[ "Apache-2.0" ]
1
2020-10-14T12:25:47.000Z
2020-10-14T12:25:47.000Z
from typing import Callable import torch from autoPyTorch.pipeline.components.setup.network_initializer.base_network_initializer import ( BaseNetworkInitializerComponent ) class NoInit(BaseNetworkInitializerComponent): """ No initialization on the weights/bias """ def weights_init(self) -> Call...
28.04
96
0.707561
79
701
6.227848
0.658228
0.073171
0
0
0
0
0
0
0
0
0
0
0.232525
701
24
97
29.208333
0.914498
0.373752
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.1
0.3
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
38adf5ebd6f269f17c1fa14e7dbf39222e45d753
1,362
py
Python
python/dataProcessing/generatePlots.py
Maplenormandy/list-62x
c1731d0610fdf9e58cb2792d706e8904c549fbd6
[ "MIT" ]
1
2020-11-07T12:40:59.000Z
2020-11-07T12:40:59.000Z
python/dataProcessing/generatePlots.py
Maplenormandy/list-62x
c1731d0610fdf9e58cb2792d706e8904c549fbd6
[ "MIT" ]
null
null
null
python/dataProcessing/generatePlots.py
Maplenormandy/list-62x
c1731d0610fdf9e58cb2792d706e8904c549fbd6
[ "MIT" ]
null
null
null
import pandas as pd import matplotlib.pyplot as plt import numpy as np from statsmodels.stats.weightstats import ttost_paired data = pd.read_csv(open('combined_data.csv')) for t in data.index: if int(data.loc[t, 'Baseline']) == 0: data.loc[t, 'STF Baseline'] = data.loc[t, 'Succesfully Tracked Features 0...
31.674419
93
0.696035
203
1,362
4.650246
0.300493
0.074153
0.076271
0.04661
0.554025
0.527542
0.326271
0.322034
0.322034
0.228814
0
0.018676
0.135095
1,362
42
94
32.428571
0.782683
0
0
0.193548
0
0
0.304188
0
0
0
0
0
0
0
null
null
0
0.129032
null
null
0.096774
0
0
0
null
0
0
0
0
0
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
38af66085e0a385bb524dc4be264dbe2d898daba
1,829
py
Python
zunzun/app/app.py
aprezcuba24/zunzun
cc294d9dfb84695be0ed1425cf946a0f4ea644a9
[ "MIT" ]
null
null
null
zunzun/app/app.py
aprezcuba24/zunzun
cc294d9dfb84695be0ed1425cf946a0f4ea644a9
[ "MIT" ]
null
null
null
zunzun/app/app.py
aprezcuba24/zunzun
cc294d9dfb84695be0ed1425cf946a0f4ea644a9
[ "MIT" ]
null
null
null
import importlib from zunzun import CommandRegister from injector import inject, singleton from click.core import Group from zunzun import ListenerConnector from zunzun import inspect from pathlib import Path @singleton class App: name = "" listeners_config: list = [] @inject def __init__( se...
29.5
86
0.668671
220
1,829
5.245455
0.272727
0.051993
0.041594
0.029463
0
0
0
0
0
0
0
0.000718
0.238928
1,829
61
87
29.983607
0.828305
0
0
0
0
0
0.049207
0.013669
0
0
0
0
0
1
0.18
false
0.02
0.18
0.08
0.54
0
0
0
0
null
0
0
0
0
0
0
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
38b116711be814607ed2866ab771fa7d05349727
807
py
Python
main/migrations/0013_game.py
AyushHazard/Samskritam
c5db8e712afe24737cacc6e6f3f27e3fcbe83e26
[ "MIT" ]
null
null
null
main/migrations/0013_game.py
AyushHazard/Samskritam
c5db8e712afe24737cacc6e6f3f27e3fcbe83e26
[ "MIT" ]
null
null
null
main/migrations/0013_game.py
AyushHazard/Samskritam
c5db8e712afe24737cacc6e6f3f27e3fcbe83e26
[ "MIT" ]
3
2021-01-05T18:40:57.000Z
2021-05-14T07:56:20.000Z
# Generated by Django 3.1.2 on 2021-01-01 05:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0012_attempted_contests'), ] operations = [ migrations.CreateModel( name='Game', fields=[ ('...
32.28
114
0.567534
80
807
5.625
0.625
0.1
0.08
0.106667
0.293333
0.173333
0.173333
0
0
0
0
0.043029
0.28005
807
24
115
33.625
0.731497
0.055762
0
0
1
0
0.103947
0.030263
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
38b351b78225843bd3597a610a0f89e29687ff5d
2,224
py
Python
genome_designer/debug/2014_08_05_de_novo_on_dep_data_with_intervals.py
churchlab/millstone
ddb5d003a5b8a7675e5a56bafd5c432d9642b473
[ "MIT" ]
45
2015-09-30T14:55:33.000Z
2021-06-28T02:33:30.000Z
genome_designer/debug/2014_08_05_de_novo_on_dep_data_with_intervals.py
churchlab/millstone
ddb5d003a5b8a7675e5a56bafd5c432d9642b473
[ "MIT" ]
261
2015-06-03T20:41:56.000Z
2022-03-07T08:46:10.000Z
genome_designer/debug/2014_08_05_de_novo_on_dep_data_with_intervals.py
churchlab/millstone
ddb5d003a5b8a7675e5a56bafd5c432d9642b473
[ "MIT" ]
22
2015-06-04T20:43:10.000Z
2022-02-27T08:27:34.000Z
""" Re-running de novo assembly, this time including reads that map to mobile elements. """ import os import sys # Setup Django environment. sys.path.append( os.path.join(os.path.dirname(os.path.realpath(__file__)), '../')) os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from Bio import SeqIO from experim...
30.054054
83
0.659173
288
2,224
4.868056
0.427083
0.068474
0.019971
0.021398
0.091298
0.058488
0.058488
0.058488
0
0
0
0.011243
0.240108
2,224
73
84
30.465753
0.818343
0.110162
0
0.043478
0
0
0.064362
0.023404
0
0
0
0
0.065217
0
null
null
0
0.108696
null
null
0.021739
0
0
0
null
0
0
0
0
0
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
38b43f59bf0131f94f4000fe15af73705057fab7
288
py
Python
P942.py
Muntaha-Islam0019/Leetcode-Solutions
0bc56ce43a6d8ad10461b69078166a2a5b913e7f
[ "MIT" ]
null
null
null
P942.py
Muntaha-Islam0019/Leetcode-Solutions
0bc56ce43a6d8ad10461b69078166a2a5b913e7f
[ "MIT" ]
null
null
null
P942.py
Muntaha-Islam0019/Leetcode-Solutions
0bc56ce43a6d8ad10461b69078166a2a5b913e7f
[ "MIT" ]
null
null
null
class Solution: def diStringMatch(self, S): low,high=0,len(S) ans=[] for i in S: if i=="I": ans.append(low) low+=1 else: ans.append(high) high-=1 return ans +[low]
22.153846
32
0.381944
33
288
3.333333
0.575758
0.163636
0
0
0
0
0
0
0
0
0
0.020979
0.503472
288
12
33
24
0.748252
0
0
0
0
0
0.003472
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
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
38b765a30bc55c0417892d2304fc6cfeafcf844e
2,663
py
Python
forecasting/src/autogluon/forecasting/trainer/auto_trainer.py
sgdread/autogluon
fa95c72a07066dc5380fccf8bbce04b5c031fc68
[ "Apache-2.0" ]
null
null
null
forecasting/src/autogluon/forecasting/trainer/auto_trainer.py
sgdread/autogluon
fa95c72a07066dc5380fccf8bbce04b5c031fc68
[ "Apache-2.0" ]
null
null
null
forecasting/src/autogluon/forecasting/trainer/auto_trainer.py
sgdread/autogluon
fa95c72a07066dc5380fccf8bbce04b5c031fc68
[ "Apache-2.0" ]
null
null
null
import logging from typing import Dict, Union, Optional, Any from ..models.presets import get_preset_models from .abstract_trainer import AbstractForecastingTrainer, TimeSeriesDataFrame logger = logging.getLogger(__name__) class AutoForecastingTrainer(AbstractForecastingTrainer): def construct_model_templates(s...
39.746269
105
0.66917
273
2,663
6.326007
0.410256
0.083382
0.02432
0.055588
0.076433
0.076433
0
0
0
0
0
0
0.267368
2,663
66
106
40.348485
0.885187
0.356365
0
0.108108
0
0
0.031736
0
0
0
0
0.015152
0
1
0.054054
false
0
0.108108
0
0.216216
0
0
0
0
null
0
0
0
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
38c660adbca3d15d5ca02084209f151a1d111447
19,353
py
Python
bmtk/simulator/popnet/popsimulator.py
hernando/bmtk
57e6924819a74f41ed94a34f55e6ebed0525d037
[ "BSD-3-Clause" ]
1
2019-03-27T12:23:09.000Z
2019-03-27T12:23:09.000Z
bmtk/simulator/popnet/popsimulator.py
hernando/bmtk
57e6924819a74f41ed94a34f55e6ebed0525d037
[ "BSD-3-Clause" ]
null
null
null
bmtk/simulator/popnet/popsimulator.py
hernando/bmtk
57e6924819a74f41ed94a34f55e6ebed0525d037
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2017. Allen Institute. All rights reserved # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the # following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
42.911308
131
0.644293
2,430
19,353
4.952675
0.169136
0.0172
0.012796
0.007894
0.393436
0.359867
0.350062
0.333693
0.313087
0.309763
0
0.001563
0.272723
19,353
451
132
42.911308
0.853499
0.265799
0
0.142857
0
0
0.081204
0
0
0
0
0.015521
0
1
0.126374
false
0
0.065934
0.032967
0.252747
0.021978
0
0
0
null
0
0
0
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
38cabe0c4bced6b634c68a59cf4f8f5117b14f51
394
py
Python
2020/aoc6.py
lachtanek/advent-of-code
dc83d82d46392adc073191161c2767e684d776bd
[ "MIT" ]
null
null
null
2020/aoc6.py
lachtanek/advent-of-code
dc83d82d46392adc073191161c2767e684d776bd
[ "MIT" ]
null
null
null
2020/aoc6.py
lachtanek/advent-of-code
dc83d82d46392adc073191161c2767e684d776bd
[ "MIT" ]
null
null
null
from functools import reduce data = [] with open("aoc6.inp") as rf: sets = [] for l in rf: if l == "\n": data.append(sets) sets = [] else: sets.append(set([c for c in l.strip()])) a1 = a2 = 0 for sets in data: a1 += len(reduce(lambda s1, s2: s1 | s2, s...
17.909091
52
0.5
61
394
3.229508
0.491803
0.081218
0.152284
0.172589
0.274112
0.274112
0.274112
0.274112
0
0
0
0.061776
0.34264
394
21
53
18.761905
0.698842
0
0
0.133333
0
0
0.025381
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
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
38caf61d9a9e8681b2748236a9dabcabd645543a
1,075
py
Python
ghnotifier/menu.py
iamtalhaasghar/ghnotifier
7bbcbc32abc8ad923bff64055cb19ac042a03764
[ "MIT" ]
1
2022-02-03T05:30:22.000Z
2022-02-03T05:30:22.000Z
ghnotifier/menu.py
iamtalhaasghar/ghnotifier
7bbcbc32abc8ad923bff64055cb19ac042a03764
[ "MIT" ]
5
2018-10-30T13:03:24.000Z
2022-02-03T06:06:08.000Z
ghnotifier/menu.py
iamtalhaasghar/ghnotifier
7bbcbc32abc8ad923bff64055cb19ac042a03764
[ "MIT" ]
1
2022-02-03T06:02:02.000Z
2022-02-03T06:02:02.000Z
#!/usr/bin/env python3 import webbrowser import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk from ghnotifier.notifier import Notifier from ghnotifier.settings import Settings class Menu: GITHUB_NOTIFICATIONS = 'https://github.com/notifications' def __init__(self): self.menu =...
21.5
61
0.655814
124
1,075
5.58871
0.370968
0.05772
0.066378
0
0
0
0
0
0
0
0
0.003628
0.230698
1,075
50
62
21.5
0.834341
0.019535
0
0.090909
0
0
0.072106
0
0
0
0
0
0
1
0.212121
false
0
0.151515
0.030303
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
1
0
0
0
0
0
0
0
1
38d24f0b77db0580d1f6a1183215410fe0692d65
859
py
Python
Python/Maths/factorielle.py
GeneralNZR/maths-and-javascript
8a0e638e59808b1d987269dddac0b99c96c78c4a
[ "MIT" ]
3
2021-10-01T06:11:28.000Z
2021-10-04T20:50:07.000Z
Python/Maths/factorielle.py
GeneralNZR/maths-and-javascript
8a0e638e59808b1d987269dddac0b99c96c78c4a
[ "MIT" ]
null
null
null
Python/Maths/factorielle.py
GeneralNZR/maths-and-javascript
8a0e638e59808b1d987269dddac0b99c96c78c4a
[ "MIT" ]
null
null
null
def factorielle_rec(n: int) -> int: """ Description: Factorielle méthode récursive Paramètres: n: {int} -- Nombre à factorielle Retourne: {int} -- Factorielle de n Exemple: >>> factorielle_rec(100) 9.332622e+157 Pour l'écriture scientif...
21.475
65
0.549476
98
859
4.744898
0.367347
0.12043
0.064516
0.077419
0.696774
0.696774
0.541935
0.541935
0.541935
0.541935
0
0.066901
0.338766
859
40
66
21.475
0.751761
0.597206
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
38d36df65b3ed1c6bdcd5d1855bfdf3aac9db033
14,536
py
Python
huaweicloud-sdk-bssintl/huaweicloudsdkbssintl/v2/model/apply_individual_realname_auths_req.py
huaweicloud/huaweicloud-sdk-python-v3
7a6270390fcbf192b3882bf763e7016e6026ef78
[ "Apache-2.0" ]
64
2020-06-12T07:05:07.000Z
2022-03-30T03:32:50.000Z
huaweicloud-sdk-bssintl/huaweicloudsdkbssintl/v2/model/apply_individual_realname_auths_req.py
huaweicloud/huaweicloud-sdk-python-v3
7a6270390fcbf192b3882bf763e7016e6026ef78
[ "Apache-2.0" ]
11
2020-07-06T07:56:54.000Z
2022-01-11T11:14:40.000Z
huaweicloud-sdk-bssintl/huaweicloudsdkbssintl/v2/model/apply_individual_realname_auths_req.py
huaweicloud/huaweicloud-sdk-python-v3
7a6270390fcbf192b3882bf763e7016e6026ef78
[ "Apache-2.0" ]
24
2020-06-08T11:42:13.000Z
2022-03-04T06:44:08.000Z
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ApplyIndividualRealnameAuthsReq: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (d...
45.003096
1,131
0.717735
1,489
14,536
6.826729
0.137005
0.021249
0.131038
0.064535
0.751303
0.693261
0.656468
0.566945
0.54245
0.530841
0
0.030339
0.190493
14,536
322
1,132
45.142857
0.833517
0.585099
0
0.091549
0
0
0.076778
0
0
0
0
0
0
1
0.169014
false
0
0.035211
0
0.338028
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
38d42eb30da6ce6e341aef340a29b43528065a7b
626
py
Python
tests/test_pack_data.py
derekmerck/endpoint
5b74f0b3303bbf419a6c9f71e9a4a156583bf51d
[ "MIT" ]
null
null
null
tests/test_pack_data.py
derekmerck/endpoint
5b74f0b3303bbf419a6c9f71e9a4a156583bf51d
[ "MIT" ]
null
null
null
tests/test_pack_data.py
derekmerck/endpoint
5b74f0b3303bbf419a6c9f71e9a4a156583bf51d
[ "MIT" ]
null
null
null
from datetime import datetime from pprint import pprint from cryptography.fernet import Fernet from libsvc.utils import pack_data, unpack_data def pack_data_test(): fkey = Fernet.generate_key() data = {"today": datetime.today(), "dog": "cat", "red": "blue"} p = pack_data(data, f...
21.586207
54
0.627796
82
626
4.585366
0.426829
0.085106
0.06383
0
0
0
0
0
0
0
0
0.002058
0.223642
626
28
55
22.357143
0.771605
0
0
0
1
0
0.083067
0
0
0
0
0
0.157895
1
0.052632
false
0
0.210526
0
0.263158
0.157895
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
38d56c4e68352399b46ecce8e483eb237d03b4c0
1,604
py
Python
iris_sdk/models/portin.py
NumberAI/python-bandwidth-iris
0e05f79d68b244812afb97e00fd65b3f46d00aa3
[ "MIT" ]
2
2020-04-13T13:47:59.000Z
2022-02-23T20:32:41.000Z
iris_sdk/models/portin.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2020-09-18T20:59:24.000Z
2021-08-25T16:51:42.000Z
iris_sdk/models/portin.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2018-12-12T14:39:50.000Z
2020-11-17T21:42:29.000Z
#!/usr/bin/env python from __future__ import division, absolute_import, print_function from future.builtins import super from iris_sdk.models.activation_status import ActivationStatus from iris_sdk.models.base_resource import BaseResource from iris_sdk.models.data.portin import PortInData from iris_sdk.models.history...
25.460317
64
0.703865
203
1,604
5.256158
0.256158
0.052484
0.072165
0.111528
0
0
0
0
0
0
0
0
0.214464
1,604
63
65
25.460317
0.846825
0.031796
0
0.12766
0
0
0.017442
0
0
0
0
0
0
1
0.191489
false
0
0.191489
0.148936
0.617021
0.021277
0
0
0
null
0
0
0
0
0
0
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
38e5c75c5a33d505486249e9804993dae69406b3
20,561
py
Python
util/job_launching/procman.py
LauXy/accel-sim-framework
4c2bf09a79d6b57bb10fe1898700930a5dd5531f
[ "BSD-2-Clause" ]
88
2020-07-15T22:07:38.000Z
2022-03-29T03:52:55.000Z
util/job_launching/procman.py
LauXy/accel-sim-framework
4c2bf09a79d6b57bb10fe1898700930a5dd5531f
[ "BSD-2-Clause" ]
68
2020-08-12T13:44:59.000Z
2022-03-28T19:34:56.000Z
util/job_launching/procman.py
LauXy/accel-sim-framework
4c2bf09a79d6b57bb10fe1898700930a5dd5531f
[ "BSD-2-Clause" ]
54
2020-07-24T21:05:56.000Z
2022-03-31T13:28:23.000Z
#!/usr/bin/env python # 2020 (c) Tim Rogers, Purdue University # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # Redistributions of source code must retain the above copyright notice, this # list of conditions and the fo...
41.453629
127
0.594961
2,472
20,561
4.910194
0.217233
0.014335
0.015653
0.013347
0.23134
0.199044
0.176306
0.146976
0.139891
0.113198
0
0.007356
0.292544
20,561
495
128
41.537374
0.8271
0.1943
0
0.239247
0
0.002688
0.132893
0.007157
0
0
0
0
0
0
null
null
0.008065
0.043011
null
null
0.072581
0
0
0
null
0
0
0
0
0
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
38e6e2acda50235d67dfac9f5ec598d66c8ddcc1
2,005
py
Python
nabu/processing/tfreaders/numpy_float_array_as_tfrecord_reader.py
Darleen2019/Nabu-MSSS
5e862cbf846d45b8a317f87588533f3fde9f0726
[ "MIT" ]
18
2017-10-16T13:12:46.000Z
2022-02-15T01:20:00.000Z
nabu/processing/tfreaders/numpy_float_array_as_tfrecord_reader.py
Darleen2019/Nabu-MSSS
5e862cbf846d45b8a317f87588533f3fde9f0726
[ "MIT" ]
null
null
null
nabu/processing/tfreaders/numpy_float_array_as_tfrecord_reader.py
Darleen2019/Nabu-MSSS
5e862cbf846d45b8a317f87588533f3fde9f0726
[ "MIT" ]
9
2017-10-03T18:10:10.000Z
2020-11-13T08:26:31.000Z
'''@file numpy_float_array_as_tfrecord_reader.py contains the NumpyFloatArrayAsTfrecordReader class''' import os import numpy as np import tensorflow as tf import tfreader import pdb class NumpyFloatArrayAsTfrecordReader(tfreader.TfReader): '''reader for numpy float arrays''' def _read_metadata(self, datadir...
30.378788
78
0.613965
226
2,005
5.327434
0.411504
0.100498
0.078904
0.023256
0.11794
0.08804
0
0
0
0
0
0.003531
0.293766
2,005
65
79
30.846154
0.846751
0.01995
0
0
0
0
0.108197
0
0
0
0
0
0
0
null
null
0
0.185185
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
38e9981ca280b378dc3584ec5d46dac7194e4dbd
643
py
Python
apps/telegram_bot/bot/filters.py
alena-kono/bot-valley
e8403f75bcd4e4b3f84bbe8c00a53d763e7c9776
[ "MIT" ]
null
null
null
apps/telegram_bot/bot/filters.py
alena-kono/bot-valley
e8403f75bcd4e4b3f84bbe8c00a53d763e7c9776
[ "MIT" ]
1
2022-03-01T12:18:11.000Z
2022-03-01T12:18:11.000Z
apps/telegram_bot/bot/filters.py
alena-kono/bot-valley
e8403f75bcd4e4b3f84bbe8c00a53d763e7c9776
[ "MIT" ]
null
null
null
import telegram from telegram.ext.filters import MessageFilter from apps.telegram_bot.preferences import global_preferences class CryptoCurrencyFilter(MessageFilter): """A custom MessageFilter that filters telegram text messages by the condition of entering the list of BUTTONS_CRYPTO_CURRENCIES_FROM. """...
33.842105
82
0.735614
73
643
6.273973
0.547945
0.085153
0.100437
0.117904
0
0
0
0
0
0
0
0
0.194401
643
18
83
35.722222
0.88417
0.203733
0
0
0
0
0.066398
0.062374
0
0
0
0
0
1
0.090909
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
c7fbbec52e6a6987d6dd31cf694220a3b9b2bd09
301
py
Python
web crawler functions/get_next_target.py
akshaynagpal/python_web_crawler
a74af25db4c9f819105621868a6a9a7337a2a770
[ "MIT" ]
1
2022-03-06T21:00:45.000Z
2022-03-06T21:00:45.000Z
web crawler functions/get_next_target.py
akshaynagpal/python_web_crawler
a74af25db4c9f819105621868a6a9a7337a2a770
[ "MIT" ]
null
null
null
web crawler functions/get_next_target.py
akshaynagpal/python_web_crawler
a74af25db4c9f819105621868a6a9a7337a2a770
[ "MIT" ]
null
null
null
def get_next_target(page): start_link = page.find('<a href=') if start_link == -1: return None,0 else: start_quote = page.find('"', start_link) end_quote = page.find('"', start_quote + 1) url = page[start_quote + 1:end_quote] return url, end_quote
27.363636
51
0.58804
43
301
3.860465
0.44186
0.162651
0.156627
0.216867
0
0
0
0
0
0
0
0.018433
0.27907
301
10
52
30.1
0.746544
0
0
0
0
0
0.033333
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
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
2a0340d6bee8c182f82274f58caefa62290e5be1
461
py
Python
configs/retinanet/retinanet_r50_fpn_1x_bdd100k.py
XDong18/mmdetection
482ada168a644f350d51d85783d309677441eeb0
[ "Apache-2.0" ]
null
null
null
configs/retinanet/retinanet_r50_fpn_1x_bdd100k.py
XDong18/mmdetection
482ada168a644f350d51d85783d309677441eeb0
[ "Apache-2.0" ]
null
null
null
configs/retinanet/retinanet_r50_fpn_1x_bdd100k.py
XDong18/mmdetection
482ada168a644f350d51d85783d309677441eeb0
[ "Apache-2.0" ]
null
null
null
_base_ = [ '../_base_/models/retinanet_r50_fpn.py', '../_base_/datasets/bdd100k_detection.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] # optimizer optimizer = dict(type='SGD', lr=0.01, momentum=0.9, weight_decay=0.0001) # model model = dict( bbox_head=dict( num_c...
20.954545
72
0.665944
64
461
4.453125
0.6875
0.063158
0
0
0
0
0
0
0
0
0
0.060686
0.177874
461
21
73
21.952381
0.691293
0.149675
0
0
0
0
0.365285
0.357513
0
0
0
0.047619
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2a0e1ca9345564e019c758529a1cb3634a3a9fae
296
py
Python
ergoservice/dashboard/models.py
damirmedakovic/ergoapp
38dec32aa2dbdd3ec27a8e911fc233dff7c7c499
[ "MIT" ]
null
null
null
ergoservice/dashboard/models.py
damirmedakovic/ergoapp
38dec32aa2dbdd3ec27a8e911fc233dff7c7c499
[ "MIT" ]
5
2020-06-05T23:32:29.000Z
2021-06-10T18:58:29.000Z
ergoservice/dashboard/models.py
damirmedakovic/ergoapp
38dec32aa2dbdd3ec27a8e911fc233dff7c7c499
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Case(models.Model): name = models.CharField(max_length =100) email = models.EmailField(max_length=100, unique=True) message = models.CharField(max_length=500, blank=True) created_at = models.DateTimeField(auto_now_add=True)
22.769231
55
0.773649
43
296
5.186047
0.674419
0.121076
0.161435
0.215247
0
0
0
0
0
0
0
0.034615
0.121622
296
12
56
24.666667
0.823077
0.081081
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a112329bea0c737e5460d8489595b646350f0f7
732
py
Python
logtf_analyser/tests/test_convert_id3_to_id64.py
cob16/logtf_analyzer
d7398da4fcf0dc64e2dfa7078e036a8189c81b77
[ "MIT" ]
null
null
null
logtf_analyser/tests/test_convert_id3_to_id64.py
cob16/logtf_analyzer
d7398da4fcf0dc64e2dfa7078e036a8189c81b77
[ "MIT" ]
null
null
null
logtf_analyser/tests/test_convert_id3_to_id64.py
cob16/logtf_analyzer
d7398da4fcf0dc64e2dfa7078e036a8189c81b77
[ "MIT" ]
null
null
null
from unittest import TestCase from parameterized import parameterized from logtf_analyser.utils import convert_id3_to_id64 class TestConvert_id3_to_id64(TestCase): def test_convert_id3_to_id64(self): id64 = convert_id3_to_id64("[U:1:22202]") self.assertEqual(id64, 76561197960287930) @param...
28.153846
52
0.693989
92
732
5.184783
0.434783
0.073375
0.132075
0.201258
0.083857
0
0
0
0
0
0
0.121317
0.211749
732
25
53
29.28
0.705373
0
0
0
0
0
0.075137
0
0
0
0
0
0.166667
1
0.166667
false
0
0.166667
0
0.388889
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
2a11e07673a89b3a3b7bcf3915b416ec6d3dad8d
5,716
py
Python
apps/blog/editer_user.py
jhjguxin/blogserver
7873e1a94d05859650ce88d50e241456f4ab43ed
[ "MIT" ]
3
2015-11-17T16:16:41.000Z
2018-07-07T13:34:18.000Z
apps/blog/editer_user.py
jhjguxin/blogserver
7873e1a94d05859650ce88d50e241456f4ab43ed
[ "MIT" ]
null
null
null
apps/blog/editer_user.py
jhjguxin/blogserver
7873e1a94d05859650ce88d50e241456f4ab43ed
[ "MIT" ]
1
2020-06-08T02:46:07.000Z
2020-06-08T02:46:07.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- from django.http import HttpResponse, HttpResponseRedirect from django.contrib.auth.decorators import login_required from django.utils.translation import ugettext as _ from django.shortcuts import render_to_response, get_object_or_404 from django.template import RequestCont...
33.426901
172
0.646956
671
5,716
5.33532
0.183308
0.026816
0.02933
0.037151
0.425698
0.386872
0.355307
0.355307
0.337989
0.337989
0
0.00431
0.228831
5,716
170
173
33.623529
0.807849
0.03359
0
0.471698
0
0
0.067845
0
0
0
0
0
0
1
0.075472
false
0.09434
0.226415
0
0.433962
0
0
0
0
null
0
0
0
0
0
0
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
2a15f841c908a1dfe49e0cb148931bd74de7aa9f
841
py
Python
Source/Tools/BindTool/writer.py
ssinai1/rbfx
e69a7093d153667e3d8dd3270449d3d594c1c1a8
[ "MIT" ]
441
2018-12-26T14:50:23.000Z
2021-11-05T03:13:27.000Z
Source/Tools/BindTool/writer.py
ssinai1/rbfx
e69a7093d153667e3d8dd3270449d3d594c1c1a8
[ "MIT" ]
221
2018-12-29T17:40:23.000Z
2021-11-06T21:41:55.000Z
Source/Tools/BindTool/writer.py
ssinai1/rbfx
e69a7093d153667e3d8dd3270449d3d594c1c1a8
[ "MIT" ]
101
2018-12-29T13:08:10.000Z
2021-11-02T09:58:37.000Z
class InterfaceWriter(object): def __init__(self, output_path): self._output_path_template = output_path + '/_{key}_{subsystem}.i' self._fp = { 'pre': {}, 'post': {}, } def _write(self, key, subsystem, text): subsystem = subsystem.lower() fp = se...
30.035714
119
0.567182
102
841
4.431373
0.303922
0.143805
0.09292
0.097345
0.115044
0
0
0
0
0
0
0
0.290131
841
27
120
31.148148
0.757119
0
0
0
0
0
0.046429
0.025
0
0
0
0
0
1
0.227273
false
0
0
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
1
0
0
0
0
0
0
0
1
2a1b32d6549e142ab87a8c6dd798f43bdbbe5e9f
685
py
Python
gitzer/director/migrations/0001_initial.py
IgnisDa/Gitzer
6810ee7ca6b9d86d7d87745342850a8be58d1865
[ "Apache-2.0" ]
2
2021-01-24T07:44:28.000Z
2021-01-30T22:12:43.000Z
gitzer/director/migrations/0001_initial.py
IgnisDa/Gitzer
6810ee7ca6b9d86d7d87745342850a8be58d1865
[ "Apache-2.0" ]
null
null
null
gitzer/director/migrations/0001_initial.py
IgnisDa/Gitzer
6810ee7ca6b9d86d7d87745342850a8be58d1865
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-16 08:15 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Repository', fields=[ ('id', models.AutoFie...
29.782609
134
0.617518
80
685
5.175
0.7125
0.038647
0.05314
0
0
0
0
0
0
0
0
0.035857
0.267153
685
22
135
31.136364
0.788845
0.065693
0
0
1
0
0.191223
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a1c70b9d1e40d06c382598343320ee23443054f
2,668
py
Python
model_based/svms/test_model_compression.py
vohoaiviet/tag-image-retrieval
0a257560581f702cd394f3f28c9e0f6202827ce8
[ "MIT" ]
50
2015-11-04T15:53:09.000Z
2022-01-03T14:46:17.000Z
model_based/svms/test_model_compression.py
vohoaiviet/tag-image-retrieval
0a257560581f702cd394f3f28c9e0f6202827ce8
[ "MIT" ]
2
2018-03-07T09:51:50.000Z
2018-10-13T11:05:13.000Z
model_based/svms/test_model_compression.py
vohoaiviet/tag-image-retrieval
0a257560581f702cd394f3f28c9e0f6202827ce8
[ "MIT" ]
17
2015-10-26T03:41:49.000Z
2021-08-23T08:11:05.000Z
import sys import os import time from basic.common import ROOT_PATH,checkToSkip,makedirsforfile from basic.util import readImageSet from simpleknn.bigfile import BigFile, StreamFile from basic.annotationtable import readConcepts,readAnnotationsFrom from basic.metric import getScorer if __name__ == "__main__": t...
31.388235
141
0.687031
298
2,668
5.942953
0.365772
0.035573
0.036702
0.030491
0.23546
0.175607
0.1214
0.1214
0.1214
0
0
0.02202
0.217016
2,668
84
142
31.761905
0.825754
0
0
0
0
0
0.057743
0.017248
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.054545
0
0
0
null
0
0
0
0
0
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
2a291bb3879db1c009a0ad3fab6dd256c7e79e33
1,646
py
Python
gemini/bin/gemini_python.py
codes1gn/gemini
4b173ea583f2578244d1d0fb482ccb77818f7558
[ "MIT" ]
null
null
null
gemini/bin/gemini_python.py
codes1gn/gemini
4b173ea583f2578244d1d0fb482ccb77818f7558
[ "MIT" ]
null
null
null
gemini/bin/gemini_python.py
codes1gn/gemini
4b173ea583f2578244d1d0fb482ccb77818f7558
[ "MIT" ]
null
null
null
import sys import traceback import copy import importlib from gemini.gemini_compiler import * from gemini.utils import * def main(argv=sys.argv[1:]): print('gemini compiler entry point') filename = copy.deepcopy(argv[0]) arguments = copy.deepcopy(argv[1:]) compiler = GeminiCompiler() src_code = ...
27.433333
76
0.655529
212
1,646
4.924528
0.358491
0.028736
0.042146
0.063218
0.201149
0.12069
0.057471
0
0
0
0
0.009623
0.242406
1,646
59
77
27.898305
0.827586
0.157959
0
0.146341
0
0
0.156023
0
0
0
0
0.016949
0.097561
1
0.02439
false
0.02439
0.146341
0
0.170732
0.195122
0
0
0
null
0
0
0
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
2a2949f385ec93a057a10d2a09d0bd12596b5253
1,535
py
Python
veselin-angelov-ekatte/create_database.py
veselin-angelov/training-projects
f02a29eed57d60720fe66e76af483d2b1f689bfd
[ "Apache-2.0" ]
null
null
null
veselin-angelov-ekatte/create_database.py
veselin-angelov/training-projects
f02a29eed57d60720fe66e76af483d2b1f689bfd
[ "Apache-2.0" ]
null
null
null
veselin-angelov-ekatte/create_database.py
veselin-angelov/training-projects
f02a29eed57d60720fe66e76af483d2b1f689bfd
[ "Apache-2.0" ]
null
null
null
from helpers import create_connection, execute_query connection = create_connection( "postgres", "postgres", "admin", "127.0.0.1", "5432" ) create_database_query = "CREATE DATABASE ekatte" execute_query(connection, create_database_query) connection = create_connection( "ekatte", "postgres", "admin", "127.0.0...
31.326531
106
0.672964
180
1,535
5.555556
0.216667
0.084
0.099
0.14
0.369
0.211
0.13
0.13
0.072
0
0
0.018257
0.214984
1,535
48
107
31.979167
0.811618
0
0
0.341463
0
0
0.676873
0.029316
0
0
0
0
0
1
0
false
0
0.02439
0
0.02439
0
0
0
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
2a29f26fbea0a3dc55f5442506c8f8e9d6c38803
1,053
py
Python
api/model.py
thomashusken/img-class
0ceead70f4e30face409069fb49d02fb927abc03
[ "MIT" ]
null
null
null
api/model.py
thomashusken/img-class
0ceead70f4e30face409069fb49d02fb927abc03
[ "MIT" ]
2
2022-01-13T01:20:18.000Z
2022-03-11T23:50:06.000Z
api/model.py
thomashusken/img-class
0ceead70f4e30face409069fb49d02fb927abc03
[ "MIT" ]
null
null
null
from torchvision import models import json import numpy as np import torch from collections import OrderedDict from operator import itemgetter import os def return_top_5(processed_image): # inception = models.inception_v3(pretrained=True) inception = models.inception_v3() inception.load_state_dict(torch.lo...
31.909091
84
0.698955
152
1,053
4.717105
0.453947
0.046025
0.066946
0.072524
0
0
0
0
0
0
0
0.02411
0.17284
1,053
33
85
31.909091
0.799082
0.1415
0
0
0
0
0.074444
0.074444
0
0
0
0
0
1
0.043478
false
0
0.304348
0
0.391304
0
0
0
0
null
0
0
0
0
0
0
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
2a2ef0f35e15ed911d8da568d2fb240bfd2a6fd8
5,551
py
Python
ppobyter/marketplace/abilities.py
graatje/highscoresbot
26207b8191ed6c9a3d7ecd49fea482e6d3603c36
[ "MIT" ]
null
null
null
ppobyter/marketplace/abilities.py
graatje/highscoresbot
26207b8191ed6c9a3d7ecd49fea482e6d3603c36
[ "MIT" ]
null
null
null
ppobyter/marketplace/abilities.py
graatje/highscoresbot
26207b8191ed6c9a3d7ecd49fea482e6d3603c36
[ "MIT" ]
null
null
null
abilities = {1: 'Stench', 2: 'Drizzle', 3: 'Speed Boost', 4: 'Battle Armor', 5: 'Sturdy', 6: 'Damp', 7: 'Limber', 8: 'Sand Veil', 9: 'Static', 10: 'Volt Absorb', 11: 'Water Absorb', 12: 'Oblivious', 13: 'Cloud Nine', 14: 'Compound Eyes', 15: 'Insomnia', 16: 'Color Change', 17: 'Immunity', 18: ...
108.843137
120
0.566384
699
5,551
4.497854
0.888412
0.003181
0
0
0
0
0
0
0
0
0
0.164374
0.240497
5,551
50
121
111.02
0.581357
0
0
0
0
0
0.469465
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a326bdb7af710f5433ff63b32a58d49b24260c8
3,951
py
Python
strictdoc/backend/sdoc/grammar/grammar.py
BenGardiner/strictdoc
c927872a8f080ca1f86cdb7e99767fb25398dbd5
[ "Apache-2.0" ]
null
null
null
strictdoc/backend/sdoc/grammar/grammar.py
BenGardiner/strictdoc
c927872a8f080ca1f86cdb7e99767fb25398dbd5
[ "Apache-2.0" ]
3
2022-02-21T10:57:01.000Z
2022-02-21T13:22:23.000Z
strictdoc/backend/sdoc/grammar/grammar.py
BenGardiner/strictdoc
c927872a8f080ca1f86cdb7e99767fb25398dbd5
[ "Apache-2.0" ]
null
null
null
STRICTDOC_GRAMMAR = r""" Document[noskipws]: '[DOCUMENT]' '\n' // NAME: is deprecated. Both documents and sections now have TITLE:. (('NAME: ' name = /.*$/ '\n') | ('TITLE: ' title = /.*$/ '\n')?) (config = DocumentConfig)? ('\n' grammar = DocumentGrammar)? free_texts *= SpaceThenFreeText section_contents...
20.365979
78
0.638826
310
3,951
8.067742
0.329032
0.02399
0.028788
0.043183
0.22391
0.19912
0.056777
0.056777
0.056777
0
0
0
0.176158
3,951
193
79
20.471503
0.768356
0
0
0.141935
0
0.006452
0.992913
0.258669
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
2a4151beaa3590019a94a7fe55fcae4fc19b8066
1,826
py
Python
IMfunctions.py
KartoffelCheetah/personal-website-001
c0700687ef90cc9a8a26c13af158fc91ee30a647
[ "MIT" ]
null
null
null
IMfunctions.py
KartoffelCheetah/personal-website-001
c0700687ef90cc9a8a26c13af158fc91ee30a647
[ "MIT" ]
7
2017-10-04T15:22:23.000Z
2018-02-08T18:31:21.000Z
IMfunctions.py
KartoffelCheetah/personal-website-001
c0700687ef90cc9a8a26c13af158fc91ee30a647
[ "MIT" ]
null
null
null
#!/usr/bin/env python3.5 #-*- coding:utf-8 -*- """Functions handling images.""" import subprocess import os # supported ImageMagic Formats? def getDateTimeOriginal(filePath) : """If image has DateTimeOriginal then returns it as a string. If it's missing or there isn't EXIF at all then returns empty string.""" ...
58.903226
234
0.727273
229
1,826
5.790393
0.454148
0.024133
0.031674
0.043741
0.508296
0.455505
0.352941
0.352941
0.352941
0.352941
0
0.014668
0.141292
1,826
30
235
60.866667
0.830995
0.382256
0
0.315789
0
0
0.158182
0.021818
0
0
0
0
0
1
0.210526
false
0
0.105263
0
0.526316
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2a4164567c21ed5336f207306a71b8f7e94eae41
18,415
py
Python
plugins/modules/oci_resource_manager_template.py
slmjy/oci-ansible-collection
349c91e2868bf4706a6e3d6fb3b47fc622bfe11b
[ "Apache-2.0" ]
108
2020-05-19T20:46:10.000Z
2022-03-25T14:10:01.000Z
plugins/modules/oci_resource_manager_template.py
slmjy/oci-ansible-collection
349c91e2868bf4706a6e3d6fb3b47fc622bfe11b
[ "Apache-2.0" ]
90
2020-06-14T22:07:11.000Z
2022-03-07T05:40:29.000Z
plugins/modules/oci_resource_manager_template.py
slmjy/oci-ansible-collection
349c91e2868bf4706a6e3d6fb3b47fc622bfe11b
[ "Apache-2.0" ]
42
2020-08-30T23:09:12.000Z
2022-03-25T16:58:01.000Z
#!/usr/bin/python # Copyright (c) 2020, 2021 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
38.686975
160
0.645072
2,048
18,415
5.546387
0.15625
0.016639
0.025442
0.025883
0.597148
0.557972
0.467207
0.446694
0.4209
0.404085
0
0.011198
0.272604
18,415
475
161
38.768421
0.836805
0.023948
0
0.461722
0
0.04067
0.654771
0.104276
0
0
0
0
0
1
0.033493
false
0.002392
0.019139
0.021531
0.088517
0.002392
0
0
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
2a419057ed32d0d72a2ab5830767804b84e6235c
2,259
py
Python
test.py
alexanderAustin/PythonGame
9a3da340ffa426d3c6d59b5c2eb3f2a68792164f
[ "Apache-2.0" ]
null
null
null
test.py
alexanderAustin/PythonGame
9a3da340ffa426d3c6d59b5c2eb3f2a68792164f
[ "Apache-2.0" ]
null
null
null
test.py
alexanderAustin/PythonGame
9a3da340ffa426d3c6d59b5c2eb3f2a68792164f
[ "Apache-2.0" ]
null
null
null
# This was built from the tutorial https://www.raywenderlich.com/24252/beginning-game-programming-for-teens-with-python import pygame, math, random from pygame.locals import * import pyganim # 2 - Initialize the game pygame.init() width, height = 640, 480 screen=pygame.display.set_mode((width, height)) pygame.display...
30.945205
119
0.683046
315
2,259
4.866667
0.438095
0.03392
0.039139
0.043053
0.174821
0.147423
0.116112
0.08741
0
0
0
0.033586
0.182824
2,259
73
120
30.945205
0.796858
0.296591
0
0.26087
0
0
0.11514
0.087786
0
0
0
0
0
0
null
null
0
0.065217
null
null
0.021739
0
0
0
null
0
0
0
0
0
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
2a4c8d2566e58f41d640706fecad5ae122f31804
2,061
py
Python
test/test_phones.py
tnurtdinov-st/python_traning
a5204b073101a9c7870b3219ba7ceff321cf6b41
[ "Apache-2.0" ]
null
null
null
test/test_phones.py
tnurtdinov-st/python_traning
a5204b073101a9c7870b3219ba7ceff321cf6b41
[ "Apache-2.0" ]
null
null
null
test/test_phones.py
tnurtdinov-st/python_traning
a5204b073101a9c7870b3219ba7ceff321cf6b41
[ "Apache-2.0" ]
null
null
null
import re from random import randrange def test_phones_on_homepage(app): contact_from_homepage = app.contact.get_contact_list()[0] contact_from_editpage = app.contact.get_contact_info_from_edit_page(0) assert contact_from_homepage.all_phones_from_homepage == merge_phones_like_on_homepage(contact_from_editp...
55.702703
181
0.802523
290
2,061
5.3
0.182759
0.207547
0.173064
0.091087
0.500976
0.482759
0.439167
0.413793
0.35784
0.35784
0
0.006518
0.106744
2,061
37
182
55.702703
0.828354
0
0
0.133333
0
0
0.00485
0
0
0
0
0
0.366667
1
0.2
false
0
0.066667
0.1
0.366667
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
2a5062017f7cc51174da9372c129642a7f1b6002
992
py
Python
iotkit/led.py
dhrg/iot-edison
d1a4eed659891ecbebe45e4e2fcf55c7828d01e7
[ "CC-BY-4.0" ]
null
null
null
iotkit/led.py
dhrg/iot-edison
d1a4eed659891ecbebe45e4e2fcf55c7828d01e7
[ "CC-BY-4.0" ]
null
null
null
iotkit/led.py
dhrg/iot-edison
d1a4eed659891ecbebe45e4e2fcf55c7828d01e7
[ "CC-BY-4.0" ]
null
null
null
import mraa # For accessing the GPIO import time # For sleeping between blinks global led def init_led(pin): global led led = mraa.Gpio(pin) # Get the LED pin object led.dir(mraa.DIR_OUT) # Set the direction as output led.write(0) def write_led(signal): global led led.wri...
24.8
61
0.556452
138
992
3.913043
0.427536
0.074074
0.044444
0.051852
0.340741
0.262963
0.262963
0.262963
0.262963
0.262963
0
0.009509
0.363911
992
40
62
24.8
0.846276
0.279234
0
0.37931
0
0
0.025605
0
0
0
0
0
0
0
null
null
0
0.068966
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2a52a6d200cba48f11a709eb7672ab1b68768cc1
218
py
Python
cogs/anime.py
TheLastNever/discord_bot
b4bb5513a70ebd0f6f794b035f498de3ae6f9a8f
[ "MIT" ]
null
null
null
cogs/anime.py
TheLastNever/discord_bot
b4bb5513a70ebd0f6f794b035f498de3ae6f9a8f
[ "MIT" ]
null
null
null
cogs/anime.py
TheLastNever/discord_bot
b4bb5513a70ebd0f6f794b035f498de3ae6f9a8f
[ "MIT" ]
null
null
null
import discord from discord.ext import commands class anime(commands.Cog): def __init__(self, bot): self.bot = bot self._last_member = None def setup(bot): bot.add_cog(anime(bot))
14.533333
32
0.637615
30
218
4.4
0.566667
0.106061
0
0
0
0
0
0
0
0
0
0
0.266055
218
15
33
14.533333
0.825
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
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
2a6147abbf7955e413192c373cc1c16dc8668901
5,315
py
Python
amalia/simulation/PoissonSimulation.py
Aganonce/AMALIA-lite
a9c854b45cc6486763349c262e44ee4d27d6bfac
[ "MIT" ]
null
null
null
amalia/simulation/PoissonSimulation.py
Aganonce/AMALIA-lite
a9c854b45cc6486763349c262e44ee4d27d6bfac
[ "MIT" ]
null
null
null
amalia/simulation/PoissonSimulation.py
Aganonce/AMALIA-lite
a9c854b45cc6486763349c262e44ee4d27d6bfac
[ "MIT" ]
2
2021-05-21T07:55:54.000Z
2021-09-23T12:58:50.000Z
import logging from tools.EventGeneration import convert_date, generate_random_time, generate_random_node_id logger = logging.getLogger(__name__.split('.')[-1]) from features.ResponseTypeFeature import ResponseTypeFeature from features.ReplayTimeSeriesFeature import ReplayTimeSeriesFeature import tools.Cache as Cach...
40.572519
133
0.660207
641
5,315
5.24181
0.282371
0.021429
0.026786
0.017857
0.123214
0.098214
0.098214
0.098214
0.07619
0.07619
0
0.003809
0.259078
5,315
130
134
40.884615
0.849416
0.194544
0
0.069444
1
0
0.096973
0.014191
0
0
0
0
0
1
0.055556
false
0
0.125
0
0.236111
0
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
2a67605a117277819275759c2973c2e8735861bc
2,497
py
Python
ui/_alert.py
isbm/pybug
406e47d0b75961d8b8a984b02053a9182f96c56d
[ "MIT" ]
null
null
null
ui/_alert.py
isbm/pybug
406e47d0b75961d8b8a984b02053a9182f96c56d
[ "MIT" ]
null
null
null
ui/_alert.py
isbm/pybug
406e47d0b75961d8b8a984b02053a9182f96c56d
[ "MIT" ]
1
2020-03-04T10:11:41.000Z
2020-03-04T10:11:41.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'xml/alert.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(s):...
40.934426
103
0.716059
256
2,497
6.894531
0.371094
0.091785
0.045326
0.063456
0.129178
0.092918
0.092918
0.092918
0.092918
0.092918
0
0.019932
0.176211
2,497
60
104
41.616667
0.838114
0.073288
0
0.130435
1
0
0.048135
0
0
0
0
0
0
1
0.108696
false
0
0.021739
0.065217
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a68fb1e3fb5aa04aab2b0e5a4bef92bf6a0aa37
689
py
Python
scripts/client_lidar.py
Paulllit/projet_proto_lidar
a84c80261c81ab08e365c575c416863c06355b71
[ "BSD-2-Clause" ]
null
null
null
scripts/client_lidar.py
Paulllit/projet_proto_lidar
a84c80261c81ab08e365c575c416863c06355b71
[ "BSD-2-Clause" ]
null
null
null
scripts/client_lidar.py
Paulllit/projet_proto_lidar
a84c80261c81ab08e365c575c416863c06355b71
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import rospy import math from sensor_msgs.msg import LaserScan #import des donnes laser du lidar import time from rplidar_ros.srv import * class Client(): vel=None angle_est=None #Init def __init__(self): rospy.init_node('client_lidar') def listen_angle(self): ...
23.758621
118
0.56894
83
689
4.433735
0.566265
0.086957
0.097826
0
0
0
0
0
0
0
0
0.003515
0.174165
689
28
119
24.607143
0.643234
0.088534
0
0
0
0
0.048828
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2a6d411eb9f892a9e63182fd8d2cb98e424999b0
3,021
py
Python
main.py
maxc0d3r/google-workspace-manager
d2a4e561ae8278455cd5b0c03283a413ebeaff54
[ "MIT" ]
null
null
null
main.py
maxc0d3r/google-workspace-manager
d2a4e561ae8278455cd5b0c03283a413ebeaff54
[ "MIT" ]
null
null
null
main.py
maxc0d3r/google-workspace-manager
d2a4e561ae8278455cd5b0c03283a413ebeaff54
[ "MIT" ]
null
null
null
""" Usage: main.py domains list main.py domains add [--body=<request_body>] [--file=<input_file>] main.py users list [--domain=<domain_name>] main.py users get [--email=<email>] main.py users add [--body=<request_body>] [--file=<input_file>] main.py users update [--email=<email>] [--body=<reque...
34.329545
90
0.568355
367
3,021
4.536785
0.217984
0.059459
0.05045
0.045045
0.392793
0.344144
0.344144
0.344144
0.273273
0.22042
0
0.005123
0.289308
3,021
87
91
34.724138
0.770377
0.209202
0
0.4375
0
0
0.076018
0
0
0
0
0
0
1
0.03125
false
0.09375
0.171875
0
0.21875
0.09375
0
0
0
null
0
0
0
0
0
0
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
2a6f14b3af74899266a2956f8a6a90c52813e8dd
6,105
py
Python
BMES_exps/BMES.py
volgachen/Chinese-Tokenization
467e08da6fe271b6e33258d5aa6682c0405a3f32
[ "Apache-2.0" ]
null
null
null
BMES_exps/BMES.py
volgachen/Chinese-Tokenization
467e08da6fe271b6e33258d5aa6682c0405a3f32
[ "Apache-2.0" ]
null
null
null
BMES_exps/BMES.py
volgachen/Chinese-Tokenization
467e08da6fe271b6e33258d5aa6682c0405a3f32
[ "Apache-2.0" ]
1
2020-07-12T10:38:34.000Z
2020-07-12T10:38:34.000Z
from collections import Counter from math import log from tqdm import tqdm import re from evaluation import evaluateSet def build_model(train_set): hmm_model = {i:Counter() for i in 'SBME'} trans = {'SS':0, 'SB':0, 'BM':0, 'BE':0, 'MM':0, 'ME':0, ...
30.989848
95
0.53923
843
6,105
3.788849
0.163701
0.035066
0.045085
0.048215
0.650908
0.634941
0.634941
0.634941
0.624296
0.624296
0
0.022684
0.314005
6,105
196
96
31.147959
0.739971
0.067813
0
0.402685
0
0
0.122765
0.053812
0
0
0
0
0
1
0.026846
false
0
0.033557
0
0.087248
0.033557
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
2a6f89f48cd8c7b16e844264141418335e7aca6a
199
py
Python
code/bqutils/auth.py
victoria-cds-sig/explore_mimiciv
856705ab1af7ecbfe30d5e8054747b61de8af031
[ "MIT" ]
3
2020-11-23T04:29:16.000Z
2021-05-29T06:22:00.000Z
code/bqutils/auth.py
victoria-cds-sig/explore_mimiciv
856705ab1af7ecbfe30d5e8054747b61de8af031
[ "MIT" ]
null
null
null
code/bqutils/auth.py
victoria-cds-sig/explore_mimiciv
856705ab1af7ecbfe30d5e8054747b61de8af031
[ "MIT" ]
4
2020-11-23T05:18:54.000Z
2021-05-29T06:23:12.000Z
import google.auth def get_gcreds(scopes = None): if scopes == None: scopes = ["https://www.googleapis.com/auth/bigquery"] return google.auth.default( scopes = scopes )
18.090909
61
0.628141
24
199
5.166667
0.666667
0.16129
0
0
0
0
0
0
0
0
0
0
0.246231
199
10
62
19.9
0.826667
0
0
0
0
0
0.203046
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a74193bd4405cdd9a1190cbabe2ed90d97be2b2
5,678
py
Python
views.py
margish100/Api-json
82b0561f6335708702b997dc8dd1e62c7df5d03d
[ "MIT" ]
null
null
null
views.py
margish100/Api-json
82b0561f6335708702b997dc8dd1e62c7df5d03d
[ "MIT" ]
null
null
null
views.py
margish100/Api-json
82b0561f6335708702b997dc8dd1e62c7df5d03d
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse, JsonResponse from rest_framework.parsers import JSONParser from .models import Article from .serializers import ArticleSerializer from django.views.decorators.csrf import csrf_exempt from rest_framework.decorators import api_view from rest...
30.202128
105
0.66608
591
5,678
6.275804
0.165821
0.075492
0.116473
0.09059
0.576705
0.555406
0.540307
0.514424
0.479105
0.479105
0
0.010566
0.249912
5,678
187
106
30.363636
0.860296
0.017964
0
0.566667
0
0
0.007425
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0.025
0.575
0
0
0
0
null
0
0
0
0
0
0
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
2a7ffe46901a396481978f7847250513748371b6
611
py
Python
knightmovs_test.py
rcolomina/pythonchess
1b12ea4a1668da6c47dd39ff16d1e48af33ea2f5
[ "MIT" ]
null
null
null
knightmovs_test.py
rcolomina/pythonchess
1b12ea4a1668da6c47dd39ff16d1e48af33ea2f5
[ "MIT" ]
2
2016-11-01T09:57:36.000Z
2016-11-01T10:05:50.000Z
knightmovs_test.py
rcolomina/pythonchess
1b12ea4a1668da6c47dd39ff16d1e48af33ea2f5
[ "MIT" ]
null
null
null
#!/usr/bin/python from piece import Piece from gameNode import GameNode from knightmovs import * from functions import * listPiecesWhite=[] listPiecesBlack=[] w1=Piece('Q',[3,1]) w2=Piece('N',[3,2]) w3=Piece('N',[4,2]) w4=Piece('B',[2,3]) listPiecesWhite.append(w1) listPiecesWhite.append(w2) listPiecesWhite.append(w...
21.821429
102
0.752864
83
611
5.542169
0.433735
0.182609
0.030435
0
0
0
0
0
0
0
0
0.044405
0.07856
611
27
103
22.62963
0.772647
0.026187
0
0
0
0
0.092593
0
0
0
0
0
0.052632
0
null
null
0
0.210526
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2a863733ace28ef6349e137d5a4a527f5a173db6
423
py
Python
bootstrapvz/providers/virtualbox/tasks/boot.py
qqshfox/bootstrap-vz
38fc7c52407d015d3c75867bfea266d0aec6d7e2
[ "Apache-2.0" ]
1
2016-07-21T15:10:26.000Z
2016-07-21T15:10:26.000Z
bootstrapvz/providers/virtualbox/tasks/boot.py
qqshfox/bootstrap-vz
38fc7c52407d015d3c75867bfea266d0aec6d7e2
[ "Apache-2.0" ]
3
2017-05-10T15:04:10.000Z
2017-06-02T18:14:50.000Z
bootstrapvz/providers/virtualbox/tasks/boot.py
qqshfox/bootstrap-vz
38fc7c52407d015d3c75867bfea266d0aec6d7e2
[ "Apache-2.0" ]
14
2016-12-15T09:29:10.000Z
2021-01-28T13:06:14.000Z
from bootstrapvz.base import Task from bootstrapvz.common import phases from bootstrapvz.common.tasks import grub class AddVirtualConsoleGrubOutputDevice(Task): description = 'Adding `tty0\' as output device for grub' phase = phases.system_modification successors = [grub.WriteGrubConfig] @classmethod...
30.214286
77
0.763593
49
423
6.489796
0.693878
0.141509
0.132075
0
0
0
0
0
0
0
0
0.005587
0.153664
423
13
78
32.538462
0.882682
0
0
0
0
0
0.120567
0.061466
0
0
0
0
0
1
0.1
false
0
0.3
0
0.8
0
0
0
0
null
0
0
0
0
0
0
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
2a8a638716da9a921d2678fd212392c39c24f195
547
py
Python
satang_pro_signer/signer.py
thebevrishot/satang-pro-signer
e0d6affdaf3b3bf5a670bda160f8a7d341b41707
[ "MIT" ]
null
null
null
satang_pro_signer/signer.py
thebevrishot/satang-pro-signer
e0d6affdaf3b3bf5a670bda160f8a7d341b41707
[ "MIT" ]
null
null
null
satang_pro_signer/signer.py
thebevrishot/satang-pro-signer
e0d6affdaf3b3bf5a670bda160f8a7d341b41707
[ "MIT" ]
null
null
null
import hashlib import hmac from satang_pro_signer import preparer class Signer: def __init__(self, secret: bytes): self.secret = secret def sign(self, obj) -> bytes: parsed = preparer.Preparer(obj).encode() msg = bytes(parsed, encoding='utf-8') try: # better perf...
26.047619
58
0.605119
64
547
5.078125
0.578125
0.123077
0.08
0
0
0
0
0
0
0
0
0.023438
0.297989
547
21
59
26.047619
0.822917
0.082267
0
0
0
0
0.022
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2a8e83999cf4e97fafb8dbeb31077fa54eca387c
7,826
py
Python
visualization/POF/utils/keypoint_conversion.py
alvaro-budria/body2hands
0eba438b4343604548120bdb03c7e1cb2b08bcd6
[ "BSD-3-Clause" ]
63
2021-05-14T02:55:16.000Z
2022-03-13T01:51:12.000Z
visualization/POF/utils/keypoint_conversion.py
human2b/body2hands
8ab4b206dc397c3b326f2b4ec9448c84ee8801fe
[ "BSD-3-Clause" ]
9
2021-06-24T09:59:41.000Z
2021-12-31T08:15:20.000Z
visualization/POF/utils/keypoint_conversion.py
human2b/body2hands
8ab4b206dc397c3b326f2b4ec9448c84ee8801fe
[ "BSD-3-Clause" ]
9
2021-05-17T03:33:28.000Z
2022-02-17T02:30:44.000Z
import numpy as np import numpy.linalg as nl from utils.general import connMat a4_to_main = { 'body': np.array([1, 0, 9, 10, 11, 3, 4, 5, 12, 13, 14, 6, 7, 8, 17, 15, 18, 16, 19, 20], dtype=np.int64), # convert to order of openpose '1_body': np.array([1, 0, 9, 10, 11, 3, 4, 5, 12, 13, 14, 6, 7, 8, 17, 15, 18,...
43.966292
153
0.564528
1,480
7,826
2.884459
0.106757
0.05739
0.098384
0.016866
0.511595
0.473179
0.468025
0.444601
0.430546
0.41368
0
0.201983
0.239586
7,826
177
154
44.214689
0.515376
0.067084
0
0.112676
0
0
0.058525
0
0
0
0
0
0.021127
1
0.042254
false
0
0.021127
0
0.105634
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2a91414de57b627b89516d25ee369f8bbf7d2897
431
py
Python
team/migrations/0014_auto_20200608_1855.py
Aleccc/gtcrew
7e6e7024afdbf48ee796cb1f9a86b913e6843dda
[ "MIT" ]
null
null
null
team/migrations/0014_auto_20200608_1855.py
Aleccc/gtcrew
7e6e7024afdbf48ee796cb1f9a86b913e6843dda
[ "MIT" ]
21
2019-02-14T02:47:34.000Z
2022-01-23T02:22:54.000Z
team/migrations/0014_auto_20200608_1855.py
Aleccc/gtcrew
7e6e7024afdbf48ee796cb1f9a86b913e6843dda
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-06-08 22:55 from django.db import migrations import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('team', '0013_auto_20200608_1824'), ] operations = [ migrations.AlterField( model_name='profile', ...
21.55
81
0.62413
49
431
5.387755
0.816327
0.083333
0.128788
0
0
0
0
0
0
0
0
0.110063
0.262181
431
19
82
22.684211
0.720126
0.104408
0
0
1
0
0.096354
0.059896
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
2a920b7ccb1c0d280a100c971c21a949a0ed335a
408
py
Python
discussions/migrations/0006_channel_is_deleted.py
Wassaf-Shahzad/micromasters
b1340a8c233499b1d8d22872a6bc1fe7f49fd323
[ "BSD-3-Clause" ]
32
2016-03-25T01:03:13.000Z
2022-01-15T19:35:42.000Z
discussions/migrations/0006_channel_is_deleted.py
Wassaf-Shahzad/micromasters
b1340a8c233499b1d8d22872a6bc1fe7f49fd323
[ "BSD-3-Clause" ]
4,858
2016-03-03T13:48:30.000Z
2022-03-29T22:09:51.000Z
discussions/migrations/0006_channel_is_deleted.py
umarmughal824/micromasters
ea92d3bcea9be4601150fc497302ddacc1161622
[ "BSD-3-Clause" ]
20
2016-08-18T22:07:44.000Z
2021-11-15T13:35:35.000Z
# Generated by Django 2.1.5 on 2019-03-22 07:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('discussions', '0005_timestamped_discussions_models'), ] operations = [ migrations.AddField( model_name='channel', na...
21.473684
63
0.620098
42
408
5.904762
0.809524
0
0
0
0
0
0
0
0
0
0
0.063973
0.272059
408
18
64
22.666667
0.771044
0.110294
0
0
1
0
0.174515
0.096953
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a97aa991dbbe490d3f89c2502461d05c3f3477d
3,808
py
Python
test/test_CustomLayers.py
tomasheiskanen/pro_gan_pytorch
af44df67a2e771207ed96af4c0948980edd9d3d7
[ "MIT" ]
2
2020-11-19T14:20:51.000Z
2020-12-10T10:54:39.000Z
test/test_CustomLayers.py
tomasheiskanen/pro_gan_pytorch
af44df67a2e771207ed96af4c0948980edd9d3d7
[ "MIT" ]
null
null
null
test/test_CustomLayers.py
tomasheiskanen/pro_gan_pytorch
af44df67a2e771207ed96af4c0948980edd9d3d7
[ "MIT" ]
2
2020-11-19T11:32:46.000Z
2020-12-10T23:32:18.000Z
import torch as th from unittest import TestCase from pro_gan_pytorch import CustomLayers as cL device = th.device("cuda" if th.cuda.is_available() else "cpu") class Test_equalized_conv2d(TestCase): def setUp(self): self.conv_block = cL._equalized_conv2d(21, 3, k_size=(3, 3), pad=1) # print th...
30.464
82
0.642595
539
3,808
4.408163
0.187384
0.058923
0.071549
0.058923
0.722222
0.633838
0.633838
0.606902
0.606902
0.525253
0
0.031648
0.236607
3,808
124
83
30.709677
0.78569
0.154149
0
0.446154
0
0
0.028125
0
0
0
0
0
0.276923
1
0.230769
false
0
0.046154
0
0.353846
0.046154
0
0
0
null
0
0
0
0
0
0
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
aa48f57729bf1af92cafcf77cd0d806243d6e2f7
511
py
Python
onlinecourse/tests.py
vicbolo78/Week-8-Lab
39e086c2d8a07875218bce461b5ab1ca63b3b931
[ "Apache-2.0" ]
null
null
null
onlinecourse/tests.py
vicbolo78/Week-8-Lab
39e086c2d8a07875218bce461b5ab1ca63b3b931
[ "Apache-2.0" ]
null
null
null
onlinecourse/tests.py
vicbolo78/Week-8-Lab
39e086c2d8a07875218bce461b5ab1ca63b3b931
[ "Apache-2.0" ]
null
null
null
import unittest from django.test import TestCase class TestQuestion(unittest.TestCasel): def test_is_get_score(self, selected_ids): self.assertNotEqual(all_answers = self.choice_set.filter(is_correct=True).count() self.assertEqual(selected_correct = self.choice_set.filter(is_correct=True, id__in=s...
28.388889
112
0.688845
62
511
5.306452
0.548387
0.066869
0.079027
0.115502
0.194529
0.194529
0.194529
0
0
0
0
0
0.223092
511
17
113
30.058824
0.828715
0
0
0
0
0
0.015656
0
0
0
0
0
0.166667
0
null
null
0
0.166667
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
aa49195189dacb2ef252f543c4131fc6f7dbb7a4
1,482
py
Python
trnsystor/statement/overwritecheck.py
samuelduchesne/pyTrnsys
f2deb5eb340a2814722eead5f8b6278a945c730d
[ "MIT" ]
5
2021-07-20T16:07:06.000Z
2022-02-09T07:57:21.000Z
trnsystor/statement/overwritecheck.py
samuelduchesne/pyTrnsys
f2deb5eb340a2814722eead5f8b6278a945c730d
[ "MIT" ]
50
2021-02-12T07:36:55.000Z
2022-03-21T10:40:47.000Z
trnsystor/statement/overwritecheck.py
samuelduchesne/pyTrnsys
f2deb5eb340a2814722eead5f8b6278a945c730d
[ "MIT" ]
4
2019-06-28T17:56:05.000Z
2020-02-24T16:33:28.000Z
"""OverwriteCheck Statement.""" from trnsystor.statement.statement import Statement class OverwriteCheck(Statement): """OverwriteCheck Statement. A common error in non standard and user written TRNSYS Type routines is to reserve too little space in the global output array. By default, each Type is a...
39
80
0.691633
210
1,482
4.790476
0.47619
0.111332
0.050696
0.05169
0.202783
0.202783
0.202783
0.202783
0.202783
0.202783
0
0.006329
0.253711
1,482
37
81
40.054054
0.903255
0.703779
0
0
0
0
0.146875
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
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
aa61678d6fbbb6831ab89015e270d094a885eab5
9,034
py
Python
Chapter 16/Lookup/algorithms.py
codered-by-ec-council/Micro-Degree-in-Python-Security
cb16ed78ee38dad32e3909371edec8ff3ce6e6a7
[ "MIT" ]
4
2020-09-25T05:57:22.000Z
2021-02-27T14:56:23.000Z
Chapter 16/Lookup/algorithms.py
codered-by-ec-council/Micro-Degree-in-Python-Security
cb16ed78ee38dad32e3909371edec8ff3ce6e6a7
[ "MIT" ]
4
2021-06-08T23:01:11.000Z
2022-03-12T00:54:16.000Z
Chapter 16/Lookup/algorithms.py
codered-by-ec-council/Micro-Degree-in-Python-Security
cb16ed78ee38dad32e3909371edec8ff3ce6e6a7
[ "MIT" ]
5
2020-10-15T10:22:04.000Z
2021-11-16T22:17:50.000Z
#!/usr/bin/env python3 ''' 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 of the License, or (at your option) any later version. This program is distributed in the hope that it will...
23.464935
84
0.627629
1,080
9,034
5.157407
0.217593
0.038779
0.051347
0.064811
0.304668
0.267684
0.183662
0.137163
0.097666
0.024776
0
0.053932
0.215962
9,034
384
85
23.526042
0.732458
0.155966
0
0.25
0
0
0.143642
0.002957
0
0
0
0
0
1
0.122727
false
0.027273
0.05
0.095455
0.759091
0
0
0
0
null
0
0
0
0
0
0
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
aa66b44f404f54a5640fb09e472c1518a47d7552
5,142
py
Python
taxi/migrations/0001_initial.py
alifelan/taxi-unico-web
edcbe8a8a9584350452fcea04a83247c5676b8f6
[ "MIT" ]
1
2021-05-26T09:06:08.000Z
2021-05-26T09:06:08.000Z
taxi/migrations/0001_initial.py
alifelan/taxi-unico-web
edcbe8a8a9584350452fcea04a83247c5676b8f6
[ "MIT" ]
10
2019-04-13T00:08:17.000Z
2019-05-09T10:43:06.000Z
taxi/migrations/0001_initial.py
alifelan/taxi-unico-web
edcbe8a8a9584350452fcea04a83247c5676b8f6
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2019-05-09 06:09 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='BusTrip', fields=[ ...
46.745455
154
0.571373
489
5,142
5.871166
0.204499
0.088819
0.106583
0.142111
0.62278
0.595611
0.51132
0.445838
0.41031
0.319749
0
0.013279
0.28238
5,142
109
155
47.174312
0.76477
0.008363
0
0.460784
1
0
0.123602
0.00412
0
0
0
0
0
1
0
false
0.019608
0.019608
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa6a2735bc18f7d76cf04368018e139d17c5dd19
1,116
py
Python
pepdb/cms_pages/migrations/0006_auto_20151024_2019.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
7
2015-12-21T03:52:46.000Z
2020-07-24T19:17:23.000Z
pepdb/cms_pages/migrations/0006_auto_20151024_2019.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
12
2016-03-05T18:11:05.000Z
2021-06-17T20:20:03.000Z
pepdb/cms_pages/migrations/0006_auto_20151024_2019.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
4
2016-07-17T20:19:38.000Z
2021-03-23T12:47:20.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import wagtail.wagtailcore.fields class Migration(migrations.Migration): dependencies = [ ('cms_pages', '0005_auto_20150829_1516'), ] operations = [ migrations.AddField( ...
36
228
0.648746
122
1,116
5.795082
0.45082
0.056577
0.101839
0.089109
0.632249
0.591231
0.480905
0.480905
0.311174
0.311174
0
0.205245
0.214158
1,116
30
229
37.2
0.600912
0.018817
0
0.333333
0
0.083333
0.324794
0.240622
0
0
0
0
0
1
0
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
aa6aeec0b7ed691ded9f765e25e1d736dda9bbf4
1,255
py
Python
autorop/leak/puts.py
Tanson/autorop
0d2fc71cdcc9649a6006aee641a3808f884d7fc4
[ "MIT" ]
null
null
null
autorop/leak/puts.py
Tanson/autorop
0d2fc71cdcc9649a6006aee641a3808f884d7fc4
[ "MIT" ]
null
null
null
autorop/leak/puts.py
Tanson/autorop
0d2fc71cdcc9649a6006aee641a3808f884d7fc4
[ "MIT" ]
null
null
null
from autorop import PwnState, arutil from pwn import ROP def puts(state: PwnState) -> PwnState: """Leak libc addresses using ``puts``. This function leaks the libc addresses of ``__libc_start_main`` and ``puts`` using ``puts``, placing them in ``state.leaks``. Arguments: state: The current `...
35.857143
85
0.619124
154
1,255
4.948052
0.5
0.034121
0.034121
0.062992
0
0
0
0
0
0
0
0
0.268526
1,255
34
86
36.911765
0.830065
0.684462
0
0
0
0
0.076923
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
aa707bae2c10ff673808c3e9ddea8f24a1136fa7
4,463
py
Python
train.py
MannyKayy/PlayableVideoGeneration
14133f94e14a40fc17f283e5b01c168bc45990b6
[ "MIT" ]
1
2021-06-19T11:34:29.000Z
2021-06-19T11:34:29.000Z
train.py
MannyKayy/PlayableVideoGeneration
14133f94e14a40fc17f283e5b01c168bc45990b6
[ "MIT" ]
null
null
null
train.py
MannyKayy/PlayableVideoGeneration
14133f94e14a40fc17f283e5b01c168bc45990b6
[ "MIT" ]
null
null
null
import argparse import importlib import os import torch import torch.nn as nn import torchvision import numpy as np from dataset.dataset_splitter import DatasetSplitter from dataset.transforms import TransformsGenerator from dataset.video_dataset import VideoDataset from evaluation.action_sampler import OneHotActionS...
40.572727
250
0.734484
498
4,463
6.355422
0.301205
0.03128
0.048341
0.044234
0.242022
0.205371
0.146288
0.120379
0.120379
0.120379
0
0.000548
0.182164
4,463
109
251
40.944954
0.866575
0.151692
0
0.030303
0
0
0.113263
0.036074
0
0
0
0
0
1
0
false
0
0.30303
0
0.30303
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
aa7171ed1f15768b83ea9a034a29465b15d2d581
1,039
py
Python
integration-test/291-483-suppress-historical-closed.py
roman-ianivskyy/vector-datasource
3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92
[ "MIT" ]
null
null
null
integration-test/291-483-suppress-historical-closed.py
roman-ianivskyy/vector-datasource
3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92
[ "MIT" ]
null
null
null
integration-test/291-483-suppress-historical-closed.py
roman-ianivskyy/vector-datasource
3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- import dsl from shapely.wkt import loads as wkt_loads from . import FixtureTest class SuppressHistoricalClosed(FixtureTest): def test_cartoon_museum(self): # Cartoon Art Museum (closed) self.generate_fixtures(dsl.way(368173967, wkt_loads('POINT (-122.400856246311 37.786...
43.291667
247
0.636189
141
1,039
4.588652
0.595745
0.030912
0.049459
0.068006
0
0
0
0
0
0
0
0.156404
0.218479
1,039
23
248
45.173913
0.640394
0.130895
0
0
0
0
0.32294
0.040089
0
0
0
0
0.153846
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
aa7c9e46ce390c33e4950020c5b8e38f18d9c7b1
2,905
py
Python
pic_carver.py
volf52/black_hat_python
063c241db473d3ef25782efc17f651c3aa66b4f8
[ "MIT" ]
null
null
null
pic_carver.py
volf52/black_hat_python
063c241db473d3ef25782efc17f651c3aa66b4f8
[ "MIT" ]
null
null
null
pic_carver.py
volf52/black_hat_python
063c241db473d3ef25782efc17f651c3aa66b4f8
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ @author : 'Muhammad Arslan <rslnrkmt2552@gmail.com>' """ import re import zlib import cv2 from scapy.all import * pics = "pictues" faces_dir = "faces" pcap_file = "bhp.pcap" def get_http_headers(http_payload): try: headers_raw = http_payload[:http_payload.index("\r\n\r\n")+2...
25.9375
87
0.571084
363
2,905
4.407714
0.347107
0.06875
0.045
0.0225
0.0875
0.03875
0.03875
0.03875
0.03875
0
0
0.024233
0.303959
2,905
111
88
26.171171
0.767062
0.006885
0
0.175676
0
0
0.094681
0.010993
0
0
0
0
0
0
null
null
0.040541
0.054054
null
null
0.027027
0
0
0
null
0
0
0
0
0
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
aa7e5a273a38c1c336f9c6538edfafbe1859aa62
1,536
py
Python
py/testdir_hosts/test_rf_311M_rows_hosts.py
vkuznet/h2o
e08f7014f228cbaecfb21f57379970e6a3ac0756
[ "Apache-2.0" ]
null
null
null
py/testdir_hosts/test_rf_311M_rows_hosts.py
vkuznet/h2o
e08f7014f228cbaecfb21f57379970e6a3ac0756
[ "Apache-2.0" ]
null
null
null
py/testdir_hosts/test_rf_311M_rows_hosts.py
vkuznet/h2o
e08f7014f228cbaecfb21f57379970e6a3ac0756
[ "Apache-2.0" ]
null
null
null
import unittest, sys, time sys.path.extend(['.','..','py']) import h2o_cmd, h2o, h2o_hosts, h2o_browse as h2b, h2o_import as h2i # Uses your username specific json: pytest_config-<username>.json # copy pytest_config-simple.json and modify to your needs. class Basic(unittest.TestCase): def tearDown(self): h...
35.72093
108
0.647786
180
1,536
5.338889
0.611111
0.01873
0.052029
0
0
0
0
0
0
0
0
0.028862
0.233073
1,536
42
109
36.571429
0.786927
0.116536
0
0.068966
0
0
0.137778
0.042222
0
0
0
0
0
0
null
null
0
0.172414
null
null
0.137931
0
0
0
null
0
0
0
0
0
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
aa84562ff31e7d467b614463b77b32138e9f4492
372
py
Python
amktools/util.py
jimbo1qaz/amktools
25a65d7c9c09a2622065fcacdaed82e1f9d7fb2c
[ "BSD-3-Clause" ]
2
2020-03-14T06:13:03.000Z
2022-03-03T17:53:51.000Z
amktools/util.py
nyanpasu64/amktools
25a65d7c9c09a2622065fcacdaed82e1f9d7fb2c
[ "BSD-3-Clause" ]
14
2018-06-19T14:48:58.000Z
2018-10-28T07:02:27.000Z
amktools/util.py
jimbo1qaz/amktools
25a65d7c9c09a2622065fcacdaed82e1f9d7fb2c
[ "BSD-3-Clause" ]
null
null
null
from typing import TypeVar, Optional def ceildiv(n: int, d: int) -> int: return -(-n // d) T = TypeVar("T") def coalesce(*args: Optional[T]) -> T: if len(args) == 0: raise TypeError("coalesce expected >=1 argument, got 0") for arg in args: if arg is not None: return arg ...
20.666667
64
0.594086
54
372
4.092593
0.592593
0.126697
0.199095
0
0
0
0
0
0
0
0
0.011111
0.274194
372
17
65
21.882353
0.807407
0
0
0
0
0
0.185484
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0.090909
0.454545
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
aa84e85a9b53b2b65be434c51bb6eb739b861665
3,638
py
Python
sql_judge/model/load_types.py
r4ulill0/gui_dbjudge
7c421c6f2fe1281f95e624242338b3e020ee5f28
[ "MIT" ]
1
2020-12-11T10:45:58.000Z
2020-12-11T10:45:58.000Z
sql_judge/model/load_types.py
r4ulill0/gui_dbjudge
7c421c6f2fe1281f95e624242338b3e020ee5f28
[ "MIT" ]
null
null
null
sql_judge/model/load_types.py
r4ulill0/gui_dbjudge
7c421c6f2fe1281f95e624242338b3e020ee5f28
[ "MIT" ]
null
null
null
from PyQt5.QtCore import QAbstractTableModel, QAbstractItemModel from PyQt5.QtCore import Qt, QModelIndex, pyqtSlot class LoadTypesProcess(QAbstractTableModel): def __init__(self): super().__init__() self.csv_values = [] self.header_model = HeaderModel() def index(self, row, column, p...
33.685185
75
0.631116
396
3,638
5.714646
0.194444
0.030932
0.057446
0.035793
0.47194
0.340256
0.176757
0.150243
0.150243
0.109589
0
0.004423
0.254261
3,638
107
76
34
0.829709
0
0
0.256098
0
0
0
0
0
0
0
0
0
1
0.231707
false
0
0.02439
0.073171
0.439024
0
0
0
0
null
0
0
0
0
0
0
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
aa8b120c78b48885a14d17efcfc8523380e3b89e
388
py
Python
base/struct_data.py
cateatfish108/AutoTest
8697aadd4c60c6a7cb435f784fc5c588805067bf
[ "MIT" ]
null
null
null
base/struct_data.py
cateatfish108/AutoTest
8697aadd4c60c6a7cb435f784fc5c588805067bf
[ "MIT" ]
null
null
null
base/struct_data.py
cateatfish108/AutoTest
8697aadd4c60c6a7cb435f784fc5c588805067bf
[ "MIT" ]
null
null
null
#coding:utf-8 # 数据库结构体 class DataBase: url = "" port = 3306 username = "" password = "" database = "" charset = "" # 测试用例信息结构体 class CaseInfo: path = "" case_list = [] # 测试用例结构体 class Case: url = "" db_table = "" case_id = "" method = "" data = {} c...
12.933333
21
0.474227
36
388
4.944444
0.777778
0
0
0
0
0
0
0
0
0
0
0.020661
0.376289
388
30
21
12.933333
0.714876
0.095361
0
0.1
0
0
0
0
0
0
0
0
0
1
0
false
0.05
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aa8f41fdb7d2b4f91adbdaae406e59a5680747b1
3,829
py
Python
camper/handlers/users/edit.py
mrtopf/camper
7016539f92202bbea608c6d53ce19097d4ad931d
[ "MIT" ]
13
2016-03-13T02:33:39.000Z
2021-04-01T13:09:12.000Z
camper/handlers/users/edit.py
comlounge/camper
7016539f92202bbea608c6d53ce19097d4ad931d
[ "MIT" ]
122
2016-03-10T09:28:09.000Z
2021-09-07T23:49:05.000Z
camper/handlers/users/edit.py
mrtopf/camper
7016539f92202bbea608c6d53ce19097d4ad931d
[ "MIT" ]
5
2017-01-11T22:00:57.000Z
2020-04-26T14:03:32.000Z
#encoding=utf8 from starflyer import Handler, redirect, asjson from camper import BaseForm, db, BaseHandler from camper import logged_in, is_admin from wtforms import * from sfext.babel import T from camper.handlers.forms import * import werkzeug.exceptions from bson import ObjectId from camper.handlers.images import ...
41.619565
254
0.630713
471
3,829
5.065817
0.348195
0.036882
0.023051
0.018441
0.228835
0.21207
0.187762
0.121542
0.091366
0.091366
0
0.006885
0.241316
3,829
91
255
42.076923
0.814458
0.062418
0
0.191176
0
0
0.16498
0
0
0
0
0.010989
0
1
0.073529
false
0
0.132353
0.014706
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
1
0
0
0
0
0
0
0
0
0
0
1
aaa2a22421918ddfde6678f1b564035567b5ee57
2,073
py
Python
bouncy.py
kary1806/bouncy
afbd8a2e030cd51c0c8b84062ce7aa2b51f549df
[ "MIT" ]
null
null
null
bouncy.py
kary1806/bouncy
afbd8a2e030cd51c0c8b84062ce7aa2b51f549df
[ "MIT" ]
null
null
null
bouncy.py
kary1806/bouncy
afbd8a2e030cd51c0c8b84062ce7aa2b51f549df
[ "MIT" ]
null
null
null
from itertools import count, tee class Bouncy: def __init__(self, porcentage): """ print the number bouncy :type porcentage: int -> this is porcentage of the bouncy """ nums = count(1) rebound = self.sum_number(map(lambda number: float(self.is_rebound(number)), coun...
28.39726
102
0.554752
252
2,073
4.52381
0.305556
0.04386
0.057018
0.066667
0.374561
0.350877
0.350877
0.350877
0.350877
0.350877
0
0.006726
0.354559
2,073
72
103
28.791667
0.845291
0.315002
0
0
0
0
0
0
0
0
0
0
0
1
0.225806
false
0
0.032258
0
0.451613
0.032258
0
0
0
null
0
0
0
0
0
0
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
aaa40f7d32c94661f35c79a2fb1ee27a71d6e4e9
909
py
Python
pipeline.py
ankitshah009/BioASQ-Rabbit
1d3073fbcdebb58b91788b6c2ab0ad9380cb2498
[ "Apache-2.0" ]
1
2019-01-29T13:37:45.000Z
2019-01-29T13:37:45.000Z
pipeline.py
ankitshah009/BioASQ-Rabbit
1d3073fbcdebb58b91788b6c2ab0ad9380cb2498
[ "Apache-2.0" ]
1
2018-08-27T21:02:24.000Z
2018-08-27T21:02:24.000Z
pipeline.py
ankitshah009/BioASQ-Rabbit
1d3073fbcdebb58b91788b6c2ab0ad9380cb2498
[ "Apache-2.0" ]
8
2018-03-26T17:36:39.000Z
2019-02-28T14:23:25.000Z
#!/usr/bin/env python import sys from deiis.rabbit import Message, MessageBus from deiis.model import Serializer, DataSet, Question if __name__ == '__main__': if len(sys.argv) == 1: print 'Usage: python pipeline.py <data.json>' exit(1) # filename = 'data/training.json' filename = sys.argv...
28.40625
56
0.641364
115
909
5
0.565217
0.031304
0.027826
0.045217
0
0
0
0
0
0
0
0.011494
0.234323
909
31
57
29.322581
0.814655
0.147415
0
0
0
0
0.168612
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.181818
0
0
0
null
0
0
0
0
0
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
aaa6b62d2482defbe3a9a248af3f048c7de3d0b9
310
py
Python
other tests/test_6_create_record_label.py
pavelwearevolt/Cross_Edit_TestsAutomatization
953691244d86c5832fe2a2705841711939a353a5
[ "Apache-2.0" ]
null
null
null
other tests/test_6_create_record_label.py
pavelwearevolt/Cross_Edit_TestsAutomatization
953691244d86c5832fe2a2705841711939a353a5
[ "Apache-2.0" ]
null
null
null
other tests/test_6_create_record_label.py
pavelwearevolt/Cross_Edit_TestsAutomatization
953691244d86c5832fe2a2705841711939a353a5
[ "Apache-2.0" ]
null
null
null
__author__ = 'pavelkosicin' from model.label import Label def test_create_record_label(app): app.label.create_recording_artist(Label(name="rl_#1", asap="WB86-8RH31.50UTS-J", note="Mens autem qui est in festinabat non facere bonum, voluntas in malo reperit."))
38.75
129
0.664516
41
310
4.780488
0.829268
0
0
0
0
0
0
0
0
0
0
0.033898
0.23871
310
7
130
44.285714
0.79661
0
0
0
0
0
0.358065
0
0
0
0
0
0
1
0.2
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
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
aaadabaa6eb1195381301ba6975765da7236103f
1,114
py
Python
src/users/models/componentsschemasmicrosoft_graph_workbooktablesortallof1.py
peombwa/Sample-Graph-Python-Client
3396f531fbe6bb40a740767c4e31aee95a3b932e
[ "MIT" ]
null
null
null
src/users/models/componentsschemasmicrosoft_graph_workbooktablesortallof1.py
peombwa/Sample-Graph-Python-Client
3396f531fbe6bb40a740767c4e31aee95a3b932e
[ "MIT" ]
null
null
null
src/users/models/componentsschemasmicrosoft_graph_workbooktablesortallof1.py
peombwa/Sample-Graph-Python-Client
3396f531fbe6bb40a740767c4e31aee95a3b932e
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
33.757576
86
0.587074
97
1,114
6.57732
0.536082
0.08464
0.043887
0
0
0
0
0
0
0
0
0.003264
0.175045
1,114
32
87
34.8125
0.690968
0.429084
0
0
1
0
0.174497
0.055369
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aab07d8e601e02e0aaa27e2764b313638874d9dd
591
py
Python
24/03/0.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
null
null
null
24/03/0.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
39
2017-07-31T22:54:01.000Z
2017-08-31T00:19:03.000Z
24/03/0.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
null
null
null
#!python3.6 import difflib from pprint import pprint import sys text1 = ''' 1. Beautiful is better than ugly. 2. Explicit is better than implicit. 3. Simple is better than complex. 4. Complex is better than complicated. '''.splitlines(keepends=True) text2 = ''' 1. Beautiful is better than ugly. 3. Simple i...
25.695652
46
0.707276
84
591
4.97619
0.440476
0.15311
0.229665
0.136364
0.253589
0.253589
0.129187
0
0
0
0
0.028169
0.159052
591
22
47
26.863636
0.812877
0.01692
0
0.315789
0
0
0.534483
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.157895
0.263158
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
aab254d87e54d35e023480f5b36f3f53979b98fb
8,635
py
Python
signalworks/tracking/multitrack.py
lxkain/tracking
00ed9a0b31c4880687a42df3bf9651e68e0c4360
[ "MIT" ]
2
2019-04-09T17:28:34.000Z
2019-06-05T10:05:11.000Z
signalworks/tracking/multitrack.py
lxkain/tracking
00ed9a0b31c4880687a42df3bf9651e68e0c4360
[ "MIT" ]
11
2019-04-19T23:03:38.000Z
2019-11-22T17:59:07.000Z
signalworks/tracking/multitrack.py
lxkain/tracking
00ed9a0b31c4880687a42df3bf9651e68e0c4360
[ "MIT" ]
3
2019-05-01T16:02:32.000Z
2019-06-25T18:05:39.000Z
import copy import json import os from collections import UserDict from signalworks.tracking import Event, Partition, TimeValue, Value, Wave class MultiTrack(UserDict): """ A dictionary containing time-synchronous tracks of equal duration and fs """ def __init__(self, mapping=None): if mappi...
36.901709
107
0.555067
1,047
8,635
4.451767
0.233047
0.019309
0.011586
0.008367
0.236645
0.145462
0.091826
0.091826
0.064364
0.064364
0
0.004046
0.341633
8,635
233
108
37.060086
0.815831
0.168848
0
0.216667
0
0
0.058672
0
0
0
0
0.012876
0.077778
1
0.111111
false
0
0.038889
0.005556
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
aab57c61fdbffbd48b08ceac3432b1c6895bbeba
1,027
py
Python
python/solutii/ingrid_stoleru/Cursor.py
broascaiulian/labs
068c7f440c7a29cb6a3e1dbb8e4bb7dfaff5a050
[ "MIT" ]
null
null
null
python/solutii/ingrid_stoleru/Cursor.py
broascaiulian/labs
068c7f440c7a29cb6a3e1dbb8e4bb7dfaff5a050
[ "MIT" ]
null
null
null
python/solutii/ingrid_stoleru/Cursor.py
broascaiulian/labs
068c7f440c7a29cb6a3e1dbb8e4bb7dfaff5a050
[ "MIT" ]
null
null
null
#!/usr/bin/env python # *-* coding: UTF-8 *-* """Solutia problemei Cursor""" DIRECTIONS = {" stanga ": [-1, 0], " dreapta ": [1, 0], " jos ": [0, -1], " sus ": [0, 1]} def distanta(string, pozitie): """Determinarea distantei""" directie, valoare = string.split() directie = direct...
26.333333
57
0.542356
113
1,027
4.849558
0.504425
0.058394
0
0
0
0
0
0
0
0
0
0.032078
0.30185
1,027
38
58
27.026316
0.732218
0.040896
0
0
0
0
0.091435
0
0
0
0
0
0
0
null
null
0
0
null
null
0.115385
0
0
0
null
0
0
0
0
0
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
aab5dd1420b09051fc9fe578384a7add1adbe417
1,932
py
Python
hoods/models.py
badruu/neighborhood
85d30f7451f921c533dc4463aad76ed2d39f8023
[ "MIT" ]
null
null
null
hoods/models.py
badruu/neighborhood
85d30f7451f921c533dc4463aad76ed2d39f8023
[ "MIT" ]
6
2021-03-19T01:10:18.000Z
2022-03-11T23:49:18.000Z
hoods/models.py
badruu/neighborhood
85d30f7451f921c533dc4463aad76ed2d39f8023
[ "MIT" ]
null
null
null
from django.db import models import datetime from django.utils import timezone from django.contrib.auth.models import User from django.urls import reverse from django.core.validators import MaxValueValidator, MinValueValidator class Hoods(models.Model): name = models.CharField(max_length = 100) location = mode...
31.16129
80
0.699793
233
1,932
5.652361
0.32618
0.037965
0.041002
0.05467
0.378891
0.294609
0.294609
0.183751
0.11997
0.11997
0
0.010383
0.202381
1,932
62
81
31.16129
0.844257
0
0
0.291667
0
0
0.017072
0
0
0
0
0
0
1
0.25
false
0
0.125
0.041667
0.770833
0
0
0
0
null
0
0
0
0
0
0
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
aab991f211f7427de19a3a6c9a2b406d03220528
3,887
py
Python
plugin.video.mrstealth.serialu.net/uppod.py
mrstealth/kodi-isengard
2f37ba5320c1618fbe635f5683e7329a63195c16
[ "MIT" ]
null
null
null
plugin.video.mrstealth.serialu.net/uppod.py
mrstealth/kodi-isengard
2f37ba5320c1618fbe635f5683e7329a63195c16
[ "MIT" ]
null
null
null
plugin.video.mrstealth.serialu.net/uppod.py
mrstealth/kodi-isengard
2f37ba5320c1618fbe635f5683e7329a63195c16
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Uppod decoder #------------------------------------------------------------------------------- import urllib2 import cookielib def decode(param): try: #-- define variables loc_3 = [0,0,0,0] ...
44.170455
306
0.516337
521
3,887
3.777351
0.303263
0.010163
0.073171
0.033537
0.454268
0.430894
0.430894
0.430894
0.430894
0.389228
0
0.128088
0.270903
3,887
87
307
44.678161
0.565984
0.303576
0
0.113208
0
0.056604
0.191391
0.062644
0
0
0
0
0
0
null
null
0
0.037736
null
null
0.037736
0
0
0
null
0
0
0
0
0
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
aabc2c45a2f070f9b91c1f8410ef7d7691faf98d
183
py
Python
localtalk/application.py
mattcollie/LocalTalk
d17765243cd23d09024544a763a18226be16c50c
[ "MIT" ]
null
null
null
localtalk/application.py
mattcollie/LocalTalk
d17765243cd23d09024544a763a18226be16c50c
[ "MIT" ]
null
null
null
localtalk/application.py
mattcollie/LocalTalk
d17765243cd23d09024544a763a18226be16c50c
[ "MIT" ]
null
null
null
from localtalk import create_app, create_server app = create_app() server = create_server() # server.start() if __name__ == '__main__': app.run(debug=True, host='localhost')
15.25
47
0.715847
24
183
4.958333
0.625
0.151261
0
0
0
0
0
0
0
0
0
0
0.153005
183
11
48
16.636364
0.767742
0.076503
0
0
0
0
0.10241
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aabdff6b46e83b814599086ebf3ca4b5caeb3757
2,070
py
Python
biokeypy/moduleForShowingJudges.py
zacandcheese/biokeypy
d421e8be0b407fd1df395c79ffde409ca80066e2
[ "MIT" ]
null
null
null
biokeypy/moduleForShowingJudges.py
zacandcheese/biokeypy
d421e8be0b407fd1df395c79ffde409ca80066e2
[ "MIT" ]
null
null
null
biokeypy/moduleForShowingJudges.py
zacandcheese/biokeypy
d421e8be0b407fd1df395c79ffde409ca80066e2
[ "MIT" ]
null
null
null
#moduleForShowingJudges #cmd /K "$(FULL_CURRENT_PATH)" #cd ~/Documents/GitHub/Keyboard-Biometric-Project/Project_Tuples #sudo python -m pip install statistics #python analyzeData.py """ Author: Zachary Nowak and Matthew Nowak Date: 3/09/2018 Program Description: This code can record the Press Time and Flight Time of...
27.236842
114
0.746377
265
2,070
5.784906
0.550943
0.015656
0.031311
0
0
0
0
0
0
0
0
0.00882
0.123672
2,070
76
115
27.236842
0.836273
0.24058
0
0.047619
0
0
0.180294
0
0
0
0
0
0
1
0
false
0.166667
0.261905
0
0.261905
0.02381
0
0
0
null
0
0
0
0
0
0
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
aad089a6f4a448fc23d035f432e9858d598d7704
1,982
py
Python
user/forms.py
apuc/django-rest-framework
863f2dcca5f2a677ac0e477fc704cc54cd9a53f8
[ "MIT" ]
null
null
null
user/forms.py
apuc/django-rest-framework
863f2dcca5f2a677ac0e477fc704cc54cd9a53f8
[ "MIT" ]
6
2021-03-30T14:08:14.000Z
2021-09-08T02:21:23.000Z
user/forms.py
apuc/django-rest-framework
863f2dcca5f2a677ac0e477fc704cc54cd9a53f8
[ "MIT" ]
null
null
null
from crispy_forms import layout from crispy_forms.helper import FormHelper from django.conf import settings from django.contrib.auth.forms import UserCreationForm from django.urls import reverse_lazy from django import forms from .models import UserProfile class RegisterForm(UserCreationForm): username = forms.Ch...
30.492308
75
0.592331
200
1,982
5.72
0.395
0.052448
0.048951
0.065559
0.092657
0.092657
0.092657
0.092657
0.092657
0
0
0.00722
0.301211
1,982
64
76
30.96875
0.818773
0.015641
0
0.105263
0
0
0.13419
0.015424
0
0
0
0
0
1
0.035088
false
0.22807
0.122807
0
0.280702
0
0
0
0
null
0
0
0
0
0
0
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
aad22ce0ae134c7841d5d6eb61bc2075cbcc5f71
3,187
py
Python
wadi.py
sensepost/wadi
7d29ee53d63425029c653fb7c20b4ff4c15f289b
[ "CC0-1.0" ]
137
2015-10-23T14:58:42.000Z
2021-11-18T09:59:16.000Z
wadi.py
sensepost/wadi
7d29ee53d63425029c653fb7c20b4ff4c15f289b
[ "CC0-1.0" ]
11
2015-10-31T06:51:50.000Z
2022-02-20T20:22:04.000Z
wadi.py
sensepost/wadi
7d29ee53d63425029c653fb7c20b4ff4c15f289b
[ "CC0-1.0" ]
62
2015-10-23T14:58:49.000Z
2021-11-18T09:18:13.000Z
import sys import os from multiprocessing import Process, Queue, Manager from threading import Timer from wadi_harness import Harness from wadi_debug_win import Debugger import time import hashlib def test(msg): while True: print 'Process 2:' + msg #print msg def test2(): print 'Process 1' tim...
24.898438
81
0.612488
439
3,187
4.350797
0.257403
0.062827
0.034031
0.033508
0.116754
0.092147
0.025131
0
0
0
0
0.00908
0.239724
3,187
127
82
25.094488
0.779199
0.040477
0
0.142857
0
0
0.115371
0
0
0
0
0
0
0
null
null
0.020408
0.081633
null
null
0.142857
0
0
0
null
0
0
0
0
0
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
aad37494decad9fd0ad1fb72dcfce3587fe45cdf
1,033
py
Python
rick_and_morty_app/views.py
esalcedo94/final_project
7dce4fae8248d820698220d3289bfb49bd96b2cd
[ "MIT" ]
null
null
null
rick_and_morty_app/views.py
esalcedo94/final_project
7dce4fae8248d820698220d3289bfb49bd96b2cd
[ "MIT" ]
4
2021-03-19T01:50:05.000Z
2021-09-22T18:52:13.000Z
rick_and_morty_app/views.py
esalcedo94/final_project
7dce4fae8248d820698220d3289bfb49bd96b2cd
[ "MIT" ]
null
null
null
# from django.shortcuts import render, redirect, get_object_or_404 from .forms import CharacterForm from rick_and_morty_app.models import Character from django.views.generic import ListView, CreateView, UpdateView, DetailView, DeleteView from django.urls import reverse_lazy # new # Create your views here. class HomeP...
31.30303
89
0.771539
117
1,033
6.581197
0.435897
0.090909
0.136364
0.101299
0.297403
0.161039
0.161039
0.111688
0
0
0
0.003421
0.151016
1,033
32
90
32.28125
0.874572
0.089061
0
0.333333
0
0
0.169691
0.068303
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aad397b94b0cb0be8ca7c28476744dda7ab4e655
339
py
Python
samples/contacts/pathUtils.py
Trevol/Mask_RCNN
18308082e2c5fd5b4df5d6e40f009b3ebd66c26d
[ "MIT" ]
null
null
null
samples/contacts/pathUtils.py
Trevol/Mask_RCNN
18308082e2c5fd5b4df5d6e40f009b3ebd66c26d
[ "MIT" ]
null
null
null
samples/contacts/pathUtils.py
Trevol/Mask_RCNN
18308082e2c5fd5b4df5d6e40f009b3ebd66c26d
[ "MIT" ]
null
null
null
import os, sys def mrcnnPath(): filePath = os.path.dirname(os.path.realpath(__file__)) return os.path.abspath(os.path.join(filePath, os.pardir, os.pardir)) def currentFilePath(file=None): file = file if file else __file__ return os.path.dirname(os.path.realpath(file)) def mrcnnToPath(): sys.path....
28.25
72
0.719764
49
339
4.816327
0.408163
0.152542
0.110169
0.127119
0.262712
0.262712
0.262712
0
0
0
0
0
0.141593
339
12
73
28.25
0.810997
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
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
1
0
0
0
0
0
0
0
1
aadc6caacc7ccc064997d62040d5601470ca380f
1,656
py
Python
remove_svn_folder.py
sdenisen/test
709bcdd16d0f83f03b04e0bc7918bb3785993c59
[ "Unlicense" ]
null
null
null
remove_svn_folder.py
sdenisen/test
709bcdd16d0f83f03b04e0bc7918bb3785993c59
[ "Unlicense" ]
2
2017-08-24T18:55:37.000Z
2017-08-24T18:59:06.000Z
remove_svn_folder.py
sdenisen/test
709bcdd16d0f83f03b04e0bc7918bb3785993c59
[ "Unlicense" ]
null
null
null
__author__ = 'Sergey' import shutil import os import stat def read_all_directory_path(root_folder, final_directory_list=[], folder_for_remove='.svn'): under_files_and_folders = os.listdir(root_folder) if os.path.split(root_folder)[1] == folder_for_remove: final_directory_list.append(root_folder) ...
29.571429
92
0.679348
219
1,656
4.780822
0.305936
0.111748
0.103152
0.057307
0.276982
0.150907
0.110793
0.110793
0.110793
0.110793
0
0.003965
0.238527
1,656
55
93
30.109091
0.826328
0.07186
0
0.25
0
0
0.035202
0
0
0
0
0
0
0
null
null
0
0.075
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
aadfff06b29955168bb01b2fd687e7d85bcf363a
563
py
Python
apps/flow/run.py
rainydaygit/testtcloudserver
8037603efe4502726a4d794fb1fc0a3f3cc80137
[ "MIT" ]
349
2020-08-04T10:21:01.000Z
2022-03-23T08:31:29.000Z
apps/flow/run.py
rainydaygit/testtcloudserver
8037603efe4502726a4d794fb1fc0a3f3cc80137
[ "MIT" ]
2
2021-01-07T06:17:05.000Z
2021-04-01T06:01:30.000Z
apps/flow/run.py
rainydaygit/testtcloudserver
8037603efe4502726a4d794fb1fc0a3f3cc80137
[ "MIT" ]
70
2020-08-24T06:46:14.000Z
2022-03-25T13:23:27.000Z
from apps.flow.settings import config if config.SERVER_ENV != 'dev': from gevent import monkey monkey.patch_all() else: pass from apps.flow.views.deploy import deploy from apps.flow.views.flow import flow from library.api.tFlask import tflask def create_app(): app = tflask(config) register_blue...
20.107143
59
0.730018
80
563
4.9125
0.4375
0.061069
0.091603
0.086514
0
0
0
0
0
0
0
0.004237
0.161634
563
27
60
20.851852
0.82839
0
0
0
0
0
0.05151
0
0
0
0
0
0
1
0.111111
false
0.055556
0.277778
0
0.444444
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2a9c29a9ca43c2e78dfd11fb0c0783a70a2f2e37
10,197
py
Python
xyz2image.py
hentr/xyz2image
bee976e0062ee893594e56ead1e75cb5d7a4e8af
[ "MIT" ]
null
null
null
xyz2image.py
hentr/xyz2image
bee976e0062ee893594e56ead1e75cb5d7a4e8af
[ "MIT" ]
null
null
null
xyz2image.py
hentr/xyz2image
bee976e0062ee893594e56ead1e75cb5d7a4e8af
[ "MIT" ]
null
null
null
''' Authors: Trond Henninen(trond.henninen@empa.ch) and Feng Wang This script is for generating normalised Gaussian simulated annular dark-field scanning transmission electron microscopy (ADF-STEM) images from input atomic coordinates. For rapidly generating a large dataset, it approximates a contrast similar to multi...
55.721311
188
0.674806
1,534
10,197
4.348761
0.229465
0.033578
0.044971
0.033578
0.254385
0.208964
0.1532
0.080498
0.069255
0.04617
0
0.027553
0.199176
10,197
182
189
56.027473
0.789371
0.412376
0
0.065041
0
0.00813
0.107033
0.026587
0
0
0
0.016484
0
1
0.02439
false
0.00813
0.065041
0.00813
0.097561
0.01626
0
0
0
null
0
0
0
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
2a9f331439bd99a892c7c6363b31983af66fb320
3,949
py
Python
tensorflow/python/debug/lib/debug_events_reader.py
scentini/tensorflow
204ed332c0886a0e0ab10b22ba8d67b97e1c83c4
[ "Apache-2.0" ]
27
2020-02-29T04:13:22.000Z
2022-02-07T21:54:50.000Z
tensorflow/python/debug/lib/debug_events_reader.py
scentini/tensorflow
204ed332c0886a0e0ab10b22ba8d67b97e1c83c4
[ "Apache-2.0" ]
5
2020-06-01T18:50:38.000Z
2021-07-16T07:13:52.000Z
tensorflow/python/debug/lib/debug_events_reader.py
scentini/tensorflow
204ed332c0886a0e0ab10b22ba8d67b97e1c83c4
[ "Apache-2.0" ]
10
2020-12-15T03:55:24.000Z
2021-12-17T23:14:11.000Z
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
41.135417
80
0.719423
528
3,949
5.140152
0.363636
0.05748
0.03353
0.037583
0.160648
0.109801
0.109801
0
0
0
0
0.005552
0.179033
3,949
95
81
41.568421
0.831585
0.300329
0
0.033898
0
0
0.088041
0.009171
0
0
0
0
0
1
0.135593
false
0
0.169492
0.101695
0.423729
0.016949
0
0
0
null
0
0
0
0
0
0
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
2aadd1bf492d72d9413391d2877375cb66b76d8f
1,099
py
Python
neolearnit/src/main/python/get_vocabulary.py
BBN-E/LearnIt
4f602f113cac9f4a7213b348a42c0fef23e2739c
[ "Apache-2.0" ]
5
2020-08-29T21:23:05.000Z
2022-03-24T19:57:44.000Z
neolearnit/src/main/python/get_vocabulary.py
BBN-E/LearnIt
4f602f113cac9f4a7213b348a42c0fef23e2739c
[ "Apache-2.0" ]
11
2020-03-04T23:03:34.000Z
2022-02-18T04:04:04.000Z
neolearnit/src/main/python/get_vocabulary.py
BBN-E/LearnIt
4f602f113cac9f4a7213b348a42c0fef23e2739c
[ "Apache-2.0" ]
1
2021-05-19T11:51:51.000Z
2021-05-19T11:51:51.000Z
import sys, os, re, codecs, json, glob import random from random import randint from collections import defaultdict from collections import Counter from sets import Set words=Set() def read_json_data(strJsonFile): with codecs.open(strJsonFile, 'r', encoding='utf-8') as f: try: json_data = jso...
22.895833
111
0.604186
153
1,099
4.189542
0.490196
0.074883
0.037442
0.032761
0.109204
0.109204
0.109204
0.078003
0.078003
0
0
0.005
0.272066
1,099
47
112
23.382979
0.79625
0.148317
0
0.1
0
0
0.060345
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
2ab807f882174850903dfd3ada3ceadfda7a1b90
554
py
Python
ownblock/ownblock/apps/parking/views.py
danjac/ownblock
ac662fb7efb2f04567e2f85638c1250286452611
[ "MIT" ]
3
2015-06-12T04:42:02.000Z
2018-10-29T17:09:10.000Z
ownblock/ownblock/apps/parking/views.py
danjac/ownblock
ac662fb7efb2f04567e2f85638c1250286452611
[ "MIT" ]
null
null
null
ownblock/ownblock/apps/parking/views.py
danjac/ownblock
ac662fb7efb2f04567e2f85638c1250286452611
[ "MIT" ]
null
null
null
from rest_framework import viewsets from .models import Vehicle from .serializers import VehicleSerializer class VehicleViewSet(viewsets.ModelViewSet): model = Vehicle serializer_class = VehicleSerializer def pre_save(self, obj): if obj.resident_id is None: obj.resident = self.requ...
25.181818
63
0.685921
58
554
6.327586
0.603448
0.059946
0
0
0
0
0
0
0
0
0
0
0.240072
554
21
64
26.380952
0.871734
0
0
0
0
0
0.048736
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0.071429
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2ac69b5d4714157fc71eff7a6a23f99b61269132
8,407
py
Python
train/solver.py
nhonth/DeLF-pytorch
5577a447a0330b9e976cff56a10fc91669216b8c
[ "MIT" ]
315
2019-01-28T05:45:25.000Z
2022-03-28T07:58:13.000Z
train/solver.py
nhonth/DeLF-pytorch
5577a447a0330b9e976cff56a10fc91669216b8c
[ "MIT" ]
38
2019-02-21T06:17:00.000Z
2021-07-05T12:40:00.000Z
train/solver.py
nhonth/DeLF-pytorch
5577a447a0330b9e976cff56a10fc91669216b8c
[ "MIT" ]
74
2019-01-28T08:08:10.000Z
2021-12-20T09:27:03.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' PyTorch Implementation of training DeLF feature. Solver for step 1 (finetune local descriptor) nashory, 2018.04 ''' import os, sys, time import shutil import torch import torch.nn as nn import torch.optim as optim from torch.autograd import Variable from utils import...
36.872807
102
0.512906
925
8,407
4.423784
0.227027
0.017595
0.017107
0.017107
0.217253
0.197214
0.170821
0.170821
0.144428
0.124878
0
0.014954
0.371595
8,407
227
103
37.035242
0.759606
0.050077
0
0.141975
0
0.012346
0.059228
0.012469
0
0
0
0
0.006173
0
null
null
0.006173
0.04321
null
null
0.012346
0
0
0
null
0
0
0
0
0
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
2ac870289e4a135beaad406a435f626a1f8fb78e
518
py
Python
data_sqlalchemy/word.py
natter1/estonian_learner
da7837f0d64f4c1f6a212a9c473252c4b834699a
[ "MIT" ]
null
null
null
data_sqlalchemy/word.py
natter1/estonian_learner
da7837f0d64f4c1f6a212a9c473252c4b834699a
[ "MIT" ]
null
null
null
data_sqlalchemy/word.py
natter1/estonian_learner
da7837f0d64f4c1f6a212a9c473252c4b834699a
[ "MIT" ]
null
null
null
import datetime from data_sqlalchemy.modelbase import SqlAlchemyBase import sqlalchemy as sa class Word(SqlAlchemyBase): __tablename__ = "words" # id = sa.Column(sa.Integer, primary_key=True, autoincrement=True) id = sa.Column(sa.String, primary_key=True) created_date = sa.Column(sa.DateTime, default...
32.375
84
0.727799
69
518
5.289855
0.623188
0.065753
0.082192
0.065753
0
0
0
0
0
0
0
0
0.169884
518
15
85
34.533333
0.848837
0.258687
0
0
0
0
0.063158
0
0
0
0
0
0
1
0.1
false
0
0.3
0.1
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2acdbe48c1a63c18df33e8e3cfb8731347ace259
466
py
Python
fbl_handler/test_message_id_extractor.py
wheekey/fbl-handler
918e2c7ac50033630eebd5741a7ad3e9c56c3930
[ "MIT" ]
null
null
null
fbl_handler/test_message_id_extractor.py
wheekey/fbl-handler
918e2c7ac50033630eebd5741a7ad3e9c56c3930
[ "MIT" ]
null
null
null
fbl_handler/test_message_id_extractor.py
wheekey/fbl-handler
918e2c7ac50033630eebd5741a7ad3e9c56c3930
[ "MIT" ]
null
null
null
from unittest import TestCase from fbl_handler.message_id_extractor import MessageIdExtractor class TestMessageIdExtractor(TestCase): def setUp(self): self.message_id_extractor = MessageIdExtractor() def test_extract_from_yandex_fbl(self): with open('files/yandex_fbl.txt', 'r') as file: ...
31.066667
109
0.751073
58
466
5.741379
0.534483
0.081081
0.162162
0.132132
0
0
0
0
0
0
0
0.017949
0.16309
466
14
110
33.285714
0.835897
0
0
0
0
0
0.07957
0
0
0
0
0
0.111111
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
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
2ae22ebc1ff5af7ea983e4b1cf1879b8fdb9382c
9,880
py
Python
python/plot_meridional_avg_multiple_fields_climo.py
E3SM-Project/a-prime
a8c084ab6f727904a2b38d8a93b9c83e2f978e3f
[ "BSD-3-Clause" ]
1
2017-06-07T13:13:32.000Z
2017-06-07T13:13:32.000Z
python/plot_meridional_avg_multiple_fields_climo.py
ACME-Climate/a-prime
a8c084ab6f727904a2b38d8a93b9c83e2f978e3f
[ "BSD-3-Clause" ]
31
2017-06-07T00:26:58.000Z
2018-04-09T17:03:15.000Z
python/plot_meridional_avg_multiple_fields_climo.py
ACME-Climate/a-prime
a8c084ab6f727904a2b38d8a93b9c83e2f978e3f
[ "BSD-3-Clause" ]
1
2018-08-05T23:43:59.000Z
2018-08-05T23:43:59.000Z
# # Copyright (c) 2017, UT-BATTELLE, LLC # All rights reserved. # # This software is released under the BSD license detailed # in the LICENSE file in the top level a-prime directory # ###Work in Progress: Plot meridional averages for different fields in the same plot. ###07/03/2017 import matplotlib as mpl #changing t...
37.003745
119
0.566093
1,208
9,880
4.31457
0.194536
0.034536
0.058711
0.020721
0.3302
0.275326
0.233308
0.178434
0.085572
0.085572
0
0.013196
0.332692
9,880
266
120
37.142857
0.77734
0.034514
0
0.183784
0
0
0.12013
0.002415
0
0
0
0
0
0
null
null
0
0.086486
null
null
0.032432
0
0
0
null
0
0
0
0
0
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
2ae2318f1e53b32601c5c8db2c16277213b2f472
1,670
py
Python
sample/sample.py
dogwood008/python-kabusapi
7e7a5ac232e037c651b5447b408d8b0b6727c9b0
[ "MIT" ]
11
2020-10-02T04:27:50.000Z
2022-01-05T03:41:03.000Z
sample/sample.py
dogwood008/python-kabusapi
7e7a5ac232e037c651b5447b408d8b0b6727c9b0
[ "MIT" ]
1
2020-12-15T03:52:45.000Z
2020-12-15T23:28:04.000Z
sample/sample.py
dogwood008/python-kabusapi
7e7a5ac232e037c651b5447b408d8b0b6727c9b0
[ "MIT" ]
5
2021-02-21T16:25:50.000Z
2022-02-15T08:11:43.000Z
import kabusapi url = "localhost" port = "18081" # 検証用, 本番用は18080 password = "hogehoge" # 初期設定・トークン取得 api = kabusapi.Context(url, port, password) # 取得トークンの表示 print(api.token) # トークンを指定した初期設定 パスワードが不要 api = kabusapi.Context(url, port, token='fugafuga') # 注文発注 (現物買い) data = { "Password": "hoge", "Symbol": ...
14.396552
51
0.575449
183
1,670
5.262295
0.42623
0.148494
0.11215
0.11838
0.338525
0.286604
0.286604
0.215992
0.215992
0.124611
0
0.053822
0.232335
1,670
115
52
14.521739
0.695788
0.10479
0
0.318841
0
0
0.22019
0
0
0
0
0
0
1
0
false
0.057971
0.014493
0
0.014493
0.014493
0
0
0
null
0
0
0
0
0
0
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
2ae48ee7262087d6a799cdd263fa2699c0692509
2,766
py
Python
tests/runtime/doubling_vector.py
yangdanny97/chocopy-python-compiler
588cba0cb330bd63f00e06420a32ba47c25c4468
[ "MIT" ]
7
2021-08-28T18:20:45.000Z
2022-02-01T07:35:59.000Z
tests/runtime/doubling_vector.py
yangdanny97/chocopy-python-compiler
588cba0cb330bd63f00e06420a32ba47c25c4468
[ "MIT" ]
1
2020-05-30T17:57:11.000Z
2020-05-30T20:44:53.000Z
tests/runtime/doubling_vector.py
yangdanny97/chocopy-python-frontend
d0fb63fc744771640fa4d06076743f42089899c1
[ "MIT" ]
2
2022-02-05T06:16:16.000Z
2022-02-24T11:07:09.000Z
# A resizable list of integers class Vector(object): # Attributes items: [int] = None size: int = 0 # Constructor def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of...
24.696429
63
0.629067
396
2,766
4.027778
0.219697
0.19185
0.166771
0.047022
0.397492
0.386834
0.386834
0.386834
0.340439
0.340439
0
0.049816
0.216197
2,766
111
64
24.918919
0.685886
0.142444
0
0.423077
0
0
0.016109
0
0
0
0
0
0.435897
1
0.076923
false
0
0
0.012821
0.192308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1