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
e43b2414ce43533302d4bb35c354bca0325dcc5d
414
py
Python
tdrs-backend/tdpservice/users/migrations/0011_auto_20210108_1741.py
amilash/TANF-app
09ef2baa854e41250c5761fa66aa665e112a53cf
[ "CC0-1.0" ]
18
2020-03-25T19:57:12.000Z
2021-07-26T15:37:50.000Z
tdrs-backend/tdpservice/users/migrations/0011_auto_20210108_1741.py
amilash/TANF-app
09ef2baa854e41250c5761fa66aa665e112a53cf
[ "CC0-1.0" ]
1,465
2020-07-22T21:16:53.000Z
2022-03-31T16:04:22.000Z
tdrs-backend/tdpservice/users/migrations/0011_auto_20210108_1741.py
amilash/TANF-app
09ef2baa854e41250c5761fa66aa665e112a53cf
[ "CC0-1.0" ]
15
2020-07-22T14:58:37.000Z
2021-06-22T17:29:55.000Z
# Generated by Django 3.1.4 on 2021-01-08 17:41 from django.contrib.auth.models import Group from django.db import migrations def remove_groups(apps, schema_editor): Group.objects.filter(name__in={"OFA Analyst"}).delete() class Migration(migrations.Migration): dependencies = [ ('users', '0010_remo...
20.7
59
0.698068
53
414
5.301887
0.792453
0.071174
0
0
0
0
0
0
0
0
0
0.05638
0.18599
414
19
60
21.789474
0.777448
0.108696
0
0
1
0
0.103542
0.059946
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
e44d36dda3c2c8efcc264a83da19035b1b0cf1e4
441
py
Python
src/Server/DatabaseSystem/Tools/delWeeklyData.py
Sniper970119/MemoryAssistInPython
434efd09edbda7919a3f754374add7f34912fab7
[ "MIT" ]
19
2019-02-11T01:39:32.000Z
2022-03-05T05:14:34.000Z
src/Server/DatabaseSystem/Tools/delWeeklyData.py
Sniper970119/MemoryAssistInPython
434efd09edbda7919a3f754374add7f34912fab7
[ "MIT" ]
1
2020-02-04T15:20:04.000Z
2020-06-04T05:02:06.000Z
src/Server/DatabaseSystem/Tools/delWeeklyData.py
Sniper970119/MemoryAssistInPython
434efd09edbda7919a3f754374add7f34912fab7
[ "MIT" ]
5
2019-04-20T07:23:25.000Z
2021-03-24T03:13:01.000Z
# -*- coding:utf-8 -*- from src.Server.Conf.config import * class DelWeeklyData(): """ 删除每周数据的数据库 """ def __init__(self): myclient = pymongo.MongoClient("localhost:27017") mydb = myclient["MemoryAssist"] self.weeklyCol = mydb["weekly_user"] pass def handle(self): ...
19.173913
57
0.548753
39
441
6.051282
0.794872
0.110169
0
0
0
0
0
0
0
0
0
0.019802
0.312925
441
22
58
20.045455
0.759076
0.145125
0
0
0
0
0.115502
0
0
0
0
0
0
1
0.222222
false
0.111111
0.111111
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
1
0
1
0
0
0
0
0
2
e45089ab6b656b0267475a1ee7cd43153334253d
839
py
Python
src/region_set_profiler/utils.py
stephenkraemer/regionset_profiler
f4597f025688982827a6b56a49ad92f23d61897c
[ "BSD-3-Clause" ]
2
2020-05-04T07:51:08.000Z
2022-02-22T15:37:37.000Z
src/region_set_profiler/utils.py
stephenkraemer/regionset_profiler
f4597f025688982827a6b56a49ad92f23d61897c
[ "BSD-3-Clause" ]
1
2020-05-04T07:57:50.000Z
2020-05-04T09:57:49.000Z
src/region_set_profiler/utils.py
stephenkraemer/regionset_profiler
f4597f025688982827a6b56a49ad92f23d61897c
[ "BSD-3-Clause" ]
null
null
null
import pickle import re import pandas as pd def parquet(fp, suffix=".p"): return re.sub(f"{suffix}$", ".parquet", fp) def p(fp, suffix=".tsv"): return re.sub(f"{suffix}$", ".p", fp) def assert_granges_are_sorted(df: pd.DataFrame): """ Args: df: must have columns ['Chromosome', 'Start', '...
19.97619
76
0.595948
113
839
4.345133
0.477876
0.09165
0.10998
0.04888
0.07332
0
0
0
0
0
0
0.001567
0.239571
839
41
77
20.463415
0.768025
0.171633
0
0.095238
0
0
0.099248
0
0
0
0
0
0.142857
1
0.238095
false
0
0.142857
0.095238
0.52381
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
1
0
0
2
e453a95eae0003338d9a4f9004527b6d63fabdfe
353
py
Python
Python/CeV/Exercicios/ex72.py
WerickL/Learning
5a9a488f0422454e612439b89093d5bc11242e65
[ "MIT" ]
null
null
null
Python/CeV/Exercicios/ex72.py
WerickL/Learning
5a9a488f0422454e612439b89093d5bc11242e65
[ "MIT" ]
null
null
null
Python/CeV/Exercicios/ex72.py
WerickL/Learning
5a9a488f0422454e612439b89093d5bc11242e65
[ "MIT" ]
null
null
null
ext = ('zero', 'um', 'dois', 'três', 'quatro', 'cinco', 'seis', 'sete', 'oito', 'nove', 'dez', 'onze', 'doze', 'treze', 'quatorze', 'quinze', 'dezesseis', 'dezessete', 'dezoito', 'dezenove', 'vinte') val = int(input('Digite um valor:')) while not 0 <= val <= 20: val = int(input('Digite um valor:')) print(f'o...
50.428571
111
0.575071
47
353
4.319149
0.765957
0.059113
0.108374
0.167488
0.236453
0.236453
0
0
0
0
0
0.010101
0.15864
353
6
112
58.833333
0.673401
0
0
0.333333
0
0
0.487252
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
1
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
2
e4606069fb9517b60da3a77a0719df1a8865f3d9
346
py
Python
examples/med_sts_clinical.py
anwar1103/semantic-text-similarit
2d6729dd5073fb3e64169969277defe18676dafc
[ "MIT" ]
167
2019-07-28T00:08:36.000Z
2022-03-19T20:59:14.000Z
examples/med_sts_clinical.py
anwar1103/semantic-text-similarit
2d6729dd5073fb3e64169969277defe18676dafc
[ "MIT" ]
20
2019-07-23T07:47:51.000Z
2021-06-08T06:17:14.000Z
examples/med_sts_clinical.py
anwar1103/semantic-text-similarit
2d6729dd5073fb3e64169969277defe18676dafc
[ "MIT" ]
43
2019-07-26T00:06:28.000Z
2021-10-06T00:52:26.000Z
from semantic_text_similarity.models import ClinicalBertSimilarity from scipy.stats import pearsonr model = ClinicalBertSimilarity() predictions = model.predict([("The patient is sick.", "Grass is green."), ("A prescription of acetaminophen 325 mg was given."," The patient was given Tyleno...
43.25
118
0.722543
39
346
6.358974
0.74359
0.080645
0
0
0
0
0
0
0
0
0
0.010638
0.184971
346
8
119
43.25
0.868794
0
0
0
0
0
0.331412
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
1
0
0
0
0
2
e466dc77b4c894a23498f934c7ce9264c4dbf8e9
3,839
py
Python
functions.py
BinaryVoid/indianrailwaybot
4d349a4f2864d3b368d4fdcb10c7595df89641ca
[ "MIT" ]
null
null
null
functions.py
BinaryVoid/indianrailwaybot
4d349a4f2864d3b368d4fdcb10c7595df89641ca
[ "MIT" ]
null
null
null
functions.py
BinaryVoid/indianrailwaybot
4d349a4f2864d3b368d4fdcb10c7595df89641ca
[ "MIT" ]
null
null
null
from urllib2 import urlopen import config import json import telepot #########VARIABLES############## site = 'http://api.railwayapi.com/' bot = telepot.Bot(config.telegram_key) railkey = config.railway_key ##########VARIABLES END######### def on_between_request(msg): invalid_msg = """Invalid command. /between h...
34.585586
203
0.615004
537
3,839
4.271881
0.268156
0.047079
0.039233
0.036617
0.276373
0.218832
0.126417
0.096774
0.096774
0.096774
0
0.013387
0.163324
3,839
110
204
34.9
0.700809
0.005731
0
0.172043
0
0.010753
0.318495
0
0.010753
0
0
0
0
0
null
null
0.064516
0.043011
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
e46963dcdf85f6bd5fe63fdcc99449c80158337f
12,809
py
Python
ims/migrations/0001_initial.py
hisham2k9/IMS-and-CAPA
9f70988a6411c72ab4f0cbc818b84db58a28076f
[ "MIT" ]
null
null
null
ims/migrations/0001_initial.py
hisham2k9/IMS-and-CAPA
9f70988a6411c72ab4f0cbc818b84db58a28076f
[ "MIT" ]
15
2021-03-19T03:43:56.000Z
2022-03-12T00:30:55.000Z
ims/migrations/0001_initial.py
hisham2k9/IMS-and-CAPA
9f70988a6411c72ab4f0cbc818b84db58a28076f
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-03-08 10:56 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion import ims.models import multiselectfield.db.fields class Migration(migrations.Migration): initial = True dependencies = [ migra...
102.472
751
0.684753
1,425
12,809
6.005614
0.195088
0.043118
0.039729
0.047675
0.675976
0.563566
0.462491
0.378359
0.256018
0.231947
0
0.01465
0.179327
12,809
124
752
103.298387
0.799467
0.003513
0
0.25641
1
0
0.363031
0.062921
0
0
0
0
0
1
0
false
0
0.051282
0
0.08547
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e482124563740f50db07ef319819174a176c24ca
2,036
py
Python
trial.py
pabloalarconm/EMB
440f491f4b4023e28e6336da34e1472d8f017fec
[ "MIT" ]
null
null
null
trial.py
pabloalarconm/EMB
440f491f4b4023e28e6336da34e1472d8f017fec
[ "MIT" ]
null
null
null
trial.py
pabloalarconm/EMB
440f491f4b4023e28e6336da34e1472d8f017fec
[ "MIT" ]
null
null
null
from embuilder.builder import EMB prefixes = dict( rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" , rdfs = "http://www.w3.org/2000/01/rdf-schema#" , obo = "http://purl.obolibrary.org/obo/" , sio = "http://semanticscience.org/resource/" , xsd = "http://www.w3.org/2001/XMLSchema#", this = "http://my_exa...
38.415094
120
0.642927
275
2,036
4.589091
0.381818
0.105388
0.195721
0.126783
0.263074
0.083994
0.083994
0.052298
0
0
0
0.014533
0.121316
2,036
53
121
38.415094
0.690889
0.141454
0
0
0
0
0.601379
0.320505
0
0
0
0
0
1
0
false
0
0.029412
0
0.029412
0.088235
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e4949bc47df0e2b29020d348b00a342ea80b91ab
607
py
Python
whoscored/parser.py
saromanov/whoscored-parser
a7fc7aa329b375d924c46b792409b162f8b5c638
[ "MIT" ]
null
null
null
whoscored/parser.py
saromanov/whoscored-parser
a7fc7aa329b375d924c46b792409b162f8b5c638
[ "MIT" ]
null
null
null
whoscored/parser.py
saromanov/whoscored-parser
a7fc7aa329b375d924c46b792409b162f8b5c638
[ "MIT" ]
3
2020-05-21T22:12:12.000Z
2022-03-21T12:48:11.000Z
from bs4 import BeatifulSoup from request import get_page class Parse: def __init__(self, url): self._url = url def parse(self): ''' Base method for parsing ''' page = get_page(self._url) soup = BeautifulSoup(page, 'html.parser') class ParseGame(Parse): ...
25.291667
116
0.601318
71
607
4.84507
0.619718
0.081395
0.069767
0.093023
0.110465
0
0
0
0
0
0
0.039535
0.291598
607
24
117
25.291667
0.760465
0.257002
0
0.153846
0
0
0.027778
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0
0.692308
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
1
0
0
2
e49649cc2c1c1af2ee3885b3b722ce667fc34468
9,463
py
Python
tests/test_backend.py
bwind/pymogilefs
a3013f7ce3ec53ec1db1bd8b80041cb04126b6ea
[ "MIT" ]
3
2017-04-15T15:43:44.000Z
2021-03-08T22:16:28.000Z
tests/test_backend.py
bwind/pymogilefs
a3013f7ce3ec53ec1db1bd8b80041cb04126b6ea
[ "MIT" ]
8
2017-04-15T15:47:17.000Z
2018-10-01T14:12:29.000Z
tests/test_backend.py
bwind/pymogilefs
a3013f7ce3ec53ec1db1bd8b80041cb04126b6ea
[ "MIT" ]
3
2017-04-15T15:44:56.000Z
2018-09-14T06:09:26.000Z
from pymogilefs.backend import ( Backend, GetHostsConfig, CreateHostConfig, UpdateHostConfig, DeleteHostConfig, GetDomainsConfig, CreateDomainConfig, DeleteDomainConfig, CreateClassConfig, DeleteClassConfig, GetDevicesConfig, CreateDeviceConfig, SetStateConfig, Se...
47.552764
79
0.555321
901
9,463
5.660377
0.127636
0.11
0.085686
0.076667
0.758431
0.73451
0.69098
0.631961
0.631961
0.631961
0
0.030657
0.320934
9,463
198
80
47.792929
0.762994
0
0
0.474286
0
0
0.16686
0.067526
0
0
0
0
0.142857
1
0.097143
false
0
0.034286
0
0.165714
0
0
0
0
null
0
0
0
0
1
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
2
e4ab831e2c3b79c4cd052a90b3662c77b170c390
9,122
py
Python
dendropy/__init__.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
dendropy/__init__.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
dendropy/__init__.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
#! /usr/bin/env python ############################################################################## ## DendroPy Phylogenetic Computing Library. ## ## Copyright 2010-2015 Jeet Sukumaran and Mark T. Holder. ## All rights reserved. ## ## See "LICENSE.rst" for terms and conditions of usage. ## ## If you use this wo...
42.826291
135
0.733173
923
9,122
7.061755
0.294691
0.134397
0.135318
0.099417
0.444768
0.171678
0.167536
0.126112
0.108009
0.06413
0
0.007051
0.160491
9,122
212
136
43.028302
0.844085
0.057334
0
0.088757
0
0.005917
0.11594
0.018119
0
0
0
0
0
1
0.053254
false
0.005917
0.467456
0.005917
0.556213
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
1
0
0
2
e4aeafa2659ca208d853bbc89b82cc763cd103af
606
py
Python
deeprank/utils/add_binaryClass.py
DeepRank/DeepRank_VariantPred
42cd85c7a521463ab2b644ef8da87c107a2b5bce
[ "Apache-2.0" ]
84
2018-01-18T02:49:10.000Z
2022-03-05T00:47:49.000Z
deeprank/utils/add_binaryClass.py
DeepRank/DeepRank_VariantPred
42cd85c7a521463ab2b644ef8da87c107a2b5bce
[ "Apache-2.0" ]
228
2018-03-01T15:05:17.000Z
2022-03-25T13:00:36.000Z
deeprank/utils/add_binaryClass.py
DeepRank/DeepRank_VariantPred
42cd85c7a521463ab2b644ef8da87c107a2b5bce
[ "Apache-2.0" ]
25
2018-03-01T14:56:28.000Z
2022-01-20T07:32:35.000Z
#!/usr/bin/env python # This script can be used to create/correct target values import glob import os from time import time import numpy as np import deeprank.generate.DataGenerator as DataGenerator path = './' database = [f for f in glob.glob(path + '*.hdf5')] print(database) # create binary target for hdf5_FL...
20.896552
58
0.673267
89
606
4.483146
0.52809
0.045113
0
0
0
0
0
0
0
0
0
0.018711
0.206271
606
28
59
21.642857
0.810811
0.160066
0
0
1
0
0.15415
0.057312
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0.1875
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
1
0
0
0
0
2
e4b72c962ebf39ae5a6b73f84eb0bd0b3752ebc5
1,152
py
Python
cride/users/views/exchanges.py
albertoaldanar/betmatcherAPI
c0590025efd79f4e489f9c9433b17554ea6ba23f
[ "MIT" ]
null
null
null
cride/users/views/exchanges.py
albertoaldanar/betmatcherAPI
c0590025efd79f4e489f9c9433b17554ea6ba23f
[ "MIT" ]
7
2020-06-05T20:53:27.000Z
2022-03-11T23:47:12.000Z
cride/users/views/exchanges.py
albertoaldanar/betmatcherAPI
c0590025efd79f4e489f9c9433b17554ea6ba23f
[ "MIT" ]
null
null
null
"""Events API views""" #DRF from rest_framework.views import APIView from rest_framework import status, mixins, viewsets from rest_framework.response import Response from rest_framework.request import Request from rest_framework.decorators import api_view from rest_framework import generics from operator import itemget...
31.135135
81
0.767361
142
1,152
6.147887
0.380282
0.113402
0.116838
0.052692
0
0
0
0
0
0
0
0
0.130208
1,152
37
82
31.135135
0.871257
0.044271
0
0
0
0
0.057692
0
0
0
0
0
0
1
0.04
false
0
0.44
0
0.52
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
1
0
0
2
e4b9717c1041a7be4f9a9dc795c80e278462296f
409
py
Python
course_contents/flask_1/setup.py
officinaMusci/python_flask_course
b5f79037105d16998b337da485b879c578b7eea0
[ "MIT" ]
null
null
null
course_contents/flask_1/setup.py
officinaMusci/python_flask_course
b5f79037105d16998b337da485b879c578b7eea0
[ "MIT" ]
null
null
null
course_contents/flask_1/setup.py
officinaMusci/python_flask_course
b5f79037105d16998b337da485b879c578b7eea0
[ "MIT" ]
null
null
null
'''Fichier "app.py" à la racine du projet''' # 1. On importe le module Flask import flask # 2. On déclare la variable globale pour l'application app = flask.Flask(__name__) # 3. On lance le serveur en mode dev pour avoir le debug >>> export FLASK_ENV=development >>> flask run # 3.b Si on utilise un fichier différen...
24.058824
56
0.721271
67
409
4.298507
0.61194
0.114583
0.097222
0.173611
0
0
0
0
0
0
0
0.011799
0.171149
409
16
57
25.5625
0.837758
0.462103
0
0.571429
0
0
0
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
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
1
0
0
0
0
0
0
0
0
2
e4bd6b7a6f11b7880e70a6ab5e0926e4d0b29594
1,272
py
Python
hcli_core/hcli_core.py
cometaj2/hcli_core
5363cb81843ddec41246e7fcfac7dfcce8bf4b8c
[ "MIT" ]
null
null
null
hcli_core/hcli_core.py
cometaj2/hcli_core
5363cb81843ddec41246e7fcfac7dfcce8bf4b8c
[ "MIT" ]
null
null
null
hcli_core/hcli_core.py
cometaj2/hcli_core
5363cb81843ddec41246e7fcfac7dfcce8bf4b8c
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function import falcon import json import template from hcli import api from hcli import home from hcli import document from hcli import command from hcli import option from hcli import execution from hcli import finalexecution from hcli import parameter import c...
37.411765
100
0.764937
149
1,272
6.402685
0.375839
0.067086
0.1174
0.0587
0.081761
0.081761
0
0
0
0
0
0
0.16195
1,272
33
101
38.545455
0.894934
0.063679
0
0
0
0
0
0
0
0
0
0
0
1
0.038462
false
0
0.5
0
0.576923
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
0
1
0
1
0
0
2
e4bd7d047f8ebfe0abcfe4a5ad4e65afc75d55fe
2,098
py
Python
configurator.py
Junyingli510/Linkedin-Scraper
f9f355b9a59b775efe7825bcd97c554cc4676173
[ "MIT" ]
1
2021-05-08T01:24:16.000Z
2021-05-08T01:24:16.000Z
configurator.py
Junyingli510/Linkedin-Scraper
f9f355b9a59b775efe7825bcd97c554cc4676173
[ "MIT" ]
null
null
null
configurator.py
Junyingli510/Linkedin-Scraper
f9f355b9a59b775efe7825bcd97c554cc4676173
[ "MIT" ]
1
2021-05-08T01:28:02.000Z
2021-05-08T01:28:02.000Z
from configparser import ConfigParser config = ConfigParser() config.add_section('system') config.add_section('linkedin') config.add_section('profiles_data') config.add_section('profiles_data_by_name') print("Welcome to the configuration process.") linkedin_username = "" while linkedin_username == "": print("In...
36.172414
104
0.743565
300
2,098
5.003333
0.28
0.069287
0.060626
0.035976
0.201865
0.164557
0
0
0
0
0
0
0.126787
2,098
57
105
36.807018
0.819323
0
0
0.106383
0
0
0.446139
0.043375
0
0
0
0
0
1
0
false
0.12766
0.021277
0
0.021277
0.425532
0
0
0
null
0
0
0
0
0
0
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
1
0
2
e4c03f1c9506695d9a330c6aed52570f29f12b3a
405
py
Python
main.py
YuhengZhi/demix
e7bd400b3901f51bfeb4012753a84c3c69aa78a6
[ "MIT" ]
null
null
null
main.py
YuhengZhi/demix
e7bd400b3901f51bfeb4012753a84c3c69aa78a6
[ "MIT" ]
null
null
null
main.py
YuhengZhi/demix
e7bd400b3901f51bfeb4012753a84c3c69aa78a6
[ "MIT" ]
null
null
null
import torchvision.models as models import torch.nn as nn import torch from torch.autograd import Variable models.alexnet() c = nn.ConvTranspose2d(1, 1, 5) print(c) input_feature = torch.Tensor([[2, 2], [2, 2]]) input_feature = Variable(input_feature) input_feature = input_feature[None, None, :, :] print(c(...
21.315789
48
0.718519
60
405
4.75
0.416667
0.252632
0.077193
0.126316
0
0
0
0
0
0
0
0.023529
0.160494
405
18
49
22.5
0.814706
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0.142857
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
1
0
0
0
0
2
e4c5999b2f7af243be2fe7deb3af2c5f836515df
2,429
py
Python
corc/cli/job.py
rasmunk/corc
2d2ba92ab791f50fa46e1ff2cdc0035925032671
[ "MIT" ]
2
2020-10-31T14:55:26.000Z
2022-02-07T19:53:33.000Z
corc/cli/job.py
rasmunk/corc
2d2ba92ab791f50fa46e1ff2cdc0035925032671
[ "MIT" ]
3
2020-08-27T14:10:16.000Z
2021-09-23T23:31:19.000Z
corc/cli/job.py
rasmunk/corc
2d2ba92ab791f50fa46e1ff2cdc0035925032671
[ "MIT" ]
1
2022-02-07T19:53:34.000Z
2022-02-07T19:53:34.000Z
from corc.defaults import CLUSTER, OCI, JOB, META, S3, STORAGE, PROVIDER from corc.cli.args import extract_arguments from corc.cli.providers.helpers import select_provider from corc.job import ( run as api_run, get_results as api_get_results, delete_results as api_delete_results, list_results as api_lis...
33.273973
85
0.706464
314
2,429
5.133758
0.136943
0.188586
0.223325
0.26799
0.579404
0.472084
0.451613
0.394541
0.394541
0.394541
0
0.007661
0.193907
2,429
72
86
33.736111
0.815628
0
0
0.224138
0
0
0.011527
0
0
0
0
0
0
1
0.068966
false
0
0.068966
0
0.206897
0
0
0
0
null
0
1
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
2
e4c6357a57a9a7f1fa2506e88bc63125e70b73a2
6,203
py
Python
spyql/output_handler.py
alin23/spyql
41105b7c536ae21139d0d89cfb6b2a8b6deebf1e
[ "MIT" ]
432
2021-08-17T16:52:36.000Z
2022-03-30T15:33:26.000Z
spyql/output_handler.py
alin23/spyql
41105b7c536ae21139d0d89cfb6b2a8b6deebf1e
[ "MIT" ]
48
2021-07-27T17:18:05.000Z
2022-03-15T09:33:01.000Z
spyql/output_handler.py
alin23/spyql
41105b7c536ae21139d0d89cfb6b2a8b6deebf1e
[ "MIT" ]
16
2021-11-27T15:42:42.000Z
2022-02-16T11:36:37.000Z
from spyql.nulltype import Null class OutputHandler: """Mediates data processing with data writting""" @staticmethod def make_handler(prs): """ Chooses the right handler depending on the kind of query and eventual optimization opportunities """ if prs["group by"] a...
35.244318
88
0.616798
744
6,203
5.017473
0.258065
0.053576
0.060005
0.030538
0.375837
0.303777
0.283954
0.254487
0.254487
0.213233
0
0.001597
0.293245
6,203
175
89
35.445714
0.849909
0.311946
0
0.393939
0
0
0.046715
0
0
0
0
0.011429
0
1
0.212121
false
0
0.010101
0.010101
0.414141
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
1
0
0
0
0
0
0
0
2
e4db61c44b0ae216f68c1760571a6b216cab86fa
2,042
py
Python
sleepproxy/dnsserve.py
hkjinlee/SleepProxyServer
b2914fcf45ed7ae29882e97dfb574fd1bd20d8b2
[ "BSD-2-Clause" ]
5
2015-01-07T08:42:25.000Z
2019-06-10T09:14:32.000Z
sleepproxy/dnsserve.py
hkjinlee/SleepProxyServer
b2914fcf45ed7ae29882e97dfb574fd1bd20d8b2
[ "BSD-2-Clause" ]
null
null
null
sleepproxy/dnsserve.py
hkjinlee/SleepProxyServer
b2914fcf45ed7ae29882e97dfb574fd1bd20d8b2
[ "BSD-2-Clause" ]
5
2015-05-10T07:08:39.000Z
2022-02-07T06:21:07.000Z
import struct import dns.message import dns.reversename import IPy import netifaces from sleepproxy.manager import manage_host def handle(server, raddress, message): try: message = dns.message.from_wire(message) except: print "Error decoding DNS message" return if message.edns < ...
28.760563
79
0.622919
250
2,042
5.024
0.436
0.031847
0.025478
0.033439
0
0
0
0
0
0
0
0.006662
0.264936
2,042
70
80
29.171429
0.830113
0.092067
0
0.104167
0
0
0.098592
0
0
0
0
0.014286
0
0
null
null
0
0.125
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
e4ebb14534a344d3c708feeec73a09822a512fa1
755
py
Python
core/src/zeit/cms/testcontenttype/testcontenttype.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
5
2019-05-16T09:51:29.000Z
2021-05-31T09:30:03.000Z
core/src/zeit/cms/testcontenttype/testcontenttype.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
107
2019-05-24T12:19:02.000Z
2022-03-23T15:05:56.000Z
core/src/zeit/cms/testcontenttype/testcontenttype.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
3
2020-08-14T11:01:17.000Z
2022-01-08T17:32:19.000Z
import zeit.cms.content.metadata import zeit.cms.interfaces import zeit.cms.testcontenttype.interfaces import zeit.cms.type import zope.interface @zope.interface.implementer( zeit.cms.testcontenttype.interfaces.IExampleContentType, zeit.cms.interfaces.IEditorialContent) class ExampleContentType(zeit.cms.cont...
29.038462
74
0.765563
78
755
7.371795
0.487179
0.109565
0.090435
0.166957
0.177391
0
0
0
0
0
0
0
0.124503
755
25
75
30.2
0.869894
0.025166
0
0
0
0
0.142661
0.034294
0
0
0
0
0
1
0
false
0
0.294118
0
0.705882
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
1
0
0
2
900dc291bcb088e38141f27515fc928e116380b6
568
py
Python
opgc/apps/githubs/migrations/0004_auto_20210223_2149.py
DirtyBoyz/opgc_backend
3fc7160d9d637378a358d4fc161fae495a18f0bd
[ "MIT" ]
9
2020-08-19T02:49:03.000Z
2022-03-04T10:50:18.000Z
opgc/apps/githubs/migrations/0004_auto_20210223_2149.py
DirtyBoyz/opgc_backend
3fc7160d9d637378a358d4fc161fae495a18f0bd
[ "MIT" ]
7
2021-07-20T15:13:07.000Z
2022-03-08T13:14:43.000Z
opgc/apps/githubs/migrations/0004_auto_20210223_2149.py
DirtyBoyz/opgc_backend
3fc7160d9d637378a358d4fc161fae495a18f0bd
[ "MIT" ]
2
2021-08-13T08:05:34.000Z
2022-02-28T05:51:06.000Z
# Generated by Django 2.2.17 on 2021-02-23 21:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('githubs', '0003_auto_20210214_0120'), ] operations = [ migrations.AddField( model_name='githubuser', name='total_st...
23.666667
49
0.59507
56
568
5.892857
0.660714
0.109091
0.139394
0.163636
0.278788
0.278788
0.278788
0
0
0
0
0.085
0.295775
568
23
50
24.695652
0.74
0.080986
0
0.352941
1
0
0.169231
0.086538
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
901be15244c5f3098180fe44dafb174501ebf728
9,875
py
Python
src/speechkit/_auth.py
drygdryg/yandex-speechkit-lib-python
b45bbb6550d5bb77289ff0462e794cbc8b0669a0
[ "MIT" ]
2
2021-12-13T20:29:00.000Z
2022-01-28T13:02:54.000Z
src/speechkit/_auth.py
drygdryg/yandex-speechkit-lib-python
b45bbb6550d5bb77289ff0462e794cbc8b0669a0
[ "MIT" ]
1
2021-07-26T00:36:18.000Z
2021-07-26T13:52:59.000Z
src/speechkit/_auth.py
drygdryg/yandex-speechkit-lib-python
b45bbb6550d5bb77289ff0462e794cbc8b0669a0
[ "MIT" ]
2
2022-02-08T12:39:26.000Z
2022-03-12T19:08:18.000Z
import functools import time import jwt import requests from speechkit.exceptions import RequestError def generate_jwt(service_account_id, key_id, private_key, exp_time=360): """ Generating JWT token for authorisation :param string service_account_id: The ID of the service account whose key the JWT is ...
39.818548
115
0.661266
1,342
9,875
4.659463
0.129657
0.037422
0.079002
0.099792
0.549016
0.491284
0.443947
0.404126
0.371182
0.342076
0
0.004146
0.242835
9,875
247
116
39.979757
0.831884
0.274532
0
0.271318
1
0
0.192337
0.020667
0
0
0
0
0
1
0.077519
false
0.139535
0.03876
0.007752
0.224806
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
1
0
0
0
0
0
2
902461739bfb362a727b7d895bd8a110f37690c8
208
py
Python
my_script.py
discdiver/name-equals-main
13192311d4a1eb024714bc6047f508003b84f6a9
[ "BSD-3-Clause" ]
null
null
null
my_script.py
discdiver/name-equals-main
13192311d4a1eb024714bc6047f508003b84f6a9
[ "BSD-3-Clause" ]
null
null
null
my_script.py
discdiver/name-equals-main
13192311d4a1eb024714bc6047f508003b84f6a9
[ "BSD-3-Clause" ]
null
null
null
# my_script print(f"My __name__ is: {__name__}") def i_am_main(): print("I'm main!") def i_am_imported(): print("I'm iported!") if __name__ == "__main__": i_am_main() else: i_am_imported()
14.857143
36
0.634615
34
208
3.147059
0.441176
0.11215
0.11215
0
0
0
0
0
0
0
0
0
0.192308
208
13
37
16
0.636905
0.043269
0
0
0
0
0.279188
0
0
0
0
0
0
1
0.222222
true
0
0.222222
0
0.444444
0.333333
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
0
0
2
9028258e9c880c972e0a8152451b2f3c2180aae9
1,210
py
Python
apps/entry/migrations/0007_update_verbose_names.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
25
2021-06-13T03:38:44.000Z
2022-03-15T15:53:31.000Z
apps/entry/migrations/0007_update_verbose_names.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
59
2021-06-12T23:35:06.000Z
2022-03-24T21:40:24.000Z
apps/entry/migrations/0007_update_verbose_names.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.2 on 2021-06-03 10:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("entry", "0006_tentry_t_post_1x1"), ] operations = [ migrations.AlterModelOptions( name="tbookmark", options={"verbose_name":...
31.842105
99
0.586777
103
1,210
6.679612
0.456311
0.19186
0.270349
0
0
0
0
0
0
0
0
0.024055
0.278512
1,210
37
100
32.702703
0.764032
0.03719
0
0.387097
1
0
0.315563
0.018917
0
0
0
0
0
1
0
false
0
0.032258
0
0.129032
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
90345498d1466b26c34581ed2ba6f1424a80c06b
1,281
py
Python
basic-example/test.py
tr4r3x/remora
f66e579afe97280419cf9bb7f90f200a5d4ba871
[ "MIT" ]
206
2017-04-21T08:34:53.000Z
2022-02-23T22:29:07.000Z
basic-example/test.py
tr4r3x/remora
f66e579afe97280419cf9bb7f90f200a5d4ba871
[ "MIT" ]
83
2017-05-22T12:31:15.000Z
2021-12-17T00:27:30.000Z
basic-example/test.py
tr4r3x/remora
f66e579afe97280419cf9bb7f90f200a5d4ba871
[ "MIT" ]
43
2017-05-23T16:41:57.000Z
2021-08-24T09:05:36.000Z
#!/usr/bin/python import requests def check(): data = {} consumers = requests.get('http://localhost:9000/consumers').json() for consumer_group in consumers: consumer_infos = requests.get( 'http://localhost:9000/consumers/{consumer_group}'.format( consumer_group=cons...
31.243902
84
0.5605
113
1,281
6.106195
0.283186
0.244928
0.156522
0.234783
0.684058
0.502899
0.395652
0.395652
0.395652
0.395652
0
0.009081
0.312256
1,281
40
85
32.025
0.77412
0.01249
0
0.321429
0
0
0.242089
0.106013
0
0
0
0
0
1
0.035714
false
0
0.035714
0
0.107143
0.035714
0
0
0
null
1
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
2
9046569ea6c4f25ea30cf85aa9680823a04b3285
371
py
Python
download-deveres/para-execicios-curso-em-video/exe004.py
Hugo-Oliveira-RDO11/meus-deveres
b5e41015e2cb95946262678e82197e5f47d56271
[ "MIT" ]
null
null
null
download-deveres/para-execicios-curso-em-video/exe004.py
Hugo-Oliveira-RDO11/meus-deveres
b5e41015e2cb95946262678e82197e5f47d56271
[ "MIT" ]
null
null
null
download-deveres/para-execicios-curso-em-video/exe004.py
Hugo-Oliveira-RDO11/meus-deveres
b5e41015e2cb95946262678e82197e5f47d56271
[ "MIT" ]
null
null
null
n = input('digite algum : ') print('o tipo primitivo desse valor e :',type(n)) print('isso e um numero ?',n.isnumeric()) print('isso e uma letra ?',n.isalpha()) print('isso e espaço ?',n.isspace()) print('isso e numero e letra ?',n.isalnum()) print('estar em maiusculas ?',n.isupper()) print('estar em minusculas ?',n.is...
37.1
49
0.673854
58
371
4.310345
0.517241
0.144
0.16
0
0
0
0
0
0
0
0
0
0.118598
371
9
50
41.222222
0.764526
0
0
0
0
0
0.493261
0
0
0
0
0
0
1
0
false
0
0
0
0
0.888889
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
1
0
2
90482bd1c521592934a45fd58cd0cb43510d2a81
1,046
py
Python
java.py
hhu-stups/python_jvm
57b9e6cbdfae23c2aeac1383b04b2ab9424cea16
[ "MIT" ]
4
2016-10-08T20:23:22.000Z
2018-07-25T10:59:08.000Z
java.py
hhu-stups/python_jvm
57b9e6cbdfae23c2aeac1383b04b2ab9424cea16
[ "MIT" ]
null
null
null
java.py
hhu-stups/python_jvm
57b9e6cbdfae23c2aeac1383b04b2ab9424cea16
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # https://sourceforge.net/projects/javavm/ # http://javavm.svn.sourceforge.net/ import sys, py, os from interp import ClassLoader, Stack from classloader import encode_name, descriptor from helper import make_String from objectmodel import Arrayref # FIXME: Uses the BootstrapClassloader # TODO...
37.357143
81
0.712237
143
1,046
5.111888
0.538462
0.028728
0.021888
0
0
0
0
0
0
0
0
0.004499
0.150096
1,046
28
82
37.357143
0.817773
0.1587
0
0
0
0
0.108696
0.060641
0
0
0
0.035714
0
0
null
null
0
0.227273
null
null
0.045455
0
0
0
null
0
0
0
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
1
0
0
0
0
0
0
0
0
2
5f4af67228bd47b10fd3b8c5f4a9aeb30367f543
862
py
Python
scripts/Chengxi_CSP.py
CooperComputationalCaucus/pyXtal
35a9fe89d69db4ae734d71c1311dc8629cd673b9
[ "MIT" ]
null
null
null
scripts/Chengxi_CSP.py
CooperComputationalCaucus/pyXtal
35a9fe89d69db4ae734d71c1311dc8629cd673b9
[ "MIT" ]
null
null
null
scripts/Chengxi_CSP.py
CooperComputationalCaucus/pyXtal
35a9fe89d69db4ae734d71c1311dc8629cd673b9
[ "MIT" ]
null
null
null
''' Script to pull in set of cif files and make a single dataframe . @author: pmm ''' import numpy as np import os import sys sys.path.append('../') import pyXtal as pxt from pyXtal.csp_utils.dataset_io import parse_filenames import pandas as pd dirs = ['/Users/pmm/Documents/xtal_learning/triptycene/cifs/T2', ...
31.925926
86
0.725058
122
862
4.97541
0.491803
0.079077
0.16804
0.207578
0.425041
0.425041
0.425041
0
0
0
0
0.010782
0.139211
862
27
86
31.925926
0.807278
0.090487
0
0
0
0
0.477477
0.45045
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5f50a9645ac7f07839d20424dbed3960646a08f5
464
py
Python
Tests/FileProcessorCopyToAbsolutePathTest.py
CorradoTorino/FilesRecovery
8c7a3b37eece2ef1f5874e2c96f0d004186891b5
[ "MIT" ]
null
null
null
Tests/FileProcessorCopyToAbsolutePathTest.py
CorradoTorino/FilesRecovery
8c7a3b37eece2ef1f5874e2c96f0d004186891b5
[ "MIT" ]
null
null
null
Tests/FileProcessorCopyToAbsolutePathTest.py
CorradoTorino/FilesRecovery
8c7a3b37eece2ef1f5874e2c96f0d004186891b5
[ "MIT" ]
null
null
null
import unittest import os import sys import shutil from FileProcessor import FileProcessor class FileProcessorCopyToAbsolutePathTest(unittest.TestCase): def test_FileProcessorCopyFilesTest_Run_EmptyFolder(self): inputFolder = r"e:" outputFolder = r"d:\Temp\FileProcessorTestOuput" ...
24.421053
62
0.709052
41
464
7.756098
0.658537
0
0
0
0
0
0
0
0
0
0
0
0.221983
464
19
63
24.421053
0.880886
0
0
0
0
0
0.086022
0.064516
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5f5f4043414f3e4a5f137f800ef9a1cdb7e68d1f
314
py
Python
tests/test_basic_functionality.py
aanania/PyXTBClient
f0d70e03ea0a57e6f57fdd8d2ed1e596e732a1a3
[ "MIT" ]
11
2018-09-21T21:30:42.000Z
2021-03-11T08:46:35.000Z
tests/test_basic_functionality.py
aanania/PyXTBClient
f0d70e03ea0a57e6f57fdd8d2ed1e596e732a1a3
[ "MIT" ]
1
2020-04-10T10:47:26.000Z
2020-04-10T10:47:26.000Z
tests/test_basic_functionality.py
aanania/PyXTBClient
f0d70e03ea0a57e6f57fdd8d2ed1e596e732a1a3
[ "MIT" ]
3
2019-03-07T14:07:25.000Z
2020-04-10T15:28:09.000Z
def test_get_symbols(xtb_client): symbols = list(xtb_client.get_all_symbols()) assert len(symbols) > 0 def test_get_balance(xtb_client): balance = xtb_client.get_balance() assert balance.get('balance') is not None def test_ping(xtb_client): response = xtb_client.ping() assert response
22.428571
48
0.729299
46
314
4.673913
0.369565
0.251163
0.093023
0
0
0
0
0
0
0
0
0.003846
0.171975
314
13
49
24.153846
0.823077
0
0
0
0
0
0.022293
0
0
0
0
0
0.333333
1
0.333333
false
0
0
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
5f7341877ed1d66fdd9eb55a52bb232c68d6d194
327
py
Python
helperBot/Agregator.py
dariakhaetskaya/HelperBot
8b75a9a5b3566a4737320430e36dfd72af559964
[ "MIT" ]
2
2021-11-07T12:04:07.000Z
2021-12-27T15:42:31.000Z
helperBot/Agregator.py
dariakhaetskaya/HelperBot
8b75a9a5b3566a4737320430e36dfd72af559964
[ "MIT" ]
null
null
null
helperBot/Agregator.py
dariakhaetskaya/HelperBot
8b75a9a5b3566a4737320430e36dfd72af559964
[ "MIT" ]
null
null
null
class AgregationController: def __init__(self): """ """ def subscribe(self, url): """ :param url: URL :return: boolean """ def notify(self, message, id): """ :param message: Message :param id: List<TgUID> :return: void ...
16.35
34
0.458716
28
327
5.214286
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.409786
327
20
35
16.35
0.756477
0.284404
0
0
0
0
0
0
0
0
0
0
0
1
0.75
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
5f7fb5a89cca7375241b7977a337f1f832d5b6dd
77
py
Python
circuitbreaker/states.py
postmates/circuitbreaker
91e5f2547740b193efbcd6a850380bf72e9d422a
[ "BSD-3-Clause" ]
null
null
null
circuitbreaker/states.py
postmates/circuitbreaker
91e5f2547740b193efbcd6a850380bf72e9d422a
[ "BSD-3-Clause" ]
1
2019-06-17T20:43:58.000Z
2019-06-17T20:43:58.000Z
circuitbreaker/states.py
postmates/circuitbreaker
91e5f2547740b193efbcd6a850380bf72e9d422a
[ "BSD-3-Clause" ]
null
null
null
STATE_CLOSED = b'closed' STATE_OPEN = b'open' STATE_HALF_OPEN = b'half-open'
19.25
30
0.753247
14
77
3.857143
0.357143
0.185185
0
0
0
0
0
0
0
0
0
0
0.116883
77
3
31
25.666667
0.794118
0
0
0
0
0
0.246753
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
5f8c6a062d460268c543c1d201d3fd2198c40668
2,496
py
Python
book_manage/models.py
r-e-d-ant/Library-books-management
37c7970737942956d14e8b0e2878981f1af4953e
[ "MIT" ]
1
2021-03-14T19:22:33.000Z
2021-03-14T19:22:33.000Z
book_manage/models.py
r-e-d-ant/library-books-management
37c7970737942956d14e8b0e2878981f1af4953e
[ "MIT" ]
1
2021-12-16T11:32:36.000Z
2021-12-17T07:51:31.000Z
book_manage/models.py
r-e-d-ant/library-books-management
37c7970737942956d14e8b0e2878981f1af4953e
[ "MIT" ]
1
2021-08-12T15:22:11.000Z
2021-08-12T15:22:11.000Z
from datetime import datetime from book_manage import db, login_manager from flask_login import UserMixin @login_manager.user_loader def load_user(user_id): return Admin.query.get(int(user_id)) # This class to hold Admins who uploads books. class Admin(db.Model, UserMixin): id = db.Column(db.Integer, prima...
37.253731
122
0.695112
360
2,496
4.7
0.244444
0.104019
0.130024
0.104019
0.512411
0.428487
0.428487
0.256501
0.21513
0.21513
0
0.013902
0.164263
2,496
66
123
37.818182
0.79722
0.144231
0
0.292683
0
0.04878
0.15428
0.101599
0
0
0
0
0
1
0.121951
false
0.02439
0.073171
0.121951
0.97561
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
5f8ee46bb80fdf5e38fad6ac803940bc24b4636d
859
py
Python
asylum/zfs.py
cieplak/asylum
12f95d6b42dc441f41aa7e7cc9791675b01d3682
[ "MIT" ]
null
null
null
asylum/zfs.py
cieplak/asylum
12f95d6b42dc441f41aa7e7cc9791675b01d3682
[ "MIT" ]
null
null
null
asylum/zfs.py
cieplak/asylum
12f95d6b42dc441f41aa7e7cc9791675b01d3682
[ "MIT" ]
null
null
null
from asylum.console import Console class Zfs(Console): @classmethod def create_pool(cls, device, name): cmd = ' '.join(['zpool', 'create', name, device]) return cls.run(cmd) @classmethod def create_directory(cls, pool_path, filesystem_path): cmd = ' '.join(['zfs', 'create', '...
28.633333
99
0.597206
100
859
5.03
0.28
0.095427
0.119284
0.149105
0.365805
0.286282
0.228628
0.147117
0
0
0
0
0.235157
859
29
100
29.62069
0.765601
0
0
0.454545
0
0
0.084983
0
0
0
0
0
0
1
0.227273
false
0
0.045455
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5f9275af7f2403af1a15ebcaf52d1f54756b42d9
320
py
Python
Aula6/FindSqrt.py
Anderson842/LabADAGrupoC
f0cb79968b994eeafe562046f4bd87c0d4c07fb6
[ "BSD-3-Clause" ]
null
null
null
Aula6/FindSqrt.py
Anderson842/LabADAGrupoC
f0cb79968b994eeafe562046f4bd87c0d4c07fb6
[ "BSD-3-Clause" ]
null
null
null
Aula6/FindSqrt.py
Anderson842/LabADAGrupoC
f0cb79968b994eeafe562046f4bd87c0d4c07fb6
[ "BSD-3-Clause" ]
null
null
null
#Verificar si un numero es cuadrado #sin usar metodo sqrt def findSqrt (num): l=0 r=num-1 while l<=r: mid = l+(r-l)//2 if mid*mid == num: return True if mid*mid < num: l=mid+1 if mid*mid > num: r=mid-1 return False print(findSqrt(14))
18.823529
35
0.5
51
320
3.137255
0.509804
0.09375
0.15
0.20625
0
0
0
0
0
0
0
0.035714
0.3875
320
17
36
18.823529
0.780612
0.16875
0
0
0
0
0
0
0
0
0
0.058824
0
1
0.076923
false
0
0
0
0.230769
0.076923
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
1
0
0
0
0
0
0
0
0
0
0
2
5f9c5332af1752a1320d26b14ef781fe8c9fc2e5
724
py
Python
YandexPracticum/contest/sprint11/function_value.py
EkaterinaFedorova/prepearing
ccc4fb388c918d942c514a7e0375558c72a72df5
[ "MIT" ]
null
null
null
YandexPracticum/contest/sprint11/function_value.py
EkaterinaFedorova/prepearing
ccc4fb388c918d942c514a7e0375558c72a72df5
[ "MIT" ]
null
null
null
YandexPracticum/contest/sprint11/function_value.py
EkaterinaFedorova/prepearing
ccc4fb388c918d942c514a7e0375558c72a72df5
[ "MIT" ]
null
null
null
# Вася делает тест по математике: вычисляет значение функций в различных точках. # Стоит отличная погода, и друзья зовут Васю гулять. # Но мальчик решил сначала закончить тест и только после этого идти к друзьям. # К сожалению, Вася пока не умеет программировать. Зато вы умеете. # Помогите Васе написать код функции, вы...
32.909091
107
0.697514
119
724
4.12605
0.663866
0.016293
0.01833
0.02444
0.069246
0.069246
0.069246
0
0
0
0
0.010399
0.203039
724
21
108
34.47619
0.840555
0.627072
0
0
0
0
0.030534
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
5fad83dc6bdeba4f03736ee91e479efc987f12c9
258
py
Python
chaewon/week15/Z.py
sio2whocodes/kings-algorithm-study
ef0a0def1bb1a3c09c4a44b93061f72a196c88fe
[ "MIT" ]
null
null
null
chaewon/week15/Z.py
sio2whocodes/kings-algorithm-study
ef0a0def1bb1a3c09c4a44b93061f72a196c88fe
[ "MIT" ]
null
null
null
chaewon/week15/Z.py
sio2whocodes/kings-algorithm-study
ef0a0def1bb1a3c09c4a44b93061f72a196c88fe
[ "MIT" ]
null
null
null
import sys def solution(n, r, c): if n == 0: return 0 return 2 * (r % 2) + (c % 2) + 4 * solution(n - 1, int(r / 2), int(c / 2)) if __name__ == "__main__": n, r, c = map(int, sys.stdin.readline().split()) print(solution(n, r, c))
19.846154
78
0.503876
45
258
2.711111
0.466667
0.221311
0.07377
0.180328
0
0
0
0
0
0
0
0.04918
0.290698
258
12
79
21.5
0.617486
0
0
0
0
0
0.031008
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5
0.125
0
0
0
null
1
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
2
5fbe5544a5869f3c50d6b13727ec784ae324c003
275
py
Python
python_data_analysis/pandas/demo1.py
MiracleWong/MoocStudy
e22c6e69b77b98b6d71b52d90321aa442d726ffa
[ "MIT" ]
null
null
null
python_data_analysis/pandas/demo1.py
MiracleWong/MoocStudy
e22c6e69b77b98b6d71b52d90321aa442d726ffa
[ "MIT" ]
null
null
null
python_data_analysis/pandas/demo1.py
MiracleWong/MoocStudy
e22c6e69b77b98b6d71b52d90321aa442d726ffa
[ "MIT" ]
null
null
null
#!/usr/bin/python #-*- coding:utf8 -*- import pandas as pd b = pd.Series([9,8,7,6],index=['a','b','c','d']) s = pd.Series(25,index=['a','b','c']) d = pd.Series({'a':9, 'b':8, 'c':7}) e = pd.Series({'a':9, 'b':8, 'c':7}, index=['c', 'a', 'b','d']) print b a = s + d print a
22.916667
63
0.483636
59
275
2.254237
0.389831
0.240602
0.105263
0.120301
0.345865
0.210526
0.210526
0.210526
0
0
0
0.054852
0.138182
275
12
64
22.916667
0.506329
0.127273
0
0
0
0
0.07113
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.25
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
1
0
0
0
0
0
0
0
0
2
5fc327c65eabb2a591b39ca253820d046ef827b1
2,622
py
Python
forms.py
fyabc/DBLab02
8ea967337107e29fcd0e171eb418a40e8abe7d9e
[ "MIT" ]
1
2016-06-03T09:37:04.000Z
2016-06-03T09:37:04.000Z
forms.py
fyabc/DBLab02
8ea967337107e29fcd0e171eb418a40e8abe7d9e
[ "MIT" ]
null
null
null
forms.py
fyabc/DBLab02
8ea967337107e29fcd0e171eb418a40e8abe7d9e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'fyabc' from flask.ext.wtf import Form from wtforms import StringField, SubmitField, SelectField, PasswordField, IntegerField from wtforms.validators import DataRequired, NumberRange, Length # Local modules. from config import TableNames class SignInForm(Form): userID = Str...
32.37037
110
0.650648
240
2,622
7.091667
0.441667
0.155112
0.082256
0.114571
0.264395
0.124559
0.124559
0.045828
0
0
0
0.011538
0.206712
2,622
80
111
32.775
0.806731
0.01373
0
0.071429
0
0
0.063492
0
0
0
0
0
0
1
0
false
0.089286
0.071429
0
0.875
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
1
0
0
2
5fcacb311170f64cd246a960dc00ca8b56afbb7a
596
py
Python
pom/base.py
libingluan/project
7095395486dd2b8f98eb6d1d6d2330ff24c94866
[ "MIT" ]
null
null
null
pom/base.py
libingluan/project
7095395486dd2b8f98eb6d1d6d2330ff24c94866
[ "MIT" ]
null
null
null
pom/base.py
libingluan/project
7095395486dd2b8f98eb6d1d6d2330ff24c94866
[ "MIT" ]
null
null
null
from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC class Browser_init(): # 1 解决浏览器driver问题 #无论是po层还是base都是用测试用例 def __init__(self,driver): self.driver= driver #继承: #父类有构造方法,子类没有构造方法,示例化子类对象时,自动调用父类的构造方法 ...
24.833333
86
0.669463
67
596
5.80597
0.656716
0.077121
0.107969
0.143959
0
0
0
0
0
0
0
0.008869
0.243289
596
23
87
25.913043
0.853659
0.204698
0
0
0
0
0.012931
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
397e43810c2d5f1f57b38a7acbfd697a808c9edf
188
py
Python
Mundo1/Desafio32.py
David-M-Dias/Exercicios-do-curso-de-Python
14f818243f231738e9d47d452f778fb3bace93c0
[ "MIT" ]
1
2021-01-20T13:32:58.000Z
2021-01-20T13:32:58.000Z
Mundo1/Desafio32.py
David-M-Dias/Exercicios-do-curso-de-Python
14f818243f231738e9d47d452f778fb3bace93c0
[ "MIT" ]
null
null
null
Mundo1/Desafio32.py
David-M-Dias/Exercicios-do-curso-de-Python
14f818243f231738e9d47d452f778fb3bace93c0
[ "MIT" ]
null
null
null
ano = int(input('Digite um ano: ')) if (ano%4==0 and ano%100!=0) or (ano%400==0): print('O ano de {} é Bissexto!'.format(ano)) else: print('O ano de {} NÃO é bissexto'.format(ano))
37.6
51
0.601064
36
188
3.138889
0.555556
0.106195
0.159292
0.19469
0
0
0
0
0
0
0
0.064516
0.175532
188
5
51
37.6
0.664516
0
0
0
0
0
0.338624
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
1
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
2
397e9d7b8a5198ca865ec2302382c401de3ee8ab
611
py
Python
CGI/simple-server-with-different-languages/cgi-bin/download.py
whitmans-max/python-examples
881a8f23f0eebc76816a0078e19951893f0daaaa
[ "MIT" ]
140
2017-02-21T22:49:04.000Z
2022-03-22T17:51:58.000Z
CGI/simple-server-with-different-languages/cgi-bin/download.py
whitmans-max/python-examples
881a8f23f0eebc76816a0078e19951893f0daaaa
[ "MIT" ]
5
2017-12-02T19:55:00.000Z
2021-09-22T23:18:39.000Z
CGI/simple-server-with-different-languages/cgi-bin/download.py
whitmans-max/python-examples
881a8f23f0eebc76816a0078e19951893f0daaaa
[ "MIT" ]
79
2017-01-25T10:53:33.000Z
2022-03-11T16:13:57.000Z
#!/usr/bin/env python import os import sys fullpath = 'images/normal.png' filename = 'hello_world.png' # headers print 'Content-Type: application/octet-stream; name="%s"' % filename print 'Content-Disposition: attachment; filename="%s"' % filename print "Content-Length: " + str(os.stat(fullpath).st_size) print # ...
25.458333
68
0.693944
85
611
4.964706
0.611765
0.113744
0.075829
0.099526
0.165877
0.165877
0.165877
0
0
0
0
0
0.180033
611
23
69
26.565217
0.842315
0.234043
0
0.133333
0
0
0.383948
0.101952
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.533333
0
0
0
null
0
0
0
0
0
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
1
0
2
3980bcba3c0b08f4d07a8a4f6bc8131263886629
2,069
py
Python
website/views/register.py
Aurelian-Shuttleworth/snitch
f5ee6c02bb5597b278b488436df9713b2f3da4e1
[ "MIT" ]
null
null
null
website/views/register.py
Aurelian-Shuttleworth/snitch
f5ee6c02bb5597b278b488436df9713b2f3da4e1
[ "MIT" ]
2
2021-06-28T13:16:00.000Z
2021-06-28T17:30:59.000Z
website/views/register.py
Aurelian-Shuttleworth/snitch
f5ee6c02bb5597b278b488436df9713b2f3da4e1
[ "MIT" ]
1
2021-06-28T13:17:53.000Z
2021-06-28T13:17:53.000Z
from flask import make_response, request, render_template, redirect from flask.helpers import url_for from models.session import Session from models.user import User from werkzeug.security import generate_password_hash class RegisterView: RESULT_SUCCESS = "success" RESULT_USEREXISTS = "userexists" RESULT_...
33.370968
94
0.649589
232
2,069
5.616379
0.310345
0.061397
0.085955
0.041443
0.158097
0.066002
0.066002
0
0
0
0
0.001296
0.254229
2,069
61
95
33.918033
0.843163
0.035283
0
0.042553
0
0
0.11139
0.01154
0
0
0
0.016393
0
1
0.106383
false
0.042553
0.106383
0
0.510638
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
1
0
0
2
39881124fe6ddbcf8ecc3857a33439a9fbbb0e8b
1,935
py
Python
res/005-strings.py
leialbert/keep-learning-python
7bbf2226e6e99e87661f15ea46e6149b61d9912f
[ "MIT" ]
null
null
null
res/005-strings.py
leialbert/keep-learning-python
7bbf2226e6e99e87661f15ea46e6149b61d9912f
[ "MIT" ]
null
null
null
res/005-strings.py
leialbert/keep-learning-python
7bbf2226e6e99e87661f15ea46e6149b61d9912f
[ "MIT" ]
null
null
null
my_string = 'Hello world' print(my_string) my_string = """my sting\ hello world """ print(my_string) my_string = 'hello world' char = my_string[-2] print(char) # my_string[0] = 'ZZ' substring = my_string[1:5] print(substring) substring = my_string[::2] print(substring) substring = my_string[::-1] print(substring) ...
17.276786
60
0.690956
321
1,935
3.975078
0.221184
0.269592
0.183386
0.089342
0.559561
0.413009
0.37931
0.314263
0.262539
0.201411
0
0.023752
0.151421
1,935
111
61
17.432432
0.75335
0.037209
0
0.45122
0
0
0.170705
0
0
0
0
0
0
1
0
false
0
0.012195
0
0.012195
0.390244
0
0
0
null
1
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
2
39a3eb03b893e74fa25a6f5f4b9673eff2eb45bd
453
py
Python
api/schemas/couriers_ids.py
syth0le/REST-API_YANDEX
7a693430973e4d0ae428860d17fc33504dc25fb2
[ "MIT" ]
null
null
null
api/schemas/couriers_ids.py
syth0le/REST-API_YANDEX
7a693430973e4d0ae428860d17fc33504dc25fb2
[ "MIT" ]
null
null
null
api/schemas/couriers_ids.py
syth0le/REST-API_YANDEX
7a693430973e4d0ae428860d17fc33504dc25fb2
[ "MIT" ]
null
null
null
from marshmallow_sqlalchemy import ModelSchema from api.models.couriers import * from marshmallow import fields class CouriersIds(ModelSchema): class Meta(ModelSchema.Meta): model = Couriers fields = ['id'] sqla_session = db.session id = fields.Integer(required=True) # @post_dump...
25.166667
46
0.644592
52
453
5.519231
0.576923
0.10453
0.076655
0
0
0
0
0
0
0
0
0
0.247241
453
18
47
25.166667
0.841642
0.262693
0
0
0
0
0.006079
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
39abd5ff966a14b37b8d33f1732fc36cb9478975
1,787
py
Python
password_gen.py
Tugra-Guldogan/password-generator
308226ffdc4532144578755ab3165a96e4d83649
[ "MIT" ]
1
2021-07-26T18:47:01.000Z
2021-07-26T18:47:01.000Z
password_gen.py
Tugra-Guldogan/password-generator
308226ffdc4532144578755ab3165a96e4d83649
[ "MIT" ]
null
null
null
password_gen.py
Tugra-Guldogan/password-generator
308226ffdc4532144578755ab3165a96e4d83649
[ "MIT" ]
null
null
null
import random numbers = ['1','2','3','4','5','6','7','8''9','0'] letters = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"] small = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","z"] char...
30.810345
139
0.50028
311
1,787
2.871383
0.215434
0.322508
0.148936
0.022396
0.340426
0.340426
0.31131
0.31131
0.31131
0.31131
0
0.017446
0.198097
1,787
57
140
31.350877
0.605722
0
0
0.111111
0
0
0.108562
0
0
0
0
0
0
1
0
false
0.111111
0.022222
0
0.022222
0.111111
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
1
0
0
0
0
0
2
39b28ba5805fe3ef37c36928db95b96b83ae5b20
12,719
py
Python
pysnmp-with-texts/AT-DHCPSN-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/AT-DHCPSN-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/AT-DHCPSN-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 AT-DHCPSN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AT-DHCPSN-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:29:42 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
142.910112
1,246
0.76885
1,623
12,719
6.02403
0.174368
0.009614
0.100951
0.00941
0.451979
0.337015
0.271965
0.257952
0.219904
0.172139
0
0.060336
0.100873
12,719
88
1,247
144.534091
0.794596
0.025159
0
0
0
0.0375
0.386037
0.007264
0
0
0
0
0
1
0
false
0
0.0875
0
0.0875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
39c3eeca149c4cd77fbd4531c48fce23fb12f44a
743
py
Python
Udemy/Secao2/aula05.py
rafaelgama/Curso_Python
908231de9de4a17f5aa829f2671fd88de9261eda
[ "MIT" ]
1
2020-05-07T20:21:15.000Z
2020-05-07T20:21:15.000Z
Udemy/Secao2/aula05.py
rafaelgama/Curso_Python
908231de9de4a17f5aa829f2671fd88de9261eda
[ "MIT" ]
null
null
null
Udemy/Secao2/aula05.py
rafaelgama/Curso_Python
908231de9de4a17f5aa829f2671fd88de9261eda
[ "MIT" ]
null
null
null
# Operadores Aritméticos print('Multiplicação *', 10*10) # quando usados numeros, são operadores normais. print('Mutiplicação * ', 10* 'A') # quando usados com strings, eles servem ocmo repetidores. print('Adção + ', 10+10) # quando usados numeros é feita a soma, mas quando usados strings é feita a concatenação. prin...
33.772727
115
0.689098
99
743
5.171717
0.565657
0.09375
0.046875
0.0625
0.089844
0
0
0
0
0
0
0.03928
0.177658
743
21
116
35.380952
0.798691
0.317631
0
0
0
0
0.420233
0
0
0
0
0
0
1
0
true
0
0
0
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
0
1
0
0
0
0
1
0
2
39f6d8f1a79c35e38c33272f8310f5832459166c
767
py
Python
SQL_obj_DOMINE/PFAM_SQL.py
diogo1790team/inphinity_DM
b20d75ee0485e1f406a25efcf5f2855631166c38
[ "MIT" ]
1
2019-03-11T12:59:37.000Z
2019-03-11T12:59:37.000Z
SQL_obj_DOMINE/PFAM_SQL.py
diogo1790team/inphinity_DM
b20d75ee0485e1f406a25efcf5f2855631166c38
[ "MIT" ]
21
2018-10-17T14:52:30.000Z
2019-06-03T12:43:58.000Z
SQL_obj_DOMINE/PFAM_SQL.py
diogo1790team/inphinity_DM
b20d75ee0485e1f406a25efcf5f2855631166c38
[ "MIT" ]
6
2019-02-28T07:40:14.000Z
2019-09-23T13:31:54.000Z
# -*- coding: utf-8 -*- """ Created on Tue Apr 10 13:28:58 2018 @author: Diogo """ from DAL import * class _PFAM_sql(object): """ This class manipulate the PFAM table in the database DOMINE Typically a domain is: PFXXXXX The FK are manipulated in the lasts positions of the parameters """ ...
23.242424
83
0.634941
104
767
4.528846
0.596154
0.050955
0.063694
0.080679
0
0
0
0
0
0
0
0.023508
0.279009
767
33
84
23.242424
0.82821
0.469361
0
0
0
0
0.115727
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f2cfab4196250e262385afdfb11456e8e873a3fb
983
py
Python
module1-introduction-to-sql/query.py
illicitDev/DS-Unit-3-Sprint-2-SQL-and-Databases
630d7bee2af1959b32f7be4eb633897ec0f9c9df
[ "MIT" ]
null
null
null
module1-introduction-to-sql/query.py
illicitDev/DS-Unit-3-Sprint-2-SQL-and-Databases
630d7bee2af1959b32f7be4eb633897ec0f9c9df
[ "MIT" ]
null
null
null
module1-introduction-to-sql/query.py
illicitDev/DS-Unit-3-Sprint-2-SQL-and-Databases
630d7bee2af1959b32f7be4eb633897ec0f9c9df
[ "MIT" ]
null
null
null
TOTAL_CHARACTERS = """ SELECT COUNT(name) FROM charactercreator_character; """ TOTAL_SUBCLASS = """ SELECT (SELECT COUNT(*) FROM charactercreator_cleric ) as cleric, (SELECT COUNT(*) FROM charactercreator_fighter ) AS fighter, (SELECT COUNT(*) ...
21.369565
55
0.628688
101
983
5.831683
0.29703
0.149406
0.178268
0.263158
0
0
0
0
0
0
0
0
0.277721
983
45
56
21.844444
0.829577
0
0
0.317073
0
0
0.855544
0.21058
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f2d76527eec87d4415e9e573aa9ebc62b07113ae
672
py
Python
flags/tests/test_management_commands_enable_flag.py
mdunc/django-flags
7fdb7a67da25df197f53df4bfa06c8e5175944a3
[ "CC0-1.0" ]
142
2018-07-27T15:38:13.000Z
2022-03-19T19:09:44.000Z
flags/tests/test_management_commands_enable_flag.py
mdunc/django-flags
7fdb7a67da25df197f53df4bfa06c8e5175944a3
[ "CC0-1.0" ]
64
2018-06-25T14:21:35.000Z
2022-03-14T17:42:18.000Z
flags/tests/test_management_commands_enable_flag.py
mdunc/django-flags
7fdb7a67da25df197f53df4bfa06c8e5175944a3
[ "CC0-1.0" ]
24
2018-10-09T20:05:36.000Z
2022-03-29T16:34:30.000Z
from io import StringIO from django.core.management import call_command from django.core.management.base import CommandError from django.test import TestCase from flags.state import flag_enabled class EnableFlagTestCase(TestCase): def test_enable_flag(self): out = StringIO() self.assertFalse(fla...
32
62
0.738095
85
672
5.588235
0.435294
0.084211
0.058947
0.101053
0
0
0
0
0
0
0
0
0.169643
672
20
63
33.6
0.851254
0
0
0
0
0
0.122024
0
0
0
0
0
0.266667
1
0.133333
false
0
0.333333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f2dd71f415f020c8f7ce7dac3e427ace6b4bf76f
6,763
py
Python
test/loader/test_link_neighbor_loader.py
NucciTheBoss/pytorch_geometric
e220a2c08fa1b2f1672d616c22eac2a67b5c8967
[ "MIT" ]
2,350
2021-09-12T08:32:50.000Z
2022-03-31T18:09:36.000Z
test/loader/test_link_neighbor_loader.py
NucciTheBoss/pytorch_geometric
e220a2c08fa1b2f1672d616c22eac2a67b5c8967
[ "MIT" ]
588
2021-09-12T08:49:08.000Z
2022-03-31T21:02:13.000Z
test/loader/test_link_neighbor_loader.py
NucciTheBoss/pytorch_geometric
e220a2c08fa1b2f1672d616c22eac2a67b5c8967
[ "MIT" ]
505
2021-09-13T13:13:32.000Z
2022-03-31T15:54:00.000Z
import pytest import torch from torch_geometric.data import Data, HeteroData from torch_geometric.loader import LinkNeighborLoader def get_edge_index(num_src_nodes, num_dst_nodes, num_edges): row = torch.randint(num_src_nodes, (num_edges, ), dtype=torch.long) col = torch.randint(num_dst_nodes, (num_edges, ),...
35.594737
79
0.649564
916
6,763
4.545852
0.112445
0.097262
0.09414
0.050192
0.809558
0.747839
0.678434
0.627281
0.604707
0.571806
0
0.052531
0.225935
6,763
189
80
35.783069
0.742884
0.035339
0
0.496403
0
0
0.050468
0
0
0
0
0
0.244604
1
0.043165
false
0
0.028777
0.007194
0.086331
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f2dd7616a332813eff056e52f78abb0ce59a02ae
1,264
py
Python
setup.py
explo-fees/cavelink
685f98db2f542f2b62b8b7da88a2c906f08a8ce9
[ "MIT" ]
null
null
null
setup.py
explo-fees/cavelink
685f98db2f542f2b62b8b7da88a2c906f08a8ce9
[ "MIT" ]
null
null
null
setup.py
explo-fees/cavelink
685f98db2f542f2b62b8b7da88a2c906f08a8ce9
[ "MIT" ]
null
null
null
# coding: utf-8 """ A simple module to fetch Cavelink values by parsing the HTML page of sensors. """ from setuptools import find_packages, setup with open('README.rst', 'r') as f: long_description = f.read() setup( name='cavelink', version='1.1.2', author='Sébastien Pittet', author_email='sebast...
32.410256
77
0.633703
141
1,264
5.631206
0.609929
0.167506
0.220403
0.163728
0
0
0
0
0
0
0
0.017418
0.227848
1,264
38
78
33.263158
0.796107
0.072785
0
0
0
0
0.545533
0
0
0
0
0
0
1
0
false
0
0.032258
0
0.032258
0
0
0
0
null
0
1
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
2
f2e24ce823a4e53c37a4b4ed88d507a906c58ca0
229
py
Python
socket/base/client.py
PlusLius/awesome-python
beba4b8de8d863c10e4c0c7040b47e63ca24cf3f
[ "MIT" ]
null
null
null
socket/base/client.py
PlusLius/awesome-python
beba4b8de8d863c10e4c0c7040b47e63ca24cf3f
[ "MIT" ]
null
null
null
socket/base/client.py
PlusLius/awesome-python
beba4b8de8d863c10e4c0c7040b47e63ca24cf3f
[ "MIT" ]
null
null
null
# -*-coding:utf-8-*- # 导入socket模块 import socket # 实例化客户端 s = socket.socket() # 保持和服务器的主机名端口一致 host = socket.gethostname() port = 12345 # 连接服务器 s.connect((host,port)) # 接收的数据为1024个字节 print s.recv(1024) # 接收完数据后断开连接 s.close()
11.45
27
0.694323
29
229
5.482759
0.724138
0
0
0
0
0
0
0
0
0
0
0.071795
0.148472
229
19
28
12.052632
0.74359
0.358079
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
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
1
0
0
0
0
0
0
0
0
2
f2f9a868f7dc31005789f384690840fd580d22ab
4,829
py
Python
blackjack.py
ColeNorvell/blackjack_py
b61b418b60ee40e376a031e4d6953419bd7fd0a8
[ "Unlicense" ]
null
null
null
blackjack.py
ColeNorvell/blackjack_py
b61b418b60ee40e376a031e4d6953419bd7fd0a8
[ "Unlicense" ]
null
null
null
blackjack.py
ColeNorvell/blackjack_py
b61b418b60ee40e376a031e4d6953419bd7fd0a8
[ "Unlicense" ]
null
null
null
import random import sys class Card: def __init__(self, suit, value, face, ace): self.suit = suit self.value = value self.face = face self.ace = ace class Deck: def __init__(self): # Create a List to Hold all of the Cards in our Deck self.card = [] # Fil...
43.9
85
0.617312
648
4,829
4.570988
0.118827
0.159352
0.24578
0.316003
0.723835
0.691425
0.600608
0.071911
0.071911
0.071911
0
0.023987
0.223028
4,829
109
86
44.302752
0.765458
0.075378
0
0.043956
0
0
0.103053
0
0
0
0
0
0
1
0.054945
false
0
0.021978
0
0.120879
0.043956
0
0
0
null
0
1
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
2
844654ee48a5d774c468d9507374c68f279c27f5
319
py
Python
src/sima/riflex/matrixstorage.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/matrixstorage.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/matrixstorage.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# Generated with MatrixStorage # from enum import Enum from enum import auto class MatrixStorage(Enum): """""" SKYLINE = auto() SPARSE = auto() def label(self): if self == MatrixStorage.SKYLINE: return "Skyline" if self == MatrixStorage.SPARSE: return "Sparse"
21.266667
41
0.605016
33
319
5.848485
0.454545
0.082902
0.145078
0
0
0
0
0
0
0
0
0
0.294671
319
15
42
21.266667
0.857778
0.087774
0
0
1
0
0.046099
0
0
0
0
0
0
1
0.1
false
0
0.2
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
84467d8fca79064dff4bdeadd98cfeca3e461aec
362
py
Python
wildlifecompliance/migrations/0176_merge_20190429_0959.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
1
2020-12-07T17:12:40.000Z
2020-12-07T17:12:40.000Z
wildlifecompliance/migrations/0176_merge_20190429_0959.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
14
2020-01-08T08:08:26.000Z
2021-03-19T22:59:46.000Z
wildlifecompliance/migrations/0176_merge_20190429_0959.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
15
2020-01-08T08:02:28.000Z
2021-11-03T06:48:32.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2019-04-29 01:59 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('wildlifecompliance', '0175_merge_20190427_1257'), ('wildlifecompliance', '0174_merge_2019042...
21.294118
59
0.685083
41
362
5.780488
0.804878
0
0
0
0
0
0
0
0
0
0
0.168966
0.198895
362
16
60
22.625
0.648276
0.187845
0
0
1
0
0.28866
0.164948
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
84484c618e087b473f0cda04948e5e44db6943d4
213
py
Python
genesis/utano/urls.py
EmersonAlvaro/genesis
7e4b32320c45ee48983a9869fba3bc75686a4e76
[ "MIT" ]
null
null
null
genesis/utano/urls.py
EmersonAlvaro/genesis
7e4b32320c45ee48983a9869fba3bc75686a4e76
[ "MIT" ]
null
null
null
genesis/utano/urls.py
EmersonAlvaro/genesis
7e4b32320c45ee48983a9869fba3bc75686a4e76
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.Home, name='Utano_Home'), path('output', views.output,name="script"), path('falar/', views.Falar, name='Utano_Falar'), ]
26.625
52
0.666667
28
213
5
0.464286
0.128571
0
0
0
0
0
0
0
0
0
0
0.150235
213
8
53
26.625
0.773481
0
0
0
0
0
0.182243
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
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
2
844d0ac522b943f3ec3c288ceaabe640a2f5f284
3,280
py
Python
google-api-client-generator/src/googleapis/codegen/cpp_import_manager_test.py
cclauss/discovery-artifact-manager
9eb6bcef290ef87006758349c725d440fbfc85d6
[ "Apache-2.0" ]
178
2015-03-20T13:37:14.000Z
2022-01-09T15:57:47.000Z
google-api-client-generator/src/googleapis/codegen/cpp_import_manager_test.py
cclauss/discovery-artifact-manager
9eb6bcef290ef87006758349c725d440fbfc85d6
[ "Apache-2.0" ]
183
2017-03-23T17:17:24.000Z
2022-02-09T00:07:17.000Z
google-api-client-generator/src/googleapis/codegen/cpp_import_manager_test.py
cclauss/discovery-artifact-manager
9eb6bcef290ef87006758349c725d440fbfc85d6
[ "Apache-2.0" ]
51
2015-03-23T20:32:40.000Z
2021-08-04T15:42:57.000Z
#!/usr/bin/python2.7 # Copyright 2011 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
36.853933
77
0.74878
415
3,280
5.650602
0.368675
0.083156
0.086994
0.058849
0.235394
0.092111
0
0
0
0
0
0.003667
0.168598
3,280
88
78
37.272727
0.856252
0.307317
0
0.043478
0
0
0.044643
0.019643
0
0
0
0
0.23913
1
0.108696
false
0
0.695652
0.021739
0.869565
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
1
0
0
2
8463b81df100d1ff5a3543a9f34c515d6438f9ac
4,268
py
Python
teleband/assignments/migrations/0001_initial.py
JMU-CIME/CPR-Music-Backend
b72b70ed8826595c96c028595181293edcf1e368
[ "MIT" ]
2
2022-01-08T20:21:43.000Z
2022-03-18T03:31:30.000Z
teleband/assignments/migrations/0001_initial.py
JMU-CIME/CPR-Music-Backend
b72b70ed8826595c96c028595181293edcf1e368
[ "MIT" ]
16
2022-01-08T02:12:54.000Z
2022-03-02T03:02:59.000Z
teleband/assignments/migrations/0001_initial.py
JMU-CIME/CPR-Music-Backend
b72b70ed8826595c96c028595181293edcf1e368
[ "MIT" ]
2
2022-01-08T00:21:37.000Z
2022-01-18T05:33:15.000Z
# Generated by Django 3.2.11 on 2022-01-07 02:15 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), ("mus...
31.382353
72
0.39925
272
4,268
6.121324
0.286765
0.066066
0.058859
0.092492
0.505105
0.505105
0.458258
0.458258
0.458258
0.458258
0
0.014252
0.506795
4,268
135
73
31.614815
0.776722
0.010778
0
0.617188
1
0
0.11327
0.023223
0
0
0
0
0
1
0
false
0
0.023438
0
0.054688
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8466564c8192cf1285921f2336cb711d6519e870
66,023
py
Python
basin3d/plugins/usgs_huc_codes.py
heycatwonton/basin3d
980a52fa8d6c073cd6704950cfd4168c7f4b0f61
[ "BSD-3-Clause-LBNL" ]
4
2021-04-21T17:34:42.000Z
2021-12-16T09:02:59.000Z
basin3d/plugins/usgs_huc_codes.py
heycatwonton/basin3d
980a52fa8d6c073cd6704950cfd4168c7f4b0f61
[ "BSD-3-Clause-LBNL" ]
92
2020-12-10T03:48:11.000Z
2022-03-24T15:12:22.000Z
basin3d/plugins/usgs_huc_codes.py
heycatwonton/basin3d
980a52fa8d6c073cd6704950cfd4168c7f4b0f61
[ "BSD-3-Clause-LBNL" ]
5
2021-03-23T16:30:53.000Z
2021-12-19T14:28:03.000Z
CONTENT = """huc basin <!--10n 60s--> 01 New England 0101 St. John 010100 St. John 01010001 Upper St. John 01010002 Allagash 01010003 Fish 01010004 Aroostook 01010005 Meduxnekeag 0102 Penobscot 010200 Penobscot 01020001 West Branch Penobscot 01020002 East Branch Penobscot 01020003 Mattawamkeag 01020004 Piscataquis 0102...
22.758704
71
0.862563
8,869
66,023
6.421017
0.519788
0.005847
0.001141
0.000948
0.001106
0
0
0
0
0
0
0.370369
0.127138
66,023
2,901
72
22.758704
0.617814
0
0
0
0
0
0.999743
0.010208
0
0
0
0
0
1
0
false
0.000689
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ffcb3d4ae93d16e64ee84a0ee759e7d7e0280fea
408
py
Python
CombatEncounterInterface.py
justinbeetle/pyDragonWarrior
cfaf57161ab4950da537de9937d688bc7d24bf4a
[ "MIT" ]
3
2021-04-07T14:43:20.000Z
2021-04-17T21:26:08.000Z
CombatEncounterInterface.py
justinbeetle/pyDragonWarrior
cfaf57161ab4950da537de9937d688bc7d24bf4a
[ "MIT" ]
1
2022-01-02T15:52:23.000Z
2022-01-12T01:51:50.000Z
CombatEncounterInterface.py
justinbeetle/pyDragonWarrior
cfaf57161ab4950da537de9937d688bc7d24bf4a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Imports to support type annotations from typing import List import abc from CombatCharacterState import CombatCharacterState class CombatEncounterInterface(metaclass=abc.ABCMeta): @abc.abstractmethod def render_monsters(self) -> None: pass @abc.abstractmethod def re...
21.473684
84
0.752451
45
408
6.733333
0.622222
0.112211
0.132013
0.171617
0
0
0
0
0
0
0
0
0.176471
408
18
85
22.666667
0.901786
0.137255
0
0.4
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.3
0
0.6
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
1
0
0
0
0
0
2
ffe18410ff740e87c6a649239a15ef7f4f7382d4
113
py
Python
examples/_attic/twitter/__init__.py
hiway/python-zentropi
006f4a6de8b6691477fa1416476cd6cef665c918
[ "Apache-2.0" ]
5
2017-05-28T18:15:38.000Z
2021-07-15T22:31:33.000Z
examples/_attic/twitter/__init__.py
hiway/python-zentropi
006f4a6de8b6691477fa1416476cd6cef665c918
[ "Apache-2.0" ]
null
null
null
examples/_attic/twitter/__init__.py
hiway/python-zentropi
006f4a6de8b6691477fa1416476cd6cef665c918
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 from .twitter_agent import TwitterAgent __all__ = [ 'TwitterAgent', ]
12.555556
39
0.699115
14
113
5.285714
0.928571
0
0
0
0
0
0
0
0
0
0
0.010638
0.168142
113
8
40
14.125
0.776596
0.292035
0
0
0
0
0.153846
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
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
2
ffe71881ab77af602c49de6772155a57933140e1
6,298
py
Python
src/pyphoplacecellanalysis/PhoPositionalData/import_data.py
CommanderPho/pyPhoPlaceCellAnalysis
6e6a5cd9c0f2abbe6a367d4c87299fcd01c750a6
[ "MIT" ]
null
null
null
src/pyphoplacecellanalysis/PhoPositionalData/import_data.py
CommanderPho/pyPhoPlaceCellAnalysis
6e6a5cd9c0f2abbe6a367d4c87299fcd01c750a6
[ "MIT" ]
null
null
null
src/pyphoplacecellanalysis/PhoPositionalData/import_data.py
CommanderPho/pyPhoPlaceCellAnalysis
6e6a5cd9c0f2abbe6a367d4c87299fcd01c750a6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Oct 9 12:33:48 2021 @author: Pho """ import numpy as np import pandas as pd from pathlib import Path from pyphoplacecellanalysis.PhoPositionalData.load_exported import import_mat_file # from pyphoplacecellanalysis.PhoPositionalData.process_data import process_positionalAna...
49.984127
207
0.753255
867
6,298
5.113033
0.217993
0.058877
0.055718
0.04286
0.462215
0.409204
0.371306
0.289646
0.274758
0.151139
0
0.011215
0.136393
6,298
126
208
49.984127
0.80364
0.405049
0
0.042553
0
0
0.146601
0.029757
0
0
0
0
0
1
0.106383
false
0
0.361702
0
0.574468
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fffe74bcc00528c03dc923eac04425b4c24c614c
586
py
Python
extra_tests/test_recursion.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
1
2021-06-02T23:02:09.000Z
2021-06-02T23:02:09.000Z
extra_tests/test_recursion.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
1
2021-03-30T18:08:41.000Z
2021-03-30T18:08:41.000Z
extra_tests/test_recursion.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
1
2022-03-30T11:42:37.000Z
2022-03-30T11:42:37.000Z
import sys def f(): try: return f() except RuntimeError: return sys.exc_info() def do_check(): f() assert sys.exc_info() == (None, None, None) def recurse(n): if n > 0: return recurse(n-1) else: return do_check() def test_recursion(): """ Test that sy...
20.206897
79
0.616041
83
586
4.277108
0.626506
0.050704
0.084507
0
0
0
0
0
0
0
0
0.009547
0.284983
586
28
80
20.928571
0.837709
0.372014
0
0
0
0
0
0
0
0
0
0
0.058824
1
0.235294
false
0
0.058824
0
0.529412
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
1
0
0
2
ffff60238d237f20a52c03e47dbd8b823a44bfb2
1,169
py
Python
export_to_excel.py
salehjg/system_resource_logger
8f4725b6ee57167939b988126a5fe0d1157622ac
[ "MIT" ]
null
null
null
export_to_excel.py
salehjg/system_resource_logger
8f4725b6ee57167939b988126a5fe0d1157622ac
[ "MIT" ]
null
null
null
export_to_excel.py
salehjg/system_resource_logger
8f4725b6ee57167939b988126a5fe0d1157622ac
[ "MIT" ]
null
null
null
import xlwt import numpy as np from tqdm import tqdm from mine_logged_data import generate_cpu_core_used def convert2excel(): saved_log = np.load('data.npy') core_usage_cnt = generate_cpu_core_used(saved_log, 10.0) print 'shape: ', saved_log.shape wb = xlwt.Workbook() ws = wb.add_sheet('logged dat...
24.87234
62
0.585971
207
1,169
3.140097
0.256039
0.172308
0.086154
0.096923
0.135385
0
0
0
0
0
0
0.052095
0.244654
1,169
46
63
25.413043
0.684032
0
0
0
1
0
0.08982
0
0
0
0
0
0
0
null
null
0
0.129032
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
0808d64f798e984f7a20af17c7a9684fb93ce278
129
py
Python
exdir/__init__.py
robertjoosten/exdir
340e648782b48b4313e4b6dcf6f35b856d2d0663
[ "MIT" ]
null
null
null
exdir/__init__.py
robertjoosten/exdir
340e648782b48b4313e4b6dcf6f35b856d2d0663
[ "MIT" ]
null
null
null
exdir/__init__.py
robertjoosten/exdir
340e648782b48b4313e4b6dcf6f35b856d2d0663
[ "MIT" ]
null
null
null
from exdir.directory import File __author__ = "Robert Joosten" __author_email__ = "rwm.joosten@gmail.com" __version__ = "1.0.0"
21.5
42
0.767442
18
129
4.777778
0.833333
0
0
0
0
0
0
0
0
0
0
0.026316
0.116279
129
5
43
25.8
0.72807
0
0
0
0
0
0.310078
0.162791
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
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
2
080eb5d01122d27bc837d22db5f5e67a7b506146
552
py
Python
service/src/resources/__init__.py
xuqiongkai/ALTER
a9ec98c0ed576a68f14711eeff6f1c7d2d34c6f7
[ "MIT" ]
8
2019-09-18T01:14:07.000Z
2022-02-05T03:43:24.000Z
service/src/resources/__init__.py
xuqiongkai/ALTER
a9ec98c0ed576a68f14711eeff6f1c7d2d34c6f7
[ "MIT" ]
4
2019-11-15T03:09:52.000Z
2022-03-24T15:01:55.000Z
service/src/resources/__init__.py
xuqiongkai/ALTER
a9ec98c0ed576a68f14711eeff6f1c7d2d34c6f7
[ "MIT" ]
4
2019-09-17T22:17:30.000Z
2022-02-05T03:43:28.000Z
# from .user import UserResource # from .user import UserRegistrationResource # from .user import UserLoginResource # from .task import TaskResource # from .job import JobResource from .user import * from .task import * from .job import * from .sentence import SentenceClassResource from .sentence import SentenceLmReso...
32.470588
53
0.838768
57
552
8.122807
0.350877
0.069114
0.12095
0
0
0
0
0
0
0
0
0
0.119565
552
16
54
34.5
0.952675
0.306159
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
08321ea00a20e2ff88bb3bf0b921e01618f2ccc0
385
py
Python
constants.py
finbourne/commissions-booking-script
818364e0becc7153d6f580bfe74b6608d7dce965
[ "MIT" ]
null
null
null
constants.py
finbourne/commissions-booking-script
818364e0becc7153d6f580bfe74b6608d7dce965
[ "MIT" ]
null
null
null
constants.py
finbourne/commissions-booking-script
818364e0becc7153d6f580bfe74b6608d7dce965
[ "MIT" ]
null
null
null
LINKING_PROPERTY = "Transaction/generated/LinkedTransactionId" INPUT_TXN_FILTER = "type in 'Buy','Purchase','Sell','FwdFxSell', 'FwdFxBuy','FxBuy','FxSell','StockIn'" ENTITY_PROPERTY = "Portfolio/test/Entity" BROKER_PROPERTY = "Portfolio/test/Broker" COUNTRY_PROPERTY = "Instrument/test/Country" PROPERTIES_REQUIRED = [...
35
103
0.771429
41
385
7
0.634146
0.097561
0.146341
0
0
0
0
0
0
0
0
0
0.096104
385
11
104
35
0.824713
0
0
0
1
0
0.487047
0.463731
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0843530074db0ac7e9033898bcf088bd5f2ce3f3
829
py
Python
1694-reformat-phone-number/1694-reformat-phone-number.py
marzy-bn/Leetcode_2022
07d6b9050279e82f610ed4a54209b33db3e3f8f9
[ "MIT" ]
null
null
null
1694-reformat-phone-number/1694-reformat-phone-number.py
marzy-bn/Leetcode_2022
07d6b9050279e82f610ed4a54209b33db3e3f8f9
[ "MIT" ]
null
null
null
1694-reformat-phone-number/1694-reformat-phone-number.py
marzy-bn/Leetcode_2022
07d6b9050279e82f610ed4a54209b33db3e3f8f9
[ "MIT" ]
null
null
null
class Solution: def reformatNumber(self, number: str) -> str: number = number.replace(' ','') number = number.replace('-','') output = '' count = len(number) remain = count % 3 print(remain) if remain == 0: last = number[len(numbe...
27.633333
85
0.428227
87
829
4.08046
0.310345
0.228169
0.169014
0.160563
0.157746
0.157746
0.157746
0
0
0
0
0.033827
0.429433
829
30
86
27.633333
0.716702
0
0
0
0
0
0.004819
0
0
0
0
0
0
1
0.041667
false
0
0
0
0.125
0.041667
0
0
0
null
1
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
2
084c752ab0d76e6654e5a40aa897c33d7dc5723a
1,499
py
Python
data_for_keras.py
ivanyu/kaggle-digit-recognizer
4eec8be465ece821c29f88f167bb5fa7cb3b2f42
[ "MIT" ]
1
2021-01-28T19:14:22.000Z
2021-01-28T19:14:22.000Z
data_for_keras.py
ivanyu/kaggle-digit-recognizer
4eec8be465ece821c29f88f167bb5fa7cb3b2f42
[ "MIT" ]
null
null
null
data_for_keras.py
ivanyu/kaggle-digit-recognizer
4eec8be465ece821c29f88f167bb5fa7cb3b2f42
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import os import numpy as np import scipy import scipy.misc import meta from meta import keras_data_filename from classify_base import load_data if not os.path.exists(meta.KERAS_DATA_DIR): os.mkdir(meta.KERAS_DATA_DIR) if not os...
34.068182
75
0.668446
250
1,499
3.808
0.272
0.132353
0.214286
0.057773
0.506303
0.380252
0.296218
0.296218
0.22479
0
0
0.016471
0.149433
1,499
43
76
34.860465
0.730196
0.593729
0
0
0
0
0.068027
0.040816
0
0
0
0
0
1
0
false
0
0.470588
0
0.470588
0.058824
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
1
0
0
0
0
2
f23b08c3090f1548a85589ab577b11d71d764906
684
py
Python
Desafio34yt.py
gsvleao/knowledge_hub.py
2f5d9e4fc0760ef7a96dc2619b3b0efdd17cd1a9
[ "MIT" ]
null
null
null
Desafio34yt.py
gsvleao/knowledge_hub.py
2f5d9e4fc0760ef7a96dc2619b3b0efdd17cd1a9
[ "MIT" ]
null
null
null
Desafio34yt.py
gsvleao/knowledge_hub.py
2f5d9e4fc0760ef7a96dc2619b3b0efdd17cd1a9
[ "MIT" ]
null
null
null
""" Exercício Python 034: Escreva um programa que pergunte o salário de um funcionário e calcule o valor do seu aumento. Para salários superiores a R$1.250,00, calcule um aumento de 10%. Para os inferiores ou iguais, o aumento é de 15%. """ print('=-' * 10, 'Desafio 34', '-=' * 10) salario = float(input('Qual o atual ...
48.857143
153
0.685673
111
684
4.225225
0.459459
0.119403
0.046908
0.089552
0.405117
0.405117
0.277186
0.277186
0.277186
0.277186
0
0.072566
0.173977
684
14
154
48.857143
0.757522
0.339181
0
0
0
0.333333
0.532584
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
f23ce845cc3c04db71ea2bb20827304ee46f2bcf
285
py
Python
CursoEmVideo/Aula17/ex083.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
CursoEmVideo/Aula17/ex083.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
CursoEmVideo/Aula17/ex083.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
print('=' * 30) print('{:^30}'.format('Expressão')) print('=' * 30) print('') e = str(input("Digite sua expressão: ")).strip() p1 = e.count("(") p2 = e.count(")") if p1 == p2: print("Sua expressão está correta !") else: print("Sua expressão está incorreta !")
19
49
0.550877
36
285
4.361111
0.5
0.133758
0.152866
0.267516
0
0
0
0
0
0
0
0.044444
0.210526
285
14
50
20.357143
0.653333
0
0
0.181818
0
0
0.365314
0
0
0
0
0
0
1
0
false
0
0
0
0
0.545455
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
1
0
2
f2497c58c99048fdb8faaf23cbe965d4822c4066
700
py
Python
tests/io/v3/vm/agents/test_agents_schema.py
alpesh-te/pyTenable
4b5381a7757561f7ac1e79c2e2679356dd533540
[ "MIT" ]
null
null
null
tests/io/v3/vm/agents/test_agents_schema.py
alpesh-te/pyTenable
4b5381a7757561f7ac1e79c2e2679356dd533540
[ "MIT" ]
25
2021-11-16T18:41:36.000Z
2022-03-25T05:43:31.000Z
tests/io/v3/vm/agents/test_agents_schema.py
alpesh-te/pyTenable
4b5381a7757561f7ac1e79c2e2679356dd533540
[ "MIT" ]
2
2022-03-02T12:24:40.000Z
2022-03-29T05:12:04.000Z
''' Testing the Agents schemas ''' from tenable.io.v3.vm.agents.schema import AgentSchema def test_agent_groups_schema_with_name(): ''' Test the agents schema with name ''' payload = { 'items': [ '57b74c0a-5d95-11ec-bf63-0242ac130002', '57b74e58-5d95-11ec-bf63-0242ac130...
25.925926
57
0.598571
73
700
5.643836
0.438356
0.116505
0.174757
0.349515
0.490291
0.490291
0.490291
0.490291
0.490291
0.490291
0
0.268102
0.27
700
26
58
26.923077
0.53816
0.084286
0
0.444444
0
0
0.373786
0.349515
0
0
0
0
0.055556
1
0.055556
false
0
0.055556
0
0.111111
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f24d5c71764e9b6114ea1aafb04624db36b3eeb7
2,041
py
Python
extlinks/organisations/migrations/0001_initial.py
suecarmol/externallinks
388771924f0e0173237393226cb7549a02ae40e3
[ "MIT" ]
6
2019-12-05T13:14:45.000Z
2022-03-13T18:22:00.000Z
extlinks/organisations/migrations/0001_initial.py
WikipediaLibrary/externallinks
6519719a8b01ab121bf77c465c587af3762e99af
[ "MIT" ]
97
2019-07-01T14:42:51.000Z
2022-03-29T04:09:34.000Z
extlinks/organisations/migrations/0001_initial.py
suecarmol/externallinks
388771924f0e0173237393226cb7549a02ae40e3
[ "MIT" ]
8
2019-12-03T01:52:41.000Z
2020-08-19T00:26:46.000Z
# Generated by Django 2.2 on 2019-05-20 14:01 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ("programs", "0001_initial"), ] operations = [ migrations.CreateModel( name="Or...
30.462687
78
0.398334
141
2,041
5.638298
0.41844
0.040252
0.05283
0.083019
0.392453
0.392453
0.392453
0.392453
0.392453
0.392453
0
0.021825
0.506124
2,041
66
79
30.924242
0.766865
0.021068
0
0.610169
1
0
0.081162
0.013026
0
0
0
0
0
1
0
false
0
0.033898
0
0.101695
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f24fcfba8c330084273c2c4d98a7ad885f703ede
682
py
Python
courses/migrations/0010_auto_20190717_0658.py
Isaacli0520/msnmatch
228c6d546e16bd54dc8c7e0803f0f8c408cb0219
[ "MIT" ]
null
null
null
courses/migrations/0010_auto_20190717_0658.py
Isaacli0520/msnmatch
228c6d546e16bd54dc8c7e0803f0f8c408cb0219
[ "MIT" ]
18
2020-03-11T18:57:27.000Z
2022-02-26T11:14:38.000Z
courses/migrations/0010_auto_20190717_0658.py
Isaacli0520/msnmatch
228c6d546e16bd54dc8c7e0803f0f8c408cb0219
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-07-17 10:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0009_course_type'), ] operations = [ migrations.RemoveField( model_name='instructor', name='name', ...
24.357143
67
0.565982
67
682
5.626866
0.58209
0.071618
0.151194
0.183024
0.466844
0.466844
0.249337
0.249337
0.249337
0
0
0.053419
0.313783
682
27
68
25.259259
0.752137
0.065982
0
0.47619
1
0
0.132283
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.190476
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f259f06549c6c1c82ab7656b19015d14cf07ab1d
1,139
py
Python
member/backends.py
sillygod/django-as-pure-api-server
40f9993b4e2eff99d3a55e21ad4f4ac1f0daff95
[ "MIT" ]
1
2020-02-19T09:03:01.000Z
2020-02-19T09:03:01.000Z
member/backends.py
sillygod/django-as-pure-api-server
40f9993b4e2eff99d3a55e21ad4f4ac1f0daff95
[ "MIT" ]
23
2017-07-15T08:06:21.000Z
2022-03-11T23:26:00.000Z
member/backends.py
sillygod/django-as-pure-api-server
40f9993b4e2eff99d3a55e21ad4f4ac1f0daff95
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.contrib.auth.backends import ModelBackend from member.models import SocialUserData User = get_user_model() class Backend(ModelBackend): def get_user(self, user_id): try: return User.objects.get(pk=user_id) except User.DoesNotE...
27.119048
76
0.639157
120
1,139
5.983333
0.35
0.029248
0.091922
0.058496
0.089136
0
0
0
0
0
0
0
0.281826
1,139
41
77
27.780488
0.877751
0.077261
0
0.307692
0
0
0
0
0
0
0
0
0
1
0.115385
false
0.115385
0.115385
0
0.576923
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
1
0
0
2
f27366ba3befc5342ad0525cddd291928c83a199
1,724
py
Python
models/subnet.py
gnydick/qairon
e67af1f88ac6c614ae33adc4f42ab2ec3cc5b257
[ "MIT" ]
null
null
null
models/subnet.py
gnydick/qairon
e67af1f88ac6c614ae33adc4f42ab2ec3cc5b257
[ "MIT" ]
null
null
null
models/subnet.py
gnydick/qairon
e67af1f88ac6c614ae33adc4f42ab2ec3cc5b257
[ "MIT" ]
null
null
null
import sqlalchemy from sqlalchemy import * from sqlalchemy.dialects.postgresql import CIDR from sqlalchemy.orm import relationship, Session from models import Network from db import db import ipaddress as ip class Subnet(db.Model): __tablename__ = "subnet" id = Column(String, primary_key=True) network_id...
28.262295
105
0.725638
217
1,724
5.529954
0.391705
0.04
0.046667
0.033333
0.048333
0.048333
0
0
0
0
0
0.002099
0.171114
1,724
60
106
28.733333
0.837649
0.027842
0
0.1
0
0
0.05675
0
0
0
0
0.016667
0
1
0.15
false
0
0.175
0.05
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
1
0
0
0
0
0
0
0
1
0
0
2
f27f33f7e2d2c8e984137e0bb0537f02bdd111ef
1,026
py
Python
eggs/SPARQLWrapper-1.6.4-py2.7.egg/SPARQLWrapper/SPARQLUtils.py
salayhin/talkofacta
8b5a14245dd467bb1fda75423074c4840bd69fb7
[ "MIT" ]
null
null
null
eggs/SPARQLWrapper-1.6.4-py2.7.egg/SPARQLWrapper/SPARQLUtils.py
salayhin/talkofacta
8b5a14245dd467bb1fda75423074c4840bd69fb7
[ "MIT" ]
null
null
null
eggs/SPARQLWrapper-1.6.4-py2.7.egg/SPARQLWrapper/SPARQLUtils.py
salayhin/talkofacta
8b5a14245dd467bb1fda75423074c4840bd69fb7
[ "MIT" ]
null
null
null
# -*- coding: utf8 -*- """ SPARQL Wrapper Utils @authors: U{Ivan Herman<http://www.ivan-herman.net>}, U{Sergio Fernández<http://www.wikier.org>}, U{Carlos Tejo Alonso<http://www.dayures.net>} @organization: U{World Wide Web Consortium<http://www.w3.org>} and U{Foundation CTIC<http://www.fundacionctic.org/>}. @licens...
34.2
143
0.691033
137
1,026
4.970803
0.620438
0.061674
0.026432
0.035242
0
0
0
0
0
0
0
0.012896
0.168616
1,026
29
144
35.37931
0.785463
0.587719
0
0
0
0
0.084011
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f28388b710b94642874df0ff47f2f4d1dc880ca1
1,154
py
Python
minilib/Servo.py
atikul99/minibot
7d15f1f39b36c14440ba13388e5657a210780201
[ "MIT" ]
1
2019-11-16T01:47:26.000Z
2019-11-16T01:47:26.000Z
minilib/Servo.py
a-abir/minibot
7d15f1f39b36c14440ba13388e5657a210780201
[ "MIT" ]
null
null
null
minilib/Servo.py
a-abir/minibot
7d15f1f39b36c14440ba13388e5657a210780201
[ "MIT" ]
null
null
null
from adafruit_crickit import crickit class Servo: Servos = [crickit.servo_1, crickit.servo_2, crickit.servo_3, crickit.servo_4] def __init__(self, ID): ''' Initialize a Servo :param ID: ID of the Servo [0,1,2,3] :type ID: int ''' self.servo = self....
25.644444
79
0.581456
142
1,154
4.577465
0.246479
0.038462
0.135385
0.092308
0.246154
0.246154
0.187692
0.187692
0.095385
0.095385
0
0.023196
0.327556
1,154
44
80
26.227273
0.814433
0.309359
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f2862de34482807061d1b8deb14718c443de37b3
703
py
Python
Rota_System/StandardTimes.py
ergoregion/Rota-Program
44dab4cb11add184619d88aa0fcab61532d128e6
[ "MIT" ]
null
null
null
Rota_System/StandardTimes.py
ergoregion/Rota-Program
44dab4cb11add184619d88aa0fcab61532d128e6
[ "MIT" ]
null
null
null
Rota_System/StandardTimes.py
ergoregion/Rota-Program
44dab4cb11add184619d88aa0fcab61532d128e6
[ "MIT" ]
null
null
null
__author__ = 'Neil Butcher' from datetime import time, date, datetime StandardEventTimes = [] StandardEventTimes.append(('noon', time(12, 00, 00))) StandardEventTimes.append(('midnight', time(00, 00, 00))) def time_string(a_time): for seTime in StandardEventTimes: if a_time == seTime[1]: re...
24.241379
60
0.655761
98
703
4.520408
0.326531
0.079007
0.049661
0.130926
0.14447
0.14447
0
0
0
0
0
0.028219
0.193457
703
29
60
24.241379
0.753086
0
0
0.105263
0
0
0.073864
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0.105263
0.578947
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
1
0
0
0
2
f2939742cefed71107c248d2bad7a561188a2e30
226
py
Python
Interfaces/__init__.py
StefanoFrazzetto/CrimeDetector
a5d39a3b44e8732502b9f6b41d44c8244940ebe6
[ "Apache-2.0" ]
2
2019-04-10T12:13:34.000Z
2020-10-02T05:23:58.000Z
Interfaces/__init__.py
StefanoFrazzetto/CrimeDetector
a5d39a3b44e8732502b9f6b41d44c8244940ebe6
[ "Apache-2.0" ]
null
null
null
Interfaces/__init__.py
StefanoFrazzetto/CrimeDetector
a5d39a3b44e8732502b9f6b41d44c8244940ebe6
[ "Apache-2.0" ]
null
null
null
from .Factorizable import Factorizable from .Serializable import Serializable from .Analyzable import AnalyzableLabel, Analyzable __all__ = [ 'Analyzable', 'AnalyzableLabel', 'Factorizable', 'Serializable', ]
20.545455
51
0.747788
18
226
9.166667
0.388889
0
0
0
0
0
0
0
0
0
0
0
0.168142
226
10
52
22.6
0.87766
0
0
0
0
0
0.216814
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f2a7a473271488448e36adba1dacc137789a8198
1,625
py
Python
legal_advice_builder/urls.py
prototypefund/django-legal-advice-builder
081987d803f9ab38f8ac8dfc327f711dd48f0759
[ "MIT" ]
4
2021-07-22T10:16:49.000Z
2022-01-27T16:41:55.000Z
legal_advice_builder/urls.py
prototypefund/django-legal-advice-builder
081987d803f9ab38f8ac8dfc327f711dd48f0759
[ "MIT" ]
10
2021-08-29T11:37:17.000Z
2022-03-22T18:20:21.000Z
legal_advice_builder/urls.py
prototypefund/django-legal-advice-builder
081987d803f9ab38f8ac8dfc327f711dd48f0759
[ "MIT" ]
1
2022-02-14T09:41:34.000Z
2022-02-14T09:41:34.000Z
from django.urls import path from .admin_views import DocumentCreateView from .admin_views import DocumentFormView from .admin_views import DocumentPreviewView from .admin_views import LawCaseDelete from .admin_views import LawCaseEdit from .admin_views import LawCaseList from .admin_views import LawCasePreview from ....
52.419355
103
0.757538
199
1,625
6.050251
0.20603
0.089701
0.139535
0.199336
0.056478
0
0
0
0
0
0
0
0.089231
1,625
30
104
54.166667
0.813514
0
0
0
0
0
0.28
0.122462
0
0
0
0
0
1
0
false
0
0.464286
0
0.464286
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
1
0
0
0
0
2
f2aa5a0a63f130bdfaedececa186d22d3490c5da
2,693
py
Python
recipe_blog/users/tests/test_models.py
hossshakiba/recipe-blog-api
755e4b4f10aa7b1918b260a5823900fb41bfff1b
[ "MIT" ]
2
2021-07-07T21:20:48.000Z
2021-08-17T04:36:41.000Z
recipe_blog/users/tests/test_models.py
hossshakiba/recipe-blog-api
755e4b4f10aa7b1918b260a5823900fb41bfff1b
[ "MIT" ]
null
null
null
recipe_blog/users/tests/test_models.py
hossshakiba/recipe-blog-api
755e4b4f10aa7b1918b260a5823900fb41bfff1b
[ "MIT" ]
null
null
null
from datetime import timedelta from django.test import TestCase from django.contrib.auth import get_user_model class ModelTest(TestCase): def test_create_user(self): """Test create user""" User = get_user_model() username = 'testuser' email = 'user@test.com' password = 'pa...
39.602941
100
0.6684
316
2,693
5.515823
0.177215
0.100975
0.082616
0.068847
0.70568
0.699943
0.629948
0.629948
0.604131
0.604131
0
0.000479
0.225399
2,693
67
101
40.19403
0.835091
0.150761
0
0.64
0
0
0.074845
0
0
0
0
0
0.3
1
0.1
false
0.24
0.06
0
0.18
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
1
0
0
0
0
0
2
f2ab5de122c16eb0e77960a633d21d6aa9037fa6
721
py
Python
test.py
threefoldtech/JumpscaleX
5fb073a82aeb0e66fc7d9660c45a1e31bc094bfa
[ "Apache-2.0" ]
2
2019-05-09T07:21:25.000Z
2019-08-05T06:37:53.000Z
test.py
threefoldtech/JumpscaleX
5fb073a82aeb0e66fc7d9660c45a1e31bc094bfa
[ "Apache-2.0" ]
664
2018-12-19T12:43:44.000Z
2019-08-23T04:24:42.000Z
test.py
threefoldtech/jumpscale10
5fb073a82aeb0e66fc7d9660c45a1e31bc094bfa
[ "Apache-2.0" ]
7
2019-05-03T07:14:37.000Z
2019-08-05T12:36:52.000Z
from Jumpscale import j import traceback import sys def schema(): j.data.schema.test() j.data.types.test() def bcdb(): j.tools.tmux.kill() assert len(j.tools.tmux.server.sessions) == 1 # j.servers.zdb.test(build=True) # j.clients.zdb.test() j.data.bcdb.test() def servers(): j.tools...
19.486486
132
0.653259
106
721
4.443396
0.556604
0.031847
0.063694
0.059448
0
0
0
0
0
0
0
0.00173
0.198336
721
36
133
20.027778
0.813149
0.320388
0
0.111111
0
0
0
0
0
0
0
0
0.055556
1
0.222222
true
0
0.166667
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
2
f2b5468b75dfceddb72ec8353c572bbe7513894a
158
py
Python
aiocloudflare/api/user/load_balancers/preview/preview.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
2
2021-09-14T13:20:55.000Z
2022-02-24T14:18:24.000Z
aiocloudflare/api/user/load_balancers/preview/preview.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
46
2021-09-08T08:39:45.000Z
2022-03-29T12:31:05.000Z
aiocloudflare/api/user/load_balancers/preview/preview.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
1
2021-12-30T23:02:23.000Z
2021-12-30T23:02:23.000Z
from aiocloudflare.commons.auth import Auth class Preview(Auth): _endpoint1 = "user/load_balancers/preview" _endpoint2 = None _endpoint3 = None
19.75
46
0.740506
18
158
6.277778
0.777778
0
0
0
0
0
0
0
0
0
0
0.023256
0.183544
158
7
47
22.571429
0.852713
0
0
0
0
0
0.170886
0.170886
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
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
2
f2bb007d73bc265357ffff25a387b8f6f687524c
234
py
Python
utils/security/lookup.py
pressol/utils
9ee8789321042a2c674c5483a44032c13d392c64
[ "MIT" ]
null
null
null
utils/security/lookup.py
pressol/utils
9ee8789321042a2c674c5483a44032c13d392c64
[ "MIT" ]
3
2021-04-20T23:06:51.000Z
2022-01-19T20:17:41.000Z
utils/security/lookup.py
pressol/utils
9ee8789321042a2c674c5483a44032c13d392c64
[ "MIT" ]
1
2022-01-19T20:17:20.000Z
2022-01-19T20:17:20.000Z
def inlookuptable(value: str, lookuptable: str): with open(lookuptable, "r") as lookuptablestream: for table in lookuptablestream: if table.strip("\n") == value: return True return False
23.4
53
0.611111
25
234
5.72
0.76
0
0
0
0
0
0
0
0
0
0
0
0.294872
234
9
54
26
0.866667
0
0
0
0
0
0.012987
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
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
2
f2c59b13f76e051d9e60af0c1bee23d35c0c4f25
288
py
Python
stock/serializers.py
mrivadeneira/fullapp_project
8d91793262b351d99fd8db2cb187650aa90dddb5
[ "Unlicense" ]
null
null
null
stock/serializers.py
mrivadeneira/fullapp_project
8d91793262b351d99fd8db2cb187650aa90dddb5
[ "Unlicense" ]
null
null
null
stock/serializers.py
mrivadeneira/fullapp_project
8d91793262b351d99fd8db2cb187650aa90dddb5
[ "Unlicense" ]
null
null
null
from rest_framework import serializers from .models import Stock class StockSerializer(serializers.ModelSerializer): class Meta: model = Stock fields = ('pk', 'sku', 'category', 'stock_type', 'color', 'size', 'movement', 'movement_date', 'movement_registration')
26.181818
127
0.697917
30
288
6.566667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.177083
288
10
128
28.8
0.831224
0
0
0
0
0
0.258741
0.073427
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4b81c5470c931cdb6f215b44f2d45522ded37b39
1,171
py
Python
parse_recipes.py
meooow25/Emoji2recipe
802c4556c66cccd61814e6b169f0eecbc3646ec1
[ "MIT" ]
5
2019-11-19T22:40:28.000Z
2021-11-29T00:34:52.000Z
parse_recipes.py
meooow25/Emoji2recipe
802c4556c66cccd61814e6b169f0eecbc3646ec1
[ "MIT" ]
1
2018-10-30T22:19:13.000Z
2018-10-30T22:19:13.000Z
parse_recipes.py
meooow25/Emoji2recipe
802c4556c66cccd61814e6b169f0eecbc3646ec1
[ "MIT" ]
9
2019-05-10T21:17:55.000Z
2021-09-13T12:51:26.000Z
import os from os import path from glob import glob import json import re import pickle import argparse import numpy as np from scipy import ndimage, misc from config import cfg from parse_ingredients import preprocess_ingredients def load_recipe(filename): """Load a single recipe file """ with open(filename, 'r') ...
26.613636
77
0.744663
165
1,171
5.163636
0.357576
0.056338
0.042254
0.068075
0.091549
0.091549
0.091549
0.091549
0.091549
0.091549
0
0
0.140905
1,171
43
78
27.232558
0.846918
0.121264
0
0
0
0
0.125854
0
0
0
0
0
0
1
0.09375
false
0
0.34375
0
0.53125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4b9d7d79c1cb82592cc879134aa07ea753fcad4f
232
py
Python
Modulos_Python/quebrandoNumero.py
miguelsrrobo/JS-Public_
1f4f661fdf2d3c157a21f0cc91f125f88f066759
[ "MIT" ]
null
null
null
Modulos_Python/quebrandoNumero.py
miguelsrrobo/JS-Public_
1f4f661fdf2d3c157a21f0cc91f125f88f066759
[ "MIT" ]
null
null
null
Modulos_Python/quebrandoNumero.py
miguelsrrobo/JS-Public_
1f4f661fdf2d3c157a21f0cc91f125f88f066759
[ "MIT" ]
null
null
null
from math import trunc numero = float(input('Digite um numero inteiro: ')) print('O valor digitado foi {} e a sua porção inteira é {}'.format(numero, trunc(numero))) ''' int (numero) => tambem funciona para estrair um inteiro '''
25.777778
90
0.702586
34
232
4.794118
0.794118
0.134969
0
0
0
0
0
0
0
0
0
0
0.159483
232
8
91
29
0.835897
0
0
0
0
0
0.455621
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
1
0
0
0
0
2
4b9f629a6f879d552cb2bd08d2f5119fb408e6ae
728
py
Python
conditionals/exam_grade.py
fa-alvarez/python-examples
d49c86ecc97ae2802b2470240170f2144b2f1d64
[ "Unlicense" ]
null
null
null
conditionals/exam_grade.py
fa-alvarez/python-examples
d49c86ecc97ae2802b2470240170f2144b2f1d64
[ "Unlicense" ]
null
null
null
conditionals/exam_grade.py
fa-alvarez/python-examples
d49c86ecc97ae2802b2470240170f2144b2f1d64
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 def exam_grade(score): """Students in a class receive their grades as Pass/Fail. Scores of 60 or more (out of 100) mean that the grade is "Pass". For lower scores, the grade is "Fail". In addition, scores above 95 (not included) are graded as "Top Score". This function receives the score and...
31.652174
79
0.715659
124
728
4.137097
0.451613
0.140351
0.163743
0.099415
0.152047
0.152047
0
0
0
0
0
0.041459
0.171703
728
22
80
33.090909
0.809287
0.561813
0
0
0
0
0.055921
0
0
0
0
0
0
1
0.066667
false
0.066667
0
0
0.133333
0.466667
0
0
0
null
0
0
0
0
0
0
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
1
0
2
4baa76299d69e0982250e3c80ec495c12a1f244b
1,375
py
Python
jupiter/domain/big_plans/infra/big_plan_repository.py
horia141/jupiter
2c721d1d44e1cd2607ad9936e54a20ea254741dc
[ "MIT" ]
15
2019-05-05T14:34:58.000Z
2022-02-25T09:57:28.000Z
jupiter/domain/big_plans/infra/big_plan_repository.py
horia141/jupiter
2c721d1d44e1cd2607ad9936e54a20ea254741dc
[ "MIT" ]
3
2020-02-22T16:09:39.000Z
2021-12-18T21:33:06.000Z
jupiter/domain/big_plans/infra/big_plan_repository.py
horia141/jupiter
2c721d1d44e1cd2607ad9936e54a20ea254741dc
[ "MIT" ]
null
null
null
"""A repository of big plans.""" import abc from typing import Optional, Iterable from jupiter.domain.big_plans.big_plan import BigPlan from jupiter.domain.big_plans.big_plan_collection import BigPlanCollection from jupiter.framework.base.entity_id import EntityId from jupiter.framework.storage import Repository cla...
33.536585
106
0.693091
172
1,375
5.401163
0.343023
0.082885
0.043057
0.034446
0.238967
0.142088
0.068891
0
0
0
0
0
0.201455
1,375
40
107
34.375
0.846084
0.184727
0
0.227273
0
0
0
0
0
0
0
0
0
1
0.227273
false
0
0.272727
0
0.590909
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
1
0
0
2
4bb14289b061ddb38728ad523069796f3a19a38b
313
py
Python
demos/check_hdf5_hash.py
bengranett/catstore
a61f922fdef4d5f5189c8d9cad830bd8dd981900
[ "MIT" ]
null
null
null
demos/check_hdf5_hash.py
bengranett/catstore
a61f922fdef4d5f5189c8d9cad830bd8dd981900
[ "MIT" ]
null
null
null
demos/check_hdf5_hash.py
bengranett/catstore
a61f922fdef4d5f5189c8d9cad830bd8dd981900
[ "MIT" ]
1
2019-10-28T10:54:13.000Z
2019-10-28T10:54:13.000Z
import sys import pypelid.utils.filetools as ft for filename in sys.argv[1:]: check, hashes = ft.check_hdf5_hash(filename) if check: print "%s: %s checksum passed :D"%(filename, hashes[0]) else: print "%s: checksum failed :( (read:%s computed:%s)"%(filename, hashes[0], hashes[1])
24.076923
93
0.642173
46
313
4.326087
0.586957
0.060302
0.150754
0
0
0
0
0
0
0
0
0.020161
0.207668
313
12
94
26.083333
0.782258
0
0
0
0
0
0.220447
0
0
0
0
0
0
0
null
null
0.125
0.25
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
4bc00a227cefe01ad00f60e2ad8f15b3a7586721
795
py
Python
sistemas/models.py
luisfarfan/django_intranetapp
bb7e0c08706d8fdf9b1eae437baa1f5850dbd0bd
[ "Apache-2.0" ]
null
null
null
sistemas/models.py
luisfarfan/django_intranetapp
bb7e0c08706d8fdf9b1eae437baa1f5850dbd0bd
[ "Apache-2.0" ]
null
null
null
sistemas/models.py
luisfarfan/django_intranetapp
bb7e0c08706d8fdf9b1eae437baa1f5850dbd0bd
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib import admin class Sistema(models.Model): nombre = models.CharField(max_length=100) descripcion = models.TextField() codigo = models.CharField(max_length=8) usr_creacion = models.CharField(max_length=100, blank=True, null=True) fec_creacion = models...
30.576923
74
0.710692
100
795
5.51
0.44
0.108893
0.130672
0.174229
0.350272
0.30127
0.170599
0.170599
0.170599
0.170599
0
0.016743
0.173585
795
25
75
31.8
0.821918
0
0
0
0
0
0.032704
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0.052632
0.842105
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
1
0
0
2
299ac5adc076c1fcf2728cd7fb5c4c604e8348aa
1,836
py
Python
src/schnetpack/md/simulation_hooks/basic_hooks.py
sxie22/schnetpack
a421e7c121c7bdb2838fb30f887812110ecfa3c6
[ "MIT" ]
null
null
null
src/schnetpack/md/simulation_hooks/basic_hooks.py
sxie22/schnetpack
a421e7c121c7bdb2838fb30f887812110ecfa3c6
[ "MIT" ]
null
null
null
src/schnetpack/md/simulation_hooks/basic_hooks.py
sxie22/schnetpack
a421e7c121c7bdb2838fb30f887812110ecfa3c6
[ "MIT" ]
1
2022-02-10T17:39:11.000Z
2022-02-10T17:39:11.000Z
from __future__ import annotations import torch.nn as nn from schnetpack.md.utils import UninitializedMixin from typing import TYPE_CHECKING if TYPE_CHECKING: from schnetpack.md import Simulator __all__ = ["RemoveCOMMotion", "SimulationHook"] class SimulationHook(UninitializedMixin, nn.Module): """ Ba...
27.402985
88
0.691176
215
1,836
5.618605
0.334884
0.033113
0.145695
0.150662
0.280629
0.222682
0.222682
0
0
0
0
0.000714
0.236928
1,836
66
89
27.818182
0.861527
0.163399
0
0.25
0
0
0.019476
0
0
0
0
0
0
1
0.25
false
0.194444
0.138889
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
1
0
1
0
0
0
0
0
2
29a679fe472885838a85805ec387c66c860b0f41
189
py
Python
telegram/bot.py
Fawers/horriblesubs-hourly-notifier
b8c610d9fdd6494976e00e5a7fad746013669280
[ "MIT" ]
10
2019-01-14T10:24:53.000Z
2022-03-29T02:39:09.000Z
telegram/bot.py
Fawers/horriblesubs-hourly-notifier
b8c610d9fdd6494976e00e5a7fad746013669280
[ "MIT" ]
null
null
null
telegram/bot.py
Fawers/horriblesubs-hourly-notifier
b8c610d9fdd6494976e00e5a7fad746013669280
[ "MIT" ]
null
null
null
import os import telepot CHANNEL = os.getenv('TGCHANNEL') BOT = telepot.Bot(os.getenv('TGBOT')) def send_to_channel(message): BOT.sendMessage(CHANNEL, message, parse_mode='html')
14.538462
56
0.730159
26
189
5.192308
0.615385
0.118519
0
0
0
0
0
0
0
0
0
0
0.132275
189
12
57
15.75
0.823171
0
0
0
0
0
0.095238
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
29adaaa6f06669c1750dfd09400ea03289d45b62
933
py
Python
iridium/libs/trackers/tracker.py
Toure/Rhea
fda0e4cd7c568943725245393bfe762bc858e917
[ "Apache-2.0" ]
1
2015-08-19T15:55:46.000Z
2015-08-19T15:55:46.000Z
iridium/libs/trackers/tracker.py
Toure/Rhea
fda0e4cd7c568943725245393bfe762bc858e917
[ "Apache-2.0" ]
null
null
null
iridium/libs/trackers/tracker.py
Toure/Rhea
fda0e4cd7c568943725245393bfe762bc858e917
[ "Apache-2.0" ]
null
null
null
__author__ = "Toure Dunnon" __license__ = "Apache License 2.0" __version__ = "0.1" __email__ = "toure@redhat.com" __status__ = "Alpha" import abc from importlib import import_module class TrackerBase(object): @staticmethod def import_mod(platform_name): """ Import mod will return an initializ...
22.214286
89
0.676313
111
933
5.36036
0.522523
0.067227
0.134454
0.121008
0.151261
0
0
0
0
0
0
0.005634
0.239014
933
41
90
22.756098
0.832394
0.203644
0
0.32
0
0
0.111111
0.034188
0
0
0
0
0
1
0.2
false
0.16
0.16
0
0.52
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
1
0
0
2
29b3b2c587f760ce7808219daad6f2cd6fda1e05
953
py
Python
powerwallrl/powerplans/australia/wa/synergy.py
danielwoz/powerwall-rl
e27d57ed544b2523bd6e125b4d116a89845de734
[ "MIT" ]
null
null
null
powerwallrl/powerplans/australia/wa/synergy.py
danielwoz/powerwall-rl
e27d57ed544b2523bd6e125b4d116a89845de734
[ "MIT" ]
null
null
null
powerwallrl/powerplans/australia/wa/synergy.py
danielwoz/powerwall-rl
e27d57ed544b2523bd6e125b4d116a89845de734
[ "MIT" ]
null
null
null
""" Synergy grid and feedback costs. """ # Author: Daniel Williams __version__ = '0.0.1' from powerwallrl.powerplans.australia.wa import WesternAustralia class Synergy(WesternAustralia): pass class Rebs(Synergy): def feedback(self, _): return 7.1350 class Debs(Synergy): def feedback(self, dt): if d...
18.686275
64
0.653725
138
953
4.442029
0.391304
0.058728
0.039152
0.071778
0
0
0
0
0
0
0
0.083333
0.231899
953
50
65
19.06
0.754098
0.129066
0
0.21875
0
0
0.006112
0
0
0
0
0
0
1
0.125
false
0.15625
0.03125
0.0625
0.6875
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
1
0
0
2
29c22902e289fffef380e013c5cec077ff27720a
266
py
Python
tests/data/cli_args.py
festeh/docker-pretty-ps
582c2d811bc8f79fa66b25d1ac37ec27e871921f
[ "MIT" ]
241
2019-01-19T13:40:41.000Z
2022-03-25T20:15:56.000Z
tests/data/cli_args.py
festeh/docker-pretty-ps
582c2d811bc8f79fa66b25d1ac37ec27e871921f
[ "MIT" ]
13
2018-11-24T22:14:20.000Z
2022-03-01T14:37:49.000Z
tests/data/cli_args.py
festeh/docker-pretty-ps
582c2d811bc8f79fa66b25d1ac37ec27e871921f
[ "MIT" ]
20
2019-01-19T17:42:54.000Z
2022-02-23T12:16:04.000Z
class CliArgs(object): def __init__(self): self.search = [] self.all = False self.slim = False self.include = False self.order = False self.reverse = False self.json = False self.version = False
19
28
0.537594
29
266
4.793103
0.517241
0.388489
0
0
0
0
0
0
0
0
0
0
0.37218
266
13
29
20.461538
0.832335
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0
1
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
2