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
ad049c2108d387b7a21cb9771949419fab0bb4c8
251
py
Python
examples/hist.py
RyanAugust/geoplotlib
97ae83fc05d19237db79be66eb577906c35e8db5
[ "MIT" ]
1,021
2015-02-26T12:08:01.000Z
2022-03-15T10:04:29.000Z
examples/hist.py
RyanAugust/geoplotlib
97ae83fc05d19237db79be66eb577906c35e8db5
[ "MIT" ]
51
2015-03-27T20:46:44.000Z
2022-02-03T09:58:35.000Z
examples/hist.py
RyanAugust/geoplotlib
97ae83fc05d19237db79be66eb577906c35e8db5
[ "MIT" ]
196
2015-03-25T02:32:28.000Z
2022-03-25T23:07:22.000Z
""" Example of 2D histogram """ import geoplotlib from geoplotlib.utils import read_csv, BoundingBox data = read_csv('data/opencellid_dk.csv') geoplotlib.hist(data, colorscale='sqrt', binsize=8) geoplotlib.set_bbox(BoundingBox.DK) geoplotlib.show()
20.916667
51
0.784861
34
251
5.676471
0.647059
0.072539
0
0
0
0
0
0
0
0
0
0.008772
0.091633
251
11
52
22.818182
0.837719
0.091633
0
0
0
0
0.118182
0.1
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ad052c19680261e01fda678f8a14469fccd45f3c
10,083
py
Python
southwestalerts/southwest.py
hoopsbwc34/southwest-alerts
39a9e13cb045cf3601b02518fc4e13753cce9ca6
[ "MIT" ]
null
null
null
southwestalerts/southwest.py
hoopsbwc34/southwest-alerts
39a9e13cb045cf3601b02518fc4e13753cce9ca6
[ "MIT" ]
null
null
null
southwestalerts/southwest.py
hoopsbwc34/southwest-alerts
39a9e13cb045cf3601b02518fc4e13753cce9ca6
[ "MIT" ]
null
null
null
import json import time import requests BASE_URL = 'https://mobile.southwest.com' class Southwest(object): def __init__(self, username, password, headers, cookies, account): self._session = _SouthwestSession(username, password, headers, cookies, account) def get_upcoming_trips(self): # re...
47.561321
318
0.648517
1,178
10,083
5.356537
0.188455
0.061807
0.049445
0.040412
0.581616
0.545642
0.4813
0.43962
0.434231
0.38225
0
0.018566
0.225429
10,083
211
319
47.78673
0.789373
0.194882
0
0.319149
0
0.070922
0.279176
0.192856
0
0
0
0
0
1
0.12766
false
0.070922
0.021277
0.014184
0.276596
0.028369
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ad11d47033d4af835763923edb8fa478546cbbc5
1,897
py
Python
views.py
wbellman/Python-Fate-Example
a764d3d386b60d4ecfbb59837321e6c30f1c4249
[ "MIT" ]
null
null
null
views.py
wbellman/Python-Fate-Example
a764d3d386b60d4ecfbb59837321e6c30f1c4249
[ "MIT" ]
null
null
null
views.py
wbellman/Python-Fate-Example
a764d3d386b60d4ecfbb59837321e6c30f1c4249
[ "MIT" ]
null
null
null
import time import settings from printLibs import printl, printc from inputLibs import get_number def print_character(character): print() printc(character["realname"],"-",40) print() print( character["name"] + " (" + character["role"] + ") -- " + character["pole"].title() + ":" + str(character["number"]) ) ...
22.05814
126
0.634686
227
1,897
5.176211
0.255507
0.021277
0.06383
0.042553
0.119149
0.086809
0
0
0
0
0
0.013307
0.207696
1,897
85
127
22.317647
0.768463
0
0
0.285714
0
0
0.118081
0
0
0
0
0
0
1
0.1
false
0
0.057143
0
0.271429
0.471429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
ad159cd804674520f14ca7bf3672f76b7911e56a
10,068
py
Python
core/models.py
ditttu/gymkhana-Nominations
2a0e993c1b8362c456a9369b0b549d1c809a21df
[ "MIT" ]
3
2018-02-27T13:48:28.000Z
2018-03-03T21:57:50.000Z
core/models.py
ditttu/gymkhana-Nominations
2a0e993c1b8362c456a9369b0b549d1c809a21df
[ "MIT" ]
6
2020-02-12T00:07:46.000Z
2022-03-11T23:25:59.000Z
core/models.py
ditttu/gymkhana-Nominations
2a0e993c1b8362c456a9369b0b549d1c809a21df
[ "MIT" ]
1
2019-03-26T20:19:57.000Z
2019-03-26T20:19:57.000Z
from django.db import models from django.contrib.auth.models import User from .choices import * from datetime import datetime,date from django.dispatch import receiver from django.db.models.signals import post_save from django.utils import timezone def default_end_date(): now = datetime.now() end = now.replace...
38.723077
129
0.708482
1,301
10,068
5.312836
0.15834
0.049769
0.04702
0.061487
0.485677
0.365741
0.311198
0.233073
0.170284
0.097656
0
0.009057
0.177493
10,068
259
130
38.872587
0.825625
0.005562
0
0.168421
0
0
0.04955
0.002697
0
0
0
0
0
1
0.1
false
0.005263
0.036842
0.047368
0.673684
0.010526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ad1cabe254e2aa9697b539f3226adbf97155e405
819
py
Python
2018/day02.py
iKevinY/advent
d160fb711a0a4d671f53cbd61088117e7ff0276a
[ "MIT" ]
11
2019-12-03T06:32:37.000Z
2021-12-24T12:23:57.000Z
2018/day02.py
iKevinY/advent
d160fb711a0a4d671f53cbd61088117e7ff0276a
[ "MIT" ]
null
null
null
2018/day02.py
iKevinY/advent
d160fb711a0a4d671f53cbd61088117e7ff0276a
[ "MIT" ]
1
2019-12-07T06:21:31.000Z
2019-12-07T06:21:31.000Z
import fileinput from collections import Counter BOXES = [line.strip() for line in fileinput.input()] DOUBLES = 0 TRIPLES = 0 COMMON = None for box_1 in BOXES: doubles = 0 triples = 0 for char, count in Counter(box_1).items(): if count == 2: doubles += 1 elif count == 3: ...
19.5
71
0.534799
120
819
3.566667
0.341667
0.056075
0.070093
0.074766
0
0
0
0
0
0
0
0.047985
0.363858
819
41
72
19.97561
0.773512
0
0
0
0
0
0.070818
0
0
0
0
0
0
0
null
null
0
0.068966
null
null
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ad2372f4683a8e3edf11b3a342a6152ebfa81c44
3,877
py
Python
SimCalorimetry/EcalSelectiveReadoutProducers/python/ecalDigis_craft_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
SimCalorimetry/EcalSelectiveReadoutProducers/python/ecalDigis_craft_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
SimCalorimetry/EcalSelectiveReadoutProducers/python/ecalDigis_craft_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms simEcalDigis = cms.EDProducer("EcalSelectiveReadoutProducer", # Label of input EB and EE digi collections digiProducer = cms.string('simEcalUnsuppressedDigis'), # Instance name of input EB digi collections EBdigiCollection = cms.string(''), # Instance name...
36.233645
79
0.685324
506
3,877
5.247036
0.379447
0.030508
0.036911
0.030132
0.227495
0.187571
0.187571
0.160452
0.140113
0.109981
0
0.033378
0.234976
3,877
106
80
36.575472
0.861767
0.513026
0
0
0
0
0.060705
0.04336
0
0
0
0
0
1
0
false
0.147059
0.029412
0
0.029412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ad24ff76711efc4ad761466ca54751008e0bd6ce
1,176
py
Python
datasource/interface.py
YAmikep/datasource
6c8d72bd299aa0a9e2880228f0f39d2b8721b146
[ "MIT" ]
1
2018-06-16T11:33:56.000Z
2018-06-16T11:33:56.000Z
datasource/interface.py
YAmikep/datasource
6c8d72bd299aa0a9e2880228f0f39d2b8721b146
[ "MIT" ]
1
2020-03-24T17:32:45.000Z
2020-03-24T17:32:45.000Z
datasource/interface.py
YAmikep/datasource
6c8d72bd299aa0a9e2880228f0f39d2b8721b146
[ "MIT" ]
2
2018-06-16T11:37:34.000Z
2020-07-30T17:56:54.000Z
MAX_MEMORY = 5 * 1024 * 2 ** 10 # 5 MB BUFFER_SIZE = 1 * 512 * 2 ** 10 # 512 KB class DataSourceInterface(object): """Provides a uniform API regardless of how the data should be fetched.""" def __init__(self, target, preload=False, **kwargs): raise NotImplementedError() @property def is_loa...
30.153846
127
0.62415
153
1,176
4.72549
0.509804
0.048409
0.112033
0.049793
0.146611
0.146611
0
0
0
0
0
0.024331
0.30102
1,176
38
128
30.947368
0.855231
0.465986
0
0.357143
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ad276315f893a288238d66dae8d8e08290828c3c
85,143
py
Python
pyjsg/parser/jsgParser.py
hsolbrig/pyjsg
5ef46d9af6a94a0cd0e91ebf8b22f61c17e78429
[ "CC0-1.0" ]
3
2017-07-23T11:11:23.000Z
2020-11-30T15:36:51.000Z
pyjsg/parser/jsgParser.py
hsolbrig/pyjsg
5ef46d9af6a94a0cd0e91ebf8b22f61c17e78429
[ "CC0-1.0" ]
15
2018-01-05T17:18:34.000Z
2021-12-13T17:40:25.000Z
try2/lib/python3.9/site-packages/pyjsg/parser/jsgParser.py
diatomsRcool/eco-kg
4251f42ca2ab353838a39b640cb97593db76d4f4
[ "BSD-3-Clause" ]
1
2021-01-18T10:32:56.000Z
2021-01-18T10:32:56.000Z
# Generated from jsgParser.g4 by ANTLR 4.9 # encoding: utf-8 from antlr4 import * from io import StringIO import sys if sys.version_info[1] > 5: from typing import TextIO else: from typing.io import TextIO def serializedATN(): with StringIO() as buf: buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u77...
34.429034
299
0.566318
9,901
85,143
4.782244
0.076861
0.018628
0.013242
0.013686
0.674228
0.6209
0.577626
0.522714
0.450126
0.445838
0
0.085111
0.314025
85,143
2,472
300
34.442961
0.725576
0.003242
0
0.576352
1
0.073701
0.109301
0.091774
0
0
0.000566
0
0
1
0.130965
false
0.018028
0.002651
0.066808
0.33404
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ad2d2edbe5cd065fd478d317524918fed089d282
1,111
py
Python
example/familytree.py
realistschuckle/pyvisitor
f08bd50f5ca5ff4288f00d9045ca406e278ed306
[ "MIT" ]
15
2015-01-30T21:08:28.000Z
2022-02-03T18:00:56.000Z
example/familytree.py
realistschuckle/pyvisitor
f08bd50f5ca5ff4288f00d9045ca406e278ed306
[ "MIT" ]
2
2016-10-03T21:33:29.000Z
2019-02-05T13:06:05.000Z
example/familytree.py
realistschuckle/pyvisitor
f08bd50f5ca5ff4288f00d9045ca406e278ed306
[ "MIT" ]
7
2016-09-16T07:34:50.000Z
2022-02-03T18:03:01.000Z
from __future__ import print_function import sys import os # Put the path to the visitor module on the search path path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'src')) if not path in sys.path: sys.path.insert(1, path) import visitor class Person(object): def __init__(self, name): self.na...
19.491228
76
0.688569
167
1,111
4.431138
0.323353
0.060811
0.052703
0.068919
0.3
0.243243
0.243243
0.243243
0.132432
0.132432
0
0.004324
0.167417
1,111
57
77
19.491228
0.795676
0.047705
0
0.261905
0
0
0.015137
0
0
0
0
0
0
1
0.238095
false
0.02381
0.095238
0
0.404762
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ad2d3fa37ba1868e4e2a135fb9535b7aef051f1f
234
py
Python
bgui/server/server/config.py
monash-emu/Legacy-AuTuMN
513bc14b4ea8c29c5983cc90fb94284e6a003515
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
bgui/server/server/config.py
monash-emu/Legacy-AuTuMN
513bc14b4ea8c29c5983cc90fb94284e6a003515
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
bgui/server/server/config.py
monash-emu/Legacy-AuTuMN
513bc14b4ea8c29c5983cc90fb94284e6a003515
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
SQLALCHEMY_DATABASE_URI = 'sqlite:///database.sqlite' SECRET_KEY = 'F12Zr47j\3yX R~X@H!jmM]Lwf/,?KT' SAVE_FOLDER = '../../../projects' SQLALCHEMY_TRACK_MODIFICATIONS = 'False' PORT = '3000' STATIC_FOLDER = '../../client/dist/static'
29.25
53
0.709402
30
234
5.3
0.833333
0
0
0
0
0
0
0
0
0
0
0.042056
0.08547
234
7
54
33.428571
0.700935
0
0
0
0
0
0.454936
0.2103
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ad31e247da8cf855b63a1a735072233c2abea496
3,608
py
Python
babyname_parser.py
jongtaeklho/swpp-hw1-jongtaeklho
1f0d2e4d4af985f83cbf3a9ee7548fecee68d346
[ "Apache-2.0" ]
null
null
null
babyname_parser.py
jongtaeklho/swpp-hw1-jongtaeklho
1f0d2e4d4af985f83cbf3a9ee7548fecee68d346
[ "Apache-2.0" ]
null
null
null
babyname_parser.py
jongtaeklho/swpp-hw1-jongtaeklho
1f0d2e4d4af985f83cbf3a9ee7548fecee68d346
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ # Modified by Alchan Kim at SNU Software Platform Lab for # SWPP fall 2020 lecture. import s...
33.100917
119
0.636918
491
3,608
4.645621
0.413442
0.005261
0.012275
0.023674
0.055239
0.027181
0.027181
0
0
0
0
0.0163
0.268847
3,608
108
120
33.407407
0.84837
0.221729
0
0
0
0
0.032334
0
0
0
0
0.018519
0
1
0.108108
false
0.027027
0.108108
0
0.351351
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ad375040d6b6884d5223dc6bfe23eb549e651e7b
322
py
Python
sql/mysql_demo.py
garyhu1/first-python
01731d419a64aec9683b450d0e8e233f4b5cc9a7
[ "Apache-2.0" ]
1
2019-09-03T11:42:38.000Z
2019-09-03T11:42:38.000Z
sql/mysql_demo.py
garyhu1/first-python
01731d419a64aec9683b450d0e8e233f4b5cc9a7
[ "Apache-2.0" ]
null
null
null
sql/mysql_demo.py
garyhu1/first-python
01731d419a64aec9683b450d0e8e233f4b5cc9a7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- 'Mysql 连接数据库' __author__ = 'garyhu' import mysql.connector; # 数据库连接 conn = mysql.connector.connect(user='root',password='****',database='websites'); s = conn.cursor(); s.execute('select * from users where id = %s',(7,)) value = s.fetchall(); print(value); s.close();...
15.333333
80
0.642857
43
322
4.72093
0.790698
0.137931
0
0
0
0
0
0
0
0
0
0.010753
0.13354
322
20
81
16.1
0.716846
0.189441
0
0
0
0
0.245353
0
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ad3f016195bbebe749ea93e6dd6bbfeb76dd0048
1,376
py
Python
client/examples/cycle-cards.py
spoore1/smart-card-removinator
dfc42e0ab5cea45c2ba299c10e7bc3b5857ddba2
[ "Apache-2.0" ]
26
2016-10-14T02:33:42.000Z
2022-02-22T01:44:28.000Z
client/examples/cycle-cards.py
spoore1/smart-card-removinator
dfc42e0ab5cea45c2ba299c10e7bc3b5857ddba2
[ "Apache-2.0" ]
2
2018-03-18T03:06:52.000Z
2021-03-21T10:14:17.000Z
client/examples/cycle-cards.py
spoore1/smart-card-removinator
dfc42e0ab5cea45c2ba299c10e7bc3b5857ddba2
[ "Apache-2.0" ]
8
2017-04-26T01:54:07.000Z
2021-09-21T14:14:49.000Z
#!/usr/bin/env python from removinator import removinator import subprocess # This example cycles through each card slot in the Removinator. Any # slots that have a card present will then have the certificates on the # card printed out using the pkcs15-tool utility, which is provided by # the OpenSC project. # # Exa...
32.761905
74
0.667151
179
1,376
5.083799
0.458101
0.03956
0.049451
0.026374
0
0
0
0
0
0
0
0.01086
0.196948
1,376
41
75
33.560976
0.81267
0.261628
0
0
0
0
0.308532
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.423077
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
ad3f3ba0c8f945d938221059aed3b9fa065e26c7
716
py
Python
PDFParser/Client.py
NekuHarp/TPScrum1
bf5d4cd4353066517077bd4116b523b3ce1f99ea
[ "Apache-2.0" ]
2
2018-12-14T10:57:02.000Z
2019-11-23T14:20:55.000Z
PDFParser/Client.py
NekuHarp/TPScrum1
bf5d4cd4353066517077bd4116b523b3ce1f99ea
[ "Apache-2.0" ]
null
null
null
PDFParser/Client.py
NekuHarp/TPScrum1
bf5d4cd4353066517077bd4116b523b3ce1f99ea
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from . import Defs as _D from .Parser import Parser as _P class Client: def __init__(self): self.id = 4 self.p = _P() pass def doXML(self, folder): _EOUT = 'xml' print(_EOUT, folder) def doTXT(self, folder): _EOUT = 'txt' pr...
21.058824
84
0.52095
98
716
3.683673
0.438776
0.069252
0.077562
0.099723
0
0
0
0
0
0
0
0.00409
0.317039
716
33
85
21.69697
0.734151
0.02933
0
0.083333
0
0
0.038961
0
0
0
0
0
0
1
0.291667
false
0.041667
0.083333
0.041667
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
0
0
0
0
1
ad43350b2da704f794c52e0d66b5d6a868f93d05
388
py
Python
Proctor_Brad/Assignments/bubble sort.py
webguru001/Python-Django-Web
6264bc4c90ef1432ba0902c76b567cf3caaae221
[ "MIT" ]
5
2019-05-17T01:30:02.000Z
2021-06-17T21:02:58.000Z
Proctor_Brad/Assignments/bubble sort.py
curest0x1021/Python-Django-Web
6264bc4c90ef1432ba0902c76b567cf3caaae221
[ "MIT" ]
null
null
null
Proctor_Brad/Assignments/bubble sort.py
curest0x1021/Python-Django-Web
6264bc4c90ef1432ba0902c76b567cf3caaae221
[ "MIT" ]
null
null
null
import random import time b = [] for x in range(0,100): b.append(int(random.random()*10000)) maximum = len(b) - 1 start_time = time.time() for i in range(0,maximum): for j in range(0,maximum): if(b[j] > b[j+1]): temp = b[j] b[j] = b[j+1] b[j+1] = temp maximum -= ...
20.421053
56
0.523196
66
388
3.045455
0.363636
0.059701
0.119403
0.059701
0.049751
0
0
0
0
0
0
0.057762
0.286082
388
18
57
21.555556
0.66787
0
0
0
0
0
0.046392
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ad437b9b77502ea14c72a607a4c29fcf984906ad
1,863
py
Python
app/morocco/authentication.py
troydai/Morocco
b975d4f6813734a4c7b8e6c61669976389a27560
[ "MIT" ]
null
null
null
app/morocco/authentication.py
troydai/Morocco
b975d4f6813734a4c7b8e6c61669976389a27560
[ "MIT" ]
9
2017-07-11T08:17:27.000Z
2017-08-01T21:48:00.000Z
app/morocco/authentication.py
troydai/Morocco
b975d4f6813734a4c7b8e6c61669976389a27560
[ "MIT" ]
null
null
null
import flask_login from .application import app from .models import DbUser login_manager = flask_login.LoginManager() # pylint: disable=invalid-name login_manager.init_app(app) login_manager.user_loader(lambda user_id: DbUser.query.filter_by(id=user_id).first()) login_required = flask_login.login_required @login_ma...
27.397059
85
0.703167
256
1,863
4.957031
0.355469
0.052009
0.035461
0.054374
0.192277
0.144996
0.144996
0.050433
0
0
0
0
0.180891
1,863
67
86
27.80597
0.831586
0.092324
0
0.116279
0
0
0.092593
0
0
0
0
0
0
1
0.162791
false
0
0.255814
0
0.581395
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ad4606ad266b7b3db3e78f36d7d519b541e707cd
1,242
py
Python
log_utils.py
zheng-yanan/hierarchical-deep-generative-models
3a92d2ce69a51f4da55a18b09ca4c246f6f6ed43
[ "MIT" ]
1
2019-06-06T02:55:45.000Z
2019-06-06T02:55:45.000Z
log_utils.py
zheng-yanan/hierarchical-deep-generative-model
3a92d2ce69a51f4da55a18b09ca4c246f6f6ed43
[ "MIT" ]
null
null
null
log_utils.py
zheng-yanan/hierarchical-deep-generative-model
3a92d2ce69a51f4da55a18b09ca4c246f6f6ed43
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- from __future__ import division from __future__ import absolute_import from __future__ import print_function import os import sys import logging def logger_fn(name, filepath, level = logging.DEBUG): """ Function for creating log manager Args: name: name for log manager filepath: file ...
25.875
107
0.711755
160
1,242
5.43125
0.45
0.036824
0.055236
0.110472
0.179517
0.141542
0.141542
0.141542
0.141542
0.141542
0
0.001862
0.135266
1,242
48
108
25.875
0.807263
0.345411
0
0
0
0
0.048327
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.470588
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ad47d50e27f1ff53557e090e02e00ff688fd1b95
1,818
py
Python
phr/insteducativa/api/serializers.py
richardqa/django-ex
e5b8585f28a97477150ac5daf5e55c74b70d87da
[ "CC0-1.0" ]
null
null
null
phr/insteducativa/api/serializers.py
richardqa/django-ex
e5b8585f28a97477150ac5daf5e55c74b70d87da
[ "CC0-1.0" ]
null
null
null
phr/insteducativa/api/serializers.py
richardqa/django-ex
e5b8585f28a97477150ac5daf5e55c74b70d87da
[ "CC0-1.0" ]
null
null
null
from drf_extra_fields.geo_fields import PointField from rest_framework import serializers from phr.insteducativa.models import InstitucionEducativa from phr.ubigeo.models import UbigeoDepartamento, UbigeoDistrito, UbigeoProvincia class InstEducativaSerializer(serializers.ModelSerializer): ubicacion = PointField(...
42.27907
116
0.684268
164
1,818
7.371951
0.335366
0.044665
0.094293
0.037221
0.124069
0.066998
0.066998
0
0
0
0
0.001442
0.237074
1,818
42
117
43.285714
0.870224
0
0
0.257143
0
0
0.112761
0.024202
0
0
0
0
0
1
0.085714
false
0
0.114286
0
0.542857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ad4d7bab059d0ea9bad8d2d28f8ce727a3796264
14,523
py
Python
src/dmglib.py
rickmark/dmglib
abcb16b4eeaec8e34f13248874c0e5b39dcfd96d
[ "MIT" ]
null
null
null
src/dmglib.py
rickmark/dmglib
abcb16b4eeaec8e34f13248874c0e5b39dcfd96d
[ "MIT" ]
null
null
null
src/dmglib.py
rickmark/dmglib
abcb16b4eeaec8e34f13248874c0e5b39dcfd96d
[ "MIT" ]
null
null
null
""" dmglib is a basic ``hdiutil`` wrapper that simplifies working with dmg images from Python. The module can be used to attach and detach disk images, to check a disk image's validity and to query whether disk images are password protected or have a license agreement included. """ import plistlib import subprocess i...
31.988987
106
0.658955
1,755
14,523
5.349288
0.218234
0.035471
0.020452
0.009587
0.152322
0.101193
0.076055
0.04559
0.028334
0.017256
0
0.001585
0.261379
14,523
453
107
32.059603
0.87359
0.426634
0
0.139896
0
0
0.063136
0
0
0
0
0
0
1
0.129534
false
0.072539
0.036269
0.010363
0.450777
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ad5db874c90f5842c8a6e82a7b558b48f5b79bd1
4,187
py
Python
web/models.py
rkhozinov/dicease-area
9ca2159705c778a73f45ca83e83f881d47c355c4
[ "MIT" ]
null
null
null
web/models.py
rkhozinov/dicease-area
9ca2159705c778a73f45ca83e83f881d47c355c4
[ "MIT" ]
null
null
null
web/models.py
rkhozinov/dicease-area
9ca2159705c778a73f45ca83e83f881d47c355c4
[ "MIT" ]
null
null
null
# models.py from sys import path from os.path import dirname as dir path.append(dir(path[0])) from app import db class District(db.Model): id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(120), unique=True) coordinates = db.Column(db.String(120), nullable=True) def __init__(s...
34.04065
98
0.642942
527
4,187
4.981025
0.119545
0.091429
0.114286
0.148952
0.627048
0.474286
0.45219
0.328381
0.310095
0.276571
0
0.009975
0.233819
4,187
122
99
34.319672
0.808292
0.00215
0
0.32967
0
0
0.036398
0
0
0
0
0
0
1
0.098901
false
0
0.032967
0.043956
0.604396
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ad611aec8e39567a4f46f53f19066964bc6e7636
425
py
Python
cloudflare_exporter/handlers.py
cpaillet/cloudflare-exporter
194a0ce0f316aadc2802fbf180d06f5aab7849be
[ "Apache-2.0" ]
null
null
null
cloudflare_exporter/handlers.py
cpaillet/cloudflare-exporter
194a0ce0f316aadc2802fbf180d06f5aab7849be
[ "Apache-2.0" ]
7
2019-11-28T11:43:56.000Z
2020-06-09T08:21:19.000Z
cloudflare_exporter/handlers.py
cpaillet/cloudflare-exporter
194a0ce0f316aadc2802fbf180d06f5aab7849be
[ "Apache-2.0" ]
3
2019-11-28T08:36:23.000Z
2022-02-21T11:34:41.000Z
from aiohttp import web from prometheus_client import generate_latest from prometheus_client.core import REGISTRY def metric_to_text(): return generate_latest(REGISTRY).decode('utf-8') async def handle_metrics(_request): return web.Response(text=metric_to_text()) async def handle_health(_request): he...
22.368421
63
0.778824
59
425
5.338983
0.457627
0.088889
0.126984
0
0
0
0
0
0
0
0
0.010959
0.141176
425
18
64
23.611111
0.852055
0
0
0
1
0
0.016471
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ad62b39dc3d459b038919fec68d5b17bad7d8e64
6,454
py
Python
util/list_store.py
natduca/ndbg
f8da43be62dac18072e9b0e6e5ecd0d1818aea4d
[ "Apache-2.0" ]
5
2016-05-12T08:48:41.000Z
2018-07-17T00:48:32.000Z
util/list_store.py
natduca/ndbg
f8da43be62dac18072e9b0e6e5ecd0d1818aea4d
[ "Apache-2.0" ]
1
2022-01-16T12:18:50.000Z
2022-01-16T12:18:50.000Z
util/list_store.py
natduca/ndbg
f8da43be62dac18072e9b0e6e5ecd0d1818aea4d
[ "Apache-2.0" ]
null
null
null
# Copyright 2011 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
28.431718
89
0.597614
905
6,454
4.058564
0.21768
0.023959
0.023959
0.014974
0.237136
0.183229
0.11462
0.086033
0.046828
0.030493
0
0.009776
0.286799
6,454
226
90
28.557522
0.788182
0.088472
0
0.258242
0
0
0.089484
0
0
0
0
0
0
0
null
null
0.005495
0.010989
null
null
0.049451
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ad6dc8f5ec7abbc123e658c8a53c68b664ad7c1a
271
py
Python
modules/04/examples/dollar.py
edsu/inst126
a14f2c6901759f87b1f199f79ed1b8a5c03c688d
[ "CC-BY-4.0" ]
2
2019-08-07T07:49:09.000Z
2019-08-24T02:07:39.000Z
modules/04/examples/dollar.py
edsu/inst126
a14f2c6901759f87b1f199f79ed1b8a5c03c688d
[ "CC-BY-4.0" ]
2
2020-07-18T02:43:50.000Z
2022-02-10T19:04:57.000Z
modules/04/examples/dollar.py
edsu/inst126
a14f2c6901759f87b1f199f79ed1b8a5c03c688d
[ "CC-BY-4.0" ]
null
null
null
# jaylin hours = float(input("Enter hours worked: ")) rate = float(input("Enter hourly rate: ")) if (rate >= 15): pay=(hours* rate) print("Pay: $", pay) else: print("I'm sorry " + str(rate) + " is lower than the minimum wage!")
20.846154
76
0.535055
35
271
4.142857
0.657143
0.137931
0.206897
0
0
0
0
0
0
0
0
0.010471
0.295203
271
12
77
22.583333
0.748691
0.02214
0
0
0
0
0.346614
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ad7bd9466582c413f0454448c47639038f5336ef
469
py
Python
Python/Difference of times/main.py
drtierney/hyperskill-problems
b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0
[ "MIT" ]
5
2020-08-29T15:15:31.000Z
2022-03-01T18:22:34.000Z
Python/Difference of times/main.py
drtierney/hyperskill-problems
b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0
[ "MIT" ]
null
null
null
Python/Difference of times/main.py
drtierney/hyperskill-problems
b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0
[ "MIT" ]
1
2020-12-02T11:13:14.000Z
2020-12-02T11:13:14.000Z
# put your python code here def event_time(hours, minutes, seconds): return (hours * 3600) + (minutes * 60) + seconds def time_difference(a, b): return abs(a - b) hours_1 = int(input()) minutes_1 = int(input()) seconds_1 = int(input()) hours_2 = int(input()) minutes_2 = int(input()) seconds_2 = int(input()...
21.318182
52
0.705757
77
469
4.025974
0.298701
0.154839
0.135484
0
0
0
0
0
0
0
0
0.055416
0.153518
469
21
53
22.333333
0.725441
0.053305
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0
0.153846
0.307692
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ad82be8113236ba6ef1a019056b5a21f96562145
589
py
Python
setup.py
Shadofer/dogey
1d9f1b82aa7ecfe6d9776feb03364ef9eb00bd63
[ "MIT" ]
3
2021-05-18T09:46:30.000Z
2022-03-26T14:23:24.000Z
setup.py
Shadofer/dogey
1d9f1b82aa7ecfe6d9776feb03364ef9eb00bd63
[ "MIT" ]
null
null
null
setup.py
Shadofer/dogey
1d9f1b82aa7ecfe6d9776feb03364ef9eb00bd63
[ "MIT" ]
null
null
null
from setuptools import setup with open('README.md', 'r') as f: long_description = f.read() setup( name = 'dogey', version = '0.1', description = 'A pythonic dogehouse API.', long_description = long_description, long_description_content_type = 'text/markdown', author = 'Shadofer#7312', ...
25.608696
52
0.626486
66
589
5.439394
0.757576
0.167131
0.10585
0.167131
0
0
0
0
0
0
0
0.019565
0.219015
589
22
53
26.772727
0.76087
0
0
0
0
0
0.27674
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ad8464a5e90866608323322de1a9bc098cc0a1d3
476
py
Python
settings/testing.py
skylifewww/artdelo
55d235a59d8a3abdf0f904336c1c75a2be903699
[ "MIT" ]
null
null
null
settings/testing.py
skylifewww/artdelo
55d235a59d8a3abdf0f904336c1c75a2be903699
[ "MIT" ]
null
null
null
settings/testing.py
skylifewww/artdelo
55d235a59d8a3abdf0f904336c1c75a2be903699
[ "MIT" ]
null
null
null
ALLOWED_HOSTS = ['testserver'] EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:' } } CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOC...
22.666667
67
0.596639
41
476
6.878049
0.609756
0.138298
0.180851
0.156028
0.475177
0.475177
0.475177
0.475177
0.475177
0
0
0.002725
0.228992
476
20
68
23.8
0.765668
0
0
0.333333
0
0
0.552521
0.340336
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ad8619a24bcb752efa61539552ec1f87e1e97167
8,140
py
Python
h1/models/billing.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
h1/models/billing.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
h1/models/billing.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
# coding: utf-8 """ HyperOne HyperOne API # noqa: E501 The version of the OpenAPI document: 0.1.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from h1.configuration import Configuration class Billing(object): """NOTE: This class is auto ...
24.741641
189
0.552703
931
8,140
4.73362
0.12782
0.049013
0.106195
0.104152
0.361924
0.309281
0.295893
0.137055
0.062401
0.017245
0
0.019006
0.347174
8,140
328
190
24.817073
0.810312
0.316216
0
0.089655
1
0
0.056765
0
0
0
0
0
0
1
0.165517
false
0
0.027586
0
0.324138
0.013793
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ad8655b4f82e7a25c6632660cfa325c2cad9ee23
645
py
Python
consumers/venv/lib/python3.7/site-packages/faust/cli/faust.py
spencerpomme/Public-Transit-Status-with-Apache-Kafka
2c85d7daadf4614fe7ce2eabcd13ff87236b1c7e
[ "MIT" ]
null
null
null
consumers/venv/lib/python3.7/site-packages/faust/cli/faust.py
spencerpomme/Public-Transit-Status-with-Apache-Kafka
2c85d7daadf4614fe7ce2eabcd13ff87236b1c7e
[ "MIT" ]
null
null
null
consumers/venv/lib/python3.7/site-packages/faust/cli/faust.py
spencerpomme/Public-Transit-Status-with-Apache-Kafka
2c85d7daadf4614fe7ce2eabcd13ff87236b1c7e
[ "MIT" ]
null
null
null
"""Program ``faust`` (umbrella command).""" # Note: The command options above are defined in .cli.base.builtin_options from .agents import agents from .base import call_command, cli from .clean_versions import clean_versions from .completion import completion from .livecheck import livecheck from .model import model f...
21.5
74
0.699225
79
645
5.582278
0.367089
0.088435
0
0
0
0
0
0
0
0
0
0
0.193798
645
29
75
22.241379
0.848077
0.172093
0
0
0
0
0.162879
0
0
0
0
0
0
1
0
false
0
0.44
0
0.44
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ad8c13ec67ec87fbb7e52ba3ef0d5416c7d7a8bc
6,691
py
Python
combine-json.py
efficient/catbench
4f66541efd8318109c4ac150898d60f023e7aba5
[ "Apache-2.0" ]
10
2017-12-12T17:20:41.000Z
2021-05-03T14:40:35.000Z
combine-json.py
efficient/catbench
4f66541efd8318109c4ac150898d60f023e7aba5
[ "Apache-2.0" ]
null
null
null
combine-json.py
efficient/catbench
4f66541efd8318109c4ac150898d60f023e7aba5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import argparse; import os; import sys; import json; def setup_optparse(): parser = argparse.ArgumentParser(); parser.add_argument('--input', '-i', dest='file1', help='json to append to'); parser.add_argument('--append', '-a', nargs='+', dest='files2', ...
46.144828
166
0.567329
836
6,691
4.466507
0.253589
0.024103
0.045528
0.020354
0.17729
0.138457
0.098286
0.084896
0.084896
0.084896
0
0.017965
0.284561
6,691
144
167
46.465278
0.762064
0.010761
0
0.181102
0
0.047244
0.228537
0.006348
0
0
0
0
0
0
null
null
0
0.031496
null
null
0.03937
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ad8c7679c4fcaabd0666e9de8206c186f2f5bf7b
773
py
Python
following.py
yoshualukash/insta-crawler
c2b9b150e4fff70cb03ea49c08fb46ffc8f23dd0
[ "MIT" ]
null
null
null
following.py
yoshualukash/insta-crawler
c2b9b150e4fff70cb03ea49c08fb46ffc8f23dd0
[ "MIT" ]
null
null
null
following.py
yoshualukash/insta-crawler
c2b9b150e4fff70cb03ea49c08fb46ffc8f23dd0
[ "MIT" ]
null
null
null
# Get instance import instaloader import json L = instaloader.Instaloader(max_connection_attempts=0) # Login or load session username = '' password = '' L.login(username, password) # (login) # Obtain profile metadata instagram_target = '' profile = instaloader.Profile.from_username(L.context, ins...
29.730769
83
0.720569
93
773
5.784946
0.451613
0.120818
0.063197
0.104089
0.118959
0
0
0
0
0
0
0.004651
0.165589
773
26
84
29.730769
0.829457
0.085382
0
0
0
0
0.109145
0
0
0
0
0
0
1
0
false
0.105263
0.105263
0
0.105263
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ad97e5e6daa0d77eaf62c07024df8c1d58d486a8
2,450
py
Python
PiCN/Layers/PacketEncodingLayer/BasicPacketEncodingLayer.py
NikolaiRutz/PiCN
7775c61caae506a88af2e4ec34349e8bd9098459
[ "BSD-3-Clause" ]
null
null
null
PiCN/Layers/PacketEncodingLayer/BasicPacketEncodingLayer.py
NikolaiRutz/PiCN
7775c61caae506a88af2e4ec34349e8bd9098459
[ "BSD-3-Clause" ]
null
null
null
PiCN/Layers/PacketEncodingLayer/BasicPacketEncodingLayer.py
NikolaiRutz/PiCN
7775c61caae506a88af2e4ec34349e8bd9098459
[ "BSD-3-Clause" ]
null
null
null
""" De- and Encoding Layer, using a predefined Encoder """ import multiprocessing from PiCN.Layers.PacketEncodingLayer.Encoder import BasicEncoder from PiCN.Processes import LayerProcess class BasicPacketEncodingLayer(LayerProcess): """ De- and Encoding Layer, using a predefined Encoder """ def __init__(sel...
38.888889
110
0.655102
308
2,450
5.064935
0.25
0.057692
0.053846
0.023077
0.415385
0.387179
0.303846
0.266667
0.214103
0.214103
0
0.004857
0.243673
2,450
62
111
39.516129
0.837021
0.084898
0
0.212766
0
0
0.126349
0
0
0
0
0.016129
0
1
0.170213
false
0
0.06383
0.021277
0.468085
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ad9f4705eca81ea52720a66a8b32f82f6946af08
11,392
py
Python
tools/launcher.py
agentx-cgn/Hannibal
8157261c28bd67755dad38ef6b7862d1b736e644
[ "JasPer-2.0" ]
189
2015-01-10T07:35:16.000Z
2021-05-05T08:21:22.000Z
tools/launcher.py
agentx-cgn/Hannibal
8157261c28bd67755dad38ef6b7862d1b736e644
[ "JasPer-2.0" ]
6
2015-02-02T19:18:34.000Z
2017-12-07T11:19:23.000Z
tools/launcher.py
agentx-cgn/Hannibal
8157261c28bd67755dad38ef6b7862d1b736e644
[ "JasPer-2.0" ]
15
2016-03-14T12:27:59.000Z
2020-04-28T23:24:05.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' https://docs.python.org/2/library/subprocess.html#popen-objects http://stackoverflow.com/questions/1606795/catching-stdout-in-realtime-from-subprocess http://askubuntu.com/questions/458041/find-x-window-name http://stackoverflow.com/questions/9681959/how-can-i-use-xdot...
30.297872
122
0.545207
1,405
11,392
4.409964
0.288968
0.029051
0.009038
0.010329
0.245642
0.208522
0.176727
0.145255
0.104584
0.092318
0
0.033894
0.269663
11,392
375
123
30.378667
0.710817
0.152475
0
0.224215
0
0
0.182369
0.025737
0
0
0
0
0
0
null
null
0.03139
0.013453
null
null
0.06278
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ada0c87b43dddcb6a0efe0af0db1a22cebfdc36f
26,826
py
Python
sdscli/adapters/hysds/configure.py
sdskit/sdscli
9bb96e880c8251d1dce56b901c1289ed80f83ce7
[ "Apache-2.0" ]
null
null
null
sdscli/adapters/hysds/configure.py
sdskit/sdscli
9bb96e880c8251d1dce56b901c1289ed80f83ce7
[ "Apache-2.0" ]
24
2018-03-14T15:37:38.000Z
2021-11-30T21:59:44.000Z
sdscli/adapters/hysds/configure.py
sdskit/sdscli
9bb96e880c8251d1dce56b901c1289ed80f83ce7
[ "Apache-2.0" ]
13
2018-02-22T15:01:35.000Z
2019-02-07T18:58:57.000Z
""" Configuration for HySDS cluster. """ from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from builtins import open from builtins import str from future import standard_library standard_library.install_aliases() import...
38.213675
114
0.456348
2,705
26,826
4.251756
0.099076
0.018694
0.045909
0.05843
0.725415
0.681593
0.615077
0.560299
0.512129
0.512129
0
0.00616
0.42511
26,826
701
115
38.268188
0.739593
0.013494
0
0.47541
0
0.001639
0.265191
0.041279
0
0
0
0
0
1
0.003279
false
0.078689
0.039344
0
0.044262
0.019672
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a8ded0f79cfee5cbfebfd883ed9fb8314fcc5c0e
161
py
Python
internetarchive/spew-shelf.py
wumpus/visigoth-data
6887937f4547a5c8a9b52c5a0e75cb258cc55c97
[ "Apache-2.0" ]
1
2019-02-18T19:34:24.000Z
2019-02-18T19:34:24.000Z
internetarchive/spew-shelf.py
wumpus/visigoth-data
6887937f4547a5c8a9b52c5a0e75cb258cc55c97
[ "Apache-2.0" ]
null
null
null
internetarchive/spew-shelf.py
wumpus/visigoth-data
6887937f4547a5c8a9b52c5a0e75cb258cc55c97
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import shelve import sys for f in sys.argv[1:]: with shelve.open(f, flag='r') as d: for k in d: print(k,d[k])
13.416667
39
0.552795
30
161
2.966667
0.666667
0
0
0
0
0
0
0
0
0
0
0.017699
0.298137
161
11
40
14.636364
0.769912
0.130435
0
0
0
0
0.007299
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a8dfd18189d8ca071a33df8e68b7e90fd7a7c3a0
2,666
py
Python
pi88reader/pi88_to_excel.py
natter1/pi88reader
9698b25c3df0f1175fcbcec6c6ab22f6fe3aca6b
[ "MIT" ]
null
null
null
pi88reader/pi88_to_excel.py
natter1/pi88reader
9698b25c3df0f1175fcbcec6c6ab22f6fe3aca6b
[ "MIT" ]
null
null
null
pi88reader/pi88_to_excel.py
natter1/pi88reader
9698b25c3df0f1175fcbcec6c6ab22f6fe3aca6b
[ "MIT" ]
null
null
null
""" todo: check pandas """ from openpyxl import Workbook from openpyxl.styles import Font from pi88reader.pi88_importer import PI88Measurement, SegmentType def main(): filename = '..\\resources\\quasi_static_12000uN.tdm' filename = '..\\resources\\AuSn_Creep\\1000uN 01 LC.tdm' measurement = PI88Measureme...
32.91358
75
0.626782
360
2,666
4.477778
0.222222
0.044665
0.039082
0.054591
0.489454
0.352978
0.292184
0.129032
0.043424
0.043424
0
0.025616
0.23856
2,666
80
76
33.325
0.768473
0.091523
0
0.107143
0
0
0.053112
0.029876
0
0
0
0.0125
0
1
0.142857
false
0
0.053571
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a8e1a924cdbc26ab3a5fbd0dc19d7a202d15d1ad
55,228
py
Python
caffe_files/caffe_traininglayers.py
excalib/interactive-deep-colorization
8247da3cc83e54201b20d5a67b997120bb368436
[ "MIT" ]
1
2021-03-26T14:42:01.000Z
2021-03-26T14:42:01.000Z
caffe_files/caffe_traininglayers.py
SleepProgger/interactive-deep-colorization
8247da3cc83e54201b20d5a67b997120bb368436
[ "MIT" ]
null
null
null
caffe_files/caffe_traininglayers.py
SleepProgger/interactive-deep-colorization
8247da3cc83e54201b20d5a67b997120bb368436
[ "MIT" ]
1
2017-09-13T15:36:23.000Z
2017-09-13T15:36:23.000Z
# ************************************** # ***** Richard Zhang / 2016.08.06 ***** # ************************************** import numpy as np import warnings import os import sklearn.neighbors as nn import caffe from skimage import color import matplotlib.pyplot as plt import math import platform import cv2 import rz_f...
37.931319
226
0.573405
8,136
55,228
3.757006
0.078048
0.022246
0.031668
0.031406
0.67815
0.636732
0.604017
0.578892
0.559852
0.540518
0
0.0216
0.269863
55,228
1,456
227
37.931319
0.736435
0.148783
0
0.613786
0
0.001094
0.031832
0.000516
0
0
0
0
0
0
null
null
0
0.012035
null
null
0.017505
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a8e65d0852311bd81e04a9f8be156d61168eac0b
1,222
py
Python
seq_util/pull_longest_seq_from_img_fa.py
fandemonium/code
4498f97658c146de8e693776e05bedeaaf2d5a1d
[ "MIT" ]
2
2017-12-25T09:14:52.000Z
2021-05-18T06:39:26.000Z
seq_util/pull_longest_seq_from_img_fa.py
fandemonium/code
4498f97658c146de8e693776e05bedeaaf2d5a1d
[ "MIT" ]
1
2018-09-29T22:34:30.000Z
2018-09-29T22:34:30.000Z
seq_util/pull_longest_seq_from_img_fa.py
fandemonium/code
4498f97658c146de8e693776e05bedeaaf2d5a1d
[ "MIT" ]
1
2015-01-30T20:29:25.000Z
2015-01-30T20:29:25.000Z
import sys from Bio import SeqIO import operator # 1. get genome img_oid from the genecart text file # 2. create gene sequence dictionary # 3. add genome img_oid to the gene sequence dictionary # 4. for genes from the same organism, pull the longest sequence out gene_cart = open(sys.argv[1], 'rU') firstline = gene_c...
28.418605
144
0.673486
202
1,222
3.856436
0.341584
0.071887
0.08344
0.06932
0.080873
0
0
0
0
0
0
0.013131
0.189853
1,222
42
145
29.095238
0.773737
0.167758
0
0.16129
0
0
0.018793
0
0
0
0
0
0
0
null
null
0
0.096774
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
0
0
0
0
0
0
1
a8ebb8c7ba04d8c8e2be86842c467f1340eb08b4
3,223
py
Python
ZZZ/DES/match_bliss.py
ivmfnal/striped
eef1a4d544fa1b97fde39d7ee5ef779071218891
[ "BSD-3-Clause" ]
1
2019-07-01T15:19:43.000Z
2019-07-01T15:19:43.000Z
ZZZ/DES/match_bliss.py
ivmfnal/striped
eef1a4d544fa1b97fde39d7ee5ef779071218891
[ "BSD-3-Clause" ]
null
null
null
ZZZ/DES/match_bliss.py
ivmfnal/striped
eef1a4d544fa1b97fde39d7ee5ef779071218891
[ "BSD-3-Clause" ]
1
2020-04-21T21:18:01.000Z
2020-04-21T21:18:01.000Z
from striped.common import Tracer T = Tracer() with T["run"]: with T["imports"]: from striped.job import SinglePointStripedSession as Session import numpy as np from numpy.lib.recfunctions import append_fields impor...
39.790123
131
0.501396
346
3,223
4.49711
0.378613
0.069409
0.030848
0.028278
0
0
0
0
0
0
0
0.031563
0.380701
3,223
80
132
40.2875
0.747996
0.021719
0
0
0
0
0.160356
0.016863
0
0
0
0
0
0
null
null
0
0.122807
null
null
0.175439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a8ec95c8cb86838f72fe414c4922ade690fedb2c
4,509
py
Python
materials-downloader.py
goDoCer/imperial-computing-materials-downloader
7ab906d3b2720d1f7739c50908a367d4a6d3155e
[ "MIT" ]
10
2020-11-02T12:27:16.000Z
2020-12-23T05:31:03.000Z
materials-downloader.py
prnvbn/imperial-computing-materials-downloader
7ab906d3b2720d1f7739c50908a367d4a6d3155e
[ "MIT" ]
null
null
null
materials-downloader.py
prnvbn/imperial-computing-materials-downloader
7ab906d3b2720d1f7739c50908a367d4a6d3155e
[ "MIT" ]
null
null
null
import sys import os import json import subprocess import datetime as dt sys.path.insert(1, './lib') from config import * from webhelpers import * from argsparser import * from getpass import getpass from distutils.dir_util import remove_tree, copy_tree from selenium import webdriver from selenium.webdriver.chrome.op...
30.466216
88
0.569306
493
4,509
5.089249
0.342799
0.051813
0.038262
0.047828
0.062973
0.02232
0
0
0
0
0
0.002747
0.273453
4,509
147
89
30.673469
0.763126
0.030384
0
0.141593
0
0
0.226976
0.050761
0
0
0
0
0
1
0
false
0.079646
0.115044
0
0.115044
0.123894
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a8ed6afe97f49d0c92eeaeda111ff0c3ba602a10
16,551
py
Python
PoliCmm/src/parser.py
jutge-org/cpp2many
2d2fb1784f2515b3c1a1056e163640e556331766
[ "MIT" ]
4
2018-04-06T00:18:20.000Z
2021-10-11T20:25:38.000Z
PoliCmm/src/parser.py
jutge-org/cpp2many
2d2fb1784f2515b3c1a1056e163640e556331766
[ "MIT" ]
1
2019-02-27T17:04:43.000Z
2019-02-28T08:25:12.000Z
PoliCmm/src/parser.py
jutge-org/cpp2many
2d2fb1784f2515b3c1a1056e163640e556331766
[ "MIT" ]
4
2019-02-27T17:05:17.000Z
2021-03-12T10:36:04.000Z
import ply.lex as lex import ply.yacc as yacc import lexer import sys import ast tokens = lexer.tokens precedence = ( ('right', 'ELSE'), ) def p_start (t): '''start : program''' t[0] = t[1] def p_program_01 (t): '''program : program_part''' t[0] = ast.Program(t[1]) def p_program_02 (t): ...
21.921854
114
0.638995
2,422
16,551
4.129645
0.098266
0.025995
0.033993
0.034793
0.426115
0.330234
0.280444
0.218256
0.192462
0.153369
0
0.040299
0.208386
16,551
754
115
21.950928
0.723096
0.069241
0
0.286738
0
0
0.008567
0
0
0
0
0
0
0
null
null
0.003584
0.017921
null
null
0.007168
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a8f6ec64b56c58fb68898e4ec50ed4fb8d84702a
431
py
Python
week08/states_utils.py
thashmadech/is445_spring2022
034f71ca545bf06fb2491d818ceb3f8dd6bba8b7
[ "BSD-3-Clause" ]
1
2019-08-11T04:03:24.000Z
2019-08-11T04:03:24.000Z
week08/states_utils.py
thashmadech/is445_spring2022
034f71ca545bf06fb2491d818ceb3f8dd6bba8b7
[ "BSD-3-Clause" ]
1
2020-03-02T00:11:33.000Z
2020-03-02T00:11:33.000Z
week08/states_utils.py
thashmadech/is445_spring2022
034f71ca545bf06fb2491d818ceb3f8dd6bba8b7
[ "BSD-3-Clause" ]
5
2022-01-30T19:45:48.000Z
2022-03-07T04:15:37.000Z
import numpy as np def get_ids_and_names(states_map): ids = [] state_names = [] state_data_vec = states_map.map_data['objects']['subunits']['geometries'] for i in range(len(state_data_vec)): if state_data_vec[i]['properties'] is not None: state_names.append(state_data_vec[i]['propert...
39.181818
77
0.663573
65
431
4.107692
0.492308
0.168539
0.224719
0.146067
0.265918
0
0
0
0
0
0
0
0.187935
431
10
78
43.1
0.762857
0
0
0
0
0
0.118329
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d100ae3537b01cb4189c0cbb205089a37a69ed98
14,136
py
Python
flybrainlab/utilities/neurometry.py
FlyBrainLab/FBLClient
c85de23d428a38fe13491b2f5eb30b690610108e
[ "BSD-3-Clause" ]
3
2020-07-23T05:51:22.000Z
2021-12-24T11:40:30.000Z
flybrainlab/utilities/neurometry.py
FlyBrainLab/FBLClient
c85de23d428a38fe13491b2f5eb30b690610108e
[ "BSD-3-Clause" ]
3
2020-07-31T05:08:35.000Z
2021-01-08T17:55:16.000Z
flybrainlab/utilities/neurometry.py
FlyBrainLab/FBLClient
c85de23d428a38fe13491b2f5eb30b690610108e
[ "BSD-3-Clause" ]
1
2019-02-03T02:03:00.000Z
2019-02-03T02:03:00.000Z
import pandas as pd import numpy as np from scipy.spatial.distance import pdist from sklearn.metrics import pairwise_distances import networkx as nx def generate_neuron_stats(_input, scale = 'mum', scale_coefficient = 1., log=False): """Generates statistics for a given neuron. # Arguments: _input ...
44.037383
286
0.599392
2,008
14,136
4.046315
0.114542
0.0224
0.016738
0.010831
0.662646
0.640246
0.622523
0.593846
0.5632
0.544738
0
0.016045
0.276952
14,136
321
287
44.037383
0.778887
0.225311
0
0.534188
1
0
0.059831
0
0
0
0
0
0
1
0.025641
false
0
0.021368
0
0.07265
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d104b69824ddd7c1f8640b233b546c4955e4df9d
4,021
py
Python
extensions/customer_action.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
null
null
null
extensions/customer_action.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
1
2019-07-03T13:32:38.000Z
2019-07-03T13:32:38.000Z
extensions/customer_action.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
1
2019-05-15T16:01:31.000Z
2019-05-15T16:01:31.000Z
#! /usr/bin/python # Copyright (C) 2006 Dr. Ralf Schlatterbeck Open Source Consulting. # Reichergasse 131, A-3411 Weidling. # Web: http://www.runtux.com Email: office@runtux.com # All rights reserved # **************************************************************************** # This program is free software; you can ...
38.663462
79
0.605073
472
4,021
5.069915
0.447034
0.032177
0.023402
0.023819
0.08107
0.054325
0
0
0
0
0
0.006693
0.256901
4,021
103
80
39.038835
0.794177
0.294454
0
0.035714
0
0
0.122634
0.032334
0
0
0
0
0.017857
0
null
null
0
0.125
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d104ca6c9b0546b1e6e69454841d4fb7d4af63b5
7,018
py
Python
layouts/window_profile.py
TkfleBR/PyManager
d57f6cced4932d03b51902cbcf4d9b217c67bd3c
[ "MIT" ]
null
null
null
layouts/window_profile.py
TkfleBR/PyManager
d57f6cced4932d03b51902cbcf4d9b217c67bd3c
[ "MIT" ]
null
null
null
layouts/window_profile.py
TkfleBR/PyManager
d57f6cced4932d03b51902cbcf4d9b217c67bd3c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'window_profile.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QMainWindow class Profile(QMainWindow): d...
53.572519
78
0.708891
788
7,018
6.175127
0.126904
0.081381
0.120838
0.099877
0.523839
0.336005
0.017263
0.017263
0
0
0
0.032141
0.175406
7,018
130
79
53.984615
0.808709
0.026646
0
0
1
0
0.068875
0
0
0
0
0
0
1
0.016949
false
0.016949
0.016949
0
0.042373
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d106a8e65c56d421953b12f1ee56992d0d42670b
2,546
py
Python
tests/create_test_db.py
TargetProcess/duro
3e70c17aed3d6d8714c94f0dfda539969d22157a
[ "MIT" ]
4
2020-01-31T13:54:51.000Z
2020-04-17T15:53:02.000Z
tests/create_test_db.py
TargetProcess/duro
3e70c17aed3d6d8714c94f0dfda539969d22157a
[ "MIT" ]
null
null
null
tests/create_test_db.py
TargetProcess/duro
3e70c17aed3d6d8714c94f0dfda539969d22157a
[ "MIT" ]
1
2020-04-14T12:32:08.000Z
2020-04-14T12:32:08.000Z
import sqlite3 ddl = """ create table commits ( hash text, processed integer ); create table tables ( table_name text, query text, interval integer, config text, last_created integer, mean real, times_run integer, force integer, started integer, deleted integer, wai...
27.376344
122
0.689709
329
2,546
5.237082
0.291793
0.130006
0.146257
0.130006
0.410911
0.410911
0.367963
0.367963
0.367963
0.355194
0
0.104485
0.176748
2,546
92
123
27.673913
0.717557
0
0
0.2625
0
0.0375
0.98154
0.025923
0
0
0
0
0
1
0
false
0
0.0125
0
0.0125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d11150f9da78258d94fd1eac873f91d70d526a04
1,098
py
Python
alphatwirl/parallel/parallel.py
shane-breeze/AlphaTwirl
59dbd5348af31d02e133d43fd5bfaad6b99a155e
[ "BSD-3-Clause" ]
null
null
null
alphatwirl/parallel/parallel.py
shane-breeze/AlphaTwirl
59dbd5348af31d02e133d43fd5bfaad6b99a155e
[ "BSD-3-Clause" ]
7
2018-02-26T10:32:26.000Z
2018-03-19T12:27:12.000Z
alphatwirl/parallel/parallel.py
shane-breeze/AlphaTwirl
59dbd5348af31d02e133d43fd5bfaad6b99a155e
[ "BSD-3-Clause" ]
null
null
null
# Tai Sakuma <tai.sakuma@gmail.com> ##__________________________________________________________________|| class Parallel(object): def __init__(self, progressMonitor, communicationChannel, workingarea=None): self.progressMonitor = progressMonitor self.communicationChannel = communicationChannel ...
32.294118
80
0.65847
81
1,098
7.049383
0.358025
0.166375
0.136602
0
0
0
0
0
0
0
0
0
0.23133
1,098
33
81
33.272727
0.67654
0.153916
0
0
0
0
0.066089
0
0
0
0
0
0
1
0.217391
false
0
0
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d1170ce42494e908356aac4f4b85a5adc8b67a14
2,814
py
Python
CNN.py
psmishra7/CryptocurrencyPrediction
96f85ba45d1acbd531ad86f7f9ba32b9acd3ddaf
[ "MIT" ]
null
null
null
CNN.py
psmishra7/CryptocurrencyPrediction
96f85ba45d1acbd531ad86f7f9ba32b9acd3ddaf
[ "MIT" ]
null
null
null
CNN.py
psmishra7/CryptocurrencyPrediction
96f85ba45d1acbd531ad86f7f9ba32b9acd3ddaf
[ "MIT" ]
null
null
null
import pandas as pd import numpy as numpy from keras.models import Sequential from keras.layers import Dense, Dropout, Activation, Flatten from keras.layers import Conv1D, MaxPooling1D, LeakyReLU, PReLU from keras.utils import np_utils from keras.callbacks import CSVLogger, ModelCheckpoint import h5py import os import ...
33.105882
328
0.767235
428
2,814
4.871495
0.308411
0.080576
0.060432
0.069065
0.363549
0.3506
0.3506
0.3506
0.3506
0.332374
0
0.03642
0.0828
2,814
84
329
33.5
0.771406
0.076759
0
0
0
0
0.125934
0.058654
0
0
0
0
0
1
0
false
0
0.305556
0
0.305556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d1183372da6062d23499982cf0b0d29bf10d59d1
3,260
py
Python
openqemist/tests/problem_decomposition/dmet/test_dmet_orbitals.py
1QB-Information-Technologies/openqemist
e2ab887af31d78d03dcb92cfa3a0705b2436823d
[ "Apache-2.0" ]
35
2019-05-31T22:37:23.000Z
2022-01-06T12:01:18.000Z
openqemist/tests/problem_decomposition/dmet/test_dmet_orbitals.py
rickyHong/1Qbit-QEMIST-repl
863fafdbc5bcd2c267b6a57dfa06b050aa053a6d
[ "Apache-2.0" ]
2
2021-03-23T22:34:23.000Z
2021-06-23T13:09:46.000Z
openqemist/tests/problem_decomposition/dmet/test_dmet_orbitals.py
rickyHong/1Qbit-QEMIST-repl
863fafdbc5bcd2c267b6a57dfa06b050aa053a6d
[ "Apache-2.0" ]
10
2019-06-06T23:14:18.000Z
2021-12-02T21:56:13.000Z
# Copyright 2019 1QBit # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.629213
134
0.632822
494
3,260
4.095142
0.489879
0.029659
0.012852
0.015818
0
0
0
0
0
0
0
0.206882
0.277914
3,260
88
135
37.045455
0.652506
0.314724
0
0
0
0
0.517825
0.022852
0
0
0
0
0.019231
1
0.038462
false
0
0.115385
0
0.192308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1192c11dd7c40a7a80b9ec12ae3bec4e88c356a
1,684
py
Python
books/techno/python/programming_python_4_ed_m_lutz/code/chapter_8/13_binding_events/bind.py
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
1
2017-05-04T08:23:46.000Z
2017-05-04T08:23:46.000Z
books/techno/python/programming_python_4_ed_m_lutz/code/chapter_8/13_binding_events/bind.py
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
null
null
null
books/techno/python/programming_python_4_ed_m_lutz/code/chapter_8/13_binding_events/bind.py
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
null
null
null
from tkinter import * def showPosEvent(event): print('Widget ={} X={} Y={}'.format(event.widget, event.x, event.y)) def showAllEvent(event): print(event) for attr in dir(event): if not attr.startswith('__'): print(attr, '=>', getattr(event, attr)) def onKeyPress(event): ...
27.16129
73
0.644893
202
1,684
5.366337
0.386139
0.092251
0.095941
0.092251
0.146679
0.146679
0.071956
0
0
0
0
0.007391
0.196556
1,684
61
74
27.606557
0.793792
0
0
0.104167
0
0
0.210105
0
0
0
0
0
0
1
0.208333
false
0
0.020833
0
0.229167
0.229167
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d1195e5aa794a4828c802143266203e6d6782d92
553
py
Python
week9/api/migrations/0002_auto_20200324_1713.py
yestemir/web
5bdead66c26a3c466701e25ecae9720f04ad4118
[ "Unlicense" ]
null
null
null
week9/api/migrations/0002_auto_20200324_1713.py
yestemir/web
5bdead66c26a3c466701e25ecae9720f04ad4118
[ "Unlicense" ]
13
2021-03-10T08:46:52.000Z
2022-03-02T08:13:58.000Z
week9/api/migrations/0002_auto_20200324_1713.py
yestemir/web
5bdead66c26a3c466701e25ecae9720f04ad4118
[ "Unlicense" ]
null
null
null
# Generated by Django 3.0.4 on 2020-03-24 11:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0001_initial'), ] operations = [ migrations.AddField( model_name='products', name='category', fie...
23.041667
73
0.56962
54
553
5.759259
0.703704
0.057878
0.109325
0.135048
0
0
0
0
0
0
0
0.060052
0.307414
553
23
74
24.043478
0.751958
0.081374
0
0.235294
1
0
0.118577
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d11ca10c2506a5eec12ca314bb1040463209b759
2,825
py
Python
tutos/institutions/views.py
UVG-Teams/Tutos-System
230dd9434f745c2e6e69e10f9908e9818c559d03
[ "MIT" ]
null
null
null
tutos/institutions/views.py
UVG-Teams/Tutos-System
230dd9434f745c2e6e69e10f9908e9818c559d03
[ "MIT" ]
null
null
null
tutos/institutions/views.py
UVG-Teams/Tutos-System
230dd9434f745c2e6e69e10f9908e9818c559d03
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework import viewsets from institutions.models import Institution, Career, Course from institutions.serializers import InstitutionSerializer, CareerSerializer, CourseSerializer from permissions.services import APIPermissionClassFactory class InstitutionViewSet(viewse...
38.175676
94
0.572743
230
2,825
6.9
0.217391
0.113422
0.102079
0.249527
0.541273
0.541273
0.541273
0.541273
0.541273
0.541273
0
0
0.339469
2,825
73
95
38.69863
0.850482
0
0
0.553846
0
0
0.07932
0.007436
0
0
0
0
0
1
0
false
0
0.076923
0
0.261538
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d11e05aec66f3501ed77fd7b7c80b254c9a474b3
4,923
py
Python
vendor/guardian/tests/decorators_test.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
5
2015-12-05T15:39:51.000Z
2020-09-16T20:14:29.000Z
vendor/guardian/tests/decorators_test.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
null
null
null
vendor/guardian/tests/decorators_test.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
2
2019-11-23T17:47:46.000Z
2022-01-14T11:05:21.000Z
from django.test import TestCase from django.contrib.auth.models import User, Group, AnonymousUser from django.http import HttpRequest from django.http import HttpResponse from django.http import HttpResponseForbidden from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404 from guar...
33.719178
79
0.630713
527
4,923
5.675522
0.250474
0.051153
0.069542
0.053828
0.393514
0.334336
0.289535
0.241391
0.199264
0.164493
0
0.009812
0.275442
4,923
145
80
33.951724
0.828708
0
0
0.292035
0
0
0.142219
0.014425
0
0
0
0
0.053097
1
0.159292
false
0.053097
0.088496
0.035398
0.327434
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d11f4b63fbf5bd854138ff819170bf1b5bcc07d8
1,532
py
Python
poky/meta/lib/oeqa/sdk/cases/gcc.py
buildlinux/unityos
dcbe232d0589013d77a62c33959d6a69f9bfbc5e
[ "Apache-2.0" ]
1
2020-01-13T13:16:52.000Z
2020-01-13T13:16:52.000Z
poky/meta/lib/oeqa/sdk/cases/gcc.py
buildlinux/unityos
dcbe232d0589013d77a62c33959d6a69f9bfbc5e
[ "Apache-2.0" ]
3
2019-11-20T02:53:01.000Z
2019-12-26T03:00:15.000Z
sources/poky/meta/lib/oeqa/sdk/cases/gcc.py
zwg0106/imx-yocto
e378ca25352a59d1ef84ee95f3386b7314f4565b
[ "MIT" ]
null
null
null
import os import shutil import unittest from oeqa.core.utils.path import remove_safe from oeqa.sdk.case import OESDKTestCase class GccCompileTest(OESDKTestCase): td_vars = ['MACHINE'] @classmethod def setUpClass(self): files = {'test.c' : self.tc.files_dir, 'test.cpp' : self.tc.files_dir, ...
34.818182
107
0.611619
220
1,532
4.136364
0.290909
0.092308
0.098901
0.118681
0.243956
0.243956
0.243956
0.192308
0.141758
0.141758
0
0.000865
0.245431
1,532
43
108
35.627907
0.786332
0
0
0.117647
0
0
0.196475
0.019582
0
0
0
0
0
1
0.205882
false
0
0.147059
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d1214c4589f598426173369d768239200b8619fe
2,079
py
Python
module/server/view/login/routes.py
antkrit/project
89172be482a640fe656c45a1c35ea1242cd98347
[ "MIT" ]
null
null
null
module/server/view/login/routes.py
antkrit/project
89172be482a640fe656c45a1c35ea1242cd98347
[ "MIT" ]
1
2021-05-20T18:15:46.000Z
2021-05-21T14:27:47.000Z
module/server/view/login/routes.py
antkrit/project
89172be482a640fe656c45a1c35ea1242cd98347
[ "MIT" ]
null
null
null
"""Define the route of the login form""" from flask import ( render_template, redirect, url_for, request, current_app, session, flash, ) from flask_login import current_user, login_user, logout_user from module.server import messages from module.server.models.user import User from module.se...
34.65
117
0.64406
276
2,079
4.724638
0.315217
0.059049
0.075153
0.092025
0.162577
0.162577
0.162577
0.110429
0.110429
0.110429
0
0
0.251082
2,079
59
118
35.237288
0.837508
0.232804
0
0.153846
0
0
0.122489
0
0
0
0
0
0
1
0.051282
false
0.051282
0.128205
0
0.358974
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d123bf2051577f1b1d94b482d255562a77a61f9a
1,262
py
Python
config/qtile/Managers/LayoutManager.py
dat-adi/Dotfiles
7a541aba2bbdd88736bebc9e82f6921ab4a3e03b
[ "Apache-2.0" ]
2
2021-05-06T15:58:29.000Z
2021-10-02T14:12:08.000Z
config/qtile/Managers/LayoutManager.py
dat-adi/dotfiles
7a541aba2bbdd88736bebc9e82f6921ab4a3e03b
[ "Apache-2.0" ]
null
null
null
config/qtile/Managers/LayoutManager.py
dat-adi/dotfiles
7a541aba2bbdd88736bebc9e82f6921ab4a3e03b
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- from libqtile import layout def get_layouts(): layout_theme = { "border_width": 2, "margin": 8, "border_focus": "#F0F0F0", "border_normal": "#1D233F", } layouts = [ # layout.Bsp(), # layout.MonadWide(), # layout.Tile(**layout_...
26.291667
60
0.510301
122
1,262
5.057377
0.57377
0.142626
0.192869
0
0
0
0
0
0
0
0
0.06135
0.3542
1,262
47
61
26.851064
0.695706
0.118859
0
0
0
0
0.112319
0
0
0
0
0
0
1
0.027778
false
0
0.027778
0
0.083333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d12a7191b4c49b6eb3dffbf58c4bda9e9deb59fa
682
py
Python
src/python/WMCore/WMBS/MySQL/Locations/ListSites.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
1
2015-02-05T13:43:46.000Z
2015-02-05T13:43:46.000Z
src/python/WMCore/WMBS/MySQL/Locations/ListSites.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
1
2016-10-13T14:57:35.000Z
2016-10-13T14:57:35.000Z
src/python/WMCore/WMBS/MySQL/Locations/ListSites.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ _ListSites_ MySQL implementation of Locations.ListSites """ __all__ = [] from WMCore.Database.DBFormatter import DBFormatter import logging class ListSites(DBFormatter): sql = "SELECT site_name FROM wmbs_location" def format(self, results): if len(results) == 0: ...
19.485714
92
0.618768
75
682
5.52
0.6
0.082126
0
0
0
0
0
0
0
0
0
0.006061
0.274194
682
34
93
20.058824
0.830303
0.112903
0
0
0
0
0.058626
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d12f9186081828c736de8dcb09176bf8a7fdf2c8
584
py
Python
src/python/test.py
jdrprod/miniBlock
c233dae5380a851e85d78d297e560833b81cf6b8
[ "MIT" ]
null
null
null
src/python/test.py
jdrprod/miniBlock
c233dae5380a851e85d78d297e560833b81cf6b8
[ "MIT" ]
null
null
null
src/python/test.py
jdrprod/miniBlock
c233dae5380a851e85d78d297e560833b81cf6b8
[ "MIT" ]
null
null
null
from cheater import * from main import * # new Chain instance with # mining difficulty = 4 c = Chain(4) c.createGenesis() # simulate transactions c.addBlock(Block("3$ to Arthur")) c.addBlock(Block("5$ to Bob")) c.addBlock(Block("12$ to Jean")) c.addBlock(Block("7$ to Jake")) c.addBlock(Block("2$ to Camille")) c.addBl...
18.83871
40
0.693493
93
584
4.354839
0.526882
0.155556
0.241975
0.128395
0
0
0
0
0
0
0
0.031746
0.136986
584
30
41
19.466667
0.771825
0.244863
0
0.125
0
0
0.207852
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d131ead143f7ae14b44aa50e156995d7274d1c57
3,991
py
Python
mindwavemobile/MindwaveMobileRawReader.py
martinezmizael/Escribir-con-la-mente
f93456bc2ff817cf0ae808a0f711168f82e142ff
[ "MIT" ]
null
null
null
mindwavemobile/MindwaveMobileRawReader.py
martinezmizael/Escribir-con-la-mente
f93456bc2ff817cf0ae808a0f711168f82e142ff
[ "MIT" ]
null
null
null
mindwavemobile/MindwaveMobileRawReader.py
martinezmizael/Escribir-con-la-mente
f93456bc2ff817cf0ae808a0f711168f82e142ff
[ "MIT" ]
null
null
null
import bluetooth import time import textwrap class MindwaveMobileRawReader: START_OF_PACKET_BYTE = 0xaa; def __init__(self, address=None): self._buffer = []; self._bufferPosition = 0; self._isConnected = False; self._mindwaveMobileAddress = address def connectToMin...
38.747573
106
0.636181
347
3,991
7.149856
0.391931
0.072551
0.033857
0.056429
0.070536
0.058041
0.0395
0
0
0
0
0.006485
0.265848
3,991
102
107
39.127451
0.840273
0.109246
0
0.026316
0
0
0.080654
0
0
0
0.001128
0
0
0
null
null
0
0.039474
null
null
0.065789
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d1367794248b2e3c030b18062325fb8aedea6ff8
4,020
py
Python
src/primaires/perso/commandes/prompt/__init__.py
stormi/tsunami
bdc853229834b52b2ee8ed54a3161a1a3133d926
[ "BSD-3-Clause" ]
null
null
null
src/primaires/perso/commandes/prompt/__init__.py
stormi/tsunami
bdc853229834b52b2ee8ed54a3161a1a3133d926
[ "BSD-3-Clause" ]
null
null
null
src/primaires/perso/commandes/prompt/__init__.py
stormi/tsunami
bdc853229834b52b2ee8ed54a3161a1a3133d926
[ "BSD-3-Clause" ]
null
null
null
# -*-coding:Utf-8 -* # Copyright (c) 2010 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # lis...
42.765957
79
0.732587
568
4,020
5.163732
0.512324
0.017047
0.011592
0.015684
0.062734
0.046369
0.046369
0.046369
0.046369
0.046369
0
0.003433
0.202985
4,020
93
80
43.225806
0.911985
0.43408
0
0
0
0.043478
0.776629
0
0
0
0
0
0
1
0.043478
false
0
0.065217
0
0.130435
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d13da41b3a4f220e015d9e442ca5b4d723221a8a
299
py
Python
xml_to_text.py
EvanHahn/xml-to-text
4c064e8df978a9f857045e44b6665ce6a5f6f1af
[ "Unlicense" ]
1
2015-01-23T19:28:56.000Z
2015-01-23T19:28:56.000Z
xml_to_text.py
EvanHahn/xml-to-text
4c064e8df978a9f857045e44b6665ce6a5f6f1af
[ "Unlicense" ]
null
null
null
xml_to_text.py
EvanHahn/xml-to-text
4c064e8df978a9f857045e44b6665ce6a5f6f1af
[ "Unlicense" ]
1
2021-05-26T12:34:59.000Z
2021-05-26T12:34:59.000Z
#!/usr/bin/env python from sys import argv from bs4 import BeautifulSoup def xml_to_text(file): return BeautifulSoup(file).get_text() if __name__ == "__main__": if len(argv) < 2: print "What file should I get plain text from?" exit(1) print xml_to_text(open(argv[1]))
21.357143
55
0.672241
47
299
4
0.638298
0.053191
0.095745
0
0
0
0
0
0
0
0
0.017094
0.217391
299
13
56
23
0.786325
0.06689
0
0
0
0
0.169065
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d1440a5d8d1674d5c1865a9e8914bba72236e29c
2,146
py
Python
tools/build.py
kxf3199/gltf_tool
b060135209dff2127095575b8fc87849b5bfbdf4
[ "MIT" ]
1
2022-03-04T10:53:42.000Z
2022-03-04T10:53:42.000Z
tools/build.py
spindro/disney_brdf_for_yocto-gl
aa79c60ec9603240f35a6c70ed20586d3fe5df45
[ "MIT" ]
null
null
null
tools/build.py
spindro/disney_brdf_for_yocto-gl
aa79c60ec9603240f35a6c70ed20586d3fe5df45
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 -B # build utility for easy development # complete and unreliable hack used for making it easier to develop import click, os, platform, markdown, glob, textwrap def build(target, dirname, buildtype, cmakeopts=''): os.system('mkdir -p build/{dirname}; cd build/{dirname}; cmake ../../ -GNin...
30.225352
257
0.671482
286
2,146
4.972028
0.342657
0.061885
0.063291
0.097046
0.285513
0.230661
0.182841
0.182841
0.182841
0
0
0.00214
0.129077
2,146
70
258
30.657143
0.758694
0.058714
0
0.313725
0
0.039216
0.342588
0.062469
0
0
0
0
0
1
0.254902
false
0.019608
0.019608
0
0.27451
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d146f4973440816e4a9c135565077e8cd8ed1f36
2,108
py
Python
server/wrangle/config.py
kdinkla/ProtoMPDA
08ec7de3a24ea07da19062b009ca81a0f5a9c924
[ "MIT" ]
3
2017-12-07T19:11:24.000Z
2020-07-03T07:51:09.000Z
server/wrangle/config.py
kdinkla/Screenit
08ec7de3a24ea07da19062b009ca81a0f5a9c924
[ "MIT" ]
null
null
null
server/wrangle/config.py
kdinkla/Screenit
08ec7de3a24ea07da19062b009ca81a0f5a9c924
[ "MIT" ]
null
null
null
import sqlite3 as lite import csv # Constants. inputPath = "/Users/kdinkla/Desktop/Novartis/HCS/CellMorph/www.ebi.ac.uk/huber-srv/cellmorph/data/" outputPath = "/Users/kdinkla/MPDA/git/wrangle/db/" sqlDotReplacement = '_' # Screening parameters. plates = ["HT" + str(i).zfill(2) for i in range(1, 69)] plateDirectories...
31.462687
125
0.652277
267
2,108
5.131086
0.52809
0.026277
0.011679
0.014599
0.039416
0.039416
0.039416
0
0
0
0
0.011203
0.195446
2,108
67
126
31.462687
0.79658
0.200664
0
0
0
0.022222
0.213731
0.084776
0
0
0
0
0
1
0.177778
false
0
0.044444
0.133333
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
d148ad0b74eafb9e28b83f4e64a1d66cc75dbe56
590
py
Python
engfrosh_site/frosh/migrations/0004_alter_team_group.py
engfrosh/engfrosh
8eed0f3e86ff43de569c280a5f1571c02f2324f2
[ "MIT" ]
1
2021-05-21T01:01:16.000Z
2021-05-21T01:01:16.000Z
engfrosh_site/frosh/migrations/0004_alter_team_group.py
engfrosh/engfrosh
8eed0f3e86ff43de569c280a5f1571c02f2324f2
[ "MIT" ]
50
2021-05-20T21:00:55.000Z
2022-03-12T00:59:18.000Z
engfrosh_site/frosh/migrations/0004_alter_team_group.py
engfrosh/engfrosh
8eed0f3e86ff43de569c280a5f1571c02f2324f2
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-06-19 00:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ('frosh', '0003_alter_team_coin_amount'), ] operations = [...
28.095238
163
0.662712
72
590
5.222222
0.666667
0.06383
0.074468
0.117021
0
0
0
0
0
0
0
0.049676
0.215254
590
20
164
29.5
0.762419
0.076271
0
0
1
0
0.187845
0.117864
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d14a47851458aeac04d23e1f6be1cad44af69083
905
py
Python
CMSIS/DSP/Testing/PatternGeneration/Convolutions.py
milos-lazic/CMSIS_5
61b74b70bd961af9e2a8bb6bc1632c1014e7c42e
[ "Apache-2.0" ]
6
2019-05-30T21:02:44.000Z
2022-01-16T23:40:23.000Z
CMSIS/DSP/Testing/PatternGeneration/Convolutions.py
milos-lazic/CMSIS_5
61b74b70bd961af9e2a8bb6bc1632c1014e7c42e
[ "Apache-2.0" ]
2
2019-05-23T10:11:45.000Z
2019-08-28T15:13:56.000Z
CMSIS/DSP/Testing/PatternGeneration/Convolutions.py
milos-lazic/CMSIS_5
61b74b70bd961af9e2a8bb6bc1632c1014e7c42e
[ "Apache-2.0" ]
2
2019-11-27T09:56:17.000Z
2021-11-25T11:02:17.000Z
import os.path import numpy as np import itertools import Tools # Those patterns are used for tests and benchmarks. # For tests, there is the need to add tests for saturation def writeTests(config): NBSAMPLES=128 inputsA=np.random.randn(NBSAMPLES) inputsB=np.random.randn(NBSAMPLES) inputsA = inpu...
20.568182
69
0.741436
113
905
5.938053
0.442478
0.065574
0.125186
0.172876
0
0
0
0
0
0
0
0.032911
0.127072
905
43
70
21.046512
0.816456
0.117127
0
0
0
0
0.104666
0
0
0
0
0
0
1
0.045455
false
0
0.181818
0
0.227273
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d14a9fead3b8a6d1a0d3f6e69ca6d8524429fdaf
410
py
Python
todo/migrations/0004_alter_post_title.py
Saup21/Todo-list
f806fee5ba11a2ce6a8242d8675f0984d2c2f0eb
[ "MIT" ]
14
2021-05-14T15:06:38.000Z
2021-09-10T06:29:23.000Z
todo/migrations/0004_alter_post_title.py
Saup21/Todo-list
f806fee5ba11a2ce6a8242d8675f0984d2c2f0eb
[ "MIT" ]
null
null
null
todo/migrations/0004_alter_post_title.py
Saup21/Todo-list
f806fee5ba11a2ce6a8242d8675f0984d2c2f0eb
[ "MIT" ]
3
2021-05-16T12:39:41.000Z
2021-05-18T04:13:57.000Z
# Generated by Django 3.2.1 on 2021-05-12 20:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('todo', '0003_auto_20210511_0127'), ] operations = [ migrations.AlterField( model_name='post', name='ti...
21.578947
63
0.570732
44
410
5.204545
0.863636
0
0
0
0
0
0
0
0
0
0
0.117857
0.317073
410
18
64
22.777778
0.7
0.109756
0
0
1
0
0.104348
0.066667
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d14ad9b665a10159104a85fed696e67d8770cb72
1,246
py
Python
vn.trader/strategyMain.py
freeitaly/TT
9b88ccec3739077649b0f57787d7f02764ad6897
[ "MIT" ]
null
null
null
vn.trader/strategyMain.py
freeitaly/TT
9b88ccec3739077649b0f57787d7f02764ad6897
[ "MIT" ]
null
null
null
vn.trader/strategyMain.py
freeitaly/TT
9b88ccec3739077649b0f57787d7f02764ad6897
[ "MIT" ]
null
null
null
# encoding: UTF-8 import sys import ctypes import platform from vtEngine import MainEngine from ctaAlgo.uiStrategyWindow import * #---------------------------------------------------------------------- def main(): """主程序入口""" # 设置底部任务栏图标,win7以下请注释掉 try: ctypes.windll.shell32.SetCurrentProcessExpl...
23.961538
84
0.61557
111
1,246
6.801802
0.630631
0.031788
0.050331
0.153642
0.15894
0
0
0
0
0
0
0.008333
0.229535
1,246
51
85
24.431373
0.778125
0.252809
0
0.206897
0
0
0.059081
0
0
0
0
0
0
1
0.034483
false
0.068966
0.206897
0
0.241379
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d14c9b8f7f4b5ed59766d994c17ec61a593de502
5,742
py
Python
autopatch/target_finder.py
Hydrogen-OS-P/tools
6bf6f5a9f922ca64a22434cd986db5452f7a796b
[ "Apache-2.0" ]
2
2020-05-17T00:33:41.000Z
2020-05-21T16:08:35.000Z
autopatch/target_finder.py
Hydrogen-OS-P/tools
6bf6f5a9f922ca64a22434cd986db5452f7a796b
[ "Apache-2.0" ]
null
null
null
autopatch/target_finder.py
Hydrogen-OS-P/tools
6bf6f5a9f922ca64a22434cd986db5452f7a796b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2 # Filename: target_finder.py """ Fast search the target out. Usage: target_finder.py TARGET - TARGET target path relative to current directory. """ __author__ = 'duanqz@gmail.com' import sys import re import os import fnmatch import commands class TargetFinder: # The framework part...
29.147208
91
0.564089
601
5,742
5.297837
0.271215
0.01696
0.022613
0.021985
0.345163
0.309987
0.268844
0.258794
0.234925
0.19598
0
0.010285
0.339603
5,742
196
92
29.295918
0.829378
0.125392
0
0.349057
0
0
0.053093
0.021468
0
0
0
0
0
0
null
null
0.009434
0.04717
null
null
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d14d43cb5ea0c774889305ac6803d6586c9a4422
853
py
Python
geotrek/flatpages/serializers.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
50
2016-10-19T23:01:21.000Z
2022-03-28T08:28:34.000Z
geotrek/flatpages/serializers.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
1,422
2016-10-27T10:39:40.000Z
2022-03-31T13:37:10.000Z
geotrek/flatpages/serializers.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
46
2016-10-27T10:59:10.000Z
2022-03-22T15:55:56.000Z
from rest_framework import serializers as rest_serializers from geotrek.flatpages import models as flatpages_models from geotrek.common.serializers import ( TranslatedModelSerializer, BasePublishableSerializerMixin, RecordSourceSerializer, TargetPortalSerializer ) class FlatPageSerializer(BasePublishableSeri...
40.619048
84
0.757327
74
853
8.581081
0.513514
0.070866
0.088189
0.107087
0
0
0
0
0
0
0
0
0.157093
853
20
85
42.65
0.883171
0
0
0
0
0
0.103165
0
0
0
0
0
0
1
0
false
0
0.1875
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d14f95d4a726b589d4b5ddfbe61823721f991d94
1,553
py
Python
apostello/migrations/0007_auto_20160315_1213.py
LaudateCorpus1/apostello
1ace89d0d9e1f7a1760f6247d90a60a9787a4f12
[ "MIT" ]
69
2015-10-03T20:27:53.000Z
2021-04-06T05:26:18.000Z
apostello/migrations/0007_auto_20160315_1213.py
LaudateCorpus1/apostello
1ace89d0d9e1f7a1760f6247d90a60a9787a4f12
[ "MIT" ]
73
2015-10-03T17:53:47.000Z
2020-10-01T03:08:01.000Z
apostello/migrations/0007_auto_20160315_1213.py
LaudateCorpus1/apostello
1ace89d0d9e1f7a1760f6247d90a60a9787a4f12
[ "MIT" ]
29
2015-10-23T22:00:13.000Z
2021-11-30T04:48:06.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-03-15 12:13 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("apostello", "0006_userprofile_show_tour")] operations = [ m...
33.76087
115
0.490663
160
1,553
4.7125
0.5
0.039788
0.079576
0.076923
0.551724
0.551724
0.440318
0.440318
0.440318
0.323607
0
0.026396
0.365744
1,553
45
116
34.511111
0.726904
0.043142
0
0.578947
1
0.026316
0.139582
0.017532
0
0
0
0
0
1
0
false
0
0.078947
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d14f96e0734761eeae0e630ef8c89ddc1d156cc7
5,287
py
Python
bridle/const_expr.py
iguessthislldo/avidly
0257c22966c297fad1254574cac60bb52b2da6ff
[ "MIT" ]
1
2022-02-16T08:23:35.000Z
2022-02-16T08:23:35.000Z
bridle/const_expr.py
iguessthislldo/bridle
f7b0228a5d3e1e05e5643c2f787dd175dd243965
[ "MIT" ]
null
null
null
bridle/const_expr.py
iguessthislldo/bridle
f7b0228a5d3e1e05e5643c2f787dd175dd243965
[ "MIT" ]
null
null
null
import enum import operator as pyop from abc import ABC, abstractmethod from collections.abc import Callable from typing import Any, Optional import inspect import string from dataclasses import dataclass from typing import TYPE_CHECKING from .errors import ConstExprError, InternalError if TYPE_CHECKING: from .tre...
31.470238
88
0.621714
656
5,287
4.853659
0.204268
0.051822
0.065955
0.065641
0.145729
0.050879
0.03392
0.03392
0.03392
0.03392
0
0.001018
0.257046
5,287
167
89
31.658683
0.809572
0.022886
0
0.189394
0
0
0.073227
0
0
0
0
0.005988
0
1
0.166667
false
0.022727
0.083333
0.068182
0.575758
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d1573555106525d0958ee59e807692fbb800871e
19,560
py
Python
tools/rest_integration_test.py
osrf/cloudsim-legacy
01ea7dd2708ed9797a860ac839028ec62fd96a23
[ "Apache-2.0" ]
null
null
null
tools/rest_integration_test.py
osrf/cloudsim-legacy
01ea7dd2708ed9797a860ac839028ec62fd96a23
[ "Apache-2.0" ]
null
null
null
tools/rest_integration_test.py
osrf/cloudsim-legacy
01ea7dd2708ed9797a860ac839028ec62fd96a23
[ "Apache-2.0" ]
1
2021-03-16T15:00:51.000Z
2021-03-16T15:00:51.000Z
#!/usr/bin/env python from __future__ import print_function import os import sys import unittest import time import datetime import logging from cloudsim_rest_api import CloudSimRestApi import traceback # add cloudsim directory to system path basepath = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) ...
36.155268
80
0.561145
2,122
19,560
4.956645
0.146089
0.08243
0.028523
0.021677
0.450181
0.417855
0.352634
0.304526
0.269253
0.230082
0
0.009306
0.346268
19,560
540
81
36.222222
0.813248
0.021217
0
0.371795
0
0
0.138212
0.016998
0
0
0
0
0.020513
0
null
null
0.017949
0.041026
null
null
0.125641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d15966aff54460eabbd17a44b8dbeb7ba2af747c
305
py
Python
snmp/simple_snmp.py
gahlberg/pynet_class_work
2389e7e5717d4b479ee002ada3b45694b7566756
[ "Apache-2.0" ]
null
null
null
snmp/simple_snmp.py
gahlberg/pynet_class_work
2389e7e5717d4b479ee002ada3b45694b7566756
[ "Apache-2.0" ]
null
null
null
snmp/simple_snmp.py
gahlberg/pynet_class_work
2389e7e5717d4b479ee002ada3b45694b7566756
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from snmp_helper import snmp_get_oid,snmp_extract COMMUNITY_STRING = 'galileo' SNMP_PORT = 7961 IP = '50.76.53.27' a_device = (IP, COMMUNITY_STRING, SNMP_PORT) OID = '1.3.6.1.2.1.1.1.0' snmp_data = snmp_get_oid(a_device, oid=OID) output = snmp_extract(snmp_data) print output
16.944444
49
0.740984
57
305
3.701754
0.54386
0.066351
0.094787
0
0
0
0
0
0
0
0
0.078947
0.127869
305
17
50
17.941176
0.714286
0.065574
0
0
0
0
0.123239
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d15b50d016c594fe47cebba986b4e8896fb93412
8,037
py
Python
titanic2.py
kyzoon/kaggle_titanic
9aad72932343d3387b744688cb1cd7edbfd4ef41
[ "MIT" ]
null
null
null
titanic2.py
kyzoon/kaggle_titanic
9aad72932343d3387b744688cb1cd7edbfd4ef41
[ "MIT" ]
null
null
null
titanic2.py
kyzoon/kaggle_titanic
9aad72932343d3387b744688cb1cd7edbfd4ef41
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'preston.zhu' import numpy as np import pandas as pd import re import operator from sklearn.ensemble import RandomForestClassifier, ExtraTreesRegressor import pdb def get_title(name): # 正则表达式搜索,搜索到如' Mr.'的字符串 title_search = re.search(' ([A-Za-z]+)\.', nam...
32.938525
96
0.725395
1,129
8,037
4.961913
0.302037
0.059979
0.023742
0.01071
0.238843
0.194395
0.152267
0.123349
0.099786
0.082649
0
0.021277
0.111111
8,037
244
97
32.938525
0.762878
0.177429
0
0.061538
0
0
0.153564
0.020524
0
0
0
0
0
1
0.061538
false
0.076923
0.046154
0.007692
0.184615
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d161ec660784d01b878001017831664382622e75
382
py
Python
cyan/util/_enum.py
huajitech/cyan
6809f7b738b2b4c458d08346f533167c7e7c0a83
[ "MIT" ]
5
2022-01-23T11:57:55.000Z
2022-01-25T07:03:09.000Z
cyan/util/_enum.py
huajitech/cyan
6809f7b738b2b4c458d08346f533167c7e7c0a83
[ "MIT" ]
null
null
null
cyan/util/_enum.py
huajitech/cyan
6809f7b738b2b4c458d08346f533167c7e7c0a83
[ "MIT" ]
2
2022-01-25T03:04:43.000Z
2022-01-25T07:03:17.000Z
from enum import EnumMeta from typing import Any def get_enum_key(enum: EnumMeta, value: Any, default: Any = ...) -> Any: """ 获取 `Enum` 值对应的键。 参数: - enum: Enum 类型 - value: 将要查询对应键的值 - default: 当对应键不存在时返回的默认值(默认返回传入的 `value` 参数) """ return enum._value2member_map_.get( ...
20.105263
72
0.581152
44
382
4.931818
0.522727
0
0
0
0
0
0
0
0
0
0
0.003759
0.303665
382
18
73
21.222222
0.81203
0.298429
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d168739d8cc490f771d23c7a1b691bf5116d7173
430
py
Python
bugtests/test286c.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test286c.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test286c.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
""" Test multilevel overriding of java methods in jythonc. """ from java.util import Date class SubDate(Date): def toString(self): s = Date.toString(self) return 'SubDate -> Date' class SubSubDate(SubDate): def toString(self): return 'SubSubDate -> ' + SubDate.toString(self) asser...
23.888889
65
0.655814
48
430
5.875
0.4375
0.156028
0.106383
0
0
0
0
0
0
0
0
0
0.204651
430
17
66
25.294118
0.824561
0.125581
0
0.2
0
0
0.19837
0
0
0
0
0
0.2
1
0.2
false
0
0.1
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d16e384cf387a664a33b991f18c0766cbc5a4c0d
4,294
py
Python
dev_tools/scan_inclusions.py
frannuca/quantlib
63e66f5f767397e5b7c79fa78eaed4e3e0a6b7c6
[ "BSD-3-Clause" ]
null
null
null
dev_tools/scan_inclusions.py
frannuca/quantlib
63e66f5f767397e5b7c79fa78eaed4e3e0a6b7c6
[ "BSD-3-Clause" ]
null
null
null
dev_tools/scan_inclusions.py
frannuca/quantlib
63e66f5f767397e5b7c79fa78eaed4e3e0a6b7c6
[ "BSD-3-Clause" ]
1
2022-02-24T04:54:18.000Z
2022-02-24T04:54:18.000Z
import os, sys, re, string import xml.dom.minidom import xml.dom.ext QL_ROOT = "C:/Projects/QuantLibSVN/trunk/" VC8 = "C:/Program Files/Microsoft Visual Studio 8/" BOOST = "C:/Boost/boost_1_33_1/" QL = QL_ROOT +"QuantLib/" QL_ADDIN = QL_ROOT + "QuantLibAddin/" OBJECT_HANDLER = QL_ROOT + "ObjectHandler/" ...
33.811024
98
0.617839
475
4,294
5.513684
0.311579
0.006873
0.040092
0.021382
0.045819
0.045819
0.045819
0.045819
0.045819
0.045819
0
0.018599
0.248719
4,294
127
99
33.811024
0.793242
0.010247
0
0.056604
0
0
0.128689
0.023948
0
0
0
0
0
0
null
null
0
0.028302
null
null
0.075472
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d16e9d0e26c5e30db9fe137457ef9304c8e4a910
5,779
py
Python
ports/esp32/boards/METERBOARD32/modules/mbus/device.py
henriknelson/micropython
eb6c2bd0f4ac133bcb8edb81fb29aa21ade5211b
[ "MIT" ]
1
2020-01-21T01:49:20.000Z
2020-01-21T01:49:20.000Z
ports/esp32/boards/METERBOARD32/modules/mbus/device.py
henriknelson/micropython
eb6c2bd0f4ac133bcb8edb81fb29aa21ade5211b
[ "MIT" ]
null
null
null
ports/esp32/boards/METERBOARD32/modules/mbus/device.py
henriknelson/micropython
eb6c2bd0f4ac133bcb8edb81fb29aa21ade5211b
[ "MIT" ]
null
null
null
from mbus.record import ValueRecord from machine import RTC import ubinascii import random import time import re class MBusDevice: """Class that encapulates/emulates a single MBus device""" def __init__(self, primary_address, secondary_address, manufacturer, meter_type): self._primary_address = primary...
37.283871
106
0.643191
755
5,779
4.711258
0.206623
0.103739
0.096992
0.064099
0.337082
0.21282
0.102615
0.090245
0.051729
0
0
0.025264
0.246582
5,779
154
107
37.525974
0.791686
0.018688
0
0.12605
0
0
0.029202
0
0
0
0.013445
0
0
0
null
null
0
0.05042
null
null
0.008403
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
66f5b0cbb8ef944f7945f54d1777a667ec6dbe6b
3,024
py
Python
Echoes/Filezilla.py
xeddmc/BrainDamage
855f696883d495e2f1b1b55ced31a54f3426c50e
[ "Apache-2.0" ]
1,520
2020-10-23T06:22:06.000Z
2022-03-26T09:17:47.000Z
Echoes/Filezilla.py
1612480331/BrainDamage
ac412e32583436cab3e836713008c207229c9cf2
[ "Apache-2.0" ]
12
2017-03-25T16:31:20.000Z
2021-12-28T05:04:52.000Z
Echoes/Filezilla.py
1612480331/BrainDamage
ac412e32583436cab3e836713008c207229c9cf2
[ "Apache-2.0" ]
661
2020-10-23T06:23:53.000Z
2021-09-06T23:05:30.000Z
# Based on the work of https://github.com/AlessandroZ/LaZagne/blob/master/Windows/lazagne/ import xml.etree.cElementTree as ET import os, base64 class Filezilla(): def __init__(self): options = {'command': '-f', 'action': 'store_true', 'dest': 'filezilla', 'help': 'filezilla'} def run(self): i...
37.8
102
0.472553
289
3,024
4.84083
0.342561
0.065046
0.090064
0.030021
0.329521
0.260901
0.242316
0.200858
0.101501
0.101501
0
0.025522
0.429894
3,024
79
103
38.278481
0.785963
0.058532
0
0.127273
0
0
0.148292
0
0
0
0
0
0
1
0.036364
false
0.145455
0.036364
0
0.127273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
66f69535e1d0a44683902c8b5bdee87b710b453d
1,519
py
Python
flights/models.py
solnsubuga/flightapp
2da79cb4edef51507152a1d27388292a15b67815
[ "Apache-2.0" ]
null
null
null
flights/models.py
solnsubuga/flightapp
2da79cb4edef51507152a1d27388292a15b67815
[ "Apache-2.0" ]
8
2020-02-12T00:24:07.000Z
2021-09-08T01:11:22.000Z
flights/models.py
solnsubuga/flightapp
2da79cb4edef51507152a1d27388292a15b67815
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class Flight(models.Model): STATUSES = ( ('SCHEDULED', 'SCHEDULED'), ('DELAYED', 'DELAYED'), ('ON_TIME', 'ON TIME'), ('ARRIVED', 'ARRIVED'), ('LATE', 'LATE') ) number = models.CharField(max_len...
30.38
64
0.681369
176
1,519
5.721591
0.369318
0.074479
0.0715
0.095333
0.272095
0.158888
0.158888
0.097319
0
0
0
0.015715
0.204082
1,519
49
65
31
0.817204
0.0079
0
0.153846
0
0
0.048505
0
0
0
0
0
0
1
0.102564
false
0
0.051282
0.076923
0.717949
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
66fcf10eec6db42f209edd690e099b600c633815
3,968
py
Python
sentence_generator.py
gabrielilharco/sentence-generator
5d75dca74363bd9ddcd54f9559b94bb6185667e3
[ "MIT" ]
5
2018-05-12T13:54:07.000Z
2019-06-16T09:56:52.000Z
sentence_generator.py
gabrielilharco/sentence-generator
5d75dca74363bd9ddcd54f9559b94bb6185667e3
[ "MIT" ]
null
null
null
sentence_generator.py
gabrielilharco/sentence-generator
5d75dca74363bd9ddcd54f9559b94bb6185667e3
[ "MIT" ]
null
null
null
import argparse import random import operator import os def parse_grammar(file_path): """ Generate a grammar from a file describing the production rules. Note that the symbols are inferred from the production rules. For more information on the format of the file, please reffer to the README.md or the the sample ...
29.834586
92
0.717742
568
3,968
4.929577
0.264085
0.039286
0.025714
0.019286
0.093571
0.093571
0.019286
0.019286
0.019286
0.019286
0
0.005194
0.175151
3,968
133
93
29.834586
0.85029
0.301159
0
0.026316
1
0
0.163295
0.008827
0
0
0
0
0.013158
1
0.052632
false
0
0.052632
0
0.144737
0.131579
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f0047c195a44a1e7096ffa7a8721ac9af656c82
225
py
Python
WebFrameDocs/src/demo/fileStorage/script/genScaleMap.py
Bean-jun/LearnGuide
30a8567b222d18b15d3e9027a435b5bfe640a046
[ "MIT" ]
1
2022-02-23T13:42:01.000Z
2022-02-23T13:42:01.000Z
WebFrameDocs/src/demo/fileStorage/script/genScaleMap.py
Bean-jun/LearnGuide
30a8567b222d18b15d3e9027a435b5bfe640a046
[ "MIT" ]
null
null
null
WebFrameDocs/src/demo/fileStorage/script/genScaleMap.py
Bean-jun/LearnGuide
30a8567b222d18b15d3e9027a435b5bfe640a046
[ "MIT" ]
null
null
null
""" A-Z: 65-90 a-z: 97-122 """ dic = {} n = 0 for i in range(10): dic[n] = str(i) n += 1 for i in range(65, 91): dic[n] = chr(i) n += 1 for i in range(97, 123): dic[n] = chr(i) n += 1 print(dic)
9.782609
24
0.444444
48
225
2.083333
0.416667
0.16
0.18
0.33
0.45
0.45
0.28
0
0
0
0
0.16
0.333333
225
22
25
10.227273
0.506667
0.097778
0
0.416667
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f0216b386fed492d52639a4b739d1af569a3fae
2,198
py
Python
spyre/spyre/spyrelets/peaktrack_spyrelet.py
zhong-lab/code
068ca3df58c3804fcc858f26ac5b26106e1d0cb0
[ "BSD-2-Clause" ]
1
2022-03-27T07:47:19.000Z
2022-03-27T07:47:19.000Z
peaktrack_spyrelet.py
zhong-lab/code
068ca3df58c3804fcc858f26ac5b26106e1d0cb0
[ "BSD-2-Clause" ]
null
null
null
peaktrack_spyrelet.py
zhong-lab/code
068ca3df58c3804fcc858f26ac5b26106e1d0cb0
[ "BSD-2-Clause" ]
4
2019-11-08T22:39:04.000Z
2021-11-05T02:39:37.000Z
import numpy as np import pyqtgraph as pg import matplotlib.pyplot as plt import csv import sys from PyQt5.Qsci import QsciScintilla, QsciLexerPython from PyQt5.QtWidgets import QPushButton, QTextEdit, QVBoxLayout import time import random import os from spyre import Spyrelet, Task, Element from spyre.widget...
32.323529
73
0.61465
251
2,198
5.354582
0.450199
0.040179
0.047619
0.035714
0
0
0
0
0
0
0
0.024421
0.27343
2,198
67
74
32.80597
0.817157
0.039126
0
0
0
0
0.077489
0.01128
0
0
0
0
0
1
0.035088
false
0
0.368421
0
0.473684
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0f043fd8060ea318b76a0b1d439aef5060a3a833
14,408
py
Python
smq/plot.py
x75/smq
17fc1219b3f34f6e6035d261021b8e772b7a287d
[ "MIT" ]
null
null
null
smq/plot.py
x75/smq
17fc1219b3f34f6e6035d261021b8e772b7a287d
[ "MIT" ]
null
null
null
smq/plot.py
x75/smq
17fc1219b3f34f6e6035d261021b8e772b7a287d
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as pl import pandas as pd import seaborn as sns import smq.logging as log # check pandas, seaborne # FIXME: fix hardcoded tablenames from smq.utils import set_attr_from_dict def get_data_from_item_log(items): tbl_key = items[0].name # print "%s.run: tbl_key = %s" ...
33.981132
139
0.530261
1,935
14,408
3.781395
0.135401
0.030614
0.02296
0.030614
0.63619
0.597923
0.554326
0.533552
0.507995
0.495148
0
0.026682
0.321072
14,408
423
140
34.061466
0.721325
0.241324
0
0.562232
0
0
0.082188
0.002636
0
0
0
0.002364
0
0
null
null
0
0.025751
null
null
0.06867
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0f045c6ae18a61a369eced501af84eaf8bea2c34
642
py
Python
test/model/test_pddl_action_representation.py
DLR-RM/rafcon-task-planner-plugin
9d004c76aa6f54c992a2f3f00b9dd98f9fb4e498
[ "BSD-3-Clause" ]
1
2020-05-21T17:08:02.000Z
2020-05-21T17:08:02.000Z
test/model/test_pddl_action_representation.py
DLR-RM/rafcon-task-planner-plugin
9d004c76aa6f54c992a2f3f00b9dd98f9fb4e498
[ "BSD-3-Clause" ]
null
null
null
test/model/test_pddl_action_representation.py
DLR-RM/rafcon-task-planner-plugin
9d004c76aa6f54c992a2f3f00b9dd98f9fb4e498
[ "BSD-3-Clause" ]
null
null
null
from rafcontpp.model.pddl_action_representation import PddlActionRepresentation from rafcontpp.model.pddl_action_representation import action_to_upper def test_action_to_upper(): #arrange action = PddlActionRepresentation('myAction','(action:)',['(at ?a - Object)'],['Object'],[':strips'],['param1','param2']) ...
42.8
125
0.697819
69
642
6.333333
0.391304
0.05492
0.089245
0.100687
0.21968
0.21968
0.21968
0
0
0
0
0.007286
0.14486
642
15
126
42.8
0.788707
0.024922
0
0
0
0
0.185897
0
0
0
0
0
0.545455
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0f0bb21d732e1e1a3fe041762c735e3ea255fe56
345
py
Python
meadow/meadow/migrations/0007_book_is_approved.py
digital-gachilib/meadow
7a4510bc6290a74305536c35b24867d79107bd30
[ "MIT" ]
null
null
null
meadow/meadow/migrations/0007_book_is_approved.py
digital-gachilib/meadow
7a4510bc6290a74305536c35b24867d79107bd30
[ "MIT" ]
26
2020-04-05T08:37:16.000Z
2021-09-22T18:47:20.000Z
meadow/meadow/migrations/0007_book_is_approved.py
digital-gachilib/meadow
7a4510bc6290a74305536c35b24867d79107bd30
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-28 15:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("meadow", "0006_mmake_isbn_charfield"), ] operations = [ migrations.AddField(model_name="book", name="is_approved", field=models.BooleanField...
23
110
0.684058
42
345
5.5
0.857143
0
0
0
0
0
0
0
0
0
0
0.067857
0.188406
345
14
111
24.642857
0.757143
0.130435
0
0
1
0
0.154362
0.083893
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f1592f3be048e8437004cc1fbfde1d17593625b
689
py
Python
noise_layers/rotate.py
pierrefdz/HiDDeN
c1ca842389f86239c4e3ac9911f784cd3965f260
[ "MIT" ]
null
null
null
noise_layers/rotate.py
pierrefdz/HiDDeN
c1ca842389f86239c4e3ac9911f784cd3965f260
[ "MIT" ]
null
null
null
noise_layers/rotate.py
pierrefdz/HiDDeN
c1ca842389f86239c4e3ac9911f784cd3965f260
[ "MIT" ]
null
null
null
import torch.nn as nn import torch.nn.functional as F from torchvision.transforms import functional import numpy as np class Rotate(nn.Module): """ Rotate the image by random angle between -degrees and degrees. """ def __init__(self, degrees, interpolation_method='nearest'): super(Rotate, self...
31.318182
77
0.716981
88
689
5.352273
0.409091
0.093418
0.118896
0.063694
0
0
0
0
0
0
0
0.00363
0.20029
689
21
78
32.809524
0.85118
0.089985
0
0
0
0
0.011457
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0f1744199f477069c02875d1067c890dfb7a1805
340
py
Python
src/main/python/grammer/Function.py
photowey/python-study
218456a0d661709a49fb060659664102b9287de8
[ "Apache-2.0" ]
null
null
null
src/main/python/grammer/Function.py
photowey/python-study
218456a0d661709a49fb060659664102b9287de8
[ "Apache-2.0" ]
null
null
null
src/main/python/grammer/Function.py
photowey/python-study
218456a0d661709a49fb060659664102b9287de8
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- # --------------------------------------------- # @file Function.py # @description Function # @author WcJun # @date 2020/06/20 # --------------------------------------------- # 求两个数 n 加到 m 的和 def add(n, m): s = 0 while n <= m: s += n n += 1 return s # 求和 add = add...
14.782609
47
0.364706
41
340
3.02439
0.682927
0.032258
0.048387
0
0
0
0
0
0
0
0
0.058594
0.247059
340
22
48
15.454545
0.425781
0.591176
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f1fdc9583dd36bad5225aaff9eca13e2d53bb4b
825
py
Python
nfl/migrations/0007_player_position.py
rwflick/djangoXNFLDemo
825072b25b9b33eba9687d7ec358d59c7706a16f
[ "MIT" ]
1
2020-09-14T16:43:33.000Z
2020-09-14T16:43:33.000Z
nfl/migrations/0007_player_position.py
rwflick/djangoXNFLDemo
825072b25b9b33eba9687d7ec358d59c7706a16f
[ "MIT" ]
null
null
null
nfl/migrations/0007_player_position.py
rwflick/djangoXNFLDemo
825072b25b9b33eba9687d7ec358d59c7706a16f
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-09-13 19:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nfl', '0006_player'), ] operations = [ migrations.AddField( model_name='player', name='position', field=...
43.421053
505
0.56
93
825
4.935484
0.83871
0
0
0
0
0
0
0
0
0
0
0.031674
0.196364
825
18
506
45.833333
0.660633
0.054545
0
0
1
0
0.349614
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f21ea6cca6377a0bd8bcf855a84161050071410
5,954
py
Python
src/commercetools/services/shopping_lists.py
jeroenubbink/commercetools-python-sdk
ee27768d6fdde3e12618059891d1d4f75dd61390
[ "MIT" ]
null
null
null
src/commercetools/services/shopping_lists.py
jeroenubbink/commercetools-python-sdk
ee27768d6fdde3e12618059891d1d4f75dd61390
[ "MIT" ]
null
null
null
src/commercetools/services/shopping_lists.py
jeroenubbink/commercetools-python-sdk
ee27768d6fdde3e12618059891d1d4f75dd61390
[ "MIT" ]
null
null
null
# DO NOT EDIT! This file is automatically generated import typing from commercetools._schemas._shopping_list import ( ShoppingListDraftSchema, ShoppingListPagedQueryResponseSchema, ShoppingListSchema, ShoppingListUpdateSchema, ) from commercetools.helpers import RemoveEmptyValuesMixin from commercetool...
31.172775
86
0.615721
515
5,954
6.916505
0.190291
0.040146
0.056148
0.056148
0.619876
0.588714
0.57187
0.543515
0.535093
0.535093
0
0
0.293416
5,954
190
87
31.336842
0.846684
0.048875
0
0.5875
1
0
0.050329
0.012805
0
0
0
0
0
1
0.05
false
0.01875
0.0375
0
0.1625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f2caf81081a11f464cc6de29247f66e01a2f10e
2,324
py
Python
Plumet/scoring.py
mehmeterenballi/Plumet
2f81cd8cb7f50432ff0b4d46c43aa8ebc5e91a2c
[ "MIT" ]
null
null
null
Plumet/scoring.py
mehmeterenballi/Plumet
2f81cd8cb7f50432ff0b4d46c43aa8ebc5e91a2c
[ "MIT" ]
null
null
null
Plumet/scoring.py
mehmeterenballi/Plumet
2f81cd8cb7f50432ff0b4d46c43aa8ebc5e91a2c
[ "MIT" ]
null
null
null
import pygame as pg def score_blitting(win, score): screen_width, screen_height = 288, 512 score_image = [pg.image.load('%d.png' % decimal) for decimal in range(0, 10)] if 10 > score >= 0: win.blit(score_image[score], (screen_width / 2, 0)) elif 100 > score >= 10: units_digi...
52.818182
111
0.603701
321
2,324
4.137072
0.146417
0.13253
0.135542
0.192018
0.768072
0.694277
0.640813
0.640813
0.640813
0.503765
0
0.104867
0.257315
2,324
43
112
54.046512
0.664542
0
0
0.15
0
0
0.008768
0
0
0
0
0
0
1
0.025
false
0
0.025
0
0.05
0.025
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f3599212f84331de9e9f8ea42c3d1bb4ebb50e9
1,881
py
Python
mpesaviz/apps/transactions/models.py
savioabuga/mpesaviz
2567ab5646f8f684c32b0644f5b06d3cc58c62bc
[ "BSD-3-Clause" ]
2
2015-07-07T09:30:27.000Z
2017-01-31T20:26:45.000Z
mpesaviz/apps/transactions/models.py
savioabuga/mpesaviz
2567ab5646f8f684c32b0644f5b06d3cc58c62bc
[ "BSD-3-Clause" ]
null
null
null
mpesaviz/apps/transactions/models.py
savioabuga/mpesaviz
2567ab5646f8f684c32b0644f5b06d3cc58c62bc
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from model_utils import Choices from model_utils.models import TimeStampedModel from phonenumber_field.modelfields import PhoneNumberField from django_pandas.io import read_frame class Transaction(TimeStampedModel): TYPES = Choices(('sent', 'Sent Transactions'), ('received', 'Received...
47.025
141
0.714514
216
1,881
6.097222
0.393519
0.079727
0.068337
0.091116
0.296128
0.168565
0.168565
0
0
0
0
0.010592
0.14673
1,881
39
142
48.230769
0.809969
0
0
0.066667
0
0
0.138756
0
0
0
0
0
0
1
0.066667
false
0
0.166667
0
0.766667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0f39a392c46b7861f4edc27f2f6de39934c00cb4
1,236
py
Python
workbench/awt/migrations/0012_auto_20201012_1433.py
yoshson/workbench
701558cac3357cd82e4dc99f0fefed12ee81ddc5
[ "MIT" ]
15
2020-09-02T22:17:34.000Z
2022-02-01T20:09:10.000Z
workbench/awt/migrations/0012_auto_20201012_1433.py
yoshson/workbench
701558cac3357cd82e4dc99f0fefed12ee81ddc5
[ "MIT" ]
18
2020-01-08T15:28:26.000Z
2022-02-28T02:46:41.000Z
workbench/awt/migrations/0012_auto_20201012_1433.py
yoshson/workbench
701558cac3357cd82e4dc99f0fefed12ee81ddc5
[ "MIT" ]
8
2020-09-29T08:00:24.000Z
2022-01-16T11:58:19.000Z
# Generated by Django 3.1.2 on 2020-10-12 12:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("awt", "0011_absence_ends_on"), ] operations = [ migrations.AddField( model_name="absence", name="is_working_time", ...
26.869565
84
0.514563
116
1,236
5.353448
0.543103
0.088567
0.062802
0.064412
0
0
0
0
0
0
0
0.036709
0.360841
1,236
45
85
27.466667
0.749367
0.036408
0
0.193548
1
0
0.230315
0
0
0
0
0
0
1
0
false
0
0.032258
0
0.129032
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f42eaeb31887e9ae1caee055573b220ada36e35
1,347
py
Python
shop/migrations/0002_add_example_data.py
Chaiok/-django_ne_copipast_shop_master2
67abde1191f15bbf366b8666f0a1c17f7c4e0c9f
[ "MIT" ]
1
2022-02-05T17:28:54.000Z
2022-02-05T17:28:54.000Z
shop/migrations/0002_add_example_data.py
Chaiok/-django_ne_copipast_shop_master2
67abde1191f15bbf366b8666f0a1c17f7c4e0c9f
[ "MIT" ]
null
null
null
shop/migrations/0002_add_example_data.py
Chaiok/-django_ne_copipast_shop_master2
67abde1191f15bbf366b8666f0a1c17f7c4e0c9f
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2021-12-13 17:54 from django.db import migrations _CAR_GOODS = 'Автотовары' _APPLIANCES = 'Бытовая техника' def _create_categories(apps, schema_editor) -> None: """Создает две категории""" # noinspection PyPep8Naming Category = apps.get_model('shop', 'Category') Catego...
24.944444
56
0.6585
144
1,347
5.930556
0.423611
0.070258
0.084309
0.084309
0.482436
0.269321
0.131148
0.131148
0
0
0
0.032787
0.230141
1,347
53
57
25.415094
0.790743
0.12101
0
0.294118
1
0
0.08547
0
0
0
0
0
0
1
0.058824
false
0
0.029412
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f47f785479aecc6801edc61672d6949600791f3
5,271
py
Python
peer/lifecycle/db_pb2.py
jeffgarratt/fabric-prototype
46cfc67a1d74d1f38f498d3409327692fb733fd0
[ "CC-BY-4.0" ]
6
2017-10-16T13:46:46.000Z
2020-02-28T07:48:51.000Z
peer/lifecycle/db_pb2.py
jeffgarratt/fabric-prototype
46cfc67a1d74d1f38f498d3409327692fb733fd0
[ "CC-BY-4.0" ]
18
2017-10-02T16:31:51.000Z
2020-02-24T21:39:20.000Z
peer/lifecycle/db_pb2.py
jeffgarratt/fabric-prototype
46cfc67a1d74d1f38f498d3409327692fb733fd0
[ "CC-BY-4.0" ]
4
2019-02-01T14:46:21.000Z
2021-06-01T05:49:11.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: peer/lifecycle/db.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection...
36.604167
447
0.751281
668
5,271
5.654192
0.218563
0.038126
0.036007
0.03336
0.54673
0.472862
0.459624
0.449034
0.438973
0.438973
0
0.031981
0.116107
5,271
143
448
36.86014
0.778708
0.053311
0
0.516667
1
0.016667
0.19988
0.155127
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f4a41bba9d795071136091d1dc496c27479a9f9
1,163
py
Python
netta/a.py
zhangdafu12/web
64ce7db4697167215bf9ee25cd5bdc0bd15b5831
[ "MIT" ]
null
null
null
netta/a.py
zhangdafu12/web
64ce7db4697167215bf9ee25cd5bdc0bd15b5831
[ "MIT" ]
1
2020-03-30T09:26:59.000Z
2020-03-30T09:26:59.000Z
netta/a.py
zhangdafu12/web
64ce7db4697167215bf9ee25cd5bdc0bd15b5831
[ "MIT" ]
null
null
null
# -*- encoding:utf8 -*- # author: Shulei # e-mail: 1191543592@qq.com # time: 2019/4/2 10:00 import time # 一个描述器就是一个实现了三个核心的属性访问操作(get、set、delete)的类,分别为__get__(), __set__(),__delete__() # 这些方法接受一个实例作为输入,之后相应的操作实例底层的字典, 为了使用一个描述器,需要将这个描述器的实例作为类属性放到一个类的定义中Dadej # Descriptors are class attributes (like properties or met...
24.229167
106
0.687876
140
1,163
5.314286
0.507143
0.048387
0.080645
0.061828
0.147849
0.08871
0.08871
0
0
0
0
0.024652
0.197764
1,163
48
107
24.229167
0.772776
0.44368
0
0.24
0
0
0.040816
0
0
0
0
0
0
1
0.16
false
0
0.04
0
0.36
0.44
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0f4aea28cd9c70e23bcd7e3a57f7b80215d70f0c
476
py
Python
data_structures/binary_tree/__init__.py
Mhassanbughio/Python-1
704c0f93425c53fcadcdbb3dbdf337b0598079fd
[ "MIT" ]
2
2022-01-13T04:56:29.000Z
2022-01-26T05:09:34.000Z
data_structures/binary_tree/__init__.py
Mhassanbughio/Python-1
704c0f93425c53fcadcdbb3dbdf337b0598079fd
[ "MIT" ]
null
null
null
data_structures/binary_tree/__init__.py
Mhassanbughio/Python-1
704c0f93425c53fcadcdbb3dbdf337b0598079fd
[ "MIT" ]
null
null
null
class Rectangle: def __init__(self, length, breadth, unit_cost=0): self.length = length self.breadth = breadth self.unit_cost = unit_cost def get_area(self): return self.length * self.breadth def calculate_cost(self): area = self.get_area() return area * self.unit_cost...
34
67
0.657563
70
476
4.3
0.357143
0.13289
0.112957
0
0
0
0
0
0
0
0
0.060274
0.233193
476
13
68
36.615385
0.764384
0.136555
0
0
0
0
0.07335
0
0
0
0
0
0
1
0.25
false
0
0
0.083333
0.5
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0f69d3eab2dbb5cfe8989db4cb4da5f04dcd2474
1,653
py
Python
src/moodlews/service.py
pystardust/Welearn-bot
87a8c388201629c7ce94e6f9730a4ac7442b36f6
[ "MIT" ]
null
null
null
src/moodlews/service.py
pystardust/Welearn-bot
87a8c388201629c7ce94e6f9730a4ac7442b36f6
[ "MIT" ]
null
null
null
src/moodlews/service.py
pystardust/Welearn-bot
87a8c388201629c7ce94e6f9730a4ac7442b36f6
[ "MIT" ]
null
null
null
from requests import Session import urllib.parse import json class ServerFunctions: SITE_INFO = "core_webservice_get_site_info" ALL_COURSES = "core_course_get_courses_by_field" USER_COURSES = "core_enrol_get_users_courses" COURSE_CONTENTS = "core_course_get_contents" ASSIGNMENTS = "mod_assign_get_a...
30.611111
85
0.643678
185
1,653
5.475676
0.356757
0.035538
0.047384
0.041461
0.055281
0
0
0
0
0
0
0
0.264368
1,653
53
86
31.188679
0.833059
0
0
0
0
0
0.182698
0.157895
0
0
0
0
0
1
0.130435
false
0.043478
0.065217
0.043478
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0f7394ec885b966aaf92685817a31c344da144b3
577
py
Python
unittests/validators.py
lspestrip/stdb2
80703385f6e681962140d82a4991878a995c90fd
[ "MIT" ]
1
2018-03-07T10:13:12.000Z
2018-03-07T10:13:12.000Z
unittests/validators.py
lspestrip/stdb2
80703385f6e681962140d82a4991878a995c90fd
[ "MIT" ]
31
2017-10-28T07:17:38.000Z
2018-05-11T11:28:02.000Z
unittests/validators.py
lspestrip/stdb2
80703385f6e681962140d82a4991878a995c90fd
[ "MIT" ]
1
2017-11-28T21:50:27.000Z
2017-11-28T21:50:27.000Z
# -*- encoding: utf-8 -*- VALID_REPORT_EXTENSIONS = [ '.pdf', '.doc', '.docx', '.html', '.htm', '.xsl', '.xslx', '.md', '.rst', '.zip', ] def validate_report_file_ext(value): import os from django.core.exceptions import ValidationError ext = os.path.splitext(value...
23.08
104
0.561525
65
577
4.846154
0.692308
0.104762
0.2
0.146032
0
0
0
0
0
0
0
0.009434
0.265165
577
24
105
24.041667
0.733491
0.039861
0
0
0
0
0.188406
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.157895
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f75773a133923f483bf0f32ed5fc3578f9eaa52
1,566
py
Python
src/ui/pgUI.py
yuj09161/MoneyManager
32d57ca05d0c182ace68ea960a7bf7dfaad0fc79
[ "MIT" ]
null
null
null
src/ui/pgUI.py
yuj09161/MoneyManager
32d57ca05d0c182ace68ea960a7bf7dfaad0fc79
[ "MIT" ]
null
null
null
src/ui/pgUI.py
yuj09161/MoneyManager
32d57ca05d0c182ace68ea960a7bf7dfaad0fc79
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'pg.ui' ## ## Created by: Qt User Interface Compiler version 6.0.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ########################...
31.959184
89
0.598978
160
1,566
5.85625
0.4625
0.108858
0.089648
0.049093
0
0
0
0
0
0
0
0.017502
0.197318
1,566
48
90
32.625
0.727924
0.139208
0
0
1
0
0.055413
0
0
0
0
0
0
1
0.076923
false
0
0.115385
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0f7e825a057f5ebc72d9fb6d24195fedaea8c685
216
py
Python
app/ref/test-ttyP.py
lucid281/pyEfi
c8a5b69820a3c1e7c4c652f7e4194cd8ce8a6e18
[ "Apache-2.0" ]
7
2017-07-30T20:23:58.000Z
2021-12-10T19:38:04.000Z
app/ref/test-ttyP.py
lucid281/pyEfi
c8a5b69820a3c1e7c4c652f7e4194cd8ce8a6e18
[ "Apache-2.0" ]
2
2017-07-31T23:03:39.000Z
2021-03-26T21:06:02.000Z
app/ref/test-ttyP.py
lucid281/pyEfi
c8a5b69820a3c1e7c4c652f7e4194cd8ce8a6e18
[ "Apache-2.0" ]
null
null
null
from .. app.pyefi.ttyp import ttyP ttyP(0, "0 - ttyP test") ttyP(1, "1 - header") ttyP(2, "2 - bold") ttyP(3, "3 - okblue") ttyP(4, "4 - okgreen") ttyP(5, "5 - underline") ttyP(6, "6 - warning") ttyP(7, "7 - fail")
19.636364
34
0.578704
39
216
3.205128
0.538462
0
0
0
0
0
0
0
0
0
0
0.090395
0.180556
216
10
35
21.6
0.615819
0
0
0
0
0
0.388889
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1