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
07c03d357b591ee5966622ad9c3dd99d2d1d22fe
2,156
py
Python
tests/test_chi_ssa_24.py
MAYANK25402/city-scrapers
08f92ec5b68682a8120eee1a13c4a03fe0335b9e
[ "MIT" ]
255
2018-03-06T20:12:03.000Z
2022-03-05T03:06:45.000Z
tests/test_chi_ssa_24.py
MAYANK25402/city-scrapers
08f92ec5b68682a8120eee1a13c4a03fe0335b9e
[ "MIT" ]
514
2018-02-02T16:12:50.000Z
2022-03-21T20:07:35.000Z
tests/test_chi_ssa_24.py
MAYANK25402/city-scrapers
08f92ec5b68682a8120eee1a13c4a03fe0335b9e
[ "MIT" ]
342
2018-02-03T04:05:37.000Z
2022-03-18T16:34:58.000Z
from datetime import datetime from os.path import dirname, join import pytest # noqa from city_scrapers_core.constants import COMMISSION, PASSED from city_scrapers_core.utils import file_response from freezegun import freeze_time from city_scrapers.spiders.chi_ssa_24 import ChiSsa24Spider test_response = file_respo...
24.224719
113
0.679035
287
2,156
4.857143
0.348432
0.093257
0.137733
0.028694
0.120517
0.120517
0.120517
0.120517
0.068867
0.068867
0
0.051325
0.177644
2,156
88
114
24.5
0.734913
0.004174
0
0
0
0.051724
0.251866
0.027052
0
0
0
0
0.206897
1
0.206897
false
0.034483
0.12069
0
0.327586
0
0
0
0
null
0
0
0
0
0
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
07c5123451252c5bdeccb30c6e07e1cee333668e
1,491
py
Python
lib/galaxy/model/migrate/versions/0061_tasks.py
blankenberg/galaxy-data-resource
ca32a1aafd64948f489a4e5cf88096f32391b1d9
[ "CC-BY-3.0" ]
null
null
null
lib/galaxy/model/migrate/versions/0061_tasks.py
blankenberg/galaxy-data-resource
ca32a1aafd64948f489a4e5cf88096f32391b1d9
[ "CC-BY-3.0" ]
1
2015-02-21T18:48:19.000Z
2015-02-27T15:50:32.000Z
lib/galaxy/model/migrate/versions/0061_tasks.py
blankenberg/galaxy-data-resource
ca32a1aafd64948f489a4e5cf88096f32391b1d9
[ "CC-BY-3.0" ]
3
2015-02-22T13:34:16.000Z
2020-10-01T01:28:04.000Z
""" Migration script to create tables task management. """ from sqlalchemy import * from sqlalchemy.orm import * from migrate import * from migrate.changeset import * import datetime import logging log = logging.getLogger( __name__ ) metadata = MetaData() now = datetime.datetime.utcnow Task_table = Table( "task", m...
29.235294
107
0.661301
176
1,491
5.443182
0.431818
0.041754
0.065762
0.045929
0.196242
0.14405
0
0
0
0
0
0.016115
0.209256
1,491
50
108
29.82
0.796438
0
0
0.15
0
0
0.162596
0.01605
0
0
0
0
0
0
null
null
0
0.15
null
null
0.025
0
0
0
null
0
0
0
0
0
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
07ca60d180a3ac7475c15441317595ea2de0e2c8
3,118
py
Python
scanner.py
willhay/indy
9877d7449c2a10ce650571015180fe066b0e3204
[ "MIT" ]
1
2021-10-29T20:45:09.000Z
2021-10-29T20:45:09.000Z
scanner.py
willhay/indy
9877d7449c2a10ce650571015180fe066b0e3204
[ "MIT" ]
null
null
null
scanner.py
willhay/indy
9877d7449c2a10ce650571015180fe066b0e3204
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from typing import List from bip32 import BIP32 from connectrum.client import StratumClient from tqdm import tqdm import scripts from descriptors import ScriptIterator, Path from scripts import ScriptType class Utxo: """ Data needed to spend a currently unspent transaction output. ...
35.033708
118
0.600064
360
3,118
5.061111
0.386111
0.036224
0.018112
0.021954
0.155873
0.126235
0.080132
0.080132
0.080132
0.080132
0
0.013495
0.310776
3,118
88
119
35.431818
0.83155
0.133419
0
0
0
0
0.099961
0.025771
0
0
0
0.011364
0
1
0.04
false
0
0.14
0
0.24
0.02
0
0
0
null
0
0
0
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
07cbb9ec0e21d2d34a0ff8fd2bb210ac856eee22
11,749
py
Python
tripletloss.py
seriousran/tripletloss-keras-tensorflow
8554a39add87488fb70a6a4b83bc049e11fe9cc7
[ "MIT" ]
54
2018-07-09T15:45:09.000Z
2022-02-20T08:35:15.000Z
tripletloss.py
seriousran/tripletloss-keras-tensorflow
8554a39add87488fb70a6a4b83bc049e11fe9cc7
[ "MIT" ]
3
2019-03-17T10:20:02.000Z
2019-10-17T03:16:15.000Z
tripletloss.py
seriousran/tripletloss-keras-tensorflow
8554a39add87488fb70a6a4b83bc049e11fe9cc7
[ "MIT" ]
20
2018-08-30T05:55:53.000Z
2021-05-31T01:59:28.000Z
# Noel C. F. Codella # Example Triplet Loss Code for Keras / TensorFlow # Implementing Improved Triplet Loss from: # Zhang et al. "Tracking Persons-of-Interest via Adaptive Discriminative Features" ECCV 2016 # Got help from multiple web sources, including: # 1) https://stackoverflow.com/questions/47727679/triplet-mod...
34.760355
353
0.665589
1,734
11,749
4.313725
0.237601
0.005615
0.013369
0.014973
0.177005
0.15762
0.139572
0.095187
0.078342
0.063904
0
0.021291
0.220444
11,749
337
354
34.863501
0.795393
0.193038
0
0.041451
0
0.015544
0.123118
0
0
0
0
0
0
0
null
null
0
0.07772
null
null
0.067358
0
0
0
null
0
0
0
0
0
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
07d1e30cf8018614aa58df19bb5aa19294911141
547
py
Python
python_modules/automation/automation_tests/docker_tests/test_image_defs.py
jrouly/dagster
2b3104db2fc6439050f7825d4b9ebaf39ddf6c0c
[ "Apache-2.0" ]
null
null
null
python_modules/automation/automation_tests/docker_tests/test_image_defs.py
jrouly/dagster
2b3104db2fc6439050f7825d4b9ebaf39ddf6c0c
[ "Apache-2.0" ]
1
2021-06-21T18:30:02.000Z
2021-06-25T21:18:39.000Z
python_modules/automation/automation_tests/docker_tests/test_image_defs.py
jrouly/dagster
2b3104db2fc6439050f7825d4b9ebaf39ddf6c0c
[ "Apache-2.0" ]
null
null
null
import pytest from automation.docker.image_defs import get_image def test_get_image(tmpdir): assert get_image("k8s-example") with pytest.raises(Exception) as e: get_image("hello-world", images_path=tmpdir) assert "could not find image hello-world" in str(e.value) hello_world = tmpdir / "hell...
28.789474
61
0.711152
77
547
4.883117
0.415584
0.265957
0.159574
0.095745
0.212766
0.212766
0.212766
0.212766
0
0
0
0.002212
0.173675
547
18
62
30.388889
0.829646
0
0
0
0
0
0.206581
0
0
0
0
0
0.307692
1
0.076923
false
0
0.153846
0
0.230769
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
07d2d14de93f5ff40fcc278d9885073ad49d2dac
620
py
Python
apps/cars/api/car_list_create_api.py
agorsk1/car-rating-app
354c5933f4cbad69c9a57d1839f9086cd5cf9a1d
[ "MIT" ]
1
2022-03-03T11:15:25.000Z
2022-03-03T11:15:25.000Z
apps/cars/api/car_list_create_api.py
agorsk1/car-rating-app
354c5933f4cbad69c9a57d1839f9086cd5cf9a1d
[ "MIT" ]
null
null
null
apps/cars/api/car_list_create_api.py
agorsk1/car-rating-app
354c5933f4cbad69c9a57d1839f9086cd5cf9a1d
[ "MIT" ]
null
null
null
from rest_framework.generics import ListCreateAPIView from ..selectors import get_all_cars_with_avg_rating from .serializers import CarSerializer class CarListCreateApi(ListCreateAPIView): """ The api that is responsible for listing cars and avg rating of them and new car creation GET: id - ID c...
26.956522
92
0.733871
92
620
4.75
0.48913
0.08238
0.05492
0.064073
0.270023
0.270023
0.16476
0.16476
0.16476
0.16476
0
0.002079
0.224194
620
22
93
28.181818
0.906445
0.470968
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
07d3359765b1629a143ca3dddbdcc9e5b62e553c
5,355
py
Python
app/blog/migrations/0001_initial.py
yc19890920/DBlog
c0128ab8c767ff84b7858322b76440d6359a8373
[ "MIT" ]
2
2018-01-23T14:12:04.000Z
2019-09-24T13:00:31.000Z
app/blog/migrations/0001_initial.py
yc19890920/DBlog
c0128ab8c767ff84b7858322b76440d6359a8373
[ "MIT" ]
23
2020-02-12T02:35:49.000Z
2022-02-11T03:45:40.000Z
app/blog/migrations/0001_initial.py
yc19890920/dblog
c0128ab8c767ff84b7858322b76440d6359a8373
[ "MIT" ]
2
2020-04-08T15:39:46.000Z
2020-10-10T10:13:09.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-12-20 14:07 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
53.55
226
0.595892
578
5,355
5.356401
0.292388
0.117248
0.04845
0.067183
0.56137
0.539729
0.449289
0.449289
0.449289
0.449289
0
0.098539
0.245752
5,355
99
227
54.090909
0.667987
0.012698
0
0.527473
1
0.021978
0.222748
0.115064
0
0
0
0
0
1
0
false
0
0.032967
0
0.076923
0
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
07d3961a4c4641d5081eb148f8128911dfe8778b
2,233
py
Python
scripts/mongodb.py
projectasteria/FrontEndWebApp
73bc39e4e4d7128c80015c17e0ed4b78ab4d67db
[ "Apache-2.0" ]
null
null
null
scripts/mongodb.py
projectasteria/FrontEndWebApp
73bc39e4e4d7128c80015c17e0ed4b78ab4d67db
[ "Apache-2.0" ]
7
2019-08-02T00:21:54.000Z
2019-08-08T04:47:17.000Z
scripts/mongodb.py
projectasteria/FrontEndWebApp
73bc39e4e4d7128c80015c17e0ed4b78ab4d67db
[ "Apache-2.0" ]
null
null
null
import datetime import json import os import bcrypt from flask import session from pymongo import MongoClient if "credentials.json" not in os.listdir('.'): data = {"mongo_URI" : os.environ['mongo_URI']} else: data = json.load(open("credentials.json", "r")) client = MongoClient(data["mongo_URI"]) class User...
31.013889
169
0.685177
260
2,233
5.788462
0.284615
0.074419
0.091694
0.10299
0.334884
0.334884
0.334884
0.289037
0.289037
0.289037
0
0
0.172862
2,233
71
170
31.450704
0.814835
0
0
0.40678
0
0
0.111061
0
0
0
0
0
0
1
0.152542
false
0.20339
0.101695
0.016949
0.423729
0
0
0
0
null
0
0
0
0
0
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
07d3b507affcacc7ec9417dbb21f501cc44f875e
3,489
py
Python
installed/keyring/keyring/tests/test_core.py
jscherer26/Icarra
5bc8b298ae21dcde7e8e2253b9ed9db95fd0d164
[ "BSD-3-Clause" ]
1
2021-11-09T04:36:57.000Z
2021-11-09T04:36:57.000Z
installed/keyring/keyring/tests/test_core.py
jscherer26/Icarra
5bc8b298ae21dcde7e8e2253b9ed9db95fd0d164
[ "BSD-3-Clause" ]
null
null
null
installed/keyring/keyring/tests/test_core.py
jscherer26/Icarra
5bc8b298ae21dcde7e8e2253b9ed9db95fd0d164
[ "BSD-3-Clause" ]
2
2020-03-28T02:55:19.000Z
2021-11-09T04:37:08.000Z
""" test_core.py Created by Kang Zhang on 2009-08-09 """ import unittest import os import sys import tempfile import shutil import keyring.backend import keyring.core PASSWORD_TEXT = "This is password" PASSWORD_TEXT_2 = "This is password2" KEYRINGRC = "keyringrc.cfg" class TestKeyring(keyring.backend.KeyringBackend...
30.33913
79
0.626541
421
3,489
5.035629
0.273159
0.062264
0.045283
0.045283
0.31934
0.282075
0.252358
0.252358
0.231132
0.183019
0
0.006218
0.262539
3,489
114
80
30.605263
0.817723
0.176555
0
0.239437
0
0
0.099541
0.014119
0
0
0
0
0.042254
1
0.126761
false
0.225352
0.098592
0.056338
0.338028
0
0
0
0
null
0
0
0
0
0
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
07da586b327ab700c921dbbb68eee003a1fc6de7
7,549
py
Python
fwd_api/fwd_filter.py
forwardnetworks/fwd-api
9cb402f130ede50a735efa8acd691431bbe1d5bc
[ "Apache-2.0" ]
1
2020-11-02T18:01:21.000Z
2020-11-02T18:01:21.000Z
fwd_api/fwd_filter.py
forwardnetworks/fwd-api
9cb402f130ede50a735efa8acd691431bbe1d5bc
[ "Apache-2.0" ]
null
null
null
fwd_api/fwd_filter.py
forwardnetworks/fwd-api
9cb402f130ede50a735efa8acd691431bbe1d5bc
[ "Apache-2.0" ]
null
null
null
import abc class Filter(object): """Parent class for objects that restrict results returned by server """ __metaclass__ = abc.ABCMeta @abc.abstractmethod def as_dict(self): """Return json-izable dictionary of a filter """ class _PacketField(object): """Parent class for all p...
24.75082
98
0.575838
811
7,549
5.065351
0.200986
0.043817
0.045521
0.03481
0.265823
0.221519
0.191091
0.161149
0.153603
0.09372
0
0.003484
0.315538
7,549
304
99
24.832237
0.791562
0.247715
0
0.285714
0
0
0.082249
0
0
0
0
0
0
1
0.214286
false
0.014286
0.007143
0.05
0.471429
0
0
0
0
null
0
0
0
0
0
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
07df218ae7f3777e6fd6f8cb8ef4b13b99736e94
2,050
py
Python
xicsrt/tools/xicsrt_doc.py
PrincetonUniversity/xicsrt
15dfe5e3cd8ac6a326e8f0e502c8b739bd09d3fd
[ "MIT" ]
1
2021-07-21T17:07:31.000Z
2021-07-21T17:07:31.000Z
xicsrt/tools/xicsrt_doc.py
PrincetonUniversity/xicsrt
15dfe5e3cd8ac6a326e8f0e502c8b739bd09d3fd
[ "MIT" ]
null
null
null
xicsrt/tools/xicsrt_doc.py
PrincetonUniversity/xicsrt
15dfe5e3cd8ac6a326e8f0e502c8b739bd09d3fd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ .. Authors Novimir pablant <npablant@pppl.gov> A set of tools to help with automatic API documentation of XICSRT. Description ----------- XICSRT uses sphinx for documentation, and API docs are based on the idea of code self documentation though `python` doc strings. This module contain...
28.082192
79
0.65122
267
2,050
4.790262
0.434457
0.032838
0.016419
0.01251
0
0
0
0
0
0
0
0.001311
0.25561
2,050
72
80
28.472222
0.836828
0.595122
0
0
0
0
0.059974
0
0
0
0
0.013889
0
1
0.190476
false
0
0.047619
0.047619
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
07e06203986cfd05d4440d98ac431a877c025d35
3,233
py
Python
mycroft/util/time.py
assistent-cat/mycroft-core
6f8bae6ba136c9dd66ca47aaadd75e214d006190
[ "Apache-2.0" ]
2
2021-04-05T22:28:37.000Z
2021-06-16T00:24:41.000Z
mycroft/util/time.py
assistent-cat/mycroft-core
6f8bae6ba136c9dd66ca47aaadd75e214d006190
[ "Apache-2.0" ]
4
2021-06-08T22:01:56.000Z
2022-03-12T00:41:15.000Z
mycroft/util/time.py
assistent-cat/mycroft-core
6f8bae6ba136c9dd66ca47aaadd75e214d006190
[ "Apache-2.0" ]
2
2020-09-28T01:38:34.000Z
2020-12-03T03:14:32.000Z
# # Copyright 2018 Mycroft AI 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 writ...
28.359649
76
0.667491
431
3,233
4.986079
0.327146
0.02792
0.026059
0.025128
0.261982
0.208004
0.173569
0.140065
0.120056
0.120056
0
0.006528
0.241881
3,233
113
77
28.610619
0.870257
0.612744
0
0.352941
0
0
0.029685
0
0
0
0
0
0
1
0.176471
false
0
0.088235
0
0.558824
0
0
0
0
null
0
0
0
0
0
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
07e2dbd1fec1a42f7f8f2495f65f7fb794739e06
7,116
py
Python
newspaper/parsers.py
karls/newspaper
d6d16134d082f8d9e2b7b62c42265dbea73baa32
[ "Apache-2.0", "MIT" ]
1
2015-11-06T07:18:03.000Z
2015-11-06T07:18:03.000Z
newspaper/parsers.py
mishnit/newspaper
3573217c7468a23a2690aa9c3930e3f3990cb382
[ "Apache-2.0", "MIT" ]
null
null
null
newspaper/parsers.py
mishnit/newspaper
3573217c7468a23a2690aa9c3930e3f3990cb382
[ "Apache-2.0", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Newspaper uses a lot of python-goose's parsing code. View theirlicense: https://github.com/codelucas/newspaper/blob/master/GOOSE-LICENSE.txt Parser objects will only contain operations that manipulate or query an lxml or soup dom object generated from an article's html. """ import logging i...
27.369231
78
0.559865
829
7,116
4.769602
0.252111
0.116844
0.026302
0.007081
0.201568
0.161103
0.150481
0.130248
0.130248
0.102428
0
0.004207
0.331928
7,116
259
79
27.474903
0.827514
0.047218
0
0.333333
0
0
0.036849
0.003392
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.005051
0
0
0
null
0
0
0
0
0
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
07e5942a320600ee71062b00f9fe5f2cb42ad32d
991
py
Python
Website/site_base.py
matyro/Cor-RC
43bd5c3ad250258be70a73f1a3217c6ccbbdd458
[ "MIT" ]
null
null
null
Website/site_base.py
matyro/Cor-RC
43bd5c3ad250258be70a73f1a3217c6ccbbdd458
[ "MIT" ]
null
null
null
Website/site_base.py
matyro/Cor-RC
43bd5c3ad250258be70a73f1a3217c6ccbbdd458
[ "MIT" ]
null
null
null
import tornado.ioloop import tornado.web import tornado.template import tornado.httpserver import datetime import pytz from SQL.table_user import User class BaseHandler(tornado.web.RequestHandler): def get_current_user(self): # Sets current_user in every template name = self.get_secure_cookie('...
26.783784
104
0.612513
119
991
5.008403
0.487395
0.087248
0.040268
0.053691
0
0
0
0
0
0
0
0.008683
0.302725
991
36
105
27.527778
0.853835
0.035318
0
0.16
0
0
0.020063
0
0
0
0
0
0
1
0.08
false
0
0.28
0
0.6
0.04
0
0
0
null
0
0
0
0
0
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
07e5ff8b4ff53c1df5a13c7bbdebad9e6e63eae8
655
py
Python
votaciones/models.py
marthalilianamd/SIVORE
7f0d6c2c79aa909e6cecbf5f562ebe64f40a560d
[ "Apache-2.0" ]
1
2016-02-11T05:01:49.000Z
2016-02-11T05:01:49.000Z
votaciones/models.py
marthalilianamd/SIVORE
7f0d6c2c79aa909e6cecbf5f562ebe64f40a560d
[ "Apache-2.0" ]
89
2016-01-29T00:04:48.000Z
2016-07-05T15:52:30.000Z
votaciones/models.py
Jorgesolis1989/SIVORE
7f0d6c2c79aa909e6cecbf5f562ebe64f40a560d
[ "Apache-2.0" ]
2
2016-02-08T15:16:12.000Z
2016-05-14T02:33:06.000Z
from django.db import models from usuarios.models import Usuario from jornadas.models import Jornada_Corporacion class Votacion_Log(models.Model): jornada_corporacion = models.ForeignKey(Jornada_Corporacion) usuario = models.ForeignKey(Usuario) fecha_votacion = models.DateTimeField(auto_now_add=True, bla...
34.473684
133
0.745038
80
655
5.8625
0.5
0.153518
0
0
0
0
0
0
0
0
0
0
0.170992
655
19
134
34.473684
0.86372
0
0
0
0
0
0.083841
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0.071429
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
07e6baf0b57d8005460a26b180adeefe843038d7
800
py
Python
run_background_tasks.py
ranihorev/arxiv-sanity-preserver
72031041a53f2294cb60af929a5285bb34eeb97b
[ "MIT" ]
81
2018-12-07T20:09:53.000Z
2021-09-20T13:01:56.000Z
run_background_tasks.py
ranihorev/arxiv-sanity-preserver
72031041a53f2294cb60af929a5285bb34eeb97b
[ "MIT" ]
null
null
null
run_background_tasks.py
ranihorev/arxiv-sanity-preserver
72031041a53f2294cb60af929a5285bb34eeb97b
[ "MIT" ]
20
2018-12-07T20:09:41.000Z
2020-09-18T23:18:59.000Z
import logging import threading import schedule import time from fetch_papers import fetch_papers_main from twitter_daemon import main_twitter_fetcher from fetch_citations_and_references import update_all_papers from logger import logger_config def run_threaded(job_func): job_thread = threading.Thread(target=job...
28.571429
77
0.77875
110
800
5.281818
0.454545
0.075732
0.067126
0.055077
0
0
0
0
0
0
0
0.011577
0.13625
800
28
78
28.571429
0.829233
0
0
0
0
0
0.068664
0
0
0
0
0
0
1
0.047619
false
0
0.380952
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
07ec2a66bafafb7a5cea89ca72bb2978bf4c3e16
409
py
Python
annotation/migrations/0031_variantannotationversion_distance.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
5
2021-01-14T03:34:42.000Z
2022-03-07T15:34:18.000Z
annotation/migrations/0031_variantannotationversion_distance.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
551
2020-10-19T00:02:38.000Z
2022-03-30T02:18:22.000Z
annotation/migrations/0031_variantannotationversion_distance.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
null
null
null
# Generated by Django 3.2.1 on 2021-05-10 01:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('annotation', '0030_auto_20210429_1528'), ] operations = [ migrations.AddField( model_name='variantannotationversion', ...
21.526316
52
0.621027
41
409
6.097561
0.829268
0
0
0
0
0
0
0
0
0
0
0.11745
0.271394
409
18
53
22.722222
0.721477
0.110024
0
0
1
0
0.179558
0.129834
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07eccbbd188503ab8ea37776893fac9d6f903c6f
3,229
py
Python
minecraft_monitor/frontend.py
iwcharlton/minecraft-monitor
fd4c10213bfab8c45a1c2884ef2f2fffd77b2e5b
[ "MIT" ]
null
null
null
minecraft_monitor/frontend.py
iwcharlton/minecraft-monitor
fd4c10213bfab8c45a1c2884ef2f2fffd77b2e5b
[ "MIT" ]
null
null
null
minecraft_monitor/frontend.py
iwcharlton/minecraft-monitor
fd4c10213bfab8c45a1c2884ef2f2fffd77b2e5b
[ "MIT" ]
null
null
null
#!/usr/bin/env python from flask import Blueprint, render_template, flash, redirect, url_for, request, abort from flask_bootstrap import __version__ as FLASK_BOOTSTRAP_VERSION from flask_login import ( LoginManager, current_user, login_required, login_user, logout_user, ) from flask_nav.elements imp...
29.623853
86
0.705172
424
3,229
5.214623
0.311321
0.052917
0.06332
0.022614
0.148349
0.122117
0.088648
0.060606
0.060606
0.060606
0
0
0.156705
3,229
109
87
29.623853
0.811972
0.102509
0
0.213333
0
0
0.183757
0
0
0
0
0
0
1
0.12
false
0.053333
0.106667
0.066667
0.373333
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
07ed4fed3e22f60324369466f33b6496ab67a10b
3,293
py
Python
dev/Gems/CloudGemFramework/v1/AWS/lambda-code/CloudGemPortalServiceLambda/service.py
stickyparticles/lumberyard
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
2
2019-11-29T09:04:54.000Z
2021-03-18T02:34:44.000Z
dev/Gems/CloudGemFramework/v1/AWS/lambda-code/CloudGemPortalServiceLambda/service.py
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Gems/CloudGemFramework/v1/AWS/lambda-code/CloudGemPortalServiceLambda/service.py
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
3
2019-05-13T09:41:33.000Z
2021-04-09T12:12:38.000Z
# # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or th...
34.302083
127
0.689037
436
3,293
5.137615
0.350917
0.026786
0.032143
0.032143
0.070536
0.029464
0.029464
0
0
0
0
0
0.232918
3,293
95
128
34.663158
0.886778
0.152748
0
0.057143
0
0
0.243982
0.018868
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.057143
0
0
0
null
0
0
0
0
0
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
07feedffbb97f0a9fca5a789a424d3f4a72d2500
14,938
py
Python
src/decisionengine/framework/dataspace/tests/test_dataspace.py
BrunoCoimbra/decisionengine
b203e2c493cf501562accf1013c6257c348711b7
[ "Apache-2.0" ]
9
2018-06-11T20:06:50.000Z
2020-10-01T17:02:02.000Z
src/decisionengine/framework/dataspace/tests/test_dataspace.py
HEPCloud/decisionengine
6b6611e5305b7fffc42f6be48928fdd9d2af1b2e
[ "Apache-2.0" ]
551
2018-06-25T21:06:37.000Z
2022-03-31T13:47:32.000Z
src/decisionengine/framework/dataspace/tests/test_dataspace.py
goodenou/decisionengine
b203e2c493cf501562accf1013c6257c348711b7
[ "Apache-2.0" ]
70
2018-06-11T20:07:01.000Z
2022-02-10T16:18:24.000Z
# SPDX-FileCopyrightText: 2017 Fermi Research Alliance, LLC # SPDX-License-Identifier: Apache-2.0 import datetime import pytest from sqlalchemy.exc import NoResultFound from decisionengine.framework.dataspace import dataspace as ds from decisionengine.framework.dataspace.datablock import Header, Metadata from decis...
32.055794
101
0.662271
1,744
14,938
5.450688
0.114106
0.062908
0.046392
0.066274
0.780454
0.717862
0.651273
0.582474
0.49737
0.455291
0
0.082501
0.222654
14,938
465
102
32.124731
0.736135
0.08301
0
0.487324
0
0
0.162515
0.053066
0
0
0
0
0.174648
1
0.061972
false
0
0.016901
0
0.078873
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07ff54cf8577f794cc1f310efb1f0b8ed4064617
3,039
py
Python
pybb/migrations/0005_auto_20151108_1528.py
shubhanshu02/pybbm
cc0a18ba7f40140810f006149234e68d0ff532b8
[ "BSD-2-Clause" ]
null
null
null
pybb/migrations/0005_auto_20151108_1528.py
shubhanshu02/pybbm
cc0a18ba7f40140810f006149234e68d0ff532b8
[ "BSD-2-Clause" ]
1
2021-09-02T19:15:28.000Z
2021-09-03T11:08:46.000Z
pybb/migrations/0005_auto_20151108_1528.py
shubhanshu02/pybbm
cc0a18ba7f40140810f006149234e68d0ff532b8
[ "BSD-2-Clause" ]
1
2022-02-19T14:08:39.000Z
2022-02-19T14:08:39.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9b1 on 2015-11-08 23:28 from django.conf import settings from django.db import migrations, models from django.utils.translation.trans_real import get_supported_language_variant import pybb.util from pybb.compat import get_image_field_class class Migration(migrations....
31.010204
80
0.358671
287
3,039
3.700348
0.337979
0.07533
0.094162
0.109228
0.112994
0.112994
0
0
0
0
0
0.124051
0.480092
3,039
97
81
31.329897
0.548101
0.022047
0
0.204545
1
0
0.097002
0
0
0
0
0
0
1
0
false
0
0.056818
0
0.090909
0
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
07ffccff461e384299771db53efeb4528345c510
9,674
py
Python
library/oci_data_guard_association_facts.py
slmjy/oci-ansible-modules
4713699064f4244b4554b5b2f97b5e5443fa2d6e
[ "Apache-2.0" ]
106
2018-06-29T16:38:56.000Z
2022-02-16T16:38:56.000Z
library/oci_data_guard_association_facts.py
slmjy/oci-ansible-modules
4713699064f4244b4554b5b2f97b5e5443fa2d6e
[ "Apache-2.0" ]
122
2018-09-11T12:49:39.000Z
2021-05-01T04:54:22.000Z
library/oci_data_guard_association_facts.py
slmjy/oci-ansible-modules
4713699064f4244b4554b5b2f97b5e5443fa2d6e
[ "Apache-2.0" ]
78
2018-07-04T05:48:54.000Z
2022-03-09T06:33:12.000Z
#!/usr/bin/python # Copyright (c) 2018, Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for detail...
39.165992
106
0.611846
1,035
9,674
5.505314
0.234783
0.072657
0.12987
0.054756
0.544753
0.485258
0.435591
0.406809
0.369779
0.332573
0
0.020414
0.316415
9,674
246
107
39.325203
0.841222
0.032148
0
0.367442
0
0
0.743508
0.190659
0
0
0
0
0
1
0.018605
false
0
0.032558
0.004651
0.060465
0.004651
0
0
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
58028cda7eafafe8dec2d8e274232f7305dd0739
3,416
py
Python
Rabi_Model/Pure_State/Calculate S,L,C another newer version.py
Mahdi-Asadi/python_thesis
6cb1dbe24fcf9133e971e64c91e1dde234250da9
[ "MIT" ]
null
null
null
Rabi_Model/Pure_State/Calculate S,L,C another newer version.py
Mahdi-Asadi/python_thesis
6cb1dbe24fcf9133e971e64c91e1dde234250da9
[ "MIT" ]
null
null
null
Rabi_Model/Pure_State/Calculate S,L,C another newer version.py
Mahdi-Asadi/python_thesis
6cb1dbe24fcf9133e971e64c91e1dde234250da9
[ "MIT" ]
null
null
null
from os import write from scipy import linalg import numpy as np import re import matplotlib.pyplot as plt f_in = "E:\\1\\JC_Model_Heisenberg_Mixed.txt" #! address file for input f1 = open(f_in,"r+") #! open data file f_out_S = "E:\\1\\S_L_C.txt" #! Von-Neuman entropy address file for output f2 = open(f_out_S,"w+") #...
33.165049
97
0.435597
492
3,416
2.861789
0.243902
0.017045
0.045455
0.0625
0.134943
0.134943
0.134943
0.134943
0.134943
0.085227
0
0.044782
0.22863
3,416
102
98
33.490196
0.489564
0.648126
0
0
0
0
0.060498
0.032028
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.022222
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
58037d477c71440baca09263837a8bd52e94991e
4,885
py
Python
tests/utilities.py
ericbarefoot/pyDeltaRCM
ab602a3153b203d0a0c1dd807713638622831411
[ "MIT" ]
8
2020-12-31T11:28:37.000Z
2022-02-11T04:26:45.000Z
tests/utilities.py
ericbarefoot/pyDeltaRCM
ab602a3153b203d0a0c1dd807713638622831411
[ "MIT" ]
170
2020-07-22T19:56:40.000Z
2022-03-21T16:04:38.000Z
tests/utilities.py
ericbarefoot/pyDeltaRCM
ab602a3153b203d0a0c1dd807713638622831411
[ "MIT" ]
7
2021-01-08T02:34:36.000Z
2021-08-30T18:56:22.000Z
import sys import os import glob import numpy as np import pytest from pyDeltaRCM.model import DeltaModel from pyDeltaRCM import shared_tools # utilities for file writing def create_temporary_file(tmp_path, file_name): d = tmp_path / 'configs' d.mkdir(parents=True, exist_ok=True) p = d / file_name ...
34.401408
95
0.650972
726
4,885
4.050964
0.269972
0.071404
0.083305
0.224413
0.447127
0.3305
0.261136
0.16015
0.024481
0
0
0.015559
0.223746
4,885
141
96
34.64539
0.760021
0.121597
0
0.039216
0
0
0.10805
0
0
0
0
0
0.009804
1
0.088235
false
0
0.068627
0
0.215686
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
6af259ada798d2137a0dc2054b0887dcd40e8514
2,659
py
Python
otcclient/utils/utils_http.py
BuloZB/python-otcclient
d86a0cdf55b922e82974237b83d67b41cc89177b
[ "MIT" ]
null
null
null
otcclient/utils/utils_http.py
BuloZB/python-otcclient
d86a0cdf55b922e82974237b83d67b41cc89177b
[ "MIT" ]
null
null
null
otcclient/utils/utils_http.py
BuloZB/python-otcclient
d86a0cdf55b922e82974237b83d67b41cc89177b
[ "MIT" ]
1
2016-07-20T14:23:18.000Z
2016-07-20T14:23:18.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of OTC Tool released under MIT license. # Copyright (C) 2016 T-systems Kurt Garloff, Zsolt Nagy from otcclient.core.OtcConfig import OtcConfig import requests requests.packages.urllib3.disable_warnings() # @UndefinedVariable def delete( requestUrl):...
32.82716
98
0.578037
302
2,659
5.086093
0.278146
0.087891
0.105469
0.111328
0.623698
0.58724
0.563802
0.516927
0.516927
0.516927
0
0.005476
0.313276
2,659
81
99
32.82716
0.835706
0.065062
0
0.626866
0
0
0.079371
0
0
0
0
0
0
1
0.074627
false
0.059701
0.029851
0
0.179104
0.059701
0
0
0
null
0
0
0
0
0
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
6af4f8da2d4698b45c9bace11b3050ffc2930028
6,858
py
Python
sdk/python/pulumi_azure_native/web/v20200601/get_web_app_premier_add_on_slot.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/web/v20200601/get_web_app_premier_add_on_slot.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/web/v20200601/get_web_app_premier_add_on_slot.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
33.950495
184
0.620735
756
6,858
5.382275
0.157407
0.017203
0.03539
0.081101
0.209142
0.129516
0.087982
0.015729
0
0
0
0.001812
0.275882
6,858
201
185
34.119403
0.817559
0.111986
0
0.150376
1
0
0.142388
0.037843
0
0
0
0
0
1
0.105263
false
0
0.037594
0
0.255639
0
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
6af77cd15fba7d36866adab129a2a32b3165a73d
5,821
py
Python
SRC/common/IO/GUI/gtklogger/gtklogger/treeviewlogger.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
31
2015-04-01T15:59:36.000Z
2022-03-18T20:21:47.000Z
SRC/common/IO/GUI/gtklogger/gtklogger/treeviewlogger.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
3
2015-02-06T19:30:24.000Z
2017-05-25T14:14:31.000Z
SRC/common/IO/GUI/gtklogger/gtklogger/treeviewlogger.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
7
2015-01-23T15:19:22.000Z
2021-06-09T09:03:59.000Z
# -*- python -*- # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities associated # with its operation, modification and maintenance. However, to # facilitate maintenance we as...
46.943548
140
0.577049
705
5,821
4.731915
0.320567
0.035971
0.044964
0.056954
0.188249
0.148681
0.107314
0.107314
0.014988
0.014988
0
0.003231
0.30871
5,821
123
141
47.325203
0.825795
0.27418
0
0.206897
0
0.022989
0.132967
0.050847
0
0
0
0.00813
0
0
null
null
0
0.045977
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
6afbb9342461a1e9db2a5a30592f664ad72315fd
28,176
py
Python
festivaly/management/commands/build_festivaly.py
mykonosbiennale/mykonosbiennale.github.io
fba479807204768ac440c77c4850b64fb25d113d
[ "Apache-2.0" ]
1
2017-08-19T01:07:22.000Z
2017-08-19T01:07:22.000Z
festivaly/management/commands/build_festivaly.py
thanos/mykonosbiennale.org
ddb53fbe4198ce29c252c72f9dca49ed277c50dc
[ "Apache-2.0" ]
7
2015-04-02T04:48:43.000Z
2022-03-11T23:14:58.000Z
festivaly/management/commands/build_festivaly.py
mykonosbiennale/mykonosbiennale.github.io
fba479807204768ac440c77c4850b64fb25d113d
[ "Apache-2.0" ]
1
2015-04-15T20:56:03.000Z
2015-04-15T20:56:03.000Z
# -*- coding: utf-8 -*- # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 import time,traceback import collections import re import os import sys import csv import pprint import optparse from django.core.files.base import ContentFile from nameparser import HumanName from django.core.management.base import BaseComm...
50.585278
164
0.480338
2,513
28,176
5.223637
0.103064
0.035195
0.01554
0.023311
0.461644
0.433001
0.40611
0.385237
0.339377
0.293136
0
0.006212
0.422984
28,176
557
165
50.585278
0.801206
0.490737
0
0.126482
0
0
0.040091
0.009012
0
0
0
0
0
0
null
null
0.007905
0.063241
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
ed000952db573643809093bcb369579eba1b0ba8
764
py
Python
offline_batch.py
tjbanks/nessus-dash
a6414568850dbbdb45ffb125a8ed63298fee6228
[ "BSD-2-Clause" ]
1
2021-12-03T17:49:07.000Z
2021-12-03T17:49:07.000Z
offline_batch.py
tjbanks/nessus-dash
a6414568850dbbdb45ffb125a8ed63298fee6228
[ "BSD-2-Clause" ]
null
null
null
offline_batch.py
tjbanks/nessus-dash
a6414568850dbbdb45ffb125a8ed63298fee6228
[ "BSD-2-Clause" ]
2
2020-09-16T21:03:21.000Z
2021-12-03T17:49:08.000Z
from app import settings from app.utils.nessus import Batch from sqlalchemy import create_engine server = settings.NESSUS_SERVER username = settings.NESSUS_USERNAME password = settings.NESSUS_PASSWORD folder_exclude = settings.NESSUS_FOLDER_EXCLUDE scan_exclude = settings.NESSUS_SCAN_EXCLUDE nessus_table = settings.OM...
36.380952
76
0.842932
98
764
6.204082
0.255102
0.138158
0.083882
0.113487
0.095395
0
0
0
0
0
0
0
0.094241
764
20
77
38.2
0.878613
0
0
0
0
0
0.013089
0
0
0
0
0
0
1
0
false
0.125
0.1875
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed00fd8e114feda38a105c6258aa4e50710615d6
358
py
Python
darkbox/commands/md5sum.py
AbnormalSec/darkbox
ad9326318ea6077daa36ed49550f53d122160d6f
[ "WTFPL" ]
3
2018-08-19T01:38:41.000Z
2021-11-14T18:00:04.000Z
darkbox/commands/md5sum.py
AbnormalSec/darkbox
ad9326318ea6077daa36ed49550f53d122160d6f
[ "WTFPL" ]
22
2018-08-16T16:55:35.000Z
2018-09-21T06:03:52.000Z
darkbox/commands/md5sum.py
AbnormalSec/darkbox
ad9326318ea6077daa36ed49550f53d122160d6f
[ "WTFPL" ]
1
2020-11-25T23:34:02.000Z
2020-11-25T23:34:02.000Z
"""darkbox md5sum command""" from .sha256sum import sha256sum class md5sum(sha256sum): """darkbox md5sum compute and check MD5 message digest Designed to be similar to md5sum from GNU coreutils. Resource: https://www.gnu.org/software/coreutils/md5sum """ def __init__(self): super()...
19.888889
59
0.667598
43
358
5.372093
0.674419
0.112554
0
0
0
0
0
0
0
0
0
0.057762
0.226257
358
17
60
21.058824
0.776173
0.51676
0
0
0
0
0.02069
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ed02bd9a9a47f974632943ed13814aa5043bd6fe
1,171
py
Python
invenio_records_resources/services/files/schema.py
jrcastro2/invenio-records-resources
a9760846080bfa1da4ed55c6f5b1f7bb96acd0b5
[ "MIT" ]
null
null
null
invenio_records_resources/services/files/schema.py
jrcastro2/invenio-records-resources
a9760846080bfa1da4ed55c6f5b1f7bb96acd0b5
[ "MIT" ]
null
null
null
invenio_records_resources/services/files/schema.py
jrcastro2/invenio-records-resources
a9760846080bfa1da4ed55c6f5b1f7bb96acd0b5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2020 CERN. # # Invenio-Records-Resources is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see LICENSE file for more # details. """File schema.""" from marshmallow import Schema from marshmallow.fields import UUID, Dict, Number, ...
29.275
76
0.703672
156
1,171
5.166667
0.461538
0.069479
0.104218
0.093052
0.104218
0.104218
0
0
0
0
0
0.005171
0.17421
1,171
39
77
30.025641
0.828335
0.222032
0
0
0
0
0.136108
0
0
0
0
0
0
1
0.052632
false
0
0.157895
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ed030c2b58c4301b23a7797c10935a3aa3ff7829
3,072
py
Python
tests/api/test_user_info.py
fareszr/app
1f3bc693eccb307234e53653f6fa2cb25ddc0647
[ "MIT" ]
null
null
null
tests/api/test_user_info.py
fareszr/app
1f3bc693eccb307234e53653f6fa2cb25ddc0647
[ "MIT" ]
null
null
null
tests/api/test_user_info.py
fareszr/app
1f3bc693eccb307234e53653f6fa2cb25ddc0647
[ "MIT" ]
null
null
null
from flask import url_for from app.db import Session from app.models import User, ApiKey from tests.utils import login def test_user_in_trial(flask_client): user = User.create( email="a@b.c", password="password", name="Test User", activated=True ) Session.commit() # create api_key api_ke...
24.774194
119
0.634766
403
3,072
4.645161
0.171216
0.099893
0.044872
0.063568
0.625534
0.559295
0.523504
0.455128
0.404915
0.404915
0
0.013531
0.230143
3,072
123
120
24.97561
0.778013
0.060872
0
0.426829
0
0
0.20487
0.033391
0
0
0
0
0.219512
1
0.073171
false
0.060976
0.04878
0
0.121951
0
0
0
0
null
0
0
0
0
0
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
ed035b5437c37a3f72403ec9b8c5c70c55b328fe
13,521
py
Python
dev/Gems/CloudGemMetric/v1/AWS/common-code/MetricUtils/payload.py
kostenickj/lumberyard
e881f3023cc1840650eb7b133e605881d1d4330d
[ "AML" ]
null
null
null
dev/Gems/CloudGemMetric/v1/AWS/common-code/MetricUtils/payload.py
kostenickj/lumberyard
e881f3023cc1840650eb7b133e605881d1d4330d
[ "AML" ]
null
null
null
dev/Gems/CloudGemMetric/v1/AWS/common-code/MetricUtils/payload.py
kostenickj/lumberyard
e881f3023cc1840650eb7b133e605881d1d4330d
[ "AML" ]
null
null
null
from io import BytesIO from abc import ABCMeta, abstractmethod from StringIO import StringIO from datetime import datetime, timedelta import sqs import pandas as pd import metric_constant as c import os import gzip import zlib import base64 import re import time import json import compression import errors import metri...
41.222561
232
0.63087
1,602
13,521
5.10362
0.150437
0.044031
0.032534
0.024462
0.641389
0.574609
0.539139
0.468444
0.429183
0.41683
0
0.006939
0.285926
13,521
327
233
41.348624
0.839876
0.082538
0
0.421053
0
0.004049
0.068512
0.002516
0
0
0
0.003058
0
0
null
null
0.02834
0.089069
null
null
0.02834
0
0
0
null
0
0
0
0
0
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
ed039cddbfea4033acdf956ccebafe08a1312c21
462
py
Python
setup.py
scnerd/pypragma
8f88fe51b52a9631abb92000bcb349b33ccc2e18
[ "MIT" ]
6
2020-04-15T02:40:53.000Z
2021-05-02T13:47:35.000Z
setup.py
scnerd/pypragma
8f88fe51b52a9631abb92000bcb349b33ccc2e18
[ "MIT" ]
20
2018-03-01T19:42:40.000Z
2021-05-03T17:07:49.000Z
setup.py
scnerd/pypragma
8f88fe51b52a9631abb92000bcb349b33ccc2e18
[ "MIT" ]
1
2020-10-11T07:22:38.000Z
2020-10-11T07:22:38.000Z
from setuptools import setup setup( name='pragma', version='0.2.5', packages=['pragma', 'pragma.core', 'pragma.core.resolve'], url='https://github.com/scnerd/pypragma', license='MIT', author='scnerd', author_email='scnerd@gmail.com', description='Python code transformers that mimic prag...
25.666667
81
0.647186
52
462
5.692308
0.788462
0.067568
0
0
0
0
0
0
0
0
0
0.008043
0.192641
462
17
82
27.176471
0.785523
0
0
0
0
0
0.415584
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
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
ed0427f86fafced5a212582c2262a2b6f0b2a2a7
5,633
py
Python
Detection/detection/src/not needed/fdetection.py
acr-iitkgp/swarm_search
3857edde0238c2f5d83a33c8969e6e3e3b9a3dcf
[ "MIT" ]
6
2020-01-07T15:45:14.000Z
2021-06-19T12:14:20.000Z
Detection/detection/src/shrey-hp-pavilion-notebook@192.168.0.21/src/not needed/fdetection.py
manthan99/swarm_search
3857edde0238c2f5d83a33c8969e6e3e3b9a3dcf
[ "MIT" ]
null
null
null
Detection/detection/src/shrey-hp-pavilion-notebook@192.168.0.21/src/not needed/fdetection.py
manthan99/swarm_search
3857edde0238c2f5d83a33c8969e6e3e3b9a3dcf
[ "MIT" ]
3
2020-04-21T06:29:26.000Z
2020-11-23T05:39:41.000Z
#!/usr/bin/env python import cv2 import numpy as np from imutils import contours from skimage import measure import numpy as np import argparse import imutils import rospy from std_msgs.msg import String from geometry_msgs.msg import Point from detection.msg import point_list from sensor_msgs.msg import Image from ...
24.491304
196
0.66856
850
5,633
4.357647
0.257647
0.013499
0.015119
0.012959
0.294816
0.282397
0.279158
0.237851
0.209773
0.209773
0
0.051956
0.169714
5,633
230
197
24.491304
0.740004
0.235221
0
0.113636
0
0
0.026824
0.004941
0
0
0
0
0
0
null
null
0
0.098485
null
null
0.022727
0
0
0
null
0
0
0
0
0
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
ed0d3f0f1eb6ba4e11e6cfa7958e3272e53a587b
7,943
py
Python
code/pipeline/cleaning_functions.py
wethepeopleonline/law-net
e8b01136360078c89b666e2b127672644ed0c54b
[ "MIT" ]
17
2016-09-02T19:39:11.000Z
2021-11-15T21:22:48.000Z
code/pipeline/cleaning_functions.py
wethepeopleonline/law-net
e8b01136360078c89b666e2b127672644ed0c54b
[ "MIT" ]
7
2016-09-04T17:19:13.000Z
2017-01-19T19:17:10.000Z
code/pipeline/cleaning_functions.py
idc9/law-net
e8b01136360078c89b666e2b127672644ed0c54b
[ "MIT" ]
8
2017-01-19T04:24:09.000Z
2021-09-13T20:22:58.000Z
import pandas as pd import numpy as np import networkx as nx import os # from load_data import get_network from download_data import json_to_dict, download_bulk_resource def get_network(case_metadata, edgelist): G = nx.DiGraph() G.add_nodes_from(case_metadata.index.tolist()) for index, edge in edgelist.i...
31.271654
87
0.563893
899
7,943
4.816463
0.328142
0.072055
0.051039
0.066051
0.249885
0.131871
0.104388
0.065589
0.049885
0.049885
0
0.001465
0.312728
7,943
253
88
31.395257
0.79172
0.076797
0
0.126506
0
0
0.178587
0.023743
0
0
0
0.003953
0
0
null
null
0
0.03012
null
null
0.012048
0
0
0
null
0
0
0
0
0
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
ed0fb042b705757b9109210a840ecb6e5f878448
999
py
Python
src/ghutil/cli/pr/label.py
jwodder/ghutil
f0b903a76177cd49f5d48ac9890609f4da9071d9
[ "MIT" ]
6
2017-05-29T19:29:44.000Z
2020-04-05T00:01:02.000Z
src/ghutil/cli/pr/label.py
jwodder/ghutil
f0b903a76177cd49f5d48ac9890609f4da9071d9
[ "MIT" ]
2
2017-06-29T09:39:32.000Z
2020-01-07T22:48:02.000Z
src/ghutil/cli/pr/label.py
jwodder/ghutil
f0b903a76177cd49f5d48ac9890609f4da9071d9
[ "MIT" ]
1
2017-06-11T16:43:47.000Z
2017-06-11T16:43:47.000Z
import click from ghutil.types import Issue @click.command() @click.option('-d', '--delete', is_flag=True, help='Remove the given labels') @click.option('--set', is_flag=True, help='Replace the current labels') @Issue.argument('issue') @click.argument('label', nargs=-1) @click.pass_context def cli(ctx, issue, label,...
32.225806
79
0.662663
144
999
4.576389
0.451389
0.059181
0.030349
0.042489
0
0
0
0
0
0
0
0.005109
0.216216
999
30
80
33.3
0.836526
0.353353
0
0
0
0
0.189769
0
0
0
0
0
0
1
0.055556
false
0.055556
0.111111
0
0.166667
0
0
0
0
null
0
0
0
0
0
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
ed10916d4a45c4b3e76d1727a081c63dede13bb5
10,119
py
Python
garr_horizon/content/garr_users/views.py
bogdancarpusor/garr-horizon
68515c6b3f25be1ba07aadea95fe77efe5f52198
[ "Apache-2.0" ]
null
null
null
garr_horizon/content/garr_users/views.py
bogdancarpusor/garr-horizon
68515c6b3f25be1ba07aadea95fe77efe5f52198
[ "Apache-2.0" ]
null
null
null
garr_horizon/content/garr_users/views.py
bogdancarpusor/garr-horizon
68515c6b3f25be1ba07aadea95fe77efe5f52198
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the...
37.757463
78
0.630201
1,125
10,119
5.471111
0.190222
0.030707
0.049716
0.046791
0.498132
0.446466
0.385215
0.341998
0.32039
0.310479
0
0.001627
0.271272
10,119
267
79
37.898876
0.833062
0.074612
0
0.391509
0
0
0.156571
0.071169
0
0
0
0
0
1
0.089623
false
0.066038
0.09434
0.023585
0.471698
0
0
0
0
null
0
0
0
0
0
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
ed139e176864d664a2feb6a4215e3319a5219c53
4,411
py
Python
challengerTest/test_unit_task.py
andrequeiroz2/challengerAPI
df906cdd900874bb243e5d33cf745332f1fe556e
[ "MIT" ]
null
null
null
challengerTest/test_unit_task.py
andrequeiroz2/challengerAPI
df906cdd900874bb243e5d33cf745332f1fe556e
[ "MIT" ]
null
null
null
challengerTest/test_unit_task.py
andrequeiroz2/challengerAPI
df906cdd900874bb243e5d33cf745332f1fe556e
[ "MIT" ]
1
2021-03-04T18:25:51.000Z
2021-03-04T18:25:51.000Z
import unittest import os import json from app import app from database.db import db task0 = json.dumps( {"task_name": "servidor", "task_desc": "error", "user_send": "andre"} ) task1 = json.dumps( {"task_name": "email", "task_desc": "desable", "user_send": "valmir"} ) class TaskTestBase(unittest.TestCase):...
27.742138
88
0.527545
471
4,411
4.77707
0.203822
0.043556
0.104
0.167556
0.575556
0.570667
0.496444
0.439556
0.408444
0.337333
0
0.016773
0.32419
4,411
158
89
27.917722
0.738007
0.03854
0
0.25
0
0
0.224409
0.005167
0
0
0
0
0.12037
1
0.074074
false
0
0.046296
0
0.12963
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
ed14b2e534ebbceaba1ad70087d8dfad8879fd37
1,429
py
Python
src/models/elbow_model.py
universome/loss-patterns
3a244fb911070f19a65559c446752e2c6aa5541d
[ "MIT" ]
84
2019-10-15T00:05:47.000Z
2021-12-18T07:43:16.000Z
src/models/elbow_model.py
universome/loss-patterns
3a244fb911070f19a65559c446752e2c6aa5541d
[ "MIT" ]
1
2020-01-06T19:08:47.000Z
2020-01-11T18:49:07.000Z
src/models/elbow_model.py
universome/loss-patterns
3a244fb911070f19a65559c446752e2c6aa5541d
[ "MIT" ]
7
2019-10-11T23:27:48.000Z
2021-05-06T09:11:18.000Z
import numpy as np import torch.nn as nn from .layer_ops import ModuleOperation from .simple_model import SimpleModel, SimpleModelOperation from src.utils import param_sizes, weight_vector class ElbowModel(ModuleOperation): def __init__(self, w_1=None, w_2=None, w_3=None): self.w_1 = w_1 if not w_1 is No...
29.163265
102
0.63331
222
1,429
3.869369
0.27027
0.093132
0.041909
0.055879
0.229336
0.161816
0.161816
0.111758
0.111758
0
0
0.024551
0.258922
1,429
48
103
29.770833
0.786591
0.041987
0
0
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0.15625
0.03125
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
0
0
0
0
0
1
0
0
1
ed152427db19df7ab2cba4ee7ad4d316f489fe47
943
py
Python
src/recommendation.py
mansi75/Anime-Recommendation-System
f57c78ea43c5850447d44b4cab7cfa8d6938ce3c
[ "MIT" ]
null
null
null
src/recommendation.py
mansi75/Anime-Recommendation-System
f57c78ea43c5850447d44b4cab7cfa8d6938ce3c
[ "MIT" ]
null
null
null
src/recommendation.py
mansi75/Anime-Recommendation-System
f57c78ea43c5850447d44b4cab7cfa8d6938ce3c
[ "MIT" ]
null
null
null
from sklearn.metrics.pairwise import sigmoid_kernel # Compute the sigmoid kernel sig = sigmoid_kernel(tfidf_matrix, tfidf_matrix) indices = pd.Series(df1.index, index=df1['name']).drop_duplicates() def get_recommendations(title, sig = sig): # Get the index of the movie that matches the title idx = in...
36.269231
85
0.69141
137
943
4.649635
0.459854
0.084772
0.047096
0.059655
0
0
0
0
0
0
0
0.017544
0.21421
943
26
85
36.269231
0.842105
0.310711
0
0
0
0
0.046656
0
0
0
0
0
0
0
null
null
0
0.090909
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
ed15c97907dacf3eadbda6c4b57822e1c08bfcc7
882
py
Python
aedes_server/core/migrations/0005_auto_20160327_0029.py
henriquenogueira/aedes
43b8376a091c57dd45d342dea78301c0a79b5df0
[ "MIT" ]
null
null
null
aedes_server/core/migrations/0005_auto_20160327_0029.py
henriquenogueira/aedes
43b8376a091c57dd45d342dea78301c0a79b5df0
[ "MIT" ]
8
2016-03-27T03:15:42.000Z
2016-03-28T23:59:55.000Z
aedes_server/core/migrations/0005_auto_20160327_0029.py
henriquenogueira/aedes
43b8376a091c57dd45d342dea78301c0a79b5df0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-03-27 03:29 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0004_auto_20160326_1958'), ] operations = [ migrations.AlterModelOpt...
30.413793
131
0.605442
87
882
5.942529
0.666667
0.106383
0.119923
0
0
0
0
0
0
0
0
0.053191
0.253968
882
28
132
31.5
0.732523
0.075964
0
0.238095
1
0
0.256158
0.028325
0
0
0
0
0
1
0
false
0
0.095238
0
0.238095
0
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
ed19536510db40dbef18a00a3f6ca75864b7d072
5,887
py
Python
JavaScripts/ImageCollection/SimpleCloudScore.py
OIEIEIO/earthengine-py-notebooks
5d6c5cdec0c73bf02020ee17d42c9e30d633349f
[ "MIT" ]
1,008
2020-01-27T02:03:18.000Z
2022-03-24T10:42:14.000Z
JavaScripts/ImageCollection/SimpleCloudScore.py
rafatieppo/earthengine-py-notebooks
99fbc4abd1fb6ba41e3d8a55f8911217353a3237
[ "MIT" ]
8
2020-02-01T20:18:18.000Z
2021-11-23T01:48:02.000Z
JavaScripts/ImageCollection/SimpleCloudScore.py
rafatieppo/earthengine-py-notebooks
99fbc4abd1fb6ba41e3d8a55f8911217353a3237
[ "MIT" ]
325
2020-01-27T02:03:36.000Z
2022-03-25T20:33:33.000Z
# %% """ <table class="ee-notebook-buttons" align="left"> <td><a target="_blank" href="https://github.com/giswqs/earthengine-py-notebooks/tree/master/JavaScripts/ImageCollection/SimpleCloudScore.ipynb"><img width=32px src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" /> View source on GitHub</a></td> ...
45.992188
1,021
0.723119
836
5,887
5.07177
0.385167
0.023349
0.029717
0.028302
0.211792
0.182311
0.116509
0.086321
0.04434
0.04434
0
0.025133
0.134873
5,887
128
1,022
45.992188
0.807383
0.340581
0
0.2
0
0
0.163533
0.013105
0
0
0
0
0
1
0.066667
false
0
0.155556
0.022222
0.288889
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed1dc658f00d50479d30de56f94ee44bff7c18e2
25,816
py
Python
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/textproducts/templates/product/SFT.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/textproducts/templates/product/SFT.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/textproducts/templates/product/SFT.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
1
2021-10-30T00:03:05.000Z
2021-10-30T00:03:05.000Z
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to ...
38.646707
92
0.548381
2,627
25,816
5.32775
0.279787
0.010289
0.015433
0.006859
0.127394
0.108102
0.072235
0.05523
0.045799
0.027079
0
0.025648
0.315851
25,816
667
93
38.704648
0.766787
0.376007
0
0.178571
0
0
0.087196
0.003398
0
0
0
0
0
0
null
null
0
0.011905
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
ed202946d8171b8408964b92de67e2385a6a44c4
1,589
py
Python
setup.py
cagnolone/openmic-2018
154dc425a4fac7ba45fb143ef75fa21189fc4d1c
[ "MIT" ]
56
2018-08-27T15:48:37.000Z
2021-12-25T11:01:23.000Z
setup.py
cagnolone/openmic-2018
154dc425a4fac7ba45fb143ef75fa21189fc4d1c
[ "MIT" ]
37
2018-08-16T17:00:21.000Z
2022-02-09T23:55:36.000Z
setup.py
cagnolone/openmic-2018
154dc425a4fac7ba45fb143ef75fa21189fc4d1c
[ "MIT" ]
7
2018-10-09T14:48:01.000Z
2020-06-06T12:03:15.000Z
from setuptools import setup, find_packages import imp repo_name = 'openmic-2018' package_name = 'openmic' description = 'OpenMIC-2018: Software Tools and Tutorials' version = imp.load_source('{}.version'.format(package_name), '{}/version.py'.format(package_name)) setup( name=package_na...
31.78
74
0.59786
165
1,589
5.636364
0.515152
0.143011
0.188172
0.111828
0.047312
0
0
0
0
0
0
0.028286
0.243549
1,589
49
75
32.428571
0.745424
0
0
0.043478
0
0
0.459408
0.041536
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
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
ed21d12fc824c8cf90483142cba25c2b9eeb8923
554
py
Python
mktd-keras-exercices/tests/2_visualization.py
monkeytechdays/mktd9-keras
3e8daf16fca2a0c97b6159ea8bfad4fd7bf12672
[ "MIT" ]
null
null
null
mktd-keras-exercices/tests/2_visualization.py
monkeytechdays/mktd9-keras
3e8daf16fca2a0c97b6159ea8bfad4fd7bf12672
[ "MIT" ]
null
null
null
mktd-keras-exercices/tests/2_visualization.py
monkeytechdays/mktd9-keras
3e8daf16fca2a0c97b6159ea8bfad4fd7bf12672
[ "MIT" ]
null
null
null
from sklearn.utils import shuffle from exercices.dataset import Datasets from exercices.visualize import show_samples, show_history import pandas def test_show_images(): sample_provider = Datasets.mnist() samples = [_ for _ in sample_provider()] samples = shuffle(samples, n_samples=25) show_samples...
24.086957
63
0.738267
75
554
5.253333
0.52
0.083756
0.055838
0.081218
0.116751
0
0
0
0
0
0
0.008772
0.176895
554
22
64
25.181818
0.855263
0.15704
0
0
0
0
0.064655
0.064655
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ed23e314c110d46755a78f221bf0a528b3f7b7b8
2,059
py
Python
tune2fs.py
alvinabad/blockdevice
9a9c33dfe083e08dd6b6d731ba012395b48f534e
[ "MIT" ]
null
null
null
tune2fs.py
alvinabad/blockdevice
9a9c33dfe083e08dd6b6d731ba012395b48f534e
[ "MIT" ]
null
null
null
tune2fs.py
alvinabad/blockdevice
9a9c33dfe083e08dd6b6d731ba012395b48f534e
[ "MIT" ]
null
null
null
# The MIT License (MIT) # # Copyright (c) 2015 Alvin Abad # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modi...
31.19697
80
0.688684
281
2,059
4.985765
0.544484
0.062812
0.018558
0
0
0
0
0
0
0
0
0.007571
0.230209
2,059
65
81
31.676923
0.876341
0.529383
0
0
0
0
0.039216
0
0
0
0
0
0
0
null
null
0.034483
0.103448
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed23faac868a2544edb04760c16a2cd9592ba01b
766
py
Python
tests/tasks.py
aadu/django-luigi
ea2fe05ac84efd450806cf700345b2af6ff2279d
[ "MIT" ]
null
null
null
tests/tasks.py
aadu/django-luigi
ea2fe05ac84efd450806cf700345b2af6ff2279d
[ "MIT" ]
1
2021-11-15T17:47:46.000Z
2021-11-15T17:47:46.000Z
tests/tasks.py
aadu/django-luigi
ea2fe05ac84efd450806cf700345b2af6ff2279d
[ "MIT" ]
null
null
null
from luigi import build, Task, LocalTarget import luigi import django from django.utils import timezone django.setup() from django_luigi import models, signals class DummyTask(Task): task_namespace = 'bob' def output(self): return LocalTarget('example.txt') def run(self): raise ValueEr...
19.15
69
0.651436
90
766
5.433333
0.477778
0.067485
0.05317
0.07771
0.122699
0
0
0
0
0
0
0.006745
0.225849
766
39
70
19.641026
0.817875
0
0
0.230769
0
0
0.065274
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.076923
0.692308
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ed2595bfc6aeb0d045e1d324f1f8d28f758521db
8,519
py
Python
tests/core/domain/entity_key_test.py
gumo-py/gumo-core
efa7a617e6e9ed0db2f478ee28877ce68304dcc9
[ "MIT" ]
null
null
null
tests/core/domain/entity_key_test.py
gumo-py/gumo-core
efa7a617e6e9ed0db2f478ee28877ce68304dcc9
[ "MIT" ]
104
2019-08-11T07:08:09.000Z
2022-02-11T02:58:41.000Z
tests/core/domain/entity_key_test.py
gumo-py/gumo-core
efa7a617e6e9ed0db2f478ee28877ce68304dcc9
[ "MIT" ]
null
null
null
import pytest from gumo.core.domain.entity_key import KeyPair from gumo.core.domain.entity_key import NoneKey from gumo.core.domain.entity_key import EntityKey from gumo.core.domain.entity_key import EntityKeyFactory from gumo.core.domain.entity_key import IncompleteKey class TestKeyPair: def test_invalid_name(s...
36.405983
114
0.647376
1,086
8,519
4.882136
0.092081
0.034327
0.072426
0.064127
0.715956
0.625802
0.547529
0.444361
0.431158
0.395323
0
0.03387
0.220214
8,519
233
115
36.562232
0.764263
0
0
0.344633
0
0
0.115624
0.033572
0
0
0
0
0.474576
1
0.146893
false
0
0.033898
0
0.254237
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
ed27125b2d453132a320b23eac69ab63f3a6ef75
1,443
py
Python
news/models.py
manavshrivastavagit/django-restapi
52261c93b58422b0e39cae656ae9409ea03a488d
[ "MIT" ]
5
2017-01-13T08:17:25.000Z
2020-04-07T12:50:51.000Z
news/models.py
manavshrivastavagit/django-restapi
52261c93b58422b0e39cae656ae9409ea03a488d
[ "MIT" ]
2
2016-10-25T12:51:30.000Z
2017-10-14T18:38:59.000Z
news/models.py
manavshrivastavagit/django-restapi
52261c93b58422b0e39cae656ae9409ea03a488d
[ "MIT" ]
4
2017-09-05T19:03:13.000Z
2021-03-23T07:47:41.000Z
from django.db import models from django.contrib.auth.models import User from students.models import Class class BaseAbstractPost(models.Model): posted_on = models.DateTimeField(auto_now_add=True) edited = models.BooleanField(default=False) last_edited_on = models.DateTimeField(auto_now=True) class ...
26.236364
85
0.686764
169
1,443
5.662722
0.390533
0.041797
0.043887
0.052247
0.231975
0.054336
0
0
0
0
0
0.012216
0.205821
1,443
54
86
26.722222
0.822862
0
0
0.205128
0
0
0.035343
0
0
0
0
0
0
1
0.051282
false
0
0.076923
0.051282
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ed2b5ec8575448301ee6e82b926facce1f0d866f
11,803
py
Python
xcp_d/interfaces/prepostcleaning.py
PennLINC/xcp_d
9634df0af387a6a3503dc4162c446cc390dfe309
[ "MIT" ]
5
2022-01-07T04:59:35.000Z
2022-03-31T11:04:56.000Z
xcp_d/interfaces/prepostcleaning.py
PennLINC/xcp_d
9634df0af387a6a3503dc4162c446cc390dfe309
[ "MIT" ]
9
2022-01-29T19:40:05.000Z
2022-03-31T18:52:20.000Z
xcp_d/interfaces/prepostcleaning.py
PennLINC/xcp_d
9634df0af387a6a3503dc4162c446cc390dfe309
[ "MIT" ]
1
2022-03-18T14:58:39.000Z
2022-03-18T14:58:39.000Z
import numpy as np import os import pandas as pd from ..utils import (drop_tseconds_volume, read_ndata, write_ndata,compute_FD,generate_mask,interpolate_masked_data) from nipype.interfaces.base import (traits, TraitedSpec, BaseInterfaceInputSpec, File, SimpleInterface ) from nipype import loggin...
41.706714
159
0.643226
1,345
11,803
5.44461
0.159851
0.066912
0.044108
0.050253
0.567664
0.535027
0.452547
0.387136
0.3164
0.270791
0
0.002833
0.252309
11,803
283
160
41.706714
0.826969
0.122511
0
0.401163
1
0
0.109527
0.008849
0
0
0
0
0
1
0.017442
false
0
0.046512
0
0.343023
0
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
ed2c202b5500f2b9995f79f68808d70b8fd89d1f
1,302
py
Python
lixian_plugins/commands/get_torrent.py
deadblue/xunlei-lixian
41ee850e8112a672e0f49c92d9fe892d48e23108
[ "MIT" ]
722
2015-01-04T09:34:25.000Z
2022-03-06T07:50:20.000Z
lixian_plugins/commands/get_torrent.py
deadblue/xunlei-lixian
41ee850e8112a672e0f49c92d9fe892d48e23108
[ "MIT" ]
29
2015-01-24T17:38:59.000Z
2021-08-29T03:39:30.000Z
lixian_plugins/commands/get_torrent.py
deadblue/xunlei-lixian
41ee850e8112a672e0f49c92d9fe892d48e23108
[ "MIT" ]
194
2015-01-19T06:59:07.000Z
2022-03-16T05:38:17.000Z
from lixian_plugins.api import command from lixian_cli_parser import command_line_parser, command_line_option from lixian_cli_parser import with_parser from lixian_cli import parse_login from lixian_commands.util import create_client @command(name='get-torrent', usage='get .torrent by task id or info hash') @command...
28.933333
85
0.717358
200
1,302
4.445
0.335
0.067492
0.04387
0.042745
0.143982
0.087739
0.087739
0.087739
0.087739
0
0
0.004513
0.149002
1,302
44
86
29.590909
0.797834
0
0
0.216216
0
0
0.099518
0
0
0
0
0
0
0
null
null
0
0.27027
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
ed2cfb415f82fcb68c427312f154e52067e0073d
2,599
py
Python
ExampleData.py
jpetersen2/naive-bayes-classifier
e043d3b1f1144707ad3cf2e7453a9a6291be0b52
[ "MIT" ]
2
2018-07-07T12:54:21.000Z
2019-10-02T09:48:46.000Z
ExampleData.py
afcarl/naive-bayes-classifier
e043d3b1f1144707ad3cf2e7453a9a6291be0b52
[ "MIT" ]
null
null
null
ExampleData.py
afcarl/naive-bayes-classifier
e043d3b1f1144707ad3cf2e7453a9a6291be0b52
[ "MIT" ]
9
2016-04-12T14:50:29.000Z
2021-04-04T12:04:30.000Z
""" coding=utf-8 ExampleData.py A component of: hw6 (C) Brendan J. Herger Analytics Master's Candidate at University of San Francisco 13herger@gmail.com Created on 10/24/14, at 3:15 PM Available under MIT License http://opensource.org/licenses/MIT """ # imports # ********************************* import os import ra...
23
75
0.631781
312
2,599
5.028846
0.455128
0.035692
0.021033
0.024857
0.068834
0.044614
0
0
0
0
0
0.009799
0.214698
2,599
113
76
23
0.758942
0.155444
0
0
0
0
0.12704
0.019231
0
0
0
0
0
0
null
null
0
0.125
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed2da9760a939b0c54307d25112a7de8217bb4b8
1,666
py
Python
muse_for_anything/db/models/model_helpers.py
baireutherjonas/muse-for-anything
a625b4fc6468d74fa12886dc465d5694eed86e04
[ "MIT" ]
null
null
null
muse_for_anything/db/models/model_helpers.py
baireutherjonas/muse-for-anything
a625b4fc6468d74fa12886dc465d5694eed86e04
[ "MIT" ]
1
2021-11-14T18:55:44.000Z
2021-11-14T18:55:44.000Z
muse_for_anything/db/models/model_helpers.py
baireutherjonas/muse-for-anything
a625b4fc6468d74fa12886dc465d5694eed86e04
[ "MIT" ]
1
2021-09-08T13:49:52.000Z
2021-09-08T13:49:52.000Z
from datetime import datetime from sqlalchemy.sql.schema import Column from sqlalchemy.sql import func from ...util.import_helpers import get_all_classes_of_module from ..db import DB, MODEL FULLTEXT_INDEX_PARAMS = {"mysql_prefix": "FULLTEXT", "postgresql_using": "gin"} class IdMixin: """Add an 'id' column th...
31.433962
117
0.720888
219
1,666
5.347032
0.342466
0.109308
0.095645
0.109308
0.512383
0.476516
0.353544
0.353544
0.353544
0.273271
0
0
0.162065
1,666
52
118
32.038462
0.838825
0.239496
0
0.153846
0
0
0.052377
0
0
0
0
0
0
1
0
false
0
0.192308
0
0.692308
0
0
0
0
null
0
0
0
0
0
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
ed2f3ec4a8d9838218023160067adda466c7e3bd
272
py
Python
tes.py
robisen1/image_bbox_slicer
e1e0c945e3424891a5ad3ffcad3714fee46bca03
[ "MIT" ]
1
2020-07-06T10:34:01.000Z
2020-07-06T10:34:01.000Z
tes.py
robisen1/image_bbox_slicer
e1e0c945e3424891a5ad3ffcad3714fee46bca03
[ "MIT" ]
null
null
null
tes.py
robisen1/image_bbox_slicer
e1e0c945e3424891a5ad3ffcad3714fee46bca03
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Apr 1 12:27:23 2020 @author: robi """ # call new main from pathlib import Path, PurePath import image_bbox_slicer.image_bbox_slicer local = PurePath(Path.cwd()) #print(local) home_path = Path.home() print(repr(home_path))
14.315789
42
0.702206
43
272
4.302326
0.697674
0.097297
0.162162
0
0
0
0
0
0
0
0
0.052174
0.154412
272
18
43
15.111111
0.752174
0.363971
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ed2fa322588df08b63579dda864ed6227464a818
591
py
Python
django_event_sourcing/globals.py
orycion/django-event-sourcing
6f1b403f75d65d7754dacce745423f6d11a80cee
[ "MIT" ]
1
2020-12-31T09:19:14.000Z
2020-12-31T09:19:14.000Z
django_event_sourcing/globals.py
orycion/django-event-sourcing
6f1b403f75d65d7754dacce745423f6d11a80cee
[ "MIT" ]
2
2021-03-03T21:22:59.000Z
2021-03-03T21:23:36.000Z
django_event_sourcing/globals.py
orycion/django-event-sourcing
6f1b403f75d65d7754dacce745423f6d11a80cee
[ "MIT" ]
null
null
null
from django.conf import settings event_type_register = None event_handler_register = None def get_event_type_register(): from .registers import EventTypeRegister global event_type_register if event_type_register is None: event_type_register = EventTypeRegister(settings.EVENT_TYPES) return...
21.107143
69
0.790186
70
591
6.285714
0.285714
0.122727
0.231818
0.109091
0
0
0
0
0
0
0
0
0.175973
591
27
70
21.888889
0.903491
0
0
0
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.2
0
0.466667
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
ed3062c0eee2cdd853d3781982b2f697826fa6e1
2,238
py
Python
src/SceneCommands.py
rookies/dmx
5914b7e09ce5ae096d564c97dfc7b8da2616a4ad
[ "MIT" ]
null
null
null
src/SceneCommands.py
rookies/dmx
5914b7e09ce5ae096d564c97dfc7b8da2616a4ad
[ "MIT" ]
null
null
null
src/SceneCommands.py
rookies/dmx
5914b7e09ce5ae096d564c97dfc7b8da2616a4ad
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import random #FIXME# class Helpers(object): @staticmethod def get(value): ## Split cmd and args ## if value.find("|") == -1: cmd = value else: v = value.split("|") cmd = v[0] args = v[1:] ## Check command ## if cmd == "set": return Set(args) elif cmd == "fade": retur...
23.3125
96
0.646559
323
2,238
4.430341
0.247678
0.053809
0.031447
0.033543
0.326345
0.253669
0.22921
0.174703
0.174703
0.134172
0
0.018508
0.203307
2,238
95
97
23.557895
0.784072
0.092046
0
0.394366
0
0
0.163918
0.033483
0
0
0
0.010526
0
1
0.15493
false
0.014085
0.014085
0.056338
0.478873
0.042254
0
0
0
null
0
0
0
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
ed3270edd5027e4584cb9c02ce02914721b56c5e
857
py
Python
users_manager/backends.py
AndreiNetotea/users-manager
57ea3f7efd05bf9ac4f184312ca1c3554e7a7de6
[ "MIT" ]
null
null
null
users_manager/backends.py
AndreiNetotea/users-manager
57ea3f7efd05bf9ac4f184312ca1c3554e7a7de6
[ "MIT" ]
6
2020-06-05T20:01:17.000Z
2022-03-11T23:42:01.000Z
users_manager/backends.py
AndreiNetotea/users-manager
57ea3f7efd05bf9ac4f184312ca1c3554e7a7de6
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.contrib.auth.hashers import check_password from django.db.models import Q from django.contrib.auth.backends import ModelBackend class EmailAuthenticationBackend(ModelBackend): """ Authenticate using email """ def authenticate(self, username=None...
28.566667
72
0.603267
92
857
5.554348
0.445652
0.078278
0.099804
0.123288
0
0
0
0
0
0
0
0
0.317386
857
29
73
29.551724
0.873504
0.028005
0
0.136364
0
0
0.00612
0
0
0
0
0
0
1
0.045455
false
0.136364
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
ed327c6cffcd8b0aa9db8e09cf5ca984d1b4d01d
287
py
Python
py/api.py
ceciliakuhnvanin/meusoneto.github.io
b357e6386f979d878314c178bab237969c4f7603
[ "MIT" ]
1
2019-12-09T13:59:34.000Z
2019-12-09T13:59:34.000Z
py/api.py
ceciliakuhnvanin/ceciliakuhnvanin.github.io
b357e6386f979d878314c178bab237969c4f7603
[ "MIT" ]
null
null
null
py/api.py
ceciliakuhnvanin/ceciliakuhnvanin.github.io
b357e6386f979d878314c178bab237969c4f7603
[ "MIT" ]
null
null
null
from flask import Flask from flask import jsonify import sonetos from flask_cors import CORS, cross_origin app = Flask(__name__) cors = CORS(app) app.config['CORS_HEADERS'] = 'Content-Type' @app.route('/') @cross_origin() def getSoneto(): return jsonify(sonetos.getSonetoJson())
17.9375
43
0.749129
39
287
5.307692
0.487179
0.130435
0.144928
0
0
0
0
0
0
0
0
0
0.132404
287
16
44
17.9375
0.831325
0
0
0
0
0
0.086806
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ed3724d383a6988e180f08d9af64518a0c1e613f
2,837
py
Python
homeassistant/components/kodaksmarthome/__init__.py
kairoaraujo/home-assistant
5018513a8c4adc4c0c074ef5436788b8118c13e5
[ "Apache-2.0" ]
null
null
null
homeassistant/components/kodaksmarthome/__init__.py
kairoaraujo/home-assistant
5018513a8c4adc4c0c074ef5436788b8118c13e5
[ "Apache-2.0" ]
null
null
null
homeassistant/components/kodaksmarthome/__init__.py
kairoaraujo/home-assistant
5018513a8c4adc4c0c074ef5436788b8118c13e5
[ "Apache-2.0" ]
null
null
null
"""Support for Kodak Smart Home.""" from datetime import timedelta import logging from kodaksmarthome import KodakSmartHome import voluptuous as vol from homeassistant.const import ( CONF_PASSWORD, CONF_REGION, CONF_SCAN_INTERVAL, CONF_USERNAME, ) import homeassistant.helpers.config_validation as cv f...
28.656566
88
0.69651
320
2,837
5.93125
0.3375
0.05058
0.051633
0.017914
0.024236
0
0
0
0
0
0
0.000907
0.223123
2,837
98
89
28.94898
0.860254
0.06098
0
0.112676
0
0
0.127314
0.028712
0
0
0
0
0
1
0.056338
false
0.056338
0.112676
0
0.211268
0
0
0
0
null
0
0
0
0
0
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
ed393f60d769eca985658c7646f7db2dd1c684ee
1,491
py
Python
cafe/models.py
MoGakCo/MogakCo
c0a5c6366179e3e2ad9daeb7cf4c8ca59790ac63
[ "MIT" ]
7
2018-02-06T07:42:20.000Z
2019-03-25T03:49:11.000Z
cafe/models.py
MoGakCo/MogakCo
c0a5c6366179e3e2ad9daeb7cf4c8ca59790ac63
[ "MIT" ]
null
null
null
cafe/models.py
MoGakCo/MogakCo
c0a5c6366179e3e2ad9daeb7cf4c8ca59790ac63
[ "MIT" ]
1
2018-01-21T12:15:00.000Z
2018-01-21T12:15:00.000Z
from django.db import models PLUG_STATES = ( (0, 'None'), (1, 'Some'), (2, 'Many')) WIFI_STATES = ( (0, 'Bad'), (1, 'Fine'), (2, 'Good')) class Cafe(models.Model): name = models.CharField(max_length=256) address = models.CharField(max_length=256) def __st...
24.85
60
0.605634
179
1,491
4.927374
0.329609
0.183673
0.05102
0.071429
0.251701
0.190476
0.190476
0.190476
0.190476
0.190476
0
0.016575
0.27163
1,491
59
61
25.271186
0.79558
0.014085
0
0.068182
0
0
0.057941
0
0
0
0
0
0
1
0.068182
false
0
0.022727
0.022727
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
ed3b8164b77cdea22962818a4a2ca174ded0401a
746
py
Python
q2_types_genomics/feature_data/_type.py
misialq/q2-types-genomics
ece82ed928d997e23a02d225e80b067dc7292080
[ "BSD-3-Clause" ]
null
null
null
q2_types_genomics/feature_data/_type.py
misialq/q2-types-genomics
ece82ed928d997e23a02d225e80b067dc7292080
[ "BSD-3-Clause" ]
8
2021-05-07T12:20:45.000Z
2021-07-21T08:18:21.000Z
q2_types_genomics/feature_data/_type.py
misialq/q2-types-genomics
ece82ed928d997e23a02d225e80b067dc7292080
[ "BSD-3-Clause" ]
2
2021-05-07T12:26:01.000Z
2021-05-19T14:08:09.000Z
# ---------------------------------------------------------------------------- # Copyright (c) 2021, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # -----------------------------------------------------...
31.083333
78
0.636729
79
746
5.822785
0.56962
0.026087
0.047826
0
0
0
0
0
0
0
0
0.01194
0.101877
746
23
79
32.434783
0.674627
0.441019
0
0
0
0
0.017115
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ed3baae3041427a3009b752d2b39a30f7a1e9ad1
7,709
py
Python
gdal/examples/pydrivers/ogr_DUMMY.py
jpapadakis/gdal
f07aa15fd65af36b04291303cc6834c87f662814
[ "MIT" ]
3,100
2015-01-02T10:33:40.000Z
2022-03-31T02:06:51.000Z
gdal/examples/pydrivers/ogr_DUMMY.py
jpapadakis/gdal
f07aa15fd65af36b04291303cc6834c87f662814
[ "MIT" ]
3,496
2015-01-06T16:53:30.000Z
2022-03-31T20:18:51.000Z
gdal/examples/pydrivers/ogr_DUMMY.py
jpapadakis/gdal
f07aa15fd65af36b04291303cc6834c87f662814
[ "MIT" ]
2,036
2015-01-08T20:22:12.000Z
2022-03-31T10:24:08.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # This code is in the public domain, so as to serve as a template for # real-world plugins. # or, at the choice of the licensee, # Copyright 2019 Even Rouault # SPDX-License-Identifier: MIT # Metadata parsed by GDAL C++ code at driver pre-loading, starting with '# gdal: ' ...
35.040909
101
0.59463
876
7,709
5.084475
0.308219
0.037045
0.03233
0.014145
0.268298
0.151549
0.129322
0.129322
0.091154
0.070049
0
0.020223
0.300817
7,709
219
102
35.200913
0.806122
0.487093
0
0.1375
0
0
0.165973
0.006244
0
0
0
0
0
1
0.125
false
0.0625
0.025
0.0375
0.3375
0
0
0
0
null
0
0
0
0
0
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
ed3bef73b672a69b0301d9d537a66355255a3763
834
py
Python
modules/post-exploitation/empire.py
decidedlygray/ptf
f17f50606fac5ef30f42c0b5e0fa57b58f696b99
[ "FTL" ]
4,391
2015-05-12T19:30:45.000Z
2022-03-30T13:39:27.000Z
modules/post-exploitation/empire.py
decidedlygray/ptf
f17f50606fac5ef30f42c0b5e0fa57b58f696b99
[ "FTL" ]
340
2015-05-14T13:50:44.000Z
2022-01-13T14:40:14.000Z
modules/post-exploitation/empire.py
decidedlygray/ptf
f17f50606fac5ef30f42c0b5e0fa57b58f696b99
[ "FTL" ]
1,290
2015-05-13T00:24:58.000Z
2022-03-30T08:20:22.000Z
#!/usr/bin/env python ##################################### # Installation module for empire ##################################### # AUTHOR OF MODULE NAME AUTHOR="Ian Smith" # DESCRIPTION OF THE MODULE DESCRIPTION="This module will install/update Empire - post exploitation python/powershell for windows and nix/os...
23.828571
114
0.672662
110
834
5.045455
0.6
0.032432
0.05045
0
0
0
0
0
0
0
0
0.001406
0.147482
834
34
115
24.529412
0.779184
0.395683
0
0
0
0
0.538278
0.055024
0
0
0
0
0
1
0
false
0.1
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
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed3ca099d36ae608b41df5f04f2761bd7921c856
8,178
py
Python
GC-Projects/pythonProjects/ListaContactos/listaContactos.py
Community-Dev-Angola/SundayOpenSource
25d3aca45a6c02265eaa18d58f3de68664076d76
[ "MIT" ]
9
2021-01-03T10:36:35.000Z
2021-02-20T13:47:04.000Z
GC-Projects/pythonProjects/ListaContactos/listaContactos.py
Community-Dev-Angola/SundayOpenSource
25d3aca45a6c02265eaa18d58f3de68664076d76
[ "MIT" ]
2
2021-01-17T22:10:07.000Z
2021-01-22T09:03:36.000Z
GC-Projects/pythonProjects/ListaContactos/listaContactos.py
Community-Dev-Angola/SundayOpenSource
25d3aca45a6c02265eaa18d58f3de68664076d76
[ "MIT" ]
5
2021-01-05T15:47:27.000Z
2021-07-18T10:11:14.000Z
# Copyright (c) 2019-2020 Nurul GC # Direitos Autorais (c) 2019-2020 Nurul GC # # Jovem Programador # Estudante de Engenharia de Telecomunicaçoes # Tecnologia de Informação e de Medicina. # Foco Fé Força Paciência # Allah no Comando. from tkinter import * import tkinter.ttk as ttk from tk_tools import ToolTip ...
41.095477
151
0.577158
961
8,178
4.876171
0.236212
0.049082
0.03073
0.020273
0.374306
0.270807
0.227486
0.151088
0.118651
0.118651
0
0.02261
0.286134
8,178
198
152
41.30303
0.779205
0.039007
0
0.242038
0
0
0.167219
0.007392
0
0
0
0
0
0
null
null
0
0.050955
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
ed3cc2b48e7bc930fff35a89a4cbb3d2d1541d58
670
py
Python
test.py
VaseSimion/Finance
63d04a3bb03177e0f959c0c79fa922aecb50ae11
[ "MIT" ]
1
2021-01-26T11:59:59.000Z
2021-01-26T11:59:59.000Z
test.py
VaseSimion/Finance
63d04a3bb03177e0f959c0c79fa922aecb50ae11
[ "MIT" ]
null
null
null
test.py
VaseSimion/Finance
63d04a3bb03177e0f959c0c79fa922aecb50ae11
[ "MIT" ]
1
2021-01-26T15:53:58.000Z
2021-01-26T15:53:58.000Z
import yfinance as yf from datetime import date from datetime import timedelta import ReportModule as Rm import mplfinance as mpf import matplotlib.pyplot as plt import math list_of_stocks = [] print(date.today().weekday()) stock = "AAPL" zile_in_trecut = 1 # cate zile o trecut de vineri pana acum: daca e luni ii 3...
30.454545
132
0.741791
110
670
4.418182
0.609091
0.055556
0.074074
0
0
0
0
0
0
0
0
0.014085
0.152239
670
21
133
31.904762
0.841549
0.2
0
0
0
0
0.043152
0
0
0
0
0
0
1
0
false
0
0.411765
0
0.411765
0.235294
0
0
0
null
0
0
0
0
0
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
ed3dd2fa2c9e125f7ede1d127fa15c281c9e86cb
2,280
py
Python
helper_setup.py
Pythux/drf-jwt
fda62f6ee461838c0c3eeaa13c917a0efcc2b34a
[ "MIT" ]
null
null
null
helper_setup.py
Pythux/drf-jwt
fda62f6ee461838c0c3eeaa13c917a0efcc2b34a
[ "MIT" ]
null
null
null
helper_setup.py
Pythux/drf-jwt
fda62f6ee461838c0c3eeaa13c917a0efcc2b34a
[ "MIT" ]
null
null
null
""" some helper function for setup.py file use: copy it alongside setup.py and in the setup.py file: from helper_setup import read_readme, cmd_publish_activate """ import sys import os import shutil from setuptools import find_packages from importlib import import_module def read(*paths): with open(*p...
23.505155
92
0.625877
325
2,280
4.230769
0.36
0.040727
0.028364
0.016
0.122182
0.122182
0.122182
0.122182
0.122182
0.122182
0
0.005166
0.235965
2,280
96
93
23.75
0.784156
0.206579
0
0.127273
0
0
0.1845
0
0
0
0
0
0
1
0.254545
false
0
0.109091
0.018182
0.454545
0.145455
0
0
0
null
0
0
0
0
0
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
ed3ee8b5ad0336a4fa54378cbbdf6481e3603d09
8,880
py
Python
modules/sites/codeforces.py
xandfury/stopstalk-deployment
0f2b2619807f4ec43280c58922a717c33c22f1bf
[ "MIT" ]
null
null
null
modules/sites/codeforces.py
xandfury/stopstalk-deployment
0f2b2619807f4ec43280c58922a717c33c22f1bf
[ "MIT" ]
null
null
null
modules/sites/codeforces.py
xandfury/stopstalk-deployment
0f2b2619807f4ec43280c58922a717c33c22f1bf
[ "MIT" ]
null
null
null
""" Copyright (c) 2015-2018 Raj Patel(raj454raj@gmail.com), StopStalk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights ...
37.310924
86
0.502815
860
8,880
5.060465
0.331395
0.045496
0.015625
0.02114
0.131434
0.098575
0.073989
0.056526
0.048254
0.028493
0
0.009849
0.359685
8,880
237
87
37.468354
0.75554
0.097635
0
0.189781
0
0
0.126728
0.003497
0
0
0
0
0
0
null
null
0
0.007299
null
null
0.021898
0
0
0
null
0
0
0
0
0
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
ed466185da5c866f96bcbe08af1caa23602e9f79
2,899
py
Python
examples/generate_vuln_status_report.py
Synamedia/hub-rest-api-python
11aa3c927c444c16abcfef7503462733144709a1
[ "Apache-2.0" ]
1
2020-10-14T16:02:14.000Z
2020-10-14T16:02:14.000Z
examples/generate_vuln_status_report.py
Synamedia/hub-rest-api-python
11aa3c927c444c16abcfef7503462733144709a1
[ "Apache-2.0" ]
1
2020-11-04T12:09:00.000Z
2020-11-04T12:09:00.000Z
examples/generate_vuln_status_report.py
Synamedia/hub-rest-api-python
11aa3c927c444c16abcfef7503462733144709a1
[ "Apache-2.0" ]
null
null
null
''' Created on Jan 15, 2020 @author: gsnyder Generate vulnerability status report ''' from blackduck.HubRestApi import HubInstance import argparse import json import time parser = argparse.ArgumentParser("A program to create a vulnerability status report") parser.add_argument("--file_name", default="vuln_status_re...
37.649351
154
0.729217
383
2,899
5.381201
0.315927
0.052402
0.043668
0.030568
0.163028
0.112567
0.091218
0.043668
0.043668
0
0
0.008061
0.144188
2,899
76
155
38.144737
0.822652
0.045878
0
0.214286
1
0
0.306381
0
0
0
0
0
0
1
0.017857
false
0.017857
0.071429
0
0.107143
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed546f1fa07f62f06623c82022d32ade042befca
435
py
Python
fit.py
cailmdaley/exoplanet_distributions
aa75880299c07947ac82d763a2a1b32eb1d66c78
[ "MIT" ]
null
null
null
fit.py
cailmdaley/exoplanet_distributions
aa75880299c07947ac82d763a2a1b32eb1d66c78
[ "MIT" ]
null
null
null
fit.py
cailmdaley/exoplanet_distributions
aa75880299c07947ac82d763a2a1b32eb1d66c78
[ "MIT" ]
null
null
null
import numpy as np import astropy.units as u import classes dist = classes.Distribution('planets3_bottomup/') ms = np.round(np.logspace(np.log10(0.1), np.log10(13*u.Mjup.to('Mearth')),100),3) aas = np.round(np.logspace(np.log10(0.1), np.log10(10),100), 3)[::-1] aas2 = np.round(np.logspace(np.log10(0.04), np.log10(10),...
33.461538
81
0.682759
85
435
3.470588
0.388235
0.166102
0.122034
0.172881
0.379661
0.379661
0.308475
0.223729
0.223729
0.223729
0
0.12782
0.082759
435
12
82
36.25
0.611529
0
0
0
0
0
0.055172
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
ed57440bd22797c65458773d5fa7a7a0f0a8b3e8
739
py
Python
guacozy_server/backend/models/guacdserver.py
yinm8315/guacozy-django-react
99a8270cb660052d3b4868b7959a5750968d9cc3
[ "MIT" ]
121
2019-10-28T09:23:05.000Z
2022-03-19T00:30:36.000Z
guacozy_server/backend/models/guacdserver.py
peppelinux/guacozy
ff4ca3fae8b9a5cb379a7a73d39f0d0ea8b6521c
[ "MIT" ]
43
2019-10-28T09:22:59.000Z
2022-03-18T23:01:25.000Z
guacozy_server/backend/models/guacdserver.py
peppelinux/guacozy
ff4ca3fae8b9a5cb379a7a73d39f0d0ea8b6521c
[ "MIT" ]
44
2019-11-05T01:58:05.000Z
2022-03-30T08:05:18.000Z
from django.db import models from django.core.validators import MinValueValidator, MaxValueValidator class GuacdServer(models.Model): class Meta: verbose_name = "Guacd Server" verbose_name_plural = "Guacd Servers" name = models.CharField(max_length=64, blank=False, unique=True, ...
33.590909
77
0.59134
68
739
6.294118
0.573529
0.070093
0.084112
0.11215
0.168224
0.168224
0.168224
0
0
0
0
0.028226
0.328823
739
21
78
35.190476
0.834677
0
0
0
0
0
0.062246
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0.066667
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
ed5daec9244dd82fa40fe0a2331172c0b1fd2b15
221
py
Python
usdview/20.05/package.py
UTS-AnimalLogicAcademy/open-source-rez-packages
8c2829dc4880b145662203a2a413609f3c59a44a
[ "MIT" ]
59
2018-01-17T07:17:28.000Z
2022-03-23T06:32:45.000Z
usdview/20.05/package.py
UTS-AnimalLogicAcademy/open-source-rez-packages
8c2829dc4880b145662203a2a413609f3c59a44a
[ "MIT" ]
null
null
null
usdview/20.05/package.py
UTS-AnimalLogicAcademy/open-source-rez-packages
8c2829dc4880b145662203a2a413609f3c59a44a
[ "MIT" ]
8
2018-01-30T15:33:02.000Z
2022-01-10T23:29:14.000Z
# -*- coding: utf-8 -*- name = 'usdview' version = '20.05' requires = [ 'pyside-1.2', 'usd-20.05', 'ocio_configs', 'turret_usd' ] def commands(): env.DEFAULT_USD.set('{root}/bin/DefaultUSD.usda')
13.8125
53
0.570136
29
221
4.241379
0.862069
0.065041
0
0
0
0
0
0
0
0
0
0.063218
0.21267
221
15
54
14.733333
0.643678
0.095023
0
0
0
0
0.39899
0.131313
0
0
0
0
0
1
0.1
false
0
0
0
0.1
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
ed6271cbfc4263cbd28b54e2e4c57e37f54565ad
8,988
py
Python
panic/gui/alarmhistory.py
sergirubio/panic
b7cfad21f62c42b342dc1969bf72394c3abddec0
[ "CC-BY-3.0" ]
null
null
null
panic/gui/alarmhistory.py
sergirubio/panic
b7cfad21f62c42b342dc1969bf72394c3abddec0
[ "CC-BY-3.0" ]
2
2016-09-22T13:13:50.000Z
2016-09-23T07:32:38.000Z
panic/gui/alarmhistory.py
sergirubio/panic
b7cfad21f62c42b342dc1969bf72394c3abddec0
[ "CC-BY-3.0" ]
null
null
null
import panic, fandango from PyQt4 import Qt, QtCore, QtGui from taurus.qt.qtgui.resource import getThemeIcon from taurus.qt.qtgui.panel import TaurusForm from operator import itemgetter try: from PyTangoArchiving import snap from PyTangoArchiving.widget.snaps import * db = fandango.get_database() assert list(d...
42.597156
128
0.638073
981
8,988
5.767584
0.224261
0.060976
0.017674
0.021209
0.228879
0.160834
0.100742
0.073171
0.073171
0.058678
0
0.011735
0.241544
8,988
210
129
42.8
0.818249
0.013351
0
0.147368
0
0
0.053243
0.013085
0
0
0
0
0.005263
0
null
null
0.005263
0.042105
null
null
0.010526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed62bd78d111a08d655d3d8b47bea69c1b3422fd
1,743
py
Python
api/user/models.py
yangahh/exporterhub-dev
c41783f4b82812358fa05ec55588c5bb6a02134e
[ "MIT" ]
2
2020-11-17T11:13:53.000Z
2021-01-13T00:38:17.000Z
api/user/models.py
yangahh/exporterhub-dev
c41783f4b82812358fa05ec55588c5bb6a02134e
[ "MIT" ]
null
null
null
api/user/models.py
yangahh/exporterhub-dev
c41783f4b82812358fa05ec55588c5bb6a02134e
[ "MIT" ]
1
2020-11-17T11:13:58.000Z
2020-11-17T11:13:58.000Z
from django.db import models from exporter.models import Exporter class UserType(models.Model): id = models.IntegerField(primary_key=True) name = models.CharField(max_length=45) class Meta: db_table = 'user_types' class User(models.Model): type = models.ForeignKey('UserTy...
41.5
113
0.687321
206
1,743
5.635922
0.315534
0.062016
0.093023
0.124031
0.496124
0.403101
0.260121
0.20155
0.20155
0.20155
0
0.01593
0.207688
1,743
41
114
42.512195
0.824765
0
0
0.242424
0
0
0.08319
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.878788
0
0
0
0
null
0
0
0
0
0
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
ed62f87bc19ed35d8b68cf4cc77ff012fc515bd3
1,039
py
Python
rx/core/operators/last.py
MichaelSchneeberger/RxPY
994f974d37783f63c5d9e018a316fa9b06ba9337
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
rx/core/operators/last.py
MichaelSchneeberger/RxPY
994f974d37783f63c5d9e018a316fa9b06ba9337
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
rx/core/operators/last.py
MichaelSchneeberger/RxPY
994f974d37783f63c5d9e018a316fa9b06ba9337
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
from typing import Callable from rx import operators from rx.core import Observable from rx.core.typing import Predicate from .lastordefault import last_or_default_async def _last(predicate: Predicate = None) -> Callable[[Observable], Observable]: def last(source: Observable) -> Observable: """Partially ...
28.081081
77
0.640038
115
1,039
5.721739
0.382609
0.027356
0.06383
0.054711
0.179331
0.179331
0.179331
0.179331
0.179331
0.179331
0
0
0.305101
1,039
36
78
28.861111
0.911357
0.396535
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.357143
0
0.714286
0
0
0
0
null
0
0
0
0
0
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
ed6310c1ea129b19f313c29c98e5238a85546e42
27,046
py
Python
tools/ci/tests/test_pr_preview.py
xi/wpt
9ebc6151dae4d8200f33d51de12c84e3a3ff9b4e
[ "BSD-3-Clause" ]
1
2021-12-19T09:30:55.000Z
2021-12-19T09:30:55.000Z
tools/ci/tests/test_pr_preview.py
xi/wpt
9ebc6151dae4d8200f33d51de12c84e3a3ff9b4e
[ "BSD-3-Clause" ]
null
null
null
tools/ci/tests/test_pr_preview.py
xi/wpt
9ebc6151dae4d8200f33d51de12c84e3a3ff9b4e
[ "BSD-3-Clause" ]
1
2020-11-09T05:05:06.000Z
2020-11-09T05:05:06.000Z
try: from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer except ImportError: # Python 3 case from http.server import BaseHTTPRequestHandler, HTTPServer import contextlib import errno import json import os import shutil import stat import subprocess import sys import tempfile import threading subj...
30.457207
91
0.524662
2,501
27,046
5.427829
0.137545
0.025267
0.051934
0.079558
0.700258
0.689061
0.665709
0.641179
0.611934
0.600958
0
0.022953
0.35728
27,046
887
92
30.491545
0.757982
0.0325
0
0.567708
0
0.001302
0.122767
0.026283
0
0
0
0
0.061198
1
0.041667
false
0
0.016927
0.005208
0.095052
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed6747cd3c9c6a11ca960d0f66efc4ea112c4510
7,076
py
Python
ws/test.py
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
1
2017-05-02T14:13:51.000Z
2017-05-02T14:13:51.000Z
ws/test.py
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
null
null
null
ws/test.py
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import print_function from subprocess import Popen, PIPE from os import path import sys _passed = 0 _failed = 0 _xfailed = 0 _xpassed = 0 def read_suffix(filename, suffix): try: with open(path.splitext(filename)[0] + suffix, 'rb') as stream: return stre...
26.207407
79
0.611221
865
7,076
4.806936
0.153757
0.09139
0.053151
0.042328
0.602213
0.538721
0.508658
0.508658
0.508658
0.441799
0
0.018652
0.234737
7,076
269
80
26.304833
0.749215
0.107123
0
0.301775
0
0
0.083585
0
0
0
0
0
0
1
0.106509
false
0.071006
0.023669
0.017751
0.207101
0.100592
0
0
0
null
0
0
0
0
0
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
ed6adab7c952dbfbcdb40c6c453730b8503cc944
4,264
py
Python
qa/rpc-tests/wallet_listreceived.py
milesmanley/zelcash
8f5866a7e7b9cec4fcd037b350a3a9cab01c9dd0
[ "MIT" ]
3
2018-01-30T10:44:12.000Z
2018-02-12T01:00:25.000Z
qa/rpc-tests/wallet_listreceived.py
milesmanley/zelcash
8f5866a7e7b9cec4fcd037b350a3a9cab01c9dd0
[ "MIT" ]
3
2018-02-16T18:17:35.000Z
2018-07-06T04:50:48.000Z
qa/rpc-tests/wallet_listreceived.py
milesmanley/zel
8f5866a7e7b9cec4fcd037b350a3a9cab01c9dd0
[ "MIT" ]
3
2018-02-04T20:38:25.000Z
2018-02-19T23:02:09.000Z
#!/usr/bin/env python # Copyright (c) 2020 The Zcash developers # Distributed under the MIT software license, see the accompanying # file COPYING or https://www.opensource.org/licenses/mit-license.php. import sys; assert sys.version_info < (3,), ur"This script does not run under Python 3. Please use Python 2.7.x." fr...
41.398058
113
0.657833
599
4,264
4.519199
0.267112
0.073144
0.04433
0.036572
0.466199
0.350573
0.307351
0.227189
0.186184
0.114518
0
0.039666
0.213649
4,264
102
114
41.803922
0.767671
0.146811
0
0.202899
0
0
0.156819
0.012148
0
0
0
0
0.391304
0
null
null
0
0.072464
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
ed73b52a6ccb3cfe314824a15eac52cba28c4453
405
py
Python
app/migrations/0008_auto_20201127_0506.py
amol2512/ARANYANI
25c9b8adda2564dde366ddc207a5e50af91d94c7
[ "Unlicense" ]
null
null
null
app/migrations/0008_auto_20201127_0506.py
amol2512/ARANYANI
25c9b8adda2564dde366ddc207a5e50af91d94c7
[ "Unlicense" ]
null
null
null
app/migrations/0008_auto_20201127_0506.py
amol2512/ARANYANI
25c9b8adda2564dde366ddc207a5e50af91d94c7
[ "Unlicense" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-27 13:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0007_auto_20201127_0452'), ] operations = [ migrations.AlterField( model_name='donation', name='amount', ...
21.315789
71
0.609877
45
405
5.355556
0.844444
0
0
0
0
0
0
0
0
0
0
0.116041
0.276543
405
18
72
22.5
0.706485
0.111111
0
0
1
0
0.111732
0.064246
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed742ef0770ca6d55da577293d82d508928184f7
9,028
py
Python
seml/database.py
TUM-DAML/seml
89b87bc77f9ea360d59266a40a7cb4c58719965d
[ "MIT" ]
69
2019-12-14T06:04:54.000Z
2022-03-24T08:58:23.000Z
seml/database.py
TUM-DAML/seml
89b87bc77f9ea360d59266a40a7cb4c58719965d
[ "MIT" ]
60
2020-04-02T13:19:20.000Z
2022-03-31T10:24:43.000Z
seml/database.py
TUM-DAML/seml
89b87bc77f9ea360d59266a40a7cb4c58719965d
[ "MIT" ]
21
2020-04-02T10:04:51.000Z
2022-03-23T17:34:10.000Z
import gridfs import pymongo from pymongo.collection import Collection import logging from tqdm.auto import tqdm from seml.utils import s_if from seml.settings import SETTINGS from seml.errors import MongoDBError def get_collection(collection_name, mongodb_config=None, suffix=None): if mongodb_config is None: ...
34.857143
115
0.627381
1,133
9,028
4.832304
0.200353
0.038356
0.020457
0.006575
0.161644
0.099361
0.090228
0.077443
0.077443
0.057717
0
0.003333
0.26883
9,028
258
116
34.992248
0.826087
0.222308
0
0.078571
0
0
0.192434
0.031427
0
0
0
0
0
1
0.05
false
0.064286
0.064286
0
0.178571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed755c07c55cdf979869b43a95e50aff840725ca
3,918
py
Python
mmdet/models/roi_heads/base_roi_head.py
IssacCyj/eqlv2
b2b218339040cad85e37601b0c1339db52f2fb8e
[ "Apache-2.0" ]
95
2020-12-17T10:09:36.000Z
2022-03-31T13:44:44.000Z
mmdet/models/roi_heads/base_roi_head.py
IssacCyj/eqlv2
b2b218339040cad85e37601b0c1339db52f2fb8e
[ "Apache-2.0" ]
19
2021-03-20T00:58:47.000Z
2022-03-30T12:02:11.000Z
mmdet/models/roi_heads/base_roi_head.py
IssacCyj/eqlv2
b2b218339040cad85e37601b0c1339db52f2fb8e
[ "Apache-2.0" ]
14
2021-03-19T13:03:06.000Z
2022-02-26T23:50:55.000Z
from abc import ABCMeta, abstractmethod import torch.nn as nn from ..builder import build_shared_head class BaseRoIHead(nn.Module, metaclass=ABCMeta): """Base class for RoIHeads.""" def __init__(self, bbox_roi_extractor=None, bbox_head=None, mask_roi_extra...
30.609375
78
0.547984
447
3,918
4.568233
0.228188
0.058766
0.026445
0.038198
0.297747
0.24094
0.196866
0.169442
0.119491
0.119491
0
0.000399
0.359622
3,918
127
79
30.850394
0.813472
0.141654
0
0.364706
0
0
0.041369
0
0
0
0
0
0
1
0.141176
false
0.082353
0.035294
0
0.223529
0
0
0
0
null
0
0
0
0
0
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
ed769d184e0fdb09b56033c56f3d8991d167ad8a
24,761
py
Python
earth_enterprise/src/fusion/portableglobe/cutter/cgi-bin/core/glc_assembler.py
jnk7667/earthenterprise
b92c24e6cefe2808565fc5dc5120f0990fcaad6e
[ "Apache-2.0" ]
1
2018-06-08T14:30:06.000Z
2018-06-08T14:30:06.000Z
earth_enterprise/src/fusion/portableglobe/cutter/cgi-bin/core/glc_assembler.py
dave-ddy/earthenterprise
31d79c839564b6c485ca5013a5ac887a70fc2b69
[ "Apache-2.0" ]
null
null
null
earth_enterprise/src/fusion/portableglobe/cutter/cgi-bin/core/glc_assembler.py
dave-ddy/earthenterprise
31d79c839564b6c485ca5013a5ac887a70fc2b69
[ "Apache-2.0" ]
1
2020-12-16T09:26:10.000Z
2020-12-16T09:26:10.000Z
#!/usr/bin/env python # # Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
33.191689
121
0.618594
3,188
24,761
4.566186
0.141154
0.034004
0.023906
0.01209
0.296764
0.205262
0.132857
0.099059
0.075634
0.052964
0
0.006312
0.251444
24,761
745
122
33.236242
0.779067
0.110173
0
0.205589
0
0
0.143538
0.012553
0
0
0
0
0
0
null
null
0.007984
0.01996
null
null
0.015968
0
0
0
null
0
0
0
0
0
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
ed7a17f5e0ba25ba2ee2aca2a01b566ea7b410b1
3,689
py
Python
lattice.py
arashbm/lattice
e71587ab037ec417e8f6ef75cfadcb5d0ea11821
[ "MIT" ]
null
null
null
lattice.py
arashbm/lattice
e71587ab037ec417e8f6ef75cfadcb5d0ea11821
[ "MIT" ]
null
null
null
lattice.py
arashbm/lattice
e71587ab037ec417e8f6ef75cfadcb5d0ea11821
[ "MIT" ]
null
null
null
from array import array import itertools import copy import argparse import random class Lattice: def __init__(self, size, dimensions, seed, pc, initial_condition="full"): self.__size = size self.__dimensions = dimensions self.__pc = pc self.__gen = random.Random(seed) if i...
32.646018
77
0.580374
473
3,689
4.285412
0.243129
0.062161
0.041934
0.007893
0.133695
0.077948
0.036507
0.036507
0.036507
0.036507
0
0.013783
0.291949
3,689
112
78
32.9375
0.762251
0
0
0.113636
0
0
0.111683
0
0
0
0
0
0
0
null
null
0
0.056818
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
ed7ace6800597c54bfa44196399264e4579062a6
1,197
py
Python
django_netjsongraph/migrations/0005_snapshot.py
r14r/Django_App-D3_NetJSONGraph
cf3d75fcb2438716e207e1b9c759429661a4659e
[ "MIT" ]
null
null
null
django_netjsongraph/migrations/0005_snapshot.py
r14r/Django_App-D3_NetJSONGraph
cf3d75fcb2438716e207e1b9c759429661a4659e
[ "MIT" ]
null
null
null
django_netjsongraph/migrations/0005_snapshot.py
r14r/Django_App-D3_NetJSONGraph
cf3d75fcb2438716e207e1b9c759429661a4659e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-24 20:26 import uuid import django.db.models.deletion import django.utils.timezone import model_utils.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('django_netjsongraph', '0004_incr...
36.272727
147
0.632414
122
1,197
6.098361
0.540984
0.032258
0.076613
0.05914
0.142473
0.142473
0.142473
0.142473
0.142473
0
0
0.024096
0.23726
1,197
32
148
37.40625
0.7908
0.056809
0
0
1
0
0.128774
0.055062
0
0
0
0
0
1
0
false
0
0.2
0
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed7b38923e089bca833aeca7b2b72fd5e7296e89
979
py
Python
evennia/commands/default/cmdset_unloggedin.py
zeitkunst/evennia
1f254b2542fbefe400c114b3d7029522cdcb37b7
[ "BSD-3-Clause" ]
null
null
null
evennia/commands/default/cmdset_unloggedin.py
zeitkunst/evennia
1f254b2542fbefe400c114b3d7029522cdcb37b7
[ "BSD-3-Clause" ]
null
null
null
evennia/commands/default/cmdset_unloggedin.py
zeitkunst/evennia
1f254b2542fbefe400c114b3d7029522cdcb37b7
[ "BSD-3-Clause" ]
null
null
null
""" This module describes the unlogged state of the default game. The setting STATE_UNLOGGED should be set to the python path of the state instance in this module. """ from evennia.commands.cmdset import CmdSet from evennia.commands.default import unloggedin class UnloggedinCmdSet(CmdSet): """ Sets up the unl...
33.758621
61
0.721144
100
979
7.03
0.48
0.099573
0.241821
0
0
0
0
0
0
0
0
0.001255
0.185904
979
28
62
34.964286
0.880803
0.212462
0
0
0
0
0.046875
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.352941
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
ed7f41034ebfe28f15e81dc6fd6e782ac94a50aa
710
py
Python
setup.py
innovationgarage/tfprism
5b5dcd5bcefa265f08061d7e4705cd5fedeb0f93
[ "Apache-2.0" ]
null
null
null
setup.py
innovationgarage/tfprism
5b5dcd5bcefa265f08061d7e4705cd5fedeb0f93
[ "Apache-2.0" ]
1
2017-10-18T11:37:47.000Z
2017-10-18T11:37:47.000Z
setup.py
innovationgarage/tfprism
5b5dcd5bcefa265f08061d7e4705cd5fedeb0f93
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import setuptools setuptools.setup( name='tfprism', version='0.1', description='Transforms your tensorflow graph to automatically do data parallelism for training', author='Egil Moeller', author_email='egil@innovationgarage.no', url='https://github.com/innovationgarage/tf...
23.666667
101
0.615493
66
710
6.5
0.818182
0
0
0
0
0
0
0
0
0
0
0.00381
0.260563
710
29
102
24.482759
0.813333
0.028169
0
0
0
0
0.429608
0.07402
0
0
0
0
0
1
0
true
0
0.038462
0
0.038462
0
0
0
0
null
0
0
0
0
0
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
ed80c624ad91279fde5910eea5a087a87cb4a032
578
py
Python
Example 04 - ORM Simple/Example04b.py
tgroven/PythonSqlAlchemyLunchAndLearn
eebcb74cbf5db007ee9f2597303f4fe7ff1f5a44
[ "MIT" ]
null
null
null
Example 04 - ORM Simple/Example04b.py
tgroven/PythonSqlAlchemyLunchAndLearn
eebcb74cbf5db007ee9f2597303f4fe7ff1f5a44
[ "MIT" ]
null
null
null
Example 04 - ORM Simple/Example04b.py
tgroven/PythonSqlAlchemyLunchAndLearn
eebcb74cbf5db007ee9f2597303f4fe7ff1f5a44
[ "MIT" ]
null
null
null
from sqlalchemy.orm import relationship from base import session_factory from publisher import Publisher from author import Author from book import Book def print_books(): for book in session.query(Book).order_by(Book.name): print(book) print("\t%s" % book.publisher) print("\t%s" % book.aut...
34
90
0.719723
77
578
5.181818
0.337662
0.067669
0.082707
0.112782
0.293233
0.245614
0.245614
0.245614
0.245614
0
0
0
0.16609
578
17
91
34
0.827801
0
0
0
0
0
0.067358
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.4
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ed83a6482b0611d6df12d8a0124d17e247d3cb27
1,708
py
Python
falcon_limit/common/wrapper.py
royl88/falcon_limit
8da905301d85ae86c3a1fa515326c08deeab87cc
[ "Apache-2.0" ]
1
2018-02-08T06:34:07.000Z
2018-02-08T06:34:07.000Z
falcon_limit/common/wrapper.py
royl88/falcon_limit
8da905301d85ae86c3a1fa515326c08deeab87cc
[ "Apache-2.0" ]
null
null
null
falcon_limit/common/wrapper.py
royl88/falcon_limit
8da905301d85ae86c3a1fa515326c08deeab87cc
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 """ falcon_limit.common.limitwrapper ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 频率限制上下文包装 """ from __future__ import absolute_import from limits.util import parse_many import six def get_scope(resource, request): """取module + resource名称作为默认命名空间""" return (resource.__module__ + "." + resource.__class_...
31.62963
108
0.656323
188
1,708
5.691489
0.356383
0.056075
0.020561
0.050467
0.054206
0
0
0
0
0
0
0.000748
0.217213
1,708
53
109
32.226415
0.799551
0.347775
0
0
0
0
0.001988
0
0
0
0
0
0
1
0.190476
false
0
0.142857
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ed85b17c10b8bdd4bf99583a8f7c0c2e52769626
1,010
py
Python
plugins/webosint/who/whoami.py
Appnet1337/OSINT-SAN
8379c31eac598d0aff9d15ba74645800aa1352f4
[ "BSD-2-Clause" ]
313
2020-12-30T10:18:45.000Z
2022-03-23T21:11:05.000Z
plugins/webosint/who/whoami.py
ttt888ttt/OSINT-SAN
6be6f859a3c689f1ab62807a171ee78a2dcc17af
[ "BSD-2-Clause" ]
18
2020-12-18T18:19:09.000Z
2022-03-30T11:44:57.000Z
plugins/webosint/who/whoami.py
ttt888ttt/OSINT-SAN
6be6f859a3c689f1ab62807a171ee78a2dcc17af
[ "BSD-2-Clause" ]
65
2021-01-16T13:42:04.000Z
2022-03-25T12:50:27.000Z
import whois from pythonping import ping import re def whoami(target,post): #target=input("Enter the IP Address/Domain:") getweb=str(ping(target)) ip = re.compile('(([2][5][0-5]\.)|([2][0-4][0-9]\.)|([0-1]?[0-9]?[0-9]\.)){3}' +'(([2][5][0-5])|([2][0-4][0-9])|([0-1]?[0-9]?[0-9]))') match = ip.search...
28.857143
79
0.589109
156
1,010
3.794872
0.320513
0.081081
0.02027
0.091216
0.1875
0.148649
0.148649
0.050676
0.050676
0.050676
0
0.035591
0.137624
1,010
34
80
29.705882
0.644087
0.063366
0
0.290323
0
0.064516
0.333686
0.117585
0
0
0
0
0
1
0.032258
false
0
0.096774
0
0.129032
0.483871
0
0
0
null
0
0
0
0
0
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
71ece2a46694957defc025ae3b44b61025ea4840
845
py
Python
setup.py
SNAPsoftware/ANLffr
0dae88e0867ed75f8bad5e16e778a2aa27373e0d
[ "BSD-3-Clause" ]
3
2018-09-25T20:10:13.000Z
2020-02-14T17:37:06.000Z
setup.py
SNAPsoftware/ANLffr
0dae88e0867ed75f8bad5e16e778a2aa27373e0d
[ "BSD-3-Clause" ]
2
2016-01-21T21:03:09.000Z
2016-02-10T13:50:11.000Z
setup.py
SNAPsoftware/ANLffr
0dae88e0867ed75f8bad5e16e778a2aa27373e0d
[ "BSD-3-Clause" ]
11
2018-01-15T17:21:19.000Z
2021-08-04T02:24:20.000Z
# -*- coding: utf-8 -*- """ Setup details for ANLffr Created on Thu Oct 10 19:00:08 2013 @author: hari """ from setuptools import setup, find_packages setup( name='ANLffr', version='0.3.0a1', author='Hari Bharadwaj', author_email='hari.bharadwaj@gmail.com', packages=find_packages(include=['anlffr...
30.178571
75
0.653254
98
845
5.571429
0.72449
0.03663
0
0
0
0
0
0
0
0
0
0.028065
0.198817
845
27
76
31.296296
0.778434
0.115976
0
0
0
0
0.474966
0.032476
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
71ee520b0a5e10198958f57199fb9dd91b9d2af0
11,423
py
Python
celery/apps/worker.py
stratoukos/celery
da9c0bad1f52515a70ae28d48abddbf42571a39f
[ "BSD-3-Clause" ]
1
2015-12-02T17:12:09.000Z
2015-12-02T17:12:09.000Z
celery/apps/worker.py
stratoukos/celery
da9c0bad1f52515a70ae28d48abddbf42571a39f
[ "BSD-3-Clause" ]
null
null
null
celery/apps/worker.py
stratoukos/celery
da9c0bad1f52515a70ae28d48abddbf42571a39f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import import logging import os import socket import sys import warnings from functools import partial from billiard import cpu_count, current_process from celery import __version__, platforms, signals from celery.app import app_or_default from celery.app.abst...
35.039877
79
0.623041
1,328
11,423
5.154367
0.244729
0.01534
0.021914
0.013879
0.138934
0.065011
0.04485
0.021329
0
0
0
0.001904
0.264379
11,423
325
80
35.147692
0.812686
0.049111
0
0.118577
0
0
0.130893
0.004932
0
0
0
0
0
0
null
null
0.003953
0.090909
null
null
0.011858
0
0
0
null
0
0
0
0
0
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
71ef085f2965c94cbcfc97664a95ebb0805117a8
8,102
py
Python
points2mesh/PointCloudDataFlow.py
Hyde46/pc2mesh
f55506854ffe787e9dc0d9fb26e80e5debb005b2
[ "MIT" ]
null
null
null
points2mesh/PointCloudDataFlow.py
Hyde46/pc2mesh
f55506854ffe787e9dc0d9fb26e80e5debb005b2
[ "MIT" ]
null
null
null
points2mesh/PointCloudDataFlow.py
Hyde46/pc2mesh
f55506854ffe787e9dc0d9fb26e80e5debb005b2
[ "MIT" ]
null
null
null
import os import multiprocessing import tensorflow as tf from tensorpack.dataflow import ( PrintData, BatchData, PrefetchDataZMQ, TestDataSpeed, MapData, JoinData) from tensorpack.utils import logger from tensorpack.dataflow.serialize import LMDBSerializer from sklearn.neighbors import NearestNeighbors import num...
32.801619
227
0.652185
1,099
8,102
4.711556
0.311192
0.031286
0.029355
0.028389
0.175744
0.171881
0.169564
0.169564
0.154114
0.140595
0
0.065619
0.238213
8,102
246
228
32.934959
0.773331
0.08825
0
0.174312
0
0
0.108506
0.038178
0
0
0
0
0.045872
0
null
null
0
0.091743
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
71f0cb6d7da30336dc3eaa914726a15a9c298c20
1,718
py
Python
Lab3/ProLab/bestLength.py
PanosAntoniadis/slp-ntua
f144cd82fddbdfab27dd1ed025fb0d4c9a83a15f
[ "MIT" ]
10
2019-03-17T17:34:49.000Z
2021-07-26T07:59:32.000Z
Lab3/ProLab/bestLength.py
PanosAntoniadis/slp-ntua
f144cd82fddbdfab27dd1ed025fb0d4c9a83a15f
[ "MIT" ]
null
null
null
Lab3/ProLab/bestLength.py
PanosAntoniadis/slp-ntua
f144cd82fddbdfab27dd1ed025fb0d4c9a83a15f
[ "MIT" ]
2
2020-01-11T13:06:24.000Z
2021-02-07T16:05:28.000Z
# A simple script that prints as a scatterplot the # length of each sentence in our training set in # order to choose the appropriate for our network. import os import warnings import torch import sys from utils.load_embeddings import load_word_vectors from config import EMB_PATH from utils.load_datasets import load_M...
33.038462
77
0.717113
254
1,718
4.728346
0.476378
0.019983
0.018318
0.024979
0.118235
0.084929
0.043297
0.043297
0.043297
0
0
0.02171
0.142026
1,718
51
78
33.686275
0.79308
0.386496
0
0
0
0
0.084142
0
0
0
0
0
0
1
0
false
0
0.346154
0
0.346154
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
71f21cf0cc3e65bc6f5decb102a7269904a91063
1,470
py
Python
xknx/knx/dpt_signed_relative_value.py
phbaer/xknx
00b7cd4bda79d8bd6f8408a3596ab77a644b6c35
[ "MIT" ]
null
null
null
xknx/knx/dpt_signed_relative_value.py
phbaer/xknx
00b7cd4bda79d8bd6f8408a3596ab77a644b6c35
[ "MIT" ]
null
null
null
xknx/knx/dpt_signed_relative_value.py
phbaer/xknx
00b7cd4bda79d8bd6f8408a3596ab77a644b6c35
[ "MIT" ]
null
null
null
"""Implementation of Basic KNX 2-Byte.""" from xknx.exceptions import ConversionError from .dpt import DPTBase class DPTSignedRelativeValue(DPTBase): """ Abstraction for KNX 1 Byte "1-octet Signed Relative Value". DPT 6.010 and 6.001 """ value_min = -128 value_max = 127 unit = "counter...
23.333333
82
0.609524
178
1,470
4.882022
0.410112
0.04603
0.058688
0.027618
0.096663
0
0
0
0
0
0
0.042226
0.291156
1,470
62
83
23.709677
0.791747
0.229932
0
0.16129
0
0
0.043233
0
0
0
0.013158
0
0
1
0.096774
false
0
0.064516
0
0.580645
0
0
0
0
null
0
0
0
0
0
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
71f331e14bf1607264d225511924f2923389242b
5,084
py
Python
src/agents.py
andreweskeclarke/reinforcement_learning
f8ee823c03b9103053b41905a4cb54d28c55cafd
[ "MIT" ]
5
2016-04-01T02:32:56.000Z
2019-07-12T07:18:56.000Z
src/agents.py
andreweskeclarke/reinforcement_learning
f8ee823c03b9103053b41905a4cb54d28c55cafd
[ "MIT" ]
null
null
null
src/agents.py
andreweskeclarke/reinforcement_learning
f8ee823c03b9103053b41905a4cb54d28c55cafd
[ "MIT" ]
null
null
null
import math import random class Agent: def __init__(self, actions, options={}): self.rgen = random.SystemRandom() # cryptographically secure, unlike random self.actions = actions self.last_action = None def __choose_exploitative_action__(self): raise Exception('Not implemented!...
36.57554
107
0.679583
613
5,084
5.274062
0.133768
0.058769
0.047634
0.018559
0.692855
0.652026
0.562945
0.472935
0.429941
0.400247
0
0.00507
0.224036
5,084
138
108
36.84058
0.814449
0.007671
0
0.583333
0
0
0.036104
0
0
0
0
0
0.018519
1
0.231481
false
0
0.018519
0.074074
0.398148
0
0
0
0
null
0
0
0
0
0
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
71f7c2f8b0c6475d99bbf9e529612a40f271568b
1,524
py
Python
webapp/search_entity.py
euske/osmtools
581da9129f489cb57763578127ead42fa43b5c1f
[ "MIT" ]
null
null
null
webapp/search_entity.py
euske/osmtools
581da9129f489cb57763578127ead42fa43b5c1f
[ "MIT" ]
null
null
null
webapp/search_entity.py
euske/osmtools
581da9129f489cb57763578127ead42fa43b5c1f
[ "MIT" ]
3
2015-12-27T22:13:40.000Z
2019-12-23T14:34:54.000Z
#!/usr/bin/env python import math import re import array def getdist((lat0,lng0),(lat1,lng1)): dx = abs(lat0-lat1)*111 dy = abs(lng0-lng1)*90 return math.sqrt(dx*dx+dy*dy) WORDS = re.compile(ur'\w+', re.U) def getgrams(s): for m in WORDS.finditer(s): w = m.group(0) if len(w) == 1: ...
31.75
76
0.529528
217
1,524
3.714286
0.331797
0.049628
0.033499
0.047146
0.057072
0
0
0
0
0
0
0.039347
0.316273
1,524
47
77
32.425532
0.734165
0.049869
0
0.05
0
0
0.133657
0
0
0
0
0
0
0
null
null
0
0.075
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
71fcb827430f0941bb21df406c077d99476128c9
657
py
Python
molecule/default/tests/test_default.py
while-true-do/ansible-role-srv_gitea
538ccdfffaf2ad065a94d1d02692810aae3aaa6e
[ "BSD-3-Clause" ]
3
2019-06-03T17:36:34.000Z
2019-09-06T12:16:42.000Z
molecule/default/tests/test_default.py
while-true-do/ansible-role-srv_gitea
538ccdfffaf2ad065a94d1d02692810aae3aaa6e
[ "BSD-3-Clause" ]
8
2019-08-09T09:18:09.000Z
2019-11-04T08:36:42.000Z
molecule/default/tests/test_default.py
while-true-do/ansible-role-srv_gitea
538ccdfffaf2ad065a94d1d02692810aae3aaa6e
[ "BSD-3-Clause" ]
null
null
null
import os import testinfra.utils.ansible_runner testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') def test_gitea_binary_file(host): file = host.file('/usr/local/bin/gitea') assert file.exists def test_gitea_command(host): cmd =...
19.323529
63
0.707763
93
657
4.806452
0.451613
0.06264
0.107383
0.120805
0.089485
0
0
0
0
0
0
0.001832
0.16895
657
33
64
19.909091
0.81685
0
0
0.105263
0
0
0.141553
0.035008
0
0
0
0
0.368421
1
0.210526
false
0
0.105263
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
71fe825190b06ad663030f649f37996c3013dc02
17,030
py
Python
tests/globals/test_manager.py
MisterPup/OpenStack-Neat-Ceilometer
4e6685ea1a9deb75d1186e60097a357251eaed8d
[ "Apache-2.0" ]
2
2015-09-05T21:40:47.000Z
2015-09-30T02:13:17.000Z
tests/globals/test_manager.py
MisterPup/OpenStack-Neat-Ceilometer
4e6685ea1a9deb75d1186e60097a357251eaed8d
[ "Apache-2.0" ]
null
null
null
tests/globals/test_manager.py
MisterPup/OpenStack-Neat-Ceilometer
4e6685ea1a9deb75d1186e60097a357251eaed8d
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 Anton Beloglazov # # 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 writ...
42.468828
82
0.462889
1,628
17,030
4.688575
0.154791
0.033015
0.055024
0.045854
0.568846
0.554042
0.50714
0.482248
0.449627
0.402463
0
0.035131
0.403288
17,030
400
83
42.575
0.716001
0.032472
0
0.536723
0
0
0.112191
0
0
0
0
0
0.064972
1
0.036723
false
0.062147
0.031073
0
0.070621
0
0
0
0
null
0
0
0
0
0
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
9c010e728a11fa4107f9ad0baa6086e87107f9dd
2,604
py
Python
Crawler.py
Sayeedsalam/web-scraper-and-crawler
97fa5db18bd155fd9541bfe92cfe86ad8e1944d5
[ "MIT" ]
2
2020-05-27T04:29:36.000Z
2021-01-27T09:31:34.000Z
Crawler.py
eventdata/web-scraper-and-crawler
97fa5db18bd155fd9541bfe92cfe86ad8e1944d5
[ "MIT" ]
null
null
null
Crawler.py
eventdata/web-scraper-and-crawler
97fa5db18bd155fd9541bfe92cfe86ad8e1944d5
[ "MIT" ]
1
2018-10-30T00:19:24.000Z
2018-10-30T00:19:24.000Z
import json import urllib import scrapy from scrapy.crawler import CrawlerProcess from scrapy.linkextractors import LinkExtractor from scrapy.item import Item from NewspaperTextExtractor import NewspaperTextExtractor from newspaper.article import Article from pymongo.mongo_client import MongoClient from newsplease i...
27.125
117
0.623272
286
2,604
5.506993
0.423077
0.022857
0.040635
0.022857
0.046984
0.046984
0
0
0
0
0
0.018489
0.273041
2,604
95
118
27.410526
0.813524
0.014593
0
0.031746
0
0
0.127925
0
0
0
0
0
0
0
null
null
0.031746
0.15873
null
null
0.079365
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9c11145cd54b2b639d7bac5b4bca394dd40d39f3
258
py
Python
code/ch05-recovering-memory/memutil.py
tamnguyenchi93/python-memory-management-course
e858b1a5e4f423fae5b431a7727a9eb953e8b6a0
[ "MIT" ]
30
2020-08-24T14:01:26.000Z
2022-03-26T18:55:55.000Z
code/ch05-recovering-memory/memutil.py
danielhao5/python-memory-management-course
89015877d858488e018e07fad52eec7bf3acd394
[ "MIT" ]
null
null
null
code/ch05-recovering-memory/memutil.py
danielhao5/python-memory-management-course
89015877d858488e018e07fad52eec7bf3acd394
[ "MIT" ]
17
2020-08-21T01:52:21.000Z
2021-11-28T13:11:11.000Z
import ctypes # We use ctypes module to access our unreachable objects by memory address. class PyObject(ctypes.Structure): _fields_ = [("refcnt", ctypes.c_long)] def refs(obj_id) -> int: obj = PyObject.from_address(obj_id) return obj.refcnt
21.5
75
0.724806
37
258
4.891892
0.72973
0.055249
0
0
0
0
0
0
0
0
0
0
0.178295
258
11
76
23.454545
0.853774
0.282946
0
0
0
0
0.032787
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1