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
09695a2e4bed6984e906cc77d2f90253c7f6846c
340
py
Python
seyi_music/migrations/0008_auto_20200403_2245.py
DPsalmist/seyidpsalmist
4f66e253aba48e221adc1085ff2702813b7902df
[ "MIT" ]
null
null
null
seyi_music/migrations/0008_auto_20200403_2245.py
DPsalmist/seyidpsalmist
4f66e253aba48e221adc1085ff2702813b7902df
[ "MIT" ]
null
null
null
seyi_music/migrations/0008_auto_20200403_2245.py
DPsalmist/seyidpsalmist
4f66e253aba48e221adc1085ff2702813b7902df
[ "MIT" ]
null
null
null
# Generated by Django 2.2.2 on 2020-04-03 22:45 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('seyi_music', '0007_auto_20200403_1453'), ] operations = [ migrations.RenameModel( old_name='Signatures', new_name='Signature...
18.888889
50
0.605882
37
340
5.405405
0.810811
0.02
0
0
0
0
0
0
0
0
0
0.127572
0.285294
340
17
51
20
0.695473
0.132353
0
0
1
0
0.177474
0.078498
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0972645c2fea1f90bafa7ba86c0afb7ce06dbc58
2,995
py
Python
robopose/paper_models_cfg.py
lesteve/robopose
536e5317c891bf6bb2b8cbdda294533b3f111e09
[ "MIT" ]
43
2021-04-19T13:57:00.000Z
2022-03-30T02:43:29.000Z
robopose/paper_models_cfg.py
lesteve/robopose
536e5317c891bf6bb2b8cbdda294533b3f111e09
[ "MIT" ]
1
2021-07-07T04:46:57.000Z
2021-07-09T04:48:34.000Z
robopose/paper_models_cfg.py
lesteve/robopose
536e5317c891bf6bb2b8cbdda294533b3f111e09
[ "MIT" ]
6
2021-05-10T16:14:08.000Z
2022-01-13T23:01:34.000Z
PANDA_MODELS = dict( gt_joints='dream-panda-gt_joints--495831', predict_joints='dream-panda-predict_joints--173472', ) KUKA_MODELS = dict( gt_joints='dream-kuka-gt_joints--192228', predict_joints='dream-kuka-predict_joints--990681', ) BAXTER_MODELS = dict( gt_joints='dream-baxter-gt_joints--510055...
34.034091
116
0.73222
431
2,995
4.793503
0.218097
0.116167
0.098742
0.133591
0.471926
0.320426
0.168441
0.088577
0.036786
0
0
0.084301
0.108848
2,995
87
117
34.425287
0.689771
0
0
0
0
0
0.549249
0.494825
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09749ab80c3c0aadb0b3ef597a3207d104e4514e
827
py
Python
lxserv/passify_ManagerSelectGroupChannels.py
9bstudios/mecco_passify
1d7231a215e7c651a3d6242890694cf9456a4f70
[ "MIT" ]
2
2018-06-15T14:23:23.000Z
2021-03-08T18:00:01.000Z
lxserv/passify_ManagerSelectGroupChannels.py
9bstudios/mecco_passify
1d7231a215e7c651a3d6242890694cf9456a4f70
[ "MIT" ]
null
null
null
lxserv/passify_ManagerSelectGroupChannels.py
9bstudios/mecco_passify
1d7231a215e7c651a3d6242890694cf9456a4f70
[ "MIT" ]
null
null
null
# python import lx, lxu.command, passify class commandClass(lxu.command.BasicCommand): def basic_Execute(self, msg, flags): lx.eval('select.drop channel') try: lx.eval('group.scan mode:sel type:chan grpType:pass') lx.eval('tool.set channel.haul on') except: ...
24.323529
83
0.614268
95
827
5.221053
0.547368
0.048387
0.044355
0
0
0
0
0
0
0
0
0
0.270859
827
33
84
25.060606
0.822554
0.007255
0
0.26087
0
0
0.190476
0.025641
0
0
0
0
0
1
0.173913
false
0.217391
0.043478
0.043478
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0979f0395e28d97d745af8cdc923b332021b4537
147
py
Python
odd-Even value difference.py
sundar369/coding
d5e99623f055a39604351752d494c1c8817d6d91
[ "MIT" ]
null
null
null
odd-Even value difference.py
sundar369/coding
d5e99623f055a39604351752d494c1c8817d6d91
[ "MIT" ]
null
null
null
odd-Even value difference.py
sundar369/coding
d5e99623f055a39604351752d494c1c8817d6d91
[ "MIT" ]
null
null
null
n = int(input()) narr = list(map(int,input().split())) ev,od = 0,0 for i in range(n): if narr[i]%2==0: ev+=narr[i] else: od+=narr[i] print(od-ev)
21
37
0.591837
33
147
2.636364
0.545455
0.172414
0
0
0
0
0
0
0
0
0
0.031496
0.136054
147
7
38
21
0.653543
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0979fe54e8496fc98570494927c813325f248a47
337
py
Python
setup.py
ubergesundheit/brightsky
e8aec199dd2ade8ed520de8d0602db604cf0647e
[ "MIT" ]
null
null
null
setup.py
ubergesundheit/brightsky
e8aec199dd2ade8ed520de8d0602db604cf0647e
[ "MIT" ]
null
null
null
setup.py
ubergesundheit/brightsky
e8aec199dd2ade8ed520de8d0602db604cf0647e
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='brightsky', version='0.1a', author='Jakob de Maeyer', author_email='jakob@naboa.de', packages=['brightsky'], install_requires=[ 'click', 'coloredlogs', 'parsel', 'psycopg2-binary', 'python-dateutil', 'req...
17.736842
34
0.554896
31
337
5.967742
0.83871
0
0
0
0
0
0
0
0
0
0
0.012605
0.293769
337
18
35
18.722222
0.764706
0
0
0
0
0
0.329377
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0986a4cd1cc26fac052db4b6ffad1e05429d3459
269
py
Python
uuidmodels/models.py
oangervuori/namubufferi
b9353b1d1a32e18e93cb1e9bd2b591950d54269a
[ "MIT" ]
2
2016-12-05T03:31:47.000Z
2017-02-13T20:10:39.000Z
uuidmodels/models.py
oangervuori/namubufferi
b9353b1d1a32e18e93cb1e9bd2b591950d54269a
[ "MIT" ]
1
2016-12-14T10:53:15.000Z
2016-12-17T18:52:25.000Z
uuidmodels/models.py
oangervuori/namubufferi
b9353b1d1a32e18e93cb1e9bd2b591950d54269a
[ "MIT" ]
1
2017-01-14T10:56:28.000Z
2017-01-14T10:56:28.000Z
import uuid from django.db import models class UUIDModel(models.Model): # https://docs.djangoproject.com/en/3.2/ref/models/fields/#uuidfield id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) class Meta: abstract = True
22.416667
79
0.72119
37
269
5.216216
0.783784
0
0
0
0
0
0
0
0
0
0
0.013333
0.163569
269
11
80
24.454545
0.844444
0.241636
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
0
0
0
1
09886cbb7f4a8c425d13e4e5d028a99afe8e9d3e
2,844
py
Python
benchmarks/jugs.py
ethframe/microkanren
becfd3175d81955a695152e6222103e91d0a6975
[ "MIT" ]
5
2018-08-27T19:12:42.000Z
2022-03-25T22:53:10.000Z
benchmarks/jugs.py
ethframe/microkanren
becfd3175d81955a695152e6222103e91d0a6975
[ "MIT" ]
2
2020-01-06T13:55:05.000Z
2020-08-18T18:59:19.000Z
benchmarks/jugs.py
ethframe/microkanren
becfd3175d81955a695152e6222103e91d0a6975
[ "MIT" ]
1
2021-07-16T17:58:42.000Z
2021-07-16T17:58:42.000Z
import pyperf from mk.arithmetic import add, gte, lte from mk.core import conj, disj, eq from mk.disequality import neq from mk.dsl import conde, conjp, delay, fresh, run from mk.unify import Var BIG = 5 SMALL = 3 @delay def jugs(states): return disj( eq([(0, 0, "")], states), fresh( ...
33.458824
78
0.325246
243
2,844
3.711934
0.222222
0.044346
0.031042
0.053215
0.179601
0.116408
0.039911
0
0
0
0
0.011129
0.557665
2,844
84
79
33.857143
0.705882
0
0
0.09589
0
0
0.024613
0
0
0
0
0
0
1
0.027397
false
0
0.082192
0.013699
0.136986
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
099671bab6195bea6c048e958286d09ce2647ea3
1,724
py
Python
backend/src/api/v1/order.py
uesleicarvalhoo/ProjectStore
9b7518eab6b0c21bf7b908cdd9a1b063485c5943
[ "MIT" ]
1
2021-10-10T13:26:44.000Z
2021-10-10T13:26:44.000Z
backend/src/api/v1/order.py
uesleicarvalhoo/Store
9b7518eab6b0c21bf7b908cdd9a1b063485c5943
[ "MIT" ]
null
null
null
backend/src/api/v1/order.py
uesleicarvalhoo/Store
9b7518eab6b0c21bf7b908cdd9a1b063485c5943
[ "MIT" ]
null
null
null
from typing import List from uuid import UUID from fastapi import APIRouter from fastapi.param_functions import Depends from sqlmodel import Session from starlette.status import HTTP_201_CREATED from src.core.controller import order from src.core.helpers.database import make_session from src.core.models import Contex...
35.183673
120
0.779002
226
1,724
5.783186
0.238938
0.107116
0.080337
0.095639
0.448355
0.428462
0.428462
0.377965
0.319816
0.319816
0
0.003945
0.117749
1,724
48
121
35.916667
0.855358
0
0
0.085714
0
0
0.014501
0
0
0
0
0
0
1
0
false
0
0.314286
0
0.457143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
099b10c76992c54f66b47ab796544baca91b739b
1,167
py
Python
src/Renderer.py
AO-StreetArt/BlenderQ
7d215699b07c050472507d611113230cff54d2a2
[ "Apache-2.0" ]
5
2018-05-17T21:02:15.000Z
2021-10-30T02:40:19.000Z
src/Renderer.py
AO-StreetArt/BlenderQ
7d215699b07c050472507d611113230cff54d2a2
[ "Apache-2.0" ]
5
2019-05-08T09:38:07.000Z
2019-12-16T23:44:23.000Z
src/Renderer.py
AO-StreetArt/BlenderQ
7d215699b07c050472507d611113230cff54d2a2
[ "Apache-2.0" ]
1
2019-10-08T06:51:18.000Z
2019-10-08T06:51:18.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Apache2 License Notice Copyright 2018 Alex Barry 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 r...
30.710526
85
0.746358
166
1,167
5.126506
0.620482
0.070505
0.06698
0.037603
0
0
0
0
0
0
0
0.011364
0.170523
1,167
37
86
31.540541
0.867769
0.521851
0
0
0
0
0.071721
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
099d0c39a216c8dad8df252dace6a416c5ab4af7
592
py
Python
redman/helpers/table.py
oktntko/redman
ce50f4126d1d6bf9fdf44c9ac2273fa6bcb6057f
[ "MIT" ]
1
2021-06-30T04:05:05.000Z
2021-06-30T04:05:05.000Z
redman/helpers/table.py
oktntko/redman
ce50f4126d1d6bf9fdf44c9ac2273fa6bcb6057f
[ "MIT" ]
null
null
null
redman/helpers/table.py
oktntko/redman
ce50f4126d1d6bf9fdf44c9ac2273fa6bcb6057f
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Any, Iterable from texttable import Texttable class Table: def __init__(self, header: list[str]) -> None: self.table = Texttable(max_width=0) self.table.set_deco(Texttable.HEADER | Texttable.VLINES) self.table.header(header) def ...
29.6
123
0.663851
83
592
4.578313
0.433735
0.142105
0.068421
0.084211
0
0
0
0
0
0
0
0.002137
0.209459
592
19
124
31.157895
0.809829
0.04223
0
0
0
0
0.00531
0
0
0
0
0
0
1
0.25
false
0
0.25
0.083333
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
1
0
0
0
0
0
0
0
1
09a8f08901020af95343b1105b8bfbf1e6417fa5
611
py
Python
Mask/meta/config/moles_config.py
DanielWeidinger/Skyn
0503a6f07aadf580ba8390818b7cd674e29625ba
[ "MIT" ]
null
null
null
Mask/meta/config/moles_config.py
DanielWeidinger/Skyn
0503a6f07aadf580ba8390818b7cd674e29625ba
[ "MIT" ]
null
null
null
Mask/meta/config/moles_config.py
DanielWeidinger/Skyn
0503a6f07aadf580ba8390818b7cd674e29625ba
[ "MIT" ]
null
null
null
from Mask.meta.config.config import Config class MolesConfig(Config): ''' MolesConfig: Contain the configuration for the dataset + those in Config ''' NAME = "moles" GPU_COUNT = 1 # put 2 or more if you are 1 or more gpu IMAGES_PER_GPU = 1 # if you are a gp...
30.55
94
0.600655
82
611
4.329268
0.658537
0.050704
0.04507
0
0
0
0
0
0
0
0
0.049751
0.342062
611
20
95
30.55
0.833333
0.378069
0
0
0
0
0.014493
0
0
0
0
0
0
1
0
false
0
0.090909
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
09b12c246fdf041ade137e38249901813dbc67d2
482
py
Python
Practice_Problems/Store_Credit/storecredit.py
abhishek-kdm/Google-Code-Jam-Solutions
e3a998885f70a8af93d76c4a83f41226b906b2e2
[ "MIT" ]
2
2016-10-04T12:59:57.000Z
2016-10-04T13:00:27.000Z
Practice_Problems/Store_Credit/storecredit.py
abhishek-kdm/Google-Code-Jam-Solutions
e3a998885f70a8af93d76c4a83f41226b906b2e2
[ "MIT" ]
null
null
null
Practice_Problems/Store_Credit/storecredit.py
abhishek-kdm/Google-Code-Jam-Solutions
e3a998885f70a8af93d76c4a83f41226b906b2e2
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf8 -*- def calc_price(inputdata): credit, no_items, itemprice = inputdata prices = [int(x) for x in itemprice.split()] for i in range(int(no_items)): for j in range(i+1, int(no_items)): if prices[i] + prices[j] == int(credit): return (i+1, j+1) for i in r...
28.352941
55
0.616183
81
482
3.592593
0.432099
0.09622
0.123711
0.075601
0.09622
0
0
0
0
0
0
0.020672
0.197095
482
16
56
30.125
0.731266
0.085062
0
0
0
0
0.034169
0
0
0
0
0
0
0
null
null
0
0
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
09b8e5032110db91fbd4e59576490cb19483e7e2
322
py
Python
cart/urls.py
faizalazman/Bakery
a22d9ec34ee0e3c91c7caf7d53cb2db730885e3f
[ "MIT" ]
null
null
null
cart/urls.py
faizalazman/Bakery
a22d9ec34ee0e3c91c7caf7d53cb2db730885e3f
[ "MIT" ]
null
null
null
cart/urls.py
faizalazman/Bakery
a22d9ec34ee0e3c91c7caf7d53cb2db730885e3f
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'cart' urlpatterns = [ path('', views.cart_detail, name='cart_detail'), path('add/<int:listing_id>/', views.cart_add, name='cart_add'), path('remove/<int:listing_id>/', views.cart_remove, name='cart_remove'), ...
29.272727
67
0.608696
41
322
4.560976
0.390244
0.171123
0.128342
0.181818
0.224599
0
0
0
0
0
0
0
0.232919
322
10
68
32.2
0.757085
0
0
0
0
0
0.245342
0.139752
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09baf19811e8421b80e9727a0e068d6d5c175671
771
py
Python
honeybee_schema/energy/internalmass.py
chriswmackey/honeybee-schema
dbf2e040b940d50fc2874f6fbf3d222d9d25f3f5
[ "BSD-3-Clause" ]
9
2020-01-28T02:30:12.000Z
2021-08-09T17:53:12.000Z
honeybee_schema/energy/internalmass.py
chriswmackey/honeybee-schema
dbf2e040b940d50fc2874f6fbf3d222d9d25f3f5
[ "BSD-3-Clause" ]
317
2020-01-28T02:20:28.000Z
2022-03-28T00:46:19.000Z
honeybee_schema/energy/internalmass.py
chriswmackey/honeybee-schema
dbf2e040b940d50fc2874f6fbf3d222d9d25f3f5
[ "BSD-3-Clause" ]
9
2020-01-31T01:55:19.000Z
2021-07-13T17:01:14.000Z
"""Programtype Schema""" from pydantic import Field, constr from ._base import IDdEnergyBaseModel class InternalMassAbridged(IDdEnergyBaseModel): type: constr(regex='^InternalMassAbridged$') = 'InternalMassAbridged' construction: str = Field( ..., min_length=1, max_length=100, ...
29.653846
87
0.671855
88
771
5.852273
0.704545
0.042718
0
0
0
0
0
0
0
0
0
0.008666
0.251621
771
25
88
30.84
0.883882
0.023346
0
0.111111
0
0
0.473896
0.029451
0
0
0
0
0
1
0
true
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
09bdbcf95aef52921a5fdefd398c28e5649ccbb8
179
py
Python
exercicios_fixacao/lista04/lista_ex3.py
PauloVictorSS/unicamp-mc102
077ca3ea6d3df40ebe205c2e874d20a934ea5541
[ "MIT" ]
null
null
null
exercicios_fixacao/lista04/lista_ex3.py
PauloVictorSS/unicamp-mc102
077ca3ea6d3df40ebe205c2e874d20a934ea5541
[ "MIT" ]
null
null
null
exercicios_fixacao/lista04/lista_ex3.py
PauloVictorSS/unicamp-mc102
077ca3ea6d3df40ebe205c2e874d20a934ea5541
[ "MIT" ]
null
null
null
int_list = list(map(int, input().split())) movement = int(input()) for i in range(movement): int_list.append(int_list[0]) int_list.remove(int_list[0]) print(int_list)
16.272727
42
0.681564
30
179
3.866667
0.466667
0.362069
0.137931
0
0
0
0
0
0
0
0
0.013072
0.145251
179
10
43
17.9
0.745098
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09c169b664050ac2e6e22819ba568ceb63eeb405
458
py
Python
ffclub/person/tasks.py
elin-moco/ffclub
7e2d707e9319b6401025a349c9c11faf937d1b55
[ "BSD-3-Clause" ]
null
null
null
ffclub/person/tasks.py
elin-moco/ffclub
7e2d707e9319b6401025a349c9c11faf937d1b55
[ "BSD-3-Clause" ]
null
null
null
ffclub/person/tasks.py
elin-moco/ffclub
7e2d707e9319b6401025a349c9c11faf937d1b55
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import commonware.log from celery.task import task from ffclub.settings import SUBSCRIBER_EMAILS_PATH from ffclub.person.models import Person log = commonware.log.getLogger('ffclub') @task() def export_subscriber_emails(): file = open(SUBSCRIBER_EMAILS_PATH, 'w') people = Person.o...
20.818182
52
0.71179
60
458
5.333333
0.566667
0.15
0.125
0
0
0
0
0
0
0
0
0.002632
0.170306
458
21
53
21.809524
0.839474
0.045852
0
0
0
0
0.02069
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
09c365faf5333b3194c87b3c57d6aaed00f43fc1
5,091
py
Python
src/pretix/base/migrations/0138_auto_20191017_1151.py
fabm3n/pretix
520fb620888d5c434665a6a4a33cb2ab22dd42c7
[ "Apache-2.0" ]
1,248
2015-04-24T13:32:06.000Z
2022-03-29T07:01:36.000Z
src/pretix/base/migrations/0138_auto_20191017_1151.py
fabm3n/pretix
520fb620888d5c434665a6a4a33cb2ab22dd42c7
[ "Apache-2.0" ]
2,113
2015-02-18T18:58:16.000Z
2022-03-31T11:12:32.000Z
src/pretix/base/migrations/0138_auto_20191017_1151.py
fabm3n/pretix
520fb620888d5c434665a6a4a33cb2ab22dd42c7
[ "Apache-2.0" ]
453
2015-05-13T09:29:06.000Z
2022-03-24T13:39:16.000Z
# Generated by Django 2.2.4 on 2019-10-17 11:51 import django.db.models.deletion from django.db import migrations, models import pretix.base.models.base import pretix.base.models.fields import pretix.base.models.giftcards def fwd(app, schema_editor): Team = app.get_model('pretixbase', 'Team') Team.objects.f...
47.138889
120
0.567472
468
5,091
6.004274
0.264957
0.039858
0.064769
0.09395
0.529181
0.529181
0.430961
0.430961
0.430961
0.42669
0
0.011156
0.313298
5,091
107
121
47.579439
0.79262
0.008839
0
0.383838
1
0
0.149683
0.051546
0
0
0
0
0
1
0.010101
false
0
0.050505
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09c55785ef12bb7ce3caedc289239625cfe2dd0f
13,089
py
Python
pyplottr/pyplottr.py
toaarnio/pyplottr
6bc811ff5851ae8b6274b2d062449b8cb543356d
[ "Apache-2.0" ]
null
null
null
pyplottr/pyplottr.py
toaarnio/pyplottr
6bc811ff5851ae8b6274b2d062449b8cb543356d
[ "Apache-2.0" ]
null
null
null
pyplottr/pyplottr.py
toaarnio/pyplottr
6bc811ff5851ae8b6274b2d062449b8cb543356d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 -B """ A convenience wrapper for Matplotlib. """ import sys # built-in module import time # built-in module import inspect # built-in module import warnings # built-in module import numpy as np # pip install...
38.27193
101
0.579036
1,671
13,089
4.441652
0.226212
0.043115
0.05093
0.063056
0.318513
0.199272
0.130019
0.112234
0.093506
0.068445
0
0.010872
0.276186
13,089
341
102
38.384164
0.772535
0.204828
0
0.2875
0
0
0.061655
0.007374
0
0
0
0
0
1
0.191667
false
0.108333
0.041667
0
0.266667
0.0125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
09d2e2f75e86348aabc3707f94431e30e2286014
18,035
py
Python
stdlib2-src/dist-packages/caribou/antler/window.py
ch1huizong/Scode
c34fb9d0f9b73fe199ba370f2e3ffb30b8f70895
[ "MIT" ]
null
null
null
stdlib2-src/dist-packages/caribou/antler/window.py
ch1huizong/Scode
c34fb9d0f9b73fe199ba370f2e3ffb30b8f70895
[ "MIT" ]
null
null
null
stdlib2-src/dist-packages/caribou/antler/window.py
ch1huizong/Scode
c34fb9d0f9b73fe199ba370f2e3ffb30b8f70895
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Caribou - text entry and UI navigation application # # Copyright (C) 2009 Eitan Isaacson <eitan@monotonous.org> # Copyright (C) 2010 Warp Networks S.L. # * Contributor: Daniel Baeyens <dbaeyens@warp.es> # # This program is free software; you can redistribute it and/or modify it # under the ...
35.854871
91
0.614139
2,096
18,035
5.012405
0.150763
0.027318
0.027413
0.01799
0.391015
0.319437
0.241005
0.17114
0.136493
0.121264
0
0.006715
0.298143
18,035
502
92
35.926295
0.823274
0.056501
0
0.230769
0
0
0.02731
0.001295
0
0
0
0.001992
0
0
null
null
0
0.026525
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
09d6a44af1364be83932913019335ebdff5d36ca
1,085
py
Python
portlab/data/lib/reports.py
sqt-aliu/portlab
366755c2cfe7bb53c1b236688684fc2c9d8bf4d1
[ "MIT" ]
1
2017-11-06T06:01:24.000Z
2017-11-06T06:01:24.000Z
portlab/data/lib/reports.py
sqt-aliu/portlab
366755c2cfe7bb53c1b236688684fc2c9d8bf4d1
[ "MIT" ]
null
null
null
portlab/data/lib/reports.py
sqt-aliu/portlab
366755c2cfe7bb53c1b236688684fc2c9d8bf4d1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import pandas as pd import numpy as np import os.path import sys from os.path import basename from datetime import datetime from sqlalchemy import create_engine, exc sys.path.append(os.path.abspath(os.path.dirname(__file__) + '/' + '../..')) from common.lib.log import debug, error, fatal, info, ...
36.166667
169
0.599078
148
1,085
4.331081
0.506757
0.037442
0.037442
0.040562
0.043682
0.043682
0
0
0
0
0
0.001221
0.245161
1,085
29
170
37.413793
0.781441
0.019355
0
0.083333
0
0
0.16855
0.022599
0
0
0
0
0
1
0.041667
false
0
0.375
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
09e5b5777a02e3e7cf083e1ac5610e30f0cdd26f
10,450
py
Python
spects.py
f0k/singing_horse
fb95ccc7fc5977d2971acb354f5f501affd2de17
[ "MIT" ]
8
2017-07-31T22:43:46.000Z
2021-04-02T13:40:56.000Z
spects.py
f0k/singing_horse
fb95ccc7fc5977d2971acb354f5f501affd2de17
[ "MIT" ]
null
null
null
spects.py
f0k/singing_horse
fb95ccc7fc5977d2971acb354f5f501affd2de17
[ "MIT" ]
2
2018-07-13T13:36:06.000Z
2020-05-07T09:55:32.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Converts between audio files and spectrograms as .png or .npy. For usage information, call without any parameters. Author: Jan Schlüter """ import sys import os import subprocess from PIL import Image import numpy as np try: from pyfftw.builders import rfft as ...
36.795775
187
0.657225
1,469
10,450
4.526208
0.234854
0.037299
0.016544
0.021056
0.201835
0.170101
0.137464
0.107084
0.07565
0.060009
0
0.015851
0.227273
10,450
283
188
36.925795
0.807554
0.104593
0
0.098266
0
0
0.055053
0
0
0
0
0
0
0
null
null
0
0.040462
null
null
0.034682
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
09e7cd4387cfe1b53cb2dc9d16ea424fe25a95ea
2,169
py
Python
net/utils/logging_tool.py
sdjsngs/Code_Base_CV_Pytorch
b43927436d8a1adc82cf73c6c5415821f8f980cc
[ "MIT" ]
null
null
null
net/utils/logging_tool.py
sdjsngs/Code_Base_CV_Pytorch
b43927436d8a1adc82cf73c6c5415821f8f980cc
[ "MIT" ]
null
null
null
net/utils/logging_tool.py
sdjsngs/Code_Base_CV_Pytorch
b43927436d8a1adc82cf73c6c5415821f8f980cc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. """Logging.""" import builtins import decimal import functools import logging import logging.handlers import os import sys import simplejson from fvcore.common.file_io import PathManager def _suppress_print(): """ ...
24.931034
79
0.678193
289
2,169
4.961938
0.453287
0.031381
0.041841
0.022315
0
0
0
0
0
0
0
0.001733
0.201936
2,169
86
80
25.22093
0.82669
0.300138
0
0
0
0.02381
0.07168
0.019677
0
0
0
0
0
1
0.142857
false
0.071429
0.214286
0.02381
0.404762
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
09e99dcda47d08f4ecae42aba40f6555fd439309
7,922
py
Python
src/pose_estimation/pose_est.py
KumarLabJax/JABS-behavior-classifier
8c038a7510ae08d90418403a723e396344bb671c
[ "FSFAP" ]
null
null
null
src/pose_estimation/pose_est.py
KumarLabJax/JABS-behavior-classifier
8c038a7510ae08d90418403a723e396344bb671c
[ "FSFAP" ]
null
null
null
src/pose_estimation/pose_est.py
KumarLabJax/JABS-behavior-classifier
8c038a7510ae08d90418403a723e396344bb671c
[ "FSFAP" ]
null
null
null
import enum import pickle import typing from abc import ABC, abstractmethod from pathlib import Path import h5py import numpy as np from shapely.geometry import MultiPoint from src.utils import hash_file class PoseHashException(Exception): pass class PoseEstimation(ABC): """ abstract base class for Po...
33.710638
108
0.602752
972
7,922
4.721193
0.227366
0.04075
0.01983
0.02506
0.274788
0.200479
0.18893
0.173458
0.134234
0.114186
0
0.014116
0.320374
7,922
234
109
33.854701
0.838224
0.253724
0
0.216783
0
0
0.011069
0.005444
0
0
0
0
0
1
0.132867
false
0.055944
0.062937
0.034965
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
09f0cb6f821cfa539f138367bdd1690fb60d495d
1,160
py
Python
sample/api_gateway.py
haribo0915/Spring-Cloud-in-Python
0bcd7093869c797df14428bf2d1b0a779f96e573
[ "Apache-2.0" ]
5
2020-10-06T09:48:23.000Z
2020-10-07T13:19:46.000Z
sample/api_gateway.py
haribo0915/Spring-Cloud-in-Python
0bcd7093869c797df14428bf2d1b0a779f96e573
[ "Apache-2.0" ]
5
2020-10-05T09:57:01.000Z
2020-10-12T19:52:48.000Z
sample/api_gateway.py
haribo0915/Spring-Cloud-in-Python
0bcd7093869c797df14428bf2d1b0a779f96e573
[ "Apache-2.0" ]
8
2020-10-05T06:34:49.000Z
2020-10-07T13:19:46.000Z
# -*- coding: utf-8 -*- # standard library import time # scip plugin from spring_cloud.gateway.bootstrap import ApiGatewayApplication from spring_cloud.gateway.filter import GatewayFilter, GatewayFilterChain from spring_cloud.gateway.route.builder.route_locator import RouteLocator, RouteLocatorBuilder from spring_clou...
34.117647
114
0.764655
143
1,160
5.923077
0.524476
0.085006
0.088548
0.103896
0.059032
0
0
0
0
0
0
0.011776
0.121552
1,160
33
115
35.151515
0.819431
0.057759
0
0
0
0
0.171875
0.044118
0
0
0
0
0
1
0.047619
false
0
0.333333
0.047619
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
09fd25e6a66f3c934810b8b34e8161eff9b4ff44
1,485
py
Python
tests/algorithm/test_tournament_selector.py
wbknez/evored-warrior
a5eaf1195d0531db6ad01b43792599c9849a6e4c
[ "Apache-2.0" ]
null
null
null
tests/algorithm/test_tournament_selector.py
wbknez/evored-warrior
a5eaf1195d0531db6ad01b43792599c9849a6e4c
[ "Apache-2.0" ]
null
null
null
tests/algorithm/test_tournament_selector.py
wbknez/evored-warrior
a5eaf1195d0531db6ad01b43792599c9849a6e4c
[ "Apache-2.0" ]
null
null
null
""" """ from copy import copy from random import randint from unittest import TestCase from pathos.multiprocessing import ProcessPool from evored.genome import Genome from evored.algorithm.selection import TournamentSelector class TournamentSelectorTest(TestCase): """ Test suite for TournamentSelector. ...
27
71
0.620875
170
1,485
5.370588
0.317647
0.087623
0.131435
0.192771
0.258489
0.258489
0.258489
0.256298
0.256298
0.256298
0
0.039533
0.250505
1,485
54
72
27.5
0.780773
0.022896
0
0.30303
0
0
0.017366
0.017366
0
0
0
0
0.090909
1
0.121212
false
0.030303
0.181818
0
0.363636
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09fe14de69c39d2daf4ef22da5871afc2fbe0339
411
py
Python
Class 12/Python Programs/Sorting Types/insertion sort.py
edwardmasih/Python-School-Level
545e8fcd87f540be2bbf01d3493bd84dd5504739
[ "MIT" ]
null
null
null
Class 12/Python Programs/Sorting Types/insertion sort.py
edwardmasih/Python-School-Level
545e8fcd87f540be2bbf01d3493bd84dd5504739
[ "MIT" ]
null
null
null
Class 12/Python Programs/Sorting Types/insertion sort.py
edwardmasih/Python-School-Level
545e8fcd87f540be2bbf01d3493bd84dd5504739
[ "MIT" ]
null
null
null
def insertion_sort(a): for i in range (1,len(a)): c=a[i] k=i-1 while (k>=0) and (c<=a[k]) : a[k+1] = a[k] k=k-1 a[k+1] = c n=int(input("Enter No. Of Elements in List :-s ")) a=[i for i in range (n)] print ("Enter the Elements one after the other :...
19.571429
53
0.467153
75
411
2.533333
0.386667
0.042105
0.094737
0.173684
0.126316
0
0
0
0
0
0
0.022727
0.357664
411
20
54
20.55
0.69697
0
0
0
0
0
0.195876
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.066667
0.133333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61d0b2f378bfbad11c249597eae272ae26f1cea0
1,188
py
Python
bookstorev2/books/admin.py
rambasnet/django2.1projects
21582512a50b31de33df9648d9453f37ae5e4af4
[ "MIT" ]
1
2017-04-22T11:29:34.000Z
2017-04-22T11:29:34.000Z
books/admin.py
rambasnet/bookstore
045496da11ec70e582c46ac61137bfbf3605725f
[ "MIT" ]
null
null
null
books/admin.py
rambasnet/bookstore
045496da11ec70e582c46ac61137bfbf3605725f
[ "MIT" ]
null
null
null
from django.contrib import admin from django_summernote.admin import SummernoteModelAdmin from . import models # Register your models here. class BookAdmin(SummernoteModelAdmin): list_display = ('title', 'publisher', 'available', 'publication_date') list_filter = ('publication_date',) date_hierarchy = 'pu...
33
79
0.728956
128
1,188
6.5625
0.382813
0.053571
0.10119
0.136905
0
0
0
0
0
0
0
0
0.128788
1,188
35
80
33.942857
0.811594
0.021886
0
0
0
0
0.19569
0
0
0
0
0
0
1
0
false
0
0.115385
0
0.807692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
61d959e872a6e25ae58999c479f164d9de1dbce0
420
py
Python
setup.py
adiachwal122/he-encription
1fa0ab02e96359c6bfbc9d36262020d9e0171a60
[ "MIT" ]
null
null
null
setup.py
adiachwal122/he-encription
1fa0ab02e96359c6bfbc9d36262020d9e0171a60
[ "MIT" ]
null
null
null
setup.py
adiachwal122/he-encription
1fa0ab02e96359c6bfbc9d36262020d9e0171a60
[ "MIT" ]
4
2019-07-24T12:31:05.000Z
2021-08-12T19:46:22.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup setup(name='HE Encryption', version='1.0', description='The first He encryption implementation', url='http://github.com/MatufA/he-encription', author='', author_email='', license='MIT', packages=['he-en...
28
65
0.630952
49
420
5.346939
0.857143
0.137405
0
0
0
0
0
0
0
0
0
0.008876
0.195238
420
14
66
30
0.766272
0.1
0
0
0
0
0.332447
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
61e0a3cffc1f0c7496b4be520f5d728a9824d51d
11,066
py
Python
nemo/collections/nlp/data/information_retrieval/information_retrieval_dataset.py
hamjam/NeMo
b3484d32e1317666151f931bfa39867d88ed8658
[ "Apache-2.0" ]
4,145
2019-09-13T08:29:43.000Z
2022-03-31T18:31:44.000Z
nemo/collections/nlp/data/information_retrieval/information_retrieval_dataset.py
hamjam/NeMo
b3484d32e1317666151f931bfa39867d88ed8658
[ "Apache-2.0" ]
2,031
2019-09-17T16:51:39.000Z
2022-03-31T23:52:41.000Z
nemo/collections/nlp/data/information_retrieval/information_retrieval_dataset.py
hamjam/NeMo
b3484d32e1317666151f931bfa39867d88ed8658
[ "Apache-2.0" ]
1,041
2019-09-13T10:08:21.000Z
2022-03-30T06:37:38.000Z
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
39.663082
119
0.639707
1,476
11,066
4.537263
0.183604
0.022697
0.025086
0.017769
0.401672
0.358519
0.341198
0.3076
0.285501
0.275049
0
0.010055
0.272004
11,066
278
120
39.805755
0.821251
0.310049
0
0.236111
0
0
0.032595
0.012295
0
0
0
0
0
1
0.104167
false
0.104167
0.055556
0.006944
0.256944
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
61ed1af97a8b77e5074baabf4ddc1bf157ec5d26
1,135
py
Python
base/admin.py
ibnshayed/E-Commerce-Django-and-ReactJs
253e6d51ef970fb6999ca3a9ddd36840dd8d6794
[ "MIT" ]
null
null
null
base/admin.py
ibnshayed/E-Commerce-Django-and-ReactJs
253e6d51ef970fb6999ca3a9ddd36840dd8d6794
[ "MIT" ]
null
null
null
base/admin.py
ibnshayed/E-Commerce-Django-and-ReactJs
253e6d51ef970fb6999ca3a9ddd36840dd8d6794
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import reverse from django.utils.safestring import mark_safe from .models import * # Register your models here. @admin.register(Product) class ProductAdmin(admin.ModelAdmin): list_display = [field.name for field in Product._meta.fields] @admin.register(Review) cla...
26.395349
71
0.777093
154
1,135
5.584416
0.331169
0.089535
0.132558
0.181395
0.326744
0.326744
0.261628
0.261628
0.261628
0
0
0
0.10837
1,135
42
72
27.02381
0.849802
0.111013
0
0
0
0
0.051793
0.021912
0
0
0
0
0
1
0.041667
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61f15b946e47b4c105a44695b6401ef3f42ac32c
2,160
py
Python
Proyecto.py
tracycorella/proyecto_introduccion_a_la_programacion
1234a8980199fe05cf38f3a2e5af973bb0ef1feb
[ "MIT" ]
null
null
null
Proyecto.py
tracycorella/proyecto_introduccion_a_la_programacion
1234a8980199fe05cf38f3a2e5af973bb0ef1feb
[ "MIT" ]
null
null
null
Proyecto.py
tracycorella/proyecto_introduccion_a_la_programacion
1234a8980199fe05cf38f3a2e5af973bb0ef1feb
[ "MIT" ]
null
null
null
from flask import Flask, make_response, redirect, request, jsonify, render_template from flask_cors import CORS from hangman import init_game_data import hangman.config.constants as constants import hangman.utils as utils import hangman.validations as validations from config.db import DB from config.api import WordApi ...
30
124
0.600926
266
2,160
4.725564
0.387218
0.057279
0.041368
0.035004
0
0
0
0
0
0
0
0.001314
0.29537
2,160
71
125
30.422535
0.824573
0.100463
0
0.072727
0
0
0.055756
0
0
0
0
0.014085
0
1
0.036364
false
0
0.145455
0
0.272727
0.072727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
61fe26e1ae966393e2ba019132d62c2e2ad5503b
1,384
py
Python
main/migrations/0004_auto_20201112_1628.py
ZendaInnocent/SAAS-kit
1997eb2e4b3f03ca02bf94b9b4dd82808af4d5bb
[ "MIT" ]
null
null
null
main/migrations/0004_auto_20201112_1628.py
ZendaInnocent/SAAS-kit
1997eb2e4b3f03ca02bf94b9b4dd82808af4d5bb
[ "MIT" ]
2
2020-10-12T10:39:06.000Z
2020-10-12T10:40:28.000Z
main/migrations/0004_auto_20201112_1628.py
ZendaInnocent/SAAS-kit
1997eb2e4b3f03ca02bf94b9b4dd82808af4d5bb
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-11-12 13:28 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('main', '0003_auto_202011...
38.444444
141
0.614884
138
1,384
6
0.594203
0.072464
0.065217
0.086957
0.065217
0
0
0
0
0
0
0.043817
0.257948
1,384
35
142
39.542857
0.762415
0.032514
0
0.068966
1
0
0.153328
0.035153
0
0
0
0
0
1
0
false
0
0.103448
0
0.206897
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
110e32e97b49a17d517f0ac2125b2cbb98f85987
1,085
py
Python
tts_all_words.py
modernAlcibiades/build_tts_dataset
83ea1bedaa397f1f733b590af5cee603b5f79feb
[ "MIT" ]
null
null
null
tts_all_words.py
modernAlcibiades/build_tts_dataset
83ea1bedaa397f1f733b590af5cee603b5f79feb
[ "MIT" ]
null
null
null
tts_all_words.py
modernAlcibiades/build_tts_dataset
83ea1bedaa397f1f733b590af5cee603b5f79feb
[ "MIT" ]
1
2020-11-05T23:27:09.000Z
2020-11-05T23:27:09.000Z
import subprocess from concurrent.futures.thread import ThreadPoolExecutor import os MAX_WORKERS=4 def generate_tts(infile, outfile): subprocess.call(['flite', infile, '-o', outfile]) return # for each word/string, create def generate_tts_for_string(fname, string, outdir): outpath = '%s/%s'%(outdir, fnam...
27.820513
78
0.650691
145
1,085
4.703448
0.475862
0.064516
0.041056
0.058651
0.158358
0.108504
0.108504
0
0
0
0
0.006969
0.206452
1,085
38
79
28.552632
0.785134
0.075576
0
0.074074
1
0
0.119119
0.065065
0
0
0
0
0
1
0.111111
false
0.037037
0.111111
0.037037
0.296296
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11127c22c56ff66e49671b5a2ae5f745d727dc44
1,643
py
Python
scripts/check_expansions.py
bjhall/stranger
4b973e2a834360b95f86702ef1cc74232141b8c6
[ "MIT" ]
null
null
null
scripts/check_expansions.py
bjhall/stranger
4b973e2a834360b95f86702ef1cc74232141b8c6
[ "MIT" ]
null
null
null
scripts/check_expansions.py
bjhall/stranger
4b973e2a834360b95f86702ef1cc74232141b8c6
[ "MIT" ]
null
null
null
import logging from pprint import pprint as pp import click from stranger.resources import repeats_path from stranger.utils import parse_repeat_file, get_repeat_info @click.command() @click.option('-f', '--repeats-file', type = click.Path(exists=True), help="Path to a file with repeat definitions. See READM...
33.530612
96
0.608643
195
1,643
4.917949
0.410256
0.194995
0.160584
0.20438
0.077164
0.052138
0
0
0
0
0
0.016393
0.220329
1,643
49
97
33.530612
0.73224
0.02252
0
0.102564
0
0.025641
0.16802
0
0
0
0
0
0
1
0.025641
false
0.025641
0.128205
0
0.153846
0.025641
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1115b9ca38fa3e72b31cf9431422c389f8712bad
275
py
Python
December-01/python_mxbromelia.py
MxBromelia/A-December-of-Algorithms-2019
83a4222ac39ee4a05fab6d2f784512d6eb266cde
[ "MIT" ]
null
null
null
December-01/python_mxbromelia.py
MxBromelia/A-December-of-Algorithms-2019
83a4222ac39ee4a05fab6d2f784512d6eb266cde
[ "MIT" ]
null
null
null
December-01/python_mxbromelia.py
MxBromelia/A-December-of-Algorithms-2019
83a4222ac39ee4a05fab6d2f784512d6eb266cde
[ "MIT" ]
null
null
null
"""December 1st""" def sevenish_number(num): """Sevenish Number""" power_of_two = 0 sevenish = 0 while num > 0: val = pow(7, power_of_two) if num % 2 == 1 else 0 sevenish += val power_of_two += 1 num //= 2 return sevenish
21.153846
57
0.545455
39
275
3.666667
0.487179
0.146853
0.20979
0
0
0
0
0
0
0
0
0.054645
0.334545
275
12
58
22.916667
0.726776
0.101818
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1128c83dfdd5bf77d6442b9826a400e17d99a35c
948
py
Python
assetman/service/s3.py
movermeyer/assetman
de93c247afbeb45559ab1d0841f2b3a7fc42bc33
[ "MIT" ]
null
null
null
assetman/service/s3.py
movermeyer/assetman
de93c247afbeb45559ab1d0841f2b3a7fc42bc33
[ "MIT" ]
null
null
null
assetman/service/s3.py
movermeyer/assetman
de93c247afbeb45559ab1d0841f2b3a7fc42bc33
[ "MIT" ]
1
2018-03-04T20:42:29.000Z
2018-03-04T20:42:29.000Z
# -*- coding: utf-8 -*- from boto.s3.connection import S3Connection from boto.s3.key import Key def get_connection(key, secret): connection = S3Connection(key, secret) return connection def get_bucket(bucket_name, connection): bucket = connection.get_bucket(bucket_name) return bucket def upload_s...
21.066667
63
0.67616
130
948
4.715385
0.261538
0.088091
0.063622
0.092985
0.168026
0.168026
0.168026
0.168026
0.11093
0
0
0.00684
0.228903
948
44
64
21.545455
0.831737
0.022152
0
0.172414
0
0
0
0
0
0
0
0
0
1
0.206897
false
0
0.068966
0
0.413793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
112a246a483f35c9657e24cef84ec701bd8009d7
1,067
py
Python
src/variable.py
milos-mkv/Jack-Analyzer
5bda6f581b8235d9efc916f4bf304254b1b2388c
[ "MIT" ]
null
null
null
src/variable.py
milos-mkv/Jack-Analyzer
5bda6f581b8235d9efc916f4bf304254b1b2388c
[ "MIT" ]
null
null
null
src/variable.py
milos-mkv/Jack-Analyzer
5bda6f581b8235d9efc916f4bf304254b1b2388c
[ "MIT" ]
null
null
null
""" ------------------------------------------------------------------------------ @file variable.py @author Milos Milicevic (milosh.mkv@gmail.com) @brief ... @version 0.1 @date 2020-08-26 @copyright Copyright (c) 2020 Distributed under the MIT software licens...
36.793103
115
0.507966
110
1,067
4.854545
0.6
0.089888
0
0
0
0
0
0
0
0
0
0.022059
0.235239
1,067
28
116
38.107143
0.632353
0.673852
0
0
0
0
0.150769
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
112aa33a9ad54dc8037275b4feb318883933239b
1,210
py
Python
rackio_socket/events/tags.py
rack-io/rackio-socket
c563442e3a535181855139f340346ed51be04a86
[ "MIT" ]
1
2020-09-09T15:05:53.000Z
2020-09-09T15:05:53.000Z
rackio_socket/events/tags.py
rack-io/rackio-socket
c563442e3a535181855139f340346ed51be04a86
[ "MIT" ]
null
null
null
rackio_socket/events/tags.py
rack-io/rackio-socket
c563442e3a535181855139f340346ed51be04a86
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """rackio_socket/events/tags.py This module implements all socket events defined for Tags DAO. """ from rackio.dao import LoggerDAO, TagsDAO from ..core import SocketServer server = SocketServer() rs = server.sio NAMESPACE = "/tags" @rs.event(namespace=NAMESPACE) def dbtags(sid): logg...
16.133333
62
0.665289
165
1,210
4.763636
0.254545
0.057252
0.122137
0.19084
0.515267
0.422392
0.304071
0.137405
0.137405
0.137405
0
0.001026
0.194215
1,210
74
63
16.351351
0.805128
0.095041
0
0.473684
0
0
0.049632
0
0
0
0
0
0
1
0.157895
false
0
0.052632
0
0.368421
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
113315cb07e2e14b7d8709bd0b32d561c6d9f741
1,497
py
Python
tor-desc.py
lzkill/tor-info
6d9fdaa980821237c410051da033b58774cedc01
[ "MIT" ]
6
2016-01-27T16:15:33.000Z
2017-11-29T21:44:04.000Z
tor-desc.py
lzkill/tor-info
6d9fdaa980821237c410051da033b58774cedc01
[ "MIT" ]
1
2015-11-26T19:40:20.000Z
2015-11-26T19:40:20.000Z
tor-desc.py
lzkill/tor-info
6d9fdaa980821237c410051da033b58774cedc01
[ "MIT" ]
4
2017-11-04T06:01:19.000Z
2021-12-08T22:11:15.000Z
#!/usr/bin/python #------------------------------------------ # # A script to periodically download a # Tor relay's descriptor and write it to # the disk # # Author : Luiz Kill # Date : 21/11/2014 # # http://lzkill.com # #------------------------------------------ import os import sys import time from stem....
26.263158
76
0.643287
184
1,497
5.125
0.478261
0.09544
0.09544
0.060445
0
0
0
0
0
0
0
0.009441
0.150969
1,497
56
77
26.732143
0.732494
0.167001
0
0
0
0
0.184104
0.026764
0
0
0
0
0
0
null
null
0
0.16129
null
null
0.096774
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
113460fb9e5a2101048f3d009ba1a09540273985
321
py
Python
app/core/migrations/0004_remove_ingredient_recipe.py
vikaskbm/restaurant-recipe-management-api
d0b95407c901647155e18cf5052dacea2f248841
[ "MIT" ]
null
null
null
app/core/migrations/0004_remove_ingredient_recipe.py
vikaskbm/restaurant-recipe-management-api
d0b95407c901647155e18cf5052dacea2f248841
[ "MIT" ]
1
2020-02-22T12:41:00.000Z
2020-02-22T12:41:00.000Z
app/core/migrations/0004_remove_ingredient_recipe.py
vikaskbm/test-api
d0b95407c901647155e18cf5052dacea2f248841
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-02-25 18:51 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0003_ingredient'), ] operations = [ migrations.RemoveField( model_name='ingredient', name='recipe', ), ]...
17.833333
47
0.582555
33
321
5.606061
0.787879
0
0
0
0
0
0
0
0
0
0
0.084821
0.302181
321
17
48
18.882353
0.741071
0.140187
0
0
1
0
0.127737
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
113559919edd6b36efc26dc1c2de5e318afe787a
319
py
Python
crontab_module/crons/update_predicted_location_crontab.py
openmaker-eu/watchtower
af4d3e92b4cf0bf93c10e288a8b8ea97079da86d
[ "MIT" ]
2
2017-05-16T10:57:29.000Z
2017-12-14T11:33:18.000Z
crontab_module/crons/update_predicted_location_crontab.py
openmaker-eu/watchtower
af4d3e92b4cf0bf93c10e288a8b8ea97079da86d
[ "MIT" ]
9
2018-11-29T07:44:15.000Z
2021-12-13T19:54:18.000Z
crontab_module/crons/update_predicted_location_crontab.py
openmaker-eu/watchtower
af4d3e92b4cf0bf93c10e288a8b8ea97079da86d
[ "MIT" ]
1
2019-02-28T19:00:47.000Z
2019-02-28T19:00:47.000Z
import sys from decouple import config sys.path.insert(0, config("ROOT_DIR")) from predict_location.update_field_db import update_field_db as up_db database_names = ["audience_test", "events"] field_names = ["location", "place"] for ind in range(len(database_names)): up_db(database_names[ind], field_names[ind])
29
69
0.774295
50
319
4.66
0.56
0.167382
0.111588
0.145923
0
0
0
0
0
0
0
0.003509
0.106583
319
10
70
31.9
0.814035
0
0
0
0
0
0.125392
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1138fdf61cfc7f613307923f7097c67c6f1a9a9d
883
py
Python
beer_api/migrations/0001_initial.py
Nick-exe/beer-rest-api
76730bef9ede87da215650ff0720c86a7cac1ad2
[ "MIT" ]
null
null
null
beer_api/migrations/0001_initial.py
Nick-exe/beer-rest-api
76730bef9ede87da215650ff0720c86a7cac1ad2
[ "MIT" ]
6
2020-06-06T01:35:26.000Z
2021-06-10T19:57:00.000Z
beer_api/migrations/0001_initial.py
Nick-exe/beer-rest-api
76730bef9ede87da215650ff0720c86a7cac1ad2
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2020-03-28 22:37 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='BeerDiaryItem', fields=[ ('id', models.AutoFi...
32.703704
114
0.578709
92
883
5.434783
0.630435
0.09
0.108
0.144
0.104
0
0
0
0
0
0
0.040689
0.276331
883
26
115
33.961538
0.741784
0.048698
0
0
1
0
0.096659
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
113cf628cdc3368969c43bd06942bbd5777fb38a
1,119
py
Python
zygoat/components/settings_component.py
ambikads/zygoat
2f549102a15c08cf1eeda1ae3847144b8ddf510f
[ "MIT" ]
null
null
null
zygoat/components/settings_component.py
ambikads/zygoat
2f549102a15c08cf1eeda1ae3847144b8ddf510f
[ "MIT" ]
null
null
null
zygoat/components/settings_component.py
ambikads/zygoat
2f549102a15c08cf1eeda1ae3847144b8ddf510f
[ "MIT" ]
null
null
null
import os from redbaron import RedBaron from zygoat.utils.files import repository_root from zygoat.constants import Projects from . import Component class SettingsComponent(Component): ORIGINAL_FILE_NAME = "settings.py" DIRECTORY_NAME = "settings" MODULE_NAME = "zygoat_settings" FILE_NAME = f"{MODUL...
27.292683
84
0.672029
131
1,119
5.549618
0.305344
0.082531
0.088033
0.066025
0.382393
0.382393
0.382393
0.382393
0.310867
0.184319
0
0
0.241287
1,119
40
85
27.975
0.856302
0
0
0.225806
0
0
0.045576
0
0
0
0
0
0
1
0.16129
false
0
0.16129
0.096774
0.612903
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
113db805160b1a78ced79abd26fb99dcb770ad35
4,871
py
Python
finetuna/job_creator.py
ulissigroup/al-mlp
59847d6a9a92fb81f11f5e37044752332e1a95c8
[ "MIT" ]
null
null
null
finetuna/job_creator.py
ulissigroup/al-mlp
59847d6a9a92fb81f11f5e37044752332e1a95c8
[ "MIT" ]
null
null
null
finetuna/job_creator.py
ulissigroup/al-mlp
59847d6a9a92fb81f11f5e37044752332e1a95c8
[ "MIT" ]
null
null
null
import os import yaml import collections.abc import subprocess from ase.db import connect from ase.calculators.vasp.create_input import GenerateVaspInput def create_job( given_params, main_path="/home/finetuna/examples/main/al_main.py", sample_job_spec_path="sample_job_spec.yml", sample_config_path=No...
35.297101
89
0.60583
626
4,871
4.533546
0.244409
0.06413
0.032065
0.040169
0.18358
0.089852
0.087738
0.063777
0.063777
0.063777
0
0.004674
0.253336
4,871
137
90
35.554745
0.775639
0.123383
0
0.064815
1
0
0.15531
0.014098
0
0
0
0.007299
0
1
0.018519
false
0
0.055556
0
0.092593
0.009259
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
114776f4c19bdef00c23bc8712d4280ac210f24e
940
py
Python
lib/exabgp/bgp/message/keepalive.py
earies/exabgp
dc11110e7e14f6a93dd62b94cd532d03ca730679
[ "BSD-3-Clause" ]
3
2015-08-20T07:56:37.000Z
2020-02-03T13:15:36.000Z
lib/exabgp/bgp/message/keepalive.py
earies/exabgp
dc11110e7e14f6a93dd62b94cd532d03ca730679
[ "BSD-3-Clause" ]
1
2015-02-09T16:54:01.000Z
2015-02-09T16:54:01.000Z
lib/exabgp/bgp/message/keepalive.py
earies/exabgp
dc11110e7e14f6a93dd62b94cd532d03ca730679
[ "BSD-3-Clause" ]
1
2015-02-09T16:33:51.000Z
2015-02-09T16:33:51.000Z
# encoding: utf-8 """ keepalive.py Created by Thomas Mangin on 2009-11-05. Copyright (c) 2009-2015 Exa Networks. All rights reserved. """ from exabgp.bgp.message.message import Message from exabgp.bgp.message.notification import Notify from exabgp.reactor.api.options import hexstring # =============================...
26.111111
86
0.698936
122
940
5.336066
0.631148
0.046083
0.039939
0.061444
0
0
0
0
0
0
0
0.026152
0.145745
940
35
87
26.857143
0.784558
0.395745
0
0
0
0
0.106306
0
0
0
0
0
0
1
0.1875
false
0
0.1875
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
114a9bb611657ef836fbba0c14d6af2b6874340b
966
py
Python
src/cart/migrations/0002_auto_20200824_2040.py
amaan2398/EcommerceWebsiteDjango
5173d13d60c1276c957161ce0ea37b8de5acddf4
[ "MIT" ]
1
2020-08-11T01:17:36.000Z
2020-08-11T01:17:36.000Z
src/cart/migrations/0002_auto_20200824_2040.py
amaan2398/EcommerceWebsiteDjango
5173d13d60c1276c957161ce0ea37b8de5acddf4
[ "MIT" ]
null
null
null
src/cart/migrations/0002_auto_20200824_2040.py
amaan2398/EcommerceWebsiteDjango
5173d13d60c1276c957161ce0ea37b8de5acddf4
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-08-24 20:40 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cart', '0001_initial'), ] operations = [ migrations.CreateModel( name='Shipment', fields=[ ...
28.411765
114
0.559006
91
966
5.813187
0.593407
0.136106
0.086957
0.102079
0.257089
0.257089
0
0
0
0
0
0.030166
0.313665
966
33
115
29.272727
0.767722
0.044513
0
0.333333
1
0
0.092291
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11513a1fe705fd755b1455ea90ca5e1589f201fb
495
py
Python
tests/unweighted/conftest.py
sztal/pathcensus
0246b1450e5d7fa0421e283f980c367100fcdd6a
[ "MIT" ]
null
null
null
tests/unweighted/conftest.py
sztal/pathcensus
0246b1450e5d7fa0421e283f980c367100fcdd6a
[ "MIT" ]
null
null
null
tests/unweighted/conftest.py
sztal/pathcensus
0246b1450e5d7fa0421e283f980c367100fcdd6a
[ "MIT" ]
null
null
null
"""Configuration for unweighted path counting tests.""" import pytest from pathcensus import PathCensus @pytest.fixture(scope="session") def random_graph(base_random_graph): """Get graph with its corresponding path census.""" graph = base_random_graph return graph, PathCensus(graph) @pytest.fixture(scop...
27.5
59
0.749495
64
495
5.640625
0.4375
0.091413
0.099723
0.138504
0.155125
0
0
0
0
0
0
0
0.149495
495
17
60
29.117647
0.857482
0.292929
0
0.2
0
0
0.041916
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
116809d1bffb83406de8b738ece10fa617bda352
1,145
py
Python
analysis_schema/Previous_Analysis_Schema/dataset.py
chrishavlin/analysis_schema
99c4fbd57d0afc87b81b9ba4cc9a25fba36086e2
[ "MIT" ]
2
2020-06-28T17:10:37.000Z
2021-04-05T16:22:49.000Z
analysis_schema/Previous_Analysis_Schema/dataset.py
chrishavlin/analysis_schema
99c4fbd57d0afc87b81b9ba4cc9a25fba36086e2
[ "MIT" ]
7
2020-08-10T15:21:09.000Z
2022-03-03T19:25:18.000Z
analysis_schema/Previous_Analysis_Schema/dataset.py
chrishavlin/analysis_schema
99c4fbd57d0afc87b81b9ba4cc9a25fba36086e2
[ "MIT" ]
1
2021-04-21T14:41:07.000Z
2021-04-21T14:41:07.000Z
import enum import typing from pydantic import BaseModel, Schema, create_model from .quantities import UnitfulArray, UnitfulCoordinate, UnitfulValue class DomainContext(BaseModel): field_plugins: typing.List[str] = [] unit_system = str class CosmologyContext(DomainContext): cosmology: bool omega_l...
24.891304
87
0.777293
122
1,145
7.081967
0.5
0.05787
0.041667
0.053241
0
0
0
0
0
0
0
0
0.158952
1,145
45
88
25.444444
0.897196
0.013974
0
0
0
0
0.007986
0
0
0
0
0
0
1
0
false
0
0.129032
0
0.967742
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
116bc8116c6ddb75dbc963365a54ce3cf76b6e26
3,663
py
Python
test-drf-project/tests/test_decorators.py
fvlima/drf-view-profiler
a61d48e9835679f812d69d24ea740b947836108c
[ "MIT" ]
30
2019-10-16T12:48:16.000Z
2021-11-23T08:57:27.000Z
test-drf-project/tests/test_decorators.py
fvlima/drf-view-profiler
a61d48e9835679f812d69d24ea740b947836108c
[ "MIT" ]
null
null
null
test-drf-project/tests/test_decorators.py
fvlima/drf-view-profiler
a61d48e9835679f812d69d24ea740b947836108c
[ "MIT" ]
1
2021-11-23T07:28:04.000Z
2021-11-23T07:28:04.000Z
from unittest import mock import pytest from line_profiler import LineProfiler from rest_framework import viewsets from rest_framework.request import Request from rest_framework.response import Response from drf_viewset_profiler.decorators import line_profiler_viewset class TestSerializer: def create(self, vali...
33.916667
106
0.790882
407
3,663
6.788698
0.157248
0.06949
0.089396
0.06949
0.662685
0.636627
0.623598
0.623598
0.551574
0.551574
0
0
0.140049
3,663
107
107
34.233645
0.877143
0
0
0.5
0
0
0.06279
0.031668
0
0
0
0
0.202703
1
0.162162
false
0.081081
0.094595
0.040541
0.432432
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
febfe3b9bacdcb62e3f1e1059bfa6861edd2f78a
607
py
Python
zlogging/enum/LoadBalancing.py
JarryShaw/zlogging
f5c2bec37bc68d295cd4d9557b13d96f20a21b71
[ "BSD-3-Clause" ]
null
null
null
zlogging/enum/LoadBalancing.py
JarryShaw/zlogging
f5c2bec37bc68d295cd4d9557b13d96f20a21b71
[ "BSD-3-Clause" ]
3
2021-03-01T17:03:05.000Z
2021-07-19T17:11:34.000Z
zlogging/enum/LoadBalancing.py
JarryShaw/zlogging
f5c2bec37bc68d295cd4d9557b13d96f20a21b71
[ "BSD-3-Clause" ]
1
2020-05-22T15:16:44.000Z
2020-05-22T15:16:44.000Z
# -*- coding: utf-8 -*- # pylint: disable=line-too-long,import-error """Namespace: ``LoadBalancing``.""" from zlogging._compat import enum @enum.unique class Method(enum.IntFlag): """Enum: ``LoadBalancing::Method``. See Also: `policy/misc/load-balancing.zeek <https://docs.zeek.org/en/stable/scripts/...
26.391304
149
0.675453
77
607
5.233766
0.714286
0.094293
0.069479
0.114144
0.133995
0
0
0
0
0
0
0.00198
0.16804
607
22
150
27.590909
0.79604
0.655684
0
0
0
0
0.088398
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fec3d775645f2b812281b6ecfa047f259f54f936
1,197
py
Python
apps/users/urls.py
Rigo-Villalta/django-alpha-bootstrap
17a51518e834a02eeeb8fe24f23706b74da90db7
[ "BSD-3-Clause" ]
null
null
null
apps/users/urls.py
Rigo-Villalta/django-alpha-bootstrap
17a51518e834a02eeeb8fe24f23706b74da90db7
[ "BSD-3-Clause" ]
null
null
null
apps/users/urls.py
Rigo-Villalta/django-alpha-bootstrap
17a51518e834a02eeeb8fe24f23706b74da90db7
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.auth.views import LoginView, LogoutView, PasswordResetDoneView from django.urls import path from django.utils.translation import gettext_lazy as _ from .views import ( ChangePassword, ResetPassword, LinkResetPassword, AddUserView, ) app_name = "users" urlpatterns = [ path(_("lo...
34.2
82
0.690894
129
1,197
6.178295
0.449612
0.052698
0.087829
0.067754
0
0
0
0
0
0
0
0.002064
0.190476
1,197
35
83
34.2
0.820433
0.191312
0
0.172414
0
0
0.210581
0.063278
0
0
0
0
0
1
0
false
0.413793
0.137931
0
0.137931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fec4e023bb4f502820a9693742cf5beca1132017
6,450
py
Python
update/4.0.x/update_4.0.1.py
GluuFederation/community-edition-build
3254104b0c78c42994f023e9021e67e59782e079
[ "MIT" ]
2
2018-07-18T22:38:16.000Z
2021-02-17T01:03:57.000Z
update/4.0.x/update_4.0.1.py
GluuFederation/community-edition-build
3254104b0c78c42994f023e9021e67e59782e079
[ "MIT" ]
51
2017-01-24T09:37:43.000Z
2022-01-03T14:15:25.000Z
update/4.0.x/update_4.0.1.py
GluuFederation/community-edition-build
3254104b0c78c42994f023e9021e67e59782e079
[ "MIT" ]
6
2017-01-24T08:33:08.000Z
2019-10-22T08:27:01.000Z
#!/usr/bin/python import uuid import os import sys import glob import json import ldap ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_ALLOW) ces_dir = os.path.join('/tmp', str(uuid.uuid4()).split('-')[0]) ces_zip = '/opt/dist/gluu/community-edition-setup.zip' cmd = 'unzip -q {} -d {}'.format(ces_zip, ce...
43
164
0.63907
679
6,450
5.857143
0.30486
0.02263
0.032688
0.018858
0.187076
0.14609
0.105859
0.069902
0.017098
0
0
0.009957
0.237054
6,450
149
165
43.288591
0.798212
0.047287
0
0
0
0
0.235661
0.091044
0
0
0
0
0
0
null
null
0.045872
0.06422
null
null
0.073395
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fecb320d897b9885fec6f9dfe674e902a639d1b8
497
py
Python
ctbs/rule.py
Zhihang-Liu/coc-trpg-box
6879f0e5cad2c27eda121cb050586eed6c1d78d4
[ "MIT" ]
null
null
null
ctbs/rule.py
Zhihang-Liu/coc-trpg-box
6879f0e5cad2c27eda121cb050586eed6c1d78d4
[ "MIT" ]
null
null
null
ctbs/rule.py
Zhihang-Liu/coc-trpg-box
6879f0e5cad2c27eda121cb050586eed6c1d78d4
[ "MIT" ]
null
null
null
import dice class DiceError(Exception): pass # error: return None def diceSuccessRule(val: int, attr: int) -> str: if val > 100 or attr >= 100: raise DiceError() if val < 5: return 'Big-success' elif val > 95: return 'Big-failure' elif val > attr: return 'failure' ...
20.708333
50
0.599598
60
497
4.966667
0.483333
0.07047
0.067114
0.120805
0.161074
0
0
0
0
0
0
0.048433
0.293763
497
23
51
21.608696
0.80057
0.04829
0
0.111111
0
0
0.076596
0
0
0
0
0
0
1
0.111111
false
0.055556
0.055556
0.055556
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
feeafe5c10d466d8000f80c5393c1841a1d161f0
391
py
Python
day01_01.py
yunjung-lee/class_python_data
67ceab73e67ec63d408894a6ab016a8d25a4e30b
[ "MIT" ]
null
null
null
day01_01.py
yunjung-lee/class_python_data
67ceab73e67ec63d408894a6ab016a8d25a4e30b
[ "MIT" ]
null
null
null
day01_01.py
yunjung-lee/class_python_data
67ceab73e67ec63d408894a6ab016a8d25a4e30b
[ "MIT" ]
null
null
null
#1부터 100까지 3의 배수의 합계 # 클래스 선언부(객체지양 : 향후 코드 분석) #함수 선언부 # (전역)변수 선언부 (초기화) start,end,hap = [0] *3 #a,b=[],[] #메인 코드부 if __name__=='__main__' : for i in range(1,101) : if i % 3 ==0: hap += i else: pass # 같은 내용 # for i in range(1,101) : # if i % 3 !==0: ...
12.612903
29
0.409207
61
391
2.491803
0.622951
0.052632
0.078947
0.144737
0.263158
0.263158
0.263158
0.263158
0.263158
0.263158
0
0.085586
0.432225
391
30
30
13.033333
0.599099
0.43734
0
0
0
0
0.038647
0
0
0
0
0
0
1
0
false
0.125
0
0
0
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
feed82950a9532cc243f7459e07473c73468aaa5
1,352
py
Python
translation_app/urls.py
GoRoSfan/langchanger-prod
d1b16fb2cfd269d4b54f44665a7881b4868fb74d
[ "MIT" ]
null
null
null
translation_app/urls.py
GoRoSfan/langchanger-prod
d1b16fb2cfd269d4b54f44665a7881b4868fb74d
[ "MIT" ]
null
null
null
translation_app/urls.py
GoRoSfan/langchanger-prod
d1b16fb2cfd269d4b54f44665a7881b4868fb74d
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^format-type/list/$', views.FormatTypeListView.as_view()), url(r'^genre/list/$', views.GenreListView.as_view()), url(r'^language/list/$', views.LanguageListView.as_view()), url(r'^main/$', views.MainPageView.as_view(), name='...
40.969697
77
0.689349
169
1,352
5.402367
0.266272
0.083242
0.157722
0.175246
0.349398
0.215772
0.098576
0
0
0
0
0
0.101331
1,352
32
78
42.25
0.75144
0
0
0
0
0
0.245004
0.082161
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
feef71986bf8a62bb36352cdc38f4c9852411b88
1,774
py
Python
main/main.py
sanalm/temperature-logger
75965dc06fd0fd6caf21d78c0d91b3a3ef392953
[ "MIT" ]
null
null
null
main/main.py
sanalm/temperature-logger
75965dc06fd0fd6caf21d78c0d91b3a3ef392953
[ "MIT" ]
null
null
null
main/main.py
sanalm/temperature-logger
75965dc06fd0fd6caf21d78c0d91b3a3ef392953
[ "MIT" ]
null
null
null
from main.config import Config from main.ota_updater import OTAUpdater from main.dhtRead import DHTReader import os import machine def check_for_update_to_install_during_next_reboot(): o = OTAUpdater('https://github.com/sanalm/temperature-logger') o.using_network(ssid, password) o.check_for_update_to_insta...
34.115385
165
0.733371
248
1,774
4.923387
0.314516
0.066339
0.042588
0.039312
0.419328
0.30303
0.217035
0.217035
0.121212
0.121212
0
0
0.144307
1,774
51
166
34.784314
0.804348
0.153326
0
0.108108
0
0
0.177495
0
0
0
0
0
0
1
0.108108
false
0.162162
0.135135
0
0.243243
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fef224d4bb02bf005fd0637b8d0e5b41840284e8
760
py
Python
openbook_posts/migrations/0036_auto_20190620_1957.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
164
2019-07-29T17:59:06.000Z
2022-03-19T21:36:01.000Z
openbook_posts/migrations/0036_auto_20190620_1957.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
188
2019-03-16T09:53:25.000Z
2019-07-25T14:57:24.000Z
openbook_posts/migrations/0036_auto_20190620_1957.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
80
2019-08-03T17:49:08.000Z
2022-02-28T16:56:33.000Z
# Generated by Django 2.2.2 on 2019-06-20 17:57 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('openbook_common', '0013_language'), ('openbook_posts', '0035_auto_20190620_1357'), ] operations = [ ...
29.230769
154
0.636842
83
760
5.650602
0.60241
0.051173
0.059701
0.093817
0
0
0
0
0
0
0
0.067708
0.242105
760
25
155
30.4
0.746528
0.059211
0
0.210526
1
0
0.196353
0.065919
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fef5007a15d3a0da43a3d9e77ecbe5ab79589afb
8,317
py
Python
t_system/administration.py
sevgiun/T_System
2664e38843c36578bfb6c61e2642b56bd537352a
[ "MIT" ]
7
2019-11-06T10:00:39.000Z
2021-06-29T20:31:54.000Z
t_system/administration.py
sevgiun/T_System
2664e38843c36578bfb6c61e2642b56bd537352a
[ "MIT" ]
741
2019-11-01T11:23:33.000Z
2022-03-31T13:49:17.000Z
t_system/administration.py
sevgiun/T_System
2664e38843c36578bfb6c61e2642b56bd537352a
[ "MIT" ]
6
2019-11-01T11:49:27.000Z
2022-03-18T03:04:16.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ .. module:: administration :platform: Unix :synopsis: the top-level submodule of T_System that contains the functions and classes related to T_System's accessing external network and creating internal network(becoming access point) ability. .. moduleauthor:: Cem ...
33.672065
201
0.635205
1,003
8,317
5.073779
0.17348
0.031637
0.02358
0.014148
0.465907
0.412262
0.315583
0.301041
0.301041
0.273924
0
0.027634
0.277744
8,317
246
202
33.808943
0.819544
0.399904
0
0.311321
0
0.009434
0.103117
0.057003
0
0
0
0
0
1
0.132075
false
0.150943
0.066038
0
0.301887
0.009434
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fef8a4cc25496429bba8f1f30c29995eddaebdf7
1,657
py
Python
Blender/backupfile/render/lib/WriteOBJ.py
Zhaoc917/cg
1ed7e145c466a1eb5b4361d7ee9846204236947d
[ "MIT" ]
1
2019-12-06T04:00:03.000Z
2019-12-06T04:00:03.000Z
Blender/backupfile/render/lib/WriteOBJ.py
Zhaoc917/cg
1ed7e145c466a1eb5b4361d7ee9846204236947d
[ "MIT" ]
1
2019-12-14T06:09:59.000Z
2019-12-14T06:26:30.000Z
Blender/backupfile/render/lib/WriteOBJ.py
Zhaoc917/cg
1ed7e145c466a1eb5b4361d7ee9846204236947d
[ "MIT" ]
2
2020-01-05T10:42:56.000Z
2020-03-31T05:10:42.000Z
def WriteOBJ(filename, vertrices, vts, vns, facesV, facesVt, facesVn): f=file(filename,"w+") for vertex in vertrices: f.write("v ") for i in range(len(vertex)): f.write(str(vertex[i])) f.write(" ") f.write("\n") if len(vts) != 0: for vt in vts: ...
29.070175
70
0.400724
214
1,657
3.102804
0.149533
0.271084
0.126506
0.108434
0.621988
0.558735
0.552711
0.552711
0.524096
0.524096
0
0.008466
0.429692
1,657
57
71
29.070175
0.69418
0
0
0.52
0
0
0.022316
0
0
0
0
0
0
1
0.02
false
0
0
0
0.02
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a17610c4c2e2d318b4df884e4e5c18dd42f218c
8,129
py
Python
element/cli/commands/cmd_logging.py
kitcorey/solidfire-cli
b5b945b3c9b8c1654ba03f91abac7eb2a0a18c22
[ "Apache-2.0" ]
null
null
null
element/cli/commands/cmd_logging.py
kitcorey/solidfire-cli
b5b945b3c9b8c1654ba03f91abac7eb2a0a18c22
[ "Apache-2.0" ]
null
null
null
element/cli/commands/cmd_logging.py
kitcorey/solidfire-cli
b5b945b3c9b8c1654ba03f91abac7eb2a0a18c22
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright &copy; 2014-2016 NetApp, Inc. All Rights Reserved. # # DO NOT EDIT THIS CODE BY HAND! It has been generated with jsvcgen. # import click from element.cli import utils as cli_utils from element.cli import parser from element.cli.cli import pass_context from eleme...
43.470588
593
0.691844
1,007
8,129
5.491559
0.22145
0.027667
0.009765
0.01953
0.610127
0.584448
0.584448
0.570705
0.516094
0.499458
0
0.00755
0.217862
8,129
186
594
43.704301
0.862221
0.182679
0
0.548872
1
0.030075
0.246103
0.012714
0
0
0
0
0
1
0.037594
false
0.045113
0.097744
0
0.165414
0.06015
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a19c9b05b97846dfae4f3af965c64ba057dfeec
3,050
py
Python
sdk/python/pulumi_aws_native/secretsmanager/get_resource_policy.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
29
2021-09-30T19:32:07.000Z
2022-03-22T21:06:08.000Z
sdk/python/pulumi_aws_native/secretsmanager/get_resource_policy.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
232
2021-09-30T19:26:26.000Z
2022-03-31T23:22:06.000Z
sdk/python/pulumi_aws_native/secretsmanager/get_resource_policy.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
4
2021-11-10T19:42:01.000Z
2022-02-05T10:15:49.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __a...
36.309524
138
0.697705
340
3,050
5.932353
0.291176
0.117997
0.10114
0.041646
0.130887
0.130887
0.097174
0
0
0
0
0.000413
0.205246
3,050
83
139
36.746988
0.831683
0.107541
0
0.05
1
0
0.142113
0.053943
0
0
0
0
0
1
0.116667
false
0
0.083333
0.05
0.316667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a1b8709dd1735e755af85d84cd99b326def620f
574
py
Python
ephios/plugins/guests/migrations/0002_auto_20210403_2348.py
ephios-dev/ephios
c8d30576238a189ccef1929661f547ee3fe6e5d7
[ "MIT" ]
14
2021-01-13T12:15:03.000Z
2022-03-20T10:02:11.000Z
ephios/plugins/guests/migrations/0002_auto_20210403_2348.py
ephios-dev/ephios
c8d30576238a189ccef1929661f547ee3fe6e5d7
[ "MIT" ]
570
2020-09-19T13:37:27.000Z
2022-03-31T09:14:37.000Z
ephios/plugins/guests/migrations/0002_auto_20210403_2348.py
ephios-dev/ephios
c8d30576238a189ccef1929661f547ee3fe6e5d7
[ "MIT" ]
5
2021-01-08T16:52:31.000Z
2022-03-20T10:02:25.000Z
# Generated by Django 3.1.7 on 2021-04-03 21:48 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("guests", "0001_initial"), ] operations = [ migrations.AlterField( model_name="guestparticipatio...
23.916667
60
0.583624
57
574
5.789474
0.684211
0.072727
0.084848
0.133333
0
0
0
0
0
0
0
0.04798
0.310105
574
23
61
24.956522
0.785354
0.078397
0
0.117647
1
0
0.149905
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a2244e1b82693d362db53834c5fe5cd86738de3
1,444
py
Python
examples/eve_bubble.py
harvv/CircuitPython_bteve
275fc18fa4ad033c3a82b3c7e3ed522dde83a094
[ "MIT" ]
2
2021-03-10T04:05:36.000Z
2021-03-27T01:05:27.000Z
examples/eve_bubble.py
harvv/CircuitPython_bteve
275fc18fa4ad033c3a82b3c7e3ed522dde83a094
[ "MIT" ]
15
2021-09-22T08:36:08.000Z
2022-01-26T08:51:42.000Z
examples/eve_bubble.py
harvv/CircuitPython_bteve
275fc18fa4ad033c3a82b3c7e3ed522dde83a094
[ "MIT" ]
4
2021-05-10T20:55:57.000Z
2021-12-30T14:23:47.000Z
import random import math import bteve as eve random.seed(6) rr = random.randrange # Via https://sashamaps.net/docs/resources/20-colors/ colors20 = [ (230, 25, 75), (60, 180, 75), (255, 225, 25), (0, 130, 200), (245, 130, 48), (145, 30, 180), (70, 240, 240), (240, 50, 230), (210, 245, 60), (250, 190, 212), (0, 12...
32.088889
345
0.521468
230
1,444
3.256522
0.456522
0.040053
0.018692
0.029373
0
0
0
0
0
0
0
0.212745
0.293629
1,444
44
346
32.818182
0.521569
0.081025
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0.088235
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a240681c72cc741c522d3823ac9e74d4dabe5cb
511
py
Python
bureau/personnel/migrations/0004_auto_20181124_2005.py
clairempr/bureau
c9fd114e637829b4e9ff643459d15602cc2efc2f
[ "Apache-2.0" ]
1
2019-02-15T09:05:35.000Z
2019-02-15T09:05:35.000Z
bureau/personnel/migrations/0004_auto_20181124_2005.py
clairempr/bureau
c9fd114e637829b4e9ff643459d15602cc2efc2f
[ "Apache-2.0" ]
null
null
null
bureau/personnel/migrations/0004_auto_20181124_2005.py
clairempr/bureau
c9fd114e637829b4e9ff643459d15602cc2efc2f
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.9 on 2018-11-24 20:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('personnel', '0003_auto_20181124_1857'), ] operations = [ migrations.AlterField( model_name='employee', name='bureau_...
26.894737
164
0.65362
56
511
5.767857
0.767857
0.074303
0
0
0
0
0
0
0
0
0
0.078283
0.225049
511
18
165
28.388889
0.737374
0.088063
0
0
1
0
0.215517
0.049569
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a245d337b3a75cc0661fefe27ba0eff9d14ac69
1,157
py
Python
tetris/window.py
huodahaha/tetris_python
86ffec042bb892e7a7484e73d2d50e252cbdc9dc
[ "MIT" ]
1
2016-09-18T09:28:02.000Z
2016-09-18T09:28:02.000Z
tetris/window.py
huodahaha/tetris_python
86ffec042bb892e7a7484e73d2d50e252cbdc9dc
[ "MIT" ]
null
null
null
tetris/window.py
huodahaha/tetris_python
86ffec042bb892e7a7484e73d2d50e252cbdc9dc
[ "MIT" ]
null
null
null
from Tkinter import * class StatusBar(Frame): def __init__(self, master): Frame.__init__(self, master) self.label = Label(self, bd=1, relief=SUNKEN, anchor=W) self.label.pack(fill=X) def set(self, format, *args): self.label.config(text=format % args) self.la...
25.152174
64
0.67675
148
1,157
5.162162
0.364865
0.073298
0.098168
0.090314
0.181937
0.070681
0
0
0
0
0
0.007368
0.178911
1,157
46
65
25.152174
0.796842
0.011236
0
0.0625
0
0
0.054645
0
0
0
0
0
0
0
null
null
0
0.03125
null
null
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3a25fa8a027e67ea7dbea468f2adae1f9dcd6084
2,434
py
Python
Cura/Cura/tests/Machines/Models/TestDiscoveredPrintersModel.py
TIAO-JI-FU/3d-printing-with-moveo-1
100ecfd1208fe1890f8bada946145d716b2298eb
[ "MIT" ]
null
null
null
Cura/Cura/tests/Machines/Models/TestDiscoveredPrintersModel.py
TIAO-JI-FU/3d-printing-with-moveo-1
100ecfd1208fe1890f8bada946145d716b2298eb
[ "MIT" ]
null
null
null
Cura/Cura/tests/Machines/Models/TestDiscoveredPrintersModel.py
TIAO-JI-FU/3d-printing-with-moveo-1
100ecfd1208fe1890f8bada946145d716b2298eb
[ "MIT" ]
null
null
null
from unittest.mock import MagicMock, PropertyMock import pytest from cura.Machines.Models.DiscoveredPrintersModel import DiscoveredPrintersModel, DiscoveredPrinter @pytest.fixture() def discovered_printer_model(application) -> DiscoveredPrintersModel: return DiscoveredPrintersModel(application) @pytest.fixture...
38.634921
118
0.773213
261
2,434
6.988506
0.344828
0.195724
0.144737
0.065789
0.283991
0.178728
0.073465
0.073465
0.073465
0
0
0.007569
0.131471
2,434
63
119
38.634921
0.855251
0.081758
0
0.146341
0
0
0.063706
0
0
0
0
0
0.195122
1
0.121951
false
0
0.073171
0.04878
0.243902
0.512195
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
3a29c68852551380d6f91b5589625b57ce001305
243
py
Python
Python32/aulas/Htlm.py
andersonsilvade/python_C
ffc00184883089f1c2d9b8a6c32503b2c8b8d035
[ "MIT" ]
null
null
null
Python32/aulas/Htlm.py
andersonsilvade/python_C
ffc00184883089f1c2d9b8a6c32503b2c8b8d035
[ "MIT" ]
null
null
null
Python32/aulas/Htlm.py
andersonsilvade/python_C
ffc00184883089f1c2d9b8a6c32503b2c8b8d035
[ "MIT" ]
1
2020-11-04T08:36:28.000Z
2020-11-04T08:36:28.000Z
'''Geração de HTML''' arquivo = open('ola.html','w',encoding='utf-8') arquivo.write('''<!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="utf-8"> <title>Titulo da pagina</title> </head> <body> Olá!!! </body> </html>''') arquivo.close()
17.357143
47
0.62963
36
243
4.25
0.694444
0.143791
0
0
0
0
0
0
0
0
0
0.00905
0.090535
243
13
48
18.692308
0.683258
0.061728
0
0
0
0
0.671171
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a2d9cb1bb8afece5c60f7725c8ccb228f91a10f
7,053
py
Python
make_training_data/fetch_training_data.py
tanhanliang/ml-deviant-subgraph-detection
9ce1b07e080b0626d19b042562ba7e81ca6024b5
[ "Apache-2.0" ]
1
2021-07-08T08:30:35.000Z
2021-07-08T08:30:35.000Z
make_training_data/fetch_training_data.py
tanhanliang/ml-deviant-subgraph-detection
9ce1b07e080b0626d19b042562ba7e81ca6024b5
[ "Apache-2.0" ]
null
null
null
make_training_data/fetch_training_data.py
tanhanliang/ml-deviant-subgraph-detection
9ce1b07e080b0626d19b042562ba7e81ca6024b5
[ "Apache-2.0" ]
1
2019-11-30T01:34:19.000Z
2019-11-30T01:34:19.000Z
""" This module contains functions to fetch data from the database according to particular rules (e.g. process downloaded a file from the internet, then executed it). Each function corresponds to one rule. """ from data_processing.neo4j_interface_fns import execute_query def get_train_3_node_simple(): """ Get...
31.207965
105
0.630795
922
7,053
4.741866
0.194143
0.054895
0.056496
0.048033
0.519671
0.488106
0.448994
0.424977
0.415599
0.381976
0
0.070175
0.191833
7,053
226
106
31.207965
0.696842
0.198922
0
0.535211
0
0.070423
0.727669
0.384895
0
0
0
0
0
1
0.06338
false
0
0.007042
0
0.133803
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a3b1d66122537f6f74d8a2bd6c1b73814e976e4
5,541
py
Python
customer/migrations/0001_initial.py
hhdMrLion/django-crm
9f6f021e0cddc323c88280b733144366a0cb9fa6
[ "Apache-2.0" ]
1
2021-06-18T03:03:43.000Z
2021-06-18T03:03:43.000Z
customer/migrations/0001_initial.py
hhdMrLion/django-crm
9f6f021e0cddc323c88280b733144366a0cb9fa6
[ "Apache-2.0" ]
null
null
null
customer/migrations/0001_initial.py
hhdMrLion/django-crm
9f6f021e0cddc323c88280b733144366a0cb9fa6
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.17 on 2020-12-21 08:14 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
65.188235
244
0.591229
606
5,541
5.212871
0.249175
0.139285
0.128205
0.114277
0.666983
0.654638
0.585628
0.585628
0.585628
0.55334
0
0.02414
0.244902
5,541
84
245
65.964286
0.73088
0.008302
0
0.350649
1
0
0.169532
0
0
0
0
0
0
1
0
false
0
0.038961
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a3b8f3a05f3be4349a0d64fea23d58292ad3459
366
py
Python
h-index/Solution.55533513.py
rahul-ramadas/leetcode
6c84c2333a613729361c5cdb63dc3fc80203b340
[ "MIT" ]
null
null
null
h-index/Solution.55533513.py
rahul-ramadas/leetcode
6c84c2333a613729361c5cdb63dc3fc80203b340
[ "MIT" ]
1
2016-09-11T22:26:17.000Z
2016-09-13T01:49:48.000Z
h-index/Solution.55533513.py
rahul-ramadas/leetcode
6c84c2333a613729361c5cdb63dc3fc80203b340
[ "MIT" ]
null
null
null
class Solution: def hIndex(self, citations): n = len(citations) at_least = [0] * (n + 2) for c in citations: at_least[min(c, n + 1)] += 1 for i in xrange(n, -1, -1): at_least[i] += at_least[i + 1] for i in xrange(n, -1, -1): if...
26.142857
43
0.428962
53
366
2.867925
0.396226
0.230263
0.059211
0.092105
0.210526
0.210526
0.210526
0.210526
0
0
0
0.043478
0.434426
366
13
44
28.153846
0.690821
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a3bb1f21eb6a0142f6642867bdca8236e550f81
629
py
Python
linear_sim.py
dnlrbns/reaction_wheel
2ab8837df23c6ed57421c0553b2a5984e4e6bb00
[ "MIT" ]
null
null
null
linear_sim.py
dnlrbns/reaction_wheel
2ab8837df23c6ed57421c0553b2a5984e4e6bb00
[ "MIT" ]
null
null
null
linear_sim.py
dnlrbns/reaction_wheel
2ab8837df23c6ed57421c0553b2a5984e4e6bb00
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import control m1= 0.1 m2 = 0.1 r = 0.04 l1 = 0.1 l2 = 0.2 I1 = (1/12) * m1 * l1**2 I2 = (1/2) * m2 * r**2 b = 0.01 c = 0.01 T=0 g=9.8 ref = np.pi/2 J = m1*l1**2 + m2*l2**2 + I1 A = [\ [-b/J, (g/J)*(m1*l1+m2*l2), c/J, 0],\ [1, 0, 0, 0],\ [b/J, (-g/J)*(m...
14.97619
42
0.496025
154
629
2.019481
0.305195
0.045016
0.048232
0.025723
0.141479
0.096463
0.096463
0.096463
0.096463
0.096463
0
0.150101
0.216216
629
42
43
14.97619
0.48073
0.127186
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.09375
0
0.09375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a3eb0611c7a7942c52246d26b7ce014cf9c8f60
322
py
Python
example.py
fangwei123456/PixelUnshuffle-pytorch
1977802256fef9b7d6559ebcd793c4a347c8748b
[ "MIT" ]
14
2019-09-22T11:03:45.000Z
2022-03-07T05:46:09.000Z
example.py
fedral/PixelUnshuffle-pytorch
ad1c11e6cd9036041969e824db31680c13c85830
[ "MIT" ]
3
2020-01-20T07:18:34.000Z
2021-07-30T07:08:37.000Z
example.py
fangwei123456/PixelUnshuffle-pytorch
1977802256fef9b7d6559ebcd793c4a347c8748b
[ "MIT" ]
5
2019-09-22T11:03:47.000Z
2022-01-26T08:20:56.000Z
import PixelUnshuffle import torch import torch.nn as nn import torch.nn.functional as F x = torch.range(start=0, end=31).reshape([1, 8, 2, 2]) print('x:') print(x.shape) print(x) y = F.pixel_shuffle(x, 2) print('y:') print(y.shape) print(y) x_ = PixelUnshuffle.pixel_unshuffle(y, 2) print('x_:') print(x_.shape) print(x...
20.125
54
0.71118
60
322
3.716667
0.383333
0.161435
0.116592
0.107623
0.215247
0.215247
0.215247
0.215247
0
0
0
0.031359
0.108696
322
16
55
20.125
0.745645
0
0
0
0
0
0.021672
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
3a40bfa10f96f8d014483d05e01add7aafc28352
2,236
py
Python
firefly/data_sources/graphite_wsp.py
apetesh/firefly
fda4a14bb38094c582e349923d0c72b050cc0229
[ "ISC" ]
52
2015-01-04T17:35:00.000Z
2020-11-07T23:46:59.000Z
firefly/data_sources/graphite_wsp.py
apetesh/firefly
fda4a14bb38094c582e349923d0c72b050cc0229
[ "ISC" ]
4
2015-04-15T00:41:31.000Z
2021-03-25T21:27:38.000Z
firefly/data_sources/graphite_wsp.py
apetesh/firefly
fda4a14bb38094c582e349923d0c72b050cc0229
[ "ISC" ]
14
2015-04-10T09:00:34.000Z
2020-07-23T09:25:53.000Z
import os import os.path import colorsys from itertools import izip try: import json except ImportError: import simplejson as json import whisper import firefly.data_source class GraphiteWSP(firefly.data_source.DataSource): """Stats from Graphite's Whisperdb files""" DESC = "Graphite" def __i...
31.942857
127
0.598837
279
2,236
4.670251
0.34767
0.032233
0.038373
0.021489
0.167306
0.09363
0.058327
0
0
0
0
0.00802
0.275045
2,236
69
128
32.405797
0.795805
0
0
0.076923
0
0
0.040547
0
0
0
0
0
0
0
null
null
0
0.173077
null
null
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3a43017204dae8d58f1854b4d8ff508c7136fdc7
9,601
py
Python
experiments/within-sentence-experiments/unaryParser/model_utils.py
wkiri/MTE
c2d76cc2db3a35675fbda9460095cf697ed98c08
[ "Apache-2.0" ]
6
2018-02-06T16:46:02.000Z
2021-08-06T14:24:10.000Z
experiments/within-sentence-experiments/unaryParser/model_utils.py
wkiri/MTE
c2d76cc2db3a35675fbda9460095cf697ed98c08
[ "Apache-2.0" ]
40
2018-02-28T17:21:30.000Z
2022-03-30T00:03:37.000Z
experiments/within-sentence-experiments/unaryParser/model_utils.py
wkiri/MTE
c2d76cc2db3a35675fbda9460095cf697ed98c08
[ "Apache-2.0" ]
3
2021-02-23T05:19:12.000Z
2021-05-28T21:35:14.000Z
# python3 # model_utils.py # Mars Target Encyclopedia # This script contains utils for training and testing a model. # # Yuan Zhuang # July 30, 2021 # Copyright notice at bottom of file. import sys, os, re from copy import deepcopy from os.path import exists def add_marker_tokens(tokenizer, ner_labels): """ ...
36.505703
156
0.582231
1,083
9,601
4.963066
0.181902
0.027349
0.024558
0.046512
0.634977
0.610419
0.603535
0.579907
0.579907
0.579907
0
0.011278
0.335069
9,601
262
157
36.645038
0.83067
0.147901
0
0.734463
0
0
0.038452
0.010271
0
0
0
0
0
1
0.056497
false
0
0.016949
0
0.129944
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a43c1312dd4adf151c07b082d0b751b35b62eab
624
py
Python
tpau_gtfsutilities/gtfs/tables/helpers.py
anniekfifer/tpau-gtfsutils
a022d4c8465b7f736023ecc294ff0d7d0201b0e9
[ "BSD-3-Clause" ]
1
2021-05-25T23:33:01.000Z
2021-05-25T23:33:01.000Z
tpau_gtfsutilities/gtfs/tables/helpers.py
anniekfifer/tpau-gtfsutils
a022d4c8465b7f736023ecc294ff0d7d0201b0e9
[ "BSD-3-Clause" ]
null
null
null
tpau_gtfsutilities/gtfs/tables/helpers.py
anniekfifer/tpau-gtfsutils
a022d4c8465b7f736023ecc294ff0d7d0201b0e9
[ "BSD-3-Clause" ]
null
null
null
class ColumnRef: table = '' column = '' cascade_row = None def __init__(self, table, column, cascade_row=True): # cascade_row=True means that row in table should be removed # if value in column that owns reference is not found. # i.e, reference from stop_times.stop_id to stops....
41.6
93
0.674679
93
624
4.354839
0.505376
0.17284
0.103704
0.103704
0
0
0
0
0
0
0
0
0.262821
624
14
94
44.571429
0.880435
0.559295
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3a4d391f2072b4f6e94805044a7ebdda285aaf31
460
py
Python
manageXML/migrations/0004_affiliation_type.py
mikahama/verdd
802fae5d3725a6fa34065cbee194f1b904d4be52
[ "Apache-2.0" ]
5
2020-08-10T16:53:00.000Z
2021-12-07T13:04:53.000Z
manageXML/migrations/0004_affiliation_type.py
mikahama/verdd
802fae5d3725a6fa34065cbee194f1b904d4be52
[ "Apache-2.0" ]
null
null
null
manageXML/migrations/0004_affiliation_type.py
mikahama/verdd
802fae5d3725a6fa34065cbee194f1b904d4be52
[ "Apache-2.0" ]
2
2020-12-26T22:31:55.000Z
2021-03-26T20:15:46.000Z
# Generated by Django 2.2.1 on 2019-10-09 08:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('manageXML', '0003_auto_20190923_0833'), ] operations = [ migrations.AddField( model_name='affiliation', name='type',...
24.210526
121
0.606522
49
460
5.612245
0.795918
0
0
0
0
0
0
0
0
0
0
0.093294
0.254348
460
18
122
25.555556
0.708455
0.097826
0
0
1
0
0.150121
0.05569
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a4df58ea76a801d9940b12ebb6e458f928f75bd
442
py
Python
field_wagtail/migrations/0029_caption_richtext.py
kingsdigitallab/field-django
6ceba79866d6971a6891f0b81ca9ed2a2d5a32db
[ "MIT" ]
null
null
null
field_wagtail/migrations/0029_caption_richtext.py
kingsdigitallab/field-django
6ceba79866d6971a6891f0b81ca9ed2a2d5a32db
[ "MIT" ]
2
2020-08-12T23:53:01.000Z
2022-02-10T09:41:09.000Z
field_wagtail/migrations/0029_caption_richtext.py
kingsdigitallab/field-django
6ceba79866d6971a6891f0b81ca9ed2a2d5a32db
[ "MIT" ]
null
null
null
# Generated by Django 2.2.15 on 2021-05-12 12:50 from django.db import migrations import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('field_wagtail', '0028_auto_20210512_1349'), ] operations = [ migrations.AlterField( model_name='fieldimage',...
22.1
75
0.633484
49
442
5.612245
0.714286
0.08
0.123636
0
0
0
0
0
0
0
0
0.097264
0.255656
442
19
76
23.263158
0.738602
0.104072
0
0
1
0
0.134518
0.058376
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a4eb4a3969283b80fa6fee3009545e9509f935b
2,840
py
Python
docs/documentation_technique/end-to-end/library/GeocontribCreateLibrary.py
neogeo-technologies/collab
d205efd0a05b98c8c1781a777c0512b042580b73
[ "Apache-2.0" ]
3
2019-09-10T09:03:02.000Z
2019-10-24T08:23:21.000Z
docs/documentation_technique/end-to-end/library/GeocontribCreateLibrary.py
neogeo-technologies/collab
d205efd0a05b98c8c1781a777c0512b042580b73
[ "Apache-2.0" ]
3
2019-10-15T13:40:41.000Z
2019-12-17T17:40:19.000Z
docs/documentation_technique/end-to-end/library/GeocontribCreateLibrary.py
neogeo-technologies/collab
d205efd0a05b98c8c1781a777c0512b042580b73
[ "Apache-2.0" ]
1
2019-10-11T07:06:30.000Z
2019-10-11T07:06:30.000Z
# Copyright (c) 2017-2021 Neogeo-Technologies. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
45.806452
95
0.727817
425
2,840
4.616471
0.294118
0.09633
0.132518
0.203874
0.58053
0.574414
0.569827
0.504077
0.41998
0.41998
0
0.008998
0.139085
2,840
61
96
46.557377
0.793456
0.366197
0
0.393939
0
0.060606
0.245357
0.178953
0
0
0
0
0
1
0.090909
false
0
0.030303
0
0.121212
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a547ccb4eb59ab3bb8bb68b6fc5fc5b913ffccf
228
py
Python
deus.py
edomin/deus
c966b24c89147c6898fcadf59fd645e1dd81ec3f
[ "CC0-1.0" ]
null
null
null
deus.py
edomin/deus
c966b24c89147c6898fcadf59fd645e1dd81ec3f
[ "CC0-1.0" ]
null
null
null
deus.py
edomin/deus
c966b24c89147c6898fcadf59fd645e1dd81ec3f
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 from deus.main_window import MainWindow from deus.world import World def main(): world = World() mainWindow = MainWindow(640, 480, "Deus", world) if __name__ == "__main__": main()
19
52
0.653509
29
228
4.827586
0.551724
0.114286
0
0
0
0
0
0
0
0
0
0.039548
0.223684
228
11
53
20.727273
0.751412
0.092105
0
0
0
0
0.058252
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a584ae0f6c654e91ec2fe2c62d1af4854c9b454
147
py
Python
examples/globalextend.py
gufolabs/gufo_err
d3996f355b38a3efe1fa3ecae578846ffebd7790
[ "BSD-3-Clause" ]
null
null
null
examples/globalextend.py
gufolabs/gufo_err
d3996f355b38a3efe1fa3ecae578846ffebd7790
[ "BSD-3-Clause" ]
null
null
null
examples/globalextend.py
gufolabs/gufo_err
d3996f355b38a3efe1fa3ecae578846ffebd7790
[ "BSD-3-Clause" ]
null
null
null
from gufo.err import err err.setup(catch_all=True, format="extend") def fail(): x = 1 x += 1 raise RuntimeError("failing") fail()
11.307692
42
0.62585
22
147
4.136364
0.772727
0.043956
0
0
0
0
0
0
0
0
0
0.017699
0.231293
147
12
43
12.25
0.787611
0
0
0
0
0
0.088435
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28a8639b9c1faa44da9fa383c05895dd3dc85e74
461
py
Python
setup.py
emmamcbryde/summer
129176507646f45c054f7bac03628799b06de055
[ "MIT" ]
null
null
null
setup.py
emmamcbryde/summer
129176507646f45c054f7bac03628799b06de055
[ "MIT" ]
null
null
null
setup.py
emmamcbryde/summer
129176507646f45c054f7bac03628799b06de055
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='summer_py', version='1.1.0', packages=['summer_py',], url='https://github.com/jtrauer/summer_py', license='MIT', author='James Trauer', author_email='james.trauer@monash.edu', install_requires=['scipy==1.1.0', '...
28.8125
73
0.62256
58
461
4.844828
0.724138
0.085409
0.021352
0
0
0
0
0
0
0
0
0.038889
0.219089
461
15
74
30.733333
0.741667
0
0
0
0
0
0.436009
0.049892
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
28ad98b2013c2e51880a84dad2be31007708d0eb
613
py
Python
game_stats.py
ctee88/FlappyBirdClone
9c0002a21ac836e88c44de4ff66002b910689a7b
[ "MIT" ]
null
null
null
game_stats.py
ctee88/FlappyBirdClone
9c0002a21ac836e88c44de4ff66002b910689a7b
[ "MIT" ]
null
null
null
game_stats.py
ctee88/FlappyBirdClone
9c0002a21ac836e88c44de4ff66002b910689a7b
[ "MIT" ]
null
null
null
""" Author: Cameron Tee A class keeping track of the game stats. Only one life in Flappy Bird. This class controls the game state (whether playing or not). """ class GameStats(): def __init__(self, settings): """ Initialise the gamestats object. """ self.settings = settings self.reset_stats(...
21.137931
61
0.665579
84
613
4.761905
0.595238
0.0525
0
0
0
0
0
0
0
0
0
0.004348
0.249592
613
28
62
21.892857
0.865217
0.492659
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
28ade38e9e11f935819be31572b480c41df48afb
3,956
py
Python
output/postProcessors/image.py
roshansamuel/saras-cc
276ba6732de22bf8df1ab0f5821795f41002f549
[ "BSD-3-Clause" ]
3
2021-08-31T18:48:36.000Z
2021-12-10T22:19:06.000Z
output/postProcessors/image.py
roshansamuel/saras-cc
276ba6732de22bf8df1ab0f5821795f41002f549
[ "BSD-3-Clause" ]
3
2020-05-29T09:32:18.000Z
2020-08-05T01:55:58.000Z
output/postProcessors/image.py
roshansamuel/saras-cc
276ba6732de22bf8df1ab0f5821795f41002f549
[ "BSD-3-Clause" ]
null
null
null
############################################################################################################################################# # Saras # # Copyright (C) 2019, Mahendra K. Verma # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are pe...
35.00885
141
0.608948
533
3,956
4.472796
0.491557
0.020973
0.025168
0.019295
0.09396
0.067114
0.067114
0.057047
0.057047
0.057047
0
0.025379
0.183266
3,956
112
142
35.321429
0.712473
0.469919
0
0
0
0
0.047414
0
0
0
0
0
0
0
null
null
0
0.14
null
null
0.08
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
28af0ed6d3b82890b35d731c164011578c167777
3,659
py
Python
db-pgsql/acc-1.py
mykespb/pythoner
73ab866c0be0d706dfe7b35054886f1944ffd627
[ "Apache-2.0" ]
1
2015-09-18T16:05:37.000Z
2015-09-18T16:05:37.000Z
db-pgsql/acc-1.py
mykespb/pythoner
73ab866c0be0d706dfe7b35054886f1944ffd627
[ "Apache-2.0" ]
2
2021-09-15T12:10:57.000Z
2022-01-04T20:38:33.000Z
db-pgsql/acc-1.py
mykespb/pythoner
73ab866c0be0d706dfe7b35054886f1944ffd627
[ "Apache-2.0" ]
null
null
null
# myke pgsql test # 2020-12-18 2020-12-19 1.2 import psycopg2 as sql from contextlib import closing import psycopg2.extras from psycopg2.extras import DictCursor print("ok") # conn = psycopg2.connect(dbname='pgtest', user='postgres', password='postgres', host='localhost') # cursor = conn.cursor() with closing(sql.c...
33.568807
107
0.572288
432
3,659
4.722222
0.30787
0.039706
0.046569
0.034314
0.214706
0.214706
0.155882
0.129902
0.129902
0.052941
0
0.030989
0.312107
3,659
108
108
33.87963
0.779499
0.219459
0
0.295775
0
0
0.712721
0.128269
0
0
0
0
0
1
0
false
0.014085
0.056338
0
0.056338
0.169014
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28afcf611d9ac50757c63bba631d06c5f070c007
2,974
py
Python
notesave/__init__.py
ninjamar/NoteSave
b16b06d49589ea7a6a3547fe5342d7daa92918fe
[ "MIT" ]
null
null
null
notesave/__init__.py
ninjamar/NoteSave
b16b06d49589ea7a6a3547fe5342d7daa92918fe
[ "MIT" ]
null
null
null
notesave/__init__.py
ninjamar/NoteSave
b16b06d49589ea7a6a3547fe5342d7daa92918fe
[ "MIT" ]
null
null
null
import datetime from os import listdir,mkdir from os.path import isfile, join import requests import argparse class NoteSaver: def save_note_local(self,title,content): try: mkdir('notes') except FileExistsError: pass with open(f'notes/{title}','w') as f: f.write(content) def sa...
28.32381
123
0.605582
422
2,974
4.13981
0.329384
0.041214
0.029765
0.036062
0.217516
0.157985
0.099599
0.099599
0.067544
0.067544
0
0.003155
0.253867
2,974
104
124
28.596154
0.784137
0
0
0.170213
0
0.010638
0.173167
0.020175
0
0
0
0
0
0
null
null
0.010638
0.053191
null
null
0.138298
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
28bb2d78da56cc3a0c2146bca6d8019eb08d5a88
342
py
Python
Easy/RemoveDuplicates.py
AvivSham/LeetCodeQ
b868816e5acc8702f2d5ccc91a4707948ba29c3a
[ "MIT" ]
null
null
null
Easy/RemoveDuplicates.py
AvivSham/LeetCodeQ
b868816e5acc8702f2d5ccc91a4707948ba29c3a
[ "MIT" ]
null
null
null
Easy/RemoveDuplicates.py
AvivSham/LeetCodeQ
b868816e5acc8702f2d5ccc91a4707948ba29c3a
[ "MIT" ]
null
null
null
def remove_duplicates(S: str) -> str: r = S[0] for i in range(1, len(S)): if len(r) == 0: r += S[i] else: if r[-1] == S[i]: if len(r) == 1: r = '' else: r = r[:-1] else: r ...
21.375
37
0.277778
44
342
2.136364
0.363636
0.06383
0.12766
0
0
0
0
0
0
0
0
0.040816
0.570175
342
15
38
22.8
0.598639
0
0
0.357143
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28c115acb49963e79cb2776b92f17572a9e1aaf7
7,872
py
Python
.leetcode/736.parse-lisp-expression.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/736.parse-lisp-expression.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/736.parse-lisp-expression.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
# @lc app=leetcode id=736 lang=python3 # # [736] Parse Lisp Expression # # https://leetcode.com/problems/parse-lisp-expression/description/ # # algorithms # Hard (50.40%) # Likes: 364 # Dislikes: 281 # Total Accepted: 17.2K # Total Submissions: 34K # Testcase Example: '"(let x 2 (mult x (let x 3 y 4 (add x y))))...
29.373134
79
0.566819
1,063
7,872
4.190028
0.23048
0.02335
0.014594
0.033678
0.257072
0.242703
0.216659
0.179389
0.154019
0.105074
0
0.027799
0.319106
7,872
268
80
29.373134
0.803172
0.469131
0
0.304348
0
0
0.172873
0
0
0
0
0
0
1
0.034783
false
0.026087
0.008696
0
0.086957
0.417391
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
28c89bbf22863951611c7e03f8e0765d717d48b4
15,736
py
Python
js6_conversor.py
brunovam/ecma5Toecma6
9594b5ac30895d4f56aae2ef932b5f24d1cc8302
[ "Apache-2.0" ]
null
null
null
js6_conversor.py
brunovam/ecma5Toecma6
9594b5ac30895d4f56aae2ef932b5f24d1cc8302
[ "Apache-2.0" ]
null
null
null
js6_conversor.py
brunovam/ecma5Toecma6
9594b5ac30895d4f56aae2ef932b5f24d1cc8302
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import sys from sys import argv import re from itens_js import Bank, JSClass, JSMethod, JSAtribute, JS_TYPE, Kinship def create_js_method_on_the_bank(bank, kinships, name, id, modifier, parent_id): js_method = JSMethod(name, id, modifier) bank.insert_method(js_method) kinships.insert(par...
46.973134
231
0.571365
1,930
15,736
4.294819
0.090674
0.052117
0.082036
0.049222
0.637109
0.57522
0.52443
0.477018
0.415611
0.394981
0
0.004501
0.322255
15,736
334
232
47.113772
0.772714
0.02256
0
0.379699
0
0.022556
0.037233
0
0
0
0
0.005988
0
0
null
null
0.011278
0.015038
null
null
0.018797
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
28cff078524e20a37d1493b5fa7c44717eabaa72
757
py
Python
app/tests/unitaire/test_unit_tf_controller.py
nicolasjaco/GaelO_Processing
7cb24e0bc63c590d154076a1ae814b1b5542e165
[ "MIT" ]
null
null
null
app/tests/unitaire/test_unit_tf_controller.py
nicolasjaco/GaelO_Processing
7cb24e0bc63c590d154076a1ae814b1b5542e165
[ "MIT" ]
1
2021-06-21T19:38:00.000Z
2021-06-21T19:38:00.000Z
app/tests/unitaire/test_unit_tf_controller.py
nicolasjaco/GaelO_Processing
7cb24e0bc63c590d154076a1ae814b1b5542e165
[ "MIT" ]
2
2021-06-21T12:28:28.000Z
2021-06-21T12:30:37.000Z
from django.test import TestCase from django.test import Client from ...gaelo_processing.controller import tensorflow_controller class test_unit_tf_controller(TestCase): def test_unit_tf_ctrllr(self): results = {'right_arm': [0.9999998807907104, 8.830931363945638e-08], 'head': [0.9998...
39.842105
94
0.677675
88
757
5.625
0.625
0.048485
0.060606
0.080808
0
0
0
0
0
0
0
0.301003
0.21004
757
18
95
42.055556
0.526756
0.034346
0
0
0
0
0.175583
0.130316
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.384615
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28d0efb6405a9ab217eab346de2d01e7e8ad5332
3,975
py
Python
python/scripts/wcs2fits.py
dstndstn/wcs2kml
840667fe142bfe5c34f61fc2cd5fbfecfa27e87e
[ "BSD-3-Clause" ]
null
null
null
python/scripts/wcs2fits.py
dstndstn/wcs2kml
840667fe142bfe5c34f61fc2cd5fbfecfa27e87e
[ "BSD-3-Clause" ]
1
2020-03-08T04:42:30.000Z
2020-03-08T04:42:30.000Z
python/scripts/wcs2fits.py
dstndstn/wcs2kml
840667fe142bfe5c34f61fc2cd5fbfecfa27e87e
[ "BSD-3-Clause" ]
1
2020-02-29T19:56:15.000Z
2020-02-29T19:56:15.000Z
#!/usr/bin/env python # Copyright (c) 2007-2009, Google Inc. # Author: Jeremy Brewer # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above...
36.805556
79
0.678994
571
3,975
4.632224
0.423818
0.049149
0.034405
0.042344
0.140643
0.107372
0.077127
0.077127
0.071078
0.071078
0
0.033074
0.224151
3,975
107
80
37.149533
0.824578
0.48
0
0.081633
0
0
0.184552
0
0
0
0
0
0
0
null
null
0
0.081633
null
null
0.061224
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
28d2e18ffc33395fca70531103b5e095f985c381
1,141
py
Python
src/pytakes/run/runner.py
dcronkite/pytakes
319918e129ac5dc05336d5f07e547163530be256
[ "MIT" ]
null
null
null
src/pytakes/run/runner.py
dcronkite/pytakes
319918e129ac5dc05336d5f07e547163530be256
[ "MIT" ]
null
null
null
src/pytakes/run/runner.py
dcronkite/pytakes
319918e129ac5dc05336d5f07e547163530be256
[ "MIT" ]
null
null
null
from datetime import datetime from typing import List from pytakes import MinerCollection, SentenceBoundary from pytakes.corpus import get_next_from_corpus from pytakes.dict.textitem import process_textitem from pytakes.run.schema import validate_config from pytakes.run.simple_run import load_keywords, load_negation, ...
35.65625
98
0.705521
146
1,141
5.328767
0.424658
0.070694
0.028278
0.043702
0
0
0
0
0
0
0
0
0.175285
1,141
31
99
36.806452
0.82678
0.007011
0
0
0
0
0.05466
0.024194
0
0
0
0
0
1
0.090909
false
0
0.318182
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
28d6dd9d7000cfc5b0d1d1350ce3f621bf3a868e
1,095
py
Python
examples/tutorial/tutorial_compartments.py
PhilippBoeing/synbioweaver
23efdf79a325885a43e82ba13e6ccefb8eb3d733
[ "MIT" ]
null
null
null
examples/tutorial/tutorial_compartments.py
PhilippBoeing/synbioweaver
23efdf79a325885a43e82ba13e6ccefb8eb3d733
[ "MIT" ]
null
null
null
examples/tutorial/tutorial_compartments.py
PhilippBoeing/synbioweaver
23efdf79a325885a43e82ba13e6ccefb8eb3d733
[ "MIT" ]
null
null
null
from synbioweaver.core import * from synbioweaver.aspects.designRulesAspect import * declareNewMolecule('MoleculeA') declareNewMolecule('MoleculeB') declareNewMolecule('MoleculeAB') declareNewMolecule('GFP') # the express circuit expresses molecule A constitutively and secretes it class ExpressCircuit(Circuit): d...
30.416667
73
0.768037
113
1,095
7.442478
0.460177
0.042806
0.074911
0.08918
0.103448
0
0
0
0
0
0
0
0.155251
1,095
35
74
31.285714
0.909189
0.273059
0
0.136364
0
0
0.03939
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
28dac87f03f1d12f3b61abe122042166998e742e
388
py
Python
core/migrations/0007_auto_20190927_1036.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
6
2020-03-16T02:51:16.000Z
2020-11-10T00:58:01.000Z
core/migrations/0007_auto_20190927_1036.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
204
2019-09-19T02:00:57.000Z
2022-02-10T10:48:52.000Z
core/migrations/0007_auto_20190927_1036.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
3
2019-09-16T22:59:24.000Z
2022-03-21T22:52:44.000Z
# Generated by Django 2.2.4 on 2019-09-27 10:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0006_auto_20190927_1035'), ] operations = [ migrations.AlterField( model_name='obrasocial', name='nombre', ...
20.421053
51
0.600515
42
388
5.428571
0.833333
0
0
0
0
0
0
0
0
0
0
0.122744
0.286082
388
18
52
21.555556
0.700361
0.115979
0
0
1
0
0.1261
0.067449
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28dd4f1c9b44503ce6fe9442f6efcc1cfd910203
386
py
Python
prometheus_network_exporter/__init__.py
networkmess/prometheus-network-exporter
4e7febb7e13447fd3612e591fbb2f634f97a5101
[ "MIT" ]
11
2018-12-13T05:39:24.000Z
2022-01-07T16:59:59.000Z
prometheus_network_exporter/__init__.py
networkmess/prometheus-network-exporter
4e7febb7e13447fd3612e591fbb2f634f97a5101
[ "MIT" ]
11
2018-11-29T20:43:44.000Z
2020-11-14T22:33:50.000Z
prometheus_network_exporter/__init__.py
networkmess/prometheus-network-exporter
4e7febb7e13447fd3612e591fbb2f634f97a5101
[ "MIT" ]
2
2021-09-11T22:28:56.000Z
2021-09-11T22:43:19.000Z
import logging from typing import Dict from threading import Lock from prometheus_network_exporter.devices.basedevice import Device __version__ = "1.1.2" GLOBAL_GUARD: Lock = Lock() CONNECTION_POOL: Dict[str, Device] = {} COUNTER_DIR = ".tmp" MAX_WAIT_SECONDS_BEFORE_SHUTDOWN = 60 MAX_WORKERS = 90 APP_LOGGER = loggin...
24.125
65
0.803109
54
386
5.425926
0.685185
0.102389
0
0
0
0
0
0
0
0
0
0.020349
0.108808
386
15
66
25.733333
0.831395
0
0
0
0
0
0.064767
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
28deae71e830765362f89915607923bcbace1cde
1,021
py
Python
piano_ultrassonico/ultrassom_serial_pico.py
leandrovrabelo/brinquedos_maker
33d33ac170396558a78f36df3189ddddfc61f4d4
[ "MIT" ]
null
null
null
piano_ultrassonico/ultrassom_serial_pico.py
leandrovrabelo/brinquedos_maker
33d33ac170396558a78f36df3189ddddfc61f4d4
[ "MIT" ]
null
null
null
piano_ultrassonico/ultrassom_serial_pico.py
leandrovrabelo/brinquedos_maker
33d33ac170396558a78f36df3189ddddfc61f4d4
[ "MIT" ]
null
null
null
from machine import Pin, UART import utime acionador = Pin(3, Pin.OUT) eco = Pin(2, Pin.IN) def ultrassom(freq_min=250, freq_max=505, distancia_limite=50, pausa=0.7): # Dó (C4) tem a frequência de 261 Hz, vou usar 250 Hz como valor mínimo # Sí (B4) tem a frequência de 493 Hz, vou usar 510 Hz como valor má...
29.171429
85
0.669931
151
1,021
4.403974
0.523179
0.090226
0.108271
0.04812
0
0
0
0
0
0
0
0.046213
0.237023
1,021
34
86
30.029412
0.807445
0.247796
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.043478
false
0.086957
0.086957
0
0.130435
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
28e8001ec06d89a28df4b14ea47710ad10b4cf4a
2,720
py
Python
AndyExpress.py
hugohu/AndyJS2Plus
c52d610c78c2565bdf4ad7b5218b3af12539c1bc
[ "Apache-2.0" ]
13
2015-03-05T09:03:34.000Z
2020-12-06T10:41:57.000Z
AndyExpress.py
hugohu/AndyJS2Plus
c52d610c78c2565bdf4ad7b5218b3af12539c1bc
[ "Apache-2.0" ]
null
null
null
AndyExpress.py
hugohu/AndyJS2Plus
c52d610c78c2565bdf4ad7b5218b3af12539c1bc
[ "Apache-2.0" ]
null
null
null
import sublime, sublime_plugin compJS = [ ("req.params\treq", "req.params"), ("req.query\treq", "req.query"), ("req.body\treq", "req.body"), ("req.route\treq", "req.route"), ("req.cookies\treq", "req.cookies"), ("req.singnedCookies\treq", "req.singnedCookies"), ("req.accepts\treq", "req.acc...
43.870968
78
0.585294
327
2,720
4.834862
0.33945
0.070841
0.029096
0.032891
0.080961
0.061986
0.02024
0
0
0
0
0.009569
0.231618
2,720
62
79
43.870968
0.74689
0.043015
0
0
0
0
0.363356
0.102002
0
0
0
0
0
1
0.017241
false
0.051724
0.017241
0
0.086207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
28ea2a4d83eb24e8a5e862f00616468e3e4ec83f
1,523
py
Python
examples/example.py
keefehuang/c3
1df65bc43d891c7af77c8eff0ef8879b2fe5c3e6
[ "Apache-2.0" ]
null
null
null
examples/example.py
keefehuang/c3
1df65bc43d891c7af77c8eff0ef8879b2fe5c3e6
[ "Apache-2.0" ]
null
null
null
examples/example.py
keefehuang/c3
1df65bc43d891c7af77c8eff0ef8879b2fe5c3e6
[ "Apache-2.0" ]
null
null
null
import sys __filepath__ = "/home/ga53vuw/Documents/PhD/projects/c3" sys.path.append(__filepath__) import c3 import tensorflow as tf import numpy as np from c3.libraries.propagation import tf_propagation_lind, tf_propagation_lind_apply from c3.libraries.expm import _expm_multiply_simple from c3.utils.tf_utils import (...
33.844444
96
0.676953
253
1,523
3.865613
0.312253
0.114519
0.171779
0.143149
0.376278
0.305726
0.236196
0.236196
0.193252
0.193252
0
0.070523
0.171372
1,523
45
97
33.844444
0.704437
0.426133
0
0
0
0
0.054651
0.045349
0
0
0
0
0
1
0.045455
false
0
0.318182
0.045455
0.409091
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
28ed0cbe49b9a40bf235b2f0e29d312d0f7195eb
3,026
py
Python
Particle-On-Potential-MC-sampling/MuellerBrownPotential.py
valsson/MD-MC-Codes-2016
b1e5438313fe6fec7c1bbc8fb8ea979ce964f7dc
[ "MIT" ]
3
2016-09-30T15:27:16.000Z
2020-12-27T02:51:35.000Z
Particle-On-Potential-MC-sampling/MuellerBrownPotential.py
valsson/MD-MC-Codes-2016
b1e5438313fe6fec7c1bbc8fb8ea979ce964f7dc
[ "MIT" ]
null
null
null
Particle-On-Potential-MC-sampling/MuellerBrownPotential.py
valsson/MD-MC-Codes-2016
b1e5438313fe6fec7c1bbc8fb8ea979ce964f7dc
[ "MIT" ]
1
2020-12-27T02:51:37.000Z
2020-12-27T02:51:37.000Z
import numpy as np from collections import namedtuple class MuellerBrownPotential(object): """Mueller Brown potential.""" dimension = 2 # named tuple to store the parameters of the potential ParameterTuple = namedtuple('ParameterTuple','A a b c x0 y0') param = ParameterTuple( ...
32.191489
73
0.473562
331
3,026
4.317221
0.287009
0.016795
0.039188
0.012596
0.042687
0
0
0
0
0
0
0.071225
0.304032
3,026
93
74
32.537634
0.607312
0.155981
0
0
0
0
0.010647
0
0
0
0
0
0.016393
1
0.163934
false
0
0.032787
0.114754
0.491803
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
28f628c51a4ad2999da655e7ec7a4ca39fcf46e1
2,284
py
Python
healthtools_ec/models/surgeons.py
CodeForAfrica/healthtools-ezolwaluko
21fac3c05e15c0b1492bb4f9004bc0d9e1d8392b
[ "Apache-2.0" ]
null
null
null
healthtools_ec/models/surgeons.py
CodeForAfrica/healthtools-ezolwaluko
21fac3c05e15c0b1492bb4f9004bc0d9e1d8392b
[ "Apache-2.0" ]
1
2022-03-22T07:30:29.000Z
2022-03-22T07:30:29.000Z
healthtools_ec/models/surgeons.py
CodeForAfrica/healthtools-ezolwaluko
21fac3c05e15c0b1492bb4f9004bc0d9e1d8392b
[ "Apache-2.0" ]
1
2018-11-24T20:47:56.000Z
2018-11-24T20:47:56.000Z
from sqlalchemy import func from wtforms import SelectField, StringField, validators from ..app import db from ..forms import Form class Surgeon(db.Model): __tablename__ = "surgeons" id = db.Column(db.Integer, autoincrement=True, primary_key=True) name = db.Column(db.String(50)) id_number = db.Colum...
28.55
86
0.652364
273
2,284
5.304029
0.296703
0.066298
0.082873
0.099448
0.38674
0.334254
0.298343
0.256906
0.21547
0.21547
0
0.016147
0.21366
2,284
79
87
28.911392
0.790089
0
0
0.271186
0
0
0.050788
0
0
0
0
0
0
1
0.118644
false
0
0.067797
0.067797
0.644068
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
28f6d8a7627006883243e8ab83838dcad565e061
287
py
Python
Python3/1115.py
Di-Ca-N/URI-Online-Judge
160797b534fe8c70e719b1ea41690157dbdbb52e
[ "MIT" ]
null
null
null
Python3/1115.py
Di-Ca-N/URI-Online-Judge
160797b534fe8c70e719b1ea41690157dbdbb52e
[ "MIT" ]
null
null
null
Python3/1115.py
Di-Ca-N/URI-Online-Judge
160797b534fe8c70e719b1ea41690157dbdbb52e
[ "MIT" ]
null
null
null
a, b = map(int, input().split()) while a != 0 and b != 0: if a > 0 and b > 0: print("primeiro") elif a < 0 < b: print("segundo") elif a < 0 and b < 0: print("terceiro") elif a > 0 > b: print("quarto") a, b = map(int, input().split())
22.076923
36
0.456446
46
287
2.847826
0.347826
0.076336
0.114504
0.137405
0.694656
0.458015
0
0
0
0
0
0.043478
0.358885
287
12
37
23.916667
0.668478
0
0
0.181818
0
0
0.101045
0
0
0
0
0
0
1
0
true
0
0
0
0
0.363636
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1