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
7f79688fd9e51a672dbdb62bdcea05a28ae5e3cf
418
py
Python
ch_03/task7.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
ch_03/task7.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
ch_03/task7.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
#!/usr/bin/env python def top_three_avg(grade1, grade2, grade3, grade4): """ :param grade1: number :param grade2: number :param grade3: number :param grade4: number :return: number """ total = grade1 + grade2 + grade3 + grade4 top_three = total - min(grade1, grade2, grade3, grade4)...
23.222222
59
0.65311
59
418
4.491525
0.457627
0.150943
0.124528
0.271698
0
0
0
0
0
0
0
0.101227
0.220096
418
17
60
24.588235
0.711656
0.296651
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0.333333
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
7f79c6850dcf67dcb5170d3847119265d3968e00
1,062
py
Python
Diena_8_dictionaries/d8_a16_u1.py
MarisKuz/Python-RTU
12261d06dc81fa0d98190ca0eb5133d43d517070
[ "MIT" ]
8
2020-08-31T16:10:54.000Z
2021-11-24T06:37:37.000Z
Diena_8_dictionaries/d8_a16_u1.py
MarisKuz/Python-RTU
12261d06dc81fa0d98190ca0eb5133d43d517070
[ "MIT" ]
8
2021-06-08T22:30:29.000Z
2022-03-12T00:48:55.000Z
Diena_8_dictionaries/d8_a16_u1.py
MarisKuz/Python-RTU
12261d06dc81fa0d98190ca0eb5133d43d517070
[ "MIT" ]
12
2020-09-28T17:06:52.000Z
2022-02-17T12:12:46.000Z
from collections import Counter import string print(string.digits) def get_char_count(text): text = str(text) # letters = {} # for i in text: # if i in letters: # letters[i] += 1 # else: # letters[i] = 1 letters = Counter(text) print(letters) return lette...
23.086957
74
0.60452
152
1,062
4.059211
0.328947
0.113452
0.194489
0.110211
0.251216
0.08752
0
0
0
0
0
0.016688
0.266478
1,062
46
75
23.086957
0.775353
0.551789
0
0
0
0
0.088692
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.285714
0.285714
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
7f7ba3780cb3b133493e7602db98985a3c01774a
2,441
py
Python
manage.py
clouserw/zamboni
c4a568b69c1613f27da41d46328b2975cbdc1c07
[ "BSD-3-Clause" ]
null
null
null
manage.py
clouserw/zamboni
c4a568b69c1613f27da41d46328b2975cbdc1c07
[ "BSD-3-Clause" ]
null
null
null
manage.py
clouserw/zamboni
c4a568b69c1613f27da41d46328b2975cbdc1c07
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import logging import os import sys from django.core.management import execute_from_command_line if 'DJANGO_SETTINGS_MODULE' not in os.environ: if len(sys.argv) > 1 and sys.argv[1] == 'test': os.environ['DJANGO_SETTINGS_MODULE'] = 'settings_test' else: os.environ.setdefau...
28.383721
79
0.745596
353
2,441
5.002833
0.501416
0.024915
0.033975
0.02718
0.0453
0.0453
0
0
0
0
0
0.005475
0.176977
2,441
85
80
28.717647
0.873569
0.352724
0
0.04
0
0
0.105093
0.042553
0
0
0
0
0
1
0.02
false
0
0.32
0
0.38
0
0
0
0
null
0
0
0
0
0
0
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
7f827544721ffdb6dabf9bf15e8a94b059ad6a71
736
py
Python
trampill_backend/mainapp/forms.py
trampill-backend/trampill-backend
0cf98414d3ecd489657de42cb91431e8bfae945c
[ "MIT" ]
2
2020-03-04T19:03:55.000Z
2020-03-08T09:10:21.000Z
trampill_backend/mainapp/forms.py
trampill-backend/trampill-backend
0cf98414d3ecd489657de42cb91431e8bfae945c
[ "MIT" ]
null
null
null
trampill_backend/mainapp/forms.py
trampill-backend/trampill-backend
0cf98414d3ecd489657de42cb91431e8bfae945c
[ "MIT" ]
1
2020-03-08T10:54:10.000Z
2020-03-08T10:54:10.000Z
from django import forms from . import models class CourseItemForm(forms.ModelForm): class Meta: model = models.CourseItem fields = [ "published", "episode_url", "episode", "episode_note", "episode_title", "episode_archive", ...
19.368421
38
0.475543
56
736
6.160714
0.482143
0.121739
0.165217
0.2
0.295652
0.295652
0
0
0
0
0
0
0.425272
736
37
39
19.891892
0.815603
0
0
0.322581
0
0
0.160326
0
0
0
0
0
0
1
0
false
0
0.064516
0
0.258065
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
7f84dc432af3744e58df34fefd202e89d5feb1eb
1,125
py
Python
graphene_protector/django.py
Grenadingue/graphene-protector
f6d8a93100d080923aefe6ad7c0c8a65fb882673
[ "MIT" ]
null
null
null
graphene_protector/django.py
Grenadingue/graphene-protector
f6d8a93100d080923aefe6ad7c0c8a65fb882673
[ "MIT" ]
null
null
null
graphene_protector/django.py
Grenadingue/graphene-protector
f6d8a93100d080923aefe6ad7c0c8a65fb882673
[ "MIT" ]
null
null
null
from django.conf import settings import graphene from . import base class ProtectorBackend(base.ProtectorBackend): def __init__(self, *args, **kwargs): if hasattr(settings, "GRAPHENE_PROTECTOR_DEPTH_LIMIT"): kwargs.setdefault( "depth_limit", settings.GRAPHENE_PROTECTOR_DEPTH_...
32.142857
70
0.633778
105
1,125
6.438095
0.266667
0.088757
0.221893
0.110947
0.442308
0.115385
0
0
0
0
0
0
0.262222
1,125
34
71
33.088235
0.814458
0
0
0.259259
0
0
0.139556
0.088889
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
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
7f88d3f2996bb1d9a7bdfe7b4b07037563dd2710
3,847
py
Python
Udacity_Fullstack_Nanodegree/vagrant/catalog/project.py
maistrovas/My-Courses-Solutions
7a74add8e853f6c609d1f2656492e1c7c676a7e9
[ "MIT" ]
null
null
null
Udacity_Fullstack_Nanodegree/vagrant/catalog/project.py
maistrovas/My-Courses-Solutions
7a74add8e853f6c609d1f2656492e1c7c676a7e9
[ "MIT" ]
null
null
null
Udacity_Fullstack_Nanodegree/vagrant/catalog/project.py
maistrovas/My-Courses-Solutions
7a74add8e853f6c609d1f2656492e1c7c676a7e9
[ "MIT" ]
null
null
null
from flask import Flask, render_template, url_for, request, redirect, flash, jsonify from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker import datetime from database_setup import Base, Restaurant, MenuItem app = Flask(__name__) engine = create_engine('sqlite:///restaurantmenu.db') Base.metada...
31.793388
84
0.710164
470
3,847
5.629787
0.223404
0.14966
0.063492
0.081633
0.470144
0.442933
0.442933
0.328042
0.310658
0.295918
0
0.003418
0.163504
3,847
121
85
31.793388
0.818832
0.093579
0
0.255814
0
0
0.175913
0.09428
0
0
0
0
0
0
null
null
0.034884
0.05814
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
7f8f2d9c3b262383ed821e25ae5cb5c7380f6cde
12,256
py
Python
test/test_decorator.py
dcartman/pygame-menu
52a823b9121aadd6893fb878150d613ab516fcac
[ "MIT" ]
null
null
null
test/test_decorator.py
dcartman/pygame-menu
52a823b9121aadd6893fb878150d613ab516fcac
[ "MIT" ]
null
null
null
test/test_decorator.py
dcartman/pygame-menu
52a823b9121aadd6893fb878150d613ab516fcac
[ "MIT" ]
null
null
null
""" pygame-menu https://github.com/ppizarror/pygame-menu TEST DECORATOR Decorator API. """ __all__ = ['DecoratorTest'] from test._utils import MenuUtils, surface, TEST_THEME, BaseTest import copy import pygame import pygame_menu import timeit # Configure the tests TEST_TIME_DRAW = False class DecoratorTest(BaseTe...
35.941349
116
0.593995
1,603
12,256
4.383032
0.140986
0.040848
0.027896
0.039852
0.605892
0.537859
0.476658
0.432679
0.376032
0.349843
0
0.062368
0.266074
12,256
340
117
36.047059
0.718733
0.102807
0
0.443396
0
0
0.025203
0.004854
0
0
0
0
0.40566
1
0.042453
false
0.004717
0.023585
0
0.075472
0.014151
0
0
0
null
0
0
0
0
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
7f8f89b4e07ea9a13fed5571bee4f061b94852e5
1,380
py
Python
PythonLearn/pandas/basic2.py
OKKyu/PythonLearn
48dc4cc2a1a34d99b09f8d37a5566d448dcf987c
[ "MIT" ]
null
null
null
PythonLearn/pandas/basic2.py
OKKyu/PythonLearn
48dc4cc2a1a34d99b09f8d37a5566d448dcf987c
[ "MIT" ]
null
null
null
PythonLearn/pandas/basic2.py
OKKyu/PythonLearn
48dc4cc2a1a34d99b09f8d37a5566d448dcf987c
[ "MIT" ]
null
null
null
#!python3 # -*- coding:utf-8 -*- import numpy as np import pandas as pd import urllib.parse ''' This soure code is a sample of using pandas library. Reading from external file to DataFrame. ''' #Method of CSV Reading df = pd.read_csv("./201704health.csv", encoding="utf-8") print("read csv") print(df.head(4)) prin...
30.666667
94
0.741304
226
1,380
4.442478
0.371681
0.099602
0.047809
0.047809
0.219124
0.201195
0.14741
0.069721
0
0
0
0.017515
0.131159
1,380
44
95
31.363636
0.81985
0.439855
0
0.238095
0
0
0.287462
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
7f96bdf44dc60de6bbd40effad99317503200d41
620
py
Python
hs_core/migrations/0054_auto_20201028_1432.py
hydroshare/hydroshare
bf9888bbe61507aff070b1dfcec2fdec1921468d
[ "BSD-3-Clause" ]
178
2015-01-08T23:03:36.000Z
2022-03-03T13:56:45.000Z
hs_core/migrations/0054_auto_20201028_1432.py
hydroshare/hydroshare
bf9888bbe61507aff070b1dfcec2fdec1921468d
[ "BSD-3-Clause" ]
4,125
2015-01-01T14:26:15.000Z
2022-03-31T16:38:55.000Z
hs_core/migrations/0054_auto_20201028_1432.py
hydroshare/hydroshare
bf9888bbe61507aff070b1dfcec2fdec1921468d
[ "BSD-3-Clause" ]
53
2015-03-15T17:56:51.000Z
2022-03-17T00:32:16.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-10-28 14:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hs_core', '0053_auto_20200826_1629'), ] operations = [ migrations.AlterFie...
29.52381
208
0.627419
64
620
5.90625
0.78125
0
0
0
0
0
0
0
0
0
0
0.07362
0.21129
620
20
209
31
0.699387
0.11129
0
0
1
0
0.251825
0.041971
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f98bb6fd3647e5453adea196efd86f8d2809974
401
py
Python
plugins/addtodb.py
jasperazerbaijan/gpytranslator-bot
51bf686885afdce450ce6cb1af9f8f0a06caf143
[ "MIT" ]
null
null
null
plugins/addtodb.py
jasperazerbaijan/gpytranslator-bot
51bf686885afdce450ce6cb1af9f8f0a06caf143
[ "MIT" ]
null
null
null
plugins/addtodb.py
jasperazerbaijan/gpytranslator-bot
51bf686885afdce450ce6cb1af9f8f0a06caf143
[ "MIT" ]
1
2021-07-21T20:09:23.000Z
2021-07-21T20:09:23.000Z
from pyrogram import Client, filters from pyrogram.types import Message from db import functions as db @Client.on_message(filters.private, group=-1) async def check_chat(bot: Client, message: Message): chat_id = message.chat.id chat_type = message.chat.type if not db.chat_exists(chat_id, chat_type): ...
30.846154
52
0.735661
65
401
4.338462
0.430769
0.106383
0.141844
0.198582
0.113475
0
0
0
0
0
0
0.003003
0.169576
401
12
53
33.416667
0.843844
0
0
0
0
0
0.004988
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
7f9a1b01235ac13ec73615626dff07dcf5e1e468
364
py
Python
inventories/models.py
amado-developer/ReadHub-RestfulAPI
8d8b445c4a84810d52bbf78a2593e0b48351590c
[ "MIT" ]
null
null
null
inventories/models.py
amado-developer/ReadHub-RestfulAPI
8d8b445c4a84810d52bbf78a2593e0b48351590c
[ "MIT" ]
7
2021-03-19T03:09:53.000Z
2022-01-13T02:48:44.000Z
inventories/models.py
amado-developer/ReadHub-RestfulAPI
8d8b445c4a84810d52bbf78a2593e0b48351590c
[ "MIT" ]
null
null
null
from django.db import models class Inventory(models.Model): for_sale = models.BooleanField(default=True) price = models.FloatField(null=False) digital_book = models.ForeignKey( to='digital_books.digital_book', on_delete=models.CASCADE, default=0 ) class Meta: verbose_name = 'Invento...
28
76
0.717033
44
364
5.75
0.704545
0.086957
0
0
0
0
0
0
0
0
0
0.003378
0.186813
364
12
77
30.333333
0.851351
0
0
0
0
0
0.126374
0.071429
0
0
0
0
0
1
0
false
0
0.1
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7f9c5084f89538634a98df1c39e0e6893ba8074f
1,490
py
Python
test/facet_extraction_test.py
Coveochatbot/megageniale-mlapi
61666c33a4313c9906d874fa04dd6c6bd45df583
[ "MIT" ]
null
null
null
test/facet_extraction_test.py
Coveochatbot/megageniale-mlapi
61666c33a4313c9906d874fa04dd6c6bd45df583
[ "MIT" ]
3
2018-10-20T23:10:14.000Z
2018-12-15T00:44:49.000Z
test/facet_extraction_test.py
Coveochatbot/megageniale-mlapi
61666c33a4313c9906d874fa04dd6c6bd45df583
[ "MIT" ]
1
2018-11-12T14:38:09.000Z
2018-11-12T14:38:09.000Z
import unittest from mlapi.facet_extractor import FacetExtractor from definitions import Definitions from pathlib import Path class TestFacetExtractor(unittest.TestCase): TEST_FILE_A = Path(Definitions.ROOT_DIR + "/test/test_files/facets/facet_extraction_test_file_a.json") TEST_FILE_B = Path(Definitions.ROOT_...
40.27027
115
0.710067
191
1,490
5.256545
0.246073
0.164343
0.035857
0.079681
0.250996
0.207171
0.207171
0.207171
0.12749
0.12749
0
0.016706
0.156376
1,490
36
116
41.388889
0.782021
0
0
0
0
0
0.147651
0.07651
0
0
0
0
0.423077
1
0.115385
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
7f9c8dc6502277cee6d449f6878ecff4b464a9ee
1,782
py
Python
assets/lib/functions/database.py
Nuk3lar/NATO-Bot
3775ae42055c5e91f8c071af5f5973b17abccc31
[ "MIT" ]
null
null
null
assets/lib/functions/database.py
Nuk3lar/NATO-Bot
3775ae42055c5e91f8c071af5f5973b17abccc31
[ "MIT" ]
null
null
null
assets/lib/functions/database.py
Nuk3lar/NATO-Bot
3775ae42055c5e91f8c071af5f5973b17abccc31
[ "MIT" ]
null
null
null
# SQL Module import MySQLdb def TEST_RUN(): from config.confmain import dbconnect db = dbconnect() db[0].close() def get_users(db): get_users = "SELECT id FROM users" db[1].execute(get_users) return [item[0] for item in db[1].fetchall()] def add_user(db, user, rank): query = "INSERT INT...
26.597015
85
0.609428
283
1,782
3.777385
0.183746
0.042095
0.1029
0.140318
0.353602
0.278765
0.278765
0.278765
0.166511
0.08232
0
0.018786
0.223345
1,782
66
86
27
0.753613
0.005612
0
0.044444
0
0.022222
0.225424
0
0
0
0
0
0
1
0.244444
false
0
0.044444
0
0.377778
0
0
0
0
null
0
0
0
0
0
0
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
7f9eb6f7adcc1dc6f1a2c4b1891e1af52de709d2
566
py
Python
library/lib/library/genre.py
efulet/library-sample
d855247028a8b1c5408fc54a5a39c4abe73d24e7
[ "MIT" ]
null
null
null
library/lib/library/genre.py
efulet/library-sample
d855247028a8b1c5408fc54a5a39c4abe73d24e7
[ "MIT" ]
null
null
null
library/lib/library/genre.py
efulet/library-sample
d855247028a8b1c5408fc54a5a39c4abe73d24e7
[ "MIT" ]
null
null
null
""" Define the implementation for Genre. Enums have been added to Python 3.4 as described in PEP 435. It has also been backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4 on pypi. Please install: $> pip install enum34 @created_at 2015-05-16 @author Exequiel Fuentes Lettura <efulet@gmail.com> """ from enum import ...
21.769231
78
0.69258
96
566
4.041667
0.739583
0.010309
0
0
0
0
0
0
0
0
0
0.074324
0.215548
566
25
79
22.64
0.79955
0.722615
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
0
0
0
0
0
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
7fa00aca19352a3c3bb64086161e93228165267a
12,275
py
Python
CombineFomApp.py
johnmgregoire/JCAPDataProcess
c8120e5b2f8fc840a6307b40293dccaf94bd8c2c
[ "BSD-3-Clause" ]
5
2017-03-24T21:05:22.000Z
2021-09-15T18:18:05.000Z
CombineFomApp.py
johnmgregoire/JCAPDataProcess
c8120e5b2f8fc840a6307b40293dccaf94bd8c2c
[ "BSD-3-Clause" ]
null
null
null
CombineFomApp.py
johnmgregoire/JCAPDataProcess
c8120e5b2f8fc840a6307b40293dccaf94bd8c2c
[ "BSD-3-Clause" ]
null
null
null
import csv import os, os.path import sys import numpy from PyQt4.QtCore import * from PyQt4.QtGui import * if __name__ == "__main__": import os, sys projectpath=os.path.split(os.path.abspath(__file__))[0] sys.path.append(os.path.join(projectpath,'AuxPrograms')) from fcns_math import * from fcns_io import ...
35.37464
157
0.582892
1,298
12,275
5.4453
0.191063
0.055178
0.025467
0.0382
0.45416
0.428693
0.428693
0.405631
0.404782
0.378749
0
0.010852
0.286843
12,275
346
158
35.476879
0.79655
0.032994
0
0.385496
0
0
0.05646
0.003123
0
0
0
0
0
0
null
null
0
0.034351
null
null
0.003817
0
0
0
null
0
0
0
0
0
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
7fa45120566f6e66b1161eb3ddc49d8249a2ea66
3,901
py
Python
mi/dataset/parser/flort_kn__stc_imodem.py
rmanoni/mi-dataset
c1012a0cd8f2ea075e008cdd1ab291ed54f44d43
[ "BSD-2-Clause" ]
1
2015-05-10T01:08:44.000Z
2015-05-10T01:08:44.000Z
mi/dataset/parser/flort_kn__stc_imodem.py
rmanoni/mi-dataset
c1012a0cd8f2ea075e008cdd1ab291ed54f44d43
[ "BSD-2-Clause" ]
null
null
null
mi/dataset/parser/flort_kn__stc_imodem.py
rmanoni/mi-dataset
c1012a0cd8f2ea075e008cdd1ab291ed54f44d43
[ "BSD-2-Clause" ]
9
2015-04-15T21:09:08.000Z
2019-11-15T03:18:53.000Z
#!/usr/bin/env python """ @package mi.dataset.parser.flort_kn__stc_imodem @file marine-integrations/mi/dataset/parser/flort_kn__stc_imodem.py @author Emily Hahn @brief Parser for the FLORT_KN__STC_IMODEM dataset driver (both recovered and telemetered) Release notes: initial release """ __author__ = 'Emil...
37.873786
118
0.719046
459
3,901
5.729847
0.302832
0.069202
0.079848
0.042586
0.279087
0.23346
0.211407
0.168061
0.124715
0.124715
0
0.002604
0.21251
3,901
102
119
38.245098
0.853516
0.212253
0
0
0
0
0.108573
0.039353
0
0
0
0
0
1
0.042553
false
0
0.191489
0
0.595745
0
0
0
0
null
0
0
0
0
0
0
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
7fa65a7d3751f2bd316d7300a9d99b95b40fb832
979
py
Python
info/models.py
ycy-tw/python-django-stock
263a926ae6aa8248fd4c4e8d767c5dc9d522e4c0
[ "MIT" ]
2
2021-04-25T07:01:01.000Z
2021-05-07T10:17:26.000Z
info/models.py
ycy-tw/python-django-stock
263a926ae6aa8248fd4c4e8d767c5dc9d522e4c0
[ "MIT" ]
null
null
null
info/models.py
ycy-tw/python-django-stock
263a926ae6aa8248fd4c4e8d767c5dc9d522e4c0
[ "MIT" ]
null
null
null
from django.db import models class StockBasic(models.Model): symbol = models.IntegerField() name = models.CharField(max_length=150) capital = models.IntegerField() industry = models.CharField(max_length=150) listed_date = models.DateField() class StockPrice(models.Model): date = models.Dat...
25.763158
47
0.695608
100
979
6.74
0.42
0.320475
0.106825
0.071217
0.240356
0.160237
0.160237
0.160237
0
0
0
0.007576
0.191011
979
37
48
26.459459
0.843434
0
0
0.178571
0
0
0
0
0
0
0
0
0
1
0
false
0
0.035714
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7fa94d0c36ae17fb7490233a6caf6c47c8509aba
5,305
py
Python
supports/pyload/src/pyload/plugins/decrypters/SexuriaCom.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
1
2020-04-02T17:03:39.000Z
2020-04-02T17:03:39.000Z
supports/pyload/src/pyload/plugins/decrypters/SexuriaCom.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
null
null
null
supports/pyload/src/pyload/plugins/decrypters/SexuriaCom.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import re from ..base.decrypter import BaseDecrypter class SexuriaCom(BaseDecrypter): __name__ = "SexuriaCom" __type__ = "decrypter" __version__ = "0.15" __status__ = "testing" __pyload_version__ = "0.5" __pattern__ = r"http://(?:www\.)?sexuria\.com/(v1/)?(Pornos_Kos...
38.165468
141
0.531008
589
5,305
4.582343
0.269949
0.040756
0.026677
0.031493
0.290848
0.250463
0.139311
0.091145
0.091145
0.061504
0
0.003933
0.328935
5,305
138
142
38.442029
0.754213
0.053911
0
0.118182
0
0.036364
0.246105
0.021175
0
0
0
0
0
1
0.018182
false
0.090909
0.018182
0
0.218182
0
0
0
0
null
0
0
0
0
0
0
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
7faa85dd7164abc5cf2a876e02a9cd836cf45628
5,624
py
Python
DataVisualization/GraphGenerator.py
DavidHdezU/TwitterDataAnalyser
a003c046a39cdb18f8b4efe7f7db1a5959736fe5
[ "MIT" ]
null
null
null
DataVisualization/GraphGenerator.py
DavidHdezU/TwitterDataAnalyser
a003c046a39cdb18f8b4efe7f7db1a5959736fe5
[ "MIT" ]
null
null
null
DataVisualization/GraphGenerator.py
DavidHdezU/TwitterDataAnalyser
a003c046a39cdb18f8b4efe7f7db1a5959736fe5
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import os from PIL import Image from wordcloud import WordCloud, STOPWORDS, ImageColorGenerator import matplotlib.pyplot as plt import seaborn as sns class GraphGenerator(): """ A class that generates graphs to visualize data """ def create_wordcloud(self, freq_di...
33.278107
153
0.602596
674
5,624
4.827893
0.173591
0.09957
0.055317
0.040565
0.698218
0.692071
0.692071
0.681315
0.674554
0.674554
0
0.012548
0.305654
5,624
168
154
33.47619
0.820743
0.371266
0
0.522388
0
0
0.005433
0
0
0
0
0.005952
0
1
0.134328
false
0
0.104478
0
0.253731
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
7fb8436c321cd41d538c60fc97d0a72987f9c800
1,837
py
Python
app.py
dev-ng/report-text-extraction
1a476bdd3c5d835ccdf736588184b014bd8a20f1
[ "BSD-3-Clause" ]
null
null
null
app.py
dev-ng/report-text-extraction
1a476bdd3c5d835ccdf736588184b014bd8a20f1
[ "BSD-3-Clause" ]
null
null
null
app.py
dev-ng/report-text-extraction
1a476bdd3c5d835ccdf736588184b014bd8a20f1
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding:utf-8 -*- import os from flask import Flask, request, jsonify, send_from_directory, redirect # , send_file from flask_cors import CORS from flask_httpauth import HTTPBasicAuth import lng import pdf import storage import services app = Flask(__name__) auth = HTTPBasicAuth() CORS(app) ...
26.623188
105
0.686445
247
1,837
4.959514
0.388664
0.042449
0.044082
0.032653
0.096327
0.057143
0
0
0
0
0
0.011749
0.166032
1,837
68
106
27.014706
0.787859
0.075667
0
0.045455
0
0
0.1772
0
0
0
0
0
0.045455
1
0.136364
false
0.068182
0.181818
0.068182
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
7fb884cdf3b199693369a238fa941c8032007550
510
py
Python
205-isomorphic-strings/205-isomorphic-strings.py
marzy-bn/Leetcode_2022
07d6b9050279e82f610ed4a54209b33db3e3f8f9
[ "MIT" ]
null
null
null
205-isomorphic-strings/205-isomorphic-strings.py
marzy-bn/Leetcode_2022
07d6b9050279e82f610ed4a54209b33db3e3f8f9
[ "MIT" ]
null
null
null
205-isomorphic-strings/205-isomorphic-strings.py
marzy-bn/Leetcode_2022
07d6b9050279e82f610ed4a54209b33db3e3f8f9
[ "MIT" ]
null
null
null
class Solution: def isIsomorphic(self, s: str, t: str) -> bool: lookup = {} out = [] i = 0 for l1 in s: if l1 not in lookup: lookup[l1] = i i += 1 out.append(lookup[l1]) lookup2 = {} i = 0 out2 =...
24.285714
51
0.366667
57
510
3.280702
0.421053
0.02139
0.032086
0
0
0
0
0
0
0
0
0.080169
0.535294
510
21
52
24.285714
0.708861
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7fb891be986425209fac4babd0667c2c41294a2b
683
py
Python
setup.py
simon-weber/kleroteria
750ddf926ad0c4ab993bdde5c2f05edc1c2a2ba5
[ "Apache-2.0" ]
6
2020-12-01T01:41:07.000Z
2021-03-10T05:18:22.000Z
setup.py
simon-weber/kleroteria
750ddf926ad0c4ab993bdde5c2f05edc1c2a2ba5
[ "Apache-2.0" ]
null
null
null
setup.py
simon-weber/kleroteria
750ddf926ad0c4ab993bdde5c2f05edc1c2a2ba5
[ "Apache-2.0" ]
null
null
null
from codecs import open import re from setuptools import setup, find_packages setup( name='kleroteria', # this version doesn't really mean anything since this ships as an app. # it's also hardcoded in the requirements files. version='0.0.1', description='An email lottery and spiritual successor to ...
23.551724
77
0.660322
82
683
5.426829
0.817073
0.053933
0
0
0
0
0
0
0
0
0
0.013333
0.231332
683
28
78
24.392857
0.834286
0.169839
0
0.1
0
0
0.35461
0.037234
0
0
0
0
0
1
0
true
0
0.15
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
7fc041998c5f911ec0835b904ff421afbc6ae394
594
py
Python
webapp/extensions.py
openbikebox/open-bike-box-connect
ed153dd191c75810cbd2d9b74aee2962380a54d0
[ "MIT" ]
1
2021-04-07T18:42:41.000Z
2021-04-07T18:42:41.000Z
webapp/extensions.py
openbikebox/open-bike-box-connect
ed153dd191c75810cbd2d9b74aee2962380a54d0
[ "MIT" ]
null
null
null
webapp/extensions.py
openbikebox/open-bike-box-connect
ed153dd191c75810cbd2d9b74aee2962380a54d0
[ "MIT" ]
1
2021-04-07T18:42:55.000Z
2021-04-07T18:42:55.000Z
# encoding: utf-8 """ open booking connect Copyright (c) 2021, binary butterfly GmbH Use of this source code is governed by an MIT-style license that can be found in the LICENSE file. """ from .common.database import QuartDatabase db = QuartDatabase() from .common.logger import Logger logger = Logger() from .common...
22.846154
98
0.781145
80
594
5.75
0.5875
0.130435
0.065217
0
0
0
0
0
0
0
0
0.009785
0.139731
594
25
99
23.76
0.890411
0.299663
0
0
0
0
0.04902
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f6871130aca8bc035570cfce18414c9e75c78265
238
py
Python
lpthw/ex15p2.py
jaredmanning/learning
1d1767ea78a8f9f72275b18147d47bfc44a1696e
[ "MIT" ]
null
null
null
lpthw/ex15p2.py
jaredmanning/learning
1d1767ea78a8f9f72275b18147d47bfc44a1696e
[ "MIT" ]
null
null
null
lpthw/ex15p2.py
jaredmanning/learning
1d1767ea78a8f9f72275b18147d47bfc44a1696e
[ "MIT" ]
null
null
null
from sys import argv script, filename = argv # First we open the file that was created in the normal excercise textfile = open(filename) #Next we print its contents print textfile.read() # Now we close the damn thing textfile.close()
18.307692
65
0.760504
38
238
4.763158
0.710526
0
0
0
0
0
0
0
0
0
0
0
0.180672
238
12
66
19.833333
0.928205
0.491597
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.2
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
f687ceae557a30b4c24e95330633294a15df8931
1,029
py
Python
src/lib/StandardSensorSweep.py
sredbull/steep-hooked
8a624927a22f39c728dc116e059ab1639daadbc1
[ "MIT" ]
null
null
null
src/lib/StandardSensorSweep.py
sredbull/steep-hooked
8a624927a22f39c728dc116e059ab1639daadbc1
[ "MIT" ]
16
2021-12-22T20:26:29.000Z
2022-03-01T00:08:04.000Z
src/lib/StandardSensorSweep.py
sredbull/steep-hooked
8a624927a22f39c728dc116e059ab1639daadbc1
[ "MIT" ]
null
null
null
from sensorSimulation import sweeper from System.Timers import Timer eventTimer = Timer(1000) sweepCadence = sweeper() sweepCadence.minValue = 0.0 sweepCadence.maxValue = 254.0 sweepCadence.sweepTime = 60 sweepCadence.constantTime = 5.0 eventCount = 1 logScriptEvent("Sweeping Instantaneous Power & Ins...
27.810811
74
0.782313
94
1,029
8.574468
0.457447
0.193548
0.08933
0.114144
0.223325
0.223325
0.223325
0
0
0
0
0.017978
0.135083
1,029
36
75
28.583333
0.886517
0
0
0.137931
0
0
0.055444
0
0
0
0
0
0
0
null
null
0
0.068966
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
f68ee06b4403b24127d1bc436027460ec0d3f2b5
2,658
py
Python
Console/Module/ClassBroadcast.py
yangzhongtian001/PYCM
081e200cf53024c45d94f9896bafdde0e23e0aa4
[ "Apache-2.0" ]
29
2021-02-01T12:30:19.000Z
2022-03-24T13:40:34.000Z
Console/Module/ClassBroadcast.py
yangzhongtian001/PYCM
081e200cf53024c45d94f9896bafdde0e23e0aa4
[ "Apache-2.0" ]
4
2021-02-01T12:33:52.000Z
2021-11-06T02:27:21.000Z
Console/Module/ClassBroadcast.py
yangzhongtian001/PYCM
081e200cf53024c45d94f9896bafdde0e23e0aa4
[ "Apache-2.0" ]
18
2021-11-16T15:28:27.000Z
2022-03-17T00:09:42.000Z
from PyQt5.QtCore import QObject import socket import struct import base64 from Module.Packages import ClassBroadcastFlag class ClassBroadcast(QObject): current_ip = None socket_ip = None socket_port = None socket_buffer_size = None socket_obj = None def __init__(self, config): super(...
39.671642
100
0.701279
335
2,658
5.313433
0.277612
0.061798
0.036517
0.087079
0.221348
0.150562
0.150562
0.051685
0.051685
0
0
0.009736
0.188488
2,658
66
101
40.272727
0.815484
0
0
0
0
0
0.062077
0.042513
0
0
0
0
0
1
0.207547
false
0
0.09434
0
0.415094
0
0
0
0
null
0
0
0
0
0
0
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
f692b2b698a75b104d98d5b6025c0874f29e10b4
279
py
Python
ArticleSpider/utils/zhihu_login.py
zxjlm/ArticleSpider
0fdfa29733c1739ddb230cf15f9331ea2122905c
[ "MIT" ]
null
null
null
ArticleSpider/utils/zhihu_login.py
zxjlm/ArticleSpider
0fdfa29733c1739ddb230cf15f9331ea2122905c
[ "MIT" ]
null
null
null
ArticleSpider/utils/zhihu_login.py
zxjlm/ArticleSpider
0fdfa29733c1739ddb230cf15f9331ea2122905c
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- __author__ = 'harumonia' import requests import cookiejar as cookielib import re def zhihulogin(account,pwd): if re.match("1\d{10}",account): print("shoujihaomadenglu") url_post='https://www.zhihu.com/signin' req=requests.get()
18.6
47
0.666667
36
279
5.027778
0.861111
0
0
0
0
0
0
0
0
0
0
0.017467
0.179211
279
15
48
18.6
0.772926
0.071685
0
0
0
0
0.236434
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f695a0f7bbf428a5741cd48621797ea600fe6aa3
1,898
py
Python
twitter/dbconnect.py
madeleinel/womentor
3623ced61a2ee81e9d403d4011e3830c36e50918
[ "MIT" ]
2
2017-03-16T09:11:54.000Z
2017-03-24T13:29:15.000Z
twitter/dbconnect.py
madeleinel/womentor
3623ced61a2ee81e9d403d4011e3830c36e50918
[ "MIT" ]
42
2017-03-12T10:08:18.000Z
2017-04-05T11:08:21.000Z
twitter/dbconnect.py
madeleinel/womentor
3623ced61a2ee81e9d403d4011e3830c36e50918
[ "MIT" ]
1
2017-04-03T17:12:37.000Z
2017-04-03T17:12:37.000Z
from configvars import database_url from sqlalchemy import * from sqlalchemy.orm import relationship from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm.session import sessionmaker engine = create_engine(database_url) Session = sessionmaker(bind=engine) session = Session() # # now session is a...
34.509091
78
0.721286
236
1,898
5.597458
0.275424
0.13626
0.15897
0.069644
0.277063
0.193036
0.124905
0.124905
0.124905
0.124905
0
0.034183
0.152266
1,898
54
79
35.148148
0.786824
0.096944
0
0.142857
0
0
0.066823
0
0
0
0
0
0
1
0
false
0
0.119048
0
0.904762
0
0
0
0
null
0
0
0
0
0
0
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
f697902655c546a9b52d9b54de085df083209dfb
2,120
py
Python
app.py
zelihaerim/ToDoAppWithFlask
c4c904976a25e4781a6366ec753f2ac7774be2c3
[ "Apache-2.0" ]
null
null
null
app.py
zelihaerim/ToDoAppWithFlask
c4c904976a25e4781a6366ec753f2ac7774be2c3
[ "Apache-2.0" ]
null
null
null
app.py
zelihaerim/ToDoAppWithFlask
c4c904976a25e4781a6366ec753f2ac7774be2c3
[ "Apache-2.0" ]
null
null
null
from flask import Flask,render_template,request from flask.globals import request from flask.helpers import url_for from werkzeug.utils import redirect from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////Users/Zeliha/Desktop/TodoApp/todo.db' db = SQLAlchem...
32.121212
89
0.690566
298
2,120
4.822148
0.352349
0.03897
0.048713
0.043841
0.244955
0.244955
0.244955
0.205985
0.111343
0.066806
0
0.006108
0.150472
2,120
66
90
32.121212
0.791782
0.10566
0
0.195652
0
0
0.122971
0.056804
0
0
0
0.030303
0
1
0.108696
false
0
0.108696
0
0.434783
0
0
0
0
null
0
0
0
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
f697ec6fc787c238ea294d841019f5bb361224e4
4,558
py
Python
knn_kdtree.py
zhoucen/ml
8f0386f57597f3f25ff2e844f682325ed7d97f20
[ "MIT" ]
1
2015-06-17T04:30:40.000Z
2015-06-17T04:30:40.000Z
knn_kdtree.py
zhoucen/ml
8f0386f57597f3f25ff2e844f682325ed7d97f20
[ "MIT" ]
null
null
null
knn_kdtree.py
zhoucen/ml
8f0386f57597f3f25ff2e844f682325ed7d97f20
[ "MIT" ]
null
null
null
#coding=utf-8 import os import math import collections class KdNode(object): """docstring for KdNode""" def __init__(self, train_set): super(KdNode, self).__init__() self.train_set = train_set self.dot = None self.dimension = None self.left_set = None self.left_...
31.652778
126
0.529399
590
4,558
3.89661
0.183051
0.041757
0.031318
0.034798
0.249674
0.230535
0.181818
0.15224
0.036538
0.036538
0
0.017271
0.352128
4,558
144
127
31.652778
0.76126
0.016893
0
0.191304
0
0
0.003618
0
0
0
0
0
0
0
null
null
0
0.026087
null
null
0.008696
0
0
0
null
0
0
0
0
0
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
f698dad22020589950c8089c9875710976db064e
502
py
Python
lit_main.py
Mindful/gector
92d13263a9ccf402070ee1ec5825de1f8c28fc14
[ "Apache-2.0" ]
null
null
null
lit_main.py
Mindful/gector
92d13263a9ccf402070ee1ec5825de1f8c28fc14
[ "Apache-2.0" ]
null
null
null
lit_main.py
Mindful/gector
92d13263a9ccf402070ee1ec5825de1f8c28fc14
[ "Apache-2.0" ]
null
null
null
from lit_nlp import dev_server from lit_nlp import server_flags from absl import app from lit_classes import GectorBertModel, GeceProdigyData def main(_): models = {"gector": GectorBertModel('bert_0_gector.th')} datasets = {"test_data": GeceProdigyData('test_sample.jsonl')} # Start the LIT server. See s...
26.421053
78
0.741036
69
502
5.043478
0.521739
0.060345
0.057471
0.091954
0
0
0
0
0
0
0
0.002358
0.155378
502
18
79
27.888889
0.818396
0.121514
0
0
0
0
0.127563
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f69b35574cfb6a7f842438c399bfb0ddf88909e6
3,972
py
Python
old_phase_gen.py
cthom055/gen_audio_rnn
bb244a538cf83ae283bc490d6f9f0d245f4e6cc0
[ "MIT" ]
1
2020-01-09T06:45:18.000Z
2020-01-09T06:45:18.000Z
old_phase_gen.py
cthom055/gen_audio_rnn
bb244a538cf83ae283bc490d6f9f0d245f4e6cc0
[ "MIT" ]
null
null
null
old_phase_gen.py
cthom055/gen_audio_rnn
bb244a538cf83ae283bc490d6f9f0d245f4e6cc0
[ "MIT" ]
null
null
null
#This python script acts a function library used by the other files to the generate phases. # coding: utf-8 # In[13]: #inport nessessary libraries. import os import numpy as np import librosa # In[9]: #Polar to read convertion of numpy matricies def polar2real(mag, angle): #Matrix of magnitudes * the exponent ...
43.173913
171
0.73716
644
3,972
4.419255
0.332298
0.039353
0.031975
0.026704
0.063949
0.055517
0.037245
0.037245
0
0
0
0.022642
0.199396
3,972
92
172
43.173913
0.872327
0.626636
0
0
1
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.107143
0.035714
0.392857
0
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
f69b801d1aad3f7c50691c620ba96ade26870d95
8,145
py
Python
kite-python/kite_pkgexploration/kite/pkgexploration/reflectutils.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
17
2022-01-10T11:01:50.000Z
2022-03-25T03:21:08.000Z
kite-python/kite_pkgexploration/kite/pkgexploration/reflectutils.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
1
2022-01-13T14:28:47.000Z
2022-01-13T14:28:47.000Z
kite-python/kite_pkgexploration/kite/pkgexploration/reflectutils.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
7
2022-01-07T03:58:10.000Z
2022-03-24T07:38:20.000Z
import inspect import logging import re import sys from .runtime.qualname import get_qualname from .runtime.decorated import get_decorated try: # py2/3 compatibility basestring except NameError: basestring = (str, bytes) try: import builtins except ImportError: import __builtin__ as builtins _PY3 =...
31.206897
130
0.641621
1,005
8,145
5.021891
0.277612
0.023182
0.033882
0.018229
0.081633
0.057856
0.032891
0.017832
0
0
0
0.004057
0.273665
8,145
260
131
31.326923
0.849053
0.282996
0
0.260116
0
0
0.070617
0.003671
0
0
0
0.003846
0
1
0.063584
false
0.052023
0.057803
0
0.277457
0
0
0
0
null
0
0
0
0
0
0
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
f69f1fed5cdb673fcdaeff3944d87246ff0fa59c
1,846
py
Python
custom_components/envoystream/config_flow.py
PoppyPop/integration_envoystream
8faf951e30c9fae5cea1cf13a56255cd291dd569
[ "MIT" ]
null
null
null
custom_components/envoystream/config_flow.py
PoppyPop/integration_envoystream
8faf951e30c9fae5cea1cf13a56255cd291dd569
[ "MIT" ]
28
2022-01-26T18:22:37.000Z
2022-03-31T18:23:34.000Z
custom_components/envoystream/config_flow.py
PoppyPop/integration_envoystream
8faf951e30c9fae5cea1cf13a56255cd291dd569
[ "MIT" ]
null
null
null
"""Config flow for IRegul integration.""" from __future__ import annotations import logging from typing import Any import voluptuous as vol from homeassistant import config_entries from homeassistant.core import HomeAssistant from .const import CONF_HOST from .const import CONF_PASSWORD from .const import CONF_USERN...
27.969697
86
0.686891
235
1,846
5.153191
0.370213
0.046243
0.069364
0.059455
0.110652
0.110652
0.110652
0.110652
0.110652
0.110652
0
0.000702
0.228602
1,846
65
87
28.4
0.849719
0.053088
0
0.04878
0
0
0.027511
0
0
0
0
0
0
1
0
false
0.073171
0.268293
0
0.439024
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f6a5507a124cc84322328feab772d57c8ebeb1a8
772
py
Python
markdown2pdf/css_styles.py
simao-ferreira/markdown-resume
c01fd8700e40d2eda4ba7ea3a03be13b00d0709c
[ "MIT" ]
null
null
null
markdown2pdf/css_styles.py
simao-ferreira/markdown-resume
c01fd8700e40d2eda4ba7ea3a03be13b00d0709c
[ "MIT" ]
null
null
null
markdown2pdf/css_styles.py
simao-ferreira/markdown-resume
c01fd8700e40d2eda4ba7ea3a03be13b00d0709c
[ "MIT" ]
null
null
null
import os from settings import STYLES_DIR class CssStyles: bar_style = os.path.join(STYLES_DIR, "bar-style.css") divider_style = os.path.join(STYLES_DIR, "divider-style.css") simple_style = os.path.join(STYLES_DIR, "simple-style.css") default_style = simple_style @staticmethod def stylenames...
29.692308
69
0.651554
104
772
4.673077
0.423077
0.092593
0.067901
0.092593
0.148148
0.148148
0
0
0
0
0
0.016639
0.221503
772
25
70
30.88
0.792013
0.09456
0
0
0
0
0.12936
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.588235
0.176471
0
0
0
null
0
0
0
0
0
0
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
f6a60d0fa2163b6eee0c0cf66c93273831f0ea5e
33,075
py
Python
configuration_driver.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
null
null
null
configuration_driver.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
1
2019-10-22T21:28:31.000Z
2019-10-22T21:39:12.000Z
configuration_driver.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
2
2019-06-06T15:06:46.000Z
2020-07-20T02:03:22.000Z
""" Data base save and recall motor positions Author: Friedrich Schotte Date created: 2013-11-29 Date last modified: 2019-05-28 """ __version__ = "4.1.2" # "%s.line%d.%s" % (..,int(row),..): ValueError: cannot convert float NaN to integer from logging import debug,info,warn,error import numpy numpy.warnings.filterwarn...
39.993954
106
0.641391
4,072
33,075
4.993124
0.090373
0.030297
0.00905
0.008263
0.361893
0.286888
0.251377
0.219801
0.2048
0.183455
0
0.004776
0.253001
33,075
826
107
40.042373
0.818149
0.058957
0
0.294702
0
0.001656
0.036573
0.00303
0
0
0
0
0
0
null
null
0.001656
0.069536
null
null
0.009934
0
0
0
null
0
0
0
0
0
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
f6ab1104eb009ad9680af17ef349cc7bccac8a09
204
py
Python
Inventario/baixa/urls.py
FuryAndRage/InventarioTeste
6ee92fc2e209863558082f8bd88be88dfaaa1c76
[ "Unlicense" ]
null
null
null
Inventario/baixa/urls.py
FuryAndRage/InventarioTeste
6ee92fc2e209863558082f8bd88be88dfaaa1c76
[ "Unlicense" ]
null
null
null
Inventario/baixa/urls.py
FuryAndRage/InventarioTeste
6ee92fc2e209863558082f8bd88be88dfaaa1c76
[ "Unlicense" ]
null
null
null
from django.urls import path from . import views app_name='baixa' urlpatterns = [ path('log/', views.log_baixa, name='log_baixa'), path('<int:pk>/produto/', views.baixa_produto, name='baixa_produto') ]
25.5
69
0.72549
30
204
4.766667
0.466667
0.125874
0
0
0
0
0
0
0
0
0
0
0.102941
204
8
70
25.5
0.781421
0
0
0
0
0
0.234146
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
f6aee9f9d96c710dc628f8ed454d998f3e896d5b
923
py
Python
setup.py
newliver/tencentyun-porndetect
0941931fd78f49c530e2071248114721154b3c9e
[ "MIT" ]
18
2016-05-11T12:19:42.000Z
2021-10-03T10:43:21.000Z
setup.py
newliver/tencentyun-porndetect
0941931fd78f49c530e2071248114721154b3c9e
[ "MIT" ]
null
null
null
setup.py
newliver/tencentyun-porndetect
0941931fd78f49c530e2071248114721154b3c9e
[ "MIT" ]
5
2015-12-01T04:00:28.000Z
2020-01-19T13:18:34.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- from os import path from codecs import open try: from setuptools import setup except ImportError: from distutils.core import setup here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description =...
23.666667
63
0.704225
104
923
6.057692
0.567308
0.222222
0.038095
0
0
0
0
0
0
0
0
0.002594
0.16468
923
38
64
24.289474
0.814527
0.047671
0
0
0
0
0.255416
0.071836
0
0
0
0
0
1
0
false
0
0.206897
0
0.206897
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
f6b2c3a5a820b975a2e3e297c5d76cb1dc060bb6
5,322
py
Python
bibtex_interface/import_bibtex_file.py
julio-navarro-lara/biblio
3a86b9133d6470e89425e7a1fdea72cef0b6528b
[ "Apache-2.0" ]
1
2020-09-23T11:54:16.000Z
2020-09-23T11:54:16.000Z
bibtex_interface/import_bibtex_file.py
julio-navarro-lara/biblio
3a86b9133d6470e89425e7a1fdea72cef0b6528b
[ "Apache-2.0" ]
null
null
null
bibtex_interface/import_bibtex_file.py
julio-navarro-lara/biblio
3a86b9133d6470e89425e7a1fdea72cef0b6528b
[ "Apache-2.0" ]
null
null
null
#Copyright 2018 Julio Navarro #Built at the University of Strasbourg (France). CSTB team @ ICube laboratory # -*- coding: utf-8 -*- import sys sys.path.insert(0,'../') sys.path.insert(0,'../database_queries/') from database_queries_biblio import * import bibtexparser import codecs import unidecode def recover_acce...
29.731844
105
0.649192
706
5,322
4.586402
0.203966
0.11118
0.05559
0.069487
0.278258
0.177888
0.139592
0.139592
0.139592
0.116739
0
0.009669
0.222661
5,322
178
106
29.898876
0.773024
0.047914
0
0.04065
0
0
0.13199
0.004545
0
0
0
0
0
0
null
null
0
0.073171
null
null
0.056911
0
0
0
null
0
0
0
0
0
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
f6ba94639224284f876fee2bcfe84861cc05d4cf
2,743
py
Python
slideshows/views.py
hossein20s/emencia-django-slideshows
83b194be3943573bf3b6ed7a3839bbbcc949df67
[ "MIT" ]
null
null
null
slideshows/views.py
hossein20s/emencia-django-slideshows
83b194be3943573bf3b6ed7a3839bbbcc949df67
[ "MIT" ]
null
null
null
slideshows/views.py
hossein20s/emencia-django-slideshows
83b194be3943573bf3b6ed7a3839bbbcc949df67
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Views """ import random from django.db.models import Count from django import template from django.views.generic.detail import DetailView from django.utils.safestring import mark_safe from slideshows.models import Slideshow, DEFAULT_SLIDESHOWS_TEMPLATE, DEFAULT_SLIDESHOWS_RANDOM_SLIDE_TEMP...
31.895349
110
0.683558
313
2,743
5.840256
0.306709
0.019694
0.030635
0.030635
0.272429
0.159737
0.086433
0.04267
0
0
0
0.001884
0.22603
2,743
85
111
32.270588
0.859162
0.294203
0
0.216216
0
0
0.042565
0
0
0
0
0
0
1
0.162162
false
0
0.162162
0.054054
0.675676
0
0
0
0
null
0
0
0
0
0
0
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
f6baeadb060a169301ac91bc55252c337b0c1960
12,212
py
Python
preprocessing_2.0/entityExtraction/code/addEntitiesToText.py
ahsi/Multilingual_Event_Extraction
eed002e864e16dc06c2b2970267b1465adcf825c
[ "MIT" ]
34
2017-11-28T12:23:00.000Z
2022-01-19T16:10:52.000Z
preprocessing_2.0/entityExtraction/code/addEntitiesToText.py
ahsi/Multilingual_Event_Extraction
eed002e864e16dc06c2b2970267b1465adcf825c
[ "MIT" ]
3
2018-12-24T09:53:45.000Z
2019-11-19T03:26:41.000Z
preprocessing_2.0/entityExtraction/code/addEntitiesToText.py
ahsi/Multilingual_Event_Extraction
eed002e864e16dc06c2b2970267b1465adcf825c
[ "MIT" ]
9
2018-01-16T03:37:17.000Z
2021-11-05T21:18:07.000Z
import sys import xml.etree.ElementTree as ET import string from xml.sax.saxutils import escape # set to maintain unique coref labels across all entities corefSet = set() def processEvents(root, triggerDict, argDict): if root.tag == "event": eventType = root.attrib["TYPE"] eventSubtype = root.attr...
34.016713
135
0.560432
1,202
12,212
5.670549
0.168053
0.018486
0.029343
0.039026
0.440141
0.37632
0.301496
0.279049
0.266725
0.218897
0
0.005893
0.333033
12,212
358
136
34.111732
0.830939
0.073534
0
0.388278
0
0
0.051625
0.001948
0
0
0
0
0
0
null
null
0
0.014652
null
null
0.010989
0
0
0
null
0
0
0
0
0
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
f6c2888bef0b0d4bea8c7f3b58dc3320eb64f8f4
3,411
py
Python
pydmap_read.py
loxodes/SuperDARN_pydmap_write
63b08e77a7725ff8e73e3d011880ca1b71649ce1
[ "MIT" ]
null
null
null
pydmap_read.py
loxodes/SuperDARN_pydmap_write
63b08e77a7725ff8e73e3d011880ca1b71649ce1
[ "MIT" ]
null
null
null
pydmap_read.py
loxodes/SuperDARN_pydmap_write
63b08e77a7725ff8e73e3d011880ca1b71649ce1
[ "MIT" ]
null
null
null
# script for reading in dmap strings over a socket into a dictionary # 7/1/2015 # jon klein, jtklein@alaska.edu import numpy as np import pdb import socket import time import json import datetime import time DATACODE = 33 DATACHAR = 1 DATASHORT = 2 DATAINT = 3 DATAFLOAT = 4 DATADOUBLE = 8 DATASTRING = 9 DATALONG = 1...
24.021127
95
0.602756
428
3,411
4.714953
0.352804
0.053518
0.077304
0.066898
0.157582
0.083251
0.083251
0.049554
0.049554
0.049554
0
0.029571
0.296101
3,411
141
96
24.191489
0.810912
0.093814
0
0.133333
0
0
0.016548
0.007463
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.019048
0
0
0
null
0
0
0
0
0
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
f6c590d35cefe876370b91aaeb9f5e4722545073
451
py
Python
library/migrations/0011_auto_20200703_0906.py
moonbirddk/networked-toolbox
b059b77bfda173794b3cad55874cb06edc70d0e1
[ "BSD-2-Clause-FreeBSD" ]
2
2016-09-02T12:45:31.000Z
2018-02-10T10:18:11.000Z
library/migrations/0011_auto_20200703_0906.py
Socialsquare/networked-toolbox
b059b77bfda173794b3cad55874cb06edc70d0e1
[ "BSD-2-Clause-FreeBSD" ]
17
2020-03-24T15:58:05.000Z
2022-02-10T08:08:57.000Z
library/migrations/0011_auto_20200703_0906.py
moonbirddk/networked-toolbox
b059b77bfda173794b3cad55874cb06edc70d0e1
[ "BSD-2-Clause-FreeBSD" ]
1
2018-01-05T08:02:18.000Z
2018-01-05T08:02:18.000Z
# Generated by Django 2.2.8 on 2020-07-03 09:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('library', '0010_onlinecourse_course_url'), ] operations = [ migrations.AlterField( model_name='onlinecourse', name='...
23.736842
100
0.629712
51
451
5.431373
0.72549
0.097473
0.093863
0
0
0
0
0
0
0
0
0.065476
0.254989
451
18
101
25.055556
0.758929
0.099778
0
0
1
0
0.165842
0.069307
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
f6c6629b33bb8ab2ddebf182d46d07ca242a6b8c
10,568
py
Python
SAFEcomments/safe_comments.py
kittypr/SAFEcomments
5157335941477d58492538ffe80fbe4aaa749932
[ "MIT" ]
null
null
null
SAFEcomments/safe_comments.py
kittypr/SAFEcomments
5157335941477d58492538ffe80fbe4aaa749932
[ "MIT" ]
null
null
null
SAFEcomments/safe_comments.py
kittypr/SAFEcomments
5157335941477d58492538ffe80fbe4aaa749932
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse import os from lxml import etree from SAFEcomments import annotation from SAFEcomments import archive_handler from SAFEcomments import compare from SAFEcomments import odt_namespaces exact_similarity = 0.6 fuzzy_similarity = 0.6 parser = argparse.ArgumentParser(description='T...
46.968889
177
0.674962
1,447
10,568
4.654458
0.100898
0.097996
0.094581
0.058797
0.745657
0.715071
0.679881
0.626281
0.578025
0.550854
0
0.016883
0.226533
10,568
224
178
47.178571
0.807071
0.013153
0
0.494845
0
0
0.061397
0.021393
0
0
0
0
0
1
0.046392
false
0
0.036082
0
0.159794
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
f6cad5ab473aa63a7aa0c5477b6f59c7555c512a
304
py
Python
setup.py
techborn/pIRC
cb866e307e082947ef209bca88d01706311552c3
[ "MIT" ]
null
null
null
setup.py
techborn/pIRC
cb866e307e082947ef209bca88d01706311552c3
[ "MIT" ]
null
null
null
setup.py
techborn/pIRC
cb866e307e082947ef209bca88d01706311552c3
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='pIRC', version='0.5.5', description='A light, customizable python-based IRC bot library.', url='https://github.com/techborn/pIRC', author='Techborn', author_email='unborntech@pm.me', license='Custom', packages=['pIRC'])
27.636364
72
0.641447
37
304
5.243243
0.837838
0
0
0
0
0
0
0
0
0
0
0.012346
0.200658
304
10
73
30.4
0.786008
0
0
0
0
0
0.414474
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f6cb8c44cdef8528ecf631c976c8504ece69afaf
2,880
py
Python
company/tests/test_emails.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
1
2021-11-06T12:08:26.000Z
2021-11-06T12:08:26.000Z
company/tests/test_emails.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
null
null
null
company/tests/test_emails.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
null
null
null
from django.db.models import signals from unittest import mock from unittest.mock import ANY, Mock import factory import pytest from django.conf import settings from company.email import CollaboratorNotification, OwnershipChangeNotification from .factories import CollaboratorInviteFactory, OwnershipInviteFactory @p...
33.103448
79
0.782639
309
2,880
7
0.187702
0.02589
0.044383
0.049931
0.730005
0.694406
0.694406
0.694406
0.694406
0.694406
0
0
0.127431
2,880
86
80
33.488372
0.860724
0
0
0.636364
0
0
0.071528
0.014583
0
0
0
0
0.090909
1
0.090909
false
0
0.121212
0
0.212121
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
f6ce9204eef4f76cb6594dc3744ddcbcbae73ea5
720
py
Python
dms/exceptions/__init__.py
zhmsg/dms
3ac2b71c4a83ac721987c6f5a2f81bc0618ceca2
[ "MIT" ]
null
null
null
dms/exceptions/__init__.py
zhmsg/dms
3ac2b71c4a83ac721987c6f5a2f81bc0618ceca2
[ "MIT" ]
12
2015-09-18T01:19:28.000Z
2021-12-13T19:51:10.000Z
dms/exceptions/__init__.py
zhmsg/dms
3ac2b71c4a83ac721987c6f5a2f81bc0618ceca2
[ "MIT" ]
1
2017-06-30T08:11:10.000Z
2017-06-30T08:11:10.000Z
# !/usr/bin/env python # coding: utf-8 __author__ = 'zhouhenglc' class DmsException(Exception): code = 500 message = '' def __init__(self, detail=None, *args, **kwargs): self.msg = self.message % kwargs if detail is None: self.detail = self.msg else: self...
18.947368
61
0.593056
83
720
4.975904
0.481928
0.096852
0.053269
0
0
0
0
0
0
0
0
0.019569
0.290278
720
37
62
19.459459
0.78865
0.047222
0
0
0
0
0.102489
0
0
0
0
0
0
1
0.086957
false
0
0
0
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
f6cf14095733225d606bb01959662b8b0abc07a2
1,011
py
Python
koala/message/message.py
egmkang/koala
70ea68c0d4380242c61faa8a6f023fa248049ec8
[ "MIT" ]
15
2021-06-02T12:43:26.000Z
2022-01-24T19:14:02.000Z
koala/message/message.py
egmkang/flash
70ea68c0d4380242c61faa8a6f023fa248049ec8
[ "MIT" ]
1
2021-06-14T10:08:46.000Z
2021-06-14T10:08:46.000Z
koala/message/message.py
egmkang/flash
70ea68c0d4380242c61faa8a6f023fa248049ec8
[ "MIT" ]
1
2021-01-20T06:38:01.000Z
2021-01-20T06:38:01.000Z
from koala.typing import * from koala.message.base import JsonMessage from dataclasses import dataclass @dataclass class RpcRequest(JsonMessage): service_name: str = "" method_name: str = "" actor_id: ActorID = "" reentrant_id: int = 0 request_id: int = 0 # server_id为0, 那么就不强制校验server_id #...
21.0625
70
0.678536
112
1,011
5.955357
0.4375
0.041979
0.035982
0.038981
0.08096
0
0
0
0
0
0
0.01039
0.238378
1,011
47
71
21.510638
0.855844
0.105836
0
0.323529
0
0
0
0
0
0
0
0
0
1
0.088235
false
0
0.088235
0.088235
0.794118
0
0
0
0
null
0
0
0
0
0
0
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
f6d12a9824b023acf8f17981d556e586819b533f
389
py
Python
flask/Docs/10_request_object.py
shubhamnag14/Python-Documents
d3fee0ad90232b413f6ac1b562588fb255b79e42
[ "Apache-2.0" ]
2
2020-11-27T13:21:05.000Z
2021-04-19T21:14:21.000Z
flask/Docs/10_request_object.py
shubhamnag14/Python-Documents
d3fee0ad90232b413f6ac1b562588fb255b79e42
[ "Apache-2.0" ]
null
null
null
flask/Docs/10_request_object.py
shubhamnag14/Python-Documents
d3fee0ad90232b413f6ac1b562588fb255b79e42
[ "Apache-2.0" ]
1
2021-06-27T20:31:42.000Z
2021-06-27T20:31:42.000Z
from flask import Flask, request app = Flask(__name__) @app.route('/login', methods=['POST', 'GET']) def login(): error = None if request.method == 'POST': if valid_login(request.form['username'], request.form['password']): return log_the_user_in(request.form['usern...
25.933333
60
0.588689
44
389
5.022727
0.613636
0.149321
0.171946
0
0
0
0
0
0
0
0
0
0.267352
389
14
61
27.785714
0.775439
0
0
0
0
0
0.169666
0
0
0
0
0
0
1
0.090909
false
0.181818
0.090909
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f6d41864018d10abd6471ccdb2d9fb3efa2863e0
2,675
py
Python
inventory/inv_admin/item_admin.py
kaajavi/itsventory
0543f402e124828c2af662f73361c68fc45002a2
[ "Apache-2.0" ]
null
null
null
inventory/inv_admin/item_admin.py
kaajavi/itsventory
0543f402e124828c2af662f73361c68fc45002a2
[ "Apache-2.0" ]
null
null
null
inventory/inv_admin/item_admin.py
kaajavi/itsventory
0543f402e124828c2af662f73361c68fc45002a2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' # Model admin <= https://docs.djangoproject.com/es/1.10/_modules/django/contrib/admin/options/#ModelAdmin In the after link, see you all configuration and options about model admin. Is very important understand the getters: + e.g.: get_form(self, request, obj=None,...
33.860759
264
0.585794
298
2,675
5.197987
0.560403
0.058102
0.032924
0
0
0
0
0
0
0
0
0.01179
0.30243
2,675
78
265
34.294872
0.818328
0.248224
0
0.09434
0
0
0.089048
0
0
0
0
0
0
1
0.018868
false
0
0.226415
0
0.509434
0
0
0
0
null
0
0
0
0
0
0
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
f6d7eedf8e35cf51f0468c77344e42c3f74d4297
15,170
py
Python
python/paddle/fluid/contrib/slim/graph/graph.py
wanghaoshuang/Paddle
8c19599bc640f51b279d95054bbd5eccde210c0c
[ "Apache-2.0" ]
2
2019-04-03T05:36:17.000Z
2020-04-29T03:38:54.000Z
python/paddle/fluid/contrib/slim/graph/graph.py
wanghaoshuang/Paddle
8c19599bc640f51b279d95054bbd5eccde210c0c
[ "Apache-2.0" ]
null
null
null
python/paddle/fluid/contrib/slim/graph/graph.py
wanghaoshuang/Paddle
8c19599bc640f51b279d95054bbd5eccde210c0c
[ "Apache-2.0" ]
3
2019-01-07T06:50:29.000Z
2019-03-13T08:48:23.000Z
# Copyright (c) 2018 PaddlePaddle 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 appli...
31.213992
80
0.57416
1,961
15,170
4.222336
0.142784
0.013889
0.01256
0.0157
0.357126
0.244444
0.141787
0.109058
0.075121
0.054831
0
0.005175
0.324918
15,170
485
81
31.278351
0.80334
0.148121
0
0.319489
0
0
0.031328
0.005879
0
0
0
0.002062
0
1
0.175719
false
0.060703
0.038339
0.044728
0.309904
0
0
0
0
null
0
0
0
0
0
0
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
f6ddf629e795a6505fd5e3933f0fe8bde89f8a86
4,438
py
Python
src/mpdb_api/views.py
casol/MotionPictureDB-API
478e73726f40a41fea2de88f6441f5c3ecd8dd68
[ "MIT" ]
null
null
null
src/mpdb_api/views.py
casol/MotionPictureDB-API
478e73726f40a41fea2de88f6441f5c3ecd8dd68
[ "MIT" ]
7
2020-06-06T01:08:08.000Z
2021-06-10T19:37:35.000Z
src/mpdb_api/views.py
casol/MotionPictureDB-API
478e73726f40a41fea2de88f6441f5c3ecd8dd68
[ "MIT" ]
null
null
null
from rest_framework import permissions, viewsets from mpdb_api.filters import CustomSearchFilter from users.models import CustomUser from mpdb_api.models import Comment, Movie, Watchlist, Favorite, UserRating from mpdb_api.permissions import IsOwnerOrReadOnly, IsAdminOrReadOnly from mpdb_api.serializers import ( C...
24.655556
75
0.681839
476
4,438
6.30042
0.228992
0.030343
0.036679
0.043348
0.423474
0.415805
0.415805
0.41047
0.332778
0.332778
0
0.000597
0.245381
4,438
179
76
24.793296
0.894894
0.32402
0
0.457627
0
0
0.006878
0
0
0
0
0
0
1
0.135593
false
0
0.101695
0
0.711864
0
0
0
0
null
0
0
0
0
0
0
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
f6df525bd0becdd17eea24b4afd64de5fe57d9ff
1,359
py
Python
server/server.py
wooky/xtremettt
e8088fce6ddc8a01ce9530a6bb5eb4434328bef5
[ "WTFPL" ]
null
null
null
server/server.py
wooky/xtremettt
e8088fce6ddc8a01ce9530a6bb5eb4434328bef5
[ "WTFPL" ]
null
null
null
server/server.py
wooky/xtremettt
e8088fce6ddc8a01ce9530a6bb5eb4434328bef5
[ "WTFPL" ]
null
null
null
import SocketServer class Server(SocketServer.BaseRequestHandler): clients = 0 def setup(self): print "Received connection from " + self.client_address[0] + ":" + str(self.client_address[1]) self.lost = False self.shutdown = False if Server.clients > 1: print "Server is full!" self.request.send("S...
29.543478
96
0.70493
180
1,359
5.216667
0.411111
0.063898
0.108626
0.076677
0.303514
0.169329
0.169329
0.169329
0.169329
0.169329
0
0.024933
0.173657
1,359
46
97
29.543478
0.81122
0.105224
0
0.111111
0
0
0.100494
0
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f6e7e8e4509bf31d9f510447d795576bf80ae64d
723
py
Python
observation/status.py
nosrio/pytun
56ab9e216ccff57d6280835e20ccce7e062d39b8
[ "Apache-2.0" ]
1
2020-05-08T20:11:25.000Z
2020-05-08T20:11:25.000Z
observation/status.py
nosrio/pytun
56ab9e216ccff57d6280835e20ccce7e062d39b8
[ "Apache-2.0" ]
3
2020-11-10T12:17:30.000Z
2021-06-04T16:17:32.000Z
observation/status.py
nosrio/pytun
56ab9e216ccff57d6280835e20ccce7e062d39b8
[ "Apache-2.0" ]
1
2021-11-16T16:11:01.000Z
2021-11-16T16:11:01.000Z
import datetime from threading import RLock class Status: def __init__(self): self.rlock = RLock() self.status_data = {} self.created_at = datetime.datetime.now() def start_tunnel(self, tunnel_name): with self.rlock: if tunnel_name in self.status_data: ...
30.125
93
0.607192
86
723
4.825581
0.337209
0.168675
0.20241
0.144578
0.318072
0.178313
0.178313
0.178313
0
0
0
0.003861
0.283541
723
23
94
31.434783
0.797297
0
0
0.111111
0
0
0.078838
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0
0.388889
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
f6eed7b3aed16016ddfb10a8b779b91942c2f42b
16,196
pyw
Python
frmStatPic1.pyw
iefan/army_holiday
0c79cf89c4dbb16bd87ca754265821f82b298f13
[ "Apache-2.0" ]
null
null
null
frmStatPic1.pyw
iefan/army_holiday
0c79cf89c4dbb16bd87ca754265821f82b298f13
[ "Apache-2.0" ]
null
null
null
frmStatPic1.pyw
iefan/army_holiday
0c79cf89c4dbb16bd87ca754265821f82b298f13
[ "Apache-2.0" ]
null
null
null
#!/usr/local/bin/python # -*- coding: utf-8 -*- import wx #import wx.lib.buttons as buttons import PyDatabase import images import string import MyValidator from PhrResource import ALPHA_ONLY, DIGIT_ONLY, strVersion, g_UnitSnNum import MyThread import time import datetime import types import os import matplotlib.pypl...
38.379147
151
0.556866
1,926
16,196
4.614226
0.206646
0.017104
0.01069
0.01024
0.209407
0.12884
0.096095
0.089569
0.055474
0.055474
0
0.0283
0.304026
16,196
422
152
38.379147
0.760114
0.036984
0
0.131343
0
0
0.030207
0
0.002985
0
0
0
0
0
null
null
0.00597
0.038806
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
f6f0e76eb0ed0258f23697f9b0e4b2681dfd51d6
297
py
Python
easy/excel-sheet-column-title.py
trilliwon/LeetCode
d137df53fa2489821b3c17ac22f24d9a1ae86304
[ "MIT" ]
null
null
null
easy/excel-sheet-column-title.py
trilliwon/LeetCode
d137df53fa2489821b3c17ac22f24d9a1ae86304
[ "MIT" ]
null
null
null
easy/excel-sheet-column-title.py
trilliwon/LeetCode
d137df53fa2489821b3c17ac22f24d9a1ae86304
[ "MIT" ]
null
null
null
class Solution: def convertToTitle(self, n): """ :type n: int :rtype: str """ ans = '' while n != 0: n -= 1 digit = n % 26 ans = chr(ord('A') + digit) + ans n = n // 26 return ans
19.8
45
0.343434
31
297
3.290323
0.645161
0.058824
0
0
0
0
0
0
0
0
0
0.043165
0.531987
297
14
46
21.214286
0.690647
0.080808
0
0
0
0
0.004149
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f6f3823a31297d998087dce38ce8e2ef8a8e0fab
648
py
Python
tests/benchmarks/test_dbbench.py
leroyjvargis/workflows
4d5c3a11c678c10cd0c8b7e043f66e4e62cc790b
[ "Apache-2.0" ]
558
2020-04-27T12:05:39.000Z
2022-03-28T15:20:22.000Z
tests/benchmarks/test_dbbench.py
leroyjvargis/workflows
4d5c3a11c678c10cd0c8b7e043f66e4e62cc790b
[ "Apache-2.0" ]
103
2020-04-27T21:44:55.000Z
2022-03-29T21:36:10.000Z
tests/benchmarks/test_dbbench.py
leroyjvargis/workflows
4d5c3a11c678c10cd0c8b7e043f66e4e62cc790b
[ "Apache-2.0" ]
61
2020-04-22T11:02:14.000Z
2022-03-14T19:32:17.000Z
# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2021 Micron Technology, Inc. All rights reserved. from pathlib import Path from tools.dbbench import DBbenchTest name = Path(__file__).stem cli_params = "--num=900000000 --threads=32 --value_size=400" cmdlist = [ f"--benchmarks=fillseq {cli_params} --histog...
32.4
92
0.723765
88
648
5.147727
0.556818
0.099338
0.15894
0.16777
0.377483
0.377483
0.377483
0.300221
0.300221
0.216336
0
0.047038
0.114198
648
19
93
34.105263
0.74216
0.152778
0
0
0
0
0.563303
0.13578
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f6f5d0ec88d14c10c0ac57ddb348fc636518d866
2,133
py
Python
public_html/API/newuser.py
jlambert23/COP4331
49ae9563d596d16d0aaa2095da43047f353b052c
[ "MIT" ]
null
null
null
public_html/API/newuser.py
jlambert23/COP4331
49ae9563d596d16d0aaa2095da43047f353b052c
[ "MIT" ]
null
null
null
public_html/API/newuser.py
jlambert23/COP4331
49ae9563d596d16d0aaa2095da43047f353b052c
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # coding: utf-8 import util print("Content-Type: application/json\n\n") def newuser(jsonPayload): import pymysql try: firstname = jsonPayload['firstname'] lastname = jsonPayload['lastname'] username = jsonPayload['username'] password = jsonPayload['p...
33.328125
168
0.591655
225
2,133
5.586667
0.475556
0.039777
0.071599
0.052506
0.060461
0
0
0
0
0
0
0.003289
0.287389
2,133
63
169
33.857143
0.823684
0.167839
0
0.311111
0
0.022222
0.209394
0.036786
0
0
0
0
0
1
0.022222
false
0.066667
0.088889
0
0.2
0.022222
0
0
0
null
0
0
0
0
0
0
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
f6f7e4d65e58a6c7d423140cc20d3150a2eb357b
4,460
py
Python
contrib/samples/python/read_register.py
nanocortex/vscp
0b1a51a35a886921179a8112c592547f84c9771a
[ "CC-BY-3.0" ]
null
null
null
contrib/samples/python/read_register.py
nanocortex/vscp
0b1a51a35a886921179a8112c592547f84c9771a
[ "CC-BY-3.0" ]
null
null
null
contrib/samples/python/read_register.py
nanocortex/vscp
0b1a51a35a886921179a8112c592547f84c9771a
[ "CC-BY-3.0" ]
null
null
null
#!/usr/bin/env python """ Read registers from a node connected to the vscp daemon. This module can be used to test the speed of the register update. // 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 Foun...
27.875
94
0.613453
631
4,460
4.242472
0.309033
0.044826
0.035861
0.053792
0.279417
0.239074
0.206201
0.162495
0.162495
0.162495
0
0.021759
0.2787
4,460
159
95
28.050314
0.810382
0.088341
0
0.235955
0
0
0.141522
0
0
0
0
0
0
0
null
null
0
0.044944
null
null
0.146067
0
0
0
null
0
0
0
0
0
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
f6fa9a5372f0502aa133f9af6ac549155abd19ad
1,939
py
Python
api/data_pipeline_api.py
sodalic/SpaceBlobCollector-backend
feeff8bf351c730b31cbfe7cddc26b7533a47b59
[ "BSD-3-Clause" ]
null
null
null
api/data_pipeline_api.py
sodalic/SpaceBlobCollector-backend
feeff8bf351c730b31cbfe7cddc26b7533a47b59
[ "BSD-3-Clause" ]
null
null
null
api/data_pipeline_api.py
sodalic/SpaceBlobCollector-backend
feeff8bf351c730b31cbfe7cddc26b7533a47b59
[ "BSD-3-Clause" ]
null
null
null
import os from flask import Blueprint, flash, redirect, abort from database.study_models import Study from libs.admin_authentication import authenticate_admin_study_access from libs.sentry import make_error_sentry from pipeline.boto_helpers import get_boto_client from pipeline.configuration_getters import get...
43.088889
96
0.738009
260
1,939
5.246154
0.415385
0.048387
0.028592
0.041056
0
0
0
0
0
0
0
0.001896
0.184116
1,939
44
97
44.068182
0.860303
0.141826
0
0
0
0
0.157825
0.022546
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.107143
0
0
0
null
0
0
0
0
0
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
f6fcf35ed47156314011ed648fe26e929556a6f5
354
py
Python
python-tutorial/consumer/main.py
twissmueller/event-driven-architectures
d3b37c87dcee6db096eaecbe90feb90d5429ebfc
[ "MIT" ]
16
2021-11-14T22:30:13.000Z
2022-03-28T11:33:04.000Z
python-tutorial/consumer/main.py
twissmueller/event-driven-architectures
d3b37c87dcee6db096eaecbe90feb90d5429ebfc
[ "MIT" ]
null
null
null
python-tutorial/consumer/main.py
twissmueller/event-driven-architectures
d3b37c87dcee6db096eaecbe90feb90d5429ebfc
[ "MIT" ]
7
2021-11-18T15:37:43.000Z
2022-03-18T12:52:58.000Z
from kafka import KafkaConsumer import json from TimestampEvent import TimestampEvent consumer = KafkaConsumer('timestamp', bootstrap_servers='localhost:9092', value_deserializer=lambda x: json.loads(x.decode('utf-8'))) for message in consumer: timestampEvent = TimestampEvent(**(message.value)) print("Receiv...
32.181818
133
0.782486
39
354
7.051282
0.641026
0
0
0
0
0
0
0
0
0
0
0.015873
0.110169
354
10
134
35.4
0.857143
0
0
0
0
0
0.107345
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f6ffa1917b189d918c11e4522a284e7cf9b7bbb8
564
py
Python
dsvfile/Models/Planets/VeinData.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
2
2021-03-01T19:57:20.000Z
2021-08-02T20:54:48.000Z
dsvfile/Models/Planets/VeinData.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
null
null
null
dsvfile/Models/Planets/VeinData.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
null
null
null
from ...Fields import UInt8Field, Int16Field from ...Fields.Enums import EVeinType16 from . import Model, Int32Field, FloatField class VeinData(Model): version = UInt8Field() id = Int32Field() veinType = EVeinType16() modelIndex = Int16Field() groupIndex = Int16Field() amount = Int32Field() ...
25.636364
44
0.675532
51
564
7.411765
0.54902
0.05291
0
0
0
0
0
0
0
0
0
0.077273
0.219858
564
21
45
26.857143
0.781818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.157895
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1003af35da2655e5a0344e4ff2fe9e380b14c2cd
993
py
Python
app/migrations/0007_auto_20210701_0434.py
Divyanshukalola/Alchemeo
fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4
[ "MIT" ]
null
null
null
app/migrations/0007_auto_20210701_0434.py
Divyanshukalola/Alchemeo
fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4
[ "MIT" ]
null
null
null
app/migrations/0007_auto_20210701_0434.py
Divyanshukalola/Alchemeo
fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2021-07-01 04:34 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0006_auto_20210701_0346'), ] operations = [ migrations.AddField( model_name='invoice', name=...
33.1
152
0.624371
112
993
5.419643
0.482143
0.09061
0.052718
0.065898
0.405272
0.31631
0.233937
0.233937
0.233937
0.233937
0
0.093243
0.254783
993
29
153
34.241379
0.727027
0.046324
0
0.304348
1
0
0.156614
0.024339
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1004ca4b7ce19372568058fbfdce28896aab01a3
961
py
Python
ICS 101/Xmisc/week5_ex/permutation_example.py
herambchaudhari4121/NYU_Shanghai_CS
27c73242a77348af273683f2756e6960f60126fd
[ "MIT" ]
null
null
null
ICS 101/Xmisc/week5_ex/permutation_example.py
herambchaudhari4121/NYU_Shanghai_CS
27c73242a77348af273683f2756e6960f60126fd
[ "MIT" ]
null
null
null
ICS 101/Xmisc/week5_ex/permutation_example.py
herambchaudhari4121/NYU_Shanghai_CS
27c73242a77348af273683f2756e6960f60126fd
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Oct 9 16:46:40 2021 @author: bing """ import copy ## The code only works for lists without repeated elements def permute(nums, node=[], permutations=[]): if len(node)==len(nums): permutations.append(node[:]) return for n in ...
20.891304
58
0.532778
119
961
4.235294
0.478992
0.130952
0.095238
0.160714
0
0
0
0
0
0
0
0.050147
0.294485
961
45
59
21.355556
0.693215
0.414152
0
0
0
0
0.037175
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.235294
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
1007f65a17fe2339f5dd2b0454b47b5dab03d134
1,119
py
Python
tests/test_blog.py
derrokip34/Blog
ec6d6acb0c69ea42a8ea99c6836d943ad7417984
[ "MIT" ]
null
null
null
tests/test_blog.py
derrokip34/Blog
ec6d6acb0c69ea42a8ea99c6836d943ad7417984
[ "MIT" ]
null
null
null
tests/test_blog.py
derrokip34/Blog
ec6d6acb0c69ea42a8ea99c6836d943ad7417984
[ "MIT" ]
null
null
null
import unittest from app.models import Blog,User from flask_login import current_user from app import db class TestBlogs(unittest.TestCase): def setUp(self): self.user_Derrick = User(username="derrokip34",password="zlatan",email="derrokip@gmail.com") self.new_blog = Blog(blog_title="Batman",blog_c...
34.96875
122
0.702413
158
1,119
4.78481
0.360759
0.074074
0.116402
0.079365
0.320106
0.195767
0
0
0
0
0
0.004334
0.175156
1,119
32
123
34.96875
0.814735
0
0
0.08
0
0
0.075
0
0
0
0
0
0.28
1
0.24
false
0.04
0.16
0
0.44
0
0
0
0
null
0
0
0
0
0
0
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
100958354158b69adde8e070d9d2162cbbf77d9f
5,196
py
Python
pyzscaler/zia/__init__.py
mitchos/pyZscaler
c4c83345bf26e2883b9555d20a90f9387a45e05e
[ "MIT" ]
16
2021-07-09T00:20:31.000Z
2022-02-17T19:29:26.000Z
pyzscaler/zia/__init__.py
mitchos/pyZscaler
c4c83345bf26e2883b9555d20a90f9387a45e05e
[ "MIT" ]
62
2021-07-21T03:42:09.000Z
2022-03-18T09:08:20.000Z
pyzscaler/zia/__init__.py
mitchos/pyZscaler
c4c83345bf26e2883b9555d20a90f9387a45e05e
[ "MIT" ]
8
2021-09-11T08:14:53.000Z
2022-03-25T20:14:41.000Z
import os from restfly.session import APISession from pyzscaler import __version__ from .admin_and_role_management import AdminAndRoleManagementAPI from .audit_logs import AuditLogsAPI from .config import ActivationAPI from .dlp import DLPAPI from .firewall import FirewallPolicyAPI from .locations import LocationsAP...
27.935484
117
0.645497
586
5,196
5.578498
0.206485
0.050474
0.073417
0.100948
0.198226
0.185378
0.160905
0.160905
0.046497
0
0
0.000775
0.255004
5,196
185
118
28.086486
0.84371
0.324673
0
0.166667
0
0
0.08141
0.030769
0
0
0
0
0
1
0.2
false
0.022222
0.2
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
100a542603a26516265165b7195f68b21242cd95
2,457
py
Python
script.module.urlresolver/lib/urlresolver/plugins/youtube.py
Reapercrew666/crypt
e1e0994f5323c6b454ac0f65fb2e579f7bea8e5a
[ "Beerware" ]
1
2019-10-16T18:38:33.000Z
2019-10-16T18:38:33.000Z
script.module.urlresolver/lib/urlresolver/plugins/youtube.py
Reapercrew666/crypt
e1e0994f5323c6b454ac0f65fb2e579f7bea8e5a
[ "Beerware" ]
null
null
null
script.module.urlresolver/lib/urlresolver/plugins/youtube.py
Reapercrew666/crypt
e1e0994f5323c6b454ac0f65fb2e579f7bea8e5a
[ "Beerware" ]
null
null
null
""" urlresolver XBMC Addon Copyright (C) 2011 t0mm0 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
36.671642
87
0.63777
330
2,457
4.660606
0.427273
0.039012
0.025358
0.037061
0.16775
0.036411
0
0
0
0
0
0.010354
0.253154
2,457
66
88
37.227273
0.827793
0.278388
0
0.05
0
0
0.202097
0.076296
0
0
0
0
0
1
0.15
false
0
0.15
0.025
0.55
0
0
0
0
null
0
0
0
0
0
0
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
100c4edfc29e88d0889447b1b17515a7614789cf
1,232
py
Python
setup.py
Polamreddykrishnareddy/PatternPackage
893ab468a637cd70a0dd8f6d60f7f5c75a3db58f
[ "MIT" ]
null
null
null
setup.py
Polamreddykrishnareddy/PatternPackage
893ab468a637cd70a0dd8f6d60f7f5c75a3db58f
[ "MIT" ]
null
null
null
setup.py
Polamreddykrishnareddy/PatternPackage
893ab468a637cd70a0dd8f6d60f7f5c75a3db58f
[ "MIT" ]
null
null
null
import setuptools with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() setuptools.setup( name="PatternPackage-Polamreddykrishnareddy", version="0.0.1", author="Polamreddykrishnareddy", author_email="krishnareddy40900@gmail.com", description="I Build the python Patt...
45.62963
405
0.717532
155
1,232
5.632258
0.716129
0.068729
0.043528
0.068729
0
0
0
0
0
0
0
0.01382
0.17776
1,232
26
406
47.384615
0.847976
0
0
0
0
0.041667
0.604708
0.105519
0
0
0
0
0
1
0
false
0.041667
0.041667
0
0.041667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
100ecaddb56a4114729cfb6f919f5dd51de7ee8b
1,322
py
Python
set1/Aes_cipher.py
arunKumarNOP/Cryptopals-Solutions
529474679972e17566a233de110f0b47078ef3b9
[ "MIT" ]
null
null
null
set1/Aes_cipher.py
arunKumarNOP/Cryptopals-Solutions
529474679972e17566a233de110f0b47078ef3b9
[ "MIT" ]
null
null
null
set1/Aes_cipher.py
arunKumarNOP/Cryptopals-Solutions
529474679972e17566a233de110f0b47078ef3b9
[ "MIT" ]
null
null
null
from Crypto.Cipher import AES from Xor import xorPlain from set2.PkcsPadding import pkcs7_pad def decrypt_ecb(ciphertxt, key): encryptor = AES.new(key, AES.MODE_ECB) return encryptor.decrypt(ciphertxt) def encrypt_ecb(plaintxt, key): encryptor = AES.new(key, AES.MODE_ECB) if len(plaintxt)%len(key) !...
27.541667
94
0.658094
182
1,322
4.664835
0.285714
0.077739
0.08245
0.060071
0.336867
0.226148
0.190813
0.190813
0.117786
0.117786
0
0.013208
0.198185
1,322
47
95
28.12766
0.787736
0.05295
0
0.181818
0
0
0.057554
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.060606
0
0
0
null
0
0
0
0
0
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
10130fa6cc6d73e32a8210599ebb4ce228836f7b
960
py
Python
test/chat/chatserver.py
rahulsukla/cltpWS
aa20f69e121ff0ab81cd0e9e2e7a421c62b759ca
[ "MIT" ]
1
2015-04-15T03:54:18.000Z
2015-04-15T03:54:18.000Z
test/chat/chatserver.py
rahulsukla/cltpWS
aa20f69e121ff0ab81cd0e9e2e7a421c62b759ca
[ "MIT" ]
null
null
null
test/chat/chatserver.py
rahulsukla/cltpWS
aa20f69e121ff0ab81cd0e9e2e7a421c62b759ca
[ "MIT" ]
null
null
null
from bottle import request, route, run, static_file chats = [] @route('/ping') def ping(): print chats return "pong" @route('/chat', method = 'POST') def save_chat(): if request.forms.get('user') is not None: chats.append({ 'user': request.forms.get('user'), 'at': long(requ...
25.945946
83
0.577083
126
960
4.293651
0.373016
0.088725
0.110906
0.07024
0.251386
0.251386
0.251386
0.251386
0.251386
0.251386
0
0.005384
0.226042
960
36
84
26.666667
0.722746
0
0
0.142857
0
0
0.110417
0
0
0
0
0
0
0
null
null
0
0.035714
null
null
0.035714
0
0
0
null
0
0
0
0
0
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
1013f4af0653cffeadf5679387a32197de8a9afa
619
py
Python
e30.py
Jeremiah-Bergkvist/ProjectEuler
06ef7fd8641e47cb8b8738173d50c57c076af6dd
[ "MIT" ]
null
null
null
e30.py
Jeremiah-Bergkvist/ProjectEuler
06ef7fd8641e47cb8b8738173d50c57c076af6dd
[ "MIT" ]
null
null
null
e30.py
Jeremiah-Bergkvist/ProjectEuler
06ef7fd8641e47cb8b8738173d50c57c076af6dd
[ "MIT" ]
null
null
null
def main(): # Maximum value needed to get calculate # 9**5 == 59049 # 59049 * 5 == 295245 power = 5 start = 2 stop = power * 9**5 matches = [] for x in xrange(start, stop+1): xstr = str(x) xsum = 0 for y in xrange(len(xstr)): xsum += int(...
23.807692
44
0.453958
77
619
3.545455
0.454545
0.087912
0.043956
0.087912
0
0
0
0
0
0
0
0.072022
0.416801
619
26
45
23.807692
0.684211
0.114701
0
0.095238
0
0
0.026975
0
0
0
0
0
0
0
null
null
0
0
null
null
0.095238
0
0
0
null
0
0
0
0
0
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
1014a44dfeab5dc5a1bcbe3f568a4c2b8e25397c
950
py
Python
tf2utils/enums.py
offish/tf2-rgb-values
7a526e9918afef9f79b7be37e81cd374df66c57d
[ "MIT" ]
1
2019-06-16T15:55:38.000Z
2019-06-16T15:55:38.000Z
tf2utils/enums.py
offish/tf2utils
7a526e9918afef9f79b7be37e81cd374df66c57d
[ "MIT" ]
null
null
null
tf2utils/enums.py
offish/tf2utils
7a526e9918afef9f79b7be37e81cd374df66c57d
[ "MIT" ]
2
2019-03-14T18:58:32.000Z
2019-04-12T11:02:14.000Z
import enum class ETradeOfferState(enum.IntEnum): Invalid = 1 Active = 2 Accepted = 3 Countered = 4 Expired = 5 Canceled = 6 Declined = 7 InvalidItems = 8 NeedsConfirmation = 9 CanceledBySecondFactor = 10 Escrow = 11 class EItemQuality(enum.IntEnum): Normal = 0 Ge...
14.393939
37
0.509474
124
950
3.903226
0.766129
0.068182
0
0
0
0
0
0
0
0
0
0.15245
0.42
950
65
38
14.615385
0.725953
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.016949
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
101891f3b9ed444afe6d924d40f4687201082a15
1,314
py
Python
AI(BE)/rest_api/application.py
dev-taewon-kim/ai_web_RISKOUT_BTS
6b5650f8ecf068185ad87af62074627aca566018
[ "MIT" ]
1
2021-11-04T07:54:58.000Z
2021-11-04T07:54:58.000Z
AI(BE)/rest_api/application.py
mslee300/ai_web_RISKOUT_BTS
e01b3d27f68a0187b619920bf5c1f2de0cbc0f7d
[ "MIT" ]
null
null
null
AI(BE)/rest_api/application.py
mslee300/ai_web_RISKOUT_BTS
e01b3d27f68a0187b619920bf5c1f2de0cbc0f7d
[ "MIT" ]
null
null
null
import logging import uvicorn from fastapi import FastAPI, HTTPException from starlette.middleware.cors import CORSMiddleware from rest_api.controller.errors.http_error import http_error_handler from rest_api.config import ROOT_PATH logging.basicConfig(format="%(asctime)s %(message)s", datefmt="%m/%d/%Y %I:%M:%S %p"...
27.957447
94
0.705479
174
1,314
5.126437
0.545977
0.011211
0.036996
0.047085
0.03139
0.03139
0
0
0
0
0
0.027223
0.161339
1,314
47
95
27.957447
0.782214
0.02207
0
0
0
0
0.131579
0
0
0
0
0.021277
0
1
0.041667
false
0
0.291667
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
101a7d148874f545b161968d0a67f51310cf8392
4,705
py
Python
scripts/run.py
peterkuma/shortwave-intermittency
0ee86b3ad3117cbe22f342105a1b110905ed5183
[ "MIT" ]
null
null
null
scripts/run.py
peterkuma/shortwave-intermittency
0ee86b3ad3117cbe22f342105a1b110905ed5183
[ "MIT" ]
null
null
null
scripts/run.py
peterkuma/shortwave-intermittency
0ee86b3ad3117cbe22f342105a1b110905ed5183
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # run.py # # References: # # * Masek J. 2013. Single interval showtwave radiation scheme with # parametrized optical saturation and spectral overlaps. # import sys import os from tempfile import NamedTemporaryFile import subprocess import numpy as np from StringIO import StringIO impo...
21.004464
71
0.637832
644
4,705
4.509317
0.245342
0.115702
0.020661
0.037879
0.209022
0.162534
0.143939
0.091942
0.073003
0.073003
0
0.020938
0.198087
4,705
223
72
21.098655
0.748741
0.06865
0
0.182857
0
0
0.185652
0.049278
0
0
0
0
0
0
null
null
0
0.045714
null
null
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
101b647d45f6d31dee7304560ed30905d346ce80
4,776
py
Python
GenerIter/app/generator.py
GridPresence/GenerIter
f0b74cd6c1d1bb9a23fccb28fa8b972f9eeccaf8
[ "MIT" ]
7
2021-01-07T19:03:10.000Z
2021-03-05T08:05:17.000Z
GenerIter/app/generator.py
GridPresence/GenerIter
f0b74cd6c1d1bb9a23fccb28fa8b972f9eeccaf8
[ "MIT" ]
2
2021-01-26T12:45:58.000Z
2021-02-15T11:06:14.000Z
GenerIter/app/generator.py
GridPresence/GenerIter
f0b74cd6c1d1bb9a23fccb28fa8b972f9eeccaf8
[ "MIT" ]
1
2021-01-24T05:21:28.000Z
2021-01-24T05:21:28.000Z
#!/usr/bin/env python3 """ App to generate music. Copyright 2020 Thomas Jackson Park & Jeremy Pavier """ import os import argparse import sys from pathlib import Path from GenerIter.app.clibase import CLIBase from GenerIter.selector import Selector from GenerIter.config import Config from GenerIter.factory import Pr...
36.738462
122
0.555067
448
4,776
5.736607
0.270089
0.125681
0.084047
0.040467
0.275875
0.19144
0.163424
0.163424
0.163424
0.163424
0
0.002248
0.34799
4,776
129
123
37.023256
0.823057
0.052764
0
0.306122
1
0
0.0874
0
0
0
0
0
0
1
0.05102
false
0.040816
0.102041
0
0.163265
0.010204
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
63d7946b710bcf849366eee7c627cc4c3a914d5e
6,566
py
Python
app.py
Nikita-Sukhwal/AatmSuraksha
291ac685b2dee7758f19e1f7e97ab37312979db9
[ "MIT" ]
4
2021-02-12T16:46:42.000Z
2021-02-12T17:02:51.000Z
app.py
Nikita-Sukhwal/AatmSuraksha
291ac685b2dee7758f19e1f7e97ab37312979db9
[ "MIT" ]
null
null
null
app.py
Nikita-Sukhwal/AatmSuraksha
291ac685b2dee7758f19e1f7e97ab37312979db9
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, url_for, redirect, session import pymongo import mail from location import lat, log #, location, city, state import messagebird import credentials #set app as a Flask instance app = Flask(__name__) #encryption relies on secret keys so they could be run app.secret_ke...
36.276243
124
0.633567
807
6,566
5.017348
0.255266
0.051865
0.069153
0.027661
0.326253
0.297604
0.282786
0.162015
0.122005
0.103235
0
0.002841
0.249619
6,566
180
125
36.477778
0.818957
0.183064
0
0.361345
0
0.008403
0.183096
0.017241
0.016807
0
0
0
0
1
0.058824
false
0.084034
0.05042
0.008403
0.260504
0.05042
0
0
0
null
0
0
0
0
0
0
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
63dcb009c572a33dac19bddf3657a147f2fcccc3
1,181
py
Python
python-django-piscine/day04/d04/urls.py
maxdesalle/libft
8845656e1f5cc1fec052cf97fc8f5839b2b590a8
[ "Unlicense" ]
3
2021-01-06T13:50:12.000Z
2022-02-28T09:16:15.000Z
python-django-piscine/day04/d04/urls.py
maxdesalle/libft
8845656e1f5cc1fec052cf97fc8f5839b2b590a8
[ "Unlicense" ]
null
null
null
python-django-piscine/day04/d04/urls.py
maxdesalle/libft
8845656e1f5cc1fec052cf97fc8f5839b2b590a8
[ "Unlicense" ]
1
2020-11-23T12:58:18.000Z
2020-11-23T12:58:18.000Z
"""d04 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
39.366667
88
0.721423
175
1,181
4.817143
0.382857
0.065243
0.017794
0.02847
0.19573
0.13879
0.088968
0
0
0
0
0.032161
0.157494
1,181
29
89
40.724138
0.815075
0.524132
0
0
0
0
0.281081
0
0
0
0
0
0
1
0
false
0
0.461538
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
63e53355de71c24919fc88789b079d2b1ce0b723
5,100
py
Python
flask/app/main/routes.py
stevenbennettonline/ratemymolecule
4591b2346743b9053ee1392f027d0b20d0f1da99
[ "MIT" ]
3
2021-06-16T00:27:45.000Z
2022-01-11T13:23:06.000Z
flask/app/main/routes.py
stevenbennettonline/rate-my-molecule
4591b2346743b9053ee1392f027d0b20d0f1da99
[ "MIT" ]
2
2021-06-16T08:41:58.000Z
2021-06-16T08:42:05.000Z
flask/app/main/routes.py
stevenkbennett/ratemymolecule
4591b2346743b9053ee1392f027d0b20d0f1da99
[ "MIT" ]
null
null
null
from collections import Counter import numpy as np from flask import (Blueprint, flash, jsonify, redirect, render_template, request, url_for) from flask_login import current_user, login_required from app import db from app.auth.email import send_password_reset_email from app.auth.forms import Reset...
33.333333
78
0.647647
675
5,100
4.754074
0.194074
0.03272
0.039265
0.031162
0.371767
0.371767
0.336865
0.307261
0.307261
0.269243
0
0.001545
0.238431
5,100
152
79
33.552632
0.824665
0.141176
0
0.366071
0
0
0.107315
0.021555
0
0
0
0
0
1
0.098214
false
0.142857
0.071429
0.008929
0.3125
0.017857
0
0
0
null
0
0
0
0
0
0
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
63ed58034bda81cab21aa5f59eaa6d0ba9a403da
319
py
Python
adminmgr/media/code/python/map2/BD_014_025_183_mapper.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
9
2019-11-08T02:05:27.000Z
2021-12-13T12:06:35.000Z
adminmgr/media/code/python/map2/BD_014_025_183_mapper.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
6
2019-11-27T03:23:16.000Z
2021-06-10T19:15:13.000Z
adminmgr/media/code/python/map2/BD_014_025_183_mapper.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
4
2019-11-26T17:04:27.000Z
2021-12-13T11:57:03.000Z
#!/usr/bin/python3 import csv import sys batsman = "" bowler = "" runs = None reader = [] myfile = sys.stdin for line in myfile: line = line.strip() row = line.split(',') if(row[0] == "ball"): batsman = row[4] bowler = row[6] runs = int(row[7]) + int(row[8]) print("%s,%s,%d" % (batsman, bowler, runs))
15.190476
45
0.583072
49
319
3.795918
0.612245
0.139785
0.182796
0
0
0
0
0
0
0
0
0.023622
0.203762
319
20
46
15.95
0.708661
0.053292
0
0
0
0
0.043189
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.066667
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
63efa7f3316645c1c7ea8bae8301f606880ac73c
240
py
Python
Chapter 4/subscriber.py
PacktPublishing/Mastering-IPython-4
d752f7ba38e0c9399a83d57da406fe26152f272b
[ "MIT" ]
22
2016-06-07T07:52:35.000Z
2021-11-08T13:12:21.000Z
Chapter 4/subscriber.py
PacktPublishing/Mastering-IPython-4
d752f7ba38e0c9399a83d57da406fe26152f272b
[ "MIT" ]
2
2016-05-23T08:20:54.000Z
2018-07-02T08:21:32.000Z
Chapter 4/subscriber.py
PacktPublishing/Mastering-IPython-4
d752f7ba38e0c9399a83d57da406fe26152f272b
[ "MIT" ]
27
2016-05-23T08:19:51.000Z
2021-08-31T02:46:00.000Z
import zmq context = zmq.Context() socket = context.socket(zmq.SUB) socket.connect("tcp://localhost:5555") socket.setsockopt_string(zmq.SUBSCRIBE, “weather”) while True: wtr = socket.recv_string() print(“the weather is: “ + wtr)
20
50
0.7125
32
240
5.28125
0.625
0.118343
0
0
0
0
0
0
0
0
0
0.019324
0.1375
240
11
51
21.818182
0.797101
0
0
0
0
0
0.083682
0
0
0
0
0
0
0
null
null
0
0.125
null
null
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
1
0
0
0
0
0
0
0
0
1
63f1bbf7c5bc0ddb0546934f8c64da5077e3f88c
5,343
py
Python
pitfall/utils.py
bincyber/pitfall
680c33ae30a2ed1d2bbf742f74accc34b81b1f5b
[ "Apache-2.0" ]
33
2019-11-06T03:45:55.000Z
2020-12-15T09:14:42.000Z
pitfall/utils.py
bincyber/pitfall
680c33ae30a2ed1d2bbf742f74accc34b81b1f5b
[ "Apache-2.0" ]
3
2019-11-19T19:02:44.000Z
2020-03-29T17:52:11.000Z
pitfall/utils.py
bincyber/pitfall
680c33ae30a2ed1d2bbf742f74accc34b81b1f5b
[ "Apache-2.0" ]
1
2020-07-29T07:33:52.000Z
2020-07-29T07:33:52.000Z
# Copyright 2019 Ali (@bincyber) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
31.429412
102
0.703724
745
5,343
4.936913
0.279195
0.035889
0.016313
0.014138
0.26074
0.219685
0.177814
0.177814
0.159869
0.159869
0
0.031798
0.199513
5,343
169
103
31.615385
0.828151
0.321168
0
0.197531
0
0
0.061995
0.035755
0
0
0
0
0
1
0.185185
false
0.049383
0.135802
0.012346
0.506173
0
0
0
0
null
0
0
0
0
0
0
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
63f5d05472c335001bf35ef47f9208c6df7b37a9
1,870
py
Python
rnn/lang_model_pred_next_word/config.py
hautan/train_tf
0946c7a497703f13c156de9f0135296fd91127ee
[ "Apache-2.0" ]
null
null
null
rnn/lang_model_pred_next_word/config.py
hautan/train_tf
0946c7a497703f13c156de9f0135296fd91127ee
[ "Apache-2.0" ]
null
null
null
rnn/lang_model_pred_next_word/config.py
hautan/train_tf
0946c7a497703f13c156de9f0135296fd91127ee
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf import flags logging = tf.logging BASIC = "basic" CUDNN = "cudnn" BLOCK = "block" def get_config(): """Get model config.""" config = None if flags.FLAGS.model == "small": config = SmallConfig() elif flags.FLAGS.model == "medium": config = MediumConfig() elif flags.FLAGS.mode...
19.684211
60
0.664706
293
1,870
4.003413
0.276451
0.068201
0.063939
0.047741
0.343564
0.343564
0.343564
0.322251
0.286445
0.286445
0
0.07474
0.227273
1,870
95
61
19.684211
0.737024
0.045989
0
0.367089
0
0
0.032405
0
0
0
0
0
0
1
0.012658
false
0
0.025316
0
0.759494
0
0
0
0
null
0
0
0
0
0
0
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
63fc3f147de82089b59cb13ec3cb28b094d1398f
4,465
py
Python
spider/spider.py
omilab/internet-archive-link-extractor
c6940134ccaa68fff57b71001ff9d1c3e80cab9b
[ "MIT" ]
3
2018-04-30T08:06:40.000Z
2021-06-28T05:29:14.000Z
spider/spider.py
omilab/internet-archive-link-extractor
c6940134ccaa68fff57b71001ff9d1c3e80cab9b
[ "MIT" ]
1
2021-03-18T15:21:31.000Z
2021-03-18T15:21:31.000Z
spider/spider.py
omilab/internet-archive-link-extractor
c6940134ccaa68fff57b71001ff9d1c3e80cab9b
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup, SoupStrainer import tldextract import json import re from urlparse import urlparse, urlunparse import requests ARCHIVE_WEB_URL = 'http://web.archive.org/web' ARCHIVE_CDX_URL = 'http://web.archive.org/cdx/search/cdx' MAX_EXTRACTION_LEVEL = 5 class Spider: def __init__(self, extrac...
36.598361
166
0.533707
491
4,465
4.659878
0.291242
0.027535
0.022727
0.031469
0.09222
0.020105
0
0
0
0
0
0.009437
0.359239
4,465
121
167
36.900826
0.790283
0.108399
0
0.059524
0
0
0.057465
0.011801
0
0
0
0
0
1
0.071429
false
0.083333
0.071429
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
120640bc4f94db61aa5fd8dea942754f11d7021a
855
py
Python
simulator.py
kryzsec/TOS_Prankster_Simulator
4ef6f7133bf50607dc1a720e97ed636e740a9dc0
[ "Unlicense" ]
null
null
null
simulator.py
kryzsec/TOS_Prankster_Simulator
4ef6f7133bf50607dc1a720e97ed636e740a9dc0
[ "Unlicense" ]
null
null
null
simulator.py
kryzsec/TOS_Prankster_Simulator
4ef6f7133bf50607dc1a720e97ed636e740a9dc0
[ "Unlicense" ]
null
null
null
from random import randint d3 = 0 d4 = 0 d5 = 0 d6 = 0 d7 = 0 d8 = 0 d9p = 0 nm = 100000 def roll(): return randint(1,10); def count(): num = 0 n2 = 0; while(num<3): n2+=1 r = roll() if r == 10: pass else: num+=1 return n2 def avg_win_day(): return (d3*3+d4*4+d5*5+d6*6+d7*7+d8*8+d9p*9)/nm te...
15.545455
262
0.523977
172
855
2.581395
0.290698
0.078829
0.121622
0
0
0
0
0
0
0
0
0.178788
0.22807
855
54
263
15.833333
0.493939
0
0
0
0
0.023256
0.19578
0
0
0
0
0
0
1
0.069767
false
0.023256
0.023256
0.046512
0.162791
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1206fe6c45497b764461237225d86918b1452f87
941
py
Python
code/Interpreters/RThread.py
antuniooh/Dattebayo-compiler
fd6767aee1c131dcbf76fc061bce43224df03f8b
[ "MIT" ]
null
null
null
code/Interpreters/RThread.py
antuniooh/Dattebayo-compiler
fd6767aee1c131dcbf76fc061bce43224df03f8b
[ "MIT" ]
null
null
null
code/Interpreters/RThread.py
antuniooh/Dattebayo-compiler
fd6767aee1c131dcbf76fc061bce43224df03f8b
[ "MIT" ]
1
2021-12-05T14:00:39.000Z
2021-12-05T14:00:39.000Z
from threading import Thread class ThreadWithReturnValue(Thread): def __init__(self, group=None, target=None, name=None, args=(), kwargs={}, Verbose=None): """ Performs the creation of an object of type ThreadWithReturnValue :param group: group of thread :param target: ta...
28.515152
76
0.564293
106
941
4.867925
0.301887
0.108527
0.125969
0
0
0
0
0
0
0
0
0
0.339001
941
32
77
29.40625
0.829582
0.321998
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1209b37a5fff85e6894affb2d4a1eb23e4cf32e9
838
py
Python
counting_test.py
marcoher/rbm
94e16393048c6a70353580c59cf0c8dc1977dd19
[ "MIT" ]
null
null
null
counting_test.py
marcoher/rbm
94e16393048c6a70353580c59cf0c8dc1977dd19
[ "MIT" ]
null
null
null
counting_test.py
marcoher/rbm
94e16393048c6a70353580c59cf0c8dc1977dd19
[ "MIT" ]
null
null
null
from __future__ import division from model2 import RBM2 import numpy as np n = 15 samples = 400 X = np.zeros((samples, n, 2), dtype=np.int32) for i in xrange(samples): m = np.random.randint(1, n//2) j1 = np.random.choice(n, size=(m), replace=False) j2 = np.random.choice(n, size=(m), replace=False) X...
22.648649
83
0.607399
171
838
2.935673
0.397661
0.01992
0.017928
0.059761
0.256972
0.179283
0.12749
0.12749
0
0
0
0.113343
0.168258
838
36
84
23.277778
0.606887
0
0
0
0
0
0.069212
0
0
0
0
0
0
0
null
null
0
0.12
null
null
0.24
0
0
0
null
0
0
0
0
0
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
1209cdcba3e6b97b1c44983c53df59e38dab1068
629
py
Python
experiments/swiss-roll2-17May.py
ishank011/gp-structure-search
7984693f359baad07870ca24f058ff0bb52468b5
[ "MIT" ]
1
2020-04-08T12:25:37.000Z
2020-04-08T12:25:37.000Z
experiments/swiss-roll2-17May.py
hassan-bdw/gp-structure-search
ca6771cb08ee993f474b8e206a0410aa0b62e58a
[ "MIT" ]
null
null
null
experiments/swiss-roll2-17May.py
hassan-bdw/gp-structure-search
ca6771cb08ee993f474b8e206a0410aa0b62e58a
[ "MIT" ]
null
null
null
# Runs on all swiss roll datasets, quickly. Experiment(description='Swiss roll normalized slow', data_dir='../data/swiss-roll2/', max_depth=10, random_order=False, k=1, debug=False, local_computation=False, n_rand=3, sd=4, ...
26.208333
52
0.508744
66
629
4.651515
0.787879
0.058632
0
0
0
0
0
0
0
0
0
0.034031
0.392687
629
23
53
27.347826
0.769634
0.065183
0
0
0
0
0.134812
0.039249
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
120cce945b9f176ef8b7f631e3e71f050cc39657
2,686
py
Python
fast_multiplier_utils.py
morozyto/SMASH
70a42bfd27b593a5ddb13a8afe58a0853a9f3a46
[ "MIT" ]
null
null
null
fast_multiplier_utils.py
morozyto/SMASH
70a42bfd27b593a5ddb13a8afe58a0853a9f3a46
[ "MIT" ]
null
null
null
fast_multiplier_utils.py
morozyto/SMASH
70a42bfd27b593a5ddb13a8afe58a0853a9f3a46
[ "MIT" ]
null
null
null
import tools from multiprocessing import SimpleQueue, Process import numpy as np __all__ = ['fast_multiply'] def get_b(i, level_to_nodes, max_level, b): indices = level_to_nodes[max_level][i].Indices start, end = indices[0], indices[-1] res = b[start:end + 1] return res def get_G(k, i, level_to_no...
31.6
119
0.61653
465
2,686
3.326882
0.169892
0.122172
0.209438
0.155139
0.528119
0.528119
0.464771
0.332902
0.2883
0.214609
0
0.021718
0.228593
2,686
84
120
31.97619
0.724903
0
0
0.131148
0
0
0.004842
0
0
0
0
0
0
1
0.098361
false
0
0.04918
0
0.245902
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
121268fc44398fa4d8c57e08b1e5e38fe9e492b2
4,458
py
Python
AlyMoly/tags/templatetags/tags.py
CreceLibre/alymoly
1420e305f41301b8548dfbbabfc64330b74403be
[ "MIT" ]
null
null
null
AlyMoly/tags/templatetags/tags.py
CreceLibre/alymoly
1420e305f41301b8548dfbbabfc64330b74403be
[ "MIT" ]
null
null
null
AlyMoly/tags/templatetags/tags.py
CreceLibre/alymoly
1420e305f41301b8548dfbbabfc64330b74403be
[ "MIT" ]
null
null
null
#!/usr/bin/env python #-*- encoding: UTF-8 -*- ############################################### # Todos los derechos reservados a: # # CreceLibre Consultores en Tecnologías Ltda. # # # # ©Milton Inostroza Aguilera # # minostro@minostro.com ...
33.268657
84
0.482952
458
4,458
4.674672
0.386463
0.025222
0.022419
0.037366
0.224661
0.170014
0.163475
0.155068
0.136385
0.078935
0
0.02963
0.364065
4,458
133
85
33.518797
0.723104
0.136608
0
0.217949
0
0
0.116334
0
0
0
0
0.007519
0
0
null
null
0
0.012821
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
121a3ac8ab5af490306c27ce4f405eed59364158
7,994
py
Python
Flask Application/App.py
kalninandre/Harvard
0c4e5de4a54873b2f9ce663ee1776a055c7dd3ac
[ "MIT" ]
null
null
null
Flask Application/App.py
kalninandre/Harvard
0c4e5de4a54873b2f9ce663ee1776a055c7dd3ac
[ "MIT" ]
null
null
null
Flask Application/App.py
kalninandre/Harvard
0c4e5de4a54873b2f9ce663ee1776a055c7dd3ac
[ "MIT" ]
null
null
null
import os from cs50 import SQL from flask import Flask, flash, redirect, render_template, request, session from flask_session import Session from tempfile import mkdtemp from werkzeug.security import check_password_hash, generate_password_hash from helpers import apology, login_required, lookup, usd # Configure appl...
30.166038
173
0.628596
987
7,994
4.99696
0.189463
0.041363
0.036902
0.020681
0.385037
0.324209
0.226277
0.195053
0.195053
0.143147
0
0.004125
0.241931
7,994
264
174
30.280303
0.809736
0.097573
0
0.358025
0
0.012346
0.265101
0.002936
0
0
0
0
0
1
0.061728
false
0.074074
0.04321
0
0.320988
0
0
0
0
null
0
0
0
0
0
0
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
121df04623646121d44d2f0b190065f249970791
869
py
Python
key_value_store/models.py
nahidsaikat/Key-Value-Store
a8e8422727bb4e221b0a78bdb279888cb95cd7ab
[ "MIT" ]
null
null
null
key_value_store/models.py
nahidsaikat/Key-Value-Store
a8e8422727bb4e221b0a78bdb279888cb95cd7ab
[ "MIT" ]
6
2020-06-05T20:17:24.000Z
2021-06-10T18:05:59.000Z
key_value_store/models.py
nahidsaikat/Key-Value-Store
a8e8422727bb4e221b0a78bdb279888cb95cd7ab
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth import get_user_model User = get_user_model() class KeyValue(models.Model): key = models.CharField(max_length=128) value = models.TextField() ttl = models.DecimalField(max_digits=10, decimal_places=6) created_by = models.ForeignKey(User, related_...
41.380952
119
0.747986
123
869
5.073171
0.439024
0.072115
0.104167
0.136218
0.49359
0.336538
0.150641
0.150641
0
0
0
0.007958
0.132336
869
20
120
43.45
0.819629
0
0
0
0
0
0.065593
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0.066667
0.933333
0
0
0
0
null
0
0
0
0
0
0
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
12227937dd3e5390b3fd917fdf9a71333a4de64c
414
py
Python
easy/n-repeated element in size 2n array/solution.py
ilya-sokolov/leetcode
ad421111d0d7c5ec5245f33552e94a373b6fd426
[ "MIT" ]
4
2021-06-03T22:19:13.000Z
2021-10-05T18:14:12.000Z
easy/n-repeated element in size 2n array/solution.py
ilya-sokolov/leetcode
ad421111d0d7c5ec5245f33552e94a373b6fd426
[ "MIT" ]
null
null
null
easy/n-repeated element in size 2n array/solution.py
ilya-sokolov/leetcode
ad421111d0d7c5ec5245f33552e94a373b6fd426
[ "MIT" ]
null
null
null
from typing import List class Solution: def repeatedNTimes(self, nums: List[int]) -> int: for k in range(1, 4): for i in range(len(nums) - k): if nums[i] == nums[i + k]: return nums[i] return -1 s = Solution() print(s.repeatedNTimes([1, 2, 3, 3])) ...
24.352941
53
0.52657
66
414
3.30303
0.393939
0.068807
0.275229
0
0
0
0
0
0
0
0
0.072917
0.304348
414
16
54
25.875
0.684028
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.416667
0.25
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
122df72ef8387bf146c14aba36a7307760cd2cfc
1,242
py
Python
demo/py/shap.py
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
57
2015-02-16T06:43:24.000Z
2022-03-16T06:21:36.000Z
demo/py/shap.py
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
4
2016-03-08T09:51:09.000Z
2021-03-29T10:18:55.000Z
demo/py/shap.py
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
27
2015-03-28T19:55:34.000Z
2022-01-09T15:03:15.000Z
import numpy as np import cv2 im = cv2.imread('py/shap.png') cv2.imshow('original image',im) cv2.waitKey() imgray = cv2.cvtColor(im,cv2.COLOR_BGR2GRAY) cv2.imshow('gray image',imgray) cv2.waitKey() ret,thresh = cv2.threshold(imgray,80,255,1) cv2.imshow('thresh image',thresh) cv2.waitKey() image, contours, hierarchy...
24.84
91
0.624799
188
1,242
4.106383
0.340426
0.031088
0.110104
0.129534
0.275907
0.275907
0.17487
0.11399
0
0
0
0.086781
0.202093
1,242
49
92
25.346939
0.69223
0
0
0.204545
0
0
0.094203
0
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1238eb6ce8b77f02945606bdd4829850e210eefb
1,160
py
Python
app/types/hitbox.py
Ahmed-Khaled-dev/modern-meerkats
e54304303c77928a2566f4e4c3eefb98135acfc7
[ "MIT" ]
1
2022-01-07T02:38:08.000Z
2022-01-07T02:38:08.000Z
app/types/hitbox.py
Ahmed-Khaled-dev/modern-meerkats
e54304303c77928a2566f4e4c3eefb98135acfc7
[ "MIT" ]
null
null
null
app/types/hitbox.py
Ahmed-Khaled-dev/modern-meerkats
e54304303c77928a2566f4e4c3eefb98135acfc7
[ "MIT" ]
null
null
null
from typing import Type from blessed import Terminal from pydantic import BaseModel from app import constants as const class HitBox(BaseModel): """A hitbox is any entity that provides some sort of interaction""" pos_x: int pos_y: int content: str time: int parent: Type def __lt__(self,...
29
74
0.622414
171
1,160
4.02924
0.356725
0.081277
0.046444
0.056604
0.208999
0.182874
0.182874
0
0
0
0
0.002375
0.274138
1,160
39
75
29.74359
0.815914
0.130172
0
0
0
0
0.006042
0
0
0
0
0
0
1
0.148148
false
0
0.148148
0.074074
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1239dd44b691726320f6ca0baac8f4ca02b74a2c
1,793
py
Python
aiautomation/log/simple_log.py
marvinren/aiautomation
639f57f502104dd170dca24dd9ff15d80c031e21
[ "MIT" ]
null
null
null
aiautomation/log/simple_log.py
marvinren/aiautomation
639f57f502104dd170dca24dd9ff15d80c031e21
[ "MIT" ]
null
null
null
aiautomation/log/simple_log.py
marvinren/aiautomation
639f57f502104dd170dca24dd9ff15d80c031e21
[ "MIT" ]
null
null
null
from aiautomation.log.abstract_log import AbstractLog from aiautomation.utils.log import get_logger ''' 写入控制台和文件的日志 ''' class SimpleLog(AbstractLog): def step_log_before(self, oper_type, oper_name, oper_id, parent_oper_id=None, *key, **kwargs): if oper_type == AbstractLog.STEP_TYPE_COMPONENT: ...
49.805556
144
0.654769
263
1,793
4.239544
0.220532
0.016144
0.059193
0.071749
0.565919
0.501345
0.479821
0.394619
0.356951
0.218834
0
0
0.179587
1,793
36
145
49.805556
0.757988
0
0
0.166667
0
0
0.140282
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
123c1170a7e53c991d85e76f7f6ae02014930f9c
1,875
py
Python
server/dive_server/training.py
Minious/dive
a3867e524021899c7231e4908452d70d9e30aaed
[ "Apache-2.0" ]
null
null
null
server/dive_server/training.py
Minious/dive
a3867e524021899c7231e4908452d70d9e30aaed
[ "Apache-2.0" ]
null
null
null
server/dive_server/training.py
Minious/dive
a3867e524021899c7231e4908452d70d9e30aaed
[ "Apache-2.0" ]
null
null
null
from girder.models.assetstore import Assetstore from girder.models.file import File from girder.models.folder import Folder from girder.models.item import Item from girder.models.upload import Upload from girder.models.user import User from dive_server.utils import get_annotation_csv_generator from dive_utils.constant...
31.779661
96
0.703467
221
1,875
5.855204
0.38914
0.046368
0.074189
0.03864
0.060278
0.060278
0
0
0
0
0
0
0.215467
1,875
58
97
32.327586
0.879674
0.153067
0
0.214286
0
0
0.061251
0
0
0
0
0.017241
0
1
0.047619
false
0
0.214286
0
0.309524
0
0
0
0
null
0
0
0
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
12482b1ff107157da56ff15cc84b2172386b95f3
3,240
py
Python
SimpleGP/tests/test_gppg.py
mgraffg/simplegp
7e4639e3ac76571a4e67669cad6e8e775b3fc345
[ "Apache-2.0" ]
2
2015-03-18T17:26:20.000Z
2019-03-18T17:28:16.000Z
SimpleGP/tests/test_gppg.py
mgraffg/simplegp
7e4639e3ac76571a4e67669cad6e8e775b3fc345
[ "Apache-2.0" ]
1
2015-04-19T17:02:49.000Z
2015-07-21T18:48:34.000Z
SimpleGP/tests/test_gppg.py
mgraffg/simplegp
7e4639e3ac76571a4e67669cad6e8e775b3fc345
[ "Apache-2.0" ]
null
null
null
import test_classification import numpy as np from SimpleGP import SparseGPPG, SparseArray from SimpleGP.gppg import PGCl import os cl = test_classification.cl X = test_classification.X def test_gppg(): x = map(lambda x: SparseArray.fromlist(X[x]), range(X.shape[0])) fname = 'gppg.npy.gz' gp = SparseGPPG...
32.079208
71
0.591975
465
3,240
4.012903
0.180645
0.016077
0.053591
0.053055
0.574491
0.541265
0.521972
0.499464
0.49732
0.4791
0
0.02935
0.263889
3,240
100
72
32.4
0.75304
0
0
0.375
0
0
0.018827
0
0
0
0
0
0.15
0
null
null
0
0.0625
null
null
0.025
0
0
0
null
0
0
0
0
0
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
1249f53ad50c951d95cda4379ed3d03ccaa7e132
694
py
Python
examples/sync_tx.py
tebzzz/archon
5276e06ccc2e08e034473108a4dd8e36b6ba6078
[ "MIT" ]
78
2018-09-20T12:50:42.000Z
2021-12-17T11:44:03.000Z
examples/sync_tx.py
tebzzz/archon
5276e06ccc2e08e034473108a4dd8e36b6ba6078
[ "MIT" ]
49
2018-11-18T16:58:27.000Z
2019-09-29T18:41:51.000Z
examples/sync_tx.py
tebzzz/archon
5276e06ccc2e08e034473108a4dd8e36b6ba6078
[ "MIT" ]
21
2018-09-20T11:31:50.000Z
2021-10-19T17:01:47.000Z
""" """ import archon.facade as facade import archon.broker as broker import archon.exchange.exchanges as exc import archon.model.models as models from archon.util import * from pymongo import MongoClient import time import datetime import math afacade = facade.Facade() broker.setClientsFromFile(afacade) a = brok...
20.411765
61
0.682997
100
694
4.59
0.49
0.104575
0
0
0
0
0
0
0
0
0
0.00177
0.185879
694
34
62
20.411765
0.810619
0
0
0
0
0
0.046579
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
124b92d2c7084377d87fc8f02f1de1ed63f57eef
505
py
Python
web-scraping/scrapy/items.py
mponweiser/thesis-LDA-in-R
e3be172f97e96c53c3941801e0b913d68621a1a0
[ "MIT" ]
4
2016-03-14T12:17:16.000Z
2021-01-27T01:14:30.000Z
web-scraping/scrapy/items.py
mponweiser/thesis-LDA-in-R
e3be172f97e96c53c3941801e0b913d68621a1a0
[ "MIT" ]
null
null
null
web-scraping/scrapy/items.py
mponweiser/thesis-LDA-in-R
e3be172f97e96c53c3941801e0b913d68621a1a0
[ "MIT" ]
3
2016-03-14T12:17:24.000Z
2020-05-05T22:53:53.000Z
# Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/topics/items.html from scrapy.item import Item, Field class PnasItem(Item): # define the fields for your item here like: category = Field() category_minor = Field() authors = Field() title = Field() ...
22.954545
48
0.647525
64
505
5.03125
0.59375
0.099379
0
0
0
0
0
0
0
0
0
0
0.241584
505
21
49
24.047619
0.840731
0.29703
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.071429
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
12504e8a755643f44ae1e7436164776d1957ad7b
622
py
Python
RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectrons_cfi.py
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
2
2020-01-27T15:21:37.000Z
2020-05-11T11:13:18.000Z
RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectrons_cfi.py
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
8
2020-03-20T23:18:36.000Z
2020-05-27T11:00:06.000Z
RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectrons_cfi.py
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
3
2017-06-07T15:22:28.000Z
2019-02-28T20:48:30.000Z
import FWCore.ParameterSet.Config as cms from RecoEgamma.EgammaElectronProducers.gsfElectrons_cfi import * lowPtGsfElectrons = ecalDrivenGsfElectrons.clone( gsfElectronCoresTag = "lowPtGsfElectronCores", gedElectronMode = True, ) from Configuration.Eras.Modifier_fastSim_cff import fastSim fastSim.toModify(lo...
38.875
92
0.85209
68
622
7.544118
0.529412
0.031189
0.046784
0.077973
0.183236
0.183236
0.183236
0
0
0
0
0.038394
0.078778
622
15
93
41.466667
0.856894
0
0
0
0
0
0.073955
0.073955
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1