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
25b4d5eeead3f970706a1374c6a7f40b94ccf5d5
1,167
py
Python
app/editor/animation_editor/animation_tab.py
zerorock1312/lt-maker-master
82f733683f9dba763a5de8567c41fd7cbcfb0173
[ "MIT" ]
null
null
null
app/editor/animation_editor/animation_tab.py
zerorock1312/lt-maker-master
82f733683f9dba763a5de8567c41fd7cbcfb0173
[ "MIT" ]
null
null
null
app/editor/animation_editor/animation_tab.py
zerorock1312/lt-maker-master
82f733683f9dba763a5de8567c41fd7cbcfb0173
[ "MIT" ]
null
null
null
from app.resources.resources import RESOURCES from app.extensions.custom_gui import ResourceListView from app.editor.data_editor import SingleResourceEditor from app.editor.base_database_gui import DatabaseTab from app.editor.animation_editor import animation_model, animation_properties # Testing # Run "python -m ap...
35.363636
79
0.732648
25b55d88dcab9d2dffb59f59c615572e4c007d1c
98
py
Python
app/views/dashboard.py
aviago/aviago
6812f27a6fe1472752b274c9497487eed8d63abd
[ "Apache-2.0" ]
null
null
null
app/views/dashboard.py
aviago/aviago
6812f27a6fe1472752b274c9497487eed8d63abd
[ "Apache-2.0" ]
null
null
null
app/views/dashboard.py
aviago/aviago
6812f27a6fe1472752b274c9497487eed8d63abd
[ "Apache-2.0" ]
null
null
null
from .base import BaseUserView
14
30
0.693878
25bd9069c5a294404fe7ae509383c7f176278cbc
12,070
py
Python
ikabot/function/sellResources.py
adaamz/ikabot
d243e612ba083a39f6efce15012d173aad693dc6
[ "MIT" ]
null
null
null
ikabot/function/sellResources.py
adaamz/ikabot
d243e612ba083a39f6efce15012d173aad693dc6
[ "MIT" ]
null
null
null
ikabot/function/sellResources.py
adaamz/ikabot
d243e612ba083a39f6efce15012d173aad693dc6
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 # -*- coding: utf-8 -*- import time import math import json import gettext import traceback from decimal import * from ikabot.config import * from ikabot.helpers.gui import * from ikabot.helpers.market import * from ikabot.helpers.botComm import * from ikabot.helpers.varios import addDot, wait ...
35.60472
663
0.69536
25bda1617f91f8624a17b3c445635a9f9cb1d1dd
2,576
py
Python
openclean/function/value/text.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
4
2021-04-20T09:06:26.000Z
2021-11-20T20:31:28.000Z
openclean/function/value/text.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
14
2021-01-19T19:23:16.000Z
2021-04-28T14:31:03.000Z
openclean/function/value/text.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
5
2021-08-24T11:57:21.000Z
2022-03-17T04:39:04.000Z
# This file is part of the Data Cleaning Library (openclean). # # Copyright (C) 2018-2021 New York University. # # openclean is released under the Revised BSD License. See file LICENSE for # full license details. """Helper functions for strings.""" from typing import Any from openclean.data.types import Value from o...
22.596491
79
0.593168
25beeed839f274d72d91b74c8a4940ac9efd14ae
1,570
py
Python
eddiebot_apps/eddiebot_ssl/scripts/model_controller.py
TooSchoolForCool/EddieBot-ROS
5dad6d5a6eb974135b7c9587abc0ae17d1ec6760
[ "Apache-2.0" ]
5
2019-05-15T19:31:47.000Z
2019-08-31T01:12:35.000Z
eddiebot_apps/eddiebot_ssl/scripts/model_controller.py
TooSchoolForCool/EddieBot-ROS
5dad6d5a6eb974135b7c9587abc0ae17d1ec6760
[ "Apache-2.0" ]
null
null
null
eddiebot_apps/eddiebot_ssl/scripts/model_controller.py
TooSchoolForCool/EddieBot-ROS
5dad6d5a6eb974135b7c9587abc0ae17d1ec6760
[ "Apache-2.0" ]
4
2019-06-03T12:21:44.000Z
2019-12-25T08:57:46.000Z
#!/usr/bin/env python import rospy import tf from gazebo_msgs.srv import SetModelState, DeleteModel, SpawnModel from gazebo_msgs.msg import ModelState from geometry_msgs.msg import Pose, Point, Quaternion
28.545455
84
0.738217
25bef1982e64b0ee23f81d6d159d335e97c5baff
604
py
Python
lang/jquery_python/read/redis_python_read.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
3
2015-05-12T16:44:27.000Z
2021-02-09T00:39:24.000Z
lang/jquery_python/read/redis_python_read.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
null
null
null
lang/jquery_python/read/redis_python_read.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
null
null
null
#! /usr/bin/python3 # -*- coding: utf-8 -*- # # redis_python_read.py # # Dec/09/2014 # # import sys import json import redis # # ---------------------------------------------------------------- rr = redis.Redis(host='host_dbase', port=6379, db=0) # keys = rr.keys ('t*') dict_aa = {} for key_bb in sorted (keys): ...
18.875
66
0.504967
25c1397a1fdd090ba6d14772fc3b4d4aa93b1d54
1,015
py
Python
Hash and Counting/SpecialKeyboard.py
haaris272k/Problem-Solving-Collection
5c8d0c36aff0d525ffec880115f5e123d0f3092b
[ "MIT" ]
1
2022-02-28T06:49:25.000Z
2022-02-28T06:49:25.000Z
Hash and Counting/SpecialKeyboard.py
haaris272k/Problem-Solving-Collection
5c8d0c36aff0d525ffec880115f5e123d0f3092b
[ "MIT" ]
null
null
null
Hash and Counting/SpecialKeyboard.py
haaris272k/Problem-Solving-Collection
5c8d0c36aff0d525ffec880115f5e123d0f3092b
[ "MIT" ]
null
null
null
"""Imagine you have a special keyboard with all keys in a single row. The layout of characters on a keyboard is denoted by a string S1 of length 26. S1 is indexed from 0 to 25. Initially, your finger is at index 0. To type a character, you have to move your finger to the index of the desired character. The time taken t...
30.757576
263
0.692611
25c1cb3bad57e1815eb464351a2379c671232a0c
334
py
Python
en_fila/apps/management/migrations/0004_remove_employee_employee_passcode.py
puertoricanDev/En_fila
cf2551190be61f6a6ce705cccf35734edc682eef
[ "MIT" ]
null
null
null
en_fila/apps/management/migrations/0004_remove_employee_employee_passcode.py
puertoricanDev/En_fila
cf2551190be61f6a6ce705cccf35734edc682eef
[ "MIT" ]
null
null
null
en_fila/apps/management/migrations/0004_remove_employee_employee_passcode.py
puertoricanDev/En_fila
cf2551190be61f6a6ce705cccf35734edc682eef
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-11-16 20:36 from django.db import migrations
18.555556
47
0.598802
25c3b7815ccdc3dde3489a68e92e0d683b1cb9a9
8,933
py
Python
backend/app/app/api/api_v1/system/user.py
lianjy357/vue-element-admin-fastapi
70f697af33ca747a154d0de129f4cbd7f9d03f7b
[ "MIT" ]
10
2020-12-16T07:31:29.000Z
2022-01-27T08:01:22.000Z
backend/app/app/api/api_v1/system/user.py
lianjy357/vue-element-admin-fastapi
70f697af33ca747a154d0de129f4cbd7f9d03f7b
[ "MIT" ]
null
null
null
backend/app/app/api/api_v1/system/user.py
lianjy357/vue-element-admin-fastapi
70f697af33ca747a154d0de129f4cbd7f9d03f7b
[ "MIT" ]
3
2021-03-18T11:38:21.000Z
2021-09-02T06:23:15.000Z
from typing import Any, Dict, Optional,List from fastapi import APIRouter, Depends, HTTPException,Body,Request from sqlalchemy.orm import Session,joinedload_all,contains_eager,Load from fastapi.encoders import jsonable_encoder from app import crud, models, schemas from app.api import deps from app.core.security import...
38.012766
161
0.643233
25c457b39bbaed7f480836fca9e32dd4932de388
2,676
py
Python
janus/driver.py
zhenglz/janus
f3f1ed3f2b6e377c51e958cae2d919069d221eda
[ "BSD-3-Clause" ]
null
null
null
janus/driver.py
zhenglz/janus
f3f1ed3f2b6e377c51e958cae2d919069d221eda
[ "BSD-3-Clause" ]
null
null
null
janus/driver.py
zhenglz/janus
f3f1ed3f2b6e377c51e958cae2d919069d221eda
[ "BSD-3-Clause" ]
null
null
null
""" This is the qmmm driver module """ import pickle from janus import Initializer def run_janus(filename='input.json'): """ Drives the janus program. Creates an instance of the Initializer class and feeds wrappers to either :func:`~janus.driver.run_simulation` or :func:`~janus.driver.run_single_...
28.774194
116
0.688341
25c4e0bb94bfd2ad59d043f0c31d6a9489178782
7,632
py
Python
teether/slicing.py
ljhOfGithub/teether
7c74dbe0853a527fcb8a458cbb6485d4dd07a375
[ "Apache-2.0" ]
null
null
null
teether/slicing.py
ljhOfGithub/teether
7c74dbe0853a527fcb8a458cbb6485d4dd07a375
[ "Apache-2.0" ]
null
null
null
teether/slicing.py
ljhOfGithub/teether
7c74dbe0853a527fcb8a458cbb6485d4dd07a375
[ "Apache-2.0" ]
null
null
null
from teether.cfg.instruction import Instruction from teether.cfg.opcodes import potentially_user_controlled from teether.explorer.backward import traverse_back from teether.util.intrange import Range
43.862069
120
0.624476
25c4fd8ace573f044a14fdb19367fd2f41c3ec1f
8,229
py
Python
install/app_store/tk-nuke-writenode/v1.2.0/app.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
null
null
null
install/app_store/tk-nuke-writenode/v1.2.0/app.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
null
null
null
install/app_store/tk-nuke-writenode/v1.2.0/app.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
1
2020-02-15T10:42:56.000Z
2020-02-15T10:42:56.000Z
# Copyright (c) 2013 Shotgun Software Inc. # # CONFIDENTIAL AND PROPRIETARY # # This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit # Source Code License included in this distribution package. See LICENSE. # By accessing, using, copying or modifying this work you indicate your # agreement to t...
34.004132
89
0.652813
25c51b38c650548c45b9f618e5ea521be6de4a8b
1,398
py
Python
decorators/logging_decorator.py
devwarrior/python_coding
4a0029efab2fa15cdd26575f87d7fb02f570ac73
[ "MIT" ]
null
null
null
decorators/logging_decorator.py
devwarrior/python_coding
4a0029efab2fa15cdd26575f87d7fb02f570ac73
[ "MIT" ]
null
null
null
decorators/logging_decorator.py
devwarrior/python_coding
4a0029efab2fa15cdd26575f87d7fb02f570ac73
[ "MIT" ]
null
null
null
''' decorator to log functions executions ''' from functools import wraps import logging import time def log(logger, level='info'): ''' @brief decorator implementing the logging of a function. ''' def log_decorator(method): ''' @brief decorator implementing the logging of a function. ...
25.418182
85
0.637339
25c61bd34a9541bd7028c5974cd748844f8e74ae
7,828
py
Python
experiments/createReverseBatches.py
usc-sail/mica-violence-ratings-predictions-from-movie-scripts
be581fe8aa19296321bbc6b46cbbc495c9f23b3f
[ "MIT" ]
3
2020-12-25T06:54:07.000Z
2021-06-14T12:41:54.000Z
experiments/createReverseBatches.py
usc-sail/mica-violence-ratings
be581fe8aa19296321bbc6b46cbbc495c9f23b3f
[ "MIT" ]
1
2019-02-05T19:36:01.000Z
2019-02-05T19:36:01.000Z
experiments/createReverseBatches.py
usc-sail/mica-violence-ratings-predictions-from-movie-scripts
be581fe8aa19296321bbc6b46cbbc495c9f23b3f
[ "MIT" ]
1
2020-12-25T12:54:50.000Z
2020-12-25T12:54:50.000Z
from numpy.random import seed seed(5393) from tensorflow import set_random_seed set_random_seed(12011) import os import numpy as np import pandas as pd from scipy import sparse from sklearn.preprocessing import LabelEncoder, LabelBinarizer from sklearn.pipeline import FeatureUnion from sklearn.feature_extraction.te...
35.103139
120
0.61165
25c627add607a62bf9d3af224d727b8fbf9cabb3
337
py
Python
mongosql/util/__init__.py
vdmit11/py-mongosql
8b66a3386344cf5b38021dccf32c7790a07617e5
[ "BSD-2-Clause" ]
null
null
null
mongosql/util/__init__.py
vdmit11/py-mongosql
8b66a3386344cf5b38021dccf32c7790a07617e5
[ "BSD-2-Clause" ]
null
null
null
mongosql/util/__init__.py
vdmit11/py-mongosql
8b66a3386344cf5b38021dccf32c7790a07617e5
[ "BSD-2-Clause" ]
null
null
null
from .raiseload_col import raiseload_col from .selectinquery import selectinquery from .counting_query_wrapper import CountingQuery from .reusable import Reusable from .mongoquery_settings_handler import MongoQuerySettingsHandler from .marker import Marker from .settings_dict import MongoQuerySettingsDict, StrictCrudHe...
42.125
79
0.890208
25c782a2e45234ae81e902ab1e6701f01f6cf923
7,120
py
Python
files/gpu_stat.py
nauhpc/ansible-role-sacct_gpu
2c54766412871598bfe5b5eb45ba1c3aa3b08384
[ "Apache-2.0" ]
null
null
null
files/gpu_stat.py
nauhpc/ansible-role-sacct_gpu
2c54766412871598bfe5b5eb45ba1c3aa3b08384
[ "Apache-2.0" ]
1
2020-09-17T18:32:20.000Z
2020-09-17T18:32:20.000Z
files/gpu_stat.py
nauhpc/gpustats
2c54766412871598bfe5b5eb45ba1c3aa3b08384
[ "Apache-2.0" ]
1
2020-06-19T22:10:06.000Z
2020-06-19T22:10:06.000Z
#!/usr/bin/python3 # author mhakala import json import re import subprocess import tempfile import os import xml.etree.cElementTree as ET import argparse import os.path import time import random from datetime import datetime from datetime import timedelta import traceback import configparser import glob def jobs_runn...
34.563107
119
0.536096
25c78a8c35311e4bcbcce63afb4416e6dde577b9
10,567
py
Python
CRF/CRF.py
zhen8838/Statistical-Learning-Method
c62139804619f84b38a66cc222d0c951a7f76775
[ "MIT" ]
null
null
null
CRF/CRF.py
zhen8838/Statistical-Learning-Method
c62139804619f84b38a66cc222d0c951a7f76775
[ "MIT" ]
3
2020-11-13T17:48:41.000Z
2022-02-09T23:45:10.000Z
CRF/CRF.py
zhen8838/Statistical-Learning-Method
c62139804619f84b38a66cc222d0c951a7f76775
[ "MIT" ]
1
2020-09-09T08:11:47.000Z
2020-09-09T08:11:47.000Z
""" https://github.com/bojone/crf/ """ import tensorflow as tf k = tf.keras kl = tf.keras.layers K = tf.keras.backend from sklearn.model_selection import train_test_split import numpy as np import re from tqdm import tqdm import matplotlib.pyplot as plt from matplotlib.animation import FuncAnimation if __name__ ...
35.459732
89
0.594208
25c7c301c6e2d964c2b852ffb114911428fe8c06
4,284
py
Python
comet/schedulers.py
chryssa-zrv/UA_COMET
527e7c86bd0a0d8ff90efda58e820108a5666b92
[ "Apache-2.0" ]
null
null
null
comet/schedulers.py
chryssa-zrv/UA_COMET
527e7c86bd0a0d8ff90efda58e820108a5666b92
[ "Apache-2.0" ]
null
null
null
comet/schedulers.py
chryssa-zrv/UA_COMET
527e7c86bd0a0d8ff90efda58e820108a5666b92
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- r""" Schedulers ============== Leraning Rate schedulers used to train COMET models. """ from argparse import Namespace from torch.optim import Optimizer from torch.optim.lr_scheduler import LambdaLR str2scheduler = { "linear_warmup": LinearWarmup, "constant": ConstantLR, ...
30.6
105
0.681839
25c7cac235ae010638d92daa6f69cfcf3c1ad8dd
144
py
Python
pypesto/prediction/__init__.py
sleepy-owl/pyPESTO
a34608de9ad0a274afb6fb89ebc022aff5baf4c0
[ "BSD-3-Clause" ]
null
null
null
pypesto/prediction/__init__.py
sleepy-owl/pyPESTO
a34608de9ad0a274afb6fb89ebc022aff5baf4c0
[ "BSD-3-Clause" ]
null
null
null
pypesto/prediction/__init__.py
sleepy-owl/pyPESTO
a34608de9ad0a274afb6fb89ebc022aff5baf4c0
[ "BSD-3-Clause" ]
null
null
null
""" Prediction ========== """ from .amici_predictor import AmiciPredictor from .prediction import PredictionResult, PredictionConditionResult
16
67
0.763889
25c7dd06bfcbbf01961dfc14315b094c4b911686
1,378
py
Python
tixcraft/utils.py
stavhaygn/crack-tixcraft
c235e0d76ac29b1dea53e93c5fddca5bc0d58b79
[ "MIT" ]
20
2019-05-30T05:17:49.000Z
2022-03-27T06:57:26.000Z
tixcraft/utils.py
satan007417/tixcraft_request
c4383c7bcc05844f4c10cbfb2b36c7d4c7c55f79
[ "MIT" ]
14
2019-07-21T17:22:46.000Z
2022-03-11T23:50:36.000Z
tixcraft/utils.py
stavhaygn/crack-tixcraft
c235e0d76ac29b1dea53e93c5fddca5bc0d58b79
[ "MIT" ]
11
2019-07-12T14:24:58.000Z
2022-03-11T13:26:57.000Z
from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.common.by import By from selenium import webdriver import requests
27.56
79
0.666909
25c80db82d1ebad170680349cd93672e15412051
1,342
py
Python
code/src/main.py
ChaofWang/AWSRN
b7e285e73667e114ccb69e354254c4f67ca39e25
[ "MIT" ]
162
2019-04-05T02:05:45.000Z
2022-01-15T02:16:59.000Z
code/src/main.py
ChaofWang/AWSRN
b7e285e73667e114ccb69e354254c4f67ca39e25
[ "MIT" ]
16
2019-05-11T15:38:25.000Z
2020-08-12T13:15:45.000Z
code/src/main.py
ChaofWang/AWSRN
b7e285e73667e114ccb69e354254c4f67ca39e25
[ "MIT" ]
22
2019-04-20T14:37:51.000Z
2022-03-21T05:58:17.000Z
import torch import utility import data import model import loss from option import args from trainer import Trainer torch.manual_seed(args.seed) checkpoint = utility.checkpoint(args) if checkpoint.ok: loader = data.Data(args) model = model.Model(args, checkpoint) print_setting(model, args) loss = l...
27.958333
87
0.671386
25c81eb343b1d3a48857d65ac0f1c63ee02f3d87
710
py
Python
mycroft/views.py
seakers/daphne-brain
1d703d468cd503a21395f986dd72e67b6e556451
[ "MIT" ]
null
null
null
mycroft/views.py
seakers/daphne-brain
1d703d468cd503a21395f986dd72e67b6e556451
[ "MIT" ]
null
null
null
mycroft/views.py
seakers/daphne-brain
1d703d468cd503a21395f986dd72e67b6e556451
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from rest_framework.response import Response from auth_API.helpers import get_or_create_user_information
29.583333
89
0.7
25c905966ddc0f0df2e0e38de7498ec35dea8707
2,295
py
Python
examples/machine_learning.py
miroslavftn/Text-classification
3fa627606fdd5fbfde5ec118441fd24088ad7137
[ "Apache-2.0" ]
2
2019-05-17T02:39:12.000Z
2020-07-15T09:35:04.000Z
examples/machine_learning.py
miroslavftn/Text-classification
3fa627606fdd5fbfde5ec118441fd24088ad7137
[ "Apache-2.0" ]
null
null
null
examples/machine_learning.py
miroslavftn/Text-classification
3fa627606fdd5fbfde5ec118441fd24088ad7137
[ "Apache-2.0" ]
null
null
null
from models.statistical.ml_classifier import MLClassifier from models.statistical.models import ModelsFactory from models.statistical.tokenizer import TokenizerFactory # can be loaded from a config file model_name = 'xgb' tokenizer_name = 'default' ngrams = 2 name = 'sst2' stopwords = False max_features = 5000 test_...
34.253731
72
0.533769
25cbeb75700cfc7ba35658909719975df140adca
6,215
py
Python
tests/test_algorithms/test_sutherland_hodgman.py
Huite/numba_celltree
f6562153fb09468c64c6594b5ed4c48ce827997a
[ "MIT" ]
2
2021-08-30T08:44:45.000Z
2021-08-30T11:55:25.000Z
tests/test_algorithms/test_sutherland_hodgman.py
Deltares/numba_celltree
898c54a18731e56407d03636f7f18e67d84a1f00
[ "MIT" ]
null
null
null
tests/test_algorithms/test_sutherland_hodgman.py
Deltares/numba_celltree
898c54a18731e56407d03636f7f18e67d84a1f00
[ "MIT" ]
null
null
null
"""" Test data generated with: ```python import numpy as np import shapely.geometry as sg def ccw(a): # Ensure triangles are counter-clockwise for i in range(len(a)): t = a[i] normal = (t[1][0] - t[0][0])*(t[2][1]-t[0][1])-(t[1][1]-t[0][1])*(t[2][0]-t[0][0]) if normal < 0: ...
26.559829
90
0.524698
25cd4e9ba282e597a4fa5b69cbe92a7a0be65817
155
py
Python
interpreter/application.py
Jesssullivan/MerlinAI-Interpreters
e2e053f357a74d642b160b42a1276fa44c45614b
[ "Unlicense" ]
3
2019-02-23T03:19:32.000Z
2020-02-12T13:54:02.000Z
interpreter/application.py
Jesssullivan/MerlinAI-Interpreters
e2e053f357a74d642b160b42a1276fa44c45614b
[ "Unlicense" ]
null
null
null
interpreter/application.py
Jesssullivan/MerlinAI-Interpreters
e2e053f357a74d642b160b42a1276fa44c45614b
[ "Unlicense" ]
null
null
null
from app.main import create_app from waitress import serve if __name__ == "__main__": app = create_app() serve(app, host='0.0.0.0', port='5000')
19.375
43
0.677419
25ce6b3af033822b4efc267bfa22d834752ae174
2,575
py
Python
source/194-Vencedor_do_jogo_da_velha.py
FelixLuciano/DesSoft-2020.2
a44063d63778329f1e1266881f20f7954ecb528b
[ "MIT" ]
null
null
null
source/194-Vencedor_do_jogo_da_velha.py
FelixLuciano/DesSoft-2020.2
a44063d63778329f1e1266881f20f7954ecb528b
[ "MIT" ]
null
null
null
source/194-Vencedor_do_jogo_da_velha.py
FelixLuciano/DesSoft-2020.2
a44063d63778329f1e1266881f20f7954ecb528b
[ "MIT" ]
null
null
null
# Vencedor do jogo da velha # Faa uma funo que recebe um tabuleiro de jogo da velha e devolve o vencedor. O tabuleiro representado por uma lista de listas como o mostrado a seguir: # [['X', 'O', 'X'], ['.', 'O', 'X'], ['O', '.', 'X']] # Note que a lista acima idntica a: # [ # ['X', 'O', 'X'], # ...
39.015152
421
0.573204
25d13fa91e8a27a8e3e83ce1553d500555f00fd0
99
py
Python
src/boat/reservierung/apps.py
holytortoise/boat_project
b318cc46034c8e87cfa2db29fda7b6ea08a7745a
[ "MIT" ]
null
null
null
src/boat/reservierung/apps.py
holytortoise/boat_project
b318cc46034c8e87cfa2db29fda7b6ea08a7745a
[ "MIT" ]
null
null
null
src/boat/reservierung/apps.py
holytortoise/boat_project
b318cc46034c8e87cfa2db29fda7b6ea08a7745a
[ "MIT" ]
null
null
null
from django.apps import AppConfig
16.5
36
0.777778
25d2427f17acf99c0e015181ad76ec8cf75b6f09
1,065
py
Python
src/bst/pygasus/datamanager/grokker.py
codeix/bst.pygasus.datamanager
3b60cbc0b44814701fcbc8c5558a30002a9a2778
[ "ZPL-2.1" ]
null
null
null
src/bst/pygasus/datamanager/grokker.py
codeix/bst.pygasus.datamanager
3b60cbc0b44814701fcbc8c5558a30002a9a2778
[ "ZPL-2.1" ]
null
null
null
src/bst/pygasus/datamanager/grokker.py
codeix/bst.pygasus.datamanager
3b60cbc0b44814701fcbc8c5558a30002a9a2778
[ "ZPL-2.1" ]
null
null
null
import martian from martian.error import GrokError from grokcore.component import name as namedirective from zope import component from bst.pygasus.datamanager.model import ExtBaseModel from bst.pygasus.datamanager.interfaces import IModelTransformer from bst.pygasus.datamanager.transformer import ModelTransfomerUtili...
31.323529
86
0.721127
25d28a94c243549378bccac5503509c7d698f1cd
4,833
py
Python
intent_parser/utils/opil_utils.py
SD2E/experimental-intent-parser
65aee0ad800777f265210766a9e5eac431e0feaa
[ "BSD-3-Clause" ]
3
2020-07-09T19:52:58.000Z
2020-08-05T18:05:54.000Z
intent_parser/utils/opil_utils.py
SD2E/experimental-intent-parser
65aee0ad800777f265210766a9e5eac431e0feaa
[ "BSD-3-Clause" ]
293
2020-06-19T18:51:27.000Z
2021-09-17T20:42:41.000Z
intent_parser/utils/opil_utils.py
SD2E/experimental-intent-parser
65aee0ad800777f265210766a9e5eac431e0feaa
[ "BSD-3-Clause" ]
null
null
null
""" Provides a list of functions for building opil objects. """ from intent_parser.intent.measure_property_intent import MeasuredUnit from intent_parser.intent_parser_exceptions import IntentParserException import intent_parser.utils.sbol3_utils as sbol3_utils import intent_parser.table.cell_parser as cell_parser impor...
43.540541
125
0.723774
25d3f23269643ac6a6edc73c74d7612fd5227b4e
6,741
py
Python
ooobuild/lo/ucb/x_simple_file_access.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/ucb/x_simple_file_access.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/ucb/x_simple_file_access.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
35.478947
206
0.645305
25d52bf609ce8588538ff83d163bae532e4ec465
4,063
py
Python
bin/bb8/docker_rsync.py
vimc/bb8
ec3ad795cc442f33cc58129ab1d9267dc225f9c5
[ "MIT" ]
null
null
null
bin/bb8/docker_rsync.py
vimc/bb8
ec3ad795cc442f33cc58129ab1d9267dc225f9c5
[ "MIT" ]
22
2018-01-25T12:14:41.000Z
2020-08-18T13:21:13.000Z
bin/bb8/docker_rsync.py
vimc/bb8
ec3ad795cc442f33cc58129ab1d9267dc225f9c5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import logging from os import getuid, getgid from os.path import join import docker from .logger import log_from_docker
36.276786
79
0.537288
25d56f5b093e66a6e34a5f01df8b3463c937cd78
1,537
py
Python
Tools/fontcompile.py
aunicornfarmer/gotris
6c125071d5add7fc71716ecbb08474c607561555
[ "MIT" ]
63
2015-01-03T04:19:23.000Z
2021-07-19T22:33:16.000Z
Tools/fontcompile.py
aunicornfarmer/gotris
6c125071d5add7fc71716ecbb08474c607561555
[ "MIT" ]
1
2015-09-14T08:55:40.000Z
2018-01-23T08:56:47.000Z
Tools/fontcompile.py
aunicornfarmer/gotris
6c125071d5add7fc71716ecbb08474c607561555
[ "MIT" ]
28
2015-02-23T10:31:05.000Z
2021-06-18T12:33:51.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # compiled font is a binary blob: # 1. magic (MFNT) - 4 bytes # 2. number of symbols - 4 bytes # 3. font y advance - 4 bytes # 4. an array of glyphs (offset_x, offset_y, width, height, tx, ty, tx2, ty2, x_advance) - 36 * number of symbols # (iiIIffffI) # 5. png texture imp...
25.616667
170
0.666233
25d797d0aac6f91f0e9c9a706f99ce479f5d3726
2,047
py
Python
trojsten/login/tests.py
MvonK/web
b701a6ea8fb6f0bdfb720e66d0a430db13db8bff
[ "MIT" ]
5
2018-04-22T22:44:02.000Z
2021-04-26T20:44:44.000Z
trojsten/login/tests.py
MvonK/web
b701a6ea8fb6f0bdfb720e66d0a430db13db8bff
[ "MIT" ]
250
2018-04-24T12:04:11.000Z
2022-03-09T06:56:47.000Z
trojsten/login/tests.py
MvonK/web
b701a6ea8fb6f0bdfb720e66d0a430db13db8bff
[ "MIT" ]
8
2019-04-28T11:33:03.000Z
2022-02-26T13:30:36.000Z
import json from django.conf import settings from django.test import TestCase, override_settings from django.urls import reverse from trojsten.people.models import User
31.015152
78
0.6766
25d8b8019030143e754283529c1bc631afb398f3
3,735
py
Python
gen_bindings.py
mpeterv/emlua
f1c63ae111afba5ccd771e8c1d090af305eebea1
[ "MIT" ]
2
2016-08-25T16:00:56.000Z
2021-02-07T03:29:10.000Z
gen_bindings.py
mpeterv/emlua
f1c63ae111afba5ccd771e8c1d090af305eebea1
[ "MIT" ]
1
2016-08-26T14:57:07.000Z
2016-08-30T08:49:55.000Z
gen_bindings.py
mpeterv/emlua
f1c63ae111afba5ccd771e8c1d090af305eebea1
[ "MIT" ]
null
null
null
#!/usr/bin/env python import collections import re c_js_types = { "void": "null", "int": "number", "char": "number", "long": "number", "size_t": "number", "char *": "string", "lua_State *": "state", "lua_Alloc": "number", "lua_CFunction": "number", "lua_KFunction": "number", ...
30.867769
90
0.587952
25da3c1cb459bcee6395b9dfd94dc5a75175e53c
3,183
py
Python
fixtures/db.py
maxteplyakov/learn_python_test_automation
de40804d58ada5f4165ca6a0070bfb4cfca038d9
[ "MIT" ]
null
null
null
fixtures/db.py
maxteplyakov/learn_python_test_automation
de40804d58ada5f4165ca6a0070bfb4cfca038d9
[ "MIT" ]
null
null
null
fixtures/db.py
maxteplyakov/learn_python_test_automation
de40804d58ada5f4165ca6a0070bfb4cfca038d9
[ "MIT" ]
null
null
null
import mysql.connector from models.group import Group from models.contact import Contact
30.902913
80
0.473767
25db68b1e4b300ed7435559d769a87a914307b00
1,171
py
Python
app/tests/support/test_views.py
Valaraucoo/raven
0157e193baf569be9479a78838dc26d77a11a99d
[ "BSD-3-Clause" ]
3
2020-12-27T21:52:52.000Z
2021-08-23T10:26:10.000Z
app/tests/support/test_views.py
Valaraucoo/raven
0157e193baf569be9479a78838dc26d77a11a99d
[ "BSD-3-Clause" ]
12
2020-12-22T22:36:28.000Z
2021-01-18T13:39:34.000Z
app/tests/support/test_views.py
Valaraucoo/raven
0157e193baf569be9479a78838dc26d77a11a99d
[ "BSD-3-Clause" ]
2
2020-12-27T21:52:39.000Z
2021-11-18T08:08:25.000Z
import pytest from django.urls import reverse from tests.users import factories as users_factories
26.022222
62
0.608027
25dbcc8ad9f17eebc5ce137f97fcdf06a4148e19
1,827
py
Python
lc0415_add_strings.py
bowen0701/python-algorithms-data-structures
e625f59a9fc59e4728825078d4434a7968a724e5
[ "BSD-2-Clause" ]
8
2019-03-18T06:37:24.000Z
2022-01-30T07:50:58.000Z
lc0415_add_strings.py
bowen0701/python-algorithms-data-structures
e625f59a9fc59e4728825078d4434a7968a724e5
[ "BSD-2-Clause" ]
null
null
null
lc0415_add_strings.py
bowen0701/python-algorithms-data-structures
e625f59a9fc59e4728825078d4434a7968a724e5
[ "BSD-2-Clause" ]
null
null
null
"""Leetcode 415. Add Strings Easy URL: https://leetcode.com/problems/add-strings/ Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: - The length of both num1 and num2 is < 5100. - Both num1 and num2 contains only digits 0-9. - Both num1 and num2 does not cont...
25.027397
79
0.571429
25dbd0ea80f4dcc92776fe99c6632dc557ac3ea6
4,574
py
Python
tests/version2/test_users.py
SimonAwiti/Questioner-APIs
514de4fd3af1726b7f89525c6bfaaed230842853
[ "MIT" ]
null
null
null
tests/version2/test_users.py
SimonAwiti/Questioner-APIs
514de4fd3af1726b7f89525c6bfaaed230842853
[ "MIT" ]
2
2019-01-15T16:02:32.000Z
2019-01-23T03:32:29.000Z
tests/version2/test_users.py
SimonAwiti/Questioner-APIs
514de4fd3af1726b7f89525c6bfaaed230842853
[ "MIT" ]
1
2019-01-13T23:39:06.000Z
2019-01-13T23:39:06.000Z
"""Tests for handling the users resource""" import unittest import json from app import create_app from app.API.utilities.database import connection
37.491803
91
0.547879
25dc5429f2b771a96edd402c569bf140dac7fc33
3,268
py
Python
maskrcnn_benchmark/utils/big_model_loading.py
microsoft/GLIP
fd52c6361f013e70ae7682d90b3ab3ca2bd5e6bc
[ "MIT" ]
295
2021-12-08T02:22:27.000Z
2022-03-31T22:27:10.000Z
maskrcnn_benchmark/utils/big_model_loading.py
microsoft/GLIP
fd52c6361f013e70ae7682d90b3ab3ca2bd5e6bc
[ "MIT" ]
1
2021-12-14T08:09:13.000Z
2022-03-17T03:53:19.000Z
maskrcnn_benchmark/utils/big_model_loading.py
microsoft/GLIP
fd52c6361f013e70ae7682d90b3ab3ca2bd5e6bc
[ "MIT" ]
9
2021-12-09T00:33:25.000Z
2022-03-17T11:57:42.000Z
import numpy as np import torch import torch.nn as nn from collections import OrderedDict def tf2th(conv_weights): """Possibly convert HWIO to OIHW.""" if conv_weights.ndim == 4: conv_weights = conv_weights.transpose([3, 2, 0, 1]) return torch.from_numpy(conv_weights)
40.345679
105
0.549266
25dd5361b6b0dc7b073414ddb1a152c255756063
10,975
py
Python
convert/test_convert.py
mikewatkins-new/jboss_call_api
690179b60c0b9574d0951a1cb57ffdb6eaca8943
[ "MIT" ]
null
null
null
convert/test_convert.py
mikewatkins-new/jboss_call_api
690179b60c0b9574d0951a1cb57ffdb6eaca8943
[ "MIT" ]
1
2021-06-02T00:39:33.000Z
2021-06-02T00:39:33.000Z
convert/test_convert.py
mikewatkins-new/jboss_call_api
690179b60c0b9574d0951a1cb57ffdb6eaca8943
[ "MIT" ]
null
null
null
import unittest from convert import jboss_command_to_http_request if __name__ == '__main__': unittest.main()
50.810185
149
0.710251
25e0e386f4839503cf27575ea15bd5ecf033d49a
113
py
Python
src/__init__.py
logic-and-learning/AdvisoRL
3bbd741e681e6ea72562fec142d54e9d781d097d
[ "MIT" ]
4
2021-02-04T17:33:07.000Z
2022-01-24T10:29:39.000Z
src/__init__.py
logic-and-learning/AdvisoRL
3bbd741e681e6ea72562fec142d54e9d781d097d
[ "MIT" ]
null
null
null
src/__init__.py
logic-and-learning/AdvisoRL
3bbd741e681e6ea72562fec142d54e9d781d097d
[ "MIT" ]
null
null
null
from . import baselines from . import common from . import reward_machines from . import rl from . import worlds
18.833333
29
0.778761
25e3a85a64f47b2e6d11cb21908d899ff2ec1f13
1,328
py
Python
hipo_rank/summarizers/textrank.py
MehwishFatimah/Hipo_modified
6844dc9d8bf0d2f7fc5f6159e8ee463219a1c107
[ "MIT" ]
null
null
null
hipo_rank/summarizers/textrank.py
MehwishFatimah/Hipo_modified
6844dc9d8bf0d2f7fc5f6159e8ee463219a1c107
[ "MIT" ]
null
null
null
hipo_rank/summarizers/textrank.py
MehwishFatimah/Hipo_modified
6844dc9d8bf0d2f7fc5f6159e8ee463219a1c107
[ "MIT" ]
null
null
null
from hipo_rank import Scores, Document, Summary from summa.summarizer import summarize
42.83871
107
0.557229
25e441bb1d41908f9089cf20c37bdbf87f2df670
8,415
py
Python
ratechecker/views.py
DalavanCloud/owning-a-home-api
f7be713740ecfaaaf3fc2f54510c24543e563e9f
[ "CC0-1.0" ]
1
2019-02-25T21:46:14.000Z
2019-02-25T21:46:14.000Z
ratechecker/views.py
DalavanCloud/owning-a-home-api
f7be713740ecfaaaf3fc2f54510c24543e563e9f
[ "CC0-1.0" ]
null
null
null
ratechecker/views.py
DalavanCloud/owning-a-home-api
f7be713740ecfaaaf3fc2f54510c24543e563e9f
[ "CC0-1.0" ]
null
null
null
from django.db.models import Q, Sum, Avg from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from rest_framework.views import APIView from ratechecker.models import Region, Rate, Adjustment, Fee from ratechecker.ratechecker_parameters import Pa...
36.907895
79
0.627213
25e493076be7380951a97b3f9afcdfcdb4f2cbab
2,247
py
Python
sharpy/managers/combat2/protoss/micro_voidrays.py
raspersc2/sharpy-sc2
ec8f5870eab233b1d09a54a09bd8b76ea2585735
[ "MIT" ]
2
2020-08-13T01:25:20.000Z
2020-11-22T19:00:06.000Z
sharpy/managers/combat2/protoss/micro_voidrays.py
raspersc2/sharpy-sc2
ec8f5870eab233b1d09a54a09bd8b76ea2585735
[ "MIT" ]
null
null
null
sharpy/managers/combat2/protoss/micro_voidrays.py
raspersc2/sharpy-sc2
ec8f5870eab233b1d09a54a09bd8b76ea2585735
[ "MIT" ]
null
null
null
from sc2.ids.effect_id import EffectId from sc2.position import Point2 from sc2.units import Units from sharpy.managers.combat2 import MicroStep, Action, MoveType from sc2 import AbilityId from sc2.unit import Unit
40.854545
102
0.655986
25e59c2417ca0a19fe3514be2c7d45d995e484b2
2,861
py
Python
codegen.py
EXXETA/k8s-python-tools
5cf57ea934fc11522ea42e9aa5a4e2f35af6a893
[ "Apache-2.0" ]
1
2019-09-18T09:43:15.000Z
2019-09-18T09:43:15.000Z
codegen.py
EXXETA/k8s-python-tools
5cf57ea934fc11522ea42e9aa5a4e2f35af6a893
[ "Apache-2.0" ]
null
null
null
codegen.py
EXXETA/k8s-python-tools
5cf57ea934fc11522ea42e9aa5a4e2f35af6a893
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2019 EXXETA AG and others. # # This file is part of k8s-python-tools # (see https://github.com/EXXETA/k8s-python-tools). # # 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...
32.511364
92
0.695211
25e663ed5a1d36a9f0c450a6e3fe032554c705e8
5,375
py
Python
gammapy/utils/wcs.py
grburgess/gammapy
609e460698caca7223afeef5e71826c7b32728d1
[ "BSD-3-Clause" ]
3
2019-01-28T12:21:14.000Z
2019-02-10T19:58:07.000Z
gammapy/utils/wcs.py
grburgess/gammapy
609e460698caca7223afeef5e71826c7b32728d1
[ "BSD-3-Clause" ]
null
null
null
gammapy/utils/wcs.py
grburgess/gammapy
609e460698caca7223afeef5e71826c7b32728d1
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst """WCS related utility functions.""" from __future__ import absolute_import, division, print_function, unicode_literals import numpy as np from astropy.wcs import WCS from astropy.coordinates import Angle __all__ = [ 'linear_wcs_to_arrays', 'linea...
32.97546
92
0.638884
25e697ff2f7be1cfd4b989db2606e8b827aeb0d8
2,503
py
Python
module2-sql-for-analysis/titantic_ETL.py
elliotgunn/DS-Unit-3-Sprint-2-SQL-and-Databases
c730e2b3e66199226fa7549511cbb7801eb7a694
[ "MIT" ]
null
null
null
module2-sql-for-analysis/titantic_ETL.py
elliotgunn/DS-Unit-3-Sprint-2-SQL-and-Databases
c730e2b3e66199226fa7549511cbb7801eb7a694
[ "MIT" ]
null
null
null
module2-sql-for-analysis/titantic_ETL.py
elliotgunn/DS-Unit-3-Sprint-2-SQL-and-Databases
c730e2b3e66199226fa7549511cbb7801eb7a694
[ "MIT" ]
null
null
null
import pandas as pd import psycopg2 import sqlite3 # don't commit this dbname = '' user = '' password = '' host = '' pg_conn = psycopg2.connect(dbname=dbname, user=user, password=password, host=host) # connection object and cursor pg_conn pg_curs = pg_conn.cursor() # extract: csv file tita...
20.349593
117
0.688374
25e777cd87df8c4a209cc04015cb7b7c4813329d
999
py
Python
merceedge/util/yaml.py
merceedge/MerceEdge
b1448fbaed912e04e1c71d3f2101f2f297eca794
[ "Apache-2.0" ]
6
2019-01-25T09:03:27.000Z
2021-02-17T14:30:06.000Z
merceedge/util/yaml.py
merceedge/MerceEdge
b1448fbaed912e04e1c71d3f2101f2f297eca794
[ "Apache-2.0" ]
null
null
null
merceedge/util/yaml.py
merceedge/MerceEdge
b1448fbaed912e04e1c71d3f2101f2f297eca794
[ "Apache-2.0" ]
null
null
null
import yaml from merceedge.exceptions import MerceEdgeError from merceedge.settings import ( logger_access, logger_code, logger_console ) _LOGGER = logger_code def load_yaml(fname): """Load a YAML file.""" try: with open(fname, encoding='utf-8') as conf_file: # If configuratio...
29.382353
72
0.660661
25e918b72fd4f7774d359e037858b76d4d02a0ff
4,891
py
Python
manifest-build-tools/application/generate_manifest.py
dalebremner/on-tools
18b826bca2a3608c5b50116ec710bbeb630a586e
[ "Apache-2.0" ]
4
2015-12-08T20:02:53.000Z
2019-03-08T07:42:24.000Z
manifest-build-tools/application/generate_manifest.py
dalebremner/on-tools
18b826bca2a3608c5b50116ec710bbeb630a586e
[ "Apache-2.0" ]
48
2016-01-28T23:50:38.000Z
2017-10-20T13:38:03.000Z
manifest-build-tools/application/generate_manifest.py
dalebremner/on-tools
18b826bca2a3608c5b50116ec710bbeb630a586e
[ "Apache-2.0" ]
38
2015-11-02T23:49:37.000Z
2021-05-27T01:24:03.000Z
#!/usr/bin/env python # Copyright 2016, DELLEMC, Inc. """ The script generate a new manifest for a new branch according to another manifest. For example, new branch: release/branch-1.2.3 date: 2016-12-15 00:00:00 The generated new manifest: branch-1.2.3-20161215 usage: ./on-tools/manifest-build-tools/HWIMO-BUILD on-...
36.774436
159
0.605193
25ed07e02dd91398ea331f8eb818d839d1301c57
1,132
py
Python
src/infer_cgg.py
lepidodendron/lepidodendron
1ca3efd2d43d2a644cf364ba811e16aad6a25f2b
[ "MIT" ]
null
null
null
src/infer_cgg.py
lepidodendron/lepidodendron
1ca3efd2d43d2a644cf364ba811e16aad6a25f2b
[ "MIT" ]
2
2019-01-30T17:10:31.000Z
2019-02-11T07:17:51.000Z
src/infer_cgg.py
lepidodendron/lepidodendron
1ca3efd2d43d2a644cf364ba811e16aad6a25f2b
[ "MIT" ]
null
null
null
from model_cgg import model ckpt = "cgg_36" mode = 1 from infer import infer, trim_str from itertools import islice from util_cw import CharWright from util_io import load_txt, save_txt from util_np import np, partition from util_tf import tf sess = tf.InteractiveSession() # load model cws = CharWright.load("../data/...
30.594595
71
0.681979
25ef3cf038f4dc0c0967a72f05b874c0bdc8e6a9
858
py
Python
viberbot/api/viber_requests/viber_seen_request.py
AaganMaskey/viber-bot-python
99224b6c777ee3ac9d26a4b1ccd6ae0193291edb
[ "Apache-2.0" ]
1
2019-12-27T17:02:38.000Z
2019-12-27T17:02:38.000Z
viberbot/api/viber_requests/viber_seen_request.py
AaganMaskey/viber-bot-python
99224b6c777ee3ac9d26a4b1ccd6ae0193291edb
[ "Apache-2.0" ]
1
2021-06-25T15:17:45.000Z
2021-06-25T15:17:45.000Z
viberbot/api/viber_requests/viber_seen_request.py
Micuk/viber-bot-python
c090e40a2270f3fec5b5cd34f83334a5797d2bdd
[ "Apache-2.0" ]
null
null
null
from future.utils import python_2_unicode_compatible from ..event_type import EventType from viberbot.api.viber_requests.viber_request import ViberRequest
28.6
87
0.785548
25f048f3da02b6db6d6468726b80f5cf0a8210f8
172
py
Python
tests/simple_test.py
leoauri/auraloss
0e3362674ae1b53aa61c6a631fb4e6970c5683c1
[ "Apache-2.0" ]
272
2020-11-16T05:07:17.000Z
2022-03-27T11:54:16.000Z
tests/simple_test.py
leoauri/auraloss
0e3362674ae1b53aa61c6a631fb4e6970c5683c1
[ "Apache-2.0" ]
14
2020-11-20T03:16:14.000Z
2021-12-01T17:50:41.000Z
tests/simple_test.py
leoauri/auraloss
0e3362674ae1b53aa61c6a631fb4e6970c5683c1
[ "Apache-2.0" ]
32
2020-11-16T23:36:45.000Z
2022-02-18T04:48:24.000Z
import torch import auraloss input = torch.rand(8, 2, 44100) target = torch.rand(8, 2, 44100) loss = auraloss.freq.SumAndDifferenceSTFTLoss() print(loss(input, target))
17.2
47
0.744186
25f057af076ce41992855839a657edce5d7a7ef6
931
py
Python
scripts/processcore.py
paulscottrobson/flat-forth-compiler
c9df5156219da67c08776445a87e055f8cbb3a82
[ "MIT" ]
null
null
null
scripts/processcore.py
paulscottrobson/flat-forth-compiler
c9df5156219da67c08776445a87e055f8cbb3a82
[ "MIT" ]
1
2019-03-03T21:21:07.000Z
2020-07-02T09:20:31.000Z
scripts/processcore.py
paulscottrobson/flat-forth-compiler
c9df5156219da67c08776445a87e055f8cbb3a82
[ "MIT" ]
null
null
null
# *************************************************************************************** # *************************************************************************************** # # Name : processcore.py # Author : Paul Robson (paul@robsons.org.uk) # Date : 22nd December 2018 # Purpose : Convert vocabulary.as...
38.791667
89
0.396348
25f0a32bd79bafc09891b19c1a08035f8d13f0e4
151
py
Python
basars_addons/schedules/__init__.py
Basars/basars-addons
0719216613ab7c6d23b26e55b09b9b024e1485ad
[ "MIT" ]
null
null
null
basars_addons/schedules/__init__.py
Basars/basars-addons
0719216613ab7c6d23b26e55b09b9b024e1485ad
[ "MIT" ]
null
null
null
basars_addons/schedules/__init__.py
Basars/basars-addons
0719216613ab7c6d23b26e55b09b9b024e1485ad
[ "MIT" ]
null
null
null
from basars_addons.schedules.cosine_decay import InitialCosineDecayRestarts from basars_addons.schedules.cosine_decay import CosineDecayWarmupRestarts
50.333333
75
0.92053
25f245a11f95af9fdc33a4587bdc16ccdade0685
1,221
py
Python
cctrans/core/baidu.py
wangchuan2008888/ChineseCloudTranslation
a5072e7ea05c9e0cd7d1aeb03e90645f50dc2d26
[ "Apache-2.0" ]
3
2018-11-03T09:04:21.000Z
2018-11-03T09:05:26.000Z
cctrans/core/baidu.py
wangchuan2008888/ChineseCloudTranslation
a5072e7ea05c9e0cd7d1aeb03e90645f50dc2d26
[ "Apache-2.0" ]
null
null
null
cctrans/core/baidu.py
wangchuan2008888/ChineseCloudTranslation
a5072e7ea05c9e0cd7d1aeb03e90645f50dc2d26
[ "Apache-2.0" ]
4
2018-11-03T09:05:20.000Z
2018-11-05T12:00:30.000Z
import random import hashlib import requests from cctrans import conf import cctrans def _request_data(url, app_key, text, salt, sign, from_lang='en', to_lang='zh'): """ :rtype: object """ return "{url}?appid={app_key}&q={text}&from={from_lang}&to={to_lang}&salt={salt}&sign={sign}".format( ...
27.75
105
0.594595
25f290d98ec98408a67808ea297c1e47f77e24a9
3,648
py
Python
joint_teapot/workers/git.py
BoYanZh/joint-teapot
9eefd8bc01024a2dd74df10295c5b4411aad0645
[ "MIT" ]
2
2021-06-10T15:40:25.000Z
2021-06-12T14:24:28.000Z
joint_teapot/workers/git.py
BoYanZh/joint-teapot
9eefd8bc01024a2dd74df10295c5b4411aad0645
[ "MIT" ]
null
null
null
joint_teapot/workers/git.py
BoYanZh/joint-teapot
9eefd8bc01024a2dd74df10295c5b4411aad0645
[ "MIT" ]
2
2021-09-15T16:09:59.000Z
2021-09-15T16:11:32.000Z
import os import sys from time import sleep from typing import Optional from joint_teapot.utils.logger import logger current_path = sys.path[0] sys.path.remove(current_path) from git import Repo from git.exc import GitCommandError sys.path.insert(0, current_path) from joint_teapot.config import settings
37.22449
90
0.544682
25f4632219bc28cba2e575a7f1f0e698d9f3b930
307
py
Python
converters/all_lp2dgf.py
daajoe/transit_graphs
ac9a7b390f0f4c671a4c66157c9ff20773bb0105
[ "CC-BY-4.0" ]
null
null
null
converters/all_lp2dgf.py
daajoe/transit_graphs
ac9a7b390f0f4c671a4c66157c9ff20773bb0105
[ "CC-BY-4.0" ]
null
null
null
converters/all_lp2dgf.py
daajoe/transit_graphs
ac9a7b390f0f4c671a4c66157c9ff20773bb0105
[ "CC-BY-4.0" ]
null
null
null
#!/usr/bin/env bash trap 'ret=$?; printf "%s\n" "$ERR_MSG" >&2; exit "$ret"' ERR for file in $(find $1 -name \*.lp.bz2) ; do echo $file outputname="../gr/subgraphs/$(basename $file).gr" ./lp2dgf.py -f $file > $outputname if [ $? -ne 0 ]; then echo 'ERROR stopping...' exit 1 fi done
21.928571
60
0.566775
25f55d84b2c9772cbbe9d0c481378e4191bf77e2
362
py
Python
formulario/urls.py
exildev/Rondax
a4a4cad4ec9c575a288f66a353e07e9a57362ede
[ "Apache-2.0" ]
null
null
null
formulario/urls.py
exildev/Rondax
a4a4cad4ec9c575a288f66a353e07e9a57362ede
[ "Apache-2.0" ]
null
null
null
formulario/urls.py
exildev/Rondax
a4a4cad4ec9c575a288f66a353e07e9a57362ede
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import include, url from formulario import views urlpatterns = [ url(r'^form/registro/(?P<pk>\d+)/$', views.RegistroSupraForm.as_view(), name='form_registro'), url(r'^form/registro/create/$', views.RegistroCreateSupraForm.as_view(), name='form_crear_registro'), url(r'^list/campo/$', views.Camp...
45.25
102
0.740331
25f569e19f03eb74cba3e7ed842d1742b9a17719
381
py
Python
customers/customerauth/migrations/0002_auto_20190127_0931.py
nkmrohit/python
bd644d51909cda548684b5da98eab998564f3568
[ "Apache-2.0" ]
null
null
null
customers/customerauth/migrations/0002_auto_20190127_0931.py
nkmrohit/python
bd644d51909cda548684b5da98eab998564f3568
[ "Apache-2.0" ]
null
null
null
customers/customerauth/migrations/0002_auto_20190127_0931.py
nkmrohit/python
bd644d51909cda548684b5da98eab998564f3568
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.4 on 2019-01-27 04:01 from django.db import migrations, models
20.052632
47
0.593176
25f57628f67d79914ee5503f127fa52f25876ffe
424
py
Python
utils/logger.py
FFTYYY/RoR_relation_extraction
a099e98f3708a39debeed4dc522ff57c4f6b960d
[ "MIT" ]
25
2020-06-09T01:25:14.000Z
2021-12-22T10:47:18.000Z
utils/logger.py
FFTYYY/RoR_relation_extraction
a099e98f3708a39debeed4dc522ff57c4f6b960d
[ "MIT" ]
7
2020-06-21T08:32:26.000Z
2021-08-04T08:39:10.000Z
utils/logger.py
FFTYYY/RoR_relation_extraction
a099e98f3708a39debeed4dc522ff57c4f6b960d
[ "MIT" ]
3
2020-06-18T16:47:31.000Z
2021-08-10T01:04:16.000Z
from .watch_time import time_str import fitlog
21.2
58
0.650943
25f9db8faaa586dceb7f4e9535befcaf68ab201f
1,798
py
Python
tools/mytools/merge_layer.py
tiger0421/DDRNet.pytorch
138cdc61c4cb00104f5051a129c31d603efb02ed
[ "MIT" ]
null
null
null
tools/mytools/merge_layer.py
tiger0421/DDRNet.pytorch
138cdc61c4cb00104f5051a129c31d603efb02ed
[ "MIT" ]
null
null
null
tools/mytools/merge_layer.py
tiger0421/DDRNet.pytorch
138cdc61c4cb00104f5051a129c31d603efb02ed
[ "MIT" ]
1
2021-09-14T15:19:04.000Z
2021-09-14T15:19:04.000Z
import cv2 import numpy as np import os under_layer_path = '/home/ubuntu/share/cam_lidar/Tu_indoor/red2' upper_layer_path = "/home/ubuntu/share/cam_lidar/Tu_indoor/aisle02_dir" target_files = os.listdir(upper_layer_path) target_imgs = [f for f in target_files if os.path.isfile(os.path.join(upper_layer_path, f))] try: ...
39.086957
92
0.627364
25fb9da113f8ffe313c22811acf787eb03963979
2,233
py
Python
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/share/nslcd-utils/users.py
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/share/nslcd-utils/users.py
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/share/nslcd-utils/users.py
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # users.py - functions for validating the user to change information for # # Copyright (C) 2013 Arthur de Jong # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # ...
36.606557
76
0.652485
25fbbd609cc07a46c89f0cadbaed9a2029ec86bf
1,739
py
Python
migrations/versions/00f001a958b1_web_dev_chapter3_quiz_total_score.py
GitauHarrison/somasoma_V1
2d74ad3b58f7e4ea5334e240d5bd30938f615e24
[ "MIT" ]
null
null
null
migrations/versions/00f001a958b1_web_dev_chapter3_quiz_total_score.py
GitauHarrison/somasoma_V1
2d74ad3b58f7e4ea5334e240d5bd30938f615e24
[ "MIT" ]
null
null
null
migrations/versions/00f001a958b1_web_dev_chapter3_quiz_total_score.py
GitauHarrison/somasoma_V1
2d74ad3b58f7e4ea5334e240d5bd30938f615e24
[ "MIT" ]
null
null
null
"""web dev chapter3 quiz total score Revision ID: 00f001a958b1 Revises: b95f0132b231 Create Date: 2022-03-02 11:57:04.695611 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '00f001a958b1' down_revision = 'b95f0132b231' branch_labels = None depends_on = None
39.522727
130
0.748131
25fd8c2e1497e943cb438c2d147ab6c0ea5a6167
1,448
py
Python
tsv_to_indexd.py
uc-cdis/aws-batch-index
1b266bc85bc072b2750d98f733f76f98db566853
[ "Apache-2.0" ]
null
null
null
tsv_to_indexd.py
uc-cdis/aws-batch-index
1b266bc85bc072b2750d98f733f76f98db566853
[ "Apache-2.0" ]
null
null
null
tsv_to_indexd.py
uc-cdis/aws-batch-index
1b266bc85bc072b2750d98f733f76f98db566853
[ "Apache-2.0" ]
null
null
null
import csv import json import re import os import sys import requests import base64 PATH = "./output" stuff = [] with open("thing.txt", "w+") as r: for path, dirs, files in os.walk(PATH): for filename in files: fullpath = os.path.join(path, filename) with open(fullpath, "r") as f:...
28.96
56
0.394337
25fdf69d87de987fb580bb1e6d0df092e266a425
1,028
py
Python
eventup/events/models/events.py
Z-Devs-platzi/backend
66dc436311c1e5e307c5f32d6a151fb9e5d6e0b8
[ "MIT" ]
null
null
null
eventup/events/models/events.py
Z-Devs-platzi/backend
66dc436311c1e5e307c5f32d6a151fb9e5d6e0b8
[ "MIT" ]
15
2020-08-23T18:40:49.000Z
2022-03-12T00:46:49.000Z
eventup/events/models/events.py
Z-Devs-platzi/event_up-backend
2b03a87e220cf4d68c4c2c2067096926d6f19b37
[ "MIT" ]
null
null
null
''' Events Model ''' import uuid from django.db import models # Utils Model from eventup.utils.models import GeneralModel
23.363636
79
0.64786
25fe13f7f1b8a734018f17979a1574c47e8eb30b
3,198
py
Python
tests/test_api/test_project.py
orf/polyaxon-schemas
dce55df25ae752fc3fbf465ea53add126746d630
[ "MIT" ]
null
null
null
tests/test_api/test_project.py
orf/polyaxon-schemas
dce55df25ae752fc3fbf465ea53add126746d630
[ "MIT" ]
null
null
null
tests/test_api/test_project.py
orf/polyaxon-schemas
dce55df25ae752fc3fbf465ea53add126746d630
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import uuid from unittest import TestCase from hestia.tz_utils import local_now from marshmallow import ValidationError from tests.utils import assert_equal_dict from polyaxon_schemas.api.experiment import ExperimentConfig from...
36.758621
80
0.634459
25fef9ef873e5740a2ff06f1845a4837d7c9fc74
916
py
Python
pos_repair_order/wizard/assign_wizard.py
divyapy/odoo
a4b796fc8a9d291ff1b4c93e53e27f566947adf2
[ "MIT" ]
null
null
null
pos_repair_order/wizard/assign_wizard.py
divyapy/odoo
a4b796fc8a9d291ff1b4c93e53e27f566947adf2
[ "MIT" ]
null
null
null
pos_repair_order/wizard/assign_wizard.py
divyapy/odoo
a4b796fc8a9d291ff1b4c93e53e27f566947adf2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from odoo import api, fields, models, _
27.757576
76
0.648472
25ffe35e8c78cb6840c07e1ba30975649c994db9
1,077
py
Python
python_to_you/models/profile.py
jacksonsr45/python_to_you
f0016e0450f3f2a4ba1f592baff8a9c28ffeaec7
[ "MIT" ]
1
2021-05-11T12:09:00.000Z
2021-05-11T12:09:00.000Z
python_to_you/models/profile.py
jacksonsr45/python_to_you
f0016e0450f3f2a4ba1f592baff8a9c28ffeaec7
[ "MIT" ]
null
null
null
python_to_you/models/profile.py
jacksonsr45/python_to_you
f0016e0450f3f2a4ba1f592baff8a9c28ffeaec7
[ "MIT" ]
null
null
null
import datetime from python_to_you.extensions.database import db from sqlalchemy_serializer import SerializerMixin
41.423077
79
0.724234
d303609067dd385ae7d7e794011ee33a46b6f186
861
py
Python
boofuzz/boofuzz/primitives/simple.py
mrTavas/owasp-fstm-auto
6e9ff36e46d885701c7419db3eca15f12063a7f3
[ "CC0-1.0" ]
2
2021-05-05T12:03:01.000Z
2021-06-04T14:27:15.000Z
boofuzz/boofuzz/primitives/simple.py
mrTavas/owasp-fstm-auto
6e9ff36e46d885701c7419db3eca15f12063a7f3
[ "CC0-1.0" ]
null
null
null
boofuzz/boofuzz/primitives/simple.py
mrTavas/owasp-fstm-auto
6e9ff36e46d885701c7419db3eca15f12063a7f3
[ "CC0-1.0" ]
2
2021-05-05T12:03:09.000Z
2021-06-04T14:27:21.000Z
from ..fuzzable import Fuzzable
43.05
120
0.724739
d303c2dafa1f17c348ddee3c99adecf98990c23e
12,671
py
Python
schedule.py
budgidiere/Schedule
45e2777d9cb24c098a91a4ec83b31127264a1edc
[ "Apache-2.0" ]
null
null
null
schedule.py
budgidiere/Schedule
45e2777d9cb24c098a91a4ec83b31127264a1edc
[ "Apache-2.0" ]
null
null
null
schedule.py
budgidiere/Schedule
45e2777d9cb24c098a91a4ec83b31127264a1edc
[ "Apache-2.0" ]
null
null
null
#schedule.py #importing time import time #Making time readable format clock = (time.ctime()) hour = clock[11:13] minute = clock[14:16] currenttime = 60*int(hour) + int(minute) day = clock[0:3] print (currenttime) print (clock) #IDK why this is here whatclass = ("none") #used to read White and Gold week Value #Used to...
45.253571
61
0.531529
d306731d5628f849cd0f722161fc760de645252f
77
py
Python
duffy/models/__init__.py
Zlopez/duffy
db9621a2f2127b41d3ed6e29d8e50bf0f0d68a64
[ "Apache-2.0" ]
null
null
null
duffy/models/__init__.py
Zlopez/duffy
db9621a2f2127b41d3ed6e29d8e50bf0f0d68a64
[ "Apache-2.0" ]
null
null
null
duffy/models/__init__.py
Zlopez/duffy
db9621a2f2127b41d3ed6e29d8e50bf0f0d68a64
[ "Apache-2.0" ]
null
null
null
from .nodes import Host, HostSchema, Session, SessionSchema, Project, SSHKey
38.5
76
0.805195
d3069280ed59ec70e2f911b0845f83eda4671be0
973
py
Python
math/next_perfect_square.py
ethyl2/code_challenges
3c9ccca1782f92728e60a515a7ca797f6d470e81
[ "MIT" ]
null
null
null
math/next_perfect_square.py
ethyl2/code_challenges
3c9ccca1782f92728e60a515a7ca797f6d470e81
[ "MIT" ]
null
null
null
math/next_perfect_square.py
ethyl2/code_challenges
3c9ccca1782f92728e60a515a7ca797f6d470e81
[ "MIT" ]
null
null
null
""" https://www.codewars.com/kata/56269eb78ad2e4ced1000013/train/python Given an int, return the next 'integral perfect square', which is an integer n such that sqrt(n) is also an int. If the given int is not an integral perfect square, return -1. """ def find_next_square2(sq: int) -> int: """ This version ...
26.297297
112
0.644399
d30a1906d50b139c0bbc67c894830907d3ce4a76
483
py
Python
scripts/moveCenterPtOutOfExtras.py
75RAUL/georef
f21658bb5d765f04dce10c9e5b9a8942a76011c2
[ "NASA-1.3", "Apache-2.0" ]
6
2017-07-13T21:09:24.000Z
2021-12-09T16:52:01.000Z
scripts/moveCenterPtOutOfExtras.py
75RAUL/georef
f21658bb5d765f04dce10c9e5b9a8942a76011c2
[ "NASA-1.3", "Apache-2.0" ]
1
2021-06-01T20:08:03.000Z
2021-06-01T20:08:03.000Z
scripts/moveCenterPtOutOfExtras.py
75RAUL/georef
f21658bb5d765f04dce10c9e5b9a8942a76011c2
[ "NASA-1.3", "Apache-2.0" ]
16
2017-07-16T03:02:38.000Z
2022-02-26T19:30:00.000Z
#! /usr/bin/env python import django from django.conf import settings django.setup() from geocamTiePoint.models import Overlay moveCenterPtOutOfExtras()
28.411765
52
0.73706
d30a5c4ca313464e5235db512ad065b7b5f40078
11,087
py
Python
xl_tensorflow/models/vision/detection/utils/yolo_utils.py
Lannister-Xiaolin/xl_tensorflow
99e0f458769ee1e45ebf55c789961e40f7d2eeac
[ "Apache-2.0" ]
null
null
null
xl_tensorflow/models/vision/detection/utils/yolo_utils.py
Lannister-Xiaolin/xl_tensorflow
99e0f458769ee1e45ebf55c789961e40f7d2eeac
[ "Apache-2.0" ]
1
2020-11-13T18:52:23.000Z
2020-11-13T18:52:23.000Z
xl_tensorflow/models/vision/detection/utils/yolo_utils.py
Lannister-Xiaolin/xl_tensorflow
99e0f458769ee1e45ebf55c789961e40f7d2eeac
[ "Apache-2.0" ]
null
null
null
#!usr/bin/env python3 # -*- coding: UTF-8 -*- from functools import reduce from PIL import Image, ImageFont, ImageDraw import numpy as np from matplotlib.colors import rgb_to_hsv, hsv_to_rgb import colorsys def compose(*funcs): """Compose arbitrarily many functions, evaluated left to right. Reference: https:...
36.711921
109
0.570759
d30abca75b19bde3ab81fb5f1a0732de35ef0670
416
py
Python
src/python/shared/constants.py
rgrannell1/monic-polynomial
dec350112ec28a065e7be70151da20b203cde35b
[ "Unlicense" ]
null
null
null
src/python/shared/constants.py
rgrannell1/monic-polynomial
dec350112ec28a065e7be70151da20b203cde35b
[ "Unlicense" ]
10
2016-05-29T22:48:29.000Z
2021-09-14T10:38:06.000Z
src/python/shared/constants.py
rgrannell1/polynomial
dec350112ec28a065e7be70151da20b203cde35b
[ "Unlicense" ]
null
null
null
import os constants = { 'print_frequency': 10_000, 'flush_threshold': 10_000, 'tile_size': 5_000, 'project_root': os.path.realpath(os.path.join(os.path.dirname(__file__), '../../../')), 'colours': { 'background': 'black' }, 'escapes': { 'line_up': '\x1b[A', 'line_delete': '\x1b[K' }, 'units': { '...
17.333333
88
0.584135
d30ac629c524ea866310dba919699e150da5f2f1
7,143
py
Python
server/permatrix.py
osaizar/sand
b98c954090af69410589360a68e68cd10d52f782
[ "Apache-2.0" ]
null
null
null
server/permatrix.py
osaizar/sand
b98c954090af69410589360a68e68cd10d52f782
[ "Apache-2.0" ]
null
null
null
server/permatrix.py
osaizar/sand
b98c954090af69410589360a68e68cd10d52f782
[ "Apache-2.0" ]
null
null
null
import random import numpy as np MATRIX = [(7, 6, 2, 1, 0, 3, 5, 4), (6, 5, 0, 1, 3, 2, 4, 7), (1, 0, 3, 7, 5, 4, 6, 2), (7, 5, 2, 6, 1, 3, 0, 4), (0, 4, 2, 3, 7, 1, 6, 5), (7, 1, 0, 2, 3, 5, 6, 4), (3, 4, 2, 6, 0, 7, 5, 1), (6, 1, 5, 2, 7, 4, 0, 3), (3, 1, 4, 5, 0, 7, 2, 6), (3, 2, 6, 5, 0, 4, 1, 7), (3, 0, 6, 1, 7, ...
25.329787
40
0.332773
d30b795c9226a01b00b0c97716ea79f079c0f816
453
py
Python
fizzbuzz.py
harman31/TwilioQuest
9471bdc17bf2843a916576a52b45ee5b504378ab
[ "Unlicense" ]
null
null
null
fizzbuzz.py
harman31/TwilioQuest
9471bdc17bf2843a916576a52b45ee5b504378ab
[ "Unlicense" ]
null
null
null
fizzbuzz.py
harman31/TwilioQuest
9471bdc17bf2843a916576a52b45ee5b504378ab
[ "Unlicense" ]
null
null
null
import sys # Set up a list for our code to work with that omits the first CLI argument, # which is the name of our script (fizzbuzz.py) inputs = sys.argv inputs.pop(0) # Process the "inputs" list as directed in your code inputs = [int(x) for x in sys.argv[0:]] for x in inputs: if x % 3 == 0 and x % 5 == 0: ...
25.166667
77
0.589404
d30c5430832f65f46617b5e3e3d5b2e83f6f709d
2,414
py
Python
robotics/simulators/sensor_model.py
bkolligs/robotics-prototyping
ac7766921c7e8b2c51792697ddf2166ab9a46c82
[ "MIT" ]
3
2021-06-20T15:40:57.000Z
2021-11-11T03:20:29.000Z
robotics/simulators/sensor_model.py
bkolligs/robotics-prototyping
ac7766921c7e8b2c51792697ddf2166ab9a46c82
[ "MIT" ]
3
2021-07-06T01:31:51.000Z
2021-07-31T00:05:39.000Z
robotics/simulators/sensor_model.py
bkolligs/robotics-prototyping
ac7766921c7e8b2c51792697ddf2166ab9a46c82
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt # sensor object to inherit for different sensors if __name__ == '__main__': sense = Sensor("odom", 0, 0.2, np.zeros(3)) sense.testPlot()
33.527778
84
0.610605
d30c75900993a0da1695f71222f8a200a1c99170
52
py
Python
tests/__init__.py
frenck/python-ambee
0a03b66d2fd4aca789a44874365bf85ac3469b23
[ "MIT" ]
6
2021-06-08T19:27:01.000Z
2022-02-11T00:28:11.000Z
tests/__init__.py
frenck/python-ambee
0a03b66d2fd4aca789a44874365bf85ac3469b23
[ "MIT" ]
200
2021-06-08T19:54:54.000Z
2022-03-30T08:15:20.000Z
tests/__init__.py
frenck/python-ambee
0a03b66d2fd4aca789a44874365bf85ac3469b23
[ "MIT" ]
4
2021-06-14T18:04:06.000Z
2022-02-11T00:28:14.000Z
"""Asynchronous Python client for the Ambee API."""
26
51
0.730769
d30d285c95be78b147e1c63701ce89103c7e9604
458
py
Python
Singleton.py
cxwithyxy/PythonSingleton
6a3b83dccb90548a2324914d3c9c96dcee9c5008
[ "MIT" ]
null
null
null
Singleton.py
cxwithyxy/PythonSingleton
6a3b83dccb90548a2324914d3c9c96dcee9c5008
[ "MIT" ]
null
null
null
Singleton.py
cxwithyxy/PythonSingleton
6a3b83dccb90548a2324914d3c9c96dcee9c5008
[ "MIT" ]
null
null
null
#coding:utf-8 import threading
30.533333
68
0.641921
d30e8ef63f3e0580a4e7dd8d495cc791edee4584
661
py
Python
api/tacticalrmm/integrations/bitdefender/urls.py
subzdev/tacticalrmm
21d8899e9a01f0939ab908e82e1205fa7b632caf
[ "MIT" ]
1
2021-12-29T07:20:57.000Z
2021-12-29T07:20:57.000Z
api/tacticalrmm/integrations/bitdefender/urls.py
subzdev/tacticalrmm
21d8899e9a01f0939ab908e82e1205fa7b632caf
[ "MIT" ]
null
null
null
api/tacticalrmm/integrations/bitdefender/urls.py
subzdev/tacticalrmm
21d8899e9a01f0939ab908e82e1205fa7b632caf
[ "MIT" ]
1
2021-12-29T05:55:53.000Z
2021-12-29T05:55:53.000Z
from django.urls import path, include from . import views urlpatterns = [ path('endpoints/', views.GetEndpoints.as_view()), path('endpoint/<str:endpoint_id>/', views.GetEndpoint.as_view()), path('packages/', views.GetPackages.as_view()), path('endpoint/quickscan/<str:endpoint_id>/', views.GetQuickSc...
44.066667
90
0.708018
d310ad1d90c8db21e7972f44e9934db99a3126dd
6,612
py
Python
challenges/Sorter/poller/for-release/machine.py
pingjuiliao/cb-multios
64ededd0b87030eda7c40c4388a4ad8283712d8e
[ "MIT" ]
473
2016-08-01T12:48:16.000Z
2022-03-09T18:13:14.000Z
challenges/Sorter/poller/for-release/machine.py
pingjuiliao/cb-multios
64ededd0b87030eda7c40c4388a4ad8283712d8e
[ "MIT" ]
71
2016-08-01T03:33:44.000Z
2022-03-09T18:37:04.000Z
challenges/Sorter/poller/for-release/machine.py
pingjuiliao/cb-multios
64ededd0b87030eda7c40c4388a4ad8283712d8e
[ "MIT" ]
121
2016-08-01T04:07:53.000Z
2022-03-07T11:08:09.000Z
from generator.actions import Actions import random import string import struct import numpy as np import math import datetime as dt import ctypes
34.259067
105
0.576528
d310ad4131bb13a49700299f40080306d0be5ffa
267
py
Python
KanoTerminator.py
JJFReibel/KanoTerminator
2de8b310fcf39b270d0d65dfb18c26ed8b2b621b
[ "MIT" ]
null
null
null
KanoTerminator.py
JJFReibel/KanoTerminator
2de8b310fcf39b270d0d65dfb18c26ed8b2b621b
[ "MIT" ]
null
null
null
KanoTerminator.py
JJFReibel/KanoTerminator
2de8b310fcf39b270d0d65dfb18c26ed8b2b621b
[ "MIT" ]
null
null
null
# Kano or Terminator # By Jean-Jacques F. Reibel # I will not be held responsible for: # any shenanigans import os # _ # \_()_/ # (_) os.system("printf '\e[0;35;1;1m (_'") os.system("printf '\e[0;31;1;5m'") os.system("printf '\e[0;35;1;1m)\n'")
20.538462
46
0.599251
d311d6b8624998ffd42ae72c0e0a5667ee9aa1ef
4,754
py
Python
tests/test_leggins_list.py
ButterflyBug/Affordable-leggins
0031fb06796e47c6fbf7b38fd226d0365c2ca98f
[ "MIT" ]
3
2019-10-17T09:52:46.000Z
2020-12-28T10:41:34.000Z
tests/test_leggins_list.py
ButterflyBug/Affordable-leggins
0031fb06796e47c6fbf7b38fd226d0365c2ca98f
[ "MIT" ]
2
2019-10-29T21:09:44.000Z
2021-06-10T18:11:50.000Z
tests/test_leggins_list.py
ButterflyBug/Affordable-leggins
0031fb06796e47c6fbf7b38fd226d0365c2ca98f
[ "MIT" ]
null
null
null
import pytest from affordable_leggins.leggins_list import get_rrp_from_single_site from affordable_leggins.leggins_list import get_list_of_leggins_from_page from affordable_leggins.leggins_list import get_list_of_leggins from affordable_leggins.store import store_data, read_data, read_data_from_database from affordable...
31.071895
83
0.676904
d311f594d2a844e6d5e6617c53d3b5bdd083d897
2,665
py
Python
spotify_gender_ex/downloader.py
Theta-Dev/Spotify-Gender-Ex
4e5360f115cb3302397b8e1ad1b11ad96b887ad2
[ "MIT" ]
1
2022-02-05T16:40:13.000Z
2022-02-05T16:40:13.000Z
spotify_gender_ex/downloader.py
Theta-Dev/Spotify-Gender-Ex
4e5360f115cb3302397b8e1ad1b11ad96b887ad2
[ "MIT" ]
31
2021-06-17T11:59:33.000Z
2022-03-19T07:05:18.000Z
spotify_gender_ex/downloader.py
Theta-Dev/Spotify-Gender-Ex
4e5360f115cb3302397b8e1ad1b11ad96b887ad2
[ "MIT" ]
null
null
null
import os import re import urllib.request import click import requests from tqdm import tqdm URL_UPTODOWN = 'https://spotify.de.uptodown.com/android/download' URL_GHAPI = 'https://api.github.com/repos/Theta-Dev/Spotify-Gender-Ex/commits/master' URL_RTABLE = 'https://raw.githubusercontent.com/Theta-Dev/Spotify-Gender-...
31.72619
119
0.630394
d311fd05faa731dc82945e27c74b23f364dcc345
2,408
py
Python
robopager/check_type/intraday_latency_check.py
equinoxfitness/robopager
34bfbfe78d1e310462d781388aabc4a4392ff48a
[ "MIT" ]
1
2020-11-17T17:31:15.000Z
2020-11-17T17:31:15.000Z
robopager/check_type/intraday_latency_check.py
equinoxfitness/robopager
34bfbfe78d1e310462d781388aabc4a4392ff48a
[ "MIT" ]
null
null
null
robopager/check_type/intraday_latency_check.py
equinoxfitness/robopager
34bfbfe78d1e310462d781388aabc4a4392ff48a
[ "MIT" ]
3
2020-03-06T19:43:43.000Z
2020-03-30T20:01:56.000Z
# Intraday latency check function from datetime import datetime import pytz from datacoco_batch.batch import Batch from datacoco_core.logger import Logger log = Logger()
28.329412
76
0.550664
d313915d061fa34def9177d5f7b820de9a9fdfa5
3,633
py
Python
data_util.py
imalikshake/StyleNet
b3e2a0de1e9503cfc3b5aca1748085b9b3a97c1a
[ "CC-BY-4.0" ]
202
2017-06-07T17:41:04.000Z
2022-02-15T02:13:38.000Z
data_util.py
Her-shey/StyleNet
b3e2a0de1e9503cfc3b5aca1748085b9b3a97c1a
[ "CC-BY-4.0" ]
4
2017-07-06T04:16:05.000Z
2021-06-12T11:01:18.000Z
data_util.py
Her-shey/StyleNet
b3e2a0de1e9503cfc3b5aca1748085b9b3a97c1a
[ "CC-BY-4.0" ]
44
2017-06-07T21:56:51.000Z
2021-08-06T02:41:35.000Z
import numpy as np
36.33
101
0.573631
d315ddafc00e303827ed142f393b01062bb40a46
720
py
Python
PointCloudClass/down_sample.py
565353780/pointcloud-manage
77f16671ec0b88f53cd9fde2538143721f9d3ab6
[ "MIT" ]
3
2022-01-16T12:43:29.000Z
2022-01-22T05:21:40.000Z
PointCloudClass/down_sample.py
565353780/pointcloud-manage
77f16671ec0b88f53cd9fde2538143721f9d3ab6
[ "MIT" ]
null
null
null
PointCloudClass/down_sample.py
565353780/pointcloud-manage
77f16671ec0b88f53cd9fde2538143721f9d3ab6
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import open3d as o3d
31.304348
89
0.722222
d315fff20454a99b5425854a126c0fa656788a07
3,562
py
Python
congregation/net/handler.py
CCD-HRI/congregation
a552856b03a64a4295792184107c4e529ca3f4ae
[ "MIT" ]
3
2020-10-05T16:30:15.000Z
2021-01-22T13:38:02.000Z
congregation/net/handler.py
CCD-HRI/congregation
a552856b03a64a4295792184107c4e529ca3f4ae
[ "MIT" ]
null
null
null
congregation/net/handler.py
CCD-HRI/congregation
a552856b03a64a4295792184107c4e529ca3f4ae
[ "MIT" ]
1
2021-02-19T12:40:57.000Z
2021-02-19T12:40:57.000Z
import asyncio import pickle from congregation.net.messages import *
35.62
108
0.590118
d3162e78a871415bab1f9452d82a894abaab0f56
44,224
py
Python
Course-4-Clustering-and-Retrieval/week-3-k-means-with-text-data_blank.py
emetnatbelt/Machine-Learning-Univ-Washington1
6e6f9cd69b69157f5c09eed299ab120bf6764de3
[ "MIT" ]
20
2017-04-06T08:50:58.000Z
2021-11-01T13:43:22.000Z
Course-4-Clustering-and-Retrieval/week-3-k-means-with-text-data_blank.py
emetnatbelt/Machine-Learning-Univ-Washington
6e6f9cd69b69157f5c09eed299ab120bf6764de3
[ "MIT" ]
null
null
null
Course-4-Clustering-and-Retrieval/week-3-k-means-with-text-data_blank.py
emetnatbelt/Machine-Learning-Univ-Washington
6e6f9cd69b69157f5c09eed299ab120bf6764de3
[ "MIT" ]
24
2016-06-01T21:28:17.000Z
2021-10-02T03:17:11.000Z
# coding: utf-8 # # k-means with text data # In this assignment you will # * Cluster Wikipedia documents using k-means # * Explore the role of random initialization on the quality of the clustering # * Explore how results differ after changing the number of clusters # * Evaluate clustering, both quantitatively and q...
46.01873
725
0.707195
d316a1c92ea2eacd99036644096b71daf8954435
18,504
py
Python
esp8266.py
mertaksoy/rpi-pico-micropython-esp8266-lib
b6500493294fc37719f6c5494b2ddd0882ac260c
[ "MIT" ]
8
2021-12-30T18:31:26.000Z
2022-03-22T01:11:29.000Z
esp8266.py
mertaksoy/rpi-pico-micropython-esp8266-lib
b6500493294fc37719f6c5494b2ddd0882ac260c
[ "MIT" ]
1
2021-11-06T22:54:47.000Z
2021-12-29T03:28:18.000Z
esp8266.py
mertaksoy/rpi-pico-micropython-esp8266-lib
b6500493294fc37719f6c5494b2ddd0882ac260c
[ "MIT" ]
6
2021-09-28T06:35:59.000Z
2022-01-10T10:36:41.000Z
from machine import UART, Pin import time from httpParser import HttpParser ESP8266_OK_STATUS = "OK\r\n" ESP8266_ERROR_STATUS = "ERROR\r\n" ESP8266_FAIL_STATUS = "FAIL\r\n" ESP8266_WIFI_CONNECTED="WIFI CONNECTED\r\n" ESP8266_WIFI_GOT_IP_CONNECTED="WIFI GOT IP\r\n" ESP8266_WIFI_DISCONNECTED="WIFI DISCONNECT\r\n" ESP826...
36.497041
209
0.541829
d318c848b55117fd7c66c4af724183f8868ea105
436
py
Python
src/data_science/data_science/tools/time.py
viclule/api_models_deployment_framework
7595cf0b4f3e277925b968014102d7561547bcd4
[ "MIT" ]
null
null
null
src/data_science/data_science/tools/time.py
viclule/api_models_deployment_framework
7595cf0b4f3e277925b968014102d7561547bcd4
[ "MIT" ]
null
null
null
src/data_science/data_science/tools/time.py
viclule/api_models_deployment_framework
7595cf0b4f3e277925b968014102d7561547bcd4
[ "MIT" ]
null
null
null
from datetime import datetime, timezone def get_timestamp_isoformat(): """ Generate a timestampt in iso format. """ dt = datetime.utcnow().replace(microsecond=0).isoformat("T") + "Z" return dt def get_timestamp_unix(): """ Generate a timestampt in unix format. ########.### """ ...
21.8
70
0.637615
d318e2e1e00efb11661eb79da804990357c744f8
511
py
Python
examples/crab_gateway.py
OnroerendErfgoed/crabpy
218607957fbb9293a3054ae0613f7c2e3e44f697
[ "MIT" ]
4
2015-01-04T19:22:47.000Z
2018-10-17T20:09:01.000Z
examples/crab_gateway.py
OnroerendErfgoed/crabpy
218607957fbb9293a3054ae0613f7c2e3e44f697
[ "MIT" ]
123
2015-02-22T22:25:45.000Z
2022-03-01T17:58:06.000Z
examples/crab_gateway.py
OnroerendErfgoed/crabpy
218607957fbb9293a3054ae0613f7c2e3e44f697
[ "MIT" ]
2
2017-06-06T09:29:29.000Z
2017-09-15T11:44:23.000Z
# -*- coding: utf-8 -*- ''' This script demonstrates using the crab gateway to walk the entire address tree (street and number) of a `gemeente`. ''' from crabpy.client import crab_request, crab_factory from crabpy.gateway.crab import CrabGateway g = CrabGateway(crab_factory()) gemeente = g.get_gemeente_by_id(1) pri...
24.333333
66
0.661448
d31a96e194e159ff9f667fe1d5373f70080f5da4
1,127
py
Python
datatracer/foreign_key/base.py
HDI-Project/DataTracer
4bb0906f1716bbcfeb0881cade5d6d47bca90764
[ "MIT" ]
15
2020-05-27T11:55:05.000Z
2022-02-08T11:07:54.000Z
datatracer/foreign_key/base.py
HDI-Project/DataTracer
4bb0906f1716bbcfeb0881cade5d6d47bca90764
[ "MIT" ]
21
2020-06-02T11:56:13.000Z
2021-07-29T21:50:27.000Z
datatracer/foreign_key/base.py
HDI-Project/DataTracer
4bb0906f1716bbcfeb0881cade5d6d47bca90764
[ "MIT" ]
3
2021-01-19T17:10:58.000Z
2021-08-13T20:47:33.000Z
"""Foreign Key Solving base class."""
32.2
91
0.593611
d31b0e2a66034752b1a8448b8586de5dae1ee9d7
10,963
py
Python
aim2_metrics/aim/evaluators/evaluators.py
heseba/aim
938336a17c503390ec98a730a828e4b26e5900d7
[ "MIT" ]
null
null
null
aim2_metrics/aim/evaluators/evaluators.py
heseba/aim
938336a17c503390ec98a730a828e4b26e5900d7
[ "MIT" ]
null
null
null
aim2_metrics/aim/evaluators/evaluators.py
heseba/aim
938336a17c503390ec98a730a828e4b26e5900d7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Evaluators. """ # ---------------------------------------------------------------------------- # Imports # ---------------------------------------------------------------------------- # Standard library modules import importlib import time from datetime import date ...
35.478964
167
0.532062
d31cf351b110249c4460fb2251ddbafce2b5a201
368
py
Python
Traditional/split_path.py
hmarko/netapp-data-science-toolkit
ffec0eda608e79c20b628a7ac086cac1101843e8
[ "BSD-3-Clause" ]
null
null
null
Traditional/split_path.py
hmarko/netapp-data-science-toolkit
ffec0eda608e79c20b628a7ac086cac1101843e8
[ "BSD-3-Clause" ]
null
null
null
Traditional/split_path.py
hmarko/netapp-data-science-toolkit
ffec0eda608e79c20b628a7ac086cac1101843e8
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import os from posixpath import normpath path = "///data/video/project1//" normalized_path = os.path.normpath(path) sep_path = normalized_path.split(os.sep) path_tail = sep_path[-1] #last word in path - need to be volume name currentPath = '' for folder in sep_path: if folder: current...
26.285714
68
0.703804
d31d05d65e96e8eb5e6db72874f6fcc4ab556220
2,325
py
Python
http/torcheck.py
k11dd00/oniongen
00d7992920c59de4a5584357a35494fbdde0a6d9
[ "MIT" ]
null
null
null
http/torcheck.py
k11dd00/oniongen
00d7992920c59de4a5584357a35494fbdde0a6d9
[ "MIT" ]
1
2021-11-09T02:38:38.000Z
2021-11-09T02:38:38.000Z
http/torcheck.py
k11dd00/oniongen
00d7992920c59de4a5584357a35494fbdde0a6d9
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2018 k1dd00 # # 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, publi...
32.746479
81
0.68086
d31d611e4b40f5de20572912a046b15c498ee7dd
519
py
Python
ObjectsName_to_Meshs/ObjectsName_to_Meshs.py
a2d4f3s1/Blender-Tips
e897f78a406243aa9959e226e13a7e214638179f
[ "MIT" ]
null
null
null
ObjectsName_to_Meshs/ObjectsName_to_Meshs.py
a2d4f3s1/Blender-Tips
e897f78a406243aa9959e226e13a7e214638179f
[ "MIT" ]
null
null
null
ObjectsName_to_Meshs/ObjectsName_to_Meshs.py
a2d4f3s1/Blender-Tips
e897f78a406243aa9959e226e13a7e214638179f
[ "MIT" ]
null
null
null
## import bpy objects = bpy.data.objects shareObjects = list() ## Deselect All for object in objects: bpy.context.scene.objects[(object.name)].select_set(False) ## Copy Name obj to mesh for obj in objects: if obj.data and obj.data.users == 1: ## if no shared mesh obj.data.name = obj.name else : ...
23.590909
62
0.693642
d31e759f50ddb0b000972b746bbc9dcd6c046e1e
9,311
py
Python
tgbotapi.py
suhasa010/tgbotapi-bot
23894c7e239ca56cd1f5588bcda27c53b361f8da
[ "MIT" ]
5
2020-12-20T21:36:27.000Z
2021-05-09T08:26:04.000Z
tgbotapi.py
suhasa010/tgbotapi-bot
23894c7e239ca56cd1f5588bcda27c53b361f8da
[ "MIT" ]
1
2020-12-06T16:12:07.000Z
2020-12-06T16:12:07.000Z
tgbotapi.py
suhasa010/tgbotapi-bot
23894c7e239ca56cd1f5588bcda27c53b361f8da
[ "MIT" ]
2
2020-12-06T16:03:52.000Z
2021-01-17T03:36:33.000Z
from telegram.ext import Updater import os from dotenv import load_dotenv load_dotenv() BOT_API = os.getenv("BOT_API") updater = Updater(token=BOT_API, use_context=True) dispatcher = updater.dispatcher import logging logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', ...
44.550239
184
0.671356
d31f11e2bab844fa68163cfc4bba33ce06b7e294
2,387
py
Python
python/helpers/pydev/third_party/wrapped_for_pydev/ctypes/wintypes.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
695
2020-01-30T14:34:51.000Z
2022-03-31T09:31:57.000Z
python/helpers/pydev/third_party/wrapped_for_pydev/ctypes/wintypes.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
1,095
2018-03-01T00:50:11.000Z
2019-05-06T17:44:15.000Z
python/helpers/pydev/third_party/wrapped_for_pydev/ctypes/wintypes.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
111
2015-12-01T14:06:10.000Z
2020-08-01T10:44:39.000Z
#@PydevCodeAnalysisIgnore # XXX This module needs cleanup. from ctypes import * DWORD = c_ulong WORD = c_ushort BYTE = c_byte ULONG = c_ulong LONG = c_long LARGE_INTEGER = c_longlong ULARGE_INTEGER = c_ulonglong HANDLE = c_ulong # in the header files: void * HWND = HANDLE HDC = HANDLE HMODULE = HANDLE HINSTANCE ...
24.111111
53
0.553414