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
38dce8febadffc6a8a290ffb214c1ae017cc58f2
4,673
py
Python
RDS/circle1_adapters_and_ports/port_openscienceframework/tests/server/example.py
Sciebo-RDS/Sciebo-RDS
d71cf449ed045a2a7a049e2cb77c99fd5a9195bd
[ "MIT" ]
10
2020-06-24T08:22:24.000Z
2022-01-13T16:17:36.000Z
RDS/circle1_adapters_and_ports/port_openscienceframework/tests/server/example.py
Sciebo-RDS/Sciebo-RDS
d71cf449ed045a2a7a049e2cb77c99fd5a9195bd
[ "MIT" ]
78
2020-01-23T14:32:06.000Z
2022-03-07T14:11:16.000Z
RDS/circle1_adapters_and_ports/port_openscienceframework/tests/server/example.py
Sciebo-RDS/Sciebo-RDS
d71cf449ed045a2a7a049e2cb77c99fd5a9195bd
[ "MIT" ]
1
2020-06-24T08:33:48.000Z
2020-06-24T08:33:48.000Z
import json # Use this to initialize a `Project` instance node_json = """ { "data": { "relationships": { "files": { "links": { "related": { "href": "https://api.osf.io/v2/nodes/f3szh/files/", "meta": {} } } }, "view_only_links": { ...
23.482412
91
0.395035
376
4,673
4.837766
0.24734
0.060473
0.126993
0.150082
0.48873
0.48873
0.48873
0.474986
0.457944
0.457944
0
0.03814
0.410871
4,673
198
92
23.60101
0.622594
0.009202
0
0.304124
0
0.015464
0.971262
0.034572
0
0
0
0
0
1
0.005155
false
0
0.005155
0
0.015464
0.025773
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
38e09af0e2ddbc7bd474dfb7508618ab267d47e2
925
py
Python
mayday_control/scripts/main.py
LasseBoerresen/Lumos
2447adc7795ae07cb0a1df409d3b1a6178c2cd8b
[ "MIT" ]
null
null
null
mayday_control/scripts/main.py
LasseBoerresen/Lumos
2447adc7795ae07cb0a1df409d3b1a6178c2cd8b
[ "MIT" ]
null
null
null
mayday_control/scripts/main.py
LasseBoerresen/Lumos
2447adc7795ae07cb0a1df409d3b1a6178c2cd8b
[ "MIT" ]
null
null
null
from dynamixel_sdk import PortHandler, PacketHandler from dynamixel.dynamixel_adapter import DynamixelAdapter from dynamixel.dynamixel_port_adapter import DynamixelPortAdapter from mayday_robot import MaydayRobot from leg import Leg from leg_factory import LegFactory from mayday_robot_factory import MaydayRobotFactory...
28.030303
92
0.806486
112
925
6.258929
0.383929
0.062767
0.059914
0.057061
0.105563
0.105563
0.105563
0.105563
0.105563
0
0
0.003717
0.127568
925
32
93
28.90625
0.864932
0
0
0
0
0
0.021622
0
0
0
0
0
0
1
0.095238
false
0
0.333333
0
0.47619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
38e0c3b32769f564eefa05da7d8abfd06fa59689
1,650
py
Python
clutch/client.py
ExeArco/clutch
223244b1294b496ba16c8a2433eb453cce593a62
[ "MIT" ]
34
2018-04-14T12:53:07.000Z
2021-08-21T12:52:23.000Z
clutch/client.py
ExeArco/clutch
223244b1294b496ba16c8a2433eb453cce593a62
[ "MIT" ]
18
2018-04-30T20:32:44.000Z
2021-10-03T15:24:33.000Z
clutch/client.py
ExeArco/clutch
223244b1294b496ba16c8a2433eb453cce593a62
[ "MIT" ]
10
2019-01-31T20:21:13.000Z
2021-10-03T10:01:26.000Z
from clutch.method.misc import MiscellaneousMethods from clutch.method.queue import QueueMethods from clutch.method.session import SessionMethods from clutch.method.torrent import TorrentMethods from clutch.network.connection import Connection from clutch.network.session import TransmissionSession from clutch.network.u...
32.352941
87
0.684848
168
1,650
6.60119
0.255952
0.06312
0.05771
0.043282
0.516682
0.516682
0.454463
0.367899
0.367899
0.367899
0
0.00627
0.226667
1,650
50
88
33
0.862853
0
0
0.5
0
0
0.046061
0
0
0
0
0
0
1
0.068182
false
0.090909
0.159091
0
0.340909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
38e62b86e3d2b08df9d322956fdbf5a7d1cb51db
466
py
Python
problems/b/b.py
Viltaria/ACM-ICPC-PacNW-2018
2573c2a8ae837cf8704afc66521b652b54315369
[ "MIT" ]
null
null
null
problems/b/b.py
Viltaria/ACM-ICPC-PacNW-2018
2573c2a8ae837cf8704afc66521b652b54315369
[ "MIT" ]
null
null
null
problems/b/b.py
Viltaria/ACM-ICPC-PacNW-2018
2573c2a8ae837cf8704afc66521b652b54315369
[ "MIT" ]
null
null
null
from fractions import gcd a, b, c, d = raw_input().split(' ') a = int(a) b = int(b) c = int(c) d = int(d) mem = {} done_numbers = set() count = 0 for i in range(a, b + 1): for j in range(c, d + 1): if j in done_numbers: pass if (str(j) + " " + str(i)) in mem: result = mem[str(j) + " " + str(i)...
16.642857
41
0.51073
84
466
2.785714
0.369048
0.025641
0.059829
0.068376
0
0
0
0
0
0
0
0.015385
0.302575
466
27
42
17.259259
0.704615
0
0
0
0
0
0.008584
0
0
0
0
0
0
0
null
null
0.045455
0.045455
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
38e7736e056832e0553d4a81e88976f85b980a07
838
py
Python
boundlexx/api/urls.py
AngellusMortis/boundlexx
407f5e38e8e0f067cbcb358787fc9af6a9be9b2a
[ "MIT" ]
1
2021-04-23T11:49:50.000Z
2021-04-23T11:49:50.000Z
boundlexx/api/urls.py
AngellusMortis/boundlexx
407f5e38e8e0f067cbcb358787fc9af6a9be9b2a
[ "MIT" ]
1
2021-04-17T18:17:12.000Z
2021-04-17T18:17:12.000Z
boundlexx/api/urls.py
AngellusMortis/boundlexx
407f5e38e8e0f067cbcb358787fc9af6a9be9b2a
[ "MIT" ]
null
null
null
from django.urls import include, path from django.views.generic import RedirectView from boundlexx.api.common import views from boundlexx.api.v1.router import router as apiv1 from boundlexx.api.v2.router import router as apiv2 # Wire up our API using automatic URL routing. # Additionally, we include login URLs for th...
39.904762
82
0.693317
112
838
5.151786
0.419643
0.041594
0.083189
0.07279
0.083189
0.083189
0
0
0
0
0
0.015235
0.138425
838
20
83
41.9
0.783934
0.122912
0
0
0
0
0.15847
0.028689
0
0
0
0
0
1
0
false
0
0.3125
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
0
0
0
0
0
0
1
0
0
0
0
1
c7fcd22b33b0552a1a6f399c0084af8c3108b0a6
2,637
py
Python
auth.py
MaksimsVisockis01/-Site_Osta_MV_DK_KI_DP1-1
8be88887d8eb0815696d1961ef0a97f47eb1eabd
[ "MIT" ]
null
null
null
auth.py
MaksimsVisockis01/-Site_Osta_MV_DK_KI_DP1-1
8be88887d8eb0815696d1961ef0a97f47eb1eabd
[ "MIT" ]
null
null
null
auth.py
MaksimsVisockis01/-Site_Osta_MV_DK_KI_DP1-1
8be88887d8eb0815696d1961ef0a97f47eb1eabd
[ "MIT" ]
null
null
null
from __main__ import ( app, session, redirect, render_template, request, jsonify, uuid4, USERS, ) from json import ( dumps, ) # https://stackoverflow.com/questions/11994325/how-to-divide-flask-app-into-multiple-py-files ### LOGIN ### @app.route("/login") def login(): if "user" ...
20.129771
96
0.506636
242
2,637
5.46281
0.342975
0.030257
0.051437
0.06354
0.311649
0.311649
0.263238
0.263238
0.07413
0
0
0.007416
0.335229
2,637
130
97
20.284615
0.74672
0.202503
0
0.280488
0
0
0.169171
0
0
0
0
0
0
1
0.060976
false
0.060976
0.02439
0
0.195122
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2a03765293d1d8c21bb3d071723419f3805792a6
3,210
py
Python
Lib/distutils/tests/support.py
ystk/debian-python2.6
17d77164dc5d5748e54aeaa5adc89ac511fc71ae
[ "PSF-2.0" ]
3
2015-09-22T14:04:54.000Z
2021-07-15T07:07:11.000Z
Lib/distutils/tests/support.py
ystk/debian-python2.6
17d77164dc5d5748e54aeaa5adc89ac511fc71ae
[ "PSF-2.0" ]
1
2020-09-07T15:33:56.000Z
2020-09-07T15:33:56.000Z
Lib/distutils/tests/support.py
ystk/debian-python2.6
17d77164dc5d5748e54aeaa5adc89ac511fc71ae
[ "PSF-2.0" ]
2
2015-09-22T14:05:27.000Z
2015-11-08T20:15:42.000Z
"""Support code for distutils test cases.""" import os import shutil import tempfile from distutils.log import DEBUG, INFO, WARN, ERROR, FATAL from distutils import log from distutils.dist import Distribution from distutils.cmd import Command class LoggingSilencer(object): def setUp(self): super(LoggingS...
27.913043
75
0.599688
401
3,210
4.708229
0.374065
0.025424
0.028602
0.025424
0.035487
0.011123
0
0
0
0
0
0.000445
0.299377
3,210
114
76
28.157895
0.83904
0.215576
0
0.086957
0
0
0.010447
0
0
0
0
0
0
1
0.202899
false
0.014493
0.101449
0
0.42029
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2a0a47b0a4c6682d4c383f9709a4e31ac9d06e65
9,387
py
Python
newster/fca/context.py
abramovd/NewsTering
39fd48eeb06acb263df9c1b239ccf14d40e12ed6
[ "MIT" ]
5
2015-11-30T06:01:40.000Z
2017-02-01T09:05:17.000Z
newster/fca/context.py
abramovd/NewsTering
39fd48eeb06acb263df9c1b239ccf14d40e12ed6
[ "MIT" ]
1
2018-01-05T12:22:24.000Z
2018-01-05T12:22:24.000Z
newster/fca/context.py
abramovd/NewsTering
39fd48eeb06acb263df9c1b239ccf14d40e12ed6
[ "MIT" ]
1
2016-11-14T11:00:17.000Z
2016-11-14T11:00:17.000Z
class Context(object): def __init__(self, cross_table=[], objects=[], attributes=[]): """Create a context from cross table and list of objects, list of attributes cross_table - the list of bool lists objects - the list of objects attributes - the list of attributes ...
36.667969
94
0.599659
1,171
9,387
4.598634
0.126388
0.067595
0.018942
0.012999
0.338904
0.240854
0.202228
0.176787
0.131476
0.126277
0
0.000451
0.291787
9,387
255
95
36.811765
0.809567
0.151593
0
0.153374
0
0
0.030398
0
0
0
0
0.003922
0
1
0.220859
false
0
0
0.03681
0.374233
0.006135
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2a0db1f3f36f9b3c4352f9a1ea11688e5d510716
4,423
py
Python
setup.py
memsql/upsert-benchmark
de3a94a6ec1fe6ac7c8069038e30277ec5fc6d6f
[ "Apache-2.0" ]
3
2018-02-17T21:38:45.000Z
2020-12-07T14:15:08.000Z
setup.py
memsql/upsert-benchmark
de3a94a6ec1fe6ac7c8069038e30277ec5fc6d6f
[ "Apache-2.0" ]
1
2016-08-15T23:42:30.000Z
2016-08-17T08:56:23.000Z
setup.py
memsql/upsert-benchmark
de3a94a6ec1fe6ac7c8069038e30277ec5fc6d6f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import os import string import sys import pickle import shlex import subprocess from optparse import OptionParser from os.path import expanduser, abspath, dirname, join import ConfigParser Config = ConfigParser.ConfigParser() Config.read('benchmark.cfg') def parse_args(): """ Argument parsi...
32.050725
92
0.583993
505
4,423
4.960396
0.289109
0.008782
0.005988
0.012774
0.236727
0.136527
0.09501
0.09501
0.09501
0.09501
0
0.000648
0.302057
4,423
138
93
32.050725
0.81082
0.057879
0
0.121212
0
0
0.140266
0.011608
0
0
0
0
0
0
null
null
0
0.090909
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
0
0
0
0
0
1
2a17bcc7271a9683b76093ba9cf897840a2c2835
2,632
py
Python
bidding_round/models.py
gitCincta/StockTool
2ae604774cd8c271ffc49a4a39fcc412bcaf4577
[ "Apache-2.0" ]
null
null
null
bidding_round/models.py
gitCincta/StockTool
2ae604774cd8c271ffc49a4a39fcc412bcaf4577
[ "Apache-2.0" ]
null
null
null
bidding_round/models.py
gitCincta/StockTool
2ae604774cd8c271ffc49a4a39fcc412bcaf4577
[ "Apache-2.0" ]
null
null
null
from django.db import models from constants import * from bidding_round.bidding_round_helper import get_start_date_third_party, get_end_date_third_party, \ get_publication_date_third_party, get_end_date_staff, get_start_date_staff, get_publication_date_staff, \ get_start_date_moderator, get_end_date_moderator, ...
57.217391
114
0.768237
327
2,632
5.779817
0.214067
0.126984
0.088889
0.040212
0.185185
0.025397
0
0
0
0
0
0.00137
0.168313
2,632
46
115
57.217391
0.862037
0.106763
0
0
0
0
0.108603
0
0
0
0
0
0
1
0.034483
false
0
0.103448
0.034483
0.793103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2a17ef01c76c93ceedd2e9a95cd02041494a6786
289
py
Python
modelforge/tests/modelforgecfg.py
irinakhismatullina/modelforge
5ed2f235b6171bf35e67feb55f84881163dd81bf
[ "Apache-2.0" ]
null
null
null
modelforge/tests/modelforgecfg.py
irinakhismatullina/modelforge
5ed2f235b6171bf35e67feb55f84881163dd81bf
[ "Apache-2.0" ]
null
null
null
modelforge/tests/modelforgecfg.py
irinakhismatullina/modelforge
5ed2f235b6171bf35e67feb55f84881163dd81bf
[ "Apache-2.0" ]
null
null
null
import os import shutil import tempfile tmpdir = os.path.join(tempfile.gettempdir(), "modelforge-tests") shutil.rmtree(tmpdir, ignore_errors=True) VENDOR = os.path.relpath(tmpdir, os.getcwd()) BACKEND = "gcs" BACKEND_ARGS = "bucket=models.cdn.srcd.run,credentials=" ALWAYS_SIGNOFF = True
26.272727
64
0.775087
40
289
5.525
0.7
0.072398
0
0
0
0
0
0
0
0
0
0
0.089965
289
10
65
28.9
0.840304
0
0
0
0
0
0.200692
0.134948
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2a18366fd4cf98243bbb7066a1e7fa2db0d3c07b
2,925
py
Python
codalab/apps/web/tests/test_competition_secret_key.py
AIMultimediaLab/AI4Media-EaaS-prototype-Py2-public
64cd6ac9a56a4e2d40d93608d4289b1a0e50cce7
[ "Apache-2.0" ]
333
2015-12-29T22:49:40.000Z
2022-03-27T12:01:57.000Z
codalab/apps/web/tests/test_competition_secret_key.py
AIMultimediaLab/AI4Media-EaaS-prototype-Py2-public
64cd6ac9a56a4e2d40d93608d4289b1a0e50cce7
[ "Apache-2.0" ]
1,572
2015-12-28T21:54:00.000Z
2022-03-31T13:00:32.000Z
codalab/apps/web/tests/test_competition_secret_key.py
AIMultimediaLab/AI4Media-EaaS-prototype-Py2-public
64cd6ac9a56a4e2d40d93608d4289b1a0e50cce7
[ "Apache-2.0" ]
107
2016-01-08T03:46:07.000Z
2022-03-16T08:43:57.000Z
from django.core.urlresolvers import reverse from django.test import TestCase from django.contrib.auth import get_user_model from apps.web.models import (Competition, CompetitionParticipant, ParticipantStatus,) User = get_user_model() class CompetitionSecret...
48.75
141
0.708376
335
2,925
5.940299
0.208955
0.090452
0.054271
0.066332
0.584422
0.546734
0.480402
0.480402
0.477387
0.477387
0
0.015442
0.180855
2,925
59
142
49.576271
0.815109
0
0
0.208333
0
0
0.085812
0
0
0
0
0
0.125
1
0.145833
false
0.125
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2a1ca67415ef34481c63206f87231cbfea98e301
12,555
py
Python
src/app/flask_app.py
scorpionhiccup/Cloud-Orchestration-Layer
a79ed646fc1c22058e9fea0aa3d2a81f889b5f6d
[ "MIT" ]
null
null
null
src/app/flask_app.py
scorpionhiccup/Cloud-Orchestration-Layer
a79ed646fc1c22058e9fea0aa3d2a81f889b5f6d
[ "MIT" ]
null
null
null
src/app/flask_app.py
scorpionhiccup/Cloud-Orchestration-Layer
a79ed646fc1c22058e9fea0aa3d2a81f889b5f6d
[ "MIT" ]
null
null
null
#!/usr/bin/python from flask import Flask, json, request, render_template, \ jsonify, redirect, url_for from flask import make_response from app import app, db, models import app as app_globals import uuid from flask.ext.sqlalchemy import SQLAlchemy from models import PhysicalMachines, VirtualMachine, Volume import os...
24.521484
124
0.664357
1,791
12,555
4.532663
0.166946
0.020695
0.039911
0.039911
0.364129
0.28172
0.247844
0.21015
0.173319
0.127864
0
0.008929
0.16145
12,555
512
125
24.521484
0.762158
0.026364
0
0.339286
0
0
0.129907
0.001769
0
0
0
0.001953
0
0
null
null
0
0.028061
null
null
0.022959
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2a1e5e292f3794708218b510ace1981d4c7485a9
2,381
py
Python
setup.py
rodrigoschwencke/markdown-inline-graphviz
f15c60b0dce9486c87bc94aa3cb33338464153ba
[ "MIT" ]
2
2021-05-03T14:47:11.000Z
2021-08-13T19:07:11.000Z
setup.py
rodrigoschwencke/mkdocs-markdown-graphviz
f15c60b0dce9486c87bc94aa3cb33338464153ba
[ "MIT" ]
null
null
null
setup.py
rodrigoschwencke/mkdocs-markdown-graphviz
f15c60b0dce9486c87bc94aa3cb33338464153ba
[ "MIT" ]
null
null
null
import os import sys from setuptools import setup VERSION = '1.3' if sys.argv[-1] == 'publish': if os.system("pip freeze | grep wheel"): print("wheel not installed.\nUse `pip install wheel`.\nExiting.") sys.exit() if os.system("pip freeze | grep twine"): print("twine not installed.\nUs...
41.051724
127
0.666527
301
2,381
5.232558
0.48505
0.035556
0.111111
0.115556
0.107937
0.074921
0
0
0
0
0
0.014203
0.201596
2,381
57
128
41.77193
0.814308
0.055859
0
0.061224
0
0.061224
0.668151
0.032517
0
0
0
0
0
1
0
false
0
0.061224
0
0.061224
0.102041
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a202f25b3b38b2ecc5ece6c233f79c397a3b7e4
247
py
Python
Scripts-python/036 Aprovando emprestimo.py
rromulofer/python
eea56018b7974911fc125202ce556ec2fa59bc7f
[ "MIT" ]
2
2021-02-11T18:36:35.000Z
2021-09-16T18:00:28.000Z
Scripts-python/036 Aprovando emprestimo.py
rromulofer/python
eea56018b7974911fc125202ce556ec2fa59bc7f
[ "MIT" ]
null
null
null
Scripts-python/036 Aprovando emprestimo.py
rromulofer/python
eea56018b7974911fc125202ce556ec2fa59bc7f
[ "MIT" ]
null
null
null
valor = float(input('Valor da casa: ')) salario = float(input('Salário: ')) meses = int(input('Meses para pagar:')) parcela = valor/meses if parcela > (salario*0.30): print('---Empréstimo negado---') else: print('---Empréstimo aceito---')
27.444444
39
0.643725
31
247
5.129032
0.645161
0.125786
0
0
0
0
0
0
0
0
0
0.014151
0.1417
247
9
40
27.444444
0.735849
0
0
0
0
0
0.350806
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a29ff9a019aa9f541d2156e667a107bda37ee87
659
py
Python
eccrawler/eccrawler/settings.py
rmadhok/scrapy-crawl-asp
ad3e4c685a5d31b706525098fabe5625e41613fc
[ "MIT" ]
16
2016-08-01T21:23:13.000Z
2019-10-17T01:13:00.000Z
eccrawler/eccrawler/settings.py
rmadhok/scrapy-crawl-asp
ad3e4c685a5d31b706525098fabe5625e41613fc
[ "MIT" ]
1
2016-08-26T21:03:06.000Z
2016-08-26T21:03:06.000Z
eccrawler/eccrawler/settings.py
rmadhok/scrapy-crawl-asp
ad3e4c685a5d31b706525098fabe5625e41613fc
[ "MIT" ]
7
2016-03-25T21:28:05.000Z
2020-08-25T16:11:25.000Z
# -*- coding: utf-8 -*- # Scrapy settings for eccrawler project # # For simplicity, this file contains only the most important settings by # default. All the other settings are documented here: # # http://doc.scrapy.org/en/latest/topics/settings.html # BOT_NAME = 'eccrawler' SPIDER_MODULES = ['eccrawler.spiders'...
31.380952
94
0.758725
85
659
5.788235
0.752941
0.065041
0
0
0
0
0
0
0
0
0
0.006908
0.121396
659
21
94
31.380952
0.842832
0.564492
0
0
0
0
0.563177
0.404332
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a2ee64e9eeb3300e86ce608848ad1195d93dee6
397
py
Python
user_polls/urls.py
okasen/Qualitative-Polls-Django-App
52b3b498bee7eb1ad7d3081f3d262b0b4ef11823
[ "MIT" ]
null
null
null
user_polls/urls.py
okasen/Qualitative-Polls-Django-App
52b3b498bee7eb1ad7d3081f3d262b0b4ef11823
[ "MIT" ]
null
null
null
user_polls/urls.py
okasen/Qualitative-Polls-Django-App
52b3b498bee7eb1ad7d3081f3d262b0b4ef11823
[ "MIT" ]
null
null
null
from django.urls import path from .views import QAView, AnswerView from . import views urlpatterns = [ path('answer/<int:question_id>/', AnswerView.as_view(), name="answer"), path('moderation/', QAView.as_view(), name="moderation"), path('answer/all/', views.allQuestions, name='all'), path('ans...
36.090909
82
0.675063
48
397
5.5
0.4375
0.113636
0.098485
0.159091
0.174242
0
0
0
0
0
0
0
0.151134
397
10
83
39.7
0.783383
0
0
0
0
0
0.273902
0.149871
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2a34166bf7eb418645e6a6a5bc0e6906caefdd51
161
py
Python
bot/utils/files.py
thetimtoy/Astro-DimensionMC
28c1ceacbe6006f9cdc13fdefaa9852c78c2953b
[ "MIT" ]
1
2021-05-29T18:18:07.000Z
2021-05-29T18:18:07.000Z
bot/utils/files.py
thetimtoy/Astro-DimensionMC
28c1ceacbe6006f9cdc13fdefaa9852c78c2953b
[ "MIT" ]
null
null
null
bot/utils/files.py
thetimtoy/Astro-DimensionMC
28c1ceacbe6006f9cdc13fdefaa9852c78c2953b
[ "MIT" ]
null
null
null
from yaml import FullLoader, load __all__ = ( 'config', ) def config(): with open(f'config.yml') as file: return load(file, Loader=FullLoader)
16.1
44
0.645963
21
161
4.761905
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.229814
161
10
44
16.1
0.806452
0
0
0
0
0
0.098765
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a34e411883eb71a10e20519367d5607beecc80d
6,297
py
Python
spotfinder/__init__.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
spotfinder/__init__.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
spotfinder/__init__.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division inner_phil_str = """\ scanbox_windows = 101 51 51 #.type = ints(size_min=1, size_max=3, value_min=10) # future: variable number of window passes .type = ints(size=3, value_min=10) .help = "Integer scanbox sizes for calculating background," "for cycles 1,2, ...
24.889328
116
0.729395
908
6,297
4.888767
0.312775
0.109034
0.043253
0.026808
0.295787
0.21604
0.139671
0.067583
0.067583
0.067583
0
0.022763
0.183738
6,297
252
117
24.988095
0.840856
0
0
0.495283
0
0.014151
0.979832
0.115611
0
0
0
0
0
1
0
false
0.004717
0.004717
0
0.004717
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a3b2314aae5f1c9c426410cfb1b342248e8456b
11,619
py
Python
gui/gen_lattice.py
yamarus/genCF
0489cb94e7bbea05df9277337a1ee37e1e80fe8d
[ "MIT" ]
1
2021-12-16T16:43:49.000Z
2021-12-16T16:43:49.000Z
gui/gen_lattice.py
yamarus/genCF
0489cb94e7bbea05df9277337a1ee37e1e80fe8d
[ "MIT" ]
null
null
null
gui/gen_lattice.py
yamarus/genCF
0489cb94e7bbea05df9277337a1ee37e1e80fe8d
[ "MIT" ]
null
null
null
from imports import * def gen_coords_c(N, M): # generate graphene's coordinates a0 = 142.1 s3 = (3.) ** 0.5 coords = [] full_topo = {} x0 = s3 * a0 / 2. x1 = 0. for m in range(M): y0 = 0. y1 = a0 / 2. y2 = a0 * 1.5 y3 = a0 * 2. z = 0. for n ...
41.794964
137
0.50185
1,870
11,619
2.999465
0.090374
0.045284
0.053485
0.054199
0.584596
0.542521
0.497415
0.495275
0.468711
0.443038
0
0.092001
0.340477
11,619
278
138
41.794964
0.639958
0.10939
0
0.270042
1
0
0
0
0
0
0
0
0
1
0.033755
false
0
0.004219
0
0.075949
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a3c2b2f7b0df8c84b44f2f4cfa1363090935345
3,497
py
Python
static_freeze.py
bendmorris/static-python
2e0f8c4d7ed5b359dc7d8a75b6fb37e6b6c5c473
[ "PSF-2.0" ]
164
2015-01-04T07:04:07.000Z
2022-01-06T03:18:56.000Z
static_freeze.py
bendmorris/static-python
2e0f8c4d7ed5b359dc7d8a75b6fb37e6b6c5c473
[ "PSF-2.0" ]
3
2015-08-27T07:35:26.000Z
2016-04-07T16:35:39.000Z
static_freeze.py
bendmorris/static-python
2e0f8c4d7ed5b359dc7d8a75b6fb37e6b6c5c473
[ "PSF-2.0" ]
35
2015-06-11T05:35:55.000Z
2022-01-11T19:32:00.000Z
#!/usr/bin/env python '''This script generates, runs, and then deletes a Makefile which will compile a Python script into a standalone executable which is statically linked to the Python runtime. To use this script, first generate a static Python library (see the parent directory's README.md). Usage: python s...
31.790909
119
0.656849
456
3,497
4.903509
0.320175
0.039356
0.042934
0.04025
0.245528
0.211538
0.211538
0.211538
0.211538
0.211538
0
0.005282
0.187875
3,497
110
120
31.790909
0.782042
0.144981
0
0.086957
1
0.115942
0.513922
0.13955
0
0
0
0
0.057971
1
0.028986
false
0
0.15942
0
0.188406
0.144928
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a3c3bd5e3b9fb6d755752956b3b00a9999fe6b9
12,691
py
Python
omd/versions/1.2.8p15.cre/share/check_mk/web/htdocs/mkeventd.py
NCAR/spol-nagios
4f88bef953983050bc6568d3f1027615fbe223fb
[ "BSD-3-Clause" ]
null
null
null
omd/versions/1.2.8p15.cre/share/check_mk/web/htdocs/mkeventd.py
NCAR/spol-nagios
4f88bef953983050bc6568d3f1027615fbe223fb
[ "BSD-3-Clause" ]
null
null
null
omd/versions/1.2.8p15.cre/share/check_mk/web/htdocs/mkeventd.py
NCAR/spol-nagios
4f88bef953983050bc6568d3f1027615fbe223fb
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- encoding: utf-8; py-indent-offset: 4 -*- # +------------------------------------------------------------------+ # | ____ _ _ __ __ _ __ | # | / ___| |__ ___ ___| | __ | \/ | |/ / | # | | | | '_ \ / _ \/ __| |/ /...
35.54902
114
0.591522
1,566
12,691
4.617497
0.295658
0.015212
0.010372
0.009404
0.142719
0.121145
0.083668
0.06403
0.042456
0.016595
0
0.014704
0.271216
12,691
356
115
35.648876
0.76711
0.19959
0
0.127413
0
0
0.254254
0.016225
0
0
0
0
0
0
null
null
0
0.007722
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2a3c861979b5d4dc2f6ecb222d040c68de72344b
484
py
Python
routes/migrations/0003_destination_route.py
asommer70/formation
88281c935d242cc9b77882c71fedd604948ee6f9
[ "MIT" ]
null
null
null
routes/migrations/0003_destination_route.py
asommer70/formation
88281c935d242cc9b77882c71fedd604948ee6f9
[ "MIT" ]
null
null
null
routes/migrations/0003_destination_route.py
asommer70/formation
88281c935d242cc9b77882c71fedd604948ee6f9
[ "MIT" ]
null
null
null
# Generated by Django 2.0.6 on 2018-06-18 18:20 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('routes', '0002_auto_20180618_1417'), ] operations = [ migrations.AddField( model_name='destinat...
24.2
114
0.642562
56
484
5.464286
0.678571
0.078431
0.091503
0.143791
0
0
0
0
0
0
0
0.084011
0.237603
484
19
115
25.473684
0.745257
0.092975
0
0
1
0
0.130435
0.052632
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a45974667b3ee2ea319851859b04a4b440b2b58
241
py
Python
twinezen/core/basics.py
byrne-yan/TwineZen
01f302b54fa29b6b31c2d609f2f43b41f16f3b5a
[ "BSD-2-Clause" ]
null
null
null
twinezen/core/basics.py
byrne-yan/TwineZen
01f302b54fa29b6b31c2d609f2f43b41f16f3b5a
[ "BSD-2-Clause" ]
null
null
null
twinezen/core/basics.py
byrne-yan/TwineZen
01f302b54fa29b6b31c2d609f2f43b41f16f3b5a
[ "BSD-2-Clause" ]
null
null
null
from enum import Enum class Level(Enum): L_UNKNOWN = 0 L_1M = 1 L_5M = 2 L_30M = 3 L_DAY = 4 L_WEEK = 5 L_MONTH = 6 L_SEASON = 7 L_YEAR = 8 class Direction(Enum): UNKNOWN = 0 UP = 1 DOWN = 2
14.176471
22
0.53527
43
241
2.790698
0.627907
0.133333
0
0
0
0
0
0
0
0
0
0.108844
0.390041
241
16
23
15.0625
0.707483
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.066667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2a48dbe3aa9d8847cbd86d3a25314997cdb2c092
3,684
py
Python
binding-python/runtime/src/main/python/etch/binding/transport/TcpTransportFactory.py
apache/etch
5a875755019a7f342a07c8c368a50e3efb6ae68c
[ "ECL-2.0", "Apache-2.0" ]
9
2015-02-14T15:09:54.000Z
2021-11-10T15:09:45.000Z
binding-python/runtime/src/main/python/etch/binding/transport/TcpTransportFactory.py
apache/etch
5a875755019a7f342a07c8c368a50e3efb6ae68c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
binding-python/runtime/src/main/python/etch/binding/transport/TcpTransportFactory.py
apache/etch
5a875755019a7f342a07c8c368a50e3efb6ae68c
[ "ECL-2.0", "Apache-2.0" ]
14
2015-04-20T10:35:00.000Z
2021-11-10T15:09:35.000Z
""" # Licensed to the Apache Software Foundation (ASF) under one * # or more contributor license agreements. See the NOTICE file * # distributed with this work for additional information * # regarding copyright ownership. The ASF licenses this file * # to you under the Apache License, Version 2.0 (the...
34.429907
77
0.633008
380
3,684
5.994737
0.371053
0.057068
0.04302
0.04741
0.115013
0.046532
0.046532
0
0
0
0
0.001508
0.279859
3,684
106
78
34.754717
0.857143
0
0
0.0625
0
0
0.024781
0
0
0
0
0
0
0
null
null
0
0.21875
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2a4ed36f69308dca9d8c8b3a2a7d26f384f5fa33
1,776
gyp
Python
binding.gyp
mtojo/system-icon
1ec9dc56d9ad55b9e344eb435550762c308616af
[ "MIT" ]
16
2017-12-08T18:18:39.000Z
2020-11-23T06:36:35.000Z
binding.gyp
mtojo/system-icon
1ec9dc56d9ad55b9e344eb435550762c308616af
[ "MIT" ]
7
2018-03-10T17:14:03.000Z
2020-12-20T05:31:27.000Z
binding.gyp
mtojo/system-icon
1ec9dc56d9ad55b9e344eb435550762c308616af
[ "MIT" ]
9
2018-10-18T17:43:57.000Z
2021-03-28T03:33:42.000Z
{ 'target_defaults': { 'conditions': [ ['OS=="win"', { 'defines': [ '_WIN32_WINNT=0x0600', ], }], ], 'msbuild_settings': { 'ClCompile': { 'WarningLevel': 'Level3', 'Optimization': 'Full', 'FunctionLevelLinking': 'true', }, 'Li...
22.2
58
0.419482
122
1,776
5.836066
0.614754
0.021067
0.071629
0
0
0
0
0
0
0
0
0.013812
0.388514
1,776
79
59
22.481013
0.641805
0
0
0.367089
0
0
0.447072
0.111486
0
0
0.003378
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
2a502c7976fe5040baf0d2fd0282f33131dccade
4,914
py
Python
pysnmp/Fore-Red-Port-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Fore-Red-Port-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Fore-Red-Port-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Fore-Red-Port-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Fore-Red-Port-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:03:47 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
126
477
0.754986
563
4,914
6.586146
0.236234
0.010787
0.067961
0.011866
0.449299
0.32794
0.269957
0.252158
0.234088
0.166127
0
0.070463
0.081604
4,914
38
478
129.315789
0.751163
0.066748
0
0
0
0
0.181123
0.009613
0
0
0
0
0
1
0
false
0
0.225806
0
0.225806
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a540d4e55ade03d03fe3937231289cdc8b7abae
392
py
Python
registry/migrations/0016_signal_color.py
SynBioUC/flapjack_api
343f44a7ca3d0ae69a38f6ee0447d8c7097b23ee
[ "MIT" ]
null
null
null
registry/migrations/0016_signal_color.py
SynBioUC/flapjack_api
343f44a7ca3d0ae69a38f6ee0447d8c7097b23ee
[ "MIT" ]
17
2020-10-08T15:52:49.000Z
2021-11-12T14:02:10.000Z
registry/migrations/0016_signal_color.py
RudgeLab/flapjack_api
59a9c03f3093e0a3c65e18d36108aec97d352867
[ "MIT" ]
1
2021-09-23T18:51:46.000Z
2021-09-23T18:51:46.000Z
# Generated by Django 3.0.5 on 2020-08-07 00:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('registry', '0015_supplement_name'), ] operations = [ migrations.AddField( model_name='signal', name='color', ...
20.631579
61
0.591837
42
392
5.428571
0.833333
0
0
0
0
0
0
0
0
0
0
0.071429
0.285714
392
18
62
21.777778
0.742857
0.114796
0
0
1
0
0.113043
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a569da66389ecd5542bb13cecdc0df1f31fa598
390
py
Python
enemies/actions.py
Neamoho/Emagia
3cb21f25db69b94033eb7b5760298f78f799512f
[ "MIT" ]
null
null
null
enemies/actions.py
Neamoho/Emagia
3cb21f25db69b94033eb7b5760298f78f799512f
[ "MIT" ]
null
null
null
enemies/actions.py
Neamoho/Emagia
3cb21f25db69b94033eb7b5760298f78f799512f
[ "MIT" ]
null
null
null
from random import randint class Enemy: def resetStats(self): self.stats['health'] = randint(60, 90) self.remaining_health = self.stats['health'] self.stats['strength'] = randint(60, 90) self.stats['defence'] = randint(40, 60) self.stats['speed'] = randint(40, 60) s...
35.454545
52
0.597436
49
390
4.734694
0.44898
0.271552
0.12931
0.12931
0.172414
0
0
0
0
0
0
0.067797
0.24359
390
11
53
35.454545
0.718644
0
0
0
0
0
0.104859
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a5820620200d65be937bf5ece2b4a1ac0b95dd4
2,565
py
Python
util.py
pskugit/evolution-simulation
294cdd4d52a2a5fe55063288dec35ee78bdeed40
[ "MIT" ]
null
null
null
util.py
pskugit/evolution-simulation
294cdd4d52a2a5fe55063288dec35ee78bdeed40
[ "MIT" ]
null
null
null
util.py
pskugit/evolution-simulation
294cdd4d52a2a5fe55063288dec35ee78bdeed40
[ "MIT" ]
null
null
null
import sys import math import string import random import logging import numpy as np def sigmoid(x): return 1/ (1+ math.exp(-x)) def tanh(x): return 2 * sigmoid(2*x) -1 def generate_word(length): VOWELS = "aeiou" CONSONANTS = "".join(set(string.ascii_lowercase) - set(VOWELS)) word = "" for i ...
28.186813
177
0.624951
350
2,565
4.454286
0.297143
0.019243
0.021167
0.01796
0.087235
0.087235
0.087235
0
0
0
0
0.015322
0.236647
2,565
90
178
28.5
0.780899
0
0
0.082192
1
0.013699
0.061232
0
0
0
0
0
0
1
0.191781
false
0
0.082192
0.082192
0.438356
0.068493
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a58f8ea438f685f674f7032f1f7811cff8a9084
21,117
py
Python
xquotient/mail.py
twisted/quotient
95f2515219da99a77905852bc01deeb27e93466e
[ "MIT" ]
6
2016-02-15T07:33:39.000Z
2018-12-03T17:20:58.000Z
xquotient/mail.py
DalavanCloud/quotient
95f2515219da99a77905852bc01deeb27e93466e
[ "MIT" ]
1
2021-02-18T20:01:02.000Z
2021-02-18T20:01:02.000Z
xquotient/mail.py
DalavanCloud/quotient
95f2515219da99a77905852bc01deeb27e93466e
[ "MIT" ]
4
2015-11-15T17:28:20.000Z
2018-12-03T17:20:48.000Z
# -*- test-case-name: xquotient.test.test_mta -*- # Copyright (c) 2008 Divmod. See LICENSE for details. """ Support for SMTP servers in Quotient. Implementations of L{twisted.mail.smtp.IMessageDeliveryFactory}, L{twisted.mail.smtp.IMessageDelivery}, and L{twisted.mail.smtp.IMessage} can be found here. There are cla...
34.448613
120
0.658853
2,195
21,117
6.319362
0.260592
0.007786
0.004542
0.005479
0.08889
0.05616
0.021772
0.005912
0
0
0
0.003888
0.269167
21,117
612
121
34.504902
0.894901
0.040536
0
0.201863
0
0
0.036357
0.003106
0
0
0
0.001634
0
0
null
null
0.015528
0.062112
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2a5cf9739ed84c5756278b00049dfe8076574ae8
499
py
Python
pinterest/pin/migrations/0003_pin_board.py
platzi-pinterest/backend
6a6cb4f8cbc4c8ad01e184264486ae466f403059
[ "MIT" ]
null
null
null
pinterest/pin/migrations/0003_pin_board.py
platzi-pinterest/backend
6a6cb4f8cbc4c8ad01e184264486ae466f403059
[ "MIT" ]
null
null
null
pinterest/pin/migrations/0003_pin_board.py
platzi-pinterest/backend
6a6cb4f8cbc4c8ad01e184264486ae466f403059
[ "MIT" ]
null
null
null
# Generated by Django 3.0.10 on 2020-10-01 03:11 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('board', '0002_board_user'), ('pin', '0002_pin_user'), ] operations = [ migrations.AddField( ...
23.761905
111
0.617234
60
499
5.016667
0.583333
0.079734
0.093023
0.146179
0
0
0
0
0
0
0
0.064171
0.250501
499
20
112
24.95
0.740642
0.092184
0
0
1
0
0.121951
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a6128a63fc0755e5937755a22db540aa125cac3
857
py
Python
profiles/tests.py
JoyMbugua/jirani-app
4add710192a94dca0f4187a5e121d777dd5d8444
[ "MIT" ]
null
null
null
profiles/tests.py
JoyMbugua/jirani-app
4add710192a94dca0f4187a5e121d777dd5d8444
[ "MIT" ]
null
null
null
profiles/tests.py
JoyMbugua/jirani-app
4add710192a94dca0f4187a5e121d777dd5d8444
[ "MIT" ]
null
null
null
from django.test import TestCase from .models import Profile from django.contrib.auth import get_user_model from locations.models import Neighborhood, Admin class ProfileModelTest(TestCase): def setUp(self): self.user1 = get_user_model().objects.create_user(username = 'testuser', email = 'test@email.com'...
38.954545
126
0.714119
109
857
5.504587
0.440367
0.06
0.07
0.07
0
0
0
0
0
0
0
0.016901
0.171529
857
21
127
40.809524
0.828169
0
0
0
0
0
0.061916
0
0
0
0
0
0.125
1
0.1875
false
0.0625
0.25
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
0
0
0
0
0
1
2a618560ce323f23cf690a715183247c08e7df26
955
py
Python
sources/bin/connections/plc_s7.py
frankovacevich/aleph
9b01dcabf3c074e8617e50fffd35c9ee1960eab6
[ "MIT" ]
null
null
null
sources/bin/connections/plc_s7.py
frankovacevich/aleph
9b01dcabf3c074e8617e50fffd35c9ee1960eab6
[ "MIT" ]
null
null
null
sources/bin/connections/plc_s7.py
frankovacevich/aleph
9b01dcabf3c074e8617e50fffd35c9ee1960eab6
[ "MIT" ]
null
null
null
""" Use this connection to read data from a Siemens S7 PLC. To install the snap7 package use 'pip install python-snap7' You may need to install the repositories: 'sudo add-apt-repository ppa:gijzelaar/snap7' 'sudo apt-get update' 'sudo apt-get install libsnap7-1 libsnap7-dev' Read the documentation to learn how to us...
29.84375
81
0.708901
137
955
4.846715
0.459854
0.090361
0.058735
0
0
0
0
0
0
0
0
0.016
0.21466
955
31
82
30.806452
0.869333
0.434555
0
0
0
0
0.024436
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2a64b4dc8d35303b9f5b69a92ded08a050dd84b6
54,525
py
Python
ames-jar/SCUCresources/Models/ReferenceModel.py
kaifang0813/AMES
3f0259d66a836fd0d841ba9d74419d195fae1725
[ "BSD-3-Clause" ]
null
null
null
ames-jar/SCUCresources/Models/ReferenceModel.py
kaifang0813/AMES
3f0259d66a836fd0d841ba9d74419d195fae1725
[ "BSD-3-Clause" ]
null
null
null
ames-jar/SCUCresources/Models/ReferenceModel.py
kaifang0813/AMES
3f0259d66a836fd0d841ba9d74419d195fae1725
[ "BSD-3-Clause" ]
null
null
null
####################################################################################################### # a basic (thermal) unit commitment model, drawn from: # # A Computationally Efficient Mixed-Integer Linear Formulation for the Thermal Unit Commitment Problem # # Migu...
51.197183
292
0.677836
6,715
54,525
5.410424
0.116456
0.006991
0.012331
0.011395
0.537943
0.466103
0.40431
0.340783
0.289202
0.241584
0
0.008535
0.144741
54,525
1,064
293
51.245301
0.770549
0.275433
0
0.204301
0
0
0.00006
0
0
0
0
0
0
1
0.156989
false
0
0.002151
0.105376
0.380645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
2a66c3617412ce3e5b05e493a4a3f541934f33d0
5,723
py
Python
tests/test_numeral.py
zachzIAM/num-to-words
864abd3785dac2caa0a20321ca78f81d50e8fa88
[ "MIT" ]
null
null
null
tests/test_numeral.py
zachzIAM/num-to-words
864abd3785dac2caa0a20321ca78f81d50e8fa88
[ "MIT" ]
null
null
null
tests/test_numeral.py
zachzIAM/num-to-words
864abd3785dac2caa0a20321ca78f81d50e8fa88
[ "MIT" ]
null
null
null
import pytest from random import randint from num2words import WordNumeral, NumberTooLarge @pytest.mark.parametrize("num, answer", [ (1, "one"), (2, "two"), (3, "three"), (4, "four"), (5, "five"), (6, "six"), (7, "seven"), (8, "eight"), (9, "nine"), (10, "ten"), (11, "eleven"), (12, "twelve"), (13, "thirt...
61.537634
159
0.689324
663
5,723
5.939668
0.25641
0.187913
0.052819
0.020315
0.056374
0
0
0
0
0
0
0.095426
0.201643
5,723
92
160
62.206522
0.76647
0
0
0.045455
0
0
0.644767
0.034947
0
0
0
0
0.011364
1
0.022727
false
0
0.034091
0
0.056818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a6816f0bcfa6222235741b89d9e9378caee1abd
14,775
py
Python
server/new_year_service.py
mgalushka/newyear
c8567919f1015a8b22b5be6351d7b30cde282be2
[ "MIT" ]
null
null
null
server/new_year_service.py
mgalushka/newyear
c8567919f1015a8b22b5be6351d7b30cde282be2
[ "MIT" ]
null
null
null
server/new_year_service.py
mgalushka/newyear
c8567919f1015a8b22b5be6351d7b30cde282be2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from datetime import datetime, timedelta from threading import Timer import json import time import urllib2 import web # new year schedule: time -> freeform list of countries, list of countries, list of cities schedule = [ ['-14:00', 'Samoa and Christmas Island/Kiribati', 'Samoa,Chri...
52.208481
508
0.690355
1,813
14,775
5.600662
0.351351
0.026591
0.025606
0.013
0.417865
0.362813
0.313177
0.265905
0.256648
0.214891
0
0.015429
0.179695
14,775
282
509
52.393617
0.82236
0.016311
0
0.1
0
0.004167
0.675532
0.192999
0
0
0
0
0
1
0.041667
false
0.016667
0.025
0
0.108333
0.029167
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a69f6923b6b9bb827aa951d6000e4cbdb9e1eba
675
py
Python
etl/connections/connections.py
Giovanniguidace/Fatec-BD-SEM5-API-REMOTE-COURSE
d6e342cc8ffcb9dc51184c2455c6bdc758082b55
[ "MIT" ]
1
2021-09-14T02:12:15.000Z
2021-09-14T02:12:15.000Z
etl/connections/connections.py
Giovanniguidace/Fatec-BD-SEM5-API-REMOTE-COURSE
d6e342cc8ffcb9dc51184c2455c6bdc758082b55
[ "MIT" ]
21
2021-08-17T01:25:14.000Z
2021-11-10T00:29:27.000Z
etl/connections/connections.py
Giovanniguidace/Fatec-BD-SEM5-API-REMOTE-COURSE
d6e342cc8ffcb9dc51184c2455c6bdc758082b55
[ "MIT" ]
1
2021-08-20T01:20:30.000Z
2021-08-20T01:20:30.000Z
from pymongo import MongoClient import psycopg2 def mongoConnection(): mongo_conn = MongoClient('mongodb://157.245.243.16:3004/?retryWrites=false') return mongo_conn def postgreeConnection(): sql_conn = psycopg2.connect(host='157.245.243.16', database='PROJETO_API_NEMO', user='username', password='...
25.961538
83
0.611852
71
675
5.690141
0.507042
0.044554
0.066832
0.081683
0.39604
0.39604
0.39604
0.247525
0
0
0
0.089796
0.274074
675
26
84
25.961538
0.734694
0
0
0
0
0
0.213018
0.071006
0
0
0
0
0
1
0.176471
false
0.117647
0.117647
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2a6f1f671abae272c5bf9fab78536ab837a49593
308
py
Python
method_of_moments/run_pylint.py
AlbertFarkhutdinov/method_of_moments
0a69c63197d7f88a3b57356620b4d84e76543177
[ "MIT" ]
null
null
null
method_of_moments/run_pylint.py
AlbertFarkhutdinov/method_of_moments
0a69c63197d7f88a3b57356620b4d84e76543177
[ "MIT" ]
null
null
null
method_of_moments/run_pylint.py
AlbertFarkhutdinov/method_of_moments
0a69c63197d7f88a3b57356620b4d84e76543177
[ "MIT" ]
null
null
null
""" This module is used for checking the project code for compliance with PEP8. """ import os from pylint_af import PyLinter if __name__ == '__main__': PyLinter( root_directory=os.path.dirname(os.path.dirname(__file__)), ignored_statements={'E0401', 'E0402', 'E0611'} ).check()
18.117647
75
0.678571
39
308
4.974359
0.820513
0.061856
0.134021
0
0
0
0
0
0
0
0
0.052632
0.198052
308
16
76
19.25
0.732794
0.243506
0
0
0
0
0.102679
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
2a6f25a30ece1b55e8b20a8c704ff3f7022d5e2a
712
py
Python
src/profiles/migrations/0008_auto_20180325_2022.py
flokli/bornhack-website
9dd6b0b23c2e6b1fb2c5f03a8766d4aa96d4443d
[ "BSD-3-Clause" ]
7
2017-04-14T15:28:29.000Z
2021-09-10T09:45:38.000Z
src/profiles/migrations/0008_auto_20180325_2022.py
flokli/bornhack-website
9dd6b0b23c2e6b1fb2c5f03a8766d4aa96d4443d
[ "BSD-3-Clause" ]
799
2016-04-28T09:31:50.000Z
2022-03-29T09:05:02.000Z
src/profiles/migrations/0008_auto_20180325_2022.py
flokli/bornhack-website
9dd6b0b23c2e6b1fb2c5f03a8766d4aa96d4443d
[ "BSD-3-Clause" ]
35
2016-04-28T09:23:53.000Z
2021-05-02T12:36:01.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2018-03-25 18:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("profiles", "0007_auto_20170711_2025")] operations = [ migrations.AlterField( ...
30.956522
202
0.629213
89
712
4.88764
0.764045
0.032184
0
0
0
0
0
0
0
0
0
0.070588
0.283708
712
22
203
32.363636
0.782353
0.095506
0
0
1
0.066667
0.357254
0.035881
0
0
0
0
0
1
0
false
0
0.133333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a7af5279377c712a36b3f4268f9c656eb2db2dd
2,995
py
Python
sorting_problems/3sum.py
UPstartDeveloper/Problem_Solving_Practice
bd61333b3b056e82a94297e02bc05a17552e3496
[ "MIT" ]
null
null
null
sorting_problems/3sum.py
UPstartDeveloper/Problem_Solving_Practice
bd61333b3b056e82a94297e02bc05a17552e3496
[ "MIT" ]
null
null
null
sorting_problems/3sum.py
UPstartDeveloper/Problem_Solving_Practice
bd61333b3b056e82a94297e02bc05a17552e3496
[ "MIT" ]
null
null
null
class Solution: def threeSum(self, nums: List[int]) -> List[List[int]]: """ Input/Problem: pos/neg ints ASSUME fits in mem CAN have an empty array dupes unsorted ASSUME not immutable - out: 2D int ---> all poss triplets...
32.554348
82
0.444073
334
2,995
3.952096
0.41018
0.007576
0.009091
0.009091
0.009091
0.009091
0
0
0
0
0
0.052336
0.464107
2,995
91
83
32.912088
0.770093
0.396327
0
0
0
0
0
0
0
0
0
0.010989
0
1
0.085714
false
0
0
0
0.257143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2a7b4204566a87c2de4244a7684d1a3443f28f2d
470
py
Python
pysmock/models/MockSetup.py
pysmock/pysmock-codegen
e95384756f9a80b49b7e015a408a29889e2a1b68
[ "MIT" ]
null
null
null
pysmock/models/MockSetup.py
pysmock/pysmock-codegen
e95384756f9a80b49b7e015a408a29889e2a1b68
[ "MIT" ]
null
null
null
pysmock/models/MockSetup.py
pysmock/pysmock-codegen
e95384756f9a80b49b7e015a408a29889e2a1b68
[ "MIT" ]
null
null
null
from yaml import YAMLObject from . import APIRequest, Info from typing import List class MockSetup: def __init__(self, info: Info = None, host: str = "http://localhost:5757", basePath: str ="/", apiRequests: List[object] = []): self.info = info self.host = host self.basePath = basePath self.apiRequest...
39.166667
129
0.7
59
470
5.440678
0.40678
0.074766
0.074766
0
0
0
0
0
0
0
0
0.010152
0.161702
470
12
130
39.166667
0.804569
0
0
0
0
0
0.104034
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2a88935a18ac531dfa6255fdbfa650f0df25ba42
937
py
Python
create_geometry_base.py
furti/FreeCAD-Lithophane
5b6de36a20ecb49d26e27154788117f1e9785f40
[ "MIT" ]
21
2018-06-10T04:00:06.000Z
2022-02-20T12:20:00.000Z
create_geometry_base.py
furti/FreeCAD-Lithophane
5b6de36a20ecb49d26e27154788117f1e9785f40
[ "MIT" ]
37
2018-06-24T06:49:23.000Z
2021-11-05T13:49:15.000Z
create_geometry_base.py
furti/FreeCAD-Lithophane
5b6de36a20ecb49d26e27154788117f1e9785f40
[ "MIT" ]
4
2018-09-28T00:05:26.000Z
2022-01-15T21:18:10.000Z
'''Creates the mesh for a tube lithophane''' import FreeCAD # import FreeCADGui # import Mesh, Part, MeshPart import lithophane_utils import utils.qtutils as qtutils from base_lithophane_processor import BaseLithophaneProcessor class CreateGeometryBase(object): def Activated(self): lithophaneImage, imag...
28.393939
89
0.708645
89
937
7.404494
0.640449
0.068285
0
0
0
0
0
0
0
0
0
0
0.232657
937
32
90
29.28125
0.916551
0.138741
0
0
0
0
0.091824
0
0
0
0
0
0
1
0.166667
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
0
0
0
0
0
1
0
0
1
2a955bc246081d136c0d37869cfff2d0ee8a993f
636
py
Python
ui/app/lib/jobs.py
BenjaminPelletier/streamtagger
4dd43ee844d906b8f94002420683ab8531e4b9b9
[ "MIT" ]
2
2020-03-01T02:31:24.000Z
2020-03-01T02:37:01.000Z
ui/app/lib/jobs.py
BenjaminPelletier/streamtagger
4dd43ee844d906b8f94002420683ab8531e4b9b9
[ "MIT" ]
14
2019-12-06T21:14:32.000Z
2020-03-10T18:38:27.000Z
ui/app/lib/jobs.py
BenjaminPelletier/streamtagger
4dd43ee844d906b8f94002420683ab8531e4b9b9
[ "MIT" ]
null
null
null
import datetime import threading class Job(object): def __init__(self): self._lock = threading.RLock() self._messages = [] self._active = False def start(self, method): def task(): self._active = True self.log('Started') method(self) self.log('Finished') self._active...
21.2
66
0.650943
81
636
4.91358
0.432099
0.100503
0.075377
0
0
0
0
0
0
0
0
0
0.226415
636
29
67
21.931034
0.808943
0
0
0.173913
0
0
0.023585
0
0
0
0
0
0
1
0.26087
false
0
0.086957
0.043478
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2a961fe6582ac594aca189d26d822e1894fb7677
449
py
Python
actions/getLocation.py
Patrick-G-W/RASA-Chatbot
3ebb7e222a1a6a393320fd2e261237a3087b5320
[ "MIT" ]
2
2019-04-24T20:24:29.000Z
2019-07-08T07:37:42.000Z
actions/getLocation.py
Patrick-G-W/RASA-Chatbot
3ebb7e222a1a6a393320fd2e261237a3087b5320
[ "MIT" ]
null
null
null
actions/getLocation.py
Patrick-G-W/RASA-Chatbot
3ebb7e222a1a6a393320fd2e261237a3087b5320
[ "MIT" ]
null
null
null
import urllib3 import certifi import json from secrets import googleAPIKey http = urllib3.PoolManager( cert_reqs='CERT_REQUIRED', ca_certs=certifi.where() ) def getAPI(address): r = http.request('GET', 'https://maps.googleapis.com/maps/api/geocode/json?address={0}&key={1}'.format(address, googleAPIKey)) ...
23.631579
130
0.717149
61
449
5.180328
0.672131
0.063291
0
0
0
0
0
0
0
0
0
0.015424
0.13363
449
18
131
24.944444
0.796915
0
0
0
0
0.076923
0.254464
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2a986a777ccfa7ff8d8d26d51c39a5a2d553ca02
374
py
Python
apps/fok/migrations/0002_user_is_greeted.py
FreeOurKnowledge/old_platform
44347b331cd2526cbfd57b4c7057281ab7cd6207
[ "MIT" ]
11
2019-07-10T14:26:56.000Z
2020-09-17T07:33:50.000Z
apps/fok/migrations/0002_user_is_greeted.py
FreeOurKnowledge/platform
44347b331cd2526cbfd57b4c7057281ab7cd6207
[ "MIT" ]
15
2018-11-21T15:11:59.000Z
2020-11-16T05:08:04.000Z
apps/fok/migrations/0002_user_is_greeted.py
FreeOurKnowledge/old_platform
44347b331cd2526cbfd57b4c7057281ab7cd6207
[ "MIT" ]
2
2018-11-29T15:35:43.000Z
2019-05-14T21:44:07.000Z
# Generated by Django 2.1.7 on 2019-07-06 17:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fok', '0001_initial'), ] operations = [ migrations.AddField( model_name='user', name='is_greeted', field...
19.684211
53
0.585561
40
374
5.4
0.85
0
0
0
0
0
0
0
0
0
0
0.072243
0.296791
374
18
54
20.777778
0.749049
0.120321
0
0
1
0
0.088685
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa530c644c1aeb304fe75e50a9f89406c408e9f9
177
py
Python
jenkins/controllers/jjb/bin/job-list.py
mjudeikis/release
955e92e4d0f4ec1034ad8301a0ff81fa8818d76f
[ "Apache-2.0" ]
null
null
null
jenkins/controllers/jjb/bin/job-list.py
mjudeikis/release
955e92e4d0f4ec1034ad8301a0ff81fa8818d76f
[ "Apache-2.0" ]
null
null
null
jenkins/controllers/jjb/bin/job-list.py
mjudeikis/release
955e92e4d0f4ec1034ad8301a0ff81fa8818d76f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import jobs_common def main(): names = jobs_common.read_known_names() for name in names: print(name) if __name__ == "__main__": main()
13.615385
42
0.638418
24
177
4.208333
0.666667
0.19802
0
0
0
0
0
0
0
0
0
0
0.237288
177
12
43
14.75
0.748148
0.090395
0
0
0
0
0.05
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa5487948375d05ef30adc9262991cb1f9eaff34
231
py
Python
sapcommissions/const.py
niro1987/python-sapcommissions
50fd535af6198d37a4376a5343b663bdf7b3c97d
[ "MIT" ]
null
null
null
sapcommissions/const.py
niro1987/python-sapcommissions
50fd535af6198d37a4376a5343b663bdf7b3c97d
[ "MIT" ]
null
null
null
sapcommissions/const.py
niro1987/python-sapcommissions
50fd535af6198d37a4376a5343b663bdf7b3c97d
[ "MIT" ]
null
null
null
""" This file contains the constants used in the sapcommissions module. """ # Client API_VERSION = "v2" BASE_URL: str = "https://{tenant}-{environment}.callidusondemand.com/api" # Endpoints ENDPOINT_URL = "/{version}/{endpoint}"
21
73
0.722944
28
231
5.857143
0.821429
0
0
0
0
0
0
0
0
0
0
0.004926
0.121212
231
10
74
23.1
0.802956
0.367965
0
0
0
0
0.569343
0.153285
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa5e7854c941c7a89116bcd5507f885a32b6ad15
216
py
Python
qual_id/categories/animal.py
aldinaufal21/qual-id
c3205256d1483831117b001e3929e5175aff78ee
[ "MIT" ]
null
null
null
qual_id/categories/animal.py
aldinaufal21/qual-id
c3205256d1483831117b001e3929e5175aff78ee
[ "MIT" ]
null
null
null
qual_id/categories/animal.py
aldinaufal21/qual-id
c3205256d1483831117b001e3929e5175aff78ee
[ "MIT" ]
null
null
null
from ..category import Category class Animal(Category): def get_values(self): return [ 'ant', 'cat', 'dog', 'lizard', 'lobster', 'snake', 'whale' ]
14.4
31
0.462963
19
216
5.210526
0.894737
0
0
0
0
0
0
0
0
0
0
0
0.398148
216
14
32
15.428571
0.761538
0
0
0
0
0
0.148148
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0.083333
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa6e6129f2d05f11d26153231e5a4a5f89fa244c
2,225
py
Python
plugin/core/test_workspace.py
Narretz/LSP
28ecbb2221956781222fcf2aaa8ceb54c6a34f35
[ "MIT" ]
null
null
null
plugin/core/test_workspace.py
Narretz/LSP
28ecbb2221956781222fcf2aaa8ceb54c6a34f35
[ "MIT" ]
null
null
null
plugin/core/test_workspace.py
Narretz/LSP
28ecbb2221956781222fcf2aaa8ceb54c6a34f35
[ "MIT" ]
null
null
null
from .test_mocks import MockView from .test_mocks import MockWindow from .workspace import maybe_get_first_workspace_from_window from .workspace import maybe_get_workspace_from_view from .workspace import WorkspaceFolder from os.path import dirname from unittest import TestCase class WorkspaceTest(TestCase): def...
39.035088
98
0.708764
257
2,225
5.817121
0.206226
0.086957
0.112375
0.080268
0.621405
0.561204
0.50903
0.50903
0.242809
0.242809
0
0
0.193708
2,225
56
99
39.732143
0.833333
0.028764
0
0.5
0
0
0.045455
0
0
0
0
0
0.409091
1
0.113636
false
0
0.159091
0
0.295455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
aa6ec796bebc572ba44c06dab4bb339cd8a4349e
1,917
py
Python
mappi/models.py
akx/mappi
d49310a95dadf581911a91ff0a769b074924548c
[ "MIT" ]
null
null
null
mappi/models.py
akx/mappi
d49310a95dadf581911a91ff0a769b074924548c
[ "MIT" ]
null
null
null
mappi/models.py
akx/mappi
d49310a95dadf581911a91ff0a769b074924548c
[ "MIT" ]
null
null
null
import dataclasses import random import re from typing import Callable, Set, Dict, Any, List from mappi.utils import get_expression_variables @dataclasses.dataclass(frozen=True) class MappiFunction: name: str expr: str func: Callable variables: Set[str] @classmethod def parse(cls, name: str,...
27.385714
82
0.616588
235
1,917
4.931915
0.417021
0.02761
0.037964
0.051769
0.060397
0
0
0
0
0
0
0.00143
0.270214
1,917
69
83
27.782609
0.827019
0.032342
0
0.035714
0
0
0.100972
0.028078
0
0
0
0
0
1
0.071429
false
0
0.089286
0.017857
0.607143
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aa71ce766244d28aebf85184aa5b4cf6581d0134
360
py
Python
a1_t6_2.py
zhengjiejiang/assignment1
7cec28313599c8947f1cb22615250d3a6aa92ffa
[ "BSD-3-Clause" ]
null
null
null
a1_t6_2.py
zhengjiejiang/assignment1
7cec28313599c8947f1cb22615250d3a6aa92ffa
[ "BSD-3-Clause" ]
null
null
null
a1_t6_2.py
zhengjiejiang/assignment1
7cec28313599c8947f1cb22615250d3a6aa92ffa
[ "BSD-3-Clause" ]
null
null
null
import statistics # This code demonstrates that we have a mode value. values = [8, 11, 9, 14, 9, 15, 18, 6, 9, 10] mode = statistics.mode(values) print(mode) # This code demonstrates that we cannot calculate mode value because there # are more then one mode. values = [8, 9, 10, 10, 10, 11, 11, 11, 12, 13] mod...
30
74
0.686111
61
360
4.04918
0.508197
0.121457
0.161943
0.194332
0.477733
0.267206
0
0
0
0
0
0.114583
0.2
360
11
75
32.727273
0.743056
0.405556
0
0.571429
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa783bf9d1fef10be94f6461ca99eda9fd20fa04
928
py
Python
test/docker/spark/bin/create_hive_tables.py
plotly/electron-sql-connector
843628318423364073d8488b0fbc9cec0b1ecc92
[ "MIT" ]
4,550
2018-08-18T05:12:30.000Z
2022-03-26T19:34:57.000Z
test/docker/spark/bin/create_hive_tables.py
skyformat99/falcon-sql-client
b7881d336510ca6f9ebd41cd618d6eb592ea286a
[ "MIT" ]
312
2017-10-11T08:26:19.000Z
2018-08-13T15:46:37.000Z
test/docker/spark/bin/create_hive_tables.py
skyformat99/falcon-sql-client
b7881d336510ca6f9ebd41cd618d6eb592ea286a
[ "MIT" ]
210
2018-08-23T17:55:54.000Z
2022-03-24T13:09:31.000Z
import sys from pyspark import SparkContext, SparkConf, HiveContext, SQLContext if __name__ == '__main__': conf = SparkConf().setAppName("Plotly Exports") sc = SparkContext(conf=conf) hive_context = HiveContext(sc) print '=== Creating Database ===' hive_context.sql('CREATE DATABASE PLOTLY') hiv...
42.181818
82
0.642241
98
928
5.816327
0.55102
0.096491
0.098246
0.142105
0.126316
0.126316
0
0
0
0
0
0.018545
0.244612
928
21
83
44.190476
0.794579
0
0
0
0
0
0.450431
0.137931
0
0
0
0
0
0
null
null
0
0.105263
null
null
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
1
0
0
0
0
0
0
0
0
1
aa7f08061bec8ee5748023e975195024a8f5f00c
1,070
py
Python
src/modlunky2/sprites/full_sheets/pets.py
MonkeyMichael/modlunky2
559d10576f7e0778f3addf2c80abfd5d9e71dbfe
[ "Apache-2.0" ]
null
null
null
src/modlunky2/sprites/full_sheets/pets.py
MonkeyMichael/modlunky2
559d10576f7e0778f3addf2c80abfd5d9e71dbfe
[ "Apache-2.0" ]
null
null
null
src/modlunky2/sprites/full_sheets/pets.py
MonkeyMichael/modlunky2
559d10576f7e0778f3addf2c80abfd5d9e71dbfe
[ "Apache-2.0" ]
null
null
null
from pathlib import Path from ..base_classes.base_json_sprite_merger import BaseJsonSpriteMerger from ..monsters.pets import Pets from ..journal_mons import JournalMonsterSheet class MontySpriteMerger(BaseJsonSpriteMerger): _target_sprite_sheet_path = Path("Data/Textures/Entities/Pets/monty.png") _grid_hint_...
32.424242
78
0.727103
128
1,070
5.664063
0.34375
0.107586
0.132414
0.153103
0.641379
0.641379
0.641379
0.641379
0.641379
0.430345
0
0.016722
0.161682
1,070
32
79
33.4375
0.791527
0
0
0.24
0
0
0.204673
0.16729
0
0
0
0
0
1
0
false
0
0.16
0
0.76
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aa83ebb6411430acb638e348bd57466121472c71
2,152
py
Python
newbTips/python/relationships.py
AmaurySalles/Flask-ReDB
7923679dc037f5cc7be0498dbeaca25e76e5309f
[ "MIT" ]
null
null
null
newbTips/python/relationships.py
AmaurySalles/Flask-ReDB
7923679dc037f5cc7be0498dbeaca25e76e5309f
[ "MIT" ]
null
null
null
newbTips/python/relationships.py
AmaurySalles/Flask-ReDB
7923679dc037f5cc7be0498dbeaca25e76e5309f
[ "MIT" ]
null
null
null
## IMPORT # You always put the ForeignKey in the table which contains only one of those many items ## ONE parent TO MANY children relationships: class Parent(db.Model): id = db.Column(db.Integer, primary_key=True) children = db.relationship("Child", backref="parent") class Child(db.Model): id = db.Colum...
27.240506
116
0.709572
319
2,152
4.69906
0.250784
0.037358
0.080053
0.088059
0.522348
0.51968
0.494997
0.455637
0.455637
0.455637
0
0.005969
0.143587
2,152
78
117
27.589744
0.807379
0.167286
0
0.486486
0
0.027027
0.150901
0
0
0
0
0
0
1
0
false
0.027027
0
0
0.648649
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aa8852fc53c9fe2266459bc20ce8a67c3f00cb45
300
py
Python
laboratorio/laboratorio_7/test_cuenta.py
josbel/uip-iiig2016-prog3
24ad38698cedb66ded0bf4ad775bd9a557b993ef
[ "MIT" ]
null
null
null
laboratorio/laboratorio_7/test_cuenta.py
josbel/uip-iiig2016-prog3
24ad38698cedb66ded0bf4ad775bd9a557b993ef
[ "MIT" ]
null
null
null
laboratorio/laboratorio_7/test_cuenta.py
josbel/uip-iiig2016-prog3
24ad38698cedb66ded0bf4ad775bd9a557b993ef
[ "MIT" ]
null
null
null
from unittest import TestCase from laboratorio_7.Cuenta import Cuenta class TestCuenta(TestCase): def test_deposito(self): c=Cuenta() self.assertLess(c.deposito(1000), 600) def test_retiro(self): c=Cuenta() self.assertEqual(c.retiro(1000), 500)
23.076923
47
0.65
37
300
5.189189
0.540541
0.072917
0.114583
0.15625
0
0
0
0
0
0
0
0.066667
0.25
300
12
48
25
0.786667
0
0
0.222222
0
0
0
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
0
0
0
1
aa89d6a79f85132e6587c466c98d6f444cf1b6d4
2,697
py
Python
portal/deploy/fabfile.py
pugpe/pugpe_portal
ca2593cbe0aac5b89e3a0f7b771b631460a37a29
[ "MIT" ]
2
2017-12-10T16:39:47.000Z
2020-05-22T22:37:06.000Z
portal/deploy/fabfile.py
pugpe/pugpe_portal
ca2593cbe0aac5b89e3a0f7b771b631460a37a29
[ "MIT" ]
null
null
null
portal/deploy/fabfile.py
pugpe/pugpe_portal
ca2593cbe0aac5b89e3a0f7b771b631460a37a29
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- # TODO: rollback # TODO: Melhor forma de lidar com settings import os from fabric.api import run, env, cd, put, sudo from fabric.contrib.files import upload_template, exists from fabric.context_managers import prefix, settings from provyfile import servers def uptime(): run("uptime") de...
26.97
75
0.65406
345
2,697
4.965217
0.327536
0.061296
0.032691
0.042032
0.23059
0.23059
0.23059
0.144775
0.144775
0.144775
0
0.004111
0.188357
2,697
99
76
27.242424
0.778438
0.066741
0
0.096774
0
0
0.270443
0.039091
0
0
0
0.010101
0
1
0.193548
false
0
0.080645
0
0.274194
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
aa8ad0a910bc97c347dcd5607a0c5cd2b076981f
519
py
Python
listings/migrations/0002_auto_20210702_2259.py
dev-great/Django-Real-Estate-Management-Webapp
a20b33567d7b1b7217f9170ee2a5da328d307fd0
[ "CNRI-Python" ]
4
2021-07-24T13:59:36.000Z
2021-12-12T13:57:26.000Z
listings/migrations/0002_auto_20210702_2259.py
GR8T/Django-Real-Estate-Management-Webapp
a20b33567d7b1b7217f9170ee2a5da328d307fd0
[ "CNRI-Python" ]
null
null
null
listings/migrations/0002_auto_20210702_2259.py
GR8T/Django-Real-Estate-Management-Webapp
a20b33567d7b1b7217f9170ee2a5da328d307fd0
[ "CNRI-Python" ]
1
2021-07-27T10:10:46.000Z
2021-07-27T10:10:46.000Z
# Generated by Django 3.2.4 on 2021-07-02 21:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('listings', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='listing', name='bathroom', ...
21.625
49
0.564547
49
519
5.897959
0.755102
0.062284
0.110727
0.138408
0
0
0
0
0
0
0
0.05698
0.323699
519
23
50
22.565217
0.766382
0.086705
0
0.235294
1
0
0.108051
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa8bdcdccfd6e3cba722cb3414183f82bac83abb
390
py
Python
constant.py
tenzyu/twitter-home2
56554c9da5880743ded3daa8fe14bb2432f0815c
[ "MIT" ]
null
null
null
constant.py
tenzyu/twitter-home2
56554c9da5880743ded3daa8fe14bb2432f0815c
[ "MIT" ]
null
null
null
constant.py
tenzyu/twitter-home2
56554c9da5880743ded3daa8fe14bb2432f0815c
[ "MIT" ]
null
null
null
from os import getenv from dotenv import load_dotenv load_dotenv() API_KEY = getenv("API_KEY") API_SECRET_KEY = getenv("API_SECRET_KEY") ACCESS_TOKEN = getenv("ACCESS_TOKEN") ACCESS_TOKEN_SECRET = getenv("ACCESS_TOKEN_SECRET") TWITTER_CREDENTIALS = (API_KEY, API_SECRET_KEY, ACCESS_TOKEN, ACCESS_TOKEN_SECRET) HOME2_...
26
82
0.828205
56
390
5.303571
0.339286
0.222222
0.121212
0.10101
0.387205
0
0
0
0
0
0
0.113314
0.094872
390
14
83
27.857143
0.728045
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa90fcefa9aaf181616c2dc57a054d9ff9e6b11c
2,321
py
Python
django_dynamic_formsets/example_files/views.py
venomouscyanide/DjangoDynamicFormsets
8c58a3572bbfac272111204ad0bf04859ddf736e
[ "MIT" ]
null
null
null
django_dynamic_formsets/example_files/views.py
venomouscyanide/DjangoDynamicFormsets
8c58a3572bbfac272111204ad0bf04859ddf736e
[ "MIT" ]
null
null
null
django_dynamic_formsets/example_files/views.py
venomouscyanide/DjangoDynamicFormsets
8c58a3572bbfac272111204ad0bf04859ddf736e
[ "MIT" ]
null
null
null
from django.contrib import messages from django.forms import formset_factory from django.http import HttpResponse from django.shortcuts import render from django.views import View from django_dynamic_formsets.example_files.forms import ExampleForm1, ExampleForm2 from django_dynamic_formsets.users.models import Example...
36.265625
96
0.707885
287
2,321
5.432056
0.247387
0.092367
0.096216
0.066709
0.394484
0.359205
0.194997
0.194997
0.194997
0.161642
0
0.020765
0.211547
2,321
63
97
36.84127
0.831148
0
0
0.25
0
0
0.114175
0.049548
0
0
0
0
0
1
0.166667
false
0
0.145833
0.020833
0.583333
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aa95d7328d674b07503cbb5d849e6842088ce541
299
py
Python
get_currency.py
hibididibidi/usd_cad_NN
084503928848e129057a8f97893342e8c7639fd0
[ "MIT" ]
null
null
null
get_currency.py
hibididibidi/usd_cad_NN
084503928848e129057a8f97893342e8c7639fd0
[ "MIT" ]
null
null
null
get_currency.py
hibididibidi/usd_cad_NN
084503928848e129057a8f97893342e8c7639fd0
[ "MIT" ]
null
null
null
import urllib import ssl # Ignore SSL certificate errors ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE html=urlopen('https://www.oanda.com/fx-for-business/historical-rates?utm_source=average_rates', context=ctx).read() print(html) for line in html:
24.916667
115
0.792642
47
299
4.893617
0.744681
0.086957
0
0
0
0
0
0
0
0
0
0
0.090301
299
11
116
27.181818
0.845588
0.09699
0
0
0
0.125
0.294776
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
aa98396026a0ed15dc1f1b5f35b71f5006df8958
4,061
py
Python
tests/test_best_prefix_BASE.py
kapsh/bitmath
3c00c64d0a749b2204289c060e497904eed39b1a
[ "MIT" ]
72
2015-01-13T21:53:25.000Z
2021-11-22T11:38:25.000Z
tests/test_best_prefix_BASE.py
kapsh/bitmath
3c00c64d0a749b2204289c060e497904eed39b1a
[ "MIT" ]
46
2015-01-11T20:49:37.000Z
2021-10-15T11:40:39.000Z
tests/test_best_prefix_BASE.py
kapsh/bitmath
3c00c64d0a749b2204289c060e497904eed39b1a
[ "MIT" ]
18
2015-05-28T16:41:45.000Z
2022-02-23T14:17:58.000Z
# -*- coding: utf-8 -*- # The MIT License (MIT) # # Copyright © 2014 Tim Bielawa <timbielawa@gmail.com> # # 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 with...
41.865979
82
0.679389
599
4,061
4.504174
0.322204
0.088955
0.050408
0.04003
0.189029
0.148258
0.08599
0.068199
0.037806
0.037806
0
0.021849
0.222359
4,061
96
83
42.302083
0.832172
0.597882
0
0
0
0
0
0
0
0
0
0
0.321429
1
0.214286
false
0
0.071429
0
0.321429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
aa9eceb2b1fa6ee4683f6532d373d2abe756bbc4
8,077
py
Python
qa327_test/frontend/test_home.py
awebsters/SeetGeak-Quality-Assurance-Example
65272068d8fe81266efb0b8528bac339fb063891
[ "MIT" ]
null
null
null
qa327_test/frontend/test_home.py
awebsters/SeetGeak-Quality-Assurance-Example
65272068d8fe81266efb0b8528bac339fb063891
[ "MIT" ]
null
null
null
qa327_test/frontend/test_home.py
awebsters/SeetGeak-Quality-Assurance-Example
65272068d8fe81266efb0b8528bac339fb063891
[ "MIT" ]
null
null
null
import pytest from seleniumbase import BaseCase from qa327_test.conftest import base_url from unittest.mock import patch from qa327.models import db, User from werkzeug.security import generate_password_hash, check_password_hash """ This file defines all unit tests for the frontend homepage. The tests will only test...
35.117391
108
0.648013
1,086
8,077
4.632597
0.172192
0.049692
0.084476
0.095408
0.663089
0.653946
0.620751
0.569072
0.483999
0.412443
0
0.024623
0.235731
8,077
229
109
35.270742
0.790377
0.214807
0
0.447619
1
0
0.262268
0.16285
0
0
0
0
0.171429
1
0.114286
false
0.028571
0.057143
0
0.180952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aaa23e9cdf7af52f9c56469a294cdf90cfba6f26
641
py
Python
tests/test.py
ByteInternet/chargebee-byte
8836ceb52dea9aac341acf92f6134510fee571ff
[ "MIT" ]
null
null
null
tests/test.py
ByteInternet/chargebee-byte
8836ceb52dea9aac341acf92f6134510fee571ff
[ "MIT" ]
3
2018-05-18T09:01:11.000Z
2020-11-23T14:37:02.000Z
tests/test.py
ByteInternet/chargebee-byte
8836ceb52dea9aac341acf92f6134510fee571ff
[ "MIT" ]
null
null
null
from unittest import TestCase, mock from chargebee_byte.client import Client class TestBase(TestCase): def setUp(self): self.chargebee_client = Client('my_site', 'my_api_key') def set_up_patch(self, topatch, themock=None, **kwargs): """ Patch a function or class :param topatc...
25.64
63
0.636505
78
641
5.141026
0.564103
0.069825
0
0
0
0
0
0
0
0
0
0
0.274571
641
24
64
26.708333
0.862366
0.213729
0
0
0
0
0.037445
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aaa55f5a5a540224b8af1385b2c00bb8bda2ab0c
531
py
Python
setup.py
dnet/pysecstr
5d143cffd144378e8d50710de6bc05659f8645fd
[ "MIT" ]
10
2016-11-22T00:36:47.000Z
2020-06-11T20:13:40.000Z
setup.py
dnet/pysecstr
5d143cffd144378e8d50710de6bc05659f8645fd
[ "MIT" ]
6
2017-03-11T22:15:19.000Z
2019-08-13T14:52:02.000Z
setup.py
dnet/pysecstr
5d143cffd144378e8d50710de6bc05659f8645fd
[ "MIT" ]
6
2016-09-27T17:40:23.000Z
2020-12-03T21:27:02.000Z
# -*- encoding: utf-8 -*- try: from setuptools import setup, Extension except ImportError: from distutils.core import setup, Extension setup( name='SecureString', version='0.2', description='Clears the contents of strings containing cryptographic material', author=u'András Veres-Szentkirályi, ...
29.5
83
0.696798
63
531
5.84127
0.84127
0.059783
0.108696
0
0
0
0
0
0
0
0
0.008929
0.156309
531
17
84
31.235294
0.8125
0.043315
0
0
0
0
0.411067
0
0
0
0
0
0
1
0
true
0
0.214286
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
aaaca775937e22f9ae9e26c6901e8e384a309a64
3,273
py
Python
findProduct.py
hannahedeen/finishline
095fb3106b27958ad4e09877decb35fbe472624e
[ "MIT" ]
null
null
null
findProduct.py
hannahedeen/finishline
095fb3106b27958ad4e09877decb35fbe472624e
[ "MIT" ]
null
null
null
findProduct.py
hannahedeen/finishline
095fb3106b27958ad4e09877decb35fbe472624e
[ "MIT" ]
null
null
null
import sys import re DEBUG = False INTENT_WEIGHTS = { #portable budget workstation gaming fast storage touchscreen screenquality "photography": [7.0, 3.0, 6.0, 2.0, 6.0, 10.0, 1.0, 10.0], "gaming": [2.0, 2.0, 7.0, 8.0, 8.0, ...
30.305556
101
0.586923
452
3,273
4.086283
0.256637
0.051976
0.008121
0.004331
0.135355
0.097455
0.097455
0.05739
0
0
0
0.050086
0.292392
3,273
107
102
30.588785
0.747409
0.078827
0
0
0
0
0.03391
0.014295
0
0
0
0
0
0
null
null
0.014085
0.028169
null
null
0.028169
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
aab376bfe401e9afc5bb0d42d56e49a053271adc
480
py
Python
mophealth/migrations/0003_auto_20200629_1112.py
kanezhu1031/midplatform
8a499278bf83fe33b9c75099b79e0b3bca2e0de4
[ "MIT" ]
2
2020-05-21T04:43:56.000Z
2020-05-25T04:34:41.000Z
mophealth/migrations/0003_auto_20200629_1112.py
kanezhu1031/midplatform
8a499278bf83fe33b9c75099b79e0b3bca2e0de4
[ "MIT" ]
4
2020-06-13T08:02:45.000Z
2021-06-10T23:59:20.000Z
mophealth/migrations/0003_auto_20200629_1112.py
canpowerzhu/midplatform
8a499278bf83fe33b9c75099b79e0b3bca2e0de4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2020-06-29 11:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mophealth', '0002_scanlog_taskurl'), ] operations = [ migrations.AlterFiel...
22.857143
75
0.622917
54
480
5.37037
0.777778
0
0
0
0
0
0
0
0
0
0
0.070028
0.25625
480
20
76
24
0.742297
0.14375
0
0
1
0
0.132353
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aab6b49f81aae26d69c4520de7fdb614004665a6
861
py
Python
cwmud/core/text.py
whutch/cwmud
bee8b126a5e70edd0593dae9753a6be8d52357cf
[ "MIT" ]
11
2016-03-03T03:56:59.000Z
2021-11-19T15:38:51.000Z
cwmud/core/text.py
whutch/atria
bee8b126a5e70edd0593dae9753a6be8d52357cf
[ "MIT" ]
26
2016-08-31T23:19:45.000Z
2019-10-19T21:50:33.000Z
cwmud/core/text.py
whutch/atria
bee8b126a5e70edd0593dae9753a6be8d52357cf
[ "MIT" ]
2
2016-01-22T21:22:34.000Z
2016-02-09T06:03:57.000Z
# -*- coding: utf-8 -*- """Text manipulation and processing.""" # Part of Clockwork MUD Server (https://github.com/whutch/cwmud) # :copyright: (c) 2008 - 2017 Will Hutcheson # :license: MIT (https://github.com/whutch/cwmud/blob/master/LICENSE.txt) # TODO: should every character after a caret be considered a code? CAR...
31.888889
73
0.529617
122
861
3.704918
0.606557
0.088496
0.061947
0.088496
0.110619
0
0
0
0
0
0
0.026239
0.203252
861
26
74
33.115385
0.632653
0.487805
0
0
0
0
0.177184
0
0
0
0
0.038462
0
1
0.1
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
aabaf8fa19bdfb857ba4140418b298a4cf52b7ff
651
py
Python
utils/file_utils.py
vijayakshit/right-now
7f5a51b1f7abe431a1fe5676c35e99bc6da7c4b5
[ "MIT" ]
2
2020-06-23T04:20:31.000Z
2020-11-04T07:59:00.000Z
utils/file_utils.py
vijayakshit/right-now
7f5a51b1f7abe431a1fe5676c35e99bc6da7c4b5
[ "MIT" ]
null
null
null
utils/file_utils.py
vijayakshit/right-now
7f5a51b1f7abe431a1fe5676c35e99bc6da7c4b5
[ "MIT" ]
1
2021-06-02T16:26:42.000Z
2021-06-02T16:26:42.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import json import os.path import yaml def load_yaml_file_as_dict(yaml_path): with open(yaml_path, "r") as yaml_file: data = yaml.load(yaml_file, Loader=yaml.FullLoader) return data def fetch_json_file_as_dict(filepath): with open(filepath) as userData: data = json....
21.7
53
0.749616
105
651
4.409524
0.457143
0.051836
0.051836
0.064795
0.116631
0.116631
0
0
0
0
0
0.003534
0.130568
651
29
54
22.448276
0.814488
0.058372
0
0.111111
0
0
0.05892
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0
0.5
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
aabb238d462d993b5c391793c71e0aa7a2371c63
656
py
Python
dataduct/pipeline/property.py
recurly/dataduct
29aec3526e170e5ad3b59a135780e72b69209f0b
[ "Apache-2.0" ]
3
2017-12-29T11:26:15.000Z
2022-02-11T16:44:28.000Z
dataduct/pipeline/property.py
EverFi/dataduct
9833ac57fece80509c68cb29d14895874caa9552
[ "Apache-2.0" ]
7
2017-09-21T23:25:24.000Z
2021-03-29T21:46:45.000Z
dataduct/pipeline/property.py
recurly/dataduct
29aec3526e170e5ad3b59a135780e72b69209f0b
[ "Apache-2.0" ]
null
null
null
""" Pipeline object class for Property (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-object-property.html) """ from ..config import Config from ..s3 import S3LogPath from ..utils import constants as const from ..utils.exceptions import ETLInputError from .pipeline_object import PipelineObject from ....
25.230769
122
0.628049
71
656
5.676056
0.535211
0.069479
0
0
0
0
0
0
0
0
0
0.004211
0.275915
656
25
123
26.24
0.844211
0.185976
0
0
0
0
0.015209
0
0
0
0
0
0
1
0.052632
false
0
0.315789
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
aabd69461cd327691ec29da7dcd98dd32af1a7ff
553
py
Python
mysql/sql.py
SaicharanKandukuri/snippets-python-from-scrach
b0823fde3cf1a88bf43d97bdc542de7e32c76dac
[ "MIT" ]
1
2021-05-29T03:09:24.000Z
2021-05-29T03:09:24.000Z
mysql/sql.py
SaicharanKandukuri/snippets-python-from-scrach
b0823fde3cf1a88bf43d97bdc542de7e32c76dac
[ "MIT" ]
null
null
null
mysql/sql.py
SaicharanKandukuri/snippets-python-from-scrach
b0823fde3cf1a88bf43d97bdc542de7e32c76dac
[ "MIT" ]
null
null
null
import mysql.connector mydb = mysql.connector.connect( user="zman", password="Sai.k123089" ) print(mydb) mycorsor = mydb.cursor() mycorsor.execute("use zman") #mycorsor.execute("CREATE TABLE customers (name VARCHAR(255), address VARCHAR(255))") sql = "INSERT INTO customers (name, address) VALUES (%s, %s)" val = [...
29.105263
85
0.663653
68
553
5.397059
0.661765
0.122616
0
0
0
0
0
0
0
0
0
0.046709
0.148282
553
19
86
29.105263
0.732484
0.151899
0
0
0
0
0.379531
0
0
0
0
0
0
1
0
false
0.0625
0.0625
0
0.0625
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
aac8ac6a8b28c67f4b7f17382ab854e9eb49b4f3
327
py
Python
app.py
juniorkrvl/flasky
b0efcf083acf7b572f497e4bbea8d950a4dde100
[ "MIT" ]
null
null
null
app.py
juniorkrvl/flasky
b0efcf083acf7b572f497e4bbea8d950a4dde100
[ "MIT" ]
null
null
null
app.py
juniorkrvl/flasky
b0efcf083acf7b572f497e4bbea8d950a4dde100
[ "MIT" ]
null
null
null
from flask import Flask from flask.ext.script import Manager app = Flask(__name__) manager = Manager(app) @app.route('/') def index(): return '<h1>Hello World!</h1>' @app.route('/user/<name>') def user(name): return '<h1>Hello, %s!</h1>' % name if __name__ == '__main__': # app.run(debug=True) manage...
20.4375
39
0.642202
47
327
4.212766
0.468085
0.090909
0.131313
0
0
0
0
0
0
0
0
0.014652
0.165138
327
16
40
20.4375
0.710623
0.058104
0
0
0
0
0.198697
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
aacbe5764d5746ad410f53d463fc43c9c35f9e70
928
py
Python
diplomova_praca_lib/setup.py
MDobransky/thesis-grizzly
b038b477596879465636eae34444d70742a86e8f
[ "MIT" ]
null
null
null
diplomova_praca_lib/setup.py
MDobransky/thesis-grizzly
b038b477596879465636eae34444d70742a86e8f
[ "MIT" ]
1
2020-09-21T21:38:46.000Z
2020-09-21T21:38:46.000Z
diplomova_praca_lib/setup.py
MDobransky/thesis-grizzly
b038b477596879465636eae34444d70742a86e8f
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name="diplomova-praca-jankasvk", version="0.0.1", author="Jana Bátoryová", author_email="janulik11@gmail.com", description="Diplomova Praca lib", long_description_content_type="text/markdown", url="https://github.com/JankaSvK/thesis-grizzly", ...
29.935484
102
0.59806
93
928
5.827957
0.72043
0.051661
0
0
0
0
0
0
0
0
0
0.021614
0.252155
928
30
103
30.933333
0.759366
0.020474
0
0
0
0
0.470924
0.120867
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
aacdd39ab8195ac81e5b2f5108413f2d88c6a4b9
618
py
Python
1-100/47.swap-permutations-ii.py
guangxu-li/leetcode-in-python
8a5a373b32351500342705c141591a1a8f5f1cb1
[ "MIT" ]
null
null
null
1-100/47.swap-permutations-ii.py
guangxu-li/leetcode-in-python
8a5a373b32351500342705c141591a1a8f5f1cb1
[ "MIT" ]
null
null
null
1-100/47.swap-permutations-ii.py
guangxu-li/leetcode-in-python
8a5a373b32351500342705c141591a1a8f5f1cb1
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=47 lang=python3 # # [47] Permutations II # # @lc code=start class Solution: def generate(self, nums: list[int], pos: int) -> set[tuple[int]]: if pos == len(nums): return {tuple(nums)} output = set() for i in range(pos, len(nums)): nums[pos], ...
23.769231
69
0.558252
87
618
3.965517
0.413793
0.101449
0.104348
0.086957
0.13913
0.13913
0.13913
0.13913
0
0
0
0.015625
0.275081
618
25
70
24.72
0.754464
0.135922
0
0.166667
1
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0.083333
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aad03584ec4c01f26aa028d73cb3037f09a38c9d
778
py
Python
backend/forms.py
thejeshpr/em-backend
a99ea1e751e084429cf80d8b5d69e50bedc40ee4
[ "MIT" ]
null
null
null
backend/forms.py
thejeshpr/em-backend
a99ea1e751e084429cf80d8b5d69e50bedc40ee4
[ "MIT" ]
null
null
null
backend/forms.py
thejeshpr/em-backend
a99ea1e751e084429cf80d8b5d69e50bedc40ee4
[ "MIT" ]
null
null
null
import datetime from django import forms from django.forms import ModelForm from django.utils import timezone from .models import Category, Transaction, Account class CategoryForm(ModelForm): class Meta: model = Category fields = [ 'name', ] class TransactionForm(ModelForm)...
18.093023
50
0.525707
68
778
5.985294
0.485294
0.07371
0.132678
0.169533
0
0
0
0
0
0
0
0
0.377892
778
42
51
18.52381
0.840909
0.034704
0
0.28125
0
0
0.065421
0
0
0
0
0
0
1
0
false
0
0.15625
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aad7c500caae53543042f96dadfd26bdd1f36384
446
py
Python
polls/models.py
rodrigopmatias/django-tutorial
701777805da5dc36f0bce50396d059be78c0debc
[ "MIT" ]
null
null
null
polls/models.py
rodrigopmatias/django-tutorial
701777805da5dc36f0bce50396d059be78c0debc
[ "MIT" ]
null
null
null
polls/models.py
rodrigopmatias/django-tutorial
701777805da5dc36f0bce50396d059be78c0debc
[ "MIT" ]
null
null
null
from django.db import models class Question(models.Model): question_text = models.CharField("Question", max_length=200) pub_date = models.DateTimeField("date_published", auto_now=False, auto_now_add=False, null=True) class Choice(models.Model): question = models.ForeignKey("polls.Question", on_delete=mo...
37.166667
100
0.757848
59
446
5.559322
0.559322
0.085366
0.115854
0
0
0
0
0
0
0
0
0.017812
0.118834
446
12
101
37.166667
0.816794
0
0
0
0
0
0.105145
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aade237bce2fa85b76cfeebddc5824566a83f137
5,819
py
Python
proto/mediapipe/framework/testdata/zoo_mutator_pb2.py
hayashikun/qover
571a18861657bbcc85f212f775512cc7494b51c9
[ "Apache-2.0" ]
null
null
null
proto/mediapipe/framework/testdata/zoo_mutator_pb2.py
hayashikun/qover
571a18861657bbcc85f212f775512cc7494b51c9
[ "Apache-2.0" ]
null
null
null
proto/mediapipe/framework/testdata/zoo_mutator_pb2.py
hayashikun/qover
571a18861657bbcc85f212f775512cc7494b51c9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: mediapipe/framework/testdata/zoo_mutator.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection a...
40.692308
443
0.777281
716
5,819
5.949721
0.195531
0.038028
0.053521
0.057042
0.619249
0.582864
0.484742
0.419014
0.401174
0.401174
0
0.02526
0.108782
5,819
142
444
40.978873
0.796182
0.064272
0
0.567797
1
0.008475
0.216639
0.157004
0
0
0
0
0
1
0
false
0
0.042373
0
0.042373
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aae51da08fdc6714a2ae7c29fd0280e26d891e1c
9,756
py
Python
cog/forms/forms_project.py
downiec/COG
cea8ceac701958b6af8e272698bfb08d89f62bf4
[ "BSD-3-Clause" ]
6
2016-03-10T19:38:17.000Z
2021-02-23T09:34:59.000Z
cog/forms/forms_project.py
downiec/COG
cea8ceac701958b6af8e272698bfb08d89f62bf4
[ "BSD-3-Clause" ]
602
2015-01-05T16:30:08.000Z
2021-02-02T21:44:38.000Z
cog/forms/forms_project.py
cedadev/COG
6167f9114c7cf0422b34fb9f5f3f07f9657a7dbe
[ "BSD-3-Clause" ]
18
2015-02-12T15:50:17.000Z
2021-04-27T16:40:36.000Z
from cog.models import * from django.forms import ModelForm, ModelMultipleChoiceField, NullBooleanSelect from django.db import models from django.contrib.admin.widgets import FilteredSelectMultiple from django import forms from django.forms import ModelForm, Textarea, TextInput, Select, SelectMultiple, FileInput, Check...
46.018868
118
0.607524
1,032
9,756
5.637597
0.27907
0.032485
0.037986
0.018047
0.259024
0.201616
0.16363
0.132348
0.120316
0.102097
0
0.004748
0.287618
9,756
211
119
46.236967
0.832374
0.196187
0
0.26087
0
0
0.188348
0.005634
0
0
0
0
0
0
null
null
0.007246
0.094203
null
null
0.007246
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2a9e3264e768d27363ba2f585c325c79cb136f82
1,863
py
Python
pedantic/tests/tests_pedantic_async.py
LostInDarkMath/Pedantic-python-decorators
32ed54c9593e80f63c0499093cb07847d8a5e1df
[ "Apache-2.0" ]
null
null
null
pedantic/tests/tests_pedantic_async.py
LostInDarkMath/Pedantic-python-decorators
32ed54c9593e80f63c0499093cb07847d8a5e1df
[ "Apache-2.0" ]
null
null
null
pedantic/tests/tests_pedantic_async.py
LostInDarkMath/Pedantic-python-decorators
32ed54c9593e80f63c0499093cb07847d8a5e1df
[ "Apache-2.0" ]
null
null
null
import asyncio import unittest from typing import Any, Coroutine from pedantic.decorators.class_decorators import pedantic_class from pedantic.exceptions import PedanticTypeCheckException from pedantic.decorators.fn_deco_pedantic import pedantic class TestPedanticAsyncio(unittest.IsolatedAsyncioTestCase): async ...
31.05
78
0.634461
186
1,863
6.225806
0.236559
0.069085
0.088083
0.093264
0.590674
0.590674
0.539724
0.41019
0.103627
0.103627
0
0.007616
0.295223
1,863
59
79
31.576271
0.874334
0
0
0.468085
0
0
0.006441
0
0
0
0
0
0.106383
1
0
true
0
0.12766
0
0.297872
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
2aa8d0d5a17ff7bd604a2902fb4749b6274e8371
249
py
Python
snippets/02_session.py
BoozAllen-DarkLabs/cachecat
bea333848d5867bf7f1ebc9b873e689243f52ecb
[ "MIT" ]
2
2021-11-19T15:16:27.000Z
2022-01-28T18:28:18.000Z
snippets/02_session.py
BoozAllen-DarkLabs/cachecat
bea333848d5867bf7f1ebc9b873e689243f52ecb
[ "MIT" ]
null
null
null
snippets/02_session.py
BoozAllen-DarkLabs/cachecat
bea333848d5867bf7f1ebc9b873e689243f52ecb
[ "MIT" ]
1
2021-11-19T15:17:43.000Z
2021-11-19T15:17:43.000Z
from cachecat.session import Session session = Session(1337) for step, token in session: try: print("Step %i contains: %s” % (step, cache[token])) except KeyError: print("Missing step: %i" % (step)) break
22.636364
61
0.590361
30
249
4.9
0.633333
0.190476
0
0
0
0
0
0
0
0
0
0.022599
0.289157
249
10
62
24.9
0.80791
0
0
0
0
0
0.064257
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2aac63a6151c6dbc75f9e9718549aabaa688c648
2,716
py
Python
lotube/videos/mixins.py
zurfyx/lotube
d00a456d4aff5a6f4c63dab5d90ba6a3a72e3a3f
[ "MIT" ]
null
null
null
lotube/videos/mixins.py
zurfyx/lotube
d00a456d4aff5a6f4c63dab5d90ba6a3a72e3a3f
[ "MIT" ]
null
null
null
lotube/videos/mixins.py
zurfyx/lotube
d00a456d4aff5a6f4c63dab5d90ba6a3a72e3a3f
[ "MIT" ]
null
null
null
from annoying.functions import get_object_or_None from django.db import transaction from django.http import Http404 from django.shortcuts import get_object_or_404 from django.views.generic import ListView, DetailView, UpdateView, DeleteView from django.views.generic.edit import CreateView from config import constants ...
27.714286
77
0.673785
309
2,716
5.776699
0.252427
0.044818
0.02465
0.060504
0.158543
0.12493
0.12493
0.12493
0.090756
0
0
0.004794
0.231959
2,716
97
78
28
0.850911
0.005523
0
0.253731
0
0
0.018168
0
0
0
0
0
0
1
0.089552
false
0
0.149254
0
0.626866
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2aad09d1927dfc8385936ed85399997c55bdb7d7
469
py
Python
apps/external_apps/django_extensions/db/models.py
indro/t2c
56482ad4aed150f29353e054db2c97b567243bf8
[ "MIT" ]
3
2015-12-25T14:45:36.000Z
2016-11-28T09:58:03.000Z
apps/external_apps/django_extensions/db/models.py
indro/t2c
56482ad4aed150f29353e054db2c97b567243bf8
[ "MIT" ]
null
null
null
apps/external_apps/django_extensions/db/models.py
indro/t2c
56482ad4aed150f29353e054db2c97b567243bf8
[ "MIT" ]
null
null
null
""" Django Extensions abstract base model classes. """ from django.db import models from django_extensions.db.fields import ModificationDateTimeField, CreationDateTimeField class TimeStampedModel(models.Model): """ TimeStampedModel An abstract base class model that provides self-managed "created" and "mod...
26.055556
88
0.73774
45
469
7.666667
0.555556
0.092754
0
0
0
0
0
0
0
0
0
0
0.187633
469
17
89
27.588235
0.905512
0.324094
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2aaebb0f938d3cd09e7f02b473d91dbab36915c3
35,558
py
Python
Treasure.py
Sloths/Project-Two
d5fda4358656fa215aaad954d9a5faaeda214b5e
[ "MIT", "Unlicense" ]
null
null
null
Treasure.py
Sloths/Project-Two
d5fda4358656fa215aaad954d9a5faaeda214b5e
[ "MIT", "Unlicense" ]
23
2015-01-12T16:11:06.000Z
2015-01-29T23:39:10.000Z
Treasure.py
Sloths/Project-Two
d5fda4358656fa215aaad954d9a5faaeda214b5e
[ "MIT", "Unlicense" ]
null
null
null
from Tkinter import * import ttk import random import time window = Tk() canvas = Canvas(window, width=854, height=480, bg='white') canvas.pack() #Creates window and centers to any screen window.geometry('{}x{}'. format(874, 670)) #Setting size of window window.withdraw() #Hide window to stop showing in wrong positio...
48.709589
220
0.519208
4,181
35,558
4.405645
0.133939
0.018567
0.010641
0.011726
0.434691
0.412432
0.361238
0.329859
0.316884
0.260261
0
0.071175
0.382024
35,558
729
221
48.776406
0.767088
0.234856
0
0.387479
0
0
0.043461
0
0
0
0
0
0
0
null
null
0
0.006768
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2aaf21c6ab16d39f9db64a6cb313d1ad3b5d504e
940
py
Python
base/services/tests/cli_tests.py
joeportela/tinyAPI
f2469c38a605b00519acd0b79af17d0041f5ae7b
[ "MIT" ]
6
2016-11-18T22:32:44.000Z
2021-04-01T17:02:13.000Z
base/services/tests/cli_tests.py
joeportela/tinyAPI
f2469c38a605b00519acd0b79af17d0041f5ae7b
[ "MIT" ]
1
2018-12-20T23:07:52.000Z
2018-12-20T23:07:52.000Z
base/services/tests/cli_tests.py
joeportela/tinyAPI
f2469c38a605b00519acd0b79af17d0041f5ae7b
[ "MIT" ]
10
2018-02-23T00:08:21.000Z
2020-10-01T03:06:12.000Z
# ----- Info ------------------------------------------------------------------ __author__ = 'Michael Montero <mcmontero@gmail.com>' # ----- Imports --------------------------------------------------------------- from tinyAPI.base.services.cli import CLIOutputRenderer import tinyAPI import unittest # ----- Tests -...
33.571429
100
0.324468
43
940
6.767442
0.674419
0.158076
0
0
0
0
0
0
0
0
0
0
0.162766
940
27
101
34.814815
0.369759
0.330851
0
0
0
0
0.458333
0.277244
0
0
0
0
0.076923
1
0.076923
false
0
0.230769
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2aaf808660618c4b063e717f22269a10607d442a
471
py
Python
apps/accounts/backends.py
xobb1t/ddash2013
d1fcd95311ab51955d5ab9c1a7ba3315c6df1afa
[ "MIT" ]
1
2016-03-22T21:18:11.000Z
2016-03-22T21:18:11.000Z
apps/accounts/backends.py
xobb1t/ddash2013
d1fcd95311ab51955d5ab9c1a7ba3315c6df1afa
[ "MIT" ]
null
null
null
apps/accounts/backends.py
xobb1t/ddash2013
d1fcd95311ab51955d5ab9c1a7ba3315c6df1afa
[ "MIT" ]
null
null
null
from django.contrib.auth.backends import ModelBackend from .models import User class UserAuthenticationBackend(ModelBackend): def authenticate(self, email, password, organization): try: user = User.objects.get(email__iexact=email, organization=organization)...
31.4
62
0.636943
44
471
6.727273
0.613636
0.108108
0
0
0
0
0
0
0
0
0
0
0.292994
471
14
63
33.642857
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0.272727
0.181818
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2ab1c5e263a4af007a89eba396a97e6bcc8bb254
3,892
py
Python
tests/test_subscriber.py
sappjw/data-subscriber
6536e408eeba682e6c310e2a5642d1739c3c59aa
[ "Apache-2.0" ]
null
null
null
tests/test_subscriber.py
sappjw/data-subscriber
6536e408eeba682e6c310e2a5642d1739c3c59aa
[ "Apache-2.0" ]
null
null
null
tests/test_subscriber.py
sappjw/data-subscriber
6536e408eeba682e6c310e2a5642d1739c3c59aa
[ "Apache-2.0" ]
null
null
null
from subscriber import podaac_data_subscriber as pds import pytest def test_temporal_range(): assert pds.get_temporal_range(None, '2021-01-01T00:00:00Z', "2021-08-20T13:30:38Z") == "1900-01-01T00:00:00Z,2021-01-01T00:00:00Z" assert pds.get_temporal_range('2021-01-01T00:00:00Z', '2022-01-01T00:00:00Z', "2021-...
39.313131
152
0.553443
566
3,892
3.74735
0.169611
0.093352
0.094295
0.090523
0.735502
0.694955
0.611975
0.579915
0.533239
0.492692
0
0.156702
0.183453
3,892
98
153
39.714286
0.510699
0.133607
0
0.2
0
0
0.344879
0.083308
0
0
0
0
0.418182
1
0.054545
false
0
0.036364
0
0.109091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
2ab480c9a8562065cc632b153a15863b2f722601
16,681
py
Python
aneris/utilities/files.py
H0R5E/aneris
f6617e3c16e11ae3ec11118b0cd82b747001665a
[ "MIT" ]
null
null
null
aneris/utilities/files.py
H0R5E/aneris
f6617e3c16e11ae3ec11118b0cd82b747001665a
[ "MIT" ]
7
2017-05-17T12:21:50.000Z
2019-07-08T11:17:17.000Z
aneris/utilities/files.py
H0R5E/aneris
f6617e3c16e11ae3ec11118b0cd82b747001665a
[ "MIT" ]
1
2017-03-21T10:14:19.000Z
2017-03-21T10:14:19.000Z
# -*- coding: utf-8 -*- """ Editor de Spyder Este es archivo temporal """ import os import glob import errno import argparse from copy import deepcopy from collections import Counter, OrderedDict import numpy as np import pandas as pd from yaml import load, safe_dump from win32com.client import Dispatch try: ...
28.710843
79
0.495294
1,712
16,681
4.636682
0.181659
0.018896
0.019274
0.008062
0.229781
0.183044
0.156463
0.139204
0.11867
0.085664
0
0.003131
0.425514
16,681
580
80
28.760345
0.825211
0.027936
0
0.211356
0
0
0.075545
0
0
0
0
0
0
0
null
null
0.003155
0.041009
null
null
0.025237
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2ab58c972e7ae59ed6d03b591f7c1f8947fd8459
7,870
py
Python
graphblas/tests/test_ss_utils.py
jim22k/grblas
7c96ddd3cb485f2c98637e7fb96070ff6c48d219
[ "Apache-2.0" ]
4
2020-01-25T00:16:13.000Z
2020-04-23T04:25:13.000Z
graphblas/tests/test_ss_utils.py
jim22k/grblas
7c96ddd3cb485f2c98637e7fb96070ff6c48d219
[ "Apache-2.0" ]
25
2020-03-10T16:28:22.000Z
2020-07-22T02:13:52.000Z
graphblas/tests/test_ss_utils.py
jim22k/grblas
7c96ddd3cb485f2c98637e7fb96070ff6c48d219
[ "Apache-2.0" ]
1
2020-03-13T21:39:50.000Z
2020-03-13T21:39:50.000Z
import numpy as np import pytest from numpy.testing import assert_array_equal import graphblas as gb from graphblas import Matrix, Vector @pytest.mark.parametrize("do_iso", [False, True]) def test_vector_head(do_iso): v0 = Vector(int, 5) if do_iso: values1 = values2 = values3 = [1, 1, 1] else: ...
36.100917
84
0.579416
1,095
7,870
4.026484
0.109589
0.089816
0.130642
0.032434
0.679066
0.597414
0.572465
0.49399
0.49399
0.46836
0
0.051209
0.285388
7,870
217
85
36.267281
0.732752
0.009022
0
0.408377
0
0
0.049056
0
0
0
0
0
0.471204
1
0.020942
false
0
0.04712
0
0.068063
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
2ab6c727653c68ee1bcb947e5227cf387262b36c
1,022
py
Python
paddle/simple_fluid.py
jiweibo/Scripts
70b6afdea8d086375d5c42f05153cb5fa3669532
[ "BSD-3-Clause" ]
null
null
null
paddle/simple_fluid.py
jiweibo/Scripts
70b6afdea8d086375d5c42f05153cb5fa3669532
[ "BSD-3-Clause" ]
null
null
null
paddle/simple_fluid.py
jiweibo/Scripts
70b6afdea8d086375d5c42f05153cb5fa3669532
[ "BSD-3-Clause" ]
null
null
null
import paddle import paddle.fluid as fluid x = fluid.layers.data(name='x', shape=[13], dtype='float32') y_predict = fluid.layers.fc(input=x, size=1, act=None) y = fluid.layers.data(name='y', shape=[1], dtype='float32') cost = fluid.layers.square_error_cost(input=y_predict, label=y) avg_cost = fluid.layers.mean(x=cost)...
35.241379
115
0.75636
166
1,022
4.445783
0.451807
0.074526
0.04065
0.051491
0.075881
0.075881
0
0
0
0
0
0.020452
0.090998
1,022
28
116
36.5
0.77395
0
0
0
0
0
0.052889
0
0
0
0
0
0
1
0
false
0.090909
0.090909
0
0.090909
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2ab93b35edaba3dffcdbffccfcdf2ab6a46673da
716
py
Python
djaludir/core/views.py
carthagecollege/django-djaludir
126735000efb69d7184aec9591a96667070f1870
[ "BSD-3-Clause" ]
null
null
null
djaludir/core/views.py
carthagecollege/django-djaludir
126735000efb69d7184aec9591a96667070f1870
[ "BSD-3-Clause" ]
2
2020-06-05T19:30:19.000Z
2021-06-10T20:54:38.000Z
djaludir/core/views.py
carthagecollege/django-djaludir
126735000efb69d7184aec9591a96667070f1870
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.core.urlresolvers import reverse_lazy from django.shortcuts import render from django.contrib.auth.decorators import login_required @login_required def home(request): username = None if request.session.get('username'): username = request.session['username'] ...
28.64
79
0.673184
83
716
5.698795
0.53012
0.147992
0.093023
0
0
0
0
0
0
0
0
0.001786
0.217877
716
24
80
29.833333
0.842857
0.02933
0
0
0
0
0.277056
0.060606
0
0
0
0
0
1
0.052632
false
0.157895
0.157895
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2ac5b0146fbc3cd7a31d2e9eabfc69c64ccb6a9e
6,914
py
Python
ppysal/fisher_jenks/fj_refactored.py
ElsevierSoftwareX/SOFTX_2018_242
9a7d7c02b2f1d7b6bfd1b08fbb2150c30ddd1046
[ "NCSA", "BSD-3-Clause" ]
22
2015-07-16T01:05:44.000Z
2021-07-28T15:38:19.000Z
ppysal/fisher_jenks/fj_refactored.py
ElsevierSoftwareX/SOFTX-D-15-00005
bb0c21ca479db5ac3ecf789ab280d5e45c3c7805
[ "NCSA", "BSD-3-Clause" ]
1
2016-07-25T02:25:20.000Z
2016-07-25T17:38:26.000Z
ppysal/fisher_jenks/fj_refactored.py
ElsevierSoftwareX/SOFTX-D-15-00005
bb0c21ca479db5ac3ecf789ab280d5e45c3c7805
[ "NCSA", "BSD-3-Clause" ]
20
2015-10-28T15:28:48.000Z
2021-06-17T14:29:16.000Z
import numpy as np import time import multiprocessing import ctypes import warnings #Suppress the divide by zero errors warnings.filterwarnings('ignore', category=RuntimeWarning) np.set_printoptions(linewidth = 200, suppress = True) def fj_generate_sample(y, pct=0.10, random=True): n = y.size if random: ...
30.19214
106
0.590975
943
6,914
4.293743
0.283139
0.007409
0.009879
0.005927
0.119042
0.079526
0.070635
0.060262
0.060262
0.060262
0
0.037821
0.296355
6,914
228
107
30.324561
0.79445
0.073185
0
0.108527
0
0
0.003196
0
0
0
0
0
0
0
null
null
0
0.046512
null
null
0.054264
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2acde267ff995aa16592c15eacb945ba0ffcab03
659
py
Python
deep500/frameworks/reference/custom_operators/python/relu_op.py
khoaideptrai/deep500
0953038f64bc73c8d41d01796e07d3a23ca97822
[ "BSD-3-Clause" ]
90
2019-01-02T22:49:08.000Z
2022-02-17T21:11:38.000Z
deep500/frameworks/reference/custom_operators/python/relu_op.py
khoaideptrai/deep500
0953038f64bc73c8d41d01796e07d3a23ca97822
[ "BSD-3-Clause" ]
4
2019-02-14T16:19:06.000Z
2022-01-11T17:54:42.000Z
deep500/frameworks/reference/custom_operators/python/relu_op.py
khoaideptrai/deep500
0953038f64bc73c8d41d01796e07d3a23ca97822
[ "BSD-3-Clause" ]
24
2019-01-09T18:09:44.000Z
2022-01-10T13:04:42.000Z
import numpy as np from deep500.lv0.operators.operator_interface import CustomPythonOp class ReluOp(CustomPythonOp): def __init__(self, input_descriptors, output_descriptors): super(ReluOp, self).__init__(input_descriptors, output_descriptors) self._input_desc = input_descriptors self._outp...
31.380952
75
0.681335
87
659
4.83908
0.425287
0.071259
0.049881
0.15677
0
0
0
0
0
0
0
0.019608
0.2261
659
21
76
31.380952
0.805882
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.066667
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2acee2aa18e7fd7572a2855d7b2a1f70cbb499ee
971
py
Python
incidentes/migrations/0003_auto_20181120_1622.py
Alvaruz/ATMS
962a1967e1654efe4d448891deb7881fa3addf85
[ "MIT" ]
null
null
null
incidentes/migrations/0003_auto_20181120_1622.py
Alvaruz/ATMS
962a1967e1654efe4d448891deb7881fa3addf85
[ "MIT" ]
null
null
null
incidentes/migrations/0003_auto_20181120_1622.py
Alvaruz/ATMS
962a1967e1654efe4d448891deb7881fa3addf85
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2018-11-20 19:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('incidentes', '0002_auto_20181120_1612'), ] operations = [ migrations.RemoveField( model_name='t...
29.424242
153
0.604531
101
971
5.693069
0.435644
0.055652
0.104348
0.132174
0.587826
0.563478
0.26087
0.26087
0.26087
0.26087
0
0.045326
0.272915
971
32
154
30.34375
0.769122
0.046344
0
0.615385
1
0
0.147186
0.024892
0
0
0
0
0
1
0
false
0
0.076923
0
0.192308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2ad66873ec0a9f40f217b29662f80c29d4e0e949
449
py
Python
ProjectSite/migrations/0029_blog_test2.py
LEE-RUM/nbacares-498
cd788f58ce7ac03454abcd496d5fe2f5ae82e3bd
[ "MIT" ]
null
null
null
ProjectSite/migrations/0029_blog_test2.py
LEE-RUM/nbacares-498
cd788f58ce7ac03454abcd496d5fe2f5ae82e3bd
[ "MIT" ]
null
null
null
ProjectSite/migrations/0029_blog_test2.py
LEE-RUM/nbacares-498
cd788f58ce7ac03454abcd496d5fe2f5ae82e3bd
[ "MIT" ]
2
2022-02-01T19:02:12.000Z
2022-03-29T16:21:23.000Z
# Generated by Django 3.2.8 on 2022-02-14 23:01 import ckeditor_uploader.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('ProjectSite', '0028_remove_blog_test2'), ] operations = [ migrations.AddField( model_name='blog', ...
22.45
91
0.643653
48
449
5.895833
0.75
0.113074
0.155477
0
0
0
0
0
0
0
0
0.0625
0.25167
449
19
92
23.631579
0.779762
0.100223
0
0
1
0
0.104478
0.054726
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2adad40ddd2e909798022c9d12cbdc8aaf56e081
1,617
py
Python
CNN/prep_data_for_convnet.py
saebrahimi/Emotion-Recognition-EmotiW-2015-
0afba1d8c472697df879f13ab2cb347136401ee4
[ "MIT" ]
93
2016-02-16T23:23:26.000Z
2021-12-07T02:10:11.000Z
CNN/prep_data_for_convnet.py
saebrahimi/Emotion-Recognition-EmotiW-2015-
0afba1d8c472697df879f13ab2cb347136401ee4
[ "MIT" ]
7
2015-11-30T02:48:03.000Z
2017-12-30T06:57:40.000Z
CNN/prep_data_for_convnet.py
saebrahimi/Emotion-Recognition-EmotiW-2015-
0afba1d8c472697df879f13ab2cb347136401ee4
[ "MIT" ]
48
2015-12-20T21:37:10.000Z
2021-11-07T09:36:03.000Z
#!/usr/bin/env python #-*- coding: utf-8 -*- import numpy as np import tables convnet_datafile = '/home/vincent/data/emotiw2015/Datasets/convnet_data.h5' mean_std_file = '/home/vincent/data/emotiw2015/Datasets/fertfd_mean_std.h5' from data_provider import EmotionData numpy_rng = np.random.RandomState(1) fer_path =...
35.933333
75
0.756957
219
1,617
5.369863
0.310502
0.056122
0.076531
0.127551
0.434524
0.251701
0.251701
0.102041
0
0
0
0.056604
0.115028
1,617
44
76
36.75
0.765199
0.047619
0
0.064516
0
0
0.323357
0.229018
0
0
0
0
0
0
null
null
0
0.096774
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2adfa5603510b5c0ce9f049510e9539047f88898
1,683
py
Python
KuldeepDwivedi_A2305218477/BFS/Water_jug.py
suraj0803/AI-LAB-WORK
c09776c104529678215d4f51a756ea0039a89df4
[ "Apache-2.0" ]
null
null
null
KuldeepDwivedi_A2305218477/BFS/Water_jug.py
suraj0803/AI-LAB-WORK
c09776c104529678215d4f51a756ea0039a89df4
[ "Apache-2.0" ]
null
null
null
KuldeepDwivedi_A2305218477/BFS/Water_jug.py
suraj0803/AI-LAB-WORK
c09776c104529678215d4f51a756ea0039a89df4
[ "Apache-2.0" ]
null
null
null
# Water Jug problem print("Solution for Water Jug problem!") x = int(input("Enter the capacity of jug1 : ")) y = int(input("Entert the capacity of jug2 : ")) target = int(input("Enter the target volume : ")) def bfs(start, target, x, y): path = [] front = [] front.append(start) visited = [] while(n...
25.892308
84
0.512181
264
1,683
3.265152
0.170455
0.034803
0.083527
0.118329
0.407193
0.317865
0.241299
0.118329
0.118329
0.088167
0
0.032122
0.297089
1,683
65
85
25.892308
0.696534
0.010101
0
0
0
0
0.083073
0
0
0
0
0
0
0
null
null
0
0
null
null
0.088889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2ae05ceecdaee7e940ae15be0a90eca82ddfc814
817
py
Python
spark_auto_mapper_fhir/value_sets/v2_0092.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
1
2021-11-18T18:06:45.000Z
2021-11-18T18:06:45.000Z
spark_auto_mapper_fhir/value_sets/v2_0092.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
null
null
null
spark_auto_mapper_fhir/value_sets/v2_0092.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations from spark_auto_mapper_fhir.fhir_types.uri import FhirUri from spark_auto_mapper_fhir.value_sets.generic_type import GenericTypeCode from spark_auto_mapper.type_definitions.defined_types import AutoMapperTextInputType # This file is auto-generated by generate_classes so do not edi...
31.423077
84
0.75765
107
817
5.53271
0.542056
0.050676
0.065878
0.096284
0.255068
0.177365
0.177365
0
0
0
0
0.052174
0.155447
817
25
85
32.68
0.805797
0.321909
0
0
0
0
0.092275
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2ae29e6a75c73351a41ff9e4109d896d30f2400e
2,879
py
Python
utils/utils.py
killf/SSD-PaddlePaddle
b0d7f50bd7b4f006ec796587fe70f118e790c0fb
[ "Apache-2.0" ]
1
2021-03-22T16:26:55.000Z
2021-03-22T16:26:55.000Z
utils/utils.py
killf/SSD-PaddlePaddle
b0d7f50bd7b4f006ec796587fe70f118e790c0fb
[ "Apache-2.0" ]
1
2021-03-28T04:15:45.000Z
2021-03-28T04:15:45.000Z
utils/utils.py
killf/SSD-PaddlePaddle
b0d7f50bd7b4f006ec796587fe70f118e790c0fb
[ "Apache-2.0" ]
1
2021-03-09T07:50:37.000Z
2021-03-09T07:50:37.000Z
import paddle.fluid as fluid import numpy as np import cv2 def bboxes_intersection(bbox_ref, bboxes): """Compute relative intersection between a reference box and a collection of bounding boxes. Namely, compute the quotient between intersection area and box area. Args: bbox_ref: (N, 4) or (4,) T...
27.951456
139
0.615144
467
2,879
3.663812
0.289079
0.032729
0.028054
0.029223
0.08533
0.065459
0.065459
0
0
0
0
0.057851
0.243487
2,879
102
140
28.22549
0.727732
0.383119
0
0.06383
0
0
0
0
0
0
0
0
0
1
0.170213
false
0.06383
0.06383
0
0.340426
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2ae35d13ab89aa4f48208d55367dc2a71cc5d8c8
402
py
Python
main.py
adadesions/PyWrongLang
05a2849c7cc1f8c7094879169e585e476848fa2f
[ "MIT" ]
null
null
null
main.py
adadesions/PyWrongLang
05a2849c7cc1f8c7094879169e585e476848fa2f
[ "MIT" ]
null
null
null
main.py
adadesions/PyWrongLang
05a2849c7cc1f8c7094879169e585e476848fa2f
[ "MIT" ]
1
2020-11-13T01:39:31.000Z
2020-11-13T01:39:31.000Z
import os from yaml import load, dump try: from yaml import CLoader as Loader except ImportError: from yaml import Loader FILE_PATH = os.path.dirname(__file__) DATA_PATH = os.path.join(FILE_PATH, 'en-th.yml') with open(DATA_PATH, 'r') as file: en_th = load(file) text = input("Enter text to Convert: "...
21.157895
48
0.664179
64
402
4.015625
0.515625
0.093385
0.163424
0
0
0
0
0
0
0
0
0
0.228856
402
19
49
21.157895
0.829032
0
0
0
0
0
0.081886
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2ae35d6f8ca9741ec4ed533a52e5a80ef6c23372
9,014
py
Python
matchability/networks.py
utiasSTARS/matchable-image-transforms
2c723872ef82e51dfa32abd3bbcec8410cb7dd2d
[ "MIT" ]
11
2020-07-31T00:39:26.000Z
2022-02-10T05:46:52.000Z
matchability/networks.py
utiasSTARS/matchable-image-transforms
2c723872ef82e51dfa32abd3bbcec8410cb7dd2d
[ "MIT" ]
1
2021-02-08T06:14:07.000Z
2021-02-22T02:33:30.000Z
matchability/networks.py
utiasSTARS/matchable-image-transforms
2c723872ef82e51dfa32abd3bbcec8410cb7dd2d
[ "MIT" ]
5
2019-12-31T11:03:09.000Z
2022-01-30T02:16:02.000Z
import torch from torch import nn class ConvLayer(nn.Sequential): def __init__(self, in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bias=True, norm=True, relu=True): super().__init__() if padding > 0: self.add_modul...
42.518868
86
0.463279
836
9,014
4.769139
0.116029
0.065212
0.085779
0.036117
0.724103
0.708804
0.666917
0.639829
0.630298
0.596188
0
0.020896
0.447859
9,014
211
87
42.720379
0.780189
0
0
0.611111
0
0
0.012758
0
0
0
0
0
0
1
0.066667
false
0
0.011111
0.011111
0.144444
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1