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
47b10a6a9690954043d9db6351bfd982aa5c478a
1,319
py
Python
CMC/CheckMyChords/pyknon_extension.py
Ergaro/CheckMyChords
1088b3af468f453bd9e9fb7bcb2d07fc449570ba
[ "MIT" ]
1
2018-06-28T15:21:41.000Z
2018-06-28T15:21:41.000Z
CMC/CheckMyChords/pyknon_extension.py
Ergaro/CheckMyChords
1088b3af468f453bd9e9fb7bcb2d07fc449570ba
[ "MIT" ]
null
null
null
CMC/CheckMyChords/pyknon_extension.py
Ergaro/CheckMyChords
1088b3af468f453bd9e9fb7bcb2d07fc449570ba
[ "MIT" ]
null
null
null
# this module extends the pyknon library - should be imported wherever # the oryginal pyknon is used # theese functions add @properties of Note and NoteSeq from pyknon library # they return notes and noteSeq-s in a form that is parsable back to Note # and NoteSeq objects (to store them in db) # TODO - make sure this ...
30.674419
76
0.636846
215
1,319
3.804651
0.376744
0.05868
0.04401
0.051345
0.188264
0.139364
0.139364
0.066015
0.066015
0.066015
0
0.005629
0.191812
1,319
42
77
31.404762
0.761726
0.299469
0
0.16
0
0
0.053493
0
0
0
0
0.02381
0
1
0.16
false
0
0.08
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
47cc83cd8d7ca02dd21b02e7467e4bd975dfe91b
351
py
Python
ScrappingTool/models/source.py
Jecosine/VocabularyX-Dev
2feb8c2b50aebdfa2e0d8359d8fca11507ebd3a0
[ "Apache-2.0" ]
2
2021-03-25T15:34:11.000Z
2021-06-18T08:34:43.000Z
ScrappingTool/models/source.py
Cygnus-Mechanics/VocabularyX-Dev
d9321a07d616ea38d73057dbef8166fd8602bf7b
[ "Apache-2.0" ]
null
null
null
ScrappingTool/models/source.py
Cygnus-Mechanics/VocabularyX-Dev
d9321a07d616ea38d73057dbef8166fd8602bf7b
[ "Apache-2.0" ]
1
2021-03-25T15:34:13.000Z
2021-03-25T15:34:13.000Z
''' Date: 2021-02-07 11:16:07 LastEditors: Jecosine LastEditTime: 2021-02-07 12:19:36 ''' import json class Source: def __init__(self): self.stype = '' self.title = '' self.description = '' """ Convert html parser(dl) to object """ def parser(self, html_parser): s...
17.55
39
0.589744
45
351
4.466667
0.644444
0.149254
0.079602
0
0
0
0
0
0
0
0
0.108949
0.267806
351
19
40
18.473684
0.673152
0.230769
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
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
1
0
0
0
0
0
0
0
1
47d0221ecf311127f6d37cbc90e041452d238222
1,655
py
Python
Section01_SOLID/script-Ocp.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
1
2020-10-20T07:41:51.000Z
2020-10-20T07:41:51.000Z
Section01_SOLID/script-Ocp.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
null
null
null
Section01_SOLID/script-Ocp.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
null
null
null
from Section01_SOLID.OpenClosePrinciple.BetterFilter import BetterFilter from Section01_SOLID.OpenClosePrinciple.Color import Color from Section01_SOLID.OpenClosePrinciple.ColorSpecification import ColorSpecification from Section01_SOLID.OpenClosePrinciple.Product import Product from Section01_SOLID.OpenClosePrinciple....
33.1
84
0.74864
206
1,655
5.92233
0.237864
0.07459
0.103279
0.206557
0.129508
0.129508
0.081967
0
0
0
0
0.015439
0.138973
1,655
49
85
33.77551
0.840702
0.209063
0
0.071429
0
0
0.136469
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.285714
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
47d04eab317d69eaa73ac178ec82dc7d2939bf6c
398
py
Python
resources/python/python.py
jja33705/Laravel_Python_Test
acef9d64b75a5949be38fb99e7740c8290be4326
[ "MIT" ]
null
null
null
resources/python/python.py
jja33705/Laravel_Python_Test
acef9d64b75a5949be38fb99e7740c8290be4326
[ "MIT" ]
null
null
null
resources/python/python.py
jja33705/Laravel_Python_Test
acef9d64b75a5949be38fb99e7740c8290be4326
[ "MIT" ]
null
null
null
import sys from urllib.request import urlopen from bs4 import BeautifulSoup as bs import urllib.parse baseUrl = 'https://search.naver.com/search.naver?where=post&sm=tab_jum&query=' plusUrl = sys.argv[1] url = baseUrl + urllib.parse.quote_plus(plusUrl) html = urlopen(url) bsObject = bs(html, 'html.parser') title = bsO...
26.533333
78
0.761307
64
398
4.625
0.6875
0.074324
0
0
0
0
0
0
0
0
0
0.005698
0.11809
398
14
79
28.428571
0.837607
0
0
0
0
0.083333
0.251256
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
47d125bf52c7e2cf484c6569ec77ed1d65237670
2,628
py
Python
home/wagtail_hooks.py
jeffykle/kf-public
2ea86908709f9903b626e7be192126053f39dfd2
[ "MIT" ]
null
null
null
home/wagtail_hooks.py
jeffykle/kf-public
2ea86908709f9903b626e7be192126053f39dfd2
[ "MIT" ]
null
null
null
home/wagtail_hooks.py
jeffykle/kf-public
2ea86908709f9903b626e7be192126053f39dfd2
[ "MIT" ]
null
null
null
# open external links in a new window from django.utils.html import escape from wagtail.contrib.modeladmin.helpers import ButtonHelper from wagtail.contrib.modeladmin.mixins import ThumbnailMixin from wagtail.contrib.modeladmin.options import ModelAdmin, modeladmin_register from wagtail.core import hooks from wagtail....
42.387097
108
0.758371
340
2,628
5.664706
0.479412
0.034268
0.028037
0.043614
0
0
0
0
0
0
0
0.008668
0.165906
2,628
61
109
43.081967
0.869982
0.231355
0
0
0
0
0.128486
0.028386
0
0
0
0
0
1
0.1
false
0
0.2
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
47de54ed3d4e77dc0e21e7bc7f7e85e28a9d0ee7
889
py
Python
smart-camera/app/test/test_run_listen_frame.py
mxmaxime/mx-tech-house
f6b66b8390b348e48d4c6ea0da51e409f3845fd6
[ "MIT" ]
2
2021-04-29T19:28:59.000Z
2021-04-29T21:20:32.000Z
smart-camera/app/test/test_run_listen_frame.py
mxmaxime/mx-tech-house
f6b66b8390b348e48d4c6ea0da51e409f3845fd6
[ "MIT" ]
101
2020-06-26T19:51:24.000Z
2021-03-28T09:35:55.000Z
smart-camera/app/test/test_run_listen_frame.py
mxmaxime/mx-tech-house
f6b66b8390b348e48d4c6ea0da51e409f3845fd6
[ "MIT" ]
null
null
null
from unittest import TestCase from unittest.mock import Mock from service_manager.run_listen_frame import RunListenFrame class RunListenFrameTestCase(TestCase): def setUp(self) -> None: self.connected_devices = Mock() self.runnable = RunListenFrame(self.connected_devices) self.device_id ...
32.925926
77
0.730034
115
889
5.391304
0.313043
0.090323
0.193548
0.091935
0.474194
0.391935
0.23871
0.135484
0.135484
0
0
0
0.183352
889
26
78
34.192308
0.853994
0
0
0.111111
0
0
0.015766
0
0
0
0
0
0.111111
1
0.166667
false
0
0.166667
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
47de709b55c8f2903be0592199330417375212ae
356
py
Python
apps/houses/migrations/0003_auto_20201021_1439.py
AJAkimana/py-store
f190bd5c2728ca80a1c0efcf199781ed5ca83645
[ "MIT" ]
null
null
null
apps/houses/migrations/0003_auto_20201021_1439.py
AJAkimana/py-store
f190bd5c2728ca80a1c0efcf199781ed5ca83645
[ "MIT" ]
3
2020-02-25T12:19:53.000Z
2021-06-10T19:52:29.000Z
apps/houses/migrations/0003_auto_20201021_1439.py
AJAkimana/py-store
f190bd5c2728ca80a1c0efcf199781ed5ca83645
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2020-10-21 14:39 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('houses', '0002_house_user_id'), ] operations = [ migrations.RenameField( model_name='house', old_name='user_id', ...
18.736842
48
0.575843
40
356
4.95
0.725
0.060606
0
0
0
0
0
0
0
0
0
0.081301
0.308989
356
18
49
19.777778
0.723577
0.129213
0
0
1
0
0.12987
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
47df6d99171c35f37f12cc9db29c1a4a78a7587d
5,537
py
Python
full-stack-work/mock-ecommerce/commerce/auctions/views.py
dariangarcia-404/breezy-palm-tree
4c6403addda32209799fb84be97f1008b823f28f
[ "MIT" ]
null
null
null
full-stack-work/mock-ecommerce/commerce/auctions/views.py
dariangarcia-404/breezy-palm-tree
4c6403addda32209799fb84be97f1008b823f28f
[ "MIT" ]
null
null
null
full-stack-work/mock-ecommerce/commerce/auctions/views.py
dariangarcia-404/breezy-palm-tree
4c6403addda32209799fb84be97f1008b823f28f
[ "MIT" ]
null
null
null
from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.db import IntegrityError from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render from django.urls import reverse from .models import User, Listing, Bi...
35.49359
75
0.596171
564
5,537
5.785461
0.22695
0.053938
0.058229
0.082746
0.234447
0.181735
0.178057
0.134845
0.134845
0.098069
0
0.000259
0.303052
5,537
155
76
35.722581
0.845297
0.03305
0
0.3
0
0
0.11976
0.025636
0
0
0
0
0
1
0.053846
false
0.053846
0.053846
0
0.207692
0
0
0
0
null
0
0
0
0
0
0
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
47e385e865d64c613ea459ddac1d4e1bcbcb32ba
1,014
py
Python
metaci/api/views/cumulusci.py
sfdc-qbranch/MetaCI
78ac0d2bccd2db381998321ebd71029dd5d9ab39
[ "BSD-3-Clause" ]
48
2018-10-24T14:52:06.000Z
2022-03-25T21:14:50.000Z
metaci/api/views/cumulusci.py
sfdc-qbranch/MetaCI
78ac0d2bccd2db381998321ebd71029dd5d9ab39
[ "BSD-3-Clause" ]
2,034
2018-10-31T20:59:16.000Z
2022-03-22T21:38:03.000Z
metaci/api/views/cumulusci.py
sfdc-qbranch/MetaCI
78ac0d2bccd2db381998321ebd71029dd5d9ab39
[ "BSD-3-Clause" ]
27
2018-12-24T18:16:23.000Z
2021-12-15T17:57:27.000Z
from django.shortcuts import render from rest_framework import viewsets from metaci.api.serializers.cumulusci import ( OrgSerializer, ScratchOrgInstanceSerializer, ServiceSerializer, ) from metaci.cumulusci.filters import OrgFilter, ScratchOrgInstanceFilter from metaci.cumulusci.models import Org, ScratchO...
25.35
72
0.763314
94
1,014
8.170213
0.43617
0.039063
0.082031
0.109375
0.1875
0.1875
0.1875
0.1875
0
0
0
0
0.171598
1,014
39
73
26
0.914286
0.133136
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
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
47e4cf42c03def4330acb0090987f082b8560b81
6,640
py
Python
pysnmp/A3COM-HUAWEI-DNS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/A3COM-HUAWEI-DNS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/A3COM-HUAWEI-DNS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module A3COM-HUAWEI-DNS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A3COM-HUAWEI-DNS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 16:49:29 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
116.491228
912
0.759337
756
6,640
6.666667
0.198413
0.008333
0.01131
0.015079
0.368056
0.302976
0.277183
0.264881
0.264881
0.264881
0
0.10048
0.090211
6,640
56
913
118.571429
0.733819
0.050301
0
0.0625
0
0
0.181197
0.040019
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
47f61d464513e460a2bbe33226faf09b95f7cc6a
26,078
py
Python
standalone/parser.py
kadrlica/desdm_standalone
baefb61d2d77225aa8581b1cc033e6e061779143
[ "MIT" ]
1
2016-06-17T21:53:50.000Z
2016-06-17T21:53:50.000Z
standalone/parser.py
kadrlica/desdm_standalone
baefb61d2d77225aa8581b1cc033e6e061779143
[ "MIT" ]
null
null
null
standalone/parser.py
kadrlica/desdm_standalone
baefb61d2d77225aa8581b1cc033e6e061779143
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse from argparse import ArgumentParser,ArgumentDefaultsHelpFormatter import subprocess mkbleedhelp = """ Detects bleedtrails in Y for incoming FITS image. Sets BADPIX_TRAIL for detected bleedtrails, and BADPIX_INTERP if interpolation is enabled, and BADPIX_STAR if star masking is ena...
37.959243
421
0.6257
3,175
26,078
5.048189
0.210709
0.009983
0.010294
0.013726
0.413464
0.385388
0.354941
0.332543
0.303531
0.297667
0
0.029664
0.270918
26,078
686
422
38.014577
0.813338
0.036046
0
0.231818
0
0.036364
0.465432
0.073956
0
0
0
0
0
0
null
null
0
0.013636
null
null
0.022727
0
0
0
null
0
0
0
0
0
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
47f65ba8c4e40219a74c58a3e741d5c74f610a42
2,317
py
Python
foil/deserializers.py
portfoliome/foil
b66d8cf4ab048a387d8c7a033b47e922ed6917d6
[ "MIT" ]
30
2016-10-03T04:04:26.000Z
2021-03-16T17:40:11.000Z
foil/deserializers.py
portfoliome/foil
b66d8cf4ab048a387d8c7a033b47e922ed6917d6
[ "MIT" ]
11
2017-01-01T17:49:51.000Z
2017-12-14T18:13:20.000Z
foil/deserializers.py
portfoliome/foil
b66d8cf4ab048a387d8c7a033b47e922ed6917d6
[ "MIT" ]
null
null
null
import collections from functools import partial from itertools import chain from types import MappingProxyType from typing import Callable from uuid import UUID import iso8601 from foil.parsers import parse_iso_date as _parse_iso_date def parse_uuid(value): try: value = UUID(value, version=4) except...
25.461538
77
0.65041
273
2,317
5.326007
0.322344
0.098349
0.041265
0.024759
0.071527
0.035763
0
0
0
0
0
0.010161
0.277946
2,317
90
78
25.744444
0.858936
0.206301
0
0.18
0
0
0.001119
0
0
0
0
0
0
1
0.1
false
0.06
0.16
0
0.36
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9a019c3dd60c88cfc79bc5e7f314122b44e0ccf5
1,311
py
Python
scripts/nccstrip2.py
imuxin/ncc
e8469f5e044e306de5f5088d7b46a1672c8f2cc2
[ "0BSD" ]
1
2015-05-26T15:40:21.000Z
2015-05-26T15:40:21.000Z
scripts/nccstrip2.py
imuxin/ncc
e8469f5e044e306de5f5088d7b46a1672c8f2cc2
[ "0BSD" ]
null
null
null
scripts/nccstrip2.py
imuxin/ncc
e8469f5e044e306de5f5088d7b46a1672c8f2cc2
[ "0BSD" ]
null
null
null
#!/usr/bin/env python # This file is installed and used automatically by ncc each time it # "links" nccout object files. import sys have = {} def getsub (line, set): global outlines TS = '' TL = [ line ] for j in instream: if j[0] not in set: break j = j[:-1] TS += j TL.append...
18.208333
68
0.561404
192
1,311
3.833333
0.401042
0.054348
0.032609
0.043478
0
0
0
0
0
0
0
0.01797
0.278413
1,311
71
69
18.464789
0.760042
0.087719
0
0.135593
0
0
0.04694
0
0
0
0
0
0
0
null
null
0
0.033898
null
null
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9a072f0ee1bd40ad44d2ec5720042f9de8371dd8
1,839
py
Python
src/pygiggle/hackerrank/maximize_it.py
mig4/pygiggle
585a1e30556cd70afa944723b90ad03ba3a648d5
[ "MIT" ]
null
null
null
src/pygiggle/hackerrank/maximize_it.py
mig4/pygiggle
585a1e30556cd70afa944723b90ad03ba3a648d5
[ "MIT" ]
null
null
null
src/pygiggle/hackerrank/maximize_it.py
mig4/pygiggle
585a1e30556cd70afa944723b90ad03ba3a648d5
[ "MIT" ]
null
null
null
"""Maximize It challenge from HackerRank.""" import functools import itertools from typing import List def main(): """CLI interface.""" print(maximize_it(read_input())) # @dataclass not supported in PyPy yet :( class Data: # pylint: disable=R0903 # dataclass, methods don't matter """Data for the tes...
24.851351
79
0.603589
251
1,839
4.239044
0.350598
0.052632
0.033835
0.030075
0
0
0
0
0
0
0
0.007194
0.244154
1,839
73
80
25.191781
0.758273
0.266993
0
0
0
0
0.133333
0.059608
0
0
0
0
0.027778
1
0.222222
false
0
0.083333
0.027778
0.5
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9a0a65c95f6eee2d841d45ecc2d2bab133e1d158
453
py
Python
migrations/20201102_01_JfCHW-create-table.py
Asa-Nisi-Masa/movie-recommender
92752aa302e166885ab3e39b3e9d2ac9185a013e
[ "MIT" ]
null
null
null
migrations/20201102_01_JfCHW-create-table.py
Asa-Nisi-Masa/movie-recommender
92752aa302e166885ab3e39b3e9d2ac9185a013e
[ "MIT" ]
null
null
null
migrations/20201102_01_JfCHW-create-table.py
Asa-Nisi-Masa/movie-recommender
92752aa302e166885ab3e39b3e9d2ac9185a013e
[ "MIT" ]
null
null
null
""" create_table """ from yoyo import step __depends__ = {} steps = [ step("CREATE TABLE movies \ (\ id SERIAL,\ imdb_id VARCHAR(255) NOT NULL,\ title VARCHAR(255) NOT NULL,\ encoding FLOAT4[32]\ )", "DROP TABLE movies" ), step("CREA...
16.777778
43
0.463576
43
453
4.744186
0.511628
0.161765
0.147059
0.166667
0.245098
0
0
0
0
0
0
0.045455
0.417219
453
26
44
17.423077
0.727273
0.02649
0
0.5
0
0
0.076212
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
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
9a10a00668131bde63e96e97cc6744128d6cf103
2,840
py
Python
mvc/controller/story.py
gitzain/project-x
8af2fa139fd558dfe7fcf95a82c53f0f363ca692
[ "CECILL-B" ]
null
null
null
mvc/controller/story.py
gitzain/project-x
8af2fa139fd558dfe7fcf95a82c53f0f363ca692
[ "CECILL-B" ]
44
2016-08-29T19:26:00.000Z
2017-04-28T15:13:54.000Z
controller/story.py
gitzain/realnewsbot
90b09b24dc48d0daf48b97a95f393c50c774c9fa
[ "CECILL-B" ]
null
null
null
import sys, arrow, time, dateutil from uuid import uuid4 from datetime import datetime sys.path.insert(0, 'controller/') #Import library essentials from sumy.parsers.plaintext import PlaintextParser #We're choosing a plaintext parser here, other parsers available for HTML etc. from sumy.nlp.tokenizers import Tokenize...
23.666667
129
0.711268
413
2,840
4.782082
0.322034
0.04557
0.022278
0.019747
0.077975
0.036456
0.033418
0.033418
0.033418
0.033418
0
0.004655
0.167958
2,840
119
130
23.865546
0.831147
0.1
0
0.142857
0
0
0.049823
0.008239
0
0
0
0
0
1
0.202381
false
0
0.083333
0.035714
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9a1b3a22060f6ccf4f0957ce62d138f81fd95cda
10,791
py
Python
aplicaciones_informaticas/backend/models.py
awainer/7539
4c9e7924741c1478fabc68fcd00b010cbf92fed2
[ "Unlicense" ]
null
null
null
aplicaciones_informaticas/backend/models.py
awainer/7539
4c9e7924741c1478fabc68fcd00b010cbf92fed2
[ "Unlicense" ]
null
null
null
aplicaciones_informaticas/backend/models.py
awainer/7539
4c9e7924741c1478fabc68fcd00b010cbf92fed2
[ "Unlicense" ]
null
null
null
from django.db import models from geoposition.fields import GeopositionField from decimal import Decimal from backend import geo_distance import math # Create your models here. class HealthCenter(models.Model): name = models.CharField(max_length=255) address = models.CharField(max_length=255) phone = mod...
36.955479
110
0.643314
1,186
10,791
5.652614
0.177066
0.024612
0.024165
0.03222
0.33756
0.236724
0.160352
0.09278
0.073389
0.048628
0
0.00998
0.266426
10,791
292
111
36.955479
0.836913
0.05171
0
0.205742
0
0
0.020004
0
0
0
0
0
0
1
0.119617
false
0
0.023923
0.043062
0.535885
0
0
0
0
null
0
0
0
0
0
0
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
9a255d19980c876168fb971ef0800ed402cd35a1
1,404
py
Python
Algorithms_easy/1436. Destination City.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
4
2020-08-11T20:45:15.000Z
2021-03-12T00:33:34.000Z
Algorithms_easy/1436. Destination City.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
null
null
null
Algorithms_easy/1436. Destination City.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
null
null
null
""" 1436. Destination City You are given the array paths, where paths[i] = [cityAi, cityBi] means there exists a direct path going from cityAi to cityBi. Return the destination city, that is, the city without any path outgoing to another city. It is guaranteed that the graph of paths forms a line without any loop, the...
29.25
216
0.631054
211
1,404
4.199052
0.469194
0.08465
0.060948
0.009029
0
0
0
0
0
0
0
0.015483
0.217949
1,404
48
217
29.25
0.791439
0.803419
0
0
0
0
0
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
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a25e372674f70faa599f69628b2ed2bf47fa399
1,212
py
Python
backend/doppelkopf/__init__.py
lkoehl/doppelkopf
fe80fc10cd8296da2a4ab97afb502eb69e50fb9b
[ "MIT" ]
null
null
null
backend/doppelkopf/__init__.py
lkoehl/doppelkopf
fe80fc10cd8296da2a4ab97afb502eb69e50fb9b
[ "MIT" ]
null
null
null
backend/doppelkopf/__init__.py
lkoehl/doppelkopf
fe80fc10cd8296da2a4ab97afb502eb69e50fb9b
[ "MIT" ]
null
null
null
import os import sys import logging from flask import Flask # type: ignore import sentry_sdk from sentry_sdk.integrations.flask import FlaskIntegration from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration def create_app(test_config=None): # create and configure the app app = Flask(__name__, ...
27.545455
80
0.721947
143
1,212
5.972028
0.447552
0.042155
0.030445
0.058548
0
0
0
0
0
0
0
0.02454
0.193069
1,212
43
81
28.186047
0.848671
0.087459
0
0
0
0
0.129882
0.059946
0
0
0
0
0
1
0.034483
false
0
0.310345
0
0.37931
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9a3566690541bc17ad5495f725baec5c187d3cd4
1,874
py
Python
Heap/Heap.py
DanielPramatarov/Python-Data-Structures-Implementation
a6479d3ba1b787b8c8c433db53c75d1274256715
[ "Apache-2.0" ]
null
null
null
Heap/Heap.py
DanielPramatarov/Python-Data-Structures-Implementation
a6479d3ba1b787b8c8c433db53c75d1274256715
[ "Apache-2.0" ]
null
null
null
Heap/Heap.py
DanielPramatarov/Python-Data-Structures-Implementation
a6479d3ba1b787b8c8c433db53c75d1274256715
[ "Apache-2.0" ]
null
null
null
CAPACITY = 100 class Heap: def __init__(self): self.heap_size = 0 self.heap = [0]*CAPACITY def insert(self, item): if self.heap_size == CAPACITY: return self.heap[self.heap_size] = item self.heap_size = self.heap_size + 1 self.fix_up(self.heap_si...
21.295455
99
0.606724
273
1,874
3.970696
0.153846
0.250923
0.143911
0.059963
0.357934
0.330258
0.29797
0.197417
0.151292
0
0
0.030724
0.270544
1,874
87
100
21.54023
0.762253
0
0
0
0
0
0.000534
0
0
0
0
0
0
1
0.12963
false
0
0
0.018519
0.203704
0.018519
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
9a361beb1acdc34d28bef093e28ef58522052aa9
1,981
py
Python
myapp/migrations/0001_initial.py
kaido1224/currencytracker
5fbf77d11746aa7bdfadffcb9511a397df248b1b
[ "MIT" ]
1
2021-12-29T22:17:17.000Z
2021-12-29T22:17:17.000Z
myapp/migrations/0001_initial.py
kaido1224/currencytracker
5fbf77d11746aa7bdfadffcb9511a397df248b1b
[ "MIT" ]
null
null
null
myapp/migrations/0001_initial.py
kaido1224/currencytracker
5fbf77d11746aa7bdfadffcb9511a397df248b1b
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-12-28 03:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Book', fields=[ ...
45.022727
117
0.588087
206
1,981
5.524272
0.373786
0.067663
0.13181
0.1529
0.564148
0.564148
0.499121
0.286467
0.286467
0.286467
0
0.017747
0.260475
1,981
43
118
46.069767
0.759044
0.022716
0
0.388889
1
0
0.088418
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a3c6a456a495d407bcb4b8974aff35d6df0e384
635
py
Python
commons/logger.py
oeg-upm/tada-gam
99f56d0cdfe39fc78f58480d274a22bb63698745
[ "Apache-2.0" ]
1
2019-05-23T13:52:13.000Z
2019-05-23T13:52:13.000Z
commons/logger.py
oeg-upm/tada-gam
99f56d0cdfe39fc78f58480d274a22bb63698745
[ "Apache-2.0" ]
null
null
null
commons/logger.py
oeg-upm/tada-gam
99f56d0cdfe39fc78f58480d274a22bb63698745
[ "Apache-2.0" ]
null
null
null
import os import logging dir_path = os.path.dirname(os.path.realpath(__file__)) print dir_path # LOG_DIR = "tada-gam.log" #LOG_DIR = os.path.join("tada-gam.log") LOG_DIR = os.path.join(dir_path, "tada-gam.log") def set_config(logger, logdir=""): if logdir != "": handler = logging.FileHandler(logdir) ...
27.608696
88
0.686614
84
635
5.047619
0.416667
0.056604
0.070755
0.061321
0.122642
0.122642
0.122642
0.122642
0
0
0
0.00566
0.165354
635
23
89
27.608696
0.79434
0.16378
0
0
0
0
0.119318
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.066667
0
0
0
null
0
0
0
0
0
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
9a3f64160c967ad682ee20cc0c41375a9d8b1af6
973
py
Python
flankers/indexing.py
Mec-iS/chronostriples-backup
79bdd902dc1d4862597469d4ac127f41bb5c1059
[ "Apache-2.0" ]
null
null
null
flankers/indexing.py
Mec-iS/chronostriples-backup
79bdd902dc1d4862597469d4ac127f41bb5c1059
[ "Apache-2.0" ]
null
null
null
flankers/indexing.py
Mec-iS/chronostriples-backup
79bdd902dc1d4862597469d4ac127f41bb5c1059
[ "Apache-2.0" ]
null
null
null
import webapp2 import datetime from config.config import _DEBUG from datastore.models import WebResource __author__ = 'Lorenzo' class Indexing(webapp2.RequestHandler): """ A very basic crawler for RSS links #TO-DO: implement memecache for stored items not yet indexed """ def get(self): ...
25.605263
72
0.64851
114
973
5.438596
0.614035
0.029032
0
0
0
0
0
0
0
0
0
0.007013
0.267215
973
37
73
26.297297
0.862553
0.024666
0
0
0
0
0.030973
0
0
0
0
0
0
0
null
null
0
0.263158
null
null
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9a4eaf8826cd1b0ca5ba1eda09fca65516a6b2f2
350
py
Python
rec_to_nwb/processing/nwb/components/position/fl_position.py
LorenFrankLab/rec_to_nwb
d0630f414662963ebbe23aedf8f3ce07628636bc
[ "Apache-2.0" ]
1
2021-01-20T00:26:30.000Z
2021-01-20T00:26:30.000Z
rec_to_nwb/processing/nwb/components/position/fl_position.py
LorenFrankLab/rec_to_nwb
d0630f414662963ebbe23aedf8f3ce07628636bc
[ "Apache-2.0" ]
12
2020-11-13T01:36:32.000Z
2022-01-23T20:35:55.000Z
rec_to_nwb/processing/nwb/components/position/fl_position.py
LorenFrankLab/rec_to_nwb
d0630f414662963ebbe23aedf8f3ce07628636bc
[ "Apache-2.0" ]
3
2020-10-20T06:52:45.000Z
2021-07-06T23:00:53.000Z
"""Class that stores the position information""" class FlPosition: """Stores the position information""" def __init__(self, position_data, column_labels, timestamps, conversion): self.position_data = position_data self.column_labels = column_labels self.timestamps = timestamps ...
29.166667
77
0.711429
37
350
6.459459
0.405405
0.150628
0.142259
0.23431
0
0
0
0
0
0
0
0
0.208571
350
11
78
31.818182
0.862816
0.211429
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a4f90af0adb21e5acf5edbcb1dd40dc3d5289c5
632
py
Python
configs/egohands/egohands_dataset.py
mah110mat/mmdetection
68caf92946defdd26b4fc1e162207e16120d8378
[ "Apache-2.0" ]
null
null
null
configs/egohands/egohands_dataset.py
mah110mat/mmdetection
68caf92946defdd26b4fc1e162207e16120d8378
[ "Apache-2.0" ]
null
null
null
configs/egohands/egohands_dataset.py
mah110mat/mmdetection
68caf92946defdd26b4fc1e162207e16120d8378
[ "Apache-2.0" ]
null
null
null
_base_ = '../_base_/datasets/coco_detection.py' data_root = 'data/egohands/' classes = ('myleft', 'myright', 'yourleft', 'yourright') # クラスラベル data = dict( train=dict( classes=classes, # COCOデータセットのクラスをオーバーライド ann_file=data_root+'annotations/train.json', img_prefix=data_root+'train/'), ...
37.176471
66
0.666139
69
632
5.84058
0.376812
0.138958
0.133995
0.297767
0.647643
0.491315
0.491315
0.491315
0.491315
0
0
0
0.19462
632
17
67
37.176471
0.791749
0.118671
0
0.176471
0
0
0.292948
0.18264
0
0
0
0
0
1
0
false
0
0
0
0
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
9a5247ac43f88bf8eab68d02e588a69513bab244
391
py
Python
setup.py
carlshan/ml_workflow
d1e1e079bfe9d2ad66b2e381b78dafc8005e7ee2
[ "MIT" ]
null
null
null
setup.py
carlshan/ml_workflow
d1e1e079bfe9d2ad66b2e381b78dafc8005e7ee2
[ "MIT" ]
1
2015-04-27T21:12:45.000Z
2015-04-27T21:12:45.000Z
setup.py
carlshan/ml_workflow
d1e1e079bfe9d2ad66b2e381b78dafc8005e7ee2
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='datascience_tools', version='0.0.2', description='Tools for data science', author='Carl Shan', author_email='carl@carlshan.com', url='https://github.com/carlshan/ml_workflow', license='MIT', install_requires=['numpy==1.9.1', ...
26.066667
50
0.578005
49
391
4.530612
0.755102
0
0
0
0
0
0
0
0
0
0
0.048276
0.258312
391
14
51
27.928571
0.717241
0
0
0
0
0
0.401535
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
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
9a538bcb624a84e3f3a783015f699ed0f9a71188
418
py
Python
annonce/migrations/0016_auto_20161015_1025.py
firasbenmakhlouf/JobLookup
f3afc6bbbf91cf24490c52fcf02e0eb9db4ce816
[ "MIT" ]
null
null
null
annonce/migrations/0016_auto_20161015_1025.py
firasbenmakhlouf/JobLookup
f3afc6bbbf91cf24490c52fcf02e0eb9db4ce816
[ "MIT" ]
null
null
null
annonce/migrations/0016_auto_20161015_1025.py
firasbenmakhlouf/JobLookup
f3afc6bbbf91cf24490c52fcf02e0eb9db4ce816
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-15 10:25 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('annonce', '0015_applyoffer'), ] operations = [ migrations.AlterUniqueTogether( ...
20.9
53
0.61244
43
418
5.790698
0.790698
0
0
0
0
0
0
0
0
0
0
0.067524
0.255981
418
19
54
22
0.733119
0.162679
0
0
1
0
0.118156
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a5e635401c84ef1828d93d37d753ce59f36e827
1,518
py
Python
music_nation/migrations/0001_initial.py
yadav-vikas/Music-player-django
6b502e42dba43bed95bca2fecaf3bb5111e59c10
[ "MIT" ]
null
null
null
music_nation/migrations/0001_initial.py
yadav-vikas/Music-player-django
6b502e42dba43bed95bca2fecaf3bb5111e59c10
[ "MIT" ]
null
null
null
music_nation/migrations/0001_initial.py
yadav-vikas/Music-player-django
6b502e42dba43bed95bca2fecaf3bb5111e59c10
[ "MIT" ]
null
null
null
# Generated by Django 2.1.1 on 2018-10-04 12:35 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL)...
38.923077
149
0.615283
167
1,518
5.419162
0.419162
0.035359
0.046409
0.072928
0.40884
0.316022
0.316022
0.316022
0.316022
0.316022
0
0.034241
0.249671
1,518
38
150
39.947368
0.760316
0.029644
0
0.322581
1
0
0.087016
0
0
0
0
0
0
1
0
false
0
0.129032
0
0.258065
0
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
9a6976ae14571bc181422e1bedd6a7dfa491ceea
11,375
py
Python
puddle/resource/resource_tree_viewer.py
rwl/puddle
e8fc0b2d6b9b08e60389fc4714a5cf51f628b57f
[ "MIT" ]
2
2016-05-09T15:19:31.000Z
2019-01-02T06:13:31.000Z
puddle/resource/resource_tree_viewer.py
rwl/puddle
e8fc0b2d6b9b08e60389fc4714a5cf51f628b57f
[ "MIT" ]
null
null
null
puddle/resource/resource_tree_viewer.py
rwl/puddle
e8fc0b2d6b9b08e60389fc4714a5cf51f628b57f
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------ # Copyright (C) 2009 Richard W. Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restrictio...
35.658307
79
0.511297
1,024
11,375
5.602539
0.291992
0.026146
0.017082
0.011853
0.13962
0.113823
0.063099
0.063099
0.0502
0.0502
0
0.002733
0.227868
11,375
318
80
35.77044
0.650461
0.556747
0
0.150943
0
0
0.014028
0
0
0
0
0.003145
0
1
0.132075
false
0
0.150943
0
0.537736
0
0
0
0
null
0
0
0
0
0
0
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
9a6aadebb218d2744eb9e2d640d3c528ba48829d
2,953
py
Python
tutorial/SpeedTest.py
euangelion666/Scrapy-test
c463a23398c8b32a9b63dedbab325b0e650994c6
[ "Apache-2.0" ]
null
null
null
tutorial/SpeedTest.py
euangelion666/Scrapy-test
c463a23398c8b32a9b63dedbab325b0e650994c6
[ "Apache-2.0" ]
null
null
null
tutorial/SpeedTest.py
euangelion666/Scrapy-test
c463a23398c8b32a9b63dedbab325b0e650994c6
[ "Apache-2.0" ]
null
null
null
__author__ = 'sheldon' def boiler(): from boilerpipe.extract import Extractor for i in range(0, 1000): input_filename = 'page/' + str(i) + '.txt' output_filename = 'boilerpipe/' + str(i) + '.txt' input_file = open(input_filename, 'r') s = input_file.read() input_file.clos...
35.578313
91
0.614968
361
2,953
4.800554
0.199446
0.06232
0.032314
0.02539
0.540681
0.540681
0.540681
0.508367
0.488748
0.4397
0
0.011691
0.246868
2,953
82
92
36.012195
0.767536
0.096512
0
0.492754
0
0
0.1155
0
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.043478
0
0
0
null
0
0
0
0
0
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
7bd09637e9cfcf9044dd49014c9bd753bddf90ac
8,073
py
Python
simscale_sdk/models/advanced_simmetrix_fluid_settings.py
slainesimscale/simscale-python-sdk
db483eeabe558e55d020f5f829a3bf13c9c287a7
[ "MIT" ]
8
2021-01-22T13:41:03.000Z
2022-01-03T09:00:10.000Z
simscale_sdk/models/advanced_simmetrix_fluid_settings.py
slainesimscale/simscale-python-sdk
db483eeabe558e55d020f5f829a3bf13c9c287a7
[ "MIT" ]
null
null
null
simscale_sdk/models/advanced_simmetrix_fluid_settings.py
slainesimscale/simscale-python-sdk
db483eeabe558e55d020f5f829a3bf13c9c287a7
[ "MIT" ]
3
2021-03-18T15:52:52.000Z
2022-01-03T08:59:30.000Z
# coding: utf-8 """ SimScale API The version of the OpenAPI document: 0.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from simscale_sdk.configuration import Configuration class AdvancedSimmetrixFluidSettings(object): """NOTE: This class is ...
43.171123
402
0.671374
990
8,073
5.285859
0.188889
0.056755
0.09077
0.068794
0.673037
0.615899
0.599274
0.493407
0.463214
0.364609
0
0.016626
0.247492
8,073
186
403
43.403226
0.844774
0.391057
0
0.120879
1
0
0.122932
0.036075
0
0
0
0
0
1
0.131868
false
0
0.043956
0
0.318681
0.021978
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7bd7e3c5ff4cb2ba3e8befcac328d2d8503cd327
4,232
py
Python
srclib/v3/spss/srclib/residuals.py
labordynamicsinstitute/ssb-example-code
205f7d9edc309408af1ee3c0d09fd36073e2e6f5
[ "MIT" ]
null
null
null
srclib/v3/spss/srclib/residuals.py
labordynamicsinstitute/ssb-example-code
205f7d9edc309408af1ee3c0d09fd36073e2e6f5
[ "MIT" ]
1
2021-05-18T23:43:37.000Z
2021-07-22T20:51:20.000Z
srclib/v3/spss/srclib/residuals.py
labordynamicsinstitute/ssb-example-code
205f7d9edc309408af1ee3c0d09fd36073e2e6f5
[ "MIT" ]
null
null
null
# residuals function import os, re, spss def residuals(datain, dataout, path, mode): grpvar = "" # build the spss command estvar = "" resvar = "" if not re.match(r"\.sav$", datain, flags=re.IGNORECASE): # get datain datain += ".sav" # add .sav cmd = "get file='{0}'.\n".format(datain) hold = 0 wit...
42.32
112
0.36673
462
4,232
3.359307
0.155844
0.085052
0.051546
0.069588
0.420747
0.381443
0.330541
0.293814
0.253866
0.140464
0
0.029301
0.435491
4,232
99
113
42.747475
0.620343
0.031191
0
0.336842
0
0.010526
0.202689
0
0
0
0
0
0
0
null
null
0
0.010526
null
null
0.010526
0
0
0
null
0
0
0
0
0
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
7be08b0939b6e465213f2f8e39cc1dfe7b723cc4
873
py
Python
src/csvParser.py
axilos22/smartLoto
42d8ff024078c6537f34c2719c8adbd0f4f910d5
[ "Apache-2.0" ]
null
null
null
src/csvParser.py
axilos22/smartLoto
42d8ff024078c6537f34c2719c8adbd0f4f910d5
[ "Apache-2.0" ]
null
null
null
src/csvParser.py
axilos22/smartLoto
42d8ff024078c6537f34c2719c8adbd0f4f910d5
[ "Apache-2.0" ]
null
null
null
import pandas as pd class Parser: def __init__(self,filename,relativePath="../ressources/",separator=';'): self.file = relativePath+filename self.dataFrame = pd.read_csv(self.file,separator,None,0) def showData(self): print(self.dataFrame) def data...
30.103448
86
0.581901
105
873
4.72381
0.428571
0.020161
0.024194
0.024194
0.012097
0
0
0
0
0
0
0.023256
0.261168
873
29
87
30.103448
0.745736
0.117984
0
0
0
0
0.105548
0
0
0
0
0
0
1
0.294118
false
0
0.058824
0.058824
0.470588
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7be3d4c6e12bd145367b43ea40d95c566b730117
2,804
py
Python
pastebin/pull_fingerprints.py
vasiliyph/invoke-antivm
0969d8251f5ba5a5893b4ddd0882d61913550e54
[ "Apache-2.0" ]
41
2020-10-02T06:55:41.000Z
2021-12-22T14:07:00.000Z
pastebin/pull_fingerprints.py
robomotic/invoke-antivm
0969d8251f5ba5a5893b4ddd0882d61913550e54
[ "Apache-2.0" ]
null
null
null
pastebin/pull_fingerprints.py
robomotic/invoke-antivm
0969d8251f5ba5a5893b4ddd0882d61913550e54
[ "Apache-2.0" ]
12
2020-10-08T12:39:31.000Z
2021-04-02T07:45:46.000Z
#!/usr/bin/env python # Pull the exfiltrated data from the powershell runs import xml.etree.ElementTree as ET import getpass import re import pastebin import os import datetime import base64 import gzip, zlib # API Settings api_dev_key = 'xxxxxxxxxxxxxxxxxxx' api_user_key = None api_password = 'xxxxxx' api_username ...
37.386667
152
0.630528
360
2,804
4.727778
0.297222
0.049354
0.06463
0.056404
0.328437
0.309636
0.269683
0.164512
0.164512
0.13161
0
0.018657
0.235378
2,804
74
153
37.891892
0.775187
0.057775
0
0.12069
0
0
0.202657
0.008729
0
0
0.001518
0
0
1
0
false
0.103448
0.137931
0
0.137931
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7bf1746e269e22db93f56bf59f90a9cb5bf0a33c
7,113
py
Python
neural_lifetimes/data/datamodules/sequence_datamodule.py
transferwise/neural-lifetimes
59d0ee2b7413bc44d2f45be9d71c491d29df6c58
[ "Apache-2.0" ]
2
2022-03-28T15:39:14.000Z
2022-03-29T23:59:36.000Z
neural_lifetimes/data/datamodules/sequence_datamodule.py
transferwise/neural-lifetimes
59d0ee2b7413bc44d2f45be9d71c491d29df6c58
[ "Apache-2.0" ]
null
null
null
neural_lifetimes/data/datamodules/sequence_datamodule.py
transferwise/neural-lifetimes
59d0ee2b7413bc44d2f45be9d71c491d29df6c58
[ "Apache-2.0" ]
null
null
null
import random from typing import Any, Dict, List import pytorch_lightning as pl from sklearn.model_selection import train_test_split from ..dataloaders.sequence_loader import SequenceLoader from ..datasets.sequence_dataset import SequenceDataset, SequenceSubset from neural_lifetimes.utils.data import FeatureDictionar...
37.835106
115
0.656826
816
7,113
5.568627
0.231618
0.046215
0.033451
0.038512
0.327245
0.28059
0.189261
0.114657
0.104093
0.104093
0
0.000764
0.264164
7,113
187
116
38.037433
0.867405
0.39941
0
0.068966
0
0
0.023148
0
0
0
0
0.016043
0
1
0.137931
false
0.022989
0.08046
0.034483
0.356322
0
0
0
0
null
0
0
0
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
7bf211951cfac591c92dbd2701c3e22b4f20d403
203
py
Python
solutions/python3/940.py
sm2774us/amazon_interview_prep_2021
f580080e4a6b712b0b295bb429bf676eb15668de
[ "MIT" ]
42
2020-08-02T07:03:49.000Z
2022-03-26T07:50:15.000Z
solutions/python3/940.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
null
null
null
solutions/python3/940.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
40
2020-02-08T02:50:24.000Z
2022-03-26T15:38:10.000Z
class Solution: def distinctSubseqII(self, S): res, end = 0, collections.Counter() for c in S: res, end[c] = res * 2 + 1 - end[c], res + 1 return res % (10**9 + 7)
33.833333
55
0.502463
30
203
3.4
0.666667
0.078431
0.137255
0
0
0
0
0
0
0
0
0.061069
0.35468
203
6
56
33.833333
0.717557
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
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
7bf39a2b62ebf1ca9ba254f79853d3b9e5777a05
896
py
Python
Iniciante/Python/1131 - Grenais.py
gtozeti/URI
e776172fd5605e9d6e641bbd59859680fecd2400
[ "MIT" ]
2
2021-02-19T01:18:10.000Z
2021-02-19T01:18:27.000Z
Iniciante/Python/1131 - Grenais.py
gtozeti/URI
e776172fd5605e9d6e641bbd59859680fecd2400
[ "MIT" ]
null
null
null
Iniciante/Python/1131 - Grenais.py
gtozeti/URI
e776172fd5605e9d6e641bbd59859680fecd2400
[ "MIT" ]
null
null
null
inter_,gremio_ = input().split() inter = int(inter_) gremio = int(gremio_) a = 0 contador = 1 v_inter = 0 v_gremio = 0 empate = 0 if inter > gremio: v_inter += 1 elif inter == gremio: empate += 1 else: v_gremio += 1 while a == 0: print("Novo grenal (1-sim 2-nao)") cond = int(input()) if co...
17.92
41
0.53683
121
896
3.826446
0.223141
0.213823
0.084233
0.090713
0.50108
0.444924
0.444924
0.444924
0.444924
0.444924
0
0.034942
0.329241
896
49
42
18.285714
0.735441
0
0
0.5
0
0
0.108259
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
7bf435d6888fea268ffba0a8a9dc4185f52a3e2a
186
py
Python
exercicio 6.py
llucaslopes/Exercicios_LP_1B
766de286613de5b291ddf55aebff0bcdbd8019f7
[ "MIT" ]
null
null
null
exercicio 6.py
llucaslopes/Exercicios_LP_1B
766de286613de5b291ddf55aebff0bcdbd8019f7
[ "MIT" ]
null
null
null
exercicio 6.py
llucaslopes/Exercicios_LP_1B
766de286613de5b291ddf55aebff0bcdbd8019f7
[ "MIT" ]
null
null
null
valor1 = float(input("Digite o primeiro valor: ")) dobro = valor1 *2 triplo = valor1 *3 raiz = valor1 **0.5 print("O dobro {} o triplo {} e a raiz quadrada {}".format(dobro,triplo,raiz))
37.2
78
0.677419
30
186
4.2
0.633333
0
0
0
0
0
0
0
0
0
0
0.050955
0.155914
186
5
78
37.2
0.751592
0
0
0
0
0
0.363636
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
d005add89be08220113cfc73c907f757fcad7bf4
2,554
py
Python
compute.py
Sycmtic/FFmpeg-Analyzer-Tool
0f4114649adedf44b2491967fb8bf1f1088b90da
[ "Apache-2.0" ]
null
null
null
compute.py
Sycmtic/FFmpeg-Analyzer-Tool
0f4114649adedf44b2491967fb8bf1f1088b90da
[ "Apache-2.0" ]
1
2020-07-27T20:24:22.000Z
2020-07-27T20:24:22.000Z
compute.py
Sycmtic/FFmpeg-Analyzer-Tool
0f4114649adedf44b2491967fb8bf1f1088b90da
[ "Apache-2.0" ]
null
null
null
""" Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
33.168831
87
0.722005
395
2,554
4.43038
0.293671
0.059429
0.048571
0.050286
0.101714
0.076571
0.033143
0
0
0
0
0.00392
0.200861
2,554
76
88
33.605263
0.853503
0.457713
0
0.137931
0
0
0
0
0
0
0
0.013158
0
1
0.137931
false
0
0.103448
0
0.37931
0
0
0
0
null
0
0
0
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
d009fb808673041fa39780775494a334feb31a4c
1,232
py
Python
account/tests.py
KimSoungRyoul/drf_unitteset_study_project
9a0d824bdc6343eeba6209299c077a6e9d280516
[ "MIT" ]
null
null
null
account/tests.py
KimSoungRyoul/drf_unitteset_study_project
9a0d824bdc6343eeba6209299c077a6e9d280516
[ "MIT" ]
null
null
null
account/tests.py
KimSoungRyoul/drf_unitteset_study_project
9a0d824bdc6343eeba6209299c077a6e9d280516
[ "MIT" ]
null
null
null
# Create your tests here. from django.contrib.auth.models import User from django.test import TestCase from rest_framework import status from rest_framework.reverse import reverse from rest_framework.test import APIRequestFactory class TestSignUpCustomerAPI(TestCase): def setUp(self): self.factory = APIRe...
42.482759
104
0.504058
101
1,232
6
0.554455
0.039604
0.084158
0
0
0
0
0
0
0
0
0.012363
0.409091
1,232
28
105
44
0.820055
0.054383
0
0
0
0
0.13167
0
0
0
0
0
0.045455
1
0.090909
false
0.090909
0.227273
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
1
0
0
0
0
0
1
d0119e66ff77605bb8cd3ed07d01c8d6d2bc87d3
728
py
Python
crypto/db.py
xybotsu/pybot
3d533fb2d0bb42b4b41923de822c907a526a1810
[ "MIT" ]
2
2018-07-19T15:34:58.000Z
2018-07-19T15:45:05.000Z
crypto/db.py
xybotsu/pybot
3d533fb2d0bb42b4b41923de822c907a526a1810
[ "MIT" ]
4
2018-12-29T02:38:15.000Z
2019-12-24T06:09:18.000Z
crypto/db.py
xybotsu/pybot
3d533fb2d0bb42b4b41923de822c907a526a1810
[ "MIT" ]
null
null
null
import psycopg2 conn = psycopg2.connect( "dbname=dcblmalbr3hc29 user=qmtjusahysfbuw password=bf7f88662ef00c9c5e67ed275021c3d698472f04dcf753b77a5a92311ca1f3a6 host=ec2-50-19-86-139.compute-1.amazonaws.com port=5432" ) def sql(command: str, data=()): with conn: with conn.cursor() as curs: c...
22.75
177
0.660714
86
728
5.593023
0.616279
0.066528
0.058212
0.074844
0.24948
0.24948
0.24948
0.24948
0.24948
0.24948
0
0.112847
0.208791
728
31
178
23.483871
0.722222
0
0
0.285714
0
0.071429
0.313761
0.255046
0
0
0
0
0
1
0.142857
false
0.071429
0.071429
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d018c536ed3a2360fb3fea062871d0cf08522198
550
py
Python
postfix/process_email.py
Madhav-Sheth/tempmail
78d308ad1e29bf4978d2015440b1298d468ab4ff
[ "MIT" ]
null
null
null
postfix/process_email.py
Madhav-Sheth/tempmail
78d308ad1e29bf4978d2015440b1298d468ab4ff
[ "MIT" ]
null
null
null
postfix/process_email.py
Madhav-Sheth/tempmail
78d308ad1e29bf4978d2015440b1298d468ab4ff
[ "MIT" ]
1
2022-02-19T18:34:17.000Z
2022-02-19T18:34:17.000Z
#! /usr/bin/python3 import os import sys import json import requests import base64 from email.parser import Parser from email import policy email = Parser(policy=policy.SMTP).parse(sys.stdin) secret = os.getenv('SECRET') headers = { 'User-Agent': 'tempmail/service', 'Authorization': f'Bearer {secret}' } da...
19.642857
69
0.676364
78
550
4.74359
0.576923
0.048649
0
0
0
0
0
0
0
0
0
0.010776
0.156364
550
27
70
20.37037
0.786638
0.032727
0
0
0
0
0.207156
0
0
0
0
0
0
1
0
false
0
0.35
0
0.35
0
0
0
0
null
0
0
0
0
0
0
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
d01e5c4a16e1e80a07abefc5cf61382132397d5f
1,260
py
Python
taburu/event.py
TRI-AMDD/taburu
1603ba86c5eb7c9820c7111b91d8c7a277db5955
[ "Apache-2.0" ]
null
null
null
taburu/event.py
TRI-AMDD/taburu
1603ba86c5eb7c9820c7111b91d8c7a277db5955
[ "Apache-2.0" ]
null
null
null
taburu/event.py
TRI-AMDD/taburu
1603ba86c5eb7c9820c7111b91d8c7a277db5955
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019 Toyota Research Institute import abc from datetime import datetime from monty.json import MSONable class Event(abc.ABC): def __init__(self, time=None): self._time = time or datetime.utcnow().isoformat() # TODO: more descriptive name, populate space? class ParametersAdded(Event, MSON...
28.636364
59
0.630159
136
1,260
5.352941
0.294118
0.061813
0.04533
0.054945
0.258242
0.192308
0.192308
0.192308
0.192308
0.192308
0
0.004315
0.264286
1,260
43
60
29.302326
0.781014
0.070635
0
0.3125
0
0
0.058269
0
0
0
0
0.023256
0
1
0.15625
false
0
0.09375
0.0625
0.40625
0
0
0
0
null
0
0
0
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
d0244b2e6e31dc5f44f4c64380cd9e939bb6654a
1,882
py
Python
base/demo03.py
sauzny/python_note_book
8c76cc5a1aa4e0e03e252371ff3d2f603b7c92a9
[ "Apache-2.0" ]
null
null
null
base/demo03.py
sauzny/python_note_book
8c76cc5a1aa4e0e03e252371ff3d2f603b7c92a9
[ "Apache-2.0" ]
null
null
null
base/demo03.py
sauzny/python_note_book
8c76cc5a1aa4e0e03e252371ff3d2f603b7c92a9
[ "Apache-2.0" ]
null
null
null
# 引入日历模块 import calendar import sys # 打印我的工作日历 workDay = 0 restDay = 0 month = 8 weeks = calendar.monthcalendar(2021, month) jobDays = [[] for i in range(6)] jobDaysIndex = 0 print('# ' + str(month) + '月日报') print() print('## 一、日历') print() print('| 星期一 | 星期二 | 星期三 | 星期四 | 星期五 | <font color=red>星期六</font> | <font ...
28.089552
105
0.473433
235
1,882
3.791489
0.331915
0.10101
0.06734
0.024691
0.076319
0.044893
0
0
0
0
0
0.028137
0.301275
1,882
66
106
28.515152
0.64943
0.018066
0
0.150943
0
0.075472
0.394466
0.113945
0
0
0
0
0
1
0
false
0
0.037736
0
0.037736
0.490566
0
0
0
null
0
0
0
0
0
0
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
d0244e34588540d6a992ed3f6fbef1ec39b6191c
1,764
py
Python
code/fit_gaussian/fit_gaussian_utils.py
cmip6moap/project02
80c2583f920bf72a304d4949c31f5ba2f5ad6022
[ "CC-BY-4.0" ]
2
2021-05-31T10:12:02.000Z
2021-06-08T15:30:07.000Z
code/fit_gaussian/fit_gaussian_utils.py
cmip6moap/project02
80c2583f920bf72a304d4949c31f5ba2f5ad6022
[ "CC-BY-4.0" ]
null
null
null
code/fit_gaussian/fit_gaussian_utils.py
cmip6moap/project02
80c2583f920bf72a304d4949c31f5ba2f5ad6022
[ "CC-BY-4.0" ]
1
2021-06-04T15:07:33.000Z
2021-06-04T15:07:33.000Z
import numpy as np import os import sklearn.metrics from scipy.optimize import curve_fit def slice_lat(ds): return ds.sel(lat=slice(-25, 25)) def ensure_dir(file_path): """Check if a directory exists and create it if needed""" if not os.path.exists(file_path): os.makedirs(file_path) def days_p...
27.138462
99
0.585034
294
1,764
3.435374
0.411565
0.019802
0.023762
0.041584
0.124752
0.079208
0.039604
0
0
0
0
0.07121
0.259637
1,764
65
100
27.138462
0.702144
0.174603
0
0.116279
0
0
0.043262
0
0
0
0
0
0
1
0.139535
false
0.069767
0.093023
0.023256
0.348837
0
0
0
0
null
0
0
0
0
0
0
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
d0266a8d88e7400a1fc842caedd872681884d645
897
py
Python
tmp/env/lib/python3.6/site-packages/autotime.py
Nintendofan885/Detect_Cyberbullying_from_socialmedia
2f3d0a1eca0e3163565a17dcb35074e0808ed176
[ "Apache-2.0" ]
null
null
null
tmp/env/lib/python3.6/site-packages/autotime.py
Nintendofan885/Detect_Cyberbullying_from_socialmedia
2f3d0a1eca0e3163565a17dcb35074e0808ed176
[ "Apache-2.0" ]
null
null
null
tmp/env/lib/python3.6/site-packages/autotime.py
Nintendofan885/Detect_Cyberbullying_from_socialmedia
2f3d0a1eca0e3163565a17dcb35074e0808ed176
[ "Apache-2.0" ]
2
2020-08-03T13:02:06.000Z
2020-11-04T03:15:44.000Z
from __future__ import print_function import time from IPython.core.magics.execution import _format_time as format_delta class LineWatcher(object): """Class that implements a basic timer. Notes ----- * Register the `start` and `stop` methods with the IPython events API. """ def __init__(se...
23
74
0.667781
121
897
4.710744
0.396694
0.063158
0.091228
0.059649
0.259649
0.098246
0.098246
0
0
0
0
0.004292
0.220736
897
38
75
23.605263
0.811159
0.133779
0
0
0
0
0.076923
0
0
0
0
0
0.05
1
0.25
false
0
0.15
0
0.45
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d02d4a752db868db5bd352238e6d3554a2d86125
3,652
py
Python
rnn-ner/ml_corpus_annotator.py
nishankmahore/Bio-NER
cc36d2871e70d416300a5ac8ac498fbd87b50cd9
[ "MIT" ]
null
null
null
rnn-ner/ml_corpus_annotator.py
nishankmahore/Bio-NER
cc36d2871e70d416300a5ac8ac498fbd87b50cd9
[ "MIT" ]
null
null
null
rnn-ner/ml_corpus_annotator.py
nishankmahore/Bio-NER
cc36d2871e70d416300a5ac8ac498fbd87b50cd9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import cPickle from multiprocessing import Pool import multiprocessing import operator import numpy as np import argparse import os def _get_wordlist(input_txt): sep_wl = input_txt.lower().split(" ") wl = [sep_wl[0]] for w in sep_wl[1:]: wl.append(" ") ...
29.934426
114
0.5523
477
3,652
4.025157
0.218029
0.019792
0.025
0.027083
0.103125
0.046875
0.011458
0.011458
0.011458
0.011458
0
0.009482
0.306955
3,652
121
115
30.181818
0.748321
0.00575
0
0.085106
0
0
0.071082
0.019697
0
0
0
0
0
0
null
null
0
0.074468
null
null
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d03544b46054ebbf741534715a5e10b414c523ce
101
py
Python
src/introducao/01_nome_vs_objeto.py
SamuelPossamai/material_auxilio_conceitos_python
44c15e72f7409441fe0db38288dac782f0cbc94d
[ "MIT" ]
1
2022-02-08T23:39:11.000Z
2022-02-08T23:39:11.000Z
src/introducao/01_nome_vs_objeto.py
SamuelPossamai/material_auxilio_conceitos_python
44c15e72f7409441fe0db38288dac782f0cbc94d
[ "MIT" ]
null
null
null
src/introducao/01_nome_vs_objeto.py
SamuelPossamai/material_auxilio_conceitos_python
44c15e72f7409441fe0db38288dac782f0cbc94d
[ "MIT" ]
null
null
null
a = [] b = [] c = a a.append(1) b.append(2) c.append(3) print(f'{a=}, {b=}, {c=}') #print(a is c)
8.416667
26
0.455446
22
101
2.090909
0.454545
0.086957
0.130435
0
0
0
0
0
0
0
0
0.0375
0.207921
101
11
27
9.181818
0.5375
0.128713
0
0
0
0
0.186047
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d0468cfee3ad306302d89da503bbc8cb6aa0e7d3
6,302
py
Python
ledger/accounts/management/commands/sync_ad_users.py
thakurpriya1990/ledger
d678195539f8b19f267c35e9fbc9edfbcb15fc93
[ "Apache-2.0" ]
5
2018-02-12T03:16:36.000Z
2019-09-07T20:36:37.000Z
ledger/accounts/management/commands/sync_ad_users.py
thakurpriya1990/ledger
d678195539f8b19f267c35e9fbc9edfbcb15fc93
[ "Apache-2.0" ]
162
2018-02-16T05:13:03.000Z
2021-05-14T02:47:37.000Z
ledger/accounts/management/commands/sync_ad_users.py
thakurpriya1990/ledger
d678195539f8b19f267c35e9fbc9edfbcb15fc93
[ "Apache-2.0" ]
14
2018-02-15T05:22:36.000Z
2022-02-15T08:24:43.000Z
from django.core.management.base import BaseCommand, CommandError from ledger.address.models import UserAddress from django.core.exceptions import ValidationError from confy import env, database from ledger.accounts import models from django.conf import settings from ledger.emails.emails import sendHtmlEmail from djang...
55.280702
207
0.396223
496
6,302
4.889113
0.304435
0.05567
0.028866
0.045361
0.065979
0.065979
0.065979
0.065979
0.065979
0.065979
0
0.005002
0.524119
6,302
113
208
55.769912
0.803601
0.005871
0
0
0
0
0.104792
0.014058
0
0
0
0
0
1
0.020619
false
0.010309
0.154639
0
0.195876
0.082474
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
d04c8ca1244d5c586b224a2f011a7f3b4b6f1833
1,130
py
Python
tools/randomize.py
yuj09161/word
8260c50998cf3f129b7da886163a218774dea029
[ "MIT" ]
null
null
null
tools/randomize.py
yuj09161/word
8260c50998cf3f129b7da886163a218774dea029
[ "MIT" ]
null
null
null
tools/randomize.py
yuj09161/word
8260c50998cf3f129b7da886163a218774dea029
[ "MIT" ]
null
null
null
import random,sys from tools import parsing if __name__=='__main__': if len(sys.argv)>1: n=sys.argv[1] else: n=3 words,prefix=parsing('rand.csv'); data=[] for k in range(len(words)): data.append([str(k+1),*words[k],*prefix[k]]) for k in range(1,n+1): random.shuf...
38.965517
81
0.385841
170
1,130
2.517647
0.270588
0.126168
0.140187
0.196262
0.373832
0.306075
0.306075
0.299065
0.299065
0.191589
0
0.043767
0.332743
1,130
29
82
38.965517
0.523873
0.153982
0
0
0
0
0.050314
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
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
d04e26b2480767eab49213cd84a49a8a7d42acfa
281
py
Python
Section4_code_files/section4_2/ping_via_subprocess.py
PacktPublishing/-Python-Network-Programming
3b9391f2b86678ee69655b26dea01d41fa71823d
[ "MIT" ]
4
2019-05-17T00:34:47.000Z
2021-10-11T17:54:53.000Z
Section4_code_files/section4_2/ping_via_subprocess.py
PacktPublishing/-Python-Network-Programming
3b9391f2b86678ee69655b26dea01d41fa71823d
[ "MIT" ]
null
null
null
Section4_code_files/section4_2/ping_via_subprocess.py
PacktPublishing/-Python-Network-Programming
3b9391f2b86678ee69655b26dea01d41fa71823d
[ "MIT" ]
4
2019-06-13T19:28:17.000Z
2021-04-22T12:00:53.000Z
#!/usr/bin/env python3 import subprocess host_list = ['www.cisco.com', 'www.google.com', '192.168.2.1'] for host in host_list: print('*' * 10) print('host: ' + host) p = subprocess.Popen(['ping', '-c', '1', host], stdout=subprocess.PIPE) print(p.communicate())
21.615385
75
0.615658
41
281
4.170732
0.658537
0.093567
0
0
0
0
0
0
0
0
0
0.051502
0.170819
281
12
76
23.416667
0.682403
0.074733
0
0
0
0
0.20155
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
d0505bfa4cc97c0bbaba85862718aaf3cf8ca2e2
7,197
py
Python
ppysal/kernelweights/kerneltest.py
ElsevierSoftwareX/SOFTX_2018_242
9a7d7c02b2f1d7b6bfd1b08fbb2150c30ddd1046
[ "NCSA", "BSD-3-Clause" ]
22
2015-07-16T01:05:44.000Z
2021-07-28T15:38:19.000Z
ppysal/kernelweights/kerneltest.py
ElsevierSoftwareX/SOFTX-D-15-00005
bb0c21ca479db5ac3ecf789ab280d5e45c3c7805
[ "NCSA", "BSD-3-Clause" ]
1
2016-07-25T02:25:20.000Z
2016-07-25T17:38:26.000Z
ppysal/kernelweights/kerneltest.py
ElsevierSoftwareX/SOFTX-D-15-00005
bb0c21ca479db5ac3ecf789ab280d5e45c3c7805
[ "NCSA", "BSD-3-Clause" ]
20
2015-10-28T15:28:48.000Z
2021-06-17T14:29:16.000Z
#Standard Lib. Imports from copy_reg import pickle import itertools import multiprocessing as mp import time from types import MethodType #PySAL import pysal as ps from pysal.weights.user import kernelW_from_shapefile as kws from util import get_points_array_from_shapefile from pysal.weights import W from pysal.common...
32.418919
134
0.587606
940
7,197
4.417021
0.243617
0.023121
0.015655
0.010838
0.157996
0.102601
0.07659
0.047206
0.022158
0.022158
0
0.018647
0.299569
7,197
221
135
32.565611
0.804999
0.080311
0
0.157576
0
0
0.071027
0.026098
0
0
0
0
0
0
null
null
0.006061
0.072727
null
null
0.042424
0
0
0
null
0
0
0
0
0
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
d05302f3d88d03368213f8ab8478c67f87875aa5
742
py
Python
app/helpers/controllers.py
nbuechler/copious-affect-corpus
d2625f064f278d1a84936d64c4125fea7c192b8a
[ "MIT" ]
1
2017-08-24T23:04:24.000Z
2017-08-24T23:04:24.000Z
app/helpers/controllers.py
nbuechler/copious-affect-corpus
d2625f064f278d1a84936d64c4125fea7c192b8a
[ "MIT" ]
null
null
null
app/helpers/controllers.py
nbuechler/copious-affect-corpus
d2625f064f278d1a84936d64c4125fea7c192b8a
[ "MIT" ]
null
null
null
from nltk.corpus import stopwords from nltk.tokenize import wordpunct_tokenize from flask import jsonify import requests def default(): print 'Here' return 'Thanks controller, hello helpers!' def verify_bhl_api(api_key): r = requests.get('http://words.bighugelabs.com/api/2/' + api_key + '/affect/json') ...
28.538462
129
0.640162
100
742
4.58
0.57
0.058952
0.056769
0
0
0
0
0
0
0
0
0.001656
0.185984
742
25
130
29.68
0.756623
0.044474
0
0
0
0
0.145686
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.055556
0
0
0
null
0
0
0
0
0
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
d0580caa50b6671941d52853c4e077901668ddc7
5,277
py
Python
mongodb/mongodb_consistent_backup/official/mongodb_consistent_backup/Upload/Rsync/Rsync.py
smthkissinger/docker-images
35e868295d04fa780325ada4168381f1e80e8fe4
[ "BSD-3-Clause" ]
282
2016-06-16T14:41:44.000Z
2022-03-02T03:43:02.000Z
mongodb/mongodb_consistent_backup/official/mongodb_consistent_backup/Upload/Rsync/Rsync.py
smthkissinger/docker-images
35e868295d04fa780325ada4168381f1e80e8fe4
[ "BSD-3-Clause" ]
146
2016-06-16T08:55:45.000Z
2020-09-08T10:37:32.000Z
mongodb/mongodb_consistent_backup/official/mongodb_consistent_backup/Upload/Rsync/Rsync.py
smthkissinger/docker-images
35e868295d04fa780325ada4168381f1e80e8fe4
[ "BSD-3-Clause" ]
94
2016-06-16T10:49:07.000Z
2022-03-28T09:14:03.000Z
import os import logging import re from copy_reg import pickle from multiprocessing import Pool from subprocess import check_output from types import MethodType from RsyncUploadThread import RsyncUploadThread from mongodb_consistent_backup.Common import config_to_string from mongodb_consistent_backup.Errors import O...
35.897959
139
0.600341
651
5,277
4.654378
0.222734
0.09802
0.042244
0.034653
0.219472
0.177228
0.148515
0.118812
0.052805
0.052805
0
0.001082
0.299413
5,277
146
140
36.143836
0.818501
0.021603
0
0.117647
0
0.008403
0.115139
0.010661
0
0
0
0
0
0
null
null
0
0.092437
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
d05898383736dd6f3d56020e13bf2b6e266878c4
653
py
Python
src/models/search_grid_dropout.py
hyzhak/zalando-research-fashionmnist-analyze
5dfff74f80982769c7ffae746abc58fc7113113b
[ "MIT" ]
1
2020-05-29T22:04:52.000Z
2020-05-29T22:04:52.000Z
src/models/search_grid_dropout.py
hyzhak/zalando-research-fashionmnist-analyze
5dfff74f80982769c7ffae746abc58fc7113113b
[ "MIT" ]
null
null
null
src/models/search_grid_dropout.py
hyzhak/zalando-research-fashionmnist-analyze
5dfff74f80982769c7ffae746abc58fc7113113b
[ "MIT" ]
null
null
null
import luigi import numpy as np from src.models.search_grid_base import SearchGridBase class SearchGridDropout(SearchGridBase): max_runs = luigi.IntParameter( default=16, description='' ) dropout_min = luigi.IntParameter( default=0.0, description='min dropout' ) ...
19.787879
80
0.611026
69
653
5.521739
0.536232
0.133858
0.188976
0.131234
0
0
0
0
0
0
0
0.015217
0.295559
653
32
81
20.40625
0.813043
0
0
0
0
0
0.056662
0
0
0
0
0
0
1
0.041667
false
0
0.125
0.041667
0.375
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
d05ad7859de3144139a00312b93efc19b6e94b24
26,902
py
Python
src/generator.py
JCampbell9/robot_hand_generator
d8d771e4187dd7b8feb38e16ff3755321bbff3e0
[ "MIT" ]
1
2022-03-29T07:29:18.000Z
2022-03-29T07:29:18.000Z
src/generator.py
JCampbell9/robot_hand_generator
d8d771e4187dd7b8feb38e16ff3755321bbff3e0
[ "MIT" ]
2
2022-03-09T07:03:36.000Z
2022-03-17T21:49:30.000Z
src/generator.py
JCampbell9/robot_hand_generator
d8d771e4187dd7b8feb38e16ff3755321bbff3e0
[ "MIT" ]
1
2022-01-18T19:12:32.000Z
2022-01-18T19:12:32.000Z
"""Script ran with blender's provided python to generate custom robot manipulators to be used in simulators.""" # Author: Josh Campbell, campbjos@oregonstate.edu # Date: 3-14-2022 #!~/software/blender-2.93/2.93/python/bin/python3.9 from bpy import data, context import bpy import mathutils from mathutils import Matri...
42.633914
306
0.714817
4,148
26,902
4.382594
0.076422
0.036141
0.054678
0.021948
0.629958
0.5788
0.526157
0.461026
0.402497
0.374388
0
0.02655
0.140361
26,902
631
307
42.633914
0.759535
0.183964
0
0.397561
1
0
0.125853
0.052347
0
0
0
0
0
1
0.05122
false
0.002439
0.029268
0
0.1
0.002439
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
d06970236ef361726b1e69fa395283c734bd8b19
2,503
py
Python
pclib/rtl/onehot_test.py
belang/pymtl
4a96738724b007cbd684753aed0ac3de5b5dbebb
[ "BSD-3-Clause" ]
206
2015-01-05T21:53:56.000Z
2022-03-14T08:04:49.000Z
pclib/rtl/onehot_test.py
belang/pymtl
4a96738724b007cbd684753aed0ac3de5b5dbebb
[ "BSD-3-Clause" ]
84
2015-01-25T19:57:33.000Z
2021-05-11T15:46:56.000Z
pclib/rtl/onehot_test.py
belang/pymtl
4a96738724b007cbd684753aed0ac3de5b5dbebb
[ "BSD-3-Clause" ]
99
2015-02-17T17:43:44.000Z
2022-02-14T17:58:18.000Z
#============================================================================== # ConfigManger_test.py #============================================================================== from pymtl import * from pclib.test import TestVectorSimulator from onehot import Mux, Demux #--------------------------------...
27.811111
79
0.538154
282
2,503
4.602837
0.205674
0.09245
0.057781
0.027735
0.688752
0.688752
0.688752
0.688752
0.688752
0.631741
0
0.082016
0.19137
2,503
89
80
28.123596
0.559289
0.353576
0
0.553191
0
0
0
0
0
0
0.090169
0
0.06383
1
0.12766
false
0
0.06383
0
0.191489
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
d0790e7934b9df5cf7c67427c62710608189d378
789
py
Python
readthedocs/api/v2/views/proxied.py
mforbes/readthedocs.org
92f6224a67648a6d27e7a295973c2718d07cee11
[ "MIT" ]
2
2021-06-24T11:45:19.000Z
2021-06-24T11:45:24.000Z
readthedocs/api/v2/views/proxied.py
mforbes/readthedocs.org
92f6224a67648a6d27e7a295973c2718d07cee11
[ "MIT" ]
12
2021-03-21T13:16:50.000Z
2022-03-12T00:55:05.000Z
readthedocs/api/v2/views/proxied.py
mforbes/readthedocs.org
92f6224a67648a6d27e7a295973c2718d07cee11
[ "MIT" ]
1
2020-12-27T03:31:07.000Z
2020-12-27T03:31:07.000Z
from readthedocs.api.v2.views.footer_views import BaseFooterHTML from readthedocs.core.utils.extend import SettingsOverrideObject from readthedocs.embed.views import EmbedAPIBase class BaseProxiedFooterHTML(BaseFooterHTML): # DRF has BasicAuthentication and SessionAuthentication as default classes. # We don'...
28.178571
79
0.808619
78
789
8.089744
0.474359
0.071315
0.079239
0.088748
0.408875
0.408875
0.408875
0.408875
0.408875
0.408875
0
0.001477
0.141952
789
27
80
29.222222
0.930576
0.307985
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0.272727
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
d07c5ecebb6780c0a7d12af8708afe39819e597f
209
py
Python
src/python/src/pythonic/iterator/range.py
showerMuggle/klose911.github.io
e2ee6ae57dd91e8a5e5637b4bf20dc83b7704387
[ "Apache-2.0" ]
1
2020-05-11T09:28:29.000Z
2020-05-11T09:28:29.000Z
src/python/src/pythonic/iterator/range.py
showerMuggle/klose911.github.io
e2ee6ae57dd91e8a5e5637b4bf20dc83b7704387
[ "Apache-2.0" ]
null
null
null
src/python/src/pythonic/iterator/range.py
showerMuggle/klose911.github.io
e2ee6ae57dd91e8a5e5637b4bf20dc83b7704387
[ "Apache-2.0" ]
2
2019-08-23T05:36:00.000Z
2022-02-09T02:25:40.000Z
#!/usr/bin/python # -*- coding:utf-8 -*- #Filename: range.py for i in [0, 1, 2, 3, 4, 5]: print (i ** 2) # >>> 0 # 1 # 4 # 9 # 16 # 25 for i in range(6): print (i ** 2)
11.611111
29
0.397129
35
209
2.371429
0.657143
0.096386
0.144578
0
0
0
0
0
0
0
0
0.140625
0.38756
209
17
30
12.294118
0.507813
0.358852
0
0.5
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
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
d082cd9c9b4bb865389d4b2c096222bdebd08efa
1,978
py
Python
src/pyentrez/main/cmd_entrez.py
BGASM/pyentrez
72eeced35c888726210e9cd68885b409d1b489ce
[ "MIT" ]
null
null
null
src/pyentrez/main/cmd_entrez.py
BGASM/pyentrez
72eeced35c888726210e9cd68885b409d1b489ce
[ "MIT" ]
34
2020-11-22T19:08:56.000Z
2020-12-10T18:47:06.000Z
src/pyentrez/main/cmd_entrez.py
BGASM/pyEntrez
72eeced35c888726210e9cd68885b409d1b489ce
[ "MIT" ]
null
null
null
"""Module for the interactive cmd prompt""" from typing import Any, Dict import attr # Logger from loguru import logger # This is where we will import all sub-component modules from pyentrez import entrez_scraper as SCRAPE from pyentrez.db import mongo_entrez as MDB from pyentrez.utils import string_utils as su logg...
32.42623
96
0.659757
279
1,978
4.634409
0.448029
0.027842
0.030162
0.039443
0
0
0
0
0
0
0
0.000682
0.258847
1,978
60
97
32.966667
0.88131
0.439838
0
0
0
0
0.021042
0
0
0
0
0.016667
0
1
0.103448
false
0
0.206897
0
0.448276
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d0859b691f6e5ea7908220c1ecd52778135b8af8
693
py
Python
src/check_certs_lib/check_ipv6.py
sem-hub/check_certs_bot
3e7bff2f2fd6e769ef06bf2b40402bb82da90a75
[ "MIT" ]
null
null
null
src/check_certs_lib/check_ipv6.py
sem-hub/check_certs_bot
3e7bff2f2fd6e769ef06bf2b40402bb82da90a75
[ "MIT" ]
null
null
null
src/check_certs_lib/check_ipv6.py
sem-hub/check_certs_bot
3e7bff2f2fd6e769ef06bf2b40402bb82da90a75
[ "MIT" ]
null
null
null
'''Check if IPv6 stack configured and work.''' from check_certs_lib.dns_requests import get_dns_request from check_certs_lib.get_cert_from_server import get_cert_from_server ipv6_work_cached = None def check_ipv6_work() -> bool: '''Check if IPv6 stack configured and work''' global ipv6_work_cached if ipv6...
28.875
70
0.702742
104
693
4.346154
0.346154
0.123894
0.185841
0.112832
0.146018
0.146018
0.146018
0
0
0
0
0.031365
0.217893
693
23
71
30.130435
0.802583
0.11544
0
0.117647
0
0
0.044851
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.411765
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
d08a9f8403739d524b24b4ddb11101f6ef6b92ef
180
py
Python
sortStack.py
bourneagain/pythonBytes
be115162147e52718aacbfb9cd2763aa02754f28
[ "MIT" ]
1
2017-05-29T02:02:27.000Z
2017-05-29T02:02:27.000Z
sortStack.py
bourneagain/pythonBytes
be115162147e52718aacbfb9cd2763aa02754f28
[ "MIT" ]
null
null
null
sortStack.py
bourneagain/pythonBytes
be115162147e52718aacbfb9cd2763aa02754f28
[ "MIT" ]
null
null
null
def sortStack(st): rst = [] while st: temp = st.pop() while rst and temp < rst[-1]: st.append(rst.pop()) rst.append(temp) return rst a=[15,1,4,6,12] print sortStack(a)
16.363636
31
0.616667
33
180
3.363636
0.515152
0
0
0
0
0
0
0
0
0
0
0.055172
0.194444
180
11
32
16.363636
0.710345
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d08fb88b652ab202d2df5901b7690ad8e2af33fa
3,899
py
Python
seizure detection code/Stacked Autoencoders for Seizure Detection/tests/sdae_predict_plot.py
aimo84/epilepsy-system
de3b26039f76ce2ceac9a74a6bc179b8f7bddb1e
[ "BSD-3-Clause" ]
13
2016-12-14T07:33:21.000Z
2022-02-05T13:05:22.000Z
seizure detection code/Stacked Autoencoders for Seizure Detection/tests/sdae_predict_plot.py
aimo84/epilepsy-system
de3b26039f76ce2ceac9a74a6bc179b8f7bddb1e
[ "BSD-3-Clause" ]
null
null
null
seizure detection code/Stacked Autoencoders for Seizure Detection/tests/sdae_predict_plot.py
aimo84/epilepsy-system
de3b26039f76ce2ceac9a74a6bc179b8f7bddb1e
[ "BSD-3-Clause" ]
6
2016-10-11T05:42:29.000Z
2022-03-25T08:19:06.000Z
import os from pylearn2.utils import serial from theano import tensor as T from theano import function from pylearn2ext.chbmit import CHBMIT from tests.plot_eeg import plot_eeg_predict_seizure_period def predict_plot(model_path, dataset): """ Script to perform seizure detection and plot the results. Pa...
35.126126
106
0.561939
493
3,899
4.223124
0.36714
0.060519
0.03122
0.026897
0.10951
0.051873
0.029779
0.029779
0
0
0
0.018838
0.346499
3,899
111
107
35.126126
0.798273
0.068223
0
0.027027
0
0
0.076174
0.017715
0
0
0
0
0.067568
0
null
null
0
0.094595
null
null
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d096af9d7be2e0f66f01a5d3b1039241f2477b9e
400
py
Python
tests/notifiers/test_push_notifier.py
ontruck/django-ontruck
c61504fee596a3541c34256c970b9384b4565bbb
[ "BSD-3-Clause" ]
1
2020-03-23T11:29:53.000Z
2020-03-23T11:29:53.000Z
tests/notifiers/test_push_notifier.py
ontruck/django-ontruck
c61504fee596a3541c34256c970b9384b4565bbb
[ "BSD-3-Clause" ]
24
2020-03-23T10:31:19.000Z
2022-02-10T10:25:58.000Z
tests/notifiers/test_push_notifier.py
ontruck/django-ontruck
c61504fee596a3541c34256c970b9384b4565bbb
[ "BSD-3-Clause" ]
null
null
null
from django_ontruck.notifiers import AsyncNotifier, Notifier from ..test_app.notifiers import DummyPushNotifier def test_push_notifier(mocker): notifier = DummyPushNotifier(delayed=False) assert isinstance(notifier, Notifier) notifier.send() def test_push_async_notifier(mocker): notifier = DummyPus...
23.529412
60
0.7825
42
400
7.285714
0.452381
0.098039
0.071895
0.254902
0
0
0
0
0
0
0
0
0.1425
400
16
61
25
0.892128
0
0
0.2
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.2
0
0.4
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
d098e08c9432838679f9665ea325808540e1c410
878
py
Python
src/birdland_bootstrap.py
wrwetzel/Birdland
3b6a68fc753c69810690076ab311daaaa4f6563b
[ "MIT" ]
null
null
null
src/birdland_bootstrap.py
wrwetzel/Birdland
3b6a68fc753c69810690076ab311daaaa4f6563b
[ "MIT" ]
null
null
null
src/birdland_bootstrap.py
wrwetzel/Birdland
3b6a68fc753c69810690076ab311daaaa4f6563b
[ "MIT" ]
null
null
null
#!/usr/bin/python # ------------------------------------------------------------------------------ # birdland_bootstrap.py - A program to startup Start-From_PYInstaller.py # in the src directory, which will invoke the birdland.py program. # This is used with the PyInstaller installation package. # WRW 19 M...
35.12
86
0.588838
107
878
4.654206
0.654206
0.028112
0
0
0
0
0
0
0
0
0
0.016238
0.158314
878
24
87
36.583333
0.657645
0.716401
0
0
0
0
0.046025
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
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
d099ee3d2df31c6576963080aef3de252f863647
429
py
Python
parsifal/apps/invites/migrations/0002_alter_invite_invitee_email.py
ShivamPytho/parsifal
9386a0fb328d4880d052c94e9224ce50a9b2f6a6
[ "MIT" ]
342
2015-01-14T17:25:35.000Z
2022-02-26T11:59:09.000Z
parsifal/apps/invites/migrations/0002_alter_invite_invitee_email.py
ShivamPytho/parsifal
9386a0fb328d4880d052c94e9224ce50a9b2f6a6
[ "MIT" ]
56
2015-01-23T12:57:59.000Z
2022-03-12T01:01:38.000Z
parsifal/apps/invites/migrations/0002_alter_invite_invitee_email.py
ShivamPytho/parsifal
9386a0fb328d4880d052c94e9224ce50a9b2f6a6
[ "MIT" ]
200
2015-01-22T21:50:41.000Z
2021-12-28T13:42:57.000Z
# Generated by Django 3.2.7 on 2021-09-08 00:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('invites', '0001_initial'), ] operations = [ migrations.AlterField( model_name='invite', name='invitee_email', ...
22.578947
97
0.617716
48
429
5.395833
0.791667
0.084942
0.123552
0
0
0
0
0
0
0
0
0.069841
0.265734
429
18
98
23.833333
0.752381
0.104895
0
0
1
0
0.133508
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d09a07d228d324897918e3a2a418cf46d0d6722e
2,340
py
Python
nnr/users/views.py
ggetzie/nnr
a8b1b1d771027edee2c19062f39fa982cfd024b0
[ "MIT" ]
null
null
null
nnr/users/views.py
ggetzie/nnr
a8b1b1d771027edee2c19062f39fa982cfd024b0
[ "MIT" ]
5
2020-07-28T12:41:50.000Z
2022-01-21T23:27:15.000Z
nnr/users/views.py
ggetzie/nnr
a8b1b1d771027edee2c19062f39fa982cfd024b0
[ "MIT" ]
null
null
null
from datetime import datetime from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.auth.mixins import LoginRequiredMixin from django.urls import reverse from django.views.generic import DetailView, RedirectView, UpdateView from django.contrib import messages from django.u...
31.2
87
0.701282
278
2,340
5.701439
0.366906
0.044164
0.032177
0.043533
0.143218
0.143218
0.085804
0.085804
0.085804
0.085804
0
0.0032
0.198718
2,340
74
88
31.621622
0.842133
0
0
0.115385
0
0
0.079915
0
0
0
0
0
0
1
0.096154
false
0
0.192308
0.057692
0.596154
0
0
0
0
null
0
0
0
0
0
0
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
d0a57e84acd48bb815e618f5cbe4bdf3e9aa0e61
380
py
Python
modules/RawResponse.py
sudodevs-inc/citewriteBackend
cb0047d28723d77c82a214d616b6a10ac03d0241
[ "MIT" ]
null
null
null
modules/RawResponse.py
sudodevs-inc/citewriteBackend
cb0047d28723d77c82a214d616b6a10ac03d0241
[ "MIT" ]
1
2021-06-02T00:29:53.000Z
2021-06-02T00:29:53.000Z
modules/RawResponse.py
SudodevsHQ/citewrite-backend
cb0047d28723d77c82a214d616b6a10ac03d0241
[ "MIT" ]
1
2019-12-19T17:45:51.000Z
2019-12-19T17:45:51.000Z
from modules.search.wikipedia import Wiki class RawGenerator: def __init__(self, sentence: str): self.sentence = sentence self.res = {} def results(self): print(self.sentence) for i in [self.sentence]: wiki = Wiki(i) search = wiki.search() i...
23.75
49
0.557895
43
380
4.837209
0.511628
0.230769
0
0
0
0
0
0
0
0
0
0
0.336842
380
15
50
25.333333
0.825397
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.333333
0.083333
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
d0b15fd9fd7860eb174dcb30667c05ca8eb68ebd
8,718
py
Python
core/contract/proposal_contract_pb2.py
oushu1zhangxiangxuan1/learn_leveldb
7075ba8247aadb755582609ed5b3198156e9501f
[ "Apache-2.0" ]
null
null
null
core/contract/proposal_contract_pb2.py
oushu1zhangxiangxuan1/learn_leveldb
7075ba8247aadb755582609ed5b3198156e9501f
[ "Apache-2.0" ]
null
null
null
core/contract/proposal_contract_pb2.py
oushu1zhangxiangxuan1/learn_leveldb
7075ba8247aadb755582609ed5b3198156e9501f
[ "Apache-2.0" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: core/contract/proposal_contract.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf imp...
38.746667
741
0.772081
982
8,718
6.559063
0.160896
0.038503
0.032293
0.027946
0.577395
0.506598
0.50163
0.50163
0.479894
0.479894
0
0.0311
0.11482
8,718
224
742
38.919643
0.803551
0.054141
0
0.628866
1
0.010309
0.232002
0.208692
0
0
0
0
0
1
0
false
0
0.025773
0
0.025773
0
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
d0c420ff67b35e295e49e27e4478021c8a4964d4
10,754
py
Python
src/rooms/testutils.py
gomyar/rooms
ba20cb77380f439d60d452d2bc69bd94c9c21c24
[ "MIT" ]
null
null
null
src/rooms/testutils.py
gomyar/rooms
ba20cb77380f439d60d452d2bc69bd94c9c21c24
[ "MIT" ]
null
null
null
src/rooms/testutils.py
gomyar/rooms
ba20cb77380f439d60d452d2bc69bd94c9c21c24
[ "MIT" ]
null
null
null
import gevent from gevent.event import Event from gevent.queue import Queue import json from rooms.player import PlayerActor from rooms.room import Room from rooms.actor import Actor from rooms.position import Position from rooms.timer import Timer from rooms.container import Container from rooms.utils import IDFacto...
29.543956
83
0.61326
1,336
10,754
4.698353
0.151946
0.06245
0.024534
0.024375
0.281663
0.211407
0.148797
0.105464
0.105464
0.056396
0
0.003219
0.277757
10,754
363
84
29.625344
0.804944
0.010043
0
0.214286
0
0
0.028475
0.004135
0
0
0
0
0
1
0.228571
false
0.010714
0.05
0.035714
0.432143
0
0
0
0
null
0
0
0
0
0
0
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
d0c7098656b460daa562afa9acd3f08a6e5001a2
1,414
py
Python
macgen.py
SandStormHoldings/libvirt-fabric-restapi
83d56f873d8deafe0114c3b07389cfc5982e2ad5
[ "MIT" ]
1
2022-02-24T11:54:04.000Z
2022-02-24T11:54:04.000Z
macgen.py
SandStormHoldings/libvirt-fabric-restapi
83d56f873d8deafe0114c3b07389cfc5982e2ad5
[ "MIT" ]
null
null
null
macgen.py
SandStormHoldings/libvirt-fabric-restapi
83d56f873d8deafe0114c3b07389cfc5982e2ad5
[ "MIT" ]
3
2017-08-22T07:56:32.000Z
2022-01-24T04:16:08.000Z
#!/usr/bin/python # macgen.py script to generate a MAC address for virtualized guests # from __future__ import print_function from builtins import map from builtins import range import random import sys import re import hashlib from config import HOSTS,HOST_IDX, main_network # def randomMAC(host,counters): if hos...
27.192308
136
0.637907
202
1,414
4.326733
0.440594
0.045767
0.058352
0.048055
0
0
0
0
0
0
0
0.035971
0.213579
1,414
51
137
27.72549
0.75
0.057992
0
0.051282
1
0
0.08509
0
0
0
0.027108
0
0
1
0.051282
false
0
0.205128
0
0.307692
0.076923
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
d0d3b1b750c2ab498dd5405182288a3c4f78dd82
447
py
Python
tests/load_cmat_cmat10.py
ffreemt/cmat2aset
f530a88a0a84476d751f2c44e4b2e596f74e8fef
[ "MIT" ]
null
null
null
tests/load_cmat_cmat10.py
ffreemt/cmat2aset
f530a88a0a84476d751f2c44e4b2e596f74e8fef
[ "MIT" ]
null
null
null
tests/load_cmat_cmat10.py
ffreemt/cmat2aset
f530a88a0a84476d751f2c44e4b2e596f74e8fef
[ "MIT" ]
null
null
null
"""load cmat cmat10. import matplotlib.pyplit as plt import seaborn as sns sns.set() plt.ion() # interactive plot plt.clf(); sns.heatmap(cmat, cmap="gist_earth_r").invert_yaxis() plt.clf(); sns.heatmap(cmat, cmap="viridis_r").invert_yaxis() """ import pickle from pathlib import Path cdir = Path(__file__).parent....
21.285714
64
0.713647
68
447
4.529412
0.544118
0.038961
0.058442
0.103896
0.292208
0.155844
0
0
0
0
0
0.01519
0.116331
447
20
65
22.35
0.764557
0.541387
0
0
0
0
0.172589
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d0d8f745a672aafb348df6fcce274b63e5189a22
1,098
py
Python
wrapper.py
abeagomez/nonograms_solver
639cbeed38e755a4381eb23bbc31c3d10e52b2fc
[ "MIT" ]
null
null
null
wrapper.py
abeagomez/nonograms_solver
639cbeed38e755a4381eb23bbc31c3d10e52b2fc
[ "MIT" ]
null
null
null
wrapper.py
abeagomez/nonograms_solver
639cbeed38e755a4381eb23bbc31c3d10e52b2fc
[ "MIT" ]
null
null
null
#!/usr/bin/ech python import sys import json from dfs import dfs from cdfs_rows import cdfs as rcdfs from cdfs_box import cdfs as bcdfs from fixer import fdfs from pdfs import pdfs from ls import ls, lsmr from sa import sa methods = { # 'dfs': (dfs, 'Simple dfs', 30), # 'rcdfs': (rcdfs, 'Dfs con restricciones ...
32.294118
84
0.62204
158
1,098
4.246835
0.398734
0.035768
0.113264
0.077496
0.119225
0.119225
0
0
0
0
0
0.031325
0.24408
1,098
33
85
33.272727
0.777108
0.295993
0
0
0
0
0.163185
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
d0db5198046d0ef834146e132ccdff080c6c80dc
348
py
Python
users/migrations/0007_remove_profile_right_of_residence.py
frwickst/apartment-application-service
40387327a0f82ba01bfcb6ab8532ea4aec40d37a
[ "MIT" ]
1
2021-03-15T11:29:12.000Z
2021-03-15T11:29:12.000Z
users/migrations/0007_remove_profile_right_of_residence.py
frwickst/apartment-application-service
40387327a0f82ba01bfcb6ab8532ea4aec40d37a
[ "MIT" ]
130
2020-09-07T08:30:29.000Z
2022-03-29T11:49:27.000Z
users/migrations/0007_remove_profile_right_of_residence.py
frwickst/apartment-application-service
40387327a0f82ba01bfcb6ab8532ea4aec40d37a
[ "MIT" ]
4
2020-09-07T05:34:13.000Z
2021-11-07T12:51:21.000Z
# Generated by Django 2.2.24 on 2021-06-14 12:37 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("users", "0006_alter_field_street_address"), ] operations = [ migrations.RemoveField( model_name="profile", name="right_of_r...
19.333333
53
0.614943
38
348
5.447368
0.842105
0
0
0
0
0
0
0
0
0
0
0.079681
0.278736
348
17
54
20.470588
0.74502
0.132184
0
0
1
0
0.203333
0.103333
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d0debcaca01a288fdb6ab2026240ea2b1d1a4fcb
285
py
Python
Practical-2.py
viztushar/PythonPrograms
db950c5a723d25455eb85bfc52b45ecb36d208c5
[ "Apache-2.0" ]
null
null
null
Practical-2.py
viztushar/PythonPrograms
db950c5a723d25455eb85bfc52b45ecb36d208c5
[ "Apache-2.0" ]
null
null
null
Practical-2.py
viztushar/PythonPrograms
db950c5a723d25455eb85bfc52b45ecb36d208c5
[ "Apache-2.0" ]
null
null
null
#WAP to read two numbers from the keyboard and display the larger one on the screen. num1 = input("enter the number one") num2 = input("enter the number two") if(num1>num2): largest = num1 print("number is ", largest) else: largest = num2 print("number is ",largest)
23.75
84
0.684211
44
285
4.431818
0.545455
0.102564
0.133333
0.194872
0
0
0
0
0
0
0
0.026786
0.214035
285
11
85
25.909091
0.84375
0.291228
0
0.25
0
0
0.298507
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
d0e597fe93313390c826fcc6d4e72a79913f9f95
1,723
py
Python
example.py
jenosavel/tinytest
ffc8d00c2eaeff03f3581abc9229c619be357561
[ "Apache-2.0" ]
null
null
null
example.py
jenosavel/tinytest
ffc8d00c2eaeff03f3581abc9229c619be357561
[ "Apache-2.0" ]
null
null
null
example.py
jenosavel/tinytest
ffc8d00c2eaeff03f3581abc9229c619be357561
[ "Apache-2.0" ]
null
null
null
#################################################################### # # Example command line usage: # >python -m tinytest --directory C:\path\to\tests --loglevel DEBUG # # --directory # Path to the directory where test files are # Not required, defaults to current working directory # # --loglevel #...
21.271605
69
0.588508
189
1,723
5.322751
0.518519
0.047714
0.065606
0.095427
0.101392
0.083499
0.083499
0.083499
0.083499
0.083499
0
0.001499
0.225769
1,723
81
70
21.271605
0.752624
0.174115
0
0.263158
0
0
0.237235
0
0
0
0
0
0.105263
1
0.236842
false
0
0.052632
0
0.342105
0
0
0
0
null
0
0
0
0
0
0
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
d0e8c54b4a30ca0fcecf1a003b686bd986c88f0d
313
py
Python
python-HR/appThree.py
pouyapanahandeh/python3-ref
b8865ebb6da8065754a4df341cedfccdf3b3d2c5
[ "MIT" ]
null
null
null
python-HR/appThree.py
pouyapanahandeh/python3-ref
b8865ebb6da8065754a4df341cedfccdf3b3d2c5
[ "MIT" ]
null
null
null
python-HR/appThree.py
pouyapanahandeh/python3-ref
b8865ebb6da8065754a4df341cedfccdf3b3d2c5
[ "MIT" ]
null
null
null
# math function import math # round number x = 2.9 print(round(x)) # absolute value of number y = -5 print(abs(y)) # make use of the math library z = 2.5 print(math.ceil(z)) # round up the number print(math.floor(z)) # round down the number # for finding more math module just search "python math module"
14.227273
63
0.696486
56
313
3.892857
0.553571
0.055046
0
0
0
0
0
0
0
0
0
0.01992
0.198083
313
21
64
14.904762
0.848606
0.587859
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.5
0
0
0
null
0
0
0
0
0
0
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
d0f9fa7652f5436902a59070f0f51bbb5490eb66
488
py
Python
src/main/resources/pytz/zoneinfo/America/Panama.py
TheEin/swagger-maven-plugin
cf93dce2d5c8d3534f4cf8c612b11e2d2313871b
[ "Apache-2.0" ]
65
2015-11-14T13:46:01.000Z
2021-08-14T05:54:04.000Z
lib/pytz/zoneinfo/America/Panama.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
13
2016-03-31T20:00:17.000Z
2021-08-20T14:52:31.000Z
lib/pytz/zoneinfo/America/Panama.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
20
2015-03-18T08:41:37.000Z
2020-12-18T02:58:30.000Z
'''tzinfo timezone information for America/Panama.''' from pytz.tzinfo import DstTzInfo from pytz.tzinfo import memorized_datetime as d from pytz.tzinfo import memorized_ttinfo as i class Panama(DstTzInfo): '''America/Panama timezone definition. See datetime.tzinfo for details''' zone = 'America/Panama' ...
21.217391
77
0.684426
71
488
4.605634
0.521127
0.119266
0.12844
0.183486
0.17737
0
0
0
0
0
0
0.074627
0.17623
488
22
78
22.181818
0.738806
0.235656
0
0
0
0
0.055402
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.5
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
19025d0102a319af9d85182cf626c3749876822e
995
py
Python
Netmiko/GetInts.py
NetworkNick-US/PythonScripts
b8441e4d433be59f4b3c4bd5c61543b2ef66ae4b
[ "MIT" ]
null
null
null
Netmiko/GetInts.py
NetworkNick-US/PythonScripts
b8441e4d433be59f4b3c4bd5c61543b2ef66ae4b
[ "MIT" ]
null
null
null
Netmiko/GetInts.py
NetworkNick-US/PythonScripts
b8441e4d433be59f4b3c4bd5c61543b2ef66ae4b
[ "MIT" ]
null
null
null
import netmiko import LogUtility class CiscoBase: def __init__(self, hostname, ip, device_type=None, username=None, password=None): self.hostname = hostname self.connection_data = { 'ip': ip, 'device_type': device_type, 'username': username, 'passwo...
27.638889
93
0.668342
114
995
5.622807
0.491228
0.101404
0.046802
0.037442
0
0
0
0
0
0
0
0.020513
0.21608
995
35
94
28.428571
0.801282
0
0
0
0
0
0.119598
0
0
0
0
0
0
1
0.115385
false
0.076923
0.076923
0.038462
0.307692
0.038462
0
0
0
null
0
0
0
0
0
0
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
190900764553282dd0692159a57bc1f65a599b8e
5,872
py
Python
test/data_store/test_column.py
M-J-Murray/tanuki
cfd0dec1003651156e8d34eae191898b66765bc7
[ "BSD-3-Clause" ]
null
null
null
test/data_store/test_column.py
M-J-Murray/tanuki
cfd0dec1003651156e8d34eae191898b66765bc7
[ "BSD-3-Clause" ]
null
null
null
test/data_store/test_column.py
M-J-Murray/tanuki
cfd0dec1003651156e8d34eae191898b66765bc7
[ "BSD-3-Clause" ]
null
null
null
from _thread import start_new_thread from hamcrest import assert_that, equal_to, is_in from hamcrest.core.core.is_ import is_ from pandas.core.frame import DataFrame from pytest import fail from tanuki.data_store.column import Column class TestColumn: def test_type_casting(self) -> None: data = [1, 2, 3...
38.631579
110
0.548706
758
5,872
4.110818
0.114776
0.118742
0.022144
0.132863
0.71181
0.694159
0.665918
0.644095
0.638318
0.617458
0
0.048775
0.270266
5,872
151
111
38.887417
0.678413
0
0
0.312
0
0
0.065225
0
0
0
0
0
0.296
1
0.12
false
0
0.048
0
0.176
0.008
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
190c5c11d13e8787e643d6e21cbfe8a0b0611d70
432
py
Python
app/__init__.py
eamanu/bolsa-laboral-lr
60128ae52dbac6b0eace4a308c5d35ea55590909
[ "MIT" ]
null
null
null
app/__init__.py
eamanu/bolsa-laboral-lr
60128ae52dbac6b0eace4a308c5d35ea55590909
[ "MIT" ]
null
null
null
app/__init__.py
eamanu/bolsa-laboral-lr
60128ae52dbac6b0eace4a308c5d35ea55590909
[ "MIT" ]
null
null
null
from flask_restplus import Api from flask import Blueprint from app.main.controller.user_controller import api as user_ns from app.main.controller.auth_controller import api as auth_ns blueprint = Blueprint('api', __name__) api = Api(blueprint, title='IT Jobs La Rioja', version='1.0', d...
24
62
0.712963
63
432
4.68254
0.412698
0.091525
0.074576
0.142373
0
0
0
0
0
0
0
0.005764
0.196759
432
17
63
25.411765
0.84438
0
0
0
0
0
0.099768
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
190ebe69c4e0c2525fddedce0a2f2c0956ee918f
191
py
Python
run.py
andela-bojengwa/MentorBot
8166d9d3cbe1cd5e863a83c548debb5570ec6b91
[ "MIT" ]
1
2016-02-13T15:36:26.000Z
2016-02-13T15:36:26.000Z
run.py
andela-bojengwa/MentorBot
8166d9d3cbe1cd5e863a83c548debb5570ec6b91
[ "MIT" ]
null
null
null
run.py
andela-bojengwa/MentorBot
8166d9d3cbe1cd5e863a83c548debb5570ec6b91
[ "MIT" ]
null
null
null
from flask.ext.script import Manager from mentorapp import app manager = Manager(app) @manager.command def test_hello(): print('Hello') if __name__ == '__main__': manager.run()
12.733333
36
0.706806
25
191
5.04
0.68
0.15873
0
0
0
0
0
0
0
0
0
0
0.17801
191
14
37
13.642857
0.802548
0
0
0
0
0
0.068063
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ef6ec02ba3420b1cf5f810e6f672a562453ea614
5,788
py
Python
data/wof_snapshot.py
roman-ianivskyy/vector-datasource
3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92
[ "MIT" ]
null
null
null
data/wof_snapshot.py
roman-ianivskyy/vector-datasource
3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92
[ "MIT" ]
null
null
null
data/wof_snapshot.py
roman-ianivskyy/vector-datasource
3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92
[ "MIT" ]
null
null
null
import json from os.path import basename from os.path import join as path_join from os.path import splitext import requests from tilequeue.wof import create_neighbourhood_from_json from tilequeue.wof import Neighbourhood from tilequeue.wof import NeighbourhoodFailure from tilequeue.wof import NeighbourhoodMeta from ti...
34.248521
116
0.6085
697
5,788
4.814921
0.311334
0.02503
0.02503
0.032777
0.129619
0.107271
0.084029
0.084029
0.084029
0.038737
0
0.01331
0.299067
5,788
168
117
34.452381
0.813902
0.009848
0
0.113821
0
0.00813
0.181127
0.008528
0
0
0
0
0.00813
0
null
null
0.00813
0.138211
null
null
0.01626
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ef7347441ebc03d467077e8326a3287ff6783833
381
py
Python
mayavi_examples/plot_3d.py
jnothman/sphinx-gallery
b930662613a32fe05f16b39f86fafdb4c8d6f424
[ "BSD-3-Clause" ]
null
null
null
mayavi_examples/plot_3d.py
jnothman/sphinx-gallery
b930662613a32fe05f16b39f86fafdb4c8d6f424
[ "BSD-3-Clause" ]
null
null
null
mayavi_examples/plot_3d.py
jnothman/sphinx-gallery
b930662613a32fe05f16b39f86fafdb4c8d6f424
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ ==================================== Plotting simple 3D graph with Mayavi ==================================== A simple example of the plot of a 3D graph with Mayavi in order to test the autonomy of the gallery. """ # Code source: Alex Gramfort # License: BSD 3 clause from mayavi import m...
19.05
54
0.582677
50
381
4.4
0.68
0.063636
0.1
0.154545
0
0
0
0
0
0
0
0.018576
0.152231
381
19
55
20.052632
0.662539
0.745407
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
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
1
0
0
0
0
0
0
1
ef77923ae672e9bdbf3fc6e44a92a7af0c606694
2,768
py
Python
Extraccion de caracteristicas en imagenes/Practica Extraccion de caracteristicas/lbp.py
armijoalb/M-ster-Ciencias-de-Datos-UGR
50394ccda848c810ad3271d0bda671dd1926566c
[ "MIT" ]
null
null
null
Extraccion de caracteristicas en imagenes/Practica Extraccion de caracteristicas/lbp.py
armijoalb/M-ster-Ciencias-de-Datos-UGR
50394ccda848c810ad3271d0bda671dd1926566c
[ "MIT" ]
null
null
null
Extraccion de caracteristicas en imagenes/Practica Extraccion de caracteristicas/lbp.py
armijoalb/M-ster-Ciencias-de-Datos-UGR
50394ccda848c810ad3271d0bda671dd1926566c
[ "MIT" ]
null
null
null
import cv2 as cv import numpy as np from functions import loadImages import time class LBP: def __init__(self): self.window_width = 64 self.window_heigth = 128 self.block_width = 16 self.block_heigth = 16 self.desp_x = 8 self.desp_y = 8 self.potencias_2 = np....
34.6
117
0.651373
432
2,768
3.969907
0.25
0.032653
0.018659
0.012245
0.171429
0.153936
0.11895
0.041983
0.041983
0.041983
0
0.034049
0.225434
2,768
80
118
34.6
0.765858
0.195809
0
0
0
0
0.003615
0
0
0
0
0.0125
0
1
0.12766
false
0.021277
0.085106
0.021277
0.340426
0
0
0
0
null
0
0
0
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
ef7951de2c01bc700bc6f65c5cdbbdb85aaaba33
5,577
py
Python
Software/helperScripts/MakeLatexGallery.py
hrch3n/cNMA
32bfffc707487fa0964543d17b1fe89f089e09d5
[ "MIT" ]
3
2021-02-09T02:32:33.000Z
2021-09-14T22:18:26.000Z
Software/helperScripts/MakeLatexGallery.py
hrch3n/cNMA
32bfffc707487fa0964543d17b1fe89f089e09d5
[ "MIT" ]
1
2018-03-09T19:28:42.000Z
2018-03-30T20:08:50.000Z
Software/helperScripts/MakeLatexGallery.py
hrch3n/cNMA
32bfffc707487fa0964543d17b1fe89f089e09d5
[ "MIT" ]
6
2018-12-05T14:49:26.000Z
2019-11-07T03:44:18.000Z
''' Created on Apr 17, 2014 @author: oliwa ''' from scriptutils import makeStringEndWith, getFullPathOfURI, grouper, runBashCommand import argparse import sys import glob import os import traceback import ntpath def outputLatex(path, experimentDescriptor, shortDescription): """ Write the latex document with the ...
33.39521
141
0.643177
640
5,577
5.571875
0.35
0.011217
0.020191
0.053842
0.196859
0.189288
0.175266
0.175266
0.148906
0.040942
0
0.013895
0.225749
5,577
167
142
33.39521
0.81195
0.025462
0
0.017241
0
0.008621
0.358111
0.178103
0
0
0
0
0
0
null
null
0
0.060345
null
null
0.025862
0
0
0
null
0
0
0
0
0
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
ef7c7a9db75400f3f4815516f7395f62d1ef5df2
4,074
py
Python
autres/dictionnaires.py
ehbc221/apprenez-a-programmer-en-python
16ed3ba8b914b77a576ef18a34702179acb25338
[ "MIT" ]
null
null
null
autres/dictionnaires.py
ehbc221/apprenez-a-programmer-en-python
16ed3ba8b914b77a576ef18a34702179acb25338
[ "MIT" ]
null
null
null
autres/dictionnaires.py
ehbc221/apprenez-a-programmer-en-python
16ed3ba8b914b77a576ef18a34702179acb25338
[ "MIT" ]
null
null
null
# -*-coding:Utf-8 -* ######################### # Créer un dictionnaire # ######################### mon_dictionnaire = dict() # Soit mon_dictionnaire = {} # Ou bien mon_dictionnaire["pseudo"] = "Prolixe" # {'pseudo': 'Prolixe'} mon_dictionnaire["mot de passe"] = "*" # {'mot de passe': '*', 'pseudo': 'Prolixe'} mon_dic...
37.376147
181
0.62543
531
4,074
4.751412
0.301318
0.050733
0.027745
0.039635
0.27824
0.234641
0.204915
0.127626
0.075704
0.034086
0
0.023652
0.148994
4,074
108
182
37.722222
0.704067
0.407707
0
0.163636
0
0
0.258836
0
0
0
0
0
0
0
null
null
0.018182
0
null
null
0.163636
0
0
0
null
0
0
0
0
0
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
ef7d78539e97b87ff92f77c64e819f4e447c6e61
2,847
py
Python
pyvivint/enums.py
jwstewart42/pyvivint
f7032ab43a4da4455cc29203a676125a7f903d93
[ "MIT" ]
2
2020-03-10T02:34:29.000Z
2020-12-03T00:07:49.000Z
pyvivint/enums.py
jwstewart42/pyvivint
f7032ab43a4da4455cc29203a676125a7f903d93
[ "MIT" ]
null
null
null
pyvivint/enums.py
jwstewart42/pyvivint
f7032ab43a4da4455cc29203a676125a7f903d93
[ "MIT" ]
null
null
null
"""Module that defines varios enums.""" class Enum: __names = {} @classmethod def name(cls, state): if not cls.__names: cls.__names = { value: key for key, value in cls.__dict__.items() if isinstance(value, int) } r...
22.776
61
0.620302
260
2,847
6.676923
0.615385
0.037442
0.054724
0.046083
0.039171
0.039171
0
0
0
0
0
0.007246
0.272919
2,847
124
62
22.959677
0.831401
0.119073
0
0.204545
0
0
0.123883
0.019903
0
0
0
0
0
1
0.011364
false
0.011364
0
0
0.772727
0
0
0
0
null
0
0
0
0
0
0
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
ef83ab4eb2e7e1ae983087db6bdac36d20831407
3,101
py
Python
questions.py
Erianafranky/Quiz-app
13122a0109bb41c9d5981602b6c496aae9ac7e69
[ "MIT" ]
null
null
null
questions.py
Erianafranky/Quiz-app
13122a0109bb41c9d5981602b6c496aae9ac7e69
[ "MIT" ]
2
2019-11-13T11:41:38.000Z
2022-01-12T22:31:42.000Z
questions.py
Erianafranky/Quiz-app
13122a0109bb41c9d5981602b6c496aae9ac7e69
[ "MIT" ]
1
2019-10-28T18:05:25.000Z
2019-10-28T18:05:25.000Z
import csv import random """ Questions and corresponding options The first option is the correct answer When a user is presented with the questions the options will be shuffled """ social_eng = { "A situation in which an unauthorized person can view another user's display or keyboard to learn their password or ot...
32.989362
203
0.644953
338
3,101
5.890533
0.52071
0.05776
0.024108
0.014063
0.041185
0
0
0
0
0
0
0.000442
0.26959
3,101
93
204
33.344086
0.878587
0
0
0.4
0
0.0375
0.636333
0
0
0
0
0
0
1
0.0125
false
0.025
0.025
0
0.05
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ef87ac68385ff804be6f34c60dcc19df4819521f
2,228
py
Python
ems/crm/admin.py
fetux/django-ems
ac581ea3573c5fc9976303320f278bc2fa7cea6f
[ "MIT" ]
null
null
null
ems/crm/admin.py
fetux/django-ems
ac581ea3573c5fc9976303320f278bc2fa7cea6f
[ "MIT" ]
null
null
null
ems/crm/admin.py
fetux/django-ems
ac581ea3573c5fc9976303320f278bc2fa7cea6f
[ "MIT" ]
null
null
null
from django.contrib import admin from ems.crm.models import ( Attribute, Business, Project, TeamMemberRole, TeamMember, ProjectTeam, ProjectAssessment, ProjectUserStory, ProjectEpic, ProjectTask, UserProfile) class AttributeAdmin(admin.ModelAdmin): search_fields = ('label', 'type') list_display =...
30.520548
75
0.751346
208
2,228
7.894231
0.326923
0.054811
0.103532
0.036541
0
0
0
0
0
0
0
0
0.139587
2,228
72
76
30.944444
0.856547
0.013914
0
0.122449
0
0
0.130296
0.031435
0
0
0
0
0
1
0
false
0
0.040816
0
0.693878
0
0
0
0
null
0
0
0
0
0
0
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
ef87e12ec2fd2210a7d2286f0cf7b38c7b1a789f
1,164
py
Python
src/utils/logger/__init__.py
galoop-engine/galoop
b5df3e7c0a90e753a94c01a12e0656885427e967
[ "Apache-2.0" ]
1
2020-04-30T00:39:57.000Z
2020-04-30T00:39:57.000Z
src/utils/logger/__init__.py
galoop-engine/galoop
b5df3e7c0a90e753a94c01a12e0656885427e967
[ "Apache-2.0" ]
4
2021-06-08T21:43:13.000Z
2022-03-12T00:39:14.000Z
src/utils/logger/__init__.py
galoop-engine/galoop
b5df3e7c0a90e753a94c01a12e0656885427e967
[ "Apache-2.0" ]
null
null
null
import sys from utils import cls class Logger: def __init__(self): cls() self.RED = "\033[1;31;10m" self.GRN = "\033[1;32;10m" self.YLW = "\033[1;32;10m" self.GRY_BLD = "\033[1;30;2m" self.WHT_BLD = "\033[1;37;2m" self.END_COLOR = "\033[0m" def log(se...
35.272727
99
0.524914
158
1,164
3.727848
0.240506
0.13073
0.224109
0.110357
0.609508
0.514431
0.412564
0.412564
0.365025
0.173175
0
0.045952
0.214777
1,164
32
100
36.375
0.598468
0
0
0.2
0
0.12
0.528351
0.349656
0
0
0
0
0
1
0.16
false
0
0.08
0
0.28
0.36
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
ef92ffcb83b5fb354fc3da9a6b706c53d7453d40
866
py
Python
blog/migrations/0005_remove_post_images_remove_post_imageslist_image.py
Necromansr/mirador
23fcb329864a76aa636c42b48be2b784c68f3dda
[ "MIT" ]
null
null
null
blog/migrations/0005_remove_post_images_remove_post_imageslist_image.py
Necromansr/mirador
23fcb329864a76aa636c42b48be2b784c68f3dda
[ "MIT" ]
null
null
null
blog/migrations/0005_remove_post_images_remove_post_imageslist_image.py
Necromansr/mirador
23fcb329864a76aa636c42b48be2b784c68f3dda
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2021-12-21 17:00 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0004_post_imageslist'), ] operations = [ migrations.RemoveField( model_name='post', ...
27.935484
117
0.569284
85
866
5.694118
0.576471
0.049587
0.057851
0.090909
0.157025
0.157025
0
0
0
0
0
0.029654
0.299076
866
30
118
28.866667
0.76771
0.049654
0
0.291667
1
0
0.107186
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.208333
0
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
ef937ce0ab6310724d58a6e6dc26c2553d5a32e4
932
py
Python
fasttask/models.py
huanjoyous/FasterRunner20190716
1702c7afd9548769bc1e7ed4fc04e0321659a89b
[ "MIT" ]
1
2019-02-28T09:03:27.000Z
2019-02-28T09:03:27.000Z
fasttask/models.py
huanjoyous/FasterRunner20190716
1702c7afd9548769bc1e7ed4fc04e0321659a89b
[ "MIT" ]
2
2020-02-11T23:38:06.000Z
2020-07-31T10:18:35.000Z
fasttask/models.py
huanjoyous/FasterRunner20190716
1702c7afd9548769bc1e7ed4fc04e0321659a89b
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. from fastrunner.models import Project from fastuser.models import BaseTable class Schedule(BaseTable): """ 定时任务信息表 """ send_strategy = ( (1, "始终发送"), (2, "仅失败发送"), (3, "从不发送") ) class Meta: verbose_name ...
27.411765
99
0.667382
114
932
5.359649
0.526316
0.0982
0.06383
0.055646
0.06874
0
0
0
0
0
0
0.024129
0.199571
932
33
100
28.242424
0.794906
0.035408
0
0
0
0
0.060227
0
0
0
0
0
0
1
0
false
0
0.15
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
efa0c9054825d30a62f41267cf2b51d973d4d587
483
py
Python
config/readConfig.py
Four-sun/Requests_Load
472f3f6d9bd407f1c4ed30a5557ec141e2434188
[ "Apache-2.0" ]
null
null
null
config/readConfig.py
Four-sun/Requests_Load
472f3f6d9bd407f1c4ed30a5557ec141e2434188
[ "Apache-2.0" ]
null
null
null
config/readConfig.py
Four-sun/Requests_Load
472f3f6d9bd407f1c4ed30a5557ec141e2434188
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created: on 2018-04-10 @author: Four Project: config\readConfig.py """ import os import configparser cur_path = os.path.dirname(os.path.realpath(__file__)) configPath = os.path.join(cur_path, "cfg.ini") conf = configparser.ConfigParser() conf.read(configPath) smtp_server = conf.get("email"...
20.125
54
0.693582
68
483
4.808824
0.529412
0.107034
0.183486
0
0
0
0
0
0
0
0
0.021028
0.113872
483
23
55
21
0.742991
0.182195
0
0
0
0
0.165803
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
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
efab38e6248c21029b4b9f1a10ea29a0828fdd66
356
py
Python
hey-brether-OOF-pep8.py
austinpray/hey-brether
8fa9f83df0da5bc570f60a83a27f72babecb0c18
[ "MIT" ]
3
2018-07-31T15:28:46.000Z
2018-11-05T18:15:15.000Z
hey-brether-OOF-pep8.py
austinpray/hey-brether
8fa9f83df0da5bc570f60a83a27f72babecb0c18
[ "MIT" ]
null
null
null
hey-brether-OOF-pep8.py
austinpray/hey-brether
8fa9f83df0da5bc570f60a83a27f72babecb0c18
[ "MIT" ]
1
2018-07-30T19:51:26.000Z
2018-07-30T19:51:26.000Z
#!/usr/bin/env python3 import sys print((lambda builder: lambda words: '\n\n'.join([ '\n'.join([ ''.join([ builder(c, i) for c in word for i in iA]) for iA in [[0, 1], [2, 3]]]) for word in words]) )(lambda c...
25.428571
52
0.401685
49
356
2.877551
0.510204
0.042553
0
0
0
0
0
0
0
0
0
0.028846
0.41573
356
13
53
27.384615
0.649038
0.058989
0
0
0
0
0.050898
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
efad860acc60c1b478614166b4084e5adcfa2e90
234
py
Python
AIDEMY/Intro_2_1_3.py
vox256/Codes
c408ef0fbc25af46dacef93b3496985feb98dd5c
[ "MIT" ]
null
null
null
AIDEMY/Intro_2_1_3.py
vox256/Codes
c408ef0fbc25af46dacef93b3496985feb98dd5c
[ "MIT" ]
null
null
null
AIDEMY/Intro_2_1_3.py
vox256/Codes
c408ef0fbc25af46dacef93b3496985feb98dd5c
[ "MIT" ]
null
null
null
fruits_name_1 = "りんご" fruits_num_1 = 2 fruits_name_2 = "みかん" fruits_num_2 = 10 # [["りんご", 2], ["みかん", 10]]という出力になるように、fruitsに変数をリスト型に代入してください fruits = [[fruits_name_1, fruits_num_1], [fruits_name_2, fruits_num_2]] # 出力 print(fruits)
23.4
71
0.730769
38
234
4.078947
0.315789
0.258065
0.141935
0
0
0
0
0
0
0
0
0.067633
0.115385
234
10
72
23.4
0.681159
0.269231
0
0
0
0
0.035503
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
efb0d7313688703b8af9489a2f8de009d77c3e03
660
py
Python
protlearn/dimreduction/tests/test_sequential.py
tadorfer/ProtClass
da1a01ea9abd3c367b3389dfed683c6a9dfa6afd
[ "MIT" ]
24
2020-09-17T10:35:44.000Z
2022-03-09T19:19:01.000Z
protlearn/dimreduction/tests/test_sequential.py
tadorfer/ProtClass
da1a01ea9abd3c367b3389dfed683c6a9dfa6afd
[ "MIT" ]
14
2020-08-09T18:23:01.000Z
2020-11-19T05:48:14.000Z
protlearn/dimreduction/tests/test_sequential.py
tadorfer/ProtClass
da1a01ea9abd3c367b3389dfed683c6a9dfa6afd
[ "MIT" ]
3
2021-03-07T23:41:17.000Z
2022-02-25T18:48:37.000Z
import pytest import numpy as np from sklearn.ensemble import RandomForestClassifier from ..sequential import sequential import pkg_resources PATH = pkg_resources.resource_filename(__name__, 'test_data/') def test_sequential(): "Test sequential feature selection" # load data X = np.load(PATH+'featur...
26.4
65
0.70303
88
660
5.079545
0.5
0.071588
0.044743
0.080537
0.214765
0
0
0
0
0
0
0.027933
0.186364
660
25
66
26.4
0.804469
0.10303
0
0
0
0
0.153846
0.041667
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
efb5afeefce8bac7f03d04bc941ecc6b5717cd02
946
py
Python
rest_registration/api/urls.py
robwa/django-rest-registration
bdad5f128df47e38cd41a149520a4d2563973c23
[ "MIT" ]
21
2016-01-16T12:46:37.000Z
2018-04-17T02:50:51.000Z
rest_registration/api/urls.py
Django-AI/Django-REST-Registration
3627dc610c9f69a5da09c1efe54984d3e784e8bd
[ "MIT" ]
20
2018-01-11T13:24:48.000Z
2018-04-19T13:58:12.000Z
rest_registration/api/urls.py
Django-AI/Django-REST-Registration
3627dc610c9f69a5da09c1efe54984d3e784e8bd
[ "MIT" ]
7
2017-09-26T09:19:29.000Z
2018-04-01T09:03:32.000Z
from django.urls import path from .views import ( change_password, login, logout, profile, register, register_email, reset_password, send_reset_password_link, verify_email, verify_registration ) app_name = 'rest_registration' urlpatterns = [ path('register/', register, name...
25.567568
82
0.671247
105
946
5.87619
0.209524
0.168558
0.110211
0.136143
0
0
0
0
0
0
0
0
0.174419
946
36
83
26.277778
0.790013
0
0
0
0
0
0.290698
0.051797
0
0
0
0
0
1
0
false
0.241379
0.068966
0
0.068966
0
0
0
0
null
0
0
0
0
0
0
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
efb93582183b6a217700d489781915bd371a37fd
635
py
Python
testcase/test_case_4_QuickdrawDataset4dict_random_attention_mask.py
Team-Squad-Up/multigraph_transformer
180a4dc172695d305ab8a945698cd24401d42e66
[ "MIT" ]
268
2019-12-24T05:27:57.000Z
2022-03-31T13:59:30.000Z
testcase/test_case_4_QuickdrawDataset4dict_random_attention_mask.py
Team-Squad-Up/multigraph_transformer
180a4dc172695d305ab8a945698cd24401d42e66
[ "MIT" ]
2
2020-08-10T02:57:57.000Z
2021-01-05T06:19:40.000Z
testcase/test_case_4_QuickdrawDataset4dict_random_attention_mask.py
PengBoXiangShang/multigraph_transformer
04aaf575a5242d44e08910a9583c623f14b61b62
[ "MIT" ]
26
2019-12-24T13:24:58.000Z
2022-03-21T08:42:20.000Z
import numpy as np def produce_adjacent_matrix_random(stroke_length, conn=0.15): attention_mask = np.random.choice(a=[0, 1], size=[7, 7], p=[conn, 1-conn]) attention_mask[stroke_length: , :] = 2 attention_mask[:, stroke_length : ] = 2 ##### attention_mask = np.triu(attention_mask) att...
28.863636
79
0.634646
89
635
4.258427
0.426966
0.343008
0.110818
0.14248
0.171504
0.171504
0.171504
0
0
0
0
0.027451
0.19685
635
22
80
28.863636
0.715686
0
0
0
0
0
0.036066
0.036066
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.214286
0.214286
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
efbd1b76b0f3ea6afad0009164db9d2395523227
886
py
Python
ex39ADVINHACAO.py
juniooor/Exercicios-python
aed87da4f93d0e6083b1a8c3af4081a028f145de
[ "MIT" ]
null
null
null
ex39ADVINHACAO.py
juniooor/Exercicios-python
aed87da4f93d0e6083b1a8c3af4081a028f145de
[ "MIT" ]
null
null
null
ex39ADVINHACAO.py
juniooor/Exercicios-python
aed87da4f93d0e6083b1a8c3af4081a028f145de
[ "MIT" ]
null
null
null
# Melhore o jogo do DESAFIO 028 onde o computador vai "pensar" em um número entre 0 e 10. Só que agora o jogador vai tentar adivinhar até acertar, mostrando no final quantos palpites foram necessários para vencer. from random import randint contchute=0 print('¬¬¬'*7) print(' JOGO DE ADVINHAÇÃO') print('¬¬¬'*7) print('I...
38.521739
213
0.680587
137
886
4.445255
0.583942
0.039409
0.032841
0.052545
0.082102
0.082102
0
0
0
0
0
0.024251
0.208804
886
22
214
40.272727
0.835949
0.238149
0
0.285714
0
0
0.445765
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
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