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
ada9514152a4ee233b01ea1e3ef4dd32d3496ea8
11,871
py
Python
python_scripts/01_tabular_data_exploration.py
mehrdad-dev/scikit-learn-mooc
9c03fb14784ab447a2477039c07f8e8a0d191742
[ "CC-BY-4.0" ]
null
null
null
python_scripts/01_tabular_data_exploration.py
mehrdad-dev/scikit-learn-mooc
9c03fb14784ab447a2477039c07f8e8a0d191742
[ "CC-BY-4.0" ]
null
null
null
python_scripts/01_tabular_data_exploration.py
mehrdad-dev/scikit-learn-mooc
9c03fb14784ab447a2477039c07f8e8a0d191742
[ "CC-BY-4.0" ]
null
null
null
# --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: percent # format_version: '1.3' # jupytext_version: 1.6.0 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # %% [markdown] # # First look at our dataset # # In ...
39.307947
79
0.728498
1,784
11,871
4.818386
0.295404
0.023034
0.011168
0.009772
0.121917
0.088646
0.083178
0.062936
0.048627
0.036994
0
0.010806
0.181451
11,871
301
80
39.438538
0.873829
0.853509
0
0
0
0
0.258216
0.064386
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
adaa33175e0d7379c7482637e2a1d96ffb3bc766
1,835
py
Python
pycalc/MAVProxy/modules/mavproxy_mmap/mmap_server.py
joakimzhang/python-electron
79bc174a14c5286ca739bb7d8ce6522fdc6e9e80
[ "CC0-1.0" ]
null
null
null
pycalc/MAVProxy/modules/mavproxy_mmap/mmap_server.py
joakimzhang/python-electron
79bc174a14c5286ca739bb7d8ce6522fdc6e9e80
[ "CC0-1.0" ]
8
2021-01-28T19:26:22.000Z
2022-03-24T18:07:24.000Z
pycalc/MAVProxy/modules/mavproxy_mmap/mmap_server.py
joakimzhang/python-electron
79bc174a14c5286ca739bb7d8ce6522fdc6e9e80
[ "CC0-1.0" ]
null
null
null
import BaseHTTPServer import json import os.path import thread import urlparse DOC_DIR = os.path.join(os.path.dirname(__file__), 'mmap_app') class Server(BaseHTTPServer.HTTPServer): def __init__(self, handler, address='', port=9999, module_state=None): BaseHTTPServer.HTTPServer.__init__(self, (address, port), ...
29.596774
74
0.623978
226
1,835
4.902655
0.402655
0.069495
0.043321
0.048736
0.110108
0.110108
0.084838
0.084838
0.084838
0.084838
0
0.010167
0.249591
1,835
61
75
30.081967
0.794481
0.06267
0
0.14
0
0
0.040233
0
0
0
0
0
0
0
null
null
0
0.1
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
adab0b3fcbacc4b2d2213d4af71ae5e1ea0c0623
323
py
Python
Flo et toto/solo/project/constants.py
geverartsdev/TechnofuturTIC
389b3646d7a70ef91e7f51cbd258ed23ce6943dd
[ "MIT" ]
null
null
null
Flo et toto/solo/project/constants.py
geverartsdev/TechnofuturTIC
389b3646d7a70ef91e7f51cbd258ed23ce6943dd
[ "MIT" ]
null
null
null
Flo et toto/solo/project/constants.py
geverartsdev/TechnofuturTIC
389b3646d7a70ef91e7f51cbd258ed23ce6943dd
[ "MIT" ]
null
null
null
import pygame # Constantes de jeu MAX_TIRS = 10 # nombre maximum de boulets sur l'ecran MAX_ALIEN = 10 PROBA_ALIEN = 22 # probabilité qu'un alien apparaisse NOUVEL_ALIEN = 12 # Rafraichissement de l'ecran entre chaque alien ECRAN = pygame.Rect(0, 0, 1825, 900) SONS = True # Mettre a True si on veut activer le so...
32.3
68
0.743034
54
323
4.37037
0.722222
0.050847
0
0
0
0
0
0
0
0
0
0.065385
0.195046
323
9
69
35.888889
0.842308
0.551084
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
adac8108340de3c016936554706dfa3a8a583af9
1,717
py
Python
src/ralph_scrooge/plugins/collect/ralph3_profit_center.py
ar4s/ralph_pricing
40127e9450edc91ba0be725d63bf691dde16a137
[ "Apache-2.0" ]
null
null
null
src/ralph_scrooge/plugins/collect/ralph3_profit_center.py
ar4s/ralph_pricing
40127e9450edc91ba0be725d63bf691dde16a137
[ "Apache-2.0" ]
null
null
null
src/ralph_scrooge/plugins/collect/ralph3_profit_center.py
ar4s/ralph_pricing
40127e9450edc91ba0be725d63bf691dde16a137
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import logging from django.db import transaction # TODO(xor-xor): BusinessLine should be renamed to BusinessSegment (this also # applies to oth...
30.122807
78
0.70763
215
1,717
5.339535
0.395349
0.094077
0.055749
0.04007
0.16899
0.071429
0.071429
0.071429
0
0
0
0.006565
0.201514
1,717
56
79
30.660714
0.83078
0.090856
0
0
0
0
0.092486
0.014772
0
0
0
0.017857
0
1
0.046512
false
0
0.209302
0
0.302326
0.023256
0
0
0
null
0
0
0
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
adae90fd131a83c2936d0c1cc21312d7812657a8
6,938
py
Python
doc/conf.py
IJSComplexMatter/dtmm
08c66ddf55f9276bc713e921eaadbadbb4a28fe2
[ "MIT" ]
3
2019-12-11T16:30:15.000Z
2021-08-08T06:29:39.000Z
doc/conf.py
IJSComplexMatter/dtmm
08c66ddf55f9276bc713e921eaadbadbb4a28fe2
[ "MIT" ]
3
2021-05-19T08:38:12.000Z
2021-05-26T13:32:18.000Z
doc/conf.py
IJSComplexMatter/dtmm
08c66ddf55f9276bc713e921eaadbadbb4a28fe2
[ "MIT" ]
2
2020-03-24T16:44:23.000Z
2021-03-01T16:37:01.000Z
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/stable/config # -- Path setup ------------------------------------------------------------...
26.480916
85
0.617325
900
6,938
4.643333
0.306667
0.027997
0.026801
0.020101
0.374731
0.295286
0.295286
0.282364
0.282364
0.282364
0
0.011651
0.195878
6,938
261
86
26.582375
0.737408
0.359325
0
0.569536
0
0.02649
0.763686
0.046989
0
0
0
0.003831
0
1
0
false
0.006623
0.092715
0
0.092715
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
adb1445bc280927bcb598f55211b9c7bb0d759bd
388
py
Python
abc/ABC162/python/c.py
yokotani92/atcoder
febaef2d13c40093a2a284c87a949cd46113801d
[ "MIT" ]
null
null
null
abc/ABC162/python/c.py
yokotani92/atcoder
febaef2d13c40093a2a284c87a949cd46113801d
[ "MIT" ]
null
null
null
abc/ABC162/python/c.py
yokotani92/atcoder
febaef2d13c40093a2a284c87a949cd46113801d
[ "MIT" ]
null
null
null
import math K = int(input()) ans = 0 for i in range(1, K+1): for j in range(i, K+1): for k in range(j, K+1): if (i == j) and (j == k): ans += math.gcd(i, math.gcd(j, k)) elif (i == j) or (j == k): ans += 3 * math.gcd(i, math.gcd(j, k)) else...
27.714286
54
0.407216
69
388
2.289855
0.318841
0.075949
0.151899
0.227848
0.322785
0.322785
0.322785
0
0
0
0
0.030172
0.402062
388
13
55
29.846154
0.650862
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
adb229a734c4722fbaf237d2d10e41bc02e7334a
6,713
py
Python
airbyte_dto_factory.py
eSchwander/airbyte-tentacle
da1957d9150fccb4ea8fdcd6567e2fb5aa62853d
[ "Unlicense" ]
null
null
null
airbyte_dto_factory.py
eSchwander/airbyte-tentacle
da1957d9150fccb4ea8fdcd6567e2fb5aa62853d
[ "Unlicense" ]
null
null
null
airbyte_dto_factory.py
eSchwander/airbyte-tentacle
da1957d9150fccb4ea8fdcd6567e2fb5aa62853d
[ "Unlicense" ]
null
null
null
class SourceDto: """Data transfer object class for Source-type Airbyte abstractions""" def __init__(self): self.source_definition_id = None self.source_id = None self.workspace_id = None self.connection_configuration = {} self.name = None self.source_name = None ...
38.58046
140
0.63891
702
6,713
5.920228
0.165242
0.038499
0.021655
0.033205
0.325553
0.284649
0.246391
0.189605
0.158325
0.116939
0
0
0.268881
6,713
174
141
38.58046
0.846781
0.141814
0
0.30303
0
0
0.129623
0.03628
0
0
0
0.017241
0
1
0.106061
false
0.030303
0
0
0.19697
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
adb2513832f20b75c8226ac02e54a36591acb468
4,401
py
Python
page/scrape.py
johnb30/atlas
ced824fc3d46849567aa1ccdb1971181419bd6e9
[ "MIT" ]
13
2016-07-14T17:19:32.000Z
2020-11-04T15:29:22.000Z
page/scrape.py
johnb30/atlas
ced824fc3d46849567aa1ccdb1971181419bd6e9
[ "MIT" ]
null
null
null
page/scrape.py
johnb30/atlas
ced824fc3d46849567aa1ccdb1971181419bd6e9
[ "MIT" ]
5
2016-09-12T06:29:38.000Z
2021-12-09T05:25:35.000Z
from __future__ import unicode_literals import requests import timeout_decorator from bs4 import BeautifulSoup from selenium import webdriver def scrape(url, extractor, proxy_choice, proxy_login, raw_html=''): """ Function to request and parse a given URL. Returns only the "relevant" text. Parameters...
30.5625
152
0.559873
494
4,401
4.902834
0.350202
0.029728
0.019818
0.021057
0.324525
0.324525
0.241123
0.241123
0.241123
0.241123
0
0.010409
0.345149
4,401
143
153
30.776224
0.829979
0.055442
0
0.319444
0
0.013889
0.140574
0
0
0
0
0.006993
0
0
null
null
0
0.069444
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
adb7ce02a75c77d7ba2dd7aff9ae9a1fc4429170
834
py
Python
Parsers/Parser.py
maoyuwang/ChangeLogger
779bb9f149009c71fa42023256fc5bde030363bb
[ "BSD-3-Clause" ]
null
null
null
Parsers/Parser.py
maoyuwang/ChangeLogger
779bb9f149009c71fa42023256fc5bde030363bb
[ "BSD-3-Clause" ]
null
null
null
Parsers/Parser.py
maoyuwang/ChangeLogger
779bb9f149009c71fa42023256fc5bde030363bb
[ "BSD-3-Clause" ]
1
2019-09-16T13:39:00.000Z
2019-09-16T13:39:00.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from threading import Thread from Parsers.Common import * class Parser(Thread): def __init__(self): """ Initialize a Parser thread. """ Thread.__init__(self) self.deamon = True self.result = None def run(self): ""...
18.954545
59
0.538369
88
834
4.875
0.545455
0.09324
0
0
0
0
0
0
0
0
0
0.001825
0.342926
834
43
60
19.395349
0.781022
0.230216
0
0
0
0
0.01487
0
0
0
0
0
0
1
0.25
false
0.05
0.1
0.05
0.5
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
adbaa91870cae5bf53b17c2cf460f4d74250f42e
405
py
Python
retsinfo_app/documents/migrations/0002_rename_documentembeddings_documentembedding.py
IIMunchII/retsinformation
8576f11e7fa0e7fd87032d9cf86e60c4288a637e
[ "Apache-2.0" ]
1
2022-02-21T09:42:51.000Z
2022-02-21T09:42:51.000Z
retsinfo_app/documents/migrations/0002_rename_documentembeddings_documentembedding.py
IIMunchII/retsinformation
8576f11e7fa0e7fd87032d9cf86e60c4288a637e
[ "Apache-2.0" ]
null
null
null
retsinfo_app/documents/migrations/0002_rename_documentembeddings_documentembedding.py
IIMunchII/retsinformation
8576f11e7fa0e7fd87032d9cf86e60c4288a637e
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2 on 2021-05-30 18:47 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('scrapers', '0011_alter_retsinfosentences_document'), ('documents', '0001_initial'), ] operations = [ migrations.RenameModel( old_n...
21.315789
62
0.62716
38
405
6.526316
0.868421
0
0
0
0
0
0
0
0
0
0
0.073826
0.264198
405
18
63
22.5
0.758389
0.106173
0
0
1
0
0.280556
0.102778
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
adc1472a4bcd26447020355e3b070eac7542f9e3
1,855
py
Python
deepchem/feat/molecule_featurizers/maccs_keys_fingerprint.py
deloragaskins/deepchem
234ab699cdb997e5963966a8b6926cb2cda7c064
[ "MIT" ]
3,782
2016-02-21T03:53:11.000Z
2022-03-31T16:10:26.000Z
deepchem/feat/molecule_featurizers/maccs_keys_fingerprint.py
deloragaskins/deepchem
234ab699cdb997e5963966a8b6926cb2cda7c064
[ "MIT" ]
2,666
2016-02-11T01:54:54.000Z
2022-03-31T11:14:33.000Z
deepchem/feat/molecule_featurizers/maccs_keys_fingerprint.py
deloragaskins/deepchem
234ab699cdb997e5963966a8b6926cb2cda7c064
[ "MIT" ]
1,597
2016-02-21T03:10:08.000Z
2022-03-30T13:21:28.000Z
import numpy as np from deepchem.utils.typing import RDKitMol from deepchem.feat.base_classes import MolecularFeaturizer class MACCSKeysFingerprint(MolecularFeaturizer): """MACCS Keys Fingerprint. The MACCS (Molecular ACCess System) keys are one of the most commonly used structural keys. Please confirm the de...
27.279412
93
0.668464
221
1,855
5.574661
0.565611
0.045455
0.032468
0.035714
0.056818
0.056818
0.056818
0
0
0
0
0.020492
0.210782
1,855
67
94
27.686567
0.821038
0.51752
0
0
0
0
0.151324
0
0
0
0
0
0
1
0.105263
false
0.052632
0.263158
0
0.473684
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
adc2d4744e0268121059a1578c3e12e94fffcb80
5,772
py
Python
fastai_xla_extensions/core.py
hixio-mh/fastai_xla_extensions
4341ba743c155fd7fa1937579318780c322a33f1
[ "Apache-2.0" ]
33
2020-07-05T03:05:23.000Z
2021-07-25T07:01:46.000Z
fastai_xla_extensions/core.py
butchland/fastai_xla_extensions
4341ba743c155fd7fa1937579318780c322a33f1
[ "Apache-2.0" ]
22
2020-07-10T08:48:01.000Z
2021-07-25T13:32:09.000Z
fastai_xla_extensions/core.py
butchland/fastai_xla_extensions
4341ba743c155fd7fa1937579318780c322a33f1
[ "Apache-2.0" ]
6
2020-07-07T05:40:33.000Z
2021-08-02T23:29:08.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/00_core.ipynb (unless otherwise specified). __all__ = ['XLAOptimProxy', 'DeviceMoverTransform', 'isAffineCoordTfm', 'isDeviceMoverTransform', 'has_affinecoord_tfm', 'has_devicemover_tfm', 'get_last_affinecoord_tfm_idx', 'insert_batch_tfm', 'XLAOptCallback'] #...
35.850932
133
0.719681
800
5,772
5.0425
0.22625
0.024541
0.020823
0.013882
0.26475
0.211205
0.145265
0.074368
0.04115
0.04115
0
0.002371
0.196119
5,772
161
134
35.850932
0.867026
0.253812
0
0.191667
1
0.016667
0.226454
0.018003
0
0
0
0
0
1
0.175
false
0.008333
0.133333
0.033333
0.433333
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
adc7ee4b98ef9402615d46bfa53301301148217b
371
py
Python
dispatcher.py
dontcrenie/SNCF-Flask-webapp
21ab846abc9b1a69accd9af6a853a7335d7d6123
[ "MIT" ]
1
2021-02-25T09:31:29.000Z
2021-02-25T09:31:29.000Z
dispatcher.py
dontcrenie/SNCF-Flask-webapp
21ab846abc9b1a69accd9af6a853a7335d7d6123
[ "MIT" ]
6
2021-03-31T19:41:27.000Z
2021-12-13T20:34:15.000Z
dispatcher.py
dontcrenie/SNCF-Flask-webapp
21ab846abc9b1a69accd9af6a853a7335d7d6123
[ "MIT" ]
null
null
null
from flask import Flask from restservice import app as restserv from train import app as mainapp from handler import app as soapserv from werkzeug.middleware.dispatcher import DispatcherMiddleware app = Flask(__name__) app.wsgi_app = DispatcherMiddleware(mainapp, { '/restservice': restserv, '/soapservice':soa...
23.1875
63
0.768194
45
371
6.044444
0.466667
0.099265
0.121324
0
0
0
0
0
0
0
0
0
0.153639
371
15
64
24.733333
0.866242
0
0
0
0
0
0.086253
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
adccd9beedf21468250ac7fd847ae5c1345513bc
2,947
py
Python
src/babysteps/cal/fluke8845a.py
solohm/multimeter
e00091bebbbfd4fbaa4668ea0d4cd4dab78bbe44
[ "MIT" ]
1
2017-10-11T12:37:33.000Z
2017-10-11T12:37:33.000Z
src/babysteps/cal/fluke8845a.py
solohm/multimeter
e00091bebbbfd4fbaa4668ea0d4cd4dab78bbe44
[ "MIT" ]
null
null
null
src/babysteps/cal/fluke8845a.py
solohm/multimeter
e00091bebbbfd4fbaa4668ea0d4cd4dab78bbe44
[ "MIT" ]
null
null
null
#!/usr/bin/env python import socket,time,serial,sys def removeexp(s): try: return float(s) except ValueError: return s class fluke8845a(object): def __init__(self,host='fluke1',port=3490): self.host = host self.port = port self.connect() def connect(self): ...
27.036697
126
0.488972
318
2,947
4.487421
0.311321
0.084793
0.025228
0.035739
0.15487
0.060266
0.042046
0
0
0
0
0.017857
0.391924
2,947
108
127
27.287037
0.77846
0.039701
0
0.325843
0
0
0.078175
0
0
0
0
0
0
0
null
null
0
0.011236
null
null
0.067416
0
0
0
null
0
0
0
0
0
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
add40deddb67b8458ea9fa7d5550f9429f0d8071
765
py
Python
Absolute_Integrator/peak_finding/template_match.py
msarahan/Absolute_Integrator
bb0189fe3a2a15284ed1394d120d32b90807236c
[ "MIT" ]
null
null
null
Absolute_Integrator/peak_finding/template_match.py
msarahan/Absolute_Integrator
bb0189fe3a2a15284ed1394d120d32b90807236c
[ "MIT" ]
null
null
null
Absolute_Integrator/peak_finding/template_match.py
msarahan/Absolute_Integrator
bb0189fe3a2a15284ed1394d120d32b90807236c
[ "MIT" ]
null
null
null
import numpy as np # dictionary describing options available to tune this algorithm options = { "peak_size": {"purpose": "Estimate of the peak size, in pixels. If 'auto', attempts to determine automatically. Otherwise, this should be an integer.", "default": "auto", "type": "i...
42.5
157
0.575163
87
765
5
0.747126
0.036782
0
0
0
0
0
0
0
0
0
0.003774
0.30719
765
18
158
42.5
0.816981
0.147712
0
0
0
0.071429
0.507692
0
0
0
0
0.055556
0
1
0.071429
false
0
0.071429
0.071429
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
add58698533b0ef8c2d701a57eeb05f7faf622dc
439
py
Python
Python Advanced/2. Tuples And Sets/Lab/02. Students' Grades.py
a-shiro/SoftUni-Courses
7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77
[ "MIT" ]
null
null
null
Python Advanced/2. Tuples And Sets/Lab/02. Students' Grades.py
a-shiro/SoftUni-Courses
7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77
[ "MIT" ]
null
null
null
Python Advanced/2. Tuples And Sets/Lab/02. Students' Grades.py
a-shiro/SoftUni-Courses
7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77
[ "MIT" ]
null
null
null
def get_average(g): return sum(g) / len(g) n = int(input()) students_record = {} for _ in range(n): student, grade = input().split() if student not in students_record: students_record[student] = [] students_record[student].append(float(grade)) for s, g in students_record.items(): ave...
19.086957
50
0.610478
64
439
4.0625
0.484375
0.269231
0.084615
0
0
0
0
0
0
0
0
0.005814
0.216401
439
22
51
19.954545
0.75
0
0
0
0
0
0.100228
0
0
0
0
0
0
1
0.076923
false
0
0
0.076923
0.153846
0.076923
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
add59f41e7f8e8e6c9c82b3ccd1085aa177314a2
1,047
py
Python
wg-manager-backend/script/wireguard_startup.py
SH-Daemon/wg-manager
e70ba4bdc288318bc164fe696750a0c40ed1fac6
[ "MIT" ]
417
2020-04-14T00:33:26.000Z
2022-03-29T16:25:43.000Z
wg-manager-backend/script/wireguard_startup.py
SH-Daemon/wg-manager
e70ba4bdc288318bc164fe696750a0c40ed1fac6
[ "MIT" ]
93
2020-04-16T12:38:09.000Z
2022-03-18T12:13:10.000Z
wg-manager-backend/script/wireguard_startup.py
SH-Daemon/wg-manager
e70ba4bdc288318bc164fe696750a0c40ed1fac6
[ "MIT" ]
65
2020-04-14T11:04:23.000Z
2022-03-29T16:25:49.000Z
import os import typing from sqlalchemy.orm import Session import const from database import models from database.database import SessionLocal from db.api_key import add_initial_api_key_for_admin from db.wireguard import server_add_on_init from script.wireguard import is_installed, start_interface, is_running, load_e...
29.914286
96
0.727794
149
1,047
4.785235
0.38255
0.042076
0.036466
0.044881
0.134642
0.067321
0
0
0
0
0
0
0.209169
1,047
34
97
30.794118
0.861111
0
0
0
0
0
0.013372
0
0
0
0
0
0
1
0.037037
false
0
0.333333
0
0.37037
0.037037
0
0
0
null
0
0
0
0
0
0
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
addc31e8274a99863909b6fa88e56a8f3ee07044
2,585
py
Python
omics/feature_selection/MRMR.py
choyichen/pybcb
60ba382be28bdbce466a9b24760fe44d421aa5ae
[ "MIT" ]
3
2017-05-11T02:13:03.000Z
2020-08-04T06:59:11.000Z
omics/feature_selection/MRMR.py
choyichen/pybcb
60ba382be28bdbce466a9b24760fe44d421aa5ae
[ "MIT" ]
null
null
null
omics/feature_selection/MRMR.py
choyichen/pybcb
60ba382be28bdbce466a9b24760fe44d421aa5ae
[ "MIT" ]
1
2020-07-03T06:57:51.000Z
2020-07-03T06:57:51.000Z
"""MRMR method. Implementation of Ding (2005) Minimum redundancyi-maximum relevance (MRMR) feature selection method. Minimum redundancy feature selection from microarray gene expression data. Ding C, Peng H J Bioinform Comput Biol. 2005 Apr; 3(2) 185-205 DOI: 10.1142/S0219720005001004, PMID: 15852500 """ import panda...
32.721519
128
0.615087
397
2,585
3.926952
0.365239
0.019243
0.012829
0.025016
0.141116
0.080821
0.044901
0.044901
0.044901
0
0
0.040347
0.242553
2,585
78
129
33.141026
0.755873
0.094391
0
0.108108
0
0
0.124083
0
0
0
0
0
0
0
null
null
0
0.054054
null
null
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
adddba69569a5bf22ecd2b7584d0a0695db44a3e
1,940
py
Python
P0-Tutorial/tutorial/shop.py
jorcus/CS188-Intro-to-AI
9b4772cbe1679dbb35d37a18bcdc815a7ec08223
[ "MIT" ]
6
2019-12-24T18:12:01.000Z
2021-04-13T18:44:44.000Z
P0-Tutorial/tutorial/shop.py
jorcus/CS188-Intro-to-AI
9b4772cbe1679dbb35d37a18bcdc815a7ec08223
[ "MIT" ]
null
null
null
P0-Tutorial/tutorial/shop.py
jorcus/CS188-Intro-to-AI
9b4772cbe1679dbb35d37a18bcdc815a7ec08223
[ "MIT" ]
1
2022-03-17T08:18:36.000Z
2022-03-17T08:18:36.000Z
# shop.py # ------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. # # Attri...
32.333333
80
0.627835
238
1,940
5.067227
0.504202
0.036484
0.032338
0
0
0
0
0
0
0
0
0.010079
0.284021
1,940
59
81
32.881356
0.858171
0.319072
0
0
0
0
0.047912
0
0
0
0
0
0
0
null
null
0
0
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
addfd063aaa46daf4692c610d53b1ea2899640b7
343
py
Python
coffea/lumi_tools/__init__.py
dnoonan08/coffea
fb52a8a31245c6f4cf5bbd13ea51cdda5262dfa0
[ "BSD-3-Clause" ]
1
2020-01-30T19:28:57.000Z
2020-01-30T19:28:57.000Z
coffea/lumi_tools/__init__.py
dnoonan08/coffea
fb52a8a31245c6f4cf5bbd13ea51cdda5262dfa0
[ "BSD-3-Clause" ]
null
null
null
coffea/lumi_tools/__init__.py
dnoonan08/coffea
fb52a8a31245c6f4cf5bbd13ea51cdda5262dfa0
[ "BSD-3-Clause" ]
1
2019-06-14T15:24:26.000Z
2019-06-14T15:24:26.000Z
"""Tools to parse CMS luminosity non-event data These tools are currently tailored to the CMS experiment data formats, however they could be generalized and/or compartmentalized into a standalone package. """ from .lumi_tools import ( LumiData, LumiList, LumiMask, ) __all__ = [ 'LumiData', 'LumiLi...
19.055556
72
0.71137
42
343
5.690476
0.809524
0.133891
0.200837
0
0
0
0
0
0
0
0
0
0.206997
343
17
73
20.176471
0.878676
0.588921
0
0
0
0
0.179104
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
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
ade5756e8570fab7df836a865e5c8d7b03d5f61c
897
py
Python
savecode/pythonpackages/commonbaby/mslog/filelogprovider.py
Octoberr/swm0920
8f05a6b91fc205960edd57f9076facec04f49a1a
[ "Apache-2.0" ]
2
2019-05-19T11:54:26.000Z
2019-05-19T12:03:49.000Z
savecode/pythonpackages/commonbaby/mslog/filelogprovider.py
Octoberr/swm0920
8f05a6b91fc205960edd57f9076facec04f49a1a
[ "Apache-2.0" ]
1
2020-11-27T07:55:15.000Z
2020-11-27T07:55:15.000Z
savecode/pythonpackages/commonbaby/mslog/filelogprovider.py
Octoberr/swm0920
8f05a6b91fc205960edd57f9076facec04f49a1a
[ "Apache-2.0" ]
2
2021-09-06T18:06:12.000Z
2021-12-31T07:44:43.000Z
"""File log provider that provides separated log file write""" # -*- coding:utf-8 -*- from .filelogwriter import MsFileLogWriter from .mslogconfig import MsFileLogConfig, MsLogConfig from .msloglevel import MsLogLevels from .mslogprovider import MsLogProvider class FileLogProvider(MsLogProvider): """File log pr...
30.931034
77
0.67893
101
897
5.930693
0.475248
0.023372
0.050083
0.063439
0.160267
0.160267
0.160267
0.160267
0.160267
0
0
0.001468
0.240803
897
28
78
32.035714
0.87812
0.222965
0
0
0
0
0.010401
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ade81a7e424484289c3024949babff1648bcb571
1,889
py
Python
Data Science With Python/15-statistical-thinking-in-python-(part1)/4-thinking-probabilistically--continuous-variables/the-normal-cdf.py
aimanahmedmoin1997/DataCamp
c6a6c4d59b83f14854bd76ed5c0c7f2dddd6de1d
[ "MIT" ]
3
2019-05-12T04:49:24.000Z
2020-05-06T00:40:28.000Z
Data Science With Python/15-statistical-thinking-in-python-(part1)/4-thinking-probabilistically--continuous-variables/the-normal-cdf.py
aimanahmedmoin1997/DataCamp
c6a6c4d59b83f14854bd76ed5c0c7f2dddd6de1d
[ "MIT" ]
null
null
null
Data Science With Python/15-statistical-thinking-in-python-(part1)/4-thinking-probabilistically--continuous-variables/the-normal-cdf.py
aimanahmedmoin1997/DataCamp
c6a6c4d59b83f14854bd76ed5c0c7f2dddd6de1d
[ "MIT" ]
7
2018-11-06T17:43:31.000Z
2020-11-07T21:08:16.000Z
''' The Normal CDF 100xp Now that you have a feel for how the Normal PDF looks, let's consider its CDF. Using the samples you generated in the last exercise (in your namespace as samples_std1, samples_std3, and samples_std10), generate and plot the CDFs. Instructions -Use your ecdf() function to generate x and y value...
32.568966
153
0.722605
326
1,889
4.082822
0.392638
0.033058
0.013524
0.022539
0.079639
0.040571
0
0
0
0
0
0.057692
0.174166
1,889
57
154
33.140351
0.795513
0.587083
0
0
1
0
0.063325
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.2
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
ade8ef9314c89c35a9701a1f3343dbee56aae12b
774
py
Python
firstcode.py
congnb/mypython
893b3390b8d6cf803b8ae15bf5331e74e6faf04a
[ "MIT" ]
1
2020-08-08T05:06:25.000Z
2020-08-08T05:06:25.000Z
firstcode.py
congnb/mypython
893b3390b8d6cf803b8ae15bf5331e74e6faf04a
[ "MIT" ]
null
null
null
firstcode.py
congnb/mypython
893b3390b8d6cf803b8ae15bf5331e74e6faf04a
[ "MIT" ]
1
2020-08-08T08:20:38.000Z
2020-08-08T08:20:38.000Z
import sys a="hello" def myfunc(): print("xxxx") a="du" print (a) myfunc() print(a) x="xxxxx\"" print(x, x[3:9]) print (str.format("abc {}",a)) for x in range(10): if x%2 == 0: print(x) else: pass # while True: # print(a) powOf = lambda a : a*a print(powOf(4)) def lbdIn...
12.483871
60
0.583979
123
774
3.642276
0.447154
0.017857
0.125
0.100446
0.075893
0.075893
0
0
0
0
0
0.016234
0.204134
774
62
61
12.483871
0.711039
0.031008
0
0.052632
0
0
0.069519
0
0
0
0
0
0
1
0.078947
false
0.026316
0.131579
0.026316
0.289474
0.421053
0
0
0
null
0
0
0
0
0
0
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
adef9655e73f9913df912ab71b3c8abd7304bf54
496
py
Python
frameworks/Python/falcon/app_waitress.py
http4k/FrameworkBenchmarks
ca11af53b90f92a12f987cc9aaf29ccaf3aec7e7
[ "BSD-3-Clause" ]
2
2019-09-23T16:12:35.000Z
2020-08-29T05:59:51.000Z
frameworks/Python/falcon/app_waitress.py
http4k/FrameworkBenchmarks
ca11af53b90f92a12f987cc9aaf29ccaf3aec7e7
[ "BSD-3-Clause" ]
2
2022-02-16T01:18:53.000Z
2022-02-16T01:19:01.000Z
frameworks/Python/falcon/app_waitress.py
http4k/FrameworkBenchmarks
ca11af53b90f92a12f987cc9aaf29ccaf3aec7e7
[ "BSD-3-Clause" ]
1
2019-09-23T16:12:41.000Z
2019-09-23T16:12:41.000Z
#!/usr/bin/env python from waitress import serve from app import wsgi from gunicorn_conf import bind, keepalive, workers import logging if __name__ == "__main__": logging.basicConfig() logging.getLogger().setLevel(logging.CRITICAL) logging.disable(True) serve( app=wsgi, listen=bind, ...
22.545455
50
0.679435
56
496
5.75
0.696429
0
0
0
0
0
0
0
0
0
0
0.007916
0.235887
496
21
51
23.619048
0.841689
0.040323
0
0
0
0
0.016842
0
0
0
0
0
0
1
0
true
0
0.235294
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
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
adeff9c6263fe22ff7da3ae411990c62b3a9c3e8
5,176
py
Python
app/main.py
jjrpayne/starter-snake-python
2b1b14229330ac39f7bde35662d621c8e01b4039
[ "MIT" ]
null
null
null
app/main.py
jjrpayne/starter-snake-python
2b1b14229330ac39f7bde35662d621c8e01b4039
[ "MIT" ]
null
null
null
app/main.py
jjrpayne/starter-snake-python
2b1b14229330ac39f7bde35662d621c8e01b4039
[ "MIT" ]
null
null
null
import json import os import random import bottle from api import ping_response, start_response, move_response, end_response @bottle.route('/') def index(): return ''' Battlesnake documentation can be found at <a href="https://docs.battlesnake.com">https://docs.battlesnake.com</a>. ''' @bottle.route('/stati...
27.099476
82
0.637172
780
5,176
4.178205
0.235897
0.058914
0.022093
0.012887
0.380485
0.337834
0.283829
0.216938
0.188095
0.15649
0
0.019005
0.176584
5,176
190
83
27.242105
0.745659
0.151082
0
0.162393
0
0.008547
0.109592
0
0
0
0
0.015789
0
1
0.051282
false
0
0.042735
0.008547
0.145299
0.034188
0
0
0
null
0
0
0
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
adfd8395e8366bb978c4cb33dfddfc55651d0d9a
2,406
py
Python
student/migrations/0002_institute_names.py
YarinBou/SJMaster
74f2d77bf03a9a5856ffd44ce57041ae7a416bcb
[ "MIT" ]
1
2022-03-17T10:34:56.000Z
2022-03-17T10:34:56.000Z
student/migrations/0002_institute_names.py
YarinBou/SJMaster
74f2d77bf03a9a5856ffd44ce57041ae7a416bcb
[ "MIT" ]
49
2021-11-15T08:29:25.000Z
2022-01-01T17:52:46.000Z
student/migrations/0002_institute_names.py
YarinBou/SJMaster
74f2d77bf03a9a5856ffd44ce57041ae7a416bcb
[ "MIT" ]
2
2021-11-02T09:22:23.000Z
2021-11-04T11:04:18.000Z
from django.db import migrations, transaction class Migration(migrations.Migration): dependencies = [ ('student', '0001_initial'), ] def generate_data(apps, schema_editor): from student.models import EducationalInstitution institution_names = [ "Technion - institute o...
38.190476
69
0.582294
222
2,406
6.283784
0.509009
0.070968
0.071685
0
0
0
0
0
0
0
0
0.002524
0.34123
2,406
62
70
38.806452
0.877603
0
0
0
1
0
0.520781
0
0
0
0
0
0
1
0.017544
false
0
0.035088
0
0.105263
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
adfe25456ecac6c825a7616fac885fd102a2f794
489
py
Python
consensys_utils/flask/config.py
ConsenSys/python-utils
9725f15f688303e116b7937242f8354a4a070808
[ "MIT" ]
4
2019-04-14T02:08:19.000Z
2021-04-14T19:10:04.000Z
consensys_utils/flask/config.py
ConsenSys/python-utils
9725f15f688303e116b7937242f8354a4a070808
[ "MIT" ]
4
2018-07-29T19:10:49.000Z
2018-08-08T16:33:01.000Z
consensys_utils/flask/config.py
ConsenSys/python-utils
9725f15f688303e116b7937242f8354a4a070808
[ "MIT" ]
2
2019-10-24T21:28:46.000Z
2021-02-16T10:51:57.000Z
""" consensys_utils.flask.config ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ App configuration :copyright: Copyright 2017 by ConsenSys France. :license: BSD, see :ref:`license` for more details. """ def set_app_config(app, config=None): """Set application configuration :param app: Flask application ...
21.26087
55
0.627812
53
489
5.735849
0.528302
0.088816
0.098684
0
0
0
0
0
0
0
0
0.010444
0.216769
489
22
56
22.227273
0.78329
0.693252
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
adfeab3d609535d04d56c1089b7e782342f7167d
4,345
py
Python
tests/brusselator/test_brusselator.py
masumis/pymgrit
0dc2f32025e109306c7e131dfd2fd777f5e8fc51
[ "MIT" ]
6
2020-04-24T13:14:17.000Z
2022-03-09T14:16:51.000Z
tests/brusselator/test_brusselator.py
masumis/pymgrit
0dc2f32025e109306c7e131dfd2fd777f5e8fc51
[ "MIT" ]
6
2020-03-24T09:03:05.000Z
2021-08-02T13:31:39.000Z
tests/brusselator/test_brusselator.py
masumis/pymgrit
0dc2f32025e109306c7e131dfd2fd777f5e8fc51
[ "MIT" ]
4
2020-06-09T21:11:19.000Z
2021-06-27T11:34:58.000Z
""" Tests brusselator """ import numpy as np from pymgrit.brusselator.brusselator import Brusselator from pymgrit.brusselator.brusselator import VectorBrusselator def test_brusselator_constructor(): """ Test constructor """ brusselator = Brusselator(t_start=0, t_stop=1, nt=11) np.testing.assert_...
29.760274
100
0.739471
540
4,345
5.596296
0.105556
0.360026
0.109199
0.138981
0.78094
0.650232
0.650232
0.571145
0.512574
0.414295
0
0.023545
0.149597
4,345
145
101
29.965517
0.794317
0.047871
0
0.308824
0
0
0
0
0
0
0
0
0.323529
1
0.176471
false
0
0.044118
0
0.220588
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc02fef5789518bf1092fdf62d428b9e9488a759
979
py
Python
python/213_2.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
python/213_2.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
python/213_2.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
1
2019-09-17T00:55:58.000Z
2019-09-17T00:55:58.000Z
#!/usr/bin/env python from gmpy import mpf off = [(0,1), (1,0), (0,-1), (-1,0)] paths = [ [[0]*900 for j in xrange(900)] for i in xrange(2) ] for i in xrange(900): paths[0][i][i] = 1 for r in xrange(50): print r c = (r+1)%2 p = r%2 for i in xrange(900): y, x = i//30, i%30 adj = [] ...
27.194444
79
0.499489
198
979
2.449495
0.242424
0.164948
0.158763
0.123711
0.286598
0.131959
0.065979
0.065979
0
0
0
0.102222
0.310521
979
35
80
27.971429
0.616296
0.066394
0
0.129032
0
0
0
0
0
0
0
0
0
0
null
null
0
0.032258
null
null
0.064516
0
0
0
null
0
0
0
0
0
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
bc0390948c9cb003d331c1893ee202a0bdb99763
367
py
Python
adafruit_circuitpython_libs/adafruit-circuitpython-bundle-py-20210214/examples/circuitplayground_tapdetect.py
jacoblb64/pico_rgb_keypad_hid
3251ca6a98ef86d9f98c54f639c4d61810601a0b
[ "MIT" ]
75
2017-08-17T18:00:28.000Z
2022-03-30T00:37:20.000Z
adafruit_circuitpython_libs/adafruit-circuitpython-bundle-py-20210214/examples/circuitplayground_tapdetect.py
jacoblb64/pico_rgb_keypad_hid
3251ca6a98ef86d9f98c54f639c4d61810601a0b
[ "MIT" ]
65
2017-08-02T02:06:54.000Z
2022-03-21T22:45:08.000Z
adafruit_circuitpython_libs/adafruit-circuitpython-bundle-py-20210214/examples/circuitplayground_tapdetect.py
jacoblb64/pico_rgb_keypad_hid
3251ca6a98ef86d9f98c54f639c4d61810601a0b
[ "MIT" ]
64
2017-09-15T21:05:50.000Z
2022-02-10T06:20:45.000Z
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT """This example prints to the serial console when the board is double-tapped.""" import time from adafruit_circuitplayground import cp # Change to 1 for single-tap detection. cp.detect_taps = 2 while True: if cp.tapped:...
24.466667
80
0.741144
53
367
5.09434
0.792453
0
0
0
0
0
0
0
0
0
0
0.029605
0.171662
367
14
81
26.214286
0.858553
0.553134
0
0
0
0
0.044872
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
bc06b7136fdd03c45d63911884363fdff04b7c95
878
py
Python
test/test_cli.py
pratyakshajha/pytest-check-links
b976679a14e9c9835212044a16b7ebd43ee484f2
[ "BSD-3-Clause" ]
7
2020-04-28T06:55:25.000Z
2022-02-27T01:24:31.000Z
test/test_cli.py
pratyakshajha/pytest-check-links
b976679a14e9c9835212044a16b7ebd43ee484f2
[ "BSD-3-Clause" ]
34
2020-04-06T18:11:30.000Z
2021-11-18T15:54:26.000Z
test/test_cli.py
pratyakshajha/pytest-check-links
b976679a14e9c9835212044a16b7ebd43ee484f2
[ "BSD-3-Clause" ]
13
2020-04-19T18:41:02.000Z
2022-02-27T01:24:33.000Z
import subprocess import pytest def test_cli_meta(): assert subprocess.call(["pytest-check-links", "--version"]) == 0 assert subprocess.call(["pytest-check-links", "--help"]) == 0 @pytest.mark.parametrize("example,rc,expected,unexpected", [ ["httpbin.md", 0, [" 6 passed"], [" failed"]], ["rst.rst", ...
35.12
75
0.659453
113
878
5.070796
0.469027
0.057592
0.08377
0.115183
0.253054
0.212914
0
0
0
0
0
0.015027
0.166287
878
24
76
36.583333
0.76776
0
0
0
0
0
0.207289
0.034169
0
0
0
0
0.25
1
0.1
false
0.15
0.1
0
0.2
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
bc070fe3da1105acb681b6d6c8f853f3068d967c
1,864
py
Python
conf.py
DawudH/ImageColorizer
98db8da20b162fa80dc8885b7bf82c94e806c05d
[ "MIT" ]
null
null
null
conf.py
DawudH/ImageColorizer
98db8da20b162fa80dc8885b7bf82c94e806c05d
[ "MIT" ]
null
null
null
conf.py
DawudH/ImageColorizer
98db8da20b162fa80dc8885b7bf82c94e806c05d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ authors: Dawud Hage, Joost Meulenbeld, Joost Dorscheidt and Dennis van der Hoff written for the NN course IN4015 of the TUDelft """ ##### SETTINGS: ##### # Number of epochs to train the network over n_epoch = 0 # Folder where the training superbatches are stored training_folder= 'selecti...
38.040816
182
0.803112
286
1,864
4.961538
0.41958
0.046512
0.059197
0.080338
0.27766
0.187456
0.187456
0.162086
0.162086
0.121212
0
0.037771
0.133584
1,864
48
183
38.833333
0.840867
0.585837
0
0
0
0
0.514986
0.441417
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc0a4c267d403523e42fefb5bb06df49fd31be70
957
py
Python
mixEM/examples/demo_multinormal.py
mjafin/LongQC
c1b1b040018b532a3c4acb2d94550a10e0d7f1f0
[ "MIT" ]
61
2019-06-17T07:34:00.000Z
2022-03-31T14:18:05.000Z
mixEM/examples/demo_multinormal.py
mjafin/LongQC
c1b1b040018b532a3c4acb2d94550a10e0d7f1f0
[ "MIT" ]
45
2020-03-27T06:16:56.000Z
2022-03-23T11:07:15.000Z
mixEM/examples/demo_multinormal.py
mjafin/LongQC
c1b1b040018b532a3c4acb2d94550a10e0d7f1f0
[ "MIT" ]
7
2019-06-17T07:38:12.000Z
2021-04-26T18:07:58.000Z
#!/usr/bin/env python import numpy as np import mixem from mixem.distribution import MultivariateNormalDistribution def generate_data(): dist_params = [ (np.array([4]), np.diag([1])), (np.array([1]), np.diag([0.5])) ] weights = [0.3, 0.7] n_data = 5000 data = np.zeros((n_data, 1...
21.75
120
0.605016
135
957
4.148148
0.414815
0.05
0.0375
0.035714
0.078571
0.078571
0.078571
0.078571
0
0
0
0.027248
0.23302
957
43
121
22.255814
0.735695
0.020899
0
0
1
0
0.008547
0
0
0
0
0
0
1
0.071429
false
0
0.107143
0
0.214286
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc0c339a34eae9735283299085f801e4279e68e0
1,995
py
Python
engineer/unittests/__init__.py
pridkett/engineer
2d0227f65fbd977cb84f138c043cdbf8f6ab5351
[ "MIT" ]
1
2017-09-24T22:13:44.000Z
2017-09-24T22:13:44.000Z
engineer/unittests/__init__.py
pridkett/engineer
2d0227f65fbd977cb84f138c043cdbf8f6ab5351
[ "MIT" ]
null
null
null
engineer/unittests/__init__.py
pridkett/engineer
2d0227f65fbd977cb84f138c043cdbf8f6ab5351
[ "MIT" ]
null
null
null
# coding=utf-8 from tempfile import mkdtemp from unittest.case import TestCase from path import path from engineer.log import bootstrap __author__ = 'Tyler Butler <tyler@tylerbutler.com>' class SettingsTestCase(TestCase): settings_file = None def __init__(self, *args, **kwargs): from engi...
31.171875
87
0.659649
232
1,995
5.37931
0.344828
0.064103
0.089744
0.115385
0.262821
0
0
0
0
0
0
0.00067
0.25213
1,995
63
88
31.666667
0.835791
0.006015
0
0.208333
0
0
0.09072
0.023983
0
0
0
0
0
0
null
null
0.020833
0.125
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bc0fa4fac0619733dc3b586d5f39a3ce2e456fbe
2,553
py
Python
pyasn1_alt_modules/rfc6010.py
CBonnell/pyasn1-alt-modules
cd3773ceaa6ab31b80b0b4013818ac47ee6215b8
[ "BSD-2-Clause" ]
2
2021-06-15T16:24:39.000Z
2022-03-28T04:41:59.000Z
pyasn1_alt_modules/rfc6010.py
CBonnell/pyasn1-alt-modules
cd3773ceaa6ab31b80b0b4013818ac47ee6215b8
[ "BSD-2-Clause" ]
null
null
null
pyasn1_alt_modules/rfc6010.py
CBonnell/pyasn1-alt-modules
cd3773ceaa6ab31b80b0b4013818ac47ee6215b8
[ "BSD-2-Clause" ]
1
2022-01-25T16:00:09.000Z
2022-01-25T16:00:09.000Z
# # This file is part of pyasn1-alt-modules software. # # Created by Russ Housley with assistance from asn1ate v.0.6.0. # Modified by Russ Housley to add maps for use with opentypes. # Modified by Russ Housley to include the opentypemap manager. # # Copyright (c) 2019-2022, Vigil Security, LLC # License: http://vigilse...
27.451613
100
0.791226
275
2,553
7.301818
0.461818
0.02988
0.031873
0.039841
0.169323
0.048805
0
0
0
0
0
0.032258
0.113592
2,553
92
101
27.75
0.85506
0.24011
0
0.113636
0
0
0.079646
0.025508
0
0
0
0
0
1
0
false
0.113636
0.136364
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bc0fc4a1ba4304d390d444f3ab83dff789b6414e
4,060
py
Python
quasimodo/tests/test_gaussian_nb_with_missing_values.py
Aunsiels/CSK
c88609bc76d865b4987aaf30ddf1247a2031b1a6
[ "MIT" ]
16
2019-11-28T13:26:37.000Z
2022-02-09T09:53:10.000Z
quasimodo/tests/test_gaussian_nb_with_missing_values.py
Aunsiels/CSK
c88609bc76d865b4987aaf30ddf1247a2031b1a6
[ "MIT" ]
1
2021-03-26T20:31:48.000Z
2021-07-15T08:52:47.000Z
quasimodo/tests/test_gaussian_nb_with_missing_values.py
Aunsiels/CSK
c88609bc76d865b4987aaf30ddf1247a2031b1a6
[ "MIT" ]
3
2020-08-14T23:23:25.000Z
2021-12-24T14:02:35.000Z
import unittest import numpy as np from quasimodo.assertion_fusion.gaussian_nb_with_missing_values import GaussianNBWithMissingValues class TestFilterObject(unittest.TestCase): def test_gaussian2(self): std = -0.1339048038303071 mean = -0.1339048038303071 x = 150.10086283379565 ...
39.803922
98
0.601724
547
4,060
4.341865
0.120658
0.079579
0.101895
0.176842
0.607158
0.565474
0.503158
0.410105
0.410105
0.389895
0
0.089761
0.259113
4,060
102
99
39.803922
0.699801
0.003695
0
0.375
0
0
0.001982
0
0
0
0
0
0.340909
1
0.090909
false
0
0.034091
0
0.136364
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
bc145fff95e7e9651b16e394d684335a6c486f71
3,723
py
Python
pysnmp-with-texts/ZONE-DEFENSE-MGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/ZONE-DEFENSE-MGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/ZONE-DEFENSE-MGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ZONE-DEFENSE-MGMT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZONE-DEFENSE-MGMT-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:48:06 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (def...
109.5
477
0.79264
410
3,723
7.187805
0.378049
0.048863
0.085511
0.008144
0.271463
0.154055
0.154055
0.154055
0.154055
0.149644
0
0.050103
0.083266
3,723
33
478
112.818182
0.813361
0.09025
0
0
0
0.038462
0.290112
0.025459
0
0
0
0
0
1
0
false
0
0.269231
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc1ad7edb07f9ec06b4da5404b3d35aa00cf6c3d
721
py
Python
upbit/migrations/0016_auto_20210618_0735.py
lindychi/longbit
81785661647ba57a9f7199ab7b178ff63d2069f4
[ "MIT" ]
null
null
null
upbit/migrations/0016_auto_20210618_0735.py
lindychi/longbit
81785661647ba57a9f7199ab7b178ff63d2069f4
[ "MIT" ]
4
2021-05-02T08:03:51.000Z
2021-05-23T08:05:17.000Z
upbit/migrations/0016_auto_20210618_0735.py
lindychi/longbit
81785661647ba57a9f7199ab7b178ff63d2069f4
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-06-18 07:35 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('upbit', '0015_auto_20210618_0725'), ] operations = [ migrations.AddField( mo...
27.730769
109
0.621359
82
721
5.378049
0.585366
0.045351
0.108844
0.14059
0.235828
0.235828
0.235828
0.235828
0
0
0
0.120075
0.260749
721
25
110
28.84
0.707317
0.059639
0
0.105263
1
0
0.100592
0.034024
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
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
bc1b77d68c6fd97cd98471b239c59684a54da124
926
py
Python
smartshark/migrations/0006_auto_20160607_1703.py
benjaminLedel/serverSHARK
97decc03ba7bde8ad9c5f55d446d21ed5a26709c
[ "Apache-2.0" ]
1
2019-11-09T21:18:05.000Z
2019-11-09T21:18:05.000Z
smartshark/migrations/0006_auto_20160607_1703.py
ArtyMandy/serverSHARK
7d3ce83c2bf310aeea7832dedbdaccd44ae7b1df
[ "Apache-2.0" ]
34
2017-09-28T12:38:15.000Z
2022-01-21T06:59:01.000Z
smartshark/migrations/0006_auto_20160607_1703.py
midasdev711/serverSHARK-backend
989f242c5454aaf913734cdb5779e90408be74cb
[ "Apache-2.0" ]
8
2018-05-23T12:46:45.000Z
2021-12-04T09:23:48.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-07 15:03 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('smartshark', '0005_auto_20160607_1657'), ] operatio...
29.870968
120
0.601512
95
926
5.705263
0.663158
0.04428
0.051661
0.081181
0
0
0
0
0
0
0
0.051852
0.271058
926
30
121
30.866667
0.751111
0.072354
0
0.086957
1
0
0.106308
0.026869
0
0
0
0
0
1
0
false
0
0.130435
0
0.26087
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
bc29c67338da6c55203ac026fbd2d6c78cda694b
7,907
py
Python
wt-app/apps/wt_articles/management/commands/import_turk_result.py
NickRuiz/wikitrans
c40dc599251ea5c0778abe9df7f6ce1e340dcd9e
[ "Apache-2.0" ]
1
2015-06-07T14:07:32.000Z
2015-06-07T14:07:32.000Z
wt-app/apps/wt_articles/management/commands/import_turk_result.py
NickRuiz/wikitrans
c40dc599251ea5c0778abe9df7f6ce1e340dcd9e
[ "Apache-2.0" ]
null
null
null
wt-app/apps/wt_articles/management/commands/import_turk_result.py
NickRuiz/wikitrans
c40dc599251ea5c0778abe9df7f6ce1e340dcd9e
[ "Apache-2.0" ]
null
null
null
from django.db.transaction import commit_on_success from django.core.management.base import BaseCommand from django.core.management.color import no_style from django.utils.encoding import smart_str from wt_articles.models import SourceSentence, SourceArticle, TranslatedSentence, TranslatedArticle from wt_articles.mana...
39.143564
151
0.581257
978
7,907
4.552147
0.232106
0.038185
0.034591
0.015723
0.367026
0.34142
0.324349
0.310422
0.272686
0.253369
0
0.007046
0.317946
7,907
201
152
39.338308
0.818468
0.07057
0
0.41954
0
0.005747
0.111808
0.003954
0
0
0
0
0
0
null
null
0
0.097701
null
null
0.028736
0
0
0
null
0
0
0
0
0
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
bc39b0fe393ffe471288117b6a688a5c7d60e607
1,949
py
Python
main.py
darrenlee01/awap2021-public
1809d3455710f655b3662561642706a67d0bdc8c
[ "MIT" ]
null
null
null
main.py
darrenlee01/awap2021-public
1809d3455710f655b3662561642706a67d0bdc8c
[ "MIT" ]
null
null
null
main.py
darrenlee01/awap2021-public
1809d3455710f655b3662561642706a67d0bdc8c
[ "MIT" ]
1
2021-02-20T20:07:31.000Z
2021-02-20T20:07:31.000Z
from game.game import Game import time BOARD_NAME = './board/board1.yaml' def example_network_generator(station_locations, feedback): network = { 0: [0, 1, 2], 1: [2, 3, 4, 2] } return network if __name__ == '__main__': # Load the board file with station locations/types g = Game(B...
35.436364
95
0.639815
255
1,949
4.776471
0.498039
0.065681
0.037767
0.049261
0.077176
0.077176
0
0
0
0
0
0.014947
0.279118
1,949
55
96
35.436364
0.851957
0.063109
0
0
0
0
0.117773
0
0
0
0
0.018182
0
1
0.041667
false
0
0.083333
0
0.166667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
70ae490ae4439fac2c8fd8e0c93b3f514679b510
23,857
py
Python
derivations/clustering.py
probcomp/distributions
d81335accb4c244cfe7daa43f28aed4c94b03235
[ "BSD-3-Clause" ]
1
2018-09-21T20:55:05.000Z
2018-09-21T20:55:05.000Z
derivations/clustering.py
probcomp/distributions
d81335accb4c244cfe7daa43f28aed4c94b03235
[ "BSD-3-Clause" ]
null
null
null
derivations/clustering.py
probcomp/distributions
d81335accb4c244cfe7daa43f28aed4c94b03235
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2014, Salesforce.com, Inc. 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 list of conditions...
31.515192
78
0.6168
3,226
23,857
4.418785
0.157161
0.022098
0.010032
0.020203
0.341073
0.270922
0.220344
0.165205
0.150824
0.106138
0
0.019456
0.263193
23,857
756
79
31.556878
0.791501
0.076707
0
0.269461
0
0.001996
0.120034
0.021316
0
0
0
0
0.011976
0
null
null
0
0.01996
null
null
0.021956
0
0
0
null
0
0
0
0
0
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
70b22334301f79b4dbb900f53bdfea0994daff5e
1,385
py
Python
google-basketball-scores.py
beepboop271/python-scripts
e9ef38149ba690f3d133a25443ce90e19e72beeb
[ "MIT" ]
null
null
null
google-basketball-scores.py
beepboop271/python-scripts
e9ef38149ba690f3d133a25443ce90e19e72beeb
[ "MIT" ]
null
null
null
google-basketball-scores.py
beepboop271/python-scripts
e9ef38149ba690f3d133a25443ce90e19e72beeb
[ "MIT" ]
null
null
null
# Sketchy script to pull basketball scores from the google # thingy for the 2019 nba finals, raptors v warriors # PYTHON 2 (old lol) import urllib2 import re import time headers = {"User-Agent": "Mozilla/5.0"} url = "https://www.google.com/search?q=raptors+game&rlz=1C1CHBF_enCA722CA722&oq=raptors+game&aqs=chrome..69i5...
29.468085
194
0.589892
230
1,385
3.495652
0.421739
0.024876
0.029851
0.039801
0.450249
0.425373
0.425373
0.425373
0.425373
0.425373
0
0.079545
0.237545
1,385
46
195
30.108696
0.681818
0.090975
0
0.552632
0
0.078947
0.310757
0.058964
0
0
0
0
0
0
null
null
0
0.078947
null
null
0.184211
0
0
0
null
0
0
0
0
0
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
70bf947e80479ddcb182ec6f18d1be26cd03ed78
14,615
py
Python
Sim_core_user_merged.py
thomasspiesser/MYpop
aa26659af75e99189e77c4f4e046985e536918b1
[ "MIT" ]
null
null
null
Sim_core_user_merged.py
thomasspiesser/MYpop
aa26659af75e99189e77c4f4e046985e536918b1
[ "MIT" ]
null
null
null
Sim_core_user_merged.py
thomasspiesser/MYpop
aa26659af75e99189e77c4f4e046985e536918b1
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: iso-8859-1 -*- #Import modules from numpy import * # import random as rd from scipy import integrate import sys, re, math import merged_eq_system from MYpop_functions import process_condition, check_free, initiate_core_cell, find_and_replace def Sim_core_user_merged(user_model, matrix...
52.383513
326
0.620595
2,367
14,615
3.591888
0.126743
0.020466
0.086803
0.025876
0.574924
0.528346
0.496707
0.473771
0.461538
0.45601
0
0.027324
0.203695
14,615
278
327
52.571942
0.703214
0.189394
0
0.323864
0
0
0.092152
0
0
0
0
0
0
0
null
null
0
0.028409
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
70c2e1707b3cd3774ddc84bfbd2a56365059805d
628
py
Python
src/server/requestHandlers/defaultHandler.py
Hiestaa/my-tornado-media-library
6decb97ad02d0ee1613c53dbb1729474e2ea9b42
[ "MIT" ]
1
2019-09-14T20:46:23.000Z
2019-09-14T20:46:23.000Z
src/server/requestHandlers/defaultHandler.py
Hiestaa/my-tornado-media-library
6decb97ad02d0ee1613c53dbb1729474e2ea9b42
[ "MIT" ]
null
null
null
src/server/requestHandlers/defaultHandler.py
Hiestaa/my-tornado-media-library
6decb97ad02d0ee1613c53dbb1729474e2ea9b42
[ "MIT" ]
1
2021-08-24T03:20:46.000Z
2021-08-24T03:20:46.000Z
# -*- coding: utf8 -*- from __future__ import unicode_literals from tornado.web import RequestHandler, HTTPError import random import logging from conf import Conf class DefaultHandler(RequestHandler): """ Handle every request that has no request handler. This could display a proper 404 Error template...
25.12
62
0.683121
83
628
5.108434
0.710843
0
0
0
0
0
0
0
0
0
0
0.020877
0.237261
628
24
63
26.166667
0.864301
0.256369
0
0
0
0
0.063205
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.583333
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
70c4731d2494a95cea67261479d32adf5304098a
568
py
Python
src/waldur_azure/migrations/0019_add_offer_field.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
26
2017-10-18T13:49:58.000Z
2021-09-19T04:44:09.000Z
src/waldur_azure/migrations/0019_add_offer_field.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
14
2018-12-10T14:14:51.000Z
2021-06-07T10:33:39.000Z
src/waldur_azure/migrations/0019_add_offer_field.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
32
2017-09-24T03:10:45.000Z
2021-10-16T16:41:09.000Z
# Generated by Django 2.2.20 on 2021-05-21 15:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('waldur_azure', '0018_drop_spl'), ] operations = [ migrations.AlterModelOptions( name='image', options={'ordering': ['publisher'...
24.695652
86
0.579225
57
568
5.666667
0.754386
0.055728
0
0
0
0
0
0
0
0
0
0.056511
0.283451
568
22
87
25.818182
0.737101
0.080986
0
0.125
1
0
0.142308
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
70cff4fae520033caa8b91d2ae9631e180c606f5
1,264
py
Python
example.py
Septaris/declic
bde2bb3505ba20b8d60672293ba5ac05e486e574
[ "MIT" ]
null
null
null
example.py
Septaris/declic
bde2bb3505ba20b8d60672293ba5ac05e486e574
[ "MIT" ]
1
2018-06-20T13:11:42.000Z
2018-06-21T13:23:26.000Z
example.py
Septaris/declic
bde2bb3505ba20b8d60672293ba5ac05e486e574
[ "MIT" ]
null
null
null
from declic import group, argument, command # on_before callbacks are executed if: # - the group itself is called # - if any of the child of the group is called def before_bar(): print('before bar') def before_sub(tata): print('before sub: %s' % tata) # define the root command (a group) @group(description='m...
26.893617
98
0.677215
195
1,264
4.307692
0.338462
0.038095
0.05
0.035714
0.052381
0.052381
0
0
0
0
0
0.003795
0.166139
1,264
47
99
26.893617
0.793169
0.3125
0
0.071429
0
0
0.157159
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.285714
0.285714
0
0
0
null
0
0
0
0
0
0
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
70d68b5319caa370d7f026cf997fc9dedf70a21e
1,379
py
Python
ivf/batch/initial_normal.py
tody411/ImageViewerFramework
5c183c34e65494b6af1287e70152b995a868c6ac
[ "MIT" ]
null
null
null
ivf/batch/initial_normal.py
tody411/ImageViewerFramework
5c183c34e65494b6af1287e70152b995a868c6ac
[ "MIT" ]
null
null
null
ivf/batch/initial_normal.py
tody411/ImageViewerFramework
5c183c34e65494b6af1287e70152b995a868c6ac
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ## @package ivf.batch.initial_normal # # ivf.batch.initial_normal utility package. # @author tody # @date 2016/02/19 import numpy as np import cv2 import matplotlib.pyplot as plt from ivf.batch.batch import DatasetBatch from ivf.io_util.image import loadNormal, saveNormal from i...
28.142857
76
0.681653
195
1,379
4.553846
0.430769
0.05518
0.037162
0.047297
0
0
0
0
0
0
0
0.025023
0.217549
1,379
49
77
28.142857
0.797961
0.102973
0
0
0
0
0.022764
0
0
0
0
0
0
1
0.064516
false
0
0.322581
0
0.451613
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
70dadbb87cfdae5821fc38ec8d77c29613076c82
709
py
Python
features/regnet.py
roatienza/agmax
2a7299cc506605aeaaf64b6155b5c826c71d5786
[ "Apache-2.0" ]
2
2021-11-05T13:09:12.000Z
2022-03-04T05:07:33.000Z
features/regnet.py
roatienza/agmax
2a7299cc506605aeaaf64b6155b5c826c71d5786
[ "Apache-2.0" ]
1
2021-11-04T10:06:57.000Z
2021-11-07T08:35:39.000Z
features/regnet.py
roatienza/agmax
2a7299cc506605aeaaf64b6155b5c826c71d5786
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn import timm from . import extractor class RegNetX002(extractor.BaseModule): def __init__(self, config, name): super(RegNetX002, self).__init__() self.name = name self.features = timm.create_model('regnetx_002') self.n_features = 368 d...
25.321429
56
0.655853
86
709
5.127907
0.348837
0.072562
0.099773
0.117914
0.639456
0.639456
0.639456
0.639456
0.435374
0.435374
0
0.04486
0.245416
709
27
57
26.259259
0.779439
0
0
0.4
0
0
0.031073
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
70dd30c42c5d8262c78e8c4134f4dfa367a94f70
1,506
py
Python
Blender_python/objectMap.py
CaoYuchen/SSS-dataset
d4784d2ea7f7f2460c72994fa5a24e3a9bb66233
[ "MIT" ]
3
2020-05-05T17:05:08.000Z
2021-08-04T12:52:23.000Z
Blender_python/objectMap.py
CaoYuchen/SSS-dataset
d4784d2ea7f7f2460c72994fa5a24e3a9bb66233
[ "MIT" ]
null
null
null
Blender_python/objectMap.py
CaoYuchen/SSS-dataset
d4784d2ea7f7f2460c72994fa5a24e3a9bb66233
[ "MIT" ]
null
null
null
import bpy import mathutils import os #######record groundtruth of object pose####### dir = os.path.dirname(bpy.data.filepath) filename = os.path.join(dir, 'objectmap.txt') file2=open(filename, "w") # make sure objects with same class label are named with same prefix, e.g. chair1 and chair1.001 # two chair instances...
30.734694
96
0.577689
204
1,506
4.25
0.401961
0.10496
0.193772
0.018454
0.101499
0.099193
0.099193
0
0
0
0
0.052212
0.249668
1,506
49
97
30.734694
0.715044
0.203851
0
0.090909
0
0
0.100847
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
70e12606d8972728831aec4b4c495ba642236110
343
py
Python
ci/ci/asgi.py
muchu1983/CollectiveIntelligence
9484a59257f277edf53124fbc256d4b570a3caef
[ "BSD-3-Clause" ]
null
null
null
ci/ci/asgi.py
muchu1983/CollectiveIntelligence
9484a59257f277edf53124fbc256d4b570a3caef
[ "BSD-3-Clause" ]
null
null
null
ci/ci/asgi.py
muchu1983/CollectiveIntelligence
9484a59257f277edf53124fbc256d4b570a3caef
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Copyright © 2017, MuChu Hsu Contributed by Muchu Hsu (muchu1983@gmail.com) This file is part of BSD license <https://opensource.org/licenses/BSD-3-Clause> """ import os from channels.asgi import get_channel_layer os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ci.settings") channel_laye...
22.866667
62
0.755102
51
343
4.960784
0.784314
0.142292
0.118577
0
0
0
0
0
0
0
0
0.032895
0.113703
343
15
63
22.866667
0.796053
0.51895
0
0
0
0
0.208861
0.139241
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
70e1ea3e560e7f5225b55991fe7d2decb669fd3e
1,809
py
Python
api/handy_tools_apple_devices.py
jsugg/locate-apple-devices
69de53064e1f33bb2f890c026eedd3d2654feb2b
[ "MIT" ]
1
2018-05-22T05:34:13.000Z
2018-05-22T05:34:13.000Z
api/handy_tools_apple_devices.py
jsugg/locate-apple-devices
69de53064e1f33bb2f890c026eedd3d2654feb2b
[ "MIT" ]
null
null
null
api/handy_tools_apple_devices.py
jsugg/locate-apple-devices
69de53064e1f33bb2f890c026eedd3d2654feb2b
[ "MIT" ]
null
null
null
from flask import Flask, request from flask_restful import Resource, Api from json import dumps from subprocess import call import urllib import subprocess from pyicloud import PyiCloudService import os import cStringIO import sys user = os.environ['APPLE_DEVICES_ACCOUNT_USER'] password = os.environ['APPLE_DEVICES_A...
30.661017
83
0.717523
253
1,809
4.936759
0.328063
0.089672
0.052042
0.054444
0.346677
0.204964
0.161729
0.161729
0.161729
0.100881
0
0.018109
0.175788
1,809
58
84
31.189655
0.819584
0
0
0.166667
0
0
0.173577
0.030956
0
0
0
0
0
1
0.0625
false
0.0625
0.208333
0
0.4375
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
70e1f4be7433ec878bab9064ea194c62719362a6
1,128
py
Python
pandas_module/pandas_test3.py
kenwaldek/python
e6aaf5616a456a4fb91889c0617bd6511f1a223e
[ "MIT" ]
1
2019-02-24T09:57:16.000Z
2019-02-24T09:57:16.000Z
pandas_module/pandas_test3.py
kenwaldek/python
e6aaf5616a456a4fb91889c0617bd6511f1a223e
[ "MIT" ]
null
null
null
pandas_module/pandas_test3.py
kenwaldek/python
e6aaf5616a456a4fb91889c0617bd6511f1a223e
[ "MIT" ]
4
2017-05-21T15:34:53.000Z
2018-09-25T06:56:15.000Z
#! /usr/bin/env python3 # -*- coding:utf-8 -*- ############################################################### # © kenwaldek MIT-license # # Title: pandas 3 Version: 1.0 # Date: 01-01-2017 Language: python3 # Description: concatination and appending # #...
30.486486
63
0.421099
130
1,128
3.592308
0.476923
0.070664
0.089936
0.102784
0.492505
0.327623
0.327623
0.327623
0.327623
0.327623
0
0.172903
0.312943
1,128
36
64
31.333333
0.428387
0.250887
0
0.411765
0
0
0.108757
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.117647
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
70e553cafaa9dd618ef732174c504ec062db59de
787
py
Python
test_main.py
GrivIN/intern-api
f93fbdbeca1781850cd5107fc99232001acc2d7c
[ "MIT" ]
null
null
null
test_main.py
GrivIN/intern-api
f93fbdbeca1781850cd5107fc99232001acc2d7c
[ "MIT" ]
null
null
null
test_main.py
GrivIN/intern-api
f93fbdbeca1781850cd5107fc99232001acc2d7c
[ "MIT" ]
null
null
null
from fastapi.testclient import TestClient from main import * client = TestClient(app) def test_index(): response = client.get("/") assert response.status_code == 200 assert response.json() == {"msg": "Hello World"} def test_health(): response = client.get("/health") assert response.status_code =...
24.59375
52
0.672173
96
787
5.395833
0.333333
0.104247
0.131274
0.138996
0.364865
0.260618
0.260618
0.260618
0
0
0
0.020313
0.186785
787
31
53
25.387097
0.789063
0
0
0.130435
0
0
0.083863
0
0
0
0
0
0.347826
1
0.217391
false
0
0.086957
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
70e86e18e7ea508e03f8ee3c74e61985e838b4c3
1,135
py
Python
cvpl-homepage/homepage/site.py
robinsax/canvas-plugin-multirepo
20fd6a3cc42af5f2cde73e3b100d3edeb4e50c01
[ "Apache-2.0" ]
null
null
null
cvpl-homepage/homepage/site.py
robinsax/canvas-plugin-multirepo
20fd6a3cc42af5f2cde73e3b100d3edeb4e50c01
[ "Apache-2.0" ]
null
null
null
cvpl-homepage/homepage/site.py
robinsax/canvas-plugin-multirepo
20fd6a3cc42af5f2cde73e3b100d3edeb4e50c01
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 ''' Pages. ''' import re import canvas as cv from canvas.plugins import users @cv.alter_root_page_view def alter_root_page_view(PageView): class CustomPageView(PageView): def setup(self): self.assets = ('site.js', 'site.css', *self.assets, 'decor.js') if self.title is None: self.title = ...
24.148936
75
0.677533
164
1,135
4.615854
0.408537
0.03963
0.034346
0.044914
0.169089
0.169089
0.169089
0.169089
0.169089
0.169089
0
0.005107
0.137445
1,135
46
76
24.673913
0.768131
0.018502
0
0.1875
0
0
0.185353
0
0
0
0
0
0
1
0.125
false
0.09375
0.09375
0.0625
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
70ec6371fb398e3de2cebaf772a48327f7c936f7
2,889
py
Python
python/day20.py
kdrag0n/aoc2020
44b3c1a455f576474e598931029d5bf914fd6e8e
[ "MIT" ]
5
2020-12-04T00:26:33.000Z
2021-05-05T00:38:25.000Z
python/day20.py
kdrag0n/aoc2020
44b3c1a455f576474e598931029d5bf914fd6e8e
[ "MIT" ]
null
null
null
python/day20.py
kdrag0n/aoc2020
44b3c1a455f576474e598931029d5bf914fd6e8e
[ "MIT" ]
1
2021-05-18T23:29:57.000Z
2021-05-18T23:29:57.000Z
#!/usr/bin/env python3 import sys from collections import namedtuple def ints(itr): return [int(i) for i in itr] with open(sys.argv[1], "r") as f: lines = [l for l in f.read().split("\n\n") if l] ilist = [] imap = {} total = 0 result = 0 other = 0 # # 123 # 456 # 789 # # 741 # 852 # 963 # # 0,0 -> 2,0 # ...
24.483051
109
0.548287
443
2,889
3.496614
0.230248
0.06714
0.032279
0.03357
0.168496
0.123305
0.038735
0.038735
0
0
0
0.025956
0.266528
2,889
117
110
24.692308
0.70505
0.058844
0
0.091954
0
0
0.047725
0
0
0
0
0
0
1
0.137931
false
0
0.022989
0.103448
0.298851
0.149425
0
0
0
null
0
0
0
0
0
0
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
70f4abb09ff38a5b210f4034503b0e4e551d44f8
3,099
py
Python
mayan/apps/sources/management/commands/bulk_upload.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
3
2020-02-03T11:58:51.000Z
2020-10-20T03:52:21.000Z
mayan/apps/sources/management/commands/bulk_upload.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
null
null
null
mayan/apps/sources/management/commands/bulk_upload.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
2
2020-10-24T11:10:06.000Z
2021-03-03T20:05:38.000Z
from __future__ import absolute_import from json import loads from optparse import make_option import os import sys from django.core.management.base import CommandError, LabelCommand from documents.models import DocumentType from metadata.api import convert_dict_to_dict_list from ...models import OutOfProcess from ...
38.259259
232
0.623104
360
3,099
5.2
0.369444
0.076923
0.042735
0.036859
0.05235
0
0
0
0
0
0
0
0.286867
3,099
80
233
38.7375
0.847059
0
0
0.106061
0
0
0.249435
0
0
0
0
0
0
0
null
null
0.015152
0.151515
null
null
0.106061
0
0
0
null
0
0
0
0
0
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
cb05304c4656d4e5321900b8dcb8d8a99ab4f37a
212
py
Python
uninove/auditoria-web-01.py
dirleif/aprendendo-python
94bd11d4588306121881149bbda9c615be951e2c
[ "MIT" ]
null
null
null
uninove/auditoria-web-01.py
dirleif/aprendendo-python
94bd11d4588306121881149bbda9c615be951e2c
[ "MIT" ]
null
null
null
uninove/auditoria-web-01.py
dirleif/aprendendo-python
94bd11d4588306121881149bbda9c615be951e2c
[ "MIT" ]
null
null
null
# script para criar o banco de dados e a tabela import sqlite3 conn = sqlite3.connect('empresa.db') cursor = conn.cursor() cursor.execute( 'CREATE TABLE usuario(nome TEXT NOT NULL,senha TEXT NOT NULL);' )
30.285714
67
0.726415
33
212
4.666667
0.787879
0.090909
0.142857
0
0
0
0
0
0
0
0
0.011429
0.174528
212
7
68
30.285714
0.868571
0.212264
0
0
0
0
0.427711
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
cb0682871b1fee2b6cf23326298cf64539c46715
3,700
py
Python
train_sppe/src/opt.py
marcnunez/CabinMonitoringV1
f95cf73afcd843f1a8a107517f96d4631a5d8726
[ "Apache-2.0" ]
null
null
null
train_sppe/src/opt.py
marcnunez/CabinMonitoringV1
f95cf73afcd843f1a8a107517f96d4631a5d8726
[ "Apache-2.0" ]
6
2021-03-19T01:28:22.000Z
2022-03-11T23:50:44.000Z
train_sppe/src/opt.py
marcnunez/CabinMonitoringV1
f95cf73afcd843f1a8a107517f96d4631a5d8726
[ "Apache-2.0" ]
null
null
null
# ----------------------------------------------------- # Copyright (c) Shanghai Jiao Tong University. All rights reserved. # Written by Jiefeng Li (jeff.lee.sjtu@gmail.com) # ----------------------------------------------------- import argparse parser = argparse.ArgumentParser(description='PyTorch CabinMonitoringV1 ...
48.051948
87
0.548649
377
3,700
5.310345
0.381963
0.116883
0.220779
0.071928
0.193806
0.023976
0
0
0
0
0
0.01327
0.205676
3,700
76
88
48.684211
0.667914
0.05973
0
0
0
0
0.394934
0.100173
0
0
0
0
0
1
0
false
0
0.016393
0
0.016393
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
cb0e0f76508ed90c36b51654a2bdea75120a42fc
432
py
Python
leetcode/maxProfit.py
BoLin/2018-Projects
c0727a883c8b291380aa850f588b9239b6ded30d
[ "MIT" ]
2
2018-08-27T08:16:55.000Z
2018-10-18T08:09:17.000Z
leetcode/maxProfit.py
BoLin/2018-Projects
c0727a883c8b291380aa850f588b9239b6ded30d
[ "MIT" ]
null
null
null
leetcode/maxProfit.py
BoLin/2018-Projects
c0727a883c8b291380aa850f588b9239b6ded30d
[ "MIT" ]
1
2018-08-27T08:17:10.000Z
2018-08-27T08:17:10.000Z
class Solution: def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ n = len(prices) #从图像上来看更好解决,最大盈利是吃到每一个波谷到波峰 if n <= 1: return 0 count = 0 i = 1 while i != n: diff = max((prices[i] - pr...
22.736842
55
0.384259
43
432
3.860465
0.534884
0.036145
0
0
0
0
0
0
0
0
0
0.033019
0.509259
432
18
56
24
0.75
0.143519
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cb12aae9d236b17c291c1a51f5f2b411ede1e5e7
1,175
py
Python
dgcrm/migrations/0004_auto_20170616_1326.py
DenysGurin/solnce
233a7b9fb6b717c8e421552ba16b353700afc1b0
[ "MIT" ]
null
null
null
dgcrm/migrations/0004_auto_20170616_1326.py
DenysGurin/solnce
233a7b9fb6b717c8e421552ba16b353700afc1b0
[ "MIT" ]
null
null
null
dgcrm/migrations/0004_auto_20170616_1326.py
DenysGurin/solnce
233a7b9fb6b717c8e421552ba16b353700afc1b0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-16 13:26 from __future__ import unicode_literals import dgcrm.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dgcrm', '0003_feadback_has_event'), ...
27.325581
123
0.588085
112
1,175
6.026786
0.482143
0.066667
0.115556
0.133333
0.263704
0.263704
0
0
0
0
0
0.025393
0.29617
1,175
42
124
27.97619
0.79081
0.057872
0
0.485714
1
0
0.128623
0.020833
0
0
0
0
0
1
0
false
0
0.114286
0
0.2
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
cb1588cd61202b4470f330533307be80a58b796c
1,205
py
Python
Day03_AoC.py
ricardofitas/Advent-of-code-2021
cd520af26c9f9189c1c6f13d7aac4fcce341d25d
[ "MIT" ]
null
null
null
Day03_AoC.py
ricardofitas/Advent-of-code-2021
cd520af26c9f9189c1c6f13d7aac4fcce341d25d
[ "MIT" ]
null
null
null
Day03_AoC.py
ricardofitas/Advent-of-code-2021
cd520af26c9f9189c1c6f13d7aac4fcce341d25d
[ "MIT" ]
null
null
null
c = open("__21_d03.txt") lin = c.readlines() ## Part 1 klin = [list([lin[i].split("\n")[0] for i in range(len(lin))][j]) for j in range(len(lin))] k2 = [1 if [klin[jj][len(klin[0])-ii-1] for jj in range(len(lin))].count('1') > [klin[jj][len(klin[0])-ii-1] for jj in range(len(lin))].count('0') else 0 for ii in range(...
37.65625
184
0.581743
258
1,205
2.666667
0.155039
0.152616
0.218023
0.139535
0.579942
0.55814
0.55814
0.55814
0.444767
0.444767
0
0.065606
0.165145
1,205
31
185
38.870968
0.61829
0.010788
0
0.24
0
0
0.020253
0
0
0
0
0
0
1
0
false
0
0
0
0
0.08
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
cb1f9d02b0e37da0cbc7e5ad2a6d8f13d181994e
1,029
py
Python
resource/pypi/cryptography-1.7.1/src/_cffi_src/commoncrypto/sectrust.py
hipnusleo/Laserjet
f53e0b740f48f2feb0c0bb285ec6728b313b4ccc
[ "Apache-2.0" ]
null
null
null
resource/pypi/cryptography-1.7.1/src/_cffi_src/commoncrypto/sectrust.py
hipnusleo/Laserjet
f53e0b740f48f2feb0c0bb285ec6728b313b4ccc
[ "Apache-2.0" ]
null
null
null
resource/pypi/cryptography-1.7.1/src/_cffi_src/commoncrypto/sectrust.py
hipnusleo/Laserjet
f53e0b740f48f2feb0c0bb285ec6728b313b4ccc
[ "Apache-2.0" ]
null
null
null
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function INCLUDES = """ #include <Security/SecTrust.h> """ TYPES = """ ...
25.725
80
0.73275
94
1,029
7.946809
0.734043
0
0
0
0
0
0
0
0
0
0
0.008314
0.18173
1,029
39
81
26.384615
0.87886
0.168124
0
0.172414
0
0
0.795818
0.371464
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cb3711bbf42ba782f5f1935c075def9c394beefc
4,096
py
Python
ips/worker/management/commands/get_ips_from_coordinator.py
marklit/mass-ipv4-whois
5dfcda0336a43f7b354e0d321053834320799f33
[ "MIT" ]
20
2016-05-03T11:41:38.000Z
2021-06-22T18:19:52.000Z
ips/worker/management/commands/get_ips_from_coordinator.py
slachiewicz/mass-ipv4-whois
5dfcda0336a43f7b354e0d321053834320799f33
[ "MIT" ]
null
null
null
ips/worker/management/commands/get_ips_from_coordinator.py
slachiewicz/mass-ipv4-whois
5dfcda0336a43f7b354e0d321053834320799f33
[ "MIT" ]
8
2016-05-16T07:29:12.000Z
2019-09-09T10:13:32.000Z
from random import randint from time import sleep from urlparse import urlparse from django.conf import settings from django.core.management.base import BaseCommand import netaddr import redis import requests from ips.config import get_config from worker.models import IPv4Whois from worker.tasks import (whois_afrinic...
34.133333
78
0.532715
439
4,096
4.813212
0.346241
0.017037
0.040227
0.054425
0.17132
0.154283
0.11027
0.11027
0.077142
0.053952
0
0.014216
0.398926
4,096
119
79
34.420168
0.844029
0.07373
0
0.287356
0
0
0.119186
0
0
0
0
0
0
0
null
null
0
0.126437
null
null
0.08046
0
0
0
null
0
0
0
0
0
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
cb432161d875e2eab02f88b11fdaaa26e9f3e5e2
393
py
Python
src/cms/menus/migrations/0007_alter_navigationbar_name.py
UniversitaDellaCalabria/uniCMS
b0af4e1a767867f0a9b3c135a5c84587e713cb71
[ "Apache-2.0" ]
6
2021-01-26T17:22:53.000Z
2022-02-15T10:09:03.000Z
src/cms/menus/migrations/0007_alter_navigationbar_name.py
UniversitaDellaCalabria/uniCMS
b0af4e1a767867f0a9b3c135a5c84587e713cb71
[ "Apache-2.0" ]
5
2020-12-24T14:29:23.000Z
2021-08-10T10:32:18.000Z
src/cms/menus/migrations/0007_alter_navigationbar_name.py
UniversitaDellaCalabria/uniCMS
b0af4e1a767867f0a9b3c135a5c84587e713cb71
[ "Apache-2.0" ]
2
2020-12-24T14:13:39.000Z
2020-12-30T16:48:52.000Z
# Generated by Django 3.2.3 on 2021-05-21 12:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cmsmenus', '0006_auto_20210507_1618'), ] operations = [ migrations.AlterField( model_name='navigationbar', name='nam...
20.684211
51
0.605598
42
393
5.547619
0.809524
0
0
0
0
0
0
0
0
0
0
0.120567
0.282443
393
18
52
21.833333
0.705674
0.114504
0
0
1
0
0.138728
0.066474
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
cb45ad92944cd4b9400730c9117de854a98f8ad5
10,446
py
Python
Update_database.py
jmeliodas96/Updated-Data-Bases-Over-The-Air
a82d6ac4808998fec28739fe9c814fad8fd1de79
[ "MIT" ]
null
null
null
Update_database.py
jmeliodas96/Updated-Data-Bases-Over-The-Air
a82d6ac4808998fec28739fe9c814fad8fd1de79
[ "MIT" ]
null
null
null
Update_database.py
jmeliodas96/Updated-Data-Bases-Over-The-Air
a82d6ac4808998fec28739fe9c814fad8fd1de79
[ "MIT" ]
null
null
null
# Script for get information from www.mcc-mnc.com # This Script compare two list, the first list for store the external content and second list store the local content from database(table lista) # After this is load in DataFrames for process and compare every row. #By Jimmy Mena # dependences to install import re imp...
35.651877
273
0.575818
1,328
10,446
4.408886
0.220633
0.019471
0.016396
0.019129
0.181042
0.138002
0.084885
0.051921
0.030401
0.019129
0
0.015661
0.25426
10,446
292
274
35.773973
0.735944
0.217787
0
0.170455
0
0.011364
0.253511
0.052353
0
0
0
0
0
0
null
null
0.022727
0.079545
null
null
0.210227
0
0
0
null
0
0
0
0
0
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
cb4859a743b609885fc8cf7de9c307339a82bb45
793
py
Python
tests/test_1_eng.py
KepAlex-404/Raspoznovalka
f75ae6357cb9d68cd74c21fbefd15e35469d7a5f
[ "MIT" ]
null
null
null
tests/test_1_eng.py
KepAlex-404/Raspoznovalka
f75ae6357cb9d68cd74c21fbefd15e35469d7a5f
[ "MIT" ]
null
null
null
tests/test_1_eng.py
KepAlex-404/Raspoznovalka
f75ae6357cb9d68cd74c21fbefd15e35469d7a5f
[ "MIT" ]
1
2021-03-16T19:02:33.000Z
2021-03-16T19:02:33.000Z
from src.sentiment import sentiment """positive rew""" text = """ nice hotel expensive parking got good deal stay hotel anniversary, arrived late evening took advice previous reviews did valet parking, check quick easy, little disappointed non-existent view room room clean nice size, bed comfortable woke stiff neck...
44.055556
119
0.774275
112
793
5.473214
0.794643
0.042414
0.052202
0.068516
0
0
0
0
0
0
0
0.005988
0.157629
793
17
120
46.647059
0.911677
0
0
0
0
0.083333
0.812903
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.25
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cb5b6491307aef4cef618cd8cacf0001f4416258
388
py
Python
finite_field_test.py
a-l-r1/cryptography
b3d5d2300d8968b2b718a93b1641e87f95365b4b
[ "CC0-1.0" ]
null
null
null
finite_field_test.py
a-l-r1/cryptography
b3d5d2300d8968b2b718a93b1641e87f95365b4b
[ "CC0-1.0" ]
null
null
null
finite_field_test.py
a-l-r1/cryptography
b3d5d2300d8968b2b718a93b1641e87f95365b4b
[ "CC0-1.0" ]
null
null
null
from finite_field import * def main() -> None: a = GF2Power31(42) print(a) fp = get_prime_finite_field_element_class(5, 'fp') fpn = get_prime_finite_field_power_element_class(3, [fp(1), fp(3), fp(4), fp(2)], 'fpn') a = fpn([fp(1), fp(2), fp(3)]) b = fpn([fp(2), fp(3), fp(2)]) print(a) ...
19.4
92
0.569588
66
388
3.045455
0.393939
0.059701
0.139303
0.189055
0
0
0
0
0
0
0
0.057047
0.231959
388
20
93
19.4
0.61745
0
0
0.153846
0
0
0.033419
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.153846
0.307692
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
cb63234af39314a32091c1ae49355e7ad3bd1a81
3,313
py
Python
examples/tbss_tutorial.py
satra/NiPypeold
23f3ce25a8bace32f29e912a3903fdc2485c68d3
[ "BSD-3-Clause" ]
null
null
null
examples/tbss_tutorial.py
satra/NiPypeold
23f3ce25a8bace32f29e912a3903fdc2485c68d3
[ "BSD-3-Clause" ]
null
null
null
examples/tbss_tutorial.py
satra/NiPypeold
23f3ce25a8bace32f29e912a3903fdc2485c68d3
[ "BSD-3-Clause" ]
1
2021-09-27T08:23:50.000Z
2021-09-27T08:23:50.000Z
""" XXX Currently not WORKING in release 0.3, Check for updates A pipeline example that uses several interfaces to perform analysis on diffusion weighted images using FSL fdt and tbss tools. The data for this analysis is available at http://www.mit.edu/~satra/nipype-nightly/users/pipeline_tutori...
31.855769
99
0.684274
448
3,313
4.948661
0.455357
0.027064
0.020298
0.018945
0.020749
0
0
0
0
0
0
0.027135
0.165711
3,313
103
100
32.165049
0.774964
0.051615
0
0
0
0
0.187169
0.034464
0
0
0
0
0
0
null
null
0
0.162162
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
cb66d8219a0f8a905385b0eda37edf33694c129f
1,011
py
Python
src/babysteps/cal/u1272.py
solohm/multimeter
e00091bebbbfd4fbaa4668ea0d4cd4dab78bbe44
[ "MIT" ]
1
2017-10-11T12:37:33.000Z
2017-10-11T12:37:33.000Z
src/babysteps/cal/u1272.py
solohm/multimeter
e00091bebbbfd4fbaa4668ea0d4cd4dab78bbe44
[ "MIT" ]
null
null
null
src/babysteps/cal/u1272.py
solohm/multimeter
e00091bebbbfd4fbaa4668ea0d4cd4dab78bbe44
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Python script to communicate with the # Agilent U1253A / U1272A / U1273A etc. # found originally on http://goo.gl/Gycv9H # For more information on the protocol, check # http://blog.philippklaus.de/2014/02/agilent-u1273a/ # and http://goo.gl/oIJi96 import sys import time import serial class u...
22.466667
61
0.593472
142
1,011
4.126761
0.535211
0.095563
0.066553
0.05802
0
0
0
0
0
0
0
0.068456
0.263106
1,011
44
62
22.977273
0.718121
0.255193
0
0
0
0
0.065684
0
0
0
0
0
0
0
null
null
0
0.107143
null
null
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cb706a290b87e9cfb19f9bd90f14647d0c1719cb
2,547
py
Python
mergeforms/migrations/0001_initial.py
mbronstein/ssa412
32de4e44f16cf2044788428da2a3bab271ebcb9a
[ "MIT" ]
null
null
null
mergeforms/migrations/0001_initial.py
mbronstein/ssa412
32de4e44f16cf2044788428da2a3bab271ebcb9a
[ "MIT" ]
null
null
null
mergeforms/migrations/0001_initial.py
mbronstein/ssa412
32de4e44f16cf2044788428da2a3bab271ebcb9a
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-09-25 23:00 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import taggit.managers import uuid class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settin...
57.886364
257
0.623479
291
2,547
5.302406
0.402062
0.077771
0.02722
0.042774
0.246273
0.209981
0.125729
0.125729
0.125729
0.125729
0
0.018299
0.206125
2,547
43
258
59.232558
0.744807
0.017668
0
0
1
0
0.1772
0.0128
0
0
0
0
0
1
0
false
0
0.138889
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cb76d94e4a850a435a4aadaf4cd95e80caa7f0af
1,389
py
Python
dsopz/oauth.py
artooro/dsopz
2d41b46f81ec0035c11d7bd0c2b091d8e0df943d
[ "Apache-2.0" ]
34
2015-03-26T18:19:39.000Z
2021-03-31T17:43:17.000Z
dsopz/oauth.py
artooro/dsopz
2d41b46f81ec0035c11d7bd0c2b091d8e0df943d
[ "Apache-2.0" ]
7
2015-04-11T11:56:26.000Z
2019-08-29T14:05:05.000Z
dsopz/oauth.py
artooro/dsopz
2d41b46f81ec0035c11d7bd0c2b091d8e0df943d
[ "Apache-2.0" ]
7
2016-10-20T17:43:56.000Z
2019-01-17T20:45:54.000Z
import oauth_local import oauth_installed import oauth_gce import oauth_serviceaccount import sys import time import http import json import oauth_base class Error(Exception): """Exceptions""" def resolve(t): if t == 'installed': return oauth_installed elif t == 'local': return oauth_local elif t == 'gce': ...
23.15
84
0.712023
197
1,389
4.80203
0.350254
0.05814
0.054968
0.067653
0.307611
0.307611
0.307611
0.291755
0.205074
0.114165
0
0.007647
0.152628
1,389
59
85
23.542373
0.796092
0
0
0.170213
0
0
0.128393
0
0
0
0
0
0
0
null
null
0
0.191489
null
null
0.042553
0
0
0
null
0
0
0
0
0
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
cb7932f084c9698ec491e420c8204dc6b995826a
500
py
Python
utils/utilities.py
cookielanguage/IDE
0a2e68cea748ca9c598d14e936ee223bd58bd657
[ "MIT" ]
3
2021-05-20T17:57:11.000Z
2021-11-16T12:54:29.000Z
utils/utilities.py
billydevyt/BillyPad
0a2e68cea748ca9c598d14e936ee223bd58bd657
[ "MIT" ]
1
2021-09-15T15:02:14.000Z
2021-09-15T15:02:14.000Z
utils/utilities.py
billydevyt/BillyPad
0a2e68cea748ca9c598d14e936ee223bd58bd657
[ "MIT" ]
1
2021-05-03T06:01:07.000Z
2021-05-03T06:01:07.000Z
def center(win, width=100, height=100): win.update_idletasks() width = width frm_width = win.winfo_rootx() - win.winfo_x() win_width = width + 2 * frm_width height = height titlebar_height = win.winfo_rooty() - win.winfo_y() win_height = height + titlebar_height + frm_width x = win.wi...
31.25
59
0.63
69
500
4.333333
0.304348
0.160535
0.133779
0.173913
0
0
0
0
0
0
0
0.028133
0.218
500
16
60
31.25
0.736573
0
0
0
0
0
0.021956
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.083333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cb7b6e7b343c52f5965967786ab65ffe9b5df4ea
1,796
py
Python
src/commands.py
lenkozina/junior
3e4994025467e29c5148bda86b869931b9a62a34
[ "MIT" ]
null
null
null
src/commands.py
lenkozina/junior
3e4994025467e29c5148bda86b869931b9a62a34
[ "MIT" ]
null
null
null
src/commands.py
lenkozina/junior
3e4994025467e29c5148bda86b869931b9a62a34
[ "MIT" ]
null
null
null
import click from flask.cli import with_appcontext from src.extensions import db from src.qa.models import Answer, Chapter, Question, Section from src.user import User from src.uttils import load_fixture @click.command() @with_appcontext def clear_questions(): """Clear all Sections, Chapters, Questions.""" A...
24.944444
94
0.682071
219
1,796
5.47032
0.333333
0.037563
0.042571
0.037563
0.048414
0
0
0
0
0
0
0.002076
0.195434
1,796
71
95
25.295775
0.82699
0.120824
0
0.22
0
0
0.143135
0.018135
0
0
0
0
0
1
0.06
false
0.08
0.12
0
0.18
0.06
0
0
0
null
0
0
0
0
0
0
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
cb837f4c060d85fd4f5493080c96997e0dc875d1
212
py
Python
review_model.py
santiagodiaz1993/review_score_predictor
36ccd9c1c9191d25f7282c50ec6e0c2dde614367
[ "MIT" ]
null
null
null
review_model.py
santiagodiaz1993/review_score_predictor
36ccd9c1c9191d25f7282c50ec6e0c2dde614367
[ "MIT" ]
null
null
null
review_model.py
santiagodiaz1993/review_score_predictor
36ccd9c1c9191d25f7282c50ec6e0c2dde614367
[ "MIT" ]
null
null
null
import os import pandas as pd for file in os.listdir(): if file.endswith("json"): reviews_data = pd.read_json("yelp_academic_dataset_review_41.json") print(reviews_data.head()) break
23.555556
75
0.679245
31
212
4.419355
0.741935
0.160584
0
0
0
0
0
0
0
0
0
0.012048
0.216981
212
8
76
26.5
0.813253
0
0
0
0
0
0.188679
0.169811
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
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
cb853c248d69572d55b8465020785aeb0f8749c6
25,022
py
Python
mpfmc/tests/test_SlidePlayer.py
muffler-aus/mpf-mc
3e315190e831e2fc66b77ee31d58d8870fba825e
[ "MIT" ]
null
null
null
mpfmc/tests/test_SlidePlayer.py
muffler-aus/mpf-mc
3e315190e831e2fc66b77ee31d58d8870fba825e
[ "MIT" ]
null
null
null
mpfmc/tests/test_SlidePlayer.py
muffler-aus/mpf-mc
3e315190e831e2fc66b77ee31d58d8870fba825e
[ "MIT" ]
null
null
null
import weakref import gc from kivy.uix.screenmanager import WipeTransition, FadeTransition from mpfmc.config_players.slide_player import McSlidePlayer from mpfmc.tests.MpfMcTestCase import MpfMcTestCase from mpfmc.transitions.move_in import MoveInTransition from mpf.tests.MpfTestCase import MpfTestCase import mpfmc....
40.358065
109
0.638158
3,048
25,022
4.994423
0.092848
0.062274
0.070945
0.092426
0.762859
0.731328
0.684162
0.631544
0.608159
0.585036
0
0.017182
0.262649
25,022
619
110
40.423263
0.807913
0.150508
0
0.697337
0
0
0.173202
0.045309
0
0
0
0.001616
0.276029
1
0.082324
false
0
0.024213
0.014528
0.125908
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cb87275d6e0ceae82d9a1e323fd8732141cecc60
2,973
py
Python
testCloudygrids.py
zpace/manga_nebular
d744449c427bcf6aeaa4da3381276c81c4cad6ca
[ "MIT" ]
null
null
null
testCloudygrids.py
zpace/manga_nebular
d744449c427bcf6aeaa4da3381276c81c4cad6ca
[ "MIT" ]
null
null
null
testCloudygrids.py
zpace/manga_nebular
d744449c427bcf6aeaa4da3381276c81c4cad6ca
[ "MIT" ]
null
null
null
from importer import * import sys, os sys.path.append('/usr/data/minhas/zpace/stellarmass_pca') import read_results as from_pca pca_basedir = '/usr/data/minhas2/zpace/CSPs/CSPs_CKC14_MaNGA_20181026-1' import numpy as np import matplotlib.pyplot as plt import pymc3 import manga_tools as m import metallicity import p...
33.033333
82
0.75782
460
2,973
4.619565
0.358696
0.047059
0.065882
0.035765
0.159059
0.131765
0.112
0.112
0.058353
0.058353
0
0.026632
0.103263
2,973
89
83
33.404494
0.770443
0.002018
0
0
0
0
0.166262
0.117112
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
cb883749d62aa9115dc437d42207da4bc6edb323
930
py
Python
simpleTicket/siteEngine/migrations/0005_auto_20160622_1028.py
abogeorge/simpleTicket
ca550f4e9817e13e5723ad2483baddc036e435f5
[ "MIT" ]
null
null
null
simpleTicket/siteEngine/migrations/0005_auto_20160622_1028.py
abogeorge/simpleTicket
ca550f4e9817e13e5723ad2483baddc036e435f5
[ "MIT" ]
null
null
null
simpleTicket/siteEngine/migrations/0005_auto_20160622_1028.py
abogeorge/simpleTicket
ca550f4e9817e13e5723ad2483baddc036e435f5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-22 07:28 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('siteEngine', '0004_auto_201...
31
190
0.644086
103
930
5.640777
0.582524
0.055077
0.072289
0.113597
0.127367
0.127367
0.127367
0
0
0
0
0.04507
0.236559
930
29
191
32.068966
0.773239
0.072043
0
0.090909
1
0
0.116279
0.026744
0
0
0
0
0
1
0
false
0
0.181818
0
0.318182
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
cb8c480f565ff7f4f0b7637cb87174e21c4bc49e
902
py
Python
catalog/migrations/0001_initial.py
ashik4715/thanosback
08db204dbda2672dd5a53c577c12899f39e73af0
[ "Apache-2.0" ]
null
null
null
catalog/migrations/0001_initial.py
ashik4715/thanosback
08db204dbda2672dd5a53c577c12899f39e73af0
[ "Apache-2.0" ]
null
null
null
catalog/migrations/0001_initial.py
ashik4715/thanosback
08db204dbda2672dd5a53c577c12899f39e73af0
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.1 on 2021-06-21 19:27 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Catalog', fields=[ ...
33.407407
166
0.616408
93
902
5.892473
0.623656
0.054745
0.109489
0.131387
0
0
0
0
0
0
0
0.045858
0.250554
902
26
167
34.692308
0.764793
0.049889
0
0
1
0
0.064327
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.315789
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
cb96cb85a83e4ec722143e9f12669d03b60333d2
314
py
Python
src/lesson_networking/socket_ipv6_address_packing.py
jasonwee/asus-rt-n14uhp-mrtg
4fa96c3406e32ea6631ce447db6d19d70b2cd061
[ "Apache-2.0" ]
3
2018-08-14T09:33:52.000Z
2022-03-21T12:31:58.000Z
src/lesson_networking/socket_ipv6_address_packing.py
jasonwee/asus-rt-n14uhp-mrtg
4fa96c3406e32ea6631ce447db6d19d70b2cd061
[ "Apache-2.0" ]
null
null
null
src/lesson_networking/socket_ipv6_address_packing.py
jasonwee/asus-rt-n14uhp-mrtg
4fa96c3406e32ea6631ce447db6d19d70b2cd061
[ "Apache-2.0" ]
null
null
null
import binascii import socket import struct import sys string_address = '2002:ac10:10a:1234:21e:52ff:fe74:40e' packed = socket.inet_pton(socket.AF_INET6, string_address) print('Original:', string_address) print('Packed :', binascii.hexlify(packed)) print('Unpacked:', socket.inet_ntop(socket.AF_INET6, packed))
26.166667
61
0.783439
45
314
5.311111
0.555556
0.16318
0.108787
0
0
0
0
0
0
0
0
0.076389
0.082803
314
11
62
28.545455
0.753472
0
0
0
0
0
0.200637
0.11465
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
cba0854b80f1830013f2e96e357cef83174f3fc0
549
py
Python
coroutine/async_await.py
sherlockliu/pythonic
45719102357892d3dbe2b4fa6b20e7f2e05f07fb
[ "MIT" ]
null
null
null
coroutine/async_await.py
sherlockliu/pythonic
45719102357892d3dbe2b4fa6b20e7f2e05f07fb
[ "MIT" ]
null
null
null
coroutine/async_await.py
sherlockliu/pythonic
45719102357892d3dbe2b4fa6b20e7f2e05f07fb
[ "MIT" ]
null
null
null
# !/usr/bin/python from tornado import ioloop async def cal(num): print('cal called.') x = await calculator(num) print(x) async def calculator(num): try: result = 0 for i in range(0, num): result += i # print(f'result is {result}') raise Exception() ...
17.15625
42
0.570128
69
549
4.405797
0.565217
0.078947
0.105263
0.151316
0
0
0
0
0
0
0
0.013021
0.300546
549
31
43
17.709677
0.778646
0.153005
0
0
0
0
0.045652
0
0
0
0
0
0
1
0
false
0.052632
0.052632
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
cba0c49dbbf1a8a6dbd32af274306893f31fe726
726
py
Python
theme/management/commands/reset_quota.py
hydroshare/hydroshare
bf9888bbe61507aff070b1dfcec2fdec1921468d
[ "BSD-3-Clause" ]
178
2015-01-08T23:03:36.000Z
2022-03-03T13:56:45.000Z
theme/management/commands/reset_quota.py
hydroshare/hydroshare
bf9888bbe61507aff070b1dfcec2fdec1921468d
[ "BSD-3-Clause" ]
4,125
2015-01-01T14:26:15.000Z
2022-03-31T16:38:55.000Z
theme/management/commands/reset_quota.py
hydroshare/hydroshare
bf9888bbe61507aff070b1dfcec2fdec1921468d
[ "BSD-3-Clause" ]
53
2015-03-15T17:56:51.000Z
2022-03-17T00:32:16.000Z
from django.core.management.base import BaseCommand from django_irods.storage import IrodsStorage from django.conf import settings class Command(BaseCommand): help = "Reset quota by forcing quota iRODS microservices to recalculate quota for all users." def handle(self, *args, **options): istorage = I...
42.705882
117
0.724518
93
726
5.462366
0.483871
0.062992
0.051181
0.070866
0.102362
0
0
0
0
0
0
0.00335
0.177686
726
16
118
45.375
0.847571
0.070248
0
0
0
0
0.196429
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cba4733b6ddb9a7106a3b123e1a0ced75abf15d8
910
py
Python
examples/simple/services.py
barberj/bridge-python
1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe
[ "MIT" ]
null
null
null
examples/simple/services.py
barberj/bridge-python
1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe
[ "MIT" ]
null
null
null
examples/simple/services.py
barberj/bridge-python
1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe
[ "MIT" ]
null
null
null
from BridgePython.bridge import Bridge bridge = Bridge(api_key='myapikey') # # Publishing a Bridge service # # Any Python object can be published. A published service # can be retrieved by any Bridge client with the same API key pair. # # Only Bridge clients using the prviate API key may publish services. # class T...
23.947368
69
0.735165
124
910
5.354839
0.5
0.027108
0.063253
0
0
0
0
0
0
0
0
0
0.189011
910
37
70
24.594595
0.899729
0.506593
0
0
0
0
0.176334
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.230769
0
0
0
null
0
0
0
0
0
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
cba528bb6a802eacaea576789a8b2cd5f69e138c
365
py
Python
dirfile/pathlib_operations.py
zizonk/python-library
567958945d1275a898f926812f65f4e4b12419ad
[ "MIT" ]
null
null
null
dirfile/pathlib_operations.py
zizonk/python-library
567958945d1275a898f926812f65f4e4b12419ad
[ "MIT" ]
null
null
null
dirfile/pathlib_operations.py
zizonk/python-library
567958945d1275a898f926812f65f4e4b12419ad
[ "MIT" ]
null
null
null
from pathlib import Path import os path = Path(os.getcwd()) npath = path.joinpath('zizi') # print(path) # print(npath.parts) # print(npath.name) # for idx, dirz in enumerate(path.iterdir()): # print(idx, dirz) # for idx, file in enumerate(path.glob('*.zip')): print(idx,file) # # pp = list(path.glob('*.py')) ...
19.210526
47
0.638356
56
365
4.160714
0.482143
0.085837
0.128755
0
0
0
0
0
0
0
0
0.003279
0.164384
365
19
48
19.210526
0.760656
0.50411
0
0
0
0
0.052632
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
cbae0dc1d7e3608afaffff888c021a6edfe7906f
2,227
py
Python
readthedocs/rtd_tests/tests/test_version_config.py
mforbes/readthedocs.org
92f6224a67648a6d27e7a295973c2718d07cee11
[ "MIT" ]
4,054
2015-01-01T00:58:07.000Z
2019-06-28T05:50:49.000Z
readthedocs/rtd_tests/tests/test_version_config.py
mforbes/readthedocs.org
92f6224a67648a6d27e7a295973c2718d07cee11
[ "MIT" ]
4,282
2015-01-01T21:38:49.000Z
2019-06-28T15:41:00.000Z
readthedocs/rtd_tests/tests/test_version_config.py
mforbes/readthedocs.org
92f6224a67648a6d27e7a295973c2718d07cee11
[ "MIT" ]
3,224
2015-01-01T07:38:45.000Z
2019-06-28T09:19:10.000Z
from django.test import TestCase from django_dynamic_fixture import get from readthedocs.builds.models import Build, Version from readthedocs.projects.models import Project class VersionConfigTests(TestCase): def setUp(self): self.project = get(Project) self.version = get(Version, project=self.p...
27.8375
61
0.551414
220
2,227
5.386364
0.181818
0.081013
0.14346
0.168776
0.508861
0.403376
0.403376
0.403376
0.403376
0.318987
0
0.006849
0.34441
2,227
79
62
28.189873
0.804795
0
0
0.405797
0
0
0.038617
0
0
0
0
0
0.028986
1
0.043478
false
0
0.057971
0
0.115942
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
cbb246b2760a9269324f9c64207705566ed4108a
547
py
Python
example/data/migrations/0001_initial.py
lee0210/sproxy
86fe12278d139a431131b2197d0e9adc38e19954
[ "MIT" ]
1
2018-07-26T03:55:27.000Z
2018-07-26T03:55:27.000Z
example/data/migrations/0001_initial.py
lee0210/sproxy
86fe12278d139a431131b2197d0e9adc38e19954
[ "MIT" ]
null
null
null
example/data/migrations/0001_initial.py
lee0210/sproxy
86fe12278d139a431131b2197d0e9adc38e19954
[ "MIT" ]
null
null
null
# Generated by Django 2.0.7 on 2018-07-09 08:15 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Heartbeat', fields=[ ('id', models.AutoFiel...
23.782609
114
0.572212
56
547
5.482143
0.785714
0
0
0
0
0
0
0
0
0
0
0.044619
0.303473
547
22
115
24.863636
0.761155
0.082267
0
0
1
0
0.06
0
0
0
0
0
0
1
0
false
0
0.066667
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
cbb3738f8edc3aa17131c32f9aadb1b5c8806f1b
436
py
Python
blog/urls.py
feynubrick/blog-django
e7beb458f5ad913649c0455ffb4d536f5a3cf1a6
[ "MIT" ]
null
null
null
blog/urls.py
feynubrick/blog-django
e7beb458f5ad913649c0455ffb4d536f5a3cf1a6
[ "MIT" ]
null
null
null
blog/urls.py
feynubrick/blog-django
e7beb458f5ad913649c0455ffb4d536f5a3cf1a6
[ "MIT" ]
null
null
null
from django.urls import path from blog.views.home import get_home_page from blog.views.about import get_about_page from blog.views.posts import get_post_list_page, get_post_detail_page urlpatterns = [ path('', get_home_page, name='blog_home'), path('about', get_about_page, name='blog_about'), path('posts'...
36.333333
72
0.759174
71
436
4.309859
0.267606
0.091503
0.156863
0.111111
0
0
0
0
0
0
0
0
0.114679
436
12
73
36.333333
0.792746
0
0
0
0
0
0.153318
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
cbbad10691ad491f30d4c101e2bf652022b09d0c
435
py
Python
certleak/core/certstreamdata/certstreamobject.py
d-Rickyy-b/certleak
377f6e7215e3d540f1e137163f1128991aaac07d
[ "MIT" ]
null
null
null
certleak/core/certstreamdata/certstreamobject.py
d-Rickyy-b/certleak
377f6e7215e3d540f1e137163f1128991aaac07d
[ "MIT" ]
null
null
null
certleak/core/certstreamdata/certstreamobject.py
d-Rickyy-b/certleak
377f6e7215e3d540f1e137163f1128991aaac07d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- class CertstreamObject(object): """Base class for all the certstream data classes""" @classmethod def from_dict(cls, data): """ Returns a copy of the passed data :param data: The dict from which an object should be created from :return: copy of data...
21.75
73
0.570115
55
435
4.490909
0.618182
0.048583
0
0
0
0
0
0
0
0
0
0.003497
0.342529
435
19
74
22.894737
0.86014
0.457471
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
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
cbc6fb71a1df1467dfb3ca83a8d93716f6ec91f8
6,415
py
Python
src/vulkan.template.py
realitix/pyVulkan
a0fc720fe993d3f31d09088566ce711f613e3c50
[ "MIT" ]
null
null
null
src/vulkan.template.py
realitix/pyVulkan
a0fc720fe993d3f31d09088566ce711f613e3c50
[ "MIT" ]
null
null
null
src/vulkan.template.py
realitix/pyVulkan
a0fc720fe993d3f31d09088566ce711f613e3c50
[ "MIT" ]
null
null
null
from cffi import * from pkg_resources import * from collections import Iterable from weakref import * import sys ffi = FFI() _weakkey_dict = WeakKeyDictionary() def _castToPtr2(x, _type): if isinstance(x, ffi.CData): if _type.item==ffi.typeof(x): return ffi.addressof(x) return x if isinstance(x, Iterable): ...
28.135965
155
0.732814
972
6,415
4.443416
0.199588
0.050938
0.045149
0.045844
0.299838
0.14934
0.088446
0.04677
0.026395
0
0
0.01965
0.127358
6,415
228
156
28.135965
0.751876
0
0
0.152542
0
0
0.108479
0.039433
0
0
0.001559
0
0
0
null
null
0.022599
0.028249
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
cbcedf8859a729e23cb32b83b6b9a9f8eda9acf2
2,320
py
Python
evaluate.py
wmylxmj/Anime-Super-Resolution
c854227efcee961151721032c0ecfc4317f989e4
[ "MIT" ]
120
2019-05-02T02:14:54.000Z
2022-03-29T15:45:36.000Z
evaluate.py
wmylxmj/Anime-Super-Resolution
c854227efcee961151721032c0ecfc4317f989e4
[ "MIT" ]
10
2019-08-19T04:57:06.000Z
2021-08-01T08:52:47.000Z
evaluate.py
wmylxmj/Anime-Super-Resolution
c854227efcee961151721032c0ecfc4317f989e4
[ "MIT" ]
32
2019-05-20T09:09:46.000Z
2022-01-30T05:00:48.000Z
# -*- coding: utf-8 -*- """ Created on Tue Apr 30 21:24:36 2019 @author: wmy """ import numpy as np import tensorflow as tf import matplotlib.pyplot as plt from PIL import Image from keras import backend as K from keras.losses import mean_absolute_error, mean_squared_error from keras.models import load_m...
32.222222
88
0.65
328
2,320
4.487805
0.320122
0.088315
0.057065
0.081522
0.133832
0
0
0
0
0
0
0.032382
0.214655
2,320
71
89
32.676056
0.775521
0.031034
0
0.084746
0
0
0.082565
0.011531
0
0
0
0
0
1
0.016949
false
0.084746
0.20339
0
0.220339
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
cbd009fa0d08844dae587ecc9dbbfe909d0ae588
7,883
py
Python
Gelatin/compiler/Context.py
Etherbay/Gelatin
d2afa85a48034d6ee34580e49e16542f31ad208e
[ "MIT" ]
107
2015-01-26T21:37:57.000Z
2022-02-25T16:28:44.000Z
Gelatin/compiler/Context.py
Etherbay/Gelatin
d2afa85a48034d6ee34580e49e16542f31ad208e
[ "MIT" ]
20
2015-11-23T14:09:37.000Z
2021-02-11T17:57:24.000Z
Gelatin/compiler/Context.py
Etherbay/Gelatin
d2afa85a48034d6ee34580e49e16542f31ad208e
[ "MIT" ]
34
2015-01-05T18:47:34.000Z
2020-12-13T06:47:26.000Z
# Copyright (c) 2010-2017 Samuel Abels # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, d...
31.78629
80
0.611189
1,012
7,883
4.590909
0.204545
0.030994
0.025829
0.025183
0.326087
0.276367
0.229445
0.167886
0.167886
0.167886
0
0.008244
0.276798
7,883
247
81
31.91498
0.806701
0.180769
0
0.230303
0
0
0.046515
0
0
0
0
0
0
1
0.206061
false
0
0.012121
0.030303
0.357576
0.012121
0
0
0
null
0
0
0
0
0
0
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
cbd8a303e0b97f438a6f7ab007c81bf49d68e9f6
533
py
Python
tukiogram/migrations/0005_auto_20170319_2103.py
charitymbaka/samaritan-final
f0d4f0e3012c8fbc3a56a23647398c887eb92c7e
[ "MIT" ]
null
null
null
tukiogram/migrations/0005_auto_20170319_2103.py
charitymbaka/samaritan-final
f0d4f0e3012c8fbc3a56a23647398c887eb92c7e
[ "MIT" ]
16
2020-06-05T21:10:25.000Z
2022-03-11T23:49:34.000Z
tukiogram/migrations/0005_auto_20170319_2103.py
Denimmcdonald/reconadmin1
0270ecd39c82278724828f2cb34476336096da50
[ "MIT" ]
1
2019-06-10T06:22:34.000Z
2019-06-10T06:22:34.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-19 18:03 from __future__ import unicode_literals import django.contrib.gis.db.models.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('tukiogram', '0004_auto_20170316_1435'), ] operat...
24.227273
89
0.651032
63
533
5.349206
0.730159
0.077151
0.094955
0.106825
0.178042
0.178042
0
0
0
0
0
0.090024
0.228893
533
21
90
25.380952
0.729927
0.12758
0
0
1
0
0.108225
0.049784
0
0
0
0
0
1
0
false
0
0.214286
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cbd9265cf826cd7e2b8d572d33863248c8cb0e44
576
py
Python
webdev/vendas/migrations/0003_auto_20210530_1548.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
webdev/vendas/migrations/0003_auto_20210530_1548.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
103
2021-04-25T21:28:11.000Z
2022-03-15T01:36:31.000Z
webdev/vendas/migrations/0003_auto_20210530_1548.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-05-30 18:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('financeiro', '0021_auto_20210530_1434'), ('vendas', '0002_auto_20210528_1954'), ] operations = [ mi...
27.428571
157
0.654514
67
576
5.477612
0.671642
0.065395
0.076294
0.119891
0
0
0
0
0
0
0
0.104677
0.220486
576
20
158
28.8
0.712695
0.078125
0
0
1
0
0.187146
0.086957
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
cbdd28ad67b64066efc0c99c2c32d13abf9cde87
17,465
py
Python
src/QbiPy/tools/AIF_viewer/AIF_viewer_tool.py
michaelberks/madym_python
e1d0f55552dc44cb6fc76e8c8fcdd29b601bd00d
[ "Apache-2.0" ]
null
null
null
src/QbiPy/tools/AIF_viewer/AIF_viewer_tool.py
michaelberks/madym_python
e1d0f55552dc44cb6fc76e8c8fcdd29b601bd00d
[ "Apache-2.0" ]
null
null
null
src/QbiPy/tools/AIF_viewer/AIF_viewer_tool.py
michaelberks/madym_python
e1d0f55552dc44cb6fc76e8c8fcdd29b601bd00d
[ "Apache-2.0" ]
null
null
null
''' GUI tool for inspecting auto-detected AIFs as generated by Madym ''' import sys import os import glob from PyQt5.QtWidgets import QApplication, QPushButton, QAction, QMainWindow, QWidget, QMessageBox, QGraphicsScene, QFileDialog from PyQt5.QtCore import QObject, Qt, pyqtSlot from PyQt5.QtGui import QImage, qRgb i...
38.725055
126
0.523332
1,839
17,465
4.749864
0.179989
0.050143
0.030223
0.017172
0.252547
0.17573
0.143789
0.123869
0.11059
0.101202
0
0.00758
0.259719
17,465
451
127
38.725055
0.668033
0.26367
0
0.176692
1
0
0.027593
0
0
0
0
0
0
1
0.078947
false
0.003759
0.045113
0
0.135338
0.003759
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
cbdd3f51d5d206f86f9594bf723f55ae4579c62c
1,364
py
Python
client.py
starcreep48/HearthStoneBGLite
e6be99de8b1359ac3626cab95155805982c7301d
[ "MIT" ]
2
2021-09-13T02:54:29.000Z
2021-09-13T02:55:48.000Z
client.py
starcreep48/HearthStoneBGLite
e6be99de8b1359ac3626cab95155805982c7301d
[ "MIT" ]
1
2021-09-13T03:29:25.000Z
2021-09-13T03:29:25.000Z
client.py
starcreep48/HearthStoneBGLite
e6be99de8b1359ac3626cab95155805982c7301d
[ "MIT" ]
null
null
null
import os import sys from time import sleep from colors import WOOD, BLACK, WHITE import pygame from renderer import Renderer from renderer.Renderer import eventManager from events import EventEnums Renderer.initializeRenderer() from gui.button import Button import json import glob replays = glob.glob('replays/*') f ...
22.360656
110
0.722141
166
1,364
5.933735
0.403614
0.04264
0.032487
0.04467
0.263959
0.263959
0.263959
0.166497
0.166497
0.166497
0
0.015776
0.16349
1,364
61
111
22.360656
0.847502
0.284457
0
0
0
0
0.022822
0
0
0
0
0
0
1
0.088235
false
0
0.323529
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
0
0
0
1
0
0
0
0
1
cbdfa294170423a4d1ad9456c7252e764dbe0cdd
5,171
py
Python
chemmltoolkit/features/atomFeatures.py
Andy-Wilkinson/ChemMLToolk
83efc7ea66d2def860a3e04ccd70d77fb689fddc
[ "MIT" ]
1
2019-10-30T03:43:24.000Z
2019-10-30T03:43:24.000Z
chemmltoolkit/features/atomFeatures.py
Andy-Wilkinson/ChemMLToolk
83efc7ea66d2def860a3e04ccd70d77fb689fddc
[ "MIT" ]
2
2021-11-28T21:09:30.000Z
2021-11-28T21:09:39.000Z
chemmltoolkit/features/atomFeatures.py
Andy-Wilkinson/ChemMLToolkit
83efc7ea66d2def860a3e04ccd70d77fb689fddc
[ "MIT" ]
null
null
null
from os import path from rdkit.Chem import Mol from chemmltoolkit.features.decorators import tokenizable_feature from rdkit.Chem import Atom from rdkit.Chem import AllChem from rdkit.Chem import ChiralType from rdkit.Chem import HybridizationType from rdkit.Chem import rdCIPLabeler class _ChemicalFeatureGenerator():...
27.073298
74
0.63392
562
5,171
5.683274
0.258007
0.047589
0.037884
0.041641
0.221666
0.196619
0.164058
0.154665
0.137758
0.076393
0
0.005148
0.248695
5,171
190
75
27.215789
0.816988
0.156836
0
0.09
0
0
0.071126
0.005417
0
0
0
0
0
1
0.22
false
0
0.1
0.01
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
cbe0af68a832af3d8347579c775a71b12bbb0956
997
py
Python
server/server/urls.py
kingbar1990/react-apollo-django-subscriptions-boilerplate
e6b948ab7f211157e6ef0592a9d1b943a0d88b13
[ "MIT" ]
null
null
null
server/server/urls.py
kingbar1990/react-apollo-django-subscriptions-boilerplate
e6b948ab7f211157e6ef0592a9d1b943a0d88b13
[ "MIT" ]
22
2020-06-05T19:56:44.000Z
2022-03-11T23:41:45.000Z
server/server/urls.py
kingbar1990/react-apollo-django-subscriptions-boilerplate
e6b948ab7f211157e6ef0592a9d1b943a0d88b13
[ "MIT" ]
null
null
null
from graphene_django.views import GraphQLView from server.token_auth import TokenAuthMiddleware from server.channels import GraphQLSubscriptionConsumer from channels.routing import ProtocolTypeRouter, URLRouter from channels.http import AsgiHandler from channels.auth import AuthMiddlewareStack from django.conf impor...
30.212121
78
0.799398
115
997
6.817391
0.382609
0.063776
0.035714
0.058673
0.068878
0
0
0
0
0
0
0
0.109328
997
32
79
31.15625
0.882883
0
0
0
0
0
0.04012
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
cbe50e55f7435e82b5cef4f340b9b8c60ccf025a
11,930
py
Python
dataParsers/dbImporter/DBImporter.py
JohnsonLu3/Gerrymandering-Analysis
760a3c159c443056a9fd8f82102f02251aee5fc0
[ "MIT" ]
null
null
null
dataParsers/dbImporter/DBImporter.py
JohnsonLu3/Gerrymandering-Analysis
760a3c159c443056a9fd8f82102f02251aee5fc0
[ "MIT" ]
null
null
null
dataParsers/dbImporter/DBImporter.py
JohnsonLu3/Gerrymandering-Analysis
760a3c159c443056a9fd8f82102f02251aee5fc0
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine from sqlalchemy import Table, Column, Integer, String, MetaData, ForeignKey from sqlalchemy.sql import select from sqlalchemy import text from sqlalchemy.ext.automap import automap_base <<<<<<< HEAD # To test in memory no DB conn required right now connection_string = "mysql+pymys...
29.974874
127
0.564124
1,207
11,930
5.545153
0.212925
0.02794
0.03048
0.014941
0.392948
0.373823
0.35455
0.322277
0.263858
0.232781
0
0.01721
0.303521
11,930
397
128
30.050378
0.788302
0
0
0.398496
0
0.003759
0.161786
0.067115
0
0
0
0
0
0
null
null
0
0.078947
null
null
0.007519
0
0
0
null
0
0
0
0
0
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
cbe6e232bf2c007ff0a9fb4c7f488d7c79c114af
625
py
Python
2016/Day 19 - Python/presentThiefPt2.py
AndreasDL/AdventOfCode
693b5bd59e7402b12e5df38376844dd5ae8e6312
[ "MIT" ]
null
null
null
2016/Day 19 - Python/presentThiefPt2.py
AndreasDL/AdventOfCode
693b5bd59e7402b12e5df38376844dd5ae8e6312
[ "MIT" ]
null
null
null
2016/Day 19 - Python/presentThiefPt2.py
AndreasDL/AdventOfCode
693b5bd59e7402b12e5df38376844dd5ae8e6312
[ "MIT" ]
null
null
null
import sys NO_ELVES = 3005290 #1->3 0->2 #2->5 1->4 #4->1 3->0 #2->4 1->3 #2 1 wins elfAtPosition = [ i for i in range(NO_ELVES)] #init currIndex = 0 while len(elfAtPosition) > 1: nextIndex = int(currIndex + len(elfAtPosition)/2) % len(elfAtPosition) currElf = elfAtPosition[currIndex] nextElf = elfAtPositio...
18.939394
71
0.696
87
625
4.977011
0.436782
0.221709
0.013857
0.018476
0
0
0
0
0
0
0
0.067308
0.168
625
33
72
18.939394
0.765385
0.1936
0
0
0
0
0.036217
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.133333
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cbe7ee0cb7ce6308b6355070713a3c2226d5bf4d
106,147
py
Python
omd/versions/1.2.8p15.cre/share/check_mk/web/htdocs/views.py
NCAR/spol-nagios
4f88bef953983050bc6568d3f1027615fbe223fb
[ "BSD-3-Clause" ]
null
null
null
omd/versions/1.2.8p15.cre/share/check_mk/web/htdocs/views.py
NCAR/spol-nagios
4f88bef953983050bc6568d3f1027615fbe223fb
[ "BSD-3-Clause" ]
null
null
null
omd/versions/1.2.8p15.cre/share/check_mk/web/htdocs/views.py
NCAR/spol-nagios
4f88bef953983050bc6568d3f1027615fbe223fb
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- encoding: utf-8; py-indent-offset: 4 -*- # +------------------------------------------------------------------+ # | ____ _ _ __ __ _ __ | # | / ___| |__ ___ ___| | __ | \/ | |/ / | # | | | | '_ \ / _ \/ __| |/ /...
40.222433
131
0.578434
12,546
106,147
4.678065
0.097641
0.024092
0.007088
0.003476
0.212895
0.148115
0.106166
0.082057
0.062718
0.056653
0
0.004053
0.300282
106,147
2,638
132
40.23768
0.786154
0.270681
0
0.233449
0
0.000581
0.126553
0.015268
0
0
0
0.000379
0
0
null
null
0.003484
0.002323
null
null
0.001161
0
0
0
null
0
0
0
0
0
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