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
55d4867ba9ee0bec3b056f48aac69f7e03c2caeb
7,358
py
Python
src/waldur_mastermind/invoices/migrations/0044_invoiceitem_resource.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
26
2017-10-18T13:49:58.000Z
2021-09-19T04:44:09.000Z
src/waldur_mastermind/invoices/migrations/0044_invoiceitem_resource.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
14
2018-12-10T14:14:51.000Z
2021-06-07T10:33:39.000Z
src/waldur_mastermind/invoices/migrations/0044_invoiceitem_resource.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
32
2017-09-24T03:10:45.000Z
2021-10-16T16:41:09.000Z
# Generated by Django 2.2.13 on 2021-01-27 09:32 import decimal import logging from calendar import monthrange import django.db.models.deletion from django.core.exceptions import MultipleObjectsReturned, ObjectDoesNotExist from django.db import migrations, models from waldur_mastermind.common.utils import quantize_p...
38.931217
152
0.521609
768
7,358
4.839844
0.239583
0.031477
0.025827
0.020985
0.285445
0.220608
0.160882
0.143395
0.125101
0.074253
0
0.017276
0.386382
7,358
188
153
39.138298
0.80598
0.045393
0
0.279503
1
0.024845
0.133999
0.022523
0
0
0
0
0
1
0.024845
false
0.018634
0.049689
0.006211
0.204969
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
55d4e9877a4af2e9b8d2308ca8bec7c77327652d
441
py
Python
brainfuck/parsing/tokenizer.py
venomlab/brainfuck
ec2e162300069fc30d2f1d33faf485422b8199ed
[ "MIT" ]
null
null
null
brainfuck/parsing/tokenizer.py
venomlab/brainfuck
ec2e162300069fc30d2f1d33faf485422b8199ed
[ "MIT" ]
null
null
null
brainfuck/parsing/tokenizer.py
venomlab/brainfuck
ec2e162300069fc30d2f1d33faf485422b8199ed
[ "MIT" ]
null
null
null
__all__ = [ "Token", "tokenize_bf", ] import enum class Token(str, enum.Enum): NEXT = ">" PREV = "<" INC = "+" DEC = "-" PUT_CHAR = "." GET_CHAR = "," SKIP_IF_NULL = "[" BACK_IF_NOT_NULL = "]" SPACE = " " LINEBREAK = "\n" CARET_RETURN = "\r" def tokenize_bf(sourc...
15.75
44
0.521542
50
441
4.32
0.68
0.092593
0
0
0
0
0
0
0
0
0
0
0.310658
441
27
45
16.333333
0.710526
0
0
0
0
0
0.06576
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.681818
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
55d8048ca893a482daf96e236056d6f35ee56d42
3,735
py
Python
test/test_io.py
meracan/mshapely
cde7cc15e68ea09a8ee64cc89d069ae9d95a858e
[ "MIT" ]
null
null
null
test/test_io.py
meracan/mshapely
cde7cc15e68ea09a8ee64cc89d069ae9d95a858e
[ "MIT" ]
null
null
null
test/test_io.py
meracan/mshapely
cde7cc15e68ea09a8ee64cc89d069ae9d95a858e
[ "MIT" ]
null
null
null
import pytest import os import numpy as np from shapely.geometry import Point,LineString,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection import mshapely from mshapely.io import GIS from mshapely.io import point2numpy,linestring2numpy,polygon2numpy,multipoint2numpy,multilinestring2numpy,multipolygon2...
33.954545
135
0.568942
680
3,735
3.007353
0.110294
0.07824
0.061614
0.041076
0.608802
0.505134
0.450856
0.369193
0.305134
0.265526
0
0.151399
0.158233
3,735
110
136
33.954545
0.499046
0
0
0.144444
0
0
0.036403
0.034261
0
0
0
0
0.155556
1
0.022222
false
0
0.077778
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55d92993121d0a94ecc11abf3840258c465ee9b8
2,352
py
Python
wordpress_utils/scrape_old_archives.py
vanandel/python-wordpress-utils
683adddcb80519207bdc32ec410fd22cda1d9765
[ "MIT" ]
1
2019-07-23T13:31:57.000Z
2019-07-23T13:31:57.000Z
wordpress_utils/scrape_old_archives.py
vanandel/python-wordpress-utils
683adddcb80519207bdc32ec410fd22cda1d9765
[ "MIT" ]
null
null
null
wordpress_utils/scrape_old_archives.py
vanandel/python-wordpress-utils
683adddcb80519207bdc32ec410fd22cda1d9765
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup import os, os.path import requests from WPUploadMedia import WPUploadMedia def fetchfile(url, output_fname, chunksize= 65536): r = requests.get(url, stream = True) with open(output_fname, 'wb') as fd: for chunk in r.iter_content(chunksize): fd....
33.6
100
0.547619
289
2,352
4.33218
0.442907
0.039137
0.047923
0.023962
0.13099
0.057508
0
0
0
0
0
0.037618
0.321854
2,352
70
101
33.6
0.747335
0.142857
0
0.086957
0
0
0.08553
0
0
0
0
0
0
0
null
null
0
0.108696
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
55d997f26495ec95963192da93682e4393f15042
646
py
Python
MemberShip/web/push/runp.py
zzragida/PythonExamples
ed94ae2773a580a42e158ebdc7321a89ca4e991b
[ "MIT" ]
null
null
null
MemberShip/web/push/runp.py
zzragida/PythonExamples
ed94ae2773a580a42e158ebdc7321a89ca4e991b
[ "MIT" ]
null
null
null
MemberShip/web/push/runp.py
zzragida/PythonExamples
ed94ae2773a580a42e158ebdc7321a89ca4e991b
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- import gevent import gevent.monkey from gevent.pywsgi import WSGIServer gevent.monkey.patch_all() import sys import socket from config import load_push as load_config if __name__ == '__main__': # load config by name host = sys.argv[1].split('=')[1] port = int(sys.argv[2].split('=')...
22.275862
75
0.676471
92
646
4.565217
0.434783
0.071429
0.092857
0
0
0
0
0
0
0
0
0.009579
0.19195
646
28
76
23.071429
0.795019
0.06192
0
0
0
0
0.069767
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
55dc2e59930027caffcb131ac4d8f949c0a3a97e
2,037
py
Python
tests/fields/test_char.py
blazing-gig/tortoise-orm
811bbcb12c702c5f45e3d86ce6e0b2ab386459df
[ "Apache-2.0" ]
2,847
2018-08-27T12:02:21.000Z
2022-03-31T01:30:40.000Z
tests/fields/test_char.py
blazing-gig/tortoise-orm
811bbcb12c702c5f45e3d86ce6e0b2ab386459df
[ "Apache-2.0" ]
983
2018-08-24T16:42:41.000Z
2022-03-30T05:14:49.000Z
tests/fields/test_char.py
blazing-gig/tortoise-orm
811bbcb12c702c5f45e3d86ce6e0b2ab386459df
[ "Apache-2.0" ]
323
2018-09-04T23:38:42.000Z
2022-03-31T06:49:17.000Z
from tests import testmodels from tortoise import fields from tortoise.contrib import test from tortoise.exceptions import ConfigurationError, ValidationError class TestCharFields(test.TestCase): def test_max_length_missing(self): with self.assertRaisesRegex( TypeError, "missing 1 required pos...
39.173077
91
0.679921
249
2,037
5.485944
0.24498
0.142753
0.237921
0.136164
0.43631
0.414348
0.370425
0.338946
0.271596
0.271596
0
0.014861
0.207167
2,037
51
92
39.941176
0.83096
0.010309
0
0.214286
0
0
0.059583
0
0
0
0
0
0.261905
1
0.047619
false
0
0.095238
0
0.166667
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
55dd443256967c2c3546967218ba405d0679372c
1,724
py
Python
ctfpwn/flagservice/receiver.py
takeshixx/ctfpwn
b4ae4e51164ce420c96f3f06b7aa115b8329055c
[ "Apache-2.0" ]
null
null
null
ctfpwn/flagservice/receiver.py
takeshixx/ctfpwn
b4ae4e51164ce420c96f3f06b7aa115b8329055c
[ "Apache-2.0" ]
null
null
null
ctfpwn/flagservice/receiver.py
takeshixx/ctfpwn
b4ae4e51164ce420c96f3f06b7aa115b8329055c
[ "Apache-2.0" ]
null
null
null
"""This module is responsible for listening on a TCP port to receive flags that will be inserted into the database. This may be obsolete because the exploit supervisor pushes flags directly to the database. However, it could still run for testing purposes during exploit development.""" import re import asyncio import ...
29.220339
91
0.664153
225
1,724
4.946667
0.52
0.007188
0.010782
0.010782
0.010782
0.010782
0.010782
0.010782
0.010782
0
0
0.022075
0.211717
1,724
58
92
29.724138
0.796909
0.237239
0
0
0
0.025641
0.105585
0.027544
0
0
0
0.017241
0
1
0.102564
false
0
0.153846
0
0.282051
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
55eca4c132d4065536fc484587aeea61eed20b38
2,359
py
Python
django-version/djdoc/migrations/0001_initial.py
sarath196/django-mptt-demo-re-version
d570aa8612c0bf838c191a7a8a1b3f57bf2be16f
[ "MIT" ]
null
null
null
django-version/djdoc/migrations/0001_initial.py
sarath196/django-mptt-demo-re-version
d570aa8612c0bf838c191a7a8a1b3f57bf2be16f
[ "MIT" ]
null
null
null
django-version/djdoc/migrations/0001_initial.py
sarath196/django-mptt-demo-re-version
d570aa8612c0bf838c191a7a8a1b3f57bf2be16f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-02-21 11:16 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): initial = True dependencies = [...
51.282609
206
0.644765
256
2,359
5.738281
0.382813
0.027229
0.038121
0.059905
0.408441
0.359428
0.325391
0.133424
0.133424
0.100749
0
0.015176
0.217889
2,359
45
207
52.422222
0.78103
0.027978
0
0
1
0
0.123581
0
0
0
0
0
0
1
0
false
0
0.135135
0
0.243243
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
55f8973ac8fdc83c94763b241a9ed15a27c33ab3
8,199
py
Python
devops/ops/migrations/0010_auto_20171113_1108.py
jinjin123/devops2.0
8241aff0c6677cef55c9e13b7d182fb75a814bbe
[ "MIT" ]
null
null
null
devops/ops/migrations/0010_auto_20171113_1108.py
jinjin123/devops2.0
8241aff0c6677cef55c9e13b7d182fb75a814bbe
[ "MIT" ]
null
null
null
devops/ops/migrations/0010_auto_20171113_1108.py
jinjin123/devops2.0
8241aff0c6677cef55c9e13b7d182fb75a814bbe
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-11-13 11:08 from __future__ import unicode_literals import django.contrib.auth.models import django.core.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): ...
43.84492
650
0.605196
826
8,199
5.836562
0.266344
0.072184
0.095208
0.11761
0.469405
0.449699
0.298486
0.178594
0.148102
0.123626
0
0.052946
0.265154
8,199
186
651
44.080645
0.74722
0.007928
0
0.581006
1
0
0.264666
0.079818
0
0
0
0
0
1
0
false
0.011173
0.03352
0
0.050279
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
55f96d6dcb39a4329e5dc9ba51331ea5309bf80c
1,598
py
Python
python_modules/libraries/dagster-slack/dagster_slack/resources.py
asamoal/dagster
08fad28e4b608608ce090ce2e8a52c2cf9dd1b64
[ "Apache-2.0" ]
null
null
null
python_modules/libraries/dagster-slack/dagster_slack/resources.py
asamoal/dagster
08fad28e4b608608ce090ce2e8a52c2cf9dd1b64
[ "Apache-2.0" ]
null
null
null
python_modules/libraries/dagster-slack/dagster_slack/resources.py
asamoal/dagster
08fad28e4b608608ce090ce2e8a52c2cf9dd1b64
[ "Apache-2.0" ]
null
null
null
from slack_sdk.web.client import WebClient from dagster import Field, StringSource, resource @resource( { "token": Field( StringSource, description="""To configure access to the Slack API, you'll need an access token provisioned with access to your Slack worksp...
30.150943
100
0.62766
191
1,598
5.151832
0.460733
0.028455
0.034553
0.034553
0.069106
0.069106
0.069106
0
0
0
0
0
0.282228
1,598
52
101
30.730769
0.85789
0.435544
0
0
0
0.055556
0.616223
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3604b6522656a4a780f774660920fe94d101c3e8
18,982
py
Python
roles/zabbix-agent/library/zabbix_host2.py
neechbear/ansible
beb0d8d79e61d03cf2c7eadb0bacfc6e2594bc35
[ "BSD-3-Clause" ]
3
2016-03-04T13:59:12.000Z
2021-03-09T04:23:39.000Z
roles/zabbix-agent/library/zabbix_host2.py
neechbear/ansible
beb0d8d79e61d03cf2c7eadb0bacfc6e2594bc35
[ "BSD-3-Clause" ]
1
2016-07-07T00:48:53.000Z
2016-07-07T00:48:53.000Z
roles/zabbix-agent/library/zabbix_host2.py
neechbear/ansible
beb0d8d79e61d03cf2c7eadb0bacfc6e2594bc35
[ "BSD-3-Clause" ]
3
2016-03-06T11:03:39.000Z
2017-09-30T11:35:31.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2013-2014, Epic Games, Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (...
39.463617
177
0.618639
2,310
18,982
4.855844
0.134199
0.033877
0.014977
0.018187
0.317554
0.275029
0.224035
0.186235
0.16894
0.147276
0
0.004655
0.298388
18,982
480
178
39.545833
0.837588
0.0894
0
0.313514
0
0.013514
0.272152
0.001335
0
0
0
0
0
0
null
null
0.016216
0.013514
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
360723036ee22dd63537d404d92d9335f04ed275
7,057
py
Python
leonardo_sitestarter/scaffold_web.py
leonardo-modules/leonardo-sitestarter
452422e21b0730ccc8c975ab64361139100c183b
[ "BSD-3-Clause" ]
null
null
null
leonardo_sitestarter/scaffold_web.py
leonardo-modules/leonardo-sitestarter
452422e21b0730ccc8c975ab64361139100c183b
[ "BSD-3-Clause" ]
1
2015-10-18T13:35:46.000Z
2015-10-18T13:35:46.000Z
leonardo_sitestarter/scaffold_web.py
leonardo-modules/leonardo-sitestarter
452422e21b0730ccc8c975ab64361139100c183b
[ "BSD-3-Clause" ]
null
null
null
import logging import os import requests import six from collections import OrderedDict from django.conf import settings from django.contrib.auth import authenticate, login from django.contrib.auth.models import User from django.core import management from horizon_contrib.common import get_class from leonardo.models ...
32.077273
108
0.562137
755
7,057
5.038411
0.259603
0.037855
0.029443
0.023659
0.086751
0.086751
0.073081
0.056257
0.056257
0.056257
0
0.001515
0.345047
7,057
219
109
32.223744
0.821506
0.046479
0
0.178082
0
0
0.096091
0.009848
0
0
0
0.013699
0
1
0.027397
false
0.006849
0.082192
0
0.136986
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
3609549179f72feb0e68098d8d5e39acc04f4499
10,880
py
Python
pyonepassword/pyonepassword.py
cacoyle/pyonepassword
49cd34f46316b69151440bce2f6fb12600a0d0c7
[ "MIT" ]
null
null
null
pyonepassword/pyonepassword.py
cacoyle/pyonepassword
49cd34f46316b69151440bce2f6fb12600a0d0c7
[ "MIT" ]
null
null
null
pyonepassword/pyonepassword.py
cacoyle/pyonepassword
49cd34f46316b69151440bce2f6fb12600a0d0c7
[ "MIT" ]
null
null
null
import subprocess import json import logging from abc import ABCMeta, abstractmethod from ._py_op_items import ( OPItemFactory, OPAbstractItem, OPLoginItem, ) from ._py_op_deprecation import deprecated class _OPAbstractException(Exception, metaclass=ABCMeta): @abstractmethod def __init__(self, st...
38.996416
117
0.64807
1,310
10,880
5.151908
0.174046
0.020447
0.034079
0.03319
0.33442
0.307305
0.28182
0.269373
0.241814
0.241814
0
0.004023
0.268934
10,880
278
118
39.136691
0.844481
0.308272
0
0.201389
0
0.006944
0.094307
0
0
0
0
0.003597
0
1
0.138889
false
0.180556
0.041667
0.020833
0.354167
0.013889
0
0
0
null
0
0
0
0
0
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
360c3c8d64f91c3e8431156bba78adb03766c898
528
py
Python
api/models.py
mayurbhangale/amfibious
82d30de3909ffabfe4fe3ee1e05ad3b92dadae0d
[ "MIT" ]
6
2019-02-02T18:42:48.000Z
2021-08-21T08:38:31.000Z
api/models.py
mayurbhangale/amfibious
82d30de3909ffabfe4fe3ee1e05ad3b92dadae0d
[ "MIT" ]
1
2020-03-09T07:15:36.000Z
2020-03-09T07:15:36.000Z
api/models.py
mayurbhangale/amfibious
82d30de3909ffabfe4fe3ee1e05ad3b92dadae0d
[ "MIT" ]
3
2019-06-09T06:43:13.000Z
2019-12-14T18:30:30.000Z
from datetime import datetime from mongoengine import Document, EmbeddedDocument from mongoengine.fields import ( DateTimeField, StringField, IntField, ListField ) class NAVs(Document): meta = {'collection': 'data'} nav = StringField() scheme_code = IntField() date = DateTimeField() class Schemes(...
25.142857
51
0.691288
51
528
7.098039
0.529412
0.082873
0.116022
0.160221
0
0
0
0
0
0
0
0
0.202652
528
20
52
26.4
0.859857
0
0
0.111111
0
0
0.05303
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.888889
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
361245c3712d11686966b73f8c30d8918add509a
577
py
Python
RL Comm/python side/Decoder.py
Nu-AI/RelationalNeurogenesis
932cd6b4b27c88d22e6455dc8e939ac28fec23c0
[ "BSD-2-Clause" ]
1
2021-03-19T17:02:07.000Z
2021-03-19T17:02:07.000Z
RL Comm/python side/Decoder.py
Nu-AI/RelationalNeurogenesis
932cd6b4b27c88d22e6455dc8e939ac28fec23c0
[ "BSD-2-Clause" ]
null
null
null
RL Comm/python side/Decoder.py
Nu-AI/RelationalNeurogenesis
932cd6b4b27c88d22e6455dc8e939ac28fec23c0
[ "BSD-2-Clause" ]
null
null
null
# Decoder # Decoding the Observation Values received from Unity Engine # This is the Server Side Code # Tej Pandit @digitej import struct import numpy # Decoder Class to decode the received data from Unity Engine (observations) class Decoder(object): # Load Config for Observations def __init__(...
24.041667
77
0.637782
73
577
4.972603
0.547945
0.137741
0.082645
0.060606
0.15427
0.15427
0.15427
0.15427
0
0
0
0
0.29636
577
24
78
24.041667
0.894089
0.412478
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.181818
0.181818
0
0.454545
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
1
0
0
0
0
0
1
3612520756647b04e614f897b1c62cffc0abcfb7
1,487
py
Python
search/search_passage_eval.py
Supermaxman/epic_qa
9698d356f79c14a58d383031816dc190b5115b77
[ "MIT" ]
null
null
null
search/search_passage_eval.py
Supermaxman/epic_qa
9698d356f79c14a58d383031816dc190b5115b77
[ "MIT" ]
null
null
null
search/search_passage_eval.py
Supermaxman/epic_qa
9698d356f79c14a58d383031816dc190b5115b77
[ "MIT" ]
null
null
null
from collections import defaultdict import json import os import sys import argparse if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('-i', '--input_path', required=True) parser.add_argument('-l', '--label_path', required=True) args = parser.parse_args() input_path = args.input...
29.74
79
0.737727
218
1,487
4.711009
0.325688
0.087634
0.035054
0.042843
0.042843
0.042843
0
0
0
0
0
0.00156
0.137861
1,487
49
80
30.346939
0.799532
0
0
0
0
0
0.071332
0
0
0
0
0
0
1
0
false
0.190476
0.119048
0
0.119048
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
361492dc981e0abe6787c1aa3ed6950506c91ede
625
py
Python
portafolio/core/migrations/0036_service.py
jhonfmg7/portafolioDjangoV2
f8fe158b97a79c148b062ae0410ef2c2d5938b8f
[ "Apache-2.0" ]
null
null
null
portafolio/core/migrations/0036_service.py
jhonfmg7/portafolioDjangoV2
f8fe158b97a79c148b062ae0410ef2c2d5938b8f
[ "Apache-2.0" ]
null
null
null
portafolio/core/migrations/0036_service.py
jhonfmg7/portafolioDjangoV2
f8fe158b97a79c148b062ae0410ef2c2d5938b8f
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.5 on 2020-08-27 19:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0035_auto_20200826_2141'), ] operations = [ migrations.CreateModel( name='Service', fields=[ ...
28.409091
114
0.5936
67
625
5.373134
0.701493
0.091667
0.1
0.133333
0.211111
0.211111
0.211111
0
0
0
0
0.081319
0.272
625
21
115
29.761905
0.70989
0.072
0
0
1
0
0.112457
0.039792
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
3614bca43b1a151a2a2b5862a64b299b9c438bdc
7,751
py
Python
scalyr_agent/test_base.py
dfredell/scalyr-agent-2
70532eaafb1e072ca8609bf4dcf92691e24ad46b
[ "Apache-2.0" ]
null
null
null
scalyr_agent/test_base.py
dfredell/scalyr-agent-2
70532eaafb1e072ca8609bf4dcf92691e24ad46b
[ "Apache-2.0" ]
null
null
null
scalyr_agent/test_base.py
dfredell/scalyr-agent-2
70532eaafb1e072ca8609bf4dcf92691e24ad46b
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 Scalyr Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
36.561321
115
0.660302
1,025
7,751
4.844878
0.278049
0.028796
0.008055
0.015707
0.359847
0.323399
0.27507
0.189287
0.163512
0.150222
0
0.006715
0.250677
7,751
212
116
36.561321
0.848313
0.190298
0
0.252252
0
0
0.070861
0
0
0
0
0
0.216216
0
null
null
0
0.054054
null
null
0.036036
0
0
0
null
0
0
0
0
0
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
361c9a209059cfa57bdf42f804697a5d095ca610
403
py
Python
packages/main/src/RPA/Browser/__init__.py
AntonStange/rpaframework
2a6a4abe56c7fece4f9cfed1ba488774393abdd8
[ "Apache-2.0" ]
25
2020-03-30T09:01:11.000Z
2020-05-21T04:04:58.000Z
packages/main/src/RPA/Browser/__init__.py
AntonStange/rpaframework
2a6a4abe56c7fece4f9cfed1ba488774393abdd8
[ "Apache-2.0" ]
2
2020-04-02T18:08:58.000Z
2020-05-27T12:07:19.000Z
packages/main/src/RPA/Browser/__init__.py
AntonStange/rpaframework
2a6a4abe56c7fece4f9cfed1ba488774393abdd8
[ "Apache-2.0" ]
7
2020-04-02T17:17:26.000Z
2020-05-27T04:18:54.000Z
import logging from RPA.Browser.Selenium import Selenium as _Selenium class Browser(_Selenium): # pylint: disable=missing-class-docstring __doc__ = _Selenium.__doc__ def __init__(self, *args, **kwargs): logging.warning( "This is a deprecated import that will " "be removed in ...
28.785714
68
0.662531
47
403
5.276596
0.659574
0.181452
0.145161
0
0
0
0
0
0
0
0
0
0.243176
403
13
69
31
0.813115
0.096774
0
0
0
0
0.223757
0
0
0
0
0
0
1
0.1
false
0
0.3
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
361e5ef08664d8a17103941643c27f83805e6d1c
277
py
Python
JumpScale9Lib/clients/btc_alpha/BTCFactory.py
Jumpscale/lib9
82224784ef2a7071faeb48349007211c367bc673
[ "Apache-2.0" ]
2
2017-06-07T08:11:47.000Z
2017-11-10T02:19:48.000Z
JumpScale9Lib/clients/btc_alpha/BTCFactory.py
Jumpscale/lib9
82224784ef2a7071faeb48349007211c367bc673
[ "Apache-2.0" ]
188
2017-06-21T06:16:13.000Z
2020-06-17T14:20:24.000Z
JumpScale9Lib/clients/btc_alpha/BTCFactory.py
Jumpscale/lib9
82224784ef2a7071faeb48349007211c367bc673
[ "Apache-2.0" ]
3
2018-06-12T05:18:28.000Z
2019-09-24T06:49:17.000Z
from js9 import j JSConfigFactory = j.tools.configmanager.base_class_configs from .BTCClient import BTCClient class GitHubFactory(JSConfigFactory): def __init__(self): self.__jslocation__ = "j.clients.btc_alpha" JSConfigFactory.__init__(self, BTCClient)
25.181818
58
0.768953
31
277
6.387097
0.612903
0.080808
0
0
0
0
0
0
0
0
0
0.004274
0.155235
277
11
59
25.181818
0.84188
0
0
0
0
0
0.068345
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
361e8b30b7a3407bdca11e461e38e9f2cec691ec
2,182
py
Python
cs371/seamcarving.py
justinblaber/cs371
0bb6ceee5edd7c6d05fc3c28aec749259f658539
[ "Apache-2.0" ]
null
null
null
cs371/seamcarving.py
justinblaber/cs371
0bb6ceee5edd7c6d05fc3c28aec749259f658539
[ "Apache-2.0" ]
null
null
null
cs371/seamcarving.py
justinblaber/cs371
0bb6ceee5edd7c6d05fc3c28aec749259f658539
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: seamcarving.ipynb (unless otherwise specified). __all__ = ['seam_removal'] # Cell import numpy as np from PIL import Image import matplotlib.pyplot as plt import numba from pathlib import Path from scipy import ndimage import PIL from skimage.transform import resize import...
31.171429
91
0.628781
351
2,182
3.678063
0.225071
0.081332
0.059644
0.049574
0.377227
0.31371
0.237026
0.175058
0.13323
0.080558
0
0.017802
0.253437
2,182
70
92
31.171429
0.774708
0.103575
0
0.065217
1
0
0.006173
0
0
0
0
0
0
1
0.086957
false
0
0.217391
0
0.347826
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3622877b2828f493586791f5f9998d8e062f916c
2,275
py
Python
jdma_control/scripts/import_os_gws.py
cedadev/django-jdma_control
9223aa2f8773e78c6f78197ae89289452d1285c9
[ "BSD-3-Clause" ]
null
null
null
jdma_control/scripts/import_os_gws.py
cedadev/django-jdma_control
9223aa2f8773e78c6f78197ae89289452d1285c9
[ "BSD-3-Clause" ]
23
2018-03-21T14:36:24.000Z
2020-04-17T07:58:33.000Z
jdma_control/scripts/import_os_gws.py
cedadev/django-jdma_control
9223aa2f8773e78c6f78197ae89289452d1285c9
[ "BSD-3-Clause" ]
null
null
null
"""Create the object store groupworkspace names, gws manager, quota and email from the elastic tape quotas and create user records, groupworkspace records and object store quotas. This script is run via ./manage runscript""" import jdma_site.settings as settings import logging import sys import signal from ti...
33.455882
84
0.704176
316
2,275
4.85443
0.35443
0.045632
0.05867
0.071708
0.197523
0.095176
0.050847
0.050847
0
0
0
0.005068
0.219341
2,275
67
85
33.955224
0.858671
0.223736
0
0.152174
0
0
0.072863
0
0
0
0
0
0
1
0.065217
false
0
0.304348
0
0.369565
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
362da007d5eb453bbcd6fae8c04c9aac24319419
437
py
Python
argecho.py
SlimyMonkey/divePython
2a9e7c4ee2c5b6bc995eabb718ed417cb76da1a5
[ "CNRI-Python-GPL-Compatible" ]
1
2017-03-07T05:50:12.000Z
2017-03-07T05:50:12.000Z
argecho.py
SlimyMonkey/divePython
2a9e7c4ee2c5b6bc995eabb718ed417cb76da1a5
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
argecho.py
SlimyMonkey/divePython
2a9e7c4ee2c5b6bc995eabb718ed417cb76da1a5
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
"""Echo command line arguments This program is part of "Dive Into Python", a free Python book for experienced programmers. Visit http://diveintopython.org/ for the latest version. """ __author__ = "Mark Pilgrim (mark@diveintopython.org)" __version__ = "$Revision: 1.2 $" __date__ = "$Date: 2004/05/05 21:57:19 $" __co...
24.277778
66
0.727689
62
437
4.806452
0.758065
0.114094
0
0
0
0
0
0
0
0
0
0.054348
0.157895
437
17
67
25.705882
0.755435
0
0
0
0
0
0.472222
0.099206
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
362ffc5c8757ee0710ce1e2cd8acc7df7fe2b731
22,461
py
Python
code/bib/compose/_column_transformer.py
ribes96/TFG
b38ac01da641e40551c1b3fefc1dc3ebd1b8b0a9
[ "MIT" ]
null
null
null
code/bib/compose/_column_transformer.py
ribes96/TFG
b38ac01da641e40551c1b3fefc1dc3ebd1b8b0a9
[ "MIT" ]
null
null
null
code/bib/compose/_column_transformer.py
ribes96/TFG
b38ac01da641e40551c1b3fefc1dc3ebd1b8b0a9
[ "MIT" ]
null
null
null
""" The :mod:`sklearn.compose._column_transformer` module implements utilities to work with heterogeneous data and to apply different transformers to different columns. """ # Author: Andreas Mueller # Joris Van den Bossche # License: BSD import numpy as np from scipy import sparse from ..base import clone, T...
36.05297
79
0.60024
2,558
22,461
5.154808
0.174355
0.016988
0.007963
0.007205
0.247004
0.212422
0.199075
0.187168
0.176248
0.176248
0
0.004224
0.314812
22,461
622
80
36.110932
0.852567
0.41552
0
0.338403
0
0
0.124041
0.001938
0
0
0
0
0
1
0.079848
false
0.098859
0.038023
0
0.231939
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
36300d1b6d92ec3f1525e0fef4d36cf4104372c3
6,589
py
Python
pysnmp-with-texts/Juniper-DISMAN-EVENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/Juniper-DISMAN-EVENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/Juniper-DISMAN-EVENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Juniper-DISMAN-EVENT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Juniper-DISMAN-EVENT-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:02:14 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7....
117.660714
823
0.79056
703
6,589
7.406828
0.294452
0.034569
0.060495
0.010755
0.236413
0.155752
0.143461
0.143461
0.143461
0.143461
0
0.061431
0.085901
6,589
55
824
119.8
0.803088
0.051905
0
0.065217
0
0.043478
0.274126
0.047772
0
0
0
0
0
1
0
false
0
0.173913
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
36301a1e9fa5a4249fb49438fd833a2416435070
3,541
py
Python
Instamplfiy.py
Shayan-Asgari/InstagramBot
48bae3d430b576699a5a9b796a499cac7ed8c2ad
[ "MIT" ]
null
null
null
Instamplfiy.py
Shayan-Asgari/InstagramBot
48bae3d430b576699a5a9b796a499cac7ed8c2ad
[ "MIT" ]
null
null
null
Instamplfiy.py
Shayan-Asgari/InstagramBot
48bae3d430b576699a5a9b796a499cac7ed8c2ad
[ "MIT" ]
null
null
null
import tkinter as tk from tkinter import * from InstagramAccount import * class Instamplify: """ Instagram Bot user interface that allows for easy access to typical daily user needs """ def __init__(self): self.master = tk.Tk() self.username = tk.Label(self.master, text="Username", bg=...
36.505155
110
0.633437
446
3,541
4.829596
0.280269
0.083565
0.094708
0.061281
0.346332
0.168988
0.130919
0.103064
0.065924
0.065924
0
0.01728
0.248235
3,541
96
111
36.885417
0.791886
0.053092
0
0.088235
0
0
0.093382
0
0
0
0
0
0
1
0.058824
false
0.088235
0.044118
0
0.117647
0.014706
0
0
0
null
0
0
0
0
0
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
3630439408e0d659331c12cbc8f884b3d8449090
4,807
py
Python
qcg/QFT/qft_circ.py
arnavdas88/qiskit_helper_functions
5106f1821b64b396742fb1037d8cc575dbadd900
[ "MIT" ]
2
2020-10-14T16:15:10.000Z
2020-10-28T19:46:42.000Z
qcg/QFT/qft_circ.py
weiT1993/helper_functions_weiT1993
88b3aec8024799dada7e2bc9d75ba5293c1bfec1
[ "MIT" ]
null
null
null
qcg/QFT/qft_circ.py
weiT1993/helper_functions_weiT1993
88b3aec8024799dada7e2bc9d75ba5293c1bfec1
[ "MIT" ]
2
2021-08-28T09:07:11.000Z
2021-08-31T07:22:59.000Z
import sys import math import numpy as np from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister class QFT: """ Class which generates the circuit to perform the Quantum Fourier Transform (or its inverse) as described in Mike & Ike Chapter 5. (Michael A Nielsen and Isaac L Chuang. Quant...
32.046667
94
0.577491
635
4,807
4.349606
0.292913
0.032585
0.007603
0.012672
0.250905
0.172339
0.147357
0.129978
0.129978
0.129978
0
0.020202
0.340961
4,807
149
95
32.261745
0.851641
0.475348
0
0.290909
1
0
0.000463
0
0
0
0
0
0
1
0.072727
false
0
0.072727
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3631f296f23a266f9b7586d55ae2996b1237f4e1
2,063
py
Python
guillotina_pgfield/tests/test_pgfield.py
guillotinaweb/guillotina_pgfield
b7aa158a35f7ec134294a6603b149956e0236d08
[ "BSD-2-Clause" ]
null
null
null
guillotina_pgfield/tests/test_pgfield.py
guillotinaweb/guillotina_pgfield
b7aa158a35f7ec134294a6603b149956e0236d08
[ "BSD-2-Clause" ]
null
null
null
guillotina_pgfield/tests/test_pgfield.py
guillotinaweb/guillotina_pgfield
b7aa158a35f7ec134294a6603b149956e0236d08
[ "BSD-2-Clause" ]
null
null
null
import json import pytest import asyncio pytestmark = pytest.mark.asyncio @pytest.mark.asyncio async def test_pgfieldfield(custom_pgfield_type_container_requester): async with custom_pgfield_type_container_requester as requester: response, status = await requester( 'POST', '/db/gui...
25.469136
69
0.400388
152
2,063
5.375
0.322368
0.119951
0.162791
0.239902
0.648715
0.528764
0.528764
0.528764
0.528764
0.528764
0
0.034156
0.489094
2,063
80
70
25.7875
0.740987
0
0
0.527778
0
0
0.130877
0
0
0
0
0
0.097222
1
0
false
0
0.041667
0
0.041667
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
3636cecb37ba41493bdd017fd78f2e0edf17204e
495
py
Python
theory/12th_sprint_algorithms/F.py
abi83/YaPractice
1c3a5670ee2f872d4f872623a392755318b893b5
[ "MIT" ]
3
2020-11-18T05:16:30.000Z
2021-03-08T06:36:01.000Z
theory/12th_sprint_algorithms/F.py
abi83/YaPractice
1c3a5670ee2f872d4f872623a392755318b893b5
[ "MIT" ]
null
null
null
theory/12th_sprint_algorithms/F.py
abi83/YaPractice
1c3a5670ee2f872d4f872623a392755318b893b5
[ "MIT" ]
1
2021-01-20T12:41:48.000Z
2021-01-20T12:41:48.000Z
""" Palindrome """ from string import ascii_letters, digits def main(): with open('input.txt') as file: data = file.read().strip() cleaned_data = '' for simbol in data: if simbol in ascii_letters + digits: cleaned_data += simbol.lower() for i in range(int...
24.75
53
0.561616
62
495
4.241935
0.564516
0.209125
0.136882
0
0
0
0
0
0
0
0
0.00885
0.315152
495
19
54
26.052632
0.766962
0.020202
0
0
0
0
0.035639
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.285714
0.071429
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
363b12d9d8a49b4c1e58cee36c7e6e3b3a50b116
2,803
py
Python
experimental/csprofile_read.py
HighW4y2H3ll/CSAL_thunder
7bacb5146a4ddef4acef5c81c4ea5b713b41494c
[ "Apache-2.0" ]
53
2017-05-23T13:12:20.000Z
2022-02-14T01:43:48.000Z
experimental/csprofile_read.py
HighW4y2H3ll/CSAL_thunder
7bacb5146a4ddef4acef5c81c4ea5b713b41494c
[ "Apache-2.0" ]
8
2018-04-10T17:28:26.000Z
2021-03-01T14:33:51.000Z
experimental/csprofile_read.py
HighW4y2H3ll/CSAL_thunder
7bacb5146a4ddef4acef5c81c4ea5b713b41494c
[ "Apache-2.0" ]
35
2017-03-10T15:34:26.000Z
2022-02-13T18:27:21.000Z
#!/usr/bin/python """ Read trace files from CSAL's csprofile command. Copyright (C) ARM Ltd. 2016. 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/...
28.896907
100
0.602925
388
2,803
4.25
0.46134
0.036386
0.03396
0.019406
0
0
0
0
0
0
0
0.015712
0.296111
2,803
96
101
29.197917
0.820071
0.057082
0
0.053571
0
0
0.136639
0
0
0
0
0
0.017857
0
null
null
0
0.017857
null
null
0.107143
0
0
0
null
0
0
0
0
0
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
364f5abab8fb6bc9df48463d107a4593f2a0759b
341
py
Python
PA/Rezolvari/Lab 1/test acasa.py
ParaschivAlex/FMI-Thangs
26d8a13b08344744ee6ab56f088dd4adb665980e
[ "MIT" ]
null
null
null
PA/Rezolvari/Lab 1/test acasa.py
ParaschivAlex/FMI-Thangs
26d8a13b08344744ee6ab56f088dd4adb665980e
[ "MIT" ]
null
null
null
PA/Rezolvari/Lab 1/test acasa.py
ParaschivAlex/FMI-Thangs
26d8a13b08344744ee6ab56f088dd4adb665980e
[ "MIT" ]
null
null
null
import math a=int(input("a = ?")) b=int(input("b = ?")) c=int(input("c = ?")) d=b**2-4*a*c if d < 0: d=-d m=-b/2*a n=math.sqrt(d)/2*a if n>=0: print(m, "+i", n) else: print(m,"-i",n) elif d==0: print(-b/2*a) else: d=math.sqrt(d) m=(-b+d)/2*a n=(-b-d)...
17.05
26
0.40176
72
341
1.902778
0.263889
0.072993
0.065693
0.116788
0
0
0
0
0
0
0
0.043103
0.319648
341
20
27
17.05
0.547414
0
0
0.1
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0.2
0
0
1
null
0
0
0
0
0
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
36541d2cabb3f89d3177798cda7d9725f10451a2
1,090
py
Python
basic/op.py
Mateuskim/call-center
4bc74bdfbb407fd9118ae8a121c9ef0f85e13b48
[ "MIT" ]
1
2020-05-11T14:00:28.000Z
2020-05-11T14:00:28.000Z
basic/op.py
Mateuskim/call-center
4bc74bdfbb407fd9118ae8a121c9ef0f85e13b48
[ "MIT" ]
null
null
null
basic/op.py
Mateuskim/call-center
4bc74bdfbb407fd9118ae8a121c9ef0f85e13b48
[ "MIT" ]
null
null
null
class Operator(object): def __init__(self, ID, status = 'available'): self.ID = ID self.curCall = None self.status = status def setCall(self, call_id): self.status = 'busy' self.curCall = call_id self.curCall.setStatus('ringing') def setStatus(self, status...
25.952381
79
0.553211
121
1,090
4.900826
0.239669
0.151771
0.040472
0.067454
0.470489
0.424958
0.424958
0.290051
0.290051
0.290051
0
0
0.340367
1,090
41
80
26.585366
0.824757
0
0
0.375
0
0
0.069725
0
0
0
0
0
0
1
0.25
false
0
0
0.0625
0.53125
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
3655228ba277423a1b5ab4e3f7cfe5162658fd7f
863
py
Python
setup.py
rdegges/flask-heroku-rqify
240f1e8c014af9ec3ff8c51fbf40499aa576839b
[ "Unlicense" ]
5
2015-11-05T11:09:14.000Z
2019-07-18T12:30:30.000Z
setup.py
rdegges/flask-heroku-rqify
240f1e8c014af9ec3ff8c51fbf40499aa576839b
[ "Unlicense" ]
null
null
null
setup.py
rdegges/flask-heroku-rqify
240f1e8c014af9ec3ff8c51fbf40499aa576839b
[ "Unlicense" ]
null
null
null
from os.path import abspath, dirname, join, normpath from setuptools import setup setup( # Basic package information: name = 'Flask-Heroku-RQify', version = '0.2', py_modules = ('flask_rqify', ), # Packaging options: zip_safe = False, include_package_data = True, # Package dependen...
25.382353
83
0.654693
99
863
5.585859
0.717172
0.059675
0
0
0
0
0
0
0
0
0
0.010401
0.220162
863
33
84
26.151515
0.811293
0.099652
0
0
0
0
0.362694
0
0
0
0
0
0
1
0
true
0
0.095238
0
0.095238
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
3675be536f9850ef56d63376dfb4e5de1a8c1c87
3,395
py
Python
api/chronos/serializers.py
yuanyuan-deng/RDM-osf.io
e1c54e97c898d26406d71129db7e4baf82802224
[ "Apache-2.0" ]
1
2019-05-08T02:30:38.000Z
2019-05-08T02:30:38.000Z
api/chronos/serializers.py
yuanyuan-deng/RDM-osf.io
e1c54e97c898d26406d71129db7e4baf82802224
[ "Apache-2.0" ]
17
2016-01-27T03:26:00.000Z
2019-10-30T13:49:15.000Z
api/chronos/serializers.py
yuanyuan-deng/RDM-osf.io
e1c54e97c898d26406d71129db7e4baf82802224
[ "Apache-2.0" ]
1
2015-08-28T20:00:52.000Z
2015-08-28T20:00:52.000Z
from rest_framework import serializers as ser from rest_framework.exceptions import NotFound from api.base.exceptions import Conflict from api.base.serializers import JSONAPISerializer, RelationshipField, LinksField from api.base.utils import absolute_reverse from osf.external.chronos import ChronosClient from osf.mod...
37.307692
147
0.721944
364
3,395
6.527473
0.277473
0.037879
0.045455
0.038721
0.279882
0.218434
0.144781
0.144781
0.144781
0.144781
0
0
0.175552
3,395
90
148
37.722222
0.848875
0
0
0.211268
0
0
0.145508
0.043594
0
0
0
0
0
1
0.084507
false
0
0.112676
0.042254
0.591549
0.084507
0
0
0
null
0
0
0
0
0
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
36796d11085c11b0bd83a3cb5c104a9cbd35a619
979
py
Python
apps/product/models.py
phdevs1/CyberCaffe
bee989a6d8d59205ee2645e986b4b0f16d00bf05
[ "Apache-2.0" ]
null
null
null
apps/product/models.py
phdevs1/CyberCaffe
bee989a6d8d59205ee2645e986b4b0f16d00bf05
[ "Apache-2.0" ]
7
2021-03-19T08:39:34.000Z
2022-03-12T00:15:38.000Z
apps/product/models.py
pioh123/CyberCaffe
bee989a6d8d59205ee2645e986b4b0f16d00bf05
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class Product(models.Model): id = models.AutoField(primary_key=True) name = models.CharField(max_length=40) photo = models.ImageField(upload_to='products',null= True, blank=True) stock = models.IntegerField(null= True) price = models.FloatFie...
37.653846
90
0.723187
131
979
5.29771
0.374046
0.092219
0.074928
0.097983
0.386167
0.302594
0.302594
0.302594
0.302594
0.302594
0
0.009569
0.146067
979
25
91
39.16
0.820574
0.024515
0
0.157895
0
0
0.044071
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0.052632
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
3681f5312df06d3914a460d4bb80053c472ae8f6
6,713
py
Python
endpoints/appr/test/test_api_security.py
dongboyan77/quay
8018e5bd80f17e6d855b58b7d5f2792d92675905
[ "Apache-2.0" ]
1
2020-10-16T19:30:41.000Z
2020-10-16T19:30:41.000Z
endpoints/appr/test/test_api_security.py
dongboyan77/quay
8018e5bd80f17e6d855b58b7d5f2792d92675905
[ "Apache-2.0" ]
15
2020-06-18T15:32:06.000Z
2022-03-03T23:06:24.000Z
endpoints/appr/test/test_api_security.py
dongboyan77/quay
8018e5bd80f17e6d855b58b7d5f2792d92675905
[ "Apache-2.0" ]
null
null
null
import base64 import pytest from flask import url_for from data import model from endpoints.appr.registry import appr_bp, blobs from endpoints.test.shared import client_with_identity from test.fixtures import * BLOB_ARGS = {"digest": "abcd1235"} PACKAGE_ARGS = {"release": "r", "media_type": "foo"} RELEASE_ARGS = {"r...
36.884615
100
0.536273
647
6,713
5.353941
0.15456
0.124711
0.088337
0.076212
0.751732
0.732968
0.684469
0.602771
0.455831
0.230658
0
0.033561
0.303143
6,713
181
101
37.088398
0.706926
0
0
0.511628
0
0
0.311038
0.075525
0
0
0
0
0.005814
1
0.005814
false
0.005814
0.040698
0
0.046512
0.005814
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
3682c9d666597f6f149f1e6f8b290c7acc8f9980
6,061
py
Python
armiesofsigmar/unit.py
a74nh/armiesofsigmar
c9b573367e6ab8928d0680fe69bae82954a23bd8
[ "Apache-2.0" ]
null
null
null
armiesofsigmar/unit.py
a74nh/armiesofsigmar
c9b573367e6ab8928d0680fe69bae82954a23bd8
[ "Apache-2.0" ]
null
null
null
armiesofsigmar/unit.py
a74nh/armiesofsigmar
c9b573367e6ab8928d0680fe69bae82954a23bd8
[ "Apache-2.0" ]
null
null
null
import re from printoption import PrintOption # A unit consists of a number of instances of a single model. class Unit(object): def __init__(self, unit_config, unittype): # Dictionary holding all the stats for a unit self.unit_config = unit_config # The number of multiples of a minimum si...
35.444444
122
0.544135
710
6,061
4.542254
0.188732
0.053023
0.056434
0.049612
0.328372
0.255504
0.173333
0.142636
0.048372
0.027907
0
0.00867
0.333938
6,061
170
123
35.652941
0.790191
0.130672
0
0.283333
0
0
0.060381
0
0
0
0
0
0
0
null
null
0
0.016667
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
36833a31febd4bd05513ab3a3db86bb12853f538
6,350
py
Python
src/server/model/old/SimVM backup.py
yangangao/ADS-IDAC-SimPy
996602e2185e591aa8bff7dd8e104c7d59151047
[ "Apache-2.0" ]
null
null
null
src/server/model/old/SimVM backup.py
yangangao/ADS-IDAC-SimPy
996602e2185e591aa8bff7dd8e104c7d59151047
[ "Apache-2.0" ]
null
null
null
src/server/model/old/SimVM backup.py
yangangao/ADS-IDAC-SimPy
996602e2185e591aa8bff7dd8e104c7d59151047
[ "Apache-2.0" ]
null
null
null
#------------------------------------------------------------------------------- # Name: SimVM # Purpose: 实现一个线程安全仿真环境,其中包含多条自主航行船舶、观测者、环境数据 # # Author: Youan # Created: 27-01-2020 # Copyright: (c) Youan 2020 # Licence: <your licence> #---------------------------------------------------------...
29.398148
116
0.568031
714
6,350
4.943978
0.295518
0.005099
0.011331
0.011048
0.162606
0.05949
0.033994
0.020963
0.020963
0.020963
0
0.029575
0.291811
6,350
215
117
29.534884
0.75517
0.259843
0
0.18254
0
0
0.010376
0
0
0
0
0.004651
0
1
0.174603
false
0.071429
0.02381
0
0.269841
0.015873
0
0
0
null
0
0
0
0
0
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
3685249bb48a81ec535d33fa394a20169c98af8f
358
py
Python
romain_sings/songs/templatetags/datatables.py
gfavre/romainsings
2938dee21891fa9db4339ba078dc4a2dace72c24
[ "MIT" ]
null
null
null
romain_sings/songs/templatetags/datatables.py
gfavre/romainsings
2938dee21891fa9db4339ba078dc4a2dace72c24
[ "MIT" ]
null
null
null
romain_sings/songs/templatetags/datatables.py
gfavre/romainsings
2938dee21891fa9db4339ba078dc4a2dace72c24
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django import template register = template.Library() LANG_DICT = {'fr': 'fr.json', 'en': 'en.json'} @register.filter(name='datatable_i18n_url') def datatable_i18n_url(value): """usage: {{ LANGUAGE_CODE | datatable_i18n_url }}""" base_lang = value.split('-')[0] return LANG_D...
23.866667
57
0.664804
49
358
4.632653
0.612245
0.171806
0.211454
0
0
0
0
0
0
0
0
0.025974
0.139665
358
14
58
25.571429
0.711039
0.195531
0
0
0
0
0.156028
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
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
3697ca7640435e25afa31f73140287c90949130f
268
py
Python
bin/build_schema.py
infoxchange/spyne
60ed622b088c13f4f84c81f1f43302edbc7f6027
[ "BSD-3-Clause" ]
786
2015-01-04T10:46:28.000Z
2022-03-31T19:24:35.000Z
bin/build_schema.py
infoxchange/spyne
60ed622b088c13f4f84c81f1f43302edbc7f6027
[ "BSD-3-Clause" ]
248
2015-01-01T21:52:47.000Z
2022-03-09T08:55:04.000Z
bin/build_schema.py
infoxchange/spyne
60ed622b088c13f4f84c81f1f43302edbc7f6027
[ "BSD-3-Clause" ]
210
2015-01-10T14:20:31.000Z
2022-03-09T08:38:43.000Z
#!/usr/bin/env python # This can be used to debug invalid Xml Schema documents. import sys from lxml import etree if len(sys.argv) != 2: print "Usage: %s <path_to_xsd_file>" % sys.argv[0] sys.exit(1) f = open(sys.argv[1]) etree.XMLSchema(etree.parse(f))
16.75
57
0.679104
48
268
3.729167
0.75
0.117318
0
0
0
0
0
0
0
0
0
0.018182
0.179104
268
15
58
17.866667
0.795455
0.283582
0
0
0
0
0.147368
0
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.142857
0
0
0
null
0
0
0
0
0
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
369b9f689f271aa69128ce1d9dd244336ffdf644
5,448
py
Python
TheKinozal/settings.py
R-Mielamud/TheKinozal
62cb79faae58b23f0ef0175593ed9b5746229b5b
[ "MIT" ]
1
2020-10-16T19:15:32.000Z
2020-10-16T19:15:32.000Z
TheKinozal/settings.py
R-Mielamud/TheKinozal
62cb79faae58b23f0ef0175593ed9b5746229b5b
[ "MIT" ]
null
null
null
TheKinozal/settings.py
R-Mielamud/TheKinozal
62cb79faae58b23f0ef0175593ed9b5746229b5b
[ "MIT" ]
null
null
null
""" Django settings for TheKinozal project. Generated by 'django-admin startproject' using Django 3.0.6. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os...
22.890756
91
0.675294
613
5,448
5.840131
0.40783
0.054469
0.043017
0.048883
0.157821
0.139385
0.074581
0.074581
0.03352
0
0
0.017717
0.181535
5,448
237
92
22.987342
0.785154
0.20815
0
0.027972
1
0
0.483073
0.31123
0
0
0
0
0
1
0
false
0.041958
0.013986
0
0.013986
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
369e20ae533311c883c61631ce17a9a82f7bf959
813
py
Python
Python/Upload_File_As_Github_Gist/upload_file_as_github_gist.py
CharvyJain/Rotten-Scripts
c9b8f7dde378620e4a82eae7aacec53f1eeea3c5
[ "MIT" ]
3
2021-08-19T08:38:10.000Z
2022-01-03T14:37:50.000Z
Python/Upload_File_As_Github_Gist/upload_file_as_github_gist.py
SKAUL05/Rotten-Scripts
c44e69754bbecb8a547fe2cc3a29be5acf97c46a
[ "MIT" ]
3
2022-01-15T07:33:28.000Z
2022-03-24T04:23:03.000Z
Python/Upload_File_As_Github_Gist/upload_file_as_github_gist.py
SKAUL05/Rotten-Scripts
c44e69754bbecb8a547fe2cc3a29be5acf97c46a
[ "MIT" ]
1
2021-01-28T07:58:26.000Z
2021-01-28T07:58:26.000Z
''' This gist is generated by Python. ''' #!/usr/bin/env python import requests import json GITHUB_API="https://api.github.com" API_TOKEN='your-token-goes-here' # form a request URL url=GITHUB_API+"/gists" print("Request URL: %s"%url) # print headers,parameters,payload headers={'Authorization':'token %s'%API_TOKEN}...
23.911765
140
0.709717
128
813
4.46875
0.4375
0.055944
0.034965
0
0
0
0
0
0
0
0
0
0.100861
813
33
141
24.636364
0.78249
0.215252
0
0
1
0
0.3568
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0.352941
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
369e346b14048923197fe31932178dfe729f203e
662
py
Python
src/wai_data_tools/data.py
wildlifeai/wai_data_tools
1e448361dadec769ad4cfedcd556b81f0eceb768
[ "MIT" ]
null
null
null
src/wai_data_tools/data.py
wildlifeai/wai_data_tools
1e448361dadec769ad4cfedcd556b81f0eceb768
[ "MIT" ]
1
2022-03-14T20:25:57.000Z
2022-03-14T20:25:57.000Z
src/wai_data_tools/data.py
wildlifeai/wai_data_tools
1e448361dadec769ad4cfedcd556b81f0eceb768
[ "MIT" ]
null
null
null
"""Data transformation functionality.""" import math import numpy as np def calc_test_split_indices(n_files: int, test_split_size: float, seed=0) -> np.ndarray: """Calculates a split for training and testing files and returning their indices. Args: n_files: Number of files to split test_spli...
26.48
88
0.71148
101
662
4.445545
0.475248
0.100223
0.08686
0
0
0
0
0
0
0
0
0.001927
0.216012
662
24
89
27.583333
0.863198
0.454683
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
369e9380724c68f76027aff5484867c909d73857
1,691
py
Python
repo/script.module.urlresolver/lib/urlresolver/plugins/mp4upload.py
Hades01/Addons
710da97ac850197498a3cd64be1811c593610add
[ "Apache-2.0" ]
null
null
null
repo/script.module.urlresolver/lib/urlresolver/plugins/mp4upload.py
Hades01/Addons
710da97ac850197498a3cd64be1811c593610add
[ "Apache-2.0" ]
null
null
null
repo/script.module.urlresolver/lib/urlresolver/plugins/mp4upload.py
Hades01/Addons
710da97ac850197498a3cd64be1811c593610add
[ "Apache-2.0" ]
null
null
null
""" urlresolver XBMC Addon Copyright (C) 2011 t0mm0 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
33.156863
73
0.65819
239
1,691
4.577406
0.493724
0.025594
0.035649
0.052102
0.14808
0.051188
0
0
0
0
0
0.011556
0.232407
1,691
50
74
33.82
0.831279
0.390302
0
0
0
0
0.12
0.052308
0
0
0
0
0
1
0.2
false
0
0.12
0.08
0.68
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
36ae8342f5ac74290c65be0db3364dad069723f0
388
py
Python
utils/views.py
xxcfun/trip-api
a51c8b6033ba2a70cf0e400180f31809f4ce476a
[ "Apache-2.0" ]
1
2021-06-18T03:03:40.000Z
2021-06-18T03:03:40.000Z
utils/views.py
xxcfun/trip-api
a51c8b6033ba2a70cf0e400180f31809f4ce476a
[ "Apache-2.0" ]
null
null
null
utils/views.py
xxcfun/trip-api
a51c8b6033ba2a70cf0e400180f31809f4ce476a
[ "Apache-2.0" ]
null
null
null
from functools import wraps from utils.response import UnauthorizedJsonResponse def login_required(view_func): @wraps(view_func) def _wrapped_view(request, *args, **kwargs): user = request.user if not user.is_authenticated: return UnauthorizedJsonResponse() re...
25.866667
52
0.68299
42
388
6.095238
0.52381
0.09375
0.132813
0
0
0
0
0
0
0
0
0
0.244845
388
15
53
25.866667
0.87372
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.7
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
36aea158b896d33db5af094c1407d88fc33a6b7b
3,088
py
Python
examples/basic/cm_assembly_playground/assemble_from_scratch/create_and_load_urdf_hand.py
tatung/somo
f0f95eb261ec0ca7507c5729405f449a6ca9abc9
[ "MIT" ]
27
2021-06-02T15:56:22.000Z
2022-03-10T08:43:27.000Z
examples/basic/cm_assembly_playground/assemble_from_scratch/create_and_load_urdf_hand.py
tatung/somo
f0f95eb261ec0ca7507c5729405f449a6ca9abc9
[ "MIT" ]
2
2021-09-20T17:41:11.000Z
2021-11-15T17:29:56.000Z
examples/basic/cm_assembly_playground/assemble_from_scratch/create_and_load_urdf_hand.py
tatung/somo
f0f95eb261ec0ca7507c5729405f449a6ca9abc9
[ "MIT" ]
11
2021-03-22T13:22:05.000Z
2022-03-10T08:47:27.000Z
import pybullet as p import pybullet_data import numpy as np import os import sys import time path = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..")) sys.path.insert(0, path) from somo.sm_manipulator_definition import SMManipulatorDefinition from somo.create_cmassembly_urdf import create_cm...
31.191919
135
0.688795
536
3,088
3.850746
0.315299
0.037791
0.053295
0.034884
0.153585
0.143895
0.13905
0.11095
0.091085
0.075581
0
0.07235
0.171956
3,088
98
136
31.510204
0.734846
0.418394
0
0
0
0
0.035048
0
0
0
0
0.010204
0
1
0
false
0
0.152542
0
0.152542
0.016949
0
0
0
null
0
0
0
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
36b29d6a55ec61c3a78da0d283a785d92fb6c07e
2,401
py
Python
menvod/main.py
anokata/pythonPetProjects
245c3ff11ae560b17830970061d8d60013948fd7
[ "MIT" ]
3
2017-04-30T17:44:53.000Z
2018-02-03T06:02:11.000Z
menvod/main.py
anokata/pythonPetProjects
245c3ff11ae560b17830970061d8d60013948fd7
[ "MIT" ]
10
2021-03-18T20:17:19.000Z
2022-03-11T23:14:19.000Z
menvod/main.py
anokata/pythonPetProjects
245c3ff11ae560b17830970061d8d60013948fd7
[ "MIT" ]
null
null
null
import sys sys.path.append('../modules') import gl_main import stateSystem #import yaml import mega import ByteFont import lists import datetime data_dir = 'data/' #TODO make test and write TZ and clean up it #### DEVELOP AREA START #### (future to refactor) def build_status_str(): s = "{time}|{life_days}|{remain}...
29.280488
88
0.650979
331
2,401
4.513595
0.365559
0.042838
0.032129
0.025435
0.077644
0.046854
0.046854
0
0
0
0
0.02958
0.197418
2,401
81
89
29.641975
0.745719
0.058726
0
0
0
0
0.102816
0.01207
0
0
0
0.012346
0
1
0.125
false
0
0.109375
0
0.265625
0.015625
0
0
0
null
0
0
0
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
36b35cf479728fac33382087ae8db65ed9804ef5
1,675
py
Python
src/fullctl/django/models/concrete/auditlog.py
fullctl/fullctl
20912fafb5b004ca00e3aa935d62df7ecea595fe
[ "Apache-2.0" ]
2
2021-11-03T20:16:28.000Z
2021-11-09T01:59:32.000Z
src/fullctl/django/models/concrete/auditlog.py
fullctl/fullctl
20912fafb5b004ca00e3aa935d62df7ecea595fe
[ "Apache-2.0" ]
38
2021-01-19T15:50:06.000Z
2022-03-29T22:19:12.000Z
src/fullctl/django/models/concrete/auditlog.py
fullctl/fullctl
20912fafb5b004ca00e3aa935d62df7ecea595fe
[ "Apache-2.0" ]
null
null
null
""" Models to facilitate auditlogging of actions """ from django.contrib.auth import get_user_model from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes.models import ContentType from django.db import models from django.utils.translation import gettext_lazy as _ from django...
30.454545
81
0.705672
203
1,675
5.610837
0.369458
0.049166
0.068481
0.089552
0.244074
0.244074
0.244074
0.165057
0.165057
0.165057
0
0.004464
0.197612
1,675
54
82
31.018519
0.843006
0.055522
0
0.205128
0
0
0.11161
0.033355
0
0
0
0
0
1
0
false
0
0.153846
0
0.512821
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
36b8effa37e826e7985e0173ee66ef9f5b9cf72e
713
py
Python
put_users_on_map.py
Tanchyyk/Twitter_Api
5ad2c23a76f1c783dcbb95677540b993dea291aa
[ "Unlicense" ]
null
null
null
put_users_on_map.py
Tanchyyk/Twitter_Api
5ad2c23a76f1c783dcbb95677540b993dea291aa
[ "Unlicense" ]
null
null
null
put_users_on_map.py
Tanchyyk/Twitter_Api
5ad2c23a76f1c783dcbb95677540b993dea291aa
[ "Unlicense" ]
null
null
null
import folium from folium.plugins import MarkerCluster def put_users_on_map(list_of_users: list): """ Function generates a map and put markers of users' locations on it. """ users_map = folium.Map(tiles="Stamen Terrain", location=[49.8397, 24.0297], zoom_start=4) marker_cluster = folium.plugins.Ma...
39.611111
93
0.548387
85
713
4.411765
0.564706
0.056
0.058667
0
0
0
0
0
0
0
0
0.047619
0.352034
713
17
94
41.941176
0.764069
0.093969
0
0
1
0
0.030159
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
36bd440a2b579554b9ecd4ad7ac6ea971c5e2ccd
5,703
py
Python
build/lib/vassal/terminal.py
Shawn-Shan/vassal
dcb46bd8b36136e9b002d846f7a3464107a04f8d
[ "MIT" ]
4
2019-02-15T01:36:02.000Z
2021-06-11T15:38:58.000Z
build/lib/vassal/terminal.py
Shawn-Shan/vassal
dcb46bd8b36136e9b002d846f7a3464107a04f8d
[ "MIT" ]
null
null
null
build/lib/vassal/terminal.py
Shawn-Shan/vassal
dcb46bd8b36136e9b002d846f7a3464107a04f8d
[ "MIT" ]
1
2019-02-14T05:56:07.000Z
2019-02-14T05:56:07.000Z
import subprocess from vassal.ssh import SSH import os class ArgsSCP(object): def __init__(self): self.r = False self.server = None self.username = False self.put = False self.remote_path = "" self.pkey = None self.file = "" def check_fields(self): ...
33.946429
115
0.569525
699
5,703
4.429185
0.137339
0.027132
0.013566
0.02584
0.348514
0.278101
0.246447
0.222868
0.222868
0.19509
0
0.006202
0.32141
5,703
168
116
33.946429
0.793798
0.004734
0
0.256944
0
0
0.014097
0
0
0
0
0.005952
0.020833
1
0.104167
false
0.083333
0.020833
0
0.194444
0.006944
0
0
0
null
0
0
0
0
0
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
36c20cf156b1d1172e5057d51c3ebd42d976ff28
630
py
Python
ebc/monitoramento/profiles/default/workflows/monitoramento_workflow/scripts/moveBackObject.py
lflrocha/ebc.monitoramento
4a7df00207440ab2308b6bebf69abb29cdc7ee35
[ "Unlicense" ]
null
null
null
ebc/monitoramento/profiles/default/workflows/monitoramento_workflow/scripts/moveBackObject.py
lflrocha/ebc.monitoramento
4a7df00207440ab2308b6bebf69abb29cdc7ee35
[ "Unlicense" ]
null
null
null
ebc/monitoramento/profiles/default/workflows/monitoramento_workflow/scripts/moveBackObject.py
lflrocha/ebc.monitoramento
4a7df00207440ab2308b6bebf69abb29cdc7ee35
[ "Unlicense" ]
null
null
null
## Script (Python) "moveBackObject" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=state_change ##title= ## # get the object and its ID obj = state_change.object id = obj.getId() # get the src folder and the destination folder dstF...
21
50
0.742857
88
630
5.193182
0.488636
0.052516
0
0
0
0
0
0
0
0
0
0
0.150794
630
29
51
21.724138
0.854206
0.492063
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
36c2237467c98f5499fb38287533d86d8ba4bcc1
749
py
Python
tests/unit/test_util.py
TanguyUrvoy/SDMetrics
eacec8a4cd9b9399e659d2b0716e0f723c5aa876
[ "MIT" ]
66
2020-04-09T02:51:00.000Z
2022-03-07T20:18:09.000Z
tests/unit/test_util.py
TanguyUrvoy/SDMetrics
eacec8a4cd9b9399e659d2b0716e0f723c5aa876
[ "MIT" ]
68
2020-03-23T00:48:14.000Z
2022-03-10T10:47:34.000Z
tests/unit/test_util.py
TanguyUrvoy/SDMetrics
eacec8a4cd9b9399e659d2b0716e0f723c5aa876
[ "MIT" ]
21
2020-04-23T14:22:42.000Z
2022-03-10T09:29:50.000Z
from sdmetrics.single_table.privacy.util import closest_neighbors def test_closest_neighbors_exact(): samples = [ ('a', '1'), ('a', '2'), ('a', '3'), ('b', '1'), ('b', '2'), ('b', '3'), ] target = ('a', '2') results = closest_neighbors(samples, target) ...
22.69697
65
0.46996
88
749
3.875
0.284091
0.234604
0.082111
0.134897
0.483871
0.398827
0.398827
0.398827
0.398827
0.398827
0
0.038536
0.307076
749
32
66
23.40625
0.618497
0
0
0.571429
0
0
0.045394
0
0
0
0
0
0.214286
1
0.071429
false
0
0.035714
0
0.107143
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
36c262a74205cf01dfa50a54a26d50c418755d0e
10,519
py
Python
TODO/epg-prop_2spin.py
somnathrakshit/mri-sim-py
2034357d1c5a89ee48f5dc38484a7ea33cc04db7
[ "MIT" ]
5
2019-09-06T18:51:56.000Z
2020-05-26T10:17:29.000Z
TODO/epg-prop_2spin.py
somnathrakshit/mri-sim-py
2034357d1c5a89ee48f5dc38484a7ea33cc04db7
[ "MIT" ]
null
null
null
TODO/epg-prop_2spin.py
somnathrakshit/mri-sim-py
2034357d1c5a89ee48f5dc38484a7ea33cc04db7
[ "MIT" ]
5
2017-02-19T14:28:43.000Z
2020-06-10T07:42:54.000Z
#!/usr/bin/python import numpy as np from numpy import pi, cos, sin, exp, conj from warnings import warn import epg import time import sys import scipy.io class PulseTrain: def __init__(self, state_file, T, TE, TR, loss_fun, loss_fun_prime, angles_rad=None, phase_rad=None, verbose=False, step=.01, max_iter=100):...
33.714744
188
0.591881
1,626
10,519
3.665437
0.129151
0.093624
0.036913
0.051342
0.446477
0.370302
0.321477
0.312416
0.289262
0.246644
0
0.050171
0.249644
10,519
311
189
33.823151
0.704928
0.050575
0
0.150442
0
0.004425
0.0386
0.010126
0
0
0
0
0
0
null
null
0
0.035398
null
null
0.061947
0
0
0
null
0
0
0
0
0
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
36c377f765ff20abdf2ecaaaf4966f56fbca70bd
394
py
Python
pythonclass5.py
MarisaAlves/class5
a715edf4f9f2dc8475d2876281cd5c1e492744bc
[ "MIT" ]
null
null
null
pythonclass5.py
MarisaAlves/class5
a715edf4f9f2dc8475d2876281cd5c1e492744bc
[ "MIT" ]
null
null
null
pythonclass5.py
MarisaAlves/class5
a715edf4f9f2dc8475d2876281cd5c1e492744bc
[ "MIT" ]
null
null
null
import numpy as np myarray = np.array([1, 22.4, 5, 35, 4, 6.7, 3, 8, 40]) print(myarray.ndim) print(myarray.shape) print(myarray.size) print(myarray.dtype) mymatrix = np.array([['a', 'b'], ['c', 'd'], [3,3]]) print(mymatrix.ndim) print(mymatrix.shape) print(mymatrix.size) print(mymatrix.dtype) print(np.arange(15,3...
15.76
54
0.670051
68
394
3.882353
0.5
0.181818
0.090909
0
0
0
0
0
0
0
0
0.071225
0.109137
394
24
55
16.416667
0.680912
0
0
0.125
0
0
0.01023
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.8125
0
0
0
null
0
0
0
0
0
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
36c77de68f54370c83a7da5753e69415575cb0ed
2,462
py
Python
arekit/contrib/networks/context/architectures/base/att_pcnn_base.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
18
2019-12-14T18:43:11.000Z
2022-03-21T05:55:36.000Z
arekit/contrib/networks/context/architectures/base/att_pcnn_base.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
284
2020-08-08T20:52:44.000Z
2022-03-31T05:26:20.000Z
arekit/contrib/networks/context/architectures/base/att_pcnn_base.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
1
2021-08-07T13:17:43.000Z
2021-08-07T13:17:43.000Z
import tensorflow as tf from arekit.contrib.networks.attention import common from arekit.contrib.networks.attention.helpers import embedding from arekit.contrib.networks.context.architectures.pcnn import PiecewiseCNN class AttentionPCNNBase(PiecewiseCNN): """ Represents a base (abstract) class with attention...
31.564103
106
0.715678
280
2,462
5.960714
0.342857
0.041941
0.077891
0.044937
0.266627
0.112043
0.056321
0.056321
0.056321
0
0
0.000515
0.212023
2,462
77
107
31.974026
0.859794
0.144192
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.105263
0
0.394737
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
36c7e63478440196865a2ead8bc0c6dd95891a21
4,471
py
Python
sniffer/sniffer.py
taimooralam/adaptive-rtp-relay
9cebaec25c3d845d5a2b8c6ed20205011a97db29
[ "MIT" ]
2
2017-11-07T00:04:43.000Z
2018-05-08T22:49:40.000Z
sniffer/sniffer.py
taimooralam/adaptive-rtp-relay
9cebaec25c3d845d5a2b8c6ed20205011a97db29
[ "MIT" ]
null
null
null
sniffer/sniffer.py
taimooralam/adaptive-rtp-relay
9cebaec25c3d845d5a2b8c6ed20205011a97db29
[ "MIT" ]
null
null
null
#packet sniffer in python #for linux import socket from struct import * from multiprocessing import Process, Lock, Pipe, Value import random import sched, time ip_send_rtcp_on = '127.0.0.1' port_send_rtcp_on = 5009 rtcp_sending_delay = 30 #in seconds def giveRandom(givenRange=(0,5000)): return random.randint(givenR...
35.204724
183
0.729143
672
4,471
4.641369
0.263393
0.046169
0.026932
0.01539
0.302661
0.302661
0.244309
0.222507
0.165438
0.151331
0
0.025499
0.149184
4,471
127
184
35.204724
0.794427
0.18072
0
0.025641
0
0
0.063135
0
0
0
0
0
0
0
null
null
0
0.064103
null
null
0.051282
0
0
0
null
0
0
0
0
0
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
36cbec2c392b31f348f4e165cd2b10eb9d9d8131
4,532
py
Python
vendor/munkireport/fonts/scripts/fonts.py
menamegaly/MR
18d042639d9b45ca81a9b58659f45c6e2c3ac87f
[ "MIT" ]
null
null
null
vendor/munkireport/fonts/scripts/fonts.py
menamegaly/MR
18d042639d9b45ca81a9b58659f45c6e2c3ac87f
[ "MIT" ]
null
null
null
vendor/munkireport/fonts/scripts/fonts.py
menamegaly/MR
18d042639d9b45ca81a9b58659f45c6e2c3ac87f
[ "MIT" ]
null
null
null
#!/usr/bin/python """ Fonts information generator for munkireport. """ import subprocess import os import plistlib import sys def get_fonts(): '''Uses system profiler to get fonts for this machine.''' cmd = ['/usr/sbin/system_profiler', 'SPFontsDataType', '-xml'] proc = subprocess.Popen(cmd, shell=False,...
39.408696
142
0.488747
428
4,532
5.084112
0.303738
0.09375
0.080882
0.121324
0.066176
0
0
0
0
0
0
0.006907
0.392983
4,532
115
143
39.408696
0.784079
0.04744
0
0
0
0
0.137664
0.006059
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.011364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
36cd0a77d1de7471bef3b2c70b85ed2a15f69675
628
py
Python
foil/dotenv.py
portfoliome/foil
b66d8cf4ab048a387d8c7a033b47e922ed6917d6
[ "MIT" ]
30
2016-10-03T04:04:26.000Z
2021-03-16T17:40:11.000Z
foil/dotenv.py
portfoliome/foil
b66d8cf4ab048a387d8c7a033b47e922ed6917d6
[ "MIT" ]
11
2017-01-01T17:49:51.000Z
2017-12-14T18:13:20.000Z
foil/dotenv.py
portfoliome/foil
b66d8cf4ab048a387d8c7a033b47e922ed6917d6
[ "MIT" ]
null
null
null
import os from contextlib import closing def set_env_file(path: str): try: for env_key, env_value in read_dotenv(path): os.environ.setdefault(env_key, env_value) except FileNotFoundError: pass def read_dotenv(dotenv_path: str): with closing(open(dotenv_path, 'r')) as file: ...
25.12
67
0.595541
84
628
4.261905
0.464286
0.134078
0.100559
0.156425
0
0
0
0
0
0
0
0.002273
0.299363
628
24
68
26.166667
0.811364
0
0
0
0
0
0.009554
0
0
0
0
0
0
1
0.117647
false
0.058824
0.117647
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
36d217e653a71443d279c141b068ca017b11f7c1
1,298
py
Python
nim4/api/serializers.py
nim444/nim4.me
f989d7d4e472b7631a921aefa9d09a32e13d0a8b
[ "MIT" ]
null
null
null
nim4/api/serializers.py
nim444/nim4.me
f989d7d4e472b7631a921aefa9d09a32e13d0a8b
[ "MIT" ]
1
2022-01-20T22:04:03.000Z
2022-01-20T22:04:03.000Z
nim4/api/serializers.py
nim444/nim4.me
f989d7d4e472b7631a921aefa9d09a32e13d0a8b
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from rest_framework import routers, serializers, viewsets from app.models import Bookmarks, Playlists from library.models import Library # Serializers define the API representation. class BookmarksSerializer(serializers.HyperlinkedModelSerializer): class Meta: m...
29.5
66
0.753467
128
1,298
7.5625
0.335938
0.055785
0.061983
0.071281
0.507231
0.349174
0.183884
0.109504
0.109504
0.109504
0
0
0.163328
1,298
43
67
30.186047
0.891344
0.181818
0
0.2
0
0
0.040875
0
0
0
0
0
0
1
0
false
0
0.16
0
0.76
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
36d39f0b0d99f63756a99ac28ba143e1f732e48d
647
py
Python
we-web/domain/pictures.py
h-qub/wordeater-web
9a336d1e467d08c6b3875bd8b83dea0dc3b9236d
[ "MIT" ]
null
null
null
we-web/domain/pictures.py
h-qub/wordeater-web
9a336d1e467d08c6b3875bd8b83dea0dc3b9236d
[ "MIT" ]
3
2016-03-11T08:43:47.000Z
2016-11-01T13:07:48.000Z
we-web/domain/pictures.py
h-qub/wordeater-web
9a336d1e467d08c6b3875bd8b83dea0dc3b9236d
[ "MIT" ]
null
null
null
# coding=utf-8 from model import * @db.register class Picture(BaseDocument): """ Store all pictures """ __collection__ = "pictures" structure = { 'text': unicode, 'author': unicode, 'create_date': datetime.datetime } required_fields = ['text'] default_values...
16.589744
47
0.479134
49
647
6.163265
0.714286
0.066225
0.119205
0.172185
0
0
0
0
0
0
0
0.002451
0.369397
647
38
48
17.026316
0.737745
0.049459
0
0
0
0
0.195326
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.307692
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
36dc4b643132c26a5fae5de39caa1e6d26f7a289
1,902
py
Python
tests/test_the_stars_align.py
nullus/advent2018
b7b139d0128c74e3a744c14367ebb34775ffe747
[ "BSD-2-Clause" ]
null
null
null
tests/test_the_stars_align.py
nullus/advent2018
b7b139d0128c74e3a744c14367ebb34775ffe747
[ "BSD-2-Clause" ]
1
2021-06-10T04:56:55.000Z
2021-06-10T04:56:55.000Z
tests/test_the_stars_align.py
nullus/advent2018
b7b139d0128c74e3a744c14367ebb34775ffe747
[ "BSD-2-Clause" ]
null
null
null
# coding: utf-8 # # Copyright (c) 2018, Dylan Perry <dylan.perry@gmail.com>. All rights reserved. # Licensed under BSD 2-Clause License. See LICENSE file for full license. from pytest import mark from advent.input import text from advent.the_stars_align import parser, part1 test_data = """ position=< 9, 1> velocity...
25.702703
79
0.574658
293
1,902
3.672355
0.208191
0.125465
0.055762
0.100372
0.281599
0
0
0
0
0
0
0.10402
0.17613
1,902
73
80
26.054795
0.582642
0.085699
0
0.157895
0
0
0.704152
0
0
0
0
0
0.087719
1
0.070175
false
0
0.052632
0
0.122807
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
36dc8562c4b8f958cfbdad8b933669cc672a5b0d
1,264
py
Python
netflixBot.py
JoaoVitorChaves-05/Netflix-bot
a69166fb73b274c250aeb58bdfab46f06c877598
[ "MIT" ]
null
null
null
netflixBot.py
JoaoVitorChaves-05/Netflix-bot
a69166fb73b274c250aeb58bdfab46f06c877598
[ "MIT" ]
null
null
null
netflixBot.py
JoaoVitorChaves-05/Netflix-bot
a69166fb73b274c250aeb58bdfab46f06c877598
[ "MIT" ]
null
null
null
import time import requests import pandas as pd #from bs4 import BeautifulSoup from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.keys import Keys import json def Catch_User(line): mail = line.split(' ') return mail[len(mail) - 1] d...
28.727273
102
0.689873
169
1,264
5.076923
0.485207
0.041958
0.045455
0.066434
0.053613
0
0
0
0
0
0
0.016489
0.184335
1,264
44
103
28.727273
0.813773
0.022943
0
0
0
0.057143
0.182886
0.046141
0
0
0
0
0
1
0.057143
false
0.171429
0.2
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
36dc8f55e91c446395e2e9727d4db3c840f050c9
986
py
Python
tests/unit_tests/uncached_workflow/long_workflow.py
kyocum/disdat-step-functions
dcec650ce9c99bdbf40310b23a8d88700b69b4fd
[ "Apache-2.0" ]
1
2021-09-13T18:53:18.000Z
2021-09-13T18:53:18.000Z
tests/unit_tests/uncached_workflow/long_workflow.py
kyocum/disdat-step-functions
dcec650ce9c99bdbf40310b23a8d88700b69b4fd
[ "Apache-2.0" ]
null
null
null
tests/unit_tests/uncached_workflow/long_workflow.py
kyocum/disdat-step-functions
dcec650ce9c99bdbf40310b23a8d88700b69b4fd
[ "Apache-2.0" ]
null
null
null
from stepfunctions.steps import states from disdat_step_function.caching_wrapper import Caching class LongWorkflow: @classmethod def get_workflow(cls): start = states.Pass(state_id='start') long_path = [] for i in range(50): task = states.Task(state_id='task_' + str(i)) ...
30.8125
57
0.568966
114
986
4.710526
0.385965
0.089385
0.063315
0.074488
0.536313
0.536313
0.536313
0.536313
0.536313
0.536313
0
0.008955
0.320487
986
31
58
31.806452
0.792537
0
0
0.615385
0
0
0.028398
0
0
0
0
0
0
1
0.076923
false
0.076923
0.076923
0
0.269231
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
36dd37ad8ff2c0e07cba3b415de6800c8c61b667
925
py
Python
var/spack/repos/builtin/packages/imp/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/imp/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
8
2021-11-09T20:28:40.000Z
2022-03-15T03:26:33.000Z
var/spack/repos/builtin/packages/imp/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2019-02-08T20:37:20.000Z
2019-03-31T15:19:26.000Z
# Copyright 2013-2022 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.package import * from spack.pkg.builtin.boost import Boost class Imp(CMakePackage): """IMP, the Integrati...
33.035714
95
0.726486
122
925
5.434426
0.655738
0.095023
0.063348
0
0
0
0
0
0
0
0
0.0894
0.153514
925
27
96
34.259259
0.757344
0.431351
0
0
0
0.083333
0.361868
0.124514
0
0
0
0.037037
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
36e24cb1fc35cf06c969d79eb92adab995f6a2fe
18,500
py
Python
legoBTLE/device/Hub.py
DietrichChristopeit/project-cimino
62eaf5e2661200094742c1ab65524128488d84bf
[ "MIT" ]
2
2021-06-05T18:06:43.000Z
2021-08-13T12:16:48.000Z
legoBTLE/device/Hub.py
DietrichChristopeit/project-cimino
62eaf5e2661200094742c1ab65524128488d84bf
[ "MIT" ]
4
2021-01-12T10:29:39.000Z
2021-03-10T11:20:56.000Z
legoBTLE/device/Hub.py
DietrichChristopeit/project-cimino
62eaf5e2661200094742c1ab65524128488d84bf
[ "MIT" ]
null
null
null
# coding=utf-8 """ legoBTLE.device.Hub ------------------- This module contains the :class:`Hub` that models the LEGO\ |copy| central hub brick. """ import asyncio import uuid from asyncio import Condition from asyncio import Event from asyncio.streams import StreamReader from asyncio.streams import Stre...
40.04329
131
0.644973
2,158
18,500
5.204819
0.135774
0.029202
0.035256
0.028935
0.471421
0.381232
0.312055
0.211717
0.159722
0.13417
0
0.000825
0.278919
18,500
461
132
40.130152
0.841079
0.004324
0
0.342679
0
0.009346
0.049335
0.02813
0
0
0
0
0.006231
0
null
null
0.006231
0.105919
null
null
0.028037
0
0
0
null
0
0
0
0
0
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
36e37bf3d36d724d50211db72fdeda0eb25b91e1
392
py
Python
bgallery/urls.py
klvnbett/Grata_Gallery
45e9ed8197ed014f3fa0cddf0389a7045970df25
[ "MIT" ]
null
null
null
bgallery/urls.py
klvnbett/Grata_Gallery
45e9ed8197ed014f3fa0cddf0389a7045970df25
[ "MIT" ]
null
null
null
bgallery/urls.py
klvnbett/Grata_Gallery
45e9ed8197ed014f3fa0cddf0389a7045970df25
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls import url from django.conf.urls.static import static from . import views urlpatterns=[ url(r'^$',views.images,name='images'), url(r'^search$',views.search,name='search'), url(r'^image/(\d+)',views.image,name='image'), ] if settings.DEBUG: urlpa...
26.133333
81
0.719388
56
392
4.982143
0.375
0.107527
0.150538
0.129032
0
0
0
0
0
0
0
0
0.119898
392
15
81
26.133333
0.808696
0
0
0
0
0
0.099237
0
0
0
0
0
0
1
0
false
0
0.363636
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
36e7e1b554647a1f416530b0a644f964a4f24ee4
215
py
Python
ale_fixer.py
Neo-sage/nicescripts
a4b46a8c8d812e971b678309c9e7088475c55e61
[ "Apache-2.0" ]
null
null
null
ale_fixer.py
Neo-sage/nicescripts
a4b46a8c8d812e971b678309c9e7088475c55e61
[ "Apache-2.0" ]
null
null
null
ale_fixer.py
Neo-sage/nicescripts
a4b46a8c8d812e971b678309c9e7088475c55e61
[ "Apache-2.0" ]
null
null
null
from ete3 import Tree import sys counter = 0 f = open(sys.argv[1]) for line in f: counter += 1 t = Tree(line, format=1) out = str(sys.argv[1]) + '_file_' + str(counter) t.write(format=9,outfile=out)
21.5
52
0.627907
38
215
3.5
0.578947
0.105263
0.120301
0
0
0
0
0
0
0
0
0.041667
0.218605
215
9
53
23.888889
0.75
0
0
0
0
0
0.027907
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
36ebd6e1114a370f9ec73413cb14a0d5f34579a6
10,189
py
Python
testsuite/lydia_tests.py
abfeldman/lydia
03b220cd7fb743f341086ae2d950d97d17f7073f
[ "MIT" ]
null
null
null
testsuite/lydia_tests.py
abfeldman/lydia
03b220cd7fb743f341086ae2d950d97d17f7073f
[ "MIT" ]
null
null
null
testsuite/lydia_tests.py
abfeldman/lydia
03b220cd7fb743f341086ae2d950d97d17f7073f
[ "MIT" ]
null
null
null
# lydia_tests.py """ A framework for running Lydia test suite scripts. Usage is explained in the README file, but probably best shown by example. Look in any Lydia tool test directory (e.g. lsim/tests, smoothy/tests, wwf2cnf/tests, etc. etc.), and find in the file <toolname>_tests.py the actual testin...
29.02849
102
0.5979
1,218
10,189
4.881773
0.244663
0.016818
0.00925
0.014127
0.193239
0.123108
0.100235
0.090817
0.090817
0.075681
0
0.007127
0.311414
10,189
350
103
29.111429
0.840365
0.020022
0
0.317992
0
0
0.146502
0
0
0
0
0
0
0
null
null
0.008368
0.020921
null
null
0.158996
0
0
0
null
0
0
0
0
0
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
7fc517db120d3749acb394ff492f435309188e60
4,162
py
Python
SearchAPI/CMR/Output/jsonlite.py
asfadmin/Discovery-SearchAPI
d5e0b3d3a6a74c7f243ddc74a2316cd7b7380edd
[ "BSD-3-Clause" ]
null
null
null
SearchAPI/CMR/Output/jsonlite.py
asfadmin/Discovery-SearchAPI
d5e0b3d3a6a74c7f243ddc74a2316cd7b7380edd
[ "BSD-3-Clause" ]
null
null
null
SearchAPI/CMR/Output/jsonlite.py
asfadmin/Discovery-SearchAPI
d5e0b3d3a6a74c7f243ddc74a2316cd7b7380edd
[ "BSD-3-Clause" ]
null
null
null
import logging import json from geomet import wkt def req_fields_jsonlite(): fields = [ 'absoluteOrbit', 'beamMode', 'browse', 'canInsar', 'downloadUrl', 'faradayRotation', 'fileName', 'flightDirection', 'flightLine', 'frameNumber', ...
28.703448
113
0.524267
364
4,162
5.936813
0.32967
0.048589
0.061546
0.061083
0.086997
0.025914
0
0
0
0
0
0.006175
0.338539
4,162
144
114
28.902778
0.778787
0.012734
0
0.192
0
0
0.295493
0.020463
0
0
0
0
0
1
0.032
false
0.056
0.032
0
0.112
0.024
0
0
0
null
0
0
0
0
0
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
7fcaf409ceca21dcc3535c1f3db7950a12ac9a69
656
py
Python
interface/test_userResetPwd.py
chenshl/py_request_test
1264f480d55473e1d12c13e164e3c19e5cdeb335
[ "MIT" ]
null
null
null
interface/test_userResetPwd.py
chenshl/py_request_test
1264f480d55473e1d12c13e164e3c19e5cdeb335
[ "MIT" ]
null
null
null
interface/test_userResetPwd.py
chenshl/py_request_test
1264f480d55473e1d12c13e164e3c19e5cdeb335
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author : mjc # @Time : 2017/3/17 11:02 import unittest from common.request2jvv import request2jvv class userResetPwd(unittest.TestCase): '''重置用户登录、交易密码''' def setUp(self): self.service = 'userResetPwd' def tearDown(self): pass def tes...
26.24
55
0.556402
66
656
5.378788
0.727273
0.061972
0
0
0
0
0
0
0
0
0
0.079741
0.292683
656
25
56
26.24
0.685345
0.160061
0
0
0
0
0.128253
0.039033
0
0
0
0
0
1
0.1875
false
0.0625
0.125
0
0.375
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7fcce9c77567b2e3a34fd5028892ee0bb0fabae2
11,484
py
Python
res/ui.py
LSH9832/Yolov5TrainGuide
969194ac2f1f8737da7c2d6200ce6bf194bca19b
[ "MIT" ]
4
2021-12-24T02:54:45.000Z
2022-03-24T04:39:14.000Z
res/ui.py
LSH9832/Yolov5TrainGuide
969194ac2f1f8737da7c2d6200ce6bf194bca19b
[ "MIT" ]
1
2022-01-18T07:03:40.000Z
2022-01-26T03:34:22.000Z
res/ui.py
LSH9832/Yolov5TrainGuide
969194ac2f1f8737da7c2d6200ce6bf194bca19b
[ "MIT" ]
2
2021-11-04T06:45:09.000Z
2021-12-24T02:54:35.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Yolov5TrainGuide.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtC...
56.571429
94
0.714734
1,238
11,484
6.498384
0.162359
0.042511
0.079553
0.032815
0.319453
0.166936
0.026103
0.010441
0.010441
0.010441
0
0.041356
0.170411
11,484
202
95
56.851485
0.803086
0.024469
0
0.021277
1
0
0.108888
0
0
0
0
0
0
1
0.010638
false
0
0.005319
0
0.021277
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
7fcd612accfe1df8dc9fba5173eb287d1e2907d8
2,722
py
Python
netbox_onboarding/views.py
hoanhan101/ntc-netbox-plugin-onboarding
09764a0ac68e948accbd9346ea0f1ae0af569e3d
[ "Apache-2.0" ]
null
null
null
netbox_onboarding/views.py
hoanhan101/ntc-netbox-plugin-onboarding
09764a0ac68e948accbd9346ea0f1ae0af569e3d
[ "Apache-2.0" ]
null
null
null
netbox_onboarding/views.py
hoanhan101/ntc-netbox-plugin-onboarding
09764a0ac68e948accbd9346ea0f1ae0af569e3d
[ "Apache-2.0" ]
null
null
null
"""Django views for device onboarding. (c) 2020 Network To Code 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 agre...
41.876923
95
0.807862
294
2,722
7.346939
0.493197
0.066667
0.060185
0.062963
0.265741
0.135648
0.135648
0.083796
0.083796
0.057407
0
0.003367
0.127112
2,722
64
96
42.53125
0.905724
0.301984
0
0.212121
0
0
0.205553
0.199146
0
0
0
0.015625
0
1
0
false
0
0.242424
0
0.969697
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
7fcdbb637af4562832799b87e4acdd94d4b5a3bc
1,262
py
Python
tests/test/insert_data_test.py
P00L/aws-sam-lambda-layer-test
0322249af99f94fc864f15189de8c849e6ce3983
[ "MIT" ]
8
2021-07-27T22:22:31.000Z
2022-03-18T11:25:06.000Z
tests/test/insert_data_test.py
P00L/aws-sam-lambda-layer-test
0322249af99f94fc864f15189de8c849e6ce3983
[ "MIT" ]
null
null
null
tests/test/insert_data_test.py
P00L/aws-sam-lambda-layer-test
0322249af99f94fc864f15189de8c849e6ce3983
[ "MIT" ]
3
2021-10-04T07:16:33.000Z
2022-03-13T05:48:40.000Z
import sys import os # adding PYTHONPATH for absolute import running test from CLI base_path = f"/{os.path.join(*os.path.realpath(__file__).split('/')[:-2])}" sys.path.append(base_path) sys.path.append(os.path.join(base_path, 'layer')) import os import json import pytest import boto3 import insert_data.app as lambda_...
29.348837
94
0.723455
176
1,262
4.988636
0.5
0.059226
0.022779
0
0
0
0
0
0
0
0
0.038211
0.149762
1,262
42
95
30.047619
0.780056
0.065769
0
0.066667
0
0
0.211735
0.141156
0
0
0
0
0.066667
1
0.066667
false
0
0.266667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7fd1afb807a70d6a86b123a9567044859844aa8f
483
py
Python
MultiObjectiveModel_YMPNet_Pavan/data_prep/temp.py
eva5covergence/EVA5_AI_Projects
7052373c52b6b9901cd0bc05a4758dd4b63f7480
[ "MIT" ]
null
null
null
MultiObjectiveModel_YMPNet_Pavan/data_prep/temp.py
eva5covergence/EVA5_AI_Projects
7052373c52b6b9901cd0bc05a4758dd4b63f7480
[ "MIT" ]
null
null
null
MultiObjectiveModel_YMPNet_Pavan/data_prep/temp.py
eva5covergence/EVA5_AI_Projects
7052373c52b6b9901cd0bc05a4758dd4b63f7480
[ "MIT" ]
null
null
null
import cv2 import numpy as np depthPath = "Input_images/1_depth_scannet.png" #depthPath1 = "Input_images/9_midas_modified2.png" depthPath1 = "Input_images/1_midas.png" im= cv2.imread(depthPath) #print(im) # cv2.imshow("im",im) # cv2.waitKey(0) # cv2.destroyWindows(0) print(im.shape) depth = cv2.imread(depthPath, -1...
24.15
65
0.751553
75
483
4.733333
0.4
0.092958
0.067606
0.135211
0
0
0
0
0
0
0
0.086758
0.093168
483
20
66
24.15
0.723744
0.238095
0
0
0
0
0.153846
0.153846
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.416667
0
0
0
null
0
0
0
0
0
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
7fd76c4e2b0108d9ec50d53ae6dcfa3fea488b22
325
py
Python
ex018.py
LucasLCarreira/Python
03bd64837d74315687e567261a149f0176496348
[ "MIT" ]
1
2020-04-21T19:14:50.000Z
2020-04-21T19:14:50.000Z
ex018.py
LucasLCarreira/Python
03bd64837d74315687e567261a149f0176496348
[ "MIT" ]
null
null
null
ex018.py
LucasLCarreira/Python
03bd64837d74315687e567261a149f0176496348
[ "MIT" ]
null
null
null
# Exercício Python 018 # Leia um ângulo e mostre seno, cosseno e tangente import math a = int(input('Digite um ângulo: ')) cos = math.cos(math.radians(a)) sen = math.sin(math.radians(a)) tan = math.tan(math.radians(a)) print('Para o ângulo {} graus\nSeno é {:.2f}\nCosseno é {:.2f}\nTangente é {:.2f}'.format(a,sen,cos,t...
36.111111
105
0.689231
57
325
3.929825
0.561404
0.147321
0.160714
0
0
0
0
0
0
0
0
0.021201
0.129231
325
8
106
40.625
0.770318
0.212308
0
0
0
0.166667
0.363636
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
7fd85e996175c82eed106028a2ecf99b0fb6840e
2,661
py
Python
passwd.py
t0pl/fingy
009ae3f0d8c519e556dd150957814923efa0120a
[ "MIT" ]
null
null
null
passwd.py
t0pl/fingy
009ae3f0d8c519e556dd150957814923efa0120a
[ "MIT" ]
null
null
null
passwd.py
t0pl/fingy
009ae3f0d8c519e556dd150957814923efa0120a
[ "MIT" ]
null
null
null
# encoding: utf-8 import subprocess from socket import socket,AF_INET, SOCK_STREAM, setdefaulttimeout, SOCK_DGRAM from platform import system from getpass import getuser from sys import exit import re def GetLocalIp(): # Credits: Openclassroom? s = socket(AF_INET, SOCK_DGRAM) try: s.connec...
33.683544
198
0.633221
347
2,661
4.827089
0.345821
0.039403
0.062687
0.019104
0.166567
0.087164
0
0
0
0
0
0.019645
0.196543
2,661
79
199
33.683544
0.763798
0.050733
0
0.333333
0
0
0.14689
0.017185
0
0
0
0
0
1
0.08
false
0.16
0.08
0
0.333333
0.026667
0
0
0
null
0
0
0
0
0
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
7fdb4e37956a6cb78e8d748eb0d54b2005fc0b69
1,398
py
Python
tests/damping.py
tkoziara/parmec
fefe0586798cd65744334f9abeab183159bd3d7a
[ "MIT" ]
null
null
null
tests/damping.py
tkoziara/parmec
fefe0586798cd65744334f9abeab183159bd3d7a
[ "MIT" ]
15
2017-06-09T12:05:27.000Z
2018-10-25T13:59:58.000Z
tests/damping.py
parmes/parmec
fefe0586798cd65744334f9abeab183159bd3d7a
[ "MIT" ]
null
null
null
# PARMEC test --> global DAMPING using a projectile example print 'Projectile test...' v0 = (2.54, 0, 12.7) w0 = (0, 0, 0) gravity = 9.81456; stop = 1.976 step = stop / 1024.0 num = ANALYTICAL ([1, 1, 1, 0, 0, 0], 0.45359237, position=(0, 0, 0)) VELOCITY (num, v0, w0) def lindamp(t): return (1, 1, 1) def angdamp(t):...
25.888889
101
0.61731
240
1,398
3.595833
0.454167
0.023175
0.017381
0.038239
0.052144
0.052144
0
0
0
0
0
0.080915
0.186695
1,398
53
102
26.377358
0.6781
0.052933
0
0
0
0
0.200606
0
0
0
0
0
0
0
null
null
0.023256
0.046512
null
null
0.186047
0
0
0
null
0
0
0
0
0
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
7fdc3dbb0d6235c55c7357f0dea363c4659c7ea0
2,268
py
Python
pyinapp/appstore.py
keeprocking/pyinapp
6297f1ce804e2f2a671832fccc851bac70bc8661
[ "MIT" ]
34
2015-10-21T02:34:45.000Z
2021-04-20T07:46:04.000Z
pyinapp/appstore.py
keeprocking/pyinapp
6297f1ce804e2f2a671832fccc851bac70bc8661
[ "MIT" ]
14
2016-08-05T12:54:39.000Z
2022-02-05T11:02:15.000Z
pyinapp/appstore.py
keeprocking/pyinapp
6297f1ce804e2f2a671832fccc851bac70bc8661
[ "MIT" ]
14
2016-03-17T02:02:49.000Z
2020-03-16T07:52:31.000Z
from pyinapp.purchase import Purchase from pyinapp.errors import InAppValidationError from requests.exceptions import RequestException import requests api_result_ok = 0 api_result_errors = { 21000: 'Bad json', 21002: 'Bad data', 21003: 'Receipt authentication', 21004: 'Shared secret mismatch', 210...
34.363636
107
0.670635
258
2,268
5.70155
0.329457
0.043508
0.032631
0.053025
0.269884
0.188987
0.188987
0.188987
0.188987
0.125085
0
0.025997
0.236772
2,268
65
108
34.892308
0.823801
0
0
0.098039
0
0
0.179012
0
0
0
0
0
0
1
0.098039
false
0.058824
0.078431
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7fdcaecda9183ddaee3c38c5262fe19105827bdb
1,709
py
Python
covertrace/utils/tests/tests_kinase_estimation_dynamics.py
braysia/covertrace
cb3f91964bd7b524eb10bfce972136eb921ab689
[ "MIT" ]
1
2021-03-09T07:39:56.000Z
2021-03-09T07:39:56.000Z
covertrace/utils/tests/tests_kinase_estimation_dynamics.py
braysia/covertrace
cb3f91964bd7b524eb10bfce972136eb921ab689
[ "MIT" ]
null
null
null
covertrace/utils/tests/tests_kinase_estimation_dynamics.py
braysia/covertrace
cb3f91964bd7b524eb10bfce972136eb921ab689
[ "MIT" ]
5
2016-09-26T00:41:39.000Z
2018-04-03T23:31:05.000Z
from __future__ import division import unittest import numpy as np from mock import Mock from os.path import dirname, join, abspath, exists import sys # ROOTDIR = dirname(dirname(dirname(abspath(__file__)))) sys.path.append(dirname(dirname(__file__))) from ktr_shuttle_ode import ParamHolder from kinase_estimation_dynam...
38.840909
101
0.651258
287
1,709
3.61324
0.296167
0.021215
0.011572
0.066538
0.376085
0.314368
0.308582
0.308582
0.308582
0.308582
0
0.06278
0.217086
1,709
43
102
39.744186
0.712257
0.031597
0
0.162162
0
0
0.00484
0
0
0
0
0
0.108108
0
null
null
0.027027
0.216216
null
null
0.027027
0
0
0
null
0
0
0
0
0
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
7fe37d8fc11b7497c1250c20c3a8fa1393b63732
225
py
Python
lambda/stop.py
kazhala/terraform-aws-ec2-ubuntu
86b0dc9d2af85fd89260d61b546e9943b6166b14
[ "MIT" ]
null
null
null
lambda/stop.py
kazhala/terraform-aws-ec2-ubuntu
86b0dc9d2af85fd89260d61b546e9943b6166b14
[ "MIT" ]
null
null
null
lambda/stop.py
kazhala/terraform-aws-ec2-ubuntu
86b0dc9d2af85fd89260d61b546e9943b6166b14
[ "MIT" ]
null
null
null
import os import boto3 client = boto3.client("ec2") def lambda_handler(event, context): instance_id = os.getenv("INSTANCE") if not instance_id: return client.stop_instances(InstanceIds=[instance_id])
16.071429
52
0.706667
29
225
5.310345
0.655172
0.194805
0
0
0
0
0
0
0
0
0
0.016484
0.191111
225
13
53
17.307692
0.82967
0
0
0
0
0
0.048889
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7fea3f6207e5b6701fe66ad84989c19d03194238
1,067
py
Python
examples/learn/service/simple_service_flag.py
chokobole/felicia-examples
83303cf0f4bf688e9794ee574394d98619a16007
[ "BSD-3-Clause" ]
null
null
null
examples/learn/service/simple_service_flag.py
chokobole/felicia-examples
83303cf0f4bf688e9794ee574394d98619a16007
[ "BSD-3-Clause" ]
null
null
null
examples/learn/service/simple_service_flag.py
chokobole/felicia-examples
83303cf0f4bf688e9794ee574394d98619a16007
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2019 The Felicia 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 sys from examples.learn.service.service_create_flag import ServiceCreateFlag import felicia_py.command_line_interface as cli import felicia_py as ...
35.566667
97
0.683224
157
1,067
4.401274
0.515924
0.037627
0.043415
0.069465
0.095514
0.095514
0
0
0
0
0
0.004796
0.218369
1,067
29
98
36.793103
0.823741
0.148079
0
0
0
0
0.102762
0
0
0
0
0
0
1
0.157895
false
0
0.210526
0.052632
0.526316
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7fea912c76203310d5ca660b51f2f63a72ea7e98
3,438
py
Python
tests/browserTest.py
onecommons/vesper
818c09350b8fe53ea484aaff24deb1002a67f471
[ "Apache-2.0" ]
null
null
null
tests/browserTest.py
onecommons/vesper
818c09350b8fe53ea484aaff24deb1002a67f471
[ "Apache-2.0" ]
null
null
null
tests/browserTest.py
onecommons/vesper
818c09350b8fe53ea484aaff24deb1002a67f471
[ "Apache-2.0" ]
null
null
null
#:copyright: Copyright 2009-2010 by the Vesper team, see AUTHORS. #:license: Dual licenced under the GPL or Apache2 licences, see LICENSE. import webbrowser, unittest import multiprocessing, random, tempfile, os.path from vesper.utils import Uri from vesper.backports import json from vesper import app from vesper.web.r...
36.574468
120
0.622164
373
3,438
5.662198
0.479893
0.018939
0.03125
0.024148
0.101326
0.101326
0.101326
0.051136
0.051136
0.051136
0
0.0116
0.272833
3,438
93
121
36.967742
0.8332
0.162595
0
0.223684
0
0.013158
0.129145
0.016405
0
0
0
0
0.013158
0
null
null
0.039474
0.118421
null
null
0.039474
0
0
0
null
0
0
0
0
0
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
7fee3ad14f8e5e4173a8823e1f49c00f9d04e2c6
1,088
py
Python
TradingAgent.py
snigdhayan/ReinforcementLearning
60c836821f3feff2a24646d8c20238bae93d1361
[ "MIT" ]
1
2021-06-11T12:28:16.000Z
2021-06-11T12:28:16.000Z
TradingAgent.py
snigdhayan/ReinforcementLearning
60c836821f3feff2a24646d8c20238bae93d1361
[ "MIT" ]
null
null
null
TradingAgent.py
snigdhayan/ReinforcementLearning
60c836821f3feff2a24646d8c20238bae93d1361
[ "MIT" ]
null
null
null
################################ENVIRONMENT################################## import gym import gym_anytrading from gym_anytrading.envs import TradingEnv, ForexEnv, StocksEnv, Actions, Positions from gym_anytrading.datasets import FOREX_EURUSD_1H_ASK, STOCKS_GOOGL # env = gym.make('forex-v0', frame_bound=(50, 100),...
28.631579
84
0.612132
125
1,088
5.2
0.6
0.06
0.052308
0.043077
0.089231
0.089231
0.089231
0.089231
0
0
0
0.027721
0.104779
1,088
38
85
28.631579
0.63963
0.204044
0
0
0
0
0.035222
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7fef9bbefa74e28f09b63e515306b1ca5dfbba53
4,987
py
Python
Assigment-1/Previous sloutions testing/Solution.py
youssefattia98/Research-Track-Assignment-1
6e03bc0418967828fcfa722e1fe75c37c6bab48e
[ "MIT" ]
null
null
null
Assigment-1/Previous sloutions testing/Solution.py
youssefattia98/Research-Track-Assignment-1
6e03bc0418967828fcfa722e1fe75c37c6bab48e
[ "MIT" ]
null
null
null
Assigment-1/Previous sloutions testing/Solution.py
youssefattia98/Research-Track-Assignment-1
6e03bc0418967828fcfa722e1fe75c37c6bab48e
[ "MIT" ]
null
null
null
from __future__ import print_function import time from sr.robot import * """ When done, run with: $ python2 run.py ass6.py """ a_th = 2.0 """ float: Threshold for the control of the linear distance""" d_th = 0.4 """ float: Threshold for the control of the orientation""" beforehit = 1 """ float: Threshold for th...
24.688119
96
0.552035
712
4,987
3.792135
0.206461
0.017778
0.023704
0.016667
0.645926
0.60963
0.557037
0.514815
0.484444
0.4
0
0.045266
0.322238
4,987
202
97
24.688119
0.75355
0.041508
0
0.429752
0
0
0.091896
0
0
0
0
0
0
0
null
null
0
0.024793
null
null
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
0
1
0
0
0
0
0
0
0
0
1
7ff164b9c4aa93e153072e7ce7d377953e42435a
7,239
py
Python
views.py
fredgido/ShiftItemsManager
8064d8c6d4fe7eb3985e1d5f59d3b7aea3132e59
[ "MIT" ]
null
null
null
views.py
fredgido/ShiftItemsManager
8064d8c6d4fe7eb3985e1d5f59d3b7aea3132e59
[ "MIT" ]
null
null
null
views.py
fredgido/ShiftItemsManager
8064d8c6d4fe7eb3985e1d5f59d3b7aea3132e59
[ "MIT" ]
null
null
null
import hashlib from flask import render_template, jsonify, request, session, url_for, redirect, g, flash, abort from flask_admin import Admin from flask_admin.contrib.sqla import ModelView from flask_admin.helpers import is_safe_url from flask_login import login_user, current_user, login_required, logout_user from fla...
31.473913
138
0.689736
948
7,239
5.049578
0.191983
0.093587
0.080217
0.029246
0.44976
0.414874
0.40234
0.379361
0.363902
0.363902
0
0.013882
0.184003
7,239
229
139
31.611354
0.796513
0.100566
0
0.299363
0
0
0.097813
0.020333
0
0
0
0
0
1
0.11465
false
0.063694
0.076433
0.025478
0.356688
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
7ff99fb1232a6cdd7ec7d0f562fcd03e72c826f9
1,252
py
Python
strie_gen.py
pterodragon/suffix_tree_presentation
f6d6c7b2b751a19ccf347f9c9063d1196c3981b6
[ "CC-BY-4.0" ]
3
2019-02-22T08:08:18.000Z
2019-03-31T07:50:08.000Z
strie_gen.py
pterodragon/suffix_tree_presentation
f6d6c7b2b751a19ccf347f9c9063d1196c3981b6
[ "CC-BY-4.0" ]
null
null
null
strie_gen.py
pterodragon/suffix_tree_presentation
f6d6c7b2b751a19ccf347f9c9063d1196c3981b6
[ "CC-BY-4.0" ]
null
null
null
string = input() pre_text = r''' \begin{frame}[fragile,plain] \frametitle{Suffix Trie} \begin{figure} \begin{tikzpicture}[remember picture,overlay,level distance=50pt,->,line width=1.5pt] \tikzstyle{every node}=[draw,circle,inner sep=1pt,minimum size=7.5pt,line width=0.5pt] \tikzsty...
34.777778
98
0.557508
158
1,252
4.367089
0.5
0.052174
0.043478
0.056522
0.178261
0.078261
0.078261
0.078261
0
0
0
0.035398
0.277955
1,252
35
99
35.771429
0.727876
0.007189
0
0.181818
0
0.121212
0.792742
0.262097
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
7ff9c625b10bf70ccb7d5243b07f36074b842aee
3,438
py
Python
darling_ansible/python_venv/lib/python3.7/site-packages/oci/core/models/detach_load_balancer_details.py
revnav/sandbox
f9c8422233d093b76821686b6c249417502cf61d
[ "Apache-2.0" ]
null
null
null
darling_ansible/python_venv/lib/python3.7/site-packages/oci/core/models/detach_load_balancer_details.py
revnav/sandbox
f9c8422233d093b76821686b6c249417502cf61d
[ "Apache-2.0" ]
null
null
null
darling_ansible/python_venv/lib/python3.7/site-packages/oci/core/models/detach_load_balancer_details.py
revnav/sandbox
f9c8422233d093b76821686b6c249417502cf61d
[ "Apache-2.0" ]
1
2020-06-25T03:12:58.000Z
2020-06-25T03:12:58.000Z
# coding: utf-8 # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
33.705882
245
0.681501
438
3,438
5.070776
0.278539
0.124268
0.113462
0.038271
0.530392
0.383611
0.358397
0.204412
0.204412
0.204412
0
0.007015
0.253636
3,438
101
246
34.039604
0.858535
0.527341
0
0.057143
0
0
0.073244
0
0
0
0
0
0
1
0.228571
false
0
0.057143
0.057143
0.485714
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
7ffdb5bc1ebeb038156c7ee1bf3f50287ea3f989
8,877
py
Python
qgisplugin/ImageAnalysis/image_analysis.py
dyeden/image-analysis
b5be33a61476dba15d272ef6eff5e7dc17f778b2
[ "MIT" ]
null
null
null
qgisplugin/ImageAnalysis/image_analysis.py
dyeden/image-analysis
b5be33a61476dba15d272ef6eff5e7dc17f778b2
[ "MIT" ]
null
null
null
qgisplugin/ImageAnalysis/image_analysis.py
dyeden/image-analysis
b5be33a61476dba15d272ef6eff5e7dc17f778b2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ /*************************************************************************** ImageAnalysis A QGIS plugin this plugin will analyse raster images ------------------- begin : 2017-08-02 git sha ...
35.508
97
0.598175
974
8,877
5.351129
0.314168
0.034919
0.041443
0.064467
0.224866
0.16251
0.140253
0.077513
0.062548
0.062548
0
0.008738
0.290977
8,877
249
98
35.650602
0.819352
0.080207
0
0.127273
0
0
0.046342
0.00665
0
0
0
0.004016
0
0
null
null
0.018182
0.054545
null
null
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7fff26ec622b95d5a6938e8c0e0aa63068b3e098
4,945
py
Python
achilles/tables/columns.py
movermeyer/django-achilles
de9c246f00a5da8757b9d094e03ba108d6258efe
[ "Apache-2.0" ]
null
null
null
achilles/tables/columns.py
movermeyer/django-achilles
de9c246f00a5da8757b9d094e03ba108d6258efe
[ "Apache-2.0" ]
null
null
null
achilles/tables/columns.py
movermeyer/django-achilles
de9c246f00a5da8757b9d094e03ba108d6258efe
[ "Apache-2.0" ]
1
2018-03-05T18:06:42.000Z
2018-03-05T18:06:42.000Z
from django.template import RequestContext from achilles import blocks, actions register = actions.Library('tables') def default_accessor(object, name): """ Extract the given field from a model: :param object: Object to read the field from :param name: Field name to access on the object """ ...
29.434524
79
0.633974
613
4,945
4.986949
0.205546
0.039254
0.024534
0.01701
0.315015
0.250572
0.228328
0.206739
0.180569
0.180569
0
0.000548
0.261678
4,945
167
80
29.610778
0.836757
0.279474
0
0.226667
0
0
0.030802
0.008234
0
0
0
0
0
1
0.213333
false
0
0.026667
0.066667
0.453333
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
3d0111b53640d4f1bdc9851bbbd30ba57ffc2549
1,254
py
Python
src/data_people/people/migrations/0001_initial.py
volodymyrp2608/people_list
6c18c5a812db8de8d08061f4b1d004ce7e94f7c0
[ "Apache-2.0" ]
null
null
null
src/data_people/people/migrations/0001_initial.py
volodymyrp2608/people_list
6c18c5a812db8de8d08061f4b1d004ce7e94f7c0
[ "Apache-2.0" ]
null
null
null
src/data_people/people/migrations/0001_initial.py
volodymyrp2608/people_list
6c18c5a812db8de8d08061f4b1d004ce7e94f7c0
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-31 20:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
38
162
0.602073
133
1,254
5.488722
0.473684
0.090411
0.069863
0.094521
0.060274
0
0
0
0
0
0
0.022926
0.269537
1,254
32
163
39.1875
0.774017
0.035885
0
0
1
0
0.125106
0
0
0
0
0
0
1
0
false
0
0.12
0
0.28
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
3d054769d2b0f1db9dd023ec523abc979c01a5c6
540
py
Python
fahari/ops/migrations/0013_alter_weeklyprogramupdate_attendees.py
savannahghi/mle
4d65f8a573935d39700a0d6f8a8eb79cb5640288
[ "MIT" ]
2
2021-09-14T07:14:27.000Z
2022-01-06T12:21:34.000Z
fahari/ops/migrations/0013_alter_weeklyprogramupdate_attendees.py
savannahghi/fahari
4d65f8a573935d39700a0d6f8a8eb79cb5640288
[ "MIT" ]
1
2022-02-27T18:03:17.000Z
2022-02-27T18:03:17.000Z
fahari/ops/migrations/0013_alter_weeklyprogramupdate_attendees.py
savannahghi/mle
4d65f8a573935d39700a0d6f8a8eb79cb5640288
[ "MIT" ]
2
2022-03-12T13:25:09.000Z
2022-03-21T08:44:33.000Z
# Generated by Django 3.2.6 on 2021-08-11 17:54 import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ops', '0012_auto_20210728_2115'), ] operations = [ migrations.AlterField( model_name='week...
27
154
0.668519
61
540
5.819672
0.770492
0.073239
0.11831
0.152113
0
0
0
0
0
0
0
0.07381
0.222222
540
19
155
28.421053
0.771429
0.083333
0
0
1
0
0.186613
0.046653
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
3d05f90e5cfc5b163e48d21e648a7b93e25106af
280
py
Python
stonesoup/tests/conftest.py
JPompeus/Stone-Soup
030c60aaf5ff92d7bb53f06e350c0bf58c9af037
[ "MIT" ]
1
2021-04-13T11:47:42.000Z
2021-04-13T11:47:42.000Z
stonesoup/tests/conftest.py
JPompeus/Stone-Soup
030c60aaf5ff92d7bb53f06e350c0bf58c9af037
[ "MIT" ]
4
2020-03-10T13:51:00.000Z
2020-03-23T12:38:24.000Z
stonesoup/tests/conftest.py
JPompeus/Stone-Soup
030c60aaf5ff92d7bb53f06e350c0bf58c9af037
[ "MIT" ]
1
2019-12-09T14:33:09.000Z
2019-12-09T14:33:09.000Z
# -*- coding: utf-8 -*- import pytest from ..base import Base, Property @pytest.fixture('session') def base(): class _TestBase(Base): property_a = Property(int) property_b = Property(str) property_c = Property(int, default=123) return _TestBase
20
47
0.646429
34
280
5.176471
0.617647
0.136364
0
0
0
0
0
0
0
0
0
0.018519
0.228571
280
13
48
21.538462
0.796296
0.075
0
0
0
0
0.027237
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.888889
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
3d08fb9827694784a3ce0667190148d42d02c4b4
1,364
py
Python
3_detect.py
NikkiA5/SVHN-deep-digit-detector-master
1eabe2fbde60d2555c4f3ed2c731fa90115127e8
[ "MIT" ]
null
null
null
3_detect.py
NikkiA5/SVHN-deep-digit-detector-master
1eabe2fbde60d2555c4f3ed2c731fa90115127e8
[ "MIT" ]
null
null
null
3_detect.py
NikkiA5/SVHN-deep-digit-detector-master
1eabe2fbde60d2555c4f3ed2c731fa90115127e8
[ "MIT" ]
null
null
null
#-*- coding: utf-8 -*- import cv2 import numpy as np import keras.models import digit_detector.region_proposal as rp import digit_detector.show as show import digit_detector.detect as detector import digit_detector.file_io as file_io import digit_detector.preprocess as preproc import digit_detector.classify as cls de...
29.652174
134
0.774194
190
1,364
5.2
0.405263
0.066802
0.115385
0.040486
0.076923
0
0
0
0
0
0
0.024765
0.141496
1,364
45
135
30.311111
0.818958
0.032991
0
0
0
0
0.056532
0.016807
0
0
0
0
0
1
0
false
0
0.36
0
0.36
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
3d0d6d1802364503524a731f23a0b4888ca603b1
2,061
py
Python
src/blurninja/kernel.py
manuelbua/blur-ninja
2d33f092deaf244d564f0c5566f0e48566fc7db1
[ "Apache-2.0" ]
24
2015-02-21T19:38:28.000Z
2022-02-23T17:10:44.000Z
src/blurninja/kernel.py
manuelbua/blur-ninja
2d33f092deaf244d564f0c5566f0e48566fc7db1
[ "Apache-2.0" ]
5
2017-01-06T19:30:55.000Z
2018-10-17T22:41:17.000Z
src/blurninja/kernel.py
manuelbua/blur-ninja
2d33f092deaf244d564f0c5566f0e48566fc7db1
[ "Apache-2.0" ]
2
2017-07-25T06:07:08.000Z
2018-08-24T09:30:23.000Z
""" """ # coding=utf-8 from __future__ import print_function from builtins import range # from blurninja.binom import binom def kernel_binom(taps, expand_by=0, reduce_by=0): """ :param taps: :type taps: int :param expand_by: :type expand_by: int :param reduce_by: :type reduce_by: int ...
27.118421
94
0.617661
289
2,061
4.290657
0.346021
0.03871
0.022581
0.060484
0.181452
0.101613
0
0
0
0
0
0.020169
0.254246
2,061
75
95
27.48
0.786597
0.285784
0
0
0
0
0.129297
0
0
0
0
0.026667
0
1
0.068966
false
0.034483
0.103448
0
0.241379
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3d10651e6f27cd05f27478b00496256a138a35d3
1,626
py
Python
source/userprofile/forms.py
mibege/mgebre-abo.fi
97a05e7e6b6769d46003a95955bafe3fe8984ecb
[ "BSD-3-Clause" ]
null
null
null
source/userprofile/forms.py
mibege/mgebre-abo.fi
97a05e7e6b6769d46003a95955bafe3fe8984ecb
[ "BSD-3-Clause" ]
13
2021-03-19T09:25:18.000Z
2022-02-10T12:15:24.000Z
source/userprofile/forms.py
mibege/mgebre-abo.fi
97a05e7e6b6769d46003a95955bafe3fe8984ecb
[ "BSD-3-Clause" ]
null
null
null
from django import forms from django.shortcuts import get_object_or_404 from accounts.models import Event from userprofile.models import userProfile from django.utils.translation import gettext_lazy as _ from bootstrap_datepicker_plus import DatePickerInput, TimePickerInput from userprofile.widget import BootstrapDat...
29.563636
89
0.661747
184
1,626
5.733696
0.407609
0.028436
0.036019
0.043602
0.208531
0.11564
0.11564
0.11564
0.11564
0.11564
0
0.00237
0.221402
1,626
55
90
29.563636
0.830964
0.0369
0
0.195122
0
0
0.069693
0
0
0
0
0
0
1
0.073171
false
0
0.170732
0
0.512195
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
3d1209dbb1734acf52c6a21fc1fe8f9fdfb71f4d
2,157
py
Python
src/models.py
ebreton/uptimerobot-proxy
4d2e19eac84f7f0ad6a47b23761c2f1b503a8cfe
[ "MIT" ]
null
null
null
src/models.py
ebreton/uptimerobot-proxy
4d2e19eac84f7f0ad6a47b23761c2f1b503a8cfe
[ "MIT" ]
1
2018-02-08T12:35:54.000Z
2018-02-08T12:35:54.000Z
src/models.py
ebreton/uptimerobot-proxy
4d2e19eac84f7f0ad6a47b23761c2f1b503a8cfe
[ "MIT" ]
1
2018-03-14T09:01:14.000Z
2018-03-14T09:01:14.000Z
from flask_sqlalchemy import SQLAlchemy from entities import Event db = SQLAlchemy() class DBEvent(db.Model, Event): id = db.Column(db.Integer, primary_key=True) monitor_name = db.Column(db.String(80)) alert_type = db.Column(db.Integer) alert_name = db.Column(db.String(10)) alert_details = db.C...
24.235955
108
0.599907
262
2,157
4.70229
0.255725
0.045455
0.056818
0.041396
0.147727
0.11526
0.11526
0.11526
0.11526
0.11526
0
0.004633
0.29949
2,157
88
109
24.511364
0.810721
0.013445
0
0.030303
0
0
0.015522
0
0
0
0
0.011364
0
1
0.181818
false
0
0.030303
0.075758
0.469697
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
3d1f23cb3e948305cc92efac79853517e3a7525a
2,716
py
Python
run_pipeline.py
grigorisg9gr/robust_detection_localisation
2952af6af027aabe1728952c8693698666b5e79d
[ "Apache-2.0" ]
11
2016-02-29T08:55:54.000Z
2019-09-16T07:22:39.000Z
run_pipeline.py
grigorisg9gr/robust_detection_localisation
2952af6af027aabe1728952c8693698666b5e79d
[ "Apache-2.0" ]
4
2016-02-29T09:04:36.000Z
2019-05-14T22:24:05.000Z
run_pipeline.py
grigorisg9gr/robust_detection_localisation
2952af6af027aabe1728952c8693698666b5e79d
[ "Apache-2.0" ]
3
2016-04-06T12:12:45.000Z
2020-10-02T08:40:07.000Z
from os.path import sep, isdir import sys from utils.pipeline_aux import check_initial_path from dlib_predictor import main_for_generic_detector from ffld2 import main_for_ps_detector from ps_pbaam import main_for_ps_aam from visualise_landmarks import main_call_visualisations from visualisations_to_videos import main_...
44.52459
90
0.645434
413
2,716
3.951574
0.343826
0.060662
0.027574
0.022059
0.08701
0.051471
0.026961
0
0
0
0
0.031165
0.184831
2,716
60
91
45.266667
0.705962
0.333579
0
0
0
0
0.088788
0
0
0
0
0.016667
0
1
0.030303
false
0
0.242424
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3d1fbeeda6067bd08239e1f5661a90955bab9328
2,147
py
Python
tests/conftest.py
mattbornski/Pocket-Casts
f9f14a5cd4690fe200d1780e856baf6d39532c4b
[ "MIT" ]
null
null
null
tests/conftest.py
mattbornski/Pocket-Casts
f9f14a5cd4690fe200d1780e856baf6d39532c4b
[ "MIT" ]
null
null
null
tests/conftest.py
mattbornski/Pocket-Casts
f9f14a5cd4690fe200d1780e856baf6d39532c4b
[ "MIT" ]
null
null
null
import collections.abc import inspect import os import pytest import sys import urllib.parse import vcr import vcr.filters test_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) test_data_dir = os.path.join(test_dir, 'cassettes') import pocketcasts vcr.default_vcr = vcr.VCR( casse...
32.530303
100
0.726129
277
2,147
5.404332
0.382671
0.058784
0.048096
0.048096
0.04008
0
0
0
0
0
0
0.003959
0.176525
2,147
65
101
33.030769
0.84276
0.081043
0
0
0
0
0.083291
0.021331
0
0
0
0
0
1
0.098039
false
0.078431
0.176471
0.019608
0.372549
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3d262930089396ed2428254784c9d71157f3b595
377
py
Python
common/views.py
farhad0085/django-money-management
d4622192d6b9df3f785abd5f4ef1bfcbf465d045
[ "MIT" ]
null
null
null
common/views.py
farhad0085/django-money-management
d4622192d6b9df3f785abd5f4ef1bfcbf465d045
[ "MIT" ]
null
null
null
common/views.py
farhad0085/django-money-management
d4622192d6b9df3f785abd5f4ef1bfcbf465d045
[ "MIT" ]
null
null
null
from rest_framework.views import APIView import logging info_logger = logging.getLogger('info_logger') error_logger = logging.getLogger('error_logger') class LoggerAPIView(APIView): def info(self, message): print(message) info_logger.info(message) def error(self, message): print(mes...
22.176471
50
0.718833
46
377
5.717391
0.413043
0.114068
0.1673
0.174905
0
0
0
0
0
0
0
0
0.185676
377
16
51
23.5625
0.856678
0
0
0.181818
0
0
0.061008
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.454545
0.181818
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
3d31f2f3ff9662df93edaed48e84f5aae58f1e3d
782
py
Python
tests_extra/po_lib_sub_not_imported/__init__.py
victor-torres/web-poet
f2dce80c7c7fc0f3652270843bf01c9b957c4709
[ "BSD-3-Clause" ]
null
null
null
tests_extra/po_lib_sub_not_imported/__init__.py
victor-torres/web-poet
f2dce80c7c7fc0f3652270843bf01c9b957c4709
[ "BSD-3-Clause" ]
null
null
null
tests_extra/po_lib_sub_not_imported/__init__.py
victor-torres/web-poet
f2dce80c7c7fc0f3652270843bf01c9b957c4709
[ "BSD-3-Clause" ]
null
null
null
""" This package quite is similar to tests/po_lib_sub in terms of code contents. What we're ultimately trying to test here is to see if the `default_registry` captures the rules annotated in this module if it was not imported. """ from typing import Dict, Any, Callable from url_matcher import Patterns from web_poet ...
26.965517
84
0.783887
101
782
5.881188
0.594059
0.055556
0.077441
0.070707
0.080808
0
0
0
0
0
0
0
0.152174
782
28
85
27.928571
0.895928
0.303069
0
0
0
0
0.104283
0.104283
0
0
0
0
0
1
0
false
0
0.571429
0
1.214286
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