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
2cebdead18ad389bf24148281751869ec257d291
2,310
py
Python
mayan/apps/ocr/links.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
3
2020-02-03T11:58:51.000Z
2020-10-20T03:52:21.000Z
mayan/apps/ocr/links.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
null
null
null
mayan/apps/ocr/links.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
2
2020-10-24T11:10:06.000Z
2021-03-03T20:05:38.000Z
from __future__ import absolute_import from django.utils.translation import ugettext_lazy as _ from .permissions import (PERMISSION_OCR_DOCUMENT, PERMISSION_OCR_DOCUMENT_DELETE, PERMISSION_OCR_QUEUE_ENABLE_DISABLE, PERMISSION_OCR_CLEAN_ALL_PAGES) submit_document = {'text': _('submit to OCR queue'), 'view': '...
100.434783
286
0.756277
284
2,310
5.711268
0.207746
0.120222
0.162762
0.15783
0.539457
0.451295
0.406905
0.240444
0.125771
0.086313
0
0
0.079221
2,310
22
287
105
0.762576
0
0
0
0
0
0.435931
0.072727
0
0
0
0
0
1
0
false
0
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
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2ced9c40534f25cb9f32c19ddaa9103139465988
2,064
py
Python
link/server.py
bbayles/link
48cf656fac6c31c0aa82152ce68767e469ed5f06
[ "Apache-2.0" ]
9
2015-03-18T18:23:41.000Z
2016-11-18T09:16:02.000Z
link/server.py
bbayles/link
48cf656fac6c31c0aa82152ce68767e469ed5f06
[ "Apache-2.0" ]
3
2015-11-07T16:56:51.000Z
2016-11-22T19:32:09.000Z
link/server.py
bbayles/link
48cf656fac6c31c0aa82152ce68767e469ed5f06
[ "Apache-2.0" ]
7
2015-05-15T18:12:40.000Z
2017-03-16T18:42:25.000Z
#!/usr/bin/python from __future__ import absolute_import from flask import Flask, request, json, Response from .link import lnk, Wrapper from subprocess import Popen, signal app = Flask(__name__) class LnkServer(Wrapper): """ The lnk server connects to the underlying configuration database and can get, al...
25.8
79
0.578004
262
2,064
4.442748
0.396947
0.075601
0.024055
0.02921
0.041237
0.041237
0
0
0
0
0
0.002922
0.336725
2,064
79
80
26.126582
0.847334
0.296512
0
0.1
0
0
0.025738
0
0
0
0
0.025316
0
1
0.125
false
0.025
0.15
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2cf0d03144266c5d106f0fdbfd18abeb05bbbb91
330
py
Python
DengNian/0001/genaratorActiveCode.py
DengNian/pythonlearn
38c5cdb398ae21c7463ce55140c44d5756702fa9
[ "MIT" ]
null
null
null
DengNian/0001/genaratorActiveCode.py
DengNian/pythonlearn
38c5cdb398ae21c7463ce55140c44d5756702fa9
[ "MIT" ]
null
null
null
DengNian/0001/genaratorActiveCode.py
DengNian/pythonlearn
38c5cdb398ae21c7463ce55140c44d5756702fa9
[ "MIT" ]
null
null
null
import uuid def genaratorActiveCode(number=200): result = [] while True is True: uuid_id=uuid.uuid1() tem=str(uuid_id).replace('-','') tmmm=str(tem[4:]) if not tmmm in result: result.append(tmmm) if len(result) is number: break print result if __name__=='__main__': genaratorActiveCode(10) print"...
19.411765
36
0.693939
47
330
4.659574
0.595745
0.054795
0
0
0
0
0
0
0
0
0
0.025362
0.163636
330
17
37
19.411765
0.768116
0
0
0
0
0
0.054381
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.133333
0
0
0
null
0
0
0
0
0
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
2cf32dd213bac97da8318b430d80caeb4a814779
717
py
Python
pingle/policies/random.py
advancedresearch/pingle
ae5535d8d427bea4bbc174712c5f94a41729653a
[ "MIT" ]
2
2018-05-23T11:29:46.000Z
2018-05-28T17:49:24.000Z
pingle/policies/random.py
advancedresearch/pingle
ae5535d8d427bea4bbc174712c5f94a41729653a
[ "MIT" ]
6
2018-05-24T10:49:52.000Z
2018-05-28T20:56:44.000Z
pingle/policies/random.py
advancedresearch/pingle
ae5535d8d427bea4bbc174712c5f94a41729653a
[ "MIT" ]
1
2018-05-23T11:30:17.000Z
2018-05-23T11:30:17.000Z
import numpy as np from pingle.core.policy import Policy class RandomPolicy: actions = [] def get_action(self, *, observation, previous_reward, public_speech): """ Parameters ---------- observation: Observation ...
26.555556
68
0.570432
71
717
5.690141
0.619718
0.069307
0.049505
0.074257
0
0
0
0
0
0
0
0.002183
0.361227
717
26
69
27.576923
0.879913
0.333333
0
0
0
0
0.135678
0
0
0
0
0
0.090909
1
0.090909
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2cf4dd73431aad8532f416cc1cb01d2b8c039adf
2,534
py
Python
server/server/conftest.py
omert-visiblerisk/connective
c6b81700b35e2d8355ad1535b182093595fff8b7
[ "MIT" ]
1
2021-07-22T13:42:02.000Z
2021-07-22T13:42:02.000Z
server/server/conftest.py
omert-visiblerisk/connective
c6b81700b35e2d8355ad1535b182093595fff8b7
[ "MIT" ]
1
2021-07-28T05:14:19.000Z
2021-07-28T05:14:19.000Z
server/server/conftest.py
Eyal-VR/connective
46857dd79dc58f63c3afb9791ecf8adf853a6c57
[ "MIT" ]
null
null
null
import pytest from server.organizations.models import ( Activity, Organization, OrganizationMember, SchoolActivityGroup, SchoolActivityOrder, ) from server.organizations.tests.factories import ( ActivityFactory, OrganizationFactory, SchoolActivityGroupFactory, SchoolActivityOrderFac...
23.036364
81
0.744672
232
2,534
8.038793
0.228448
0.083646
0.09437
0.035389
0.075067
0.042895
0
0
0
0
0
0.000473
0.164957
2,534
109
82
23.247706
0.880907
0
0
0.1375
0
0
0.032755
0
0
0
0
0
0
1
0.15
false
0
0.0875
0.125
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
2cf54c273fead59d0540730114b248233bca2a1c
439
py
Python
src/homework/homework10/main.py
acc-cosc-1336/cosc-1336-spring-2018-EricScotty
80c0249a583dc178cfc7bb95b851d7f3240dc3e9
[ "MIT" ]
null
null
null
src/homework/homework10/main.py
acc-cosc-1336/cosc-1336-spring-2018-EricScotty
80c0249a583dc178cfc7bb95b851d7f3240dc3e9
[ "MIT" ]
null
null
null
src/homework/homework10/main.py
acc-cosc-1336/cosc-1336-spring-2018-EricScotty
80c0249a583dc178cfc7bb95b851d7f3240dc3e9
[ "MIT" ]
null
null
null
from src.homework.homework10.player import Player from src.homework.homework10.game_log import GameLog #write import statement for GameLog class #from player import Player #from game_log import GameLog #Create a game log instance gamelog1 = GameLog() #SEnd the game_log instance to Player class as an argu...
21.95
59
0.774487
63
439
5.31746
0.460317
0.104478
0.089552
0.149254
0
0
0
0
0
0
0
0.019284
0.173121
439
19
60
23.105263
0.903581
0.487472
0
0
0
0
0
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
2cf8365b2bf214c235523b8fccbfcdb8dda6c45a
600
py
Python
server/genanki/models/input.py
Maximus0000/Notion-to-Anki
9382a9c95938355df5e2002e8c5caf5a3837dac0
[ "MIT" ]
1
2021-08-30T11:46:07.000Z
2021-08-30T11:46:07.000Z
src/genanki/models/input.py
alpkaanaksu/notion2anki
928c279bf16c49be24f80cf1d08ce589eacf2053
[ "MIT" ]
null
null
null
src/genanki/models/input.py
alpkaanaksu/notion2anki
928c279bf16c49be24f80cf1d08ce589eacf2053
[ "MIT" ]
null
null
null
from genanki import Model def input_model(id, name, css): return Model(id, name, fields=[ {"name": "Front"}, {"name": "Back"}, {"name": "Input"}, {"name": "MyMedia"}, ], templates=[ ...
28.571429
78
0.318333
41
600
4.634146
0.585366
0.073684
0.115789
0
0
0
0
0
0
0
0
0.003378
0.506667
600
20
79
30
0.638514
0
0
0.111111
0
0
0.225376
0.036728
0
0
0
0
0
1
0.055556
false
0
0.055556
0.055556
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2cfc3cb20afebd82dea5ac5f453cdfb251b24d7b
4,730
py
Python
neurodocker/interfaces/tests/utils.py
AndysWorth/neurodocker
b4e5f470e5b883bd4aa8a3f20a0dde197b79b8dc
[ "Apache-2.0" ]
null
null
null
neurodocker/interfaces/tests/utils.py
AndysWorth/neurodocker
b4e5f470e5b883bd4aa8a3f20a0dde197b79b8dc
[ "Apache-2.0" ]
null
null
null
neurodocker/interfaces/tests/utils.py
AndysWorth/neurodocker
b4e5f470e5b883bd4aa8a3f20a0dde197b79b8dc
[ "Apache-2.0" ]
null
null
null
"""Utilities for `neurodocker.interfaces.tests`.""" import io import logging import os from pathlib import Path import posixpath import subprocess from neurodocker.generators import Dockerfile from neurodocker.generators import SingularityRecipe from neurodocker.utils import get_docker_client from neurodocker.utils i...
32.39726
86
0.672093
616
4,730
4.983766
0.288961
0.025407
0.039088
0.00684
0.364821
0.323127
0.298371
0.250163
0.250163
0.250163
0
0.001583
0.198732
4,730
145
87
32.62069
0.808443
0.148837
0
0.23913
0
0
0.113648
0
0
0
0
0.006897
0.021739
1
0.054348
false
0.086957
0.108696
0
0.228261
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2cfe0e43b7784aac2d9da28765930b3ed0fe9828
596
py
Python
tests/test_abstracts.py
ahlusar1989/fileprocessor
ad8557e86b054ebc14d9b2364ddfa9d7104e2391
[ "MIT" ]
1
2021-06-27T22:49:02.000Z
2021-06-27T22:49:02.000Z
tests/test_abstracts.py
DonaldWhyte/fileprocessor
5ccbbae87387b5683b9e5fc5fe559a0d3e50b9c1
[ "MIT" ]
null
null
null
tests/test_abstracts.py
DonaldWhyte/fileprocessor
5ccbbae87387b5683b9e5fc5fe559a0d3e50b9c1
[ "MIT" ]
null
null
null
import unittest import sys import os sys.path.append(os.environ.get("PROJECT_ROOT_DIRECTORY", ".")) from fileprocessor.abstracts import * class TestAbstractClasses(unittest.TestCase): def test_searcher(self): searcher = Searcher() with self.assertRaises(NotImplementedError): searcher.search("dir"...
25.913043
63
0.736577
64
596
6.78125
0.484375
0.048387
0.138249
0.269585
0
0
0
0
0
0
0
0
0.147651
596
23
64
25.913043
0.854331
0
0
0.166667
0
0
0.073043
0.038261
0
0
0
0
0.166667
1
0.166667
false
0
0.222222
0
0.444444
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2cfe9fbc98c26cf2f02a2e3c1f625f77aff64a16
1,226
py
Python
api/migrations/0005_auto_20200803_0208.py
yellowjaguar5/lnldb
dea7708f5e4e103ef6ef968c9f3a4deaa58861c5
[ "MIT" ]
5
2017-09-25T21:24:59.000Z
2021-12-18T17:08:13.000Z
api/migrations/0005_auto_20200803_0208.py
yellowjaguar5/lnldb
dea7708f5e4e103ef6ef968c9f3a4deaa58861c5
[ "MIT" ]
304
2015-03-24T17:44:22.000Z
2022-03-29T14:09:41.000Z
api/migrations/0005_auto_20200803_0208.py
yellowjaguar5/lnldb
dea7708f5e4e103ef6ef968c9f3a4deaa58861c5
[ "MIT" ]
10
2017-10-24T02:18:12.000Z
2021-09-20T20:40:25.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-08-03 06:08 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depend...
36.058824
149
0.623165
123
1,226
6.04065
0.617886
0.032301
0.037685
0.059219
0
0
0
0
0
0
0
0.024652
0.238989
1,226
33
150
37.151515
0.771704
0.056281
0
0.076923
1
0
0.120451
0.023397
0
0
0
0
0
1
0
false
0
0.153846
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fa020fc0ee95d9127bbd61e5c4cf971c7320aaa5
4,488
py
Python
rootfs/api/permissions.py
jianxiaoguo/controller
8cc1e11601e5725e583f0fa82cdb2c10872ca485
[ "Apache-2.0" ]
null
null
null
rootfs/api/permissions.py
jianxiaoguo/controller
8cc1e11601e5725e583f0fa82cdb2c10872ca485
[ "Apache-2.0" ]
19
2020-07-30T06:31:29.000Z
2022-03-14T07:33:44.000Z
rootfs/api/permissions.py
jianxiaoguo/controller
8cc1e11601e5725e583f0fa82cdb2c10872ca485
[ "Apache-2.0" ]
9
2020-07-30T02:50:12.000Z
2020-12-11T06:44:19.000Z
import base64 from rest_framework import permissions from django.conf import settings from django.contrib.auth.models import AnonymousUser from api import manager from api.models import Blocklist, App def get_app_status(app): blocklist = Blocklist.get_blocklist(app) if blocklist: return False, blockli...
30.951724
93
0.644608
529
4,488
5.362949
0.230624
0.035249
0.047938
0.070497
0.531547
0.46105
0.412407
0.370462
0.316884
0.316884
0
0.003049
0.269162
4,488
144
94
31.166667
0.86189
0.209447
0
0.378378
0
0
0.062292
0.00756
0
0
0
0
0
1
0.135135
false
0
0.081081
0.013514
0.621622
0
0
0
0
null
0
0
0
0
0
0
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
fa02ad5206cd0e3ddf32c7d8101eae4502550133
249
py
Python
20181026-TestingInJupyter/tasks.py
chmp/misc-exp
2edc2ed598eb59f4ccb426e7a5c1a23343a6974b
[ "MIT" ]
6
2017-10-31T20:54:37.000Z
2020-10-23T19:03:00.000Z
20181026-TestingInJupyter/tasks.py
chmp/misc-exp
2edc2ed598eb59f4ccb426e7a5c1a23343a6974b
[ "MIT" ]
7
2020-03-24T16:14:34.000Z
2021-03-18T20:51:37.000Z
20181026-TestingInJupyter/tasks.py
chmp/misc-exp
2edc2ed598eb59f4ccb426e7a5c1a23343a6974b
[ "MIT" ]
1
2019-07-29T07:55:49.000Z
2019-07-29T07:55:49.000Z
from invoke import task @task() def precommit(c): format(c) test(c) @task() def format(c): c.run("black src tests setup.py tasks.py") @task() def test(c): c.run("pytest tests") c.run("pytest --nbval-lax notebooks/*.ipynb")
13.105263
49
0.614458
40
249
3.825
0.525
0.137255
0.065359
0
0
0
0
0
0
0
0
0
0.204819
249
18
50
13.833333
0.772727
0
0
0.25
0
0
0.325301
0
0
0
0
0
0
1
0.25
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fa09d7716ccb3f7dc2dc10f79e18124af1afacf9
4,566
py
Python
scripts/announce_at_waypoints.py
strands-project/planning_tutorial
b9ee4c458aa29e5975c5f8e0a0ac7fb17541d936
[ "MIT" ]
4
2016-06-19T12:20:10.000Z
2020-03-05T15:24:13.000Z
scripts/announce_at_waypoints.py
strands-project/planning_tutorial
b9ee4c458aa29e5975c5f8e0a0ac7fb17541d936
[ "MIT" ]
3
2016-06-01T09:10:27.000Z
2018-07-10T08:59:33.000Z
scripts/announce_at_waypoints.py
strands-project/planning_tutorial
b9ee4c458aa29e5975c5f8e0a0ac7fb17541d936
[ "MIT" ]
4
2016-05-28T16:23:20.000Z
2022-02-27T07:29:56.000Z
#!/usr/bin/env python import rospy import actionlib from strands_executive_msgs.msg import * from actionlib_msgs.msg import GoalStatus from strands_executive_msgs.mdp_action_utils import add_string_argument def create_ltl_task_spec(ltl_formula): """ Turn an LTL formula into an MDP domain specification. There ...
39.704348
167
0.691415
603
4,566
5.031509
0.344942
0.029005
0.023731
0.018457
0.165788
0.117007
0.099209
0.099209
0.099209
0.099209
0
0.007251
0.244853
4,566
114
168
40.052632
0.87268
0.320193
0
0.08
0
0
0.067985
0.012834
0
0
0
0
0
0
null
null
0.02
0.1
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
fa0d14a881ef2657bf403dbc547ac47a6e5a6bb6
1,260
py
Python
RaspberryPi-script/sensor/air_qu.py
RDpWTeHM/RaspberryPi
c9b7e3237e4d769048ddc8963c7f8f1b14b8a207
[ "Apache-2.0" ]
11
2019-04-07T05:38:03.000Z
2022-03-29T09:49:17.000Z
RaspberryPi-script/sensor/air_qu.py
RDpWTeHM/RaspberryPi
c9b7e3237e4d769048ddc8963c7f8f1b14b8a207
[ "Apache-2.0" ]
null
null
null
RaspberryPi-script/sensor/air_qu.py
RDpWTeHM/RaspberryPi
c9b7e3237e4d769048ddc8963c7f8f1b14b8a207
[ "Apache-2.0" ]
14
2019-03-20T08:11:01.000Z
2021-06-29T01:47:37.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import serial import time ser = serial.Serial( port='/dev/ttyAMA0', # number of device, numbering starts at baudrate=9600, # baud rate bytesize=serial.EIGHTBITS, # number of databits parity=serial.PARITY_NONE, # enable parity checking stopbi...
24.705882
74
0.577778
177
1,260
4.101695
0.508475
0.060606
0.035813
0.046832
0
0
0
0
0
0
0
0.061471
0.276984
1,260
50
75
25.2
0.735456
0.207937
0
0.097561
0
0
0.052685
0
0
0
0.016211
0
0
0
null
null
0
0.04878
null
null
0.073171
0
0
0
null
0
0
0
0
0
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
fa13e9c55d368ce383d584c2b7249b46a37045f6
310
py
Python
activator_meta.py
karwootang-gft/tb-houston-service
cd22d334bdac7ecea93f6640b9825286d10d1f26
[ "Apache-2.0" ]
1
2020-03-06T17:34:45.000Z
2020-03-06T17:34:45.000Z
activator_meta.py
karwootang-gft/tb-houston-service
cd22d334bdac7ecea93f6640b9825286d10d1f26
[ "Apache-2.0" ]
67
2020-05-29T08:23:26.000Z
2021-07-28T06:59:45.000Z
activator_meta.py
karwootang-gft/tb-houston-service
cd22d334bdac7ecea93f6640b9825286d10d1f26
[ "Apache-2.0" ]
null
null
null
# System modules # 3rd party modules from models import Activator def read_one(): """ Responds to a request for /api/activator_meta/. :param activator: :return: count of activators """ count = Activator.query.count() data = { 'count': count } return data, 200
17.222222
51
0.612903
36
310
5.222222
0.722222
0
0
0
0
0
0
0
0
0
0
0.0181
0.287097
310
17
52
18.235294
0.832579
0.458065
0
0
0
0
0.034965
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
fa2082e813771d0444d879fa2729680de00b7c0c
775
py
Python
0x02-python-import_modules/100-my_calculator.py
flourishcodes/holbertonschool-higher_level_programming
6fda5cca4ed960d7f3d40c26292ad55e1e7d3065
[ "MIT" ]
null
null
null
0x02-python-import_modules/100-my_calculator.py
flourishcodes/holbertonschool-higher_level_programming
6fda5cca4ed960d7f3d40c26292ad55e1e7d3065
[ "MIT" ]
null
null
null
0x02-python-import_modules/100-my_calculator.py
flourishcodes/holbertonschool-higher_level_programming
6fda5cca4ed960d7f3d40c26292ad55e1e7d3065
[ "MIT" ]
4
2018-05-01T05:04:15.000Z
2020-04-28T22:22:54.000Z
#!/usr/bin/python3 if __name__ == "__main__": from calculator_1 import add, sub, mul, div from sys import argv, exit if len(argv) != 4: print("Usage: ./100-my_calculator.py <a> <operator> <b>") exit(1) op = argv[2] if op is not "+" and op is not "-" and \ op is not "*" and op...
32.291667
69
0.463226
113
775
3.088496
0.345133
0.091691
0.080229
0.17192
0.375358
0.375358
0.375358
0.320917
0.320917
0.320917
0
0.02037
0.303226
775
23
70
33.695652
0.625926
0.021935
0
0.095238
0
0
0.221929
0.029062
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0.285714
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
fa2ce5a087470d453c6c79d46286184021b0b466
1,878
py
Python
tests/fix_testnet.py
MatthewWesley/specter-desktop
03535fc6d4b5c2cb4fc7bbca8c5205d5ad38740f
[ "MIT" ]
null
null
null
tests/fix_testnet.py
MatthewWesley/specter-desktop
03535fc6d4b5c2cb4fc7bbca8c5205d5ad38740f
[ "MIT" ]
null
null
null
tests/fix_testnet.py
MatthewWesley/specter-desktop
03535fc6d4b5c2cb4fc7bbca8c5205d5ad38740f
[ "MIT" ]
null
null
null
""" A set of fixtures which assume a testnet-node on localhost. This can be helpfull while developing. """ from cryptoadvance.specter.user import User, hash_password import pytest from cryptoadvance.specter.specter import Specter from cryptoadvance.specter.user import User @pytest.fixture def specter_testnet_config...
31.3
102
0.589989
193
1,878
5.606218
0.481865
0.050832
0.066543
0.051756
0.07024
0.07024
0
0
0
0
0
0.003846
0.307774
1,878
59
103
31.830508
0.828462
0.15442
0
0.042553
0
0
0.113868
0
0
0
0
0
0.042553
1
0.021277
false
0.085106
0.085106
0
0.106383
0
0
0
0
null
0
0
0
0
0
0
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
fa2eed922fa5e69d17940429dba020df5745281a
9,274
py
Python
backend/fms_core/migrations/0008_v2_5_0.py
c3g/freezeman
bc4b6c8a2876e888ce41b7d14127cc22bc2b2143
[ "W3C" ]
2
2021-07-31T13:20:08.000Z
2021-09-28T13:18:55.000Z
backend/fms_core/migrations/0008_v2_5_0.py
c3g/freezeman
bc4b6c8a2876e888ce41b7d14127cc22bc2b2143
[ "W3C" ]
71
2021-03-12T22:08:19.000Z
2022-03-25T15:24:40.000Z
backend/fms_core/migrations/0008_v2_5_0.py
c3g/freezeman
bc4b6c8a2876e888ce41b7d14127cc22bc2b2143
[ "W3C" ]
null
null
null
# Generated by Django 3.1 on 2020-10-26 16:06 from django.db import migrations, models from django.contrib.admin.models import LogEntry import django.db.models.deletion import json def populate_foreign_keys(apps, schema_editor): individual_model = apps.get_model("fms_core", "individual") sample_model = apps....
38.966387
134
0.602329
975
9,274
5.501538
0.146667
0.07308
0.063386
0.045116
0.704698
0.659023
0.574385
0.474087
0.364653
0.261931
0
0.007177
0.293832
9,274
237
135
39.130802
0.81188
0.037309
0
0.546296
1
0
0.226982
0.021195
0
0
0
0
0
1
0.00463
false
0
0.027778
0
0.046296
0
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
fa31cfce42adb61e646a2bc1dcac6e5744527266
1,211
py
Python
botshop/model_evaluator.py
nuhame/botshop
e942ff41c0c5f22bb6232afa5975c51a0238ab9f
[ "Apache-2.0" ]
null
null
null
botshop/model_evaluator.py
nuhame/botshop
e942ff41c0c5f22bb6232afa5975c51a0238ab9f
[ "Apache-2.0" ]
null
null
null
botshop/model_evaluator.py
nuhame/botshop
e942ff41c0c5f22bb6232afa5975c51a0238ab9f
[ "Apache-2.0" ]
null
null
null
import abc from basics.base import Base class ModelEvaluatorBase(Base, metaclass=abc.ABCMeta): @abc.abstractmethod def reset_state(self): self._log.error("Please implement this method in a child class") @abc.abstractmethod def update_context(self, inputs, conversation_context, conversation_...
33.638889
111
0.681255
143
1,211
5.643357
0.440559
0.11772
0.074349
0.066915
0.25031
0.25031
0.25031
0.25031
0.25031
0.25031
0
0
0.251032
1,211
35
112
34.6
0.889746
0.410405
0
0.5
0
0
0.221675
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fa33d77af3f03976f04e05531601bbc8578dffbf
621
py
Python
doc/source/pyplots/plotting/sample_1dhist_plot.py
rpgoldman/FlowCytometryTools
093057486ab0aeb2938537ddcfea36d3c1d14fd3
[ "MIT" ]
78
2015-05-19T19:00:40.000Z
2022-01-23T01:04:16.000Z
doc/source/pyplots/plotting/sample_1dhist_plot.py
rpgoldman/FlowCytometryTools
093057486ab0aeb2938537ddcfea36d3c1d14fd3
[ "MIT" ]
27
2015-05-20T05:30:12.000Z
2021-06-24T04:02:31.000Z
doc/source/pyplots/plotting/sample_1dhist_plot.py
rpgoldman/FlowCytometryTools
093057486ab0aeb2938537ddcfea36d3c1d14fd3
[ "MIT" ]
44
2015-05-19T19:01:00.000Z
2021-07-24T21:19:56.000Z
import os import FlowCytometryTools from FlowCytometryTools import FCMeasurement from pylab import * # Locate sample data included with this package datadir = os.path.join(FlowCytometryTools.__path__[0], 'tests', 'data', 'Plate01') datafile = os.path.join(datadir, 'RFP_Well_A3.fcs') # datafile = '[insert path to you...
28.227273
82
0.721417
89
621
4.966292
0.640449
0.027149
0.045249
0
0
0
0
0
0
0
0
0.031365
0.127214
621
21
83
29.571429
0.784133
0.252818
0
0
0
0
0.146608
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
fa38429a8aec8f8c2bbb6af445d564f9ea4acb30
1,675
py
Python
download_google_sheets_csv.py
erelson/pogo_sj_stats
6dc00b1c392279dc23c24091237f00d1d2466454
[ "Unlicense" ]
null
null
null
download_google_sheets_csv.py
erelson/pogo_sj_stats
6dc00b1c392279dc23c24091237f00d1d2466454
[ "Unlicense" ]
null
null
null
download_google_sheets_csv.py
erelson/pogo_sj_stats
6dc00b1c392279dc23c24091237f00d1d2466454
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # Module grabs the CSV version of a Google Sheet. Only tested with a simple one # page spreadsheet, generated by a Google Form. # Adapted from this stack overflow answer: https://stackoverflow.com/a/18296318 # Additional notes: # - The generated API key will have an associated email. Share your...
34.895833
89
0.691343
212
1,675
5.334906
0.566038
0.035367
0.02122
0
0
0
0
0
0
0
0
0.013688
0.214925
1,675
47
90
35.638298
0.846388
0.272836
0
0
1
0
0.1555
0.036394
0
0
0
0
0
1
0.035714
false
0
0.142857
0
0.178571
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fa442ae0c5a743a15f9b08ed83fd0ce6a99c190c
2,527
py
Python
colabcode/code.py
jimmycode/colabcode
6ddad89c10d1acb9420d270d6fd251da0143df2b
[ "MIT" ]
null
null
null
colabcode/code.py
jimmycode/colabcode
6ddad89c10d1acb9420d270d6fd251da0143df2b
[ "MIT" ]
null
null
null
colabcode/code.py
jimmycode/colabcode
6ddad89c10d1acb9420d270d6fd251da0143df2b
[ "MIT" ]
null
null
null
import os import subprocess from pyngrok import ngrok try: from google.colab import drive colab_env = True except ImportError: colab_env = False EXTENSIONS = ["ms-python.python", "ms-toolsai.jupyter"] class ColabCode: def __init__(self, workspace, port=10000, password=None, authtoken=None, mount_d...
30.817073
137
0.609023
301
2,527
4.916944
0.325581
0.032432
0.044595
0.030405
0.039189
0
0
0
0
0
0
0.00327
0.273843
2,527
81
138
31.197531
0.80327
0
0
0
0
0
0.161456
0.017808
0
0
0
0
0
1
0.076923
false
0.061538
0.076923
0
0.169231
0.046154
0
0
0
null
0
0
0
0
0
0
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
fa4585197503270ff95f36e7a215556219d8bf9e
253
py
Python
hacktheback/rest/pagination.py
hackthevalley/hack-the-back
a418f2d2751656fed76d0b8c95c8e2a060525e78
[ "MIT" ]
null
null
null
hacktheback/rest/pagination.py
hackthevalley/hack-the-back
a418f2d2751656fed76d0b8c95c8e2a060525e78
[ "MIT" ]
null
null
null
hacktheback/rest/pagination.py
hackthevalley/hack-the-back
a418f2d2751656fed76d0b8c95c8e2a060525e78
[ "MIT" ]
null
null
null
from rest_framework.pagination import PageNumberPagination class StandardResultsPagination(PageNumberPagination): page_size = 12 page_size_query_param = "per_page" page_size_query_description = "Number of results per page. Default is 12."
31.625
78
0.806324
30
253
6.5
0.666667
0.123077
0.133333
0
0
0
0
0
0
0
0
0.018433
0.142292
253
7
79
36.142857
0.880184
0
0
0
0
0
0.197628
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fa4784f85d82d587a84978d28033212675c8e796
3,074
py
Python
bol/data/wav2vec2/_wav2vec2_fairseq_dataloader.py
harveenchadha/bol
0f720813107ab2f41e895917cd0359e8c0738dd1
[ "MIT" ]
10
2021-07-09T12:27:27.000Z
2022-03-23T07:36:53.000Z
bol/data/wav2vec2/_wav2vec2_fairseq_dataloader.py
harveenchadha/bol
0f720813107ab2f41e895917cd0359e8c0738dd1
[ "MIT" ]
4
2021-07-05T19:18:32.000Z
2021-09-09T07:18:23.000Z
bol/data/wav2vec2/_wav2vec2_fairseq_dataloader.py
harveenchadha/bol
0f720813107ab2f41e895917cd0359e8c0738dd1
[ "MIT" ]
3
2021-08-05T06:34:31.000Z
2022-03-30T13:22:47.000Z
import soundfile as sf import torch import torch.nn.functional as F from torch.utils.data import Dataset # import librosa def postprocess_features(feats): if feats.dim() == 2: feats = feats.mean(-1) assert feats.dim() == 1, feats.dim() with torch.no_grad(): feats = F.layer_norm(feats, fea...
28.728972
154
0.679571
405
3,074
4.832099
0.274074
0.044967
0.050077
0.036791
0.200307
0.099131
0.036791
0.036791
0
0
0
0.01868
0.216331
3,074
106
155
29
0.79369
0.22056
0
0
0
0
0
0
0
0
0
0
0.016949
1
0.20339
false
0.016949
0.067797
0.067797
0.457627
0
0
0
0
null
0
0
0
0
0
0
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
fa5202ea222b2c352297bf636835404c3fb13c96
3,260
py
Python
ProblemSetup.py
InfinityByTen/OptimalControl
9ef5f8ad4d0364db04c63191142238b2a49848d4
[ "MIT" ]
null
null
null
ProblemSetup.py
InfinityByTen/OptimalControl
9ef5f8ad4d0364db04c63191142238b2a49848d4
[ "MIT" ]
null
null
null
ProblemSetup.py
InfinityByTen/OptimalControl
9ef5f8ad4d0364db04c63191142238b2a49848d4
[ "MIT" ]
null
null
null
from dolfin import * from mshr import * import numpy as np from scipy.sparse import csr_matrix from scipy.sparse.linalg import inv # N = 64 # number of grid points per dimension parameters["linear_algebra_backend"] = 'PETSc' def mat2sp (A): A_mat = as_backend_type(A).mat() A_mat_csr = csr_matrix(A_mat.ge...
32.277228
83
0.583129
448
3,260
4.176339
0.316964
0.012827
0.006414
0.032068
0.121325
0.034206
0.034206
0.034206
0.034206
0.034206
0
0.019557
0.294172
3,260
101
84
32.277228
0.793568
0.183129
0
0.037037
0
0
0.054463
0.034796
0
0
0
0
0
0
null
null
0
0.092593
null
null
0.148148
0
0
0
null
0
0
0
0
0
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
fa54d9bf4147f6dab45f84abbc0b10b167cea868
693
py
Python
census/views.py
escobar022/cens_django
984fb224d2cb7f16e1d54564a1f1fc5e8ff76e3b
[ "MIT" ]
null
null
null
census/views.py
escobar022/cens_django
984fb224d2cb7f16e1d54564a1f1fc5e8ff76e3b
[ "MIT" ]
null
null
null
census/views.py
escobar022/cens_django
984fb224d2cb7f16e1d54564a1f1fc5e8ff76e3b
[ "MIT" ]
null
null
null
from django.views import generic from .models import APISetting, CensusInfo class IndexView(generic.ListView): template_name = 'census/index.html' context_object_name = 'all_census_views' # APISetting.objects.exclude(api_used='true') def get_queryset(self): return APISetting.objects.exclude(...
28.875
68
0.724387
81
693
6
0.45679
0.061728
0.074074
0.111111
0.127572
0
0
0
0
0
0
0
0.168831
693
23
69
30.130435
0.84375
0.062049
0
0
0
0
0.121914
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0.066667
0.866667
0
0
0
0
null
0
0
0
0
0
0
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
fa577fa52155b98b2bb72ee0043eeec852327e93
6,438
py
Python
Lib/apsmodule.py
hellorubbish/viperpython
42d9ea572fb914059039656b176daca7d7fd5a77
[ "BSD-3-Clause" ]
1
2022-01-07T01:24:32.000Z
2022-01-07T01:24:32.000Z
Lib/apsmodule.py
hellorubbish/viperpython
42d9ea572fb914059039656b176daca7d7fd5a77
[ "BSD-3-Clause" ]
null
null
null
Lib/apsmodule.py
hellorubbish/viperpython
42d9ea572fb914059039656b176daca7d7fd5a77
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # @File : apsmodule.py # @Date : 2021/2/26 # @Desc : import threading import time import uuid from apscheduler.events import EVENT_JOB_ADDED, EVENT_JOB_REMOVED, EVENT_JOB_MODIFIED, EVENT_JOB_EXECUTED, \ EVENT_JOB_ERROR, EVENT_JOB_MISSED, EVENT_JOB_SUBMITTED, EVENT_JOB_MAX_INSTANCES from ...
37.870588
116
0.63265
749
6,438
5.088117
0.186916
0.069273
0.115455
0.081868
0.550512
0.487274
0.43112
0.390711
0.38074
0.345054
0
0.002135
0.2726
6,438
169
117
38.094675
0.811659
0.086362
0
0.475806
0
0
0.059932
0.003596
0
0
0
0
0
1
0.056452
false
0.056452
0.064516
0
0.233871
0
0
0
0
null
0
0
0
0
0
0
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
fa5d09fec32bb5a142a97e1d01e0a13a2f89bf87
880
py
Python
PCA/pca_completed.py
qasim683/Machine-Learning2
4d5c2ad27585ec7364f17e6283c757e76a07fa35
[ "MIT" ]
385
2019-02-25T20:59:35.000Z
2022-03-31T16:33:37.000Z
PCA/pca_completed.py
Alok8/Introduction-to-Machine-Learning
b04fc59e6eb648fae514d843f925fde55d768f92
[ "MIT" ]
3
2019-09-19T11:07:32.000Z
2021-08-12T14:20:44.000Z
PCA/pca_completed.py
Alok8/Introduction-to-Machine-Learning
b04fc59e6eb648fae514d843f925fde55d768f92
[ "MIT" ]
1,053
2019-02-27T02:32:18.000Z
2022-03-30T14:52:39.000Z
from sklearn.decomposition import PCA import pandas as pd from sklearn.preprocessing import StandardScaler import matplotlib.pyplot as plt df = pd.read_csv("Iris.csv") labels = df['Species'] X = df.drop(['Id','Species'],axis=1) X_std = StandardScaler().fit_transform(X) pca = PCA(n_components=4) X_transform = p...
19.130435
55
0.709091
136
880
4.441176
0.455882
0.074503
0.06457
0
0
0
0
0
0
0
0
0.018229
0.127273
880
45
56
19.555556
0.768229
0.323864
0
0
0
0
0.1
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fa64e31c88955ad12bdc6ff1da5d888f0238d008
1,048
py
Python
shakenfist_client/commandline/node.py
mandoonandy/client-python
ee7bba251ec8c132b772cd715a4dd677c8075057
[ "Apache-2.0" ]
null
null
null
shakenfist_client/commandline/node.py
mandoonandy/client-python
ee7bba251ec8c132b772cd715a4dd677c8075057
[ "Apache-2.0" ]
60
2020-08-14T22:58:36.000Z
2022-03-15T00:03:16.000Z
shakenfist_client/commandline/node.py
mandoonandy/client-python
ee7bba251ec8c132b772cd715a4dd677c8075057
[ "Apache-2.0" ]
2
2020-06-21T23:36:23.000Z
2020-10-28T01:04:57.000Z
import click import json from prettytable import PrettyTable from shakenfist_client import util @click.group(help='Node commands') def node(): pass @node.command(name='list', help='List nodes') @click.pass_context def node_list(ctx): nodes = list(ctx.obj['CLIENT'].get_nodes()) if ctx.obj['OUTPUT'] ==...
26.871795
75
0.551527
133
1,048
4.263158
0.37594
0.042328
0.063492
0.111111
0.201058
0.201058
0.201058
0.201058
0
0
0
0.0013
0.266221
1,048
38
76
27.578947
0.736021
0
0
0.103448
0
0
0.182252
0.022901
0
0
0
0
0
1
0.068966
false
0.068966
0.137931
0
0.206897
0.137931
0
0
0
null
0
0
0
0
0
0
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
fa651658aa10a4a51460efe00f2f464574cfabc8
521
py
Python
Python Programs/swap-two-numbers-2.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
2
2021-06-26T21:50:59.000Z
2021-09-18T04:55:51.000Z
Python Programs/swap-two-numbers-2.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Python Programs/swap-two-numbers-2.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Swap Two Numbers The values for two numbers x and y will be passed as input to the program. The program must swap the two numbers and print them as output. Please fill in the missing lines of code so that the values of x and y are interchanged (swapped). Input Format: The first line will contain the value of x. The se...
21.708333
237
0.75048
106
521
3.698113
0.471698
0.076531
0.02551
0.091837
0.127551
0.127551
0
0
0
0
0
0.04662
0.176583
521
23
238
22.652174
0.864802
0
0
0.521739
0
0
0.003846
0
0
0
0
0
0
0
null
null
0.043478
0
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fa6a403b321b71be5384929904c64e991eaf73c5
745
py
Python
smart-lock/main.py
jorisvos/rasplock
c22eb8a7f6d161ad75a7733650b5c718a06b35f1
[ "MIT" ]
null
null
null
smart-lock/main.py
jorisvos/rasplock
c22eb8a7f6d161ad75a7733650b5c718a06b35f1
[ "MIT" ]
null
null
null
smart-lock/main.py
jorisvos/rasplock
c22eb8a7f6d161ad75a7733650b5c718a06b35f1
[ "MIT" ]
null
null
null
import os, sys, signal, subprocess from sense_hat import SenseHat from time import sleep from libs.clear import * from modules.joystick import * from modules.check import * import variables.vars as v sense = SenseHat() sense.clear() # Function ----------------- def exit(signal, frame): clear() print(c.bco...
21.285714
114
0.677852
96
745
5.083333
0.59375
0.040984
0.069672
0
0
0
0
0
0
0
0
0.008197
0.181208
745
34
115
21.911765
0.791803
0.222819
0
0
0
0
0.04
0
0
0
0
0
0
1
0.047619
false
0
0.333333
0
0.380952
0.095238
0
0
0
null
0
0
0
0
0
0
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
fa6d81bf286145f80d422f28a569cdc7dfbbb409
5,151
py
Python
ambra_sdk/service/entrypoints/__init__.py
dicomgrid/sdk-python
bb12eed311bad73dfb863917df4dc5cbcd91a447
[ "Apache-2.0" ]
9
2020-04-20T23:45:44.000Z
2021-04-18T11:22:17.000Z
ambra_sdk/service/entrypoints/__init__.py
dicomgrid/sdk-python
bb12eed311bad73dfb863917df4dc5cbcd91a447
[ "Apache-2.0" ]
13
2020-02-08T16:15:05.000Z
2021-09-13T22:55:28.000Z
ambra_sdk/service/entrypoints/__init__.py
dicomgrid/sdk-python
bb12eed311bad73dfb863917df4dc5cbcd91a447
[ "Apache-2.0" ]
6
2020-03-25T17:47:45.000Z
2021-04-18T11:22:19.000Z
from ambra_sdk.service.entrypoints.account import Account, AsyncAccount from ambra_sdk.service.entrypoints.activity import Activity, AsyncActivity from ambra_sdk.service.entrypoints.analytics import Analytics, AsyncAnalytics from ambra_sdk.service.entrypoints.annotation import ( Annotation, AsyncAnnotation, ) f...
29.947674
77
0.747622
518
5,151
7.335907
0.194981
0.111316
0.148421
0.235
0.371053
0
0
0
0
0
0
0.001149
0.15531
5,151
171
78
30.122807
0.872213
0
0
0
0
0
0.172588
0
0
0
0
0
0
1
0
false
0
0.276471
0
0.276471
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
3afa598ad0d87a747ebf1597f68a0f0cd2782546
1,514
py
Python
setup/import_database_data.py
stenglein-lab/TaxAssessor
144599d1395627c4e86ab68a4d6d3e0785e606f0
[ "MIT" ]
null
null
null
setup/import_database_data.py
stenglein-lab/TaxAssessor
144599d1395627c4e86ab68a4d6d3e0785e606f0
[ "MIT" ]
2
2016-11-29T19:48:27.000Z
2016-12-09T17:18:56.000Z
setup/import_database_data.py
stenglein-lab/TaxAssessor
144599d1395627c4e86ab68a4d6d3e0785e606f0
[ "MIT" ]
null
null
null
#!/usr/bin/python import TaxPy.db_management.db_wrap as TaxDb import os if __name__ == "__main__": seqIdFiles=["nucl_est.accession2taxid", "nucl_gb.accession2taxid", "nucl_gss.accession2taxid", "nucl_wgs.accession2taxid", "prot.accession2taxid"...
36.926829
76
0.451123
126
1,514
5.285714
0.515873
0.085586
0.069069
0.087087
0.198198
0.198198
0.198198
0.198198
0.198198
0.198198
0
0.020286
0.446499
1,514
41
77
36.926829
0.774463
0.010568
0
0.235294
0
0
0.158879
0.082109
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.029412
0
0
0
null
0
0
0
0
0
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
3afcaf4119588195c7c71d1e901619dbceb74f64
2,765
py
Python
LibrairieVideoAna/ExtractFromDB.py
JostTim/custom_libs
8f9e3f45c6f5f7e47b6582e072d09a8910efddd3
[ "MIT" ]
null
null
null
LibrairieVideoAna/ExtractFromDB.py
JostTim/custom_libs
8f9e3f45c6f5f7e47b6582e072d09a8910efddd3
[ "MIT" ]
null
null
null
LibrairieVideoAna/ExtractFromDB.py
JostTim/custom_libs
8f9e3f45c6f5f7e47b6582e072d09a8910efddd3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon May 27 16:11:20 2019 @author: Timothe """ import mysql.connector import numpy as np import matplotlib import matplotlib.pyplot as plt import calendar import datetime from datetime import timedelta import random def SessionsList(mouse, trainingset): cnx = mysql.connecto...
27.929293
95
0.610127
369
2,765
4.471545
0.273713
0.04
0.041212
0.058182
0.548485
0.53697
0.53697
0.53697
0.53697
0.473939
0
0.027955
0.262568
2,765
98
96
28.214286
0.781265
0.027486
0
0.391892
0
0
0.32003
0.024991
0
0
0
0
0.013514
1
0.067568
false
0.054054
0.108108
0
0.22973
0.013514
0
0
0
null
0
0
0
0
0
0
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
d71d29ca7aa15c5656a8a83765849fbb158a1b87
1,329
py
Python
GaitRecorder/pythonGUI/AssociateJoint.py
MOD-ASL/SimulationPlugins
c0438e4106087868839fd0cb0224a0ace34c0579
[ "MIT" ]
4
2016-06-10T07:51:30.000Z
2019-06-19T19:18:36.000Z
GaitRecorder/pythonGUI/AssociateJoint.py
MOD-ASL/SimulationPlugins
c0438e4106087868839fd0cb0224a0ace34c0579
[ "MIT" ]
1
2015-01-19T21:09:19.000Z
2015-03-18T19:53:51.000Z
GaitRecorder/pythonGUI/AssociateJoint.py
MOD-ASL/SimulationPlugins
c0438e4106087868839fd0cb0224a0ace34c0579
[ "MIT" ]
null
null
null
## @package AssociateJoint Association joint that used by gait recorder ## The class that has all the information about associations class AssociateJoint: ## Constructor # @param self Object pointer # @param module Module name string # @param node Node index # @param corr Bool, correaltion: True for positive; Fal...
30.204545
71
0.706546
172
1,329
5.436047
0.372093
0.038503
0.064171
0.094118
0.127273
0.064171
0
0
0
0
0
0.003731
0.193378
1,329
44
72
30.204545
0.86847
0.498119
0
0
0
0
0.08189
0
0
0
0
0
0
1
0.173913
false
0
0
0.043478
0.521739
0
0
0
0
null
0
0
0
0
0
0
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
d722c586595e5d17d31524f49d0f95ec6c59a93d
5,889
py
Python
utils/tracker_plot.py
NMTHydro/Recharge
bbc1a05add92064acffeffb19f04e370b99a7918
[ "Apache-2.0" ]
7
2016-08-30T15:18:11.000Z
2021-08-22T00:28:10.000Z
utils/tracker_plot.py
NMTHydro/Recharge
bbc1a05add92064acffeffb19f04e370b99a7918
[ "Apache-2.0" ]
2
2016-06-08T06:41:45.000Z
2016-06-23T20:47:26.000Z
utils/tracker_plot.py
NMTHydro/Recharge
bbc1a05add92064acffeffb19f04e370b99a7918
[ "Apache-2.0" ]
1
2018-09-18T10:38:08.000Z
2018-09-18T10:38:08.000Z
# =============================================================================== # Copyright 2016 gabe-parrish # # 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/licen...
40.061224
152
0.6018
808
5,889
4.268564
0.321782
0.021745
0.023195
0.027834
0.311685
0.311685
0.304436
0.294578
0.294578
0.294578
0
0.005729
0.258957
5,889
147
152
40.061224
0.784601
0.289353
0
0.492754
0
0
0.081561
0.006982
0
0
0
0.006803
0
0
null
null
0
0.072464
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
d7304d7cb7de3b1ab2fc359097dd63e5212afc27
2,795
py
Python
src/channel.py
JosielSantos/virtual-piano
abf62d0b1f0bb9c70dc11b29aafe8a53db22b65c
[ "MIT" ]
4
2020-01-06T17:23:57.000Z
2021-10-10T17:43:07.000Z
src/channel.py
JosielSantos/virtual-piano
abf62d0b1f0bb9c70dc11b29aafe8a53db22b65c
[ "MIT" ]
null
null
null
src/channel.py
JosielSantos/virtual-piano
abf62d0b1f0bb9c70dc11b29aafe8a53db22b65c
[ "MIT" ]
2
2021-03-04T11:33:40.000Z
2021-10-10T17:43:13.000Z
import os.path from notes_manager import NotesManager from util import app, validate class Channel: DIRECTION_LEFT = -1 DIRECTION_MIDDLE = 0 DIRECTION_RIGHT = 1 notes_on = [] __notes_manager = None __start_note = 48 def __init__(self, instrument, volume, direction, keymap_file_path): ...
28.814433
95
0.65653
335
2,795
5.092537
0.176119
0.098476
0.093787
0.031653
0.225088
0.168816
0.130129
0.101993
0.042204
0
0
0.0131
0.262612
2,795
96
96
29.114583
0.814653
0
0
0.08
0
0
0.017531
0
0
0
0
0
0
1
0.253333
false
0
0.04
0.053333
0.44
0
0
0
0
null
0
0
0
0
0
0
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
d7318ba918e91a1a6d91062d2324e980a398c049
2,816
py
Python
lib/FortiGate.py
ondrejholecek/vmxlab
04b9c578267f3f6ac4a8eabb7fbb079ef99ee5e8
[ "BSD-3-Clause" ]
1
2019-06-17T07:30:30.000Z
2019-06-17T07:30:30.000Z
lib/FortiGate.py
ondrejholecek/vmxlab
04b9c578267f3f6ac4a8eabb7fbb079ef99ee5e8
[ "BSD-3-Clause" ]
null
null
null
lib/FortiGate.py
ondrejholecek/vmxlab
04b9c578267f3f6ac4a8eabb7fbb079ef99ee5e8
[ "BSD-3-Clause" ]
null
null
null
import paramiko class FortiGate: STATUS_OFFLINE = "offline" STATUS_ONLINE = "online" def __init__(self, ip, user="admin", password="", ssh_port=22): self.ip = ip self.user = user self.password = password self.ssh_port = ssh_port self.ssh_status = self.STATUS_OFFLINE self.ssh = No...
24.701754
129
0.643821
399
2,816
4.37594
0.245614
0.072165
0.037228
0.048683
0.195876
0.122566
0.042383
0.042383
0
0
0
0.046853
0.226918
2,816
113
130
24.920354
0.755168
0.011364
0
0.326087
0
0.01087
0.374684
0
0
0
0
0
0
1
0.086957
false
0.076087
0.01087
0
0.141304
0
0
0
0
null
0
0
0
0
0
0
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
d73487099f1b20577f8f04a3fc18dee2a23af102
1,564
py
Python
dependencies/FontTools/Lib/fontTools/ttLib/tables/_l_o_c_a.py
charlesmchen/typefacet
8c6db26d0c599ece16f3704696811275120a4044
[ "Apache-2.0" ]
21
2015-01-16T05:10:02.000Z
2021-06-11T20:48:15.000Z
dependencies/FontTools/Lib/fontTools/ttLib/tables/_l_o_c_a.py
charlesmchen/typefacet
8c6db26d0c599ece16f3704696811275120a4044
[ "Apache-2.0" ]
1
2019-09-09T12:10:27.000Z
2020-05-22T10:12:14.000Z
dependencies/FontTools/Lib/fontTools/ttLib/tables/_l_o_c_a.py
charlesmchen/typefacet
8c6db26d0c599ece16f3704696811275120a4044
[ "Apache-2.0" ]
2
2015-05-03T04:51:08.000Z
2018-08-24T08:28:53.000Z
import sys import DefaultTable import array import numpy from fontTools import ttLib import struct import warnings class table__l_o_c_a(DefaultTable.DefaultTable): dependencies = ['glyf'] def decompile(self, data, ttFont): longFormat = ttFont['head'].indexToLocFormat if longFormat: format = "I" else: ...
26.965517
126
0.713555
197
1,564
5.57868
0.380711
0.082803
0.070974
0.030937
0.11647
0.069154
0
0
0
0
0
0.01374
0.162404
1,564
57
127
27.438596
0.825191
0
0
0.085106
0
0
0.089571
0
0
0
0.004479
0
0
0
null
null
0
0.148936
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
d73e6226dad392ba3e7c065176a08929ae816d04
984
py
Python
test/rela/test_overlap.py
PingjunChen/pycontour
13f64b685740368605db314b0f547f9f8dd4e737
[ "BSD-3-Clause" ]
8
2018-08-30T13:13:48.000Z
2021-07-24T08:49:35.000Z
test/rela/test_overlap.py
PingjunChen/pycontour
13f64b685740368605db314b0f547f9f8dd4e737
[ "BSD-3-Clause" ]
1
2021-09-21T04:11:39.000Z
2021-09-21T04:11:39.000Z
test/rela/test_overlap.py
PingjunChen/pycontour
13f64b685740368605db314b0f547f9f8dd4e737
[ "BSD-3-Clause" ]
4
2018-09-21T20:38:26.000Z
2021-09-17T21:45:37.000Z
# -*- coding: utf-8 -*- import sys import numpy as np from os.path import dirname as opd from os.path import abspath as opa from os.path import join as opj TEST_PATH = opa(opd(opd(__file__))) PRJ_PATH = opd(TEST_PATH) sys.path.insert(0, PRJ_PATH) sys.path.insert(0, opj(PRJ_PATH, "pycontour")) from pycontour.rela imp...
28.941176
64
0.655488
174
984
3.54023
0.258621
0.025974
0.029221
0.025974
0.266234
0.123377
0.123377
0.123377
0.123377
0.123377
0
0.062893
0.192073
984
33
65
29.818182
0.71195
0.021341
0
0.173913
0
0
0.072841
0
0
0
0
0
0.086957
1
0.086957
false
0
0.304348
0
0.391304
0
0
0
0
null
0
0
0
0
0
0
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
d7421b026b2ade09790e58b7fac24210b497b3b5
1,627
py
Python
python/dazl/pretty/table/fmt_json.py
DACH-NY/dazl-client
56c8b1be047415b2bcb35b6558de4a780a402458
[ "Apache-2.0" ]
null
null
null
python/dazl/pretty/table/fmt_json.py
DACH-NY/dazl-client
56c8b1be047415b2bcb35b6558de4a780a402458
[ "Apache-2.0" ]
null
null
null
python/dazl/pretty/table/fmt_json.py
DACH-NY/dazl-client
56c8b1be047415b2bcb35b6558de4a780a402458
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017-2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. # SPDX-License-Identifier: Apache-2.0 """ Formatting module for outputting captures. """ import json from typing import AbstractSet, Iterable from ...damlast.daml_types import con from ...damlast.protocols import S...
31.901961
108
0.617087
187
1,627
5.31016
0.518717
0.036254
0.028197
0.036254
0.046324
0
0
0
0
0
0
0.008368
0.265519
1,627
50
109
32.54
0.822594
0.267363
0
0
0
0.04
0.268116
0.09692
0
0
0
0
0
1
0.04
false
0
0.32
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
d7425dbf6ff9f8918b139665dde3caa5a6430977
438
py
Python
hotels/api/helper.py
muteshi/hotel-management-system
335f0607eb2dd59fd4c12953c2d2e7dc93d793cf
[ "MIT" ]
2
2021-10-08T22:13:08.000Z
2022-03-28T20:02:10.000Z
hotels/api/helper.py
muteshi/hotel-management-system
335f0607eb2dd59fd4c12953c2d2e7dc93d793cf
[ "MIT" ]
9
2020-11-21T10:43:16.000Z
2021-06-22T16:23:40.000Z
hotels/api/helper.py
muteshi/hotel-management-system
335f0607eb2dd59fd4c12953c2d2e7dc93d793cf
[ "MIT" ]
null
null
null
def modify_input_for_multiple_files(hotel, image): dict = {} dict['hotel'] = hotel dict['image'] = image return dict def modify_input_for_multiple_room_files(room, image): dict = {} dict['room'] = room dict['image'] = image return dict def modify_input_for_multiple_pack...
21.9
61
0.625571
53
438
4.90566
0.226415
0.103846
0.161538
0.196154
0.565385
0.376923
0.376923
0.376923
0.376923
0.376923
0
0
0.257991
438
19
62
23.052632
0.8
0
0
0.6
0
0
0.073986
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
d74451f363ef4d0b4b1bace49862fbb0660ea32a
327
py
Python
0601-0700/0657-Robot Return to Origin/0657-Robot Return to Origin.py
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0601-0700/0657-Robot Return to Origin/0657-Robot Return to Origin.py
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0601-0700/0657-Robot Return to Origin/0657-Robot Return to Origin.py
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution: def judgeCircle(self, moves: str) -> bool: x = y = 0 for m in moves: if m == 'R': x += 1 elif m == 'L': x -= 1 elif m == 'U': y -= 1 else: y += 1 return x == 0 and ...
23.357143
46
0.299694
39
327
2.512821
0.589744
0.040816
0.122449
0.142857
0
0
0
0
0
0
0
0.051095
0.58104
327
13
47
25.153846
0.664234
0
0
0
0
0
0.009174
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d748b87cf76794517c4674a186ae80424ada45c5
2,335
py
Python
application/api/routers/auth.py
alirzaev/fastapi-mailing-lists
27169e00775d0141303ec2a4689f57aaa5bda127
[ "MIT" ]
null
null
null
application/api/routers/auth.py
alirzaev/fastapi-mailing-lists
27169e00775d0141303ec2a4689f57aaa5bda127
[ "MIT" ]
null
null
null
application/api/routers/auth.py
alirzaev/fastapi-mailing-lists
27169e00775d0141303ec2a4689f57aaa5bda127
[ "MIT" ]
null
null
null
from datetime import timedelta from fastapi import APIRouter, Depends, HTTPException from fastapi.security import OAuth2PasswordRequestForm from sqlalchemy.ext.asyncio import AsyncSession from starlette.responses import Response from application import crud from application import schemas from application.api.depende...
29.556962
99
0.737473
296
2,335
5.611486
0.307432
0.05298
0.033715
0.037929
0.293197
0.221553
0.10596
0.056592
0.056592
0
0
0.007258
0.173876
2,335
78
100
29.935897
0.85381
0
0
0.220339
0
0
0.084797
0
0
0
0
0
0
1
0
false
0.067797
0.20339
0
0.288136
0
0
0
0
null
0
0
0
0
0
0
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
d74f67ebbe4da8d274d753bbf06292ee3888645b
268
py
Python
code/malicious_proxy.py
aThorp96/undergraduate_thesis
165962b69bf74babe1273e136e33c497b3a449f0
[ "MIT" ]
null
null
null
code/malicious_proxy.py
aThorp96/undergraduate_thesis
165962b69bf74babe1273e136e33c497b3a449f0
[ "MIT" ]
null
null
null
code/malicious_proxy.py
aThorp96/undergraduate_thesis
165962b69bf74babe1273e136e33c497b3a449f0
[ "MIT" ]
null
null
null
measured_values = [None] * N for i in range(N): # Intercept qubits from Alice qubit = conn.recvQubit() # Measure all qubits in standard basis measured_values[i] = qubit.measure(inplace=True) # Forward qubits to Bob conn.sendQubit(qubit, "Bob")
29.777778
52
0.682836
37
268
4.891892
0.675676
0.154696
0
0
0
0
0
0
0
0
0
0
0.216418
268
8
53
33.5
0.861905
0.320896
0
0
0
0
0.016854
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d7568d80132659c19b27eb1e3026b3a494560ba1
12,407
py
Python
rapid7vmconsole/models/policy_rule.py
kiblik/vm-console-client-python
038f6d33e8b2654a558326c6eb87f09ee23e0e22
[ "MIT" ]
61
2018-05-17T05:57:09.000Z
2022-03-08T13:59:21.000Z
rapid7vmconsole/models/policy_rule.py
kiblik/vm-console-client-python
038f6d33e8b2654a558326c6eb87f09ee23e0e22
[ "MIT" ]
33
2018-06-26T16:21:14.000Z
2022-03-03T20:55:47.000Z
rapid7vmconsole/models/policy_rule.py
kiblik/vm-console-client-python
038f6d33e8b2654a558326c6eb87f09ee23e0e22
[ "MIT" ]
43
2018-02-24T05:45:53.000Z
2022-03-31T22:15:16.000Z
# coding: utf-8 """ Python InsightVM API Client OpenAPI spec version: 3 Contact: support@rapid7.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class PolicyRule(object): """NOTE: This class is auto generated by the swag...
28.456422
213
0.570565
1,466
12,407
4.746248
0.121419
0.075884
0.110377
0.103478
0.520264
0.462346
0.447542
0.320926
0.241449
0.148893
0
0.025607
0.335859
12,407
435
214
28.521839
0.818811
0.414524
0
0.085562
1
0
0.078614
0.003498
0
0
0
0
0
1
0.160428
false
0.005348
0.016043
0
0.28877
0.010695
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
d75752a5f4fce842bc09b3541196597d1b830609
8,614
py
Python
test_track_sensors.py
johnrm174/model-railway-signalling
273677c3d08e618edd88cb82d9db25e6606bba6c
[ "MIT" ]
6
2020-12-23T20:59:46.000Z
2021-12-31T16:24:42.000Z
test_track_sensors.py
johnrm174/model-railway-signalling
273677c3d08e618edd88cb82d9db25e6606bba6c
[ "MIT" ]
1
2021-05-07T07:33:26.000Z
2021-05-07T07:33:26.000Z
test_track_sensors.py
johnrm174/model-railway-signalling
273677c3d08e618edd88cb82d9db25e6606bba6c
[ "MIT" ]
null
null
null
#---------------------------------------------------------------------- # This programme provides a simple test programme for the track sensors # using the Raspberry Pi GPIO inputs # --------------------------------------------------------------------- from tkinter import * from model_railway_signals import * from mod...
54.866242
112
0.699907
1,213
8,614
4.744435
0.175598
0.049696
0.067941
0.082711
0.46742
0.432493
0.277672
0.246047
0.171329
0.171329
0
0.061186
0.138612
8,614
156
113
55.217949
0.71442
0.125261
0
0.102564
0
0
0.221735
0
0
0
0
0
0
1
0.017094
false
0.119658
0.051282
0
0.068376
0.119658
0
0
0
null
0
0
0
0
0
0
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
d759d771c872661db207a161be7624b06577de4f
291
py
Python
release/src-rt-6.x.4708/router/samba-3.5.8/lib/tdb/python/tdbdump.py
afeng11/tomato-arm
1ca18a88480b34fd495e683d849f46c2d47bb572
[ "FSFAP" ]
4
2017-05-17T11:27:04.000Z
2020-05-24T07:23:26.000Z
thirdlib/tdb-1.1.3/python/tdbdump.py
songbin/memPE
0b8a90ce439f01951587f517e4b0b4fff6e8dd7f
[ "BSD-3-Clause" ]
1
2018-08-21T03:43:09.000Z
2018-08-21T03:43:09.000Z
thirdlib/tdb-1.1.3/python/tdbdump.py
songbin/memPE
0b8a90ce439f01951587f517e4b0b4fff6e8dd7f
[ "BSD-3-Clause" ]
5
2017-10-11T08:09:11.000Z
2020-10-14T04:10:13.000Z
#!/usr/bin/python # Trivial reimplementation of tdbdump in Python import tdb, sys if len(sys.argv) < 2: print "Usage: tdbdump.py <tdb-file>" sys.exit(1) db = tdb.Tdb(sys.argv[1]) for (k, v) in db.iteritems(): print "{\nkey(%d) = %r\ndata(%d) = %r\n}" % (len(k), k, len(v), v)
22.384615
70
0.597938
52
291
3.346154
0.596154
0.068966
0
0
0
0
0
0
0
0
0
0.012658
0.185567
291
12
71
24.25
0.721519
0.213058
0
0
0
0
0.268722
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.285714
0
0
0
null
0
0
0
0
0
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
d7642eb587bd4989ff4e5d1daa97397310d358de
7,113
py
Python
vial-plugin/python/plugin.py
baverman/vial-python
d6d0478724c9998e613dd298700e20f57d67093d
[ "MIT" ]
null
null
null
vial-plugin/python/plugin.py
baverman/vial-python
d6d0478724c9998e613dd298700e20f57d67093d
[ "MIT" ]
1
2015-06-27T06:13:07.000Z
2015-06-27T06:13:07.000Z
vial-plugin/python/plugin.py
baverman/vial-python
d6d0478724c9998e613dd298700e20f57d67093d
[ "MIT" ]
null
null
null
import re import sys import os.path from time import time from vial import vfunc, vim, outline from vial.helpers import echoerr from vial.utils import get_var, get_content_and_offset, get_content, \ redraw, get_projects, mark from vial.fsearch import get_files from . import env last_result = None def omnifunc...
25.865455
104
0.522564
856
7,113
4.251168
0.227804
0.021434
0.019236
0.032976
0.22039
0.160758
0.075845
0.075845
0.036823
0.036823
0
0.008257
0.336005
7,113
274
105
25.959854
0.762227
0
0
0.267606
0
0.004695
0.079713
0.015465
0
0
0
0
0
0
null
null
0
0.051643
null
null
0.046948
0
0
0
null
0
0
0
0
0
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
d77475670a13c9bad72c84d4fff5328cdec2bc54
452
py
Python
appConfig.py
raychiu0202/paddleOCR_flask
68cf1ce1de369c9e7ee07b2dbd961ad825c3217e
[ "Apache-2.0" ]
1
2021-10-12T07:50:24.000Z
2021-10-12T07:50:24.000Z
appConfig.py
raychiu0202/paddleOCR_flask
68cf1ce1de369c9e7ee07b2dbd961ad825c3217e
[ "Apache-2.0" ]
null
null
null
appConfig.py
raychiu0202/paddleOCR_flask
68cf1ce1de369c9e7ee07b2dbd961ad825c3217e
[ "Apache-2.0" ]
1
2022-03-01T02:49:23.000Z
2022-03-01T02:49:23.000Z
import os class _BaseConfig: print("base config") class _DevConfig(_BaseConfig): HOST = "0.0.0.0" PORT = 5000 DEBUG = True print("dev") class _ProdConfig(_BaseConfig): HOST = "0.0.0.0" PORT = 5000 DEBUG = True print("prod") # 根据环境变量获取配置 def getConfig(): if os.getenv("env") ...
16.142857
37
0.60177
55
452
4.818182
0.454545
0.045283
0.045283
0.120755
0.301887
0.301887
0.301887
0.301887
0.301887
0.301887
0
0.048338
0.267699
452
27
38
16.740741
0.752266
0.022124
0
0.315789
0
0
0.177273
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.684211
0.263158
0
0
0
null
0
0
0
0
0
0
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
d7756bff17be8aa4032ccfaae2c9118579778a4f
712
py
Python
pruebas/hello_world2.py
elviscruz45/Selenium
4959b552fe3658802663520fc817f5e3c86aa2b7
[ "MIT" ]
null
null
null
pruebas/hello_world2.py
elviscruz45/Selenium
4959b552fe3658802663520fc817f5e3c86aa2b7
[ "MIT" ]
null
null
null
pruebas/hello_world2.py
elviscruz45/Selenium
4959b552fe3658802663520fc817f5e3c86aa2b7
[ "MIT" ]
null
null
null
import unittest from pyunitreport import HTMLTestRunner from selenium import webdriver class HelloWorld(unittest.TestCase): @classmethod def setUp(cls): cls.driver=webdriver.Chrome(executable_path=r"./chromedriver") driver=cls.driver driver.implicitly_wait(10) def test...
27.384615
102
0.674157
80
712
5.8125
0.575
0.058065
0.051613
0
0
0
0
0
0
0
0
0.005338
0.210674
712
25
103
28.48
0.822064
0
0
0.105263
0
0
0.122191
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
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
d776cddd2ae94bfe07f6fa6dc4f1357e597b7c04
1,004
py
Python
webdev/produtos/tests/test_editar_produtos.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
webdev/produtos/tests/test_editar_produtos.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
103
2021-04-25T21:28:11.000Z
2022-03-15T01:36:31.000Z
webdev/produtos/tests/test_editar_produtos.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
import pytest from django.urls import reverse from webdev.produtos.models import Produto, Categoria from django.contrib.auth.models import User @pytest.fixture def produto(db): return Produto.objects.create( nome='Produto Legal', colecao="d'Mentira", ) @pytest.fixture def resposta_editar_produ...
30.424242
78
0.694223
115
1,004
5.904348
0.426087
0.134021
0.123711
0.108984
0
0
0
0
0
0
0
0.011097
0.192231
1,004
32
79
31.375
0.826141
0
0
0.071429
0
0
0.148406
0.022908
0
0
0
0
0.071429
1
0.142857
false
0.071429
0.142857
0.035714
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d777cda90085862ac27848b8f20e864d88cd149c
806
py
Python
code_Hugh/makeAmatrices.py
sagarsetru/bitcoinTransactionPrediction
a3c047e3192b50609d82381c265b4585585647ca
[ "MIT" ]
1
2021-03-26T22:11:03.000Z
2021-03-26T22:11:03.000Z
code_Hugh/makeAmatrices.py
sagarsetru/bitcoinTransactionPrediction
a3c047e3192b50609d82381c265b4585585647ca
[ "MIT" ]
null
null
null
code_Hugh/makeAmatrices.py
sagarsetru/bitcoinTransactionPrediction
a3c047e3192b50609d82381c265b4585585647ca
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import os from scipy.sparse import csr_matrix from sklearn.preprocessing import normalize # import training and testing data baseDirData = '/Users/hugh/Google Drive/Assignment3_Bitcoin/data' tr = pd.read_csv(baseDirData+'txTripletsCounts.txt', header=None, delimiter=r"\s+") te ...
29.851852
83
0.739454
146
806
3.917808
0.390411
0.020979
0.031469
0.06993
0.146853
0.083916
0
0
0
0
0
0.015428
0.115385
806
26
84
31
0.786816
0.189826
0
0
0
0
0.140216
0.046225
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d777f0953349872ea7d740b878de7c14839cec07
532
py
Python
redcmd/test/autocomp/maincmd_s.py
amol9/redcmd
34086eb42ec6acc16dbd2b3ea530898a6a287639
[ "MIT" ]
1
2015-10-26T19:38:28.000Z
2015-10-26T19:38:28.000Z
redcmd/test/autocomp/maincmd_s.py
amol9/redcmd
34086eb42ec6acc16dbd2b3ea530898a6a287639
[ "MIT" ]
null
null
null
redcmd/test/autocomp/maincmd_s.py
amol9/redcmd
34086eb42ec6acc16dbd2b3ea530898a6a287639
[ "MIT" ]
null
null
null
from redcmd.api import Maincommand, maincmd, Arg, PathArg class Curlcommand(Maincommand): def options(self, headers=None, user_agent=None, cookie_file=PathArg(opt=True, ext_list=['txt'])): self.headers = headers self.user_agent = user_agent self.cookie_file = cookie_file def output(self, output_file=No...
25.333333
99
0.733083
79
532
4.772152
0.455696
0.071618
0.074271
0
0
0
0
0
0
0
0
0.010941
0.140977
532
20
100
26.6
0.814004
0
0
0
0
0
0.00566
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d77b27e5dd0dbfb059befbc5f34e6e8d3c78af69
2,514
py
Python
pgoapi/protos/pogoprotos/networking/requests/social/delete_gift_from_inventory_message_pb2.py
SkOODaT/Pgoapi
a0021998eb75f6b1a867d7348acb4fcf1298987d
[ "MIT" ]
1
2017-12-12T10:05:57.000Z
2017-12-12T10:05:57.000Z
pgoapi/protos/pogoprotos/networking/requests/social/delete_gift_from_inventory_message_pb2.py
SkOODaT/Pgoapi
a0021998eb75f6b1a867d7348acb4fcf1298987d
[ "MIT" ]
null
null
null
pgoapi/protos/pogoprotos/networking/requests/social/delete_gift_from_inventory_message_pb2.py
SkOODaT/Pgoapi
a0021998eb75f6b1a867d7348acb4fcf1298987d
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: pogoprotos/networking/requests/social/delete_gift_from_inventory_message.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import mes...
35.914286
244
0.80708
277
2,514
7.036101
0.393502
0.08312
0.110826
0.139559
0.277578
0.207799
0.207799
0.133915
0.133915
0.070806
0
0.018876
0.093874
2,514
69
245
36.434783
0.836699
0.128481
0
0.12
1
0.02
0.310297
0.297025
0
0
0
0
0
1
0
false
0
0.12
0
0.12
0
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
d77c4147cf1735f0ba5f167645f96a7aad4b157c
1,372
py
Python
api/api.py
ashikkumar23/reflektion-api-test-automation
4786c95460b6f08e4715c04cb58aab6052486091
[ "MIT" ]
null
null
null
api/api.py
ashikkumar23/reflektion-api-test-automation
4786c95460b6f08e4715c04cb58aab6052486091
[ "MIT" ]
null
null
null
api/api.py
ashikkumar23/reflektion-api-test-automation
4786c95460b6f08e4715c04cb58aab6052486091
[ "MIT" ]
null
null
null
""" Title: API Methods Author: Ashik Kumar Date: 5 July 2019 """ import requests def create_url(url, data): """ Method which creates new url from base url :param url: base url :param data: data to append to base url :return: new url """ return url + "/" + str(data) de...
22.866667
58
0.626822
178
1,372
4.803371
0.230337
0.093567
0.064327
0.107602
0.493567
0.493567
0.493567
0.414035
0.325146
0.325146
0
0.005071
0.281341
1,372
59
59
23.254237
0.862069
0.509475
0
0
0
0
0.00216
0
0
0
0
0
0
1
0.454545
false
0
0.090909
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
1
0
0
0
0
0
0
0
1
d77c65c4975cc61a3736381ed559fda1276c49e7
9,367
py
Python
appengine/swarming/bb_backend_proto/go/chromium/org/luci/buildbucket/proto/builder_service_pb2.py
maruel/swarming
8ab7568635fcbfd85a01884b64704fc2a1ac13c7
[ "Apache-2.0" ]
74
2015-04-01T02:35:15.000Z
2021-12-17T22:10:56.000Z
appengine/swarming/bb_backend_proto/go/chromium/org/luci/buildbucket/proto/builder_service_pb2.py
maruel/swarming
8ab7568635fcbfd85a01884b64704fc2a1ac13c7
[ "Apache-2.0" ]
123
2015-04-01T04:02:57.000Z
2022-03-02T12:49:55.000Z
python_pb2/go/chromium/org/luci/buildbucket/proto/builder_service_pb2.py
NDevTK/chromium-infra
d38e088e158d81f7f2065a38aa1ea1894f735ec4
[ "BSD-3-Clause" ]
32
2015-04-03T01:40:47.000Z
2021-11-13T15:20:13.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: go.chromium.org/luci/buildbucket/proto/builder_service.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf impor...
42.193694
950
0.785097
1,140
9,367
6.092105
0.158772
0.036285
0.05198
0.054428
0.611807
0.530886
0.489417
0.470986
0.460763
0.413679
0
0.031261
0.101847
9,367
221
951
42.384615
0.794247
0.050283
0
0.563158
1
0.005263
0.238883
0.192277
0
0
0
0
0
1
0
false
0
0.031579
0
0.031579
0
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
d77fe1181121412b14ae9a75aaaeb60c9b2e4847
4,980
py
Python
tk_builder/image_reader.py
ngageoint/tk_builder
a1e76fa77aa64f47e8516d1c983674455b14528b
[ "MIT" ]
2
2021-03-12T12:51:00.000Z
2022-02-21T22:21:16.000Z
tk_builder/image_reader.py
ngageoint/tk_builder
a1e76fa77aa64f47e8516d1c983674455b14528b
[ "MIT" ]
3
2020-06-22T14:24:11.000Z
2021-04-21T18:53:15.000Z
tk_builder/image_reader.py
ngageoint/tk_builder
a1e76fa77aa64f47e8516d1c983674455b14528b
[ "MIT" ]
2
2020-07-09T20:25:18.000Z
2020-09-14T10:10:28.000Z
""" Sets out the main interface for something which provides image data. """ __classification__ = "UNCLASSIFIED" __author__ = ("Jason Casey", "Thomas McCullough") import numpy from typing import Tuple, Union, Callable class CanvasImageReader(object): """ An abstract image reader class, intended to layout th...
26.489362
113
0.608434
616
4,980
4.787338
0.319805
0.039674
0.052221
0.047474
0.145134
0.035944
0.023059
0
0
0
0
0.011511
0.302209
4,980
187
114
26.631016
0.837122
0.459036
0
0.5
0
0
0.082875
0
0
0
0
0
0
1
0.28125
false
0.015625
0.03125
0.09375
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d78070774e631762bf3c7e7b75ceff8f9450ec9e
773
py
Python
PYTHON-CURSO EM VIDEO/Desafio 093.py
JaumVitor/HOMEWORK-PYTHON
aff564ac61802c7417d7280a73c1ed4a98978ed3
[ "Apache-2.0" ]
null
null
null
PYTHON-CURSO EM VIDEO/Desafio 093.py
JaumVitor/HOMEWORK-PYTHON
aff564ac61802c7417d7280a73c1ed4a98978ed3
[ "Apache-2.0" ]
null
null
null
PYTHON-CURSO EM VIDEO/Desafio 093.py
JaumVitor/HOMEWORK-PYTHON
aff564ac61802c7417d7280a73c1ed4a98978ed3
[ "Apache-2.0" ]
null
null
null
#Jogadores de futebol exercicio 093/1 - Guanabara inf = dict() gols = list() soma = 0 inf['nome'] = str (input ('Nome: ')) n = int (input (f'Quantas partidas {inf["nome"].upper()} jogou ? ')) print () for c in range (1,n + 1): gols.append(int(input(f'Quantos gols na {c}º partida ? '))) inf['marcou'] = gols ...
24.935484
90
0.60414
123
773
3.796748
0.447154
0.044968
0.038544
0
0
0
0
0
0
0
0
0.022508
0.195343
773
31
91
24.935484
0.728296
0.147477
0
0.227273
0
0.045455
0.378419
0.031915
0
0
0
0
0
1
0
false
0
0
0
0
0.409091
0
0
0
null
0
0
0
0
0
0
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
d7817d064ef8356ad5589fda36c273ff66b4c61d
299
py
Python
tests/test-options.py
dearvn/tdameritrade_ext
0d42f904b938b5366d89c016c7d188294fe1e2d7
[ "MIT" ]
null
null
null
tests/test-options.py
dearvn/tdameritrade_ext
0d42f904b938b5366d89c016c7d188294fe1e2d7
[ "MIT" ]
null
null
null
tests/test-options.py
dearvn/tdameritrade_ext
0d42f904b938b5366d89c016c7d188294fe1e2d7
[ "MIT" ]
null
null
null
from __future__ import (absolute_import, division, print_function, unicode_literals) from tdameritrade_ext.client import TDClient import time if __name__ == '__main__': c = TDClient() data = c.options('AAPL', fromDate=time.strftime("%Y-%m-%d")) print(data)
19.933333
66
0.662207
35
299
5.2
0.742857
0
0
0
0
0
0
0
0
0
0
0
0.22408
299
14
67
21.357143
0.784483
0
0
0
0
0
0.067568
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d78399d03be3062214c6637b2396b53b6c23fb8e
5,344
py
Python
python3/koans/about_class_attributes.py
tracybporter/learn-python3-via-koans-2018
539199af70e83b66e49977a4a872785aee7e1ea2
[ "MIT" ]
null
null
null
python3/koans/about_class_attributes.py
tracybporter/learn-python3-via-koans-2018
539199af70e83b66e49977a4a872785aee7e1ea2
[ "MIT" ]
null
null
null
python3/koans/about_class_attributes.py
tracybporter/learn-python3-via-koans-2018
539199af70e83b66e49977a4a872785aee7e1ea2
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Based on AboutClassMethods in the Ruby Koans # from runner.koan import * class AboutClassAttributes(Koan): class Dog: pass def test_objects_are_objects(self): fido = self.Dog() self.assertEqual(True, isinstance(fido, object)) de...
31.435294
108
0.622006
634
5,344
4.910095
0.222397
0.101189
0.026984
0.019274
0.244459
0.159974
0.084806
0.084806
0.060392
0.026984
0
0.00923
0.229603
5,344
169
109
31.621302
0.746903
0.081961
0
0.082569
0
0
0.074362
0
0
0
0
0
0.247706
1
0.293578
false
0.009174
0.009174
0.091743
0.440367
0
0
0
0
null
0
0
0
0
0
0
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
d783adbe6a16f81ab7011bbcdb9b15d9f279fbad
5,322
py
Python
system_rereg.py
truzzon/SUSE-Manager-Tools-V2
bce67bca5eaf072d6ec53157de3057f56bea8296
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
system_rereg.py
truzzon/SUSE-Manager-Tools-V2
bce67bca5eaf072d6ec53157de3057f56bea8296
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
system_rereg.py
truzzon/SUSE-Manager-Tools-V2
bce67bca5eaf072d6ec53157de3057f56bea8296
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#!/usr/bin/env python3 # # system_rereg.py # # (c) 2018 SUSE Linux GmbH, Germany. # GNU Public License. No warranty. No Support # # Version: 2020-06-30 # # Created by: SUSE Michael Brookhuis # # This script will re-register a system against a proxy. # # Releases: # 2019-12-11 M.Brookhuis - Initial release # 2020-04-02 ...
33.2625
129
0.596204
679
5,322
4.569956
0.34757
0.024815
0.029326
0.018047
0.164357
0.164357
0.095392
0.076055
0.076055
0.076055
0
0.018528
0.27997
5,322
159
130
33.471698
0.791232
0.10372
0
0.148148
0
0.046296
0.614091
0.057258
0
0
0
0
0
1
0.027778
false
0
0.064815
0
0.101852
0
0
0
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
d785c4ebcb27d7593b683c29a2718bc075eb6f5f
10,174
py
Python
sdk/python/pulumi_cloudinit/config.py
pulumi/pulumi-cloudin
dcaa22ff449e1b1f55bc815999bb582671f61268
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_cloudinit/config.py
pulumi/pulumi-cloudin
dcaa22ff449e1b1f55bc815999bb582671f61268
[ "ECL-2.0", "Apache-2.0" ]
28
2021-04-17T10:50:49.000Z
2022-03-31T15:22:12.000Z
sdk/python/pulumi_cloudinit/config.py
pulumi/pulumi-cloudinit
dcaa22ff449e1b1f55bc815999bb582671f61268
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
38.24812
134
0.628956
1,124
10,174
5.435943
0.123665
0.099018
0.115057
0.067758
0.720786
0.68838
0.639771
0.610475
0.541408
0.490835
0
0.008067
0.256733
10,174
265
135
38.392453
0.799921
0.127678
0
0.658031
1
0
0.085711
0.003363
0
0
0
0
0
1
0.15544
false
0.005181
0.036269
0.062176
0.284974
0
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
ad0afb57fed6ac55793ce10ebf8553ffd9abc5b5
796
py
Python
ncpsort/config/train_config.py
yueqiw/ncp-sort
045361d93bc9d8ef2596cdda7c485b6ffd77dd81
[ "MIT" ]
2
2019-08-06T10:10:37.000Z
2020-09-30T12:11:28.000Z
ncpsort/config/train_config.py
yueqiw/ncp-sort
045361d93bc9d8ef2596cdda7c485b6ffd77dd81
[ "MIT" ]
1
2021-04-14T12:09:02.000Z
2021-07-19T04:06:05.000Z
ncpsort/config/train_config.py
yueqiw/ncp-sort
045361d93bc9d8ef2596cdda7c485b6ffd77dd81
[ "MIT" ]
null
null
null
params = { 'model_name': 'NCP', # model name 'cluster_generator': "MFM", # or CRP 'maxK': 12, # max number of clusters to generate # MFM "poisson_lambda": 3 - 1, # K ~ Pk(k) = Poisson(lambda) + 1 "dirichlet_alpha": 1, # prior for cluster proportions # CRP 'crp_alpha': .7, # dis...
18.952381
63
0.576633
106
796
4.207547
0.603774
0.053812
0.013453
0
0
0
0
0
0
0
0
0.05516
0.29397
796
41
64
19.414634
0.738434
0.443467
0
0
1
0
0.341981
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
ad1312031680e188b0840a6e8d52bd754ece092a
2,264
py
Python
hit_analysis/classification/artifact/near_hot_pixel2.py
credo-science/credo-classify
1cc5e00a4df36c4069c0d0fbc19f579780b79ca5
[ "MIT" ]
null
null
null
hit_analysis/classification/artifact/near_hot_pixel2.py
credo-science/credo-classify
1cc5e00a4df36c4069c0d0fbc19f579780b79ca5
[ "MIT" ]
8
2021-03-30T12:52:01.000Z
2022-03-12T00:19:45.000Z
hit_analysis/classification/artifact/near_hot_pixel2.py
credo-science/credo-classify
1cc5e00a4df36c4069c0d0fbc19f579780b79ca5
[ "MIT" ]
1
2020-06-12T13:29:34.000Z
2020-06-12T13:29:34.000Z
import itertools from typing import List, Tuple from hit_analysis.commons.classify import classify_by_lambda from hit_analysis.commons.consts import X, Y, ARTIFACT_NEAR_HOT_PIXEL2 from hit_analysis.commons.utils import point_to_point_distance, get_and_set def near_hot_pixel2(detections: List[dict], often: int = 3, d...
41.163636
142
0.709806
345
2,264
4.428986
0.298551
0.064136
0.093586
0.109948
0.065445
0.034031
0
0
0
0
0
0.011551
0.196996
2,264
54
143
41.925926
0.828933
0.547703
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ad18e4360fcbca9513d611476ce4ad71f626dae2
1,086
py
Python
model_compiler/src/model_compiler/compilers/keras_model_file_to_keras_model.py
yuanliya/Adlik
602074b44064002fc0bb054e17a989a5bcf22e92
[ "Apache-2.0" ]
548
2019-09-27T07:37:47.000Z
2022-03-31T05:12:38.000Z
model_compiler/src/model_compiler/compilers/keras_model_file_to_keras_model.py
yuanliya/Adlik
602074b44064002fc0bb054e17a989a5bcf22e92
[ "Apache-2.0" ]
533
2019-09-27T06:30:41.000Z
2022-03-29T07:34:08.000Z
model_compiler/src/model_compiler/compilers/keras_model_file_to_keras_model.py
yuanliya/Adlik
602074b44064002fc0bb054e17a989a5bcf22e92
[ "Apache-2.0" ]
54
2019-10-10T02:19:31.000Z
2021-12-28T03:37:45.000Z
# Copyright 2019 ZTE corporation. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 import tensorflow as tf from tensorflow import keras from . import repository from .. import utilities from .. import keras_util from ..models.irs.keras_model import KerasModel from ..models.sources.keras_model_file import Ke...
38.785714
108
0.747698
141
1,086
5.546099
0.41844
0.08312
0.040921
0.035806
0.138107
0.084399
0.084399
0
0
0
0
0.009879
0.161142
1,086
27
109
40.222222
0.848518
0.081031
0
0
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
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
ad1c18fdeddcf5b2bf6040ecd740f5f4708f5cf2
2,228
py
Python
checkov/cloudformation/checks/resource/aws/IAMAdminPolicyDocument.py
brandon-bailey/checkov
fa0f8a81ed666f78d412c8196066e026f063e500
[ "Apache-2.0" ]
null
null
null
checkov/cloudformation/checks/resource/aws/IAMAdminPolicyDocument.py
brandon-bailey/checkov
fa0f8a81ed666f78d412c8196066e026f063e500
[ "Apache-2.0" ]
null
null
null
checkov/cloudformation/checks/resource/aws/IAMAdminPolicyDocument.py
brandon-bailey/checkov
fa0f8a81ed666f78d412c8196066e026f063e500
[ "Apache-2.0" ]
null
null
null
from checkov.cloudformation.checks.resource.base_resource_check import BaseResourceCheck from checkov.common.models.enums import CheckResult, CheckCategories from checkov.common.util.type_forcers import force_list class IAMAdminPolicyDocument(BaseResourceCheck): def __init__(self): name = "Ensure no IAM p...
42.846154
106
0.625673
233
2,228
5.832618
0.356223
0.075055
0.050773
0.02649
0
0
0
0
0
0
0
0.00186
0.276032
2,228
51
107
43.686275
0.84067
0.043986
0
0.128205
0
0
0.138758
0
0
0
0
0
0
1
0.076923
false
0.076923
0.076923
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ad1fb85306d9ac71a70cf6a79071ba401f60a1a3
957
py
Python
hypha/apply/funds/migrations/0049_screening_status.py
maxpearl/hypha
e181ebadfb744aab34617bb766e746368d6f2de0
[ "BSD-3-Clause" ]
20
2021-04-08T16:38:49.000Z
2022-02-09T20:05:57.000Z
hypha/apply/funds/migrations/0049_screening_status.py
maxpearl/hypha
e181ebadfb744aab34617bb766e746368d6f2de0
[ "BSD-3-Clause" ]
1,098
2017-12-15T11:23:03.000Z
2020-01-24T07:58:07.000Z
hypha/apply/funds/migrations/0049_screening_status.py
maxpearl/hypha
e181ebadfb744aab34617bb766e746368d6f2de0
[ "BSD-3-Clause" ]
17
2020-02-07T14:55:54.000Z
2021-04-04T19:32:38.000Z
# Generated by Django 2.0.10 on 2019-01-10 15:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('funds', '0048_add_field_slack_channel'), ] operations = [ migrations.CreateModel( name='Screen...
31.9
172
0.607106
96
957
5.885417
0.614583
0.042478
0.049558
0.077876
0
0
0
0
0
0
0
0.032951
0.270637
957
29
173
33
0.776504
0.048067
0
0.086957
1
0
0.185919
0.077008
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ad249aad4b58c47c0bc3495f7074208912e483bd
26,507
py
Python
lib/googlecloudsdk/third_party/apis/artifactregistry/v1alpha1/artifactregistry_v1alpha1_client.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
2
2019-11-10T09:17:07.000Z
2019-12-18T13:44:08.000Z
lib/googlecloudsdk/third_party/apis/artifactregistry/v1alpha1/artifactregistry_v1alpha1_client.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
null
null
null
lib/googlecloudsdk/third_party/apis/artifactregistry/v1alpha1/artifactregistry_v1alpha1_client.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
1
2020-07-25T01:40:19.000Z
2020-07-25T01:40:19.000Z
"""Generated client library for artifactregistry version v1alpha1.""" # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.py import base_api from googlecloudsdk.third_party.apis.artifactregistry.v1alpha1 import artifactregistry_v1alpha1_messag...
46.832155
266
0.732674
2,333
26,507
8.083155
0.105444
0.037544
0.04921
0.017075
0.70543
0.698165
0.668098
0.649061
0.620957
0.595132
0
0.007235
0.181386
26,507
565
267
46.915044
0.861837
0.253254
0
0.52356
1
0
0.281302
0.240578
0
0
0
0
0
1
0.065445
false
0
0.070681
0
0.232984
0
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
ad3563c3d7cdcd3ff6ddf85a53efac8909a1ff32
264
py
Python
aiostar/config/config.py
douding123986/aiostar
a7fa73820ea13c81062081ea9b8445c2dab1986f
[ "MIT" ]
5
2022-03-11T09:31:14.000Z
2022-03-14T03:17:34.000Z
aiostar/config/config.py
douding123986/aiostar
a7fa73820ea13c81062081ea9b8445c2dab1986f
[ "MIT" ]
1
2022-03-13T04:28:39.000Z
2022-03-13T04:28:39.000Z
aiostar/config/config.py
douding123986/aiostar
a7fa73820ea13c81062081ea9b8445c2dab1986f
[ "MIT" ]
2
2022-03-11T12:09:43.000Z
2022-03-12T12:33:58.000Z
# coding:utf-8 """ Name : config.py Author : blu Time : 2022/3/7 16:19 Desc : """ Debug = False filter_host = "http://192.168.9.166:5000" class DatabaseConfig: mongo_host = 'XXXX' mongo_user = 'XXXX' mongo_pwd = 'XXXXX' mongo_database = 'XXXX'
14.666667
41
0.632576
39
264
4.153846
0.846154
0.111111
0
0
0
0
0
0
0
0
0
0.120192
0.212121
264
17
42
15.529412
0.658654
0.276515
0
0
0
0
0.229508
0
0
0
0
0
0
1
0
false
0
0
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
0
0
1
0
0
1
ad3793c1ab7b7c4940b0eb64d56f68905ea6f01a
768
py
Python
pf_django/website/migrations/0006_auto_20210415_1049.py
Jimmy5467/track-down
d2c9b4e067ff5b2fb6981b61e73534e0b6ae3a64
[ "MIT" ]
2
2021-03-21T18:35:34.000Z
2021-03-22T07:40:11.000Z
pf_django/website/migrations/0006_auto_20210415_1049.py
Jimmy5467/person-finder
5af87f8b701abe358502d408ef0131e159b9b071
[ "MIT" ]
null
null
null
pf_django/website/migrations/0006_auto_20210415_1049.py
Jimmy5467/person-finder
5af87f8b701abe358502d408ef0131e159b9b071
[ "MIT" ]
5
2021-04-24T17:44:23.000Z
2021-05-02T03:57:29.000Z
# Generated by Django 3.0.4 on 2021-04-15 05:19 from django.db import migrations, models import website.models class Migration(migrations.Migration): dependencies = [ ('website', '0005_auto_20210414_0126'), ] operations = [ migrations.CreateModel( name='Find', fi...
28.444444
114
0.596354
83
768
5.373494
0.650602
0.058296
0.09417
0.112108
0.183857
0.183857
0.183857
0.183857
0
0
0
0.057658
0.277344
768
26
115
29.538462
0.745946
0.058594
0
0.1
1
0
0.085992
0.0319
0
0
0
0
0
1
0
false
0
0.1
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ad486d2083eda41334bbacb0a2b7a05c6b267c6a
1,602
py
Python
octavia_f5/tests/unit/controller/worker/test_endpoint.py
sungwon-ahn/octavia-f5-provider-driver
ab99ed806b5249c1f774aa6f807f778dfb2051fa
[ "Apache-2.0" ]
15
2020-01-23T16:06:52.000Z
2022-02-16T08:44:35.000Z
octavia_f5/tests/unit/controller/worker/test_endpoint.py
sungwon-ahn/octavia-f5-provider-driver
ab99ed806b5249c1f774aa6f807f778dfb2051fa
[ "Apache-2.0" ]
88
2019-12-09T11:14:40.000Z
2022-02-28T11:51:58.000Z
octavia_f5/tests/unit/controller/worker/test_endpoint.py
sungwon-ahn/octavia-f5-provider-driver
ab99ed806b5249c1f774aa6f807f778dfb2051fa
[ "Apache-2.0" ]
2
2020-03-23T16:21:54.000Z
2022-02-24T15:13:32.000Z
# Copyright 2020 SAP SE # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software ...
35.6
77
0.729713
212
1,602
5.40566
0.533019
0.052356
0.044503
0.027923
0
0
0
0
0
0
0
0.016266
0.194132
1,602
44
78
36.409091
0.871418
0.336454
0
0
0
0
0.060115
0.051527
0
0
0
0
0
1
0.045455
false
0
0.318182
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
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
ad4b8d5aab6fa835510a7df96ddc70fba6ec1046
604
py
Python
src/spellbot/constants.py
crookedneighbor/spellbot
44c2b5af4a47a7d0f9e38e0d54c1bbc7143b8c65
[ "MIT" ]
null
null
null
src/spellbot/constants.py
crookedneighbor/spellbot
44c2b5af4a47a7d0f9e38e0d54c1bbc7143b8c65
[ "MIT" ]
166
2020-07-31T12:29:48.000Z
2022-03-28T22:07:17.000Z
src/spellbot/constants.py
crookedneighbor/spellbot
44c2b5af4a47a7d0f9e38e0d54c1bbc7143b8c65
[ "MIT" ]
null
null
null
from datetime import datetime ADMIN_ROLE = "SpellBot Admin" CREATE_ENDPOINT = "https://us-central1-magic-night-30324.cloudfunctions.net/createGame" THUMB_URL = ( "https://raw.githubusercontent.com/lexicalunit/spellbot/master/spellbot.png" f"?{datetime.today().strftime('%Y-%m-%d')}" # workaround over-eager cac...
35.529412
87
0.736755
80
604
5.4625
0.775
0.04119
0
0
0
0
0
0
0
0
0
0.091248
0.110927
604
16
88
37.75
0.718808
0.097682
0
0
0
0
0.626617
0.179298
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
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
ad5636af88187329102375190a4212e1a15b8f0e
4,070
py
Python
tasks/update_releases.py
aiddata/geo-hpc
8f684e72c14795f2e1532896a4b0999fe6c14d24
[ "MIT" ]
5
2020-02-14T14:21:51.000Z
2021-08-22T19:47:48.000Z
tasks/update_releases.py
aiddata/geo-hpc
8f684e72c14795f2e1532896a4b0999fe6c14d24
[ "MIT" ]
1
2017-11-05T20:56:21.000Z
2017-12-08T17:22:13.000Z
tasks/update_releases.py
aiddata/geo-hpc
8f684e72c14795f2e1532896a4b0999fe6c14d24
[ "MIT" ]
3
2020-02-27T11:33:43.000Z
2021-08-22T19:47:57.000Z
"""Checks on releases and runs ingest to update Args branch (required) update (optional): use to define update method when running add_release. defaults to "full if left blank """ # ----------------------------------------------------------------------------- import sys import os bran...
24.518072
88
0.601229
529
4,070
4.406427
0.270321
0.028314
0.020592
0.02574
0.119262
0.092664
0.048048
0.048048
0.048048
0.048048
0
0.006477
0.20344
4,070
165
89
24.666667
0.712523
0.182801
0
0.069767
0
0
0.092611
0.022588
0
0
0
0
0
0
null
null
0
0.093023
null
null
0.05814
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ad58f1833ec0473218f15c656eb819e630e9f649
4,467
py
Python
pyaedt/application/DataHandlers.py
sparfenyuk/PyAEDT
efe8d219be974fa8a164d84ca9bc5c0e1b32256c
[ "MIT" ]
null
null
null
pyaedt/application/DataHandlers.py
sparfenyuk/PyAEDT
efe8d219be974fa8a164d84ca9bc5c0e1b32256c
[ "MIT" ]
null
null
null
pyaedt/application/DataHandlers.py
sparfenyuk/PyAEDT
efe8d219be974fa8a164d84ca9bc5c0e1b32256c
[ "MIT" ]
null
null
null
import warnings import random import string from collections import OrderedDict from decimal import Decimal from ..generic.general_methods import aedt_exception_handler, generate_unique_name from ..modeler.Object3d import EdgePrimitive, FacePrimitive, VertexPrimitive try: import clr clr.AddReference("System.Col...
21.271429
98
0.533915
556
4,467
4.154676
0.22482
0.025974
0.027273
0.069697
0.20303
0.099134
0.0671
0.01645
0
0
0
0.015015
0.32908
4,467
209
99
21.373206
0.755756
0.148198
0
0.242718
1
0
0.054301
0
0
0
0
0
0
1
0.067961
false
0
0.106796
0
0.213592
0
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
ad646f02fb0183c4c5875130011374d04324e4e0
272
py
Python
jobs/jobs/celeryp.py
gitdaniel228/jobSearch
5dc1c69a3750f92ca0bcd378dfdc500143204a5a
[ "MIT" ]
null
null
null
jobs/jobs/celeryp.py
gitdaniel228/jobSearch
5dc1c69a3750f92ca0bcd378dfdc500143204a5a
[ "MIT" ]
null
null
null
jobs/jobs/celeryp.py
gitdaniel228/jobSearch
5dc1c69a3750f92ca0bcd378dfdc500143204a5a
[ "MIT" ]
null
null
null
import os from celery import Celery os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'jobs.settings.production') from django.conf import settings app = Celery('jobs') app.config_from_object('django.conf:settings') app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
24.727273
75
0.816176
37
272
5.837838
0.540541
0.092593
0
0
0
0
0
0
0
0
0
0
0.077206
272
10
76
27.2
0.860558
0
0
0
0
0
0.257353
0.169118
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ad65bbe60cc49246a29104529f2aca3029578f7d
391
py
Python
thairod/utils/tests/test_load_seed.py
thegangtechnology/thairod-django
b073186a4b5bc42dfef99685b3da30abf8e42862
[ "MIT" ]
null
null
null
thairod/utils/tests/test_load_seed.py
thegangtechnology/thairod-django
b073186a4b5bc42dfef99685b3da30abf8e42862
[ "MIT" ]
3
2021-07-27T13:11:36.000Z
2021-08-10T22:54:55.000Z
thairod/utils/tests/test_load_seed.py
thegangtechnology/thairod-django
b073186a4b5bc42dfef99685b3da30abf8e42862
[ "MIT" ]
null
null
null
from thairod.utils.load_seed import load_meaningful_seed from thairod.utils.test_util import TestCase from warehouse.models import Warehouse class TestLoadSeed(TestCase): with_seed = False def setUp(self): load_meaningful_seed() def test_warehouse(self): zip_code = Warehouse.default_ware...
26.066667
68
0.754476
51
391
5.54902
0.529412
0.077739
0.113074
0
0
0
0
0
0
0
0
0.003086
0.171356
391
14
69
27.928571
0.87037
0
0
0
0
0
0
0
0
0
0
0
0.1
1
0.2
false
0
0.3
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ad6cb29a1465ef151bb64dc0e2653a8b9b9c17f7
4,508
py
Python
FG-Tools/scripts/fg_tools/ui/__init__.py
peternepp/fg-tools
7f015dd31d691fd63af1f873f6893d76b9d65308
[ "MIT" ]
1
2021-02-27T08:21:16.000Z
2021-02-27T08:21:16.000Z
FG-Tools/scripts/fg_tools/ui/__init__.py
peternepp/fg-tools
7f015dd31d691fd63af1f873f6893d76b9d65308
[ "MIT" ]
2
2021-06-01T14:02:58.000Z
2021-06-01T16:31:42.000Z
FG-Tools/scripts/fg_tools/ui/__init__.py
peternepp/fg-tools
7f015dd31d691fd63af1f873f6893d76b9d65308
[ "MIT" ]
1
2021-05-13T08:12:03.000Z
2021-05-13T08:12:03.000Z
""" This class builds the interface for the ui classes and functions. """ import datetime import maya.cmds as cmds import fg_tools.maya_runtime_command import fg_tools.file_system as fs import viewport import fg_menu __fg_toolsUIInitialized = False def __initialize(): """ Initializes the parts of the FG-To...
36.95082
119
0.53394
446
4,508
5.11435
0.307175
0.049101
0.023674
0.031565
0.263043
0.226217
0.226217
0.206927
0.206927
0.192898
0
0.002533
0.386868
4,508
121
120
37.256198
0.822721
0
0
0.205479
0
0.013699
0.130872
0.030976
0
0
0
0
0
0
null
null
0
0.123288
null
null
0.013699
0
0
0
null
0
0
0
0
0
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
ad7ab2b15b29cb627481859cd642281ed018d1b8
1,647
py
Python
cashup/migrations/0007_auto_20170117_1927.py
remarkablerocket/cashup
86ee12f20feab2edb383224126aaf824764be656
[ "BSD-3-Clause" ]
null
null
null
cashup/migrations/0007_auto_20170117_1927.py
remarkablerocket/cashup
86ee12f20feab2edb383224126aaf824764be656
[ "BSD-3-Clause" ]
null
null
null
cashup/migrations/0007_auto_20170117_1927.py
remarkablerocket/cashup
86ee12f20feab2edb383224126aaf824764be656
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-01-17 19:27 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models def populate_outlet_name(apps, schema_editor): Outlet = apps.get_model('cashup', 'Outlet') for outlet in Outlet.objects.all()...
37.431818
277
0.632058
194
1,647
5.226804
0.453608
0.059172
0.059172
0.023669
0.470414
0.470414
0.412229
0.412229
0.412229
0.412229
0
0.027537
0.228294
1,647
43
278
38.302326
0.77026
0.041287
0
0.342857
1
0
0.208756
0.017132
0
0
0
0
0
1
0.028571
false
0
0.085714
0
0.2
0
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
ad7abd130e5c52efddd5eebc10ba646733aff423
2,149
py
Python
18-04-18-REST APIs with Flask and Python/Section 5 - Storing resources in a SQL database/4_Adding Item handling in the database/user.py
maraboinavamshi/courses
48f255ffb1903ba20865c2b91b488758d5cb1a09
[ "Apache-2.0" ]
15
2017-09-19T08:09:01.000Z
2019-04-29T00:37:51.000Z
18-04-18-REST APIs with Flask and Python/Section 5 - Storing resources in a SQL database/4_Adding Item handling in the database/user.py
chitrita/Courses-1
7713267ee5c92e488086588ac41490c44b4f7350
[ "Apache-2.0" ]
null
null
null
18-04-18-REST APIs with Flask and Python/Section 5 - Storing resources in a SQL database/4_Adding Item handling in the database/user.py
chitrita/Courses-1
7713267ee5c92e488086588ac41490c44b4f7350
[ "Apache-2.0" ]
17
2018-02-27T03:15:54.000Z
2019-04-24T09:26:46.000Z
import sqlite3 from flask_restplus import Resource, reqparse class User: def __init__(self, _id, username, password): self.id = _id self.username = username self.password = password @classmethod def find_by_username(cls, username): connection = sqlite3.connect('data.db') cursor = connection.cursor() ...
26.207317
72
0.681712
284
2,149
5.09507
0.334507
0.01935
0.049758
0.058051
0.480995
0.449205
0.449205
0.449205
0.413269
0.413269
0
0.005882
0.208934
2,149
81
73
26.530864
0.845294
0.198232
0
0.509091
0
0
0.168808
0
0
0
0
0
0
1
0.072727
false
0.090909
0.036364
0
0.236364
0
0
0
0
null
0
0
0
0
0
0
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
ad7bd13f65c206f5bb8ba86f04c92db2b89357f2
4,951
py
Python
MEMR/DPOAE_tuning.py
haribharadwaj/codebasket
f673c83d7e6b440346966775e366d198c55a0b67
[ "BSD-3-Clause" ]
null
null
null
MEMR/DPOAE_tuning.py
haribharadwaj/codebasket
f673c83d7e6b440346966775e366d198c55a0b67
[ "BSD-3-Clause" ]
null
null
null
MEMR/DPOAE_tuning.py
haribharadwaj/codebasket
f673c83d7e6b440346966775e366d198c55a0b67
[ "BSD-3-Clause" ]
4
2018-06-02T18:41:45.000Z
2022-01-08T01:08:14.000Z
import numpy as np import os import fnmatch import pylab as pl from scipy.io import loadmat from math import factorial from anlffr.dpss import dpss_windows def savitzky_golay(y, window_size, order, deriv=0, rate=1): """Smooth (and optionally differentiate) data with a Savitzky-Golay filter. The Savitzky-Golay...
37.507576
79
0.598667
725
4,951
4.042759
0.393103
0.044353
0.015353
0.013647
0.027294
0
0
0
0
0
0
0.036781
0.269643
4,951
131
80
37.793893
0.773783
0.038376
0
0
0
0
0.101039
0.015407
0
0
0
0
0
0
null
null
0
0.101449
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
ad7e8f43a57525e6285ce27a3b0274cbe21389d8
1,999
py
Python
src/bxgateway/messages/eth/protocol/get_block_headers_eth_protocol_message.py
doubleukay/bxgateway
ac01fc9475c039cf4255576dd4ecd6bff6c48f69
[ "MIT" ]
21
2019-11-06T17:37:41.000Z
2022-03-28T07:18:33.000Z
src/bxgateway/messages/eth/protocol/get_block_headers_eth_protocol_message.py
doubleukay/bxgateway
ac01fc9475c039cf4255576dd4ecd6bff6c48f69
[ "MIT" ]
4
2019-11-06T22:08:00.000Z
2021-12-08T06:20:51.000Z
src/bxgateway/messages/eth/protocol/get_block_headers_eth_protocol_message.py
doubleukay/bxgateway
ac01fc9475c039cf4255576dd4ecd6bff6c48f69
[ "MIT" ]
10
2020-08-05T15:58:16.000Z
2022-02-07T23:51:10.000Z
from typing import Optional import blxr_rlp as rlp from bxcommon.utils.object_hash import Sha256Hash from bxcommon.utils.blockchain_utils.eth import eth_common_constants from bxutils.logging.log_level import LogLevel from bxgateway.messages.eth.protocol.eth_protocol_message import EthProtocolMessage from bxgateway.me...
37.018519
99
0.698349
250
1,999
5.26
0.24
0.11635
0.063878
0.064639
0.355894
0.310266
0.310266
0.241825
0.165779
0.165779
0
0.005671
0.206103
1,999
53
100
37.716981
0.822936
0
0
0.170732
0
0.02439
0.133567
0.049025
0
0
0
0
0
1
0.170732
false
0
0.170732
0.097561
0.634146
0
0
0
0
null
0
0
0
0
0
0
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
ad7fc60ba1428ad41098acc7bb73976eab6f041f
496
py
Python
interfaces/python/package/ell/nodes/__init__.py
kernhanda/ELL
370c0de4e4c190ca0cb43654b4246b3686bca464
[ "MIT" ]
1
2018-11-08T06:19:31.000Z
2018-11-08T06:19:31.000Z
interfaces/python/package/ell/nodes/__init__.py
vishnoitanuj/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
null
null
null
interfaces/python/package/ell/nodes/__init__.py
vishnoitanuj/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
1
2020-12-10T17:49:07.000Z
2020-12-10T17:49:07.000Z
# Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE.md file in the project root # for full license information. # ============================================================================== """ ELL nodes """ from ..ell_py import BinaryOperationType,\ InputNode,\ InputPort,\...
20.666667
80
0.645161
44
496
7.25
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.102823
496
23
81
21.565217
0.716854
0.477823
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
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
ad86f4d9304b82c9d7a01cfc299bdf21842e003a
753
py
Python
demos/generating_digits.py
X-rayLaser/DeepNetLib
abe64d2c0d87082aae1b2063a06a4b778ea285bd
[ "MIT", "BSD-2-Clause", "Apache-2.0" ]
null
null
null
demos/generating_digits.py
X-rayLaser/DeepNetLib
abe64d2c0d87082aae1b2063a06a4b778ea285bd
[ "MIT", "BSD-2-Clause", "Apache-2.0" ]
null
null
null
demos/generating_digits.py
X-rayLaser/DeepNetLib
abe64d2c0d87082aae1b2063a06a4b778ea285bd
[ "MIT", "BSD-2-Clause", "Apache-2.0" ]
null
null
null
import sys import os sys.path.insert(1, os.path.join(sys.path[0], '..')) from digit_drawing import DigitGenerator import helpers from datasets import mnist dest_folder = 'generated_digits' image_width = 28 image_height = 28 nepochs = 5 gen = DigitGenerator() mnist.download_dataset() pixels_to_categories = mnist.ge...
26.892857
88
0.743692
108
753
4.981481
0.490741
0.04461
0.100372
0
0
0
0
0
0
0
0
0.01391
0.14077
753
27
89
27.888889
0.81762
0
0
0
1
0
0.123506
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ad8bf12a7e7f72b9653a1383ebd5d38669dd110f
5,139
py
Python
vagrant/tutorial/post-reboot-bootstrap.py
wallnerryan/flocker-profiles
bcd3ced8edf4af86a68070ff6a714c45f9f4913b
[ "Apache-2.0" ]
null
null
null
vagrant/tutorial/post-reboot-bootstrap.py
wallnerryan/flocker-profiles
bcd3ced8edf4af86a68070ff6a714c45f9f4913b
[ "Apache-2.0" ]
null
null
null
vagrant/tutorial/post-reboot-bootstrap.py
wallnerryan/flocker-profiles
bcd3ced8edf4af86a68070ff6a714c45f9f4913b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # This script builds the base flocker-tutorial box. import sys import os from subprocess import check_call, check_output from textwrap import dedent from urlparse import urljoin if len(sys.argv) != 4: print "Wrong number of arguments." raise SystemExit(1) rpm_version = sys.argv[1] branch =...
37.786765
79
0.691574
747
5,139
4.681392
0.400268
0.054046
0.013726
0.021733
0.106949
0.062339
0.028596
0.028596
0
0
0
0.008809
0.160537
5,139
135
80
38.066667
0.801808
0.384121
0
0.08
0
0
0.44928
0.1552
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.013333
0
0
0
null
0
0
0
0
0
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
ad94c4d97351c583bd5d913d8858537d545df6a3
27,797
py
Python
analysis/FlatfieldCalibration.py
Borlaff/EuclidVisibleInstrument
73a64ad275054d7b1a26f0fe556eae222b65f613
[ "BSD-2-Clause" ]
5
2016-12-13T16:58:53.000Z
2019-12-29T05:29:00.000Z
analysis/FlatfieldCalibration.py
Borlaff/EuclidVisibleInstrument
73a64ad275054d7b1a26f0fe556eae222b65f613
[ "BSD-2-Clause" ]
null
null
null
analysis/FlatfieldCalibration.py
Borlaff/EuclidVisibleInstrument
73a64ad275054d7b1a26f0fe556eae222b65f613
[ "BSD-2-Clause" ]
3
2015-07-13T10:01:41.000Z
2019-05-28T13:41:47.000Z
""" Flat Field Calibration ====================== This simple script can be used to study the number of flat fields required to meet the VIS calibration requirements. The following requirements related to the flat field calibration has been taken from GDPRD. R-GDP-CAL-054: The contribution of the residuals of VIS fl...
35.913437
119
0.609382
3,972
27,797
4.241944
0.164149
0.011277
0.011395
0.007122
0.496943
0.454567
0.427681
0.411656
0.385067
0.370348
0
0.038005
0.242724
27,797
773
120
35.959897
0.762423
0.086664
0
0.510549
0
0.004219
0.144913
0.031703
0
0
0
0
0
0
null
null
0.006329
0.027426
null
null
0.035865
0
0
0
null
0
0
0
0
0
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
ad9909d10fb55037181312b44cf4dffcce9f1b0e
1,338
py
Python
kgl_humanprotein/datasets/tool.py
qAp/kgl_humanprotein
05dc0a493c7545b59c4a20547f885b13d9ea1a6a
[ "Apache-2.0" ]
null
null
null
kgl_humanprotein/datasets/tool.py
qAp/kgl_humanprotein
05dc0a493c7545b59c4a20547f885b13d9ea1a6a
[ "Apache-2.0" ]
null
null
null
kgl_humanprotein/datasets/tool.py
qAp/kgl_humanprotein
05dc0a493c7545b59c4a20547f885b13d9ea1a6a
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/03_datasets.tool.ipynb (unless otherwise specified). __all__ = ['tensor_to_image', 'tensor_to_label', 'image_to_tensor', 'label_to_tensor', 'opj'] # Cell # from common import * import os import math import numpy as np import cv2 import torch opj = os.path.join def ten...
28.468085
100
0.647235
191
1,338
4.335079
0.350785
0.060386
0.031401
0.045894
0.142512
0.050725
0
0
0
0
0
0.024523
0.17713
1,338
47
101
28.468085
0.72752
0.133034
0
0.125
1
0
0.092831
0
0
0
0
0
0
1
0.125
false
0
0.15625
0
0.40625
0.03125
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
ad9e1c4d5d4487517dfd01a9462b9fdff44431f5
1,018
py
Python
test/functions/test_add_diag.py
julieli/gpytorch
21f08b6067a3733ffd9d729a1ce25487976f927e
[ "MIT" ]
1
2018-05-30T07:32:29.000Z
2018-05-30T07:32:29.000Z
test/functions/test_add_diag.py
julieli/gpytorch
21f08b6067a3733ffd9d729a1ce25487976f927e
[ "MIT" ]
null
null
null
test/functions/test_add_diag.py
julieli/gpytorch
21f08b6067a3733ffd9d729a1ce25487976f927e
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import math import torch import unittest import gpytorch from torch.autograd import Variable from torch import nn class AddDiagTest(unittest.TestCase): def test_fo...
26.789474
71
0.665029
144
1,018
4.479167
0.368056
0.062016
0.099225
0.052713
0.291473
0.133333
0
0
0
0
0
0.029777
0.208251
1,018
37
72
27.513514
0.770471
0
0
0.074074
0
0
0.007859
0
0
0
0
0
0.111111
1
0.074074
false
0
0.37037
0
0.481481
0.037037
0
0
0
null
0
0
0
0
0
0
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
ad9e9976f8839268f6823cd2226603aaf440b012
2,123
py
Python
problem_solving/python/algorithms/implementation/picking_numbers.py
kcc3/hackerrank-solutions
f862b44b840bd447d99dc148f6bb5e2f5bfb8a86
[ "MIT" ]
null
null
null
problem_solving/python/algorithms/implementation/picking_numbers.py
kcc3/hackerrank-solutions
f862b44b840bd447d99dc148f6bb5e2f5bfb8a86
[ "MIT" ]
null
null
null
problem_solving/python/algorithms/implementation/picking_numbers.py
kcc3/hackerrank-solutions
f862b44b840bd447d99dc148f6bb5e2f5bfb8a86
[ "MIT" ]
1
2020-06-04T09:23:19.000Z
2020-06-04T09:23:19.000Z
from collections import OrderedDict def picking_numbers(a): """Hackerrank Problem: https://www.hackerrank.com/challenges/picking-numbers/problem Given an array of integers, find and print the maximum number of integers you can select from the array such that the absolute difference between any two of the...
42.46
121
0.586905
368
2,123
3.285326
0.282609
0.06617
0.037221
0.046319
0.230769
0.086022
0.063689
0.016543
0.016543
0
0
0.140551
0.299576
2,123
50
122
42.46
0.672495
0.099388
0
0
0
0
0.006421
0
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ad9f14f01de42b799d700030a2c57d6b807673e5
2,146
py
Python
utils/Correlation/anchos.py
afeinstein20/ceres
e55150c587782cbecfd45c21ba0ce0023e54c3a9
[ "MIT" ]
35
2016-09-09T04:08:45.000Z
2022-02-16T20:25:49.000Z
utils/Correlation/anchos.py
afeinstein20/ceres
e55150c587782cbecfd45c21ba0ce0023e54c3a9
[ "MIT" ]
29
2016-09-10T15:30:29.000Z
2021-06-02T14:55:53.000Z
utils/Correlation/anchos.py
afeinstein20/ceres
e55150c587782cbecfd45c21ba0ce0023e54c3a9
[ "MIT" ]
26
2016-09-09T23:58:15.000Z
2022-02-20T17:50:35.000Z
import pyfits import numpy import scipy import math import os import toVac import prueba from scipy import optimize import matplotlib.pylab as plt import readcol def gauss1(params,x): C = params[0] A = params[1] med = params[2] sig = params[3] g = C+A*numpy.exp(-0.5*(x-med)*(x-med)/(sig*sig)) return g def res_ga...
24.953488
83
0.613234
413
2,146
3.106538
0.322034
0.049104
0.05456
0.035074
0.109119
0.076383
0.045207
0.045207
0.045207
0.045207
0
0.089736
0.169152
2,146
85
84
25.247059
0.629837
0.015843
0
0
0
0
0.09009
0.039829
0
0
0
0
0
0
null
null
0
0.135135
null
null
0.013514
0
0
0
null
0
0
0
0
0
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
a8e2b85366fa27d2ddc17e01fa6c930bb5dc6cdb
744
py
Python
tests/requirements/egg-info/setup.py
OliverHofkens/dephell
6303f416018910668f1635b70cd828a2fd2b2d9e
[ "MIT" ]
1,880
2019-03-21T10:08:25.000Z
2022-03-31T12:41:55.000Z
tests/requirements/egg-info/setup.py
rachmadaniHaryono/dephell
0ef500c8f2d5f05244bac191b1b1383f68464cd2
[ "MIT" ]
356
2019-03-21T19:08:56.000Z
2021-01-08T17:45:43.000Z
tests/requirements/egg-info/setup.py
rachmadaniHaryono/dephell
0ef500c8f2d5f05244bac191b1b1383f68464cd2
[ "MIT" ]
157
2019-04-23T01:13:37.000Z
2022-03-24T22:41:18.000Z
# built-in from io import open from os import path # external from setuptools import setup here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() # TODO: more info setup( name='dephell', version='0.2.1', description='...
20.666667
63
0.649194
87
744
5.390805
0.735632
0.127932
0.081023
0.127932
0
0
0
0
0
0
0
0.006803
0.209677
744
35
64
21.257143
0.790816
0.044355
0
0
0
0
0.281471
0
0
0
0
0.028571
0
1
0
false
0
0.12
0
0.12
0
0
0
0
null
0
0
0
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
a8e2f087a78a168da5dd007f37155dde5ccd18b0
190
py
Python
other/cap_huaxia_fund.py
thedestiny/fund_python
20f55a6b40e70cf9217c9406375653d8aea093d1
[ "Apache-2.0" ]
1
2022-02-14T02:58:02.000Z
2022-02-14T02:58:02.000Z
other/cap_huaxia_fund.py
thedestiny/fund_python
20f55a6b40e70cf9217c9406375653d8aea093d1
[ "Apache-2.0" ]
null
null
null
other/cap_huaxia_fund.py
thedestiny/fund_python
20f55a6b40e70cf9217c9406375653d8aea093d1
[ "Apache-2.0" ]
null
null
null
import requests req_url = "https://www.chinaamc.com/indexfundvalue.js" response = requests.get(req_url) print(response.apparent_encoding) response.encoding = "UTF-8" print(response.text)
19
54
0.784211
26
190
5.615385
0.692308
0.082192
0
0
0
0
0
0
0
0
0
0.005747
0.084211
190
10
55
19
0.833333
0
0
0
0
0
0.246073
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
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
a8e6c8b670036714fc52c13f2fe8cab0ca3ae069
2,769
py
Python
Machine_Learning/logistic_regression.py
levraines/Portfolio
b134a6334cae34796a8de7d44b667413272166b6
[ "CC0-1.0" ]
null
null
null
Machine_Learning/logistic_regression.py
levraines/Portfolio
b134a6334cae34796a8de7d44b667413272166b6
[ "CC0-1.0" ]
null
null
null
Machine_Learning/logistic_regression.py
levraines/Portfolio
b134a6334cae34796a8de7d44b667413272166b6
[ "CC0-1.0" ]
1
2020-05-28T00:32:06.000Z
2020-05-28T00:32:06.000Z
# -*- coding: utf-8 -*- """ Created on Mon Oct 28 14:12:07 2019 @author: Heiner """ # Logistic Regression # Librerías import numpy as np import matplotlib.pyplot as plt import pandas as pd # Dataset dataset = pd.read_csv('Social_Network_Ads.csv') X = dataset.iloc[:, [2,3]].values # Se predice usando...
34.6125
206
0.668834
414
2,769
4.359903
0.466184
0.015512
0.00831
0.013296
0.054294
0
0
0
0
0
0
0.024548
0.220296
2,769
79
207
35.050633
0.811487
0.330083
0
0
0
0
0.052209
0.012622
0
0
0
0.012658
0
1
0.027027
false
0
0.216216
0
0.243243
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a8e79a16a01983dd27ec881405dcb93eaaa4feaf
1,053
py
Python
Schema.py
Github-recommender/backend
456535141591537fcfa919722e9966e71f50318b
[ "MIT" ]
null
null
null
Schema.py
Github-recommender/backend
456535141591537fcfa919722e9966e71f50318b
[ "MIT" ]
null
null
null
Schema.py
Github-recommender/backend
456535141591537fcfa919722e9966e71f50318b
[ "MIT" ]
null
null
null
import graphene class Query(graphene.ObjectType): hello = graphene.String() lol = graphene.Int() def resolve_hello(self, args, info): return 'World' def resolve_lol(self,args, info): return 2 class Person(graphene.ObjectType): first_name = graphene.String() last_name = graphe...
23.931818
62
0.678063
122
1,053
5.770492
0.311475
0.119318
0.127841
0.076705
0
0
0
0
0
0
0
0.001192
0.203229
1,053
43
63
24.488372
0.837902
0
0
0.133333
0
0
0.018993
0
0
0
0
0
0
1
0.133333
false
0
0.033333
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a8e96a1419b40c5be96c2127eaee9943ccfe26c2
1,930
py
Python
src/onegov/event/models/mixins.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/event/models/mixins.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/event/models/mixins.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
from onegov.core.orm.types import UTCDateTime from sedate import to_timezone from sqlalchemy import Column from sqlalchemy import String from sqlalchemy import Text from sqlalchemy.dialects.postgresql import HSTORE from sqlalchemy.ext.mutable import MutableDict class OccurrenceMixin(object): """ Contains all attr...
31.129032
78
0.689637
262
1,930
5.034351
0.347328
0.04928
0.053071
0.047763
0.286581
0.231994
0.147081
0.071266
0.071266
0.071266
0
0
0.218653
1,930
61
79
31.639344
0.874668
0.401036
0
0.111111
0
0
0.003636
0
0
0
0
0
0
1
0.148148
false
0
0.259259
0
0.814815
0
0
0
0
null
0
0
0
0
0
0
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
a8eb974bd3c9c4966262e86ec47e5ba325bb77ee
15,508
py
Python
src/zenml/cli/secret.py
dumpmemory/zenml
ec3f6994ae9666493519d600471c035eb9109ac4
[ "Apache-2.0" ]
null
null
null
src/zenml/cli/secret.py
dumpmemory/zenml
ec3f6994ae9666493519d600471c035eb9109ac4
[ "Apache-2.0" ]
null
null
null
src/zenml/cli/secret.py
dumpmemory/zenml
ec3f6994ae9666493519d600471c035eb9109ac4
[ "Apache-2.0" ]
null
null
null
# Copyright (c) ZenML GmbH 2020. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
32.7173
81
0.643023
1,963
15,508
4.975548
0.178299
0.032968
0.010136
0.010034
0.49442
0.45152
0.432272
0.399201
0.369305
0.369305
0
0.003795
0.26928
15,508
473
82
32.786469
0.858101
0.312226
0
0.434343
0
0
0.274161
0.004257
0
0
0
0.004228
0.006734
1
0.023569
false
0.057239
0.040404
0
0.077441
0.037037
0
0
0
null
0
0
0
0
0
0
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
a8edbbd20c87fb5a6a49ee2b6345713c0f27c174
7,367
py
Python
tensorflow/contrib/data/python/kernel_tests/range_dataset_op_test.py
DEVESHTARASIA/tensorflow
d3edb8c60ed4fd831d62833ed22f5c23486c561c
[ "Apache-2.0" ]
384
2017-02-21T18:38:04.000Z
2022-02-22T07:30:25.000Z
tensorflow/contrib/data/python/kernel_tests/range_dataset_op_test.py
DEVESHTARASIA/tensorflow
d3edb8c60ed4fd831d62833ed22f5c23486c561c
[ "Apache-2.0" ]
15
2017-03-01T20:18:43.000Z
2020-05-07T10:33:51.000Z
tensorflow/contrib/data/python/kernel_tests/range_dataset_op_test.py
DEVESHTARASIA/tensorflow
d3edb8c60ed4fd831d62833ed22f5c23486c561c
[ "Apache-2.0" ]
81
2017-02-21T19:31:19.000Z
2022-02-22T07:30:24.000Z
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
40.701657
80
0.672323
956
7,367
5.026151
0.162134
0.052445
0.079084
0.104058
0.725702
0.693028
0.675963
0.675963
0.675963
0.675963
0
0.021408
0.207411
7,367
180
81
40.927778
0.801507
0.137098
0
0.62406
0
0
0.001895
0
0
0
0
0
0.157895
1
0.067669
false
0
0.075188
0
0.150376
0.007519
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
a8fd318b57fe7c936ce57d8770a3b1ef35d855a1
17,563
py
Python
cs_modules/structureParser.py
taushifkhan/plv-DecoySearch
20c60ea1cb7a2d143727eafbb68acd498c3c2758
[ "MIT", "Unlicense" ]
null
null
null
cs_modules/structureParser.py
taushifkhan/plv-DecoySearch
20c60ea1cb7a2d143727eafbb68acd498c3c2758
[ "MIT", "Unlicense" ]
null
null
null
cs_modules/structureParser.py
taushifkhan/plv-DecoySearch
20c60ea1cb7a2d143727eafbb68acd498c3c2758
[ "MIT", "Unlicense" ]
null
null
null
#!/usr/bin/python import sys import re residueNameMap_3to1 = {'ALA':'A','ARG':'R','ASN':'N','ASP':'D','ASX':'B',\ 'CYS':'C','SCY':'C','GLU':'E','GLN':'Q','GLX':'Z','GLY':'G',\ 'HIS':'H','ILE':'I','LEU':'L','LYS':'K',\ 'MET':'M','PHE':'F','PRO':'P'...
33.013158
122
0.491772
2,078
17,563
4.10154
0.221367
0.013962
0.007744
0.004693
0.141969
0.126833
0.104775
0.089874
0.081427
0.081427
0
0.025428
0.368559
17,563
532
123
33.013158
0.743102
0.040255
0
0.241758
0
0
0.109406
0
0
0
0
0
0
0
null
null
0.005495
0.021978
null
null
0.06044
0
0
0
null
0
0
0
0
0
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
d103cf19bcf687303dad99ed32e739486634b2ee
815
py
Python
tests/test_subclasses.py
clbarnes/h5py_like
6a1e23ce7337882de2dff16558e3640af305d790
[ "MIT" ]
3
2019-10-17T07:50:54.000Z
2019-10-25T13:25:46.000Z
tests/test_subclasses.py
clbarnes/h5py_like
6a1e23ce7337882de2dff16558e3640af305d790
[ "MIT" ]
48
2019-07-15T17:33:13.000Z
2021-08-01T10:16:01.000Z
tests/test_subclasses.py
clbarnes/h5py_like
6a1e23ce7337882de2dff16558e3640af305d790
[ "MIT" ]
1
2019-10-23T07:14:16.000Z
2019-10-23T07:14:16.000Z
import logging import shutil import tempfile from pathlib import Path from h5py_like import Mode, FileMixin from h5py_like.test_utils import ( FileTestBase, GroupTestBase, ModeTestBase, ThreadedDatasetTestBase, ) from tests.h5_impl import File logger = logging.getLogger(__name__) class TestFile(File...
18.953488
51
0.700613
90
815
6.2
0.511111
0.048387
0.053763
0
0
0
0
0
0
0
0
0.006339
0.225767
815
42
52
19.404762
0.877971
0
0
0.133333
0
0
0.011043
0
0
0
0
0
0
1
0.1
false
0.133333
0.233333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d1090a60d291c0f93269124945322a73e352aa1f
494
py
Python
src/socialprofile/migrations/0006_auto_20211030_2242.py
DLRSP/django-sp
9079358a4fc054f1a5afb056ccfd6a8b8afb36fa
[ "MIT" ]
1
2022-01-11T07:25:17.000Z
2022-01-11T07:25:17.000Z
src/socialprofile/migrations/0006_auto_20211030_2242.py
DLRSP/django-sp
9079358a4fc054f1a5afb056ccfd6a8b8afb36fa
[ "MIT" ]
16
2021-12-20T01:30:34.000Z
2022-03-31T01:38:59.000Z
src/socialprofile/migrations/0006_auto_20211030_2242.py
DLRSP/django-sp
9079358a4fc054f1a5afb056ccfd6a8b8afb36fa
[ "MIT" ]
null
null
null
# Generated by Django 2.2.19 on 2021-10-30 22:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("socialprofile", "0005_auto_20211030_2237"), ] operations = [ migrations.AlterField( model_name="socialprofile", nam...
23.52381
84
0.601215
51
494
5.686275
0.745098
0.068966
0.124138
0
0
0
0
0
0
0
0
0.097421
0.293522
494
20
85
24.7
0.733524
0.093117
0
0.142857
1
0
0.17713
0.05157
0
0
0
0
0
1
0
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1