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
c672359b45efa6151393818a79bb9dc7ff2215c1
1,995
py
Python
mirror_dropbox.py
serggres/othodi
2b8c24592ad4ccae2a4492fb1e6ba2e518b0d993
[ "MIT" ]
null
null
null
mirror_dropbox.py
serggres/othodi
2b8c24592ad4ccae2a4492fb1e6ba2e518b0d993
[ "MIT" ]
null
null
null
mirror_dropbox.py
serggres/othodi
2b8c24592ad4ccae2a4492fb1e6ba2e518b0d993
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import time, os, sys from time import strftime if __name__ == "__main__": local_file_fname = 'cities_from_dropbox.txt' print(os.path.abspath(local_file_fname)) import dropboxm dropbox_filename = '/othodi/cities_few.txt' dc = dropboxm.DropboxConnection(copy2clipboa...
39.117647
108
0.506767
226
1,995
4.247788
0.340708
0.121875
0.0875
0.053125
0.3125
0.235417
0.179167
0.15
0.070833
0
0
0.003284
0.389474
1,995
51
109
39.117647
0.784893
0.161905
0
0.114286
0
0
0.091191
0.040943
0
0
0
0
0
1
0
false
0.057143
0.085714
0
0.085714
0.085714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c6742666a6f39e5431ea993adc7564855e98bd49
912
py
Python
eLegislative/elegislative_app/migrations/0036_attendance.py
lloydgarcia77/eLMS_San_Pedro_Laguna
dd6b59ba971301a8af40f262db1f651b7a7a6e0f
[ "MIT" ]
null
null
null
eLegislative/elegislative_app/migrations/0036_attendance.py
lloydgarcia77/eLMS_San_Pedro_Laguna
dd6b59ba971301a8af40f262db1f651b7a7a6e0f
[ "MIT" ]
null
null
null
eLegislative/elegislative_app/migrations/0036_attendance.py
lloydgarcia77/eLMS_San_Pedro_Laguna
dd6b59ba971301a8af40f262db1f651b7a7a6e0f
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-07-14 14:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('elegislative_app', '0035_orderofbusiness'), ] operations = [ migrations.Cr...
35.076923
167
0.645833
100
912
5.7
0.61
0.042105
0.049123
0.077193
0
0
0
0
0
0
0
0.027143
0.232456
912
25
168
36.48
0.787143
0.049342
0
0
1
0
0.138728
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c675c9ab2cff783a71bd75ec25e0128c1e17cf65
10,924
py
Python
cmdb_sdk/api/object_relation/create_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
cmdb_sdk/api/object_relation/create_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
cmdb_sdk/api/object_relation/create_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: create.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 impo...
47.086207
971
0.747895
1,455
10,924
5.316151
0.122337
0.061021
0.059729
0.059729
0.725533
0.66128
0.603232
0.58022
0.575307
0.575307
0
0.040495
0.127426
10,924
231
972
47.290043
0.770982
0.028927
0
0.657005
1
0.004831
0.211415
0.173774
0
0
0
0
0
1
0
false
0
0.028986
0
0.028986
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c67b1d71f09fb642ff201a4301ff8ddb052e5588
478
py
Python
setup.py
CameronLonsdale/torch
601f6af47a2cd55355d39dee018a1c491b6564c9
[ "MIT" ]
9
2017-05-08T07:44:20.000Z
2022-02-23T03:14:44.000Z
setup.py
CameronLonsdale/torch
601f6af47a2cd55355d39dee018a1c491b6564c9
[ "MIT" ]
2
2017-06-08T05:55:35.000Z
2017-08-26T05:04:23.000Z
setup.py
CameronLonsdale/torch
601f6af47a2cd55355d39dee018a1c491b6564c9
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup( name="torch-crypto", version='0.1.1', description="Command-line Cryptanalysis", author='Cameron Lonsdale', author_email='cameron.lonsdale@gmail.com', url='https://github.com/CameronLonsdale/torch', license='MIT', install_require...
21.727273
51
0.617155
56
478
5.196429
0.75
0.013746
0
0
0
0
0
0
0
0
0
0.021164
0.209205
478
21
52
22.761905
0.748677
0.041841
0
0
0
0
0.415755
0.056893
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c686eb2edca46730582cd9cad0f71c909acda387
752
py
Python
tests/test_settings.py
vanderh0ff/ychaos
5148c889912b744ee73907e4dd30c9ddb851aeb3
[ "Apache-2.0" ]
8
2021-07-21T15:37:48.000Z
2022-03-03T14:43:09.000Z
tests/test_settings.py
vanderh0ff/ychaos
5148c889912b744ee73907e4dd30c9ddb851aeb3
[ "Apache-2.0" ]
102
2021-07-20T16:08:29.000Z
2022-03-25T07:28:37.000Z
tests/test_settings.py
vanderh0ff/ychaos
5148c889912b744ee73907e4dd30c9ddb851aeb3
[ "Apache-2.0" ]
8
2021-07-20T13:37:46.000Z
2022-02-18T01:44:52.000Z
# Copyright 2021, Yahoo # Licensed under the terms of the Apache 2.0 license. See the LICENSE file in the project root for terms from unittest import TestCase from ychaos.settings import ApplicationSettings, ProdSettings, Settings class TestSettings(TestCase): def test_settings_with_no_config_creates_ProdSetti...
37.6
105
0.772606
88
752
6.352273
0.522727
0.037567
0.080501
0.067979
0
0
0
0
0
0
0
0.009569
0.166223
752
19
106
39.578947
0.881978
0.166223
0
0
0
0
0.022472
0
0
0
0
0
0.25
1
0.25
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c68ae2a6a7035295c6ee56eb8714204760746773
10,779
py
Python
plotdevice/util/readers.py
plotdevice/plotdevice
598f66a19cd58b8cfea8295024998b322ed66adf
[ "MIT" ]
110
2015-01-17T03:22:51.000Z
2022-02-12T06:04:27.000Z
plotdevice/util/readers.py
Jason-Cooke/plotdevice
598f66a19cd58b8cfea8295024998b322ed66adf
[ "MIT" ]
38
2015-01-02T01:06:59.000Z
2021-10-05T06:34:42.000Z
plotdevice/util/readers.py
Jason-Cooke/plotdevice
598f66a19cd58b8cfea8295024998b322ed66adf
[ "MIT" ]
17
2015-04-28T17:29:03.000Z
2021-07-11T21:26:25.000Z
# encoding: utf-8 import os, sys, re from operator import attrgetter PY2 = sys.version_info[0] == 2 # files & io from io import open, StringIO, BytesIO from os.path import abspath, dirname, exists, join, splitext from plotdevice import DeviceError, INTERNAL text_type = str if not PY2 else unicode # data formats impor...
35.810631
109
0.616384
1,469
10,779
4.451327
0.282505
0.006729
0.007646
0.006423
0.088546
0.068512
0.049549
0.028445
0.028445
0.015599
0
0.008901
0.25995
10,779
300
110
35.93
0.810831
0.082568
0
0.100478
0
0
0.061889
0.003221
0
0
0.00069
0
0
0
null
null
0
0.076555
null
null
0.004785
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c694c52ae8cf13a9612938573a3aabf95b49d77d
1,524
py
Python
profiles_api/serializers.py
NiteshTuladhar/Profiles-REST-API
fc215eea0b1ddfead7298c93345c4bbca9213fcf
[ "MIT" ]
null
null
null
profiles_api/serializers.py
NiteshTuladhar/Profiles-REST-API
fc215eea0b1ddfead7298c93345c4bbca9213fcf
[ "MIT" ]
null
null
null
profiles_api/serializers.py
NiteshTuladhar/Profiles-REST-API
fc215eea0b1ddfead7298c93345c4bbca9213fcf
[ "MIT" ]
null
null
null
from rest_framework import serializers from profiles_api import models class HelloSerializer(serializers.Serializer): """Serializes a name field for testing our APIView""" name = serializers.CharField(max_length=10) class UserProfileSerializer(serializers.ModelSerializer): """Serializes a user profile object"...
29.882353
170
0.735564
198
1,524
5.555556
0.5
0.04
0.065455
0.036364
0
0
0
0
0
0
0
0.001565
0.161417
1,524
50
171
30.48
0.859155
0.09252
0
0.076923
0
0
0.149438
0
0
0
0
0
0
1
0.038462
false
0.153846
0.076923
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c69802cee362760d1f8e7c95d1f44475b25a221e
862
py
Python
svm_hard_with_scipy.py
Yao-Shao/Maching-Learning-only-with-Numpy
8e86f96d8be278b97b16d6f0235cd86dca97db29
[ "MIT" ]
null
null
null
svm_hard_with_scipy.py
Yao-Shao/Maching-Learning-only-with-Numpy
8e86f96d8be278b97b16d6f0235cd86dca97db29
[ "MIT" ]
null
null
null
svm_hard_with_scipy.py
Yao-Shao/Maching-Learning-only-with-Numpy
8e86f96d8be278b97b16d6f0235cd86dca97db29
[ "MIT" ]
null
null
null
import numpy as np from scipy import optimize def obj(w): return 0.5 * np.sum(w ** 2) def get_num(X, y, w): ''' return # of suport vectors ''' eps = 1e-5 return np.sum(w.T @ X - y - 1 < eps) def cons_fun(w, X, y): return np.squeeze(w.T @ X * y - 1) def svm(X, y): ''' SVM Support vector ma...
22.684211
71
0.562645
146
862
3.294521
0.417808
0.02079
0.024948
0.016632
0.02079
0
0
0
0
0
0
0.027287
0.277262
862
37
72
23.297297
0.744783
0
0
0
0
0
0.027223
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c6a00323874506c9d432556f387f7272a6d0dc30
625
py
Python
tests/fixtures/op_fixtures.py
pschelle/pyonepassword
2258c0fa851ad6a63c4f959982a66c715706b654
[ "MIT" ]
12
2019-08-11T09:08:47.000Z
2022-03-18T22:10:12.000Z
tests/fixtures/op_fixtures.py
pschelle/pyonepassword
2258c0fa851ad6a63c4f959982a66c715706b654
[ "MIT" ]
23
2019-09-13T20:16:12.000Z
2022-01-15T18:29:52.000Z
tests/fixtures/op_fixtures.py
pschelle/pyonepassword
2258c0fa851ad6a63c4f959982a66c715706b654
[ "MIT" ]
10
2020-03-10T19:49:35.000Z
2022-01-18T14:09:10.000Z
import os from pytest import fixture from pyonepassword import OP from .paths import RESP_DIRECTORY_PATH TEST_DATA_VAULT = "Test Data" OP_MASTER_PASSWORD = "made-up-password" ACCOUNT_SHORTHAND = "onepassword_username" def _get_signed_in_op(account_shorthand, default_vault=None): os.environ["MOCK_OP_RESPONSE_DIRE...
28.409091
117
0.7904
91
625
5.043956
0.395604
0.174292
0.065359
0.056645
0.126362
0.126362
0
0
0
0
0
0.001828
0.1248
625
21
118
29.761905
0.837294
0
0
0.125
0
0
0.1616
0.0768
0
0
0
0
0
1
0.125
false
0.25
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c6a42d0207e337c3d75d86131f0ee7bf819461a5
445
py
Python
git_wrap_opentree/__init__.py
OpenTreeOfLife/git_wrap_opentree
1608764561e523473f81f4460484cccee535f9a0
[ "BSD-2-Clause" ]
null
null
null
git_wrap_opentree/__init__.py
OpenTreeOfLife/git_wrap_opentree
1608764561e523473f81f4460484cccee535f9a0
[ "BSD-2-Clause" ]
null
null
null
git_wrap_opentree/__init__.py
OpenTreeOfLife/git_wrap_opentree
1608764561e523473f81f4460484cccee535f9a0
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Simple utility functions used by Open Tree python code. These function are used by packages that descend from peyotl, but do not depend on any part of peyotl. """ from __future__ import absolute_import, print_function, division __version__ = '0.0.1a0' # sync with setu...
21.190476
65
0.696629
64
445
4.59375
0.78125
0.040816
0
0
0
0
0
0
0
0
0
0.017045
0.208989
445
20
66
22.25
0.818182
0.496629
0
0
0
0
0.088372
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c6ac76f620f00f5fbde78f3ea0d4fa49fca3badb
253
py
Python
testpython.py
G00387859/programming-for-data-analysis-assignment
771e51889a855391911723f24e8665b2ad3eb922
[ "MIT" ]
null
null
null
testpython.py
G00387859/programming-for-data-analysis-assignment
771e51889a855391911723f24e8665b2ad3eb922
[ "MIT" ]
null
null
null
testpython.py
G00387859/programming-for-data-analysis-assignment
771e51889a855391911723f24e8665b2ad3eb922
[ "MIT" ]
null
null
null
import pandas as pd import matplotlib.pyplot as plt import matplotlib.dates as mdates df = pd.read_csv('owid-covid-data1.csv') dfs =df[['date','new_cases']] #dfs = dfs.fillna(0) dfs.plot(kind='bar') ##dfs['date'],dfs['new_cases']) #plt.show() dfs.show()
25.3
40
0.70751
44
253
4
0.568182
0.181818
0
0
0
0
0
0
0
0
0
0.008696
0.090909
253
10
41
25.3
0.756522
0.229249
0
0
0
0
0.1875
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c6ad81c665ad1f59646b55a46bf324e7451a6a5e
607
py
Python
migrations/versions/40337e48c56_confirmed_users.py
jykntr/wishapp
401d3030ab5abdad593db8a92789c64e0570404f
[ "MIT" ]
null
null
null
migrations/versions/40337e48c56_confirmed_users.py
jykntr/wishapp
401d3030ab5abdad593db8a92789c64e0570404f
[ "MIT" ]
null
null
null
migrations/versions/40337e48c56_confirmed_users.py
jykntr/wishapp
401d3030ab5abdad593db8a92789c64e0570404f
[ "MIT" ]
null
null
null
"""Confirmed users Revision ID: 40337e48c56 Revises: 184f80c6135 Create Date: 2015-03-31 16:42:04.761114 """ # revision identifiers, used by Alembic. revision = '40337e48c56' down_revision = '184f80c6135' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - pl...
22.481481
79
0.693575
74
607
5.648649
0.567568
0.064593
0.100478
0.110048
0.210526
0.210526
0.210526
0.210526
0
0
0
0.111332
0.171334
607
26
80
23.346154
0.719682
0.479407
0
0
0
0
0.176678
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c6ae66b7ccd9c4861913cc53de1732e4ba32d042
6,232
py
Python
src/models/user.py
marcelkornblum/monzo-duo
2af23a0d321064d1537d9de6eabbe49d31a0f9ef
[ "BSD-3-Clause" ]
null
null
null
src/models/user.py
marcelkornblum/monzo-duo
2af23a0d321064d1537d9de6eabbe49d31a0f9ef
[ "BSD-3-Clause" ]
9
2018-05-04T16:48:35.000Z
2018-05-13T22:05:37.000Z
src/models/user.py
marcelkornblum/monzo-duo
2af23a0d321064d1537d9de6eabbe49d31a0f9ef
[ "BSD-3-Clause" ]
null
null
null
# pylint: disable=E0401 import os from base64 import b64encode import calendar from datetime import datetime, timedelta from google.appengine.ext import ndb from google.appengine.ext.ndb import model import logging import monzo class User(ndb.Model): """Models an individual user""" refresh_token = ndb.String...
33.505376
126
0.575417
726
6,232
4.81405
0.269972
0.020029
0.015451
0.014306
0.237196
0.183405
0.132189
0.094421
0.094421
0.094421
0
0.008621
0.32991
6,232
185
127
33.686486
0.828305
0.147786
0
0.104348
0
0
0.057011
0
0
0
0
0
0
1
0.147826
false
0
0.069565
0.017391
0.504348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c6b0593b9ea0b331787c58331f29cb95ab25798e
796
py
Python
tests/build_small_spatialite_db.py
eyeseast/datasette
f4c5777c7e4ed406313583de09a3bf746552167f
[ "Apache-2.0" ]
5,978
2017-11-13T21:59:52.000Z
2022-03-31T12:10:42.000Z
tests/build_small_spatialite_db.py
eyeseast/datasette
f4c5777c7e4ed406313583de09a3bf746552167f
[ "Apache-2.0" ]
1,482
2017-11-13T21:19:43.000Z
2022-03-31T07:45:26.000Z
tests/build_small_spatialite_db.py
eyeseast/datasette
f4c5777c7e4ed406313583de09a3bf746552167f
[ "Apache-2.0" ]
439
2017-11-13T22:03:30.000Z
2022-03-30T08:00:39.000Z
import sqlite3 # This script generates the spatialite.db file in our tests directory. def generate_it(filename): conn = sqlite3.connect(filename) # Lead the spatialite extension: conn.enable_load_extension(True) conn.load_extension("/usr/local/lib/mod_spatialite.dylib") conn.execute("select InitS...
33.166667
88
0.723618
105
796
5.295238
0.628571
0.098921
0.061151
0.07554
0.122302
0.122302
0.122302
0
0
0
0
0.013514
0.163317
796
23
89
34.608696
0.821321
0.222362
0
0
1
0
0.404878
0.138211
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c6bc4c94e91d472aeb96c01a7d7b097344adec8d
6,400
py
Python
ede/ingest/ingest_only_meta.py
RDCEP/EDE
57f5d2f02868c5b7435c9c7f627458f0c795cd7a
[ "MIT" ]
2
2017-04-30T17:51:46.000Z
2021-01-12T10:02:44.000Z
ede/ingest/ingest_only_meta.py
RDCEP/EDE
57f5d2f02868c5b7435c9c7f627458f0c795cd7a
[ "MIT" ]
31
2016-03-03T14:23:25.000Z
2016-08-01T17:53:38.000Z
ede/ingest/ingest_only_meta.py
RDCEP/EDE
57f5d2f02868c5b7435c9c7f627458f0c795cd7a
[ "MIT" ]
null
null
null
import os, sys, time from netCDF4 import Dataset from osgeo import gdal import psycopg2 from psycopg2.extras import Json from ede.credentials import DB_NAME, DB_PASS, DB_PORT, DB_USER, DB_HOST from datetime import datetime, timedelta def main(in_filename, out_filename): ### Get meta data ### rootgrp = Dataset...
34.042553
151
0.574688
800
6,400
4.4575
0.2425
0.062815
0.025238
0.040381
0.262479
0.129277
0.094504
0.05917
0.045709
0.045709
0
0.010638
0.295
6,400
188
152
34.042553
0.779699
0.092969
0
0.268456
0
0.006711
0.112476
0
0
0
0
0
0
0
null
null
0.033557
0.04698
null
null
0.013423
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c6c20ec786ffbdaf1e6bc7ab030fe7e0f3ebb64b
4,780
py
Python
text_mining/generate_training_data.py
budiryan/ScholarsNet
b6a9f3830c390a4420e361752f0187d8f955acfe
[ "MIT" ]
9
2017-06-08T12:05:03.000Z
2021-11-08T12:19:46.000Z
text_mining/generate_training_data.py
budiryan/ScholarsNet
b6a9f3830c390a4420e361752f0187d8f955acfe
[ "MIT" ]
null
null
null
text_mining/generate_training_data.py
budiryan/ScholarsNet
b6a9f3830c390a4420e361752f0187d8f955acfe
[ "MIT" ]
null
null
null
# coding: utf-8 # In[7]: from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.naive_bayes import MultinomialNB import nltk import string import pandas as pd import numpy as np import sys import pickle import re import json # ## From 32 data sources, aggregate into a single file, then save it to...
35.147059
148
0.679289
548
4,780
5.875912
0.330292
0.079193
0.104969
0.113043
0.251242
0.123292
0.072981
0.072981
0.072981
0.04441
0
0.003299
0.175732
4,780
135
149
35.407407
0.813959
0.030962
0
0.039604
0
0
0.619965
0
0
0
0
0
0
1
0
false
0
0.09901
0
0.09901
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c6d151345d9d2202ed16199998100498a62af0e0
1,088
py
Python
wsapisite/example/creditform.py
ipgpay/python-wsapi-demo
aa98344e1c59b4905d7824009b8e750250f546e6
[ "MIT" ]
null
null
null
wsapisite/example/creditform.py
ipgpay/python-wsapi-demo
aa98344e1c59b4905d7824009b8e750250f546e6
[ "MIT" ]
null
null
null
wsapisite/example/creditform.py
ipgpay/python-wsapi-demo
aa98344e1c59b4905d7824009b8e750250f546e6
[ "MIT" ]
null
null
null
from django import forms import os from .wsapi import WSAPI # set these in some secure way in your environment rather than in source code. # os.environ['WSAPI_CLIENT_ID'] = '...' # os.environ['WSAPI_API_KEY'] = '...' # os.environ['WSAPI_API_HOST'] = 'https://my.ipgpay.com' class CreditForm(forms.Form): order_id...
29.405405
78
0.664522
144
1,088
4.763889
0.375
0.078717
0.061224
0.074344
0.113703
0
0
0
0
0
0
0
0.201287
1,088
36
79
30.222222
0.789413
0.188419
0
0
0
0
0.060364
0
0
0
0
0
0
1
0.136364
false
0
0.136364
0.045455
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c6d1b2a22c06c65cbf3233077807c197d875adf9
1,279
py
Python
bot/src/handler/commands/list.py
demidovakatya/telegram-channels-feed
a728bdd0d0f755aebbebe7b1877a37dc39f5e64d
[ "MIT" ]
37
2017-04-20T00:23:03.000Z
2022-03-17T05:19:46.000Z
bot/src/handler/commands/list.py
demidovakatya/telegram-channels-feed
a728bdd0d0f755aebbebe7b1877a37dc39f5e64d
[ "MIT" ]
51
2017-04-13T18:11:30.000Z
2021-05-25T10:04:45.000Z
bot/src/handler/commands/list.py
demidovakatya/telegram-channels-feed
a728bdd0d0f755aebbebe7b1877a37dc39f5e64d
[ "MIT" ]
7
2017-05-23T10:07:14.000Z
2021-12-16T20:00:20.000Z
from telegram.parsemode import ParseMode from typing import List as TList from src.component.config import subscriptions from src.domain.entities import Channel from src.exception.subscription_exception import GenericSubscriptionError from . import Base # TODO. Добавить пагинацию и возможность нажать кнопку отписать...
31.195122
113
0.644253
152
1,279
5.348684
0.585526
0.02583
0.059041
0.054121
0
0
0
0
0
0
0
0.003155
0.25645
1,279
40
114
31.975
0.851735
0.086787
0
0
0
0.033333
0.117496
0
0
0
0
0.025
0
1
0.066667
false
0
0.2
0
0.433333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c6d9dc1f8dc9600f7d05ecd41d92cb59dcc88f3f
1,506
py
Python
Closures_and_Decorators/Decorators_2-Name_Directory.py
NikolayVaklinov10/Python_Challenges
a1052e1d527004bbb6072a3cbc802065469f66ae
[ "MIT" ]
2
2019-11-01T23:57:34.000Z
2019-11-01T23:58:16.000Z
Closures_and_Decorators/Decorators_2-Name_Directory.py
NikolayVaklinov10/Python_Challenges
a1052e1d527004bbb6072a3cbc802065469f66ae
[ "MIT" ]
null
null
null
Closures_and_Decorators/Decorators_2-Name_Directory.py
NikolayVaklinov10/Python_Challenges
a1052e1d527004bbb6072a3cbc802065469f66ae
[ "MIT" ]
null
null
null
""" Let's use decorators to build a name directory! You are given some information about people. Each person has a first name, last name, age and sex. Print their names in a specific format sorted by their age in ascending order i.e. the youngest person's name should be printed first. For two people of the same age, p...
19.307692
268
0.711819
246
1,506
4.308943
0.47561
0.022642
0.024528
0.032075
0.049057
0.049057
0.049057
0
0
0
0
0.009291
0.213811
1,506
77
269
19.558442
0.88598
0.711819
0
0
0
0
0.048426
0
0
0
0
0
0
1
0.272727
false
0
0
0.090909
0.454545
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c6e176475dc393564593f4d7b50bcffd962d3346
1,457
py
Python
development/ml/models/emnist_sklearn_model.py
julioadl/mlCodebase
a7a3f9bd9333a040018d7e0865a9933e46d92712
[ "MIT" ]
1
2019-05-03T15:07:04.000Z
2019-05-03T15:07:04.000Z
development/ml/models/emnist_sklearn_model.py
julioadl/mlCodebase
a7a3f9bd9333a040018d7e0865a9933e46d92712
[ "MIT" ]
null
null
null
development/ml/models/emnist_sklearn_model.py
julioadl/mlCodebase
a7a3f9bd9333a040018d7e0865a9933e46d92712
[ "MIT" ]
null
null
null
from typing import Callable, Dict, Tuple from sklearn import svm, metrics import numpy as np import pathlib from sklearn.externals import joblib from .base import ModelSKLearn as Model from datasets.sklearn_digits import sklearnDigits from datasets.sequence import DatasetSequence DIRNAME = pathlib.Path('__file__').pa...
37.358974
137
0.73164
187
1,457
5.481283
0.42246
0.063415
0.058537
0
0
0
0
0
0
0
0
0.002488
0.172272
1,457
38
138
38.342105
0.84743
0
0
0
0
0
0.026081
0.015786
0
0
0
0
0
1
0.2
false
0
0.266667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c6ebf233161a9214d01ac380674e824be32d1a62
940
py
Python
awair/auth.py
ybbarng/awair
0b18e4159fc473cd57eff9584cb71200fed4e162
[ "MIT" ]
1
2019-05-22T12:38:42.000Z
2019-05-22T12:38:42.000Z
awair/auth.py
ybbarng/awair
0b18e4159fc473cd57eff9584cb71200fed4e162
[ "MIT" ]
null
null
null
awair/auth.py
ybbarng/awair
0b18e4159fc473cd57eff9584cb71200fed4e162
[ "MIT" ]
null
null
null
from awair.conn import AwairRequest, RequestException from awair.urls import AwairUrls class CredentialException(Exception): pass class Auth: def __init__(self, email=None, password=None, access_token=None): if not access_token: if email is None or password is None: raise...
33.571429
86
0.648936
103
940
5.776699
0.446602
0.166387
0.07563
0
0
0
0
0
0
0
0
0
0.265957
940
27
87
34.814815
0.862319
0
0
0
0
0
0.111702
0
0
0
0
0
0
1
0.090909
false
0.318182
0.090909
0
0.318182
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c6ecfac7b41da801aff4b9f568429716b5dde21a
386
py
Python
bot/channels/migrations/0002_auto_20200802_1236.py
sergei-maertens/discord-bot
29b8daa8c75a8a9ee292fc4f95eaba5f8a16850e
[ "MIT" ]
45
2015-12-29T23:14:43.000Z
2021-05-29T14:49:54.000Z
bot/channels/migrations/0002_auto_20200802_1236.py
sergei-maertens/discord-bot
29b8daa8c75a8a9ee292fc4f95eaba5f8a16850e
[ "MIT" ]
28
2016-02-16T21:34:15.000Z
2022-02-10T10:40:36.000Z
bot/channels/migrations/0002_auto_20200802_1236.py
sergei-maertens/discord-bot
29b8daa8c75a8a9ee292fc4f95eaba5f8a16850e
[ "MIT" ]
47
2016-01-06T20:42:02.000Z
2021-03-10T02:19:35.000Z
# Generated by Django 2.2.13 on 2020-08-02 10:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('channels', '0001_initial'), ] operations = [ migrations.AlterField( model_name='channel', name='discord_id', ...
20.315789
54
0.598446
40
386
5.7
0.825
0
0
0
0
0
0
0
0
0
0
0.072727
0.287565
386
18
55
21.444444
0.756364
0.119171
0
0
1
0
0.109467
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c6f09a2f4d7bd1cb32e90020f78b3bc1a65a1e46
9,023
py
Python
Arkansol.Analyse/IPADS_GraphX_Plot_Partition_2.py
larryxiao/spark
c82c736abb591b98d868e20f836c07366b6818e8
[ "Apache-2.0" ]
4
2015-05-07T17:31:21.000Z
2021-03-11T03:00:42.000Z
Arkansol.Analyse/IPADS_GraphX_Plot_Partition_2.py
larryxiao/spark
c82c736abb591b98d868e20f836c07366b6818e8
[ "Apache-2.0" ]
null
null
null
Arkansol.Analyse/IPADS_GraphX_Plot_Partition_2.py
larryxiao/spark
c82c736abb591b98d868e20f836c07366b6818e8
[ "Apache-2.0" ]
2
2017-03-17T11:18:47.000Z
2020-10-16T09:24:25.000Z
#! /usr/bin/env python ################################################################################# # File Name : IPADS_GraphX_Plot_Partition_2.py # Created By : xd # Creation Date : [2014-08-14 22:09] # Last Modified : [2014-08-14 22:11] # Descrip...
29.976744
277
0.624958
1,054
9,023
5.329222
0.325427
0.053409
0.038455
0.051273
0.59587
0.58857
0.58857
0.58857
0.57326
0.570411
0
0.257569
0.22764
9,023
300
278
30.076667
0.548429
0.081237
0
0.586873
0
0
0.213924
0
0
0
0
0
0
1
0.003861
false
0
0.011583
0
0.015444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c6f28a597053f5fc9cc480959acfe26b399ac9ce
236
py
Python
pyrpzirsensor/__main__.py
osoken/pyrpzirsensor
5e221348705856ec274b965bda5eb05626456a7c
[ "MIT" ]
null
null
null
pyrpzirsensor/__main__.py
osoken/pyrpzirsensor
5e221348705856ec274b965bda5eb05626456a7c
[ "MIT" ]
1
2019-12-08T05:54:54.000Z
2019-12-08T09:04:19.000Z
pyrpzirsensor/__main__.py
osoken/pyrpzirsensor
5e221348705856ec274b965bda5eb05626456a7c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from argparse import ArgumentParser from . server import gen_app parser = ArgumentParser(description='run RPZ-IR-Sensor server') args = parser.parse_args() app = gen_app() app.run(host=app.config['HOST'])
15.733333
63
0.716102
33
236
5.030303
0.606061
0.072289
0
0
0
0
0
0
0
0
0
0.004926
0.139831
236
14
64
16.857143
0.812808
0.088983
0
0
0
0
0.131455
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c6f42294ef97174a7eccca04ef006fd73947cd65
6,186
py
Python
contactnets/system/system.py
DAIRLab/contact-nets
b0e197cbb0ab5550628d71d851a6de1dab616fb6
[ "BSD-3-Clause" ]
16
2020-11-18T01:33:05.000Z
2022-02-15T17:52:55.000Z
contactnets/system/system.py
DAIRLab/contact-nets
b0e197cbb0ab5550628d71d851a6de1dab616fb6
[ "BSD-3-Clause" ]
null
null
null
contactnets/system/system.py
DAIRLab/contact-nets
b0e197cbb0ab5550628d71d851a6de1dab616fb6
[ "BSD-3-Clause" ]
1
2021-01-27T20:48:46.000Z
2021-01-27T20:48:46.000Z
from dataclasses import dataclass, field import pdb # noqa from typing import List, Tuple import torch from torch import Tensor from torch.nn import Module, ModuleList from contactnets.entity import Entity from contactnets.interaction import InteractionResolver from contactnets.utils import utils @dataclass class ...
37.041916
95
0.683802
787
6,186
5.278272
0.207116
0.054887
0.034425
0.046943
0.307174
0.285026
0.249157
0.203659
0.15118
0.123255
0
0.00551
0.237148
6,186
166
96
37.26506
0.874762
0.306822
0
0.068966
0
0
0
0
0
0
0
0
0.045977
1
0.183908
false
0
0.103448
0
0.517241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c6f89e0b438c503a2fe8898a039729fa8f0b425f
19,860
py
Python
_Mono_Framework/MonoClient.py
sanjaytime/AbletonMIDITwisterScripts
680227f79a3f46bb78634de873978c8c1e71681a
[ "MIT" ]
25
2015-02-02T21:41:51.000Z
2022-02-19T13:08:53.000Z
_Mono_Framework/MonoClient.py
sanjaytime/AbletonMIDITwisterScripts
680227f79a3f46bb78634de873978c8c1e71681a
[ "MIT" ]
null
null
null
_Mono_Framework/MonoClient.py
sanjaytime/AbletonMIDITwisterScripts
680227f79a3f46bb78634de873978c8c1e71681a
[ "MIT" ]
13
2015-10-25T04:44:09.000Z
2020-03-01T18:02:27.000Z
# by amounra : http://www.aumhaa.com from __future__ import with_statement import contextlib from _Framework.SubjectSlot import SubjectEvent from _Framework.Signal import Signal from _Framework.NotifyingControlElement import NotifyingControlElement from _Framework.Util import in_range from _Framework.Debug import debu...
27.506925
131
0.663444
3,107
19,860
3.9514
0.066302
0.045451
0.052456
0.045532
0.618066
0.547772
0.476419
0.416959
0.367924
0.353262
0
0.027064
0.188822
19,860
721
132
27.545076
0.735009
0.055337
0
0.40613
0
0
0.027483
0.003664
0
0
0
0
0
0
null
null
0.001916
0.021073
null
null
0.001916
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c6fb678e41ce592ee07b49c6f16799a5e4d5f0eb
3,615
py
Python
pythonizame/apps/videos/migrations/0001_initial.py
kiubtech/pythonizame
6483aa90859fc1bfbc01540efe4ffcf6fe87e450
[ "MIT" ]
6
2017-08-17T22:11:28.000Z
2021-12-23T13:31:28.000Z
pythonizame/apps/videos/migrations/0001_initial.py
kiubtech/pythonizame
6483aa90859fc1bfbc01540efe4ffcf6fe87e450
[ "MIT" ]
4
2018-04-04T21:02:52.000Z
2021-06-10T20:38:56.000Z
pythonizame/apps/videos/migrations/0001_initial.py
kiubtech/pythonizame
6483aa90859fc1bfbc01540efe4ffcf6fe87e450
[ "MIT" ]
3
2017-10-27T22:21:41.000Z
2019-09-27T17:38:58.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-06-14 02:51 from __future__ import unicode_literals import ckeditor_uploader.fields from django.conf import settings from django.db import migrations, models import django.db.models.deletion import pythonizame.apps.videos.models class Migration(migrations...
45.1875
176
0.59834
359
3,615
5.855153
0.339833
0.047098
0.033302
0.052331
0.452902
0.393435
0.32588
0.285918
0.198858
0.173644
0
0.018947
0.269986
3,615
79
177
45.759494
0.777567
0.019087
0
0.422535
1
0
0.153542
0
0
0
0
0
0
1
0
false
0
0.084507
0
0.140845
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
059fdeac644718379958b463df98e1f1984d93fb
501
py
Python
wordcount_locally_testable.py
elvissieux/EWR_playground
34918ed42e2e335094f09ef19ad4c12a4e0093d8
[ "MIT" ]
null
null
null
wordcount_locally_testable.py
elvissieux/EWR_playground
34918ed42e2e335094f09ef19ad4c12a4e0093d8
[ "MIT" ]
null
null
null
wordcount_locally_testable.py
elvissieux/EWR_playground
34918ed42e2e335094f09ef19ad4c12a4e0093d8
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys import re #change with a test file here filepath = "your_path_here" def main(argv): print argv pattern = re.compile("[a-zA-Z][a-zA-Z0-9]*") #switch between local and hadoop cluster prod (launch with any argument for local test) for line in [open(filepath), sys.stdin, ][...
23.857143
91
0.622754
74
501
4.081081
0.662162
0.019868
0
0
0
0
0
0
0
0
0
0.010444
0.235529
501
20
92
25.05
0.778068
0.259481
0
0
0
0
0.157609
0
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
05ac1ae76ed4dad94b071ab98b706211c0b37a78
26,239
py
Python
modules/ICMP.py
androdev4u/XFLTReaT
17d4ec857dd1b98d8f57fec2edc540fce7087b21
[ "MIT" ]
315
2017-08-25T04:17:56.000Z
2022-03-03T14:28:46.000Z
modules/ICMP.py
FDlucifer/XFLTReaT
17d4ec857dd1b98d8f57fec2edc540fce7087b21
[ "MIT" ]
8
2017-09-10T21:03:06.000Z
2020-01-24T15:48:58.000Z
modules/ICMP.py
FDlucifer/XFLTReaT
17d4ec857dd1b98d8f57fec2edc540fce7087b21
[ "MIT" ]
71
2017-08-25T06:01:43.000Z
2022-03-24T15:35:53.000Z
# MIT License # Copyright (c) 2017 Balazs Bucsay # 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, ...
34.892287
196
0.695453
3,637
26,239
4.838878
0.151773
0.020001
0.010455
0.015455
0.549179
0.510768
0.469743
0.433831
0.416444
0.412467
0
0.01578
0.20782
26,239
751
197
34.938748
0.830896
0.200351
0
0.561265
0
0
0.04758
0.005612
0
0
0.000192
0.001332
0
0
null
null
0.009881
0.041502
null
null
0.049407
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
05bf147ca493056c511161d484c3320484720a32
1,123
py
Python
discomll/tests/chunk_testdata.py
romanorac/discomll
a4703daffb2ba3c9f614bc3dbe45ae55884aea00
[ "Apache-2.0" ]
103
2015-01-02T23:45:18.000Z
2021-01-23T14:25:52.000Z
discomll/tests/chunk_testdata.py
romanorac/discomll
a4703daffb2ba3c9f614bc3dbe45ae55884aea00
[ "Apache-2.0" ]
null
null
null
discomll/tests/chunk_testdata.py
romanorac/discomll
a4703daffb2ba3c9f614bc3dbe45ae55884aea00
[ "Apache-2.0" ]
10
2015-01-02T23:48:12.000Z
2017-11-25T15:55:34.000Z
def chunk_testdata(): import discomll from disco import ddfs path = "/".join(discomll.__file__.split("/")[:-2] + ["discomll", "datasets", ""]) tags_chunk = ["test:breast_cancer_cont", "test:breast_cancer_cont_test", "test:breast_cancer_disc", "test:breast_cancer_disc_test", "test:ex3"...
53.47619
115
0.636687
140
1,123
4.75
0.3
0.144361
0.096241
0.108271
0.216541
0
0
0
0
0
0
0.016988
0.213713
1,123
20
116
56.15
0.736127
0
0
0
0
0
0.482636
0.341941
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
05c1d2f52387547325c4ed81b355eb52166492aa
2,740
py
Python
descarteslabs/workflows/types/primitives/tests/test_string.py
carderne/descarteslabs-python
757b480efb8d58474a3bf07f1dbd90652b46ed64
[ "Apache-2.0" ]
167
2017-03-23T22:16:58.000Z
2022-03-08T09:19:30.000Z
descarteslabs/workflows/types/primitives/tests/test_string.py
carderne/descarteslabs-python
757b480efb8d58474a3bf07f1dbd90652b46ed64
[ "Apache-2.0" ]
93
2017-03-23T22:11:40.000Z
2021-12-13T18:38:53.000Z
descarteslabs/workflows/types/primitives/tests/test_string.py
carderne/descarteslabs-python
757b480efb8d58474a3bf07f1dbd90652b46ed64
[ "Apache-2.0" ]
46
2017-03-25T19:12:14.000Z
2021-08-15T18:04:29.000Z
import operator import pytest from ...containers import Tuple, List from ..bool_ import Bool from ..number import Int from ..string import Str @pytest.mark.parametrize( "other, result_type, op, reflected", [ (Str(""), Str, operator.add, True), (Int(1), Str, operator.mul, False), (Str...
27.676768
69
0.486861
274
2,740
4.781022
0.368613
0.037405
0.054962
0.091603
0.087023
0.047328
0.047328
0
0
0
0
0.004552
0.278467
2,740
98
70
27.959184
0.658068
0.048175
0
0.075949
0
0
0.121107
0
0
0
0
0.010204
0.075949
1
0.063291
false
0
0.075949
0
0.139241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
05d111fab96f1129cdc555b0fa07fbc230073a98
3,601
py
Python
cpab/cpa2d/apps/landmarks/disp.py
freifeld/cpabDiffeo
22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6
[ "MIT" ]
17
2016-03-16T21:35:36.000Z
2021-11-11T04:16:21.000Z
cpab/cpa2d/apps/landmarks/disp.py
freifeld/cpabDiffeo
22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6
[ "MIT" ]
null
null
null
cpab/cpa2d/apps/landmarks/disp.py
freifeld/cpabDiffeo
22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6
[ "MIT" ]
4
2016-08-12T23:02:09.000Z
2019-03-14T18:20:36.000Z
#!/usr/bin/env python """ Created on Thu Mar 24 12:41:52 2016 Author: Oren Freifeld Email: freifeld@csail.mit.edu """ from pylab import plt import of.plt def disp(tw,theta,src,dst,transformed,level,use_subplots, scale_quiver): cpa_space = tw.ms.L_cpa_space[level] markersize=2 if use_subplots: ...
23.383117
76
0.594002
593
3,601
3.379427
0.204047
0.05988
0.082335
0.112275
0.687126
0.659681
0.659681
0.659681
0.647705
0.647705
0
0.03667
0.24271
3,601
154
77
23.383117
0.698203
0.075812
0
0.628571
0
0
0.033153
0
0
0
0
0
0
1
0.019048
false
0
0.019048
0
0.038095
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
05d27c1d1fcb4914e27600a226a85c4b3743be2c
2,210
py
Python
flask-masterclass/refatoracao/app/routes.py
HenriqueCCdA/FlaskMasterclassUdemy
2d29f04e1a3a5078a7485cea5c2bef3002e21dea
[ "MIT" ]
null
null
null
flask-masterclass/refatoracao/app/routes.py
HenriqueCCdA/FlaskMasterclassUdemy
2d29f04e1a3a5078a7485cea5c2bef3002e21dea
[ "MIT" ]
null
null
null
flask-masterclass/refatoracao/app/routes.py
HenriqueCCdA/FlaskMasterclassUdemy
2d29f04e1a3a5078a7485cea5c2bef3002e21dea
[ "MIT" ]
null
null
null
from datetime import timedelta from flask import flash, redirect, render_template, request, url_for from flask_login import login_required, login_user, logout_user from werkzeug.security import check_password_hash, generate_password_hash from app import db from app.models import User def init_app(app): @app.rou...
27.974684
76
0.605882
259
2,210
5.050193
0.239382
0.03211
0.077982
0.091743
0.214067
0.136086
0.136086
0.136086
0
0
0
0.000613
0.261991
2,210
78
77
28.333333
0.801349
0.008597
0
0.259259
0
0
0.106898
0.009593
0
0
0
0
0
1
0.12963
false
0.074074
0.111111
0
0.425926
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
05d5836a83f8ecf7d2c25ec1003926b70577a9f3
1,092
py
Python
eveask/app.py
adrien-f/eveask
fb5945e08d5b2e2e9fe51790e05a67d6b21ced0c
[ "BSD-3-Clause" ]
1
2020-01-08T20:49:02.000Z
2020-01-08T20:49:02.000Z
eveask/app.py
adrien-f/eveask
fb5945e08d5b2e2e9fe51790e05a67d6b21ced0c
[ "BSD-3-Clause" ]
null
null
null
eveask/app.py
adrien-f/eveask
fb5945e08d5b2e2e9fe51790e05a67d6b21ced0c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import os import logging from logging import Formatter from logging.handlers import RotatingFileHandler from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.assets import Environment from webassets.loaders import PythonLoader from eveask import assets app = Flask(_...
27.3
82
0.771978
147
1,092
5.612245
0.44898
0.053333
0.029091
0
0
0
0
0
0
0
0
0.001029
0.10989
1,092
39
83
28
0.847737
0.144689
0
0
0
0
0.127155
0.054957
0
0
0
0
0
1
0
false
0
0.346154
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
05d96eb5bdf14bcff2b64a6e814735fcbb8b3c30
201
py
Python
Codeforces/Educational Round43/B.py
lxdlam/ACM
cde519ef9732ff9e4e9e3f53c00fb30d07bdb306
[ "MIT" ]
1
2019-11-12T15:08:16.000Z
2019-11-12T15:08:16.000Z
Codeforces/Educational Round43/B.py
lxdlam/ACM
cde519ef9732ff9e4e9e3f53c00fb30d07bdb306
[ "MIT" ]
null
null
null
Codeforces/Educational Round43/B.py
lxdlam/ACM
cde519ef9732ff9e4e9e3f53c00fb30d07bdb306
[ "MIT" ]
1
2018-01-22T08:06:11.000Z
2018-01-22T08:06:11.000Z
n, m, k = map(int, input().split()) if k < n: print(k + 1, 1) else: k -= n r = n - k // (m - 1) if r & 1: print(r, m - k % (m - 1)) else: print(r, k % (m - 1) + 2)
16.75
35
0.348259
38
201
1.842105
0.342105
0.085714
0.128571
0
0
0
0
0
0
0
0
0.060345
0.422886
201
11
36
18.272727
0.543103
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.3
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
0
0
0
0
0
1
05dbc977e6fcf99c18d4d6ab9e2376db74cea401
2,341
py
Python
graphene_tornado/ext/apollo_engine_reporting/tests/snapshots/snap_test_engine_extension.py
graphql-python/graphene-tornado
2800ff581fd2edd665d2cf996e1601e7e892cb53
[ "MIT" ]
46
2018-11-08T22:43:55.000Z
2021-11-29T08:46:32.000Z
graphene_tornado/ext/apollo_engine_reporting/tests/snapshots/snap_test_engine_extension.py
dronedeploy/graphene-tornado
2800ff581fd2edd665d2cf996e1601e7e892cb53
[ "MIT" ]
12
2019-02-19T18:57:41.000Z
2020-04-12T04:15:49.000Z
graphene_tornado/ext/apollo_engine_reporting/tests/snapshots/snap_test_engine_extension.py
graphql-python/graphene-tornado
2800ff581fd2edd665d2cf996e1601e7e892cb53
[ "MIT" ]
9
2018-11-08T21:32:18.000Z
2021-02-04T23:10:02.000Z
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots[ "test_can_send_report_to_engine 1" ] = """{ "durationNs": "-1", "endTime": "2019-09-21T19:37:09.908919Z", "http": { "method": "...
21.675926
44
0.331482
137
2,341
5.591241
0.379562
0.073107
0.140992
0.150131
0.488251
0.396867
0.237598
0.237598
0.237598
0.237598
0
0.051783
0.496796
2,341
107
45
21.878505
0.598472
0.026484
0
0.465347
0
0
0.942004
0.039104
0
0
0
0
0
1
0
false
0
0.019802
0
0.019802
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
05dded870d57c1597668ec91629a3bd6d12ffa21
1,893
py
Python
python/SOLR.py
awangga/SOLR
0dcf2bcf75d305c9ff479b48139049de12c41e70
[ "MIT" ]
8
2017-12-30T21:13:32.000Z
2021-10-03T14:21:56.000Z
python/SOLR.py
awangga/SOLR
0dcf2bcf75d305c9ff479b48139049de12c41e70
[ "MIT" ]
2
2019-10-15T06:32:30.000Z
2019-10-15T06:46:18.000Z
python/SOLR.py
KamitaniLab/SOLR
cdd7a05547dc5d51ec5298338d44c0247e6984fe
[ "MIT" ]
6
2017-12-26T17:38:20.000Z
2021-08-05T04:19:51.000Z
# coding: utf-8 # In[25]: import numpy import SOLRsubfunc from sklearn.base import BaseEstimator, ClassifierMixin class SOLR(BaseEstimator, ClassifierMixin): def __init__(self): print "SOLR (sparse ordinal logistic regression)" def fit(self,feature,label): #feature: matrix, whose size is...
34.418182
126
0.602747
220
1,893
5.113636
0.445455
0.042667
0.045333
0.023111
0.197333
0.161778
0.161778
0.104889
0.104889
0.104889
0
0.017699
0.283677
1,893
54
127
35.055556
0.811947
0.175383
0
0.066667
0
0
0.076326
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
05eab3a7ec8b23cd23e6a7adf18ed33dc54ff50e
619
py
Python
example/example1-3.py
Kento75/python-unittest-learn
e2e3fe003007744588d73a6f845b22e6f29e664a
[ "MIT" ]
1
2018-06-02T00:55:57.000Z
2018-06-02T00:55:57.000Z
example/example1-3.py
Kento75/python-unittest-learn
e2e3fe003007744588d73a6f845b22e6f29e664a
[ "MIT" ]
null
null
null
example/example1-3.py
Kento75/python-unittest-learn
e2e3fe003007744588d73a6f845b22e6f29e664a
[ "MIT" ]
null
null
null
import unittest class MyTestCase(unittest.TestCase): def test_equal(self): result = 1 + 2 self.assertEqual(result, 3) def test_not_equal(self): result = 1 + 2 self.assertNotEqual(result, 10) def test_match_string(self): string = "Hello" + "World" self.asse...
21.344828
47
0.623586
70
619
5.257143
0.457143
0.095109
0.130435
0.086957
0.277174
0.11413
0
0
0
0
0
0.015317
0.261712
619
28
48
22.107143
0.789934
0
0
0.210526
0
0
0.084142
0
0.052632
0
0
0
0.263158
1
0.263158
false
0
0.052632
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
05ec300e35370143405218ed4ec02bb74cc91eb2
1,234
py
Python
blog/ramblings/allometry-toy-implementation.py
JPJ280/tectonicstheft
fe5d2fe1a6613fd1db44ed38a3439e860e2120c8
[ "CC-BY-4.0" ]
null
null
null
blog/ramblings/allometry-toy-implementation.py
JPJ280/tectonicstheft
fe5d2fe1a6613fd1db44ed38a3439e860e2120c8
[ "CC-BY-4.0" ]
null
null
null
blog/ramblings/allometry-toy-implementation.py
JPJ280/tectonicstheft
fe5d2fe1a6613fd1db44ed38a3439e860e2120c8
[ "CC-BY-4.0" ]
null
null
null
#🦕📏 1600 N/(2*pi*(4.5cm)^2) = 125kPa // human 70000 N/(4*pi*(21cm)^2) = 127kPa // elephant 19000 kN / (1*pi*(5.5m)^2) = 200kPa // general sherman 7000 kg / (980 kg/m^3) = 7.1m^3 // elephant volume (7.1m^3 *3/(4*pi))^(1/3) = 1.19 meters // elephant radius 4*pi*(1.19m)^2 = 17.8 meters^2 // elephant body surface area ...
33.351351
98
0.679092
207
1,234
3.903382
0.36715
0.081683
0.014851
0.032178
0
0
0
0
0
0
0
0.095837
0.162885
1,234
37
99
33.351351
0.684414
0.001621
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
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
05ee8a9a1af95dbb9126f3effbd414d2bff81675
8,915
py
Python
ofagent/indigo/submodules/infra/sourcegen/sourceobjectgen.py
lanpinguo/apple-sauce
b16e7b78e58d0d17ad7f05476f38704a6b519ece
[ "Apache-2.0" ]
1
2021-05-14T15:33:21.000Z
2021-05-14T15:33:21.000Z
ofagent/indigo/submodules/infra/sourcegen/sourceobjectgen.py
lanpinguo/apple-sauce
b16e7b78e58d0d17ad7f05476f38704a6b519ece
[ "Apache-2.0" ]
null
null
null
ofagent/indigo/submodules/infra/sourcegen/sourceobjectgen.py
lanpinguo/apple-sauce
b16e7b78e58d0d17ad7f05476f38704a6b519ece
[ "Apache-2.0" ]
2
2019-07-13T06:58:33.000Z
2022-03-23T03:02:57.000Z
#!/usr/bin/python ################################################################# # # Copyright 2013, Big Switch Networks, Inc. # # Licensed under the Eclipse Public License, Version 1.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License a...
30.118243
80
0.520695
943
8,915
4.853659
0.293743
0.012235
0.008739
0.009613
0.090452
0.070352
0.047192
0.047192
0.030151
0.017916
0
0.001768
0.365451
8,915
295
81
30.220339
0.807318
0.186876
0
0.194969
0
0
0.05736
0.02083
0
0
0
0
0
0
null
null
0.012579
0.081761
null
null
0.006289
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
05f9177bb4e30b7f28725ac42ed194a96e68dce1
7,202
py
Python
jakomics/hmm.py
jeffkimbrel/jakomics
7da6239d39cd78d6d47daf7188c20612167acc11
[ "MIT" ]
null
null
null
jakomics/hmm.py
jeffkimbrel/jakomics
7da6239d39cd78d6d47daf7188c20612167acc11
[ "MIT" ]
null
null
null
jakomics/hmm.py
jeffkimbrel/jakomics
7da6239d39cd78d6d47daf7188c20612167acc11
[ "MIT" ]
null
null
null
import os import re import pandas as pd from jakomics.utilities import system_call def test(): print("hmm module loaded correctly") class HMM: ''' class for a line of hmmer3 hmmsearch output ''' def __init__(self, line): split = line.split() self.parsed = split self.ge...
37.905263
379
0.563732
899
7,202
4.365962
0.228031
0.064204
0.061147
0.028025
0.252994
0.248153
0.207389
0.207389
0.207389
0.191592
0
0.033263
0.277839
7,202
189
380
38.10582
0.7214
0.03263
0
0.080292
0
0
0.109567
0.007382
0
0
0
0
0
1
0.153285
false
0.080292
0.029197
0.080292
0.277372
0.014599
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
05f9dc03484bd98e42c66de5149b44171f91fc31
534
py
Python
wandbox/__tsc__.py
srz-zumix/wandbox-api
009a5080f8b10068c203dce0b625dd9b38d9b046
[ "MIT" ]
6
2017-03-16T15:09:08.000Z
2022-01-11T02:19:36.000Z
wandbox/__tsc__.py
srz-zumix/wandbox-api
009a5080f8b10068c203dce0b625dd9b38d9b046
[ "MIT" ]
30
2020-04-20T12:21:28.000Z
2022-01-23T13:58:57.000Z
wandbox/__tsc__.py
srz-zumix/wandbox-api
009a5080f8b10068c203dce0b625dd9b38d9b046
[ "MIT" ]
2
2020-04-20T13:28:38.000Z
2020-05-30T11:26:02.000Z
from .cli import CLI from .__js__ import JsRunner class TscCLI(CLI): def __init__(self, compiler=None): super(TscCLI, self).__init__('TypeScript', compiler, False) def get_runner(self, args, options): runner = JsRunner(args.language, args.compiler, args.save, args.encoding, args.retry, args....
19.777778
110
0.662921
67
534
4.955224
0.507463
0.072289
0
0
0
0
0
0
0
0
0
0
0.209738
534
26
111
20.538462
0.78673
0
0
0
0
0
0.058052
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
05fc8fbaa97e1187e0e2f2abfb4f8cd73c340354
2,178
py
Python
colorsublime/commands.py
adrianebohrer/Colorsublime-Plugin
d2129b9a76e8a5855e3f8d1659a9fd0e54d588bd
[ "MIT" ]
495
2015-01-01T11:29:57.000Z
2022-02-08T13:06:58.000Z
colorsublime/commands.py
adrianebohrer/Colorsublime-Plugin
d2129b9a76e8a5855e3f8d1659a9fd0e54d588bd
[ "MIT" ]
29
2015-01-08T17:42:32.000Z
2021-05-26T19:46:07.000Z
colorsublime/commands.py
adrianebohrer/Colorsublime-Plugin
d2129b9a76e8a5855e3f8d1659a9fd0e54d588bd
[ "MIT" ]
80
2015-01-25T19:36:26.000Z
2022-01-30T16:40:19.000Z
""" Collection of functions the plugin can invoke. Most if not all should be non-blocking (@async) functions to keep the main UI thread from freezing. These functions should catch all unexpected exceptions so the plugin does not have to. Unexpected exceptions should return False. Expected exceptions should be caught b...
25.623529
78
0.709366
318
2,178
4.726415
0.333333
0.032601
0.046574
0.045243
0.038589
0.038589
0.038589
0
0
0
0
0
0.19146
2,178
84
79
25.928571
0.853492
0
0
0.122449
0
0
0.066026
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
af0136e1a613917e102216cc0f959ac1525697a8
4,616
py
Python
scripts/coalesce/coalesce.py
usnistgov/CDE
05137888a8ad67b0796814170ba61deef51bec03
[ "BSD-3-Clause" ]
4
2020-07-28T19:11:07.000Z
2021-09-24T07:00:39.000Z
scripts/coalesce/coalesce.py
usnistgov/CDE
05137888a8ad67b0796814170ba61deef51bec03
[ "BSD-3-Clause" ]
null
null
null
scripts/coalesce/coalesce.py
usnistgov/CDE
05137888a8ad67b0796814170ba61deef51bec03
[ "BSD-3-Clause" ]
2
2021-05-13T18:32:27.000Z
2021-11-15T09:07:33.000Z
# dependencies: bsdiff, md5sum import os, sys, stat from subprocess import * my_root = sys.argv[1] assert os.path.isdir(my_root) DEBUG = False # these files take forever to search thru and don't result in much savings ... ignores = ['__init__.py', '__init__.pyc'] # Key: base filename # Value: list of directories...
29.974026
106
0.632799
688
4,616
4.094477
0.28343
0.035144
0.038339
0.019879
0.330848
0.242812
0.215832
0.157614
0.157614
0.157614
0
0.007876
0.257366
4,616
153
107
30.169935
0.813886
0.242634
0
0.340206
0
0
0.075902
0
0
0
0
0.006536
0.010309
0
null
null
0.010309
0.020619
null
null
0.113402
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
af061ac8753440f7e22a236ecce3514cfa1d5110
631
py
Python
server/schemas/profile.py
msanvarov/flask-graphql-mongo-boilerplate
fcfdda3dccf8fe26d471cfddd862a41cc7afc200
[ "MIT" ]
10
2019-11-11T08:06:29.000Z
2021-05-02T16:34:42.000Z
server/schemas/profile.py
msanvarov/flask-graphql-mongo-boilerplate
fcfdda3dccf8fe26d471cfddd862a41cc7afc200
[ "MIT" ]
1
2019-11-18T06:21:50.000Z
2019-11-18T16:06:03.000Z
server/schemas/profile.py
msanvarov/flask-graphql-mongo-boilerplate
fcfdda3dccf8fe26d471cfddd862a41cc7afc200
[ "MIT" ]
1
2021-02-01T03:00:50.000Z
2021-02-01T03:00:50.000Z
from graphene import ObjectType, String, Boolean from server.utils.webtokens import encode_token class ProfileSchema(ObjectType): """ Profile Schema defining the types and relationship between Fields in your API. """ _id = String(required=True) username = String(required=True) name = Stri...
25.24
77
0.670365
73
631
5.684932
0.547945
0.086747
0.086747
0.081928
0.110843
0
0
0
0
0
0
0
0.22504
631
24
78
26.291667
0.848671
0.123613
0
0.133333
0
0
0.061914
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.866667
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
af09e3ef88530664be9c40b405ec1c3203995c8f
8,554
py
Python
dar/models.py
transparenciahackday/democratica
246e79931c3e314a269469e67da00c12af3a5818
[ "MIT" ]
3
2016-01-10T16:00:10.000Z
2018-03-13T09:21:33.000Z
dar/models.py
transparenciahackday/democratica
246e79931c3e314a269469e67da00c12af3a5818
[ "MIT" ]
null
null
null
dar/models.py
transparenciahackday/democratica
246e79931c3e314a269469e67da00c12af3a5818
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import datetime from django.db import models from django.utils.safestring import mark_safe from django.utils.datastructures import SortedDict from django.core.urlresolvers import reverse from django_extensions.db.fields.json import JSONField from django.shortcuts import re...
36.555556
115
0.572948
973
8,554
4.89517
0.221994
0.020575
0.018476
0.017846
0.337392
0.279236
0.239765
0.21667
0.21667
0.168801
0
0.009071
0.316928
8,554
233
116
36.712446
0.805579
0.009586
0
0.356436
0
0
0.063659
0.00496
0
0
0
0
0
0
null
null
0.004951
0.074257
null
null
0.004951
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
af0f34de1b9bebcb70e827b856a57f8bb6600152
1,918
py
Python
hijet/main.py
minazukie/hijet
cc296e9641ebf2d7e584ccc09d47067a4b37cee3
[ "Apache-2.0" ]
null
null
null
hijet/main.py
minazukie/hijet
cc296e9641ebf2d7e584ccc09d47067a4b37cee3
[ "Apache-2.0" ]
null
null
null
hijet/main.py
minazukie/hijet
cc296e9641ebf2d7e584ccc09d47067a4b37cee3
[ "Apache-2.0" ]
null
null
null
import argparse import os import pathlib import subprocess DEFAULT_IDE = "intellij idea" def generate_ide_map(): ides = { "pycharm": ("py", "pyc"), "webstorm": ("js", "css", "html", "less", "sass", "scss"), "goland": ("go",), "rubymine": ("rb",), "clion": ("c", "h", "cc", ...
23.390244
86
0.543274
245
1,918
4.073469
0.428571
0.03006
0.04509
0.02004
0
0
0
0
0
0
0
0.006623
0.291449
1,918
81
87
23.679012
0.727741
0
0
0.032258
1
0
0.130344
0
0
0
0
0
0
1
0.048387
false
0
0.064516
0
0.145161
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
af11c62d7133c45a6e2e4752020637056624e385
601
py
Python
maps/signals.py
agilman/django_maps2
b7eb0d4e74d049922898ebc23833be522a16b07d
[ "MIT" ]
null
null
null
maps/signals.py
agilman/django_maps2
b7eb0d4e74d049922898ebc23833be522a16b07d
[ "MIT" ]
null
null
null
maps/signals.py
agilman/django_maps2
b7eb0d4e74d049922898ebc23833be522a16b07d
[ "MIT" ]
null
null
null
#print("OK, imported signal handling") from registration.signals import user_registered import os from django_maps2 import settings #This callback is listening for user to register. Creates directories for user images. def postRegistration(sender,user,request, **kwargs): media_root = settings.USER_MEDIA_ROOT ...
31.631579
86
0.72213
79
601
5.367089
0.556962
0.106132
0.084906
0.113208
0.160377
0.160377
0.160377
0.160377
0.160377
0.160377
0
0.001992
0.164725
601
18
87
33.388889
0.842629
0.276206
0
0
0
0
0.046512
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
af1547638d67c0c094d9cff7ed844ed63c3fcf8a
830
py
Python
edfi_performance/tasks/pipeclean/discipline.py
Ed-Fi-Exchange-OSS/Suite-3-Performance-Testing
a15efafd5b209b6a82a84c7ee6bce215470dfd21
[ "Apache-2.0" ]
null
null
null
edfi_performance/tasks/pipeclean/discipline.py
Ed-Fi-Exchange-OSS/Suite-3-Performance-Testing
a15efafd5b209b6a82a84c7ee6bce215470dfd21
[ "Apache-2.0" ]
10
2021-03-20T05:02:17.000Z
2022-03-30T17:19:35.000Z
edfi_performance/tasks/pipeclean/discipline.py
Ed-Fi-Exchange-OSS/Ed-Fi-X-ODS-Performance
05678a2c8c314d69a5e6b9ed3040800835b91582
[ "Apache-2.0" ]
1
2022-03-25T09:09:32.000Z
2022-03-25T09:09:32.000Z
# SPDX-License-Identifier: Apache-2.0 # Licensed to the Ed-Fi Alliance under one or more agreements. # The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. # See the LICENSE and NOTICES files in the project root for more information. from edfi_performance.factories.descriptors.utils imp...
43.684211
112
0.793976
101
830
6.405941
0.663366
0.006182
0.021638
0.046368
0
0
0
0
0
0
0
0.006916
0.128916
830
18
113
46.111111
0.886584
0.308434
0
0
0
0
0.147887
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
af1787250a6adc4d9ad71d2cb9b8a7280c18c285
2,269
py
Python
src/shark/cli.py
twoodruff01/shark
6c183de1993492b614eff332548f5c0f57facda2
[ "Apache-2.0" ]
null
null
null
src/shark/cli.py
twoodruff01/shark
6c183de1993492b614eff332548f5c0f57facda2
[ "Apache-2.0" ]
null
null
null
src/shark/cli.py
twoodruff01/shark
6c183de1993492b614eff332548f5c0f57facda2
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 Thomas Woodruff # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agr...
33.367647
90
0.697664
332
2,269
4.671687
0.524096
0.05158
0.016763
0.020632
0.088975
0.088975
0.041264
0.041264
0
0
0
0.00977
0.233142
2,269
67
91
33.865672
0.881609
0.662406
0
0.130435
0
0
0.058565
0
0
0
0
0.014925
0
1
0.086957
false
0
0.086957
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
af19d0c239572bc35875c2bade01bd86f3b3c077
2,745
py
Python
oarepo_loose_validation/errors.py
oarepo/oarepo-loose-validation
b0196927e124e506242a56088ad92247cf74e1bc
[ "MIT" ]
null
null
null
oarepo_loose_validation/errors.py
oarepo/oarepo-loose-validation
b0196927e124e506242a56088ad92247cf74e1bc
[ "MIT" ]
null
null
null
oarepo_loose_validation/errors.py
oarepo/oarepo-loose-validation
b0196927e124e506242a56088ad92247cf74e1bc
[ "MIT" ]
null
null
null
"""Validation classes for various types of data.""" from __future__ import annotations import typing from marshmallow.validate import Length as MaLength from marshmallow.validate import Equal as MaEqual from marshmallow.validate import Regexp as MaRegexp from marshmallow.validate import Predicate as MaPredicate from ...
26.650485
109
0.745719
345
2,745
5.828986
0.289855
0.092989
0.125808
0.158628
0.335654
0.245152
0.211338
0.191944
0.055694
0.055694
0
0
0.167577
2,745
102
110
26.911765
0.880088
0.02878
0
0.037736
0
0
0.178947
0
0
0
0
0
0
1
0.056604
false
0
0.245283
0.018868
0.90566
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
af2a2b60f870facc1a1d4dbe17cab5b25529f278
36,131
py
Python
fiddle/database.py
bx/bootloader_instrumentation_suite
747e23895e77b09537d85d2d0434f5805365eed3
[ "MIT" ]
41
2017-05-02T07:57:19.000Z
2021-08-11T22:55:55.000Z
fiddle/database.py
bx/bootloader_instrumentation_suite
747e23895e77b09537d85d2d0434f5805365eed3
[ "MIT" ]
null
null
null
fiddle/database.py
bx/bootloader_instrumentation_suite
747e23895e77b09537d85d2d0434f5805365eed3
[ "MIT" ]
7
2017-05-05T07:55:07.000Z
2019-10-16T11:52:00.000Z
# MIT License # Copyright (c) 2017 Rebecca ".bx" Shapiro # 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,...
41.577675
144
0.536548
3,896
36,131
4.842402
0.13578
0.024807
0.01516
0.011661
0.35291
0.272077
0.208841
0.176402
0.152762
0.132089
0
0.010364
0.356398
36,131
868
145
41.625576
0.800937
0.076887
0
0.260347
0
0.00534
0.068708
0.00703
0
0
0.00033
0
0
0
null
null
0.00267
0.026702
null
null
0.013351
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
af2b2205bdb01ab0f233a69909175411042f0b9c
564
py
Python
fantasyStocks/stocksApi/signals.py
ddsnowboard/FantasyStocks
ebf4cee0fdf3b66b803e0456363c470ddc700027
[ "Apache-2.0" ]
null
null
null
fantasyStocks/stocksApi/signals.py
ddsnowboard/FantasyStocks
ebf4cee0fdf3b66b803e0456363c470ddc700027
[ "Apache-2.0" ]
51
2015-05-20T13:57:19.000Z
2018-07-28T03:48:15.000Z
fantasyStocks/stocksApi/signals.py
ddsnowboard/FantasyStocks
ebf4cee0fdf3b66b803e0456363c470ddc700027
[ "Apache-2.0" ]
1
2016-08-07T13:41:22.000Z
2016-08-07T13:41:22.000Z
from stocks.models import Trade from django.db.models.signals import post_save from .models import AndroidToken from django.dispatch import receiver @receiver(post_save, sender=Trade) def afterSaveTrade(sender, **kwargs): trade = kwargs["instance"] if not trade.recipient.isFloor(): if kwargs["created"]...
40.285714
110
0.693262
73
564
5.315068
0.561644
0.061856
0
0
0
0
0
0
0
0
0
0
0.18617
564
13
111
43.384615
0.845316
0
0
0
0
0
0.078014
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
af2d7ec106b962591a722f21190a52cfaf3c3a89
6,634
py
Python
tests/test_stats.py
almartin82/bayeslite
a27f243b5f16cc6a01e84336a829e5b65d665b7b
[ "Apache-2.0" ]
964
2015-09-24T15:02:05.000Z
2022-03-29T21:41:21.000Z
tests/test_stats.py
almartin82/bayeslite
a27f243b5f16cc6a01e84336a829e5b65d665b7b
[ "Apache-2.0" ]
435
2015-09-23T16:46:58.000Z
2020-04-19T12:32:03.000Z
tests/test_stats.py
almartin82/bayeslite
a27f243b5f16cc6a01e84336a829e5b65d665b7b
[ "Apache-2.0" ]
86
2015-10-24T20:08:30.000Z
2021-08-09T13:53:00.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2010-2016, MIT Probabilistic Computing Project # # 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/LICENS...
39.724551
76
0.646669
1,082
6,634
3.883549
0.213494
0.151357
0.126606
0.055688
0.415516
0.362208
0.345074
0.316278
0.231794
0.165159
0
0.185712
0.194001
6,634
166
77
39.963855
0.60015
0.235604
0
0.086538
0
0
0
0
0
0
0
0
0.644231
1
0.076923
false
0
0.038462
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
af2fd632afb4d482135ea93e253323191f1416da
660
py
Python
examples/imagenet/predict_cnf.py
SiddhantKapil/tefla
cff18fbaf5cde4ef55643978593cbcfcb35b3b37
[ "MIT" ]
3
2017-02-26T14:35:03.000Z
2020-04-26T23:06:36.000Z
examples/imagenet/predict_cnf.py
SiddhantKapil/tefla
cff18fbaf5cde4ef55643978593cbcfcb35b3b37
[ "MIT" ]
null
null
null
examples/imagenet/predict_cnf.py
SiddhantKapil/tefla
cff18fbaf5cde4ef55643978593cbcfcb35b3b37
[ "MIT" ]
1
2020-05-19T19:18:08.000Z
2020-05-19T19:18:08.000Z
from __future__ import division, print_function, absolute_import import tensorflow as tf from tefla.core.lr_policy import StepDecayPolicy from tefla.da.standardizer import SamplewiseStandardizer from tefla.utils import util cnf = { 'name': __name__.split('.')[-1], 'iterator_type': 'queued', # parallel or qu...
27.5
64
0.621212
78
660
4.961538
0.666667
0.069767
0
0
0
0
0
0
0
0
0
0.039293
0.228788
660
23
65
28.695652
0.721022
0.398485
0
0
0
0
0.101299
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
af378ea84dd0994ffd7b91d557f1cb62f9934fa5
723
py
Python
config.py
AlexanderGraf/TopicTool
582edea572f31046892f6bf12ebf49b735ea8694
[ "MIT" ]
null
null
null
config.py
AlexanderGraf/TopicTool
582edea572f31046892f6bf12ebf49b735ea8694
[ "MIT" ]
null
null
null
config.py
AlexanderGraf/TopicTool
582edea572f31046892f6bf12ebf49b735ea8694
[ "MIT" ]
null
null
null
"""Flask Config - This File is NOT used""" from os import environ, path from dotenv import load_dotenv basedir = path.abspath(path.dirname(__file__)) load_dotenv(path.join(basedir,".env")) class Config: """Base Config""" TESTING = True DEBUG = True FLASK_ENV = 'development' FLASK_APP = 'wsgi.py' ...
25.821429
67
0.721992
95
723
5.326316
0.715789
0.039526
0
0
0
0
0
0
0
0
0
0
0.188105
723
27
68
26.777778
0.86201
0.341632
0
0
0
0
0.130435
0.05
0
0
0
0
0
1
0
false
0
0.142857
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
af396142cf9dd05f2ccf4159662c4007e480ded1
389
py
Python
ch06/validate_deployment.py
PacktPublishing/Python-Networking-Cookbook
26945c781a51fe72cc01409df6b5c5fa7df53f4c
[ "MIT" ]
5
2021-06-11T11:24:04.000Z
2022-03-22T03:22:57.000Z
ch06/validate_deployment.py
PacktPublishing/Python-Networking-Cookbook
26945c781a51fe72cc01409df6b5c5fa7df53f4c
[ "MIT" ]
null
null
null
ch06/validate_deployment.py
PacktPublishing/Python-Networking-Cookbook
26945c781a51fe72cc01409df6b5c5fa7df53f4c
[ "MIT" ]
10
2021-04-18T12:31:14.000Z
2022-03-28T07:21:16.000Z
import napalm driver = napalm.get_network_driver("ios") conn_details = { "hostname" : '<insert host>', "username" : '<insert user>', "password" : '<insert password>', "optional_args": { "port": 22 # change if your port is different } } device = driver(**conn_details) device.open() out = d...
20.473684
53
0.652956
45
389
5.511111
0.688889
0.08871
0
0
0
0
0
0
0
0
0
0.006329
0.187661
389
18
54
21.611111
0.778481
0.082262
0
0
0
0
0.287324
0
0
0
0
0
0
1
0
false
0.066667
0.066667
0
0.066667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
af3d9f32874c11003685629a481f7412829d16ec
551
py
Python
Poliformismo/AnalistaContable.py
manu9812/programming-oriented-objets
650e22c8129299d69a4b3fc8722f861603a0302f
[ "Apache-2.0" ]
null
null
null
Poliformismo/AnalistaContable.py
manu9812/programming-oriented-objets
650e22c8129299d69a4b3fc8722f861603a0302f
[ "Apache-2.0" ]
null
null
null
Poliformismo/AnalistaContable.py
manu9812/programming-oriented-objets
650e22c8129299d69a4b3fc8722f861603a0302f
[ "Apache-2.0" ]
null
null
null
class AnalistaContable(): def sueldo(self, horas, precio, comisiones): print("el sueldo del analista contable es:", (horas*precio)- comisiones) def Datos(self, nombre, apellido, edad): print("el nombre del analista contable es: ", nombre ," ", apellido, "\n su edad es: ", edad) ...
39.357143
103
0.644283
64
551
5.546875
0.53125
0.059155
0.11831
0.11831
0
0
0
0
0
0
0
0
0.241379
551
13
104
42.384615
0.849282
0
0
0
0
0
0.32342
0
0
0
0
0
0
1
0.375
false
0
0
0
0.5
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
af40a5409892747e71410f55b1526ea2aa8af11c
365
py
Python
terraform/shared/ecr-images/bastion-events-worker/src/main.py
cicdenv/cicdenv
5b72fd9ef000bf07c2052471b59edaa91af18778
[ "MIT" ]
8
2020-08-10T20:57:24.000Z
2021-08-08T10:46:20.000Z
terraform/shared/ecr-images/bastion-events-worker/src/main.py
cicdenv/cicdenv
5b72fd9ef000bf07c2052471b59edaa91af18778
[ "MIT" ]
null
null
null
terraform/shared/ecr-images/bastion-events-worker/src/main.py
cicdenv/cicdenv
5b72fd9ef000bf07c2052471b59edaa91af18778
[ "MIT" ]
1
2020-08-10T20:42:09.000Z
2020-08-10T20:42:09.000Z
from sys import stdout import logging import click from events_worker import app @click.command() @click.option('--port', required=True, type=int) @click.option('--host', required=True) def cli(port, host): logging.basicConfig(format='%(message)s', level=logging.INFO, stream=stdout) app.run(host=host, port=...
19.210526
80
0.709589
51
365
4.901961
0.588235
0.088
0
0
0
0
0
0
0
0
0
0
0.134247
365
18
81
20.277778
0.791139
0
0
0
0
0
0.084932
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
af40c15e371612d43e212ac12fd86d96ecb557e2
1,593
py
Python
python/addreviewer.py
Arternis/ChatBotOps
5bf5be6d165fb29f3bac6a33e3f4149f3685fe52
[ "Apache-2.0" ]
null
null
null
python/addreviewer.py
Arternis/ChatBotOps
5bf5be6d165fb29f3bac6a33e3f4149f3685fe52
[ "Apache-2.0" ]
null
null
null
python/addreviewer.py
Arternis/ChatBotOps
5bf5be6d165fb29f3bac6a33e3f4149f3685fe52
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import requests import lxml import sys import subprocess import os from requests.auth import HTTPDigestAuth from pygerrit.rest import GerritRestAPI gitServer = os.environ.get('GERRIT_SERVER') auth = HTTPDigestAuth(os.environ.get('GERRIT_ID'), os.environ.get('GERRIT_TOKEN')) rest = GerritRestAPI(ur...
23.426471
83
0.700565
195
1,593
5.651282
0.415385
0.058076
0.032668
0.049002
0.072595
0.072595
0.072595
0
0
0
0
0.00771
0.185813
1,593
67
84
23.776119
0.841943
0.010044
0
0.178571
0
0
0.129524
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
af4abca2fe3125a9397fde74a660bb9687b67775
982
py
Python
tests/api_v1/test_crud.py
eduardobmc/flask-test
24a756f7cf081fdfc754472782251a891c519301
[ "MIT" ]
1
2018-05-01T03:14:03.000Z
2018-05-01T03:14:03.000Z
tests/api_v1/test_crud.py
eduardobmc/flask-test
24a756f7cf081fdfc754472782251a891c519301
[ "MIT" ]
1
2017-04-21T20:57:58.000Z
2017-04-21T20:59:12.000Z
tests/api_v1/test_crud.py
eduardobmc/flask-test
24a756f7cf081fdfc754472782251a891c519301
[ "MIT" ]
null
null
null
from . import test_base class CrudTest(test_base.TestBase): def test_get(self): result = self._get() self.assertOk(result) self.assertJsonContentType(result) self.assertJsonEquals(result, {'method': 'GET'}) def test_post(self): result = self._post( data='{...
26.540541
64
0.594705
105
982
5.419048
0.333333
0.158172
0.073814
0.195079
0.518453
0.518453
0.518453
0.407733
0.407733
0
0
0.002778
0.266802
982
36
65
27.277778
0.7875
0
0
0.333333
0
0
0.114053
0
0
0
0
0
0.333333
1
0.185185
false
0
0.037037
0.074074
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
0
0
0
0
0
1
af4d13073fa9dffcbfd25ac438662ee9632fb862
2,800
py
Python
pipeline/tracking.py
Yi-61/map-ephys
8eacd84f67678b05bcc379c7d5a9560ea7a87e46
[ "MIT" ]
null
null
null
pipeline/tracking.py
Yi-61/map-ephys
8eacd84f67678b05bcc379c7d5a9560ea7a87e46
[ "MIT" ]
null
null
null
pipeline/tracking.py
Yi-61/map-ephys
8eacd84f67678b05bcc379c7d5a9560ea7a87e46
[ "MIT" ]
null
null
null
''' MAP Motion Tracking Schema ''' import datajoint as dj from . import experiment from . import get_schema_name schema = dj.schema(get_schema_name('tracking')) [experiment] # NOQA flake8 @schema class TrackingDevice(dj.Lookup): definition = """ tracking_device: varchar(20) # devic...
31.818182
126
0.533929
272
2,800
5.375
0.323529
0.068399
0.05472
0.082079
0.043776
0.043776
0.043776
0.043776
0.043776
0
0
0.020513
0.373214
2,800
87
127
32.183908
0.812536
0.058929
0
0.430769
0
0
0.742605
0.02766
0
0
0
0
0
1
0
false
0
0.061538
0
0.215385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
af5060d50b6b9fd49fc8bf65273005828a1ff092
350
py
Python
ClangFormat.py
raozhizhen/clang-format
5c6f830d420b5ba72daeb52e214b6e5d8475ade8
[ "MIT" ]
12
2016-10-19T12:29:36.000Z
2021-12-10T15:52:21.000Z
ClangFormat.py
raozhizhen/clang-format
5c6f830d420b5ba72daeb52e214b6e5d8475ade8
[ "MIT" ]
null
null
null
ClangFormat.py
raozhizhen/clang-format
5c6f830d420b5ba72daeb52e214b6e5d8475ade8
[ "MIT" ]
9
2017-06-20T10:12:26.000Z
2020-07-16T08:49:38.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import os.path path = os.getcwd() for root, dirs, files in os.walk(path): for name in files: if (name.endswith(".h") or name.endswith(".m")): localpath = root + '/' + name print localpath os.system("clang-format -i ...
26.923077
68
0.568571
49
350
4.061224
0.653061
0.080402
0
0
0
0
0
0
0
0
0
0.003861
0.26
350
12
69
29.166667
0.764479
0.12
0
0
0
0
0.114379
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
af5256e55fa966626c08bd903f9fed72cda5baf5
1,529
py
Python
Lib/pagebot/elements/template.py
bghryct/PageBot
394150c0fd399f02faec28f4576046882f4d7d39
[ "MIT" ]
68
2018-10-22T22:42:58.000Z
2022-03-19T11:07:31.000Z
Lib/pagebot/elements/template.py
TypeNetwork/PageBot
394150c0fd399f02faec28f4576046882f4d7d39
[ "MIT" ]
97
2017-07-10T23:49:30.000Z
2018-10-03T08:17:55.000Z
Lib/pagebot/elements/template.py
TypeNetwork/PageBot
394150c0fd399f02faec28f4576046882f4d7d39
[ "MIT" ]
9
2017-07-11T09:59:00.000Z
2018-09-12T11:59:30.000Z
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- # ----------------------------------------------------------------------------- # # P A G E B O T # # Copyright (c) 2016+ Buro Petr van Blokland + Claudia Mens # www.pagebot.io # Licensed under MIT conditions # # Supporting DrawBot, www.drawbot.com # ...
29.980392
107
0.576194
192
1,529
4.46875
0.536458
0.041958
0.025641
0.032634
0
0
0
0
0
0
0
0.006029
0.24068
1,529
50
108
30.58
0.732989
0.497057
0
0
0
0
0.136428
0
0
0
0
0
0
1
0.2
false
0
0.2
0.05
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
af59c858d66ae7a7d3de0cccd3411b8e55b2fa2c
1,570
py
Python
src/fixture/clubfixture.py
rangoski/gymkhana_portal
49d1c696beada33a504898a7bb8eef65ad509635
[ "MIT" ]
null
null
null
src/fixture/clubfixture.py
rangoski/gymkhana_portal
49d1c696beada33a504898a7bb8eef65ad509635
[ "MIT" ]
null
null
null
src/fixture/clubfixture.py
rangoski/gymkhana_portal
49d1c696beada33a504898a7bb8eef65ad509635
[ "MIT" ]
null
null
null
import factory import random from .societyfixture import SocietyFactory from .userfixture import UserProfileFactory COLOUR = ["yellow", "black", "purple", "red", "orange", "green", '#084594', '#2171b5', '#4292c6', '#6baed6', '#9ecae1', '#c6dbef', '#deebf7', '#f7fbff' ] SKIN = [ 'white-skin', 'b...
37.380952
119
0.671338
176
1,570
5.914773
0.579545
0.081652
0.134486
0.063401
0.166186
0
0
0
0
0
0
0.021926
0.186624
1,570
41
120
38.292683
0.793265
0.054777
0
0
0
0
0.163968
0
0
0
0
0
0
1
0.029412
false
0
0.117647
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
af5cd8b50326d10bef8ffd96d2a57d2e3a917d73
2,932
py
Python
api/bbc.py
OppoZeit/OppoZeit
e14fe39e4dd0638f31407992a5e63a8b0932ccaf
[ "MIT" ]
null
null
null
api/bbc.py
OppoZeit/OppoZeit
e14fe39e4dd0638f31407992a5e63a8b0932ccaf
[ "MIT" ]
3
2020-10-22T20:42:53.000Z
2020-10-22T20:42:57.000Z
api/bbc.py
OppoZeit/OppoZeit
e14fe39e4dd0638f31407992a5e63a8b0932ccaf
[ "MIT" ]
null
null
null
from datetime import date, timedelta import os import time from restkit import Resource from bson import json_util from utils import datetime_parser, flatten, unique try: import simplejson as json except ImportError: import json # py2.6 only class Juicer(Resource): def __init__(self, **kwargs): ...
38.077922
78
0.578104
351
2,932
4.700855
0.373219
0.018182
0.012121
0.01697
0.031515
0
0
0
0
0
0
0.007331
0.302183
2,932
76
79
38.578947
0.79912
0.018076
0
0.031746
0
0
0.115438
0
0
0
0
0
0
0
null
null
0
0.15873
null
null
0.031746
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
af600eee680b0c55cfa6e84c7e1457dae495aead
5,894
py
Python
noval/docoption.py
bopopescu/NovalIDE
590c2adb69d54fa4a6c9dad5459198be057b1329
[ "MulanPSL-1.0" ]
null
null
null
noval/docoption.py
bopopescu/NovalIDE
590c2adb69d54fa4a6c9dad5459198be057b1329
[ "MulanPSL-1.0" ]
null
null
null
noval/docoption.py
bopopescu/NovalIDE
590c2adb69d54fa4a6c9dad5459198be057b1329
[ "MulanPSL-1.0" ]
null
null
null
from noval import _,GetApp import tkinter as tk from tkinter import ttk import sys import codecs import noval.util.utils as utils import locale import noval.consts as consts import noval.ui_utils as ui_utils def GetEncodings(): """Get a list of possible encodings to try from the locale information @return: lis...
44.992366
143
0.674754
704
5,894
5.461648
0.295455
0.054616
0.046814
0.054616
0.174252
0.152926
0.135241
0.119116
0.087386
0.069181
0
0.004346
0.219206
5,894
131
144
44.992366
0.83116
0.170682
0
0.161616
0
0
0.072644
0
0
0
0
0
0
1
0.040404
false
0.050505
0.090909
0
0.171717
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
af65381d7774bf5a8c945d853556fcd169460d39
2,423
py
Python
test.py
taizihuang/doubanCrawler
9c010d4d2a82c4c028f6ad2295f0c7cbba92c5e8
[ "MIT" ]
null
null
null
test.py
taizihuang/doubanCrawler
9c010d4d2a82c4c028f6ad2295f0c7cbba92c5e8
[ "MIT" ]
null
null
null
test.py
taizihuang/doubanCrawler
9c010d4d2a82c4c028f6ad2295f0c7cbba92c5e8
[ "MIT" ]
null
null
null
import pandas as pd from mako.template import Template def genHTML(df): HTML = Template("""<!DOCTYPE html><html><head> <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name=viewport><meta charset=utf-8> <meta name="referrer" content="no-referrer"> <link rel="styleshee...
35.632353
122
0.616591
371
2,423
3.892183
0.299191
0.055402
0.022853
0.035319
0.212604
0.196676
0.180055
0.180055
0.180055
0.180055
0
0.008147
0.189435
2,423
68
123
35.632353
0.727088
0
0
0.181818
0
0.106061
0.67038
0.242987
0
0
0
0
0
1
0.015152
false
0
0.030303
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
af66bb4db3866e30935e70e0f1f954e7caec7f36
1,784
py
Python
src/backlogapiprocessmodule/utils/wiki_util.py
tys-hiroshi/BacklogProcessing
3ca95242045fb867295cfc2f363ee6a980bd8dc9
[ "MIT" ]
null
null
null
src/backlogapiprocessmodule/utils/wiki_util.py
tys-hiroshi/BacklogProcessing
3ca95242045fb867295cfc2f363ee6a980bd8dc9
[ "MIT" ]
null
null
null
src/backlogapiprocessmodule/utils/wiki_util.py
tys-hiroshi/BacklogProcessing
3ca95242045fb867295cfc2f363ee6a980bd8dc9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import requests import json import jmespath from datetime import datetime, timedelta, timezone import re class WikiUtil(): def __init__(self, client): self.client = client def get_wiki_page(self, wiki_id): wiki_page = self.client.wiki(wiki_id) return wiki_page ...
44.6
111
0.690022
268
1,784
4.13806
0.253731
0.198377
0.176736
0.227232
0.516682
0.425609
0.366096
0.169522
0.115419
0
0
0.001405
0.202354
1,784
39
112
45.74359
0.777934
0.011771
0
0
0
0
0.030664
0
0
0
0
0
0
1
0.121212
false
0
0.151515
0
0.363636
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
af6a2f72271bf320e0ba7d50e5734d02e96f5702
1,586
py
Python
Python/Ex095.py
EspagueteTV/Meus-Estudos-CursoEmVideo
1bf3cc367bc754625a3fd59114ab63470e8d934b
[ "MIT" ]
null
null
null
Python/Ex095.py
EspagueteTV/Meus-Estudos-CursoEmVideo
1bf3cc367bc754625a3fd59114ab63470e8d934b
[ "MIT" ]
null
null
null
Python/Ex095.py
EspagueteTV/Meus-Estudos-CursoEmVideo
1bf3cc367bc754625a3fd59114ab63470e8d934b
[ "MIT" ]
null
null
null
dado = dict() partidas = list() galera = list() cont = 0 # Leitura de dados de todos os jogadores while True: print('-=' * 30) #Leitura dos dados de cada jogador dado['nome'] = str(input('Nome do Jogador: ')).title() tot_part = int(input(f'Quantas partidas {dado["nome"]} jogou? ')) for c in range(0, to...
29.37037
78
0.572509
231
1,586
3.922078
0.411255
0.030905
0.043046
0.03532
0.07064
0.07064
0.07064
0
0
0
0
0.032691
0.247793
1,586
53
79
29.924528
0.726739
0.160782
0
0.15
0
0.025
0.319213
0.06354
0
0
0
0.018868
0
1
0
false
0
0
0
0
0.275
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
af747f7e079b390da40bc2df6c6b32385bc8f962
914
py
Python
ironic_python_agent/cmd/inspect.py
yrobla/ironic-python-agent
c8af93e0df6557e47f4045b53d11b2daaefb8ec3
[ "Apache-2.0" ]
86
2015-01-21T22:04:48.000Z
2022-03-29T12:15:49.000Z
ironic_python_agent/cmd/inspect.py
yrobla/ironic-python-agent
c8af93e0df6557e47f4045b53d11b2daaefb8ec3
[ "Apache-2.0" ]
3
2018-01-29T07:44:43.000Z
2021-09-04T06:13:42.000Z
ironic_python_agent/cmd/inspect.py
yrobla/ironic-python-agent
c8af93e0df6557e47f4045b53d11b2daaefb8ec3
[ "Apache-2.0" ]
110
2015-01-29T09:26:52.000Z
2021-12-29T03:16:27.000Z
# Copyright 2013 Rackspace, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
29.483871
74
0.751641
136
914
5.014706
0.639706
0.087977
0.038123
0.046921
0
0
0
0
0
0
0
0.011811
0.166302
914
30
75
30.466667
0.883202
0.640044
0
0
0
0
0.061093
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
af75e0df26f04a3d045da264a547fe6d67abc8ed
8,751
py
Python
Demo/tkinter/www/sgmllib.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
1
2019-10-25T21:41:07.000Z
2019-10-25T21:41:07.000Z
Demo/tkinter/www/sgmllib.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
null
null
null
Demo/tkinter/www/sgmllib.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
null
null
null
# A parser for SGML, using the derived class as static DTD. # XXX This only supports those SGML features used by HTML. # XXX There should be a way to distinguish between PCDATA (parsed # character data -- the normal case), RCDATA (replaceable character # data -- only char and entity references and end tags are specia...
27.177019
70
0.623357
1,320
8,751
4.087121
0.200758
0.038554
0.008341
0.010009
0.289898
0.183318
0.125672
0.111214
0.068582
0.050417
0
0.015129
0.222032
8,751
321
71
27.261682
0.777321
0.270712
0
0.343096
0
0.004184
0.096133
0.023204
0
0
0
0
0
0
null
null
0.025105
0.008368
null
null
0.050209
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
af80934096e3b0741bfad8727dd4410e18f3fa25
429
py
Python
homepage/views.py
extroot/yandexLyceumPlus
5c5105559741b2728a16ef45d07a971bb0990034
[ "MIT" ]
5
2022-03-06T10:43:17.000Z
2022-03-06T10:48:04.000Z
homepage/views.py
extroot/yandexLyceumPlus
5c5105559741b2728a16ef45d07a971bb0990034
[ "MIT" ]
2
2022-03-16T19:52:34.000Z
2022-03-25T20:44:18.000Z
homepage/views.py
extroot/yandexLyceumPlus
5c5105559741b2728a16ef45d07a971bb0990034
[ "MIT" ]
null
null
null
from catalog.models import Item from django.shortcuts import render from django.views import View class HomeView(View): template_name = 'homepage/home.html' RANDOM_OBJ_COUNT = 3 def get(self, request): items = Item.objects.get_random_items(random_obj_count=self.RANDOM_OBJ_COUNT) context ...
25.235294
85
0.694639
55
429
5.236364
0.527273
0.09375
0.145833
0
0
0
0
0
0
0
0
0.003003
0.223776
429
16
86
26.8125
0.861862
0
0
0
0
0
0.053613
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
af88ca14ace8e06597c89a6f8c099d7043773dd1
3,965
py
Python
UI_Compiled/custom_widget.py
Tuhin-thinks/Github-Single-FileDownloader
f1473a0ea6b4b68c327d4d4d5eb3f13721cfa2f0
[ "MIT" ]
null
null
null
UI_Compiled/custom_widget.py
Tuhin-thinks/Github-Single-FileDownloader
f1473a0ea6b4b68c327d4d4d5eb3f13721cfa2f0
[ "MIT" ]
null
null
null
UI_Compiled/custom_widget.py
Tuhin-thinks/Github-Single-FileDownloader
f1473a0ea6b4b68c327d4d4d5eb3f13721cfa2f0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'custom_widget.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore...
55.069444
160
0.730643
498
3,965
5.584337
0.190763
0.067961
0.142395
0.089177
0.483279
0.390147
0.161093
0.081266
0.081266
0.081266
0
0.029625
0.1657
3,965
71
161
55.84507
0.811064
0.070113
0
0
1
0
0.141886
0.058168
0
0
0
0
0
1
0.035088
false
0
0.017544
0
0.070175
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
af89761642b601625ec23f0d196db8778e43c853
1,878
py
Python
train/optimizer.py
lluissalord/radiology_ai
8b842502206f4bad53c2825beb1f58d2ed054d0d
[ "MIT" ]
3
2021-02-08T10:58:22.000Z
2021-08-18T19:51:27.000Z
train/optimizer.py
lluissalord/radiology_ai
8b842502206f4bad53c2825beb1f58d2ed054d0d
[ "MIT" ]
null
null
null
train/optimizer.py
lluissalord/radiology_ai
8b842502206f4bad53c2825beb1f58d2ed054d0d
[ "MIT" ]
null
null
null
import fastai.optimizer as opt from functools import partial def get_optimizer(run_params): # Scheduling # FixMatch is highly influenced by the Optimizer and its parameters # TODO: Study which parameters are best for this use-case if run_params["SSL"] == run_params["SSL_FIX_MATCH"]: # sched = ...
36.823529
101
0.539404
205
1,878
4.682927
0.414634
0.178125
0.125
0.058333
0.23125
0.197917
0.13125
0.13125
0.13125
0.13125
0
0.008251
0.354633
1,878
50
102
37.56
0.783828
0.21033
0
0.323529
0
0
0.095853
0
0
0
0
0.02
0
1
0.029412
false
0
0.117647
0
0.176471
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
af903539d92eacfbb1fc88daf43933ba4b6e6460
362
py
Python
requirements.py
abhishekgupta5/auction_api
7c2800c62c4cd4c660e8cd03e76b20d9844b8e23
[ "MIT" ]
null
null
null
requirements.py
abhishekgupta5/auction_api
7c2800c62c4cd4c660e8cd03e76b20d9844b8e23
[ "MIT" ]
null
null
null
requirements.py
abhishekgupta5/auction_api
7c2800c62c4cd4c660e8cd03e76b20d9844b8e23
[ "MIT" ]
null
null
null
alembic==0.9.9 bcrypt==3.1.4 cffi==1.11.5 click==6.7 Flask==1.0.2 Flask-API==1.0 Flask-Bcrypt==0.7.1 Flask-Migrate==2.1.1 Flask-Script==2.0.6 Flask-SQLAlchemy==2.3.2 itsdangerous==0.24 Jinja2==2.10 Mako==1.0.7 MarkupSafe==1.0 psycopg2==2.7.4 pycparser==2.18 PyJWT==1.6.1 python-dateutil==2.7.2 python-editor==1.0.3 six==...
15.73913
23
0.69337
89
362
2.820225
0.393258
0.039841
0
0
0
0
0
0
0
0
0
0.2
0.060773
362
22
24
16.454545
0.538235
0
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
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
af9a17fc3fb0fa8c973a184205fa85208762523b
698
py
Python
engine/plugins/pop.py
ainterr/scoring_engine
d986eef08dcb819add20ed87d91239f887f62daa
[ "MIT" ]
null
null
null
engine/plugins/pop.py
ainterr/scoring_engine
d986eef08dcb819add20ed87d91239f887f62daa
[ "MIT" ]
7
2016-02-24T21:01:22.000Z
2017-01-04T03:22:44.000Z
engine/plugins/pop.py
ainterr/scoring_engine
d986eef08dcb819add20ed87d91239f887f62daa
[ "MIT" ]
2
2016-03-04T17:04:48.000Z
2020-01-30T21:03:49.000Z
from .. import config import logging logger=logging.getLogger(__name__) import poplib, socket ERROR_STRINGS = { 'error_proto': 'Protocol Error: %s', } def run(options): ip = options['ip'] port = options['port'] username = options['username'] password = options['password'] try: p...
21.8125
58
0.616046
81
698
5.074074
0.481481
0.058394
0
0
0
0
0
0
0
0
0
0.003937
0.272206
698
31
59
22.516129
0.805118
0
0
0.076923
0
0
0.083095
0
0
0
0
0
0
1
0.038462
false
0.076923
0.115385
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
af9b5ca1c5ce26dc33d45b6e51f743e21e3989fb
2,321
py
Python
website/apps/models.py
MAAF72/Auto-Grader-Glitch
9a940f455d2a002634d1cf8b8fe8270067b4ce5e
[ "MIT" ]
3
2019-11-01T07:01:48.000Z
2020-03-29T00:50:09.000Z
website/apps/models.py
MAAF72/Auto-Grader
839defcbfafa90f002ba8cfc5de910c1e1832f24
[ "MIT" ]
7
2019-10-26T01:21:44.000Z
2022-02-10T08:53:16.000Z
website/apps/models.py
MAAF72/Auto-Grader
839defcbfafa90f002ba8cfc5de910c1e1832f24
[ "MIT" ]
null
null
null
from os.path import join from django.db import models from django.contrib.auth.models import User from django.core.files.storage import FileSystemStorage JUDGE_STORAGE_ROOT = join('..', '..', 'judge') judge_storage = FileSystemStorage(location=JUDGE_STORAGE_ROOT) class Problem(models.Model): name = models.CharFie...
40.017241
88
0.703576
270
2,321
5.9
0.366667
0.055242
0.069052
0.060264
0.352166
0.276836
0.212806
0.212806
0.148776
0.148776
0
0.004637
0.163723
2,321
57
89
40.719298
0.816074
0.004739
0
0.204082
0
0
0.085318
0
0
0
0
0
0
1
0.061224
false
0
0.081633
0.061224
0.755102
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
afaa5b1be1dd23ca90623103c8afae70c5ef17dd
78,076
py
Python
game.py
kushtrimh/curse-of-tenebrae
374ca8684debb686a651c216e2be78f449b983de
[ "BSD-2-Clause" ]
null
null
null
game.py
kushtrimh/curse-of-tenebrae
374ca8684debb686a651c216e2be78f449b983de
[ "BSD-2-Clause" ]
null
null
null
game.py
kushtrimh/curse-of-tenebrae
374ca8684debb686a651c216e2be78f449b983de
[ "BSD-2-Clause" ]
null
null
null
from __future__ import division import sys from contextlib import contextmanager import os from random import choice, randint import time from datetime import datetime import threading import itertools import pygame from pytmx.util_pygame import load_pygame from sprites import Player, NPC, World, Blocks, Buildings, Sho...
27.804843
116
0.681631
11,306
78,076
4.514948
0.065717
0.034871
0.021667
0.011754
0.404929
0.317968
0.26053
0.227559
0.192885
0.166654
0
0.009253
0.215162
78,076
2,807
117
27.814749
0.823784
0.12516
0
0.349642
0
0
0.050429
0.007017
0
0
0
0
0
0
null
null
0.004773
0.01074
null
null
0.002983
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
afb087bb5b66a07aeadcc4a00a841267767168f3
2,880
py
Python
new-SQL-simple-DIKB-web/export-test.py
dbmi-pitt/DIKB-Evidence-analytics
9ffd629db30c41ced224ff2afdf132ce9276ae3f
[ "MIT" ]
3
2015-06-08T17:58:54.000Z
2022-03-10T18:49:44.000Z
new-SQL-simple-DIKB-web/export-test.py
dbmi-pitt/DIKB-Evidence-analytics
9ffd629db30c41ced224ff2afdf132ce9276ae3f
[ "MIT" ]
null
null
null
new-SQL-simple-DIKB-web/export-test.py
dbmi-pitt/DIKB-Evidence-analytics
9ffd629db30c41ced224ff2afdf132ce9276ae3f
[ "MIT" ]
null
null
null
import re, string from HTMLcolors import * from HTMLgen import * import sys sys.path = sys.path + ['../'] from DIKB.DIKB import * from DIKB.DrugModel import * from DIKB.EvidenceModel import * from DIKB.DIKB_Utils import * from DIKB.TranslationRules import * from DIKB.ExportAssertions import * version = getVersion('....
35.121951
117
0.703819
402
2,880
4.962687
0.405473
0.05614
0.035088
0.025564
0.346867
0.325815
0.269674
0.269674
0.097243
0.097243
0
0.012235
0.148611
2,880
81
118
35.555556
0.801387
0.221181
0
0.109091
0
0
0.288999
0.129396
0
0
0
0
0.163636
0
null
null
0
0.181818
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
afb45b7c65c37b6d1667407d0b49a0928a30afc1
530
py
Python
utils/viewutil.py
zakariachowdhury/activeml
4fb44768cd7a576bd65bc77e3fc4c50c52963afd
[ "Apache-2.0" ]
null
null
null
utils/viewutil.py
zakariachowdhury/activeml
4fb44768cd7a576bd65bc77e3fc4c50c52963afd
[ "Apache-2.0" ]
null
null
null
utils/viewutil.py
zakariachowdhury/activeml
4fb44768cd7a576bd65bc77e3fc4c50c52963afd
[ "Apache-2.0" ]
null
null
null
import streamlit as st def section_title(text): st.markdown(f'*{text}*') def view_data(df, checkbox_key=None): if df is not None: section_title('Shape') st.write(df.shape) section_title('Head') st.write(df[:5]) if st.checkbox("View All", key=checkbox_key): ...
22.083333
55
0.611321
80
530
3.925
0.4875
0.089172
0.085987
0
0
0
0
0
0
0
0
0.005025
0.249057
530
24
56
22.083333
0.78392
0
0
0
0
0
0.047081
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
afb6160a6c96a48dc1f7b08d046457535776ade0
15,379
py
Python
tests/test/lua/luaexpat.py
mace84/script-languages
d586cbe212bbb4efbfb39e095183729c65489360
[ "MIT" ]
6
2019-01-09T11:55:15.000Z
2021-06-25T19:52:42.000Z
tests/test/lua/luaexpat.py
mace84/script-languages
d586cbe212bbb4efbfb39e095183729c65489360
[ "MIT" ]
65
2018-12-12T08:40:38.000Z
2022-02-28T09:19:45.000Z
tests/test/lua/luaexpat.py
mace84/script-languages
d586cbe212bbb4efbfb39e095183729c65489360
[ "MIT" ]
9
2018-11-23T08:59:09.000Z
2020-02-04T12:56:35.000Z
#!/usr/bin/env python2.7 import os import sys sys.path.append(os.path.realpath(__file__ + '/../../../lib')) import udf import unicodedata from udf import useData def add_uniname(data): return [(n, unicodedata.name(unichr(n), 'U+%04X' % n)) for n in data] class LuaExpat(udf.TestCase): def setUp(...
48.667722
186
0.453996
1,261
15,379
5.427439
0.248216
0.036821
0.030392
0.029223
0.246347
0.178112
0.15488
0.137493
0.114407
0.114407
0
0.027273
0.463554
15,379
315
187
48.822222
0.802303
0.010144
0
0.293286
0
0.014134
0.85626
0.15511
0
0
0
0
0.063604
1
0.021201
false
0
0.038869
0.003534
0.081272
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
afbf5ea4017b13a6b2947e0766e8292e53695bb4
4,558
py
Python
DNN/main.py
Vladimir-125/RecommenderSystems
47c518119a313bba27e94da833f62525586f3a58
[ "MIT" ]
2
2021-04-19T04:14:06.000Z
2021-11-02T09:32:09.000Z
DNN/main.py
Vladimir-125/RecommenderSystems
47c518119a313bba27e94da833f62525586f3a58
[ "MIT" ]
null
null
null
DNN/main.py
Vladimir-125/RecommenderSystems
47c518119a313bba27e94da833f62525586f3a58
[ "MIT" ]
1
2022-03-05T14:14:04.000Z
2022-03-05T14:14:04.000Z
import numpy as np from scipy.sparse import rand as sprand import torch import pandas as pd DEVICE = torch.device('cuda' if torch.cuda.is_available() else 'cpu') # open training file train = pd.read_csv('./data/ratings_train.csv') # open validation file vali = pd.read_csv('./data/ratings_vali.csv') # create us...
32.557143
105
0.632953
620
4,558
4.53871
0.367742
0.019901
0.018479
0.014925
0.090974
0.041222
0.041222
0.041222
0.041222
0.041222
0
0.017306
0.239359
4,558
139
106
32.791367
0.794347
0.195261
0
0.044444
0
0
0.046467
0.012923
0
0
0
0
0
0
null
null
0
0.044444
null
null
0.011111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
afcbe672ee6dccab89658b16b9f4b0aeceeae489
593
py
Python
test_factorial.py
thundercats-py/python_training
f7b7b7745d9c649880265930519fd839d4a1939e
[ "Unlicense" ]
null
null
null
test_factorial.py
thundercats-py/python_training
f7b7b7745d9c649880265930519fd839d4a1939e
[ "Unlicense" ]
null
null
null
test_factorial.py
thundercats-py/python_training
f7b7b7745d9c649880265930519fd839d4a1939e
[ "Unlicense" ]
1
2020-04-03T23:23:05.000Z
2020-04-03T23:23:05.000Z
import unittest from factorial import factorial # ... other importsj script codej etc. ... class FactorialTests(unittest.TestCase): def testSingleValue(self): self.assertEqual(factorial(5), 120) def testMultipleValues(self): self.assertRaises(TypeError, factorial, [1,2,3,4]) def test...
26.954545
79
0.661046
67
593
5.731343
0.61194
0.0625
0.067708
0.083333
0
0
0
0
0
0
0
0.025806
0.215852
593
22
80
26.954545
0.8
0.269815
0
0
0
0
0.018824
0
0
0
0
0
0.230769
1
0.307692
false
0
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bb6171abe302c2e26c9aad94bcbd7a1b26858e05
1,582
py
Python
Ago-Dic-2017/Omar Abasta/ordinario/hotelDAS/hotelDAS/app/forms.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
41
2017-09-26T09:36:32.000Z
2022-03-19T18:05:25.000Z
Ago-Dic-2017/Omar Abasta/ordinario/hotelDAS/hotelDAS/app/forms.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
67
2017-09-11T05:06:12.000Z
2022-02-14T04:44:04.000Z
Ago-Dic-2017/Omar Abasta/ordinario/hotelDAS/hotelDAS/app/forms.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
210
2017-09-01T00:10:08.000Z
2022-03-19T18:05:12.000Z
""" Definition of forms. """ from django import forms from django.forms.models import ModelForm from django.forms import ModelForm from django.contrib.auth.forms import AuthenticationForm from django.utils.translation import ugettext_lazy as _ from app.models import * from django.views.generic.detail import DetailView...
35.155556
84
0.573957
137
1,582
6.59854
0.49635
0.077434
0.033186
0.05531
0.061947
0
0
0
0
0
0
0.00278
0.317952
1,582
44
85
35.954545
0.835032
0.041087
0
0.166667
0
0
0.194814
0
0
0
0
0
0
1
0
false
0.083333
0.222222
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bb61cec90ec97b16afdfc3b32f2adaee63454d49
358
py
Python
chain/plugins/database/models/round.py
tsifrer/ark
c678091e226d79fabe4a2c554e1d8e704a5b5cec
[ "MIT" ]
5
2019-02-01T01:22:27.000Z
2019-05-24T12:20:38.000Z
chain/plugins/database/models/round.py
tsifrer/ark
c678091e226d79fabe4a2c554e1d8e704a5b5cec
[ "MIT" ]
15
2019-03-29T13:12:10.000Z
2019-08-25T19:19:35.000Z
chain/plugins/database/models/round.py
tsifrer/ark
c678091e226d79fabe4a2c554e1d8e704a5b5cec
[ "MIT" ]
4
2019-01-31T13:52:03.000Z
2020-08-12T02:12:03.000Z
from peewee import AutoField, BigIntegerField, CharField, Model class Round(Model): id = AutoField(primary_key=True) public_key = CharField(max_length=66) balance = BigIntegerField() # This is wallet.vote_balance round = BigIntegerField() class Meta: table_name = "rounds" indexes...
27.538462
63
0.678771
40
358
5.925
0.675
0.059072
0
0
0
0
0
0
0
0
0
0.007067
0.209497
358
12
64
29.833333
0.830389
0.075419
0
0
0
0
0.06383
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bb6329723059cffee280b15f7d06b52f76f1086f
14,752
py
Python
src/realnum.py
hackshel/py-aluminium
19441ce3a52dd2e711e8469dd2e4c35853926282
[ "BSD-3-Clause" ]
1
2017-09-08T07:24:35.000Z
2017-09-08T07:24:35.000Z
src/realnum.py
dainan13/py-aluminium
c8f03c98ba3d809749ff12d22307a21921c81e57
[ "BSD-3-Clause" ]
null
null
null
src/realnum.py
dainan13/py-aluminium
c8f03c98ba3d809749ff12d22307a21921c81e57
[ "BSD-3-Clause" ]
null
null
null
import types class Infinity(object): def __init__( self ): pass def F ( self, another ): return False def T ( self, another ) : return True __gt__ = T __ge__ = T __lt__ = F __le__ = F def __eq__ ( self, another ): ...
27.471136
80
0.391811
1,667
14,752
3.383923
0.10078
0.071796
0.017018
0.018614
0.529871
0.477752
0.461443
0.376706
0.355256
0.333097
0
0.023982
0.457294
14,752
537
81
27.471136
0.680615
0.006575
0
0.337176
0
0
0.12454
0.038113
0
0
0
0
0
0
null
null
0.002882
0.002882
null
null
0.07781
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bb6d063df07fa7694046592ca21ba4f8a7af640f
2,430
py
Python
flavio/physics/kdecays/test_kpilnu.py
MarkusPrim/flavio
0d277f637c4e2eb8cd1849c88d9844200ddfbc4f
[ "MIT" ]
null
null
null
flavio/physics/kdecays/test_kpilnu.py
MarkusPrim/flavio
0d277f637c4e2eb8cd1849c88d9844200ddfbc4f
[ "MIT" ]
null
null
null
flavio/physics/kdecays/test_kpilnu.py
MarkusPrim/flavio
0d277f637c4e2eb8cd1849c88d9844200ddfbc4f
[ "MIT" ]
null
null
null
import unittest import numpy as np import flavio constraints = flavio.default_parameters wc_obj = flavio.WilsonCoefficients() par = constraints.get_central_all() class TestKpilnu(unittest.TestCase): def test_kpilnu(self): # test for errors q2=0.05 flavio.physics.kdecays.kpilnu.get_ff(q2, p...
52.826087
103
0.658848
353
2,430
4.382436
0.232295
0.092437
0.142211
0.184874
0.618617
0.550743
0.471881
0.414997
0.337427
0.208145
0
0.047118
0.179012
2,430
45
104
54
0.728321
0.055967
0
0
0
0
0.067745
0
0
0
0
0
0.305556
1
0.055556
false
0
0.083333
0
0.166667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bb7558bb4c58c6dddccae7b1c7c06aa27d2120f3
1,035
py
Python
tests/core/bungie_signal.py
ChristopherRabotin/bungiesearch
13768342bc2698b214eb0003c2d113b6e273c30d
[ "BSD-3-Clause" ]
40
2015-12-12T05:27:59.000Z
2020-06-11T13:20:00.000Z
tests/core/bungie_signal.py
Sparrho/bungiesearch
13768342bc2698b214eb0003c2d113b6e273c30d
[ "BSD-3-Clause" ]
56
2015-02-02T17:00:02.000Z
2015-11-25T09:43:27.000Z
tests/core/bungie_signal.py
ChristopherRabotin/bungiesearch
13768342bc2698b214eb0003c2d113b6e273c30d
[ "BSD-3-Clause" ]
22
2016-02-15T13:54:49.000Z
2020-12-24T08:00:18.000Z
''' This test signal acts as a proxy to BungieSignalProcessor. It allows us to test the functionality of the default signal processor while using a custom processor instead, hence testing that we can plug in and use a custom signal processor. ''' from django.db.models import signals from bungiesearch.signals import Bu...
35.689655
76
0.748792
134
1,035
5.664179
0.425373
0.073781
0.105402
0.063241
0.295125
0
0
0
0
0
0
0
0.169082
1,035
28
77
36.964286
0.882558
0.229952
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bb77921da603ee4a6c839c02ec19575bd1bbe553
4,593
py
Python
tests/test_image_pipeline.py
epoch8/datapipe
2358e13f6699b44950dc87fda6136f34fa719094
[ "BSD-3-Clause" ]
2
2021-12-20T10:17:25.000Z
2022-02-16T09:00:51.000Z
tests/test_image_pipeline.py
epoch8/datapipe
2358e13f6699b44950dc87fda6136f34fa719094
[ "BSD-3-Clause" ]
25
2021-12-18T21:19:19.000Z
2022-03-30T18:53:22.000Z
tests/test_image_pipeline.py
epoch8/datapipe
2358e13f6699b44950dc87fda6136f34fa719094
[ "BSD-3-Clause" ]
null
null
null
# flake8: noqa import pandas as pd import numpy as np from PIL import Image from datapipe.compute import Catalog, Pipeline, Table from datapipe.core_steps import ( BatchGenerate, do_batch_generate, BatchTransform, do_full_batch_transform, UpdateExternalTable, ) from datapipe.datatable import DataStore fro...
26.549133
100
0.561507
558
4,593
4.462366
0.202509
0.06747
0.060241
0.084337
0.498795
0.498795
0.491566
0.490763
0.478715
0.377108
0
0.029991
0.281298
4,593
172
101
26.703488
0.724326
0.036795
0
0.421053
1
0
0.091218
0.007922
0
0
0
0.005814
0.142857
1
0.045113
false
0
0.06015
0
0.120301
0.007519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bb779ad851d3db6c163fdc15ee9347c79006aaa2
384
py
Python
src/ucis/toggle_metric_t.py
furiosa-ai/pyucis
233277abf5a86e1158ae2cc09d91152ca9f1e517
[ "Apache-2.0" ]
16
2020-03-25T21:31:49.000Z
2022-01-18T22:34:05.000Z
src/ucis/toggle_metric_t.py
furiosa-ai/pyucis
233277abf5a86e1158ae2cc09d91152ca9f1e517
[ "Apache-2.0" ]
4
2020-01-05T00:26:00.000Z
2022-01-27T07:44:06.000Z
src/ucis/toggle_metric_t.py
furiosa-ai/pyucis
233277abf5a86e1158ae2cc09d91152ca9f1e517
[ "Apache-2.0" ]
4
2019-12-23T06:23:11.000Z
2022-01-09T07:41:32.000Z
''' Created on Jan 12, 2020 @author: ballance ''' from enum import IntEnum, auto class ToggleMetricT(IntEnum): NOBINS = 1 # Toggle scope has no local bins ENUM = auto() # UCIS:ENUM TRANSITION = auto() # UCIS:TRANSITION _2STOGGLE = auto() # UCIS:2STOGGLE ZTOGGLE = aut...
25.6
59
0.591146
43
384
5.255814
0.627907
0.176991
0
0
0
0
0
0
0
0
0
0.033708
0.304688
384
14
60
27.428571
0.812734
0.364583
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bb77dfedc625061918b51adcff20cb10e8128515
1,340
py
Python
generateProblem.py
yogajia/Field-Programming
19891a9fff4cf66c60a4a5d9b1bd03f8d06f884b
[ "MIT" ]
null
null
null
generateProblem.py
yogajia/Field-Programming
19891a9fff4cf66c60a4a5d9b1bd03f8d06f884b
[ "MIT" ]
null
null
null
generateProblem.py
yogajia/Field-Programming
19891a9fff4cf66c60a4a5d9b1bd03f8d06f884b
[ "MIT" ]
6
2021-10-30T00:17:23.000Z
2021-10-30T01:08:09.000Z
from generateNum import generateNum from generateSymbol import generateSymbol import random from computeAns import computeAns def generateProblem(level): num = random.randint(2, 4) if level == 1: list1 = generateNum(num, False, 100) list2 = generateSymbol(num, False) problem = fix(list...
26.27451
46
0.527612
151
1,340
4.682119
0.258278
0.033946
0.080622
0.084866
0.499293
0.499293
0.442716
0.401697
0.401697
0.401697
0
0.042303
0.364925
1,340
50
47
26.8
0.788484
0
0
0.418605
1
0
0.001493
0
0
0
0
0
0
1
0.046512
false
0
0.093023
0
0.209302
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bb787a1233afce78c6423203b4679435e4403ad1
224
py
Python
testcode/smallh5.py
lachmann12/prismexp
2e9c739b6c8c10c44f9f81e84e87e47dac2c73f0
[ "Apache-2.0" ]
1
2020-11-10T13:33:26.000Z
2020-11-10T13:33:26.000Z
testcode/smallh5.py
MaayanLab/prismexp
39e6cad055d7698e466f0d197a1563d08d3e5eab
[ "Apache-2.0" ]
null
null
null
testcode/smallh5.py
MaayanLab/prismexp
39e6cad055d7698e466f0d197a1563d08d3e5eab
[ "Apache-2.0" ]
null
null
null
import h5py as h5 import pandas as pd import numpy as np import os f = h5.File("human_tpm_v8.h5", 'r') expression = f['data/expression'] fields = f["meta"] samples = f['meta/Sample_geo_accession'] genes = f['meta/genes']
17.230769
40
0.705357
39
224
3.948718
0.615385
0.097403
0
0
0
0
0
0
0
0
0
0.026178
0.147321
224
12
41
18.666667
0.780105
0
0
0
0
0
0.315315
0.112613
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bb793a42abc3fb6a67de82ea2646f5dae6168455
666
py
Python
src/data_import/csv_importer.py
rpurgstaller/beanbot-personal-finance-manager
4770a17549f368985445f7d56cdf8e1097e007b1
[ "CC0-1.0" ]
null
null
null
src/data_import/csv_importer.py
rpurgstaller/beanbot-personal-finance-manager
4770a17549f368985445f7d56cdf8e1097e007b1
[ "CC0-1.0" ]
null
null
null
src/data_import/csv_importer.py
rpurgstaller/beanbot-personal-finance-manager
4770a17549f368985445f7d56cdf8e1097e007b1
[ "CC0-1.0" ]
null
null
null
import csv class CsvImporter(object): def __init__(self) -> None: super().__init__() def execute(self, file : str, builder_func, column_transformation = None): with open(file, 'r', newline='', encoding='UTF-16') as csvDataFile: reader = csv.reader(csvDataFile) objects...
30.272727
105
0.603604
74
666
5.243243
0.527027
0.206186
0
0
0
0
0
0
0
0
0
0.004255
0.294294
666
22
106
30.272727
0.821277
0
0
0
0
0
0.010495
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bb8028eec70248ade53a700a69b77d23e07d4d7a
1,441
py
Python
netbox/extras/forms/customfields.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
null
null
null
netbox/extras/forms/customfields.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
null
null
null
netbox/extras/forms/customfields.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
null
null
null
from django.contrib.contenttypes.models import ContentType from extras.models import * __all__ = ( 'CustomFieldsMixin', ) class CustomFieldsMixin: """ Extend a Form to include custom field support. Attributes: model: The model class """ model = None def __init__(self, *args, **...
28.82
95
0.664816
168
1,441
5.363095
0.35119
0.053274
0.031077
0.042175
0
0
0
0
0
0
0
0
0.245663
1,441
49
96
29.408163
0.828887
0.179736
0
0
0
0
0.086331
0.041367
0
0
0
0
0
1
0.208333
false
0
0.083333
0.083333
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bb822f808581003705bc186a07a3985e536b1063
290
py
Python
drop/notes/urls.py
folz/drop
f2d41785e0d95bebe644d8a66decfa5acf0093c5
[ "MIT" ]
2
2015-10-23T04:08:10.000Z
2017-04-16T07:33:08.000Z
drop/notes/urls.py
folz/drop
f2d41785e0d95bebe644d8a66decfa5acf0093c5
[ "MIT" ]
null
null
null
drop/notes/urls.py
folz/drop
f2d41785e0d95bebe644d8a66decfa5acf0093c5
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, url from .views import ImageNoteView, NearbyNoteView urlpatterns = patterns('', url(r'^image$', ImageNoteView.as_view(), name='notes_image'), url(r'^nearby$', NearbyNoteView.as_view(), name='notes_nearby'), )
22.307692
48
0.644828
32
290
5.71875
0.5625
0.120219
0.10929
0.163934
0
0
0
0
0
0
0
0
0.213793
290
12
49
24.166667
0.802632
0
0
0
0
0
0.131034
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bb8293cef2dd439bf7ad802d623bf7398955aefd
56,041
py
Python
switchMatrixClient.py
mjocean/OscSwitchMatrixGUI
226e7ff7140054950c79251f550f040d507e9d78
[ "MIT" ]
null
null
null
switchMatrixClient.py
mjocean/OscSwitchMatrixGUI
226e7ff7140054950c79251f550f040d507e9d78
[ "MIT" ]
1
2017-12-28T15:12:44.000Z
2017-12-30T16:12:18.000Z
switchMatrixClient.py
mjocean/OscSwitchMatrixGUI
226e7ff7140054950c79251f550f040d507e9d78
[ "MIT" ]
2
2018-01-03T11:58:35.000Z
2020-07-15T15:47:50.000Z
#!/usr/bin/python # # Copyright (c) 2014 Michael Ocean # # Licence: The MIT License (MIT) # # ________ ______ __ __ ____ _____ ______ _________ __ # / ____/ / / / _/ / /_ ____ _________ ____/ / / __ \/ ___// ____/ / ____/ (_)__ ____ / /_ # / / __/ / / // / / __ ...
37.535834
279
0.549847
6,247
56,041
4.759885
0.140868
0.016412
0.010896
0.009181
0.432453
0.371986
0.320262
0.298234
0.28485
0.270153
0
0.010735
0.32346
56,041
1,492
280
37.560992
0.77354
0.122732
0
0.43744
0
0.000955
0.08563
0.002781
0
0
0
0
0
0
null
null
0.014327
0.011461
null
null
0.043935
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bb95b4076b9bca90b20f0fecf05b2a9794e4c7d8
757
py
Python
meiduo_mall24/meiduo_mall/meiduo_mall/apps/meiduo_admin/views/admins.py
MarioKarting/Django_DRF_meiduo_mall
b9dc85d6d538e4655dd02ef1027524bdcbe497d7
[ "MIT" ]
1
2020-04-15T03:22:18.000Z
2020-04-15T03:22:18.000Z
meiduo_mall24/meiduo_mall/meiduo_mall/apps/meiduo_admin/views/admins.py
MarioKarting/Django_DRF_meiduo_mall
b9dc85d6d538e4655dd02ef1027524bdcbe497d7
[ "MIT" ]
5
2020-05-11T20:29:00.000Z
2021-11-02T15:46:12.000Z
meiduo_mall24/meiduo_mall/meiduo_mall/apps/meiduo_admin/views/admins.py
MarioKarting/Django_DRF_meiduo_mall
b9dc85d6d538e4655dd02ef1027524bdcbe497d7
[ "MIT" ]
null
null
null
from rest_framework.permissions import IsAdminUser from rest_framework.response import Response from rest_framework.viewsets import ModelViewSet from django.contrib.auth.models import Group,Permission from meiduo_admin.serializers.admins import AdminSerializer from meiduo_admin.serializers.groups import GroupSerializ...
30.28
59
0.797886
87
757
6.83908
0.563218
0.040336
0.085714
0.087395
0
0
0
0
0
0
0
0
0.14531
757
24
60
31.541667
0.919629
0.071334
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0.5
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bb9ee8706b7f6d7921c17c456d6c01f5455c55ad
8,231
py
Python
src/ktool/structs.py
TheRealKeto/ktool
3ea754ec9780ff1ed8097c5e26eac7fd792fd79b
[ "MIT" ]
null
null
null
src/ktool/structs.py
TheRealKeto/ktool
3ea754ec9780ff1ed8097c5e26eac7fd792fd79b
[ "MIT" ]
null
null
null
src/ktool/structs.py
TheRealKeto/ktool
3ea754ec9780ff1ed8097c5e26eac7fd792fd79b
[ "MIT" ]
null
null
null
# # ktool | ktool # structs.py # # This file contains a custom system for representing structures used within a mach-o header # # This file is part of ktool. ktool is free software that # is made available under the MIT license. Consult the # file "LICENSE" that is distributed together with this file # ...
19.458629
103
0.636496
1,172
8,231
4.226109
0.175768
0.035534
0.036947
0.037149
0.313749
0.239451
0.177064
0.14577
0.050273
0.010902
0
0.038802
0.2736
8,231
422
104
19.504739
0.789597
0.041915
0
0.348754
0
0
0.008592
0
0
0
0
0
0.003559
1
0.003559
false
0
0.010676
0
0.80427
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bbcb095446ef5151600103388ce79fa84e0ff7a0
10,215
py
Python
chemfp/commandline/simsearch.py
flc/chem-fingerprints
8c1b27374355f08105c5332db376b3428b6e30b2
[ "MIT" ]
null
null
null
chemfp/commandline/simsearch.py
flc/chem-fingerprints
8c1b27374355f08105c5332db376b3428b6e30b2
[ "MIT" ]
null
null
null
chemfp/commandline/simsearch.py
flc/chem-fingerprints
8c1b27374355f08105c5332db376b3428b6e30b2
[ "MIT" ]
null
null
null
from __future__ import with_statement import math import sys import itertools import chemfp from chemfp import argparse, readers, io, SOFTWARE, bitops def write_simsearch_magic(outfile): outfile.write("#Simsearch/1\n") def write_count_magic(outfile): outfile.write("#Count/1\n") def write_simsearch_header(ou...
37.417582
114
0.609496
1,288
10,215
4.680124
0.225932
0.028202
0.039482
0.030192
0.200896
0.171699
0.112973
0.09008
0.09008
0.028202
0
0.016621
0.281449
10,215
272
115
37.555147
0.804632
0.126579
0
0.170213
0
0
0.161737
0.005174
0
0
0
0
0
0
null
null
0.021277
0.037234
null
null
0.026596
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1