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
58dbb5911e0acd46cd429c98c68298880fda9d01
799
py
Python
atp_classes/Cache.py
davidottogonzalez/Data-Fetcher
11e4f5ab34574eddb83c074aedc1bed82e975541
[ "MIT" ]
null
null
null
atp_classes/Cache.py
davidottogonzalez/Data-Fetcher
11e4f5ab34574eddb83c074aedc1bed82e975541
[ "MIT" ]
null
null
null
atp_classes/Cache.py
davidottogonzalez/Data-Fetcher
11e4f5ab34574eddb83c074aedc1bed82e975541
[ "MIT" ]
null
null
null
from werkzeug.contrib.cache import SimpleCache from functools import wraps from flask import request class Cache(object): timeout = 604800 #week cache = None def __init__(self, timeout=None): self.timeout = timeout or self.timeout self.cache = SimpleCache() def __call__(self, f): ...
27.551724
59
0.602003
97
799
4.876289
0.360825
0.116279
0.05074
0.063425
0
0
0
0
0
0
0
0.010733
0.300375
799
28
60
28.535714
0.83542
0.005006
0
0
0
0
0
0
0
0
0
0
0
1
0.217391
false
0
0.130435
0.086957
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
58ddccd3bd08cd3429caba07607cf10b7bae2f55
799
py
Python
pytracer/volume/bssrdf.py
zjiayao/pyTracer
c2b4ef299ecbdca1c519059488f7cd2438943ee4
[ "MIT" ]
9
2017-11-20T18:17:27.000Z
2022-01-27T23:00:31.000Z
pytracer/volume/bssrdf.py
zjiayao/pyTracer
c2b4ef299ecbdca1c519059488f7cd2438943ee4
[ "MIT" ]
4
2021-06-08T19:03:51.000Z
2022-03-11T23:18:44.000Z
pytracer/volume/bssrdf.py
zjiayao/pyTracer
c2b4ef299ecbdca1c519059488f7cd2438943ee4
[ "MIT" ]
1
2017-11-20T22:48:01.000Z
2017-11-20T22:48:01.000Z
""" bssrdf.py pytracer.volume package Models BSSRDF Created by Jiayao on Aug 7, 2017 Modified on Aug 14, 2017 """ from __future__ import absolute_import from pytracer import * __all__ = ['BSSRDF'] class BSSRDF(object): """ BSSRDF Class Models low-level scattering properties. Scattering computed by integrato...
18.159091
72
0.710889
118
799
4.364407
0.423729
0.038835
0.062136
0.046602
0.050485
0
0
0
0
0
0
0.018127
0.171464
799
44
73
18.159091
0.759819
0.306633
0
0.15
0
0
0.11194
0
0
0
0
0
0
1
0.25
false
0
0.1
0.2
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
1
0
0
0
1
0
0
0
2
58e1dce59df29a2e6cd19dbe6618f95d310b5e68
109
py
Python
dq-plugin/views/__init__.py
klyusba/airflow-dq-plugin
13748d18ed5a6cb3615359dff4ca07c17b263fbc
[ "MIT" ]
null
null
null
dq-plugin/views/__init__.py
klyusba/airflow-dq-plugin
13748d18ed5a6cb3615359dff4ca07c17b263fbc
[ "MIT" ]
null
null
null
dq-plugin/views/__init__.py
klyusba/airflow-dq-plugin
13748d18ed5a6cb3615359dff4ca07c17b263fbc
[ "MIT" ]
null
null
null
from demo_plugin.views.demo_view import DemoView VIEWS = [ DemoView(category='Plugins', name='Demo'), ]
18.166667
48
0.724771
14
109
5.5
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.137615
109
6
49
18.166667
0.819149
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
58e24365c59bcc5618c4cf544a65bb4c4bd8aec3
391
py
Python
alembic/versions/0ff7fe2828a5_initial_revision.py
msehnout/fabric8-analytics-server
779b8e1d596c03e4b3125e024ec751167348d960
[ "Apache-2.0" ]
null
null
null
alembic/versions/0ff7fe2828a5_initial_revision.py
msehnout/fabric8-analytics-server
779b8e1d596c03e4b3125e024ec751167348d960
[ "Apache-2.0" ]
null
null
null
alembic/versions/0ff7fe2828a5_initial_revision.py
msehnout/fabric8-analytics-server
779b8e1d596c03e4b3125e024ec751167348d960
[ "Apache-2.0" ]
null
null
null
"""Initial revision. Revision ID: 0ff7fe2828a5 Revises: Create Date: 2016-05-05 16:04:31.142857 """ # revision identifiers, used by Alembic. revision = '0ff7fe2828a5' down_revision = None branch_labels = None depends_on = None def upgrade(): """Upgrade the database to a newer revision.""" pass def downgr...
16.291667
54
0.703325
51
391
5.333333
0.666667
0.080882
0.095588
0
0
0
0
0
0
0
0
0.106583
0.184143
391
23
55
17
0.746082
0.56266
0
0.25
0
0
0.078431
0
0
0
0
0
0
1
0.25
false
0.25
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
58e3ebe16a41bbd1200eecadb12396029fd3873c
221
py
Python
tests/fixtures/__init__.py
ForroKulcs/bugsnag-python
107c1add31a2202cc08ef944aa00ab96996b247a
[ "MIT" ]
76
2015-03-01T11:46:57.000Z
2022-02-18T10:57:44.000Z
tests/fixtures/__init__.py
ForroKulcs/bugsnag-python
107c1add31a2202cc08ef944aa00ab96996b247a
[ "MIT" ]
119
2015-01-14T11:53:08.000Z
2022-03-30T08:22:50.000Z
tests/fixtures/__init__.py
ForroKulcs/bugsnag-python
107c1add31a2202cc08ef944aa00ab96996b247a
[ "MIT" ]
46
2015-02-09T23:50:57.000Z
2022-01-06T16:04:40.000Z
# flake8: noqa try: import sys; raise Exception("start") except Exception: start_of_file = sys.exc_info() # 4 # 5 # 6 # 7 # 8 try: import sys; raise Exception("end") except Exception: end_of_file = sys.exc_info()
17
48
0.683258
35
221
4.142857
0.542857
0.124138
0.165517
0.234483
0.57931
0
0
0
0
0
0
0.033333
0.18552
221
12
49
18.416667
0.772222
0.099548
0
0.333333
0
0
0.041667
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
58f449ff0f3bc31cfb5bd6aa6090bb41ff748ea7
385
py
Python
workalendar/usa/south_dakota.py
vanadium23/workalendar
4c67b5a7900fa56d7a93b767c6cbd8f1cc6b70a7
[ "MIT" ]
null
null
null
workalendar/usa/south_dakota.py
vanadium23/workalendar
4c67b5a7900fa56d7a93b767c6cbd8f1cc6b70a7
[ "MIT" ]
null
null
null
workalendar/usa/south_dakota.py
vanadium23/workalendar
4c67b5a7900fa56d7a93b767c6cbd8f1cc6b70a7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from .core import UnitedStates class SouthDakota(UnitedStates): """South Dakota""" columbus_day_label = "Native Americans Day" # NOTE: South Dakota has all federal holidays, e...
27.5
67
0.701299
46
385
5.673913
0.73913
0.084291
0.137931
0
0
0
0
0
0
0
0
0.003279
0.207792
385
13
68
29.615385
0.852459
0.374026
0
0
0
0
0.085837
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
58f4d3cab404598273da016fe5f53273b94419b8
161
py
Python
ger/TTP/SV2/1889.py
aLagoG/kygerand
0991cf5d5c3d49f4602b6992d4e3bdec8e27898e
[ "MIT" ]
1
2017-09-16T04:05:31.000Z
2017-09-16T04:05:31.000Z
ger/TTP/SV2/1889.py
aLagoG/kygerand
0991cf5d5c3d49f4602b6992d4e3bdec8e27898e
[ "MIT" ]
9
2017-01-25T19:34:38.000Z
2020-07-27T17:02:09.000Z
ger/TTP/SV2/1889.py
aLagoG/kygerand
0991cf5d5c3d49f4602b6992d4e3bdec8e27898e
[ "MIT" ]
null
null
null
import math c = [] for i in xrange(input()): c.append(input()) c.sort(reverse=True) summ = 0 for i in range(10): summ += c[i] print "%.4f" % (summ/(2*math.pi))
17.888889
33
0.608696
31
161
3.16129
0.645161
0.081633
0.122449
0
0
0
0
0
0
0
0
0.037037
0.161491
161
9
33
17.888889
0.688889
0
0
0
0
0
0.024691
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
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
1
0
0
0
0
0
0
0
0
2
4504a16f518b2406c85f5fdce1eccfa5ea4eceb5
3,566
py
Python
lib/markdown/blockparser.py
ParadiseDS/sublimetext-markdown-slideshow
b2bb2600e373341ccb9f8a0ba9ad2b799ab5b380
[ "MIT" ]
476
2015-01-07T08:59:53.000Z
2022-02-11T09:46:06.000Z
lib/markdown/blockparser.py
ParadiseDS/sublimetext-markdown-slideshow
b2bb2600e373341ccb9f8a0ba9ad2b799ab5b380
[ "MIT" ]
82
2015-01-15T12:30:43.000Z
2022-01-06T02:56:53.000Z
lib/markdown/blockparser.py
ParadiseDS/sublimetext-markdown-slideshow
b2bb2600e373341ccb9f8a0ba9ad2b799ab5b380
[ "MIT" ]
99
2015-01-14T19:53:45.000Z
2021-08-11T15:17:26.000Z
from __future__ import unicode_literals from __future__ import absolute_import from . import util from . import odict class State(list): """ Track the current and nested state of the parser. This utility class is used to track the state of the BlockParser and support multiple levels if nesting. It's...
35.66
81
0.642737
481
3,566
4.733888
0.363825
0.015371
0.011858
0.018445
0.072903
0.061484
0.034256
0.034256
0.034256
0
0
0.000796
0.295569
3,566
99
82
36.020202
0.905653
0.574593
0
0
0
0
0.005
0
0
0
0
0
0
1
0.225806
false
0
0.129032
0
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4508a82fdf608542bde43fc54dac76419a0511ba
639
py
Python
GTComex/dbReader.py
Conpancol/PyDBExperiments
b9d5509ab631e39d70b48ae20050b392f00770a3
[ "Apache-2.0" ]
null
null
null
GTComex/dbReader.py
Conpancol/PyDBExperiments
b9d5509ab631e39d70b48ae20050b392f00770a3
[ "Apache-2.0" ]
null
null
null
GTComex/dbReader.py
Conpancol/PyDBExperiments
b9d5509ab631e39d70b48ae20050b392f00770a3
[ "Apache-2.0" ]
null
null
null
from CountryData import Country from CountryData import Data from pymongo import MongoClient from Utilities import * import csv import json import copy client = MongoClient('localhost', 27017) db = client.conpancol collection = db.gtcomex cursor = collection.find({"type": "Impo-Origen", "year" : 2017}) sulfonico = "...
19.363636
110
0.649452
79
639
5.253165
0.556962
0.072289
0.101205
0
0
0
0
0
0
0
0
0.055666
0.212833
639
32
111
19.96875
0.769384
0
0
0
0
0
0.148499
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
451534107473346c2c67c007413239d01e7c57dc
242
py
Python
message/tele.py
madgd/workdivision
a02d2954a44553c5996e866214d1587155bf4bff
[ "Apache-2.0" ]
null
null
null
message/tele.py
madgd/workdivision
a02d2954a44553c5996e866214d1587155bf4bff
[ "Apache-2.0" ]
null
null
null
message/tele.py
madgd/workdivision
a02d2954a44553c5996e866214d1587155bf4bff
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """ @author: madgd @license: (C) Copyright 2020-2021 madgd. All Rights Reserved. @contact: madgdtju@gmail.com @software: @file: tele.py @time: 2021/5/27 11:31 上午 @desc: """
20.166667
65
0.607438
34
242
4.323529
0.941176
0
0
0
0
0
0
0
0
0
0
0.107527
0.231405
242
11
66
22
0.682796
0.834711
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
45184fbadf93f8b34127c7e9e7147eb5069a05df
155
py
Python
utils/data_utils.py
kingyoungfan/v-mall-api
86ff05608162f6127d8af59c556ef5586bad8f68
[ "MIT" ]
null
null
null
utils/data_utils.py
kingyoungfan/v-mall-api
86ff05608162f6127d8af59c556ef5586bad8f68
[ "MIT" ]
null
null
null
utils/data_utils.py
kingyoungfan/v-mall-api
86ff05608162f6127d8af59c556ef5586bad8f68
[ "MIT" ]
null
null
null
#coding:utf-8 import time dt = "2021-09-25 22:28:54" #转换为时间数组 timeArray = time.strptime(dt, "%Y-%m-%d %H%M%S") #转换为时间戳 timestamp = time.mktime(timeArray)
17.222222
48
0.683871
28
155
3.785714
0.821429
0
0
0
0
0
0
0
0
0
0
0.109489
0.116129
155
9
49
17.222222
0.664234
0.16129
0
0
0
0
0.265625
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4537592ea858e0621bcd6a0092818fa69f95cb2b
15,275
py
Python
chapter6/src/main/python/test_sport_tracker.py
neppel-backup/Building-Big-Data-Pipelines-with-Apache-Beam
77c86f2f983ecf55ff128bb51507802f27671d81
[ "ECL-2.0", "Apache-2.0" ]
21
2021-04-28T15:08:00.000Z
2022-03-24T07:28:59.000Z
chapter6/src/main/python/test_sport_tracker.py
neppel-backup/Building-Big-Data-Pipelines-with-Apache-Beam
77c86f2f983ecf55ff128bb51507802f27671d81
[ "ECL-2.0", "Apache-2.0" ]
3
2022-01-25T17:13:47.000Z
2022-03-14T07:19:15.000Z
chapter6/src/main/python/test_sport_tracker.py
neppel-backup/Building-Big-Data-Pipelines-with-Apache-Beam
77c86f2f983ecf55ff128bb51507802f27671d81
[ "ECL-2.0", "Apache-2.0" ]
23
2021-05-13T09:39:32.000Z
2022-03-30T23:35:38.000Z
import unittest from sport_tracker import SportTrackerCalc import apache_beam as beam from apache_beam.options.pipeline_options import PipelineOptions from apache_beam.testing.test_stream import TestStream from apache_beam.testing.util import assert_that from apache_beam.testing.util import equal_to class TestSportTr...
69.431818
80
0.701408
1,463
15,275
7.305537
0.438141
0.104135
0.133888
0.005894
0.005801
0.005801
0
0
0
0
0
0.686191
0.124845
15,275
219
81
69.748858
0.11333
0
0
0
0
0
0.079935
0
0
0
0
0
0.009346
1
0.004673
false
0
0.03271
0
0.046729
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1885a32a70dcd26438383033ea07b4cd97a874bb
10,960
py
Python
autobahn/wamp/gen/wamp/proto/Invocation.py
klinquist/autobahn-python
2466c2b4a666c49bb3ccd50502a3c49e07b378ec
[ "MIT" ]
null
null
null
autobahn/wamp/gen/wamp/proto/Invocation.py
klinquist/autobahn-python
2466c2b4a666c49bb3ccd50502a3c49e07b378ec
[ "MIT" ]
3
2019-07-10T12:37:53.000Z
2021-12-07T14:14:56.000Z
autobahn/wamp/gen/wamp/proto/Invocation.py
klinquist/autobahn-python
2466c2b4a666c49bb3ccd50502a3c49e07b378ec
[ "MIT" ]
4
2019-03-01T14:57:06.000Z
2022-01-06T16:31:10.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: proto import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class Invocation(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf, offset=0): n = flatbuffers.encode.Get(fla...
42.645914
156
0.707938
1,256
10,960
6.067675
0.129777
0.051437
0.124131
0.146962
0.525259
0.5124
0.470542
0.394174
0.383545
0.363732
0
0.016002
0.190328
10,960
257
157
42.645914
0.842799
0.134215
0
0.38587
1
0
0.000427
0
0
0
0
0
0
1
0.342391
false
0
0.021739
0.021739
0.711957
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
188f78e6f00b498c6fe1b94ff5a6f71a18f077d8
1,535
py
Python
vmad/lib/binary.py
VMBoehm/vmad
3aeb57a43de10e146756f074cca7f77f210e3e74
[ "BSD-2-Clause" ]
null
null
null
vmad/lib/binary.py
VMBoehm/vmad
3aeb57a43de10e146756f074cca7f77f210e3e74
[ "BSD-2-Clause" ]
null
null
null
vmad/lib/binary.py
VMBoehm/vmad
3aeb57a43de10e146756f074cca7f77f210e3e74
[ "BSD-2-Clause" ]
null
null
null
from vmad import operator from vmad.core.symbol import Literal, ZeroLiteral from vmad.core.symbol import Symbol import numpy class binary_ufunc: ain = 'x1', 'x2' aout = 'y' @staticmethod def f(x1, x2): return x1 @staticmethod def fprime1(x1, x2): return 1 @staticmethod def fprime2(x1...
19.679487
67
0.588925
201
1,535
4.432836
0.179104
0.130191
0.157127
0.06734
0.735129
0.681257
0.462402
0.462402
0.457912
0.316498
0
0.073352
0.298371
1,535
77
68
19.935065
0.753946
0
0
0.448276
0
0
0.003259
0
0
0
0
0
0
1
0.258621
false
0
0.068966
0.258621
0.637931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
18a101744631bad0cf17d9b315feb1508157bfaa
1,125
py
Python
sistemaDeGestaoDeServicosPublicos/Chamados/forms.py
deyviddalbem/TrabalhoDeConclusaoDeCurso
4375843b6cbaccbc5822c20711b4ee3ecd6112d4
[ "MIT" ]
null
null
null
sistemaDeGestaoDeServicosPublicos/Chamados/forms.py
deyviddalbem/TrabalhoDeConclusaoDeCurso
4375843b6cbaccbc5822c20711b4ee3ecd6112d4
[ "MIT" ]
7
2020-02-12T02:27:44.000Z
2022-02-10T14:04:54.000Z
sistemaDeGestaoDeServicosPublicos/Chamados/forms.py
deyviddalbem/TrabalhoDeConclusaoDeCurso
4375843b6cbaccbc5822c20711b4ee3ecd6112d4
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from .models import Orgao, TipoChamado, Status, OcorrenciasChamado, Chamado class CadastroTiposChamadosForm(forms.ModelForm): class Meta: model = TipoChamado fields = '__all_...
28.125
104
0.691556
103
1,125
7.281553
0.330097
0.130667
0.177333
0.214667
0.424
0.386667
0.386667
0.386667
0.269333
0
0
0
0.224889
1,125
40
104
28.125
0.860092
0
0
0.606061
0
0
0.098579
0
0
0
0
0
0
1
0
false
0
0.121212
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
18a23f5c7d78d1d7188add03b7675c6a33df25b0
1,461
py
Python
manga_py/providers/littlexgarden_com.py
Abijithkrishna/manga-py
03b142ecb944ef37a36e5095ffa580209021e3b0
[ "MIT" ]
null
null
null
manga_py/providers/littlexgarden_com.py
Abijithkrishna/manga-py
03b142ecb944ef37a36e5095ffa580209021e3b0
[ "MIT" ]
null
null
null
manga_py/providers/littlexgarden_com.py
Abijithkrishna/manga-py
03b142ecb944ef37a36e5095ffa580209021e3b0
[ "MIT" ]
null
null
null
from manga_py.provider import Provider from .helpers.std import Std class LittleXGardenCom(Provider, Std): __images_webroot = 'https://littlexgarden.com/static/images/' def get_chapter_index(self) -> str: return self.re.search(r'\.\w{2,5}/[^/]+/(\d+)', self.chapter).group(1) def get_content(self...
30.4375
108
0.607803
200
1,461
4.21
0.37
0.035629
0.023753
0.017815
0.127078
0.089074
0.022565
0.022565
0.022565
0.022565
0
0.019643
0.233402
1,461
47
109
31.085106
0.732143
0
0
0
0
0.03125
0.197125
0.113621
0
0
0
0
0
1
0.1875
false
0
0.0625
0.125
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
18b1851688a1d09f1c5ef907d4ddab7006865932
534
py
Python
domain/events.py
BlooAM/Online-shopping-app
aa68d258fe32bf5a792e534dddd9def7c25460e2
[ "MIT" ]
null
null
null
domain/events.py
BlooAM/Online-shopping-app
aa68d258fe32bf5a792e534dddd9def7c25460e2
[ "MIT" ]
null
null
null
domain/events.py
BlooAM/Online-shopping-app
aa68d258fe32bf5a792e534dddd9def7c25460e2
[ "MIT" ]
null
null
null
from datetime import date from dataclasses import dataclass from typing import Optional class Event: pass @dataclass class Allocated(Event): orderid: str sku: str qty: int batchref: str @dataclass class BatchCreated(Event): ref: str sku: str qty: int eta: Optional[date] = None ...
12.714286
34
0.681648
65
534
5.6
0.384615
0.192308
0.098901
0.098901
0.291209
0.148352
0.148352
0
0
0
0
0
0.247191
534
41
35
13.02439
0.905473
0
0
0.586207
0
0
0
0
0
0
0
0
0
1
0
true
0.034483
0.103448
0
0.793103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
18b842c9bcb7e2dcdf6fd98d56862b05e91a97ad
1,532
py
Python
setup.py
winsbe01/roku-tui
763f45b98114e0c3d136a11f84b14730688432c1
[ "Apache-2.0" ]
null
null
null
setup.py
winsbe01/roku-tui
763f45b98114e0c3d136a11f84b14730688432c1
[ "Apache-2.0" ]
null
null
null
setup.py
winsbe01/roku-tui
763f45b98114e0c3d136a11f84b14730688432c1
[ "Apache-2.0" ]
null
null
null
from setuptools import setup from pathlib import Path here = Path(__file__).parent.resolve() long_description = (here / "README.md").read_text(encoding="utf-8") setup(name="roku-tui", version="0.1.0", description="A TUI remote for Roku", long_description=long_description, long_descrip...
35.627907
67
0.555483
153
1,532
5.437909
0.568627
0.159856
0.210337
0.21875
0.069712
0.069712
0
0
0
0
0
0.024299
0.301567
1,532
42
68
36.47619
0.753271
0
0
0.051282
0
0
0.469974
0.016319
0
0
0
0
0
1
0
false
0
0.051282
0
0.051282
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
18bb0e1b66e9795038ba320e1fa82f0035f98a98
1,356
py
Python
tests/bpyutils/util/test_array.py
achillesrasquinha/bpyutils
84bbbf1dc37629413fbc14b909188a54995e95a1
[ "MIT" ]
1
2022-02-01T04:50:22.000Z
2022-02-01T04:50:22.000Z
tests/bpyutils/util/test_array.py
achillesrasquinha/bpyutils
84bbbf1dc37629413fbc14b909188a54995e95a1
[ "MIT" ]
2
2021-12-07T10:40:44.000Z
2021-12-23T13:42:07.000Z
tests/bpyutils/util/test_array.py
achillesrasquinha/bpyutils
84bbbf1dc37629413fbc14b909188a54995e95a1
[ "MIT" ]
null
null
null
# imports - module imports from bpyutils.util.array import ( compact, squash, flatten, sequencify ) # imports - test imports import pytest def test_compat(): assert compact([1, 2, None]) == [1, 2] assert compact([1, 2]) == [1, 2] assert c...
33.073171
73
0.504425
162
1,356
4.160494
0.179012
0.05638
0.035608
0.089021
0.323442
0.267062
0.120178
0.065282
0
0
0
0.056075
0.289823
1,356
41
74
33.073171
0.643821
0.034661
0
0
0
0
0.045907
0
0
0
0
0
0.625
1
0.125
true
0
0.0625
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
2
18bd2749b3dce26316f727753cf1179c2a5f4a7a
212
py
Python
images/core/context/free5gc/lib/nextepc/nas/support/cache/nas_msg_67.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-02-22T07:19:59.000Z
2022-02-22T07:19:59.000Z
images/core/context/free5gc/lib/nextepc/nas/support/cache/nas_msg_67.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-01-15T20:26:01.000Z
2022-01-15T20:26:01.000Z
images/core/context/free5gc/lib/nextepc/nas/support/cache/nas_msg_67.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-01-07T18:49:10.000Z
2022-01-07T18:49:10.000Z
ies = [] ies.append({ "iei" : "", "value" : "ESM message container", "type" : "ESM message container", "reference" : "9.9.3.15", "presence" : "M", "format" : "LV-E", "length" : "5-n"}) msg_list[key]["ies"] = ies
53
175
0.561321
30
212
3.933333
0.766667
0.101695
0.322034
0
0
0
0
0
0
0
0
0.033333
0.150943
212
3
176
70.666667
0.622222
0
0
0
0
0
0.481132
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
18bf64ec54392e168f01540e3ee3e3c14ec5efd9
1,624
py
Python
lib/galaxy/job_metrics/collectl/subsystems.py
lawrence14701/galaxy
7eb2fcb708e7b63e17800c87613ddfa5497c0654
[ "CC-BY-3.0" ]
17
2015-12-23T18:28:55.000Z
2020-12-21T13:01:21.000Z
lib/galaxy/job_metrics/collectl/subsystems.py
lawrence14701/galaxy
7eb2fcb708e7b63e17800c87613ddfa5497c0654
[ "CC-BY-3.0" ]
72
2015-12-23T16:58:40.000Z
2020-07-23T18:01:43.000Z
lib/galaxy/job_metrics/collectl/subsystems.py
lawrence14701/galaxy
7eb2fcb708e7b63e17800c87613ddfa5497c0654
[ "CC-BY-3.0" ]
24
2015-12-20T22:59:40.000Z
2020-01-10T05:34:50.000Z
"""Abstractions describing collectl subsystems (specified with the collectl ``-s`` parameter). Subsystems are essentially monitoring plugins available within collectl. """ from abc import ( ABCMeta, abstractmethod ) import six @six.add_metaclass(ABCMeta) class CollectlSubsystem(object): """ Class provid...
19.804878
94
0.682882
163
1,624
6.638037
0.478528
0.091497
0.103512
0.171904
0
0
0
0
0
0
0
0
0.211207
1,624
81
95
20.049383
0.844653
0.2617
0
0.093023
0
0
0.049393
0
0
0
0
0
0
1
0.069767
false
0
0.046512
0
0.581395
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
18d7c0b797606f66ec9b4c8084f24c0ea54c953c
251
py
Python
Modules/08.TestingAndCI/bsearch.py
lhain08/CSCI-4470-OpenSource
7a4cac2a0f4e44f68132092cb7002ca504023dec
[ "BSD-2-Clause", "CC-BY-4.0" ]
27
2019-01-11T17:09:41.000Z
2019-10-02T18:28:25.000Z
Modules/08.TestingAndCI/bsearch.py
lhain08/CSCI-4470-OpenSource
7a4cac2a0f4e44f68132092cb7002ca504023dec
[ "BSD-2-Clause", "CC-BY-4.0" ]
6
2021-01-16T18:58:40.000Z
2022-03-04T17:52:33.000Z
Modules/08.TestingAndCI/bsearch.py
lhain08/CSCI-4470-OpenSource
7a4cac2a0f4e44f68132092cb7002ca504023dec
[ "BSD-2-Clause", "CC-BY-4.0" ]
62
2019-01-15T17:52:44.000Z
2020-04-13T16:30:13.000Z
def bsearch(a,x): n = len(a) i = 0 j = n-1 while (i <= j): mid = i+(j-i)/2 if (a[mid] == x): return(1) if (a[mid]<x): i = mid+1 else: j = mid -1 return(0)
13.944444
25
0.310757
39
251
2
0.410256
0.051282
0.153846
0.179487
0
0
0
0
0
0
0
0.057851
0.517928
251
17
26
14.764706
0.586777
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
0
0
0
0
null
0
0
1
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
2
18d8c1167d2dbebca8c1aa4272b2c7eb14c68c74
2,387
py
Python
ooobuild/lo/embed/document_closer.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/embed/document_closer.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/embed/document_closer.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
41.155172
369
0.741517
337
2,387
5.142433
0.525223
0.024235
0.040392
0.025967
0.042701
0.023081
0
0
0
0
0
0.021638
0.186845
2,387
57
370
41.877193
0.8712
0.724759
0
0
0
0
0.16171
0.061338
0
0
0
0
0
1
0.083333
false
0
0.333333
0
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
1
0
1
0
0
2
18e1d1ac6359dd7976ab0127965522b6dee59b47
222
py
Python
tests/unittests/http_functions/return_http_redirect/main.py
yojagad/azure-functions-python-worker
d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9
[ "MIT" ]
null
null
null
tests/unittests/http_functions/return_http_redirect/main.py
yojagad/azure-functions-python-worker
d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9
[ "MIT" ]
null
null
null
tests/unittests/http_functions/return_http_redirect/main.py
yojagad/azure-functions-python-worker
d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9
[ "MIT" ]
null
null
null
import azure.functions as azf def main(req: azf.HttpRequest): location = 'return_http?code={}'.format(req.params['code']) return azf.HttpResponse( status_code=302, headers={'location': location})
24.666667
63
0.671171
27
222
5.444444
0.703704
0
0
0
0
0
0
0
0
0
0
0.016575
0.184685
222
8
64
27.75
0.79558
0
0
0
0
0
0.13964
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7a070fbc9b56c7e7012c85d54c1fc2e9a1012f42
9,608
py
Python
CRYSTAL/crystal_modes_gen.py
permanentchange/raman-sc
909c8d879dd97f118860e2a3a4edae2aa03f02b5
[ "MIT" ]
1
2021-01-30T12:38:07.000Z
2021-01-30T12:38:07.000Z
CRYSTAL/crystal_modes_gen.py
permanentchange/raman-sc
909c8d879dd97f118860e2a3a4edae2aa03f02b5
[ "MIT" ]
null
null
null
CRYSTAL/crystal_modes_gen.py
permanentchange/raman-sc
909c8d879dd97f118860e2a3a4edae2aa03f02b5
[ "MIT" ]
1
2021-05-10T01:38:30.000Z
2021-05-10T01:38:30.000Z
#!/usr/bin/env python # # Helper script to generate Eigenvectors/Eigenvalues from CRYSTAL output # # Contributors: Alexandr Fonari (Georgia Tech) # MIT license, 2013 # # from __future__ import division # def jacobi(ainput): # from NWChem/contrib/python/mathutil.py # possible need to rewrite due to licensing iss...
34.938182
166
0.448793
1,246
9,608
3.377207
0.205457
0.054895
0.025665
0.047053
0.389021
0.32058
0.2702
0.239068
0.165875
0.112643
0
0.03479
0.392694
9,608
274
167
35.065693
0.686375
0.134471
0
0.35
1
0.005
0.133715
0.00657
0
0
0
0
0.01
0
null
null
0.005
0.025
null
null
0.045
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
7a1f41ebaf0e157df7104f63fb4682a33346a7bf
9,311
py
Python
helloWorld/helloWorldApp/views.py
brentde/redditClone
f3e750c3a595fa446491c84191a8517855448917
[ "MIT" ]
null
null
null
helloWorld/helloWorldApp/views.py
brentde/redditClone
f3e750c3a595fa446491c84191a8517855448917
[ "MIT" ]
12
2020-06-05T23:56:42.000Z
2022-02-10T12:10:27.000Z
helloWorld/helloWorldApp/views.py
brentde/redditClone
f3e750c3a595fa446491c84191a8517855448917
[ "MIT" ]
1
2019-10-22T06:38:30.000Z
2019-10-22T06:38:30.000Z
# STEP 4, create view from django.shortcuts import render, redirect from django.http import HttpResponse, JsonResponse from django.views.decorators.csrf import csrf_exempt from django.contrib.auth.decorators import login_required from django.contrib.auth import logout # from django.contrib.auth.models import User fro...
34.872659
203
0.621738
1,066
9,311
5.266417
0.160413
0.083363
0.057535
0.037406
0.735839
0.703598
0.693267
0.665123
0.65016
0.627538
0
0.004251
0.241972
9,311
267
204
34.872659
0.791159
0.492536
0
0.644068
0
0
0.091405
0.005672
0
0
0
0
0
1
0.042373
false
0
0.059322
0
0.177966
0.008475
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e138162285aacd59372c632ae353614f9b27f670
2,013
py
Python
src/main/python/systemds/operator/algorithm/builtin/multiLogRegPredict.py
TMaddox/systemds
191215a1e49580686120834737992874b8a854b7
[ "Apache-2.0" ]
null
null
null
src/main/python/systemds/operator/algorithm/builtin/multiLogRegPredict.py
TMaddox/systemds
191215a1e49580686120834737992874b8a854b7
[ "Apache-2.0" ]
null
null
null
src/main/python/systemds/operator/algorithm/builtin/multiLogRegPredict.py
TMaddox/systemds
191215a1e49580686120834737992874b8a854b7
[ "Apache-2.0" ]
1
2021-02-24T22:50:06.000Z
2021-02-24T22:50:06.000Z
# ------------------------------------------------------------- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you unde...
41.9375
214
0.711376
259
2,013
5.436293
0.532819
0.042614
0.027699
0.022727
0
0
0
0
0
0
0
0.002927
0.151515
2,013
48
215
41.9375
0.821429
0.615499
0
0
0
0
0.029086
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e13ec8142a0ba136085cc359f08fa69eca325d80
881
py
Python
tests/model.py
isabella232/AutoOpt
5f2b096d216ebda45f757dd91a51369a927439fd
[ "Apache-2.0" ]
null
null
null
tests/model.py
isabella232/AutoOpt
5f2b096d216ebda45f757dd91a51369a927439fd
[ "Apache-2.0" ]
1
2021-02-24T03:08:17.000Z
2021-02-24T03:08:17.000Z
tests/model.py
isabella232/AutoOpt
5f2b096d216ebda45f757dd91a51369a927439fd
[ "Apache-2.0" ]
null
null
null
""" Copyright 2019 eBay Inc. Developers/Architects: Selcuk Kopru, Tomer Lancewicki 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 a...
32.62963
72
0.737798
137
881
4.678832
0.656934
0.093604
0.040562
0.049922
0
0
0
0
0
0
0
0.016644
0.181612
881
26
73
33.884615
0.872399
0.682179
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
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
1
0
0
0
0
1
0
0
2
e1447d75ac533a8c3341f4fc03d496fcddddbf21
10,317
py
Python
src/spaceone/inventory/model/bigquery/data.py
xellos00/plugin-google-cloud-services
93d1486cbfc18280395cbd19b2aba19fc20b5627
[ "Apache-2.0" ]
null
null
null
src/spaceone/inventory/model/bigquery/data.py
xellos00/plugin-google-cloud-services
93d1486cbfc18280395cbd19b2aba19fc20b5627
[ "Apache-2.0" ]
null
null
null
src/spaceone/inventory/model/bigquery/data.py
xellos00/plugin-google-cloud-services
93d1486cbfc18280395cbd19b2aba19fc20b5627
[ "Apache-2.0" ]
null
null
null
from schematics import Model from schematics.types import ModelType, ListType, StringType, IntType, DateTimeType, BooleanType, FloatType, DictType, UnionType, MultiType class Labels(Model): key = StringType() value = StringType() class View(Model): use_legacy_sql = BooleanType(deserialize_from='useLegac...
47.543779
185
0.79306
1,102
10,317
7.099819
0.19147
0.142894
0.186861
0.24182
0.478655
0.327326
0.286299
0.192485
0.179448
0.164622
0
0
0.114084
10,317
216
186
47.763889
0.856018
0
0
0.214724
0
0.006135
0.105166
0.014248
0
0
0
0
0
1
0.006135
false
0
0.01227
0.006135
0.981595
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e14c815d3da27fd3469dae19b367fcb3076c87ce
98
py
Python
settings.py
diraol/kytos-topology
3606c7baa557e40d51b562f11e1698c0059d0ed1
[ "MIT" ]
null
null
null
settings.py
diraol/kytos-topology
3606c7baa557e40d51b562f11e1698c0059d0ed1
[ "MIT" ]
3
2017-10-04T20:12:27.000Z
2017-10-10T19:58:06.000Z
settings.py
diraol/kytos-topology
3606c7baa557e40d51b562f11e1698c0059d0ed1
[ "MIT" ]
null
null
null
#: This is the Path to a json file to be preloaded during napp startup PRELOAD_TOPOLOGY_PATH=None
32.666667
70
0.806122
18
98
4.277778
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.163265
98
2
71
49
0.939024
0.704082
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e14eb3e3e85ef5a2e22fe86a3854bdc5034ef90e
3,688
py
Python
src/utils/middlewares/validation_handler.py
vmgabriel/daga-upload-file-service
9366df4c9ef5cbcfcbfbe1f32c2aca5500361b92
[ "MIT" ]
null
null
null
src/utils/middlewares/validation_handler.py
vmgabriel/daga-upload-file-service
9366df4c9ef5cbcfcbfbe1f32c2aca5500361b92
[ "MIT" ]
null
null
null
src/utils/middlewares/validation_handler.py
vmgabriel/daga-upload-file-service
9366df4c9ef5cbcfcbfbe1f32c2aca5500361b92
[ "MIT" ]
null
null
null
# develop: vmgabriel import functools, jwt, datetime from flask import jsonify from src.config.server import configuration as conf def compose(*functions): return functools.reduce(lambda f, g: lambda x: f(g(x)), functions, lambda x: x) def get_jwt(cookie): """Decode a Flask cookie.""" def delete_first...
28.8125
84
0.602495
473
3,688
4.5074
0.245243
0.022983
0.039869
0.022514
0.173546
0.077392
0.0394
0.0394
0.0394
0
0
0.018896
0.268167
3,688
127
85
29.03937
0.771026
0.044469
0
0.048193
0
0
0.077055
0
0
0
0
0
0
1
0.204819
false
0
0.036145
0.144578
0.554217
0.024096
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
e1520d9bc3c460c764693c2043a47136ffd637fc
1,968
py
Python
reversi/examples/06_table_strategy.py
y-tetsu/othello
73eabfe22d6b44bbfa0b436e6287e3e7356620f4
[ "MIT" ]
10
2020-07-24T22:04:51.000Z
2022-03-25T06:09:48.000Z
reversi/examples/06_table_strategy.py
y-tetsu/othello
73eabfe22d6b44bbfa0b436e6287e3e7356620f4
[ "MIT" ]
12
2021-04-30T09:53:18.000Z
2022-02-25T04:16:02.000Z
reversi/examples/06_table_strategy.py
y-tetsu/othello
73eabfe22d6b44bbfa0b436e6287e3e7356620f4
[ "MIT" ]
1
2021-11-25T13:12:32.000Z
2021-11-25T13:12:32.000Z
"""Table Strategy This is a example of table reversi strategy. In the <strategy.Table>, the evaluation value is calculated by multiplying the weighted table on the board and the disk on the board. The highest one will be chosen next move. Arg: corner : corner weight c : c wei...
31.238095
85
0.287602
175
1,968
3.234286
0.302857
0.028269
0.035336
0.038869
0.233216
0.233216
0.233216
0.233216
0
0
0
0.067977
0.379573
1,968
62
86
31.741935
0.395577
0.760671
0
0
0
0
0.015244
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
e168c118a4f247c9096a3a9ce01f18671b20ae0a
961
py
Python
program/client/user.py
Addision/ProtoExcelTool
17eaa08c08312e59c5a8f6114a121177ca65508a
[ "MIT" ]
null
null
null
program/client/user.py
Addision/ProtoExcelTool
17eaa08c08312e59c5a8f6114a121177ca65508a
[ "MIT" ]
null
null
null
program/client/user.py
Addision/ProtoExcelTool
17eaa08c08312e59c5a8f6114a121177ca65508a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : user.py @Time : 2022/03/09 16:27:32 @Author : Felix @Version : 1.0 @Contact : laijia2008@126.com @License : (C)Copyright 2021-2025, Felix&Lai @Desc : 保存user信息 ''' # here put the import lib class Role(object): def __init__(self):...
21.355556
46
0.550468
116
961
4.465517
0.586207
0.169884
0.07529
0.098456
0.081081
0
0
0
0
0
0
0.060748
0.331946
961
44
47
21.840909
0.744548
0.07076
0
0.259259
0
0
0.018841
0
0
0
0
0
0
0
null
null
0.148148
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
e18a9b8d2e942043ade0bf0c5d42514a24e4e3b9
283
py
Python
OOP Terms/Encapsulation.py
Alperencode/Python
6cd1ce6afb76011ec25d567a988367f8522e7461
[ "MIT" ]
1
2022-03-07T18:57:40.000Z
2022-03-07T18:57:40.000Z
OOP Terms/Encapsulation.py
Alperencode/Python
6cd1ce6afb76011ec25d567a988367f8522e7461
[ "MIT" ]
null
null
null
OOP Terms/Encapsulation.py
Alperencode/Python
6cd1ce6afb76011ec25d567a988367f8522e7461
[ "MIT" ]
null
null
null
#%% class Car: def __init__(self): self.__speed = 0 def setSpeed(self,speed): self.__speed = speed def getSpeed(self): return self.__speed x = Car() print("First speed:",x.getSpeed()) x.setSpeed(100) print("Secon speed:",x.getSpeed())
13.47619
34
0.590106
36
283
4.361111
0.416667
0.229299
0.178344
0
0
0
0
0
0
0
0
0.019048
0.257951
283
20
35
14.15
0.728571
0.007067
0
0
0
0
0.086331
0
0
0
0
0
0
1
0.272727
false
0
0
0.090909
0.454545
0.181818
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
e190f3927623fb1e6096d7ee0e545a94c5311e97
1,752
py
Python
PyPPSPS.py
Nircek/pypps
6f14a854b17cc995cb6f43001842b6c7c4118064
[ "MIT" ]
null
null
null
PyPPSPS.py
Nircek/pypps
6f14a854b17cc995cb6f43001842b6c7c4118064
[ "MIT" ]
null
null
null
PyPPSPS.py
Nircek/pypps
6f14a854b17cc995cb6f43001842b6c7c4118064
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from .PPSReply import * from .PPSDefaults import * import json class PyPPSPS: PPSversion = 'v1.3' def __init__(self, url, server): self.url = url self.server = server self.input = inputfunc self.bool = boolfunc version = lambda self: getVersion(self.ur...
35.755102
112
0.570205
226
1,752
4.402655
0.274336
0.056281
0.085427
0.100503
0.196985
0.196985
0.196985
0.068342
0.068342
0
0
0.004766
0.281393
1,752
48
113
36.5
0.785544
0.011986
0
0.130435
0
0
0.066474
0
0
0
0
0
0
1
0.217391
false
0
0.065217
0.108696
0.608696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
e19358c9ce92322bbcb435f96de1c2c365394090
5,138
py
Python
tests/test_gd_optimizer.py
salperinlea/tequila
4e9c103218f7263226802204a845a3dd981c1f8e
[ "MIT" ]
214
2020-04-29T13:50:58.000Z
2021-10-17T09:36:42.000Z
tests/test_gd_optimizer.py
salperinlea/tequila
4e9c103218f7263226802204a845a3dd981c1f8e
[ "MIT" ]
28
2020-06-02T01:30:25.000Z
2021-09-23T14:36:37.000Z
tests/test_gd_optimizer.py
salperinlea/tequila
4e9c103218f7263226802204a845a3dd981c1f8e
[ "MIT" ]
62
2020-04-29T16:07:44.000Z
2021-10-18T18:44:36.000Z
import pytest, numpy import tequila as tq import multiprocessing as mp from tequila.simulators.simulator_api import simulate from tequila.optimizers.optimizer_gd import minimize # Get QC backends for parametrized testing import select_backends simulators = select_backends.get() samplers = select_backends.get(sampler=T...
51.89899
195
0.620864
796
5,138
3.971106
0.154523
0.077507
0.032901
0.045555
0.740905
0.740905
0.699146
0.679215
0.679215
0.679215
0
0.045237
0.186843
5,138
98
196
52.428571
0.711345
0.025691
0
0.576471
0
0
0.0624
0
0
0
0
0
0.035294
1
0.058824
false
0
0.070588
0
0.129412
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e19960c4d7434f7bf4f9f7d8f9d7a12c4440cc18
35,399
py
Python
xmsgridtrace/python/gridtrace/XmGridTrace_pyt.py
Aquaveo/xmsgridtrace
b5c5ecf12c24f8ec8201b2eef43683409d3eccd0
[ "BSD-2-Clause" ]
null
null
null
xmsgridtrace/python/gridtrace/XmGridTrace_pyt.py
Aquaveo/xmsgridtrace
b5c5ecf12c24f8ec8201b2eef43683409d3eccd0
[ "BSD-2-Clause" ]
2
2018-11-16T20:29:30.000Z
2018-12-07T16:13:25.000Z
xmsgridtrace/python/gridtrace/XmGridTrace_pyt.py
Aquaveo/xmsgridtrace
b5c5ecf12c24f8ec8201b2eef43683409d3eccd0
[ "BSD-2-Clause" ]
null
null
null
"""Test UGrid2dDataExtractor.cpp""" import unittest import xmsgridtrace from xmsgrid.ugrid import UGrid from xmsgridtrace.gridtrace import GridTrace import numpy as np class TestGridTrace(unittest.TestCase): """GridTrace tests""" def create_default_single_cell(self): """Create a default single cell""" ...
57.187399
115
0.536597
3,147
35,399
5.844614
0.135685
0.138966
0.102267
0.062633
0.6621
0.604904
0.578263
0.569347
0.56092
0.55532
0
0.466882
0.370914
35,399
618
116
57.279935
0.359064
0.041527
0
0.539773
0
0
0.00704
0
0
0
0
0
0.066288
1
0.034091
false
0
0.00947
0
0.049242
0.007576
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e19a565440ae0be0d98fa28880162b9e3bba092b
2,121
py
Python
sort/toCode/librarysort.py
Jenazads/goAlg
c4ba0dab095f5d2d23439fc368032c437865a424
[ "MIT" ]
1
2018-06-24T12:51:28.000Z
2018-06-24T12:51:28.000Z
sort/toCode/librarysort.py
Jenazads/goAlg
c4ba0dab095f5d2d23439fc368032c437865a424
[ "MIT" ]
null
null
null
sort/toCode/librarysort.py
Jenazads/goAlg
c4ba0dab095f5d2d23439fc368032c437865a424
[ "MIT" ]
null
null
null
def library_sort(l): # Initialization d = len(l) k = [None]*(d<<1) m = d.bit_length() # floor(log2(n) + 1) for i in range(d): k[2*i+1] = l[i] # main loop a,b = 1,2 for i in range(m): # Because multiplication by 2 occurs at the beginning of the loop, # the first element w...
33.140625
203
0.357379
345
2,121
2.188406
0.275362
0.018543
0.027815
0.031788
0.070199
0.070199
0.070199
0.068874
0.068874
0.068874
0
0.098848
0.508722
2,121
63
204
33.666667
0.62572
0.194719
0
0.061224
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
e1c643141e45fbf0651c53a04cbf813e55d90b12
107
py
Python
xir/_version.py
BastianZim/xir
3c4268556cfa1fd3ddf8147093af07172e2767b2
[ "Apache-2.0" ]
null
null
null
xir/_version.py
BastianZim/xir
3c4268556cfa1fd3ddf8147093af07172e2767b2
[ "Apache-2.0" ]
null
null
null
xir/_version.py
BastianZim/xir
3c4268556cfa1fd3ddf8147093af07172e2767b2
[ "Apache-2.0" ]
null
null
null
"""The current version number. Uses semantic versioning (https://semver.org)""" __version__ = "0.2.0-dev"
26.75
79
0.71028
15
107
4.8
0.866667
0
0
0
0
0
0
0
0
0
0
0.031579
0.11215
107
3
80
35.666667
0.726316
0.682243
0
0
0
0
0.321429
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bed291eddb90f3dfeda6f3cc7dd4e7e6d4bcbaf6
75
py
Python
testzld/emptytest.py
zoulida/sdufealpha
754e7df303ff94251846863d5cd326b9d121a810
[ "Apache-2.0" ]
1
2019-04-22T14:29:24.000Z
2019-04-22T14:29:24.000Z
testzld/emptytest.py
zoulida/sdufealpha
754e7df303ff94251846863d5cd326b9d121a810
[ "Apache-2.0" ]
null
null
null
testzld/emptytest.py
zoulida/sdufealpha
754e7df303ff94251846863d5cd326b9d121a810
[ "Apache-2.0" ]
1
2019-04-28T01:24:16.000Z
2019-04-28T01:24:16.000Z
__author__ = 'zoulida' import numpy as np arr = np.empty([2,2]) print(arr)
15
22
0.693333
13
75
3.692308
0.769231
0
0
0
0
0
0
0
0
0
0
0.03125
0.146667
75
5
23
15
0.71875
0
0
0
0
0
0.092105
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bed49908ca91aaed16022caa5e9c07ff1a0d3730
11,843
py
Python
pdb2pqr-1.9.0/pdb2pka/pMC_mult.py
Acpharis/protein_prep
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
[ "BSD-3-Clause" ]
8
2021-12-14T21:30:01.000Z
2022-02-14T11:30:03.000Z
pdb2pqr-1.9.0/pdb2pka/pMC_mult.py
Acpharis/protein_prep
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
[ "BSD-3-Clause" ]
null
null
null
pdb2pqr-1.9.0/pdb2pka/pMC_mult.py
Acpharis/protein_prep
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
[ "BSD-3-Clause" ]
1
2021-11-04T21:48:14.000Z
2021-11-04T21:48:14.000Z
# This file was created automatically by SWIG 1.3.29. # Don't modify this file, modify the SWIG interface instead. # This file is compatible with both classic and new-style classes. import _pMC_mult import new new_instancemethod = new.instancemethod def _swig_setattr_nondynamic(self,class_type,name,value,static=1): ...
51.491304
92
0.748375
1,533
11,843
5.176125
0.089367
0.107624
0.175299
0.229238
0.774291
0.598236
0.575425
0.554253
0.236421
0.164965
0
0.000788
0.142869
11,843
229
93
51.716157
0.780908
0.014777
0
0.174528
0
0
0.008919
0
0
0
0
0
0
0
null
null
0.004717
0.014151
null
null
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
1
0
0
0
0
0
0
0
0
2
bed8d67183aa05ee6f5574d354c8e3198e2a395c
147
py
Python
verify/checker/abc221/c.py
naskya/testcase-generator
02765184a275152e1d8c177f2028ca8db315cfee
[ "MIT" ]
4
2020-09-23T07:11:41.000Z
2022-02-02T09:08:21.000Z
verify/checker/abc221/c.py
naskya/testcase-generator
02765184a275152e1d8c177f2028ca8db315cfee
[ "MIT" ]
5
2021-08-29T18:23:01.000Z
2021-11-20T03:53:19.000Z
verify/checker/abc221/c.py
naskya/testcase-generator
02765184a275152e1d8c177f2028ca8db315cfee
[ "MIT" ]
null
null
null
def main() -> None: N = input() assert 1 <= int(N) <= 10**9 assert len(N) - N.count('0') >= 2 if __name__ == '__main__': main()
14.7
37
0.482993
22
147
2.863636
0.727273
0
0
0
0
0
0
0
0
0
0
0.057692
0.292517
147
9
38
16.333333
0.548077
0
0
0
0
0
0.061224
0
0
0
0
0
0.333333
1
0.166667
false
0
0
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
beefdf298e5f9b5f872ca730d68c73b63a11ae6d
41,869
py
Python
cli/skyline/protocol_gen/innpv_pb2.py
danielsnider/ecosystem-project-website-template
355666d910d80dc51f84192122ed26d9ca06f044
[ "Apache-2.0" ]
23
2020-07-30T17:51:46.000Z
2022-03-01T11:22:26.000Z
cli/skyline/protocol_gen/innpv_pb2.py
danielsnider/ecosystem-project-website-template
355666d910d80dc51f84192122ed26d9ca06f044
[ "Apache-2.0" ]
5
2020-07-23T02:56:27.000Z
2021-08-31T00:09:35.000Z
cli/skyline/protocol_gen/innpv_pb2.py
danielsnider/ecosystem-project-website-template
355666d910d80dc51f84192122ed26d9ca06f044
[ "Apache-2.0" ]
4
2021-03-17T16:40:09.000Z
2022-03-14T04:26:46.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: innpv.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflect...
37.117908
3,945
0.751248
5,094
41,869
5.869847
0.071457
0.046286
0.031738
0.051269
0.67486
0.563459
0.54055
0.514364
0.499248
0.494766
0
0.037911
0.122406
41,869
1,127
3,946
37.150843
0.775855
0.037283
0
0.669912
1
0.003895
0.222059
0.164093
0
0
0
0
0
1
0
false
0
0.005842
0
0.005842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8304a4230bd01ced0e2e559e2233a112c49d0e7c
331
py
Python
contact/admin.py
rjptechsolutions/DjangoContactApp
f13388d2da63bc82a1b1ac07b89080c8532c7332
[ "MIT" ]
null
null
null
contact/admin.py
rjptechsolutions/DjangoContactApp
f13388d2da63bc82a1b1ac07b89080c8532c7332
[ "MIT" ]
null
null
null
contact/admin.py
rjptechsolutions/DjangoContactApp
f13388d2da63bc82a1b1ac07b89080c8532c7332
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import contact class ContactAdmin(admin.ModelAdmin): list_display = ('id','Name','Email','contact_at') list_display_links = ('id','Name','Email') search_fields = ('Name','Email','Message','subject') list_per_page = 25 admin.site.register(contact, Co...
36.777778
57
0.700906
41
331
5.487805
0.634146
0.12
0.097778
0
0
0
0
0
0
0
0
0.007067
0.145015
331
9
58
36.777778
0.787986
0
0
0
0
0
0.169753
0
0
0
0
0
0
1
0
false
0
0.25
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
830a071550e5937a02b21db5599bd1b31f6ea1f8
379
py
Python
src/sentry/analytics/events/plugin_enabled.py
AlexWayfer/sentry
ef935cda2b2e960bd602fda590540882d1b0712d
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
src/sentry/analytics/events/plugin_enabled.py
AlexWayfer/sentry
ef935cda2b2e960bd602fda590540882d1b0712d
[ "BSD-3-Clause" ]
196
2019-06-10T08:34:10.000Z
2022-02-22T01:26:13.000Z
src/sentry/analytics/events/plugin_enabled.py
AlexWayfer/sentry
ef935cda2b2e960bd602fda590540882d1b0712d
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
from __future__ import absolute_import from sentry import analytics class PluginEnabledEvent(analytics.Event): type = 'plugin.enabled' attributes = ( analytics.Attribute('user_id'), analytics.Attribute('organization_id'), analytics.Attribute('project_id'), analytics.Attribute...
21.055556
47
0.709763
35
379
7.457143
0.542857
0.275862
0.229885
0
0
0
0
0
0
0
0
0
0.189974
379
17
48
22.294118
0.850163
0
0
0
0
0
0.137203
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.454545
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
830ed866af7f409928f9e5f6fdb0e935a7d615c2
298
py
Python
src/lib/nimjson.py
IMAGINARY/nim-book
c99a3ee1aa85abf9a308f095daf3f1a229602e14
[ "Apache-2.0" ]
null
null
null
src/lib/nimjson.py
IMAGINARY/nim-book
c99a3ee1aa85abf9a308f095daf3f1a229602e14
[ "Apache-2.0" ]
null
null
null
src/lib/nimjson.py
IMAGINARY/nim-book
c99a3ee1aa85abf9a308f095daf3f1a229602e14
[ "Apache-2.0" ]
null
null
null
import json import nim HEAP_SIZE = 9 moves = {} for a in range(HEAP_SIZE, 0, -1): for b in range(HEAP_SIZE, 0, -1): for c in range(HEAP_SIZE, 0, -1): moves[f'{a}.{b}.{c}'] = nim.nim([a, b, c], nim.NORMAL, False) print(json.dumps(moves, indent=4, separators=(',', ': ')))
22.923077
73
0.563758
52
298
3.153846
0.442308
0.195122
0.20122
0.27439
0.347561
0.347561
0.243902
0
0
0
0
0.034632
0.224832
298
12
74
24.833333
0.675325
0
0
0
0
0
0.04698
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.111111
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
831df269b3a742d04e2e6b25d315c5c3fd4d7801
784
py
Python
safe_relay_service/tokens/tests/test_commands.py
gnosis/safe-relay-service
e4db2f9b85aab612653785766d4c1f4d16197197
[ "MIT" ]
48
2018-07-22T16:02:27.000Z
2022-03-31T17:46:20.000Z
safe_relay_service/tokens/tests/test_commands.py
gnosis/safe-relay-service
e4db2f9b85aab612653785766d4c1f4d16197197
[ "MIT" ]
264
2018-06-11T11:37:55.000Z
2022-03-30T18:29:38.000Z
safe_relay_service/tokens/tests/test_commands.py
gnosis/safe-relay-service
e4db2f9b85aab612653785766d4c1f4d16197197
[ "MIT" ]
24
2018-11-07T19:28:59.000Z
2022-03-19T16:46:59.000Z
from io import StringIO from django.core.management import call_command from django.test import TestCase from eth_account import Account from gnosis.eth import EthereumClientProvider from gnosis.eth.tests.utils import deploy_example_erc20 from .factories import TokenFactory class TestCommands(TestCase): def t...
31.36
86
0.735969
95
784
5.926316
0.452632
0.058615
0.046181
0.067496
0
0
0
0
0
0
0
0.016923
0.170918
784
24
87
32.666667
0.849231
0
0
0
0
0
0.071429
0
0
0
0
0
0.117647
1
0.058824
false
0
0.411765
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8320200a84f65ac689908358c36142e8b9ecae55
2,672
py
Python
scripts/ons/purchase_expired.py
KevinOneLedger/protocol
08214824bdf329bf00422b8729b59b33da14cfc5
[ "Apache-2.0" ]
38
2018-06-30T15:22:06.000Z
2022-03-20T22:23:07.000Z
scripts/ons/purchase_expired.py
KevinOneLedger/protocol
08214824bdf329bf00422b8729b59b33da14cfc5
[ "Apache-2.0" ]
27
2018-09-02T09:57:19.000Z
2021-09-17T18:06:35.000Z
scripts/ons/purchase_expired.py
KevinOneLedger/protocol
08214824bdf329bf00422b8729b59b33da14cfc5
[ "Apache-2.0" ]
13
2018-06-30T15:22:08.000Z
2020-07-28T15:00:40.000Z
import time from sdk.actions import * import sys class bcolors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' BOLD = '\033[1m' UNDERLINE = '\033[4m' if __name__ == "__main__": name = "expiring.ol" addrs =...
23.646018
100
0.565868
324
2,672
4.546296
0.246914
0.0611
0.057026
0.046164
0.5852
0.565513
0.565513
0.498303
0.480652
0.480652
0
0.046161
0.22979
2,672
112
101
23.857143
0.669582
0.016093
0
0.551282
0
0
0.230095
0.033524
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.487179
0
0
0
null
0
0
0
0
0
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
1
0
2
832e600a5542b38b8d13608717f1201ac568c531
337
py
Python
src/sentry/tagstore/__init__.py
AlexWayfer/sentry
ef935cda2b2e960bd602fda590540882d1b0712d
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
src/sentry/tagstore/__init__.py
AlexWayfer/sentry
ef935cda2b2e960bd602fda590540882d1b0712d
[ "BSD-3-Clause" ]
196
2019-06-10T08:34:10.000Z
2022-02-22T01:26:13.000Z
src/sentry/tagstore/__init__.py
AlexWayfer/sentry
ef935cda2b2e960bd602fda590540882d1b0712d
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
from __future__ import absolute_import from django.conf import settings from sentry.utils.services import LazyServiceWrapper from .base import TagStorage, TagKeyStatus # NOQA from .exceptions import * # NOQA LazyServiceWrapper( TagStorage, settings.SENTRY_TAGSTORE, settings.SENTRY_TAGSTORE_OPTIONS, )....
22.466667
52
0.795252
37
337
7.027027
0.540541
0.107692
0.169231
0
0
0
0
0
0
0
0
0
0.142433
337
14
53
24.071429
0.899654
0.026706
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
833cd74aff4036d3f4e6643f8746b46ae55f3a69
1,182
py
Python
FEMpy/AxialBar.py
A-Gray-94/FEMpy
f15af7b9eb592ea4e42e3472bf4672500d6b81f7
[ "Apache-2.0" ]
null
null
null
FEMpy/AxialBar.py
A-Gray-94/FEMpy
f15af7b9eb592ea4e42e3472bf4672500d6b81f7
[ "Apache-2.0" ]
25
2021-08-02T03:58:30.000Z
2021-09-26T18:33:04.000Z
FEMpy/AxialBar.py
A-Gray-94/FEMpy
f15af7b9eb592ea4e42e3472bf4672500d6b81f7
[ "Apache-2.0" ]
1
2021-12-27T18:40:04.000Z
2021-12-27T18:40:04.000Z
""" ============================================================================== Axial Bar Constitutive Class ============================================================================== @File : AxialBar.py @Date : 2021/03/30 @Author : Alasdair Christison Gray @Description : """ # ====================...
34.764706
80
0.286802
69
1,182
4.797101
0.594203
0.102719
0
0
0
0
0
0
0
0
0
0.01256
0.124365
1,182
33
81
35.818182
0.307246
0.701354
0
0
0
0
0
0
0
1
0
0
0
1
0.1
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
2
83426d9cec9d0f9dc5e2e4a912d3c4ab0be03834
999
py
Python
tools/guid_generator/generator.py
samkenxstream/digitalbuildings
59ca7adeccf762810349927b44bc8f2bbeafa65b
[ "Apache-2.0" ]
null
null
null
tools/guid_generator/generator.py
samkenxstream/digitalbuildings
59ca7adeccf762810349927b44bc8f2bbeafa65b
[ "Apache-2.0" ]
1
2021-10-22T02:32:33.000Z
2021-10-22T02:32:33.000Z
tools/guid_generator/generator.py
josephedwardchang/digitalbuildings
cf412172fa8577392cf0447511589fbbb6792809
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, sof...
33.3
74
0.765766
141
999
5.375887
0.64539
0.079156
0.034301
0.042216
0
0
0
0
0
0
0
0.009592
0.165165
999
29
75
34.448276
0.899281
0.670671
0
0
0
0
0.103679
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
834b9a048daeb8203e9602c01383d3c4e7611b05
275
py
Python
quickspy/spiders.py
kirte2849/Quickspy
767d0fb8ded283aa0d8122d77e15dc411f553994
[ "MIT" ]
1
2020-07-11T13:41:40.000Z
2020-07-11T13:41:40.000Z
quickspy/spiders.py
kirte2849/Quickspy
767d0fb8ded283aa0d8122d77e15dc411f553994
[ "MIT" ]
null
null
null
quickspy/spiders.py
kirte2849/Quickspy
767d0fb8ded283aa0d8122d77e15dc411f553994
[ "MIT" ]
null
null
null
class Spider: def __init__(self, qs): self.netengine = qs.netengine self.url_pool = qs.url_pool pass def parse(self, response): return(response) pass def get_url(self): return self.url_pool.get_text() pass
21.153846
39
0.581818
35
275
4.314286
0.428571
0.139073
0.145695
0
0
0
0
0
0
0
0
0
0.330909
275
13
40
21.153846
0.820652
0
0
0.272727
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.272727
0
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
8368beba9bed10419032044f8b01e52f724cdb0f
767
py
Python
genbank-fan/get_accessionNumber_list_from_geneGBK.py
chnops/code
cd48843ed7b7239fdb85bff66f02510a7c7899b5
[ "MIT" ]
2
2017-12-25T09:14:52.000Z
2021-05-18T06:39:26.000Z
genbank-fan/get_accessionNumber_list_from_geneGBK.py
chnops/code
cd48843ed7b7239fdb85bff66f02510a7c7899b5
[ "MIT" ]
1
2018-09-29T22:34:30.000Z
2018-09-29T22:34:30.000Z
genbank-fan/get_accessionNumber_list_from_geneGBK.py
chnops/code
cd48843ed7b7239fdb85bff66f02510a7c7899b5
[ "MIT" ]
1
2020-10-19T02:22:06.000Z
2020-10-19T02:22:06.000Z
import sys from Bio import SeqIO from Bio.SeqRecord import SeqRecord #usage: for i in *.gbk; do python ~/Documents/Projects/KBase/eco-R/genbank-fan/extract_dbsource_from_gbk.py $i; done > hit_id_accession.txt for record in list(SeqIO.parse(sys.argv[1], 'genbank')): #print record hit_id = record.id org = ...
31.958333
140
0.624511
115
767
4.052174
0.426087
0.064378
0.019313
0.017167
0.015021
0
0
0
0
0
0
0.004951
0.209909
767
23
141
33.347826
0.764026
0.542373
0
0
0
0
0.132353
0
0
0
0
0
0
0
null
null
0
0.375
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
836b417f433e60288a82043f0bd32034c3457551
256
py
Python
test/formulae_test.py
LRydin/JumpDiff
67a76d2c7074a2a5a7dc5446db80c360476b5bdf
[ "MIT" ]
17
2020-05-22T11:57:15.000Z
2021-11-24T03:20:18.000Z
test/formulae_test.py
LRydin/JumpDiff
67a76d2c7074a2a5a7dc5446db80c360476b5bdf
[ "MIT" ]
1
2022-03-01T07:52:31.000Z
2022-03-03T07:59:04.000Z
test/formulae_test.py
LRydin/JumpDiff
67a76d2c7074a2a5a7dc5446db80c360476b5bdf
[ "MIT" ]
3
2020-08-02T19:41:39.000Z
2021-08-01T23:42:20.000Z
import numpy as np from jumpdiff.formulae import m_formula, f_formula, f_formula_solver def test_fomulae(): for power in [1,2,3,4,5,6,7,8,9]: m_formula(power = power) f_formula(power = power) f_formula_solver(power = power)
21.333333
68
0.675781
43
256
3.813953
0.604651
0.195122
0.182927
0.219512
0.262195
0
0
0
0
0
0
0.045226
0.222656
256
11
69
23.272727
0.778894
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
55d94cac0650c5b53db775a15afc7e984c235e7d
1,127
py
Python
tournament/user/migrations/0008_auto_20191016_1559.py
Aslanyan94/Tournament
87df35c13888b92b6ac58c01626b552be077bbda
[ "MIT" ]
1
2019-08-30T18:51:20.000Z
2019-08-30T18:51:20.000Z
tournament/user/migrations/0008_auto_20191016_1559.py
Aslanyan94/Tournament
87df35c13888b92b6ac58c01626b552be077bbda
[ "MIT" ]
1
2019-09-04T16:16:08.000Z
2019-09-04T16:16:08.000Z
tournament/user/migrations/0008_auto_20191016_1559.py
Aslanyan94/Tournament
87df35c13888b92b6ac58c01626b552be077bbda
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-10-16 15:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0007_auto_20190914_2102'), ] operations = [ migrations.DeleteModel( name='ChoiceModel', ), migrations.Al...
30.459459
144
0.509317
99
1,127
5.727273
0.464646
0.141093
0.176367
0.204586
0.627866
0.472663
0.204586
0.204586
0.204586
0.204586
0
0.070332
0.306122
1,127
36
145
31.305556
0.654731
0.039929
0
0.5
1
0
0.077778
0.021296
0
0
0
0
0
1
0
false
0
0.033333
0
0.133333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
55f22662c35481a3e7bc3e470499c7bba9d0bbe5
305
py
Python
microcosm_daemon/api.py
globality-corp/microcosm-daemon
86c384462c00d98431d61ed4890b980b0424cb36
[ "Apache-2.0" ]
null
null
null
microcosm_daemon/api.py
globality-corp/microcosm-daemon
86c384462c00d98431d61ed4890b980b0424cb36
[ "Apache-2.0" ]
10
2016-03-25T00:37:22.000Z
2022-02-09T21:16:16.000Z
microcosm_daemon/api.py
globality-corp/microcosm-daemon
86c384462c00d98431d61ed4890b980b0424cb36
[ "Apache-2.0" ]
2
2016-12-19T22:41:21.000Z
2019-03-17T03:46:31.000Z
""" Expose core state machine and errors. """ from microcosm_daemon.error_policy import ExitError, FatalError from microcosm_daemon.sleep_policy import SleepNow from microcosm_daemon.state_machine import StateMachine __all__ = [ "ExitError", "FatalError", "SleepNow", "StateMachine", ]
19.0625
63
0.757377
33
305
6.69697
0.545455
0.176471
0.257919
0
0
0
0
0
0
0
0
0
0.157377
305
15
64
20.333333
0.859922
0.121311
0
0
0
0
0.150579
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
2
55f7b1df6006f39dee33839bcd0747d3e6fc9ff9
230
py
Python
problems/permutation_generator/generator.py
vidyadeepa/the-coding-interview
90171b77b6884176a6c28bdccb5d45bd6929b489
[ "MIT" ]
1,571
2015-12-09T14:08:47.000Z
2022-03-30T21:34:36.000Z
problems/permutation_generator/generator.py
vidyadeepa/the-coding-interview
90171b77b6884176a6c28bdccb5d45bd6929b489
[ "MIT" ]
117
2015-10-22T05:59:19.000Z
2021-09-17T00:14:38.000Z
problems/permutation_generator/generator.py
vidyadeepa/the-coding-interview
90171b77b6884176a6c28bdccb5d45bd6929b489
[ "MIT" ]
452
2015-10-21T23:00:58.000Z
2022-03-18T21:16:50.000Z
def permutations(n): if not n: yield "" for i, x in enumerate(n): for p in permutations(n[:i] + n[i+1:]): yield x + p print list(permutations("")) print list(permutations("1")) print list(permutations("1234"))
19.166667
43
0.617391
36
230
3.944444
0.444444
0.190141
0.443662
0
0
0
0
0
0
0
0
0.032967
0.208696
230
11
44
20.909091
0.747253
0
0
0
0
0
0.021739
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
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
1
0
0
0
0
0
0
0
0
2
55fafca80062b6a340b0b8c598944ee8b99dd3ef
1,230
py
Python
cap-4/7-tkinter-WidgetRadiobutton.py
igoradriano/manipulacao-dados-python-bd
e3e47f15529d98e5c5887ebbb93c48924fceb665
[ "MIT" ]
null
null
null
cap-4/7-tkinter-WidgetRadiobutton.py
igoradriano/manipulacao-dados-python-bd
e3e47f15529d98e5c5887ebbb93c48924fceb665
[ "MIT" ]
null
null
null
cap-4/7-tkinter-WidgetRadiobutton.py
igoradriano/manipulacao-dados-python-bd
e3e47f15529d98e5c5887ebbb93c48924fceb665
[ "MIT" ]
null
null
null
import tkinter as tk janela = tk.Tk() v = tk.IntVar() #define a variavel para status do RadioButton tk.Label(janela, text='''Escolha uma linguagem de programação''', justify=tk.LEFT, padx=20).pack() tk.Radiobutton(janela, text='Python', padx=25, variable=v, value=1).pack(anchor=tk.W) tk.Radiobutton(janela, text='C++',...
68.333333
98
0.726016
215
1,230
4.153488
0.260465
0.145577
0.255319
0.309071
0.714446
0.490482
0.490482
0.490482
0.12766
0.12766
0
0.036745
0.070732
1,230
18
99
68.333333
0.744532
0.035772
0
0
0
0
0.071669
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
360fe6e67586e70323dad61a7e584d95d089624b
2,650
py
Python
zero-tool.py
ToR-0/Zero-attacker
25c13b5cec3e19bf96ee1d456393ea9d2a08986f
[ "MIT" ]
1
2021-11-27T07:25:26.000Z
2021-11-27T07:25:26.000Z
zero-tool.py
ToR-0/Zero-attacker
25c13b5cec3e19bf96ee1d456393ea9d2a08986f
[ "MIT" ]
null
null
null
zero-tool.py
ToR-0/Zero-attacker
25c13b5cec3e19bf96ee1d456393ea9d2a08986f
[ "MIT" ]
null
null
null
import sys,os from colorama import Fore print(Fore.MAGENTA+""" _______ _______ _______ _______ _______ __________________ _______ _______ _ _______ _______ / ___ )( ____ \( ____ )( ___ ) ( ___ )\__ __/\__ __/( ___ )( ____ \| \ /\( ____ \( ____ ) \/ ) || ( ...
33.974359
116
0.431321
215
2,650
4.255814
0.32093
0.113661
0.156284
0.170492
0.289617
0.092896
0.065574
0
0
0
0
0.021212
0.377358
2,650
77
117
34.415584
0.533333
0
0
0.039216
0
0.137255
0.748154
0.054411
0
0
0
0
0
1
0
false
0
0.039216
0
0.039216
0.058824
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
36254d6fbc04baa0d527adaab33cfd21f9577585
6,147
py
Python
wwwdccn/users/migrations/0001_initial.py
marvinxu99/dccnsys
8f53728d06b859cace42cc84bc190bc89950d252
[ "MIT" ]
null
null
null
wwwdccn/users/migrations/0001_initial.py
marvinxu99/dccnsys
8f53728d06b859cace42cc84bc190bc89950d252
[ "MIT" ]
null
null
null
wwwdccn/users/migrations/0001_initial.py
marvinxu99/dccnsys
8f53728d06b859cace42cc84bc190bc89950d252
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-26 05:15 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_countries.fields import users.managers import users.models class Migration(migrations.Migration): initial = True dependencies = [ ...
83.067568
1,110
0.650887
679
6,147
5.752577
0.319588
0.076037
0.030722
0.03405
0.346646
0.319508
0.281618
0.236047
0.203789
0.203789
0
0.011504
0.193916
6,147
73
1,111
84.205479
0.776791
0.007321
0
0.272727
1
0.015152
0.344262
0.008852
0
0
0
0
0
1
0
false
0.015152
0.090909
0
0.151515
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3650366f644677a5998a19bbdfa8b5013db9bdc7
571
py
Python
common/src/stack/ws/command/list/api/sudo/command/__init__.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
123
2015-05-12T23:36:45.000Z
2017-07-05T23:26:57.000Z
common/src/stack/ws/command/list/api/sudo/command/__init__.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
177
2015-06-05T19:17:47.000Z
2017-07-07T17:57:24.000Z
common/src/stack/ws/command/list/api/sudo/command/__init__.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
32
2015-06-07T02:25:03.000Z
2017-06-23T07:35:35.000Z
import stack.commands import stack.django_env from stack.exception import * from stack.restapi.models import SudoList import re class Command(stack.commands.Command): """ List all commands on the webservice sudo list. This shows the list of commands that will be run using sudo <example cmd="list api sudo comma...
23.791667
63
0.740806
84
571
5.02381
0.547619
0.052133
0.075829
0.085308
0.175355
0.175355
0.175355
0.175355
0
0
0
0
0.155867
571
23
64
24.826087
0.875519
0.345009
0
0
0
0
0.033426
0
0
0
0
0
0
1
0.090909
false
0
0.454545
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
36507b4b5ca137cca97a2550e4c14d79f5f30d07
358
py
Python
djiki/contrib/views.py
beijingren/roche-website
c5618045f56349f7a3733e80dd75574e33c874f0
[ "MIT" ]
null
null
null
djiki/contrib/views.py
beijingren/roche-website
c5618045f56349f7a3733e80dd75574e33c874f0
[ "MIT" ]
null
null
null
djiki/contrib/views.py
beijingren/roche-website
c5618045f56349f7a3733e80dd75574e33c874f0
[ "MIT" ]
null
null
null
from django.db.models import Max from django.template.response import TemplateResponse from .. import models def latest_changes(request, limit=50): latest = models.Page.objects\ .annotate(latest_change=Max('revisions__created'))\ .order_by('-latest_change')[:limit] return TemplateResponse(request, 'djiki/late...
32.545455
82
0.773743
45
358
6
0.577778
0.074074
0
0
0
0
0
0
0
0
0
0.006192
0.097765
358
10
83
35.8
0.829721
0
0
0
0
0
0.175978
0.069832
0
0
0
0
0
1
0.125
false
0
0.375
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
1
0
1
0
0
2
365d825c23ac9f92413e34bc2d870dc20fbebad2
2,256
py
Python
python/neural_network/basic_perceptron.py
robertodias/machine_learning
825928ba0e82405ece33769ae1575249edef0a57
[ "MIT" ]
1
2017-11-09T15:09:41.000Z
2017-11-09T15:09:41.000Z
python/neural_network/basic_perceptron.py
robertodias/machine_learning
825928ba0e82405ece33769ae1575249edef0a57
[ "MIT" ]
null
null
null
python/neural_network/basic_perceptron.py
robertodias/machine_learning
825928ba0e82405ece33769ae1575249edef0a57
[ "MIT" ]
null
null
null
# ---------- # # In this exercise, you will put the finishing touches on a perceptron class. # # Finish writing the activate() method by using np.dot to compute signal # strength and then add in a threshold for perceptron activation. # # ---------- import numpy as np class Perceptron: """ This class models...
32.228571
84
0.602837
300
2,256
4.493333
0.353333
0.041543
0.035608
0.075668
0.251484
0.22997
0.209199
0.126855
0.126855
0.126855
0
0.031365
0.279255
2,256
70
85
32.228571
0.797663
0.170656
0
0.076923
0
0
0.201768
0
0
0
0
0.014286
0.115385
0
null
null
0
0.038462
null
null
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
36876c6fe7fabd39770b1e39081287825d713057
154
py
Python
competitive/AtCoder/ABC108/A.py
pn11/benkyokai
9ebdc46b529e76b7196add26dbc1e62ad48e72b0
[ "MIT" ]
null
null
null
competitive/AtCoder/ABC108/A.py
pn11/benkyokai
9ebdc46b529e76b7196add26dbc1e62ad48e72b0
[ "MIT" ]
22
2020-03-24T16:24:47.000Z
2022-02-26T15:51:18.000Z
competitive/AtCoder/ABC108/A.py
pn11/benkyokai
9ebdc46b529e76b7196add26dbc1e62ad48e72b0
[ "MIT" ]
null
null
null
K = int(input()) mod = K % 2 if mod == 0: n_even = K // 2 n_odd = K // 2 else: n_even = K // 2 n_odd = K // 2 + 1 print(n_even*n_odd)
11.846154
22
0.461039
32
154
2.03125
0.40625
0.153846
0.184615
0.215385
0.4
0.4
0.4
0.4
0
0
0
0.071429
0.363636
154
12
23
12.833333
0.591837
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
36b5daaaf77a030e93173a19ed5aca83ae0c02b6
304
py
Python
output/models/nist_data/atomic/unsigned_short/schema_instance/nistschema_sv_iv_atomic_unsigned_short_max_exclusive_2_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/unsigned_short/schema_instance/nistschema_sv_iv_atomic_unsigned_short_max_exclusive_2_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/unsigned_short/schema_instance/nistschema_sv_iv_atomic_unsigned_short_max_exclusive_2_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.atomic.unsigned_short.schema_instance.nistschema_sv_iv_atomic_unsigned_short_max_exclusive_2_xsd.nistschema_sv_iv_atomic_unsigned_short_max_exclusive_2 import NistschemaSvIvAtomicUnsignedShortMaxExclusive2 __all__ = [ "NistschemaSvIvAtomicUnsignedShortMaxExclusive2", ]
50.666667
234
0.911184
33
304
7.666667
0.606061
0.166008
0.225296
0.158103
0.363636
0.363636
0.363636
0.363636
0.363636
0
0
0.013793
0.046053
304
5
235
60.8
0.858621
0
0
0
0
0
0.151316
0.151316
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
36ba6403dea5aecac143acf072a1e7ab81a4373c
1,908
py
Python
src/bin/tools/generate_bbox_border.py
pbedenbaugh/MeshFEM
742d609d4851582ffb9c5616774fc2ef489e2f88
[ "MIT" ]
19
2020-10-21T10:05:17.000Z
2022-03-20T13:41:50.000Z
src/bin/tools/generate_bbox_border.py
pbedenbaugh/MeshFEM
742d609d4851582ffb9c5616774fc2ef489e2f88
[ "MIT" ]
4
2021-01-01T15:58:15.000Z
2021-09-19T03:31:09.000Z
src/bin/tools/generate_bbox_border.py
pbedenbaugh/MeshFEM
742d609d4851582ffb9c5616774fc2ef489e2f88
[ "MIT" ]
4
2020-10-05T09:01:50.000Z
2022-01-11T03:02:39.000Z
# Generate an obj line mesh representing the axis-aligned bounding box frame # enclosing the union of all meshes passed on the command line # This is useful to circumvent gmsh's scale-to-fit behavior when rendering # models of different sizes import sys, subprocess, argparse import numpy as np parser = argparse.Argume...
43.363636
140
0.658281
297
1,908
4.212121
0.414141
0.014388
0.015987
0.023981
0.014388
0.014388
0.014388
0.014388
0.014388
0.014388
0
0.030593
0.177673
1,908
43
141
44.372093
0.76673
0.177149
0
0
1
0.03125
0.172745
0
0
0
0
0
0
0
null
null
0
0.0625
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
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
36ce888214264574c9a9be724a40f38970dafbce
327
py
Python
tests/test_geoviews.py
paultimothymooney/docker-python-2
15c3f923e2ccedb46e81bcb8177a67fc42d90bcc
[ "Apache-2.0" ]
2
2019-02-01T13:41:34.000Z
2021-06-08T12:06:19.000Z
tests/test_geoviews.py
paultimothymooney/docker-python-2
15c3f923e2ccedb46e81bcb8177a67fc42d90bcc
[ "Apache-2.0" ]
null
null
null
tests/test_geoviews.py
paultimothymooney/docker-python-2
15c3f923e2ccedb46e81bcb8177a67fc42d90bcc
[ "Apache-2.0" ]
1
2019-11-06T15:59:55.000Z
2019-11-06T15:59:55.000Z
import unittest import geoviews.feature as gf from cartopy import crs class TestGeoviews(unittest.TestCase): def test_viz(self): (gf.ocean + gf.land + gf.ocean * gf.land * gf.coastline * gf.borders).options( 'Feature', projection=crs.Geostationary(), global_extent=True, height=325 ).c...
27.25
86
0.685015
43
327
5.162791
0.697674
0.063063
0.081081
0.117117
0.126126
0
0
0
0
0
0
0.015267
0.198777
327
11
87
29.727273
0.832061
0
0
0
0
0
0.021407
0
0
0
0
0
0
1
0.125
false
0
0.375
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
1
0
1
0
0
2
36d9886704af005376914d458fbdad19b12f7f66
1,007
py
Python
projects/gmc705/week3/twolinkrobot_kinematic_vs_dynamic_openloop.py
echoix/pyro
787920cb14e3669bc65c530fd8f91d4277a24279
[ "MIT" ]
null
null
null
projects/gmc705/week3/twolinkrobot_kinematic_vs_dynamic_openloop.py
echoix/pyro
787920cb14e3669bc65c530fd8f91d4277a24279
[ "MIT" ]
null
null
null
projects/gmc705/week3/twolinkrobot_kinematic_vs_dynamic_openloop.py
echoix/pyro
787920cb14e3669bc65c530fd8f91d4277a24279
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sun May 12 16:34:44 2019 @author: Alexandre """ ############################################################################### import numpy as np ############################################################################### from pyro.control import robotcontrollers from pyro...
33.566667
79
0.531281
99
1,007
5.20202
0.424242
0.262136
0.203884
0.081553
0.419417
0.209709
0.209709
0.209709
0.209709
0.209709
0
0.033918
0.150943
1,007
30
80
33.566667
0.568421
0.109235
0
0
0
0
0.006144
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
36e0b6ee5a9184fde3852960a9ccf1bdb40f2ba9
216
py
Python
src/_esentutl.py
MenkeTechnologies/zsh-more-completions
c0d4716b695ea9bf3d0e870bc2ced5354db3c031
[ "MIT" ]
25
2018-07-29T01:49:23.000Z
2022-01-19T19:21:23.000Z
src/_esentutl.py
MenkeTechnologies/zsh-more-completions
c0d4716b695ea9bf3d0e870bc2ced5354db3c031
[ "MIT" ]
null
null
null
src/_esentutl.py
MenkeTechnologies/zsh-more-completions
c0d4716b695ea9bf3d0e870bc2ced5354db3c031
[ "MIT" ]
null
null
null
#compdef esentutl.py local arguments arguments=( '(- * :)'{-h,--help}'[show this help message and exit]' '-debug[turn DEBUG output ON]' '-page[page to open]' '*:filename:_files' ) _arguments -s $arguments
16.615385
57
0.652778
28
216
4.964286
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.166667
216
12
58
18
0.772222
0.087963
0
0
0
0
0.530612
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
36e7234cb87adb02a43e0f8d77d90a4014592d92
334
py
Python
recipes/examples/basic.py
brisbane/hpc-container-maker
29c675d62651c6dde566b699ad85f794114a94c4
[ "Apache-2.0" ]
1
2019-02-25T22:54:31.000Z
2019-02-25T22:54:31.000Z
recipes/examples/basic.py
brisbane/hpc-container-maker
29c675d62651c6dde566b699ad85f794114a94c4
[ "Apache-2.0" ]
null
null
null
recipes/examples/basic.py
brisbane/hpc-container-maker
29c675d62651c6dde566b699ad85f794114a94c4
[ "Apache-2.0" ]
null
null
null
"""This example demonstrates recipe basics. Usage: $ hpccm.py --recipe recipes/examples/basic.py --format docker # hpccm.py --recipe recipes/examples/basic.py --format singularity """ # Choose a base image Stage0.baseimage('ubuntu:16.04') # Install GNU compilers (upstream) Stage0 += apt_get(ospackages=['gcc', 'g++',...
25.692308
66
0.724551
44
334
5.477273
0.75
0.058091
0.107884
0.165975
0.340249
0.340249
0.340249
0.340249
0
0
0
0.02027
0.113772
334
12
67
27.833333
0.793919
0.691617
0
0
0
0
0.273684
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
36ebf7a261becd9782b9d4c8cdfd4116c4ee3381
361
py
Python
app/app/tests.py
dviron27/django
33121921b0fa1c7053ae346c8676d76ffff246fc
[ "MIT" ]
null
null
null
app/app/tests.py
dviron27/django
33121921b0fa1c7053ae346c8676d76ffff246fc
[ "MIT" ]
null
null
null
app/app/tests.py
dviron27/django
33121921b0fa1c7053ae346c8676d76ffff246fc
[ "MIT" ]
null
null
null
from django.test import TestCase from app.calc import add, subtract class CalcTest(TestCase): def test_add_numbers(self): """Test that two numbers are added together""" self.assertEqual(add(3,8), 11) def test_sub_numbers(self): """ Test that two numbers are subtracted together""" ...
25.785714
60
0.68144
50
361
4.84
0.56
0.057851
0.123967
0.157025
0.264463
0.264463
0.264463
0
0
0
0
0.028169
0.213296
361
13
61
27.769231
0.823944
0.238227
0
0
0
0
0
0
0
0
0
0
0.285714
1
0.285714
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
36f4b0d0d2f4c994ceb97c3fd25a84cc221e5cb1
6,092
py
Python
mosqito/functions/shared/conversion.py
sedurCode/MoSQITo
c6cbeb0d45a8445af51935c7c6b46dd1df71f7d6
[ "Apache-2.0" ]
74
2020-04-22T08:56:29.000Z
2022-03-28T17:02:12.000Z
mosqito/functions/shared/conversion.py
sedurCode/MoSQITo
c6cbeb0d45a8445af51935c7c6b46dd1df71f7d6
[ "Apache-2.0" ]
36
2020-08-24T08:12:38.000Z
2022-03-29T15:52:01.000Z
mosqito/functions/shared/conversion.py
sedurCode/MoSQITo
c6cbeb0d45a8445af51935c7c6b46dd1df71f7d6
[ "Apache-2.0" ]
26
2020-04-24T12:44:40.000Z
2022-03-19T06:21:37.000Z
# -*- coding: utf-8 -*- """ Created on Mon Nov 16 11:02:48 2020 @author: wantysal """ # Standard import import numpy as np # ----------------------------------Pa <-> dB----------------------------------- def db2amp(dB, ref=1): """Linearisation of a SPL level in dB Parameters ---------- dB : numpy.a...
19.401274
83
0.37738
564
6,092
4.037234
0.363475
0.02635
0.022837
0.016689
0.435661
0.409311
0.366271
0.366271
0.366271
0.366271
0
0.207591
0.502626
6,092
313
84
19.463259
0.543894
0.288739
0
0.596154
0
0
0.016569
0
0
0
0
0
0
1
0.024038
false
0
0.004808
0
0.052885
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
36f6e8b715d73cd87187a7b1bcbfdf7a67734492
7,627
py
Python
nbs/index.py
huangyingw/fastai_fastai
68ff76a21b2f70f44fb91885abcb73c1c213ec1a
[ "Apache-2.0" ]
1
2022-02-06T22:11:10.000Z
2022-02-06T22:11:10.000Z
nbs/index.py
huangyingw/fastai_fastai
68ff76a21b2f70f44fb91885abcb73c1c213ec1a
[ "Apache-2.0" ]
null
null
null
nbs/index.py
huangyingw/fastai_fastai
68ff76a21b2f70f44fb91885abcb73c1c213ec1a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # formats: ipynb,py # split_at_heading: true # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.6.0 # kernelspec: # display_name: Python 3 # language: python # ...
66.321739
769
0.755343
1,190
7,627
4.821008
0.394958
0.010458
0.017082
0.024403
0.084016
0.062751
0.020568
0.013247
0.013247
0
0
0.008804
0.151173
7,627
114
770
66.903509
0.877201
0.964075
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
36fcfa76ff8c0fb18903e500c78e34e01d19ba36
886
py
Python
app/models/product.py
ludolatin/ludolatin
0d4ca703564d7958f61e87f19cb2f594dabefd3f
[ "MIT" ]
22
2018-01-08T00:14:29.000Z
2022-01-22T04:07:24.000Z
app/models/product.py
ludolatin/ludolatin
0d4ca703564d7958f61e87f19cb2f594dabefd3f
[ "MIT" ]
27
2017-07-27T10:17:27.000Z
2019-02-06T22:50:56.000Z
app/models/product.py
merelinguist/ingenuity
0d4ca703564d7958f61e87f19cb2f594dabefd3f
[ "MIT" ]
5
2017-07-27T10:14:18.000Z
2021-07-19T11:56:42.000Z
from flask_login import current_user from ._base_model import BaseModel from app import db class Product(db.Model, BaseModel): id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(32)) description = db.Column(db.String(128)) price = db.Column(db.String(16)) purchases = db.relati...
27.6875
82
0.697517
117
886
5.111111
0.444444
0.080268
0.100334
0.133779
0.063545
0
0
0
0
0
0
0.020979
0.193002
886
31
83
28.580645
0.815385
0
0
0.083333
0
0
0.032731
0
0
0
0
0
0
1
0.166667
false
0
0.125
0.125
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
0
1
1
0
0
2
7fc77acd84f0c6b48a1bf06f9a5629f62b5aba92
785
py
Python
tests/test_ini_files.py
exhuma/config_resolver
f9beb89a0403607180b7eb77ef223978bbe67d4a
[ "MIT" ]
1
2015-11-05T18:31:54.000Z
2015-11-05T18:31:54.000Z
tests/test_ini_files.py
exhuma/config_resolver
f9beb89a0403607180b7eb77ef223978bbe67d4a
[ "MIT" ]
63
2015-01-27T13:15:42.000Z
2021-06-07T06:50:59.000Z
tests/test_ini_files.py
exhuma/config_resolver
f9beb89a0403607180b7eb77ef223978bbe67d4a
[ "MIT" ]
1
2020-05-12T18:12:03.000Z
2020-05-12T18:12:03.000Z
""" Tests the default "INI" file handler. """ import unittest from configparser import ConfigParser from textwrap import dedent from common import CommonTests from config_resolver.handler.ini import IniHandler class IniTest(CommonTests, unittest.TestCase): HANDLER_CLASS = IniHandler TEST_FILENAME = "test.in...
23.787879
60
0.68535
89
785
5.898876
0.505618
0.038095
0
0
0
0
0
0
0
0
0
0.001634
0.220382
785
32
61
24.53125
0.856209
0.047134
0
0
0
0
0.071429
0
0
0
0
0
0
1
0.105263
false
0
0.263158
0.105263
0.947368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
7fca69fb2bc512eeef50e1884442553ad2e24ed6
170
py
Python
sqrt.py
fairoz-ahmed/Python_Practice
e498f81fca02f0773f1c6e9f93e5f1cf1f94eb89
[ "MIT" ]
null
null
null
sqrt.py
fairoz-ahmed/Python_Practice
e498f81fca02f0773f1c6e9f93e5f1cf1f94eb89
[ "MIT" ]
null
null
null
sqrt.py
fairoz-ahmed/Python_Practice
e498f81fca02f0773f1c6e9f93e5f1cf1f94eb89
[ "MIT" ]
null
null
null
def sqrte(n): for i in range(n): if n==i*i: print(float(i)) break return float(i) p=input("Enter a number : ") sqrte(p)
17
29
0.458824
26
170
3
0.653846
0.153846
0
0
0
0
0
0
0
0
0
0
0.4
170
9
30
18.888889
0.764706
0
0
0
0
0
0.10559
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7fce1b56509612aa79facd7cd0825760f197f313
1,956
py
Python
tests/test_molecule_write_pdb.py
kbsezginel/angstrom
793fd05b9bf27cab50d5c292fe63f685ea767d6d
[ "BSD-3-Clause" ]
15
2018-04-26T18:34:02.000Z
2022-01-25T09:37:35.000Z
tests/test_molecule_write_pdb.py
kbsezginel/angstrom
793fd05b9bf27cab50d5c292fe63f685ea767d6d
[ "BSD-3-Clause" ]
13
2018-07-31T17:26:10.000Z
2020-05-15T05:07:05.000Z
tests/test_molecule_write_pdb.py
kbsezginel/angstrom
793fd05b9bf27cab50d5c292fe63f685ea767d6d
[ "BSD-3-Clause" ]
4
2020-01-15T08:31:54.000Z
2022-03-03T16:43:15.000Z
""" --- Ångström --- Tests writing molecule object. """ from angstrom import Molecule import filecmp import os import pytest benzene_pdb = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'benzene.pdb') benzene_bonds_pdb = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'benzene_bonds.pdb') benzene_a...
41.617021
98
0.671268
296
1,956
4.266892
0.202703
0.055424
0.028504
0.015835
0.858274
0.858274
0.675376
0.632621
0.606492
0.525732
0
0.112694
0.174335
1,956
46
99
42.521739
0.66935
0.208078
0
0.222222
0
0
0.061211
0.014637
0
0
0
0
0.074074
1
0.074074
false
0
0.148148
0
0.222222
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7fdb762254cc567bdbedece2e37d9edffc0a7504
1,637
py
Python
userController.py
SaulMen/prueba2
068ded33d450affa1ae1df9682af175af8e381a3
[ "Apache-2.0" ]
null
null
null
userController.py
SaulMen/prueba2
068ded33d450affa1ae1df9682af175af8e381a3
[ "Apache-2.0" ]
null
null
null
userController.py
SaulMen/prueba2
068ded33d450affa1ae1df9682af175af8e381a3
[ "Apache-2.0" ]
null
null
null
from usuario import usuario import json class userController: #Constructor def __init__(self): self.usuarios = [] self.contador_id = 0 #Método para hacer login def login(self, user_name, user_pass): for usr in self.usuarios: if usr.autenticar(user_name, user_pass)...
29.232143
104
0.581552
212
1,637
4.382075
0.306604
0.129171
0.06028
0.09042
0.333692
0.312164
0.258342
0.07535
0.07535
0.07535
0
0.001833
0.333537
1,637
56
104
29.232143
0.849679
0.155162
0
0.351351
0
0
0.085029
0
0
0
0
0.017857
0
1
0.189189
false
0.108108
0.054054
0.027027
0.486486
0.081081
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
7fdc625c27fdc318be9750114982cb0f447d0ddb
1,645
py
Python
Algorithm.Python/BasicTemplateLibrary.py
szymanskilukasz/Lean
fe2ac131af2d0614494e5c970a57d4b7c89d5f88
[ "Apache-2.0" ]
8
2018-08-17T08:38:56.000Z
2022-02-27T20:52:30.000Z
Algorithm.Python/BasicTemplateLibrary.py
szymanskilukasz/Lean
fe2ac131af2d0614494e5c970a57d4b7c89d5f88
[ "Apache-2.0" ]
30
2020-03-16T07:27:37.000Z
2021-05-17T05:51:04.000Z
Algorithm.Python/BasicTemplateLibrary.py
szymanskilukasz/Lean
fe2ac131af2d0614494e5c970a57d4b7c89d5f88
[ "Apache-2.0" ]
5
2019-01-10T22:33:50.000Z
2021-09-26T08:49:57.000Z
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
35
92
0.741033
228
1,645
5.350877
0.570175
0.04918
0.021311
0.02623
0.022951
0.022951
0
0
0
0
0
0.008863
0.1769
1,645
46
93
35.76087
0.891433
0.631003
0
0
0
0
0.127717
0.059783
0
0
0
0
0
0
null
null
0
0.333333
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
1
0
0
0
0
2
3d005fdc3b13f9d4962030a9b06a4d8326d826da
4,676
py
Python
djangosaml2idp/migrations/0001_initial.py
ossobv/djangosaml2idp
71e65e28cff8e83d1a77325396784c879906d962
[ "Apache-2.0" ]
2
2018-11-14T07:44:24.000Z
2018-11-19T01:01:58.000Z
djangosaml2idp/migrations/0001_initial.py
ossobv/djangosaml2idp
71e65e28cff8e83d1a77325396784c879906d962
[ "Apache-2.0" ]
null
null
null
djangosaml2idp/migrations/0001_initial.py
ossobv/djangosaml2idp
71e65e28cff8e83d1a77325396784c879906d962
[ "Apache-2.0" ]
1
2018-12-19T22:02:34.000Z
2018-12-19T22:02:34.000Z
# Generated by Django 2.2.9 on 2020-02-05 21:13 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ServiceProvider', fields=[ ('id', models.Au...
101.652174
593
0.689264
622
4,676
4.996785
0.273312
0.070785
0.031853
0.042471
0.31982
0.314028
0.28314
0.252252
0.230373
0.140283
0
0.044929
0.167023
4,676
45
594
103.911111
0.753017
0.009624
0
0.052632
1
0.157895
0.519983
0.054223
0
0
0
0
0.026316
1
0
false
0
0.052632
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3d13f74186fa04a4110520e71d33c55812c6895a
469
py
Python
filenames/file_managers/__init__.py
jprashant21/ElNeuKGQA
ebafa0a3d3e779e487a665fabc4f9ed50f21f134
[ "MIT" ]
null
null
null
filenames/file_managers/__init__.py
jprashant21/ElNeuKGQA
ebafa0a3d3e779e487a665fabc4f9ed50f21f134
[ "MIT" ]
null
null
null
filenames/file_managers/__init__.py
jprashant21/ElNeuKGQA
ebafa0a3d3e779e487a665fabc4f9ed50f21f134
[ "MIT" ]
null
null
null
from .file_manager import FileManager from .entity_linking import EntityLinkingFiles from .query_template import QueryTemplateGenerationFiles from .slot_filling import SlotFillingFiles from .question_answering import QuestionAnsweringFiles from .query_generation import QueryGenerationFiles __all__ = [ 'FileManage...
29.3125
56
0.816631
37
469
10.081081
0.540541
0.048257
0
0
0
0
0
0
0
0
0
0
0.1258
469
16
57
29.3125
0.909756
0
0
0
0
0
0.244681
0.106383
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
1
null
0
0
0
0
0
0
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
2
3d175e0847bb44e4b91712b686148da19135ab5b
51,282
py
Python
py/lukai/proto/github/com/luk_ai/lukai/protobuf/aggregatorpb/aggregator_pb2.py
d4l3k/lukai
d9bce91a98367cb4daa8d99421885aa2816499ad
[ "MIT" ]
23
2017-09-11T21:04:47.000Z
2022-03-22T14:36:19.000Z
py/lukai/proto/github/com/luk_ai/lukai/protobuf/aggregatorpb/aggregator_pb2.py
d4l3k/lukai
d9bce91a98367cb4daa8d99421885aa2816499ad
[ "MIT" ]
10
2019-12-16T20:59:48.000Z
2022-02-09T23:44:30.000Z
py/lukai/proto/github/com/luk_ai/lukai/protobuf/aggregatorpb/aggregator_pb2.py
d4l3k/lukai
d9bce91a98367cb4daa8d99421885aa2816499ad
[ "MIT" ]
4
2018-05-31T20:29:22.000Z
2019-03-15T02:45:14.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: github.com/luk-ai/lukai/protobuf/aggregatorpb/aggregator.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _des...
38.043027
4,747
0.757498
6,050
51,282
6.127769
0.069256
0.036037
0.043158
0.026704
0.640035
0.575028
0.560543
0.524775
0.516144
0.505165
0
0.043967
0.114309
51,282
1,347
4,748
38.071269
0.772259
0.034086
0
0.620634
1
0.010561
0.175918
0.123258
0
0
0
0
0
1
0
false
0
0.007311
0
0.007311
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3d20c5f4be5c2101c2482b81e0695b8f83a1f193
5,002
py
Python
contractor_plugins/IPMI/module.py
T3kton/contractor_plugins
a42c87f4d0713b2a461739f528f92fa572a7fec7
[ "MIT" ]
null
null
null
contractor_plugins/IPMI/module.py
T3kton/contractor_plugins
a42c87f4d0713b2a461739f528f92fa572a7fec7
[ "MIT" ]
null
null
null
contractor_plugins/IPMI/module.py
T3kton/contractor_plugins
a42c87f4d0713b2a461739f528f92fa572a7fec7
[ "MIT" ]
2
2017-05-05T03:39:11.000Z
2018-05-11T13:06:25.000Z
from contractor.tscript.runner import ExternalFunction, Pause MAX_POWER_SET_ATTEMPTS = 5 class link_test( ExternalFunction ): def __init__( self, foundation, *args, **kwargs ): super().__init__( *args, **kwargs ) self.connection_paramaters = foundation.connection_paramaters self.count = 20 self.sc...
29.597633
166
0.679728
620
5,002
5.270968
0.172581
0.128519
0.124847
0.053244
0.599449
0.568543
0.509792
0.499694
0.370257
0.347613
0
0.009287
0.203519
5,002
168
167
29.77381
0.810994
0.061775
0
0.504202
0
0
0.08666
0
0
0
0
0.005952
0
1
0.268908
false
0
0.008403
0.12605
0.487395
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
3d265f8d296323f6e74f9cfe4f0fb7df5681c07c
754
py
Python
openmmtools/constants.py
yihengwuKP/openmmtools
8bf446742f75acb4008e51c0a102bb7f314d1da3
[ "MIT" ]
1
2019-11-01T14:22:57.000Z
2019-11-01T14:22:57.000Z
openmmtools/constants.py
yihengwuKP/openmmtools
8bf446742f75acb4008e51c0a102bb7f314d1da3
[ "MIT" ]
1
2019-06-13T08:27:54.000Z
2019-06-13T08:27:54.000Z
openmmtools/constants.py
yihengwuKP/openmmtools
8bf446742f75acb4008e51c0a102bb7f314d1da3
[ "MIT" ]
null
null
null
from math import pi try: import openmm.unit as u except ImportError: # OpenMM < 7.6 import simtk.unit as u kB = u.BOLTZMANN_CONSTANT_kB * u.AVOGADRO_CONSTANT_NA # OpenMM constant for Coulomb interactions in OpenMM units # (openmm/platforms/reference/include/SimTKOpenMMRealType.h) # TODO: Replace this with an...
39.684211
90
0.761273
123
754
4.552846
0.617886
0.048214
0.091071
0.101786
0
0
0
0
0
0
0
0.067901
0.140584
754
18
91
41.888889
0.796296
0.408488
0
0
0
0
0
0
0
0
0
0.055556
0
1
0
false
0
0.363636
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
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
3d34db27aa6b776d472031cd9a9856a7512b8040
3,904
py
Python
tests/testproject/tests.py
seebass/drf-nested-fields
0588459cedfe805a1279ce0437b3dd13fde7d2a8
[ "MIT" ]
11
2015-06-30T00:11:21.000Z
2019-12-10T00:45:18.000Z
tests/testproject/tests.py
seebass/drf-nested-fields
0588459cedfe805a1279ce0437b3dd13fde7d2a8
[ "MIT" ]
3
2015-06-30T00:36:52.000Z
2021-06-10T17:43:44.000Z
tests/testproject/tests.py
seebass/drf-nested-fields
0588459cedfe805a1279ce0437b3dd13fde7d2a8
[ "MIT" ]
3
2015-09-29T09:06:05.000Z
2019-03-23T10:27:05.000Z
from django.test import TestCase from .models import TestResource, RelatedResource1, RelatedResource2 class NestedFieldsTest(TestCase): def setUp(self): self.related_resource_1 = RelatedResource1.objects.create(name="Related-Resource1") self.nested_related_resource_1_1 = RelatedResource1.objects....
69.714286
124
0.753586
509
3,904
5.383104
0.090373
0.229927
0.145985
0.109489
0.759854
0.686861
0.564964
0.538686
0.524818
0.507299
0
0.030539
0.144467
3,904
55
125
70.981818
0.78982
0
0
0.4
0
0
0.10041
0.043289
0
0
0
0
0.54
1
0.06
false
0
0.04
0
0.12
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
1
0
0
0
0
0
0
0
0
0
2
3d3f51c05a2a37f87ce7e728ed7d8cbd551bb93d
303
py
Python
punchline/settings/test.py
ychab/punchline
0054fd1a0c588173c9963714477b012579c13051
[ "MIT" ]
null
null
null
punchline/settings/test.py
ychab/punchline
0054fd1a0c588173c9963714477b012579c13051
[ "MIT" ]
null
null
null
punchline/settings/test.py
ychab/punchline
0054fd1a0c588173c9963714477b012579c13051
[ "MIT" ]
null
null
null
from .base import * EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' # Boost perf a little PASSWORD_HASHERS = ( 'django.contrib.auth.hashers.MD5PasswordHasher', ) INSTALLED_APPS += ( 'punchline.core.tests.dummy', ) try: from .local import * except ImportError: pass
15.947368
64
0.716172
35
303
6.114286
0.857143
0
0
0
0
0
0
0
0
0
0
0.003968
0.168317
303
18
65
16.833333
0.845238
0.062706
0
0
0
0
0.414894
0.414894
0
0
0
0
0
1
0
false
0.25
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
3d4ff4d7200b067b308d3f2f6bb7793b5af637b2
1,832
py
Python
encrypt.py
alecande11/python-AES-encryptor
4f726ee483c27c6f5709e47605bde54b1b52eb8d
[ "MIT" ]
null
null
null
encrypt.py
alecande11/python-AES-encryptor
4f726ee483c27c6f5709e47605bde54b1b52eb8d
[ "MIT" ]
null
null
null
encrypt.py
alecande11/python-AES-encryptor
4f726ee483c27c6f5709e47605bde54b1b52eb8d
[ "MIT" ]
null
null
null
# AES 256 encryption/decryption using pycryptodome library from base64 import b64encode import hashlib from Cryptodome.Cipher import AES import os from Cryptodome.Random import get_random_bytes import getpass import json def encrypt(plain_text, password): # generate a random salt salt = get_random_bytes(AES.b...
27.343284
83
0.646288
254
1,832
4.590551
0.444882
0.017153
0.034305
0.036021
0
0
0
0
0
0
0
0.020337
0.221616
1,832
66
84
27.757576
0.797335
0.110262
0
0.142857
0
0
0.163793
0
0
0
0
0.015152
0
1
0.020408
false
0.122449
0.142857
0
0.183673
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
1
0
0
0
0
1
0
0
0
0
0
2
3d512d66a8eb50b95eb44abae318d7f4fa414c6e
381
py
Python
week_2/18_lesson.py
SekachVitaliy/Python
4d199a571cfedca51ec6e724e4d8c98e086e984d
[ "Unlicense" ]
null
null
null
week_2/18_lesson.py
SekachVitaliy/Python
4d199a571cfedca51ec6e724e4d8c98e086e984d
[ "Unlicense" ]
null
null
null
week_2/18_lesson.py
SekachVitaliy/Python
4d199a571cfedca51ec6e724e4d8c98e086e984d
[ "Unlicense" ]
null
null
null
# Даны три целых числа. Определите, сколько среди них совпадающих. Программа должна вывести одно из чисел: 3 (если # все совпадают), 2 (если два совпадает) или 0 (если все числа различны). a, b, c = int(input()), int(input()), int(input()) if a == b: if a == c: print(3) else: print(2) elif b == ...
25.4
114
0.60105
62
381
3.693548
0.548387
0.104803
0.09607
0.139738
0
0
0
0
0
0
0
0.028169
0.254593
381
14
115
27.214286
0.778169
0.48294
0
0.416667
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.416667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
2
3d5a554ee5cdcb4add686ca8de750f5271bfa064
487
py
Python
tests/test_colors.py
ggrrin/python-concur
585ea8557a28178682dde2e6e430ae51bd2e66fd
[ "MIT" ]
40
2019-10-24T12:58:23.000Z
2020-12-13T20:22:41.000Z
tests/test_colors.py
ggrrin/python-concur
585ea8557a28178682dde2e6e430ae51bd2e66fd
[ "MIT" ]
33
2020-01-27T18:42:06.000Z
2020-11-19T22:13:46.000Z
tests/test_colors.py
ggrrin/python-concur
585ea8557a28178682dde2e6e430ae51bd2e66fd
[ "MIT" ]
4
2019-11-25T14:37:29.000Z
2021-12-22T13:49:41.000Z
from concur.colors import color_to_rgba, color_to_rgba_tuple def test_color_eq(): assert color_to_rgba('cyan') == color_to_rgba((0, 1, 1)) assert color_to_rgba(0x004080c0) == color_to_rgba((0.751, 0.501, 0.251, 0)) assert color_to_rgba(('cyan', 0.5)) == color_to_rgba((0, 1, 1, 0.5)) # roundtrip f...
40.583333
98
0.632444
105
487
2.704762
0.314286
0.077465
0.387324
0.112676
0.285211
0.137324
0.038732
0.038732
0.038732
0.038732
0
0.144608
0.162218
487
11
99
44.272727
0.551471
0.01848
0
0
0
0
0.016842
0
0
0
0.021053
0
0.571429
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
3d5af0d39bac3429447be6a7fc107d29d1067362
348
py
Python
other/dingding/dingtalk/api/rest/OapiMaterialArticleUpdateRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
other/dingding/dingtalk/api/rest/OapiMaterialArticleUpdateRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
other/dingding/dingtalk/api/rest/OapiMaterialArticleUpdateRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
''' Created by auto_sdk on 2019.06.28 ''' from dingtalk.api.base import RestApi class OapiMaterialArticleUpdateRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.article = None self.unionid = None def getHttpMethod(self): return 'POST' def getapiname(self): return 'dingtalk.oa...
21.75
48
0.755747
46
348
5.521739
0.652174
0.062992
0.086614
0
0
0
0
0
0
0
0
0.026403
0.12931
348
15
49
23.2
0.811881
0.094828
0
0
0
0
0.13355
0.120521
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
3d5bdd65a4c1ea9355912c50c9a972f38f49e100
261
py
Python
tasks/migrations/0008_task_id.py
xaviroz01/Django_To_Do_List_API
ee68aba042a4e0f585ef6fd79a5b7bbbd3f80c12
[ "MIT" ]
null
null
null
tasks/migrations/0008_task_id.py
xaviroz01/Django_To_Do_List_API
ee68aba042a4e0f585ef6fd79a5b7bbbd3f80c12
[ "MIT" ]
null
null
null
tasks/migrations/0008_task_id.py
xaviroz01/Django_To_Do_List_API
ee68aba042a4e0f585ef6fd79a5b7bbbd3f80c12
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-11-02 16:34 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('tasks', '0007_auto_20211102_1941'), ] operations = [ ]
16.3125
47
0.67433
33
261
5.242424
0.848485
0
0
0
0
0
0
0
0
0
0
0.151961
0.218391
261
15
48
17.4
0.696078
0.172414
0
0
1
0
0.130841
0.107477
0
0
0
0
0
1
0
false
0
0.25
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
e9e40e14eda9ecb91171de44d8801e6728e470e1
56
py
Python
wellregistry/wellregistry/__init__.py
mbucknell/well_registry_management
2003eae38300d7a9e765fe90a239079eebc6ae00
[ "CC0-1.0" ]
null
null
null
wellregistry/wellregistry/__init__.py
mbucknell/well_registry_management
2003eae38300d7a9e765fe90a239079eebc6ae00
[ "CC0-1.0" ]
null
null
null
wellregistry/wellregistry/__init__.py
mbucknell/well_registry_management
2003eae38300d7a9e765fe90a239079eebc6ae00
[ "CC0-1.0" ]
null
null
null
""" Well Registry project """ __version__ = '0.3.0dev'
9.333333
24
0.642857
7
56
4.571429
1
0
0
0
0
0
0
0
0
0
0
0.06383
0.160714
56
5
25
11.2
0.617021
0.375
0
0
0
0
0.307692
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e9ec3f7a6eca32b4e132ee8ada0196f47b33caad
751
py
Python
stats/cache.py
shelfworthy/django-stats
a4f235bb7c7d202b937ad8807da7cb575ec8ae0e
[ "BSD-3-Clause" ]
1
2015-07-07T07:42:48.000Z
2015-07-07T07:42:48.000Z
stats/cache.py
shelfworthy/django-stats
a4f235bb7c7d202b937ad8807da7cb575ec8ae0e
[ "BSD-3-Clause" ]
null
null
null
stats/cache.py
shelfworthy/django-stats
a4f235bb7c7d202b937ad8807da7cb575ec8ae0e
[ "BSD-3-Clause" ]
null
null
null
import logging from django.db.models import Sum from stats.cache_wrapper import Cache from stats.models import DataPoint log = logging.getLogger('stats.cache') def stat_total(key, update=0): def function(): log.debug('getting total stat count for key %s (not cached)...' % key) return DataPoint.o...
26.821429
78
0.683089
113
751
4.424779
0.504425
0.048
0.048
0
0
0
0
0
0
0
0
0.001736
0.233023
751
28
79
26.821429
0.866319
0.155792
0
0
0
0
0.129747
0
0
0
0
0.035714
0
1
0.166667
false
0.055556
0.222222
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
1
0
0
0
0
1
0
0
0
0
0
2
e9f9e0eb21094f981b45df960aec855eac7738ec
1,895
py
Python
cloudmesh/piazza/piazza.py
cloudmesh/piazza
aa603643fb8dd39cda6fc96fc3f13658aabe486e
[ "Apache-2.0" ]
6
2017-04-21T20:20:08.000Z
2021-01-12T16:59:54.000Z
cloudmesh/piazza/piazza.py
cloudmesh/piazza
aa603643fb8dd39cda6fc96fc3f13658aabe486e
[ "Apache-2.0" ]
null
null
null
cloudmesh/piazza/piazza.py
cloudmesh/piazza
aa603643fb8dd39cda6fc96fc3f13658aabe486e
[ "Apache-2.0" ]
null
null
null
"""Piazza Miner Usage: piazza.py get <folder> [--comments] piazza.py show <visual> [--folder=<folder> --chart=<chart>] piazza.py folders piazza.py posts <cids> [--comments] piazza.py history (--user=<user>|--uid=<uid>) [--detailed --comments] piazza.py completion (--user=<user>|--uid=<uid>) ...
33.839286
117
0.600528
225
1,895
5
0.431111
0.135111
0.039111
0.049778
0.058667
0.058667
0
0
0
0
0
0
0.266491
1,895
55
118
34.454545
0.809353
0.922427
0
0
0
0
0.057143
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
1807502fe7188904601598694832cb84ec687ddc
2,352
py
Python
betubedl/quality_constant.py
WEIHAITONG1/better-youtubedl
2885f0fa68b076dee78f6af50438657187f27534
[ "MIT-0" ]
5
2017-09-26T12:59:51.000Z
2019-12-14T22:25:35.000Z
betubedl/quality_constant.py
WEIHAITONG1/better-youtubedl
2885f0fa68b076dee78f6af50438657187f27534
[ "MIT-0" ]
null
null
null
betubedl/quality_constant.py
WEIHAITONG1/better-youtubedl
2885f0fa68b076dee78f6af50438657187f27534
[ "MIT-0" ]
null
null
null
# -*- coding: utf-8 -*- # YouTube质量和解码器ID。 QUALITY_PROFILES = { # flash 5: ('flv', '240p', 'Sorenson H.263', 'N/A', '0.25', 'MP3', '64'), # 3gp 17: ('3gp', '144p', 'MPEG-4 Visual', 'Simple', '0.05', 'AAC', '24'), 36: ('3gp', '240p', 'MPEG-4 Visual', 'Simple', '0.17', 'AAC', '38'), # webm 4...
40.551724
72
0.402211
339
2,352
2.769912
0.315634
0.068158
0.063898
0.031949
0.097977
0.059638
0.059638
0.031949
0
0
0
0.22598
0.207908
2,352
58
73
40.551724
0.278046
0.032738
0
0
0
0
0.378307
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
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
18123b9d8cc7c242d678114d182a4deeb5709ac7
698
py
Python
const.py
lfhohmann/gcp-weather-and-forecast-scraper
3c7b54605d05c3eb945448d771b13d9cf74f965b
[ "MIT" ]
null
null
null
const.py
lfhohmann/gcp-weather-and-forecast-scraper
3c7b54605d05c3eb945448d771b13d9cf74f965b
[ "MIT" ]
null
null
null
const.py
lfhohmann/gcp-weather-and-forecast-scraper
3c7b54605d05c3eb945448d771b13d9cf74f965b
[ "MIT" ]
null
null
null
CONFIG_PATH = "/home/lfhohmann/gcp-weather-and-forecast-scraper/config.yaml" GOOGLE_DB_TABLE = "google_forecast" GOOGLE_URL = "https://www.google.com/search?hl=en&lr=lang_en&ie=UTF-8&q=weather" GOOGLE_HEADER = { "User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0", "Lang...
41.058824
126
0.730659
112
698
4.383929
0.517857
0.028513
0.044807
0.089613
0.179226
0.179226
0.179226
0
0
0
0
0.087302
0.097421
698
16
127
43.625
0.692063
0
0
0.142857
0
0.214286
0.667622
0.117479
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
18124409e2ae733af5572562da2a568385f7bec6
411
py
Python
setup.py
RabbitSrc/rabbit-youtube
c6ae5d42ad627643ecd34f022193ee5ae130be42
[ "Apache-2.0" ]
null
null
null
setup.py
RabbitSrc/rabbit-youtube
c6ae5d42ad627643ecd34f022193ee5ae130be42
[ "Apache-2.0" ]
null
null
null
setup.py
RabbitSrc/rabbit-youtube
c6ae5d42ad627643ecd34f022193ee5ae130be42
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup(name='rabbit_youtube', version='0.1.1', description='rabbit youtube utils', author='Guoliang Li', author_email='dev@liguoliang.com', url='http://guliang-dev.github.io/rabbit-youtube', packages=['rabbit_youtube'], scripts=['scripts/rabbit-yout...
31.615385
56
0.656934
47
411
5.659574
0.702128
0.244361
0
0
0
0
0
0
0
0
0
0.009036
0.192214
411
13
57
31.615385
0.792169
0
0
0
0
0
0.434466
0.06068
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
182102eca027b4ed1269f63f27ed4b455628ed0d
6,833
py
Python
src/core/documentation/overview.py
thomasmf/nomenine
ead48185b150fdc07a5019499511f696c5326d45
[ "MIT" ]
1
2015-10-21T14:31:10.000Z
2015-10-21T14:31:10.000Z
src/core/documentation/overview.py
thomasmf/nomenine
ead48185b150fdc07a5019499511f696c5326d45
[ "MIT" ]
null
null
null
src/core/documentation/overview.py
thomasmf/nomenine
ead48185b150fdc07a5019499511f696c5326d45
[ "MIT" ]
null
null
null
DOC_CHAPTER( header = 'Overview', text = """ $DOC_PURPOSE( This chapter gives an overview of syntax and semantics without going into any details. ) $DOC_HEADER( Expressions ) Nomenine syntax does not look very different from most languages: $DOC_CODE( someNumber + 1 ) Expressions uses parenthesis: $DOC_COD...
28.352697
148
0.732914
1,105
6,833
4.457919
0.257014
0.05542
0.010962
0.008526
0.044255
0.015022
0.015022
0.015022
0
0
0
0.008035
0.198595
6,833
240
149
28.470833
0.891527
0
0
0.088757
0
0.071006
0.992678
0.0041
0
0
0
0
0
1
0
true
0
0.005917
0
0.005917
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
1
0
0
0
0
0
0
2
18272f0b2dff2de6ac4ce823b75675c47c1c0ec8
35,788
py
Python
pysnmp-with-texts/XYLAN-FRAME-RELAY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/XYLAN-FRAME-RELAY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/XYLAN-FRAME-RELAY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module XYLAN-FRAME-RELAY-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XYLAN-FRAME-RELAY-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:45:03 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (def...
153.596567
3,604
0.800352
4,159
35,788
6.886511
0.10339
0.059495
0.104116
0.010474
0.589609
0.452254
0.374638
0.358472
0.334276
0.331273
0
0.048727
0.091092
35,788
232
3,605
154.258621
0.831776
0.009389
0
0
0
0.137778
0.324747
0.013233
0
0
0
0
0
1
0
false
0
0.031111
0
0.031111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
182eca5829c76854397fafc741a9f3e5f11710af
3,213
py
Python
RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/ixreporter/reportgeneration/reportgeneration.py
ralfjon/IxNetwork
c0c834fbc465af69c12fd6b7cee4628baba7fff1
[ "MIT" ]
null
null
null
RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/ixreporter/reportgeneration/reportgeneration.py
ralfjon/IxNetwork
c0c834fbc465af69c12fd6b7cee4628baba7fff1
[ "MIT" ]
null
null
null
RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/ixreporter/reportgeneration/reportgeneration.py
ralfjon/IxNetwork
c0c834fbc465af69c12fd6b7cee4628baba7fff1
[ "MIT" ]
null
null
null
# Copyright 1997 - 2018 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, p...
32.13
158
0.737006
424
3,213
5.514151
0.445755
0.037639
0.027374
0.037639
0.070145
0.027374
0
0
0
0
0
0.004992
0.189542
3,213
99
159
32.454545
0.892857
0.629318
0
0.121212
0
0
0.090996
0
0
0
0
0
0
1
0.30303
false
0
0.060606
0
0.575758
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2