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
520c8714db54ca57492bef1f2222e96efba82308
917
py
Python
ezmailer/api/transclusion.py
percevalw/ezmailer
18115b3d243a6e619f9d3cc148b8ccf339faba4e
[ "MIT" ]
null
null
null
ezmailer/api/transclusion.py
percevalw/ezmailer
18115b3d243a6e619f9d3cc148b8ccf339faba4e
[ "MIT" ]
null
null
null
ezmailer/api/transclusion.py
percevalw/ezmailer
18115b3d243a6e619f9d3cc148b8ccf339faba4e
[ "MIT" ]
null
null
null
import collections class Transclusion: def __init__(self, component, parent=None, children=None): self.component = component self._children = children if children else {} self._parent = parent @property def parent(self): return self._parent @parent.setter def paren...
26.2
107
0.63904
108
917
5.296296
0.342593
0.087413
0.073427
0.06993
0
0
0
0
0
0
0
0
0.279171
917
35
108
26.2
0.865356
0.06325
0
0.111111
0
0
0
0
0
0
0
0.028571
0
1
0.259259
false
0
0.037037
0.111111
0.481481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
52191a83e3771fb1c5c8ba1f8eabce8ba34e95f9
60
py
Python
amadeus/travel/__init__.py
tsolakoua/amadeus-python
56c0e5cb0510aab5a80646d07593d94c9cba2c69
[ "MIT" ]
1
2019-04-09T10:39:02.000Z
2019-04-09T10:39:02.000Z
amadeus/travel/__init__.py
tsolakoua/amadeus-python
56c0e5cb0510aab5a80646d07593d94c9cba2c69
[ "MIT" ]
null
null
null
amadeus/travel/__init__.py
tsolakoua/amadeus-python
56c0e5cb0510aab5a80646d07593d94c9cba2c69
[ "MIT" ]
null
null
null
from ._analytics import Analytics __all__ = ['Analytics']
12
33
0.75
6
60
6.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.15
60
4
34
15
0.784314
0
0
0
0
0
0.15
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5225fbb2d58f9af67e40d926d443b17b25bb8e8b
1,923
py
Python
tests/test_config/test_coord.py
aschn/picolo
1f8f50e0709fdaef31bc38045ef9fd0c46aae2b5
[ "Apache-2.0" ]
1
2015-08-17T20:48:20.000Z
2015-08-17T20:48:20.000Z
tests/test_config/test_coord.py
aschn/picolo
1f8f50e0709fdaef31bc38045ef9fd0c46aae2b5
[ "Apache-2.0" ]
null
null
null
tests/test_config/test_coord.py
aschn/picolo
1f8f50e0709fdaef31bc38045ef9fd0c46aae2b5
[ "Apache-2.0" ]
null
null
null
""" @package test_coord @author Anna Schneider @version 0.1 @brief Tests picolo.config.Coord """ import math import nose.tools from picolo.config import Coord class TestCoord: def test_init_zero_angle(self): c = Coord(0,0) nose.tools.assert_almost_equals(c.theta, 0) def test_init_ze...
30.046875
83
0.560062
282
1,923
3.631206
0.20922
0.131836
0.205078
0.225586
0.577148
0.523438
0.418945
0.353516
0.353516
0.353516
0
0.057445
0.312012
1,923
64
84
30.046875
0.716553
0.045762
0
0.181818
0
0.022727
0.023523
0
0
0
0
0
0.318182
1
0.25
false
0
0.068182
0
0.340909
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
52379ce00042449088459f24b0e660e50e831988
3,706
py
Python
oldman/iri.py
oldm/OldMan
5661e5a4d412c2e9e7cf59ef00f60ce5aef2ab6b
[ "BSD-3-Clause" ]
6
2015-02-13T01:05:05.000Z
2021-01-16T00:07:08.000Z
oldman/iri.py
oldm/OldMan
5661e5a4d412c2e9e7cf59ef00f60ce5aef2ab6b
[ "BSD-3-Clause" ]
7
2015-02-14T18:00:35.000Z
2016-01-03T17:06:41.000Z
oldman/iri.py
oldm/OldMan
5661e5a4d412c2e9e7cf59ef00f60ce5aef2ab6b
[ "BSD-3-Clause" ]
3
2015-12-07T16:01:45.000Z
2017-11-08T12:13:35.000Z
from uuid import uuid1 from .exception import OMDataStoreError, OMRequiredHashlessIRIError class IriGenerator(object): """An :class:`~oldman.iri.IriGenerator` object generates the IRIs of some new :class:`~oldman.resource.Resource` objects. """ def __init__(self): pass def generate(self,...
34.314815
116
0.669185
455
3,706
5.294505
0.279121
0.026567
0.022831
0.014944
0.264425
0.245745
0.18846
0.171025
0.171025
0.171025
0
0.002095
0.227199
3,706
107
117
34.635514
0.839036
0.382083
0
0.295455
1
0
0.080546
0
0
0
0
0
0
1
0.227273
false
0.022727
0.045455
0.022727
0.522727
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
1
0
0
0
0
1
0
0
3
524a7ec09e6413ca84d767baa89ff1dde3820c21
1,766
py
Python
tests/test_models.py
nickobrad/newsroom
121b68ae0b13519cfb9020c13aea79159a701592
[ "MIT" ]
null
null
null
tests/test_models.py
nickobrad/newsroom
121b68ae0b13519cfb9020c13aea79159a701592
[ "MIT" ]
null
null
null
tests/test_models.py
nickobrad/newsroom
121b68ae0b13519cfb9020c13aea79159a701592
[ "MIT" ]
null
null
null
import unittest from app.models import GeneralNews, SourcesNews genNews= GeneralNews sourceNews = SourcesNews class testSource(unittest.TestCase): ''' Tests article test and source classes ''' def setUp(self): self.newsBySource = genNews("HYPE BEAST","Tom Shelby","Rags to Riches",'2004-...
45.282051
181
0.721971
204
1,766
6.191176
0.328431
0.164687
0.205859
0.177356
0.199525
0.153603
0.153603
0.153603
0.095012
0.095012
0
0.010681
0.151755
1,766
38
182
46.473684
0.832443
0.020951
0
0
0
0
0.237011
0
0
0
0
0
0.576923
1
0.153846
false
0
0.076923
0
0.269231
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
524c3245640d142e8c4103c5f6bbd79351c87887
428
py
Python
main.py
jrydberg/scopebar
a3fed478e9c84c049fa0a1b500a482bcb39a3072
[ "AML" ]
1
2016-05-09T12:59:41.000Z
2016-05-09T12:59:41.000Z
main.py
jrydberg/scopebar
a3fed478e9c84c049fa0a1b500a482bcb39a3072
[ "AML" ]
null
null
null
main.py
jrydberg/scopebar
a3fed478e9c84c049fa0a1b500a482bcb39a3072
[ "AML" ]
null
null
null
# # main.py # ScopeBarExample # # Created by Johan Rydberg on 4/23/09. # Copyright __MyCompanyName__ 2009. All rights reserved. # #import modules required by application import objc import Foundation import AppKit from PyObjCTools import AppHelper # import modules containing classes required to start application...
20.380952
87
0.803738
52
428
6.538462
0.75
0.076471
0
0
0
0
0
0
0
0
0
0.024725
0.149533
428
20
88
21.4
0.909341
0.619159
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
52545c71c172232aebc916d4e491f0d52ebf6a9c
3,616
py
Python
lego/apps/events/fields.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
lego/apps/events/fields.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
lego/apps/events/fields.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
from rest_framework import serializers from rest_framework.exceptions import PermissionDenied from lego.apps.events.models import Event from lego.apps.permissions.constants import EDIT class FeedbackField(serializers.Field): def get_attribute(self, instance): return instance def to_representation(se...
33.794393
92
0.697179
419
3,616
5.873508
0.174224
0.071516
0.079642
0.068265
0.685087
0.67371
0.667208
0.657456
0.657456
0.657456
0
0
0.215155
3,616
106
93
34.113208
0.86716
0
0
0.662338
0
0
0.027378
0
0
0
0
0
0
1
0.220779
false
0
0.064935
0.090909
0.649351
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
525e6a1bcc164df05eb25916514db7fac1c00bde
141
py
Python
library/__init__.py
alhtampouras/library
6571ecf4a33c77666c36dcc928e21a80b1f8b86d
[ "MIT" ]
null
null
null
library/__init__.py
alhtampouras/library
6571ecf4a33c77666c36dcc928e21a80b1f8b86d
[ "MIT" ]
null
null
null
library/__init__.py
alhtampouras/library
6571ecf4a33c77666c36dcc928e21a80b1f8b86d
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) app.config['SECRET_KEY'] = '51ab273a7b16ee7bd10722a5e63cd4c7' from library import routes
23.5
62
0.780142
16
141
6.5625
0.6875
0
0
0
0
0
0
0
0
0
0
0.157025
0.141844
141
5
63
28.2
0.710744
0
0
0
0
0
0.311111
0.237037
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5263393ca826aca3ffa0e8b6a99fbdc68ee5bae8
24
py
Python
argos/settings/__init__.py
daedafusion/django-argos
f28081be13d450baf8a7eaecef1e71e22a6e8833
[ "Apache-2.0" ]
null
null
null
argos/settings/__init__.py
daedafusion/django-argos
f28081be13d450baf8a7eaecef1e71e22a6e8833
[ "Apache-2.0" ]
null
null
null
argos/settings/__init__.py
daedafusion/django-argos
f28081be13d450baf8a7eaecef1e71e22a6e8833
[ "Apache-2.0" ]
null
null
null
__author__ = 'mphilpot'
12
23
0.75
2
24
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
527f39c1be0f63ee41aadddd736e5284e3991cfd
238
py
Python
pygosemsim/exception.py
mojaie/pygosemsim
62dc80db7a096f08b819784054bcf7e8f9ff1795
[ "MIT" ]
11
2019-05-16T13:33:42.000Z
2021-11-08T20:51:18.000Z
pygosemsim/exception.py
mojaie/pygosemsim
62dc80db7a096f08b819784054bcf7e8f9ff1795
[ "MIT" ]
3
2018-09-25T07:28:22.000Z
2020-02-23T11:40:34.000Z
core/tasks/pygosemsim/exception.py
YasCoMa/predprin
2deb0fb22455081fbea4bef136468fee71e4b442
[ "MIT" ]
4
2020-06-05T23:36:10.000Z
2021-10-04T22:24:39.000Z
class PGSSException(Exception): """Base exception class""" class PGSSInvalidOperation(PGSSException): """Invalid operation""" class PGSSLookupError(PGSSException): """Invalid GoGraph lookup (ex. missing node or edge)"""
18.307692
59
0.718487
22
238
7.772727
0.681818
0.233918
0
0
0
0
0
0
0
0
0
0
0.155462
238
12
60
19.833333
0.850746
0.369748
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
52935a2bfc2d1dd1b476329d82b6a5520ede8605
326
py
Python
testing/api/test_fresh_js.py
dosisod/SHIMON
bdcafc1d1036390e1872d0f17bbda511891e02dc
[ "MIT" ]
null
null
null
testing/api/test_fresh_js.py
dosisod/SHIMON
bdcafc1d1036390e1872d0f17bbda511891e02dc
[ "MIT" ]
1
2020-03-06T07:17:27.000Z
2020-03-06T07:17:27.000Z
testing/api/test_fresh_js.py
dosisod/SHIMON
bdcafc1d1036390e1872d0f17bbda511891e02dc
[ "MIT" ]
null
null
null
from SHIMON.api.fresh_js import ApiFreshJs from testing.api.toggle import FreshToggle from SHIMON import HttpResponse class TestFreshJS(FreshToggle): path = "SHIMON/static/js/api.js" name = "fresh js" def func(self, enable: bool) -> HttpResponse: return ApiFreshJs().entry(self.shimon, enable, F...
23.285714
61
0.730061
42
326
5.642857
0.571429
0.084388
0
0
0
0
0
0
0
0
0
0
0.171779
326
13
62
25.076923
0.877778
0
0
0
0
0
0.095092
0.070552
0
0
0
0
0
1
0.125
false
0
0.375
0.125
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
1
1
1
0
0
3
87015530263e27aabae1a0d399410b33f07c72a2
577
py
Python
Channel/models.py
yqji/DJNeverDie
6126ca4093f8d06b5a044c330e832432fec0a0c2
[ "Apache-2.0" ]
null
null
null
Channel/models.py
yqji/DJNeverDie
6126ca4093f8d06b5a044c330e832432fec0a0c2
[ "Apache-2.0" ]
null
null
null
Channel/models.py
yqji/DJNeverDie
6126ca4093f8d06b5a044c330e832432fec0a0c2
[ "Apache-2.0" ]
null
null
null
from django.db import models from Common.models import BaseModel class Channel(BaseModel): name = models.CharField('channel name', max_length=100) desc = models.CharField('channel description', max_length=10000) img = models.CharField('channel image source', max_length=10000, default='') article_num =...
26.227273
80
0.681109
68
577
5.617647
0.558824
0.117801
0.172775
0
0
0
0
0
0
0
0
0.031111
0.220104
577
21
81
27.47619
0.817778
0.006932
0
0
0
0
0.140105
0
0
0
0
0.047619
0
1
0.133333
false
0.066667
0.133333
0.066667
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
87017b2d6f657970544df14d912806712a4fd237
1,167
py
Python
sopt/test/test_all.py
Lyrichu/sopt
43cfc8fe39d5d05ad01db626dd777e4ce3e8d14e
[ "MIT" ]
40
2018-06-15T00:11:44.000Z
2022-01-22T07:35:27.000Z
sopt/test/test_all.py
Lyrichu/sopt
43cfc8fe39d5d05ad01db626dd777e4ce3e8d14e
[ "MIT" ]
3
2019-01-03T15:00:52.000Z
2019-01-03T17:56:41.000Z
sopt/test/test_all.py
Lyrichu/sopt
43cfc8fe39d5d05ad01db626dd777e4ce3e8d14e
[ "MIT" ]
14
2019-01-10T12:34:10.000Z
2021-07-06T16:04:10.000Z
#!/usr/bin/env python3 # encoding: utf-8 """ @version: 0.1 @author: lyrichu @license: Apache Licence @contact: 919987476@qq.com @site: http://www.github.com/Lyrichu @file: test_all.py @time: 2018/09/12 18:01 @description: test all in one """ import sys sys.path.append("..") from sopt.test import test_AdaGrad from sopt...
24.3125
53
0.742074
173
1,167
4.803468
0.404624
0.115523
0.173285
0.259928
0.31769
0
0
0
0
0
0
0.024728
0.133676
1,167
47
54
24.829787
0.79723
0.197943
0
0
0
0
0.010799
0
0
0
0
0
0
1
0.034483
true
0
0.448276
0
0.482759
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
1
0
1
0
0
0
0
3
871352076576157a01fe98b1c458eb6c0a96bb43
303
py
Python
test/test.py
SeavantUUz/Shyaru
3bdef62b251d61ec21571c636862b76b0719e5c9
[ "MIT" ]
4
2015-02-23T11:21:25.000Z
2021-08-12T03:54:40.000Z
test/test.py
SeavantUUz/Shyaru
3bdef62b251d61ec21571c636862b76b0719e5c9
[ "MIT" ]
null
null
null
test/test.py
SeavantUUz/Shyaru
3bdef62b251d61ec21571c636862b76b0719e5c9
[ "MIT" ]
1
2015-04-13T00:43:32.000Z
2015-04-13T00:43:32.000Z
# coding: utf-8 import parser __author__ = 'AprocySanae' __date__ = '15/1/16' from tokenize import generate_tokens with open("/Users/aprocysanae/Github/Shyaru/test/test1.shy", 'r') as f: for token_type, token_value, _, _, line in generate_tokens(f.readline): print token_type, token_value
27.545455
75
0.735974
44
303
4.704545
0.772727
0.135266
0.135266
0.183575
0
0
0
0
0
0
0
0.027132
0.148515
303
11
76
27.545455
0.775194
0.042904
0
0
1
0
0.228374
0.16263
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.142857
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
8736f9e2dcb23bbcaee3c18ca0d22f26cd9ddac1
778
py
Python
convenience/netdisco/discoverables/home_assistant.py
rubund/debian-home-assistant
1a3e8f7e4b9ddec60a4380e141fb327d03ac69b5
[ "MIT" ]
null
null
null
convenience/netdisco/discoverables/home_assistant.py
rubund/debian-home-assistant
1a3e8f7e4b9ddec60a4380e141fb327d03ac69b5
[ "MIT" ]
null
null
null
convenience/netdisco/discoverables/home_assistant.py
rubund/debian-home-assistant
1a3e8f7e4b9ddec60a4380e141fb327d03ac69b5
[ "MIT" ]
null
null
null
"""Discover Home Assistant servers.""" from . import MDNSDiscoverable # pylint: disable=too-few-public-methods class Discoverable(MDNSDiscoverable): """Add support for discovering Home Assistant instances.""" def __init__(self, nd): super(Discoverable, self).__init__(nd, '_home-assistant._tcp.local.'...
37.047619
77
0.677378
96
778
5.291667
0.510417
0.102362
0.106299
0.112205
0.114173
0.114173
0.114173
0
0
0
0
0.00317
0.188946
778
20
78
38.9
0.801902
0.277635
0
0
0
0
0.134935
0.088725
0
0
0
0
0
1
0.3
false
0.1
0.1
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
877780e2afabc229c6bad21bd6ade88aa71d878c
549
py
Python
utils/context_managers.py
dotannn/faster-rcnn.pytorch
b452e7fa6f30296c0f301938e4d04f2e2e72027b
[ "MIT" ]
null
null
null
utils/context_managers.py
dotannn/faster-rcnn.pytorch
b452e7fa6f30296c0f301938e4d04f2e2e72027b
[ "MIT" ]
null
null
null
utils/context_managers.py
dotannn/faster-rcnn.pytorch
b452e7fa6f30296c0f301938e4d04f2e2e72027b
[ "MIT" ]
null
null
null
import time class FPSEstimator(object): def __init__(self, name=None): self.name = name def __enter__(self): self.tstart = time.time() def __exit__(self, type, value, traceback): print('%s: %.3fFPS' % (self.name, 1.0/(time.time() - self.tstart))) class Timer(object): def __...
22.875
75
0.595628
70
549
4.328571
0.328571
0.158416
0.085809
0.112211
0.673267
0.673267
0.673267
0.673267
0.673267
0.673267
0
0.009592
0.240437
549
23
76
23.869565
0.717026
0
0
0.666667
0
0
0.03643
0
0
0
0
0
0
1
0.4
false
0
0.066667
0
0.6
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
5e4177504511e6187cde74bdcdd29bbc774c1750
157
py
Python
utils/np_utils.py
CausalML/vmm
89b0228107638658cb7535b1a618887796ef9d8e
[ "MIT" ]
null
null
null
utils/np_utils.py
CausalML/vmm
89b0228107638658cb7535b1a618887796ef9d8e
[ "MIT" ]
null
null
null
utils/np_utils.py
CausalML/vmm
89b0228107638658cb7535b1a618887796ef9d8e
[ "MIT" ]
1
2022-03-08T16:01:17.000Z
2022-03-08T16:01:17.000Z
import numpy as np def np_softplus(x, sharpness=1): x_s = sharpness * x return (np.log(1 + np.exp(-np.abs(x_s))) + np.maximum(x_s, 0)) / sharpness
22.428571
78
0.636943
30
157
3.2
0.533333
0.0625
0
0
0
0
0
0
0
0
0
0.02381
0.197452
157
6
79
26.166667
0.738095
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
5e47ee077d1510ad1e33b0754ee5e74958451b62
204
py
Python
Python/Sets/Easy/Set Intersection/intersection.py
navjindervirdee/hackerrank
d0d0f77f770e4b092440a15f2740f63b65deb60b
[ "MIT" ]
2
2017-10-12T13:28:42.000Z
2020-07-28T11:25:05.000Z
Python/Sets/Easy/Set Intersection/intersection.py
navjindervirdee/hackerrank
d0d0f77f770e4b092440a15f2740f63b65deb60b
[ "MIT" ]
null
null
null
Python/Sets/Easy/Set Intersection/intersection.py
navjindervirdee/hackerrank
d0d0f77f770e4b092440a15f2740f63b65deb60b
[ "MIT" ]
5
2018-02-05T21:53:18.000Z
2021-10-03T06:27:45.000Z
# Enter your code here. Read input from STDIN. Print output to STDOUT n = input() a = set(raw_input().strip().split(" ")) m = input() b = set(raw_input().strip().split(" ")) print(len(a.intersection(b)))
29.142857
69
0.656863
33
204
4
0.666667
0.090909
0.166667
0.242424
0.318182
0
0
0
0
0
0
0
0.137255
204
6
70
34
0.75
0.328431
0
0
0
0
0.014815
0
0
0
0
0.166667
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
5e791f7777721ad5c77ebf302dbcadd18ab54598
115
py
Python
Section20_State/SwitchStateMachine/StateEnum.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
1
2020-10-20T07:41:51.000Z
2020-10-20T07:41:51.000Z
Section20_State/SwitchStateMachine/StateEnum.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
null
null
null
Section20_State/SwitchStateMachine/StateEnum.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
null
null
null
from enum import Enum, auto class StateEnum(Enum): LOCKED = auto() FAILED = auto() UNLOCKED = auto()
14.375
27
0.626087
14
115
5.142857
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.26087
115
7
28
16.428571
0.847059
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5e7b19897b89713c3541444394ed2f8ec9b36666
771
py
Python
tests/test_docsAutoGen.py
Bye-lemon/DroneSim
b75d496338f741c0509769c37385a3f0ab0d5648
[ "MIT" ]
2
2019-06-07T12:47:34.000Z
2021-08-04T12:10:05.000Z
tests/test_docsAutoGen.py
Bye-lemon/DroneSim
b75d496338f741c0509769c37385a3f0ab0d5648
[ "MIT" ]
null
null
null
tests/test_docsAutoGen.py
Bye-lemon/DroneSim
b75d496338f741c0509769c37385a3f0ab0d5648
[ "MIT" ]
4
2019-06-06T14:07:28.000Z
2019-06-07T13:07:31.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/6/4 10:25 # @Author : Li Yingping # @Site : # @File : test_docsAutoGen.py # @Software: PyCharm class Docs(object): """ 类功能说明:Sphinx文档自动生成规范样例类 .. _NumPy Documentation HOWTO: https://numpydoc.readthedocs.io/en/latest/format.html#d...
17.930233
76
0.488975
71
771
5.28169
0.901408
0
0
0
0
0
0
0
0
0
0
0.034765
0.365759
771
42
77
18.357143
0.732106
0.557717
0
0.333333
1
0
0.073446
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
5e8a595ae62465b882ea064fd71aad194ad75e14
229
py
Python
interprocedural_analyses/taint/test/integration/recognized_callable_targets.py
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-08-08T16:01:55.000Z
2020-08-08T16:01:55.000Z
interprocedural_analyses/taint/test/integration/recognized_callable_targets.py
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
4
2022-02-15T02:42:33.000Z
2022-02-28T01:30:07.000Z
interprocedural_analyses/taint/test/integration/recognized_callable_targets.py
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-11-22T12:08:51.000Z
2020-11-22T12:08:51.000Z
from builtins import __test_sink, __test_source, to_callable_target @to_callable_target def callable_target(arg): __test_sink(arg) def test_callable_target(): x = __test_source() callable_target.async_schedule(x)
19.083333
67
0.786026
32
229
4.96875
0.4375
0.440252
0.201258
0
0
0
0
0
0
0
0
0
0.139738
229
11
68
20.818182
0.807107
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.428571
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
5e8e9f27889b344962765947726fd3e8a7ec5e90
747
py
Python
Python/pythonProject/exercise/ex040.py
JoaoMoreira2002/Linguagens-de-programacao
b91a902188428238a567c8f52b2ac9028378c4df
[ "MIT" ]
null
null
null
Python/pythonProject/exercise/ex040.py
JoaoMoreira2002/Linguagens-de-programacao
b91a902188428238a567c8f52b2ac9028378c4df
[ "MIT" ]
null
null
null
Python/pythonProject/exercise/ex040.py
JoaoMoreira2002/Linguagens-de-programacao
b91a902188428238a567c8f52b2ac9028378c4df
[ "MIT" ]
null
null
null
print('Digite os três lados de um triângulo') l1 = int(input()) l2 = int(input()) l3 = int(input()) x = 0 if (l1 + l2) <= l3: print('Esse não é um triângulo válido') x = 5 else: if (l1 + l3) <= l2: print('Esse não é um triângulo válido') x = 5 else: if (l2 + l3) <= l1: ...
27.666667
51
0.548862
118
747
3.474576
0.288136
0.214634
0.204878
0.17561
0.465854
0.465854
0.465854
0.409756
0.409756
0.273171
0
0.059501
0.302544
747
27
52
27.666667
0.727447
0
0
0.37037
0
0
0.36631
0
0
0
0
0
0
1
0
false
0
0
0
0
0.37037
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5ea6a2955860dc3eda5847d6d2bb08b0e2c623bf
181
py
Python
kakaopy/__init__.py
SeoJeongYeop/kakaopy
a9865b56ab19abed5443d5558f9b979b36dd594a
[ "MIT" ]
null
null
null
kakaopy/__init__.py
SeoJeongYeop/kakaopy
a9865b56ab19abed5443d5558f9b979b36dd594a
[ "MIT" ]
null
null
null
kakaopy/__init__.py
SeoJeongYeop/kakaopy
a9865b56ab19abed5443d5558f9b979b36dd594a
[ "MIT" ]
null
null
null
import inspect import os import sys __version__ = "0.2.0" __all__ = ['kakaopy'] real_path = os.path.dirname(os.path.abspath(__file__)).replace("\\","/") sys.path.append(real_path)
20.111111
72
0.718232
27
181
4.296296
0.592593
0.137931
0
0
0
0
0
0
0
0
0
0.018293
0.093923
181
9
73
20.111111
0.689024
0
0
0
0
0
0.082418
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5eaddcea3eafad3df59a539b96a40876b2245845
93
py
Python
week2/class.py
solideveloper/afs-200
708b818dc5680195e6606a26b0b25e9899ce4afe
[ "Apache-2.0" ]
null
null
null
week2/class.py
solideveloper/afs-200
708b818dc5680195e6606a26b0b25e9899ce4afe
[ "Apache-2.0" ]
null
null
null
week2/class.py
solideveloper/afs-200
708b818dc5680195e6606a26b0b25e9899ce4afe
[ "Apache-2.0" ]
null
null
null
response = input("Add input (write a sentence): ") print("The input is: ", response.upper())
31
50
0.677419
13
93
4.846154
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.139785
93
3
51
31
0.7875
0
0
0
0
0
0.468085
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5eba142828805c13a23962f47940a7a2323c96a1
328
py
Python
Python_Advanced_Softuni/Functions_Advanced_Lab/operate.py
borisboychev/SoftUni
22062312f08e29a1d85377a6d41ef74966d37e99
[ "MIT" ]
1
2020-12-14T23:25:19.000Z
2020-12-14T23:25:19.000Z
Python_Advanced_Softuni/Functions_Advanced_Lab/operate.py
borisboychev/SoftUni
22062312f08e29a1d85377a6d41ef74966d37e99
[ "MIT" ]
null
null
null
Python_Advanced_Softuni/Functions_Advanced_Lab/operate.py
borisboychev/SoftUni
22062312f08e29a1d85377a6d41ef74966d37e99
[ "MIT" ]
null
null
null
def operate(operator, *args): result = 1 for x in args: if operator == "+": return sum(args) elif operator == "*": result *= x elif operator == "/": result /= x return result print(operate("+", 1, 2, 3)) print(operate("*", 3, 4)) print(operate("/"...
23.428571
29
0.472561
38
328
4.078947
0.447368
0.232258
0.232258
0.245161
0
0
0
0
0
0
0
0.037383
0.347561
328
14
30
23.428571
0.686916
0
0
0
0
0
0.018237
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0.230769
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5ecfd797e634e0e2403bde24d15b773fef53ed87
302
py
Python
src/python/WMCore/WMBS/Oracle/Locations/SetState.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
21
2015-11-19T16:18:45.000Z
2021-12-02T18:20:39.000Z
src/python/WMCore/WMBS/Oracle/Locations/SetState.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
5,671
2015-01-06T14:38:52.000Z
2022-03-31T22:11:14.000Z
src/python/WMCore/WMBS/Oracle/Locations/SetState.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
67
2015-01-21T15:55:38.000Z
2022-02-03T19:53:13.000Z
# -*- coding: utf-8 -*- """ _SetState_ Oracle implementation of Locations.SetState Created on Mon Jun 18 14:09:57 2012 @author: dballest """ from WMCore.WMBS.MySQL.Locations.SetState import SetState as MySQLSetState class SetState(MySQLSetState): """ Same as MySQL version """ pass
16.777778
74
0.705298
38
302
5.552632
0.789474
0.161137
0
0
0
0
0
0
0
0
0
0.052846
0.18543
302
17
75
17.764706
0.804878
0.513245
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
0d5b653edac4126b198526ecd0a57cf1b23b79d9
322
py
Python
app/views.py
kackey0-1/drf-sample
914907320bc317240b4d7c07968b6d4ea80b4511
[ "MIT" ]
null
null
null
app/views.py
kackey0-1/drf-sample
914907320bc317240b4d7c07968b6d4ea80b4511
[ "MIT" ]
6
2021-03-30T12:05:07.000Z
2021-04-05T14:21:46.000Z
app/views.py
kackey0-1/drf-sample
914907320bc317240b4d7c07968b6d4ea80b4511
[ "MIT" ]
null
null
null
from health_check.views import MainView from django.http import JsonResponse from django.http import response class HealthCheckCustomView(MainView): def get(self, request, *args, **kwargs): status_code = 200 content = {'status': 'UP'} return JsonResponse(data=content, status=status_code) ...
23
61
0.717391
38
322
6
0.657895
0.087719
0.122807
0.175439
0
0
0
0
0
0
0
0.011538
0.192547
322
13
62
24.769231
0.865385
0
0
0
0
0
0.025
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0d6431f297f38ca1570a94f491646ef9f4750153
486
py
Python
text/src/autogluon/text/automm/data/__init__.py
huibinshen/autogluon
18c182c90df89762a916128327a6792b8887c5c6
[ "Apache-2.0" ]
null
null
null
text/src/autogluon/text/automm/data/__init__.py
huibinshen/autogluon
18c182c90df89762a916128327a6792b8887c5c6
[ "Apache-2.0" ]
null
null
null
text/src/autogluon/text/automm/data/__init__.py
huibinshen/autogluon
18c182c90df89762a916128327a6792b8887c5c6
[ "Apache-2.0" ]
null
null
null
from .datamodule import BaseDataModule from .dataset import BaseDataset from . import collator from . import infer_types from . import randaug from . import utils from .preprocess_dataframe import MultiModalFeaturePreprocessor from .process_image import ImageProcessor from .process_text import TextProcessor from .proce...
34.714286
63
0.866255
55
486
7.527273
0.490909
0.13285
0
0
0
0
0
0
0
0
0
0
0.106996
486
13
64
37.384615
0.953917
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
0d694b405a43dcf827eb085c3eccd0e9099d9b13
301
py
Python
Python Programs/Very Simple Things/SendMessage.py
mkpro118/github-slideshow
9e5dad667c81b90a3f7a63cb911e0ce41c0e5b8c
[ "MIT" ]
3
2021-06-13T20:21:08.000Z
2021-12-19T08:46:18.000Z
Python Programs/Very Simple Things/SendMessage.py
mkpro118/mkpro118-repository
31670f03e529750720cdfb764bb2c3d3d6e91a04
[ "MIT" ]
3
2021-06-08T21:43:24.000Z
2021-06-09T07:56:31.000Z
Python Programs/Very Simple Things/SendMessage.py
mkpro118/github-slideshow
9e5dad667c81b90a3f7a63cb911e0ce41c0e5b8c
[ "MIT" ]
2
2021-12-20T14:51:54.000Z
2022-03-19T02:29:56.000Z
import pyautogui import time time.sleep(5) for i in range(10): pyautogui.write('Hey, Wassup!!') time.sleep(0.5) pyautogui.press('enter') time.sleep(0.5) pyautogui.write('Sent this from python 😃') time.sleep(0.5) pyautogui.press('enter') time.sleep(0.5)
20.066667
47
0.614618
45
301
4.133333
0.466667
0.241935
0.215054
0.236559
0.489247
0.44086
0.44086
0.44086
0.44086
0.44086
0
0.047619
0.232558
301
14
48
21.5
0.753247
0
0
0.5
0
0
0.160279
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0d7679e82e4eeae78c8e0e67aff313b62529fb25
1,190
py
Python
aux.py
luihabl/gitgm
0a40538b41b3237bd18391c001274c311a05c3f6
[ "MIT" ]
1
2021-09-10T20:34:58.000Z
2021-09-10T20:34:58.000Z
aux.py
luihabl/gitgm
0a40538b41b3237bd18391c001274c311a05c3f6
[ "MIT" ]
null
null
null
aux.py
luihabl/gitgm
0a40538b41b3237bd18391c001274c311a05c3f6
[ "MIT" ]
null
null
null
import numpy as np from scipy.constants import pi, e, k, epsilon_0 as eps_0, c, m_e from scipy.special import jv SIGMA_I = 1e-18 # Review this for iodine def u_B(T_e, m_i): return np.sqrt(k * T_e / m_i) def h_L(n_g, L): lambda_i = 1/(n_g * SIGMA_I) return 0.86 / np.sqrt(3 + (L / (2 * lambda_i))) def h_R...
27.674419
80
0.546218
277
1,190
2.093863
0.227437
0.048276
0.025862
0.02069
0.296552
0.255172
0.255172
0.234483
0.234483
0.058621
0
0.03908
0.268908
1,190
42
81
28.333333
0.627586
0.018487
0
0.066667
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.166667
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0d82c522c969b39817eb1b87d58dc147e0bfb5fb
311
py
Python
hackerrank/Algorithms/Priyanka and Toys/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerrank/Algorithms/Priyanka and Toys/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerrank/Algorithms/Priyanka and Toys/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
import unittest import solution class TestQ(unittest.TestCase): def test_case_0(self): self.assertEqual(solution.toys([1, 2, 3, 21, 7, 12, 14, 21]), 4) def test_case_1(self): self.assertEqual(solution.toys([12, 15, 7, 8, 19, 24]), 4) if __name__ == '__main__': unittest.main()
19.4375
72
0.636656
47
311
3.957447
0.595745
0.075269
0.11828
0.290323
0.333333
0
0
0
0
0
0
0.105691
0.209003
311
15
73
20.733333
0.650407
0
0
0
0
0
0.025723
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.555556
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
1
0
0
0
0
1
0
0
3
0d960c3238a5a283331413348da101e9324d856f
172
py
Python
problem0532.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0532.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0532.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #532 Nanobots on Geodesics - Project Euler # https://projecteuler.net/problem=532 # # Code by Kevin Marciniak # ###########################
19.111111
44
0.488372
15
172
5.6
0.933333
0
0
0
0
0
0
0
0
0
0
0.039474
0.116279
172
8
45
21.5
0.513158
0.593023
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0dd696d63f2ace2a6c06deb883e4b8e503db3aca
129
py
Python
order/forms.py
rajancolab/AI-ecom
80a287838eeff4d5759dd0d2faadaf7523c405b6
[ "MIT" ]
1
2020-11-04T09:59:37.000Z
2020-11-04T09:59:37.000Z
order/forms.py
adhadse/Shopiva
2aaf7a741aa2e44d59fc1fa2c1974982ae80eb58
[ "MIT" ]
9
2021-04-08T20:47:12.000Z
2022-03-12T00:52:46.000Z
order/forms.py
rajancolab/AI-ecom
80a287838eeff4d5759dd0d2faadaf7523c405b6
[ "MIT" ]
1
2021-02-03T07:48:31.000Z
2021-02-03T07:48:31.000Z
from django.forms import ModelForm from .models import Orders class OrderForm(): class Meta: model = Orders
16.125
35
0.666667
15
129
5.733333
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.27907
129
7
36
18.428571
0.924731
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0df03dbf064576062112d5be2ffeff945f7d1196
185
py
Python
Pandas-CalculatingAggregateFunctions4.py
H2oPtic/Codecademy-Education
454ecff36a055fa17b4b338e1c6f1e9b3b94ef66
[ "MIT" ]
null
null
null
Pandas-CalculatingAggregateFunctions4.py
H2oPtic/Codecademy-Education
454ecff36a055fa17b4b338e1c6f1e9b3b94ef66
[ "MIT" ]
null
null
null
Pandas-CalculatingAggregateFunctions4.py
H2oPtic/Codecademy-Education
454ecff36a055fa17b4b338e1c6f1e9b3b94ef66
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd orders = pd.read_csv('orders.csv') shoe_counts = orders.groupby(['shoe_type', 'shoe_color']).id.count().reset_index() print(shoe_counts)
23.125
83
0.718919
29
185
4.37931
0.655172
0.15748
0
0
0
0
0
0
0
0
0
0
0.135135
185
8
84
23.125
0.79375
0
0
0
0
0
0.162011
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
216ea83a3a223492f731b97abb34f3205510d777
138
py
Python
myprojectyg/esp/apps.py
rsunderscore/rs_django
f1fbc17c06541af5fdb8d61e412cb6e21f63c7a9
[ "MIT" ]
null
null
null
myprojectyg/esp/apps.py
rsunderscore/rs_django
f1fbc17c06541af5fdb8d61e412cb6e21f63c7a9
[ "MIT" ]
null
null
null
myprojectyg/esp/apps.py
rsunderscore/rs_django
f1fbc17c06541af5fdb8d61e412cb6e21f63c7a9
[ "MIT" ]
null
null
null
from django.apps import AppConfig class EspConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'esp'
19.714286
56
0.746377
17
138
5.941176
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.15942
138
6
57
23
0.87069
0
0
0
0
0
0.231884
0.210145
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
217bdedb662583201a9b45f3da9d2905217ebda7
37
py
Python
targetprocess/__init__.py
kimmelserj/targetprocess-client
a35a4099583fbda9a5a0b38a2cb1d001d1e45547
[ "MIT" ]
null
null
null
targetprocess/__init__.py
kimmelserj/targetprocess-client
a35a4099583fbda9a5a0b38a2cb1d001d1e45547
[ "MIT" ]
null
null
null
targetprocess/__init__.py
kimmelserj/targetprocess-client
a35a4099583fbda9a5a0b38a2cb1d001d1e45547
[ "MIT" ]
1
2021-03-31T08:02:19.000Z
2021-03-31T08:02:19.000Z
# coding=utf-8 __version__ = '0.5.0'
12.333333
21
0.648649
7
37
2.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.125
0.135135
37
2
22
18.5
0.5
0.324324
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
2199eace3af681cbe479707c4c0448737c756c9b
124
py
Python
lnt/testing/util/__init__.py
llvm/lnt
77e0a25f996a5363e23f701c0d995525a5c6484a
[ "Apache-2.0" ]
19
2019-01-15T03:04:00.000Z
2021-12-08T00:09:01.000Z
lnt/testing/util/__init__.py
llvm/lnt
77e0a25f996a5363e23f701c0d995525a5c6484a
[ "Apache-2.0" ]
5
2019-04-11T06:22:18.000Z
2021-09-13T17:41:14.000Z
lnt/testing/util/__init__.py
llvm/lnt
77e0a25f996a5363e23f701c0d995525a5c6484a
[ "Apache-2.0" ]
21
2019-02-10T02:47:55.000Z
2022-03-31T14:16:36.000Z
""" Miscellaneous utilities for generating test data. """ from typing import Sequence __all__ = [] # type: Sequence[str]
15.5
49
0.717742
14
124
6.071429
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.169355
124
7
50
17.714286
0.825243
0.564516
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
21bc6b2557ccfc19ded83f0a97fbba6f626ae45e
1,598
py
Python
snake_class.py
Morr231/Snake
a3e1870dff7b1a7333901330109614ab44c64f0b
[ "MIT" ]
null
null
null
snake_class.py
Morr231/Snake
a3e1870dff7b1a7333901330109614ab44c64f0b
[ "MIT" ]
null
null
null
snake_class.py
Morr231/Snake
a3e1870dff7b1a7333901330109614ab44c64f0b
[ "MIT" ]
null
null
null
import pygame from bd import add_user_on_table class Snake: def __init__(self, init_position): self.snake_size = init_position self.snake_skin = pygame.Surface((10, 10)) self.snake_skin.fill((255, 255, 255)) def move_up(self): self.snake_size[0] = ( self.snake_s...
28.535714
88
0.501877
208
1,598
3.629808
0.259615
0.262252
0.344371
0.24106
0.341722
0.301987
0.301987
0.301987
0.301987
0.301987
0
0.068533
0.35169
1,598
55
89
29.054545
0.660232
0
0
0.139535
0
0
0.033166
0
0
0
0
0
0
1
0.186047
false
0
0.046512
0
0.27907
0.023256
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21c5ec399284e313905d64d79bde1f510e8d36e4
425
py
Python
cli/src/commands/bootstrap_config.py
lottec/docsearch-scraper
95e3dbc10913e4f8d9a2e57c55be0df5055b9955
[ "MIT" ]
null
null
null
cli/src/commands/bootstrap_config.py
lottec/docsearch-scraper
95e3dbc10913e4f8d9a2e57c55be0df5055b9955
[ "MIT" ]
2
2021-03-31T18:32:05.000Z
2022-02-11T03:39:15.000Z
cli/src/commands/bootstrap_config.py
j-low/docsearch-scraper
95e3dbc10913e4f8d9a2e57c55be0df5055b9955
[ "MIT" ]
null
null
null
from .abstract_command import AbstractCommand class BootstrapConfig(AbstractCommand): def get_name(self): return 'bootstrap' def get_description(self): return 'Boostrap a docsearch config' def run(self, args): from deployer.src.config_creator import create_config if len(a...
26.5625
61
0.675294
52
425
5.384615
0.576923
0.128571
0.078571
0.121429
0.164286
0
0
0
0
0
0
0.009346
0.244706
425
15
62
28.333333
0.862928
0
0
0
0
0
0.094118
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.181818
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
21ca090564a3048d0bd5f99a726e69abd2be3c01
71
py
Python
teamcat_service/doraemon/doraemon/api/ci/models.py
zhangyin2088/Teamcat
be9be8d7c1e58c8d2d22ab78d25783d9aee4de71
[ "Apache-2.0" ]
6
2018-11-26T08:42:52.000Z
2020-06-01T08:33:48.000Z
teamcat_service/doraemon/doraemon/api/ci/models.py
zhangyin2088/Teamcat
be9be8d7c1e58c8d2d22ab78d25783d9aee4de71
[ "Apache-2.0" ]
null
null
null
teamcat_service/doraemon/doraemon/api/ci/models.py
zhangyin2088/Teamcat
be9be8d7c1e58c8d2d22ab78d25783d9aee4de71
[ "Apache-2.0" ]
1
2019-01-22T06:45:36.000Z
2019-01-22T06:45:36.000Z
#coding=utf-8 ''' Created on 2014-1-5 @author: zhangtiande '''
7.1
20
0.591549
10
71
4.2
1
0
0
0
0
0
0
0
0
0
0
0.127273
0.225352
71
9
21
7.888889
0.636364
0.760563
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
21d78184c7dd67c4a70e4aa7fa128a6b417ecd76
503
py
Python
chpass/exceptions/operating_system_not_supported.py
bengabay11/chromesy
03328f7330c4e119e7f6a5bc2b75575eb47e4e61
[ "MIT" ]
null
null
null
chpass/exceptions/operating_system_not_supported.py
bengabay11/chromesy
03328f7330c4e119e7f6a5bc2b75575eb47e4e61
[ "MIT" ]
23
2021-08-05T17:38:02.000Z
2022-02-14T08:28:15.000Z
chpass/exceptions/operating_system_not_supported.py
bengabay11/chromesy
03328f7330c4e119e7f6a5bc2b75575eb47e4e61
[ "MIT" ]
null
null
null
class OperatingSystemNotSupported(Exception): def __init__(self, operating_system: str) -> None: self._operating_system = operating_system message = f"operating system not supported - {operating_system}" super().__init__(message) @property def operating_system(self) -> str: ...
31.4375
72
0.717694
54
503
6.240741
0.351852
0.534125
0.225519
0.130564
0.388724
0.243323
0.243323
0
0
0
0
0
0.200795
503
15
73
33.533333
0.838308
0
0
0
0
0
0.101796
0
0
0
0
0
0
1
0.272727
false
0
0
0.090909
0.454545
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
21ddf2c42ec3dca5812bafd589379daf20fbfbdf
133
py
Python
rstdoc/__init__.py
rpuntaie/rstdoc
fcbacf2c21b8bfc9201786f6cc7a245204458752
[ "MIT" ]
10
2018-04-15T14:35:20.000Z
2020-12-20T17:08:48.000Z
rstdoc/__init__.py
rstdoc/rstdoc
fcbacf2c21b8bfc9201786f6cc7a245204458752
[ "MIT" ]
1
2020-09-11T21:23:29.000Z
2020-12-31T10:43:25.000Z
rstdoc/__init__.py
rpuntaie/rstdoc
fcbacf2c21b8bfc9201786f6cc7a245204458752
[ "MIT" ]
5
2018-04-15T14:36:02.000Z
2020-12-31T14:21:22.000Z
"""restructuredtext (rst) documentation support """ __import__("pkg_resources").declare_namespace(__name__) __version__ = "1.8.1"
16.625
55
0.759398
14
133
6.214286
0.928571
0
0
0
0
0
0
0
0
0
0
0.024793
0.090226
133
7
56
19
0.694215
0.330827
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
df3deacf7af1e23cf70df39a24ac79909f0ae440
394
py
Python
10_datastructures_lab/01.py
maornesimi/python-course-examples
f2e606f142a9d331075db73fd451c4418dba45ed
[ "MIT" ]
null
null
null
10_datastructures_lab/01.py
maornesimi/python-course-examples
f2e606f142a9d331075db73fd451c4418dba45ed
[ "MIT" ]
143
2016-10-14T07:33:55.000Z
2018-11-06T19:13:52.000Z
10_datastructures_lab/01.py
maornesimi/python-course-examples
f2e606f142a9d331075db73fd451c4418dba45ed
[ "MIT" ]
43
2016-10-13T15:49:47.000Z
2019-09-10T09:14:52.000Z
""" Write a program that takes two strings from the user and checks if they represent a valid user name. Valid users and passwords: apple => red lettuce => green lemon => yellow orange => orange When valid credentials are entered print: Welcome Master And when invalid credentials are entered print...
19.7
47
0.720812
58
394
4.896552
0.706897
0.098592
0.147887
0.183099
0
0
0
0
0
0
0
0
0.230964
394
19
48
20.736842
0.937294
0.974619
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
df5904d7d085b138589fadaf6d9d7a2a4e7a8d26
1,129
py
Python
python/Algorithms/Implementation/Day of the Programmer.py
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
1
2020-10-06T01:20:07.000Z
2020-10-06T01:20:07.000Z
python/Algorithms/Implementation/Day of the Programmer.py
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
null
null
null
python/Algorithms/Implementation/Day of the Programmer.py
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
null
null
null
def dayOfProgrammer(year): s=0 if 1700 <= year <= 1917: if year % 4==0: for i in range(1, 9): if i % 2 == 0: s += 30 else: s += 31 print(256 - s, ".09", ".", year, sep='') else: for i in r...
26.880952
63
0.313552
132
1,129
2.621212
0.265152
0.046243
0.069364
0.127168
0.572254
0.572254
0.572254
0.572254
0.572254
0.572254
0
0.166031
0.535872
1,129
42
64
26.880952
0.494275
0
0
0.74359
0
0
0.030089
0
0
0
0
0
0
1
0.025641
false
0
0
0
0.025641
0.128205
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
df5a1981d2a5b647982f782125d6b3d6673c92b2
58
py
Python
hs_app_netCDF/__init__.py
tommac7/hydroshare
87c4543a55f98103d2614bf4c47f7904c3f9c029
[ "BSD-3-Clause" ]
178
2015-01-08T23:03:36.000Z
2022-03-03T13:56:45.000Z
hs_app_netCDF/__init__.py
tommac7/hydroshare
87c4543a55f98103d2614bf4c47f7904c3f9c029
[ "BSD-3-Clause" ]
4,125
2015-01-01T14:26:15.000Z
2022-03-31T16:38:55.000Z
hs_app_netCDF/__init__.py
tommac7/hydroshare
87c4543a55f98103d2614bf4c47f7904c3f9c029
[ "BSD-3-Clause" ]
53
2015-03-15T17:56:51.000Z
2022-03-17T00:32:16.000Z
default_app_config = 'hs_app_netCDF.apps.NetCDFAppConfig'
29
57
0.862069
8
58
5.75
0.875
0
0
0
0
0
0
0
0
0
0
0
0.051724
58
1
58
58
0.836364
0
0
0
0
0
0.586207
0.586207
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
df69b2fba0f6e73b14748c3c63638f531ae11d71
424
py
Python
posts/migrations/0006_auto_20210201_2055.py
kevink1113/A.S.S.A-Community
ba83965bc6679effdb5fe140c0ab520b870447d2
[ "MIT" ]
1
2021-02-15T09:20:10.000Z
2021-02-15T09:20:10.000Z
posts/migrations/0006_auto_20210201_2055.py
kevink1113/A.S.S.A-Community
ba83965bc6679effdb5fe140c0ab520b870447d2
[ "MIT" ]
null
null
null
posts/migrations/0006_auto_20210201_2055.py
kevink1113/A.S.S.A-Community
ba83965bc6679effdb5fe140c0ab520b870447d2
[ "MIT" ]
2
2021-01-30T01:54:33.000Z
2021-02-16T07:28:19.000Z
# Generated by Django 3.1.5 on 2021-02-01 11:55 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('posts', '0005_auto_20210201_1909'), ] operations = [ migrations.RemoveField( model_name='post', name='dislike', ), ...
19.272727
47
0.551887
42
424
5.452381
0.738095
0.183406
0.227074
0.262009
0.331878
0.331878
0
0
0
0
0
0.109541
0.332547
424
21
48
20.190476
0.699647
0.106132
0
0.4
1
0
0.124668
0.061008
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
df8437369e79c371d83a3b1626332e1270071288
228
py
Python
car.py
BrassM0nkeyy/kijiji-analyser
955481188b35ac367af8da092d3f86f3c401a701
[ "MIT" ]
null
null
null
car.py
BrassM0nkeyy/kijiji-analyser
955481188b35ac367af8da092d3f86f3c401a701
[ "MIT" ]
null
null
null
car.py
BrassM0nkeyy/kijiji-analyser
955481188b35ac367af8da092d3f86f3c401a701
[ "MIT" ]
null
null
null
class car: def __init__(self, title, price, km, location, description, link ): self.title = title self.price = price self.km = km self.location = location self.description = description self.link = link
25.333333
67
0.666667
29
228
5.103448
0.37931
0.121622
0
0
0
0
0
0
0
0
0
0
0.236842
228
9
68
25.333333
0.850575
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
df90f53dc9e9ca9fde745f7430e616dce5d073b7
1,352
py
Python
examples/dbpedia_spotlight.py
HelloChatterbox/simple_NER
678f0003030c9158583122e8b818a3b4e4ba3ea1
[ "MIT" ]
25
2019-12-26T14:10:47.000Z
2022-03-16T02:17:16.000Z
examples/dbpedia_spotlight.py
HelloChatterbox/simple_NER
678f0003030c9158583122e8b818a3b4e4ba3ea1
[ "MIT" ]
null
null
null
examples/dbpedia_spotlight.py
HelloChatterbox/simple_NER
678f0003030c9158583122e8b818a3b4e4ba3ea1
[ "MIT" ]
5
2020-08-16T16:38:09.000Z
2022-03-21T16:59:16.000Z
from simple_NER.annotators.remote.dbpedia import SpotlightNER # you can also self host host='http://api.dbpedia-spotlight.org/en/annotate' ner = SpotlightNER(host) for r in ner.extract_entities("London was founded by the Romans"): print(r.value, r.entity_type, r.uri) score = r.similarityScore """ Lond...
50.074074
74
0.76997
182
1,352
5.664835
0.28022
0.170708
0.217265
0.341416
0.71775
0.71775
0.607178
0.275461
0
0
0
0.010906
0.118343
1,352
27
75
50.074074
0.854027
0.016272
0
0
0
0
0.266667
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
1
1
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
3
10e93f44b62e54ecc5357ba1226fc5c45e75dde2
258
py
Python
src/home.py
Cryolupus/AutoElectroChemCtrlBaker
bd10b3de4667523db4897c0286e100da1b428a78
[ "MIT" ]
null
null
null
src/home.py
Cryolupus/AutoElectroChemCtrlBaker
bd10b3de4667523db4897c0286e100da1b428a78
[ "MIT" ]
null
null
null
src/home.py
Cryolupus/AutoElectroChemCtrlBaker
bd10b3de4667523db4897c0286e100da1b428a78
[ "MIT" ]
null
null
null
def home(device): from src.check_command_succeeded import check_command_succeeded reply = device.home() if check_command_succeeded(reply): print("Device homed.") else: print("Device home failed.") exit(1) return;
23.454545
67
0.655039
31
258
5.258065
0.580645
0.220859
0.386503
0.319018
0
0
0
0
0
0
0
0.005155
0.248062
258
11
68
23.454545
0.835052
0
0
0
0
0
0.123552
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0.222222
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
10f499210b61d81dfaaee19722e1c855da963520
305
py
Python
server/src/py/config.py
NavneetSurana/TickerTape
d91700fde4324656799acce8576a92e93b721731
[ "MIT" ]
null
null
null
server/src/py/config.py
NavneetSurana/TickerTape
d91700fde4324656799acce8576a92e93b721731
[ "MIT" ]
2
2020-07-26T10:08:10.000Z
2020-08-01T16:57:41.000Z
server/src/py/config.py
NavneetSurana/TickerTape
d91700fde4324656799acce8576a92e93b721731
[ "MIT" ]
null
null
null
import os from dotenv import load_dotenv load_dotenv() dbName = os.getenv("DB_NAME_TT") user = os.getenv("DB_USER") password = os.getenv("DB_PASSWORD") host = os.getenv("DB_HOST") port = os.getenv("DB_PORT") url = os.getenv("DB_URL") backupPath = os.getenv("DB_BACKUP_PATH") authDb = os.getenv("AUTH_DB")
25.416667
40
0.734426
51
305
4.156863
0.392157
0.301887
0.330189
0
0
0
0
0
0
0
0
0
0.101639
305
11
41
27.727273
0.773723
0
0
0
0
0
0.22623
0
0
0
0
0
0
1
0
false
0.090909
0.181818
0
0.181818
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
80041177698c0e1761160fb0eb44defb905a89a1
10,520
py
Python
pyevolve_plot.py
ecervera/GA-robot
5be8d80446b8fb95e3863b25a41c1f60c2383ed9
[ "MIT" ]
1
2017-02-08T16:54:59.000Z
2017-02-08T16:54:59.000Z
pyevolve_plot.py
ecervera/GA-robot
5be8d80446b8fb95e3863b25a41c1f60c2383ed9
[ "MIT" ]
null
null
null
pyevolve_plot.py
ecervera/GA-robot
5be8d80446b8fb95e3863b25a41c1f60c2383ed9
[ "MIT" ]
null
null
null
import pylab from matplotlib.font_manager import FontProperties import matplotlib.cm def graph_pop_heatmap_raw(pop, identify, minimize=False, colormap="jet", filesave=None): pylab.imshow(pop, aspect="auto", interpolation="gaussian", cmap=matplotlib.cm.__dict__[colormap]) pylab.title("Plot of pop. raw scores alon...
29.8017
103
0.59924
1,373
10,520
4.437728
0.117261
0.017725
0.016248
0.011817
0.777285
0.745281
0.713934
0.697358
0.666174
0.639094
0
0.009637
0.25038
10,520
352
104
29.886364
0.762998
0
0
0.621324
0
0
0.170627
0
0
0
0
0
0
1
0.051471
false
0
0.025735
0
0.102941
0.055147
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
800431bbe2603a4687b7ce1187bd564e30db2bc0
489
py
Python
terrascript/provider/hashicorp/tls.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/provider/hashicorp/tls.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/provider/hashicorp/tls.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/provider/hashicorp/tls.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:28:45 UTC) import terrascript class tls(terrascript.Provider): """terraform-provider-tls""" __description__ = "terraform-provider-tls" __namespace__ = "hashicorp" __name__ = "tls" __source__ = ...
24.45
73
0.703476
57
489
5.473684
0.684211
0.163462
0.192308
0
0
0
0
0
0
0
0
0.070388
0.157464
489
19
74
25.736842
0.686893
0.271984
0
0
1
0
0.346705
0.063037
0
0
0
0
0
1
0
false
0
0.1
0
0.9
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
802e0d73cf412270eb095a57ba4e6e33ebdbcb35
105,247
py
Python
cockroach/proto/internal_pb2.py
abhishekgahlot/cockroach-python
72903f583da182530e208cf41644d74e1a7ef505
[ "Apache-2.0" ]
1
2015-11-05T19:20:27.000Z
2015-11-05T19:20:27.000Z
cockroach/proto/internal_pb2.py
abhishekgahlot/cockroach-python
72903f583da182530e208cf41644d74e1a7ef505
[ "Apache-2.0" ]
null
null
null
cockroach/proto/internal_pb2.py
abhishekgahlot/cockroach-python
72903f583da182530e208cf41644d74e1a7ef505
[ "Apache-2.0" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: cockroach/proto/internal.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf imp...
48.411684
10,241
0.786949
12,023
105,247
6.563087
0.042003
0.067243
0.031632
0.0421
0.777931
0.699638
0.660491
0.636222
0.613563
0.600357
0
0.031948
0.099471
105,247
2,173
10,242
48.433962
0.800608
0.026148
0
0.640671
1
0.004442
0.214968
0.178289
0
0
0
0
0
1
0
false
0
0.004936
0
0.004936
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8032c50f203daa3756f4fe459e0a4b24a424da87
1,141
py
Python
cbp_client/helpers.py
MirPresT/python-coinbasepro-api
c7fccf5be0989e938e2a0f08f33996776106549d
[ "MIT" ]
1
2020-11-23T09:14:50.000Z
2020-11-23T09:14:50.000Z
cbp_client/helpers.py
MirPresT/python-coinbasepro-api
c7fccf5be0989e938e2a0f08f33996776106549d
[ "MIT" ]
null
null
null
cbp_client/helpers.py
MirPresT/python-coinbasepro-api
c7fccf5be0989e938e2a0f08f33996776106549d
[ "MIT" ]
null
null
null
import os from pathlib import Path import json def load_credentials(sandbox_mode): env_variable_prefix = 'sandbox_' if sandbox_mode else '' current_working_directory = Path().cwd() creds_file_path = current_working_directory / 'credentials.json' creds_json_key = 'sandbox' if sandbox_mode else 'live' ...
40.75
87
0.609991
132
1,141
4.954545
0.386364
0.117737
0.181957
0.183486
0.374618
0.243119
0.243119
0
0
0
0
0
0.298861
1,141
27
88
42.259259
0.8175
0
0
0.083333
0
0
0.328659
0.208589
0
0
0
0
0
1
0.041667
false
0.125
0.125
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
8032e756d3b4538be5de5436ebd682360cd52839
6,401
py
Python
app/tests/api/api_v1/purchases/test_post.py
wlsouza/cashbackgb
c5cffe782eb0f8c2ec0303405820e49c494d04a3
[ "MIT" ]
null
null
null
app/tests/api/api_v1/purchases/test_post.py
wlsouza/cashbackgb
c5cffe782eb0f8c2ec0303405820e49c494d04a3
[ "MIT" ]
null
null
null
app/tests/api/api_v1/purchases/test_post.py
wlsouza/cashbackgb
c5cffe782eb0f8c2ec0303405820e49c494d04a3
[ "MIT" ]
1
2022-02-10T04:15:19.000Z
2022-02-10T04:15:19.000Z
import pytest from fastapi import status from httpx import AsyncClient from sqlalchemy.ext.asyncio import AsyncSession from app import crud, models, schemas from app.core.config import settings from app.tests.utils.auth import ( get_expired_user_token_headers, get_not_active_user_token_headers, get_user_to...
35.364641
106
0.763006
873
6,401
5.200458
0.116838
0.068282
0.045815
0.060132
0.787004
0.754405
0.704405
0.687004
0.640969
0.626432
0
0.018522
0.148102
6,401
180
107
35.561111
0.814047
0.007968
0
0.526667
0
0
0.070269
0.060501
0
0
0
0
0.08
1
0
false
0
0.06
0
0.06
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
80362817eff83dd9bc415018986920e6ac280e9a
81
py
Python
python_toolbox/evaluation/util.py
raphaelsulzer/TanksAndTemples
01c04fd2d48b17da8d0ecef0d5b466319d0c3007
[ "MIT" ]
null
null
null
python_toolbox/evaluation/util.py
raphaelsulzer/TanksAndTemples
01c04fd2d48b17da8d0ecef0d5b466319d0c3007
[ "MIT" ]
null
null
null
python_toolbox/evaluation/util.py
raphaelsulzer/TanksAndTemples
01c04fd2d48b17da8d0ecef0d5b466319d0c3007
[ "MIT" ]
null
null
null
import os def make_dir(path): if not os.path.exists(path): os.makedirs(path)
13.5
29
0.716049
15
81
3.8
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.148148
81
5
30
16.2
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
80376f5ec156c578e32202a68e2c2c45efa0c47a
1,274
py
Python
test/unit/test_ship.py
dartharnold/EDTS
c524921dfdacbdd87c0683d7049c760115b4fb04
[ "BSD-3-Clause" ]
null
null
null
test/unit/test_ship.py
dartharnold/EDTS
c524921dfdacbdd87c0683d7049c760115b4fb04
[ "BSD-3-Clause" ]
null
null
null
test/unit/test_ship.py
dartharnold/EDTS
c524921dfdacbdd87c0683d7049c760115b4fb04
[ "BSD-3-Clause" ]
null
null
null
import unittest import sys sys.path.insert(0, '../..') from edtslib import env from edtslib import ship from edtslib import vector3 as v3 del sys.path[0] class TestShip(unittest.TestCase): def setUp(self): env.set_verbosity(0) env.start() def tearDown(self): env.stop() def test_range(self): s...
27.695652
54
0.656986
207
1,274
3.995169
0.309179
0.304716
0.319226
0.195889
0.593712
0.449819
0.440145
0.374849
0.250302
0.205562
0
0.111217
0.174254
1,274
45
55
28.311111
0.674905
0
0
0.210526
0
0
0.010989
0
0
0
0
0
0.342105
1
0.131579
false
0
0.131579
0
0.289474
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8055b9eecf6d0d6a9b1992f575d49077bf8646b1
420
py
Python
kubernetes_typed/client/models/extensions_v1beta1_http_ingress_rule_value.py
sobolevn/kubernetes-typed
5f0a770631c73a9831fbeaeebac188e8f4a52c54
[ "Apache-2.0" ]
22
2020-12-10T13:06:02.000Z
2022-02-13T21:58:15.000Z
kubernetes_typed/client/models/extensions_v1beta1_http_ingress_rule_value.py
sobolevn/kubernetes-typed
5f0a770631c73a9831fbeaeebac188e8f4a52c54
[ "Apache-2.0" ]
4
2021-03-08T07:06:12.000Z
2022-03-29T23:41:45.000Z
kubernetes_typed/client/models/extensions_v1beta1_http_ingress_rule_value.py
sobolevn/kubernetes-typed
5f0a770631c73a9831fbeaeebac188e8f4a52c54
[ "Apache-2.0" ]
2
2021-09-05T19:18:28.000Z
2022-03-14T02:56:17.000Z
# Code generated by `typeddictgen`. DO NOT EDIT. """ExtensionsV1beta1HTTPIngressRuleValueDict generated type.""" from typing import TypedDict, List from kubernetes_typed.client import ExtensionsV1beta1HTTPIngressPathDict ExtensionsV1beta1HTTPIngressRuleValueDict = TypedDict( "ExtensionsV1beta1HTTPIngressRuleValue...
30
72
0.792857
29
420
11.448276
0.724138
0
0
0
0
0
0
0
0
0
0
0.027473
0.133333
420
13
73
32.307692
0.884615
0.25
0
0
1
0
0.148867
0.132686
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
1
0
1
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
3
337dc28d212b37e077308ad51dbbac128572725e
121
py
Python
Test.py
AliBahaari/URL-Status
743989ab1246653457499822574d79f34e09e1ad
[ "MIT" ]
3
2018-12-28T08:13:25.000Z
2019-07-21T16:43:54.000Z
Test.py
AliBahaari/URL-Status
743989ab1246653457499822574d79f34e09e1ad
[ "MIT" ]
null
null
null
Test.py
AliBahaari/URL-Status
743989ab1246653457499822574d79f34e09e1ad
[ "MIT" ]
null
null
null
# Test from URLStatus import URLStatus gur_res = URLStatus('http://www.example.com', 'Links Status') gur_res.get_url()
17.285714
61
0.743802
18
121
4.833333
0.777778
0.137931
0
0
0
0
0
0
0
0
0
0
0.115702
121
6
62
20.166667
0.813084
0.033058
0
0
0
0
0.295652
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3383ceda3ff7f1aa30af1ee34f17ce628cdcfa8b
384
py
Python
docs/dummy.py
Chilipp/autodocsumm
255292a1d04ec4ed0e0c17c1100adeb71f4dfa9f
[ "Apache-2.0" ]
45
2019-04-03T01:18:35.000Z
2022-02-14T23:28:34.000Z
docs/dummy.py
Chilipp/autodocsumm
255292a1d04ec4ed0e0c17c1100adeb71f4dfa9f
[ "Apache-2.0" ]
65
2019-03-29T22:51:29.000Z
2022-03-30T09:05:16.000Z
docs/dummy.py
Chilipp/autodocsumm
255292a1d04ec4ed0e0c17c1100adeb71f4dfa9f
[ "Apache-2.0" ]
17
2019-03-29T22:30:19.000Z
2022-03-23T12:00:48.000Z
""" Some module ----------- Just a dummy module with some class definition """ class MyClass(object): """Some class With some description""" def do_something(self): """Do something""" pass #: Any instance attribute some_attr = None #: Any other instance attribute some_...
14.222222
46
0.619792
45
384
5.177778
0.555556
0.085837
0.180258
0
0
0
0
0
0
0
0
0
0.260417
384
26
47
14.769231
0.820423
0.497396
0
0
0
0
0.047337
0
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
3393dcc21c40cb4fe5b1ef9ea886f1de5eb8cec7
173
py
Python
src/sentry/auth/exceptions.py
seukjung/sentry-custom
c5f6bb2019aef3caff7f3e2b619f7a70f2b9b963
[ "BSD-3-Clause" ]
20
2016-10-01T04:29:24.000Z
2020-10-09T07:23:34.000Z
src/sentry/auth/exceptions.py
fotinakis/sentry
c5cfa5c5e47475bf5ef41e702548c2dfc7bb8a7c
[ "BSD-3-Clause" ]
8
2019-12-28T23:49:55.000Z
2022-03-02T04:34:18.000Z
src/sentry/auth/exceptions.py
zaasmi/codeerrorhelp
1ab8d3e314386b9b2d58dad9df45355bf6014ac9
[ "BSD-3-Clause" ]
7
2016-10-27T05:12:45.000Z
2021-05-01T14:29:53.000Z
from __future__ import absolute_import __all__ = ['ProviderNotRegistered'] class ProviderNotRegistered(Exception): pass class IdentityNotValid(Exception): pass
14.416667
39
0.786127
15
173
8.466667
0.666667
0.204724
0
0
0
0
0
0
0
0
0
0
0.150289
173
11
40
15.727273
0.863946
0
0
0.333333
0
0
0.121387
0.121387
0
0
0
0
0
1
0
false
0.333333
0.166667
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
339e4ccab8f01a3a149d01aa36247a7473d8b8ca
230
py
Python
DesignPatterns/03_decorator/1_no_decorator/2_subclass/cars/economy_4cyl_white_vinyl.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
DesignPatterns/03_decorator/1_no_decorator/2_subclass/cars/economy_4cyl_white_vinyl.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
DesignPatterns/03_decorator/1_no_decorator/2_subclass/cars/economy_4cyl_white_vinyl.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
from .economy import Economy class Economy4CylWhiteVinyl(Economy): @property def description(self): return 'Economy, white, 4 cylinder, vinyl upholstery' @property def cost(self): return 12000.00
20.909091
61
0.682609
25
230
6.28
0.72
0.140127
0
0
0
0
0
0
0
0
0
0.051429
0.23913
230
10
62
23
0.845714
0
0
0.25
0
0
0.191304
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
33b57b2a1c1bb397fec45b66715e0a470f4a3504
115
py
Python
django_simple_slack_app/__init__.py
bluedisk/django-slack-simple-app
f5ab84d66d85e8d5b44b55e27a317f3124a472f7
[ "Apache-2.0" ]
null
null
null
django_simple_slack_app/__init__.py
bluedisk/django-slack-simple-app
f5ab84d66d85e8d5b44b55e27a317f3124a472f7
[ "Apache-2.0" ]
null
null
null
django_simple_slack_app/__init__.py
bluedisk/django-slack-simple-app
f5ab84d66d85e8d5b44b55e27a317f3124a472f7
[ "Apache-2.0" ]
null
null
null
from .emitter import slack_events, slack_commands default_app_config = 'django_simple_slack_app.apps.SlackConfig'
28.75
63
0.86087
16
115
5.75
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.078261
115
3
64
38.333333
0.867925
0
0
0
0
0
0.347826
0.347826
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
33cc48c698bbeb1a1decd52f97e794f1e047dc27
380
py
Python
proxyclient/v2/zones.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
1
2019-09-11T11:56:19.000Z
2019-09-11T11:56:19.000Z
proxyclient/v2/zones.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
null
null
null
proxyclient/v2/zones.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
null
null
null
""" zones interface """ from proxyclient import base class Zone(base.Resource): def __repr__(self): return "<Zone: %s>" % self.name class ZoneManager(base.Manager): resource_class = Zone def list(self, detail=False): return self._list('/zones?detail=%s' % detail, 'zones') def get(se...
20
63
0.623684
49
380
4.693878
0.44898
0.078261
0
0
0
0
0
0
0
0
0
0
0.218421
380
18
64
21.111111
0.774411
0.039474
0
0
0
0
0.123249
0
0
0
0
0
0
1
0.3
false
0
0.1
0.3
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
33d27ae046d08c93e3a2fce7393fc1303ca8568b
190
py
Python
digeiz_api/extensions.py
doanguyen/digeiz_boilerplate
ea606c6b25eb8a515cb2b291e07d0ad1295e0ba1
[ "CC0-1.0" ]
null
null
null
digeiz_api/extensions.py
doanguyen/digeiz_boilerplate
ea606c6b25eb8a515cb2b291e07d0ad1295e0ba1
[ "CC0-1.0" ]
null
null
null
digeiz_api/extensions.py
doanguyen/digeiz_boilerplate
ea606c6b25eb8a515cb2b291e07d0ad1295e0ba1
[ "CC0-1.0" ]
null
null
null
from flask_marshmallow import Marshmallow from flask_migrate import Migrate from flask_sqlalchemy import SQLAlchemy # type: ignore db = SQLAlchemy() migrate = Migrate() ma = Marshmallow()
23.75
55
0.805263
23
190
6.521739
0.434783
0.18
0
0
0
0
0
0
0
0
0
0
0.136842
190
7
56
27.142857
0.914634
0.063158
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
33f6b6e2c3ec29e04d7efe2870f39aac1cf46cea
3,709
py
Python
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/g/generic_alias/generic_alias_collections.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
463
2015-01-15T08:17:42.000Z
2022-03-28T15:10:20.000Z
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/g/generic_alias/generic_alias_collections.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
52
2015-01-06T02:43:59.000Z
2022-03-14T11:15:21.000Z
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/g/generic_alias/generic_alias_collections.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
249
2015-01-07T22:49:49.000Z
2022-03-18T02:32:06.000Z
"""Test generic alias support for stdlib types (added in PY39).""" # flake8: noqa # pylint: disable=missing-docstring,pointless-statement # pylint: disable=too-few-public-methods,multiple-statements,line-too-long import abc import collections import collections.abc import contextlib import re # special tuple[int, int]...
28.312977
152
0.798059
446
3,709
6.520179
0.257848
0.231087
0.099381
0.048143
0.154402
0.12586
0.07359
0.046768
0.046768
0.046768
0
0.004148
0.090051
3,709
130
153
28.530769
0.857481
0.260717
0
0.129412
0
0
0
0
0
0
0
0
0
1
0
true
0.129412
0.058824
0
0.188235
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
1
1
0
0
0
0
0
3
33f9b83fba54ff9f70edf1c20a7ee455b7a8d365
155,864
py
Python
pysnmp-with-texts/WWP-LEOS-FLOW-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/WWP-LEOS-FLOW-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/WWP-LEOS-FLOW-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 WWP-LEOS-FLOW-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WWP-LEOS-FLOW-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:37:57 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
167.595699
16,499
0.806921
16,825
155,864
7.475007
0.060565
0.009653
0.099684
0.009732
0.51861
0.392909
0.350553
0.333657
0.312785
0.302051
0
0.056884
0.083926
155,864
929
16,500
167.776103
0.823943
0.002104
0
0
0
0.098913
0.262649
0.032039
0
0
0
0
0
1
0
false
0.107609
0.007609
0
0.01413
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d50fda8fed76b59d4007723df7cf86c1fe909214
633
py
Python
telepict/util/image/file_based.py
dpitch40/telepict
c0afcf0f726d8ac106dc8372cac2c003961e2327
[ "MIT" ]
1
2020-06-28T18:50:24.000Z
2020-06-28T18:50:24.000Z
telepict/util/image/file_based.py
dpitch40/telepict
c0afcf0f726d8ac106dc8372cac2c003961e2327
[ "MIT" ]
53
2020-07-04T01:21:24.000Z
2021-08-29T23:16:21.000Z
telepict/util/image/file_based.py
dpitch40/telepict
c0afcf0f726d8ac106dc8372cac2c003961e2327
[ "MIT" ]
1
2020-07-04T01:32:40.000Z
2020-07-04T01:32:40.000Z
import os.path from . import ImageBackend class FileImageBackend(ImageBackend): storage_dir = 'drawings/' def generate_key(self, d): return f'{d.stack.game_id}_{d.stack.owner.name}_{d.stack.id_}_{d.author.name}_{d.stack_pos}' def generate_fname(self, drawing): return os.path.join(self.st...
30.142857
100
0.666667
87
633
4.666667
0.448276
0.059113
0.049261
0.093596
0.211823
0.211823
0.211823
0.211823
0
0
0
0
0.199052
633
20
101
31.65
0.800789
0
0
0
1
0.071429
0.156398
0.129542
0
0
0
0
0
1
0.214286
false
0
0.142857
0.142857
0.714286
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
1
0
0
0
1
0
0
0
3
1d150b38823aac7dd388261f6ff3086b89418ea6
9,090
py
Python
checkshutters.py
jdmonnier/mircx_mystic
45bf8491117674157b39f49cfe0c92c5ec6da500
[ "MIT" ]
1
2022-01-13T19:32:51.000Z
2022-01-13T19:32:51.000Z
checkshutters.py
jdmonnier/mircx_mystic
45bf8491117674157b39f49cfe0c92c5ec6da500
[ "MIT" ]
null
null
null
checkshutters.py
jdmonnier/mircx_mystic
45bf8491117674157b39f49cfe0c92c5ec6da500
[ "MIT" ]
null
null
null
import numpy as np; import os; import matplotlib.pyplot as plt; import matplotlib.colors as mcolors; import mircx_mystic as mrx; from astropy.stats import sigma_clipped_stats; from astropy.io import fits as pyfits; from astropy.modeling import models, fitting; from skimage.feature import register_translation; from s...
40.762332
129
0.59626
1,204
9,090
4.366279
0.195183
0.036523
0.020924
0.026631
0.76032
0.732928
0.723607
0.693551
0.685372
0.679285
0
0.029495
0.257756
9,090
223
130
40.762332
0.749667
0.256986
0
0.571429
0
0
0.065309
0
0
0
0
0
0
1
0.030075
false
0
0.12782
0
0.18797
0.067669
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d1cd2b8de7ea8add2eaeeef4d9d5307914c75f3
5,646
py
Python
src/twistedae/tests/test_memcache.py
TheProjecter/twistedae
96a22c936a970809d753ac428d1d2bcf2c6fdf55
[ "Apache-2.0" ]
null
null
null
src/twistedae/tests/test_memcache.py
TheProjecter/twistedae
96a22c936a970809d753ac428d1d2bcf2c6fdf55
[ "Apache-2.0" ]
null
null
null
src/twistedae/tests/test_memcache.py
TheProjecter/twistedae
96a22c936a970809d753ac428d1d2bcf2c6fdf55
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2009 Tobias Rodäbel # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
40.042553
80
0.664364
678
5,646
5.488201
0.271386
0.197528
0.237033
0.300457
0.501747
0.406342
0.293738
0.204784
0.032787
0
0
0.008244
0.205101
5,646
140
81
40.328571
0.820856
0.138682
0
0
0
0
0.116472
0.013914
0
0
0
0
0.301205
0
null
null
0
0.072289
null
null
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
1d23da3a62ced7b755b571f11aee9696f4bba7b7
117,651
py
Python
crime_data/common/models.py
EricSchles/crime-data-api
fdc2ec3a151d2c76d43b1dd3bebe56e34aa58757
[ "CC0-1.0" ]
null
null
null
crime_data/common/models.py
EricSchles/crime-data-api
fdc2ec3a151d2c76d43b1dd3bebe56e34aa58757
[ "CC0-1.0" ]
null
null
null
crime_data/common/models.py
EricSchles/crime-data-api
fdc2ec3a151d2c76d43b1dd3bebe56e34aa58757
[ "CC0-1.0" ]
1
2019-11-07T03:32:40.000Z
2019-11-07T03:32:40.000Z
# coding: utf-8 import datetime from decimal import Decimal import flask_restful as restful from crime_data.extensions import db from sqlalchemy import (BigInteger, Boolean, Column, DateTime, Float, ForeignKey, Integer, SmallInteger, String, Text, UniqueConstraint, func,...
40.893639
81
0.557037
11,840
117,651
5.27424
0.039189
0.118372
0.147805
0.087114
0.836037
0.761846
0.69302
0.635883
0.575016
0.527135
0
0.008129
0.343363
117,651
2,876
82
40.907858
0.800205
0.001785
0
0.636895
0
0
0.108105
0.047168
0
0
0
0
0
1
0
false
0
0.002922
0
0.58389
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1d2f034186e2d28f3f15312eafe3a1d298ed1f3c
146
py
Python
apistar_websocket/app.py
jeffbuttars/apistar-websocket
c68b592d1e00c03806fc334460f027ea1c93fce9
[ "Apache-2.0" ]
26
2018-05-30T12:47:03.000Z
2020-01-31T01:47:41.000Z
apistar_websocket/app.py
jeffbuttars/apistar-websocket
c68b592d1e00c03806fc334460f027ea1c93fce9
[ "Apache-2.0" ]
1
2021-06-01T22:14:55.000Z
2021-06-01T22:14:55.000Z
apistar_websocket/app.py
jeffbuttars/apistar-websocket
c68b592d1e00c03806fc334460f027ea1c93fce9
[ "Apache-2.0" ]
2
2018-06-08T03:21:26.000Z
2018-09-22T00:04:59.000Z
from .websocket import WebSocketAutoHook, WebSocketComponent components = [ WebSocketComponent(), ] event_hooks = [ WebSocketAutoHook ]
14.6
60
0.753425
10
146
10.9
0.8
0
0
0
0
0
0
0
0
0
0
0
0.171233
146
9
61
16.222222
0.900826
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
1
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
3
1d5b254f4370f078d62b0efb3c35487c8b5cd8e0
636
py
Python
main.py
namankr85100/astro-chart-dob
8b8f03b02224ea9ca7fae32bc96e977b41d2f9dd
[ "MIT" ]
null
null
null
main.py
namankr85100/astro-chart-dob
8b8f03b02224ea9ca7fae32bc96e977b41d2f9dd
[ "MIT" ]
null
null
null
main.py
namankr85100/astro-chart-dob
8b8f03b02224ea9ca7fae32bc96e977b41d2f9dd
[ "MIT" ]
null
null
null
from kerykeion.astrocore import AstroData, Calculator from kerykeion.output import output import json kanye = Calculator("Kanye", 1985, 12, 2, 8, 45, "Atlanta") # print(kanye) # y = output(kanye) # print(y) # print(kanye.houses()[3]) # print(output(kanye)) # Instantiate # hname = [] # Append new element...
26.5
85
0.641509
84
636
4.797619
0.404762
0.148883
0.210918
0.223325
0.30273
0.248139
0.248139
0.248139
0.248139
0.248139
0
0.032136
0.168239
636
24
86
26.5
0.729679
0.45283
0
0
0
0
0.067093
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1d5cff00c7c1f669f724f52180ecef87a3bfb1a8
720
py
Python
phi/jax/flow.py
oguzziya/PhiFlow
55d9834051e8a52c19a0e6d62e1c7c2f0a42cc34
[ "MIT" ]
null
null
null
phi/jax/flow.py
oguzziya/PhiFlow
55d9834051e8a52c19a0e6d62e1c7c2f0a42cc34
[ "MIT" ]
null
null
null
phi/jax/flow.py
oguzziya/PhiFlow
55d9834051e8a52c19a0e6d62e1c7c2f0a42cc34
[ "MIT" ]
null
null
null
# pylint: disable-msg = wildcard-import, unused-wildcard-import, unused-import """ Standard import for *experimental* Jax mode. Extends the import `from phi.flow import *` by Jax-related functions and modules. The following Jax modules are included: `jax`, `jax.numpy` as `jnp`, `jax.scipy` as `jsp`. Importing this m...
28.8
90
0.75
110
720
4.845455
0.472727
0.075047
0.075047
0.06379
0
0
0
0
0
0
0
0
0.156944
720
24
91
30
0.878089
0.668056
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1d7608c5fa14247c16c8aa22af450ed46c1c4767
168
py
Python
orb_simulator/other_language/testing_ast/Expression.py
dmguezjaviersnet/IA-Sim-Comp-Project
8165b9546efc45f98091a3774e2dae4f45942048
[ "MIT" ]
1
2022-01-19T22:49:09.000Z
2022-01-19T22:49:09.000Z
orb_simulator/other_language/testing_ast/Expression.py
dmguezjaviersnet/IA-Sim-Comp-Project
8165b9546efc45f98091a3774e2dae4f45942048
[ "MIT" ]
15
2021-11-10T14:25:02.000Z
2022-02-12T19:17:11.000Z
orb_simulator/other_language/testing_ast/Expression.py
dmguezjaviersnet/IA-Sim-Comp-Project
8165b9546efc45f98091a3774e2dae4f45942048
[ "MIT" ]
null
null
null
from abc import abstractmethod class Expression: @abstractmethod def __init__(self)->None: ... @abstractmethod def eval(): ...
12
30
0.571429
14
168
6.571429
0.785714
0.369565
0
0
0
0
0
0
0
0
0
0
0.327381
168
14
31
12
0.814159
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
d5200f5d97be0b0ba7de3d1d4c1197836dd51aef
191
py
Python
4 - observer pattern/lib/email.py
mickeybeurskens/betterpython
1b095061b4c11bba39ba4723a23bce495b5ea06a
[ "MIT" ]
523
2021-02-22T09:44:36.000Z
2022-03-30T06:20:23.000Z
4 - observer pattern/lib/email.py
mickeybeurskens/betterpython
1b095061b4c11bba39ba4723a23bce495b5ea06a
[ "MIT" ]
5
2021-03-03T14:54:41.000Z
2021-12-24T15:58:40.000Z
4 - observer pattern/lib/email.py
mickeybeurskens/betterpython
1b095061b4c11bba39ba4723a23bce495b5ea06a
[ "MIT" ]
146
2021-03-12T23:10:38.000Z
2022-03-30T11:30:16.000Z
def send_email(name: str, address: str, subject: str, body: str): print(f"Sending email to {name} ({address})") print("==========") print(f"Subject: {subject}\n") print(body)
31.833333
65
0.591623
26
191
4.307692
0.5
0.107143
0
0
0
0
0
0
0
0
0
0
0.17801
191
5
66
38.2
0.713376
0
0
0
0
0
0.340314
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.8
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d52ad2a54d17476ee808a41c87058281a015f1de
156
py
Python
main.py
labrunhosarodrigues/evolsim
e24288b4ed396d6c80ca7818ef49e2ac56a21d34
[ "MIT" ]
null
null
null
main.py
labrunhosarodrigues/evolsim
e24288b4ed396d6c80ca7818ef49e2ac56a21d34
[ "MIT" ]
null
null
null
main.py
labrunhosarodrigues/evolsim
e24288b4ed396d6c80ca7818ef49e2ac56a21d34
[ "MIT" ]
null
null
null
# ~encoding: utf-8~ """ main Entry point to run evolsim simulator. @author: Lourenço Abrunhosa Rodrigues """ # imports # built-in # local # 3rd-party
9.176471
37
0.679487
20
156
5.3
1
0
0
0
0
0
0
0
0
0
0
0.015873
0.192308
156
16
38
9.75
0.825397
0.858974
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d53c9d365e6fffd57c3b20742c0b2af88503912c
133
py
Python
gemini_instruments/skycam/__init__.py
DBerke/DRAGONS
cecf9a03970af95126bd17a227bd5214a5d6c64b
[ "BSD-3-Clause" ]
19
2017-10-23T14:52:51.000Z
2022-03-28T04:49:00.000Z
gemini_instruments/skycam/__init__.py
DBerke/DRAGONS
cecf9a03970af95126bd17a227bd5214a5d6c64b
[ "BSD-3-Clause" ]
194
2017-11-01T17:32:45.000Z
2022-03-31T21:32:59.000Z
gemini_instruments/skycam/__init__.py
DBerke/DRAGONS
cecf9a03970af95126bd17a227bd5214a5d6c64b
[ "BSD-3-Clause" ]
16
2017-11-01T05:18:04.000Z
2021-12-14T23:08:57.000Z
__all__ = ['AstroDataSkyCam'] from astrodata import factory from .adclass import AstroDataSkyCam factory.addClass(AstroDataSkyCam)
19
36
0.827068
13
133
8.153846
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.105263
133
6
37
22.166667
0.890756
0
0
0
0
0
0.112782
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d5478e0e8a40c399e68bc76e2dc093cf791cf750
254
py
Python
vizdoomgym/envs/vizdoom_cig.py
astronautas/vizdoom_gym
142e7e61e8069e06153492a76c5881bdd04e36ed
[ "MIT" ]
null
null
null
vizdoomgym/envs/vizdoom_cig.py
astronautas/vizdoom_gym
142e7e61e8069e06153492a76c5881bdd04e36ed
[ "MIT" ]
null
null
null
vizdoomgym/envs/vizdoom_cig.py
astronautas/vizdoom_gym
142e7e61e8069e06153492a76c5881bdd04e36ed
[ "MIT" ]
null
null
null
from vizdoomgym.envs.vizdoomenv_cig import VizdoomEnvCig class VizdoomCig(VizdoomEnvCig): def __init__(self, port=None, agent_id=None, agents_total=1): super(VizdoomCig, self).__init__(11, port, agent_id=agent_id, agents_total=agents_total)
42.333333
96
0.787402
35
254
5.285714
0.6
0.113514
0
0
0
0
0
0
0
0
0
0.013333
0.114173
254
6
96
42.333333
0.808889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
d557e8a83d00b3ae07b645de07f00f97831615f6
137
py
Python
directory_tools/recover_form.py
FunTimeCoding/directory-tools
ccec85d652b0f99520bd0adeabc612aa19334644
[ "MIT" ]
null
null
null
directory_tools/recover_form.py
FunTimeCoding/directory-tools
ccec85d652b0f99520bd0adeabc612aa19334644
[ "MIT" ]
null
null
null
directory_tools/recover_form.py
FunTimeCoding/directory-tools
ccec85d652b0f99520bd0adeabc612aa19334644
[ "MIT" ]
null
null
null
from wtforms import Form, StringField class RecoverForm(Form): username = StringField('Username') email = StringField('Email')
19.571429
38
0.729927
14
137
7.142857
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.167883
137
6
39
22.833333
0.877193
0
0
0
0
0
0.094891
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d55d07f8f15181675bbc0559b317b3b69d5fde6a
100
py
Python
AIs/Cedric Daligny/Memory/__init__.py
YSabarad/monopyly
0460f2452c83846b6b9e3b234be411e12a86d69c
[ "MIT" ]
4
2015-11-04T21:18:40.000Z
2020-12-26T21:15:23.000Z
AIs/Cedric Daligny/Memory/__init__.py
YSabarad/monopyly
0460f2452c83846b6b9e3b234be411e12a86d69c
[ "MIT" ]
2
2021-08-09T18:19:58.000Z
2021-08-10T14:44:54.000Z
AIs/Cedric Daligny/Memory/__init__.py
YSabarad/monopyly
0460f2452c83846b6b9e3b234be411e12a86d69c
[ "MIT" ]
6
2015-08-01T17:54:17.000Z
2022-02-28T00:00:21.000Z
__author__ = 'Cedric' from .AuctionMemory import AuctionMemory from .DealMemory import DealMemory
16.666667
40
0.82
10
100
7.8
0.6
0
0
0
0
0
0
0
0
0
0
0
0.13
100
5
41
20
0.896552
0
0
0
0
0
0.060606
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d5626b2855146b0c23918313d07cbeb741079037
197
py
Python
tests/core/tests/manual_urls.py
SeanHayes/django-tastypie
a9e5b614b5e9d4b4d570b10a2154f8d2dd547a7a
[ "BSD-3-Clause" ]
null
null
null
tests/core/tests/manual_urls.py
SeanHayes/django-tastypie
a9e5b614b5e9d4b4d570b10a2154f8d2dd547a7a
[ "BSD-3-Clause" ]
null
null
null
tests/core/tests/manual_urls.py
SeanHayes/django-tastypie
a9e5b614b5e9d4b4d570b10a2154f8d2dd547a7a
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import patterns, include from core.tests.resources import NoteResource note_resource = NoteResource() urlpatterns = patterns('', (r'^', include(note_resource.urls)), )
19.7
46
0.751269
23
197
6.347826
0.652174
0.164384
0
0
0
0
0
0
0
0
0
0
0.126904
197
9
47
21.888889
0.848837
0
0
0
0
0
0.005076
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d563c1bac13ec516958ac4f6bc933a4f7b50690c
76
py
Python
python/961.n-repeated-element-in-size-2n-array.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/961.n-repeated-element-in-size-2n-array.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/961.n-repeated-element-in-size-2n-array.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
class Solution: def repeatedNTimes(self, A: List[int]) -> int:
19
50
0.592105
9
76
5
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.276316
76
3
51
25.333333
0.818182
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
d566816f765c0e7d3e4ae894f99872b8af1e540d
4,075
py
Python
third_party/google-endpoints/jwkest/curves.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/google-endpoints/jwkest/curves.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
4,640
2015-07-08T16:19:08.000Z
2019-12-02T15:01:27.000Z
third_party/google-endpoints/jwkest/curves.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
698
2015-06-02T19:18:35.000Z
2022-03-29T16:57:15.000Z
# ======================= # From the pyECC package # ======================= # # Predefined Elliptic Curves # for use in signing and key exchange # """ Predefined elliptic curves for use in signing and key exchange. This Module implements FIPS approved standard curves P-192, P-224, P-256, P-384 and P-521 along with...
46.306818
138
0.798773
255
4,075
12.741176
0.54902
0.01108
0.007387
0.01385
0.032625
0.032625
0.032625
0.032625
0.032625
0.032625
0
0.34053
0.147485
4,075
87
139
46.83908
0.594704
0.226012
0
0.04
0
0
0.00896
0
0
0
0.74528
0
0
1
0.04
false
0
0
0.02
0.08
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
d572a5b491de877e070fc5b5f92398e8e4de6128
72
py
Python
decoder/__init__.py
devidwolf/hc1
7ab4e61a7e69d252e908255d78c4fe6f693e3056
[ "MIT" ]
1
2021-08-09T09:33:42.000Z
2021-08-09T09:33:42.000Z
decoder/__init__.py
devidwolf/hc1
7ab4e61a7e69d252e908255d78c4fe6f693e3056
[ "MIT" ]
null
null
null
decoder/__init__.py
devidwolf/hc1
7ab4e61a7e69d252e908255d78c4fe6f693e3056
[ "MIT" ]
1
2021-08-09T09:34:30.000Z
2021-08-09T09:34:30.000Z
from .decoder import * __author__ = 'David Wolf' __version__ = '1.0.0'
14.4
25
0.694444
10
72
4.2
0.9
0
0
0
0
0
0
0
0
0
0
0.05
0.166667
72
4
26
18
0.65
0
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d5766f278b1c05edecefc5e84eb67cf9e26d6983
159
py
Python
random/ispalindromeTest.py
mlohnrob/Projects
691fdbd8da9afefc9c3c69a3c6b20b06cc429136
[ "MIT" ]
null
null
null
random/ispalindromeTest.py
mlohnrob/Projects
691fdbd8da9afefc9c3c69a3c6b20b06cc429136
[ "MIT" ]
1
2019-06-21T14:11:01.000Z
2019-06-21T14:11:37.000Z
random/ispalindromeTest.py
mlohnrob/Projects
691fdbd8da9afefc9c3c69a3c6b20b06cc429136
[ "MIT" ]
null
null
null
def isPalindrome(word): word = word.lower() if word == word[::-1]: return True else: return False print(isPalindrome("DDnKnDD"))
15.9
30
0.578616
18
159
5.111111
0.666667
0.26087
0
0
0
0
0
0
0
0
0
0.008772
0.283019
159
9
31
17.666667
0.798246
0
0
0
0
0
0.044025
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0.142857
1
0
0
null
1
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
3
d5795ac3d57a9ce56f5ad58d3a0969ee8a570915
5,910
py
Python
syntropy_sdk/models/agent_interface_metadata.py
SyntropyNet/syntropy-python-sdk
27b7756b136f83886fd2a6e342fa4d4073779ff7
[ "MIT" ]
1
2020-12-17T17:30:12.000Z
2020-12-17T17:30:12.000Z
syntropy_sdk/models/agent_interface_metadata.py
SyntropyNet/syntropy-python-sdk
27b7756b136f83886fd2a6e342fa4d4073779ff7
[ "MIT" ]
null
null
null
syntropy_sdk/models/agent_interface_metadata.py
SyntropyNet/syntropy-python-sdk
27b7756b136f83886fd2a6e342fa4d4073779ff7
[ "MIT" ]
null
null
null
# coding: utf-8 """ syntropy-controller No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 0.1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 imp...
34.360465
125
0.656176
668
5,910
5.462575
0.172156
0.2302
0.241162
0.126062
0.63305
0.586736
0.465881
0.425322
0.332694
0.181968
0
0.015983
0.269543
5,910
171
126
34.561404
0.82928
0.305584
0
0.036145
1
0
0.081473
0.070313
0
0
0
0
0
1
0.144578
false
0
0.036145
0
0.325301
0.024096
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d59532dc602c54b55cfd4cd55718c431e637defc
690
py
Python
wheelcms_project/settings/production.py
wheelcms/wheelcms_project
e3cc3b6cb787ac83732aea1b7fb81c7f62c981f7
[ "BSD-2-Clause" ]
null
null
null
wheelcms_project/settings/production.py
wheelcms/wheelcms_project
e3cc3b6cb787ac83732aea1b7fb81c7f62c981f7
[ "BSD-2-Clause" ]
null
null
null
wheelcms_project/settings/production.py
wheelcms/wheelcms_project
e3cc3b6cb787ac83732aea1b7fb81c7f62c981f7
[ "BSD-2-Clause" ]
null
null
null
from wheelcms_project.settings.base import * from wheelcms_project.settings.base.util import get_env_variable if not DATABASE_URL: PG_DEFAULT_DB = { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': get_env_variable('DB_NAME'), 'USER': get_env_variable('DB_USER'), ...
32.857143
64
0.653623
83
690
5.036145
0.433735
0.114833
0.267943
0.191388
0.287081
0.138756
0
0
0
0
0
0.001848
0.215942
690
20
65
34.5
0.770795
0
0
0
0
0
0.23913
0.055072
0
0
0
0
0
1
0
false
0.058824
0.117647
0
0.117647
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d5a0aee42c12be8f0d256f9aaa00c4a5dc10cc26
846
py
Python
lib/v2/imports.py
ms8909/mltrons-auto-data-prep
22e7282bc917bb5b6eaa74a7b163481c59f93538
[ "MIT" ]
3
2019-11-16T07:39:57.000Z
2022-03-22T10:55:46.000Z
lib/v2/imports.py
ms8909/mltrons-auto-data-prep
22e7282bc917bb5b6eaa74a7b163481c59f93538
[ "MIT" ]
1
2019-12-05T03:34:25.000Z
2019-12-28T17:27:38.000Z
lib/v2/imports.py
ms8909/mltrons-auto-data-prep
22e7282bc917bb5b6eaa74a7b163481c59f93538
[ "MIT" ]
2
2019-11-17T03:21:45.000Z
2020-09-19T20:37:05.000Z
from pyspark.ml.feature import OneHotEncoder, StringIndexer from pyspark.sql import SQLContext as spark import pyspark.sql.functions as funct from pyspark.ml import Pipeline, Transformer from pyspark.ml.feature import Imputer from pyspark.sql.functions import year, month, dayofmonth from pyspark.sql.types import Double...
36.782609
104
0.851064
116
846
6.206897
0.422414
0.168056
0.116667
0.079167
0.176389
0
0
0
0
0
0
0
0.105201
846
23
105
36.782609
0.951123
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
6359631d870a8bfcc4c364b21d2b3025dd43792d
719
py
Python
Ago-Dic-2017/Ivan Carreon/practica-1/Agencia.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
41
2017-09-26T09:36:32.000Z
2022-03-19T18:05:25.000Z
Ago-Dic-2017/Ivan Carreon/practica-1/Agencia.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
67
2017-09-11T05:06:12.000Z
2022-02-14T04:44:04.000Z
Ago-Dic-2017/Ivan Carreon/practica-1/Agencia.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
210
2017-09-01T00:10:08.000Z
2022-03-19T18:05:12.000Z
class Agencia: def __init__(self,nombre,direccion,email): self.nombre = nombre self.direccion = direccion self.email = email def getNombre(self): return self.nombre def getDireccion(self): return self.direccion def getEmail(self): return self.email d...
28.76
106
0.653686
83
719
5.614458
0.409639
0.107296
0.090129
0.072961
0
0
0
0
0
0
0
0.005495
0.240612
719
24
107
29.958333
0.847985
0
0
0.3
0
0
0.111266
0.031989
0
0
0
0
0
1
0.4
false
0
0
0.2
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
63829dc7f255c8e9f15941d698f1fc8eb8626fbb
525
py
Python
examples/base.py
jfkinslow/flask-mailing
dda99214b783b60fabc7dfad209fff4438eaf61c
[ "MIT" ]
null
null
null
examples/base.py
jfkinslow/flask-mailing
dda99214b783b60fabc7dfad209fff4438eaf61c
[ "MIT" ]
null
null
null
examples/base.py
jfkinslow/flask-mailing
dda99214b783b60fabc7dfad209fff4438eaf61c
[ "MIT" ]
null
null
null
from flask import Flask import os as os def create_app(): app = Flask(__name__) app.config['MAIL_USERNAME'] = os.environ['mu'] app.config['MAIL_PASSWORD'] = os.environ['mp'] app.config['MAIL_FROM'] = "aniketsarkar1998@gmail.com" app.config['MAIL_PORT'] = os.environ['mport'] app.config['MAIL_...
29.166667
80
0.666667
72
525
4.583333
0.486111
0.218182
0.315152
0.09697
0
0
0
0
0
0
0
0.009195
0.171429
525
18
81
29.166667
0.749425
0.140952
0
0
0
0
0.257778
0.057778
0
0
0
0
0
1
0.083333
false
0.083333
0.166667
0
0.333333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
639146bcdeda18bb9c1a91493e49fa7dc934f71e
123
py
Python
hiVedic/hello.py
vedic-partap/hiVedic
a633e7c637e99a533f10f2e84c19052f95109002
[ "MIT" ]
null
null
null
hiVedic/hello.py
vedic-partap/hiVedic
a633e7c637e99a533f10f2e84c19052f95109002
[ "MIT" ]
null
null
null
hiVedic/hello.py
vedic-partap/hiVedic
a633e7c637e99a533f10f2e84c19052f95109002
[ "MIT" ]
null
null
null
import getpass def say_hello(): username = getpass.getuser() print(f'Hello {username}, by Vedic !!!') say_hello()
17.571429
44
0.666667
16
123
5
0.6875
0.2
0
0
0
0
0
0
0
0
0
0
0.178862
123
7
45
17.571429
0.792079
0
0
0
0
0
0.241935
0
0
0
0
0
0
1
0.2
false
0.4
0.2
0
0.4
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
6393fc2474df201292f1c742e49b1f70ad262717
100
py
Python
cleaner/__main__.py
yodle/docker-registry-cleaner
366cc7ce5db214ffe4c9ac16c0fa14c3ee9c16b4
[ "Apache-2.0" ]
19
2016-01-28T03:27:11.000Z
2021-11-08T09:38:53.000Z
cleaner/__main__.py
yodle/docker-registry-cleaner
366cc7ce5db214ffe4c9ac16c0fa14c3ee9c16b4
[ "Apache-2.0" ]
5
2016-01-22T17:04:54.000Z
2016-05-24T14:48:38.000Z
cleaner/__main__.py
yodle/docker-registry-cleaner
366cc7ce5db214ffe4c9ac16c0fa14c3ee9c16b4
[ "Apache-2.0" ]
7
2016-01-07T13:26:35.000Z
2018-12-28T07:51:38.000Z
#!/usr/bin/env python import app def main(): app.main() if __name__ == '__main__': main()
11.111111
26
0.6
14
100
3.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.22
100
8
27
12.5
0.666667
0.2
0
0
0
0
0.101266
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
639c07a801b04962bd9d9551c80dcd0b98d80c56
1,971
py
Python
pydgraph/client.py
MichelDiz/pydgraph
88e291fef1552363bd32c19bf66f652c4437c09d
[ "Apache-2.0" ]
null
null
null
pydgraph/client.py
MichelDiz/pydgraph
88e291fef1552363bd32c19bf66f652c4437c09d
[ "Apache-2.0" ]
1
2018-07-25T03:15:49.000Z
2018-07-25T03:15:49.000Z
pydgraph/client.py
MichelDiz/pydgraph
88e291fef1552363bd32c19bf66f652c4437c09d
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Dgraph Labs, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
33.982759
116
0.720446
272
1,971
5.080882
0.492647
0.043415
0.023878
0.023155
0.149059
0.149059
0.149059
0.069465
0
0
0
0.006262
0.189751
1,971
57
117
34.578947
0.859111
0.365297
0
0
0
0
0.101151
0.018092
0
0
0
0
0
1
0.269231
false
0
0.153846
0.153846
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
63add504a763c4b64a1ed68ada8b2a6e48f35c80
1,600
py
Python
setup.py
johnthagen/cpplint-junit
9de4ed6762fdb415e1ebe94f1cd82d2027c2b96f
[ "MIT" ]
5
2016-02-15T19:24:46.000Z
2020-05-12T12:35:24.000Z
setup.py
johnthagen/cpplint-junit
9de4ed6762fdb415e1ebe94f1cd82d2027c2b96f
[ "MIT" ]
2
2019-10-14T12:25:38.000Z
2019-12-15T18:34:34.000Z
setup.py
johnthagen/cpplint-junit
9de4ed6762fdb415e1ebe94f1cd82d2027c2b96f
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='cpplint-junit', version='2.0.1', description='Converts cpplint output to JUnit format.', long_description=open('README.rst').read(), keywords='cpplint C++ Google JUnit', author='John Hagen', author_email='johnthagen@gmail.com', url='https://g...
31.372549
71
0.606875
156
1,600
6.141026
0.538462
0.19833
0.234864
0.162839
0
0
0
0
0
0
0
0.013234
0.244375
1,600
50
72
32
0.779156
0
0
0.047619
0
0
0.588125
0
0
0
0
0
0
1
0
true
0
0.02381
0
0.02381
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
63b5f8d188f7466ab70c92cfef3a85d398b36b92
241
py
Python
tovp/gifts/admin.py
nrsimha/tovp
311bc957c95c294811d737f5df30b0a218d35610
[ "MIT" ]
null
null
null
tovp/gifts/admin.py
nrsimha/tovp
311bc957c95c294811d737f5df30b0a218d35610
[ "MIT" ]
null
null
null
tovp/gifts/admin.py
nrsimha/tovp
311bc957c95c294811d737f5df30b0a218d35610
[ "MIT" ]
null
null
null
from django.contrib import admin from reversion_compare.admin import CompareVersionAdmin from .models import Gift class GiftModelAdmin(CompareVersionAdmin): class Meta: model = Gift admin.site.register(Gift, GiftModelAdmin)
18.538462
55
0.788382
27
241
7
0.592593
0
0
0
0
0
0
0
0
0
0
0
0.157676
241
12
56
20.083333
0.931034
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8932252e2e6307fc26d61f6569c0de013d5b8d8a
74
py
Python
trs_cli/__init__.py
elixir-cloud-aai/TRS-cli
2fbb0d8e8cbe2597dc9029ef7fb5401f65dadc39
[ "Apache-2.0" ]
8
2020-09-26T00:49:09.000Z
2021-12-03T14:27:26.000Z
trs_cli/__init__.py
elixir-cloud-aai/TRS-cli
2fbb0d8e8cbe2597dc9029ef7fb5401f65dadc39
[ "Apache-2.0" ]
21
2020-09-24T15:45:48.000Z
2021-12-07T11:49:07.000Z
trs_cli/__init__.py
elixir-cloud-aai/TRS-cli
2fbb0d8e8cbe2597dc9029ef7fb5401f65dadc39
[ "Apache-2.0" ]
null
null
null
__version__ = '0.7.0' from trs_cli.client import TRSClient # noqa: F401
18.5
50
0.72973
12
74
4.083333
0.916667
0
0
0
0
0
0
0
0
0
0
0.096774
0.162162
74
3
51
24.666667
0.693548
0.135135
0
0
0
0
0.080645
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
89625e3985f239ed51f8ac23c2a496e4203109cf
69
py
Python
src/lib/mimify.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
10
2015-11-13T17:02:40.000Z
2021-02-09T23:21:05.000Z
src/lib/mimify.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
43
2015-06-03T17:59:23.000Z
2021-09-17T10:45:21.000Z
src/lib/mimify.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
13
2017-07-02T03:16:46.000Z
2021-07-05T14:53:56.000Z
raise NotImplementedError("mimify is not yet implemented in Skulpt")
34.5
68
0.826087
9
69
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.115942
69
1
69
69
0.934426
0
0
0
0
0
0.565217
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
896c0244ce3014e115b9972abb79d99b0e23bcbd
19,314
py
Python
src/models/lang_abm.py
TLouf/multiling-twitter
9a39b5b70da53ca717cb74480697f3756a95b8e4
[ "RSA-MD" ]
1
2021-05-09T15:42:04.000Z
2021-05-09T15:42:04.000Z
src/models/lang_abm.py
TLouf/multiling-twitter
9a39b5b70da53ca717cb74480697f3756a95b8e4
[ "RSA-MD" ]
3
2020-10-21T09:04:03.000Z
2021-06-02T02:05:13.000Z
src/models/lang_abm.py
TLouf/multiling-twitter
9a39b5b70da53ca717cb74480697f3756a95b8e4
[ "RSA-MD" ]
null
null
null
import logging import numpy as np import pandas as pd import geopandas as geopd LOGGER = logging.getLogger(__name__) def simu_wrapper(user_df, cells_in_area_df, model_fun, lings, t_steps, prestige_A=None, simu_step_file_format=None, hist_cell_df=None, **model_fun_kwargs): ''' ...
44.916279
80
0.647251
3,127
19,314
3.623921
0.07771
0.10113
0.026474
0.02515
0.759972
0.730056
0.703406
0.679315
0.660166
0.6524
0
0.010232
0.235943
19,314
429
81
45.020979
0.757674
0.164647
0
0.617162
0
0
0.064767
0
0
0
0
0
0
1
0.046205
false
0
0.013201
0
0.105611
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
897764433170a6fae2dfb86541f3f0e2d75a5dab
643
py
Python
strategies/Preset.py
DevilXD/PrisonersDilemma
6d23bb243e76f5851a122929c95f784fef7b3a7e
[ "MIT" ]
null
null
null
strategies/Preset.py
DevilXD/PrisonersDilemma
6d23bb243e76f5851a122929c95f784fef7b3a7e
[ "MIT" ]
null
null
null
strategies/Preset.py
DevilXD/PrisonersDilemma
6d23bb243e76f5851a122929c95f784fef7b3a7e
[ "MIT" ]
null
null
null
from strategy import Strategy class AlwaysCooperate(Strategy): """ Always cooperates. """ def play(self, history): return 1 class AlwaysDefect(Strategy): """ Always defects. """ def play(self, history): return 0 class Alternator(Strategy): """ Alternates bet...
17.861111
50
0.622084
65
643
6.153846
0.415385
0.07
0.11
0.18
0.53
0.41
0.285
0.285
0
0
0
0.010753
0.276827
643
35
51
18.371429
0.849462
0.267496
0
0.307692
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0.307692
1
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
1
0
0
0
1
0
0
0
3