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
9125319261fb94bc69a897401585fdd40320b1d2
25,070
py
Python
train_multi_human.py
wenliangdai/sunets-reproduce
d92efa80e8314aea153d498cce3c9c6e30c252bd
[ "MIT" ]
2
2018-07-02T16:03:07.000Z
2018-07-02T16:03:07.000Z
train_multi_human.py
wenliangdai/sunets-reproduce
d92efa80e8314aea153d498cce3c9c6e30c252bd
[ "MIT" ]
null
null
null
train_multi_human.py
wenliangdai/sunets-reproduce
d92efa80e8314aea153d498cce3c9c6e30c252bd
[ "MIT" ]
null
null
null
import argparse import math import os import pickle import random import sys import numpy as np import torch import torch.backends.cudnn as cudnn from torch import nn from torch.optim import lr_scheduler from torch.utils import data import torchvision.transforms as transforms import transforms as extended_transforms ...
55.835189
210
0.657359
9125a2258a5cbeeafce52644773c51a924d107ac
392
py
Python
exemplos/exemplo-aula-14-01.py
quitaiskiluisf/TI4F-2021-LogicaProgramacao
d12e5c389a43c98f27726df5618fe529183329a8
[ "Unlicense" ]
null
null
null
exemplos/exemplo-aula-14-01.py
quitaiskiluisf/TI4F-2021-LogicaProgramacao
d12e5c389a43c98f27726df5618fe529183329a8
[ "Unlicense" ]
null
null
null
exemplos/exemplo-aula-14-01.py
quitaiskiluisf/TI4F-2021-LogicaProgramacao
d12e5c389a43c98f27726df5618fe529183329a8
[ "Unlicense" ]
null
null
null
# Apresentao print('Programa para somar 8 valores utilizando vetores/listas') print() # Declarao do vetor valores = [0, 0, 0, 0, 0, 0, 0, 0] # Solicita os valores for i in range(len(valores)): valores[i] = int(input('Informe o valor: ')) # Clculo da soma soma = 0 for i in range(len(valores)): soma += valores...
20.631579
64
0.67602
9125c9f61c337477b68228ea1ba426e48ce06b1a
333
py
Python
day3/p1.py
pwicks86/adventofcode2015
fba7cc8f6942f43f5b0226a0ac70365630f14cbd
[ "MIT" ]
null
null
null
day3/p1.py
pwicks86/adventofcode2015
fba7cc8f6942f43f5b0226a0ac70365630f14cbd
[ "MIT" ]
null
null
null
day3/p1.py
pwicks86/adventofcode2015
fba7cc8f6942f43f5b0226a0ac70365630f14cbd
[ "MIT" ]
null
null
null
from collections import defaultdict f = open("input.txt") d = f.read() houses = defaultdict(int,{(0,0):1}) cur = [0,0] for c in d: if c == "<": cur[0] -= 1 if c == ">": cur[0] += 1 if c == "v": cur[1] += 1 if c == "^": cur[1] -= 1 houses[tuple(cur)]+=1 print(len(hou...
18.5
35
0.456456
91266dc2fa03da47339e3882e71342b1ee45462b
2,326
py
Python
pbr/config/blend_config.py
NUbots/NUpbr
49b0d2abd15512a93bfe21157269288c9ec4c54d
[ "MIT" ]
1
2019-03-25T04:37:06.000Z
2019-03-25T04:37:06.000Z
pbr/config/blend_config.py
NUbots/NUpbr
49b0d2abd15512a93bfe21157269288c9ec4c54d
[ "MIT" ]
3
2020-07-24T11:55:48.000Z
2022-02-20T20:49:17.000Z
pbr/config/blend_config.py
NUbots/NUpbr
49b0d2abd15512a93bfe21157269288c9ec4c54d
[ "MIT" ]
null
null
null
# Blender-specific Configuration Settings from math import pi render = { "render_engine": "CYCLES", "render": {"cycles_device": "GPU"}, "dimensions": {"resolution": [1280, 1024], "percentage": 100.0}, "sampling": {"cycles_samples": 256, "cycles_preview_samples": 16}, "light_paths": { "tran...
31.432432
85
0.503439
912692288f987cd8f54127db16d2b577edc80fc1
7,022
py
Python
simglucose/controller/basal_bolus_ctrller.py
mia-jingyi/simglucose
a90bd8750fce362be91668ed839b3b252bc0d58d
[ "MIT" ]
null
null
null
simglucose/controller/basal_bolus_ctrller.py
mia-jingyi/simglucose
a90bd8750fce362be91668ed839b3b252bc0d58d
[ "MIT" ]
null
null
null
simglucose/controller/basal_bolus_ctrller.py
mia-jingyi/simglucose
a90bd8750fce362be91668ed839b3b252bc0d58d
[ "MIT" ]
null
null
null
from .base import Controller from .base import Action import numpy as np import pandas as pd import logging from collections import namedtuple from tqdm import tqdm logger = logging.getLogger(__name__) CONTROL_QUEST = 'simglucose/params/Quest.csv' PATIENT_PARA_FILE = 'simglucose/params/vpatient_params.csv' ParamTup = ...
38.582418
99
0.602108
912788fe05c2b0029d03454b315f2758ce890c5a
6,025
py
Python
ceilometer/event/trait_plugins.py
redhat-openstack/ceilometer
9e503d7068889e52e9144079de331ed51676e535
[ "Apache-2.0" ]
1
2016-03-10T06:55:45.000Z
2016-03-10T06:55:45.000Z
ceilometer/event/trait_plugins.py
redhat-openstack/ceilometer
9e503d7068889e52e9144079de331ed51676e535
[ "Apache-2.0" ]
null
null
null
ceilometer/event/trait_plugins.py
redhat-openstack/ceilometer
9e503d7068889e52e9144079de331ed51676e535
[ "Apache-2.0" ]
null
null
null
# # Copyright 2013 Rackspace Hosting. # # 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...
37.42236
77
0.550539
9127b9612983c8643c1eb5911a7a12880ad76607
803
py
Python
web13/jsonapi.py
gongjunhuang/web
9412f6fd7c223174fdb30f4d7a8b61a8e130e329
[ "Apache-2.0" ]
null
null
null
web13/jsonapi.py
gongjunhuang/web
9412f6fd7c223174fdb30f4d7a8b61a8e130e329
[ "Apache-2.0" ]
null
null
null
web13/jsonapi.py
gongjunhuang/web
9412f6fd7c223174fdb30f4d7a8b61a8e130e329
[ "Apache-2.0" ]
null
null
null
from flask import Flask, redirect, url_for, jsonify, request app = Flask(__name__) users = [] ''' Json api formJson Json 1. 2.open api 3. RESTful api Dr. Fielding url /GET /players /GET /player/id id /PUT /players /PATCH /players /DELETE /player/id /GET /player/id/level ''' ...
16.387755
60
0.636364
91291f525e80342e370d1b3f81196a52f9108a77
786
py
Python
cards/migrations/0012_auto_20180331_1348.py
mhndlsz/memodrop
7ba39143c8e4fbe67881b141accedef535e936e6
[ "MIT" ]
18
2018-04-15T14:01:25.000Z
2022-03-16T14:57:28.000Z
cards/migrations/0012_auto_20180331_1348.py
mhndlsz/memodrop
7ba39143c8e4fbe67881b141accedef535e936e6
[ "MIT" ]
null
null
null
cards/migrations/0012_auto_20180331_1348.py
mhndlsz/memodrop
7ba39143c8e4fbe67881b141accedef535e936e6
[ "MIT" ]
4
2018-04-15T14:16:12.000Z
2020-08-10T14:31:48.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-03-31 13:48 from __future__ import unicode_literals from django.db import migrations, models
25.354839
68
0.577608
912a168bff4536c4b4657348252f51f09a3dbc8c
1,776
py
Python
MoMMI/Modules/ss14_nudges.py
T6751/MoMMI
4b9dd0d49c6e2bd82b82a4893fc35475d4e39e9a
[ "MIT" ]
18
2016-08-06T17:31:59.000Z
2021-12-24T13:08:02.000Z
MoMMI/Modules/ss14_nudges.py
T6751/MoMMI
4b9dd0d49c6e2bd82b82a4893fc35475d4e39e9a
[ "MIT" ]
29
2016-08-07T14:03:00.000Z
2022-01-23T21:05:33.000Z
MoMMI/Modules/ss14_nudges.py
T6751/MoMMI
4b9dd0d49c6e2bd82b82a4893fc35475d4e39e9a
[ "MIT" ]
25
2016-08-08T12:56:02.000Z
2022-02-09T07:17:51.000Z
import logging from typing import Match, Any, Dict import aiohttp from discord import Message from MoMMI import comm_event, command, MChannel, always_command logger = logging.getLogger(__name__)
27.75
126
0.649212
912b4d4f0a7c8620ff9eef12211953cd7f872472
1,633
py
Python
oxe-api/test/resource/company/test_get_company_taxonomy.py
CybersecurityLuxembourg/openxeco
8d4e5578bde6a07f5d6d569b16b4de224abf7bf0
[ "BSD-2-Clause" ]
null
null
null
oxe-api/test/resource/company/test_get_company_taxonomy.py
CybersecurityLuxembourg/openxeco
8d4e5578bde6a07f5d6d569b16b4de224abf7bf0
[ "BSD-2-Clause" ]
null
null
null
oxe-api/test/resource/company/test_get_company_taxonomy.py
CybersecurityLuxembourg/openxeco
8d4e5578bde6a07f5d6d569b16b4de224abf7bf0
[ "BSD-2-Clause" ]
null
null
null
from test.BaseCase import BaseCase
49.484848
102
0.62278
912c1f2c9b394208b14b4781f1f67d739e19f340
539
py
Python
spoon/models/groupmembership.py
mikeboers/Spoon
9fe4a06be7c2c6c307b79e72893e32f2006de4ea
[ "BSD-3-Clause" ]
4
2017-11-05T02:54:39.000Z
2022-03-01T06:01:20.000Z
spoon/models/groupmembership.py
mikeboers/Spoon
9fe4a06be7c2c6c307b79e72893e32f2006de4ea
[ "BSD-3-Clause" ]
null
null
null
spoon/models/groupmembership.py
mikeboers/Spoon
9fe4a06be7c2c6c307b79e72893e32f2006de4ea
[ "BSD-3-Clause" ]
null
null
null
import sqlalchemy as sa from ..core import db
22.458333
68
0.651206
912c4617e4d0718d34c2b278ca0d1aef755136f4
59,222
py
Python
nonlinear/aorta/nonlinearCasesCreation_aorta.py
HaolinCMU/Soft_tissue_tracking
8592b87066ddec84a3aefc18240303cb085cf34c
[ "MIT" ]
3
2020-08-25T05:10:34.000Z
2020-09-18T01:50:33.000Z
nonlinear/aorta/nonlinearCasesCreation_aorta.py
HaolinCMU/Soft_tissue_tracking
8592b87066ddec84a3aefc18240303cb085cf34c
[ "MIT" ]
null
null
null
nonlinear/aorta/nonlinearCasesCreation_aorta.py
HaolinCMU/Soft_tissue_tracking
8592b87066ddec84a3aefc18240303cb085cf34c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Aug 25 13:08:16 2020 @author: haolinl """ import copy import os import time import numpy as np import random import scipy.io # For extracting data from .mat file def saveLog(file_name_list, elapsed_time_list, write_status, data_file_name, s...
46.594807
238
0.590473
912dd1c1fee777c8a3a588b4ebb22c1cb4588df4
1,790
py
Python
data/cache/test/test_cache.py
dongboyan77/quay
8018e5bd80f17e6d855b58b7d5f2792d92675905
[ "Apache-2.0" ]
1
2020-10-16T19:30:41.000Z
2020-10-16T19:30:41.000Z
data/cache/test/test_cache.py
dongboyan77/quay
8018e5bd80f17e6d855b58b7d5f2792d92675905
[ "Apache-2.0" ]
15
2020-06-18T15:32:06.000Z
2022-03-03T23:06:24.000Z
data/cache/test/test_cache.py
dongboyan77/quay
8018e5bd80f17e6d855b58b7d5f2792d92675905
[ "Apache-2.0" ]
null
null
null
import pytest from mock import patch from data.cache import InMemoryDataModelCache, NoopDataModelCache, MemcachedModelCache from data.cache.cache_key import CacheKey def test_memcache(): key = CacheKey("foo", "60m") with patch("data.cache.impl.Client", MockClient): cache = MemcachedModelCache(("12...
32.545455
89
0.634078
912ed2b516655605fdb89fa39bcc4f1ec0c3ed2a
2,306
py
Python
Packs/HealthCheck/Scripts/HealthCheckIncidentsCreatedMonthly/HealthCheckIncidentsCreatedMonthly.py
mazmat-panw/content
024a65c1dea2548e2637a9cbbe54966e9e34a722
[ "MIT" ]
2
2021-12-06T21:38:24.000Z
2022-01-13T08:23:36.000Z
Packs/HealthCheck/Scripts/HealthCheckIncidentsCreatedMonthly/HealthCheckIncidentsCreatedMonthly.py
mazmat-panw/content
024a65c1dea2548e2637a9cbbe54966e9e34a722
[ "MIT" ]
87
2022-02-23T12:10:53.000Z
2022-03-31T11:29:05.000Z
Packs/HealthCheck/Scripts/HealthCheckIncidentsCreatedMonthly/HealthCheckIncidentsCreatedMonthly.py
henry-sue-pa/content
043c6badfb4f9c80673cad9242fdea72efe301f7
[ "MIT" ]
2
2022-01-05T15:27:01.000Z
2022-02-01T19:27:43.000Z
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 ctx = demisto.context() dataFromCtx = ctx.get("widgets") if not dataFromCtx: incident = demisto.incidents()[0] accountName = incident.get('account') accountName = f"acc_{accountName}" if accountName != "" else "" ...
27.452381
110
0.423677
912f4cb2d5b6031823d833fa3533c0b3fca9c0fd
13,099
py
Python
Bert_training.py
qzlydao/Bert_Sentiment_Analysis
2da2d0c6da2cdb55f37ff0a7e95f0ea4876b2d61
[ "Apache-2.0" ]
null
null
null
Bert_training.py
qzlydao/Bert_Sentiment_Analysis
2da2d0c6da2cdb55f37ff0a7e95f0ea4876b2d61
[ "Apache-2.0" ]
null
null
null
Bert_training.py
qzlydao/Bert_Sentiment_Analysis
2da2d0c6da2cdb55f37ff0a7e95f0ea4876b2d61
[ "Apache-2.0" ]
null
null
null
from torch.utils.data import DataLoader from dataset.wiki_dataset import BERTDataset from models.bert_model import * from tqdm import tqdm import numpy as np import pandas as pd import os config = {} config['train_corpus_path'] = './corpus/train_wiki.txt' config['test_corpus_path'] = './corpus/test_wiki.txt' config[...
41.062696
130
0.579128
913073679e4abf540c0706db4723633ae6619d7d
5,757
py
Python
python/triton/language/random.py
appliedml85/triton
8bedcce9befbbe95d8fe0a082718edc4050e2831
[ "MIT" ]
1
2021-09-03T15:58:49.000Z
2021-09-03T15:58:49.000Z
python/triton/language/random.py
appliedml85/triton
8bedcce9befbbe95d8fe0a082718edc4050e2831
[ "MIT" ]
null
null
null
python/triton/language/random.py
appliedml85/triton
8bedcce9befbbe95d8fe0a082718edc4050e2831
[ "MIT" ]
null
null
null
import triton import triton.language as tl # Notes # 1. triton doesn't support uint32, so we use int32 instead and benefit from the fact that two's complement operations are equivalent to uint operations. # 2. multiply_low_high is currently inefficient. # 3. Even though technically philox sampling outputs int, in man...
27.545455
153
0.639396
9130c59838ca9f05494c451b3ac65479a741bec6
265
py
Python
pyctcdecode/__init__.py
kensho-technologies/pyctcdecode
c33f94bce283ea9af79d30e2b815e3bf34a137c9
[ "Apache-2.0" ]
203
2021-06-08T22:49:56.000Z
2022-03-31T11:55:21.000Z
pyctcdecode/__init__.py
kensho-technologies/pyctcdecode
c33f94bce283ea9af79d30e2b815e3bf34a137c9
[ "Apache-2.0" ]
40
2021-06-11T20:58:07.000Z
2022-03-23T10:58:27.000Z
pyctcdecode/__init__.py
kensho-technologies/pyctcdecode
c33f94bce283ea9af79d30e2b815e3bf34a137c9
[ "Apache-2.0" ]
39
2021-06-09T21:03:35.000Z
2022-03-26T13:14:23.000Z
# Copyright 2021-present Kensho Technologies, LLC. from .alphabet import Alphabet # noqa from .decoder import BeamSearchDecoderCTC, build_ctcdecoder # noqa from .language_model import LanguageModel # noqa __package_name__ = "pyctcdecode" __version__ = "0.3.0"
29.444444
67
0.792453
9130dea9e896e245175b22a313c12b30eff43fdf
137
py
Python
wumpus/start_server.py
marky1991/Legend-of-Wumpus
b53f4a520cea274ddb4c40c6ab4f42a68008896f
[ "MIT" ]
null
null
null
wumpus/start_server.py
marky1991/Legend-of-Wumpus
b53f4a520cea274ddb4c40c6ab4f42a68008896f
[ "MIT" ]
null
null
null
wumpus/start_server.py
marky1991/Legend-of-Wumpus
b53f4a520cea274ddb4c40c6ab4f42a68008896f
[ "MIT" ]
null
null
null
from wumpus.server import Server from circuits import Debugger s = Server("0.0.0.0", 50551) + Debugger() s.run() import sys sys.exit(1)
17.125
41
0.722628
9130e2a60db5f7dd70d5dc6252d49d770a1edb17
6,567
py
Python
platypush/backend/joystick/linux/__init__.py
BlackLight/platypush
6c0a8bf2599eb4ab41a6122dbd988075d8b1a63a
[ "MIT" ]
228
2018-01-30T11:17:09.000Z
2022-03-24T11:22:26.000Z
platypush/backend/joystick/linux/__init__.py
BlackLight/platypush
6c0a8bf2599eb4ab41a6122dbd988075d8b1a63a
[ "MIT" ]
167
2017-12-11T19:35:38.000Z
2022-03-27T14:45:30.000Z
platypush/backend/joystick/linux/__init__.py
BlackLight/runbullet
8d26c8634d2677b4402f0a21b9ab8244b44640db
[ "MIT" ]
16
2018-05-03T07:31:56.000Z
2021-12-05T19:27:37.000Z
import array import struct import time from fcntl import ioctl from typing import IO from platypush.backend import Backend from platypush.message.event.joystick import JoystickConnectedEvent, JoystickDisconnectedEvent, \ JoystickButtonPressedEvent, JoystickButtonReleasedEvent, JoystickAxisEvent
34.563158
115
0.536166
91319c7d1f44146497a5047e81aae4b710f7a353
10,043
py
Python
src/modules/sensors/vehicle_magnetometer/mag_compensation/python/mag_compensation.py
SaxionMechatronics/Firmware
7393d5d7610dc8d2cb64d90a5359b6c561fb642a
[ "BSD-3-Clause" ]
4,224
2015-01-02T11:51:02.000Z
2020-10-27T23:42:28.000Z
src/modules/sensors/vehicle_magnetometer/mag_compensation/python/mag_compensation.py
SaxionMechatronics/Firmware
7393d5d7610dc8d2cb64d90a5359b6c561fb642a
[ "BSD-3-Clause" ]
11,736
2015-01-01T11:59:16.000Z
2020-10-28T17:13:38.000Z
src/modules/sensors/vehicle_magnetometer/mag_compensation/python/mag_compensation.py
SaxionMechatronics/Firmware
7393d5d7610dc8d2cb64d90a5359b6c561fb642a
[ "BSD-3-Clause" ]
11,850
2015-01-02T14:54:47.000Z
2020-10-28T16:42:47.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ File: mag_compensation.py Author: Tanja Baumann Email: tanja@auterion.com Github: https://github.com/baumanta Description: Computes linear coefficients for mag compensation from thrust and current Usage: python mag_compensation.py /path/to/log/logfile.ulg curr...
36.787546
279
0.685054
9131fc3d32e64957b9b0364448ce5a53a40a4303
110
py
Python
app.py
19857625778/watchlist
284e3f814394d0fda6e262ab84177a493027c19e
[ "MIT" ]
null
null
null
app.py
19857625778/watchlist
284e3f814394d0fda6e262ab84177a493027c19e
[ "MIT" ]
null
null
null
app.py
19857625778/watchlist
284e3f814394d0fda6e262ab84177a493027c19e
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(_name_)
18.333333
36
0.690909
913206ffbcd62d973e6003afaac405c6a7ea1d3b
524
py
Python
portfolio_optimization/constants.py
AI-Traiding-Team/paired_trading
72d4dd0071314e2f0efaa26931ca7339199fc998
[ "MIT" ]
1
2022-03-26T23:21:51.000Z
2022-03-26T23:21:51.000Z
portfolio_optimization/constants.py
AI-Traiding-Team/paired_trading
72d4dd0071314e2f0efaa26931ca7339199fc998
[ "MIT" ]
null
null
null
portfolio_optimization/constants.py
AI-Traiding-Team/paired_trading
72d4dd0071314e2f0efaa26931ca7339199fc998
[ "MIT" ]
3
2021-12-07T07:39:43.000Z
2022-01-24T05:05:55.000Z
import os path1 = "outputs" path2 = "outputs/_imgs" path3 = "outputs/max_sharpe_weights" path4 = "outputs/opt_portfolio_trades" try: os.mkdir(path1) except OSError: print (" %s " % path1) else: print (" %s " % path1) try: os.makedirs(path2) os.makedirs(path3) os.makedirs(path4) except OSEr...
20.153846
52
0.704198
91329b52b2eb8891b64c02d1b241dca7cd47466e
26,007
py
Python
mypy/transformtype.py
silky/mypy
de6a8d3710df9f49109cb682f2092e4967bfb92c
[ "PSF-2.0" ]
1
2019-06-27T11:34:27.000Z
2019-06-27T11:34:27.000Z
mypy/transformtype.py
silky/mypy
de6a8d3710df9f49109cb682f2092e4967bfb92c
[ "PSF-2.0" ]
null
null
null
mypy/transformtype.py
silky/mypy
de6a8d3710df9f49109cb682f2092e4967bfb92c
[ "PSF-2.0" ]
null
null
null
"""Transform classes for runtime type checking.""" from typing import Undefined, List, Set, Any, cast, Tuple, Dict from mypy.nodes import ( TypeDef, Node, FuncDef, VarDef, Block, Var, ExpressionStmt, TypeInfo, SuperExpr, NameExpr, CallExpr, MDEF, MemberExpr, ReturnStmt, AssignmentStmt, TypeExpr, PassStmt,...
39.285498
79
0.560541
9133898a696d152066b05333d948605fe60ac07e
988
py
Python
jazzpos/admin.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
5
2015-12-05T15:39:51.000Z
2020-09-16T20:14:29.000Z
jazzpos/admin.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
null
null
null
jazzpos/admin.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
2
2019-11-23T17:47:46.000Z
2022-01-14T11:05:21.000Z
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import User from django_tablib.admin import TablibAdmin from jazzpos.models import Customer, Patient, Store, CustomerType, StoreSettings from jazzpos.models import UserProfile UserAdmin.inlines = [UserPro...
26
80
0.798583
9134284163c48ec784f6cf8bb5ff49c9902c49ec
2,760
py
Python
classification/imaterialist_challenge_furniture_2018/configs/train/train_inceptionresnetv2_350_ssd_like_v3.py
vfdev-5/ignite-examples
fb15b59e2b159e1e2bc4628f8756055e9154f5c8
[ "MIT" ]
11
2018-04-07T17:49:58.000Z
2022-03-15T07:18:18.000Z
classification/imaterialist_challenge_furniture_2018/configs/train/train_inceptionresnetv2_350_ssd_like_v3.py
vfdev-5/ignite-examples
fb15b59e2b159e1e2bc4628f8756055e9154f5c8
[ "MIT" ]
null
null
null
classification/imaterialist_challenge_furniture_2018/configs/train/train_inceptionresnetv2_350_ssd_like_v3.py
vfdev-5/ignite-examples
fb15b59e2b159e1e2bc4628f8756055e9154f5c8
[ "MIT" ]
null
null
null
# Basic training configuration file from torch.optim import RMSprop from torch.optim.lr_scheduler import MultiStepLR from torchvision.transforms import RandomHorizontalFlip, Compose from torchvision.transforms import RandomResizedCrop, RandomAffine, RandomApply from torchvision.transforms import ColorJitter, ToTensor, ...
30
87
0.659058
913439b2a09a820bfc3faefc3e105469f128a1a8
1,352
py
Python
examples/qmmm/02-mcscf.py
QuESt-Calculator/pyscf
0ed03633b699505c7278f1eb501342667d0aa910
[ "Apache-2.0" ]
501
2018-12-06T23:48:17.000Z
2022-03-31T11:53:18.000Z
examples/qmmm/02-mcscf.py
QuESt-Calculator/pyscf
0ed03633b699505c7278f1eb501342667d0aa910
[ "Apache-2.0" ]
710
2018-11-26T22:04:52.000Z
2022-03-30T03:53:12.000Z
examples/qmmm/02-mcscf.py
QuESt-Calculator/pyscf
0ed03633b699505c7278f1eb501342667d0aa910
[ "Apache-2.0" ]
273
2018-11-26T10:10:24.000Z
2022-03-30T12:25:28.000Z
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # ''' A simple example to run MCSCF with background charges. ''' import numpy from pyscf import gto, scf, mcscf, qmmm mol = gto.M(atom=''' C 1.1879 -0.3829 0.0000 C 0.0000 0.5526 0.0000 O -1.1867 -0.2472 0.0000 H -1.9237 0...
22.915254
76
0.637574
9134f2e89b9311a8b0265758c45e89d220be134a
5,948
py
Python
mtp_send_money/apps/send_money/utils.py
uk-gov-mirror/ministryofjustice.money-to-prisoners-send-money
80db0cf5f384f93d35387a757605cfddbc98935f
[ "MIT" ]
null
null
null
mtp_send_money/apps/send_money/utils.py
uk-gov-mirror/ministryofjustice.money-to-prisoners-send-money
80db0cf5f384f93d35387a757605cfddbc98935f
[ "MIT" ]
null
null
null
mtp_send_money/apps/send_money/utils.py
uk-gov-mirror/ministryofjustice.money-to-prisoners-send-money
80db0cf5f384f93d35387a757605cfddbc98935f
[ "MIT" ]
null
null
null
import datetime from decimal import Decimal, ROUND_DOWN, ROUND_UP import logging import re from django.conf import settings from django.core.exceptions import ValidationError from django.core.validators import RegexValidator from django.utils import formats from django.utils.cache import patch_cache_control from djang...
30.659794
102
0.714526
913583ff296aa5d8ee63fb484726346d1b7a2c13
151
py
Python
src/zmbrelev/config.py
Zumbi-ML/zmbRELEV
e6a6f789804d7230415f390da905e94ae2ab27f5
[ "BSD-2-Clause" ]
null
null
null
src/zmbrelev/config.py
Zumbi-ML/zmbRELEV
e6a6f789804d7230415f390da905e94ae2ab27f5
[ "BSD-2-Clause" ]
null
null
null
src/zmbrelev/config.py
Zumbi-ML/zmbRELEV
e6a6f789804d7230415f390da905e94ae2ab27f5
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- import os this_file_path = os.path.dirname(os.path.realpath(__file__)) MODELS_DIR = os.path.join(this_file_path, "models/")
18.875
60
0.708609
9136160d5624a0c97151f5a92ef4449fe0be2b28
1,951
py
Python
ArraysP2.py
EdgarVallejo96/pyEdureka
f103f67ed4f9eee6ab924237e9d94a489e602c7c
[ "MIT" ]
null
null
null
ArraysP2.py
EdgarVallejo96/pyEdureka
f103f67ed4f9eee6ab924237e9d94a489e602c7c
[ "MIT" ]
null
null
null
ArraysP2.py
EdgarVallejo96/pyEdureka
f103f67ed4f9eee6ab924237e9d94a489e602c7c
[ "MIT" ]
null
null
null
import array as arr a = arr.array('i', [ 1,2,3,4,5,6]) print(a) # Accessing elements print(a[2]) print(a[-2]) # BASIC ARRAY OPERATIONS # Find length of array print() print('Length of array') print(len(a)) # Adding elments to an array # append() to add a single element at the end of an array # extend() to add more th...
18.759615
95
0.664787
9136706832c51a492458e311e9d6b0efd4abea13
2,931
py
Python
vesper/mpg_ranch/nfc_detector_low_score_classifier_1_0/classifier.py
RichardLitt/Vesper
5360844f42a06942e7684121c650b08cf8616285
[ "MIT" ]
29
2017-07-10T14:49:15.000Z
2022-02-02T23:14:38.000Z
vesper/mpg_ranch/nfc_detector_low_score_classifier_1_0/classifier.py
Tubbz-alt/Vesper
76e5931ca0c7fbe070c53b1362ec246ec9007beb
[ "MIT" ]
167
2015-03-17T14:45:22.000Z
2022-03-30T21:00:05.000Z
vesper/mpg_ranch/nfc_detector_low_score_classifier_1_0/classifier.py
Tubbz-alt/Vesper
76e5931ca0c7fbe070c53b1362ec246ec9007beb
[ "MIT" ]
4
2015-02-06T03:30:27.000Z
2020-12-27T08:38:52.000Z
""" Module containing low score classifier for MPG Ranch NFC detectors. An instance of the `Classifier` class of this module assigns the `LowScore` classification to a clip if the clip has no `Classification` annotation and has a `DetectorScore` annotation whose value is less than a threshold. This classifier is inte...
28.735294
77
0.616172
91374929866f2c29362313f46503faaf0a90ed51
1,506
py
Python
setup.py
yitzikc/athena2pd
d2d6b886a70e958f51d90103600572152eaa7bb9
[ "MIT" ]
1
2020-04-05T18:41:17.000Z
2020-04-05T18:41:17.000Z
setup.py
yitzikc/athena2pd
d2d6b886a70e958f51d90103600572152eaa7bb9
[ "MIT" ]
null
null
null
setup.py
yitzikc/athena2pd
d2d6b886a70e958f51d90103600572152eaa7bb9
[ "MIT" ]
1
2021-04-22T09:22:31.000Z
2021-04-22T09:22:31.000Z
from setuptools import setup, find_packages setup( name='athena2pd', packages=['athena2pd'], version=find_version('athena2pd/__init__.py'), description='Help\'s simplify the access of databases stored in Amazon Athena by using SQL and pandas DataFrames.', long_description=get_long_desc('README.md')...
33.466667
119
0.653386
913758ab43b30fce640a96f90c8472af68facfb1
117
py
Python
mmdet/core/ufp/__init__.py
PuAnysh/UFPMP-Det
6809b4f8de3aa1d013a3f86114bc3e8496d896a9
[ "Apache-2.0" ]
9
2022-01-18T14:42:39.000Z
2022-02-14T02:57:02.000Z
mmdet/core/ufp/__init__.py
PuAnysh/UFPMP-Det
6809b4f8de3aa1d013a3f86114bc3e8496d896a9
[ "Apache-2.0" ]
1
2022-03-28T11:51:49.000Z
2022-03-31T14:24:02.000Z
mmdet/core/ufp/__init__.py
PuAnysh/UFPMP-Det
6809b4f8de3aa1d013a3f86114bc3e8496d896a9
[ "Apache-2.0" ]
null
null
null
from .spp import * from .unified_foreground_packing import * __all__ = [ 'phsppog', 'UnifiedForegroundPacking' ]
16.714286
41
0.74359
913761b87b7ebbbec82bddc1bdba8144eb580e3d
436
py
Python
PythonBasics/ExamPreparation/FamilyTrip.py
achoraev/SoftUni
0cc7db470a096cc33bbe0ca6bd90060b79120573
[ "Apache-2.0" ]
null
null
null
PythonBasics/ExamPreparation/FamilyTrip.py
achoraev/SoftUni
0cc7db470a096cc33bbe0ca6bd90060b79120573
[ "Apache-2.0" ]
null
null
null
PythonBasics/ExamPreparation/FamilyTrip.py
achoraev/SoftUni
0cc7db470a096cc33bbe0ca6bd90060b79120573
[ "Apache-2.0" ]
null
null
null
budget = float(input()) nights = int(input()) price_night = float(input()) percent_extra = int(input()) if nights > 7: price_night = price_night - (price_night * 0.05) sum = nights * price_night total_sum = sum + (budget * percent_extra / 100) if total_sum <= budget: print(f"Ivanovi will be left ...
29.066667
88
0.655963
91381ad1149218813852e6f68213b5362dda4a67
2,573
py
Python
tex_live_package_manager/progress.py
csch0/SublimeText-TeX-Live-Package-Manager
ab21bd49a945f611250613e9cb862a7703dc534f
[ "Unlicense", "MIT" ]
2
2018-11-03T16:15:59.000Z
2018-11-23T16:14:57.000Z
tex_live_package_manager/progress.py
csch0/SublimeText-TeX-Live-Package-Manager
ab21bd49a945f611250613e9cb862a7703dc534f
[ "Unlicense", "MIT" ]
1
2016-12-08T05:39:58.000Z
2016-12-08T05:39:58.000Z
tex_live_package_manager/progress.py
csch0/SublimeText-TeX-Live-Package-Manager
ab21bd49a945f611250613e9cb862a7703dc534f
[ "Unlicense", "MIT" ]
null
null
null
import sublime, sublime_plugin import threading def ProgressFunction(function, messages, callback): t = ThreadThread(function) t.start() Progress(t, messages[0], messages[1], callback)
23.605505
86
0.68869
91382da4e9ec5e3e22d31caf7faabb09a28c2093
10,199
py
Python
moscow_routes_parser/t_mos_ru.py
rscprof/moscow_routes_parser
692627dd43d62f70e3e12a761897571c79a022a0
[ "MIT" ]
null
null
null
moscow_routes_parser/t_mos_ru.py
rscprof/moscow_routes_parser
692627dd43d62f70e3e12a761897571c79a022a0
[ "MIT" ]
null
null
null
moscow_routes_parser/t_mos_ru.py
rscprof/moscow_routes_parser
692627dd43d62f70e3e12a761897571c79a022a0
[ "MIT" ]
null
null
null
import html import json import logging import re from abc import abstractmethod from datetime import datetime, time from typing import Optional import requests from moscow_routes_parser.model import Route, Timetable, Equipment, Timetable_builder from moscow_routes_parser.model_impl import Timetable_builder_t_mos_ru ...
42.144628
295
0.531817
913b82f09ffffabfd9cdacbe8830d13b360f655c
6,762
py
Python
web/api/get_summary_data.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
2
2015-04-11T12:22:41.000Z
2016-08-18T11:12:06.000Z
web/api/get_summary_data.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
84
2015-01-22T14:33:49.000Z
2015-04-01T23:15:29.000Z
web/api/get_summary_data.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
1
2015-04-16T03:10:39.000Z
2015-04-16T03:10:39.000Z
from web.api import BaseAPI from utils import mongo import json
40.981818
102
0.584147
913c3c69be248515aa6faa8629c29e1819e26c9e
21,616
py
Python
neutron/common/ovn/utils.py
guillermomolina/neutron
bd2933a2588d1e0b18790dd719ca1d89aa4a0c8d
[ "Apache-2.0" ]
3
2021-02-17T09:49:14.000Z
2022-01-19T08:40:34.000Z
neutron/common/ovn/utils.py
guillermomolina/neutron
bd2933a2588d1e0b18790dd719ca1d89aa4a0c8d
[ "Apache-2.0" ]
null
null
null
neutron/common/ovn/utils.py
guillermomolina/neutron
bd2933a2588d1e0b18790dd719ca1d89aa4a0c8d
[ "Apache-2.0" ]
null
null
null
# 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, software # d...
35.320261
79
0.672141
913c83f4f9cee2569debbb5a5301094fbb4ed18e
1,823
py
Python
ens/exceptions.py
pjryan93/web3.py
e066452a7b0e78d6cb8a9462532d169de901ef99
[ "MIT" ]
326
2016-04-29T21:51:06.000Z
2022-03-31T03:20:54.000Z
ens/exceptions.py
pjryan93/web3.py
e066452a7b0e78d6cb8a9462532d169de901ef99
[ "MIT" ]
283
2016-04-15T16:41:31.000Z
2017-11-28T16:41:36.000Z
ens/exceptions.py
pjryan93/web3.py
e066452a7b0e78d6cb8a9462532d169de901ef99
[ "MIT" ]
146
2016-04-14T16:27:54.000Z
2021-10-03T13:31:07.000Z
import idna
22.7875
81
0.673066
913ca9c4582e3db5d9a5c8dc80fedece649fbdb9
1,082
py
Python
Submods/MAS Additions/MASM/scripts/midi_input.py
CaptainHorse/MAS-Additions
5714aaf8cfa3c57432f6231795cbe1d75df46f74
[ "MIT" ]
13
2019-09-24T00:09:17.000Z
2022-02-26T20:24:18.000Z
Submods/MAS Additions/MASM/scripts/midi_input.py
CaptainHorse/MAS-Additions
5714aaf8cfa3c57432f6231795cbe1d75df46f74
[ "MIT" ]
30
2019-06-28T03:16:33.000Z
2022-01-19T11:49:59.000Z
Submods/MAS Additions/MASM/scripts/midi_input.py
CaptainHorse/MAS-Additions
5714aaf8cfa3c57432f6231795cbe1d75df46f74
[ "MIT" ]
4
2019-10-04T01:59:17.000Z
2022-02-26T20:24:20.000Z
import mido from socketer import MASM inPort = None doReadInput = False
29.243243
99
0.677449
913cf201ceaa3cdf5791ad85165d65f001d7078a
1,896
py
Python
dash_carbon_components/Column.py
Matheus-Rangel/dash-carbon-components
e3f4aa4a8d649e2740db32677040f2548ef5da48
[ "Apache-2.0" ]
4
2021-04-25T22:55:25.000Z
2021-12-10T04:52:30.000Z
dash_carbon_components/Column.py
Matheus-Rangel/dash-carbon-components
e3f4aa4a8d649e2740db32677040f2548ef5da48
[ "Apache-2.0" ]
null
null
null
dash_carbon_components/Column.py
Matheus-Rangel/dash-carbon-components
e3f4aa4a8d649e2740db32677040f2548ef5da48
[ "Apache-2.0" ]
null
null
null
# AUTO GENERATED FILE - DO NOT EDIT from dash.development.base_component import Component, _explicitize_args
49.894737
196
0.681962
913e527c83f21ed4118adbad50f5935916d3a9fa
2,221
py
Python
src/backend/schemas/vps.py
ddddhm1/LuWu
f9feaf10a6aca0dd31f250741a1c542ee5256633
[ "Apache-2.0" ]
658
2019-04-29T02:46:02.000Z
2022-03-30T03:58:42.000Z
src/backend/schemas/vps.py
ddddhm1/LuWu
f9feaf10a6aca0dd31f250741a1c542ee5256633
[ "Apache-2.0" ]
9
2020-06-04T13:38:58.000Z
2022-02-27T21:23:29.000Z
src/backend/schemas/vps.py
ddddhm1/LuWu
f9feaf10a6aca0dd31f250741a1c542ee5256633
[ "Apache-2.0" ]
130
2019-05-02T23:42:58.000Z
2022-03-24T04:35:37.000Z
from typing import List from typing import Optional from typing import Union from models.vps import VpsStatus from schemas.base import APIModel from schemas.base import BasePagination from schemas.base import BaseSchema from schemas.base import BaseSuccessfulResponseModel
22.663265
59
0.714093
913effe79b3a41e71c6774354a20673cc5bf2cf7
672
py
Python
main.py
hari-sh/sigplot
cd2359d7c868e35ed1d976d7eb8ac35d2dcc7e81
[ "MIT" ]
null
null
null
main.py
hari-sh/sigplot
cd2359d7c868e35ed1d976d7eb8ac35d2dcc7e81
[ "MIT" ]
null
null
null
main.py
hari-sh/sigplot
cd2359d7c868e35ed1d976d7eb8ac35d2dcc7e81
[ "MIT" ]
null
null
null
import sigplot as sp import matplotlib import matplotlib.pyplot as plt import numpy as np matplotlib.rcParams['toolbar'] = 'None' plt.style.use('dark_background') fig = plt.figure() # seed = np.linspace(3, 7, 1000) # a = (np.sin(2 * np.pi * seed)) # b = (np.cos(2 * np.pi * seed)) # sp.correlate(fig, b...
25.846154
118
0.623512
913f16898807024d65f74b71e35760e3bc3c6dbb
149,429
py
Python
test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py
msyyc/autorest.python
91aa86f51d5c43c10ead5d51ac102618d23e3a21
[ "MIT" ]
null
null
null
test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py
msyyc/autorest.python
91aa86f51d5c43c10ead5d51ac102618d23e3a21
[ "MIT" ]
null
null
null
test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py
msyyc/autorest.python
91aa86f51d5c43c10ead5d51ac102618d23e3a21
[ "MIT" ]
1
2022-03-28T08:58:03.000Z
2022-03-28T08:58:03.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
41.233168
245
0.675491
913f9ce1958e1ba194c9448681b6fa2b1b835522
1,668
py
Python
baseplate_py_upgrader/docker.py
reddit/baseplate.py-upgrader
2e4b019de7c22e2d2467eba488867fe81d7d5fc1
[ "BSD-3-Clause" ]
6
2020-07-09T02:25:23.000Z
2021-09-24T17:28:41.000Z
baseplate_py_upgrader/docker.py
Seanpm2001-reddit/baseplate.py-upgrader
a554418c638022b461cf5cae17e894280cf76a25
[ "BSD-3-Clause" ]
9
2019-08-13T20:29:04.000Z
2022-03-04T19:11:47.000Z
baseplate_py_upgrader/docker.py
Seanpm2001-reddit/baseplate.py-upgrader
a554418c638022b461cf5cae17e894280cf76a25
[ "BSD-3-Clause" ]
4
2020-12-11T21:59:37.000Z
2022-03-04T00:10:43.000Z
import logging import re from pathlib import Path from typing import Match logger = logging.getLogger(__name__) IMAGE_RE = re.compile( r"/baseplate-py:(?P<version>[0-9.]+(\.[0-9]+)?)-py(?P<python>[23]\.[0-9]+)-(?P<distro>(bionic|buster))(?P<repo>-artifactory)?(?P<dev>-dev)?" )
30.327273
144
0.658873
913fb3fc99b72d4e97ce88b0037ce6490e6db9c1
1,249
py
Python
model/swtz_ty.py
ArcherLuo233/election-s-prediction
9da72cb855f6d61f9cdec6e15f7ca832629ba51a
[ "MIT" ]
null
null
null
model/swtz_ty.py
ArcherLuo233/election-s-prediction
9da72cb855f6d61f9cdec6e15f7ca832629ba51a
[ "MIT" ]
1
2022-01-26T01:23:26.000Z
2022-01-26T01:23:34.000Z
model/swtz_ty.py
ArcherLuo233/election-s-prediction
9da72cb855f6d61f9cdec6e15f7ca832629ba51a
[ "MIT" ]
1
2021-11-08T10:58:23.000Z
2021-11-08T10:58:23.000Z
from sqlalchemy import Column, ForeignKey, Integer, String, Text from model.base import Base
26.020833
73
0.566853
913fde7505a4c384507f28eb2cee97a556b8c075
3,515
py
Python
amy/dashboard/tests/test_autoupdate_profile.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
53
2015-01-10T17:39:19.000Z
2019-06-12T17:36:34.000Z
amy/dashboard/tests/test_autoupdate_profile.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
1,176
2015-01-02T06:32:47.000Z
2019-06-18T11:57:47.000Z
amy/dashboard/tests/test_autoupdate_profile.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
44
2015-01-03T15:08:56.000Z
2019-06-09T05:33:08.000Z
from django.urls import reverse from consents.models import Consent, Term from workshops.models import KnowledgeDomain, Person, Qualification from workshops.tests.base import TestBase
34.80198
83
0.586629
9140f295d54089cb5cee0de94bb54febfe097979
4,823
py
Python
bot/recognizer_bot/yolo/common/utils.py
kprokofi/animal-recognition-with-voice
e9e5235315255eb6e17df3dba616b2ed4c902c92
[ "MIT" ]
1
2021-03-18T05:51:10.000Z
2021-03-18T05:51:10.000Z
bot/recognizer_bot/yolo/common/utils.py
kprokofi/animal-recognition-with-voice
e9e5235315255eb6e17df3dba616b2ed4c902c92
[ "MIT" ]
3
2021-04-11T20:52:44.000Z
2021-06-13T13:46:08.000Z
bot/recognizer_bot/yolo/common/utils.py
kprokofi/animal-recognition-with-voice
e9e5235315255eb6e17df3dba616b2ed4c902c92
[ "MIT" ]
null
null
null
import numpy as np import time import cv2 import colorsys import tensorflow as tf from tensorflow.keras import backend as K from tensorflow.keras.layers import Activation, ReLU, Multiply # Custom objects from backbones package https://github.com/david8862/keras-YOLOv3-model-set/tree/master/common/backbones def sw...
28.708333
120
0.618495
9142c85805b0c1a34b37861799a56fa0542af061
2,706
py
Python
ros/src/tl_detector/light_classification/tl_classifier.py
PhilippHafe/CarND-Capstone
9f933c817b11e7a093c3f2b07fad10710f7eb551
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
PhilippHafe/CarND-Capstone
9f933c817b11e7a093c3f2b07fad10710f7eb551
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
PhilippHafe/CarND-Capstone
9f933c817b11e7a093c3f2b07fad10710f7eb551
[ "MIT" ]
null
null
null
from styx_msgs.msg import TrafficLight import tensorflow as tf import numpy as np import datetime
39.217391
109
0.631929
9143774e616443b37cd584d3970647098c72f10f
16,563
py
Python
testGMDS.py
ctralie/SiRPyGL
e06c317ed60321d492725e39fd8fcc0ce56ff4c0
[ "Apache-2.0" ]
7
2017-10-06T05:33:28.000Z
2021-04-20T20:06:53.000Z
testGMDS.py
ctralie/SiRPyGL
e06c317ed60321d492725e39fd8fcc0ce56ff4c0
[ "Apache-2.0" ]
null
null
null
testGMDS.py
ctralie/SiRPyGL
e06c317ed60321d492725e39fd8fcc0ce56ff4c0
[ "Apache-2.0" ]
4
2015-03-20T13:14:36.000Z
2019-04-19T10:34:51.000Z
#Based off of http://wiki.wxpython.org/GLCanvas #Lots of help from http://wiki.wxpython.org/Getting%20Started from OpenGL.GL import * import wx from wx import glcanvas from Primitives3D import * from PolyMesh import * from LaplacianMesh import * from Geodesics import * from PointCloud import * from Cameras3D import * ...
34.010267
152
0.71871
91439c7735cd8dec720dbcbb904a5ff89db7c69f
17,382
py
Python
PySS/fem.py
manpan-1/PySS
1e4b13de3b2aed13ecf9818f9084a2fedb295cf1
[ "MIT" ]
2
2018-12-03T13:53:00.000Z
2019-10-20T14:30:57.000Z
PySS/fem.py
manpan-1/PySS
1e4b13de3b2aed13ecf9818f9084a2fedb295cf1
[ "MIT" ]
null
null
null
PySS/fem.py
manpan-1/PySS
1e4b13de3b2aed13ecf9818f9084a2fedb295cf1
[ "MIT" ]
1
2018-03-23T19:58:21.000Z
2018-03-23T19:58:21.000Z
import matplotlib.pyplot as plt import numpy as np import pickle # import csv # from collections import namedtuple # from mpl_toolkits.mplot3d import Axes3D # import matplotlib.animation as animation # import matplotlib.colors as mc # # class ParametricDB: # def __init__(self, dimensions, responses): # se...
47.884298
130
0.56921
9143b8c633adb2c76477406a889fd2a426c5cda8
278
py
Python
gigamonkeys/get.py
gigamonkey/sheets
a89e76360ad9a35e44e5e352346eeccbe6952b1f
[ "BSD-3-Clause" ]
null
null
null
gigamonkeys/get.py
gigamonkey/sheets
a89e76360ad9a35e44e5e352346eeccbe6952b1f
[ "BSD-3-Clause" ]
1
2021-04-03T23:07:35.000Z
2021-04-03T23:07:35.000Z
gigamonkeys/get.py
gigamonkey/sheets
a89e76360ad9a35e44e5e352346eeccbe6952b1f
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import json import sys from gigamonkeys.spreadsheets import spreadsheets spreadsheet_id = sys.argv[1] ranges = sys.argv[2:] data = spreadsheets().get(spreadsheet_id, include_grid_data=bool(ranges), ranges=ranges) json.dump(data, sys.stdout, indent=2)
19.857143
88
0.773381
9143ca3c30c3da5376a215dd32db4d9aec05c6ba
282
py
Python
config.py
mhmddpkts/Get-Turkish-Words-with-Web-Scraping
6e344640f6dc512f03a9b59522876ce7b6339a86
[ "MIT" ]
null
null
null
config.py
mhmddpkts/Get-Turkish-Words-with-Web-Scraping
6e344640f6dc512f03a9b59522876ce7b6339a86
[ "MIT" ]
null
null
null
config.py
mhmddpkts/Get-Turkish-Words-with-Web-Scraping
6e344640f6dc512f03a9b59522876ce7b6339a86
[ "MIT" ]
null
null
null
root_URL = "https://tr.wiktionary.org/wiki/Vikis%C3%B6zl%C3%BCk:S%C3%B6zc%C3%BCk_listesi_" filepath = "words.csv" #letters=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O", # "P","R","S","T","U","V","Y","Z"] ##,,,, harfleri not work correctly letters=["C"]
35.25
90
0.539007
91469ce6ec9fde95e8590b13e1386757a2494a57
1,374
py
Python
sow_generator/tasks.py
praekelt/sow-generator
eb5dab3b3231688966254a1797ced7eec67b6e8a
[ "BSD-3-Clause" ]
1
2016-04-14T08:34:48.000Z
2016-04-14T08:34:48.000Z
sow_generator/tasks.py
praekelt/sow-generator
eb5dab3b3231688966254a1797ced7eec67b6e8a
[ "BSD-3-Clause" ]
null
null
null
sow_generator/tasks.py
praekelt/sow-generator
eb5dab3b3231688966254a1797ced7eec67b6e8a
[ "BSD-3-Clause" ]
null
null
null
from github3 import login from github3.models import GitHubError from celery import task from celery.decorators import periodic_task from celery.task.schedules import crontab from sow_generator.models import Repository, AuthToken
29.869565
72
0.621543
9146c7949d8b05d057e0f629fb324a047f0358c0
6,145
py
Python
sources/wrappers.py
X-rayLaser/keras-auto-hwr
67cfc0209045b1e211f0491b0199cb9d6811bfd0
[ "MIT" ]
null
null
null
sources/wrappers.py
X-rayLaser/keras-auto-hwr
67cfc0209045b1e211f0491b0199cb9d6811bfd0
[ "MIT" ]
2
2020-01-04T09:03:31.000Z
2021-05-10T18:29:41.000Z
sources/wrappers.py
X-rayLaser/keras-auto-hwr
67cfc0209045b1e211f0491b0199cb9d6811bfd0
[ "MIT" ]
null
null
null
import numpy as np from sources import BaseSource from sources.base import BaseSourceWrapper from sources.preloaded import PreLoadedSource import json def preprocess(self, X): res = [] for x in X: x_norm = (x - self._mu) / self._sd # we do not want to normalize END-OF-S...
26.038136
87
0.588771
91472db15a8c58afa56167fc11db5c1a1643924e
10,956
py
Python
multiworld/multiworld/core/image_env.py
yufeiwang63/ROLL
aba0b4530934946eb9c41fbe5a0d6c27775596ff
[ "MIT" ]
11
2020-11-04T03:15:27.000Z
2021-11-25T16:00:41.000Z
multiworld/multiworld/core/image_env.py
yufeiwang63/ROLL
aba0b4530934946eb9c41fbe5a0d6c27775596ff
[ "MIT" ]
null
null
null
multiworld/multiworld/core/image_env.py
yufeiwang63/ROLL
aba0b4530934946eb9c41fbe5a0d6c27775596ff
[ "MIT" ]
3
2020-11-19T14:16:56.000Z
2021-11-25T16:01:13.000Z
import random import cv2 import numpy as np import warnings from PIL import Image from gym.spaces import Box, Dict from multiworld.core.multitask_env import MultitaskEnv from multiworld.core.wrapper_env import ProxyEnv from multiworld.envs.env_util import concatenate_box_spaces from multiworld.envs.env_util import ge...
38.174216
104
0.621486
91487dc34ce39dcba03a9475df5437871d95ebe4
2,546
py
Python
sample_full_post_processor.py
huynguyen82/Modified-Kaldi-GStream-OnlineServer
e7429a5e44b9567b603523c0046fb42d8503a275
[ "BSD-2-Clause" ]
null
null
null
sample_full_post_processor.py
huynguyen82/Modified-Kaldi-GStream-OnlineServer
e7429a5e44b9567b603523c0046fb42d8503a275
[ "BSD-2-Clause" ]
1
2021-03-25T23:17:23.000Z
2021-03-25T23:17:23.000Z
sample_full_post_processor.py
huynguyen82/Modified-Kaldi-GStream-OnlineServer
e7429a5e44b9567b603523c0046fb42d8503a275
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import sys import json import logging from math import exp import requests as rq import re ### For NLP post-processing header={"Content-Type": "application/json"} message='{"sample":"Hello bigdata"}' api_url="http://192.168.1.197:11992/norm" ### if __name__ == "__main__": logging.basic...
34.405405
94
0.565593
914899652debcd6bf278b6bcd59488d3ca01a934
349
py
Python
lang_detect_gears.py
AlexMikhalev/cord19redisknowledgegraph
a143415aca8d4a6db820dc7a25280045f421a665
[ "Apache-2.0" ]
7
2020-05-18T09:25:17.000Z
2021-08-05T00:23:36.000Z
lang_detect_gears.py
maraqa1/CORD-19
a473f7b60b8dfa476ea46505678481e4b361d04e
[ "Apache-2.0" ]
10
2020-05-31T14:44:26.000Z
2022-03-25T19:17:37.000Z
lang_detect_gears.py
maraqa1/CORD-19
a473f7b60b8dfa476ea46505678481e4b361d04e
[ "Apache-2.0" ]
null
null
null
from langdetect import detect gb = GB() gb.foreach(detect_language) gb.run('title:*')
23.266667
52
0.60745
91492cd2d90ac485784d8d45eca57302464591f8
21,084
py
Python
daemon/core/coreobj.py
shanv82/core
70abb8cc1426ffceb53a03e84edc26f56f9ed4c0
[ "BSD-2-Clause" ]
null
null
null
daemon/core/coreobj.py
shanv82/core
70abb8cc1426ffceb53a03e84edc26f56f9ed4c0
[ "BSD-2-Clause" ]
null
null
null
daemon/core/coreobj.py
shanv82/core
70abb8cc1426ffceb53a03e84edc26f56f9ed4c0
[ "BSD-2-Clause" ]
null
null
null
""" Defines the basic objects for CORE emulation: the PyCoreObj base class, along with PyCoreNode, PyCoreNet, and PyCoreNetIf. """ import os import shutil import socket import threading from socket import AF_INET from socket import AF_INET6 from core.data import NodeData, LinkData from core.enumerations import LinkTy...
27.852048
100
0.558338
914969a6475944053d8a15e1118e2d12ecdc9855
349
py
Python
abc/128/b.py
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
3
2019-06-25T06:17:38.000Z
2019-07-13T15:18:51.000Z
abc/128/b.py
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
abc/128/b.py
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
# N = int(input()) S, P = ( zip(*( (s, int(p)) for s, p in (input().split() for _ in range(N)) )) if N else ((), ()) ) ans = '\n'.join( str(i) for _, _, i in sorted( zip( S, P, range(1, N + 1) ), key=lambda t: (t[0], -t[1]...
13.96
55
0.34384
914b520c0a97da68019f1f6058aa11f3ec987d8a
1,915
py
Python
additional/hashcat_crack.py
mmmds/WirelessDiscoverCrackScan
2eda9bd7c474d91ea08511a7322f5ba14d034f3d
[ "MIT" ]
2
2020-02-09T15:35:05.000Z
2020-04-15T10:01:24.000Z
additional/hashcat_crack.py
mmmds/WirelessDiscoverCrackScan
2eda9bd7c474d91ea08511a7322f5ba14d034f3d
[ "MIT" ]
null
null
null
additional/hashcat_crack.py
mmmds/WirelessDiscoverCrackScan
2eda9bd7c474d91ea08511a7322f5ba14d034f3d
[ "MIT" ]
null
null
null
# External cracking script, part of https://github.com/mmmds/WirelessDiscoverCrackScan import datetime import subprocess import os ### CONFIGURATION HASHCAT_DIR = "C:\\hashcat-5.1.0" HASHCAT_EXE = "hashcat64.exe" LOG_FILE = "crack_log.txt" DICT_DIR = "./dicts" files = read_files() logs = par...
27.357143
170
0.518538
914c1ed0296d91a573e8d232f2ea7fec8dafd2e3
46,013
py
Python
editortools/player.py
bennettdc/MCEdit-Unified
90abfb170c65b877ac67193e717fa3a3ded635dd
[ "0BSD" ]
237
2018-02-04T19:13:31.000Z
2022-03-26T03:06:07.000Z
editortools/player.py
bennettdc/MCEdit-Unified
90abfb170c65b877ac67193e717fa3a3ded635dd
[ "0BSD" ]
551
2015-01-01T02:36:53.000Z
2018-02-01T00:03:12.000Z
editortools/player.py
bennettdc/MCEdit-Unified
90abfb170c65b877ac67193e717fa3a3ded635dd
[ "0BSD" ]
97
2015-01-02T01:31:12.000Z
2018-01-22T05:37:47.000Z
"""Copyright (c) 2010-2012 David Rio Vierra Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WA...
39.632214
219
0.578836
914cca42f7c78c12fb45153e185381ce97dc5240
5,200
py
Python
seismic/checkpointing/checkpoint.py
slimgroup/Devito-Examples
449e1286a18ebc4172069372ba2bf3cd2ec99a2f
[ "MIT" ]
7
2020-08-19T18:23:08.000Z
2022-02-18T19:19:24.000Z
seismic/checkpointing/checkpoint.py
slimgroup/Devito-Examples
449e1286a18ebc4172069372ba2bf3cd2ec99a2f
[ "MIT" ]
null
null
null
seismic/checkpointing/checkpoint.py
slimgroup/Devito-Examples
449e1286a18ebc4172069372ba2bf3cd2ec99a2f
[ "MIT" ]
3
2020-12-01T22:17:09.000Z
2021-05-21T11:29:07.000Z
# The MIT License (MIT) # # Copyright (c) 2016, Imperial College, London # # 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 t...
44.067797
129
0.68
914cfd2421dd20bdadd6d7150cecf300e7699605
13,463
py
Python
lbrynet/file_manager/EncryptedFileManager.py
shyba/lbry
ab3278c50a8b7b5a8e9486a1c52be3d5e0c18297
[ "MIT" ]
1
2018-12-08T04:42:11.000Z
2018-12-08T04:42:11.000Z
lbrynet/file_manager/EncryptedFileManager.py
mrlucky9/lbry
bf6bc02828ed55e98a3002f487041acbd7841883
[ "MIT" ]
null
null
null
lbrynet/file_manager/EncryptedFileManager.py
mrlucky9/lbry
bf6bc02828ed55e98a3002f487041acbd7841883
[ "MIT" ]
null
null
null
""" Keep track of which LBRY Files are downloading and store their LBRY File specific metadata """ import logging import os from twisted.enterprise import adbapi from twisted.internet import defer, task, reactor from twisted.python.failure import Failure from lbrynet.reflector.reupload import reflect_stream from lbr...
40.18806
100
0.672733
914dad243b4f6fd43e52b214d9db3b5771ad2444
623
py
Python
Perforce/AppUtils.py
TomMinor/MayaPerforce
52182c7e5c3e91e41973d0c2abbda8880e809e49
[ "MIT" ]
13
2017-03-31T21:52:19.000Z
2021-09-06T23:15:30.000Z
Perforce/AppUtils.py
TomMinor/MayaPerforce
52182c7e5c3e91e41973d0c2abbda8880e809e49
[ "MIT" ]
3
2017-05-08T02:27:43.000Z
2017-05-10T03:20:11.000Z
Perforce/AppUtils.py
TomMinor/MayaPerforce
52182c7e5c3e91e41973d0c2abbda8880e809e49
[ "MIT" ]
3
2017-05-05T14:03:03.000Z
2020-05-25T10:25:04.000Z
import os import sys import re import logging p4_logger = logging.getLogger("Perforce") # Import app specific utilities, maya opens scenes differently than nuke etc # Are we in maya or nuke? if re.match( "maya", os.path.basename( sys.executable ), re.I ): p4_logger.info("Configuring for Maya") from MayaU...
32.789474
90
0.738363
914ea6fbc1fedc5c88691906b2f1c1f56a6d040c
5,907
py
Python
fhir/immunizations_demo/models/trainer/model.py
kourtneyshort/healthcare
1d1e2375304ac99f43a8b6aee7374fcdf641eb6f
[ "Apache-2.0" ]
null
null
null
fhir/immunizations_demo/models/trainer/model.py
kourtneyshort/healthcare
1d1e2375304ac99f43a8b6aee7374fcdf641eb6f
[ "Apache-2.0" ]
22
2019-12-16T22:18:37.000Z
2022-03-12T00:04:43.000Z
fhir/immunizations_demo/models/trainer/model.py
kourtneyshort/healthcare
1d1e2375304ac99f43a8b6aee7374fcdf641eb6f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
34.54386
78
0.744033
914f974905119aa6df33b733c4b0cd0e4954c272
15,147
py
Python
heliosburn/django/hbproject/webui/models.py
thecodeteam/heliosburn
513f6335c9788948d82e5c9285d7869f3ff4cc10
[ "MIT" ]
null
null
null
heliosburn/django/hbproject/webui/models.py
thecodeteam/heliosburn
513f6335c9788948d82e5c9285d7869f3ff4cc10
[ "MIT" ]
null
null
null
heliosburn/django/hbproject/webui/models.py
thecodeteam/heliosburn
513f6335c9788948d82e5c9285d7869f3ff4cc10
[ "MIT" ]
1
2020-09-17T18:19:05.000Z
2020-09-17T18:19:05.000Z
import json import re from django.conf import settings import requests from webui.exceptions import BadRequestException, UnauthorizedException, ServerErrorException, RedirectException, \ UnexpectedException, LocationHeaderNotFoundException, NotFoundException
39.139535
115
0.642239
91504bbaea6d8835c5bee931052df81b48164c98
8,305
py
Python
src/ychaos/core/verification/controller.py
sushilkar/ychaos
6801390f0faf553789e3384440a72a0705310738
[ "Apache-2.0" ]
null
null
null
src/ychaos/core/verification/controller.py
sushilkar/ychaos
6801390f0faf553789e3384440a72a0705310738
[ "Apache-2.0" ]
null
null
null
src/ychaos/core/verification/controller.py
sushilkar/ychaos
6801390f0faf553789e3384440a72a0705310738
[ "Apache-2.0" ]
null
null
null
# Copyright 2021, Yahoo # Licensed under the terms of the Apache 2.0 license. See the LICENSE file in the project root for terms import time from typing import Dict, List, Optional, Type from pydantic import validate_arguments from ...app_logger import AppLogger from ...testplan import SystemState from ...testplan....
37.40991
125
0.656352
9150df9e1d1933653f868e837eeb00ed20e37c8b
277
py
Python
tests/test_vimeodl.py
binary-signal/vimeo-channel-downloader
7c2ded9d07b2b698f4e52558ba7dc327c2827b6c
[ "BSD-3-Clause" ]
6
2019-06-05T17:06:17.000Z
2020-02-16T15:11:11.000Z
tests/test_vimeodl.py
binary-signal/vimeo-channel-downloader
7c2ded9d07b2b698f4e52558ba7dc327c2827b6c
[ "BSD-3-Clause" ]
1
2020-12-03T16:05:21.000Z
2020-12-03T16:05:21.000Z
tests/test_vimeodl.py
binary-signal/vimeo-channel-downloader
7c2ded9d07b2b698f4e52558ba7dc327c2827b6c
[ "BSD-3-Clause" ]
3
2018-07-06T10:04:08.000Z
2019-06-05T17:07:25.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from vimeodl import __version__ from vimeodl.vimeo import VimeoLinkExtractor, VimeoDownloader
21.307692
61
0.722022
915138c1e205dea19655e55c824d89b847b800d5
6,160
py
Python
labgraph/graphs/node_test_harness.py
Yunusbcr/labgraph
a00ae7098b7b0e0eda8ce2e7e62dae86854616fb
[ "MIT" ]
124
2021-07-14T21:25:59.000Z
2022-03-08T20:40:16.000Z
labgraph/graphs/node_test_harness.py
Yunusbcr/labgraph
a00ae7098b7b0e0eda8ce2e7e62dae86854616fb
[ "MIT" ]
46
2021-07-16T18:41:11.000Z
2022-03-31T20:53:00.000Z
labgraph/graphs/node_test_harness.py
Yunusbcr/labgraph
a00ae7098b7b0e0eda8ce2e7e62dae86854616fb
[ "MIT" ]
22
2021-07-16T18:34:56.000Z
2022-03-31T15:12:06.000Z
#!/usr/bin/env python3 # Copyright 2004-present Facebook. All Rights Reserved. import asyncio import functools import inspect from contextlib import contextmanager from typing import ( Any, AsyncIterable, Awaitable, Callable, Generic, Iterator, List, Mapping, Optional, Sequence,...
30.49505
88
0.65276
9151eafe84027e81a61010f1c158d9786b978a93
837
py
Python
pygamelearning/lrud.py
edward70/2021Computing
df8fb818480a6e23f2eac736744294871ec0e38c
[ "MIT" ]
null
null
null
pygamelearning/lrud.py
edward70/2021Computing
df8fb818480a6e23f2eac736744294871ec0e38c
[ "MIT" ]
null
null
null
pygamelearning/lrud.py
edward70/2021Computing
df8fb818480a6e23f2eac736744294871ec0e38c
[ "MIT" ]
null
null
null
import pygame import sys pygame.init() clock = pygame.time.Clock() screen = pygame.display.set_mode([500, 500]) gameOn = True x1 = 0 y1 = 100 x2 = 100 y2 = 0 while gameOn == True: screen.fill([255,255,255]) for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() ...
17.808511
52
0.520908
91522a760e718a02b548df8a5987a17cb9ed54b7
3,198
py
Python
pytorch/xor/training_a_perceptron.py
e93fem/PyTorchNLPBook
c9ea9e0b3d1b8bba6a983b425c6c03dd79d3d6b0
[ "Apache-2.0" ]
null
null
null
pytorch/xor/training_a_perceptron.py
e93fem/PyTorchNLPBook
c9ea9e0b3d1b8bba6a983b425c6c03dd79d3d6b0
[ "Apache-2.0" ]
null
null
null
pytorch/xor/training_a_perceptron.py
e93fem/PyTorchNLPBook
c9ea9e0b3d1b8bba6a983b425c6c03dd79d3d6b0
[ "Apache-2.0" ]
null
null
null
import numpy as np import torch import matplotlib.pyplot as plt from torch import optim, nn from pytorch.xor.multilayer_perceptron import MultilayerPerceptron from pytorch.xor.utils import LABELS, get_toy_data, visualize_results, plot_intermediate_representations input_size = 2 output_size = len(set(LABELS)) num_hidd...
30.169811
104
0.688555
91539993c3d566be3d6ad8bdfd6ab2f85574f003
8,157
py
Python
mysite/api/v0/tests.py
raccoongang/socraticqs2
06201005136ee139846f857dbb2f518736e441de
[ "Apache-2.0" ]
3
2015-11-20T07:33:28.000Z
2017-01-15T23:33:50.000Z
mysite/api/v0/tests.py
raccoongang/socraticqs2
06201005136ee139846f857dbb2f518736e441de
[ "Apache-2.0" ]
28
2015-07-14T11:33:24.000Z
2017-11-17T15:21:22.000Z
mysite/api/v0/tests.py
raccoongang/socraticqs2
06201005136ee139846f857dbb2f518736e441de
[ "Apache-2.0" ]
4
2015-04-29T09:04:59.000Z
2017-07-19T14:11:16.000Z
import json import mock from django.core.urlresolvers import reverse from pymongo.errors import ServerSelectionTimeoutError from analytics.models import CourseReport from core.common.mongo import c_onboarding_status, _conn from core.common import onboarding from ct.models import UnitLesson, StudentError from ctms.t...
32.369048
113
0.674635
9153c783ea6530b33a82747aab7d0a7d6aae69be
8,934
py
Python
signbank/settings/base.py
anthonymark33/Global-signbank
ae61984a24f1cc0801d4621c81b882154ce99098
[ "BSD-3-Clause" ]
null
null
null
signbank/settings/base.py
anthonymark33/Global-signbank
ae61984a24f1cc0801d4621c81b882154ce99098
[ "BSD-3-Clause" ]
2
2021-06-10T23:11:53.000Z
2021-12-13T20:44:56.000Z
signbank/settings/base.py
anthonymark33/Global-signbank
ae61984a24f1cc0801d4621c81b882154ce99098
[ "BSD-3-Clause" ]
null
null
null
# Django settings for signbank project. import os from signbank.settings.server_specific import * from datetime import datetime DEBUG = True PROJECT_DIR = os.path.dirname(BASE_DIR) MANAGERS = ADMINS TIME_ZONE = 'Europe/Amsterdam' LOCALE_PATHS = [BASE_DIR+'conf/locale'] # in the database, SITE_ID 1 is example.com ...
31.020833
123
0.694426
e66c3efb17fe57a58924ade4ac24258abd570c92
50,042
py
Python
ocs_ci/ocs/cluster.py
crombus/ocs-ci
20340365882bdd06ddb6cd65bbd7df0ba7e2c2d8
[ "MIT" ]
null
null
null
ocs_ci/ocs/cluster.py
crombus/ocs-ci
20340365882bdd06ddb6cd65bbd7df0ba7e2c2d8
[ "MIT" ]
null
null
null
ocs_ci/ocs/cluster.py
crombus/ocs-ci
20340365882bdd06ddb6cd65bbd7df0ba7e2c2d8
[ "MIT" ]
null
null
null
""" A module for all rook functionalities and abstractions. This module has rook related classes, support for functionalities to work with rook cluster. This works with assumptions that an OCP cluster is already functional and proper configurations are made for interaction. """ import base64 import logging import ran...
33.56271
105
0.624675
e66d5e1f08dc9a4e5c8cb49651bf2a219e4f50a8
3,621
py
Python
scenic/projects/baselines/detr/configs/detr_config.py
techthiyanes/scenic
05585b1189364e29d82413b9d4a50ffa8c246f0c
[ "Apache-2.0" ]
null
null
null
scenic/projects/baselines/detr/configs/detr_config.py
techthiyanes/scenic
05585b1189364e29d82413b9d4a50ffa8c246f0c
[ "Apache-2.0" ]
null
null
null
scenic/projects/baselines/detr/configs/detr_config.py
techthiyanes/scenic
05585b1189364e29d82413b9d4a50ffa8c246f0c
[ "Apache-2.0" ]
null
null
null
# pylint: disable=line-too-long r"""Default configs for COCO detection using DETR. """ # pylint: enable=line-too-long import copy import ml_collections _COCO_TRAIN_SIZE = 118287 NUM_EPOCHS = 300 def get_config(): """Returns the configuration for COCO detection using DETR.""" config = ml_collections.ConfigDict()...
34.160377
111
0.775753
e66dd75ae0bf7e3d43a0a0b5833ef2c98e86a332
581
py
Python
tests/conftest.py
artembashlak/share-youtube-to-mail
347f72ed8846b85cae8e4f39896ab54e698a6de9
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
artembashlak/share-youtube-to-mail
347f72ed8846b85cae8e4f39896ab54e698a6de9
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
artembashlak/share-youtube-to-mail
347f72ed8846b85cae8e4f39896ab54e698a6de9
[ "Apache-2.0" ]
null
null
null
import pytest from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager
30.578947
79
0.753873
e66dd9b0c4524178c41ae4349d387915dbfbc5a0
2,105
py
Python
prepare_cicero_peaks.py
lab-medvedeva/SCABFA-feature-selection
d5cd7568e667a75f75e753d9ab9dc645f3166902
[ "MIT" ]
null
null
null
prepare_cicero_peaks.py
lab-medvedeva/SCABFA-feature-selection
d5cd7568e667a75f75e753d9ab9dc645f3166902
[ "MIT" ]
null
null
null
prepare_cicero_peaks.py
lab-medvedeva/SCABFA-feature-selection
d5cd7568e667a75f75e753d9ab9dc645f3166902
[ "MIT" ]
null
null
null
from scale.dataset import read_mtx from argparse import ArgumentParser import pandas as pd import numpy as np import os if __name__ == '__main__': main()
40.480769
113
0.669359
e66e53547faa705c9a68f28dba07b4048f2f1b31
2,335
py
Python
crusoe_observe/neo4j-client/neo4jclient/CMSClient.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
3
2021-11-09T09:55:17.000Z
2022-02-19T02:58:27.000Z
crusoe_observe/neo4j-client/neo4jclient/CMSClient.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
null
null
null
crusoe_observe/neo4j-client/neo4jclient/CMSClient.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
null
null
null
from neo4jclient.AbsClient import AbstractClient
39.576271
117
0.576017
e66ec2107d63dfd849c5ad20ff3a6280caaa39d1
604
py
Python
location.py
jonasjucker/wildlife-telegram
5fb548d3779782467247cf5d1e165d1c2349de30
[ "MIT" ]
null
null
null
location.py
jonasjucker/wildlife-telegram
5fb548d3779782467247cf5d1e165d1c2349de30
[ "MIT" ]
null
null
null
location.py
jonasjucker/wildlife-telegram
5fb548d3779782467247cf5d1e165d1c2349de30
[ "MIT" ]
null
null
null
import time from datetime import date,datetime from astral import LocationInfo from astral.sun import sun
27.454545
80
0.652318
e66eceebc9bb0cd90db3c066088340ee6f011e6e
545
py
Python
lang/py/cookbook/v2/source/cb2_20_9_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_20_9_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_20_9_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
sk = Skidoo()
41.923077
70
0.702752
e66fe14aa361b0d83b0ed955a7d77eeda49c3b80
571
py
Python
face2anime/nb_utils.py
davidleonfdez/face2anime
896bf85a7aa28322cc9e9e586685db8cbbf39d89
[ "MIT" ]
null
null
null
face2anime/nb_utils.py
davidleonfdez/face2anime
896bf85a7aa28322cc9e9e586685db8cbbf39d89
[ "MIT" ]
1
2022-01-15T23:57:33.000Z
2022-01-15T23:57:33.000Z
face2anime/nb_utils.py
davidleonfdez/face2anime
896bf85a7aa28322cc9e9e586685db8cbbf39d89
[ "MIT" ]
null
null
null
import importlib __all__ = ['mount_gdrive'] def mount_gdrive() -> str: """Mount Google Drive storage of the current Google account and return the root path. Functionality only available in Google Colab Enviroment; otherwise, it raises a RuntimeError. """ if (importlib.util.find_spec("google.colab")...
28.55
97
0.712785
e670e0b486388fd350ec3090250f4bbe49211d07
6,225
py
Python
wasch/tests.py
waschag-tvk/pywaschedv
8f0428827c4c1c7e9462eaa94ba02290db1c340f
[ "MIT" ]
1
2020-01-17T16:35:10.000Z
2020-01-17T16:35:10.000Z
wasch/tests.py
waschag-tvk/pywaschedv
8f0428827c4c1c7e9462eaa94ba02290db1c340f
[ "MIT" ]
6
2018-06-01T15:02:11.000Z
2018-09-04T15:33:05.000Z
wasch/tests.py
waschag-tvk/pywaschedv
8f0428827c4c1c7e9462eaa94ba02290db1c340f
[ "MIT" ]
null
null
null
import datetime from django.utils import timezone from django.test import TestCase from django.contrib.auth.models import ( User, ) from wasch.models import ( Appointment, WashUser, WashParameters, # not models: AppointmentError, StatusRights, ) from wasch import tvkutils, payment
42.060811
79
0.676948
e671c98e986dfbf41b15884e3c4cc078b893ecb2
1,040
py
Python
Python/problem1150.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
Python/problem1150.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
Python/problem1150.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
from typing import List from collections import Counter # class Solution: # def isMajorityElement(self, nums: List[int], target: int) -> bool: # d = Counter(nums) # return d[target] > len(nums)//2 # class Solution: # def isMajorityElement(self, nums: List[int], target: int) -> bool: # ...
25.365854
72
0.476923
e672d8fb22849a3e49b4cf1505ef89fb8d62430d
2,018
py
Python
day17/module.py
arcadecoffee/advent-2021
57d24cd6ba6e2b4d7e68ea492b955b73eaad7b6a
[ "MIT" ]
null
null
null
day17/module.py
arcadecoffee/advent-2021
57d24cd6ba6e2b4d7e68ea492b955b73eaad7b6a
[ "MIT" ]
null
null
null
day17/module.py
arcadecoffee/advent-2021
57d24cd6ba6e2b4d7e68ea492b955b73eaad7b6a
[ "MIT" ]
null
null
null
""" Advent of Code 2021 - Day 17 https://adventofcode.com/2021/day/17 """ import re from math import ceil, sqrt from typing import List, Tuple DAY = 17 FULL_INPUT_FILE = f'../inputs/day{DAY:02d}/input.full.txt' TEST_INPUT_FILE = f'../inputs/day{DAY:02d}/input.test.txt' if __name__ == '__main__': part1_an...
29.246377
92
0.617939
e67406a638efa86479227542aee6a924595e4826
4,235
py
Python
src/main/python/depysible/domain/rete.py
stefano-bragaglia/DePYsible
6b53ede459a10f5e24da89d3ebaa05f08ec7af12
[ "BSD-2-Clause" ]
4
2018-09-24T23:51:05.000Z
2021-01-06T09:13:52.000Z
src/main/python/depysible/domain/rete.py
stefano-bragaglia/DefeasiblePython
6b53ede459a10f5e24da89d3ebaa05f08ec7af12
[ "BSD-2-Clause" ]
1
2020-05-26T01:14:44.000Z
2020-05-27T07:54:15.000Z
src/main/python/depysible/domain/rete.py
stefano-bragaglia/DePYsible
6b53ede459a10f5e24da89d3ebaa05f08ec7af12
[ "BSD-2-Clause" ]
null
null
null
from typing import List from typing import Optional from typing import Tuple from typing import Union Payload = Tuple[List['Literal'], 'Substitutions'] def fire_rules(program: 'Program') -> List['Rule']: if program.is_ground(): return program rules = [] table = {} root = Root() for r...
32.083333
100
0.563872
e6751ce031099f22bcc8f169d0324a7aff0147ed
15,501
py
Python
pythonbot_1.0/GameData.py
jeffreyzli/pokerbot-2017
df2aa31d6aaf0e3162d24ae5f4c2a918ab19831f
[ "MIT" ]
1
2017-01-18T21:25:21.000Z
2017-01-18T21:25:21.000Z
pythonbot_1.0/GameData.py
jeffreyzli/pokerbot-2017
df2aa31d6aaf0e3162d24ae5f4c2a918ab19831f
[ "MIT" ]
null
null
null
pythonbot_1.0/GameData.py
jeffreyzli/pokerbot-2017
df2aa31d6aaf0e3162d24ae5f4c2a918ab19831f
[ "MIT" ]
3
2017-02-06T04:35:02.000Z
2020-03-08T18:56:25.000Z
import HandRankings as Hand from deuces.deuces import Card, Evaluator
43.298883
102
0.48055
e675854ddbd73f687dc3955ba80c468d17bec3c4
801
py
Python
todo/models.py
zyayoung/share-todo
84813545f9aa3e89441c560e64e85bc799835d30
[ "MIT" ]
null
null
null
todo/models.py
zyayoung/share-todo
84813545f9aa3e89441c560e64e85bc799835d30
[ "MIT" ]
null
null
null
todo/models.py
zyayoung/share-todo
84813545f9aa3e89441c560e64e85bc799835d30
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.utils import timezone
26.7
63
0.657928
e675c9e19056933d226c148a0c8e55351caf07f1
20,377
py
Python
examples/Tutorial/Example/app.py
DrewLazzeriKitware/trame
fdc73f07f17d2601e1b1d3934d2d6326a3c0281e
[ "BSD-3-Clause" ]
null
null
null
examples/Tutorial/Example/app.py
DrewLazzeriKitware/trame
fdc73f07f17d2601e1b1d3934d2d6326a3c0281e
[ "BSD-3-Clause" ]
null
null
null
examples/Tutorial/Example/app.py
DrewLazzeriKitware/trame
fdc73f07f17d2601e1b1d3934d2d6326a3c0281e
[ "BSD-3-Clause" ]
null
null
null
import os from trame import change, update_state from trame.layouts import SinglePageWithDrawer from trame.html import vtk, vuetify, widgets from vtkmodules.vtkCommonDataModel import vtkDataObject from vtkmodules.vtkFiltersCore import vtkContourFilter from vtkmodules.vtkIOXML import vtkXMLUnstructuredGridReader from ...
31.739875
81
0.55332
e6773e141755afe2a0e2167251aa0bc85bd1863f
2,849
py
Python
webots_ros2_tutorials/webots_ros2_tutorials/master.py
AleBurzio11/webots_ros2
99fa4a1a9d467e4ba71eff17ddf4e82444c78938
[ "Apache-2.0" ]
1
2021-09-09T13:11:15.000Z
2021-09-09T13:11:15.000Z
webots_ros2_tutorials/webots_ros2_tutorials/master.py
fmrico/webots_ros2
38d88e01fe174a8a00731f554f1a8646b9127bd2
[ "Apache-2.0" ]
1
2021-07-08T08:29:26.000Z
2021-10-01T07:57:12.000Z
webots_ros2_tutorials/webots_ros2_tutorials/master.py
fmrico/webots_ros2
38d88e01fe174a8a00731f554f1a8646b9127bd2
[ "Apache-2.0" ]
null
null
null
# Copyright 1996-2021 Soft_illusion. # # 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 w...
29.677083
88
0.657073
e6774fb2431795bf70a9da58c9b195ced57c3c9e
839
py
Python
dev-template/src/mysql_connect_sample.py
arrowkato/pytest-CircleiCI
2f6a1460a48bf88547538cfc72880a9c86f9ec23
[ "MIT" ]
null
null
null
dev-template/src/mysql_connect_sample.py
arrowkato/pytest-CircleiCI
2f6a1460a48bf88547538cfc72880a9c86f9ec23
[ "MIT" ]
10
2020-08-24T00:25:06.000Z
2020-11-08T03:58:48.000Z
dev-template/src/mysql_connect_sample.py
arrowkato/pytest-CircleiCI
2f6a1460a48bf88547538cfc72880a9c86f9ec23
[ "MIT" ]
null
null
null
import mysql.connector from mysql.connector import errorcode config = { 'user': 'user', 'password': 'password', 'host': 'mysql_container', 'database': 'sample_db', 'port': '3306', } if __name__ == "__main__": try: conn = mysql.connector.connect(**config) cursor = conn.cursor() ...
28.931034
76
0.587604
e677b427e6603c8fe21acf94f00727cd3ed74b7a
920
py
Python
Mundo 1/ex011.py
viniciusbonito/CeV-Python-Exercicios
6182421332f6f0c0a567c3e125fdc05736fa6281
[ "MIT" ]
null
null
null
Mundo 1/ex011.py
viniciusbonito/CeV-Python-Exercicios
6182421332f6f0c0a567c3e125fdc05736fa6281
[ "MIT" ]
null
null
null
Mundo 1/ex011.py
viniciusbonito/CeV-Python-Exercicios
6182421332f6f0c0a567c3e125fdc05736fa6281
[ "MIT" ]
null
null
null
# criar um programa que pergunte as dimenses de uma parede, calcule sua rea e informe quantos litros de tinta # seriam necessrios para a pintura, aps perguntar o rendimento da tinta informado na lata print('=' * 40) print('{:^40}'.format('Assistente de pintura')) print('=' * 40) altura = float(input('Informe a altura...
46
111
0.723913
e677b75c2a6dcc29dc727e2cdc804229c99df35d
591
py
Python
Python/Mundo 3/ex088.py
henrique-tavares/Coisas
f740518b1bedec5b0ea8c12ae07a2cac21eb51ae
[ "MIT" ]
1
2020-02-07T20:39:26.000Z
2020-02-07T20:39:26.000Z
Python/Mundo 3/ex088.py
neptune076/Coisas
85c064cc0e134465aaf6ef41acf747d47f108fc9
[ "MIT" ]
null
null
null
Python/Mundo 3/ex088.py
neptune076/Coisas
85c064cc0e134465aaf6ef41acf747d47f108fc9
[ "MIT" ]
null
null
null
from random import sample from time import sleep jogos = list() print('-' * 20) print(f'{"MEGA SENA":^20}') print('-' * 20) while True: n = int(input("\nQuatos jogos voc quer que eu sorteie? ")) if (n > 0): break print('\n[ERRO] Valor fora do intervalo') print() print('-=' * 3, en...
17.909091
63
0.527919
e6783e2d5b99dd220ab72c9c82dce296b3c378e7
49,475
py
Python
tests/test_utils.py
django-roles-access/master
066d0d6b99b986eacc736e6973b415cbb9172d46
[ "MIT" ]
5
2019-03-22T08:08:25.000Z
2019-04-11T11:46:52.000Z
tests/test_utils.py
django-roles-access/master
066d0d6b99b986eacc736e6973b415cbb9172d46
[ "MIT" ]
5
2019-04-03T21:53:52.000Z
2019-05-22T22:41:34.000Z
tests/test_utils.py
django-roles-access/master
066d0d6b99b986eacc736e6973b415cbb9172d46
[ "MIT" ]
null
null
null
from importlib import import_module from unittest import TestCase as UnitTestCase from django.contrib.auth.models import Group from django.core.management import BaseCommand from django.conf import settings from django.test import TestCase from django.views.generic import TemplateView try: from unittest.mock impor...
40.453802
85
0.661607
e67851bbe8e0d15c96340d34374c9950c15106d4
13,892
py
Python
favorite_files.py
jasondavis/FavoriteFiles
be088259ac36383399eebe85d8d5b35e235d25b0
[ "MIT", "Unlicense" ]
1
2019-04-27T20:13:19.000Z
2019-04-27T20:13:19.000Z
favorite_files.py
jasondavis/FavoriteFiles
be088259ac36383399eebe85d8d5b35e235d25b0
[ "MIT", "Unlicense" ]
null
null
null
favorite_files.py
jasondavis/FavoriteFiles
be088259ac36383399eebe85d8d5b35e235d25b0
[ "MIT", "Unlicense" ]
null
null
null
''' Favorite Files Licensed under MIT Copyright (c) 2012 Isaac Muse <isaacmuse@gmail.com> ''' import sublime import sublime_plugin from os.path import join, exists, normpath from favorites import Favorites Favs = Favorites(join(sublime.packages_path(), 'User', 'favorite_files_list.json'))
37.444744
136
0.500864
e678937ffa958feedad60c6818f9966146fc7fd7
229
py
Python
tests/list/list03.py
ktok07b6/polyphony
657c5c7440520db6b4985970bd50547407693ac4
[ "MIT" ]
83
2015-11-30T09:59:13.000Z
2021-08-03T09:12:28.000Z
tests/list/list03.py
jesseclin/polyphony
657c5c7440520db6b4985970bd50547407693ac4
[ "MIT" ]
4
2017-02-10T01:43:11.000Z
2020-07-14T03:52:25.000Z
tests/list/list03.py
jesseclin/polyphony
657c5c7440520db6b4985970bd50547407693ac4
[ "MIT" ]
11
2016-11-18T14:39:15.000Z
2021-02-23T10:05:20.000Z
from polyphony import testbench test()
14.3125
31
0.515284
e679989ea74254d7fd372bced3748665b5351845
4,361
py
Python
sc2clanman/views.py
paskausks/sc2cm
9c80e581933531496333d4a54c40174d4fb583a5
[ "MIT" ]
null
null
null
sc2clanman/views.py
paskausks/sc2cm
9c80e581933531496333d4a54c40174d4fb583a5
[ "MIT" ]
null
null
null
sc2clanman/views.py
paskausks/sc2cm
9c80e581933531496333d4a54c40174d4fb583a5
[ "MIT" ]
null
null
null
#!/bin/env python3 from collections import Counter from django.conf import settings from django.contrib.auth.decorators import login_required, permission_required from django.db import models as dm from django.shortcuts import get_object_or_404, render from django.views.generic.list import BaseListView from django.vie...
33.037879
110
0.661546
e67abeee75de516885fc3f200a8feafafe7fd320
2,313
py
Python
manimlib/mobject/functions.py
parmentelat/manim
f05f94fbf51c70591bed3092587a5db0de439738
[ "MIT" ]
1
2021-02-04T12:54:36.000Z
2021-02-04T12:54:36.000Z
manimlib/mobject/functions.py
parmentelat/manim
f05f94fbf51c70591bed3092587a5db0de439738
[ "MIT" ]
null
null
null
manimlib/mobject/functions.py
parmentelat/manim
f05f94fbf51c70591bed3092587a5db0de439738
[ "MIT" ]
null
null
null
from manimlib.constants import * from manimlib.mobject.types.vectorized_mobject import VMobject from manimlib.utils.config_ops import digest_config from manimlib.utils.space_ops import get_norm
31.684932
90
0.609166
e67af792ae036b2a2bc22a1b166e10db5dcc3d7e
9,704
py
Python
lib/ecsmate/ecs.py
doudoudzj/ecsmate
dda508a64ef9d6979dcc83377bb007d2a0acec30
[ "Apache-2.0" ]
null
null
null
lib/ecsmate/ecs.py
doudoudzj/ecsmate
dda508a64ef9d6979dcc83377bb007d2a0acec30
[ "Apache-2.0" ]
null
null
null
lib/ecsmate/ecs.py
doudoudzj/ecsmate
dda508a64ef9d6979dcc83377bb007d2a0acec30
[ "Apache-2.0" ]
null
null
null
#-*- coding: utf-8 -*- # # Copyright (c) 2012, ECSMate development team # All rights reserved. # # ECSMate is distributed under the terms of the (new) BSD License. # The full license can be found in 'LICENSE.txt'. """ECS SDK """ import time import hmac import base64 import hashlib import urllib import...
36.344569
102
0.622424
e67c1789de35ce33eb29e291ba0e431b4c1c574b
4,002
py
Python
tacker/api/v1/resource.py
mail2nsrajesh/tacker
dce6690659836c2885f1cf8227c19be234f8fe25
[ "Apache-2.0" ]
null
null
null
tacker/api/v1/resource.py
mail2nsrajesh/tacker
dce6690659836c2885f1cf8227c19be234f8fe25
[ "Apache-2.0" ]
null
null
null
tacker/api/v1/resource.py
mail2nsrajesh/tacker
dce6690659836c2885f1cf8227c19be234f8fe25
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 OpenStack Foundation. # 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 req...
33.630252
78
0.613193
e67c30a42d5e25d4e6e974aeebd81a4f702b3cd2
5,417
py
Python
akinator/utils.py
GitHubEmploy/akinator.py
67c688b0332f4caa72bacc8fbc8f95abfe2290c9
[ "MIT" ]
null
null
null
akinator/utils.py
GitHubEmploy/akinator.py
67c688b0332f4caa72bacc8fbc8f95abfe2290c9
[ "MIT" ]
null
null
null
akinator/utils.py
GitHubEmploy/akinator.py
67c688b0332f4caa72bacc8fbc8f95abfe2290c9
[ "MIT" ]
null
null
null
""" MIT License Copyright (c) 2019 NinjaSnail1080 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
44.04065
149
0.606055