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
31319d47ec8ad06ca44bd80af1576e1016d0086b
837
py
Python
leetcode/0015_3Sum/result.py
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
leetcode/0015_3Sum/result.py
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
leetcode/0015_3Sum/result.py
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
# !/usr/bin/env python3 # Author: C.K # Email: theck17@163.com # DateTime:2021-03-15 00:07:14 # Description: class Solution: def threeSum(self, nums: List[int]) -> List[List[int]]: result = set() for i in range(0, len(nums) - 1): # Reduce the problem to two sum(0) two_sum =...
28.862069
81
0.51135
101
837
4.138614
0.643564
0.043062
0
0
0
0
0
0
0
0
0
0.046602
0.384707
837
28
82
29.892857
0.765049
0.265233
0
0
0
0
0.013201
0
0
0
0
0
0
1
0.0625
false
0.0625
0
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
313582b593f74c9cfe2f0d1c30d9930aec3b40a3
12,957
py
Python
src/robustness.py
mathigatti/sota-music-tagging-models
b4331b07fe45902af96830f2821926ab86e17d42
[ "MIT" ]
null
null
null
src/robustness.py
mathigatti/sota-music-tagging-models
b4331b07fe45902af96830f2821926ab86e17d42
[ "MIT" ]
null
null
null
src/robustness.py
mathigatti/sota-music-tagging-models
b4331b07fe45902af96830f2821926ab86e17d42
[ "MIT" ]
null
null
null
# coding: utf-8 ''' Deformation codes are borrowed from MUDA McFee et al., A software framework for musical data augmentation, 2015 https://github.com/bmcfee/muda ''' import os import time import subprocess import tempfile import numpy as np import pandas as pd import datetime import tqdm import csv import fire import ...
39.027108
1,080
0.56317
1,635
12,957
4.316208
0.223853
0.022956
0.025507
0.019272
0.225167
0.190591
0.166926
0.117614
0.093666
0.07822
0
0.032525
0.281006
12,957
331
1,081
39.145015
0.724989
0.025237
0
0.161417
0
0.023622
0.17918
0.058687
0
0
0
0
0.003937
1
0.066929
false
0
0.086614
0
0.248032
0.019685
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
3143e4df394889222436d2c1bdb781765f3da6bd
223
py
Python
example_bot/bot.py
JakeCover/Flare-DiscordPy
24cc2541a6ef548583e46d58ae18abe72da5f37f
[ "MIT" ]
1
2021-04-02T20:16:03.000Z
2021-04-02T20:16:03.000Z
example_bot/bot.py
JakeCover/Flare-DiscordPy
24cc2541a6ef548583e46d58ae18abe72da5f37f
[ "MIT" ]
null
null
null
example_bot/bot.py
JakeCover/Flare-DiscordPy
24cc2541a6ef548583e46d58ae18abe72da5f37f
[ "MIT" ]
null
null
null
import os from discord.ext.commands import Bot from Flare import Flare bot = Bot("~~") bot.add_cog(Flare(bot)) @bot.command("ping") async def ping_pong(ctx): ctx.send("pong") bot.run(os.environ.get("BOT_TOKEN"))
13.117647
36
0.695067
37
223
4.108108
0.567568
0.118421
0.144737
0
0
0
0
0
0
0
0
0
0.139013
223
16
37
13.9375
0.791667
0
0
0
0
0
0.085202
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
3146c14380ad5914b64e35f3048435f94f9e6ee7
22,089
py
Python
catalog/client/services/catalog.py
eoss-cloud/madxxx_catalog_api
ef37374a36129de4f0a6fe5dd46b5bc2e2f01d1d
[ "MIT" ]
null
null
null
catalog/client/services/catalog.py
eoss-cloud/madxxx_catalog_api
ef37374a36129de4f0a6fe5dd46b5bc2e2f01d1d
[ "MIT" ]
null
null
null
catalog/client/services/catalog.py
eoss-cloud/madxxx_catalog_api
ef37374a36129de4f0a6fe5dd46b5bc2e2f01d1d
[ "MIT" ]
null
null
null
#-*- coding: utf-8 -*- """ EOSS catalog system functionality for the catalog endpoint """ from utilities.web_utils import remote_file_exists __author__ = "Thilo Wehrmann, Steffen Gebhardt" __copyright__ = "Copyright 2016, EOSS GmbH" __credits__ = ["Thilo Wehrmann", "Steffen Gebhardt"] __license__ = "GPL" __version__...
43.740594
145
0.552175
2,467
22,089
4.754763
0.160924
0.018414
0.017732
0.02728
0.369565
0.340324
0.306053
0.276812
0.263171
0.263171
0
0.016337
0.315542
22,089
504
146
43.827381
0.759508
0.024673
0
0.315522
0
0
0.171239
0.013069
0
0
0
0.003968
0
0
null
null
0
0.05598
null
null
0.002545
0
0
0
null
0
0
0
0
0
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
314a3567674f4832f50804842163798ba6755e31
1,322
py
Python
3rdParty/boost/1.71.0/libs/python/test/iterator.py
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
3rdParty/boost/1.71.0/libs/python/test/iterator.py
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
3rdParty/boost/1.71.0/libs/python/test/iterator.py
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
# Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) from __future__ import print_function ''' >>> from iterator_ext import * >>> from input_iterator import * >>> x = list_int() >>> x.push_...
16.734177
71
0.599849
220
1,322
3.45
0.445455
0.063241
0.039526
0.031621
0.023715
0
0
0
0
0
0
0.055992
0.229955
1,322
78
72
16.948718
0.689587
0.133888
0
0.153846
0
0
0.065156
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
314c834bc34744a5153b8449b8d6ede84e3fa535
1,614
py
Python
scripts/markov_rulesets.py
takuyakanbr/covfefe
8d6a88c838945fc8c8b8c88d19b775ec48a998b7
[ "BSD-3-Clause" ]
null
null
null
scripts/markov_rulesets.py
takuyakanbr/covfefe
8d6a88c838945fc8c8b8c88d19b775ec48a998b7
[ "BSD-3-Clause" ]
4
2019-12-02T17:39:27.000Z
2019-12-02T17:43:49.000Z
scripts/markov_rulesets.py
takuyakanbr/covfefe
8d6a88c838945fc8c8b8c88d19b775ec48a998b7
[ "BSD-3-Clause" ]
null
null
null
# Script to generate the necessary grammar rules for the # markov generator output type # Dataset: # http://www.drmaciver.com/2009/12/i-want-one-meelyun-sentences/ import re ALPHA = ' abcdefghijklmnopqrstuvwxyz' # read data from file with open('sentences', 'r', encoding="utf8") as f: content = f.read().splitlin...
24.454545
64
0.502478
235
1,614
3.425532
0.378723
0.02236
0.018634
0.017391
0.077019
0.039752
0
0
0
0
0
0.022999
0.326518
1,614
65
65
24.830769
0.717571
0.185874
0
0.093023
1
0
0.059094
0.019954
0
0
0
0
0
1
0.046512
false
0
0.023256
0
0.116279
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
315044a27a790f45a0932ccbc6e97fab229aec69
667
py
Python
mk42/apps/users/migrations/0003_auto_20170614_0038.py
vint21h/mk42
1574d1143ea829212203f2be0b11b44de1e7c722
[ "WTFPL" ]
5
2017-06-18T17:04:49.000Z
2017-11-02T11:44:36.000Z
mk42/apps/users/migrations/0003_auto_20170614_0038.py
vint21h/mk42
1574d1143ea829212203f2be0b11b44de1e7c722
[ "WTFPL" ]
13
2017-07-05T06:35:42.000Z
2017-09-06T02:04:04.000Z
mk42/apps/users/migrations/0003_auto_20170614_0038.py
vint21h/mk42
1574d1143ea829212203f2be0b11b44de1e7c722
[ "WTFPL" ]
10
2017-06-29T05:31:52.000Z
2017-10-27T09:31:32.000Z
# -*- coding: utf-8 -*- # mk42 # mk42/apps/users/migrations/0003_auto_20170614_0038.py # Generated by Django 1.11.2 on 2017-06-14 00:38 from __future__ import unicode_literals from django.db import ( migrations, models, ) class Migration(migrations.Migration): dependencies = [ ("users", "0002...
23
189
0.635682
79
667
5.189873
0.78481
0.058537
0
0
0
0
0
0
0
0
0
0.171756
0.214393
667
28
190
23.821429
0.610687
0.190405
0
0
1
0
0.226168
0.15514
0
0
0
0
0
1
0
false
0
0.125
0
0.3125
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
31594d1cfb6364ea7147487913cd57829792bf34
2,530
py
Python
scrapers/scrapsfbos.py
ndd365/showup
fae0cdc52d306e6bbb538e8f66afe1d7a51006b8
[ "MIT" ]
48
2016-12-12T13:59:30.000Z
2021-01-22T01:34:39.000Z
scrapers/scrapsfbos.py
ndd365/showup
fae0cdc52d306e6bbb538e8f66afe1d7a51006b8
[ "MIT" ]
null
null
null
scrapers/scrapsfbos.py
ndd365/showup
fae0cdc52d306e6bbb538e8f66afe1d7a51006b8
[ "MIT" ]
4
2017-02-02T16:59:47.000Z
2017-08-23T11:05:47.000Z
import feedparser from bs4 import BeautifulSoup from dateutil.parser import parse from datetime import timedelta import pytz from apiclient.discovery import build from httplib2 import Http from oauth2client import file, client, tools from oauth2client.service_account import ServiceAccountCredentials scopes = 'https:...
24.326923
98
0.650988
294
2,530
5.377551
0.394558
0.062619
0.02277
0.02024
0.058191
0
0
0
0
0
0
0.012042
0.245059
2,530
103
99
24.563107
0.815707
0.032016
0
0
0
0
0.103152
0.021285
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.079365
0
0
0
null
0
0
0
0
0
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
315f8e1d96aaa1b3755c0089f370b7d2dae3e33b
646
py
Python
setup.py
goofmint/qualityforward-py
299c11cb4769fb8c42bfd2d553a5c1c1f042d2de
[ "MIT" ]
null
null
null
setup.py
goofmint/qualityforward-py
299c11cb4769fb8c42bfd2d553a5c1c1f042d2de
[ "MIT" ]
null
null
null
setup.py
goofmint/qualityforward-py
299c11cb4769fb8c42bfd2d553a5c1c1f042d2de
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name="qualityforward", version="1.1", author="Atsushi Nakatsugawa", author_email="atsushi@moongift.jp", description="Python library for QualityForward API", long_description="This is python library for QualityForward API. QualityForward is cloud based test m...
34
125
0.695046
70
646
6.328571
0.7
0.058691
0.072235
0.13544
0.148984
0
0
0
0
0
0
0.007619
0.187307
646
18
126
35.888889
0.83619
0
0
0
0
0
0.534056
0
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
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
31615431c1549d43bb6f82b1e2019a1850b2c3a4
1,945
py
Python
backend/trips/models.py
repeating/PoputchikiInno
54b60cfd3c40a25357667c4044fd477f3b6b9152
[ "CC-BY-4.0" ]
20
2021-09-23T16:33:34.000Z
2022-01-08T08:56:10.000Z
backend/trips/models.py
repeating/PoputchikiInno
54b60cfd3c40a25357667c4044fd477f3b6b9152
[ "CC-BY-4.0" ]
null
null
null
backend/trips/models.py
repeating/PoputchikiInno
54b60cfd3c40a25357667c4044fd477f3b6b9152
[ "CC-BY-4.0" ]
2
2021-09-23T16:31:39.000Z
2021-12-17T01:02:01.000Z
from django.db import models from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin, AbstractUser from django.utils import timezone from django.utils.translation import gettext as _ from django import forms from django.contrib.auth.hashers import make_password from django.contrib.auth import get_user...
32.966102
87
0.684833
235
1,945
5.412766
0.297872
0.062893
0.051101
0.066038
0.28066
0.221698
0
0
0
0
0
0.008719
0.233419
1,945
58
88
33.534483
0.8444
0
0
0.12766
0
0
0.078663
0
0
0
0
0
0
1
0.106383
false
0.021277
0.212766
0.042553
0.659574
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
31617ded12576d7c4174e3e0dd3d96d3659501e5
6,957
py
Python
jcs/jcs_main.py
orenmel/lexsub
4197fccf489670fdc4e5510971f4288b9d0b1625
[ "Apache-2.0" ]
26
2016-07-28T03:05:07.000Z
2021-05-14T05:02:38.000Z
jcs/jcs_main.py
afcarl/lexsub
4197fccf489670fdc4e5510971f4288b9d0b1625
[ "Apache-2.0" ]
11
2018-09-14T12:20:25.000Z
2021-05-03T18:54:42.000Z
jcs/jcs_main.py
afcarl/lexsub
4197fccf489670fdc4e5510971f4288b9d0b1625
[ "Apache-2.0" ]
18
2016-11-15T14:15:23.000Z
2022-03-15T23:41:57.000Z
''' Run lexical substitution experiments ''' import sys import time import argparse import re import numpy from jcs.jcs_io import extract_word_weight from jcs.data.context_instance import ContextInstance from jcs.jcs_io import vec_to_str from jcs.jcs_io import vec_to_str_generated from jcs.cs_embedd...
44.883871
193
0.655455
806
6,957
5.473945
0.240695
0.044878
0.06165
0.027199
0.236627
0.19583
0.19175
0.155938
0.126473
0.126473
0
0.005255
0.206698
6,957
154
194
45.175325
0.794166
0.019117
0
0.076923
0
0.009615
0.211027
0.003474
0
0
0
0
0
0
null
null
0
0.105769
null
null
0.096154
0
0
0
null
0
0
0
0
0
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
31658cd3302ac85eb923cde2f7d6f6b205979a8e
675
py
Python
examples/Api/channels.py
asheshambasta/csound-expression
290567231c1d658e07ba882b1d1c726c96af67ce
[ "BSD-3-Clause" ]
null
null
null
examples/Api/channels.py
asheshambasta/csound-expression
290567231c1d658e07ba882b1d1c726c96af67ce
[ "BSD-3-Clause" ]
null
null
null
examples/Api/channels.py
asheshambasta/csound-expression
290567231c1d658e07ba882b1d1c726c96af67ce
[ "BSD-3-Clause" ]
null
null
null
import csnd6 class Control: def __init__(self, volume, frequency): engine = csnd6.Csound() engine.SetOption("-odac") engine.Compile("osc.csd") thread = csnd6.CsoundPerformanceThread(engine) thread.Play() self.engine = engine self.thread = th...
25
55
0.58963
68
675
5.735294
0.352941
0.076923
0.107692
0
0
0
0
0
0
0
0
0.006383
0.303704
675
27
56
25
0.823404
0
0
0
0
0
0.039941
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
316b518ce4f1c79a069f5d1878febd49adb00f4b
15,524
py
Python
src/GridCal/Gui/TowerBuilder/gui.py
SanPen/GridCal
fd3c24afff91325b8b682b03cab2b8b8edcdda57
[ "BSD-3-Clause" ]
284
2016-01-31T03:20:44.000Z
2022-03-17T21:16:52.000Z
src/GridCal/Gui/TowerBuilder/gui.py
SanPen/GridCal
fd3c24afff91325b8b682b03cab2b8b8edcdda57
[ "BSD-3-Clause" ]
94
2016-01-14T13:37:40.000Z
2022-03-28T03:13:56.000Z
src/GridCal/Gui/TowerBuilder/gui.py
SanPen/GridCal
fd3c24afff91325b8b682b03cab2b8b8edcdda57
[ "BSD-3-Clause" ]
84
2016-03-29T10:43:04.000Z
2022-02-22T16:26:55.000Z
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'gui.ui' ## ## Created by: Qt User Interface Compiler version 5.15.2 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ######################...
42.883978
134
0.706648
1,883
15,524
5.62666
0.102496
0.076451
0.055592
0.057386
0.479188
0.278339
0.160453
0.069372
0.053705
0.024917
0
0.037857
0.176436
15,524
361
135
43.00277
0.790849
0.023448
0
0
1
0
0.082182
0.009413
0
0
0
0
0
1
0.007937
false
0
0.019841
0
0.031746
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
316f3a2d1cd58368907db8ec0798ba08d6c7d1c7
527
py
Python
util/mccLog.py
ccchooko/webControlClient
f12cf76d364c5270166c99a508d08999c7ed920c
[ "Apache-2.0" ]
null
null
null
util/mccLog.py
ccchooko/webControlClient
f12cf76d364c5270166c99a508d08999c7ed920c
[ "Apache-2.0" ]
null
null
null
util/mccLog.py
ccchooko/webControlClient
f12cf76d364c5270166c99a508d08999c7ed920c
[ "Apache-2.0" ]
null
null
null
#-*-coding:utf8-*- import logging from datetime import datetime class mccLog(object): def __init__(self): logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(levelname)s %(message)s', datefmt='%Y-%m-%d %H:%M:%S', filename= datetime.now().strftime("...
29.277778
75
0.580645
60
527
5.033333
0.616667
0.013245
0.019868
0.02649
0.039735
0.039735
0
0
0
0
0
0.002564
0.259962
527
17
76
31
0.771795
0.032258
0
0
0
0
0.139489
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3170ca6ee7a6eb3f4bee950684186e4a99de1a8e
1,356
py
Python
sleekxmpp/plugins/xep_0027/stanza.py
elrond79/SleekXMPP
62ebbe2d7c37f55fa63cbe24b2a610c1e3eb7b9f
[ "BSD-3-Clause" ]
3
2019-02-01T06:50:08.000Z
2020-03-24T00:45:31.000Z
sleekxmpp/plugins/xep_0027/stanza.py
elrond79/SleekXMPP
62ebbe2d7c37f55fa63cbe24b2a610c1e3eb7b9f
[ "BSD-3-Clause" ]
1
2017-11-07T13:03:48.000Z
2017-11-07T13:03:48.000Z
sleekxmpp/plugins/xep_0027/stanza.py
elrond79/SleekXMPP
62ebbe2d7c37f55fa63cbe24b2a610c1e3eb7b9f
[ "BSD-3-Clause" ]
null
null
null
""" SleekXMPP: The Sleek XMPP Library Copyright (C) 2012 Nathanael C. Fritz, Lance J.T. Stout This file is part of SleekXMPP. See the file LICENSE for copying permission. """ from sleekxmpp.xmlstream import ElementBase class Signed(ElementBase): name = 'x' namespace = 'jabber:x:signed' p...
25.111111
72
0.597345
162
1,356
4.932099
0.382716
0.043805
0.068836
0.075094
0.397998
0.345432
0.225282
0.225282
0.225282
0.140175
0
0.016563
0.287611
1,356
53
73
25.584906
0.810559
0.123156
0
0.432432
0
0
0.096137
0
0
0
0
0
0
1
0.108108
false
0
0.027027
0.027027
0.540541
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
31717266252a0d2d31a5a6a58dab2e9b98e48596
821
py
Python
tcptofpc.py
catenacyber/fuzzpcap
100db6cefd77238f623b5127a3efed01c7333cad
[ "MIT" ]
6
2021-04-09T03:13:39.000Z
2022-01-26T14:49:31.000Z
tcptofpc.py
catenacyber/fuzzpcap
100db6cefd77238f623b5127a3efed01c7333cad
[ "MIT" ]
null
null
null
tcptofpc.py
catenacyber/fuzzpcap
100db6cefd77238f623b5127a3efed01c7333cad
[ "MIT" ]
null
null
null
#tshark -r input.pcap -qz "follow,tcp,raw,0" import struct import sys import binascii import subprocess result = subprocess.Popen( ["tshark", "-r", sys.argv[1], "-qz", "follow,tcp,raw,0"], stdout=subprocess.PIPE) sys.stdout.buffer.write(b"FPC\x80") for i in range(4): result.stdout.rea...
27.366667
84
0.615104
125
821
4.04
0.384
0.106931
0.178218
0.237624
0.443564
0.30099
0.134653
0.134653
0
0
0
0.027108
0.19123
821
29
85
28.310345
0.733434
0.052375
0
0
0
0
0.059202
0
0
0
0
0
0
1
0
false
0
0.16
0
0.16
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
31749eb3567f7fa78e149effb86fecf4648c3519
1,501
py
Python
tools/isolate/data/isolate/with_flag.py
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
212
2015-01-31T11:55:58.000Z
2022-02-22T06:35:11.000Z
tools/isolate/data/isolate/with_flag.py
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
5
2015-03-27T14:29:23.000Z
2019-09-25T13:23:12.000Z
tools/isolate/data/isolate/with_flag.py
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
221
2015-01-07T06:21:24.000Z
2022-02-11T02:51:12.000Z
#!/usr/bin/env python # Copyright (c) 2012 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. import os import sys def main(): print 'with_flag: Verify the test data files were mapped properly' assert len(sys.argv) == 2...
28.320755
77
0.632911
235
1,501
3.948936
0.489362
0.045259
0.023707
0.032328
0.060345
0.060345
0.060345
0
0
0
0
0.01468
0.228514
1,501
52
78
28.865385
0.786701
0.260493
0
0
0
0
0.216878
0
0
0
0
0
0.055556
0
null
null
0
0.055556
null
null
0.138889
0
0
0
null
0
0
0
0
0
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
3177cd1e5b203f5ec64cb02bb1434a9783422e6d
312
py
Python
app.py
rhedgeco/test_plaid_webapp
e821e354796da9f35689eb386df9366407e2907b
[ "MIT" ]
null
null
null
app.py
rhedgeco/test_plaid_webapp
e821e354796da9f35689eb386df9366407e2907b
[ "MIT" ]
null
null
null
app.py
rhedgeco/test_plaid_webapp
e821e354796da9f35689eb386df9366407e2907b
[ "MIT" ]
null
null
null
from plaid import Client from backend.link_token import LinkToken from general_falcon_webserver import WebApp client = Client(client_id='5e2e3527dd6924001167e8e8', secret='0b89f518880456b6f60020f481b3d7', environment='sandbox') app = WebApp() app.add_route('link', LinkToken(client)) app.launch_webserver()
24
117
0.817308
36
312
6.916667
0.611111
0.096386
0
0
0
0
0
0
0
0
0
0.144366
0.089744
312
12
118
26
0.732394
0
0
0
0
0
0.208333
0.173077
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
31793cdf4264c68e2f922f5ab5df2e6e45071db9
539
py
Python
kickeststats/exceptions.py
antimaLinux/kickscarper
c2607847f1c7ad8bc30014ab4e62f0976ace5f0f
[ "MIT" ]
null
null
null
kickeststats/exceptions.py
antimaLinux/kickscarper
c2607847f1c7ad8bc30014ab4e62f0976ace5f0f
[ "MIT" ]
1
2020-10-14T06:44:12.000Z
2020-10-14T06:44:12.000Z
kickeststats/exceptions.py
antimaLinux/kickscraper
c2607847f1c7ad8bc30014ab4e62f0976ace5f0f
[ "MIT" ]
null
null
null
"""Exception utilities.""" class ParsingException(Exception): pass class EnvVariableNotSet(Exception): def __init__(self, varname: str) -> None: super(EnvVariableNotSet, self).__init__(f"Env variable [{varname}] not set.") class InvalidLineUp(Exception): pass class UnsupportedLineUp(Exceptio...
20.730769
85
0.684601
57
539
6.122807
0.45614
0.111748
0.103152
0.114613
0
0
0
0
0
0
0
0
0.198516
539
25
86
21.56
0.80787
0.037106
0
0.214286
0
0
0.146199
0
0
0
0
0
0
1
0.142857
false
0.214286
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
0
0
1
0
0
0
0
0
1
317a91916b77974fe06fa6db1fb05dbc3398d9cf
1,262
py
Python
setup.py
holoyan/python-data-validation
e928c4131072c53cb8ace1fbaa83216f06ab6bfe
[ "MIT" ]
3
2021-03-16T05:47:46.000Z
2021-03-23T17:43:55.000Z
setup.py
holoyan/python-data-validation
e928c4131072c53cb8ace1fbaa83216f06ab6bfe
[ "MIT" ]
null
null
null
setup.py
holoyan/python-data-validation
e928c4131072c53cb8ace1fbaa83216f06ab6bfe
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages # read the contents of your README file from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='pyva', packages=find_packages(), ...
35.055556
73
0.652139
145
1,262
5.565517
0.613793
0.11772
0.154895
0.16109
0
0
0
0
0
0
0
0.014056
0.210777
1,262
35
74
36.057143
0.796185
0.049921
0
0.0625
0
0
0.456522
0.020067
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
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
317b9439891e4fcd8a172759ee5646bbfda6a0f1
721
py
Python
bus_system/apps/trip/migrations/0007_auto_20210624_1812.py
pygabo/bus_system
ffb76d3414e058286799f3df1cb551b26286e7c3
[ "MIT" ]
null
null
null
bus_system/apps/trip/migrations/0007_auto_20210624_1812.py
pygabo/bus_system
ffb76d3414e058286799f3df1cb551b26286e7c3
[ "MIT" ]
null
null
null
bus_system/apps/trip/migrations/0007_auto_20210624_1812.py
pygabo/bus_system
ffb76d3414e058286799f3df1cb551b26286e7c3
[ "MIT" ]
null
null
null
# Generated by Django 3.1.12 on 2021-06-24 18:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('trip', '0006_remove_travelmodel_driver'), ] operations = [ migrations.AddField( model_name='tr...
28.84
172
0.646325
78
721
5.794872
0.576923
0.053097
0.061947
0.097345
0
0
0
0
0
0
0
0.038321
0.239945
721
24
173
30.041667
0.786496
0.0638
0
0.111111
1
0
0.169391
0.044577
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
31816e6d8bed3855148fe582fbc591405a02824d
78,388
py
Python
subversion/tests/cmdline/lock_tests.py
centic9/subversion-ppa
f65f38f4d8821f6225ba14b50a81973ad893fc02
[ "Apache-2.0" ]
null
null
null
subversion/tests/cmdline/lock_tests.py
centic9/subversion-ppa
f65f38f4d8821f6225ba14b50a81973ad893fc02
[ "Apache-2.0" ]
null
null
null
subversion/tests/cmdline/lock_tests.py
centic9/subversion-ppa
f65f38f4d8821f6225ba14b50a81973ad893fc02
[ "Apache-2.0" ]
1
2020-11-04T07:19:37.000Z
2020-11-04T07:19:37.000Z
#!/usr/bin/env python # encoding=utf-8 # # lock_tests.py: testing versioned properties # # Subversion is a tool for revision control. # See http://subversion.apache.org for more information. # # ==================================================================== # Licensed to the Apache Software Foundation (ASF...
36.240407
139
0.594708
10,479
78,388
4.247543
0.073957
0.073601
0.07104
0.083577
0.687104
0.640598
0.60847
0.574343
0.536374
0.495709
0
0.009304
0.247232
78,388
2,162
140
36.257169
0.745001
0.198232
0
0.556146
0
0
0.16723
0.002782
0
0
0
0
0
0
null
null
0
0.006829
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
318a952b81c7d9540e9926622426293ecbdc84ee
1,572
py
Python
src/Application/PythonScriptModule/pymodules_old/apitest/rotate.py
antont/tundra
5c9b0a3957071f08ab425dff701cdbb34f9e1868
[ "Apache-2.0" ]
null
null
null
src/Application/PythonScriptModule/pymodules_old/apitest/rotate.py
antont/tundra
5c9b0a3957071f08ab425dff701cdbb34f9e1868
[ "Apache-2.0" ]
null
null
null
src/Application/PythonScriptModule/pymodules_old/apitest/rotate.py
antont/tundra
5c9b0a3957071f08ab425dff701cdbb34f9e1868
[ "Apache-2.0" ]
1
2021-09-04T12:37:34.000Z
2021-09-04T12:37:34.000Z
import circuits from PythonQt.QtGui import QQuaternion as Quat from PythonQt.QtGui import QVector3D as Vec import naali COMPNAME = "rotation" class RotationHandler(circuits.BaseComponent): def __init__(self, entity=None, comp=None, changetype=None): circuits.BaseComponent.__init__(self) self.entit...
34.933333
115
0.600509
181
1,572
5.149171
0.475138
0.075107
0.036481
0.049356
0.066524
0.066524
0
0
0
0
0
0.016408
0.302163
1,572
44
116
35.727273
0.833181
0.304707
0
0
0
0
0.032498
0
0
0
0
0.022727
0
1
0.153846
false
0
0.153846
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
318fbfd55bdcd7ac71d0dc2747eb31643026f551
3,021
py
Python
bin/analysis/ipa/constraints/split.py
ncbray/pystream
70bba5646d6512adb6803564c22268d3424c66d8
[ "Apache-2.0" ]
6
2015-09-19T18:22:33.000Z
2020-11-29T15:21:17.000Z
bin/analysis/ipa/constraints/split.py
ncbray/pystream
70bba5646d6512adb6803564c22268d3424c66d8
[ "Apache-2.0" ]
1
2015-08-04T08:03:46.000Z
2015-08-04T08:03:46.000Z
bin/analysis/ipa/constraints/split.py
ncbray/pystream
70bba5646d6512adb6803564c22268d3424c66d8
[ "Apache-2.0" ]
1
2019-12-09T08:27:09.000Z
2019-12-09T08:27:09.000Z
# Copyright 2011 Nicholas Bray # # 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...
23.97619
86
0.716319
411
3,021
5.20438
0.335766
0.045816
0.025713
0.019635
0.183263
0.163628
0.080411
0.048621
0.048621
0.048621
0
0.003638
0.181066
3,021
125
87
24.168
0.860954
0.219133
0
0.333333
0
0
0.017499
0
0
0
0
0.008
0.02381
1
0.202381
false
0
0.035714
0.059524
0.345238
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
3191404cbd9e515326e447e2206e0f73b067c5bc
5,866
py
Python
test/worker/net.py
ameserole/Naumachia
dc13c33c5fcf053c74dfce8351a696d28857fd9d
[ "MIT" ]
null
null
null
test/worker/net.py
ameserole/Naumachia
dc13c33c5fcf053c74dfce8351a696d28857fd9d
[ "MIT" ]
null
null
null
test/worker/net.py
ameserole/Naumachia
dc13c33c5fcf053c74dfce8351a696d28857fd9d
[ "MIT" ]
null
null
null
import fcntl import os import socket import struct import warnings import subprocess import logging import base64 logger = logging.getLogger(__name__) # Dummy socket used for fcntl functions _socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) class AddrMeta(type): @property def maxvalue(cls): ...
27.283721
123
0.574668
717
5,866
4.524407
0.27894
0.025894
0.016646
0.020962
0.144883
0.091554
0.07799
0.058261
0.037916
0.037916
0
0.018836
0.303103
5,866
214
124
27.411215
0.774706
0.026253
0
0.096386
0
0
0.061185
0
0
0
0.007714
0
0
1
0.198795
false
0
0.048193
0.10241
0.457831
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
319239aac557dc3d968ccc908a828a9cd5002f12
2,161
py
Python
kunrei.py
kosugi/alfred.romanizer
d2a3b4a9883f15101893e385f14e6dca115c1d7d
[ "BSD-2-Clause" ]
null
null
null
kunrei.py
kosugi/alfred.romanizer
d2a3b4a9883f15101893e385f14e6dca115c1d7d
[ "BSD-2-Clause" ]
null
null
null
kunrei.py
kosugi/alfred.romanizer
d2a3b4a9883f15101893e385f14e6dca115c1d7d
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- basic_table = dict(map(lambda s: s.split(u'\t'), u''' あ a い i う u え e お o か ka き ki く ku け ke こ ko さ sa し si す su せ se そ so た ta ち ti つ tu て te と to な na に ni ぬ nu ね ne の no は ha ひ hi ふ hu へ he ほ ho ま ma み mi む mu め me も mo や ya ゆ yu よ yo ら ra り ri る ru れ re ろ ro わ wa を wo ぁ a ぃ i ぅ u ぇ e ぉ o が...
8.248092
64
0.553447
592
2,161
2.005068
0.650338
0.012637
0.035383
0.015164
0
0
0
0
0
0
0
0.021707
0.381768
2,161
261
65
8.279693
0.866766
0.009718
0
0.015564
0
0
0.626286
0.009822
0
0
0
0
0
1
0.003891
false
0
0
0
0.007782
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
3194a2997150c6f647d46dc4f5cbb7a6cd7d252d
559
py
Python
regtests/webclgl/call_external_method.py
bpmbank/PythonJS
591a80afd8233fb715493591db2b68f1748558d9
[ "BSD-3-Clause" ]
319
2015-01-02T11:34:16.000Z
2022-03-25T00:43:33.000Z
regtests/webclgl/call_external_method.py
bpmbank/PythonJS
591a80afd8233fb715493591db2b68f1748558d9
[ "BSD-3-Clause" ]
10
2015-02-03T02:33:09.000Z
2021-11-09T21:41:00.000Z
regtests/webclgl/call_external_method.py
bpmbank/PythonJS
591a80afd8233fb715493591db2b68f1748558d9
[ "BSD-3-Clause" ]
61
2015-01-02T12:01:56.000Z
2021-12-08T07:16:16.000Z
"""external method""" class myclass: def __init__(self, i): self.index = i def get_index(self): return self.index def run(self, n): self.intarray = new(Int16Array(n)) self.intarray[ self.index ] = 99 @returns( array=n ) @gpu.main def gpufunc(): int* A = self.intarray ## GLSL compile error: `...
18.032258
61
0.631485
84
559
4.119048
0.464286
0.078035
0.075145
0.104046
0
0
0
0
0
0
0
0.027211
0.211091
559
31
62
18.032258
0.75737
0.184258
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
3197d22a066fe34f613aab3ff51fd1a605e176ab
2,895
py
Python
18.part2.py
elp2/advent_of_code_2018
0d359422dd04b0849481796005e97d05c30e9eb4
[ "Apache-2.0" ]
1
2021-12-02T15:19:36.000Z
2021-12-02T15:19:36.000Z
18.part2.py
elp2/advent_of_code_2018
0d359422dd04b0849481796005e97d05c30e9eb4
[ "Apache-2.0" ]
null
null
null
18.part2.py
elp2/advent_of_code_2018
0d359422dd04b0849481796005e97d05c30e9eb4
[ "Apache-2.0" ]
null
null
null
from collections import defaultdict def return_default(): return 0 REAL=open("18.txt").readlines() SAMPLE=open("18.sample").readlines() OPEN="." TREE="|" LUMBERYARD="#" import copy def safe_grid_get(grid, x, y, missing=None): if x < 0 or y < 0: return missing if y >= len(grid): return m...
21.444444
57
0.601382
433
2,895
3.979215
0.408776
0.024376
0.023215
0.034823
0.088218
0.069646
0.04527
0.04527
0.04527
0.04527
0
0.270864
0.292228
2,895
135
58
21.444444
0.570034
0.012435
0
0.156522
0
0
0.231362
0
0
0
0
0
0.017391
1
0.052174
false
0.008696
0.017391
0.017391
0.191304
0.034783
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
319925dc3819c9097723899fe8aef60117e396cb
817
py
Python
src/validate_model.py
mareklinka/esk-form-scanner-model
30af9e1c5d652b3310222bc55f92e964bc524f2e
[ "MIT" ]
null
null
null
src/validate_model.py
mareklinka/esk-form-scanner-model
30af9e1c5d652b3310222bc55f92e964bc524f2e
[ "MIT" ]
null
null
null
src/validate_model.py
mareklinka/esk-form-scanner-model
30af9e1c5d652b3310222bc55f92e964bc524f2e
[ "MIT" ]
null
null
null
import data_providers as gen import model_storage as storage import numpy as np import data_visualizer import time def evaluate(model_name): """ Evaluates the model stored in the specified file. Parameters ---------- model_name : string The name of the file to read the model from """...
24.757576
93
0.69645
105
817
5.27619
0.47619
0.048736
0.064982
0.097473
0.173285
0.173285
0.173285
0.173285
0
0
0
0.010558
0.188494
817
33
94
24.757576
0.825038
0.172583
0
0
0
0
0.124224
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.375
0.1875
0
0
0
null
0
0
0
0
0
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
31998f7e8bdabc90d6fe3933e2b885a9ef1b8e16
4,154
py
Python
sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v3_0_preview_1/models/_form_recognizer_client_enums.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
null
null
null
sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v3_0_preview_1/models/_form_recognizer_client_enums.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
null
null
null
sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v3_0_preview_1/models/_form_recognizer_client_enums.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
30.77037
94
0.667068
422
4,154
6.369668
0.462085
0.058036
0.147321
0.159598
0.259301
0.115327
0.090774
0.090774
0.090774
0.090774
0
0.005104
0.198122
4,154
134
95
31
0.801861
0.320173
0
0.121212
0
0
0.164754
0.008886
0
0
0
0
0
1
0.030303
false
0
0.030303
0.015152
0.954545
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
319ec31c5bec95f71fc86ec8dcab8ee33a9ec4c6
412
py
Python
CeV - Gustavo Guanabara/exerc033.py
us19861229c/Meu-aprendizado-Python
575c0714ac5377ff3122f4cb57952969e07ba89b
[ "Unlicense" ]
1
2021-12-11T19:53:41.000Z
2021-12-11T19:53:41.000Z
CeV - Gustavo Guanabara/exerc033.py
us19861229c/Meu-aprendizado-Python
575c0714ac5377ff3122f4cb57952969e07ba89b
[ "Unlicense" ]
null
null
null
CeV - Gustavo Guanabara/exerc033.py
us19861229c/Meu-aprendizado-Python
575c0714ac5377ff3122f4cb57952969e07ba89b
[ "Unlicense" ]
null
null
null
#033: ler tres numeros e dizer qual o maior e qual o menor: print("Digite 3 numeros:") maiorn = 0 n = int(input("Numero 1: ")) if n > maiorn: maiorn = n menorn = n n = int(input("Numero 2: ")) if n > maiorn: maiorn = n if n < menorn: menorn = n n = int(input("Numero 3: ")) if n > maiorn: maiorn = n...
20.6
60
0.601942
73
412
3.39726
0.342466
0.060484
0.108871
0.181452
0.471774
0.407258
0.258065
0.258065
0.258065
0.258065
0
0.02623
0.259709
412
19
61
21.684211
0.786885
0.140777
0
0.647059
0
0
0.274788
0
0
0
0
0
0
1
0
false
0
0
0
0
0.117647
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
31a75a5de6817edf26be7b64cce143ae2a37bc84
2,101
py
Python
lib/autoconnect/example/test_server.py
simotek/autoconnect
7d956e5bef0bcfe22b7f06061f8024df62b004ab
[ "FTL" ]
null
null
null
lib/autoconnect/example/test_server.py
simotek/autoconnect
7d956e5bef0bcfe22b7f06061f8024df62b004ab
[ "FTL" ]
null
null
null
lib/autoconnect/example/test_server.py
simotek/autoconnect
7d956e5bef0bcfe22b7f06061f8024df62b004ab
[ "FTL" ]
null
null
null
# # test_server.py # # Copyright (C) 2001-2007 Oisin Mulvihill. # Email: oisin.mulvihill@gmail.com # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # versio...
30.449275
79
0.643027
273
2,101
4.89011
0.564103
0.037453
0.026966
0.042697
0.074906
0.074906
0.050936
0
0
0
0
0.032916
0.277011
2,101
68
80
30.897059
0.845951
0.439791
0
0
0
0
0.159794
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
31aa23acdb0243f1a7dd745198a7dc1050b82ef5
1,726
py
Python
shongololo/Imet_serial.py
swyngaard/shongololo
0d11378fb0e61cae5da0e09c9eed10fd9195f20d
[ "Apache-2.0" ]
null
null
null
shongololo/Imet_serial.py
swyngaard/shongololo
0d11378fb0e61cae5da0e09c9eed10fd9195f20d
[ "Apache-2.0" ]
null
null
null
shongololo/Imet_serial.py
swyngaard/shongololo
0d11378fb0e61cae5da0e09c9eed10fd9195f20d
[ "Apache-2.0" ]
null
null
null
import serial , time , os import serial.tools.list_ports as port import logging sho_logger = logging.getLogger("shongololo_logger") def open_imets(devices): """Tries to open as many imet device serial ports as there are :return: a list of socket handles """ imet_sockets = [] for d in range(...
31.381818
164
0.618192
231
1,726
4.536797
0.428571
0.060115
0.040076
0.042939
0.051527
0.051527
0.051527
0
0
0
0
0.013492
0.269988
1,726
54
165
31.962963
0.818254
0
0
0.057143
0
0
0.139213
0
0
0
0
0
0
0
null
null
0.028571
0.085714
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
31ad8e6cefd31380ff5fa1bdef5437fd290e10f2
380
py
Python
rental_property/migrations/0011_alter_rentalunit_options.py
shumwe/rental-house-management-system
f97f22afa8bc2740ed08baa387c74b93e02fac0c
[ "MIT" ]
1
2022-03-16T13:29:30.000Z
2022-03-16T13:29:30.000Z
rental_property/migrations/0011_alter_rentalunit_options.py
shumwe/rental-house-management-system
f97f22afa8bc2740ed08baa387c74b93e02fac0c
[ "MIT" ]
null
null
null
rental_property/migrations/0011_alter_rentalunit_options.py
shumwe/rental-house-management-system
f97f22afa8bc2740ed08baa387c74b93e02fac0c
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-03-15 22:43 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('rental_property', '0010_alter_rentalunit_status'), ] operations = [ migrations.AlterModelOptions( name='rentalunit', options...
21.111111
61
0.628947
39
380
5.974359
0.820513
0
0
0
0
0
0
0
0
0
0
0.067616
0.260526
380
17
62
22.352941
0.761566
0.118421
0
0
1
0
0.255255
0.084084
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
31ade7fa4d1318ceab82ad2826fc1a70514e9372
951
py
Python
AxesFrame.py
Toyuri453/RSSP-Python-demo
0adf92ad765b5a9334d7e2830611b98c8c4eb26d
[ "MIT" ]
1
2021-05-22T18:06:49.000Z
2021-05-22T18:06:49.000Z
AxesFrame.py
Toyuri453/RSSP-Python-demo
0adf92ad765b5a9334d7e2830611b98c8c4eb26d
[ "MIT" ]
null
null
null
AxesFrame.py
Toyuri453/RSSP-Python-demo
0adf92ad765b5a9334d7e2830611b98c8c4eb26d
[ "MIT" ]
null
null
null
import Terminal class Axes(): def __init__(self, weak_terminal : 'Terminal.CartesianPoint'): # self._initiator_x = weak_terminal._x # self._initiator_y = weak_terminal._y self._initiator = Terminal.CartesianPoint(0.0, 0.0, "UWB", "initiator") self._weak_terminal = weak_termin...
50.052632
138
0.681388
114
951
5.263158
0.27193
0.14
0.125
0.08
0
0
0
0
0
0
0
0.009223
0.201893
951
19
139
50.052632
0.781291
0.087277
0
0
0
0
0.144038
0.054309
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.357143
0.214286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
31aed2d6bc8b935fd6033025428a672731040be9
1,898
py
Python
course_app/api/views.py
maks-nurgazy/diploma-project
66889488ffaa0269e1be2df6f6c76a3ca68a3cfb
[ "MIT" ]
null
null
null
course_app/api/views.py
maks-nurgazy/diploma-project
66889488ffaa0269e1be2df6f6c76a3ca68a3cfb
[ "MIT" ]
null
null
null
course_app/api/views.py
maks-nurgazy/diploma-project
66889488ffaa0269e1be2df6f6c76a3ca68a3cfb
[ "MIT" ]
null
null
null
import json from rest_framework.generics import ListAPIView, get_object_or_404 from rest_framework.response import Response from rest_framework.views import APIView from rest_framework.viewsets import ModelViewSet from course_app.api.serializers import CourseSerializer from course_app.models import Course, Enrolled f...
28.757576
74
0.714436
214
1,898
6.205607
0.313084
0.042169
0.051205
0.040663
0.090361
0.090361
0.090361
0.090361
0
0
0
0.003976
0.204953
1,898
65
75
29.2
0.876077
0
0
0.170213
0
0
0.015806
0
0
0
0
0
0
1
0.12766
false
0.021277
0.191489
0
0.638298
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
31b0a81b7e41eaa16ffc9d2a726e4978e07e1575
9,005
py
Python
service/repository/repository_controller.py
yutiansut/cilantro
3fa579999e7d5a6d6041ccc7e309c667fc7eac90
[ "Apache-2.0" ]
3
2019-09-04T12:40:33.000Z
2021-12-28T16:33:27.000Z
service/repository/repository_controller.py
yutiansut/cilantro
3fa579999e7d5a6d6041ccc7e309c667fc7eac90
[ "Apache-2.0" ]
97
2018-05-29T13:27:04.000Z
2021-11-02T11:03:33.000Z
service/repository/repository_controller.py
yutiansut/cilantro
3fa579999e7d5a6d6041ccc7e309c667fc7eac90
[ "Apache-2.0" ]
16
2018-04-25T11:39:21.000Z
2019-12-16T14:37:39.000Z
import os import json import logging import yaml from flask import Blueprint, jsonify, send_file, request, redirect from service.errors import ApiError from utils.repository import generate_repository_path, \ list_objects_in_repository from utils.list_dir import list_dir repository_controller = Blueprint('reposi...
28.769968
79
0.608329
1,063
9,005
5.008467
0.149577
0.039068
0.013524
0.024981
0.608377
0.560481
0.540195
0.477836
0.400263
0.326634
0
0.017034
0.289395
9,005
312
80
28.862179
0.814971
0.51327
0
0.246914
1
0
0.151314
0.045129
0
0
0
0
0
1
0.074074
false
0
0.098765
0
0.271605
0.024691
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
31b3246b48b5cc2ea21a0461162a64666ab485f1
4,676
py
Python
genshin/models/genshin/chronicle/notes.py
thesadru/genshin.py
806b8d0dd059a06605e66dead917fdf550a552bc
[ "MIT" ]
63
2021-10-04T19:53:54.000Z
2022-03-30T07:21:03.000Z
genshin/models/genshin/chronicle/notes.py
thesadru/genshin.py
806b8d0dd059a06605e66dead917fdf550a552bc
[ "MIT" ]
17
2021-11-16T20:42:52.000Z
2022-03-31T10:11:52.000Z
genshin/models/genshin/chronicle/notes.py
thesadru/genshin.py
806b8d0dd059a06605e66dead917fdf550a552bc
[ "MIT" ]
10
2021-10-16T22:41:41.000Z
2022-02-19T17:55:23.000Z
"""Genshin chronicle notes.""" import datetime import typing import pydantic from genshin.models.genshin import character from genshin.models.model import Aliased, APIModel __all__ = ["Expedition", "ExpeditionCharacter", "Notes"] def _process_timedelta(time: typing.Union[int, datetime.timedelta, datetime.datetime]...
34.131387
114
0.700385
521
4,676
6.095969
0.232246
0.064232
0.065176
0.054786
0.266058
0.127834
0.11461
0.099496
0.099496
0.077771
0
0.004744
0.188623
4,676
136
115
34.382353
0.832367
0.073139
0
0.126437
0
0
0.105877
0.045709
0
0
0
0
0
1
0.137931
false
0
0.057471
0.045977
0.609195
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
31ba54fbc1b1ed1f7e053b99d91ae0c4606e4d0f
314
py
Python
pydashlite/arrays/sum_by.py
glowlex/pydashlite
cbc96478fa610aeae95b5584b406aa0c35b89db1
[ "MIT" ]
null
null
null
pydashlite/arrays/sum_by.py
glowlex/pydashlite
cbc96478fa610aeae95b5584b406aa0c35b89db1
[ "MIT" ]
null
null
null
pydashlite/arrays/sum_by.py
glowlex/pydashlite
cbc96478fa610aeae95b5584b406aa0c35b89db1
[ "MIT" ]
null
null
null
from typing import Callable, Iterable, TypeVar T = TypeVar('T') Num = TypeVar('Num', int, float) def sumBy(array: Iterable[T], iteratee: Callable[[T], Num] = None, start: Num = 0) -> Num: if iteratee is None: return sum([y for y in array], start) return sum([iteratee(y) for y in array], start)
28.545455
90
0.646497
49
314
4.142857
0.489796
0.078818
0.049261
0.068966
0.167488
0.167488
0
0
0
0
0
0.004016
0.207006
314
10
91
31.4
0.811245
0
0
0
0
0
0.012739
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
31ba5edab7671efdaef9d530b3fadbb3b92a5249
344
py
Python
Ten_Most_Common_Words.py
mcjohnchristopher/Python_Samples
738f3b7d9baa7f4e396647f380118eba66ea645c
[ "CC0-1.0" ]
null
null
null
Ten_Most_Common_Words.py
mcjohnchristopher/Python_Samples
738f3b7d9baa7f4e396647f380118eba66ea645c
[ "CC0-1.0" ]
null
null
null
Ten_Most_Common_Words.py
mcjohnchristopher/Python_Samples
738f3b7d9baa7f4e396647f380118eba66ea645c
[ "CC0-1.0" ]
null
null
null
fhand = (romeo.txt) counts = dict() for line in fhand: words = line.split() for word in words(): count word = count.get(word, 0) + 1 st = list for Key,Value in count.items(): st.append((val,key)) st.sort(reverse = true) for val,key in st[:10]: print key, val #Using Sorted Function sorted [(v,k...
20.235294
38
0.622093
60
344
3.566667
0.55
0.056075
0
0
0
0
0
0
0
0
0
0.014925
0.22093
344
17
39
20.235294
0.783582
0.061047
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.076923
0
0
0
null
0
0
0
0
0
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
31bc57d9152ec85878460b40dfe42e1115dfd96e
615
py
Python
src/grpc_client.py
thealphadollar/py-grpcio-pg
aed6de047e4843f3bdf86184a0a2c5a1ecd6beb1
[ "MIT" ]
null
null
null
src/grpc_client.py
thealphadollar/py-grpcio-pg
aed6de047e4843f3bdf86184a0a2c5a1ecd6beb1
[ "MIT" ]
null
null
null
src/grpc_client.py
thealphadollar/py-grpcio-pg
aed6de047e4843f3bdf86184a0a2c5a1ecd6beb1
[ "MIT" ]
null
null
null
import grpc from consts import PORT, SERVER_CERT from grpc_generated_files import api_pb2, api_pb2_grpc def main(stub): request = api_pb2.ApiRequest( name="Shivam", message="Hey there!" ) response = stub.ApiEndpoint(request) print(response) if __name__ == "__main__": with open(S...
25.625
67
0.692683
85
615
4.741176
0.541176
0.099256
0.049628
0
0
0
0
0
0
0
0
0.008247
0.211382
615
23
68
26.73913
0.82268
0.099187
0
0
1
0
0.076087
0
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.235294
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
31be5bcba5067c3d0f88dba211c9dc9337d0bf13
2,560
py
Python
src/Cogs/InfoCog.py
kodyVS/Discord-Bot-Development
389bf69871adbe289f162ddbeeaf681023ca1f02
[ "MIT" ]
5
2020-05-27T20:03:45.000Z
2020-06-24T11:27:26.000Z
src/Cogs/InfoCog.py
kodyVS/Discord-Bot-Development
389bf69871adbe289f162ddbeeaf681023ca1f02
[ "MIT" ]
11
2020-05-28T10:56:26.000Z
2020-07-02T13:38:02.000Z
src/Cogs/InfoCog.py
kodyVS/Discord-Bot-Development
389bf69871adbe289f162ddbeeaf681023ca1f02
[ "MIT" ]
3
2020-05-28T20:31:02.000Z
2020-06-17T23:51:51.000Z
from discord.ext import commands import discord import requests from bs4 import BeautifulSoup # work in progress! more languages welcome! class InfoCog(commands.Cog): def __init__(self, bot): self.bot = bot @commands.command(name = 'docs', brief = 'programming language documentation', description = '...
49.230769
210
0.632031
316
2,560
5.06962
0.506329
0.0799
0.02372
0.022472
0.051186
0
0
0
0
0
0
0.01576
0.231641
2,560
51
211
50.196078
0.798678
0.098438
0
0.058824
0
0.117647
0.333184
0.021076
0
0
0.007175
0.019608
0
1
0.029412
false
0
0.117647
0
0.176471
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
31c6e6ace01eea05877a86d1f6316d5a911da292
588
py
Python
test/show-cifar10.py
tom01h/deep-learning-from-scratch
acb3c31976cd736b4abd21c3e8ab81c3bf0eb9bb
[ "MIT" ]
3
2018-10-11T16:19:18.000Z
2022-01-16T07:48:06.000Z
test/show-cifar10.py
tom01h/deep-learning-from-scratch
acb3c31976cd736b4abd21c3e8ab81c3bf0eb9bb
[ "MIT" ]
null
null
null
test/show-cifar10.py
tom01h/deep-learning-from-scratch
acb3c31976cd736b4abd21c3e8ab81c3bf0eb9bb
[ "MIT" ]
null
null
null
# coding: utf-8 import sys, os sys.path.append(os.pardir) # 親ディレクトリのファイルをインポートするための設定 import numpy as np from dataset.cifar10 import load_cifar10 from PIL import Image np.set_printoptions(threshold=100) (x_train, t_train), (x_test, t_test) = load_cifar10(flatten=False) sample_image = x_test[0:100].reshap...
34.588235
128
0.727891
96
588
4.3125
0.510417
0.07971
0.038647
0.072464
0.26087
0.26087
0.169082
0
0
0
0
0.104046
0.117347
588
16
129
36.75
0.693642
0.210884
0
0
0
0
0.022624
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
31c7910d7253d24e22e70937e36be79e678386eb
10,533
py
Python
PWWS/fool.py
ForeverZyh/ASCC
2d76d679889953501c469221a37d486e7ee42ded
[ "MIT" ]
21
2021-03-22T07:14:29.000Z
2022-03-24T02:05:25.000Z
PWWS/fool.py
ForeverZyh/ASCC
2d76d679889953501c469221a37d486e7ee42ded
[ "MIT" ]
2
2021-04-07T11:31:01.000Z
2022-01-10T03:41:10.000Z
PWWS/fool.py
ForeverZyh/ASCC
2d76d679889953501c469221a37d486e7ee42ded
[ "MIT" ]
4
2021-05-05T18:44:13.000Z
2021-07-29T03:09:50.000Z
# coding: utf-8 from __future__ import division from __future__ import print_function from __future__ import unicode_literals import sys import argparse import os import numpy as np from read_files import split_imdb_files, split_yahoo_files, split_agnews_files from word_level_process import word_process, get_tokenizer ...
46.606195
122
0.619102
1,334
10,533
4.541979
0.142429
0.023766
0.047037
0.051989
0.66199
0.655554
0.628817
0.623205
0.623205
0.60472
0
0.005531
0.279123
10,533
225
123
46.813333
0.79244
0.035792
0
0.579787
0
0
0.097801
0.015873
0
0
0
0
0.005319
1
0.015957
false
0
0.085106
0
0.101064
0.095745
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
31d09d41c952173a6ae2b73dccad4ea1fbc25f01
722
py
Python
compress.py
willemwouters/PhotoboothPi
7ef65d1411af15ea51e23ea8ddbd598affd2680d
[ "Beerware" ]
null
null
null
compress.py
willemwouters/PhotoboothPi
7ef65d1411af15ea51e23ea8ddbd598affd2680d
[ "Beerware" ]
null
null
null
compress.py
willemwouters/PhotoboothPi
7ef65d1411af15ea51e23ea8ddbd598affd2680d
[ "Beerware" ]
null
null
null
import os import time import sys if(len(sys.argv) is 1): path="/home/pi/storage/" else: path=sys.argv[1] try: arr=[] for filename in os.listdir(path): if("2018-09" in filename): arr.append(filename) for f in arr: filen = os.path.splitext(f)[0] if(("%s.h264"...
30.083333
149
0.50831
111
722
3.306306
0.432432
0.054496
0.038147
0.065395
0.076294
0
0
0
0
0
0
0.041833
0.304709
722
24
150
30.083333
0.689243
0
0
0
0
0.047619
0.182573
0
0
0
0
0
0
0
null
null
0
0.142857
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
31d79e6d0a59cc3302d9155c1c4c15215d0a9e1b
1,387
py
Python
pygromos/tests/test_submission/test_hpc_queuing_submission_scheduling.py
pultar/PyGromosTools
3c104c560c2e654972a036e2060b120ade96f655
[ "MIT" ]
13
2021-03-17T09:29:37.000Z
2022-01-14T20:42:16.000Z
pygromos/tests/test_submission/test_hpc_queuing_submission_scheduling.py
pultar/PyGromosTools
3c104c560c2e654972a036e2060b120ade96f655
[ "MIT" ]
185
2021-03-03T14:24:55.000Z
2022-03-31T18:39:29.000Z
pygromos/tests/test_submission/test_hpc_queuing_submission_scheduling.py
pultar/PyGromosTools
3c104c560c2e654972a036e2060b120ade96f655
[ "MIT" ]
13
2021-03-03T14:18:06.000Z
2022-02-17T09:48:55.000Z
import unittest, tempfile from pygromos.simulations.hpc_queuing.job_scheduling.schedulers import simulation_scheduler from pygromos.data.simulation_parameters_templates import template_md from pygromos.data.topology_templates import blank_topo_template from pygromos.simulations.hpc_queuing.submission_systems import D...
46.233333
114
0.746215
184
1,387
5.211957
0.342391
0.087591
0.04171
0.054223
0.068822
0
0
0
0
0
0
0.001786
0.192502
1,387
29
115
47.827586
0.854464
0
0
0
0
0
0.028839
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
31dbeeeb585ae91b3ec528faf0591108ed8cc73b
848
py
Python
hear_me_django_app/accounts/management/commands/initial_users.py
kamil1marczak/hear_me_django_app
2a567c15acddbf6bf183c6c637a3785c2a9c9c5c
[ "MIT" ]
null
null
null
hear_me_django_app/accounts/management/commands/initial_users.py
kamil1marczak/hear_me_django_app
2a567c15acddbf6bf183c6c637a3785c2a9c9c5c
[ "MIT" ]
null
null
null
hear_me_django_app/accounts/management/commands/initial_users.py
kamil1marczak/hear_me_django_app
2a567c15acddbf6bf183c6c637a3785c2a9c9c5c
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.contrib.auth.hashers import make_password from django.core.management.base import BaseCommand from ._private import populate_user User = get_user_model() class Command(BaseCommand): help = 'admin deployment' def add_arguments(self, parser): p...
36.869565
118
0.714623
110
848
5.381818
0.6
0.050676
0.057432
0.070946
0
0
0
0
0
0
0
0.004335
0.183962
848
22
119
38.545455
0.851156
0
0
0
0
0
0.199292
0
0
0
0
0
0
1
0.117647
false
0.117647
0.235294
0
0.470588
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
31ea1b716a1b8a3e2fc957132ac8497e9ccd0dcb
10,826
py
Python
2015/day7/2015-day7-part2.py
matt-the-ogre/advent-of-code
7188089d4db4a99fa09ef8366137fe28d1c28205
[ "MIT" ]
1
2021-12-03T18:17:54.000Z
2021-12-03T18:17:54.000Z
2015/day7/2015-day7-part2.py
matt-the-ogre/advent-of-code
7188089d4db4a99fa09ef8366137fe28d1c28205
[ "MIT" ]
null
null
null
2015/day7/2015-day7-part2.py
matt-the-ogre/advent-of-code
7188089d4db4a99fa09ef8366137fe28d1c28205
[ "MIT" ]
null
null
null
# Advent of Code - 2015 - Day 7 # --- Day 7: Some Assembly Required --- # This year, Santa brought little Bobby Tables a set of wires and bitwise logic gates! Unfortunately, little Bobby is a little under the recommended age range, and he needs help assembling the circuit. # Each wire has an identifier (some lowerca...
42.289063
362
0.608627
1,321
10,826
4.986374
0.258138
0.076514
0.054653
0.022772
0.227873
0.2092
0.171246
0.139365
0.101108
0.101108
0
0.022882
0.293553
10,826
255
363
42.454902
0.838389
0.440052
0
0.325
0
0
0.101692
0.004188
0
0
0
0.003922
0
1
0.025
false
0.1
0.008333
0
0.033333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
31ee781effe2a319a7f8d1c8b7b12faf33878337
1,846
py
Python
tests/dgds_functions_test.py
openearth/hydro-engine-service
8e7eea489ee241dad2d6d8152d1c30af8a09a8d1
[ "MIT" ]
4
2019-02-15T13:53:01.000Z
2021-12-13T09:53:02.000Z
tests/dgds_functions_test.py
openearth/hydro-engine-service
8e7eea489ee241dad2d6d8152d1c30af8a09a8d1
[ "MIT" ]
12
2018-12-19T08:30:29.000Z
2021-04-21T12:59:59.000Z
tests/dgds_functions_test.py
openearth/hydro-engine-service
8e7eea489ee241dad2d6d8152d1c30af8a09a8d1
[ "MIT" ]
4
2018-10-17T23:48:21.000Z
2020-08-05T18:36:14.000Z
import logging import pytest from . import auth from hydroengine_service import dgds_functions logger = logging.getLogger(__name__) class TestDGDSFunctions: @pytest.mark.parametrize('source, start_date, end_date, limit', [ ('projects/dgds-gee/bathym...
51.277778
109
0.538462
193
1,846
4.989637
0.34715
0.149533
0.202492
0.13811
0.458982
0.341641
0.070613
0
0
0
0
0.037954
0.343445
1,846
35
110
52.742857
0.756601
0
0
0
0
0
0.302275
0.255688
0
0
0
0
0.111111
1
0.037037
false
0
0.148148
0
0.222222
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9ec42ebdeb8c357fae82c9abfd68ebde784ec5ba
1,280
py
Python
TeamClassificationUtils.py
Neerajj9/Computer-Vision-based-Offside-Detection-in-soccer
744bfc636463f24c4f78f25684864c2ce4abb43f
[ "MIT" ]
8
2020-10-17T14:54:53.000Z
2022-02-09T11:03:01.000Z
TeamClassificationUtils.py
Neerajj9/Computer-Vision-based-Offside-Detection-in-soccer
744bfc636463f24c4f78f25684864c2ce4abb43f
[ "MIT" ]
4
2021-01-03T16:02:29.000Z
2021-11-23T03:26:01.000Z
TeamClassificationUtils.py
Neerajj9/Computer-Vision-based-Offside-Detection-in-soccer
744bfc636463f24c4f78f25684864c2ce4abb43f
[ "MIT" ]
2
2021-04-10T07:05:55.000Z
2021-09-19T23:22:18.000Z
import numpy as np # TODO : add code for referee def get_team_classifications(teamColor1, teamColor2, refColor, keeper1Color, keeper2Color, pose_estimations): for pose in pose_estimations: if len(pose[1]) < 2: pose.append('color not found') continue colorDiffs = {} ...
33.684211
109
0.651563
156
1,280
5.314103
0.378205
0.101327
0.054282
0.084439
0.226779
0.173703
0.173703
0.173703
0.173703
0
0
0.025819
0.213281
1,280
38
110
33.684211
0.797418
0.021094
0
0.074074
0
0
0.030351
0
0
0
0
0.026316
0
1
0.037037
false
0
0.037037
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9eca8cb06280c8af6786e7a410286dc58b44dac0
5,734
py
Python
src/gt4sd/algorithms/generation/polymer_blocks/core.py
hhhsu0825/gt4sd-core
4a1fe9da58d2f33bba2fba64604427e037ad7a46
[ "MIT" ]
null
null
null
src/gt4sd/algorithms/generation/polymer_blocks/core.py
hhhsu0825/gt4sd-core
4a1fe9da58d2f33bba2fba64604427e037ad7a46
[ "MIT" ]
null
null
null
src/gt4sd/algorithms/generation/polymer_blocks/core.py
hhhsu0825/gt4sd-core
4a1fe9da58d2f33bba2fba64604427e037ad7a46
[ "MIT" ]
null
null
null
"""PaccMann vanilla generator trained on polymer building blocks (catalysts/monomers).""" import logging import os from dataclasses import field from typing import ClassVar, Dict, Optional, TypeVar from ....domains.materials import SmallMolecule, validate_molecules from ....exceptions import InvalidItem from ....trai...
35.614907
108
0.646495
536
5,734
6.755597
0.350746
0.06628
0.096658
0.045568
0.113781
0.103563
0.08285
0.05689
0.044739
0.044739
0
0.002181
0.280258
5,734
160
109
35.8375
0.875212
0.235612
0
0.09
0
0
0.094271
0.017404
0
0
0
0.0125
0.01
1
0.07
false
0
0.11
0.01
0.32
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
9ecd99d19c3e1460adaaef7fa6dcf5ae53718429
2,551
py
Python
python-trunk/sfapi2/sflib/ZSI/wstools/XMLname.py
raychorn/svn_molten-magma
8aa2ff2340707eecae6514943e86f5afba9cd54a
[ "CC0-1.0" ]
null
null
null
python-trunk/sfapi2/sflib/ZSI/wstools/XMLname.py
raychorn/svn_molten-magma
8aa2ff2340707eecae6514943e86f5afba9cd54a
[ "CC0-1.0" ]
null
null
null
python-trunk/sfapi2/sflib/ZSI/wstools/XMLname.py
raychorn/svn_molten-magma
8aa2ff2340707eecae6514943e86f5afba9cd54a
[ "CC0-1.0" ]
null
null
null
"""Translate strings to and from SOAP 1.2 XML name encoding Implements rules for mapping application defined name to XML names specified by the w3 SOAP working group for SOAP version 1.2 in Appendix A of "SOAP Version 1.2 Part 2: Adjuncts", W3C Working Draft 17, December 2001, <http://www.w3.org/TR/soap12-part2/#...
28.662921
79
0.547236
375
2,551
3.661333
0.378667
0.050983
0.081573
0.018937
0.1311
0.02622
0
0
0
0
0
0.053994
0.288514
2,551
88
80
28.988636
0.702479
0.02156
0
0.040816
0
0
0.084416
0
0
0
0
0
0
0
null
null
0
0.020408
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
9ed032bb75772e44674a7c37bb30bc62c636bc41
3,695
py
Python
step2.py
mosheliv/tfcollab1
50da5683fb40a50cb957aeca2d28bc9f72440813
[ "MIT" ]
null
null
null
step2.py
mosheliv/tfcollab1
50da5683fb40a50cb957aeca2d28bc9f72440813
[ "MIT" ]
null
null
null
step2.py
mosheliv/tfcollab1
50da5683fb40a50cb957aeca2d28bc9f72440813
[ "MIT" ]
null
null
null
""" Usage: # From tensorflow/models/ # Create train data: python generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=train.record # Create test data: python generate_tfrecord.py --csv_input=data/test_labels.csv --output_path=test.record """ from __future__ import division from __future__ i...
32.991071
96
0.700677
500
3,695
4.932
0.264
0.034063
0.036496
0.040552
0.194647
0.161395
0.161395
0.143552
0.111111
0.111111
0
0.006816
0.166171
3,695
111
97
33.288288
0.793574
0.080379
0
0
1
0
0.128024
0.039823
0
0
0
0
0
1
0.108434
false
0
0.108434
0.060241
0.313253
0.036145
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
9ed2a743eca4dbe121cf458e5a0377ba7b5dca61
385
py
Python
algorithms/python/118.py
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
3
2016-10-01T10:15:09.000Z
2017-07-09T02:53:36.000Z
algorithms/python/118.py
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
algorithms/python/118.py
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
class Solution: def generate(self, numRows): """ :type numRows: int :rtype: List[List[int]] """ if numRows == 0: return [] rls = [[1]] for i in range(2, numRows+1): row = [1] * i for j in range(1, i-1): row[j] = rls[-1][...
25.666667
50
0.415584
50
385
3.2
0.46
0.075
0.0625
0
0
0
0
0
0
0
0
0.045249
0.425974
385
14
51
27.5
0.678733
0.109091
0
0
1
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9ed556610d4e386e3f7c1552b11e15722ee31053
1,125
py
Python
DynamicProgramming/longestIncreasingSubsequence.py
suyash248/data_structures
41a732cebf791ed63edbce10329251f03b763ccf
[ "Apache-2.0" ]
7
2017-12-13T05:54:29.000Z
2022-03-25T09:10:59.000Z
DynamicProgramming/longestIncreasingSubsequence.py
suyash248/data_structures
41a732cebf791ed63edbce10329251f03b763ccf
[ "Apache-2.0" ]
null
null
null
DynamicProgramming/longestIncreasingSubsequence.py
suyash248/data_structures
41a732cebf791ed63edbce10329251f03b763ccf
[ "Apache-2.0" ]
4
2019-05-22T02:51:56.000Z
2021-05-23T10:49:57.000Z
from Array import empty_1d_array """ input array : [10, 22, 9, 33, 21, 50, 41, 60] # Element at each index `i` is representing length of longest LIS from index 0 to i in input array. output array: [1, 2, 1, 3, 2, 4, 4, 5] """ # Time complexity: O(n^2) # Space complexity: O(n) def lis_dp(arr): # Length...
36.290323
99
0.543111
190
1,125
3
0.336842
0.084211
0.084211
0.057895
0.177193
0.147368
0.147368
0.147368
0.094737
0.094737
0
0.067385
0.340444
1,125
31
100
36.290323
0.700809
0.182222
0
0
0
0
0.100424
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.0625
0
0
0
null
0
0
0
0
0
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
9edfa90d3388411fff4970296751427f8a1b76b6
257
py
Python
2_UNIXCommands/Exercise11.py
takeyoshinitta/NLP-100-Exercise
e77fb385fbbf50c8a8bdc47442db1421739ea5b6
[ "MIT" ]
3
2022-01-04T19:02:22.000Z
2022-02-21T08:52:18.000Z
2_UNIXCommands/Exercise11.py
takeyoshinitta/NLP-100-Exercise
e77fb385fbbf50c8a8bdc47442db1421739ea5b6
[ "MIT" ]
null
null
null
2_UNIXCommands/Exercise11.py
takeyoshinitta/NLP-100-Exercise
e77fb385fbbf50c8a8bdc47442db1421739ea5b6
[ "MIT" ]
null
null
null
# 11. Replace tabs into spaces # Replace every occurrence of a tab character into a space. Confirm the result by using sed, tr, or expand command. with open('popular-names.txt') as f: for line in f: print(line.strip().replace("\t", " "))
36.714286
116
0.66537
41
257
4.170732
0.853659
0
0
0
0
0
0
0
0
0
0
0.01
0.22179
257
6
117
42.833333
0.845
0.552529
0
0
0
0
0.188679
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9ee57d6363120b9d54a9902e2243f9122d20af71
4,810
py
Python
src/core/serializers.py
pradipta/back-end
05895b051afc4c8e0cb17db708063d80102e9de5
[ "MIT" ]
17
2019-05-11T22:15:34.000Z
2022-03-26T22:45:33.000Z
src/core/serializers.py
pradipta/back-end
05895b051afc4c8e0cb17db708063d80102e9de5
[ "MIT" ]
390
2019-05-23T10:48:57.000Z
2021-12-17T21:01:43.000Z
src/core/serializers.py
pradipta/back-end
05895b051afc4c8e0cb17db708063d80102e9de5
[ "MIT" ]
40
2019-05-21T14:41:57.000Z
2021-01-30T13:39:38.000Z
from django.contrib.auth import get_user_model from rest_auth.registration.serializers import ( RegisterSerializer as BaseRegisterSerializer, ) from rest_auth.registration.serializers import ( SocialLoginSerializer as BaseSocialLoginSerializer, ) from rest_auth.serializers import LoginSerializer as BaseLoginSer...
33.172414
88
0.677755
474
4,810
6.772152
0.278481
0.017445
0.031776
0.037383
0.482243
0.359502
0.310903
0.282243
0.282243
0.255452
0
0.002176
0.235551
4,810
144
89
33.402778
0.870819
0.121622
0
0.361702
0
0
0.122139
0
0
0
0
0
0
1
0.074468
false
0.106383
0.095745
0.021277
0.457447
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
9ee68cd6efba5b094a83a85c60acb1031a826384
2,050
py
Python
tools/docs/generate_api_rst.py
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
17,703
2017-09-14T18:23:43.000Z
2022-03-31T22:04:17.000Z
tools/docs/generate_api_rst.py
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
15,957
2017-09-14T16:38:22.000Z
2022-03-31T23:56:30.000Z
tools/docs/generate_api_rst.py
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
3,780
2017-09-14T18:58:47.000Z
2022-03-31T17:10:47.000Z
import os import shutil import sys import tarfile def include_package(envoy_api_protos, rst_file_path, prefix): # `envoy_api_rst_files` is a list of file paths for .proto.rst files # generated by protodoc # # we are only interested in the proto files generated for envoy protos, # not for non-envoy...
32.03125
96
0.642927
289
2,050
4.380623
0.318339
0.056872
0.060821
0.052133
0.228278
0.193523
0.106635
0.106635
0.075829
0
0
0.006545
0.254634
2,050
63
97
32.539683
0.82199
0.312195
0
0.121212
0
0
0.100647
0.042416
0
0
0
0.015873
0
1
0.060606
false
0
0.121212
0
0.272727
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
9ee7307b78f857465fe941638e5a41dd83ec835a
15,792
py
Python
src/wa_parser.py
ifly6/NS-WA-Authorboards
57921457795306867844a29cdfce88bfcdd1c3f6
[ "Apache-2.0" ]
null
null
null
src/wa_parser.py
ifly6/NS-WA-Authorboards
57921457795306867844a29cdfce88bfcdd1c3f6
[ "Apache-2.0" ]
null
null
null
src/wa_parser.py
ifly6/NS-WA-Authorboards
57921457795306867844a29cdfce88bfcdd1c3f6
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020 ifly6 import html import io import re from datetime import datetime from functools import cache from typing import Tuple import numpy as np import pandas as pd import requests from bs4 import BeautifulSoup from lxml import etree from pytz import timezone from ratelimit import limits, sleep_and_ret...
38.705882
123
0.590109
1,915
15,792
4.772846
0.269974
0.014004
0.017505
0.035011
0.128556
0.101313
0.080744
0.030635
0.02407
0.020131
0
0.008902
0.288627
15,792
407
124
38.800983
0.8047
0.138804
0
0.108303
0
0.00361
0.191829
0.0411
0
0
0
0
0.00722
1
0.043321
false
0.061372
0.057762
0.00361
0.151625
0.039711
0
0
0
null
0
0
0
0
0
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
9eec86a2c6579218afa159749612db5d5e43ce59
3,198
py
Python
models/__init__.py
esentino/literate-doodle
598533042602b989a4bdaa8778968c5f3ead3500
[ "Apache-2.0" ]
null
null
null
models/__init__.py
esentino/literate-doodle
598533042602b989a4bdaa8778968c5f3ead3500
[ "Apache-2.0" ]
null
null
null
models/__init__.py
esentino/literate-doodle
598533042602b989a4bdaa8778968c5f3ead3500
[ "Apache-2.0" ]
1
2019-09-11T21:27:37.000Z
2019-09-11T21:27:37.000Z
# models/__init__.py from clcrypto import password_hash from psycopg2 import connect def make_connection(db_name='w3'): cnx = connect(user='postgres', password='coderslab', database=db_name, host='localhost') cnx.autocommit = True return cnx class User: __id = None username = None __hashed_p...
31.663366
92
0.581614
374
3,198
4.724599
0.216578
0.101868
0.054329
0.061121
0.44086
0.426712
0.411998
0.389926
0.309564
0.282965
0
0.008261
0.318637
3,198
100
93
31.98
0.802662
0.049719
0
0.404762
0
0
0.147709
0
0
0
0
0
0
1
0.119048
false
0.214286
0.02381
0.02381
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
1
0
0
0
0
0
1
9eed09503a5541f18459a14cf6ef3617066817b6
4,124
py
Python
crys3d/command_line/model_viewer.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
crys3d/command_line/model_viewer.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
crys3d/command_line/model_viewer.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division # LIBTBX_PRE_DISPATCHER_INCLUDE_SH export PHENIX_GUI_ENVIRONMENT=1 # LIBTBX_PRE_DISPATCHER_INCLUDE_SH export BOOST_ADAPTBX_FPE_DEFAULT=1 import cStringIO from crys3d.wx_selection_editor import selection_editor_mixin import wx import libtbx.load_env import sys, os, time ################...
38.185185
78
0.707081
585
4,124
4.671795
0.333333
0.030735
0.030735
0.021954
0.095134
0.072448
0.024881
0.024881
0
0
0
0.01005
0.17968
4,124
107
79
38.542056
0.797813
0.042192
0
0.041237
0
0
0.087529
0.018848
0
0
0
0
0
0
null
null
0
0.113402
null
null
0.030928
0
0
0
null
0
0
0
0
0
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
9eeee0e6163243e2bcb3f1fbe4bb62fbc1fef478
4,865
py
Python
JIG.py
mmg1/JIG
bc36ed013b5ba48e549a16151b9135e271d55055
[ "MIT" ]
28
2017-12-04T02:03:25.000Z
2021-09-13T04:37:21.000Z
JIG.py
mmg1/JIG
bc36ed013b5ba48e549a16151b9135e271d55055
[ "MIT" ]
1
2018-01-20T21:13:56.000Z
2018-01-20T21:13:56.000Z
JIG.py
NetSPI/JIG
bc36ed013b5ba48e549a16151b9135e271d55055
[ "MIT" ]
18
2018-01-08T13:40:29.000Z
2022-02-20T17:10:57.000Z
import re import sys from itertools import izip as zip import argparse import requests # argparse definitions parser = argparse.ArgumentParser(description='Jira attack script') parser.add_argument('URL', type=str , help='the URL of the Jira instance... ex. https://jira.organization.com/') parser.add_argument(...
39.233871
133
0.615211
531
4,865
5.595104
0.335217
0.030293
0.034332
0.035342
0.261528
0.231908
0.194211
0.134635
0.074049
0.074049
0
0.00635
0.255498
4,865
124
134
39.233871
0.813915
0.01665
0
0.3
0
0
0.248838
0.025093
0
0
0
0
0
0
null
null
0
0.05
null
null
0.37
0
0
0
null
0
0
0
0
0
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
9ef839c4fcb13ab1bd28852911644c75dc9c3837
48,320
py
Python
neon/backends/gpu.py
kashif/neon
d4d8ed498ee826b67f5fda1746d2d65c8ce613d2
[ "Apache-2.0" ]
1
2018-07-17T16:54:58.000Z
2018-07-17T16:54:58.000Z
neon/backends/gpu.py
kashif/neon
d4d8ed498ee826b67f5fda1746d2d65c8ce613d2
[ "Apache-2.0" ]
null
null
null
neon/backends/gpu.py
kashif/neon
d4d8ed498ee826b67f5fda1746d2d65c8ce613d2
[ "Apache-2.0" ]
2
2016-06-09T13:05:00.000Z
2021-02-18T14:18:15.000Z
# ---------------------------------------------------------------------------- # Copyright 2014 Nervana Systems 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.o...
39.736842
79
0.556126
5,446
48,320
4.882666
0.125046
0.0176
0.011733
0.011846
0.618405
0.581475
0.560453
0.529803
0.504306
0.489263
0
0.003858
0.366991
48,320
1,215
80
39.769547
0.865498
0.572641
0
0.224359
0
0
0.024425
0
0
0
0
0
0
1
0.217949
false
0.003205
0.025641
0.00641
0.378205
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
9ef87644a467b7a43c75ac4ae95f1780dab19950
3,934
py
Python
algopy/base_type.py
arthus701/algopy
1e2430f803289bbaed6bbdff6c28f98d7767835c
[ "Unlicense" ]
54
2015-03-05T13:38:08.000Z
2021-11-29T11:54:48.000Z
algopy/base_type.py
arthus701/algopy
1e2430f803289bbaed6bbdff6c28f98d7767835c
[ "Unlicense" ]
7
2016-04-06T11:25:00.000Z
2020-11-09T13:53:20.000Z
algopy/base_type.py
arthus701/algopy
1e2430f803289bbaed6bbdff6c28f98d7767835c
[ "Unlicense" ]
13
2015-01-17T17:05:56.000Z
2021-08-05T01:13:16.000Z
""" This implements an abstrace base class Ring . Rationale: Goal is to separate the datatype specification from the algorithms and containers for the following reasons: 1) It allows to directly use the algorithms *without* overhead. E.g. calling mul(z.data, x.data, y.data) has much le...
35.125
113
0.630147
530
3,934
4.401887
0.373585
0.073296
0.039006
0.046292
0.243463
0.243463
0.223746
0.223746
0.193742
0.125161
0
0.004296
0.290036
3,934
111
114
35.441441
0.831006
0.482206
0
0.285714
0
0.02381
0.047439
0
0
0
0
0
0
1
0.214286
false
0
0.02381
0.095238
0.52381
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
9ef9d0cb1ac73ebdbfd64d7d2d0514517d257322
734
py
Python
src/python/director/builtin/plugins/measurement_tool/plugin.py
afdaniele/director
845ba027f9009803fcf77f44874f2ab9d7ab72e3
[ "BSD-3-Clause" ]
null
null
null
src/python/director/builtin/plugins/measurement_tool/plugin.py
afdaniele/director
845ba027f9009803fcf77f44874f2ab9d7ab72e3
[ "BSD-3-Clause" ]
null
null
null
src/python/director/builtin/plugins/measurement_tool/plugin.py
afdaniele/director
845ba027f9009803fcf77f44874f2ab9d7ab72e3
[ "BSD-3-Clause" ]
null
null
null
from director.devel.plugin import GenericPlugin from director.fieldcontainer import FieldContainer from .lib import measurementpanel from PythonQt import QtCore class Plugin(GenericPlugin): ID = 'measurement_tool' NAME = 'MeasurementTool' DEPENDENCIES = ['MainWindow'] def __init__(self, app, view): sup...
25.310345
77
0.741144
68
734
7.867647
0.529412
0.039252
0.041122
0
0
0
0
0
0
0
0
0
0.175749
734
28
78
26.214286
0.884298
0.004087
0
0
0
0
0.056241
0
0
0
0
0
0
1
0.095238
false
0
0.190476
0
0.52381
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
7300890aeb852238c2f50f2aafaca22c70ba3108
158
py
Python
Python/Back_solve_python/back_joon/StringArray/P10808.py
skyriv213/Studyriv
6dfd3c52a873cd3bdb018280d81aec8bdcf61e6e
[ "MIT" ]
null
null
null
Python/Back_solve_python/back_joon/StringArray/P10808.py
skyriv213/Studyriv
6dfd3c52a873cd3bdb018280d81aec8bdcf61e6e
[ "MIT" ]
null
null
null
Python/Back_solve_python/back_joon/StringArray/P10808.py
skyriv213/Studyriv
6dfd3c52a873cd3bdb018280d81aec8bdcf61e6e
[ "MIT" ]
null
null
null
s = input() num = [0] * 26 for i in range(len(s)): num[ord(s[i])-97] += 1 for i in num: print(i, end = " ") if i == len(num)-1: print(i)
15.8
26
0.455696
31
158
2.322581
0.516129
0.111111
0.166667
0
0
0
0
0
0
0
0
0.064815
0.316456
158
9
27
17.555556
0.601852
0
0
0
0
0
0.006329
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
73009bb6994a5ff455eca19ffc1b698f9cf1d1d2
600
py
Python
src/reliefcpp/utils.py
ferrocactus/reliefcpp
41705a9e5c749e700f83f9fe9f352457ae57426d
[ "MIT" ]
null
null
null
src/reliefcpp/utils.py
ferrocactus/reliefcpp
41705a9e5c749e700f83f9fe9f352457ae57426d
[ "MIT" ]
null
null
null
src/reliefcpp/utils.py
ferrocactus/reliefcpp
41705a9e5c749e700f83f9fe9f352457ae57426d
[ "MIT" ]
null
null
null
from enum import Enum from numpy import isin class Metric(Enum): EUCLIDEAN = 0 MANHATTAN = 1 HAMMING = 2 L2 = 3 L1 = 4 metric_names = [ "euclidean", "manhattan", "hamming", "l2", "l1" ] def _validate_metric(metric_name): if isinstance(metric_name, Metric): retu...
18.181818
54
0.638333
73
600
5.068493
0.493151
0.243243
0.162162
0.12973
0
0
0
0
0
0
0
0.020595
0.271667
600
32
55
18.75
0.826087
0
0
0
0
0
0.091667
0
0
0
0
0
0
1
0.04
false
0
0.08
0
0.48
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7306a719a754d7eb090a7a28857cf9ab3cc30caf
1,880
py
Python
plotter.py
ZiegHailo/SMUVI
c324c881c511f1c44e481f93e6bd6fe7f85d4ded
[ "MIT" ]
null
null
null
plotter.py
ZiegHailo/SMUVI
c324c881c511f1c44e481f93e6bd6fe7f85d4ded
[ "MIT" ]
null
null
null
plotter.py
ZiegHailo/SMUVI
c324c881c511f1c44e481f93e6bd6fe7f85d4ded
[ "MIT" ]
null
null
null
__author__ = 'zieghailo' import matplotlib.pyplot as plt # plt.ion() def show(): plt.show() plt.get_current_fig_manager().full_screen_toggle() def plot_graph(graph): # plt.ion() x = [p.x for p in graph.points] y = [p.y for p in graph.points] plt.plot(x, y, 'b*') plt.draw() def plot_ar...
22.650602
79
0.579787
285
1,880
3.673684
0.312281
0.026743
0.040115
0.022923
0.170965
0.090735
0.038204
0.038204
0
0
0
0.012463
0.274468
1,880
83
80
22.650602
0.755132
0.030319
0
0.054545
0
0
0.053326
0
0
0
0
0
0
0
null
null
0
0.018182
null
null
0.018182
0
0
0
null
0
0
0
0
0
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
7306a81bcc0bef579d78b882fb2bc110b0f6bf5f
1,506
py
Python
fannypack/utils/_deprecation.py
brentyi/hfdsajk
2888aa5d969824ac1e1a528264674ece3f4703f9
[ "MIT" ]
5
2020-03-13T21:34:31.000Z
2020-10-27T15:18:17.000Z
fannypack/utils/_deprecation.py
brentyi/hfdsajk
2888aa5d969824ac1e1a528264674ece3f4703f9
[ "MIT" ]
2
2020-06-17T11:06:56.000Z
2020-10-25T03:06:18.000Z
fannypack/utils/_deprecation.py
brentyi/hfdsajk
2888aa5d969824ac1e1a528264674ece3f4703f9
[ "MIT" ]
4
2020-03-15T01:55:18.000Z
2022-01-21T22:06:48.000Z
import warnings from typing import Callable, Optional, TypeVar, cast CallableType = TypeVar("CallableType", bound=Callable) def deprecation_wrapper(message: str, function_or_class: CallableType) -> CallableType: """Creates a wrapper for a deprecated function or class. Prints a warning the first time a functi...
31.375
87
0.688579
190
1,506
5.342105
0.321053
0.137931
0.206897
0.106404
0.492611
0.492611
0.492611
0.492611
0.419704
0.419704
0
0.000869
0.235724
1,506
47
88
32.042553
0.880973
0.459495
0
0
0
0
0.082321
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0
0.444444
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
73085370dd0ae578546e4f06c27e87ad769b743a
387
py
Python
practice/ai/machine-learning/digital-camera-day-or-night/digital-camera-day-or-night.py
zeyuanxy/HackerRank
5194a4af780ece396501c215996685d1be529e73
[ "MIT" ]
4
2017-01-18T17:51:58.000Z
2019-10-20T12:14:37.000Z
practice/ai/machine-learning/digital-camera-day-or-night/digital-camera-day-or-night.py
zeyuanxy/HackerRank
5194a4af780ece396501c215996685d1be529e73
[ "MIT" ]
null
null
null
practice/ai/machine-learning/digital-camera-day-or-night/digital-camera-day-or-night.py
zeyuanxy/HackerRank
5194a4af780ece396501c215996685d1be529e73
[ "MIT" ]
8
2016-03-14T17:16:59.000Z
2021-06-26T10:11:33.000Z
if __name__ == "__main__": data = raw_input().strip(',\n').split(' ') count = 0 total = 0 for pxl in data: pxl = pxl.split(',') mean = 0 for i in pxl: mean += int(i) mean /= 3 if mean < 70: count += 1 total += 1 if float(count) ...
21.5
46
0.426357
49
387
3.183673
0.55102
0.076923
0
0
0
0
0
0
0
0
0
0.045455
0.431525
387
17
47
22.764706
0.663636
0
0
0
0
0
0.054264
0
0
0
0
0
0
0
null
null
0
0
null
null
0.117647
0
0
0
null
0
0
0
0
0
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
7311fe6464a3f41ba16f8290bf926cae00157858
3,179
py
Python
estradaspt_legacy/__init__.py
dpjrodrigues/home-assistant-custom-components
105feec36ea065e62e839b5137a9ee2e2dcf3513
[ "MIT" ]
null
null
null
estradaspt_legacy/__init__.py
dpjrodrigues/home-assistant-custom-components
105feec36ea065e62e839b5137a9ee2e2dcf3513
[ "MIT" ]
null
null
null
estradaspt_legacy/__init__.py
dpjrodrigues/home-assistant-custom-components
105feec36ea065e62e839b5137a9ee2e2dcf3513
[ "MIT" ]
5
2018-12-29T16:39:25.000Z
2019-12-21T22:29:22.000Z
import logging import async_timeout import urllib.request import time import re from datetime import datetime, timedelta import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity from homea...
27.17094
75
0.674111
397
3,179
5.201511
0.335013
0.058111
0.029056
0.029056
0.075545
0.051332
0
0
0
0
0
0.004444
0.221453
3,179
117
76
27.17094
0.829495
0
0
0.131579
0
0
0.04463
0
0
0
0
0
0
0
null
null
0
0.184211
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
73127b6e66f9e5e908a0672dbaeb988571d8cf2c
14,720
py
Python
python/terra_proto/terra/treasury/v1beta1/__init__.py
Vritra4/terra.proto
977264b7c3e0f9d135120d77b48657b82f5eacf6
[ "Apache-2.0" ]
null
null
null
python/terra_proto/terra/treasury/v1beta1/__init__.py
Vritra4/terra.proto
977264b7c3e0f9d135120d77b48657b82f5eacf6
[ "Apache-2.0" ]
null
null
null
python/terra_proto/terra/treasury/v1beta1/__init__.py
Vritra4/terra.proto
977264b7c3e0f9d135120d77b48657b82f5eacf6
[ "Apache-2.0" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # sources: terra/treasury/v1beta1/genesis.proto, terra/treasury/v1beta1/query.proto, terra/treasury/v1beta1/treasury.proto # plugin: python-betterproto from dataclasses import dataclass from typing import Dict, List import betterproto from betterproto.grpc.grp...
31.120507
122
0.691508
1,507
14,720
6.577306
0.112807
0.067191
0.038741
0.048426
0.632567
0.521186
0.422821
0.357546
0.337873
0.236885
0
0.008651
0.214674
14,720
472
123
31.186441
0.848789
0.14178
0
0.455598
1
0
0.103603
0.085426
0
0
0
0
0
1
0.003861
false
0.027027
0.023166
0.003861
0.30888
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
7318340689a601475670cd96bc3a15da21a3e8a4
2,438
py
Python
pyzayo/svcinv_mixin.py
jeremyschulman/pyzayo
37869daf6ef2df8e0898bae7c3ddbb0139840751
[ "Apache-2.0" ]
1
2021-06-02T10:00:35.000Z
2021-06-02T10:00:35.000Z
pyzayo/svcinv_mixin.py
jeremyschulman/pyzayo
37869daf6ef2df8e0898bae7c3ddbb0139840751
[ "Apache-2.0" ]
null
null
null
pyzayo/svcinv_mixin.py
jeremyschulman/pyzayo
37869daf6ef2df8e0898bae7c3ddbb0139840751
[ "Apache-2.0" ]
null
null
null
""" This file contains the Zayo Service Inventory related API endpoints. References ---------- Docs http://54.149.224.75/wp-content/uploads/2020/02/Service-Inventory-Wiki.pdf """ # ----------------------------------------------------------------------------- # System Imports # --------------------------------...
30.475
82
0.455291
198
2,438
5.464646
0.515152
0.04159
0.040665
0.05268
0.086876
0.086876
0.086876
0.086876
0.086876
0
0
0.00885
0.212059
2,438
79
83
30.860759
0.554399
0.622642
0
0
0
0
0.064611
0.036711
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.642857
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
731bee30cd85e8877da89abd76314f81852e3106
730
py
Python
algoplex/api/order.py
dmitryaleks/algo-plex
c83421642fc1ac11e558126ec73909b175b07862
[ "BSD-2-Clause" ]
null
null
null
algoplex/api/order.py
dmitryaleks/algo-plex
c83421642fc1ac11e558126ec73909b175b07862
[ "BSD-2-Clause" ]
null
null
null
algoplex/api/order.py
dmitryaleks/algo-plex
c83421642fc1ac11e558126ec73909b175b07862
[ "BSD-2-Clause" ]
null
null
null
class Order(): def __init__(self, side, pair, size, price, stop_loss_price, id): self.side = side self.pair = pair self.size = size self.price = price self.stop_loss_price = stop_loss_price self.id = id self.fills = [] def define_id(self, id): se...
26.071429
69
0.609589
101
730
4.19802
0.267327
0.106132
0.091981
0.084906
0.084906
0.084906
0
0
0
0
0
0
0.286301
730
27
70
27.037037
0.81382
0
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.095238
0.47619
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
731d1cfc50fdedf83932598a710d90798e979c30
4,940
py
Python
mapping/sandbox/graphslam/graphslam_pipeline.py
sameeptandon/sail-car-log
0ee3d598bb09d389bcbd2ebf73cd4b2411e796be
[ "BSD-2-Clause" ]
1
2021-02-24T03:11:13.000Z
2021-02-24T03:11:13.000Z
mapping/sandbox/graphslam/graphslam_pipeline.py
sameeptandon/sail-car-log
0ee3d598bb09d389bcbd2ebf73cd4b2411e796be
[ "BSD-2-Clause" ]
null
null
null
mapping/sandbox/graphslam/graphslam_pipeline.py
sameeptandon/sail-car-log
0ee3d598bb09d389bcbd2ebf73cd4b2411e796be
[ "BSD-2-Clause" ]
3
2015-03-18T14:36:04.000Z
2018-07-04T02:57:24.000Z
import os from os.path import join as pjoin from subprocess import check_call from ruffus import files, follows, pipeline_run, pipeline_printout, pipeline_printout_graph, jobs_limit from graphslam_config import GRAPHSLAM_PATH,\ GRAPHSLAM_MATCH_DIR, GRAPHSLAM_OPT_POS_DIR, GRAPHSLAM_ALIGN_DIR,\ MATCHES_FI...
37.424242
185
0.654049
644
4,940
4.667702
0.194099
0.096141
0.03992
0.04491
0.49002
0.43014
0.390552
0.274784
0.163007
0.133733
0
0.002657
0.238057
4,940
131
186
37.709924
0.795962
0.009919
0
0.182692
0
0.019231
0.221109
0.119247
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.153846
0
0
0
null
0
0
0
0
0
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
731f66af557f8e0f3fe1a093bf5c18d9478212d8
11,798
py
Python
script/run_scribus.py
csneofreak/public-domain-season-songs
d6e559e7cfe6e3a7ab784855a096d02ae8c656cd
[ "Unlicense" ]
14
2015-12-18T10:52:15.000Z
2021-01-11T14:43:47.000Z
script/run_scribus.py
csneofreak/public-domain-season-songs
d6e559e7cfe6e3a7ab784855a096d02ae8c656cd
[ "Unlicense" ]
1
2015-12-05T19:30:01.000Z
2015-12-05T19:30:01.000Z
script/run_scribus.py
csneofreak/public-domain-season-songs
d6e559e7cfe6e3a7ab784855a096d02ae8c656cd
[ "Unlicense" ]
9
2015-03-11T04:09:23.000Z
2021-12-18T21:44:47.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import time import json import os import math import scribus import simplebin import inspect from collections import defaultdict PWD = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) def pwd(path): return os.path.join(PWD, path); DATA_FILE = pwd...
37.693291
152
0.66418
1,568
11,798
4.795281
0.193878
0.035377
0.013965
0.013965
0.23567
0.202554
0.184466
0.144567
0.117569
0.091103
0
0.009988
0.22775
11,798
312
153
37.814103
0.815278
0.117054
0
0.20332
0
0.004149
0.050491
0.00212
0
0
0
0.003205
0
0
null
null
0.004149
0.037344
null
null
0.012448
0
0
0
null
0
0
0
0
0
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
7335d3017f92ccc28bd13ffbbbef33f7a8f4f467
481
py
Python
blog/migrations/0041_auto_20190504_0855.py
akindele214/181hub_2
48b8814b5f66ad87f9a54721506076ddf70fe9bc
[ "MIT" ]
1
2020-05-20T08:42:49.000Z
2020-05-20T08:42:49.000Z
blog/migrations/0041_auto_20190504_0855.py
akindele214/181hub_2
48b8814b5f66ad87f9a54721506076ddf70fe9bc
[ "MIT" ]
14
2020-03-24T17:31:08.000Z
2022-03-11T23:59:30.000Z
blog/migrations/0041_auto_20190504_0855.py
akindele214/181hub_2
48b8814b5f66ad87f9a54721506076ddf70fe9bc
[ "MIT" ]
1
2020-04-13T12:37:37.000Z
2020-04-13T12:37:37.000Z
# Generated by Django 2.1.5 on 2019-05-04 07:55 import blog.formatChecker from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0040_auto_20190504_0840'), ] operations = [ migrations.AlterField( model_name='videos', ...
24.05
123
0.638254
54
481
5.574074
0.796296
0.112957
0
0
0
0
0
0
0
0
0
0.084932
0.241164
481
19
124
25.315789
0.739726
0.093555
0
0
1
0
0.105991
0.052995
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
733ab2bdfefcfa168386562dc21d727ee4511840
1,588
py
Python
research/codec/codec_example.py
FXTD-ODYSSEY/QBinder
b4b288e7c0ef09d2382e3d6678a5c41950257b76
[ "MIT" ]
13
2020-11-29T15:02:57.000Z
2022-02-11T03:12:25.000Z
research/codec/codec_example.py
FXTD-ODYSSEY/QBinder
b4b288e7c0ef09d2382e3d6678a5c41950257b76
[ "MIT" ]
8
2020-11-30T02:47:56.000Z
2021-05-19T03:44:16.000Z
research/codec/codec_example.py
FXTD-ODYSSEY/QtConfig
978cddf26c0305677b65b04d206138970cb73762
[ "MIT" ]
2
2020-11-30T01:59:19.000Z
2021-12-17T06:44:54.000Z
# -*- coding: future_fstrings -*- import codecs import pdb import string # NOTE https://stackoverflow.com/questions/38777818/how-do-i-properly-create-custom-text-codecs # prepare map from numbers to letters _encode_table = {str(number): bytes(letter) for number, letter in enumerate(string.ascii_lowercase)} # prepar...
28.872727
100
0.714736
217
1,588
5.082949
0.410138
0.024479
0.029012
0.032638
0.112421
0.090662
0.090662
0.090662
0.090662
0.090662
0
0.009863
0.170025
1,588
55
101
28.872727
0.827011
0.40806
0
0
0
0
0.067172
0
0
0
0
0
0.041667
0
null
null
0
0.125
null
null
0.166667
0
0
0
null
0
0
0
0
0
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
73407d37b530e40b65a5d94f1bc5d3086355dead
1,084
py
Python
numba/tests/__init__.py
mawanda-jun/numba
8c6658375c1f8fe50e1a5ccd11d4e7bf5a8053de
[ "BSD-2-Clause", "Apache-2.0" ]
1
2019-12-04T07:13:18.000Z
2019-12-04T07:13:18.000Z
numba/tests/__init__.py
mawanda-jun/numba
8c6658375c1f8fe50e1a5ccd11d4e7bf5a8053de
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
numba/tests/__init__.py
mawanda-jun/numba
8c6658375c1f8fe50e1a5ccd11d4e7bf5a8053de
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-09-18T15:03:46.000Z
2020-09-18T15:03:46.000Z
from numba import unittest_support as unittest import gc from os.path import dirname, join import multiprocessing import sys import time import warnings from unittest.suite import TestSuite from numba.testing import load_testsuite from numba.testing import ddt # for backward compatibility try: import faulthandl...
27.1
64
0.737085
142
1,084
5.485915
0.443662
0.03466
0.046213
0.064185
0.315789
0.089859
0.089859
0
0
0
0
0
0.186347
1,084
39
65
27.794872
0.88322
0.172509
0
0.071429
0
0
0.070707
0
0
0
0
0
0
1
0.035714
false
0
0.428571
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
734b4343088715a23f5435206ac174b0bc22413c
11,371
py
Python
tfx/orchestration/portable/execution_publish_utils.py
johnPertoft/tfx
c6335684a54651adbcbe50aa52918b9b9948326e
[ "Apache-2.0" ]
null
null
null
tfx/orchestration/portable/execution_publish_utils.py
johnPertoft/tfx
c6335684a54651adbcbe50aa52918b9b9948326e
[ "Apache-2.0" ]
null
null
null
tfx/orchestration/portable/execution_publish_utils.py
johnPertoft/tfx
c6335684a54651adbcbe50aa52918b9b9948326e
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
43.734615
97
0.735731
1,459
11,371
5.559973
0.202193
0.068417
0.033531
0.021573
0.406065
0.359098
0.325567
0.312007
0.273422
0.253575
0
0.007182
0.204028
11,371
259
98
43.903475
0.889073
0.421775
0
0.341085
0
0
0.068609
0
0
0
0
0.011583
0
1
0.054264
false
0
0.069767
0
0.139535
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
735799fe024faf41da595642a3d8bdb3ba238a42
1,693
py
Python
tools/SDKTool/src/ui/dialog/progress_bar_dialog.py
Passer-D/GameAISDK
a089330a30b7bfe1f6442258a12d8c0086240606
[ "Apache-2.0" ]
1,210
2020-08-18T07:57:36.000Z
2022-03-31T15:06:05.000Z
tools/SDKTool/src/ui/dialog/progress_bar_dialog.py
guokaiSama/GameAISDK
a089330a30b7bfe1f6442258a12d8c0086240606
[ "Apache-2.0" ]
37
2020-08-24T02:48:38.000Z
2022-01-30T06:41:52.000Z
tools/SDKTool/src/ui/dialog/progress_bar_dialog.py
guokaiSama/GameAISDK
a089330a30b7bfe1f6442258a12d8c0086240606
[ "Apache-2.0" ]
275
2020-08-18T08:35:16.000Z
2022-03-31T15:06:07.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making GameAISDK available. This source code file is licensed under the GNU General Public License Version 3. For full details, please refer to the file "LICENSE.txt" which is provided as part of this source code package. Copyright...
31.351852
111
0.705848
228
1,693
5.052632
0.438596
0.114583
0.145833
0.046875
0.074653
0
0
0
0
0
0
0.019231
0.201418
1,693
53
112
31.943396
0.83284
0.225635
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0.03125
0.4375
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
7358c21d44c9b2e4044c283c45da55bafa2452ee
2,469
py
Python
9/main.py
misterwilliam/advent-of-code
b8ddcbc5efcf62c7e5e4244339029783ac9f90b6
[ "MIT" ]
null
null
null
9/main.py
misterwilliam/advent-of-code
b8ddcbc5efcf62c7e5e4244339029783ac9f90b6
[ "MIT" ]
null
null
null
9/main.py
misterwilliam/advent-of-code
b8ddcbc5efcf62c7e5e4244339029783ac9f90b6
[ "MIT" ]
null
null
null
import itertools import unittest data = """Faerun to Norrath = 129 Faerun to Tristram = 58 Faerun to AlphaCentauri = 13 Faerun to Arbre = 24 Faerun to Snowdin = 60 Faerun to Tambi = 71 Faerun to Straylight = 67 Norrath to Tristram = 142 Norrath to AlphaCentauri = 15 Norrath to Arbre = 135 Norrath to Snowdin = 75 Norra...
26.548387
85
0.665857
310
2,469
5.225806
0.309677
0.072222
0.022222
0.018519
0.050617
0
0
0
0
0
0
0.038716
0.204941
2,469
93
86
26.548387
0.786551
0.031997
0
0.026316
0
0
0.309464
0
0
0
0
0
0.026316
0
null
null
0
0.026316
null
null
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
1
0
0
0
0
0
0
0
0
1
73612698a39e054c2b652bdecf1e853efdbc6d55
526
py
Python
src/importer/importer.py
tiefenauer/ip7-python
512105ba39110ec77d2ea0961dd7c2a42d4ec26d
[ "MIT" ]
null
null
null
src/importer/importer.py
tiefenauer/ip7-python
512105ba39110ec77d2ea0961dd7c2a42d4ec26d
[ "MIT" ]
null
null
null
src/importer/importer.py
tiefenauer/ip7-python
512105ba39110ec77d2ea0961dd7c2a42d4ec26d
[ "MIT" ]
null
null
null
import logging from abc import ABC, abstractmethod from pony.orm import db_session, commit log = logging.getLogger(__name__) class Importer(ABC): def __init__(self, TargetEntity): self.TargetEntity = TargetEntity @db_session def truncate(self): log.info('Truncating target tables...') ...
21.04
52
0.653992
59
526
5.59322
0.627119
0.145455
0
0
0
0
0
0
0
0
0
0
0.237643
526
24
53
21.916667
0.822943
0.062738
0
0
0
0
0.071869
0
0
0
0
0
0
1
0.1875
false
0
0.25
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
73623a0c8d94829ad21399f5bae6f22979a769e7
1,562
py
Python
api/web/apps/auth/views.py
procool/itstructure
6aa3a43e1a759f5509f130ddf911779645dc89d0
[ "BSD-2-Clause" ]
null
null
null
api/web/apps/auth/views.py
procool/itstructure
6aa3a43e1a759f5509f130ddf911779645dc89d0
[ "BSD-2-Clause" ]
null
null
null
api/web/apps/auth/views.py
procool/itstructure
6aa3a43e1a759f5509f130ddf911779645dc89d0
[ "BSD-2-Clause" ]
null
null
null
from flask import url_for from flaskcbv.view import View from flaskcbv.conf import settings from misc.mixins import HelperMixin from misc.views import JSONView class authView(JSONView): def helper(self): return """Authorizaion handler Use "login" and "passwd" arguments by GET or POST to get ses...
26.474576
107
0.608195
191
1,562
4.874346
0.329843
0.064447
0.06015
0.064447
0.498389
0.41246
0.41246
0.41246
0.41246
0.41246
0
0.001773
0.277849
1,562
58
108
26.931034
0.823582
0
0
0.55
0
0
0.206675
0
0
0
0
0
0
1
0.15
false
0.1
0.125
0.1
0.425
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
7df75aa4524bb4f5a708857ab0d660fb8ccedfb8
603
py
Python
math/0x04-convolutions_and_pooling/test/2-main.py
cbarros7/holbertonschool-machine_learning
1edb4c253441f6319b86c9c590d1e7dd3fc32bf4
[ "MIT" ]
1
2022-03-09T19:12:22.000Z
2022-03-09T19:12:22.000Z
math/0x04-convolutions_and_pooling/test/2-main.py
cbarros7/holbertonschool-machine_learning
1edb4c253441f6319b86c9c590d1e7dd3fc32bf4
[ "MIT" ]
null
null
null
math/0x04-convolutions_and_pooling/test/2-main.py
cbarros7/holbertonschool-machine_learning
1edb4c253441f6319b86c9c590d1e7dd3fc32bf4
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import matplotlib.pyplot as plt import numpy as np convolve_grayscale_padding = __import__( '2-convolve_grayscale_padding').convolve_grayscale_padding if __name__ == '__main__': dataset = np.load('../../supervised_learning/data/MNIST.npz') images = dataset['X_train'] print(ima...
27.409091
68
0.6733
84
603
4.535714
0.47619
0.178478
0.251969
0.020997
0.107612
0.023622
0
0
0
0
0
0.029703
0.162521
603
21
69
28.714286
0.724752
0.034826
0
0.133333
0
0
0.156627
0.11704
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.133333
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
7dfda8cef5923a2a0d78158e8c874838389cfd46
3,678
py
Python
src/oci/dns/models/external_master.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
249
2017-09-11T22:06:05.000Z
2022-03-04T17:09:29.000Z
src/oci/dns/models/external_master.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
228
2017-09-11T23:07:26.000Z
2022-03-23T10:58:50.000Z
src/oci/dns/models/external_master.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
224
2017-09-27T07:32:43.000Z
2022-03-25T16:55:42.000Z
# coding: utf-8 # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
27.244444
245
0.609027
474
3,678
4.537975
0.274262
0.065086
0.075314
0.066946
0.452348
0.308229
0.261274
0.18689
0.18689
0.18689
0
0.010289
0.312942
3,678
134
246
27.447761
0.840918
0.503535
0
0.068182
0
0
0.051957
0
0
0
0
0
0
1
0.227273
false
0
0.045455
0.045455
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
b4024d84d4513279dde8eeb7b78e3491e9770d6e
1,038
py
Python
app/api/v1/models/user_model.py
munniomer/Send-IT-Api-v1
17041c987638c7e47c7c2ebed29bf7e2b5156bed
[ "CNRI-Python", "OML" ]
null
null
null
app/api/v1/models/user_model.py
munniomer/Send-IT-Api-v1
17041c987638c7e47c7c2ebed29bf7e2b5156bed
[ "CNRI-Python", "OML" ]
null
null
null
app/api/v1/models/user_model.py
munniomer/Send-IT-Api-v1
17041c987638c7e47c7c2ebed29bf7e2b5156bed
[ "CNRI-Python", "OML" ]
1
2019-02-05T07:44:19.000Z
2019-02-05T07:44:19.000Z
users = [] class UserModel(object): """Class user models.""" def __init__(self): self.db = users def add_user(self, fname, lname, email, phone, password, confirm_password, city): """ Method for saving user to the dictionary """ payload = { "userId": len(self.db)+1, ...
26.615385
85
0.531792
116
1,038
4.672414
0.318966
0.066421
0.127306
0.099631
0.306273
0.221402
0.121771
0.121771
0.121771
0
0
0.001493
0.354528
1,038
38
86
27.315789
0.807463
0.129094
0
0.222222
0
0
0.07378
0
0
0
0
0
0
1
0.148148
false
0.111111
0
0
0.37037
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
b403104a45ede1110a9c5cca95878c43993fc086
433
py
Python
drip/migrations/0002_querysetrule_rule_type.py
RentFreeMedia/django-drip-campaigns
a71e5d3a3f242c04a6f7f921b85aa01daff467f8
[ "MIT" ]
46
2020-07-23T17:47:33.000Z
2021-11-25T16:57:35.000Z
drip/migrations/0002_querysetrule_rule_type.py
RentFreeMedia/django-drip-campaigns
a71e5d3a3f242c04a6f7f921b85aa01daff467f8
[ "MIT" ]
54
2020-06-19T17:57:42.000Z
2021-09-22T19:34:48.000Z
drip/migrations/0002_querysetrule_rule_type.py
kaozdl/django-drip
a71e5d3a3f242c04a6f7f921b85aa01daff467f8
[ "MIT" ]
19
2020-08-30T05:29:13.000Z
2022-02-08T20:27:17.000Z
# Generated by Django 3.0.7 on 2020-11-25 13:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('drip', '0001_initial'), ] operations = [ migrations.AddField( model_name='querysetrule', name='rule_type', ...
22.789474
104
0.577367
48
433
5.125
0.770833
0
0
0
0
0
0
0
0
0
0
0.063091
0.267898
433
18
105
24.055556
0.712934
0.103926
0
0
1
0
0.129534
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b4073a213da55b416141036502c3d25e2d22ed63
3,552
py
Python
pingpongskill/pingpongskill.py
Garvys/PingPongSkill
71749a34772326dd83121bb0ab6fad52b7d8d694
[ "MIT" ]
1
2017-09-22T13:30:20.000Z
2017-09-22T13:30:20.000Z
pingpongskill/pingpongskill.py
Garvys/PingPongSkill
71749a34772326dd83121bb0ab6fad52b7d8d694
[ "MIT" ]
null
null
null
pingpongskill/pingpongskill.py
Garvys/PingPongSkill
71749a34772326dd83121bb0ab6fad52b7d8d694
[ "MIT" ]
null
null
null
# -*-: coding utf-8 -*- """ Skeleton Snips skill. """ import re import json import os import datetime from text2num import text2num from collections import defaultdict FORMAT = '%Y.%m.%dT%H:%M:%S' class PingPongSkill(object): """ Skeleton Snips skill. """ def __init__(self): pass def handle_lo...
30.62069
79
0.566441
434
3,552
4.437788
0.288018
0.049844
0.028557
0.017653
0.263759
0.263759
0.207684
0.207684
0.207684
0.207684
0
0.016327
0.310248
3,552
115
80
30.886957
0.769796
0.005912
0
0.188889
0
0
0.105187
0
0
0
0
0
0
0
null
null
0.011111
0.066667
null
null
0.088889
0
0
0
null
0
0
0
0
0
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
b40aad26fdc784cc5dfaf249f1c167e4160e4887
2,279
py
Python
Exemple.py
LVWolff/Python_Lesson_2
ece186f988c94a1aaa1656a1e6e1093c3d5b6251
[ "MIT" ]
null
null
null
Exemple.py
LVWolff/Python_Lesson_2
ece186f988c94a1aaa1656a1e6e1093c3d5b6251
[ "MIT" ]
null
null
null
Exemple.py
LVWolff/Python_Lesson_2
ece186f988c94a1aaa1656a1e6e1093c3d5b6251
[ "MIT" ]
null
null
null
#Задачи на циклы и оператор условия------ #---------------------------------------- ''' Задача 1 Вывести на экран циклом пять строк из нулей, причем каждая строка должна быть пронумерована. ''' for i in range(1, 6): print(i, '0000000000000000000000000000000000000000000') ''' Задача 2 Пользователь в цикле вводит 1...
18.087302
92
0.67749
321
2,279
4.669782
0.302181
0.294863
0.110073
0.076051
0.424283
0.167445
0.14543
0.14543
0.14543
0
0
0.089906
0.204476
2,279
125
93
18.232
0.7369
0.105309
0
0.464286
0
0
0.043994
0.030028
0
0
0
0
0
1
0
false
0
0
0
0
0.196429
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b40c71ed0a4ab0b122f61556dae6f792302c5678
776
py
Python
lepiota/lepiota/urls.py
sgelias/lepiota
4b30aa25ac5308229f6d41f1720e1af02557826e
[ "MIT" ]
null
null
null
lepiota/lepiota/urls.py
sgelias/lepiota
4b30aa25ac5308229f6d41f1720e1af02557826e
[ "MIT" ]
null
null
null
lepiota/lepiota/urls.py
sgelias/lepiota
4b30aa25ac5308229f6d41f1720e1af02557826e
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path, re_path from django.conf.urls import include from django.views.generic import TemplateView, RedirectView urlpatterns = [ # Administration path('admin/', admin.site.urls),...
29.846154
74
0.716495
97
776
5.628866
0.412371
0.10989
0.076923
0.065934
0.102564
0
0
0
0
0
0
0.004484
0.137887
776
25
75
31.04
0.811659
0.059278
0
0
0
0
0.147586
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b41042e5988e8d27b58649ccaf22e396c4b031cb
2,800
py
Python
gitgoggles/utils.py
nowells/git-goggles
022dc0cd6dfe8f1641ccb33e85ab05309dba7dbf
[ "MIT" ]
13
2015-03-10T08:48:51.000Z
2019-04-16T09:06:55.000Z
gitgoggles/utils.py
nowells/git-goggles
022dc0cd6dfe8f1641ccb33e85ab05309dba7dbf
[ "MIT" ]
null
null
null
gitgoggles/utils.py
nowells/git-goggles
022dc0cd6dfe8f1641ccb33e85ab05309dba7dbf
[ "MIT" ]
3
2016-04-29T05:38:56.000Z
2020-07-06T13:04:05.000Z
import copy import subprocess import sys import unicodedata def disable_colored_func(text, *args, **kwargs): return text try: from termcolor import colored as colored_func except ImportError: print 'You should run "pip install termcolor" to fully utilize these utilities.' colored_func = disable_colore...
32.183908
127
0.658571
356
2,800
5.002809
0.376404
0.04941
0.044919
0.033689
0.139248
0.065132
0.065132
0.065132
0.065132
0.065132
0
0.006542
0.235714
2,800
86
128
32.55814
0.825701
0.087143
0
0.123077
0
0
0.052696
0
0
0
0
0
0
0
null
null
0
0.092308
null
null
0.015385
0
0
0
null
0
0
0
0
0
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
b4130d04b43c706ebb56a9d6ede2201a268db5d7
7,913
py
Python
tensorflow/contrib/training/python/training/hparam_test.py
DEVESHTARASIA/tensorflow
d3edb8c60ed4fd831d62833ed22f5c23486c561c
[ "Apache-2.0" ]
384
2017-02-21T18:38:04.000Z
2022-02-22T07:30:25.000Z
tensorflow/contrib/training/python/training/hparam_test.py
DEVESHTARASIA/tensorflow
d3edb8c60ed4fd831d62833ed22f5c23486c561c
[ "Apache-2.0" ]
15
2017-03-01T20:18:43.000Z
2020-05-07T10:33:51.000Z
tensorflow/contrib/training/python/training/hparam_test.py
DEVESHTARASIA/tensorflow
d3edb8c60ed4fd831d62833ed22f5c23486c561c
[ "Apache-2.0" ]
81
2017-02-21T19:31:19.000Z
2022-02-22T07:30:24.000Z
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
40.372449
80
0.65841
1,052
7,913
4.85076
0.162548
0.153635
0.091711
0.098765
0.627474
0.576132
0.55242
0.524201
0.47913
0.396238
0
0.037315
0.173638
7,913
195
81
40.579487
0.74308
0.129534
0
0.331126
0
0.006623
0.112715
0.003791
0
0
0
0
0.529801
1
0.05298
false
0.013245
0.039735
0
0.099338
0.006623
0
0
0
null
0
0
0
0
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
b415b852eb1504fe65a58d7db038c31b5386abda
2,616
py
Python
thelma/repositories/rdb/view.py
fogathmann/TheLMA
ac330a0005da4fea2f1387da9ff9938611ad1481
[ "MIT" ]
1
2020-07-12T22:47:58.000Z
2020-07-12T22:47:58.000Z
thelma/repositories/rdb/view.py
papagr/TheLMA
d2dc7a478ee5d24ccf3cc680888e712d482321d0
[ "MIT" ]
null
null
null
thelma/repositories/rdb/view.py
papagr/TheLMA
d2dc7a478ee5d24ccf3cc680888e712d482321d0
[ "MIT" ]
1
2020-07-12T22:40:36.000Z
2020-07-12T22:40:36.000Z
""" This file is part of the TheLMA (THe Laboratory Management Application) project. See LICENSE.txt for licensing, CONTRIBUTORS.txt for contributor information. Utilities to create/drop views. Based on a recipe published in: http://www.sqlalchemy.org/trac/wiki/UsageRecipes/Views """ from sqlalchemy.sql import table...
33.974026
90
0.69419
332
2,616
5.373494
0.35241
0.043722
0.028587
0.038677
0.44843
0.420404
0.386771
0.319507
0.319507
0.25
0
0.017086
0.194572
2,616
76
91
34.421053
0.829616
0.292049
0
0.27907
0
0
0.08952
0
0
0
0
0.013158
0
1
0.139535
false
0
0.069767
0.023256
0.348837
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
b415cd56b8b968d2043025ce5a7780e981f5488b
960
py
Python
msblog/models.py
designermanjeets/mscreativepixel
8fefa48296c97fc541bc6d4f9ad8fa7048d0e377
[ "Apache-2.0" ]
null
null
null
msblog/models.py
designermanjeets/mscreativepixel
8fefa48296c97fc541bc6d4f9ad8fa7048d0e377
[ "Apache-2.0" ]
null
null
null
msblog/models.py
designermanjeets/mscreativepixel
8fefa48296c97fc541bc6d4f9ad8fa7048d0e377
[ "Apache-2.0" ]
null
null
null
from django.db import models from datetime import datetime import string, random import uuid # Create your models here. class HeaderNavs(models.Model): title = models.CharField(max_length = 50) url = models.CharField(max_length = 50) def __str__(self): return self.title class Meta: ...
28.235294
114
0.660417
114
960
5.377193
0.464912
0.073409
0.117455
0.156607
0.34584
0.303426
0.303426
0.303426
0.166395
0.166395
0
0.017981
0.246875
960
33
115
29.090909
0.829876
0.025
0
0.363636
0
0
0.059957
0.024625
0
0
0
0
0
1
0.090909
false
0
0.181818
0.090909
0.909091
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
b41a1df236c0501272e47ba309bb8f6eaa3a041a
4,113
py
Python
Approxilyzer/gem5/scripts/relyzer/run_gem5_gl.py
cornell-zhang/GLAIVE
8e29ac621a95a25c19ccfeb5071a9d3595093ef7
[ "BSD-3-Clause" ]
10
2020-11-21T04:13:33.000Z
2022-01-03T23:08:09.000Z
Approxilyzer/gem5/scripts/relyzer/run_gem5_gl.py
cornell-zhang/GLAIVE
8e29ac621a95a25c19ccfeb5071a9d3595093ef7
[ "BSD-3-Clause" ]
null
null
null
Approxilyzer/gem5/scripts/relyzer/run_gem5_gl.py
cornell-zhang/GLAIVE
8e29ac621a95a25c19ccfeb5071a9d3595093ef7
[ "BSD-3-Clause" ]
null
null
null
import os, sys from argparse import ArgumentParser from datetime import datetime as dt from pprint import pprint as pp import shutil, glob #from pyfiglet import figlet_format, Figlet import datetime ''' python run_gem5_gl.py -a radix -l inst python run_gem5_gl.py -a radix -l bit ''' def app(args): if not a...
32.904
90
0.556042
550
4,113
3.925455
0.207273
0.032422
0.05836
0.070866
0.493747
0.470588
0.450208
0.400185
0.309866
0.245021
0
0.020134
0.311695
4,113
124
91
33.169355
0.742494
0.029419
0
0.313953
0
0
0.242758
0.00564
0.046512
0
0
0
0
0
null
null
0
0.069767
null
null
0.151163
0
0
0
null
0
0
0
0
0
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
b41c9702fa909cdc15c31981b7aeb56a1df4c9bb
534
py
Python
src/commands/__init__.py
lysol/lvlss
ca068de516159be732d2cb8c4752dee4f4ef2e09
[ "MIT" ]
null
null
null
src/commands/__init__.py
lysol/lvlss
ca068de516159be732d2cb8c4752dee4f4ef2e09
[ "MIT" ]
null
null
null
src/commands/__init__.py
lysol/lvlss
ca068de516159be732d2cb8c4752dee4f4ef2e09
[ "MIT" ]
null
null
null
from quit import Quit from set_name import SetName from who import Who from say import Say from look import Look from go import Go from take import Take from inventory import Inventory from drop import Drop from make import Make from landfill import Landfill from item_info import ItemInfo from script import...
28.105263
50
0.773408
77
534
5.311688
0.337662
0.08802
0
0
0
0
0
0
0
0
0
0
0.192884
534
18
51
29.666667
0.948956
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.823529
0
0.823529
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
b41e6039b9544ca2bf93ee054b91393cabc444ec
1,343
py
Python
Wallpaper change.py
Arbazkhan4712/Wallpaper-Changer-using-Python
a221443bc7e7b5410f06653fa741b9d7af0fe10f
[ "MIT" ]
4
2020-04-17T06:39:23.000Z
2021-12-25T11:05:16.000Z
Wallpaper change.py
Arbazkhan4712/Wallpaper-Changer-using-Python
a221443bc7e7b5410f06653fa741b9d7af0fe10f
[ "MIT" ]
null
null
null
Wallpaper change.py
Arbazkhan4712/Wallpaper-Changer-using-Python
a221443bc7e7b5410f06653fa741b9d7af0fe10f
[ "MIT" ]
3
2020-04-03T12:36:20.000Z
2020-06-06T15:12:04.000Z
import ctypes import os import time from pynput.keyboard import Key,Controller import Bing def closeTerminal(): keyboard=Controller() keyboard.press(Key.alt) keyboard.press(Key.f4) keyboard.release(Key.alt) keyboard.release(Key.f4) def changeWallpaper(image_path): start=time.time() end=ti...
26.86
97
0.581534
150
1,343
5.02
0.426667
0.095618
0.042497
0.047809
0.13413
0.087649
0.087649
0.087649
0
0
0
0.016556
0.325391
1,343
49
98
27.408163
0.81457
0.014892
0
0.348837
0
0
0.021936
0
0
0
0
0
0
1
0.069767
false
0.069767
0.116279
0
0.186047
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
b41e78f19f2060ee9b4a3efdc51b5e3c612a3ca4
968
py
Python
tests/sensitivity/sf2/sf2_test.py
vic-c137/mpi-boids-simulation
a822f20f5c1cd7cd2a6261a53adeb24e2c0115ec
[ "Apache-2.0" ]
null
null
null
tests/sensitivity/sf2/sf2_test.py
vic-c137/mpi-boids-simulation
a822f20f5c1cd7cd2a6261a53adeb24e2c0115ec
[ "Apache-2.0" ]
null
null
null
tests/sensitivity/sf2/sf2_test.py
vic-c137/mpi-boids-simulation
a822f20f5c1cd7cd2a6261a53adeb24e2c0115ec
[ "Apache-2.0" ]
null
null
null
# Import statements import subprocess from os import system # Variable declarations np = "10" cexe = "./Boids" nboids = "50" nloops = "500" k = "7" maxv = "10" acc = "1.25" width = "1000" height = "1000" sf1 = "1" sf2 = "32" min = "50" sf3 = "8" sf4 = "10" dataPath = "./data/" jexe = "BoidModelTest" ...
31.225806
220
0.558884
134
968
4.022388
0.58209
0.029685
0.025974
0
0
0
0
0
0
0
0
0.146277
0.223141
968
31
221
31.225806
0.570479
0.051653
0
0
0
0
0.185311
0.023729
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.035714
0
0
0
null
0
0
0
0
0
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
b41e7a6675758027f59252fdd90ad0a28c111058
976
py
Python
flask_start/flask_start/public/email.py
kostekci/flask_start
fa279fc8907aff9868e2596f4ed9c4d9428d2f75
[ "MIT" ]
null
null
null
flask_start/flask_start/public/email.py
kostekci/flask_start
fa279fc8907aff9868e2596f4ed9c4d9428d2f75
[ "MIT" ]
95
2021-09-13T21:23:12.000Z
2022-03-31T21:22:32.000Z
flask_start/flask_start/public/email.py
kostekci/flask_start
fa279fc8907aff9868e2596f4ed9c4d9428d2f75
[ "MIT" ]
null
null
null
from flask_mail import Message from flask import render_template from flask_start.extensions import mail ''' from threading import Thread def send_async_email(app, msg): with app.app_context(): mail.send(msg) ''' def send_email(subject, sender, recipients, text_body, html_body): msg = Message(subject...
32.533333
75
0.646516
120
976
5.025
0.308333
0.044776
0.046434
0.079602
0.135987
0.135987
0.135987
0
0
0
0
0
0.254098
976
29
76
33.655172
0.828297
0.057377
0
0
0
0
0.118899
0.076345
0
0
0
0
0
1
0.117647
false
0.294118
0.176471
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1