hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
c34648b7e6fe0e43164dec6e0c0022e1e1efabdd
1,485
py
Python
fb/forms.py
pure-python/brainmate
79c83e707a4811dd881832d22f17c29f33c4d7f2
[ "Apache-2.0" ]
null
null
null
fb/forms.py
pure-python/brainmate
79c83e707a4811dd881832d22f17c29f33c4d7f2
[ "Apache-2.0" ]
1
2016-04-14T14:42:52.000Z
2016-04-14T14:42:52.000Z
fb/forms.py
pure-python/brainmate
79c83e707a4811dd881832d22f17c29f33c4d7f2
[ "Apache-2.0" ]
null
null
null
from django.forms import ( Form, CharField, Textarea, PasswordInput, ChoiceField, DateField, ImageField, BooleanField, IntegerField, MultipleChoiceField ) from django import forms from fb.models import UserProfile
31.595745
102
0.682828
c346562511e160197f5f2be08e436cdf509a8cc0
28,863
py
Python
Galaxy_Invander/user23_fTVPDKIDhRdCfUp.py
triump0870/Interactive_Programming_Python
97e0f1f5639aecac683053ed742632db14dc6954
[ "Apache-2.0" ]
1
2015-06-09T22:40:15.000Z
2015-06-09T22:40:15.000Z
Galaxy_Invander/user23_fTVPDKIDhRdCfUp.py
triump0870/Interactive_Programming_Python
97e0f1f5639aecac683053ed742632db14dc6954
[ "Apache-2.0" ]
null
null
null
Galaxy_Invander/user23_fTVPDKIDhRdCfUp.py
triump0870/Interactive_Programming_Python
97e0f1f5639aecac683053ed742632db14dc6954
[ "Apache-2.0" ]
null
null
null
# Simple implementation of GalaxyInvanders game # Rohan Roy (India) - 3 Nov 2013 # www.codeskulptor.org/#user23_fTVPDKIDhRdCfUp VER = "1.0" # "add various aliens" import simplegui, math, random, time #Global const FIELD_WIDTH = 850 FIELD_HEIGHT = 500 TOP_MARGIN = 75 LEFT_MARGIN = 25 ALIEN_WIDTH = 48 ...
35.988778
131
0.562346
c3482f320f27c64a0db4f2f20db98025fee332ce
1,664
py
Python
components/py-flask-wa/app.py
ajayns/amoc-project
c22ae62789568c1a784f165fbd4547ac20c290a0
[ "MIT" ]
26
2017-04-21T06:05:44.000Z
2020-03-09T11:41:34.000Z
components/py-flask-wa/app.py
ajayns/amoc-project
c22ae62789568c1a784f165fbd4547ac20c290a0
[ "MIT" ]
6
2017-04-16T03:53:28.000Z
2019-02-26T07:02:48.000Z
components/py-flask-wa/app.py
ajayns/amoc-project
c22ae62789568c1a784f165fbd4547ac20c290a0
[ "MIT" ]
5
2017-06-09T06:44:59.000Z
2019-12-13T07:34:11.000Z
from flask import Flask, jsonify, request, render_template, redirect from flask_pymongo import PyMongo from werkzeug import secure_filename import base64 app = Flask(__name__) app.config['MONGO_DBNAME'] = 'restdb' app.config['MONGO_URI'] = 'mongodb://localhost:27017/restdb' mongo = PyMongo(app) if __name__ == '__m...
24.115942
73
0.658053
c34951b6e45c7100c95839ca25a8df621a593d38
2,190
py
Python
wc_lang/util.py
KarrLab/wc_lang
113a8b473576fa9c13688d2deb71b4b2ab400a03
[ "MIT" ]
7
2018-05-14T09:26:14.000Z
2021-05-20T01:11:45.000Z
wc_lang/util.py
KarrLab/wc_lang
113a8b473576fa9c13688d2deb71b4b2ab400a03
[ "MIT" ]
142
2018-03-14T16:50:56.000Z
2021-01-03T16:25:23.000Z
wc_lang/util.py
KarrLab/wc_lang
113a8b473576fa9c13688d2deb71b4b2ab400a03
[ "MIT" ]
4
2019-01-06T08:32:23.000Z
2021-05-20T01:11:49.000Z
""" Utilities :Author: Jonathan Karr <karr@mssm.edu> :Date: 2016-11-10 :Copyright: 2016, Karr Lab :License: MIT """ from obj_tables import get_models as base_get_models from wc_lang import core from wc_lang import io from wc_utils.util import git def get_model_size(model): """ Get numbers of model components ...
28.441558
89
0.616895
c349777d037bf08d8ee79327a13369ab404b7431
5,267
py
Python
synapse/tests/test_tools_autodoc.py
kcreyts/synapse
fe740fd1e0febfa32f8d431b32ab48f8a0cf306e
[ "Apache-2.0" ]
1
2021-02-15T22:07:05.000Z
2021-02-15T22:07:05.000Z
synapse/tests/test_tools_autodoc.py
kcreyts/synapse
fe740fd1e0febfa32f8d431b32ab48f8a0cf306e
[ "Apache-2.0" ]
null
null
null
synapse/tests/test_tools_autodoc.py
kcreyts/synapse
fe740fd1e0febfa32f8d431b32ab48f8a0cf306e
[ "Apache-2.0" ]
null
null
null
import synapse.common as s_common import synapse.tests.utils as s_t_utils import synapse.tools.autodoc as s_autodoc
41.801587
136
0.566926
c34a6dd4d560ec8071e9109e3ca674e32bbace38
4,174
py
Python
tf_idf.py
ricosr/retrieval_chatbot
567e860f09771cae19e32b3bf20b5ce87266cda6
[ "MIT" ]
16
2018-12-04T13:55:56.000Z
2021-11-21T05:53:57.000Z
tf_idf.py
ricosr/retrieval_chatbot
567e860f09771cae19e32b3bf20b5ce87266cda6
[ "MIT" ]
5
2019-05-21T12:40:18.000Z
2019-05-31T18:23:51.000Z
tf_idf.py
ricosr/retrieval_chatbot
567e860f09771cae19e32b3bf20b5ce87266cda6
[ "MIT" ]
4
2018-11-22T13:45:05.000Z
2019-09-16T16:30:28.000Z
# -*- coding: utf-8 -*- import pickle import os import jieba from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.externals import joblib from sklearn.metrics.pairwise import cosine_similarity
36.614035
94
0.626977
c34b267716c64dbcac0061ea5f7b0de5338ff153
19,015
py
Python
d373c7/pytorch/models/classifiers.py
t0kk35/d373c7
7780b97545e581244fb4fb74347bb1b052b9ec3f
[ "Apache-2.0" ]
1
2021-07-23T18:04:55.000Z
2021-07-23T18:04:55.000Z
d373c7/pytorch/models/classifiers.py
t0kk35/d373c7
7780b97545e581244fb4fb74347bb1b052b9ec3f
[ "Apache-2.0" ]
null
null
null
d373c7/pytorch/models/classifiers.py
t0kk35/d373c7
7780b97545e581244fb4fb74347bb1b052b9ec3f
[ "Apache-2.0" ]
null
null
null
""" Module for classifier Models (c) 2020 d373c7 """ import logging import torch import torch.nn as nn from .common import PyTorchModelException, ModelDefaults, _History, _ModelGenerated, _ModelStream from .encoders import GeneratedAutoEncoder from ..layers import LSTMBody, ConvolutionalBody1d, AttentionLastEntry, Line...
46.041162
120
0.645438
c34bda54e37900d299bfad9266c734ecc115936d
5,369
py
Python
qklnn/plots/hyperpar_scan.py
cambouvy/BSc-Thesis-Project
ca2504cb828ab068545e130eac393ceb34f2a457
[ "MIT" ]
1
2021-10-02T11:15:10.000Z
2021-10-02T11:15:10.000Z
qklnn/plots/hyperpar_scan.py
cambouvy/BSc-Thesis-Project
ca2504cb828ab068545e130eac393ceb34f2a457
[ "MIT" ]
null
null
null
qklnn/plots/hyperpar_scan.py
cambouvy/BSc-Thesis-Project
ca2504cb828ab068545e130eac393ceb34f2a457
[ "MIT" ]
null
null
null
import re import numpy as np import pandas as pd import matplotlib as mpl mpl.use("pdf") import matplotlib.pyplot as plt from matplotlib import gridspec from peewee import AsIs, JOIN, prefetch, SQL from IPython import embed from bokeh.layouts import row, column from bokeh.plotting import figure, show, output_file fr...
30.856322
99
0.67778
c34c38cdb59ab3adcb9297c65de4aee9cda600b1
1,328
py
Python
py3canvas/tests/shared_brand_configs.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
py3canvas/tests/shared_brand_configs.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
py3canvas/tests/shared_brand_configs.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
"""SharedBrandConfigs API Tests for Version 1.0. This is a testing template for the generated SharedBrandConfigsAPI Class. """ import unittest import requests import secrets from py3canvas.apis.shared_brand_configs import SharedBrandConfigsAPI from py3canvas.apis.shared_brand_configs import Sharedbrandconfig
37.942857
126
0.752259
c34deabfbf09d812a3e974c9b52d0665996b8dda
1,095
py
Python
apps/cars/tests/api/abstract/abstract_base_api_test.py
agorsk1/car-rating-app
354c5933f4cbad69c9a57d1839f9086cd5cf9a1d
[ "MIT" ]
1
2022-03-03T11:15:25.000Z
2022-03-03T11:15:25.000Z
apps/cars/tests/api/abstract/abstract_base_api_test.py
agorsk1/car-rating-app
354c5933f4cbad69c9a57d1839f9086cd5cf9a1d
[ "MIT" ]
null
null
null
apps/cars/tests/api/abstract/abstract_base_api_test.py
agorsk1/car-rating-app
354c5933f4cbad69c9a57d1839f9086cd5cf9a1d
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from django.test import TestCase from rest_framework.generics import GenericAPIView from rest_framework.test import APIRequestFactory from apps.cars.factory import UserFactory
29.594595
72
0.621918
c34e3c84ae9852ef18383b6753e4f283c886e50c
995
py
Python
templating-tool.py
salayatana66/vw-serving-flask
7b91f986b0e03e9784cf481b1f8833508dc40bfb
[ "BSD-2-Clause-FreeBSD" ]
4
2020-10-01T17:31:00.000Z
2021-05-09T12:21:41.000Z
templating-tool.py
salayatana66/vw-serving-flask
7b91f986b0e03e9784cf481b1f8833508dc40bfb
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
templating-tool.py
salayatana66/vw-serving-flask
7b91f986b0e03e9784cf481b1f8833508dc40bfb
[ "BSD-2-Clause-FreeBSD" ]
2
2020-10-01T17:31:01.000Z
2020-10-02T17:48:01.000Z
""" A simple templating tool for Dockerfiles """ import sys import os import click import jinja2 import yaml cli.add_command(from_yaml) if __name__ == '__main__': cli()
19.509804
61
0.648241
c3508126a16d94b29f0bc62586532976da28f49d
11,552
py
Python
verbforms.py
wmcooper2/Clean-Code-English-Tests
a966ed40e13608a75bb618d35bf812d9229cacc3
[ "MIT" ]
null
null
null
verbforms.py
wmcooper2/Clean-Code-English-Tests
a966ed40e13608a75bb618d35bf812d9229cacc3
[ "MIT" ]
1
2018-09-02T12:46:41.000Z
2018-09-02T12:55:30.000Z
verbforms.py
wmcooper2/TotalEnglishAssistant
a966ed40e13608a75bb618d35bf812d9229cacc3
[ "MIT" ]
null
null
null
"""File for holding the different verb forms for all of the verbs in the Total English book series.""" verb_forms = { 'become' : { 'normal' : 'become', 'present' : ['become','becomes'], 'past' : 'became', 'past participle' : 'become', 'gerund' : 'becoming', }, 'be': { 'n...
18.814332
78
0.428497
c3518b43a0aa4df0b06d8f5ad7ea43c927361987
169
py
Python
bokeh/themes/__init__.py
quasiben/bokeh
738343bd18c851dfd1fdc82cf35fe3eb4cdfd475
[ "BSD-3-Clause" ]
null
null
null
bokeh/themes/__init__.py
quasiben/bokeh
738343bd18c851dfd1fdc82cf35fe3eb4cdfd475
[ "BSD-3-Clause" ]
null
null
null
bokeh/themes/__init__.py
quasiben/bokeh
738343bd18c851dfd1fdc82cf35fe3eb4cdfd475
[ "BSD-3-Clause" ]
null
null
null
''' Provides API for loading themes ''' from __future__ import absolute_import from os.path import join from .theme import Theme default = Theme(json={}) del join
12.071429
38
0.739645
c351ebb4f07cf7eccdee13a557a0b9df8efb0303
4,321
py
Python
files/spam-filter/tracspamfilter/captcha/keycaptcha.py
Puppet-Finland/puppet-trac
ffdf467ba80ff995778c30b0bdc6dc3e7d4e6cd3
[ "BSD-2-Clause" ]
null
null
null
files/spam-filter/tracspamfilter/captcha/keycaptcha.py
Puppet-Finland/puppet-trac
ffdf467ba80ff995778c30b0bdc6dc3e7d4e6cd3
[ "BSD-2-Clause" ]
null
null
null
files/spam-filter/tracspamfilter/captcha/keycaptcha.py
Puppet-Finland/puppet-trac
ffdf467ba80ff995778c30b0bdc6dc3e7d4e6cd3
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2015 Dirk Stcker <trac@dstoecker.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.com/license.html. # # This software ...
38.238938
82
0.610507
c353ac7f88d4d2f15d7dbe0bb2a19e95c08d7680
3,222
py
Python
app/model/causalnex.py
splunk/splunk-mltk-container-docker
6e98e5984d99d7a3318f3e68c224d2a5163b717b
[ "Apache-2.0" ]
20
2019-10-28T10:10:00.000Z
2022-02-17T02:31:54.000Z
app/model/causalnex.py
splunk/splunk-mltk-container-docker
6e98e5984d99d7a3318f3e68c224d2a5163b717b
[ "Apache-2.0" ]
13
2019-11-22T16:00:02.000Z
2022-01-12T10:57:08.000Z
app/model/causalnex.py
splunk/splunk-mltk-container-docker
6e98e5984d99d7a3318f3e68c224d2a5163b717b
[ "Apache-2.0" ]
15
2019-10-25T23:19:43.000Z
2022-03-27T16:49:21.000Z
#!/usr/bin/env python # coding: utf-8 # In[18]: # this definition exposes all python module imports that should be available in all subsequent commands import json import numpy as np import pandas as pd from causalnex.structure import DAGRegressor from sklearn.model_selection import cross_val_score from sklear...
16.272727
108
0.624146
c3545eaf7cf8c0dfbca19e2063b2250b17a5d6be
6,500
py
Python
Assignment1/Q4/q4.py
NavneelSinghal/COL774
d8b473b9cd05984ef4ffe8642ce3ce5cb9a17252
[ "MIT" ]
null
null
null
Assignment1/Q4/q4.py
NavneelSinghal/COL774
d8b473b9cd05984ef4ffe8642ce3ce5cb9a17252
[ "MIT" ]
null
null
null
Assignment1/Q4/q4.py
NavneelSinghal/COL774
d8b473b9cd05984ef4ffe8642ce3ce5cb9a17252
[ "MIT" ]
null
null
null
import matplotlib import matplotlib.pyplot as plt import matplotlib.animation as animation matplotlib.use('Agg') import math import numpy as np import sys from os.path import join, isfile import warnings warnings.filterwarnings("ignore") if __name__ == '__main__': main()
31.400966
158
0.534923
c35493185a871b0c5b3f41a18ba8dd0865c75b5e
1,521
py
Python
var/spack/repos/builtin/packages/bcache/package.py
milljm/spack
b476f8aa63d48f4b959522ece0406caa32992d4a
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/bcache/package.py
milljm/spack
b476f8aa63d48f4b959522ece0406caa32992d4a
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/bcache/package.py
milljm/spack
b476f8aa63d48f4b959522ece0406caa32992d4a
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import *
40.026316
104
0.738988
c354a245e57f7c727ba4576fb602286db50cc1a3
645
py
Python
core/migrations/0010_wagtailsitepage_screenshot.py
admariner/madewithwagtail
a43b3263c0f151ece4994fccd561b0575db4979f
[ "MIT" ]
null
null
null
core/migrations/0010_wagtailsitepage_screenshot.py
admariner/madewithwagtail
a43b3263c0f151ece4994fccd561b0575db4979f
[ "MIT" ]
null
null
null
core/migrations/0010_wagtailsitepage_screenshot.py
admariner/madewithwagtail
a43b3263c0f151ece4994fccd561b0575db4979f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-21 23:50 from django.db import migrations
22.241379
48
0.568992
c3556300b12020a7a08798e9741d8eecbab08f07
1,555
py
Python
circuitpython/schedule.py
Flameeyes/birch-books-smarthome
245a8afc848b2a8cf4dbcde31b36716b44937200
[ "MIT" ]
null
null
null
circuitpython/schedule.py
Flameeyes/birch-books-smarthome
245a8afc848b2a8cf4dbcde31b36716b44937200
[ "MIT" ]
null
null
null
circuitpython/schedule.py
Flameeyes/birch-books-smarthome
245a8afc848b2a8cf4dbcde31b36716b44937200
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2020 The birch-books-smarthome Authors # SPDX-License-Identifier: MIT BOOKSTORE_GROUND_FLOOR = 0x0007 BOOKSTORE_FIRST_FLOOR = 0x0008 BOOKSTORE_TERRARIUM = 0x0010 BOOKSTORE_BEDROOM = 0x0020 HOUSE_BASEMENT = 0x0040 HOUSE_GROUND_FLOOR = 0x0380 HOUSE_BEDROOM_LIGHT = 0x0400 HOUSE_BEDROOM_LAMP = 0...
33.804348
87
0.803859
c3561322c8fe83a3cce278173951cb1c3bdb4ed4
284
py
Python
imdb/utils.py
rinkurajole/imdb_sanic_app
502852b911eb2cfdc5dfcdb4fba585b91e2ce7c6
[ "BSD-3-Clause" ]
null
null
null
imdb/utils.py
rinkurajole/imdb_sanic_app
502852b911eb2cfdc5dfcdb4fba585b91e2ce7c6
[ "BSD-3-Clause" ]
null
null
null
imdb/utils.py
rinkurajole/imdb_sanic_app
502852b911eb2cfdc5dfcdb4fba585b91e2ce7c6
[ "BSD-3-Clause" ]
null
null
null
import bcrypt salt = bcrypt.gensalt()
23.666667
70
0.683099
c3562d1b40f2737d409b58bb9f4467b0ae1bbe8c
14,200
py
Python
test/test_modules/test_math.py
dragonteros/unsuspected-hangeul
52dda3768809f5ba91e4fd7bb754223737b2da3d
[ "MIT" ]
62
2019-02-24T17:45:04.000Z
2021-06-14T07:34:57.000Z
test/test_modules/test_math.py
dragonteros/unsuspected-hangeul
52dda3768809f5ba91e4fd7bb754223737b2da3d
[ "MIT" ]
11
2019-02-25T17:19:45.000Z
2020-07-18T05:04:17.000Z
test/test_modules/test_math.py
dragonteros/unsuspected-hangeul
52dda3768809f5ba91e4fd7bb754223737b2da3d
[ "MIT" ]
2
2019-02-25T07:51:14.000Z
2019-09-23T12:36:08.000Z
from test.test_base import TestBase
55.905512
158
0.520352
c3565453ab31565d1b32ad8f383deec201854e66
1,563
py
Python
services/smtp.py
sourceperl/docker.mqttwarn
9d87337f766843c8bdee34eba8d29776e7032009
[ "MIT" ]
null
null
null
services/smtp.py
sourceperl/docker.mqttwarn
9d87337f766843c8bdee34eba8d29776e7032009
[ "MIT" ]
null
null
null
services/smtp.py
sourceperl/docker.mqttwarn
9d87337f766843c8bdee34eba8d29776e7032009
[ "MIT" ]
2
2016-09-03T09:12:17.000Z
2020-03-03T11:58:40.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Jan-Piet Mens <jpmens()gmail.com>' __copyright__ = 'Copyright 2014 Jan-Piet Mens' __license__ = """Eclipse Public License - v 1.0 (http://www.eclipse.org/legal/epl-v10.html)""" import smtplib from email.mime.text import MIMEText
33.978261
124
0.621241
c3566cc0d033b24fec07c1d00481ebc4541fed37
1,865
py
Python
xknx/knxip/disconnect_request.py
Trance-Paradox/xknx
d5603361080f96aafd19c14d17fb1ff391064b3f
[ "MIT" ]
null
null
null
xknx/knxip/disconnect_request.py
Trance-Paradox/xknx
d5603361080f96aafd19c14d17fb1ff391064b3f
[ "MIT" ]
null
null
null
xknx/knxip/disconnect_request.py
Trance-Paradox/xknx
d5603361080f96aafd19c14d17fb1ff391064b3f
[ "MIT" ]
null
null
null
""" Module for Serialization and Deserialization of a KNX Disconnect Request information. Disconnect requests are used to disconnect a tunnel from a KNX/IP device. """ from __future__ import annotations from typing import TYPE_CHECKING from xknx.exceptions import CouldNotParseKNXIP from .body import KNXIPBody from ...
29.603175
85
0.657909
c357fdd1d20a6b3edc1499c2dfe1f260522fc967
391
py
Python
src/database_setup.py
liuchanglilian/crowdsourcing-text-msg
8270a8175bc78141d9eff00b53f4b292d0d2678c
[ "MIT" ]
null
null
null
src/database_setup.py
liuchanglilian/crowdsourcing-text-msg
8270a8175bc78141d9eff00b53f4b292d0d2678c
[ "MIT" ]
null
null
null
src/database_setup.py
liuchanglilian/crowdsourcing-text-msg
8270a8175bc78141d9eff00b53f4b292d0d2678c
[ "MIT" ]
null
null
null
from src.sqlite_helper import create_message_table, drop_message_table """ This script will create a SQLite table for you, and should be one time setup The table name is message which will store all the Post message """ create_message_table() """ If you need to drop the message table, un-comment the following code ...
24.4375
108
0.769821
c3590d5e9d8eea5dee2b2753a4c5f63a26af1754
5,401
py
Python
home/pedrosenarego/zorba/zorba1.0.py
rv8flyboy/pyrobotlab
4e04fb751614a5cb6044ea15dcfcf885db8be65a
[ "Apache-2.0" ]
63
2015-02-03T18:49:43.000Z
2022-03-29T03:52:24.000Z
home/pedrosenarego/zorba/zorba1.0.py
hirwaHenryChristian/pyrobotlab
2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9
[ "Apache-2.0" ]
16
2016-01-26T19:13:29.000Z
2018-11-25T21:20:51.000Z
home/pedrosenarego/zorba/zorba1.0.py
hirwaHenryChristian/pyrobotlab
2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9
[ "Apache-2.0" ]
151
2015-01-03T18:55:54.000Z
2022-03-04T07:04:23.000Z
from java.lang import String import threading import random import codecs import io import itertools import time import os import urllib2 import textwrap import socket import shutil ############################################################# # This is the ZOrba # ##################################################...
31.95858
89
0.587854
c3591dd7e4fa04185bef35a749e2e0b73d499945
837
py
Python
pocs/tests/test_state_machine.py
zacharyt20/POCS
8f785eaf27178be7d72106cb82e5400a8b852ba8
[ "MIT" ]
1
2019-07-19T10:37:08.000Z
2019-07-19T10:37:08.000Z
pocs/tests/test_state_machine.py
zacharyt20/POCS
8f785eaf27178be7d72106cb82e5400a8b852ba8
[ "MIT" ]
null
null
null
pocs/tests/test_state_machine.py
zacharyt20/POCS
8f785eaf27178be7d72106cb82e5400a8b852ba8
[ "MIT" ]
null
null
null
import os import pytest import yaml from pocs.core import POCS from pocs.observatory import Observatory from pocs.utils import error
22.026316
60
0.746714
c3592d71715ada6f67b45406f9503a1122617882
7,033
py
Python
code/BacDup/scripts/gff_parser.py
JFsanchezherrero/TFM_UOC_AMoya
74d860d90240d96d800031ff449e21e09bad826c
[ "Unlicense" ]
2
2021-03-05T10:20:10.000Z
2021-12-21T10:50:21.000Z
code/BacDup/scripts/gff_parser.py
JFsanchezherrero/TFM_UOC_AMoya
74d860d90240d96d800031ff449e21e09bad826c
[ "Unlicense" ]
7
2021-03-03T14:27:50.000Z
2021-07-21T09:38:27.000Z
code/BacDup/scripts/gff_parser.py
JFsanchezherrero/TFM_UOC_AMoya
74d860d90240d96d800031ff449e21e09bad826c
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 ############################################################## ## Jose F. Sanchez & Alba Moya ## ## Copyright (C) 2020-2021 ## ############################################################## ''' Created on 28 oct. 2020 @author: alba Mo...
35.882653
173
0.515854
c359a6fbb849b989ceb5b8e12f21bfb4e4e866fd
1,729
py
Python
PAL/Cross/client/sources-linux/build_library_zip.py
infosecsecurity/OSPTF
df3f63dc882db6d7e0b7bd80476e9bbc8471ac1f
[ "MIT" ]
2
2017-11-23T01:07:37.000Z
2021-06-25T05:03:49.000Z
PAL/Cross/client/sources-linux/build_library_zip.py
infosecsecurity/OSPTF
df3f63dc882db6d7e0b7bd80476e9bbc8471ac1f
[ "MIT" ]
null
null
null
PAL/Cross/client/sources-linux/build_library_zip.py
infosecsecurity/OSPTF
df3f63dc882db6d7e0b7bd80476e9bbc8471ac1f
[ "MIT" ]
1
2018-05-22T02:28:43.000Z
2018-05-22T02:28:43.000Z
import sys from distutils.core import setup import os from glob import glob import zipfile import shutil sys.path.insert(0, os.path.join('resources','library_patches')) sys.path.insert(0, os.path.join('..','..','pupy')) import pp import additional_imports import Crypto all_dependencies=set([x.split('.')[0] for x,m i...
36.020833
124
0.54251
c35a27ffefb517296b644e56550ee85f278c4beb
4,742
py
Python
conans/test/functional/old/short_paths_test.py
Manu343726/conan
fe322a672307d29f99d2e7bc1c02c45c835028d7
[ "MIT" ]
null
null
null
conans/test/functional/old/short_paths_test.py
Manu343726/conan
fe322a672307d29f99d2e7bc1c02c45c835028d7
[ "MIT" ]
1
2020-04-18T10:13:37.000Z
2020-04-18T10:16:37.000Z
conans/test/functional/old/short_paths_test.py
alacasta/conan
643a9c84fe6dc0cb2f9fcbfc9dc5bd2e789c690e
[ "MIT" ]
1
2018-09-03T05:04:23.000Z
2018-09-03T05:04:23.000Z
import os import platform import unittest from conans.model.ref import ConanFileReference from conans.test.utils.tools import NO_SETTINGS_PACKAGE_ID, TestClient
41.234783
97
0.633066
c35a9f8a6f746b1900b91c33a9b1be7d36fdde7f
4,086
py
Python
data_collection/json2mongodb.py
kwond2/hedgehogs
58dbed549a1e78e401fc90c7a7041d9979cfc2e4
[ "MIT" ]
9
2018-02-06T19:08:16.000Z
2022-03-15T13:31:57.000Z
data_collection/json2mongodb.py
kwond2/hedgehogs
58dbed549a1e78e401fc90c7a7041d9979cfc2e4
[ "MIT" ]
37
2018-02-09T21:22:58.000Z
2021-12-13T19:51:24.000Z
data_collection/json2mongodb.py
kwond2/hedgehogs
58dbed549a1e78e401fc90c7a7041d9979cfc2e4
[ "MIT" ]
10
2018-02-27T20:26:55.000Z
2021-02-06T02:26:30.000Z
#-*- coding: utf-8 -*- # import os # from optparse import OptionParser # from pymongo import MongoClient, bulk # import json # import collections # import sys from import_hedgehogs import * HOST = '45.55.48.43' PORT = 27017 DB = 'SEC_EDGAR' if __name__ == "__main__": print("[WARNING] STILL UNDER DEVELOPMENT") ...
41.272727
121
0.670338
c35c0c54bc5945e22f05841e1485001ae7177f54
2,984
py
Python
scripts/convert_to_singlehead.py
Lollipop321/mini-decoder-network
cfdaba579b45cba1d181585e5430178c1dc60049
[ "BSD-3-Clause" ]
1
2021-09-18T05:07:38.000Z
2021-09-18T05:07:38.000Z
scripts/convert_to_singlehead.py
Lollipop321/mini-decoder-network
cfdaba579b45cba1d181585e5430178c1dc60049
[ "BSD-3-Clause" ]
null
null
null
scripts/convert_to_singlehead.py
Lollipop321/mini-decoder-network
cfdaba579b45cba1d181585e5430178c1dc60049
[ "BSD-3-Clause" ]
1
2021-12-24T13:05:02.000Z
2021-12-24T13:05:02.000Z
import torch import math import time import struct import argparse import numpy as np from collections import OrderedDict if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('-model', required=True, help="trained model prefix, also include dir, e.g. ../data/model-100") args =...
45.907692
146
0.560657
c35c6a6a052a8839d6a0e36986573f0ad73f479f
3,719
py
Python
tests/integration/frameworks/test_detectron2_impl.py
francoisserra/BentoML
213e9e9b39e055286f2649c733907df88e6d2503
[ "Apache-2.0" ]
1
2021-06-12T17:04:07.000Z
2021-06-12T17:04:07.000Z
tests/integration/frameworks/test_detectron2_impl.py
francoisserra/BentoML
213e9e9b39e055286f2649c733907df88e6d2503
[ "Apache-2.0" ]
4
2021-05-16T08:06:25.000Z
2021-11-13T08:46:36.000Z
tests/integration/frameworks/test_detectron2_impl.py
francoisserra/BentoML
213e9e9b39e055286f2649c733907df88e6d2503
[ "Apache-2.0" ]
null
null
null
import typing as t from typing import TYPE_CHECKING import numpy as np import torch import pytest import imageio from detectron2 import model_zoo from detectron2.data import transforms as T from detectron2.config import get_cfg from detectron2.modeling import build_model import bentoml if TYPE_CHECKING: from det...
30.483607
85
0.705835
c35c97b552a6619198e65898ccb72250776063d5
1,867
py
Python
molecule/default/tests/test_default.py
escalate/ansible-influxdb-docker
bbb2c259bd1de3c4c40322103a05894494af7104
[ "MIT" ]
null
null
null
molecule/default/tests/test_default.py
escalate/ansible-influxdb-docker
bbb2c259bd1de3c4c40322103a05894494af7104
[ "MIT" ]
null
null
null
molecule/default/tests/test_default.py
escalate/ansible-influxdb-docker
bbb2c259bd1de3c4c40322103a05894494af7104
[ "MIT" ]
null
null
null
"""Role testing files using testinfra""" def test_config_directory(host): """Check config directory""" f = host.file("/etc/influxdb") assert f.is_directory assert f.user == "influxdb" assert f.group == "root" assert f.mode == 0o775 def test_data_directory(host): """Check data directory""...
28.287879
77
0.664167
c35eb72d85ca1063b3957ca321301a14a1c4baba
3,847
py
Python
ZIP-v0.01/Serial_to_MQTT.py
JittoThomas/IOT
994fa25087d14e33c2d82b9c9d526f65823b6fa8
[ "MIT" ]
null
null
null
ZIP-v0.01/Serial_to_MQTT.py
JittoThomas/IOT
994fa25087d14e33c2d82b9c9d526f65823b6fa8
[ "MIT" ]
null
null
null
ZIP-v0.01/Serial_to_MQTT.py
JittoThomas/IOT
994fa25087d14e33c2d82b9c9d526f65823b6fa8
[ "MIT" ]
null
null
null
#!/usr/bin/env python import cayenne.client, datetime, time, serial # import random #Delay Start #print "Time now = ", datetime.datetime.now().strftime("%H-%M-%S") #time.sleep(60) #print "Starting now = ", datetime.datetime.now().strftime("%H-%M-%S") # Cayenne authentication info. This should be obtained from the Cay...
31.276423
114
0.641539
c35efbe149c76dcc538b4f5467731ccd578e9db2
1,841
py
Python
test/test_slimta_queue_proxy.py
nanojob/python-slimta
70b9c633756a56afaf1fdd53c5ead6d0001036e7
[ "MIT" ]
141
2015-01-24T23:59:18.000Z
2022-01-30T16:36:37.000Z
test/test_slimta_queue_proxy.py
nanojob/python-slimta
70b9c633756a56afaf1fdd53c5ead6d0001036e7
[ "MIT" ]
106
2015-01-13T22:49:07.000Z
2021-02-17T15:14:11.000Z
test/test_slimta_queue_proxy.py
nanojob/python-slimta
70b9c633756a56afaf1fdd53c5ead6d0001036e7
[ "MIT" ]
43
2015-07-29T14:55:09.000Z
2021-09-24T22:30:38.000Z
import unittest from mox3.mox import MoxTestBase, IsA from slimta.queue.proxy import ProxyQueue from slimta.smtp.reply import Reply from slimta.relay import Relay, TransientRelayError, PermanentRelayError from slimta.envelope import Envelope # vim:et:fdm=marker:sts=4:sw=4:ts=4
29.693548
72
0.634438
c3601f9d19e300648c3ba875a58c68aa35eadc52
1,912
py
Python
tests/potential/EamPotential/Al__born_exp_fs/test____init__.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
4
2018-01-18T19:59:56.000Z
2020-08-25T11:56:52.000Z
tests/potential/EamPotential/Al__born_exp_fs/test____init__.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
1
2018-04-22T23:02:13.000Z
2018-04-22T23:02:13.000Z
tests/potential/EamPotential/Al__born_exp_fs/test____init__.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
1
2019-09-14T07:04:42.000Z
2019-09-14T07:04:42.000Z
import pytest from pypospack.potential import EamPotential symbols = ['Al'] func_pair_name = "bornmayer" func_density_name = "eam_dens_exp" func_embedding_name = "fs" expected_parameter_names_pair_potential = [] expected_parameter_names_density_function = [] expected_parameter_names_embedding_function = [] expected_...
30.83871
72
0.684623
c36035176be4720b8166b5477e11e4a52ab157d4
417
py
Python
backend/bin/main/enrichers/enricher.py
anjo-ba/PCAP-Analyzer
ccb13caba9c0c05a7643e63c57575b56ab1233cb
[ "MIT" ]
4
2019-03-29T08:45:36.000Z
2021-11-11T00:49:36.000Z
backend/bin/main/enrichers/enricher.py
anjo-ba/PCAP-Analyzer
ccb13caba9c0c05a7643e63c57575b56ab1233cb
[ "MIT" ]
9
2019-04-03T18:10:19.000Z
2020-08-16T12:13:34.000Z
backend/bin/main/enrichers/enricher.py
anjo-ba/PCAP-Analyzer
ccb13caba9c0c05a7643e63c57575b56ab1233cb
[ "MIT" ]
4
2019-05-09T15:33:23.000Z
2022-02-06T08:01:23.000Z
from typing import Dict from main.helpers.print_helper import PrintHelper
26.0625
80
0.70024
c360b0127afead19c24d728369419544803b4819
2,191
py
Python
Modulo_5/proyecto/presentacion/form_ubicacion/formAUbicacion_designer.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
null
null
null
Modulo_5/proyecto/presentacion/form_ubicacion/formAUbicacion_designer.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
null
null
null
Modulo_5/proyecto/presentacion/form_ubicacion/formAUbicacion_designer.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
1
2022-03-04T00:57:18.000Z
2022-03-04T00:57:18.000Z
import tkinter as tk import matplotlib.pyplot as plt from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg from pandastable import Table import util.generic as utl
41.339623
137
0.645824
c362e5ae43a55d318ef4b490ee0fc9d950ff6b12
138
py
Python
injector/__init__.py
vnepomuceno/kafka-events-injector
66fb490b1a3d5f06737689005c639b1785a6bb37
[ "MIT" ]
null
null
null
injector/__init__.py
vnepomuceno/kafka-events-injector
66fb490b1a3d5f06737689005c639b1785a6bb37
[ "MIT" ]
null
null
null
injector/__init__.py
vnepomuceno/kafka-events-injector
66fb490b1a3d5f06737689005c639b1785a6bb37
[ "MIT" ]
null
null
null
import coloredlogs coloredlogs.install() custom_logger = logging.getLogger(name) coloredlogs.install(level="INFO", logger=custom_logger)
23
55
0.826087
c3636918f6e548937ced74b698a4a4c3213be188
4,008
py
Python
setup.py
Lcvette/qtpyvcp
4143a4a4e1f557f7d0c8998c886b4a254f0be60b
[ "BSD-3-Clause-LBNL", "MIT" ]
71
2018-12-13T20:31:18.000Z
2022-03-26T08:44:22.000Z
setup.py
Lcvette/qtpyvcp
4143a4a4e1f557f7d0c8998c886b4a254f0be60b
[ "BSD-3-Clause-LBNL", "MIT" ]
78
2019-01-10T18:16:33.000Z
2022-03-18T19:30:49.000Z
setup.py
Lcvette/qtpyvcp
4143a4a4e1f557f7d0c8998c886b4a254f0be60b
[ "BSD-3-Clause-LBNL", "MIT" ]
38
2018-10-10T19:02:26.000Z
2022-01-30T04:38:14.000Z
import os import versioneer from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() if os.getenv('DEB_BUILD') == 'true' or os.getenv('USER') == 'root': "/usr/share/doc/linuxcnc/examples/sample-configs/sim" # list of (destination, source_file) tuples ...
31.809524
87
0.611776
c363cccc0f9ae4f989abcc27c186813cc42c4212
4,366
py
Python
hidparser/UsagePage.py
NZSmartie/PyHIDParser
a2758929c82a4316a665a779b9a391740103b318
[ "MIT" ]
22
2016-04-28T10:29:11.000Z
2022-02-02T17:30:08.000Z
hidparser/UsagePage.py
NZSmartie/PyHIDParser
a2758929c82a4316a665a779b9a391740103b318
[ "MIT" ]
12
2016-04-24T03:29:00.000Z
2018-11-26T22:34:37.000Z
hidparser/UsagePage.py
NZSmartie/PyHIDParser
a2758929c82a4316a665a779b9a391740103b318
[ "MIT" ]
5
2017-02-21T13:01:25.000Z
2021-10-04T07:13:53.000Z
from enum import Enum as _Enum
35.209677
136
0.633074
c3645b451a58c6438e6127bf646d7ebd0d06fa74
1,505
py
Python
sandbox/lib/jumpscale/JumpscaleLibs/tools/legal_contracts/LegalDoc.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
2
2019-05-09T07:21:25.000Z
2019-08-05T06:37:53.000Z
sandbox/lib/jumpscale/JumpscaleLibs/tools/legal_contracts/LegalDoc.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
664
2018-12-19T12:43:44.000Z
2019-08-23T04:24:42.000Z
sandbox/lib/jumpscale/JumpscaleLibs/tools/legal_contracts/LegalDoc.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
7
2019-05-03T07:14:37.000Z
2019-08-05T12:36:52.000Z
from reportlab.lib.pagesizes import A4 from reportlab.lib.units import cm from reportlab.lib.styles import getSampleStyleSheet from reportlab.platypus import BaseDocTemplate, Frame, PageTemplate, Paragraph
35
108
0.639203
c3681201a4fff8ff597af63f6abe3f4d4fb7b0ce
5,627
py
Python
tests/outcome/test_outcome_models.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
6
2018-01-25T13:49:24.000Z
2020-03-07T16:25:09.000Z
tests/outcome/test_outcome_models.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
369
2018-01-17T15:22:18.000Z
2022-03-10T19:14:56.000Z
tests/outcome/test_outcome_models.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
3
2018-04-11T14:18:37.000Z
2018-10-31T19:09:48.000Z
from datetime import datetime import uuid from sqlalchemy.exc import IntegrityError from dataservice.api.study.models import Study from dataservice.api.participant.models import Participant from dataservice.api.outcome.models import Outcome from dataservice.extensions import db from tests.utils import FlaskTestCase
30.252688
72
0.594633
c3693f12a03bbf78b7f7bcf22ea6cd2fd4184fd8
1,043
py
Python
app/forms/fields/month_year_date_field.py
ons-eq-team/eq-questionnaire-runner
8d029097faa2b9d53d9621064243620db60c62c7
[ "MIT" ]
null
null
null
app/forms/fields/month_year_date_field.py
ons-eq-team/eq-questionnaire-runner
8d029097faa2b9d53d9621064243620db60c62c7
[ "MIT" ]
null
null
null
app/forms/fields/month_year_date_field.py
ons-eq-team/eq-questionnaire-runner
8d029097faa2b9d53d9621064243620db60c62c7
[ "MIT" ]
null
null
null
import logging from werkzeug.utils import cached_property from wtforms import FormField, Form, StringField logger = logging.getLogger(__name__)
26.74359
68
0.607862
c36a18741da6b1e9a7e803a47b014cff09f34cfc
310
py
Python
inf_classif_analysis/descriptive_analysis.py
Marco-Ametrano/myocardal_infarction_class
d2fb9d4d6643d0b836ffdb94a32911eb4d68c390
[ "MIT" ]
null
null
null
inf_classif_analysis/descriptive_analysis.py
Marco-Ametrano/myocardal_infarction_class
d2fb9d4d6643d0b836ffdb94a32911eb4d68c390
[ "MIT" ]
null
null
null
inf_classif_analysis/descriptive_analysis.py
Marco-Ametrano/myocardal_infarction_class
d2fb9d4d6643d0b836ffdb94a32911eb4d68c390
[ "MIT" ]
null
null
null
#AFTER PREPROCESSING AND TARGETS DEFINITION newdataset.describe() LET_IS.value_counts() LET_IS.value_counts().plot(kind='bar', color='c') Y_unica.value_counts() Y_unica.value_counts().plot(kind='bar', color='c') ZSN.value_counts().plot(kind='bar', color='c') Survive.value_counts().plot(kind='bar', color='c')
34.444444
50
0.748387
c36a8c07a26ce0690e0700b966816f0b550bb368
1,568
py
Python
src/service/eda_service.py
LiuYuWei/service-data-eda-analysis
7dcbf205a0a3715cf3d199356bd1814b8d47b52d
[ "Apache-2.0" ]
null
null
null
src/service/eda_service.py
LiuYuWei/service-data-eda-analysis
7dcbf205a0a3715cf3d199356bd1814b8d47b52d
[ "Apache-2.0" ]
null
null
null
src/service/eda_service.py
LiuYuWei/service-data-eda-analysis
7dcbf205a0a3715cf3d199356bd1814b8d47b52d
[ "Apache-2.0" ]
null
null
null
"""Confusion matrix calculation service.""" # coding=utf-8 # import relation package. from pandas_profiling import ProfileReport import pandas as pd import datetime import json # import project package. from config.config_setting import ConfigSetting
32.666667
88
0.655612
c36b30969b08b61066b6a7a3898735992cd717ad
1,385
py
Python
google/cloud/bigquery_v2/types/__init__.py
KoffieLabs/python-bigquery
33b317abdc6d69f33722cb0504bb0b78c1c80e30
[ "Apache-2.0" ]
null
null
null
google/cloud/bigquery_v2/types/__init__.py
KoffieLabs/python-bigquery
33b317abdc6d69f33722cb0504bb0b78c1c80e30
[ "Apache-2.0" ]
null
null
null
google/cloud/bigquery_v2/types/__init__.py
KoffieLabs/python-bigquery
33b317abdc6d69f33722cb0504bb0b78c1c80e30
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # 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...
25.181818
74
0.724188
c36b323dde6e6584446ed2e96c3983eea6ffe2a3
4,365
py
Python
blurr/core/store.py
ddrightnow/blurr
a8745101d4a8a85ccf1efc608dba8486d3cebb49
[ "Apache-2.0" ]
null
null
null
blurr/core/store.py
ddrightnow/blurr
a8745101d4a8a85ccf1efc608dba8486d3cebb49
[ "Apache-2.0" ]
7
2019-12-16T20:58:29.000Z
2022-02-09T23:57:32.000Z
blurr/core/store.py
ddrightnow/blurr
a8745101d4a8a85ccf1efc608dba8486d3cebb49
[ "Apache-2.0" ]
null
null
null
from abc import abstractmethod, ABC from datetime import datetime, timezone from typing import Any, List, Tuple, Dict from blurr.core.base import BaseSchema from blurr.core.store_key import Key, KeyType def get_time_range(self, identity, group, start_time, end_time) -> List[Tuple[Key, Any]]: raise NotIm...
33.837209
100
0.595647
c36b874a06452316ba72dfbbdea4c8d952355b51
1,411
py
Python
seamless/core/cache/tempref.py
sjdv1982/seamless
1b814341e74a56333c163f10e6f6ceab508b7df9
[ "MIT" ]
15
2017-06-07T12:49:12.000Z
2020-07-25T18:06:04.000Z
seamless/core/cache/tempref.py
sjdv1982/seamless
1b814341e74a56333c163f10e6f6ceab508b7df9
[ "MIT" ]
110
2016-06-21T23:20:44.000Z
2022-02-24T16:15:22.000Z
seamless/core/cache/tempref.py
sjdv1982/seamless
1b814341e74a56333c163f10e6f6ceab508b7df9
[ "MIT" ]
6
2016-06-21T11:19:22.000Z
2019-01-21T13:45:39.000Z
import time, copy import asyncio temprefmanager = TempRefManager() coro = temprefmanager.loop() import asyncio task = asyncio.ensure_future(coro) import atexit atexit.register(lambda *args, **kwargs: task.cancel())
26.12963
57
0.546421
c36b9227e1e39aa4000c6b92c3dbf8f27a5ea7f5
8,775
py
Python
lib/python27/Lib/site-packages/wx-2.8-msw-ansi/wx/tools/Editra/src/eclib/choicedlg.py
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
27
2020-11-12T19:24:54.000Z
2022-03-27T23:10:45.000Z
lib/python27/Lib/site-packages/wx-2.8-msw-ansi/wx/tools/Editra/src/eclib/choicedlg.py
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
2
2020-11-02T06:30:39.000Z
2022-02-23T18:39:55.000Z
lib/python27/Lib/site-packages/wx-2.8-msw-ansi/wx/tools/Editra/src/eclib/choicedlg.py
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
3
2021-08-16T00:21:08.000Z
2022-02-23T19:19:36.000Z
############################################################################### # Name: choicedlg.py # # Purpose: Generic Choice Dialog # # Author: Cody Precord <cprecord@editra.org> # ...
30.574913
79
0.509972
c36ce52f1b69aad8e3b2676523c1755292c1c03c
29,068
py
Python
src/flower/proto/transport_pb2.py
xinchiqiu/flower
ef12441fdebaa32f34e12dd02dfa376fa2988eaf
[ "Apache-2.0" ]
null
null
null
src/flower/proto/transport_pb2.py
xinchiqiu/flower
ef12441fdebaa32f34e12dd02dfa376fa2988eaf
[ "Apache-2.0" ]
null
null
null
src/flower/proto/transport_pb2.py
xinchiqiu/flower
ef12441fdebaa32f34e12dd02dfa376fa2988eaf
[ "Apache-2.0" ]
1
2020-06-01T11:06:18.000Z
2020-06-01T11:06:18.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: flower/proto/transport.proto from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection a...
39.494565
2,507
0.762901
c36ddd7acdde8453a1b9743b8e731fb3b4051614
80
py
Python
shopyo/__init__.py
rehmanis/shopyo2
3e26602149f09aa4c13a1b4b6fba296bd82af99f
[ "MIT" ]
2
2021-04-17T09:59:48.000Z
2021-04-17T10:12:02.000Z
shopyo/__init__.py
rehmanis/shopyo2
3e26602149f09aa4c13a1b4b6fba296bd82af99f
[ "MIT" ]
15
2021-04-01T19:54:46.000Z
2021-04-07T22:25:40.000Z
shopyo/__init__.py
rehmanis/shopyo2
3e26602149f09aa4c13a1b4b6fba296bd82af99f
[ "MIT" ]
null
null
null
version_info = (4, 0, 1) __version__ = ".".join([str(v) for v in version_info])
26.666667
54
0.65
c36e4faa6f3051be3ca85cd0b16d04294152aa32
3,748
py
Python
check_digit_calc.py
zhoffm/Check-Digit-Calculator
5f86304901279678c74858811a452866785bd8f4
[ "MIT" ]
1
2019-08-29T13:07:08.000Z
2019-08-29T13:07:08.000Z
check_digit_calc.py
zhoffm/Check-Digit-Calculator
5f86304901279678c74858811a452866785bd8f4
[ "MIT" ]
null
null
null
check_digit_calc.py
zhoffm/Check-Digit-Calculator
5f86304901279678c74858811a452866785bd8f4
[ "MIT" ]
null
null
null
from random import randint import pandas as pd # Class to calculate the check digit for 11 digit UPC's if __name__ == '__main__': test_upc = random_11_digit_upc() obj = CheckDigitCalculations() print(obj.get_full_upc(test_upc))
32.591304
109
0.627535
c36ea7dbd20120b593de7ef575a4b4b1a54e3de9
4,976
py
Python
test/test_load.py
ramsdalesteve/forest
12cac1b3dd93c4475a8a4f696c522576b44f16eb
[ "BSD-3-Clause" ]
null
null
null
test/test_load.py
ramsdalesteve/forest
12cac1b3dd93c4475a8a4f696c522576b44f16eb
[ "BSD-3-Clause" ]
null
null
null
test/test_load.py
ramsdalesteve/forest
12cac1b3dd93c4475a8a4f696c522576b44f16eb
[ "BSD-3-Clause" ]
null
null
null
import yaml import forest from forest import main def test_build_loader_given_files(): """replicate main.py as close as possible""" files = ["file_20190101T0000Z.nc"] args = main.parse_args.parse_args(files) config = forest.config.from_files(args.files, args.file_type) group = config.file_groups[...
32.103226
88
0.696744
c3704e5ac8ab23d0d2914d6aa73d29d45471acf6
4,309
py
Python
swagger_server/models/rule.py
Capping-WAR/API
981823732f2b4f8bc007da657d5195579eb7dad3
[ "MIT" ]
null
null
null
swagger_server/models/rule.py
Capping-WAR/API
981823732f2b4f8bc007da657d5195579eb7dad3
[ "MIT" ]
2
2019-09-24T23:45:34.000Z
2019-10-11T20:06:54.000Z
swagger_server/models/rule.py
Capping-WAR/API
981823732f2b4f8bc007da657d5195579eb7dad3
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from swagger_server.models.base_model_ import Model from swagger_server import util
27.44586
120
0.589464
c371765c42e0c448d7d486fc65c3f350acc4e5ed
864
py
Python
Project1/mazes/gen_sparses.py
VFerrari/MC906
b04d3df58ef56203882fc59c03874f92c0d223fe
[ "MIT" ]
null
null
null
Project1/mazes/gen_sparses.py
VFerrari/MC906
b04d3df58ef56203882fc59c03874f92c0d223fe
[ "MIT" ]
null
null
null
Project1/mazes/gen_sparses.py
VFerrari/MC906
b04d3df58ef56203882fc59c03874f92c0d223fe
[ "MIT" ]
null
null
null
import os import re import numpy as np # WARNING: this function overrides the mazes in sparse directory; don't run it # as the idea is that everyone test the same mazes def gen_sparses(dir_path): ''' Randomly remove points from dense instances ''' pattern = re.compile('^([0-9]+[a-zA-Z]+)') denses_fn = [x for x...
34.56
102
0.605324
c3718e6eac42b785991cffcfe402fff63a2a5da0
1,592
py
Python
cryomem/cmtools/lib/jjivarray2.py
bebaek/cryomem
088fba2568d10451adda51a068c15c8c2a73d9ce
[ "MIT" ]
1
2018-09-16T12:29:04.000Z
2018-09-16T12:29:04.000Z
cryomem/cmtools/lib/jjivarray2.py
bebaek/cryomem
088fba2568d10451adda51a068c15c8c2a73d9ce
[ "MIT" ]
null
null
null
cryomem/cmtools/lib/jjivarray2.py
bebaek/cryomem
088fba2568d10451adda51a068c15c8c2a73d9ce
[ "MIT" ]
null
null
null
""" Analyze JJ IV curve array (core) v.2 BB, 2016 """ import numpy as np from . import jjiv2 as jjiv import sys def fit2rsj_arr(iarr, varr, **kwargs): """Fit IV array to 2 Ic RSJ model and return arrays of fit params, error. Keyword arguments: guess: array of (Ic+, Ic-, Rn, Vo) io: fixed Io. upd...
28.945455
78
0.478643
c372b444a020f4105b4dff97edb032deea88f217
567
py
Python
python/0122.py
garywei944/LeetCode
77453b6e3329f3309ad61fe578cb7b608317ba1b
[ "MIT" ]
null
null
null
python/0122.py
garywei944/LeetCode
77453b6e3329f3309ad61fe578cb7b608317ba1b
[ "MIT" ]
null
null
null
python/0122.py
garywei944/LeetCode
77453b6e3329f3309ad61fe578cb7b608317ba1b
[ "MIT" ]
null
null
null
from leetcode_tester import Tester from typing import Optional, List if __name__ == '__main__': solution = Solution() test = Tester(solution.maxProfit) test.addTest( [7, 1, 5, 3, 6, 4], 7 ) test.addTest( [1, 2, 3, 4, 5], 4 ) test.addTest( [7, 6, 4, 3, 1], 0 )...
19.551724
50
0.511464
c37355b23d392a1bb9299b5a5621376e2bdb4e8e
1,406
py
Python
dataset.py
songrotek/wechat_jump_end_to_end_train
119e8a172bf31b70da1004c88567c41d3183711a
[ "MIT" ]
26
2018-01-10T12:23:54.000Z
2018-02-24T06:31:34.000Z
dataset.py
floodsung/wechat_jump_end_to_end_train
119e8a172bf31b70da1004c88567c41d3183711a
[ "MIT" ]
3
2018-06-20T17:28:31.000Z
2018-07-03T13:35:36.000Z
dataset.py
songrotek/wechat_jump_end_to_end_train
119e8a172bf31b70da1004c88567c41d3183711a
[ "MIT" ]
10
2018-01-11T12:42:42.000Z
2018-03-12T04:51:35.000Z
import torch import json import os from torch.utils.data import DataLoader,Dataset import torchvision.transforms as transforms from PIL import Image import numpy as np data_folder = "./dataset/images" press_times = json.load(open("./dataset/dataset.json")) image_roots = [os.path.join(data_folder,image_file) \ ...
30.565217
103
0.687767
c373e158e091fc846ebe00cd19f68260787532ea
921
py
Python
grafana_backup/create_snapshot.py
Keimille/grafana-backup-tool
ea824c908c0b98ff934cfe3efdf90121b6edd49d
[ "MIT" ]
515
2016-06-16T20:01:30.000Z
2022-03-29T03:03:24.000Z
grafana_backup/create_snapshot.py
Keimille/grafana-backup-tool
ea824c908c0b98ff934cfe3efdf90121b6edd49d
[ "MIT" ]
159
2016-12-06T03:06:58.000Z
2022-03-17T16:10:40.000Z
grafana_backup/create_snapshot.py
Keimille/grafana-backup-tool
ea824c908c0b98ff934cfe3efdf90121b6edd49d
[ "MIT" ]
195
2016-07-19T06:00:13.000Z
2022-03-09T05:58:32.000Z
import json from grafana_backup.dashboardApi import create_snapshot
35.423077
125
0.674267
c37733d1ef97d9bfcb5fc78d09053dd294d1f132
1,928
py
Python
examples/keras_ssd_example.py
jiayunhan/perceptron-benchmark
39958a15e9f8bfa82938a3f81d4f216457744b22
[ "Apache-2.0" ]
38
2019-06-10T04:19:42.000Z
2022-02-15T05:21:23.000Z
examples/keras_ssd_example.py
jiayunhan/perceptron-benchmark
39958a15e9f8bfa82938a3f81d4f216457744b22
[ "Apache-2.0" ]
4
2019-07-30T19:00:23.000Z
2019-09-26T01:35:05.000Z
examples/keras_ssd_example.py
jiayunhan/perceptron-benchmark
39958a15e9f8bfa82938a3f81d4f216457744b22
[ "Apache-2.0" ]
10
2019-06-10T05:45:33.000Z
2021-04-22T08:33:28.000Z
""" Test case for Keras """ from perceptron.zoo.ssd_300.keras_ssd300 import SSD300 from perceptron.models.detection.keras_ssd300 import KerasSSD300Model from perceptron.utils.image import load_image from perceptron.benchmarks.brightness import BrightnessMetric from perceptron.utils.criteria.detection import Targ...
41.021277
145
0.669087
c377c853596a16e597f271a0e7e5269f859cd807
224
py
Python
math/470.ImplementRand10UsingRand7.py
bzd111/leetcode
fd8db9ef52000cd4373f00a8f60d131caa5fe25d
[ "Apache-2.0" ]
null
null
null
math/470.ImplementRand10UsingRand7.py
bzd111/leetcode
fd8db9ef52000cd4373f00a8f60d131caa5fe25d
[ "Apache-2.0" ]
null
null
null
math/470.ImplementRand10UsingRand7.py
bzd111/leetcode
fd8db9ef52000cd4373f00a8f60d131caa5fe25d
[ "Apache-2.0" ]
null
null
null
import sys
16
51
0.482143
c37854af006991db33cfa5319fe951302a09dbf2
164
py
Python
segmentation/data/transforms/__init__.py
RajasekharChowdary9/panoptic-deeplab
7645bc1cf51e3ebc85153666f26f8630a407b52b
[ "Apache-2.0" ]
506
2020-06-12T01:07:56.000Z
2022-03-26T00:56:52.000Z
segmentation/data/transforms/__init__.py
RajasekharChowdary9/panoptic-deeplab
7645bc1cf51e3ebc85153666f26f8630a407b52b
[ "Apache-2.0" ]
85
2020-06-12T04:51:31.000Z
2022-03-23T16:19:44.000Z
segmentation/data/transforms/__init__.py
RajasekharChowdary9/panoptic-deeplab
7645bc1cf51e3ebc85153666f26f8630a407b52b
[ "Apache-2.0" ]
102
2020-06-12T06:45:44.000Z
2022-03-22T14:03:04.000Z
from .build import build_transforms from .pre_augmentation_transforms import Resize from .target_transforms import PanopticTargetGenerator, SemanticTargetGenerator
41
79
0.896341
c379116efb10da15e4d433c54d3c5da28ac9b233
46,937
py
Python
plasmapy/diagnostics/proton_radiography.py
MarikinPaulina/PlasmaPy
9a9e4200981618fdfba4bd9347180b6cbe3040d7
[ "MIT", "BSD-2-Clause-Patent", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
plasmapy/diagnostics/proton_radiography.py
MarikinPaulina/PlasmaPy
9a9e4200981618fdfba4bd9347180b6cbe3040d7
[ "MIT", "BSD-2-Clause-Patent", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
plasmapy/diagnostics/proton_radiography.py
MarikinPaulina/PlasmaPy
9a9e4200981618fdfba4bd9347180b6cbe3040d7
[ "MIT", "BSD-2-Clause-Patent", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
""" Routines for the analysis of proton radiographs. These routines can be broadly classified as either creating synthetic radiographs from prescribed fields or methods of 'inverting' experimentally created radiographs to reconstruct the original fields (under some set of assumptions). """ __all__ = [ "SyntheticPr...
38.919569
90
0.582994
c37a40407f09301be18f33044c4803950764471c
924
py
Python
polyengine/switch_start.py
AkanshDivker/polyengine
f81e1ef68d92470b51888db1d0c693b6d8c6b45f
[ "MIT" ]
5
2020-04-11T23:56:13.000Z
2021-05-22T09:09:36.000Z
polyengine/switch_start.py
AkanshDivker/polyengine
f81e1ef68d92470b51888db1d0c693b6d8c6b45f
[ "MIT" ]
4
2019-10-29T07:17:36.000Z
2019-11-27T05:36:01.000Z
polyengine/switch_start.py
AkanshDivker/polyengine
f81e1ef68d92470b51888db1d0c693b6d8c6b45f
[ "MIT" ]
2
2020-10-29T14:03:09.000Z
2021-01-01T07:53:16.000Z
# switch_start.py # Adding another switch statement # Authors : Seoyeon Hwang import string import random
30.8
165
0.548701
c37d3cf95d24a23185d3d7d87e99934db95b537d
5,494
py
Python
focal_mech/demo/test6.py
blasscoc/FocalMechClassifier
8d54d5a19cea447c030ada596369e47e7f39d483
[ "MIT" ]
12
2016-05-31T04:18:13.000Z
2021-10-09T06:45:43.000Z
focal_mech/demo/test6.py
blasscoc/FocalMechClassifier
8d54d5a19cea447c030ada596369e47e7f39d483
[ "MIT" ]
2
2019-08-09T20:30:26.000Z
2021-02-09T02:14:04.000Z
focal_mech/demo/test6.py
blasscoc/FocalMechClassifier
8d54d5a19cea447c030ada596369e47e7f39d483
[ "MIT" ]
7
2016-08-06T03:13:24.000Z
2021-09-26T14:39:41.000Z
from numpy import array, rad2deg, pi, mgrid, argmin from matplotlib.pylab import contour import matplotlib.pyplot as plt import mplstereonet from obspy.imaging.beachball import aux_plane from focal_mech.lib.classify_mechanism import classify, translate_to_sphharm from focal_mech.io.read_hash import read_demo, read_h...
26.669903
76
0.67874
c37d8d6e64bf2027aa73ad7627b83cab9c6c0c89
3,102
py
Python
gigantumcli/changelog.py
fossabot/gigantum-cli
d8054a8741484592ef1da750dd23affadc99fb5f
[ "MIT" ]
null
null
null
gigantumcli/changelog.py
fossabot/gigantum-cli
d8054a8741484592ef1da750dd23affadc99fb5f
[ "MIT" ]
null
null
null
gigantumcli/changelog.py
fossabot/gigantum-cli
d8054a8741484592ef1da750dd23affadc99fb5f
[ "MIT" ]
null
null
null
# Copyright (c) 2017 FlashX, LLC # # 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, merge, publish, distrib...
33.717391
94
0.627982
c37ed9ece51e833849523b39409da272c30bdafb
7,311
py
Python
main_old/understanding_smoothing_microsoft.py
benjaminleroy/smooth_rf
de166a7e777e8a203656b194d772def9d3c8f06d
[ "MIT" ]
3
2019-04-04T04:57:36.000Z
2022-01-14T09:42:05.000Z
main_old/understanding_smoothing_microsoft.py
benjaminleroy/smooth_rf
de166a7e777e8a203656b194d772def9d3c8f06d
[ "MIT" ]
1
2019-04-04T04:57:24.000Z
2019-05-29T18:03:31.000Z
main_old/understanding_smoothing_microsoft.py
benjaminleroy/smooth_rf
de166a7e777e8a203656b194d772def9d3c8f06d
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import matplotlib.pyplot as plt import sklearn.ensemble import sklearn.metrics import sklearn import progressbar import sklearn.model_selection from plotnine import * import pdb import sys sys.path.append("smooth_rf/") import smooth_base import smooth_level # function def aver...
34.004651
91
0.56285
c37ef55b28f73e2f2453409e73faf8e176864615
1,147
py
Python
AER/Experiments/Metrics.py
LeBenchmark/Interspeech2021
2a3b424389631b317b39973291b7252bbf44a73b
[ "MIT" ]
48
2021-03-25T14:00:04.000Z
2022-03-27T17:00:00.000Z
AER/Experiments/Metrics.py
LeBenchmark/Interspeech2021
2a3b424389631b317b39973291b7252bbf44a73b
[ "MIT" ]
2
2021-04-16T13:21:44.000Z
2021-06-16T15:23:09.000Z
AER/Experiments/Metrics.py
LeBenchmark/Interspeech2021
2a3b424389631b317b39973291b7252bbf44a73b
[ "MIT" ]
2
2021-07-05T13:42:23.000Z
2021-09-01T10:24:00.000Z
import numpy as np def CCC(y_true, y_pred): """ Calculate the CCC for two numpy arrays. """ x = y_true y = y_pred xMean = x.mean() yMean = y.mean() xyCov = (x * y).mean() - (xMean * yMean) # xyCov = ((x-xMean) * (y-yMean)).mean() xVar = x.var() yVar = y.var() return 2 * ...
23.408163
59
0.529207
c37f533b46624d83873bcd5b9e4314c8ccb4405c
11,734
py
Python
myo/device_listener.py
ehliang/myo-unlock
059e130a90e44df3869dd892e216c020d6d97a7e
[ "MIT" ]
1
2021-06-25T02:27:31.000Z
2021-06-25T02:27:31.000Z
myo/device_listener.py
ehliang/myo-unlock
059e130a90e44df3869dd892e216c020d6d97a7e
[ "MIT" ]
null
null
null
myo/device_listener.py
ehliang/myo-unlock
059e130a90e44df3869dd892e216c020d6d97a7e
[ "MIT" ]
null
null
null
# Copyright (c) 2015 Niklas Rosenstein # # 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, merge, publish, ...
32.325069
82
0.587183
c3806b9e128d8474be2a0c8c16ed645a6cd61414
333
py
Python
utilities/poisson.py
lukepinkel/pylmm
b9e896222f077b000f9a752be77cfc9e60b49f19
[ "MIT" ]
null
null
null
utilities/poisson.py
lukepinkel/pylmm
b9e896222f077b000f9a752be77cfc9e60b49f19
[ "MIT" ]
null
null
null
utilities/poisson.py
lukepinkel/pylmm
b9e896222f077b000f9a752be77cfc9e60b49f19
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 12 13:34:49 2020 @author: lukepinkel """ import numpy as np import scipy as sp import scipy.special
19.588235
65
0.618619
c382207d4a3aa645831dc8af78380466763f0458
581
py
Python
iotest.py
AaltoRSE/ImageNetTools
1ed8b8c38bd14eb47fc6167bf194f327a2696bf1
[ "BSD-3-Clause" ]
1
2021-11-15T11:21:55.000Z
2021-11-15T11:21:55.000Z
iotest.py
AaltoRSE/ImageNetTools
1ed8b8c38bd14eb47fc6167bf194f327a2696bf1
[ "BSD-3-Clause" ]
null
null
null
iotest.py
AaltoRSE/ImageNetTools
1ed8b8c38bd14eb47fc6167bf194f327a2696bf1
[ "BSD-3-Clause" ]
null
null
null
''' Created on Sep 29, 2021 @author: thomas ''' import ImageNetTools import sys import getopt main(sys.argv[1:])
22.346154
59
0.555938
c3825a98b9b5079c534d11d77f64da2d82f8a541
1,775
py
Python
sagas/tests/sinkers/test_results_render.py
samlet/stack
47db17fd4fdab264032f224dca31a4bb1d19b754
[ "Apache-2.0" ]
3
2020-01-11T13:55:38.000Z
2020-08-25T22:34:15.000Z
sagas/tests/sinkers/test_results_render.py
samlet/stack
47db17fd4fdab264032f224dca31a4bb1d19b754
[ "Apache-2.0" ]
null
null
null
sagas/tests/sinkers/test_results_render.py
samlet/stack
47db17fd4fdab264032f224dca31a4bb1d19b754
[ "Apache-2.0" ]
1
2021-01-01T05:21:44.000Z
2021-01-01T05:21:44.000Z
""" $ pytest -s -v test_results_render.py """ import logging import pytest from sagas.nlu.results_render import ResultsRender
36.979167
90
0.450704
c382afee49a8dcf277085e3abd2845bbc944eef7
5,838
py
Python
equatation.py
asteinig4018/mhacks19
64b5ba211f38f3b30927bf926073b777fb23a46f
[ "MIT" ]
1
2019-10-12T21:30:15.000Z
2019-10-12T21:30:15.000Z
equatation.py
asteinig4018/mhacks19
64b5ba211f38f3b30927bf926073b777fb23a46f
[ "MIT" ]
null
null
null
equatation.py
asteinig4018/mhacks19
64b5ba211f38f3b30927bf926073b777fb23a46f
[ "MIT" ]
null
null
null
import json import math from HistoricalTweetDataFetcher import getHistoricalData joelsarray = getHistoricalData(0) arrs = [] arrm = [] arrp = [] arrsTotal = 0 arrmTotal = 0 ncount = 0 ccount = 0 lcount = 0 time = joelsarray[0]["h"] for dictionary in joelsarray: arrs.append(dictionary["s"]) arrm...
39.714286
198
0.604488
5ed9ef5b5cccf956209757de81563a4bc4e12b59
43,492
py
Python
oscar/apps/offer/models.py
endgame/django-oscar
e5d78436e20b55902537a6cc82edf4e22568f9d6
[ "BSD-3-Clause" ]
null
null
null
oscar/apps/offer/models.py
endgame/django-oscar
e5d78436e20b55902537a6cc82edf4e22568f9d6
[ "BSD-3-Clause" ]
null
null
null
oscar/apps/offer/models.py
endgame/django-oscar
e5d78436e20b55902537a6cc82edf4e22568f9d6
[ "BSD-3-Clause" ]
1
2019-07-10T06:32:14.000Z
2019-07-10T06:32:14.000Z
from decimal import Decimal as D, ROUND_DOWN, ROUND_UP import math import datetime from django.core import exceptions from django.template.defaultfilters import slugify from django.db import models from django.utils.translation import ungettext, ugettext as _ from django.utils.importlib import import_module from djang...
38.150877
117
0.616849
5eda690b685cc647a25421c21d7eb3efc87731a9
3,288
py
Python
htk-lite/commandlist/help.py
otherbeast/hackers-tool-kit
12991889db1f6843dde82e7da4b4cdfb50740da5
[ "Apache-2.0" ]
393
2019-01-21T05:52:54.000Z
2022-03-29T06:07:04.000Z
htk-lite/commandlist/help.py
urantialife/hackers-tool-kit
34dbabf3e94825684fd1a684f522d3dc3565eb2d
[ "Apache-2.0" ]
19
2019-02-22T00:49:28.000Z
2021-12-30T20:28:59.000Z
htk-lite/commandlist/help.py
urantialife/hackers-tool-kit
34dbabf3e94825684fd1a684f522d3dc3565eb2d
[ "Apache-2.0" ]
138
2019-03-15T23:22:19.000Z
2022-03-20T17:19:09.000Z
#!/usr/local/bin/python # coding: latin-1 #if you use this code give me credit @tuf_unkn0wn #i do not give you permission to show / edit this script without my credit #to ask questions or report a problem message me on instagram @tuf_unkn0wn """ ...
46.971429
102
0.253041
5edd1d618589e67fdc13ac60dffe9edc5736896c
2,980
py
Python
scripts/core/soldier.py
whackashoe/entwinement
4acff2147b86e08e267fc50c327917a338c7bf36
[ "Unlicense" ]
1
2020-03-10T10:52:13.000Z
2020-03-10T10:52:13.000Z
scripts/core/soldier.py
whackashoe/entwinement
4acff2147b86e08e267fc50c327917a338c7bf36
[ "Unlicense" ]
null
null
null
scripts/core/soldier.py
whackashoe/entwinement
4acff2147b86e08e267fc50c327917a338c7bf36
[ "Unlicense" ]
null
null
null
d_soldiers = []
18.742138
74
0.617785
5eddcc0044e85262897bbd20777730764bb0e4ac
785
py
Python
dzTraficoBackend/dzTrafico/BusinessLayer/Statistics/DataVisualizationController.py
DZAymen/dz-Trafico
74ff9caf9e3845d8af977c46b04a2d3421a0661b
[ "MIT" ]
null
null
null
dzTraficoBackend/dzTrafico/BusinessLayer/Statistics/DataVisualizationController.py
DZAymen/dz-Trafico
74ff9caf9e3845d8af977c46b04a2d3421a0661b
[ "MIT" ]
null
null
null
dzTraficoBackend/dzTrafico/BusinessLayer/Statistics/DataVisualizationController.py
DZAymen/dz-Trafico
74ff9caf9e3845d8af977c46b04a2d3421a0661b
[ "MIT" ]
null
null
null
from dzTrafico.BusinessEntities.Simulation import Simulation import lxml.etree as etree
23.787879
67
0.680255
5edde40f3283ddaa109a18bcb421a16c3e99b304
7,343
py
Python
bunkai/algorithm/lbd/custom_tokenizers.py
megagonlabs/bunkai
28ea1c891f6ee8f96269f41a0642cd6194dd04e9
[ "Apache-2.0" ]
149
2021-04-21T06:25:21.000Z
2022-03-29T08:57:49.000Z
bunkai/algorithm/lbd/custom_tokenizers.py
megagonlabs/bunkai
28ea1c891f6ee8f96269f41a0642cd6194dd04e9
[ "Apache-2.0" ]
41
2021-05-11T00:46:16.000Z
2022-03-22T05:17:47.000Z
bunkai/algorithm/lbd/custom_tokenizers.py
megagonlabs/bunkai
28ea1c891f6ee8f96269f41a0642cd6194dd04e9
[ "Apache-2.0" ]
5
2021-04-21T10:54:46.000Z
2022-02-25T17:41:21.000Z
#!/usr/bin/env python3 import collections import logging import os import typing import unicodedata from janome.tokenizer import Tokenizer from transformers.file_utils import cached_path from transformers.models.bert.tokenization_bert import BertTokenizer, WordpieceTokenizer, load_vocab import bunkai.constant """ T...
36.715
116
0.626719
5edecbbe347219a2740ccd3534f648ace677fd24
10,232
py
Python
tests/exchanges_tests.py
tomwalton78/Crypto-Exchange-API-Aggregator
c5b1756eac46274cdbe5c4e49db62450a35b70a6
[ "MIT" ]
null
null
null
tests/exchanges_tests.py
tomwalton78/Crypto-Exchange-API-Aggregator
c5b1756eac46274cdbe5c4e49db62450a35b70a6
[ "MIT" ]
null
null
null
tests/exchanges_tests.py
tomwalton78/Crypto-Exchange-API-Aggregator
c5b1756eac46274cdbe5c4e49db62450a35b70a6
[ "MIT" ]
1
2019-11-16T07:31:00.000Z
2019-11-16T07:31:00.000Z
import unittest from datetime import datetime import os import sys from api.exchanges.exchange import ExchangeAPICallFailedException from api.exchanges.gdax_exchange import GdaxExchange from api.exchanges.kraken_exchange import KrakenExchange from api.exchanges.bitstamp_exchange import BitstampExchange from api.exchan...
30.094118
79
0.583268
5edf354d82c1df0367e44041106c0bf97648bea1
1,342
py
Python
stats/clustering.py
KNSI-Golem/assets-generation
e366b96e0f2bba16c90816e2690b3b89fd50e514
[ "MIT" ]
null
null
null
stats/clustering.py
KNSI-Golem/assets-generation
e366b96e0f2bba16c90816e2690b3b89fd50e514
[ "MIT" ]
33
2019-12-02T18:56:18.000Z
2022-02-10T01:18:01.000Z
stats/clustering.py
KNSI-Golem/assets-generation
e366b96e0f2bba16c90816e2690b3b89fd50e514
[ "MIT" ]
2
2020-09-11T13:11:59.000Z
2021-02-16T17:08:33.000Z
from sklearn.cluster import KMeans import image_processing import numpy as np import some_analysis from sklearn.manifold import TSNE import matplotlib.pyplot as plt from autoencoder import ConvAutoencoder input_path = './bin' output_shape = (32, 48) processing_output = './processed/results_processing' data = image_pro...
28.553191
83
0.69076
5edf63e904c948abd2995cb1fd09ff2f09a7f87a
572
py
Python
CursoEmVideo/Aula22/ex109/ex109.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
CursoEmVideo/Aula22/ex109/ex109.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
CursoEmVideo/Aula22/ex109/ex109.py
lucashsouza/Desafios-Python
abb5b11ebdfd4c232b4f0427ef41fd96013f2802
[ "MIT" ]
null
null
null
""" Modifique as funes que foram criadas no desafio 107 para que elas aceitem um parametro a mais, informando se o valor retornado por elas vai ser ou no formatado pela funo moeda(), desenvolvida no desafio 108. """ from Aula22.ex109 import moeda from Aula22.ex109.titulo import titulo preco = float(input("Preo: R$")...
28.6
59
0.737762
5ee0230190b385a1bf8afa9cd7f0b235b7db13a2
4,787
py
Python
mocu/graphical_model/mocu/scripts/visualizetoysystem.py
exalearn/oded
e706c48d60360b041b9f1cfc64fa208d01fbb65a
[ "MIT" ]
null
null
null
mocu/graphical_model/mocu/scripts/visualizetoysystem.py
exalearn/oded
e706c48d60360b041b9f1cfc64fa208d01fbb65a
[ "MIT" ]
null
null
null
mocu/graphical_model/mocu/scripts/visualizetoysystem.py
exalearn/oded
e706c48d60360b041b9f1cfc64fa208d01fbb65a
[ "MIT" ]
null
null
null
from mocu.utils.toysystems import * import matplotlib.pyplot as plt import matplotlib.cm as cm if __name__ == '__main__': main()
29.012121
113
0.524546
5ee24f1707c0b95700a49b8f88fefee14ccd1a6c
9,053
py
Python
sbm/stochastic_block_model.py
pmacg/pysbm
e2f6ceeb4fff903b53a4d3c05694411026a084c3
[ "MIT" ]
1
2021-09-17T12:37:34.000Z
2021-09-17T12:37:34.000Z
sbm/stochastic_block_model.py
pmacg/pysbm
e2f6ceeb4fff903b53a4d3c05694411026a084c3
[ "MIT" ]
null
null
null
sbm/stochastic_block_model.py
pmacg/pysbm
e2f6ceeb4fff903b53a4d3c05694411026a084c3
[ "MIT" ]
null
null
null
""" Several methods for generating graphs from the stochastic block model. """ import itertools import math import random import scipy.sparse import numpy as np def _get_num_pos_edges(c1_size, c2_size, same_cluster, self_loops, directed): """ Compute the number of possible edges between two clusters. :pa...
44.377451
120
0.68353
5ee2508b1563859bc37a102d678ee13eb3c4fb40
3,496
py
Python
py_include/__init__.py
mauro-balades/py-include
d2d3b90fc840a550a49d76798bc8a97b076480d8
[ "MIT" ]
2
2022-01-30T13:23:22.000Z
2022-01-31T10:23:46.000Z
py_include/__init__.py
mauro-balades/py-include
d2d3b90fc840a550a49d76798bc8a97b076480d8
[ "MIT" ]
null
null
null
py_include/__init__.py
mauro-balades/py-include
d2d3b90fc840a550a49d76798bc8a97b076480d8
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """ | --------------------- Py include <Mauro Balads> --------------------- | ___ _ _ _ __ _ _ ___ ____ | | |_) \ \_/ | | | |\ | / /` | | | | | | | \ | |_ | |_| |_| |_| |_| \| \_\_, |_|__ \_\_/ |_|_/ |_|__ | ------------------------------------------...
33.295238
80
0.65246
5ee3400a48d58dbe03ad61379d1f85e22cd4df99
7,201
py
Python
src/scripts/load_data.py
murphycj/agfusionweb-react
9305aa3caa653fa74608d1ae3dd59c03a3df6294
[ "MIT" ]
1
2019-12-11T22:22:02.000Z
2019-12-11T22:22:02.000Z
src/scripts/load_data.py
murphycj/agfusionweb-react
9305aa3caa653fa74608d1ae3dd59c03a3df6294
[ "MIT" ]
15
2020-03-25T02:21:18.000Z
2022-03-27T20:05:01.000Z
src/scripts/load_data.py
murphycj/agfusionweb-react
9305aa3caa653fa74608d1ae3dd59c03a3df6294
[ "MIT" ]
null
null
null
import pyensembl import sys import sqlite3 import boto3 import pickle dynamodb = boto3.resource('dynamodb') table_agfusion_gene_synonyms = dynamodb.Table('agfusion_gene_synonyms') table_agfusion_genes = dynamodb.Table('agfusion_genes') table_agfusion_sequences = dynamodb.Table('agfusion_sequences') # process_data(...
34.956311
150
0.550618
5ee4affc10253568c59d31e6e7ecff29108ae1b0
10,118
py
Python
google-cloud-sdk/lib/third_party/cloud_ml_engine_sdk/dataflow/io/multifiles_source.py
bopopescu/searchparty
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
[ "Apache-2.0" ]
null
null
null
google-cloud-sdk/lib/third_party/cloud_ml_engine_sdk/dataflow/io/multifiles_source.py
bopopescu/searchparty
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
[ "Apache-2.0" ]
null
null
null
google-cloud-sdk/lib/third_party/cloud_ml_engine_sdk/dataflow/io/multifiles_source.py
bopopescu/searchparty
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
[ "Apache-2.0" ]
3
2017-07-27T18:44:13.000Z
2020-07-25T17:48:53.000Z
# Copyright 2017 Google Inc. All Rights Reserved. # # 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 Lice...
37.062271
80
0.720202
5ee51c2ffdafe95ae165b98a996207a8a39f4653
10,830
py
Python
eureka/S5_lightcurve_fitting/s5_fit.py
evamariaa/Eureka
a3e739a528fbe85ec588bca996188765649b7778
[ "MIT" ]
15
2020-08-07T12:12:17.000Z
2022-03-29T10:20:38.000Z
eureka/S5_lightcurve_fitting/s5_fit.py
evamariaa/Eureka
a3e739a528fbe85ec588bca996188765649b7778
[ "MIT" ]
159
2020-08-05T14:34:59.000Z
2022-03-31T21:02:10.000Z
eureka/S5_lightcurve_fitting/s5_fit.py
evamariaa/Eureka
a3e739a528fbe85ec588bca996188765649b7778
[ "MIT" ]
17
2021-06-16T09:40:41.000Z
2022-03-22T18:28:07.000Z
import numpy as np import matplotlib.pyplot as plt import glob, os, time from ..lib import manageevent as me from ..lib import readECF as rd from ..lib import sort_nicely as sn from ..lib import util, logedit from . import parameters as p from . import lightcurve as lc from . import models as m from .utils import get_t...
44.204082
158
0.568421
5ee68ea9e8a99cf09e7e6d0ca6ce334ef983ef7f
4,724
py
Python
model_compression_toolkit/common/graph/graph_matchers.py
eladc-git/model_optimization
46d1c893ca23e61d8ef7597184ad2ba6e2ae6e7a
[ "Apache-2.0" ]
null
null
null
model_compression_toolkit/common/graph/graph_matchers.py
eladc-git/model_optimization
46d1c893ca23e61d8ef7597184ad2ba6e2ae6e7a
[ "Apache-2.0" ]
null
null
null
model_compression_toolkit/common/graph/graph_matchers.py
eladc-git/model_optimization
46d1c893ca23e61d8ef7597184ad2ba6e2ae6e7a
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Sony Semiconductors Israel, 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 b...
31.704698
108
0.650296
5ee6b363eabe25c724e148a500f83b42a84aa031
3,022
py
Python
initialize_app_db.py
daniel-julio-iglesias/microblog
360198198336f0dda7d20aafeb337f59cb4a2329
[ "MIT" ]
null
null
null
initialize_app_db.py
daniel-julio-iglesias/microblog
360198198336f0dda7d20aafeb337f59cb4a2329
[ "MIT" ]
null
null
null
initialize_app_db.py
daniel-julio-iglesias/microblog
360198198336f0dda7d20aafeb337f59cb4a2329
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ The next steps use just in case to recreate the already existing DB Backup and Delete the folder "migrations" Backup and Delete the file "app.db" Execute the next console commands Linux (venv) $ export FLASK_APP=microblog.py MS Windows (venv) $ set FLASK_APP=microblo...
26.982143
67
0.648246
5ee6e99348be1e75186fd4d95f9769f455fc8a1a
4,328
py
Python
gpytorch/kernels/rbf_kernel.py
techshot25/gpytorch
b4aee6f81a3428172d4914e7e0fef0e71cd1f519
[ "MIT" ]
1
2019-11-08T11:25:56.000Z
2019-11-08T11:25:56.000Z
gpytorch/kernels/rbf_kernel.py
VonRosenchild/gpytorch
092d523027a844939ba85d7ea8c8c7b7511843d5
[ "MIT" ]
null
null
null
gpytorch/kernels/rbf_kernel.py
VonRosenchild/gpytorch
092d523027a844939ba85d7ea8c8c7b7511843d5
[ "MIT" ]
1
2021-07-02T19:40:07.000Z
2021-07-02T19:40:07.000Z
#!/usr/bin/env python3 from .kernel import Kernel from ..functions import RBFCovariance
47.56044
115
0.575092
5ee75d983cd35cd4e28ec87b90865e27b89bfd3b
5,132
py
Python
src/dependenpy/finder.py
gitter-badger/dependenpy
db411b7bbd466b79064cbb419049f17cd3bff4c1
[ "ISC" ]
10
2020-01-08T10:42:32.000Z
2021-07-08T01:58:08.000Z
src/dependenpy/finder.py
gitter-badger/dependenpy
db411b7bbd466b79064cbb419049f17cd3bff4c1
[ "ISC" ]
2
2020-10-07T09:48:54.000Z
2020-11-03T23:37:13.000Z
src/dependenpy/finder.py
gitter-badger/dependenpy
db411b7bbd466b79064cbb419049f17cd3bff4c1
[ "ISC" ]
1
2019-12-10T18:32:05.000Z
2019-12-10T18:32:05.000Z
# -*- coding: utf-8 -*- """dependenpy finder module.""" from importlib.util import find_spec from os.path import basename, exists, isdir, isfile, join, splitext
28.353591
79
0.563718
5ee8d965db0dc6afc3a0712b8a012c62228c1b2d
1,738
py
Python
pearsonr/beta.py
rkhullar/pearsonr-pure-python
955fbca6af0a234cf5132d5f83d36a2c411fec7a
[ "MIT" ]
null
null
null
pearsonr/beta.py
rkhullar/pearsonr-pure-python
955fbca6af0a234cf5132d5f83d36a2c411fec7a
[ "MIT" ]
null
null
null
pearsonr/beta.py
rkhullar/pearsonr-pure-python
955fbca6af0a234cf5132d5f83d36a2c411fec7a
[ "MIT" ]
null
null
null
import math
34.76
108
0.533947
5eeb434867ca1d9eaca8effbf5839d14aaa33835
33,018
py
Python
hisim/components/generic_pv_system.py
FZJ-IEK3-VSA/HiSim
e9b3a69c6db331523b9ed5ac7aa6f57f9b4798b2
[ "MIT" ]
12
2021-10-05T11:38:24.000Z
2022-03-25T09:56:08.000Z
hisim/components/generic_pv_system.py
FZJ-IEK3-VSA/HiSim
e9b3a69c6db331523b9ed5ac7aa6f57f9b4798b2
[ "MIT" ]
6
2021-10-06T13:27:55.000Z
2022-03-10T12:55:15.000Z
hisim/components/generic_pv_system.py
FZJ-IEK3-VSA/HiSim
e9b3a69c6db331523b9ed5ac7aa6f57f9b4798b2
[ "MIT" ]
4
2022-02-21T19:00:50.000Z
2022-03-22T11:01:38.000Z
# Generic/Built-in import datetime import math import os import numpy as np import matplotlib.pyplot as plt import pandas as pd import pvlib from dataclasses_json import dataclass_json from typing import Optional from dataclasses import dataclass from functools import lru_cache from hisim.simulationparameters import S...
45.168263
183
0.594009
5eeb79ff59fe8c898948a4d629f95025dddf840d
1,843
py
Python
gQuant/plugins/hrp_plugin/greenflow_hrp_plugin/__init__.py
t-triobox/gQuant
6ee3ba104ce4c6f17a5755e7782298902d125563
[ "Apache-2.0" ]
null
null
null
gQuant/plugins/hrp_plugin/greenflow_hrp_plugin/__init__.py
t-triobox/gQuant
6ee3ba104ce4c6f17a5755e7782298902d125563
[ "Apache-2.0" ]
null
null
null
gQuant/plugins/hrp_plugin/greenflow_hrp_plugin/__init__.py
t-triobox/gQuant
6ee3ba104ce4c6f17a5755e7782298902d125563
[ "Apache-2.0" ]
null
null
null
""" //////////////////////////////////////////////////////////////////////////// // // Copyright (C) NVIDIA Corporation. All rights reserved. // // NVIDIA Sample Code // // Please refer to the NVIDIA end user license agreement (EULA) associated // with this source code for terms and conditions that govern your...
42.860465
78
0.72382
5eecada079f1111eeed67c73ca6a1720da167194
1,541
py
Python
pythran/tests/rosetta/greatest_subsequential_sum.py
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,647
2015-01-13T01:45:38.000Z
2022-03-28T01:23:41.000Z
pythran/tests/rosetta/greatest_subsequential_sum.py
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,116
2015-01-01T09:52:05.000Z
2022-03-18T21:06:40.000Z
pythran/tests/rosetta/greatest_subsequential_sum.py
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
180
2015-02-12T02:47:28.000Z
2022-03-14T10:28:18.000Z
#from http://rosettacode.org/wiki/Greatest_subsequential_sum#Python #pythran export maxsum(int list) #pythran export maxsumseq(int list) #pythran export maxsumit(int list) #runas maxsum([0, 1, 0]) #runas maxsumseq([-1, 2, -1, 3, -1]) #runas maxsumit([-1, 1, 2, -5, -6]) def maxsum(sequence): """Return maximum sum."...
31.44898
96
0.580792
5eed202c73e618fc929047ee896a35003f968654
28,280
py
Python
src/binwalk/__init__.py
dotysan/binwalk
d3b5d73538557f2a290996dcea84352fcfb6d1a1
[ "MIT" ]
1
2020-03-04T15:14:40.000Z
2020-03-04T15:14:40.000Z
src/binwalk/__init__.py
dotysan/binwalk
d3b5d73538557f2a290996dcea84352fcfb6d1a1
[ "MIT" ]
null
null
null
src/binwalk/__init__.py
dotysan/binwalk
d3b5d73538557f2a290996dcea84352fcfb6d1a1
[ "MIT" ]
null
null
null
__all__ = ["Binwalk"] import os import re import time import magic from binwalk.compat import * from binwalk.config import * from binwalk.update import * from binwalk.filter import * from binwalk.parser import * from binwalk.plugins import * from binwalk.plotter import * from binwalk.hexdiff import * from binwalk.entr...
37.858099
232
0.701627
5eed38c8799a8f20aa9075adc117edac9f20f714
149
py
Python
dodo.py
Ublimjo/nwt
08b04c376a3792fd4663de2f229617ddabc3d032
[ "MIT" ]
1
2018-08-24T09:01:09.000Z
2018-08-24T09:01:09.000Z
dodo.py
Ublimjo/nwt
08b04c376a3792fd4663de2f229617ddabc3d032
[ "MIT" ]
null
null
null
dodo.py
Ublimjo/nwt
08b04c376a3792fd4663de2f229617ddabc3d032
[ "MIT" ]
null
null
null
def task_clean_junk(): """Remove junk file""" return { 'actions': ['rm -rdf $(find . | grep pycache)'], 'clean': True, }
21.285714
56
0.496644
5eeebe655d0529cd4e57b3684dd0b12853503ba1
442
py
Python
greedy_algorithms/6_maximum_salary/largest_number.py
Desaiakshata/Algorithms-problems
90f4e40ba05e4bdfc783614bb70b9156b05eec0b
[ "MIT" ]
null
null
null
greedy_algorithms/6_maximum_salary/largest_number.py
Desaiakshata/Algorithms-problems
90f4e40ba05e4bdfc783614bb70b9156b05eec0b
[ "MIT" ]
null
null
null
greedy_algorithms/6_maximum_salary/largest_number.py
Desaiakshata/Algorithms-problems
90f4e40ba05e4bdfc783614bb70b9156b05eec0b
[ "MIT" ]
null
null
null
#Uses python3 import sys if __name__ == '__main__': #input = sys.stdin.read() data = input().split(' ') a = data[1:] print(largest_number(a))
19.217391
59
0.506787
5eefaff8065c5ecea5f5a36834a9168d04d5bd4e
2,403
py
Python
screenblankmgr.py
nsw42/pijuui
fee9b96ceaab6b4f5db7ea41cb86da9a1a3b9eac
[ "BSD-2-Clause" ]
1
2021-12-20T15:02:54.000Z
2021-12-20T15:02:54.000Z
screenblankmgr.py
nsw42/pijuui
fee9b96ceaab6b4f5db7ea41cb86da9a1a3b9eac
[ "BSD-2-Clause" ]
null
null
null
screenblankmgr.py
nsw42/pijuui
fee9b96ceaab6b4f5db7ea41cb86da9a1a3b9eac
[ "BSD-2-Clause" ]
null
null
null
import logging import subprocess profiles = { 'none': ScreenBlankProfileNone(), 'balanced': ScreenBlankProfileBalanced(), 'onoff': ScreenBlankProfileOnWhenPlaying() }
22.669811
94
0.615481