hexsha
stringlengths
40
40
size
int64
1
1.03M
ext
stringclasses
10 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
239
max_stars_repo_name
stringlengths
5
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
239
max_issues_repo_name
stringlengths
5
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
67k
⌀
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
239
max_forks_repo_name
stringlengths
5
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.03M
avg_line_length
float64
1
958k
max_line_length
int64
1
1.03M
alphanum_fraction
float64
0
1
7980a7021dbd19fe4df6f5c6fc5e729e9a3c6488
19,362
py
Python
neutron/tests/unit/db/test_securitygroups_db.py
lhyzxj314/neutron
5600261f782f10c2dd04cdc2ea6a64287499c8ad
[ "Apache-2.0" ]
null
null
null
neutron/tests/unit/db/test_securitygroups_db.py
lhyzxj314/neutron
5600261f782f10c2dd04cdc2ea6a64287499c8ad
[ "Apache-2.0" ]
1
2019-08-16T14:02:19.000Z
2019-08-16T14:02:19.000Z
neutron/tests/unit/db/test_securitygroups_db.py
MrCocoaCat/Neutron_Ocata
d7d8e0278cfaa91801083f476d5dd3520ad5d0bd
[ "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 # distributed under the...
52.471545
79
0.604018
7980a7762a73025a7738cd1ecce8b078550e641a
843
py
Python
Screen Capture/Screen Capture.py
palahsu/Screen-Capture
dd2a2224ae22f53d13b13ee4d64d211d06f4ed85
[ "MIT" ]
5
2020-11-06T09:04:02.000Z
2021-11-14T14:53:16.000Z
Screen Capture/Screen Capture.py
palahsu/Screen-Capture
dd2a2224ae22f53d13b13ee4d64d211d06f4ed85
[ "MIT" ]
null
null
null
Screen Capture/Screen Capture.py
palahsu/Screen-Capture
dd2a2224ae22f53d13b13ee4d64d211d06f4ed85
[ "MIT" ]
null
null
null
import pyautogui from tkinter import * import tkinter as tk from PIL import ImageTk ,Image from tkinter import filedialog bg_color='black' #root = Tk() root= tk.Tk() root.geometry('250x200') root.configure(background=bg_color) root.title('Screen Capture') photo = tk.PhotoImage(file='image\\sss.png'...
25.545455
104
0.653618
7980a8402e11720790fac197a7037576d7239c4e
10,093
py
Python
eeauditor/tests/test_Amazon_SQS_Auditor.py
kbhagi/ElectricEye
31960e1e1cfb75c5d354844ea9e07d5295442823
[ "Apache-2.0" ]
442
2020-03-15T20:56:36.000Z
2022-03-31T22:13:07.000Z
eeauditor/tests/test_Amazon_SQS_Auditor.py
kbhagi/ElectricEye
31960e1e1cfb75c5d354844ea9e07d5295442823
[ "Apache-2.0" ]
57
2020-03-15T22:09:56.000Z
2022-03-31T13:17:06.000Z
eeauditor/tests/test_Amazon_SQS_Auditor.py
kbhagi/ElectricEye
31960e1e1cfb75c5d354844ea9e07d5295442823
[ "Apache-2.0" ]
59
2020-03-15T21:19:10.000Z
2022-03-31T15:01:31.000Z
#This file is part of ElectricEye. #SPDX-License-Identifier: Apache-2.0 #Licensed to the Apache Software Foundation (ASF) under one #or more contributor license agreements. See the NOTICE file #distributed with this work for additional information #regarding copyright ownership. The ASF licenses this file #to you un...
33.091803
106
0.677202
7980a86cb3319a8f0520c29cbc6957f7861f11aa
2,229
py
Python
modules/mono/config.py
Fungus-Light/godot
84abf5a979648081a9076ec6b342f5f9d33093d4
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2021-06-29T05:28:15.000Z
2022-01-19T12:52:36.000Z
modules/mono/config.py
brndel/godot
1455776958ebe95f09411809a7c647f6c14b25d1
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
2
2016-06-04T16:23:57.000Z
2016-06-09T00:06:03.000Z
modules/mono/config.py
brndel/godot
1455776958ebe95f09411809a7c647f6c14b25d1
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
1
2022-01-19T12:44:40.000Z
2022-01-19T12:44:40.000Z
supported_platforms = ["windows", "osx", "linuxbsd", "server", "android", "haiku", "javascript", "iphone"] def can_build(env, platform): return True def configure(env): platform = env["platform"] if platform not in supported_platforms: raise RuntimeError("This module does not currently support ...
30.534247
117
0.666667
7980a93eb4c23073a15af08ae0a3645a0bece5c6
7,944
py
Python
mytest/NEP5.py
mixbee/neo-boa
da7366c26c7b8e60afb9ac27439a1da37b0be355
[ "MIT" ]
null
null
null
mytest/NEP5.py
mixbee/neo-boa
da7366c26c7b8e60afb9ac27439a1da37b0be355
[ "MIT" ]
null
null
null
mytest/NEP5.py
mixbee/neo-boa
da7366c26c7b8e60afb9ac27439a1da37b0be355
[ "MIT" ]
null
null
null
""" NEP5 Token =================================== >>> from boa.compiler import Compiler >>> Compiler.load_and_save('./boa/tests/src/NEP5.py') # OWNER = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' # Script hash of the contract owner """ from boa.interop.Neo.Runtime import Log...
22.827586
125
0.633056
7980a9e8f3890ef9d718dde435de55428875df5e
20,732
py
Python
mitmproxy/contrib/kaitaistruct/exif_be.py
ravitejavalluri/mproxy
ccd8e1e617cdbf3b34ec01ac130093396197101f
[ "MIT" ]
null
null
null
mitmproxy/contrib/kaitaistruct/exif_be.py
ravitejavalluri/mproxy
ccd8e1e617cdbf3b34ec01ac130093396197101f
[ "MIT" ]
1
2021-05-09T11:18:14.000Z
2021-05-09T11:18:14.000Z
mitmproxy/contrib/kaitaistruct/exif_be.py
ravitejavalluri/mproxy
ccd8e1e617cdbf3b34ec01ac130093396197101f
[ "MIT" ]
null
null
null
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild # The source was exif_be.ksy from here - https://github.com/kaitai-io/kaitai_struct_formats/blob/24e2d00048b8084ceec30a187a79cb87a79a48ba/image/exif_be.ksy import array import struct import zlib from enum import Enum fr...
36.244755
181
0.56695
7980a9fb4cdc1707235a3b8e0751456a936df0c3
363
py
Python
catalog/migrations/0003_auto_20200707_1200.py
charanreddyvaddhi/django_local_library
90e087e36797e2efe646480b6fc7f70105e5084a
[ "Apache-2.0" ]
null
null
null
catalog/migrations/0003_auto_20200707_1200.py
charanreddyvaddhi/django_local_library
90e087e36797e2efe646480b6fc7f70105e5084a
[ "Apache-2.0" ]
null
null
null
catalog/migrations/0003_auto_20200707_1200.py
charanreddyvaddhi/django_local_library
90e087e36797e2efe646480b6fc7f70105e5084a
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-07 06:30 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('catalog', '0002_auto_20200707_1156'), ] operations = [ migrations.RenameField( model_name='author', old_name='summary', ...
19.105263
47
0.584022
7980aa72f3d868f998072de43511669b39f41a5f
1,111
py
Python
tests/fixtures/tf/algos/dummy_off_policy_algo.py
Maltimore/garage
a3f44b37eeddca37d157766a9a72e8772f104bcd
[ "MIT" ]
1
2020-02-19T00:01:29.000Z
2020-02-19T00:01:29.000Z
tests/fixtures/tf/algos/dummy_off_policy_algo.py
Maltimore/garage
a3f44b37eeddca37d157766a9a72e8772f104bcd
[ "MIT" ]
null
null
null
tests/fixtures/tf/algos/dummy_off_policy_algo.py
Maltimore/garage
a3f44b37eeddca37d157766a9a72e8772f104bcd
[ "MIT" ]
1
2020-02-13T12:05:35.000Z
2020-02-13T12:05:35.000Z
"""A dummy off-policy algorithm.""" from garage.np.algos import OffPolicyRLAlgorithm class DummyOffPolicyAlgo(OffPolicyRLAlgorithm): """A dummy off-policy algorithm.""" def init_opt(self): """Initialize the optimization procedure.""" def train(self, runner): """Obtain samplers and start ...
28.487179
78
0.616562
7980ab3e6e81454b465e44130d1e569cbddb0400
9,760
py
Python
tests/test_views.py
vgavro/flask-userflow
17e73698d5adb293f2ffdfef78957a2c4d1eadc1
[ "MIT" ]
null
null
null
tests/test_views.py
vgavro/flask-userflow
17e73698d5adb293f2ffdfef78957a2c4d1eadc1
[ "MIT" ]
null
null
null
tests/test_views.py
vgavro/flask-userflow
17e73698d5adb293f2ffdfef78957a2c4d1eadc1
[ "MIT" ]
null
null
null
def test_status(client): resp = client.get('/user/status') assert resp.status_code == 200 assert not resp.json['user'] assert resp.json['locale'] == 'en' assert resp.json['timezone'] == 'UTC' def test_set_i18n_success(client): # set locale resp = client.post('/user/set_i18n', json={'locale...
34.857143
98
0.63627
7980ab48eb2567b7f19fcd3f129284d3589b7d53
313
py
Python
swagger_client/api/__init__.py
docktermj/senzing-python-rest-client
396c4842c72c93a4a9d7cf0cefc027f73892a518
[ "Apache-2.0" ]
null
null
null
swagger_client/api/__init__.py
docktermj/senzing-python-rest-client
396c4842c72c93a4a9d7cf0cefc027f73892a518
[ "Apache-2.0" ]
null
null
null
swagger_client/api/__init__.py
docktermj/senzing-python-rest-client
396c4842c72c93a4a9d7cf0cefc027f73892a518
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import # flake8: noqa # import apis into api package from swagger_client.api.admin_api import AdminApi from swagger_client.api.config_api import ConfigApi from swagger_client.api.entity_data_api import EntityDataApi from swagger_client.api.entity_graph_api import EntityGraphApi
31.3
62
0.865815
7980abf455b39cb7448d2bc40d3ceea97678d56a
1,116
py
Python
sdk/search/azure-search-documents/tests/test_service_live.py
malthe/azure-sdk-for-python
0394ca66256f18fd45975b75ceea0e2527208abf
[ "MIT" ]
null
null
null
sdk/search/azure-search-documents/tests/test_service_live.py
malthe/azure-sdk-for-python
0394ca66256f18fd45975b75ceea0e2527208abf
[ "MIT" ]
null
null
null
sdk/search/azure-search-documents/tests/test_service_live.py
malthe/azure-sdk-for-python
0394ca66256f18fd45975b75ceea0e2527208abf
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import jso...
38.482759
76
0.687276
7980acf5362a53b01db12b2fbe483088b27d6b5b
16,722
py
Python
venv/Lib/site-packages/decorator.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
4
2021-11-19T03:25:13.000Z
2022-02-24T15:32:30.000Z
venv/Lib/site-packages/decorator.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
8
2021-09-22T12:47:32.000Z
2022-01-14T21:30:38.000Z
venv/Lib/site-packages/decorator.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
3
2020-08-04T02:48:32.000Z
2020-08-17T01:20:09.000Z
# ######################### LICENSE ############################ # # Copyright (c) 2005-2021, Michele Simionato # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # Redistributions of so...
36.995575
79
0.585277
7980ad2b628f77a4b2d4b62b3ed10d68683f0000
78,345
py
Python
test_init_final.py
no1no12/lin2msever
9d41c18dbd81da711c2334bbd137fe8269bd2590
[ "Apache-2.0" ]
null
null
null
test_init_final.py
no1no12/lin2msever
9d41c18dbd81da711c2334bbd137fe8269bd2590
[ "Apache-2.0" ]
null
null
null
test_init_final.py
no1no12/lin2msever
9d41c18dbd81da711c2334bbd137fe8269bd2590
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ################ Server V14 ##################### import os import sys import asyncio import discord import datetime import random import math import logging from discord.ext import commands from gtts import gTTS from github import Github import base64 import re #정산 import gs...
37.665865
274
0.59335
7980ad4ad92d5cd212337cbed2eddafd0f3caae3
69
py
Python
example/ecs_task.py/echo.py
hiro-o918/digdag-operator-ecs_task
7fb433110f5c60bff6454e878f0ced6326f35cf1
[ "Apache-2.0" ]
31
2018-10-29T07:29:42.000Z
2022-01-24T09:21:08.000Z
example/ecs_task.py/echo.py
hiro-o918/digdag-operator-ecs_task
7fb433110f5c60bff6454e878f0ced6326f35cf1
[ "Apache-2.0" ]
12
2018-12-12T08:30:41.000Z
2021-07-27T04:05:57.000Z
example/ecs_task.py/echo.py
hiro-o918/digdag-operator-ecs_task
7fb433110f5c60bff6454e878f0ced6326f35cf1
[ "Apache-2.0" ]
9
2019-05-23T04:17:01.000Z
2021-07-17T01:12:58.000Z
import yaml def echo(message: str): print(yaml.dump(message))
9.857143
29
0.681159
7980ad61283bf36f3c0f3ed5dedc433221201545
157
py
Python
setup.py
brianhawthorne/egg
af6818aafab9e6429beade5397671ab15fff106a
[ "Apache-2.0" ]
null
null
null
setup.py
brianhawthorne/egg
af6818aafab9e6429beade5397671ab15fff106a
[ "Apache-2.0" ]
null
null
null
setup.py
brianhawthorne/egg
af6818aafab9e6429beade5397671ab15fff106a
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name='egg', version='0.4', py_modules=['egg'], entry_points=dict(console_scripts=['egg = egg:main']), )
17.444444
58
0.636943
7980ae174cb109f923be43586086a0499c502fac
3,197
py
Python
reaver/models/sc2/fully_conv.py
HatsuneMiku4/reaver
059320ce109498ec4100fcc2cee32177c427f1ea
[ "MIT" ]
null
null
null
reaver/models/sc2/fully_conv.py
HatsuneMiku4/reaver
059320ce109498ec4100fcc2cee32177c427f1ea
[ "MIT" ]
null
null
null
reaver/models/sc2/fully_conv.py
HatsuneMiku4/reaver
059320ce109498ec4100fcc2cee32177c427f1ea
[ "MIT" ]
null
null
null
import gin import numpy as np import tensorflow as tf from tensorflow.python.keras import Model from tensorflow.python.keras.initializers import VarianceScaling from tensorflow.python.keras.layers import Input, Concatenate, Dense, Embedding, Conv2D, Flatten, Lambda from reaver.models.base.layers import Squeeze, Split, ...
35.522222
112
0.65843
7980ae2a24a0bba5f97fd5a822baf59f51f6885f
13,127
py
Python
stanCode_Projects/break_out_game/breakoutgraphics2.py
b911533/sc-projects
5841706113161f6aa49b001a47335eca45d0ae2e
[ "MIT" ]
null
null
null
stanCode_Projects/break_out_game/breakoutgraphics2.py
b911533/sc-projects
5841706113161f6aa49b001a47335eca45d0ae2e
[ "MIT" ]
null
null
null
stanCode_Projects/break_out_game/breakoutgraphics2.py
b911533/sc-projects
5841706113161f6aa49b001a47335eca45d0ae2e
[ "MIT" ]
null
null
null
""" stanCode Breakout Project Adapted from Eric Roberts's Breakout by Sonja Johnson-Yu, Kylie Jue, Nick Bowman, and Jerry Liao File: breakoutgraphics.py Name: Jim Chan ---------------------- The idea of drawing is to compensate my gf for giving her less attention because I was busy finishing this week's assignment lo...
41.021875
128
0.584978
7980af3e8f0323cda9a9f58c09605489674deea9
1,090
py
Python
test_knn.py
mouni97matelabs/raven-distribution-framework
d577e0f00fd5471613aea79af61e655f0831bb3d
[ "MIT" ]
null
null
null
test_knn.py
mouni97matelabs/raven-distribution-framework
d577e0f00fd5471613aea79af61e655f0831bb3d
[ "MIT" ]
null
null
null
test_knn.py
mouni97matelabs/raven-distribution-framework
d577e0f00fd5471613aea79af61e655f0831bb3d
[ "MIT" ]
null
null
null
from sklearn.datasets import load_iris from ravop.ml.knn import KNN from sklearn.model_selection import train_test_split from sklearn.neighbors import KNeighborsClassifier import pandas as pd import numpy as np import sys dataset = load_iris() X = dataset.data X = X[:10] print("\n New X array is \n", X) y = dataset...
27.25
102
0.711927
7980b0745ebe99aa166cfde319699393d11e3bf4
3,839
py
Python
test/functional/p2p_dos_header_tree.py
asuka431/fujicoin-22.0
9e338be2116022f0d18df153298b8881e6145f04
[ "MIT" ]
null
null
null
test/functional/p2p_dos_header_tree.py
asuka431/fujicoin-22.0
9e338be2116022f0d18df153298b8881e6145f04
[ "MIT" ]
null
null
null
test/functional/p2p_dos_header_tree.py
asuka431/fujicoin-22.0
9e338be2116022f0d18df153298b8881e6145f04
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) 2019-2020 The Baricoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test that we reject low difficulty headers to prevent our block tree from filling up with useless bloa...
43.625
120
0.681167
7980b0cf4a12d6a93a454306d2f9a2cfe55ef21a
1,519
py
Python
13/shuttle.py
SteScheller/AoC_2020
f60d89d19b6c6c19e12f263fe46bc5f36b737327
[ "Unlicense" ]
null
null
null
13/shuttle.py
SteScheller/AoC_2020
f60d89d19b6c6c19e12f263fe46bc5f36b737327
[ "Unlicense" ]
null
null
null
13/shuttle.py
SteScheller/AoC_2020
f60d89d19b6c6c19e12f263fe46bc5f36b737327
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 import math from typing import List, Tuple, Union import numpy as np def parse_input(file_path: str) -> Tuple[int, List[Union[int, str]]]: with open(file_path) as f: lines = f.readlines() t = int(lines[0].strip()) ids = [int(id_) if id_ != 'x' else id_ for id_ in li...
33.021739
77
0.608953
7980b117b290e2c20a5001230f3858e44b5ba295
2,398
py
Python
playground/tmp1.py
zdadadaz/jcc_dfdc
672b61771e22b369c7950c89299b0a7a2f7586ad
[ "Apache-2.0" ]
1
2021-01-31T04:39:11.000Z
2021-01-31T04:39:11.000Z
playground/tmp1.py
zdadadaz/jcc_dfdc
672b61771e22b369c7950c89299b0a7a2f7586ad
[ "Apache-2.0" ]
null
null
null
playground/tmp1.py
zdadadaz/jcc_dfdc
672b61771e22b369c7950c89299b0a7a2f7586ad
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Jan 17 18:09:13 2020 @author: zdadadaz """ from __future__ import print_function from keras.preprocessing import sequence from keras.models import Sequential from keras.layers import Dense, Dropout, Activation from keras.layers import Embedding from k...
26.351648
79
0.692661
7980b1635750f039967993166a93f4c1c03c7ad8
2,040
py
Python
audio.py
gowthambalusamy/pytorch_text2speech
7637a3542799b9f6503a203ed1e4990245402cc0
[ "MIT" ]
3
2017-11-28T21:40:38.000Z
2021-01-07T16:23:31.000Z
audio.py
gowthambalusamy/pytorch_text2speech
7637a3542799b9f6503a203ed1e4990245402cc0
[ "MIT" ]
null
null
null
audio.py
gowthambalusamy/pytorch_text2speech
7637a3542799b9f6503a203ed1e4990245402cc0
[ "MIT" ]
2
2018-03-19T14:51:32.000Z
2019-07-10T04:20:01.000Z
import librosa import librosa.filters import math import numpy as np from scipy import signal from hparams import hparams from scipy.io import wavfile import lws def load_wav(path): return librosa.core.load(path, sr=hparams.sample_rate)[0] def save_wav(wav, path): wav *= 32767 / max(0.01, np.max(np.abs(wav...
23.448276
94
0.722549
7980b2a1f7df1b66b085cd1600af9ce88c7183de
63,673
py
Python
pybayes/pdfs.py
strohel/PyBayes
76d3ad12c20e29c5aadb688c4323fb0f1784f8ec
[ "MIT" ]
66
2015-01-05T13:36:03.000Z
2021-03-15T18:26:28.000Z
pybayes/pdfs.py
strohel/PyBayes
76d3ad12c20e29c5aadb688c4323fb0f1784f8ec
[ "MIT" ]
6
2015-02-23T19:45:11.000Z
2021-07-21T08:21:52.000Z
pybayes/pdfs.py
strohel/PyBayes
76d3ad12c20e29c5aadb688c4323fb0f1784f8ec
[ "MIT" ]
22
2015-02-11T23:45:01.000Z
2021-01-16T18:53:25.000Z
""" This module contains models of common probability density functions, abbreviated as pdfs. All classes from this module are currently imported to top-level pybayes module, so instead of ``from pybayes.pdfs import Pdf`` you can type ``from pybayes import Pdf``. """ from copy import deepcopy import math from numpy ...
40.17224
141
0.606505
7980b32203c4e15462ae459844da9611635beb91
395
py
Python
MoodyBeatsRecommenderAPI/songs/migrations/0004_remove_newcomment_moods.py
labs12-music-stream-selector/DS
8029556547c2478a647649c89cfb834893647795
[ "MIT" ]
null
null
null
MoodyBeatsRecommenderAPI/songs/migrations/0004_remove_newcomment_moods.py
labs12-music-stream-selector/DS
8029556547c2478a647649c89cfb834893647795
[ "MIT" ]
19
2019-12-26T17:21:07.000Z
2022-02-17T22:21:18.000Z
MoodyBeatsRecommenderAPI/songs/migrations/0004_remove_newcomment_moods.py
labs12-music-stream-selector/DS
8029556547c2478a647649c89cfb834893647795
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-05-16 07:30 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('songs', '0003_auto_20190516_0640'), ] operations = [ migrations.RemoveField( ...
19.75
49
0.61519
7980b3703744d0c49931b45ff3fae108e136cbe5
1,188
py
Python
surreal/components/models/__init__.py
rosea-tf/surreal
8abfb18538340d50146c9c44f5ecb8a1e7d89ac3
[ "Apache-2.0" ]
6
2019-12-17T17:56:26.000Z
2022-01-13T20:54:06.000Z
surreal/components/models/__init__.py
rosea-tf/surreal
8abfb18538340d50146c9c44f5ecb8a1e7d89ac3
[ "Apache-2.0" ]
4
2019-11-04T07:17:27.000Z
2019-11-04T07:19:25.000Z
surreal/components/models/__init__.py
rosea-tf/surreal
8abfb18538340d50146c9c44f5ecb8a1e7d89ac3
[ "Apache-2.0" ]
2
2019-11-29T15:38:54.000Z
2020-02-24T11:24:04.000Z
# Copyright 2019 ducandu GmbH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
39.6
112
0.733165
7980b3714ecec6d5773454e6304e6cd28e1854f2
5,850
py
Python
scripts/cors_server.py
NabaviLab/CNV-Visualizer
c91998a0f2184b1d469ea324c9a7519ec8562aaa
[ "MIT" ]
1
2019-04-17T09:48:59.000Z
2019-04-17T09:48:59.000Z
scripts/cors_server.py
NabaviLab/CNV-Visualizer
c91998a0f2184b1d469ea324c9a7519ec8562aaa
[ "MIT" ]
2
2018-12-07T15:43:37.000Z
2019-02-04T12:14:34.000Z
scripts/cors_server.py
NabaviLab/CNV-Visualizer
c91998a0f2184b1d469ea324c9a7519ec8562aaa
[ "MIT" ]
1
2020-09-07T12:03:05.000Z
2020-09-07T12:03:05.000Z
# adopted from https://github.com/danvk/RangeHTTPServer to allow CORS import os import re try: from http.server import SimpleHTTPRequestHandler except ImportError: from SimpleHTTPServer import SimpleHTTPRequestHandler def copy_byte_range(infile, outfile, start=None, stop=None, bufsize=16*1024): '''Like s...
34.615385
79
0.611966
7980b38b55bb2d88e7474235004da29876191299
1,764
py
Python
tests/test_weekview.py
Lisafiluz/calendar
a88e34f7ab9dd25753ca041461e56d20a7f9fd1e
[ "Apache-2.0" ]
35
2021-01-07T12:37:39.000Z
2021-11-10T15:43:04.000Z
tests/test_weekview.py
Lisafiluz/calendar
a88e34f7ab9dd25753ca041461e56d20a7f9fd1e
[ "Apache-2.0" ]
275
2021-01-06T20:53:21.000Z
2021-04-22T14:03:09.000Z
tests/test_weekview.py
Lisafiluz/calendar
a88e34f7ab9dd25753ca041461e56d20a7f9fd1e
[ "Apache-2.0" ]
61
2021-01-07T08:19:27.000Z
2021-02-24T10:18:43.000Z
from bs4 import BeautifulSoup import pytest from app.routers.event import create_event from app.routers.weekview import get_week_dates def create_weekview_event(events, session, user): for event in events: create_event( db=session, title='test', start=event.start, ...
30.947368
79
0.64966
7980b3d10980e91c9bfa0fbf629a90595b7c86fa
100
py
Python
views.py
henghasaint/forum
7ab1ce5f6d3aaca5e4145b9a29935e0114dabd1d
[ "Apache-2.0" ]
null
null
null
views.py
henghasaint/forum
7ab1ce5f6d3aaca5e4145b9a29935e0114dabd1d
[ "Apache-2.0" ]
null
null
null
views.py
henghasaint/forum
7ab1ce5f6d3aaca5e4145b9a29935e0114dabd1d
[ "Apache-2.0" ]
null
null
null
from django.http import HttpResponse def index(request): return HttpResponse("Hello, World!lcs")
16.666667
40
0.78
7980b42533cf1586c44da3a818205bdb8e3e6c0a
3,242
py
Python
src/fhir_types/FHIR_PaymentReconciliation_Detail.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
2
2022-02-03T00:51:30.000Z
2022-02-03T18:42:43.000Z
src/fhir_types/FHIR_PaymentReconciliation_Detail.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
null
null
null
src/fhir_types/FHIR_PaymentReconciliation_Detail.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
null
null
null
from typing import Any, List, Literal, TypedDict from .FHIR_CodeableConcept import FHIR_CodeableConcept from .FHIR_date import FHIR_date from .FHIR_Element import FHIR_Element from .FHIR_Identifier import FHIR_Identifier from .FHIR_Money import FHIR_Money from .FHIR_Reference import FHIR_Reference from .FHIR_string im...
70.478261
836
0.75108
7980b4e9dc56d2e0662285392d637a9fe10a6c08
5,986
py
Python
Project 1 - Data Modeling with Postgres/Project files/sql_queries.py
jaiswalanshul/Udacity-Data-Engineering-Projects
0e68ad4d2b38ff3b6f0cd7395e8c62e3b1002bee
[ "MIT" ]
null
null
null
Project 1 - Data Modeling with Postgres/Project files/sql_queries.py
jaiswalanshul/Udacity-Data-Engineering-Projects
0e68ad4d2b38ff3b6f0cd7395e8c62e3b1002bee
[ "MIT" ]
null
null
null
Project 1 - Data Modeling with Postgres/Project files/sql_queries.py
jaiswalanshul/Udacity-Data-Engineering-Projects
0e68ad4d2b38ff3b6f0cd7395e8c62e3b1002bee
[ "MIT" ]
null
null
null
# DROP TABLES songplay_table_drop = "DROP TABLE IF EXISTS songplays" user_table_drop = "DROP TABLE IF EXISTS users" song_table_drop = "DROP TABLE IF EXISTS songs" artist_table_drop = "DROP TABLE IF EXISTS artists" time_table_drop = "DROP TABLE IF EXISTS time" # CREATE TABLES songplay_table_create = (""" CREATE TABLE...
54.418182
124
0.331607
7980b5a63e5acc4b7b9e7a2a79c09f324cc68d9a
2,354
py
Python
Labs/Scheduling/Optimize.py
jessicaleete/numerical_computing
cc71f51f35ca74d00e617af3d1a0223e19fb9a68
[ "CC-BY-3.0" ]
10
2016-10-18T19:54:25.000Z
2021-10-09T20:12:38.000Z
Labs/Scheduling/Optimize.py
jessicaleete/numerical_computing
cc71f51f35ca74d00e617af3d1a0223e19fb9a68
[ "CC-BY-3.0" ]
null
null
null
Labs/Scheduling/Optimize.py
jessicaleete/numerical_computing
cc71f51f35ca74d00e617af3d1a0223e19fb9a68
[ "CC-BY-3.0" ]
2
2017-05-14T16:07:59.000Z
2020-06-20T09:05:06.000Z
import csv import numpy as np from cvxopt import matrix, glpk,solvers reader = csv.reader(open("NursesPreferences.csv",'r'), delimiter = "\t") preferences = [] level = [] for row in reader: level.append(float(row[0])) for i in range(1,71): preferences.append(float(row[i])) reader1 = csv.reader(o...
22.634615
72
0.55565
7980b649aa3cf2aa07212af25c32adf5aff547c1
1,002
py
Python
src/docxplain/cli.py
jsickcodes/pre-commit-docx-plain
3312501b6a5efe425731017c4eb24bef5d10153b
[ "MIT" ]
1
2021-03-18T00:42:50.000Z
2021-03-18T00:42:50.000Z
src/docxplain/cli.py
jsickcodes/pre-commit-docx-plain
3312501b6a5efe425731017c4eb24bef5d10153b
[ "MIT" ]
7
2021-03-26T13:48:12.000Z
2021-06-04T08:07:51.000Z
src/docxplain/cli.py
jsickcodes/pre-commit-docx-plain
3312501b6a5efe425731017c4eb24bef5d10153b
[ "MIT" ]
null
null
null
from __future__ import annotations import argparse import sys from docxplain.converter import convert_file def main() -> None: """Command-line entrypoint.""" parser = create_parser() args = parser.parse_args() change_count = 0 for docx_file in args.source: if convert_file(docx_file, suf...
26.368421
79
0.648703
7980b66c302251033a6956571c1062d8aac28fda
12,971
py
Python
Lib/filibuster/content/corporate.py
LettError/filibuster
c59bef292d779d4bca82e18818f765d494a46a7b
[ "MIT" ]
10
2016-12-21T12:10:23.000Z
2021-03-03T16:49:43.000Z
Lib/filibuster/content/corporate.py
LettError/filibuster
c59bef292d779d4bca82e18818f765d494a46a7b
[ "MIT" ]
4
2016-12-21T17:53:36.000Z
2020-07-07T13:26:27.000Z
Lib/filibuster/content/corporate.py
LettError/filibuster
c59bef292d779d4bca82e18818f765d494a46a7b
[ "MIT" ]
2
2019-05-13T16:50:00.000Z
2020-07-08T12:51:30.000Z
# -*- coding: UTF-8 -*- # """ history Corporation names, corporate related text - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3.0.0 - split all the content into babycontents evb - note: only one dictionary named 'content' allowed per module this limitation is to ...
22.998227
122
0.454861
7980b73fbe498b63837db15a84773b8e93e5402b
1,959
py
Python
tools/code_coverage/package/tool/parser/llvm_coverage_segment.py
deltabravozulu/pytorch
c6eef589971e45bbedacc7f65533d1b8f80a6895
[ "Intel" ]
206
2020-11-28T22:56:38.000Z
2022-03-27T02:33:04.000Z
tools/code_coverage/package/tool/parser/llvm_coverage_segment.py
deltabravozulu/pytorch
c6eef589971e45bbedacc7f65533d1b8f80a6895
[ "Intel" ]
19
2020-12-09T23:13:14.000Z
2022-01-24T23:24:08.000Z
tools/code_coverage/package/tool/parser/llvm_coverage_segment.py
deltabravozulu/pytorch
c6eef589971e45bbedacc7f65533d1b8f80a6895
[ "Intel" ]
28
2020-11-29T15:25:12.000Z
2022-01-20T02:16:27.000Z
from typing import List, NamedTuple, Optional, Tuple class LlvmCoverageSegment(NamedTuple): line: int col: int segment_count: int has_count: int is_region_entry: int is_gap_entry: Optional[int] @property def has_coverage(self): return self.segment_count > 0 @property ...
32.114754
84
0.595712
7980b74cc5aa1807971958dbb7053da1f4254d96
3,754
py
Python
demos/flask_app/ziggeo.py
nraval1729/ZiggeoPythonSdk
5f4774fd505d16d249d43a75b9aab3483d7e892a
[ "Apache-2.0" ]
3
2018-07-17T16:38:17.000Z
2020-10-31T19:56:47.000Z
demos/flask_app/ziggeo.py
nraval1729/ZiggeoPythonSdk
5f4774fd505d16d249d43a75b9aab3483d7e892a
[ "Apache-2.0" ]
8
2015-08-20T15:59:13.000Z
2022-01-17T13:08:45.000Z
demos/flask_app/ziggeo.py
nraval1729/ZiggeoPythonSdk
5f4774fd505d16d249d43a75b9aab3483d7e892a
[ "Apache-2.0" ]
7
2015-08-12T14:32:12.000Z
2019-10-30T05:26:51.000Z
from flask import Flask, flash, request, render_template, redirect, url_for, _request_ctx_stack from Ziggeo import Ziggeo from pprint import pprint # Please be sure to add provide with Application Token and Private Key # provided by ziggeo application api_token='29ddc63d7396ceaaa4ff27712bb68d35' api_key='4b50678a63c35...
35.415094
140
0.720565
7980b7a6c753b94be66583343972e99c9bcdf71d
9,814
py
Python
orchid_DiseasePredict/datasets/Attention_in_several_test/LSTM128_LSTM128_LSTM128_LSTM128_A_LSTM64_LSTM64_LSTM64.py
chengzee/disease_predict
d7a3c57b710ab2e93d56c8d73aeaa21120d3e98c
[ "MIT" ]
null
null
null
orchid_DiseasePredict/datasets/Attention_in_several_test/LSTM128_LSTM128_LSTM128_LSTM128_A_LSTM64_LSTM64_LSTM64.py
chengzee/disease_predict
d7a3c57b710ab2e93d56c8d73aeaa21120d3e98c
[ "MIT" ]
null
null
null
orchid_DiseasePredict/datasets/Attention_in_several_test/LSTM128_LSTM128_LSTM128_LSTM128_A_LSTM64_LSTM64_LSTM64.py
chengzee/disease_predict
d7a3c57b710ab2e93d56c8d73aeaa21120d3e98c
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import csv from keras.layers import Dense, Lambda, dot, Activation, concatenate from keras.layers import Layer import keras.backend as K # Parameters # ------------------------------------------------------------------------------------------------------------------- bed = [631, ...
46.075117
283
0.566741
7980b7eb7afcaf268703f7a12c8a33ec8bc25c79
2,204
py
Python
src/pyscripts/NamesDb/namesdb.py
paddybu/xsbs
3810eab4cd91d9a927ac724a4892763a5ff562a5
[ "BSD-3-Clause" ]
2
2020-07-02T21:50:43.000Z
2021-01-12T09:26:25.000Z
src/pyscripts/NamesDb/namesdb.py
greghaynes/xsbs
a14bd4c96733a8cf01a8a01200d22868b3335c4f
[ "BSD-3-Clause" ]
null
null
null
src/pyscripts/NamesDb/namesdb.py
greghaynes/xsbs
a14bd4c96733a8cf01a8a01200d22868b3335c4f
[ "BSD-3-Clause" ]
null
null
null
from sqlalchemy import Column, Integer, String, Boolean, ForeignKey from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm.exc import NoResultFound from xsbs.settings import PluginConfig from xsbs.events import registerServerEventHandler from xsbs.ui import error, info, insufficientPermissions from...
29.386667
134
0.760436
7980b95f6a107d58983ac7b4bc0b5ec2c999721b
301
py
Python
nicos_mlz/kws3/setups/config_selector.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
12
2019-11-06T15:40:36.000Z
2022-01-01T16:23:00.000Z
nicos_mlz/kws3/setups/config_selector.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
91
2020-08-18T09:20:26.000Z
2022-02-01T11:07:14.000Z
nicos_mlz/kws3/setups/config_selector.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
6
2020-01-11T10:52:30.000Z
2022-02-25T12:35:23.000Z
description = 'preset values for the velocity selector' group = 'configdata' SELECTOR_PRESETS = { '10A': dict(lam=10), '10.45A': dict(lam=10.45), '12A': dict(lam=12), '12.8A': dict(lam=12.8), '15A': dict(lam=15), '20A': dict(lam=20), '30A': dict(lam=30.14), }
23.153846
55
0.55814
7980b9899ef25d34a56b5187bca4256e58e9eb33
5,344
py
Python
demos/selective_dualarm_stowing/node_scripts/alex_proba_estimation.py
pazeshun/jsk_apc
0ff42000ad5992f8a31e719a5360a39cf4fa1fde
[ "BSD-3-Clause" ]
null
null
null
demos/selective_dualarm_stowing/node_scripts/alex_proba_estimation.py
pazeshun/jsk_apc
0ff42000ad5992f8a31e719a5360a39cf4fa1fde
[ "BSD-3-Clause" ]
2
2019-04-11T05:36:23.000Z
2019-08-19T12:58:10.000Z
demos/selective_dualarm_stowing/node_scripts/alex_proba_estimation.py
pazeshun/jsk_apc
0ff42000ad5992f8a31e719a5360a39cf4fa1fde
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from __future__ import absolute_import from __future__ import division from __future__ import print_function import chainer import chainer.functions as F import chainer.links as L import chainer.serializers as S from chainer import Variable import numpy as np import cv_bridge from jsk_recogniti...
37.111111
109
0.617515
7980ba08d504cc91af28d6d8c865c27124942c09
3,906
py
Python
util/test/tests/D3D12/D3D12_Shader_Debug_Zoo.py
BNieuwenhuizen/renderdoc
4ca0376420d471511f832b4385e96399eabbe803
[ "MIT" ]
20
2020-10-03T18:03:34.000Z
2021-01-15T02:53:29.000Z
util/test/tests/D3D12/D3D12_Shader_Debug_Zoo.py
kevin-mccullough/renderdoc
89af50a76c1cf98f800a6ff8ece5c31f3ff5504c
[ "MIT" ]
null
null
null
util/test/tests/D3D12/D3D12_Shader_Debug_Zoo.py
kevin-mccullough/renderdoc
89af50a76c1cf98f800a6ff8ece5c31f3ff5504c
[ "MIT" ]
5
2020-10-03T18:13:37.000Z
2021-01-15T02:53:35.000Z
import renderdoc as rd from typing import List import rdtest class D3D12_Shader_Debug_Zoo(rdtest.TestCase): demos_test_name = 'D3D12_Shader_Debug_Zoo' def check_capture(self): if not self.controller.GetAPIProperties().shaderDebugging: rdtest.log.success("Shader debugging not enabled, skip...
42.456522
139
0.598566
7980ba0fbea99040dfdcec81db749461d2c0982a
14,520
py
Python
app/lib/core/biu.py
txperl/PixivBiu
831cc0fc4875a946ed31315d1d0fdb3abc3bc31b
[ "MIT" ]
597
2020-02-21T11:57:31.000Z
2022-03-31T12:30:00.000Z
app/lib/core/biu.py
txperl/PixivBiu
831cc0fc4875a946ed31315d1d0fdb3abc3bc31b
[ "MIT" ]
31
2020-03-07T04:40:59.000Z
2022-03-17T09:10:47.000Z
app/lib/core/biu.py
txperl/PixivBiu
831cc0fc4875a946ed31315d1d0fdb3abc3bc31b
[ "MIT" ]
58
2020-02-23T20:56:12.000Z
2022-03-27T22:38:57.000Z
import json import os import platform import sys import threading import time from concurrent.futures import ThreadPoolExecutor import requests from pixivpy3 import * from altfe.interface.root import interRoot @interRoot.bind("biu", "LIB_CORE") class core_module_biu(interRoot): def __init__(self): self....
35.328467
115
0.493457
7980bb8521379b883779d1239cf5840ab190b624
436
py
Python
LeetCode/Apr 2021 Leetcoding Challenge/Minimum Swaps to Group All 1's Together.py
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
13
2021-09-02T07:30:02.000Z
2022-03-22T19:32:03.000Z
LeetCode/Apr 2021 Leetcoding Challenge/Minimum Swaps to Group All 1's Together.py
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
null
null
null
LeetCode/Apr 2021 Leetcoding Challenge/Minimum Swaps to Group All 1's Together.py
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
3
2021-08-24T16:06:22.000Z
2021-09-17T15:39:53.000Z
class Solution: def minSwaps(self, data: List[int]) -> int: subArraySize, currentOnes, maxOnes, left, right = sum(data), 0, 0, 0, 0 while right < len(data): currentOnes += data[right] right += 1 if right - left > subArraySize: currentOnes -= data[l...
39.636364
79
0.538991
7980bc96ba1186786228ba96945c131645848de2
379
py
Python
g/appengine/py/standard/signup/helpers/validator.py
chhschou/sandpit
d4a6760905b45b90455f10a5b50af3c5f743e445
[ "MIT" ]
null
null
null
g/appengine/py/standard/signup/helpers/validator.py
chhschou/sandpit
d4a6760905b45b90455f10a5b50af3c5f743e445
[ "MIT" ]
null
null
null
g/appengine/py/standard/signup/helpers/validator.py
chhschou/sandpit
d4a6760905b45b90455f10a5b50af3c5f743e445
[ "MIT" ]
null
null
null
import re def is_valid_username(un): return re.match('^[a-zA-Z0-9_-]{3,20}$', un) if un else False def is_valid_password(pw): if pw: return re.match('^.{3,20}$', pw) return False def is_match_password(pw, vpw): return (pw and (pw == vpw)) def is_valid_email(em): if not em: r...
15.791667
65
0.575198
7980bca29a17eb7c5ee8a877ace74f9f2d84e367
1,501
py
Python
src/drovirt/models/hypervisormanager.py
Storware/drovirt
4726b237e2f8940a652e2b773ace0742bb788192
[ "MIT" ]
22
2018-10-19T13:40:56.000Z
2021-05-11T08:39:37.000Z
src/drovirt/models/hypervisormanager.py
Storware/drovirt
4726b237e2f8940a652e2b773ace0742bb788192
[ "MIT" ]
12
2019-02-11T15:07:53.000Z
2019-02-11T15:21:33.000Z
src/drovirt/models/hypervisormanager.py
Storware/drovirt
4726b237e2f8940a652e2b773ace0742bb788192
[ "MIT" ]
7
2018-12-10T14:17:49.000Z
2022-02-03T23:43:51.000Z
import logging from sqlalchemy.sql import func from drovirt.models.base import db, SerializerMixin from drovirt.core.errors import UnsupportedHypervisorManagerAction import drovirt.core.vm as core_vm import drovirt.connectors.ovirt as ovirt logger = logging.getLogger(__name__) class HypervisorManager(SerializerMix...
39.5
106
0.707528
7980bcfd8b0fdfa88a00db42a8e10d2d020b2f3b
313
py
Python
multiplesof3and5.py
GirlGeekUpNorth/Project-Euler
b44ac348006f84bca29ea263fa11a2f857c2d30b
[ "MIT" ]
null
null
null
multiplesof3and5.py
GirlGeekUpNorth/Project-Euler
b44ac348006f84bca29ea263fa11a2f857c2d30b
[ "MIT" ]
null
null
null
multiplesof3and5.py
GirlGeekUpNorth/Project-Euler
b44ac348006f84bca29ea263fa11a2f857c2d30b
[ "MIT" ]
null
null
null
#If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. #The sum of these multiples is 23. #Find the sum of all the multiples of 3 or 5 below 1000. answer = 0 for i in range (1,1000): if i%3 == 0 or i%5 == 0: answer = answer + i else: continue print answer
24.076923
97
0.658147
7980bda9c07b653650651a1a46dd9ffbbd07c14c
10,478
py
Python
docs/conf.py
tu-graz-library/invenio-config-tugraz
16c10593d6d46c3a056b955f1be0621e3bf2c9fe
[ "MIT" ]
2
2021-04-26T09:42:02.000Z
2021-06-16T21:19:35.000Z
docs/conf.py
tu-graz-library/invenio-config-tugraz
16c10593d6d46c3a056b955f1be0621e3bf2c9fe
[ "MIT" ]
33
2020-10-27T09:54:19.000Z
2022-03-17T09:51:11.000Z
docs/conf.py
tu-graz-library/invenio-config-tugraz
16c10593d6d46c3a056b955f1be0621e3bf2c9fe
[ "MIT" ]
5
2020-12-04T08:27:28.000Z
2022-03-16T09:04:53.000Z
# -*- coding: utf-8 -*- # # Copyright (C) 2020 Mojib Wali. # # invenio-config-tugraz is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see LICENSE file for more # details. """Sphinx configuration.""" import os # import sphinx.environment # -- General configuration ----...
30.727273
99
0.691353
7980bdcc1813c021078a51d96c41af381ac9ea5d
3,579
py
Python
netbox/extras/tables.py
v0tti/netbox
a9a20bf7195ba41b353b7d9b2989b643fea78ffd
[ "Apache-2.0" ]
null
null
null
netbox/extras/tables.py
v0tti/netbox
a9a20bf7195ba41b353b7d9b2989b643fea78ffd
[ "Apache-2.0" ]
null
null
null
netbox/extras/tables.py
v0tti/netbox
a9a20bf7195ba41b353b7d9b2989b643fea78ffd
[ "Apache-2.0" ]
1
2020-09-16T11:31:25.000Z
2020-09-16T11:31:25.000Z
import django_tables2 as tables from utilities.tables import BaseTable, BooleanColumn, ButtonsColumn, ColorColumn, ToggleColumn from .models import ConfigContext, ObjectChange, Tag, TaggedItem TAGGED_ITEM = """ {% if value.get_absolute_url %} <a href="{{ value.get_absolute_url }}">{{ value }}</a> {% else %} {...
31.121739
161
0.652417
7980be0ea4dde4dc40f24cd8a25821c35c54cfef
3,308
py
Python
TimeWrapper_JE/venv/Lib/site-packages/pip/_internal/commands/uninstall.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
TimeWrapper_JE/venv/Lib/site-packages/pip/_internal/commands/uninstall.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
TimeWrapper_JE/venv/Lib/site-packages/pip/_internal/commands/uninstall.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
1
2021-06-20T19:28:37.000Z
2021-06-20T19:28:37.000Z
from optparse import Values from typing import List from pip._vendor.packaging.utils import canonicalize_name from pip._internal.cli.base_command import Command from pip._internal.cli.req_command import SessionCommandMixin, warn_if_run_as_root from pip._internal.cli.status_codes import SUCCESS from pip._inter...
35.569892
83
0.599758
7980be1b0ef16253076e17e312f615d05cb5ce58
2,074
py
Python
training/helpers/vggwide.py
ElHouas/cnn-deep-learning
cab4cf00288b3eadedd4d275b6150657ef4ecd7e
[ "MIT" ]
null
null
null
training/helpers/vggwide.py
ElHouas/cnn-deep-learning
cab4cf00288b3eadedd4d275b6150657ef4ecd7e
[ "MIT" ]
null
null
null
training/helpers/vggwide.py
ElHouas/cnn-deep-learning
cab4cf00288b3eadedd4d275b6150657ef4ecd7e
[ "MIT" ]
2
2020-10-20T14:48:01.000Z
2021-02-09T14:51:31.000Z
from keras.models import Model, Sequential from keras.layers import Flatten, Dense, Input, Conv2D, Dropout from keras.layers import MaxPooling2D, GlobalAveragePooling2D, GlobalMaxPooling2D from keras.layers.normalization import BatchNormalization from keras import regularizers from keras.constraints import maxnorm def...
49.380952
100
0.668756
7980be693851dd983973ccb928e569829249c084
207
py
Python
Source/Objects/Notification.py
Dmunch04/SquareIt
0379b208afa397b349c119f15e2611ec93f3bedb
[ "MIT" ]
1
2019-07-01T10:07:30.000Z
2019-07-01T10:07:30.000Z
Source/Objects/Notification.py
Dmunch04/SquareIt
0379b208afa397b349c119f15e2611ec93f3bedb
[ "MIT" ]
null
null
null
Source/Objects/Notification.py
Dmunch04/SquareIt
0379b208afa397b349c119f15e2611ec93f3bedb
[ "MIT" ]
null
null
null
class Notification: def __init__ (self, Text, Duration): self.Text = str (Text) self.Duration = int (Duration) def Decrease (self, _Value = 1): self.Duration -= int (_Value)
25.875
40
0.603865
7980bfb8ea4cd0c93cbac906c7a9248901114cc4
527
py
Python
Python/py-COSNaming-basic/client.py
egustafson/sandbox
9804e966347b33558b0497a04edb1a591d2d7773
[ "Apache-2.0" ]
2
2019-09-27T21:25:26.000Z
2019-12-29T11:26:54.000Z
Python/py-COSNaming-basic/client.py
egustafson/sandbox
9804e966347b33558b0497a04edb1a591d2d7773
[ "Apache-2.0" ]
7
2020-08-11T17:32:14.000Z
2020-08-11T17:32:39.000Z
Python/py-COSNaming-basic/client.py
egustafson/sandbox
9804e966347b33558b0497a04edb1a591d2d7773
[ "Apache-2.0" ]
2
2016-07-18T10:55:50.000Z
2020-08-19T01:46:08.000Z
#!/usr/bin/env python import sys from omniORB import CORBA import CosNaming servant_name = "examples/servant" # Example Client orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) nsobj = orb.resolve_initial_references("NameService") rootExt = nsobj._narrow(CosNaming.NamingContextExt) if rootExt is None: print "Fa...
17
63
0.755218
7980c0c80d60289ed3c5b1a3a28f78fa322b3fdd
6,835
py
Python
devel/glossary/BC_PerfectCrystal.py
91902078/XOPPY
3bd800e4059042c567abd979748491419a5aba3d
[ "BSD-2-Clause" ]
1
2018-08-26T05:10:50.000Z
2018-08-26T05:10:50.000Z
devel/glossary/BC_PerfectCrystal.py
91902078/XOPPY
3bd800e4059042c567abd979748491419a5aba3d
[ "BSD-2-Clause" ]
31
2018-06-25T21:17:23.000Z
2022-03-09T15:50:52.000Z
devel/glossary/BC_PerfectCrystal.py
91902078/XOPPY
3bd800e4059042c567abd979748491419a5aba3d
[ "BSD-2-Clause" ]
4
2019-04-05T07:52:07.000Z
2021-05-30T11:54:08.000Z
import sys from PyQt4.QtGui import QIntValidator, QDoubleValidator, QApplication, QSizePolicy from Orange.widgets import widget, gui from Orange.widgets.settings import Setting from Orange.data import Table, Domain, ContinuousVariable import numpy as np #try: # from ..tools.xoppy_calc import xoppy_doc #except Impor...
35.78534
417
0.55684
7980c1cc1493d75d8af3e2e85fc50cc812d4b12b
346
py
Python
omaha_server/crash/migrations/0009_auto_20141224_0550.py
makar21/omaha-server
b84cdf6e67d9106e7a86b447204de4f82397b019
[ "Apache-2.0" ]
8
2018-06-25T07:20:17.000Z
2021-02-07T20:01:04.000Z
omaha_server/crash/migrations/0009_auto_20141224_0550.py
makar21/omaha-server
b84cdf6e67d9106e7a86b447204de4f82397b019
[ "Apache-2.0" ]
8
2018-06-22T21:56:27.000Z
2020-06-25T15:22:56.000Z
omaha_server/crash/migrations/0009_auto_20141224_0550.py
dentalwings/omaha-server
3d8e18c8f4aac4eb16445c0f3160ed1fc2fc8de5
[ "Apache-2.0" ]
11
2019-01-22T01:36:42.000Z
2022-03-09T01:41:32.000Z
# -*- coding: utf-8 -*- from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('crash', '0008_auto_20141224_0542'), ] operations = [ migrations.RenameField( model_name='crash', old_name='user_id', new_name='...
17.3
45
0.554913
7980c21d22be3e02b7450ccc1eec3f0ec23b2805
2,116
py
Python
sphinxnotes/strike/__init__.py
sphinx-notes/strike
b1f1a80f8efa989a1376ab04e8449153e2df813d
[ "BSD-3-Clause" ]
3
2021-07-25T04:59:49.000Z
2022-01-10T15:11:38.000Z
sphinxnotes/strike/__init__.py
sphinx-notes/strike
b1f1a80f8efa989a1376ab04e8449153e2df813d
[ "BSD-3-Clause" ]
1
2022-03-31T18:33:55.000Z
2022-03-31T18:33:55.000Z
sphinxnotes/strike/__init__.py
sphinx-notes/strike
b1f1a80f8efa989a1376ab04e8449153e2df813d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ sphinxnotes.strike ~~~~~~~~~~~~~~~~~~ :copyright: Copyright 2021 Shengyu Zhang. :license: BSD, See LICENSE """ from __future__ import annotations from os import path from typing import TYPE_CHECKING, List, Dict, Tuple from docutils import nodes, utils if TYPE_CHECKING: ...
28.986301
81
0.703686
7980c24f8ed66e36c2c79c6dd5e9f5e025b0a458
1,750
py
Python
feature_engineering/annotators/stanford.py
IliassAymaz/Propaganda-detector-political-polarization
ada5e28179efe015ba351cdf1c8635522e6b339a
[ "MIT" ]
null
null
null
feature_engineering/annotators/stanford.py
IliassAymaz/Propaganda-detector-political-polarization
ada5e28179efe015ba351cdf1c8635522e6b339a
[ "MIT" ]
7
2019-11-23T11:48:54.000Z
2022-02-10T01:42:22.000Z
feature_engineering/annotators/stanford.py
IliassAymaz/Propaganda-detector-political-polarization
ada5e28179efe015ba351cdf1c8635522e6b339a
[ "MIT" ]
1
2019-11-23T11:46:08.000Z
2019-11-23T11:46:08.000Z
from stanfordcorenlp import StanfordCoreNLP import json import xml.etree.ElementTree as ET class StanfordAnnotator: def __init__(self, hostadress, pn): self.hostadress = hostadress self.pn = pn self.nlp = StanfordCoreNLP(hostadress, port=pn) #Sentiment values are ranging from 0-4 (Very...
39.772727
102
0.607429
7980c255e8b0b3ee12e459b69a2fcb3785be291b
105
py
Python
zalo/sdk/store/__init__.py
minhpn77/zalo-sdk
aab684a75568ba8d1dae5dd9a137f24da3123e62
[ "MIT" ]
12
2020-03-05T16:28:01.000Z
2022-03-17T08:35:23.000Z
zalo/sdk/store/__init__.py
minhpn77/zalo-sdk
aab684a75568ba8d1dae5dd9a137f24da3123e62
[ "MIT" ]
null
null
null
zalo/sdk/store/__init__.py
minhpn77/zalo-sdk
aab684a75568ba8d1dae5dd9a137f24da3123e62
[ "MIT" ]
6
2020-01-28T17:10:15.000Z
2022-02-01T10:43:18.000Z
from .ZaloStoreClient import ZaloStoreClient from .ZaloStoreOnbehalfClient import ZaloStoreOnbehalfClient
52.5
60
0.914286
7980c3341d46b1eff775f5afc5735022c3336cb1
4,972
py
Python
model/base_model.py
dieuthu/sequencetagging
66e31a5ab98cb7cff2cf0b8d089ad89a2202dd33
[ "Apache-2.0" ]
6
2019-05-23T15:35:44.000Z
2022-03-06T18:09:39.000Z
model/base_model.py
dieuthu/sequencetagging
66e31a5ab98cb7cff2cf0b8d089ad89a2202dd33
[ "Apache-2.0" ]
2
2019-09-19T09:28:59.000Z
2020-01-16T02:19:43.000Z
model/base_model.py
dieuthu/sequencetagging
66e31a5ab98cb7cff2cf0b8d089ad89a2202dd33
[ "Apache-2.0" ]
null
null
null
import os import tensorflow as tf class BaseModel(object): """Generic class for general methods that are not specific to NER""" def __init__(self, config): """Defines self.config and self.logger Args: config: (Config instance) class with hyper parameters, vocab an...
32.496732
79
0.570998
7980c36fda98ce9e82880b91f80fdbeb1ef75087
15,630
py
Python
table/experiment.py
niansong1996/wassp
c25255b41c8c69fe02c41780e4f3e7a8e96b0b89
[ "Apache-2.0" ]
13
2019-12-02T02:50:47.000Z
2021-03-30T14:58:26.000Z
table/experiment.py
niansong1996/wassp
c25255b41c8c69fe02c41780e4f3e7a8e96b0b89
[ "Apache-2.0" ]
6
2020-09-25T22:42:11.000Z
2022-02-09T23:43:53.000Z
table/experiment.py
niansong1996/wassp
c25255b41c8c69fe02c41780e4f3e7a8e96b0b89
[ "Apache-2.0" ]
null
null
null
#-*- coding: utf-8 -*- import json import time import os import codecs import multiprocessing import tensorflow as tf from nsm import data_utils from nsm import agent_factory from table.utils import get_flags, init_experiment, get_experiment_dir, get_init_model_path, show_samples, get_train_shard_path from table.uti...
36.690141
127
0.666603
7980c37b87fee970ab3dafbcf1a4973e5e30881c
360
py
Python
PythonExercicios/des019.py
leuosilveira/Exercicios-Python_Curso-em-Video
17793a5dde868dd6c9a34604ade4b68582db4563
[ "MIT" ]
null
null
null
PythonExercicios/des019.py
leuosilveira/Exercicios-Python_Curso-em-Video
17793a5dde868dd6c9a34604ade4b68582db4563
[ "MIT" ]
null
null
null
PythonExercicios/des019.py
leuosilveira/Exercicios-Python_Curso-em-Video
17793a5dde868dd6c9a34604ade4b68582db4563
[ "MIT" ]
null
null
null
from random import choice a1 = input('Digite o nome do 1º aluno: ') a2 = input('Digite o nome do 2º aluno: ') a3 = input('Digite o nome do 3º aluno: ') a4 = input('Digite o nome do 4º aluno: ') lista = [a1,a2,a3,a4] escolhido = choice(lista) print('O sorteio ocorrerá entre os alunos: {}'.format(lista)) print('O aluno(...
32.727273
61
0.683333
7980c3b6d5115f2b143ec5a85912c7f500bfb12d
2,998
py
Python
virtual_env/libs/mysql-connector/python2/examples/multi_resultsets.py
bopopescu/fantastico
7c95f244f0cf0239ac5408146612dd72f88d35ea
[ "MIT" ]
2
2016-12-18T02:42:25.000Z
2018-01-30T16:32:29.000Z
virtual_env/libs/mysql-connector/python2/examples/multi_resultsets.py
bopopescu/fantastico
7c95f244f0cf0239ac5408146612dd72f88d35ea
[ "MIT" ]
1
2020-07-28T07:16:35.000Z
2020-07-28T07:16:35.000Z
virtual_env/libs/mysql-connector/python2/examples/multi_resultsets.py
bopopescu/fantastico
7c95f244f0cf0239ac5408146612dd72f88d35ea
[ "MIT" ]
1
2020-07-24T05:55:28.000Z
2020-07-24T05:55:28.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # MySQL Connector/Python - MySQL driver written in Python. # Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. # MySQL Connector/Python is licensed under the terms of the GPLv2 # <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most...
31.557895
78
0.642095
7980c3cd12f9b1f653cd8000178c36ce9007a3a7
1,568
py
Python
samples/generated_samples/aiplatform_v1beta1_generated_job_service_resume_model_deployment_monitoring_job_async.py
sakagarwal/python-aiplatform
62b4a1ea589235910c6e87f027899a29bf1bacb1
[ "Apache-2.0" ]
1
2022-03-30T05:23:29.000Z
2022-03-30T05:23:29.000Z
samples/generated_samples/aiplatform_v1beta1_generated_job_service_resume_model_deployment_monitoring_job_async.py
sakagarwal/python-aiplatform
62b4a1ea589235910c6e87f027899a29bf1bacb1
[ "Apache-2.0" ]
null
null
null
samples/generated_samples/aiplatform_v1beta1_generated_job_service_resume_model_deployment_monitoring_job_async.py
sakagarwal/python-aiplatform
62b4a1ea589235910c6e87f027899a29bf1bacb1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
35.636364
90
0.788265
7980c3de446768d4a07f4a1f8d2db817f08bf1ae
3,716
py
Python
AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/ScriptCanvasAssetProcessorTests.py
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/ScriptCanvasAssetProcessorTests.py
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/ScriptCanvasAssetProcessorTests.py
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
""" Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. SPDX-License-Identifier: Apache-2.0 OR MIT General Asset Processor Batch Tests """ # Import builtin libraries import logging import pytest import os # Impor...
47.641026
211
0.764263
7980c50db58fb54eaa08f824a7ea03fc147fa725
761
py
Python
app/file/routes/download.py
SystemLight/T-fastapi
a1d50f8bdb403939b4d38cbf8113951ae54a0b17
[ "MIT" ]
null
null
null
app/file/routes/download.py
SystemLight/T-fastapi
a1d50f8bdb403939b4d38cbf8113951ae54a0b17
[ "MIT" ]
null
null
null
app/file/routes/download.py
SystemLight/T-fastapi
a1d50f8bdb403939b4d38cbf8113951ae54a0b17
[ "MIT" ]
null
null
null
from typing import Callable, Optional from fastapi import APIRouter, Depends, Query from starlette.responses import FileResponse from ..config import get_download router = APIRouter(prefix="/download") @router.get("/{download_key}", tags=["file-download"]) def download_file( download: Callable[[str], str] = De...
24.548387
97
0.712221
7980c674b14f335bf7baa5e4299ac4ccf1e40f7d
1,412
py
Python
python/take_attendance.py
timtyree/auto_attendance
9d6fc337afb6d802f9237af9215683be87a322a5
[ "MIT" ]
1
2020-08-26T04:53:01.000Z
2020-08-26T04:53:01.000Z
python/take_attendance.py
timtyree/auto_attendance
9d6fc337afb6d802f9237af9215683be87a322a5
[ "MIT" ]
null
null
null
python/take_attendance.py
timtyree/auto_attendance
9d6fc337afb6d802f9237af9215683be87a322a5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import pandas as pd import os import sys # sys.path.append('python/') from class_file_clerk import * # data_dir = f"{nb_dir}/../data/input/" data_dir = 'data' os.chdir(data_dir) assert(get_sections() is not None) assert(get_ta() is not None) print_state() my_sections = list(get_sections()['S...
30.695652
99
0.677762
7980c6e154f468949e093036c84d10a96a35dd6f
3,950
py
Python
models/networks/partialconv2d.py
dukebw/MichiGAN
3048e259dd2d368bb7a790a034e54d46f3da2a20
[ "MIT" ]
2
2020-11-19T10:44:03.000Z
2020-12-21T12:40:51.000Z
models/networks/partialconv2d.py
dukebw/MichiGAN
3048e259dd2d368bb7a790a034e54d46f3da2a20
[ "MIT" ]
null
null
null
models/networks/partialconv2d.py
dukebw/MichiGAN
3048e259dd2d368bb7a790a034e54d46f3da2a20
[ "MIT" ]
null
null
null
############################################################################### # BSD 3-Clause License # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Author & Contact: Guilin Liu (guilinl@nvidia.com) ############################################################################### import torch impo...
35.585586
89
0.504557
7980c74336757df41fd79fe786a94d87fa32ec2c
2,235
py
Python
file_resubmit/widgets.py
tangrambpm/django-file-resubmit
d8382557d38cea3c5775b18b67d26c2155bdb0e8
[ "Unlicense", "MIT" ]
49
2015-03-31T04:24:59.000Z
2022-01-07T22:11:01.000Z
file_resubmit/widgets.py
tangrambpm/django-file-resubmit
d8382557d38cea3c5775b18b67d26c2155bdb0e8
[ "Unlicense", "MIT" ]
22
2015-02-09T07:53:28.000Z
2020-07-16T15:32:38.000Z
file_resubmit/widgets.py
tangrambpm/django-file-resubmit
d8382557d38cea3c5775b18b67d26c2155bdb0e8
[ "Unlicense", "MIT" ]
33
2015-01-02T14:32:16.000Z
2022-03-19T08:27:18.000Z
# -*- coding: utf-8 -*- import os import uuid from django import forms from django.forms.widgets import FILE_INPUT_CONTRADICTION from django.conf import settings from django.forms import ClearableFileInput from django.utils.safestring import mark_safe from .cache import FileCache class ResubmitBaseWidget(ClearableFi...
31.478873
84
0.6434
7980c84e8e2bbbf3383b5aab0319f9b671856dda
358
py
Python
start.py
yipyip/Qurawl
2ce670d998ea56be312053248776413ac1ae6e92
[ "MIT" ]
2
2018-03-02T18:31:34.000Z
2019-02-10T14:25:28.000Z
start.py
yipyip/Qurawl
2ce670d998ea56be312053248776413ac1ae6e92
[ "MIT" ]
null
null
null
start.py
yipyip/Qurawl
2ce670d998ea56be312053248776413ac1ae6e92
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Qurawl Entry Point""" #### from __future__ import absolute_import from __future__ import unicode_literals import sys #### import qurawl.control as control #### def main(argv): config = control.CONFIG return control.main(config) #### if __name__ == '__ma...
13.259259
39
0.664804
7980ca11be23450f20dfdf5c3f81c3e00bb0d75e
1,746
py
Python
setup.py
OpenPermissions/identity-lib
fb606d3804e1f86b90253b25363bdfa8758ccf39
[ "Apache-2.0" ]
2
2016-05-03T20:13:01.000Z
2019-05-20T01:46:40.000Z
setup.py
OpenPermissions/identity-lib
fb606d3804e1f86b90253b25363bdfa8758ccf39
[ "Apache-2.0" ]
2
2016-05-05T13:08:01.000Z
2016-07-22T11:07:36.000Z
setup.py
OpenPermissions/identity-lib
fb606d3804e1f86b90253b25363bdfa8758ccf39
[ "Apache-2.0" ]
1
2019-05-20T01:46:27.000Z
2019-05-20T01:46:27.000Z
# -*- coding: utf-8 -*- # Copyright 2016 Open Permissions Platform Coalition # 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 app...
38.8
107
0.678694
7980ca70ccdd5d16c91ccdc2f873fd3542eac54e
49,929
py
Python
httplib2/__init__.py
gesomax/httplib2.async2
0e8d7c02952042823c787840df2a7a5234be3a1f
[ "Unlicense" ]
null
null
null
httplib2/__init__.py
gesomax/httplib2.async2
0e8d7c02952042823c787840df2a7a5234be3a1f
[ "Unlicense" ]
null
null
null
httplib2/__init__.py
gesomax/httplib2.async2
0e8d7c02952042823c787840df2a7a5234be3a1f
[ "Unlicense" ]
null
null
null
from __future__ import generators """ httplib2 A caching http interface that supports ETags and gzip to conserve bandwidth. Requires Python 2.3 or later Changelog: 2007-08-18, Rick: Modified so it's able to use a socks proxy if needed. """ __author__ = "Joe Gregorio (joe@bitworking.org)" __copyright__ = "Copyrigh...
42.420561
235
0.603777
7980cb07460f6774fa12144776ce2d16813b0eef
1,738
py
Python
OpenNMT/onmt/modules/GlobalAttention.py
ChunchuanLv/examples
0940311ee5dfa9a388e15cc2051a67f6620dfc3e
[ "BSD-3-Clause" ]
98
2017-03-08T03:04:19.000Z
2021-08-09T14:26:02.000Z
OpenNMT/onmt/modules/GlobalAttention.py
ChunchuanLv/examples
0940311ee5dfa9a388e15cc2051a67f6620dfc3e
[ "BSD-3-Clause" ]
null
null
null
OpenNMT/onmt/modules/GlobalAttention.py
ChunchuanLv/examples
0940311ee5dfa9a388e15cc2051a67f6620dfc3e
[ "BSD-3-Clause" ]
37
2017-04-12T01:38:04.000Z
2022-03-26T06:31:55.000Z
""" Global attention takes a matrix and a query vector. It then computes a parameterized convex combination of the matrix based on the input query. H_1 H_2 H_3 ... H_n q q q q | | | | \ | | / ..... \ | / ...
28.491803
79
0.556387
7980cb30a888a77d2b6d5e79b2b559ce156d9c1c
2,812
py
Python
Houdini_Transformer.py
joppevos/maya_to_houdini
2fafd256211164ed3b43d7a67f2a2fd0f257cc80
[ "MIT" ]
14
2018-11-22T11:17:56.000Z
2022-03-08T03:17:40.000Z
Houdini_Transformer.py
joppevos/Maya_to_Redshift
2fafd256211164ed3b43d7a67f2a2fd0f257cc80
[ "MIT" ]
null
null
null
Houdini_Transformer.py
joppevos/Maya_to_Redshift
2fafd256211164ed3b43d7a67f2a2fd0f257cc80
[ "MIT" ]
7
2018-12-11T04:50:42.000Z
2022-01-06T21:32:55.000Z
import hou import json import os def create_light(name): """ create lights in the scene""" sceneroot = hou.node('/obj/scene_fbx/') light = sceneroot.createNode('rslight', '{}'.format(name + '_H')) light.setParms({'light_type': 3}) return light, sceneroot def filepath(): """ ask for file path...
34.292683
109
0.650782
7980cbdb3f0402208adb11882fc5913db125be42
4,300
py
Python
packages/Python/lldbsuite/test/functionalities/exec/TestExec.py
nathawes/swift-lldb
3cbf7470e0f9191ec1fc1c69ce8048c1dc64ec77
[ "Apache-2.0" ]
2
2019-05-24T14:10:24.000Z
2019-05-24T14:27:38.000Z
packages/Python/lldbsuite/test/functionalities/exec/TestExec.py
enterstudio/swift-lldb
af85d636d230da2460f91938b1ff734b0fb64b42
[ "Apache-2.0" ]
null
null
null
packages/Python/lldbsuite/test/functionalities/exec/TestExec.py
enterstudio/swift-lldb
af85d636d230da2460f91938b1ff734b0fb64b42
[ "Apache-2.0" ]
null
null
null
""" Test some lldb command abbreviations. """ from __future__ import print_function import lldb import os import time from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class ExecTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True mydir = TestBa...
37.719298
152
0.634651
7980cc167ab911ec17ee38ef536b295a6bd1c14f
3,236
py
Python
s3_deploy/tests/test_prefixcovertree.py
codestardustco/s3-deploy-website
ad1276e86379e7c1d023203969abc56a92f57716
[ "MIT" ]
35
2016-09-23T15:56:07.000Z
2021-11-09T09:35:04.000Z
s3_deploy/tests/test_prefixcovertree.py
codestardustco/s3-deploy-website
ad1276e86379e7c1d023203969abc56a92f57716
[ "MIT" ]
13
2016-10-14T00:32:28.000Z
2020-10-02T20:01:04.000Z
s3_deploy/tests/test_prefixcovertree.py
codestardustco/s3-deploy-website
ad1276e86379e7c1d023203969abc56a92f57716
[ "MIT" ]
15
2016-10-28T12:01:58.000Z
2021-01-11T06:02:16.000Z
import unittest from s3_deploy.prefixcovertree import PrefixCoverTree class PrefixCoverTreeTest(unittest.TestCase): def test_iter(self): t = PrefixCoverTree() t.include('/index.html') t.exclude('/assets/favicon.ico') t.exclude('/assets/image1.png') t.include('/assets/im...
27.896552
57
0.556242
7980cd6b4da031307608dd1180063ae981f15f35
16,580
py
Python
docs/userguide/ch1_intro.py
steingabelgaard/reportlab
b9a537e8386fb4b4b80e9ec89e0cdf392dbd6f61
[ "BSD-3-Clause" ]
4
2019-08-13T09:54:55.000Z
2021-11-10T02:15:49.000Z
docs/userguide/ch1_intro.py
steingabelgaard/reportlab
b9a537e8386fb4b4b80e9ec89e0cdf392dbd6f61
[ "BSD-3-Clause" ]
1
2019-09-17T11:16:51.000Z
2019-09-19T11:13:53.000Z
docs/userguide/ch1_intro.py
steingabelgaard/reportlab
b9a537e8386fb4b4b80e9ec89e0cdf392dbd6f61
[ "BSD-3-Clause" ]
null
null
null
#Copyright ReportLab Europe Ltd. 2000-2017 #see license.txt for license details __version__ = '$Id$' from tools.docco.rl_doc_utils import * from reportlab.platypus.tableofcontents import TableOfContents import reportlab from reportlab.lib.utils import TimeStamp title("ReportLab PDF Library") title("User Guide") centre...
40.537897
240
0.759469
7980cdb075cdd027d216bf79d02e47e60ba1dad5
11,124
py
Python
lib/django-1.2/django/contrib/auth/tests/auth_backends.py
MiCHiLU/google_appengine_sdk
3da9f20d7e65e26c4938d2c4054bc4f39cbc5522
[ "Apache-2.0" ]
790
2015-01-03T02:13:39.000Z
2020-05-10T19:53:57.000Z
AppServer/lib/django-1.2/django/contrib/auth/tests/auth_backends.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
1,361
2015-01-08T23:09:40.000Z
2020-04-14T00:03:04.000Z
AppServer/lib/django-1.2/django/contrib/auth/tests/auth_backends.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
155
2015-01-08T22:59:31.000Z
2020-04-08T08:01:53.000Z
from django.conf import settings from django.contrib.auth.models import User, Group, Permission, AnonymousUser from django.contrib.contenttypes.models import ContentType from django.core.exceptions import ImproperlyConfigured from django.test import TestCase class BackendTest(TestCase): backend = 'django.contrib...
40.158845
109
0.674398
7980cdbf7d07256041599e025af1096cd55a24c0
35,473
py
Python
tests/unit/test_cloud_databases.py
rs-randallburt/pyrax
fb6eb55f8218cab7248d8f44f77148d254c5074c
[ "Apache-2.0" ]
null
null
null
tests/unit/test_cloud_databases.py
rs-randallburt/pyrax
fb6eb55f8218cab7248d8f44f77148d254c5074c
[ "Apache-2.0" ]
null
null
null
tests/unit/test_cloud_databases.py
rs-randallburt/pyrax
fb6eb55f8218cab7248d8f44f77148d254c5074c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import unittest from mock import patch from mock import MagicMock as Mock from pyrax.clouddatabases import CloudDatabaseBackupManager from pyrax.clouddatabases import CloudDatabaseDatabase from pyrax.clouddatabases import CloudDatabaseFlavor from pyrax.clouddatabases imp...
38.266451
83
0.634567
7980ce691f55bc27208613437e61712b37279d43
19,151
py
Python
Acquire/Client/_account.py
michellab/BioSimSpaceCloud
456b146a2131565e354352872d3e75a08c3652d1
[ "Apache-2.0" ]
2
2019-02-15T16:04:19.000Z
2019-02-19T15:42:27.000Z
Acquire/Client/_account.py
michellab/BioSimSpaceCloud
456b146a2131565e354352872d3e75a08c3652d1
[ "Apache-2.0" ]
null
null
null
Acquire/Client/_account.py
michellab/BioSimSpaceCloud
456b146a2131565e354352872d3e75a08c3652d1
[ "Apache-2.0" ]
null
null
null
import datetime as _datetime from Acquire.Crypto import PrivateKey as _PrivateKey from Acquire.Service import call_function as _call_function from Acquire.Service import Service as _Service from Acquire.Identity import Authorisation as _Authorisation from Acquire.Accounting import Transaction as _Transaction from ...
35.464815
79
0.621952
7980ce72e86c0b13622ff50663997b5206d36446
565
py
Python
selftest.nox.py
henryiii/setup-nox
6edc2fd970e89a9deb8067c9b2b96eff72757831
[ "MIT" ]
17
2019-10-16T09:38:01.000Z
2022-03-20T19:00:36.000Z
selftest.nox.py
henryiii/setup-nox
6edc2fd970e89a9deb8067c9b2b96eff72757831
[ "MIT" ]
303
2019-10-17T06:17:12.000Z
2022-03-27T23:01:08.000Z
selftest.nox.py
henryiii/setup-nox
6edc2fd970e89a9deb8067c9b2b96eff72757831
[ "MIT" ]
3
2020-04-08T13:25:16.000Z
2021-04-12T05:34:16.000Z
import nox import sys import os nox.options.error_on_missing_interpreters = True nox.options.error_on_external_run = True pythons = ['2.7', '3.5', '3.6', '3.7', '3.8', 'pypy2', 'pypy3'] if sys.platform != "win32" else ['2.7', '3.5', '3.6', '3.7', '3.8'] @nox.session(python=pythons) def tests(session): print(os.e...
24.565217
131
0.614159
7980ceffe52662f416cfd8d25a8a40bad98dd07e
9,205
py
Python
src/third_party/wiredtiger/test/suite/test_flcs03.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/wiredtiger/test/suite/test_flcs03.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/wiredtiger/test/suite/test_flcs03.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Public Domain 2014-present MongoDB, Inc. # Public Domain 2008-2014 WiredTiger, Inc. # # This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either in source code form or as a com...
43.625592
99
0.663009
7980cfb6f58d2a1ead9b92c9625ef307b000c2ec
1,140
py
Python
stdplugins/ping.py
aashiq075/PepeBot
5f40f4316c84ec3875bcbcd476e10448f9214f31
[ "Apache-2.0" ]
1
2020-08-09T11:43:20.000Z
2020-08-09T11:43:20.000Z
stdplugins/ping.py
aashiq075/PepeBot
5f40f4316c84ec3875bcbcd476e10448f9214f31
[ "Apache-2.0" ]
null
null
null
stdplugins/ping.py
aashiq075/PepeBot
5f40f4316c84ec3875bcbcd476e10448f9214f31
[ "Apache-2.0" ]
null
null
null
""" Command: .porn """ from datetime import datetime from uniborg.util import admin_cmd @borg.on(admin_cmd(pattern="porn ?(.*)", allow_sudo=True)) async def _(event): if event.fwd_from: return await event.delete() start = datetime.now() mone = await event.reply("⬛⬛⬛⬛⬛⬛⬛⬛⬛ \n⬛‎📶‎📶‎📶‎📶‎📶‎📶...
71.25
431
0.289474
7980cfdbb8edb407359418fd2382c1945de022a4
2,891
py
Python
metalprot/basic/vdmer_2ndshell.py
lonelu/Metalprot
e51bee472c975aa171bdb6ee426a07ca69f110ee
[ "MIT" ]
null
null
null
metalprot/basic/vdmer_2ndshell.py
lonelu/Metalprot
e51bee472c975aa171bdb6ee426a07ca69f110ee
[ "MIT" ]
null
null
null
metalprot/basic/vdmer_2ndshell.py
lonelu/Metalprot
e51bee472c975aa171bdb6ee426a07ca69f110ee
[ "MIT" ]
null
null
null
import prody as pr import numpy as np metal_sel = 'ion or name NI MN ZN CO CU MG FE' def organize_2ndshellVdm(query): ''' A query for 2nd shell can have different atom orders as an prody.atomGroup. The function is supposed to get the atomGroup of the query with the right atom order. ''' metal ...
35.256098
152
0.662055
7980d09eccbf8594b124f16eab4e2610cce3ae29
5,699
py
Python
espnet_pytorch_library/conformer/encoder_layer.py
Hiroshiba/espnet
fe0183b78b3495324e6769e340c3bd80f91e7f8e
[ "Apache-2.0" ]
1
2022-03-12T18:13:29.000Z
2022-03-12T18:13:29.000Z
espnet_pytorch_library/conformer/encoder_layer.py
Hiroshiba/espnet_pytorch_library
fe0183b78b3495324e6769e340c3bd80f91e7f8e
[ "Apache-2.0" ]
null
null
null
espnet_pytorch_library/conformer/encoder_layer.py
Hiroshiba/espnet_pytorch_library
fe0183b78b3495324e6769e340c3bd80f91e7f8e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2020 Johns Hopkins University (Shinji Watanabe) # Northwestern Polytechnical University (Pengcheng Guo) # Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """Encoder self-attention layer definition.""" import torch from torch import ...
36.06962
88
0.590279
7980d0f6a9710f1b504063e67911b5d016306cc6
13,920
py
Python
highlighter_base.py
Phidica/sublime-fish-shell-improved
98316d4332936f74babb51cb56161410ae9d6e2c
[ "MIT" ]
3
2017-08-01T01:13:57.000Z
2017-09-19T05:12:13.000Z
highlighter_base.py
Phidica/sublime-fish-shell-improved
98316d4332936f74babb51cb56161410ae9d6e2c
[ "MIT" ]
10
2017-08-01T09:26:52.000Z
2017-10-24T10:08:26.000Z
highlighter_base.py
Phidica/sublime-fish-shell-improved
98316d4332936f74babb51cb56161410ae9d6e2c
[ "MIT" ]
null
null
null
import os.path import logging import abc import re from fish.Tools.misc import getSetting import sublime, sublime_plugin class BaseHighlighter(metaclass = abc.ABCMeta): def __init__(self, view): self.drawnRegions = dict() self.nextKeyID = 0 if self.view.file_name() is None: self.baseName = 'unti...
37.723577
138
0.653448
7980d1a6a17351dea6d28ee3f063a4359b8b5671
6,741
py
Python
homeassistant/components/esphome/entry_data.py
mib1185/core
b17d4ac65cde9a27ff6032d70b148792e5eba8df
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/esphome/entry_data.py
mib1185/core
b17d4ac65cde9a27ff6032d70b148792e5eba8df
[ "Apache-2.0" ]
24,710
2016-04-13T08:27:26.000Z
2020-03-02T12:59:13.000Z
homeassistant/components/esphome/entry_data.py
mib1185/core
b17d4ac65cde9a27ff6032d70b148792e5eba8df
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Runtime entry data for ESPHome stored in hass.data.""" from __future__ import annotations import asyncio from collections.abc import Callable from dataclasses import dataclass, field from typing import Any, cast from aioesphomeapi import ( COMPONENT_TYPE_TO_INFO, APIClient, APIVersion, BinarySensor...
36.836066
88
0.667408
7980d720e1c9839839b2ac7aa6654693f04624d6
2,456
py
Python
devnagri-script-detection_test2.py
zeeshanbasar/devnagri-classifier
ccd0ba76e0b9c015c5c18e6d8d3d5e5c86900ee8
[ "MIT" ]
null
null
null
devnagri-script-detection_test2.py
zeeshanbasar/devnagri-classifier
ccd0ba76e0b9c015c5c18e6d8d3d5e5c86900ee8
[ "MIT" ]
null
null
null
devnagri-script-detection_test2.py
zeeshanbasar/devnagri-classifier
ccd0ba76e0b9c015c5c18e6d8d3d5e5c86900ee8
[ "MIT" ]
null
null
null
# basic imports import numpy as np #import matplotlib.pyplot as plt #import os #import cv2 import pickle import tensorflow as tf from tensorflow.keras.models import Sequential import tensorflow.keras.layers as tfl #from tensorflow.keras.callbacks import TensorBoard, LearningRateScheduler, EarlyStopping #impor...
30.7
94
0.686482
7980d81db300179672c156f1770d4b355c3e85e2
5,550
py
Python
heat_integrationtests/scenario/test_volumes.py
jasondunsmore/heat
6bd7352dc4838b8ef782f2345a4dfdf57ba3e356
[ "Apache-2.0" ]
1
2015-12-18T21:46:55.000Z
2015-12-18T21:46:55.000Z
heat_integrationtests/scenario/test_volumes.py
jasondunsmore/heat
6bd7352dc4838b8ef782f2345a4dfdf57ba3e356
[ "Apache-2.0" ]
null
null
null
heat_integrationtests/scenario/test_volumes.py
jasondunsmore/heat
6bd7352dc4838b8ef782f2345a4dfdf57ba3e356
[ "Apache-2.0" ]
1
2021-03-21T11:37:03.000Z
2021-03-21T11:37:03.000Z
# 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...
42.692308
78
0.665586
7980d88fead95e48768b88011be88e8b31d5f2ce
1,510
py
Python
var/spack/repos/builtin/packages/iozone/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
11
2015-10-04T02:17:46.000Z
2018-02-07T18:23:00.000Z
var/spack/repos/builtin/packages/iozone/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
22
2017-08-01T22:45:10.000Z
2022-03-10T07:46:31.000Z
var/spack/repos/builtin/packages/iozone/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
4
2016-06-10T17:57:39.000Z
2018-09-11T04:59:38.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os from spack import * class Iozone(MakefilePackage): """IOzone is a filesystem benchmark tool. The benchmar...
35.116279
95
0.674172
7980d8b61f361cccbe7f4d247698620bc399b7da
956
py
Python
python/2985_ThreeNumber.py
anothel/BOJ
cfc693322e609d319aaa8705d4375d098c034b76
[ "MIT" ]
null
null
null
python/2985_ThreeNumber.py
anothel/BOJ
cfc693322e609d319aaa8705d4375d098c034b76
[ "MIT" ]
null
null
null
python/2985_ThreeNumber.py
anothel/BOJ
cfc693322e609d319aaa8705d4375d098c034b76
[ "MIT" ]
null
null
null
from sys import stdin, stdout def main(): nums: list = list(map(int, stdin.readline().rstrip().split())) if nums[0] + nums[1] == nums[2]: stdout.write(str("%d+%d=%d" % (nums[0], nums[1], nums[2]))) elif nums[0] - nums[1] == nums[2]: stdout.write(str("%d-%d=%d" % (nums[0], nums[1], nums[2]))) elif num...
35.407407
64
0.524059
7980d90841699605005a8dffeb14e82fd654847f
12,392
py
Python
apprise/plugins/NotifySlack.py
slaveuser/apprise20190228
949485b63072be3a5c9d6d6f41cb4a642c09f3ca
[ "MIT" ]
null
null
null
apprise/plugins/NotifySlack.py
slaveuser/apprise20190228
949485b63072be3a5c9d6d6f41cb4a642c09f3ca
[ "MIT" ]
null
null
null
apprise/plugins/NotifySlack.py
slaveuser/apprise20190228
949485b63072be3a5c9d6d6f41cb4a642c09f3ca
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2019 Chris Caron <lead2gold@gmail.com> # All rights reserved. # # This code is licensed under the MIT License. # # 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 th...
33.950685
79
0.54858
7980d99a95b71adb06282d2aa37f641298bd1996
80
py
Python
middle-two-digits.py
Omi0604/DCU-Einstein-
b35e2657b8e27904035e881021c9bdf9e51675bb
[ "MIT" ]
null
null
null
middle-two-digits.py
Omi0604/DCU-Einstein-
b35e2657b8e27904035e881021c9bdf9e51675bb
[ "MIT" ]
null
null
null
middle-two-digits.py
Omi0604/DCU-Einstein-
b35e2657b8e27904035e881021c9bdf9e51675bb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 n = int(input()) total = n % 10000 print(total // 100)
11.428571
22
0.6125
7980da225fa6c8c75f3f4e84a1c75643e802b1ca
1,856
py
Python
Discord Bots/Meme6-BOT/cogs/youtube.py
LUNA761/Code-Archive
c455ca1b4faa230fbbd86c4222c1589ddb0df964
[ "MIT" ]
1
2021-10-04T08:30:04.000Z
2021-10-04T08:30:04.000Z
Discord Bots/Meme6-BOT/cogs/youtube.py
LUNA761/Code-Archive
c455ca1b4faa230fbbd86c4222c1589ddb0df964
[ "MIT" ]
null
null
null
Discord Bots/Meme6-BOT/cogs/youtube.py
LUNA761/Code-Archive
c455ca1b4faa230fbbd86c4222c1589ddb0df964
[ "MIT" ]
2
2022-01-06T19:07:19.000Z
2022-01-07T14:52:15.000Z
import discord, time, os, praw, random, json, urllib from discord.ext import commands, tasks from discord.ext.commands import has_permissions, MissingPermissions from discord.utils import get from itertools import cycle import datetime as dt from datetime import datetime embeddata = {} embeddata["icon"] = "http://luna...
40.347826
141
0.677802
7980db9e35d200b494c0231b5693d472aa07eab7
3,332
py
Python
iam/foundation/migrations/0001_initial.py
LuchaComics/comicscantina-iam
28db4b38bcdebd8147ad0d34203ce5faad702d2a
[ "BSD-3-Clause" ]
1
2021-01-02T07:52:59.000Z
2021-01-02T07:52:59.000Z
iam/foundation/migrations/0001_initial.py
LuchaComics/comicscantina-iam
28db4b38bcdebd8147ad0d34203ce5faad702d2a
[ "BSD-3-Clause" ]
1
2020-06-05T18:24:09.000Z
2020-06-05T18:24:09.000Z
iam/foundation/migrations/0001_initial.py
LuchaComics/comicscantina-iam
28db4b38bcdebd8147ad0d34203ce5faad702d2a
[ "BSD-3-Clause" ]
1
2019-03-08T18:24:23.000Z
2019-03-08T18:24:23.000Z
# Generated by Django 2.0.6 on 2018-06-08 18:09 from django.db import migrations, models import foundation.models.shared_user import starterkit.utils class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] operations = [ ...
69.416667
273
0.670168
7980dc23e8e241305b2e9037af35706bc20fc8de
2,476
py
Python
services/tests/runtests.py
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
services/tests/runtests.py
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
services/tests/runtests.py
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright (C) 2016 The Android Open Source Project # # 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 requ...
31.341772
80
0.655897
7980de2561a8278eadb43afd183aeaf760911a92
2,957
py
Python
ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py
kennyballou/ambari
8985bcf11296d540a861a8634c17d6b9b1accd5a
[ "Apache-2.0" ]
null
null
null
ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py
kennyballou/ambari
8985bcf11296d540a861a8634c17d6b9b1accd5a
[ "Apache-2.0" ]
null
null
null
ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py
kennyballou/ambari
8985bcf11296d540a861a8634c17d6b9b1accd5a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License");...
38.402597
92
0.702063
7980df69156d1182bf842262d6047ecb6c4838ea
2,216
py
Python
tasks.py
Digital-Prophets/dj-beneficiary
be82f7fe0f3e7644a93095cdf95bb0acbd271e7f
[ "MIT" ]
null
null
null
tasks.py
Digital-Prophets/dj-beneficiary
be82f7fe0f3e7644a93095cdf95bb0acbd271e7f
[ "MIT" ]
2
2021-12-29T09:15:07.000Z
2021-12-29T22:58:36.000Z
tasks.py
Digital-Prophets/dj-beneficiary
be82f7fe0f3e7644a93095cdf95bb0acbd271e7f
[ "MIT" ]
1
2021-12-29T08:29:36.000Z
2021-12-29T08:29:36.000Z
import os import webbrowser from invoke import task def open_browser(path): try: from urllib import pathname2url except: from urllib.request import pathname2url webbrowser.open("file://" + pathname2url(os.path.abspath(path))) @task def clean_build(c): """ Remove build artifacts ...
20.145455
104
0.603339
7980e050dbc8a8522145581588735e3e50ed9335
8,308
py
Python
tests/blackbox/rules/test_bb_rules.py
airencracken/waflz
00eef42258dd98d0cbc71102061e4951f456803f
[ "Apache-2.0" ]
null
null
null
tests/blackbox/rules/test_bb_rules.py
airencracken/waflz
00eef42258dd98d0cbc71102061e4951f456803f
[ "Apache-2.0" ]
null
null
null
tests/blackbox/rules/test_bb_rules.py
airencracken/waflz
00eef42258dd98d0cbc71102061e4951f456803f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 '''Test WAF Access settings''' #TODO: make so waflz_server only runs once and then can post to it # ------------------------------------------------------------------------------ # Imports # ------------------------------------------------------------------------------ import pytest import subpro...
45.648352
126
0.428382
7980e12b121428749f966bff6b7e5ebf89feeaf2
7,193
py
Python
vehicle_count.py
deepanshug4/Vechile_Classification_with_NumberPlate_Detection
5d144b556499cf28ed6c7f17f707b684619809d7
[ "MIT" ]
1
2022-03-16T19:55:11.000Z
2022-03-16T19:55:11.000Z
vehicle_count.py
deepanshug4/Vehicle_Classification_with_NumberPlate_Detection
5d144b556499cf28ed6c7f17f707b684619809d7
[ "MIT" ]
null
null
null
vehicle_count.py
deepanshug4/Vehicle_Classification_with_NumberPlate_Detection
5d144b556499cf28ed6c7f17f707b684619809d7
[ "MIT" ]
null
null
null
# TechVidvan Vehicle counting and Classification # Import necessary packages import cv2 import csv import collections import numpy as np from tracker import * # Initialize Tracker tracker = EuclideanDistTracker() # Initialize the videocapture object cap = cv2.VideoCapture('Assets/video.mp4') input_si...
34.748792
160
0.621855
7980e18ce5dd68ffcc412a0bdccfd2a0374040c2
87
py
Python
Curso-em-video-Python/PycharmProjects/pythonTest/Aula08Aa - random.py
sartinicj/curso-em-video-python
8cb4ca05a88351c44aa4a7befc59c9596a50f268
[ "MIT" ]
null
null
null
Curso-em-video-Python/PycharmProjects/pythonTest/Aula08Aa - random.py
sartinicj/curso-em-video-python
8cb4ca05a88351c44aa4a7befc59c9596a50f268
[ "MIT" ]
null
null
null
Curso-em-video-Python/PycharmProjects/pythonTest/Aula08Aa - random.py
sartinicj/curso-em-video-python
8cb4ca05a88351c44aa4a7befc59c9596a50f268
[ "MIT" ]
null
null
null
import random num = random.random() print(num) num1 = random.randint(1, 10) print(num1)
17.4
28
0.735632
7980e5c7eff744b5e829c01d3152392bd99ce930
2,999
py
Python
src/streamlink/plugins/nrk.py
melmorabity/streamlink
24c59a23103922977991acc28741a323d8efa7a1
[ "BSD-2-Clause" ]
4
2020-10-17T06:35:39.000Z
2021-05-14T20:00:01.000Z
src/streamlink/plugins/nrk.py
TheDrHax/streamlink
4dfd0d516fd8484438389518985e3b5131b7a253
[ "BSD-2-Clause" ]
null
null
null
src/streamlink/plugins/nrk.py
TheDrHax/streamlink
4dfd0d516fd8484438389518985e3b5131b7a253
[ "BSD-2-Clause" ]
null
null
null
import logging import re from urllib.parse import urljoin from streamlink.plugin import Plugin, pluginmatcher from streamlink.plugin.api import validate from streamlink.stream import HLSStream, HTTPStream log = logging.getLogger(__name__) @pluginmatcher(re.compile( r"https?://(?:tv|radio)\.nrk\.no/(program|dire...
31.239583
98
0.553184
7980e89b463f311505b29abe9570fcd05c885981
8,988
py
Python
pehmolelubot.py
nikosavola/PehmoleluBot
aa003a1e9fbe177ae90ab1ed0a5c96740eb15f58
[ "MIT" ]
null
null
null
pehmolelubot.py
nikosavola/PehmoleluBot
aa003a1e9fbe177ae90ab1ed0a5c96740eb15f58
[ "MIT" ]
null
null
null
pehmolelubot.py
nikosavola/PehmoleluBot
aa003a1e9fbe177ae90ab1ed0a5c96740eb15f58
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from telegram.ext import Updater, MessageHandler, CommandHandler, Filters import os import subprocess import logging import random import numpy import datetime import time import atexit logging.basicConfig( filename='spam.log', level=logging.INFO, format='[%(asctime)s] [%(levelname)...
36.096386
95
0.666222