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
dc27e9112b2e7f6835e04b3442e472d51ccba89e
685
py
Python
Sprint1Lecture/Module2/demo1_retrievesElement.py
marianvinas/CS_Notes
b43010dda5617336d7295d08f66fa24dbf786144
[ "MIT" ]
null
null
null
Sprint1Lecture/Module2/demo1_retrievesElement.py
marianvinas/CS_Notes
b43010dda5617336d7295d08f66fa24dbf786144
[ "MIT" ]
null
null
null
Sprint1Lecture/Module2/demo1_retrievesElement.py
marianvinas/CS_Notes
b43010dda5617336d7295d08f66fa24dbf786144
[ "MIT" ]
null
null
null
""" Challenge #1: Write a function that retrieves the last n elements from a list. Examples: - last([1, 2, 3, 4, 5], 1) ➞ [5] - last([4, 3, 9, 9, 7, 6], 3) ➞ [9, 7, 6] - last([1, 2, 3, 4, 5], 7) ➞ "invalid" - last([1, 2, 3, 4, 5], 0) ➞ [] Notes: - Return "invalid" if n exceeds the length of the list. - Return an emp...
22.833333
64
0.512409
134
685
2.649254
0.313433
0.084507
0.101408
0.11831
0.273239
0.273239
0.273239
0.061972
0
0
0
0.121272
0.265693
685
30
65
22.833333
0.576541
0.567883
0
0
0
0
0.024648
0
0
0
0
0.033333
0
1
0.1
false
0
0
0
0.4
0.4
0
0
0
null
0
0
0
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
dc3087b1cd6e043ab247cf9a5e6b80511711cc17
1,297
py
Python
cwa_qr/poster.py
MaZderMind/cwa-qr
60799315f1508483025e1e57000a5116dea78449
[ "MIT" ]
16
2021-04-22T07:12:18.000Z
2022-02-07T04:54:54.000Z
cwa_qr/poster.py
MaZderMind/cwa-qr
60799315f1508483025e1e57000a5116dea78449
[ "MIT" ]
10
2021-04-22T15:33:23.000Z
2022-03-06T10:54:07.000Z
cwa_qr/poster.py
MaZderMind/cwa-qr
60799315f1508483025e1e57000a5116dea78449
[ "MIT" ]
7
2021-04-22T12:37:20.000Z
2021-08-09T05:47:54.000Z
import io import os from svgutils import transform as svg_utils import qrcode.image.svg from cwa_qr import generate_qr_code, CwaEventDescription class CwaPoster(object): POSTER_PORTRAIT = 'portrait' POSTER_LANDSCAPE = 'landscape' TRANSLATIONS = { POSTER_PORTRAIT: { 'file': 'poster/p...
27.020833
104
0.625289
139
1,297
5.654676
0.42446
0.040712
0.147583
0
0
0
0
0
0
0
0
0.01332
0.247494
1,297
47
105
27.595745
0.792008
0
0
0
1
0
0.07633
0
0
0
0
0
0
1
0.025641
false
0
0.128205
0
0.282051
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dc353a0a9a2f3afa4d5df4e0a5dd29cb203037fa
803
py
Python
pageviews.py
priyankamandikal/arowf
0b0226da6c1f0d06360c9243334977f885b70a4c
[ "Apache-2.0" ]
7
2017-10-09T05:39:14.000Z
2019-06-26T18:26:40.000Z
pageviews.py
priyankamandikal/minireview
0b0226da6c1f0d06360c9243334977f885b70a4c
[ "Apache-2.0" ]
null
null
null
pageviews.py
priyankamandikal/minireview
0b0226da6c1f0d06360c9243334977f885b70a4c
[ "Apache-2.0" ]
3
2017-03-20T05:56:05.000Z
2018-12-19T03:07:09.000Z
from datetime import date, datetime, timedelta from traceback import format_exc from requests import get pageviews_url = 'https://wikimedia.org/api/rest_v1/metrics/pageviews/per-article' def format_date(d): return datetime.strftime(d, '%Y%m%d%H') def article_views(article, project='en.wikipedia', access='all-acce...
34.913043
135
0.737235
109
803
5.348624
0.568807
0.051458
0
0
0
0
0
0
0
0
0
0.014265
0.127024
803
23
136
34.913043
0.817404
0
0
0
0
0
0.197761
0
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.105263
0
0
0
null
0
0
0
0
0
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
dc37303245aa0b25a23b011f2a90851c1f3dd75f
2,619
py
Python
conftest.py
juju-solutions/kubeflow
b23fe95b8d239fd979f47784b51a8cb9284ccea4
[ "Apache-2.0" ]
null
null
null
conftest.py
juju-solutions/kubeflow
b23fe95b8d239fd979f47784b51a8cb9284ccea4
[ "Apache-2.0" ]
null
null
null
conftest.py
juju-solutions/kubeflow
b23fe95b8d239fd979f47784b51a8cb9284ccea4
[ "Apache-2.0" ]
null
null
null
import argparse import os # Use a custom parser that lets us require a variable from one of CLI or environment variable, # this way we can pass creds through CLI for local testing but via environment variables in CI class EnvDefault(argparse.Action): """Argument parser that accepts input from CLI (preferred) or a...
40.921875
108
0.670867
327
2,619
5.29052
0.409786
0.087861
0.036416
0.02659
0.072832
0.072832
0.072832
0.072832
0.072832
0.072832
0
0.007653
0.251623
2,619
63
109
41.571429
0.875
0.362734
0
0.162162
0
0
0.265356
0.027027
0
0
0
0
0
1
0.081081
false
0.162162
0.054054
0
0.162162
0
0
0
0
null
0
0
0
0
0
0
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
dc3da5a24d4fd4a5555347785b65914a5905c48f
728
py
Python
common/__init__.py
timmartin19/pycon-ripozo-tutorial
d6f68d0b7c8c8aacb090014c5ff1f34b21ded017
[ "MIT" ]
null
null
null
common/__init__.py
timmartin19/pycon-ripozo-tutorial
d6f68d0b7c8c8aacb090014c5ff1f34b21ded017
[ "MIT" ]
null
null
null
common/__init__.py
timmartin19/pycon-ripozo-tutorial
d6f68d0b7c8c8aacb090014c5ff1f34b21ded017
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from logging import config config.dictConfig({ 'version': 1, 'disable_existing_loggers': True, 'formatters': { 'standard': { 'format': '%...
22.75
111
0.541209
64
728
5.828125
0.609375
0.107239
0.171582
0
0
0
0
0
0
0
0
0.001957
0.298077
728
31
112
23.483871
0.727984
0
0
0.068966
0
0.034483
0.342033
0.123626
0
0
0
0
0
1
0
true
0
0.172414
0
0.172414
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
dc3dd9ba91b522b9cfe61eccaaba1f3a5d171d62
612
py
Python
2019_618_PickMaomao/2019_618_PickMaomao.py
yanaizhen/PythonApps
21c554980df00795e1af6a8a17224358222d28e5
[ "MIT" ]
1
2021-07-06T11:12:54.000Z
2021-07-06T11:12:54.000Z
2019_618_PickMaomao/2019_618_PickMaomao.py
yanaizhen/PythonApps
21c554980df00795e1af6a8a17224358222d28e5
[ "MIT" ]
null
null
null
2019_618_PickMaomao/2019_618_PickMaomao.py
yanaizhen/PythonApps
21c554980df00795e1af6a8a17224358222d28e5
[ "MIT" ]
2
2019-12-09T16:31:26.000Z
2021-08-15T08:09:37.000Z
# @Time : 2019/06/14 7:55AM # @Author : HGzhao # @File : 2019_618_PickMaomao.py import os,time def pick_maomao(): print(f"点 合合卡 按钮") os.system('adb shell input tap 145 1625') time.sleep(1) print(f"点 进店找卡 按钮") os.system('adb shell input tap 841 1660') time.sleep(13) print(f"猫猫出现啦,点击得...
23.538462
54
0.630719
104
612
3.673077
0.5
0.078534
0.143979
0.209424
0.447644
0.350785
0.136126
0
0
0
0
0.140725
0.23366
612
26
55
23.538462
0.673774
0.130719
0
0.210526
0
0
0.36673
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.105263
0.263158
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
dc3e7021531cfd65338ffc0247d5d19af8ab45a7
676
py
Python
examples/helix-example/helix_example/components/python.py
HELIX-Datasets/helix
7b89b4139e580518b58e109a96ef70f2a71bb780
[ "MIT" ]
7
2021-12-15T03:22:29.000Z
2022-03-09T16:11:08.000Z
examples/helix-example/helix_example/components/python.py
HELIX-Datasets/helix
7b89b4139e580518b58e109a96ef70f2a71bb780
[ "MIT" ]
10
2021-09-14T16:39:31.000Z
2021-09-14T21:41:49.000Z
examples/helix-example/helix_example/components/python.py
HELIX-Datasets/helix
7b89b4139e580518b58e109a96ef70f2a71bb780
[ "MIT" ]
1
2022-01-31T00:01:58.000Z
2022-01-31T00:01:58.000Z
from helix import component class ExamplePythonComponent(component.Component): """An example Python component.""" name = "example-python-component" verbose_name = "Example Python Component" type = "example" version = "1.0.0" description = "An example Python component" date = "2020-10-20 1...
23.310345
63
0.587278
69
676
5.73913
0.536232
0.164141
0.222222
0.121212
0
0
0
0
0
0
0
0.043726
0.221893
676
28
64
24.142857
0.709125
0.04142
0
0
0
0
0.348837
0.046512
0
0
0
0
0
1
0
false
0
0.0625
0
0.8125
0.0625
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
dc40fe59f59a392bcc67c51aae722672e0bfc90e
8,263
py
Python
functions/email_habit_survey.py
jamesshapiro/aws-habit-tracker
bbae9866dc4ce744832e42d02a997fc9bebda517
[ "MIT" ]
null
null
null
functions/email_habit_survey.py
jamesshapiro/aws-habit-tracker
bbae9866dc4ce744832e42d02a997fc9bebda517
[ "MIT" ]
null
null
null
functions/email_habit_survey.py
jamesshapiro/aws-habit-tracker
bbae9866dc4ce744832e42d02a997fc9bebda517
[ "MIT" ]
null
null
null
import os import json import boto3 import datetime import hashlib import secrets import time from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText table_name = os.environ['DDB_TABLE'] ses_client = boto3.client('ses') ddb_client = boto3.client('dynamodb') unsubscribe_url = os.environ['UNS...
40.11165
265
0.572673
998
8,263
4.674349
0.340681
0.005145
0.025723
0.032583
0.26881
0.229153
0.209646
0.183708
0.183708
0.142551
0
0.056973
0.245916
8,263
205
266
40.307317
0.6909
0.011618
0
0.164103
0
0.076923
0.627557
0.214452
0
0
0
0
0
1
0.015385
false
0
0.046154
0
0.082051
0.020513
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dc61c240ace363029e65db44548f6e19544dc644
5,077
py
Python
NaiveNeurals/MLP/activation_functions.py
stovorov/NaiveNeurals
88d91f3d4d39859eef372285f093643a447571a4
[ "MIT" ]
1
2019-01-16T13:45:47.000Z
2019-01-16T13:45:47.000Z
NaiveNeurals/MLP/activation_functions.py
stovorov/NaiveNeurals
88d91f3d4d39859eef372285f093643a447571a4
[ "MIT" ]
2
2020-03-24T16:17:06.000Z
2020-03-30T23:53:16.000Z
NaiveNeurals/MLP/activation_functions.py
stovorov/NaiveNeurals
88d91f3d4d39859eef372285f093643a447571a4
[ "MIT" ]
null
null
null
"""Module containing definitions of arithmetic functions used by perceptrons""" from abc import ABC, abstractmethod import numpy as np from NaiveNeurals.utils import ErrorAlgorithm class ActivationFunction(ABC): """Abstract function for defining functions""" label = '' @staticmethod @abstractmeth...
26.035897
102
0.614142
598
5,077
5.202341
0.212375
0.063002
0.038573
0.04243
0.454516
0.422694
0.403729
0.387978
0.295403
0.232401
0
0.007343
0.275753
5,077
194
103
26.170103
0.838727
0.398267
0
0.478873
0
0
0.016602
0
0
0
0
0
0
1
0.197183
false
0
0.042254
0
0.633803
0
0
0
0
null
0
0
0
0
0
0
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
dc65314f9ccc4d000bf72b8fe66d6e754777b9ee
502
py
Python
postmark_incoming/models.py
hkhanna/django-postmark-incoming
aa49b08ae27abf25bd164ac145de20e28b978725
[ "MIT" ]
null
null
null
postmark_incoming/models.py
hkhanna/django-postmark-incoming
aa49b08ae27abf25bd164ac145de20e28b978725
[ "MIT" ]
null
null
null
postmark_incoming/models.py
hkhanna/django-postmark-incoming
aa49b08ae27abf25bd164ac145de20e28b978725
[ "MIT" ]
null
null
null
import logging from django.db import models logger = logging.getLogger(__name__) class PostmarkWebhook(models.Model): received_at = models.DateTimeField(auto_now_add=True) body = models.JSONField() headers = models.JSONField() note = models.TextField(blank=True) class Status(models.TextChoices):...
23.904762
66
0.687251
56
502
6.017857
0.642857
0.089021
0
0
0
0
0
0
0
0
0
0.007576
0.211155
502
20
67
25.1
0.843434
0
0
0
0
0
0.033865
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
dc66e87ae5e869bb818c926e0d037764b9733b9b
2,948
py
Python
email_api/api/migrations/0001_initial.py
PawlikMateusz/DjangoEmailRestApi
1701033de109432a36252ce88389111c65e77249
[ "MIT" ]
null
null
null
email_api/api/migrations/0001_initial.py
PawlikMateusz/DjangoEmailRestApi
1701033de109432a36252ce88389111c65e77249
[ "MIT" ]
null
null
null
email_api/api/migrations/0001_initial.py
PawlikMateusz/DjangoEmailRestApi
1701033de109432a36252ce88389111c65e77249
[ "MIT" ]
null
null
null
# Generated by Django 2.0.13 on 2019-02-28 19:18 import django.contrib.postgres.fields from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( ...
44.666667
147
0.592605
303
2,948
5.643564
0.313531
0.047368
0.067251
0.076023
0.587719
0.545614
0.509357
0.487719
0.487719
0.451462
0
0.021237
0.265265
2,948
65
148
45.353846
0.768236
0.015604
0
0.448276
1
0
0.073103
0
0
0
0
0
0
1
0
false
0.017241
0.068966
0
0.137931
0
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
dc7db988b842558ad78f3ddf6acf90c07a5a88a6
1,227
py
Python
api/needley/models.py
kino-ma/needley
ae0463d24aed64f37385385415c766a43fa7d1d4
[ "MIT" ]
null
null
null
api/needley/models.py
kino-ma/needley
ae0463d24aed64f37385385415c766a43fa7d1d4
[ "MIT" ]
4
2021-01-28T02:35:40.000Z
2021-02-17T10:51:31.000Z
api/needley/models.py
kino-ma/python-portfolio
ae0463d24aed64f37385385415c766a43fa7d1d4
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone from django.core.validators import MinLengthValidator from django.contrib.auth.models import AbstractUser class User(AbstractUser): email = models.EmailField(unique=True) # Nickname is display name nickname = models.CharField( validato...
31.461538
82
0.698452
152
1,227
5.519737
0.5
0.047676
0.103695
0.114422
0.288439
0.1764
0.126341
0
0
0
0
0.011294
0.206194
1,227
38
83
32.289474
0.850103
0.183374
0
0.08
0
0
0.01608
0
0
0
0
0
0
1
0.08
false
0
0.16
0.08
0.72
0
0
0
0
null
0
0
0
0
0
0
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
dc88577e170bf6ccee3242427067dd649b90ce5d
661
py
Python
Modules/secreat-message.py
cclauss/pythonCodes
feee6fda9fcab90b6eda7b97e1c50af21861df4e
[ "MIT" ]
null
null
null
Modules/secreat-message.py
cclauss/pythonCodes
feee6fda9fcab90b6eda7b97e1c50af21861df4e
[ "MIT" ]
null
null
null
Modules/secreat-message.py
cclauss/pythonCodes
feee6fda9fcab90b6eda7b97e1c50af21861df4e
[ "MIT" ]
null
null
null
#This file contain examples for os module #What is os module? #is a module using for list files in folder, we can get name of current working directory #rename files , write on files import os def rename_files(): # (1) get file names from a folder file_list = os.listdir(r"C:\Users\user\Desktop\python\pythonCodes\...
31.47619
89
0.75643
112
661
4.366071
0.544643
0.07362
0.0409
0.04499
0.196319
0.196319
0.196319
0.196319
0.196319
0
0
0.019538
0.14826
661
21
90
31.47619
0.849023
0.411498
0
0.2
0
0
0.313316
0.287206
0
0
0
0
0
0
null
null
0
0.1
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
dc8ea639aefe380ccad355b48b1e7babaaca301c
1,922
py
Python
meiduo_mall/meiduo_mall/apps/contents/views.py
hgztlmb/meiduo_project
5eb3b875faa06db844c8ba842cc299eccd976311
[ "MIT" ]
2
2019-05-27T12:41:53.000Z
2019-06-11T02:58:00.000Z
meiduo_mall/meiduo_mall/apps/contents/views.py
hgztlmb/meiduo_project
5eb3b875faa06db844c8ba842cc299eccd976311
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/contents/views.py
hgztlmb/meiduo_project
5eb3b875faa06db844c8ba842cc299eccd976311
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views import View from goods.models import GoodsChannel from contents.models import ContentCategory from .utils import get_categories class IndexView(View): def get(self, request): # 定义一个字典categories包装所有数据 # categories = {} # # 查询出所有商品频道数据并按照...
35.592593
88
0.564516
178
1,922
5.91573
0.455056
0.059829
0.042735
0.034188
0.041785
0
0
0
0
0
0
0.010148
0.333507
1,922
53
89
36.264151
0.811866
0.510406
0
0
0
0
0.040268
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
dc92728440353e2f2240052acb296267123bd464
21,328
py
Python
dist/Basilisk/fswAlgorithms/rwMotorVoltage/rwMotorVoltage.py
ian-cooke/basilisk_mag
a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14
[ "0BSD" ]
null
null
null
dist/Basilisk/fswAlgorithms/rwMotorVoltage/rwMotorVoltage.py
ian-cooke/basilisk_mag
a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14
[ "0BSD" ]
1
2019-03-13T20:52:22.000Z
2019-03-13T20:52:22.000Z
dist/Basilisk/fswAlgorithms/rwMotorVoltage/rwMotorVoltage.py
ian-cooke/basilisk_mag
a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14
[ "0BSD" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.12 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info >= (2, 7, 0): def swig_im...
49.256351
177
0.790463
1,969
21,328
7.891823
0.117318
0.159727
0.029539
0.053285
0.316365
0.152519
0.11661
0.095888
0.079542
0.079542
0
0.001365
0.14141
21,328
432
178
49.37037
0.847204
0.013832
0
0.317333
1
0
0.053037
0.002093
0
0
0
0
0
1
0.082667
false
0.008
0.056
0.045333
0.344
0
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
dc9cf14d3bafd94c1a7db1cea9146e94b8b3873a
1,574
py
Python
sms.py
varunotelli/Gujarat
c5e757026feba3938162eeda21ebf6ff96ff3468
[ "MIT" ]
2
2019-08-21T15:35:00.000Z
2021-04-30T14:58:04.000Z
sms.py
varunotelli/E-Seva
c5e757026feba3938162eeda21ebf6ff96ff3468
[ "MIT" ]
10
2018-03-25T20:32:05.000Z
2018-04-03T06:33:03.000Z
sms.py
varunotelli/E-Seva
c5e757026feba3938162eeda21ebf6ff96ff3468
[ "MIT" ]
null
null
null
import urllib.request, urllib.error, urllib.parse import http.cookiejar from getpass import getpass import sys def send(number,scheme): username="9791011603" passwd="D5222M" message="You have successfully been enrolled for "+scheme ''' username = input("Enter Username: ") passwd = getpass() message = input("En...
30.269231
145
0.695044
213
1,574
5.065728
0.507042
0.02595
0.035218
0.037071
0.120482
0.07785
0.07785
0.07785
0.07785
0
0
0.059341
0.132783
1,574
52
146
30.269231
0.731136
0.083863
0
0.142857
0
0.035714
0.356535
0
0
0
0
0
0
1
0.035714
false
0.107143
0.142857
0
0.214286
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
dc9cf905743fa7cb5e599cce0ef947cd502fe5fb
1,169
py
Python
tests/python-playground/tv_1d_0.py
marcocannici/scs
799a4f7daed4294cd98c73df71676195e6c63de4
[ "MIT" ]
25
2017-06-30T15:31:33.000Z
2021-04-21T20:12:18.000Z
tests/python-playground/tv_1d_0.py
marcocannici/scs
799a4f7daed4294cd98c73df71676195e6c63de4
[ "MIT" ]
34
2017-06-07T01:18:17.000Z
2021-04-24T09:44:00.000Z
tests/python-playground/tv_1d_0.py
marcocannici/scs
799a4f7daed4294cd98c73df71676195e6c63de4
[ "MIT" ]
13
2017-06-07T01:16:09.000Z
2021-06-07T09:12:56.000Z
# This is automatically-generated code. # Uses the jinja2 library for templating. import cvxpy as cp import numpy as np import scipy as sp # setup problemID = "tv_1d_0" prob = None opt_val = None # Variable declarations np.random.seed(0) n = 100000 k = max(int(np.sqrt(n)/2), 1) x0 = np.ones((n,1)) idxs = np...
17.712121
69
0.640719
172
1,169
4.261628
0.47093
0.040928
0.027285
0.038199
0
0
0
0
0
0
0
0.03095
0.19846
1,169
65
70
17.984615
0.751334
0.176219
0
0
1
0
0.097689
0
0
0
0
0
0
1
0.030303
false
0
0.090909
0
0.121212
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dc9cfa85420ac5293533d515f08d8e42f1aa97a1
1,071
py
Python
src/pipeline.py
iyunbo/logz
e529188be8a232827dddf203b0c61bf32730ecff
[ "MIT" ]
null
null
null
src/pipeline.py
iyunbo/logz
e529188be8a232827dddf203b0c61bf32730ecff
[ "MIT" ]
3
2020-03-01T17:43:08.000Z
2020-03-01T17:50:43.000Z
src/pipeline.py
iyunbo/logx
e529188be8a232827dddf203b0c61bf32730ecff
[ "MIT" ]
null
null
null
"""Construction of the master pipeline. """ from typing import Dict from kedro.pipeline import Pipeline from .data import pipeline as de from .models import pipeline as ds ########################################################################### # Here you can find an example pipeline, made of two modular pipeli...
27.461538
75
0.616246
120
1,071
5.325
0.491667
0.068858
0.107981
0.084507
0
0
0
0
0
0
0
0
0.181139
1,071
38
76
28.184211
0.72862
0.449113
0
0
0
0
0.031447
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
dca244a29e158a60507829eefc5aceb50205134c
1,341
py
Python
Drivers/PS-228xS/PS228xS_Python_Sockets_Driver/PS228xS_Example.py
398786172/keithley
f78c5220841775a45ae60645c774e8b443b02ec3
[ "BSD-Source-Code" ]
31
2019-04-11T14:25:39.000Z
2022-03-18T15:09:33.000Z
Drivers/PS-228xS/PS228xS_Python_Sockets_Driver/PS228xS_Example.py
398786172/keithley
f78c5220841775a45ae60645c774e8b443b02ec3
[ "BSD-Source-Code" ]
27
2019-04-10T20:21:52.000Z
2021-12-09T01:59:32.000Z
Drivers/PS-228xS/PS228xS_Python_Sockets_Driver/PS228xS_Example.py
398786172/keithley
f78c5220841775a45ae60645c774e8b443b02ec3
[ "BSD-Source-Code" ]
30
2019-06-08T09:38:20.000Z
2022-03-18T15:10:37.000Z
#!/usr/bin/python import socket import struct import math import time import Keithley_PS228xS_Sockets_Driver as ps echoCmd = 1 #===== MAIN PROGRAM STARTS HERE ===== ipAddress1 = "134.63.78.214" ipAddress2 = "134.63.74.152" ipAddress3 = "134.63.78.214" port = 5025 timeout = 20.0 t1 = time.time() #ps.instrConnect(s...
22.35
80
0.756898
199
1,341
4.994975
0.437186
0.209256
0.070423
0.020121
0.134809
0
0
0
0
0
0
0.077879
0.099925
1,341
59
81
22.728814
0.74565
0.120805
0
0.052632
0
0
0.098123
0
0
0
0
0
0
1
0
false
0
0.131579
0
0.131579
0.210526
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
dca3d2cab2990fa6bda7c9d0fc5f20898f5d6657
2,424
py
Python
baseline/eval_sent.py
parallelcrawl/DataCollection
4308473e6b53779159a15c1416bff3f2291dd1f2
[ "Apache-2.0" ]
8
2018-02-08T16:03:00.000Z
2022-01-19T11:41:38.000Z
baseline/eval_sent.py
christianbuck/CorpusMining
f9248c3528a415a1e5af2c5a54a60c16cd79ff1d
[ "Apache-2.0" ]
3
2017-08-08T10:53:29.000Z
2017-08-08T10:58:51.000Z
baseline/eval_sent.py
parallelcrawl/DataCollection
4308473e6b53779159a15c1416bff3f2291dd1f2
[ "Apache-2.0" ]
4
2018-06-09T21:53:09.000Z
2022-01-19T11:41:48.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from strip_language_from_uri import LanguageStripper import urlparse correct, wrong = [], [] def strip_uri(uri, language_stripper): parsed_uri = urlparse.urlparse(uri) matched_language = language_stripper.match(parsed_uri.path) if not matched_lang...
36.727273
85
0.634076
280
2,424
5.217857
0.292857
0.055441
0.046543
0.051335
0.180698
0.13963
0.116359
0
0
0
0
0.002237
0.262376
2,424
65
86
37.292308
0.814877
0.017327
0
0.038462
0
0
0.042017
0
0
0
0
0
0.019231
0
null
null
0
0.076923
null
null
0.096154
0
0
0
null
0
0
0
0
0
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
dca7b5998d3f52978888cf82288345897a3e20b1
2,162
py
Python
UseImportJumpCommand.py
tinwatchman/Sublime-UseImport
a08770c4d1a32be947033a05e640afdf69fd95f1
[ "MIT" ]
null
null
null
UseImportJumpCommand.py
tinwatchman/Sublime-UseImport
a08770c4d1a32be947033a05e640afdf69fd95f1
[ "MIT" ]
null
null
null
UseImportJumpCommand.py
tinwatchman/Sublime-UseImport
a08770c4d1a32be947033a05e640afdf69fd95f1
[ "MIT" ]
null
null
null
import sublime, sublime_plugin import json import useutil class UseImportJumpCommand(sublime_plugin.TextCommand): def description(self): return 'Jump to File (Use-Import)' def is_enabled(self): return self.is_javascript_view() def is_visible(self): return self.is_javascrip...
34.31746
84
0.592044
259
2,162
4.733591
0.247104
0.084829
0.063622
0.065253
0.365416
0.319739
0.270799
0.270799
0.207178
0.207178
0
0
0.308973
2,162
62
85
34.870968
0.820616
0
0
0.245283
0
0
0.057354
0.042553
0
0
0
0
0
1
0.169811
false
0
0.283019
0.056604
0.679245
0
0
0
0
null
0
0
0
0
0
0
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
dca8bfe06cd9c25c611a5f5c53620c138ed89415
221
py
Python
ExerciciosPython/67- Tabuada.py
lucadomingues/Python
b129c03cb95dac2a0baf59461eef7667373dc52f
[ "MIT" ]
null
null
null
ExerciciosPython/67- Tabuada.py
lucadomingues/Python
b129c03cb95dac2a0baf59461eef7667373dc52f
[ "MIT" ]
null
null
null
ExerciciosPython/67- Tabuada.py
lucadomingues/Python
b129c03cb95dac2a0baf59461eef7667373dc52f
[ "MIT" ]
null
null
null
while True: print('\n--- MULTIPLICATION TABLE ---') num = int(input('Type a number integer: ')) if num < 0: break for c in range(1, 11): print(f'{c} X {num} = {c*num}') print('END PROGRAM')
27.625
47
0.533937
33
221
3.575758
0.787879
0
0
0
0
0
0
0
0
0
0
0.025
0.276018
221
8
48
27.625
0.7125
0
0
0
0
0
0.382883
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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
f4915d9213c03b46a6f7201a11146fd617cb2dbb
800
py
Python
src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/_exception_handler.py
viananth/azure-cli
4d23492ed03e946cfc11bae23b29acb971fb137d
[ "MIT" ]
null
null
null
src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/_exception_handler.py
viananth/azure-cli
4d23492ed03e946cfc11bae23b29acb971fb137d
[ "MIT" ]
null
null
null
src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/_exception_handler.py
viananth/azure-cli
4d23492ed03e946cfc11bae23b29acb971fb137d
[ "MIT" ]
1
2017-12-28T04:51:44.000Z
2017-12-28T04:51:44.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
42.105263
94
0.56375
77
800
5.779221
0.649351
0.047191
0.107865
0
0
0
0
0
0
0
0
0
0.1475
800
18
95
44.444444
0.652493
0.42
0
0
0
0
0.069717
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
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
f49e24bc85091e60f6700fa12214c8674aef6354
661
py
Python
racoon/view/error/custom.py
onukura/Racoon
96c96f2a37b8d33b35ca368c085d90e7a7caf105
[ "MIT" ]
3
2020-05-21T12:11:43.000Z
2020-06-08T13:04:40.000Z
racoon/view/error/custom.py
onukura/Racoon
96c96f2a37b8d33b35ca368c085d90e7a7caf105
[ "MIT" ]
6
2020-05-14T11:52:16.000Z
2020-05-23T18:03:23.000Z
racoon/view/error/custom.py
onukura/Racoon
96c96f2a37b8d33b35ca368c085d90e7a7caf105
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from flask import Blueprint, render_template bp_error = Blueprint("bp_error", __name__, url_prefix="/error") # Specific Error Handlers @bp_error.route("/default") def default(): return render_template( "error/error_base.html", error_code=500, header_n...
24.481481
65
0.635401
77
661
5.194805
0.532468
0.07
0.06
0.125
0.3
0.3
0.3
0.3
0.3
0.3
0
0.014056
0.246596
661
26
66
25.423077
0.789157
0.068079
0
0.333333
0
0
0.287905
0.07155
0
0
0
0
0
1
0.111111
false
0
0.055556
0.111111
0.277778
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
f4a2d6d380e2e0e8ef71012f0474f13521d69e9d
1,551
py
Python
classes/Friend.py
brandonwarech/book-tracker-capstone
d2b66db94a9be6b1577e2d8eb4b5b9d8eb87b790
[ "Apache-2.0" ]
null
null
null
classes/Friend.py
brandonwarech/book-tracker-capstone
d2b66db94a9be6b1577e2d8eb4b5b9d8eb87b790
[ "Apache-2.0" ]
null
null
null
classes/Friend.py
brandonwarech/book-tracker-capstone
d2b66db94a9be6b1577e2d8eb4b5b9d8eb87b790
[ "Apache-2.0" ]
1
2019-06-25T07:01:58.000Z
2019-06-25T07:01:58.000Z
import logging import sys import classes.iDb as db # Set Logging Level logging.basicConfig(level=logging.INFO) class Friend: def __init__(self, User, Friend): self.user_id = User.user_id self.friend_id = Friend.user_id pass def addFriend(self): pass def removeFriend(self)...
29.264151
113
0.523533
162
1,551
4.895062
0.450617
0.052963
0.034048
0.04918
0.201765
0.201765
0.201765
0.201765
0.201765
0.201765
0
0.009063
0.359768
1,551
53
114
29.264151
0.789527
0.094778
0
0.297297
0
0
0.147143
0
0
0
0
0
0
1
0.108108
false
0.081081
0.081081
0
0.297297
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
1
0
0
0
0
0
1
f4b256384aba49c788282f89f33675aa04a6159a
460
py
Python
setup.py
ovod88/studentsdb
ade2cff0eea7a13644a0f708133901457352ff5c
[ "MIT" ]
null
null
null
setup.py
ovod88/studentsdb
ade2cff0eea7a13644a0f708133901457352ff5c
[ "MIT" ]
null
null
null
setup.py
ovod88/studentsdb
ade2cff0eea7a13644a0f708133901457352ff5c
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='django-studentsdb-app', version='1.0', author=u'Vova Khrystenko', author_email='ovod88@bigmir.net', packages=find_packages(), license='BSD licence, see LICENCE.txt', description='Students DB application', long_description=open('RE...
27.058824
47
0.676087
54
460
5.611111
0.777778
0.079208
0
0
0
0
0
0
0
0
0
0.010667
0.184783
460
17
48
27.058824
0.797333
0
0
0
0
0
0.305857
0.045553
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f4b74cdb7ebe0043071f600b703680593e743888
3,020
py
Python
Scripts-python/addRulesIptables.py
Brotic66/Script-Python
fd9094efabacc38d4aec46d43cae20f83791d83b
[ "CNRI-Python" ]
null
null
null
Scripts-python/addRulesIptables.py
Brotic66/Script-Python
fd9094efabacc38d4aec46d43cae20f83791d83b
[ "CNRI-Python" ]
null
null
null
Scripts-python/addRulesIptables.py
Brotic66/Script-Python
fd9094efabacc38d4aec46d43cae20f83791d83b
[ "CNRI-Python" ]
null
null
null
# coding=utf-8 ''' Ce fichier contient un script permettant de lier une application web en, PHP 5.6 avec Symfony et doctrine, avec l'administration d'un serveur et nottament de son pare-feu (iptables) Permet d'ouvrir des ports pour des adresses IPs récupérer en base de données et ajouté via l'application web. ''' __au...
32.826087
181
0.648344
386
3,020
5.059585
0.42487
0.021505
0.036866
0.051203
0.160778
0.138249
0.138249
0.030722
0.030722
0
0
0.014669
0.209934
3,020
91
182
33.186813
0.803856
0.037417
0
0.150943
0
0.018868
0.239494
0
0
0
0
0
0
0
null
null
0
0.056604
null
null
0.150943
0
0
0
null
0
0
0
0
0
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
f4b8b68f4b6ed74ffd5cdd6c3f4a46584a38442e
1,266
py
Python
yolov5/temp.py
shuyansy/A-detection-and-recognition-pipeline-of-complex-meters-in-wild
15bc2b97078d3216cfd075ccba1cf2d2e42af54f
[ "MIT" ]
17
2022-03-20T05:41:51.000Z
2022-03-25T04:53:17.000Z
yolov5/temp.py
shuyansy/A-detection-and-recognition-pipeline-of-complex-meters-in-wild
15bc2b97078d3216cfd075ccba1cf2d2e42af54f
[ "MIT" ]
null
null
null
yolov5/temp.py
shuyansy/A-detection-and-recognition-pipeline-of-complex-meters-in-wild
15bc2b97078d3216cfd075ccba1cf2d2e42af54f
[ "MIT" ]
1
2022-03-23T03:06:51.000Z
2022-03-23T03:06:51.000Z
import os import cv2 import numpy as np from utils.augmentations import Albumentations, augment_hsv, copy_paste, letterbox from models.common import DetectMultiBackend from utils.datasets import IMG_FORMATS, VID_FORMATS, LoadImages, LoadStreams from utils.general import (LOGGER, check_file, check_img_size, check_imshow...
36.171429
117
0.751185
186
1,266
4.967742
0.548387
0.048701
0.025974
0
0
0
0
0
0
0
0
0.014747
0.14297
1,266
34
118
37.235294
0.836866
0.056872
0
0
0
0
0.072452
0.05813
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f4c3eeb99cd13bf33d9ab5ff221738ac9379ca5d
370
py
Python
common/migrations/0002_auto_20180722_1316.py
Red-Teapot/bbyaworld.com-django
6eb8febd2cfa304a062ac924240cbdf060499cfc
[ "MIT" ]
1
2020-01-11T18:04:15.000Z
2020-01-11T18:04:15.000Z
common/migrations/0002_auto_20180722_1316.py
Red-Teapot/bbyaworld.com-django
6eb8febd2cfa304a062ac924240cbdf060499cfc
[ "MIT" ]
2
2018-08-24T08:53:27.000Z
2019-07-05T16:08:28.000Z
common/migrations/0002_auto_20180722_1316.py
Red-Teapot/bbyaworld.com-django
6eb8febd2cfa304a062ac924240cbdf060499cfc
[ "MIT" ]
1
2018-11-22T16:19:52.000Z
2018-11-22T16:19:52.000Z
# Generated by Django 2.0.7 on 2018-07-22 10:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('common', '0001_initial'), ] operations = [ migrations.AlterField( model_name='miscstorageentry', name='value', ...
19.473684
47
0.583784
37
370
5.783784
0.837838
0
0
0
0
0
0
0
0
0
0
0.073359
0.3
370
18
48
20.555556
0.752896
0.121622
0
0
1
0
0.120743
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
f4c845969dcb245e178d58873d955a0721ef9c69
2,602
py
Python
contrib/bulk_operations/metadata.py
tzhaoredhat/automation
a1867dc2d3591fdae1fa7f80d457c25f9705070e
[ "MIT" ]
18
2015-12-15T17:56:18.000Z
2021-04-10T13:49:48.000Z
contrib/bulk_operations/metadata.py
tzhaoredhat/automation
a1867dc2d3591fdae1fa7f80d457c25f9705070e
[ "MIT" ]
303
2015-11-18T07:37:06.000Z
2021-05-26T12:34:01.000Z
contrib/bulk_operations/metadata.py
tzhaoredhat/automation
a1867dc2d3591fdae1fa7f80d457c25f9705070e
[ "MIT" ]
27
2015-11-19T20:33:54.000Z
2021-03-25T08:15:28.000Z
# # Copyright (c) 2015 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # """ Use the provided metadata generator if you wish to support OPTIONS requests on list url of resources that support bulk operations. The only difference from the generator provided by REST Framework is that it...
37.710145
81
0.645273
300
2,602
5.533333
0.44
0.046988
0.016265
0.027711
0
0
0
0
0
0
0
0.00545
0.294773
2,602
68
82
38.264706
0.899183
0.485396
0
0.153846
0
0
0.029767
0
0
0
0
0
0.038462
1
0.038462
false
0.076923
0.192308
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f4cc9923dfd51c7eac4621172705c16b6f05d784
878
py
Python
test/py/t-searchmem.py
alexbudmsft/dbgscript
76dc77109bbeb8f09a893e9dd56012ff8a4b601f
[ "PSF-2.0" ]
27
2015-11-05T22:19:34.000Z
2021-08-21T02:03:52.000Z
test/py/t-searchmem.py
alexbudmsft/dbgscript
76dc77109bbeb8f09a893e9dd56012ff8a4b601f
[ "PSF-2.0" ]
null
null
null
test/py/t-searchmem.py
alexbudmsft/dbgscript
76dc77109bbeb8f09a893e9dd56012ff8a4b601f
[ "PSF-2.0" ]
2
2015-11-06T04:32:31.000Z
2016-08-22T18:24:20.000Z
from utils import * car = get_car() # Positive cases. Can't print the result because the address may change # from run to run. # dbgscript.search_memory(car['name'].address-16, 100, b'FooCar', 1) dbgscript.search_memory(car['name'].address-16, 100, b'FooCar', 2) # Negative cases. # # 4 is not a multipl...
25.085714
72
0.692483
131
878
4.59542
0.419847
0.124585
0.174419
0.199336
0.534884
0.395349
0.395349
0.395349
0.395349
0.395349
0
0.045643
0.176538
878
34
73
25.823529
0.786999
0.298405
0
0.4375
0
0
0.200351
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.1875
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
f4d365edd139d60dd0919dc1d55ad6225c11b8e7
3,657
py
Python
pysnmp/TPLINK-COMMANDER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/TPLINK-COMMANDER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/TPLINK-COMMANDER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module TPLINK-COMMANDER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TPLINK-COMMANDER-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:16:55 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
114.28125
477
0.76292
418
3,657
6.674641
0.277512
0.012903
0.009677
0.012903
0.459498
0.362724
0.326165
0.326165
0.278853
0.278853
0
0.079175
0.084769
3,657
31
478
117.967742
0.754407
0.091332
0
0
0
0
0.183464
0.013277
0
0
0
0
0
1
0
false
0
0.291667
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f4d92ae8855426c9f556531456dc67c3b915c5e8
1,653
py
Python
src/routers/user.py
momonoki1990/fastapi-todo-list
fffcc072ab1181ce63f163c2bf0614551b3e40ed
[ "MIT" ]
1
2022-02-17T07:35:43.000Z
2022-02-17T07:35:43.000Z
src/routers/user.py
momonoki1990/fastapi-todo-list-api
fffcc072ab1181ce63f163c2bf0614551b3e40ed
[ "MIT" ]
2
2021-12-05T06:37:35.000Z
2022-01-04T11:08:10.000Z
src/routers/user.py
momonoki1990/fastapi-todo-list
fffcc072ab1181ce63f163c2bf0614551b3e40ed
[ "MIT" ]
1
2022-01-11T02:02:31.000Z
2022-01-11T02:02:31.000Z
from typing import List from fastapi import APIRouter, Depends, HTTPException, status from fastapi.security import OAuth2PasswordRequestForm from sqlalchemy.ext.asyncio import AsyncSession from src.schema import user as user_schema, task as task_schema from src.cruds import user as user_crud from src.libs import authen...
42.384615
104
0.762855
215
1,653
5.623256
0.311628
0.081886
0.042184
0.057072
0.281224
0.281224
0.226634
0.16708
0.16708
0.16708
0
0.003524
0.141561
1,653
39
105
42.384615
0.848485
0
0
0.228571
0
0
0.079807
0
0
0
0
0
0
1
0
false
0.142857
0.228571
0
0.314286
0
0
0
0
null
0
0
0
0
0
0
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
f4dc218ab525c8b2b47959492cb994fb65259ae5
13,238
py
Python
isolates/download_accession_list.py
josl/ASM_challenge
f6bc31ab29d7589e259e1f3a2acbb613db6f03f3
[ "Apache-2.0" ]
2
2015-11-12T11:18:11.000Z
2015-11-12T22:29:59.000Z
isolates/download_accession_list.py
josl/ASM_challenge
f6bc31ab29d7589e259e1f3a2acbb613db6f03f3
[ "Apache-2.0" ]
null
null
null
isolates/download_accession_list.py
josl/ASM_challenge
f6bc31ab29d7589e259e1f3a2acbb613db6f03f3
[ "Apache-2.0" ]
1
2015-11-10T16:10:36.000Z
2015-11-10T16:10:36.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This is a skeleton file that can serve as a starting point for a Python console script. To run this script uncomment the following line in the entry_points section in setup.cfg: Then run `python setup.py install` which will install the command `download` inside your c...
40.48318
136
0.5769
1,555
13,238
4.723473
0.186495
0.05514
0.03145
0.027774
0.37808
0.347992
0.336283
0.317767
0.303744
0.282914
0
0.003143
0.327013
13,238
326
137
40.607362
0.821304
0.03981
0
0.354244
0
0
0.132886
0.004362
0
0
0
0
0
0
null
null
0
0.04428
null
null
0.01107
0
0
0
null
0
0
0
0
0
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
f4dfb6b1e34d706321fd96235fbfa3fb0950437c
2,977
py
Python
blogproject/blog/views.py
MrWolffy/django-tutorial
4b00e35092d47e9a04a7019c3f803c5b09630ec6
[ "MIT" ]
null
null
null
blogproject/blog/views.py
MrWolffy/django-tutorial
4b00e35092d47e9a04a7019c3f803c5b09630ec6
[ "MIT" ]
null
null
null
blogproject/blog/views.py
MrWolffy/django-tutorial
4b00e35092d47e9a04a7019c3f803c5b09630ec6
[ "MIT" ]
null
null
null
import re import markdown from django.contrib import messages from django.db.models import Q from django.shortcuts import render, get_object_or_404, redirect from django.utils.text import slugify from django.views.generic import ListView, DetailView from markdown.extensions.toc import TocExtension from pure_pagination....
31.336842
88
0.664091
373
2,977
5.16622
0.343164
0.028023
0.026985
0.021796
0.139595
0.080955
0.080955
0.051894
0.051894
0.051894
0
0.006108
0.230097
2,977
94
89
31.670213
0.834642
0.11824
0
0.152542
0
0
0.08694
0.035236
0
0
0
0
0
1
0.101695
false
0
0.169492
0
0.644068
0
0
0
0
null
0
0
0
0
0
0
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
f4e45601dde17142d5458f76f7251eb01214f0cd
1,921
py
Python
hashing/pdq/python/pdqhashing/utils/matrix.py
larrycameron80/ThreatExchange
00f9c140360fd6189e2be7de4ad680d474cbeebb
[ "BSD-3-Clause" ]
1
2021-10-11T21:43:04.000Z
2021-10-11T21:43:04.000Z
preprocess/third_party/pdqhashing/utils/matrix.py
vegetable68/sbb
5949632fbd95a9dd6f40fca806b9a9d56b41652a
[ "CC0-1.0" ]
null
null
null
preprocess/third_party/pdqhashing/utils/matrix.py
vegetable68/sbb
5949632fbd95a9dd6f40fca806b9a9d56b41652a
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python class MatrixUtil: @classmethod def allocateMatrix(cls, numRows, numCols): rv = [0.0] * numRows for i in range(numRows): rv[i] = [0.0] * numCols return rv @classmethod def allocateMatrixAsRowMajorArray(cls, numRows, numCols): return [0....
27.442857
61
0.401353
182
1,921
4.214286
0.247253
0.091265
0.023468
0.043025
0.135593
0.112125
0.112125
0.112125
0.112125
0.112125
0
0.01826
0.515357
1,921
69
62
27.84058
0.805585
0.010411
0
0.129032
0
0
0
0
0
0
0
0
0
1
0.048387
false
0
0
0.016129
0.145161
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
f4f8ac48bcc18b69231760309200fe77cd389fd6
2,404
py
Python
napari_svg/_tests/test_get_writer.py
nclack/napari-svg
0e222857c3a61befe1ea4b4e97fd48b285877d02
[ "BSD-3-Clause" ]
1
2020-04-13T12:20:00.000Z
2020-04-13T12:20:00.000Z
napari_svg/_tests/test_get_writer.py
nclack/napari-svg
0e222857c3a61befe1ea4b4e97fd48b285877d02
[ "BSD-3-Clause" ]
13
2020-04-26T04:27:12.000Z
2021-12-17T16:56:46.000Z
napari_svg/_tests/test_get_writer.py
nclack/napari-svg
0e222857c3a61befe1ea4b4e97fd48b285877d02
[ "BSD-3-Clause" ]
8
2020-04-19T21:47:37.000Z
2022-01-25T16:39:01.000Z
import os import numpy as np import pytest from napari_svg import napari_get_writer from napari.layers import Image, Labels, Points, Shapes, Vectors @pytest.fixture def layer_data_and_types(): np.random.seed(0) layers = [ Image(np.random.rand(20, 20)), Labels(np.random.randint(10, ...
26.417582
64
0.682196
356
2,404
4.390449
0.171348
0.092131
0.053743
0.076136
0.730006
0.715931
0.695457
0.669226
0.648752
0.492642
0
0.011715
0.218802
2,404
90
65
26.711111
0.820554
0.140599
0
0.395833
0
0
0.040726
0
0
0
0
0
0.25
1
0.104167
false
0
0.104167
0
0.229167
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f4fd4b6da503b9271301852273d340f511178dff
505
py
Python
button.py
anas652/button
ce1436332f491815e1a0e760c725589372d3c0cb
[ "MIT" ]
null
null
null
button.py
anas652/button
ce1436332f491815e1a0e760c725589372d3c0cb
[ "MIT" ]
null
null
null
button.py
anas652/button
ce1436332f491815e1a0e760c725589372d3c0cb
[ "MIT" ]
null
null
null
n kjhimport Tkinter window = Tkinter.Tk() button = Tkinter.Button(window, text="do not press this because i will kill you.", width=40) button.pack(padx=10, pady=10) clickCount=0 def onClick(event): global clickCount clickCount = clickCount + 1 if clickCount == 1: button.configure(text="seriously? do. not. press. i...
20.2
92
0.716832
72
505
5.013889
0.625
0.027701
0.055402
0
0
0
0
0
0
0
0
0.025522
0.146535
505
25
93
20.2
0.812065
0
0
0
0
0
0.237154
0
0
0
0
0
0
0
null
null
0
0.0625
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
760122620b3c96cc231d8b54ec99cb4d4690794d
380
py
Python
setup.py
edjdavid/aiml
6035cf3575137a8022fd373b8be9cfe16ee4ec61
[ "Apache-2.0" ]
null
null
null
setup.py
edjdavid/aiml
6035cf3575137a8022fd373b8be9cfe16ee4ec61
[ "Apache-2.0" ]
null
null
null
setup.py
edjdavid/aiml
6035cf3575137a8022fd373b8be9cfe16ee4ec61
[ "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages setup(name='aiml', version='1.0', description='ML Automation', author='MSDS ML', author_email='edjdavid@users.noreply.github.com', packages=find_packages(), install_requires=[ 'numpy', 'pandas', 'matplotlib', ...
22.352941
55
0.55
36
380
5.694444
0.833333
0.117073
0
0
0
0
0
0
0
0
0
0.007692
0.315789
380
16
56
23.75
0.780769
0
0
0
0
0
0.255263
0.086842
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
76052e516679e30b2741000942a893a95667ab5b
1,730
py
Python
classes/strategies.py
noaillypau/Polyvalent_Backtester_3
19c11014300b5cf629c037cc5a6b18123237647f
[ "MIT" ]
2
2021-04-30T21:36:29.000Z
2021-06-10T23:34:38.000Z
classes/strategies.py
noaillypau/Polyvalent_Backtester_3
19c11014300b5cf629c037cc5a6b18123237647f
[ "MIT" ]
null
null
null
classes/strategies.py
noaillypau/Polyvalent_Backtester_3
19c11014300b5cf629c037cc5a6b18123237647f
[ "MIT" ]
null
null
null
import numpy as np, pandas as pd, json, os, datetime, time from order import Order class Strategies(): def __init__(self): self._dict = {} def add(self, name, strategy): self._dict[name] = strategy def compute(self, arrs, index): list_order = [] for name,strate...
28.833333
126
0.602312
223
1,730
4.511211
0.32287
0.039761
0.029821
0.044732
0.166998
0.059642
0.059642
0
0
0
0
0
0.302312
1,730
59
127
29.322034
0.833471
0
0
0.222222
0
0
0.067407
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.027778
0.472222
0
0
0
0
null
0
0
0
0
0
0
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
760878fec74dfca0b18e914746679e0b6733291a
411
py
Python
__findLengthsNoEmptyStrings.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
__findLengthsNoEmptyStrings.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
__findLengthsNoEmptyStrings.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
#License: https://bit.ly/3oLErEI def test(strs): return [*map(len, strs)] strs = ['cat', 'car', 'fear', 'center'] print("Original strings:") print(strs) print("Lengths of the said list of non-empty strings:") print(test(strs)) strs = ['cat', 'dog', 'shatter', 'donut', 'at', 'todo', ''] print("\nOriginal string...
27.4
60
0.652068
60
411
4.466667
0.516667
0.179104
0.08209
0.156716
0.529851
0.529851
0.529851
0.529851
0.529851
0.529851
0
0.002809
0.13382
411
14
61
29.357143
0.75
0.075426
0
0.5
0
0
0.443272
0
0
0
0
0
0
1
0.083333
false
0
0
0.083333
0.166667
0.666667
0
0
0
null
0
0
0
0
0
0
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
7615add91618b64986aa97f7ee8e80579bbbb020
1,263
py
Python
JPS_NLP/python/caresjpsnlq/NLQ_Chunker.py
mdhillmancmcl/TheWorldAvatar-CMCL-Fork
011aee78c016b76762eaf511c78fabe3f98189f4
[ "MIT" ]
21
2021-03-08T01:58:25.000Z
2022-03-09T15:46:16.000Z
JPS_NLP/python/caresjpsnlq/NLQ_Chunker.py
mdhillmancmcl/TheWorldAvatar-CMCL-Fork
011aee78c016b76762eaf511c78fabe3f98189f4
[ "MIT" ]
63
2021-05-04T15:05:30.000Z
2022-03-23T14:32:29.000Z
JPS_NLP/python/caresjpsnlq/NLQ_Chunker.py
mdhillmancmcl/TheWorldAvatar-CMCL-Fork
011aee78c016b76762eaf511c78fabe3f98189f4
[ "MIT" ]
15
2021-03-08T07:52:03.000Z
2022-03-29T04:46:20.000Z
import NLQ_Preprocessor as preProcessor import NLP_Engine as nlpEngine import NLQ_Interpreter as interpreter import nltk import time class NLQ_Chunker: def __init__(self): self.preprocessor = preProcessor.PreProcessor() self.nlp_engine = nlpEngine.NLP_Engine() self.interpreter = interpre...
31.575
129
0.726841
154
1,263
5.733766
0.467532
0.050963
0.044168
0
0
0
0
0
0
0
0
0
0.178939
1,263
40
130
31.575
0.851495
0.307205
0
0
0
0
0.009292
0
0
0
0
0
0
1
0.117647
false
0
0.294118
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
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
76189c1c0f0a1c092eecb8d9cdb55104a570a87d
9,020
py
Python
oskb/ui_editkey.py
rushic24/oskb
d453a707d2a1d78d859d5e1648fe3804e40b4148
[ "MIT" ]
6
2020-05-06T16:59:48.000Z
2021-09-18T12:48:21.000Z
oskb/ui_editkey.py
rushic24/oskb
d453a707d2a1d78d859d5e1648fe3804e40b4148
[ "MIT" ]
1
2022-03-24T19:19:11.000Z
2022-03-24T19:19:11.000Z
oskb/ui_editkey.py
rushic24/oskb
d453a707d2a1d78d859d5e1648fe3804e40b4148
[ "MIT" ]
3
2020-05-06T16:59:52.000Z
2021-09-18T12:48:54.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'EditKey.ui' # # Created by: PyQt5 UI code generator 5.14.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_EditKey(object): def setupUi(self, EditKey): EditKey.setO...
54.337349
124
0.704656
965
9,020
6.529534
0.211399
0.034439
0.055864
0.027615
0.269005
0.229646
0.152515
0.130455
0.11395
0.11395
0
0.034135
0.175055
9,020
165
125
54.666667
0.81266
0.020067
0
0.065789
1
0
0.063179
0
0
0
0
0
0
1
0.013158
false
0
0.006579
0
0.026316
0
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
761906b76105e1a9bca359fb807ff73effa0fbb1
5,584
py
Python
variaveis.py
OHolandes/Athena-Public
ed697b012b0507d31e906026607be69dcb3460ce
[ "BSD-3-Clause" ]
null
null
null
variaveis.py
OHolandes/Athena-Public
ed697b012b0507d31e906026607be69dcb3460ce
[ "BSD-3-Clause" ]
null
null
null
variaveis.py
OHolandes/Athena-Public
ed697b012b0507d31e906026607be69dcb3460ce
[ "BSD-3-Clause" ]
null
null
null
CANAIS_ADM = { "diretoria": 441263190832185350, "secretaria": 731689039853518848 } SAUDACOES = ["Olá!", "Oi!", "Iai!"] GUIA_ANONIMA_ID = 956319073568976967 msg_ajuda = "**::ola** | **::oi** | **::iai** | **::athena**: Mande um ola caloroso para mim, e responderei!\n" \ "**::cool** `texto`: Você po...
62.044444
377
0.604047
695
5,584
4.83741
0.446043
0.004164
0.004164
0.006544
0.092207
0.092207
0.092207
0.092207
0.092207
0.092207
0
0.034747
0.252686
5,584
90
378
62.044444
0.770908
0
0
0.049383
0
0.148148
0.82829
0.026679
0
0
0
0
0
1
0
false
0.012346
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
761ca9f6ac724fb2550f3f650971c0642f340690
6,077
py
Python
hxmirador/settings/prod.py
nmaekawa/hxmirador
c5e364a92c3631126a7fd9335af506270f52fe68
[ "BSD-3-Clause" ]
null
null
null
hxmirador/settings/prod.py
nmaekawa/hxmirador
c5e364a92c3631126a7fd9335af506270f52fe68
[ "BSD-3-Clause" ]
null
null
null
hxmirador/settings/prod.py
nmaekawa/hxmirador
c5e364a92c3631126a7fd9335af506270f52fe68
[ "BSD-3-Clause" ]
null
null
null
""" Django settings for hxmirador project. Generated by 'django-admin startproject' using Django 2.0.7. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os ...
28.665094
96
0.632549
642
6,077
5.833333
0.373832
0.052069
0.041122
0.046729
0.180507
0.158344
0.086248
0.071295
0.032043
0
0
0.01878
0.220174
6,077
211
97
28.800948
0.771471
0.276946
0
0.110294
1
0
0.420883
0.228381
0
0
0
0
0
1
0
false
0.007353
0.007353
0
0.007353
0
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
7620fcf40ca8ac2c72d7f34f2ed6b0553720f0af
2,613
py
Python
Start.py
nuti23/StudentsAssignmentsManagement
ca3cb8a6f38c31cd0544a63179691f139a02612d
[ "Apache-2.0" ]
null
null
null
Start.py
nuti23/StudentsAssignmentsManagement
ca3cb8a6f38c31cd0544a63179691f139a02612d
[ "Apache-2.0" ]
null
null
null
Start.py
nuti23/StudentsAssignmentsManagement
ca3cb8a6f38c31cd0544a63179691f139a02612d
[ "Apache-2.0" ]
null
null
null
from Domain.student import Student from Repository.assignment_repository import AssignmentRepository from Repository.grade_repository import GradeRepository from Repository.student_repository import StudentRepository from Repository_Binary_File.assignment_repository_binary_file import AssignmentRepositoryBinaryFile fro...
46.660714
117
0.867585
252
2,613
8.690476
0.178571
0.057534
0.054795
0.032877
0.047032
0.047032
0
0
0
0
0
0
0.078837
2,613
55
118
47.509091
0.909846
0
0
0
0
0
0.03908
0
0
0
0
0
0
1
0
false
0
0.452381
0
0.452381
0
0
0
0
null
0
0
0
0
0
0
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
76243510a1536cc8eb0c0666f32e3fd946357134
5,503
py
Python
setup.py
ProjexSoftware/orb
575be2689cb269e65a0a2678232ff940acc19e5a
[ "MIT" ]
7
2016-03-30T18:15:46.000Z
2021-02-19T14:55:01.000Z
setup.py
orb-framework/orb
575be2689cb269e65a0a2678232ff940acc19e5a
[ "MIT" ]
25
2016-02-02T20:52:35.000Z
2017-12-12T06:14:21.000Z
setup.py
orb-framework/orb
575be2689cb269e65a0a2678232ff940acc19e5a
[ "MIT" ]
3
2015-12-30T22:27:02.000Z
2016-08-24T22:33:42.000Z
import os import re import subprocess from setuptools import setup, find_packages, Command from setuptools.command.test import test as TestCommand __author__ = 'Eric Hulser' __email__ = 'eric.hulser@gmail.com' __license__ = 'MIT' INSTALL_REQUIRES = [] DEPENDENCY_LINKS = [] TESTS_REQUIRE = [] LONG_DESCRIPTION = '' ...
31.445714
100
0.590405
666
5,503
4.660661
0.295796
0.020619
0.021263
0.023196
0.191366
0.070876
0.070876
0.063789
0
0
0
0.008083
0.280574
5,503
175
101
31.445714
0.775954
0.03598
0
0.150376
0
0
0.230082
0.025262
0
0
0
0
0
0
null
null
0.037594
0.045113
null
null
0.037594
0
0
0
null
0
0
0
0
0
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
762736c3af383f7a5e7c51cd44492ea53e1dcb42
818
py
Python
examples/example_plugin/example_plugin/tables.py
susanhooks/nautobot
bc3ef5958f0d5decb0be763342c790f26ff1e20e
[ "Apache-2.0" ]
null
null
null
examples/example_plugin/example_plugin/tables.py
susanhooks/nautobot
bc3ef5958f0d5decb0be763342c790f26ff1e20e
[ "Apache-2.0" ]
null
null
null
examples/example_plugin/example_plugin/tables.py
susanhooks/nautobot
bc3ef5958f0d5decb0be763342c790f26ff1e20e
[ "Apache-2.0" ]
null
null
null
import django_tables2 as tables from nautobot.utilities.tables import ( BaseTable, ButtonsColumn, ToggleColumn, ) from example_plugin.models import AnotherExampleModel, ExampleModel class ExampleModelTable(BaseTable): """Table for list view of `ExampleModel` objects.""" pk = ToggleColumn() ...
24.058824
67
0.691932
76
818
7.421053
0.434211
0.060284
0.060284
0.074468
0.407801
0.312057
0.216312
0.216312
0
0
0
0.001536
0.204156
818
33
68
24.787879
0.864823
0.122249
0
0.380952
0
0
0.033946
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.619048
0
0
0
0
null
0
0
0
0
0
0
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
57ff0de84d2c52561ef644349243f41fda37acf1
251
py
Python
sample_linear.py
Oleg-Krivosheev/Sample-Gamma-small-alpha
05988f8532b471305e31d8b5d0b3e027fb5d0b80
[ "MIT" ]
null
null
null
sample_linear.py
Oleg-Krivosheev/Sample-Gamma-small-alpha
05988f8532b471305e31d8b5d0b3e027fb5d0b80
[ "MIT" ]
null
null
null
sample_linear.py
Oleg-Krivosheev/Sample-Gamma-small-alpha
05988f8532b471305e31d8b5d0b3e027fb5d0b80
[ "MIT" ]
null
null
null
#!/usr/bin/env python import math import random import matplotlib.pyplot as plt # sample from linear distribution and plot it bins = [0.1 * i for i in range(12)] plt.hist([(1.0 - math.sqrt(random.random())) for k in range(10000)], bins) plt.show()
20.916667
74
0.705179
45
251
3.933333
0.688889
0.079096
0
0
0
0
0
0
0
0
0
0.051887
0.155378
251
11
75
22.818182
0.783019
0.25498
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
520aeb88ed49552d97150bdb774d3492dbf483cc
2,816
py
Python
cloudkitty-9.0.0/cloudkitty/rating/pyscripts/db/api.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
null
null
null
cloudkitty-9.0.0/cloudkitty/rating/pyscripts/db/api.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
cloudkitty-9.0.0/cloudkitty/rating/pyscripts/db/api.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
2
2020-03-15T01:24:15.000Z
2020-07-22T20:34:26.000Z
# -*- coding: utf-8 -*- # Copyright 2015 Objectif Libre # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
27.339806
78
0.631392
359
2,816
4.857939
0.387187
0.020069
0.068807
0.037271
0.192087
0.131881
0.102064
0.042431
0.042431
0.042431
0
0.004365
0.267756
2,816
102
79
27.607843
0.841416
0.449574
0
0.27027
0
0
0.086045
0.032538
0
0
0
0
0
1
0.243243
false
0
0.108108
0
0.459459
0
0
0
0
null
0
0
0
0
0
0
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
52169f9fb1131b55d0003765e76973d7f4ef98f8
1,901
py
Python
Chapter8/datacurator.py
PacktPublishing/Testing-Time-Machines
fa85c5cb5252bf3dc83cad5d8ef3d3d425295df1
[ "MIT" ]
1
2022-01-02T16:38:29.000Z
2022-01-02T16:38:29.000Z
Chapter8/datacurator.py
PacktPublishing/Testing-Time-Machines
fa85c5cb5252bf3dc83cad5d8ef3d3d425295df1
[ "MIT" ]
null
null
null
Chapter8/datacurator.py
PacktPublishing/Testing-Time-Machines
fa85c5cb5252bf3dc83cad5d8ef3d3d425295df1
[ "MIT" ]
1
2022-01-02T16:38:31.000Z
2022-01-02T16:38:31.000Z
import datetime import pandas as pd # Retrieve the test cases from the csv into a dictionary dataFile = open('testcases.csv', 'r') dataFrame = pd.read_csv('testcases.csv', index_col=0) dataDictionary = dataFrame.transpose().to_dict() # Create a new dictionary to save the results result = {} # Data optimization -> get ...
41.326087
83
0.680168
220
1,901
5.854545
0.345455
0.11646
0.059006
0.068323
0.079193
0.079193
0
0
0
0
0
0.007895
0.200421
1,901
45
84
42.244444
0.839474
0.214098
0
0.057143
0
0
0.099057
0
0
0
0
0
0
1
0
false
0.085714
0.057143
0
0.057143
0
0
0
0
null
0
0
0
0
0
0
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
5227a62aa3a0d8203233b6c9c2725988f35970a3
2,809
py
Python
utils/GeneralUtils.py
nanohedra/nanohedra
3921b7f5ce10e0e3393c3b675bb97ccbecb96663
[ "MIT" ]
2
2020-12-07T00:38:32.000Z
2021-05-13T19:36:17.000Z
utils/GeneralUtils.py
nanohedra/nanohedra
3921b7f5ce10e0e3393c3b675bb97ccbecb96663
[ "MIT" ]
null
null
null
utils/GeneralUtils.py
nanohedra/nanohedra
3921b7f5ce10e0e3393c3b675bb97ccbecb96663
[ "MIT" ]
1
2021-05-13T19:36:18.000Z
2021-05-13T19:36:18.000Z
import numpy as np # Copyright 2020 Joshua Laniado and Todd O. Yeates. __author__ = "Joshua Laniado and Todd O. Yeates" __copyright__ = "Copyright 2020, Nanohedra" __version__ = "1.0" def euclidean_squared_3d(coordinates_1, coordinates_2): if len(coordinates_1) != 3 or len(coordinates_2) != 3: raise Val...
33.047059
119
0.655393
403
2,809
4.277916
0.263027
0.093968
0.098608
0.019142
0.264501
0.223898
0.12877
0.12877
0.12877
0.055684
0
0.029211
0.268779
2,809
84
120
33.440476
0.810127
0.163403
0
0.098039
0
0
0.066324
0
0
0
0
0
0
0
null
null
0
0.019608
null
null
0.019608
0
0
0
null
0
0
0
0
0
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
522e8268e27cc0e4ac1467fdf1229c4f9a633e0c
731
py
Python
dlapp/forms.py
tavershimafx/E-library
861b8aeba82e4bf0b63f5cb1421ca8f9f9cd1d96
[ "Apache-2.0" ]
null
null
null
dlapp/forms.py
tavershimafx/E-library
861b8aeba82e4bf0b63f5cb1421ca8f9f9cd1d96
[ "Apache-2.0" ]
null
null
null
dlapp/forms.py
tavershimafx/E-library
861b8aeba82e4bf0b63f5cb1421ca8f9f9cd1d96
[ "Apache-2.0" ]
null
null
null
from django import forms from . models import Holdings class HoldingsForm(forms.ModelForm): class Meta: model = Holdings fields = ['title', 'holding', 'authors', 'category'] widgets={ 'title': forms.TextInput(attrs={'class': 'form-control'}), 'holding': forms.FileInp...
34.809524
72
0.578659
73
731
5.780822
0.465753
0.094787
0.132701
0.199052
0.248815
0.248815
0
0
0
0
0
0.005556
0.261286
731
20
73
36.55
0.775926
0.02736
0
0.222222
0
0
0.190409
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.388889
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
522ec8665cdc06a15413dd19e0ca4b2d4864dbdc
2,805
py
Python
tests/aircraft/deploys/ubuntu/models/v1beta3/storage_config_data_test.py
relaxdiego/aircraft
ce9a6724fe33be38777991fbb1cd731e197fa468
[ "Apache-2.0" ]
9
2021-01-15T18:26:44.000Z
2021-07-29T07:40:15.000Z
tests/aircraft/deploys/ubuntu/models/v1beta3/storage_config_data_test.py
relaxdiego/aircraft
ce9a6724fe33be38777991fbb1cd731e197fa468
[ "Apache-2.0" ]
null
null
null
tests/aircraft/deploys/ubuntu/models/v1beta3/storage_config_data_test.py
relaxdiego/aircraft
ce9a6724fe33be38777991fbb1cd731e197fa468
[ "Apache-2.0" ]
1
2021-04-26T01:39:26.000Z
2021-04-26T01:39:26.000Z
import pytest from aircraft.deploys.ubuntu.models.v1beta3 import StorageConfigData @pytest.fixture def input_config(request): marker = request.node.get_closest_marker('data_kwargs') config = dict( disks=[ { 'path': '/dev/sda', 'partitions': [ ...
29.526316
83
0.370053
186
2,805
5.311828
0.38172
0.045547
0.052632
0.057692
0.461538
0.461538
0.461538
0.461538
0.461538
0.461538
0
0.074349
0.520499
2,805
94
84
29.840426
0.660223
0.013191
0
0.457831
0
0
0.14058
0.025
0
0
0
0
0.024096
1
0.048193
false
0
0.024096
0
0.096386
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
522faca411638c4c5ca4e0265ac3ec446d4b7425
1,009
py
Python
tests/tests_core/test_definitions.py
markuswiertarkus/simbatch
c0e21abdee9f3475a01779d35cbe19e607a2c502
[ "MIT" ]
1
2017-11-28T01:10:09.000Z
2017-11-28T01:10:09.000Z
tests/tests_core/test_definitions.py
markuswiertarkus/simbatch
c0e21abdee9f3475a01779d35cbe19e607a2c502
[ "MIT" ]
null
null
null
tests/tests_core/test_definitions.py
markuswiertarkus/simbatch
c0e21abdee9f3475a01779d35cbe19e607a2c502
[ "MIT" ]
null
null
null
from simbatch.core import core from simbatch.core.definitions import SingleAction import pytest # TODO check dir on prepare tests TESTING_AREA_DIR = "S:\\simbatch\\data\\" @pytest.fixture(scope="module") def simbatch(): # TODO pytest-datadir pytest-datafiles vs ( path.dirname( path.realpath(sys.a...
25.225
103
0.75223
142
1,009
5.091549
0.471831
0.048409
0.037344
0.053942
0.145228
0.145228
0.085754
0
0
0
0
0.003497
0.149653
1,009
39
104
25.871795
0.839161
0.306244
0
0
0
0
0.060781
0
0
0
0
0.025641
0.125
1
0.1875
false
0
0.1875
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
52345fa930bdb9bec3252111f3c27febc14ab5da
663
py
Python
game/client/view/pad/pad.py
AntonYermilov/progue
7f382208c9efc904cff9d8df4750606039801d45
[ "MIT" ]
null
null
null
game/client/view/pad/pad.py
AntonYermilov/progue
7f382208c9efc904cff9d8df4750606039801d45
[ "MIT" ]
6
2019-03-25T21:11:28.000Z
2019-06-21T16:21:47.000Z
game/client/view/pad/pad.py
AntonYermilov/progue
7f382208c9efc904cff9d8df4750606039801d45
[ "MIT" ]
1
2021-12-22T22:03:47.000Z
2021-12-22T22:03:47.000Z
from abc import ABC, abstractmethod class Pad(ABC): def __init__(self, view, x0: int, y0: int, x1: int, y1: int): """ Creates pad with corners in specified coordinates :param view: base view instance :param x0: x-coordinate of top left corner (included) :param y0: y-coordin...
30.136364
65
0.597285
88
663
4.454545
0.420455
0.122449
0.066327
0.096939
0.382653
0.382653
0.193878
0
0
0
0
0.035242
0.315234
663
22
66
30.136364
0.828194
0.46003
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.090909
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
52371790ddfcd8b2c7d4c68f5e7cb458249f7867
16,914
py
Python
web/poisson_web.py
DreadyBear/codereview
9e3072ca79f97a067599c762cdea73da7607f671
[ "Unlicense" ]
60
2015-01-06T16:19:01.000Z
2021-04-21T12:41:35.000Z
web/poisson_web.py
DreadyBear/codereview
9e3072ca79f97a067599c762cdea73da7607f671
[ "Unlicense" ]
2
2015-02-18T19:59:37.000Z
2015-03-25T20:10:59.000Z
web/poisson_web.py
DreadyBear/codereview
9e3072ca79f97a067599c762cdea73da7607f671
[ "Unlicense" ]
27
2015-02-23T03:29:04.000Z
2021-04-25T21:06:42.000Z
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <codecell> import os import psycopg2 import numpy as np import pandas as pd import patsy import statsmodels.api as sm import pickle import random from math import floor, exp from datetime import * import pytz from dateutil.relativedelta import * import calendar fro...
38.008989
303
0.691853
2,335
16,914
4.796574
0.221413
0.03625
0.025536
0.013125
0.24375
0.190357
0.154821
0.149018
0.145625
0.128661
0
0.02389
0.215502
16,914
445
304
38.008989
0.820182
0.336881
0
0.110553
0
0.01005
0.095926
0.017406
0
0
0
0
0
0
null
null
0
0.070352
null
null
0.025126
0
0
0
null
0
0
0
0
0
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
5243ca3160b48deb0f80a4363230359abdd1c1a8
322
py
Python
editor/urls.py
AndersonBY/p5py
f002caf94df800e29173f78931f5db90003cf4ae
[ "MIT" ]
15
2019-12-13T04:25:23.000Z
2021-11-21T06:32:25.000Z
editor/urls.py
AndersonHJB/p5py_update
95b6bdf5353e70443b3e7444e6a698c0fb96aa2a
[ "MIT" ]
8
2020-01-07T22:30:55.000Z
2021-08-20T00:32:42.000Z
editor/urls.py
AndersonHJB/p5py_update
95b6bdf5353e70443b3e7444e6a698c0fb96aa2a
[ "MIT" ]
4
2020-01-03T19:18:40.000Z
2021-06-26T14:10:55.000Z
# -*- coding: utf-8 -*- # @Author: Anderson # @Date: 2019-04-25 00:30:09 # @Last Modified by: ander # @Last Modified time: 2019-12-07 01:14:16 from django.urls import path from . import views urlpatterns = [ path("", views.editor, name="editor"), path("upload_code", views.upload_code, name="upload_code") ...
23
62
0.658385
48
322
4.354167
0.6875
0.143541
0
0
0
0
0
0
0
0
0
0.108614
0.170807
322
13
63
24.769231
0.674157
0.42236
0
0
0
0
0.155556
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
5247c15213add12bf9a354a74ea71714c77c8312
1,179
py
Python
tests/hpp/tests/test_generation_utils.py
javisenberg/addonpayments-Python-SDK
8c7b60fd4d245dd588d9f230c17ffde4e8ed33ac
[ "MIT" ]
2
2018-04-11T13:53:38.000Z
2018-12-09T13:10:18.000Z
tests/hpp/tests/test_generation_utils.py
javisenberg/addonpayments-Python-SDK
8c7b60fd4d245dd588d9f230c17ffde4e8ed33ac
[ "MIT" ]
2
2019-03-28T12:49:16.000Z
2019-03-28T12:52:09.000Z
tests/hpp/tests/test_generation_utils.py
javisenberg/addonpayments-Python-SDK
8c7b60fd4d245dd588d9f230c17ffde4e8ed33ac
[ "MIT" ]
8
2017-07-10T13:32:23.000Z
2021-08-23T10:55:52.000Z
# -*- encoding: utf-8 -*- from __future__ import absolute_import, unicode_literals import re from addonpayments.utils import GenerationUtils class TestGenerationUtils: def test_generate_hash(self): """ Test Hash generation success case. """ test_string = '20120926112654.thestore...
32.75
111
0.667515
130
1,179
5.884615
0.469231
0.027451
0.058824
0.052288
0.264052
0.264052
0.264052
0.264052
0.264052
0.264052
0
0.090301
0.239186
1,179
35
112
33.685714
0.762542
0.225615
0
0.111111
1
0
0.169632
0.126928
0
0
0
0
0.166667
1
0.166667
false
0
0.166667
0
0.388889
0
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
524c410c76a43bc48198d2c0eb692d37c913c273
1,207
py
Python
form-ex2/main.py
acandreani/ads_web_exercicios
a97ee7ebd0dba9e308b8e2d2318e577903f83f72
[ "MIT" ]
1
2019-03-13T14:33:28.000Z
2019-03-13T14:33:28.000Z
form-ex2/main.py
acandreani/ads_web_exercicios
a97ee7ebd0dba9e308b8e2d2318e577903f83f72
[ "MIT" ]
1
2021-06-23T20:56:49.000Z
2021-06-23T20:56:49.000Z
form-ex2/main.py
acandreani/ads_web_exercicios
a97ee7ebd0dba9e308b8e2d2318e577903f83f72
[ "MIT" ]
1
2019-04-24T13:10:58.000Z
2019-04-24T13:10:58.000Z
from flask import Flask, render_template, request app = Flask(__name__) bd={"usuario":"alexandre.c.andreani@gmail.com","senha":"12345"} def usuario_existe(usuario): return usuario == bd["usuario"] def verifica_senha(usuario,senha): return usuario == bd["usuario"] and senha==bd["senha"] @app.rout...
21.553571
64
0.659486
146
1,207
5.260274
0.308219
0.127604
0.15625
0.121094
0.268229
0.268229
0.166667
0.166667
0.166667
0.166667
0
0.009082
0.178956
1,207
56
65
21.553571
0.765893
0
0
0.285714
0
0
0.228101
0.083261
0
0
0
0
0
1
0.171429
false
0
0.028571
0.114286
0.428571
0.114286
0
0
0
null
0
0
0
0
0
0
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
52580d1080b455dd0e2a017e5435bfca15bd5e74
232
py
Python
CodeWars/7 Kyu/Broken sequence.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
CodeWars/7 Kyu/Broken sequence.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
CodeWars/7 Kyu/Broken sequence.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
def find_missing_number(sequence): try: numbers = sorted(int(word) for word in sequence.split(" ") if word) except ValueError: return 1 return next((i + 1 for i, n in enumerate(numbers) if i + 1 != n), 0)
38.666667
75
0.625
36
232
3.972222
0.638889
0.027972
0
0
0
0
0
0
0
0
0
0.023256
0.258621
232
6
76
38.666667
0.80814
0
0
0
0
0
0.004292
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
525a8b00826a337a4c293642d7c027ab056d2b82
2,259
py
Python
nlp/router.py
kirollosHossam/MachineLearningTask
3780513af04cf7bb97432436b4714c32d1c271e6
[ "MIT" ]
null
null
null
nlp/router.py
kirollosHossam/MachineLearningTask
3780513af04cf7bb97432436b4714c32d1c271e6
[ "MIT" ]
null
null
null
nlp/router.py
kirollosHossam/MachineLearningTask
3780513af04cf7bb97432436b4714c32d1c271e6
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Dict, List, Optional, Union from fastapi import FastAPI, HTTPException from pydantic import BaseModel from nlp.nlp import Trainer app = FastAPI() trainer = Trainer() #BaseModel is used as data validator when using fast api it cares all about exception handilng and ...
30.527027
107
0.715803
276
2,259
5.797101
0.34058
0.028125
0.0425
0.045
0.34125
0.34125
0.3025
0.27375
0.27375
0.27375
0
0.006997
0.177512
2,259
73
108
30.945205
0.854144
0.066844
0
0.37931
0
0
0.110636
0.009972
0
0
0
0
0
1
0.103448
false
0
0.086207
0.017241
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
52600d13d8ef93a468c1d0ff6267509d796630cf
1,108
py
Python
resources/trials/maya/rotateOrderSym.py
adrienparis/Gapalion
35d66c2d0de05ffb493a4d8753f675999ff9eaab
[ "MIT" ]
null
null
null
resources/trials/maya/rotateOrderSym.py
adrienparis/Gapalion
35d66c2d0de05ffb493a4d8753f675999ff9eaab
[ "MIT" ]
null
null
null
resources/trials/maya/rotateOrderSym.py
adrienparis/Gapalion
35d66c2d0de05ffb493a4d8753f675999ff9eaab
[ "MIT" ]
null
null
null
#!/bin/env mayapy # -- coding: utf-8 -- u"""Ce test vérifie que le transform [LEFT] a bien le même rotateOrder que le transform [RIGHT] Les [does not exist] indique un problème dans la nomenclature des noms et donc qu'il ne peut tester la symétrie des rotateOrders""" __author__ = "Adrien PARIS" __email__ =...
34.625
131
0.548736
149
1,108
4
0.563758
0.013423
0.04698
0.060403
0.177852
0.177852
0.177852
0.177852
0.177852
0.177852
0
0.014474
0.314079
1,108
32
132
34.625
0.769737
0.231949
0
0.25
0
0
0.231953
0
0
0
0
0
0
1
0.041667
false
0.125
0.041667
0
0.125
0
0
0
0
null
0
0
0
0
0
0
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
5265f7fb300d1d6611ad4be7e87983eb5c5ee653
568
py
Python
freyr_app/core/forms.py
blanchefort/freyrmonitoring
5bf10ba86d3f88390f91106426dd964289f5aee6
[ "MIT" ]
2
2021-06-01T20:27:14.000Z
2021-10-01T23:24:45.000Z
freyr_app/core/forms.py
blanchefort/freyrmonitoring
5bf10ba86d3f88390f91106426dd964289f5aee6
[ "MIT" ]
null
null
null
freyr_app/core/forms.py
blanchefort/freyrmonitoring
5bf10ba86d3f88390f91106426dd964289f5aee6
[ "MIT" ]
null
null
null
from django import forms class AddUrlForm(forms.Form): """Добавляем УРЛ для проверки """ url = forms.URLField(initial='https://', label='Введите ссылку для проверки') class UploadHappinessIndex(forms.Form): """Форма для загрузки файла с кастомным индексом счастья """ name = forms.CharField(max...
31.555556
81
0.705986
69
568
5.811594
0.681159
0.067332
0.084788
0.114713
0
0
0
0
0
0
0
0.012632
0.163732
568
17
82
33.411765
0.825263
0.227113
0
0
0
0
0.184211
0
0
0
0
0
0
1
0
false
0
0.125
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
5269a1caf0be2c82d1b57ef29ea750514c38cbea
1,795
py
Python
tools/make_folders.py
leonzucchini/recipes
d11d1ee589bbea89b0d587e056c17718de25e9f3
[ "MIT" ]
8
2017-09-17T10:39:37.000Z
2021-12-29T11:46:03.000Z
tools/make_folders.py
leonzucchini/Recipes
d11d1ee589bbea89b0d587e056c17718de25e9f3
[ "MIT" ]
null
null
null
tools/make_folders.py
leonzucchini/Recipes
d11d1ee589bbea89b0d587e056c17718de25e9f3
[ "MIT" ]
null
null
null
import os import sys import shutil import re def make_output_folder(folder_path, debug=False): """ Make folder for output, checking for previous results """ # Skip if debug (avoids replace prompt) if debug: print "FolderSetup warning: Not creating directory because debug = True" ...
35.9
93
0.485794
193
1,795
4.440415
0.42487
0.093349
0.028005
0.039673
0.221704
0.221704
0.158693
0.158693
0.158693
0.158693
0
0.000972
0.426741
1,795
50
94
35.9
0.831876
0.138162
0
0.266667
0
0
0.223951
0
0.066667
0
0
0
0
0
null
null
0.033333
0.133333
null
null
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
526d20bd4beb813f088b8c300d75c3314be9fe9d
1,325
py
Python
src/dynamic_programming/python/coins/tests/test_coins.py
djeada/GraphAlgorithms
0961303ec20430f90053a4efb9074185f96dfddc
[ "MIT" ]
2
2021-05-31T13:01:33.000Z
2021-12-20T19:48:18.000Z
src/dynamic_programming/python/coins/tests/test_coins.py
djeada/GraphAlgorithms
0961303ec20430f90053a4efb9074185f96dfddc
[ "MIT" ]
null
null
null
src/dynamic_programming/python/coins/tests/test_coins.py
djeada/GraphAlgorithms
0961303ec20430f90053a4efb9074185f96dfddc
[ "MIT" ]
null
null
null
import unittest import os import sys file_dir = os.path.dirname(os.path.dirname(__file__)) sys.path.append(file_dir + "/src") from coins import coin_change_basic, coin_change_memo, coin_change_tab class TestCoinChangeBasic(unittest.TestCase): def test_negative(self): num = 0 coins = [3, 2, 1] ...
23.660714
70
0.621132
171
1,325
4.590643
0.245614
0.11465
0.145223
0.191083
0.673885
0.673885
0.673885
0.673885
0.510828
0.510828
0
0.040415
0.271698
1,325
55
71
24.090909
0.773057
0
0
0.658537
0
0
0.009057
0
0
0
0
0
0.146341
1
0.146341
false
0
0.097561
0
0.317073
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
52702373891582e4ba0d662955581802a9e0d1a1
12,915
py
Python
find_duplicates.py
dallascard/LN_tools
66be00f1fd11517f7bbf2949cc70f9552f3af4f4
[ "Apache-2.0" ]
1
2019-09-29T20:48:51.000Z
2019-09-29T20:48:51.000Z
find_duplicates.py
dallascard/LN_tools
66be00f1fd11517f7bbf2949cc70f9552f3af4f4
[ "Apache-2.0" ]
null
null
null
find_duplicates.py
dallascard/LN_tools
66be00f1fd11517f7bbf2949cc70f9552f3af4f4
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ This script looks through the JSON files created by parse_LN_to_JSON.py and looks for duplicates using the Jaccard Coefficient f k-grams of the article text (body). It creates a CSV file with all of the cases listed and duplicates marked, and optionally stores the same information in a JSO...
36.176471
170
0.602787
1,874
12,915
4.024546
0.178228
0.015911
0.003713
0.005569
0.190135
0.145983
0.136303
0.102758
0.102758
0.08393
0
0.008453
0.312969
12,915
357
171
36.176471
0.841542
0.324739
0
0.23301
0
0
0.074168
0
0
0
0
0
0
0
null
null
0
0.038835
null
null
0.029126
0
0
0
null
0
0
0
0
0
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
52779a9cdce9f94293477ea1630e84c3ba8660ce
2,842
py
Python
LovelyFlask/App/views.py
legendary6666/AxfFlask
a93aa8a17fd8a04e4b6510bbb66b317e0da2bdd8
[ "Apache-2.0" ]
null
null
null
LovelyFlask/App/views.py
legendary6666/AxfFlask
a93aa8a17fd8a04e4b6510bbb66b317e0da2bdd8
[ "Apache-2.0" ]
null
null
null
LovelyFlask/App/views.py
legendary6666/AxfFlask
a93aa8a17fd8a04e4b6510bbb66b317e0da2bdd8
[ "Apache-2.0" ]
null
null
null
from flask import Blueprint, request, render_template, url_for from LovelyFlask.App.models import HomeWheel, HomeNav, HomeMustBuy, HomeMainShow, HomeShop, FoodTypes, Goods, CartModel blue = Blueprint("first_blue", __name__, url_prefix="/api/") def init_first_blue(app): app.register_blueprint(blueprint=blue) A...
22.555556
119
0.63582
313
2,842
5.607029
0.383387
0.047863
0.05698
0.034188
0.08661
0.05698
0.05698
0.05698
0
0
0
0.020465
0.243491
2,842
125
120
22.736
0.795814
0.097467
0
0.072464
0
0
0.095519
0.009434
0
0
0
0
0
0
null
null
0
0.028986
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
528428e2a5380d1c525ea3a3731e3cf65f022c14
377
py
Python
src/tests/wikipedia.py
alexseitsinger/page-scrapers
20898c487fa2dae72e17c10d51b7481e62c72202
[ "BSD-2-Clause" ]
1
2019-02-23T13:25:22.000Z
2019-02-23T13:25:22.000Z
src/tests/wikipedia.py
alexseitsinger/page_scrapers
20898c487fa2dae72e17c10d51b7481e62c72202
[ "BSD-2-Clause" ]
null
null
null
src/tests/wikipedia.py
alexseitsinger/page_scrapers
20898c487fa2dae72e17c10d51b7481e62c72202
[ "BSD-2-Clause" ]
1
2019-08-28T18:16:45.000Z
2019-08-28T18:16:45.000Z
from page_scrapers.wikipedia.scrapers.film import WikipediaFilmScraper query_1 = "hellraiser 2" scraper_1 = WikipediaFilmScraper(query_1) scraped_1 = scraper_1.scrape() filtered_1 = scraper_1.filter() print(filtered_1) query_2 = "hellraiser judgement" scraper_2 = WikipediaFilmScraper(query_2) scraped_2 = scraper_2.sc...
26.928571
70
0.816976
52
377
5.596154
0.346154
0.257732
0.178694
0
0
0
0
0
0
0
0
0.049563
0.090186
377
13
71
29
0.798834
0
0
0
0
0
0.084881
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.181818
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
529075584e7e7f5b22b46ff655d558470509c089
83,766
py
Python
eden/modifier/rna/lib_forgi.py
zaidurrehman/EDeN
1f29d4c9d458edb2bd62a98e57254d78a1f2093f
[ "MIT" ]
null
null
null
eden/modifier/rna/lib_forgi.py
zaidurrehman/EDeN
1f29d4c9d458edb2bd62a98e57254d78a1f2093f
[ "MIT" ]
null
null
null
eden/modifier/rna/lib_forgi.py
zaidurrehman/EDeN
1f29d4c9d458edb2bd62a98e57254d78a1f2093f
[ "MIT" ]
null
null
null
#!/usr/bin/env python """bulge_graph.py: A graph representation of RNA secondary structure based on its decomposition into primitive structure types: stems, hairpins, interior loops, multiloops, etc... for eden and graphlearn we stripped forgi down to this single file. forgi: https://github.com/pkerpedj...
31.69353
105
0.514899
10,882
83,766
3.872266
0.077375
0.040984
0.004319
0.005411
0.275333
0.193626
0.149224
0.122597
0.101429
0.092031
0
0.026995
0.383962
83,766
2,642
106
31.705526
0.789586
0.053423
0
0.259205
0
0
0.017085
0.001484
0
0
0
0
0.000736
0
null
null
0.000736
0.007364
null
null
0.005155
0
0
0
null
0
0
0
0
0
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
52935524fdd04ab3aad5b99a96020fa25d8790c3
3,215
py
Python
tools/test_net.py
Willy0919/Evovling_Boxes
a8543227f9e715d67dde1ffe62ee6d0400cca517
[ "BSD-3-Clause" ]
74
2017-04-07T13:18:39.000Z
2021-05-20T01:35:31.000Z
tools/test_net.py
Willy0919/Evovling_Boxes
a8543227f9e715d67dde1ffe62ee6d0400cca517
[ "BSD-3-Clause" ]
10
2017-06-22T12:54:17.000Z
2021-06-28T11:28:11.000Z
tools/test_net.py
Willy0919/Evovling_Boxes
a8543227f9e715d67dde1ffe62ee6d0400cca517
[ "BSD-3-Clause" ]
26
2017-06-02T05:54:44.000Z
2021-03-12T07:53:54.000Z
#!/usr/bin/env python import _init_paths from evb.test import test_net from evb.config import cfg, cfg_from_file, cfg_from_list from datasets.factory import get_imdb import caffe import argparse import pprint import time, os, sys def parse_args(): """ Parse input arguments """ parser = argparse.Argumen...
36.954023
90
0.597823
414
3,215
4.458937
0.289855
0.058505
0.110509
0.039003
0.189057
0.119718
0.085049
0
0
0
0
0.005589
0.276516
3,215
86
91
37.383721
0.788048
0.006221
0
0.056338
0
0
0.177067
0
0
0
0
0
0
0
null
null
0
0.112676
null
null
0.126761
0
0
0
null
0
0
0
0
0
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
52964f8e82619896f05ff838aec7c2f18d6b3605
2,030
py
Python
GameStore/product/migrations/0001_initial.py
hossein9090/gamestore
62d20b1d32c52c68dfe587ae8b6de5c36c122a37
[ "MIT" ]
null
null
null
GameStore/product/migrations/0001_initial.py
hossein9090/gamestore
62d20b1d32c52c68dfe587ae8b6de5c36c122a37
[ "MIT" ]
null
null
null
GameStore/product/migrations/0001_initial.py
hossein9090/gamestore
62d20b1d32c52c68dfe587ae8b6de5c36c122a37
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-24 09:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ...
43.191489
169
0.578818
201
2,030
5.741294
0.39801
0.034662
0.048527
0.076257
0.503466
0.503466
0.438475
0.438475
0.398614
0.398614
0
0.021433
0.264532
2,030
46
170
44.130435
0.751507
0.022167
0
0.435897
1
0
0.119012
0
0
0
0
0
0
1
0
false
0
0.051282
0
0.153846
0
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
bfdb1ec3bcf1251777d5b7ee5b6352813b38dd21
435
py
Python
src/organ_match_app/matchapp/migrations/0004_auto_20190509_1708.py
ajmengistu/organmatch
0b1549bde715eb2e44cbb6dcd34fc5e0ce315e4e
[ "bzip2-1.0.6" ]
1
2019-05-07T21:47:54.000Z
2019-05-07T21:47:54.000Z
src/organ_match_app/matchapp/migrations/0004_auto_20190509_1708.py
ajmengistu/organmatch
0b1549bde715eb2e44cbb6dcd34fc5e0ce315e4e
[ "bzip2-1.0.6" ]
7
2019-12-04T22:51:59.000Z
2022-02-10T08:28:35.000Z
src/organ_match_app/matchapp/migrations/0004_auto_20190509_1708.py
ajmengistu/organmatch
0b1549bde715eb2e44cbb6dcd34fc5e0ce315e4e
[ "bzip2-1.0.6" ]
1
2020-07-23T03:43:46.000Z
2020-07-23T03:43:46.000Z
# Generated by Django 2.2.1 on 2019-05-09 21:08 from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('matchapp', '0003_available_doctors'), ] operations = [ ...
21.75
66
0.648276
47
435
5.851064
0.765957
0.072727
0
0
0
0
0
0
0
0
0
0.058462
0.252874
435
19
67
22.894737
0.787692
0.103448
0
0
1
0
0.121134
0.056701
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
bfe336aabdbb7507441477f437b0274a9584341b
1,710
py
Python
app/jitsi/main.py
RibhiEl-Zaru/jitsi-party
d51b827304f97010dcf82673d124c8f68f98cb02
[ "MIT" ]
null
null
null
app/jitsi/main.py
RibhiEl-Zaru/jitsi-party
d51b827304f97010dcf82673d124c8f68f98cb02
[ "MIT" ]
null
null
null
app/jitsi/main.py
RibhiEl-Zaru/jitsi-party
d51b827304f97010dcf82673d124c8f68f98cb02
[ "MIT" ]
null
null
null
import os import json from .models import User from flask import Blueprint, send_from_directory, redirect, url_for, current_app, request, jsonify main = Blueprint('main', __name__) @main.route('/join', methods=['GET', 'POST']) def join(): params = request.get_json()['params'] params['ip'] = compute_ip() u...
36.382979
140
0.654386
226
1,710
4.792035
0.411504
0.072022
0.031394
0.025854
0.053555
0.053555
0.053555
0
0
0
0
0.001462
0.2
1,710
46
141
37.173913
0.790205
0.107602
0
0
0
0
0.113666
0
0
0
0
0.021739
0
1
0.108108
false
0
0.108108
0
0.351351
0.054054
0
0
0
null
0
0
0
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
bfe67e7a43775352603cca8735626be5e0303770
2,436
py
Python
recipes/Python/299133_bubblebabble/recipe-299133.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/299133_bubblebabble/recipe-299133.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/299133_bubblebabble/recipe-299133.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
#! /usr/bin/env python """Compute a (somewhat more) human readable format for message digests. This is port of the perl module Digest-BubbleBabble-0.01 (http://search.cpan.org/~btrott/Digest-BubbleBabble-0.01/) """ vowels = "aeiouy" consonants = "bcdfghklmnprstvzx" def bubblebabble(digest): """compute bubblebabb...
33.369863
101
0.610016
323
2,436
4.569659
0.470588
0.033198
0.03794
0.018293
0.059621
0.059621
0.059621
0.059621
0.059621
0.059621
0
0.086606
0.236864
2,436
72
102
33.833333
0.70737
0.018062
0
0.045455
0
0
0.264737
0.223684
0
0
0
0
0.022727
0
null
null
0
0
null
null
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bff840c3000c3f2fd947707aa1ec3f8be36ae525
1,510
py
Python
setup.py
canvasslabs/packageurl-python
ea036912050ddeecff4741486de0d992fbe6bb0c
[ "MIT" ]
null
null
null
setup.py
canvasslabs/packageurl-python
ea036912050ddeecff4741486de0d992fbe6bb0c
[ "MIT" ]
null
null
null
setup.py
canvasslabs/packageurl-python
ea036912050ddeecff4741486de0d992fbe6bb0c
[ "MIT" ]
1
2018-10-06T21:40:41.000Z
2018-10-06T21:40:41.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- # SPDX-License-Identifier: MIT from __future__ import absolute_import from __future__ import print_function from glob import glob from os.path import basename from os.path import splitext from setuptools import find_packages from setuptools import setup setup( na...
32.826087
90
0.660927
180
1,510
5.444444
0.538889
0.05102
0.127551
0.032653
0.04898
0
0
0
0
0
0
0.010042
0.208609
1,510
45
91
33.555556
0.810042
0.048344
0
0
0
0
0.48954
0
0
0
0
0
0
1
0
true
0
0.189189
0
0.189189
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
1
0
0
0
0
0
0
1
bff9635e2cdc0eb91f5d1e1167976170aacd1110
747
py
Python
fduser/cms_plugins.py
ForumDev/forumdev-user
1d5e03531466c30160c2b4cb9a48ca9e7bda61ba
[ "MIT" ]
null
null
null
fduser/cms_plugins.py
ForumDev/forumdev-user
1d5e03531466c30160c2b4cb9a48ca9e7bda61ba
[ "MIT" ]
null
null
null
fduser/cms_plugins.py
ForumDev/forumdev-user
1d5e03531466c30160c2b4cb9a48ca9e7bda61ba
[ "MIT" ]
1
2020-10-12T06:28:18.000Z
2020-10-12T06:28:18.000Z
from cms.plugin_base import CMSPluginBase from cms.models.pluginmodel import CMSPlugin from cms.plugin_pool import plugin_pool from fduser import models from django.utils.translation import ugettext as _ from django.contrib.sites.models import Site class Users(CMSPluginBase): model = CMSPlugin # Model where data ...
35.571429
78
0.740295
98
747
5.540816
0.520408
0.038674
0.047882
0
0
0
0
0
0
0
0
0
0.182062
747
20
79
37.35
0.888707
0.156627
0
0
0
0
0.067308
0
0
0
0
0
0
1
0.0625
false
0
0.375
0
0.8125
0
0
0
0
null
0
0
0
0
0
0
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
bfff911df94e2189787b5ca569a10579a5dcb4c2
11,611
py
Python
DeepLearning/DeepLearning/02_Deep_ChoTH/deep_learning_7.py
ghost9023/DeepLearningPythonStudy
4d319c8729472cc5f490935854441a2d4b4e8818
[ "MIT" ]
1
2019-06-27T04:05:59.000Z
2019-06-27T04:05:59.000Z
DeepLearning/DeepLearning/02_Deep_ChoTH/deep_learning_7.py
ghost9023/DeepLearningPythonStudy
4d319c8729472cc5f490935854441a2d4b4e8818
[ "MIT" ]
null
null
null
DeepLearning/DeepLearning/02_Deep_ChoTH/deep_learning_7.py
ghost9023/DeepLearningPythonStudy
4d319c8729472cc5f490935854441a2d4b4e8818
[ "MIT" ]
null
null
null
# CHAPTER 7 합성곱 신경망(CNN) # 전체구조 # 합성곱계층과 풀링계층이 추가된다. # 지금까지 본 신경망은 인접하는 계층의 모든 뉴런과 결합되어 있다. 이를 완전연결이라고 하며, 완전히 연결된 계층을 Affine계층이라는 이름으로 구현했다. ########################################## # 2차원 배열 합성곱 #@#!@#!$!$!@#@!$%!@#!@# ########################################## import numpy as np data = np.array(range(0,81)).reshape...
35.39939
113
0.551977
1,907
11,611
3.285265
0.334557
0.005427
0.003831
0.008779
0.255706
0.208779
0.169832
0.13759
0.124661
0.124661
0
0.037118
0.252864
11,611
327
114
35.507645
0.685072
0.294893
0
0.268571
0
0
0.031614
0
0
0
0
0
0
0
null
null
0
0.034286
null
null
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8701d9777abb9867105564e069f85e55ea2668a5
806
py
Python
project/settings/general/databases.py
danielbraga/hcap
a3ca0d6963cff19ed6ec0436cce84e2b41615454
[ "MIT" ]
null
null
null
project/settings/general/databases.py
danielbraga/hcap
a3ca0d6963cff19ed6ec0436cce84e2b41615454
[ "MIT" ]
null
null
null
project/settings/general/databases.py
danielbraga/hcap
a3ca0d6963cff19ed6ec0436cce84e2b41615454
[ "MIT" ]
null
null
null
""" django: https://docs.djangoproject.com/en/3.0/ref/settings/#databases """ from ..env import env from .paths import SQLITE_PATH DATABASE_TYPE = env("HCAP__DATABASE_TYPE", default="sqlite") if DATABASE_TYPE == "sqlite": DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": str(SQLITE_PA...
32.24
95
0.626551
89
806
5.41573
0.41573
0.087137
0.155602
0.116183
0.157676
0.157676
0
0
0
0
0
0.010886
0.202233
806
24
96
33.583333
0.738725
0.090571
0
0
0
0
0.376552
0.107586
0
0
0
0
0
1
0
false
0.0625
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
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
8703e2d3131fbbf507719f582a432f8703d7572d
537
py
Python
exerciciosPython/Mundo1GB/ex035.py
gutembergdomingos13/ExerciciosPhyton
67e046d3ed91d1c10d8227bc5a89735ed6a0abff
[ "MIT" ]
null
null
null
exerciciosPython/Mundo1GB/ex035.py
gutembergdomingos13/ExerciciosPhyton
67e046d3ed91d1c10d8227bc5a89735ed6a0abff
[ "MIT" ]
null
null
null
exerciciosPython/Mundo1GB/ex035.py
gutembergdomingos13/ExerciciosPhyton
67e046d3ed91d1c10d8227bc5a89735ed6a0abff
[ "MIT" ]
null
null
null
# Desenvolva um programa que leia o comprimento de três retas # e diga ao usuário se elas podem ou não formar um triângulo. print("-=-" * 15) print("Vamos analisar um triângulo...") print('-=-' * 15) r1 = float(input('Informe o primeiro segmento: ')) r2 = float(input('Informe o segundo seguimento: ')) r3 = float(inpu...
33.5625
61
0.687151
82
537
4.5
0.54878
0.065041
0.138211
0.146341
0
0
0
0
0
0
0
0.036613
0.18622
537
15
62
35.8
0.80778
0.221601
0
0
0
0
0.527711
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
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
8705be63c63c4c6cc5d6f7cc5c1159e4435dd4ec
956
py
Python
examples/img-classifier/main.py
robianmcd/keras-mri
dd8619ca848cb64555fbd7aca5b7aa1941cdc08b
[ "MIT" ]
12
2019-04-18T13:32:48.000Z
2020-06-19T13:45:34.000Z
examples/img-classifier/main.py
robianmcd/keras-mri
dd8619ca848cb64555fbd7aca5b7aa1941cdc08b
[ "MIT" ]
1
2019-06-20T03:44:07.000Z
2019-06-21T14:35:44.000Z
examples/img-classifier/main.py
robianmcd/keras-mri
dd8619ca848cb64555fbd7aca5b7aa1941cdc08b
[ "MIT" ]
3
2019-04-18T19:36:52.000Z
2020-01-30T22:51:02.000Z
import numpy as np import os import os.path as path from keras.applications import vgg16, inception_v3, resnet50, mobilenet from keras.preprocessing.image import load_img from keras.preprocessing.image import img_to_array import kmri base_path = path.dirname(path.realpath(__file__)) img_path = path.join(base_path, 'i...
26.555556
80
0.761506
142
956
4.901408
0.352113
0.04023
0.043103
0.12931
0.272989
0.117816
0.117816
0
0
0
0
0.029197
0.140167
956
35
81
27.314286
0.817518
0.212343
0
0
0
0
0.014825
0
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
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
870a8d637ee605f55604fde4b7ffc2547f1122a2
958
py
Python
tests/unitary/ERC20CRV/test_setters.py
AqualisDAO/curve-dao-contracts
beec73a068da8ed01c0f710939dc5adb776d565b
[ "MIT" ]
217
2020-06-24T14:01:21.000Z
2022-03-29T08:35:24.000Z
tests/unitary/ERC20CRV/test_setters.py
AqualisDAO/curve-dao-contracts
beec73a068da8ed01c0f710939dc5adb776d565b
[ "MIT" ]
25
2020-06-24T09:39:02.000Z
2022-03-22T17:03:00.000Z
tests/unitary/ERC20CRV/test_setters.py
AqualisDAO/curve-dao-contracts
beec73a068da8ed01c0f710939dc5adb776d565b
[ "MIT" ]
110
2020-07-10T22:45:49.000Z
2022-03-29T02:51:08.000Z
import brownie def test_set_minter_admin_only(accounts, token): with brownie.reverts("dev: admin only"): token.set_minter(accounts[2], {"from": accounts[1]}) def test_set_admin_admin_only(accounts, token): with brownie.reverts("dev: admin only"): token.set_admin(accounts[2], {"from": account...
26.611111
65
0.676409
135
958
4.622222
0.185185
0.100962
0.096154
0.128205
0.703526
0.684295
0.576923
0.407051
0.192308
0.192308
0
0.014925
0.160752
958
35
66
27.371429
0.761194
0
0
0.1
0
0
0.131524
0
0
0
0
0
0.2
1
0.3
false
0
0.05
0
0.35
0
0
0
0
null
0
0
0
0
0
0
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
870f4a06886086706c0904777ac053129591b6cd
715
py
Python
src/dcos_e2e_cli/dcos_docker/commands/_cgroup_mount_option.py
jongiddy/dcos-e2e
b52ef9a1097a8fb328902064345cc6c8b0bf5779
[ "Apache-2.0" ]
63
2018-05-17T21:02:14.000Z
2021-11-15T19:18:03.000Z
src/dcos_e2e_cli/dcos_docker/commands/_cgroup_mount_option.py
jongiddy/dcos-e2e
b52ef9a1097a8fb328902064345cc6c8b0bf5779
[ "Apache-2.0" ]
225
2017-09-08T02:24:58.000Z
2018-05-16T12:18:58.000Z
src/dcos_e2e_cli/dcos_docker/commands/_cgroup_mount_option.py
jongiddy/dcos-e2e
b52ef9a1097a8fb328902064345cc6c8b0bf5779
[ "Apache-2.0" ]
21
2018-06-14T21:58:24.000Z
2021-11-15T19:18:06.000Z
""" Mount /sys/fs/cgroup Option """ from typing import Callable import click def cgroup_mount_option(command: Callable[..., None]) -> Callable[..., None]: """ Option for choosing to mount `/sys/fs/cgroup` into the container. """ function = click.option( '--mount-sys-fs-cgroup/--no-mount-sys-...
27.5
79
0.587413
86
715
4.848837
0.488372
0.071942
0.158273
0.191847
0
0
0
0
0
0
0
0
0.267133
715
25
80
28.6
0.795802
0.167832
0
0
0
0
0.402098
0.08042
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.266667
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
8712aff8958c54d885bd36104125e3e7046bb22c
29,060
py
Python
ScriptsForDiffPlatforms/SteamOrderPricesCSmoney.py
dr11m/steamSkins
74202ec23c2b096ef18bad0a408ca7f6cccd187f
[ "MIT" ]
null
null
null
ScriptsForDiffPlatforms/SteamOrderPricesCSmoney.py
dr11m/steamSkins
74202ec23c2b096ef18bad0a408ca7f6cccd187f
[ "MIT" ]
null
null
null
ScriptsForDiffPlatforms/SteamOrderPricesCSmoney.py
dr11m/steamSkins
74202ec23c2b096ef18bad0a408ca7f6cccd187f
[ "MIT" ]
1
2022-02-20T21:01:16.000Z
2022-02-20T21:01:16.000Z
import os from selenium import webdriver import random import time from selenium.webdriver.chrome.options import Options from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By from selenium.webdriver.common.act...
43.699248
1,098
0.618582
3,409
29,060
5.066002
0.193899
0.014186
0.036885
0.035206
0.51077
0.487782
0.443891
0.427794
0.401737
0.377012
0
0.02192
0.27629
29,060
664
1,099
43.76506
0.799249
0.080867
0
0.481043
0
0.028436
0.302756
0.095579
0
0
0
0
0
1
0.011848
false
0.035545
0.059242
0
0.07109
0.101896
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
871339da3c5ad19f363b1ca88a51d6c2fea28c59
3,858
py
Python
scripts/venv/lib/python2.7/site-packages/cogent/align/progressive.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
3
2015-11-20T08:44:42.000Z
2016-12-14T01:40:03.000Z
scripts/venv/lib/python2.7/site-packages/cogent/align/progressive.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
1
2017-09-04T14:04:32.000Z
2020-05-26T19:04:00.000Z
scripts/venv/lib/python2.7/site-packages/cogent/align/progressive.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import with_statement from cogent import LoadTree from cogent.phylo import nj as NJ from cogent.phylo.distance import EstimateDistances from cogent.core.info import Info from cogent.util import progress_display as UI __author__ = "Peter Maxwell" __copyright__ = "Copyright 2007-20...
38.58
89
0.664593
483
3,858
5.089027
0.36646
0.040277
0.045566
0.019528
0.026851
0.026851
0
0
0
0
0
0.007618
0.251426
3,858
99
90
38.969697
0.84349
0.020218
0
0.112676
0
0
0.108546
0
0
0
0
0
0.014085
0
null
null
0
0.084507
null
null
0.028169
0
0
0
null
0
0
0
0
0
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
8713f50880ce1a36e5b15f90eca7dd6b247d359c
4,654
py
Python
Day Pogress - 18~100/Day 17/constructor.py
Abbhiishek/Python
3ad5310ca29469f353f9afa99531f01273eec6bd
[ "MIT" ]
1
2022-02-04T07:04:34.000Z
2022-02-04T07:04:34.000Z
Day Pogress - 18~100/Day 17/constructor.py
Abbhiishek/Python
3ad5310ca29469f353f9afa99531f01273eec6bd
[ "MIT" ]
12
2022-02-13T12:10:32.000Z
2022-02-17T09:36:49.000Z
Day Pogress - 18~100/Day 17/constructor.py
Abbhiishek/Python
3ad5310ca29469f353f9afa99531f01273eec6bd
[ "MIT" ]
null
null
null
""" how to create a class a class is constructed through constructor => a class can be constructed through specific function called "__init__(self)" """ # let's create a Class class Person: """ A class to create a person with the following attributes: age, marks, phone, user_id, profession, goal ...
26.747126
89
0.595617
632
4,654
4.265823
0.129747
0.048961
0.074184
0.077893
0.372774
0.259644
0.228858
0.060089
0
0
0
0.010117
0.32037
4,654
174
90
26.747126
0.842238
0.470348
0
0.226415
0
0
0.075216
0
0
0
0
0
0
1
0.264151
false
0
0
0
0.396226
0.245283
0
0
0
null
0
0
0
0
0
0
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
8714de68982283bcaeff5e6a0b71251d452dbab8
1,873
py
Python
tests/x7/lib/test_shell_tools.py
gribbg/x7-lib
1ec5807d2c85d522a9f678f995d0f2fe42735d18
[ "BSD-2-Clause" ]
null
null
null
tests/x7/lib/test_shell_tools.py
gribbg/x7-lib
1ec5807d2c85d522a9f678f995d0f2fe42735d18
[ "BSD-2-Clause" ]
null
null
null
tests/x7/lib/test_shell_tools.py
gribbg/x7-lib
1ec5807d2c85d522a9f678f995d0f2fe42735d18
[ "BSD-2-Clause" ]
null
null
null
# Originally auto-generated on 2021-02-15-12:14:36 -0500 EST # By '--verbose --verbose x7.lib.shell_tools' from unittest import TestCase from x7.lib.annotations import tests from x7.testing.support import Capture from x7.lib import shell_tools from x7.lib.shell_tools_load import ShellTool @tests(shell_tools) class T...
36.019231
74
0.662573
251
1,873
4.705179
0.25498
0.160881
0.077053
0.038103
0.281118
0.254869
0.1558
0
0
0
0
0.017007
0.215163
1,873
51
75
36.72549
0.786395
0.08756
0
0.195122
1
0
0.056992
0
0
0
0
0
0.268293
1
0.097561
false
0
0.121951
0
0.243902
0
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
8716b6c023660b91d85d95f0d7e719aaefef6ec6
408
py
Python
elvaapp/elvaapp/doctype/vache/vache_dashboard.py
ovresko/elvadesk
10090244ce5bd379cf16763e216e6011870de937
[ "MIT" ]
1
2020-12-28T16:35:41.000Z
2020-12-28T16:35:41.000Z
elvaapp/troupeau/doctype/vache/vache_dashboard.py
ovresko/elvadesk
10090244ce5bd379cf16763e216e6011870de937
[ "MIT" ]
null
null
null
elvaapp/troupeau/doctype/vache/vache_dashboard.py
ovresko/elvadesk
10090244ce5bd379cf16763e216e6011870de937
[ "MIT" ]
null
null
null
from frappe import _ def get_data(): return { 'fieldname': 'vache', 'non_standard_fieldnames': { 'Insemination': 'vache' }, 'transactions': [ { 'label': _('Reproduction'), 'items': ['Insemination','Velage','Diagnostique'] }, { 'label': _('Production'), 'items': ['Lactation item'] ...
17
53
0.544118
32
408
6.71875
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.237745
408
23
54
17.73913
0.691318
0
0
0
0
0
0.458333
0.056373
0
0
0
0
0
1
0.045455
true
0
0.045455
0.045455
0.136364
0
0
0
0
null
0
0
0
0
0
0
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
871afb26bdc862a0ddb469ca8e427353406c19fc
690
py
Python
tests/emulator/kernel/test_kernel.py
FKD13/RCPU
1f27246494f60eaa2432470b2d218bb3f63578c7
[ "MIT" ]
17
2017-07-26T13:08:34.000Z
2022-02-19T20:44:02.000Z
tests/emulator/kernel/test_kernel.py
FKD13/RCPU
1f27246494f60eaa2432470b2d218bb3f63578c7
[ "MIT" ]
4
2017-10-12T20:56:39.000Z
2020-05-04T09:19:44.000Z
tests/emulator/kernel/test_kernel.py
FKD13/RCPU
1f27246494f60eaa2432470b2d218bb3f63578c7
[ "MIT" ]
4
2017-10-16T16:24:16.000Z
2022-03-21T19:07:06.000Z
from .utils import init_kernel def test_read_string(): k = init_kernel() k.RAM.load([ord(char) for char in "ABCDE"] + [0]) assert k.read_string(0) == "ABCDE" k.RAM.load([ord(char) for char in "PYTHON"] + [0], base_address=40) assert k.read_string(40) == "PYTHON" def test_write_string(): k = ...
24.642857
71
0.614493
110
690
3.663636
0.263636
0.198511
0.163772
0.253102
0.578164
0.35732
0.263027
0.119107
0
0
0
0.038817
0.215942
690
27
72
25.555556
0.7061
0.024638
0
0.2
0
0
0.068554
0
0
0
0
0
0.3
1
0.15
false
0
0.05
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
871edef7298e1f6e8174cf24afd5721a5373f0fa
3,297
py
Python
google_analytics/predictor.py
hadisotudeh/jads_kaggle
384928f8504053692ee4569f9692dd8ecebe1df3
[ "MIT" ]
11
2018-01-20T08:17:34.000Z
2019-12-04T08:40:11.000Z
google_analytics/predictor.py
hadisotudeh/jads_kaggle
384928f8504053692ee4569f9692dd8ecebe1df3
[ "MIT" ]
55
2018-01-19T15:23:45.000Z
2019-11-01T09:51:21.000Z
google_analytics/predictor.py
hadisotudeh/jads_kaggle
384928f8504053692ee4569f9692dd8ecebe1df3
[ "MIT" ]
28
2018-01-17T16:18:23.000Z
2020-05-25T14:14:49.000Z
import numpy as np from sklearn.metrics import mean_squared_error, make_scorer from sklearn.model_selection import train_test_split, cross_val_score from sklearn.base import BaseEstimator from utils import timing # noqa TUNING_OUTPUT_DEFAULT = 'tuning.txt' RANDOM_STATE = 42 # Used for reproducible results class Pre...
40.703704
142
0.670003
463
3,297
4.647948
0.356371
0.013941
0.026022
0.016729
0.16868
0.127323
0.081784
0.081784
0.081784
0.081784
0
0.003679
0.258113
3,297
80
143
41.2125
0.876124
0.484683
0
0
0
0
0.071279
0
0
0
0
0
0
1
0.193548
false
0
0.16129
0.032258
0.580645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
871f9d647a8ce835e1b9294a55164bca63acffe5
2,625
py
Python
benchmark/test.py
franklx/misaka
616d360bee576e4b1dfb36c58bd05a5166f59a38
[ "MIT" ]
1
2017-09-04T05:32:10.000Z
2017-09-04T05:32:10.000Z
benchmark/test.py
franklx/misaka
616d360bee576e4b1dfb36c58bd05a5166f59a38
[ "MIT" ]
null
null
null
benchmark/test.py
franklx/misaka
616d360bee576e4b1dfb36c58bd05a5166f59a38
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from misaka import Markdown, BaseRenderer, HtmlRenderer, \ SmartyPants, \ EXT_FENCED_CODE, EXT_TABLES, EXT_AUTOLINK, EXT_STRIKETHROUGH, \ EXT_SUPERSCRIPT, HTML_USE_XHTML, \ TABLE_ALIGN_L, TABLE_ALIGN_R, TABLE_ALIGN_C, \ TABLE_ALIGNMASK, TABLE_HEADER class BleepRenderer(Htm...
25.240385
78
0.552762
350
2,625
4.02
0.297143
0.056859
0.028429
0.022743
0.11656
0.11656
0.11656
0.089552
0.089552
0.089552
0
0.002133
0.285714
2,625
103
79
25.485437
0.748267
0.038095
0
0.081081
0
0.013514
0.208251
0.07259
0
0
0
0
0
1
0.175676
false
0
0.013514
0.108108
0.432432
0.013514
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
8722f6f5404b5e8a02c1795e4a9cd19c750cfc01
10,119
py
Python
tests/test_xunit_plugin.py
omergertel/slash
7dd5710a05822bbbaadc6c6517cefcbaa6397eab
[ "BSD-3-Clause" ]
null
null
null
tests/test_xunit_plugin.py
omergertel/slash
7dd5710a05822bbbaadc6c6517cefcbaa6397eab
[ "BSD-3-Clause" ]
null
null
null
tests/test_xunit_plugin.py
omergertel/slash
7dd5710a05822bbbaadc6c6517cefcbaa6397eab
[ "BSD-3-Clause" ]
null
null
null
import os import pytest import slash from lxml import etree def test_xunit_plugin(results, xunit_filename): assert os.path.exists(xunit_filename), 'xunit file not created' schema_root = etree.XML(_XUNIT_XSD) schema = etree.XMLSchema(schema_root) parser = etree.XMLParser(schema=schema) with open...
45.376682
303
0.608657
1,200
10,119
5.113333
0.175
0.097784
0.109518
0.105606
0.692797
0.662158
0.64912
0.613755
0.599413
0.504074
0
0.006163
0.262378
10,119
222
304
45.581081
0.815916
0.00504
0
0.600962
0
0.100962
0.916253
0.099642
0
0
0
0
0.028846
1
0.019231
false
0
0.019231
0
0.043269
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
872538f9e004a1966a45af99b31962b33d5a2ea0
372
py
Python
bin/award_ebadge_declare.py
ervikey/SA-ctf_scoreboard
00b631e9ed2c075f96f660583656ae68eb4b17e0
[ "CC0-1.0" ]
106
2018-03-09T13:03:05.000Z
2022-03-10T11:01:48.000Z
bin/award_ebadge_declare.py
ervikey/SA-ctf_scoreboard
00b631e9ed2c075f96f660583656ae68eb4b17e0
[ "CC0-1.0" ]
17
2018-05-11T00:53:47.000Z
2020-05-07T10:14:40.000Z
bin/award_ebadge_declare.py
ervikey/SA-ctf_scoreboard
00b631e9ed2c075f96f660583656ae68eb4b17e0
[ "CC0-1.0" ]
33
2018-04-23T20:18:11.000Z
2022-03-27T16:41:03.000Z
# encode = utf-8 import os import sys import re ta_name = 'SA-ctf_scoreboard' ta_lib_name = 'sa_ctf_scoreboard' pattern = re.compile(r"[\\/]etc[\\/]apps[\\/][^\\/]+[\\/]bin[\\/]?$") new_paths = [path for path in sys.path if not pattern.search(path) or ta_name in path] new_paths.insert(0, os.path.sep.join([os.path.dir...
28.615385
86
0.688172
64
372
3.75
0.53125
0.1
0.075
0.158333
0
0
0
0
0
0
0
0.006042
0.110215
372
12
87
31
0.719033
0.037634
0
0
0
0
0.219101
0.123596
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
87259cd2c6b021df4f9006bba7f609c83a89593f
503
py
Python
books/migrations/0009_library_waitlist_items.py
rodbv/kamu
f390d91f7d7755b49176cf5d504648e3fe572237
[ "MIT" ]
70
2018-05-23T16:44:44.000Z
2021-12-05T21:48:10.000Z
books/migrations/0009_library_waitlist_items.py
rodbv/kamu
f390d91f7d7755b49176cf5d504648e3fe572237
[ "MIT" ]
122
2018-10-06T21:31:24.000Z
2020-11-09T15:04:56.000Z
books/migrations/0009_library_waitlist_items.py
rodbv/kamu
f390d91f7d7755b49176cf5d504648e3fe572237
[ "MIT" ]
50
2018-05-23T05:49:10.000Z
2021-11-22T07:53:42.000Z
# Generated by Django 2.0.1 on 2019-01-07 14:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('waitlist', '0001_initial'), ('books', '0008_bookcopy_borrow_date'), ] operations = [ migrations.AddField( model_name='li...
25.15
122
0.628231
53
503
5.811321
0.773585
0.077922
0.11039
0
0
0
0
0
0
0
0
0.060526
0.244533
503
19
123
26.473684
0.75
0.089463
0
0
1
0
0.254386
0.100877
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
872757654f8085ced49101ead759a3fbe2d7c7bc
7,695
py
Python
SubredditScraper/scrape.py
tomhennessey/Subreddit-Scrape
224c76fb179b6171634e7dd7739f73015c206d62
[ "MIT" ]
null
null
null
SubredditScraper/scrape.py
tomhennessey/Subreddit-Scrape
224c76fb179b6171634e7dd7739f73015c206d62
[ "MIT" ]
null
null
null
SubredditScraper/scrape.py
tomhennessey/Subreddit-Scrape
224c76fb179b6171634e7dd7739f73015c206d62
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ A simple subreddit scraper """ import datetime as dt import logging import time import os import sys import getopt import praw from psaw import PushshiftAPI if __package__ == None: import db else: from . import db def init_log(): """ Initiates a logger for psaw to be used ...
24.046875
86
0.591813
953
7,695
4.632739
0.266527
0.012684
0.01359
0.009966
0.141789
0.130464
0.119139
0.103284
0.089694
0.06795
0
0.009458
0.299285
7,695
319
87
24.122257
0.809347
0.262118
0
0.142857
0
0
0.099296
0
0
0
0
0.015674
0
1
0.129252
false
0
0.068027
0
0.285714
0.054422
0
0
0
null
0
0
0
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
874f63a84b2700710fd965dced8d15b1927c1840
503
py
Python
enumerate_and_map_and_reduce.py
aslange/Python_Basics
53856d53b970026da7aa26b8bc468c03352d97b7
[ "Apache-2.0" ]
null
null
null
enumerate_and_map_and_reduce.py
aslange/Python_Basics
53856d53b970026da7aa26b8bc468c03352d97b7
[ "Apache-2.0" ]
null
null
null
enumerate_and_map_and_reduce.py
aslange/Python_Basics
53856d53b970026da7aa26b8bc468c03352d97b7
[ "Apache-2.0" ]
null
null
null
# função enumerate lista = ['abacate', 'bola', 'cachorro'] # lista for i in range(len(lista)): print(i, lista[i]) for i, nome in enumerate(lista): print(i, nome) # função map def dobro(x): return x * 2 valor = [1, 2, 3, 4, 5] print(dobro(valor)) valor_dobrado = map(dobro, valor) valor_dobrado = list...
14.371429
47
0.648111
81
503
3.975309
0.395062
0.149068
0.068323
0.024845
0.031056
0
0
0
0
0
0
0.0275
0.204771
503
35
48
14.371429
0.7775
0.093439
0
0
0
0
0.042035
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0.111111
0.277778
0.277778
0
0
0
null
0
0
0
0
0
0
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
87599bd37b5c1ce4791f85dbb86aca71c590ae91
6,095
py
Python
src/cascade_at/settings/base_case.py
ihmeuw/cascade-at
a5b1b5da1698163fd3bbafc6288968dd9c398096
[ "MIT" ]
1
2019-10-14T23:18:04.000Z
2019-10-14T23:18:04.000Z
src/cascade_at/settings/base_case.py
ihmeuw/cascade
a5b1b5da1698163fd3bbafc6288968dd9c398096
[ "MIT" ]
35
2018-07-17T18:37:33.000Z
2020-03-06T13:31:35.000Z
src/cascade_at/settings/base_case.py
ihmeuw/cascade
a5b1b5da1698163fd3bbafc6288968dd9c398096
[ "MIT" ]
4
2018-07-13T00:01:35.000Z
2019-09-02T23:56:11.000Z
BASE_CASE = { "model": { "random_seed": 495279142, "default_age_grid": "0 0.01917808 0.07671233 1 5 10 20 30 40 50 60 70 80 90 100", "default_time_grid": "1990 1995 2000 2005 2010 2015 2016", "add_calc_emr": "from_both", "birth_prev": 0, "ode_step_size": 5, "m...
27.331839
89
0.31534
479
6,095
3.807933
0.311065
0.04386
0.04386
0.049342
0.451206
0.405702
0.347588
0.309211
0.309211
0.260965
0
0.102941
0.542576
6,095
222
90
27.454955
0.551291
0
0
0.468468
0
0
0.288761
0.016899
0
0
0
0
0
1
0
false
0
0
0
0
0.004505
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
875e13669b90d566535e678aeb9626f67f4c6d30
3,101
py
Python
PyBlokusTools/pyblokustools/testserver/Message.py
HenrikThoroe/SWC-2021
8e7eee25e3a6fda7e863591b05fa161d8a2ebc78
[ "BSD-2-Clause", "MIT" ]
null
null
null
PyBlokusTools/pyblokustools/testserver/Message.py
HenrikThoroe/SWC-2021
8e7eee25e3a6fda7e863591b05fa161d8a2ebc78
[ "BSD-2-Clause", "MIT" ]
null
null
null
PyBlokusTools/pyblokustools/testserver/Message.py
HenrikThoroe/SWC-2021
8e7eee25e3a6fda7e863591b05fa161d8a2ebc78
[ "BSD-2-Clause", "MIT" ]
null
null
null
from typing import Any, Final, Tuple, List from enum import IntEnum from .MsgType import MsgType class Message(): """Base Message Arguments: type {MsgType} -- Type of message payload {Any} -- Payload used for later handling """ def __init__(self, type: MsgType, payload: Any) ->...
29.817308
131
0.58207
339
3,101
5.221239
0.286136
0.025424
0.024859
0.031638
0.20791
0.20791
0.176271
0.176271
0.176271
0.176271
0
0.008257
0.297001
3,101
103
132
30.106796
0.80367
0.357304
0
0.097561
0
0.02439
0.144886
0.074432
0
0
0
0
0
1
0.219512
false
0
0.073171
0
0.731707
0
0
0
0
null
0
0
0
0
0
0
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
875f3dc2268c5b69947a406b55babc4f4af29f54
2,984
py
Python
celo_sdk/tests/stable_token_tests.py
rcroessmann/celo-sdk-py
8826adaa6bbcb53374e7c26f0638a7fc973a9dd9
[ "Apache-2.0" ]
7
2021-02-09T20:44:41.000Z
2022-03-30T10:56:06.000Z
celo_sdk/tests/stable_token_tests.py
rcroessmann/celo-sdk-py
8826adaa6bbcb53374e7c26f0638a7fc973a9dd9
[ "Apache-2.0" ]
4
2020-11-04T07:39:10.000Z
2022-02-19T00:06:46.000Z
celo_sdk/tests/stable_token_tests.py
rcroessmann/celo-sdk-py
8826adaa6bbcb53374e7c26f0638a7fc973a9dd9
[ "Apache-2.0" ]
8
2020-11-03T14:45:26.000Z
2022-02-23T12:41:05.000Z
import time import unittest from web3 import Web3 from celo_sdk.kit import Kit from celo_sdk.tests import test_data class TestStableTokenWrapper(unittest.TestCase): @classmethod def setUpClass(self): self.kit = Kit('http://localhost:8544') self.stable_token_wrapper = self.kit.base_wrapper.c...
33.909091
124
0.678284
392
2,984
4.905612
0.234694
0.054602
0.117005
0.171607
0.350494
0.349974
0.325013
0.186687
0.117525
0.117525
0
0.019247
0.216488
2,984
87
125
34.298851
0.803251
0.010724
0
0.098361
0
0
0.024407
0
0
0
0
0
0.180328
1
0.163934
false
0
0.081967
0
0.262295
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
87678f18706219a75f4b57fd79110313c3f75dec
1,232
py
Python
vsts/vsts/work/v4_1/models/parent_child_wIMap.py
kenkuo/azure-devops-python-api
9e920bd25e938fa89ff7f60153e5b9e113ca839d
[ "MIT" ]
null
null
null
vsts/vsts/work/v4_1/models/parent_child_wIMap.py
kenkuo/azure-devops-python-api
9e920bd25e938fa89ff7f60153e5b9e113ca839d
[ "MIT" ]
null
null
null
vsts/vsts/work/v4_1/models/parent_child_wIMap.py
kenkuo/azure-devops-python-api
9e920bd25e938fa89ff7f60153e5b9e113ca839d
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
36.235294
94
0.507305
124
1,232
4.814516
0.524194
0.090452
0.130653
0.160804
0.080402
0.080402
0
0
0
0
0
0
0.175325
1,232
33
95
37.333333
0.587598
0.553571
0
0
0
0
0.159136
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.333333
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