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
00738c81acf3d21f96cf5541abd3f0a6c48b917d
420
py
Python
875. Koko Eating Bananas.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
875. Koko Eating Bananas.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
875. Koko Eating Bananas.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
class Solution: def minEatingSpeed(self, piles: List[int], H: int) -> int: l, r = 1, max(piles) while l < r: m = l + (r-l) // 2 time = sum([math.ceil(i/m) for i in piles]) if time > H: l = m + 1 else: r = m retur...
30
84
0.464286
67
420
2.910448
0.61194
0.030769
0
0
0
0
0
0
0
0
0
0.016327
0.416667
420
14
85
30
0.779592
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0073b0003e3ebb1ae040dc6019c2244dd1bfce9f
562
py
Python
cli/setup.py
Stanford-IoT-Lab/thingengine-platform-cloud
de8610ab21198edb16d215d611e0c0b1df302e2c
[ "Apache-2.0" ]
63
2018-07-14T12:01:45.000Z
2019-04-09T05:47:50.000Z
cli/setup.py
Stanford-Mobisocial-IoT-Lab/almond-cloud
de8610ab21198edb16d215d611e0c0b1df302e2c
[ "Apache-2.0" ]
227
2018-06-04T16:29:48.000Z
2019-04-10T18:22:22.000Z
cli/setup.py
Stanford-IoT-Lab/thingengine-platform-cloud
de8610ab21198edb16d215d611e0c0b1df302e2c
[ "Apache-2.0" ]
6
2021-11-25T13:43:57.000Z
2022-03-03T16:38:19.000Z
import setuptools setuptools.setup( name="almond-cloud-cli", version="0.0.0", author="Stanford OVAL", author_email="thingpedia-admins@lists.stanford.edu", description="Command Line Interface (CLI) for Almond Cloud development and deployment", url="https://github.com/stanford-oval/almond-cloud",...
26.761905
91
0.633452
68
562
5.176471
0.705882
0.125
0
0
0
0
0
0
0
0
0
0.042129
0.197509
562
20
92
28.1
0.738359
0
0
0.105263
0
0
0.466192
0.104982
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
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
0078a79651ad4a37ba07af625d7f0ed91de39f9f
650
py
Python
setup.py
JoshPiper/Python-InterWorkshop
1148b927afe27273f7daf25b09a3c55977c641be
[ "MIT" ]
null
null
null
setup.py
JoshPiper/Python-InterWorkshop
1148b927afe27273f7daf25b09a3c55977c641be
[ "MIT" ]
null
null
null
setup.py
JoshPiper/Python-InterWorkshop
1148b927afe27273f7daf25b09a3c55977c641be
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='InterWorkshop', version='1.0.0.dev1', packages=['gmad', 'workshop'], url='doctor-internet.dev', license='MIT', author='John Internet', author_email='jonjon1234.github@gmail.com', description='A Python binding for the Steam Workshop API', ins...
25
62
0.550769
86
650
4.139535
0.72093
0.011236
0
0
0
0
0
0
0
0
0
0.103093
0.253846
650
25
63
26
0.630928
0
0
0
0
0
0.484615
0.107692
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
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
008a818651448e80ede7444c904ec64b41cdf9dc
2,763
py
Python
tools/dockerize/webportal/usr/share/openstack-dashboard/openstack_dashboard/backend.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
1
2019-09-11T11:56:19.000Z
2019-09-11T11:56:19.000Z
tools/dockerize/webportal/usr/share/openstack-dashboard/openstack_dashboard/backend.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
null
null
null
tools/dockerize/webportal/usr/share/openstack-dashboard/openstack_dashboard/backend.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
null
null
null
import logging from django.conf import settings from django.utils.translation import ugettext_lazy as _ from keystoneclient import exceptions as keystone_exceptions from .exceptions import KeystoneAuthException from .user import Token from .user import AuthUser from .utils import get_keystone_client from .utils impor...
36.355263
82
0.626855
329
2,763
5.142857
0.340426
0.024823
0.026596
0.031915
0.028369
0
0
0
0
0
0
0
0.287007
2,763
75
83
36.84
0.858883
0.203764
0
0.042553
0
0
0.077143
0
0
0
0
0
0
1
0.085106
false
0.06383
0.234043
0
0.489362
0
0
0
0
null
0
0
0
0
0
0
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
008dea6297a00a2a7baea385c4d7777b91f522e7
3,385
py
Python
container-applications/classified/app.py
emerginganalytics/ualr-cyber-gym
1156bc2c85c17af02da048f40b2be875f89db0ce
[ "MIT" ]
3
2020-09-02T19:18:03.000Z
2021-04-29T20:23:01.000Z
container-applications/classified/app.py
emerginganalytics/ualr-cyber-gym
1156bc2c85c17af02da048f40b2be875f89db0ce
[ "MIT" ]
26
2021-12-23T19:37:27.000Z
2022-03-28T04:03:41.000Z
container-applications/classified/app.py
emerginganalytics/cyberarena
311d179a30017285571f65752eaa91b78c7097aa
[ "MIT" ]
4
2020-11-20T20:38:49.000Z
2021-04-29T20:23:12.000Z
import base64 import onetimepass import os from flask import abort, Flask, redirect from flask_bootstrap import Bootstrap from flask_login import LoginManager, UserMixin from flask_sqlalchemy import SQLAlchemy from globals import ds_client from werkzeug.security import check_password_hash, generate_password_hash # App...
31.055046
113
0.718168
459
3,385
5.061002
0.320261
0.034869
0.051657
0.047353
0.027551
0
0
0
0
0
0
0.011819
0.175185
3,385
108
114
31.342593
0.820201
0.120532
0
0
0
0
0.11502
0.037212
0
0
0
0
0
1
0.108108
false
0.148649
0.202703
0.040541
0.472973
0.081081
0
0
0
null
0
0
0
0
0
0
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
0091802426c2077628c7833c451ff0614032fab3
1,278
py
Python
blog/migrations/0001_initial.py
alireza-fm/MySite
7c73500d893a563c6dde6b9e8286123cb676f608
[ "MIT" ]
null
null
null
blog/migrations/0001_initial.py
alireza-fm/MySite
7c73500d893a563c6dde6b9e8286123cb676f608
[ "MIT" ]
null
null
null
blog/migrations/0001_initial.py
alireza-fm/MySite
7c73500d893a563c6dde6b9e8286123cb676f608
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2021-04-12 09:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Author', fields=[ ...
34.540541
121
0.567293
129
1,278
5.465116
0.496124
0.051064
0.076596
0.102128
0.300709
0.224113
0.224113
0.224113
0.224113
0.224113
0
0.028761
0.292645
1,278
36
122
35.5
0.751106
0.035211
0
0.344828
1
0
0.092608
0
0
0
0
0
0
1
0
false
0
0.068966
0
0.206897
0
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
009ab7ef9e163b1812e8dc1afeeb044f72fb0def
2,599
py
Python
linux_plex_updater/api/PlexClient.py
amickael/Linux-Plex-Updater
a74dc480d374daf52ee4cc09b40ea34b9e6ffcd4
[ "MIT" ]
null
null
null
linux_plex_updater/api/PlexClient.py
amickael/Linux-Plex-Updater
a74dc480d374daf52ee4cc09b40ea34b9e6ffcd4
[ "MIT" ]
null
null
null
linux_plex_updater/api/PlexClient.py
amickael/Linux-Plex-Updater
a74dc480d374daf52ee4cc09b40ea34b9e6ffcd4
[ "MIT" ]
null
null
null
import os import uuid import logging import requests import linux_plex_updater class PlexClient: def __init__( self, username: str, password: str, host: str, port: int, ): self.identifier = uuid.uuid4() self.username = username self.password = password self.auth_token...
31.695122
84
0.543286
298
2,599
4.627517
0.395973
0.065265
0.02393
0.024656
0.062364
0.039159
0
0
0
0
0
0.004147
0.350519
2,599
81
85
32.08642
0.812796
0.1212
0
0.177419
0
0
0.130989
0.033407
0
0
0
0
0
1
0.048387
false
0.064516
0.080645
0
0.225806
0
0
0
0
null
0
0
0
0
0
0
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
009bac159bc1f3df812657b87e17ca1b95154961
1,198
py
Python
2020/02/day02.py
GeoffRiley/AdventOfCode
27fe8670a1923cb3b0675784f5e855ad18c29c93
[ "Unlicense" ]
2
2020-12-12T03:18:45.000Z
2021-12-17T00:35:33.000Z
2020/02/day02.py
GeoffRiley/AdventOfCode
27fe8670a1923cb3b0675784f5e855ad18c29c93
[ "Unlicense" ]
null
null
null
2020/02/day02.py
GeoffRiley/AdventOfCode
27fe8670a1923cb3b0675784f5e855ad18c29c93
[ "Unlicense" ]
null
null
null
from typing import Tuple def process_line(line: str) -> Tuple[int, int, str, str]: parts, pwd = line.split(':') rng, letter = parts.split() lo, hi = map(int, rng.split('-')) return lo, hi, letter, pwd def verify_passwords_part1(text: str) -> int: password_list = map(process_line, text.splitlines...
29.219512
70
0.621035
161
1,198
4.440994
0.372671
0.125874
0.041958
0.054545
0.318881
0.318881
0.318881
0.318881
0.318881
0.318881
0
0.031042
0.247078
1,198
40
71
29.95
0.761641
0.017529
0
0.214286
0
0
0.075809
0
0
0
0
0
0.071429
1
0.107143
false
0.357143
0.035714
0
0.25
0.071429
0
0
0
null
0
0
0
0
0
0
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
00a4a64635433c1cf08ad0404b8152fdfe3d99b0
1,135
py
Python
solutions/014_longest_common_prefix.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
solutions/014_longest_common_prefix.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
solutions/014_longest_common_prefix.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
# Write a function to find the longest common prefix string amongst an array of strings. class Solution: # @param {string[]} strs # @return {string} def longestCommonPrefix(self, strs): if not strs: return "" lcp = "" base = strs[0] for i in range(len(base)): ...
24.673913
89
0.370925
130
1,135
3.238462
0.369231
0.149644
0.038005
0.047506
0.052257
0
0
0
0
0
0
0.021583
0.510132
1,135
45
90
25.222222
0.735612
0.456388
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00aba24aee4c502be06d405dcba8e80da329d725
689
py
Python
apps/website/models/comments.py
shubham-thakare/tech-blog
d83cc9ad685f038e249d8ba6e54b6a2c07159e8b
[ "Apache-2.0" ]
null
null
null
apps/website/models/comments.py
shubham-thakare/tech-blog
d83cc9ad685f038e249d8ba6e54b6a2c07159e8b
[ "Apache-2.0" ]
8
2020-12-30T09:23:00.000Z
2022-03-12T00:53:09.000Z
apps/website/models/comments.py
shubham-thakare/tech-blog
d83cc9ad685f038e249d8ba6e54b6a2c07159e8b
[ "Apache-2.0" ]
null
null
null
from django.db import models from apps.website.models.article import Article STATUS_CHOICES = ( ("SH", "Show"), ("HD", "Hide"), ) class Comments(models.Model): article = models.ForeignKey(Article, on_delete=models.CASCADE) name = models.CharField(max_length=50, null=False) email = models.CharFie...
27.56
67
0.677794
85
689
5.305882
0.541176
0.079823
0.079823
0.10643
0.155211
0.155211
0.155211
0
0
0
0
0.016484
0.207547
689
24
68
28.708333
0.809524
0
0
0
0
0
0.03193
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
00b576f4bc9ac7848df5c272c6d7d4dc76746aa2
775
py
Python
Python3/32.longest-valid-parentheses.py
610yilingliu/leetcode
30d071b3685c2131bd3462ba77c6c05114f3f227
[ "MIT" ]
null
null
null
Python3/32.longest-valid-parentheses.py
610yilingliu/leetcode
30d071b3685c2131bd3462ba77c6c05114f3f227
[ "MIT" ]
null
null
null
Python3/32.longest-valid-parentheses.py
610yilingliu/leetcode
30d071b3685c2131bd3462ba77c6c05114f3f227
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=32 lang=python3 # # [32] Longest Valid Parentheses # # @lc code=start class Solution: def longestValidParentheses(self, s): if not s: return 0 l = 0 r = len(s) while s[r - 1] == '(' and r > 0: r -= 1 while s[l] == ')' and l < r...
21.527778
47
0.370323
95
775
3.021053
0.442105
0.041812
0.083624
0
0
0
0
0
0
0
0
0.044041
0.501935
775
35
48
22.142857
0.699482
0.12129
0
0.16
0
0
0.005952
0
0
0
0
0
0
1
0.04
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00bfc4b5c3d5225f29b3444a9081819c3c897810
300
py
Python
tests/test_engines.py
whitegreyblack/Spaceship
84bb4e64753b7957639d100d157adcaadcf0269a
[ "MIT" ]
1
2018-03-29T14:32:14.000Z
2018-03-29T14:32:14.000Z
tests/test_engines.py
whitegreyblack/Spaceship
84bb4e64753b7957639d100d157adcaadcf0269a
[ "MIT" ]
null
null
null
tests/test_engines.py
whitegreyblack/Spaceship
84bb4e64753b7957639d100d157adcaadcf0269a
[ "MIT" ]
null
null
null
from bearlibterminal import terminal as term from spaceship.engine import Engine from spaceship.menus.main import Main def test_engine_init(): e = Engine() assert isinstance(e.scene, Main) def test_engine_run(): e = Engine() e.run() if __name__ == "__main__": test_engine_run()
21.428571
44
0.72
42
300
4.809524
0.47619
0.148515
0.108911
0.168317
0
0
0
0
0
0
0
0
0.183333
300
14
45
21.428571
0.82449
0
0
0.181818
0
0
0.026578
0
0
0
0
0
0.090909
1
0.181818
false
0
0.272727
0
0.454545
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
00bff7fe5160a73a6f66ed15b5bf44572080d140
550
py
Python
src/models/__init__.py
andrew-chang-dewitt/hoops-api
3530c5127c35742aad84df8d6a5286b9f5ad3608
[ "MIT" ]
null
null
null
src/models/__init__.py
andrew-chang-dewitt/hoops-api
3530c5127c35742aad84df8d6a5286b9f5ad3608
[ "MIT" ]
10
2021-11-02T23:31:56.000Z
2021-12-07T03:41:12.000Z
src/models/__init__.py
andrew-chang-dewitt/hoops
3530c5127c35742aad84df8d6a5286b9f5ad3608
[ "MIT" ]
null
null
null
"""Data model objects.""" from .account import ( AccountChanges, AccountIn, AccountModel, AccountNew, AccountOut, ) from .balance import ( Balance, BalanceModel ) from .envelope import ( EnvelopeChanges, EnvelopeIn, EnvelopeModel, EnvelopeNew, EnvelopeOut, ) from .transa...
14.864865
26
0.654545
43
550
8.372093
0.72093
0
0
0
0
0
0
0
0
0
0
0
0.261818
550
36
27
15.277778
0.8867
0.034545
0
0
0
0
0
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
00c9aa9dfbb43b837e29a51f07d81915a2932e4c
1,169
py
Python
crawler_exercises/login_and_post_douban.py
Andrewpqc/Python_Ex
6f1770f2c209d4510696bcbca92ee9f31b9d169b
[ "MIT" ]
null
null
null
crawler_exercises/login_and_post_douban.py
Andrewpqc/Python_Ex
6f1770f2c209d4510696bcbca92ee9f31b9d169b
[ "MIT" ]
null
null
null
crawler_exercises/login_and_post_douban.py
Andrewpqc/Python_Ex
6f1770f2c209d4510696bcbca92ee9f31b9d169b
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from time import sleep driver=webdriver.PhantomJS(executable_path="/usr/loc...
34.382353
70
0.747648
160
1,169
5.25625
0.44375
0.071344
0.10107
0.112961
0.204518
0.204518
0.080856
0
0
0
0
0.020649
0.130026
1,169
33
71
35.424242
0.806293
0.024808
0
0.066667
0
0
0.176626
0.02109
0
0
0
0
0
1
0
false
0.066667
0.2
0
0.2
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
00ca24947cee8a1a2439a79d5466fe74729b844c
10,276
py
Python
Backend/Common/GenPCCToBase.py
Errare-humanum-est/HeteroGen
600a7bde441cc1365a465746e15564bd8de8fc37
[ "MIT" ]
1
2022-01-12T15:52:07.000Z
2022-01-12T15:52:07.000Z
Backend/Common/GenPCCToBase.py
Errare-humanum-est/HeteroGen
600a7bde441cc1365a465746e15564bd8de8fc37
[ "MIT" ]
null
null
null
Backend/Common/GenPCCToBase.py
Errare-humanum-est/HeteroGen
600a7bde441cc1365a465746e15564bd8de8fc37
[ "MIT" ]
1
2021-12-14T18:03:37.000Z
2021-12-14T18:03:37.000Z
# Copyright (c) 2021. Nicolai Oswald # Copyright (c) 2021. University of Edinburgh # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above co...
35.680556
104
0.681004
1,295
10,276
5.261776
0.193822
0.038744
0.11359
0.049897
0.430144
0.354564
0.279131
0.172439
0.162753
0.123863
0
0.001008
0.227326
10,276
287
105
35.804878
0.857179
0.325321
0
0.326797
0
0
0.238815
0.003207
0
0
0
0
0
1
0.300654
false
0
0.019608
0.006536
0.366013
0
0
0
0
null
0
0
0
0
0
0
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
00ccbb7313e05ec04674c15184318d056bc5b17c
406
py
Python
setup.py
DSAutomations/py-parsehub
571a024a5bfff4521bd3076c27bbb29f54b10cfb
[ "BSD-2-Clause" ]
40
2015-04-19T16:00:29.000Z
2022-02-08T12:16:01.000Z
setup.py
DSAutomations/py-parsehub
571a024a5bfff4521bd3076c27bbb29f54b10cfb
[ "BSD-2-Clause" ]
4
2015-04-15T12:02:19.000Z
2021-09-14T10:52:59.000Z
setup.py
DSAutomations/py-parsehub
571a024a5bfff4521bd3076c27bbb29f54b10cfb
[ "BSD-2-Clause" ]
27
2016-01-06T15:40:52.000Z
2022-02-25T22:57:51.000Z
from setuptools import find_packages, setup setup(name="py-parsehub", version="0.1", description="Python3 module for interaction with Parsehub API", author="Viktor Hronec", author_email='zamr666@gmail.com', platforms=["linux"], license="BSD", url="https://github.com/hronecvikt...
31.230769
69
0.667488
46
406
5.804348
0.804348
0.089888
0
0
0
0
0
0
0
0
0
0.021341
0.192118
406
12
70
33.833333
0.792683
0
0
0
0
0
0.369458
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
00d1f91492275ed8dc0b61d1536d8209b92874ca
130
py
Python
define.py
qinflying/kivy_2048
f3688b95382806928ea28acc8491202454cf209d
[ "MIT" ]
1
2021-05-06T08:55:57.000Z
2021-05-06T08:55:57.000Z
define.py
qinflying/kivy_2048
f3688b95382806928ea28acc8491202454cf209d
[ "MIT" ]
null
null
null
define.py
qinflying/kivy_2048
f3688b95382806928ea28acc8491202454cf209d
[ "MIT" ]
null
null
null
#-*- coding:utf-8 -*- #宏定义 #字体 FONT_COMMON = "Roboto" FONT_HEI = "FontHei" #界面 START_MENU = "startmenu" PLAY_MENU = "playmenu"
10.833333
24
0.653846
18
130
4.5
0.888889
0
0
0
0
0
0
0
0
0
0
0.009174
0.161538
130
11
25
11.818182
0.733945
0.207692
0
0
0
0
0.30303
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00dc801c3e992608515714962e0e20d6d05ab2d5
726
py
Python
django/BankAccount/base/migrations/0003_auto_20220309_2048.py
akrysmalski/BankAccount
b1cf04cdadeea8de1e5291bac5c5103f9d64e4c2
[ "MIT" ]
null
null
null
django/BankAccount/base/migrations/0003_auto_20220309_2048.py
akrysmalski/BankAccount
b1cf04cdadeea8de1e5291bac5c5103f9d64e4c2
[ "MIT" ]
null
null
null
django/BankAccount/base/migrations/0003_auto_20220309_2048.py
akrysmalski/BankAccount
b1cf04cdadeea8de1e5291bac5c5103f9d64e4c2
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2022-03-09 19:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('base', '0002_auto_20220309_1545'), ] operations = [ migrations.AlterField( model_name='user', name='date_of_birth', ...
25.928571
93
0.585399
74
726
5.581081
0.635135
0.058111
0.121065
0.140436
0.179177
0.179177
0
0
0
0
0
0.062992
0.300275
726
27
94
26.888889
0.75
0.059229
0
0.333333
1
0
0.139501
0.033774
0
0
0
0
0
1
0
false
0
0.047619
0
0.190476
0
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
00e5b4dea6dbf4c8dc2360827ea892454cd7efc3
485
py
Python
src/test/test_FPGAVisual.py
ComputerArchitectureGroupPWr/Simulio
652a56138388d436ef1cd3f36eb2e288cedfbaac
[ "MIT" ]
null
null
null
src/test/test_FPGAVisual.py
ComputerArchitectureGroupPWr/Simulio
652a56138388d436ef1cd3f36eb2e288cedfbaac
[ "MIT" ]
null
null
null
src/test/test_FPGAVisual.py
ComputerArchitectureGroupPWr/Simulio
652a56138388d436ef1cd3f36eb2e288cedfbaac
[ "MIT" ]
null
null
null
from unittest import TestCase from src.main.fpgavisio import FPGAVisual __author__ = 'pawel' class TestFPGAVisual(TestCase): def test_make_simulation_movie(self): visualisation = FPGAVisual('../data/final.csv') visualisation.make_simulation_movie('../data/content.gif') def test_make_simulati...
34.642857
86
0.738144
57
485
5.982456
0.526316
0.164223
0.222874
0.123167
0.357771
0
0
0
0
0
0
0.014388
0.140206
485
14
86
34.642857
0.803357
0
0
0
0
0
0.168724
0.047325
0
0
0
0
0
1
0.2
false
0
0.2
0
0.5
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
00e6703921ba353cbbd96467c0dd186d2b4f30b5
1,181
py
Python
dbms/util.py
CanburakTumer/youtube_examples
ef41c88a8d8997628d54c4f7ef75c40e0794e544
[ "Unlicense" ]
null
null
null
dbms/util.py
CanburakTumer/youtube_examples
ef41c88a8d8997628d54c4f7ef75c40e0794e544
[ "Unlicense" ]
null
null
null
dbms/util.py
CanburakTumer/youtube_examples
ef41c88a8d8997628d54c4f7ef75c40e0794e544
[ "Unlicense" ]
null
null
null
import logging import os import json from errors import throw_input_data_is_corrupted, throw_table_does_not_exist DATA_FILE_SUFFIX = '.db' def generate_data_file_name(table): return table+DATA_FILE_SUFFIX def get_table_name_from_data_file(data_file): return data_file.replace(DATA_FILE_SUFFIX,'') def split_d...
28.804878
76
0.731583
184
1,181
4.293478
0.26087
0.162025
0.091139
0.101266
0.446835
0.263291
0.263291
0.263291
0.263291
0.263291
0
0.003096
0.179509
1,181
41
77
28.804878
0.812178
0
0
0.1875
1
0
0.005076
0
0
0
0
0
0
1
0.1875
false
0
0.125
0.0625
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00ea0046e55ca33ff7a9bae1c1fae1d608a0a97c
7,096
py
Python
recsys/models.py
JustinL42/django-polls
51a916281372d21541aa53d03c1ddbe1aab4c0e6
[ "FSFAP" ]
null
null
null
recsys/models.py
JustinL42/django-polls
51a916281372d21541aa53d03c1ddbe1aab4c0e6
[ "FSFAP" ]
null
null
null
recsys/models.py
JustinL42/django-polls
51a916281372d21541aa53d03c1ddbe1aab4c0e6
[ "FSFAP" ]
null
null
null
from django.db import models from django.conf import settings from django.contrib.postgres.search import SearchVectorField from django.contrib.auth.models import AbstractUser from django.utils import timezone # BOOK-RELATED MODELS class Books(models.Model): title = models.CharField(max_length=5125) year...
30.454936
98
0.63867
782
7,096
5.602302
0.190537
0.040173
0.082173
0.109564
0.530472
0.444647
0.345127
0.238302
0.178042
0.13239
0
0.016021
0.243517
7,096
233
99
30.454936
0.800112
0.006342
0
0.324324
0
0
0.061054
0.013631
0
0
0
0
0
1
0.059459
false
0
0.027027
0.054054
0.583784
0
0
0
0
null
0
0
0
0
0
0
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
00ed0e41f58d272b4f5fbde370d7cd8820dcbbe0
1,267
py
Python
lambda/service_call.py
binxio/blog-lambda-python-37-runtime
bd4c228f0aee64a0ae5d5a6287c530be834fe930
[ "Apache-2.0" ]
null
null
null
lambda/service_call.py
binxio/blog-lambda-python-37-runtime
bd4c228f0aee64a0ae5d5a6287c530be834fe930
[ "Apache-2.0" ]
null
null
null
lambda/service_call.py
binxio/blog-lambda-python-37-runtime
bd4c228f0aee64a0ae5d5a6287c530be834fe930
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import requests from requests.auth import HTTPBasicAuth from dataclasses import dataclass, asdict from mashumaro import DataClassJSONMixin @dataclass class Response(DataClassJSONMixin): statusCode: int = 200 body: str = '' @classmethod def of(cls, status_code: int, ...
25.857143
83
0.652723
150
1,267
5.44
0.42
0.036765
0.041667
0.044118
0.058824
0
0
0
0
0
0
0.010183
0.224941
1,267
48
84
26.395833
0.820774
0
0
0.166667
0
0
0.115415
0
0
0
0
0
0
1
0.111111
false
0.027778
0.138889
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
0
0
0
0
0
1
0
0
1
da95be5babfdde657883095792e6a4be8756acdb
1,756
py
Python
core/classes/session_user.py
taimaskhanov11/AsyncVkAccount
58c48886545aa581eb28a1071d52e0a60aa1b8ea
[ "MIT" ]
1
2021-12-26T20:40:39.000Z
2021-12-26T20:40:39.000Z
core/classes/session_user.py
taimaskhanov11/AsyncVkAccount
58c48886545aa581eb28a1071d52e0a60aa1b8ea
[ "MIT" ]
1
2021-12-03T18:38:38.000Z
2021-12-03T18:39:08.000Z
core/classes/session_user.py
taimaskhanov11/AsyncVkAccount
58c48886545aa581eb28a1071d52e0a60aa1b8ea
[ "MIT" ]
null
null
null
import asyncio from pydantic import BaseModel # from base_user import BaseUser class New(BaseModel): name: str # class SessionUser(BaseModel): # user_id: int # text: str = Field() # overlord: New # # def __init__(self, **data): # print(data) # super().__init__(**data) # ...
21.414634
105
0.56549
209
1,756
4.478469
0.334928
0.064103
0.064103
0.051282
0.044872
0
0
0
0
0
0
0.007389
0.306378
1,756
81
106
21.679012
0.761084
0.523349
0
0.083333
0
0
0.017522
0
0
0
0
0
0
1
0.083333
false
0.083333
0.083333
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
0
0
1
0
0
0
0
0
1
da9c744f01492e5c7e07b094dd505208cdc0b47e
537
py
Python
searching/migrations/0005_search_bgetbuyitnows.py
netvigator/auctions
f88bcce800b60083a5d1a6f272c51bb540b8342a
[ "MIT" ]
null
null
null
searching/migrations/0005_search_bgetbuyitnows.py
netvigator/auctions
f88bcce800b60083a5d1a6f272c51bb540b8342a
[ "MIT" ]
13
2019-12-12T03:07:55.000Z
2022-03-07T12:59:27.000Z
searching/migrations/0005_search_bgetbuyitnows.py
netvigator/auctions
f88bcce800b60083a5d1a6f272c51bb540b8342a
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2020-04-19 21:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('searching', '0004_auto_20200104_2144'), ] operations = [ migrations.AddField( model_name='search', name='bGetBuyItN...
28.263158
193
0.653631
63
537
5.47619
0.825397
0
0
0
0
0
0
0
0
0
0
0.078624
0.242086
537
18
194
29.833333
0.769042
0.085661
0
0
1
0
0.319018
0.047035
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
daa1f514679ab242d2a6df6cf2b6146741fbf4e7
917
py
Python
Dataset/Leetcode/train/101/271.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/101/271.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/101/271.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, root: TreeNode) -> bool: if not root: return 1 == 1 # 先记录先序遍历,再翻转二叉树然后再记录先序遍历。当没有叶子节点时添加标记'a' def dfs(res, root): if not root: res.append('a') return res.append(root.val) dfs(res, ...
23.512821
49
0.40349
97
917
3.814433
0.391753
0.086486
0.081081
0
0
0
0
0
0
0
0
0.02381
0.496183
917
38
50
24.131579
0.777056
0.075245
0
0.071429
0
0
0.001189
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
daa95a28c8c759904d3dbb59300973720b82f5b8
4,698
py
Python
tests/users_tests/test_users_views.py
TomerNewmanPrograms/ResuMe
9d9b7369625fcb044f91cde86c85c91fdaf44ddd
[ "MIT" ]
null
null
null
tests/users_tests/test_users_views.py
TomerNewmanPrograms/ResuMe
9d9b7369625fcb044f91cde86c85c91fdaf44ddd
[ "MIT" ]
null
null
null
tests/users_tests/test_users_views.py
TomerNewmanPrograms/ResuMe
9d9b7369625fcb044f91cde86c85c91fdaf44ddd
[ "MIT" ]
null
null
null
import pytest from django.contrib.auth.models import User from pytest_django.asserts import assertTemplateUsed from conftest import USERNAME, PASSWORD def save_user(user): try: user = User.objects.get(username=USERNAME) return user except User.DoesNotExist: user.save() return u...
45.61165
97
0.668795
554
4,698
5.453069
0.15704
0.064879
0.073155
0.095333
0.66137
0.638861
0.595167
0.533598
0.519695
0.490897
0
0.014107
0.215411
4,698
102
98
46.058824
0.80548
0
0
0.505747
0
0
0.157514
0.05662
0
0
0
0
0.333333
1
0.149425
false
0.114943
0.045977
0
0.229885
0
0
0
0
null
0
0
0
0
0
0
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
dab78077040f1edc2ea23fae35c8547666d9c63a
614
py
Python
examples/client.py
zaibon/tcprouter
7e9d2590e1b1d9d984ac742bd82fcbcf3d42b3ef
[ "BSD-3-Clause" ]
1
2020-02-01T22:45:55.000Z
2020-02-01T22:45:55.000Z
examples/client.py
zaibon/tcprouter
7e9d2590e1b1d9d984ac742bd82fcbcf3d42b3ef
[ "BSD-3-Clause" ]
1
2020-03-29T10:43:36.000Z
2020-03-31T20:28:46.000Z
examples/client.py
xmonader/eltcprouter
b3435733d102c2435e9f62aa469d34c475cc31bd
[ "BSD-3-Clause" ]
null
null
null
import time from gevent import ssl, socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # Require a certificate from the server. We used a self-signed certificate # so here ca_certs must be the server certificate itself. ssl_sock = ssl.wrap_socket(s, ca_certs="server.crt", ...
26.695652
74
0.688925
91
614
4.494505
0.571429
0.119804
0.06846
0.112469
0
0
0
0
0
0
0
0.026585
0.203583
614
22
75
27.909091
0.809816
0.270358
0
0
0
0
0.128378
0
0
0
0
0
0
1
0
false
0.076923
0.153846
0
0.153846
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
dab79e408effc769352f1485a0d9ecff9c84bf00
456
py
Python
channel-api/src/processors/callback_delivery/__init__.py
xcantera/demo-provide-baseline
985f391973fa6ca0761104b55077fded28f152fc
[ "CC0-1.0" ]
3
2020-11-17T23:19:20.000Z
2021-03-29T15:08:56.000Z
channel-api/src/processors/callback_delivery/__init__.py
xcantera/demo-provide-baseline
985f391973fa6ca0761104b55077fded28f152fc
[ "CC0-1.0" ]
null
null
null
channel-api/src/processors/callback_delivery/__init__.py
xcantera/demo-provide-baseline
985f391973fa6ca0761104b55077fded28f152fc
[ "CC0-1.0" ]
1
2020-12-11T00:26:33.000Z
2020-12-11T00:26:33.000Z
from box import Box from src import repos from src.processors import SelfIteratingProcessor from src.processors import use_cases def CallbackDelivery(config: Box = None): use_case = use_cases.DeliverCallbackUseCase( delivery_outbox_repo=repos.DeliveryOutbox(config.DELIVERY_OUTBOX_REPO), topic_base...
32.571429
79
0.796053
58
456
5.965517
0.431034
0.060694
0.098266
0.132948
0
0
0
0
0
0
0
0
0.149123
456
13
80
35.076923
0.891753
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
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
1
0
0
0
0
1
dab9892833bda504359a291b6b5f769751e715b8
1,156
py
Python
app/models.py
Nasfame/Mobile-Wallet
3925e4ecdf2c19aff248615cc580459c6360c542
[ "MIT" ]
null
null
null
app/models.py
Nasfame/Mobile-Wallet
3925e4ecdf2c19aff248615cc580459c6360c542
[ "MIT" ]
null
null
null
app/models.py
Nasfame/Mobile-Wallet
3925e4ecdf2c19aff248615cc580459c6360c542
[ "MIT" ]
null
null
null
from datetime import datetime from flask_login import UserMixin from pytz import timezone from . import db def time_now(): IST = timezone('Asia/Kolkata') return datetime.now(IST) class User(db.Model, UserMixin): __tablename__ = "user" id = db.Column(db.Integer, primary_key=True) username = db....
31.243243
108
0.673875
166
1,156
4.548193
0.36747
0.095364
0.119205
0.063576
0.315232
0.270199
0.270199
0.18543
0.098013
0
0
0.010493
0.175606
1,156
36
109
32.111111
0.781742
0.08045
0
0.083333
0
0
0.084906
0
0
0
0
0
0
1
0.083333
false
0.041667
0.166667
0.041667
0.875
0
0
0
0
null
0
0
0
0
0
0
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
dac1ffbe25721d0c8528d32f8490678e6e7037d9
3,916
py
Python
ui/views.py
h2020-westlife-eu/VRE
a85d5370767939b1971415be48a551ae6b1edc5d
[ "MIT" ]
1
2016-06-28T13:13:27.000Z
2016-06-28T13:13:27.000Z
ui/views.py
h2020-westlife-eu/VRE
a85d5370767939b1971415be48a551ae6b1edc5d
[ "MIT" ]
12
2016-06-28T11:19:46.000Z
2017-05-05T14:24:14.000Z
ui/views.py
h2020-westlife-eu/VRE
a85d5370767939b1971415be48a551ae6b1edc5d
[ "MIT" ]
null
null
null
import os from django.conf import settings from django.contrib.auth import logout as django_logout from django.contrib.sites.models import Site from django.http import HttpResponse from django.shortcuts import render, redirect from django.views.generic import View, TemplateView from luna_django_commons.app.mixins imp...
29.666667
92
0.681052
423
3,916
6.111111
0.392435
0.029787
0.029014
0.034043
0.162089
0.148936
0.105609
0.105609
0.105609
0.105609
0
0.002289
0.219101
3,916
131
93
29.89313
0.843035
0.048008
0
0.065934
0
0
0.185757
0.081235
0
0
0
0
0
1
0.10989
false
0.065934
0.098901
0.010989
0.395604
0
0
0
0
null
0
0
0
0
0
0
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
dacf0cdfdc178f92920d8a19a952f18d560dafb4
21,968
py
Python
digsby/src/plugins/facebook/facebookprotocol.py
ifwe/digsby
f5fe00244744aa131e07f09348d10563f3d8fa99
[ "Python-2.0" ]
35
2015-08-15T14:32:38.000Z
2021-12-09T16:21:26.000Z
digsby/src/plugins/facebook/facebookprotocol.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
4
2015-09-12T10:42:57.000Z
2017-02-27T04:05:51.000Z
digsby/src/plugins/facebook/facebookprotocol.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
15
2015-07-10T23:58:07.000Z
2022-01-23T22:16:33.000Z
from util.callbacks import callsback from util.threads.timeout_thread import Timer from util.primitives import Storage as S from traceback import print_exc import util.primitives.structures as structures from .fbutil import trim_profiles, extract_profile_ids import traceback import simplejson import facebookapi import ...
49.927273
364
0.588219
2,644
21,968
4.660363
0.147504
0.03652
0.024996
0.014608
0.317887
0.243629
0.197614
0.144132
0.142672
0.127901
0
0.006524
0.309223
21,968
439
365
50.041002
0.80547
0.122269
0
0.158501
0
0.025937
0.185257
0.015025
0.002882
0
0
0.002278
0
0
null
null
0
0.07781
null
null
0.011527
0
0
0
null
0
0
0
0
0
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
dacfc6edb6425f8b889403d0d303f723bb58b69a
1,388
py
Python
python/zp/primjer_12.03.py
jasarsoft/examples
d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e
[ "MIT" ]
null
null
null
python/zp/primjer_12.03.py
jasarsoft/examples
d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e
[ "MIT" ]
null
null
null
python/zp/primjer_12.03.py
jasarsoft/examples
d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e
[ "MIT" ]
null
null
null
import os import time #fajlovi i folderi koje zelimo da backupujemo su specificirani u listi izvor = ['C:\\py', '"C:\\Documents and Settings\xinjure\\Desktop\\"'] #primjetite da smo koristili duple navodnike unutar stringa, zbog imena koje sadrzi razmake #backup ce biti sacuvan u glavnom backup direktoriju ciljni_dir...
36.526316
107
0.726945
203
1,388
4.940887
0.650246
0.014955
0.021934
0.027916
0.035892
0
0
0
0
0
0
0.004303
0.162824
1,388
37
108
37.513514
0.858864
0.476225
0
0.105263
0
0
0.304348
0.039271
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.157895
0
0
0
null
0
0
0
0
0
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
dad88ca7f69b6249db59b9dd53934906b422453f
5,157
py
Python
utils/tileextractor/ExtractTiles.py
kurodenjiro/PokeRPG
ab6b76d22f2f2a81e9c6382a893e85c9bd52a20f
[ "MIT" ]
1
2019-08-18T17:08:27.000Z
2019-08-18T17:08:27.000Z
utils/tileextractor/ExtractTiles.py
kurodenjiro/PokeRPG
ab6b76d22f2f2a81e9c6382a893e85c9bd52a20f
[ "MIT" ]
null
null
null
utils/tileextractor/ExtractTiles.py
kurodenjiro/PokeRPG
ab6b76d22f2f2a81e9c6382a893e85c9bd52a20f
[ "MIT" ]
null
null
null
import Image, ImageDraw, ImageFont import md5, sha import sys, time, os import re tileSize = (16,16) outputWidth = 8 outputSpare = 1 scale = 2 pathIn = 'input/' pathOut = 'output/' animatedTiles = [] class Tile : pixels = None hash = None number = None image = None def __init__ (self) : self.pixels = {} ...
25.529703
103
0.651154
689
5,157
4.850508
0.174165
0.025135
0.035907
0.019749
0.258528
0.232795
0.186116
0.159785
0.159785
0.159785
0
0.029811
0.199922
5,157
202
104
25.529703
0.780175
0
0
0.196532
0
0
0.028693
0
0
0
0
0
0
0
null
null
0
0.023121
null
null
0.034682
0
0
0
null
0
0
0
0
0
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
daea143a9138eb46467d20a24e479bae7da4e02c
5,333
py
Python
ui/1.py
sarkarrajsingh1/Tensorflow-text-generator-with-GUI
38cf5c9d80128272c5c8a9044ab59f47d87e03db
[ "MIT" ]
null
null
null
ui/1.py
sarkarrajsingh1/Tensorflow-text-generator-with-GUI
38cf5c9d80128272c5c8a9044ab59f47d87e03db
[ "MIT" ]
null
null
null
ui/1.py
sarkarrajsingh1/Tensorflow-text-generator-with-GUI
38cf5c9d80128272c5c8a9044ab59f47d87e03db
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '1.ui' # # Created by: PyQt5 UI code generator 5.8.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setO...
45.974138
315
0.689106
642
5,333
5.604361
0.257009
0.135075
0.058366
0.071151
0.320456
0.320456
0.195942
0.195942
0.195942
0.116732
0
0.042757
0.19745
5,333
115
316
46.373913
0.797897
0.032627
0
0.188119
1
0.009901
0.119588
0
0
0
0
0
0
1
0.019802
false
0
0.019802
0
0.049505
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
daf6f9c7d30a34d3c94b6b8fe9ce4baebeac1d1a
557
py
Python
chapter05/selenium_search.py
Alchemy2011/spider
b98d1325fb15c05e2f377d324b52a963cbd281b7
[ "Apache-2.0" ]
null
null
null
chapter05/selenium_search.py
Alchemy2011/spider
b98d1325fb15c05e2f377d324b52a963cbd281b7
[ "Apache-2.0" ]
null
null
null
chapter05/selenium_search.py
Alchemy2011/spider
b98d1325fb15c05e2f377d324b52a963cbd281b7
[ "Apache-2.0" ]
null
null
null
from selenium import webdriver def main(): driver = webdriver.Chrome() driver.get('http://127.0.0.1:8000/places/default/search') driver.find_element_by_id('search_term').send_keys('.') driver.execute_script("document.getElementById('page_size').options[1].text = '1000'") driver.find_element_by_id(...
29.315789
90
0.70377
75
557
4.92
0.68
0.081301
0.092141
0.102981
0.146341
0.146341
0
0
0
0
0
0.035865
0.149013
557
18
91
30.944444
0.742616
0
0
0
0
0
0.251347
0.093357
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.071429
0
0
0
null
0
0
0
0
0
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
dafbd40cad0eb57f596dddcee79aa818cb434531
3,650
py
Python
src/car_fft.py
pradolucas/SSVEP-EEG-MLP-OLS
13838520b361ae8b9a1eb1eb7310df87307b9e14
[ "MIT" ]
null
null
null
src/car_fft.py
pradolucas/SSVEP-EEG-MLP-OLS
13838520b361ae8b9a1eb1eb7310df87307b9e14
[ "MIT" ]
null
null
null
src/car_fft.py
pradolucas/SSVEP-EEG-MLP-OLS
13838520b361ae8b9a1eb1eb7310df87307b9e14
[ "MIT" ]
null
null
null
import numpy as np from scipy.fft import fft def CAR(X, labels): N = X.shape N_classes = len(np.unique(labels)) data10 = np.zeros((N[0], N[1], 1)) data11 = np.zeros((N[0], N[1], 1)) data12 = np.zeros((N[0], N[1], 1)) data13 = np.zeros((N[0], N[1], 1)) for trial in range(N[2]): ##...
44.512195
149
0.605205
625
3,650
3.368
0.1792
0.013302
0.042755
0.057007
0.395249
0.395249
0.395249
0.372447
0.343943
0.279335
0
0.078551
0.236164
3,650
82
150
44.512195
0.676471
0.153973
0
0
0
0
0
0
0
0
0
0.012195
0
1
0.053571
false
0
0.035714
0
0.142857
0
0
0
0
null
0
0
0
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
dafea2c686231896944f55b0c44273c242a20cee
849
py
Python
parser/osm_parser_mapking.py
justinxutianyu/comp90019
8814a9b83845a6fb79df2a6519ad58933adeda7b
[ "MIT" ]
1
2018-03-28T05:38:33.000Z
2018-03-28T05:38:33.000Z
parser/osm_parser_mapking.py
justinxutianyu/comp90019
8814a9b83845a6fb79df2a6519ad58933adeda7b
[ "MIT" ]
null
null
null
parser/osm_parser_mapking.py
justinxutianyu/comp90019
8814a9b83845a6fb79df2a6519ad58933adeda7b
[ "MIT" ]
1
2020-09-20T12:16:24.000Z
2020-09-20T12:16:24.000Z
import geog import networkx as nx import osmgraph # By default any way with a highway tag will be loaded g = osmgraph.parse_file('hawaii-latest.osm.bz2') # or .osm or .pbf for n1, n2 in g.edges_iter(): c1, c2 = osmgraph.tools.coordinates(g, (n1, n2)) g[n1][n2]['length'] = geog.distance(c1, c2) import ran...
30.321429
80
0.718492
138
849
4.384058
0.521739
0.033058
0.024793
0.029752
0
0
0
0
0
0
0
0.020661
0.144876
849
28
81
30.321429
0.812672
0.186101
0
0
0
0
0.090247
0.030568
0
0
0
0
0
1
0
false
0
0.368421
0
0.368421
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
daffae650b4cac45f75d1dd51f783f6589ac9f78
727
py
Python
StevenKyritsis_HW12.py
stevenkyritsis/NJIT-CS100
9466489c4de80610cadb5c1eac4d87fd81bfb6d3
[ "MIT" ]
null
null
null
StevenKyritsis_HW12.py
stevenkyritsis/NJIT-CS100
9466489c4de80610cadb5c1eac4d87fd81bfb6d3
[ "MIT" ]
null
null
null
StevenKyritsis_HW12.py
stevenkyritsis/NJIT-CS100
9466489c4de80610cadb5c1eac4d87fd81bfb6d3
[ "MIT" ]
null
null
null
''' Steven Kyritsis CS100-031 Fall 2021 HW12 December 10, 2021 ''' #1 def safeOpen(inFile): try: file = open(inFile) return file except: return None #2 def safeFloat(inFloat): try: newFloat = float(inFloat) return newFloat except ValueError: return 0.0 ...
18.175
47
0.543329
86
727
4.593023
0.534884
0.070886
0
0
0
0
0
0
0
0
0
0.059957
0.357634
727
40
48
18.175
0.785867
0.004127
0
0.071429
0
0
0.032012
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
daffdb9455aa48dcd12cd0e1505bc6d5e7a7d07f
1,916
py
Python
examples/ball-example/main.py
zenvarlab/pyobjus
7aee8c3c8a0f6a595813eeee9dd7555d15e22791
[ "MIT" ]
null
null
null
examples/ball-example/main.py
zenvarlab/pyobjus
7aee8c3c8a0f6a595813eeee9dd7555d15e22791
[ "MIT" ]
null
null
null
examples/ball-example/main.py
zenvarlab/pyobjus
7aee8c3c8a0f6a595813eeee9dd7555d15e22791
[ "MIT" ]
null
null
null
from random import random from kivy.app import App from kivy.uix.widget import Widget from kivy.properties import NumericProperty, ReferenceListProperty, ObjectProperty from kivy.vector import Vector from kivy.clock import Clock from kivy.graphics import Color from pyobjus import autoclass class Ball(Widget): vel...
29.030303
82
0.673278
235
1,916
5.302128
0.310638
0.064205
0.035313
0.038523
0.049759
0.049759
0.049759
0.049759
0
0
0
0.00929
0.213466
1,916
65
83
29.476923
0.817518
0
0
0.083333
0
0
0.011482
0
0
0
0
0
0
1
0.145833
false
0
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
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
970f6482050bf709cb922751a75043b07cb64396
167
py
Python
ABC151-200/ABC188/abc188_c.py
billyio/atcoder
9d16765f91f28deeb7328fcc6c19541ee790941f
[ "MIT" ]
1
2021-02-01T08:48:07.000Z
2021-02-01T08:48:07.000Z
ABC151-200/ABC188/abc188_c.py
billyio/atcoder
9d16765f91f28deeb7328fcc6c19541ee790941f
[ "MIT" ]
null
null
null
ABC151-200/ABC188/abc188_c.py
billyio/atcoder
9d16765f91f28deeb7328fcc6c19541ee790941f
[ "MIT" ]
null
null
null
# ac N = int(input()) A = list(map(int,input().split())) mid = int(2**N/2) left, right = A[:mid], A[mid:] second = min(max(left), max(right)) print(A.index(second)+1)
20.875
35
0.598802
32
167
3.125
0.5625
0.16
0
0
0
0
0
0
0
0
0
0.020548
0.125749
167
8
36
20.875
0.664384
0.011976
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
971e11a191a2c90f19801ef91e07b01ad3290c0c
466
py
Python
pytoast/decorators/step.py
daniloster/pytoast
b0ceb02134aa4249888faeb8b5617e562aba6002
[ "MIT" ]
null
null
null
pytoast/decorators/step.py
daniloster/pytoast
b0ceb02134aa4249888faeb8b5617e562aba6002
[ "MIT" ]
null
null
null
pytoast/decorators/step.py
daniloster/pytoast
b0ceb02134aa4249888faeb8b5617e562aba6002
[ "MIT" ]
null
null
null
from pytoast import output steps = [] def step(expression=None): global steps if not expression: raise RuntimeError('A step must have a match expression') def decorator(f): steps.append((expression, f)) return decorator def collect_steps(runner): for (expression, f) in steps: ...
21.181818
65
0.637339
54
466
5.444444
0.574074
0.112245
0
0
0
0
0
0
0
0
0
0
0.266094
466
21
66
22.190476
0.859649
0
0
0
0
0
0.075107
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9727e5083b9c6fda2a8ba98b81b03990d001d425
987
py
Python
code/permuted_matrices/sol_559.py
bhavinjawade/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
2
2020-07-16T08:16:32.000Z
2020-10-01T07:16:48.000Z
code/permuted_matrices/sol_559.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
null
null
null
code/permuted_matrices/sol_559.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
1
2021-05-07T18:06:08.000Z
2021-05-07T18:06:08.000Z
# -*- coding: utf-8 -*- ''' File name: code\permuted_matrices\sol_559.py Author: Vaidic Joshi Date created: Oct 20, 2018 Python Version: 3.x ''' # Solution to Project Euler Problem #559 :: Permuted Matrices # # For more information see: # https://projecteuler.net/problem=559 # Problem Statement '''...
26.675676
120
0.668693
172
987
3.819767
0.552326
0.042618
0.030441
0.048706
0.05175
0
0
0
0
0
0
0.140665
0.2077
987
36
121
27.416667
0.699488
0.309017
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
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
9728a7f60627eb144fdd226ccd9b8be7db14bd8e
207
py
Python
02 - Curso Em Video/Aula 14/E - 064.py
GabrielTrentino/Python_Basico
f13f6448c275c14896337d2018b04cbf5a54efd3
[ "MIT" ]
null
null
null
02 - Curso Em Video/Aula 14/E - 064.py
GabrielTrentino/Python_Basico
f13f6448c275c14896337d2018b04cbf5a54efd3
[ "MIT" ]
null
null
null
02 - Curso Em Video/Aula 14/E - 064.py
GabrielTrentino/Python_Basico
f13f6448c275c14896337d2018b04cbf5a54efd3
[ "MIT" ]
null
null
null
soma = 0 valor = 0 cont = -1 while valor != 999: soma += valor cont += 1 valor = int(input('Digite o valor: [999 para parar] ')) print('A soma de {} termos é igual a {}'.format(cont,soma))
25.875
60
0.574879
33
207
3.606061
0.606061
0.084034
0
0
0
0
0
0
0
0
0
0.065789
0.2657
207
8
61
25.875
0.717105
0
0
0
0
0
0.323383
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
972cc3da44f5ed2e6e2c8871a62b889010d3b6ae
4,335
py
Python
tests/scale_test.py
StackStorm/search
2b4bc04bea4f0aecc79abaad917d14a938c613b6
[ "Apache-2.0" ]
null
null
null
tests/scale_test.py
StackStorm/search
2b4bc04bea4f0aecc79abaad917d14a938c613b6
[ "Apache-2.0" ]
null
null
null
tests/scale_test.py
StackStorm/search
2b4bc04bea4f0aecc79abaad917d14a938c613b6
[ "Apache-2.0" ]
null
null
null
from argparse import ArgumentParser from mock import MagicMock from multiprocessing import Process from search.datasource.session import DBInfo from search.worker.computenode import ComputeNodeHandler from search.worker.instance import InstanceHandler from tests import scale_gen from tests import faker import subproces...
40.138889
148
0.70842
572
4,335
5.127622
0.312937
0.016366
0.023184
0.031708
0.278213
0.173883
0.146267
0.146267
0.105353
0.081827
0
0.0106
0.17301
4,335
108
149
40.138889
0.807531
0.135409
0
0.168675
0
0
0.102866
0
0
0
0
0.009259
0
0
null
null
0.024096
0.144578
null
null
0.072289
0
0
0
null
0
0
0
0
0
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
9730afa3f9d2ae6bd7a756766d74350562eae562
1,649
py
Python
app/Tools/auth.py
andrerclaudio/agnes
7335ff23c09e8e442fa596bad0033e660eec976f
[ "MIT" ]
null
null
null
app/Tools/auth.py
andrerclaudio/agnes
7335ff23c09e8e442fa596bad0033e660eec976f
[ "MIT" ]
null
null
null
app/Tools/auth.py
andrerclaudio/agnes
7335ff23c09e8e442fa596bad0033e660eec976f
[ "MIT" ]
null
null
null
# Build-in modules import configparser import logging import os from functools import wraps # from cryptography.fernet import Fernet # from werkzeug.security import generate_password_hash, check_password_hash from flask import jsonify, request def authorization(f): @wraps(f) def decorated(*args, **kwargs): ...
29.981818
75
0.550637
176
1,649
5.096591
0.4375
0.035674
0.024526
0.031215
0.200669
0.144928
0.078038
0.078038
0
0
0
0.004695
0.354154
1,649
54
76
30.537037
0.837559
0.23772
0
0.16129
1
0
0.101531
0
0
0
0
0
0
1
0.064516
false
0
0.16129
0
0.322581
0
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
9735554e4c7ab506fa493c02058b45cfc01e4f6a
1,322
py
Python
Apps/serializers.py
gordiig/Un_RSOI_Curs_Auth
743a423131730b0e7a025fcae5564a1d932fa92d
[ "MIT" ]
null
null
null
Apps/serializers.py
gordiig/Un_RSOI_Curs_Auth
743a423131730b0e7a025fcae5564a1d932fa92d
[ "MIT" ]
2
2021-03-19T00:42:05.000Z
2021-03-30T12:57:46.000Z
Apps/serializers.py
gordiig/Un_RSOI_Curs_Auth
743a423131730b0e7a025fcae5564a1d932fa92d
[ "MIT" ]
null
null
null
from rest_framework import serializers from rest_framework.validators import UniqueValidator from Apps.models import App class AppSerializer(serializers.ModelSerializer): """ Сериализатор приложения """ id = serializers.CharField(required=True, allow_null=False, allow_blank=False, ...
30.744186
103
0.655825
137
1,322
6.175182
0.364964
0.094563
0.132388
0.1513
0.380615
0.380615
0.380615
0.307329
0.307329
0.307329
0
0
0.242814
1,322
42
104
31.47619
0.845155
0.035552
0
0.344828
0
0
0.046624
0
0
0
0
0
0
1
0.034483
false
0
0.103448
0
0.517241
0
0
0
0
null
0
0
0
0
0
0
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
9749832101e4d816c3eeffcb7de0aedde32638fd
1,166
py
Python
_MOM/_Meta/__init__.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
6
2016-12-10T17:51:10.000Z
2021-10-11T07:51:48.000Z
_MOM/_Meta/__init__.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
null
null
null
_MOM/_Meta/__init__.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
3
2020-03-29T07:37:03.000Z
2021-01-21T16:08:40.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2009-2010 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at # **************************************************************************** # This package is part of the package _MOM. # # This module is licensed under the term...
27.116279
78
0.598628
140
1,166
4.807143
0.564286
0.041605
0.102526
0.044577
0
0
0
0
0
0
0
0.02359
0.163808
1,166
42
79
27.761905
0.659487
0.555746
0
0
0
0
0.375254
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
974aec52de225b83c87cd67a3a19cce83f8d0d3b
4,244
py
Python
Knots/KnotCalc.py
nborggren/Aleph
251dad70ddda9192630d8226c1316de3c3bc0b1b
[ "CC0-1.0" ]
null
null
null
Knots/KnotCalc.py
nborggren/Aleph
251dad70ddda9192630d8226c1316de3c3bc0b1b
[ "CC0-1.0" ]
null
null
null
Knots/KnotCalc.py
nborggren/Aleph
251dad70ddda9192630d8226c1316de3c3bc0b1b
[ "CC0-1.0" ]
null
null
null
from knots import * from knot_analysis import Draw_Knot from ROOT import TLine, TCanvas globalvars = {} # We will store the calculator's variables here def lookup(map, name): for x,v in map: if x==name: return v if name not in globalvars.keys(): print 'Undefined:', name return globalvars....
30.314286
102
0.441093
463
4,244
3.902808
0.282937
0.070836
0.030437
0.049806
0.215827
0.18041
0.157167
0.084117
0.084117
0.084117
0
0.006849
0.346371
4,244
139
103
30.532374
0.644557
0.077757
0
0.220339
0
0
0.115808
0
0
0
0
0
0
0
null
null
0
0.050847
null
null
0.084746
0
0
0
null
0
0
0
0
0
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
975212db73ca892e962e10887a01f3b585b2c6d0
296
py
Python
hw3/test.py
ZhenghaoFei/DEEPRLHW
35d3709f657eba84b2cae31e04d97105b30089aa
[ "MIT" ]
null
null
null
hw3/test.py
ZhenghaoFei/DEEPRLHW
35d3709f657eba84b2cae31e04d97105b30089aa
[ "MIT" ]
null
null
null
hw3/test.py
ZhenghaoFei/DEEPRLHW
35d3709f657eba84b2cae31e04d97105b30089aa
[ "MIT" ]
null
null
null
import tensorflow as tf m = tf.Variable([[2, 3], [1, 2], [2, 2], [4, 3]]) # m = [['a', 'b'], ['c', 'd']] idx = tf.range(0, 32) a = tf.range(0, 32) act_idx = tf.stack([idx, a], axis=1) k = act_idx sess = tf.Session() init = tf.global_variables_initializer() sess.run(init) print sess.run(k)
17.411765
49
0.574324
56
296
2.964286
0.535714
0.024096
0.096386
0.120482
0
0
0
0
0
0
0
0.061475
0.175676
296
17
50
17.411765
0.618852
0.094595
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
975a70cf14d371cc569479e59bdef3f0f2142943
2,816
py
Python
src/jk_mediawiki/lsfile/MediaWikiLocalSettingsArrayAppend.py
jkpubsrc/python-module-jk-mediawiki
5d76a060f0ed46c072d44e8084f6fa40d16e6069
[ "Apache-1.1" ]
null
null
null
src/jk_mediawiki/lsfile/MediaWikiLocalSettingsArrayAppend.py
jkpubsrc/python-module-jk-mediawiki
5d76a060f0ed46c072d44e8084f6fa40d16e6069
[ "Apache-1.1" ]
null
null
null
src/jk_mediawiki/lsfile/MediaWikiLocalSettingsArrayAppend.py
jkpubsrc/python-module-jk-mediawiki
5d76a060f0ed46c072d44e8084f6fa40d16e6069
[ "Apache-1.1" ]
null
null
null
import os from jk_utils import * from jk_utils.tokenizer import * from ..impl.lang_support_php import * class MediaWikiLocalSettingsArrayAppend(object): # ================================================================================================================================ # ==== Constructor Me...
20.554745
131
0.570668
251
2,816
6.155378
0.215139
0.10356
0.040777
0.060194
0.21165
0.069903
0
0
0
0
0
0
0.150213
2,816
136
132
20.705882
0.645633
0.209162
0
0.25
0
0
0.023701
0
0
0
0
0
0.152778
1
0.194444
false
0
0.055556
0.111111
0.402778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
975deaee839277e8f53a7a7e3bc55d65ca55be9c
1,449
py
Python
src/reference_book/migrations/0001_initial.py
zmiterpimenau/PiLib
301b51c5402f86da801d437ea943d10ea01c8fc1
[ "Apache-2.0" ]
null
null
null
src/reference_book/migrations/0001_initial.py
zmiterpimenau/PiLib
301b51c5402f86da801d437ea943d10ea01c8fc1
[ "Apache-2.0" ]
null
null
null
src/reference_book/migrations/0001_initial.py
zmiterpimenau/PiLib
301b51c5402f86da801d437ea943d10ea01c8fc1
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-20 22:00 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Author', fields=[ ('id', models.AutoField(...
33.697674
114
0.559006
141
1,449
5.602837
0.368794
0.111392
0.126582
0.116456
0.587342
0.587342
0.587342
0.4
0.4
0.4
0
0.022886
0.306418
1,449
42
115
34.5
0.763184
0.031056
0
0.571429
1
0
0.079173
0
0
0
0
0
0
1
0
false
0
0.028571
0
0.142857
0
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
97614563914fd56ff120db87dc313ddf01a6c37e
1,547
py
Python
jobs/migrations/0002_auto_20201219_0911.py
Platz-Work/platzi-work-backend
367bb3b150ac22f673c4a2e01babecb19f1ee9ec
[ "MIT" ]
null
null
null
jobs/migrations/0002_auto_20201219_0911.py
Platz-Work/platzi-work-backend
367bb3b150ac22f673c4a2e01babecb19f1ee9ec
[ "MIT" ]
13
2020-12-18T01:32:03.000Z
2020-12-19T22:57:35.000Z
jobs/migrations/0002_auto_20201219_0911.py
Platz-Work/platzi-work-backend
367bb3b150ac22f673c4a2e01babecb19f1ee9ec
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-19 14:11 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('jobs', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='category', ...
45.5
287
0.641241
187
1,547
5.176471
0.320856
0.049587
0.055785
0.068182
0.619835
0.60124
0.494835
0.28719
0.221074
0.221074
0
0.015781
0.221719
1,547
33
288
46.878788
0.788206
0.029089
0
0.444444
1
0
0.348
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.185185
0
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
97642f21d4dcb2cc049efde35e1b7cc86810455d
7,937
py
Python
tests/experiment_client_test.py
mljar/mljar-api-python
78afae67e9f8a26a457f7bae29367f9b3d7f85b4
[ "Apache-2.0" ]
42
2016-12-01T11:07:16.000Z
2022-01-20T05:01:56.000Z
tests/experiment_client_test.py
kamrankausar/mljar-api-python
78afae67e9f8a26a457f7bae29367f9b3d7f85b4
[ "Apache-2.0" ]
10
2017-06-28T08:02:44.000Z
2018-04-10T07:10:04.000Z
tests/experiment_client_test.py
kamrankausar/mljar-api-python
78afae67e9f8a26a457f7bae29367f9b3d7f85b4
[ "Apache-2.0" ]
11
2017-03-27T13:29:02.000Z
2021-04-04T19:16:51.000Z
''' ExperimentClient tests. ''' import os import unittest import pandas as pd import time from mljar.client.project import ProjectClient from mljar.client.dataset import DatasetClient from mljar.client.experiment import ExperimentClient from .project_based_test import ProjectBasedTest, get_postfix class ExperimentCl...
46.415205
116
0.630969
844
7,937
5.744076
0.143365
0.063531
0.077351
0.028053
0.714315
0.688325
0.667079
0.667079
0.656766
0.656766
0
0.007081
0.28827
7,937
170
117
46.688235
0.851124
0.106967
0
0.589744
0
0
0.043669
0.006664
0
0
0
0
0.316239
1
0.051282
false
0
0.068376
0
0.128205
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
976d3ad94f1048dc94c36968033932ee0b34a306
553
py
Python
examples/simpletest.py
bbaumg/Python_TSL2561
0bf09cbe319d51673331ee02d852bd0ba5d0ab3e
[ "MIT" ]
null
null
null
examples/simpletest.py
bbaumg/Python_TSL2561
0bf09cbe319d51673331ee02d852bd0ba5d0ab3e
[ "MIT" ]
null
null
null
examples/simpletest.py
bbaumg/Python_TSL2561
0bf09cbe319d51673331ee02d852bd0ba5d0ab3e
[ "MIT" ]
null
null
null
import time import TSL2561 chip = TSL2561.TSL2561() while True: chip.power_on() print("Raw Channel 0 = " + str(chip.read_channel0())) print("Raw Channel 1 = " + str(chip.read_channel1())) print("Lux Channel 0 = " + str(chip.calculate_lux(chip.read_channel0()))) print("Lux Channel 1 = " + str(chip.calculate_lux(ch...
32.529412
74
0.685353
83
553
4.39759
0.313253
0.134247
0.082192
0.106849
0.263014
0.147945
0
0
0
0
0
0.04375
0.132007
553
16
75
34.5625
0.716667
0
0
0
0
0
0.209765
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.533333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
9784af589cdf2dd28607e6c72a6a99e719fdf94a
2,639
py
Python
microcosm_daemon/tests/test_state_machine.py
globality-corp/microcosm-daemon
86c384462c00d98431d61ed4890b980b0424cb36
[ "Apache-2.0" ]
null
null
null
microcosm_daemon/tests/test_state_machine.py
globality-corp/microcosm-daemon
86c384462c00d98431d61ed4890b980b0424cb36
[ "Apache-2.0" ]
10
2016-03-25T00:37:22.000Z
2022-02-09T21:16:16.000Z
microcosm_daemon/tests/test_state_machine.py
globality-corp/microcosm-daemon
86c384462c00d98431d61ed4890b980b0424cb36
[ "Apache-2.0" ]
2
2016-12-19T22:41:21.000Z
2019-03-17T03:46:31.000Z
""" State machine tests. """ from unittest.mock import patch from hamcrest import ( assert_that, calling, equal_to, is_, raises, ) from microcosm.api import create_object_graph from microcosm_daemon.error_policy import FatalError from microcosm_daemon.sleep_policy import SleepNow from microcosm_d...
22.555556
67
0.696476
347
2,639
5.002882
0.18732
0.103687
0.068548
0.076037
0.648041
0.638249
0.614055
0.566244
0.511521
0.477535
0
0.002848
0.201592
2,639
116
68
22.75
0.821073
0.095112
0
0.5
0
0
0.020587
0
0
0
0
0
0.155172
1
0.224138
false
0.034483
0.103448
0.017241
0.344828
0
0
0
0
null
0
0
0
0
0
0
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
9785858e55c6a980d917be99f19b1b5ecc4b62cf
5,040
py
Python
Advanced Network Management/Assignment 1/A1.py
Sahandfer/Tsinghua
0c1944aee8395e57429f27d9b0dd478460dcc8b3
[ "CC-BY-4.0" ]
1
2021-07-14T15:37:18.000Z
2021-07-14T15:37:18.000Z
Advanced Network Management/Assignment 1/A1.py
Sahandfer/Tsinghua
0c1944aee8395e57429f27d9b0dd478460dcc8b3
[ "CC-BY-4.0" ]
null
null
null
Advanced Network Management/Assignment 1/A1.py
Sahandfer/Tsinghua
0c1944aee8395e57429f27d9b0dd478460dcc8b3
[ "CC-BY-4.0" ]
null
null
null
import glob, os import matplotlib import numpy as np import pandas as pd import datetime as dt import matplotlib.dates as mdates import matplotlib.pyplot as plt %matplotlib inline # Reading the files csv_files = glob.glob("dataset/*.csv") dataset = [] def sort_file_name(filename): return int(os.path.basename(fil...
32.727273
174
0.689087
806
5,040
4.21464
0.236973
0.03091
0.044157
0.03297
0.469532
0.448337
0.448337
0.403886
0.403886
0.403886
0
0.050821
0.105952
5,040
154
175
32.727273
0.703063
0.018849
0
0.353982
0
0
0.232577
0
0
0
0
0
0
0
null
null
0
0.061947
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
9786c44d84f3e0421ce3ad748f9979de5fdfd0f8
1,345
py
Python
pyleecan/Methods/Simulation/VarSimu/gen_datakeeper_list.py
carbon-drive/pyleecan
e89d4fe97f23f6182c19127d2c6a2133614e169d
[ "Apache-2.0" ]
95
2019-01-23T04:19:45.000Z
2022-03-17T18:22:10.000Z
pyleecan/Methods/Simulation/VarSimu/gen_datakeeper_list.py
ecs-kev/pyleecan
1faedde4b24acc6361fa1fdd4e980eaec4ca3a62
[ "Apache-2.0" ]
366
2019-02-20T07:15:08.000Z
2022-03-31T13:37:23.000Z
pyleecan/Methods/Simulation/VarSimu/gen_datakeeper_list.py
ecs-kev/pyleecan
1faedde4b24acc6361fa1fdd4e980eaec4ca3a62
[ "Apache-2.0" ]
74
2019-01-24T01:47:31.000Z
2022-02-25T05:44:42.000Z
from ....Classes.DataKeeper import DataKeeper from ....Functions.Load.import_class import import_class def gen_datakeeper_list(self, ref_simu): """Generate default DataKeepers according the reference simulation type""" datakeeper_list = [] # To avoid adding twice a DataKeeper symbol_list = [dk.symbol...
35.394737
88
0.67658
169
1,345
5.153846
0.372781
0.144661
0.091848
0.082664
0.230769
0.137773
0.137773
0.098737
0.098737
0.098737
0
0.002918
0.235688
1,345
37
89
36.351351
0.844358
0.172491
0
0
1
0
0.062557
0
0
0
0
0
0
1
0.04
false
0
0.12
0
0.16
0
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
9792c168c5d105cccf02b6f845f731ab71aa1427
983
py
Python
Demo/sgi/al/playold.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
5
2022-03-26T21:53:36.000Z
2022-03-30T21:47:20.000Z
Demo/sgi/al/playold.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
6
2020-11-18T15:48:14.000Z
2021-05-03T21:20:50.000Z
Demo/sgi/al/playold.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
2
2015-07-16T08:14:13.000Z
2022-03-27T01:55:17.000Z
# Play old style sound files (Guido's private format) import al, sys, time import AL BUFSIZE = 8000 def main(): if len(sys.argv) < 2: f = sys.stdin filename = sys.argv[0] else: if len(sys.argv) <> 2: sys.stderr.write('usage: ' + \ sys.argv[0] + ' filename\n') sys.exit(2) filename = sys.argv[1] ...
18.903846
65
0.636826
155
983
4.019355
0.490323
0.05618
0.025682
0.038523
0.041734
0
0
0
0
0
0
0.061381
0.204476
983
51
66
19.27451
0.735294
0.051882
0
0.090909
0
0
0.080819
0
0
0
0
0
0
0
null
null
0
0.045455
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
97986092a8ee0db7b1d3e42b0266c32cb6daf513
8,377
py
Python
classifiers/pseudolabel_sents.py
thinkmpink/police-fatalities-sample
a79fe6433c62879c6d1b9618ae2fd40c4a9aae11
[ "MIT" ]
null
null
null
classifiers/pseudolabel_sents.py
thinkmpink/police-fatalities-sample
a79fe6433c62879c6d1b9618ae2fd40c4a9aae11
[ "MIT" ]
null
null
null
classifiers/pseudolabel_sents.py
thinkmpink/police-fatalities-sample
a79fe6433c62879c6d1b9618ae2fd40c4a9aae11
[ "MIT" ]
null
null
null
import argparse, functools as ft, getpass import itertools as it, json, numpy as np, time from spacy.en import English from spacy.tokens.doc import Doc from pathos.pp import ParallelPool from pathos.threading import ThreadPool FATAL_SYNSET = set(["dead","death","died","die","fatal","killed", "kill","l...
38.077273
98
0.664558
1,243
8,377
4.31778
0.248592
0.005962
0.007453
0.008198
0.199739
0.169182
0.151295
0.107695
0.088318
0.078256
0
0.008627
0.22514
8,377
219
99
38.251142
0.81821
0.086069
0
0.07874
0
0
0.141314
0.009961
0
0
0
0.009132
0
0
null
null
0.031496
0.047244
null
null
0.031496
0
0
0
null
0
0
0
0
0
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
97a716c69dad9839af2fa60471bca2c16464c178
6,443
py
Python
examples/protocols/http_server/file_serving/http_server_file_serving_test.py
iPlon-org/esp-idf
a5227db2a75102ca1a17860188c3c352a529a01b
[ "Apache-2.0" ]
8,747
2016-08-18T14:58:24.000Z
2022-03-31T20:58:55.000Z
examples/protocols/http_server/file_serving/http_server_file_serving_test.py
iPlon-org/esp-idf
a5227db2a75102ca1a17860188c3c352a529a01b
[ "Apache-2.0" ]
8,603
2016-08-20T08:55:56.000Z
2022-03-31T23:04:01.000Z
examples/protocols/http_server/file_serving/http_server_file_serving_test.py
iPlon-org/esp-idf
a5227db2a75102ca1a17860188c3c352a529a01b
[ "Apache-2.0" ]
6,380
2016-08-18T18:17:00.000Z
2022-03-31T22:25:57.000Z
#!/usr/bin/env python # # Copyright 2021 Espressif Systems (Shanghai) CO LTD # # 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 requ...
43.533784
149
0.719851
942
6,443
4.774947
0.230361
0.05558
0.090707
0.037572
0.501112
0.474655
0.471543
0.436639
0.412406
0.408181
0
0.009973
0.19075
6,443
147
150
43.829932
0.852704
0.201149
0
0.311828
0
0
0.346568
0.012713
0
0
0
0
0
1
0.010753
false
0.075269
0.086022
0
0.096774
0
0
0
0
null
0
0
0
0
0
0
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
97af64566d82221c7208c36ac5931c23656c29f7
588
py
Python
setup.py
danicarrion/carto-python
631b018f065960baa35473e2087ce598560b9e17
[ "BSD-3-Clause" ]
null
null
null
setup.py
danicarrion/carto-python
631b018f065960baa35473e2087ce598560b9e17
[ "BSD-3-Clause" ]
null
null
null
setup.py
danicarrion/carto-python
631b018f065960baa35473e2087ce598560b9e17
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from setuptools import setup try: with open('requirements.txt') as f: required = f.read().splitlines() except: required = ['requests>=2.7.0', 'pyrestcli>=0.6.4'] try: with open('test_requirements.txt') as f: test_required = f.read().splitlines() except: pass se...
24.5
54
0.62415
76
588
4.776316
0.644737
0.038567
0.060606
0.099174
0.15978
0
0
0
0
0
0
0.021413
0.205782
588
23
55
25.565217
0.755889
0.035714
0
0.210526
0
0
0.309735
0.037168
0
0
0
0
0
1
0
false
0.052632
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
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
97afb71c7e9794f54839dad5cb3620f7ebd2594c
617
py
Python
proc/updatepreprint/setup.py
paratiuid/search-journals
f49391fb68cbc057250895f4a127c1befae28cd2
[ "BSD-2-Clause" ]
null
null
null
proc/updatepreprint/setup.py
paratiuid/search-journals
f49391fb68cbc057250895f4a127c1befae28cd2
[ "BSD-2-Clause" ]
null
null
null
proc/updatepreprint/setup.py
paratiuid/search-journals
f49391fb68cbc057250895f4a127c1befae28cd2
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup( name="UpdatePrePrint", version='0.1-beta', description="Update Pre-Print articles to Solr", author="SciELO", author_email="scielo-dev@googlegroups.com", license="BSD", url="https://github.com/scieloorg/search-journals/tree/beta/proc/...
28.045455
85
0.649919
69
617
5.768116
0.811594
0
0
0
0
0
0
0
0
0
0
0.004057
0.200972
617
21
86
29.380952
0.803245
0.032415
0
0
0
0
0.520134
0.080537
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
97b8b1daa6034510ae337b2235e381b62f1dfd4a
924
py
Python
python/easy/1304_Find_N_Unique_Integers_Sum_up_to_Zero.py
JackWang0107/leetcode
c02932190b639ef87a8d0fcd07d9cd6ec7344a67
[ "MIT" ]
1
2021-05-22T03:27:33.000Z
2021-05-22T03:27:33.000Z
python/easy/1304_Find_N_Unique_Integers_Sum_up_to_Zero.py
JackWang0107/leetcode
c02932190b639ef87a8d0fcd07d9cd6ec7344a67
[ "MIT" ]
null
null
null
python/easy/1304_Find_N_Unique_Integers_Sum_up_to_Zero.py
JackWang0107/leetcode
c02932190b639ef87a8d0fcd07d9cd6ec7344a67
[ "MIT" ]
null
null
null
from typing import * class Solution: # 24 ms, faster than 98.52% of Python3 online submissions for Find N Unique Integers Sum up to Zero. # 14.2 MB, less than 91.76% of Python3 online submissions for Find N Unique Integers Sum up to Zero. def sumZero(self, n: int) -> List[int]: ans = [] if ...
35.538462
105
0.587662
152
924
3.519737
0.355263
0.06729
0.11215
0.194393
0.654206
0.654206
0.654206
0.654206
0.598131
0.598131
0
0.065625
0.307359
924
25
106
36.96
0.770313
0.428571
0
0.111111
0
0
0.015326
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.333333
0.055556
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
97bfdf745212a8cd679a42ca0dc0da4fad2f527e
343
py
Python
setup.py
MorelLaw228/ocr-web-api-project
12132daec38f29439d4accb2e70ba03c10d7b1c5
[ "Apache-2.0" ]
null
null
null
setup.py
MorelLaw228/ocr-web-api-project
12132daec38f29439d4accb2e70ba03c10d7b1c5
[ "Apache-2.0" ]
null
null
null
setup.py
MorelLaw228/ocr-web-api-project
12132daec38f29439d4accb2e70ba03c10d7b1c5
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name='ocr-web-api-project', version='1.1', packages=[''], url='https://github.com/MorelLaw228/ocr-web-api-project', license='', author='morellatel', author_email='morellatel@gmail.com', description='Projet d\'OCR de données médicales réalisé dans le c...
26.384615
89
0.676385
46
343
5.021739
0.73913
0.051948
0.077922
0.138528
0
0
0
0
0
0
0
0.021127
0.172012
343
12
90
28.583333
0.792254
0
0
0
0
0
0.323615
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
97c4fda75533de62a044626aecc15cb63af06671
835
py
Python
pycolims/menus/Menu_Factory.py
daniel-avalos/pycolims
74363595e5c6c795f235d9a6f7476093dd4dfefe
[ "MIT" ]
1
2022-01-21T17:32:09.000Z
2022-01-21T17:32:09.000Z
pycolims/menus/Menu_Factory.py
daniel-avalos/pycolims
74363595e5c6c795f235d9a6f7476093dd4dfefe
[ "MIT" ]
1
2019-02-17T06:53:38.000Z
2019-02-17T07:27:35.000Z
pycolims/menus/Menu_Factory.py
daniel-avalos/pycolims
74363595e5c6c795f235d9a6f7476093dd4dfefe
[ "MIT" ]
null
null
null
from pycolims.menus import _menu_single, _menu_multi class SingleMenu(_menu_single.SelectSingle): """Given a list, prompt for selection of a single item\n Returns the selected item\n""" class MultiMenu(_menu_multi.SelectMulti): """Given a list, prompt for selection of items in a list.\n Returns a li...
28.793103
71
0.743713
111
835
5.423423
0.45045
0.033223
0.033223
0.053156
0.225914
0.225914
0.099668
0
0
0
0
0
0.158084
835
28
72
29.821429
0.85633
0.413174
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
97ca3d957d6ee83b3587051eff22ef6e1b093626
471
py
Python
scraper1830/scraper_cli.py
SiddharthNVenkatesh/1830-game-log-scraper
5b446bec0715e8d7954bf6c0ff2e3f8619be9213
[ "MIT" ]
null
null
null
scraper1830/scraper_cli.py
SiddharthNVenkatesh/1830-game-log-scraper
5b446bec0715e8d7954bf6c0ff2e3f8619be9213
[ "MIT" ]
null
null
null
scraper1830/scraper_cli.py
SiddharthNVenkatesh/1830-game-log-scraper
5b446bec0715e8d7954bf6c0ff2e3f8619be9213
[ "MIT" ]
null
null
null
""" Created on Sat Oct 30 19:29:30 2021 @author: siddharthvenkatesh This is a command line interface for scraper1830. """ import click from .scraper1830 import Scraper1830 @click.group() def cli_entry(): pass @cli_entry.command() @click.option( "--id", prompt="Enter Game ID", help="The id for the 1830 ga...
16.241379
81
0.70276
67
471
4.731343
0.641791
0.07571
0
0
0
0
0
0
0
0
0
0.087855
0.178344
471
28
82
16.821429
0.731266
0.244161
0
0
0
0
0.181034
0
0
0
0
0
0
1
0.142857
false
0.071429
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
97d2a229fccfdef7f56f9b50b19d282624ff6376
418
py
Python
pex/tools/command.py
ShellAddicted/pex
f1060b784fc9c4337a514ed21357ea9e8c2e4f41
[ "Apache-2.0" ]
2,160
2015-01-06T17:57:39.000Z
2022-03-30T19:59:01.000Z
pex/tools/command.py
sthagen/pex
9bd4c178c93556faad3c8a1e75989c9288d09416
[ "Apache-2.0" ]
1,242
2015-01-22T14:56:46.000Z
2022-03-31T18:02:38.000Z
pex/tools/command.py
Satertek/pex
64de1c4cf031118ef446ac98a8c164c91c23bb9b
[ "Apache-2.0" ]
248
2015-01-15T13:34:50.000Z
2022-03-26T01:24:18.000Z
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import from abc import abstractmethod from pex.commands.command import Command, Result from pex.pex import PEX class PEXCommand(Command): @abstractm...
24.588235
66
0.741627
52
418
5.865385
0.634615
0.045902
0
0
0
0
0
0
0
0
0
0.017595
0.184211
418
16
67
26.125
0.876833
0.354067
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
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
8ada7c9398b46556df1e4189571c752be500f628
3,342
py
Python
blog/models.py
pythoncali/portal
8a5b75e229683da14d6b1cbe701800aa1806e091
[ "BSD-3-Clause" ]
1
2015-08-23T21:30:38.000Z
2015-08-23T21:30:38.000Z
blog/models.py
djangocali/portal
8a5b75e229683da14d6b1cbe701800aa1806e091
[ "BSD-3-Clause" ]
24
2015-08-30T06:07:19.000Z
2016-12-11T15:52:55.000Z
blog/models.py
pythoncali/portal
8a5b75e229683da14d6b1cbe701800aa1806e091
[ "BSD-3-Clause" ]
6
2015-08-22T16:25:19.000Z
2016-03-12T21:28:47.000Z
# -*- coding: utf-8 -*- from django.db import models from taggit.managers import TaggableManager from autoslug import AutoSlugField from django.conf import settings """ ## TODO ## 1. Como el direccionamiento estara ligado al uso de slugs, tanto en el caso de las categorias como de las entradas,es necesario encontrar ...
37.550562
79
0.710652
434
3,342
5.391705
0.435484
0.008547
0.035897
0.042735
0.117949
0.07094
0.07094
0.035043
0
0
0
0.003416
0.21155
3,342
88
80
37.977273
0.88425
0.191203
0
0.177778
0
0
0.051173
0
0
0
0
0.034091
0
1
0.088889
false
0
0.088889
0.044444
0.733333
0
0
0
0
null
0
0
0
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
8add1b7a78dfb35db498ebfb2fd001c73838ad92
527
py
Python
giturlparse/platforms/__init__.py
JulianVolodia/giturlparse
0ae754bb289a0f097893c65c27de295e85ae43c6
[ "Apache-2.0" ]
20
2018-03-19T21:40:43.000Z
2022-02-07T09:26:17.000Z
giturlparse/platforms/__init__.py
JulianVolodia/giturlparse
0ae754bb289a0f097893c65c27de295e85ae43c6
[ "Apache-2.0" ]
23
2018-03-09T10:35:48.000Z
2022-01-30T17:35:46.000Z
giturlparse/platforms/__init__.py
JulianVolodia/giturlparse
0ae754bb289a0f097893c65c27de295e85ae43c6
[ "Apache-2.0" ]
15
2018-03-20T13:23:34.000Z
2022-03-29T03:43:33.000Z
from .assembla import AssemblaPlatform from .base import BasePlatform from .bitbucket import BitbucketPlatform from .friendcode import FriendCodePlatform from .github import GitHubPlatform from .gitlab import GitLabPlatform # Supported platforms PLATFORMS = [ # name -> Platform object ("github", GitHubPlatform...
27.736842
42
0.72296
44
527
8.659091
0.477273
0
0
0
0
0
0
0
0
0
0
0
0.159393
527
18
43
29.277778
0.860045
0.100569
0
0
0
0
0.091489
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8ae6cb6bdb03906a9fea321b254d1c10db5d3c9d
1,503
py
Python
began/train.py
norveclibalikci/MyDeepLearning
d72e3d70aa11c8d8b05f0f72744a9cafa30e808a
[ "MIT" ]
2
2018-05-15T10:28:48.000Z
2018-09-28T13:38:11.000Z
began/train.py
norveclibalikci/MyDeepLearning
d72e3d70aa11c8d8b05f0f72744a9cafa30e808a
[ "MIT" ]
null
null
null
began/train.py
norveclibalikci/MyDeepLearning
d72e3d70aa11c8d8b05f0f72744a9cafa30e808a
[ "MIT" ]
1
2019-10-25T13:24:05.000Z
2019-10-25T13:24:05.000Z
from __future__ import print_function from math import log10 import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import DataLoader from dataset import DataSetFromFolder import torch.cuda from torch.autograd import Variable import torch.backends.cudnn as cudnn import torchvision.utils as...
25.474576
90
0.745842
218
1,503
5.018349
0.37156
0.010969
0.013711
0.018282
0.148995
0.08958
0.08958
0.08958
0.010969
0.010969
0
0.030398
0.146374
1,503
58
91
25.913793
0.822292
0.113772
0
0
0
0
0.006029
0
0
0
0
0
0
1
0
false
0
0.432432
0
0.432432
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8ae7af477b7bde5b42b35528c7ad77a67aa36201
708
py
Python
Tracker_Development/Tracker_Troubleshooting/Tracker_Tree_Reconstruction.py
The-Kristina/CellComp
29ec7690e0d9adb1a6214937ca41fd1dadce18c6
[ "CNRI-Python", "RSA-MD", "Xnet", "Net-SNMP", "X11" ]
7
2019-05-13T10:07:44.000Z
2022-03-01T16:20:48.000Z
Tracker_Development/Tracker_Troubleshooting/Tracker_Tree_Reconstruction.py
The-Kristina/CellComp
29ec7690e0d9adb1a6214937ca41fd1dadce18c6
[ "CNRI-Python", "RSA-MD", "Xnet", "Net-SNMP", "X11" ]
null
null
null
Tracker_Development/Tracker_Troubleshooting/Tracker_Tree_Reconstruction.py
The-Kristina/CellComp
29ec7690e0d9adb1a6214937ca41fd1dadce18c6
[ "CNRI-Python", "RSA-MD", "Xnet", "Net-SNMP", "X11" ]
3
2020-04-23T18:13:20.000Z
2020-11-11T18:46:48.000Z
# TODO: Find out if you can reconstruct chopped trees from the tracker: import sys sys.path.append("../") from Cell_IDs_Analysis.Plotter_Lineage_Trees import PlotLineageTree raw_file = "/Volumes/lowegrp/Data/Kristina/MDCK_90WT_10Sc_NoComp/17_07_24/pos13/analysis/channel_RFP/cellIDdetails_raw.txt" xml_file = "/Volume...
39.333333
123
0.724576
114
708
4.280702
0.578947
0.043033
0.07377
0.090164
0.241803
0.241803
0.241803
0.241803
0.241803
0.241803
0
0.052373
0.137006
708
17
124
41.647059
0.746318
0.097458
0
0
0
0.083333
0.343799
0.315542
0
0
0
0.058824
0
1
0
false
0
0.166667
0
0.166667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8aef4b35b75cbb908a78f5d4b58f0250c481298b
4,567
py
Python
scripts/compare_neigh_overlap.py
cabrittin/elegansbrainmap
049a26a094e085bacc70f5b05ea04a007d00eb2c
[ "MIT" ]
2
2021-04-07T04:27:32.000Z
2021-08-15T19:26:21.000Z
scripts/compare_neigh_overlap.py
cabrittin/elegansbrainmap
049a26a094e085bacc70f5b05ea04a007d00eb2c
[ "MIT" ]
null
null
null
scripts/compare_neigh_overlap.py
cabrittin/elegansbrainmap
049a26a094e085bacc70f5b05ea04a007d00eb2c
[ "MIT" ]
2
2021-03-08T05:53:08.000Z
2021-04-07T04:27:37.000Z
""" compare_neigh_overlap.py Plots distributions of Jaccard distances for overlapping ipsilateral neighborhoods (blue) and homologous contralateral neighborhoods (red) in the adult and L4. crated: Christopher Brittin data: 01 November 2018 """ import os from configparser import ConfigParser,ExtendedInterpolation i...
37.434426
113
0.671338
642
4,567
4.580997
0.255452
0.054403
0.058143
0.033322
0.469228
0.393064
0.344101
0.317579
0.317579
0.211493
0
0.01507
0.186337
4,567
121
114
37.743802
0.776372
0.070506
0
0.247191
0
0
0.085714
0.007556
0
0
0
0
0
1
0.067416
false
0.089888
0.11236
0
0.179775
0
0
0
0
null
0
0
0
0
0
0
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
8af0217ebf291f4d520d2da316ab7baed961b7af
1,051
py
Python
nidaqmx/examples/contrib/alternate_on_off_slow.py
jkfindeisen/pylibnidaqmx
959dfe0db49574c4fc528a9f80632702167852c1
[ "BSD-3-Clause" ]
1
2015-06-10T11:10:26.000Z
2015-06-10T11:10:26.000Z
nidaqmx/examples/contrib/alternate_on_off_slow.py
jkfindeisen/pylibnidaqmx
959dfe0db49574c4fc528a9f80632702167852c1
[ "BSD-3-Clause" ]
null
null
null
nidaqmx/examples/contrib/alternate_on_off_slow.py
jkfindeisen/pylibnidaqmx
959dfe0db49574c4fc528a9f80632702167852c1
[ "BSD-3-Clause" ]
null
null
null
# with relatively loose timing constraints # turn on and off a digital output from __future__ import division from numpy import * import labdaq.daqmx as daqmx import labdaq.daq as daq import threading,time def min2sec(minutes): return minutes*60.0 ###### setup script parameters ######## long_duration = min2sec(...
25.02381
170
0.69648
139
1,051
5.122302
0.52518
0.033708
0.05618
0.044944
0
0
0
0
0
0
0
0.021557
0.205519
1,051
41
171
25.634146
0.831138
0.169363
0
0
0
0.035714
0.135991
0
0
0
0
0
0
0
null
null
0
0.178571
null
null
0.071429
0
0
0
null
0
0
0
0
0
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
c100032b5b5a7dde6ff12319f76414fc7eba6bf6
772
py
Python
core/migrations/0008_auto_20200409_0247.py
scottstanie/fashbowl
d723bd175ca37ec3d001ab01b1e552f8682c6cb6
[ "MIT" ]
1
2020-04-02T16:20:31.000Z
2020-04-02T16:20:31.000Z
core/migrations/0008_auto_20200409_0247.py
scottstanie/fashbowl
d723bd175ca37ec3d001ab01b1e552f8682c6cb6
[ "MIT" ]
9
2020-04-02T00:14:48.000Z
2021-06-10T20:02:14.000Z
core/migrations/0008_auto_20200409_0247.py
scottstanie/fashbowl
d723bd175ca37ec3d001ab01b1e552f8682c6cb6
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2020-04-09 02:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_auto_20200409_0223'), ] operations = [ migrations.RenameField( model_name='game', old_name='active_gue...
24.125
61
0.555699
76
772
5.421053
0.618421
0.087379
0.126214
0.123786
0.286408
0.286408
0.208738
0
0
0
0
0.062136
0.332902
772
31
62
24.903226
0.737864
0.059585
0
0.4
1
0
0.160221
0.031768
0
0
0
0
0
1
0
false
0
0.04
0
0.16
0
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
c102ec5e1e8bbc86e993c52fbaaef1711f018ec5
1,111
py
Python
tests/unit/time_manager/schemas/test_user.py
krjakbrjak/time_management
54ed55ddf0da9500722da4d0aafbc71ebfccc205
[ "MIT" ]
null
null
null
tests/unit/time_manager/schemas/test_user.py
krjakbrjak/time_management
54ed55ddf0da9500722da4d0aafbc71ebfccc205
[ "MIT" ]
8
2021-11-10T11:05:34.000Z
2021-11-14T16:07:25.000Z
tests/unit/time_manager/schemas/test_user.py
krjakbrjak/time_management
54ed55ddf0da9500722da4d0aafbc71ebfccc205
[ "MIT" ]
null
null
null
import pytest from time_manager.schemas.user import ( UserBase, UserCredentials, UserDB, UserDBBase, validate_username, ) @pytest.mark.parametrize( "username,should_raise", [ ("", True), (" ", True), (" -", True), ("- ", True), ("-a", True), ...
24.688889
75
0.567057
114
1,111
5.385965
0.324561
0.104235
0.043974
0.07329
0.208469
0.208469
0.208469
0.208469
0.208469
0.14658
0
0.012063
0.253825
1,111
44
76
25.25
0.728589
0
0
0.153846
0
0
0.090909
0.018902
0
0
0
0
0.025641
1
0.051282
false
0.128205
0.051282
0
0.102564
0
0
0
0
null
0
0
0
0
0
0
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
c10424a73e9b47e96076baec558e6fce79f127ed
335
py
Python
Chapter10/10_03_print_statements.py
PacktPublishing/Mastering-ArcGIS-Enterprise-Administration
66edf0c2878f7766cdb9203a78bfa7a25218cdd0
[ "MIT" ]
6
2018-03-24T15:58:18.000Z
2022-03-20T00:39:39.000Z
Chapter10/10_03_print_statements.py
PacktPublishing/Mastering-ArcGIS-Enterprise-Administration
66edf0c2878f7766cdb9203a78bfa7a25218cdd0
[ "MIT" ]
null
null
null
Chapter10/10_03_print_statements.py
PacktPublishing/Mastering-ArcGIS-Enterprise-Administration
66edf0c2878f7766cdb9203a78bfa7a25218cdd0
[ "MIT" ]
null
null
null
import arcpy result = arcpy.GetCount_management( r"C:\Projects\GDBs\Sandbox.gdb\StudyAreas" ) record_count = int(result.getOutput(0)) if record_count > 0: arcpy.FeatureClassToFeatureClass_conversion( r"C:\Projects\GDBs\Sandbox.gdb\StudyAreas", r"C:\Projects\GDBs\Sandbox.gdb", "ActiveStu...
25.769231
51
0.707463
40
335
5.825
0.525
0.025751
0.128755
0.180258
0.39485
0.39485
0.291845
0
0
0
0
0.007168
0.167164
335
12
52
27.916667
0.827957
0
0
0
0
0
0.364179
0.316418
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
c1119481eb7156d282fc552db269120ae81a3060
3,239
py
Python
modules/action/exploit_jexboss.py
mrpnkt/apt2
542fb0593069c900303421f3f24a499ce8f3a6a8
[ "MIT" ]
37
2018-08-24T20:13:19.000Z
2022-02-22T08:41:24.000Z
modules/action/exploit_jexboss.py
zu3s/apt2-1
67325052d2713a363183c23188a67e98a379eec7
[ "MIT" ]
4
2020-06-14T23:16:45.000Z
2021-03-08T14:18:21.000Z
modules/action/exploit_jexboss.py
zu3s/apt2-1
67325052d2713a363183c23188a67e98a379eec7
[ "MIT" ]
23
2018-11-15T13:00:09.000Z
2021-08-07T18:53:04.000Z
import os import re from core.actionModule import actionModule from core.utils import Utils from core.keystore import KeyStore as kb class exploit_jexboss(actionModule): def __init__(self, config, display, lock): super(exploit_jexboss, self).__init__(config, display, lock) self.title = "Run JexBos...
46.942029
160
0.490584
330
3,239
4.760606
0.321212
0.020369
0.040738
0.020369
0.572884
0.572884
0.572884
0.572884
0.572884
0.572884
0
0.005291
0.358135
3,239
68
161
47.632353
0.750361
0.031491
0
0.528302
0
0
0.159591
0
0
0
0
0
0
0
null
null
0
0.09434
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
c122fb13e2179412fff65f5e6f740a35636c9100
374
py
Python
core/element.py
david-wm-sanders/oeo
1ce26ddcd83d957183eefaae508c2a6800d47e94
[ "MIT" ]
1
2019-07-28T04:40:16.000Z
2019-07-28T04:40:16.000Z
core/element.py
david-wm-sanders/oeo
1ce26ddcd83d957183eefaae508c2a6800d47e94
[ "MIT" ]
null
null
null
core/element.py
david-wm-sanders/oeo
1ce26ddcd83d957183eefaae508c2a6800d47e94
[ "MIT" ]
null
null
null
from enum import Enum, unique @unique class Element(Enum): Normal = 1 Fight = 2 Flying = 3 Poison = 4 Ground = 5 Rock = 6 Bug = 7 Ghost = 8 Steel = 9 Fire = 10 Water = 11 Grass = 12 Electric = 13 Psychic = 14 Ice = 15 Dragon = 16 Dark = 17 def _...
14.96
39
0.524064
51
374
3.764706
0.901961
0
0
0
0
0
0
0
0
0
0
0.110132
0.393048
374
25
39
14.96
0.735683
0
0
0
0
0
0.026667
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0.045455
0.954545
0
0
0
0
null
0
0
0
0
0
0
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
c125de4c20ff54c0489638adfc6d88c63976f6dc
703
py
Python
episodes/templatetags/episode_extras.py
jinpark/something-sunshine-django
e5c6dcea527dce6bc6bb95d3916567e028cf6c8c
[ "MIT" ]
null
null
null
episodes/templatetags/episode_extras.py
jinpark/something-sunshine-django
e5c6dcea527dce6bc6bb95d3916567e028cf6c8c
[ "MIT" ]
null
null
null
episodes/templatetags/episode_extras.py
jinpark/something-sunshine-django
e5c6dcea527dce6bc6bb95d3916567e028cf6c8c
[ "MIT" ]
null
null
null
from django import template from django.template.defaultfilters import stringfilter from django.conf import settings from urlparse import urlparse register = template.Library() @register.filter(is_safe=True) @stringfilter def xml_escape(string): """Replaces all unescaped xml characters""" return string.repla...
33.47619
127
0.716927
93
703
5.290323
0.548387
0.060976
0.04065
0
0
0
0
0
0
0
0
0.0064
0.110953
703
21
128
33.47619
0.7808
0.153627
0
0
0
0
0.061644
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c1359b0cad8edb5f3898299237a3223d50feda6f
2,592
py
Python
baiocas/transports/base.py
ViViDboarder/baiocas
c542e5febdefc62ce36ad3f3ec6358a0017de831
[ "BSD-3-Clause" ]
null
null
null
baiocas/transports/base.py
ViViDboarder/baiocas
c542e5febdefc62ce36ad3f3ec6358a0017de831
[ "BSD-3-Clause" ]
1
2015-07-03T16:45:12.000Z
2015-07-15T11:37:24.000Z
baiocas/transports/base.py
ViViDboarder/baiocas
c542e5febdefc62ce36ad3f3ec6358a0017de831
[ "BSD-3-Clause" ]
1
2019-07-25T00:36:19.000Z
2019-07-25T00:36:19.000Z
import logging import urllib.parse from tornado.ioloop import IOLoop from baiocas import errors from baiocas.channel_id import ChannelId from baiocas.message import Message class Transport(object): DEFAULT_MAXIMUM_NETWORK_DELAY = 10000 OPTION_MAXIMUM_NETWORK_DELAY = 'maximum_network_delay' def __init...
28.173913
80
0.64429
311
2,592
5.170418
0.289389
0.026119
0.05908
0.05597
0.137438
0.106343
0.106343
0.106343
0.072139
0
0
0.004208
0.26659
2,592
91
81
28.483516
0.841662
0
0
0.144928
0
0
0.097222
0.008102
0
0
0
0
0
1
0.217391
false
0
0.086957
0.057971
0.449275
0
0
0
0
null
0
0
0
0
0
0
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
c135cb816e69695f06cac9753a1bcf1475a0ce0a
321
py
Python
setup.py
ifigueroap/hdptest
46ae712da290bcb561f84283bb72e356ea86bf21
[ "MIT" ]
null
null
null
setup.py
ifigueroap/hdptest
46ae712da290bcb561f84283bb72e356ea86bf21
[ "MIT" ]
null
null
null
setup.py
ifigueroap/hdptest
46ae712da290bcb561f84283bb72e356ea86bf21
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name='hdptest', version='0.3', scripts=[], author="Ismael Figueroa", author_email="ifigueroap@gmail.com", description="Mecanismo simple para tests en Jupyter Notebooks", url="https://github.com/ifigueroap/hdptest", packages=setuptools.find_packages() ...
26.75
67
0.70405
36
321
6.222222
0.805556
0
0
0
0
0
0
0
0
0
0
0.007407
0.158879
321
12
68
26.75
0.822222
0
0
0
0
0
0.403727
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c13bedc7dfebd9fe9ece54a3be5162405d6f40c5
1,628
py
Python
server/server/events/migrations/0002_auto_20210624_1022.py
omert-visiblerisk/connective
c6b81700b35e2d8355ad1535b182093595fff8b7
[ "MIT" ]
4
2021-07-05T10:49:26.000Z
2021-11-24T11:34:43.000Z
server/server/events/migrations/0002_auto_20210624_1022.py
omert-visiblerisk/connective
c6b81700b35e2d8355ad1535b182093595fff8b7
[ "MIT" ]
39
2021-06-21T15:02:37.000Z
2022-02-28T15:07:42.000Z
server/server/events/migrations/0002_auto_20210624_1022.py
Eyal-VR/connective
46857dd79dc58f63c3afb9791ecf8adf853a6c57
[ "MIT" ]
17
2021-06-16T08:59:45.000Z
2021-09-29T11:35:38.000Z
# Generated by Django 3.1.11 on 2021-06-24 07:22 import django.core.validators from django.db import migrations, models import server.utils.model_fields class Migration(migrations.Migration): dependencies = [ ('users', '0004_auto_20210624_1022'), ('events', '0001_initial'), ] operations...
34.638298
165
0.621007
164
1,628
6.030488
0.420732
0.054601
0.084934
0.109201
0.500506
0.500506
0.427705
0.427705
0.380182
0.277048
0
0.03894
0.2586
1,628
46
166
35.391304
0.780447
0.028256
0
0.475
1
0
0.11519
0.057595
0
0
0
0
0
1
0
false
0
0.075
0
0.15
0
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
c14cb202d2f14fc0f1f8292d6bea7e64029a92e2
391
py
Python
asynctb/_tests/conftest.py
shamrin/asynctb
d06a77cb2e496108e73adc65e27d1d313592685a
[ "Apache-2.0", "MIT" ]
6
2020-07-02T16:43:15.000Z
2021-11-29T06:30:57.000Z
asynctb/_tests/conftest.py
shamrin/asynctb
d06a77cb2e496108e73adc65e27d1d313592685a
[ "Apache-2.0", "MIT" ]
2
2020-07-02T09:00:50.000Z
2020-07-26T06:39:09.000Z
asynctb/_tests/conftest.py
shamrin/asynctb
d06a77cb2e496108e73adc65e27d1d313592685a
[ "Apache-2.0", "MIT" ]
2
2020-07-05T01:25:37.000Z
2021-01-26T08:00:06.000Z
import pytest from asynctb._registry import HANDLING_FOR_CODE from asynctb._glue import ensure_installed @pytest.fixture def local_registry(): ensure_installed() prev_contents = list(HANDLING_FOR_CODE.items()) yield HANDLING_FOR_CODE.clear() HANDLING_FOR_CODE.update(prev_contents) @pytest.fixtur...
21.722222
51
0.792839
51
391
5.705882
0.431373
0.189003
0.257732
0.137457
0
0
0
0
0
0
0
0
0.132992
391
17
52
23
0.858407
0
0
0.307692
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.384615
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
c1512b991182de5c84f4cb76bf9c7b36cfead1a2
7,785
py
Python
scripts/create_catalog_for_gdal2tiles_tiles.py
granularag/pyspatial
8c6d53eeeabf1eedd222db95812453f83a6685bb
[ "BSD-3-Clause" ]
76
2016-03-23T19:47:19.000Z
2021-04-27T21:58:16.000Z
scripts/create_catalog_for_gdal2tiles_tiles.py
granularag/pyspatial
8c6d53eeeabf1eedd222db95812453f83a6685bb
[ "BSD-3-Clause" ]
15
2016-02-27T02:33:00.000Z
2018-01-11T18:53:39.000Z
scripts/create_catalog_for_gdal2tiles_tiles.py
granularag/pyspatial
8c6d53eeeabf1eedd222db95812453f83a6685bb
[ "BSD-3-Clause" ]
11
2016-02-10T22:53:05.000Z
2019-01-04T21:39:53.000Z
import os import sys import json import math import pprint import argparse import logging # log = logging.getLogger('geos.py') # log.propagate = False log = logging.getLogger(__file__) # logging.basicConfig(stream = sys.stderr, level=logging.DEBUG, format='%(filename)s:%(lineno)s %(levelname)s:%(message)s') logging.ba...
43.25
151
0.620039
952
7,785
4.776261
0.24895
0.036288
0.031669
0.020893
0.252034
0.207609
0.144711
0.11832
0.111062
0.046184
0
0.034387
0.260373
7,785
179
152
43.49162
0.755297
0.072961
0
0.119403
0
0.007463
0.275549
0.110164
0
0
0
0
0.014925
0
null
null
0
0.089552
null
null
0.029851
0
0
0
null
0
0
0
0
0
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
c15a5e8403813ad9bc2916dbdbb786b43c935f5d
2,110
py
Python
src/onegov/town6/views/files.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/town6/views/files.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/town6/views/files.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
from onegov.core.security import Private, Public from onegov.file import File from onegov.org.views.files import view_file_details, \ view_get_image_collection, view_upload_general_file, \ view_upload_image_file, view_file_digest, handle_sign,\ view_get_file_collection from onegov.town6 import TownApp from...
35.762712
78
0.770142
246
2,110
6.365854
0.182927
0.14751
0.07152
0.08046
0.49553
0.390805
0.284163
0.237548
0.204981
0.077905
0
0.001098
0.136493
2,110
58
79
36.37931
0.858397
0
0
0.116279
0
0
0.027488
0
0
0
0
0
0
1
0.162791
false
0
0.139535
0.162791
0.465116
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
c15bc0e32de354e3e61d123c20d9b6c3b029f90e
1,958
py
Python
tests/test_ilqr.py
lassepe/pyILQR
47bda0fc2abefe26acd547b9e0c91941e2b85a55
[ "MIT" ]
6
2021-11-09T02:37:20.000Z
2021-12-25T12:57:35.000Z
tests/test_ilqr.py
lassepe/pyILQR
47bda0fc2abefe26acd547b9e0c91941e2b85a55
[ "MIT" ]
null
null
null
tests/test_ilqr.py
lassepe/pyILQR
47bda0fc2abefe26acd547b9e0c91941e2b85a55
[ "MIT" ]
null
null
null
import numpy as np from pyilqr.costs import QuadraticCost from pyilqr.example_costs import SetpointTrackingCost from pyilqr.example_dynamics import UnicycleDynamics, BicycleDynamics from pyilqr.ocp import OptimalControlProblem from pyilqr.ilqr import ILQRSolver from pyilqr.strategies import FunctionStrategy def test...
35.6
87
0.722676
263
1,958
5.1673
0.201521
0.013245
0.10596
0.02649
0.736571
0.686534
0.686534
0.686534
0.662252
0.662252
0
0.029593
0.171604
1,958
54
88
36.259259
0.808261
0
0
0.55814
0
0
0
0
0
0
0
0
0.093023
1
0.046512
false
0
0.162791
0
0.209302
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
c165ed942a8a6a18c750b464de2dca9115910970
1,787
py
Python
src/web/modules/entrance/migrations/0036_auto_20170426_1205.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
5
2018-03-08T17:22:27.000Z
2018-03-11T14:20:53.000Z
src/web/modules/entrance/migrations/0036_auto_20170426_1205.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
263
2018-03-08T18:05:12.000Z
2022-03-11T23:26:20.000Z
src/web/modules/entrance/migrations/0036_auto_20170426_1205.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
6
2018-03-12T19:48:19.000Z
2022-01-14T04:58:52.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-04-26 07:05 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import modules.entrance.models.checking class Migration(migrations.Migration): dependencies = [ ('entrance', '0035_au...
34.365385
141
0.632345
175
1,787
6.251429
0.44
0.109689
0.137112
0.159049
0.335466
0.335466
0.287934
0.287934
0.287934
0.287934
0
0.024981
0.260772
1,787
51
142
35.039216
0.803179
0.038053
0
0.5
1
0
0.175408
0.04021
0
0
0
0
0
1
0
false
0
0.090909
0
0.159091
0
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
c16aaabc7a7c0e443d5dfb16bd02de1d7cda11b2
13,986
py
Python
Lib/site-packages/wx-2.8-msw-unicode/wx/tools/Editra/src/extern/dexml/__init__.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
11
2017-09-30T05:47:28.000Z
2019-04-15T11:58:40.000Z
Lib/site-packages/wx-2.8-msw-unicode/wx/tools/Editra/src/extern/dexml/__init__.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/wx-2.8-msw-unicode/wx/tools/Editra/src/extern/dexml/__init__.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
7
2018-02-13T10:22:39.000Z
2019-07-04T07:39:28.000Z
""" dexml: a dead-simple Object-XML mapper for Python Let's face it: xml is a fact of modern life. I'd even go so far as to say that it's *good* at what is does. But that doesn't mean it's easy to work with and it doesn't mean that we have to like it. Most of the time, XML just needs to get the hell out of the ...
38.423077
137
0.573931
1,724
13,986
4.529002
0.230858
0.02395
0.018443
0.009221
0.286501
0.230277
0.178279
0.146644
0.130123
0.121542
0
0.004213
0.338052
13,986
363
138
38.528926
0.839166
0.036537
0
0.393365
0
0
0.050656
0
0
0
0
0
0
0
null
null
0
0.018957
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
c17aa46e6ae1b0337a5db043b62d8f5fe25f058a
361
py
Python
Backend/src/energytransfers/migrations/0002_auto_20200514_1708.py
Valle1806/EnergyCorp
aba09105eedcb7dc694b201e50953e19e4e2936b
[ "MIT" ]
1
2021-01-21T08:30:57.000Z
2021-01-21T08:30:57.000Z
Backend/src/energytransfers/migrations/0002_auto_20200514_1708.py
ChristianTaborda/Energycorp
2447b5af211501450177b0b60852dcb31d6ca12d
[ "MIT" ]
null
null
null
Backend/src/energytransfers/migrations/0002_auto_20200514_1708.py
ChristianTaborda/Energycorp
2447b5af211501450177b0b60852dcb31d6ca12d
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-05-14 17:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('energytransfers', '0001_initial'), ] operations = [ migrations.RenameField( model_name='counter', old_name='counter', ...
19
47
0.581717
37
361
5.567568
0.783784
0.106796
0
0
0
0
0
0
0
0
0
0.075697
0.304709
361
18
48
20.055556
0.74502
0.124654
0
0
1
0
0.146497
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c17c60fab9c88ecd3b5fc9a676b4ed6073207983
564
py
Python
backend/unpp_api/apps/partner/migrations/0017_auto_20170920_0639.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
6
2017-11-21T10:00:44.000Z
2022-02-12T16:51:48.000Z
backend/unpp_api/apps/partner/migrations/0017_auto_20170920_0639.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
995
2017-07-31T02:08:36.000Z
2022-03-08T22:44:03.000Z
backend/unpp_api/apps/partner/migrations/0017_auto_20170920_0639.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
1
2021-07-21T10:45:15.000Z
2021-07-21T10:45:15.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-09-20 06:39 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('partner', '0016_auto_20170920_0340'), ] operations = [ migrations.AlterFiel...
26.857143
143
0.661348
62
564
5.822581
0.790323
0.044321
0
0
0
0
0
0
0
0
0
0.075515
0.225177
564
20
144
28.2
0.750572
0.120567
0
0
1
0
0.20284
0.046653
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c17cf7c6c8d62937b059636d643d69a97534ccb1
2,111
py
Python
backend/proxy/api.py
LukasPietzschmann/FitnessApp
d47858aff9b5a70d7664c29c766d06c6cccb6b09
[ "MIT" ]
null
null
null
backend/proxy/api.py
LukasPietzschmann/FitnessApp
d47858aff9b5a70d7664c29c766d06c6cccb6b09
[ "MIT" ]
null
null
null
backend/proxy/api.py
LukasPietzschmann/FitnessApp
d47858aff9b5a70d7664c29c766d06c6cccb6b09
[ "MIT" ]
null
null
null
''' Authors: Lukas Pietzschmann, Johannes Schenker, Vincent Ugrai ''' # FIXME Behebe möglichen fehler mit Flask: # https://github.com/flask-restful/flask-restful/pull/913 # import flask.scaffold # flask.helpers._endpoint_from_view_func = flask.scaffold._endpoint_from_view_funcfrom flask import Flask, request, make_res...
37.035088
129
0.730459
308
2,111
4.857143
0.431818
0.074866
0.042781
0.037433
0.055481
0.055481
0.055481
0.055481
0
0
0
0.010817
0.124112
2,111
57
130
37.035088
0.798269
0.185694
0
0.047619
0
0
0.179742
0
0
0
0
0.017544
0
1
0.02381
false
0
0.142857
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c17d78b310f5a4a664ac432ca977fbcf3adff1f9
603
py
Python
ambientlight/__main__.py
ArnauP/responsive-ambientlight
eafecd96ee0463216751009dc989170a8363305f
[ "MIT" ]
null
null
null
ambientlight/__main__.py
ArnauP/responsive-ambientlight
eafecd96ee0463216751009dc989170a8363305f
[ "MIT" ]
null
null
null
ambientlight/__main__.py
ArnauP/responsive-ambientlight
eafecd96ee0463216751009dc989170a8363305f
[ "MIT" ]
null
null
null
from PyQt5.QtWidgets import QApplication from PyQt5.QtGui import QIcon, QFont from .controllers.simulation_controller import SimulationController from .controllers.main_controller import MainController from .utils import utils def main(): app = QApplication([]) app.setWindowIcon(QIcon(utils.get_path('ambien...
27.409091
89
0.752902
74
603
5.905405
0.513514
0.04119
0.05492
0.10984
0.15103
0
0
0
0
0
0
0.007678
0.135987
603
21
90
28.714286
0.831094
0
0
0
0
0
0.15257
0.131012
0
0
0
0
0
1
0.066667
false
0
0.333333
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
c184b59a4d7c701ab5051885c9d01ad5ca81b129
7,717
py
Python
tests/conftest.py
ranhorev/pysmartthings
23e3c360cbcaf460258b779a268d0d07f12ad279
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
ranhorev/pysmartthings
23e3c360cbcaf460258b779a268d0d07f12ad279
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
ranhorev/pysmartthings
23e3c360cbcaf460258b779a268d0d07f12ad279
[ "Apache-2.0" ]
null
null
null
"""Define test configuration.""" import glob import re import pytest from pysmartthings.api import ( API_APP, API_APP_OAUTH, API_APP_OAUTH_GENERATE, API_APP_SETTINGS, API_APPS, API_BASE, API_DEVICE, API_DEVICE_COMMAND, API_DEVICE_HEALTH, API_DEVICE_STATUS, ...
33.406926
88
0.674096
911
7,717
5.399561
0.217344
0.03456
0.04879
0.022769
0.442976
0.398862
0.390323
0.326286
0.250457
0.23826
0
0.052395
0.220941
7,717
230
89
33.552174
0.765802
0.071142
0
0.260638
1
0
0.206377
0.147391
0
0
0
0
0
1
0.021277
false
0
0.031915
0
0.058511
0
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
c18d893bcaf1aa2c9ed8f540980d7bca6ade7aa8
2,391
py
Python
dicomtrolley/core.py
michelkok/dicomtrolley
e20def0fc6f3ee132368a168e07ed3c17c5431fe
[ "Apache-2.0" ]
null
null
null
dicomtrolley/core.py
michelkok/dicomtrolley
e20def0fc6f3ee132368a168e07ed3c17c5431fe
[ "Apache-2.0" ]
null
null
null
dicomtrolley/core.py
michelkok/dicomtrolley
e20def0fc6f3ee132368a168e07ed3c17c5431fe
[ "Apache-2.0" ]
null
null
null
"""Provides common base classes that allow different modules to talk to each other.""" from itertools import chain from typing import Sequence from pydantic.main import BaseModel from pydicom.dataset import Dataset from dicomtrolley.exceptions import DICOMTrolleyException class DICOMObject(BaseModel): """An obj...
27.170455
86
0.66123
273
2,391
5.717949
0.417582
0.038437
0.038437
0.048687
0.066624
0
0
0
0
0
0
0.001688
0.256796
2,391
87
87
27.482759
0.876759
0.370974
0
0.157895
0
0
0.062222
0
0
0
0
0
0
1
0.184211
false
0
0.131579
0.026316
0.736842
0
0
0
0
null
0
0
0
0
0
0
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
c19879ad79651dab2e29e6eb5d7cb2748c0fe7b3
2,548
py
Python
src/awsCluster/chipSeq/ChipPipelineManager.py
AspirinCode/jupyter-genomics
d45526fab3de8fcc3d9fef005d4e39368ff3dfdc
[ "MIT" ]
2
2019-01-04T08:17:27.000Z
2021-04-10T02:59:35.000Z
src/cirrus_ngs/deprecated/chipSeq/ChipPipelineManager.py
miko-798/cirrus-ngs
2c005f0fe29e298652ed2164e08ada75e908229b
[ "MIT" ]
null
null
null
src/cirrus_ngs/deprecated/chipSeq/ChipPipelineManager.py
miko-798/cirrus-ngs
2c005f0fe29e298652ed2164e08ada75e908229b
[ "MIT" ]
2
2021-09-10T02:57:51.000Z
2021-09-21T00:16:56.000Z
__author__ = 'Guorong Xu<g1xu@ucsd.edu>' import os import YamlFileMaker from util import DesignFileLoader from cfnCluster import ConnectionManager workspace = "/shared/workspace/ChiPSeqPipeline" data_dir = "/shared/workspace/data_archive/ChiPSeq" ## run all analysis from download, alignment, counting and differenti...
41.770492
133
0.742936
308
2,548
5.814935
0.327922
0.055276
0.026801
0.042434
0.419877
0.350642
0.240089
0.240089
0.240089
0.240089
0
0.007955
0.161303
2,548
61
134
41.770492
0.830136
0.072998
0
0
0
0.02439
0.273384
0.145833
0
0
0
0
0
0
null
null
0
0.097561
null
null
0.146341
0
0
0
null
0
0
0
0
0
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
c19ed6615f84f7912d55685bdf60f361e59dc517
318
py
Python
data-science/exercicios/livro-introducao-a-programacao-com-python/capitulo-2/exercicio2-6.py
joaovictor-loureiro/data-science
21ad240e1db94d614e54fcb3fbf6ef74a78af9d8
[ "MIT" ]
null
null
null
data-science/exercicios/livro-introducao-a-programacao-com-python/capitulo-2/exercicio2-6.py
joaovictor-loureiro/data-science
21ad240e1db94d614e54fcb3fbf6ef74a78af9d8
[ "MIT" ]
null
null
null
data-science/exercicios/livro-introducao-a-programacao-com-python/capitulo-2/exercicio2-6.py
joaovictor-loureiro/data-science
21ad240e1db94d614e54fcb3fbf6ef74a78af9d8
[ "MIT" ]
null
null
null
# Exercício 2.6 - Modifique o programa da listagem 2.11, de forma que ele calcule um # aumento de 15% para um salário de R$ 750 salario = 750.00 taxa_aumento = 0.15 aumento = salario * taxa_aumento novo_salario = salario + aumento print('\nSálario de R$750.00 + aumento de 15' + '% = ' + 'R$%.2f\n' % (novo_salario))
35.333333
85
0.694969
54
318
4.018519
0.555556
0.082949
0.101382
0
0
0
0
0
0
0
0
0.1
0.18239
318
9
85
35.333333
0.734615
0.386792
0
0
0
0
0.253886
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
c1a090099134b68fb76ca41e7d96a09d8f2db91e
1,117
py
Python
licensed/Docker-x86_64/build_scripts/set_sparknlp_env.py
DevinTDHa/spark-nlp-starter-scripts
b04c5a185d3e56ecc36aa420b4a8b78e62ee43ac
[ "Apache-2.0" ]
1
2021-06-21T04:35:46.000Z
2021-06-21T04:35:46.000Z
licensed/Docker-x86_64/build_scripts/set_sparknlp_env.py
DevinTDHa/spark-nlp-starter-scripts
b04c5a185d3e56ecc36aa420b4a8b78e62ee43ac
[ "Apache-2.0" ]
3
2021-06-11T15:05:51.000Z
2021-06-24T17:25:06.000Z
licensed/Docker-x86_64/build_scripts/set_sparknlp_env.py
hatrungduc/spark-nlp-starter-scripts
b04c5a185d3e56ecc36aa420b4a8b78e62ee43ac
[ "Apache-2.0" ]
null
null
null
import json import os import re import os.path sparknlp_versions = {"PUBLIC_VERSION": "3.1.0"} WORKDIR = "/build_scripts" with open(WORKDIR + "/spark_nlp_for_healthcare.json", "r") as f: sparknlp_versions.update(json.load(f).items()) with open(WORKDIR + "/spark_ocr.json", "r") as f: ocr_version_pattern = re...
33.848485
74
0.61504
155
1,117
4.16129
0.283871
0.272868
0.105426
0.083721
0.097674
0.097674
0
0
0
0
0
0.004751
0.246195
1,117
32
75
34.90625
0.761283
0
0
0.111111
0
0
0.241719
0.098478
0
0
0
0
0
1
0
false
0
0.148148
0
0.148148
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
c1a8a733880fd472a1bd5dcd7ca9c42d18cdec3f
2,432
py
Python
books/models.py
TareqMonwer/reading-track
dfa1e922703a1fc6d2fa65bc3449dab54c49074a
[ "bzip2-1.0.6" ]
1
2020-11-01T22:02:43.000Z
2020-11-01T22:02:43.000Z
books/models.py
TareqMonwer/reading-track
dfa1e922703a1fc6d2fa65bc3449dab54c49074a
[ "bzip2-1.0.6" ]
7
2020-06-05T20:34:48.000Z
2022-03-12T00:16:02.000Z
books/models.py
TareqMonwer/reading-track
dfa1e922703a1fc6d2fa65bc3449dab54c49074a
[ "bzip2-1.0.6" ]
null
null
null
import datetime from django.db import models from django.utils import timezone class Book(models.Model): STATUS_CHOICES = ( ('C', 'Completed'), ('R', 'Reading'), ('W', 'WhishList'), ) PRIORITY_CHOICES = ( ('h', 'high'), ('m', 'mid'), ('l', 'low'), )...
28.952381
72
0.588405
297
2,432
4.643098
0.272727
0.081218
0.091371
0.121827
0.677302
0.639594
0.609137
0.609137
0.552574
0.39884
0
0.01418
0.275082
2,432
84
73
28.952381
0.768009
0
0
0.666667
0
0
0.090423
0
0
0
0
0
0
1
0.086957
false
0
0.043478
0.028986
0.550725
0
0
0
0
null
0
0
0
0
0
0
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
c1b3de72204768f876d20194d771ef1cc3b6869e
2,698
py
Python
dashboard/views/containers.py
alefeans/docker_dashboard
f6f73a066fd2b97a1ad7682f3d8d2cd2436cd62c
[ "MIT" ]
3
2019-07-23T13:53:45.000Z
2019-08-08T12:43:45.000Z
dashboard/views/containers.py
alefeans/docker_dashboard
f6f73a066fd2b97a1ad7682f3d8d2cd2436cd62c
[ "MIT" ]
4
2020-02-12T01:03:09.000Z
2022-02-10T12:39:16.000Z
dashboard/views/containers.py
alefeans/docker_dashboard
f6f73a066fd2b97a1ad7682f3d8d2cd2436cd62c
[ "MIT" ]
3
2020-12-22T09:38:46.000Z
2022-03-29T08:11:38.000Z
from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from dashboard.helpers import (list_container, start_container, stop_container, ...
29.326087
89
0.59785
277
2,698
5.65343
0.209386
0.10728
0.153257
0.199234
0.628352
0.628352
0.583653
0.517241
0.517241
0.517241
0
0.020878
0.307635
2,698
91
90
29.648352
0.817452
0
0
0.478261
0
0
0.057079
0.027798
0
0
0
0
0
1
0.072464
false
0
0.072464
0
0.42029
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
c1caa2434f33830a78ae22257b52e16fcdd9ebf0
352
py
Python
xerosdk/apis/contacts.py
akshay-codemonk/xero-sdk-py
7a8ce6dee9914becd8737800e05f33102d780e1c
[ "MIT" ]
null
null
null
xerosdk/apis/contacts.py
akshay-codemonk/xero-sdk-py
7a8ce6dee9914becd8737800e05f33102d780e1c
[ "MIT" ]
null
null
null
xerosdk/apis/contacts.py
akshay-codemonk/xero-sdk-py
7a8ce6dee9914becd8737800e05f33102d780e1c
[ "MIT" ]
1
2020-01-06T04:57:44.000Z
2020-01-06T04:57:44.000Z
""" Xero Contacts API """ from .api_base import ApiBase class Contacts(ApiBase): """ Class for Contacts API """ GET_CONTACTS = "/api.xro/2.0/contacts" def get_all(self): """ Get all contacts Returns: List of all contacts """ return self._get...
14.666667
55
0.571023
41
352
4.756098
0.512195
0.169231
0
0
0
0
0
0
0
0
0
0.008368
0.321023
352
23
56
15.304348
0.807531
0.261364
0
0
0
0
0.106061
0.106061
0
0
0
0
0
1
0.2
false
0
0.2
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