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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c944fb70978ce339d17a2b5185083d51125ce9b | 1,442 | py | Python | src/entities/user.py | clayz/crazy-quiz-web | 7601809ad521d95ae251a026f171b9ec6939c55f | [
"Apache-2.0"
] | null | null | null | src/entities/user.py | clayz/crazy-quiz-web | 7601809ad521d95ae251a026f171b9ec6939c55f | [
"Apache-2.0"
] | null | null | null | src/entities/user.py | clayz/crazy-quiz-web | 7601809ad521d95ae251a026f171b9ec6939c55f | [
"Apache-2.0"
] | null | null | null | from google.appengine.ext import ndb
from google.appengine.ext.ndb import msgprop
from entities import BaseEntity
from constants import Gender, UserStatus, Device, APIStatus
from errors import DataError
class User(BaseEntity):
name = ndb.StringProperty()
mail = ndb.StringProperty()
gender = msgprop.EnumPr... | 36.05 | 89 | 0.73301 | 170 | 1,442 | 6.135294 | 0.417647 | 0.115053 | 0.091083 | 0.115053 | 0.245446 | 0.245446 | 0.099712 | 0.099712 | 0.099712 | 0 | 0 | 0.003353 | 0.172677 | 1,442 | 39 | 90 | 36.974359 | 0.870914 | 0.01595 | 0 | 0.0625 | 0 | 0 | 0.016949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.15625 | 0 | 0.84375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9c983e06b9771f99c2823cbf81e31f60d912dcdd | 3,327 | py | Python | paytm/models.py | Faisal-Manzer/django-paytm-checkout | bc796fca160f2664d85d0a09acf558532cc74442 | [
"MIT"
] | 10 | 2019-11-08T12:10:19.000Z | 2019-11-16T09:59:45.000Z | paytm/models.py | Faisal-Manzer/django-paytm-checkout | bc796fca160f2664d85d0a09acf558532cc74442 | [
"MIT"
] | 6 | 2019-11-09T09:16:46.000Z | 2022-02-10T11:30:55.000Z | paytm/models.py | Faisal-Manzer/django-paytm-checkout | bc796fca160f2664d85d0a09acf558532cc74442 | [
"MIT"
] | 1 | 2020-06-02T15:56:56.000Z | 2020-06-02T15:56:56.000Z | __all__ = ['Order', 'Item']
from django.db import models
from django.contrib.auth import get_user_model
from paytm import conf as paytm_conf
from paytm.helpers import sha256
class Item(models.Model):
price = models.FloatField()
name = models.CharField(max_length=255)
tag = models.CharField(max_length=255... | 28.681034 | 98 | 0.612564 | 405 | 3,327 | 4.871605 | 0.298765 | 0.056766 | 0.092245 | 0.120628 | 0.222504 | 0.142423 | 0.065383 | 0.065383 | 0.065383 | 0 | 0 | 0.023875 | 0.232041 | 3,327 | 115 | 99 | 28.930435 | 0.748337 | 0.165014 | 0 | 0.0625 | 0 | 0 | 0.025027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.0625 | 0.03125 | 0.578125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9c9dc2b48466cf77d6827d16eafaafb0b544703d | 1,046 | py | Python | tests/algorithms/sets/test_cartesian.py | maurobaraldi/python-algorithms | 94fe5e46737d6ea2f7ff62b5b61b7b9cca3fbd14 | [
"MIT"
] | 2 | 2018-11-05T17:12:40.000Z | 2019-09-05T17:10:01.000Z | tests/algorithms/sets/test_cartesian.py | maurobaraldi/python-algorithms | 94fe5e46737d6ea2f7ff62b5b61b7b9cca3fbd14 | [
"MIT"
] | null | null | null | tests/algorithms/sets/test_cartesian.py | maurobaraldi/python-algorithms | 94fe5e46737d6ea2f7ff62b5b61b7b9cca3fbd14 | [
"MIT"
] | 1 | 2019-01-02T19:07:51.000Z | 2019-01-02T19:07:51.000Z | #!/usr/bin/env python
import unittest
from algorithms.sets.cartesian_product import cartesian
class TestFatorial(unittest.TestCase):
def setUp(self):
self.set_a = [1, 2]
self.set_b = [4, 5]
def test_cartesian_product(self):
self.assertEqual(cartesian.product(self.set_a, self.set_b),... | 34.866667 | 122 | 0.630975 | 170 | 1,046 | 3.647059 | 0.235294 | 0.124194 | 0.077419 | 0.096774 | 0.522581 | 0.483871 | 0.417742 | 0.417742 | 0.417742 | 0.417742 | 0 | 0.061611 | 0.193117 | 1,046 | 29 | 123 | 36.068966 | 0.672986 | 0.01912 | 0 | 0 | 0 | 0 | 0.007805 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.277778 | false | 0 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9c9e9f62b13ea8939d24495e7e75ae788410b53b | 5,520 | py | Python | tests/test_models.py | thmslmr/timebomb-client | a57fdbb8bfc0157d2c3d713496ab4819fb33f1fd | [
"MIT"
] | 1 | 2020-03-31T17:17:40.000Z | 2020-03-31T17:17:40.000Z | tests/test_models.py | thmslmr/timebomb-client | a57fdbb8bfc0157d2c3d713496ab4819fb33f1fd | [
"MIT"
] | 2 | 2020-03-31T17:18:38.000Z | 2020-03-31T17:21:13.000Z | tests/test_models.py | thmslmr/timebomb-client | a57fdbb8bfc0157d2c3d713496ab4819fb33f1fd | [
"MIT"
] | null | null | null | from datetime import datetime
import timebomb.models as models
def test_Notification():
notif = models.Notification("message")
assert notif.content == "message"
assert notif.read is False
assert str(notif) == "message"
def test_Player():
player = models.Player("name", "id")
assert player.... | 32.470588 | 87 | 0.661051 | 740 | 5,520 | 4.85 | 0.113514 | 0.072444 | 0.022569 | 0.033157 | 0.46949 | 0.395653 | 0.346057 | 0.346057 | 0.325439 | 0.315408 | 0 | 0.017603 | 0.197283 | 5,520 | 169 | 88 | 32.662722 | 0.792372 | 0 | 0 | 0.284483 | 0 | 0 | 0.123551 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.086207 | false | 0 | 0.017241 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
9ca437236746459609c5690cd68a04412ca8726f | 2,034 | py | Python | python/tests/test_nessie_cli.py | ryantse/nessie | c347d61ec7358fdc5759147cc6207143927246f3 | [
"Apache-2.0"
] | null | null | null | python/tests/test_nessie_cli.py | ryantse/nessie | c347d61ec7358fdc5759147cc6207143927246f3 | [
"Apache-2.0"
] | null | null | null | python/tests/test_nessie_cli.py | ryantse/nessie | c347d61ec7358fdc5759147cc6207143927246f3 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for `pynessie` package."""
import pytest
import requests_mock
import simplejson as json
from click.testing import CliRunner
from pynessie import __version__
from pynessie import cli
from pynessie.model import ReferenceSchema
def test_command_line_interface(reque... | 35.684211 | 90 | 0.69174 | 268 | 2,034 | 5.063433 | 0.261194 | 0.132646 | 0.106116 | 0.123803 | 0.632277 | 0.592483 | 0.592483 | 0.592483 | 0.592483 | 0.51437 | 0 | 0.02558 | 0.17355 | 2,034 | 56 | 91 | 36.321429 | 0.781678 | 0.049164 | 0 | 0.521739 | 0 | 0 | 0.105895 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 1 | 0.043478 | false | 0 | 0.152174 | 0 | 0.195652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
9cade016723908e48e753e2ca24979b97411963e | 1,970 | py | Python | chooks/commands/add.py | thegedge/chooks | 1a5115d16f67d716206da456ee405a562a6df042 | [
"MIT"
] | null | null | null | chooks/commands/add.py | thegedge/chooks | 1a5115d16f67d716206da456ee405a562a6df042 | [
"MIT"
] | 1 | 2015-05-11T18:25:49.000Z | 2015-05-11T18:29:11.000Z | chooks/commands/add.py | thegedge/chooks | 1a5115d16f67d716206da456ee405a562a6df042 | [
"MIT"
] | null | null | null | """Adds a chook to a git repository.
Usage:
chooks add [--stdin | --argument] [--once | --filter=FILTER...] [--global]
[--fatal] [--hook=NAME...] [--name=NAME] [--disabled]
[--] <command> [<args>...]
Options:
--stdin Supply input files to this chook via stdin.
--filter=<filt... | 38.627451 | 79 | 0.601015 | 252 | 1,970 | 4.638889 | 0.349206 | 0.053892 | 0.02053 | 0.032506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001389 | 0.269036 | 1,970 | 50 | 80 | 39.4 | 0.810417 | 0.605076 | 0 | 0 | 0 | 0 | 0.127273 | 0 | 0 | 0 | 0 | 0.02 | 0 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
9caf4f6433bdc8722933884a9170248eea827c22 | 3,432 | py | Python | MakeConects.py | Gimba/AmberUtils | f10ccc474a4fa4ea3aa2d93f85b99e2bb8b5d3b0 | [
"MIT"
] | null | null | null | MakeConects.py | Gimba/AmberUtils | f10ccc474a4fa4ea3aa2d93f85b99e2bb8b5d3b0 | [
"MIT"
] | null | null | null | MakeConects.py | Gimba/AmberUtils | f10ccc474a4fa4ea3aa2d93f85b99e2bb8b5d3b0 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# Copyright (c) 2015 William Lees
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, m... | 41.349398 | 128 | 0.592657 | 464 | 3,432 | 4.342672 | 0.413793 | 0.043672 | 0.025806 | 0.027792 | 0.196526 | 0.196526 | 0.196526 | 0.196526 | 0.157816 | 0.157816 | 0 | 0.025 | 0.312354 | 3,432 | 82 | 129 | 41.853659 | 0.828814 | 0.361014 | 0 | 0.255319 | 0 | 0 | 0.20927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.042553 | null | null | 0.06383 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
9cb06ce3367f1f618bf6ef97ee8c9a3b4e22a068 | 481 | py | Python | supersalon/professionals/models.py | dogukantufekci/supersalon | 6ce552712d9d91fb493043030a09386544ed8b81 | [
"BSD-3-Clause"
] | null | null | null | supersalon/professionals/models.py | dogukantufekci/supersalon | 6ce552712d9d91fb493043030a09386544ed8b81 | [
"BSD-3-Clause"
] | null | null | null | supersalon/professionals/models.py | dogukantufekci/supersalon | 6ce552712d9d91fb493043030a09386544ed8b81 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
from django.utils.translation import ugettext_lazy as _
class Professional(models.Model):
# User
user = models.OneToOneField('users.User', primary_key=True, related_name='professional', verbose_name=_("User"))
class Meta:
ordering = ('user__first_name', 'user__last_na... | 30.0625 | 116 | 0.704782 | 57 | 481 | 5.54386 | 0.596491 | 0.10443 | 0.14557 | 0.170886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182952 | 481 | 16 | 117 | 30.0625 | 0.804071 | 0.008316 | 0 | 0 | 0 | 0 | 0.172269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.2 | 0.1 | 0.7 | 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 |
9cb7bc1d4808741ef60b11b2ef895ca36d1c2b75 | 7,687 | py | Python | datageneration/dbmake_h264hits.py | utlive/VIDMAP | 60656d532ac497c1070f1c94c06807b2d57e2af4 | [
"Unlicense"
] | 1 | 2022-02-21T02:45:25.000Z | 2022-02-21T02:45:25.000Z | datageneration/dbmake_h264hits.py | utlive/VIDMAP | 60656d532ac497c1070f1c94c06807b2d57e2af4 | [
"Unlicense"
] | null | null | null | datageneration/dbmake_h264hits.py | utlive/VIDMAP | 60656d532ac497c1070f1c94c06807b2d57e2af4 | [
"Unlicense"
] | null | null | null | import skimage.io
import skvideo.io
import os
import h5py
from sklearn.externals import joblib
from sklearn.linear_model import LinearRegression
from sklearn.ensemble import RandomForestRegressor
from sklearn.metrics import f1_score
import scipy.misc
import scipy.signal
import numpy as np
from sporco import util
import... | 34.013274 | 162 | 0.655392 | 1,168 | 7,687 | 4.19863 | 0.20976 | 0.022839 | 0.012235 | 0.031811 | 0.629078 | 0.572186 | 0.535277 | 0.502243 | 0.472471 | 0.444535 | 0 | 0.060631 | 0.199688 | 7,687 | 225 | 163 | 34.164444 | 0.736508 | 0.15897 | 0 | 0.487013 | 0 | 0.032468 | 0.144055 | 0.070009 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.116883 | null | null | 0.025974 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
9cc0a99af59fe409930941e63a1459a695a01a4f | 2,258 | py | Python | scripts/spark.py | Sapphirine/Reducing_Manufacturing_Failures | ee6fd6dba345997431cae30380150e3513cab58e | [
"Apache-2.0"
] | 4 | 2019-04-02T21:20:19.000Z | 2021-09-01T06:08:47.000Z | scripts/spark.py | Sapphirine/Reducing_Manufacturing_Failures | ee6fd6dba345997431cae30380150e3513cab58e | [
"Apache-2.0"
] | null | null | null | scripts/spark.py | Sapphirine/Reducing_Manufacturing_Failures | ee6fd6dba345997431cae30380150e3513cab58e | [
"Apache-2.0"
] | 3 | 2019-08-02T12:13:04.000Z | 2020-03-24T12:16:33.000Z |
# coding: utf-8
# ### Open using Databricks Platform/Py-spark. It holds the code for developing the RandomForest Classifier on the chosen subset of important features.
# In[1]:
import os, sys
import pandas as pd
import numpy as np
from sklearn.metrics import matthews_corrcoef
import pyspark
from numpy import array... | 27.876543 | 152 | 0.767493 | 299 | 2,258 | 5.668896 | 0.521739 | 0.045428 | 0.038348 | 0.018879 | 0.112094 | 0.047198 | 0 | 0 | 0 | 0 | 0 | 0.074092 | 0.109389 | 2,258 | 80 | 153 | 28.225 | 0.768772 | 0.095217 | 0 | 0.136364 | 0 | 0 | 0.161656 | 0.0276 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.386364 | 0 | 0.386364 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
9ccb29cee770a8f04a2031d1320f314942e54690 | 13,400 | py | Python | sondages/sondages_wiki_scrap.py | verycourt/Elections | b954c2bb23422e85d10074d41f7d2adc537a1766 | [
"MIT"
] | null | null | null | sondages/sondages_wiki_scrap.py | verycourt/Elections | b954c2bb23422e85d10074d41f7d2adc537a1766 | [
"MIT"
] | null | null | null | sondages/sondages_wiki_scrap.py | verycourt/Elections | b954c2bb23422e85d10074d41f7d2adc537a1766 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
import requests
from bs4 import BeautifulSoup
import numpy as np
import pandas as pd
import warnings
import dateparser
import datetime
import time
import json
from json import encoder
encoder.FLOAT_REPR = lambda o: format(o, '.1f'... | 35.356201 | 175 | 0.589552 | 1,822 | 13,400 | 4.288145 | 0.226674 | 0.025342 | 0.028158 | 0.018303 | 0.302189 | 0.278382 | 0.242544 | 0.207091 | 0.180212 | 0.151414 | 0 | 0.040738 | 0.199478 | 13,400 | 378 | 176 | 35.449735 | 0.687424 | 0.08403 | 0 | 0.193833 | 0 | 0.013216 | 0.192079 | 0.00397 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.048458 | null | null | 0.013216 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
9cd0d98d0b63b4259d4d0c7661566ba636ce4420 | 20,644 | py | Python | src/mvdef/import_util.py | lmmx/mvdef | c1e5002fbbcb3382025f2c6410767fee3ffe2500 | [
"MIT"
] | null | null | null | src/mvdef/import_util.py | lmmx/mvdef | c1e5002fbbcb3382025f2c6410767fee3ffe2500 | [
"MIT"
] | 42 | 2019-12-31T12:22:10.000Z | 2021-07-11T10:57:06.000Z | src/mvdef/import_util.py | lmmx/mvdef | c1e5002fbbcb3382025f2c6410767fee3ffe2500 | [
"MIT"
] | null | null | null | import ast
from ast import Import as IType, ImportFrom as IFType
from astor import to_source
from asttokens import ASTTokens
from .colours import colour_str as colour
from os import linesep as nl
from sys import stderr
__all__ = [
"get_import_stmt_str",
"multilinify_import_stmt_str",
"colour_imp_stmt",
... | 50.722359 | 87 | 0.653749 | 2,980 | 20,644 | 4.344295 | 0.151007 | 0.020856 | 0.027113 | 0.010428 | 0.162058 | 0.122586 | 0.10621 | 0.076626 | 0.076626 | 0.070755 | 0 | 0.005156 | 0.267245 | 20,644 | 406 | 88 | 50.847291 | 0.850598 | 0.417506 | 0 | 0.148594 | 0 | 0 | 0.108171 | 0.010549 | 0 | 0 | 0 | 0 | 0.104418 | 1 | 0.032129 | false | 0.004016 | 0.349398 | 0 | 0.425703 | 0.016064 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9cd8ab1b3376a9a6e91e80aece04a51923c049ca | 10,351 | py | Python | nrgpy/convert/convert_rld.py | kyarazhan/nrgpy | 6a81af79ee4f666892d99a5f0713495bff89214b | [
"MIT"
] | null | null | null | nrgpy/convert/convert_rld.py | kyarazhan/nrgpy | 6a81af79ee4f666892d99a5f0713495bff89214b | [
"MIT"
] | null | null | null | nrgpy/convert/convert_rld.py | kyarazhan/nrgpy | 6a81af79ee4f666892d99a5f0713495bff89214b | [
"MIT"
] | null | null | null | try:
from nrgpy import logger
except ImportError:
pass
from datetime import datetime
import os
import subprocess
import time
import traceback
from nrgpy.api.convert import nrg_api_convert
from nrgpy.utils.utilities import check_platform, windows_folder_path, affirm_directory, count_files
class local(object):
... | 35.088136 | 180 | 0.562651 | 1,201 | 10,351 | 4.701915 | 0.196503 | 0.026917 | 0.025323 | 0.026917 | 0.362316 | 0.281211 | 0.243846 | 0.209846 | 0.189481 | 0.189481 | 0 | 0.010693 | 0.322384 | 10,351 | 294 | 181 | 35.207483 | 0.794411 | 0.182301 | 0 | 0.512821 | 0 | 0.010256 | 0.217949 | 0.014151 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0.071795 | 0.046154 | 0 | 0.082051 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
9cd8dd0d174f6ca548c62ed627de0eb3a16baa55 | 379 | py | Python | events/migrations/0040_event_team_size.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 166 | 2019-05-16T23:46:08.000Z | 2022-03-31T05:20:23.000Z | events/migrations/0040_event_team_size.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 92 | 2020-01-18T22:51:53.000Z | 2022-03-12T01:23:57.000Z | events/migrations/0040_event_team_size.py | VadVergasov/clist | 4afcdfe88250d224043b28efa511749347cec71c | [
"Apache-2.0"
] | 23 | 2020-02-09T17:38:43.000Z | 2021-12-09T14:39:07.000Z | # Generated by Django 2.2.10 on 2020-04-03 19:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0039_event_limits'),
]
operations = [
migrations.AddField(
model_name='event',
name='team_size',
... | 19.947368 | 49 | 0.591029 | 41 | 379 | 5.365854 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078358 | 0.292876 | 379 | 18 | 50 | 21.055556 | 0.742537 | 0.121372 | 0 | 0 | 1 | 0 | 0.111782 | 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 |
9cd9c5db682a634d72e6f3ad900937179bb19d00 | 1,303 | py | Python | src/origin_ledger_sdk/batch.py | project-origin/ledger-sdk-python | 46212e17e19f1d534c1717d3f3714f791731adea | [
"MIT"
] | null | null | null | src/origin_ledger_sdk/batch.py | project-origin/ledger-sdk-python | 46212e17e19f1d534c1717d3f3714f791731adea | [
"MIT"
] | null | null | null | src/origin_ledger_sdk/batch.py | project-origin/ledger-sdk-python | 46212e17e19f1d534c1717d3f3714f791731adea | [
"MIT"
] | null | null | null | from enum import Enum
from typing import List
from sawtooth_sdk.protobuf.batch_pb2 import BatchHeader
from sawtooth_sdk.protobuf.batch_pb2 import Batch as SignedBatch
from .requests import AbstractRequest
from .requests.helpers import get_signer
class BatchStatus(Enum):
UNKNOWN = 'UNKNOWN'
PENDING = 'PENDIN... | 30.302326 | 101 | 0.707598 | 150 | 1,303 | 5.846667 | 0.326667 | 0.059293 | 0.072976 | 0.068415 | 0.084379 | 0.084379 | 0.084379 | 0 | 0 | 0 | 0 | 0.001967 | 0.219493 | 1,303 | 42 | 102 | 31.02381 | 0.860374 | 0 | 0 | 0 | 0 | 0 | 0.023024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.193548 | 0 | 0.516129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9cdb60e1aaf4a83afb78be721e50868f4655f336 | 7,548 | py | Python | localization/pipeline/InstLoc.py | cameronwp/MMGIS | 5e6277bd4f0c8ff77cd12dce51d41abffe0ac394 | [
"Apache-2.0",
"Unlicense"
] | 63 | 2019-03-28T18:46:55.000Z | 2022-03-25T02:49:24.000Z | localization/pipeline/InstLoc.py | cameronwp/MMGIS | 5e6277bd4f0c8ff77cd12dce51d41abffe0ac394 | [
"Apache-2.0",
"Unlicense"
] | 75 | 2019-10-14T08:54:18.000Z | 2022-03-30T02:33:29.000Z | localization/pipeline/InstLoc.py | cameronwp/MMGIS | 5e6277bd4f0c8ff77cd12dce51d41abffe0ac394 | [
"Apache-2.0",
"Unlicense"
] | 15 | 2019-12-15T11:26:01.000Z | 2022-03-25T02:49:27.000Z | #! /usr/local/msl/bin/python
#******************************************************************************
# InstLoc.py <image.IMG/VIC>
#
# Project: Instrument Loco String for a given file
# Purpose: Localizations stored in python dictionary
#
# Author: Hallie Gengl
#
# Updated: 8/24/1... | 36.640777 | 96 | 0.631028 | 854 | 7,548 | 5.405152 | 0.262295 | 0.035095 | 0.042244 | 0.049393 | 0.190858 | 0.086872 | 0.033795 | 0.022097 | 0.022097 | 0.022097 | 0 | 0.006682 | 0.206942 | 7,548 | 205 | 97 | 36.819512 | 0.76445 | 0.131293 | 0 | 0.098592 | 0 | 0 | 0.278006 | 0.084335 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.06338 | null | null | 0.21831 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
9cdd6d64010e9c068a5d368c4a2af2b0acb6a55f | 628 | py | Python | isValidParentheses.py | pflun/learningAlgorithms | 3101e989488dfc8a56f1bf256a1c03a837fe7d97 | [
"MIT"
] | null | null | null | isValidParentheses.py | pflun/learningAlgorithms | 3101e989488dfc8a56f1bf256a1c03a837fe7d97 | [
"MIT"
] | null | null | null | isValidParentheses.py | pflun/learningAlgorithms | 3101e989488dfc8a56f1bf256a1c03a837fe7d97 | [
"MIT"
] | null | null | null | class Solution:
# @param {string} s A string
# @return {boolean} whether the string is a valid parentheses
def isValidParentheses(self, s):
stack = []
dict = {"]": "[", "}": "{", ")": "("}
for char in s:
if char in dict.values():
stack.append(char)
... | 33.052632 | 65 | 0.488854 | 64 | 628 | 4.796875 | 0.5625 | 0.058632 | 0.065147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371019 | 628 | 19 | 66 | 33.052632 | 0.777215 | 0.194268 | 0 | 0.133333 | 0 | 0 | 0.025845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
9ce11bf87b067840337b0d13348e056b624caea2 | 602 | py | Python | studygroups/migrations/0122_auto_20190710_0605.py | p2pu/learning-circles | ccd94208ec18082f8fda6d7f21eacdd71bad6023 | [
"MIT"
] | 10 | 2016-05-03T20:41:25.000Z | 2021-09-17T18:42:01.000Z | studygroups/migrations/0122_auto_20190710_0605.py | p2pu/learning-circles | ccd94208ec18082f8fda6d7f21eacdd71bad6023 | [
"MIT"
] | 655 | 2016-05-04T19:00:35.000Z | 2022-03-28T13:09:20.000Z | studygroups/migrations/0122_auto_20190710_0605.py | p2pu/learning-circles | ccd94208ec18082f8fda6d7f21eacdd71bad6023 | [
"MIT"
] | 8 | 2016-05-06T10:24:27.000Z | 2020-10-21T00:56:59.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2019-07-10 06:05
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('studygroups', '0121_auto_20190708_2246'),
]
operations = [
migrations.Remov... | 24.08 | 52 | 0.619601 | 61 | 602 | 5.868852 | 0.754098 | 0.050279 | 0.128492 | 0.150838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 0.272425 | 602 | 24 | 53 | 25.083333 | 0.742009 | 0.112957 | 0 | 0.235294 | 1 | 0 | 0.19209 | 0.043315 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.294118 | 0 | 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 |
9ce7bfb4241f59939bdcb06aabfa03be7b8bc555 | 4,688 | py | Python | gaussian/__init__.py | mattaustin/gaussian | c22ab36fd83e5f0b24587861ef34b872e268c97e | [
"Apache-2.0"
] | 1 | 2017-06-04T23:56:54.000Z | 2017-06-04T23:56:54.000Z | gaussian/__init__.py | mattaustin/gaussian | c22ab36fd83e5f0b24587861ef34b872e268c97e | [
"Apache-2.0"
] | null | null | null | gaussian/__init__.py | mattaustin/gaussian | c22ab36fd83e5f0b24587861ef34b872e268c97e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2014 Matt Austin
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or ... | 32.331034 | 79 | 0.62884 | 574 | 4,688 | 4.942509 | 0.315331 | 0.014804 | 0.026789 | 0.028199 | 0.140642 | 0.089179 | 0.089179 | 0.075432 | 0.075432 | 0.040888 | 0 | 0.008628 | 0.258319 | 4,688 | 144 | 80 | 32.555556 | 0.807305 | 0.319753 | 0 | 0.09375 | 0 | 0 | 0.139814 | 0.026631 | 0 | 0 | 0 | 0.006944 | 0.03125 | 1 | 0.15625 | false | 0.0625 | 0.0625 | 0.03125 | 0.40625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9ce7d60aa1fddaa6c915b248970c026594e52b7a | 614 | py | Python | Exercise_07_RGB_LED.py | NaimFuad/hibiscus-sense-micropython-1 | 7475b6099315b4a12ab00f7ae5d62a2eb8ce5e0c | [
"MIT"
] | 3 | 2021-03-04T08:20:24.000Z | 2022-02-11T10:04:03.000Z | Exercise_07_RGB_LED.py | NaimFuad/hibiscus-sense-micropython-1 | 7475b6099315b4a12ab00f7ae5d62a2eb8ce5e0c | [
"MIT"
] | null | null | null | Exercise_07_RGB_LED.py | NaimFuad/hibiscus-sense-micropython-1 | 7475b6099315b4a12ab00f7ae5d62a2eb8ce5e0c | [
"MIT"
] | 2 | 2021-02-26T10:15:57.000Z | 2021-03-04T08:20:36.000Z | # Hibiscus Sense - Exercise 07 RGB LED
#
# There is 1x RGB LED.
# This RGB LED is connected to GPIO16 and integrated with WS2812.
# WS2812 is an LED controller, which use single-wire control protocol to control the LEDs.
from machine import Pin
from neopixel import NeoPixel
from time import sleep
p... | 27.909091 | 93 | 0.664495 | 96 | 614 | 4.25 | 0.604167 | 0.044118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06278 | 0.273616 | 614 | 22 | 94 | 27.909091 | 0.852018 | 0.583062 | 0 | 0 | 0 | 0 | 0 | 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 |
9cf660cb297e4f4275f9be8ec5a0164060234d14 | 1,207 | py | Python | src/education/urls.py | compressore/moc | 8e05e3e60d2d2c7534e0c659b6ed0743e9189f6b | [
"MIT"
] | 4 | 2020-10-14T15:35:07.000Z | 2022-01-13T15:31:16.000Z | src/education/urls.py | compressore/moc | 8e05e3e60d2d2c7534e0c659b6ed0743e9189f6b | [
"MIT"
] | null | null | null | src/education/urls.py | compressore/moc | 8e05e3e60d2d2c7534e0c659b6ed0743e9189f6b | [
"MIT"
] | 2 | 2021-01-07T14:39:05.000Z | 2022-01-18T12:31:50.000Z | from django.urls import path
from . import views
from core import views as core
from community import views as community
from library import views as library
from ie.urls_baseline import baseline_urlpatterns
from ie.urls_education_baseline import baseline_education_urlpatterns
app_name = "education"
urlpatterns = bas... | 52.478261 | 128 | 0.785418 | 143 | 1,207 | 6.41958 | 0.202797 | 0.156863 | 0.125272 | 0.084967 | 0.232026 | 0.165577 | 0.165577 | 0.165577 | 0.165577 | 0.165577 | 0 | 0 | 0.091964 | 1,207 | 22 | 129 | 54.863636 | 0.837591 | 0 | 0 | 0 | 0 | 0 | 0.325601 | 0.25435 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.368421 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
9cf88f9c3c66dc987145112c9d9843d8bd9f0a49 | 849 | py | Python | todolist/todos/migrations/0002_sharetodolist.py | abdu1aziz/todo-list-app | 698cc046ea4cf9259f8e9830a33166dc6d222abe | [
"MIT"
] | null | null | null | todolist/todos/migrations/0002_sharetodolist.py | abdu1aziz/todo-list-app | 698cc046ea4cf9259f8e9830a33166dc6d222abe | [
"MIT"
] | null | null | null | todolist/todos/migrations/0002_sharetodolist.py | abdu1aziz/todo-list-app | 698cc046ea4cf9259f8e9830a33166dc6d222abe | [
"MIT"
] | null | null | null | # Generated by Django 3.1 on 2020-09-23 06:48
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('todos', '0001_initial'),
... | 32.653846 | 125 | 0.640754 | 92 | 849 | 5.782609 | 0.597826 | 0.06015 | 0.078947 | 0.12406 | 0.172932 | 0.172932 | 0.172932 | 0.172932 | 0 | 0 | 0 | 0.027778 | 0.236749 | 849 | 25 | 126 | 33.96 | 0.79321 | 0.050648 | 0 | 0 | 1 | 0 | 0.08209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.157895 | 0 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
140ab3e208fd8520fd27c0b61a95fd2da405a3b2 | 428 | py | Python | core/templatetags/extras.py | bugulin/gymgeek-web | 1def491392add2526fb0e8a53098d49ad2fdf983 | [
"Apache-2.0"
] | null | null | null | core/templatetags/extras.py | bugulin/gymgeek-web | 1def491392add2526fb0e8a53098d49ad2fdf983 | [
"Apache-2.0"
] | null | null | null | core/templatetags/extras.py | bugulin/gymgeek-web | 1def491392add2526fb0e8a53098d49ad2fdf983 | [
"Apache-2.0"
] | null | null | null | from django import template
from django.template.defaultfilters import stringfilter
from django.utils.safestring import mark_safe
from docutils.core import publish_parts
register = template.Library()
@register.filter(name='rst')
@stringfilter
def rst_to_html5(text):
parts = publish_parts(text, writer_name='html5'... | 32.923077 | 100 | 0.794393 | 57 | 428 | 5.77193 | 0.596491 | 0.091185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007792 | 0.100467 | 428 | 12 | 101 | 35.666667 | 0.846753 | 0 | 0 | 0 | 0 | 0 | 0.098131 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 1 |
140dfac64786934c620c3477a54ffeec5d9625f8 | 1,083 | py | Python | ballet/__init__.py | HDI-Project/fhub_core | 9667a47fbd8b4caf2e92118dc5357f34aae2098b | [
"MIT"
] | 19 | 2021-04-06T18:56:39.000Z | 2022-03-15T00:23:00.000Z | ballet/__init__.py | HDI-Project/ballet | 9667a47fbd8b4caf2e92118dc5357f34aae2098b | [
"MIT"
] | 52 | 2018-09-27T01:11:58.000Z | 2021-03-24T19:11:18.000Z | ballet/__init__.py | HDI-Project/ballet | 9667a47fbd8b4caf2e92118dc5357f34aae2098b | [
"MIT"
] | 3 | 2019-12-07T17:55:34.000Z | 2021-02-02T17:58:39.000Z | # -*- coding: utf-8 -*-
"""Top-level package for ballet."""
__author__ = 'Micah Smith'
__email__ = 'micahs@mit.edu'
__version__ = '0.19.5'
# filter warnings
import warnings # noqa E402
warnings.filterwarnings(
action='ignore', module='scipy', message='^internal gelsd')
# silence sklearn deprecation warnings
im... | 27.769231 | 67 | 0.753463 | 133 | 1,083 | 5.992481 | 0.533835 | 0.080301 | 0.105395 | 0.12798 | 0.188206 | 0.138018 | 0.138018 | 0 | 0 | 0 | 0 | 0.031216 | 0.142198 | 1,083 | 38 | 68 | 28.5 | 0.826695 | 0.277932 | 0 | 0.125 | 0 | 0 | 0.119266 | 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 |
140e681121ae14e453921573cd7aea566206c1e5 | 8,816 | py | Python | darling_ansible/python_venv/lib/python3.7/site-packages/oci/apigateway/models/cors_policy.py | revnav/sandbox | f9c8422233d093b76821686b6c249417502cf61d | [
"Apache-2.0"
] | null | null | null | darling_ansible/python_venv/lib/python3.7/site-packages/oci/apigateway/models/cors_policy.py | revnav/sandbox | f9c8422233d093b76821686b6c249417502cf61d | [
"Apache-2.0"
] | null | null | null | darling_ansible/python_venv/lib/python3.7/site-packages/oci/apigateway/models/cors_policy.py | revnav/sandbox | f9c8422233d093b76821686b6c249417502cf61d | [
"Apache-2.0"
] | 1 | 2020-06-25T03:12:58.000Z | 2020-06-25T03:12:58.000Z | # coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 36.733333 | 245 | 0.674342 | 1,124 | 8,816 | 5.073843 | 0.157473 | 0.032614 | 0.084166 | 0.078906 | 0.687007 | 0.602841 | 0.506575 | 0.485709 | 0.430475 | 0.366824 | 0 | 0.003067 | 0.260322 | 8,816 | 239 | 246 | 36.887029 | 0.871492 | 0.572255 | 0 | 0.084507 | 0 | 0 | 0.121034 | 0.027931 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225352 | false | 0 | 0.028169 | 0.028169 | 0.408451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
141ff955c77ded0e08d843f987f0b62eb3d4713d | 562 | py | Python | Fusion/tests/cwin.py | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | Fusion/tests/cwin.py | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | Fusion/tests/cwin.py | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | def cwinstart(callobj, *args, **kwargs):
print('cwinstart')
print(' args', repr(args))
for arg in args:
print(' ', arg)
print(' kwargs', len(kwargs))
for k, v in kwargs.items():
print(' ', k, v)
w = callobj(*args, **kwargs)
print(' callobj()->', w)
return w
def cwincall(req1, req2, ... | 21.615385 | 42 | 0.55694 | 75 | 562 | 4.173333 | 0.266667 | 0.025559 | 0.14377 | 0.140575 | 0.485623 | 0.485623 | 0.485623 | 0.485623 | 0.485623 | 0.485623 | 0 | 0.014085 | 0.241993 | 562 | 25 | 43 | 22.48 | 0.720657 | 0 | 0 | 0.47619 | 0 | 0 | 0.163701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0 | 0 | 0.190476 | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1420f29df1fa70eb2e3757666daa61e2e39f87c0 | 358 | py | Python | setup.py | rchurch4/emoji_map | f924e6d8d059c4705d3360a690eaac2825de3e49 | [
"MIT"
] | null | null | null | setup.py | rchurch4/emoji_map | f924e6d8d059c4705d3360a690eaac2825de3e49 | [
"MIT"
] | null | null | null | setup.py | rchurch4/emoji_map | f924e6d8d059c4705d3360a690eaac2825de3e49 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='emoji_map',
version='0.1',
description='Maps unicode emoji to its description',
url='http://github.com/rchurch4/emoji_map',
author='Rob Churchill',
author_email='rchurch4@bu.edu',
license='MIT',
packages=['emoji_map'],
include_pac... | 27.538462 | 58 | 0.656425 | 45 | 358 | 5.066667 | 0.8 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014134 | 0.209497 | 358 | 12 | 59 | 29.833333 | 0.791519 | 0 | 0 | 0 | 0 | 0 | 0.349162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1423487aa9ea63d89b16cc57da5de0d83c612a84 | 7,560 | py | Python | tests/gdata_tests/analytics/data_test.py | lqc/google-data-api | b720582a472d627a0853d02e51e13dbce4cfe6ae | [
"Apache-2.0"
] | null | null | null | tests/gdata_tests/analytics/data_test.py | lqc/google-data-api | b720582a472d627a0853d02e51e13dbce4cfe6ae | [
"Apache-2.0"
] | null | null | null | tests/gdata_tests/analytics/data_test.py | lqc/google-data-api | b720582a472d627a0853d02e51e13dbce4cfe6ae | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#
# Copyright (C) 2009 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | 34.678899 | 84 | 0.714153 | 964 | 7,560 | 5.554979 | 0.204357 | 0.18226 | 0.080672 | 0.026144 | 0.577031 | 0.477498 | 0.335574 | 0.265733 | 0.225584 | 0.178151 | 0 | 0.02414 | 0.150661 | 7,560 | 217 | 85 | 34.83871 | 0.809843 | 0.236376 | 0 | 0.267241 | 0 | 0 | 0.129272 | 0 | 0 | 0 | 0 | 0 | 0.543103 | 1 | 0.163793 | false | 0 | 0.043103 | 0 | 0.232759 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1425326030a36f7088c87f42da842ce1d53ade94 | 7,974 | py | Python | tripleo_ansible/ansible_plugins/modules/tripleo_baremetal_expand_roles.py | beagles/tripleo-ansible | 7faddd87cffc8903a9cdedc7a6454cdf44aeed67 | [
"Apache-2.0"
] | 22 | 2018-08-29T12:33:15.000Z | 2022-03-30T00:17:25.000Z | tripleo_ansible/ansible_plugins/modules/tripleo_baremetal_expand_roles.py | beagles/tripleo-ansible | 7faddd87cffc8903a9cdedc7a6454cdf44aeed67 | [
"Apache-2.0"
] | 1 | 2020-02-07T20:54:34.000Z | 2020-02-07T20:54:34.000Z | tripleo_ansible/ansible_plugins/modules/tripleo_baremetal_expand_roles.py | beagles/tripleo-ansible | 7faddd87cffc8903a9cdedc7a6454cdf44aeed67 | [
"Apache-2.0"
] | 19 | 2019-07-16T04:42:00.000Z | 2022-03-30T00:17:29.000Z | #!/usr/bin/python
# Copyright 2020 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | 30.787645 | 91 | 0.577878 | 793 | 7,974 | 5.702396 | 0.311475 | 0.026537 | 0.033835 | 0.038921 | 0.210084 | 0.14927 | 0.12782 | 0.059708 | 0.040248 | 0.040248 | 0 | 0.006623 | 0.337221 | 7,974 | 258 | 92 | 30.906977 | 0.849007 | 0.074367 | 0 | 0.29386 | 0 | 0 | 0.753836 | 0.119212 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004386 | false | 0 | 0.013158 | 0 | 0.017544 | 0 | 0 | 0 | 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 |
1425809d2b5fe657e70492cd714e8e6e266db850 | 2,207 | py | Python | hexa/user_management/migrations/0003_feature_flags.py | qgerome/openhexa-app | 8c9377b2ad972121d8e9575f5d52420212b52ed4 | [
"MIT"
] | 4 | 2021-07-19T12:53:21.000Z | 2022-01-26T17:45:02.000Z | hexa/user_management/migrations/0003_feature_flags.py | qgerome/openhexa-app | 8c9377b2ad972121d8e9575f5d52420212b52ed4 | [
"MIT"
] | 20 | 2021-05-17T12:27:06.000Z | 2022-03-30T11:35:26.000Z | hexa/user_management/migrations/0003_feature_flags.py | qgerome/openhexa-app | 8c9377b2ad972121d8e9575f5d52420212b52ed4 | [
"MIT"
] | 2 | 2021-09-07T04:19:59.000Z | 2022-02-08T15:33:29.000Z | # Generated by Django 3.2.6 on 2021-09-10 11:56
import uuid
import django.db.models.deletion
import django.db.models.fields
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("user_management", "0002_remove_username"),
... | 30.232877 | 72 | 0.421386 | 160 | 2,207 | 5.68125 | 0.43125 | 0.044004 | 0.061606 | 0.110011 | 0.437844 | 0.437844 | 0.437844 | 0.354235 | 0.354235 | 0.354235 | 0 | 0.020997 | 0.482102 | 2,207 | 72 | 73 | 30.652778 | 0.774278 | 0.02039 | 0 | 0.584615 | 1 | 0 | 0.072685 | 0.010648 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.123077 | 0 | 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 |
1428fc857bf985d08474b17410858d44bd518123 | 1,009 | py | Python | Lettuce_Tests/old_tests/testFeatureCategoricalGridCoverage.py | jread-usgs/pyGDP | 72c8464934fec6643f111bf326b5c12bf47925fb | [
"CC0-1.0"
] | null | null | null | Lettuce_Tests/old_tests/testFeatureCategoricalGridCoverage.py | jread-usgs/pyGDP | 72c8464934fec6643f111bf326b5c12bf47925fb | [
"CC0-1.0"
] | null | null | null | Lettuce_Tests/old_tests/testFeatureCategoricalGridCoverage.py | jread-usgs/pyGDP | 72c8464934fec6643f111bf326b5c12bf47925fb | [
"CC0-1.0"
] | null | null | null | import pyGDP
import os
from nose.tools import assert_equal
from nose.tools import assert_not_equal
class TestFeatureCategoricalGridCoverage(object):
def test_submit_FCGC(self):
pyGDP.WPS_URL='http://cida.usgs.gov/gdp/process/WebProcessingService'
testPyGDP = pyGDP.pyGDPwebProcessing()
... | 38.807692 | 136 | 0.739346 | 119 | 1,009 | 6.176471 | 0.697479 | 0.021769 | 0.035374 | 0.051701 | 0.068027 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00486 | 0.184341 | 1,009 | 25 | 137 | 40.36 | 0.888214 | 0.249752 | 0 | 0 | 0 | 0 | 0.211718 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | null | null | 0 | 0.266667 | 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 |
143877dd2c390f5b0dc8e5729d0cf5ded4ef1c91 | 2,154 | py | Python | ldapauth/main/main.py | trutty/python-ldap | d656548641d2d3e45e868bb6ce1585cffe3c6848 | [
"CC0-1.0"
] | null | null | null | ldapauth/main/main.py | trutty/python-ldap | d656548641d2d3e45e868bb6ce1585cffe3c6848 | [
"CC0-1.0"
] | null | null | null | ldapauth/main/main.py | trutty/python-ldap | d656548641d2d3e45e868bb6ce1585cffe3c6848 | [
"CC0-1.0"
] | null | null | null | from flask import Flask, request
from flask_httpauth import HTTPBasicAuth
from auth_handler import AuthHandler
from cache import Cache
from os import environ
from yaml import safe_load
import logging
from connection_provider import ConnectionProvider
# init logging
logging.basicConfig(format='[%(asctime)s] [%(levelna... | 26.268293 | 96 | 0.716806 | 276 | 2,154 | 5.445652 | 0.373188 | 0.05988 | 0.060546 | 0.041916 | 0.07851 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013046 | 0.181523 | 2,154 | 81 | 97 | 26.592593 | 0.839478 | 0.134169 | 0 | 0.078431 | 0 | 0 | 0.163784 | 0.011351 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.137255 | 0.156863 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1444b1b92ae47cbc60d016724b5d44bf1122493f | 901 | py | Python | 2012/AU_Danny.py | Valchris/IEEEXtreme_WorkingAsIntended | c3e04633ce6d9c1a1582081767e8f2090adffa28 | [
"MIT"
] | null | null | null | 2012/AU_Danny.py | Valchris/IEEEXtreme_WorkingAsIntended | c3e04633ce6d9c1a1582081767e8f2090adffa28 | [
"MIT"
] | null | null | null | 2012/AU_Danny.py | Valchris/IEEEXtreme_WorkingAsIntended | c3e04633ce6d9c1a1582081767e8f2090adffa28 | [
"MIT"
] | null | null | null | import sys
import re
line = sys.stdin.readline().strip()
commands = line.split()
if len(commands) > 15: #Too Long
print 'ERROR'
exit(0)
for i in range(0,len(line)): #Missing Spaces
if i % 2 == 1 and line[i] != ' ':
print 'ERROR'
exit(0)
for i in range(0,len(commands) - 2,2): #Repeated S... | 21.97561 | 115 | 0.619312 | 141 | 901 | 3.900709 | 0.361702 | 0.054545 | 0.065455 | 0.081818 | 0.178182 | 0.109091 | 0.109091 | 0.109091 | 0.109091 | 0.109091 | 0 | 0.031564 | 0.226415 | 901 | 41 | 116 | 21.97561 | 0.757532 | 0.104329 | 0 | 0.413793 | 0 | 0 | 0.100998 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.068966 | null | null | 0.241379 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
1446b8c5fba47ab7e1297f04805cc27c8254a77e | 544 | py | Python | dogdog045.py | chikochiko76/anime2021 | 0a7e3dcf6b0ee47a824d4fae6f061154930ce587 | [
"CC0-1.0"
] | null | null | null | dogdog045.py | chikochiko76/anime2021 | 0a7e3dcf6b0ee47a824d4fae6f061154930ce587 | [
"CC0-1.0"
] | null | null | null | dogdog045.py | chikochiko76/anime2021 | 0a7e3dcf6b0ee47a824d4fae6f061154930ce587 | [
"CC0-1.0"
] | null | null | null | class AImage(AShape):
color: any
def __init__(self, width=100, height=None, cx=None, cy=None, image='pet_darui_dog.png'):
AShape.__init__(self, width, height, cx, cy)
if image.startswith('http')
self.pic = Image.open(io.BytesIO(requests.get(image).content))
else:
... | 36.266667 | 92 | 0.595588 | 78 | 544 | 4.025641 | 0.538462 | 0.066879 | 0.082803 | 0.101911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007264 | 0.240809 | 544 | 14 | 93 | 38.857143 | 0.753027 | 0 | 0 | 0 | 0 | 0 | 0.038603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1446e34643a51f72b5218098028b06210bd3c768 | 1,898 | py | Python | tests/contrib/aiohttp/conftest.py | discord/dd-trace-py | 3f6bca078e751bf7459fd02b7aff7f96eff0eeb6 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | tests/contrib/aiohttp/conftest.py | discord/dd-trace-py | 3f6bca078e751bf7459fd02b7aff7f96eff0eeb6 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | tests/contrib/aiohttp/conftest.py | discord/dd-trace-py | 3f6bca078e751bf7459fd02b7aff7f96eff0eeb6 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | import aiohttp
import aiohttp_jinja2
import pytest
from ddtrace.contrib.aiohttp.middlewares import trace_app
from ddtrace.contrib.aiohttp_jinja2.patch import patch as patch_jinja2
from ddtrace.internal.utils import version
from ddtrace.pin import Pin
from .app.web import setup_app
if version.parse_version(aiohttp._... | 26 | 70 | 0.643309 | 238 | 1,898 | 4.957983 | 0.180672 | 0.183051 | 0.076271 | 0.10678 | 0.681356 | 0.681356 | 0.681356 | 0.681356 | 0.681356 | 0.681356 | 0 | 0.016012 | 0.27608 | 1,898 | 72 | 71 | 26.361111 | 0.842795 | 0.140674 | 0 | 0.617021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.170213 | 0.021277 | 0.404255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1446f15e2cee0b0f3b21fb8bde4f8852bd30e37b | 1,074 | py | Python | douban.movie_requests.py | willcod/requests_example | 572826c4d7081f21e99e4661b273e8ad0e67e046 | [
"MIT"
] | null | null | null | douban.movie_requests.py | willcod/requests_example | 572826c4d7081f21e99e4661b273e8ad0e67e046 | [
"MIT"
] | null | null | null | douban.movie_requests.py | willcod/requests_example | 572826c4d7081f21e99e4661b273e8ad0e67e046 | [
"MIT"
] | null | null | null | import requests, json
from bs4 import BeautifulSoup
hds=[{'User-Agent':'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6'},\
{'User-Agent':'Mozilla/5.0 (Windows NT 6.2) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11'},\
{'User-Agent': 'Mozilla/5.0 (compa... | 51.142857 | 138 | 0.68622 | 186 | 1,074 | 3.892473 | 0.510753 | 0.037293 | 0.066298 | 0.070442 | 0.301105 | 0.254144 | 0.127072 | 0.127072 | 0.127072 | 0.127072 | 0 | 0.087553 | 0.117318 | 1,074 | 21 | 139 | 51.142857 | 0.67616 | 0.040037 | 0 | 0 | 0 | 0.294118 | 0.541302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
14471fb559051a475c6f693ab9f75659647a5b99 | 1,323 | py | Python | app/serialmonitor/forms.py | fretchen/ArduinoMagnetometerWeb | 1d8bee848e488b7136dbae20172bd8785931dee0 | [
"MIT"
] | null | null | null | app/serialmonitor/forms.py | fretchen/ArduinoMagnetometerWeb | 1d8bee848e488b7136dbae20172bd8785931dee0 | [
"MIT"
] | null | null | null | app/serialmonitor/forms.py | fretchen/ArduinoMagnetometerWeb | 1d8bee848e488b7136dbae20172bd8785931dee0 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, HiddenField,IntegerField
from wtforms.validators import DataRequired, NumberRange
class ConnectForm(FlaskForm):
'''
The form for connecting to the Arduino
'''
id = HiddenField('A hidden field');
serial_port = StringField... | 34.815789 | 107 | 0.699169 | 141 | 1,323 | 6.524823 | 0.375887 | 0.054348 | 0.069565 | 0.082609 | 0.305435 | 0.305435 | 0.305435 | 0.267391 | 0.267391 | 0.267391 | 0 | 0.01385 | 0.181406 | 1,323 | 37 | 108 | 35.756757 | 0.835642 | 0.120937 | 0 | 0.2 | 0 | 0 | 0.201452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.15 | 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 |
14479cf21718a5d4475f47cd6e178f58e9dd330a | 421 | py | Python | degvabank/degvabank/apps/user/signals.py | Vixx-X/DEGVABanck-backend | de413d55b55dba25e89b7f3bc60dfa94e89ddcde | [
"MIT"
] | null | null | null | degvabank/degvabank/apps/user/signals.py | Vixx-X/DEGVABanck-backend | de413d55b55dba25e89b7f3bc60dfa94e89ddcde | [
"MIT"
] | null | null | null | degvabank/degvabank/apps/user/signals.py | Vixx-X/DEGVABanck-backend | de413d55b55dba25e89b7f3bc60dfa94e89ddcde | [
"MIT"
] | 1 | 2022-02-03T03:18:43.000Z | 2022-02-03T03:18:43.000Z | from django.db.models.signals import post_save
from django.dispatch import receiver
from .models import User, EmailDevice
@receiver(post_save, sender=User)
def creating_user_settings(sender, instance, created, raw, **kwargs):
"""Creating the user device for a new User"""
if created and not raw:
EmailD... | 35.083333 | 113 | 0.760095 | 60 | 421 | 5.266667 | 0.6 | 0.063291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142518 | 421 | 11 | 114 | 38.272727 | 0.875346 | 0.092637 | 0 | 0 | 0 | 0 | 0.101333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
144e75f0af24909b2f53fb50c3580fc3294a54f6 | 2,171 | py | Python | S4/S4 Library/simulation/situations/visiting/stay_the_night_situation.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/simulation/situations/visiting/stay_the_night_situation.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/simulation/situations/visiting/stay_the_night_situation.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | from role.role_state import RoleState
from situations.situation_complex import SituationState, SituationStateData
from situations.situation_job import SituationJob
from situations.visiting.visiting_situation_common import VisitingNPCSituation
import services
import sims4.tuning.instances
import sims4.tuning.tunable
imp... | 48.244444 | 558 | 0.739291 | 252 | 2,171 | 6.051587 | 0.373016 | 0.029508 | 0.029508 | 0.040656 | 0.078689 | 0.078689 | 0.078689 | 0 | 0 | 0 | 0 | 0.003948 | 0.183326 | 2,171 | 44 | 559 | 49.340909 | 0.856176 | 0 | 0 | 0.085714 | 0 | 0 | 0.140028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171429 | false | 0.028571 | 0.257143 | 0.085714 | 0.657143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
14560849915561883889885a3454e4e8c7afc839 | 286 | py | Python | example.py | davehenton/tf-lyrics | 6c2a397df22acdf41a63012aacfcdc7b7eaf1302 | [
"MIT"
] | null | null | null | example.py | davehenton/tf-lyrics | 6c2a397df22acdf41a63012aacfcdc7b7eaf1302 | [
"MIT"
] | null | null | null | example.py | davehenton/tf-lyrics | 6c2a397df22acdf41a63012aacfcdc7b7eaf1302 | [
"MIT"
] | null | null | null | from tflyrics import Poet, LyricsGenerator
artists = ['Bob Dylan', 'Tim Buckley', 'The Beatles']
gen = LyricsGenerator(artists, per_artist=5)
ds = gen.as_dataset(batch_size=4)
p = Poet()
p.train_on(ds, n_epochs=10)
poem = p.generate(start_string='Hey ', n_gen_chars=1000)
print(poem)
| 26 | 56 | 0.741259 | 46 | 286 | 4.434783 | 0.782609 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031621 | 0.115385 | 286 | 10 | 57 | 28.6 | 0.774704 | 0 | 0 | 0 | 0 | 0 | 0.122378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 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 |
1458c5f022bcbdb49cfdd4c7518d98dccf9754e4 | 1,372 | py | Python | provider/facebook.py | marinewater/pyramid-social-auth | 926f230294ec6b0fdf02a5ed4113073d82a9d18c | [
"MIT"
] | 2 | 2015-02-10T01:19:21.000Z | 2016-07-24T14:40:59.000Z | provider/facebook.py | marinewater/pyramid-social-auth | 926f230294ec6b0fdf02a5ed4113073d82a9d18c | [
"MIT"
] | null | null | null | provider/facebook.py | marinewater/pyramid-social-auth | 926f230294ec6b0fdf02a5ed4113073d82a9d18c | [
"MIT"
] | null | null | null | from provider.base import BaseProvider
class FacebookProvider(BaseProvider):
def __init__(self, client_id, client_secret, name, redirect_uri, state=None):
"""
:param client_id:
:param client_secret:
:param name:
:param redirect_uri:
:param state:
... | 28 | 113 | 0.569971 | 156 | 1,372 | 4.782051 | 0.320513 | 0.053619 | 0.044236 | 0.053619 | 0.198391 | 0.134048 | 0.134048 | 0.134048 | 0.134048 | 0.134048 | 0 | 0 | 0.311953 | 1,372 | 49 | 114 | 28 | 0.790254 | 0.161079 | 0 | 0.095238 | 0 | 0 | 0.147029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.047619 | 0 | 0.47619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
145a2aac257a81ff3e9b25e0317ce229eb2a70b3 | 15,109 | py | Python | test_vs_model_DEMs.py | drewleonard42/CoronaTemps | 210642175e063b39dd1878c2731f15bf34e4225f | [
"BSD-2-Clause"
] | 1 | 2019-07-31T17:27:12.000Z | 2019-07-31T17:27:12.000Z | test_vs_model_DEMs.py | SolarDrew/CoronaTemps | 210642175e063b39dd1878c2731f15bf34e4225f | [
"BSD-2-Clause"
] | null | null | null | test_vs_model_DEMs.py | SolarDrew/CoronaTemps | 210642175e063b39dd1878c2731f15bf34e4225f | [
"BSD-2-Clause"
] | 2 | 2015-07-07T10:31:03.000Z | 2015-10-19T15:42:47.000Z | # -*- coding: utf-8 -*-
"""
Script to produce synthetic AIA data based on arbitrary model DEMs and test the
results of the tempmap code against the model.
Created on Mon Jul 28 16:34:28 2014
@author: Drew Leonard
"""
import numpy as np
from matplotlib import use, rc
use('agg')
rc('savefig', bbox='tight', pad_inches=... | 41.057065 | 110 | 0.613608 | 2,174 | 15,109 | 4.212512 | 0.146274 | 0.043678 | 0.053942 | 0.042804 | 0.504259 | 0.454575 | 0.427823 | 0.384145 | 0.334462 | 0.326818 | 0 | 0.042867 | 0.195579 | 15,109 | 367 | 111 | 41.168937 | 0.71063 | 0.207889 | 0 | 0.512397 | 0 | 0 | 0.10808 | 0.012373 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.053719 | null | null | 0.03719 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
145d2ba73cbb15562b18fa340ca1117a5d2135a1 | 2,459 | py | Python | rubicon_reminders_cli.py | ZG34/StratNotes | ec8e0f50740a558d14b5f790aa67b26dc3a85d90 | [
"MIT"
] | 6 | 2022-01-21T07:16:12.000Z | 2022-01-23T22:01:16.000Z | rubicon_reminders_cli.py | ZG34/StratNotes | ec8e0f50740a558d14b5f790aa67b26dc3a85d90 | [
"MIT"
] | null | null | null | rubicon_reminders_cli.py | ZG34/StratNotes | ec8e0f50740a558d14b5f790aa67b26dc3a85d90 | [
"MIT"
] | 4 | 2022-01-21T07:17:03.000Z | 2022-01-23T03:37:12.000Z | # the comments in this file were made while learning, as reminders
# to RUN APP IN CMD PROMPT: cd to this directory, or place in default CMD directory:
# then run 'python rubicon_reminders_cli.py'
from os import listdir
from datetime import datetime
# this assigns dt variable as date + timestamp
dt = (datetime.now()... | 34.633803 | 101 | 0.581537 | 353 | 2,459 | 3.994334 | 0.368272 | 0.096454 | 0.044681 | 0.036879 | 0.208511 | 0.175887 | 0.139007 | 0.073759 | 0.073759 | 0.073759 | 0 | 0.002904 | 0.299715 | 2,459 | 70 | 102 | 35.128571 | 0.815912 | 0.363156 | 0 | 0.519231 | 0 | 0 | 0.159355 | 0 | 0 | 0 | 0 | 0.014286 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.038462 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
145d4d73e5688c8c92783fdd2c96db07fb334f0c | 352 | py | Python | script/generate_user.py | MTDzi/data_nanodegree_project_5 | a436b34d4a1aa030357d1db82d1e1a7439061c1a | [
"Apache-2.0"
] | null | null | null | script/generate_user.py | MTDzi/data_nanodegree_project_5 | a436b34d4a1aa030357d1db82d1e1a7439061c1a | [
"Apache-2.0"
] | 6 | 2020-04-19T10:18:05.000Z | 2020-04-28T16:26:07.000Z | script/generate_user.py | MTDzi/data_nanodegree_project_5 | a436b34d4a1aa030357d1db82d1e1a7439061c1a | [
"Apache-2.0"
] | null | null | null | import os
from airflow import models, settings
from airflow.contrib.auth.backends.password_auth import PasswordUser
user = PasswordUser(models.User())
user.username = os.environ['AIRFLOW_UI_USER']
user.password = os.environ['AIRFLOW_UI_PASSWORD']
user.superuser = True
session = settings.Session()
session.add(user)
s... | 23.466667 | 68 | 0.795455 | 47 | 352 | 5.851064 | 0.446809 | 0.08 | 0.116364 | 0.130909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 352 | 14 | 69 | 25.142857 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.096591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.272727 | 0.272727 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1466e6f9e9390c64c5ae93f8f73e9d6b213aba54 | 4,536 | py | Python | cs15211/PalindromePermutation.py | JulyKikuAkita/PythonPrac | 0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c | [
"Apache-2.0"
] | 1 | 2021-07-05T01:53:30.000Z | 2021-07-05T01:53:30.000Z | cs15211/PalindromePermutation.py | JulyKikuAkita/PythonPrac | 0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c | [
"Apache-2.0"
] | null | null | null | cs15211/PalindromePermutation.py | JulyKikuAkita/PythonPrac | 0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c | [
"Apache-2.0"
] | 1 | 2018-01-08T07:14:08.000Z | 2018-01-08T07:14:08.000Z | __source__ = 'https://leetcode.com/problems/palindrome-permutation/'
# https://github.com/kamyu104/LeetCode/blob/master/Python/palindrome-permutation.py
# Time: O(n)
# Space: O(1)
#
# Description: Leetcode # 266. Palindrome Permutation
#
# Given a string, determine if a permutation of the string could form a palindrom... | 28.173913 | 106 | 0.573633 | 582 | 4,536 | 4.448454 | 0.347079 | 0.02163 | 0.02472 | 0.050212 | 0.309 | 0.295867 | 0.261105 | 0.224411 | 0.188104 | 0.142526 | 0 | 0.027044 | 0.307099 | 4,536 | 160 | 107 | 28.35 | 0.796691 | 0.195988 | 0 | 0.212963 | 0 | 0.037037 | 0.784065 | 0.077703 | 0 | 0 | 0 | 0 | 0.009259 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
147035cef75b4248a1685bdc47735841a296c61d | 2,407 | py | Python | data_pipeline/db/file_query_results.py | iagcl/data_pipeline | b9b965d43a4261357e417f4eeee5d8b7d2dfd858 | [
"Apache-2.0"
] | 16 | 2017-10-31T21:43:26.000Z | 2019-08-11T08:49:06.000Z | data_pipeline/db/file_query_results.py | iagcl/data_pipeline | b9b965d43a4261357e417f4eeee5d8b7d2dfd858 | [
"Apache-2.0"
] | 1 | 2017-11-01T06:25:56.000Z | 2017-11-01T06:25:56.000Z | data_pipeline/db/file_query_results.py | iagcl/data_pipeline | b9b965d43a4261357e417f4eeee5d8b7d2dfd858 | [
"Apache-2.0"
] | 9 | 2017-10-30T05:23:15.000Z | 2022-02-17T03:53:09.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 31.671053 | 79 | 0.636061 | 291 | 2,407 | 5.075601 | 0.429553 | 0.074475 | 0.101557 | 0.06432 | 0.068382 | 0.051456 | 0.051456 | 0.051456 | 0.051456 | 0.051456 | 0 | 0.002695 | 0.229331 | 2,407 | 75 | 80 | 32.093333 | 0.793531 | 0.359369 | 0 | 0.157895 | 0 | 0 | 0.004405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.026316 | 0.078947 | 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 |
14728ecbe8e51b8719ee9b289419e71b4c078ce0 | 1,542 | py | Python | FIST.py | IGN-Styly/FIST | 69f0b11b863f3440d716ad302e7fc2acddfb145f | [
"MIT"
] | 2 | 2022-01-20T18:57:53.000Z | 2022-03-16T23:23:47.000Z | FIST.py | IGN-Styly/FIST | 69f0b11b863f3440d716ad302e7fc2acddfb145f | [
"MIT"
] | 2 | 2022-01-20T18:41:46.000Z | 2022-01-24T18:15:53.000Z | FIST.py | IGN-Styly/FIST | 69f0b11b863f3440d716ad302e7fc2acddfb145f | [
"MIT"
] | 1 | 2022-01-20T01:29:03.000Z | 2022-01-20T01:29:03.000Z | import json
def is_valid(smc_type): # checks if smc_type is valid
if smc_type == 'vmt':
return True
elif smc_type == 'flt':
return True
elif smc_type == 'nfl':
return True
else:
return False
def parse_vmt(contract):
try:
contract.get('value')
cont... | 22.028571 | 78 | 0.592088 | 195 | 1,542 | 4.558974 | 0.169231 | 0.173228 | 0.049494 | 0.07649 | 0.552306 | 0.412823 | 0.412823 | 0.373453 | 0.373453 | 0.373453 | 0 | 0.00185 | 0.298962 | 1,542 | 69 | 79 | 22.347826 | 0.820537 | 0.060311 | 0 | 0.736842 | 0 | 0 | 0.073356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.017544 | 0 | 0.421053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
14770d630f638d640c9e37a29b68e980bdb4f14d | 2,897 | py | Python | tests/list_tests.py | kzawisto/mc | ce37f0bbfd73e0767b4edc905ce2a75777b33f42 | [
"MIT"
] | null | null | null | tests/list_tests.py | kzawisto/mc | ce37f0bbfd73e0767b4edc905ce2a75777b33f42 | [
"MIT"
] | null | null | null | tests/list_tests.py | kzawisto/mc | ce37f0bbfd73e0767b4edc905ce2a75777b33f42 | [
"MIT"
] | null | null | null | from hamcrest import *
from nose.tools import eq_
from mc import List, Some, Nothing,add
def test_list_map():
eq_(List([1, 2, 3]).map(lambda x: x * 2), [2, 4, 6])
def test_list_flat_map():
eq_(List([1, 3]).flat_map(lambda x: (x * 2, x * 4)), [2, 4, 6, 12])
def test_list_filter():
eq_(List([1, 2, 3]).f... | 21.145985 | 85 | 0.556438 | 476 | 2,897 | 3.12395 | 0.155462 | 0.098857 | 0.072629 | 0.05649 | 0.468056 | 0.287828 | 0.145931 | 0.113652 | 0.080027 | 0.080027 | 0 | 0.065914 | 0.235416 | 2,897 | 136 | 86 | 21.301471 | 0.605418 | 0 | 0 | 0.215054 | 0 | 0 | 0.006904 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 1 | 0.247312 | false | 0 | 0.032258 | 0.010753 | 0.290323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
147a5096d0d2e1067ea8f8785a929ae310227d3e | 386 | py | Python | Darlington/phase1/python Basic 2/day 21 solution/qtn1.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 2/day 21 solution/qtn1.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 2/day 21 solution/qtn1.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to compute and print sum of two given integers (more than or equal to zero).
# If given integers or the sum have more than 80 digits, print "overflow".
print("Input first integer:")
x = int(input())
print("Input second integer:")
y = int(input())
if x >= 10 ** 80 or y >= 10 ** 80 or x + y >= 10 ** 80:
pri... | 38.6 | 86 | 0.647668 | 67 | 386 | 3.731343 | 0.447761 | 0.048 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045752 | 0.207254 | 386 | 10 | 87 | 38.6 | 0.771242 | 0.409326 | 0 | 0 | 0 | 0 | 0.330396 | 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 |
147d0d54209eeeaab12be3279f9d110b874ff369 | 5,136 | py | Python | controllers/mainController.py | jersobh/zfs-resty | 2a71d89df6b90992723a87ee8bf5eeb2ac27cc8a | [
"MIT"
] | 11 | 2019-01-03T04:05:31.000Z | 2021-09-22T23:47:05.000Z | controllers/mainController.py | jersobh/zfs-resty | 2a71d89df6b90992723a87ee8bf5eeb2ac27cc8a | [
"MIT"
] | 11 | 2020-10-28T08:02:06.000Z | 2022-03-18T08:02:51.000Z | controllers/mainController.py | jersobh/zfs-resty | 2a71d89df6b90992723a87ee8bf5eeb2ac27cc8a | [
"MIT"
] | null | null | null | import uuid
from datetime import datetime, timedelta
from controllers import zfsController
import jwt
import pam
import render
JWT_SECRET = "7wXJ4kxCRWJpMQNqRVTVR3Qbc"
JWT_ALGORITHM = "HS256"
JWT_EXP_DELTA_SECONDS = 4300
async def index(request):
return render.json({'error': 'nothing to see here...'}, 200)
as... | 31.900621 | 104 | 0.596379 | 623 | 5,136 | 4.82825 | 0.150883 | 0.091423 | 0.14129 | 0.118684 | 0.664894 | 0.648604 | 0.648604 | 0.648604 | 0.648604 | 0.648604 | 0 | 0.024496 | 0.284657 | 5,136 | 160 | 105 | 32.1 | 0.79423 | 0 | 0 | 0.631579 | 0 | 0 | 0.090945 | 0.004869 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015038 | 0.045113 | 0 | 0.263158 | 0.067669 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
147e734bd09bed751a8e4643798609eb58918fad | 539 | py | Python | updater/models.py | h4ck3rm1k3/srtracker | 2ef54b1854bbc082c871ce08ea22f6c9ce03eb37 | [
"Ruby"
] | 1 | 2019-04-27T20:15:11.000Z | 2019-04-27T20:15:11.000Z | updater/models.py | h4ck3rm1k3/srtracker | 2ef54b1854bbc082c871ce08ea22f6c9ce03eb37 | [
"Ruby"
] | null | null | null | updater/models.py | h4ck3rm1k3/srtracker | 2ef54b1854bbc082c871ce08ea22f6c9ce03eb37 | [
"Ruby"
] | null | null | null | from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String, DateTime, Sequence
Base = declarative_base()
class Subscription(Base):
__tablename__ = 'subscriptions'
id = Column(Integer, Sequence('subscription_id_seq'), primary_key=True)
sr_id = Column(... | 25.666667 | 80 | 0.714286 | 59 | 539 | 6.271186 | 0.457627 | 0.162162 | 0.075676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19295 | 539 | 20 | 81 | 26.95 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0.078067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
14817026f39bd06023f2b84c932bb54cab1a147b | 690 | py | Python | example/schema.py | devind-team/devind-django-dictionaries | 6b2086a15590c968450a5c6fa2a81b4734ee1a81 | [
"MIT"
] | null | null | null | example/schema.py | devind-team/devind-django-dictionaries | 6b2086a15590c968450a5c6fa2a81b4734ee1a81 | [
"MIT"
] | 1 | 2022-03-30T02:44:05.000Z | 2022-03-30T02:44:05.000Z | example/schema.py | devind-team/devind-django-dictionaries | 6b2086a15590c968450a5c6fa2a81b4734ee1a81 | [
"MIT"
] | null | null | null |
import graphene
from typing import cast
from graphene_django import DjangoObjectType
from graphene_django.debug import DjangoDebug
from django.contrib.auth import get_user_model
import devind_dictionaries.schema
class UserType(DjangoObjectType):
class Meta:
model = get_user_model()
fields = ('... | 20.294118 | 83 | 0.750725 | 79 | 690 | 6.392405 | 0.417722 | 0.106931 | 0.142574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 690 | 33 | 84 | 20.909091 | 0.87069 | 0 | 0 | 0.190476 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.047619 | 0.285714 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
1486390989e81040ce5dfa57404584bdd0aad30e | 462 | py | Python | bedrock/app/utils/jinja.py | ronbeltran/webapp2-bedrock | 42909fd6eb99ffe19ff941f9c66c9c84548139c6 | [
"MIT"
] | 1 | 2019-01-09T10:14:38.000Z | 2019-01-09T10:14:38.000Z | bedrock/app/utils/jinja.py | ronbeltran/webapp2-bedrock | 42909fd6eb99ffe19ff941f9c66c9c84548139c6 | [
"MIT"
] | null | null | null | bedrock/app/utils/jinja.py | ronbeltran/webapp2-bedrock | 42909fd6eb99ffe19ff941f9c66c9c84548139c6 | [
"MIT"
] | null | null | null | import os
import webapp2
import jinja2
import config
from app.utils.compressor import WEBASSETS_ENV
JINJA_ENV = jinja2.Environment(
autoescape=lambda x: True,
extensions=['jinja2.ext.autoescape',
'webassets.ext.jinja2.AssetsExtension'],
loader=jinja2.FileSystemLoader(
os.path.joi... | 22 | 56 | 0.742424 | 56 | 462 | 5.964286 | 0.571429 | 0.071856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017903 | 0.15368 | 462 | 20 | 57 | 23.1 | 0.836317 | 0 | 0 | 0 | 0 | 0 | 0.158009 | 0.123377 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.357143 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
14878c677e10667944d3fa541d7f4f2e7bfbbbc0 | 1,479 | py | Python | Mundo 3/ex094.py | adonaifariasdev/cursoemvideo-python3 | 1fd35e45b24c52013fa3bc98e723971db8e6b7d1 | [
"MIT"
] | null | null | null | Mundo 3/ex094.py | adonaifariasdev/cursoemvideo-python3 | 1fd35e45b24c52013fa3bc98e723971db8e6b7d1 | [
"MIT"
] | null | null | null | Mundo 3/ex094.py | adonaifariasdev/cursoemvideo-python3 | 1fd35e45b24c52013fa3bc98e723971db8e6b7d1 | [
"MIT"
] | null | null | null | # Crie um programa que leia nome, sexo e idade de várias pessoas, guardando os dados
# de cada pessoa em um dicionário e todos os dicionários em uma lista. No final, mostre:
# A) Quantas pessoas foram cadastradas B) A média de idade C) Uma lista com as mulheres
# D) Uma lista de pessoas com idade acima da média
dados ... | 33.613636 | 88 | 0.584178 | 225 | 1,479 | 3.84 | 0.395556 | 0.027778 | 0.041667 | 0.020833 | 0.064815 | 0.032407 | 0 | 0 | 0 | 0 | 0 | 0.004541 | 0.255578 | 1,479 | 43 | 89 | 34.395349 | 0.7802 | 0.20622 | 0 | 0.289474 | 0 | 0 | 0.324209 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
148a037daf2a31f1b0747c7a72dcdff26d1106d3 | 959 | gyp | Python | allofw.node/binding.gyp | donghaoren/AllofwModule | 4367327cda0605aad53469294ed8751f8befbdc3 | [
"Unlicense"
] | 3 | 2016-05-04T23:23:48.000Z | 2021-08-03T21:48:07.000Z | allofw.node/binding.gyp | donghaoren/AllofwModule | 4367327cda0605aad53469294ed8751f8befbdc3 | [
"Unlicense"
] | null | null | null | allofw.node/binding.gyp | donghaoren/AllofwModule | 4367327cda0605aad53469294ed8751f8befbdc3 | [
"Unlicense"
] | 2 | 2016-01-31T04:06:51.000Z | 2016-09-30T16:38:36.000Z | {
"targets": [
{
"target_name": "allofw",
"include_dirs": [
"<!@(pkg-config liballofw --cflags-only-I | sed s/-I//g)",
"<!(node -e \"require('nan')\")"
],
"libraries": [
"<!@(pkg-config liballofw --libs)",
"<!@(pkg-config glew --libs)",
],
"cflag... | 25.236842 | 66 | 0.448384 | 89 | 959 | 4.651685 | 0.539326 | 0.072464 | 0.096618 | 0.096618 | 0.135266 | 0.135266 | 0 | 0 | 0 | 0 | 0 | 0.007837 | 0.334724 | 959 | 37 | 67 | 25.918919 | 0.641066 | 0 | 0 | 0.108108 | 0 | 0 | 0.527633 | 0.124088 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1499e05f9e701f51c62ae9adf1ada191425c6e1e | 326 | py | Python | mindpile/Utility/memo.py | MelbourneHighSchoolRobotics/Mindpile | 9dd0a14ee336810c2b62826afff4da8719455ba0 | [
"BSD-3-Clause"
] | 2 | 2021-02-16T22:21:36.000Z | 2021-02-17T03:16:30.000Z | mindpile/Utility/memo.py | MelbourneHighSchoolRobotics/Mindpile | 9dd0a14ee336810c2b62826afff4da8719455ba0 | [
"BSD-3-Clause"
] | 2 | 2021-02-17T03:20:24.000Z | 2021-04-30T06:46:02.000Z | mindpile/Utility/memo.py | MelbourneHighSchoolRobotics/mindpile | 9dd0a14ee336810c2b62826afff4da8719455ba0 | [
"BSD-3-Clause"
] | null | null | null | import functools
def memoise(func):
@functools.wraps(func)
def wrapper(*args, **kwargs):
if not wrapper.hasResult:
wrapper.result = func(*args, **kwargs)
wrapper.hasResult = True
return wrapper.result
wrapper.result = None
wrapper.hasResult = False
return wr... | 23.285714 | 50 | 0.628834 | 35 | 326 | 5.857143 | 0.485714 | 0.234146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276074 | 326 | 13 | 51 | 25.076923 | 0.868644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
149df9e3f7439d9013fa722d9aa4c7ae4e678566 | 1,432 | py | Python | dataloaders.py | mrubio-chavarria/project_2 | c78d5e4048af193770d52efb2c5a132f6eb6370c | [
"MIT"
] | null | null | null | dataloaders.py | mrubio-chavarria/project_2 | c78d5e4048af193770d52efb2c5a132f6eb6370c | [
"MIT"
] | null | null | null | dataloaders.py | mrubio-chavarria/project_2 | c78d5e4048af193770d52efb2c5a132f6eb6370c | [
"MIT"
] | null | null | null | #!/venv/bin python
"""
DESCRIPTION:
This file contains wrappers and variations on DataLoader.
"""
# Libraries
import os
from random import shuffle
import torch
import numpy as np
from torch.utils.data import Dataset
from resquiggle_utils import parse_resquiggle, window_resquiggle
from torch import nn
class Combined... | 22.730159 | 93 | 0.639665 | 157 | 1,432 | 5.585987 | 0.369427 | 0.050171 | 0.095781 | 0.057013 | 0.13797 | 0.071836 | 0 | 0 | 0 | 0 | 0 | 0.001923 | 0.273743 | 1,432 | 62 | 94 | 23.096774 | 0.841346 | 0.115922 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.233333 | 0.033333 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
14b1286bb9090e5e7de52578dcf3d83c33bdb3b1 | 2,781 | py | Python | src/py_dss_interface/models/Sensors/SensorsV.py | davilamds/py_dss_interface | a447c97787aeac962381db88dd622ccb235eef4b | [
"MIT"
] | 8 | 2020-08-15T12:56:03.000Z | 2022-01-04T15:51:14.000Z | src/py_dss_interface/models/Sensors/SensorsV.py | rodolfoplondero/py_dss_interface | cb6771b34ed322a5df7ef1cc194611e794f26441 | [
"MIT"
] | 24 | 2021-04-24T18:33:19.000Z | 2021-11-13T14:59:54.000Z | src/py_dss_interface/models/Sensors/SensorsV.py | rodolfoplondero/py_dss_interface | cb6771b34ed322a5df7ef1cc194611e794f26441 | [
"MIT"
] | 7 | 2020-08-15T12:56:04.000Z | 2021-10-04T16:14:30.000Z | # -*- encoding: utf-8 -*-
"""
Created by eniocc at 11/10/2020
"""
import ctypes
from py_dss_interface.models import Bridge
from py_dss_interface.models.Base import Base
from py_dss_interface.models.Sensors.SensorsS import SensorsS
from py_dss_interface.models.Text.Text import Text
class SensorsV(Base):
"""
... | 44.142857 | 115 | 0.703344 | 415 | 2,781 | 4.551807 | 0.245783 | 0.037057 | 0.052938 | 0.050821 | 0.698253 | 0.647433 | 0.647433 | 0.621493 | 0.548438 | 0.548438 | 0 | 0.008562 | 0.202086 | 2,781 | 62 | 116 | 44.854839 | 0.842722 | 0.360662 | 0 | 0.375 | 0 | 0 | 0.072813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.15625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
14b3ea58e56ed94f8934f892735450dec9e7e14d | 629 | py | Python | config/wsgi.py | e2718281/template_test | 3d47741e657138b1ccfee7af19476a796a099b2b | [
"MIT"
] | null | null | null | config/wsgi.py | e2718281/template_test | 3d47741e657138b1ccfee7af19476a796a099b2b | [
"MIT"
] | null | null | null | config/wsgi.py | e2718281/template_test | 3d47741e657138b1ccfee7af19476a796a099b2b | [
"MIT"
] | null | null | null | """
WSGI config for test_project project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
"""
import os
import sys
from django.core.wsgi import get_wsgi_application
# This allows easy... | 27.347826 | 78 | 0.779014 | 93 | 629 | 5.107527 | 0.612903 | 0.069474 | 0.075789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.103339 | 629 | 22 | 79 | 28.590909 | 0.836879 | 0.475358 | 0 | 0 | 0 | 0 | 0.190031 | 0.068536 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
14b53da5ae7dc9a0ddd6d2cbcafa9f97c4f9a304 | 747 | py | Python | app/app/migrations/0001_initial.py | poornachandrakashi/covid-cough-prediction | 3466d21c1e9e9931484db486116afe8f591e6ab8 | [
"MIT"
] | 3 | 2020-04-05T21:09:07.000Z | 2022-02-15T15:23:37.000Z | app/app/migrations/0001_initial.py | poornachandrakashi/covid-cough-prediction | 3466d21c1e9e9931484db486116afe8f591e6ab8 | [
"MIT"
] | 2 | 2020-06-06T01:42:31.000Z | 2021-06-10T22:43:54.000Z | app/app/migrations/0001_initial.py | poornachandrakashi/covid-cough-prediction | 3466d21c1e9e9931484db486116afe8f591e6ab8 | [
"MIT"
] | 3 | 2020-04-08T12:53:47.000Z | 2021-08-10T11:10:32.000Z | # Generated by Django 2.1.1 on 2020-04-05 06:12
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Response',
fields=[
('id', models.AutoField... | 28.730769 | 114 | 0.570281 | 76 | 747 | 5.473684 | 0.671053 | 0.064904 | 0.086538 | 0.115385 | 0.129808 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045541 | 0.294511 | 747 | 25 | 115 | 29.88 | 0.743833 | 0.060241 | 0 | 0 | 1 | 0 | 0.064286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
14b6e3bd8ac3a7eb4e7e8620a55ce89ce7b5721c | 1,534 | py | Python | apps/brew/settings.py | martync/zython | e008bbb33e212f0856e85b8594003402e0a635c0 | [
"Beerware"
] | null | null | null | apps/brew/settings.py | martync/zython | e008bbb33e212f0856e85b8594003402e0a635c0 | [
"Beerware"
] | 5 | 2020-06-05T21:26:16.000Z | 2022-01-13T01:21:27.000Z | apps/brew/settings.py | martync/zython | e008bbb33e212f0856e85b8594003402e0a635c0 | [
"Beerware"
] | null | null | null | SRM_TO_HEX = {
"0": "#FFFFFF",
"1": "#F3F993",
"2": "#F5F75C",
"3": "#F6F513",
"4": "#EAE615",
"5": "#E0D01B",
"6": "#D5BC26",
"7": "#CDAA37",
"8": "#C1963C",
"9": "#BE8C3A",
"10": "#BE823A",
"11": "#C17A37",
"12": "#BF7138",
"13": "#BC6733",
"14": "#B26033",
... | 22.895522 | 46 | 0.468057 | 180 | 1,534 | 3.95 | 0.644444 | 0.028129 | 0.036568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197851 | 0.271838 | 1,534 | 66 | 47 | 23.242424 | 0.438675 | 0 | 0 | 0 | 0 | 0 | 0.498044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
14b9e8b4dcb1e20a307af26c71e8f867c0782a0d | 285 | py | Python | tdd/run.py | LarsAsplund/vunit_tdd | db16c32968675abdacc9939e3573f37a2cbaf431 | [
"MIT"
] | 10 | 2020-08-12T22:27:15.000Z | 2022-03-31T13:34:12.000Z | tdd/run.py | LarsAsplund/vunit_tdd | db16c32968675abdacc9939e3573f37a2cbaf431 | [
"MIT"
] | 7 | 2021-09-06T05:30:07.000Z | 2021-09-08T02:25:41.000Z | tdd/run.py | LarsAsplund/vunit_tdd | db16c32968675abdacc9939e3573f37a2cbaf431 | [
"MIT"
] | 3 | 2021-05-27T11:31:45.000Z | 2021-05-28T07:22:08.000Z | #!/usr/bin/env python3
"""VUnit run script."""
from pathlib import Path
from vunit import VUnit
prj = VUnit.from_argv()
lib = prj.add_library("lib")
root = Path(__file__).parent
lib.add_source_files(root / "src" / "*.vhd")
lib.add_source_files(root / "test" / "*.vhd")
prj.main()
| 17.8125 | 45 | 0.687719 | 44 | 285 | 4.227273 | 0.568182 | 0.064516 | 0.129032 | 0.182796 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004049 | 0.133333 | 285 | 15 | 46 | 19 | 0.748988 | 0.136842 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
14bd6078e39ef46714d7bb697f11da50734262f2 | 1,810 | py | Python | tests/test_env_var.py | sfelix-martins/laradock-up-env | 7e7e3e513083afedf724a9b4e2dd8c6ff0b9eb71 | [
"MIT"
] | 2 | 2020-10-06T15:40:43.000Z | 2020-11-27T12:13:10.000Z | tests/test_env_var.py | sfelix-martins/laradock-up-env | 7e7e3e513083afedf724a9b4e2dd8c6ff0b9eb71 | [
"MIT"
] | 5 | 2019-11-10T12:08:35.000Z | 2019-11-10T13:34:54.000Z | tests/test_env_var.py | sfelix-martins/laradock-multiple-env | 7e7e3e513083afedf724a9b4e2dd8c6ff0b9eb71 | [
"MIT"
] | 1 | 2020-11-27T12:13:13.000Z | 2020-11-27T12:13:13.000Z | import unittest
from multienv.config import Config
from multienv.env_var import EnvVar
from multienv.exceptions import InvalidYamlFileException, \
EnvVarContainerBuildNotFoundException
class EnvVarTestCase(unittest.TestCase):
def test_get_containers_to_rebuild_with_existent_env_var(self):
config = Co... | 39.347826 | 79 | 0.649724 | 196 | 1,810 | 5.535714 | 0.229592 | 0.105069 | 0.110599 | 0.162212 | 0.675576 | 0.620277 | 0.590783 | 0.560369 | 0.482949 | 0.423963 | 0 | 0.00607 | 0.271823 | 1,810 | 45 | 80 | 40.222222 | 0.817147 | 0 | 0 | 0.378378 | 0 | 0 | 0.135359 | 0.064641 | 0 | 0 | 0 | 0 | 0.108108 | 1 | 0.108108 | false | 0 | 0.108108 | 0 | 0.243243 | 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 |
1ad2c6a11db3d3af3b1a5dc0792859101e67bf90 | 1,964 | py | Python | tools/tflitefile_tool/parser/tflite_parser.py | YongseopKim/ONE | 65d4a582621deb0a594343d9cc40ec777ad77e57 | [
"Apache-2.0"
] | null | null | null | tools/tflitefile_tool/parser/tflite_parser.py | YongseopKim/ONE | 65d4a582621deb0a594343d9cc40ec777ad77e57 | [
"Apache-2.0"
] | 36 | 2020-06-17T04:48:55.000Z | 2022-02-07T12:04:10.000Z | tools/tflitefile_tool/parser/tflite_parser.py | YongseopKim/ONE | 65d4a582621deb0a594343d9cc40ec777ad77e57 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) 2021 Samsung Electronics Co., Ltd. All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0... | 33.862069 | 78 | 0.67057 | 260 | 1,964 | 4.930769 | 0.480769 | 0.046802 | 0.030421 | 0.024961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.251527 | 1,964 | 57 | 79 | 34.45614 | 0.862585 | 0.395621 | 0 | 0 | 0 | 0 | 0.012853 | 0 | 0 | 0 | 0 | 0.017544 | 0.111111 | 1 | 0.074074 | false | 0 | 0.148148 | 0 | 0.296296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
1ad93b581be550c1b778274bfd4d391d94cbf882 | 1,953 | py | Python | web_Project/Data_Predict/predict_lead.py | mscenter1/pigpriceML | d51f645a590cebd65126e867d6ef0d3d437e9bc7 | [
"MIT"
] | 8 | 2019-02-02T11:41:28.000Z | 2022-03-10T14:15:09.000Z | web_Project/Data_Predict/predict_lead.py | mscenter1/pigpriceML | d51f645a590cebd65126e867d6ef0d3d437e9bc7 | [
"MIT"
] | 2 | 2019-02-01T07:57:57.000Z | 2021-03-01T06:16:35.000Z | web_Project/Data_Predict/predict_lead.py | mscenter1/pigpriceML | d51f645a590cebd65126e867d6ef0d3d437e9bc7 | [
"MIT"
] | 6 | 2019-02-01T07:17:38.000Z | 2021-12-28T02:37:29.000Z | # -*- coding: utf-8 -*-
# 系统模块
import sys
# 数据处理模块
import pandas as pd
# 引入外部模块
# 整理数据
from predict_prepare import Predict_Prepare as Prepare
# 获取价格预测结果
from predict_predict import Predict_Predict as Predict
class Predict_Lead:
def __init__(self):
pass
# 其他包调用的函数
def predict_result(self):
... | 35.509091 | 206 | 0.729647 | 215 | 1,953 | 6.218605 | 0.306977 | 0.065819 | 0.044877 | 0.041885 | 0.136126 | 0.041885 | 0 | 0 | 0 | 0 | 0 | 0.058102 | 0.206861 | 1,953 | 55 | 207 | 35.509091 | 0.805036 | 0.240143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.055556 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1ada20acc9ce4a88cc954468b6dae92540d23e52 | 4,255 | py | Python | aerforge/text.py | Aermoss/AerForge | 1f57ff69f3b2f8052a2a266d3e5c04cfa4ec0e99 | [
"MIT"
] | 2 | 2021-09-24T12:57:07.000Z | 2022-01-14T00:47:43.000Z | aerforge/text.py | Aermoss/AerForge | 1f57ff69f3b2f8052a2a266d3e5c04cfa4ec0e99 | [
"MIT"
] | null | null | null | aerforge/text.py | Aermoss/AerForge | 1f57ff69f3b2f8052a2a266d3e5c04cfa4ec0e99 | [
"MIT"
] | null | null | null | import pygame
from aerforge.color import *
from aerforge.error import *
class Text:
def __init__(self, window, text, font_size = 24, font_file = None, font_name = "arial", bold = False, italic = False, underline = False, color = Color(240, 240, 240), x = 0, y = 0, parent = None, add_to_objects = True):
... | 26.93038 | 224 | 0.568038 | 555 | 4,255 | 4.187387 | 0.10991 | 0.096386 | 0.060241 | 0.034423 | 0.432014 | 0.309811 | 0.259036 | 0.259036 | 0.259036 | 0.228055 | 0 | 0.007384 | 0.33161 | 4,255 | 158 | 225 | 26.93038 | 0.809775 | 0 | 0 | 0.315315 | 0 | 0 | 0.00244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27027 | false | 0.018018 | 0.027027 | 0.09009 | 0.414414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1adbac124bbaf8f82229656776f6cf0f6360b65e | 500 | py | Python | setup.py | ruivieira/python-als | c98914991a0812084c85e0ded621334c24866b54 | [
"Apache-2.0"
] | 2 | 2021-03-02T04:44:08.000Z | 2021-08-25T09:42:06.000Z | setup.py | ruivieira/python-als | c98914991a0812084c85e0ded621334c24866b54 | [
"Apache-2.0"
] | null | null | null | setup.py | ruivieira/python-als | c98914991a0812084c85e0ded621334c24866b54 | [
"Apache-2.0"
] | 1 | 2019-05-19T10:51:53.000Z | 2019-05-19T10:51:53.000Z | from distutils.core import setup
setup(
name='als',
packages=['als'],
version='0.0.2',
description='Python library for Alternating Least Squares (ALS)',
author='Rui Vieira',
author_email='ruidevieira@googlemail.com',
url='https://github.com/ruivieira/python-als',
download_url='https://g... | 31.25 | 83 | 0.652 | 59 | 500 | 5.491525 | 0.677966 | 0.012346 | 0.018519 | 0.104938 | 0.216049 | 0.216049 | 0.216049 | 0 | 0 | 0 | 0 | 0.014493 | 0.172 | 500 | 15 | 84 | 33.333333 | 0.768116 | 0 | 0 | 0 | 0 | 0 | 0.49 | 0.134 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.071429 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1adbdfb4bc66d95866bcc5ed925f8780b4dac055 | 318 | py | Python | npy2f32.py | shaun95/LPCNet | 117214c3a63d4f43cf5741b299c497e85c983327 | [
"BSD-3-Clause"
] | null | null | null | npy2f32.py | shaun95/LPCNet | 117214c3a63d4f43cf5741b299c497e85c983327 | [
"BSD-3-Clause"
] | 1 | 2020-06-17T12:07:27.000Z | 2020-06-17T12:07:27.000Z | npy2f32.py | shaun95/LPCNet | 117214c3a63d4f43cf5741b299c497e85c983327 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import argparse
import sys
import os
dir_name = os.path.dirname(os.path.realpath(__file__))
npy_data = np.load(os.path.join(dir_name, sys.argv[1]))
npy_data = npy_data.astype(np.float32)
npy_data = npy_data.reshape((-1,))
npy_data.tofile(os.path.join(dir_name, sys.argv[1].split(".")[0] + ".f32"))
| 28.909091 | 75 | 0.732704 | 58 | 318 | 3.793103 | 0.448276 | 0.190909 | 0.090909 | 0.118182 | 0.227273 | 0.227273 | 0.227273 | 0.227273 | 0 | 0 | 0 | 0.027586 | 0.08805 | 318 | 10 | 76 | 31.8 | 0.731034 | 0 | 0 | 0 | 0 | 0 | 0.015723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1ae5744d76fd5fe30712a3dceb1ec7d3ea37f9e1 | 1,394 | py | Python | labour/helpers.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 13 | 2015-11-29T12:19:12.000Z | 2021-02-21T15:42:11.000Z | labour/helpers.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 23 | 2015-04-29T19:43:34.000Z | 2021-02-10T05:50:17.000Z | labour/helpers.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 11 | 2015-09-20T18:59:00.000Z | 2020-02-07T08:47:34.000Z | from functools import wraps
from django.contrib import messages
from django.shortcuts import get_object_or_404, redirect
from access.cbac import default_cbac_required
from core.models import Event
from .views.admin_menu_items import labour_admin_menu_items
def labour_admin_required(view_func):
@wraps(view_func... | 30.304348 | 94 | 0.691535 | 175 | 1,394 | 5.268571 | 0.285714 | 0.052061 | 0.060738 | 0.030369 | 0.420824 | 0.360087 | 0.29718 | 0.29718 | 0.29718 | 0.29718 | 0 | 0.005581 | 0.228838 | 1,394 | 45 | 95 | 30.977778 | 0.852093 | 0 | 0 | 0.363636 | 0 | 0 | 0.120517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0.060606 | 0.181818 | 0 | 0.484848 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1ae6b0af984b4e774a2ea4fe2177c6d38cd7328b | 411 | py | Python | mnist/knows.py | huangjunxiong11/TF2 | 6de61c28c59ef34be7e53762b3a759da152642f7 | [
"MIT"
] | null | null | null | mnist/knows.py | huangjunxiong11/TF2 | 6de61c28c59ef34be7e53762b3a759da152642f7 | [
"MIT"
] | null | null | null | mnist/knows.py | huangjunxiong11/TF2 | 6de61c28c59ef34be7e53762b3a759da152642f7 | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy as np
a = np.arange(15)
out = a.reshape(5, 3)
c = np.arange(15) / 2
y_onehot = c.reshape(5, 3)
out_tensor = tf.convert_to_tensor(out, dtype=tf.float32)
y_onehot_tensor = tf.convert_to_tensor(y_onehot, dtype=tf.float32)
# y_onehot = tf.one_hot(y_onehot_tensor, depth=3) # one-hot... | 22.833333 | 66 | 0.737226 | 77 | 411 | 3.714286 | 0.428571 | 0.146853 | 0.136364 | 0.118881 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053521 | 0.136253 | 411 | 18 | 67 | 22.833333 | 0.752113 | 0.143552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.090909 | 0.181818 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
1aec3c2b4298503556aef1b8d4f0b2abb934f5fa | 2,003 | py | Python | DeBERTa/data/data_sampler.py | tirkarthi/DeBERTa | c558ad99373dac695128c9ec45f39869aafd374e | [
"MIT"
] | 7 | 2021-02-04T01:26:55.000Z | 2021-11-23T00:38:47.000Z | DeBERTa/data/data_sampler.py | tirkarthi/DeBERTa | c558ad99373dac695128c9ec45f39869aafd374e | [
"MIT"
] | 1 | 2021-03-18T00:23:17.000Z | 2022-01-05T15:36:48.000Z | src/LASER/data/data_sampler.py | BigBird01/LASER | 57143200814583410acdd0c5ac0a0f8bab8a1f7e | [
"MIT"
] | null | null | null | #
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#
# Author: Pengcheng He (penhe@microsoft.com)
# Date: 05/15/2019
#
import os
import numpy as np
import math
import sys
from torch.utils.data import Sampler
__all__=['BatchSampler', 'Distribut... | 26.012987 | 89 | 0.683974 | 287 | 2,003 | 4.498258 | 0.285714 | 0.068164 | 0.050349 | 0.055771 | 0.323005 | 0.271108 | 0.238575 | 0.140976 | 0.082107 | 0.082107 | 0 | 0.010044 | 0.204693 | 2,003 | 76 | 90 | 26.355263 | 0.800377 | 0.089366 | 0 | 0.392857 | 0 | 0 | 0.035793 | 0.012665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.089286 | 0.071429 | 0.446429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1af1ba1f73d50b880d12d443416c0d5ee955fd4e | 1,160 | bzl | Python | moq4/repo.bzl | tomaszstrejczek/rules_dotnet_3rd_party | 09f29f062d5250fe7cdc45be872ce9bd1562c60b | [
"Apache-2.0"
] | 1 | 2021-10-10T17:17:27.000Z | 2021-10-10T17:17:27.000Z | moq4/repo.bzl | tomaszstrejczek/rules_dotnet_3rd_party | 09f29f062d5250fe7cdc45be872ce9bd1562c60b | [
"Apache-2.0"
] | null | null | null | moq4/repo.bzl | tomaszstrejczek/rules_dotnet_3rd_party | 09f29f062d5250fe7cdc45be872ce9bd1562c60b | [
"Apache-2.0"
] | null | null | null | load("@io_bazel_rules_dotnet//dotnet:defs.bzl", "core_library", "core_resx", "core_xunit_test")
core_resx(
name = "core_resource",
src = ":src/Moq/Properties/Resources.resx",
identifier = "Moq.Properties.Resources.resources",
)
core_library(
name = "Moq.dll",
srcs = glob(["src/Moq/**/*.cs"]),
... | 25.217391 | 95 | 0.563793 | 110 | 1,160 | 5.809091 | 0.418182 | 0.034429 | 0.040689 | 0.071987 | 0.090767 | 0.090767 | 0 | 0 | 0 | 0 | 0 | 0.009029 | 0.236207 | 1,160 | 45 | 96 | 25.777778 | 0.71219 | 0 | 0 | 0.333333 | 0 | 0 | 0.49569 | 0.318966 | 0 | 0 | 0 | 0 | 0.02381 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1afe05c194caa5c442bb47f534efb7a249603873 | 3,846 | py | Python | pvcontrol/__main__.py | stephanme/pv-control | f6aab9800c154492f3b9e5b2cd21c7a87cf92e16 | [
"Apache-2.0"
] | null | null | null | pvcontrol/__main__.py | stephanme/pv-control | f6aab9800c154492f3b9e5b2cd21c7a87cf92e16 | [
"Apache-2.0"
] | null | null | null | pvcontrol/__main__.py | stephanme/pv-control | f6aab9800c154492f3b9e5b2cd21c7a87cf92e16 | [
"Apache-2.0"
] | null | null | null | import logging
# configure logging before initializing further modules
logging.basicConfig(level=logging.DEBUG, format="%(asctime)s [%(levelname)s] %(name)s - %(message)s")
logging.getLogger("urllib3.connectionpool").setLevel(logging.INFO)
import argparse
import json
import flask
import flask_compress
from werkzeug.m... | 46.337349 | 139 | 0.788612 | 506 | 3,846 | 5.798419 | 0.304348 | 0.02045 | 0.030675 | 0.044308 | 0.185412 | 0.185412 | 0.168371 | 0.045331 | 0 | 0 | 0 | 0.003626 | 0.067863 | 3,846 | 82 | 140 | 46.902439 | 0.814784 | 0.050962 | 0 | 0 | 0 | 0 | 0.235181 | 0.068606 | 0 | 0 | 0 | 0.012195 | 0 | 1 | 0 | false | 0 | 0.203125 | 0 | 0.203125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
210025e5881047a75dc28e56284192add56bd13d | 9,466 | py | Python | src/account/models.py | opnfv/laas | 35b9f39178cc502a5283a1b37a65f7dd0838ae05 | [
"Apache-2.0"
] | 2 | 2020-10-31T15:03:20.000Z | 2021-03-22T16:29:15.000Z | src/account/models.py | opnfv/laas | 35b9f39178cc502a5283a1b37a65f7dd0838ae05 | [
"Apache-2.0"
] | 13 | 2019-12-04T23:29:42.000Z | 2022-03-02T04:53:53.000Z | src/account/models.py | opnfv/laas | 35b9f39178cc502a5283a1b37a65f7dd0838ae05 | [
"Apache-2.0"
] | null | null | null | ##############################################################################
# Copyright (c) 2016 Max Breitenfeldt and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is avai... | 33.214035 | 119 | 0.648109 | 1,228 | 9,466 | 4.900651 | 0.259772 | 0.022433 | 0.038883 | 0.051844 | 0.275008 | 0.23679 | 0.211532 | 0.198903 | 0.139581 | 0.139581 | 0 | 0.015111 | 0.244982 | 9,466 | 284 | 120 | 33.330986 | 0.82692 | 0.251215 | 0 | 0.241379 | 0 | 0 | 0.043056 | 0.0094 | 0 | 0 | 0 | 0.003521 | 0 | 1 | 0.096552 | false | 0 | 0.048276 | 0.02069 | 0.544828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
21052d838f3c6f1bc317c7615a2db829dddf4cec | 299 | py | Python | Segundo nivel - condicionales/4.py | OscarPalominoC/RetosPlatziProgramaci-n | cd0c32254e8dd0dc35dda91ad50f5d8e6f013c08 | [
"MIT"
] | null | null | null | Segundo nivel - condicionales/4.py | OscarPalominoC/RetosPlatziProgramaci-n | cd0c32254e8dd0dc35dda91ad50f5d8e6f013c08 | [
"MIT"
] | null | null | null | Segundo nivel - condicionales/4.py | OscarPalominoC/RetosPlatziProgramaci-n | cd0c32254e8dd0dc35dda91ad50f5d8e6f013c08 | [
"MIT"
] | null | null | null | def run():
animal = str(input('¿Cuál es tu animal favorito? '))
if animal.lower() == 'tortuga' or animal.lower() == 'tortugas':
print('También me gustan las tortugas.')
else:
print('Ese animal es genial, pero prefiero las tortugas.')
if __name__ == '__main__':
run() | 33.222222 | 67 | 0.615385 | 39 | 299 | 4.538462 | 0.692308 | 0.124294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 299 | 9 | 68 | 33.222222 | 0.765217 | 0 | 0 | 0 | 0 | 0 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 0.25 | 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 |
2108113aa55ab74979a849198e4a5b50f03a9738 | 1,153 | py | Python | data-structure/registration_with_binary_tree/src/Registration.py | gvalves/unifesp | f0572419f963fe063be56ae34b572a0130246d2f | [
"MIT"
] | null | null | null | data-structure/registration_with_binary_tree/src/Registration.py | gvalves/unifesp | f0572419f963fe063be56ae34b572a0130246d2f | [
"MIT"
] | null | null | null | data-structure/registration_with_binary_tree/src/Registration.py | gvalves/unifesp | f0572419f963fe063be56ae34b572a0130246d2f | [
"MIT"
] | null | null | null | from enum import Enum
class Registration(Enum):
ID_SERVIDOR_PORTAL = 1
NOME = 2
CPF = 3
MATRICULA = 4
DESCRICAO_CARGO = 5
CLASSE_CARGO = 6
REFERENCIA_CARGO = 7
PADRAO_CARGO = 8
NIVEL_CARGO = 9
SIGLA_FUNCAO = 10
NIVEL_FUNCAO = 11
FUNCAO = 12
CODIGO_ATIVIDADE = 13
... | 24.531915 | 45 | 0.699046 | 147 | 1,153 | 5.102041 | 0.619048 | 0.08 | 0.077333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088132 | 0.261925 | 1,153 | 46 | 46 | 25.065217 | 0.793184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 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 |
21086d29a3c48a77d90c32973849ccb037435414 | 1,269 | py | Python | repos/system_upgrade/el7toel8/actors/checkacpid/actor.py | sm00th/leapp-repository | 1c171ec3a5f9260a3c6f84a9b15cad78a875ac61 | [
"Apache-2.0"
] | 21 | 2018-11-20T15:58:39.000Z | 2022-03-15T19:57:24.000Z | repos/system_upgrade/el7toel8/actors/checkacpid/actor.py | sm00th/leapp-repository | 1c171ec3a5f9260a3c6f84a9b15cad78a875ac61 | [
"Apache-2.0"
] | 732 | 2018-11-21T18:33:26.000Z | 2022-03-31T16:16:24.000Z | repos/system_upgrade/el7toel8/actors/checkacpid/actor.py | sm00th/leapp-repository | 1c171ec3a5f9260a3c6f84a9b15cad78a875ac61 | [
"Apache-2.0"
] | 85 | 2018-11-20T17:55:00.000Z | 2022-03-29T09:40:31.000Z | from leapp.actors import Actor
from leapp.models import InstalledRedHatSignedRPM
from leapp.libraries.common.rpms import has_package
from leapp.reporting import Report, create_report
from leapp import reporting
from leapp.tags import ChecksPhaseTag, IPUWorkflowTag
class CheckAcpid(Actor):
"""
Check if acpid i... | 40.935484 | 104 | 0.662727 | 132 | 1,269 | 6.340909 | 0.590909 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249015 | 1,269 | 30 | 105 | 42.3 | 0.878279 | 0.066194 | 0 | 0 | 0 | 0 | 0.216424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.26087 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
210ce5a109662e3af414b660e816005c84a91241 | 1,091 | py | Python | machine-learning/QiWei-Python-Chinese/function/function_02.py | yw-fang/MLreadingnotes | 3522497e6fb97427c54f4267d9c410064818c357 | [
"Apache-2.0"
] | 2 | 2020-07-09T22:21:57.000Z | 2021-03-20T15:30:31.000Z | machine-learning/QiWei-Python-Chinese/function/function_02.py | yw-fang/MLreadingnotes | 3522497e6fb97427c54f4267d9c410064818c357 | [
"Apache-2.0"
] | 37 | 2018-04-17T06:40:54.000Z | 2022-03-22T09:06:01.000Z | machine-learning/QiWei-Python-Chinese/function/function_02.py | yw-fang/MLreadingnotes | 3522497e6fb97427c54f4267d9c410064818c357 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'Yue-Wen FANG'
__maintainer__ = "Yue-Wen FANG"
__email__ = 'fyuewen@gmail.com'
__license__ = 'Apache License 2.0'
__creation_date__= 'Dec. 25, 2018'
"""
This example shows the functionality
of positional arguments and keyword ONLY arguments.
The positional a... | 27.974359 | 100 | 0.656279 | 159 | 1,091 | 4.27044 | 0.477987 | 0.111929 | 0.029455 | 0.08542 | 0.231222 | 0.191458 | 0.191458 | 0.191458 | 0.191458 | 0.191458 | 0 | 0.034014 | 0.191567 | 1,091 | 38 | 101 | 28.710526 | 0.735828 | 0.210816 | 0 | 0.190476 | 0 | 0 | 0.235115 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0 | 0 | 0.095238 | 0.47619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
21166bc527a261fd10a8f75ff6962975085966f9 | 780 | py | Python | start.py | Wrdle/BertieBotV3 | 8bc5f762ec8de7192a8635e1bebd9dc1bba6ab0f | [
"MIT"
] | 3 | 2019-02-10T14:42:58.000Z | 2020-04-14T08:32:12.000Z | start.py | Wrdle/BertieBotV3 | 8bc5f762ec8de7192a8635e1bebd9dc1bba6ab0f | [
"MIT"
] | 1 | 2019-03-16T11:22:07.000Z | 2019-03-16T11:22:07.000Z | start.py | Wrdle/BertieBotV3 | 8bc5f762ec8de7192a8635e1bebd9dc1bba6ab0f | [
"MIT"
] | null | null | null | import threading
from discord.ext import commands
import discord
from website import create_app
from cogs import generalCommands, events, leaderboard
from settings import configFunctions
global client
client = commands.Bot(command_prefix=commands.when_mentioned_or(configFunctions.getCommandPrefix()), description='Yo... | 30 | 137 | 0.794872 | 90 | 780 | 6.711111 | 0.511111 | 0.07947 | 0.059603 | 0.059603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005764 | 0.110256 | 780 | 25 | 138 | 31.2 | 0.864553 | 0 | 0 | 0 | 0 | 0 | 0.044929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.315789 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
211cc816802d2504b9662cbd05920bf956accf92 | 607 | py | Python | src/demo.py | wenksi/pren-robo-cube-ipcv | e2cf655a7e33aa63dae6e2b2a91abaa11d587f8f | [
"MIT"
] | null | null | null | src/demo.py | wenksi/pren-robo-cube-ipcv | e2cf655a7e33aa63dae6e2b2a91abaa11d587f8f | [
"MIT"
] | null | null | null | src/demo.py | wenksi/pren-robo-cube-ipcv | e2cf655a7e33aa63dae6e2b2a91abaa11d587f8f | [
"MIT"
] | null | null | null | import logging
import pyttsx3
from src.a_detect_pictogram import course_detect_pictogram
from src.common.communication.serial_handler import *
from src.common.movement.drive import *
from src.common.movement.direction import *
from src.common.movement.climb import *
ts = pyttsx3.init()
ts.say("Welcome to our Demonstr... | 23.346154 | 66 | 0.794069 | 92 | 607 | 5.119565 | 0.467391 | 0.07431 | 0.110403 | 0.121019 | 0.171975 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018382 | 0.103789 | 607 | 26 | 67 | 23.346154 | 0.847426 | 0 | 0 | 0.1 | 0 | 0 | 0.134868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.35 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
211ce10aeead46c0c7f51e5abafc02877fb2cf97 | 704 | py | Python | saleor/product/migrations/0168_fulfil_digitalcontenturl_orderline_token.py | eanknd/saleor | 08aa724176be00d7aaf654f14e9ae99dd4327f97 | [
"CC-BY-4.0"
] | 1,392 | 2021-10-06T15:54:28.000Z | 2022-03-31T20:50:55.000Z | saleor/product/migrations/0168_fulfil_digitalcontenturl_orderline_token.py | eanknd/saleor | 08aa724176be00d7aaf654f14e9ae99dd4327f97 | [
"CC-BY-4.0"
] | 888 | 2021-10-06T10:48:54.000Z | 2022-03-31T11:00:30.000Z | saleor/product/migrations/0168_fulfil_digitalcontenturl_orderline_token.py | gustavoarmoa/saleor | f81b2f347e4c7a624cd68a1eca3b0a5611498f6e | [
"CC-BY-4.0"
] | 538 | 2021-10-07T16:21:27.000Z | 2022-03-31T22:58:57.000Z | # Generated by Django 3.2.12 on 2022-04-12 14:00
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("product", "0167_digitalcontenturl_order_line_token"),
("order", "0140_alter_orderline_old_id_and_created_at"),
]
operations = [
migrations.... | 26.074074 | 76 | 0.586648 | 71 | 704 | 5.535211 | 0.619718 | 0.045802 | 0.071247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.335227 | 704 | 26 | 77 | 27.076923 | 0.788462 | 0.065341 | 0 | 0 | 1 | 0 | 0.259053 | 0.225627 | 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 |
21226fcd5be7a149c71e6cd157a3b6472337737a | 1,430 | py | Python | dashboard/app.py | katabaticwind/learn-vue | c83fc1b7ef3edfdc0abd06ba39be58f5a1ca5a59 | [
"MIT"
] | null | null | null | dashboard/app.py | katabaticwind/learn-vue | c83fc1b7ef3edfdc0abd06ba39be58f5a1ca5a59 | [
"MIT"
] | null | null | null | dashboard/app.py | katabaticwind/learn-vue | c83fc1b7ef3edfdc0abd06ba39be58f5a1ca5a59 | [
"MIT"
] | null | null | null | from flask import Flask, render_template, url_for
import os
app = Flask(__name__)
# Homepage
@app.route('/')
def index():
return render_template('index.html')
# Domestic Dashboards
@app.route('/domestic/')
@app.route('/domestic/<model>')
def domestic(model=None):
return render_template('domestic.html', mod... | 27.5 | 89 | 0.645455 | 202 | 1,430 | 4.490099 | 0.326733 | 0.079383 | 0.110254 | 0.059537 | 0.401323 | 0.269019 | 0.238148 | 0.238148 | 0.238148 | 0.238148 | 0 | 0 | 0.183217 | 1,430 | 51 | 90 | 28.039216 | 0.776541 | 0.313287 | 0 | 0.206897 | 0 | 0 | 0.211777 | 0.021694 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172414 | false | 0 | 0.068966 | 0.103448 | 0.482759 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
212c7789af89131c2bbfe4f6722164ee35269ced | 486 | py | Python | src/softforest/routing.py | Zayn484/softForest-rest-api | 6ba80f738f2f00e938bc472b900c467d67dc4bc4 | [
"bzip2-1.0.6"
] | null | null | null | src/softforest/routing.py | Zayn484/softForest-rest-api | 6ba80f738f2f00e938bc472b900c467d67dc4bc4 | [
"bzip2-1.0.6"
] | 5 | 2021-03-19T00:39:57.000Z | 2022-01-13T01:14:11.000Z | src/softforest/routing.py | Zayn484/softforest-rest-api | 6ba80f738f2f00e938bc472b900c467d67dc4bc4 | [
"bzip2-1.0.6"
] | null | null | null | from channels.auth import AuthMiddlewareStack
from channels.routing import ProtocolTypeRouter, URLRouter
from django.urls import re_path
from chat.consumers import ChatConsumer
from teams.consumers import InvitationConsumer
application = ProtocolTypeRouter({
'websocket': AuthMiddlewareStack(
URLRouter([
... | 30.375 | 74 | 0.699588 | 49 | 486 | 6.857143 | 0.530612 | 0.053571 | 0.041667 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 486 | 16 | 75 | 30.375 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0.143737 | 0.125257 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.384615 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
212d2ae3f3860ba8035eb54ebdfbfb256b22bb6e | 973 | py | Python | src/spaceone/inventory/manager/pricing_manager.py | jihyungSong/plugin-aws-price-info | f97f4edff4f022cc9e7c43185ecc98fe9a92fb48 | [
"Apache-2.0"
] | 1 | 2021-02-18T07:56:14.000Z | 2021-02-18T07:56:14.000Z | src/spaceone/inventory/manager/pricing_manager.py | jihyungSong/plugin-aws-price-info | f97f4edff4f022cc9e7c43185ecc98fe9a92fb48 | [
"Apache-2.0"
] | null | null | null | src/spaceone/inventory/manager/pricing_manager.py | jihyungSong/plugin-aws-price-info | f97f4edff4f022cc9e7c43185ecc98fe9a92fb48 | [
"Apache-2.0"
] | 2 | 2021-02-18T07:56:17.000Z | 2021-03-23T01:53:40.000Z | import json
from spaceone.inventory.libs.manager import AWSManager
from spaceone.inventory.connector.pricing import PricingConnector
from spaceone.inventory.model.pricing.cloud_service_type import CLOUD_SERVICE_TYPES
class PricingManager(AWSManager):
conn = None
def __init__(self, transaction=None, **kwargs)... | 36.037037 | 97 | 0.741007 | 115 | 973 | 6.008696 | 0.4 | 0.104197 | 0.091172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175745 | 973 | 26 | 98 | 37.423077 | 0.861596 | 0 | 0 | 0 | 0 | 0 | 0.039054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
21302d3ba8091fd04babc7e6b1cac595bcb3588f | 816 | py | Python | django_drf_filepond/migrations/0003_add_storedupload.py | alarivas/django-drf-filepond | 30098c186cd489728c227de0f85004039a1f72fc | [
"BSD-3-Clause"
] | 81 | 2018-12-03T22:37:40.000Z | 2022-03-31T15:33:06.000Z | django_drf_filepond/migrations/0003_add_storedupload.py | alarivas/django-drf-filepond | 30098c186cd489728c227de0f85004039a1f72fc | [
"BSD-3-Clause"
] | 56 | 2019-01-02T16:04:12.000Z | 2022-03-15T02:45:29.000Z | django_drf_filepond/migrations/0003_add_storedupload.py | alarivas/django-drf-filepond | 30098c186cd489728c227de0f85004039a1f72fc | [
"BSD-3-Clause"
] | 29 | 2018-12-30T22:45:19.000Z | 2022-03-12T02:48:51.000Z | # Generated by Django 2.1.3 on 2019-02-13 13:00
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('django_drf_filepond', '0002_add_upload_dir'),
]
operations = [
migrations.CreateModel(
name='Stored... | 30.222222 | 74 | 0.552696 | 75 | 816 | 5.853333 | 0.68 | 0.045558 | 0.091116 | 0.109339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049724 | 0.334559 | 816 | 26 | 75 | 31.384615 | 0.758748 | 0.055147 | 0 | 0 | 1 | 0 | 0.106632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.095238 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
21367cf6bd5bc02d6a029a160d178f8fc6a45ea5 | 24,632 | py | Python | MixPanel_daily_DataPipeline/bin/mixpanel_daily_datapipeline.py | ThiagoBarsante/DataEngineer_projects | bbed3653cc8e7bf6aec096d11c78566e3a3f8a2b | [
"MIT"
] | null | null | null | MixPanel_daily_DataPipeline/bin/mixpanel_daily_datapipeline.py | ThiagoBarsante/DataEngineer_projects | bbed3653cc8e7bf6aec096d11c78566e3a3f8a2b | [
"MIT"
] | null | null | null | MixPanel_daily_DataPipeline/bin/mixpanel_daily_datapipeline.py | ThiagoBarsante/DataEngineer_projects | bbed3653cc8e7bf6aec096d11c78566e3a3f8a2b | [
"MIT"
] | null | null | null |
""" This program run one complete datapipeline with raw data from mixpanel (json files API)
and generate one structured file format to be used in a Data Science project
Resume
- validate startup process
- check if the configuration and variables are setup
... | 42.987784 | 126 | 0.631942 | 3,248 | 24,632 | 4.462746 | 0.142549 | 0.018489 | 0.036426 | 0.01435 | 0.306657 | 0.223801 | 0.186133 | 0.147637 | 0.115005 | 0.088789 | 0 | 0.011553 | 0.216345 | 24,632 | 572 | 127 | 43.062937 | 0.739367 | 0.266767 | 0 | 0.191977 | 1 | 0 | 0.249062 | 0.06478 | 0 | 0 | 0 | 0.001748 | 0 | 1 | 0.017192 | false | 0 | 0.020057 | 0 | 0.048711 | 0.028653 | 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 |
213e1a7b560720288d3f4be6cc46d4f9de5f1850 | 863 | py | Python | backend/home/migrations/0003_auto_20220225_1628.py | crowdbotics-apps/myclub-33848 | 3f02f80851419194beb68f6b0caf7630ff10593f | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/home/migrations/0003_auto_20220225_1628.py | crowdbotics-apps/myclub-33848 | 3f02f80851419194beb68f6b0caf7630ff10593f | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/home/migrations/0003_auto_20220225_1628.py | crowdbotics-apps/myclub-33848 | 3f02f80851419194beb68f6b0caf7630ff10593f | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | # Generated by Django 2.2.26 on 2022-02-25 16:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("home", "0002_listecategorie_utilisateurs"),
]
operations = [
migrations.CreateModel(
name="Listerole",
fields=[
... | 25.382353 | 57 | 0.453071 | 67 | 863 | 5.731343 | 0.731343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045929 | 0.444959 | 863 | 33 | 58 | 26.151515 | 0.755741 | 0.053302 | 0 | 0.148148 | 1 | 0 | 0.084663 | 0.039264 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 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 |
21494c69ffef8b679fa92b163bcdf892d0556e01 | 466 | py | Python | application/__init__.py | thec0sm0s/Quick-Notes | 09940a1dc7780b16fadb1e43d7734b101dd989de | [
"MIT"
] | 1 | 2020-10-18T02:34:26.000Z | 2020-10-18T02:34:26.000Z | application/__init__.py | thec0sm0s/Quick-Notes | 09940a1dc7780b16fadb1e43d7734b101dd989de | [
"MIT"
] | 8 | 2020-09-28T10:01:31.000Z | 2020-10-12T04:51:25.000Z | application/__init__.py | thec0sm0s/cosnote | 09940a1dc7780b16fadb1e43d7734b101dd989de | [
"MIT"
] | 4 | 2020-09-28T11:47:27.000Z | 2020-10-12T06:54:06.000Z | from flask import Flask
from flask_cors import CORS
from flask_bcrypt import Bcrypt
bcrypt = Bcrypt()
def get_app(configs=None):
from . import api
from . import resource
app = Flask(__name__)
app.config.from_object(configs)
_cors = CORS(app, supports_credentials=True, origins=["http://localhos... | 20.26087 | 85 | 0.729614 | 61 | 466 | 5.344262 | 0.47541 | 0.082822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010471 | 0.180258 | 466 | 22 | 86 | 21.181818 | 0.842932 | 0 | 0 | 0 | 0 | 0 | 0.045064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.357143 | 0 | 0.5 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
2156d626cca5172c098911f8f87121b702a8db66 | 1,455 | py | Python | api/routes/user_router.py | cgiroux86/TeamInterview | c59285479298f84543f80bb9f00a01bc4cef3eb1 | [
"MIT"
] | 1 | 2020-08-31T16:19:11.000Z | 2020-08-31T16:19:11.000Z | api/routes/user_router.py | cgiroux86/TeamInterview | c59285479298f84543f80bb9f00a01bc4cef3eb1 | [
"MIT"
] | null | null | null | api/routes/user_router.py | cgiroux86/TeamInterview | c59285479298f84543f80bb9f00a01bc4cef3eb1 | [
"MIT"
] | null | null | null | from flask import Blueprint, request, jsonify
from api.models.user_model import User, UserPasswords, db
from flask_bcrypt import Bcrypt
user_bp = Blueprint('user_bp', __name__)
def validate_register_fields(req):
data = req.get_json(silent=True)
fields = ['first_name', 'last_name', 'email', 'password']
for... | 26.944444 | 79 | 0.586942 | 175 | 1,455 | 4.702857 | 0.36 | 0.054678 | 0.058323 | 0.061968 | 0.068044 | 0.068044 | 0.068044 | 0 | 0 | 0 | 0 | 0.005929 | 0.304467 | 1,455 | 53 | 80 | 27.45283 | 0.807312 | 0 | 0 | 0.136364 | 0 | 0 | 0.116838 | 0.024055 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0.090909 | 0.068182 | 0.022727 | 0.272727 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
215b643496a981463dbb6c2efc37c1fc0cfbec6d | 132,394 | py | Python | pywikibot/page.py | shizhao/pywikibot-core | 8441a1cd0e8dd5d3701f1c5e26077e40a40937ee | [
"MIT"
] | null | null | null | pywikibot/page.py | shizhao/pywikibot-core | 8441a1cd0e8dd5d3701f1c5e26077e40a40937ee | [
"MIT"
] | null | null | null | pywikibot/page.py | shizhao/pywikibot-core | 8441a1cd0e8dd5d3701f1c5e26077e40a40937ee | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Objects representing various types of MediaWiki pages.
"""
#
# (C) Pywikipedia bot team, 2008-2013
#
# Distributed under the terms of the MIT license.
#
__version__ = '$Id: 215b643496a981463dbb6c2efc37c1fc0cfbec6d $'
import pywikibot
from pywikibot import deprecate_arg
from pywikibot impor... | 39.865703 | 139 | 0.564376 | 14,901 | 132,394 | 4.974633 | 0.108718 | 0.017484 | 0.005342 | 0.005612 | 0.306461 | 0.263467 | 0.226679 | 0.199873 | 0.175887 | 0.157756 | 0 | 0.006152 | 0.345605 | 132,394 | 3,320 | 140 | 39.877711 | 0.849246 | 0.065524 | 0 | 0.283425 | 0 | 0.003315 | 0.074176 | 0.010088 | 0 | 0 | 0 | 0.004217 | 0.000552 | 0 | null | null | 0.002762 | 0.00884 | 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 |
21629f0708dae873e8a5adb69fcdb728a21e4126 | 315 | py | Python | app/gql/__init__.py | yoshiya0503/flask-graphQL-example | 469bc38d183ebb0ed7e9a14427d813cb1fdb3b3e | [
"MIT"
] | null | null | null | app/gql/__init__.py | yoshiya0503/flask-graphQL-example | 469bc38d183ebb0ed7e9a14427d813cb1fdb3b3e | [
"MIT"
] | null | null | null | app/gql/__init__.py | yoshiya0503/flask-graphQL-example | 469bc38d183ebb0ed7e9a14427d813cb1fdb3b3e | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
# -*- encoding: utf-8 -*-
"""
schema object
schema
"""
__author__ = 'Yoshiya Ito <myon53@gmail.com>'
__version__ = '1.0.0'
__date__ = '2019-12-02'
import graphene
from app.gql.query import Query
from app.gql.mutation import Mutation
schema = graphene.Schema(query=Query, mutation=Mutation)
| 21 | 56 | 0.72381 | 45 | 315 | 4.8 | 0.644444 | 0.064815 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0.12381 | 315 | 14 | 57 | 22.5 | 0.728261 | 0.212698 | 0 | 0 | 0 | 0 | 0.188285 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
dcbe975027f4df9e2601fd2aaf93136cc3a06d31 | 1,181 | py | Python | examples/src/main/python/python_example.py | bensenberner/spline-spark-agent | b391bae118233f88f9f2f235d35d11d93055507e | [
"Apache-2.0"
] | 65 | 2020-01-09T08:30:35.000Z | 2022-03-29T11:02:01.000Z | examples/src/main/python/python_example.py | bensenberner/spline-spark-agent | b391bae118233f88f9f2f235d35d11d93055507e | [
"Apache-2.0"
] | 359 | 2020-01-03T15:47:38.000Z | 2022-03-21T14:22:30.000Z | examples/src/main/python/python_example.py | bensenberner/spline-spark-agent | b391bae118233f88f9f2f235d35d11d93055507e | [
"Apache-2.0"
] | 57 | 2020-03-30T09:16:47.000Z | 2022-03-18T19:55:18.000Z | #
# Copyright 2017 ABSA Group Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 36.90625 | 115 | 0.740051 | 165 | 1,181 | 5.284848 | 0.666667 | 0.068807 | 0.029817 | 0.036697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010091 | 0.160881 | 1,181 | 31 | 116 | 38.096774 | 0.869828 | 0.690093 | 0 | 0 | 0 | 0 | 0.284058 | 0.185507 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dcbed17561796433a09061693546b7d9c9b7c335 | 314 | py | Python | scribedb/__init__.py | Decathlon/scribedb | 153ae8854bc77c33a799f2757a2d4629f3909f8c | [
"Apache-2.0"
] | 3 | 2020-03-17T09:13:50.000Z | 2020-07-17T08:30:07.000Z | scribedb/__init__.py | doc22940/scribedb | 153ae8854bc77c33a799f2757a2d4629f3909f8c | [
"Apache-2.0"
] | 5 | 2020-03-09T15:11:20.000Z | 2020-09-17T20:50:08.000Z | scribedb/__init__.py | doc22940/scribedb | 153ae8854bc77c33a799f2757a2d4629f3909f8c | [
"Apache-2.0"
] | 1 | 2020-04-08T01:02:20.000Z | 2020-04-08T01:02:20.000Z |
"""
scribeDB is a light tool which compares data at schema level.
Let us say we have two schemas deployed inside PostgreSQL
and Oracle RDBs.
A minimal usage example:
#
"""
from . import oracle, postgres, rdbms, scribedb
__version__ = '0.1.0'
__all__ = ['__version__', 'oracle', 'postgres', 'scribedb','rdbms']
| 20.933333 | 67 | 0.72293 | 44 | 314 | 4.886364 | 0.795455 | 0.130233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011407 | 0.16242 | 314 | 14 | 68 | 22.428571 | 0.806084 | 0.519108 | 0 | 0 | 0 | 0 | 0.302817 | 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 |
dcc701ccb8967fd5ddcba24fee8eaeca6fa55888 | 900 | py | Python | 57 - Square root convergents/converg.py | jamtot/PyProjectEuler | 98c2cf5dbfa3d38a2727f2ad204e41f01b624dda | [
"MIT"
] | null | null | null | 57 - Square root convergents/converg.py | jamtot/PyProjectEuler | 98c2cf5dbfa3d38a2727f2ad204e41f01b624dda | [
"MIT"
] | null | null | null | 57 - Square root convergents/converg.py | jamtot/PyProjectEuler | 98c2cf5dbfa3d38a2727f2ad204e41f01b624dda | [
"MIT"
] | null | null | null | """
3 7 17 41 99 239 577 1393 n = 2n(i-1(previous)) + n(i-2(num before previous))
- - -- -- -- --- --- ----
2 5 12 29 70 169 408 985 (same as above, next number is 2 times previous plus
the number before that)
"""
def nextexp(expansions):
expansions.append(expansions[-1]*2+expansio... | 32.142857 | 85 | 0.645556 | 122 | 900 | 4.565574 | 0.467213 | 0.136445 | 0.096948 | 0.129264 | 0.125673 | 0.125673 | 0.125673 | 0.125673 | 0 | 0 | 0 | 0.119253 | 0.226667 | 900 | 27 | 86 | 33.333333 | 0.681034 | 0 | 0 | 0 | 0 | 0 | 0.012232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
dcc80839aa9d4bea48c925ed65c8c0a36c832df3 | 255 | py | Python | swarmdjango/core/models/Heading.py | YCP-Swarm-Robotics-Capstone-2020-2021/swarm-website-backend | 081d1930cc9283ee299d373f91f7c127f466c104 | [
"MIT"
] | null | null | null | swarmdjango/core/models/Heading.py | YCP-Swarm-Robotics-Capstone-2020-2021/swarm-website-backend | 081d1930cc9283ee299d373f91f7c127f466c104 | [
"MIT"
] | 51 | 2020-08-31T16:50:09.000Z | 2021-05-10T03:04:18.000Z | swarmdjango/core/models/Heading.py | YCP-Swarm-Robotics-Capstone-2020-2021/swarm-website-backend | 081d1930cc9283ee299d373f91f7c127f466c104 | [
"MIT"
] | null | null | null | from django.db import models
from core.models import Change
class Heading(models.Model):
title = models.TextField()
text = models.TextField()
subHeadings = models.ManyToManyField('self', blank=True)
log = models.ManyToManyField('Change') | 28.333333 | 60 | 0.733333 | 30 | 255 | 6.233333 | 0.633333 | 0.160428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 255 | 9 | 61 | 28.333333 | 0.869767 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dcccd3460841aa56fdd3f12e2c4b74b5af2f3969 | 1,708 | py | Python | progress.py | zzeleznick/config | f7d519004573968aa47fff850480618fd57dc0d1 | [
"MIT"
] | null | null | null | progress.py | zzeleznick/config | f7d519004573968aa47fff850480618fd57dc0d1 | [
"MIT"
] | null | null | null | progress.py | zzeleznick/config | f7d519004573968aa47fff850480618fd57dc0d1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=UTF-8
import sys
from blessings import Terminal
import time
import numpy as np
import argparse
# import subprocess;
# subprocess.call(["printf", "\033c"]);
def process_input():
out = None
args = sys.argv[1:]
if args:
out = args[0]
return out
def main():
sys.s... | 25.878788 | 72 | 0.522834 | 234 | 1,708 | 3.773504 | 0.401709 | 0.04077 | 0.029445 | 0.0453 | 0.052095 | 0.052095 | 0 | 0 | 0 | 0 | 0 | 0.035146 | 0.300351 | 1,708 | 66 | 73 | 25.878788 | 0.703766 | 0.052693 | 0 | 0.037736 | 0 | 0 | 0.060062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.113208 | null | null | 0.09434 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
dccfb668a1df9c3316a2a14e3756a083e3ab3839 | 3,734 | py | Python | google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.ads.google_ads.v4.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2
from google.ads.google_ads.v4.proto.services import campaign_bid_... | 53.342857 | 186 | 0.831012 | 414 | 3,734 | 6.905797 | 0.210145 | 0.069255 | 0.099685 | 0.052466 | 0.693949 | 0.684855 | 0.665967 | 0.619098 | 0.619098 | 0.56943 | 0 | 0.00814 | 0.111676 | 3,734 | 69 | 187 | 54.115942 | 0.853784 | 0.124799 | 0 | 0.2 | 1 | 0 | 0.114953 | 0.086293 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.075 | 0 | 0.225 | 0 | 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 |
dcd1979ad4bab59c6389ed6cdcd41efd03611f23 | 8,840 | py | Python | hg_agent_forwarder/forwarder.py | hostedgraphite/hg-agent-forwarder | b5bc9a69f1cbd49ba925dd33fa4f28617f1e33dc | [
"MIT"
] | null | null | null | hg_agent_forwarder/forwarder.py | hostedgraphite/hg-agent-forwarder | b5bc9a69f1cbd49ba925dd33fa4f28617f1e33dc | [
"MIT"
] | null | null | null | hg_agent_forwarder/forwarder.py | hostedgraphite/hg-agent-forwarder | b5bc9a69f1cbd49ba925dd33fa4f28617f1e33dc | [
"MIT"
] | 2 | 2018-07-17T15:11:38.000Z | 2018-08-19T12:16:55.000Z | import threading
import Queue
import os
import logging
import json
import time
import random
import requests
import multitail2
import errno
import tempfile
from requests.auth import HTTPBasicAuth
from utils import Datapoint
class MetricForwarder(threading.Thread):
'''
Simple metric data forwarder.
Forward... | 36.378601 | 81 | 0.541176 | 989 | 8,840 | 4.712841 | 0.28817 | 0.036687 | 0.027891 | 0.013946 | 0.145033 | 0.102553 | 0.046342 | 0.035615 | 0.035615 | 0.035615 | 0 | 0.01513 | 0.371946 | 8,840 | 242 | 82 | 36.528926 | 0.824388 | 0.064367 | 0 | 0.230337 | 0 | 0 | 0.074185 | 0.018614 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.005618 | 0.073034 | 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 |
dcd91413a4ee5c2dc186ccc8e249ed33ec01e5cc | 4,145 | py | Python | datawin-parse.py | BlackLotus/ogme | c163d51d495e61b96d8123cbb0efe8eae0e4fb66 | [
"MIT"
] | null | null | null | datawin-parse.py | BlackLotus/ogme | c163d51d495e61b96d8123cbb0efe8eae0e4fb66 | [
"MIT"
] | null | null | null | datawin-parse.py | BlackLotus/ogme | c163d51d495e61b96d8123cbb0efe8eae0e4fb66 | [
"MIT"
] | null | null | null | #!/usr/bin/python2
# -*- coding: utf-8 -*-
import os, sys
import binascii
import struct
import StringIO
# chunk names are 4 bytes long
# not quite sure how long the header is but I guess 8 bytes for now :>
# actually it's not really a header but the first chunk
# 4 bytes for the name (FORM) and 4 bytes for the length ... | 30.255474 | 174 | 0.587696 | 550 | 4,145 | 4.390909 | 0.269091 | 0.027329 | 0.012422 | 0.016563 | 0.096066 | 0.059627 | 0.043892 | 0 | 0 | 0 | 0 | 0.02369 | 0.27696 | 4,145 | 136 | 175 | 30.477941 | 0.782115 | 0.277443 | 0 | 0.308642 | 0 | 0.012346 | 0.14934 | 0 | 0 | 0 | 0 | 0.007353 | 0 | 0 | null | null | 0 | 0.049383 | null | null | 0.123457 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
dcdb3ea3ab1893474827b46227655af67fd0f6e0 | 1,701 | py | Python | arrhenuis/termodyn.py | xtotdam/leipzig-report | fe4146f9201a8453683ef1221fc768f135677153 | [
"MIT"
] | null | null | null | arrhenuis/termodyn.py | xtotdam/leipzig-report | fe4146f9201a8453683ef1221fc768f135677153 | [
"MIT"
] | null | null | null | arrhenuis/termodyn.py | xtotdam/leipzig-report | fe4146f9201a8453683ef1221fc768f135677153 | [
"MIT"
] | null | null | null | from arrhenius import stringify
"""
This script generates cool table with termodynamic parameters, taken from 'termodyn-acid.data.txt' and 'termodyn-anion.data.txt'
"""
head = '''
\\begin{center}
\\begin{tabular}{ x{1cm} x{2cm} x{2cm} x{2cm} x{2cm} x{2cm} } \\hline
Acid & E$_A$ \\newline kJ/mol & A \\ne... | 36.191489 | 167 | 0.542034 | 236 | 1,701 | 3.902542 | 0.377119 | 0.021716 | 0.021716 | 0.034745 | 0.314875 | 0.236699 | 0.236699 | 0.236699 | 0.214984 | 0.214984 | 0 | 0.022288 | 0.208701 | 1,701 | 46 | 168 | 36.978261 | 0.661961 | 0 | 0 | 0.294118 | 1 | 0.147059 | 0.472021 | 0.029625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.029412 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.