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
7738b7fae9ef9456645f45d2e182dbc304825ba1
1,573
py
Python
src/hydro/conf/settings_base.py
aolarchive/Hydro
8580aebc30694156c436e5ba7470d3fcbb46896b
[ "MIT" ]
42
2015-03-04T09:05:00.000Z
2018-12-01T15:13:48.000Z
src/hydro/conf/settings_base.py
aolarchive/Hydro
8580aebc30694156c436e5ba7470d3fcbb46896b
[ "MIT" ]
5
2015-05-11T08:18:12.000Z
2016-03-22T19:11:01.000Z
src/hydro/conf/settings_base.py
Convertro/Hydro
8580aebc30694156c436e5ba7470d3fcbb46896b
[ "MIT" ]
4
2015-03-05T09:07:27.000Z
2018-12-01T15:13:49.000Z
# Hydro settings TIME_ZONE = 'UTC' LANGUAGE_CODE = 'en-us' APPLICATION_NAME = 'HYDRO' SECRET_KEY = '8lu*6g0lg)9w!ba+a$edk)xx)x%rxgb$i1&022shmi1jcgihb*' # SESSION_TIMEOUT is used in validate_session_active decorator to see if the # session is active. SECOND = 1 MINUTE = SECOND * 60 SECONDS_IN_DAY = SECOND*86400 ...
26.661017
113
0.591863
7738eed30266f468e9290a38da24497ebf1d541d
357
py
Python
project/Fast/django/decorators/auth.py
fael07/DRF-Project
f65b4177e56e7209d2369ba9d6d81bfe00321052
[ "MIT" ]
null
null
null
project/Fast/django/decorators/auth.py
fael07/DRF-Project
f65b4177e56e7209d2369ba9d6d81bfe00321052
[ "MIT" ]
null
null
null
project/Fast/django/decorators/auth.py
fael07/DRF-Project
f65b4177e56e7209d2369ba9d6d81bfe00321052
[ "MIT" ]
null
null
null
from ...forms.checks import check_is_logged from django.shortcuts import redirect
23.8
47
0.661064
773934d535052c5583666741f88c9dfe16421a75
12,000
py
Python
gp_models.py
deepmind/active_ops
5c7b24515adadbaf89feb84232190bad96221c04
[ "Apache-2.0" ]
13
2021-12-03T19:24:11.000Z
2022-03-17T11:14:11.000Z
gp_models.py
deepmind/active_ops
5c7b24515adadbaf89feb84232190bad96221c04
[ "Apache-2.0" ]
1
2022-01-19T06:48:02.000Z
2022-01-19T06:48:02.000Z
gp_models.py
deepmind/active_ops
5c7b24515adadbaf89feb84232190bad96221c04
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 DeepMind Technologies 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 # https://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed t...
37.974684
80
0.66375
7739a64f5308987b56c062ce417f754ae7cdc0bb
13,476
py
Python
hpvm/projects/torch2hpvm/torch2hpvm/graph_builder.py
vzyrianov/hpvm-autograd
521cc3b684531548aea75f9fe3cc673aaa4a2e90
[ "Apache-2.0" ]
null
null
null
hpvm/projects/torch2hpvm/torch2hpvm/graph_builder.py
vzyrianov/hpvm-autograd
521cc3b684531548aea75f9fe3cc673aaa4a2e90
[ "Apache-2.0" ]
null
null
null
hpvm/projects/torch2hpvm/torch2hpvm/graph_builder.py
vzyrianov/hpvm-autograd
521cc3b684531548aea75f9fe3cc673aaa4a2e90
[ "Apache-2.0" ]
null
null
null
from collections import defaultdict from pathlib import Path from typing import Dict, Iterable, List, Optional, Tuple, Union import networkx as nx import onnx from . import graph_ir as g from .onnx_attr import get_node_shape, node_attr_to_dict, node_to_shape PathLike = Union[str, Path] GraphT = onnx.GraphProto NodeT...
39.519062
96
0.632755
773a004602d8821b5d2db1868127d6d37b7dd480
4,435
py
Python
analysis/plotting/multi_sites.py
jm9e/FL_Pipeline
d9a8c3d3511817418d908b7a94ccd049c60b7b5d
[ "Apache-2.0" ]
null
null
null
analysis/plotting/multi_sites.py
jm9e/FL_Pipeline
d9a8c3d3511817418d908b7a94ccd049c60b7b5d
[ "Apache-2.0" ]
null
null
null
analysis/plotting/multi_sites.py
jm9e/FL_Pipeline
d9a8c3d3511817418d908b7a94ccd049c60b7b5d
[ "Apache-2.0" ]
null
null
null
import csv import json import matplotlib.pyplot as plt import numpy as np if __name__ == '__main__': formats = ['png', 'pdf', 'svg', 'eps'] metrics = [ {'gmetric': 'groc', 'lmetric': 'lroc', 'metric': 'AUC'}, {'gmetric': 'gauc', 'lmetric': 'lauc', 'metric': 'PRAUC'}, ] datasets = [ ...
38.903509
118
0.521308
773a2176b2ba4a1a9a4e1bd585d65e2d15549d01
226
py
Python
HackerRank/CtCI/array_left_rotation.py
mahasak/Practice
7ed125087b977b034161157830b8e415d52b6ed7
[ "Unlicense" ]
null
null
null
HackerRank/CtCI/array_left_rotation.py
mahasak/Practice
7ed125087b977b034161157830b8e415d52b6ed7
[ "Unlicense" ]
null
null
null
HackerRank/CtCI/array_left_rotation.py
mahasak/Practice
7ed125087b977b034161157830b8e415d52b6ed7
[ "Unlicense" ]
null
null
null
n, k = map(int, raw_input().strip().split(' ')) a = map(int, raw_input().strip().split(' ')) answer = array_left_rotation(a, n, k); print ' '.join(map(str,answer))
25.111111
47
0.610619
773a351110e170920b1633be885fbe44c1c4b850
4,127
py
Python
examples/sudoku/sudoku_cores.py
SRI-CSL/yices2_python_bindings
ff48993b6f620605afce12741f9afede94238627
[ "MIT" ]
8
2018-09-19T00:42:45.000Z
2022-03-25T12:22:01.000Z
examples/sudoku/sudoku_cores.py
SRI-CSL/yices2_python_bindings
ff48993b6f620605afce12741f9afede94238627
[ "MIT" ]
4
2020-06-05T21:44:14.000Z
2021-12-06T17:24:31.000Z
examples/sudoku/sudoku_cores.py
SRI-CSL/yices2_python_bindings
ff48993b6f620605afce12741f9afede94238627
[ "MIT" ]
3
2020-07-10T18:15:01.000Z
2020-12-16T09:50:02.000Z
#!/usr/bin/env python """Using unsat cores to give hints.""" from SudokuLib import Puzzle from Solver import Solver from yices.Yices import Yices from yices.Census import Census puzzle_blank = [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0], # [ 0, 0...
24.565476
119
0.414587
773b69ca25c1ef12c8384954c0ed9f9b031bb82b
2,715
py
Python
www/python/src/app.py
Destokado/funpedia
d864ac15c5ed9983d9a1373fad364d2f0ffc66fc
[ "MIT" ]
null
null
null
www/python/src/app.py
Destokado/funpedia
d864ac15c5ed9983d9a1373fad364d2f0ffc66fc
[ "MIT" ]
null
null
null
www/python/src/app.py
Destokado/funpedia
d864ac15c5ed9983d9a1373fad364d2f0ffc66fc
[ "MIT" ]
null
null
null
import os import flask import mwoauth import yaml from flask import request, Response app = flask.Flask(__name__) # Load configuration from YAML file __dir__ = os.path.dirname(__file__) app.config.update( yaml.safe_load(open(os.path.join(__dir__, 'config.yaml')))) if __name__ == '__main__': app.run_server(...
27.989691
74
0.673665
77401bdbe34d3710ff102d672087cc5c7146f27e
1,817
py
Python
filter_plugins/general.py
stackhpc/ansible-role-luks
8c4b5f472ab0aef3d2a776d4fcd37ca17c6eac05
[ "Apache-1.1" ]
3
2020-04-14T19:57:25.000Z
2021-01-11T09:09:16.000Z
filter_plugins/general.py
stackhpc/ansible-role-luks
8c4b5f472ab0aef3d2a776d4fcd37ca17c6eac05
[ "Apache-1.1" ]
4
2020-08-12T10:24:25.000Z
2022-01-17T17:48:28.000Z
filter_plugins/general.py
stackhpc/ansible-role-luks
8c4b5f472ab0aef3d2a776d4fcd37ca17c6eac05
[ "Apache-1.1" ]
2
2021-06-17T21:57:42.000Z
2022-02-20T08:02:43.000Z
# Copyright (c) 2020 StackHPC Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
28.84127
79
0.690149
77415032b1eca6d95f7e905db147fe61fa6860f9
3,864
py
Python
aws-dev/awsdev8/flaskstart.py
PacktPublishing/-AWS-Certified-Developer---Associate-Certification
3f76e3d3df6797705b5b30ae574fe678250d5e92
[ "MIT" ]
13
2020-02-02T13:53:50.000Z
2022-03-20T19:50:02.000Z
aws-dev/awsdev8/flaskstart.py
PacktPublishing/-AWS-Certified-Developer---Associate-Certification
3f76e3d3df6797705b5b30ae574fe678250d5e92
[ "MIT" ]
2
2020-03-29T19:08:04.000Z
2021-06-02T00:57:44.000Z
aws-dev/awsdev8/flaskstart.py
PacktPublishing/-AWS-Certified-Developer---Associate-Certification
3f76e3d3df6797705b5b30ae574fe678250d5e92
[ "MIT" ]
10
2019-12-25T20:42:37.000Z
2021-11-17T15:19:00.000Z
#!/usr/bin/env python from flask import Flask, request,Response import logging import os import json import cognitoHelper as cog #logging config logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s',level=logging.INFO,datefmt='%Y-%m-%d %H:%M:%S') logger = logging.getLogger(__name__) #globals MODULE = "...
32.2
116
0.607143
77438c9d6cdc3cb8fd8940ebf432371649706560
4,204
py
Python
hallo/function.py
joshcoales/Hallo
17145d8f76552ecd4cbc5caef8924bd2cf0cbf24
[ "MIT" ]
1
2018-05-19T22:27:20.000Z
2018-05-19T22:27:20.000Z
hallo/function.py
joshcoales/Hallo
17145d8f76552ecd4cbc5caef8924bd2cf0cbf24
[ "MIT" ]
75
2015-09-26T18:07:18.000Z
2022-01-04T07:15:11.000Z
hallo/function.py
SpangleLabs/Hallo
17145d8f76552ecd4cbc5caef8924bd2cf0cbf24
[ "MIT" ]
1
2021-04-10T12:02:47.000Z
2021-04-10T12:02:47.000Z
from abc import ABC, abstractmethod from typing import Set, Type, Optional from hallo.events import ( EventSecond, EventMinute, EventHour, EventDay, EventPing, EventMessage, EventJoin, EventLeave, EventQuit, EventNameChange, EventKick, EventInvite, EventNotice, E...
36.556522
119
0.670076
774895ccb2d658440364d2b85b233c22dd7dda42
4,332
py
Python
mbl-core/tests/devices/open-ports-checker/mbl/open_ports_checker/open_ports_checker.py
edmund-troche/mbl-core
70fd55691301792169fb1feafc2a5e4ba107ee97
[ "Apache-2.0", "BSD-3-Clause" ]
5
2019-08-25T06:18:25.000Z
2020-03-20T14:40:18.000Z
mbl-core/tests/devices/open-ports-checker/mbl/open_ports_checker/open_ports_checker.py
edmund-troche/mbl-core
70fd55691301792169fb1feafc2a5e4ba107ee97
[ "Apache-2.0", "BSD-3-Clause" ]
39
2019-06-03T14:31:20.000Z
2020-01-13T09:00:04.000Z
mbl-core/tests/devices/open-ports-checker/mbl/open_ports_checker/open_ports_checker.py
edmund-troche/mbl-core
70fd55691301792169fb1feafc2a5e4ba107ee97
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-11-29T06:12:35.000Z
2020-06-17T13:56:39.000Z
#!/usr/bin/env python3 # Copyright (c) 2019 Arm Limited and Contributors. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause """This script checks for checker for unwanted TCP/UDP open ports.""" import os import json import logging from enum import Enum import mbl.open_ports_checker.connection as connect...
33.84375
78
0.629732
77499e42f9ca78c74d1e6fe87f05359b0f2d3da1
1,036
py
Python
eval_odom.py
nikola3794/kitti-odom-eval
c808874dc18db3b60b8c711e55546f09af553659
[ "MIT" ]
110
2019-10-21T02:41:57.000Z
2022-03-30T20:51:37.000Z
eval_odom.py
nikola3794/kitti-odom-eval
c808874dc18db3b60b8c711e55546f09af553659
[ "MIT" ]
10
2020-01-02T09:42:45.000Z
2021-11-19T11:53:05.000Z
eval_odom.py
nikola3794/kitti-odom-eval
c808874dc18db3b60b8c711e55546f09af553659
[ "MIT" ]
22
2019-11-18T07:40:18.000Z
2022-02-20T12:31:29.000Z
# Copyright (C) Huangying Zhan 2019. All rights reserved. import argparse from kitti_odometry import KittiEvalOdom parser = argparse.ArgumentParser(description='KITTI evaluation') parser.add_argument('--result', type=str, required=True, help="Result directory") parser.add_argument('--align', type...
29.6
72
0.59556
7749a97981a9d33396783bf41834fff772524e60
9,115
py
Python
flappy_bird.py
wandreuscv/IA_learn_flappy_bird
46491f6336aba04af241b78edfd288f59d4b0aec
[ "MIT" ]
null
null
null
flappy_bird.py
wandreuscv/IA_learn_flappy_bird
46491f6336aba04af241b78edfd288f59d4b0aec
[ "MIT" ]
null
null
null
flappy_bird.py
wandreuscv/IA_learn_flappy_bird
46491f6336aba04af241b78edfd288f59d4b0aec
[ "MIT" ]
null
null
null
import pygame import random import os import time import neat import visualize import pickle import bcolors as b pygame.font.init() SCORE_MAX = [0, 0, 0] WIN_WIDTH = 600 WIN_HEIGHT = 800 FLOOR = 730 STAT_FONT = pygame.font.SysFont("comicsans", 50) END_FONT = pygame.font.SysFont("comicsans", 70) DRAW_LINES = False WI...
28.844937
207
0.576961
774a3cbe3570598a07718acd612708e7b85dbeed
34,273
py
Python
src/cd.py
laura-rieger/deep-explanation-penalization
ac82aa4717b24e0ccf48ecbbf4c05d7e77a6d88f
[ "MIT" ]
105
2019-10-01T19:00:35.000Z
2022-03-25T14:03:32.000Z
src/cd.py
laura-rieger/deep-explanation-penalization
ac82aa4717b24e0ccf48ecbbf4c05d7e77a6d88f
[ "MIT" ]
11
2020-01-13T15:49:13.000Z
2021-12-28T11:36:21.000Z
src/cd.py
laura-rieger/deep-explanation-penalization
ac82aa4717b24e0ccf48ecbbf4c05d7e77a6d88f
[ "MIT" ]
16
2019-12-22T20:53:33.000Z
2022-03-15T14:17:50.000Z
#original from https://github.com/csinva/hierarchical-dnn-interpretations/blob/master/acd/scores/cd.py import torch import torch.nn.functional as F from copy import deepcopy from torch import sigmoid from torch import tanh import numpy as np stabilizing_constant = 10e-20 # propagate tanh nonlinearity # propaga...
49.599132
190
0.664663
774b06809a445d82f24ad6693ec8a85d76b2e232
2,554
py
Python
spacy/lang/pt/stop_words.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
12
2019-03-20T20:43:47.000Z
2020-04-13T11:10:52.000Z
spacy/lang/pt/stop_words.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
13
2018-06-05T11:54:40.000Z
2019-07-02T11:33:14.000Z
spacy/lang/pt/stop_words.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
2
2020-02-15T18:33:35.000Z
2022-02-13T14:11:41.000Z
# coding: utf8 from __future__ import unicode_literals STOP_WORDS = set( """ s rea acerca ademais adeus agora ainda algo algumas alguns ali alm ambas ambos antes ao aos apenas apoia apoio apontar aps aquela aquelas aquele aqueles aqui aquilo as assim atravs atrs at a baixo bastante bem boa bom breve cada camin...
35.971831
89
0.817541
774b9166abe0ad0a7b9b9dd1b88e0f21b94c408a
13,906
py
Python
miaschiev_ui.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
10
2015-06-13T17:27:18.000Z
2021-02-14T13:03:11.000Z
miaschiev_ui.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
2
2020-07-11T18:34:57.000Z
2021-03-07T02:27:46.000Z
miaschiev_ui.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
1
2016-03-23T22:26:23.000Z
2016-03-23T22:26:23.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'miaschiev.ui' # # Created: Wed Aug 06 17:13:17 2014 # by: pyside-uic 0.2.15 running on PySide 1.2.1 # # WARNING! All changes made in this file will be lost! from PySide import QtCore, QtGui
64.082949
151
0.718898
774bad54e921796a93026ea0248ace9747a3f917
1,673
py
Python
layers/db/db/tests/test_db.py
NASA-IMPACT/hls-sentinel2-downloader-serverless
e3e4f542fc805c6259f20a6dd932c98cccd4144c
[ "Apache-2.0" ]
null
null
null
layers/db/db/tests/test_db.py
NASA-IMPACT/hls-sentinel2-downloader-serverless
e3e4f542fc805c6259f20a6dd932c98cccd4144c
[ "Apache-2.0" ]
2
2021-07-23T00:49:42.000Z
2021-07-23T00:51:25.000Z
layers/db/db/tests/test_db.py
NASA-IMPACT/hls-sentinel2-downloader-serverless
e3e4f542fc805c6259f20a6dd932c98cccd4144c
[ "Apache-2.0" ]
null
null
null
import os import pytest from assertpy import assert_that from ..models.granule import Granule from ..models.granule_count import GranuleCount from ..models.status import Status from ..session import _get_url, get_session, get_session_maker
35.595745
71
0.780036
774d4b0cb7fee10f0f0fa488de8d167fefa2fbd2
1,478
py
Python
dexp/processing/utils/_test/test_normalise.py
haesleinhuepf/dexp
2ea84f3db323724588fac565fae56f0d522bc5ca
[ "BSD-3-Clause" ]
16
2021-04-21T14:09:19.000Z
2022-03-22T02:30:59.000Z
dexp/processing/utils/_test/test_normalise.py
haesleinhuepf/dexp
2ea84f3db323724588fac565fae56f0d522bc5ca
[ "BSD-3-Clause" ]
28
2021-04-15T17:43:08.000Z
2022-03-29T16:08:35.000Z
dexp/processing/utils/_test/test_normalise.py
haesleinhuepf/dexp
2ea84f3db323724588fac565fae56f0d522bc5ca
[ "BSD-3-Clause" ]
3
2022-02-08T17:41:30.000Z
2022-03-18T15:32:27.000Z
import numpy as np import pytest from arbol import aprint from dexp.processing.utils.normalise import Normalise from dexp.utils.backends import Backend from dexp.utils.testing.testing import execute_both_backends
34.372093
106
0.725981
774ee32b7bd61777145b97c33929e59c467687c5
64
py
Python
pyCameras/__init__.py
imr-luh/pyCameras
30fc220022b0562f5244d9fd5f436b8630abe4cd
[ "MIT" ]
2
2019-05-10T08:43:38.000Z
2019-05-17T16:00:13.000Z
pyCameras/__init__.py
imr-luh/pyCameras
30fc220022b0562f5244d9fd5f436b8630abe4cd
[ "MIT" ]
null
null
null
pyCameras/__init__.py
imr-luh/pyCameras
30fc220022b0562f5244d9fd5f436b8630abe4cd
[ "MIT" ]
2
2020-03-10T17:15:08.000Z
2020-04-24T09:02:21.000Z
__version__ = '0.0.1' from . import utils from .utils import *
12.8
21
0.6875
774f04287f666d1e053a72b91ac8437dc815a95d
427
py
Python
sdfspu/sdf_net.py
soundmaking/sdfspu
164af2602d07b18c45a8182cd5e9638628c7e165
[ "MIT" ]
null
null
null
sdfspu/sdf_net.py
soundmaking/sdfspu
164af2602d07b18c45a8182cd5e9638628c7e165
[ "MIT" ]
null
null
null
sdfspu/sdf_net.py
soundmaking/sdfspu
164af2602d07b18c45a8182cd5e9638628c7e165
[ "MIT" ]
null
null
null
import socket if __name__ == "__main__": print('IP via get_ip():\t', get_ip())
21.35
56
0.58548
775087ff0c58dbd29b82c1af2c4f5dcf0ce17d5d
844
py
Python
pysparkling/sql/expressions/literals.py
ptallada/pysparkling
f0e8e8d039f3313c2693b7c7576cb1b7ba5a6d78
[ "Apache-2.0" ]
260
2015-05-11T18:08:44.000Z
2022-01-15T13:19:43.000Z
pysparkling/sql/expressions/literals.py
ptallada/pysparkling
f0e8e8d039f3313c2693b7c7576cb1b7ba5a6d78
[ "Apache-2.0" ]
79
2015-06-02T09:53:25.000Z
2021-09-26T11:18:18.000Z
pysparkling/sql/expressions/literals.py
ptallada/pysparkling
f0e8e8d039f3313c2693b7c7576cb1b7ba5a6d78
[ "Apache-2.0" ]
50
2015-06-06T17:00:58.000Z
2022-01-15T13:19:18.000Z
from ..utils import AnalysisException from .expressions import Expression __all__ = ["Literal"]
25.575758
84
0.582938
7750af67ab2df68b6c19d4aa9f6c7f583c889749
3,812
py
Python
filter_ICA.py
MadsJensen/RP_scripts
b3f7afb27b6346ee209e4bfcd7d52049d69d2eaf
[ "BSD-3-Clause" ]
null
null
null
filter_ICA.py
MadsJensen/RP_scripts
b3f7afb27b6346ee209e4bfcd7d52049d69d2eaf
[ "BSD-3-Clause" ]
null
null
null
filter_ICA.py
MadsJensen/RP_scripts
b3f7afb27b6346ee209e4bfcd7d52049d69d2eaf
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Oct 8 14:45:02 2014. @author: mje """ import mne import sys from mne.io import Raw from mne.preprocessing import ICA, create_eog_epochs, create_ecg_epochs import matplotlib matplotlib.use('Agg') from my_settings import * subject = sys.argv[1] # SETTINGS n_jobs = 1 l_fr...
32.033613
79
0.594439
77526fa74a8b3626dd46cca703ea3aecf100938a
428
py
Python
typish/_types.py
georgeharker/typish
1c043beb74d89e62b10339a2a964f60ec175adfa
[ "MIT" ]
16
2019-08-03T13:57:17.000Z
2021-11-08T11:51:52.000Z
typish/_types.py
georgeharker/typish
1c043beb74d89e62b10339a2a964f60ec175adfa
[ "MIT" ]
27
2019-09-11T13:24:38.000Z
2022-02-11T07:04:12.000Z
typish/_types.py
georgeharker/typish
1c043beb74d89e62b10339a2a964f60ec175adfa
[ "MIT" ]
7
2019-11-18T16:50:09.000Z
2021-11-01T14:34:39.000Z
""" PRIVATE MODULE: do not import (from) it directly. This module contains types that are not available by default. """ import typing from inspect import Parameter T = typing.TypeVar('T') KT = typing.TypeVar('KT') VT = typing.TypeVar('VT') Empty = Parameter.empty Unknown = type('Unknown', (Empty, ), {}) Module = typ...
22.526316
61
0.703271
7752a70c09c370c66d0c734d9856294edf75f0f4
11,172
py
Python
avidaspatial/transform_data.py
emilydolson/avida-spatial-tools
7beb0166ccefad5fa722215b030ac2a53d62b59e
[ "MIT" ]
1
2018-06-12T18:31:40.000Z
2018-06-12T18:31:40.000Z
avidaspatial/transform_data.py
emilydolson/avida-spatial-tools
7beb0166ccefad5fa722215b030ac2a53d62b59e
[ "MIT" ]
1
2016-02-03T23:37:09.000Z
2016-02-03T23:37:09.000Z
avidaspatial/transform_data.py
emilydolson/avida-spatial-tools
7beb0166ccefad5fa722215b030ac2a53d62b59e
[ "MIT" ]
null
null
null
from .utils import * from scipy.spatial.distance import pdist import scipy.cluster.hierarchy as hierarchicalcluster def rank_environment_and_phenotypes(environment, phenotypes, k=15): """ Clusters sets of resources/tasks using a weighted hamming distance such that you can have few enough values to give ea...
36.993377
79
0.669083
775334a35368377b6411b76e0cda684325c797b3
119
py
Python
Python/ComplexPaths02/src/main/MainModule01.py
tduoth/JsObjects
eb3e2a8b1f47d0da53c8b1a85a7949269711932f
[ "MIT" ]
22
2015-02-26T09:07:18.000Z
2020-05-10T16:22:05.000Z
Python/ComplexPaths02/src/main/MainModule01.py
tduoth/JsObjects
eb3e2a8b1f47d0da53c8b1a85a7949269711932f
[ "MIT" ]
123
2016-04-05T18:32:41.000Z
2022-03-13T21:09:21.000Z
Python/ComplexPaths02/src/main/MainModule01.py
tduoth/JsObjects
eb3e2a8b1f47d0da53c8b1a85a7949269711932f
[ "MIT" ]
56
2015-03-19T22:26:37.000Z
2021-12-06T02:52:02.000Z
''' Created on May 26, 2012 @author: Charlie '''
13.222222
27
0.613445
7753e7fec1d5a58812ddcacb76ec8e3307a0b943
2,109
py
Python
examples/image_dataset_create.py
praekelt/feersum-nlu-api-wrappers
6580e2bab2c8a764fe868a505330b3fee6029074
[ "BSD-3-Clause" ]
9
2017-10-10T12:24:23.000Z
2021-08-18T14:07:51.000Z
examples/image_dataset_create.py
praekelt/feersum-nlu-api-wrappers
6580e2bab2c8a764fe868a505330b3fee6029074
[ "BSD-3-Clause" ]
1
2020-12-06T11:03:25.000Z
2021-04-14T05:21:23.000Z
examples/image_dataset_create.py
praekelt/feersum-nlu-api-wrappers
6580e2bab2c8a764fe868a505330b3fee6029074
[ "BSD-3-Clause" ]
2
2019-02-12T08:26:06.000Z
2022-02-01T09:39:47.000Z
""" Example: Shows how to create and use an image dataset. """ import urllib3 import feersum_nlu from feersum_nlu.rest import ApiException from examples import feersumnlu_host, feersum_nlu_auth_token # from feersum_nlu_util import image_utils # Configure API key authorization: APIKeyHeader configuration ...
35.745763
95
0.699384
775402adbd62e329a7b317ab8391c40e03b9d6e5
2,536
py
Python
tests/test_resource_base.py
neteler/actinia_statistic_plugin
428d191830bb59a8927fde68fd1e4439331fef97
[ "MIT" ]
3
2018-10-16T14:32:07.000Z
2020-03-24T18:07:02.000Z
tests/test_resource_base.py
neteler/actinia_statistic_plugin
428d191830bb59a8927fde68fd1e4439331fef97
[ "MIT" ]
7
2019-10-01T07:46:52.000Z
2022-03-24T09:26:53.000Z
tests/test_resource_base.py
neteler/actinia_statistic_plugin
428d191830bb59a8927fde68fd1e4439331fef97
[ "MIT" ]
4
2018-10-26T11:52:09.000Z
2020-03-24T18:07:03.000Z
# -*- coding: utf-8 -*- import atexit import os import signal import time from flask_restful import Api from actinia_core.testsuite import ActiniaTestCaseBase, URL_PREFIX from actinia_core.core.common.config import global_config from actinia_core.core.common.app import flask_app, flask_api from actinia_statistic_plugin...
32.512821
79
0.742902
7755642e2df8bfea6999683ed9d91b14f6530187
5,560
py
Python
interpreter/code/tests/test_basic.py
yunkai123/my-500lines-notes
60fd3b18919b5bcb90ddece9e088c1c152438972
[ "MIT" ]
null
null
null
interpreter/code/tests/test_basic.py
yunkai123/my-500lines-notes
60fd3b18919b5bcb90ddece9e088c1c152438972
[ "MIT" ]
null
null
null
interpreter/code/tests/test_basic.py
yunkai123/my-500lines-notes
60fd3b18919b5bcb90ddece9e088c1c152438972
[ "MIT" ]
null
null
null
""" Byterund """ import vmtest
25.62212
55
0.380935
7756950ec6fb5c1205ec5e03552facad7a4cc3ac
387
py
Python
core/recc/compile/future.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
3
2021-06-20T02:24:10.000Z
2022-01-26T23:55:33.000Z
core/recc/compile/future.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
null
null
null
core/recc/compile/future.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from importlib import import_module
27.642857
57
0.731266
77576a10d402216d2e59b9e687478fa26a161c83
10,503
py
Python
genesis/objects/integrate.py
leifdenby/uclales-extractor
6147533e25b3b417c744bd814d2407a6588cf995
[ "BSD-3-Clause" ]
null
null
null
genesis/objects/integrate.py
leifdenby/uclales-extractor
6147533e25b3b417c744bd814d2407a6588cf995
[ "BSD-3-Clause" ]
null
null
null
genesis/objects/integrate.py
leifdenby/uclales-extractor
6147533e25b3b417c744bd814d2407a6588cf995
[ "BSD-3-Clause" ]
null
null
null
import os import warnings import xarray as xr import numpy as np # forget about using dask for now, dask_ndmeasure takes a huge amount of memory # try: # # raise ImportError # # import dask_ndmeasure as ndimage # # register a progressbar so we can see progress of dask'ed operations with xarray # from dask.diagnostics...
32.719626
88
0.63677
775775cc7a45c42108314eb9aa9a67d61fab3d99
181
py
Python
current_console.py
jonasitzmann/ann-numpy
bb6d22667158687ca2d3de92abbeee0e129fa18e
[ "MIT" ]
null
null
null
current_console.py
jonasitzmann/ann-numpy
bb6d22667158687ca2d3de92abbeee0e129fa18e
[ "MIT" ]
null
null
null
current_console.py
jonasitzmann/ann-numpy
bb6d22667158687ca2d3de92abbeee0e129fa18e
[ "MIT" ]
null
null
null
from ann import * x, y = utils.get_mnist_samples(100) m = Model(x[0].shape) m.add(Conv2D()) m.add(MaxPooling()) m.add(Flatten()) m.add(Dense(15)) m.add(Dense(10, a_func='sigmoid'))
20.111111
35
0.679558
77579ad9466e36640c85ebfa6cdc492815ea188c
1,923
py
Python
scripts/addon/generate_all.py
mozilla-releng/staging-mozilla-vpn-client
f31d3762a607ccf2d7c6a016f7b800305fbf0113
[ "Apache-2.0" ]
null
null
null
scripts/addon/generate_all.py
mozilla-releng/staging-mozilla-vpn-client
f31d3762a607ccf2d7c6a016f7b800305fbf0113
[ "Apache-2.0" ]
null
null
null
scripts/addon/generate_all.py
mozilla-releng/staging-mozilla-vpn-client
f31d3762a607ccf2d7c6a016f7b800305fbf0113
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python3 # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. import argparse import hashlib import json import os import subprocess import sys parser = argp...
30.046875
82
0.696828
7758e5a6fe24718f7edc88625d84b3904624aa2d
8,310
py
Python
meson_test.py
tp-m/meson
2d1aa395e86848ca948d30d83cc5357777e5b490
[ "Apache-2.0" ]
null
null
null
meson_test.py
tp-m/meson
2d1aa395e86848ca948d30d83cc5357777e5b490
[ "Apache-2.0" ]
null
null
null
meson_test.py
tp-m/meson
2d1aa395e86848ca948d30d83cc5357777e5b490
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2013-2015 The Meson development team # 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...
36.28821
97
0.601685
77592dd99f28334c1a356341edde3b576368b416
1,085
py
Python
2020/d05_1.py
PaulWichser/adventofcode
628d962a65188310af136c8b88acbdbd5dc94352
[ "MIT" ]
null
null
null
2020/d05_1.py
PaulWichser/adventofcode
628d962a65188310af136c8b88acbdbd5dc94352
[ "MIT" ]
null
null
null
2020/d05_1.py
PaulWichser/adventofcode
628d962a65188310af136c8b88acbdbd5dc94352
[ "MIT" ]
null
null
null
import fileimp # divide rows 0-127 # F = lower half # B = upper half # divide columns 0-7 # R = upper half # L = lower half # seat ID = row * 8 + col # list of IDs # max list testlist = fileimp.listimp("d05_test.txt") if max(idcalc(testlist)) != 820: print("Test Failed!") quit() seatlist = fileimp.li...
22.604167
60
0.453456
7759ab5bb6b2419c0cf09ba0f8c0454651c021e4
3,618
py
Python
src/morphforge/simulation/neuron/core/neuronsimulationenvironment.py
mikehulluk/morphforge
2a95096f144ed4ea487decb735ce66706357d3c7
[ "BSD-2-Clause" ]
1
2021-01-21T11:31:59.000Z
2021-01-21T11:31:59.000Z
src/morphforge/simulation/neuron/core/neuronsimulationenvironment.py
mikehulluk/morphforge
2a95096f144ed4ea487decb735ce66706357d3c7
[ "BSD-2-Clause" ]
null
null
null
src/morphforge/simulation/neuron/core/neuronsimulationenvironment.py
mikehulluk/morphforge
2a95096f144ed4ea487decb735ce66706357d3c7
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # --------------------------------------------------------------------- # Copyright (c) 2012 Michael Hull. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are m...
37.6875
75
0.725263
775a75fe1fae66dbea733bd14ae845c43584999a
766
py
Python
news_topic_modeling_service/backfill.py
rishavgiri6/News4U
d426eba97039a3d1afd90ecd14c454856b91f9d8
[ "Unlicense" ]
2
2021-08-02T09:41:42.000Z
2021-08-10T05:26:52.000Z
news_topic_modeling_service/backfill.py
rishavgiri6/News4U
d426eba97039a3d1afd90ecd14c454856b91f9d8
[ "Unlicense" ]
null
null
null
news_topic_modeling_service/backfill.py
rishavgiri6/News4U
d426eba97039a3d1afd90ecd14c454856b91f9d8
[ "Unlicense" ]
null
null
null
import os import sys # import common package in parent directory sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'common')) import mongodb_client import news_topic_modeling_service_client if __name__ == '__main__': db = mongodb_client.get_db() cursor = db['news'].find({}) count = 0 for ...
30.64
81
0.620104
775cbe05f1e23d8b5ab980d33a068bbf4e214d9f
2,559
py
Python
server/imagemagick-server/server.py
brygga-dev/workdir2
0b6e8f54a3d44ef8dedefd1bdc95f193467d239e
[ "MIT" ]
null
null
null
server/imagemagick-server/server.py
brygga-dev/workdir2
0b6e8f54a3d44ef8dedefd1bdc95f193467d239e
[ "MIT" ]
null
null
null
server/imagemagick-server/server.py
brygga-dev/workdir2
0b6e8f54a3d44ef8dedefd1bdc95f193467d239e
[ "MIT" ]
null
null
null
from http.server import BaseHTTPRequestHandler,HTTPServer from socketserver import ThreadingMixIn import threading import subprocess import urllib.parse # todo: factor out common server stuff # todo: these should probably have limited # access to files, so something like only # uploads dir may be good. # then there i...
30.831325
66
0.5932
775d1ff6bf052dcb5d8a678cb806eb618f0ebf92
26,692
py
Python
pysnmp-with-texts/GENERIC-3COM-VLAN-MIB-1-0-7.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/GENERIC-3COM-VLAN-MIB-1-0-7.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/GENERIC-3COM-VLAN-MIB-1-0-7.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module GENERIC-3COM-VLAN-MIB-1-0-7 (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/GENERIC-3COM-VLAN-MIB-1-0-7 # Produced by pysmi-0.3.4 at Wed May 1 11:09:00 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python versio...
200.691729
1,838
0.790536
775ee35015e7fb1a1d56468e759eea466f2753f3
388
py
Python
uberlearner/main/api/authentication.py
Uberlearner/uberlearner
421391c3c838bf8f88eed47646226fe8dc22d061
[ "MIT" ]
1
2020-10-17T04:41:47.000Z
2020-10-17T04:41:47.000Z
uberlearner/main/api/authentication.py
Uberlearner/uberlearner
421391c3c838bf8f88eed47646226fe8dc22d061
[ "MIT" ]
null
null
null
uberlearner/main/api/authentication.py
Uberlearner/uberlearner
421391c3c838bf8f88eed47646226fe8dc22d061
[ "MIT" ]
null
null
null
from tastypie.authentication import SessionAuthentication
35.272727
86
0.693299
91f204cefc1e11f78d143865718a0720e6b49302
135
py
Python
libs/yowsup/yowsup/yowsup/layers/axolotl/__init__.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
22
2017-07-14T20:01:17.000Z
2022-03-08T14:22:39.000Z
libs/yowsup/yowsup/yowsup/layers/axolotl/__init__.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
6
2017-07-14T21:03:50.000Z
2021-06-10T19:08:32.000Z
libs/yowsup/yowsup/yowsup/layers/axolotl/__init__.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
13
2017-07-14T20:13:14.000Z
2020-11-12T08:06:05.000Z
from .layer_send import AxolotlSendLayer from .layer_control import AxolotlControlLayer from .layer_receive import AxolotlReceivelayer
33.75
46
0.888889
91f2badbe46ccc2afa070e8ea0d95aa258e9f159
3,199
py
Python
accounts/models.py
MrEscape54/CRM
36be1fcc74bbfddf343dc0b1b7f8af83be3fe8d3
[ "MIT" ]
null
null
null
accounts/models.py
MrEscape54/CRM
36be1fcc74bbfddf343dc0b1b7f8af83be3fe8d3
[ "MIT" ]
null
null
null
accounts/models.py
MrEscape54/CRM
36be1fcc74bbfddf343dc0b1b7f8af83be3fe8d3
[ "MIT" ]
null
null
null
from django.db import models from django.urls import reverse from django.utils.translation import pgettext_lazy from django.utils.translation import ugettext_lazy as _ from django.core.validators import RegexValidator from core import utils from core.models import User from contacts.models import Contact
42.092105
140
0.736168
91f3e934e2bf21d69c8e84878b0f0bb1bc0e52af
104
py
Python
Courses/HSEPython/8 week/5.py
searayeah/sublime-snippets
deff53a06948691cd5e5d7dcfa85515ddd8fab0b
[ "MIT" ]
null
null
null
Courses/HSEPython/8 week/5.py
searayeah/sublime-snippets
deff53a06948691cd5e5d7dcfa85515ddd8fab0b
[ "MIT" ]
null
null
null
Courses/HSEPython/8 week/5.py
searayeah/sublime-snippets
deff53a06948691cd5e5d7dcfa85515ddd8fab0b
[ "MIT" ]
null
null
null
from functools import reduce print(reduce(lambda x, y: x * (y**5), list(map(int, input().split())), 1))
34.666667
74
0.653846
91f411263bdba1a973d2748f05c7f918cdbad645
1,176
py
Python
ros/src/twist_controller/twist_controller.py
SunshengGu/CarND-capstone-team-roboturtles
6ceb896f5af095223910a8366b0747a4c0bba910
[ "MIT" ]
null
null
null
ros/src/twist_controller/twist_controller.py
SunshengGu/CarND-capstone-team-roboturtles
6ceb896f5af095223910a8366b0747a4c0bba910
[ "MIT" ]
null
null
null
ros/src/twist_controller/twist_controller.py
SunshengGu/CarND-capstone-team-roboturtles
6ceb896f5af095223910a8366b0747a4c0bba910
[ "MIT" ]
2
2019-02-05T02:55:57.000Z
2019-02-10T20:12:41.000Z
from yaw_controller import YawController from pid import PID GAS_DENSITY = 2.858 ONE_MPH = 0.44704
25.021277
104
0.681973
91f45538afa3b794621cc7c469da195bbca2956a
627
py
Python
samples/cordic/cordic_golden.py
hj424/heterocl
e51b8f7f65ae6ad55c0c2426ab7192c3d8f6702b
[ "Apache-2.0" ]
236
2019-05-19T01:48:11.000Z
2022-03-31T09:03:54.000Z
samples/cordic/cordic_golden.py
hj424/heterocl
e51b8f7f65ae6ad55c0c2426ab7192c3d8f6702b
[ "Apache-2.0" ]
248
2019-05-17T19:18:36.000Z
2022-03-30T21:25:47.000Z
samples/cordic/cordic_golden.py
hj424/heterocl
e51b8f7f65ae6ad55c0c2426ab7192c3d8f6702b
[ "Apache-2.0" ]
85
2019-05-17T20:09:27.000Z
2022-02-28T20:19:00.000Z
import numpy as np golden = np.array([ [100.0, 100.0], [206.226840616, 179.610387213], [1190.25124092, 1197.15702025], [1250.76639667, 1250.3933971], [1261.76760093, 1250.17718583], [1237.4846285, 1237.56490579], [1273.56730356, 1266.82141705], [1272.899992, 1259.92589118], [1.17000308922e-06, ...
31.35
41
0.700159
91f4996456aabf6bbe1ac697a26d604a9883879d
98
py
Python
src/game_client/conf.py
adapiekarska/network-pong
c6a88b66570f26aea9c9976eb16953c480b846ec
[ "MIT" ]
2
2018-11-14T17:25:24.000Z
2019-12-09T17:57:30.000Z
src/game_client/conf.py
adapiekarska/network-pong
c6a88b66570f26aea9c9976eb16953c480b846ec
[ "MIT" ]
null
null
null
src/game_client/conf.py
adapiekarska/network-pong
c6a88b66570f26aea9c9976eb16953c480b846ec
[ "MIT" ]
null
null
null
""" User configuration file for the client. """ SERVER_ADDRESS = "127.0.0.1" SERVER_PORT = 50000
14
39
0.704082
91f534930f8a5265738ba0e1d6c22b1ba0b55ac6
3,479
py
Python
build/lib/Element/Element.py
sunnyyukaige/APP_automation_core
b53ad737025a1af44746ea5f1c9a4cbe65d7cfb4
[ "MIT" ]
null
null
null
build/lib/Element/Element.py
sunnyyukaige/APP_automation_core
b53ad737025a1af44746ea5f1c9a4cbe65d7cfb4
[ "MIT" ]
null
null
null
build/lib/Element/Element.py
sunnyyukaige/APP_automation_core
b53ad737025a1af44746ea5f1c9a4cbe65d7cfb4
[ "MIT" ]
null
null
null
from selenium.common.exceptions import WebDriverException, NoSuchElementException from Element.Waitor import Waitor from Element.Find import Find from Utilitys.WaitUtils import WaitUtils
32.514019
84
0.596148
91f55da34b50862c7008aa6fdd44283def33131b
2,047
py
Python
config/settings/prd.py
zhenghuihu/django-skeleton
548019b2f5826593f2f270c96f8b14ec19280c51
[ "MIT" ]
null
null
null
config/settings/prd.py
zhenghuihu/django-skeleton
548019b2f5826593f2f270c96f8b14ec19280c51
[ "MIT" ]
null
null
null
config/settings/prd.py
zhenghuihu/django-skeleton
548019b2f5826593f2f270c96f8b14ec19280c51
[ "MIT" ]
null
null
null
''' production setting ''' # include all base settings from .base import * # pylint: disable=W0401,W0614 # include credentials (not included in repo) from . import credentials as crd # pylint: disable=W0401,W0611 # disable debugging DEBUG = False # ======================== # SECRET_KEY # https://d...
25.911392
78
0.484123
91f69a518f7a745cba0d44a46ab85227b8ebc8dd
636
py
Python
8. str_range/test_solution.py
dcragusa/WeeklyPythonExerciseB2
a7da3830e27891060dcfb0804c81f52b1f250ce8
[ "MIT" ]
null
null
null
8. str_range/test_solution.py
dcragusa/WeeklyPythonExerciseB2
a7da3830e27891060dcfb0804c81f52b1f250ce8
[ "MIT" ]
null
null
null
8. str_range/test_solution.py
dcragusa/WeeklyPythonExerciseB2
a7da3830e27891060dcfb0804c81f52b1f250ce8
[ "MIT" ]
null
null
null
from solution import str_range test_same_start_end() test_simple() test_simple_with_step() test_simple_with_negativestep() test_hebrew()
18.171429
37
0.606918
91f6f8ff0e9840449fba337706ce6b583a980630
8,227
py
Python
acs_test_suites/OTC/libs/pyunit/testlib/graphics/display_metrics_report_impl.py
wangji1/test-framework-and-suites-for-android
59564f826f205fe7fab64f45b88b1a6dde6900af
[ "Apache-2.0" ]
8
2018-09-14T01:34:01.000Z
2021-07-01T02:00:23.000Z
acs_test_suites/OTC/libs/pyunit/testlib/graphics/display_metrics_report_impl.py
wangji1/test-framework-and-suites-for-android
59564f826f205fe7fab64f45b88b1a6dde6900af
[ "Apache-2.0" ]
3
2019-09-10T11:39:50.000Z
2019-10-10T08:26:22.000Z
acs_test_suites/OTC/libs/pyunit/testlib/graphics/display_metrics_report_impl.py
wangji1/test-framework-and-suites-for-android
59564f826f205fe7fab64f45b88b1a6dde6900af
[ "Apache-2.0" ]
9
2018-10-11T15:14:03.000Z
2021-02-17T11:37:20.000Z
''' Copyright (C) 2018 Intel Corporation ? Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ? http://www.apache.org/licenses/LICENSE-2.0 ? Unless required by applicable law or agreed to in writing, so...
41.550505
115
0.629999
91f92403a6d2b5956cbf468fe884187f6c555b2a
3,811
py
Python
Anchors/Find and Replace in Anchor Names.py
juandelperal/Glyphs-Scripts
1f3cb71683ec044dff67a46cd895773e8271effa
[ "Apache-2.0" ]
null
null
null
Anchors/Find and Replace in Anchor Names.py
juandelperal/Glyphs-Scripts
1f3cb71683ec044dff67a46cd895773e8271effa
[ "Apache-2.0" ]
null
null
null
Anchors/Find and Replace in Anchor Names.py
juandelperal/Glyphs-Scripts
1f3cb71683ec044dff67a46cd895773e8271effa
[ "Apache-2.0" ]
null
null
null
#MenuTitle: Find And Replace In Anchor Names # -*- coding: utf-8 -*- from __future__ import division, print_function, unicode_literals from builtins import str __doc__=""" Replaces strings in anchor names of all selected glyphs. """ import vanilla # brings macro window to front and clears its log: Glyphs.clearLog() ...
37.732673
140
0.724482
91fa4adf813afeff4ee8cff082ebb2bd99d4723f
269
py
Python
Python3/Coursera/003_quadratic_roots/solution.py
neon1ks/Study
5d40171cf3bf5e8d3a95539e91f5afec54d1daf3
[ "MIT" ]
null
null
null
Python3/Coursera/003_quadratic_roots/solution.py
neon1ks/Study
5d40171cf3bf5e8d3a95539e91f5afec54d1daf3
[ "MIT" ]
null
null
null
Python3/Coursera/003_quadratic_roots/solution.py
neon1ks/Study
5d40171cf3bf5e8d3a95539e91f5afec54d1daf3
[ "MIT" ]
null
null
null
import sys import math if __name__ == '__main__': a = int(sys.argv[1]) b = int(sys.argv[2]) c = int(sys.argv[3]) d = b * b - 4 * a * c x1 = (-b + math.sqrt(d)) / (2 * a) x2 = (-b - math.sqrt(d)) / (2 * a) print(int(x1)) print(int(x2))
19.214286
38
0.472119
91fb5d86e0a2ace17209d7b5be31f349a8d3fe5f
2,258
py
Python
bigstream/features.py
wangyuhan01/bigstream
3cd2e4b217639d09b5e2dd0e169a7c210d9cacef
[ "MIT" ]
14
2021-03-10T12:52:02.000Z
2022-03-14T19:46:03.000Z
bigstream/features.py
wangyuhan01/bigstream
3cd2e4b217639d09b5e2dd0e169a7c210d9cacef
[ "MIT" ]
6
2021-02-24T18:15:34.000Z
2021-12-08T16:58:06.000Z
bigstream/features.py
wangyuhan01/bigstream
3cd2e4b217639d09b5e2dd0e169a7c210d9cacef
[ "MIT" ]
6
2021-01-20T03:57:14.000Z
2022-02-04T22:16:46.000Z
import numpy as np from fishspot.filter import white_tophat from fishspot.detect import detect_spots_log def blob_detection( image, min_blob_radius, max_blob_radius, **kwargs, ): """ """ wth = white_tophat(image, max_blob_radius) spots = detect_spots_log( wth, min_blob...
24.27957
62
0.59566
91fc1d22637f7a669f85b81d4edd4e86d5957148
8,736
py
Python
.ycm_extra_conf.py
zaucy/bazel-compilation-database
aa58494efdf31c3e3525832b3d44d48bb3bc2b0b
[ "Apache-2.0" ]
1
2021-04-23T03:47:31.000Z
2021-04-23T03:47:31.000Z
.ycm_extra_conf.py
tsingakbar/bazel-compilation-database
a1d592dd8c3423c7fe94933ead4f098353ad4436
[ "Apache-2.0" ]
null
null
null
.ycm_extra_conf.py
tsingakbar/bazel-compilation-database
a1d592dd8c3423c7fe94933ead4f098353ad4436
[ "Apache-2.0" ]
1
2020-11-14T00:11:51.000Z
2020-11-14T00:11:51.000Z
#!/usr/bin/python # Copyright 2018 GRAIL, 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 law or agr...
37.333333
104
0.694254
91fc55bd294641a3405ae46e672d73216e1f79e0
450
py
Python
djasana/migrations/0007_alter_task_completed.py
dosoulwork/django-asana
05c63cc6a375783f84bb82821800ca419db9fa85
[ "MIT" ]
10
2017-04-25T20:20:14.000Z
2021-02-26T18:57:59.000Z
djasana/migrations/0007_alter_task_completed.py
dosoulwork/django-asana
05c63cc6a375783f84bb82821800ca419db9fa85
[ "MIT" ]
19
2018-08-09T20:45:51.000Z
2021-11-29T17:47:21.000Z
djasana/migrations/0007_alter_task_completed.py
dosoulwork/django-asana
05c63cc6a375783f84bb82821800ca419db9fa85
[ "MIT" ]
8
2018-06-28T02:54:06.000Z
2020-02-23T13:34:46.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-29 17:04 from __future__ import unicode_literals from django.db import migrations, models
21.428571
50
0.615556
91fc8f01eba61ef1ef5ef0f60b821056938bce1a
6,375
py
Python
src/StatifyStats.py
beng92/Statify
9b2ef7bd7b505615f3af9cadf7ab7531a6d00bb5
[ "MIT" ]
1
2016-06-22T07:44:38.000Z
2016-06-22T07:44:38.000Z
src/StatifyStats.py
beng92/Statify
9b2ef7bd7b505615f3af9cadf7ab7531a6d00bb5
[ "MIT" ]
null
null
null
src/StatifyStats.py
beng92/Statify
9b2ef7bd7b505615f3af9cadf7ab7531a6d00bb5
[ "MIT" ]
null
null
null
''' x Total plays x Total artists x Total unique songs Average song per artist x Favourite track Favourite artist (by plays or time) Favourite album (req. api) Average/total/unique plays per range Average/total/unique artists per range Average/total time listened per range Favourite genre (req. api) (by p...
35.814607
192
0.570824
91fd994bcee3cd09c51e7f88b4c8df6b65341586
861
py
Python
web/src/yasg.py
Mikhail-Gorelov/chat_microservice
af97a1b8bc1b8bb185b56c4a92b7b5f502ccec19
[ "MIT" ]
1
2022-03-26T20:01:55.000Z
2022-03-26T20:01:55.000Z
web/src/yasg.py
Mikhail-Gorelov/chat_microservice
af97a1b8bc1b8bb185b56c4a92b7b5f502ccec19
[ "MIT" ]
4
2022-01-23T09:22:53.000Z
2022-03-26T13:53:36.000Z
web/src/yasg.py
Mikhail-Gorelov/chat_microservice
af97a1b8bc1b8bb185b56c4a92b7b5f502ccec19
[ "MIT" ]
2
2022-03-17T19:12:41.000Z
2022-03-30T09:58:50.000Z
from django.conf import settings from django.contrib.auth.decorators import login_required from django.urls import path from drf_yasg import openapi from drf_yasg.views import get_schema_view from rest_framework import permissions from rest_framework.authentication import SessionAuthentication schema_view_param = { ...
28.7
109
0.738676
91fe1b9a7b1cd81006952efe0654f1a6e2066aa1
1,889
py
Python
src/train.py
mohamedkeid/feed-forward-style-transfer
f7b058d392161018b2988a24dd2f05566da5ac78
[ "MIT" ]
92
2017-02-13T22:35:54.000Z
2021-04-28T09:56:02.000Z
src/train.py
mohamedkeid/feed-forward-style-transfer
f7b058d392161018b2988a24dd2f05566da5ac78
[ "MIT" ]
4
2017-03-05T02:05:05.000Z
2019-02-23T17:15:34.000Z
src/train.py
mohamedkeid/feed-forward-style-transfer
f7b058d392161018b2988a24dd2f05566da5ac78
[ "MIT" ]
36
2017-02-24T09:35:57.000Z
2021-05-21T17:42:03.000Z
#!/usr/bin/python """ Author: Mohamed K. Eid (mohamedkeid@gmail.com) Description: trains a generative model for stylizing an unseen image input with a particular style Args: train: path to image with style to learn """ import argparse import os import tensorflow as tf import generator import he...
28.621212
117
0.728428
91ff58a8a89279f514514042538c466c72a92492
9,512
py
Python
xsnake/main.py
wcgbg/kids-keyboard
aaea8e7970407b02d46325654740859e1a7dbd83
[ "Apache-2.0" ]
null
null
null
xsnake/main.py
wcgbg/kids-keyboard
aaea8e7970407b02d46325654740859e1a7dbd83
[ "Apache-2.0" ]
null
null
null
xsnake/main.py
wcgbg/kids-keyboard
aaea8e7970407b02d46325654740859e1a7dbd83
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import argparse import glob import os import pygame import random import subprocess import time import maze_map MIN_MARGIN = 32 PROGRESS_BAR_HEIGHT = 8 SELF_DIR = os.path.dirname(os.path.realpath(__file__)) if __name__ == '__main__': main()
39.305785
80
0.527965
91ff5f7c6e601aeebe16cd2ed27293363ad42fda
5,342
py
Python
flaskmodel/flask_book_project.py
JennyHan2016/ProxyPool
2e65547e5d3811db32c5e79c4d70e108e0b1e934
[ "Apache-2.0" ]
null
null
null
flaskmodel/flask_book_project.py
JennyHan2016/ProxyPool
2e65547e5d3811db32c5e79c4d70e108e0b1e934
[ "Apache-2.0" ]
null
null
null
flaskmodel/flask_book_project.py
JennyHan2016/ProxyPool
2e65547e5d3811db32c5e79c4d70e108e0b1e934
[ "Apache-2.0" ]
null
null
null
from flask import Flask, render_template, flash,request,redirect,url_for from flask_sqlalchemy import SQLAlchemy from flaskmodel.config import * from flask_wtf import FlaskForm from wtforms import StringField,SubmitField from wtforms.validators import DataRequired app = Flask(__name__) # db = SQLAlchemy(app) ''' 1. ...
29.513812
137
0.588731
91ffc327acbe66a0dfdec62b3fb9d0478e21a89a
1,012
py
Python
examples/simple_rest_nt.py
rob-blackbourn/bareASGI-tutorial
736a0e5f6e73c158101be95d0b0f456065549725
[ "Apache-2.0" ]
1
2022-02-14T09:08:16.000Z
2022-02-14T09:08:16.000Z
examples/simple_rest_nt.py
rob-blackbourn/bareASGI-tutorial
736a0e5f6e73c158101be95d0b0f456065549725
[ "Apache-2.0" ]
5
2021-03-09T22:39:17.000Z
2022-02-26T19:52:36.000Z
examples/simple_rest_nt.py
rob-blackbourn/bareASGI-tutorial
736a0e5f6e73c158101be95d0b0f456065549725
[ "Apache-2.0" ]
null
null
null
import asyncio import json from hypercorn.asyncio import serve from hypercorn.config import Config from bareasgi import Application, text_reader, text_writer import bareutils.header as header app = Application(info={'name': 'Michael Caine'}) app.http_router.add({'GET'}, '/info', get_info) app.http_router.add({'POST...
27.351351
65
0.690711
620015da2fb2461bd1becafb3bfad88fa6ea66e6
567
py
Python
memory/build_memory.py
ngowilliam1/more-contrastive
50884c369145d19a39edabf56ecfdc02af1b42c4
[ "Apache-2.0" ]
70
2020-12-04T06:44:57.000Z
2022-03-30T03:38:55.000Z
memory/build_memory.py
ngowilliam1/more-contrastive
50884c369145d19a39edabf56ecfdc02af1b42c4
[ "Apache-2.0" ]
18
2020-12-31T03:57:35.000Z
2021-10-21T06:41:41.000Z
infomin/build_memory.py
frank-xwang/CLD
0852e5c3d0f0c28e85668b87b4fff20bd67e3efd
[ "MIT" ]
6
2021-04-13T18:09:14.000Z
2021-12-14T11:18:23.000Z
from .mem_bank import RGBMem, CMCMem from .mem_moco import RGBMoCo, CMCMoCo
31.5
61
0.611993
6200daab351d8a43f810d28196ac2f8c75e8b726
803
py
Python
Aves2/Aves2/celery.py
jd-aig/aves2
10aeb832feb94adf563f9795013c77bfd115b44e
[ "Apache-2.0" ]
3
2020-09-24T01:36:02.000Z
2022-03-28T11:53:54.000Z
Aves2/Aves2/celery.py
jd-aig/aves2
10aeb832feb94adf563f9795013c77bfd115b44e
[ "Apache-2.0" ]
null
null
null
Aves2/Aves2/celery.py
jd-aig/aves2
10aeb832feb94adf563f9795013c77bfd115b44e
[ "Apache-2.0" ]
1
2020-12-08T05:14:23.000Z
2020-12-08T05:14:23.000Z
# -*- coding:utf-8 -*- from __future__ import absolute_import, unicode_literals import os from celery import Celery from celery.schedules import crontab # from celery_once import QueueOnce # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Aves2.settin...
27.689655
66
0.775841
62011193ee986970753cb1015967250f10e93794
14,374
py
Python
hwtHls/ssa/translation/fromAst/astToSsa.py
Nic30/hwtHls
1fac6ed128318e698d51e15e9871249ddf243e1c
[ "MIT" ]
8
2018-09-25T03:28:11.000Z
2021-12-15T07:44:38.000Z
hwtHls/ssa/translation/fromAst/astToSsa.py
Nic30/hwtHls
1fac6ed128318e698d51e15e9871249ddf243e1c
[ "MIT" ]
1
2020-12-21T10:56:44.000Z
2020-12-21T10:56:44.000Z
hwtHls/ssa/translation/fromAst/astToSsa.py
Nic30/hwtHls
1fac6ed128318e698d51e15e9871249ddf243e1c
[ "MIT" ]
2
2018-09-25T03:28:18.000Z
2021-12-15T10:28:35.000Z
from typing import Union, List, Optional, Tuple, Set from hwt.hdl.operator import Operator from hwt.hdl.operatorDefs import AllOps from hwt.hdl.portItem import HdlPortItem from hwt.hdl.statements.assignmentContainer import HdlAssignmentContainer from hwt.hdl.statements.codeBlockContainer import HdlStmCodeBlockContaine...
45.487342
136
0.64881
6202a8816bac81aec1be652ea835f294593e8695
12,009
py
Python
pyvultr/v2/load_balance.py
luxiaba/pyvultr
29b45d036f728c15d91c4b590bd893b9c7f609ae
[ "MIT" ]
4
2021-12-01T18:06:18.000Z
2022-01-22T12:39:52.000Z
pyvultr/v2/load_balance.py
luxiaba/pyvultr
29b45d036f728c15d91c4b590bd893b9c7f609ae
[ "MIT" ]
1
2021-12-19T14:05:42.000Z
2021-12-19T14:05:42.000Z
pyvultr/v2/load_balance.py
luxiaba/pyvultr
29b45d036f728c15d91c4b590bd893b9c7f609ae
[ "MIT" ]
1
2021-12-20T04:54:08.000Z
2021-12-20T04:54:08.000Z
from dataclasses import dataclass from functools import partial from typing import Dict, List, Optional from urllib.parse import urljoin from pyvultr.utils import BaseDataclass, VultrPagination, get_only_value, merge_args from .base import BaseVultrV2, command from .enums import LoadBalanceAlgorithm, LoadBalanceProto...
39.117264
118
0.670081
62034dcbe266726fc371d74a18776dc2103cd7d1
12,848
py
Python
hacking/HTB/Reddish/autopwn_reddish.py
Qazeer/code-snippets
6b15afb66312cbcf7c29f9ea32933ad0cbf65154
[ "Unlicense" ]
219
2017-12-12T20:05:37.000Z
2022-03-27T06:08:08.000Z
hacking/HTB/Reddish/autopwn_reddish.py
FDlucifer/code-snippets
2635cf04bc90f1cd0e6b850a9b70d689f1ab7aba
[ "Unlicense" ]
3
2018-11-10T13:33:42.000Z
2020-10-21T13:53:00.000Z
hacking/HTB/Reddish/autopwn_reddish.py
FDlucifer/code-snippets
2635cf04bc90f1cd0e6b850a9b70d689f1ab7aba
[ "Unlicense" ]
108
2017-12-17T18:17:14.000Z
2022-03-15T13:24:44.000Z
#!/usr/bin/env python2 # Author: Alamot import json import time import uuid import fcntl import base64 import urllib import random import requests from pwn import * # context.log_level = 'debug' LHOST = get_ip_address('tun0') LPORT1 = "60000" LPORT2 = str(random.randint(60003, 62535)) LPORT3 = str(random.randint(625...
53.090909
1,448
0.611768
6204c146ab9d8f200d7b8f6e6bb1d0148b8857e7
1,735
py
Python
test/test_k_apaxiaaans.py
ivanlyon/exercises
0792976ae2acb85187b26a52812f9ebdd119b5e8
[ "MIT" ]
null
null
null
test/test_k_apaxiaaans.py
ivanlyon/exercises
0792976ae2acb85187b26a52812f9ebdd119b5e8
[ "MIT" ]
null
null
null
test/test_k_apaxiaaans.py
ivanlyon/exercises
0792976ae2acb85187b26a52812f9ebdd119b5e8
[ "MIT" ]
null
null
null
import io import unittest from unittest.mock import patch from kattis import k_apaxiaaans ############################################################################### ############################################################################### if __name__ == '__main__': unittest.main()
36.145833
79
0.571182
6204c171addcdbab6da1839b62dea0022b3b30e5
829
py
Python
kata/Greeting My Friends [Arrays].py
DJO3/code_wars
8e9bc8cd903bfc61dafaf11cb9ff289f469e761f
[ "MIT" ]
null
null
null
kata/Greeting My Friends [Arrays].py
DJO3/code_wars
8e9bc8cd903bfc61dafaf11cb9ff289f469e761f
[ "MIT" ]
null
null
null
kata/Greeting My Friends [Arrays].py
DJO3/code_wars
8e9bc8cd903bfc61dafaf11cb9ff289f469e761f
[ "MIT" ]
null
null
null
""" We give you an Array of friend's list. Write a function called greeting_for_all_friends that takes one argument, friends. This method takes an array of friends name and return a greeting messages Array. Message sample: for the friend "Bilal" we get "Hello, Bilal!" Rules: If the argument is null, the method sho...
28.586207
108
0.738239
6204f9cec65f309afe5538b66f4dfe8bac9af897
11,469
py
Python
tests/test_transforms.py
rushyaP/pytorchvideo
875b2df67312f5f4c7d581a332701cc7eca11c14
[ "Apache-2.0" ]
1
2021-05-20T21:25:14.000Z
2021-05-20T21:25:14.000Z
tests/test_transforms.py
rushyaP/pytorchvideo
875b2df67312f5f4c7d581a332701cc7eca11c14
[ "Apache-2.0" ]
null
null
null
tests/test_transforms.py
rushyaP/pytorchvideo
875b2df67312f5f4c7d581a332701cc7eca11c14
[ "Apache-2.0" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import unittest from collections import Counter import numpy as np import torch from pytorchvideo.data.utils import thwc_to_cthw from pytorchvideo.transforms import ( ApplyTransformToKey, Normalize, OpSampler, RandomShortSideScale...
38.35786
88
0.624553
62053e8d0f3189aeee01ea44d5273ade06244a54
20,905
py
Python
udacity-program_self_driving_car_engineer_v1.0/project04-lane_detection_advanced/project/full_pipeline.py
linksdl/futuretec-project-self_driving_cars_projects
38e8f14543132ec86a8bada8d708eefaef23fee8
[ "MIT" ]
null
null
null
udacity-program_self_driving_car_engineer_v1.0/project04-lane_detection_advanced/project/full_pipeline.py
linksdl/futuretec-project-self_driving_cars_projects
38e8f14543132ec86a8bada8d708eefaef23fee8
[ "MIT" ]
null
null
null
udacity-program_self_driving_car_engineer_v1.0/project04-lane_detection_advanced/project/full_pipeline.py
linksdl/futuretec-project-self_driving_cars_projects
38e8f14543132ec86a8bada8d708eefaef23fee8
[ "MIT" ]
null
null
null
""" # !/usr/bin/env python # -*- coding: utf-8 -*- @Time : 2022/2/24 20:12 @Author : shengdl999links@gmail.com @ProjectName : udacity-program_self_driving_car_engineer_v1.0_source.0 @File : full_pipeline.py """ import numpy as np import cv2 import os import matplotlib.image as mpimg import matplotli...
39.743346
118
0.670796
620552e0f37628fdaf507905b2e507f52f6149a8
158
py
Python
pyblaze/nn/data/__init__.py
Greenroom-Robotics/pyblaze
e45e27fbd400b6ae2365ad2347165c7b5154ac51
[ "MIT" ]
20
2020-03-29T08:43:15.000Z
2021-12-17T21:38:17.000Z
pyblaze/nn/data/__init__.py
borchero/bxtorch
8d01568c8ee9fc05f5b3c84ca3ec68ea74eef9eb
[ "MIT" ]
4
2020-10-27T20:43:40.000Z
2021-04-29T12:19:39.000Z
pyblaze/nn/data/__init__.py
borchero/bxtorch
8d01568c8ee9fc05f5b3c84ca3ec68ea74eef9eb
[ "MIT" ]
2
2020-08-16T18:10:49.000Z
2021-03-31T23:17:28.000Z
import pyblaze.nn.data.extensions from .noise import NoiseDataset, LabeledNoiseDataset from .zip import ZipDataLoader from .transform import TransformDataset
31.6
52
0.860759
62068b662c2e57cf87551975ea7649e2326a5cd6
3,128
py
Python
main.py
MokkoFm/autoposting-comic-books
07021369e88370aeda33fe4b5d4bb3cd8bf01399
[ "MIT" ]
null
null
null
main.py
MokkoFm/autoposting-comic-books
07021369e88370aeda33fe4b5d4bb3cd8bf01399
[ "MIT" ]
null
null
null
main.py
MokkoFm/autoposting-comic-books
07021369e88370aeda33fe4b5d4bb3cd8bf01399
[ "MIT" ]
null
null
null
import requests import os import random from dotenv import load_dotenv import sys if __name__ == "__main__": main()
27.681416
79
0.636189
620690da1f145b5b2420aa8da8460ba8aab12a29
9,636
py
Python
google-cloud-sdk/platform/gsutil/gslib/commands/notification.py
KaranToor/MA450
c98b58aeb0994e011df960163541e9379ae7ea06
[ "Apache-2.0" ]
1
2017-11-29T18:52:27.000Z
2017-11-29T18:52:27.000Z
google-cloud-sdk/.install/.backup/platform/gsutil/gslib/commands/notification.py
KaranToor/MA450
c98b58aeb0994e011df960163541e9379ae7ea06
[ "Apache-2.0" ]
null
null
null
google-cloud-sdk/.install/.backup/platform/gsutil/gslib/commands/notification.py
KaranToor/MA450
c98b58aeb0994e011df960163541e9379ae7ea06
[ "Apache-2.0" ]
1
2020-07-25T12:09:01.000Z
2020-07-25T12:09:01.000Z
# -*- coding: utf-8 -*- # Copyright 2013 Google 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 require...
36.638783
113
0.732669
62082f1a3d2df0aa7c200e1ac37a24e5cc695f32
18,526
py
Python
src/mecanum_robot_gazebo/src/tool/pingpong_utils.py
diddytpq/Predict-Tennisball-LandingPoint
0ae4a9ff45fd4dd82b4b4e3cc2533e7fd5d1506a
[ "MIT" ]
null
null
null
src/mecanum_robot_gazebo/src/tool/pingpong_utils.py
diddytpq/Predict-Tennisball-LandingPoint
0ae4a9ff45fd4dd82b4b4e3cc2533e7fd5d1506a
[ "MIT" ]
null
null
null
src/mecanum_robot_gazebo/src/tool/pingpong_utils.py
diddytpq/Predict-Tennisball-LandingPoint
0ae4a9ff45fd4dd82b4b4e3cc2533e7fd5d1506a
[ "MIT" ]
null
null
null
import rospy import sys from gazebo_msgs.srv import * from geometry_msgs.msg import * import tf.transformations as tft import numpy as np import math import roslib from std_msgs.msg import Empty as EmptyMsg from std_msgs.msg import Float64 from nav_msgs.msg import Odometry import time from tool.mecanum_utils import * ...
35.558541
191
0.596837
6208cb2a2c64c71c60c631414ac312652b301b34
21,926
py
Python
kirbyClass.py
mattuff/KirbyCalculus
f2a2d2839cd5a658e5e82430619f43dfa6a65502
[ "MIT" ]
1
2022-03-11T07:45:02.000Z
2022-03-11T07:45:02.000Z
kirbyClass.py
mattuff/KirbyCalculus
f2a2d2839cd5a658e5e82430619f43dfa6a65502
[ "MIT" ]
null
null
null
kirbyClass.py
mattuff/KirbyCalculus
f2a2d2839cd5a658e5e82430619f43dfa6a65502
[ "MIT" ]
null
null
null
from crossingClass import * from joinClass import * from strandClass import * from componentClass import *
32.434911
144
0.528505
62098ed13ce2805c2274aa650c177f0c748ff79f
401
py
Python
projects/migrations/0017_project_status_isvalidated.py
joatuapp/joatu-django
5626d03ba89c55650ff5bff2e706ca0883ae3b9c
[ "MIT" ]
10
2018-05-13T18:01:57.000Z
2018-12-23T17:11:14.000Z
projects/migrations/0017_project_status_isvalidated.py
moileretour/joatu
9d18cb58b4280235688e269be6fd2d34b77ccead
[ "MIT" ]
88
2018-05-04T15:33:46.000Z
2022-03-08T21:09:21.000Z
projects/migrations/0017_project_status_isvalidated.py
joatuapp/joatu-django
5626d03ba89c55650ff5bff2e706ca0883ae3b9c
[ "MIT" ]
7
2018-05-08T16:05:06.000Z
2018-09-13T05:49:05.000Z
# Generated by Django 2.0.3 on 2018-03-26 01:17 from django.db import migrations, models
21.105263
53
0.613466
6209f7fa8b911f0682b7e6cecc7dc9fe96d9e302
1,177
py
Python
ps1/ps1_3.py
collin-li/mitx-6.00.1x
7fb111586c6b82e205e86fadfb4d91d09de46808
[ "MIT" ]
null
null
null
ps1/ps1_3.py
collin-li/mitx-6.00.1x
7fb111586c6b82e205e86fadfb4d91d09de46808
[ "MIT" ]
1
2017-02-06T02:46:08.000Z
2017-02-06T02:46:08.000Z
ps1/ps1_3.py
collin-li/mitx-6.00.1x
7fb111586c6b82e205e86fadfb4d91d09de46808
[ "MIT" ]
null
null
null
# PROBLEM # # Assume s is a string of lower case characters. # # Write a program that prints the longest substring of s in which the letters # occur in alphabetical order. For example, if s = 'azcbobobegghakl', then your # program should print: # # 'Longest substring in alphabetical order is: beggh' # # In case of ti...
26.155556
80
0.626168
620afd69fe7804f73854cad5c0dd48effc58af61
992
py
Python
bib2web/mandatory_fields.py
Juvawa/bib2web
8d6c2244e46eefee1a519f8b3b656a143aa8bd9e
[ "MIT" ]
null
null
null
bib2web/mandatory_fields.py
Juvawa/bib2web
8d6c2244e46eefee1a519f8b3b656a143aa8bd9e
[ "MIT" ]
null
null
null
bib2web/mandatory_fields.py
Juvawa/bib2web
8d6c2244e46eefee1a519f8b3b656a143aa8bd9e
[ "MIT" ]
null
null
null
mandatory = \ { 'article' : ['ENTRYTYPE', 'ID', 'author', 'title', 'journal', 'year', 'volume'], 'book' : ['ENTRYTYPE', 'ID', 'title', 'publisher', 'year'], 'booklet' : ['ENTRYTYPE', 'ID', 'title', 'year'], 'conference' : ['ENTRYTYPE', 'ID', 'author', 'title', 'booktitle', 'publisher', 'year'], 'inbook' : ['...
58.352941
91
0.563508
620c76cdf8b6c6cb6855109a069ebc57b866672e
6,809
py
Python
trainAndTest/processOneFold_sm.py
rsanchezgarc/BIPSPI
e155fee0836084ea02bc9919c58817d26a4a13e5
[ "Apache-2.0" ]
5
2020-01-21T21:11:49.000Z
2022-02-06T19:55:28.000Z
trainAndTest/processOneFold_sm.py
rsanchezgarc/BIPSPI
e155fee0836084ea02bc9919c58817d26a4a13e5
[ "Apache-2.0" ]
null
null
null
trainAndTest/processOneFold_sm.py
rsanchezgarc/BIPSPI
e155fee0836084ea02bc9919c58817d26a4a13e5
[ "Apache-2.0" ]
3
2018-05-25T14:57:36.000Z
2022-01-27T12:53:41.000Z
from __future__ import print_function import itertools import sys, os import inspect import numpy as np from joblib import load as joblib_load from .resultsManager import ResultsManager #from .classifiers.randomForest import trainMethod, predictMethod from .classifiers.xgBoost import trainMethod, predictMethod def ...
46.636986
122
0.697606
620d0e354faec7f287cbe008e0fab6e397c53f56
7,289
py
Python
manila_tempest_tests/tests/api/admin/test_snapshot_export_locations_negative.py
openstack/manila-tempest-plugin
9c4a97b150e15b814acd4feb4da858a0eeff881e
[ "Apache-2.0" ]
9
2017-10-31T10:36:34.000Z
2020-10-07T01:31:38.000Z
manila_tempest_tests/tests/api/admin/test_snapshot_export_locations_negative.py
openstack/manila-tempest-plugin
9c4a97b150e15b814acd4feb4da858a0eeff881e
[ "Apache-2.0" ]
null
null
null
manila_tempest_tests/tests/api/admin/test_snapshot_export_locations_negative.py
openstack/manila-tempest-plugin
9c4a97b150e15b814acd4feb4da858a0eeff881e
[ "Apache-2.0" ]
4
2018-07-19T13:55:51.000Z
2021-11-05T17:50:27.000Z
# Copyright (c) 2017 Hitachi Data Systems, 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 # # U...
41.651429
79
0.69255
620d308ec14780c98f6cbb15fbaefde43dfb9edb
6,614
py
Python
gateway/spvtable.py
trinity-project/trinity
081eba1d4294a3bed33ba18c3f7b862b8803ee22
[ "MIT" ]
60
2018-01-12T07:33:15.000Z
2021-12-28T23:06:28.000Z
gateway/spvtable.py
trinity-project/trinity
081eba1d4294a3bed33ba18c3f7b862b8803ee22
[ "MIT" ]
13
2018-01-23T00:14:35.000Z
2020-04-23T00:03:31.000Z
gateway/spvtable.py
trinity-project/trinity
081eba1d4294a3bed33ba18c3f7b862b8803ee22
[ "MIT" ]
13
2018-01-05T07:27:29.000Z
2021-01-06T16:45:05.000Z
"""Author: Trinity Core Team MIT License Copyright (c) 2018 Trinity 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,...
29.659193
91
0.580738
620eed4cbd2619972703ee779c16c8a7ab6c7ba9
54
py
Python
src/apps/startposes/models/__init__.py
sanderland/katago-server
6414fab080d007c05068a06ff4f25907b92848bd
[ "MIT" ]
27
2020-05-03T11:01:27.000Z
2022-03-17T05:33:10.000Z
src/apps/startposes/models/__init__.py
sanderland/katago-server
6414fab080d007c05068a06ff4f25907b92848bd
[ "MIT" ]
54
2020-05-09T01:18:41.000Z
2022-01-22T10:31:15.000Z
src/apps/startposes/models/__init__.py
sanderland/katago-server
6414fab080d007c05068a06ff4f25907b92848bd
[ "MIT" ]
9
2020-09-29T11:31:32.000Z
2022-03-09T01:37:50.000Z
from .startpos import StartPos, StartPosCumWeightOnly
27
53
0.87037
620fe82f37b4b5c4aa7773e3305715688885bc0e
8,342
py
Python
python/chronos/test/bigdl/chronos/autots/test_tspipeline.py
joan726/BigDL
2432f420418c8ccf02325f8677c94f291e112053
[ "Apache-2.0" ]
3
2021-07-14T01:28:47.000Z
2022-03-02T01:16:32.000Z
python/chronos/test/bigdl/chronos/autots/test_tspipeline.py
liangs6212/BigDL
3c89ff7e8bbdc713110536c18099506811cd2b3a
[ "Apache-2.0" ]
null
null
null
python/chronos/test/bigdl/chronos/autots/test_tspipeline.py
liangs6212/BigDL
3c89ff7e8bbdc713110536c18099506811cd2b3a
[ "Apache-2.0" ]
null
null
null
# # Copyright 2016 The BigDL Authors. # # 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 ...
44.849462
90
0.532846
62112ee54eed681ca29c3d8ae3b4bec88531086a
42,076
py
Python
src/app/QKeithleySweep.py
mwchalmers/QKeithleyControl
94e85cd8bc42d54f2cef4d0cfdb3ee4b62bcba41
[ "MIT" ]
6
2020-06-18T18:42:24.000Z
2022-01-26T06:21:13.000Z
src/app/QKeithleySweep.py
mwchalmers/QKeithleyControl
94e85cd8bc42d54f2cef4d0cfdb3ee4b62bcba41
[ "MIT" ]
1
2021-12-23T11:12:17.000Z
2021-12-23T11:12:17.000Z
src/app/QKeithleySweep.py
mwchalmers/QKeithleyControl
94e85cd8bc42d54f2cef4d0cfdb3ee4b62bcba41
[ "MIT" ]
3
2019-12-24T20:43:23.000Z
2021-08-29T13:48:17.000Z
# --------------------------------------------------------------------------------- # QKeithleySweep -> QVisaApplication # Copyright (C) 2019 Michael Winters # github: https://github.com/mesoic # email: mesoic@protonmail.com # --------------------------------------------------------------------------------- # # Per...
30.824908
197
0.696811
62130b375ece64a9c0e907cb577ca9c4c8cd327e
1,620
py
Python
tests/fields/test_render.py
jpsca/pforms
77c9da93e5224e79bb147aa873f28951e972bb21
[ "MIT" ]
2
2020-09-30T22:41:00.000Z
2020-12-04T16:47:17.000Z
tests/fields/test_render.py
jpsca/hyperform
d5c450ad8684a853fed26f8c2606877151125a9e
[ "MIT" ]
2
2021-11-18T18:01:28.000Z
2021-11-18T18:03:29.000Z
tests/fields/test_render.py
jpsca/hyperform
d5c450ad8684a853fed26f8c2606877151125a9e
[ "MIT" ]
null
null
null
import proper_forms.fields as f
24.179104
75
0.588889
621340935801ad4caf2565122ba09adde8da7eaf
30,832
py
Python
gerber.py
BetaPollux/gerbex
aeb013da642135d28d809ddb07febc129219d297
[ "MIT" ]
null
null
null
gerber.py
BetaPollux/gerbex
aeb013da642135d28d809ddb07febc129219d297
[ "MIT" ]
null
null
null
gerber.py
BetaPollux/gerbex
aeb013da642135d28d809ddb07febc129219d297
[ "MIT" ]
1
2021-12-05T14:44:26.000Z
2021-12-05T14:44:26.000Z
#!/usr/bin/python3 # RS-274X per standard Revision 2021.02 import re import copy import numpy as np import vertices # TODO replace all vertices with outline class # Meant for extracting substrings only # Cast to int or float will catch invalid strings RE_INT = r'[+-]?[0-9]+' RE_DEC = r'[+-]?[0-9\.]+?' EXPOSURE_ON...
35.196347
95
0.570025
621341c710939a44f425e8019b3137c8dfb8ad3f
3,558
py
Python
angrmanagement/ui/menus/disasm_insn_context_menu.py
yuzeming/angr-management
173d3ffa02146956e5f0c9c8862da56988fa67b2
[ "BSD-2-Clause" ]
474
2015-08-10T17:47:15.000Z
2022-03-31T21:10:55.000Z
angrmanagement/ui/menus/disasm_insn_context_menu.py
yuzeming/angr-management
173d3ffa02146956e5f0c9c8862da56988fa67b2
[ "BSD-2-Clause" ]
355
2015-08-17T09:35:53.000Z
2022-03-31T21:29:52.000Z
angrmanagement/ui/menus/disasm_insn_context_menu.py
yuzeming/angr-management
173d3ffa02146956e5f0c9c8862da56988fa67b2
[ "BSD-2-Clause" ]
95
2015-08-11T14:36:12.000Z
2022-03-31T23:01:01.000Z
from functools import partial from typing import Callable from typing import TYPE_CHECKING from ...config import Conf from .menu import Menu, MenuEntry, MenuSeparator if TYPE_CHECKING: from ...ui.views.disassembly_view import DisassemblyView
36.306122
114
0.666948
621428e35c36b4c6fb3b8e653cb6dee70e33f859
2,787
py
Python
src/panoptes/pocs/base.py
sarumanplaysguitar/POCS
b6c50cb70b8f3fc2147e975e5cd3cd953956da8d
[ "MIT" ]
null
null
null
src/panoptes/pocs/base.py
sarumanplaysguitar/POCS
b6c50cb70b8f3fc2147e975e5cd3cd953956da8d
[ "MIT" ]
null
null
null
src/panoptes/pocs/base.py
sarumanplaysguitar/POCS
b6c50cb70b8f3fc2147e975e5cd3cd953956da8d
[ "MIT" ]
null
null
null
from requests.exceptions import ConnectionError from panoptes.pocs import __version__ from panoptes.utils.database import PanDB from panoptes.utils.config import client from panoptes.pocs.utils.logger import get_logger from panoptes.pocs import hardware # Global database. PAN_DB_OBJ = None
35.278481
97
0.642985
62148220d3b68cf5b490d8e272125fd66f2e326e
12,455
py
Python
src/metarl/envs/multi_env_wrapper.py
icml2020submission6857/metarl
9b66cefa2b6bcb6a38096d629ce8853b47c7171d
[ "MIT" ]
2
2020-03-15T14:35:15.000Z
2021-02-15T16:38:00.000Z
src/metarl/envs/multi_env_wrapper.py
icml2020submission6857/metarl
9b66cefa2b6bcb6a38096d629ce8853b47c7171d
[ "MIT" ]
null
null
null
src/metarl/envs/multi_env_wrapper.py
icml2020submission6857/metarl
9b66cefa2b6bcb6a38096d629ce8853b47c7171d
[ "MIT" ]
1
2020-02-24T03:04:23.000Z
2020-02-24T03:04:23.000Z
"""A wrapper env that handles multiple tasks from different envs. Useful while training multi-task reinforcement learning algorithms. It provides observations augmented with one-hot representation of tasks. """ import random import akro import gym import numpy as np def round_robin_strategy(num_tasks, last_task=No...
29.305882
111
0.607226
6214cfd0d71589122131f56a39aa2ef13d007862
773
py
Python
MyNewHandTracking.py
Hai-Hoang-88/HandTracking
c35cf442c4305a48ac1182570c266df4d3b877dd
[ "Unlicense" ]
null
null
null
MyNewHandTracking.py
Hai-Hoang-88/HandTracking
c35cf442c4305a48ac1182570c266df4d3b877dd
[ "Unlicense" ]
null
null
null
MyNewHandTracking.py
Hai-Hoang-88/HandTracking
c35cf442c4305a48ac1182570c266df4d3b877dd
[ "Unlicense" ]
null
null
null
import cv2 import mediapipe as mp import time import HandTracking_module as htm # initiate time pTime = 0 cTime = 0 cap = cv2.VideoCapture(0) # 0 is internal camera, while 1 is external camera detector = htm.handDetector() while True: success, img = cap.read() img = detector.findHands(img) # get ...
27.607143
91
0.619664
62170b104a1052dcd0eae68ee028a14da9c51172
2,113
py
Python
exercises/en/solution_07_23.py
hfboyce/MCL-DSCI-571-machine-learning
25757369491ac547daa94ff1143ca7389d433a6e
[ "MIT" ]
1
2020-09-12T15:40:11.000Z
2020-09-12T15:40:11.000Z
exercises/en/solution_07_23.py
hfboyce/MCL-DSCI-571-machine-learning
25757369491ac547daa94ff1143ca7389d433a6e
[ "MIT" ]
13
2020-10-02T16:48:24.000Z
2020-12-09T18:58:21.000Z
exercises/en/solution_07_23.py
hfboyce/MCL-DSCI-571-machine-learning
25757369491ac547daa94ff1143ca7389d433a6e
[ "MIT" ]
2
2020-10-28T19:43:42.000Z
2021-03-30T22:57:47.000Z
import numpy as np import pandas as pd import warnings warnings.simplefilter(action='ignore', category=FutureWarning) from sklearn.model_selection import train_test_split, cross_validate from sklearn.preprocessing import OneHotEncoder, StandardScaler, OrdinalEncoder from sklearn.impute import SimpleImputer from sklearn...
37.732143
107
0.681496
6217c3865432b1a663db3913c183c3b2bdd9e8cf
53
py
Python
src/algorithm/__init__.py
ShogoAkiyama/metaworld.pytorch
6b08163d2c0d73b6d1d9b4b513d18f0a308e92c4
[ "MIT" ]
null
null
null
src/algorithm/__init__.py
ShogoAkiyama/metaworld.pytorch
6b08163d2c0d73b6d1d9b4b513d18f0a308e92c4
[ "MIT" ]
null
null
null
src/algorithm/__init__.py
ShogoAkiyama/metaworld.pytorch
6b08163d2c0d73b6d1d9b4b513d18f0a308e92c4
[ "MIT" ]
null
null
null
from .sac import SAC from .eval import EvalAlgorithm
17.666667
31
0.811321
6218792313b28bf05b712a8e421f24aaaa0f9100
8,110
py
Python
Parallel_POD/online_svd_parallel.py
Romit-Maulik/Tutorials-Demos-Practice
a58ddc819f24a16f7059e63d7f201fc2cd23e03a
[ "MIT" ]
8
2020-09-02T14:46:07.000Z
2021-11-29T15:27:05.000Z
Parallel_POD/online_svd_parallel.py
omersan/Practice
77eecdc2a202e6b333123cfd92e7db6dc0eea021
[ "MIT" ]
18
2020-11-13T18:49:33.000Z
2022-03-12T00:54:43.000Z
Parallel_POD/online_svd_parallel.py
omersan/Practice
77eecdc2a202e6b333123cfd92e7db6dc0eea021
[ "MIT" ]
5
2019-09-25T23:57:00.000Z
2021-04-18T08:15:34.000Z
import numpy as np np.random.seed(10) import matplotlib.pyplot as plt from mpi4py import MPI # For shared memory deployment: `export OPENBLAS_NUM_THREADS=1` # Method of snapshots def generate_right_vectors(A): ''' A - Snapshot matrix - shape: NxS returns V - truncated right singular vectors ''' ne...
30.954198
108
0.569667
62190035d82be78029e09978dd1bef9d1d34feb6
12,887
py
Python
joboffers/models.py
Devecoop/pyarweb
ee42f0aa871569cc30a6a678dcdc43293d38c0bb
[ "Apache-2.0" ]
1
2022-01-14T18:38:25.000Z
2022-01-14T18:38:25.000Z
joboffers/models.py
Devecoop/pyarweb
ee42f0aa871569cc30a6a678dcdc43293d38c0bb
[ "Apache-2.0" ]
37
2022-01-17T14:41:51.000Z
2022-02-16T13:50:05.000Z
joboffers/models.py
Devecoop/pyarweb
ee42f0aa871569cc30a6a678dcdc43293d38c0bb
[ "Apache-2.0" ]
null
null
null
import html import json import re from datetime import date from autoslug import AutoSlugField from django.conf import settings from django.contrib.contenttypes.models import ContentType from django.core.validators import MinLengthValidator from django.db.models.aggregates import Count from django.db import models fr...
32.298246
96
0.632575
621946fa869b479764d5f279c948e790f062b5f0
32,670
py
Python
lib/networks/ResNet101_HICO.py
zhihou7/VCL
1bc21ec64d3bae15b8bac524cfa4beeaf08f2c48
[ "MIT" ]
29
2020-07-28T03:11:21.000Z
2022-03-09T04:37:47.000Z
lib/networks/ResNet101_HICO.py
zhihou7/VCL
1bc21ec64d3bae15b8bac524cfa4beeaf08f2c48
[ "MIT" ]
8
2020-08-19T06:40:42.000Z
2022-03-07T03:48:57.000Z
lib/networks/ResNet101_HICO.py
zhihou7/VCL
1bc21ec64d3bae15b8bac524cfa4beeaf08f2c48
[ "MIT" ]
7
2020-07-20T09:05:17.000Z
2021-11-26T13:04:25.000Z
# -------------------------------------------------------- # Tensorflow VCL # Licensed under The MIT License [see LICENSE for details] # Written by Zhi Hou, based on code from Transferable-Interactiveness-Network, Chen Gao, Zheqi he and Xinlei Chen # -------------------------------------------------------- from __futu...
52.949757
158
0.589654
621b663ff688adbcc08ffd8203aafeded181974f
7,738
py
Python
nova_powervm/tests/virt/powervm/test_mgmt.py
openstack/nova-powervm
376d9493e2a10313068508daf9054d7ecf6d121f
[ "Apache-2.0" ]
24
2015-10-18T02:55:20.000Z
2021-11-17T11:43:51.000Z
nova_powervm/tests/virt/powervm/test_mgmt.py
openstack/nova-powervm
376d9493e2a10313068508daf9054d7ecf6d121f
[ "Apache-2.0" ]
null
null
null
nova_powervm/tests/virt/powervm/test_mgmt.py
openstack/nova-powervm
376d9493e2a10313068508daf9054d7ecf6d121f
[ "Apache-2.0" ]
12
2015-10-26T17:38:05.000Z
2021-07-21T12:45:19.000Z
# Copyright 2015, 2017 IBM Corp. # # 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 require...
40.093264
79
0.652106
621e1832f00c1f8797826395cfb9b871267408f4
960
py
Python
tools.py
fairuzap97/psgan
18d49d3d9e6dcb66e019764141fc855d04e4b25b
[ "MIT" ]
29
2018-02-16T09:56:08.000Z
2022-01-27T16:22:40.000Z
tools.py
fairuzap97/psgan
18d49d3d9e6dcb66e019764141fc855d04e4b25b
[ "MIT" ]
null
null
null
tools.py
fairuzap97/psgan
18d49d3d9e6dcb66e019764141fc855d04e4b25b
[ "MIT" ]
16
2018-09-24T21:16:25.000Z
2021-09-26T09:22:07.000Z
# -*- coding: utf-8 -*- import sys, os from time import time def create_dir(folder): ''' creates a folder, if necessary ''' if not os.path.exists(folder): os.makedirs(folder) if __name__=="__main__": print("this is just a library.")
24.615385
145
0.591667
621e26224a5b7df57e76176ccf102f633408ef39
290
py
Python
models/catch_event.py
THM-MA/XSDATA-waypoint
dd94442f9d6677c525bf3ebb03c15fec52fa1079
[ "MIT" ]
null
null
null
models/catch_event.py
THM-MA/XSDATA-waypoint
dd94442f9d6677c525bf3ebb03c15fec52fa1079
[ "MIT" ]
null
null
null
models/catch_event.py
THM-MA/XSDATA-waypoint
dd94442f9d6677c525bf3ebb03c15fec52fa1079
[ "MIT" ]
null
null
null
from dataclasses import dataclass from .t_catch_event import TCatchEvent __NAMESPACE__ = "http://www.omg.org/spec/BPMN/20100524/MODEL"
24.166667
65
0.731034
621f31f3e4ecd411a063519956fdcb002c6f41f7
1,305
py
Python
jarviscli/plugins/advice_giver.py
hugofpaiva/Jarvis
8c7bec950fa2850cba635e2dfcb45e3e8107fbf2
[ "MIT" ]
null
null
null
jarviscli/plugins/advice_giver.py
hugofpaiva/Jarvis
8c7bec950fa2850cba635e2dfcb45e3e8107fbf2
[ "MIT" ]
null
null
null
jarviscli/plugins/advice_giver.py
hugofpaiva/Jarvis
8c7bec950fa2850cba635e2dfcb45e3e8107fbf2
[ "MIT" ]
null
null
null
import random from plugin import plugin ANSWERS = [ "No", "Yes", "You Can Do It!", "I Cant Help You", "Sorry To hear That, But You Must Forget :(", "Keep It Up!", "Nice", "Dont Do It Ever Again", "I Like It, Good Job", "I Am Not Certain", "Too Bad For You, Try To Find Something Else To Do And Enj...
27.765957
65
0.556322
621f442528eb038457c4f4d99ef47c676a11ad6e
3,204
py
Python
PaddleRec/text_matching_on_quora/models/sse.py
suytingwan/models
ccdbfe77d071cc19b55fb9f4b738912e35d982ef
[ "Apache-2.0" ]
5
2021-09-28T13:28:01.000Z
2021-12-21T07:25:44.000Z
PaddleRec/text_matching_on_quora/models/sse.py
suytingwan/models
ccdbfe77d071cc19b55fb9f4b738912e35d982ef
[ "Apache-2.0" ]
2
2019-06-26T03:21:49.000Z
2019-09-19T09:43:42.000Z
PaddleRec/text_matching_on_quora/models/sse.py
suytingwan/models
ccdbfe77d071cc19b55fb9f4b738912e35d982ef
[ "Apache-2.0" ]
3
2019-10-31T07:18:49.000Z
2020-01-13T03:18:39.000Z
# Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
39.073171
79
0.5902