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
e84dda1f60034cf156562ab37fbb98e968ab621b
4,616
py
Python
groclient/cli.py
eric-gro/api-client
0ca73422c25b5065907d068a44b72bdc43fea79f
[ "MIT" ]
18
2019-01-10T21:06:17.000Z
2022-03-15T06:22:18.000Z
groclient/cli.py
eric-gro/api-client
0ca73422c25b5065907d068a44b72bdc43fea79f
[ "MIT" ]
138
2019-01-16T15:35:35.000Z
2022-03-23T13:05:03.000Z
groclient/cli.py
eric-gro/api-client
0ca73422c25b5065907d068a44b72bdc43fea79f
[ "MIT" ]
24
2019-02-22T19:24:54.000Z
2022-03-15T10:17:37.000Z
from random import random import argparse import getpass import os import sys import unicodecsv import groclient.lib import groclient.cfg from groclient import GroClient def pick_random_data_series(client): # pragma: no cover """Pick a random available data series.""" data_series_list = client.get_data_seri...
33.941176
99
0.62175
553
4,616
4.983725
0.273056
0.11611
0.061684
0.027576
0.25762
0.202467
0.202467
0.119013
0.119013
0.090711
0
0
0.27448
4,616
135
100
34.192593
0.822932
0.167028
0
0.138614
0
0
0.153622
0
0
0
0
0
0.009901
1
0.039604
false
0.059406
0.089109
0
0.168317
0.089109
0
0
0
null
0
0
0
0
0
0
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
e84eb85d2d8c61378e6eafd657771395f6f390ab
2,578
py
Python
cloudshell/devices/snmp_handler.py
QualiSystems/cloudshell-networking-devices
f316cefca174975424ec21854b672335feaf8f87
[ "Apache-2.0" ]
null
null
null
cloudshell/devices/snmp_handler.py
QualiSystems/cloudshell-networking-devices
f316cefca174975424ec21854b672335feaf8f87
[ "Apache-2.0" ]
34
2016-11-28T10:52:44.000Z
2019-10-01T08:52:59.000Z
cloudshell/devices/snmp_handler.py
QualiSystems/cloudshell-networking-devices
f316cefca174975424ec21854b672335feaf8f87
[ "Apache-2.0" ]
1
2017-05-23T08:46:45.000Z
2017-05-23T08:46:45.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from abc import abstractmethod from cloudshell.devices.driver_helper import get_snmp_parameters_from_command_context from cloudshell.devices.snmp_handler_interface import SnmpHandlerInterface from cloudshell.snmp.quali_snmp import QualiSnmp class SnmpContextManager(object):...
27.72043
107
0.654383
282
2,578
5.595745
0.219858
0.08872
0.053232
0.048162
0.260456
0.121673
0
0
0
0
0
0.000527
0.264158
2,578
92
108
28.021739
0.831313
0.179597
0
0.190476
0
0
0.004258
0
0
0
0
0
0
1
0.214286
false
0.047619
0.095238
0
0.452381
0
0
0
0
null
0
0
0
0
0
0
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
e8546d8de1a9f8e58fb72b442b4f7cf4c530eb48
3,489
py
Python
tests/python_test_utils/tapenade_utils.py
marcelotrevisani/acorns
682749b0963ffc0a3998a7065ef505fc95123f50
[ "MIT" ]
null
null
null
tests/python_test_utils/tapenade_utils.py
marcelotrevisani/acorns
682749b0963ffc0a3998a7065ef505fc95123f50
[ "MIT" ]
null
null
null
tests/python_test_utils/tapenade_utils.py
marcelotrevisani/acorns
682749b0963ffc0a3998a7065ef505fc95123f50
[ "MIT" ]
null
null
null
import os import sys import general_utils import os from subprocess import PIPE, run def generate_function_c_file(func_num, functions, input_filename): f = open(input_filename, 'w') signature = "" function = functions[func_num] signature += "double function_" + str(func_num) + "(" for j ...
39.202247
166
0.600172
439
3,489
4.548975
0.236902
0.042063
0.025038
0.03305
0.25989
0.233851
0.207311
0.165248
0.123185
0.091137
0
0.003811
0.247922
3,489
88
167
39.647727
0.757241
0
0
0.2375
1
0.0125
0.175537
0.067039
0
0
0
0
0
1
0.075
false
0
0.0625
0
0.1625
0.0625
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
e860dfeb452bb8698b25d48909bcdd6fe2bcbc1b
936
py
Python
interview_questions/mn_matrix_paths.py
rpg711/Interview-Prep
2d12a11738d4c709bc593dcfdbf54d9f92141d61
[ "MIT" ]
null
null
null
interview_questions/mn_matrix_paths.py
rpg711/Interview-Prep
2d12a11738d4c709bc593dcfdbf54d9f92141d61
[ "MIT" ]
null
null
null
interview_questions/mn_matrix_paths.py
rpg711/Interview-Prep
2d12a11738d4c709bc593dcfdbf54d9f92141d61
[ "MIT" ]
null
null
null
import numpy as np import sys ''' Google internship question 2. Given a matrix with only 0s and 1s, where 0 represents a wall and 1 represents a path, return if there is a path from first to last row. ''' def path_exists(A, visited, m=0, n=0): if m == A.shape[0] - 1: return A[m,n] == 1 else: v...
34.666667
159
0.568376
191
936
2.706806
0.282723
0.042553
0.040619
0.174081
0.386847
0.294004
0.251451
0.251451
0.251451
0.251451
0
0.075714
0.252137
936
26
160
36
0.662857
0
0
0
0
0
0.023653
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.352941
0.058824
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
e86675245116ae144244b15efdf0ef8b1034e458
1,387
py
Python
bot/utils/experiments.py
AEnterprise/kanelbulle
1aecf49570d74d1412be07f6e4bcae42f3883b69
[ "MIT" ]
4
2018-09-23T10:13:16.000Z
2018-10-31T19:07:53.000Z
bot/utils/experiments.py
AEnterprise/kanelbulle
1aecf49570d74d1412be07f6e4bcae42f3883b69
[ "MIT" ]
5
2018-09-30T08:34:54.000Z
2018-10-27T09:04:53.000Z
bot/utils/experiments.py
AEnterprise/kanelbulle
1aecf49570d74d1412be07f6e4bcae42f3883b69
[ "MIT" ]
2
2018-09-29T22:32:43.000Z
2019-07-18T15:15:51.000Z
import pymongo, config from discord.ext import commands client = pymongo.MongoClient("mongodb://localhost:27017/") database = client[config.database_name] servers = database["servers"] def has(guild_id: int, experiment: int): for server in servers.find({"id": guild_id}, {"experiments": 1}).limit(1): ...
42.030303
112
0.662581
170
1,387
5.294118
0.282353
0.085556
0.05
0.06
0.461111
0.354444
0.354444
0.354444
0.354444
0.354444
0
0.01084
0.201875
1,387
33
113
42.030303
0.802168
0.018025
0
0.222222
0
0
0.112867
0.019564
0
0
0
0
0
1
0.185185
false
0
0.074074
0.037037
0.518519
0
0
0
0
null
0
0
0
0
0
0
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
e8669e9a92c6033269827e99c812cc80ba22702b
1,008
py
Python
setup.py
moynihanrory/matchreporter
c71d2332fde6e83a0d6cb554af9f3fd7082a4ea6
[ "MIT" ]
null
null
null
setup.py
moynihanrory/matchreporter
c71d2332fde6e83a0d6cb554af9f3fd7082a4ea6
[ "MIT" ]
null
null
null
setup.py
moynihanrory/matchreporter
c71d2332fde6e83a0d6cb554af9f3fd7082a4ea6
[ "MIT" ]
null
null
null
from setuptools import setup def readme(): with open('README.rst') as file: return file.read() setup(name='matchreporter', version='0.3', description='Creates analysis reports for GAA matches', classifiers=[ 'Development Status :: 3 - Alpha', 'License :: OSI Appro...
31.5
86
0.583333
92
1,008
6.304348
0.793478
0.089655
0
0
0
0
0
0
0
0
0
0.006925
0.28373
1,008
32
87
31.5
0.796399
0
0
0.066667
0
0
0.437066
0.049554
0
0
0
0
0
1
0.033333
true
0
0.033333
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
1
0
0
0
0
0
0
1
e86899d2abc4097abd2e29e8d30a8880d3ce82cc
2,426
py
Python
tourney/models.py
7h3qu1rkyb1t/Xarena
ae16cfde7ca103887d983e4d8beb0d978579af22
[ "Apache-2.0" ]
null
null
null
tourney/models.py
7h3qu1rkyb1t/Xarena
ae16cfde7ca103887d983e4d8beb0d978579af22
[ "Apache-2.0" ]
6
2021-01-31T14:19:13.000Z
2022-03-12T00:53:54.000Z
tourney/models.py
hardfau18/Xarena
37504ce1c0d64aee2eeb5b0b0b4b2e0d05f3e458
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from accounts.models import Game, Membership from django.utils import timezone from django.contrib.postgres.fields import ArrayField class TourneyObject(models.Model): mode = models.CharField(max_length=50) bonus = models.CharField(max_l...
34.657143
95
0.721352
310
2,426
5.487097
0.325806
0.047031
0.041152
0.056437
0.104644
0
0
0
0
0
0
0.005519
0.178483
2,426
69
96
35.15942
0.847968
0.020198
0
0.058824
0
0
0.024421
0
0
0
0
0
0
1
0.176471
false
0.019608
0.098039
0.156863
0.941176
0
0
0
0
null
0
0
0
0
0
0
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
e86935e6035ca541ce330cd2446b6cad06de20be
386
py
Python
cride/circles/migrations/0003_rename_is_verified_circle_verified.py
frorozcol-UN/Cride_platzi
0c6160492bf4f7f439ab5a8b56464f0f1b2bd428
[ "MIT" ]
null
null
null
cride/circles/migrations/0003_rename_is_verified_circle_verified.py
frorozcol-UN/Cride_platzi
0c6160492bf4f7f439ab5a8b56464f0f1b2bd428
[ "MIT" ]
null
null
null
cride/circles/migrations/0003_rename_is_verified_circle_verified.py
frorozcol-UN/Cride_platzi
0c6160492bf4f7f439ab5a8b56464f0f1b2bd428
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-11-27 21:53 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('circles', '0002_rename_verified_circle_is_verified'), ] operations = [ migrations.RenameField( model_name='circle', old_name...
20.315789
63
0.608808
42
386
5.380952
0.738095
0.088496
0
0
0
0
0
0
0
0
0
0.068841
0.284974
386
18
64
21.444444
0.75
0.11658
0
0
1
0
0.20944
0.115044
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
e86d465da1ed2ce53116541ce71a48f26b12a972
1,730
py
Python
goods2/migrations/0005_auto_20180613_1632.py
huachao2017/goodsdl
3616d53b90696a97a5d56a064e2a14d484b821d7
[ "Apache-2.0" ]
3
2018-10-16T09:36:12.000Z
2019-04-15T03:12:49.000Z
goods2/migrations/0005_auto_20180613_1632.py
huachao2017/goodsdl
3616d53b90696a97a5d56a064e2a14d484b821d7
[ "Apache-2.0" ]
null
null
null
goods2/migrations/0005_auto_20180613_1632.py
huachao2017/goodsdl
3616d53b90696a97a5d56a064e2a14d484b821d7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-06-13 16:32 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('goods2', '0004_auto_20180613_1523'), ] operations ...
32.641509
138
0.575723
162
1,730
5.981481
0.524691
0.065015
0.071207
0.083591
0.150671
0.086687
0
0
0
0
0
0.044046
0.291329
1,730
52
139
33.269231
0.74633
0.039306
0
0.333333
1
0
0.148885
0.013864
0
0
0
0
0
1
0
false
0
0.066667
0
0.133333
0
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
e87fbcc6e727859ab9deb78388283b11639fa1eb
919
py
Python
tests/block_metric.py
Shir0kamii/graphitesend
76d958c2fc455fa40e7f31107970c01a59e5d136
[ "Apache-2.0" ]
10
2019-01-09T07:53:55.000Z
2020-07-03T00:35:35.000Z
tests/block_metric.py
Shir0kamii/graphitesend
76d958c2fc455fa40e7f31107970c01a59e5d136
[ "Apache-2.0" ]
4
2018-11-28T22:02:04.000Z
2019-08-09T21:49:27.000Z
tests/block_metric.py
Shir0kamii/graphitesend
76d958c2fc455fa40e7f31107970c01a59e5d136
[ "Apache-2.0" ]
4
2018-11-28T13:32:33.000Z
2019-06-01T14:25:03.000Z
import time import pytest def test_execution_metric(block_metric, mocked_send): with block_metric: pass mocked_send.assert_any_call("foo.executions", 1) def test_errors_metric(block_metric, mocked_send): with block_metric: pass # Test that this call is not made with pytest.rai...
22.975
59
0.669206
127
919
4.574803
0.314961
0.13253
0.10327
0.118761
0.363167
0.316695
0.271945
0.271945
0.158348
0
0
0.015782
0.241567
919
39
60
23.564103
0.817791
0.033732
0
0.307692
0
0
0.059819
0
0
0
0
0
0.230769
1
0.115385
false
0.076923
0.076923
0
0.192308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e883b1f8b91199045c3008af73ce7f2a7ab30045
281
py
Python
commands/wmcommons/command.py
mikiec84/chantek
f13c8da5ce8c149a4ffcc2689edbaa6ba1bce51a
[ "MIT" ]
null
null
null
commands/wmcommons/command.py
mikiec84/chantek
f13c8da5ce8c149a4ffcc2689edbaa6ba1bce51a
[ "MIT" ]
2
2021-03-31T20:07:45.000Z
2021-12-13T20:49:07.000Z
commands/wmcommons/command.py
mikiec84/chantek
f13c8da5ce8c149a4ffcc2689edbaa6ba1bce51a
[ "MIT" ]
null
null
null
from . import wmcommons CACHEABLE = True arguments = { "q" : { "required" : True, "type" : str }, "height" : 300, "width" : 300 } methods = ("imageinfo") def run(args, method): if method == "imageinfo": return wmcommons.imageinfo(args)
17.5625
40
0.551601
28
281
5.535714
0.75
0
0
0
0
0
0
0
0
0
0
0.030457
0.298932
281
16
40
17.5625
0.756345
0
0
0
0
0
0.148936
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.214286
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
e88522423281dc14becb83204686faffd3f49e82
1,147
py
Python
selectinf/randomized/tests/test_modelQ.py
TianXie1999/selective-inference
ca02bbd84af5f5597944c75bde8337db9c69066a
[ "BSD-3-Clause" ]
51
2016-03-31T16:34:15.000Z
2022-01-16T04:32:58.000Z
selectinf/randomized/tests/test_modelQ.py
TianXie1999/selective-inference
ca02bbd84af5f5597944c75bde8337db9c69066a
[ "BSD-3-Clause" ]
11
2016-04-07T00:19:58.000Z
2021-10-03T18:31:14.000Z
selectinf/randomized/tests/test_modelQ.py
TianXie1999/selective-inference
ca02bbd84af5f5597944c75bde8337db9c69066a
[ "BSD-3-Clause" ]
14
2015-10-28T17:29:05.000Z
2021-08-16T21:04:30.000Z
from __future__ import division, print_function import numpy as np import nose.tools as nt import regreg.api as rr from ..modelQ import modelQ from ..lasso import lasso from ...tests.instance import gaussian_instance def test_modelQ(): n, p, s = 200, 50, 4 X, y, beta = gaussian_instance(n=n, ...
28.675
70
0.645161
167
1,147
4.251497
0.413174
0.06338
0.105634
0.161972
0.308451
0.197183
0.107042
0.107042
0.107042
0
0
0.019473
0.238884
1,147
39
71
29.410256
0.793814
0.008718
0
0
0
0
0.012346
0
0
0
0
0
0.185185
1
0.037037
false
0
0.259259
0
0.296296
0.037037
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
e885ebc36f39c86f8ee1bd5c2899aae70095a576
2,569
py
Python
ufora/FORA/python/Control.py
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/FORA/python/Control.py
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/FORA/python/Control.py
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
# Copyright 2015 Ufora Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
32.518987
86
0.636434
303
2,569
5.346535
0.468647
0.037037
0.027778
0.027778
0.035802
0.035802
0.035802
0
0
0
0
0.011853
0.27754
2,569
78
87
32.935897
0.860991
0.21993
0
0.061224
0
0
0.107305
0
0
0
0
0
0.020408
0
null
null
0.020408
0.040816
null
null
0.061224
0
0
0
null
0
0
0
0
0
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
e88c0a645b18114f5344b0168a99129c93124b82
9,157
py
Python
figures/figscripts/plot_figure7D_right.py
jrw24/G418_readthrough
83acb663fb7539d1c7c896fe12587c5c00829b7b
[ "MIT" ]
3
2020-04-10T21:48:15.000Z
2021-12-05T14:44:10.000Z
figures/figscripts/plot_figure7D_right.py
elifesciences-publications/G418_readthrough
9c115ec30aaa851630fff85719db72f2de859bfd
[ "MIT" ]
2
2019-10-24T19:34:50.000Z
2020-09-17T15:08:15.000Z
figures/figscripts/plot_figure7D_right.py
jrw24/G418_readthrough
83acb663fb7539d1c7c896fe12587c5c00829b7b
[ "MIT" ]
2
2020-01-29T19:29:45.000Z
2020-08-24T21:39:32.000Z
##### import matplotlib matplotlib.use('Agg') ## set backend here import matplotlib.pyplot as plt plt.rcParams['pdf.fonttype'] = 42 # this keeps most text as actual text in PDFs, not outlines import sys from Bio import SeqIO import twobitreader import GFF import csv import os import struct import ast import pandas...
29.730519
117
0.706563
1,310
9,157
4.794656
0.280153
0.024518
0.011463
0.013533
0.329884
0.300271
0.279573
0.279573
0.263334
0.263334
0
0.031394
0.147756
9,157
307
118
29.827362
0.77345
0.341378
0
0.147651
0
0.013423
0.125543
0.044626
0
0
0
0
0
0
null
null
0.020134
0.100671
null
null
0.053691
0
0
0
null
0
0
0
0
0
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
e890b70d3fddb1776b39eabb5a51abfa8f49fc5e
1,079
py
Python
tests/test_trivial.py
cthoyt/pybacting
6f3f5277e0af2c6c49db092103c49f31fea68526
[ "MIT" ]
5
2021-07-29T12:30:36.000Z
2021-08-02T01:19:23.000Z
tests/test_trivial.py
cthoyt/pybacting
6f3f5277e0af2c6c49db092103c49f31fea68526
[ "MIT" ]
5
2021-07-29T14:56:48.000Z
2021-11-06T14:14:00.000Z
tests/test_trivial.py
cthoyt/pybacting
6f3f5277e0af2c6c49db092103c49f31fea68526
[ "MIT" ]
2
2021-07-31T05:44:07.000Z
2021-08-05T03:07:40.000Z
# -*- coding: utf-8 -*- """Trivial tests for :mod:`pybacting`.""" import unittest from scyjava import to_python import pybacting from pybacting import qudt class TestImport(unittest.TestCase): """Test importing :mod:`pybacting`.""" def test_from_smiles(self): """Test loading via cdk.""" m...
28.394737
96
0.664504
128
1,079
5.460938
0.484375
0.074392
0.06867
0.051502
0.154506
0
0
0
0
0
0
0.005787
0.199259
1,079
37
97
29.162162
0.803241
0.26228
0
0.117647
0
0
0.082888
0.036096
0
0
0
0
0.294118
1
0.235294
false
0
0.294118
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e89169c14dfc35cc99056834232215ccbe7140c9
2,347
py
Python
dashboard/tests/test_jobs.py
vishalvvr/transtats
ec71f40b338cab36eb907f6faba262dfeb858b80
[ "Apache-2.0" ]
null
null
null
dashboard/tests/test_jobs.py
vishalvvr/transtats
ec71f40b338cab36eb907f6faba262dfeb858b80
[ "Apache-2.0" ]
null
null
null
dashboard/tests/test_jobs.py
vishalvvr/transtats
ec71f40b338cab36eb907f6faba262dfeb858b80
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
36.107692
79
0.745207
292
2,347
5.811644
0.434932
0.051856
0.035357
0.047731
0.121391
0.121391
0.068356
0.068356
0.068356
0.068356
0
0.009278
0.173413
2,347
64
80
36.671875
0.865464
0.261184
0
0.060606
0
0
0.080048
0
0
0
0
0
0.212121
1
0.060606
false
0
0.242424
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e891b18866eaaa72c65008432bc39db81cffd70e
1,658
py
Python
manticore/platforms/platform.py
dmgress/manticore
61a5f934363980705ea1eea9717600eff005791b
[ "Apache-2.0" ]
null
null
null
manticore/platforms/platform.py
dmgress/manticore
61a5f934363980705ea1eea9717600eff005791b
[ "Apache-2.0" ]
null
null
null
manticore/platforms/platform.py
dmgress/manticore
61a5f934363980705ea1eea9717600eff005791b
[ "Apache-2.0" ]
null
null
null
import wrapt import logging from ..utils.event import Eventful logger = logging.getLogger(__name__) class OSException(Exception): pass @wrapt.decorator def unimplemented(wrapped, _instance, args, kwargs): cpu = getattr(getattr(_instance, "parent", None), "current", None) addr = None if cpu is None else...
25.90625
91
0.652593
198
1,658
5.156566
0.494949
0.020568
0.032321
0
0
0
0
0
0
0
0
0
0.230398
1,658
63
92
26.31746
0.800157
0.100724
0
0
0
0
0.095467
0
0
0
0
0
0
1
0.205128
false
0.025641
0.076923
0.025641
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e893ee9df56143e40fb104ea710c2e7da46fa717
5,032
py
Python
ansible/lib/ansible/modules/core/network/junos/junos_package.py
kiv-box/redis
966a0c3f0a51282cd173b42a6e249d23f4e89dec
[ "Apache-2.0" ]
null
null
null
ansible/lib/ansible/modules/core/network/junos/junos_package.py
kiv-box/redis
966a0c3f0a51282cd173b42a6e249d23f4e89dec
[ "Apache-2.0" ]
null
null
null
ansible/lib/ansible/modules/core/network/junos/junos_package.py
kiv-box/redis
966a0c3f0a51282cd173b42a6e249d23f4e89dec
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # This file is part of Ansible # # Ansible 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. # # Ansible is distribut...
32.050955
75
0.693959
698
5,032
4.936963
0.313754
0.034823
0.034823
0.024666
0.124202
0.100406
0.047591
0.026117
0.026117
0.026117
0
0.004881
0.226351
5,032
156
76
32.25641
0.880298
0.127186
0
0.20339
0
0
0.649143
0.024
0
0
0
0
0
1
0.016949
false
0.008475
0.033898
0
0.050847
0
0
0
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
e8a0ad282dd39f0fc0b0681427f7d54d7e76fa34
5,680
py
Python
src/certbot_dns_joker/dns_joker.py
dhull/certbot-dns-joker
87dbd7611806d44276cf87b4221ef377bae9dca6
[ "Apache-2.0" ]
7
2020-09-21T06:02:40.000Z
2022-02-25T21:23:07.000Z
src/certbot_dns_joker/dns_joker.py
dhull/certbot-dns-joker
87dbd7611806d44276cf87b4221ef377bae9dca6
[ "Apache-2.0" ]
1
2021-04-09T20:52:07.000Z
2022-02-27T19:25:23.000Z
src/certbot_dns_joker/dns_joker.py
dhull/certbot-dns-joker
87dbd7611806d44276cf87b4221ef377bae9dca6
[ "Apache-2.0" ]
4
2021-03-26T00:45:21.000Z
2021-08-13T08:52:50.000Z
"""DNS Authenticator for DNS servers with the Joker extension to the DynDNS API.""" import logging import requests import zope.interface from certbot import errors from certbot import interfaces from certbot.plugins import dns_common logger = logging.getLogger(__name__) JOKER_ENDPOINT = 'https://svc.joker.com/nic/r...
42.074074
119
0.65088
693
5,680
5.206349
0.367965
0.036031
0.022173
0.033259
0.079823
0.055432
0.055432
0.032151
0.032151
0.032151
0
0.005407
0.251056
5,680
134
120
42.38806
0.842736
0.163732
0
0.022727
0
0
0.29288
0
0
0
0
0
0
1
0.125
false
0.079545
0.068182
0.011364
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e8a4ac62961217015a82f73b1cd63262bc3d4675
3,488
py
Python
blueprints/ubuntu_docker/blueprint.py
halsayed/calm
46c93ac2b02227663f0184d149f62d142b2638cc
[ "MIT" ]
null
null
null
blueprints/ubuntu_docker/blueprint.py
halsayed/calm
46c93ac2b02227663f0184d149f62d142b2638cc
[ "MIT" ]
null
null
null
blueprints/ubuntu_docker/blueprint.py
halsayed/calm
46c93ac2b02227663f0184d149f62d142b2638cc
[ "MIT" ]
1
2021-11-16T10:28:42.000Z
2021-11-16T10:28:42.000Z
# THIS FILE IS AUTOMATICALLY GENERATED. # Disclaimer: Please test this file before using in production. """ Generated blueprint DSL (.py) """ import json # no_qa import os # no_qa from calm.dsl.builtins import * # no_qa # Secret Variables BP_CRED_UBUNTU_PASSWORD = read_local_file("BP_CRED_UBUNTU_PASSWORD") # Cr...
23.567568
102
0.614106
380
3,488
5.355263
0.444737
0.01769
0.034398
0.051597
0.213759
0.156757
0.135627
0.102211
0.040295
0
0
0.023401
0.264908
3,488
147
103
23.727891
0.770281
0.061067
0
0.144231
1
0.009615
0.21683
0.093366
0
0
0
0
0
1
0.009615
false
0.038462
0.028846
0
0.355769
0.009615
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
e8a723fb83d10138ccd075f90536e7f6652c51b1
1,321
py
Python
shijing_img/source/cms/cms_utils.py
swenker/studio
298336a6327dbd3d496de6a9290d29ac8fe00514
[ "Apache-2.0" ]
1
2015-02-05T09:05:01.000Z
2015-02-05T09:05:01.000Z
shijing_img/source/cms/cms_utils.py
swenker/studio
298336a6327dbd3d496de6a9290d29ac8fe00514
[ "Apache-2.0" ]
null
null
null
shijing_img/source/cms/cms_utils.py
swenker/studio
298336a6327dbd3d496de6a9290d29ac8fe00514
[ "Apache-2.0" ]
null
null
null
__author__ = 'wenjusun' from Crypto.Cipher import AES import base64 SECURITY_SALT = 'ThisisAndPadding' CHARSET_UTF8 = "UTF8" AES_KEY = b"abcdefghijklmnop" def encrypt(raw_msg, salt=SECURITY_SALT): padding = salt EncodeAES = lambda c, e: c.encrypt(e) # AES key must be either 16, 24, or 32 bytes long ...
22.016667
75
0.689629
177
1,321
4.926554
0.40113
0.027523
0.018349
0.020642
0.108945
0.067661
0
0
0
0
0
0.042493
0.198335
1,321
59
76
22.389831
0.780925
0.20969
0
0.066667
0
0
0.067764
0
0
0
0
0
0
0
null
null
0
0.066667
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
e8ae4f25afa0d8f0e77165c4c02fdb3bcf123cec
4,292
py
Python
src/nebulo/sql/reflection/types.py
olirice/nebulo
de9b043fe66d0cb872c5c0f2aca3c5c6f20918a7
[ "MIT" ]
76
2020-04-03T01:21:47.000Z
2021-12-06T02:54:53.000Z
src/nebulo/sql/reflection/types.py
olirice/nebulo
de9b043fe66d0cb872c5c0f2aca3c5c6f20918a7
[ "MIT" ]
7
2020-04-06T04:44:10.000Z
2021-05-17T12:38:15.000Z
src/nebulo/sql/reflection/types.py
olirice/nebulo
de9b043fe66d0cb872c5c0f2aca3c5c6f20918a7
[ "MIT" ]
2
2020-10-23T10:25:16.000Z
2020-10-28T14:16:57.000Z
# pylint: disable=invalid-name from typing import Dict, Tuple from flupy import flu from nebulo.sql.composite import composite_type_factory from nebulo.text_utils import snake_to_camel from sqlalchemy import Column from sqlalchemy import text as sql_text from sqlalchemy.sql import sqltypes from sqlalchemy.sql.type_api...
35.766667
117
0.596925
535
4,292
4.586916
0.263551
0.069682
0.031377
0.046455
0.164222
0.136919
0.114099
0.06846
0.06846
0.06846
0
0.002759
0.324324
4,292
119
118
36.067227
0.843448
0.046831
0
0
0
0
0.00075
0
0
0
0
0
0
1
0.038462
false
0
0.307692
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e8b245d1ccefbadf90c1dd80f6520a329cdf4a8e
554
py
Python
src/pipx/commands/__init__.py
alexef/pipx
4db161a6295df33aee82cba4242d27ebb02ca35b
[ "MIT" ]
1
2020-10-29T16:47:28.000Z
2020-10-29T16:47:28.000Z
src/pipx/commands/__init__.py
alexef/pipx
4db161a6295df33aee82cba4242d27ebb02ca35b
[ "MIT" ]
null
null
null
src/pipx/commands/__init__.py
alexef/pipx
4db161a6295df33aee82cba4242d27ebb02ca35b
[ "MIT" ]
null
null
null
from .ensure_path import ensure_pipx_paths from .inject import inject from .install import install from .list_packages import list_packages from .reinstall import reinstall, reinstall_all from .run import run from .run_pip import run_pip from .uninstall import uninstall, uninstall_all from .upgrade import upgrade, upgr...
22.16
47
0.720217
69
554
5.478261
0.231884
0.095238
0.079365
0
0
0
0
0
0
0
0
0
0.187726
554
24
48
23.083333
0.84
0
0
0
0
0
0.207581
0
0
0
0
0
0
1
0
false
0
0.391304
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
e8b8ff0c3aaaeeaa6e585195b4355408bf147593
3,448
py
Python
manilaclient/v2/share_network_subnets.py
SolKuczala/python-manilaclient
9613c7fd2652dc3c7b8793c9af2b6357f42a4757
[ "CNRI-Python", "Apache-1.1" ]
37
2015-01-29T20:10:49.000Z
2021-10-01T23:31:23.000Z
manilaclient/v2/share_network_subnets.py
SolKuczala/python-manilaclient
9613c7fd2652dc3c7b8793c9af2b6357f42a4757
[ "CNRI-Python", "Apache-1.1" ]
1
2017-04-12T13:57:10.000Z
2017-04-12T13:57:10.000Z
manilaclient/v2/share_network_subnets.py
SolKuczala/python-manilaclient
9613c7fd2652dc3c7b8793c9af2b6357f42a4757
[ "CNRI-Python", "Apache-1.1" ]
21
2015-09-23T09:15:14.000Z
2022-03-12T16:38:17.000Z
# Copyright 2019 NetApp # 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 applic...
37.075269
78
0.676914
420
3,448
5.304762
0.280952
0.204668
0.169659
0.05386
0.267504
0.245961
0.148564
0.132855
0.132855
0.132855
0
0.003019
0.231439
3,448
92
79
37.478261
0.837736
0.349188
0
0.090909
0
0
0.224751
0.120436
0
0
0
0
0
1
0.136364
false
0
0.045455
0.045455
0.340909
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
e8b9a5a9ca7ee3cca7c83f30127c3fa9164e750b
1,404
py
Python
app/models/caracteristicas_dao.py
gss214/Sexto-Andar
0fdd1b97dda575cfe05f02e5256f9ee2e34584ac
[ "MIT" ]
4
2021-11-05T17:42:44.000Z
2022-03-10T01:36:54.000Z
app/models/caracteristicas_dao.py
gss214/Sexto-Andar
0fdd1b97dda575cfe05f02e5256f9ee2e34584ac
[ "MIT" ]
null
null
null
app/models/caracteristicas_dao.py
gss214/Sexto-Andar
0fdd1b97dda575cfe05f02e5256f9ee2e34584ac
[ "MIT" ]
1
2021-11-12T18:28:51.000Z
2021-11-12T18:28:51.000Z
class Caracteristicas: def __init__(self, codigo, descricao, quantidade_de_quartos, quantidade_de_banheiros, quantidade_de_suites, area, vaga_garagem): self.codigo = codigo self.descricao = descricao self.quantidade_de_quartos = quantidade_de_quartos self.quantidade_de_banheiros = qu...
35.1
154
0.657407
149
1,404
5.885906
0.261745
0.205245
0.108324
0.132269
0.519954
0.383124
0.383124
0.383124
0.301026
0.301026
0
0
0.279202
1,404
39
155
36
0.866601
0
0
0.30303
0
0
0.059914
0
0
0
0
0
0
1
0.121212
false
0.030303
0
0
0.30303
0.060606
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
e8bfad5c625026feb3bacfb6886c01de505d47de
855
py
Python
joey/trainer/utils.py
olchikd/joey
08fc71e54454c8e52c73298446faa67f5327b4fe
[ "MIT" ]
null
null
null
joey/trainer/utils.py
olchikd/joey
08fc71e54454c8e52c73298446faa67f5327b4fe
[ "MIT" ]
null
null
null
joey/trainer/utils.py
olchikd/joey
08fc71e54454c8e52c73298446faa67f5327b4fe
[ "MIT" ]
null
null
null
from collections import defaultdict def all_subclasses(cls): return cls.__subclasses__() + [g for s in cls.__subclasses__() for g in all_subclasses(s)] def fill_type_map(BaseClass, folder_path=None): res = {} # TODO: Lookup to folder in the config for clazz in all_s...
32.884615
66
0.650292
120
855
4.4
0.291667
0.119318
0.098485
0.079545
0.492424
0.492424
0.382576
0.382576
0.382576
0.382576
0
0
0.274854
855
26
67
32.884615
0.851613
0.08538
0
0.315789
0
0
0
0
0
0
0
0.038462
0
1
0.157895
false
0
0.052632
0.052632
0.368421
0
0
0
0
null
0
0
0
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
e8c3c8f5e47e368e1de54af5a0221831c2dec294
4,709
py
Python
videos/urls.py
annevandalfsen/screenbird
38b70302be3b3dc0c74b6aae8e09666115592aef
[ "MIT", "Unlicense" ]
121
2015-01-01T23:31:36.000Z
2021-05-27T04:24:44.000Z
videos/urls.py
annevandalfsen/screenbird
38b70302be3b3dc0c74b6aae8e09666115592aef
[ "MIT", "Unlicense" ]
1
2017-02-08T04:34:14.000Z
2017-02-08T04:34:14.000Z
videos/urls.py
annevandalfsen/screenbird
38b70302be3b3dc0c74b6aae8e09666115592aef
[ "MIT", "Unlicense" ]
31
2015-01-13T00:23:33.000Z
2017-05-13T21:50:29.000Z
from django.conf.urls.defaults import patterns, include, url from django.conf import settings urlpatterns = patterns('videos.views', # Video List url(r'^videolist/?$', 'video_list', name='videos'), url(r'^videolist/(?P<username>[\w|\W]+)/?$', 'user_videos', name='user_videos'), # Video Record and Uplo...
67.271429
143
0.62646
666
4,709
4.265766
0.162162
0.063358
0.052798
0.019007
0.167195
0.118972
0.094333
0.046463
0.023935
0
0
0.001168
0.090677
4,709
69
144
68.246377
0.662307
0.022935
0
0
0
0.018868
0.667973
0.39582
0
0
0
0
0
1
0
false
0
0.037736
0
0.037736
0
0
0
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
e8c8a7692c4f2685cf7fb41290774935b12ae2cf
770
py
Python
checker/backends/cpan.py
1dot75cm/repo-checker
1ca191efbeaa9f44876546ee59487e8d515cd735
[ "MIT" ]
4
2016-01-10T15:58:48.000Z
2019-08-10T23:12:31.000Z
checker/backends/cpan.py
1dot75cm/repo-checker
1ca191efbeaa9f44876546ee59487e8d515cd735
[ "MIT" ]
1
2021-03-31T18:46:14.000Z
2021-03-31T18:46:14.000Z
checker/backends/cpan.py
1dot75cm/repo-checker
1ca191efbeaa9f44876546ee59487e8d515cd735
[ "MIT" ]
5
2016-03-22T00:58:33.000Z
2017-09-14T12:43:54.000Z
# -*- coding: utf-8 -*- from checker.backends import BaseBackend from checker import logger log = logger.getLogger(__name__) class CpanBackend(BaseBackend): """for projects hosted on cpan.org""" name = 'CPAN' domain = 'cpan.org' example = 'http://search.cpan.org/dist/perl' def __init__(self, u...
24.0625
69
0.587013
96
770
4.510417
0.604167
0.064665
0.050808
0
0
0
0
0
0
0
0
0.008621
0.246753
770
31
70
24.83871
0.737931
0.07013
0
0
0
0
0.167606
0.047887
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.65
0
0
0
0
null
0
0
0
0
0
0
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
e8c95f71fbc46aa32e2b10fdf56dbf185c723415
1,952
py
Python
esque/io/stream_events.py
real-digital/esque
0b779fc308ce8bce45c1903f36c33664b2e832e7
[ "MIT" ]
29
2019-05-10T21:12:38.000Z
2021-08-24T08:09:49.000Z
esque/io/stream_events.py
real-digital/esque
0b779fc308ce8bce45c1903f36c33664b2e832e7
[ "MIT" ]
103
2019-05-17T07:21:41.000Z
2021-12-02T08:29:00.000Z
esque/io/stream_events.py
real-digital/esque
0b779fc308ce8bce45c1903f36c33664b2e832e7
[ "MIT" ]
2
2019-05-28T06:45:14.000Z
2019-11-21T00:33:15.000Z
class StreamEvent: """ An event that happened on a stream. Check :attr:`StreamEvent.partition` to see which partition this event occurred on. If the value is equal to :attr:`StreamEvent.ALL_PARTITIONS` then this is a global event that refers to all partitions or it is an event that is not applicable...
36.830189
116
0.709016
275
1,952
4.949091
0.385455
0.040411
0.061719
0.073475
0.180015
0.180015
0.085231
0.085231
0.085231
0.085231
0
0.003305
0.224898
1,952
52
117
37.538462
0.896233
0.582992
0
0
0
0.066667
0.097421
0.095989
0
0
0
0
0
1
0.2
false
0
0
0.066667
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
e8c9da3e5566d6eb93e6f4ae58f1dbf710103d86
1,432
py
Python
application/model/post.py
keysona/blog
783e0bdbed1e4d8ec9857ee609b39c9dfb958670
[ "MIT" ]
null
null
null
application/model/post.py
keysona/blog
783e0bdbed1e4d8ec9857ee609b39c9dfb958670
[ "MIT" ]
null
null
null
application/model/post.py
keysona/blog
783e0bdbed1e4d8ec9857ee609b39c9dfb958670
[ "MIT" ]
null
null
null
from datetime import datetime from . import db post_tag = db.Table('post_tag', db.Column('tag_id', db.Integer(), db.ForeignKey('tag.id')), db.Column('post_id', db.Integer(), db.ForeignKey('post.id')) ...
33.302326
87
0.579609
176
1,432
4.596591
0.278409
0.098888
0.098888
0.077874
0.309023
0.150803
0.071693
0
0
0
0
0.00677
0.277933
1,432
42
88
34.095238
0.775629
0
0
0.057143
0
0
0.064246
0
0
0
0
0
0
1
0.114286
false
0
0.057143
0.028571
0.514286
0
0
0
0
null
0
0
0
0
0
0
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
e8ce1c856c6a3d7258f15ff75123898df66b67ca
8,404
py
Python
unported scripts/code_pairs/code_pairs.py
KirovskiXVI/dicom-sr-qi
810f367d0845f4f47c3ee914502cf973b4f9b336
[ "BSD-2-Clause" ]
null
null
null
unported scripts/code_pairs/code_pairs.py
KirovskiXVI/dicom-sr-qi
810f367d0845f4f47c3ee914502cf973b4f9b336
[ "BSD-2-Clause" ]
null
null
null
unported scripts/code_pairs/code_pairs.py
KirovskiXVI/dicom-sr-qi
810f367d0845f4f47c3ee914502cf973b4f9b336
[ "BSD-2-Clause" ]
null
null
null
"""Extracts pairs of procedures from Syngo files. The original motivation for this script is searching for placments and removals of central lines. In this context, a "pair" of procedures is a placement and a removal. Takes at least 3 input files: - "code_pairs.xls" - gives cpt codes defining the first and ...
42.02
128
0.579129
1,170
8,404
4.021368
0.241026
0.041445
0.017853
0.015303
0.139001
0.068225
0.046121
0.037407
0.029756
0.016153
0
0.014997
0.333532
8,404
199
129
42.231156
0.825031
0.078296
0
0.125
0
0
0.0434
0
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.013889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e8cf3396c8cae15f3bfca8d33ebdba3020427291
455
py
Python
_SemanticMask/Scripts/cython-script.py
Saahil-96/Segmentation
77114e1481d14aa6a0591235f040f67dc36fc0cf
[ "MIT" ]
null
null
null
_SemanticMask/Scripts/cython-script.py
Saahil-96/Segmentation
77114e1481d14aa6a0591235f040f67dc36fc0cf
[ "MIT" ]
null
null
null
_SemanticMask/Scripts/cython-script.py
Saahil-96/Segmentation
77114e1481d14aa6a0591235f040f67dc36fc0cf
[ "MIT" ]
null
null
null
#!C:\Users\sunnyMl\Desktop\SegmentationProjects\Mask_RCNN\_SemanticMask\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'Cython==0.29.13','console_scripts','cython' __requires__ = 'Cython==0.29.13' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-s...
35
90
0.698901
65
455
4.569231
0.569231
0.070707
0.090909
0.111111
0.208754
0.208754
0.208754
0
0
0
0
0.041975
0.10989
455
12
91
37.916667
0.691358
0.353846
0
0
0
0
0.280822
0.078767
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e8cf604c66bc543c4f5f3c4d41fca227fbb841f9
2,603
py
Python
preprocess/preprocess_hogar.py
sebalp1987/fuzzy_rules
6937ea555350602588543d771c0529be083435b6
[ "BSD-2-Clause" ]
null
null
null
preprocess/preprocess_hogar.py
sebalp1987/fuzzy_rules
6937ea555350602588543d771c0529be083435b6
[ "BSD-2-Clause" ]
null
null
null
preprocess/preprocess_hogar.py
sebalp1987/fuzzy_rules
6937ea555350602588543d771c0529be083435b6
[ "BSD-2-Clause" ]
null
null
null
import pandas as pd import numpy as np import STRING import unidecode # from algorithm_rules import repeated_same def hogar_clean(hogar_df: pd.DataFrame, variables=['hogar_tipo_via', 'hogar_nombre_via', 'hogar_numero_via', 'hogar_cp']): """ Clean the original datalake DDBB :param hogar_df: fi...
36.661972
123
0.636573
376
2,603
4.106383
0.279255
0.22215
0.15544
0.104922
0.333549
0.225389
0.215026
0.153497
0.153497
0.153497
0
0.003479
0.227046
2,603
70
124
37.185714
0.763917
0.174798
0
0
0
0
0.200784
0
0
0
0
0
0
1
0.027778
false
0
0.111111
0
0.166667
0.055556
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
e8d1ed0cd3db744e24cb5483266dc9e9ff074e64
1,545
py
Python
ibench/benchmarks/svm.py
0just0/ibench
72b5c42d202b71ba11a09e1f3323186cc6aa5275
[ "MIT" ]
null
null
null
ibench/benchmarks/svm.py
0just0/ibench
72b5c42d202b71ba11a09e1f3323186cc6aa5275
[ "MIT" ]
null
null
null
ibench/benchmarks/svm.py
0just0/ibench
72b5c42d202b71ba11a09e1f3323186cc6aa5275
[ "MIT" ]
1
2021-11-24T04:24:00.000Z
2021-11-24T04:24:00.000Z
# Copyright (C) 2018 Intel Corporation # # SPDX-License-Identifier: MIT import numpy as np import sklearn, sklearn.utils import sklearn.svm as svm from sklearn.datasets import make_classification from sklearn.metrics import accuracy_score from .bench import Bench sklearn._ASSUME_FINITE = True if sklearn.__version__...
33.586957
160
0.690615
223
1,545
4.618834
0.520179
0.019417
0.034951
0.038835
0
0
0
0
0
0
0
0.062298
0.2
1,545
45
161
34.333333
0.771036
0.247896
0
0
0
0
0.030853
0
0
0
0
0
0.043478
1
0.173913
false
0
0.26087
0.043478
0.608696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e8d42a3dec8c3763e8b37cdca1c5bc152fc252d0
8,818
py
Python
bin/convert_sqlite_to_mysql.py
Durburz/eMonitor
56f3b1fe39b9da3a12b49bdd60d0cfca51c23351
[ "BSD-3-Clause" ]
21
2015-03-04T11:36:47.000Z
2021-04-20T07:51:53.000Z
bin/convert_sqlite_to_mysql.py
Durburz/eMonitor
56f3b1fe39b9da3a12b49bdd60d0cfca51c23351
[ "BSD-3-Clause" ]
79
2015-01-04T21:35:49.000Z
2020-03-05T07:22:10.000Z
bin/convert_sqlite_to_mysql.py
Durburz/eMonitor
56f3b1fe39b9da3a12b49bdd60d0cfca51c23351
[ "BSD-3-Clause" ]
27
2015-03-04T11:36:48.000Z
2021-09-20T08:15:17.000Z
#The MIT License (MIT) # #Copyright (c) 2015 Motherapp Limited # #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal #in the Software without restriction, including without limitation the rights #to use, copy, modif...
34.853755
120
0.580517
1,102
8,818
4.480944
0.264065
0.049008
0.038882
0.016201
0.111381
0.046173
0.012556
0.012556
0.012556
0.012556
0
0.007723
0.309821
8,818
252
121
34.992063
0.803648
0.266274
0
0.121622
0
0.006757
0.087112
0.004363
0
0
0
0
0
0
null
null
0
0.02027
null
null
0.033784
0
0
0
null
0
0
0
0
0
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
e8d593b599905c38a735c061d8a546dadb8891a5
471
py
Python
python_developer_tools/web/response_utils.py
carlsummer/python_developer_tools
a8c4365b7cc601cda55648cdfd8c0cb1faae132f
[ "Apache-2.0" ]
32
2021-06-21T04:49:48.000Z
2022-03-29T05:46:59.000Z
python_developer_tools/web/response_utils.py
HonestyBrave/python_developer_tools
fc0dcf5c4ef088e2e535206dc82f09bbfd01f280
[ "Apache-2.0" ]
1
2021-11-12T03:45:55.000Z
2021-11-12T03:45:55.000Z
python_developer_tools/web/response_utils.py
HonestyBrave/python_developer_tools
fc0dcf5c4ef088e2e535206dc82f09bbfd01f280
[ "Apache-2.0" ]
10
2021-06-03T08:05:05.000Z
2021-12-13T03:10:42.000Z
# !/usr/bin/env python # -- coding: utf-8 -- # @Author zengxiaohui # Datatime:5/13/2021 11:23 AM # @File:response_utils # 编写视图函数,进行设置 from datetime import datetime,timedelta def set_cookie(response,key,value): """设置cookie""" ''' max_age 设置过期时间,单位是秒 ''' # response.set_cookie('name', 'tong', max_age=14 * 24...
29.4375
78
0.685775
63
471
5.031746
0.714286
0.085174
0.107256
0
0
0
0
0
0
0
0
0.055138
0.152866
471
16
79
29.4375
0.739348
0.40552
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e8d5a9ffc8a426af71ca949b254bbe9b8316c628
609
py
Python
tweet/forms.py
destro6984/Twitecs
9df81fd217107cd3437d15f9b49b6985a909ae14
[ "MIT" ]
null
null
null
tweet/forms.py
destro6984/Twitecs
9df81fd217107cd3437d15f9b49b6985a909ae14
[ "MIT" ]
12
2019-10-29T18:55:35.000Z
2022-02-10T10:04:36.000Z
tweet/forms.py
destro6984/Twitecs
9df81fd217107cd3437d15f9b49b6985a909ae14
[ "MIT" ]
null
null
null
from django.forms import ModelForm, Textarea from .models import Tweet, Comments, Messages class TweetForm(ModelForm): class Meta: model=Tweet fields= ["content"] widgets= {"content": Textarea(attrs={'cols': 15, 'rows': 5})} class CommAddForm(ModelForm): class Meta: model= ...
22.555556
75
0.614122
65
609
5.723077
0.4
0.112903
0.145161
0.185484
0.258065
0.258065
0.193548
0.193548
0
0
0
0.019438
0.239737
609
26
76
23.423077
0.784017
0
0
0.176471
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.470588
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
e8d67af5c98b266c42695c96ac6229b90e854ec3
5,658
py
Python
src/Windows/sx126x.py
galileonano22/Galileo-Nano_22
4d1bfbf497ccf86b63a801023a9b8106b5f6b129
[ "MIT" ]
1
2022-01-22T12:55:52.000Z
2022-01-22T12:55:52.000Z
src/Windows/sx126x.py
galileonano22/Galileo-Nano_22
4d1bfbf497ccf86b63a801023a9b8106b5f6b129
[ "MIT" ]
null
null
null
src/Windows/sx126x.py
galileonano22/Galileo-Nano_22
4d1bfbf497ccf86b63a801023a9b8106b5f6b129
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: UTF-8 -*- # # this is an UART-LoRa device and thers is an firmware on Module # users can transfer or receive the data directly by UART and dont # need to set parameters like coderate,spread factor,etc. # |============================================ | # | It does not su...
33.282353
112
0.631849
793
5,658
4.298865
0.336696
0.044588
0.061602
0.036961
0.144911
0.075095
0.059255
0.059255
0.025814
0.025814
0
0.143203
0.269353
5,658
169
113
33.47929
0.681422
0.337045
0
0.079208
0
0
0.027815
0
0
0
0.048609
0
0
1
0.069307
false
0
0.029703
0
0.504951
0.039604
0
0
0
null
0
0
0
0
0
0
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
e8d8b9fd519f752fd534d94b790175a6ab59659e
22,464
py
Python
main.py
yosiyoshi/IntelligenTXT
1b42661e6902ae17d20af7fe290acd4d6ce06fc7
[ "CNRI-Python", "Linux-OpenIB" ]
2
2018-08-19T15:36:50.000Z
2018-08-19T15:38:09.000Z
main.py
yosiyoshi/IntelligenTXT
1b42661e6902ae17d20af7fe290acd4d6ce06fc7
[ "CNRI-Python", "Linux-OpenIB" ]
1
2018-08-19T17:27:46.000Z
2018-08-19T17:58:30.000Z
main.py
yosiyoshi/IntelligenTXT
1b42661e6902ae17d20af7fe290acd4d6ce06fc7
[ "CNRI-Python", "Linux-OpenIB" ]
null
null
null
#! /usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri May 18 17:39:44 2018 @author: YosiYoshi """ from __future__ import unicode_literals import tkinter.filedialog as tkfd from tkinter import scrolledtext import sys sys.path.append("../") import re from datetime import datetime import pyperclip import...
35.1
158
0.541489
3,011
22,464
4.012288
0.154102
0.024336
0.022597
0.051651
0.382088
0.249152
0.208095
0.157437
0.147918
0.130701
0
0.04942
0.286592
22,464
639
159
35.15493
0.704355
0.00325
0
0.254448
0
0.001779
0.105581
0.007526
0
0
0
0
0
0
null
null
0
0.048043
null
null
0.058719
0
0
0
null
0
0
0
0
0
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
e8d8f59d004ea3ceb2939d2af856aa4f0e2338c7
4,485
py
Python
Python_Env/Navigation/AWGN.py
taguacil/BckTrck
9c663a87291a4b0cd624395e67037cfbc3422123
[ "MIT" ]
null
null
null
Python_Env/Navigation/AWGN.py
taguacil/BckTrck
9c663a87291a4b0cd624395e67037cfbc3422123
[ "MIT" ]
null
null
null
Python_Env/Navigation/AWGN.py
taguacil/BckTrck
9c663a87291a4b0cd624395e67037cfbc3422123
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ ============================================================================= Title : Generate and add noise to incoming data Project : Simulation environment for BckTrk app File : AWGN.py ----------------------------------------------------------------------------- ...
39.342105
118
0.606689
530
4,485
4.871698
0.273585
0.03292
0.040666
0.051123
0.239737
0.168474
0.100697
0.100697
0.100697
0.073586
0
0.009153
0.244816
4,485
113
119
39.690265
0.753174
0.181494
0
0.15493
1
0
0.078571
0
0
0
0
0
0
1
0.070423
false
0
0.070423
0
0.183099
0
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
2cd069caa4c56e53a40a281c0b542373e6f07cf3
14,493
py
Python
ai.py
reneklacan/kivybomber
32e870b5c97d8413bfd8e4537a8676bfed748201
[ "BSD-3-Clause" ]
7
2017-05-12T21:54:41.000Z
2021-11-08T10:46:07.000Z
ai.py
reneklacan/kivybomber
32e870b5c97d8413bfd8e4537a8676bfed748201
[ "BSD-3-Clause" ]
null
null
null
ai.py
reneklacan/kivybomber
32e870b5c97d8413bfd8e4537a8676bfed748201
[ "BSD-3-Clause" ]
null
null
null
import random import time import math from threading import Timer from constants import * FIND_ROUTE_TO_PLAYER = 0 HUNT_PLAYER = 1 DESTROY_BLOCK = 0 EVADE_BOMB = 1 PLANT_BOMB = 2 TAKE_POWERUP = 3 MOVING = 4 EVADING = 5 WAITING = 6 STANDING = 7 string_states = {} string_states[DESTROY_BLOCK] = 'DESTROY_BLOCK' string...
37.449612
115
0.492238
1,649
14,493
4.140085
0.092177
0.044822
0.035155
0.032811
0.442361
0.382159
0.338655
0.274791
0.247693
0.180021
0
0.009894
0.4142
14,493
386
116
37.546632
0.794229
0.056303
0
0.327759
0
0
0.014961
0
0
0
0
0.002591
0
0
null
null
0
0.016722
null
null
0.050167
0
0
0
null
0
0
0
0
0
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
2cd606bb3c14bc393f9519c80977186233702969
3,496
py
Python
remote/__init__.py
C3BI-pasteur-fr/ReMoTE
783cdc2f7f4b33f4e17dedebe8fc8b656c1d3068
[ "BSD-3-Clause" ]
2
2015-12-03T00:11:18.000Z
2015-12-03T09:00:35.000Z
remote/__init__.py
C3BI-pasteur-fr/ReMoTE
783cdc2f7f4b33f4e17dedebe8fc8b656c1d3068
[ "BSD-3-Clause" ]
1
2018-07-18T12:55:39.000Z
2018-07-18T12:55:39.000Z
remote/__init__.py
C3BI-pasteur-fr/ReMoTE
783cdc2f7f4b33f4e17dedebe8fc8b656c1d3068
[ "BSD-3-Clause" ]
2
2019-08-18T13:47:19.000Z
2019-09-30T02:44:08.000Z
#!/usr/bin/env python from lxml import etree import json import argparse import requests import os.path import getpass from requests.packages import urllib3 ns = {'btr':'http://biotoolsregistry.org'} HOST = 'https://bio.tools' SSL_VERIFY = False #verify SSL certificates def auth(login): password = getpass.getpa...
43.7
221
0.6373
452
3,496
4.807522
0.334071
0.013806
0.033134
0.038656
0.158306
0.137138
0.108606
0.049701
0
0
0
0.006657
0.226545
3,496
79
222
44.253165
0.796967
0.075229
0
0.029851
0
0
0.24186
0
0
0
0
0
0
0
null
null
0.044776
0.149254
null
null
0.134328
0
0
0
null
0
0
0
0
0
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
2cdb4e337686e4d89823c7b6b2f2b88331a9d2dd
3,671
py
Python
fetch.py
graphcommons/npm-dependency-network
e3d6e63f605d93bbe494cc38b35f6f4e574a715f
[ "MIT" ]
24
2016-04-05T20:57:27.000Z
2022-01-09T10:17:15.000Z
fetch.py
graphcommons/npm-dependency-network
e3d6e63f605d93bbe494cc38b35f6f4e574a715f
[ "MIT" ]
2
2017-01-08T14:11:17.000Z
2018-06-21T18:11:06.000Z
fetch.py
graphcommons/npm-dependency-network
e3d6e63f605d93bbe494cc38b35f6f4e574a715f
[ "MIT" ]
7
2016-04-09T03:52:45.000Z
2020-01-03T06:15:50.000Z
import requests from graphcommons import GraphCommons, Signal from lxml.html import fromstring from networkx import DiGraph from requests.packages import urllib3 urllib3.disable_warnings() fetched_packages = set() def import_package_dependencies(graph, package_name, max_depth=3, depth=0): if package_name in fe...
30.090164
83
0.585127
389
3,671
5.341902
0.285347
0.07411
0.036092
0.043311
0.13282
0.07026
0.047161
0.047161
0
0
0
0.004723
0.307818
3,671
121
84
30.338843
0.813066
0
0
0.144444
0
0
0.156633
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2cdefb31422f5971ef8b505fafc27c6b3bbda00e
1,620
py
Python
mementoweb/validator/tests/timemap_redirect_test.py
lanl/memento-validator
1937fcbf98194af7d649438603466480683707f3
[ "BSD-3-Clause" ]
2
2022-01-11T17:08:56.000Z
2022-02-21T15:01:00.000Z
mementoweb/validator/tests/timemap_redirect_test.py
lanl/memento-validator
1937fcbf98194af7d649438603466480683707f3
[ "BSD-3-Clause" ]
1
2021-11-09T21:53:37.000Z
2021-11-09T21:53:37.000Z
mementoweb/validator/tests/timemap_redirect_test.py
lanl/memento-validator
1937fcbf98194af7d649438603466480683707f3
[ "BSD-3-Clause" ]
null
null
null
# # Copyright (c) 2021. Los Alamos National Laboratory (LANL). # Written by: Bhanuka Mahanama (bhanuka@lanl.gov) # Research and Prototyping Team, SRO-RL, # Los Alamos National Laboratory # # Correspondence: Lyudmila Balakireva, PhD (ludab@lanl.gov) # Resear...
33.75
120
0.670988
172
1,620
6.19186
0.465116
0.025352
0.047887
0.076056
0.229108
0.229108
0.229108
0.229108
0.122066
0.122066
0
0.010851
0.260494
1,620
47
121
34.468085
0.87813
0.429012
0
0
0
0
0.053991
0
0
0
0
0
0
1
0.071429
false
0.142857
0.142857
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2ce1f46a1addd4a954e7127a98fb7471b744c460
3,426
py
Python
__init__.py
mattfeltonma/python-key-vault-cert-authentication-demo
2eee686e9f0864e4c19179282e9c07e746bd7822
[ "MIT" ]
1
2020-11-21T01:08:49.000Z
2020-11-21T01:08:49.000Z
certificate-authentication-with-msal/__init__.py
mattfeltonma/python-key-vault
8cfcef9b09de2f46f562acf18a43522fe221058d
[ "MIT" ]
null
null
null
certificate-authentication-with-msal/__init__.py
mattfeltonma/python-key-vault
8cfcef9b09de2f46f562acf18a43522fe221058d
[ "MIT" ]
3
2021-04-29T08:27:42.000Z
2022-03-24T12:08:46.000Z
# Import standard libraries import os import sys import re import logging # Import third-party libraries from cryptography.x509 import load_pem_x509_certificate from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from msal import ConfidentialClientApplication from...
35.6875
123
0.695563
400
3,426
5.7875
0.35
0.047516
0.030238
0.024622
0.094168
0.047516
0.025918
0
0
0
0
0.005935
0.213076
3,426
95
124
36.063158
0.852745
0.162288
0
0
0
0
0.199439
0.019278
0
0
0
0
0
0
null
null
0
0.164179
null
null
0.044776
0
0
0
null
0
0
0
0
0
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
2ce9078eb6c12c7e17ad31045e53c4cda0de7636
524
py
Python
utils.py
gleybersonandrade/kytos-challenge
a59c9bc3c04dca44f0da434702b8b302e61b85aa
[ "MIT" ]
null
null
null
utils.py
gleybersonandrade/kytos-challenge
a59c9bc3c04dca44f0da434702b8b302e61b85aa
[ "MIT" ]
null
null
null
utils.py
gleybersonandrade/kytos-challenge
a59c9bc3c04dca44f0da434702b8b302e61b85aa
[ "MIT" ]
null
null
null
"""Helper kytos-challenge functions.""" # System imports from struct import * # Local imports from packet import * def unpack_header(bytes): """Unpack packet header content.""" header = unpack('>BBHI', bytes) return header[0], header[1], header[2], header[3] def unpack_packet(packet_name): """Unpack...
24.952381
57
0.671756
68
524
5.102941
0.470588
0.103746
0.097983
0.115274
0
0
0
0
0
0
0
0.011737
0.187023
524
20
58
26.2
0.802817
0.221374
0
0
0
0
0.017903
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2cf10c717c3b8a4f68023cd99df7eaa21b8cf17e
3,132
py
Python
meerkat.py
dangoldin/meerkat-crawl
7fe077c5291f5dba23e2d1b92ae477b739770f06
[ "MIT" ]
null
null
null
meerkat.py
dangoldin/meerkat-crawl
7fe077c5291f5dba23e2d1b92ae477b739770f06
[ "MIT" ]
null
null
null
meerkat.py
dangoldin/meerkat-crawl
7fe077c5291f5dba23e2d1b92ae477b739770f06
[ "MIT" ]
null
null
null
#! /usr/bin/python import os import sys import requests import json from collections import deque DATA_DIR = '/Users/danielgoldin/data/meerkat' profiles_to_parse = deque() profiles_done = set() def put(url, data): r = requests.put(url, data=json.dumps(data), headers={'Content-Type': 'application/json'}, verify=...
31.32
108
0.628672
436
3,132
4.330275
0.256881
0.050847
0.047669
0.060381
0.37553
0.365996
0.338453
0.223517
0.223517
0.176907
0
0.014596
0.234355
3,132
100
109
31.32
0.772727
0.025543
0
0.227848
0
0
0.174098
0.010492
0
0
0
0
0
0
null
null
0.012658
0.063291
null
null
0.088608
0
0
0
null
0
0
0
0
0
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
2cf2073045e281adeef0a3525ecc6fd99da61546
2,606
py
Python
appengine/chromium_build/tests/app_test.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
1
2018-01-02T05:47:07.000Z
2018-01-02T05:47:07.000Z
appengine/chromium_build/tests/app_test.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
appengine/chromium_build/tests/app_test.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from tests import cb class AppTestCase(cb.CbTestCase): def test_app_main(self): localpath = 'test' # The app prepends /p/....
40.71875
73
0.669992
360
2,606
4.777778
0.244444
0.048837
0.034884
0.052326
0.751744
0.726163
0.659884
0.628488
0.534884
0.505814
0
0.037868
0.179202
2,606
63
74
41.365079
0.766246
0.253262
0
0.510638
0
0
0.112091
0
0
0
0
0
0.255319
1
0.12766
false
0
0.021277
0
0.170213
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
2cf53a923c1dfb32c5ae57501805f90348c9afef
2,809
py
Python
lib/models/position_encoding.py
davidaderup/query2labels
5a10c861dda85d94ba01ec6ad4119eef67a9f441
[ "MIT" ]
164
2021-07-23T04:06:35.000Z
2022-03-31T14:04:23.000Z
lib/models/position_encoding.py
dandelion915/query2labels
03f8aa74caa6e41fb6898bdf29565d10d212dab7
[ "MIT" ]
28
2021-07-27T06:39:15.000Z
2022-03-29T08:13:42.000Z
lib/models/position_encoding.py
dandelion915/query2labels
03f8aa74caa6e41fb6898bdf29565d10d212dab7
[ "MIT" ]
29
2021-08-04T02:38:53.000Z
2022-03-27T15:42:57.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved """ We borrow the positional encoding from Detr and simplify the model. """ import math import torch from torch import nn from torch.functional import Tensor # from utils.misc import NestedTensor class PositionEmbeddingSine(nn.Module): """ ...
37.453333
155
0.622998
402
2,809
4.171642
0.360697
0.050686
0.032797
0.035778
0.134764
0.023852
0.023852
0.023852
0
0
0
0.029328
0.247419
2,809
74
156
37.959459
0.763955
0.147027
0
0.04
0
0
0.052832
0.010566
0
0
0
0.013514
0.02
1
0.08
false
0.02
0.08
0
0.24
0
0
0
0
null
0
0
0
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
2cff3fbd25903b00e4ceb89483bb05f5f83c827b
1,989
py
Python
services/api-server/src/simcore_service_api_server/core/application.py
KZzizzle/osparc-simcore
981bc8d193f3f5d507e3225f857e0308c339e163
[ "MIT" ]
null
null
null
services/api-server/src/simcore_service_api_server/core/application.py
KZzizzle/osparc-simcore
981bc8d193f3f5d507e3225f857e0308c339e163
[ "MIT" ]
17
2020-10-15T16:06:05.000Z
2022-03-21T18:48:21.000Z
services/api-server/src/simcore_service_api_server/core/application.py
GitHK/osparc-simcore-forked
5b01a28d1b8028afcf9a735e1d46a73daa13686e
[ "MIT" ]
null
null
null
import logging from typing import Optional from fastapi import FastAPI from fastapi.exceptions import RequestValidationError from starlette.exceptions import HTTPException from ..__version__ import api_version, api_vtag from ..api.errors.http_error import http_error_handler from ..api.errors.validation_error import h...
31.078125
78
0.763198
259
1,989
5.563707
0.34749
0.020819
0.024983
0.03331
0.086745
0.037474
0
0
0
0
0
0.004174
0.156863
1,989
63
79
31.571429
0.855098
0.04173
0
0
0
0
0.07
0.014737
0
0
0
0
0
1
0.02381
false
0
0.333333
0
0.380952
0
0
0
0
null
0
0
0
0
0
0
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
fa06c12d2d9367f0098d723f64a77e20ffe5c2f4
2,981
py
Python
sitepackages/djangae/db/backends/appengine/compiler.py
bitcpf/djangoage
f116860cbfa799eb6c47306a72d742b63c970dce
[ "Apache-2.0" ]
null
null
null
sitepackages/djangae/db/backends/appengine/compiler.py
bitcpf/djangoage
f116860cbfa799eb6c47306a72d742b63c970dce
[ "Apache-2.0" ]
null
null
null
sitepackages/djangae/db/backends/appengine/compiler.py
bitcpf/djangoage
f116860cbfa799eb6c47306a72d742b63c970dce
[ "Apache-2.0" ]
null
null
null
#LIBRARIES import django from django.db.models.sql import compiler #DJANGAE from .commands import ( SelectCommand, InsertCommand, UpdateCommand, DeleteCommand ) class SQLCompiler(compiler.SQLCompiler): def as_sql(self, with_limits=True, with_col_aliases=False, subquery=False): self.pre_sql...
35.488095
100
0.708487
354
2,981
5.745763
0.237288
0.066372
0.044248
0.063913
0.477876
0.418879
0.354966
0.354966
0.354966
0.354966
0
0.000833
0.194901
2,981
83
101
35.915663
0.846667
0.038242
0
0.258621
0
0
0
0
0
0
0
0
0
1
0.172414
false
0
0.086207
0.051724
0.517241
0
0
0
0
null
0
0
0
0
0
0
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
fa0c06d3b492091636bdc9c2963a77df515f7e4a
1,578
py
Python
app/auth2.py
sidd6p/Project-X
2230e19921d6de5aa5492245064fe1385043bf82
[ "MIT" ]
2
2022-01-31T07:54:44.000Z
2022-02-02T11:58:22.000Z
app/auth2.py
sidd6p/Project-X
2230e19921d6de5aa5492245064fe1385043bf82
[ "MIT" ]
null
null
null
app/auth2.py
sidd6p/Project-X
2230e19921d6de5aa5492245064fe1385043bf82
[ "MIT" ]
null
null
null
from typing import Any, Dict, List, Optional, Union from fastapi.security import OAuth2 from fastapi.exceptions import HTTPException from fastapi.openapi.models import OAuthFlows as OAuthFlowsModel from fastapi.security.utils import get_authorization_scheme_param from starlette.requests import Request from starlette.s...
36.697674
82
0.634347
157
1,578
6.178344
0.426752
0.045361
0.039175
0.05567
0
0
0
0
0
0
0
0.007951
0.282636
1,578
43
83
36.697674
0.84894
0.036122
0
0
0
0
0.046711
0
0
0
0
0
0
1
0.026316
false
0.052632
0.184211
0
0.289474
0
0
0
0
null
0
0
0
0
0
0
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
fa0c2e3c0eb35dfe4324407b8c42a4fc220ec50c
6,557
py
Python
clients/python/vzlogger/logger.py
vizstack/vizstack-logger
479f956a72ad6851060c315d243262106bfd0ff9
[ "MIT" ]
4
2019-09-14T00:54:16.000Z
2021-03-23T08:26:38.000Z
clients/python/vzlogger/logger.py
vizstack/vizstack-logger
479f956a72ad6851060c315d243262106bfd0ff9
[ "MIT" ]
17
2019-12-23T03:41:50.000Z
2022-02-26T17:34:54.000Z
clients/python/vzlogger/logger.py
vizstack/vz-logger
479f956a72ad6851060c315d243262106bfd0ff9
[ "MIT" ]
null
null
null
import sys import json import time from typing import Optional, Any, Tuple, Mapping, Sequence from inspect import currentframe, getframeinfo from types import FrameType import socketio from vizstack import assemble, Flow # TODO: Locking, exceptions, msgs? # logger.log(Msg("hello")) --> string label # logger.log(Msg...
35.63587
102
0.597834
781
6,557
4.930858
0.340589
0.020774
0.023371
0.023371
0.101792
0.078162
0.078162
0.070112
0.070112
0.029603
0
0.004697
0.253165
6,557
184
103
35.63587
0.781703
0.391643
0
0.132653
0
0
0.060691
0.012036
0
0
0
0.01087
0
1
0.173469
false
0.010204
0.081633
0.010204
0.346939
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
fa1055fc0b6d4a436115686306320c332621db97
2,577
py
Python
tests/testmatch.py
krishauser/jschemalite
d981fd7102245526410ddfe9d528900c23f71591
[ "Apache-2.0" ]
null
null
null
tests/testmatch.py
krishauser/jschemalite
d981fd7102245526410ddfe9d528900c23f71591
[ "Apache-2.0" ]
null
null
null
tests/testmatch.py
krishauser/jschemalite
d981fd7102245526410ddfe9d528900c23f71591
[ "Apache-2.0" ]
null
null
null
import unittest from jschemalite import match obj = {'a':3,'b':{'foo':'bar','baz':[0.4,0.2]}} class MatchTest(unittest.TestCase): def test_basic(self): self.assertTrue(match(obj,obj)) def test_none(self): schema1 = {'a':None,'b':None} #dict must have keys 'a' and 'b' schema2 = {...
45.210526
118
0.592938
333
2,577
4.537538
0.246246
0.148246
0.125745
0.116479
0.268696
0.225017
0.177366
0.177366
0.177366
0.177366
0
0.025038
0.225068
2,577
56
119
46.017857
0.731597
0.11525
0
0.204082
0
0
0.133157
0
0
0
0
0
0.408163
1
0.102041
false
0
0.040816
0
0.163265
0.061224
0
0
0
null
0
0
0
0
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
fa1267ed725483df0f8b7a05828e674887504301
2,828
py
Python
scrapybox/server/server.py
stav/scrapybox
3f6093d82d2f73096ae4af3d0390bed398424101
[ "BSD-3-Clause" ]
9
2016-03-29T03:43:22.000Z
2020-10-26T04:48:26.000Z
scrapybox/server/server.py
stav/scrapybox
3f6093d82d2f73096ae4af3d0390bed398424101
[ "BSD-3-Clause" ]
1
2017-07-08T11:23:45.000Z
2017-10-25T17:15:20.000Z
scrapybox/server/server.py
stav/scrapybox
3f6093d82d2f73096ae4af3d0390bed398424101
[ "BSD-3-Clause" ]
1
2017-01-01T06:11:46.000Z
2017-01-01T06:11:46.000Z
import scrapybox.server._twisted_monkey_patches import os import asyncio import logging import aiohttp.web import aiohttp_jinja2 # import aiohttp_debugtoolbar import twisted.internet.reactor import jinja2 from scrapy.utils.log import configure_logging from scrapy.utils.project import get_project_settings import scra...
31.422222
82
0.710396
341
2,828
5.750733
0.442815
0.045895
0.021418
0.038246
0
0
0
0
0
0
0
0.008711
0.188119
2,828
89
83
31.775281
0.845383
0.3186
0
0
0
0
0.136253
0
0
0
0
0
0
1
0.028571
false
0
0.314286
0
0.342857
0
0
0
0
null
0
0
0
0
0
0
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
fa15fab65bd90bf9b22d9eb8dc61da796cb15738
948
py
Python
cpsc217/as2/statistics.py
edwardchen123/UofC
ecc49eee798772e560397fb00ad692e6f664c19b
[ "MIT" ]
1
2021-04-11T10:17:41.000Z
2021-04-11T10:17:41.000Z
cpsc217/as2/statistics.py
edwardchen123/UofC
ecc49eee798772e560397fb00ad692e6f664c19b
[ "MIT" ]
null
null
null
cpsc217/as2/statistics.py
edwardchen123/UofC
ecc49eee798772e560397fb00ad692e6f664c19b
[ "MIT" ]
null
null
null
#CPSC 217 Assignment 2 - Statistics #Andrew Helwer #10023875 import math import sys file = sys.stdin.readlines() #input sorting and handling time = [] linecount = 0 for line in file: linecount += 1 if len(line.split('\t')) < 3: print 'One or more data fields are missing in line', linecount print 'Line has been...
18.588235
64
0.674051
156
948
4.096154
0.416667
0.054773
0.046948
0.046948
0.034429
0
0
0
0
0
0
0.036896
0.170886
948
50
65
18.96
0.776081
0.138186
0
0.114286
0
0
0.176761
0
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.2
0
0
0
null
0
0
0
0
0
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
fa1768ec44820b29de8df1b54b89794f7369135c
9,275
py
Python
deepem/train/option.py
torms3/DeepEM
71f881a7bf86d5c4deb44ce605b6883b99c0433e
[ "MIT" ]
8
2020-01-21T09:17:26.000Z
2022-03-19T08:48:42.000Z
deepem/train/option.py
torms3/DeepEM
71f881a7bf86d5c4deb44ce605b6883b99c0433e
[ "MIT" ]
6
2019-12-16T22:12:39.000Z
2021-05-14T02:39:09.000Z
deepem/train/option.py
torms3/DeepEM
71f881a7bf86d5c4deb44ce605b6883b99c0433e
[ "MIT" ]
8
2019-12-19T01:09:42.000Z
2021-12-13T09:16:24.000Z
import argparse import os import numpy as np from deepem.utils.py_utils import vec3 class Options(object): """ Training options. """ def __init__(self): self.parser = argparse.ArgumentParser(fromfile_prefix_chars='@') self.initialized = False def initialize(self): self.pa...
42.351598
87
0.593208
1,160
9,275
4.582759
0.180172
0.137321
0.173627
0.280474
0.413093
0.315087
0.275395
0.1614
0.049285
0
0
0.015547
0.244097
9,275
218
88
42.545872
0.74269
0.046792
0
0.043478
0
0
0.135873
0
0
0
0
0
0.037267
1
0.018634
false
0
0.024845
0
0.055901
0.018634
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
fa1a23fb5e77ac38620129a30c118639b025b477
6,547
py
Python
post/api/serializers.py
agiledesign2/drf-blog-post
a0dc7457e9e85e6b1a1f3aa81036b81f7054734f
[ "MIT" ]
null
null
null
post/api/serializers.py
agiledesign2/drf-blog-post
a0dc7457e9e85e6b1a1f3aa81036b81f7054734f
[ "MIT" ]
null
null
null
post/api/serializers.py
agiledesign2/drf-blog-post
a0dc7457e9e85e6b1a1f3aa81036b81f7054734f
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.utils import timezone from django.utils.text import slugify from rest_framework import serializers from django.utils.crypto import get_random_string from rest_framework.fields import CurrentUserDefault from post.models import Post, Category from taggit_serializer....
33.403061
87
0.612952
648
6,547
6.108025
0.20216
0.06569
0.040424
0.027287
0.681405
0.645528
0.631885
0.631885
0.631885
0.631885
0
0.007194
0.278143
6,547
196
88
33.403061
0.8303
0.14709
0
0.623188
0
0
0.093199
0.005218
0
0
0
0
0
1
0.050725
false
0
0.057971
0.021739
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fa1b91f7a4529185c5795982f2a5952c469795d5
3,872
py
Python
shop/migrations/0001_initial.py
Yang-Wei-Ting/williams_website
7e516ac9388f95e405d58d7f160d8f7081ff9083
[ "Apache-2.0" ]
null
null
null
shop/migrations/0001_initial.py
Yang-Wei-Ting/williams_website
7e516ac9388f95e405d58d7f160d8f7081ff9083
[ "Apache-2.0" ]
null
null
null
shop/migrations/0001_initial.py
Yang-Wei-Ting/williams_website
7e516ac9388f95e405d58d7f160d8f7081ff9083
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.7 on 2021-02-27 11:08 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
57.791045
968
0.568182
401
3,872
5.336658
0.438903
0.082243
0.03271
0.051402
0.359813
0.359813
0.359813
0.324299
0.324299
0.259813
0
0.010477
0.235795
3,872
66
969
58.666667
0.712741
0.011622
0
0.389831
1
0
0.222745
0
0
0
0
0
0
1
0
false
0
0.050847
0
0.118644
0
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
fa2c2ec689df47f774b2b44c5e793c03c7495616
3,955
py
Python
openapi-client/python/openapi_client/models/inline_response200.py
michilu/kintone-api
efa6c53d68140c449f4689baac824e2471155798
[ "Apache-2.0" ]
null
null
null
openapi-client/python/openapi_client/models/inline_response200.py
michilu/kintone-api
efa6c53d68140c449f4689baac824e2471155798
[ "Apache-2.0" ]
null
null
null
openapi-client/python/openapi_client/models/inline_response200.py
michilu/kintone-api
efa6c53d68140c449f4689baac824e2471155798
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Kintone REST API Kintone REST API # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from openapi_client.configuration import Configuration class InlineResponse200(object)...
26.904762
96
0.57421
440
3,955
5.040909
0.245455
0.032462
0.082958
0.073039
0.288548
0.258792
0.250676
0.066727
0.034265
0.034265
0
0.027526
0.329456
3,955
146
97
27.089041
0.808824
0.274842
0
0.088235
1
0
0.031977
0
0
0
0
0
0
1
0.147059
false
0
0.058824
0
0.382353
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fa30ec7afde6e80d94342710ff1a328df7d4a9d2
363
bzl
Python
migration/maven_jar_migrator_deps.bzl
shs96c/rules_jvm_external
b1489af331d83990808c394affd1681450f6f312
[ "Apache-2.0" ]
1
2020-04-22T15:36:37.000Z
2020-04-22T15:36:37.000Z
migration/maven_jar_migrator_deps.bzl
shs96c/rules_jvm_external
b1489af331d83990808c394affd1681450f6f312
[ "Apache-2.0" ]
null
null
null
migration/maven_jar_migrator_deps.bzl
shs96c/rules_jvm_external
b1489af331d83990808c394affd1681450f6f312
[ "Apache-2.0" ]
null
null
null
load("@rules_jvm_external//:defs.bzl", "maven_install") def maven_jar_migrator_repositories(): maven_install( name = "maven_jar_migrator", artifacts = [ "com.google.guava:guava:28.0-jre", ], repositories = [ "https://repo1.maven.org/maven2", "http...
25.928571
55
0.559229
37
363
5.243243
0.702703
0.123711
0.164948
0
0
0
0
0
0
0
0
0.01938
0.289256
363
13
56
27.923077
0.732558
0
0
0.166667
0
0
0.410468
0.168044
0
0
0
0
0
1
0.083333
true
0
0
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
fa341edd291094b2daba07198f1717d778cf2bd9
859
py
Python
himalaya/tests/test_utils.py
mvdoc/himalaya
7e3866287b835e2cc0a5c9848331e19c14896309
[ "BSD-3-Clause" ]
null
null
null
himalaya/tests/test_utils.py
mvdoc/himalaya
7e3866287b835e2cc0a5c9848331e19c14896309
[ "BSD-3-Clause" ]
null
null
null
himalaya/tests/test_utils.py
mvdoc/himalaya
7e3866287b835e2cc0a5c9848331e19c14896309
[ "BSD-3-Clause" ]
null
null
null
import pytest from himalaya.backend import set_backend from himalaya.backend import ALL_BACKENDS from himalaya.utils import compute_lipschitz_constants @pytest.mark.parametrize('kernelize', ["XXT", "XTX", "X"]) @pytest.mark.parametrize('backend', ALL_BACKENDS) def test_compute_lipschitz_constants(backend, kernelize...
27.709677
58
0.714785
114
859
5.219298
0.359649
0.134454
0.210084
0.084034
0.376471
0.376471
0.376471
0.376471
0.376471
0.376471
0
0.016713
0.164144
859
30
59
28.633333
0.811978
0
0
0.285714
0
0
0.041909
0
0
0
0
0
0.095238
1
0.095238
false
0
0.190476
0
0.285714
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
fa3c21117a2ff870a1a1748ff5ac5b497a9f445f
17,259
py
Python
cma-es/batchcompute_python_sdk/vp/oss_python_sdk/oss_xml_handler.py
luzhijun/-
c9a7f39fd033a3ba3c57acbbd309c05ac17e6bef
[ "Apache-2.0" ]
17
2016-11-18T03:15:14.000Z
2022-01-09T07:50:56.000Z
cma-es/batchcompute_python_sdk/vp/oss_python_sdk/oss_xml_handler.py
luzhijun/-
c9a7f39fd033a3ba3c57acbbd309c05ac17e6bef
[ "Apache-2.0" ]
null
null
null
cma-es/batchcompute_python_sdk/vp/oss_python_sdk/oss_xml_handler.py
luzhijun/-
c9a7f39fd033a3ba3c57acbbd309c05ac17e6bef
[ "Apache-2.0" ]
7
2016-11-20T10:20:57.000Z
2021-04-20T05:29:57.000Z
#!/usr/bin/env python #coding=utf-8 from xml.dom import minidom def get_tag_text(element, tag): nodes = element.getElementsByTagName(tag) if len(nodes) == 0: return "" else: node = nodes[0] rc = "" for node in node.childNodes: if node.nodeType in ( node.TEXT_NODE, node.CDATA...
36.721277
215
0.622748
2,267
17,259
4.498456
0.088663
0.085115
0.093156
0.123554
0.675917
0.605217
0.544617
0.496764
0.423711
0.402824
0
0.000546
0.25662
17,259
469
216
36.799574
0.79431
0.001854
0
0.538653
0
0.012469
0.098055
0
0
0
0
0
0
0
null
null
0.002494
0.002494
null
null
0.079801
0
0
0
null
0
0
0
0
0
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
fa401a97df752f36dc1e2e564d71d650fc11486c
250
py
Python
bfg9000/builtins/clean.py
thomasrockhu/bfg9000
1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a
[ "BSD-3-Clause" ]
1
2020-05-15T07:24:43.000Z
2020-05-15T07:24:43.000Z
bfg9000/builtins/clean.py
thomasrockhu/bfg9000
1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a
[ "BSD-3-Clause" ]
1
2020-11-14T10:30:15.000Z
2020-11-14T10:30:15.000Z
bfg9000/builtins/clean.py
thomasrockhu/bfg9000
1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a
[ "BSD-3-Clause" ]
null
null
null
from ..backends.make import writer as make @make.post_rule def make_clean_rule(build_inputs, buildfile, env): rm = env.tool('rm') buildfile.rule(target='clean', recipe=[ rm(i.path for i in build_inputs.targets()) ], phony=True)
25
50
0.684
38
250
4.368421
0.657895
0.13253
0
0
0
0
0
0
0
0
0
0
0.18
250
9
51
27.777778
0.809756
0
0
0
0
0
0.028
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
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
fa40a419073bddf5b1a5ac1af52368dfbf4ff052
1,555
py
Python
vise/tests/input_set/test_potcar_generator.py
kumagai-group/vise
8adfe61ad8f31767ec562f02f271e2495f357cd4
[ "MIT" ]
16
2020-07-14T13:14:05.000Z
2022-03-04T13:39:30.000Z
vise/tests/input_set/test_potcar_generator.py
kumagai-group/vise
8adfe61ad8f31767ec562f02f271e2495f357cd4
[ "MIT" ]
10
2021-03-15T20:47:45.000Z
2021-08-19T00:47:12.000Z
vise/tests/input_set/test_potcar_generator.py
kumagai-group/vise
8adfe61ad8f31767ec562f02f271e2495f357cd4
[ "MIT" ]
6
2020-03-03T00:42:39.000Z
2022-02-22T02:34:47.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2020. Distributed under the terms of the MIT License. import pytest from pymatgen.core import Element from vise.input_set.datasets.potcar_set import PotcarSet from vise.input_set.potcar_generator import generate_potcar, ViseNoPotcarError from vise.input_set.xc import Xc @pyt...
26.810345
78
0.675884
218
1,555
4.573395
0.279817
0.056169
0.055166
0.104313
0.44333
0.44333
0.35005
0.35005
0.35005
0.275827
0
0.029887
0.203859
1,555
57
79
27.280702
0.775444
0.057878
0
0.2
0
0
0.097945
0
0
0
0
0
0.114286
1
0.228571
false
0
0.142857
0.085714
0.457143
0
0
0
0
null
0
0
0
0
0
0
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
fa479dcbfcc03077cb859910e5f57d3c15bf4b4e
1,727
py
Python
gen_report.py
showkeyjar/beauty
7c944cf896c899d9e23b2e50e293103bb03fe6cd
[ "MulanPSL-1.0" ]
1
2022-01-29T12:32:38.000Z
2022-01-29T12:32:38.000Z
gen_report.py
showkeyjar/beauty
7c944cf896c899d9e23b2e50e293103bb03fe6cd
[ "MulanPSL-1.0" ]
null
null
null
gen_report.py
showkeyjar/beauty
7c944cf896c899d9e23b2e50e293103bb03fe6cd
[ "MulanPSL-1.0" ]
null
null
null
# coding:utf-8 import webbrowser """ webbrowser.open(url, new=0, autoraise=True) Display url using the default browser. If new is 0, the url is opened in the same browser window if possible. If new is 1, a new browser window is opened if possible. If new is 2, a new browser page (“tab”) is opened if possible. If ...
23.657534
98
0.544296
253
1,727
3.699605
0.395257
0.070513
0.082265
0.096154
0.220085
0.153846
0.153846
0.153846
0.153846
0.153846
0
0.019335
0.251303
1,727
72
99
23.986111
0.704563
0.083382
0
0.340909
0
0.022727
0.719203
0
0
0
0
0
0
1
0.022727
false
0
0.022727
0
0.045455
0
0
0
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
fa495093dd711d1d721625b806be1c93eea71f3d
2,945
py
Python
cmdb-usage/models/rds_ri_db.py
zjj1002/aws-cloud-cmdb-system
47982007688e5db1272435891cb654ab11d0d60a
[ "Apache-2.0" ]
null
null
null
cmdb-usage/models/rds_ri_db.py
zjj1002/aws-cloud-cmdb-system
47982007688e5db1272435891cb654ab11d0d60a
[ "Apache-2.0" ]
1
2022-01-04T13:53:16.000Z
2022-01-04T13:53:16.000Z
cmdb-usage/models/rds_ri_db.py
zjj1002/aws-cloud-cmdb-system
47982007688e5db1272435891cb654ab11d0d60a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time :2020/9/24 # @Author : Fred liuchuanhao # @File : rds_ri_db.py # @Role : ORM from sqlalchemy import Column, String, Integer, DateTime, DECIMAL, UniqueConstraint from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import class_mapp...
42.071429
99
0.692699
321
2,945
6.183801
0.336449
0.058942
0.025693
0.031738
0.101763
0.038287
0
0
0
0
0
0.028298
0.184041
2,945
70
100
42.071429
0.797753
0.060102
0
0
0
0
0.124591
0.026517
0
0
0
0
0
1
0.038462
false
0
0.076923
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
0
0
0
0
0
1
0
0
1
fa506ee9eee17d7a2aba6aec894c9af642bb06d3
3,788
py
Python
setup.py
parsotat/swiftbat_python
fd650867b2696de4fe4b3ab714432610d57cc0e3
[ "BSD-3-Clause" ]
null
null
null
setup.py
parsotat/swiftbat_python
fd650867b2696de4fe4b3ab714432610d57cc0e3
[ "BSD-3-Clause" ]
null
null
null
setup.py
parsotat/swiftbat_python
fd650867b2696de4fe4b3ab714432610d57cc0e3
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup copyright=""" Copyright (c) 2018, Triad National Security, LLC. All rights reserved. This program was produced under U.S. Government contract 89233218CNA000001 for Los Alamos National Laboratory (LANL), which is operated by Triad National Security, LLC for the U.S. Department of Energy/N...
68.872727
770
0.772175
527
3,788
5.521822
0.464896
0.031271
0.050515
0.057732
0.367354
0.320619
0.310653
0.310653
0.310653
0.310653
0
0.00973
0.158923
3,788
54
771
70.148148
0.903641
0
0
0
0
0.130435
0.849525
0.012936
0
0
0
0
0
1
0
false
0
0.021739
0
0.021739
0
0
0
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
fa5b5c863c894468bd67618978582c20619e467b
1,286
py
Python
tests/proba.py
piyush82/icclab-rcb
2b737023e279a749c8e43a7eba204c23d7330c0e
[ "Apache-2.0" ]
2
2015-03-13T19:50:35.000Z
2015-08-24T06:09:02.000Z
tests/proba.py
piyush82/icclab-rcb
2b737023e279a749c8e43a7eba204c23d7330c0e
[ "Apache-2.0" ]
null
null
null
tests/proba.py
piyush82/icclab-rcb
2b737023e279a749c8e43a7eba204c23d7330c0e
[ "Apache-2.0" ]
null
null
null
''' Created on May 7, 2014 @author: kolv ''' import datetime from time import strptime from_date="2014-05-05" from_time="00:00:00" end_date="2014-05-06" end_time="23:00:00" t1=datetime.datetime.strptime(from_date,"%Y-%m-%d").date() print t1 t2=datetime.datetime.strptime(from_time,"%H:%M:%S").time() print t2 t=dat...
16.921053
71
0.567652
209
1,286
3.430622
0.296651
0.133891
0.133891
0.078103
0.089261
0.089261
0
0
0
0
0
0.050197
0.209953
1,286
75
72
17.146667
0.655512
0
0
0
0
0
0.084814
0
0
0
0
0
0
0
null
null
0
0.037736
null
null
0.264151
0
0
0
null
0
0
0
0
0
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
fa619ac329277cf828820dc70b62d2564568a5db
1,926
py
Python
papermerge/test/parts/app_dr/migrations/0001_initial.py
maxtruxa/papermerge
444d7f966da359f53833dac65944347ac1917160
[ "Apache-2.0" ]
1,586
2020-01-07T10:53:31.000Z
2022-03-31T16:15:42.000Z
papermerge/test/parts/app_dr/migrations/0001_initial.py
maxtruxa/papermerge
444d7f966da359f53833dac65944347ac1917160
[ "Apache-2.0" ]
398
2020-01-29T16:31:44.000Z
2022-03-11T21:22:10.000Z
ceafadms/test/parts/app_dr/migrations/0001_initial.py
chesfire/ceafa-dms-prod
546c519fb276a702cbd8ffab3a9bee6bfe65229e
[ "Apache-2.0" ]
196
2020-01-29T09:25:16.000Z
2022-03-29T11:08:35.000Z
# Generated by Django 3.1 on 2020-11-05 14:17 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('core', '0027_auto_20201118_1538'), ] operations = [ migrations.CreateModel( n...
40.978723
190
0.598131
207
1,926
5.36715
0.338164
0.043204
0.063006
0.09901
0.605761
0.605761
0.555356
0.49595
0.49595
0.49595
0
0.022583
0.264278
1,926
46
191
41.869565
0.761468
0.022326
0
0.487179
1
0
0.134503
0.012228
0
0
0
0
0
1
0
false
0
0.051282
0
0.153846
0
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
fa633ad881546cc7f1fa922c1f3e87ddc261b85e
3,588
py
Python
p308.py
rcm2000/learn_machinlearning
2e24828107e67c1497746eb3d7cc67f4c7f54320
[ "Apache-2.0" ]
null
null
null
p308.py
rcm2000/learn_machinlearning
2e24828107e67c1497746eb3d7cc67f4c7f54320
[ "Apache-2.0" ]
null
null
null
p308.py
rcm2000/learn_machinlearning
2e24828107e67c1497746eb3d7cc67f4c7f54320
[ "Apache-2.0" ]
null
null
null
# Classification # KNN # -*- coding: utf-8 -*- ### 기본 라이브러리 불러오기 import pandas as pd import seaborn as sns ''' [Step 1] 데이터 준비 - Seaborn에서 제공하는 titanic 데이터셋 가져오기 ''' # load_dataset 함수를 사용하여 데이터프레임으로 변환 df = sns.load_dataset('titanic') # 데이터 살펴보기 print(df.head()) print('\n') # IPython 디스플레이 설정 - 출력할 열의 개수 한도 늘리기 p...
25.267606
135
0.657191
592
3,588
3.864865
0.358108
0.023601
0.017483
0.011801
0.137675
0.089598
0.067308
0.067308
0.067308
0.067308
0
0.053035
0.127648
3,588
142
136
25.267606
0.677955
0.205128
0
0.246377
0
0
0.167049
0.042431
0
0
0
0
0
1
0
false
0
0.101449
0
0.101449
0.478261
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d700dcc8a658a76c9744b966eb3e6f2b1b105faa
526
py
Python
src/lib/db/src/db.py
arnulfojr/money-manager
8600f1ff258a89f5742ffad4d5f589fd1def5259
[ "MIT" ]
1
2020-08-18T08:03:44.000Z
2020-08-18T08:03:44.000Z
src/lib/db/src/db.py
arnulfojr/money-manager
8600f1ff258a89f5742ffad4d5f589fd1def5259
[ "MIT" ]
null
null
null
src/lib/db/src/db.py
arnulfojr/money-manager
8600f1ff258a89f5742ffad4d5f589fd1def5259
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine from sqlalchemy.pool import NullPool from sqlalchemy.orm import sessionmaker, scoped_session from sqlalchemy.ext.declarative import declarative_base from settings import DB_URI from settings import DB_ECHO engine = create_engine( DB_URI, echo=DB_ECHO, con...
22.869565
93
0.78327
66
526
6.045455
0.454545
0.140351
0.090226
0.100251
0
0
0
0
0
0
0
0
0.159696
526
22
94
23.909091
0.902715
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d701c6d3b46edb2ae29eb407fefa31f806ac15ec
6,601
py
Python
simscale_sdk/models/custom_tree.py
slainesimscale/simscale-python-sdk
db483eeabe558e55d020f5f829a3bf13c9c287a7
[ "MIT" ]
8
2021-01-22T13:41:03.000Z
2022-01-03T09:00:10.000Z
simscale_sdk/models/custom_tree.py
slainesimscale/simscale-python-sdk
db483eeabe558e55d020f5f829a3bf13c9c287a7
[ "MIT" ]
null
null
null
simscale_sdk/models/custom_tree.py
slainesimscale/simscale-python-sdk
db483eeabe558e55d020f5f829a3bf13c9c287a7
[ "MIT" ]
3
2021-03-18T15:52:52.000Z
2022-01-03T08:59:30.000Z
# coding: utf-8 """ SimScale API The version of the OpenAPI document: 0.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from simscale_sdk.configuration import Configuration class CustomTree(object): """NOTE: This class is auto generated by Op...
31.888889
159
0.619603
799
6,601
4.911139
0.175219
0.091743
0.069572
0.061162
0.509684
0.413099
0.399847
0.249235
0.185525
0.079001
0
0.018092
0.296622
6,601
206
160
32.043689
0.827051
0.321163
0
0.085106
1
0
0.089541
0
0
0
0
0
0
1
0.148936
false
0
0.042553
0
0.340426
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d701d27aeb8dca1a95afa05abb573aeb4ca19b67
7,254
py
Python
map_label_tool/py_proto/modules/planning/proto/planning_stats_pb2.py
freeclouds/OpenHDMap
b61c159fbdf4f50ae1d1650421596b28863f39be
[ "Apache-2.0" ]
2
2019-03-04T02:11:04.000Z
2019-04-18T11:19:45.000Z
map_label_tool/py_proto/modules/planning/proto/planning_stats_pb2.py
freeclouds/OpenHDMap
b61c159fbdf4f50ae1d1650421596b28863f39be
[ "Apache-2.0" ]
1
2019-03-15T08:37:53.000Z
2019-03-15T08:37:53.000Z
map_label_tool/py_proto/modules/planning/proto/planning_stats_pb2.py
freeclouds/OpenHDMap
b61c159fbdf4f50ae1d1650421596b28863f39be
[ "Apache-2.0" ]
1
2021-05-26T08:42:11.000Z
2021-05-26T08:42:11.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: modules/planning/proto/planning_stats.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protob...
40.752809
806
0.747036
964
7,254
5.363071
0.153527
0.054159
0.060348
0.055319
0.736557
0.617988
0.572921
0.504449
0.489555
0.452805
0
0.046079
0.126413
7,254
177
807
40.983051
0.769765
0.043286
0
0.584416
1
0.006494
0.223857
0.191548
0
0
0
0
0
1
0
false
0
0.038961
0
0.038961
0
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
d705013d3e73a1b982db74af979da89edf573eec
2,046
py
Python
main.py
Wang-Yu-Qing/UTPM
41415410b9c91b628d0bf7ff97775338c4c9c2ca
[ "Apache-2.0" ]
3
2021-10-15T04:03:16.000Z
2021-12-03T23:17:51.000Z
main.py
Eadon999/UTPM
41415410b9c91b628d0bf7ff97775338c4c9c2ca
[ "Apache-2.0" ]
2
2021-11-27T18:26:14.000Z
2022-02-18T05:12:31.000Z
main.py
Eadon999/UTPM
41415410b9c91b628d0bf7ff97775338c4c9c2ca
[ "Apache-2.0" ]
2
2021-11-08T10:43:13.000Z
2022-03-14T06:21:33.000Z
import pickle import numpy as np import tensorflow as tf from utils import * from model import UTPM DTYPE = tf.float32 PAD_VALUE = 0 NUM_WORKERS = 4 if __name__ == "__main__": args = parse_args() movie_tag_rel, n_tags = extract_movie_tag_relation("data/ml-20m/genome-scores.csv", args.max_tags...
29.652174
113
0.624145
263
2,046
4.528517
0.391635
0.016793
0.02267
0.028547
0
0
0
0
0
0
0
0.008253
0.289345
2,046
68
114
30.088235
0.810867
0.050831
0
0
0
0
0.158373
0.069021
0
0
0
0.014706
0
1
0
false
0
0.092593
0
0.092593
0.074074
0
0
0
null
0
0
0
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
d7084fe3e7c1d31c2837f7a7a73b4ee464d5b4cc
362
py
Python
dynamic_preferences/migrations/0007_auto_20210112_2201.py
joshuachinemezu/django-dynamic-preferences
344118b5c95a95698b651a9755180ccb90cf3c66
[ "BSD-3-Clause" ]
null
null
null
dynamic_preferences/migrations/0007_auto_20210112_2201.py
joshuachinemezu/django-dynamic-preferences
344118b5c95a95698b651a9755180ccb90cf3c66
[ "BSD-3-Clause" ]
null
null
null
dynamic_preferences/migrations/0007_auto_20210112_2201.py
joshuachinemezu/django-dynamic-preferences
344118b5c95a95698b651a9755180ccb90cf3c66
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-12 22:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dynamic_preferences', '0006_auto_20191001_2236'), ] operations = [ migrations.AlterModelTable( name='globalpreferencemodel', ...
20.111111
59
0.629834
35
362
6.4
0.857143
0
0
0
0
0
0
0
0
0
0
0.116981
0.267956
362
17
60
21.294118
0.728302
0.124309
0
0
1
0
0.244444
0.139683
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d70b0716bbc771f57111f4c1f1c69978a5b6f450
403
py
Python
2017/d05.py
m1el/advent-of-code
0944579fd58c586ce5a72b4152c5105ec07846a1
[ "MIT" ]
null
null
null
2017/d05.py
m1el/advent-of-code
0944579fd58c586ce5a72b4152c5105ec07846a1
[ "MIT" ]
null
null
null
2017/d05.py
m1el/advent-of-code
0944579fd58c586ce5a72b4152c5105ec07846a1
[ "MIT" ]
null
null
null
with open('05.txt') as fd: jumps = [int(x) for x in fd.readlines()] ip = 0 c = 0 while ip < len(jumps): c += 1 (jumps[ip], ip) = (jumps[ip] + 1, jumps[ip] + ip) print(c) ip = 0 c = 0 with open('05.txt') as fd: jumps = [int(x) for x in fd.readlines()] while ip < len(jumps): c += 1 o...
16.12
56
0.493797
76
403
2.618421
0.302632
0.175879
0.135678
0.130653
0.603015
0.603015
0.432161
0.432161
0.432161
0.432161
0
0.049822
0.30273
403
24
57
16.791667
0.658363
0
0
0.823529
0
0
0.031662
0
0
0
0
0
0
1
0
false
0
0
0
0
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d71c14ec204a33df0682e63f20599cd4362346d8
2,043
py
Python
leetcode/daily/131r.py
HPluseven/leetcode
78e363b5b376af3945bcb55a13d6a96b7c151a1b
[ "MIT" ]
1
2021-02-24T04:04:05.000Z
2021-02-24T04:04:05.000Z
leetcode/daily/131r.py
HPluseven/playground
78e363b5b376af3945bcb55a13d6a96b7c151a1b
[ "MIT" ]
null
null
null
leetcode/daily/131r.py
HPluseven/playground
78e363b5b376af3945bcb55a13d6a96b7c151a1b
[ "MIT" ]
null
null
null
class Solution: # timeout def partition(self, s: str) -> List[List[str]]: ans = [] arr = [] if not s: return ans if len(s) == 1: return [[s]] def backtrack(s, start, step): if step == len(s): if is_hui_wen(arr): ...
25.860759
58
0.342144
254
2,043
2.732283
0.185039
0.070605
0.021614
0.017291
0.288184
0.236311
0.236311
0.172911
0.083573
0.083573
0
0.028777
0.52374
2,043
78
59
26.192308
0.684481
0.057758
0
0.262295
0
0
0.001563
0
0
0
0
0
0
1
0.081967
false
0
0
0
0.229508
0.016393
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
d71e29fd370b8f16404c2700b9093d2966991aaa
9,576
py
Python
python/pySimE/space/exp/OrbitalTransferOpt/OrbOpt_Cos/Simplex_optimization.py
ProkopHapala/SimpleSimulationEngine
240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5
[ "MIT" ]
26
2016-12-04T04:45:12.000Z
2022-03-24T09:39:28.000Z
python/pySimE/space/exp/OrbitalTransferOpt/Simplex2_prokop.py
Aki78/FlightAI
9c5480f2392c9c89b9fee4902db0c4cde5323a6c
[ "MIT" ]
null
null
null
python/pySimE/space/exp/OrbitalTransferOpt/Simplex2_prokop.py
Aki78/FlightAI
9c5480f2392c9c89b9fee4902db0c4cde5323a6c
[ "MIT" ]
2
2019-02-09T12:31:06.000Z
2019-04-28T02:24:50.000Z
#!/usr/bin/env python # # Copyright (c) 2001 Vivake Gupta (vivakeATomniscia.org). All rights reserved. # # 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 2 of the # License, or ...
39.085714
120
0.590748
1,189
9,576
4.712363
0.222035
0.058897
0.029984
0.042834
0.444583
0.408888
0.379797
0.315367
0.275567
0.257184
0
0.020275
0.309837
9,576
244
121
39.245902
0.827508
0.166771
0
0.432432
0
0
0.005439
0
0
0
0
0
0
0
null
null
0
0.013514
null
null
0.02027
0
0
0
null
0
0
0
0
0
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
d7296301578038d2809c42563941c7cd7dde1c78
1,645
py
Python
loghub.py
0lever/loghub_exporter
09d83b6ba822e75989397a08d68a60f9239f648f
[ "Apache-2.0" ]
null
null
null
loghub.py
0lever/loghub_exporter
09d83b6ba822e75989397a08d68a60f9239f648f
[ "Apache-2.0" ]
null
null
null
loghub.py
0lever/loghub_exporter
09d83b6ba822e75989397a08d68a60f9239f648f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import aliyun.log as log class LogHub(object): endpoint = None access_key_id = None access_key = None client = None def __init__(self, endpoint, access_key_id, access_key): self.endpoint = endpoint self.access_key_id = access_key_id self.access_key ...
32.9
87
0.658967
221
1,645
4.651584
0.235294
0.122568
0.074903
0.049611
0.135214
0.101167
0
0
0
0
0
0.001601
0.240729
1,645
49
88
33.571429
0.821457
0.057751
0
0
0
0
0.042044
0.017464
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d72b9d7050998eb3d01532503758573a750e6e4c
746
py
Python
sysconf/migrations/0004_auto_20200602_1150.py
kanezhu1031/midplatform
8a499278bf83fe33b9c75099b79e0b3bca2e0de4
[ "MIT" ]
2
2020-05-21T04:43:56.000Z
2020-05-25T04:34:41.000Z
sysconf/migrations/0004_auto_20200602_1150.py
kanezhu1031/midplatform
8a499278bf83fe33b9c75099b79e0b3bca2e0de4
[ "MIT" ]
4
2020-06-13T08:02:45.000Z
2021-06-10T23:59:20.000Z
sysconf/migrations/0004_auto_20200602_1150.py
canpowerzhu/midplatform
8a499278bf83fe33b9c75099b79e0b3bca2e0de4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2020-06-02 11:50 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sysconf', '0003_auto_20200530_2023'), ] operations = [ migrations.AlterFie...
28.692308
132
0.607239
90
746
4.866667
0.666667
0.091324
0.114155
0.13242
0.182648
0.182648
0.182648
0
0
0
0
0.078431
0.247989
746
25
133
29.84
0.702317
0.092493
0
0.333333
1
0.055556
0.178042
0.093472
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d72c2f926fa5e32660daf2129761f3da59522fa5
633
py
Python
serverfiles/dockerized_apps/users/users/app/tests.py
cloud-players/Selfie-Less-Acts
66fba3cd4ffcdef0b4d6a53d70fc97619bd1bb91
[ "MIT" ]
1
2019-02-13T14:43:09.000Z
2019-02-13T14:43:09.000Z
serverfiles/SelfLessActs/app/tests.py
cloud-players/Selfie-Less-Acts
66fba3cd4ffcdef0b4d6a53d70fc97619bd1bb91
[ "MIT" ]
5
2019-03-11T02:29:17.000Z
2021-06-10T21:16:34.000Z
serverfiles/SelfLessActs/app/tests.py
cloud-players/Selfie-Less-Acts
66fba3cd4ffcdef0b4d6a53d70fc97619bd1bb91
[ "MIT" ]
2
2019-02-13T14:40:23.000Z
2019-02-13T18:06:40.000Z
#from django.test import TestCase from json import loads, dumps # Create your tests here. import requests url = 'http://54.91.217.230:8000//api/v1/categories/education/acts' data = { 'actId': 1231, 'username': 'johndoe', 'timestamp': '2019-02-04T14:50:13Z', 'caption': 'caption text', 'imgB64': 'TWFuIGlzIGRpc3...
33.315789
92
0.723539
73
633
6.273973
0.69863
0.069869
0.082969
0.09607
0
0
0
0
0
0
0
0.116814
0.107425
633
19
93
33.315789
0.693805
0.132701
0
0
0
0.0625
0.511883
0.140768
0
0
0
0
0
1
0
false
0.0625
0.125
0
0.125
0.125
0
0
0
null
0
0
0
0
0
0
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
d736029fb035e573b70e8b19570e4e8ceca3c005
3,036
py
Python
tensorflow/contrib/data/python/ops/iterator_ops.py
M155K4R4/Tensorflow
e5e03ef3148303b3dfed89a1492dedf92b45be25
[ "Apache-2.0" ]
522
2016-06-08T02:15:50.000Z
2022-03-02T05:30:36.000Z
tensorflow/contrib/data/python/ops/iterator_ops.py
M155K4R4/Tensorflow
e5e03ef3148303b3dfed89a1492dedf92b45be25
[ "Apache-2.0" ]
48
2016-07-26T00:11:55.000Z
2022-02-23T13:36:33.000Z
tensorflow/contrib/data/python/ops/iterator_ops.py
M155K4R4/Tensorflow
e5e03ef3148303b3dfed89a1492dedf92b45be25
[ "Apache-2.0" ]
108
2016-06-16T15:34:05.000Z
2022-03-12T13:23:11.000Z
# Copyright 2017 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...
38.923077
83
0.72859
384
3,036
5.591146
0.460938
0.027946
0.022357
0.014905
0.029809
0
0
0
0
0
0
0.004409
0.178195
3,036
77
84
39.428571
0.856112
0.639987
0
0
0
0
0.005952
0
0
0
0
0
0
1
0.15
false
0
0.3
0
0.6
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
0
0
0
0
0
0
1
0
0
1
d7373eb8da6fc5d7032a3e57e99df227e13c033e
661
py
Python
Condicional/comp_datas.py
Viniciusmgm/aula_processamento_info
6b334122896e34af51d3a8469f151bca52191585
[ "MIT" ]
null
null
null
Condicional/comp_datas.py
Viniciusmgm/aula_processamento_info
6b334122896e34af51d3a8469f151bca52191585
[ "MIT" ]
null
null
null
Condicional/comp_datas.py
Viniciusmgm/aula_processamento_info
6b334122896e34af51d3a8469f151bca52191585
[ "MIT" ]
null
null
null
def comp(data1,data2): if(data1[0] < data2[0]): return "DATA1" elif(data1[0] == data2[0]): if(data1[1] < data2[1]): return "DATA1" elif(data1[1] == data2[1]): if(data1[2] < data2[2]): return "DATA1" elif(data1[2] == data2[2]): ...
24.481481
39
0.487141
81
661
3.975309
0.259259
0.149068
0.139752
0.186335
0.251553
0.139752
0
0
0
0
0
0.110345
0.341906
661
27
40
24.481481
0.629885
0
0
0.346154
0
0
0.054381
0
0
0
0
0
0
1
0.038462
false
0
0
0
0.307692
0.038462
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
d73e3093502d0ec3a9fa17d03c462ec6a070076d
466
py
Python
tests/unit/test_inotify.py
RIAPS/butter
17f678043d2ac32e2d98d1a83b55e7e987596729
[ "BSD-3-Clause" ]
null
null
null
tests/unit/test_inotify.py
RIAPS/butter
17f678043d2ac32e2d98d1a83b55e7e987596729
[ "BSD-3-Clause" ]
null
null
null
tests/unit/test_inotify.py
RIAPS/butter
17f678043d2ac32e2d98d1a83b55e7e987596729
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import pytest from butter.inotify import watch from utils import TemporaryDirectory from subprocess import Popen from time import sleep import os def test_watch(): FILENAME = 'inotify_test' with TemporaryDirectory() as tmp_dir: filename = os.path.join(tmp_dir, FILENAME) ...
21.181818
74
0.658798
59
466
5.118644
0.59322
0.059603
0.092715
0
0
0
0
0
0
0
0
0.008621
0.253219
466
21
75
22.190476
0.859195
0.042918
0
0
0
0
0.074157
0
0
0
0
0
0
1
0.076923
false
0
0.461538
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
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
d73ef9d31d61d8a76c4463940ec560829625b503
3,094
py
Python
FreeTAKServer/controllers/ApplyFullJsonController.py
Tapawingo/FreeTakServer
30259fa0fb5a69bbf6606f06d9cd40a63d2aa4fd
[ "MIT" ]
27
2020-05-01T01:45:59.000Z
2020-07-03T00:17:13.000Z
FreeTAKServer/controllers/ApplyFullJsonController.py
Tapawingo/FreeTakServer
30259fa0fb5a69bbf6606f06d9cd40a63d2aa4fd
[ "MIT" ]
34
2020-04-26T11:25:52.000Z
2020-07-03T21:06:34.000Z
FreeTAKServer/controllers/ApplyFullJsonController.py
Tapawingo/FreeTakServer
30259fa0fb5a69bbf6606f06d9cd40a63d2aa4fd
[ "MIT" ]
15
2020-05-01T01:46:07.000Z
2020-07-03T12:14:04.000Z
from FreeTAKServer.model.FTSModel.Event import Event from defusedxml import ElementTree as etree class ApplyFullJsonController: def serialize_simplified_json_to_comprehensive(self, Json, JsonFull): for key, value in Json.items(): if isinstance(value, dict): subJsonFull = Json...
40.710526
107
0.545895
293
3,094
5.648464
0.290102
0.059215
0.038671
0.048338
0.499698
0.453776
0.396979
0.347432
0.32145
0.32145
0
0.00418
0.381383
3,094
75
108
41.253333
0.860502
0.181319
0
0.472727
0
0
0.011102
0
0
0
0
0.013333
0
1
0.054545
false
0
0.036364
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d740dfd4af13b341115bbc11d677740086f9ed8c
1,184
py
Python
bereshet/api/errors.py
shoshijak/bereshet
fed834e26dcc1b8238464afef6af51c1a3d6ec4d
[ "MIT" ]
null
null
null
bereshet/api/errors.py
shoshijak/bereshet
fed834e26dcc1b8238464afef6af51c1a3d6ec4d
[ "MIT" ]
1
2021-06-02T00:34:33.000Z
2021-06-02T00:34:33.000Z
bereshet/api/errors.py
shoshijak/bereshet
fed834e26dcc1b8238464afef6af51c1a3d6ec4d
[ "MIT" ]
null
null
null
""" Defines the errors' API. Errors are represented in JSON as: .. code-block:: python { "error": "short error description", "message": "error message (optional)" } """ from flask import jsonify from werkzeug.http import HTTP_STATUS_CODES def error_response(status_code, message=None): "...
26.311111
88
0.686655
171
1,184
4.684211
0.421053
0.062422
0.037453
0.052434
0.082397
0.082397
0.082397
0
0
0
0
0.006652
0.238176
1,184
44
89
26.909091
0.881375
0.586993
0
0
0
0
0.059666
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d7417c967bd022ac62c9a8a87ba324f5642bb59a
32,718
py
Python
subtil/database.py
AntoineAdam/subtil
dddfcecd1b6f1d73783ed50668d64183ccd9b015
[ "MIT" ]
null
null
null
subtil/database.py
AntoineAdam/subtil
dddfcecd1b6f1d73783ed50668d64183ccd9b015
[ "MIT" ]
null
null
null
subtil/database.py
AntoineAdam/subtil
dddfcecd1b6f1d73783ed50668d64183ccd9b015
[ "MIT" ]
null
null
null
try: import mysql.connector except ImportError as ex: print ex print "You need to install the mysql-connector-python to be able to use a mysql database." import traceback import time import getpass import sqlite3 import csv import numpy as np from os import path from . import data from .utils import is_boolean,is_...
34.331584
305
0.673635
4,524
32,718
4.846375
0.112511
0.033204
0.017332
0.014686
0.671471
0.64146
0.625177
0.596442
0.575781
0.561231
0
0.016347
0.188551
32,718
953
306
34.331584
0.809484
0.133107
0
0.554622
0
0.023109
0.262942
0.018137
0
0
0
0.005247
0.002101
0
null
null
0.014706
0.023109
null
null
0.042017
0
0
0
null
0
0
0
0
0
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
d743be2849f0f0bd996a93b21745d34e70a0e26d
4,426
py
Python
exercise0/dice.py
CaveMike/dice
4436e3eb8f014dba300973bfde0a47ca12cde0e4
[ "MIT" ]
null
null
null
exercise0/dice.py
CaveMike/dice
4436e3eb8f014dba300973bfde0a47ca12cde0e4
[ "MIT" ]
null
null
null
exercise0/dice.py
CaveMike/dice
4436e3eb8f014dba300973bfde0a47ca12cde0e4
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from __future__ import division import itertools import logging import math import random import unittest from collections import deque class DieBase: def __init__(self, sides, source=None): self._sides = sides self.source = source @property def sides(self): ...
29.311258
210
0.607094
611
4,426
4.253682
0.207856
0.036937
0.041554
0.01693
0.239323
0.189304
0.189304
0.149288
0.126202
0.106964
0
0.043739
0.24582
4,426
151
211
29.311258
0.734871
0.004745
0
0.140351
0
0.017544
0.101476
0.024064
0
0
0
0
0.026316
1
0.22807
false
0
0.061404
0.078947
0.473684
0
0
0
0
null
0
0
0
0
0
0
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
d75140d25ba479a102009fdc50a3940969503e94
986
py
Python
makeCatScript.py
imk1/MethylationQTLCode
d193f518994074a29a39e081d470b1c67a95a527
[ "MIT" ]
null
null
null
makeCatScript.py
imk1/MethylationQTLCode
d193f518994074a29a39e081d470b1c67a95a527
[ "MIT" ]
null
null
null
makeCatScript.py
imk1/MethylationQTLCode
d193f518994074a29a39e081d470b1c67a95a527
[ "MIT" ]
null
null
null
def makeCatScript(folderNameListFileName, fileName, outputFileName, catedFileName, fileNamePrefix): # Iterate through folders and make a script that will concatenate all of the files with a certain name in the folders folderNameListFile = open(folderNameListFileName) outputFile = open(outputFileName, 'w+') outputFi...
41.083333
118
0.754564
111
986
6.630631
0.504505
0.057065
0.116848
0.154891
0.228261
0.228261
0
0
0
0
0
0.007168
0.151116
986
23
119
42.869565
0.872162
0.220081
0
0
0
0
0.023529
0
0
0
0
0
0
0
null
null
0
0.052632
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
d7568f01440fea36db4d057e08dac1f97299e6fc
43,662
py
Python
src/sage/schemes/toric/chow_group.py
bopopescu/sage-5
9d85b34956ca2edd55af307f99c5d3859acd30bf
[ "BSL-1.0" ]
5
2015-01-04T07:15:06.000Z
2022-03-04T15:15:18.000Z
src/sage/schemes/toric/chow_group.py
bopopescu/sage-5
9d85b34956ca2edd55af307f99c5d3859acd30bf
[ "BSL-1.0" ]
null
null
null
src/sage/schemes/toric/chow_group.py
bopopescu/sage-5
9d85b34956ca2edd55af307f99c5d3859acd30bf
[ "BSL-1.0" ]
10
2016-09-28T13:12:40.000Z
2022-02-12T09:28:34.000Z
r""" The Chow group of a toric variety In general, the Chow group is an algebraic version of a homology theory. That is, the objects are formal linear combinations of submanifolds modulo relations. In particular, the objects of the Chow group are formal linear combinations of algebraic subvarieties and the equivalence...
32.779279
142
0.542898
5,903
43,662
3.916314
0.107064
0.023791
0.029587
0.033394
0.369323
0.304395
0.261095
0.231335
0.208582
0.191539
0
0.038515
0.325065
43,662
1,331
143
32.803907
0.74597
0.02698
0
0.098361
0
0
0.038285
0
0
0
0
0
0.008197
0
null
null
0.004098
0.040984
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
d756f1c6fdeb582734bfada4868221c60dad9370
1,012
py
Python
algoritmos/linear.py
lucasrbk/Pibiti
e60c02af7fe93e1ac65975a199ae1ae11fb88d42
[ "MIT" ]
null
null
null
algoritmos/linear.py
lucasrbk/Pibiti
e60c02af7fe93e1ac65975a199ae1ae11fb88d42
[ "MIT" ]
null
null
null
algoritmos/linear.py
lucasrbk/Pibiti
e60c02af7fe93e1ac65975a199ae1ae11fb88d42
[ "MIT" ]
null
null
null
import tensorflow import keras import sklearn from sklearn import linear_model import pandas as pd import numpy as np from sklearn.utils import shuffle import matplotlib.pyplot as pyplot import pickle from matplotlib import style data = pd.read_csv("train.csv", sep=",") mass = data["mean_atomic_mass"] predict = "cri...
21.531915
96
0.751976
155
1,012
4.754839
0.425806
0.040706
0.037992
0.048847
0
0
0
0
0
0
0
0.003337
0.11166
1,012
46
97
22
0.816463
0.066206
0
0
0
0
0.16879
0
0
0
0
0
0
1
0
false
0
0.344828
0
0.344828
0.068966
0
0
0
null
0
0
0
0
0
0
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
d75772a81516e67d965c5e1b6117256a0d34a211
853
py
Python
Chapter02/voting_ensemble.py
gabrielmahia/HandsOnKungFu
0023788780759b000c66c63a25854240ec572eb5
[ "MIT" ]
112
2019-03-04T02:27:44.000Z
2022-03-22T20:54:16.000Z
Chapter02/voting_ensemble.py
gabrielmahia/HandsOnKungFu
0023788780759b000c66c63a25854240ec572eb5
[ "MIT" ]
2
2019-07-26T17:23:52.000Z
2022-02-22T14:19:44.000Z
Chapter02/voting_ensemble.py
gabrielmahia/HandsOnKungFu
0023788780759b000c66c63a25854240ec572eb5
[ "MIT" ]
84
2019-01-16T13:01:12.000Z
2022-03-27T20:44:20.000Z
import pandas from sklearn import model_selection from sklearn.linear_model import LogisticRegression from sklearn.tree import DecisionTreeClassifier from sklearn.svm import SVC from sklearn.ensemble import VotingClassifier # We finally use the voting classifier to choose the best of the three. Next we create the sub m...
42.65
102
0.800703
117
853
5.760684
0.564103
0.081602
0.075668
0
0
0
0
0
0
0
0
0.004011
0.123095
853
19
103
44.894737
0.897059
0.341149
0
0
0
0
0.027027
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.0625
0
0
0
null
0
0
0
0
0
0
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
d75a9a3d00e4a72d0e2d63a046a6abceb8c2f0b2
337
py
Python
setup.py
luca-drf/ensembl-production
8251026004d786f5a160584f3550227adc395cc1
[ "Apache-2.0" ]
null
null
null
setup.py
luca-drf/ensembl-production
8251026004d786f5a160584f3550227adc395cc1
[ "Apache-2.0" ]
null
null
null
setup.py
luca-drf/ensembl-production
8251026004d786f5a160584f3550227adc395cc1
[ "Apache-2.0" ]
null
null
null
from setuptools import find_namespace_packages, setup with open('VERSION') as f: version = f.read() setup( name='ensembl-production', version=version, packages=find_namespace_packages(where='src/python'), package_dir={"": "src/python"}, license='Apache 2.0', include_package_data=True, ...
22.466667
57
0.697329
43
337
5.27907
0.72093
0.114537
0.185022
0
0
0
0
0
0
0
0
0.007143
0.169139
337
14
58
24.071429
0.803571
0
0
0
0
0
0.163205
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
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
d764e49c1859e1aaebac7fcb049fcb2c95391fa8
4,783
py
Python
ui/InitWindow.py
EmeryWan/GradeEntry
3c4e27588e714df8fe26b29758a961830f9e770d
[ "MIT" ]
3
2019-07-31T13:09:52.000Z
2019-09-30T10:26:03.000Z
ui/InitWindow.py
EmeryWan/GradeEntry
3c4e27588e714df8fe26b29758a961830f9e770d
[ "MIT" ]
null
null
null
ui/InitWindow.py
EmeryWan/GradeEntry
3c4e27588e714df8fe26b29758a961830f9e770d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'InitWindow.ui' # # Created by: PyQt5 UI code generator 5.11.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_InItDialog(object): def setupUi(self, InItDialog): InItD...
52.56044
88
0.717123
585
4,783
5.606838
0.237607
0.05122
0.047561
0.051829
0.398476
0.207622
0.176524
0.133841
0
0
0
0.042254
0.168723
4,783
90
89
53.144444
0.782696
0.03847
0
0.076923
1
0
0.09279
0.009584
0
0
0
0
0
1
0.025641
false
0
0.012821
0
0.051282
0
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
d765db959d13a37541bb2017c58d30c1b495186e
2,089
py
Python
base/basespinet.py
ayyuriss/EigenFunctions
8cb6c22871fcddb633392c0a12691e960dad5143
[ "MIT" ]
null
null
null
base/basespinet.py
ayyuriss/EigenFunctions
8cb6c22871fcddb633392c0a12691e960dad5143
[ "MIT" ]
null
null
null
base/basespinet.py
ayyuriss/EigenFunctions
8cb6c22871fcddb633392c0a12691e960dad5143
[ "MIT" ]
null
null
null
import numpy as np import torch import core.utils as U from base.logger import Logger import networks.networks as N class BaseSpinet(torch.nn.Module): info = "BaseSpinet Model" name = "BaseSpinet" def __init__(self, input_shape, spectral_dim, network=N.ConvNet, lr=1e-2, ls_alpha = 0.5...
29.422535
86
0.600287
293
2,089
4.146758
0.303754
0.032922
0.02716
0.034568
0.068313
0.068313
0.068313
0.068313
0.068313
0.068313
0
0.01
0.281953
2,089
71
87
29.422535
0.8
0.016276
0
0.086207
0
0
0.016082
0
0
0
0
0
0
1
0.258621
false
0
0.086207
0.051724
0.5
0.017241
0
0
0
null
0
0
0
0
0
0
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
d7694b51791cadbd7b9f54be6c13643ff2816182
655
py
Python
demo/buy_in_month.py
momantang/cobrass
f11435d4836aa29078a3cd4beb4ca88967300c84
[ "Apache-2.0" ]
1
2019-05-28T05:54:42.000Z
2019-05-28T05:54:42.000Z
demo/buy_in_month.py
momantang/cobrass
f11435d4836aa29078a3cd4beb4ca88967300c84
[ "Apache-2.0" ]
null
null
null
demo/buy_in_month.py
momantang/cobrass
f11435d4836aa29078a3cd4beb4ca88967300c84
[ "Apache-2.0" ]
1
2021-09-08T17:39:58.000Z
2021-09-08T17:39:58.000Z
import sys sys.path.insert(0, '/Users/momantang/PycharmProjects/cobrass/') sys.path import numpy as np import pandas as pd import tushare as ts from local import local_setting as ls ts.set_token(ls.LocalSetting.tushare_token) ts_pro = ts.pro_api() """ 试试每月第5日交易日买入,年底卖出,看看效果 每月买入资金为¥20000元,不足可以累积下月买入,分别以当天open,high,c...
21.833333
91
0.738931
106
655
4.443396
0.622642
0.031847
0.046709
0.055202
0
0
0
0
0
0
0
0.081356
0.099237
655
29
92
22.586207
0.715254
0
0
0
0
0
0.182301
0.072566
0
0
0
0
0
1
0.052632
false
0.052632
0.263158
0
0.315789
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d777fc83a04f5813b15b464b2cf5289bfb7e8990
2,459
py
Python
process_authors_from_dropbox.py
isaric4c/isaric4c.github.io
e4dd86955582a1d6edad2203374b60242c80089c
[ "MIT" ]
1
2020-05-15T11:57:08.000Z
2020-05-15T11:57:08.000Z
process_authors_from_dropbox.py
isaric4c/isaric4c.github.io
e4dd86955582a1d6edad2203374b60242c80089c
[ "MIT" ]
2
2020-09-03T21:55:16.000Z
2021-02-22T21:48:57.000Z
process_authors_from_dropbox.py
isaric4c/isaric4c.github.io
e4dd86955582a1d6edad2203374b60242c80089c
[ "MIT" ]
1
2020-04-19T17:07:45.000Z
2020-04-19T17:07:45.000Z
import sys import pandas as pd try: url = "https://www.dropbox.com/s/t70kmn9lri6jl47/master_author_list.xlsx?dl=1" df = pd.read_excel(url) except Exception as e: print(e) sys.exit() print("Successfully loaded from Dropbox into Pandas dataframe") with open("./about/authors.md", "w") as fp: s...
32.786667
483
0.690931
333
2,459
5.075075
0.606607
0.059172
0.023669
0.030769
0.084024
0.084024
0.04497
0.04497
0.04497
0
0
0.007653
0.202928
2,459
74
484
33.22973
0.854592
0
0
0.117647
0
0.019608
0.698452
0.03097
0
0
0
0
0
1
0
false
0
0.039216
0
0.039216
0.156863
0
0
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
d77885da0eb3eb14fcf72aaaf75141cd20ebdd76
2,359
py
Python
case_object.py
keithballinger/case.py
bf63b2d52de2b6c9fb82e5c1d94319ac0745a016
[ "MIT" ]
null
null
null
case_object.py
keithballinger/case.py
bf63b2d52de2b6c9fb82e5c1d94319ac0745a016
[ "MIT" ]
null
null
null
case_object.py
keithballinger/case.py
bf63b2d52de2b6c9fb82e5c1d94319ac0745a016
[ "MIT" ]
null
null
null
class _ANY(object): """ A helper object that compares equal to everything. Shamelessly stolen from Mock. """ def __eq__(self, other): return True def __ne__(self, other): return False def __repr__(self): return '<ANY>' ANY = _ANY() class CaseObject(object): ...
24.071429
62
0.531581
269
2,359
4.505576
0.33829
0.026403
0.024752
0.031353
0.179868
0.179868
0.148515
0.084158
0.084158
0.084158
0
0.003418
0.379822
2,359
97
63
24.319588
0.825017
0.187791
0
0.333333
0
0
0.010544
0
0
0
0
0.010309
0
1
0.183333
false
0.033333
0
0.083333
0.383333
0
0
0
0
null
0
0
0
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
d77dd47c4703e94ad95bc01f7f81a5b5952a8c05
2,440
py
Python
week4/flow_utils_w4.py
mcv-m6-video/mcv-m6-2018-team4
cabfcaf5da7271cd4ce81545ea2f7fc3d00ae25b
[ "MIT" ]
null
null
null
week4/flow_utils_w4.py
mcv-m6-video/mcv-m6-2018-team4
cabfcaf5da7271cd4ce81545ea2f7fc3d00ae25b
[ "MIT" ]
null
null
null
week4/flow_utils_w4.py
mcv-m6-video/mcv-m6-2018-team4
cabfcaf5da7271cd4ce81545ea2f7fc3d00ae25b
[ "MIT" ]
1
2021-03-22T17:51:30.000Z
2021-03-22T17:51:30.000Z
import numpy as np import cv2 from scipy import ndimage def flow_visualization(u, v, dil_size=0): H = u.shape[0] W = u.shape[1] hsv = np.zeros((H, W, 3)) # convert from cartesian to polar mag, ang = cv2.cartToPolar(u, v) hsv[:, :, 0] = ang * 180 / np.pi / 2 hsv[:, :, 2] = cv2.normalize(m...
31.282051
84
0.559426
407
2,440
3.248157
0.351351
0.020424
0.022693
0.039334
0.125567
0.07413
0.036309
0
0
0
0
0.058526
0.271721
2,440
78
85
31.282051
0.685425
0.229918
0
0
0
0
0.043991
0
0
0
0
0
0
0
null
null
0
0.068182
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1