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
5fe50a48ed930ffddd728e253a149a06b0bf5a20
4,317
py
Python
old/datamanager.py
karimbahgat/GeoSearch
75040758b3c8fb1aa01e049f365cca5e61c9ba7a
[ "MIT" ]
2
2016-03-15T17:06:30.000Z
2016-11-01T02:38:12.000Z
georef/(old)/datamanager.py
karimbahgat/GeoRef
858fc525b5a7504ce7d62323ff7322a2bf24d611
[ "MIT" ]
null
null
null
georef/(old)/datamanager.py
karimbahgat/GeoRef
858fc525b5a7504ce7d62323ff7322a2bf24d611
[ "MIT" ]
null
null
null
""" Datamanager submodule Part of GeoRef, Python Offline Georeferencer by Karim Bahgat, 2014 Creates and keeps track of all available data sources on the machine. Unfinished alpha version """ import sys,os,shutil,time,csv,threading,pickle from helpers import messages,pypath class RefData: """ The class that...
33.726563
119
0.659949
453
4,317
6.231788
0.399559
0.031881
0.015586
0.036132
0.111938
0.058094
0.058094
0.058094
0.058094
0.058094
0
0.001886
0.262914
4,317
127
120
33.992126
0.885292
0.350012
0
0.230769
0
0
0.012768
0.008637
0
0
0
0
0
1
0.230769
false
0.123077
0.030769
0
0.307692
0.030769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
5fec187632ef6308948fb87ab0c56480427fbd3d
1,031
py
Python
spacecapsule/selector.py
zengzhilong/space-capsule
26fd0bd42f83c918dfb06bb188009971406e7965
[ "Apache-2.0" ]
7
2022-02-18T03:14:43.000Z
2022-03-16T08:38:55.000Z
spacecapsule/selector.py
zengzhilong/space-capsule
26fd0bd42f83c918dfb06bb188009971406e7965
[ "Apache-2.0" ]
6
2022-03-10T12:16:59.000Z
2022-03-18T01:19:00.000Z
spacecapsule/selector.py
zengzhilong/space-capsule
26fd0bd42f83c918dfb06bb188009971406e7965
[ "Apache-2.0" ]
3
2022-02-17T08:40:33.000Z
2022-03-29T01:38:46.000Z
import json import shlex import jsonpath from kubernetes import client, config from subprocess import Popen, PIPE import os import sys from jinja2 import Environment, FileSystemLoader from spacecapsule.template import resource_path script_file_directory = resource_path('./resources/templates/scripts') script_env = ...
25.775
83
0.741998
126
1,031
5.928571
0.507937
0.074967
0.05087
0
0
0
0
0
0
0
0
0.004657
0.166828
1,031
39
84
26.435897
0.864959
0.093113
0
0
0
0
0.048491
0.03125
0
0
0
0.025641
0
1
0.04
false
0
0.36
0
0.48
0.04
0
0
0
null
0
0
0
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
1
0
0
0
0
2
5fec354445c0e80a4add142ee45191b58a925546
1,296
py
Python
pygms/tpag.py
FelixWolf/pygms
df077d72490052be168f96cefce5e76a7f2adc53
[ "MIT" ]
null
null
null
pygms/tpag.py
FelixWolf/pygms
df077d72490052be168f96cefce5e76a7f2adc53
[ "MIT" ]
null
null
null
pygms/tpag.py
FelixWolf/pygms
df077d72490052be168f96cefce5e76a7f2adc53
[ "MIT" ]
null
null
null
from .kvp import kvp class tpag: def __init__(self, form, data = None): self.form = form self.values = [] self.addresses = [] if data: self.load(data) def load(self, data): for i in range(data.readUInt32()): entry = kvp() #tpag ...
29.454545
58
0.530864
132
1,296
5.113636
0.333333
0.228148
0.281481
0.068148
0
0
0
0
0
0
0
0.031477
0.362654
1,296
43
59
30.139535
0.785714
0.006944
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.028571
0.057143
0.314286
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5ff85338c196ec92ceda589296cdd654c2daf266
629
py
Python
tests/test_content_api.py
tzengwei/fastapi-sqlmodel-typer
83895ac87306ff0fae6487526c46918f1dff8c44
[ "Unlicense" ]
123
2021-09-13T18:39:36.000Z
2022-03-28T05:59:44.000Z
tests/test_content_api.py
tzengwei/fastapi-sqlmodel-typer
83895ac87306ff0fae6487526c46918f1dff8c44
[ "Unlicense" ]
11
2021-09-15T09:47:35.000Z
2022-03-14T21:16:17.000Z
tests/test_content_api.py
tzengwei/fastapi-sqlmodel-typer
83895ac87306ff0fae6487526c46918f1dff8c44
[ "Unlicense" ]
10
2021-09-15T11:07:36.000Z
2022-03-24T10:25:24.000Z
def test_content_create(api_client_authenticated): response = api_client_authenticated.post( "/content/", json={ "title": "hello test", "text": "this is just a test", "published": True, "tags": ["test", "hello"], }, ) assert response.st...
29.952381
56
0.605723
68
629
5.397059
0.426471
0.098093
0.239782
0.163488
0.594005
0.594005
0.594005
0.310627
0.310627
0.310627
0
0.014925
0.254372
629
20
57
31.45
0.767591
0
0
0.222222
0
0
0.168521
0
0
0
0
0
0.222222
1
0.111111
false
0
0
0
0.111111
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
270476d38f410e24b30af850c2b176e295ee3302
28,502
py
Python
tests/untrustedStringTests.py
tawesoft/untrusted
9eddab3befec85e4aaa2fa48593db516eda3cf3b
[ "MIT" ]
null
null
null
tests/untrustedStringTests.py
tawesoft/untrusted
9eddab3befec85e4aaa2fa48593db516eda3cf3b
[ "MIT" ]
null
null
null
tests/untrustedStringTests.py
tawesoft/untrusted
9eddab3befec85e4aaa2fa48593db516eda3cf3b
[ "MIT" ]
null
null
null
# This file contains fairly exhaustive tests of almost all the methods # supported by the Python `str` type, and tests that `untrusted.string` type: # * correctly supports the same methods # * accepts `str` and/or `untrusted.string` arguments interchangeably # * never returns `str` or any iterable of `str`, only an # ...
30.84632
171
0.689706
3,894
28,502
5.038778
0.076528
0.292799
0.118343
0.087916
0.745018
0.679629
0.6174
0.553081
0.456501
0.382091
0
0.012519
0.114378
28,502
923
172
30.87974
0.764718
0.116413
0
0.394872
0
0
0.165443
0.001437
0
0
0
0.001083
0.639316
1
0.001709
false
0.039316
0.005128
0
0.013675
0.010256
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
1
0
0
0
0
0
0
0
0
0
2
2726f1c20356a9f029f364ae20fc64b3efed0d11
2,306
py
Python
src/dsrlib/ui/uicommands/misc.py
fraca7/dsremap
fb8f4fb13e74b512ed0cac05387fbe9694faebcf
[ "MIT" ]
8
2020-09-06T02:15:10.000Z
2022-01-12T22:49:20.000Z
src/dsrlib/ui/uicommands/misc.py
fraca7/dsremap
fb8f4fb13e74b512ed0cac05387fbe9694faebcf
[ "MIT" ]
5
2021-03-29T20:37:46.000Z
2021-09-19T13:20:24.000Z
src/dsrlib/ui/uicommands/misc.py
fraca7/dsremap
fb8f4fb13e74b512ed0cac05387fbe9694faebcf
[ "MIT" ]
2
2020-09-16T01:45:49.000Z
2021-06-12T12:38:15.000Z
#!/usr/bin/env python3 from PyQt5 import QtCore, QtGui from dsrlib.ui.wizard import HexUploaderWizard, SetupSDWizard from dsrlib.ui.about import AboutDialog from dsrlib.ui.settings import SettingsDialog from dsrlib.ui.resdl import ResourceDownloader from dsrlib.meta import Meta from .base import UICommand class Up...
36.603175
160
0.678231
254
2,306
5.948819
0.338583
0.111185
0.052945
0.066181
0.401721
0.363336
0.328921
0.328921
0.258769
0.258769
0
0.002641
0.179098
2,306
62
161
37.193548
0.795563
0.009107
0
0.348837
0
0
0.11296
0
0
0
0
0
0
1
0.232558
false
0
0.162791
0
0.511628
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
272c0d7318cd793bafdecc98b51ea3ec3a193c49
1,223
py
Python
podle/models.py
briefmnews/django-podle
124628449b839b8ae3b3e3e5d5c11397fddc960b
[ "MIT" ]
null
null
null
podle/models.py
briefmnews/django-podle
124628449b839b8ae3b3e3e5d5c11397fddc960b
[ "MIT" ]
1
2021-08-06T04:03:15.000Z
2021-12-19T19:14:05.000Z
podle/models.py
briefmnews/django-podle
124628449b839b8ae3b3e3e5d5c11397fddc960b
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth import get_user_model from django.contrib.contenttypes.models import ContentType from .managers import NewsletterManager, RssFeedManager User = get_user_model() class Newsletter(models.Model): uuid = models.UUIDField() audio_url = models.URLField(blank=...
26.586957
75
0.711365
146
1,223
5.746575
0.40411
0.035757
0.035757
0.057211
0.213349
0.148987
0
0
0
0
0
0.00995
0.17825
1,223
45
76
27.177778
0.824876
0
0
0.172414
0
0
0.111202
0.017989
0
0
0
0
0
1
0.103448
false
0
0.137931
0.103448
0.862069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
27313089931371eb58843d6531f66f2a82b4e82d
1,967
py
Python
src/1_100/0043_multiply-strings/multiply-strings.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-12-18T06:08:47.000Z
2019-12-18T06:08:47.000Z
src/1_100/0043_multiply-strings/multiply-strings.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-05-18T09:35:22.000Z
2019-05-18T09:35:22.000Z
src/1_100/0043_multiply-strings/multiply-strings.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
null
null
null
class Solution(object): def multiply(self, num1, num2): """ :type num1: str :type num2: str :rtype: str """ if(num1=="0" or num2=="0"): return "0" d = {"0":0, "1":1, "2":2, "3":3, "4":4, "5":5, "6":6, "7":7, "8":8, "9":9} num_arr = ["0","...
26.226667
82
0.338587
239
1,967
2.753138
0.217573
0.053191
0.06079
0.048632
0.331307
0.331307
0.331307
0.331307
0.331307
0.331307
0
0.08046
0.513472
1,967
75
83
26.226667
0.606061
0.005084
0
0.333333
0
0
0.013408
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
2
2737e5a10f085920dff2acb04f5c516d9dd3f67d
9,011
py
Python
filtering-and-analysis/Python/dangerous-imports.py
sola-st/WasmBench
4e0bf40c35aad2084591c8fd3411ae1d570767af
[ "MIT" ]
15
2020-12-01T19:47:05.000Z
2022-03-09T13:07:10.000Z
filtering-and-analysis/Python/dangerous-imports.py
sola-st/WasmBench
4e0bf40c35aad2084591c8fd3411ae1d570767af
[ "MIT" ]
null
null
null
filtering-and-analysis/Python/dangerous-imports.py
sola-st/WasmBench
4e0bf40c35aad2084591c8fd3411ae1d570767af
[ "MIT" ]
3
2021-06-06T22:33:22.000Z
2022-02-18T07:32:17.000Z
#!/usr/bin/env python3 from collections import Counter, defaultdict from id_tokenizer import tokenize import json def print_distribution(counter, min_count=0, total=None): if total is None: total = sum(counter.values()) for value, count in counter.most_common(): if count < min_count: ...
48.972826
170
0.713794
1,214
9,011
4.997529
0.136738
0.130213
0.055382
0.094281
0.597659
0.542278
0.52151
0.509972
0.485248
0.470084
0
0.002202
0.193652
9,011
183
171
49.240437
0.832783
0.074576
0
0.328947
0
0
0.102413
0.009965
0
0
0
0
0
1
0.013158
false
0
0.532895
0
0.552632
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
0
1
0
1
0
0
2
2745a8754b83ac3622714211e282c618e724b1c0
51,472
py
Python
drovorubhunt.py
Insane-Forensics/drovorub-hunt
b849cb1818580606042b286444acb48c4ccb2b5a
[ "MIT" ]
25
2020-08-24T15:16:33.000Z
2022-02-12T05:46:17.000Z
drovorubhunt.py
Insane-Forensics/drovorub-hunt
b849cb1818580606042b286444acb48c4ccb2b5a
[ "MIT" ]
1
2020-08-25T13:37:25.000Z
2020-08-28T12:45:08.000Z
drovorubhunt.py
Insane-Forensics/drovorub-hunt
b849cb1818580606042b286444acb48c4ccb2b5a
[ "MIT" ]
5
2020-08-25T03:08:58.000Z
2022-02-12T05:46:22.000Z
""" MIT License Copyright (c) 2020 Insane Forensics 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, publi...
40.818398
422
0.448982
4,165
51,472
5.476591
0.105402
0.027356
0.036475
0.034196
0.720693
0.700088
0.688514
0.670671
0.657519
0.649101
0
0.090628
0.403404
51,472
1,260
423
40.850794
0.652175
0.042547
0
0.643225
0
0.000858
0.391467
0.084885
0
0
0
0.000794
0
1
0.003431
false
0.002573
0.007719
0
0.01458
0.006003
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
275707507d47e2924dddd556f29d5f26e3510a5c
233
py
Python
service/settings.py
amoveo-project/blockchain-explorer
0f7b4710dc81f775579ca823a6798723f07c0f23
[ "Apache-1.1" ]
null
null
null
service/settings.py
amoveo-project/blockchain-explorer
0f7b4710dc81f775579ca823a6798723f07c0f23
[ "Apache-1.1" ]
null
null
null
service/settings.py
amoveo-project/blockchain-explorer
0f7b4710dc81f775579ca823a6798723f07c0f23
[ "Apache-1.1" ]
null
null
null
DATABASE_URI = "postgresql://amoveo:password@localhost:5432/amoveo-explorer" NODE_INT_URL = "http://localhost:8081" NODE_EXT_URL = "http://localhost:8080" try: from service.settings_local import * except ImportError: pass
21.181818
76
0.755365
30
233
5.666667
0.8
0.082353
0.188235
0
0
0
0
0
0
0
0
0.058537
0.120172
233
10
77
23.3
0.770732
0
0
0
0
0
0.433476
0.253219
0
0
0
0
0
1
0
false
0.285714
0.285714
0
0.285714
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
1
0
0
0
0
0
2
277a95cb5d9b572e19811eb5809c8d849589b237
625
py
Python
fmritools/nuisance.py
szorowi1/neu350
c66de9180e767831ce0f33af7a62242f488b77dc
[ "MIT" ]
null
null
null
fmritools/nuisance.py
szorowi1/neu350
c66de9180e767831ce0f33af7a62242f488b77dc
[ "MIT" ]
null
null
null
fmritools/nuisance.py
szorowi1/neu350
c66de9180e767831ce0f33af7a62242f488b77dc
[ "MIT" ]
3
2020-04-03T12:56:24.000Z
2020-05-11T18:06:04.000Z
import numpy as np from scipy.special import legendre as _legendre def legendre(t, order=0): """Generate Legendre polynomial regressors. Parameters ---------- n_acq : int Number of time points. order : int Highest order of Legendre polynimals to generate. Returns ...
23.148148
69
0.5936
76
625
4.828947
0.605263
0.032698
0.152589
0
0
0
0
0
0
0
0
0.013544
0.2912
625
27
69
23.148148
0.814898
0.5008
0
0
1
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
277fa79fb69847ea2298de1508ffaaadc4c52b60
67
bzl
Python
selenium-version.bzl
atlassian-forks/selenium
5d83fcfe72a409c260b83b3869e356ac45358e5a
[ "Apache-2.0" ]
null
null
null
selenium-version.bzl
atlassian-forks/selenium
5d83fcfe72a409c260b83b3869e356ac45358e5a
[ "Apache-2.0" ]
1
2021-03-17T08:51:57.000Z
2021-03-17T08:51:57.000Z
selenium-version.bzl
atlassian-forks/selenium
5d83fcfe72a409c260b83b3869e356ac45358e5a
[ "Apache-2.0" ]
null
null
null
# BUILD FILE SYNTAX: SKYLARK SE_VERSION = '3.141.59-atlassian-1'
13.4
35
0.716418
11
67
4.272727
1
0
0
0
0
0
0
0
0
0
0
0.122807
0.149254
67
4
36
16.75
0.701754
0.38806
0
0
0
0
0.526316
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2791140b1aeadbeefc244c7abff65f22d5f1883e
108
py
Python
python/test/mod_file_var/globalvar.py
qrsforever/workspace
53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f
[ "MIT" ]
2
2017-06-07T03:20:42.000Z
2020-01-07T09:14:26.000Z
python/test/mod_file_var/globalvar.py
qrsforever/workspace
53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f
[ "MIT" ]
null
null
null
python/test/mod_file_var/globalvar.py
qrsforever/workspace
53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- from cls import Cls1 DICT_VAR = { 'a': 1, 'f': Cls1, }
10.8
23
0.509259
16
108
3.375
0.9375
0
0
0
0
0
0
0
0
0
0
0.0625
0.259259
108
9
24
12
0.6125
0.361111
0
0
0
0
0.029851
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
27937b57734149c0d238f6552b732856cefca5f0
679
py
Python
mysite/bugs/migrations/0014_auto_20151123_1723.py
eqiihuu/bug_admin
d127e8e4e93af36ca04a6439e31dca1f38ea2906
[ "Adobe-Glyph" ]
null
null
null
mysite/bugs/migrations/0014_auto_20151123_1723.py
eqiihuu/bug_admin
d127e8e4e93af36ca04a6439e31dca1f38ea2906
[ "Adobe-Glyph" ]
null
null
null
mysite/bugs/migrations/0014_auto_20151123_1723.py
eqiihuu/bug_admin
d127e8e4e93af36ca04a6439e31dca1f38ea2906
[ "Adobe-Glyph" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('bugs', '0013_auto_20151123_1415'), ] operations = [ migrations.RenameField( model_name='bug', old_na...
22.633333
44
0.553756
62
679
5.725806
0.532258
0.177465
0.219718
0.253521
0.36338
0.270423
0.270423
0.270423
0
0
0
0.037528
0.332842
679
29
45
23.413793
0.746137
0.030928
0
0.434783
0
0
0.152439
0.035061
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
27a41188c4004c87f8411eae9cc9617204e1f15a
1,281
py
Python
magento/__init__.py
TinBane/python-magento
089ce5089c5adfd00df52e5663846998615cea0f
[ "BSD-3-Clause" ]
52
2016-02-19T22:35:31.000Z
2021-06-11T18:52:46.000Z
magento/__init__.py
TinBane/python-magento
089ce5089c5adfd00df52e5663846998615cea0f
[ "BSD-3-Clause" ]
27
2015-12-30T12:35:05.000Z
2022-02-08T20:45:36.000Z
magento/__init__.py
TinBane/python-magento
089ce5089c5adfd00df52e5663846998615cea0f
[ "BSD-3-Clause" ]
54
2015-12-08T01:06:36.000Z
2022-01-25T01:57:25.000Z
# -*- coding: UTF-8 -*- ''' magento API :license: BSD, see LICENSE for more details ''' __all__ = [ 'API', 'Store', 'Magento', 'Customer', 'CustomerGroup', 'CustomerAddress', 'Country', 'Region', 'Cart', 'CartCoupon', 'CartCustomer', 'CartPayment', 'C...
40.03125
75
0.690867
109
1,281
8.009174
0.431193
0.050401
0.077892
0
0
0
0
0
0
0
0
0.000978
0.202186
1,281
31
76
41.322581
0.853229
0.061671
0
0
0
0
0.255481
0
0
0
0
0
0
1
0
false
0
0.521739
0
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
27b0dc2a2f40fc75820c2160606fc5a7fdc6d8ae
699
py
Python
aerial/feed.py
chrisbrake/aerial
6a33cf048820aab948dd24d5867e53f0f1eaa11d
[ "BSD-3-Clause" ]
null
null
null
aerial/feed.py
chrisbrake/aerial
6a33cf048820aab948dd24d5867e53f0f1eaa11d
[ "BSD-3-Clause" ]
1
2018-09-20T04:39:02.000Z
2018-09-21T04:19:15.000Z
aerial/feed.py
chrisbrake/aerial
6a33cf048820aab948dd24d5867e53f0f1eaa11d
[ "BSD-3-Clause" ]
null
null
null
import signal from .signalData import SignalData class Feed(object): """ Object intended to raise signals for visibility """ def __init__(self): self.signals = dict() def _receiver(self, signum, frame): """ Callback that is registered in the signal.signal builtin """ self.signal...
25.888889
72
0.643777
84
699
5.047619
0.452381
0.15566
0.061321
0
0
0
0
0
0
0
0
0
0.251788
699
26
73
26.884615
0.810707
0.150215
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.125
0.125
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
27cd0b1fddaf96d2de285e31b2421c73db29d683
1,058
py
Python
pyaz/acs/dcos/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/acs/dcos/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/acs/dcos/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
''' Commands to manage a DC/OS-orchestrated Azure Container Service. ''' from ... pyaz_utils import _call_az def browse(name, resource_group, disable_browser=None, ssh_key_file=None): ''' Required Parameters: - name -- Name of the container service. You can configure the default using `az configure -...
34.129032
128
0.708885
149
1,058
4.899329
0.463087
0.024658
0.041096
0.049315
0.126027
0.057534
0
0
0
0
0
0
0.200378
1,058
30
129
35.266667
0.862884
0.648393
0
0
0
0
0.138983
0
0
0
0
0
0
1
0.4
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
27cf5280edf7b7e77da462ce8646c14667a30c2b
788
py
Python
output_generator.py
akashks1998/crypto
86e48216bcf81c351b52f35fed7edf37fc6abc3f
[ "MIT" ]
null
null
null
output_generator.py
akashks1998/crypto
86e48216bcf81c351b52f35fed7edf37fc6abc3f
[ "MIT" ]
null
null
null
output_generator.py
akashks1998/crypto
86e48216bcf81c351b52f35fed7edf37fc6abc3f
[ "MIT" ]
null
null
null
import pyautogui as auto import time file_object=open("input_2.txt","r+") time.sleep(15) arr = file_object.readlines() indx=0 for inp in arr: auto.click(1209,920, button='left') to_input=list(inp) auto.typewrite(to_input) auto.press('enter') time.sleep(0.2) auto.doubleClick(536,837, button='left...
32.833333
71
0.678934
118
788
4.491525
0.398305
0.181132
0.192453
0.216981
0.369811
0.316981
0.316981
0.173585
0.173585
0
0
0.05772
0.120558
788
23
72
34.26087
0.707071
0
0
0.086957
0
0
0.154822
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
27d246c435f7079b948251f70c9406967e58d033
364
py
Python
Chapter 11/ch11_2_10.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 11/ch11_2_10.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 11/ch11_2_10.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
def length(t1, n): t2=t1*n l=len(t2) print("Tuple {} has length: {}", t2, l) length(('1',(5,3)),2) #Tuple {} length: ('1',(5,3)'1',(5,3)) 4 #note: here .format is missing def length(t1, n): t2=t1*n l=len(t2) print("Tuple {} has length: {}". format(t2, l)) length(('1',(5,3)),2) ...
21.411765
52
0.489011
67
364
2.656716
0.298507
0.067416
0.101124
0.151685
0.741573
0.741573
0.674157
0.674157
0.47191
0.47191
0
0.114695
0.233516
364
17
53
21.411765
0.523297
0.299451
0
0.8
0
0
0.202532
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
27d2f7bd8ab5800c20595725940fe07d2bb2e783
202
py
Python
for/v3/repeat.py
py-bootcamp/learn-python-with-tdd
5d0c6fbbbea07204228323557a932bc4023fc8b5
[ "MIT" ]
5
2020-11-13T18:43:52.000Z
2022-03-23T01:07:11.000Z
for/v3/repeat.py
py-bootcamp/learn-python-with-tdd
5d0c6fbbbea07204228323557a932bc4023fc8b5
[ "MIT" ]
null
null
null
for/v3/repeat.py
py-bootcamp/learn-python-with-tdd
5d0c6fbbbea07204228323557a932bc4023fc8b5
[ "MIT" ]
null
null
null
def repeat(character: str, counter: int) -> str: """Repeat returns character repeated `counter` times.""" word = "" for counter in range(counter): word += character return word
25.25
60
0.628713
23
202
5.521739
0.608696
0
0
0
0
0
0
0
0
0
0
0
0.247525
202
7
61
28.857143
0.835526
0.247525
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
27d55e9389784a0824fc6ad275fec6e98754151b
154
py
Python
testapp/__init__.py
movermeyer/Flask-Dropbox
bfc59c64a6a55b50cacb9b362ed520c50705778a
[ "BSD-3-Clause" ]
22
2015-02-07T21:37:36.000Z
2021-12-06T07:12:49.000Z
testapp/__init__.py
movermeyer/Flask-Dropbox
bfc59c64a6a55b50cacb9b362ed520c50705778a
[ "BSD-3-Clause" ]
33
2020-03-16T03:48:37.000Z
2021-08-02T03:40:08.000Z
testapp/__init__.py
movermeyer/Flask-Dropbox
bfc59c64a6a55b50cacb9b362ed520c50705778a
[ "BSD-3-Clause" ]
6
2017-02-04T04:29:15.000Z
2021-12-06T07:12:51.000Z
__author__ = 'Igor Davydenko <playpauseandstop@gmail.com>' __description__ = 'Flask-Dropbox test project' __license__ = 'BSD License' __version__ = '0.3'
30.8
58
0.772727
17
154
6.058824
0.941176
0
0
0
0
0
0
0
0
0
0
0.014599
0.11039
154
4
59
38.5
0.737226
0
0
0
0
0
0.538961
0.181818
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
27dff289c3141d3d0b115785e733fc473eccd672
257
py
Python
PythonExercicios/ex040.py
Caio-Moretti/115.Exercicios-Python
7e66fb1f44ea3eb4ade63f37d843242ac42ade84
[ "MIT" ]
null
null
null
PythonExercicios/ex040.py
Caio-Moretti/115.Exercicios-Python
7e66fb1f44ea3eb4ade63f37d843242ac42ade84
[ "MIT" ]
null
null
null
PythonExercicios/ex040.py
Caio-Moretti/115.Exercicios-Python
7e66fb1f44ea3eb4ade63f37d843242ac42ade84
[ "MIT" ]
null
null
null
n1 = float(input('Digite a primeira nota: ')) n2 = float(input('Digite a segunda nota: ')) media = (n1 + n2) / 2 if media < 5: print('REPROVADO') elif 5 <= media < 7: print('RECUPERAÇÃO') else: print('APROVADO') print('Média: {}'.format(media))
23.363636
45
0.614786
36
257
4.388889
0.611111
0.126582
0.202532
0.21519
0
0
0
0
0
0
0
0.038462
0.190661
257
10
46
25.7
0.721154
0
0
0
0
0
0.326848
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
27eb358334304f55940795ad957f092b1703299e
69,842
py
Python
TaxBands-Data-and-Script/script.py
2090886l/IneqBench
622679d25b0083a93ec7e4b82cee2fca0a6fd7ad
[ "MIT" ]
null
null
null
TaxBands-Data-and-Script/script.py
2090886l/IneqBench
622679d25b0083a93ec7e4b82cee2fca0a6fd7ad
[ "MIT" ]
null
null
null
TaxBands-Data-and-Script/script.py
2090886l/IneqBench
622679d25b0083a93ec7e4b82cee2fca0a6fd7ad
[ "MIT" ]
null
null
null
#1.Extract postcodes from csv file #2.For every postcode import urllib.request import re import csv array = """DG1 1DF DG1 1DG DG1 1DJ DG1 1DL DG1 1DR DG1 1DT DG1 1DU DG1 1DX DG1 1EA DG1 1EB DG1 1ED DG1 1EF DG1 1EG DG1 1EH DG1 1EJ DG1 1EL DG1 1ET DG1 1EW DG1 1EX DG1 1FA DG1 1GL DG1 1GN ...
9.491982
197
0.670485
14,919
69,842
3.137945
0.201354
0.001346
0.000897
0.001645
0.013436
0.01288
0.0113
0.00974
0.009185
0.007562
0
0.345271
0.322728
69,842
7,358
198
9.491982
0.644434
0.002778
0
0.00191
0
0.000273
0.969462
0.00289
0
0
0.000337
0
0
1
0.000136
false
0
0.000409
0
0.000546
0.000409
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
27f01359cef684cb77d7765f2949602ae6b12597
144
py
Python
weldx/tags/__init__.py
CagtayFabry/weldx
463f949d4fa54b5edafa2268cb862716865a62c2
[ "BSD-3-Clause" ]
13
2020-02-20T07:45:02.000Z
2021-12-10T13:15:47.000Z
weldx/tags/__init__.py
BAMWelDX/weldx
ada4e67fa00cdb80a0b954057f4e685b846c9fe5
[ "BSD-3-Clause" ]
675
2020-02-20T07:47:00.000Z
2022-03-31T15:17:19.000Z
weldx/tags/__init__.py
CagtayFabry/weldx
463f949d4fa54b5edafa2268cb862716865a62c2
[ "BSD-3-Clause" ]
5
2020-09-02T07:19:17.000Z
2021-12-05T08:57:50.000Z
from . import ( aws, base_types, core, debug, equipment, groove, measurement, processes, time, units, )
11.076923
16
0.527778
13
144
5.769231
1
0
0
0
0
0
0
0
0
0
0
0
0.381944
144
12
17
12
0.842697
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
27f95209ae17a5c10773b68cf55ddf5434cc7ef2
436
py
Python
src/data/eff_stack_registration.py
daniellepaynter/efficiency_pilot
b37e5e3497a09b136ab221ee365ecff13433b67f
[ "MIT" ]
null
null
null
src/data/eff_stack_registration.py
daniellepaynter/efficiency_pilot
b37e5e3497a09b136ab221ee365ecff13433b67f
[ "MIT" ]
null
null
null
src/data/eff_stack_registration.py
daniellepaynter/efficiency_pilot
b37e5e3497a09b136ab221ee365ecff13433b67f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Jun 17 16:23:22 2021 Registers stacks from different timepoints. @author: dpaynter """ ## INPUTS: tiff_file_path = r'I:\Danielle Paynter\InVivoTTTPilots\efficiency_spread_pilot\data\processed\DP_210429\2P\stacks_by_loc_date' ################################### import ...
21.8
126
0.699541
62
436
4.758065
0.822581
0.054237
0.081356
0
0
0
0
0
0
0
0
0.05277
0.130734
436
20
127
21.8
0.725594
0.298165
0
0
0
0
0.40458
0.358779
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fd705eb5e26a2ac7200c39b8ee0f236eaf04fc7f
5,543
py
Python
vcs_query.py
marvinthepa/vcs_query
e188a1c9e6d9e0329f237f8e7a411bdfb7e8cb56
[ "MIT" ]
null
null
null
vcs_query.py
marvinthepa/vcs_query
e188a1c9e6d9e0329f237f8e7a411bdfb7e8cb56
[ "MIT" ]
2
2018-10-08T16:11:41.000Z
2018-10-17T21:43:46.000Z
vcs_query.py
marvinthepa/vcs_query
e188a1c9e6d9e0329f237f8e7a411bdfb7e8cb56
[ "MIT" ]
1
2018-10-02T19:50:25.000Z
2018-10-02T19:50:25.000Z
#!/usr/bin/env python # -*- coding: utf8 -*- # TODO # documentation # http://www.ietf.org/rfc/rfc2426.txt import vobject, sys, os, re from getopt import gnu_getopt try: import cPickle as pickle except: import pickle import logging vobject_logger = logging.getLogger("vobject.base") logger = logging.getLogger...
32.040462
95
0.586686
682
5,543
4.607038
0.265396
0.043285
0.035646
0.016232
0.18937
0.105347
0.063335
0.050286
0
0
0
0.004132
0.301461
5,543
172
96
32.226744
0.807335
0.03554
0
0.129771
0
0
0.062955
0
0
0
0
0.011628
0
0
null
null
0
0.045802
null
null
0.022901
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
fd736c7008ee0e96fc5b1f5d6dab38473cb6f2df
664
py
Python
python/kegen.py
ucanlab/beebit-cpabe-sdk
1bcd9397ccce006bddac208471cd3fcc355af01f
[ "Apache-2.0" ]
7
2019-03-11T09:54:00.000Z
2021-12-29T03:50:24.000Z
python/kegen.py
ucanlab/beebit-cpabe-sdk
1bcd9397ccce006bddac208471cd3fcc355af01f
[ "Apache-2.0" ]
1
2018-02-17T16:20:46.000Z
2018-02-17T16:20:46.000Z
python/kegen.py
ucanlab/beebit-cpabe-sdk
1bcd9397ccce006bddac208471cd3fcc355af01f
[ "Apache-2.0" ]
6
2017-12-12T04:53:32.000Z
2018-04-18T10:09:43.000Z
import sys import pycpabe argc = len(sys.argv) if argc < 6: print("Usage: keygen [sk] [pk] [mk] [no] [a1] ... [aN]") print("sk: path to generate secret key") print("pk: path to public key") print("mk: path to master key") print("no: number of attributeds in generated secret key") print("a1 ... aN: attributes") ...
22.133333
59
0.63253
116
664
3.612069
0.422414
0.116945
0.02864
0.038186
0
0
0
0
0
0
0
0.01982
0.164157
664
29
60
22.896552
0.735135
0
0
0.083333
1
0.041667
0.378012
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.416667
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
1
0
2
fd798a58c2bc55eee997e747a7a5d9b13b5d8cf2
294
py
Python
app/test/db_client_test.py
gcatanese/1-2-3-Heroku-Docker-Python-MongoDB
25de742f550acd2d20d13603fc21f3514fc235ee
[ "Apache-2.0" ]
null
null
null
app/test/db_client_test.py
gcatanese/1-2-3-Heroku-Docker-Python-MongoDB
25de742f550acd2d20d13603fc21f3514fc235ee
[ "Apache-2.0" ]
2
2021-04-05T04:54:46.000Z
2021-12-08T04:10:15.000Z
app/test/db_client_test.py
gcatanese/1-2-3-Heroku-Docker-Python-MongoDB
25de742f550acd2d20d13603fc21f3514fc235ee
[ "Apache-2.0" ]
null
null
null
import unittest from dao.db_client import * class DbClientTest(unittest.TestCase): def test_get_user_by_name(self): ret = get_user_by_name('test') self.assertIsNotNone(ret) def test_add_user(self): ret = add_user('test') self.assertIsNotNone(ret)
17.294118
38
0.676871
39
294
4.820513
0.487179
0.074468
0.095745
0.138298
0
0
0
0
0
0
0
0
0.227891
294
16
39
18.375
0.828194
0
0
0.222222
0
0
0.027211
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
fd898cb49a8d16e5ce64ff3cfc5b012aa17653e0
120
py
Python
datacatalog/views/experiment_view/__init__.py
SD2E/python-datacatalog
51ab366639505fb6e8a14cd6b446de37080cd20d
[ "CNRI-Python" ]
null
null
null
datacatalog/views/experiment_view/__init__.py
SD2E/python-datacatalog
51ab366639505fb6e8a14cd6b446de37080cd20d
[ "CNRI-Python" ]
2
2019-07-25T15:39:04.000Z
2019-10-21T15:31:46.000Z
datacatalog/views/experiment_view/__init__.py
SD2E/python-datacatalog
51ab366639505fb6e8a14cd6b446de37080cd20d
[ "CNRI-Python" ]
1
2019-10-15T14:33:44.000Z
2019-10-15T14:33:44.000Z
AUTHOR = 'vaughn@tacc.utexas.edu' MONGODB_VIEW_NAME = 'experiment_view' DESCRIPTION = 'Experiment and parental lineage'
30
47
0.8
15
120
6.2
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.1
120
3
48
40
0.861111
0
0
0
0
0
0.566667
0.183333
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fd9a15662f26439202f6fd02f0cd801d8975a296
1,325
py
Python
to_do_backend/to_do_api/views.py
paul3bin/To-Do-App
0e09c5d095448bcd3cfa467b2cef27df2ec30148
[ "MIT" ]
null
null
null
to_do_backend/to_do_api/views.py
paul3bin/To-Do-App
0e09c5d095448bcd3cfa467b2cef27df2ec30148
[ "MIT" ]
null
null
null
to_do_backend/to_do_api/views.py
paul3bin/To-Do-App
0e09c5d095448bcd3cfa467b2cef27df2ec30148
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from . import serializers, models from rest_framework.permissions import AllowAny, IsAuthenticated from rest_framework import viewsets from rest_framework.authentication import TokenAuthentication from rest_framework.authtoken.views import ObtainAuthToken from rest_framework...
38.970588
84
0.765283
148
1,325
6.743243
0.344595
0.048096
0.102204
0.052104
0.164329
0.092184
0.092184
0.092184
0.092184
0
0
0
0.138868
1,325
34
85
38.970588
0.874671
0.017358
0
0.076923
0
0
0.009224
0
0
0
0
0
0
1
0.115385
false
0
0.307692
0.076923
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fda1890916a8f541b2ac70b4744cb6a065959821
735
py
Python
networks/mq.py
Gleamo/gleamo-device
6b7c24ad1683e931cacf2ce9c5aa8d3b16616503
[ "BSD-2-Clause" ]
1
2017-05-02T15:15:03.000Z
2017-05-02T15:15:03.000Z
networks/mq.py
Gleamo/gleamo-python
6b7c24ad1683e931cacf2ce9c5aa8d3b16616503
[ "BSD-2-Clause" ]
4
2017-05-02T13:50:15.000Z
2017-05-02T16:12:38.000Z
networks/mq.py
Gleamo/gleamo-python
6b7c24ad1683e931cacf2ce9c5aa8d3b16616503
[ "BSD-2-Clause" ]
null
null
null
import queue as Queue from .inetwork import INetwork from .mq_subscriber import MQSubscriber ''' Message Queue class This is a robust network class that provides a connection to an endpoint. Data will be pushed to the device. The `get_poll_interval` is set to 1 millisecond since it has no cost to get commands from th...
26.25
80
0.695238
101
735
4.970297
0.514851
0.053785
0.059761
0.111554
0.131474
0
0
0
0
0
0
0.003559
0.235374
735
27
81
27.222222
0.88968
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.133333
0.2
0.066667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
fdc113e35158113bbb654628b4dec4d8d8b4b992
631
py
Python
mapclientplugins/scaffoldfiniteelementmeshfitterstep/handler/datapointhandlerbase.py
mahyar-osn/mapclientplugins.scaffoldfiniteelementmeshfitterstep
b35f6c0b2e264e2913d0a1c432bf89c7b329bf52
[ "Apache-2.0" ]
null
null
null
mapclientplugins/scaffoldfiniteelementmeshfitterstep/handler/datapointhandlerbase.py
mahyar-osn/mapclientplugins.scaffoldfiniteelementmeshfitterstep
b35f6c0b2e264e2913d0a1c432bf89c7b329bf52
[ "Apache-2.0" ]
null
null
null
mapclientplugins/scaffoldfiniteelementmeshfitterstep/handler/datapointhandlerbase.py
mahyar-osn/mapclientplugins.scaffoldfiniteelementmeshfitterstep
b35f6c0b2e264e2913d0a1c432bf89c7b329bf52
[ "Apache-2.0" ]
null
null
null
from opencmiss.zinchandlers.keyactivatedhandler import KeyActivatedHandler class DataPointHandlerBase(KeyActivatedHandler): def __init__(self, key_code): super(DataPointHandlerBase, self).__init__(key_code) self._model = None self._active_node = None def set_model(self, model): ...
26.291667
74
0.678288
78
631
5.115385
0.448718
0.100251
0.070175
0.095238
0.190476
0.190476
0.190476
0.190476
0.190476
0.190476
0
0.00823
0.229794
631
23
75
27.434783
0.812757
0
0
0.125
0
0
0
0
0
0
0
0
0
1
0.3125
false
0.125
0.0625
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
fdcd6236e3d9fb6e3100fe65a905a0a5e86845ae
11,163
py
Python
app/models.py
pitrho/motorsports-historic-data-api
93fc34ba1bd5ee63be301121a6446dfa9d99799f
[ "MIT" ]
5
2015-01-25T05:28:42.000Z
2019-02-26T01:09:53.000Z
app/models.py
pitrho/motorsports-historic-data-api
93fc34ba1bd5ee63be301121a6446dfa9d99799f
[ "MIT" ]
null
null
null
app/models.py
pitrho/motorsports-historic-data-api
93fc34ba1bd5ee63be301121a6446dfa9d99799f
[ "MIT" ]
null
null
null
from flask.ext.sqlalchemy import SQLAlchemy from sqlalchemy.dialects.postgresql import HSTORE from sqlalchemy.ext.mutable import MutableDict db = SQLAlchemy() PersonType = db.Enum('driver', 'team-owner', 'crew-chief', 'vehicle-owner', 'team-principal', 'technical-chief', 'race-engineer', name='p...
36.720395
104
0.710741
1,488
11,163
5.196909
0.084677
0.122074
0.146127
0.149489
0.781197
0.739946
0.706194
0.675546
0.619553
0.573257
0
0.008994
0.14342
11,163
303
105
36.841584
0.799728
0
0
0.5
0
0
0.094688
0.008152
0
0
0
0
0
1
0
false
0
0.014851
0
0.985149
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fdd60edeb435491ad121cfa84e7478cb249234a6
335
py
Python
main.py
rgooler/python3_skel
2df25c9ae1fce67d810b3d25df587fb3b1ced922
[ "BSD-3-Clause" ]
null
null
null
main.py
rgooler/python3_skel
2df25c9ae1fce67d810b3d25df587fb3b1ced922
[ "BSD-3-Clause" ]
null
null
null
main.py
rgooler/python3_skel
2df25c9ae1fce67d810b3d25df587fb3b1ced922
[ "BSD-3-Clause" ]
null
null
null
import yaml import time from datetime import datetime try: from yaml import CLoader as Loader, CDumper as Dumper except ImportError: from yaml import Loader, Dumper if __name__ == "__main__": with open("config.yml") as fh: config = yaml.load(fh, Loader=Loader) print(f"{str(datetime.now())}...
25.769231
57
0.695522
47
335
4.787234
0.595745
0.133333
0.124444
0
0
0
0
0
0
0
0
0
0.20597
335
13
58
25.769231
0.845865
0
0
0
0
0
0.154762
0.0625
0
0
0
0
0
1
0
false
0
0.545455
0
0.545455
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fdee24ed62fb4e8dc2c179a7312028ccb38b97ad
494
py
Python
tp_screening/forms/in_eligible_subject_form.py
MoffatMore/tp-screening
20a98ba6fc57118968e507bdf5861cbdcada1848
[ "MIT" ]
null
null
null
tp_screening/forms/in_eligible_subject_form.py
MoffatMore/tp-screening
20a98ba6fc57118968e507bdf5861cbdcada1848
[ "MIT" ]
null
null
null
tp_screening/forms/in_eligible_subject_form.py
MoffatMore/tp-screening
20a98ba6fc57118968e507bdf5861cbdcada1848
[ "MIT" ]
null
null
null
''' Created on Jun 21, 2018 @author: moffat ''' from django import forms from edc_form_validators import FormValidatorMixin from tp_screening.form_validator.in_eligible_subject_form_validator import IneligibleSubjectFormValidator from ..models.in_eligible_subject import IneligibleSubject class IneligibleSubjectForm...
24.7
105
0.809717
51
494
7.529412
0.627451
0.101563
0.088542
0
0
0
0
0
0
0
0
0.014118
0.139676
494
19
106
26
0.889412
0.080972
0
0
0
0
0.015695
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fdee6450fa3fad1a8a161a89e130ad107b6509d9
1,066
py
Python
lib/bes/git/git_clone_manager.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
lib/bes/git/git_clone_manager.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
lib/bes/git/git_clone_manager.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
#-*- coding:utf-8; mode:python; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- import os.path as path from bes.common.check import check from bes.common.string_util import string_util from bes.fs.file_util import file_util from bes.fs.temp_file import temp_file from .git import git from .git_address_util ...
33.3125
90
0.765478
170
1,066
4.541176
0.382353
0.045337
0.054404
0.033679
0
0
0
0
0
0
0
0.003304
0.148218
1,066
31
91
34.387097
0.846916
0.19137
0
0
0
0
0.114754
0
0
0
0
0
0
1
0.130435
false
0
0.391304
0
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fdfdbbb9da56e434da810097dcee82b1a4253981
917
py
Python
{{cookiecutter.project_slug}}/{{cookiecutter.project_varient_1}}/src/templates/index.py
Softyy/dash-cli
906c82e1d18ea1ba059e78ed198a3e7d62853605
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/{{cookiecutter.project_varient_1}}/src/templates/index.py
Softyy/dash-cli
906c82e1d18ea1ba059e78ed198a3e7d62853605
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/{{cookiecutter.project_varient_1}}/src/templates/index.py
Softyy/dash-cli
906c82e1d18ea1ba059e78ed198a3e7d62853605
[ "MIT" ]
null
null
null
import dash_core_components as dcc import dash_html_components as html from plotly import graph_objs as go def render(): return html.Div(children=[ html.H1(children='{{cookiecutter.project_slug}}'), html.Div(children='Dash: A web application framework for Python.'), dcc.Graph( ...
26.2
75
0.370774
82
917
4.073171
0.573171
0.017964
0.08982
0.023952
0.02994
0
0
0
0
0
0
0.029412
0.517993
917
34
76
26.970588
0.726244
0
0
0
0
0
0.145038
0.031625
0
0
0
0
0
1
0.034483
true
0
0.103448
0.034483
0.172414
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
1
0
0
0
0
0
0
2
fdfe937ad22484f86e7599c567f2a955fd0a57b3
2,206
py
Python
Scripts/simulation/reservation/unreserve_object_element.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/reservation/unreserve_object_element.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/reservation/unreserve_object_element.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\reservation\unreserve_object_element.py # Compiled at: 2020-09-08 20:23:33 # Size of source mod 2**3...
91.916667
463
0.717588
271
2,206
5.763838
0.590406
0.003841
0.040333
0.040973
0.099872
0.099872
0.099872
0.048656
0
0
0
0.038773
0.216682
2,206
24
464
91.916667
0.865162
0.145512
0
0
0
0.125
0.476849
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fdff5a02a99da0639432a83b85e248b241cc85db
3,250
py
Python
examples/04_export_to_mctdh/mctdh_export.py
oh-fv/vchamtools
80ca39931b47db00cb9ed70e04687fabade20610
[ "MIT" ]
null
null
null
examples/04_export_to_mctdh/mctdh_export.py
oh-fv/vchamtools
80ca39931b47db00cb9ed70e04687fabade20610
[ "MIT" ]
null
null
null
examples/04_export_to_mctdh/mctdh_export.py
oh-fv/vchamtools
80ca39931b47db00cb9ed70e04687fabade20610
[ "MIT" ]
1
2021-01-06T22:02:56.000Z
2021-01-06T22:02:56.000Z
#!/usr/bin/env python3 import numpy as np from vchamtools.vcham import vcham, mctdh # molecular point group pg = 'c2v' # total number of vibrational degrees of freedom n_vibrational_modes = 30 # vertical excitation energies E = {'a1': [0., 4.74412327642684, 6.75995802149102, 7.98600046338684], 'a2': [6.1554786...
37.790698
110
0.594462
537
3,250
3.538175
0.392924
0.027368
0.054737
0.018947
0.052105
0.018947
0.018947
0
0
0
0
0.399549
0.180615
3,250
85
111
38.235294
0.313932
0.167692
0
0.060606
0
0
0.007058
0
0
0
0
0
0
1
0
false
0
0.030303
0
0.030303
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
8bfa7e856e132c8679f0741aaf186c42a5d87197
894
py
Python
checksums.py
cdeitrick/sequence_delivery_workflow
50f0256d30e50f4c71f6737f937a638ac3ea992c
[ "MIT" ]
null
null
null
checksums.py
cdeitrick/sequence_delivery_workflow
50f0256d30e50f4c71f6737f937a638ac3ea992c
[ "MIT" ]
null
null
null
checksums.py
cdeitrick/sequence_delivery_workflow
50f0256d30e50f4c71f6737f937a638ac3ea992c
[ "MIT" ]
null
null
null
import hashlib from pathlib import Path from typing import Any, Union def _generate_checksum(metric: Any, filename: Union[str, Path], blocksize: int = 2 ** 20) -> str: """ Generates the SHA-1 hash of a file. Does not require a lot of memory. Parameters ---------- filename: string The file to generate the md...
24.162162
97
0.699105
128
894
4.804688
0.453125
0.053659
0.107317
0.097561
0.234146
0.117073
0.117073
0
0
0
0
0.019231
0.185682
894
36
98
24.833333
0.825549
0.347875
0
0.125
1
0
0.003448
0
0
0
0
0
0
1
0.1875
false
0
0.1875
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
8bfad901b66fa484b22c0e201a0b3921b80890de
383
py
Python
kagi/lower/east/_block.py
jedhsu/kagi
1301f7fc437bb445118b25ca92324dbd58d6ad2d
[ "MIT" ]
null
null
null
kagi/lower/east/_block.py
jedhsu/kagi
1301f7fc437bb445118b25ca92324dbd58d6ad2d
[ "MIT" ]
null
null
null
kagi/lower/east/_block.py
jedhsu/kagi
1301f7fc437bb445118b25ca92324dbd58d6ad2d
[ "MIT" ]
null
null
null
""" *Lower-East Block* ⠨ The lower-east block gi. """ from dataclasses import dataclass from ...._gi import Gi from ..._gi import StrismicGi from ...east import EasternGi from ..._number import BlockGi from .._gi import LowerGi __all__ = ["LowerEastBlock"] @dataclass class LowerEastBlock( Gi, St...
13.206897
33
0.668407
44
383
5.659091
0.431818
0.072289
0.144578
0
0
0
0
0
0
0
0
0
0.224543
383
28
34
13.678571
0.835017
0.125326
0
0
0
0
0.043887
0
0
0
0
0
0
1
0
false
0.0625
0.375
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
1
0
0
0
0
2
e325c5950c3353fc2d03327825c0ae82d3b50837
335
py
Python
Recursion/Fibonacci/Fibonacci_Tail.py
EKChikui/Puzzles
37859045fa8ee4466a9437106ef6e2aa5193d4bf
[ "MIT" ]
null
null
null
Recursion/Fibonacci/Fibonacci_Tail.py
EKChikui/Puzzles
37859045fa8ee4466a9437106ef6e2aa5193d4bf
[ "MIT" ]
null
null
null
Recursion/Fibonacci/Fibonacci_Tail.py
EKChikui/Puzzles
37859045fa8ee4466a9437106ef6e2aa5193d4bf
[ "MIT" ]
null
null
null
def Fibonacci_Tail(n, acc0= 0, acc1= 1): # Base-Case(s): F(0) = 0, F(1) = 1 if(n == 0): return acc0 if(n == 1): return acc1 # Recursion return Fibonacci_Tail(n-1, acc1, acc1+acc0) n = 0 while(n <= 10): get = Fibonacci_Tail(n) print(f"Fibonacci({n}) = {get}") ...
11.166667
47
0.489552
53
335
3.037736
0.358491
0.242236
0.26087
0
0
0
0
0
0
0
0
0.09009
0.337313
335
29
48
11.551724
0.635135
0.125373
0
0
0
0
0.076923
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.363636
0.090909
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e32e9df5bc3a3edc20c784e6be0dc874adf2d7a6
127
py
Python
test.py
Boa-Thomas/Eletricidade
7cbd62f2d56cbb1430ed0b8818ffc878b480b3c1
[ "MIT" ]
null
null
null
test.py
Boa-Thomas/Eletricidade
7cbd62f2d56cbb1430ed0b8818ffc878b480b3c1
[ "MIT" ]
null
null
null
test.py
Boa-Thomas/Eletricidade
7cbd62f2d56cbb1430ed0b8818ffc878b480b3c1
[ "MIT" ]
2
2022-02-16T00:08:07.000Z
2022-03-07T13:43:37.000Z
import math import cmath as cm zn = complex(12,76) print(zn) znp = cm.polar(zn) print(znp) print(znp[0],znp[1]*180/math.pi)
11.545455
32
0.685039
26
127
3.346154
0.615385
0.183908
0
0
0
0
0
0
0
0
0
0.082569
0.141732
127
10
33
12.7
0.715596
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
e33cdebf829a86a559006f4a87f9193b59a0fc07
1,219
py
Python
sk_typing/typing.py
thomasjpfan/sk_typing
e6aacfedbce44d7748cf7c49cd2b949952f2e427
[ "MIT" ]
1
2021-02-19T20:57:36.000Z
2021-02-19T20:57:36.000Z
sk_typing/typing.py
thomasjpfan/sk_typing
e6aacfedbce44d7748cf7c49cd2b949952f2e427
[ "MIT" ]
null
null
null
sk_typing/typing.py
thomasjpfan/sk_typing
e6aacfedbce44d7748cf7c49cd2b949952f2e427
[ "MIT" ]
null
null
null
import numpy as np from joblib import Memory import typing from typing import Union from typing import Iterator from typing import Tuple from typing import TypeVar try: import typing_extensions # noqa TYPING_EXTENSION_INSTALLED = True except ImportError: TYPING_EXTENSION_INSTALLED = False if typing.TY...
23.901961
78
0.722724
145
1,219
5.931034
0.427586
0.069767
0.074419
0.046512
0.167442
0.167442
0.167442
0.167442
0.167442
0.167442
0
0
0.194422
1,219
50
79
24.38
0.875764
0.054963
0
0.121212
0
0
0.041301
0
0
0
0
0
0
1
0.090909
false
0
0.333333
0.030303
0.515152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e340c6ad65802fcb68a49d513de859d3bc4b99d4
434
py
Python
topgun/__init__.py
muntumdwara/TopGun
fc253faa8ac0a7c9b7d000c2ea018bba9c584d27
[ "MIT" ]
null
null
null
topgun/__init__.py
muntumdwara/TopGun
fc253faa8ac0a7c9b7d000c2ea018bba9c584d27
[ "MIT" ]
null
null
null
topgun/__init__.py
muntumdwara/TopGun
fc253faa8ac0a7c9b7d000c2ea018bba9c584d27
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ TopGun @author: Viper """ # Useful Medium post on Python importing within __init__.py # https://towardsdatascience.com/whats-init-for-me-d70a312da583 ### DON'T FORGET TO UPDATE SUB __INIT__.py files ### # General from .utilities import * from .reporting import Repo...
17.36
63
0.721198
56
434
5.446429
0.75
0.039344
0
0
0
0
0
0
0
0
0
0.027174
0.152074
434
25
64
17.36
0.80163
0.617512
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
e34e216f1dc75072f0282457e6d2a6921cbfa4b2
2,753
py
Python
pysnmp/Juniper-Notification-Log-CONF.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Juniper-Notification-Log-CONF.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Juniper-Notification-Log-CONF.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 Juniper-Notification-Log-CONF (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Juniper-Notification-Log-CONF # Produced by pysmi-0.3.4 at Mon Apr 29 19:52:48 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python ve...
110.12
477
0.788231
281
2,753
7.715302
0.476868
0.074262
0.030443
0.035978
0.363469
0.245387
0.245387
0.245387
0.245387
0.245387
0
0.062028
0.086451
2,753
24
478
114.708333
0.8
0.127861
0
0.117647
0
0.058824
0.330686
0.030518
0
0
0
0
0
1
0
false
0
0.411765
0
0.411765
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
1
0
0
0
0
2
e3642bc92514ad623f50a7a5a69e62c54ec717ee
308
py
Python
cfp/exceptions/__init__.py
cariad/cfp
43336c45cf56abb7e037fa2f139ea86e679e77b0
[ "MIT" ]
null
null
null
cfp/exceptions/__init__.py
cariad/cfp
43336c45cf56abb7e037fa2f139ea86e679e77b0
[ "MIT" ]
6
2021-11-08T08:42:10.000Z
2021-12-16T14:17:58.000Z
cfp/exceptions/__init__.py
cariad/cfp
43336c45cf56abb7e037fa2f139ea86e679e77b0
[ "MIT" ]
null
null
null
from cfp.exceptions.no_resolver import NoResolverError from cfp.exceptions.stack_parameters import StackParametersError class ResolutionError(StackParametersError): pass class ParameterStoreResolutionError(ResolutionError): pass __all__ = [ "NoResolverError", "StackParametersError", ]
18.117647
64
0.801948
25
308
9.64
0.6
0.058091
0.141079
0
0
0
0
0
0
0
0
0
0.136364
308
16
65
19.25
0.906015
0
0
0.2
0
0
0.113636
0
0
0
0
0
0
1
0
false
0.2
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
8b532178c09e12cb3095ff8cc0fee63e9127db47
317
py
Python
tests/cases/proxy/models.py
goldenhelix/modeltree
c340295e91589e7da97e7440974f21052aa939b3
[ "BSD-2-Clause" ]
null
null
null
tests/cases/proxy/models.py
goldenhelix/modeltree
c340295e91589e7da97e7440974f21052aa939b3
[ "BSD-2-Clause" ]
null
null
null
tests/cases/proxy/models.py
goldenhelix/modeltree
c340295e91589e7da97e7440974f21052aa939b3
[ "BSD-2-Clause" ]
null
null
null
from django.db import models class Target(models.Model): pass class TargetProxy(Target): class Meta(object): proxy = True class Root(models.Model): standard_path = models.ManyToManyField(Target, related_name='path') proxy_path = models.ManyToManyField(TargetProxy, related_name='proxy')
19.8125
74
0.728707
38
317
5.973684
0.526316
0.096916
0.220264
0
0
0
0
0
0
0
0
0
0.170347
317
15
75
21.133333
0.863118
0
0
0
0
0
0.028391
0
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.777778
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
1
0
0
0
0
0
2
8b9375d85f1b110ce7a4383dc4e372c1a8b5e67a
2,669
py
Python
Pywikibot/work/_strip_comments.py
Ketho/WowpediaDoc
4c9388157f3311e1be4c4f8bc5983dd28ab171c4
[ "MIT" ]
null
null
null
Pywikibot/work/_strip_comments.py
Ketho/WowpediaDoc
4c9388157f3311e1be4c4f8bc5983dd28ab171c4
[ "MIT" ]
null
null
null
Pywikibot/work/_strip_comments.py
Ketho/WowpediaDoc
4c9388157f3311e1be4c4f8bc5983dd28ab171c4
[ "MIT" ]
null
null
null
import re import read_export import pywikibot comments = { "<!-- or {{wowapievent}}, {{luapi}}, {{widgethandler}}, {{widgetmethod}}, {{framexmlfunc}} -->", "<!-- Describe the purpose of the function as concisely as possible. -->\n", "<!-- Describe the purpose of the function, exhausting detail can be saved for a la...
53.38
162
0.699888
396
2,669
4.664141
0.335859
0.016243
0.019491
0.041148
0.539253
0.530049
0.513265
0.479155
0.45046
0.418517
0
0
0.164481
2,669
49
163
54.469388
0.828251
0
0
0
0
0.227273
0.770326
0
0
0
0
0
0
1
0.068182
false
0
0.068182
0
0.181818
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8b937c1ca1f6fe5c6de35b954b449bb33aa45828
448
py
Python
example_app.py
MakeDirtyCode/GitLab-WebHooks
b215155bc475f9175e13fc14313e2eaeafe8d831
[ "MIT" ]
4
2020-10-31T15:20:27.000Z
2021-04-27T18:04:42.000Z
example_app.py
MakeDirtyCode/GitLab-WebHooks
b215155bc475f9175e13fc14313e2eaeafe8d831
[ "MIT" ]
null
null
null
example_app.py
MakeDirtyCode/GitLab-WebHooks
b215155bc475f9175e13fc14313e2eaeafe8d831
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) from webhook_receiver import get_webhooks webhooks = get_webhooks(app, target='gitlab', endpoint='/', token='test') from webhook_receiver import Event @webhooks.route(event=Event.PUSH) def github_push_hook(data): # some task what you want return 'PUSH Success!',...
22.4
73
0.738839
68
448
4.691176
0.529412
0.018809
0.119122
0.15674
0.131661
0
0
0
0
0
0
0.036082
0.133929
448
19
74
23.578947
0.786082
0.051339
0
0.166667
0
0
0.085308
0
0
0
0
0
0
1
0.166667
false
0
0.25
0.166667
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
0
1
1
0
0
2
8bc391c8785106015394d22f4a0f56a80f36e2af
547
py
Python
combine_app/install.py
sahil19896/combine_app
ef04890f8bc2c2497d39adb1b4ac647f81040efa
[ "MIT" ]
null
null
null
combine_app/install.py
sahil19896/combine_app
ef04890f8bc2c2497d39adb1b4ac647f81040efa
[ "MIT" ]
null
null
null
combine_app/install.py
sahil19896/combine_app
ef04890f8bc2c2497d39adb1b4ac647f81040efa
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from os import system, getcwd, environ, path import frappe import os USER = "/home/" + environ['USER'] FBENCH = path.join(USER, "frappe-bench") APPS = path.join(USER, "frappe-bench/apps") def after_install(): frappe.db.set_default('desktop:home_page', '') frappe.db.commit() ...
32.176471
162
0.689214
74
547
4.918919
0.527027
0.087912
0.065934
0.098901
0.148352
0.148352
0
0
0
0
0
0
0.107861
547
16
163
34.1875
0.745902
0.292505
0
0
0
0
0.282383
0.056995
0
0
0
0
0
0
null
null
0
0.363636
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
8bceb09da3064549c51a92b9e19c8ec99c79e448
425
py
Python
common/helpers/json_helper.py
Mohammad-Kabajah/django_project
6598668dbc4f8d777ccf716464d259c49d881cd8
[ "Apache-2.0" ]
null
null
null
common/helpers/json_helper.py
Mohammad-Kabajah/django_project
6598668dbc4f8d777ccf716464d259c49d881cd8
[ "Apache-2.0" ]
null
null
null
common/helpers/json_helper.py
Mohammad-Kabajah/django_project
6598668dbc4f8d777ccf716464d259c49d881cd8
[ "Apache-2.0" ]
null
null
null
import json __author__ = 'omar' def str_to_json(value): try: return json.loads(value) except Exception as err: print err return None def json_to_str(value): try: if type(value) == str or type(value) == unicode: return value return jso...
20.238095
57
0.571765
54
425
4.314815
0.425926
0.06867
0.171674
0.188841
0.257511
0.257511
0
0
0
0
0
0
0.352941
425
21
58
20.238095
0.847273
0
0
0.375
0
0
0.051724
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
473960b214020bbc022a721c569cc0dd70986702
1,518
py
Python
py/py_0465_polar_polygons.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
py/py_0465_polar_polygons.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
py/py_0465_polar_polygons.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
# Solution of; # Project Euler Problem 465: Polar polygons # https://projecteuler.net/problem=465 # # The kernel of a polygon is defined by the set of points from which the # entire polygon's boundary is visible. We define a polar polygon as a polygon # for which the origin is strictly contained inside its kernel. F...
43.371429
79
0.71805
259
1,518
4.169884
0.490347
0.02963
0.024074
0.040741
0.07963
0.055556
0.055556
0.055556
0.055556
0.055556
0
0.082315
0.1917
1,518
34
80
44.647059
0.797881
0.870883
0
0
0
0
0.046243
0
0
0
0
0
0
1
0.125
false
0.125
0.125
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
473feef1455394d00c78bc0cf24b66ae0c754bac
2,426
py
Python
app.py
alnordst/address-book-api
4385512ea5d1fdfd153160f2de2e6874890acd70
[ "Apache-2.0" ]
null
null
null
app.py
alnordst/address-book-api
4385512ea5d1fdfd153160f2de2e6874890acd70
[ "Apache-2.0" ]
null
null
null
app.py
alnordst/address-book-api
4385512ea5d1fdfd153160f2de2e6874890acd70
[ "Apache-2.0" ]
null
null
null
from flask import Flask from flask import request from flask import Response from handling import Handler import json app = Flask(__name__) INDEX_NAME = 'contacts' PORT = 9200 handler = Handler(INDEX_NAME, port = PORT, wipe_index = True) @app.route('/contact', methods=['GET','POST']) def contact_without_name(): ...
36.757576
63
0.474031
204
2,426
5.553922
0.245098
0.123566
0.203001
0.166814
0.54722
0.54722
0.480141
0.480141
0.480141
0.480141
0
0.023481
0.403133
2,426
65
64
37.323077
0.758978
0
0
0.583333
0
0
0.167354
0
0
0
0
0
0
1
0.033333
false
0
0.083333
0
0.283333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
474e918da37fdb65d47316ee6d750aeeec1ea415
7,691
py
Python
server/swagger_server/models/preferences_profile_people.py
fabric-testbed/core-api
b6f9df2b3cc4e9ab8782b9ef4de035f5f0644e46
[ "MIT" ]
null
null
null
server/swagger_server/models/preferences_profile_people.py
fabric-testbed/core-api
b6f9df2b3cc4e9ab8782b9ef4de035f5f0644e46
[ "MIT" ]
null
null
null
server/swagger_server/models/preferences_profile_people.py
fabric-testbed/core-api
b6f9df2b3cc4e9ab8782b9ef4de035f5f0644e46
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from swagger_server.models.base_model_ import Model from swagger_server import util class PreferencesProfilePeople(Model): """NOTE: This class is auto generated b...
31.391837
238
0.664023
868
7,691
5.605991
0.087558
0.050555
0.252774
0.062885
0.675709
0.520345
0.360871
0.284423
0.197287
0.031237
0
0.00652
0.262125
7,691
244
239
31.520492
0.850925
0.465089
0
0.27907
0
0
0.09189
0.025379
0
0
0
0
0
1
0.209302
false
0
0.05814
0
0.383721
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
1
0
0
0
0
0
0
0
2
474ea596b02e782719f2d585bcfcc69b1031d2cd
747
py
Python
Domo/Domo.Packaging/Packages/ModuleTest/0.1/SpotifyController.py
vinhui/Domo
d1920d148177b2cb186d9cdd7860b5402fa018a1
[ "Apache-2.0" ]
null
null
null
Domo/Domo.Packaging/Packages/ModuleTest/0.1/SpotifyController.py
vinhui/Domo
d1920d148177b2cb186d9cdd7860b5402fa018a1
[ "Apache-2.0" ]
1
2017-02-06T08:29:47.000Z
2017-02-08T14:11:23.000Z
Domo/Domo.Packaging/Packages/ModuleTest/0.1/SpotifyController.py
vinhui/Domo
d1920d148177b2cb186d9cdd7860b5402fa018a1
[ "Apache-2.0" ]
null
null
null
from Domo.Modules import * class SpotifyController(ControllerModule): def __init__(self): pass def OnEnable(self): ControllerModule.init(self, SpotifyInterface) pass def OnDisable(self): pass def play(self): self.play(None) pass def play(self, track=None): if not self.hardwareInterface.isInitia...
18.219512
84
0.702811
95
747
5.494737
0.4
0.09387
0.042146
0.057471
0
0
0
0
0
0
0
0
0.167336
747
41
85
18.219512
0.837621
0
0
0.375
0
0
0.066934
0
0
0
0
0
0
0
null
null
0.3125
0.03125
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
1
0
0
0
0
0
2
47510115298ba8b36ed3a38b68de8c5b4cd14d79
358
py
Python
quokka/utils/custom_vars.py
songshansitulv/quokka
5d031d419691285481ec045d42773ed713abdaf7
[ "BSD-3-Clause" ]
1,141
2015-02-19T12:21:16.000Z
2022-03-29T10:07:18.000Z
quokka/utils/custom_vars.py
songshansitulv/quokka
5d031d419691285481ec045d42773ed713abdaf7
[ "BSD-3-Clause" ]
284
2015-02-23T01:03:55.000Z
2019-12-20T04:54:31.000Z
quokka/utils/custom_vars.py
songshansitulv/quokka
5d031d419691285481ec045d42773ed713abdaf7
[ "BSD-3-Clause" ]
370
2015-02-19T10:15:19.000Z
2022-03-31T20:08:15.000Z
# coding: utf-8 from dynaconf.utils.parse_conf import parse_conf_data def parse_data(data): """Return converted data from @int, @float, @bool, @json markers""" return parse_conf_data(data) def custom_var_dict(cvarlist): cvarlist = cvarlist or [] return { cvar['key']: parse_data(cvar['value'...
21.058824
71
0.667598
49
358
4.693878
0.571429
0.117391
0.113043
0
0
0
0
0
0
0
0
0.003559
0.215084
358
16
72
22.375
0.814947
0.212291
0
0
0
0
0.028986
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
476b44b41ac6dfe7aa20d18d4bea12dcf3c354de
1,478
py
Python
common/Scope.py
drlim2u/Shuttle-Bus-Educational-Tool
99ed1230ea13f7be57be514899fbdc39db74d108
[ "MIT" ]
null
null
null
common/Scope.py
drlim2u/Shuttle-Bus-Educational-Tool
99ed1230ea13f7be57be514899fbdc39db74d108
[ "MIT" ]
null
null
null
common/Scope.py
drlim2u/Shuttle-Bus-Educational-Tool
99ed1230ea13f7be57be514899fbdc39db74d108
[ "MIT" ]
null
null
null
class Scope: """ Class to define the Scope object to be used during compilation of the whole program. """ def __init__(self, line_number, instructions): """ Constructor for the Scope object. :param line_number: The line the function is defined at :param instructions: The...
30.163265
92
0.613667
189
1,478
4.613757
0.333333
0.091743
0.059633
0.073395
0.115826
0
0
0
0
0
0
0.002959
0.313938
1,478
48
93
30.791667
0.857002
0.437077
0
0
0
0
0.1317
0
0
0
0
0
0
1
0.294118
false
0
0
0
0.588235
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
47728402b45581a24079760891eb45d0f89f4ca1
777
py
Python
To chech the numbers.py
ashmit2704/dark_coder27
0249d87b68a23ebb5791f10a17a0a8596317d5d0
[ "BSD-3-Clause" ]
null
null
null
To chech the numbers.py
ashmit2704/dark_coder27
0249d87b68a23ebb5791f10a17a0a8596317d5d0
[ "BSD-3-Clause" ]
null
null
null
To chech the numbers.py
ashmit2704/dark_coder27
0249d87b68a23ebb5791f10a17a0a8596317d5d0
[ "BSD-3-Clause" ]
null
null
null
try: num = float(input("Enter a number : ")) def real_nums(x): if x > 0: return "The number is POSITIVE" elif x == 0: return "The number is ZERO" elif x < 0: return "The number is NEGATIVE" else: return "Enter a valid numb...
26.793103
69
0.471042
101
777
3.564356
0.326733
0.097222
0.208333
0.236111
0.380556
0.330556
0.127778
0
0
0
0
0.018018
0.428571
777
28
70
27.75
0.792793
0
0
0.2
0
0
0.301609
0
0
0
0
0
0
1
0.08
false
0
0
0
0.4
0.08
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4781e456865bb7e20da10d487052856350930fdd
454
py
Python
blog/accounts/signals.py
timoluxinne/Django-Blog-Tim
83c5479554cff009fb45ccbb81d85656475e8192
[ "MIT" ]
null
null
null
blog/accounts/signals.py
timoluxinne/Django-Blog-Tim
83c5479554cff009fb45ccbb81d85656475e8192
[ "MIT" ]
null
null
null
blog/accounts/signals.py
timoluxinne/Django-Blog-Tim
83c5479554cff009fb45ccbb81d85656475e8192
[ "MIT" ]
null
null
null
from django.dispatch import receiver from django.db.models.signals import post_save from django.contrib.auth.models import User from .models import Profile @receiver(post_save, sender=User) def post_create_profile(sender, created, instance, **kwargs): if created: Profile.objects.create(user=instance) ...
30.266667
61
0.737885
59
454
5.559322
0.372881
0.097561
0.097561
0.134146
0.20122
0.20122
0.20122
0
0
0
0
0
0.167401
454
15
62
30.266667
0.867725
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.363636
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
1
0
1
0
0
2
4789a9ddd1bd1b3f6ea2a47bbabe52a34c3b3aed
330
py
Python
core/migrations/0015_merge_20170530_1741.py
nprapps/cardbuilder
f1c55ead9503db86c78d9556ad7d9d05b973a6c2
[ "MIT" ]
3
2019-07-03T01:25:50.000Z
2021-11-08T10:26:03.000Z
core/migrations/0015_merge_20170530_1741.py
nprapps/cardbuilder
f1c55ead9503db86c78d9556ad7d9d05b973a6c2
[ "MIT" ]
31
2017-04-27T15:44:35.000Z
2017-07-10T21:29:55.000Z
core/migrations/0015_merge_20170530_1741.py
nprapps/cardbuilder
f1c55ead9503db86c78d9556ad7d9d05b973a6c2
[ "MIT" ]
3
2018-05-01T19:05:46.000Z
2021-08-10T20:03:28.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-30 17:41 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0014_auto_20170530_1726'), ('core', '0014_auto_20170526_1634'), ] operations ...
19.411765
46
0.657576
40
330
5.15
0.8
0.07767
0.116505
0
0
0
0
0
0
0
0
0.186047
0.218182
330
16
47
20.625
0.612403
0.2
0
0
1
0
0.206897
0.176245
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
4791621e815c9f528906bfd8952b464c1a2cb853
1,392
py
Python
moodletools/auth/generic.py
llimeht/moodletools
ea0eb94bf59a21109c19358e0064f284b0888ec1
[ "MIT" ]
null
null
null
moodletools/auth/generic.py
llimeht/moodletools
ea0eb94bf59a21109c19358e0064f284b0888ec1
[ "MIT" ]
null
null
null
moodletools/auth/generic.py
llimeht/moodletools
ea0eb94bf59a21109c19358e0064f284b0888ec1
[ "MIT" ]
null
null
null
""" Generic authentication methods for connecting to Moodle Most sites will need to write their own customised `authenticate` method which can then be used against with the login method to create a logged in session. """ import requests import moodletools.moodle class Generic: """ Generic authentication to a M...
26.264151
75
0.667385
165
1,392
5.569697
0.454545
0.069641
0.019587
0.056583
0
0
0
0
0
0
0
0
0.251437
1,392
52
76
26.769231
0.881958
0.40158
0
0
0
0
0.035354
0
0
0
0
0
0
1
0.217391
false
0.173913
0.086957
0.043478
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
47b19a3c36bc380f32f58e9d38bdc19f7b5a0446
709
py
Python
english/migrations/0012_auto_20220205_2211.py
xgxofdream/Notebook_by_Tag
226b304a37564ad68092864266f1c769dcba7473
[ "MIT" ]
null
null
null
english/migrations/0012_auto_20220205_2211.py
xgxofdream/Notebook_by_Tag
226b304a37564ad68092864266f1c769dcba7473
[ "MIT" ]
null
null
null
english/migrations/0012_auto_20220205_2211.py
xgxofdream/Notebook_by_Tag
226b304a37564ad68092864266f1c769dcba7473
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2022-02-05 12:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('english', '0011_auto_20220204_0123'), ] operations = [ migrations.AddField( model_name='tag', name='root', ...
24.448276
62
0.557123
74
709
5.216216
0.540541
0.139896
0.178756
0.209845
0.57513
0.57513
0.487047
0.487047
0.38342
0.38342
0
0.091476
0.32158
709
28
63
25.321429
0.711019
0.06347
0
0.545455
1
0
0.08006
0.034743
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
47e21a3effff543c75885da65d3de5111d42ef6a
542
py
Python
client/face_client/__init__.py
yichenj/facegate
6407143712f62e30c95ac3482a2356f489fb00fb
[ "MIT" ]
null
null
null
client/face_client/__init__.py
yichenj/facegate
6407143712f62e30c95ac3482a2356f489fb00fb
[ "MIT" ]
null
null
null
client/face_client/__init__.py
yichenj/facegate
6407143712f62e30c95ac3482a2356f489fb00fb
[ "MIT" ]
null
null
null
import sys import logging from face_client import face_client from face_client.api_proxy import FaceApiProxy from face_client.camera_controller import CameraController from face_client.image_displayer import ImageDisplayer def main(argv): client = face_client.FaceClient(CameraController(), ImageDisplayer(), Face...
25.809524
89
0.749077
68
542
5.823529
0.485294
0.176768
0.141414
0
0
0
0
0
0
0
0
0.002208
0.164207
542
20
90
27.1
0.871965
0.051661
0
0
0
0
0.042969
0
0
0
0
0
0
1
0.133333
false
0
0.4
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
47e6daba7a98082cc48fdf7fe9587770ff5dc291
133
py
Python
config/production.py
rpinaa/python-flask-microservice
3e479bd1653f8e846ae0b84ffb4f20481dfc7c5d
[ "MIT" ]
1
2019-09-23T20:00:52.000Z
2019-09-23T20:00:52.000Z
config/staging.py
rpinaa/python-flask-microservice
3e479bd1653f8e846ae0b84ffb4f20481dfc7c5d
[ "MIT" ]
null
null
null
config/staging.py
rpinaa/python-flask-microservice
3e479bd1653f8e846ae0b84ffb4f20481dfc7c5d
[ "MIT" ]
null
null
null
DEBUG = False PORT = 8080 PROPAGATE_EXCEPTIONS = True SQLALCHEMY_ECHO = False SQLALCHEMY_DATABASE_URI = "" SQLALCHEMY_POOL_SIZE = 15
19
28
0.804511
17
133
5.941176
0.823529
0
0
0
0
0
0
0
0
0
0
0.052174
0.135338
133
6
29
22.166667
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9a04a4298d1f8aff7b821d0a71a5a1d1bdac36f7
307
py
Python
weather/src/account/forms.py
chrysopoeia/fluffy-fuzz
7b1f094d4ec19a6c1b29665cde06aa25e2faf3f3
[ "MIT" ]
null
null
null
weather/src/account/forms.py
chrysopoeia/fluffy-fuzz
7b1f094d4ec19a6c1b29665cde06aa25e2faf3f3
[ "MIT" ]
null
null
null
weather/src/account/forms.py
chrysopoeia/fluffy-fuzz
7b1f094d4ec19a6c1b29665cde06aa25e2faf3f3
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm, AuthenticationForm from .models import User class RegistrationForm(UserCreationForm): class Meta: model = User fields = ('email',) class LoginForm(AuthenticationForm): username = forms.EmailField()
21.928571
74
0.742671
31
307
7.354839
0.612903
0.087719
0
0
0
0
0
0
0
0
0
0
0.18241
307
13
75
23.615385
0.908367
0
0
0
0
0
0.016287
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9a0f070e33472a2ab7e6a2fa529209b72d26a59d
4,732
py
Python
Reporters/__init__.py
CGJackson/pycrastination
990cfbce0666f07ff013770d2c09d6d4d64a7265
[ "MIT" ]
null
null
null
Reporters/__init__.py
CGJackson/pycrastination
990cfbce0666f07ff013770d2c09d6d4d64a7265
[ "MIT" ]
null
null
null
Reporters/__init__.py
CGJackson/pycrastination
990cfbce0666f07ff013770d2c09d6d4d64a7265
[ "MIT" ]
null
null
null
''' Reporters output information about the state and progress of the program to the user. They handle information about the formatting of this output, as well as any additional processing which is required to support it, such as comunicating with a web or email server, for example. They are derived from the Base_Repo...
42.25
76
0.644125
580
4,732
5.177586
0.3
0.04662
0.025308
0.020646
0.201798
0.181152
0.181152
0.181152
0.151848
0.151848
0
0.000308
0.313609
4,732
111
77
42.630631
0.924261
0.553254
0
0.0625
0
0
0.125553
0
0
0
0
0.018018
0
1
0.125
false
0.09375
0.03125
0
0.3125
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
1
0
0
0
0
0
2
9a24c062d4d53e89111674097da76c9b1c8df08e
1,171
py
Python
tests/test_user_model.py
Lifeistrange/flaskweb
6226e9f546d96d5f0a8f11104a37849e8f16ce80
[ "MIT" ]
null
null
null
tests/test_user_model.py
Lifeistrange/flaskweb
6226e9f546d96d5f0a8f11104a37849e8f16ce80
[ "MIT" ]
null
null
null
tests/test_user_model.py
Lifeistrange/flaskweb
6226e9f546d96d5f0a8f11104a37849e8f16ce80
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 import unittest from app.domain.model import User, AnonymousUser, Permission, Role class UserModelTestCase(unittest.TestCase): def test_password_setter(self): u = User(password = 'ybp') self.assertTrue(u.password_hash is not None) def test_no_password_gett...
32.527778
66
0.663535
143
1,171
5.265734
0.426573
0.055777
0.099602
0.090305
0.294821
0.164675
0.164675
0.164675
0
0
0
0.010953
0.220325
1,171
35
67
33.457143
0.813801
0.028181
0
0.153846
0
0
0.036092
0
0
0
0
0
0.307692
1
0.230769
false
0.576923
0.076923
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
9a24d0d1cbfc3752d5faeb7cfd292c7cbff225f3
5,424
py
Python
surf_bot.py
nate-browne/SurfReportBot
22f266fc68f1ca6f7eaa719eb1ecaf30fe5e5f5b
[ "MIT" ]
1
2018-10-30T22:36:14.000Z
2018-10-30T22:36:14.000Z
surf_bot.py
nate-browne/SurfReportBot
22f266fc68f1ca6f7eaa719eb1ecaf30fe5e5f5b
[ "MIT" ]
null
null
null
surf_bot.py
nate-browne/SurfReportBot
22f266fc68f1ca6f7eaa719eb1ecaf30fe5e5f5b
[ "MIT" ]
null
null
null
#!/usr/local/bin/python2 # Author: Nate Browne # Version: 1.5 # Date: 15 Jun 2018 # Last Edited: 17 Jun 2018 # File: surf_bot.py # This file contains the surf bot class which has the capability to make API # calls, read in the API key, and parse the relevant data from the extracted # JSON before outputting the results....
33.073171
79
0.627028
719
5,424
4.621697
0.285118
0.033704
0.025278
0.017153
0.228107
0.174541
0.158291
0.158291
0.129401
0.082456
0
0.014238
0.274889
5,424
163
80
33.276074
0.830664
0.197824
0
0.166667
0
0.012821
0.208537
0
0
0
0
0
0
0
null
null
0.051282
0.051282
null
null
0.294872
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
9a289163538dfa208617da163b7659f0c933b3a9
109
py
Python
emailverify/__init__.py
Kuro-Rui/flare-cogs
f739e3a4a8c65bf0e10945d242ba0b82f96c6d3d
[ "MIT" ]
1
2022-01-23T22:59:54.000Z
2022-01-23T22:59:54.000Z
emailverify/__init__.py
Kuro-Rui/flare-cogs
f739e3a4a8c65bf0e10945d242ba0b82f96c6d3d
[ "MIT" ]
null
null
null
emailverify/__init__.py
Kuro-Rui/flare-cogs
f739e3a4a8c65bf0e10945d242ba0b82f96c6d3d
[ "MIT" ]
null
null
null
from .emailverify import EmailVerify async def setup(bot): cog = EmailVerify(bot) bot.add_cog(cog)
15.571429
36
0.715596
15
109
5.133333
0.6
0
0
0
0
0
0
0
0
0
0
0
0.192661
109
6
37
18.166667
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9a2a7f45170d242f1cf3e946606ee05e08208194
312
py
Python
tests/py_expected/simple_class.py
refola/piklisp
da51ada162a5c6159a91d97994c2f33c7d087be4
[ "Unlicense" ]
1
2015-04-05T08:46:54.000Z
2015-04-05T08:46:54.000Z
tests/py_expected/simple_class.py
refola/pyylisp.py
da51ada162a5c6159a91d97994c2f33c7d087be4
[ "Unlicense" ]
null
null
null
tests/py_expected/simple_class.py
refola/pyylisp.py
da51ada162a5c6159a91d97994c2f33c7d087be4
[ "Unlicense" ]
null
null
null
# simple_class.py # THIS FILE IS AUTOMATICALLY GENERATED FROM comments.pil. # DO NOT EDIT! class square: def __init__(self, length): self._length = length def area(self): return self._length ** 2 mysquare = square(5) area = mysquare.area() print(area) mysquare = square(5) print(mysquare.area())
18.352941
57
0.705128
44
312
4.840909
0.568182
0.140845
0.140845
0
0
0
0
0
0
0
0
0.011673
0.176282
312
16
58
19.5
0.817121
0.269231
0
0.2
1
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
9a3b28e3bff9aa7e757e88be5dc334013bdbcb3e
853
py
Python
videos/tests.py
janga1997/video_village
58cba131c97dd3a033935e0675ba62daff7ca64a
[ "MIT" ]
1
2017-03-10T22:44:35.000Z
2017-03-10T22:44:35.000Z
videos/tests.py
janga1997/video_village
58cba131c97dd3a033935e0675ba62daff7ca64a
[ "MIT" ]
14
2016-07-08T13:52:46.000Z
2017-02-13T20:57:18.000Z
videos/tests.py
janga1997/video_village
58cba131c97dd3a033935e0675ba62daff7ca64a
[ "MIT" ]
8
2016-07-11T16:23:20.000Z
2018-10-13T06:07:58.000Z
from django.test import TestCase from model_mommy import mommy from .models import Video, VideoScore class VideoModelTest(TestCase): def setUp(self): self.video = mommy.make(Video) def test_create(self): self.assertTrue(isinstance(self.video, Video)) def test_str(self): self.as...
30.464286
112
0.704572
113
853
5.168142
0.265487
0.215753
0.167808
0.097603
0.226027
0.172945
0
0
0
0
0
0.007133
0.178195
853
27
113
31.592593
0.825963
0
0
0
0
0
0.00939
0
0
0
0
0
0.294118
1
0.235294
false
0
0.176471
0
0.470588
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
9a43b32e2a155a3e7042b112a1882714e3a4f216
8,372
py
Python
test/method_tests/test_dashboard_browser.py
Pocc/meraki-client-vpn
bdb33b047b0a71b69c199db399c59ac5bfecd64c
[ "Apache-2.0" ]
4
2018-04-15T07:31:27.000Z
2020-03-26T04:20:31.000Z
test/method_tests/test_dashboard_browser.py
Pocc/meraki-client-vpn
bdb33b047b0a71b69c199db399c59ac5bfecd64c
[ "Apache-2.0" ]
60
2018-04-15T08:25:49.000Z
2021-12-13T19:47:10.000Z
test/method_tests/test_dashboard_browser.py
Pocc/meraki-client-vpn
bdb33b047b0a71b69c199db399c59ac5bfecd64c
[ "Apache-2.0" ]
1
2018-04-05T07:16:04.000Z
2018-04-05T07:16:04.000Z
# -*- coding: utf-8 -*- # Copyright 2018 Ross Jacobs All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
34.738589
79
0.659818
1,134
8,372
4.702822
0.239859
0.055691
0.036002
0.049503
0.234577
0.195762
0.144009
0.086818
0.066192
0.041253
0
0.01091
0.255495
8,372
241
80
34.738589
0.844698
0.386049
0
0.313725
0
0
0.05687
0
0
0
0
0
0.039216
1
0.294118
false
0.245098
0.058824
0
0.382353
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
9a47a70a500bd4736a82f611715193c832b74913
9,046
py
Python
mixcoatl/admin/user.py
zomGreg/mixcoatl
dd8d7e206682955b251d7f858fffee56b11df8c6
[ "Apache-2.0" ]
null
null
null
mixcoatl/admin/user.py
zomGreg/mixcoatl
dd8d7e206682955b251d7f858fffee56b11df8c6
[ "Apache-2.0" ]
null
null
null
mixcoatl/admin/user.py
zomGreg/mixcoatl
dd8d7e206682955b251d7f858fffee56b11df8c6
[ "Apache-2.0" ]
null
null
null
""" mixcoatl.admin.user ------------------- Implements access to the DCM User API """ from mixcoatl.resource import Resource from mixcoatl.decorators.lazy import lazy_property from mixcoatl.decorators.validations import required_attrs from mixcoatl.utils import camelize, camel_keys, uncamel_keys import json import tim...
30.87372
103
0.625138
1,139
9,046
4.749781
0.194908
0.046211
0.063771
0.02329
0.214418
0.155453
0.117006
0.110166
0.087616
0.066543
0
0.007628
0.27537
9,046
292
104
30.979452
0.817696
0.305218
0
0.202454
0
0
0.045293
0
0
0
0
0
0
1
0.220859
false
0.067485
0.03681
0
0.466258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
9a5f74ba93c3c8da66354bf490f1e7ff50da1f99
367
py
Python
tests/test__get_cname.py
sasqwatch/yawast
41572108e4d46f76cb83eae6dd3727bc02bd46c7
[ "BSD-3-Clause" ]
null
null
null
tests/test__get_cname.py
sasqwatch/yawast
41572108e4d46f76cb83eae6dd3727bc02bd46c7
[ "BSD-3-Clause" ]
null
null
null
tests/test__get_cname.py
sasqwatch/yawast
41572108e4d46f76cb83eae6dd3727bc02bd46c7
[ "BSD-3-Clause" ]
null
null
null
from unittest import TestCase from yawast.scanner.plugins.dns.caa import _get_cname from dns import resolver class TestGetCname(TestCase): def test__get_cname(self): resv = resolver.Resolver() resv.nameservers = ["1.1.1.1", "8.8.8.8"] name = _get_cname("cntest.adamcaudill.com", resv) ...
26.214286
57
0.686649
51
367
4.803922
0.54902
0.097959
0.02449
0
0
0
0
0
0
0
0
0.026846
0.188011
367
13
58
28.230769
0.795302
0
0
0
0
0
0.138965
0.059946
0
0
0
0
0.111111
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9a67899c7657ee9d39b7c6b95af49f7cc90d2d3e
289
py
Python
seaborn/color.py
jiaorenyu/learning
ea77976d7815d59035e30f3de66ef82339edc271
[ "MIT" ]
null
null
null
seaborn/color.py
jiaorenyu/learning
ea77976d7815d59035e30f3de66ef82339edc271
[ "MIT" ]
null
null
null
seaborn/color.py
jiaorenyu/learning
ea77976d7815d59035e30f3de66ef82339edc271
[ "MIT" ]
1
2020-08-16T16:22:17.000Z
2020-08-16T16:22:17.000Z
import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt import seaborn as sns current_palette = sns.color_palette() #默认颜色 #sns.palplot(current_palette) # 环形颜色 #sns.palplot(sns.color_palette("hls", 16)) #调整深度和饱和度 sns.palplot(sns.hls_palette(8, l=.3, s=.6)) plt.show()
20.642857
43
0.761246
48
289
4.479167
0.520833
0.139535
0.139535
0
0
0
0
0
0
0
0
0.019455
0.110727
289
13
44
22.230769
0.817121
0.301038
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
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
1
0
1
0
0
2
7bd06e51309fc19c9abc3ebb257f9eb5984bfe4d
1,027
py
Python
Chapter07/python/com/sparksamples/linearregression/LinearRegressionCrossValidationIterations.py
quguiliang/Machine-Learning-with-Spark-Second-Edition
0ba131e6c15a3de97609c6cb5d976806ccc14f09
[ "MIT" ]
112
2017-05-13T15:44:29.000Z
2022-02-19T20:14:14.000Z
Chapter07/python/com/sparksamples/linearregression/LinearRegressionCrossValidationIterations.py
tophua/Machine-Learning-with-Spark-Second-Edition
0d93e992f6c79d55ad5cdcab735dbe6674143974
[ "MIT" ]
1
2017-05-25T00:10:43.000Z
2017-05-25T00:10:43.000Z
Chapter07/python/com/sparksamples/linearregression/LinearRegressionCrossValidationIterations.py
tophua/Machine-Learning-with-Spark-Second-Edition
0d93e992f6c79d55ad5cdcab735dbe6674143974
[ "MIT" ]
115
2017-05-06T10:49:00.000Z
2022-03-08T07:48:54.000Z
import os import sys import pylab as P import matplotlib import matplotlib.pyplot as plt from com.sparksamples.util import evaluate from com.sparksamples.linearregression.LinearRegressionUtil import get_train_test_data try: from pyspark import SparkContext from pyspark import SparkConf except ImportError as...
21.851064
98
0.710808
141
1,027
5.021277
0.510638
0.045198
0.080508
0.064972
0.081921
0
0
0
0
0
0
0.02506
0.184031
1,027
46
99
22.326087
0.819809
0
0
0
0
0
0.106238
0.022417
0
0
0
0
0
0
null
null
0
0.363636
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
7bff2e8c632fa06d0ae840dabf0da00c03e2e50a
776
py
Python
users/views.py
rkprajapat/construction-crm
ae70238862f3048e4b1b849f9c16bf1bdf867a28
[ "MIT" ]
null
null
null
users/views.py
rkprajapat/construction-crm
ae70238862f3048e4b1b849f9c16bf1bdf867a28
[ "MIT" ]
11
2020-02-12T00:51:32.000Z
2022-03-11T23:57:22.000Z
users/views.py
rkprajapat/construction-crm
ae70238862f3048e4b1b849f9c16bf1bdf867a28
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.template import RequestContext from django.shortcuts import render_to_response, redirect from django.http import HttpResponse, HttpResponseRedirect from django.contrib.auth import authenticate, login, logout from django.contrib.auth.backends import ModelBackend def lo...
33.73913
76
0.715206
88
776
6.238636
0.397727
0.10929
0.069217
0.091075
0.112933
0
0
0
0
0
0
0
0.203608
776
23
76
33.73913
0.88835
0
0
0
0
0
0.037323
0
0
0
0
0
0
1
0.055556
false
0.166667
0.333333
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
1
1
0
0
0
0
2
d001bd883cff79b5c014058e5d1c72fccc2fe377
1,046
py
Python
lab/refactoring/extract_class3.py
ikejs/SPD-2.31-Testing-and-Architecture
0f1cc3dc726d748cbd3ae75b336c42697a4b9d82
[ "MIT" ]
null
null
null
lab/refactoring/extract_class3.py
ikejs/SPD-2.31-Testing-and-Architecture
0f1cc3dc726d748cbd3ae75b336c42697a4b9d82
[ "MIT" ]
null
null
null
lab/refactoring/extract_class3.py
ikejs/SPD-2.31-Testing-and-Architecture
0f1cc3dc726d748cbd3ae75b336c42697a4b9d82
[ "MIT" ]
null
null
null
# by Kami Bigdely # Extract class WELL_DONE = 3000 MEDIUM = 2500 COOKED_CONSTANT = 0.05 def is_cookeding_criteria_satisfied(food): return is_well_done( food.time, food.temperature, food.pressure, food.desired_state ) or is_medium( food...
20.509804
78
0.601338
119
1,046
5.058824
0.344538
0.066445
0.099668
0.19103
0.443522
0.443522
0.443522
0.378738
0.378738
0.209302
0
0.02521
0.3174
1,046
51
79
20.509804
0.817927
0.027725
0
0.358974
0
0
0.040394
0
0
0
0
0
0
0
null
null
0
0
null
null
0.051282
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
d003419f9df9811d4f94589138f31e123507c340
214
py
Python
QQbot/Model/WsModel/ready.py
hegugu-ng/qq_guild_bot
dac9b3313f52ed579564a9140dd46212f2249e8b
[ "MIT" ]
15
2021-11-28T03:26:24.000Z
2022-03-31T17:21:05.000Z
QQbot/Model/WsModel/ready.py
hegugu-ng/qq_guild_bot
dac9b3313f52ed579564a9140dd46212f2249e8b
[ "MIT" ]
2
2021-11-28T15:02:57.000Z
2021-12-01T09:30:58.000Z
QQbot/Model/WsModel/ready.py
hegugu-ng/qq_guild_bot
dac9b3313f52ed579564a9140dd46212f2249e8b
[ "MIT" ]
2
2021-11-27T15:21:11.000Z
2021-12-28T03:21:35.000Z
from typing import List from pydantic import BaseModel class User(BaseModel): id:str username:str bot:bool class Ready(BaseModel): version:str session_id:str user: User shard:list[int]
16.461538
30
0.700935
30
214
4.966667
0.6
0.067114
0
0
0
0
0
0
0
0
0
0
0.228972
214
13
31
16.461538
0.90303
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.181818
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
d0215dfca29b011f0a90f0850f8e65403f3c9187
1,760
py
Python
src/test_DiGraph.py
EitanWex/OOP_Ex3
22f73d0d9518c09b06ad0494701f2a899ce912f3
[ "MIT" ]
null
null
null
src/test_DiGraph.py
EitanWex/OOP_Ex3
22f73d0d9518c09b06ad0494701f2a899ce912f3
[ "MIT" ]
null
null
null
src/test_DiGraph.py
EitanWex/OOP_Ex3
22f73d0d9518c09b06ad0494701f2a899ce912f3
[ "MIT" ]
null
null
null
from unittest import TestCase from src.DiGraph import DiGraph from src.GraphAlgo import GraphAlgo class TestDiGraph(TestCase): def test_v_size(self): g = DiGraph() ga = GraphAlgo() ga.graph=g ga.load_from_json('../data/A0.json') self.assertEqual (g.v_size(),11) def t...
23.466667
44
0.553409
249
1,760
3.730924
0.172691
0.193757
0.206674
0.10549
0.728741
0.655544
0.602799
0.602799
0.602799
0.602799
0
0.035656
0.298864
1,760
74
45
23.783784
0.71718
0
0
0.589286
0
0
0.059693
0
0
0
0
0
0.214286
1
0.125
false
0
0.053571
0
0.196429
0
0
0
0
null
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d02884cbc1021b2ca8cf48d3b0afadba9c6d3208
4,973
py
Python
src/modules/fp_detector/extractor.py
tzklab/carignan
95eb9ad50b127f6f4e32acce344dbfc42bb68a49
[ "Apache-2.0" ]
3
2021-10-02T08:09:16.000Z
2022-03-12T08:11:39.000Z
src/modules/fp_detector/extractor.py
tzklab/carignan
95eb9ad50b127f6f4e32acce344dbfc42bb68a49
[ "Apache-2.0" ]
null
null
null
src/modules/fp_detector/extractor.py
tzklab/carignan
95eb9ad50b127f6f4e32acce344dbfc42bb68a49
[ "Apache-2.0" ]
1
2021-04-04T14:17:23.000Z
2021-04-04T14:17:23.000Z
import torch import torch.nn as nn import torchvision # There is no pretrained model in torch.hub for mnasnet0_75, mnasnet1_3, shufflenetv2_x1.5, and shufflenetv2_x2.0 SUPPORTED_MODELS = { 'group1': [ 'alexnet', 'vgg11', 'vgg11_bn', 'vgg13', 'vgg13_bn', 'vgg16', 'vgg16_bn', 'vgg19', 'vgg19_bn', ...
34.534722
116
0.601649
663
4,973
4.291101
0.232278
0.215114
0.105448
0.193322
0.387346
0.293146
0.257294
0.245343
0.245343
0.157469
0
0.049696
0.271667
4,973
143
117
34.776224
0.735781
0.022321
0
0.178295
0
0
0.114609
0.007202
0
0
0
0
0
1
0.062016
false
0
0.023256
0
0.178295
0.015504
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d03d8d5d3d8a183fc00afa05703ac7fa6926a8e3
1,448
py
Python
generation/__main__.py
K1ndWha1e/PhysicalCulture_MIREA
0b71b091b92d6c8f65721c120ebb286acc5c283a
[ "MIT" ]
1
2019-05-04T18:26:36.000Z
2019-05-04T18:26:36.000Z
generation/__main__.py
K1ndWha1e/PhysicalCulture_MIREA
0b71b091b92d6c8f65721c120ebb286acc5c283a
[ "MIT" ]
1
2019-05-04T17:58:59.000Z
2019-05-04T17:58:59.000Z
generation/__main__.py
K1ndWha1e/PhysicalCulture_MIREA
0b71b091b92d6c8f65721c120ebb286acc5c283a
[ "MIT" ]
null
null
null
from openpyxl import load_workbook from generation.data_filling import * def Header(ws): surname = input('Введи свою фамилию\n') name = input('Введи своё имя\n') last_name = input('Введи своё отчество\n') study_group = input('В какой группе учишься?\n') date_birthday = input('Укажи дату своего рож...
32.177778
98
0.717541
209
1,448
4.655502
0.4689
0.101747
0.192189
0.195272
0.31038
0.124358
0.090442
0.090442
0
0
0
0.016488
0.162293
1,448
44
99
32.909091
0.785655
0
0
0
0
0
0.220304
0.014503
0
0
0
0
0
1
0.068966
false
0
0.068966
0
0.137931
0.034483
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d041d6077c2b542e4f9a12e8784f6fa712653707
1,134
py
Python
robot_motion_param/nodes/set_motion_param.py
buzzer/tams_pr2
73eada99f88c300858f05d57b868e6a8109a800c
[ "BSD-2-Clause" ]
null
null
null
robot_motion_param/nodes/set_motion_param.py
buzzer/tams_pr2
73eada99f88c300858f05d57b868e6a8109a800c
[ "BSD-2-Clause" ]
null
null
null
robot_motion_param/nodes/set_motion_param.py
buzzer/tams_pr2
73eada99f88c300858f05d57b868e6a8109a800c
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # # 2014-08-04 Sebastian Rockel (rockel@informatik.uni-hamburg.de) # Provides a service interface to changing the robot motion parameters # uses the dynamic_reconfigure client # import roslib; roslib.load_manifest('robot_motion_param') from robot_motion_param.srv import * import rospy import dynam...
30.648649
104
0.722222
165
1,134
4.727273
0.533333
0.05641
0.092308
0.076923
0
0
0
0
0
0
0
0.019979
0.161376
1,134
36
105
31.5
0.80021
0.23545
0
0
0
0.038462
0.285215
0.03376
0
0
0
0.027778
0
0
null
null
0
0.153846
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
d04e29028d0975f8cfaa2a265c17cce4623642a4
644
py
Python
oops_fhir/r4/value_set/consent_data_meaning.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/value_set/consent_data_meaning.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/value_set/consent_data_meaning.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
from pathlib import Path from fhir.resources.valueset import ValueSet as _ValueSet from oops_fhir.utils import ValueSet from oops_fhir.r4.code_system.consent_data_meaning import ( ConsentDataMeaning as ConsentDataMeaning_, ) __all__ = ["ConsentDataMeaning"] _resource = _ValueSet.parse_file(Path(__file__).wit...
20.125
69
0.753106
74
644
6.27027
0.581081
0.060345
0.068966
0.086207
0
0
0
0
0
0
0
0.009311
0.166149
644
31
70
20.774194
0.854749
0.293478
0
0
0
0
0.052392
0
0
0
0
0
0
1
0
false
0
0.363636
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
1
0
1
0
0
2
d05908d43bb4f9f27d6f575fd1b320db89d97764
420
py
Python
server.py
saneletm/sample_chat_app
d4bd335d9562a09d0c74a2fdefdd6cad0fe5f2be
[ "MIT" ]
null
null
null
server.py
saneletm/sample_chat_app
d4bd335d9562a09d0c74a2fdefdd6cad0fe5f2be
[ "MIT" ]
null
null
null
server.py
saneletm/sample_chat_app
d4bd335d9562a09d0c74a2fdefdd6cad0fe5f2be
[ "MIT" ]
null
null
null
""" Runs the server thread """ from __future__ import absolute_import import sys from lib.server.server import Server def server(address, port): serve = Server(address, port) serve.run() if __name__ == '__main__': if len(sys.argv) != 3: print("Correct usage: Script, IP address, Port number") ...
18.26087
83
0.654762
60
420
4.366667
0.6
0.125954
0.129771
0.167939
0
0
0
0
0
0
0
0.012158
0.216667
420
22
84
19.090909
0.784195
0.147619
0
0
0
0
0.154286
0
0
0
0
0.045455
0
1
0.090909
false
0
0.272727
0
0.363636
0.090909
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
d066dde26172744c6820d20379a6c091dd44ee32
15,372
py
Python
finsky/protos/music_doc_details_pb2.py
mmcloughlin/finsky
f21ccdbebf86e55a542c658b6972cb1f3fb5f119
[ "MIT" ]
59
2015-07-11T18:53:59.000Z
2021-09-08T03:16:17.000Z
finsky/protos/music_doc_details_pb2.py
mmcloughlin/finsky
f21ccdbebf86e55a542c658b6972cb1f3fb5f119
[ "MIT" ]
10
2015-07-01T08:09:29.000Z
2021-12-06T01:23:00.000Z
finsky/protos/music_doc_details_pb2.py
mmcloughlin/finsky
f21ccdbebf86e55a542c658b6972cb1f3fb5f119
[ "MIT" ]
14
2015-08-15T22:04:02.000Z
2021-03-03T09:14:39.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: music_doc_details.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection...
41.545946
1,532
0.746097
1,891
15,372
5.79799
0.107351
0.056184
0.060835
0.04378
0.626414
0.586647
0.559923
0.550894
0.550894
0.550894
0
0.039958
0.127374
15,372
369
1,533
41.658537
0.777397
0.032722
0
0.667665
1
0.002994
0.228683
0.1844
0
0
0
0
0
1
0
false
0
0.020958
0
0.020958
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d0795106848d7f5966ea90ace30bfd8c275f4892
1,452
py
Python
spimdisasm/mips/instructions/MipsInstructions.py
Decompollaborate/py-mips-disasm
1301340130f8cca539d12c486deff3a1037a8787
[ "MIT" ]
6
2021-11-17T21:21:25.000Z
2022-01-28T13:37:44.000Z
spimdisasm/mips/instructions/MipsInstructions.py
Decompollaborate/py-mips-disasm
1301340130f8cca539d12c486deff3a1037a8787
[ "MIT" ]
null
null
null
spimdisasm/mips/instructions/MipsInstructions.py
Decompollaborate/py-mips-disasm
1301340130f8cca539d12c486deff3a1037a8787
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # SPDX-FileCopyrightText: © 2022 Decompollaborate # SPDX-License-Identifier: MIT from __future__ import annotations from . import InstructionBase, InstructionNormal, InstructionSpecial, InstructionRegimm, InstructionCoprocessor0, InstructionCoprocessor1, InstructionCoprocessor2, InstructionNor...
39.243243
285
0.690083
128
1,452
7.804688
0.34375
0.06006
0.08008
0.12012
0.292292
0.288288
0.244244
0.088088
0.088088
0
0
0.073693
0.196281
1,452
36
286
40.333333
0.781491
0.125344
0
0.333333
0
0
0
0
0
0
0.056962
0.027778
0
1
0.083333
false
0
0.083333
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
d087ed8ee15bad5d7c1821a1e331d8b2531b39be
1,599
py
Python
alpaca.py
frankie-js/alpaca-message
b3a93d2ac688aae8546e5dd597d90f3aa1c02876
[ "MIT" ]
null
null
null
alpaca.py
frankie-js/alpaca-message
b3a93d2ac688aae8546e5dd597d90f3aa1c02876
[ "MIT" ]
null
null
null
alpaca.py
frankie-js/alpaca-message
b3a93d2ac688aae8546e5dd597d90f3aa1c02876
[ "MIT" ]
null
null
null
import click def split_list(a_list): half = len(a_list)//2 return a_list[:half], a_list[half:] def generate_string(inputString): inputLength = len(inputString) if inputLength > 25: splitStr = inputString.split(" ") lineOne, lineTwo = split_list(splitStr) outp...
21.608108
55
0.268293
100
1,599
4.33
0.38
0.027714
0.027714
0.04157
0.090069
0.069284
0.069284
0.069284
0.069284
0
0
0.00411
0.543465
1,599
73
56
21.90411
0.558904
0
0
0.159091
1
0
0.366843
0
0
0
0
0
0
1
0.090909
false
0
0.022727
0
0.159091
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d08cda476ff99b07c85a9b119f97e364b0afc40b
3,543
py
Python
jangl_webleads_inbound/verticals/life_insurance.py
jangl-platform/jangl-webleads-inbound
7ba7734c0614c946f52af23829b7c61ba4fa9460
[ "MIT" ]
1
2021-01-14T21:55:27.000Z
2021-01-14T21:55:27.000Z
jangl_webleads_inbound/verticals/life_insurance.py
jangl-platform/jangl-webleads-inbound
7ba7734c0614c946f52af23829b7c61ba4fa9460
[ "MIT" ]
1
2021-06-10T21:22:36.000Z
2021-06-10T21:22:36.000Z
jangl_webleads_inbound/verticals/life_insurance.py
jangl-platform/jangl-webleads-inbound
7ba7734c0614c946f52af23829b7c61ba4fa9460
[ "MIT" ]
null
null
null
from rest_framework import serializers allow_blank = {'default': '', 'initial': '', 'allow_blank': True} allow_null = {'default': None, 'initial': None, 'allow_null': True} empty_list = {'default': [], 'initial': [], 'many': True} class PersonSerializer(serializers.Serializer): birth_date = serializers.DateField...
49.208333
83
0.778154
366
3,543
7.295082
0.275956
0.067416
0.137828
0.173783
0.492135
0.378277
0.378277
0.209363
0.190262
0.150562
0
0.01024
0.117979
3,543
71
84
49.901408
0.84416
0
0
0.175439
0
0
0.021451
0
0
0
0
0
0
1
0.017544
false
0
0.017544
0
0.912281
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
d09feaea71e8e959d5c61d23c881047a53470a36
3,201
py
Python
aerospace_simulator/blocks.py
mdziemianko/aerospace-simulator
b983760194ad01847281d414e51de1997c6d8a29
[ "Apache-2.0" ]
null
null
null
aerospace_simulator/blocks.py
mdziemianko/aerospace-simulator
b983760194ad01847281d414e51de1997c6d8a29
[ "Apache-2.0" ]
null
null
null
aerospace_simulator/blocks.py
mdziemianko/aerospace-simulator
b983760194ad01847281d414e51de1997c6d8a29
[ "Apache-2.0" ]
null
null
null
from typing import Union, Optional, Callable class Block: def __init__(self, name, simulation): self.name = name simulation.add(self) def finalise(self): pass def tick(self, dt): pass def value(self) -> Union[float, dict]: pass class ConstantBlock(Block): ...
25.204724
123
0.597938
413
3,201
4.307506
0.162228
0.141653
0.055649
0.075885
0.521079
0.431703
0.213041
0.16751
0.069702
0.048342
0
0.006941
0.279913
3,201
126
124
25.404762
0.764859
0
0
0.4
0
0
0.021875
0
0
0
0
0
0
1
0.277778
false
0.033333
0.011111
0.066667
0.511111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d0a7f61b1fa942d7f24a9768edea0797168dfae4
2,387
py
Python
Tickets/FlyOut.py
fefelson/MLBProjections
444a1c071cb7b1e21eedc49cf63ae91e80d37978
[ "MIT" ]
null
null
null
Tickets/FlyOut.py
fefelson/MLBProjections
444a1c071cb7b1e21eedc49cf63ae91e80d37978
[ "MIT" ]
null
null
null
Tickets/FlyOut.py
fefelson/MLBProjections
444a1c071cb7b1e21eedc49cf63ae91e80d37978
[ "MIT" ]
null
null
null
from .Ticket import Ticket, StateTicket ################################################################################ ################################################################################ ################################################################################ ###############################...
28.759036
80
0.422706
127
2,387
7.92126
0.354331
0.05169
0.083499
0.111332
0.455268
0.455268
0.455268
0.455268
0.455268
0.455268
0
0.001033
0.188521
2,387
82
81
29.109756
0.518327
0
0
0.410256
0
0
0.042848
0.018904
0
0
0
0
0
1
0.230769
false
0.102564
0.025641
0
0.358974
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
d0b96def4151c996e7b0e694b919d51d7c99be73
855
bzl
Python
junit/junit.bzl
gfl-chris/rules_scala
7b2ea5d5b98960c6e9c1ebb073938cc17e6ea191
[ "Apache-2.0" ]
null
null
null
junit/junit.bzl
gfl-chris/rules_scala
7b2ea5d5b98960c6e9c1ebb073938cc17e6ea191
[ "Apache-2.0" ]
null
null
null
junit/junit.bzl
gfl-chris/rules_scala
7b2ea5d5b98960c6e9c1ebb073938cc17e6ea191
[ "Apache-2.0" ]
1
2020-01-27T16:59:40.000Z
2020-01-27T16:59:40.000Z
load( "//scala:scala_cross_version.bzl", _default_maven_server_urls = "default_maven_server_urls", ) load("//third_party/repositories:repositories.bzl", "repositories") def junit_repositories( maven_servers = _default_maven_server_urls(), fetch_sources = True): repositories( for_art...
31.666667
73
0.687719
98
855
5.44898
0.336735
0.078652
0.134831
0.191011
0.426966
0.404494
0.303371
0.303371
0
0
0
0
0.215205
855
26
74
32.884615
0.795827
0
0
0.083333
0
0
0.442105
0.42807
0
0
0
0
0
1
0.041667
false
0
0
0
0.041667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d0bff27a69c7875a6356f9b72a833c69ed05611a
403
py
Python
3-Patron/python/CreadorMapaJungla.py
TanZng/patrones-combinados
93796d9d5296649bd76b7b2ee7c723156b9a120f
[ "MIT" ]
1
2021-09-13T15:45:48.000Z
2021-09-13T15:45:48.000Z
3-Patron/python/CreadorMapaJungla.py
TanZng/patrones-combinados
93796d9d5296649bd76b7b2ee7c723156b9a120f
[ "MIT" ]
null
null
null
3-Patron/python/CreadorMapaJungla.py
TanZng/patrones-combinados
93796d9d5296649bd76b7b2ee7c723156b9a120f
[ "MIT" ]
1
2021-09-24T03:00:47.000Z
2021-09-24T03:00:47.000Z
import CreadorDeMapa import Mazmorra import Tesoro import Textura import Mapa class CreadorMapaJungla(CreadorDeMapa): @property def mapa(self): return self.__mapa def crearMapa(self): mazmorra = Mazmorra() tesoro = Tesoro(100, 10000) textura = Textura("nieve.png", 100, 200...
21.210526
53
0.667494
44
403
5.977273
0.409091
0.091255
0.106464
0
0
0
0
0
0
0
0
0.046358
0.25062
403
18
54
22.388889
0.824503
0
0
0.133333
0
0
0.022333
0
0
0
0
0
0
1
0.133333
false
0
0.333333
0.066667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d0d92546d1c1a49c6fd08ba0db6c33c12071981a
1,602
py
Python
Project 2/ActiveDirectory/ActiveDirectory.py
Blac-Panda/Udacity-DSA-Nanodegree
4629c77274182687f63c73016a941ab21f54f9cb
[ "MIT" ]
1
2020-05-14T12:44:53.000Z
2020-05-14T12:44:53.000Z
Project 2/ActiveDirectory/ActiveDirectory.py
Blac-Panda/Udacity-DSA-Nanodegree
4629c77274182687f63c73016a941ab21f54f9cb
[ "MIT" ]
null
null
null
Project 2/ActiveDirectory/ActiveDirectory.py
Blac-Panda/Udacity-DSA-Nanodegree
4629c77274182687f63c73016a941ab21f54f9cb
[ "MIT" ]
null
null
null
class Group(object): def __init__(self, _name): self.name = _name self.groups = [] self.users = [] def add_group(self, group): self.groups.append(group) def add_user(self, user): self.users.append(user) def get_groups(self): return self.groups ...
27.152542
138
0.641074
224
1,602
4.348214
0.25
0.071869
0.101643
0.066735
0.200205
0.132444
0.132444
0.132444
0.132444
0.132444
0
0
0.232834
1,602
58
139
27.62069
0.792514
0.076779
0
0
0
0.027027
0.162342
0.044477
0
0
0
0
0
1
0.243243
false
0
0
0.108108
0.459459
0.135135
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
d0daf83e2948e6f999964956cf0b2defc7babacb
19,245
py
Python
tests/test_arrays.py
AppliedAcousticsChalmers/levitate
c6ad1038327abfc82a5402b42019b69e52f7f5c4
[ "MIT" ]
11
2019-07-13T13:09:16.000Z
2021-11-13T09:23:34.000Z
tests/test_arrays.py
AppliedAcousticsChalmers/levitate
c6ad1038327abfc82a5402b42019b69e52f7f5c4
[ "MIT" ]
4
2019-03-08T09:15:08.000Z
2019-03-08T09:15:51.000Z
tests/test_arrays.py
AppliedAcousticsChalmers/levitate
c6ad1038327abfc82a5402b42019b69e52f7f5c4
[ "MIT" ]
5
2020-09-14T16:23:35.000Z
2021-11-14T16:19:32.000Z
import levitate.arrays import levitate.hardware import numpy as np import pytest # Tests created with these air properties from levitate.materials import air air.c = 343 air.rho = 1.2 # Tests were mostly written before the layout was transposed, # so a lot of the "expected" positions etc are transposed in the test ha...
67.764085
416
0.671863
2,768
19,245
4.633309
0.217847
0.009981
0.039766
0.059181
0.413255
0.37232
0.351579
0.326784
0.316101
0.25653
0
0.456741
0.14357
19,245
283
417
68.003534
0.321381
0.021772
0
0.304
0
0
0.006802
0
0
0
0
0
0.14
1
0.04
false
0
0.028
0
0.068
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
d0f35ac80518f5526e231cf3ea15eb9253a44f11
1,167
py
Python
emission/net/ext_service/push/notify_queries.py
Andrew-Tan/e-mission-server
91d59bee86e63d803e401f10f4b6a2502effedda
[ "BSD-3-Clause" ]
null
null
null
emission/net/ext_service/push/notify_queries.py
Andrew-Tan/e-mission-server
91d59bee86e63d803e401f10f4b6a2502effedda
[ "BSD-3-Clause" ]
1
2017-08-31T19:54:16.000Z
2017-08-31T19:54:16.000Z
emission/net/ext_service/push/notify_queries.py
Andrew-Tan/e-mission-server
91d59bee86e63d803e401f10f4b6a2502effedda
[ "BSD-3-Clause" ]
null
null
null
# Standard imports import json import logging import uuid # Our imports import emission.core.get_database as edb def get_platform_query(platform): return {"curr_platform": platform} def get_sync_interval_query(interval): return {"curr_sync_interval": interval} def get_user_query(user_id_list): return {"...
31.540541
87
0.72665
177
1,167
4.514124
0.299435
0.037547
0.025031
0.055069
0.460576
0.460576
0.460576
0.460576
0.390488
0.390488
0
0
0.167095
1,167
36
88
32.416667
0.822016
0.023993
0
0.222222
0
0
0.131162
0
0
0
0
0
0
1
0.222222
false
0
0.148148
0.111111
0.592593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
d0f8cffa55ede5b2fdb96e44cc530781a1530c5b
63
py
Python
preprocess/__init__.py
federicozaiter/LogClass
62c1c9c61294625bdb3d99dc01b6adc7b735c4ab
[ "MIT" ]
159
2020-02-19T00:19:23.000Z
2022-03-30T08:40:08.000Z
preprocess/__init__.py
WeibinMeng/LogClass-1
8edbaf4377374e2aac5e7057987e1d047b83ff2f
[ "MIT" ]
3
2021-06-09T04:30:35.000Z
2022-01-09T23:26:07.000Z
preprocess/__init__.py
WeibinMeng/LogClass-1
8edbaf4377374e2aac5e7057987e1d047b83ff2f
[ "MIT" ]
41
2020-02-19T00:19:26.000Z
2022-03-28T08:02:22.000Z
__all__ = [ "bgl_preprocessor", "open_source_logs", ]
10.5
23
0.619048
6
63
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.238095
63
5
24
12.6
0.666667
0
0
0
0
0
0.516129
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d0fca13a980a4f6f9cad87ee0b56d38d7fe33305
1,401
py
Python
xen/xen-4.2.2/tools/python/xen/sv/HTMLBase.py
zhiming-shen/Xen-Blanket-NG
47e59d9bb92e8fdc60942df526790ddb983a5496
[ "Apache-2.0" ]
1
2018-02-02T00:15:26.000Z
2018-02-02T00:15:26.000Z
xen/xen-4.2.2/tools/python/xen/sv/HTMLBase.py
zhiming-shen/Xen-Blanket-NG
47e59d9bb92e8fdc60942df526790ddb983a5496
[ "Apache-2.0" ]
null
null
null
xen/xen-4.2.2/tools/python/xen/sv/HTMLBase.py
zhiming-shen/Xen-Blanket-NG
47e59d9bb92e8fdc60942df526790ddb983a5496
[ "Apache-2.0" ]
1
2019-05-27T09:47:18.000Z
2019-05-27T09:47:18.000Z
from xen.sv.util import * class HTMLBase: isLeaf = True def __init__( self ): pass def render_POST( self, request ): self.perform( request ) return self.render_GET( request ) def render_GET( self, request ): pass def write_BODY( self, request ): ...
25.944444
71
0.564597
184
1,401
4.152174
0.38587
0.073298
0.078534
0.094241
0.150524
0
0
0
0
0
0
0.005587
0.361171
1,401
53
72
26.433962
0.848045
0.334047
0
0.192308
0
0
0.006002
0
0
0
0
0
0
1
0.307692
false
0.192308
0.038462
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2