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
0eecb26a08b83b9490cf71d013916e0d48dea556
1,298
py
Python
telegram_bot/app.py
daya0576/telegran_bot_weather
96df65cd607704fb5dbf89e13b2a130ca8cb0018
[ "MIT" ]
null
null
null
telegram_bot/app.py
daya0576/telegran_bot_weather
96df65cd607704fb5dbf89e13b2a130ca8cb0018
[ "MIT" ]
null
null
null
telegram_bot/app.py
daya0576/telegran_bot_weather
96df65cd607704fb5dbf89e13b2a130ca8cb0018
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import sys import sentry_sdk import uvicorn from fastapi import FastAPI from loguru import logger from sentry_sdk.integrations.asgi import SentryAsgiMiddleware from telegram_bot.controllers import webhook, release, meta from telegram_bot.cron import scheduler, cron from telegram_bot.database i...
28.217391
108
0.761941
180
1,298
5.35
0.477778
0.062305
0.077882
0.068536
0
0
0
0
0
0
0
0.010444
0.114792
1,298
45
109
28.844444
0.827676
0.043914
0
0
0
0.033333
0.146559
0.055061
0
0
0
0
0
1
0
false
0
0.366667
0
0.366667
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
0ef7196625afbef3404b64ff452e44a903059fcc
2,744
py
Python
rudics2netcdf_rads.py
NOAA-PMEL/EcoFOCI_Prawler
04d410d22475707409732e9d78fe92ddd688d8a8
[ "MIT" ]
null
null
null
rudics2netcdf_rads.py
NOAA-PMEL/EcoFOCI_Prawler
04d410d22475707409732e9d78fe92ddd688d8a8
[ "MIT" ]
null
null
null
rudics2netcdf_rads.py
NOAA-PMEL/EcoFOCI_Prawler
04d410d22475707409732e9d78fe92ddd688d8a8
[ "MIT" ]
null
null
null
""" Background: =========== prawler2netcdf_pico.py Purpose: ======== Script to convert cleaned-up radiometer data from RUDICS stream into netcdf file See extras/17ck-met_rad.py for cleanup script Compatibility: ============== python >=3.6 ? python 2.7 - Tested """ # Standard library. import dateti...
31.906977
142
0.693878
368
2,744
4.942935
0.483696
0.034634
0.028587
0.046179
0.049478
0.02309
0
0
0
0
0
0.023285
0.139213
2,744
85
143
32.282353
0.746825
0.19242
0
0
0
0
0.208849
0
0
0
0
0.011765
0
1
0
false
0
0.162791
0
0.162791
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
0ef8decea1a8a18e864217c029969124de6bcc6a
914
py
Python
setup.py
NanaAkwasiAbayieBoateng/automl
ac913518d5a5dc0d276a6a1e6ce15f8051684997
[ "MIT" ]
1
2021-09-06T20:15:09.000Z
2021-09-06T20:15:09.000Z
setup.py
NanaAkwasiAbayieBoateng/automl
ac913518d5a5dc0d276a6a1e6ce15f8051684997
[ "MIT" ]
null
null
null
setup.py
NanaAkwasiAbayieBoateng/automl
ac913518d5a5dc0d276a6a1e6ce15f8051684997
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages from automl.constants import * setup(name='onepanel-automl', version=AUTOML_VERSION, description='Automated Machine Learning Framework', author='Onepanel, Inc.', author_email='info@onepanel.io', packages=find_packages(), dependency_links=[...
35.153846
80
0.571116
86
914
6
0.755814
0.042636
0
0
0
0
0
0
0
0
0
0.026439
0.296499
914
25
81
36.56
0.77605
0
0
0.083333
0
0
0.44639
0.02407
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0efa2df861bfb3e8e857c6c54117733a8e7b2d4f
6,870
py
Python
scripts/convert_ann.py
johnabender/ctrax-tmp
3e326ca9d00472dff0dbaea6528f349a5225ad90
[ "Unlicense" ]
null
null
null
scripts/convert_ann.py
johnabender/ctrax-tmp
3e326ca9d00472dff0dbaea6528f349a5225ad90
[ "Unlicense" ]
null
null
null
scripts/convert_ann.py
johnabender/ctrax-tmp
3e326ca9d00472dff0dbaea6528f349a5225ad90
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python import os import sys import numpy as num NEW_VERSION = '0.5.7' OLD_VERSION = '0.3.1' SCRIPT_VERSION = '1.0.2' """ New annotation files: - old: area0[j] = major0[j]*minor0[j]*num.pi*4.0 new: area0[j] = major0[j]*minor0[j]*num.pi (relevant in estconncomps.try...
35.230769
100
0.530568
818
6,870
4.330073
0.246944
0.046584
0.027668
0.032185
0.254094
0.195935
0.195935
0.177866
0.123659
0.105308
0
0.010801
0.35313
6,870
194
101
35.412371
0.786229
0.301747
0
0.301205
0
0
0.13464
0.011304
0
0
0
0
0
0
null
null
0
0.036145
null
null
0.108434
0
0
0
null
0
0
0
0
0
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
0efdcffd529edce29dac8c40bfff6c19bba9eae1
515
py
Python
tests/data/analytics/template/src/data_processing/example_data_processing.py
vittorfp/labskit_cli
28e109b4a9f36a03d499eb953e04a4fb787632fe
[ "MIT" ]
null
null
null
tests/data/analytics/template/src/data_processing/example_data_processing.py
vittorfp/labskit_cli
28e109b4a9f36a03d499eb953e04a4fb787632fe
[ "MIT" ]
1
2022-03-08T14:54:26.000Z
2022-03-08T15:02:52.000Z
tests/data/analytics/template/src/data_processing/example_data_processing.py
vittorfp/labskit_cli
28e109b4a9f36a03d499eb953e04a4fb787632fe
[ "MIT" ]
null
null
null
import pandas as pd def create_timeseries(dataframe): """ Convert the column 'Date' to datetime format and set as index. :param dataframe: incoming data to transform which contains the 'date' column :type dataframe: pd.DataFrame :return: dataframe with the Date column transformed int...
27.105263
80
0.683495
69
515
5.028986
0.550725
0.057637
0.04611
0.074928
0
0
0
0
0
0
0
0.0025
0.223301
515
18
81
28.611111
0.865
0.514563
0
0
0
0
0.104762
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
160ad37181e2390c488979c15d9a4cead4ff0554
266
py
Python
src/meltano/api/signals.py
siilats/meltano
404605c83f441c3fc2b729e26416c6caa8b0ed0b
[ "MIT" ]
122
2021-06-21T17:30:29.000Z
2022-03-25T06:21:38.000Z
src/meltano/api/signals.py
siilats/meltano
404605c83f441c3fc2b729e26416c6caa8b0ed0b
[ "MIT" ]
null
null
null
src/meltano/api/signals.py
siilats/meltano
404605c83f441c3fc2b729e26416c6caa8b0ed0b
[ "MIT" ]
21
2021-06-22T10:08:15.000Z
2022-03-18T08:57:02.000Z
from flask.signals import Namespace class PipelineSignals: __namespace__ = Namespace() completed = __namespace__.signal("completed") @classmethod def on_complete(cls, schedule, success: bool): cls.completed.send(schedule, success=success)
24.181818
53
0.733083
27
266
6.888889
0.666667
0.16129
0
0
0
0
0
0
0
0
0
0
0.176692
266
10
54
26.6
0.849315
0
0
0
0
0
0.033835
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1610cb8e2143da79d4110c9010a1eada2517de7f
17,503
py
Python
draw/evaluation.py
ablavatski/draw
28aedecd1c177c878247955654959c7c2d777e79
[ "MIT" ]
3
2020-08-26T00:17:05.000Z
2021-02-25T19:03:30.000Z
draw/evaluation.py
ablavatski/draw
28aedecd1c177c878247955654959c7c2d777e79
[ "MIT" ]
1
2021-07-02T09:13:48.000Z
2021-07-03T19:09:27.000Z
draw/evaluation.py
ablavatski/draw
28aedecd1c177c878247955654959c7c2d777e79
[ "MIT" ]
2
2020-04-20T13:40:56.000Z
2020-10-17T11:59:55.000Z
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- __author__ = "Joan Puigcerver" __email__ = "joapuipe@prhlt.upv.es" __copyright__ = "Copyright 2015, Pattern Recognition and Human Language Technology" __licence__ = "Public Domain" import argparse import bisect import logging import sys from math import fabs, sqrt LOG...
38.299781
83
0.598126
2,392
17,503
4.29306
0.173913
0.006232
0.009349
0.004772
0.22008
0.169442
0.133898
0.112864
0.076444
0.057941
0
0.018034
0.296692
17,503
456
84
38.383772
0.816166
0.055476
0
0.140351
0
0
0.105652
0.003568
0
0
0
0
0.031579
0
null
null
0
0.017544
null
null
0.077193
0
0
0
null
0
0
0
0
0
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
161a9e63b9a305e534922761ee021e5432917305
2,860
py
Python
tests/test_builder.py
jimbobhickville/py-stellar-base
5d989d7b49dbb39f13d58adf3955121e84e28858
[ "Apache-2.0" ]
null
null
null
tests/test_builder.py
jimbobhickville/py-stellar-base
5d989d7b49dbb39f13d58adf3955121e84e28858
[ "Apache-2.0" ]
4
2021-12-13T13:30:36.000Z
2021-12-13T13:31:35.000Z
tests/test_builder.py
jimbobhickville/py-stellar-base
5d989d7b49dbb39f13d58adf3955121e84e28858
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 import json import requests from stellar_base.builder import Builder, HORIZON_TEST from stellar_base.keypair import Keypair from stellar_base.exceptions import SignatureExistError # TODO: These endpoints really need to be mocked out. class TestBuilder(object): def __init__(self): sel...
31.777778
78
0.582867
332
2,860
4.819277
0.337349
0.0825
0.0375
0.03375
0.34125
0.311875
0.241875
0.205625
0.1575
0.1575
0
0.022278
0.309441
2,860
89
79
32.134831
0.787848
0.072378
0
0.30303
0
0
0.039713
0
0
0
0
0.011236
0.121212
1
0.060606
false
0.015152
0.090909
0
0.181818
0.015152
0
0
0
null
0
0
0
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
1621b74ed1bc0e780a89f3c8e8e22c2103c7a6ff
7,235
py
Python
ipynb2lmd.py
ouseful-PR/ipynb2lmd
82d48773a06b503eff31c14ba3fe9bd8c43634ac
[ "BSD-3-Clause" ]
3
2018-10-09T09:42:56.000Z
2021-04-17T19:55:46.000Z
ipynb2lmd.py
lballabio/ipynb2lmd
82d48773a06b503eff31c14ba3fe9bd8c43634ac
[ "BSD-3-Clause" ]
2
2019-03-10T18:38:55.000Z
2019-03-10T18:40:21.000Z
ipynb2lmd.py
ouseful-PR/ipynb2lmd
82d48773a06b503eff31c14ba3fe9bd8c43634ac
[ "BSD-3-Clause" ]
3
2019-03-10T18:07:29.000Z
2020-12-17T08:11:14.000Z
#!/usr/bin/python import json import sys import os import io import re def join(lines): return ''.join(lines) def in_prompt(prompt_number): return 'In [%d]: ' % prompt_number def out_prompt(prompt_number): return 'Out[%d]: ' % prompt_number def add_prompt(lines, prompt): "add the prompt on the firs...
33.49537
80
0.593642
991
7,235
4.191726
0.189707
0.051998
0.036832
0.038517
0.333414
0.266972
0.239047
0.207511
0.15792
0.141069
0
0.004263
0.254319
7,235
215
81
33.651163
0.765709
0.039115
0
0.175439
0
0
0.154134
0.009651
0.005848
0
0
0
0
0
null
null
0
0.02924
null
null
0.005848
0
0
0
null
0
0
0
0
0
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
1626ab8f6dba9754b74deae392e00be2df2d9413
463
py
Python
login/migrations/0019_auto_20170329_2248.py
anilkumarmeena/Bitora
c8ccfa6c2369c9da4bd273dddb783f870c09889f
[ "Apache-2.0" ]
2
2018-02-12T09:54:33.000Z
2019-03-31T14:32:32.000Z
login/migrations/0019_auto_20170329_2248.py
frknnlzts/howto
bba8b8080df480c2ee95a7f9913a7153cc02f65e
[ "Apache-2.0" ]
8
2017-12-27T16:19:25.000Z
2017-12-29T00:21:03.000Z
login/migrations/0019_auto_20170329_2248.py
frknnlzts/howto
bba8b8080df480c2ee95a7f9913a7153cc02f65e
[ "Apache-2.0" ]
2
2019-02-22T08:13:29.000Z
2019-10-08T12:11:21.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-29 17:18 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('login', '0018_person_about_me'), ] operations = [ migrations.AlterField( ...
22.047619
62
0.615551
52
463
5.269231
0.826923
0
0
0
0
0
0
0
0
0
0
0.061404
0.261339
463
20
63
23.15
0.739766
0.146868
0
0
1
0
0.107143
0
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
1627d35b7f2b55e7155eece047e07a5912d9b995
276
py
Python
config.py
paulwrubel/traffic-sim
a2969ba1fd508420c3e14fb26ea9bde0a5a7cfb2
[ "MIT" ]
null
null
null
config.py
paulwrubel/traffic-sim
a2969ba1fd508420c3e14fb26ea9bde0a5a7cfb2
[ "MIT" ]
2
2019-09-30T12:58:47.000Z
2019-10-01T00:03:51.000Z
config.py
paulwrubel/traffic-sim
a2969ba1fd508420c3e14fb26ea9bde0a5a7cfb2
[ "MIT" ]
null
null
null
class Config: def __init__(self, size, framerate = 60, flags = 0): self.width = size[0] self.height = size[1] self.size = size self.center = self.width / 2, self.height / 2 self.framerate = framerate self.flags = flags
27.6
56
0.561594
35
276
4.314286
0.428571
0.10596
0
0
0
0
0
0
0
0
0
0.037838
0.32971
276
9
57
30.666667
0.778378
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
162a450cb7d03cc84bb50e7f3e4b0647b68a235a
414
py
Python
detectem/plugins/wordpress.py
cqr-cryeye-forks/detectem
1c4f90554058d39000cb206df7ade5ae0f7c36a7
[ "MIT" ]
85
2017-10-29T20:10:15.000Z
2022-01-05T08:14:35.000Z
detectem/plugins/wordpress.py
cqr-cryeye-forks/detectem
1c4f90554058d39000cb206df7ade5ae0f7c36a7
[ "MIT" ]
11
2018-01-09T17:46:24.000Z
2022-03-20T16:41:42.000Z
detectem/plugins/wordpress.py
cqr-cryeye-forks/detectem
1c4f90554058d39000cb206df7ade5ae0f7c36a7
[ "MIT" ]
22
2017-12-12T23:35:43.000Z
2022-02-27T16:21:53.000Z
from detectem.plugin import Plugin from .helpers import meta_generator class WordpressPlugin(Plugin): name = "wordpress" homepage = "https://wordpress.org/" tags = ["wordpress"] matchers = [ {"url": r"/wp-includes/js/wp-embed.min.js\?ver=(?P<version>[0-9\.]+)"}, {"xpath": (meta_gener...
25.875
79
0.591787
49
414
4.959184
0.632653
0.106996
0.074074
0.082305
0
0
0
0
0
0
0
0.011905
0.188406
414
15
80
27.6
0.71131
0
0
0
0
0.090909
0.384058
0.190821
0
0
0
0
0
1
0
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
16336f9d45ea459b8ea8abb4842d3edf421903c8
600
py
Python
contactus/migrations/0006_place.py
percevalm/aumyproject
b24b38005188ce9dd41ed663cf54dad5464afef3
[ "bzip2-1.0.6" ]
null
null
null
contactus/migrations/0006_place.py
percevalm/aumyproject
b24b38005188ce9dd41ed663cf54dad5464afef3
[ "bzip2-1.0.6" ]
16
2020-03-24T17:30:37.000Z
2022-03-11T23:57:41.000Z
contactus/migrations/0006_place.py
percevalm/aumyproject
b24b38005188ce9dd41ed663cf54dad5464afef3
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 2.1.4 on 2019-02-10 11:37 from django.db import migrations, models import djgeojson.fields class Migration(migrations.Migration): dependencies = [ ('contactus', '0005_auto_20190205_1733'), ] operations = [ migrations.CreateModel( name='Place', ...
26.086957
114
0.588333
61
600
5.672131
0.754098
0.086705
0
0
0
0
0
0
0
0
0
0.07907
0.283333
600
22
115
27.272727
0.725581
0.075
0
0
1
0
0.095841
0.041591
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
1636325b4dc40564aa22f1f6c5465974efa5b81a
567
py
Python
CodeWars/Tribonacci.py
Jaidev810/Competitive-Questions
5d5b28be69e8572e9b4353e9790ee39b56769fc3
[ "MIT" ]
1
2021-02-27T06:12:55.000Z
2021-02-27T06:12:55.000Z
CodeWars/Tribonacci.py
Jaidev810/Competitive-Questions
5d5b28be69e8572e9b4353e9790ee39b56769fc3
[ "MIT" ]
1
2021-02-02T08:52:17.000Z
2021-02-03T08:19:12.000Z
CodeWars/Tribonacci.py
Jaidev810/Competitive-Questions
5d5b28be69e8572e9b4353e9790ee39b56769fc3
[ "MIT" ]
null
null
null
def tribonacci(signature, n): if n == 0 : return [] if n == 1: return signature[0] if n == 2: return [signature[0], signature[1]] if n == 3: return signature arr = list() n1, n2, n3 = signature[0], signature[1], signature[2] arr.append(signature[0]) ar...
17.181818
57
0.504409
82
567
3.487805
0.268293
0.041958
0.188811
0.13986
0
0
0
0
0
0
0
0.081744
0.352734
567
33
58
17.181818
0.697548
0
0
0
0
0
0
0
0
0
0
0
0
1
0.041667
false
0
0
0
0.25
0.041667
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
1639b968b080e83771fb408a190ff1454276a63d
5,393
py
Python
src/model/HybridRecommender/FIlterRecommender.py
riccardopoiani/recsys_2019
47a44d2f7d85e76e31dacf4ba2e69721d010b6b8
[ "MIT" ]
2
2020-10-01T11:08:32.000Z
2020-11-25T11:05:37.000Z
src/model/HybridRecommender/FIlterRecommender.py
riccardopoiani/recsys_2019
47a44d2f7d85e76e31dacf4ba2e69721d010b6b8
[ "MIT" ]
null
null
null
src/model/HybridRecommender/FIlterRecommender.py
riccardopoiani/recsys_2019
47a44d2f7d85e76e31dacf4ba2e69721d010b6b8
[ "MIT" ]
1
2020-10-01T11:08:33.000Z
2020-10-01T11:08:33.000Z
from course_lib.Base.BaseRecommender import BaseRecommender from src.data_management.data_reader import get_users_of_age from src.feature.demographics_content import get_user_demographic, get_sub_class_content import numpy as np class FilterRecommender(BaseRecommender): def __init__(self, URM_train, UCM_age, ICM...
41.167939
116
0.690339
728
5,393
4.711538
0.188187
0.055394
0.04898
0.04898
0.336443
0.170262
0.045481
0.034985
0.034985
0.034985
0
0.003204
0.247543
5,393
130
117
41.484615
0.84204
0.137029
0
0.096386
0
0
0.008416
0
0
0
0
0
0
1
0.048193
false
0.072289
0.048193
0
0.120482
0.024096
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
163a42cc201821d16f4c277e19eb33ea0df94b89
522
py
Python
tridates/regions/views.py
noelevans/playground
da529e967a15bcb217fff091ac0ec5c4dc1821ce
[ "MIT" ]
1
2015-04-28T20:36:57.000Z
2015-04-28T20:36:57.000Z
tridates/regions/views.py
noelevans/playground
da529e967a15bcb217fff091ac0ec5c4dc1821ce
[ "MIT" ]
2
2021-02-03T21:05:54.000Z
2021-03-23T09:25:43.000Z
tridates/regions/views.py
noelevans/playground
da529e967a15bcb217fff091ac0ec5c4dc1821ce
[ "MIT" ]
null
null
null
from django.shortcuts import get_object_or_404 from django.views.generic.list_detail import object_detail from tridates.regions.models import Region from tridates.events.models import Event def events_by_region(request, object_id, queryset): req_region = get_object_or_404(Region...
30.705882
76
0.701149
66
522
5.272727
0.439394
0.091954
0.063218
0.08046
0
0
0
0
0
0
0
0.014925
0.229885
522
16
77
32.625
0.850746
0
0
0
0
0
0.011538
0
0
0
0
0
0
1
0.083333
false
0
0.333333
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
1642d880e061b3a6e194a6c20dd4cf2a6a407aea
4,365
py
Python
Solutions/Exercise13/Python/gameoflife.py
Lucksong/Exercises-Solutions
614c3ad9945d83de21ef2bfdd38e0c67cedc4c8b
[ "CC-BY-3.0" ]
436
2015-01-09T23:29:34.000Z
2022-03-31T11:25:38.000Z
Solutions/Exercise13/Python/gameoflife.py
Lucksong/Exercises-Solutions
614c3ad9945d83de21ef2bfdd38e0c67cedc4c8b
[ "CC-BY-3.0" ]
13
2015-04-12T12:54:32.000Z
2020-03-07T06:52:09.000Z
Solutions/Exercise13/Python/gameoflife.py
Lucksong/Exercises-Solutions
614c3ad9945d83de21ef2bfdd38e0c67cedc4c8b
[ "CC-BY-3.0" ]
195
2015-01-14T05:08:28.000Z
2022-02-21T21:01:55.000Z
#------------------------------------------------------------------------------ # # Name: gameoflife.py # # Purpose: Run a naive Conway's game of life # # HISTORY: Written by Tom Deakin and Simon McIntosh-Smith, August 2013 # #------------------------------------------------------------------------------ ...
29.295302
89
0.528293
562
4,365
3.983986
0.313167
0.021438
0.026798
0.017418
0.135328
0.108977
0.091112
0.068781
0.068781
0.034837
0
0.008956
0.25819
4,365
148
90
29.493243
0.68252
0.264376
0
0.093023
0
0
0.130776
0.00723
0
0
0
0
0
0
null
null
0
0.034884
null
null
0.081395
0
0
0
null
0
0
0
0
0
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
16431803fa6c500ebb09be82801013959d2513a0
615
py
Python
test/decorator_test/func_test.py
peter-wangxu/python_play
5774c192a49ea0c35504697dd75e1c2c8e366097
[ "Apache-2.0" ]
null
null
null
test/decorator_test/func_test.py
peter-wangxu/python_play
5774c192a49ea0c35504697dd75e1c2c8e366097
[ "Apache-2.0" ]
null
null
null
test/decorator_test/func_test.py
peter-wangxu/python_play
5774c192a49ea0c35504697dd75e1c2c8e366097
[ "Apache-2.0" ]
null
null
null
__author__ = 'wangp11' def decorator_fun(my_func): def decorator(*args, **kwargs): print 'before ' + my_func.__name__ print '1' print args print '2' print kwargs setattr(my_func, "New", "Test") r = my_func(*args, **kwargs) print 'after ' + my_func.__...
17.571429
42
0.585366
82
615
4.085366
0.365854
0.089552
0.107463
0.101493
0
0
0
0
0
0
0
0.025641
0.302439
615
35
43
17.571429
0.755245
0.001626
0
0
0
0
0.081566
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
0
0
0
null
0
0
0
0
0
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
1648ed71af717478bb784a2125b0f5ca7f38397d
2,414
py
Python
route/UMKM_detail.py
jepret/jepret-backend
2a892e1a7141da09d286b14f47769c3e6f4c0979
[ "MIT" ]
null
null
null
route/UMKM_detail.py
jepret/jepret-backend
2a892e1a7141da09d286b14f47769c3e6f4c0979
[ "MIT" ]
6
2021-03-19T01:58:42.000Z
2022-03-11T23:52:43.000Z
route/UMKM_detail.py
jepret/jepret-backend
2a892e1a7141da09d286b14f47769c3e6f4c0979
[ "MIT" ]
null
null
null
from core.router import Router from core.validator import BaseValidator import handler.UMKM_detail as handler from middleware.auth import AuthMiddleware def validate_gender(field, value, error): if value != "m" and value != "f": error(field, "Gender only m/f") def validate_rate(field, value, error): ...
25.145833
76
0.478873
208
2,414
5.346154
0.331731
0.161871
0.170863
0.206835
0.419065
0.303957
0.188849
0.188849
0
0
0
0.002685
0.382767
2,414
95
77
25.410526
0.743624
0
0
0.406977
0
0
0.239022
0
0
0
0
0
0
1
0.023256
false
0
0.046512
0
0.069767
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
164c3d22f3b4b48cbea9656852b36c69b3a039a9
10,380
py
Python
src/gcf/geni/util/urn_util.py
ahelsing/geni-tools
0799f715ad88a1a11b069e8208f012abef23cbd8
[ "MIT" ]
3
2015-05-05T13:03:27.000Z
2021-11-17T11:16:38.000Z
src/gcf/geni/util/urn_util.py
ahelsing/geni-tools
0799f715ad88a1a11b069e8208f012abef23cbd8
[ "MIT" ]
null
null
null
src/gcf/geni/util/urn_util.py
ahelsing/geni-tools
0799f715ad88a1a11b069e8208f012abef23cbd8
[ "MIT" ]
null
null
null
#---------------------------------------------------------------------- # Copyright (c) 2010-2016 Raytheon BBN Technologies # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and/or hardware specification (the "Work") to # deal in the Work without restriction, including ...
41.686747
138
0.603276
1,420
10,380
4.337324
0.239437
0.012177
0.020458
0.02338
0.242897
0.189316
0.126157
0.081344
0.058613
0.051794
0
0.010332
0.272736
10,380
248
139
41.854839
0.805537
0.237861
0
0.178571
0
0.007143
0.140211
0.005366
0
0
0
0.004032
0
0
null
null
0
0.014286
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
1650b42e46df449cc524da455099c54c6cce70f8
1,073
py
Python
brython/browser/__init__.py
anpylar/anpylar-docs
74b389251b7a9047b7cf9fe8aec7d8cb7ab9463a
[ "MIT" ]
2
2018-06-19T23:15:57.000Z
2020-09-10T19:38:42.000Z
brython/browser/__init__.py
anpylar/anpylar-docs
74b389251b7a9047b7cf9fe8aec7d8cb7ab9463a
[ "MIT" ]
4
2018-11-19T18:22:41.000Z
2018-11-19T19:07:34.000Z
brython/browser/__init__.py
anpylar/anpylar-docs
74b389251b7a9047b7cf9fe8aec7d8cb7ab9463a
[ "MIT" ]
1
2018-11-19T18:07:26.000Z
2018-11-19T18:07:26.000Z
#!/usr/bin/env python # -*- coding: utf-8; py-indent-offset:4 -*- ############################################################################### # Copyright 2018 The AnPyLar Team. All Rights Reserved. # Use of this source code is governed by an MIT-style license that # can be found in the LICENSE file at http://anpyla...
21.897959
79
0.583411
123
1,073
4.98374
0.650407
0.045677
0
0
0
0
0
0
0
0
0
0.006912
0.191053
1,073
48
80
22.354167
0.699309
0.354147
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0.041667
0.166667
0.041667
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
165621468c9647e6385b18c506c4cacd0054b6c4
545
py
Python
bioinformatics-stronghold/enumerating-k-mers-lexicographically/lexf.py
uabua/rosalind
37b3b1a1ef2a245f979ce1c2f08c4d7535d38195
[ "MIT" ]
1
2020-03-06T22:19:57.000Z
2020-03-06T22:19:57.000Z
bioinformatics-stronghold/enumerating-k-mers-lexicographically/lexf.py
uabua/rosalind
37b3b1a1ef2a245f979ce1c2f08c4d7535d38195
[ "MIT" ]
null
null
null
bioinformatics-stronghold/enumerating-k-mers-lexicographically/lexf.py
uabua/rosalind
37b3b1a1ef2a245f979ce1c2f08c4d7535d38195
[ "MIT" ]
null
null
null
""" ID: LEXF Title: Enumerating k-mers Lexicographically URL: http://rosalind.info/problems/lexf/ """ from itertools import product def lexicographic_cartesian_product(alphabet, length): """ Prints all strings that can be formed from the alphabet, ordered lexicographically. Args: alphabet (str):...
23.695652
87
0.675229
64
545
5.71875
0.75
0.081967
0
0
0
0
0
0
0
0
0
0
0.216514
545
22
88
24.772727
0.857143
0.583486
0
0
0
0
0.005435
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
0
0
0
null
0
0
0
0
0
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
16576b11f3af90a702586711e180bac5fe45e28a
738
py
Python
docs/tutorial/python/sanic/handlers/users_postHandler.py
mrpotes/go-raml
f151e1e143c47282b294fe70c5e56f113988ed10
[ "BSD-2-Clause" ]
142
2016-02-11T06:23:34.000Z
2022-03-24T06:05:22.000Z
docs/tutorial/python/sanic/handlers/users_postHandler.py
mrpotes/go-raml
f151e1e143c47282b294fe70c5e56f113988ed10
[ "BSD-2-Clause" ]
297
2016-02-04T06:23:13.000Z
2020-08-20T13:23:22.000Z
docs/tutorial/python/sanic/handlers/users_postHandler.py
mrpotes/go-raml
f151e1e143c47282b294fe70c5e56f113988ed10
[ "BSD-2-Clause" ]
49
2016-02-01T10:59:50.000Z
2021-05-20T15:04:01.000Z
# THIS FILE IS SAFE TO EDIT. It will not be overwritten when rerunning go-raml. from sanic.response import json, text import json as JSON import jsonschema from jsonschema import Draft4Validator import os dir_path = os.path.dirname(os.path.realpath(__file__)) User_schema = JSON.load(open(dir_path + '/schema/User_sc...
28.384615
93
0.758808
100
738
5.4
0.5
0.148148
0.088889
0.062963
0.085185
0
0
0
0
0
0
0.007962
0.149051
738
25
94
29.52
0.851911
0.104336
0
0
0
0
0.08346
0.036419
0
0
0
0
0
1
0.0625
false
0
0.3125
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
1658b04125f60900280657869c7e88c76ce818e6
836
py
Python
gibson2/reward_functions/collision_reward.py
rubbishdq/iGibson
aa4da99caacbc1d9458a1ff7ce36c9a85cc4753b
[ "MIT" ]
null
null
null
gibson2/reward_functions/collision_reward.py
rubbishdq/iGibson
aa4da99caacbc1d9458a1ff7ce36c9a85cc4753b
[ "MIT" ]
null
null
null
gibson2/reward_functions/collision_reward.py
rubbishdq/iGibson
aa4da99caacbc1d9458a1ff7ce36c9a85cc4753b
[ "MIT" ]
1
2021-08-25T14:11:24.000Z
2021-08-25T14:11:24.000Z
from gibson2.reward_functions.reward_function_base import BaseRewardFunction class CollisionReward(BaseRewardFunction): """ Collision reward Penalize robot collision. Typically collision_reward_weight is negative. """ def __init__(self, config): super(CollisionReward, self).__init__(confi...
30.962963
76
0.680622
94
836
5.765957
0.446809
0.166052
0.193727
0.138376
0
0
0
0
0
0
0
0.007886
0.241627
836
26
77
32.153846
0.847003
0.296651
0
0
0
0
0.044834
0.044834
0
0
0
0
0
1
0.2
false
0
0.1
0
0.5
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
165cce3ae1618631656c3570c503177c7c659dca
809
py
Python
exercicios/ex091a.py
DeyvisonR/curso_python
983b634d39f542369628ae48c7449ea75fd1ebbd
[ "MIT" ]
null
null
null
exercicios/ex091a.py
DeyvisonR/curso_python
983b634d39f542369628ae48c7449ea75fd1ebbd
[ "MIT" ]
null
null
null
exercicios/ex091a.py
DeyvisonR/curso_python
983b634d39f542369628ae48c7449ea75fd1ebbd
[ "MIT" ]
null
null
null
from random import randint from time import sleep lista = [] listadosnum = [] lista.append(['jogador 1', randint(1, 6), 'jogador 2', randint(1, 6), 'jogador 3', randint(1, 6), 'jogador 4', randint(1, 6)]) listadosnum.append(lista[0][1]) listadosnum.append(lista[0][3]) listadosnum.append(lista[0][5]) lista...
31.115385
80
0.583436
124
809
3.806452
0.330645
0.127119
0.074153
0.194915
0
0
0
0
0
0
0
0.063898
0.226205
809
25
81
32.36
0.690096
0
0
0.08
0
0.04
0.211372
0
0
0
0
0
0
1
0
false
0
0.08
0
0.08
0.16
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
165e28bfb70869c9b57d86a8196e09d67c0feeb0
6,167
py
Python
quart/ctx.py
zhengxiaowai/quart
ae1664b1d603956fbe6fd49eeae5aee8877f5d8a
[ "MIT" ]
null
null
null
quart/ctx.py
zhengxiaowai/quart
ae1664b1d603956fbe6fd49eeae5aee8877f5d8a
[ "MIT" ]
null
null
null
quart/ctx.py
zhengxiaowai/quart
ae1664b1d603956fbe6fd49eeae5aee8877f5d8a
[ "MIT" ]
null
null
null
from types import TracebackType from typing import Any, Callable, Iterator, List, Optional, TYPE_CHECKING # noqa: F401 from .exceptions import MethodNotAllowed, NotFound, RedirectRequired from .globals import _app_ctx_stack, _request_ctx_stack from .sessions import Session # noqa from .signals import appcontext_popp...
31.464286
92
0.654289
799
6,167
4.813517
0.225282
0.029121
0.017161
0.021841
0.315133
0.225689
0.215289
0.128965
0.128965
0.128965
0
0.001527
0.256851
6,167
195
93
31.625641
0.837661
0.36598
0
0.093023
0
0
0.016726
0
0
0
0
0
0
1
0.209302
false
0
0.093023
0.023256
0.488372
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
16647718ae0c7ef641c18a1c31669c52f069a337
3,283
py
Python
store/models.py
shaymk1/Felicia-s-ecommerce-store
aaf9d5aed018e451602c6c39bf8e5e24f9cedc01
[ "MIT" ]
null
null
null
store/models.py
shaymk1/Felicia-s-ecommerce-store
aaf9d5aed018e451602c6c39bf8e5e24f9cedc01
[ "MIT" ]
null
null
null
store/models.py
shaymk1/Felicia-s-ecommerce-store
aaf9d5aed018e451602c6c39bf8e5e24f9cedc01
[ "MIT" ]
null
null
null
from django.db import models from category.models import Category from django.urls import reverse from accounts.models import Account from django.db.models import Avg, Count # Create your models here. class Product(models.Model): product_name = models.CharField(max_length=200, unique=True) slug = models.Slug...
33.161616
95
0.710631
394
3,283
5.748731
0.294416
0.035762
0.039735
0.05298
0.422958
0.320971
0.196026
0.164238
0.113024
0.113024
0
0.011571
0.183978
3,283
98
96
33.5
0.833893
0.00731
0
0.108108
0
0
0.040221
0
0
0
0
0
0
1
0.121622
false
0
0.067568
0.094595
0.756757
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
166b5ce7f9ca0cff431a504fc476c4f1d0767958
5,939
py
Python
notebooks/libs/PythonLibs/matrices.py
kantel/jupyter
c36e67b146a9f6c5e249e12c48a471c82e9abd49
[ "MIT" ]
null
null
null
notebooks/libs/PythonLibs/matrices.py
kantel/jupyter
c36e67b146a9f6c5e249e12c48a471c82e9abd49
[ "MIT" ]
null
null
null
notebooks/libs/PythonLibs/matrices.py
kantel/jupyter
c36e67b146a9f6c5e249e12c48a471c82e9abd49
[ "MIT" ]
null
null
null
# Copyright (c) 2017, Dr. Edmund Weitz # simple matrix library for educational purposes without any error # checking or optimizations; not recommended for production use # to create a new Matrix object, call Matrix with a list of lists as # in Matrix([[2, 3], [4, 5]]); all lists must have the same size # (although th...
32.812155
95
0.555144
949
5,939
3.420443
0.210748
0.032348
0.012939
0.023722
0.126617
0.079482
0.033272
0.021565
0.009858
0
0
0.014141
0.333221
5,939
180
96
32.994444
0.805556
0.358141
0
0.166667
0
0
0.000265
0
0
0
0
0
0
1
0.175926
false
0
0.027778
0.12037
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1672b70e2b7d97c8548eaa1b7020b2131306a64f
2,729
py
Python
trac/tracopt/perm/tests/authz_policy.py
HelionDevPlatform/bloodhound
206b0d9898159fa8297ad1e407d38484fa378354
[ "Apache-2.0" ]
84
2015-01-07T03:42:53.000Z
2022-01-10T11:57:30.000Z
trac/tracopt/perm/tests/authz_policy.py
HelionDevPlatform/bloodhound
206b0d9898159fa8297ad1e407d38484fa378354
[ "Apache-2.0" ]
1
2021-11-04T12:52:03.000Z
2021-11-04T12:52:03.000Z
trac/tracopt/perm/tests/authz_policy.py
HelionDevPlatform/bloodhound
206b0d9898159fa8297ad1e407d38484fa378354
[ "Apache-2.0" ]
35
2015-01-06T11:30:27.000Z
2021-11-10T16:34:52.000Z
# -*- coding: utf-8 -*- # # Copyright (C) 2012 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
29.031915
79
0.679003
324
2,729
5.592593
0.398148
0.03532
0.052428
0.063466
0.204194
0.204194
0.171082
0.171082
0.168322
0.141832
0
0.00233
0.213631
2,729
93
80
29.344086
0.842032
0.170759
0
0.272727
0
0
0.183556
0.015111
0
0
0
0
0.075758
0
null
null
0
0.136364
null
null
0.015152
0
0
0
null
0
0
0
0
0
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
16747457ef968e6c4d0ebd288dd4630873fcd9ea
2,013
py
Python
python/ray/tests/test_memory_scheduling.py
bkellerman/ray
1bb70e49076b26c8e98b8d7859bcf93c611c1fbf
[ "Apache-2.0" ]
null
null
null
python/ray/tests/test_memory_scheduling.py
bkellerman/ray
1bb70e49076b26c8e98b8d7859bcf93c611c1fbf
[ "Apache-2.0" ]
null
null
null
python/ray/tests/test_memory_scheduling.py
bkellerman/ray
1bb70e49076b26c8e98b8d7859bcf93c611c1fbf
[ "Apache-2.0" ]
null
null
null
import numpy as np import time import ray from ray.test_utils import wait_for_condition MB = 1024 * 1024 def object_store_memory(a, delta=MB): b = ray.available_resources().get("object_store_memory", 0) return abs(a - b) < delta @ray.remote(memory=100 * MB) class Actor: def __init__(self): pas...
26.486842
76
0.621461
286
2,013
4.115385
0.300699
0.121495
0.187766
0.130841
0.548003
0.514019
0.498726
0.498726
0.498726
0.427358
0
0.064753
0.255837
2,013
75
77
26.84
0.720961
0.012419
0
0.298246
0
0
0.015617
0
0
0
0
0
0.035088
1
0.122807
false
0.017544
0.105263
0.017544
0.280702
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
16754672472bd7b0b662e62619cb2189a25e8ea1
15,635
py
Python
source/modules/tools/dockerctl.py
AdL1398/PiCasso
d5757df1229ed18c04e7320cb12411a93323e684
[ "MIT" ]
3
2017-06-28T18:31:15.000Z
2018-01-04T18:00:09.000Z
source/modules/tools/dockerctl.py
AdL1398/PiCasso
d5757df1229ed18c04e7320cb12411a93323e684
[ "MIT" ]
null
null
null
source/modules/tools/dockerctl.py
AdL1398/PiCasso
d5757df1229ed18c04e7320cb12411a93323e684
[ "MIT" ]
7
2017-03-28T21:26:40.000Z
2019-11-01T13:37:23.000Z
#!/usr/bin/env python2.7 """ title : dockerctl.py description : includes a) a module to control docker containers b) collect information of running containers source : author : Adisorn Lertsinsrubtavee date : 15 Feb 2017 version ...
44.928161
117
0.530988
1,615
15,635
4.95356
0.188235
0.048375
0.035625
0.02375
0.39475
0.3145
0.281125
0.2585
0.2505
0.22775
0
0.01472
0.352606
15,635
347
118
45.057637
0.775637
0.108155
0
0.378906
0
0
0.237957
0.037697
0
0
0
0
0
0
null
null
0
0.015625
null
null
0.152344
0
0
0
null
0
0
0
0
0
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
167a38cc46e7dde3201a63f0a54b457f0e522cfc
456
py
Python
cra_helper/templatetags/cra_helper_tags.py
squidsoup/django-cra-helper
ba50c643c181a18b80ee9bbdbea74b58abd6daad
[ "MIT" ]
null
null
null
cra_helper/templatetags/cra_helper_tags.py
squidsoup/django-cra-helper
ba50c643c181a18b80ee9bbdbea74b58abd6daad
[ "MIT" ]
null
null
null
cra_helper/templatetags/cra_helper_tags.py
squidsoup/django-cra-helper
ba50c643c181a18b80ee9bbdbea74b58abd6daad
[ "MIT" ]
null
null
null
''' JSON filter courtesy of https://gist.github.com/pirate/c18bfe4fd96008ffa0aef25001a2e88f ''' import bleach import json as jsonlib from django import template from django.utils.safestring import mark_safe register = template.Library() @register.filter def json(value): ''' Sanitize the JSON string using t...
20.727273
87
0.745614
57
456
5.929825
0.631579
0.059172
0
0
0
0
0
0
0
0
0
0.044737
0.166667
456
21
88
21.714286
0.844737
0.320175
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
168a3de9fd4ac6b5e2e778b0b7e2f32366f133ee
937
py
Python
Week6/generate_features_n_targets.py
vinayak1998/Data_Driven_Astronomy
1d0dd82b2e9066759c442807c30c70bef096d719
[ "MIT" ]
2
2021-05-21T07:31:49.000Z
2022-03-28T05:25:44.000Z
Week6/generate_features_n_targets.py
vinayak1998/Data_Driven_Astronomy
1d0dd82b2e9066759c442807c30c70bef096d719
[ "MIT" ]
null
null
null
Week6/generate_features_n_targets.py
vinayak1998/Data_Driven_Astronomy
1d0dd82b2e9066759c442807c30c70bef096d719
[ "MIT" ]
4
2020-11-24T21:12:16.000Z
2021-09-18T12:26:45.000Z
import numpy as np def generate_features_targets(data): targets = data['class'] features = np.empty(shape=(len(data), 13)) features[:, 0] = data['u-g'] features[:, 1] = data['g-r'] features[:, 2] = data['r-i'] features[:, 3] = data['i-z'] features[:, 4] = data['ecc'] features[:, 5] = data['m4_u'] fea...
31.233333
82
0.642476
134
937
4.313433
0.410448
0.051903
0.079585
0.093426
0
0
0
0
0
0
0
0.04436
0.157951
937
29
83
32.310345
0.688213
0.082177
0
0
1
0
0.183197
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.130435
0.086957
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
168e9976af0ff8cc40c296f525dc3667f6012906
225
py
Python
KnowledgeMapping/GUI/wxpythonExp/1.py
nickliqian/ralph_doc_to_chinese
be120ce2bb94a8e8395630218985f5e51ae087d9
[ "MIT" ]
8
2018-05-22T01:11:33.000Z
2020-03-19T01:44:55.000Z
KnowledgeMapping/GUI/wxpythonExp/1.py
yangliangguang/keep_learning
47ab39c726cb28713ad22bf4cf39d6b146715910
[ "MIT" ]
null
null
null
KnowledgeMapping/GUI/wxpythonExp/1.py
yangliangguang/keep_learning
47ab39c726cb28713ad22bf4cf39d6b146715910
[ "MIT" ]
3
2018-07-25T09:31:53.000Z
2019-09-14T14:05:31.000Z
import wx app = wx.App() window = wx.Frame(None, title="wxPython - www.yiibai.com", size=(400, 300)) panel = wx.Panel(window) label = wx.StaticText(panel, label="Hello World", pos=(100, 100)) window.Show(True) app.MainLoop()
28.125
75
0.697778
36
225
4.361111
0.666667
0.063694
0
0
0
0
0
0
0
0
0
0.06
0.111111
225
8
76
28.125
0.725
0
0
0
0
0
0.159292
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
168ed9a157400a1d31687bc64231263f84dd4771
3,688
py
Python
DRR.py
ysppppp/ddr
f2e5a704ec2dc487aa7bd58168e8d86d89bb3275
[ "MIT" ]
null
null
null
DRR.py
ysppppp/ddr
f2e5a704ec2dc487aa7bd58168e8d86d89bb3275
[ "MIT" ]
null
null
null
DRR.py
ysppppp/ddr
f2e5a704ec2dc487aa7bd58168e8d86d89bb3275
[ "MIT" ]
1
2020-02-05T19:10:48.000Z
2020-02-05T19:10:48.000Z
import time import serial import spidev import RPi.GPIO as GPIO import busio import board import adafruit_amg88xx as TCAM import adafruit_lsm9ds1 as IMU import adafruit_sgp30 as AQS i2c = busio.I2C(board.SCL, board.SDA) #Motors class Motor: def __init__(self, pinNum): GPIO.setup(pinNum, GPIO.OUT) G...
25.79021
78
0.58731
493
3,688
4.229209
0.290061
0.030695
0.03693
0.020144
0.094964
0.025899
0
0
0
0
0
0.047346
0.289859
3,688
142
79
25.971831
0.748759
0.156182
0
0.094737
0
0
0.01528
0
0
0
0.003901
0
0
0
null
null
0
0.094737
null
null
0.010526
0
0
0
null
0
0
0
0
0
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
169247c655f8ea1baa2024c939d22e2f7afc3600
2,805
py
Python
tests/tests.py
suparna13/three
f2d28c43140dd6bd8fd901f5541629acb9e5f8ac
[ "MIT" ]
null
null
null
tests/tests.py
suparna13/three
f2d28c43140dd6bd8fd901f5541629acb9e5f8ac
[ "MIT" ]
null
null
null
tests/tests.py
suparna13/three
f2d28c43140dd6bd8fd901f5541629acb9e5f8ac
[ "MIT" ]
null
null
null
import unittest import three from datetime import timedelta, date, datetime class TestThree(unittest.TestCase): def test_three(self): self.assertEqual(three.three(), 3, "Should equal three.") self.assertNotEqual(three.three(), 4, "Should not equal three.") def test_squared(self): ...
31.166667
84
0.608913
351
2,805
4.65812
0.264957
0.165138
0.159021
0.102752
0.173089
0.141284
0.141284
0.141284
0.141284
0.141284
0
0.029268
0.269162
2,805
89
85
31.516854
0.768293
0
0
0.086207
0
0
0.075847
0
0
0
0
0
0.362069
0
null
null
0
0.051724
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
1694735a8640852ca4fcd3ec81b24773dc4410cb
26,605
py
Python
lib/python2.7/site-packages/appionlib/apSparxISAC.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
lib/python2.7/site-packages/appionlib/apSparxISAC.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
lib/python2.7/site-packages/appionlib/apSparxISAC.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
1
2019-09-05T20:58:37.000Z
2019-09-05T20:58:37.000Z
#!/usr/bin/env python # import os import time import sys import math import subprocess import re #appion from appionlib import apRemoteJob from appionlib import apDisplay from appionlib import apFile from appionlib import apStack from appionlib import apParam from appionlib import apProject from appionlib import appion...
58.601322
183
0.685811
3,783
26,605
4.777161
0.122654
0.061421
0.037185
0.058101
0.667441
0.609894
0.589143
0.530821
0.501715
0.496514
0
0.023909
0.149521
26,605
453
184
58.730684
0.774782
0.067168
0
0.053957
0
0.093525
0.186597
0.002823
0
0
0
0
0
0
null
null
0.028777
0.061151
null
null
0.039568
0
0
0
null
0
0
0
0
0
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
169500c814b2e423f334d0718e696cea3fd5b0e5
8,467
py
Python
ApiManager/migrations/0001_initial.py
Han-Xiaoyu/HttpRunnerManager-Test
fb1ce3cbe7984a5a1af57309aa441f95b3e1ea31
[ "MIT" ]
null
null
null
ApiManager/migrations/0001_initial.py
Han-Xiaoyu/HttpRunnerManager-Test
fb1ce3cbe7984a5a1af57309aa441f95b3e1ea31
[ "MIT" ]
null
null
null
ApiManager/migrations/0001_initial.py
Han-Xiaoyu/HttpRunnerManager-Test
fb1ce3cbe7984a5a1af57309aa441f95b3e1ea31
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2020-09-10 19:29 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='DebugTalk', fields=[ ...
49.51462
128
0.562064
823
8,467
5.557716
0.171324
0.137079
0.085265
0.131176
0.690206
0.666375
0.619152
0.570398
0.534106
0.513118
0
0.013342
0.291839
8,467
170
129
49.805882
0.7495
0.005315
0
0.515337
1
0
0.151306
0.010333
0
0
0
0
0
1
0
false
0.006135
0.01227
0
0.03681
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
1698adae6522df4bda2a863e6395757fc912bd88
385
py
Python
sneakysnek/keyboard_event.py
SerpentAI/sneakysnek
8c760c54ed21a85290fde5e7f791dfbbcb9b6be5
[ "MIT" ]
89
2018-01-27T09:34:22.000Z
2022-01-28T14:28:53.000Z
sneakysnek/keyboard_event.py
SerpentAI/sneakysnek
8c760c54ed21a85290fde5e7f791dfbbcb9b6be5
[ "MIT" ]
8
2018-02-02T09:01:34.000Z
2021-12-15T17:42:42.000Z
sneakysnek/keyboard_event.py
SerpentAI/sneakysnek
8c760c54ed21a85290fde5e7f791dfbbcb9b6be5
[ "MIT" ]
15
2018-01-29T16:49:09.000Z
2022-02-25T11:59:59.000Z
import time import enum class KeyboardEvents(enum.Enum): DOWN = "DOWN" UP = "UP" class KeyboardEvent: def __init__(self, event, keyboard_key): self.event = event self.keyboard_key = keyboard_key self.timestamp = time.time() def __str__(self): return f"KeyboardEvent....
20.263158
95
0.654545
47
385
5.106383
0.404255
0.183333
0.125
0
0
0
0
0
0
0
0
0
0.231169
385
18
96
21.388889
0.810811
0
0
0
0
0.083333
0.215584
0.142857
0
0
0
0
0
1
0.166667
false
0
0.166667
0.083333
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
169d3f775a656450ac098e7ab48096f829a34b5a
11,838
py
Python
modules/UserHandling/app.py
MattSkiff/aerial_wildlife_detection
7ec40646f1d36619e4cbf41526eed1b112649b01
[ "MIT" ]
166
2019-08-12T00:58:06.000Z
2022-03-20T15:40:12.000Z
modules/UserHandling/app.py
MattSkiff/aerial_wildlife_detection
7ec40646f1d36619e4cbf41526eed1b112649b01
[ "MIT" ]
49
2019-10-01T05:27:00.000Z
2022-03-24T09:27:42.000Z
modules/UserHandling/app.py
vince7lf/aerial_wildlife_detection
96721657168cb308db9d7c939f931a85dcd2fce5
[ "MIT" ]
51
2019-08-14T21:27:05.000Z
2022-03-23T14:01:16.000Z
''' Main Bottle and routings for the UserHandling module. 2019-21 Benjamin Kellenberger ''' import os import html from bottle import request, response, static_file, abort, redirect from .backend.middleware import UserMiddleware from .backend.exceptions import * class UserHandler(): def __init__(self, c...
39.858586
195
0.551867
1,054
11,838
6.114801
0.189753
0.022808
0.029791
0.031032
0.43879
0.420481
0.349728
0.339178
0.324127
0.288751
0
0.005374
0.339838
11,838
297
196
39.858586
0.819322
0.144704
0
0.434783
0
0
0.098548
0.018428
0
0
0
0.003367
0
1
0.086957
false
0.05314
0.024155
0.014493
0.207729
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
16a022db423a615f92bf91910e539415115d1ed9
1,485
py
Python
src/plugins/BUPT_ncov/crypto.py
shuiyiyihan/novabot_v2
b662a7553e256e007debe07c72f373f6f8f2b23f
[ "MIT" ]
1
2022-03-17T12:28:01.000Z
2022-03-17T12:28:01.000Z
src/plugins/BUPT_ncov/crypto.py
shuiyiyihan/novabot_v2
b662a7553e256e007debe07c72f373f6f8f2b23f
[ "MIT" ]
null
null
null
src/plugins/BUPT_ncov/crypto.py
shuiyiyihan/novabot_v2
b662a7553e256e007debe07c72f373f6f8f2b23f
[ "MIT" ]
null
null
null
import base64 from Crypto.Cipher import AES from Crypto.Random import get_random_bytes from Crypto.Protocol.KDF import PBKDF2 from typing import Tuple from pathlib import Path def msg_encrypt(passwd: str, secret: bytes, iv: bytes): msg = passwd.encode() aes = AES.new(secret, mode=AES.MODE_CFB, iv=iv) enc...
28.557692
59
0.59596
205
1,485
4.219512
0.287805
0.036994
0.055491
0.055491
0.224277
0.178035
0.178035
0.108671
0.076301
0.076301
0
0.019066
0.293603
1,485
51
60
29.117647
0.805529
0
0
0.051282
0
0
0.005398
0
0
0
0
0
0
1
0.102564
false
0.282051
0.153846
0
0.358974
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
16a6580dfe94eff1a6e1a71b61b10cbcf3fd44de
5,426
py
Python
Selector.py
imandr/fcslib
bf938f48b969b35592d7791cdb7f48e09d8655d0
[ "BSD-3-Clause" ]
null
null
null
Selector.py
imandr/fcslib
bf938f48b969b35592d7791cdb7f48e09d8655d0
[ "BSD-3-Clause" ]
null
null
null
Selector.py
imandr/fcslib
bf938f48b969b35592d7791cdb7f48e09d8655d0
[ "BSD-3-Clause" ]
null
null
null
import select import sys import time class Process: # # Abstract class. Must have following functions. Selector # will call those: # # doRead(self, fd, selector) # # doWrite(self, fd, selector) # # doException(self, fd, selector) # ...
37.680556
87
0.363435
456
5,426
4.307018
0.153509
0.04277
0.0611
0.045825
0.521385
0.453666
0.137475
0.088595
0.088595
0.088595
0
0.003292
0.552156
5,426
143
88
37.944056
0.804938
0.069296
0
0.278846
0
0
0
0
0
0
0
0
0
1
0.076923
false
0.009615
0.028846
0
0.134615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16a68fc110eb5d418cafdc32d7c292073bd79ff1
511
py
Python
garnbarn_api/migrations/0018_alter_customuser_line.py
GarnBarn/garnbarn-backend
ebe54b7206a6c27198003aaeb908cc2b296fa1dd
[ "MIT" ]
null
null
null
garnbarn_api/migrations/0018_alter_customuser_line.py
GarnBarn/garnbarn-backend
ebe54b7206a6c27198003aaeb908cc2b296fa1dd
[ "MIT" ]
39
2021-10-14T16:20:28.000Z
2021-12-01T08:58:53.000Z
garnbarn_api/migrations/0018_alter_customuser_line.py
GarnBarn/garnbarn-backend
ebe54b7206a6c27198003aaeb908cc2b296fa1dd
[ "MIT" ]
3
2021-10-14T16:12:22.000Z
2022-01-13T14:23:34.000Z
# Generated by Django 3.2.7 on 2021-10-28 17:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('garnbarn_api', '0017_assignment_owner'), ] operations = [ migrations.AlterField( model_name='cu...
25.55
137
0.655577
60
511
5.466667
0.683333
0.073171
0.085366
0.134146
0
0
0
0
0
0
0
0.048101
0.227006
511
19
138
26.894737
0.782278
0.088063
0
0
1
0
0.155172
0.099138
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
16a7a40ad2dca4dee66a4f671198bca078ae824f
296
py
Python
exercise_averagescores_solution.py
annezola/gdi-python
a806f0eca2eb17e5a975cce8d0b1d90490dd455e
[ "MIT" ]
null
null
null
exercise_averagescores_solution.py
annezola/gdi-python
a806f0eca2eb17e5a975cce8d0b1d90490dd455e
[ "MIT" ]
null
null
null
exercise_averagescores_solution.py
annezola/gdi-python
a806f0eca2eb17e5a975cce8d0b1d90490dd455e
[ "MIT" ]
1
2022-01-04T15:26:40.000Z
2022-01-04T15:26:40.000Z
"""This function returns the average of the provided scores.""" def average_scores(scores): total = 0 for score in scores: total += score return total/len(scores) avg1 = average_scores([10, 20]) # 15.0 avg2 = average_scores([90, 80, 70]) # 80.0 avg3 = average_scores([8.9, 7.2]) # 8.05
29.6
63
0.675676
49
296
4
0.612245
0.265306
0
0
0
0
0
0
0
0
0
0.110656
0.175676
296
10
64
29.6
0.692623
0.246622
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
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
16abf0429730dca2beabc1a195507c5552802e3a
2,055
py
Python
{{cookiecutter.package_name}}/setup.py
LudditeLabs/cookiecutter-ludditelabs-py
75bca2eac15c431c61f8f2380d9470ec11eed1ff
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.package_name}}/setup.py
LudditeLabs/cookiecutter-ludditelabs-py
75bca2eac15c431c61f8f2380d9470ec11eed1ff
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.package_name}}/setup.py
LudditeLabs/cookiecutter-ludditelabs-py
75bca2eac15c431c61f8f2380d9470ec11eed1ff
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from pathlib import Path from setuptools import setup, find_packages root = Path(__file__).parent def get_base_version(): filename = root / "src" / "{{ cookiecutter.package_name }}" / "__init__.py" with filename.open() as f: for line in f: if ...
31.615385
107
0.60438
214
2,055
5.556075
0.481308
0.055509
0.09672
0.043734
0.035324
0
0
0
0
0
0
0.006254
0.221898
2,055
64
108
32.109375
0.737336
0.020438
0
0.132075
0
0
0.37096
0.107907
0
0
0
0
0
0
null
null
0
0.037736
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
16ac48f0938d74417c60129bdd845afe6ab448c5
1,222
py
Python
vsh/errors.py
brianbruggeman/ves
6d3c237d08f1e6f6c85fe54865b56c65d9f6a77e
[ "MIT" ]
3
2018-01-31T19:55:28.000Z
2019-05-30T20:21:18.000Z
vsh/errors.py
brianbruggeman/ves
6d3c237d08f1e6f6c85fe54865b56c65d9f6a77e
[ "MIT" ]
12
2019-01-18T16:16:19.000Z
2019-06-14T03:26:34.000Z
vsh/errors.py
brianbruggeman/ves
6d3c237d08f1e6f6c85fe54865b56c65d9f6a77e
[ "MIT" ]
1
2019-01-18T16:20:15.000Z
2019-01-18T16:20:15.000Z
class BaseError(Exception): """Fancy error handler""" def __init__(self, message=None, **kwds): if message is not None: message = message.format(**kwds) if kwds else message else: message = self.__doc__.format(**kwds) if kwds else self.__doc__ self.__msg__ = mess...
26
87
0.657119
136
1,222
5.595588
0.352941
0.128778
0.099869
0.115637
0.189225
0
0
0
0
0
0
0
0.215221
1,222
46
88
26.565217
0.793535
0.286416
0
0
0
0
0.022864
0
0
0
0
0
0
1
0.142857
false
0
0
0.047619
0.619048
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
16af6888cd2f8d8a2d8fba82bd8f5ad773146dd2
1,081
py
Python
scripts/generate_corpus.py
HaykoGasparyan/allnews-am
a8c4a9198a8e27931b89b26f23653919f3b6dd4f
[ "MIT" ]
null
null
null
scripts/generate_corpus.py
HaykoGasparyan/allnews-am
a8c4a9198a8e27931b89b26f23653919f3b6dd4f
[ "MIT" ]
null
null
null
scripts/generate_corpus.py
HaykoGasparyan/allnews-am
a8c4a9198a8e27931b89b26f23653919f3b6dd4f
[ "MIT" ]
null
null
null
"""Generates the pre-processed text corpus from a MySQL database.""" import argparse import os import tqdm import allnews_am.db import allnews_am.processing file_dir = os.path.dirname(os.path.realpath(__file__)) def main(args): mysql_db = allnews_am.db.MySQL() all_news = mysql_db.fetch_news() with ope...
30.885714
74
0.652174
134
1,081
5.014925
0.477612
0.066964
0.044643
0
0
0
0
0
0
0
0
0.001211
0.235893
1,081
34
75
31.794118
0.812349
0.057354
0
0
1
0
0.103653
0.024679
0
0
0
0
0
1
0.04
false
0
0.2
0
0.24
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
16b288b30cbcf1fc88241997d790ae6ae77cd18b
1,204
py
Python
ERA5 Analysis/sandbox_era-5.py
chris3edwards3/Multiple_Resolution_Analysis
bcfd20602167e77b2f178e7e1d28b94d8b33403a
[ "MIT" ]
null
null
null
ERA5 Analysis/sandbox_era-5.py
chris3edwards3/Multiple_Resolution_Analysis
bcfd20602167e77b2f178e7e1d28b94d8b33403a
[ "MIT" ]
null
null
null
ERA5 Analysis/sandbox_era-5.py
chris3edwards3/Multiple_Resolution_Analysis
bcfd20602167e77b2f178e7e1d28b94d8b33403a
[ "MIT" ]
1
2020-04-21T09:57:37.000Z
2020-04-21T09:57:37.000Z
import numpy as np import pandas as pd import hydrostats.data as hd import hydrostats.visual as hv import HydroErr as he import matplotlib.pyplot as plt import os from netCDF4 import Dataset # Put all the directories (different states and resolutions) and corresponding NetCDF files into lists. list_of_files_era5 = [] ...
35.411765
113
0.699336
181
1,204
4.403315
0.38674
0.067754
0.055207
0.075282
0.363864
0.363864
0.363864
0.363864
0.302384
0.302384
0
0.032836
0.165282
1,204
34
114
35.411765
0.760199
0.083887
0
0
0
0
0.283122
0.244102
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
16b72fc7894647baf15b099ebb76f5d9f54d0d53
5,280
py
Python
limatix/paramdb2_wrapper.py
nscheirer/limatix
bd22ce349a59194834879aac5b2452d85d12293e
[ "BSD-3-Clause" ]
null
null
null
limatix/paramdb2_wrapper.py
nscheirer/limatix
bd22ce349a59194834879aac5b2452d85d12293e
[ "BSD-3-Clause" ]
3
2018-06-26T22:56:24.000Z
2018-07-09T18:33:00.000Z
limatix/paramdb2_wrapper.py
nscheirer/limatix
bd22ce349a59194834879aac5b2452d85d12293e
[ "BSD-3-Clause" ]
1
2022-03-03T19:26:11.000Z
2022-03-03T19:26:11.000Z
#!/usr/bin/env python """ Limatix: Laboratory Information Management with XML Copyright (C) 2006-2016 Iowa State University This module contains funcionality needed to use paramdb inside other Python scripts. It will launch a dbus session in a new process and start responding to requests until it is stopped. An exam...
29.662921
127
0.669697
673
5,280
5.145617
0.398217
0.025411
0.022524
0.025989
0.09125
0
0
0
0
0
0
0.012293
0.245076
5,280
177
128
29.830508
0.856498
0.513826
0
0.183333
0
0
0.052259
0
0
0
0
0
0
1
0.066667
false
0.15
0.25
0
0.383333
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
16b95ce8f626ac4065882bf510464d76d8f8c2e1
1,535
py
Python
app/reviews/models.py
ShinJam/airbnb-clone
5f79c6ff38d268e41e1b99ba1b1ccca65da746a3
[ "MIT" ]
null
null
null
app/reviews/models.py
ShinJam/airbnb-clone
5f79c6ff38d268e41e1b99ba1b1ccca65da746a3
[ "MIT" ]
10
2020-03-03T16:15:51.000Z
2022-02-10T09:25:15.000Z
app/reviews/models.py
ShinJam/airbnb-clone
5f79c6ff38d268e41e1b99ba1b1ccca65da746a3
[ "MIT" ]
null
null
null
from django.db import models from django.core.validators import MinLengthValidator, MaxLengthValidator from core import models as core_models class Review(core_models.TimeStampedModel): """ Review Model Definition""" review = models.TextField() accuracy = models.IntegerField( validators=[MinLengt...
31.979167
92
0.655375
144
1,535
6.881944
0.368056
0.108981
0.169526
0.278507
0.478305
0.478305
0.478305
0
0
0
0
0.011966
0.237785
1,535
48
93
31.979167
0.835043
0.014984
0
0.15
0
0
0.048473
0
0
0
0
0
0
1
0.05
false
0
0.075
0.025
0.45
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
16bc3d9c0271f6829dec5c6e9dc30cc936d28b00
16,987
py
Python
cirq/ops/pauli_string_test.py
jlmayfield/Cirq
dc1294f54118a9a4f92546ca13780b91615dd675
[ "Apache-2.0" ]
null
null
null
cirq/ops/pauli_string_test.py
jlmayfield/Cirq
dc1294f54118a9a4f92546ca13780b91615dd675
[ "Apache-2.0" ]
null
null
null
cirq/ops/pauli_string_test.py
jlmayfield/Cirq
dc1294f54118a9a4f92546ca13780b91615dd675
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 The Cirq Developers # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
39.596737
76
0.650968
2,573
16,987
4.073844
0.090556
0.157413
0.094066
0.080137
0.712459
0.675253
0.62717
0.589487
0.566113
0.560962
0
0.031472
0.197563
16,987
428
77
39.689252
0.73751
0.04321
0
0.395706
0
0
0.029937
0.010349
0
0
0
0
0.239264
1
0.088957
false
0.070552
0.015337
0.003067
0.110429
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
16c5c3970066e20ec54cdacc4c35234baf1fa7e1
235,883
py
Python
tencentcloud/tsf/v20180326/models.py
snowxmas/tencentcloud-sdk-python
fb527dcfc6b52a210e79d581f85cb8cde1ea9c85
[ "Apache-2.0" ]
null
null
null
tencentcloud/tsf/v20180326/models.py
snowxmas/tencentcloud-sdk-python
fb527dcfc6b52a210e79d581f85cb8cde1ea9c85
[ "Apache-2.0" ]
null
null
null
tencentcloud/tsf/v20180326/models.py
snowxmas/tencentcloud-sdk-python
fb527dcfc6b52a210e79d581f85cb8cde1ea9c85
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf8 -*- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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...
28.436769
97
0.622597
22,524
235,883
6.461508
0.06704
0.071733
0.04493
0.072578
0.74982
0.677337
0.622115
0.600911
0.554188
0.534668
0
0.003782
0.278168
235,883
8,295
98
28.436769
0.850982
0.39509
0
0.809644
0
0
0.086638
0.00365
0
0
0
0
0
1
0.154428
false
0.001261
0.002206
0
0.233848
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16c6fd96de0fc4638d1161ac2174f00509b37f26
6,743
py
Python
restframework/users/views.py
xiangzaizi/Serializer
d4ba67a5c271e9a6d1914a121098bed161f0f820
[ "MIT" ]
null
null
null
restframework/users/views.py
xiangzaizi/Serializer
d4ba67a5c271e9a6d1914a121098bed161f0f820
[ "MIT" ]
null
null
null
restframework/users/views.py
xiangzaizi/Serializer
d4ba67a5c271e9a6d1914a121098bed161f0f820
[ "MIT" ]
null
null
null
from django.http import HttpResponse from rest_framework.generics import GenericAPIView, ListAPIView, RetrieveAPIView from rest_framework.pagination import PageNumberPagination from rest_framework.permissions import BasePermission from rest_framework.response import Response from rest_framework.views import APIView fro...
31.217593
123
0.663651
621
6,743
7.141707
0.312399
0.039684
0.030665
0.037881
0.225705
0.200225
0.141826
0.078692
0.066742
0.066742
0
0.005439
0.236542
6,743
216
124
31.217593
0.856061
0.166543
0
0.385965
0
0
0.010572
0
0
0
0
0
0
1
0.140351
false
0
0.096491
0.026316
0.692982
0.008772
0
0
0
null
0
0
0
0
0
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
16c8b33b7bcb172fa62fc229897c90e1c2505f19
866
py
Python
texworks/parts/plugins/x-texlive.py
nskaggs/snappy-playpen
5114359fbb297357634e397c78deb71de5d709e1
[ "MIT" ]
213
2016-05-17T19:25:30.000Z
2022-03-14T02:01:55.000Z
texworks/parts/plugins/x-texlive.py
nskaggs/snappy-playpen
5114359fbb297357634e397c78deb71de5d709e1
[ "MIT" ]
252
2016-05-17T21:21:43.000Z
2017-08-16T23:21:58.000Z
texworks/parts/plugins/x-texlive.py
nskaggs/snappy-playpen
5114359fbb297357634e397c78deb71de5d709e1
[ "MIT" ]
119
2016-05-17T20:11:38.000Z
2021-09-07T15:15:26.000Z
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- import os from subprocess import Popen, PIPE import snapcraft from snapcraft.plugins import dump class TexLivePlugin(snapcraft.plugins.dump.DumpPlugin): def build(self): super(dump.DumpPlugin, self).build() # Install TexLive with the stand...
34.64
131
0.644342
109
866
5.06422
0.53211
0.032609
0.072464
0.068841
0.097826
0
0
0
0
0
0
0.008547
0.189376
866
24
132
36.083333
0.777778
0.203233
0
0
0
0
0.103499
0.03207
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
16cb069b8141bfeca54f890f79abad097056132e
67,144
py
Python
sportsipy/nfl/roster.py
MArtinherz/sportsipy
24f4c1d5e3bb8ecc56e21568961588491e9cfd2a
[ "MIT" ]
null
null
null
sportsipy/nfl/roster.py
MArtinherz/sportsipy
24f4c1d5e3bb8ecc56e21568961588491e9cfd2a
[ "MIT" ]
null
null
null
sportsipy/nfl/roster.py
MArtinherz/sportsipy
24f4c1d5e3bb8ecc56e21568961588491e9cfd2a
[ "MIT" ]
null
null
null
import pandas as pd import re from functools import wraps from lxml.etree import ParserError, XMLSyntaxError from pyquery import PyQuery as pq from urllib.error import HTTPError from .. import utils from .constants import PLAYER_SCHEME, PLAYER_URL, ROSTER_URL, DETAILED_STATS from .player import AbstractPlayer def _cl...
35.376185
79
0.633266
8,135
67,144
4.930916
0.069453
0.018946
0.057837
0.033904
0.582355
0.461197
0.391344
0.32401
0.282851
0.229427
0
0.002715
0.297927
67,144
1,897
80
35.394834
0.848218
0.33455
0
0.22905
0
0
0.083355
0.048555
0
0
0
0
0
1
0.172067
false
0.069274
0.010056
0
0.36648
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
16cc8314e72922b0185671a66f004619a7723a87
7,506
py
Python
eCommerce-master/src/accounts/forms.py
felipebrigo/Python-projects
a0ba1f0f84d89fc9d5125c137046c574bc99d86f
[ "MIT" ]
null
null
null
eCommerce-master/src/accounts/forms.py
felipebrigo/Python-projects
a0ba1f0f84d89fc9d5125c137046c574bc99d86f
[ "MIT" ]
1
2021-06-10T23:53:43.000Z
2021-06-10T23:53:43.000Z
eCommerce-master/src/accounts/forms.py
felipebrigo/Python-projects
a0ba1f0f84d89fc9d5125c137046c574bc99d86f
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth import authenticate, login, get_user_model from django.contrib.auth.forms import ReadOnlyPasswordHashField from django.core.urlresolvers import reverse from django.utils.safestring import mark_safe User = get_user_model() from .models import EmailActivation, GuestEmai...
36.794118
118
0.626965
836
7,506
5.511962
0.212919
0.023872
0.026042
0.019531
0.421658
0.346571
0.335286
0.311415
0.303385
0.303385
0
0.005504
0.273781
7,506
203
119
36.975369
0.839846
0.247269
0
0.378151
0
0
0.112567
0.013106
0
0
0
0
0
1
0.084034
false
0.218487
0.05042
0.008403
0.378151
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
16ccb84a69ed13737cf6731df8e2dfede877d085
514
py
Python
pygerbil/gerbil.py
rungsiman/pygerbil
4f6665d7d898ee06ba51fb6c062079410b076753
[ "MIT" ]
1
2022-01-14T07:50:35.000Z
2022-01-14T07:50:35.000Z
pygerbil/gerbil.py
rungsiman/pygerbil
4f6665d7d898ee06ba51fb6c062079410b076753
[ "MIT" ]
2
2021-06-02T00:41:29.000Z
2022-01-14T07:50:25.000Z
pygerbil/gerbil.py
rungsiman/pygerbil
4f6665d7d898ee06ba51fb6c062079410b076753
[ "MIT" ]
null
null
null
from pynif import NIFCollection class GerbilNIFCollection: def __init__(self, context: str, mention: str): self.collection = NIFCollection() self.context = context self.mention = mention self.phrases = self.collection.add_context(self.context, self.mention) @property def t...
23.363636
78
0.651751
59
514
5.525424
0.40678
0.101227
0.067485
0
0
0
0
0
0
0
0
0
0.250973
514
21
79
24.47619
0.846753
0
0
0
0
0
0.011673
0
0
0
0
0
0
1
0.2
false
0
0.066667
0.066667
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
16cfa9276bd27a50d97a0352e3ede025711a138e
1,542
py
Python
authors/base_file.py
SilasKenneth/ah-technocrats
c199e6dd432bdb4a5e1152f90cb1716b09af2c4e
[ "BSD-3-Clause" ]
1
2018-12-04T15:29:57.000Z
2018-12-04T15:29:57.000Z
authors/base_file.py
SilasKenneth/ah-technocrats
c199e6dd432bdb4a5e1152f90cb1716b09af2c4e
[ "BSD-3-Clause" ]
52
2018-11-27T08:00:25.000Z
2021-06-10T20:58:16.000Z
authors/base_file.py
SilasKenneth/ah-technocrats
c199e6dd432bdb4a5e1152f90cb1716b09af2c4e
[ "BSD-3-Clause" ]
4
2019-07-15T10:24:22.000Z
2020-02-04T19:15:12.000Z
from django.urls import reverse from rest_framework.test import APIClient from django.test import TestCase class BaseTestCase(TestCase): """Base test file to be used by other test files in the project""" def setUp(self): """Basic configurations of the tests and data for mockups""" self.registe...
31.469388
83
0.523346
144
1,542
5.506944
0.458333
0.06053
0.126103
0.064313
0.142497
0.142497
0.100883
0
0
0
0
0.006972
0.348898
1,542
48
84
32.125
0.782869
0.074578
0
0.3
0
0
0.245763
0.079802
0
0
0
0
0
1
0.025
false
0.15
0.075
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
16d00990909045351b31996fb8915be276f2e4ef
6,653
py
Python
doc/tools/syndesis-documentation-maven-plugin/src/test/resources/parse.py
dlabaj/syndesis-react-poc
80a9d17c636b9be326ba694f0df17c02b84af342
[ "Apache-2.0" ]
4
2018-11-19T20:48:52.000Z
2018-12-04T09:53:45.000Z
doc/tools/syndesis-documentation-maven-plugin/src/test/resources/parse.py
dlabaj/syndesis-react-poc
80a9d17c636b9be326ba694f0df17c02b84af342
[ "Apache-2.0" ]
359
2019-04-10T15:44:34.000Z
2019-06-14T07:47:44.000Z
doc/tools/syndesis-documentation-maven-plugin/src/test/resources/parse.py
dlabaj/syndesis-react-poc
80a9d17c636b9be326ba694f0df17c02b84af342
[ "Apache-2.0" ]
14
2018-11-01T14:18:46.000Z
2019-03-05T14:52:54.000Z
#!/usr/bin/env python __license__ = """ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (...
36.355191
127
0.592515
899
6,653
4.368187
0.307008
0.015279
0.007639
0.00713
0.083779
0.071556
0.060351
0.060351
0.030558
0
0
0.003321
0.321058
6,653
182
128
36.554945
0.866062
0.187434
0
0.195489
0
0
0.266679
0
0
0
0
0
0
0
null
null
0
0.045113
null
null
0.097744
0
0
0
null
0
0
0
0
0
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
16d4e2817be3e2a7b54d6a91e03b620dedb7eac0
4,048
py
Python
docker/src/clawpack-5.3.1/geoclaw/src/python/geoclaw/etopotools.py
ian-r-rose/visualization
ed6d9fab95eb125e7340ab3fad3ed114ed3214af
[ "CC-BY-4.0" ]
11
2017-01-04T18:19:48.000Z
2021-02-21T01:46:33.000Z
docker/src/clawpack-5.3.1/geoclaw/src/python/geoclaw/etopotools.py
ian-r-rose/visualization
ed6d9fab95eb125e7340ab3fad3ed114ed3214af
[ "CC-BY-4.0" ]
8
2016-09-22T20:49:51.000Z
2019-09-06T23:28:13.000Z
docker/src/clawpack-5.3.1/geoclaw/src/python/geoclaw/etopotools.py
ian-r-rose/visualization
ed6d9fab95eb125e7340ab3fad3ed114ed3214af
[ "CC-BY-4.0" ]
13
2016-09-22T20:20:06.000Z
2020-07-13T14:48:32.000Z
""" Tools to download etopo topography/bathymetry data from NCEI (formerly NGDC). See http://www.ngdc.noaa.gov/mgg/global/global.html """ def etopo1_download(xlimits, ylimits, dx=0.0166666666667, dy=None, \ output_dir='.', file_name=None, force=False, verbose=True, \ return_topo=False): """ ...
34.896552
82
0.604496
578
4,048
4.155709
0.34083
0.016653
0.018318
0.018734
0.081182
0.071191
0.066195
0.066195
0.066195
0.032473
0
0.063995
0.266551
4,048
115
83
35.2
0.745032
0.01087
0
0.051724
0
0.017241
0.226672
0.062875
0
0
0
0
0
0
null
null
0
0.068966
null
null
0.086207
0
0
0
null
0
0
0
0
0
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
16d6a669fc9bb32c4bea2eaa989c2f6cc1cf9db5
7,326
py
Python
sdk/python/pulumi_azure_native/databoxedge/v20190801/get_storage_account_credential.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/databoxedge/v20190801/get_storage_account_credential.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/databoxedge/v20190801/get_storage_account_credential.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
36.63
212
0.649331
842
7,326
5.345606
0.162708
0.068429
0.037325
0.073317
0.247723
0.15441
0.085314
0.055321
0
0
0
0.001645
0.253344
7,326
199
213
36.81407
0.821207
0.119301
0
0.113636
1
0
0.162522
0.033805
0
0
0
0
0
1
0.106061
false
0
0.045455
0
0.265152
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
16ddf205f627eb6916fd2a99ec2ef4deaa5d1899
2,647
py
Python
scripts/color_follow.py
supercatex/home_edu
6368967917892eb43164ca79fd4faeafb085be37
[ "MIT" ]
3
2019-05-12T00:20:06.000Z
2021-06-27T02:12:10.000Z
scripts/color_follow.py
supercatex/home_edu
6368967917892eb43164ca79fd4faeafb085be37
[ "MIT" ]
25
2019-05-12T14:53:05.000Z
2019-05-12T16:00:44.000Z
scripts/color_follow.py
supercatex/home_edu
6368967917892eb43164ca79fd4faeafb085be37
[ "MIT" ]
1
2021-05-23T06:46:37.000Z
2021-05-23T06:46:37.000Z
#!/usr/bin/env python from core import Astra as astra import numpy as np import cv2 import rospy import math import time class color_follow(object): def __init__(self): self.sensetivity = 50 self.lower = [] self.upper = [] def first_center_point(depth_image, color_image): h, w, c = color_image.shape x = w...
26.47
93
0.627125
450
2,647
3.528889
0.333333
0.044081
0.028338
0.037783
0.076826
0.076826
0.06927
0.037783
0
0
0
0.051657
0.224783
2,647
100
94
26.47
0.722222
0.011711
0
0.045455
0
0
0.028681
0.009943
0
0
0
0
0
0
null
null
0
0.068182
null
null
0.011364
0
0
0
null
0
0
0
0
0
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
16dedf6977b981f036df8a226d0c212ce61fd47e
4,570
py
Python
src/passutil/pu.py
aaronstanek/password-generator
68f6f2ea1721a2ed52333eff842580db3b0a5307
[ "MIT" ]
3
2020-08-16T22:55:38.000Z
2022-01-24T23:31:01.000Z
src/passutil/pu.py
aaronstanek/password-generator
68f6f2ea1721a2ed52333eff842580db3b0a5307
[ "MIT" ]
null
null
null
src/passutil/pu.py
aaronstanek/password-generator
68f6f2ea1721a2ed52333eff842580db3b0a5307
[ "MIT" ]
null
null
null
# Copyright Aaron Stanek 2021 # See LICENSE for more details import sys if sys.version_info[0] != 3 or sys.version_info[1] < 6: raise Exception("Python Password Utility requires Python 3.6 or later. Compatibility with any major versions after Python 3 is not guaranteed.") import hashlib import secrets ...
40.803571
149
0.645733
632
4,570
4.602848
0.351266
0.034376
0.016501
0.022688
0.044345
0.044345
0.044345
0.044345
0.030251
0
0
0.030386
0.279869
4,570
111
150
41.171171
0.85354
0.405252
0
0.035714
0
0.017857
0.142354
0
0
0
0
0
0
1
0.071429
false
0.107143
0.089286
0
0.232143
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
16e030d5ebd4952096a42bc0c74a6bd003837cc9
3,652
py
Python
app/customer/models/block_user_device.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
2
2017-12-02T13:58:30.000Z
2018-08-02T17:07:59.000Z
app/customer/models/block_user_device.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
null
null
null
app/customer/models/block_user_device.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 import datetime from django.db import models import logging from app.customer.models.user import User from mongoengine import * from base.settings import CHATPAMONGO connect(CHATPAMONGO.db, host=CHATPAMONGO.host, port=CHATPAMONGO.port, username=CHATPAMONGO.username, password=CHATPAMONGO.passwo...
38.442105
194
0.657996
463
3,652
4.902808
0.282937
0.08326
0.084582
0.052863
0.129075
0.025551
0
0
0
0
0
0.009832
0.248083
3,652
94
195
38.851064
0.816824
0.046002
0
0.041667
0
0
0.03483
0
0
0
0
0
0
0
null
null
0.013889
0.083333
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
16e2b3a03badb7cb5bab5a8ae79b85c68561b909
6,817
py
Python
pygfx/renderers/wgpu/pointsrender.py
pygfx/pygfx
3e49859af1c66b8853eba8f28daa68e14094cae7
[ "BSD-2-Clause" ]
60
2020-06-20T09:25:37.000Z
2022-03-31T23:06:30.000Z
pygfx/renderers/wgpu/pointsrender.py
pygfx/pygfx
3e49859af1c66b8853eba8f28daa68e14094cae7
[ "BSD-2-Clause" ]
190
2020-06-17T09:11:43.000Z
2022-03-31T17:42:19.000Z
pygfx/renderers/wgpu/pointsrender.py
pygfx/pygfx
3e49859af1c66b8853eba8f28daa68e14094cae7
[ "BSD-2-Clause" ]
2
2021-03-04T08:19:14.000Z
2022-01-02T16:31:15.000Z
import wgpu # only for flags/enums from . import register_wgpu_render_function from ._shadercomposer import Binding, WorldObjectShader from ...objects import Points from ...materials import PointsMaterial, GaussianPointsMaterial @register_wgpu_render_function(Points, PointsMaterial) def points_renderer(wobject, ren...
32.774038
95
0.531759
763
6,817
4.588467
0.27654
0.00914
0.018852
0.015424
0.111968
0.075978
0.067981
0.067981
0.018852
0.018852
0
0.0378
0.351914
6,817
207
96
32.932367
0.75464
0.07936
0
0.236025
0
0.006211
0.68184
0.054784
0
0
0
0
0
1
0.031056
false
0
0.031056
0.024845
0.111801
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
16e387b78f8137fb7cfe63faaa3cd0326fa1c826
1,612
py
Python
bot/db.py
P-Alban/currency_bot
2ce69b2312c39bb243c50f98d6eaa2e08f691b9e
[ "MIT" ]
null
null
null
bot/db.py
P-Alban/currency_bot
2ce69b2312c39bb243c50f98d6eaa2e08f691b9e
[ "MIT" ]
1
2021-06-01T21:54:14.000Z
2021-06-01T21:54:14.000Z
bot/db.py
P-Alban/currency_bot
2ce69b2312c39bb243c50f98d6eaa2e08f691b9e
[ "MIT" ]
null
null
null
import os from urllib import parse import psycopg2 class Connect: def __init__(self): parse.uses_netloc.append("postgres") url = parse.urlparse(os.environ["DATABASE_URL"]) self.connection = psycopg2.connect( database=url.path[1:], user=url.username, ...
31
87
0.596774
199
1,612
4.713568
0.296482
0.117271
0.126866
0.067164
0.416844
0.298507
0.226013
0.113006
0.113006
0.113006
0
0.006963
0.287221
1,612
51
88
31.607843
0.809399
0
0
0.125
0
0
0.142217
0
0
0
0
0
0
1
0.225
false
0.025
0.075
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
16ec9f41b1769184b138d4c10bcf6aab24cb7d60
205
py
Python
floude_method/__init__.py
st-a-novoseltcev/graph-floude-method
bfe13bfe0c7f615d8f2a575c0756d511818e9450
[ "MIT" ]
null
null
null
floude_method/__init__.py
st-a-novoseltcev/graph-floude-method
bfe13bfe0c7f615d8f2a575c0756d511818e9450
[ "MIT" ]
null
null
null
floude_method/__init__.py
st-a-novoseltcev/graph-floude-method
bfe13bfe0c7f615d8f2a575c0756d511818e9450
[ "MIT" ]
null
null
null
from floude_method.source import FloudeMethod def shortest_path(graph, start, end): solver = FloudeMethod(graph) answer = solver.solve(start, end) return answer __all__ = ['shortest_path']
18.636364
45
0.731707
25
205
5.72
0.68
0.167832
0
0
0
0
0
0
0
0
0
0
0.17561
205
10
46
20.5
0.846154
0
0
0
0
0
0.063415
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
bc406ccddc055d01e6627e23910a9acc3b13a33d
2,212
py
Python
src/binnedBLAS/depositSSq.py
ptrahrens/ReproBLAS
ae50ec6bcb4426af8f08f065c148227b8dcfe763
[ "BSD-3-Clause" ]
6
2018-10-02T18:51:26.000Z
2021-03-13T02:23:24.000Z
src/binnedBLAS/depositSSq.py
ptrahrens/ReproBLAS
ae50ec6bcb4426af8f08f065c148227b8dcfe763
[ "BSD-3-Clause" ]
6
2017-08-01T22:27:28.000Z
2019-12-20T08:34:48.000Z
src/binnedBLAS/depositSSq.py
ptrahrens/ReproBLAS
ae50ec6bcb4426af8f08f065c148227b8dcfe763
[ "BSD-3-Clause" ]
8
2017-07-01T22:19:09.000Z
2022-02-01T21:02:31.000Z
import sys, os sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), "gen")) import generate import dataTypes from src.binned import deposit class DepositSSq(deposit.Deposit): def __init__(self, data_type_class, fold_name, N_name, X_name, incX_name, manY_name, incmanY_name, scale_name): super...
63.2
209
0.718354
369
2,212
3.99729
0.211382
0.066441
0.056949
0.061695
0.548475
0.530169
0.474576
0.474576
0.474576
0.431186
0
0.016293
0.112116
2,212
34
210
65.058824
0.734725
0.179476
0
0
1
0
0.07854
0
0
0
0
0
0
1
0.107143
false
0
0.142857
0
0.285714
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
bc4181380b7cdc263c9f5e6db90dd7373db2dfe2
275
py
Python
tutorial_english/7_add_audio.py
SymonSaroar/manim
9f1112474fedb67c061852720ee75234d785a0ec
[ "MIT" ]
2
2020-12-26T05:21:23.000Z
2022-02-22T23:00:28.000Z
from_wjl/tutorial_english/tutorial/7_add_audio.py
wwjll/Manim-Chamber
3d1b186bd111e6297607ba31eba73465fb7d6229
[ "MIT" ]
null
null
null
from_wjl/tutorial_english/tutorial/7_add_audio.py
wwjll/Manim-Chamber
3d1b186bd111e6297607ba31eba73465fb7d6229
[ "MIT" ]
null
null
null
from big_ol_pile_of_manim_imports import * class SoundTest(Scene): CONFIG = {"include_sound": True} def construct(self): title=TextMobject("Sound Test").to_edge(UP) self.wait() self.add_sound("sound",gain=-10) self.play(Write(title))
27.5
51
0.654545
37
275
4.648649
0.810811
0
0
0
0
0
0
0
0
0
0
0.009217
0.210909
275
9
52
30.555556
0.78341
0
0
0
0
0
0.101818
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
bc4a2bfcffb809ea35dee0a0b69ff42440af8bb5
2,111
py
Python
index.py
M-ArafatZaman/LyricsFinder
6b9b8d65ce0a77c4083ebb276797301de62f46d1
[ "MIT" ]
null
null
null
index.py
M-ArafatZaman/LyricsFinder
6b9b8d65ce0a77c4083ebb276797301de62f46d1
[ "MIT" ]
null
null
null
index.py
M-ArafatZaman/LyricsFinder
6b9b8d65ce0a77c4083ebb276797301de62f46d1
[ "MIT" ]
null
null
null
''' A python CLI application which searches a spotify playlist for songs that matches the keywords. Mohammad Arafat Zaman © 2022 All rights reserved ''' from app import LyricsFinder from controllers.webscraper import scrapeLyricsFromURL import json ''' In the current directory, the client credentials of your spotify ...
36.396552
127
0.764567
241
2,111
6.634855
0.506224
0.028143
0.043777
0.035647
0.126954
0.110069
0.110069
0
0
0
0
0.046858
0.140692
2,111
57
128
37.035088
0.834068
0.613927
0
0
0
0
0.100806
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bc4ee2e05d104d091aa5b5aa1dc3a571fc2254ad
3,495
py
Python
pirates/shipparts/DistributedShippart.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
3
2021-02-25T06:38:13.000Z
2022-03-22T07:00:15.000Z
pirates/shipparts/DistributedShippart.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
null
null
null
pirates/shipparts/DistributedShippart.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
1
2021-02-25T06:38:17.000Z
2021-02-25T06:38:17.000Z
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.shipparts.DistributedShippart from direct.distributed.ClockDelta import * from direct.distributed import DistributedNode from di...
25.888889
104
0.630901
368
3,495
5.94837
0.317935
0.04751
0.031978
0.025582
0.023755
0.023755
0.023755
0
0
0
0
0.021904
0.281545
3,495
135
105
25.888889
0.849861
0.060944
0
0.15534
0
0
0.010677
0
0
0
0
0
0
1
0.262136
false
0.038835
0.058252
0.067961
0.466019
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
bc51c85d8b6c1650facba6b4cd8d656a29313f54
3,019
py
Python
backend/api/tests/test_gear.py
Savage-Aim/app
ecb3b7635caba552ded17172c0aa3535b5f3b98b
[ "MIT" ]
null
null
null
backend/api/tests/test_gear.py
Savage-Aim/app
ecb3b7635caba552ded17172c0aa3535b5f3b98b
[ "MIT" ]
1
2022-02-07T02:58:14.000Z
2022-02-07T02:58:14.000Z
backend/api/tests/test_gear.py
Savage-Aim/app
ecb3b7635caba552ded17172c0aa3535b5f3b98b
[ "MIT" ]
null
null
null
from io import StringIO from django.core.management import call_command from django.urls import reverse from rest_framework import status from api.models import Gear from api.serializers import GearSerializer from .test_base import SavageAimTestCase MAX_ITEM_LEVEL = 605 MIN_ITEM_LEVEL = 560 class GearCollection(Sava...
37.7375
112
0.663796
394
3,019
4.931472
0.329949
0.041688
0.037056
0.043232
0.260422
0.260422
0.260422
0.260422
0.260422
0.219249
0
0.011334
0.240146
3,019
79
113
38.21519
0.835658
0.199073
0
0.326531
0
0
0.106199
0.066753
0
0
0
0.012658
0.22449
1
0.081633
false
0
0.142857
0
0.244898
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
bc51d75851c975cd52aa49a4ac7c1d46bcfde40e
31,264
py
Python
TensorFlow_implementation/Summary_Generator/Tensorflow_Graph/order_planner_with_copynet.py
shashankk24/natural-language-summary-generation-from-structured-data-master
a8bd083685ff7d5c0228588c47ddfcecba4cf78b
[ "MIT" ]
187
2017-12-16T06:22:52.000Z
2022-03-13T03:46:55.000Z
TensorFlow_implementation/Summary_Generator/Tensorflow_Graph/order_planner_with_copynet.py
shashankk24/natural-language-summary-generation-from-structured-data-master
a8bd083685ff7d5c0228588c47ddfcecba4cf78b
[ "MIT" ]
12
2017-12-19T08:51:12.000Z
2021-11-16T18:55:20.000Z
TensorFlow_implementation/Summary_Generator/Tensorflow_Graph/order_planner_with_copynet.py
shashankk24/natural-language-summary-generation-from-structured-data-master
a8bd083685ff7d5c0228588c47ddfcecba4cf78b
[ "MIT" ]
54
2017-12-18T21:52:10.000Z
2022-01-25T12:51:51.000Z
''' This file generates the graph of the Model that we are going to use for the order planner for neural summary generator The function returns the graph object and some of the important handles of the tensors of the graph in a dictionary. Note, that all the possible tensor handles can be obtained by the tf...
54.657343
132
0.556167
3,417
31,264
4.819725
0.132572
0.012023
0.015301
0.020766
0.336086
0.251017
0.191208
0.156354
0.125326
0.102496
0
0.006736
0.316242
31,264
571
133
54.753065
0.763671
0.277604
0
0.054852
1
0.008439
0.139461
0.058333
0
0
0
0.001751
0
1
0.042194
false
0
0.004219
0.004219
0.088608
0.118143
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
bc59a35686df3f39db2d98f7b78e33ed3eb4e449
1,321
py
Python
wagtail/core/urls.py
samgans/wagtail
48a8af71e5333fb701476702bd784fa407567e25
[ "BSD-3-Clause" ]
1
2021-04-29T03:15:20.000Z
2021-04-29T03:15:20.000Z
wagtail/core/urls.py
samgans/wagtail
48a8af71e5333fb701476702bd784fa407567e25
[ "BSD-3-Clause" ]
6
2020-08-26T03:00:03.000Z
2020-09-24T02:59:14.000Z
wagtail/core/urls.py
samgans/wagtail
48a8af71e5333fb701476702bd784fa407567e25
[ "BSD-3-Clause" ]
1
2021-02-15T18:59:53.000Z
2021-02-15T18:59:53.000Z
from django.conf import settings from django.contrib.auth import views as auth_views from django.urls import path, re_path from wagtail.core import views from wagtail.core.utils import WAGTAIL_APPEND_SLASH if WAGTAIL_APPEND_SLASH: # If WAGTAIL_APPEND_SLASH is True (the default value), we match a # (possibly e...
33.871795
89
0.732021
176
1,321
5.261364
0.4375
0.056156
0.077754
0.064795
0.088553
0.062635
0.062635
0
0
0
0
0
0.175625
1,321
38
90
34.763158
0.850321
0.302801
0
0.086957
0
0
0.263158
0.185307
0
0
0
0
0
1
0
false
0.130435
0.217391
0
0.217391
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
bc5ac1bfacca677f7ece427586350d9bb718b8ba
295
py
Python
src/folder_app/urls.py
tonmoy50/drive_api
f19826cb93aec8c18190b2f1ecce0ecab97c4134
[ "MIT" ]
null
null
null
src/folder_app/urls.py
tonmoy50/drive_api
f19826cb93aec8c18190b2f1ecce0ecab97c4134
[ "MIT" ]
null
null
null
src/folder_app/urls.py
tonmoy50/drive_api
f19826cb93aec8c18190b2f1ecce0ecab97c4134
[ "MIT" ]
null
null
null
from django.urls import path from .views import GetAllUsers, AddNewUser, RemoveUser urlpatterns = [ path('all_users', GetAllUsers.as_view(), name='all_users'), path('add_user', AddNewUser.as_view(), name='add_user'), path('remove_user', RemoveUser.as_view(), name='remove_user'), ]
32.777778
66
0.722034
39
295
5.230769
0.461538
0.088235
0.147059
0
0
0
0
0
0
0
0
0
0.122034
295
8
67
36.875
0.787645
0
0
0
0
0
0.189831
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc5c53039a43d95d0ce427d0dc3cf6284d815ade
3,454
py
Python
evaluate.py
agikarasugi/Face-Mask-Invariant-End-to-End-Face-Recognition
eb274ff98246c1bb8748bd8c8351d3494a87dfce
[ "MIT" ]
1
2021-05-21T07:56:26.000Z
2021-05-21T07:56:26.000Z
evaluate.py
agikarasugi/Face-Mask-Invariant-End-to-End-Face-Recognition
eb274ff98246c1bb8748bd8c8351d3494a87dfce
[ "MIT" ]
null
null
null
evaluate.py
agikarasugi/Face-Mask-Invariant-End-to-End-Face-Recognition
eb274ff98246c1bb8748bd8c8351d3494a87dfce
[ "MIT" ]
1
2021-08-10T05:34:53.000Z
2021-08-10T05:34:53.000Z
from pathlib import Path import argparse import numpy as np import imgaug.augmenters as iaa import torchvision.transforms as T import torch from Evaluator import FRLiteEvaluator from Predictor import FRLitePredictor from networks.ResnetFaceSTN import ResnetFaceSTN from networks.InsightFace import Backbone, MobileFace...
41.119048
127
0.695136
385
3,454
6.064935
0.405195
0.046253
0.041113
0.027409
0.174732
0.118201
0.093362
0.063383
0.029122
0
0
0.044598
0.201506
3,454
83
128
41.614458
0.80203
0.363636
0
0
0
0
0.079153
0.052002
0
0
0
0
0
1
0
false
0
0.369565
0
0.369565
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
bc5c9b16e33bc48e10de11a0eb15c73554b93d97
561
py
Python
django_tea_do/tea_do/models.py
utkueray/TeaDo
b568d5fd50855270037cc44d0731eeacdb36ade3
[ "Apache-2.0" ]
null
null
null
django_tea_do/tea_do/models.py
utkueray/TeaDo
b568d5fd50855270037cc44d0731eeacdb36ade3
[ "Apache-2.0" ]
null
null
null
django_tea_do/tea_do/models.py
utkueray/TeaDo
b568d5fd50855270037cc44d0731eeacdb36ade3
[ "Apache-2.0" ]
null
null
null
from pickle import TRUE from django.db import models class TeaDo(models.Model): id = models.AutoField(primary_key=True) title = models.TextField(null=True , blank = True) body = models.TextField(null=True , blank = True) is_note = models.BooleanField(default=True) is_completed = models.BooleanField...
37.4
78
0.730838
75
561
5.266667
0.56
0.053165
0.096203
0.116456
0.162025
0.162025
0
0
0
0
0
0.004301
0.171123
561
15
79
37.4
0.845161
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0.076923
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bc61a229d0d0c16522b4b171f9c2ff8cba6c2087
1,558
py
Python
Python3/101.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
Python3/101.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
Python3/101.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 24 ms submission # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def isSymmetri...
36.232558
123
0.670732
176
1,558
4.221591
0.238636
0.096904
0.080754
0.064603
0.405114
0.405114
0.405114
0.30148
0.30148
0.30148
0
0.017918
0.247754
1,558
42
124
37.095238
0.616041
0.228498
0
0.375
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bc653512306f44a6c3deaf689fdb40c17f7e0c17
6,092
py
Python
sdk/python/pulumi_aws/cloudfront/get_origin_access_identity.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/cloudfront/get_origin_access_identity.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/cloudfront/get_origin_access_identity.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
39.051282
163
0.681221
712
6,092
5.536517
0.20927
0.085236
0.049467
0.056063
0.36758
0.183917
0.144343
0.096398
0.06342
0.06342
0
0.005763
0.230959
6,092
155
164
39.303226
0.835646
0.201576
0
0.104167
1
0
0.160633
0.072187
0
0
0
0
0
1
0.114583
false
0
0.052083
0.010417
0.28125
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
bc6d69304e3aceea85dcefcdef7a553ea46c71f1
8,881
py
Python
src/ctf_gameserver/web/registration/forms.py
flagbot/ctf-gameserver
cb59363ce93e8cb80bac03da4f150db6f12051aa
[ "ISC" ]
30
2016-11-14T23:26:52.000Z
2022-02-23T02:06:40.000Z
src/ctf_gameserver/web/registration/forms.py
flagbot/ctf-gameserver
cb59363ce93e8cb80bac03da4f150db6f12051aa
[ "ISC" ]
64
2017-04-28T21:19:01.000Z
2021-06-12T16:40:29.000Z
src/ctf_gameserver/web/registration/forms.py
flagbot/ctf-gameserver
cb59363ce93e8cb80bac03da4f150db6f12051aa
[ "ISC" ]
25
2016-11-16T19:37:31.000Z
2022-02-23T02:06:22.000Z
from django import forms from django.core.mail import send_mail from django.template import loader from django.conf import settings from django.utils.safestring import mark_safe from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.models import User from django.contrib.sites.shortcuts import...
36.101626
109
0.629884
1,063
8,881
5.139229
0.30762
0.020135
0.027457
0.005491
0.138752
0.10983
0.086766
0.05821
0.044298
0.022332
0
0.002781
0.271253
8,881
245
110
36.24898
0.841316
0.23995
0
0.147887
0
0
0.182084
0.003232
0
0
0
0
0
1
0.077465
false
0.105634
0.084507
0
0.295775
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
bc7a8e3612e0a376f5b3332168a90f6c6053819a
2,694
py
Python
src/create_pickle.py
ohanoch/neural-networks-and-deep-learning
e7f8d237ea0b28381e5782dc1bc5db6a406ae95f
[ "Unlicense" ]
null
null
null
src/create_pickle.py
ohanoch/neural-networks-and-deep-learning
e7f8d237ea0b28381e5782dc1bc5db6a406ae95f
[ "Unlicense" ]
null
null
null
src/create_pickle.py
ohanoch/neural-networks-and-deep-learning
e7f8d237ea0b28381e5782dc1bc5db6a406ae95f
[ "Unlicense" ]
null
null
null
import cPickle import numpy as np import Image f = file('../data/smile_detection/train/image_names', 'r') trainImage = [] trainResult=[] for line in f: line=line.strip() line = "../data/smile_detection/train/" + line trainImage.append(line) if "b" not in line: trainResult.append(0) else: ...
27.489796
90
0.664068
346
2,694
5.086705
0.153179
0.066477
0.132955
0.063636
0.589205
0.560795
0.542045
0.450568
0.450568
0.450568
0
0.00983
0.169265
2,694
98
91
27.489796
0.776586
0.355976
0
0.290909
0
0
0.154664
0.14758
0
0
0
0
0
0
null
null
0
0.054545
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
bc7b10b6a2f3bc60d0a3d5a1308b033706a01a94
428
py
Python
src/master_postulation_prj/settings/production.py
master-s-postulation-platform/backend
4fc56dc7903a8fb2d902fc20b6181ff7ed21100d
[ "MIT" ]
3
2021-08-01T08:25:48.000Z
2022-03-02T05:22:22.000Z
src/master_postulation_prj/settings/production.py
master-s-postulation-platform/backend
4fc56dc7903a8fb2d902fc20b6181ff7ed21100d
[ "MIT" ]
null
null
null
src/master_postulation_prj/settings/production.py
master-s-postulation-platform/backend
4fc56dc7903a8fb2d902fc20b6181ff7ed21100d
[ "MIT" ]
null
null
null
from .base import * DEBUG = False ALLOWED_HOSTS = [] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': env("DATABASE"), 'USER': env("DB_USER"), 'PASSWORD': env("DB_PASSWORD"), 'HOST': 'db', 'PORT': '' } } # Static files (CS...
19.454545
59
0.574766
47
428
5.12766
0.765957
0.041494
0
0
0
0
0
0
0
0
0
0.009174
0.235981
428
21
60
20.380952
0.727829
0.224299
0
0
0
0
0.337386
0.115502
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.071429
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
bc7b8c9bd566229e51a3625eee4bd058dfad21cb
4,499
py
Python
tests/rules/test_apt_invalid_operation.py
riley-martine/thefuck
70b414aca2acbbac2cd3c75bc4c3e2dd489b3144
[ "MIT" ]
1
2019-10-29T11:52:33.000Z
2019-10-29T11:52:33.000Z
tests/rules/test_apt_invalid_operation.py
parulgarg123/thefuck
d10fc80fa5da5724ec945aec12720ef41be9551f
[ "MIT" ]
null
null
null
tests/rules/test_apt_invalid_operation.py
parulgarg123/thefuck
d10fc80fa5da5724ec945aec12720ef41be9551f
[ "MIT" ]
1
2019-12-12T02:12:33.000Z
2019-12-12T02:12:33.000Z
from io import BytesIO import pytest from thefuck.types import Command from thefuck.rules.apt_invalid_operation import match, get_new_command, \ _get_operations invalid_operation = 'E: Invalid operation {}'.format apt_help = b'''apt 1.0.10.2ubuntu1 for amd64 compiled on Oct 5 2015 15:55:05 Usage: apt [options] co...
35.992
81
0.711269
610
4,499
5.15082
0.35082
0.030554
0.026735
0.02578
0.128262
0.053469
0.038192
0.038192
0.038192
0.038192
0
0.013421
0.188486
4,499
124
82
36.282258
0.847165
0
0
0.078431
0
0.009804
0.64481
0.006446
0
0
0
0
0.039216
1
0.058824
false
0
0.039216
0
0.107843
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
bc839692c874c7d0ae201f273cb630beb0461079
2,374
py
Python
Program Files/The_Equalizer.py
ForensicTools/TheEqualizer-CSEC475-2171-Lee
d5d7da3f31a9c62cf488e39730263c9c555efe0e
[ "MIT" ]
null
null
null
Program Files/The_Equalizer.py
ForensicTools/TheEqualizer-CSEC475-2171-Lee
d5d7da3f31a9c62cf488e39730263c9c555efe0e
[ "MIT" ]
null
null
null
Program Files/The_Equalizer.py
ForensicTools/TheEqualizer-CSEC475-2171-Lee
d5d7da3f31a9c62cf488e39730263c9c555efe0e
[ "MIT" ]
3
2017-10-28T12:01:36.000Z
2018-10-01T16:08:31.000Z
""" Name: The_Equalizer.py Author: Wesley Lee Assignment: Visualization Project Date Created: 11-02-2017 Last Updated: 11-05-2017 """ #!/usr/bin/python import os, sys from create_token import create_token, get_token from get_info import get_info, get_report, get_num_of_hosts, get_ips, get_crits, get_high, get_medium, ...
24.474227
148
0.663016
342
2,374
4.415205
0.321637
0.058278
0.064901
0.059603
0.343046
0.291391
0.291391
0.291391
0.291391
0.291391
0
0.017876
0.198821
2,374
96
149
24.729167
0.776025
0.018955
0
0.390625
0
0
0.150091
0
0
0
0
0
0
0
null
null
0.046875
0.125
null
null
0.171875
0
0
0
null
0
0
0
0
0
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
bc85447ddb99b03173e5cf6c2895518f0f05c203
1,160
py
Python
samples/snippets/prediction_service/predict_tabular_classification_sample_test.py
dizcology/python-aiplatform
1a135775966c8a2303ded529eba514dcf9db7205
[ "Apache-2.0" ]
180
2020-09-23T17:21:15.000Z
2022-03-30T17:25:47.000Z
samples/snippets/predict_tabular_classification_sample_test.py
pompipo/python-aiplatform
3612b05c62dfb46822cd2c1798fd47349dba33bc
[ "Apache-2.0" ]
601
2020-09-23T16:23:44.000Z
2022-03-31T19:08:23.000Z
samples/snippets/predict_tabular_classification_sample_test.py
pompipo/python-aiplatform
3612b05c62dfb46822cd2c1798fd47349dba33bc
[ "Apache-2.0" ]
109
2020-09-23T16:22:04.000Z
2022-03-28T21:18:29.000Z
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
29.74359
80
0.75431
161
1,160
5.254658
0.608696
0.070922
0.132388
0.160757
0
0
0
0
0
0
0
0.040165
0.162931
1,160
38
81
30.526316
0.831102
0.481034
0
0
0
0
0.190801
0.049404
0
0
0
0
0.0625
1
0.0625
false
0
0.125
0
0.1875
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
bc96e61f8a50548b096e9424be62f6f2da60880a
549
py
Python
napari/layers/__init__.py
SaraLatif99/napari
b17235ee77d30e58492368a73d7c8d8189397fa4
[ "BSD-3-Clause" ]
null
null
null
napari/layers/__init__.py
SaraLatif99/napari
b17235ee77d30e58492368a73d7c8d8189397fa4
[ "BSD-3-Clause" ]
1
2020-06-19T21:38:50.000Z
2020-06-20T19:57:39.000Z
napari/layers/__init__.py
SaraLatif99/napari
b17235ee77d30e58492368a73d7c8d8189397fa4
[ "BSD-3-Clause" ]
null
null
null
"""Layers are the viewable objects that can be added to a viewer. Custom layers must inherit from Layer and pass along the `visual node <http://vispy.org/scene.html#module-vispy.scene.visuals>`_ to the super constructor. """ from ..utils.misc import all_subclasses from .base import Layer from .image import Image from...
28.894737
73
0.790528
84
549
5.071429
0.595238
0.091549
0
0
0
0
0
0
0
0
0
0
0.134791
549
18
74
30.5
0.896842
0.397086
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
bc96f69ddcd838447684cd8d56f184d311c9dcd4
1,637
py
Python
src/checklisting/result/message/builder.py
michalbachowski/python-checklisting
31cbe1fb87683ffbb21104585e318d844fc7c52b
[ "MIT" ]
null
null
null
src/checklisting/result/message/builder.py
michalbachowski/python-checklisting
31cbe1fb87683ffbb21104585e318d844fc7c52b
[ "MIT" ]
null
null
null
src/checklisting/result/message/builder.py
michalbachowski/python-checklisting
31cbe1fb87683ffbb21104585e318d844fc7c52b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from abc import ABC, abstractmethod from typing import Iterator, Optional from .. import BaseTaskResult from ..status import TaskResultStatus class BaseTaskResultMessageBuilder(ABC): def of_results(self, status: TaskResultStatus, results: Iterator[BaseTaskResult]) -> TaskResultStatus: ...
34.829787
106
0.709224
163
1,637
7.018405
0.319018
0.153846
0.090909
0.073427
0.225524
0.225524
0.225524
0.146853
0.146853
0
0
0.000765
0.200977
1,637
46
107
35.586957
0.873853
0.012828
0
0.103448
0
0
0.123916
0
0
0
0
0
0
1
0.172414
false
0.034483
0.137931
0.034483
0.655172
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
bc97a72afbf0abca88eb8f3d53defc7fa02b1133
4,786
py
Python
xt/framework/broker_launcher.py
TianQi-777/xingtian
9b1678ad6ff12f00c2826a7ec7f42d5350b83b31
[ "MIT" ]
240
2020-08-15T15:11:49.000Z
2022-03-28T07:26:23.000Z
xt/framework/broker_launcher.py
TianQi-777/xingtian
9b1678ad6ff12f00c2826a7ec7f42d5350b83b31
[ "MIT" ]
20
2020-08-29T06:18:21.000Z
2022-03-21T04:35:57.000Z
xt/framework/broker_launcher.py
TianQi-777/xingtian
9b1678ad6ff12f00c2826a7ec7f42d5350b83b31
[ "MIT" ]
69
2020-08-15T15:41:53.000Z
2022-03-16T08:27:47.000Z
# Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to us...
36.534351
79
0.65817
628
4,786
4.851911
0.328025
0.028881
0.02363
0.031506
0.159829
0.138825
0.119134
0.08533
0.082704
0.082704
0
0.007496
0.247388
4,786
130
80
36.815385
0.838423
0.321981
0
0.054054
0
0
0.127914
0
0
0
0
0
0
1
0.054054
false
0.054054
0.148649
0
0.216216
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
bc983e9e9af181b62ab9773ab960b916c9df79ef
8,120
py
Python
tests.py
whitmell/pytalk
e5a95f1b406d4fb0580392cabe3279de26ffee84
[ "Apache-2.0" ]
6
2020-01-15T02:53:40.000Z
2021-12-26T07:13:27.000Z
tests.py
whitmell/pytalk
e5a95f1b406d4fb0580392cabe3279de26ffee84
[ "Apache-2.0" ]
2
2020-04-14T21:40:22.000Z
2021-02-20T05:48:37.000Z
tests.py
whitmell/pytalk
e5a95f1b406d4fb0580392cabe3279de26ffee84
[ "Apache-2.0" ]
3
2020-05-14T21:21:21.000Z
2022-01-28T03:57:14.000Z
import glob import os from doctalk.params import talk_params from doctalk.talk import * from doctalk.think import * from doctalk.vis import * from doctalk.api import * from doctalk.pypro import NatTalker from doctalk.seek import * import pprint doc_dir="examples/" doc_files = sorted(glob.glob(doc_dir+"*.txt")) quest_...
19.708738
75
0.628571
1,259
8,120
3.938046
0.227959
0.102259
0.07261
0.101654
0.361436
0.353167
0.191811
0.175272
0.175272
0.119806
0
0.014962
0.201601
8,120
411
76
19.756691
0.749807
0.093842
0
0.379182
0
0.007435
0.228746
0.009592
0
0
0
0
0
1
0.200743
false
0.003717
0.040892
0.003717
0.245353
0.04461
0
0
0
null
0
0
0
0
0
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
bca65a23d55116617b2b04eb0295af785663072e
971
py
Python
timeconversion.py
thefool76/hacktoberfest2021
237751e17a4fc325ded29fca013fb9f5853cd27c
[ "CC0-1.0" ]
448
2021-10-01T04:24:14.000Z
2022-03-06T14:34:20.000Z
Python/timeconversion.py
Chanaka-Madushan-Herath/hacktoberfest2021
8473df9e058ccb6049720dd372342e0ea60f0e59
[ "CC0-1.0" ]
282
2021-10-01T04:29:06.000Z
2022-03-07T12:42:57.000Z
Python/timeconversion.py
Chanaka-Madushan-Herath/hacktoberfest2021
8473df9e058ccb6049720dd372342e0ea60f0e59
[ "CC0-1.0" ]
1,807
2021-10-01T04:24:02.000Z
2022-03-28T04:51:25.000Z
#!/usr/bin/py from datetime import datetime def convertToEuTime(us_time): return datetime.strptime(us_time, '%I:%M:%S%p').strftime('%H:%M:%S') if __name__ == '__main__': us_time = raw_input() print convertToEuTime(us_time) use std::io; fn main() { let mut line = String::new(); io::stdin()....
29.424242
72
0.53553
141
971
3.574468
0.48227
0.047619
0.119048
0.150794
0.125
0
0
0
0
0
0
0.033602
0.23378
971
32
73
30.34375
0.643817
0.012358
0
0
0
0
0.086639
0
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bcaac2f1bf443198362264ca1b2f0909ad9ff4e3
1,017
py
Python
MetioTube/metio_tube_auth/admin.py
Sheko1/MetioTube
c1c36d00ea46fc37cc7f3c0c9c0cae6e89b2113c
[ "MIT" ]
null
null
null
MetioTube/metio_tube_auth/admin.py
Sheko1/MetioTube
c1c36d00ea46fc37cc7f3c0c9c0cae6e89b2113c
[ "MIT" ]
null
null
null
MetioTube/metio_tube_auth/admin.py
Sheko1/MetioTube
c1c36d00ea46fc37cc7f3c0c9c0cae6e89b2113c
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from django.contrib.auth.admin import UserAdmin from MetioTube.metio_tube_auth.models import MetioTubeUser @admin.register(MetioTubeUser) class MetioTubeUserAdmin(UserAdmin): list_filter = ('is_staff', 'is_active') search_fields = ('email',) ...
26.076923
71
0.583088
98
1,017
5.857143
0.459184
0.060976
0.078397
0.078397
0.219512
0.149826
0.149826
0.149826
0
0
0
0.002618
0.248771
1,017
38
72
26.763158
0.748691
0.025565
0
0.071429
0
0
0.276036
0
0
0
0
0
0
1
0.035714
false
0.071429
0.107143
0.035714
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
1
0
0
0
0
0
1
bcab8d98d2d31b822da2031bd5146714cb405ae2
2,123
py
Python
src/ZODB/tests/warnhook.py
unkloud/ZODB
63dcee8d3bf0df6a05b75a378292a1a6061ce0c2
[ "ZPL-2.1" ]
null
null
null
src/ZODB/tests/warnhook.py
unkloud/ZODB
63dcee8d3bf0df6a05b75a378292a1a6061ce0c2
[ "ZPL-2.1" ]
null
null
null
src/ZODB/tests/warnhook.py
unkloud/ZODB
63dcee8d3bf0df6a05b75a378292a1a6061ce0c2
[ "ZPL-2.1" ]
null
null
null
############################################################################## # # Copyright (c) 2004 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
35.983051
78
0.66227
274
2,123
5.116788
0.507299
0.042796
0.019971
0.041369
0
0
0
0
0
0
0
0.003582
0.211022
2,123
58
79
36.603448
0.833433
0.610457
0
0.25
0
0
0
0
0
0
0
0
0.0625
1
0.3125
false
0
0.0625
0
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
bcb1390dc4acb862359bae3033833d8d7316f117
388
py
Python
src/datastructures/__init__.py
deniscostadsc/becoming-a-better-programmer
ec993d494ef5e9272429cc4d2ed1e7ffbe8e1bfd
[ "MIT" ]
1
2020-05-04T11:28:35.000Z
2020-05-04T11:28:35.000Z
src/datastructures/__init__.py
deniscostadsc/becoming-a-better-programmer
ec993d494ef5e9272429cc4d2ed1e7ffbe8e1bfd
[ "MIT" ]
null
null
null
src/datastructures/__init__.py
deniscostadsc/becoming-a-better-programmer
ec993d494ef5e9272429cc4d2ed1e7ffbe8e1bfd
[ "MIT" ]
null
null
null
from .hashtable import Hashtable from .linkedlist.linkedlist import LinkedList from .linkedlist.sorted_linkedlist import SortedLinkedList from .tree.binary_search_tree import BinarySearchTree from .tree.heap import EmptyHeap, MaxHeap, MinHeap __all__ = [ "BinarySearchTree", "EmptyHeap", "Hashtable", "L...
24.25
58
0.75
37
388
7.675676
0.405405
0.098592
0
0
0
0
0
0
0
0
0
0
0.159794
388
15
59
25.866667
0.871166
0
0
0
0
0
0.190722
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
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
bcbf0b90772fa4100dd5459fe96c11ae15f4e8ec
1,930
py
Python
zamiaai/skills/culture/culture.py
0zAND1z/zamia-ai
d9e9c6123fdadca3fae55e87ea2b2b32d82bc210
[ "Apache-2.0" ]
129
2017-03-23T14:20:33.000Z
2022-01-03T01:52:22.000Z
zamiaai/skills/culture/culture.py
0zAND1z/zamia-ai
d9e9c6123fdadca3fae55e87ea2b2b32d82bc210
[ "Apache-2.0" ]
6
2017-03-09T22:32:55.000Z
2021-05-13T19:07:48.000Z
zamiaai/skills/culture/culture.py
gooofy/voxforge
da21be38e976aae67214537a27a30541afd3b5aa
[ "Apache-2.0" ]
22
2017-04-07T15:44:05.000Z
2022-03-13T02:41:08.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2016, 2017 Guenter Bartsch # # 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 # # ...
49.487179
282
0.727461
315
1,930
4.450794
0.574603
0.031384
0.042796
0.028531
0.094151
0.068474
0.068474
0.025678
0
0
0
0.008085
0.166839
1,930
38
283
50.789474
0.863806
0.311399
0
0
0
0.166667
0.73913
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcc195c0412bc23a75912524c926efba8505e807
944
py
Python
over_the_wire/Natas/Natas16-17/exploit.py
bernardosequeir/CTFfiles
36a6ceba49d9a9019056d3669c5e8f84aa83b618
[ "MIT" ]
null
null
null
over_the_wire/Natas/Natas16-17/exploit.py
bernardosequeir/CTFfiles
36a6ceba49d9a9019056d3669c5e8f84aa83b618
[ "MIT" ]
5
2020-09-23T18:28:25.000Z
2020-09-23T18:28:41.000Z
over_the_wire/Natas/Natas16-17/exploit.py
bernardosequeir/CTFSolutions
503944617cb18826d12ab98fa33fd761e791328a
[ "MIT" ]
null
null
null
import requests import string from requests.auth import HTTPBasicAuth chars = string.ascii_letters + string.digits filtered = '' passwd = '' for char in chars: Data = {'username': 'natas16" and password LIKE BINARY "%' + char + '%" #'} r = requests.post('http://natas15.natas.labs.overthewire.org/index.php?deb...
34.962963
103
0.613347
103
944
5.61165
0.417476
0.024221
0.031142
0.076125
0.633218
0.633218
0.633218
0.49481
0.49481
0.49481
0
0.038462
0.256356
944
26
104
36.307692
0.7849
0
0
0.26087
0
0
0.316737
0.067797
0
0
0
0
0
1
0
false
0.26087
0.130435
0
0.130435
0.086957
0
0
0
null
0
0
0
0
0
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
bcc458f3109b81cc62d874c70056407146466430
8,730
py
Python
src/honeybot/plugins/downloaded/fact/main.py
pyhoneybot/honeybot
f8764f2f98ee8e86903295aacb059d6778193265
[ "MIT" ]
60
2019-06-04T13:57:38.000Z
2021-10-19T10:17:56.000Z
src/honeybot/plugins/downloaded/fact/main.py
pyhoneybot/honeybot
f8764f2f98ee8e86903295aacb059d6778193265
[ "MIT" ]
70
2019-06-04T13:59:53.000Z
2021-10-05T10:14:16.000Z
src/honeybot/plugins/downloaded/fact/main.py
pyhoneybot/honeybot
f8764f2f98ee8e86903295aacb059d6778193265
[ "MIT" ]
95
2019-06-04T15:13:42.000Z
2021-08-09T17:15:35.000Z
# -*- coding: utf-8 -*- """ [fact.py] Fact Plugin [Author] Justin Walker [About] Returns a random fact. Facts sourced from Mental Floss http://mentalfloss.com/article/55443/101-amazing-facts [Commands] >>> .fact returns random fact """ import random class Plugin: def __init__(self): pass def __f...
52.909091
120
0.681672
1,357
8,730
4.377303
0.555637
0.005051
0.00404
0
0
0
0
0
0
0
0
0.025119
0.229324
8,730
164
121
53.231707
0.857759
0.026346
0
0
0
0.035971
0.823481
0
0
0
0
0
0
1
0.021583
false
0.014388
0.014388
0.007194
0.05036
0.007194
0
0
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
bcc76e939dce212de380d8c6de4fb6fdfa0915fb
4,519
py
Python
avod/protos/pipeline_pb2.py
zhiranyan/AVOD-BottleneckLstm
87e4597ba1f301d35f568f6abf577d19e805d6a4
[ "MIT" ]
1
2021-08-19T16:26:34.000Z
2021-08-19T16:26:34.000Z
avod/protos/pipeline_pb2.py
zhiranyan/AVOD-BottleneckLstm
87e4597ba1f301d35f568f6abf577d19e805d6a4
[ "MIT" ]
null
null
null
avod/protos/pipeline_pb2.py
zhiranyan/AVOD-BottleneckLstm
87e4597ba1f301d35f568f6abf577d19e805d6a4
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: avod/protos/pipeline.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflect...
45.19
570
0.796415
602
4,519
5.622924
0.212625
0.053176
0.046086
0.056721
0.446086
0.39675
0.267061
0.223634
0.199409
0.199409
0
0.037092
0.099137
4,519
99
571
45.646465
0.794399
0.052224
0
0.325
1
0.0125
0.235212
0.204583
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
bcc87d20b96f4ad94e6583e5d81e2b4dcc3e2515
8,352
py
Python
drums/_ping.py
drums-project/drums-core
753ee04cea92a4f780ec36c30bca1a66380e1e50
[ "Apache-2.0" ]
1
2019-05-01T13:13:53.000Z
2019-05-01T13:13:53.000Z
drums/_ping.py
drums-project/drums-core
753ee04cea92a4f780ec36c30bca1a66380e1e50
[ "Apache-2.0" ]
null
null
null
drums/_ping.py
drums-project/drums-core
753ee04cea92a4f780ec36c30bca1a66380e1e50
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # TODO: The `pip install` version goes into /usr/bin # figure out why! # From: https://bitbucket.org/delroth/python-ping/raw/7084c31fa1603a1071c30525ae0431da42ce93cd/ping.py """ A pure python ping implementation using raw socket. Note that ICMP messages can only be sent from processes...
30.819188
102
0.620091
1,163
8,352
4.370593
0.328461
0.022034
0.012788
0.011804
0.205981
0.170569
0.1566
0.145977
0.102695
0.102695
0
0.030767
0.27227
8,352
270
103
30.933333
0.805528
0.095785
0
0.192661
0
0
0.057085
0
0
0
0.011213
0.003704
0
0
null
null
0
0.055046
null
null
0.055046
0
0
0
null
0
0
0
0
0
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
bcce12dafc3103a219ea2bc444fa85a7c2aea496
413
py
Python
app/migrations/0007_auto_20200511_0222.py
prinjal-boruah/ME_PLatform
7ba01757728dcf1a07dd76128c2f6dc8a18f2777
[ "MIT" ]
null
null
null
app/migrations/0007_auto_20200511_0222.py
prinjal-boruah/ME_PLatform
7ba01757728dcf1a07dd76128c2f6dc8a18f2777
[ "MIT" ]
2
2020-06-06T01:49:21.000Z
2021-06-10T22:53:36.000Z
app/migrations/0007_auto_20200511_0222.py
prinjal-boruah/ME_PLatform
7ba01757728dcf1a07dd76128c2f6dc8a18f2777
[ "MIT" ]
null
null
null
# Generated by Django 2.1.15 on 2020-05-10 20:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0006_subscription_razorpay_order_id'), ] operations = [ migrations.AlterField( model_name='subscription', na...
21.736842
55
0.624697
45
413
5.555556
0.777778
0.104
0.12
0
0
0
0
0
0
0
0
0.076159
0.268765
413
18
56
22.944444
0.751656
0.11138
0
0
1
0
0.183562
0.09589
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
bcd1c4610dd5a59c99564d641640e6bb94de6b8d
5,502
py
Python
rational_crowd/questionnaire/migrations/0001_initial.py
shirishgoyal/rational_crowd
1d1ef7d1653a5c9db90bd930c56208d062085db8
[ "MIT" ]
1
2017-03-22T08:50:44.000Z
2017-03-22T08:50:44.000Z
rational_crowd/questionnaire/migrations/0001_initial.py
shirishgoyal/rational_crowd
1d1ef7d1653a5c9db90bd930c56208d062085db8
[ "MIT" ]
null
null
null
rational_crowd/questionnaire/migrations/0001_initial.py
shirishgoyal/rational_crowd
1d1ef7d1653a5c9db90bd930c56208d062085db8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-23 08:18 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): initial = True dependencies...
54.475248
188
0.621229
507
5,502
6.579882
0.175542
0.102218
0.081535
0.077938
0.66247
0.66247
0.596523
0.570743
0.570743
0.570743
0
0.004564
0.243366
5,502
100
189
55.02
0.796781
0.012177
0
0.521739
1
0
0.195508
0.03866
0
0
0
0
0
1
0
false
0
0.054348
0
0.097826
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