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
4ff27af0e6cc6e082205341f4dd4f276d8e6bbb0
735
py
Python
api/api/urls.py
liangslin/emp
3755b8c2bcc5e6ef73132cf507bb3fc5ea00f5f1
[ "Apache-2.0" ]
null
null
null
api/api/urls.py
liangslin/emp
3755b8c2bcc5e6ef73132cf507bb3fc5ea00f5f1
[ "Apache-2.0" ]
null
null
null
api/api/urls.py
liangslin/emp
3755b8c2bcc5e6ef73132cf507bb3fc5ea00f5f1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : url.py @Time : 2021/04/27 22:53:54 @Author : LisonLIN @Contact : linliangsuan@qq.com @Desc : 路由文件 ''' # here put the import lib from django.urls import path from api import views from api.utils.auth import Login from rest_framework.routers...
26.25
74
0.710204
101
735
5.069307
0.594059
0.082031
0.087891
0.074219
0
0
0
0
0
0
0
0.023962
0.148299
735
27
75
27.222222
0.79393
0.32381
0
0
0
0
0.103306
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
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
4ff881eae5fc9ee7ead71804e36ad5a670ecb547
1,700
py
Python
gtam_tools/enums.py
sap-toronto/gtam-tools
9f36e0afdc25e84862804e2b633f4996c2d97d02
[ "MIT" ]
null
null
null
gtam_tools/enums.py
sap-toronto/gtam-tools
9f36e0afdc25e84862804e2b633f4996c2d97d02
[ "MIT" ]
null
null
null
gtam_tools/enums.py
sap-toronto/gtam-tools
9f36e0afdc25e84862804e2b633f4996c2d97d02
[ "MIT" ]
null
null
null
from collections import namedtuple from enum import Enum, IntEnum _PHF = namedtuple('PHF', ['AUTO', 'LIGHT', 'MEDIUM', 'HEAVY']) class _BaseEnum(Enum): # Extending functionality of the Enum class a bit @classmethod def as_dict(cls): return {k: v.value for k, v in cls.__members__.items()} def __...
25.757576
109
0.668824
228
1,700
4.824561
0.5
0.007273
0.008182
0.010909
0.170909
0.129091
0.121818
0.121818
0.121818
0.121818
0
0.103293
0.214118
1,700
65
110
26.153846
0.72006
0.167059
0
0.139535
0
0
0.136879
0.046809
0
0
0
0
0
1
0.093023
false
0
0.046512
0.093023
0.930233
0
0
0
0
null
0
0
0
0
0
0
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
4ffdb9fa1078afd9c74975ebd0c1ce94fa967589
822
py
Python
setup.py
adamhaney/django-zillow-neighborhoods
fa212057e32ea618e4d2f511dfcff5a92c1c2f92
[ "BSD-3-Clause" ]
1
2015-08-03T19:46:21.000Z
2015-08-03T19:46:21.000Z
setup.py
ahlusar1989/django-zillow-neighborhoods
c9c6cdbfd885ce5aa39c1e2ed5c2e7ba985df0ea
[ "BSD-3-Clause" ]
null
null
null
setup.py
ahlusar1989/django-zillow-neighborhoods
c9c6cdbfd885ce5aa39c1e2ed5c2e7ba985df0ea
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup, find_packages setup( name = "django-zillow-neighborhoods", version = "0.8.0", author = "Clay McClure", author_email = "clay@daemons.net", url = 'https://github.com/claymation/django-zillow-neighborhoods', description = "Django app for importing and querying Zillow'...
35.73913
85
0.641119
82
822
6.378049
0.756098
0.045889
0.095602
0
0
0
0
0
0
0
0
0.006299
0.227494
822
22
86
37.363636
0.817323
0
0
0
0
0
0.564477
0.059611
0
0
0
0
0
1
0
true
0
0.095238
0
0.095238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4fff18d215e937a24818f987b9a838d2c4a587de
420
py
Python
pydocstringformatter/utils/file_diference.py
DanielNoord/pydocstringformatter
a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe
[ "MIT" ]
4
2022-01-02T22:50:59.000Z
2022-02-09T09:04:37.000Z
pydocstringformatter/utils/file_diference.py
DanielNoord/pydocstringformatter
a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe
[ "MIT" ]
80
2022-01-02T09:02:50.000Z
2022-03-30T13:34:10.000Z
pydocstringformatter/utils/file_diference.py
DanielNoord/pydocstringformatter
a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe
[ "MIT" ]
2
2022-01-02T11:58:29.000Z
2022-01-04T18:53:29.000Z
import difflib def _generate_diff(old: str, new: str, filename: str) -> str: """Generate a printable diff for two strings of sourcecode.""" return ( "\n".join( difflib.unified_diff( old.split("\n"), new.split("\n"), fromfile=filename, ...
23.333333
66
0.452381
39
420
4.794872
0.615385
0.074866
0
0
0
0
0
0
0
0
0
0
0.419048
420
17
67
24.705882
0.766393
0.133333
0
0
1
0
0.022346
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b08001ea1da180624401ab7c7e93e5986ddb1ff
1,548
py
Python
gpymusic/view.py
academo/gpymusic
c5f7af9d067274e8736b93578c8ed9818469d771
[ "MIT" ]
136
2017-04-15T13:19:23.000Z
2021-01-14T12:18:31.000Z
gpymusic/view.py
academo/gpymusic
c5f7af9d067274e8736b93578c8ed9818469d771
[ "MIT" ]
29
2017-04-14T17:48:25.000Z
2020-06-30T11:24:42.000Z
gpymusic/view.py
academo/gpymusic
c5f7af9d067274e8736b93578c8ed9818469d771
[ "MIT" ]
17
2017-04-17T05:22:59.000Z
2020-04-09T15:27:40.000Z
class View(dict): """A View contains the content displayed in the main window.""" def __init__(self, d=None): """ View constructor. Keyword arguments: d=None: Initial keys and values to initialize the view with. Regardless of the value of d, keys 'songs', 'artists' an...
32.93617
74
0.55814
205
1,548
4.112195
0.390244
0.023725
0.035587
0.04745
0.060498
0.060498
0.042705
0
0
0
0
0
0.321705
1,548
46
75
33.652174
0.802857
0.333979
0
0
0
0
0.097872
0
0
0
0
0
0
1
0.291667
false
0
0
0
0.458333
0
0
0
0
null
0
0
0
0
0
0
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
8b0a369f2488a34897781fc61fbcd528219b3c26
7,467
py
Python
iaso/api/profiles.py
BLSQ/iaso
95c8087c0182bdd576598eb8cd39c440e58e15d7
[ "MIT" ]
29
2020-12-26T07:22:19.000Z
2022-03-07T13:40:09.000Z
iaso/api/profiles.py
BLSQ/iaso
95c8087c0182bdd576598eb8cd39c440e58e15d7
[ "MIT" ]
150
2020-11-09T15:03:27.000Z
2022-03-07T15:36:07.000Z
iaso/api/profiles.py
BLSQ/iaso
95c8087c0182bdd576598eb8cd39c440e58e15d7
[ "MIT" ]
4
2020-11-09T10:38:13.000Z
2021-10-04T09:42:47.000Z
from django.contrib.auth import update_session_auth_hash from rest_framework import viewsets, permissions from rest_framework.response import Response from django.shortcuts import get_object_or_404 from django.core.paginator import Paginator from django.db.models import Q from django.http import JsonResponse from djan...
40.581522
119
0.636266
885
7,467
5.20565
0.20113
0.042978
0.048622
0.02735
0.412416
0.345561
0.297157
0.286086
0.263729
0.250488
0
0.007531
0.253114
7,467
183
120
40.803279
0.81854
0.103254
0
0.421429
0
0
0.077977
0.003914
0
0
0
0.005464
0
1
0.05
false
0.064286
0.078571
0
0.264286
0
0
0
0
null
0
0
0
0
0
0
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
8b1367e870400bf2e56a745dcc760f7ef75d5b65
415
py
Python
budget/tests/util/test_addset.py
isabella232/cloud-costs
149c79f63f2b56534121a20437a46120884b9711
[ "Apache-2.0" ]
6
2016-11-04T17:27:45.000Z
2019-06-17T21:52:17.000Z
budget/tests/util/test_addset.py
isabella232/cloud-costs
149c79f63f2b56534121a20437a46120884b9711
[ "Apache-2.0" ]
1
2021-04-17T10:44:12.000Z
2021-04-17T10:44:12.000Z
budget/tests/util/test_addset.py
isabella232/cloud-costs
149c79f63f2b56534121a20437a46120884b9711
[ "Apache-2.0" ]
8
2017-05-30T03:17:02.000Z
2021-09-07T11:46:12.000Z
import unittest import budget.util.addset as a class TestAddSet(unittest.TestCase): def key_exists(self): foo = { 'foo' : 0 } foo = a.addset(foo, 'foo', 1) self.assertEqual(foo['foo'], 1) def key_absent(self): foo = {} foo = a.addset(foo, 'foo', 1) self.assertEq...
23.055556
39
0.563855
55
415
4.181818
0.363636
0.156522
0.121739
0.113043
0.365217
0.365217
0.365217
0.365217
0.365217
0.365217
0
0.016892
0.286747
415
17
40
24.411765
0.760135
0
0
0.285714
0
0
0.036145
0
0
0
0
0
0.142857
1
0.214286
false
0
0.142857
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
1
0
0
0
0
0
0
0
1
8b225c0419bdd81be937c8a7586012b4469a1d64
723
py
Python
supar/parsers/__init__.py
attardi/parser
1978ba94ba649ad0a723d71bb2ca225c7e705702
[ "MIT" ]
null
null
null
supar/parsers/__init__.py
attardi/parser
1978ba94ba649ad0a723d71bb2ca225c7e705702
[ "MIT" ]
null
null
null
supar/parsers/__init__.py
attardi/parser
1978ba94ba649ad0a723d71bb2ca225c7e705702
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .con import CRFConstituencyParser, VIConstituencyParser from .dep import (BiaffineDependencyParser, CRF2oDependencyParser, CRFDependencyParser, VIDependencyParser, EnhancedDependencyParser) from .parser import Parser from .sdp import BiaffineSemanticDepe...
36.15
77
0.683264
36
723
13.611111
0.527778
0.167347
0
0
0
0
0
0
0
0
0
0.005484
0.24343
723
19
78
38.052632
0.890311
0.029046
0
0
0
0
0.301429
0.211429
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b2316cb64d627f001a64b4ebfec51268aee3a54
59,237
py
Python
python_scripts/1_chip_pipeline.py
linlabbcm/rasmc
0636cf9154bae385c998e1a44c360f726e09ea56
[ "MIT" ]
null
null
null
python_scripts/1_chip_pipeline.py
linlabbcm/rasmc
0636cf9154bae385c998e1a44c360f726e09ea56
[ "MIT" ]
null
null
null
python_scripts/1_chip_pipeline.py
linlabbcm/rasmc
0636cf9154bae385c998e1a44c360f726e09ea56
[ "MIT" ]
null
null
null
#!/usr/bin/python ''' The MIT License (MIT) Copyright (c) 2017 YOUR NAME HERE and Charles Lin lab Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitat...
44.539098
534
0.622314
7,032
59,237
4.930461
0.094141
0.038159
0.035996
0.045427
0.658677
0.624643
0.60004
0.571775
0.548989
0.53151
0
0.029442
0.149113
59,237
1,329
535
44.572611
0.65842
0.374091
0
0.47352
0
0.007788
0.357485
0.275121
0
0
0
0
0
0
null
null
0
0.017134
null
null
0.196262
0
0
0
null
0
0
0
0
0
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
8b36d091ec1a673c8ae4e1be0628a3bfd40081c3
740
py
Python
examples/user_followings.py
BergrosGigja/Instagram-API-python
b5a380e63d993a436dcf38f97b0cab3054cbb60f
[ "MIT" ]
13
2020-11-28T20:14:22.000Z
2022-03-23T00:14:45.000Z
examples/user_followings.py
BergrosGigja/Instagram-API-python
b5a380e63d993a436dcf38f97b0cab3054cbb60f
[ "MIT" ]
2
2019-12-21T01:53:40.000Z
2019-12-21T08:20:21.000Z
examples/user_followings.py
BergrosGigja/Instagram-API-python
b5a380e63d993a436dcf38f97b0cab3054cbb60f
[ "MIT" ]
6
2020-05-03T17:26:40.000Z
2022-01-19T12:33:21.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Use text editor to edit the script and type in valid Instagram username/password from InstagramAPI import InstagramAPI import time from datetime import datetime user_id = '' API = InstagramAPI("login", "password") API.login() API.getUsernameInfo(user_id) API.LastJso...
21.764706
82
0.709459
107
740
4.700935
0.495327
0.111332
0.143141
0.047714
0
0
0
0
0
0
0
0.001639
0.175676
740
33
83
22.424242
0.822951
0.194595
0
0
0
0
0.052453
0
0
0
0
0
0
0
null
null
0.043478
0.130435
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
8b42e37995f2e5bbd5961058160a5cfc9e95de31
1,006
py
Python
remoto/lib/__init__.py
ktdreyer/remoto
e3cd0aff4bd5532b2df9cde43039c531f427fe3a
[ "MIT" ]
null
null
null
remoto/lib/__init__.py
ktdreyer/remoto
e3cd0aff4bd5532b2df9cde43039c531f427fe3a
[ "MIT" ]
null
null
null
remoto/lib/__init__.py
ktdreyer/remoto
e3cd0aff4bd5532b2df9cde43039c531f427fe3a
[ "MIT" ]
null
null
null
""" This module is meant for vendorizing Python libraries. Most libraries will need to have some ``sys.path`` alterations done unless they are doing relative imports. Do **not** add anything to this module that does not represent a vendorized library. Vendored libraries should go into the ``vendor`` directory and imp...
28.742857
79
0.758449
158
1,006
4.772152
0.56962
0.068966
0.023873
0
0
0
0
0
0
0
0
0.001218
0.183897
1,006
34
80
29.588235
0.917174
0.710736
0
0.2
0
0
0.021505
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8b4b08347469cd6dedcbf4758bdf29fd8cdc069a
334
py
Python
Algorithms/funny_string.py
csixteen/HackerRank
3ef6fa48599341f481b9e266c69df2d449a7b313
[ "MIT" ]
4
2018-04-19T20:32:54.000Z
2020-04-21T12:28:00.000Z
Algorithms/funny_string.py
csixteen/HackerRank
3ef6fa48599341f481b9e266c69df2d449a7b313
[ "MIT" ]
null
null
null
Algorithms/funny_string.py
csixteen/HackerRank
3ef6fa48599341f481b9e266c69df2d449a7b313
[ "MIT" ]
null
null
null
def is_funny(string): data = list(zip(string, reversed(string))) for i in range(len(string)-1): if abs(ord(data[i+1][0]) - ord(data[i][0])) != \ abs(ord(data[i+1][1]) - ord(data[i][1])): return "Not Funny" return "Funny" N = int(input()) for i in range(N): print(is_fu...
27.833333
56
0.535928
55
334
3.218182
0.436364
0.158192
0.180791
0.152542
0.135593
0
0
0
0
0
0
0.028
0.251497
334
11
57
30.363636
0.68
0
0
0
0
0
0.041916
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0.1
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8c6928593026dc170f88d64faa74056585151b8b
3,541
py
Python
python/tests/test_mapper.py
agahchen/RSBC-DataHub-API
d3742a09851d5753809e8eb8e1f7f6ca10b121ad
[ "Apache-2.0" ]
null
null
null
python/tests/test_mapper.py
agahchen/RSBC-DataHub-API
d3742a09851d5753809e8eb8e1f7f6ca10b121ad
[ "Apache-2.0" ]
null
null
null
python/tests/test_mapper.py
agahchen/RSBC-DataHub-API
d3742a09851d5753809e8eb8e1f7f6ca10b121ad
[ "Apache-2.0" ]
null
null
null
import json from python.writer.config import Config as WriterConfig from python.writer.mapper import Mapper from python.common.helper import load_json_into_dict # To override the config class for testing class Config(WriterConfig): MAPPER_CONFIG_FILENAME = 'python/writer/mapper.json' class TestMapper: ...
43.716049
114
0.690483
475
3,541
4.846316
0.178947
0.112945
0.097307
0.058645
0.533449
0.524761
0.509991
0.478714
0.466116
0.419201
0
0.010175
0.195143
3,541
80
115
44.2625
0.797544
0.011296
0
0.177419
0
0
0.183638
0.037757
0
0
0
0
0.516129
1
0.16129
false
0
0.064516
0
0.290323
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
8c695c3c4c68fe432ed083f93c3b0bfcc61efd88
1,500
py
Python
predict.py
irunecapri/imageclassifier-
03f287d0d722cd27f61071eccb7b25601b865f62
[ "MIT" ]
null
null
null
predict.py
irunecapri/imageclassifier-
03f287d0d722cd27f61071eccb7b25601b865f62
[ "MIT" ]
null
null
null
predict.py
irunecapri/imageclassifier-
03f287d0d722cd27f61071eccb7b25601b865f62
[ "MIT" ]
null
null
null
import torch from torchvision import transforms, models import argparse import json from utility import process_image import argparse from network import load_checkpoint from network import predict from utility import process_image def get_input_args(): parser = argparse.ArgumentParser() parser.add_argument('i...
31.914894
141
0.700667
202
1,500
4.985149
0.371287
0.039722
0.118173
0.047666
0.099305
0
0
0
0
0
0
0.013083
0.184667
1,500
47
142
31.914894
0.810303
0
0
0.148148
0
0
0.233844
0
0
0
0
0
0
1
0.074074
false
0
0.333333
0
0.444444
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
8c69e5f609d2aa7b0596b2ba33a4c9968a14c642
4,764
py
Python
PosNeg.py
akshaykamath/Review-Prediction-NLP-on-Yelp
34e12e30f83787ea8340a540031dce026d52a712
[ "MIT" ]
1
2016-01-16T03:14:49.000Z
2016-01-16T03:14:49.000Z
PosNeg.py
akshaykamath/ReviewPredictionYelp
34e12e30f83787ea8340a540031dce026d52a712
[ "MIT" ]
null
null
null
PosNeg.py
akshaykamath/ReviewPredictionYelp
34e12e30f83787ea8340a540031dce026d52a712
[ "MIT" ]
null
null
null
__author__ = 'Sanket' import re from nltk.corpus import stopwords import json import sys from sklearn.metrics import mean_squared_error reload(sys) sys.setdefaultencoding('utf8') from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfTransformer from sklearn.svm ...
37.21875
120
0.660789
575
4,764
5.25913
0.32
0.029101
0.018519
0.02381
0.275794
0.227513
0.157407
0.157407
0.125661
0.091931
0
0.009912
0.237615
4,764
127
121
37.511811
0.822687
0.076616
0
0.041667
0
0
0.080675
0.018915
0
0
0
0
0
0
null
null
0
0.135417
null
null
0.104167
0
0
0
null
0
0
0
0
0
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
8c6a9896ebeda47b10a4105e6900101b487c9c15
640
py
Python
GetPPTTemplates.py
kiruya1987/GetWebInfo
6cdd467025fbd97a768649e52b362346b3b83c50
[ "Apache-2.0" ]
1
2017-09-29T03:27:07.000Z
2017-09-29T03:27:07.000Z
GetPPTTemplates.py
kiruya1987/GetWebInfo
6cdd467025fbd97a768649e52b362346b3b83c50
[ "Apache-2.0" ]
null
null
null
GetPPTTemplates.py
kiruya1987/GetWebInfo
6cdd467025fbd97a768649e52b362346b3b83c50
[ "Apache-2.0" ]
null
null
null
import requests import lxml from bs4 import BeautifulSoup import threading import urljoin import hashlib import sys from lxml import etree requests.packages.urllib3.disable_warnings() for pageid in range(1,84): url = 'https://www.free-powerpoint-templates-design.com/free-powerpoint-templates-design/page/%s/'%(pag...
22.857143
126
0.670313
98
640
4.326531
0.530612
0.056604
0.063679
0.136792
0
0
0
0
0
0
0
0.026616
0.178125
640
27
127
23.703704
0.779468
0.023438
0
0
0
0.117647
0.275362
0.130435
0
0
0
0
0
1
0
false
0
0.470588
0
0.470588
0.058824
0
0
0
null
0
0
0
0
0
0
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
8c6e9952ab1e6a530bf383e679859c2e969958c0
900
py
Python
organizacion/migrations/0002_auto_20160609_1700.py
ErickMurillo/aprocacaho
eecd216103e6b06e3ece174c89d911f27b50585a
[ "MIT" ]
null
null
null
organizacion/migrations/0002_auto_20160609_1700.py
ErickMurillo/aprocacaho
eecd216103e6b06e3ece174c89d911f27b50585a
[ "MIT" ]
7
2020-06-05T17:11:32.000Z
2022-03-11T23:14:00.000Z
organizacion/migrations/0002_auto_20160609_1700.py
ErickMurillo/aprocacaho
eecd216103e6b06e3ece174c89d911f27b50585a
[ "MIT" ]
1
2016-07-04T18:38:14.000Z
2016-07-04T18:38:14.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-06-09 17:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('organizacion', '0001_initial'), ] operations = [ migrations.AlterField( ...
34.615385
223
0.624444
105
900
5.266667
0.657143
0.072333
0.090416
0.104882
0.115732
0.115732
0
0
0
0
0
0.040996
0.241111
900
25
224
36
0.768668
0.074444
0
0.222222
1
0
0.314458
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
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
8c6ea613970e9b32b2d6be2c79647b10ce19d9cb
848
py
Python
run.py
jonasstenling/bumper
d0f415c80ef183c49e038581f41fb38609fcb1e7
[ "MIT" ]
null
null
null
run.py
jonasstenling/bumper
d0f415c80ef183c49e038581f41fb38609fcb1e7
[ "MIT" ]
null
null
null
run.py
jonasstenling/bumper
d0f415c80ef183c49e038581f41fb38609fcb1e7
[ "MIT" ]
null
null
null
''' This module is used to test the project implementation from the command line ''' from ruleset import RuleSet from ciscoconfparse import CiscoConfParse def load_config(config_file): '''Returns parse configuration as CiscoConfParse object.''' return CiscoConfParse(config_file) def main(): '''Main entry ...
26.5
82
0.637972
96
848
5.5
0.53125
0.037879
0
0
0
0
0
0
0
0
0
0
0.259434
848
31
83
27.354839
0.840764
0
0
0
0
0
0.114754
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.05
0
0
0
null
0
0
0
0
0
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
8c6f52850d00bfd268b0707881ef2820346d74a4
186
py
Python
lib/mtx.py
hoefkensj/ANSI
5e0b42f7c4415c394dc78bd1c295e93b83019e1d
[ "Unlicense" ]
null
null
null
lib/mtx.py
hoefkensj/ANSI
5e0b42f7c4415c394dc78bd1c295e93b83019e1d
[ "Unlicense" ]
null
null
null
lib/mtx.py
hoefkensj/ANSI
5e0b42f7c4415c394dc78bd1c295e93b83019e1d
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python def mtx_pivot(mtx) -> list: piv=[] pivr=[[] for c in mtx[0]] for r,row in enumerate(mtx): for c,col in enumerate(row): pivr[c]+=[col] piv+=pivr return piv
20.666667
30
0.629032
35
186
3.314286
0.542857
0.12069
0
0
0
0
0
0
0
0
0
0.006536
0.177419
186
9
31
20.666667
0.751634
0.107527
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8c72c870efd3aa65540741cbd3bd6f504d3a736b
765
py
Python
src/models/submitted_answer.py
kirill-kundik/CinemaChallengeBackend
aea4ac801a9a5c907f36f07b67df162b4bd85044
[ "MIT" ]
null
null
null
src/models/submitted_answer.py
kirill-kundik/CinemaChallengeBackend
aea4ac801a9a5c907f36f07b67df162b4bd85044
[ "MIT" ]
null
null
null
src/models/submitted_answer.py
kirill-kundik/CinemaChallengeBackend
aea4ac801a9a5c907f36f07b67df162b4bd85044
[ "MIT" ]
null
null
null
import datetime from . import db from .abc import BaseModel, MetaBaseModel class SubmittedAnswer(db.Model, BaseModel, metaclass=MetaBaseModel): __tablename__ = "submitted_answer" to_json_filter = ('trivia',) id = db.Column(db.Integer, primary_key=True) answer_id = db.Column(db.Integer, db.ForeignKe...
36.428571
89
0.738562
100
765
5.5
0.39
0.087273
0.109091
0.109091
0.225455
0.225455
0.169091
0
0
0
0
0
0.126797
765
20
90
38.25
0.823353
0
0
0
0
0
0.10719
0
0
0
0
0
0
1
0
false
0
0.230769
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8c74ca3ed86233aa44c4300122005d8c95e1e8ff
2,810
py
Python
instapic/migrations/0001_initial.py
zubeir-Abubakar/zgram
33ed713f758ba86642ce8cb3b68a835bf07c29b5
[ "MIT" ]
1
2020-07-02T15:09:28.000Z
2020-07-02T15:09:28.000Z
instapic/migrations/0001_initial.py
zubeir-Abubakar/zgram
33ed713f758ba86642ce8cb3b68a835bf07c29b5
[ "MIT" ]
null
null
null
instapic/migrations/0001_initial.py
zubeir-Abubakar/zgram
33ed713f758ba86642ce8cb3b68a835bf07c29b5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-06-20 08:32 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import pyuploadcare.dj.models class Migration(migrations.Migration): initial = True depen...
42.575758
158
0.611032
294
2,810
5.690476
0.261905
0.043036
0.066946
0.1052
0.603706
0.603706
0.583981
0.533772
0.533772
0.533772
0
0.010024
0.254448
2,810
65
159
43.230769
0.788544
0.023488
0
0.421053
1
0
0.072966
0
0
0
0
0
0
1
0
false
0
0.087719
0
0.157895
0
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
8c7522204920a56eef7a9848c06c1807d21231d6
634
py
Python
jmilkfansblog/controllers/v1/__init__.py
xiaoyh121/program
6826f024cce7a4250a1dab8dba145c1f0d713286
[ "Apache-2.0" ]
176
2016-12-11T03:24:41.000Z
2021-12-10T11:44:37.000Z
jmilkfansblog/controllers/v1/__init__.py
xiaoyh121/program
6826f024cce7a4250a1dab8dba145c1f0d713286
[ "Apache-2.0" ]
4
2018-02-07T03:31:13.000Z
2021-12-25T13:03:49.000Z
jmilkfansblog/controllers/v1/__init__.py
xiaoyh121/program
6826f024cce7a4250a1dab8dba145c1f0d713286
[ "Apache-2.0" ]
76
2016-11-13T08:57:38.000Z
2021-12-25T12:02:05.000Z
from pecan import rest from wsme import types as wtypes from jmilkfansblog.api.expose import expose as wsexpose from jmilkfansblog.controllers.v1 import users from jmilkfansblog.controllers.v1 import posts class V1(wtypes.Base): id = wtypes.text """The ID of the version, also acts as the release number""" ...
21.862069
64
0.679811
81
634
5.320988
0.481481
0.118329
0.12993
0.139211
0.167053
0
0
0
0
0
0
0.022495
0.228707
634
28
65
22.642857
0.858896
0.047319
0
0
0
0
0.003717
0
0
0
0
0
0
1
0.111111
false
0
0.277778
0.055556
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8c7a0aa5cc6b52a7a0c91bfb342912cca37ffa31
26,139
py
Python
notebooks/scripts/2020-01-07-dashboard-plots.py
wcbeard/uptake_curves
d5f7d43dc77874d771e67552446e3b8467a082df
[ "MIT" ]
null
null
null
notebooks/scripts/2020-01-07-dashboard-plots.py
wcbeard/uptake_curves
d5f7d43dc77874d771e67552446e3b8467a082df
[ "MIT" ]
null
null
null
notebooks/scripts/2020-01-07-dashboard-plots.py
wcbeard/uptake_curves
d5f7d43dc77874d771e67552446e3b8467a082df
[ "MIT" ]
null
null
null
# --- # jupyter: # jupytext: # cell_metadata_json: true # formats: ipynb,scripts//py:percent # text_representation: # extension: .py # format_name: percent # format_version: '1.3' # jupytext_version: 1.3.4 # kernelspec: # display_name: Python 3 # language: python # na...
21.531301
168
0.643253
3,832
26,139
4.125783
0.132568
0.014168
0.01265
0.01771
0.452182
0.385389
0.337824
0.30778
0.280835
0.242758
0
0.022079
0.18042
26,139
1,213
169
21.549052
0.715913
0.22652
0
0.267887
0
0.009983
0.187076
0.059506
0
0
0
0
0.003328
0
null
null
0
0.054908
null
null
0.003328
0
0
0
null
0
0
0
0
0
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
8c7c68e435d967da49ba41cab22e22d6125eb312
3,044
py
Python
workflower/domain/entities/job.py
dmenezesgabriel/workflower
db2358abdd2d133b85baea726e013e71171e5cf3
[ "MIT" ]
null
null
null
workflower/domain/entities/job.py
dmenezesgabriel/workflower
db2358abdd2d133b85baea726e013e71171e5cf3
[ "MIT" ]
null
null
null
workflower/domain/entities/job.py
dmenezesgabriel/workflower
db2358abdd2d133b85baea726e013e71171e5cf3
[ "MIT" ]
null
null
null
""" Job class. """ import logging logger = logging.getLogger("workflower.domain.entities.job") class Job: """ Domain object for the job. Args: - name (str): Name of the given job. - operator (str): Operator name used by the job. - definition (json): Job definition that will be u...
30.747475
77
0.590342
349
3,044
4.925501
0.249284
0.04712
0.073298
0.079116
0.151832
0.074462
0.074462
0.044212
0.044212
0
0
0
0.316032
3,044
98
78
31.061224
0.825648
0.2523
0
0
0
0
0.151711
0.13506
0
0
0
0.010204
0
1
0.067797
false
0
0.016949
0.016949
0.152542
0
0
0
0
null
0
0
0
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
8c83c8495e98e4002dcea0c4e867711bbfafe9e1
6,426
py
Python
Datenauswertung/make_graphs.py
strammermax27/P-Seminar_Stratosphaerenballon
11d8429c1a2bf2954027573ba59f7d81c7369581
[ "MIT" ]
null
null
null
Datenauswertung/make_graphs.py
strammermax27/P-Seminar_Stratosphaerenballon
11d8429c1a2bf2954027573ba59f7d81c7369581
[ "MIT" ]
null
null
null
Datenauswertung/make_graphs.py
strammermax27/P-Seminar_Stratosphaerenballon
11d8429c1a2bf2954027573ba59f7d81c7369581
[ "MIT" ]
null
null
null
from kivy.app import App from kivy.uix.widget import Widget from kivy.uix.boxlayout import BoxLayout from kivy.uix.slider import Slider from kivy.properties import ObjectProperty from kivy.garden.graph import Graph, SmoothLinePlot, MeshLinePlot from kivy.clock import Clock from math import sin, cos import os import...
19.413897
103
0.669935
1,000
6,426
4.081
0.195
0.057339
0.031855
0.027444
0.22568
0.16001
0.141387
0.087479
0.083558
0.083558
0
0.036105
0.189698
6,426
330
104
19.472727
0.747647
0.09944
0
0.192547
0
0
0.059313
0
0
0
0
0
0
0
null
null
0.012422
0.068323
null
null
0.037267
0
0
0
null
0
0
0
0
0
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
8c84472c44fd18cfdd4420b2471e5d1cac9a4505
1,405
py
Python
s_store_api/migrations/0011_receipt.py
Saknowman/django-s-store-api
a14e000ea32cc527ad2c822f09f812194a5c8a47
[ "MIT" ]
1
2019-12-24T03:50:04.000Z
2019-12-24T03:50:04.000Z
s_store_api/migrations/0011_receipt.py
Saknowman/django-s-store-api
a14e000ea32cc527ad2c822f09f812194a5c8a47
[ "MIT" ]
6
2020-06-05T20:16:37.000Z
2021-09-22T18:18:13.000Z
s_store_api/migrations/0011_receipt.py
Saknowman/django-s-store-api
a14e000ea32cc527ad2c822f09f812194a5c8a47
[ "MIT" ]
null
null
null
# Generated by Django 3.0 on 2019-12-24 01:12 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('s_store_api', '...
45.322581
156
0.632028
163
1,405
5.233129
0.429448
0.046893
0.065651
0.103165
0.379836
0.379836
0.309496
0.309496
0.309496
0.309496
0
0.023256
0.234875
1,405
30
157
46.833333
0.770233
0.030605
0
0
1
0
0.120301
0
0
0
0
0
0
1
0
false
0
0.125
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
8c9207681b342cf52517415b9e8b4a028976272d
20,312
py
Python
app.py
masharp/astralux-api
8666f5883fad032582cda6c38c40297933d9ac08
[ "MIT" ]
1
2017-03-18T20:25:50.000Z
2017-03-18T20:25:50.000Z
app.py
masharp/astralux-api
8666f5883fad032582cda6c38c40297933d9ac08
[ "MIT" ]
null
null
null
app.py
masharp/astralux-api
8666f5883fad032582cda6c38c40297933d9ac08
[ "MIT" ]
null
null
null
## Central Flask application script. Includes all routes for the REST API, ## error handlers, and business logic. Authenticates route calls via simple HTTP ## username:password auth. Imports SQLAlchemy ORM models in order to interact with ## PostgreSQL datastore. ## ## TODO: Decompose business logic and import via func...
33.518152
114
0.635831
2,395
20,312
5.31691
0.136534
0.02191
0.041385
0.052379
0.555599
0.509188
0.455159
0.368148
0.328805
0.299827
0
0.01829
0.262456
20,312
605
115
33.573554
0.83172
0.148238
0
0.429952
0
0
0.13324
0.022071
0
0
0
0.001653
0
0
null
null
0.007246
0.057971
null
null
0.036232
0
0
0
null
0
0
0
0
0
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
8c93de0acc44d0c23b5805ab7debd5ae338c257e
2,870
py
Python
racoon/models/competition.py
onukura/Racoon
96c96f2a37b8d33b35ca368c085d90e7a7caf105
[ "MIT" ]
3
2020-05-21T12:11:43.000Z
2020-06-08T13:04:40.000Z
racoon/models/competition.py
onukura/Racoon
96c96f2a37b8d33b35ca368c085d90e7a7caf105
[ "MIT" ]
6
2020-05-14T11:52:16.000Z
2020-05-23T18:03:23.000Z
racoon/models/competition.py
onukura/Racoon
96c96f2a37b8d33b35ca368c085d90e7a7caf105
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from racoon.extensions import db class Competition(db.Model): __tablename__ = "competition" id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String, unique=True) friendly_name = db.Column(db.String, nullable=True) description_overview = db.C...
40.422535
85
0.702091
374
2,870
5.224599
0.200535
0.139202
0.174002
0.139202
0.62999
0.608495
0.488741
0.395087
0.356704
0.264074
0
0.001673
0.166899
2,870
70
86
41
0.815558
0.01777
0
0.22807
0
0
0.073153
0.01669
0
0
0
0
0
1
0.017544
false
0
0.035088
0
0.859649
0
0
0
0
null
0
0
0
0
0
0
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
8cad7a4ea33405deb1b3351730c93fe0feedf8e7
13,150
py
Python
gdb_svd.py
adityaseven/arm_gdb_svd_loader
221d8acf5c3352505214b74a8ec6fa06d815da2c
[ "MIT" ]
null
null
null
gdb_svd.py
adityaseven/arm_gdb_svd_loader
221d8acf5c3352505214b74a8ec6fa06d815da2c
[ "MIT" ]
6
2017-06-28T18:07:07.000Z
2017-06-28T23:40:22.000Z
gdb_svd.py
adityaseven/arm_gdb_svd_loader
221d8acf5c3352505214b74a8ec6fa06d815da2c
[ "MIT" ]
null
null
null
import os import sys import gdb import re import cmsis_svd from cmsis_svd.parser import SVDParser class load_cmsis_svd(gdb.Command): """ Load svd file from cmsis package. Give the name of the file and svd will automatically load it. """ def __init__(self): gdb.Command.__init__(self, "load-...
38.226744
90
0.524791
1,626
13,150
4.067651
0.115621
0.067735
0.061234
0.019655
0.403387
0.322044
0.215754
0.185818
0.131993
0.06713
0
0.010243
0.346692
13,150
343
91
38.338192
0.759632
0.017871
0
0.275591
0
0
0.151959
0.001926
0
0
0
0.002915
0
0
null
null
0
0.023622
null
null
0.102362
0
0
0
null
0
0
0
0
0
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
8cc00813f017acfdf9f2356108517f02181dac07
439
py
Python
setup.py
y-tetsu/oekaki
9b48d0e5ecc0f7dfc6cf49b569a2f42495658990
[ "MIT" ]
null
null
null
setup.py
y-tetsu/oekaki
9b48d0e5ecc0f7dfc6cf49b569a2f42495658990
[ "MIT" ]
null
null
null
setup.py
y-tetsu/oekaki
9b48d0e5ecc0f7dfc6cf49b569a2f42495658990
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='oekaki', version='0.0.1', license='MIT License', install_requires=[ ], description='A simple canvas application using tkinter', author='y-tetsu', url='', packages=[ 'oekaki', ], package_data={ "": ["*.py"] }, ...
17.56
60
0.537585
42
439
5.47619
0.785714
0.095652
0
0
0
0
0
0
0
0
0
0.009868
0.307517
439
24
61
18.291667
0.746711
0
0
0.090909
0
0
0.305239
0.088838
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
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
8cc13c38198e2da327e7e852a6a475c859e5c625
4,739
py
Python
agsadmin/sharing_admin/community/groups/CreateUpdateGroupParams.py
christopherblanchfield/agsadmin
989cb3795aacf285ccf74ee51b0de26bf2f48bc3
[ "BSD-3-Clause" ]
2
2015-12-07T05:53:29.000Z
2020-09-13T18:12:15.000Z
agsadmin/sharing_admin/community/groups/CreateUpdateGroupParams.py
christopherblanchfield/agsadmin
989cb3795aacf285ccf74ee51b0de26bf2f48bc3
[ "BSD-3-Clause" ]
4
2015-03-09T05:59:14.000Z
2018-01-09T00:12:56.000Z
agsadmin/sharing_admin/community/groups/CreateUpdateGroupParams.py
christopherblanchfield/agsadmin
989cb3795aacf285ccf74ee51b0de26bf2f48bc3
[ "BSD-3-Clause" ]
5
2015-03-09T01:05:24.000Z
2019-09-09T23:01:21.000Z
from __future__ import (absolute_import, division, print_function, unicode_literals) from builtins import (ascii, bytes, chr, dict, filter, hex, input, int, map, next, oct, open, pow, range, round, str, super, zip) import copy from enum import Enum class GroupAccess(Enum): PRIVATE = "priva...
27.393064
122
0.624604
585
4,739
4.955556
0.263248
0.077613
0.045533
0.038634
0.244912
0.19593
0.181442
0.160745
0.083477
0.069679
0
0.007785
0.2682
4,739
172
123
27.552326
0.828143
0.187803
0
0.168224
0
0
0.10539
0
0
0
0
0
0
1
0.233645
false
0
0.037383
0.009346
0.542056
0.009346
0
0
0
null
0
0
0
0
0
0
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
8cc62c19cda791d3b5990ebf2b29e5c0f97841f4
1,331
py
Python
rdmo/accounts/viewsets.py
m6121/rdmo
db3990c7525138c6ce9634fc3e5b6b8ee9b915c8
[ "Apache-2.0" ]
77
2016-08-09T11:40:20.000Z
2022-03-06T11:03:26.000Z
rdmo/accounts/viewsets.py
m6121/rdmo
db3990c7525138c6ce9634fc3e5b6b8ee9b915c8
[ "Apache-2.0" ]
377
2016-07-01T13:59:36.000Z
2022-03-30T13:53:19.000Z
rdmo/accounts/viewsets.py
m6121/rdmo
db3990c7525138c6ce9634fc3e5b6b8ee9b915c8
[ "Apache-2.0" ]
47
2016-06-23T11:32:19.000Z
2022-03-01T11:34:37.000Z
from django.contrib.auth import get_user_model from django.contrib.sites.models import Site from django_filters.rest_framework import DjangoFilterBackend from rest_framework.viewsets import ReadOnlyModelViewSet from rdmo.core.permissions import HasModelPermission, HasObjectPermission from .serializers.v1 import UserS...
33.275
94
0.710744
144
1,331
6.284722
0.465278
0.030939
0.053039
0.059669
0.124862
0
0
0
0
0
0
0.000946
0.20586
1,331
39
95
34.128205
0.855251
0
0
0
0
0
0.070624
0
0
0
0
0
0
1
0.066667
false
0
0.233333
0.033333
0.633333
0
0
0
0
null
0
0
0
0
0
0
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
8ccf1dece60b8d80a1a9126de84ea45e3ca57ccf
475
py
Python
mapit-za/urls.py
Code4SA/mapit-za
a7e94f96d85e15f1d28b95b3cf03aea70b7726b6
[ "MIT" ]
3
2016-05-03T06:49:19.000Z
2018-03-28T14:42:52.000Z
mapit-za/urls.py
Code4SA/mapit-za
a7e94f96d85e15f1d28b95b3cf03aea70b7726b6
[ "MIT" ]
5
2015-07-27T18:52:41.000Z
2015-10-12T14:11:45.000Z
mapit-za/urls.py
Code4SA/mapit-za
a7e94f96d85e15f1d28b95b3cf03aea70b7726b6
[ "MIT" ]
2
2017-08-02T12:29:16.000Z
2018-12-12T09:14:03.000Z
from django.conf.urls import patterns, include, url from django.contrib import admin from django.views.generic import TemplateView from views import convert_address urlpatterns = patterns('', url(r'^address(?:\.(?P<format>html|json))?', convert_address, name='convert_address'), url(r'', include('mapit.urls'))...
33.928571
102
0.722105
65
475
5.184615
0.507692
0.047478
0
0
0
0
0
0
0
0
0
0
0.107368
475
13
103
36.538462
0.794811
0
0
0
0
0
0.210526
0.075789
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
8cd84d31383afcdee5edda5957cabceaa46080ea
1,778
py
Python
openstack/tests/functional/compute/v2/test_tags.py
wangrui1121/huaweicloud-sdk-python
240abe00288760115d1791012d4e3c4592d77ad1
[ "Apache-2.0" ]
43
2018-12-19T08:39:15.000Z
2021-07-21T02:45:43.000Z
openstack/tests/functional/compute/v2/test_tags.py
wangrui1121/huaweicloud-sdk-python
240abe00288760115d1791012d4e3c4592d77ad1
[ "Apache-2.0" ]
11
2019-03-17T13:28:56.000Z
2020-09-23T23:57:50.000Z
openstack/tests/functional/compute/v2/test_tags.py
wangrui1121/huaweicloud-sdk-python
240abe00288760115d1791012d4e3c4592d77ad1
[ "Apache-2.0" ]
47
2018-12-19T05:14:25.000Z
2022-03-19T15:28:30.000Z
# 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 # distributed under t...
38.652174
88
0.732283
254
1,778
5
0.433071
0.069291
0.066142
0.104724
0.248819
0.17874
0.15748
0.094488
0.094488
0.094488
0
0.020284
0.168166
1,778
46
89
38.652174
0.838404
0.293588
0
0.2
0
0
0.053012
0.028916
0
0
0
0
0
1
0.3
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
8cedfc59e0147563abbadc480a2635359211c597
662
py
Python
lib/xpath/parser/__init__.py
zepheira/amara
d3ffe07d6e2266b34d72b012a82d572c8edbf1e7
[ "Apache-2.0" ]
6
2015-01-30T03:50:36.000Z
2022-03-20T16:09:58.000Z
lib/xpath/parser/__init__.py
zepheira/amara
d3ffe07d6e2266b34d72b012a82d572c8edbf1e7
[ "Apache-2.0" ]
2
2015-02-04T17:18:47.000Z
2019-09-27T23:39:52.000Z
lib/xpath/parser/__init__.py
zepheira/amara
d3ffe07d6e2266b34d72b012a82d572c8edbf1e7
[ "Apache-2.0" ]
6
2015-02-04T16:16:18.000Z
2019-10-30T20:07:48.000Z
from amara.xpath import XPathError from amara.xpath.parser import _xpathparser __all__ = ['xpathparser', 'parse'] class xpathparser(_xpathparser.parser): _parse = _xpathparser.parser.parse def parse(self, expr): """Parses the string `expr` into an AST""" try: return self._parse(e...
26.48
67
0.661631
73
662
5.671233
0.520548
0.10628
0.067633
0
0
0
0
0
0
0
0
0
0.232628
662
24
68
27.583333
0.814961
0
0
0
0
0
0.03871
0
0
0
0
0
0
0
null
null
0
0.176471
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
8cf36ecfb587ecc7c38da718fdf5fdb9dd8e10eb
423
py
Python
eliteEvents/website/migrations/0007_event_description.py
CCecilia/eliteDangerousEvents
49be2e7e590e8dd5e34b94dca43ddedd0be797e7
[ "MIT" ]
2
2017-12-29T17:43:24.000Z
2019-12-05T16:13:36.000Z
eliteEvents/website/migrations/0007_event_description.py
CCecilia/eliteDangerousEvents
49be2e7e590e8dd5e34b94dca43ddedd0be797e7
[ "MIT" ]
2
2020-06-05T17:51:05.000Z
2021-06-10T20:00:07.000Z
eliteEvents/website/migrations/0007_event_description.py
CCecilia/eliteDangerousEvents
49be2e7e590e8dd5e34b94dca43ddedd0be797e7
[ "MIT" ]
2
2019-06-10T01:06:16.000Z
2020-06-11T14:11:12.000Z
# Generated by Django 2.0 on 2017-12-10 17:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('website', '0006_auto_20171210_0506'), ] operations = [ migrations.AddField( model_name='event', name='description', ...
21.15
51
0.595745
43
423
5.744186
0.837209
0
0
0
0
0
0
0
0
0
0
0.100334
0.293144
423
19
52
22.263158
0.725753
0.101655
0
0
1
0
0.132275
0.060847
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
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
506e7afaf7acad8c4635f6565e6f27e81ccc53a9
390
py
Python
layout_org.py
Puneethnaik/tkinter_templates
42d894f897c576a57edf2819d553bc41b40a6916
[ "MIT" ]
null
null
null
layout_org.py
Puneethnaik/tkinter_templates
42d894f897c576a57edf2819d553bc41b40a6916
[ "MIT" ]
null
null
null
layout_org.py
Puneethnaik/tkinter_templates
42d894f897c576a57edf2819d553bc41b40a6916
[ "MIT" ]
null
null
null
from tkinter import * root = Tk() topFrame = Frame(root) topFrame.pack() bottomFrame = Frame(root) bottomFrame.pack(side = BOTTOM) button1 = Button(topFrame, text = "Button 1", fg = "red") button2 = Button(topFrame, text = "Button 2", fg = "blue") button3 = Button(bottomFrame, text = "Button 3", fg = "green") but...
18.571429
62
0.684615
51
390
5.235294
0.490196
0.11236
0.134831
0.179775
0
0
0
0
0
0
0
0.027273
0.153846
390
21
63
18.571429
0.781818
0
0
0
0
0
0.092072
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
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
50751dbd2948c32f24b2637b1d514994e12780e8
2,800
py
Python
webhook.py
Kyson/tech_hikyson_cn_hexo_webhook
a4b29353e570e0e76b3fc54994739202db853f2c
[ "Apache-2.0" ]
null
null
null
webhook.py
Kyson/tech_hikyson_cn_hexo_webhook
a4b29353e570e0e76b3fc54994739202db853f2c
[ "Apache-2.0" ]
null
null
null
webhook.py
Kyson/tech_hikyson_cn_hexo_webhook
a4b29353e570e0e76b3fc54994739202db853f2c
[ "Apache-2.0" ]
null
null
null
# coding:utf-8 import ConfigParser import json import os import subprocess import sys import urllib from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler """ this py aim to run a hook server ,when git repo push sth ,it will do hexo deploy """ cp = ConfigParser.SafeConfigParser() cp.read('webhook.conf') hexo_r...
36.842105
119
0.564286
323
2,800
4.684211
0.368421
0.032386
0.06345
0.039656
0.152016
0.088566
0.088566
0
0
0
0
0.011585
0.321786
2,800
75
120
37.333333
0.78515
0.045714
0
0.035714
0
0.017857
0.124612
0.009705
0
0
0
0
0
0
null
null
0
0.125
null
null
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
507c76ae338d1f0fdf836298e87410cf08629b09
6,499
py
Python
nut_cloud/auth.py
FernandoChan/ShoppingGoods
b2430b92f7756628cb15b1defd0ae64cb2e349ff
[ "MIT" ]
null
null
null
nut_cloud/auth.py
FernandoChan/ShoppingGoods
b2430b92f7756628cb15b1defd0ae64cb2e349ff
[ "MIT" ]
null
null
null
nut_cloud/auth.py
FernandoChan/ShoppingGoods
b2430b92f7756628cb15b1defd0ae64cb2e349ff
[ "MIT" ]
null
null
null
import functools from flask import ( Blueprint, flash, g, redirect, render_template, request, session, url_for ) from zxcvbn import zxcvbn import nacl.pwhash from nut_cloud.db import get_db bp = Blueprint('auth', __name__, url_prefix='/auth') @bp.route('/register', methods=['GET', 'POST']) def register(): i...
31.702439
101
0.536698
705
6,499
4.875177
0.178723
0.049753
0.054408
0.064009
0.534478
0.499273
0.45563
0.38522
0.29677
0.283969
0
0.002037
0.320203
6,499
205
102
31.702439
0.775917
0
0
0.508197
0
0
0.265692
0
0
0
0
0
0
1
0.04918
false
0.065574
0.027322
0
0.163934
0.010929
0
0
0
null
0
0
0
0
0
0
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
50823cf7cd97b5288c4ef9947a53a36f19d7f563
5,060
py
Python
ros/src/tl_detector/light_classification/tl_classifier.py
pengzhao-life/CarND-Capstone
7c0c427b96c6107e4e1fdd0fcd5ebedd7d3810e4
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
pengzhao-life/CarND-Capstone
7c0c427b96c6107e4e1fdd0fcd5ebedd7d3810e4
[ "MIT" ]
7
2020-01-28T23:05:30.000Z
2022-01-13T01:46:50.000Z
ros/src/tl_detector/light_classification/tl_classifier.py
pengzhao-life/CarND-Capstone
7c0c427b96c6107e4e1fdd0fcd5ebedd7d3810e4
[ "MIT" ]
null
null
null
from styx_msgs.msg import TrafficLight import tensorflow as tf import numpy as np import cv2 import rospy import math class TLClassifier(object): def __init__(self): #TODO load classifier self.MODEL_NAME = 'ssd_mobilenet_v1_coco_2017_11_17' model_file = self.MODEL_NAME + '/frozen_inference_...
40.806452
107
0.589328
640
5,060
4.453125
0.2625
0.068421
0.056842
0.036842
0.183509
0.116491
0.094737
0.071579
0.027368
0.027368
0
0.039058
0.311858
5,060
123
108
41.138211
0.779437
0.126877
0
0.046512
0
0
0.042632
0.020853
0
0
0
0.01626
0
1
0.046512
false
0
0.081395
0
0.22093
0
0
0
0
null
0
0
0
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
508540a67d5a40d30ff6b5ad694b239c7ab2f71b
2,590
py
Python
array_str_problems/median_two_sorted_arrays.py
UPstartDeveloper/Problem_Solving_Practice
bd61333b3b056e82a94297e02bc05a17552e3496
[ "MIT" ]
null
null
null
array_str_problems/median_two_sorted_arrays.py
UPstartDeveloper/Problem_Solving_Practice
bd61333b3b056e82a94297e02bc05a17552e3496
[ "MIT" ]
null
null
null
array_str_problems/median_two_sorted_arrays.py
UPstartDeveloper/Problem_Solving_Practice
bd61333b3b056e82a94297e02bc05a17552e3496
[ "MIT" ]
null
null
null
from typing import List class Solution: def find_median_old(self, nums1: List[int], nums2: List[int]) -> int: # merge the sorted lists sorted_array = list() # store the lengths of both input lists nums1_amt, nums2_amt = len(nums1), len(nums2) nums1_index, nums2_index = 0, 0...
38.656716
73
0.548263
327
2,590
4.235474
0.330275
0.055596
0.028159
0.034657
0.077978
0.05343
0.05343
0.05343
0
0
0
0.061111
0.374517
2,590
66
74
39.242424
0.793827
0.227799
0
0.088889
0
0
0.027259
0
0
0
0
0.015152
0
1
0.044444
false
0
0.022222
0
0.133333
0
0
0
0
null
0
0
0
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
5085a380ddd73c1647a2161c01eeb84621e48162
353
py
Python
api/urls.py
siarheipuhach/tutorialdb
324a9f1889626702e2a262696e4693d5614ef31d
[ "MIT" ]
109
2019-08-29T00:25:51.000Z
2022-02-07T19:07:13.000Z
api/urls.py
siarheipuhach/tutorialdb
324a9f1889626702e2a262696e4693d5614ef31d
[ "MIT" ]
75
2019-08-12T14:46:35.000Z
2021-11-20T06:10:07.000Z
api/urls.py
siarheipuhach/tutorialdb
324a9f1889626702e2a262696e4693d5614ef31d
[ "MIT" ]
70
2019-08-12T15:09:51.000Z
2022-02-22T18:14:22.000Z
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='api-home'), path('tutorials/', views.tutorials), path('tutorials/<str:tags>/', views.tutorial_tag), path('tutorials/<str:tags>/<str:category>/', views.tutorial_tag_category), path('tags/', views.tags), ...
29.416667
78
0.66289
44
353
5.25
0.409091
0.168831
0.138528
0.17316
0
0
0
0
0
0
0
0
0.141643
353
11
79
32.090909
0.762376
0
0
0
0
0
0.246459
0.161473
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
509066d040c322230db0022c0038cf7bbae92710
3,613
py
Python
Core/Cogs/Admin.py
Haato3o/Heeto-Bot
50f5fe4468cabd9ac61097cfdeb77411a0e61d16
[ "MIT" ]
1
2019-09-09T23:52:53.000Z
2019-09-09T23:52:53.000Z
Core/Cogs/Admin.py
Haato3o/Heeto-Bot
50f5fe4468cabd9ac61097cfdeb77411a0e61d16
[ "MIT" ]
4
2020-01-03T06:40:18.000Z
2020-01-09T05:35:37.000Z
Core/Cogs/Admin.py
Haato3o/Heeto-Bot
50f5fe4468cabd9ac61097cfdeb77411a0e61d16
[ "MIT" ]
null
null
null
from discord.ext import commands import discord from Core.Logger import Logger from Libs.utils.bot_utils import BotUtils import datetime class Admin(commands.Cog): def __init__(self, bot): Logger.Log("Admin loaded!") self.bot: commands.Bot = bot self.Owners: list = [ 18306775478...
39.703297
100
0.580127
418
3,613
4.937799
0.26555
0.027132
0.046512
0.061047
0.290213
0.278585
0.278585
0.247578
0.214632
0.10562
0
0.009171
0.30584
3,613
91
101
39.703297
0.813796
0
0
0.207317
0
0
0.12839
0.006918
0
0
0.002214
0
0
1
0.036585
false
0.073171
0.060976
0.012195
0.134146
0
0
0
0
null
0
0
0
0
0
0
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
5092591155818258bc2aa1ecca7d3f9a9754eeb9
536
py
Python
indivisible/models/congressperson_test.py
danieltahara/indivisibleguide
84351e227c0c520ac9ee36f9bd5577907f5dc4bc
[ "MIT" ]
3
2017-03-25T08:30:14.000Z
2018-01-01T20:18:20.000Z
indivisible/models/congressperson_test.py
danieltahara/indivisibleguide
84351e227c0c520ac9ee36f9bd5577907f5dc4bc
[ "MIT" ]
null
null
null
indivisible/models/congressperson_test.py
danieltahara/indivisibleguide
84351e227c0c520ac9ee36f9bd5577907f5dc4bc
[ "MIT" ]
2
2017-03-07T04:42:08.000Z
2021-02-27T18:21:04.000Z
import unittest import congressperson from datasources import propublica class TestCongress(unittest.TestCase): def setUp(self): self.cp = congressperson.Congressperson("H001075") def test_get_name(self): self.assertEqual(self.cp.get_name(), "Kamala Harris") def test_get_recent_votes(sel...
25.52381
63
0.70709
67
536
5.358209
0.477612
0.066852
0.075209
0.100279
0.111421
0
0
0
0
0
0
0.022883
0.184701
536
20
64
26.8
0.798627
0.024254
0
0
0
0
0.053743
0
0
0
0
0
0.142857
1
0.214286
false
0
0.214286
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
50938c01e2b74b0c474ab6934c0776593afe4c62
562
py
Python
setup.py
agustingianni/memrepl
65c4a21fede4aa0285dcc94f980d1fd1b7b13b8d
[ "MIT" ]
49
2017-10-11T14:45:48.000Z
2021-03-02T08:37:58.000Z
setup.py
agustingianni/memrepl
65c4a21fede4aa0285dcc94f980d1fd1b7b13b8d
[ "MIT" ]
2
2017-10-11T16:36:21.000Z
2017-10-16T05:53:09.000Z
setup.py
agustingianni/memrepl
65c4a21fede4aa0285dcc94f980d1fd1b7b13b8d
[ "MIT" ]
5
2017-10-11T15:42:03.000Z
2017-10-31T08:49:06.000Z
from setuptools import setup setup( name="memrepl", version="1.0", url="https://github.com/agustingianni/memrepl", author="Agustin Gianni", author_email="agustin.gianni@gmail.com", description=("Memory inspection REPL interface"), license="MIT", keywords="memory debugger repl reverse en...
24.434783
56
0.626335
60
562
5.783333
0.766667
0.074928
0
0
0
0
0
0
0
0
0
0.013921
0.233096
562
22
57
25.545455
0.791183
0.044484
0
0
0
0
0.472897
0.04486
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
0
0
0
0
null
0
0
0
0
0
0
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
5099477134a4c30ccdbb5deac1bc254d57e179c0
1,394
py
Python
custom_components/meross_lan/sensor.py
nao-pon/meross_lan
66e229c617d156e1df7e6c897564c987d34e33a2
[ "MIT" ]
1
2021-07-26T11:44:46.000Z
2021-07-26T11:44:46.000Z
custom_components/meross_lan/sensor.py
nao-pon/meross_lan
66e229c617d156e1df7e6c897564c987d34e33a2
[ "MIT" ]
null
null
null
custom_components/meross_lan/sensor.py
nao-pon/meross_lan
66e229c617d156e1df7e6c897564c987d34e33a2
[ "MIT" ]
null
null
null
from typing import Any, Callable, Dict, List, Optional from homeassistant.helpers.entity import Entity from .const import DOMAIN, CONF_DEVICE_ID from .meross_entity import _MerossEntity from .logger import LOGGER async def async_setup_entry(hass: object, config_entry: object, async_add_devices): device_id = conf...
39.828571
109
0.751076
187
1,394
5.26738
0.326203
0.073096
0.086294
0.04264
0.17665
0.17665
0
0
0
0
0
0
0.157819
1,394
34
110
41
0.839012
0.030129
0
0.08
0
0
0.115985
0.037918
0
0
0
0
0
1
0.12
false
0
0.2
0.04
0.52
0
0
0
0
null
0
0
0
0
0
0
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
509a6c224d4ac5ce276b6292901fbd7dad23cee8
433
py
Python
Chapter 05/thread_sync.py
bpbpublications/Advance-Core-Python-Programming
8902ceb270f55c04c12e818032f90d641c14d7b1
[ "MIT" ]
null
null
null
Chapter 05/thread_sync.py
bpbpublications/Advance-Core-Python-Programming
8902ceb270f55c04c12e818032f90d641c14d7b1
[ "MIT" ]
null
null
null
Chapter 05/thread_sync.py
bpbpublications/Advance-Core-Python-Programming
8902ceb270f55c04c12e818032f90d641c14d7b1
[ "MIT" ]
null
null
null
import threading x = 0 range_val = int(input("Enter the range : ")) def thread_sync(lock): global x for i in range(range_val): # lock.acquire() x += 1 lock.release() lock = threading.Lock() t1 = threading.Thread(target = thread_sync, args = (lock,)) t2 = t...
18.041667
60
0.575058
58
433
4.206897
0.482759
0.122951
0.172131
0.221311
0.319672
0.319672
0.319672
0
0
0
0
0.025723
0.281755
433
23
61
18.826087
0.758842
0.032333
0
0
0
0
0.045685
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.125
0.0625
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
509a7fee0f6d6ab33589740cbdfb2d4b3810b763
9,917
py
Python
cave/com.raytheon.viz.gfe/localization/gfe/userPython/smartTools/serpFile.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
cave/com.raytheon.viz.gfe/localization/gfe/userPython/smartTools/serpFile.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
cave/com.raytheon.viz.gfe/localization/gfe/userPython/smartTools/serpFile.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
1
2021-10-30T00:03:05.000Z
2021-10-30T00:03:05.000Z
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to non...
37.281955
113
0.577796
1,213
9,917
4.707337
0.343776
0.007005
0.02662
0.028021
0.15324
0.130648
0.109632
0.090718
0.064098
0.064098
0
0.02392
0.304427
9,917
265
114
37.422642
0.803856
0.473429
0
0.254545
0
0
0.117415
0
0
0
0
0
0
0
null
null
0
0.036364
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
509e65387619df19871e074b8471db75e3f4424b
2,017
py
Python
test/test_csv.py
MosheZada/elasticsearch_loader
46250f0e665185394b102768bbcd8364070fef58
[ "MIT" ]
5
2016-09-21T20:17:37.000Z
2016-10-01T09:21:32.000Z
test/test_csv.py
MosheZada/elasticsearch_loader
46250f0e665185394b102768bbcd8364070fef58
[ "MIT" ]
null
null
null
test/test_csv.py
MosheZada/elasticsearch_loader
46250f0e665185394b102768bbcd8364070fef58
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import mock from click.testing import CliRunner from elasticsearch_loader import cli def invoke(content, *args, **kwargs): if sys.version_info[0] == 2: content = content.encode('utf-8') runner = CliRunner() with runner.isolated_filesystem...
48.02381
131
0.498265
238
2,017
4.117647
0.361345
0.058163
0.044898
0.057143
0.697959
0.697959
0.697959
0.697959
0.697959
0.697959
0
0.007315
0.322261
2,017
41
132
49.195122
0.709583
0.020823
0
0.4
0
0.033333
0.24075
0.071972
0
0
0
0
0.133333
1
0.1
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50a2df477a8bfebde4d765fa5b78769b262ef6a2
693
py
Python
LoginFormStringsGerman.py
TauOmicronMu/Y13Computing
e41cd88da34bcb38385cd2b9cb60270c0abc3346
[ "FSFAP" ]
null
null
null
LoginFormStringsGerman.py
TauOmicronMu/Y13Computing
e41cd88da34bcb38385cd2b9cb60270c0abc3346
[ "FSFAP" ]
null
null
null
LoginFormStringsGerman.py
TauOmicronMu/Y13Computing
e41cd88da34bcb38385cd2b9cb60270c0abc3346
[ "FSFAP" ]
null
null
null
# -*- coding: utf-8 -*- #LoginForm FORGOTTEN_PASS_BUTTON_TEXT = u"Passwort vergessen" INVALID_LOGIN_TEXT = u"Benutzername / Kennwort ungültig" LOGIN_ATTEMPTS_RESET_TEXT = u"Login Versuche zurücksetzen." LOGIN_BUTTON_TEXT = u"Login" LOGIN_HELP_TEXT = u"Von hier können Sie aus in Ihre Mitarbeiter-Account einloggen. Beid...
46.2
195
0.813853
98
693
5.479592
0.612245
0.102421
0.061453
0
0
0
0
0
0
0
0
0.001621
0.109668
693
14
196
49.5
0.86872
0.04329
0
0
0
0.090909
0.540909
0
0
0
0
0
0
1
0
false
0.272727
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
50a3e8f8102ea226529baf10d79afdd99353679d
36,937
py
Python
fixtures/vcenter.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
1
2017-06-13T04:42:34.000Z
2017-06-13T04:42:34.000Z
fixtures/vcenter.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
null
null
null
fixtures/vcenter.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
null
null
null
import time import random import uuid import re import os from netaddr import IPNetwork from fabric.context_managers import settings, hide from fabric.api import run, env from fabric.operations import get, put from orchestrator import Orchestrator, OrchestratorAuth from tcutils.util import * from tcutils.cfgparser impo...
41.642616
133
0.571974
4,476
36,937
4.482127
0.128686
0.014306
0.020287
0.02243
0.410926
0.353604
0.296282
0.262287
0.24529
0.214784
0
0.00499
0.316377
36,937
886
134
41.689616
0.789513
0.019493
0
0.3249
0
0
0.093827
0.004668
0
0
0
0
0.005326
0
null
null
0.043941
0.023968
null
null
0.002663
0
0
0
null
0
0
0
0
0
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
50a826c15ddac5bdc5203688baf4feacbb65f2a7
1,017
py
Python
tmnt_qlearning/scripts/QtableSave.py
EricssonResearch/tnmt
b8eb53f19f9ab0ade84da2061c704c249a253668
[ "Apache-2.0" ]
null
null
null
tmnt_qlearning/scripts/QtableSave.py
EricssonResearch/tnmt
b8eb53f19f9ab0ade84da2061c704c249a253668
[ "Apache-2.0" ]
null
null
null
tmnt_qlearning/scripts/QtableSave.py
EricssonResearch/tnmt
b8eb53f19f9ab0ade84da2061c704c249a253668
[ "Apache-2.0" ]
2
2018-09-18T07:55:51.000Z
2018-09-18T07:59:38.000Z
import pickle import os from pathlib import Path import pdb class QtableSave: def saveQtable(self, qtable): path = os.path.dirname(os.path.abspath(__file__)) with open(os.path.join(path, "qtable.pickle"), 'wb') as file: pickle.dump(qtable, file, protocol=pickle.HIGHEST_PROTOCOL) d...
28.25
107
0.6706
140
1,017
4.792857
0.435714
0.053651
0.029806
0.050671
0.178838
0.178838
0.101341
0.101341
0
0
0
0.025126
0.217306
1,017
35
108
29.057143
0.817839
0.41003
0
0.133333
0
0
0.051282
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
50ad6f764c13e48dce605fcce721d08f212c4bdb
170
py
Python
exercises/fr/exc_01_02_01.py
tuanducdesign/spacy-course
f8d092c5fa2997fccb3f367d174dce8667932b3d
[ "MIT" ]
null
null
null
exercises/fr/exc_01_02_01.py
tuanducdesign/spacy-course
f8d092c5fa2997fccb3f367d174dce8667932b3d
[ "MIT" ]
null
null
null
exercises/fr/exc_01_02_01.py
tuanducdesign/spacy-course
f8d092c5fa2997fccb3f367d174dce8667932b3d
[ "MIT" ]
null
null
null
# Importe spaCy import ____ # Crée l'objet nlp français nlp = ____ # Traite un texte doc = nlp("Ceci est une phrase.") # Affiche le texte du document print(____.text)
14.166667
33
0.717647
25
170
4.4
0.88
0
0
0
0
0
0
0
0
0
0
0
0.194118
170
11
34
15.454545
0.80292
0.494118
0
0
0
0
0.246914
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
50af1bddebdb898db1a33f2b3fe2a13937973b58
2,270
py
Python
tests/test_cron.py
Mariatta/arq
7d44d1db21cc4c8eb0c6e24f510f6ba054a72f25
[ "MIT" ]
1
2021-01-03T00:57:38.000Z
2021-01-03T00:57:38.000Z
tests/test_cron.py
Mariatta/arq
7d44d1db21cc4c8eb0c6e24f510f6ba054a72f25
[ "MIT" ]
null
null
null
tests/test_cron.py
Mariatta/arq
7d44d1db21cc4c8eb0c6e24f510f6ba054a72f25
[ "MIT" ]
null
null
null
import pickle from datetime import datetime from arq.utils import to_unix_ms from .fixtures import CronWorker datetimes = [ datetime(2032, 1, 1), # init one cron func datetime(2032, 1, 1), # init the other cron func datetime(2032, 1, 1), # init the third cron func datetime(2032, 1, 1, 3, 0, 1), ...
32.428571
115
0.685463
332
2,270
4.572289
0.222892
0.101449
0.077075
0.083004
0.750988
0.703557
0.658103
0.631752
0.593544
0.593544
0
0.045358
0.174449
2,270
69
116
32.898551
0.764674
0.029956
0
0.571429
0
0
0.11647
0.047316
0
0
0
0
0.265306
1
0
false
0
0.081633
0
0.081633
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50b3b47a0a04fd27a42cb6418161de60abb4e2bb
775
py
Python
examples/drawing/sample28_pushpop.py
chromia/wandplus
815127aeee85dbac3bc8fca35971d2153b1898a9
[ "ImageMagick", "MIT" ]
null
null
null
examples/drawing/sample28_pushpop.py
chromia/wandplus
815127aeee85dbac3bc8fca35971d2153b1898a9
[ "ImageMagick", "MIT" ]
null
null
null
examples/drawing/sample28_pushpop.py
chromia/wandplus
815127aeee85dbac3bc8fca35971d2153b1898a9
[ "ImageMagick", "MIT" ]
null
null
null
#!/usr/bin/env python from wand.image import Image from wand.drawing import Drawing from wand.color import Color # This is an original exsample. """ push/pop example """ with Image(width=200, height=100, background=Color('skyblue')) as img: with Drawing() as draw: draw.fill_color = Color('white') ...
25.833333
76
0.627097
110
775
4.372727
0.536364
0.08316
0.06237
0.074844
0
0
0
0
0
0
0
0.037415
0.24129
775
29
77
26.724138
0.780612
0.179355
0
0
0
0
0.101974
0
0
0
0
0
0
1
0
true
0
0.176471
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
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
50bc51dfdde0ac02cb1144196f0c30f49304139b
1,615
py
Python
rsqueakvm/util/cells.py
shiplift/RSqueakOnABoat
ac449758ddb7aef1721e65a13171547761dd6e39
[ "BSD-3-Clause" ]
44
2015-02-08T09:38:46.000Z
2017-11-15T01:19:40.000Z
rsqueakvm/util/cells.py
shiplift/RSqueakOnABoat
ac449758ddb7aef1721e65a13171547761dd6e39
[ "BSD-3-Clause" ]
112
2015-02-08T09:34:40.000Z
2017-04-10T19:06:30.000Z
rsqueakvm/util/cells.py
shiplift/RSqueakOnABoat
ac449758ddb7aef1721e65a13171547761dd6e39
[ "BSD-3-Clause" ]
7
2015-04-08T11:49:10.000Z
2017-01-19T06:36:27.000Z
from rpython.rlib import jit from rpython.rlib.cache import Cache from rpython.rlib.objectmodel import specialize, import_from_mixin from rsqueakvm.util.version import Version class QuasiConstantCache(Cache): def _build(self, obj): class NewQuasiConst(object): import_from_mixin(QuasiConstantM...
27.844828
73
0.673065
201
1,615
5.268657
0.353234
0.084986
0.042493
0.030217
0.049103
0.049103
0
0
0
0
0
0.001601
0.226625
1,615
57
74
28.333333
0.846277
0.058204
0
0
0
0
0.00728
0
0
0
0
0
0.022727
1
0.295455
false
0
0.113636
0.045455
0.704545
0
0
0
0
null
0
0
0
0
0
0
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
50be4b2f2551f4e2077be854c18cb3acccc8eced
1,313
py
Python
control_gen_style/parse_samples.py
tejasG53/707_controlled_text_gen
d98d1056822cb7f368fd8fa80746dcb601e9fb24
[ "AAL" ]
1
2017-11-01T00:22:49.000Z
2017-11-01T00:22:49.000Z
control_gen_style/parse_samples.py
tejasG53/707_controlled_text_gen
d98d1056822cb7f368fd8fa80746dcb601e9fb24
[ "AAL" ]
null
null
null
control_gen_style/parse_samples.py
tejasG53/707_controlled_text_gen
d98d1056822cb7f368fd8fa80746dcb601e9fb24
[ "AAL" ]
null
null
null
__author__="zhiting" import numpy as np import cPickle from collections import defaultdict import sys, re #import pandas as pd def parse_sentences(data_file, idx_word_map): with open(data_file+".parsed", "w") as fout: with open(data_file, "rb") as f: for line in f: line = lin...
26.795918
62
0.56588
191
1,313
3.528796
0.361257
0.093472
0.133531
0.065282
0.299703
0.249258
0.183976
0.089021
0
0
0
0.013468
0.321401
1,313
48
63
27.354167
0.742985
0.014471
0
0
0
0
0.053447
0.024787
0
0
0
0
0
0
null
null
0
0.117647
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
50c04cee178c60067ec530b286b6eb0b99ffab15
1,530
py
Python
track/replay_unpack/core/entity_def/data_types/math.py
chemputer/track
377b4df09563e23c41da018f6f8fa6b0b2875503
[ "MIT" ]
1
2021-09-17T10:42:39.000Z
2021-09-17T10:42:39.000Z
data/replay_unpack/core/entity_def/data_types/math.py
chemputer/track-docker
d257d15b0ea7c2281052cd0b2d0e49f06b75af1b
[ "MIT" ]
null
null
null
data/replay_unpack/core/entity_def/data_types/math.py
chemputer/track-docker
d257d15b0ea7c2281052cd0b2d0e49f06b75af1b
[ "MIT" ]
null
null
null
# coding=utf-8 import struct from io import BytesIO from lxml.etree import Element from .base import DataType class _MathType(DataType): STRUCT_TYPE = None def __init__(self, header_size=1): assert self.STRUCT_TYPE is not None, \ "You must define STRUCT_TYPE first" super().__ini...
26.37931
109
0.680392
212
1,530
4.650943
0.382075
0.070994
0.045639
0.057809
0.29716
0.270791
0.270791
0.270791
0.270791
0.179513
0
0.022727
0.223529
1,530
57
110
26.842105
0.804714
0.27451
0
0.076923
0
0
0.092575
0.029894
0
0
0
0
0.038462
1
0.153846
false
0
0.153846
0.076923
0.807692
0
0
0
0
null
0
0
0
0
0
0
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
50c777f28c50be5e6e96bb01adaefba45439d2cd
2,389
py
Python
lib-src/lv2/suil/waflib/extras/softlink_libs.py
joshrose/audacity
e2b1a2be6b92661628bbb054f915bc50b211c020
[ "CC-BY-3.0" ]
7,892
2015-03-31T09:24:05.000Z
2022-03-31T12:30:32.000Z
lib-src/lv2/suil/waflib/extras/softlink_libs.py
joshrose/audacity
e2b1a2be6b92661628bbb054f915bc50b211c020
[ "CC-BY-3.0" ]
2,050
2015-04-03T13:27:52.000Z
2022-03-31T19:14:10.000Z
lib-src/lv2/suil/waflib/extras/softlink_libs.py
joshrose/audacity
e2b1a2be6b92661628bbb054f915bc50b211c020
[ "CC-BY-3.0" ]
2,613
2015-03-26T11:28:10.000Z
2022-03-30T13:17:03.000Z
#! /usr/bin/env python # per rosengren 2011 from waflib.TaskGen import feature, after_method from waflib.Task import Task, always_run from os.path import basename, isabs from os import tmpfile, linesep def options(opt): grp = opt.add_option_group('Softlink Libraries Options') grp.add_option('--exclude', default='/u...
31.025974
118
0.685224
358
2,389
4.413408
0.399441
0.031013
0.034177
0.026582
0.056329
0
0
0
0
0
0
0.008105
0.173713
2,389
76
119
31.434211
0.7923
0.085391
0
0.125
0
0
0.119321
0
0
0
0
0.013158
0
1
0.078125
false
0
0.0625
0
0.234375
0
0
0
0
null
0
0
0
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
50d1af74355d9029b70a6dd8454335e24c4b9513
2,846
py
Python
docker_registry_show_tags.py
neilrjones/DevOps-Python-tools
12646de550ba296cf26e4a058e9a1cc1cc723c8f
[ "MIT" ]
1
2022-02-22T00:20:00.000Z
2022-02-22T00:20:00.000Z
docker_registry_show_tags.py
neilrjones/DevOps-Python-tools
12646de550ba296cf26e4a058e9a1cc1cc723c8f
[ "MIT" ]
null
null
null
docker_registry_show_tags.py
neilrjones/DevOps-Python-tools
12646de550ba296cf26e4a058e9a1cc1cc723c8f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # vim:ts=4:sts=4:sw=4:et # # Author: Hari Sekhon # Date: 2016-05-10 11:26:49 +0100 (Tue, 10 May 2016) # # https://github.com/harisekhon/devops-python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn # and ...
30.602151
107
0.653549
373
2,846
4.764075
0.469169
0.019696
0.028137
0.019133
0
0
0
0
0
0
0
0.019954
0.242797
2,846
92
108
30.934783
0.80464
0.288475
0
0
0
0
0.104709
0.014529
0
0
0
0
0
1
0.061224
false
0.102041
0.183673
0
0.265306
0.040816
0
0
0
null
0
0
0
0
0
0
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
50da15ad3f4021073acd2dde65629ff54da3bb63
603
py
Python
Demo2.py
mistermoutan/Wikipedia-Article-Classifier
bf7278d3703c6b1610b813e2f8da1690a3889175
[ "MIT" ]
null
null
null
Demo2.py
mistermoutan/Wikipedia-Article-Classifier
bf7278d3703c6b1610b813e2f8da1690a3889175
[ "MIT" ]
null
null
null
Demo2.py
mistermoutan/Wikipedia-Article-Classifier
bf7278d3703c6b1610b813e2f8da1690a3889175
[ "MIT" ]
null
null
null
""" \author Biasini Mirko s181753, Carmignani Vittorio s181755, Joao Alemao s182312 \date nov 2018 \version 1.0 \brief Demo to test out the final solution \details This demo test our algorithm by recommending categories for XX random pages. In order to evaluate the precision of our out solution, it computes the ...
30.15
128
0.794362
81
603
5.91358
0.716049
0.075157
0
0
0
0
0
0
0
0
0
0.048638
0.147595
603
20
129
30.15
0.883268
0.558872
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
50dcc26f21c44515cf46e01fb727a5a61bb3ae1c
11,177
py
Python
src/ssh_shuttle.py
huangynj/wrfxpy
b16581995a4c41c8c53efa032b9727105946ebb1
[ "MIT" ]
null
null
null
src/ssh_shuttle.py
huangynj/wrfxpy
b16581995a4c41c8c53efa032b9727105946ebb1
[ "MIT" ]
null
null
null
src/ssh_shuttle.py
huangynj/wrfxpy
b16581995a4c41c8c53efa032b9727105946ebb1
[ "MIT" ]
1
2019-11-10T04:52:03.000Z
2019-11-10T04:52:03.000Z
# Copyright (C) 2013-2016 Martin Vejmelka, UC Denver # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, mer...
37.632997
124
0.647759
1,487
11,177
4.73302
0.237391
0.03268
0.043478
0.010656
0.086957
0.065217
0.033532
0.033532
0.033532
0.033532
0
0.003384
0.25964
11,177
296
125
37.760135
0.84713
0.143956
0
0.133333
0
0.006667
0.164333
0.013117
0
0
0
0
0
0
null
null
0.006667
0.08
null
null
0.033333
0
0
0
null
0
0
0
0
0
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
50e15269d03e0c0e7ec9563e2a8f65dee588e9f8
264
py
Python
app/schemas/card_serealize.py
Suspir0n/Care-API
13e9a5116b77a81ed356ab6a8f1d0db1eb8b9a00
[ "MIT" ]
1
2021-02-08T13:33:43.000Z
2021-02-08T13:33:43.000Z
app/schemas/card_serealize.py
Suspir0n/Care-API
13e9a5116b77a81ed356ab6a8f1d0db1eb8b9a00
[ "MIT" ]
null
null
null
app/schemas/card_serealize.py
Suspir0n/Care-API
13e9a5116b77a81ed356ab6a8f1d0db1eb8b9a00
[ "MIT" ]
null
null
null
from ..settings.config import ma class CardSchema(ma.Schema): class Meta: fields = ('uid', 'active', 'deleted', 'createAt', 'updateAt', 'num_card', 'name', 'date_valid', 'cod_security') card_schema = CardSchema() cards_schema = CardSchema(many=True)
29.333333
119
0.685606
32
264
5.5
0.78125
0.181818
0
0
0
0
0
0
0
0
0
0
0.147727
264
9
120
29.333333
0.782222
0
0
0
0
0
0.249057
0
0
0
0
0
0
1
0
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
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
50e62bb1dcc88e52afba2b5988ac5830fc114000
2,411
py
Python
cookie/weibo.py
xpunch/x-spider
96054d123a69829e7ed74b3710a19eb999222477
[ "Apache-2.0" ]
null
null
null
cookie/weibo.py
xpunch/x-spider
96054d123a69829e7ed74b3710a19eb999222477
[ "Apache-2.0" ]
6
2021-03-19T03:07:04.000Z
2022-03-02T14:59:42.000Z
cookie/weibo.py
xpunch/x-spider
96054d123a69829e7ed74b3710a19eb999222477
[ "Apache-2.0" ]
null
null
null
import os import sys import pymongo from pymongo.errors import DuplicateKeyError from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC sys.path.append(os.getcwd()) from xspider....
41.568966
113
0.661136
294
2,411
5.265306
0.401361
0.049742
0.040698
0.02907
0.095607
0.095607
0.055556
0.055556
0.055556
0.055556
0
0.006799
0.206968
2,411
58
114
41.568966
0.802824
0
0
0.037736
0
0.018868
0.099917
0
0
0
0
0
0
1
0.056604
false
0.188679
0.169811
0
0.264151
0.018868
0
0
0
null
0
0
0
0
0
0
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
50e918b4bcbae3cb0c0b65093841a184e2c47e6a
741
py
Python
github_user_management/add_ldap_users_to_employees.py
rashamalek/github-user-management
9d242351ba2491c6ec8fe15cd6abbaa0e231ab8a
[ "Apache-2.0" ]
3
2016-10-06T09:44:13.000Z
2017-07-17T04:16:38.000Z
github_user_management/add_ldap_users_to_employees.py
rashamalek/github-user-management
9d242351ba2491c6ec8fe15cd6abbaa0e231ab8a
[ "Apache-2.0" ]
1
2019-01-25T09:08:36.000Z
2019-01-25T09:08:36.000Z
github_user_management/add_ldap_users_to_employees.py
rashamalek/github-user-management
9d242351ba2491c6ec8fe15cd6abbaa0e231ab8a
[ "Apache-2.0" ]
3
2016-10-05T13:05:03.000Z
2019-01-25T08:50:42.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2015-2016 Noa Resare from clients import ldap_client from clients import github_client def check_github_usernames(github_token, ldap_url, ldap_base, github_url): gc = github_client.GithubClient(github_token, github_url) with ldap_client.LdapClient(ldap_url, ldap_base) a...
39
74
0.626181
100
741
4.43
0.5
0.112867
0.076749
0.06772
0
0
0
0
0
0
0
0.017143
0.291498
741
18
75
41.166667
0.826667
0.148448
0
0
0
0
0.092504
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.153846
0
0
0
null
0
0
0
0
0
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
50f493a2612325a2d99966275e14fbd2f614944e
781
py
Python
check_files/reify_batch_anomaly_score_dataset_py3.py
mmerce/bigmler
e411bb292a3c8db4cac6754b2b744ffe27fdb47a
[ "Apache-2.0" ]
null
null
null
check_files/reify_batch_anomaly_score_dataset_py3.py
mmerce/bigmler
e411bb292a3c8db4cac6754b2b744ffe27fdb47a
[ "Apache-2.0" ]
null
null
null
check_files/reify_batch_anomaly_score_dataset_py3.py
mmerce/bigmler
e411bb292a3c8db4cac6754b2b744ffe27fdb47a
[ "Apache-2.0" ]
null
null
null
from bigml.api import BigML api = BigML() source1 = api.create_source("iris.csv") api.ok(source1) dataset1 = api.create_dataset(source1, \ {'name': 'iris'}) api.ok(dataset1) anomaly1 = api.create_anomaly(dataset1, \ {'anomaly_seed': '2c249dda00fbf54ab4cdd850532a584f286af5b...
31.24
87
0.681178
86
781
5.976744
0.337209
0.058366
0.042802
0.050584
0
0
0
0
0
0
0
0.064465
0.185659
781
24
88
32.541667
0.743711
0
0
0.111111
0
0
0.243278
0.131882
0
0
0
0
0
0
null
null
0
0.055556
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
50f79152a58a2b2e43a7efa530e328b29865657c
155
py
Python
1080.py
Henrile/Questoes---URI---Python
c68cd0f2a1961d0933733c694ecdd0e09dec03fd
[ "MIT" ]
1
2020-10-01T14:22:48.000Z
2020-10-01T14:22:48.000Z
1080.py
Thomascript/Questoes---URI---Python
15e5a2aaef8aa03cd565a7edb8f6647a068846ad
[ "MIT" ]
null
null
null
1080.py
Thomascript/Questoes---URI---Python
15e5a2aaef8aa03cd565a7edb8f6647a068846ad
[ "MIT" ]
1
2020-10-01T19:45:26.000Z
2020-10-01T19:45:26.000Z
vetor = [] i = 1 while(i <= 100): valor = int(input()) vetor.append(valor) i = i + 1 print(max(vetor)) print(vetor.index(max(vetor)) + 1)
11.071429
34
0.548387
24
155
3.541667
0.5
0.047059
0
0
0
0
0
0
0
0
0
0.051724
0.251613
155
14
34
11.071429
0.681034
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
50fc9c244fdf5112c94b45876ae0fac15d0cb438
828
py
Python
project2/src/models/user_mean.py
errikos/ml-makarona
5e0c9efe3405245119bf5aa9bd81a4ca5159eab1
[ "MIT" ]
null
null
null
project2/src/models/user_mean.py
errikos/ml-makarona
5e0c9efe3405245119bf5aa9bd81a4ca5159eab1
[ "MIT" ]
null
null
null
project2/src/models/user_mean.py
errikos/ml-makarona
5e0c9efe3405245119bf5aa9bd81a4ca5159eab1
[ "MIT" ]
1
2019-10-24T22:47:38.000Z
2019-10-24T22:47:38.000Z
"""Simple user-mean model.""" import itertools class UserMean(object): """Class modelling the user-mean recommendation model.""" def __init__(self): self.user_means = {} def update(self, user, mean): self.user_means[user] = mean def get(self, user): return self.user_means.get...
28.551724
87
0.638889
121
828
4.280992
0.363636
0.07722
0.07529
0.050193
0.123552
0.061776
0
0
0
0
0
0.015198
0.205314
828
28
88
29.571429
0.772036
0.09058
0
0
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0.055556
0.055556
0.555556
0
0
0
0
null
0
0
0
0
0
0
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
0f94f75bde2d6f14907ea037ad4741ee3c352aa9
257
py
Python
app/chat_server/routing.py
Eddyjim/PythonChat
a88dfee5700b7d6750e1138f05a4de4f256119da
[ "MIT" ]
null
null
null
app/chat_server/routing.py
Eddyjim/PythonChat
a88dfee5700b7d6750e1138f05a4de4f256119da
[ "MIT" ]
5
2019-12-21T01:44:34.000Z
2019-12-24T03:54:46.000Z
app/chat_server/routing.py
Eddyjim/PythonChat
a88dfee5700b7d6750e1138f05a4de4f256119da
[ "MIT" ]
null
null
null
""" app.chat_server.consumers ------------------------- Consumers for chat_server application """ from django.urls import re_path from . import consumers websocket_urlpatterns = [ re_path(r'ws/chat/(?P<room_name>\w+)/$', consumers.ChatConsumer), ]
16.0625
69
0.661479
31
257
5.290323
0.677419
0.121951
0
0
0
0
0
0
0
0
0
0
0.120623
257
15
70
17.133333
0.725664
0.346304
0
0
0
0
0.177215
0.177215
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
0f96339783e495e2017b0bf3b4d6513f771907d9
1,006
py
Python
modules/kobo.py
hwiorn/orger
1a511810f193b69a427aa88c51612fadd46b66f1
[ "MIT" ]
241
2019-09-27T19:57:18.000Z
2022-03-26T09:42:59.000Z
modules/kobo.py
hwiorn/orger
1a511810f193b69a427aa88c51612fadd46b66f1
[ "MIT" ]
10
2019-10-04T19:26:28.000Z
2022-03-25T09:01:45.000Z
modules/kobo.py
hwiorn/orger
1a511810f193b69a427aa88c51612fadd46b66f1
[ "MIT" ]
11
2019-10-27T04:35:33.000Z
2022-03-20T14:30:37.000Z
#!/usr/bin/env python3 from orger import Mirror from orger.inorganic import node, link, OrgNode from orger.common import dt_heading from my.kobo import get_books_with_highlights, Highlight class KoboView(Mirror): def get_items(self) -> Mirror.Results: def render_highlight(h: Highlight) -> OrgNode: ...
27.944444
76
0.617296
124
1,006
4.83871
0.5
0.06
0.04
0.073333
0
0
0
0
0
0
0
0.001383
0.281312
1,006
35
77
28.742857
0.828492
0.105368
0
0
0
0
0.040179
0
0
0
0
0.028571
0
1
0.083333
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0f9b9dbedfb82f5264fd6786788721382969696a
271
py
Python
clientlib/utils.py
mesakh123/carla-client
a4b0e74d6741ad77a46725dc65cc0c3f69497941
[ "MIT" ]
1
2022-01-06T09:34:19.000Z
2022-01-06T09:34:19.000Z
clientlib/utils.py
mesakh123/carla-client
a4b0e74d6741ad77a46725dc65cc0c3f69497941
[ "MIT" ]
1
2022-01-06T09:35:56.000Z
2022-01-06T15:47:11.000Z
clientlib/utils.py
mesakh123/carla-client
a4b0e74d6741ad77a46725dc65cc0c3f69497941
[ "MIT" ]
1
2022-01-06T15:47:29.000Z
2022-01-06T15:47:29.000Z
import os import shutil from pathlib import Path def make_dirs(path, clean=True): if clean and os.path.exists(path): shutil.rmtree(path) try: os.makedirs(path, exist_ok=True) except FileNotFoundError: return None return Path(path)
22.583333
40
0.678967
38
271
4.789474
0.605263
0
0
0
0
0
0
0
0
0
0
0
0.239852
271
12
41
22.583333
0.883495
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.272727
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
0fa00833e834c2094aa7ddd9c39c9329b40546ae
1,619
py
Python
mnist/samples.py
lambdaofgod/examples
26f7dd0ab58aba2f251e307982c34c9bd67d4797
[ "Apache-2.0" ]
9
2017-12-14T01:20:07.000Z
2020-04-30T09:33:55.000Z
mnist/samples.py
lambdaofgod/examples
26f7dd0ab58aba2f251e307982c34c9bd67d4797
[ "Apache-2.0" ]
2
2019-08-15T16:32:00.000Z
2020-03-18T18:22:38.000Z
mnist/samples.py
lambdaofgod/examples
26f7dd0ab58aba2f251e307982c34c9bd67d4797
[ "Apache-2.0" ]
4
2019-08-22T07:25:11.000Z
2020-06-08T07:07:50.000Z
import argparse import json import tensorflow as tf import numpy as np from tensorflow.core.framework import summary_pb2 from tensorflow.examples.tutorials.mnist import input_data FLAGS = None def prepare_samples(mnist): inputs = tf.placeholder(tf.float32, [None, 784]) shaped_inputs = tf.reshape(inputs, [-1...
33.040816
70
0.650401
211
1,619
4.800948
0.450237
0.047384
0.050346
0.009872
0.019743
0
0
0
0
0
0
0.017296
0.21433
1,619
48
71
33.729167
0.779088
0
0
0
0
0
0.072267
0
0
0
0
0
0
0
null
null
0
0.15
null
null
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0fa9618c4ec405872ca02bfdf9cea96e78e86771
2,561
py
Python
lib/database.py
kostyaby/fc-helper
727b4418a832cad73fbf3a76b07973ec7dd8f49f
[ "MIT" ]
null
null
null
lib/database.py
kostyaby/fc-helper
727b4418a832cad73fbf3a76b07973ec7dd8f49f
[ "MIT" ]
null
null
null
lib/database.py
kostyaby/fc-helper
727b4418a832cad73fbf3a76b07973ec7dd8f49f
[ "MIT" ]
null
null
null
from . import Constant from . import TrackedEntity from datetime import datetime import time import sqlite3 import os.path class Database: @staticmethod def create_default(clock): return Database(os.path.join(os.path.expanduser(Constant.System.APPLICATION_SUPPORT_DIRECTORY),\ ...
31.231707
115
0.759469
318
2,561
5.779874
0.216981
0.106094
0.054407
0.056583
0.27802
0.189336
0.189336
0.167573
0
0
0
0.002783
0.158141
2,561
81
116
31.617284
0.849722
0
0
0.169811
0
0
0
0
0
0
0
0
0
1
0.207547
false
0
0.113208
0.018868
0.471698
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0fb90af1d2a2930072df4d8630744f76af9ac627
39,161
py
Python
BinaryBuilder.py
zmoratto/BinaryBuilder
d5c1da6d03c947ce0bc8b36aec6b98e58a1b7382
[ "Apache-2.0" ]
null
null
null
BinaryBuilder.py
zmoratto/BinaryBuilder
d5c1da6d03c947ce0bc8b36aec6b98e58a1b7382
[ "Apache-2.0" ]
null
null
null
BinaryBuilder.py
zmoratto/BinaryBuilder
d5c1da6d03c947ce0bc8b36aec6b98e58a1b7382
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from __future__ import with_statement, print_function import errno import inspect import os import os.path as P import platform import subprocess import sys import urllib2 import logging import copy, re from collections import namedtuple from functools import wraps, partial from glob import glo...
40.247688
202
0.585966
4,993
39,161
4.498898
0.169237
0.020567
0.020701
0.009304
0.244268
0.192494
0.149268
0.131772
0.110448
0.095847
0
0.005374
0.2825
39,161
972
203
40.289095
0.794078
0.119634
0
0.198571
0
0.004286
0.15814
0.019502
0
0
0
0.002058
0.007143
0
null
null
0.001429
0.027143
null
null
0.101429
0
0
0
null
0
0
0
0
0
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
0fbba1db5547d46662a982e6754befc5cd2ca5db
44,775
py
Python
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pyNN/connectors.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
2
2020-11-01T13:22:11.000Z
2020-11-01T13:22:20.000Z
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pyNN/connectors.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
null
null
null
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pyNN/connectors.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
null
null
null
""" Defines a common implementation of the built-in PyNN Connector classes. Simulator modules may use these directly, or may implement their own versions for improved performance. :copyright: Copyright 2006-2013 by the PyNN team, see AUTHORS. :license: CeCILL, see LICENSE for details. """ import numpy, logging, sys,...
47.280887
146
0.605382
5,180
44,775
5.122973
0.109073
0.024268
0.034669
0.01447
0.59841
0.560915
0.514602
0.488827
0.45657
0.42729
0
0.00437
0.310017
44,775
946
147
47.330867
0.8546
0.040893
0
0.431655
0
0
0.052709
0.004917
0
0
0
0
0.03777
0
null
null
0.001799
0.016187
null
null
0.001799
0
0
0
null
0
0
0
0
0
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
0fc550ee4000101c6a9da00f2e72ec768273f035
686
py
Python
poems/migrations/0013_auto_20200520_2319.py
Nikolas-01/Lesson_23
bce66a3062b5715ad5d1590801fbc90dd69c7a1a
[ "MIT" ]
null
null
null
poems/migrations/0013_auto_20200520_2319.py
Nikolas-01/Lesson_23
bce66a3062b5715ad5d1590801fbc90dd69c7a1a
[ "MIT" ]
null
null
null
poems/migrations/0013_auto_20200520_2319.py
Nikolas-01/Lesson_23
bce66a3062b5715ad5d1590801fbc90dd69c7a1a
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-05-20 23:19 from django.db import migrations, models import django.db.models.manager class Migration(migrations.Migration): dependencies = [ ('poems', '0012_infofile'), ] operations = [ migrations.AlterModelManagers( name='poet', ...
23.655172
81
0.552478
67
686
5.58209
0.656716
0.064171
0.074866
0.112299
0
0
0
0
0
0
0
0.047312
0.322157
686
28
82
24.5
0.756989
0.065598
0
0.136364
1
0
0.079812
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
0
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
0fc6c3a6df0050811a99ea122573ae4dce367e33
634
py
Python
todo/users/admin.py
Sanguet/todo-challenge
8eabc02081e7ce6b33408558d4a4a39edee3944c
[ "MIT" ]
null
null
null
todo/users/admin.py
Sanguet/todo-challenge
8eabc02081e7ce6b33408558d4a4a39edee3944c
[ "MIT" ]
null
null
null
todo/users/admin.py
Sanguet/todo-challenge
8eabc02081e7ce6b33408558d4a4a39edee3944c
[ "MIT" ]
null
null
null
# Django from django.contrib import admin from django.contrib.auth.admin import UserAdmin # Models from todo.users.models import User, Profile class CustomUserAdmin(UserAdmin): """ Modelo custom del usuario admin""" list_display = ("email", "username", "is_staff", "is_verified") list_filter = ("is_staff...
24.384615
67
0.711356
75
634
5.826667
0.506667
0.045767
0.077803
0
0
0
0
0
0
0
0
0
0.148265
634
25
68
25.36
0.809259
0.097792
0
0
0
0
0.211091
0
0
0
0
0
0
1
0
false
0
0.25
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0fc6d150a3627c1f64b5555dbb3949b5ce3c65ca
13,350
py
Python
HPE IMC Real Time Locate Flask Sample App/realtimelocatesessions.py
smallfount/scriptsonly
cabdfc301da4e1653705d713b306f3fbf7f6934d
[ "Apache-2.0" ]
32
2016-05-24T23:32:02.000Z
2021-11-17T07:53:50.000Z
HPE IMC Real Time Locate Flask Sample App/realtimelocatesessions.py
posai8701/scriptsonly
cabdfc301da4e1653705d713b306f3fbf7f6934d
[ "Apache-2.0" ]
5
2016-09-25T15:55:02.000Z
2018-09-06T10:54:45.000Z
HPE IMC Real Time Locate Flask Sample App/realtimelocatesessions.py
posai8701/scriptsonly
cabdfc301da4e1653705d713b306f3fbf7f6934d
[ "Apache-2.0" ]
34
2016-03-02T17:37:07.000Z
2021-11-17T07:54:04.000Z
''' Copyright 2016 Hewlett Packard Enterprise Development LP. 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 appl...
51.945525
150
0.634457
1,470
13,350
5.660544
0.147619
0.031126
0.049994
0.034611
0.686095
0.673597
0.670833
0.635861
0.595601
0.595601
0
0.001993
0.210787
13,350
256
151
52.148438
0.787775
0.13618
0
0.452514
0
0
0.205353
0
0
0
0
0
0
1
0.050279
false
0.139665
0.027933
0
0.206704
0
0
0
0
null
0
0
0
0
0
0
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
0fc8efe3061edf52479efdd77ae1d6ae7fc3ddcc
756
py
Python
authservice/users/views.py
LucasBiason/ServiceAuthCore
8647578443c23adbb7722e13b41f4fc6d2d2d1af
[ "MIT" ]
null
null
null
authservice/users/views.py
LucasBiason/ServiceAuthCore
8647578443c23adbb7722e13b41f4fc6d2d2d1af
[ "MIT" ]
4
2021-03-19T08:13:35.000Z
2021-09-22T19:15:17.000Z
authservice/users/views.py
LucasBiason/ServiceAuthCore
8647578443c23adbb7722e13b41f4fc6d2d2d1af
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework import generics, authentication, permissions from rest_framework.authtoken.views import ObtainAuthToken from rest_framework.settings import api_settings from users.serializers import UserSerializer class CreateuserView(generics.CreateAPIView): ''' Create a ...
34.363636
65
0.787037
77
756
7.61039
0.597403
0.040956
0.087031
0
0
0
0
0
0
0
0
0
0.146825
756
22
66
34.363636
0.908527
0.134921
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0fc9f7cf89627b45322bbbf2e5376d1ddabe24cb
506
py
Python
blog/services/main.py
JohannSuarez/fastapi_backend
fd5db7e963624c5d64b8c92ab4378fbf4e36beef
[ "MIT" ]
null
null
null
blog/services/main.py
JohannSuarez/fastapi_backend
fd5db7e963624c5d64b8c92ab4378fbf4e36beef
[ "MIT" ]
5
2022-02-08T07:36:33.000Z
2022-03-06T02:20:51.000Z
blog/services/main.py
JohannSuarez/fastapi_backend
fd5db7e963624c5d64b8c92ab4378fbf4e36beef
[ "MIT" ]
null
null
null
''' Services are defined in the services package. Each service is a subclass of AppService. The database session is passed down from the request dependency via an "interface-like" mixin utility class (other mixin classes may be added via multiple inheritance in order to extend available attributes) ''' from sqlalchemy...
25.3
71
0.766798
69
506
5.565217
0.710145
0.03125
0
0
0
0
0
0
0
0
0
0
0.177866
506
19
72
26.631579
0.923077
0.583004
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0.25
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
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
0fd1950f18184f8c5b153c03c2c195fbe47e3ebf
408
py
Python
vispr_screen/__init__.py
Geehome/VISPR-online
14acfe9e623756386345eb27bf2a5010eeb40293
[ "MIT" ]
2
2021-07-02T06:04:01.000Z
2022-03-01T16:32:09.000Z
vispr_screen/__init__.py
Geehome/VISPR-online
14acfe9e623756386345eb27bf2a5010eeb40293
[ "MIT" ]
2
2021-03-20T01:32:34.000Z
2021-03-25T22:52:48.000Z
vispr_screen/__init__.py
Geehome/VISPR-online
14acfe9e623756386345eb27bf2a5010eeb40293
[ "MIT" ]
1
2020-11-18T01:00:18.000Z
2020-11-18T01:00:18.000Z
# coding: utf-8 from __future__ import absolute_import, division, print_function __author__ = "Johannes Köster" __copyright__ = "Copyright 2015, Johannes Köster, Liu lab" __email__ = "koester@jimmy.harvard.edu" __license__ = "MIT" __version__ = '0.1.0' from flask import Flask app = Flask(__name__) #app.jinja_env.t...
20.4
64
0.77451
56
408
5.017857
0.696429
0.099644
0.078292
0
0
0
0
0
0
0
0
0.022599
0.132353
408
19
65
21.473684
0.771186
0.193627
0
0
0
0
0.271605
0.07716
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
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
0fd618404dc0551c0ddc054649b98a2af91b4e60
2,396
py
Python
zetafold/base_pair_types.py
rickyHong/Zetafold-repl
7a325bb65f242d8951c5d257cafa351a789a6f37
[ "MIT" ]
null
null
null
zetafold/base_pair_types.py
rickyHong/Zetafold-repl
7a325bb65f242d8951c5d257cafa351a789a6f37
[ "MIT" ]
null
null
null
zetafold/base_pair_types.py
rickyHong/Zetafold-repl
7a325bb65f242d8951c5d257cafa351a789a6f37
[ "MIT" ]
null
null
null
class BasePairType: def __init__( self, nt1, nt2, Kd, match_lowercase = False ): ''' Two sequence characters that get matched to base pair, e.g., 'C' and 'G'; and the dissociation constant K_d (in M) associated with initial pair formation. match_lowercase means match 'x' to 'x', '...
41.310345
91
0.634391
340
2,396
4.214706
0.238235
0.156315
0.127006
0.106071
0.39358
0.263782
0.226099
0.204466
0.131193
0.131193
0
0.021205
0.252087
2,396
57
92
42.035088
0.77846
0.152337
0
0.139535
0
0
0.042929
0
0
0
0
0.017544
0
1
0.162791
false
0
0
0
0.348837
0
0
0
0
null
0
0
0
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
0fe0c6ed86ef9bd1ce3075e8a8b9fe672aa71e7f
937
py
Python
kas.py
alamilar/KerbalSync
5fce0bf9e3daadbbf416f5f4c4751de88b07b61d
[ "MIT" ]
null
null
null
kas.py
alamilar/KerbalSync
5fce0bf9e3daadbbf416f5f4c4751de88b07b61d
[ "MIT" ]
null
null
null
kas.py
alamilar/KerbalSync
5fce0bf9e3daadbbf416f5f4c4751de88b07b61d
[ "MIT" ]
null
null
null
import urllib2 import tempfile import shutil from zipfile import ZipFile import distutils.core from mod import Mod class kas(Mod): def __init__(self, path='.'): self.path = path def preUpdate(self): print 'Performing pre update phase' def update(self): print 'Performin update p...
26.771429
124
0.627535
117
937
4.974359
0.487179
0.075601
0.061856
0
0
0
0
0
0
0
0
0.011445
0.254002
937
34
125
27.558824
0.821173
0
0
0
0
0.037037
0.256137
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.185185
0
0
0
null
0
0
0
0
0
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
0fe41ade7b66ad87960c8af3d2434e93cd38533f
358
py
Python
myexample/t8.py
johnson7788/transformers
005519f2c50851b219d6946ea4d6ef9ec4f87bbc
[ "Apache-2.0" ]
null
null
null
myexample/t8.py
johnson7788/transformers
005519f2c50851b219d6946ea4d6ef9ec4f87bbc
[ "Apache-2.0" ]
null
null
null
myexample/t8.py
johnson7788/transformers
005519f2c50851b219d6946ea4d6ef9ec4f87bbc
[ "Apache-2.0" ]
null
null
null
from transformers import AutoTokenizer tokenizer = AutoTokenizer.from_pretrained('bert-base-cased') batch_sentences = ["Hello I'm a single sentence", "And another sentence", "And the very very last one"] batch = tokenizer(batch_sentences, padding=True, truncation=True, max_length=...
44.75
102
0.709497
44
358
5.659091
0.75
0.11245
0
0
0
0
0
0
0
0
0
0.010381
0.192737
358
8
103
44.75
0.851211
0
0
0
0
0
0.250696
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
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
0fe9a27f06639f60b1a3a5361b16e03b20812354
547
py
Python
cal/migrations/0004_auto_20200229_1141.py
PudgyPoppins/caps
8e57d1ab970bcb850938b4103e8d736e5afb8e80
[ "Apache-2.0" ]
null
null
null
cal/migrations/0004_auto_20200229_1141.py
PudgyPoppins/caps
8e57d1ab970bcb850938b4103e8d736e5afb8e80
[ "Apache-2.0" ]
null
null
null
cal/migrations/0004_auto_20200229_1141.py
PudgyPoppins/caps
8e57d1ab970bcb850938b4103e8d736e5afb8e80
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.3 on 2020-02-29 18:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cal', '0003_calendar_event'), ] operations = [ migrations.RemoveField( model_name='event', name='recurrence', ...
23.782609
116
0.585009
59
547
5.322034
0.728814
0.057325
0.089172
0.11465
0
0
0
0
0
0
0
0.057143
0.296161
547
22
117
24.863636
0.758442
0.082267
0
0.25
1
0
0.152
0
0
0
0
0
0
1
0
false
0
0.0625
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
0ff06d7f0daf7c8293d2f224d47568fa619dd44b
1,206
py
Python
examples/Text/RandomText.py
pepsipepsi/nodebox_opengl_python3
cfb2633df1055a028672b11311603cc2241a1378
[ "BSD-3-Clause" ]
1
2017-03-19T16:56:46.000Z
2017-03-19T16:56:46.000Z
examples/Text/RandomText.py
pepsipepsi/nodebox_opengl_python3
cfb2633df1055a028672b11311603cc2241a1378
[ "BSD-3-Clause" ]
null
null
null
examples/Text/RandomText.py
pepsipepsi/nodebox_opengl_python3
cfb2633df1055a028672b11311603cc2241a1378
[ "BSD-3-Clause" ]
null
null
null
import os, sys sys.path.insert(0, os.path.join("..","..")) from nodebox.graphics.context import * from nodebox.graphics import * # Generate compositions using random text. font('Arial Black') def rndText(): """Returns a random string of up to 9 characters.""" t = u"" for i in range(random(10)): t...
27.409091
60
0.601161
175
1,206
4.142857
0.56
0.013793
0.052414
0.030345
0
0
0
0
0
0
0
0.066893
0.268657
1,206
44
61
27.409091
0.755102
0.323383
0
0
1
0
0.018703
0
0
0
0
0
0
1
0.074074
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ff2c7cb08fa3ad3922547a6c9cee993ae6cb5e4
515
py
Python
lomas_changes/migrations/0012_coveragemeasurement_changes_mask.py
dymaxionlabs/satlomas-back
f4568f6535755fd4a2432ecc661a264872206c6c
[ "Apache-2.0" ]
1
2021-02-18T20:11:25.000Z
2021-02-18T20:11:25.000Z
lomas_changes/migrations/0012_coveragemeasurement_changes_mask.py
dymaxionlabs/satlomas-back
f4568f6535755fd4a2432ecc661a264872206c6c
[ "Apache-2.0" ]
7
2020-06-09T14:54:43.000Z
2021-09-22T21:00:13.000Z
lomas_changes/migrations/0012_coveragemeasurement_changes_mask.py
dymaxionlabs/satlomas-back
f4568f6535755fd4a2432ecc661a264872206c6c
[ "Apache-2.0" ]
1
2020-05-08T20:42:49.000Z
2020-05-08T20:42:49.000Z
# Generated by Django 3.0.5 on 2020-04-28 02:25 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('lomas_changes', '0011_changesmask_mask'), ] operations = [ migrations.AddField( model_name='cov...
25.75
125
0.664078
59
515
5.661017
0.644068
0.071856
0.083832
0.131737
0
0
0
0
0
0
0
0.0475
0.223301
515
19
126
27.105263
0.7875
0.087379
0
0
1
0
0.192308
0.098291
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ba085ce2367ce588e284569376b847c07da71021
2,940
py
Python
pox/misc/test.py
mohangandhinani/pox
5281699490a2f75d9308df3c02c21f6c5fc596cc
[ "Apache-2.0" ]
null
null
null
pox/misc/test.py
mohangandhinani/pox
5281699490a2f75d9308df3c02c21f6c5fc596cc
[ "Apache-2.0" ]
null
null
null
pox/misc/test.py
mohangandhinani/pox
5281699490a2f75d9308df3c02c21f6c5fc596cc
[ "Apache-2.0" ]
null
null
null
""" Script created by VND - Visual Network Description (SDN version) """ from mininet.cli import CLI from mininet.link import Link, TCLink from mininet.log import setLogLevel from mininet.net import Mininet from mininet.node import Controller, RemoteController, OVSKernelSwitch, IVSSwitch, UserSwitch #...
30
94
0.589116
483
2,940
3.569358
0.271222
0.104408
0.114849
0.097448
0.25174
0.194896
0.164733
0.149652
0.100928
0.100928
0
0.168361
0.230272
2,940
97
95
30.309278
0.59346
0.05068
0
0
0
0.071429
0.363567
0
0
0
0
0
0
0
null
null
0
0.089286
null
null
0.089286
0
0
0
null
0
0
0
0
0
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
ba0a1ee258aec2cb2601121995634bdf08cba94d
1,275
py
Python
xojbackend/app/ojworkings/ojUtils.py
mazharkafi004/XOJ
834091418a7c4d008e44c3ff49df5955f38d9378
[ "MIT" ]
null
null
null
xojbackend/app/ojworkings/ojUtils.py
mazharkafi004/XOJ
834091418a7c4d008e44c3ff49df5955f38d9378
[ "MIT" ]
null
null
null
xojbackend/app/ojworkings/ojUtils.py
mazharkafi004/XOJ
834091418a7c4d008e44c3ff49df5955f38d9378
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup as bs def formToPayload(rrs,formIdName,formIdValue): """Returns form with formId of rrs response as payload dict""" # Requires requests and BeautifulSoup html = bs(rrs.content,features="html.parser") forms = html.body.findChildren('form') payload = {}...
28.333333
77
0.592157
143
1,275
5.27972
0.412587
0.111258
0.068874
0.098013
0
0
0
0
0
0
0
0.001117
0.298039
1,275
44
78
28.977273
0.842458
0.116863
0
0
0
0
0.051213
0
0
0
0
0
0
1
0.103448
false
0.068966
0.068966
0
0.241379
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ba0bf6daa9bc5480a0d2571873d874804c54073c
1,038
py
Python
vrdata/connector.py
FarukHammoud/vrdata
51564bb901a2f8d9b6a2b07d03686bab4ce0f1a9
[ "MIT" ]
null
null
null
vrdata/connector.py
FarukHammoud/vrdata
51564bb901a2f8d9b6a2b07d03686bab4ce0f1a9
[ "MIT" ]
null
null
null
vrdata/connector.py
FarukHammoud/vrdata
51564bb901a2f8d9b6a2b07d03686bab4ce0f1a9
[ "MIT" ]
null
null
null
class Connector: def __new__(self,db_name,username = None,password = None): self.db_name = db_name self.username = username self.password = password if self.username is None: self.username = input('username: ') if self.password is None: import g...
28.833333
105
0.572254
112
1,038
5.1875
0.383929
0.072289
0.034423
0.041308
0
0
0
0
0
0
0
0.001416
0.319846
1,038
35
106
29.657143
0.82153
0
0
0
0
0
0.115718
0
0
0
0
0
0
1
0.04
false
0.28
0.12
0
0.28
0.08
0
0
0
null
0
0
0
0
0
0
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
ba0d4d9c71576e99f8f8142801ddbfce89447711
425
py
Python
release_task_lock.py
bopopescu/redis-ctl
16ae59b6dfe3d62ecb59951bd81395c370b005ef
[ "MIT" ]
109
2015-02-11T03:06:09.000Z
2017-06-06T09:48:00.000Z
release_task_lock.py
bopopescu/redis-ctl
16ae59b6dfe3d62ecb59951bd81395c370b005ef
[ "MIT" ]
14
2015-04-10T02:09:21.000Z
2017-04-24T00:22:18.000Z
release_task_lock.py
bopopescu/redis-ctl
16ae59b6dfe3d62ecb59951bd81395c370b005ef
[ "MIT" ]
53
2015-03-13T15:34:34.000Z
2017-05-05T22:31:49.000Z
import config import models.base from models.task import TaskLock def main(): app = config.App(config) with app.app_context(): for lock in models.base.db.session.query(TaskLock).all(): if lock.step is not None: lock.step.complete('Force release lock') models.bas...
25
65
0.635294
57
425
4.578947
0.526316
0.153257
0.137931
0.218391
0.176245
0
0
0
0
0
0
0
0.247059
425
16
66
26.5625
0.815625
0
0
0
0
0
0.061176
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.307692
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ba10ff9e16b6ec5827a8838fa49e29a249349f35
685
bzl
Python
bazel/container_push.bzl
Wyverald/core
ee3ffaa54fa8d773716385bdbf6a39a04eebff16
[ "Apache-2.0" ]
161
2019-02-04T09:41:38.000Z
2022-03-28T14:33:22.000Z
bazel/container_push.bzl
Wyverald/core
ee3ffaa54fa8d773716385bdbf6a39a04eebff16
[ "Apache-2.0" ]
80
2019-02-06T06:35:11.000Z
2022-02-17T09:25:31.000Z
bazel/container_push.bzl
Wyverald/core
ee3ffaa54fa8d773716385bdbf6a39a04eebff16
[ "Apache-2.0" ]
48
2019-02-04T09:41:48.000Z
2022-01-26T09:45:49.000Z
load("@io_bazel_rules_docker//container:container.bzl", _container_push = "container_push") def container_push(*args, **kwargs): """Creates a script to push a container image to a Docker registry. The target name must be specified when invoking the push script.""" if "registry" in kwargs: fail( ...
36.052632
91
0.630657
78
685
5.397436
0.448718
0.185273
0.08076
0.109264
0.232779
0
0
0
0
0
0
0
0.258394
685
18
92
38.055556
0.82874
0.188321
0
0.133333
0
0
0.415751
0.086081
0
0
0
0
0
1
0.066667
true
0
0
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
ba11af493607d6cd26a0c8d58b29fbefa471b32a
1,339
py
Python
crazyflie_demo/scripts/mapping/bresenham.py
wydmynd/crazyflie_tom
0d1cc63dcd0f055d78da82515729ce2098e086cf
[ "MIT" ]
null
null
null
crazyflie_demo/scripts/mapping/bresenham.py
wydmynd/crazyflie_tom
0d1cc63dcd0f055d78da82515729ce2098e086cf
[ "MIT" ]
null
null
null
crazyflie_demo/scripts/mapping/bresenham.py
wydmynd/crazyflie_tom
0d1cc63dcd0f055d78da82515729ce2098e086cf
[ "MIT" ]
null
null
null
#!/usr/bin/env python class bresenham: def __init__(self, start, end): self.start = list(start) self.end = list(end) self.path = [] self.steep = abs(self.end[1]-self.start[1]) > abs(self.end[0]-self.start[0]) if self.steep: # print 'Steep' self.start = self.swap(self.start[0],self.start[1]) self....
18.859155
78
0.577296
247
1,339
3.080972
0.214575
0.201051
0.091984
0.063075
0.320631
0.270696
0.055191
0
0
0
0
0.062797
0.215086
1,339
70
79
19.128571
0.661275
0.046303
0
0.054054
0
0
0
0
0
0
0
0
0
1
0.054054
false
0
0
0.027027
0.108108
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ba1ff5084cc55b07fb8e2a53504815a85611304b
2,728
py
Python
xlib/qt/core/widget.py
jkennedyvz/DeepFaceLive
274c20808da089eb7fc0fc0e8abe649379a29ffe
[ "MIT" ]
null
null
null
xlib/qt/core/widget.py
jkennedyvz/DeepFaceLive
274c20808da089eb7fc0fc0e8abe649379a29ffe
[ "MIT" ]
null
null
null
xlib/qt/core/widget.py
jkennedyvz/DeepFaceLive
274c20808da089eb7fc0fc0e8abe649379a29ffe
[ "MIT" ]
null
null
null
from collections import Iterable from PySide6.QtCore import * class BlockSignals: def __init__(self, qt_widget_or_list, block_signals=True): if not isinstance(qt_widget_or_list, (tuple,list)): qt_widget_or_list = [qt_widget_or_list] self.qt_widget_or_list = qt_widget_or_list s...
30.651685
62
0.646628
351
2,728
4.675214
0.125356
0.185253
0.277879
0.102377
0.6234
0.599634
0.599634
0.599634
0.599634
0.560634
0
0.001001
0.267229
2,728
88
63
31
0.81991
0
0
0.575342
0
0
0
0
0
0
0
0
0
1
0.136986
false
0
0.027397
0
0.191781
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ba2559fd4a45b68dcee9d346a801ae6a1eb62ae4
1,432
py
Python
scripts/timeline1_parser.py
tedhchen/twitter_timeline_tools
bc21e8c7c4e976409281e2697e1ec75044648eb8
[ "MIT" ]
null
null
null
scripts/timeline1_parser.py
tedhchen/twitter_timeline_tools
bc21e8c7c4e976409281e2697e1ec75044648eb8
[ "MIT" ]
null
null
null
scripts/timeline1_parser.py
tedhchen/twitter_timeline_tools
bc21e8c7c4e976409281e2697e1ec75044648eb8
[ "MIT" ]
null
null
null
# The purpose of this script is to determine the temporal range of each identified user's timelines # Then for the ones that do not go as far back as June 2018, identify so R-based collection can be used # prep import json, os, csv, configparser from subprocess import Popen, PIPE from datetime import datetime # Readin...
29.22449
103
0.698324
217
1,432
4.552995
0.548387
0.027328
0.030364
0.034413
0
0
0
0
0
0
0
0.010906
0.167598
1,432
48
104
29.833333
0.817953
0.203212
0
0
0
0
0.077876
0
0
0
0
0
0
0
null
null
0
0.085714
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
ba273997df7711a2735b0517f6e9f3107c3f49c3
1,201
py
Python
packages/vaex-ui/vaex/ui/templates.py
cyrusradfar/vaex
6a37bd4509c9a0823b4f01075049f3331fabea77
[ "MIT" ]
2
2020-12-01T09:41:54.000Z
2020-12-13T14:10:19.000Z
packages/vaex-ui/vaex/ui/templates.py
cyrusradfar/vaex
6a37bd4509c9a0823b4f01075049f3331fabea77
[ "MIT" ]
1
2019-06-03T21:25:01.000Z
2019-06-03T21:25:01.000Z
packages/vaex-ui/vaex/ui/templates.py
cyrusradfar/vaex
6a37bd4509c9a0823b4f01075049f3331fabea77
[ "MIT" ]
null
null
null
__author__ = 'maartenbreddels' matplotlib = """import pylab import numpy as np import os import json import sys name = "{name}" if len(sys.argv) == 1 else sys.argv[1] filename_grid = name + "_grid.npy" filename_grid_vector = name + "_grid_vector.npy" filename_grid_selection = name + "_grid_selection.npy" filename_m...
26.688889
82
0.696087
185
1,201
4.345946
0.32973
0.119403
0.067164
0.067164
0.197761
0.104478
0.104478
0.104478
0
0
0
0.012708
0.14821
1,201
44
83
27.295455
0.773216
0
0
0
0
0.060606
0.96836
0.308077
0
0
0
0
0
1
0
false
0
0.151515
0
0.151515
0
0
0
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
ba287d7ed2a7d3a805ce2f7b56ebdc63a50c52bb
4,313
py
Python
h2o/custom-recipes/h2o-predict/recipe.py
gbetegon88/dataiku-contrib
4683a9e08a3706a163810bf104bf6464025e235e
[ "Apache-2.0" ]
93
2015-10-28T13:15:45.000Z
2022-03-07T01:16:24.000Z
h2o/custom-recipes/h2o-predict/recipe.py
gbetegon88/dataiku-contrib
4683a9e08a3706a163810bf104bf6464025e235e
[ "Apache-2.0" ]
130
2015-11-13T17:41:41.000Z
2022-03-30T16:37:44.000Z
h2o/custom-recipes/h2o-predict/recipe.py
gbetegon88/dataiku-contrib
4683a9e08a3706a163810bf104bf6464025e235e
[ "Apache-2.0" ]
88
2015-10-29T09:36:23.000Z
2021-12-13T20:14:08.000Z
# coding: utf-8 import dataiku from dataiku.customrecipe import * import pandas as pd import os, sys, json, h2o, re from h2o_utils import DSS_dataset_to_H2O_frame, saved_model_folder ## load model config and init H2O input_folder = dataiku.Folder(get_input_names_for_role('input_folder_containing_model')[0]) with open(...
40.688679
127
0.696267
590
4,313
4.844068
0.272881
0.058782
0.027992
0.023093
0.148355
0.058083
0.058083
0.058083
0.031491
0
0
0.008396
0.171574
4,313
105
128
41.07619
0.791492
0.053791
0
0.024096
0
0
0.207083
0.025332
0
0
0
0.009524
0
0
null
null
0
0.060241
null
null
0.120482
0
0
0
null
0
0
0
0
0
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
ba290c8bc8b873e458e79c1e8b77151076aaec9a
2,337
py
Python
tensorflow/python/kernel_tests/control_flow_util_v2_test.py
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/python/kernel_tests/control_flow_util_v2_test.py
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/python/kernel_tests/control_flow_util_v2_test.py
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 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...
35.953846
81
0.706033
309
2,337
5.038835
0.391586
0.134233
0.077071
0.061015
0.276814
0.214515
0.150289
0.084778
0
0
0
0.011653
0.192127
2,337
64
82
36.515625
0.81303
0.319213
0
0
0
0
0.005323
0
0
0
0
0
0.057143
1
0.2
false
0
0.285714
0
0.6
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ba2b7d0ac80956a0d44480b4e5daf4cbe5ec9e2e
1,682
py
Python
surveys/migrations/0018_auto_20201201_1351.py
acounsel/zwazo
beeb3591674a8290a89704e3da56aa4d425418e8
[ "MIT" ]
null
null
null
surveys/migrations/0018_auto_20201201_1351.py
acounsel/zwazo
beeb3591674a8290a89704e3da56aa4d425418e8
[ "MIT" ]
10
2019-11-25T16:54:39.000Z
2022-02-10T08:29:51.000Z
surveys/migrations/0018_auto_20201201_1351.py
acounsel/zwazo
beeb3591674a8290a89704e3da56aa4d425418e8
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2020-12-01 21:51 from django.db import migrations, models import django.db.models.deletion import zwazo.storage_backends class Migration(migrations.Migration): dependencies = [ ('surveys', '0017_auto_20190311_1715'), ] operations = [ migrations.AddField( ...
42.05
166
0.617122
179
1,682
5.664804
0.418994
0.039448
0.055227
0.086785
0.38856
0.38856
0.293886
0.293886
0.293886
0.293886
0
0.03066
0.243757
1,682
39
167
43.128205
0.766509
0.027348
0
0.333333
1
0
0.113831
0.014076
0
0
0
0
0
1
0
false
0
0.090909
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ba2e7f5f09593d129f39a2cfcd640a7eebcc6cff
1,077
py
Python
appengine/cr-buildbucket/errors.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
appengine/cr-buildbucket/errors.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
appengine/cr-buildbucket/errors.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import re BUCKET_NAME_REGEX = re.compile(r'^[0-9a-z_\.\-/]{1,100}$') class Error(Exception): pass class BuildNotFoundError(Error): pass class Buil...
26.268293
72
0.727948
145
1,077
5.310345
0.565517
0.090909
0.058442
0.088312
0
0
0
0
0
0
0
0.011186
0.169916
1,077
40
73
26.925
0.850112
0.339833
0
0.210526
0
0
0.188953
0.03343
0
0
0
0
0
1
0.052632
false
0.105263
0.052632
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
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