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
1f472d95e5b9265177fccf72a8f8017657e016e8
781
py
Python
app/recipe/tests/test_api_base.py
geraldini/recipe-app-api
653863e6c9d2b8132db1abdc80a3298a12e68d93
[ "MIT" ]
null
null
null
app/recipe/tests/test_api_base.py
geraldini/recipe-app-api
653863e6c9d2b8132db1abdc80a3298a12e68d93
[ "MIT" ]
null
null
null
app/recipe/tests/test_api_base.py
geraldini/recipe-app-api
653863e6c9d2b8132db1abdc80a3298a12e68d93
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.test import TestCase from rest_framework.test import APIClient from rest_framework import status class TestPublicApi(TestCase): """Test the publicly available API""" def setUp(self): self.client = APIClient() def _test_login_required(sel...
28.925926
76
0.693982
94
781
5.606383
0.5
0.075901
0.045541
0.060721
0.117647
0.117647
0
0
0
0
0
0.009772
0.213828
781
26
77
30.038462
0.848534
0.098592
0
0.222222
0
0
0.046176
0.030303
0
0
0
0
0.055556
1
0.166667
false
0.055556
0.222222
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1f47d5b4ab057d6c504a0d9cb2a13fdb741d3445
3,806
py
Python
font_to_3d_models.py
wixette/font-to-3d-models
bee73b5b235bfd1ea951aec732d1c71f3df7046c
[ "Apache-2.0" ]
10
2021-03-10T08:54:35.000Z
2022-03-16T17:00:43.000Z
font_to_3d_models.py
wixette/font-to-3d-models
bee73b5b235bfd1ea951aec732d1c71f3df7046c
[ "Apache-2.0" ]
2
2021-03-22T07:25:54.000Z
2021-11-08T18:07:17.000Z
font_to_3d_models.py
wixette/font-to-3d-models
bee73b5b235bfd1ea951aec732d1c71f3df7046c
[ "Apache-2.0" ]
4
2021-03-22T04:05:15.000Z
2022-01-14T11:51:52.000Z
"""Generates 3D models for ASCII letters or UNICODE glyphs based on a font file. Usage: blender -b -P font_to_3d_models.py -- <font_path> <output_dir> blender -b -P font_to_3d_models.py -- <font_path> <output_dir> <letters> <font_path>: The path to the font file. Both TTF and OTF files are supported. <outout_dir>: T...
30.206349
134
0.663689
586
3,806
4.134812
0.295222
0.046224
0.031779
0.032192
0.207181
0.207181
0.168386
0.144449
0.144449
0.144449
0
0.01279
0.21939
3,806
125
135
30.448
0.80276
0.337099
0
0.073529
1
0
0.180907
0
0
0
0
0
0
1
0.044118
false
0
0.044118
0
0.161765
0.161765
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
1f4bbb8f50ea47e53ec3a05c5c296adc5df5a189
702
py
Python
frontend_server/monitor.py
MSNLAB/SmartEye
40b38190aeff5d5b970c8cbf43e8781634b38028
[ "MIT", "Unlicense" ]
17
2021-06-27T04:33:13.000Z
2022-03-21T02:54:52.000Z
frontend_server/monitor.py
MSNLAB/SmartEye
40b38190aeff5d5b970c8cbf43e8781634b38028
[ "MIT", "Unlicense" ]
null
null
null
frontend_server/monitor.py
MSNLAB/SmartEye
40b38190aeff5d5b970c8cbf43e8781634b38028
[ "MIT", "Unlicense" ]
2
2021-10-31T05:14:24.000Z
2022-03-25T18:53:49.000Z
from loguru import logger import frontend_globals from frontend_server.grpc_interface import get_server_utilization def server_monitor(): """Update the cpu usage list and memory usage list every ten seconds. :return: None """ frontend_globals.cpu_usage = [] frontend_globals.memory_usage = [] ...
35.1
77
0.767806
94
702
5.37234
0.340426
0.237624
0.106931
0.136634
0.134653
0.134653
0
0
0
0
0
0
0.155271
702
19
78
36.947368
0.851602
0.115385
0
0
0
0
0.036364
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.333333
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
1f56ac1291de9516ce1e3f5fa633e4fe2b7332e4
6,731
py
Python
weixin_admin/settings.py
flyliufu/PythonDemo
9f31998a53e94b4036c6e96d80748945845b82b6
[ "Apache-2.0" ]
null
null
null
weixin_admin/settings.py
flyliufu/PythonDemo
9f31998a53e94b4036c6e96d80748945845b82b6
[ "Apache-2.0" ]
null
null
null
weixin_admin/settings.py
flyliufu/PythonDemo
9f31998a53e94b4036c6e96d80748945845b82b6
[ "Apache-2.0" ]
null
null
null
""" Django settings for weixin_admin project. Generated by 'django-admin startproject' using Django 2.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ # 导入模块 im...
28.888412
140
0.586837
650
6,731
5.975385
0.361538
0.050206
0.03965
0.045057
0.261329
0.239959
0.18898
0.18898
0.151133
0.090628
0
0.020141
0.262368
6,731
232
141
29.012931
0.762135
0.176348
0
0.222857
1
0.005714
0.459626
0.284703
0
0
0
0
0
1
0
false
0.034286
0.028571
0
0.028571
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
1f581447f4305d87fa7a7197b5e00015f179e638
527
py
Python
examples/github.py
EvanmBell/questionnaire
ed92642e8a2a0198da198acbcde2707f1d528585
[ "MIT" ]
50
2016-05-25T17:30:24.000Z
2021-07-24T06:57:23.000Z
examples/github.py
EvanmBell/questionnaire
ed92642e8a2a0198da198acbcde2707f1d528585
[ "MIT" ]
4
2018-05-17T06:36:24.000Z
2019-07-25T06:58:39.000Z
examples/github.py
EvanmBell/questionnaire
ed92642e8a2a0198da198acbcde2707f1d528585
[ "MIT" ]
7
2016-11-08T14:09:40.000Z
2021-10-16T15:24:13.000Z
from questionnaire import Questionnaire import requests q = Questionnaire(show_answers=False, can_go_back=False) q.raw('user', prompt='Username:') q.raw('pass', prompt='Password:', secret=True) q.run() r = requests.get('https://api.github.com/user/repos', auth=(q.answers.get('user'), q.answers.get('pass'))) if not(r....
27.736842
106
0.690702
83
527
4.349398
0.518072
0.066482
0.091413
0
0
0
0
0
0
0
0
0
0.108159
527
18
107
29.277778
0.768085
0
0
0.133333
0
0
0.223909
0
0
0
0
0
0
1
0
false
0.2
0.2
0
0.2
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
1
0
0
0
0
0
1
1f585fd19eccfea1eda7844562b17214f2448a0d
366
py
Python
setup.py
dbogdanov/beets-mpdadd
c6ca520714b0decffb66471188cfe260c89f4cd2
[ "MIT" ]
6
2015-04-02T01:46:24.000Z
2021-10-11T08:23:56.000Z
setup.py
dbogdanov/beets-mpdadd
c6ca520714b0decffb66471188cfe260c89f4cd2
[ "MIT" ]
null
null
null
setup.py
dbogdanov/beets-mpdadd
c6ca520714b0decffb66471188cfe260c89f4cd2
[ "MIT" ]
1
2021-10-09T02:07:23.000Z
2021-10-09T02:07:23.000Z
from setuptools import setup setup( name='beets-mpdadd', version='0.2', description='beets plugin that adds query results to the current MPD playlist', author='Daniel Greve', author_email='danielgreve@users.noreply.github.com', license='MIT', platforms='ALL', packages=['beetsplug'], ...
26.142857
83
0.68306
44
366
5.636364
0.909091
0
0
0
0
0
0
0
0
0
0
0.009934
0.174863
366
13
84
28.153846
0.811258
0
0
0
0
0
0.431694
0.098361
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
1f62b78aee1956ff90013fc1c6228c1dc58bb4c7
964
py
Python
sculpture/models/user_profile.py
kingsdigitallab/crsbi-django
649ed0d90a798454fd8bf96e120d0be4c06e293d
[ "MIT" ]
1
2019-02-03T12:00:36.000Z
2019-02-03T12:00:36.000Z
sculpture/models/user_profile.py
kingsdigitallab/crsbi-django
649ed0d90a798454fd8bf96e120d0be4c06e293d
[ "MIT" ]
null
null
null
sculpture/models/user_profile.py
kingsdigitallab/crsbi-django
649ed0d90a798454fd8bf96e120d0be4c06e293d
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.db import models from django.db.models.signals import post_save class UserProfile (models.Model): user = models.OneToOneField(User) class Meta: app_label = 'sculpture' ordering = ['user__first_name', 'user__last_name', 'user__username']...
29.212121
78
0.678423
126
964
5
0.444444
0.050794
0.038095
0.053968
0.11746
0.11746
0.11746
0.11746
0
0
0
0
0.220954
964
32
79
30.125
0.838881
0.116183
0
0
0
0
0.118203
0.034279
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
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
1f656f097fa61448d8c34a111b0bab16be04d070
3,241
py
Python
ezclimate/sensitivity_analysis_results_python/Matlabmod.py
Yili-Yang/Litterman_Carbon_Pricing
71eeefc5e2d9b4c1473a9a6ae85c33b019e32d84
[ "MIT" ]
null
null
null
ezclimate/sensitivity_analysis_results_python/Matlabmod.py
Yili-Yang/Litterman_Carbon_Pricing
71eeefc5e2d9b4c1473a9a6ae85c33b019e32d84
[ "MIT" ]
null
null
null
ezclimate/sensitivity_analysis_results_python/Matlabmod.py
Yili-Yang/Litterman_Carbon_Pricing
71eeefc5e2d9b4c1473a9a6ae85c33b019e32d84
[ "MIT" ]
null
null
null
# -- coding utf-8 -- #Created on Fri Jun 16 151644 2017 #@author Ted Yang import datetime as dt from tree import TreeModel from bau import DLWBusinessAsUsual from cost import DLWCost from damage import DLWDamage from utility import EZUtility from optimization import GeneticAlgorithm, GradientSearch import numpy as n...
42.644737
136
0.64116
519
3,241
3.867052
0.39499
0.017439
0.024415
0.011958
0.067763
0.032885
0.015944
0
0
0
0
0.091667
0.259488
3,241
75
137
43.213333
0.744583
0.346189
0
0.04878
0
0
0
0
0
0
0
0
0
1
0.170732
false
0
0.195122
0.073171
0.536585
0.04878
0
0
0
null
0
0
0
0
0
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
1f65d722e2aee93e7bf79de17ca424f624a5e205
3,436
py
Python
data_generator_keras_template.py
minus31/Deeplearning_Template
27820947f0118f9c248d0a7ee42755dd6811e393
[ "MIT" ]
null
null
null
data_generator_keras_template.py
minus31/Deeplearning_Template
27820947f0118f9c248d0a7ee42755dd6811e393
[ "MIT" ]
null
null
null
data_generator_keras_template.py
minus31/Deeplearning_Template
27820947f0118f9c248d0a7ee42755dd6811e393
[ "MIT" ]
null
null
null
import numpy as np import tensorflow as tf import cv2 from augmentation import Augment from preprocess import input_preprocess, label_preprocess # Initialize portrait augment aug = Augment() ## Define augment params aug_params = { "angle_range": (-45, 45), "scale_range": (0.6, 1.5), "gamma_range": (0.5, 1....
29.367521
82
0.565483
424
3,436
4.377358
0.301887
0.051724
0.038793
0.024784
0.038793
0.038793
0.038793
0.038793
0.038793
0.038793
0
0.017613
0.339057
3,436
116
83
29.62069
0.799648
0.083818
0
0.027397
0
0
0.072792
0
0
0
0
0
0
0
null
null
0
0.068493
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
1f67a9da81bb73de328394500075b9020ff45ce1
226
py
Python
exercicios/012.py
danielcesarcs/Python_aulas_cursoemvideo
5e9293458a630651e7b6bc7c083869bae0e68e6f
[ "MIT" ]
null
null
null
exercicios/012.py
danielcesarcs/Python_aulas_cursoemvideo
5e9293458a630651e7b6bc7c083869bae0e68e6f
[ "MIT" ]
null
null
null
exercicios/012.py
danielcesarcs/Python_aulas_cursoemvideo
5e9293458a630651e7b6bc7c083869bae0e68e6f
[ "MIT" ]
null
null
null
"""Preço e desconto""" # Operadores aritmeticos preco = int(input('Digite o preço do produto: ')) off = (price * 5) / 100 precofinal = price - off print('O preço final do produto com 5% de desconto é: R$ {}'.format(pricef))
25.111111
76
0.672566
34
226
4.470588
0.735294
0.078947
0
0
0
0
0
0
0
0
0
0.026882
0.176991
226
8
77
28.25
0.790323
0.176991
0
0
0
0
0.438889
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1f67e9507f7c652f39bb9c30b6725537e25be896
15,061
py
Python
zhuaxia/downloader.py
yangchuansheng/zhuaxia
dbe310d5fee6525ee2880c06ba6d59cbe3d54206
[ "MIT" ]
332
2015-01-04T05:03:00.000Z
2021-07-02T13:19:11.000Z
zhuaxia/downloader.py
yangchuansheng/zhuaxia
dbe310d5fee6525ee2880c06ba6d59cbe3d54206
[ "MIT" ]
53
2015-07-18T14:54:08.000Z
2018-09-09T22:32:24.000Z
zhuaxia/downloader.py
yangchuansheng/zhuaxia
dbe310d5fee6525ee2880c06ba6d59cbe3d54206
[ "MIT" ]
87
2015-01-04T10:15:35.000Z
2020-11-08T05:17:45.000Z
# -*- coding:utf-8 -*- from os import path import os import datetime import sys import requests import config, log, util import time import hist_handler import traceback from threadpool import ThreadPool from Queue import Queue from mutagen.id3 import ID3,TRCK,TIT2,TALB,TPE1,APIC,TDRC,COMM,TPOS,USLT from threading impo...
33.028509
152
0.6147
2,031
15,061
4.404234
0.176268
0.01062
0.028172
0.005478
0.292677
0.258357
0.221576
0.160984
0.160984
0.160984
0
0.01624
0.276343
15,061
455
153
33.101099
0.804019
0.084457
0
0.29
0
0.003333
0.070078
0
0
0
0
0
0
0
null
null
0
0.063333
null
null
0.04
0
0
0
null
0
0
0
0
0
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
1f6916f0312d8013f34edb6e7b3b61ce9ffbc479
1,625
py
Python
django_photo_gallery/users/models/user.py
yk-lab/django-photo-gallery
0042fbe9eafff286f9c9994f74559615fe11da02
[ "MIT" ]
null
null
null
django_photo_gallery/users/models/user.py
yk-lab/django-photo-gallery
0042fbe9eafff286f9c9994f74559615fe11da02
[ "MIT" ]
null
null
null
django_photo_gallery/users/models/user.py
yk-lab/django-photo-gallery
0042fbe9eafff286f9c9994f74559615fe11da02
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Optional, cast from django.contrib.auth.models import AbstractBaseUser, BaseUserManager from django.db import models from model_utils.models import TimeStampedModel, UUIDModel class UserManager(BaseUserManager): def create_user( self, ...
26.209677
76
0.636923
182
1,625
5.549451
0.401099
0.027723
0.074257
0.050495
0.140594
0.140594
0.140594
0.083168
0
0
0
0.002571
0.281846
1,625
61
77
26.639344
0.862896
0.041846
0
0.288889
0
0
0.026093
0
0
0
0
0
0
1
0.111111
false
0.088889
0.111111
0.066667
0.511111
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
1f694e3091d7a2bcfe7fb01f9d91b9c9d35d4067
949
py
Python
neutrino-winds/tests/test_Adiabatic_wind_solver.py
colbrydi/neutrino-winds
0088a0568841cda00ee8303b797d05be9feab844
[ "BSD-3-Clause" ]
null
null
null
neutrino-winds/tests/test_Adiabatic_wind_solver.py
colbrydi/neutrino-winds
0088a0568841cda00ee8303b797d05be9feab844
[ "BSD-3-Clause" ]
null
null
null
neutrino-winds/tests/test_Adiabatic_wind_solver.py
colbrydi/neutrino-winds
0088a0568841cda00ee8303b797d05be9feab844
[ "BSD-3-Clause" ]
null
null
null
import os, sys sys.path.append("") import Adiabatic_wind_solver as aws import pytest import numpy as np def test_pc(): '''Simple test of the percent change function''' s=aws.solver() assert s.percentChange(np.array([10,0]),np.array([11,0]))==10.0 def test_dw(): '''Checks that the isothermal (base...
31.633333
90
0.679663
149
949
4.288591
0.469799
0.070423
0.062598
0.100156
0.106416
0
0
0
0
0
0
0.134931
0.164384
949
29
91
32.724138
0.67087
0.286617
0
0.210526
0
0
0
0
0
0
0
0
0.263158
1
0.210526
false
0
0.210526
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1f6b9cbc42cd1a97a1b03c11ffd4c8b89e5ee166
2,483
py
Python
hit_finding/rank_order_compounds_by_fusion.py
sriniker/TDT-tutorial-2014
be0605a544edbfd8b8e97454e1818fc8f922827b
[ "BSD-3-Clause" ]
11
2015-07-03T12:29:59.000Z
2022-03-19T17:28:11.000Z
hit_finding/rank_order_compounds_by_fusion.py
sriniker/TDT-tutorial-2014
be0605a544edbfd8b8e97454e1818fc8f922827b
[ "BSD-3-Clause" ]
null
null
null
hit_finding/rank_order_compounds_by_fusion.py
sriniker/TDT-tutorial-2014
be0605a544edbfd8b8e97454e1818fc8f922827b
[ "BSD-3-Clause" ]
8
2016-03-07T07:34:55.000Z
2021-11-12T03:34:08.000Z
# rank orders a list of commercially available compounds # using a fusion model import os, gzip, numpy, cPickle, sys from collections import defaultdict from rdkit import Chem, DataStructs from rdkit.Chem import rdMolDescriptors as rdMD # common functions sys.path.insert(0, os.getcwd()+'/../') import common_functions...
35.985507
89
0.715264
390
2,483
4.379487
0.305128
0.028103
0.04918
0.055621
0.211944
0.154567
0.066745
0.066745
0
0
0
0.034086
0.125654
2,483
68
90
36.514706
0.752649
0.138139
0
0
0
0
0.205744
0.132298
0
0
0
0
0
0
null
null
0
0.108696
null
null
0.108696
0
0
0
null
0
0
0
0
0
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
1f80ccd614a116cb7e594ce776b7b4167bb6a1fa
1,135
py
Python
src/python/packages/file/data.py
djrlj694/nyc-taxi-analysis
0d62cc56594ef9260580c9e6c203e9fbde6fee24
[ "MIT" ]
null
null
null
src/python/packages/file/data.py
djrlj694/nyc-taxi-analysis
0d62cc56594ef9260580c9e6c203e9fbde6fee24
[ "MIT" ]
null
null
null
src/python/packages/file/data.py
djrlj694/nyc-taxi-analysis
0d62cc56594ef9260580c9e6c203e9fbde6fee24
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ data.py - A module defining an abstract base class (`DataFile`) for loading an object to a Pandas DataFrame """ from abc import ABC from dataclasses import dataclass import pandas as pd # =========================================================================== # # METADATA # ===========...
23.163265
79
0.448458
96
1,135
5.104167
0.59375
0.073469
0.040816
0.061224
0.15102
0
0
0
0
0
0
0.014333
0.200881
1,135
48
80
23.645833
0.52591
0.596476
0
0
0
0
0.179348
0
0
0
0
0
0
1
0.090909
false
0.090909
0.272727
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1f88892084a80bc506265d47db1049fe35bae503
668
py
Python
api/reqs/migrations/0011_auto_20180117_2323.py
18F/omb-eregs
7c85fe9112c385f74bc37e22cb180c598c2d49fe
[ "CC0-1.0" ]
10
2017-01-09T19:01:57.000Z
2017-11-16T19:18:21.000Z
api/reqs/migrations/0011_auto_20180117_2323.py
18F/omb-eregs
7c85fe9112c385f74bc37e22cb180c598c2d49fe
[ "CC0-1.0" ]
895
2017-01-09T20:12:38.000Z
2018-05-21T13:35:43.000Z
api/reqs/migrations/0011_auto_20180117_2323.py
18F/omb-eregs
7c85fe9112c385f74bc37e22cb180c598c2d49fe
[ "CC0-1.0" ]
9
2017-05-24T04:49:38.000Z
2021-02-14T10:37:43.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2018-01-17 23:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reqs', '0010_policy_workflow_phase_squashed_0011_auto_20180117_1846'), ] operations...
31.809524
226
0.636228
75
668
5.426667
0.72
0.063882
0
0
0
0
0
0
0
0
0
0.073171
0.202096
668
20
227
33.4
0.690432
0.101796
0
0
1
0
0.296482
0.098827
0
0
0
0
0
1
0
false
0
0.230769
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1f88bf8e70d7ec28871bdb0394dfab11e5adcb80
979
py
Python
clone_all.py
erstens/gerrit-changes-clip
3543a66b6c2053be882eb3423c6eae72c399f09b
[ "MIT" ]
null
null
null
clone_all.py
erstens/gerrit-changes-clip
3543a66b6c2053be882eb3423c6eae72c399f09b
[ "MIT" ]
null
null
null
clone_all.py
erstens/gerrit-changes-clip
3543a66b6c2053be882eb3423c6eae72c399f09b
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: UTF-8 -*- ##gerrit 打印信息:指定 gerrit 下的所有项目clone 地址,然后粘贴到 shell 执行。 ''' require: python2.x requests: npm to install requests ''' import ConfigParser import json import requests import os ##全局变量 site = '' _os = '' def __init__(): cf = ConfigParser.ConfigParser() cf.read("global.con...
14.397059
83
0.625128
134
979
4.462687
0.589552
0.046823
0.036789
0
0
0
0
0
0
0
0
0.012723
0.19714
979
67
84
14.61194
0.748092
0.209397
0
0
0
0
0.147564
0
0
0
0
0
0
0
null
null
0
0.114286
null
null
0.057143
0
0
0
null
0
0
0
0
0
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
1f8f2d6ed4968eac594dcc695b6eccd05ea3b695
4,638
py
Python
software/multifluids_icferst/mayavi/mayavi_amcg/triangle_writer.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
2
2020-05-11T02:39:46.000Z
2020-05-11T03:08:38.000Z
software/multifluids_icferst/mayavi/mayavi_amcg/triangle_writer.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
null
null
null
software/multifluids_icferst/mayavi/mayavi_amcg/triangle_writer.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
2
2020-05-21T22:50:19.000Z
2020-10-28T17:16:31.000Z
# Author: Daryl Harrison # Enthought library imports. from enthought.traits.api import HasTraits, Instance, String from enthought.tvtk.api import tvtk # Local imports. from os import path ###################################################################### # `TriangleWriter` class #################################...
33.854015
120
0.580638
575
4,638
4.49913
0.203478
0.055663
0.059528
0.02126
0.373405
0.294163
0.192888
0.150367
0.131813
0.131813
0
0.00857
0.270375
4,638
137
121
33.854015
0.75591
0.188659
0
0.216216
0
0
0.046307
0
0
0
0
0
0
0
null
null
0
0.040541
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
2f08c4a5c804ef5acfa0c2f6adb75e04bb3dc964
664
py
Python
moveNegative.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
moveNegative.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
moveNegative.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Record the position of left 0, if != 0 then exchange, zero move to next, zero keep stay at left position of zeros class Solution(object): def moveNegative(self, nums): ng = 0 # records the position of "0" for i in xrange(len(nums)): # print i, zero, nums ...
39.058824
161
0.590361
102
664
3.843137
0.470588
0.076531
0.066327
0.071429
0
0
0
0
0
0
0
0.031983
0.293675
664
17
162
39.058824
0.803838
0.498494
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
2f1658be7c25ccb0823512aa539263093c3d8846
14,089
py
Python
PwStrength/PwStrength.py
dylanfmarquis/PwStrength
02508c6c52ca0aa8499f5c6915d2a4478733edfa
[ "MIT" ]
null
null
null
PwStrength/PwStrength.py
dylanfmarquis/PwStrength
02508c6c52ca0aa8499f5c6915d2a4478733edfa
[ "MIT" ]
null
null
null
PwStrength/PwStrength.py
dylanfmarquis/PwStrength
02508c6c52ca0aa8499f5c6915d2a4478733edfa
[ "MIT" ]
null
null
null
""" PwStrength - Password Strength Test Copyright (C) 2016 Dylan F. Marquis 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, cop...
34.447433
116
0.544325
1,598
14,089
4.734668
0.220901
0.031721
0.021147
0.016918
0.210283
0.151996
0.129791
0.111155
0.088422
0.080624
0
0.034334
0.342608
14,089
408
117
34.531863
0.782552
0.17936
0
0.136364
0
0
0.053283
0.005494
0
0
0
0
0
1
0.05303
false
0.174242
0.030303
0.003788
0.19697
0.022727
0
0
0
null
0
0
0
0
0
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
2f181d5ae3f4773291215c5ca9988eea7d641183
201
py
Python
test_code/testGPIO_DIN_read.py
bauchter-work/2445_git_repo
ec5f945602da4494868d8ecefec2ad2c0faf29a9
[ "Unlicense", "MIT" ]
null
null
null
test_code/testGPIO_DIN_read.py
bauchter-work/2445_git_repo
ec5f945602da4494868d8ecefec2ad2c0faf29a9
[ "Unlicense", "MIT" ]
3
2015-08-14T16:45:19.000Z
2015-08-14T16:53:00.000Z
test_code/testGPIO_DIN_read.py
bauchter-work/2445_git_repo
ec5f945602da4494868d8ecefec2ad2c0faf29a9
[ "Unlicense", "MIT" ]
null
null
null
import Adafruit_BBIO.GPIO as GPIO import time GPIO.setup("P8_16",GPIO.IN) while True: if GPIO.input("P8_16"): print("Pin is HIGH") else: print("Pin is LOW") time.sleep(1)
16.75
33
0.621891
33
201
3.69697
0.666667
0.065574
0.163934
0
0
0
0
0
0
0
0
0.046053
0.243781
201
11
34
18.272727
0.756579
0
0
0
0
0
0.154229
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0.222222
0
0
0
null
0
0
0
0
0
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
2f1975cf4821b9358eb96b278a35462699101363
1,469
py
Python
src/101_200/0151_reverse-words-in-a-string/reverse-words-in-a-string.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-12-18T06:08:47.000Z
2019-12-18T06:08:47.000Z
src/101_200/0151_reverse-words-in-a-string/reverse-words-in-a-string.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-05-18T09:35:22.000Z
2019-05-18T09:35:22.000Z
src/101_200/0151_reverse-words-in-a-string/reverse-words-in-a-string.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
null
null
null
class Solution(object): def reverseWords(self, s): """ :type s: str :rtype: str """ return " ".join(s.split()[::-1]) # 自己实现,去头尾空格,反转字符串,再反转每个单词 def reverseWords(self, s): if not s: return s def trim_space(s): left = 0 right = len(s)-1 while left<=right and s[left]==" ": left +...
19.328947
47
0.559564
220
1,469
3.713636
0.190909
0.132191
0.119951
0.073439
0.402693
0.307222
0.255814
0.255814
0.255814
0.176255
0
0.020314
0.262764
1,469
76
48
19.328947
0.733149
0.021103
0
0.491525
0
0
0.007874
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
2f21000ca9d8526629507fbe605aaa7d46cef7da
544
py
Python
Model/VectorOutput.py
skynet1010/ICoTSC2020_Example
8340ef10c06bc1e9d1097763f962e03390694ea0
[ "MIT" ]
null
null
null
Model/VectorOutput.py
skynet1010/ICoTSC2020_Example
8340ef10c06bc1e9d1097763f962e03390694ea0
[ "MIT" ]
null
null
null
Model/VectorOutput.py
skynet1010/ICoTSC2020_Example
8340ef10c06bc1e9d1097763f962e03390694ea0
[ "MIT" ]
null
null
null
from Model.Layer import Layer def create_model_vector_gru(output_length, output_features): model = [ Layer(layer_type='GRU', size=2 * output_features, return_sequences=True), Layer(layer_type='GRU', size=4 * output_features, return_sequences=False), Layer(layer_type='Dropout', size=...
41.846154
96
0.694853
68
544
5.294118
0.382353
0.194444
0.194444
0.144444
0.116667
0
0
0
0
0
0
0.009009
0.183824
544
12
97
45.333333
0.801802
0
0
0
0
0
0.069549
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2f2d68a7322be2da91e629638adc431212f62a19
322
py
Python
py_macupdate/new_cli.py
ndpete/py-macupdate
06b0c69e4d9b54f89e0f0a2daf6003220bde24a8
[ "Apache-2.0" ]
null
null
null
py_macupdate/new_cli.py
ndpete/py-macupdate
06b0c69e4d9b54f89e0f0a2daf6003220bde24a8
[ "Apache-2.0" ]
null
null
null
py_macupdate/new_cli.py
ndpete/py-macupdate
06b0c69e4d9b54f89e0f0a2daf6003220bde24a8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3.6 import click import pipsi # from .awsparams import ls_param, cp_param, mv_param, rm_param, new_param, set_param, __VERSION__ __VERSION__ = '0.0.1' @click.group() @click.version_option(version=__VERSION__) def main(): pass main.add_group(pipsi.main) if __name__ == '__main__': main(...
16.947368
98
0.729814
48
322
4.3125
0.583333
0.135266
0
0
0
0
0
0
0
0
0
0.018051
0.139752
322
18
99
17.888889
0.729242
0.372671
0
0
0
0
0.065
0
0
0
0
0
0
1
0.1
false
0.1
0.2
0
0.3
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
2f383e079e1dcf5990275326fbb57622dc648878
1,016
py
Python
strategy/trade/__init__.py
zsffq999/helloworld
aba6b4bcbae496766bf371681fe126d11051d40b
[ "Apache-2.0" ]
null
null
null
strategy/trade/__init__.py
zsffq999/helloworld
aba6b4bcbae496766bf371681fe126d11051d40b
[ "Apache-2.0" ]
null
null
null
strategy/trade/__init__.py
zsffq999/helloworld
aba6b4bcbae496766bf371681fe126d11051d40b
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- class Trade(object): """ 交易模块基类,根据模型预测的涨跌信号和实时数据发出交易指令 """ def __init__(self): self.tradeinfo = [] def trade(self, signal, dataset): """ 交易 :param signal: 模型预测的涨跌信号(+-1,0) :param dataset: 实时行情,DataSet基类 :return: 交易指令 """ pass def rcvtrade(self, trade): print(*trade) ...
19.169811
122
0.633858
134
1,016
4.626866
0.440299
0.062903
0.035484
0.067742
0
0
0
0
0
0
0
0.020507
0.184055
1,016
53
123
19.169811
0.727382
0.267717
0
0
0
0.045455
0.122093
0
0
0
0
0
0
1
0.227273
false
0.045455
0
0.045455
0.409091
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
2f3e4e666d2b9ceca29004e8a4014f1f20d8aba0
679
py
Python
post.py
strickyak/gforth-transpiler
0d8153c41518a0f581252b766f6ffb3eaa5012d7
[ "MIT" ]
2
2021-11-28T00:51:49.000Z
2022-01-24T07:18:33.000Z
post.py
strickyak/gforth-transpiler
0d8153c41518a0f581252b766f6ffb3eaa5012d7
[ "MIT" ]
null
null
null
post.py
strickyak/gforth-transpiler
0d8153c41518a0f581252b766f6ffb3eaa5012d7
[ "MIT" ]
null
null
null
# Filter to normalize how floating point numbers are printed # to clean up diffs between gforth and transpiler output. # # python post.py < output > normalized_output import re, sys SEARCH_FLOAT = re.compile(r'([-]?([0-9]+[.][0-9]*|[0-9]*[.][0-9]+)([eE][-]?[0-9]+)?)(.*)$').search for line in sys.stdin: done, rest...
27.16
98
0.590574
104
679
3.826923
0.509615
0.025126
0.022613
0.030151
0.095477
0.020101
0
0
0
0
0
0.035055
0.201767
679
24
99
28.291667
0.699262
0.324006
0
0
0
0.071429
0.145695
0.134658
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2f41db6d7a551d399112545dbaeec03365214001
1,681
py
Python
pyodec/files/vaisala_cl31_ep.py
pyodec/pyodec
6ec2f9bd622967478c6b7756d539008f1b3c08e8
[ "MIT" ]
null
null
null
pyodec/files/vaisala_cl31_ep.py
pyodec/pyodec
6ec2f9bd622967478c6b7756d539008f1b3c08e8
[ "MIT" ]
1
2019-10-30T12:44:12.000Z
2019-10-30T12:44:12.000Z
pyodec/files/vaisala_cl31_ep.py
pyodec/pyodec
6ec2f9bd622967478c6b7756d539008f1b3c08e8
[ "MIT" ]
null
null
null
from pyodec.core import FileDecoder, VariableList from pyodec.messages.vaisalacl31 import decoder as msgdecode import numpy as np import os import time import gzip """ CL-31 message #2 with epoch timestamps """ class Epcl31D(FileDecoder): def on_chunk(self, message): # this is an end-spliced message, so w...
29.491228
94
0.615705
228
1,681
4.469298
0.578947
0.026497
0
0
0
0
0
0
0
0
0
0.032773
0.292088
1,681
57
95
29.491228
0.823529
0.175491
0
0.093023
0
0
0.047191
0
0
0
0
0
0
0
null
null
0
0.162791
null
null
0.069767
0
0
0
null
0
0
0
0
0
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
2f457b651fb7e6be810c6fe60cb18a034f4767a0
726
py
Python
Session 1 - Programing with Python/python-intro/3_loops.py
mathisgerdes/microbit-macau
74ca0d6ce482549366c34802ccd508059632194c
[ "MIT" ]
1
2019-03-20T19:34:11.000Z
2019-03-20T19:34:11.000Z
Session 1 - Programing with Python/python-intro/3_loops.py
MEET-microbit-project/microbit-macau
74ca0d6ce482549366c34802ccd508059632194c
[ "MIT" ]
null
null
null
Session 1 - Programing with Python/python-intro/3_loops.py
MEET-microbit-project/microbit-macau
74ca0d6ce482549366c34802ccd508059632194c
[ "MIT" ]
null
null
null
############# ignore this bit for now ############# from microbit import * def was_pressed(): sleep(500) return button_a.was_pressed() or button_b.was_pressed() display.show(Image.ASLEEP) ############# edit below ############# # the expression "was_pressed()" will return a bool # telling you whether any of ...
26.888889
77
0.655647
108
726
4.333333
0.62963
0.08547
0.068376
0
0
0
0
0
0
0
0
0.006678
0.174931
726
26
78
27.923077
0.774624
0.487603
0
0
0
0
0.122378
0
0
0
0
0
0
1
0.125
false
0.25
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2f4fe700f66d6a1e50809479ebadfecab5ea81da
648
py
Python
Project1_Day1_Simple_Name_Generator/name_generator.py
ariv14/python_day1
6a649d19669a3952aa55509754a91afebe215066
[ "Apache-2.0" ]
null
null
null
Project1_Day1_Simple_Name_Generator/name_generator.py
ariv14/python_day1
6a649d19669a3952aa55509754a91afebe215066
[ "Apache-2.0" ]
null
null
null
Project1_Day1_Simple_Name_Generator/name_generator.py
ariv14/python_day1
6a649d19669a3952aa55509754a91afebe215066
[ "Apache-2.0" ]
null
null
null
#1. Create a greeting for your program. print("\nSimple Name Generator\n") #2. Ask the user for the city that they grew up in. #raw_input() for python v2 , input() for python v3 # Make sure the input cursor shows on a new line raw_input("Press enter : ") print("\nSimple Name Generator\n") city = raw_input("What is the ...
46.285714
74
0.709877
121
648
3.752066
0.413223
0.070485
0.079295
0.110132
0.348018
0.162996
0.162996
0.162996
0.162996
0.162996
0
0.011494
0.194444
648
13
75
49.846154
0.858238
0.527778
0
0.333333
0
0
0.575251
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
2f5413a981800fc50d8eb66544ff78da10e4e928
11,090
py
Python
direct/stdpy/threading.py
theclashingfritz/Cog-Invasion-Online-Dump
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
[ "Apache-2.0" ]
1
2020-03-12T16:44:10.000Z
2020-03-12T16:44:10.000Z
direct/stdpy/threading.py
theclashingfritz/Cog-Invasion-Online-Dump
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
[ "Apache-2.0" ]
null
null
null
direct/stdpy/threading.py
theclashingfritz/Cog-Invasion-Online-Dump
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.2.4 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] # Embedded file name: direct.stdpy.threading import direct from panda3d import core from direct.stdpy import thread as _thread import sys as _sys, weakref __a...
24.427313
104
0.575654
1,210
11,090
4.967769
0.180992
0.034603
0.02745
0.012643
0.182166
0.134587
0.08185
0.071868
0.052903
0.052903
0
0.008458
0.317674
11,090
454
105
24.427313
0.785913
0.017854
0
0.310448
0
0
0.036738
0
0
0
0
0
0
0
null
null
0.002985
0.020896
null
null
0.002985
0
0
0
null
0
0
0
0
0
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
2f5cb729c6b0f03b0de569762ac5c54bc7723d22
658
py
Python
pd_utils/optimize/load/__init__.py
nickderobertis/pd-utils
cb3c96de212830c6b837aa29b50ab1a348abfb9a
[ "MIT" ]
null
null
null
pd_utils/optimize/load/__init__.py
nickderobertis/pd-utils
cb3c96de212830c6b837aa29b50ab1a348abfb9a
[ "MIT" ]
23
2020-01-25T21:07:48.000Z
2021-12-20T00:10:14.000Z
pd_utils/optimize/load/__init__.py
nickderobertis/pd-utils
cb3c96de212830c6b837aa29b50ab1a348abfb9a
[ "MIT" ]
1
2021-08-09T11:11:49.000Z
2021-08-09T11:11:49.000Z
import pandas as pd from pd_utils.optimize.typing import DfOrSeries def read_file(filepath: str, **read_func_kwargs) -> DfOrSeries: extension = filepath.rpartition(".")[-1].lower() if extension == "csv": df = pd.read_csv(filepath, **read_func_kwargs) # TODO [#4]: in read_file, determine filetype ...
28.608696
73
0.673252
88
658
4.897727
0.602273
0.055684
0.051044
0.088167
0
0
0
0
0
0
0
0.005848
0.220365
658
22
74
29.909091
0.834308
0.352584
0
0
0
0
0.095122
0
0
0
0
0.045455
0
1
0.111111
false
0
0.222222
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
1
0
0
0
0
0
0
0
0
0
0
1
2f622b62fdc748316f617a2bc88778fa343929a6
1,503
py
Python
reporter/uhl_reports/civicrm/practice_duplicate_name.py
LCBRU/reporter
8cb0ae403346e375a5e99d1d4df375cf2d5f3b81
[ "MIT" ]
null
null
null
reporter/uhl_reports/civicrm/practice_duplicate_name.py
LCBRU/reporter
8cb0ae403346e375a5e99d1d4df375cf2d5f3b81
[ "MIT" ]
null
null
null
reporter/uhl_reports/civicrm/practice_duplicate_name.py
LCBRU/reporter
8cb0ae403346e375a5e99d1d4df375cf2d5f3b81
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from reporter.core import SqlReport, Schedule from reporter.uhl_reports.civicrm import get_contact_link from reporter.emailing import RECIPIENT_IT_DQ class CivicrmPracticeDuplicateName(SqlReport): def __init__(self): super().__init__( introduction=("The follow...
36.658537
69
0.503659
142
1,503
5.06338
0.485915
0.133519
0.079277
0.055633
0.21975
0.21975
0.1363
0.1363
0.1363
0.1363
0
0.004646
0.427146
1,503
40
70
37.575
0.83043
0.013972
0
0.171429
0
0
0.614851
0.086745
0
0
0
0
0
1
0.057143
false
0
0.085714
0.028571
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2f62ce17c904a2e0dc5be5588b0a19cbc9495b24
8,849
py
Python
Analysis.py
georgialoukatou/Cornell-Conversational-Analysis-Toolkit
6c1589deeb4d7157fa2a29187e59c6db27d3000d
[ "MIT" ]
null
null
null
Analysis.py
georgialoukatou/Cornell-Conversational-Analysis-Toolkit
6c1589deeb4d7157fa2a29187e59c6db27d3000d
[ "MIT" ]
null
null
null
Analysis.py
georgialoukatou/Cornell-Conversational-Analysis-Toolkit
6c1589deeb4d7157fa2a29187e59c6db27d3000d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- !pip install git+https://github.com/georgialoukatou/Cornell-Conversational-Analysis-Toolkit.git/@Hai #my github for extra pos and lemma analysis import convokit from convokit import Corpus, download corpus = Corpus(download('subreddit-Cornell')) !python -m spacy do...
29.301325
536
0.66968
1,159
8,849
5.094047
0.269198
0.01084
0.006775
0.006098
0.060467
0.020664
0.013889
0.013889
0.013889
0
0
0.007069
0.152786
8,849
301
537
29.398671
0.780446
0.162278
0
0.125604
0
0
0.091289
0
0
0
0
0
0
0
null
null
0
0.038647
null
null
0.048309
0
0
0
null
0
0
0
0
0
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
2f66677b715206be248af63ac0300c1a1ca4ef3b
1,961
py
Python
infrastructure/services/PortainerService.py
owlint/Portainer2Git
fa5592ce75a9e312b6b4763b18b2d8b3b419333f
[ "Apache-2.0" ]
1
2020-05-03T14:00:46.000Z
2020-05-03T14:00:46.000Z
infrastructure/services/PortainerService.py
lauevrar77/Portainer2Git
fa5592ce75a9e312b6b4763b18b2d8b3b419333f
[ "Apache-2.0" ]
null
null
null
infrastructure/services/PortainerService.py
lauevrar77/Portainer2Git
fa5592ce75a9e312b6b4763b18b2d8b3b419333f
[ "Apache-2.0" ]
null
null
null
from urllib.parse import urljoin import requests class PortainerService: def get_stack( self, endpoint: str, stack_name: str, username: str, password: str ) -> str: token = self.__login(endpoint, username, password) stack_id = self.__get_stack_id(endpoint, stack_name, token) st...
33.237288
79
0.585416
212
1,961
5.240566
0.226415
0.081008
0.09721
0.054005
0.470747
0.470747
0.420342
0.420342
0.380738
0.380738
0
0.006579
0.302397
1,961
58
80
33.810345
0.805556
0
0
0.282609
0
0
0.197348
0.048955
0
0
0
0
0
1
0.086957
false
0.086957
0.043478
0
0.23913
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
2f6830cb1ed488726ab4c2e15690f4ffe99ad3ed
1,055
py
Python
examples/sparse_vector_normals.py
carnot-shailesh/cr-sparse
989ebead8a8ac37ade643093e1caa31ae2a3eda1
[ "Apache-2.0" ]
42
2021-06-11T17:11:29.000Z
2022-03-29T11:51:44.000Z
examples/sparse_vector_normals.py
carnot-shailesh/cr-sparse
989ebead8a8ac37ade643093e1caa31ae2a3eda1
[ "Apache-2.0" ]
19
2021-06-04T11:36:11.000Z
2022-01-22T20:13:39.000Z
examples/sparse_vector_normals.py
carnot-shailesh/cr-sparse
989ebead8a8ac37ade643093e1caa31ae2a3eda1
[ "Apache-2.0" ]
5
2021-11-21T21:01:11.000Z
2022-02-28T07:20:03.000Z
""" A sparse model vector generator ================================= Demonstrates how to create sparse model vectors with small number of non-zero entries sampled from Gaussian distribution """ # %% # Let's import necessary libraries import matplotlib as mpl import matplotlib.pyplot as plt from jax import random i...
23.977273
120
0.7109
168
1,055
4.440476
0.5
0.046917
0.075067
0.064343
0.058981
0
0
0
0
0
0
0.014723
0.163033
1,055
43
121
24.534884
0.830125
0.547867
0
0
0
0
0.006579
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
1
0
0
0
0
1
2f70f4c38e1e474a96a8c57ce871519373175f95
1,343
py
Python
Implementations/Kattis/others/FlPr03/guessthedatastructure.py
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
Implementations/Kattis/others/FlPr03/guessthedatastructure.py
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
Implementations/Kattis/others/FlPr03/guessthedatastructure.py
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
import sys for line in sys.stdin: te = list(line.split()) if len(te)==1: n = int(te[0]) ii = n #ds = [] stac = [] que = [] pque=[] stf = True quf = True pquf = True else: ii-=1 c,x = int(te[0]), int(te[1]) if c=...
25.339623
65
0.359643
158
1,343
3.056962
0.278481
0.041408
0.062112
0
0
0
0
0
0
0
0
0.021807
0.521966
1,343
53
66
25.339623
0.73053
0.014147
0
0.045455
0
0
0.031746
0
0
0
0
0
0
1
0
false
0
0.022727
0
0.022727
0.113636
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2f75369f3f48744a5bb86deabe03cece0e61a715
4,363
py
Python
unused/cv/support/AreaManualSelector.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
unused/cv/support/AreaManualSelector.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
unused/cv/support/AreaManualSelector.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
# All rights reserved by forest fairy. # You cannot modify or share anything without sacrifice. # If you don't agree, keep calm and don't look at code bellow! __author__ = "VirtualV <https://github.com/virtualvfix>" __date__ = "$Apr 28, 2016 12:18:18 PM$" import os import cv2 import numpy as np import cv2.cv as cv fr...
39.663636
150
0.532432
516
4,363
4.362403
0.304264
0.074634
0.087961
0.024878
0.221679
0.193247
0.130164
0.102621
0.051977
0
0
0.03095
0.355719
4,363
109
151
40.027523
0.769833
0.062113
0
0.074074
0
0
0.030826
0
0
0
0
0
0
0
null
null
0
0.061728
null
null
0.024691
0
0
0
null
0
0
0
0
0
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
2f8241f4cd44b3dd8b729d8c12df3f4c94d4ba89
1,979
py
Python
NoiseGenerator.py
StuartTruax/NumpySignalVariance
e86992a2e262478bc05a16efb80d088aac6989d5
[ "MIT" ]
null
null
null
NoiseGenerator.py
StuartTruax/NumpySignalVariance
e86992a2e262478bc05a16efb80d088aac6989d5
[ "MIT" ]
null
null
null
NoiseGenerator.py
StuartTruax/NumpySignalVariance
e86992a2e262478bc05a16efb80d088aac6989d5
[ "MIT" ]
null
null
null
import numpy as np class NoiseGenerator: @staticmethod def power_law_noise(N,alpha,A_rms): """ Generates a time-domain vector of power law noise samples. Parameters ---------- N: int Number of samples to be generated from the p...
31.412698
87
0.54472
260
1,979
4.030769
0.376923
0.057252
0.049618
0.030534
0.156489
0.112595
0.055344
0.055344
0.055344
0.055344
0
0.011858
0.360788
1,979
62
88
31.919355
0.816601
0.366347
0
0
1
0
0.00295
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.181818
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
2f852ec28dbd5646bdc457ee60a1aa7c71947152
8,030
py
Python
scripts/build_model.py
ericchen321/AutoDef
aad03066d55422592e02281e5c1ea276ab0002d1
[ "MIT" ]
20
2019-05-29T03:48:10.000Z
2022-02-09T11:51:50.000Z
scripts/build_model.py
ericchen321/AutoDef
aad03066d55422592e02281e5c1ea276ab0002d1
[ "MIT" ]
2
2019-11-04T12:16:46.000Z
2022-02-09T23:02:41.000Z
scripts/build_model.py
ericchen321/AutoDef
aad03066d55422592e02281e5c1ea276ab0002d1
[ "MIT" ]
4
2019-06-02T11:02:52.000Z
2022-02-09T11:53:23.000Z
#!/usr/bin/env python3 # This script is the master script which takes a configuration file, a mesh, # (and optionally existing training data) and generates the appropriate models # for simulation. PCA, and Autoencoder import json import os import shutil import subprocess from optparse import OptionParser from utils...
42.263158
170
0.669738
1,043
8,030
4.838926
0.261745
0.059441
0.029721
0.032693
0.271845
0.202298
0.131761
0.084803
0.057856
0.015851
0
0.005916
0.221171
8,030
189
171
42.486772
0.801087
0.211955
0
0.030534
1
0
0.280356
0.060553
0
0
0
0.005291
0
1
0.030534
false
0
0.068702
0
0.10687
0.083969
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
2f898f502ff90ddadfefddea357d8526f2b1b8db
849
py
Python
froide_payment/migrations/0010_auto_20191216_1238.py
okfde/froide-payment
3e479d5591c7dd37188bc78e1e51e84d5c361185
[ "MIT" ]
null
null
null
froide_payment/migrations/0010_auto_20191216_1238.py
okfde/froide-payment
3e479d5591c7dd37188bc78e1e51e84d5c361185
[ "MIT" ]
7
2020-07-16T19:37:30.000Z
2022-03-28T18:07:54.000Z
froide_payment/migrations/0010_auto_20191216_1238.py
okfde/froide-payment
3e479d5591c7dd37188bc78e1e51e84d5c361185
[ "MIT" ]
1
2019-05-01T12:34:43.000Z
2019-05-01T12:34:43.000Z
# Generated by Django 2.2.4 on 2019-12-16 11:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('froide_payment', '0009_auto_20191017_1446'), ] operations = [ migrations.AddField( model_name='payment', name='recei...
35.375
301
0.61013
87
849
5.83908
0.689655
0.035433
0.062992
0.07874
0
0
0
0
0
0
0
0.053191
0.224971
849
23
302
36.913043
0.718845
0.053004
0
0.235294
1
0
0.275561
0.028678
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2f8ec1f294dd1125b2ba38fed48af1406941b71b
5,479
py
Python
sdk/python/pulumiverse_unifi/outputs.py
pulumiverse/pulumi-unifi
e22e1bef9b409c71ad578b5d9e39284a26da355c
[ "ECL-2.0", "Apache-2.0" ]
1
2022-03-29T18:49:28.000Z
2022-03-29T18:49:28.000Z
sdk/python/pulumiverse_unifi/outputs.py
pulumiverse/pulumi-unifi
e22e1bef9b409c71ad578b5d9e39284a26da355c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumiverse_unifi/outputs.py
pulumiverse/pulumi-unifi
e22e1bef9b409c71ad578b5d9e39284a26da355c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
28.836842
138
0.570542
652
5,479
4.564417
0.17638
0.028226
0.043683
0.063844
0.459677
0.443548
0.351478
0.284274
0.241935
0.22043
0
0.000264
0.308998
5,479
189
139
28.989418
0.78579
0.187625
0
0.40708
1
0.017699
0.128819
0
0
0
0
0
0
1
0.168142
false
0
0.044248
0
0.362832
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
2f8fbef9ef190996de8fc119ae8ffb18c047c803
7,922
py
Python
temp-logger.py
ShubNig/PyNig-Base-Template
94c56a6add2b79dc207d80e68031c14836cc3dd5
[ "Apache-2.0" ]
null
null
null
temp-logger.py
ShubNig/PyNig-Base-Template
94c56a6add2b79dc207d80e68031c14836cc3dd5
[ "Apache-2.0" ]
null
null
null
temp-logger.py
ShubNig/PyNig-Base-Template
94c56a6add2b79dc207d80e68031c14836cc3dd5
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import getpass import inspect import logging import logging.handlers import optparse import os import platform import sys import time __author__ = 'sinlov' hint_help_info = """ must use faker by pip install requests more information see """ cwd_script_file_name = sys.argv[0][sys.argv[0].rfind...
29.340741
109
0.558066
990
7,922
4.240404
0.256566
0.05717
0.017151
0.018342
0.220105
0.211529
0.186517
0.171748
0.150071
0.117675
0
0.023876
0.323277
7,922
269
110
29.449814
0.759187
0.0462
0
0.315789
0
0.005263
0.077718
0.003444
0
0
0
0
0.010526
0
null
null
0.015789
0.047368
null
null
0.078947
0
0
0
null
0
0
0
0
0
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
2f9174b22da5cb8a3d59b51e1916109737276696
35,181
py
Python
stars/Esda.py
lhcramer-GISforks/stars
3c7532a6ea9cd0af7c21f009d603d80cbd69278a
[ "BSD-2-Clause" ]
9
2015-06-15T14:25:08.000Z
2021-04-01T22:57:48.000Z
stars/Esda.py
lhcramer-GISforks/stars
3c7532a6ea9cd0af7c21f009d603d80cbd69278a
[ "BSD-2-Clause" ]
8
2015-08-12T23:59:53.000Z
2021-06-13T00:33:37.000Z
stars/Esda.py
lhcramer-GISforks/stars
3c7532a6ea9cd0af7c21f009d603d80cbd69278a
[ "BSD-2-Clause" ]
15
2016-02-08T05:03:44.000Z
2021-05-17T21:07:00.000Z
""" Exploratory spatial data analysis module for STARS ---------------------------------------------------------------------- AUTHOR(S): Sergio J. Rey sjrey@users.sourceforge.net Jared Aldstad aldstad@rohan.sdsu.edu ---------------------------------------------------------------------- OVERVIEW Explorat...
33.473834
94
0.521617
4,707
35,181
3.889101
0.114723
0.007211
0.004916
0.003933
0.539386
0.490058
0.469901
0.433082
0.409592
0.383535
0
0.030864
0.335067
35,181
1,050
95
33.505714
0.751678
0.053523
0
0.348802
0
0
0.035289
0
0
0
0
0
0
0
null
null
0
0.01497
null
null
0.002994
0
0
0
null
0
0
0
0
0
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
2f9324a293491757ccef7cbb386d6ce3f6dc151f
393
py
Python
gui/sum_v1/migrations/0012_auto_20180615_1003.py
time-crunched/nlp-toolbox
b732abd0b2c6b265971efe04a4d70ebe20d2ee8f
[ "MIT" ]
null
null
null
gui/sum_v1/migrations/0012_auto_20180615_1003.py
time-crunched/nlp-toolbox
b732abd0b2c6b265971efe04a4d70ebe20d2ee8f
[ "MIT" ]
3
2020-06-05T18:58:57.000Z
2021-06-10T20:50:13.000Z
gui/sum_v1/migrations/0012_auto_20180615_1003.py
time-crunched/nlp-toolbox
b732abd0b2c6b265971efe04a4d70ebe20d2ee8f
[ "MIT" ]
1
2019-12-01T16:56:41.000Z
2019-12-01T16:56:41.000Z
# Generated by Django 2.0.5 on 2018-06-15 08:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sum_v1', '0011_auto_20180615_0933'), ] operations = [ migrations.AlterField( model_name='wordcount', name='word_coun...
20.684211
51
0.605598
44
393
5.25
0.863636
0
0
0
0
0
0
0
0
0
0
0.124113
0.282443
393
18
52
21.833333
0.695035
0.114504
0
0
1
0
0.138728
0.066474
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
2f947c54f832ea828bb3e51785dfef1806433fe8
401
py
Python
output/models/nist_data/atomic/g_year_month/schema_instance/nistschema_sv_iv_atomic_g_year_month_enumeration_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/g_year_month/schema_instance/nistschema_sv_iv_atomic_g_year_month_enumeration_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/g_year_month/schema_instance/nistschema_sv_iv_atomic_g_year_month_enumeration_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.atomic.g_year_month.schema_instance.nistschema_sv_iv_atomic_g_year_month_enumeration_4_xsd.nistschema_sv_iv_atomic_g_year_month_enumeration_4 import ( NistschemaSvIvAtomicGYearMonthEnumeration4, NistschemaSvIvAtomicGYearMonthEnumeration4Type, ) __all__ = [ "NistschemaSvIvAtomic...
40.1
179
0.875312
36
401
9.055556
0.583333
0.064417
0.101227
0.147239
0.257669
0.257669
0.257669
0.257669
0.257669
0
0
0.016173
0.074813
401
9
180
44.555556
0.862534
0
0
0
0
0
0.219451
0.219451
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2f98da77d26995ee6575bee07754f12933fc21fd
9,357
py
Python
intersight/models/storage_enclosure_disk_slot_ep_all_of.py
sdnit-se/intersight-python
551f7685c0f76bb8af60ec83ffb6f9672d49a4ae
[ "Apache-2.0" ]
21
2018-03-29T14:20:35.000Z
2021-10-13T05:11:41.000Z
intersight/models/storage_enclosure_disk_slot_ep_all_of.py
sdnit-se/intersight-python
551f7685c0f76bb8af60ec83ffb6f9672d49a4ae
[ "Apache-2.0" ]
14
2018-01-30T15:45:46.000Z
2022-02-23T14:23:21.000Z
intersight/models/storage_enclosure_disk_slot_ep_all_of.py
sdnit-se/intersight-python
551f7685c0f76bb8af60ec83ffb6f9672d49a4ae
[ "Apache-2.0" ]
18
2018-01-03T15:09:56.000Z
2021-07-16T02:21:54.000Z
# coding: utf-8 """ Cisco Intersight Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen...
35.577947
1,052
0.645506
1,022
9,357
5.791585
0.206458
0.039196
0.150025
0.124683
0.443318
0.383511
0.357493
0.285352
0.164386
0.099003
0
0.015213
0.283424
9,357
262
1,053
35.71374
0.867562
0.46532
0
0.084746
0
0
0.060213
0.005431
0
0
0
0
0
1
0.152542
false
0
0.033898
0
0.322034
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2f9a56618c5103e6a02f9d55170665e466e47633
618
py
Python
tests/test_linting.py
Kromey/pynano
af1b8697d30c227c6ff4606ac341e3eff382fc74
[ "MIT" ]
null
null
null
tests/test_linting.py
Kromey/pynano
af1b8697d30c227c6ff4606ac341e3eff382fc74
[ "MIT" ]
null
null
null
tests/test_linting.py
Kromey/pynano
af1b8697d30c227c6ff4606ac341e3eff382fc74
[ "MIT" ]
null
null
null
import subprocess import sys # We really only care about code "cleanness" on modern versions LINT = sys.version_info >= (3, 4, 0) def test_pep8(): if LINT: result = subprocess.call(['flake8', ]) assert result == 0 def test_pypi(): if LINT: result = subprocess.call(['python', ...
23.769231
63
0.409385
51
618
4.901961
0.686275
0.032
0.064
0.176
0.208
0
0
0
0
0
0
0.022152
0.488673
618
25
64
24.72
0.768987
0.098706
0
0.235294
0
0
0.110108
0
0
0
0
0
0.117647
1
0.117647
false
0
0.117647
0
0.235294
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
85d4fe146d8a4087f5eab0080470ffeebff5063d
1,578
py
Python
pymtl3/passes/mamba/PassGroups.py
mondO/pymtl3
9869dda28c01926cee6da94ebdeac2a210150c62
[ "BSD-3-Clause" ]
1
2022-01-03T06:22:11.000Z
2022-01-03T06:22:11.000Z
pymtl3/passes/mamba/PassGroups.py
mondO/pymtl3
9869dda28c01926cee6da94ebdeac2a210150c62
[ "BSD-3-Clause" ]
null
null
null
pymtl3/passes/mamba/PassGroups.py
mondO/pymtl3
9869dda28c01926cee6da94ebdeac2a210150c62
[ "BSD-3-Clause" ]
null
null
null
from ..BasePass import BasePass from ..sim.AddSimUtilFuncsPass import AddSimUtilFuncsPass from ..sim.GenDAGPass import GenDAGPass from ..sim.SimpleSchedulePass import SimpleSchedulePass from ..sim.WrapGreenletPass import WrapGreenletPass from ..tracing.CLLineTracePass import CLLineTracePass from ..tracing.LineTracePara...
29.222222
66
0.727503
151
1,578
7.390728
0.218543
0.043011
0.028674
0.039427
0.341398
0.321685
0.297491
0.297491
0.218638
0.218638
0
0.012298
0.175539
1,578
53
67
29.773585
0.845503
0
0
0.468085
0
0
0
0
0
0
0
0
0
1
0.106383
false
0.680851
0.234043
0
0.425532
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
85e9618111f5ab0ff374c707bc749853feae7983
9,169
py
Python
load_and_save.py
yuanzh/transfer_pos
a7b13e06ce972fc15cd9a091c1e900dba9a09979
[ "MIT" ]
8
2016-07-03T10:27:59.000Z
2020-06-07T12:43:47.000Z
load_and_save.py
yuanzh/transfer_pos
a7b13e06ce972fc15cd9a091c1e900dba9a09979
[ "MIT" ]
null
null
null
load_and_save.py
yuanzh/transfer_pos
a7b13e06ce972fc15cd9a091c1e900dba9a09979
[ "MIT" ]
3
2017-06-05T08:14:43.000Z
2020-03-06T22:21:02.000Z
import xml.etree from collections import Counter import sys try: import nltk except ImportError: pass def to_unicode(obj, encoding='utf-8'): if isinstance(obj, basestring): if not isinstance(obj, unicode): obj = unicode(obj, encoding) return obj def read_pos_map(filename): unim...
34.6
242
0.578362
1,334
9,169
3.797601
0.162669
0.020134
0.008291
0.008291
0.377418
0.343466
0.30458
0.295499
0.253454
0.215949
0
0.010415
0.287927
9,169
264
243
34.731061
0.765508
0.052023
0
0.331858
0
0
0.064884
0.011986
0
0
0
0.003788
0
0
null
null
0.004425
0.022124
null
null
0.022124
0
0
0
null
0
0
0
0
0
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
85f0c554f72df06f992e40380c59401333f18966
1,516
py
Python
dragonlinguistics/models/references.py
KathTheDragon/DragonLinguistics
a191fb94a7c1582ff9a7364d1e23b87c68b701b1
[ "Unlicense" ]
null
null
null
dragonlinguistics/models/references.py
KathTheDragon/DragonLinguistics
a191fb94a7c1582ff9a7364d1e23b87c68b701b1
[ "Unlicense" ]
null
null
null
dragonlinguistics/models/references.py
KathTheDragon/DragonLinguistics
a191fb94a7c1582ff9a7364d1e23b87c68b701b1
[ "Unlicense" ]
null
null
null
from django.core.exceptions import ValidationError from django.db import models from django.utils.html import escape from django.utils.safestring import mark_safe from django.utils.text import slugify from . import base class Reference(base.Model): author = models.CharField(max_length=255) year = models.Posit...
30.938776
103
0.631266
190
1,516
4.963158
0.357895
0.074231
0.050901
0.076352
0.276776
0.159067
0.099682
0.099682
0.099682
0
0
0.012079
0.235488
1,516
48
104
31.583333
0.801553
0
0
0.051282
0
0.025641
0.133905
0.048153
0
0
0
0
0
1
0.128205
false
0
0.205128
0
0.641026
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
c8003806b9b0776374fdd547c97c200cf6626bd8
867
py
Python
digest/migrations/0041_auto_20160401_1403.py
PURNA-ROCK/pythondigest
ba21758a25a47de19800b208c420f16d6688a16b
[ "MIT" ]
124
2015-08-17T19:41:16.000Z
2022-01-12T00:25:52.000Z
digest/migrations/0041_auto_20160401_1403.py
PURNA-ROCK/pythondigest
ba21758a25a47de19800b208c420f16d6688a16b
[ "MIT" ]
62
2015-08-17T02:13:20.000Z
2020-04-17T19:07:40.000Z
digest/migrations/0041_auto_20160401_1403.py
PURNA-ROCK/pythondigest
ba21758a25a47de19800b208c420f16d6688a16b
[ "MIT" ]
73
2015-08-18T13:50:47.000Z
2021-09-27T14:09:47.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-04-01 14:03 from __future__ import unicode_literals import taggit_autosuggest.managers from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('digest', '0040_auto_20160330_1616'), ] operations = [ ...
34.68
106
0.480969
71
867
5.690141
0.788732
0.084158
0.123762
0
0
0
0
0
0
0
0
0.065173
0.433679
867
24
107
36.125
0.757637
0.077278
0
0
1
0
0.139272
0.028858
0
0
0
0
0
1
0
false
0
0.166667
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
c8024df0175dc16a78705c2dcb1c35624b47977b
3,706
py
Python
specs/console_examples/run_examples.py
hltbra/pycukes
7eca6d9bf6577f6bc735a3893a3b1d7c0af950f1
[ "MIT" ]
1
2018-05-22T07:10:39.000Z
2018-05-22T07:10:39.000Z
specs/console_examples/run_examples.py
hugobr/pycukes
7eca6d9bf6577f6bc735a3893a3b1d7c0af950f1
[ "MIT" ]
1
2016-08-24T01:17:34.000Z
2016-08-24T01:17:34.000Z
specs/console_examples/run_examples.py
hugobr/pycukes
7eca6d9bf6577f6bc735a3893a3b1d7c0af950f1
[ "MIT" ]
null
null
null
from cStringIO import StringIO from should_dsl import should_be import subprocess import os import sys bowling_game_output = open('bowling_game_output').read() bowling_game_pending_output = open('bowling_game_pending_output').read() bowling_game_without_colors_output = open('bowling_game_without_colors_output').read(...
45.195122
104
0.575283
377
3,706
5.289125
0.259947
0.165496
0.07673
0.075226
0.343531
0.196088
0.095286
0.095286
0.048144
0
0
0.008454
0.329736
3,706
81
105
45.753086
0.794283
0
0
0.040541
0
0
0.223152
0.128171
0
0
0
0
0.013514
0
null
null
0
0.067568
null
null
0.081081
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c808cc5165a8166ba37cff5d67b9dc7f396b132c
920
py
Python
setup.py
Arijit-Bhowmick/0x41-MUSIC-PLAYER
ba5ebf0ec923580fb4eb46574130656ad87088de
[ "MIT" ]
1
2021-03-09T02:34:07.000Z
2021-03-09T02:34:07.000Z
setup.py
Arijit-Bhowmick/0x41-MUSIC-PLAYER
ba5ebf0ec923580fb4eb46574130656ad87088de
[ "MIT" ]
1
2021-03-07T16:56:36.000Z
2021-03-07T17:58:03.000Z
setup.py
Arijit-Bhowmick/0x41-MUSIC-PLAYER
ba5ebf0ec923580fb4eb46574130656ad87088de
[ "MIT" ]
null
null
null
import os, platform try: import tkinter, tinytag, PIL, pygame, ttkthemes, mutagen, webbrowser # For Linux sudo apt install python3-pil #sudo apt install python3-tk except ImportError: if int(platform.python_version()[0]) >= 3: if platform.system().upper() == "WINDOWS": os.system("pip3 ins...
36.8
100
0.644565
118
920
5.008475
0.483051
0.047377
0.094755
0.142132
0.304569
0.216582
0.118443
0
0
0
0
0.015827
0.244565
920
25
101
36.8
0.834532
0.152174
0
0.125
0
0
0.40856
0.035019
0
0
0
0
0
1
0
true
0
0.1875
0
0.1875
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
1
0
0
0
0
0
0
1
c809fc9dbd7338535f8756682a8886ae027110a4
780
py
Python
setup.py
Nasdaq/flask-data-pipes
3035e74c28fb5fa24af803ef2fbcfb5c04c7ffc1
[ "Apache-2.0" ]
7
2018-11-08T17:09:00.000Z
2021-10-03T09:22:43.000Z
setup.py
Nasdaq/flask-data-pipes
3035e74c28fb5fa24af803ef2fbcfb5c04c7ffc1
[ "Apache-2.0" ]
null
null
null
setup.py
Nasdaq/flask-data-pipes
3035e74c28fb5fa24af803ef2fbcfb5c04c7ffc1
[ "Apache-2.0" ]
2
2019-10-03T15:49:56.000Z
2021-09-21T23:39:08.000Z
""" Flask-Data-Pipes ---------------- Simple, performant data pipelines """ from setuptools import setup, find_packages setup( name='Flask-Data-Pipes', version='1.0.6a', url='https://github.com/Nasdaq/flask-data-pipes', license='APACHE-2.0', author='Jonathon Scarbeau', author_email='jonathon....
21.666667
53
0.615385
80
780
5.8375
0.675
0.057816
0.089936
0.124197
0
0
0
0
0
0
0
0.011494
0.219231
780
35
54
22.285714
0.755337
0.087179
0
0
0
0
0.328125
0.039773
0
0
0
0
0
1
0
true
0
0.037037
0
0.037037
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
c80cba39b2f44637683e90c95f61652472056e13
417
py
Python
Simple/lists.py
Nahalius/PythonBasics
f59f167cb7c3edf962cb381ee7d66394da500a11
[ "MIT" ]
null
null
null
Simple/lists.py
Nahalius/PythonBasics
f59f167cb7c3edf962cb381ee7d66394da500a11
[ "MIT" ]
null
null
null
Simple/lists.py
Nahalius/PythonBasics
f59f167cb7c3edf962cb381ee7d66394da500a11
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #Lists myList = [1, 2, 3, 4, 5, "Hello"] print(myList) print(myList[2]) print(myList[-1]) myList.append("Simo") print(myList) #Tuples - like lists, but you cannot modify their values. monthsOf = ("Jan","Feb","Mar","Apr") print(monthsOf) #Dictionary - a collection of related data PAIRS myDict ...
20.85
57
0.654676
67
417
4.074627
0.641791
0.161172
0
0
0
0
0
0
0
0
0
0.047091
0.134293
417
19
58
21.947368
0.709141
0.309353
0
0.333333
0
0
0.14841
0
0
0
0
0
0
1
0
false
0
0
0
0
0.583333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
c80d8639862789832b07855c1d946b4b8be0a13a
345
py
Python
api.py
c3er/txttrans
3dcc4bc940039e473ccbacb7036d56e3022f44c9
[ "MIT" ]
null
null
null
api.py
c3er/txttrans
3dcc4bc940039e473ccbacb7036d56e3022f44c9
[ "MIT" ]
null
null
null
api.py
c3er/txttrans
3dcc4bc940039e473ccbacb7036d56e3022f44c9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __all__ = [ "transformer", "message", "SimpleDataDialog", "DataEntry", "execdir", ] import gui import message import misc transformer = gui.transformer SimpleDataDialog = gui.SimpleDataDialog DataEntry = gui.DataEntry execdir...
14.375
40
0.634783
31
345
6.935484
0.548387
0.232558
0
0
0
0
0
0
0
0
0
0.003831
0.243478
345
23
41
15
0.819923
0.121739
0
0
0
0
0.179856
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
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
c8122aae3837a23e3153f67ef6c5da84fb635621
17,372
py
Python
tests/classificadores/fixtures/consumidor.py
MinisterioPublicoRJ/classificador-lyra
da840cb4ea9f3298c1813a1e147f5651873d2762
[ "MIT" ]
8
2018-10-24T13:33:31.000Z
2022-02-21T13:11:50.000Z
tests/classificadores/fixtures/consumidor.py
adelsonsena/classificador-lyra
da840cb4ea9f3298c1813a1e147f5651873d2762
[ "MIT" ]
3
2019-06-18T20:05:53.000Z
2021-06-01T22:51:55.000Z
tests/classificadores/fixtures/consumidor.py
adelsonsena/classificador-lyra
da840cb4ea9f3298c1813a1e147f5651873d2762
[ "MIT" ]
2
2019-05-24T12:38:27.000Z
2020-08-30T20:10:53.000Z
cobranca_sob_ameaca = [ """ DECISÃO 1) Preenchidos os requisitos legais, defiro a gratuidade de justiça requerida pela parte autora, uma vez demonstrada a sua situação de hipossuficiência econômica, através dos documentos acostados junto à petição inicial. ANOTE-SE ONDE C$ 2) Pretende a parte autora o deferimento...
99.268571
1,641
0.79041
2,764
17,372
4.960203
0.307164
0.008753
0.005835
0.004012
0.397812
0.384902
0.367834
0.367834
0.367834
0.367834
0
0.019079
0.173325
17,372
174
1,642
99.83908
0.935032
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c81bbec9be555a2158ce7fb168b1ec7961c2a7f8
3,756
py
Python
Platforms/Web/Processing/Api/Account/edit.py
HeapUnderfl0w/Phaazebot
54e637bd4bc213b8efdaf23d5f331f2569e96843
[ "MIT" ]
null
null
null
Platforms/Web/Processing/Api/Account/edit.py
HeapUnderfl0w/Phaazebot
54e637bd4bc213b8efdaf23d5f331f2569e96843
[ "MIT" ]
null
null
null
Platforms/Web/Processing/Api/Account/edit.py
HeapUnderfl0w/Phaazebot
54e637bd4bc213b8efdaf23d5f331f2569e96843
[ "MIT" ]
null
null
null
from typing import TYPE_CHECKING if TYPE_CHECKING: from Platforms.Web.index import WebIndex import json import re import datetime from aiohttp.web import Response, Request from Utils.Classes.webuserinfo import WebUserInfo from Utils.Classes.webrequestcontent import WebRequestContent from Utils.stringutils import pass...
32.947368
129
0.75213
484
3,756
5.737603
0.316116
0.025927
0.023407
0.018725
0.130357
0.07202
0.048254
0.048254
0.048254
0.048254
0
0.003721
0.141374
3,756
113
130
33.238938
0.857364
0.096113
0
0.105263
0
0
0.135614
0.007201
0
0
0
0.00885
0
1
0
false
0.184211
0.171053
0
0.289474
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
c81fc3912308c85a97c58e96bfa898d15513c387
566
py
Python
starry_students/manager/forms.py
dhruvsingh/starry_students
d43e5f2c95c076ae1b686a6b1de3d5d6a5b66520
[ "MIT" ]
null
null
null
starry_students/manager/forms.py
dhruvsingh/starry_students
d43e5f2c95c076ae1b686a6b1de3d5d6a5b66520
[ "MIT" ]
null
null
null
starry_students/manager/forms.py
dhruvsingh/starry_students
d43e5f2c95c076ae1b686a6b1de3d5d6a5b66520
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.forms import ModelForm from starry_students.manager.models import Student, Teacher class StudentAddUpdateForm(ModelForm): class Meta: model = Student fields = ('name',) class TeacherAddUpdateForm(ModelForm): class Meta: model = Teacher fie...
23.583333
59
0.630742
60
566
5.916667
0.633333
0.078873
0.101408
0.129577
0
0
0
0
0
0
0
0.007092
0.25265
566
23
60
24.608696
0.832151
0.116608
0
0.133333
0
0
0.032389
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c82155002230a8fa4e6e48ce39063ad706d1fe83
585
py
Python
corehq/apps/users/migrations/0030_userhistory_user_upload_record.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/apps/users/migrations/0030_userhistory_user_upload_record.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/apps/users/migrations/0030_userhistory_user_upload_record.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
# Generated by Django 2.2.24 on 2021-07-02 13:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('user_importer', '0001_initial'), ('users', '0029_userhistory'), ] operations = [ migrations.AddFie...
26.590909
92
0.611966
62
585
5.629032
0.66129
0.068768
0.080229
0.126075
0
0
0
0
0
0
0
0.056604
0.275214
585
21
93
27.857143
0.766509
0.078632
0
0
1
0
0.195531
0.055866
0
0
0
0
0
1
0
false
0
0.266667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c825d5b9553bb9b9bbacac40db759983ec56828a
1,640
py
Python
server/game/action.py
artemb/zombie-plague
b3883298c3633be5598a6bc692588d77ddbe582e
[ "MIT" ]
null
null
null
server/game/action.py
artemb/zombie-plague
b3883298c3633be5598a6bc692588d77ddbe582e
[ "MIT" ]
2
2021-03-10T18:35:40.000Z
2021-05-11T14:18:52.000Z
server/game/action.py
artemb/zombie-plague
b3883298c3633be5598a6bc692588d77ddbe582e
[ "MIT" ]
null
null
null
from enum import Enum class Action: def __init__(self, ap): self.ap = ap class StepAction(Action): def __init__(self): super().__init__(1) def run(self, char, step): char.step(step) class TurnAction(Action): def __init__(self): super().__init__(1) def run(self...
22.777778
75
0.582317
204
1,640
4.436275
0.186275
0.061878
0.044199
0.061878
0.312707
0.312707
0.19337
0.19337
0.090608
0.090608
0
0.010435
0.29878
1,640
72
76
22.777778
0.776522
0
0
0.25
0
0
0.028641
0
0
0
0
0
0
1
0.173077
false
0
0.019231
0
0.653846
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
c82cb7befd1c9a748082b1ec6071cbd922ace268
150
py
Python
labs/code/files/copy.py
Linlin15963/msds501
0bcfa7f59a4e9b2d71db2c5973eb04c1ae60e72f
[ "MIT" ]
86
2018-08-14T20:13:32.000Z
2022-03-21T22:30:15.000Z
labs/code/files/copy.py
Linlin15963/msds501
0bcfa7f59a4e9b2d71db2c5973eb04c1ae60e72f
[ "MIT" ]
2
2017-07-21T02:02:25.000Z
2017-09-13T03:19:09.000Z
labs/code/files/copy.py
Linlin15963/msds501
0bcfa7f59a4e9b2d71db2c5973eb04c1ae60e72f
[ "MIT" ]
99
2015-02-28T20:10:38.000Z
2018-07-30T20:24:43.000Z
import sys src = sys.argv[1] trg = sys.argv[2] with open(src, "rb") as f: contents = f.read() with open(trg, "wb") as f: f.write(contents)
13.636364
26
0.6
28
150
3.214286
0.571429
0.155556
0
0
0
0
0
0
0
0
0
0.017094
0.22
150
10
27
15
0.752137
0
0
0
0
0
0.026667
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c830842d76671954971674e25024514519297721
527
py
Python
simple.py
YaphetKG/opentelemetry
3b54036043a0ec8be35d6049e765bafa42e8f428
[ "MIT" ]
null
null
null
simple.py
YaphetKG/opentelemetry
3b54036043a0ec8be35d6049e765bafa42e8f428
[ "MIT" ]
null
null
null
simple.py
YaphetKG/opentelemetry
3b54036043a0ec8be35d6049e765bafa42e8f428
[ "MIT" ]
null
null
null
# jaeger_tracing.py import httpx # ------ SETUP OPEN-TELEMETRY FOR HTTPX from opentelemetry.instrumentation.fastapi import FastAPIInstrumentor from jaeger_setup import setup_jaeger from opentelemetry.instrumentation.httpx import HTTPXClientInstrumentor setup_jaeger("simple-client") HTTPXClientInstrumentor().instrumen...
23.954545
71
0.755218
59
527
6.508475
0.576271
0.067708
0.166667
0
0
0
0
0
0
0
0
0.008772
0.134725
527
22
72
23.954545
0.833333
0.1537
0
0
0
0
0.110609
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
c832b1aefbae91241f14fd11ee390ce93be18752
415
py
Python
FF_main_site/check_mailbox.py
Markynice/python_testing
43bac522d9339cac98221cf0be48de9277ca1624
[ "Apache-2.0" ]
null
null
null
FF_main_site/check_mailbox.py
Markynice/python_testing
43bac522d9339cac98221cf0be48de9277ca1624
[ "Apache-2.0" ]
null
null
null
FF_main_site/check_mailbox.py
Markynice/python_testing
43bac522d9339cac98221cf0be48de9277ca1624
[ "Apache-2.0" ]
null
null
null
import imaplib import email user = 'aily.teamqa@gmail.com' password = 'Asdf123$%^' con = imaplib.IMAP4_SSL('imap.gmail.com',993) print('Success') con.login(user,password) print('Success') typ, data = con.search(None, 'All') for num in data[0].split(): typ, data = con.fetch(num, '(RFC822)') print('Message %s\n%s\n'...
20.75
46
0.66506
66
415
4.166667
0.606061
0.058182
0.072727
0
0
0
0
0
0
0
0
0.046196
0.113253
415
20
47
20.75
0.701087
0.108434
0
0.142857
0
0
0.232432
0.056757
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.142857
0.214286
0
0
0
null
0
0
0
0
0
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
c8347b58694a7b4a3090cc47247a959c57d947b0
257
py
Python
carpentries/__main__.py
tompollard/carpentries
7848d900cf5d6ef4f50c95401c218bb3478bcd94
[ "MIT" ]
null
null
null
carpentries/__main__.py
tompollard/carpentries
7848d900cf5d6ef4f50c95401c218bb3478bcd94
[ "MIT" ]
null
null
null
carpentries/__main__.py
tompollard/carpentries
7848d900cf5d6ef4f50c95401c218bb3478bcd94
[ "MIT" ]
null
null
null
import argparse def main(): """ The Carpentries command line tool. """ parser = argparse.ArgumentParser(description=""" A toolkit for The Carpentries. """) from carpentries import values if __name__ == "__main__": main()
16.0625
52
0.634241
26
257
5.961538
0.730769
0.180645
0
0
0
0
0
0
0
0
0
0
0.252918
257
15
53
17.133333
0.807292
0.132296
0
0
0
0
0.231884
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c84192dc4d7df4c4f28d240b265bd3f9b7a673fb
2,745
py
Python
TorrentPython/unittest/MetaInfo_test.py
reignofmiracle/RM_Torrent
a3f34d1868c0aeadc9c2c3e301f798dfae4fb3ff
[ "MIT" ]
1
2020-01-02T02:05:36.000Z
2020-01-02T02:05:36.000Z
TorrentPython/unittest/MetaInfo_test.py
reignofmiracle/RM_Torrent
a3f34d1868c0aeadc9c2c3e301f798dfae4fb3ff
[ "MIT" ]
null
null
null
TorrentPython/unittest/MetaInfo_test.py
reignofmiracle/RM_Torrent
a3f34d1868c0aeadc9c2c3e301f798dfae4fb3ff
[ "MIT" ]
null
null
null
import unittest from TorrentPython.MetaInfo import * MAGNET_STR = 'magnet:?xt=urn:btih:699CDA895AF6FBD5A817FFF4FE6FA8AB87E36F48' SAMPLE_TORRENT_PATH = '../Resources/sample.torrent' ROOT_TORRENT_PATH = '../Resources/root.torrent' class MetaInfoTest(unittest.TestCase): def setUp(self): ...
39.214286
153
0.694353
323
2,745
5.653251
0.26935
0.147864
0.043812
0.043812
0.549288
0.379518
0.269989
0.233844
0.1977
0.092004
0
0.04243
0.184335
2,745
69
154
39.782609
0.773113
0.025865
0
0.153846
0
0
0.117228
0.052809
0
0
0
0
0.442308
1
0.134615
false
0.038462
0.038462
0
0.192308
0.038462
0
0
0
null
0
0
0
0
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
c84347810783d61bdd416e63a28f334d06359530
261
py
Python
utilities/read_data.py
MohammedWaasim/pymobile-auto
420ddb74a7658970f4321f4bbead32329642ee65
[ "MIT" ]
null
null
null
utilities/read_data.py
MohammedWaasim/pymobile-auto
420ddb74a7658970f4321f4bbead32329642ee65
[ "MIT" ]
null
null
null
utilities/read_data.py
MohammedWaasim/pymobile-auto
420ddb74a7658970f4321f4bbead32329642ee65
[ "MIT" ]
null
null
null
import pdb import yaml def getYamlData(filename, section='default_data'): with open(filename) as f: data = yaml.load(f, Loader=yaml.FullLoader) if section.__contains__('default'): return data['default_data'] return data[section]
20.076923
51
0.685824
33
261
5.242424
0.575758
0.127168
0
0
0
0
0
0
0
0
0
0
0.203065
261
12
52
21.75
0.831731
0
0
0
0
0
0.119231
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c84762c084063b5550a6b463dd2e2f28d3394844
4,614
py
Python
src/face_recognition/misc/detect_blur.py
alxgrh/CATANA
417ffce26db0c2ee9d399399b16c276d5336174d
[ "MIT" ]
12
2017-11-01T12:35:47.000Z
2020-02-26T19:41:30.000Z
src/face_recognition/misc/detect_blur.py
christiannkoch/CATANA
417ffce26db0c2ee9d399399b16c276d5336174d
[ "MIT" ]
8
2017-12-05T23:45:54.000Z
2022-02-09T23:28:51.000Z
src/face_recognition/misc/detect_blur.py
lodemo/CATANA
a349f460772511ccbb16429b40bfb50f774d45d4
[ "MIT" ]
6
2017-09-09T12:22:53.000Z
2019-12-17T07:54:18.000Z
# import the necessary packages from imutils import paths import argparse import cv2 import numpy from scipy import misc def variance_of_laplacian(image): # compute the Laplacian of the image and then return the focus # measure, which is simply the variance of the Laplacian return cv2.Laplacian(image, cv2.CV_64F)....
30.156863
80
0.639792
614
4,614
4.693811
0.263844
0.030534
0.020819
0.027759
0.401804
0.306731
0.203331
0.171409
0.171409
0.171409
0
0.050651
0.23407
4,614
153
81
30.156863
0.764856
0.144994
0
0.106383
0
0
0.064919
0
0
0
0
0
0
0
null
null
0
0.053191
null
null
0.031915
0
0
0
null
0
0
0
0
0
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
c84a939e2d16902a76662c013066c54b06a306a5
8,093
py
Python
query_handler/query_handler.py
frankjdelgado/wiki-history-extractor
9ffe1381420bc944843e71ba03dcf282deb3d081
[ "MIT" ]
2
2017-01-26T21:38:16.000Z
2017-03-07T15:13:01.000Z
examples/query_handler.py
frankjdelgado/wiki-history-extractor
9ffe1381420bc944843e71ba03dcf282deb3d081
[ "MIT" ]
7
2017-01-12T01:31:51.000Z
2017-02-22T01:44:21.000Z
examples/query_handler.py
frankjdelgado/wiki-history-extractor
9ffe1381420bc944843e71ba03dcf282deb3d081
[ "MIT" ]
2
2020-10-25T16:36:35.000Z
2021-04-05T22:11:53.000Z
from db_connector import RevisionDB import datetime class QueryHandler(object): data={} #function which get the quantity of revisions #tested @classmethod def filter_by_user(self,values): #values is a list composed by 1 value, the user name to filter by data={'user':values[0]} ...
40.668342
177
0.585815
1,031
8,093
4.527643
0.214355
0.044559
0.04006
0.022494
0.348329
0.298629
0.246572
0.21958
0.153171
0.136247
0
0.026558
0.330038
8,093
198
178
40.873737
0.834378
0.346102
0
0.350365
0
0
0.026692
0
0
0
0
0
0
0
null
null
0
0.014599
null
null
0.007299
0
0
0
null
0
0
0
0
0
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
c84b7a46df2ca1e6d3b4ca3ab2e6ea1bdb9b971b
1,946
py
Python
auth_log_parser_client.py
gmolveau/auth_log_python_parser
6fc4941b778a028f580ccea0ff8164918bb0e389
[ "MIT" ]
null
null
null
auth_log_parser_client.py
gmolveau/auth_log_python_parser
6fc4941b778a028f580ccea0ff8164918bb0e389
[ "MIT" ]
null
null
null
auth_log_parser_client.py
gmolveau/auth_log_python_parser
6fc4941b778a028f580ccea0ff8164918bb0e389
[ "MIT" ]
null
null
null
import auth_log_parser import auth_log_enrichment import sys import os import csv import argparse import logging as log def is_dir(dirname): """ Checks if a path is an actual directory """ if not os.path.isdir(dirname): msg = "{0} is not a directory".format(dirname) raise argparse.ArgumentType...
34.140351
110
0.67369
253
1,946
4.980237
0.41502
0.019841
0.028571
0.030159
0.161905
0.161905
0.161905
0.161905
0.120635
0.120635
0
0.02722
0.207091
1,946
56
111
34.75
0.788075
0.165982
0
0.1
0
0
0.111663
0
0
0
0
0.017857
0
1
0.1
false
0
0.175
0
0.3
0.025
0
0
0
null
0
0
0
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
c84fc8cbc877e53c4d17ba8a8fb2b7478fdfe70b
24,606
py
Python
src/enums/enums.py
Metroynome/robo
78c389decce98d0d1e4e4e02ccbfcba7b465209c
[ "MIT" ]
null
null
null
src/enums/enums.py
Metroynome/robo
78c389decce98d0d1e4e4e02ccbfcba7b465209c
[ "MIT" ]
null
null
null
src/enums/enums.py
Metroynome/robo
78c389decce98d0d1e4e4e02ccbfcba7b465209c
[ "MIT" ]
null
null
null
from enum import Enum class Symbols: DEFAULT = b'\x08' BLUE = b'\x09' GREEN = b'\x0A' PINK = b'\x0B' WHITE = b'\x0C' GRAY = b'\x0D' BLACK = b'\x0E' CROSS = 0x10 CIRCLE = 0x11 TRIANGLE = 0x12 SQUARE = 0x13 L1 = 0x14 R1 = 0x15 L2 = 0x16 R2 = 0x17 ANALOG_LEFT = 0x18 ANALOG_RIGHT = 0x19 SELECT = 0x...
33.614754
62
0.686337
2,782
24,606
5.868799
0.413012
0.061248
0.006002
0.006125
0.02995
0.020947
0.017027
0.017027
0.017027
0.017027
0
0.11344
0.197147
24,606
731
63
33.660739
0.713035
0
0
0
0
0
0.135455
0
0
0
0.01203
0
0
1
0.001435
false
0.014347
0.001435
0
0.906743
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
c864f6c180a563b28fb54b5575c49a11b2fd7943
1,511
py
Python
python/sklearn/examples/decomposition/plot_ica_blind_source_separation.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
1
2017-10-14T04:23:45.000Z
2017-10-14T04:23:45.000Z
python/sklearn/examples/decomposition/plot_ica_blind_source_separation.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
null
null
null
python/sklearn/examples/decomposition/plot_ica_blind_source_separation.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
null
null
null
""" ===================================== Blind source separation using FastICA ===================================== :ref:`ICA` is used to estimate sources given noisy measurements. Imagine 2 instruments playing simultaneously and 2 microphones recording the mixed signals. ICA is used to recover the sources ie. what ...
29.057692
79
0.594308
227
1,511
3.889868
0.46696
0.04077
0.033975
0.037373
0.052095
0.020385
0
0
0
0
0
0.04052
0.134348
1,511
51
80
29.627451
0.634557
0.148908
0
0
0
0
0.078844
0
0
0
0
0
0.033333
0
null
null
0
0.1
null
null
0.033333
0
0
0
null
0
0
0
0
0
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
c86588e575ea2d7e7f8eab8d4063bff0515b81e1
987
py
Python
Class 12/Python Programs/Student sort with marks.py
edwardmasih/Python-School-Level
545e8fcd87f540be2bbf01d3493bd84dd5504739
[ "MIT" ]
null
null
null
Class 12/Python Programs/Student sort with marks.py
edwardmasih/Python-School-Level
545e8fcd87f540be2bbf01d3493bd84dd5504739
[ "MIT" ]
null
null
null
Class 12/Python Programs/Student sort with marks.py
edwardmasih/Python-School-Level
545e8fcd87f540be2bbf01d3493bd84dd5504739
[ "MIT" ]
null
null
null
class subject (): def __init__(self): x=[] self.students=[] def addstudents(self): n=int(input("Enter No. Of Students :- ")) for i in range (n): self.name=input("Enter Name :- ") self.rno=input("Enter Roll No. :- ") self.marks=input("E...
26.675676
61
0.472138
112
987
4.125
0.330357
0.285714
0.084416
0.060606
0.186147
0
0
0
0
0
0
0.004959
0.387031
987
36
62
27.416667
0.758678
0
0
0.071429
0
0
0.115789
0
0
0
0
0
0
1
0.107143
false
0
0
0
0.142857
0.142857
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
c86aa6cb4cc20849186c4ca3f8a79698de52dceb
2,447
py
Python
dear_petition/petition/migrations/0039_auto_20210714_0348.py
robert-w-gries/dear-petition
35244afc8e967b41ae5265ae31fd13b26e4e835a
[ "MIT" ]
4
2020-04-01T14:42:45.000Z
2021-12-12T21:11:11.000Z
dear_petition/petition/migrations/0039_auto_20210714_0348.py
robert-w-gries/dear-petition
35244afc8e967b41ae5265ae31fd13b26e4e835a
[ "MIT" ]
142
2019-08-12T19:08:34.000Z
2022-03-29T23:05:35.000Z
dear_petition/petition/migrations/0039_auto_20210714_0348.py
robert-w-gries/dear-petition
35244afc8e967b41ae5265ae31fd13b26e4e835a
[ "MIT" ]
8
2020-02-04T20:37:00.000Z
2021-03-28T13:28:32.000Z
# Generated by Django 2.2.20 on 2021-07-14 03:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("petition", "0038_auto_20210412_0353"), ] operations = [ migrations.AddFie...
30.5875
60
0.49244
215
2,447
5.483721
0.32093
0.042409
0.071247
0.111959
0.441052
0.382528
0.382528
0.307888
0.307888
0.307888
0
0.043507
0.389456
2,447
79
61
30.974684
0.745649
0.018799
0
0.479452
1
0
0.146311
0.009587
0
0
0
0
0
1
0
false
0
0.041096
0
0.082192
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
c86c4f441187805d618ca76a856807bc2efefe2c
16,652
py
Python
train/comms/pt/kernel_benchmark.py
moderato/param
1dacb51b824fb149ca83cf2101b62f4483d90cc6
[ "MIT" ]
null
null
null
train/comms/pt/kernel_benchmark.py
moderato/param
1dacb51b824fb149ca83cf2101b62f4483d90cc6
[ "MIT" ]
null
null
null
train/comms/pt/kernel_benchmark.py
moderato/param
1dacb51b824fb149ca83cf2101b62f4483d90cc6
[ "MIT" ]
null
null
null
import numpy as np import torch, functools import table_batched_embeddings, table_batched_embeddings_ops np.random.seed(42) def div_round_up(a, b): return int((a + b - 1) // b) * b def get_table_batched_offsets_from_dense(merged_indices): (T, B, L) = merged_indices.size() lengths = np.ones((T, B)) * L ...
29.629893
156
0.50018
1,795
16,652
4.389972
0.120891
0.057234
0.081218
0.099365
0.746574
0.706472
0.654695
0.638198
0.588959
0.565863
0
0.010173
0.415566
16,652
561
157
29.682709
0.799527
0.008588
0
0.610338
0
0
0.002303
0
0
0
0
0.001783
0.00994
1
0.045726
false
0
0.005964
0.003976
0.099404
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c070858fc983b123fd6ac8f5e9a88c61b6fd56d7
284
py
Python
apps/member/apps.py
ozet-team/ozet-server
4772d37339634adee6ace65a5e2380df4bd22bbb
[ "MIT" ]
null
null
null
apps/member/apps.py
ozet-team/ozet-server
4772d37339634adee6ace65a5e2380df4bd22bbb
[ "MIT" ]
4
2021-11-27T14:15:55.000Z
2021-12-10T12:59:44.000Z
apps/member/apps.py
ozet-team/ozet-server
4772d37339634adee6ace65a5e2380df4bd22bbb
[ "MIT" ]
null
null
null
from django.apps import AppConfig class MemberConfig(AppConfig): default_auto_field = "django.db.models.BigAutoField" name = 'apps.member' verbose_name = '회원' swagger_tag = dict(name='사용자 API 목록', description='') def ready(self): from . import signals
21.846154
57
0.683099
35
284
5.428571
0.8
0
0
0
0
0
0
0
0
0
0
0
0.207746
284
12
58
23.666667
0.844444
0
0
0
0
0
0.183099
0.102113
0
0
0
0
0
1
0.125
false
0
0.25
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
c07666b3a72d0a99b7a902754426972ce9749210
2,122
py
Python
backend/links/models.py
pykulytsky/lincutter
3593b2fe94d998ec2c9cab1f2f58714732c69509
[ "MIT" ]
null
null
null
backend/links/models.py
pykulytsky/lincutter
3593b2fe94d998ec2c9cab1f2f58714732c69509
[ "MIT" ]
null
null
null
backend/links/models.py
pykulytsky/lincutter
3593b2fe94d998ec2c9cab1f2f58714732c69509
[ "MIT" ]
null
null
null
from django.db import models import uuid from django.forms import model_to_dict import random import string class ModelDiffMixin(object): """ Mixin that detects changes in model fields. """ def __init__(self, *args, **kwargs): super(ModelDiffMixin, self).__init__(*args, **kwargs) se...
28.293333
89
0.583883
248
2,122
4.798387
0.362903
0.046218
0.057143
0.052941
0.067227
0.067227
0.067227
0.067227
0
0
0
0.008916
0.312912
2,122
74
90
28.675676
0.80727
0.065504
0
0.142857
0
0
0.026028
0
0
0
0
0
0
1
0.183673
false
0
0.102041
0.081633
0.530612
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
c077eb821ac6a89ddad677c9eb97cef7d6ff633b
543
py
Python
snoop/data/management/commands/exportindex.py
liquidinvestigations/hoover-snoop2
28e328401609f53fb56abaa4817619085aa3fbee
[ "MIT" ]
null
null
null
snoop/data/management/commands/exportindex.py
liquidinvestigations/hoover-snoop2
28e328401609f53fb56abaa4817619085aa3fbee
[ "MIT" ]
168
2019-11-07T12:38:07.000Z
2021-04-19T09:53:51.000Z
snoop/data/management/commands/exportindex.py
liquidinvestigations/hoover-snoop2
28e328401609f53fb56abaa4817619085aa3fbee
[ "MIT" ]
null
null
null
"""Export elasticsearch index.""" from django.core.management.base import BaseCommand from ...logs import logging_for_management_command from ... import indexing class Command(BaseCommand): """Export elasticsearch index""" def handle(self, *args, **options): """Runs [snoop.data.indexing.export_index...
27.15
93
0.688766
61
543
6
0.655738
0.103825
0.131148
0.147541
0
0
0
0
0
0
0
0
0.200737
543
19
94
28.578947
0.843318
0.355433
0
0
0
0
0.029126
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c084a61f7d6e270d56dcdff203dbd9462c3f74b5
14,281
py
Python
x5gonlamtools/tools/tr2text/valencia-tools/dfxp-tools/trs2dfxp.py
X5GON/lamapi
0558c3b7af520ab83bdbd29e1b1b9b87bdc147b0
[ "BSD-2-Clause" ]
null
null
null
x5gonlamtools/tools/tr2text/valencia-tools/dfxp-tools/trs2dfxp.py
X5GON/lamapi
0558c3b7af520ab83bdbd29e1b1b9b87bdc147b0
[ "BSD-2-Clause" ]
null
null
null
x5gonlamtools/tools/tr2text/valencia-tools/dfxp-tools/trs2dfxp.py
X5GON/lamapi
0558c3b7af520ab83bdbd29e1b1b9b87bdc147b0
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import xml.parsers.expat from sys import exit import sys __all__= [ 'Trans', 'TransComment', 'TransSpeaker', 'TransEpisode', 'TransSection', 'TransTurn', 'TransSync', 'TransEvent', 'TransWho', 'load_trans_file' ] def _i1(string) : string= string...
32.829885
150
0.497864
1,661
14,281
4.173992
0.131246
0.03029
0.043271
0.020193
0.383961
0.309246
0.264099
0.24881
0.24881
0.23929
0
0.011583
0.359219
14,281
434
151
32.90553
0.746039
0.040964
0
0.319749
0
0.00627
0.109256
0.00205
0
0
0
0
0
0
null
null
0.009404
0.009404
null
null
0.003135
0
0
0
null
0
0
0
0
0
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
c08af0510f94295a2308e1e98571d36283aa6203
7,261
py
Python
test/test_require.py
pmuellr/nitro_pie
6088d71d4eda02c30c663fdc323d2fd34a9eef7d
[ "MIT" ]
1
2016-05-09T08:18:33.000Z
2016-05-09T08:18:33.000Z
test/test_require.py
pmuellr/nitro_pie
6088d71d4eda02c30c663fdc323d2fd34a9eef7d
[ "MIT" ]
null
null
null
test/test_require.py
pmuellr/nitro_pie
6088d71d4eda02c30c663fdc323d2fd34a9eef7d
[ "MIT" ]
null
null
null
#!/usr/bin/env python #------------------------------------------------------------------- # The MIT License # # Copyright (c) 2009 Patrick Mueller # # 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...
30.254167
81
0.541661
799
7,261
4.797247
0.235294
0.052178
0.057657
0.032872
0.591443
0.560657
0.538743
0.538743
0.510044
0.495173
0
0.019849
0.250654
7,261
239
82
30.380753
0.684617
0.239912
0
0.651316
0
0
0.170465
0
0
0
0
0
0.092105
0
null
null
0
0.039474
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
c08d80ab034c72d3f2c4313ab3e12097911f1343
2,740
py
Python
weather_display/ui/windows/base.py
TomPretty/weather_display
ea7dd6da2e25b35bed17a38da297065da338cd1d
[ "MIT" ]
null
null
null
weather_display/ui/windows/base.py
TomPretty/weather_display
ea7dd6da2e25b35bed17a38da297065da338cd1d
[ "MIT" ]
1
2022-01-13T02:40:09.000Z
2022-01-13T02:40:09.000Z
weather_display/ui/windows/base.py
TomPretty/weather_display
ea7dd6da2e25b35bed17a38da297065da338cd1d
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import Tuple from PIL import Image # type: ignore class Window(ABC): """Window - A base class for windows. A window is responsible for rendering an image, which is then displayed by a `Display`. A window provides a number of methods for adding graphical e...
24.464286
86
0.528832
337
2,740
4.255193
0.240356
0.027894
0.039052
0.025105
0.311018
0.192469
0.160391
0.122734
0.055788
0.055788
0
0
0.386861
2,740
111
87
24.684685
0.853571
0.479197
0
0.416667
0
0
0
0
0
0
0
0
0
1
0.291667
false
0.041667
0.125
0
0.458333
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
c08f8523a5e8c2a82c57ec22312fc3d37d4272b2
1,863
py
Python
cbmcfs3_runner/pump/fusion_data.py
xapple/cbm_runner
ec532819e0a086077475bfd479836a378f187f6f
[ "MIT" ]
2
2019-07-11T23:49:22.000Z
2019-10-31T19:11:45.000Z
cbmcfs3_runner/pump/fusion_data.py
xapple/cbm_runner
ec532819e0a086077475bfd479836a378f187f6f
[ "MIT" ]
null
null
null
cbmcfs3_runner/pump/fusion_data.py
xapple/cbm_runner
ec532819e0a086077475bfd479836a378f187f6f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Written by Lucas Sinclair and Paul Rougieux. JRC biomass Project. Unit D1 Bioeconomy. """ # Built-in modules # # Third party modules # import pandas # First party modules # from autopaths.auto_paths import AutoPaths from plumbing.cache import property_cached ####...
27.397059
79
0.61299
218
1,863
5.100917
0.582569
0.043165
0.043165
0.039568
0.044964
0
0
0
0
0
0
0.003571
0.248524
1,863
67
80
27.80597
0.790714
0.533011
0
0
0
0
0.08855
0.045802
0
0
0
0
0
1
0.176471
false
0
0.176471
0.058824
0.588235
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
c0a0edc84189703729d1d1aa827c8d7eb10cac8f
3,856
py
Python
openstack_dashboard/dashboards/nikolaboard/workflowpanel/forms.py
AlexOugh/horizon
bda2a59aad7637f45211db37235ab18323e20b25
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/dashboards/nikolaboard/workflowpanel/forms.py
AlexOugh/horizon
bda2a59aad7637f45211db37235ab18323e20b25
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/dashboards/nikolaboard/workflowpanel/forms.py
AlexOugh/horizon
bda2a59aad7637f45211db37235ab18323e20b25
[ "Apache-2.0" ]
null
null
null
# 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, software # distributed under th...
41.462366
116
0.680757
460
3,856
5.469565
0.395652
0.063593
0.083466
0.030207
0.073132
0.021463
0
0
0
0
0
0.02912
0.216286
3,856
92
117
41.913043
0.803441
0.207728
0
0.070175
0
0
0.20382
0.032927
0
0
0
0
0
0
null
null
0.035088
0.175439
null
null
0.017544
0
0
0
null
0
0
0
0
0
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
c0a242b6f0320d55e5f0d6fd8a6b988b7dda8b6f
2,331
py
Python
test/test_compound_graph.py
Chad-Mowbray/iamb-classifier
9da3bbfa2cac4518dae5b01de7c62a100a785a82
[ "MIT" ]
2
2021-09-11T13:12:38.000Z
2022-03-16T23:42:34.000Z
test/test_compound_graph.py
redova87/iamb-classifier
9da3bbfa2cac4518dae5b01de7c62a100a785a82
[ "MIT" ]
2
2021-09-07T02:35:37.000Z
2022-02-06T08:29:18.000Z
test/test_compound_graph.py
redova87/iamb-classifier
9da3bbfa2cac4518dae5b01de7c62a100a785a82
[ "MIT" ]
2
2022-02-06T08:27:47.000Z
2022-02-06T17:46:34.000Z
import unittest from pprint import pformat from ipclassifier.iambic_line_processors.combinations_graph import CombinationsGraph unittest.TestCase.maxDiff=None def equal(expected, actual): msg = "'" + pformat(actual) + "' != '" + pformat(expected) + "'" assert expected == actual, msg class TestCombinationsG...
31.931507
92
0.396396
333
2,331
2.690691
0.129129
0.109375
0.090402
0.058036
0.622768
0.602679
0.601563
0.598214
0.521205
0.410714
0
0.144046
0.329901
2,331
73
93
31.931507
0.429577
0
0
0.436364
0
0
0.006861
0
0
0
0
0
0.036364
1
0.109091
false
0
0.054545
0
0.2
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c0a578508de04e917de4d7d968b8bff63cf30736
494
py
Python
713. Subarray Product Less Than K.py
Into-Y0u/Github-Baby
5e4e6b02f49c2c99533289be9d49911006cad919
[ "MIT" ]
2
2022-01-25T04:30:26.000Z
2022-01-25T10:36:15.000Z
713. Subarray Product Less Than K.py
Into-Y0u/Leetcode-Baby
681ad4df01ee908f76d888aa4ccc10f04c03c56f
[ "MIT" ]
null
null
null
713. Subarray Product Less Than K.py
Into-Y0u/Leetcode-Baby
681ad4df01ee908f76d888aa4ccc10f04c03c56f
[ "MIT" ]
null
null
null
class Solution: def numSubarrayProductLessThanK(self, nums: List[int], k: int) -> int: if k <= 1 : return 0 prod =1 res = 0 i,j = 0, 0 while j < len(nums): prod *= nums[j] if prod < k : res += (j-i+1) elif prod...
26
74
0.354251
58
494
3.017241
0.344828
0.085714
0.057143
0.068571
0
0
0
0
0
0
0
0.043478
0.534413
494
18
75
27.444444
0.717391
0
0
0
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c0a629fb549b1fd3bdd8541373de2fb842273f58
1,772
py
Python
samples/latitude/latitude.py
mdornseif/google-api-python-client
562ec98ea410793fe983f3ba72155fdacb80b4f6
[ "Apache-2.0" ]
null
null
null
samples/latitude/latitude.py
mdornseif/google-api-python-client
562ec98ea410793fe983f3ba72155fdacb80b4f6
[ "Apache-2.0" ]
null
null
null
samples/latitude/latitude.py
mdornseif/google-api-python-client
562ec98ea410793fe983f3ba72155fdacb80b4f6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2.4 # -*- coding: utf-8 -*- # # Copyright (C) 2012 Google 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 ...
26.447761
75
0.689616
236
1,772
5.080508
0.648305
0.050042
0.040033
0.026689
0
0
0
0
0
0
0
0.024964
0.208804
1,772
66
76
26.848485
0.830243
0.335779
0
0
0
0
0.306471
0.025641
0
0
0
0
0
0
null
null
0
0.125
null
null
0.083333
0
0
0
null
0
0
0
0
0
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
c0a6771061cd5e890901b700214b43284df39ff2
1,190
py
Python
mve/learner.py
vlad17/mve
19835bba87a2e5abc9bca653d011bf2eed68dd62
[ "Apache-2.0" ]
9
2019-11-27T07:15:23.000Z
2022-01-19T08:23:40.000Z
mve/learner.py
vlad17/mve
19835bba87a2e5abc9bca653d011bf2eed68dd62
[ "Apache-2.0" ]
null
null
null
mve/learner.py
vlad17/mve
19835bba87a2e5abc9bca653d011bf2eed68dd62
[ "Apache-2.0" ]
null
null
null
""" This module defines the learner interface. """ class Learner: """ A learner ingests data, manipulates internal state by learning off this data, supplies agents for taking further actions, and provides an opaque interface to internal evaluation. """ def train(self, data, timesteps): ...
28.333333
78
0.643697
142
1,190
5.380282
0.542254
0.125654
0.106021
0
0
0
0
0
0
0
0
0
0.30084
1,190
41
79
29.02439
0.918269
0.590756
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c0b6cb58ea9e826ac75730b3e10be53faa85fea8
2,539
py
Python
wls/config/props_reader.py
rocksun/ucmd
486de31324195f48c4110e327d635aaafe3d74d6
[ "Apache-2.0" ]
2
2019-10-09T06:59:47.000Z
2019-10-10T03:20:17.000Z
wls/config/props_reader.py
rocksun/ucmd
486de31324195f48c4110e327d635aaafe3d74d6
[ "Apache-2.0" ]
null
null
null
wls/config/props_reader.py
rocksun/ucmd
486de31324195f48c4110e327d635aaafe3d74d6
[ "Apache-2.0" ]
1
2021-11-25T06:41:17.000Z
2021-11-25T06:41:17.000Z
#!/usr/bin/env python ''' File name: props_reader.py Author: Rock Sun Mail: daijun@gmail.com WLST for WebLogic: 12.2.1.3.0 ''' import time import getopt import sys import re import os class Server(object): name="" address="" port="" cluster="" class DomainConfig(object): wlsHome...
26.447917
64
0.644742
277
2,539
5.902527
0.34296
0.179817
0.110092
0.027523
0.035474
0
0
0
0
0
0
0.003032
0.220559
2,539
95
65
26.726316
0.823143
0.20126
0
0
0
0
0.08971
0
0
0
0
0
0
0
null
null
0.035088
0.122807
null
null
0.035088
0
0
0
null
0
0
0
0
0
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
c0c2cbf56beb76b64db3d08e3a619badf351a944
1,380
py
Python
autodp/rl_core/env/batch_env.py
IBM/automation-of-image-data-preprocessing
a5327b1b6da3f5fc92dae4dfeb235c5f24378589
[ "MIT" ]
5
2020-11-26T16:31:56.000Z
2022-03-02T23:11:19.000Z
autodp/rl_core/env/batch_env.py
IBM/automation-of-image-data-preprocessing
a5327b1b6da3f5fc92dae4dfeb235c5f24378589
[ "MIT" ]
null
null
null
autodp/rl_core/env/batch_env.py
IBM/automation-of-image-data-preprocessing
a5327b1b6da3f5fc92dae4dfeb235c5f24378589
[ "MIT" ]
null
null
null
import numpy as np from itertools import compress from autodp.rl_core.env.sim_env import SimEnv class BatchSimEnv(object): """This class is a wrapper to create and control a list of environments for batch processing.""" def __init__(self, image_batch=[], label_batch=[]): self._envs = [SimEnv(i, l) fo...
34.5
100
0.624638
199
1,380
4.160804
0.336683
0.086957
0.072464
0.096618
0.333333
0.236715
0.236715
0.236715
0.236715
0.236715
0
0
0.252174
1,380
39
101
35.384615
0.802326
0.194203
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.304348
false
0
0.130435
0
0.608696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c0c45a430125a7ffec385923109e5a5d1e6de777
5,577
py
Python
tests/test_api.py
bradleygolden/userapi
f927f54f0c85a8ca32ed2421e9fbee6d9f076fb6
[ "MIT" ]
null
null
null
tests/test_api.py
bradleygolden/userapi
f927f54f0c85a8ca32ed2421e9fbee6d9f076fb6
[ "MIT" ]
null
null
null
tests/test_api.py
bradleygolden/userapi
f927f54f0c85a8ca32ed2421e9fbee6d9f076fb6
[ "MIT" ]
null
null
null
from app import verify_password, validate_token, User import json from base64 import b64encode def auth_headers(username, password): username_password = "%s:%s" % (username, password) headers = { 'Authorization': 'Basic %s' % b64encode(username_password.encode()).decode("ascii") } return heade...
36.933775
91
0.591895
649
5,577
4.898305
0.138675
0.059767
0.020132
0.028625
0.592954
0.466184
0.418056
0.370557
0.362378
0.320226
0
0.011562
0.302134
5,577
150
92
37.18
0.805242
0.030662
0
0.339286
0
0
0.077422
0.004075
0
0
0
0
0.232143
1
0.098214
false
0.232143
0.026786
0
0.160714
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
c0c46776ed8035ab2f25954c553a3b8799038ffd
6,983
py
Python
models/user.py
NickYxy/zhihu
6b98477ae98abf488ffd0cfeeb3f592949c7c69e
[ "MIT" ]
null
null
null
models/user.py
NickYxy/zhihu
6b98477ae98abf488ffd0cfeeb3f592949c7c69e
[ "MIT" ]
null
null
null
models/user.py
NickYxy/zhihu
6b98477ae98abf488ffd0cfeeb3f592949c7c69e
[ "MIT" ]
null
null
null
import hashlib import base64 from enum import Enum from decimal import Decimal from . import MongoModel from . import timestamp from . import safe_list_get from . import short_uuid from . import bool_dict from decimal import Decimal from . import safe_list_get from .mail import send_verify_email from .mail import send_...
29.84188
82
0.573106
833
6,983
4.632653
0.157263
0.049236
0.025395
0.02384
0.315108
0.260689
0.196165
0.179062
0.179062
0.139155
0
0.020608
0.312044
6,983
234
83
29.84188
0.782681
0.005012
0
0.362745
0
0
0.04995
0
0
0
0
0
0
1
0.117647
false
0.122549
0.068627
0.009804
0.372549
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
c0c6fdfa65302b7583ad56262634da51e70ab642
1,168
py
Python
apps/node_man/migrations/0027_auto_20210804_1259.py
ZhuoZhuoCrayon/bk-nodeman
76cb71fcc971c2a0c2be161fcbd6b019d4a7a8ab
[ "MIT" ]
31
2021-07-28T13:06:11.000Z
2022-03-10T12:16:44.000Z
apps/node_man/migrations/0027_auto_20210804_1259.py
ZhuoZhuoCrayon/bk-nodeman
76cb71fcc971c2a0c2be161fcbd6b019d4a7a8ab
[ "MIT" ]
483
2021-07-29T03:17:44.000Z
2022-03-31T13:03:04.000Z
apps/node_man/migrations/0027_auto_20210804_1259.py
ZhuoZhuoCrayon/bk-nodeman
76cb71fcc971c2a0c2be161fcbd6b019d4a7a8ab
[ "MIT" ]
29
2021-07-28T13:06:21.000Z
2022-03-25T06:18:18.000Z
# Generated by Django 2.2.8 on 2021-08-04 04:59 from django.db import migrations, models import django_mysql.models class Migration(migrations.Migration): dependencies = [ ("node_man", "0026_accesspoint_outer_callback_url"), ] operations = [ migrations.CreateModel( name="Ins...
34.352941
114
0.589041
118
1,168
5.601695
0.576271
0.133132
0.077156
0.072617
0.166415
0.166415
0.166415
0.166415
0.166415
0
0
0.02503
0.281678
1,168
33
115
35.393939
0.762813
0.038527
0
0.074074
1
0
0.166815
0.031222
0
0
0
0
0
1
0
false
0
0.074074
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c0ccf6b0f2d7930b72e387e10e653961e505dded
1,150
py
Python
vindauga/constants/scrollbar_codes.py
gabbpuy/vindauga
d4a51a618d60e83d82fd5fee585d08ff288484f3
[ "BSD-2-Clause" ]
5
2019-07-03T16:01:46.000Z
2021-12-22T10:01:04.000Z
vindauga/constants/scrollbar_codes.py
gabbpuy/vindauga
d4a51a618d60e83d82fd5fee585d08ff288484f3
[ "BSD-2-Clause" ]
null
null
null
vindauga/constants/scrollbar_codes.py
gabbpuy/vindauga
d4a51a618d60e83d82fd5fee585d08ff288484f3
[ "BSD-2-Clause" ]
1
2020-09-22T14:25:13.000Z
2020-09-22T14:25:13.000Z
# -*- coding: utf-8 -*- # ScrollBar part codes # Left arrow of horizontal scroll bar. # @see ScrollBar::scrollStep sbLeftArrow = 0 # Right arrow of horizontal scroll bar. # @see ScrollBar::scrollStep sbRightArrow = 1 # Left paging area of horizontal scroll bar. # @see ScrollBar::scrollStep sbPageLeft = 2 # Right pag...
22.115385
48
0.756522
145
1,150
6
0.4
0.124138
0.124138
0.217241
0.490805
0.455172
0.455172
0.455172
0.23908
0
0
0.022774
0.16
1,150
51
49
22.54902
0.877847
0.765217
0
0
0
0
0
0
0
0
0.061983
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c0d22c468ff4d048d480cd8b65064d3ca1e77780
331
py
Python
satchmo/product/brand/urls.py
sankroh/satchmo
e48df0c2a4be4ce14785d0a5d6dd1e516c57a838
[ "BSD-3-Clause" ]
1
2016-05-09T12:21:04.000Z
2016-05-09T12:21:04.000Z
satchmo/product/brand/urls.py
sankroh/satchmo
e48df0c2a4be4ce14785d0a5d6dd1e516c57a838
[ "BSD-3-Clause" ]
null
null
null
satchmo/product/brand/urls.py
sankroh/satchmo
e48df0c2a4be4ce14785d0a5d6dd1e516c57a838
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls.defaults import * urlpatterns = patterns('satchmo.product.brand.views', (r'^$', 'brand_list', {}, 'satchmo_brand_list'), (r'^(?P<brandname>.*)/(?P<catname>.*)/$', 'brand_category_page', {}, 'satchmo_brand_category_view'), (r'^(?P<brandname>.*)/$', 'brand_page', {}, 'satchmo_brand_view...
36.777778
104
0.628399
38
331
5.184211
0.526316
0.182741
0.111675
0
0
0
0
0
0
0
0
0
0.114804
331
8
105
41.375
0.672355
0
0
0
0
0
0.564955
0.271903
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c0d2e833e74cb45ddaabe5f36e2810e9cd9bf8a6
719
py
Python
pyti/moving_average_envelope.py
dibyajyotidash/https-github.com-kylejusticemagnuson-pyti
08532970f9d2b163f1223599e3ac80f6c51533e4
[ "MIT" ]
635
2017-04-04T20:24:47.000Z
2022-03-28T16:00:23.000Z
pyti/moving_average_envelope.py
dibyajyotidash/https-github.com-kylejusticemagnuson-pyti
08532970f9d2b163f1223599e3ac80f6c51533e4
[ "MIT" ]
24
2017-10-22T15:01:54.000Z
2021-01-30T19:51:00.000Z
pyti/moving_average_envelope.py
dibyajyotidash/https-github.com-kylejusticemagnuson-pyti
08532970f9d2b163f1223599e3ac80f6c51533e4
[ "MIT" ]
183
2017-07-01T16:06:39.000Z
2022-03-07T23:29:11.000Z
from __future__ import absolute_import from pyti.simple_moving_average import simple_moving_average as sma def center_band(data, period): """ Center Band. Formula: SMA(data) """ cb = sma(data, period) return cb def upper_band(data, period, env_percentage): """ Upper Band. F...
18.921053
67
0.617524
97
719
4.371134
0.309278
0.141509
0.165094
0.141509
0.476415
0.349057
0.349057
0.349057
0.179245
0.179245
0
0.00759
0.267038
719
37
68
19.432432
0.796964
0.196106
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c0de3f2295834eebe05c4b0a5b7ab66130cdcb1a
813
py
Python
main.py
seanshin2647/Platformer-Hide-and-Seek
a8cee80f48d6b0c845d28ea15c469e81c3de8311
[ "MIT" ]
null
null
null
main.py
seanshin2647/Platformer-Hide-and-Seek
a8cee80f48d6b0c845d28ea15c469e81c3de8311
[ "MIT" ]
null
null
null
main.py
seanshin2647/Platformer-Hide-and-Seek
a8cee80f48d6b0c845d28ea15c469e81c3de8311
[ "MIT" ]
null
null
null
from game_states import * pygame.init() FPS = 60 DISPLAY_WIDTH = 600 DISPLAY_HEIGHT = 600 DISPLAY = pygame.display.set_mode([DISPLAY_WIDTH, DISPLAY_HEIGHT]) clock = pygame.time.Clock() def main_loop(): # TODO: Add a dedicated state manager for this. game_state = Game_State(DISPLAY_WIDTH, DISPLAY_HEIGHT) ...
25.40625
80
0.688807
110
813
4.9
0.572727
0.083488
0.105751
0.139147
0
0
0
0
0
0
0
0.012759
0.228782
813
32
81
25.40625
0.84689
0.239852
0
0
0
0
0
0
0
0
0
0.03125
0
1
0.055556
false
0
0.055556
0
0.111111
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
c0e5f5ef32892e2f9ad4990c447c34cd6349156a
912
py
Python
python/python/data-structures/queue/main.py
narekye/code
c2e0a19d8fbff78b6369ab7b2bc3f4f438349e1a
[ "MIT" ]
6
2017-07-22T10:05:19.000Z
2021-02-22T21:01:15.000Z
python/python/data-structures/queue/main.py
narekye/code
c2e0a19d8fbff78b6369ab7b2bc3f4f438349e1a
[ "MIT" ]
null
null
null
python/python/data-structures/queue/main.py
narekye/code
c2e0a19d8fbff78b6369ab7b2bc3f4f438349e1a
[ "MIT" ]
null
null
null
import random from queue import Queue from simulation import task as CTask from simulation import printer def new_print_task(): num = random.randrange(1, 181) return num == 180 def simulation(num_seconds, pages_per_minute): lab_printer = printer.Printer(pages_per_minute) print_queue = Queue() wa...
26.823529
93
0.6875
125
912
4.768
0.456
0.083893
0.067114
0
0
0
0
0
0
0
0
0.02381
0.217105
912
33
94
27.636364
0.810924
0
0
0
0
0
0.047149
0
0
0
0
0
0
1
0.086957
false
0
0.173913
0
0.304348
0.434783
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
c0e9d79cb42336292151d03c31c3cd89d49811f9
1,390
py
Python
Deployment/Docker/chatbot_responder.py
SteveG1993/sports-chatbot
5b0fa96560974b1c83277b47a93c530b7a9a985f
[ "MIT" ]
null
null
null
Deployment/Docker/chatbot_responder.py
SteveG1993/sports-chatbot
5b0fa96560974b1c83277b47a93c530b7a9a985f
[ "MIT" ]
null
null
null
Deployment/Docker/chatbot_responder.py
SteveG1993/sports-chatbot
5b0fa96560974b1c83277b47a93c530b7a9a985f
[ "MIT" ]
null
null
null
import pickle from numpy import array import numpy as np import random import sys import io import os #from keras.utils.data_utils import get_file from keras.models import load_model from keras.preprocessing.text import Tokenizer class chatbot_responder(): model = False words = False def __init__(self):...
25.740741
72
0.679137
188
1,390
4.81383
0.409574
0.035359
0.028729
0.033149
0
0
0
0
0
0
0
0.003707
0.223741
1,390
53
73
26.226415
0.835032
0.081295
0
0
0
0
0.060535
0.022799
0
0
0
0
0
1
0.171429
false
0
0.257143
0.057143
0.657143
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
c0ef5fa27a48b819cd626e403c9fdbcddc1d5a2b
3,687
py
Python
docker/examples/iris/xgboost_rpc/python/iris_pb2.py
smsahu/seldon-server
7f6dc5d405736e44205323f04ce431064dd854b3
[ "Apache-2.0" ]
1,645
2015-02-13T12:31:44.000Z
2022-03-17T07:50:05.000Z
docker/examples/iris/xgboost_rpc/python/iris_pb2.py
smsahu/seldon-server
7f6dc5d405736e44205323f04ce431064dd854b3
[ "Apache-2.0" ]
57
2015-03-26T16:00:23.000Z
2021-05-10T11:03:40.000Z
docker/examples/iris/xgboost_rpc/python/iris_pb2.py
smsahu/seldon-server
7f6dc5d405736e44205323f04ce431064dd854b3
[ "Apache-2.0" ]
371
2015-03-16T11:04:16.000Z
2022-02-27T01:16:02.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: iris.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflecti...
37.622449
326
0.76268
480
3,687
5.64375
0.279167
0.038391
0.064969
0.062016
0.404946
0.360281
0.360281
0.249169
0.249169
0.249169
0
0.041243
0.118796
3,687
97
327
38.010309
0.792552
0.063195
0
0.333333
1
0.012821
0.211137
0.181555
0
0
0
0
0
1
0
false
0
0.141026
0
0.141026
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
c0f4528e73e5c02c5483d585ee85fda40fdf0009
1,685
py
Python
src/schedule-service/create_html.py
brennanbrown/python-projects
555b4f16b7d56fdd84430da9fcdff01434c7758c
[ "MIT" ]
null
null
null
src/schedule-service/create_html.py
brennanbrown/python-projects
555b4f16b7d56fdd84430da9fcdff01434c7758c
[ "MIT" ]
null
null
null
src/schedule-service/create_html.py
brennanbrown/python-projects
555b4f16b7d56fdd84430da9fcdff01434c7758c
[ "MIT" ]
null
null
null
''' Created on Aug 18, 2020 @author: Brennan Brown ''' from datetime import datetime def create_html_report(data_dict, icon_url, html_file): alt_var = data_dict['weather'] with open(html_file, mode='w') as outfile: outfile.write('<html>\n') outfile.write('<head>\n<title>Python...
41.097561
119
0.518101
214
1,685
3.943925
0.383178
0.227488
0.169431
0.049763
0.07109
0.07109
0.07109
0
0
0
0
0.007508
0.209496
1,685
40
120
42.125
0.626126
0.105638
0
0
0
0.12
0.370879
0.0625
0
0
0
0
0
1
0.04
false
0
0.08
0
0.12
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1