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
c5be8a24bc6dc995b64d7a180b33cd34495ad230
738
py
Python
pyfunt/threshold.py
RaulMurillo/PyFunt
a1bc4b91894c7af5052cf851150533dca1275e2a
[ "MIT" ]
null
null
null
pyfunt/threshold.py
RaulMurillo/PyFunt
a1bc4b91894c7af5052cf851150533dca1275e2a
[ "MIT" ]
null
null
null
pyfunt/threshold.py
RaulMurillo/PyFunt
a1bc4b91894c7af5052cf851150533dca1275e2a
[ "MIT" ]
null
null
null
from .module import Module import numpy as np class Threshold(Module): def __init__(self, th=1e-6, v=0, ip=False): super(Threshold, self).__init__() self.th = th self.val = v self.inplace = ip def update_output(self, x): self.output = np.maximum(self.th, x) re...
24.6
90
0.597561
102
738
4.166667
0.45098
0.056471
0.047059
0
0
0
0
0
0
0
0
0.009709
0.302168
738
29
91
25.448276
0.815534
0
0
0
0
0
0.074526
0
0
0
0
0
0
1
0.227273
false
0.045455
0.090909
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c5bffdb6063b50cbb34282baf8f562155589716c
2,391
py
Python
demos/python_demos/accuracy_checker/accuracy_checker/representation/segmentation_representation.py
asmorkalov/open_model_zoo
633b84eafee670c97d0da6985fbc76c2143fc7ae
[ "Apache-2.0" ]
2
2019-05-21T06:31:41.000Z
2019-06-12T07:47:18.000Z
demos/python_demos/accuracy_checker/accuracy_checker/representation/segmentation_representation.py
asmorkalov/open_model_zoo
633b84eafee670c97d0da6985fbc76c2143fc7ae
[ "Apache-2.0" ]
1
2021-03-19T12:30:19.000Z
2021-03-22T12:14:31.000Z
demos/python_demos/accuracy_checker/accuracy_checker/representation/segmentation_representation.py
asmorkalov/open_model_zoo
633b84eafee670c97d0da6985fbc76c2143fc7ae
[ "Apache-2.0" ]
2
2019-06-12T10:28:32.000Z
2019-06-17T21:47:54.000Z
""" Copyright (c) 2018 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
29.158537
113
0.691761
304
2,391
5.289474
0.460526
0.049751
0.018657
0.019901
0.033582
0.033582
0
0
0
0
0
0.007621
0.231702
2,391
81
114
29.518519
0.867719
0.390213
0
0
0
0
0.027859
0
0
0
0
0
0
1
0.125
false
0.025
0.15
0
0.525
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
c5ce0c14997bb404779c18ae886144beeb181a2c
4,825
py
Python
resources/user.py
kaitolucifer/flask-restful-web-app
b66121d7c57b0e4158f739d421287166f093d2b4
[ "WTFPL" ]
null
null
null
resources/user.py
kaitolucifer/flask-restful-web-app
b66121d7c57b0e4158f739d421287166f093d2b4
[ "WTFPL" ]
null
null
null
resources/user.py
kaitolucifer/flask-restful-web-app
b66121d7c57b0e4158f739d421287166f093d2b4
[ "WTFPL" ]
null
null
null
from flask import request from flask_restful import Resource from schemas.user import CloseSchema, GetUserSchema, SignupSchema, PatchUserSchema, NonASCIIError, LengthTooLongError, LengthTooShortError, RequiredError from models.user import UserModel, SameUserIDError, InvalidPasswordError, UserNotExistError, NoPermissio...
37.115385
153
0.559585
452
4,825
5.823009
0.179204
0.098784
0.054331
0.088906
0.578647
0.572568
0.49772
0.49772
0.43807
0.366641
0
0.019048
0.34715
4,825
129
154
37.403101
0.816508
0
0
0.541667
0
0
0.130777
0
0
0
0
0
0
1
0.033333
false
0.075
0.05
0
0.275
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
c5d74ba0359f8882cbe91cfe416bb34308854ea1
1,001
py
Python
tests/features/steps/annotations_repo/test_annotations_list.py
dataloop-ai/dtlpy
2c73831da54686e047ab6aefd8f12a8e53ea97c2
[ "Apache-2.0" ]
10
2020-05-21T06:25:35.000Z
2022-01-07T20:34:03.000Z
tests/features/steps/annotations_repo/test_annotations_list.py
dataloop-ai/dtlpy
2c73831da54686e047ab6aefd8f12a8e53ea97c2
[ "Apache-2.0" ]
22
2019-11-17T17:25:16.000Z
2022-03-10T15:14:28.000Z
tests/features/steps/annotations_repo/test_annotations_list.py
dataloop-ai/dtlpy
2c73831da54686e047ab6aefd8f12a8e53ea97c2
[ "Apache-2.0" ]
8
2020-03-05T16:23:55.000Z
2021-12-27T11:10:42.000Z
import behave @behave.given(u'There are no annotations') def step_impl(context): assert True @behave.when(u'I list all annotations') def step_impl(context): context.annotations_list = context.item.annotations.list() @behave.then(u'I receive a list of all annotations') def step_impl(context): assert le...
28.6
76
0.693307
128
1,001
5.351563
0.359375
0.157664
0.080292
0.131387
0.385401
0.261314
0.143066
0.143066
0.143066
0
0
0.001255
0.203796
1,001
34
77
29.441176
0.858218
0.02997
0
0.217391
0
0
0.223942
0
0
0
0
0
0.173913
1
0.217391
false
0
0.043478
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c5f5cc5630cdf08a1452e5144172bd534720a995
1,478
py
Python
users/tests/test_service.py
thiagoferreiraw/mixapp
67ced5b26d5c4baf6d46a9630d001da8e30800fd
[ "MIT" ]
4
2017-10-17T16:00:44.000Z
2021-05-26T19:35:58.000Z
users/tests/test_service.py
thiagoferreiraw/mixapp
67ced5b26d5c4baf6d46a9630d001da8e30800fd
[ "MIT" ]
5
2020-06-05T17:23:55.000Z
2021-09-07T23:42:12.000Z
users/tests/test_service.py
thiagoferreiraw/mixapp
67ced5b26d5c4baf6d46a9630d001da8e30800fd
[ "MIT" ]
3
2017-10-10T22:37:34.000Z
2017-10-18T22:47:55.000Z
from django.contrib.auth.models import Group from django.test import TestCase from users.models import * from users.user_enums import UserGroupsEnum from users.user_service import UserService class TestService(TestCase): fixtures = ['user_groups'] def setUp(self): User.objects.all().delete() def...
37.897436
110
0.740189
184
1,478
5.728261
0.293478
0.051233
0.108159
0.045541
0.698292
0.698292
0.698292
0.622391
0.581594
0.488615
0
0.001606
0.157645
1,478
38
111
38.894737
0.84498
0.020974
0
0.384615
0
0
0.087258
0
0
0
0
0
0.115385
1
0.153846
false
0.115385
0.192308
0
0.423077
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
c5f672f8d85f1898918bfaaa92ce81155419f69e
4,414
py
Python
src/robomaster/robotic_arm.py
yukaryote/RoboMaster-SDK
5603bb729bf5416b529e7a6c7b75ba92efacd83c
[ "Apache-2.0" ]
204
2020-01-07T10:15:09.000Z
2022-03-30T12:29:50.000Z
src/robomaster/robotic_arm.py
yukaryote/RoboMaster-SDK
5603bb729bf5416b529e7a6c7b75ba92efacd83c
[ "Apache-2.0" ]
50
2020-01-30T12:50:13.000Z
2022-03-05T00:35:12.000Z
src/robomaster/robotic_arm.py
yukaryote/RoboMaster-SDK
5603bb729bf5416b529e7a6c7b75ba92efacd83c
[ "Apache-2.0" ]
94
2020-01-29T10:46:58.000Z
2022-03-28T01:00:09.000Z
# -*-coding:utf-8-*- # Copyright (c) 2020 DJI. # # 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 in the file LICENSE.txt or at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
27.761006
86
0.617807
593
4,414
4.335582
0.317032
0.015558
0.012447
0.006223
0.197977
0.188643
0.182419
0.141579
0.122131
0.082458
0
0.018668
0.271862
4,414
158
87
27.936709
0.781269
0.261441
0
0.075
0
0.0125
0.031767
0
0
0
0.001324
0
0
1
0.1875
false
0.0125
0.0875
0.025
0.525
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
c5fa9ba84a8e157f957b802b5f741a8fa09cb716
12,303
py
Python
gensim/setup.py
Abas-Khan/thesis
b733bd4382371203cc4992571890619a2e314047
[ "MIT" ]
null
null
null
gensim/setup.py
Abas-Khan/thesis
b733bd4382371203cc4992571890619a2e314047
[ "MIT" ]
null
null
null
gensim/setup.py
Abas-Khan/thesis
b733bd4382371203cc4992571890619a2e314047
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2014 Radim Rehurek <radimrehurek@seznam.cz> # Licensed under the GNU LGPL v2.1 - http://www.gnu.org/licenses/lgpl.html """ Run with: sudo python ./setup.py install """ import os import sys import warnings import ez_setup from setuptools import setup, f...
39.057143
455
0.679672
1,607
12,303
5.107032
0.370877
0.008773
0.018764
0.010357
0.14646
0.119898
0.090532
0.058609
0.052882
0.032899
0
0.015952
0.179631
12,303
314
456
39.181529
0.797186
0.078355
0
0.118721
0
0.109589
0.733764
0.059989
0
0
0
0
0
1
0.013699
false
0
0.03653
0
0.059361
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
68025ed04a19eab178afae2f1e142364040c9e6d
5,043
py
Python
.tools/site/generate-site-index-and-versions.py
groupe-sii/ogham
cb303d2168a5f2a0bca69b4b5b92bdb3de90cfab
[ "Apache-2.0" ]
18
2016-04-28T10:19:30.000Z
2021-10-05T12:04:39.000Z
.tools/site/generate-site-index-and-versions.py
groupe-sii/ogham
cb303d2168a5f2a0bca69b4b5b92bdb3de90cfab
[ "Apache-2.0" ]
99
2015-08-13T13:24:27.000Z
2021-09-24T06:45:57.000Z
.tools/site/generate-site-index-and-versions.py
groupe-sii/ogham
cb303d2168a5f2a0bca69b4b5b92bdb3de90cfab
[ "Apache-2.0" ]
16
2015-09-08T09:21:22.000Z
2022-03-04T10:43:20.000Z
import os import json from string import Template from functools import total_ordering import argparse from os import path def generate(sitedir, siteBaseUrl, codeBaseUrl, logoPath): versions = loadVersions(sitedir) print(versions.asList()) generateVersions(sitedir, versions) generateIndex(sitedir, siteBaseUrl, ver...
37.355556
149
0.743208
639
5,043
5.779343
0.256651
0.049824
0.05199
0.023829
0.256431
0.217709
0.189548
0.077985
0.046575
0.046575
0
0.002909
0.113821
5,043
134
150
37.634328
0.82345
0
0
0.056075
1
0.009346
0.196549
0.078342
0
0
0
0
0
1
0.17757
false
0
0.056075
0.046729
0.401869
0.009346
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
680300b2e7078db77ad733dd9dcb65e89c52da1c
369
py
Python
get_random_quote/migrations/0008_auto_20200524_2141.py
helloprash/birthday
f4cfe0214cb19eb3efaa2d659bd94ace9c5ce7ab
[ "bzip2-1.0.6" ]
null
null
null
get_random_quote/migrations/0008_auto_20200524_2141.py
helloprash/birthday
f4cfe0214cb19eb3efaa2d659bd94ace9c5ce7ab
[ "bzip2-1.0.6" ]
null
null
null
get_random_quote/migrations/0008_auto_20200524_2141.py
helloprash/birthday
f4cfe0214cb19eb3efaa2d659bd94ace9c5ce7ab
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 3.0.3 on 2020-05-24 16:11 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('get_random_quote', '0007_auto_20200524_2138'), ] operations = [ migrations.RenameField( model_name='quote', old_name='image'...
19.421053
56
0.590786
41
369
5.121951
0.804878
0
0
0
0
0
0
0
0
0
0
0.119691
0.298103
369
18
57
20.5
0.69112
0.121951
0
0
1
0
0.167702
0.071429
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
6810586a025853a731891bf9525c86e694b4a829
915
py
Python
12/day12.py
bourbonspecial/AdventofCode2017
a445fa8fc8a8856eb70a8ab4c930539d18089933
[ "MIT" ]
null
null
null
12/day12.py
bourbonspecial/AdventofCode2017
a445fa8fc8a8856eb70a8ab4c930539d18089933
[ "MIT" ]
null
null
null
12/day12.py
bourbonspecial/AdventofCode2017
a445fa8fc8a8856eb70a8ab4c930539d18089933
[ "MIT" ]
null
null
null
# https://adventofcode.com/2017/day/12 __author__ = 'Remus Knowles <remknowles@gmail.com>' from datetime import datetime def parse(): """ Take the input and turn it in to a list of edges. """ edges = [] with open('in.txt') as f: for r in f: src = int(r.split(' <-> ')[0]) dests = [int(x) for x in r.spl...
18.3
59
0.627322
150
915
3.66
0.473333
0.080146
0.058288
0
0
0
0
0
0
0
0
0.021008
0.219672
915
50
60
18.3
0.747899
0.039344
0
0
0
0
0.074481
0.026862
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.060606
0
0
0
null
0
0
0
0
0
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
6812242c9ff6645cd9a03e6a55ec2f307ab16d6a
464
py
Python
stocks_correlation/providers/pandas.py
claisne/stocks_correlation
a411e74312a5be381d02c48061cfae5d0c9ee7d6
[ "MIT" ]
1
2017-12-02T11:07:49.000Z
2017-12-02T11:07:49.000Z
stocks_correlation/providers/pandas.py
claisne/stocks_correlation
a411e74312a5be381d02c48061cfae5d0c9ee7d6
[ "MIT" ]
null
null
null
stocks_correlation/providers/pandas.py
claisne/stocks_correlation
a411e74312a5be381d02c48061cfae5d0c9ee7d6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ stocks_correlation.providers.quandl This module define the normalized columns of the DataFrame the providers return """ DATAFRAME_COLUMNS = ['date', 'open', 'high', 'low', 'close'] CORREL_COMPUTE_COLUMNS = DATAFRAME_COLUMNS[1:] def filter_dates(df, start_date, end_date): """Filters ...
25.777778
68
0.700431
64
464
4.890625
0.59375
0.086262
0.070288
0
0
0
0
0
0
0
0
0.005089
0.153017
464
17
69
27.294118
0.791349
0.463362
0
0
0
0
0.12069
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
68126591c1173727b21e37cbfea66e8e3dc891b2
6,740
py
Python
suggestion_to_jira.py
CU-0xff/DeepCode-Toolshed
78f663f2c784df973ed9e6190e80f976f6323a74
[ "MIT" ]
null
null
null
suggestion_to_jira.py
CU-0xff/DeepCode-Toolshed
78f663f2c784df973ed9e6190e80f976f6323a74
[ "MIT" ]
null
null
null
suggestion_to_jira.py
CU-0xff/DeepCode-Toolshed
78f663f2c784df973ed9e6190e80f976f6323a74
[ "MIT" ]
null
null
null
# DeepCode Toolshed - suggestion_to_jira # Author - @cu-0xff # Sample application using DeepCode CLI to generate suggestions, picking top severe suggestion and generate JIRA ticket # Library GitPython from here https://gitpython.readthedocs.io/en/stable/tutorial.html#meet-the-repo-type # Library JIRA from here https:/...
32.718447
229
0.666024
886
6,740
4.943567
0.27088
0.010959
0.01484
0.018493
0.134475
0.07032
0.07032
0.07032
0.045662
0.045662
0
0.012237
0.187685
6,740
206
230
32.718447
0.787763
0.124629
0
0.178295
1
0.007752
0.169538
0.015029
0
0
0
0
0
1
0.093023
false
0
0.069767
0
0.24031
0.023256
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
a83cff4e1c7a60b73803a3ad8d1b3163b949d8de
10,017
py
Python
pxr/usdQt/testenv/testUsdQtOpinionProxy.py
goodbyekansas/usd-qt
06995154ccb3aaa7e1c6a8a6de2d7c9b9a09a44b
[ "Apache-2.0" ]
124
2017-07-31T02:30:36.000Z
2022-03-23T05:08:02.000Z
pxr/usdQt/testenv/testUsdQtOpinionProxy.py
BigRoy/usd-qt
511032c6abafe849763f66dd23b7ffd99d8ecee2
[ "Apache-2.0" ]
36
2017-08-15T22:18:09.000Z
2022-01-21T01:15:09.000Z
pxr/usdQt/testenv/testUsdQtOpinionProxy.py
BigRoy/usd-qt
511032c6abafe849763f66dd23b7ffd99d8ecee2
[ "Apache-2.0" ]
36
2017-07-31T12:03:13.000Z
2021-12-10T11:42:23.000Z
#!/pxrpythonsubst # # Copyright 2016 Pixar # # Licensed under the Apache License, Version 2.0 (the "Apache License") # with the following modification; you may not use this file except in # compliance with the Apache License and the following modification to it: # Section 6. Trademarks. is deleted and replaced with: # ...
42.088235
80
0.678946
935
10,017
7.235294
0.248128
0.064302
0.061789
0.075831
0.477458
0.313821
0.219069
0.199261
0.149741
0.13082
0
0.018157
0.191774
10,017
237
81
42.265823
0.817441
0.120595
0
0.211538
0
0
0.098484
0
0
0
0
0
0.435897
1
0.057692
false
0
0.032051
0
0.128205
0.00641
0
0
0
null
0
0
0
0
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
a8456a90fcc48d3fc563a18936437bee71fbb801
3,676
py
Python
doc/conf.py
decafjoe/clik-wtforms
38708ee6ce1c8b426648e83371a7a0ce24982b3d
[ "BSD-3-Clause" ]
null
null
null
doc/conf.py
decafjoe/clik-wtforms
38708ee6ce1c8b426648e83371a7a0ce24982b3d
[ "BSD-3-Clause" ]
null
null
null
doc/conf.py
decafjoe/clik-wtforms
38708ee6ce1c8b426648e83371a7a0ce24982b3d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Sphinx configuration file for clik-wtforms. :author: Joe Joyce <joe@decafjoe.com> :copyright: Copyright (c) Joe Joyce and contributors, 2017-2019. :license: BSD """ import os import sys root_path = os.path.dirname(os.path.abspath(os.path.dirname(__file__))) src_path = os.path.join(root_pa...
27.029412
79
0.362622
260
3,676
4.957692
0.461538
0.041893
0.025601
0.05353
0.079131
0.034135
0
0
0
0
0
0.011724
0.141458
3,676
135
80
27.22963
0.396705
0.517954
0
0.194444
0
0
0.223374
0.012666
0
0
0
0.007407
0
1
0
false
0
0.027778
0
0.027778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a8480eeaa6c397f8882c9642b024760d8402233d
771
py
Python
python/closures-and-decorators/standardize-mobile-number-using-decorators.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
41
2018-05-11T07:54:34.000Z
2022-03-29T19:02:32.000Z
python/closures-and-decorators/standardize-mobile-number-using-decorators.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
2
2021-09-13T10:03:26.000Z
2021-10-04T10:21:05.000Z
python/closures-and-decorators/standardize-mobile-number-using-decorators.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
21
2019-01-23T19:06:59.000Z
2021-12-23T16:03:47.000Z
""" Standardize Mobile Number Using Decorators https://www.hackerrank.com/challenges/standardize-mobile-number-using-decorators/problem """ def wrapper(f): def fun(l): # complete the function for i, n in enumerate(l): if len(n) == 10: n= "+91" + n elif len(n) == 11 and n.st...
26.586207
88
0.518807
111
771
3.504505
0.468468
0.041131
0.061697
0.143959
0.195373
0
0
0
0
0
0
0.042672
0.300908
771
28
89
27.535714
0.679035
0.201038
0
0
0
0
0.041118
0
0
0
0
0
0
1
0.166667
false
0.055556
0
0
0.277778
0.055556
0
0
0
null
0
0
0
0
0
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
a84b0d4226a81868f3a714f0a132ac92a2929208
517
py
Python
omnipark/parking/migrations/0004_booking_valid_status.py
ryanpineo/omnipark-back
2b8fa6a4e576a6c187c3ad1ce42a95d7accbe29f
[ "Apache-2.0" ]
null
null
null
omnipark/parking/migrations/0004_booking_valid_status.py
ryanpineo/omnipark-back
2b8fa6a4e576a6c187c3ad1ce42a95d7accbe29f
[ "Apache-2.0" ]
null
null
null
omnipark/parking/migrations/0004_booking_valid_status.py
ryanpineo/omnipark-back
2b8fa6a4e576a6c187c3ad1ce42a95d7accbe29f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-10-22 10:58 from __future__ import unicode_literals from django.db import migrations import django_fsm class Migration(migrations.Migration): dependencies = [ ('parking', '0003_spot_type'), ] operations = [ migrations.AddField...
22.478261
74
0.626692
59
517
5.254237
0.762712
0.058065
0
0
0
0
0
0
0
0
0
0.060209
0.261122
517
22
75
23.5
0.751309
0.131528
0
0
1
0
0.109865
0
0
0
0
0
0
1
0
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a84d2388d458f04b68a70f5f7eefad50562322f4
168
py
Python
jp.atcoder/abc138/abc138_a/11410069.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc138/abc138_a/11410069.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc138/abc138_a/11410069.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
import sys a, s = sys.stdin.read().split() a = int(a) def main(): ans = 'red' if a < 3200 else s print(ans) if __name__ == '__main__': main()
14
35
0.52381
26
168
3.076923
0.653846
0
0
0
0
0
0
0
0
0
0
0.034483
0.309524
168
11
36
15.272727
0.655172
0
0
0
0
0
0.06962
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0.125
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
a84de3fc41b9d4248694aeb0ee25ba4e30c93170
4,158
py
Python
mainJuego.py
CriSarC/Reto_Tecnico
be07e92b142a751364079ee46d604f96110e0786
[ "MIT" ]
null
null
null
mainJuego.py
CriSarC/Reto_Tecnico
be07e92b142a751364079ee46d604f96110e0786
[ "MIT" ]
7
2021-09-11T20:33:44.000Z
2021-09-11T23:27:21.000Z
mainJuego.py
CriSarC/Reto_Tecnico
be07e92b142a751364079ee46d604f96110e0786
[ "MIT" ]
null
null
null
# This file was generated by the Tkinter Designer by Parth Jadhav # https://github.com/ParthJadhav/Tkinter-Designer from pathlib import Path # from tkinter import * # Explicit imports to satisfy Flake8 from tkinter import Tk, Canvas, Entry, Text, Button, PhotoImage OUTPUT_PATH = Path(__file__).parent ASSETS_PATH ...
18.317181
92
0.650072
584
4,158
4.458904
0.273973
0.063364
0.0553
0.073733
0.389785
0.308756
0.240015
0.135561
0
0
0
0.14904
0.210919
4,158
226
93
18.39823
0.643706
0.040404
0
0.338462
1
0
0.112199
0
0
0
0
0
0
1
0.005128
false
0
0.010256
0.005128
0.020513
0.025641
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
a855618f17f5611132b5a410de62dbab89b03bbb
2,452
py
Python
bqskit/passes/control/dowhileloop.py
jkalloor3/bqskit
ad34a6eae3c0e62d2bd960cd4cd841ba8e845811
[ "BSD-3-Clause-LBNL" ]
13
2021-05-26T21:32:26.000Z
2022-03-15T17:48:10.000Z
bqskit/passes/control/dowhileloop.py
jkalloor3/bqskit
ad34a6eae3c0e62d2bd960cd4cd841ba8e845811
[ "BSD-3-Clause-LBNL" ]
20
2021-05-26T20:17:15.000Z
2022-02-27T20:04:10.000Z
bqskit/passes/control/dowhileloop.py
jkalloor3/bqskit
ad34a6eae3c0e62d2bd960cd4cd841ba8e845811
[ "BSD-3-Clause-LBNL" ]
2
2021-10-05T16:00:47.000Z
2021-10-08T01:30:06.000Z
"""This module implements the DoWhileLoopPass class.""" from __future__ import annotations import logging from typing import Any from typing import Sequence from bqskit.compiler.basepass import BasePass from bqskit.ir.circuit import Circuit from bqskit.passes.control.predicate import PassPredicate from bqskit.utils.t...
32.693333
80
0.620718
285
2,452
5.196491
0.322807
0.09183
0.032411
0.036462
0.257934
0.21472
0.21472
0.182309
0.182309
0.182309
0
0.000577
0.293638
2,452
74
81
33.135135
0.854503
0.215334
0
0.243902
0
0
0.104453
0
0
0
0
0
0
1
0.04878
false
0.390244
0.195122
0
0.268293
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
a857373486f3edc6072b71b97c087c3a9b03cdf9
779
py
Python
app/__init__.py
ch0ppy35/pyTed
b8c8e47582390aea087d37f6ae82e97af963e59c
[ "MIT" ]
null
null
null
app/__init__.py
ch0ppy35/pyTed
b8c8e47582390aea087d37f6ae82e97af963e59c
[ "MIT" ]
44
2020-01-14T21:17:48.000Z
2021-09-15T04:51:32.000Z
app/__init__.py
ch0ppy35/pyTed
b8c8e47582390aea087d37f6ae82e97af963e59c
[ "MIT" ]
3
2020-01-14T21:06:22.000Z
2020-01-27T21:13:19.000Z
from flask import Flask import logging import os from logging.handlers import RotatingFileHandler, SMTPHandler from config import Config app = Flask(__name__) app.config.from_object(Config) if not os.path.exists('logs'): os.mkdir('logs') # Normal logging setup file_handler = RotatingFileHandler('logs/pyted.log',...
26.862069
115
0.784339
108
779
5.574074
0.509259
0.07309
0.063123
0
0
0
0
0
0
0
0
0.009986
0.100128
779
28
116
27.821429
0.848787
0.025674
0
0
0
0.05
0.149273
0.031704
0
0
0
0
0
1
0
false
0
0.45
0
0.45
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
a859aad3b0a2e3def49ba36efc4c89733c4afa1c
2,395
py
Python
preprocess.py
Luckygyana/audiojnd
76c6b09e72a56184cef28904cfe7e77d086250b7
[ "Apache-2.0" ]
null
null
null
preprocess.py
Luckygyana/audiojnd
76c6b09e72a56184cef28904cfe7e77d086250b7
[ "Apache-2.0" ]
null
null
null
preprocess.py
Luckygyana/audiojnd
76c6b09e72a56184cef28904cfe7e77d086250b7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """ Preprocess the FSD50K corpus. For each file: * Resample to mono, target SR * For each audio length, randomly pad or trim * Skip any audio that is almost all silence """ import glob import json import os.path import random # We don't seed, we just want something different every time import...
29.207317
79
0.613779
354
2,395
4.073446
0.412429
0.038835
0.072816
0.055479
0.15534
0.079057
0
0
0
0
0
0.013068
0.265136
2,395
81
80
29.567901
0.80625
0.182881
0
0.105263
0
0
0.116315
0.032424
0
0
0
0.012346
0.017544
1
0.017544
false
0
0.157895
0
0.192982
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
1
0
0
0
0
0
0
0
0
0
0
1
a85bfbfb1978d56e8d38b00a58a204061ae0766d
918
py
Python
accelerator_abstract/models/base_program_role_grant.py
masschallenge/django-accelerator
8af898b574be3b8335edc8961924d1c6fa8b5fd5
[ "MIT" ]
6
2017-06-14T19:34:01.000Z
2020-03-08T07:16:59.000Z
accelerator_abstract/models/base_program_role_grant.py
masschallenge/django-accelerator
8af898b574be3b8335edc8961924d1c6fa8b5fd5
[ "MIT" ]
160
2017-06-20T17:12:13.000Z
2022-03-30T13:53:12.000Z
accelerator_abstract/models/base_program_role_grant.py
masschallenge/django-accelerator
8af898b574be3b8335edc8961924d1c6fa8b5fd5
[ "MIT" ]
null
null
null
# MIT License # Copyright (c) 2017 MassChallenge, Inc. from __future__ import unicode_literals import swapper from django.conf import settings from django.db import models from accelerator_abstract.models.accelerator_model import AcceleratorModel class BaseProgramRoleGrant(AcceleratorModel): person = models.Fo...
31.655172
79
0.716776
102
918
6.186275
0.529412
0.087163
0.044374
0.066561
0
0
0
0
0
0
0
0.005487
0.205882
918
28
80
32.785714
0.860082
0.054466
0
0.105263
0
0
0.124855
0.03237
0
0
0
0
0
1
0.052632
false
0
0.263158
0.052632
0.578947
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
a85caa919d55dabd99d90686d3c5cc30e9a747f7
2,851
py
Python
util/find_train_error.py
cenkbircanoglu/openface
2d54ca065b6ff6ba816299d25f296bc1d13ad761
[ "Apache-2.0" ]
1
2019-03-28T07:28:35.000Z
2019-03-28T07:28:35.000Z
util/find_train_error.py
cenkbircanoglu/openface
2d54ca065b6ff6ba816299d25f296bc1d13ad761
[ "Apache-2.0" ]
null
null
null
util/find_train_error.py
cenkbircanoglu/openface
2d54ca065b6ff6ba816299d25f296bc1d13ad761
[ "Apache-2.0" ]
1
2019-12-11T05:30:33.000Z
2019-12-11T05:30:33.000Z
# -*- coding: utf-8 -*- """ Created by Cenk Bircanoğlu on 17/10/2016 """ import argparse import os import re import pandas as pd from util.create_tsne import create_tsne from util.create_bar_chart import create_barchart __author__ = 'cenk' databases = {} import numpy as np import matplotlib.pyplot as plt check_lis...
34.768293
116
0.512101
311
2,851
4.572347
0.463023
0.018987
0.031646
0.019691
0.052039
0.052039
0.052039
0.052039
0
0
0
0.018038
0.377762
2,851
81
117
35.197531
0.78354
0.007366
0
0
0
0
0.067626
0
0
0
0
0
0
0
null
null
0
0.126984
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a860ad21002bf6e0f15b0918f9db199b49515fb6
1,542
py
Python
tests/test_create_objects.py
fariias/fake_rabbit
7b5b536211596df368a82b171db41b18df2f9b5b
[ "MIT" ]
2
2020-03-19T14:20:59.000Z
2021-06-01T20:56:22.000Z
tests/test_create_objects.py
fariias/fake_rabbit
7b5b536211596df368a82b171db41b18df2f9b5b
[ "MIT" ]
null
null
null
tests/test_create_objects.py
fariias/fake_rabbit
7b5b536211596df368a82b171db41b18df2f9b5b
[ "MIT" ]
null
null
null
from tests.basetest import BaseTest from tests.modeltest import User class TestCreateObjects(BaseTest): def test_create_user(self): """ Test create a simple object""" # Creating a new user using Fake Rabbit self.user = self.fake_rabbit.make(User) users_in_db = self.session.query...
27.535714
96
0.690661
204
1,542
5.009804
0.240196
0.097847
0.052838
0.088063
0.540117
0.486301
0.486301
0.228963
0.18591
0.18591
0
0.00491
0.207523
1,542
55
97
28.036364
0.831424
0.156939
0
0.26087
0
0
0.007893
0
0
0
0
0
0.26087
1
0.217391
false
0
0.086957
0
0.347826
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
a8643294660c1aed3a6289d191266353de84f17c
412
py
Python
bank_account_app/bank_account/migrations/0007_transaction_status.py
Gogee90/Bank-account
ee5e7996f9f0d1ec95dca2eabf508ef17c18a124
[ "MIT" ]
null
null
null
bank_account_app/bank_account/migrations/0007_transaction_status.py
Gogee90/Bank-account
ee5e7996f9f0d1ec95dca2eabf508ef17c18a124
[ "MIT" ]
null
null
null
bank_account_app/bank_account/migrations/0007_transaction_status.py
Gogee90/Bank-account
ee5e7996f9f0d1ec95dca2eabf508ef17c18a124
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-22 15:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bank_account', '0006_transaction_recipient_bank_account'), ] operations = [ migrations.AddField( model_name='transaction', ...
21.684211
68
0.623786
43
412
5.837209
0.790698
0.087649
0
0
0
0
0
0
0
0
0
0.063123
0.269417
412
18
69
22.888889
0.770764
0.109223
0
0
1
0
0.186301
0.106849
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
a8769010a960c5a7fe00da4404dcfb798c556258
725
py
Python
cctbx_progs/calc_DF_over_F.py
7l2icj/kamo_clone
5f4a5eed3cd9d91a021d805e46125c19cc2ed1b6
[ "BSD-3-Clause" ]
16
2016-05-20T11:19:40.000Z
2021-01-01T19:44:23.000Z
cctbx_progs/calc_DF_over_F.py
7l2icj/kamo_clone
5f4a5eed3cd9d91a021d805e46125c19cc2ed1b6
[ "BSD-3-Clause" ]
4
2017-03-10T00:51:11.000Z
2021-02-07T17:18:46.000Z
cctbx_progs/calc_DF_over_F.py
7l2icj/kamo_clone
5f4a5eed3cd9d91a021d805e46125c19cc2ed1b6
[ "BSD-3-Clause" ]
9
2016-12-15T16:00:06.000Z
2021-09-10T08:34:14.000Z
import iotbx.file_reader from cctbx.array_family import flex def run(hklin): arrays = iotbx.file_reader.any_file(hklin).file_server.miller_arrays for arr in arrays: if not arr.anomalous_flag(): continue print arr.info() if arr.is_complex_array(): arr = arr.as_am...
29
87
0.602759
99
725
4.181818
0.505051
0.077295
0.072464
0.067633
0.154589
0.154589
0.154589
0.154589
0.154589
0
0
0.001859
0.257931
725
24
88
30.208333
0.767658
0.012414
0
0
0
0
0.05042
0
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.210526
0
0
0
null
0
0
0
0
0
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
a87e633e9846c795927091b30611984be47a8013
4,389
py
Python
rules.py
nik48rus/Kubikon
879ce231a6eff8a01ef2890bd3d6b5d0cca6906f
[ "Apache-2.0" ]
null
null
null
rules.py
nik48rus/Kubikon
879ce231a6eff8a01ef2890bd3d6b5d0cca6906f
[ "Apache-2.0" ]
null
null
null
rules.py
nik48rus/Kubikon
879ce231a6eff8a01ef2890bd3d6b5d0cca6906f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'rules.ui' ## ## Created by: Qt User Interface Compiler version 5.14.2 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ####################...
79.8
671
0.680793
572
4,389
5.222028
0.335664
0.045196
0.030131
0.048209
0.366254
0.342484
0.342484
0.342484
0.319049
0.319049
0
0.130135
0.107086
4,389
54
672
81.277778
0.632049
0.105947
0
0
1
0.0625
0.221095
0.077704
0
0
0
0
0
1
0.0625
false
0
0.09375
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a884d5fef4375f7acb5899fb2b074b586d3387a8
4,446
py
Python
src/std/coppertop/std/testing.py
DangerMouseB/coppertop
26e9b01034b29fa8ec0e41bf1fa2b81c7c7bb34d
[ "BSD-3-Clause" ]
null
null
null
src/std/coppertop/std/testing.py
DangerMouseB/coppertop
26e9b01034b29fa8ec0e41bf1fa2b81c7c7bb34d
[ "BSD-3-Clause" ]
null
null
null
src/std/coppertop/std/testing.py
DangerMouseB/coppertop
26e9b01034b29fa8ec0e41bf1fa2b81c7c7bb34d
[ "BSD-3-Clause" ]
null
null
null
# ******************************************************************************* # # Copyright (c) 2020-2021 David Briant. All rights reserved. # # ******************************************************************************* import sys if hasattr(sys, '_TRACE_IMPORTS') and sys._TRACE_IMPORTS: print(__name__) ...
34.734375
130
0.60099
541
4,446
4.89464
0.2939
0.079305
0.103097
0.108761
0.328927
0.281722
0.181269
0.181269
0.166163
0.107251
0
0.017812
0.191858
4,446
127
131
35.007874
0.719176
0.31489
0
0.236842
0
0
0.067308
0
0
0
0
0
0.078947
1
0.157895
false
0
0.118421
0.118421
0.447368
0.013158
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
a8872e1ada7e0a4a2e0b364143707b2c5307fb42
1,070
py
Python
script.py
indiadekho/UNLIMITED-FILTER-BOT
3ce22c586aafcd1140f1e6561b788c5c0d6c6fd7
[ "MIT" ]
1
2021-07-02T13:56:33.000Z
2021-07-02T13:56:33.000Z
script.py
indiadekho/UNLIMITED-FILTER-BOT
3ce22c586aafcd1140f1e6561b788c5c0d6c6fd7
[ "MIT" ]
null
null
null
script.py
indiadekho/UNLIMITED-FILTER-BOT
3ce22c586aafcd1140f1e6561b788c5c0d6c6fd7
[ "MIT" ]
null
null
null
class Script(object): START_MSG = """<b>Hy {}, I'm an advanced filter bot with many capabilities! There is no practical limits for my filtering capacity :) See <i>/help</i> for commands and more details.</b> """ HELP_MSG = """ <b><i>Add me as admin in your group and start filtering :)</i></b> <b>Filter C...
19.814815
75
0.627103
178
1,070
3.814607
0.52809
0.017673
0.029455
0
0
0
0
0
0
0
0
0.004598
0.186916
1,070
53
76
20.188679
0.76092
0
0
0.111111
0
0.037037
0.911215
0
0
0
0
0
0
1
0
false
0
0
0
0.148148
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
a888cbea62c283813d962fc50cca420dfc865877
1,650
py
Python
autofit/non_linear/mcmc/abstract_mcmc.py
caoxiaoyue/PyAutoFit
819cd2acc8d4069497a161c3bb6048128e44d828
[ "MIT" ]
null
null
null
autofit/non_linear/mcmc/abstract_mcmc.py
caoxiaoyue/PyAutoFit
819cd2acc8d4069497a161c3bb6048128e44d828
[ "MIT" ]
null
null
null
autofit/non_linear/mcmc/abstract_mcmc.py
caoxiaoyue/PyAutoFit
819cd2acc8d4069497a161c3bb6048128e44d828
[ "MIT" ]
null
null
null
from typing import Optional from autoconf import conf from autofit.database.sqlalchemy_ import sa from autofit.non_linear.abstract_search import NonLinearSearch from autofit.non_linear.abstract_search import PriorPasser from autofit.non_linear.initializer import Initializer from autofit.non_linear.mcmc.auto_cor...
35.869565
82
0.651515
165
1,650
6.157576
0.321212
0.094488
0.055118
0.07874
0.07874
0.07874
0.07874
0
0
0
0
0
0.27697
1,650
45
83
36.666667
0.851635
0
0
0.051282
0
0
0.019315
0
0
0
0
0
0
1
0.051282
false
0.076923
0.179487
0.025641
0.282051
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
a88b2c650e184b8d2eb38ccbac8e349f53fcfd1f
230
py
Python
16.POST/01.Start/main.py
sarincr/Introduction-to-Flask-Web-framework
69a703b3533b6b12f07712a5473b31176c25c9c7
[ "MIT" ]
null
null
null
16.POST/01.Start/main.py
sarincr/Introduction-to-Flask-Web-framework
69a703b3533b6b12f07712a5473b31176c25c9c7
[ "MIT" ]
null
null
null
16.POST/01.Start/main.py
sarincr/Introduction-to-Flask-Web-framework
69a703b3533b6b12f07712a5473b31176c25c9c7
[ "MIT" ]
null
null
null
from flask import * app = Flask(__name__) X = ['Hello', 1, 4.63, True, "World", 2.0, "False"] @app.route('/') def message(): return render_template('index.html',len = len(X), X=X) if __name__ == '__main__': app.run()
16.428571
58
0.6
35
230
3.571429
0.771429
0.032
0
0
0
0
0
0
0
0
0
0.031915
0.182609
230
13
59
17.692308
0.632979
0
0
0
0
0
0.147826
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
a88b9bee9c1a60df817588a3a6b159025cd5ff77
3,140
py
Python
main_pro_window.py
Great-special/Trade_Copier
8ad2e7f3a272221a3bac743604c5ebf20a5a10b7
[ "MIT" ]
null
null
null
main_pro_window.py
Great-special/Trade_Copier
8ad2e7f3a272221a3bac743604c5ebf20a5a10b7
[ "MIT" ]
null
null
null
main_pro_window.py
Great-special/Trade_Copier
8ad2e7f3a272221a3bac743604c5ebf20a5a10b7
[ "MIT" ]
null
null
null
import tkinter as tk from Slave_copier import * from tkinter import ttk # Creating the Copier User InterFace program _window = tk.Tk() _window.title('Trade Copier beta - Client') _window.minsize(450,600) _window.maxsize(450,600) upper_frame = tk.Frame(_window, height=200, bg='red') upper_frame.pack(fill=...
44.225352
149
0.730255
517
3,140
4.303675
0.210832
0.047191
0.03236
0.031461
0.414831
0.30382
0.152809
0.08809
0.08809
0.08809
0
0.053443
0.112102
3,140
70
150
44.857143
0.74462
0.109236
0
0
0
0
0.07106
0
0
0
0
0
0
1
0.021277
false
0.106383
0.06383
0
0.085106
0.021277
0
0
0
null
0
0
0
0
0
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
a88bbf96fcf337bea5ac4241ef89c3b28cad26f2
3,580
py
Python
ballflight/utility.py
diamondkinetics/BallFlight
711251b212b991196a3c273268de6ab704bbcaa4
[ "MIT" ]
3
2018-08-27T20:11:09.000Z
2021-02-19T00:05:25.000Z
ballflight/utility.py
diamondkinetics/BallFlight
711251b212b991196a3c273268de6ab704bbcaa4
[ "MIT" ]
null
null
null
ballflight/utility.py
diamondkinetics/BallFlight
711251b212b991196a3c273268de6ab704bbcaa4
[ "MIT" ]
1
2018-08-27T20:11:34.000Z
2018-08-27T20:11:34.000Z
# encoding: utf-8 or plist. """ ballflight-- simulate ball flight with varying initial conditions for testing purposes """ import matplotlib from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter import numpy as np matplotlib.use("TkAgg") from mpl_toolkits.mplot3d import Axes3D imp...
32.844037
134
0.649441
497
3,580
4.470825
0.346076
0.052655
0.025203
0.024302
0.148515
0.105311
0.090009
0.090009
0.056706
0.056706
0
0.02223
0.22095
3,580
108
135
33.148148
0.774471
0.048045
0
0
0
0
0.052616
0
0.014085
0
0
0
0
0
null
null
0
0.126761
null
null
0.014085
0
0
0
null
0
0
0
0
0
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
a88f66b64abf7c1cc7ff4e181dbe0021acfd2db0
1,010
py
Python
src/aoc_day02.py
samuelrothen/advent_of_code_2020
22cfc62314d0d19fe91cd1e606064a8828ef0bc7
[ "MIT" ]
1
2021-01-24T21:17:22.000Z
2021-01-24T21:17:22.000Z
src/aoc_day02.py
samuelrothen/advent_of_code_2020
22cfc62314d0d19fe91cd1e606064a8828ef0bc7
[ "MIT" ]
null
null
null
src/aoc_day02.py
samuelrothen/advent_of_code_2020
22cfc62314d0d19fe91cd1e606064a8828ef0bc7
[ "MIT" ]
null
null
null
# Advent of Code Day 2 import pandas as pd import re def check_pw_part1(text): pattern = '(\d+)-(\d+) ([a-z]): ([a-z]+)' c_min, c_max, c_search, password = re.findall(pattern, text)[0] c_min, c_max = int(c_min), int(c_max) c_count = password.count(c_search) if c_count >= c_min and c_count <= c_ma...
28.055556
72
0.614851
177
1,010
3.265537
0.299435
0.060554
0.062284
0.055363
0.377163
0.290657
0.290657
0.186851
0.128028
0
0
0.0306
0.191089
1,010
35
73
28.857143
0.676867
0.019802
0
0.32
0
0
0.218623
0.087045
0
0
0
0
0
1
0.08
false
0.2
0.08
0
0.32
0.08
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a893922d04d6c5ecd8a7d18b29b8809479da609d
29,291
py
Python
key_extract_new.py
htetmyet/keyword-extraction
e9b34bd035cdc4576eb9c7b1101a1a9dfb2a003b
[ "MIT" ]
4
2016-12-25T14:49:31.000Z
2020-03-25T04:31:40.000Z
key_extract_new.py
htetmyet/keyword-extraction
e9b34bd035cdc4576eb9c7b1101a1a9dfb2a003b
[ "MIT" ]
1
2018-12-19T02:51:21.000Z
2018-12-19T02:51:21.000Z
key_extract_new.py
htetmyet/keyword-extraction
e9b34bd035cdc4576eb9c7b1101a1a9dfb2a003b
[ "MIT" ]
null
null
null
__author__ = "Htet Myet Lynn" from refo import finditer, Predicate, Plus from collections import Counter from StringIO import StringIO from get_summary import summary ##from nltk.corpus import stopwords import math import nltk import re import copy import glob import numpy as np import time start_time ...
35.939877
182
0.546994
3,970
29,291
3.704282
0.078338
0.022848
0.009792
0.00816
0.574595
0.510472
0.464436
0.414457
0.380457
0.373181
0
0.015023
0.281861
29,291
814
183
35.984029
0.684098
0.114267
0
0.425688
0
0
0.032735
0.000938
0
0
0
0
0
0
null
null
0.00367
0.020183
null
null
0.036697
0
0
0
null
0
0
0
0
0
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
a89578ef4fae4de5ab6b4d642bcf3313140c1089
3,068
py
Python
www/bigghosthead/bigghosthead/play.py
baijiege9/BigGhostHead
1ffa0bf390bad707e4fc902f9af98a4c73eea554
[ "BSD-3-Clause" ]
null
null
null
www/bigghosthead/bigghosthead/play.py
baijiege9/BigGhostHead
1ffa0bf390bad707e4fc902f9af98a4c73eea554
[ "BSD-3-Clause" ]
null
null
null
www/bigghosthead/bigghosthead/play.py
baijiege9/BigGhostHead
1ffa0bf390bad707e4fc902f9af98a4c73eea554
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: UTF-8 -*- from Tkinter import * import ConfigClass import sys import os config = ConfigClass.Config() class WidgetsSimple: def __init__(self): window = Tk() window.title("大鬼头爬虫GUI") frame1 = Frame(window) frame2 = Frame(window) frame3 = Fra...
38.35
118
0.591917
368
3,068
4.834239
0.26087
0.062957
0.022485
0.039348
0.246206
0.083193
0
0
0
0
0
0.033591
0.281943
3,068
79
119
38.835443
0.773945
0.015971
0
0.028986
0
0
0.048425
0
0
0
0
0
0
0
null
null
0.028986
0.057971
null
null
0.014493
0
0
0
null
0
0
0
0
0
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
a89612e1934ac7d6e009d3d5905f04995ca165d8
1,247
py
Python
pylel/evaluate/evaluate_expr/language_core/lel_call.py
osaatcioglu/pylel
f994e58bc886cd4b3d9a903db917fbaf084e5992
[ "MIT" ]
1
2018-11-29T09:19:36.000Z
2018-11-29T09:19:36.000Z
pylel/evaluate/evaluate_expr/language_core/lel_call.py
osaatcioglu/pylel
f994e58bc886cd4b3d9a903db917fbaf084e5992
[ "MIT" ]
null
null
null
pylel/evaluate/evaluate_expr/language_core/lel_call.py
osaatcioglu/pylel
f994e58bc886cd4b3d9a903db917fbaf084e5992
[ "MIT" ]
null
null
null
from pylel.token import Symbols from .lel_call_function import lel_call_function def _perform_function_call(evaluate_expr, scope, expr, function_descriptor): def func(args): return lel_call_function(evaluate_expr, scope, args, function_descriptor) return func def _get_function_args(evaluate_expr, scope, expr): d...
40.225806
93
0.757819
179
1,247
5.01676
0.27933
0.120267
0.170379
0.163697
0.315145
0.287305
0.287305
0.207127
0.207127
0.142539
0
0.008341
0.134723
1,247
30
94
41.566667
0.823911
0
0
0.148148
0
0
0.085004
0
0
0
0
0
0
1
0.185185
false
0
0.074074
0.037037
0.481481
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
a899cf9f5497555af0dce6d7ebdce64246d9cd41
805
py
Python
s5/parse.py
lisiynos/lisiynos.github.io
5900ee6ab0055a8047dd2b54b8667d05f3a145c2
[ "MIT" ]
1
2019-03-02T17:20:25.000Z
2019-03-02T17:20:25.000Z
s5/parse.py
lisiynos/lisiynos.github.io
5900ee6ab0055a8047dd2b54b8667d05f3a145c2
[ "MIT" ]
null
null
null
s5/parse.py
lisiynos/lisiynos.github.io
5900ee6ab0055a8047dd2b54b8667d05f3a145c2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import sys sys.path.append('../common') from gen import go, GenerateIndex, Theme # Все темы в порядке их следования в курсе for fn in [ Theme('Динамическое программирование', 'Понедельник - 7'), ("Info6.1.0.htm", 3, 4, 0, 4), Theme('Деревья', 'Вторник - 6'), ("segments_tree.h...
25.967742
62
0.593789
112
805
4.25
0.571429
0.021008
0.138655
0.029412
0
0
0
0
0
0
0
0.062403
0.203727
805
31
63
25.967742
0.680187
0.077019
0
0
1
0
0.466937
0.031039
0
0
0
0
0
1
0
false
0
0.1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a8ab1723cc5e79876b55b018be13e1540539ef8c
1,560
py
Python
Python Programs/search-string-s2-in-s1-character-matrix.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
2
2021-06-26T21:50:59.000Z
2021-09-18T04:55:51.000Z
Python Programs/search-string-s2-in-s1-character-matrix.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Python Programs/search-string-s2-in-s1-character-matrix.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Search String S2 in S1 Character Matrix Search String S2 in S1 Character Matrix: Given two strings S1 and S2, form a R*C matrix with the string S1 (You may repeat the string S1 to fill in the rest of the matrix, if length of S1 is less than R*C). Then search for the string S2 along rows from left to right or along col...
30
345
0.667308
299
1,560
3.48495
0.35786
0.009597
0.017274
0.03071
0.180422
0.111324
0.06334
0
0
0
0
0.051046
0.233974
1,560
51
346
30.588235
0.820084
0
0
0.117647
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.039216
0
0
0
null
0
0
0
0
0
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
a8aca3d34cd2643133c7c80837667d16dc6e5637
44,578
py
Python
Betsy/Betsy/rule_engine.py
jefftc/changlab
11da8c415afefcba0b0216238387c75aeb3a56ac
[ "MIT" ]
9
2017-01-13T02:38:41.000Z
2021-04-08T00:44:39.000Z
Betsy/Betsy/rule_engine.py
jefftc/changlab
11da8c415afefcba0b0216238387c75aeb3a56ac
[ "MIT" ]
null
null
null
Betsy/Betsy/rule_engine.py
jefftc/changlab
11da8c415afefcba0b0216238387c75aeb3a56ac
[ "MIT" ]
4
2017-01-05T16:25:25.000Z
2019-12-12T20:07:38.000Z
""" Functions: run_pipeline run_module """ # _make_file_refresher # # _get_available_input_combinations # _hash_module # _make_hash_units # _is_module_output_complete # _format_pipeline # _get_node_name # # _write_parameter_file # _read_parameter_file VERSION = 7 FINISHED_FILE = "finished.txt" LAST_ACCESSED_FILE ...
37.303766
79
0.605882
5,868
44,578
4.415985
0.112815
0.012272
0.007409
0.004592
0.29491
0.216725
0.177208
0.148458
0.124262
0.107051
0
0.00639
0.315425
44,578
1,194
80
37.335008
0.842743
0.29445
0
0.32377
0
0
0.050225
0
0
0
0
0.000838
0.04235
0
null
null
0.006831
0.060109
null
null
0.046448
0
0
0
null
0
0
0
0
0
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
a8b0dd31b1b51512086fbb0a601e4d3595a6c13c
657
py
Python
scripts/sorina_to_rachel.py
rffrancon/pandora
5786548a1a1111a4990f0b8a6ec3335e4d1a5319
[ "MIT" ]
77
2018-07-06T00:13:58.000Z
2021-11-19T03:58:20.000Z
scripts/sorina_to_rachel.py
rffrancon/pandora
5786548a1a1111a4990f0b8a6ec3335e4d1a5319
[ "MIT" ]
215
2018-07-09T16:41:55.000Z
2022-03-29T22:44:36.000Z
scripts/sorina_to_rachel.py
mbhall88/pandora
16de553795267a55af223748b24510a904ca5ef9
[ "MIT" ]
16
2018-07-06T13:09:48.000Z
2022-01-05T15:01:09.000Z
import sys from Bio import SeqIO input_file = sys.argv[1] output_file = "".join(input_file.split(".")[:-1]) + ".rachel.fa" print input_file print output_file fasta_sequences = SeqIO.parse(open(input_file,'r'),'fasta') with open(output_file, 'w') as out_file: for fasta in fasta_sequences: name, description...
27.375
81
0.652968
94
657
4.404255
0.457447
0.086957
0.067633
0
0
0
0
0
0
0
0
0.003752
0.188737
657
23
82
28.565217
0.772983
0
0
0.095238
0
0
0.050228
0
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.095238
0
0
0
null
0
0
0
0
0
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
a8b505441d8d01006108d585679a70db28036960
27,213
py
Python
hltv.py
Bucknalla/unofficial-hltv-api
2f358a4cd75380c226b1e4154e6da7df21d6804f
[ "MIT" ]
1
2018-12-10T17:23:40.000Z
2018-12-10T17:23:40.000Z
hltv.py
ByronFiler/unofficial-hltv-api
2f358a4cd75380c226b1e4154e6da7df21d6804f
[ "MIT" ]
null
null
null
hltv.py
ByronFiler/unofficial-hltv-api
2f358a4cd75380c226b1e4154e6da7df21d6804f
[ "MIT" ]
2
2018-10-29T10:56:37.000Z
2018-12-10T17:23:27.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import urllib.request from re import sub from numpy import array from bs4 import BeautifulSoup from datetime import datetime # Weapon name resolver & map resolver weaponsRef = {"awp": "AWP","ak47": "AK47","m4a1_silencer": "M4A1-S","m4a1": "M4A4","deagle": "Deser...
68.0325
1,167
0.629221
3,709
27,213
4.575896
0.170396
0.024982
0.014494
0.027398
0.371259
0.321706
0.283349
0.2533
0.203924
0.173168
0
0.026201
0.130452
27,213
399
1,168
68.203008
0.691037
0.080954
0
0.155102
0
0.012245
0.280795
0.011439
0
0
0
0
0
1
0.085714
false
0.008163
0.020408
0
0.273469
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
a8b5b19482f8cd71e16240e79109ca0fcefffd9c
3,708
py
Python
tool/document_tool/events_to_table.py
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
38
2021-04-06T03:20:55.000Z
2022-03-02T09:33:28.000Z
tool/document_tool/events_to_table.py
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
19
2021-04-08T02:27:44.000Z
2022-03-23T00:59:04.000Z
tool/document_tool/events_to_table.py
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
28
2021-04-08T04:39:18.000Z
2022-03-24T05:56:00.000Z
#/usr/bin/python import commands def get_event_dic(filename): res = {} # int -> event name event_to_val = {} # event name -> int enum_started = False with open(filename, "r") as input_fd: prev_enum_val = None for line in input_fd.readlines(): if "enum class" in line: ...
36.712871
127
0.531553
450
3,708
4.042222
0.226667
0.109951
0.042331
0.049478
0.294118
0.262782
0.179219
0.072567
0.072567
0.072567
0
0.007302
0.335221
3,708
100
128
37.08
0.730629
0.036408
0
0.206897
0
0.011494
0.103729
0.038688
0
0
0
0
0
0
null
null
0
0.011494
null
null
0.034483
0
0
0
null
0
0
0
0
0
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
a8bf24ec77094bbd1c6199e49ec6347024436b19
1,047
py
Python
photos/migrations/0002_auto_20210905_1415.py
FredrickWambua/galleria
e5a9df44c3ccfef124c77ecf7d5d9f62e6ed4bb9
[ "Unlicense" ]
null
null
null
photos/migrations/0002_auto_20210905_1415.py
FredrickWambua/galleria
e5a9df44c3ccfef124c77ecf7d5d9f62e6ed4bb9
[ "Unlicense" ]
null
null
null
photos/migrations/0002_auto_20210905_1415.py
FredrickWambua/galleria
e5a9df44c3ccfef124c77ecf7d5d9f62e6ed4bb9
[ "Unlicense" ]
null
null
null
# Generated by Django 3.2.7 on 2021-09-05 11:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('photos', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='location', ...
30.794118
127
0.603629
109
1,047
5.688073
0.449541
0.051613
0.067742
0.106452
0.390323
0.390323
0.267742
0.267742
0.267742
0.267742
0
0.028721
0.268386
1,047
33
128
31.727273
0.780679
0.04298
0
0.407407
1
0
0.142
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a8d2ad58a0a6ecb41e36014022cd42e734b62a0e
1,317
py
Python
fish_data.py
ddeel/fishem
bcfe478b241dfd30830ea0434026000e48bd569b
[ "BSD-3-Clause" ]
1
2022-03-03T13:16:10.000Z
2022-03-03T13:16:10.000Z
fish_data.py
ddeel/fishem
bcfe478b241dfd30830ea0434026000e48bd569b
[ "BSD-3-Clause" ]
3
2021-07-25T18:33:43.000Z
2022-03-20T19:41:20.000Z
fish_data.py
ddeel/fishem
bcfe478b241dfd30830ea0434026000e48bd569b
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2021 by Don Deel. All rights reserved. """ Shared data for fishem and its modules. All Redfish and Swordfish objects are shared as JSON objects in a dictionary named "fish". Redfish resource path names are used as keys to access objects in this dictionary, and these objects can contain nested elements...
33.769231
68
0.629461
156
1,317
5.301282
0.49359
0.076179
0.048368
0.047158
0.076179
0
0
0
0
0
0
0.019134
0.246014
1,317
38
69
34.657895
0.813696
0.965072
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
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a8d432ac4f758309f8fe49f076480c31379eeabd
1,222
py
Python
the_dungeon/game.py
chaiso-krit/reinforcement_learning
49a473c08167c8896317f2f549cbd4be6d596b81
[ "MIT" ]
null
null
null
the_dungeon/game.py
chaiso-krit/reinforcement_learning
49a473c08167c8896317f2f549cbd4be6d596b81
[ "MIT" ]
null
null
null
the_dungeon/game.py
chaiso-krit/reinforcement_learning
49a473c08167c8896317f2f549cbd4be6d596b81
[ "MIT" ]
null
null
null
__author__ = 'nuok' import json from map import Map from player import Player class Game: def __init__(self, config_filename): data = json.load(open(config_filename, 'r')) # init map self.map = Map(data) # init player self.player = Player(data['player']) def get_curr...
22.62963
69
0.651391
163
1,222
4.552147
0.251534
0.072776
0.097035
0.097035
0.153639
0.153639
0.080863
0
0
0
0
0.00432
0.242226
1,222
53
70
23.056604
0.796976
0.016367
0
0.171429
0
0
0.0601
0.017529
0
0
0
0
0
0
null
null
0
0.085714
null
null
0.171429
0
0
0
null
0
0
0
0
0
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
76388fe89ad85a6b8daf5b5355a56b884ac06d86
1,347
py
Python
app/templates/chat_flow.py
rkk09c/TextHomelessHelp
3868272ba391990089083f5c53082ae893559c8f
[ "Apache-2.0" ]
1
2019-04-20T23:19:19.000Z
2019-04-20T23:19:19.000Z
app/templates/chat_flow.py
rkk09c/TextHomelessHelp
3868272ba391990089083f5c53082ae893559c8f
[ "Apache-2.0" ]
null
null
null
app/templates/chat_flow.py
rkk09c/TextHomelessHelp
3868272ba391990089083f5c53082ae893559c8f
[ "Apache-2.0" ]
null
null
null
def entry(**kwargs): return '\n'.join([ "Welcome to SAMi", "What would you like? REPLY", "1 = Resources", "2 = Talk to a friend", "3 = Charge your phone", ]) def resources_1(**kwargs): return '\n'.join([ "Welcome to resources: TEXT", "1 = Food", ...
25.903846
72
0.519673
159
1,347
4.371069
0.515723
0.071942
0.07482
0.097842
0.280576
0.279137
0.083453
0.083453
0
0
0
0.094065
0.337045
1,347
51
73
26.411765
0.684211
0
0
0.355556
0
0
0.530067
0
0
0
0
0
0
1
0.088889
true
0
0
0.088889
0.177778
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
763c41684358e4022f4b4f97daa26a710477bbba
5,653
py
Python
utime/dataset/sleep_study_dataset/subject_dir_sleep_study_dataset_base.py
learning310/U-Time
f7c8e3f1368f43226872a69b0fbb8c29990e4bd9
[ "MIT" ]
138
2019-11-20T02:31:17.000Z
2022-03-23T04:31:51.000Z
utime/dataset/sleep_study_dataset/subject_dir_sleep_study_dataset_base.py
amiyapatanaik/U-Time
a9ed4892da77d165a71dbfef1d069d782c909757
[ "MIT" ]
46
2019-12-04T03:13:28.000Z
2022-03-31T13:10:48.000Z
utime/dataset/sleep_study_dataset/subject_dir_sleep_study_dataset_base.py
amiyapatanaik/U-Time
a9ed4892da77d165a71dbfef1d069d782c909757
[ "MIT" ]
42
2019-11-26T16:02:26.000Z
2022-01-06T11:01:32.000Z
import os import numpy as np from utime.dataset.sleep_study_dataset.abc_sleep_study_dataset \ import AbstractBaseSleepStudyDataset from utime.errors import CouldNotLoadError from utime.dataset.utils import find_subject_folders class SubjectDirSleepStudyDatasetBase(AbstractBaseSleepStudyDataset): """ Repr...
45.224
82
0.518486
573
5,653
4.942408
0.326353
0.022246
0.03178
0.014124
0.034605
0
0
0
0
0
0
0.001218
0.41907
5,653
124
83
45.58871
0.861145
0.366531
0
0
0
0
0.081263
0
0
0
0
0.016129
0
1
0.027027
false
0
0.081081
0
0.135135
0.013514
0
0
0
null
0
0
0
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
764c79fdb5763691c10ddeda7ec81f154d60db60
1,639
py
Python
fsjs_journals/models.py
TakeshiOkamoto/mpp_fsjs_dj
0555ed4b55a2ee5b8c272002002a64ece5733f50
[ "MIT" ]
null
null
null
fsjs_journals/models.py
TakeshiOkamoto/mpp_fsjs_dj
0555ed4b55a2ee5b8c272002002a64ece5733f50
[ "MIT" ]
null
null
null
fsjs_journals/models.py
TakeshiOkamoto/mpp_fsjs_dj
0555ed4b55a2ee5b8c272002002a64ece5733f50
[ "MIT" ]
null
null
null
from django.db import models from django.core.validators import MaxLengthValidator from django.core.validators import MinValueValidator, MaxValueValidator # 仕訳帳 class Journal(models.Model): class Meta: db_table = 'fsjs_journals' verbose_name = '仕訳帳' # 年 yyyy = models.IntegerField(...
28.754386
71
0.581452
160
1,639
5.7875
0.40625
0.095032
0.161987
0.187905
0.38013
0.213823
0.213823
0
0
0
0
0.025043
0.293472
1,639
56
72
29.267857
0.774611
0.027456
0
0.171429
0
0
0.034766
0
0
0
0
0
0
1
0.028571
false
0
0.085714
0.028571
0.457143
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
764ece974e8e4b7cd6eb17900fe5b7c7d856af56
1,664
py
Python
doctoreval/web.py
progrium/DrEval
8cda2e93f7356656e50d41ab02a06343e8a7b4fe
[ "MIT" ]
17
2015-02-05T17:10:25.000Z
2021-01-07T20:56:16.000Z
doctoreval/web.py
progrium/DrEval
8cda2e93f7356656e50d41ab02a06343e8a7b4fe
[ "MIT" ]
null
null
null
doctoreval/web.py
progrium/DrEval
8cda2e93f7356656e50d41ab02a06343e8a7b4fe
[ "MIT" ]
3
2015-11-05T12:15:52.000Z
2016-08-02T17:09:33.000Z
from twisted.web import server, resource, http from twisted.internet import defer, error from doctoreval import worker from types import LambdaType port = None page = """ <html> <head> <title>Dr Eval</title> </head> <body> <form action="/" method="post"> Environment:<br /> <textarea name="env...
31.396226
83
0.565505
170
1,664
5.482353
0.458824
0.032189
0.045064
0.05794
0
0
0
0
0
0
0
0.002584
0.302284
1,664
52
84
32
0.800172
0
0
0
0
0
0.284255
0.044471
0
0
0
0
0
0
null
null
0
0.086957
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
764f948ee4d5ea36f91cf75bd446c846c65f9628
1,406
py
Python
tests.py
captainalan/linked-list-problem
b0ad2444e03dc6a56e98b2ff1fda1339fa19811b
[ "MIT" ]
null
null
null
tests.py
captainalan/linked-list-problem
b0ad2444e03dc6a56e98b2ff1fda1339fa19811b
[ "MIT" ]
null
null
null
tests.py
captainalan/linked-list-problem
b0ad2444e03dc6a56e98b2ff1fda1339fa19811b
[ "MIT" ]
null
null
null
import unittest from add_two_numbers import * # Just testing one small file! """For testing that ListNodes <-> int Conversions work""" three = int_to_ListNode(3) thirty_three = int_to_ListNode(33) """Set up the example that we are given""" # 342 n1 = ListNode(2) n2 = ListNode(4) n3 = ListNode(3) n1.next = n2 n2.next ...
24.666667
73
0.661451
192
1,406
4.635417
0.401042
0.101124
0.155056
0.168539
0.251685
0.220225
0.18427
0
0
0
0
0.108775
0.221906
1,406
56
74
25.107143
0.704753
0.173542
0
0
0
0
0.00779
0
0
0
0
0
0.193548
1
0.129032
false
0
0.064516
0
0.225806
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
765b76ec43d8b612e4713512d85f2f5e493ca4dd
2,907
py
Python
Modulo4/Ejercicios/dna.py
EddieRodriguezRojas/CURSOPYTHOND
7293551a3c3d8dd8fff2f1bac36d70840ea7c1ad
[ "Apache-2.0" ]
null
null
null
Modulo4/Ejercicios/dna.py
EddieRodriguezRojas/CURSOPYTHOND
7293551a3c3d8dd8fff2f1bac36d70840ea7c1ad
[ "Apache-2.0" ]
null
null
null
Modulo4/Ejercicios/dna.py
EddieRodriguezRojas/CURSOPYTHOND
7293551a3c3d8dd8fff2f1bac36d70840ea7c1ad
[ "Apache-2.0" ]
null
null
null
# Importando librerias import csv import re #Declarando funciones def conteomaxstr(patron, texto): maxrep = 0 count = 0 fin = 0 while True: encontrado = re.search(patron, texto) if encontrado: inicio = encontrado.start() end = encontrado.end() ...
40.943662
160
0.4785
303
2,907
4.584158
0.349835
0.023038
0.031677
0.051836
0.340533
0.24478
0.198704
0.198704
0.156947
0.156947
0
0.006345
0.45786
2,907
70
161
41.528571
0.875
0.192294
0
0.45614
0
0
0.140653
0.018519
0
0
0
0.014286
0
1
0.035088
false
0
0.035088
0
0.087719
0.052632
0
0
0
null
0
0
0
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
766038bad3065819ddafbbed54c739bde4fc5e3a
1,521
py
Python
tests/test_sensible_span_extractor.py
vsvarunsharma10/pqai
3ef1351fbc39671916517917de9074a62b092eef
[ "MIT" ]
17
2021-06-23T04:17:06.000Z
2022-03-25T16:03:49.000Z
tests/test_sensible_span_extractor.py
vsvarunsharma10/pqai
3ef1351fbc39671916517917de9074a62b092eef
[ "MIT" ]
15
2021-06-22T10:14:15.000Z
2022-03-12T00:58:37.000Z
tests/test_sensible_span_extractor.py
vsvarunsharma10/pqai
3ef1351fbc39671916517917de9074a62b092eef
[ "MIT" ]
3
2021-06-27T18:37:53.000Z
2022-03-15T04:41:21.000Z
import unittest import sys from pathlib import Path TEST_DIR = str(Path(__file__).parent.resolve()) BASE_DIR = str(Path(__file__).parent.parent.resolve()) sys.path.append(BASE_DIR) # Run tests without using GPU import os os.environ["CUDA_VISIBLE_DEVICES"] = "-1" from core.sensible_span_extractor import SensibleSpanEx...
28.698113
119
0.773176
205
1,521
5.536585
0.404878
0.068722
0.070485
0.063436
0.356828
0.199119
0.072247
0
0
0
0
0.010487
0.122288
1,521
53
120
28.698113
0.8397
0.017751
0
0.111111
0
0
0.184863
0
0
0
0
0
0.194444
1
0.222222
false
0
0.138889
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
1
0
0
0
0
0
0
0
1
7662c061632270cfc0f91e261be3cc72a4b4580e
1,061
py
Python
Curso em Video - Exercicios/ex112/utilidadescev/moeda/__init__.py
JefferMarcelino/Aulas-Python
3885b1cfa7f27b90b702ee81fc5eab108c029e52
[ "MIT" ]
2
2021-01-27T19:30:05.000Z
2022-01-10T20:34:53.000Z
Curso em Video - Exercicios/ex112/utilidadescev/moeda/__init__.py
JefferMarcelino/Aulas-Python
3885b1cfa7f27b90b702ee81fc5eab108c029e52
[ "MIT" ]
null
null
null
Curso em Video - Exercicios/ex112/utilidadescev/moeda/__init__.py
JefferMarcelino/Aulas-Python
3885b1cfa7f27b90b702ee81fc5eab108c029e52
[ "MIT" ]
null
null
null
def aumentar(preco=0, taxa=0, formatado=False): res = preco + (preco * taxa / 100) return res if formatado is False else moeda(res) def diminuir(preco=0, taxa=0, formatado=False): res = preco - (preco * taxa / 100) return res if formatado is False else moeda(res) def dobro(preco=0, formatado=False):...
30.314286
77
0.622997
162
1,061
4.080247
0.253086
0.045386
0.090772
0.108926
0.523449
0.478064
0.478064
0.478064
0.478064
0.478064
0
0.032787
0.195099
1,061
34
78
31.205882
0.741218
0
0
0.291667
0
0
0.147974
0
0
0
0
0
0
1
0.25
false
0
0
0.041667
0.458333
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7665eb1082ad4c3fba0beb578c195970e5847cce
665
py
Python
src/algorithmic_toolbox/week5/money_change_again.py
aniket-kr/Techniques-of-Designing-Algorithms
6aa87fd58eafef41afc2c9d49bd83d706de88f1d
[ "MIT" ]
null
null
null
src/algorithmic_toolbox/week5/money_change_again.py
aniket-kr/Techniques-of-Designing-Algorithms
6aa87fd58eafef41afc2c9d49bd83d706de88f1d
[ "MIT" ]
null
null
null
src/algorithmic_toolbox/week5/money_change_again.py
aniket-kr/Techniques-of-Designing-Algorithms
6aa87fd58eafef41afc2c9d49bd83d706de88f1d
[ "MIT" ]
null
null
null
from typing import List def change(target: int, coins: List[int]) -> int: table = [-1] * (target + 1) table[0] = 0 # base case for i in range(target + 1): if table[i] != -1: for coin in coins: res = i + coin potential_change = table[i] + 1 ...
26.6
55
0.481203
78
665
3.948718
0.384615
0.194805
0.165584
0.224026
0
0
0
0
0
0
0
0.027569
0.4
665
24
56
27.708333
0.744361
0.013534
0
0.111111
0
0
0.012232
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.166667
0.055556
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
7667cbba22818afdafccd70a8ef854fdadb29b4e
441
py
Python
leglight/__init__.py
jeffisfast/Elgato-Light-Controller
abd08a619470b9fe3febe775eda3d7078004bb10
[ "MIT" ]
1
2022-01-20T17:45:28.000Z
2022-01-20T17:45:28.000Z
leglight/__init__.py
jeffisfast/Elgato-Light-Controller
abd08a619470b9fe3febe775eda3d7078004bb10
[ "MIT" ]
null
null
null
leglight/__init__.py
jeffisfast/Elgato-Light-Controller
abd08a619470b9fe3febe775eda3d7078004bb10
[ "MIT" ]
1
2021-12-07T05:45:15.000Z
2021-12-07T05:45:15.000Z
"""A Python module designed to control the Elgato brand Lights.""" import logging from .leglight import LegLight from .discovery import discover from .__version__ import __title__, __description__, __url__, __version__ from .__version__ import __author__, __author_email__, __license__ # You shouldn't import all, bu...
25.941176
73
0.773243
51
441
5.803922
0.647059
0.074324
0.114865
0
0
0
0
0
0
0
0
0
0.136054
441
17
74
25.941176
0.776903
0.231293
0
0
0
0
0.047904
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7671c48da1de57cd46f52c3dfbdaf6d03046ce38
287
py
Python
accounts/urls.py
ahanaf-islam/blog-api
31a367e43a95681d1f11b4f417f92e7786331cfb
[ "MIT" ]
null
null
null
accounts/urls.py
ahanaf-islam/blog-api
31a367e43a95681d1f11b4f417f92e7786331cfb
[ "MIT" ]
10
2021-03-19T12:09:08.000Z
2022-03-12T00:46:15.000Z
accounts/urls.py
ahanaf-islam/blog-api
31a367e43a95681d1f11b4f417f92e7786331cfb
[ "MIT" ]
null
null
null
from django.urls import path, include from rest_framework import routers from . import views router = routers.SimpleRouter() router.register('signup',views.UserAccountsViewSet) urlpatterns = [ path('',include(router.urls)), path('login/',views.UserLoginApiView.as_view()), ]
20.5
52
0.749129
33
287
6.454545
0.606061
0.103286
0
0
0
0
0
0
0
0
0
0
0.121951
287
14
53
20.5
0.845238
0
0
0
0
0
0.041667
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
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
767808d75c5933ec576d6c84c309a4f7abe7e3c3
37,914
py
Python
src/data/data.py
atcbosselut/scs-baselines
e21497db42ff5b5ed77781f495404963beda45e7
[ "MIT" ]
16
2018-08-28T13:38:09.000Z
2021-12-26T11:35:47.000Z
src/data/data.py
atcbosselut/scs-baselines
e21497db42ff5b5ed77781f495404963beda45e7
[ "MIT" ]
3
2018-09-09T04:13:37.000Z
2020-07-10T17:53:25.000Z
src/data/data.py
atcbosselut/scs-baselines
e21497db42ff5b5ed77781f495404963beda45e7
[ "MIT" ]
7
2018-10-14T11:40:16.000Z
2020-11-19T02:05:08.000Z
""" File for methods related to parsing data files and initializing a data loader. Classes in this file build specific data loaders for different models/experiments. Each data loader has methods for shuffling its data, sampling batches, loading examples from files, etc. author: Antoine Bosselut (atcbosselut) """ impo...
37.800598
81
0.538877
4,714
37,914
4.194951
0.080187
0.045714
0.025487
0.022655
0.622604
0.569355
0.538357
0.509735
0.475196
0.449456
0
0.006789
0.335681
37,914
1,002
82
37.838323
0.778338
0.07364
0
0.478375
0
0
0.049496
0.018054
0
0
0
0
0
0
null
null
0
0.013106
null
null
0.02228
0
0
0
null
0
0
0
0
0
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
7678d5ed5ee37650e50093850a2760a92972ba94
783
py
Python
Images/utils/prediction_overlay.py
gashutosh85/Custom_LabelME_ERFNET
29a66ec18cf424160931062e699514302a34ea33
[ "MIT" ]
null
null
null
Images/utils/prediction_overlay.py
gashutosh85/Custom_LabelME_ERFNET
29a66ec18cf424160931062e699514302a34ea33
[ "MIT" ]
null
null
null
Images/utils/prediction_overlay.py
gashutosh85/Custom_LabelME_ERFNET
29a66ec18cf424160931062e699514302a34ea33
[ "MIT" ]
null
null
null
import sys from bs4 import BeautifulSoup import numpy as np from matplotlib import pyplot as plt import cv2 import os folder_name = sys.argv[1] file_name = sys.argv[2] original_img = cv2.imread(os.path.join("../../Images/"+str(folder_name),file_name)) original_prediction = cv2.imread(os.path.join('../../Images/origi...
46.058824
110
0.776501
120
783
4.875
0.4
0.068376
0.068376
0.109402
0.201709
0.174359
0
0
0
0
0
0.026099
0.070243
783
17
111
46.058824
0.777473
0.088123
0
0
0
0
0.164095
0.145863
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
767fdb077ed46e17e48fec6ebf4dbf729bd8b401
2,147
py
Python
python/CutData.py
chaowyc/SMTTest
b87a423bfb4433fc0ad6ba7b2c72e8bc906f50f3
[ "MIT" ]
1
2018-11-13T06:01:07.000Z
2018-11-13T06:01:07.000Z
python/CutData.py
chaowyc/SMTTest
b87a423bfb4433fc0ad6ba7b2c72e8bc906f50f3
[ "MIT" ]
null
null
null
python/CutData.py
chaowyc/SMTTest
b87a423bfb4433fc0ad6ba7b2c72e8bc906f50f3
[ "MIT" ]
null
null
null
import sys import os from Stack import * import shutil def isDirectory(file_dir): return os.path.isdir(file_dir) def OpenDir(file_dir): file_nums = 0 file_list = [] files_stack = Stack() files_stack.push(file_dir) while not files_stack.isEmpty(): tmp_file = files_stack.pop() if...
27.883117
64
0.564509
297
2,147
3.804714
0.225589
0.099115
0.058407
0.024779
0.19646
0.19646
0.077876
0.077876
0.077876
0.077876
0
0.013908
0.330228
2,147
77
65
27.883117
0.771905
0
0
0.188406
0
0
0.045624
0
0
0
0
0
0
0
null
null
0.014493
0.057971
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7680b84a888c37702f030330e649e9d499102de8
8,931
py
Python
lib/twisted/scripts/tap2rpm.py
Kagami/kisa
2597f67e519b8d66fec2684ff5a7726436bb029b
[ "CC0-1.0" ]
7
2015-04-28T13:26:11.000Z
2020-02-09T17:01:04.000Z
lib/twisted/scripts/tap2rpm.py
Kagami/kisa
2597f67e519b8d66fec2684ff5a7726436bb029b
[ "CC0-1.0" ]
null
null
null
lib/twisted/scripts/tap2rpm.py
Kagami/kisa
2597f67e519b8d66fec2684ff5a7726436bb029b
[ "CC0-1.0" ]
3
2015-03-10T20:56:17.000Z
2021-08-21T02:44:24.000Z
# -*- test-case-name: twisted.scripts.test.test_tap2rpm -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. import sys, os, shutil, time, glob import subprocess import tempfile import tarfile from StringIO import StringIO from twisted.python import usage, log ################################...
27.996865
80
0.592991
1,042
8,931
5.018234
0.290787
0.021993
0.029069
0.021419
0.153949
0.120482
0.040161
0.032511
0.032511
0.032511
0
0.007174
0.235248
8,931
318
81
28.084906
0.758419
0.071437
0
0.10917
0
0.008734
0.430718
0.086475
0
0
0
0
0
0
null
null
0
0.026201
null
null
0.0131
0
0
0
null
0
0
0
0
0
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
7680dbba1149549b79dc182874f92bca378328f6
6,409
py
Python
src/graccreports/osg_reports/OSGFlockingReporter.py
shreyb/fife_notes_report
b6fc6fa16c442b7ea43858cc6ac28c8a2d43d5af
[ "Apache-2.0" ]
null
null
null
src/graccreports/osg_reports/OSGFlockingReporter.py
shreyb/fife_notes_report
b6fc6fa16c442b7ea43858cc6ac28c8a2d43d5af
[ "Apache-2.0" ]
null
null
null
src/graccreports/osg_reports/OSGFlockingReporter.py
shreyb/fife_notes_report
b6fc6fa16c442b7ea43858cc6ac28c8a2d43d5af
[ "Apache-2.0" ]
null
null
null
import datetime import traceback import sys from re import split from elasticsearch_dsl import Search from . import Reporter, runerror, get_configfile, get_template, Configuration logfile = 'osgflockingreport.log' default_templatefile = 'template_flocking.html' MAXINT = 2**31 - 1 # Helper functions @Reporter.init...
34.831522
98
0.597597
732
6,409
5.122951
0.29918
0.0128
0.0136
0.0168
0.013333
0.013333
0
0
0
0
0
0.004515
0.308785
6,409
183
99
35.021858
0.841986
0.044937
0
0.045872
0
0
0.107686
0.013385
0
0
0
0
0
0
null
null
0.009174
0.055046
null
null
0.027523
0
0
0
null
0
0
0
0
0
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
768bc3e34f99a655d90d97f34467b5362118634d
2,357
py
Python
setup.py
farlandliu/pyDict
20a21039200c239d75005c434c016965a67c8009
[ "BSD-2-Clause" ]
1
2018-04-16T17:39:07.000Z
2018-04-16T17:39:07.000Z
setup.py
farlandliu/pyDict
20a21039200c239d75005c434c016965a67c8009
[ "BSD-2-Clause" ]
null
null
null
setup.py
farlandliu/pyDict
20a21039200c239d75005c434c016965a67c8009
[ "BSD-2-Clause" ]
null
null
null
#-*- encoding: UTF-8 -*- from __future__ import print_function from setuptools import setup import re import os import sys long_description = ( "pyDict is command tool for query online dictionaries, " "like Bing, Collins dictionaries; " "iDict will have a word learning function" "which is underdevelop...
31.426667
78
0.604158
252
2,357
5.507937
0.503968
0.136888
0.180115
0.09366
0.038905
0
0
0
0
0
0
0.013636
0.253288
2,357
75
79
31.426667
0.775
0.160798
0
0.036364
0
0
0.442631
0
0
0
0
0
0
1
0.036364
false
0
0.090909
0
0.163636
0.018182
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
769a24e974015c8c44e51d83760fa59a50274fab
2,351
py
Python
problems/g3_pattern/PrizeCollecting.py
cprudhom/pycsp3
980927188f4262c9ea48a6534795712f09d731d6
[ "MIT" ]
null
null
null
problems/g3_pattern/PrizeCollecting.py
cprudhom/pycsp3
980927188f4262c9ea48a6534795712f09d731d6
[ "MIT" ]
null
null
null
problems/g3_pattern/PrizeCollecting.py
cprudhom/pycsp3
980927188f4262c9ea48a6534795712f09d731d6
[ "MIT" ]
null
null
null
from pycsp3 import * # TODO : in progress n, prizes = data.n, data.prizes prizes = cp_array(row + [0] for row in prizes) # we add 0 for unused nodes; note that cp_array is required so as to be able to use the constraint 'element' # s[i] is the node that succeeds to the ith node in the tour ('n' if unused) s = VarA...
27.988095
159
0.531689
434
2,351
2.875576
0.248848
0.067308
0.052885
0.096955
0.253205
0.215545
0.157853
0.06891
0.044872
0
0
0.023044
0.298596
2,351
83
160
28.325301
0.733778
0.369205
0
0.073171
0
0
0.003411
0
0
0
0
0.012048
0
1
0.04878
false
0
0.02439
0.02439
0.121951
0.02439
0
0
0
null
0
0
0
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
76a25111622c8249b74978d400ac7b411f38bfbf
332
py
Python
Division_Of_Two_Number_With_User_Input_Without_Function.py
Taizul1579/Pythonbasic
a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c
[ "Apache-2.0" ]
null
null
null
Division_Of_Two_Number_With_User_Input_Without_Function.py
Taizul1579/Pythonbasic
a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c
[ "Apache-2.0" ]
null
null
null
Division_Of_Two_Number_With_User_Input_Without_Function.py
Taizul1579/Pythonbasic
a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c
[ "Apache-2.0" ]
null
null
null
# Divided OF two number while True: a = int(input("Enter The Dividend Number : ")) b = int(input("Enter The Divisor Number : ")) if a > b: quotient = int(a / b) print("Quotirnt Number Of :", quotient) else: Quotient = int(b / a) print("Quotirnt Number Of : 0.",...
27.666667
51
0.545181
43
332
4.209302
0.465116
0.088398
0.143646
0.176796
0
0
0
0
0
0
0
0.004484
0.328313
332
11
52
30.181818
0.807175
0.063253
0
0
0
0
0.328859
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
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
76a3d9e2c459843290f6ee466823c3a6e48b8357
1,423
py
Python
vmusco/logger.py
v-m/vincrawler
f5904193d0a8421a233d1e94ea894c543a3ec8c0
[ "MIT" ]
null
null
null
vmusco/logger.py
v-m/vincrawler
f5904193d0a8421a233d1e94ea894c543a3ec8c0
[ "MIT" ]
null
null
null
vmusco/logger.py
v-m/vincrawler
f5904193d0a8421a233d1e94ea894c543a3ec8c0
[ "MIT" ]
null
null
null
""" A simple logger considering a verbosity level. Simple implementation directory writing to stderr. Author: Vincenzo Musco (http://www.vmusco.com) Date: 9 January 2019 """ import sys __author__ = "Vincenzo Musco (http://www.vmusco.com)" __date__ = "9 January 2019" class VerboseLogger(object): """ A verbose...
26.351852
81
0.63598
177
1,423
4.892655
0.367232
0.046189
0.055427
0.053118
0.117783
0.117783
0.117783
0.117783
0.117783
0.117783
0
0.012416
0.264231
1,423
53
82
26.849057
0.814709
0.347857
0
0
0
0
0.064596
0
0
0
0
0
0
1
0.315789
false
0
0.052632
0.052632
0.526316
0.105263
0
0
0
null
0
0
0
0
0
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
76a7d9375a63ad1866df27c026b83ff49f6ebf80
11,829
py
Python
rhodiola.py
tearsecurity/rhodiola
8bc08a009a37a01f4f92a8036d3ea8de900cf00d
[ "BSD-3-Clause" ]
68
2019-08-09T14:18:39.000Z
2019-11-04T16:18:25.000Z
rhodiola.py
utkusen/rhodiola
8bc08a009a37a01f4f92a8036d3ea8de900cf00d
[ "BSD-3-Clause" ]
null
null
null
rhodiola.py
utkusen/rhodiola
8bc08a009a37a01f4f92a8036d3ea8de900cf00d
[ "BSD-3-Clause" ]
13
2019-11-26T22:12:19.000Z
2022-02-28T09:39:12.000Z
#!/usr/bin/env python # encoding: utf-8 import tweepy import csv from textblob import TextBlob import operator from nltk.tag import pos_tag from nltk.corpus import stopwords import re, string from collections import Counter from textblob.wordnet import Synset import sys import wikipedia import re import warnings impo...
37.671975
143
0.589568
1,428
11,829
4.689076
0.212185
0.022999
0.013441
0.013441
0.19997
0.133214
0.107527
0.100358
0.100358
0.083931
0
0.01036
0.29825
11,829
313
144
37.792332
0.79629
0.003043
0
0.249123
0
0.007018
0.139718
0.001866
0
0
0
0
0
0
null
null
0.024561
0.077193
null
null
0.087719
0
0
0
null
0
0
0
0
0
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
76b2f5edfd9037495c845ed107f0083444534571
2,752
py
Python
news/migrations/0001_initial.py
Taywee/amberherbert.com
6bf384d7cdf18dc613252fe4dde38545150eabbc
[ "MIT" ]
null
null
null
news/migrations/0001_initial.py
Taywee/amberherbert.com
6bf384d7cdf18dc613252fe4dde38545150eabbc
[ "MIT" ]
2
2017-10-15T20:36:59.000Z
2017-10-17T05:27:49.000Z
news/migrations/0001_initial.py
Taywee/amberherbert.com
6bf384d7cdf18dc613252fe4dde38545150eabbc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-11 22:03 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import wagtail.core.fields import wagtail.search.index import wagtailn...
43.68254
191
0.62064
280
2,752
5.953571
0.378571
0.059388
0.041992
0.065987
0.222555
0.222555
0.203359
0.158368
0.158368
0.094781
0
0.011589
0.247456
2,752
62
192
44.387097
0.793337
0.024709
0
0.333333
1
0
0.134278
0.016412
0
0
0
0
0
1
0
false
0
0.148148
0
0.222222
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
76b5bdaa086978f2d0c1eeba2d6fc65bdfdf0abd
533
py
Python
working/bbsBear/bbsBear/indexContent/views.py
jiangwenfan/pythonScripts
c9004944f162af575e111522f98d4de4f59885e6
[ "Apache-2.0" ]
null
null
null
working/bbsBear/bbsBear/indexContent/views.py
jiangwenfan/pythonScripts
c9004944f162af575e111522f98d4de4f59885e6
[ "Apache-2.0" ]
null
null
null
working/bbsBear/bbsBear/indexContent/views.py
jiangwenfan/pythonScripts
c9004944f162af575e111522f98d4de4f59885e6
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from django.template import loader,RequestContext # Create your views here. def index(request): temp = loader.get_template('indexContent/index.html') content = RequestContext(request,{}) res_html = temp.render(content) return Htt...
28.052632
58
0.754221
64
533
6.1875
0.390625
0.070707
0.085859
0.10101
0.611111
0.611111
0.409091
0.409091
0.409091
0.409091
0
0
0.148218
533
18
59
29.611111
0.872247
0.043152
0
0.461538
0
0
0.092702
0.092702
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
76bb9024890e39f6b835ec809f7eac2569bacbad
196
py
Python
option.py
KatKopr/worms_in_pygame
d360adacd5421c4d1ef47db6f19eee2e85d353a0
[ "MIT" ]
null
null
null
option.py
KatKopr/worms_in_pygame
d360adacd5421c4d1ef47db6f19eee2e85d353a0
[ "MIT" ]
null
null
null
option.py
KatKopr/worms_in_pygame
d360adacd5421c4d1ef47db6f19eee2e85d353a0
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- class Option: def __init__(self, name, number, y): self.name=name self.number=number self.y=y
17.818182
40
0.494898
24
196
3.875
0.625
0.172043
0
0
0
0
0
0
0
0
0
0.016129
0.367347
196
11
41
17.818182
0.733871
0.219388
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
76bd7090e4ff90b84b4fbf0ca8a7decddfe688ef
265
py
Python
testing/emp_test/module_index.py
chrisidefix/devide
99bfe156e710fa47ba7ae88b0ce1eef592a3a439
[ "BSD-3-Clause" ]
25
2015-08-24T16:05:14.000Z
2020-12-09T20:07:14.000Z
testing/emp_test/module_index.py
chrisidefix/devide
99bfe156e710fa47ba7ae88b0ce1eef592a3a439
[ "BSD-3-Clause" ]
1
2016-02-16T21:18:10.000Z
2016-02-16T21:18:10.000Z
testing/emp_test/module_index.py
chrisidefix/devide
99bfe156e710fa47ba7ae88b0ce1eef592a3a439
[ "BSD-3-Clause" ]
5
2016-02-16T20:05:37.000Z
2020-01-31T11:27:39.000Z
# $Id: module_index.py 2790 2008-02-29 08:33:14Z cpbotha $ class emp_test: kits = ['vtk_kit'] cats = ['Tests'] keywords = ['test', 'tests', 'testing'] help = \ """Module to test DeVIDE extra-module-paths functionality. """
18.928571
63
0.566038
33
265
4.454545
0.848485
0
0
0
0
0
0
0
0
0
0
0.09375
0.275472
265
13
64
20.384615
0.671875
0.211321
0
0
0
0
0.225806
0
0
0
0
0
0
1
0
false
0
0
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
76c1c891b58cb6285588f44ed61f2df98b5e43a2
1,726
py
Python
build/fuchsia/update_sdk.py
Flameeyes/nojs
b386fe707f651ffb2000d52560bc60bc3c0b2f1b
[ "BSD-3-Clause" ]
78
2016-05-29T09:17:00.000Z
2020-12-27T16:16:23.000Z
build/fuchsia/update_sdk.py
Flameeyes/nojs
b386fe707f651ffb2000d52560bc60bc3c0b2f1b
[ "BSD-3-Clause" ]
4
2016-06-02T00:47:34.000Z
2016-06-21T15:25:09.000Z
build/fuchsia/update_sdk.py
Flameeyes/nojs
b386fe707f651ffb2000d52560bc60bc3c0b2f1b
[ "BSD-3-Clause" ]
3
2016-06-16T08:17:16.000Z
2020-03-31T19:33:17.000Z
#!/usr/bin/env python # Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Updates the Fuchsia SDK to the given revision. Should be used in a 'hooks_os' entry so that it only runs when .gclient's target_os i...
26.151515
80
0.687717
266
1,726
4.308271
0.462406
0.052356
0.04363
0.034904
0.041885
0
0
0
0
0
0
0.009155
0.177289
1,726
65
81
26.553846
0.797887
0.11066
0
0.04878
0
0
0.110626
0.021106
0
0
0
0
0
0
null
null
0
0.170732
null
null
0.073171
0
0
0
null
0
0
0
0
0
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
76c586d01a0733b787ed33d371ee3bb7f56c50ca
344
py
Python
Curso Python/ex004.py
sandro-fidelis/Cursos
cee1960181b1309be93034694cab8cf2878e2194
[ "MIT" ]
null
null
null
Curso Python/ex004.py
sandro-fidelis/Cursos
cee1960181b1309be93034694cab8cf2878e2194
[ "MIT" ]
null
null
null
Curso Python/ex004.py
sandro-fidelis/Cursos
cee1960181b1309be93034694cab8cf2878e2194
[ "MIT" ]
null
null
null
a = input('Digite algo ') print(' O tipo primitivo desse valor é:',type(a)) print('Só tem espaços?',a.isspace()) print('É um número?', a.isnumeric()) print('É alfabético?',a.isalpha()) print('é alfanumérico?',a.isalnum()) print('Está em maiúscula?',a.isupper()) print('Está em minúsculo?',a.islower()) print('Está captal...
26.461538
49
0.680233
52
344
4.5
0.596154
0.076923
0.094017
0
0
0
0
0
0
0
0
0
0.098837
344
12
50
28.666667
0.754839
0
0
0
0
0
0.445748
0
0
0
0
0
0
1
0
false
0
0
0
0
0.888889
0
0
0
null
0
0
0
0
0
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
76c94147c65b42e13a416d98e075c6267d6923a7
26,175
py
Python
aphla/gui/Qt4Designer_files/ui_lattice_tuner_for_reference.py
NSLS-II/aphla
ceb5410dc836a8fb16321b6dc5e10d442be765c5
[ "BSD-3-Clause" ]
null
null
null
aphla/gui/Qt4Designer_files/ui_lattice_tuner_for_reference.py
NSLS-II/aphla
ceb5410dc836a8fb16321b6dc5e10d442be765c5
[ "BSD-3-Clause" ]
1
2020-02-17T18:56:18.000Z
2020-02-20T17:06:20.000Z
aphla/gui/Qt4Designer_files/ui_lattice_tuner_for_reference.py
NSLS-II/aphla
ceb5410dc836a8fb16321b6dc5e10d442be765c5
[ "BSD-3-Clause" ]
1
2021-03-08T16:07:11.000Z
2021-03-08T16:07:11.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui_lattice_tuner_for_reference.ui' # # Created: Tue Jan 28 16:35:46 2014 # by: PyQt4 UI code generator 4.9.1 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString....
79.559271
206
0.775244
2,826
26,175
6.881458
0.081033
0.08392
0.062683
0.088857
0.626061
0.45642
0.349
0.289248
0.226307
0.185273
0
0.017288
0.12489
26,175
328
207
79.801829
0.831703
0.00894
0
0.015924
1
0
0.105121
0.035323
0
0
0
0
0
1
0.006369
false
0
0.003185
0
0.012739
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
76cc860d744a76de9dc4396abb55aed6b054e702
9,256
py
Python
copperhead/compiler/pyast.py
bryancatanzaro/copperhead
6e624e3e6db8dd9a732f408ccae99c6322ff4951
[ "Apache-2.0" ]
98
2015-10-01T09:00:37.000Z
2022-02-24T14:08:55.000Z
copperhead/compiler/pyast.py
bryancatanzaro/copperhead
6e624e3e6db8dd9a732f408ccae99c6322ff4951
[ "Apache-2.0" ]
3
2016-10-29T07:39:11.000Z
2020-06-24T07:19:55.000Z
copperhead/compiler/pyast.py
bryancatanzaro/copperhead
6e624e3e6db8dd9a732f408ccae99c6322ff4951
[ "Apache-2.0" ]
14
2015-01-23T15:43:50.000Z
2020-09-13T17:59:27.000Z
# # Copyright 2008-2012 NVIDIA Corporation # Copyright 2009-2010 University of California # # 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/L...
30.248366
86
0.593993
1,170
9,256
4.580342
0.252137
0.055421
0.070349
0.025378
0.216645
0.16253
0.124277
0.113454
0.076507
0.032469
0
0.006763
0.297105
9,256
305
87
30.347541
0.816938
0.16411
0
0.174359
0
0
0.105722
0
0
0
0
0
0
0
null
null
0
0.025641
null
null
0.030769
0
0
0
null
0
0
0
0
0
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
76ce36be725ae814e6a10a26edebd879caa909aa
1,002
py
Python
Examples/IMAP/MoveMessageToAnotherFolder.py
Muzammil-khan/Aspose.Email-Python-Dotnet
04ca3a6f440339f3ddf316218f92d15d66f24e7e
[ "MIT" ]
5
2019-01-28T05:17:12.000Z
2020-04-14T14:31:34.000Z
Examples/IMAP/MoveMessageToAnotherFolder.py
Muzammil-khan/Aspose.Email-Python-Dotnet
04ca3a6f440339f3ddf316218f92d15d66f24e7e
[ "MIT" ]
1
2019-01-28T16:07:26.000Z
2021-11-25T10:59:52.000Z
Examples/IMAP/MoveMessageToAnotherFolder.py
Muzammil-khan/Aspose.Email-Python-Dotnet
04ca3a6f440339f3ddf316218f92d15d66f24e7e
[ "MIT" ]
6
2018-07-16T14:57:34.000Z
2020-08-30T05:59:52.000Z
import aspose.email from aspose.email.clients.imap import ImapClient from aspose.email.clients import SecurityOptions from aspose.email import MailMessage def run(): dataDir = "" #ExStart: MoveMessageToAnotherFolder client = ImapClient("imap.gmail.com", 993, "username", "password") clien...
31.3125
84
0.685629
109
1,002
6.183486
0.458716
0.065282
0.066766
0.065282
0.290801
0.290801
0.290801
0.290801
0.290801
0.290801
0
0.007585
0.210579
1,002
31
85
32.322581
0.844501
0.174651
0
0.222222
0
0
0.188295
0
0
0
0
0
0
1
0.055556
false
0.055556
0.222222
0
0.277778
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4f0fccb06867924854db1077b49409d26703d560
1,245
py
Python
281 Zigzag Iterator.py
ChiFire/legend_LeetCode
93fe97fef7e929fdbdc25fbb53955d44e14ecff8
[ "MIT" ]
872
2015-06-15T12:02:41.000Z
2022-03-30T08:44:35.000Z
281 Zigzag Iterator.py
ChiFire/legend_LeetCode
93fe97fef7e929fdbdc25fbb53955d44e14ecff8
[ "MIT" ]
8
2015-06-21T15:11:59.000Z
2022-02-01T11:22:34.000Z
281 Zigzag Iterator.py
ChiFire/legend_LeetCode
93fe97fef7e929fdbdc25fbb53955d44e14ecff8
[ "MIT" ]
328
2015-06-28T03:10:35.000Z
2022-03-29T11:05:28.000Z
""" Premium Question """ __author__ = 'Daniel' class ZigzagIterator(object): def __init__(self, v1, v2): """ Initialize your data structure here. :type v1: List[int] :type v2: List[int] """ self.mat = [v1, v2] self.maxa = max((c, r) for r, c in enumerate(map...
22.232143
88
0.470683
157
1,245
3.611465
0.375796
0.079365
0.097002
0.10582
0.209877
0.134039
0.134039
0
0
0
0
0.03125
0.383133
1,245
56
89
22.232143
0.707031
0
0
0.25
0
0
0.013527
0
0
0
0
0
0
0
null
null
0
0
null
null
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4f208d23809bc24d6cb5d72ae6c9076d43952d19
2,891
py
Python
docker/dempcap/pcapminey/dcapminey.py
JakubOrzol/dockerfiles
d04ead31d053dbe62b1e98b33e3a2852e335b41c
[ "MIT" ]
48
2018-12-12T12:18:09.000Z
2022-03-05T02:23:42.000Z
docker/dempcap/pcapminey/dcapminey.py
Axonius/dockerfiles
f2135e9abb468ee8db339ec27b2ba737acbbaef6
[ "MIT" ]
7,201
2018-12-24T17:14:17.000Z
2022-03-31T13:39:12.000Z
docker/dempcap/pcapminey/dcapminey.py
Axonius/dockerfiles
f2135e9abb468ee8db339ec27b2ba737acbbaef6
[ "MIT" ]
94
2018-12-17T10:59:21.000Z
2022-03-29T12:59:30.000Z
#!/usr/bin/env python2.7 # -*- coding: utf8 -*- # import pip # pip.main(['-q', 'install', 'cymruwhois']) # pip.main(['-q', 'install', 'dpkt']) # pip.main(['-q', 'install', 'simplejson']) try: import dpkt except: print "Download dpkt" try: import cymruwhois except: print "Download cymruwhois" try:...
32.852273
178
0.682463
311
2,891
6.273312
0.424437
0.023065
0.043567
0.023065
0
0
0
0
0
0
0
0.003696
0.157731
2,891
87
179
33.229885
0.797536
0.129021
0
0.113208
0
0
0.310427
0.017579
0
0
0
0
0
0
null
null
0
0.113208
null
null
0.075472
0
0
0
null
0
0
0
0
0
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
4f2450b4b8db1b90fd84e6c1b5488c3b3f2e1c28
2,090
py
Python
utils/pan_create.py
wind4869/network
f5b89119d01dd532e2ffcd7d18321849d436d2e4
[ "MIT" ]
null
null
null
utils/pan_create.py
wind4869/network
f5b89119d01dd532e2ffcd7d18321849d436d2e4
[ "MIT" ]
null
null
null
utils/pan_create.py
wind4869/network
f5b89119d01dd532e2ffcd7d18321849d436d2e4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from utils.functions import * # map to app already exists in gan def domap(app): appmap = load_appmap() return appmap[app] if app in appmap else app # create pan def create_pan(uid): # create a directed graph pan = nx.DiGraph() # total usage time of apps times = {} ...
28.630137
73
0.513397
253
2,090
4.114625
0.379447
0.033622
0.038425
0.04611
0.082613
0.04611
0
0
0
0
0
0.009174
0.374163
2,090
72
74
29.027778
0.786697
0.120574
0
0.040816
0
0
0.028509
0
0
0
0
0
0
0
null
null
0
0.020408
null
null
0.020408
0
0
0
null
0
0
0
0
0
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
4f247ee81e3c6adae5fb67a77d549a1da8d83913
15,307
py
Python
src/python/qfy.py
nh13/hap.py
fd67904f7a68981e76c12301aa2add2718b30120
[ "BSL-1.0" ]
315
2015-07-21T13:53:30.000Z
2022-03-17T02:01:19.000Z
src/python/qfy.py
nh13/hap.py
fd67904f7a68981e76c12301aa2add2718b30120
[ "BSL-1.0" ]
147
2015-11-26T03:06:24.000Z
2022-03-28T18:22:33.000Z
src/python/qfy.py
nh13/hap.py
fd67904f7a68981e76c12301aa2add2718b30120
[ "BSL-1.0" ]
124
2015-07-21T13:55:14.000Z
2022-03-23T17:34:31.000Z
#!/usr/bin/env python # coding=utf-8 # # Copyright (c) 2010-2015 Illumina, Inc. # All rights reserved. # # This file is distributed under the simplified BSD license. # The full text can be found here (and in LICENSE.txt in the root folder of # this distribution): # # https://github.com/Illumina/licenses/blob/master/Sim...
39.861979
131
0.582609
1,757
15,307
4.938532
0.250996
0.028005
0.04898
0.015328
0.142791
0.109139
0.071453
0.054397
0.029503
0.01844
0
0.004257
0.309466
15,307
383
132
39.966057
0.816651
0.053244
0
0.12406
0
0
0.254207
0.016479
0
0
0
0
0
0
null
null
0.030075
0.06391
null
null
0.018797
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4f3338df5c44ee82c326afd803b5171d108e30c9
664
py
Python
tests/cases/conn/basic/server.py
AaronJGaut/pyspoke-web
bb4ce24aedfcccccf09a2da01d0bb059d841e595
[ "MIT" ]
null
null
null
tests/cases/conn/basic/server.py
AaronJGaut/pyspoke-web
bb4ce24aedfcccccf09a2da01d0bb059d841e595
[ "MIT" ]
null
null
null
tests/cases/conn/basic/server.py
AaronJGaut/pyspoke-web
bb4ce24aedfcccccf09a2da01d0bb059d841e595
[ "MIT" ]
null
null
null
import os import asyncio import spoke_web clients = [] async def handle_client(conn): clients.append(conn) print("server.handle_connect") try: async for msg in conn: print(f"server.handle_recv: {msg}") for client in clients: await client.send(msg) exce...
19.529412
54
0.63253
80
664
5.15
0.45
0.087379
0.082524
0
0
0
0
0
0
0
0
0
0.278614
664
33
55
20.121212
0.860125
0
0
0.16
0
0
0.105422
0.067771
0
0
0
0
0
1
0
false
0.08
0.12
0
0.12
0.12
0
0
0
null
0
0
0
0
0
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
4f333ffe6e437ea0376c18b662cce1321eec0240
8,000
py
Python
happy/happy/settings/prod_settings.py
0xRumple/happy
bc4be2ae6320281887125d9a19cfa62a58a83331
[ "Apache-2.0" ]
7
2018-06-05T13:50:10.000Z
2021-08-04T12:13:53.000Z
happy/happy/settings/prod_settings.py
0xRumple/happy
bc4be2ae6320281887125d9a19cfa62a58a83331
[ "Apache-2.0" ]
67
2018-06-13T15:49:35.000Z
2021-06-10T20:32:08.000Z
happy/happy/settings/prod_settings.py
0xRumple/happy
bc4be2ae6320281887125d9a19cfa62a58a83331
[ "Apache-2.0" ]
7
2018-06-05T13:50:25.000Z
2019-04-01T08:28:24.000Z
""" Django settings for happy project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os impo...
26.666667
95
0.694
837
8,000
6.394265
0.366786
0.041293
0.025411
0.032698
0.158819
0.136024
0.073244
0.073244
0.037369
0.014948
0
0.008708
0.18175
8,000
300
96
26.666667
0.808891
0.202
0
0.021277
1
0
0.476506
0.340587
0
0
0
0
0
1
0
false
0.042553
0.015957
0
0.015957
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
4f3989992e38ecf74be0e4ad399523be9c4059e2
759
py
Python
exemplos/Basico/formatando_valores.py
kalilventura/python
adddeec006d134b3d6d8e8e152135337bd39d6f6
[ "MIT" ]
null
null
null
exemplos/Basico/formatando_valores.py
kalilventura/python
adddeec006d134b3d6d8e8e152135337bd39d6f6
[ "MIT" ]
null
null
null
exemplos/Basico/formatando_valores.py
kalilventura/python
adddeec006d134b3d6d8e8e152135337bd39d6f6
[ "MIT" ]
null
null
null
""" Formatando valores: :s -> Texto (string) :d -> Inteiro (int) :f -> Números de ponto flutuante (float) :.(NUMERO)f -> Quantidade de casas decimais (float) :(CARACTERE)(> ou < ou ^)(QUANTIDADE)(TIPO - s, d ou f) > -> Esquerda < -> Direita ^ -> Centro """ num_1 = 10 num_2...
18.975
59
0.617918
121
759
3.77686
0.413223
0.091904
0.118162
0.065646
0.214442
0.214442
0.185996
0.113786
0.113786
0.113786
0
0.067769
0.202899
759
40
60
18.975
0.687603
0.537549
0
0
0
0
0.3367
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
0
0
0
null
0
0
0
0
0
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
4f445f0d25bb6cc4c99372e3ff5b6783aea09ef1
623
py
Python
HMBBF/migrations/0003_auto_20161202_0649.py
HLoveMe/HWMBBF_Serve
a11fb5b67c913b62df839ce3438a3be433e3865b
[ "Apache-2.0" ]
null
null
null
HMBBF/migrations/0003_auto_20161202_0649.py
HLoveMe/HWMBBF_Serve
a11fb5b67c913b62df839ce3438a3be433e3865b
[ "Apache-2.0" ]
null
null
null
HMBBF/migrations/0003_auto_20161202_0649.py
HLoveMe/HWMBBF_Serve
a11fb5b67c913b62df839ce3438a3be433e3865b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('HMBBF', '0002_home_news'), ] operations = [ migrations.AlterField( model_name='home_news', name='tit...
24.92
93
0.601926
63
623
5.68254
0.555556
0.067039
0.139665
0.162011
0.502793
0.502793
0.502793
0.502793
0
0
0
0.057522
0.274478
623
24
94
25.958333
0.734513
0.033708
0
0.333333
0
0
0.14
0.04
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
4f45a932c6c4ce6fc7b8c4b53f5c2c52d359a4be
2,267
py
Python
my/calendar/holidays.py
thetomcraig/HPI
5eecd8721dc0cbfc68040106bb7b540b1567dff3
[ "MIT" ]
null
null
null
my/calendar/holidays.py
thetomcraig/HPI
5eecd8721dc0cbfc68040106bb7b540b1567dff3
[ "MIT" ]
null
null
null
my/calendar/holidays.py
thetomcraig/HPI
5eecd8721dc0cbfc68040106bb7b540b1567dff3
[ "MIT" ]
null
null
null
""" Public holidays (automatic) and days off work (manual inputs) """ from functools import lru_cache from datetime import date, datetime, timedelta import re from typing import Tuple, Iterator, List, Union from my.config.holidays_data import HOLIDAYS_DATA # pip3 install workalendar from workalendar.europe import ...
24.641304
81
0.617556
331
2,267
4.066465
0.359517
0.016345
0.017831
0.020802
0.031204
0.007429
0.007429
0.007429
0.007429
0
0
0.015476
0.258933
2,267
91
82
24.912088
0.785714
0.157477
0
0.035714
0
0.017857
0.058606
0.017951
0
0
0
0.010989
0.071429
1
0.142857
false
0
0.107143
0.053571
0.392857
0.017857
0
0
0
null
0
0
0
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
4f4fcf1a0aab9241e21c14be23398270f0bb0f76
38,361
py
Python
sources/backend/mods/botclient.py
Ghostik2005/Sklad71
52b84fb32e2161ab824382b251009cdccba1a00e
[ "MIT" ]
null
null
null
sources/backend/mods/botclient.py
Ghostik2005/Sklad71
52b84fb32e2161ab824382b251009cdccba1a00e
[ "MIT" ]
null
null
null
sources/backend/mods/botclient.py
Ghostik2005/Sklad71
52b84fb32e2161ab824382b251009cdccba1a00e
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import, with_statement, print_function, unicode_literals __version__ = '21.021.1735' # _fg_time #__version__ = '21.020.1747' # socket conntect timeout 2sec and wait 10sec #__version__ = '20.310.1900' # location #__version__ = '20.277.1116' #__version__ = '20.272.2127'...
38.437876
2,547
0.523631
4,882
38,361
3.891643
0.128226
0.021685
0.036107
0.045476
0.436865
0.370441
0.327754
0.29391
0.265751
0.202958
0
0.057009
0.33057
38,361
997
2,548
38.476429
0.682827
0.163134
0
0.375874
0
0.006993
0.174083
0.005944
0
0
0
0
0
1
0.054196
false
0.015734
0.04021
0.008741
0.16958
0.02972
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
4f54a7771181d788eac7bdec2a00ba5d75cfb3e2
2,417
py
Python
pyzoo/zoo/models/image/imageclassification/image_classification.py
limn2o4/analytics-zoo
78d6ce10976a7e1320ff5ebdf431db93a439ec56
[ "Apache-2.0" ]
2,970
2017-06-08T00:24:43.000Z
2022-03-30T12:14:55.000Z
pyzoo/zoo/models/image/imageclassification/image_classification.py
Angelina319/analytics-zoo
439f2c99d657fb20a5ff4bf510869616402ba0cf
[ "Apache-2.0" ]
3,530
2017-05-09T08:29:10.000Z
2022-03-21T02:11:45.000Z
pyzoo/zoo/models/image/imageclassification/image_classification.py
Angelina319/analytics-zoo
439f2c99d657fb20a5ff4bf510869616402ba0cf
[ "Apache-2.0" ]
972
2017-05-09T07:03:50.000Z
2022-03-23T07:48:48.000Z
# # Copyright 2018 Analytics Zoo Authors. # # 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...
34.042254
100
0.707902
321
2,417
5.208723
0.489097
0.048445
0.02512
0.019139
0.076555
0.050239
0.050239
0.050239
0.050239
0.050239
0
0.006299
0.211833
2,417
70
101
34.528571
0.871391
0.497311
0
0
0
0
0.055147
0
0
0
0
0
0
1
0.173913
false
0
0.173913
0
0.521739
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
4f56e57c079efa8f06778d754e0dc8d728f18b32
4,975
py
Python
hackingtool.py
MastersChrisTBN/Hackingtool
670df87476a027383a391377dc0537c280ed6101
[ "MIT" ]
null
null
null
hackingtool.py
MastersChrisTBN/Hackingtool
670df87476a027383a391377dc0537c280ed6101
[ "MIT" ]
null
null
null
hackingtool.py
MastersChrisTBN/Hackingtool
670df87476a027383a391377dc0537c280ed6101
[ "MIT" ]
null
null
null
##!/usr/bin/env python3 # -*- coding: UTF-8 -*- # Version 1.1.0 import os import webbrowser from platform import system from time import sleep from core import HackingToolsCollection from tools.anonsurf import AnonSurfTools from tools.ddos import DDOSTools from tools.exploit_frameworks import ExploitFrameworkTools fro...
40.120968
148
0.447839
487
4,975
5.597536
0.402464
0.145268
0.178283
0.198092
0.101981
0.078503
0.078503
0.0708
0.053925
0.053925
0
0.020592
0.375276
4,975
123
149
40.447154
0.685972
0.017085
0
0.057143
0
0
0.402948
0.005119
0
0
0
0
0
1
0.009524
false
0
0.219048
0
0.257143
0.07619
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
4f58401a46efe434c43d73d29d05d7b5a4322410
459
py
Python
tests/__init__.py
Patralos/nexpose-client-python
bec81da29883b1b004046e29a9e7f7a6686467c1
[ "BSD-3-Clause" ]
29
2017-06-27T04:44:03.000Z
2021-11-29T15:04:00.000Z
tests/__init__.py
Patralos/nexpose-client-python
bec81da29883b1b004046e29a9e7f7a6686467c1
[ "BSD-3-Clause" ]
40
2017-06-21T18:00:49.000Z
2018-06-06T21:13:34.000Z
tests/__init__.py
Patralos/nexpose-client-python
bec81da29883b1b004046e29a9e7f7a6686467c1
[ "BSD-3-Clause" ]
23
2017-07-18T16:40:57.000Z
2021-01-26T09:58:53.000Z
# Future Imports for py2/3 backwards compat. from __future__ import (absolute_import, division, print_function, unicode_literals) from os import path from .load_unittest import * from future import standard_library standard_library.install_aliases() NexposeTestSuite = unittest.TestLoader().disc...
30.6
86
0.75817
53
459
6.264151
0.698113
0.060241
0.096386
0
0
0
0
0
0
0
0
0.007752
0.156863
459
14
87
32.785714
0.850129
0.091503
0
0
0
0
0.021687
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.5
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4f5e1729958e5e54077b27a25e49a6e01d02ca0b
553
py
Python
src/pata_password_cracker/substitutors/common/__init__.py
rpigu-i/pata-password-cracker
88cdc862e579ae9cf26ee763c2d52d1b1f7b74a5
[ "MIT" ]
7
2018-03-22T06:31:54.000Z
2020-07-17T14:27:13.000Z
src/pata_password_cracker/substitutors/common/__init__.py
patamechanix/pata-password-cracker
88cdc862e579ae9cf26ee763c2d52d1b1f7b74a5
[ "MIT" ]
15
2017-08-06T12:48:15.000Z
2017-08-06T13:02:15.000Z
src/pata_password_cracker/substitutors/common/__init__.py
patamechanix/pata-password-cracker
88cdc862e579ae9cf26ee763c2d52d1b1f7b74a5
[ "MIT" ]
1
2018-03-22T06:31:55.000Z
2018-03-22T06:31:55.000Z
from ..simple import MungSubstitutor class MungSubstitutorCommon(MungSubstitutor): substitution_table_common = { 'a': '@', 'b': '8', 'd': '6', 'e': '3', 'g': '9', 'i': '1', 'l': '1', 'o': '0', 'q': '9', 's': '$', '0': 'O', ...
19.068966
71
0.367089
56
553
3.553571
0.589286
0.170854
0.231156
0
0
0
0
0
0
0
0
0.045045
0.39783
553
28
72
19.75
0.552553
0
0
0
0
0
0.065099
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0.041667
0.208333
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
4f64374edb8d0f921aaf2bbb88b9f88354493934
841
py
Python
pyHashrateDownload.py
sing1ee/pyHashrate
c2e183825088ee889c0af2b5b09a0acad0eedf0a
[ "MIT" ]
null
null
null
pyHashrateDownload.py
sing1ee/pyHashrate
c2e183825088ee889c0af2b5b09a0acad0eedf0a
[ "MIT" ]
null
null
null
pyHashrateDownload.py
sing1ee/pyHashrate
c2e183825088ee889c0af2b5b09a0acad0eedf0a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from model import HashrateStat, save_all import requests import json import time import traceback cnt = 0 with open("HashRate.json", 'a+') as w: while True: try: print cnt cnt += 1 r = requests.get('https://btc.com/stats/api/realtime/poolHashrate...
25.484848
88
0.476813
96
841
4.135417
0.645833
0.035264
0
0
0
0
0
0
0
0
0
0.018
0.40547
841
32
89
26.28125
0.776
0.02497
0
0
0
0
0.111247
0
0
0
0
0
0
0
null
null
0.034483
0.172414
null
null
0.068966
0
0
0
null
0
0
0
0
0
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
4f692498489bc9621db30f16871d64af99ec2325
1,514
py
Python
data_storing/assets/tables/technical_analysis.py
marcellogoccia/deep-value-investing
4d45cc92c157246485b638d2052596a76975ec8a
[ "MIT" ]
null
null
null
data_storing/assets/tables/technical_analysis.py
marcellogoccia/deep-value-investing
4d45cc92c157246485b638d2052596a76975ec8a
[ "MIT" ]
null
null
null
data_storing/assets/tables/technical_analysis.py
marcellogoccia/deep-value-investing
4d45cc92c157246485b638d2052596a76975ec8a
[ "MIT" ]
null
null
null
from utilities.config import database from utilities.common_methods import getDebugInfo from utilities import log from sqlalchemy import Column, ForeignKey from sqlalchemy.types import Integer, Float, Date, String from sqlalchemy.orm import relationship from data_storing.assets.base import Base table_name = database...
32.212766
112
0.726552
189
1,514
5.62963
0.460317
0.050752
0.052632
0.071429
0.148496
0.12688
0.12688
0.12688
0.12688
0
0
0
0.177675
1,514
46
113
32.913043
0.854618
0
0
0
0
0
0.213483
0.034369
0
0
0
0
0
1
0.066667
false
0
0.233333
0.033333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4f7a4af79aa0397c1c3bee87c5457f0479859f59
1,674
py
Python
scoring/score_components/matching_substructure.py
fujirock/Reinvent
9c57636f9d32b4ce5b75670f43906a70d5daf886
[ "MIT" ]
4
2021-05-11T05:34:01.000Z
2022-03-30T10:04:21.000Z
scoring/score_components/matching_substructure.py
prasannavd/Reinvent
ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616
[ "MIT" ]
null
null
null
scoring/score_components/matching_substructure.py
prasannavd/Reinvent
ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616
[ "MIT" ]
2
2021-06-01T11:56:10.000Z
2021-10-05T04:33:56.000Z
from typing import List import numpy as np from rdkit import Chem from scoring.component_parameters import ComponentParameters from scoring.score_components.base_score_component import BaseScoreComponent from scoring.score_summary import ComponentSummary class MatchingSubstructure(BaseScoreComponent): def __ini...
41.85
108
0.714456
204
1,674
5.671569
0.436275
0.048401
0.031115
0.024201
0
0
0
0
0
0
0
0.005279
0.207885
1,674
39
109
42.923077
0.86727
0.074074
0
0
0
0
0.04331
0
0
0
0
0
0
1
0.172414
false
0
0.206897
0
0.551724
0.034483
0
0
0
null
0
0
0
0
0
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
4f7c04b34cc5ba80105e0288459e6b83d7d9207e
567
py
Python
jarvis/utils/run.py
DarkmatterVale/JARVIS
ef637acb43e7c400176bed433918c189612614f5
[ "MIT" ]
5
2015-05-18T23:16:37.000Z
2016-01-23T07:46:11.000Z
jarvis/utils/run.py
DarkmatterVale/JARVIS
ef637acb43e7c400176bed433918c189612614f5
[ "MIT" ]
16
2015-05-18T23:32:12.000Z
2016-03-18T01:31:05.000Z
jarvis/utils/run.py
DarkmatterVale/JARVIS
ef637acb43e7c400176bed433918c189612614f5
[ "MIT" ]
null
null
null
import subprocess class RunFile(): def __init__(self, **kwargs): self.file_name = "" self.file_path = "" def run(self, path, name): """ Run a file. """ self.file_name = name self.file_path = path # @TODO: Replace "python" with dynamic language...
23.625
81
0.564374
71
567
4.366197
0.507042
0.154839
0.116129
0.103226
0
0
0
0
0
0
0
0
0.329806
567
23
82
24.652174
0.815789
0.310406
0
0
0
0
0.019231
0
0
0
0
0.043478
0
1
0.2
false
0
0.1
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4f7d000399b2a60e71df6ee8f079a54589279feb
332
py
Python
orders/migrations/0008_remove_order_braintree_id.py
knkemree/django_ecommerce_website
19876976bc872cf4835778d12d82756c573cf3b9
[ "bzip2-1.0.6" ]
null
null
null
orders/migrations/0008_remove_order_braintree_id.py
knkemree/django_ecommerce_website
19876976bc872cf4835778d12d82756c573cf3b9
[ "bzip2-1.0.6" ]
8
2020-06-06T01:22:59.000Z
2022-01-13T02:14:24.000Z
orders/migrations/0008_remove_order_braintree_id.py
knkemree/django_ecommerce_website
19876976bc872cf4835778d12d82756c573cf3b9
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 2.2.4 on 2020-01-19 03:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('orders', '0007_order_braintree_id'), ] operations = [ migrations.RemoveField( model_name='order', name='braintree_id', ...
18.444444
47
0.596386
36
332
5.361111
0.75
0.11399
0
0
0
0
0
0
0
0
0
0.080851
0.292169
332
17
48
19.529412
0.740426
0.135542
0
0
1
0
0.161404
0.080702
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4f8f7acfa9e9433753bce4a27c2ec202a3cfaf8c
1,330
py
Python
oop/weapon.py
mrbartrns/swacademy_structure
778f0546030385237c383d81ec37d5bd9ed1272d
[ "MIT" ]
null
null
null
oop/weapon.py
mrbartrns/swacademy_structure
778f0546030385237c383d81ec37d5bd9ed1272d
[ "MIT" ]
null
null
null
oop/weapon.py
mrbartrns/swacademy_structure
778f0546030385237c383d81ec37d5bd9ed1272d
[ "MIT" ]
null
null
null
""" 캐릭터가 사용할 수 있는 무기를 만드는 클래스 """ from abc import ABC, abstractmethod class IWeapon(ABC): @abstractmethod def use_on(self, other_character): pass class Sword(IWeapon): def __init__(self, damage): self.damage = damage def use_on(self, other_character): other_character.get_dam...
21.451613
65
0.590226
176
1,330
4.244318
0.3125
0.131191
0.096386
0.048193
0.257028
0.192771
0
0
0
0
0
0.00431
0.302256
1,330
61
66
21.803279
0.800647
0.025564
0
0.236842
0
0
0.052385
0
0
0
0
0
0
1
0.263158
false
0.026316
0.026316
0.026316
0.421053
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
0
1
0
0
0
0
0
0
0
1
4f9a9dce49a3512b3e3515d620e27eb9191965a4
814
py
Python
bo/bo/__init__.py
perkasajob/BO
5e8db09ec4bbb782202c0cd55e5d35fc3428daf1
[ "MIT" ]
null
null
null
bo/bo/__init__.py
perkasajob/BO
5e8db09ec4bbb782202c0cd55e5d35fc3428daf1
[ "MIT" ]
null
null
null
bo/bo/__init__.py
perkasajob/BO
5e8db09ec4bbb782202c0cd55e5d35fc3428daf1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2020, Sistem Koperasi import frappe from frappe.utils import today, flt @frappe.whitelist() def dkh_get_permission_query_conditions(user=None): if not user: user = frappe.session.user return """(`tabDKH`.parent_sales_executive = '{}')""".format(user) if user == "Administrat...
33.916667
101
0.703931
118
814
4.70339
0.491525
0.043243
0.064865
0.079279
0.234234
0.165766
0.165766
0.165766
0
0
0
0.008403
0.12285
814
24
101
33.916667
0.768908
0.070025
0
0.235294
0
0
0.264901
0.084768
0
0
0
0
0
1
0.176471
false
0
0.117647
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
4fa2b207f08690b17b7179b06141f14d74f2d898
512
py
Python
src/membership/migrations/0004_coordinator_coordinator_bio.py
gatortechuf/gatortechuf.com
8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3
[ "MIT" ]
2
2016-07-18T02:11:37.000Z
2017-08-27T17:28:25.000Z
src/membership/migrations/0004_coordinator_coordinator_bio.py
gatortechuf/gatortechuf.com
8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3
[ "MIT" ]
66
2016-06-18T04:00:01.000Z
2018-02-03T17:42:17.000Z
src/membership/migrations/0004_coordinator_coordinator_bio.py
gatortechuf/gatortechuf.com
8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-03-15 00:25 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('membership', '0003_coordinator_coordinator_image'), ] operations = [ migratio...
24.380952
87
0.644531
55
512
5.781818
0.745455
0.09434
0
0
0
0
0
0
0
0
0
0.061538
0.238281
512
20
88
25.6
0.753846
0.128906
0
0
1
0
0.171558
0.076749
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4fa2c8db44b557266fc78dcb77deb4b2a44ddd18
1,117
py
Python
ois_api_client/v2_0/deserialization/deserialize_query_invoice_data_response.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
7
2020-10-22T08:15:29.000Z
2022-01-27T07:59:39.000Z
ois_api_client/v2_0/deserialization/deserialize_query_invoice_data_response.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
null
null
null
ois_api_client/v2_0/deserialization/deserialize_query_invoice_data_response.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
null
null
null
from typing import Optional import xml.etree.ElementTree as ET from ...xml.XmlReader import XmlReader as XR from ..namespaces import API from ..dto.QueryInvoiceDataResponse import QueryInvoiceDataResponse from .deserialize_basic_header import deserialize_basic_header from .deserialize_basic_result import deserialize_ba...
34.90625
103
0.743062
121
1,117
6.578512
0.272727
0.120603
0.085427
0.090452
0.060302
0
0
0
0
0
0
0
0.19248
1,117
31
104
36.032258
0.882483
0
0
0.148148
0
0
0.033124
0
0
0
0
0
0
1
0.037037
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4fa706ba5e8712f404d843473882bfc28c950a41
1,025
py
Python
lib/callbacks/subplay_log.py
open-power-ref-design-toolkit/opsmgr
ce9d5dc8a4038f22302a168288a6a4f6683dcd45
[ "Apache-2.0" ]
5
2017-05-10T00:32:37.000Z
2019-08-21T09:32:01.000Z
lib/callbacks/subplay_log.py
open-power-ref-design-toolkit/opsmgr
ce9d5dc8a4038f22302a168288a6a4f6683dcd45
[ "Apache-2.0" ]
null
null
null
lib/callbacks/subplay_log.py
open-power-ref-design-toolkit/opsmgr
ce9d5dc8a4038f22302a168288a6a4f6683dcd45
[ "Apache-2.0" ]
3
2017-05-10T00:32:40.000Z
2018-10-16T19:18:18.000Z
# Copyright 2016, IBM US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
36.607143
74
0.672195
150
1,025
4.5
0.586667
0.088889
0.044444
0.047407
0
0
0
0
0
0
0
0.011465
0.234146
1,025
27
75
37.962963
0.848408
0.536585
0
0
0
0
0.158351
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