hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
d1010b9ee7ff4151215a648eb88588c6174fb854
2,495
py
Python
server/external/youtube-dl/youtube_dl/extractor/promptfile.py
yycc179/urlp
d272b74c4aed18f03ccada8817ecf5c572a1bf71
[ "MIT" ]
null
null
null
server/external/youtube-dl/youtube_dl/extractor/promptfile.py
yycc179/urlp
d272b74c4aed18f03ccada8817ecf5c572a1bf71
[ "MIT" ]
null
null
null
server/external/youtube-dl/youtube_dl/extractor/promptfile.py
yycc179/urlp
d272b74c4aed18f03ccada8817ecf5c572a1bf71
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import unicode_literals import re from .common import InfoExtractor from ..utils import ( determine_ext, ExtractorError, urlencode_postdata, )
35.140845
101
0.515832
d10113d3430723c74844cb610a13bb918fa54c11
46
py
Python
bunruija/modules/__init__.py
tma15/bunruija
64a5c993a06e9de75f8f382cc4b817f91965223f
[ "MIT" ]
4
2020-12-22T11:12:35.000Z
2021-12-15T13:30:02.000Z
bunruija/modules/__init__.py
tma15/bunruija
64a5c993a06e9de75f8f382cc4b817f91965223f
[ "MIT" ]
4
2021-01-16T07:34:22.000Z
2021-08-14T06:56:07.000Z
bunruija/modules/__init__.py
tma15/bunruija
64a5c993a06e9de75f8f382cc4b817f91965223f
[ "MIT" ]
null
null
null
from .static_embedding import StaticEmbedding
23
45
0.891304
d103d48eee96afdf2e4285944634993cf755898d
23,504
py
Python
RPiAntDrv.py
N7IFC/RPi_Antenna_Driver
57cf57b6093f893b7e47fda64d721ec77234b032
[ "MIT" ]
null
null
null
RPiAntDrv.py
N7IFC/RPi_Antenna_Driver
57cf57b6093f893b7e47fda64d721ec77234b032
[ "MIT" ]
1
2020-05-20T12:35:51.000Z
2020-05-20T12:35:51.000Z
RPiAntDrv.py
N7IFC/RPi_Antenna_Driver
57cf57b6093f893b7e47fda64d721ec77234b032
[ "MIT" ]
null
null
null
#! /usr/bin/python3 ################################################################## # # Raspberry Pi Antenna Driver (RPiAntDrv.py) # # Python GUI script to control H-Bridge via RPi. # H-Bridge drives single DC motor tuned antenna. # # Name Call Date(s) # Authors: Bill Peterson N7IFC Mar-May202...
47.967347
96
0.551481
d104b69824ddd7c1f8640b233b546c4955e4df9d
4,021
py
Python
extensions/customer_action.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
null
null
null
extensions/customer_action.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
1
2019-07-03T13:32:38.000Z
2019-07-03T13:32:38.000Z
extensions/customer_action.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
1
2019-05-15T16:01:31.000Z
2019-05-15T16:01:31.000Z
#! /usr/bin/python # Copyright (C) 2006 Dr. Ralf Schlatterbeck Open Source Consulting. # Reichergasse 131, A-3411 Weidling. # Web: http://www.runtux.com Email: office@runtux.com # All rights reserved # **************************************************************************** # This program is free software; you can ...
38.663462
79
0.605073
d104ca6c9b0546b1e6e69454841d4fb7d4af63b5
7,018
py
Python
layouts/window_profile.py
TkfleBR/PyManager
d57f6cced4932d03b51902cbcf4d9b217c67bd3c
[ "MIT" ]
null
null
null
layouts/window_profile.py
TkfleBR/PyManager
d57f6cced4932d03b51902cbcf4d9b217c67bd3c
[ "MIT" ]
null
null
null
layouts/window_profile.py
TkfleBR/PyManager
d57f6cced4932d03b51902cbcf4d9b217c67bd3c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'window_profile.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QMainWindow
53.572519
78
0.708891
d105481f869074fc1ccad9921caae59fba74e538
1,816
py
Python
tests/test_inheritance_and_pydantic_generation/test_validators_in_generated_pydantic.py
ivangirko/ormar
1f5d993716da0da83874cbdfd5b44dbf7af1b9c5
[ "MIT" ]
905
2020-08-31T19:13:34.000Z
2022-03-31T08:38:10.000Z
tests/test_inheritance_and_pydantic_generation/test_validators_in_generated_pydantic.py
ivangirko/ormar
1f5d993716da0da83874cbdfd5b44dbf7af1b9c5
[ "MIT" ]
359
2020-08-28T14:14:54.000Z
2022-03-29T07:40:32.000Z
tests/test_inheritance_and_pydantic_generation/test_validators_in_generated_pydantic.py
ivangirko/ormar
1f5d993716da0da83874cbdfd5b44dbf7af1b9c5
[ "MIT" ]
56
2020-10-26T02:22:14.000Z
2022-03-20T06:41:31.000Z
import enum import databases import pydantic import pytest import sqlalchemy from pydantic import ValidationError import ormar from tests.settings import DATABASE_URL metadata = sqlalchemy.MetaData() database = databases.Database(DATABASE_URL) ModelExampleCreate = ModelExample.get_pydantic(exclude={"id"})
26.705882
78
0.698789
d105fd819be01d37eabcfc76984d50eb4c0e68fb
20,654
py
Python
tests/unit/test_searchtools.py
canonical/hotsos
1960e80a3f7529045c44798b0d3ac27d75036562
[ "Apache-2.0" ]
6
2021-10-01T19:46:14.000Z
2022-03-31T17:05:08.000Z
tests/unit/test_searchtools.py
canonical/hotsos
1960e80a3f7529045c44798b0d3ac27d75036562
[ "Apache-2.0" ]
111
2021-10-01T18:18:17.000Z
2022-03-29T12:23:20.000Z
tests/unit/test_searchtools.py
canonical/hotsos
1960e80a3f7529045c44798b0d3ac27d75036562
[ "Apache-2.0" ]
10
2021-09-29T14:47:54.000Z
2022-03-18T14:52:16.000Z
import glob import os import tempfile from unittest import mock from . import utils from hotsos.core.config import setup_config, HotSOSConfig from hotsos.core.searchtools import ( FileSearcher, FilterDef, SearchDef, SearchResult, SequenceSearchDef, ) FILTER_TEST_1 = """blah blah ERROR blah blah ...
39.56705
79
0.534812
d1067d667a8681b9e02f92cf39cbd928fbd8b767
896
py
Python
setup.py
KimWiese/bqtools
f874834167dddaae9da7dd5a8564d80a479d59ac
[ "MIT" ]
null
null
null
setup.py
KimWiese/bqtools
f874834167dddaae9da7dd5a8564d80a479d59ac
[ "MIT" ]
null
null
null
setup.py
KimWiese/bqtools
f874834167dddaae9da7dd5a8564d80a479d59ac
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages VERSION = '0.5.0' with open('README.md', 'r') as f: LONG_DESCRIPTION = f.read() with open('requirements.txt') as f: DEPENDENCIES = f.read().split('\n') setup( name = 'bqtools', version = VERSION, description = 'Python Tools for BigQuery', long_desc...
28.903226
52
0.639509
d10682fb60ec99068c4dbd7e5b8bac0fee1bcbce
32
py
Python
dag_executor/Executor/__init__.py
GennadiiTurutin/dag_executor
ddc7eab1e0e98753309e245247ac00e465e52ec1
[ "MIT" ]
null
null
null
dag_executor/Executor/__init__.py
GennadiiTurutin/dag_executor
ddc7eab1e0e98753309e245247ac00e465e52ec1
[ "MIT" ]
null
null
null
dag_executor/Executor/__init__.py
GennadiiTurutin/dag_executor
ddc7eab1e0e98753309e245247ac00e465e52ec1
[ "MIT" ]
null
null
null
from .executor import Executor
16
31
0.8125
d106a8e65c56d421953b12f1ee56992d0d42670b
2,546
py
Python
tests/create_test_db.py
TargetProcess/duro
3e70c17aed3d6d8714c94f0dfda539969d22157a
[ "MIT" ]
4
2020-01-31T13:54:51.000Z
2020-04-17T15:53:02.000Z
tests/create_test_db.py
TargetProcess/duro
3e70c17aed3d6d8714c94f0dfda539969d22157a
[ "MIT" ]
null
null
null
tests/create_test_db.py
TargetProcess/duro
3e70c17aed3d6d8714c94f0dfda539969d22157a
[ "MIT" ]
1
2020-04-14T12:32:08.000Z
2020-04-14T12:32:08.000Z
import sqlite3 ddl = """ create table commits ( hash text, processed integer ); create table tables ( table_name text, query text, interval integer, config text, last_created integer, mean real, times_run integer, force integer, started integer, deleted integer, wai...
27.376344
122
0.689709
d106bcbb2782ae3b631b100e3fcc2d409f55aa2d
6,534
py
Python
dti_classification_pytorch.py
fyrdahl/ISMRM2018_Educational_DeepLearning
8bd3fa4a6828e0bb3a9832a9ec90ab5a99836f52
[ "MIT" ]
17
2018-06-16T09:06:18.000Z
2022-03-11T16:20:03.000Z
dti_classification_pytorch.py
fyrdahl/ISMRM2018_Educational_DeepLearning
8bd3fa4a6828e0bb3a9832a9ec90ab5a99836f52
[ "MIT" ]
null
null
null
dti_classification_pytorch.py
fyrdahl/ISMRM2018_Educational_DeepLearning
8bd3fa4a6828e0bb3a9832a9ec90ab5a99836f52
[ "MIT" ]
8
2018-06-16T09:12:43.000Z
2020-12-17T02:54:16.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ DTI classification demo ISMRM 2018 Created in May 2018 for ISMRM educational "How to Jump-Start Your Deep Learning Research" Educational course Deep Learning: Everything You Want to Know, Saturday, June 16th 2018 Joint Annual meeting of ISMRM and ESMRMB, Paris, France...
31.873171
197
0.716406
d108c51bdb007cb0e84b86a435237fb3a1b224b6
30,044
py
Python
dasem/wikipedia.py
eaksnes/dasem
d8d1c5e68aedf758aee1ba83da063f1e0952c21d
[ "Apache-2.0" ]
18
2017-03-28T15:36:49.000Z
2021-11-02T12:09:17.000Z
dasem/wikipedia.py
eaksnes/dasem
d8d1c5e68aedf758aee1ba83da063f1e0952c21d
[ "Apache-2.0" ]
9
2017-02-17T12:58:23.000Z
2021-02-14T14:04:17.000Z
dasem/wikipedia.py
eaksnes/dasem
d8d1c5e68aedf758aee1ba83da063f1e0952c21d
[ "Apache-2.0" ]
2
2018-10-04T09:29:12.000Z
2019-08-15T10:04:55.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """Wikipedia interface. Usage: dasem.wikipedia category-graph | count-category-pages dasem.wikipedia count-pages | count-pages-per-user dasem.wikipedia article-link-graph [options] dasem.wikipedia download [options] dasem.wikipedia get-all-article-sentences das...
28.972035
79
0.580748
d109fc9aa0086799eb6cc991bb49a126a301ba91
794
py
Python
ViceVersus/users/migrations/0001_initial.py
ViceVersusMe/ViceVersus
1f814f8a8c3ee0c156ebf400f4dac87c19d7747a
[ "MIT" ]
null
null
null
ViceVersus/users/migrations/0001_initial.py
ViceVersusMe/ViceVersus
1f814f8a8c3ee0c156ebf400f4dac87c19d7747a
[ "MIT" ]
null
null
null
ViceVersus/users/migrations/0001_initial.py
ViceVersusMe/ViceVersus
1f814f8a8c3ee0c156ebf400f4dac87c19d7747a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models
33.083333
133
0.584383
d10a3d88aef5a6ce7c6db2138dda46ee0331ecd1
10,992
py
Python
VideoEncoding/Encoding_H264_OverlayImage/encoding-h264-overlayimage.py
IngridAtMicrosoft/media-services-v3-python
2eb43f502cd8637961869faf8d0c365ffa1680d2
[ "MIT" ]
null
null
null
VideoEncoding/Encoding_H264_OverlayImage/encoding-h264-overlayimage.py
IngridAtMicrosoft/media-services-v3-python
2eb43f502cd8637961869faf8d0c365ffa1680d2
[ "MIT" ]
null
null
null
VideoEncoding/Encoding_H264_OverlayImage/encoding-h264-overlayimage.py
IngridAtMicrosoft/media-services-v3-python
2eb43f502cd8637961869faf8d0c365ffa1680d2
[ "MIT" ]
null
null
null
from datetime import timedelta from dotenv import load_dotenv from azure.identity import DefaultAzureCredential from azure.mgmt.media import AzureMediaServices from azure.storage.blob import BlobServiceClient from azure.mgmt.media.models import ( Asset, Transform, TransformOutput, StandardEncoderPreset, AacAu...
40.411765
170
0.744269
d10a8191767d3047473533170660c6af542ccdde
3,858
py
Python
fixture/project.py
shark-x/py_mantis_traning
d0e262f3833bd8ba570f6ca66f66f44279eac4e6
[ "Apache-2.0" ]
null
null
null
fixture/project.py
shark-x/py_mantis_traning
d0e262f3833bd8ba570f6ca66f66f44279eac4e6
[ "Apache-2.0" ]
null
null
null
fixture/project.py
shark-x/py_mantis_traning
d0e262f3833bd8ba570f6ca66f66f44279eac4e6
[ "Apache-2.0" ]
null
null
null
from model.project import Project import random import string
39.367347
87
0.634266
d10c10ebac6b3f7660217ed74c5259e0bf35c57f
555
py
Python
PropertyBazaar/urls.py
rudolphalmeida/PropertyBazaarAPI
bada589e415817b6b4e36a656adae9b70d047884
[ "MIT" ]
null
null
null
PropertyBazaar/urls.py
rudolphalmeida/PropertyBazaarAPI
bada589e415817b6b4e36a656adae9b70d047884
[ "MIT" ]
1
2021-06-10T23:19:37.000Z
2021-06-10T23:19:37.000Z
PropertyBazaar/urls.py
rudolphalmeida/PropertyBazaarAPI
bada589e415817b6b4e36a656adae9b70d047884
[ "MIT" ]
1
2018-12-22T16:43:52.000Z
2018-12-22T16:43:52.000Z
from django.conf.urls import url from PropertyBazaar.views import PropertyList, PropertyDetail, UserDetail, UserList from rest_framework.urlpatterns import format_suffix_patterns urlpatterns = [ url(r'^property/$', PropertyList.as_view(), name='property-list'), url(r'^property/(?P<pk>[0-9]+)/$', PropertyDetai...
42.692308
89
0.724324
d10c14d2ae3b5ea7f31dec6255423208caac1f0c
1,339
py
Python
cdedup/testsum.py
salotz/boar
c3022a65217e5befe37100a71632e6540e74992e
[ "Apache-2.0" ]
2
2020-03-31T17:44:31.000Z
2020-08-21T07:33:15.000Z
cdedup/testsum.py
salotz/boar
c3022a65217e5befe37100a71632e6540e74992e
[ "Apache-2.0" ]
null
null
null
cdedup/testsum.py
salotz/boar
c3022a65217e5befe37100a71632e6540e74992e
[ "Apache-2.0" ]
1
2020-08-21T07:33:39.000Z
2020-08-21T07:33:39.000Z
from __future__ import print_function # Copyright 2010 Mats Ekberg # # 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 appl...
32.658537
92
0.74832
d10c91aeb1ebbaeec21b56fc9e92b2459863b1e8
160
py
Python
app/models/forms.py
raimota/Gerador-Validador-CPF_CNPJ
e2af5ec35995b63b4bb739af92e9532563d9ed12
[ "MIT" ]
null
null
null
app/models/forms.py
raimota/Gerador-Validador-CPF_CNPJ
e2af5ec35995b63b4bb739af92e9532563d9ed12
[ "MIT" ]
null
null
null
app/models/forms.py
raimota/Gerador-Validador-CPF_CNPJ
e2af5ec35995b63b4bb739af92e9532563d9ed12
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField from wtforms.validators import DataRequired
26.666667
43
0.8125
d10dfd254ad04354b6df951eaf41bb1393f023dc
1,642
py
Python
setup.py
mvandam/CEO
eedca8bafe2aaf5b434bafed445eb2c6367914bf
[ "Zlib" ]
18
2016-02-29T12:41:52.000Z
2021-12-03T15:10:34.000Z
setup.py
mvandam/CEO
eedca8bafe2aaf5b434bafed445eb2c6367914bf
[ "Zlib" ]
23
2015-04-27T14:17:19.000Z
2021-11-29T22:19:12.000Z
setup.py
mvandam/CEO
eedca8bafe2aaf5b434bafed445eb2c6367914bf
[ "Zlib" ]
17
2015-04-09T14:13:16.000Z
2022-02-17T10:03:00.000Z
#!/usr/bin/env python import os import sys import distutils.cmd import distutils.log import setuptools import subprocess from distutils.core import setup import setuptools.command.build_py sys.path.append(os.path.dirname(__file__)+"/python") print(sys.path) setuptools.setup( cmdclass={ 'make_ceo': MakeC...
24.507463
68
0.672351
d10e119827edf64c5992be98368eca488d789d1c
263
py
Python
users/tokens.py
maks-nurgazy/diploma-project
66889488ffaa0269e1be2df6f6c76a3ca68a3cfb
[ "MIT" ]
null
null
null
users/tokens.py
maks-nurgazy/diploma-project
66889488ffaa0269e1be2df6f6c76a3ca68a3cfb
[ "MIT" ]
null
null
null
users/tokens.py
maks-nurgazy/diploma-project
66889488ffaa0269e1be2df6f6c76a3ca68a3cfb
[ "MIT" ]
null
null
null
from rest_framework_simplejwt.tokens import RefreshToken def get_jwt_tokens_for_user(user, **kwargs): """ Generates a refresh token for the valid user """ refresh = RefreshToken.for_user(user) return str(refresh), str(refresh.access_token)
23.909091
56
0.737643
d10f214ef69fa8548dfc5cc8ae64127b9968d418
376
py
Python
tests/bitly/*REPL* [python].py
goldsborough/lnk
1487d272a70329571c77c0ec17c394dc6a1d088f
[ "MIT" ]
3
2017-06-16T18:51:54.000Z
2018-04-08T19:36:12.000Z
tests/bitly/*REPL* [python].py
goldsborough/lnk
1487d272a70329571c77c0ec17c394dc6a1d088f
[ "MIT" ]
2
2021-02-08T20:17:54.000Z
2021-04-30T20:35:44.000Z
tests/bitly/*REPL* [python].py
goldsborough/lnk
1487d272a70329571c77c0ec17c394dc6a1d088f
[ "MIT" ]
1
2019-11-06T19:05:30.000Z
2019-11-06T19:05:30.000Z
Python 3.5.0 (default, Sep 14 2015, 02:37:27) [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> a = [{'a': 1}, {'b': 2}] >>> sorted(a) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unorder...
41.777778
70
0.606383
d10fc18cdd03e862b01f58847357abc40d702c0b
12,015
py
Python
src/server/server.py
ZePaiva/Secure-Hearts
3a2cde096156c56c29c43b21109e096e577c5346
[ "MIT" ]
null
null
null
src/server/server.py
ZePaiva/Secure-Hearts
3a2cde096156c56c29c43b21109e096e577c5346
[ "MIT" ]
null
null
null
src/server/server.py
ZePaiva/Secure-Hearts
3a2cde096156c56c29c43b21109e096e577c5346
[ "MIT" ]
null
null
null
# logging import logging import coloredlogs # server import socket import json import sys import traceback # threading from _thread import * # croupier from croupier import Croupier # cryptography from server_crypto import * from utils.server_utils import * from utils.server_utils import * # server logging server...
43.690909
163
0.574282
d11150f9da78258d94fd1eac873f91d70d526a04
1,098
py
Python
alphatwirl/parallel/parallel.py
shane-breeze/AlphaTwirl
59dbd5348af31d02e133d43fd5bfaad6b99a155e
[ "BSD-3-Clause" ]
null
null
null
alphatwirl/parallel/parallel.py
shane-breeze/AlphaTwirl
59dbd5348af31d02e133d43fd5bfaad6b99a155e
[ "BSD-3-Clause" ]
7
2018-02-26T10:32:26.000Z
2018-03-19T12:27:12.000Z
alphatwirl/parallel/parallel.py
shane-breeze/AlphaTwirl
59dbd5348af31d02e133d43fd5bfaad6b99a155e
[ "BSD-3-Clause" ]
null
null
null
# Tai Sakuma <tai.sakuma@gmail.com> ##__________________________________________________________________|| ##__________________________________________________________________||
32.294118
80
0.65847
d112e5e4e9404a987fd2539dd0c5729a2d97741e
210
py
Python
app/events/client/commands/template.py
Hacker-1202/Selfium
7e798c23c9f24aacab6f6a485d6355f1045bc65c
[ "MIT" ]
14
2021-11-05T11:27:25.000Z
2022-02-28T02:04:32.000Z
app/events/client/commands/template.py
CssHammer/Selfium
7e798c23c9f24aacab6f6a485d6355f1045bc65c
[ "MIT" ]
2
2022-01-24T22:00:44.000Z
2022-01-31T13:13:27.000Z
app/events/client/commands/template.py
CssHammer/Selfium
7e798c23c9f24aacab6f6a485d6355f1045bc65c
[ "MIT" ]
5
2022-01-02T13:33:17.000Z
2022-02-26T13:09:50.000Z
from app.vars.client import client from app.helpers import Notify, params from app.filesystem import cfg
23.333333
54
0.733333
d113b6f34bb07a1a16e4fef926c78e11ef306ee3
129
py
Python
cwf2neo/tests/__init__.py
sintax1/cwf2neo
25a8186798a6611f91e4b39052c3baa2023fb5b1
[ "Apache-2.0" ]
1
2021-06-02T11:44:00.000Z
2021-06-02T11:44:00.000Z
cwf2neo/tests/__init__.py
sintax1/cwf2neo
25a8186798a6611f91e4b39052c3baa2023fb5b1
[ "Apache-2.0" ]
null
null
null
cwf2neo/tests/__init__.py
sintax1/cwf2neo
25a8186798a6611f91e4b39052c3baa2023fb5b1
[ "Apache-2.0" ]
1
2021-11-27T00:33:28.000Z
2021-11-27T00:33:28.000Z
import sys # NOQA import os current_path = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, current_path + '/../')
21.5
57
0.72093
d11621515563b1ecfde422cf5290bbe6f0dd81a9
1,799
py
Python
core/setup.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
89
2015-03-26T11:25:20.000Z
2022-01-12T06:25:14.000Z
core/setup.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
1
2015-07-05T03:27:43.000Z
2015-07-11T06:21:20.000Z
core/setup.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
30
2015-04-30T01:35:54.000Z
2022-01-12T06:19:49.000Z
#!/usr/bin/python2.7 # vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab import sys from setuptools import setup from glob import glob NAME = "pycopia-core" VERSION = "1.0" if sys.platform.startswith("linux"): DATA_FILES = [('/etc/pycopia', glob("etc/*"))] else: DATA_FILES = [] setup (name=NAME, version=VER...
28.555556
86
0.619233
d116b13ce48393f3923096c921dfa4b0c8f125c6
6,646
py
Python
datasets_sysu.py
mpeven/ntu_rgb
4a8b43c521500907d2f241e4b440381cf8c62350
[ "MIT" ]
19
2017-12-21T12:06:01.000Z
2021-03-13T08:15:38.000Z
datasets_sysu.py
3huo/ntu_rgb
4a8b43c521500907d2f241e4b440381cf8c62350
[ "MIT" ]
2
2019-07-26T02:27:32.000Z
2019-12-13T06:56:22.000Z
datasets_sysu.py
mpeven/ntu_rgb
4a8b43c521500907d2f241e4b440381cf8c62350
[ "MIT" ]
7
2018-09-20T06:54:18.000Z
2021-03-16T09:12:50.000Z
from sysu_dataset import SYSU import numpy as np import scipy import itertools import cv2 import torch from torch.utils.data import Dataset import torchvision.transforms as transforms from config import * vox_size=54 all_tups = np.array(list(itertools.product(range(vox_size), repeat=2))) rot_array = np.arange(vox_...
32.578431
132
0.567108
d1170ce42494e908356aac4f4b85a5adc8b67a14
2,814
py
Python
CNN.py
psmishra7/CryptocurrencyPrediction
96f85ba45d1acbd531ad86f7f9ba32b9acd3ddaf
[ "MIT" ]
null
null
null
CNN.py
psmishra7/CryptocurrencyPrediction
96f85ba45d1acbd531ad86f7f9ba32b9acd3ddaf
[ "MIT" ]
null
null
null
CNN.py
psmishra7/CryptocurrencyPrediction
96f85ba45d1acbd531ad86f7f9ba32b9acd3ddaf
[ "MIT" ]
null
null
null
import pandas as pd import numpy as numpy from keras.models import Sequential from keras.layers import Dense, Dropout, Activation, Flatten from keras.layers import Conv1D, MaxPooling1D, LeakyReLU, PReLU from keras.utils import np_utils from keras.callbacks import CSVLogger, ModelCheckpoint import h5py import os import ...
33.105882
328
0.767235
d11727512e7e8babcf124e894f743183a114c424
586
py
Python
wordcloud.py
jim-spyropoulos/NLP-in-Neswpaper-articles
1a229874f535e198e635d50e5d9bdfc75685feca
[ "Apache-2.0" ]
1
2019-07-25T05:54:10.000Z
2019-07-25T05:54:10.000Z
wordcloud.py
jJimo/NLP-in-Neswpaper-articles
1a229874f535e198e635d50e5d9bdfc75685feca
[ "Apache-2.0" ]
null
null
null
wordcloud.py
jJimo/NLP-in-Neswpaper-articles
1a229874f535e198e635d50e5d9bdfc75685feca
[ "Apache-2.0" ]
1
2022-02-22T13:03:19.000Z
2022-02-22T13:03:19.000Z
import pandas as pd import matplotlib.pyplot as plt from os import path from wordcloud import WordCloud #d = path.dirname(__file__) df=pd.read_csv("train_set.csv",sep="\t") categories=["Business","Film","Football","Politics","Technology"] for category in categories: text="" for index,row in df.iterrows(): ...
21.703704
77
0.691126
d1183372da6062d23499982cf0b0d29bf10d59d1
3,260
py
Python
openqemist/tests/problem_decomposition/dmet/test_dmet_orbitals.py
1QB-Information-Technologies/openqemist
e2ab887af31d78d03dcb92cfa3a0705b2436823d
[ "Apache-2.0" ]
35
2019-05-31T22:37:23.000Z
2022-01-06T12:01:18.000Z
openqemist/tests/problem_decomposition/dmet/test_dmet_orbitals.py
rickyHong/1Qbit-QEMIST-repl
863fafdbc5bcd2c267b6a57dfa06b050aa053a6d
[ "Apache-2.0" ]
2
2021-03-23T22:34:23.000Z
2021-06-23T13:09:46.000Z
openqemist/tests/problem_decomposition/dmet/test_dmet_orbitals.py
rickyHong/1Qbit-QEMIST-repl
863fafdbc5bcd2c267b6a57dfa06b050aa053a6d
[ "Apache-2.0" ]
10
2019-06-06T23:14:18.000Z
2021-12-02T21:56:13.000Z
# Copyright 2019 1QBit # # 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 ...
36.629213
134
0.632822
d1192c11dd7c40a7a80b9ec12ae3bec4e88c356a
1,684
py
Python
books/techno/python/programming_python_4_ed_m_lutz/code/chapter_8/13_binding_events/bind.py
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
1
2017-05-04T08:23:46.000Z
2017-05-04T08:23:46.000Z
books/techno/python/programming_python_4_ed_m_lutz/code/chapter_8/13_binding_events/bind.py
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
null
null
null
books/techno/python/programming_python_4_ed_m_lutz/code/chapter_8/13_binding_events/bind.py
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
null
null
null
from tkinter import * tkroot = Tk() labelfont = ('courier', 20, 'bold') widget = Label(tkroot, text = 'Hello bind world') widget.config(bg = 'red', font = labelfont) widget.config(height = 5, width = 20) widget.pack(expand = YES, fill = BOTH) widget.bind('<Button-1>', onLeftClick) widget.bind('<Button-3>', ...
27.16129
73
0.644893
d1195e5aa794a4828c802143266203e6d6782d92
553
py
Python
week9/api/migrations/0002_auto_20200324_1713.py
yestemir/web
5bdead66c26a3c466701e25ecae9720f04ad4118
[ "Unlicense" ]
null
null
null
week9/api/migrations/0002_auto_20200324_1713.py
yestemir/web
5bdead66c26a3c466701e25ecae9720f04ad4118
[ "Unlicense" ]
13
2021-03-10T08:46:52.000Z
2022-03-02T08:13:58.000Z
week9/api/migrations/0002_auto_20200324_1713.py
yestemir/web
5bdead66c26a3c466701e25ecae9720f04ad4118
[ "Unlicense" ]
null
null
null
# Generated by Django 3.0.4 on 2020-03-24 11:13 from django.db import migrations, models
23.041667
73
0.56962
d11976dd8538123b7d77b35efa91d570c64fdb1d
960
py
Python
Computer Networks Lab/A11TCP/PeertoPeer/pptcpserv.py
prabu-5701/Third_Year_Lab_Assignments
db0353cff33c9811ec6df13ec982af161de311fe
[ "MIT" ]
12
2020-10-24T17:57:09.000Z
2021-12-29T07:13:36.000Z
Computer Networks Lab/A11TCP/PeertoPeer/pptcpserv.py
prabu-5701/Third_Year_Lab_Assignments
db0353cff33c9811ec6df13ec982af161de311fe
[ "MIT" ]
null
null
null
Computer Networks Lab/A11TCP/PeertoPeer/pptcpserv.py
prabu-5701/Third_Year_Lab_Assignments
db0353cff33c9811ec6df13ec982af161de311fe
[ "MIT" ]
16
2020-04-21T13:38:07.000Z
2022-03-20T23:40:37.000Z
''' NAME: VAIBHAV SUDHAKAR BHAVSAR TE-B ROLL NO: 08 ASSIGNMENT NO: 11 PROBLEM STATEMENT: Write a program using TCP sockets for wired network to implement a. Peer to Peer Chat (server side) ''' import socket import sys sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.bind(('localhost',23000)) sock.listen...
22.857143
106
0.696875
d11ca10c2506a5eec12ca314bb1040463209b759
2,825
py
Python
tutos/institutions/views.py
UVG-Teams/Tutos-System
230dd9434f745c2e6e69e10f9908e9818c559d03
[ "MIT" ]
null
null
null
tutos/institutions/views.py
UVG-Teams/Tutos-System
230dd9434f745c2e6e69e10f9908e9818c559d03
[ "MIT" ]
null
null
null
tutos/institutions/views.py
UVG-Teams/Tutos-System
230dd9434f745c2e6e69e10f9908e9818c559d03
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework import viewsets from institutions.models import Institution, Career, Course from institutions.serializers import InstitutionSerializer, CareerSerializer, CourseSerializer from permissions.services import APIPermissionClassFactory
38.175676
94
0.572743
d11e05aec66f3501ed77fd7b7c80b254c9a474b3
4,923
py
Python
vendor/guardian/tests/decorators_test.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
5
2015-12-05T15:39:51.000Z
2020-09-16T20:14:29.000Z
vendor/guardian/tests/decorators_test.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
null
null
null
vendor/guardian/tests/decorators_test.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
2
2019-11-23T17:47:46.000Z
2022-01-14T11:05:21.000Z
from django.test import TestCase from django.contrib.auth.models import User, Group, AnonymousUser from django.http import HttpRequest from django.http import HttpResponse from django.http import HttpResponseForbidden from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404 from guar...
33.719178
79
0.630713
d11ea5562b964e94c6dcce86e39ac739e687f11e
1,004
py
Python
default_colours.py
ARCowie28/SyntheticWeather
c1c7c2b0b820d35306891ae52b44cc0240f0323d
[ "BSD-3-Clause" ]
11
2019-03-22T01:33:28.000Z
2021-04-18T03:58:04.000Z
default_colours.py
ARCowie28/SyntheticWeather
c1c7c2b0b820d35306891ae52b44cc0240f0323d
[ "BSD-3-Clause" ]
1
2019-09-16T13:37:33.000Z
2019-09-17T13:23:34.000Z
default_colours.py
ARCowie28/SyntheticWeather
c1c7c2b0b820d35306891ae52b44cc0240f0323d
[ "BSD-3-Clause" ]
6
2019-05-05T15:05:01.000Z
2019-12-04T15:39:58.000Z
# Declare default colours for the code which calls this script. # import numpy as np from numpy import array # Deep blue. blue = array((25, 100, 200)) / 255 # Pure f***ing blue. bluest = array((0, 0, 255)) / 255 # Distinguished looking grey. grey = array((0.3, 0.3, 0.3)) # Also distinguished but contrasts ...
25.74359
64
0.621514
d11eb59a6a47321994cee5f85b00b5df52bdc914
1,840
py
Python
reverb/reverb_types.py
tfboyd/reverb
3bd2826f23ededd40003bffc86f01162a0feb334
[ "Apache-2.0" ]
2
2021-10-30T16:59:48.000Z
2021-11-17T10:21:17.000Z
reverb/reverb_types.py
tfboyd/reverb
3bd2826f23ededd40003bffc86f01162a0feb334
[ "Apache-2.0" ]
null
null
null
reverb/reverb_types.py
tfboyd/reverb
3bd2826f23ededd40003bffc86f01162a0feb334
[ "Apache-2.0" ]
null
null
null
# Lint as: python3 # Copyright 2019 DeepMind Technologies Limited. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
34.074074
103
0.778804
d11ede3c3eb4d35af8cddf5255e4407c0eabdb71
4,380
py
Python
ed2d/shaders.py
explosiveduck/cubix
16e7a298a83fe53174bda8ec77dfcf6869ed5336
[ "BSD-2-Clause" ]
1
2015-11-02T02:11:18.000Z
2015-11-02T02:11:18.000Z
ed2d/shaders.py
explosiveduck/cubix
16e7a298a83fe53174bda8ec77dfcf6869ed5336
[ "BSD-2-Clause" ]
29
2015-06-09T19:27:49.000Z
2016-03-08T06:13:24.000Z
ed2d/shaders.py
explosiveduck/cubix
16e7a298a83fe53174bda8ec77dfcf6869ed5336
[ "BSD-2-Clause" ]
null
null
null
from ed2d.opengl import gl, pgl from ed2d import files from ed2d import typeutils from gem import vector
30.84507
77
0.605936
d11f4b63fbf5bd854138ff819170bf1b5bcc07d8
1,532
py
Python
poky/meta/lib/oeqa/sdk/cases/gcc.py
buildlinux/unityos
dcbe232d0589013d77a62c33959d6a69f9bfbc5e
[ "Apache-2.0" ]
1
2020-01-13T13:16:52.000Z
2020-01-13T13:16:52.000Z
poky/meta/lib/oeqa/sdk/cases/gcc.py
buildlinux/unityos
dcbe232d0589013d77a62c33959d6a69f9bfbc5e
[ "Apache-2.0" ]
3
2019-11-20T02:53:01.000Z
2019-12-26T03:00:15.000Z
sources/poky/meta/lib/oeqa/sdk/cases/gcc.py
zwg0106/imx-yocto
e378ca25352a59d1ef84ee95f3386b7314f4565b
[ "MIT" ]
null
null
null
import os import shutil import unittest from oeqa.core.utils.path import remove_safe from oeqa.sdk.case import OESDKTestCase
34.818182
107
0.611619
d1208d36f83d1a05d8b97f40944b08d56a4cd522
338
py
Python
backend/api/routes/__init__.py
senavs/todo-list
6476805583d0edbb9df85111cfc799a2144e2c54
[ "Apache-2.0" ]
null
null
null
backend/api/routes/__init__.py
senavs/todo-list
6476805583d0edbb9df85111cfc799a2144e2c54
[ "Apache-2.0" ]
null
null
null
backend/api/routes/__init__.py
senavs/todo-list
6476805583d0edbb9df85111cfc799a2144e2c54
[ "Apache-2.0" ]
null
null
null
from fastapi import APIRouter from . import auth, index, list, task router = APIRouter() router.include_router(index.router) router.include_router(auth.router, prefix='/auth', tags=['Authenticate']) router.include_router(list.router, prefix='/lists', tags=['Lists']) router.include_router(task.router, prefix='/lists'...
30.727273
73
0.754438
d12140f39c7a66d081a5359972998bfd95ac1b4b
5,657
py
Python
datasets/mnist_data.py
shijack/vae-system
14506b3b5966162a3502b26dd68d1a77ccbcfb34
[ "MIT" ]
null
null
null
datasets/mnist_data.py
shijack/vae-system
14506b3b5966162a3502b26dd68d1a77ccbcfb34
[ "MIT" ]
null
null
null
datasets/mnist_data.py
shijack/vae-system
14506b3b5966162a3502b26dd68d1a77ccbcfb34
[ "MIT" ]
null
null
null
# Some code was borrowed from https://github.com/petewarden/tensorflow_makefile/blob/master/tensorflow/models/image/mnist/convolutional.py from __future__ import absolute_import from __future__ import division from __future__ import print_function import gzip import os import numpy import tensorflow as tf from scipy...
38.482993
138
0.705851
d1214c4589f598426173369d768239200b8619fe
2,079
py
Python
module/server/view/login/routes.py
antkrit/project
89172be482a640fe656c45a1c35ea1242cd98347
[ "MIT" ]
null
null
null
module/server/view/login/routes.py
antkrit/project
89172be482a640fe656c45a1c35ea1242cd98347
[ "MIT" ]
1
2021-05-20T18:15:46.000Z
2021-05-21T14:27:47.000Z
module/server/view/login/routes.py
antkrit/project
89172be482a640fe656c45a1c35ea1242cd98347
[ "MIT" ]
null
null
null
"""Define the route of the login form""" from flask import ( render_template, redirect, url_for, request, current_app, session, flash, ) from flask_login import current_user, login_user, logout_user from module.server import messages from module.server.models.user import User from module.se...
34.65
117
0.64406
d12155bf89a126b14c330ae2a6b76778e54cc62a
1,736
py
Python
true_coders/urls.py
tanvirtareq/clist
7be17dc463e838778ef5dd6c6bc48eb09a8d98dd
[ "Apache-2.0" ]
1
2021-11-30T23:00:31.000Z
2021-11-30T23:00:31.000Z
true_coders/urls.py
tanvirtareq/clist
7be17dc463e838778ef5dd6c6bc48eb09a8d98dd
[ "Apache-2.0" ]
null
null
null
true_coders/urls.py
tanvirtareq/clist
7be17dc463e838778ef5dd6c6bc48eb09a8d98dd
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import re_path from true_coders import views app_name = 'coder' urlpatterns = [ re_path(r'^settings/$', views.settings, name='settings'), re_path(r'^settings/(?P<tab>preferences|social|accounts|filters|notifications|lists)/$', views.settings, name='settings'), ...
54.25
96
0.641129
d123ae3da1f9bbc3e25f9668062bd9940c2f2120
991
py
Python
inkcut-master/inkcut/device/protocols/debug.py
ilnanny/Inkscape-addons
a30cdde2093fa2da68b90213e057519d0304433f
[ "X11" ]
3
2019-03-08T23:32:29.000Z
2019-05-11T23:53:46.000Z
inkcut-master/inkcut/device/protocols/debug.py
ilnanny/Inkscape-addons
a30cdde2093fa2da68b90213e057519d0304433f
[ "X11" ]
null
null
null
inkcut-master/inkcut/device/protocols/debug.py
ilnanny/Inkscape-addons
a30cdde2093fa2da68b90213e057519d0304433f
[ "X11" ]
null
null
null
# -*- coding: utf-8 -*- ''' Created on Oct 23, 2015 @author: jrm ''' from inkcut.device.plugin import DeviceProtocol from inkcut.core.utils import async_sleep, log
29.147059
69
0.619576
d123bf2051577f1b1d94b482d255562a77a61f9a
1,262
py
Python
config/qtile/Managers/LayoutManager.py
dat-adi/Dotfiles
7a541aba2bbdd88736bebc9e82f6921ab4a3e03b
[ "Apache-2.0" ]
2
2021-05-06T15:58:29.000Z
2021-10-02T14:12:08.000Z
config/qtile/Managers/LayoutManager.py
dat-adi/dotfiles
7a541aba2bbdd88736bebc9e82f6921ab4a3e03b
[ "Apache-2.0" ]
null
null
null
config/qtile/Managers/LayoutManager.py
dat-adi/dotfiles
7a541aba2bbdd88736bebc9e82f6921ab4a3e03b
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- from libqtile import layout
26.291667
60
0.510301
d126cd392241e8011737fa6ded3a808ff6d9fb33
22,200
py
Python
x.py
douboer/lianghua
ec55208e7aa5f9435ffe59ffa419a2acdc60eeb4
[ "Apache-2.0" ]
null
null
null
x.py
douboer/lianghua
ec55208e7aa5f9435ffe59ffa419a2acdc60eeb4
[ "Apache-2.0" ]
null
null
null
x.py
douboer/lianghua
ec55208e7aa5f9435ffe59ffa419a2acdc60eeb4
[ "Apache-2.0" ]
null
null
null
# -*- encoding: utf8 -*- # version 1.11 import tkinter.messagebox,os from tkinter import * from tkinter.ttk import * from tkinter import Menu import datetime import threading import pickle import time import tushare as ts import pywinauto import pywinauto.clipboard import pywinauto.application NUM_OF_STOCKS = 5 # is...
36.513158
137
0.532883
d127426de54b0b22ee00ffd0de5d1aed5a26e875
2,519
py
Python
torchbnn/functional.py
Harry24k/bayesian-neural-network-pytorch
d2272f09e0d08c1abe1f53ce6df56b31494d7020
[ "MIT" ]
178
2019-12-08T14:46:56.000Z
2022-03-23T04:12:35.000Z
torchbnn/functional.py
Harry24k/bayesian-neural-network-pytorch
d2272f09e0d08c1abe1f53ce6df56b31494d7020
[ "MIT" ]
8
2019-11-07T05:45:37.000Z
2020-12-07T11:07:05.000Z
torchbnn/functional.py
Harry24k/bayesian-neural-network-pytorch
d2272f09e0d08c1abe1f53ce6df56b31494d7020
[ "MIT" ]
24
2020-02-04T12:32:33.000Z
2022-03-18T13:13:08.000Z
import math import torch from .modules import * def _kl_loss(mu_0, log_sigma_0, mu_1, log_sigma_1) : """ An method for calculating KL divergence between two Normal distribtuion. Arguments: mu_0 (Float) : mean of normal distribution. log_sigma_0 (Float): log(standard deviation of normal di...
34.986111
93
0.590711
d12838004d4065065c15278b26ac7643b7d1e6b3
8,553
py
Python
tests/settings/test_custom_metrics.py
proknow/proknow-python
c4ca0be6f606db655b711d3490febdec9c139570
[ "MIT" ]
2
2019-03-16T21:41:45.000Z
2022-02-09T16:01:58.000Z
tests/settings/test_custom_metrics.py
proknow/proknow-python
c4ca0be6f606db655b711d3490febdec9c139570
[ "MIT" ]
7
2019-02-25T15:04:30.000Z
2021-12-13T15:15:38.000Z
tests/settings/test_custom_metrics.py
proknow/proknow-python
c4ca0be6f606db655b711d3490febdec9c139570
[ "MIT" ]
3
2020-07-10T14:18:55.000Z
2021-09-14T09:47:41.000Z
import pytest import re from proknow import Exceptions
35.342975
129
0.70677
d12936ab2356f3f48183dc8e8ae9b3d0e4578ebf
10,086
py
Python
models/script/attention.py
junkunyuan/CSAC
70d918ed2fe65a0a503b56d66136032031cd67e4
[ "MIT" ]
3
2022-01-06T06:42:12.000Z
2022-01-20T04:00:40.000Z
models/script/attention.py
junkunyuan/CSAC
70d918ed2fe65a0a503b56d66136032031cd67e4
[ "MIT" ]
null
null
null
models/script/attention.py
junkunyuan/CSAC
70d918ed2fe65a0a503b56d66136032031cd67e4
[ "MIT" ]
null
null
null
import torch from torch import dtype, nn import torch.nn.functional as F # torch.Size([16, 128, 28, 28]) torch.Size([16, 256, 14, 14]) torch.Size([16, 512, 7, 7]) if __name__ == '__main__': # feat_source1 = torch.rand((16,512,28,28)) # feat_source2 = torch.rand((16,1024,14,14)) # feat_source3 = tor...
41.506173
106
0.559984
d129876e7873140e41030905edf7719f9275b25b
430
py
Python
src/bpmn_python/graph/classes/events/start_event_type.py
ToJestKrzysio/ProcessVisualization
9a359a31816bf1be65e3684a571509e3a2c2c0ac
[ "MIT" ]
null
null
null
src/bpmn_python/graph/classes/events/start_event_type.py
ToJestKrzysio/ProcessVisualization
9a359a31816bf1be65e3684a571509e3a2c2c0ac
[ "MIT" ]
null
null
null
src/bpmn_python/graph/classes/events/start_event_type.py
ToJestKrzysio/ProcessVisualization
9a359a31816bf1be65e3684a571509e3a2c2c0ac
[ "MIT" ]
null
null
null
# coding=utf-8 """ Class used for representing tStartEvent of BPMN 2.0 graph """ import graph.classes.events.catch_event_type as catch_event
23.888889
74
0.683721
d12a04518d215e03a7f4e83338618949672d5216
389
py
Python
euler/p001.py
2Cubed/ProjectEuler
1702fbc607816544c28a8f2895a82d234226e48b
[ "MIT" ]
1
2016-06-02T11:25:04.000Z
2016-06-02T11:25:04.000Z
euler/p001.py
2Cubed/ProjectEuler
1702fbc607816544c28a8f2895a82d234226e48b
[ "MIT" ]
null
null
null
euler/p001.py
2Cubed/ProjectEuler
1702fbc607816544c28a8f2895a82d234226e48b
[ "MIT" ]
null
null
null
"""Solution to Project Euler Problem 1 https://projecteuler.net/problem=1 """ NUMBERS = 3, 5 MAXIMUM = 1000 def compute(*numbers, maximum=MAXIMUM): """Compute the sum of the multiples of `numbers` below `maximum`.""" if not numbers: numbers = NUMBERS multiples = tuple(set(range(0, maximum, numb...
21.611111
75
0.676093
d12a4a231179a8246d9be0624c4f9ed8ed7b90e3
690
py
Python
scripts/write_kepler_format.py
0bLondon/VizFinal
316240e12fc04b269274b53a3bd0a3412886dccf
[ "MIT" ]
null
null
null
scripts/write_kepler_format.py
0bLondon/VizFinal
316240e12fc04b269274b53a3bd0a3412886dccf
[ "MIT" ]
null
null
null
scripts/write_kepler_format.py
0bLondon/VizFinal
316240e12fc04b269274b53a3bd0a3412886dccf
[ "MIT" ]
1
2021-01-05T21:40:03.000Z
2021-01-05T21:40:03.000Z
import csv input_file = 'output.csv' output_file = 'kepler.txt' cols_to_remove = [9] cols_to_remove = sorted(cols_to_remove, reverse=True) row_count = 0 with open(input_file, "r") as source: reader = csv.reader(source) with open(output_file, "w", newline='') as result: for row in reader: res...
28.75
70
0.54058
d12a7191b4c49b6eb3dffbf58c4bda9e9deb59fa
682
py
Python
src/python/WMCore/WMBS/MySQL/Locations/ListSites.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
1
2015-02-05T13:43:46.000Z
2015-02-05T13:43:46.000Z
src/python/WMCore/WMBS/MySQL/Locations/ListSites.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
1
2016-10-13T14:57:35.000Z
2016-10-13T14:57:35.000Z
src/python/WMCore/WMBS/MySQL/Locations/ListSites.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ _ListSites_ MySQL implementation of Locations.ListSites """ __all__ = [] from WMCore.Database.DBFormatter import DBFormatter import logging
19.485714
92
0.618768
d12cbf73d9dbe8b05ab050d9a56ee79d0f5da6e7
1,158
py
Python
accountant.py
MKTSTK/Runover
95242345e6a472f7741eba13885fa7b850c79d13
[ "BSD-3-Clause" ]
15
2015-08-07T19:27:32.000Z
2019-05-24T03:23:01.000Z
accountant.py
webclinic017/Runover
95242345e6a472f7741eba13885fa7b850c79d13
[ "BSD-3-Clause" ]
1
2015-08-08T16:07:00.000Z
2015-08-08T16:07:00.000Z
accountant.py
webclinic017/Runover
95242345e6a472f7741eba13885fa7b850c79d13
[ "BSD-3-Clause" ]
8
2015-08-08T00:38:40.000Z
2021-11-11T11:32:09.000Z
from inside_market import * import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt # the accountant class can do neat things like # # 1) Tally up the total pnl of your trade # 2) plot equity curves # 3) other neat stuff down the road, probably
25.733333
67
0.654577
d12f9186081828c736de8dcb09176bf8a7fdf2c8
584
py
Python
src/python/test.py
jdrprod/miniBlock
c233dae5380a851e85d78d297e560833b81cf6b8
[ "MIT" ]
null
null
null
src/python/test.py
jdrprod/miniBlock
c233dae5380a851e85d78d297e560833b81cf6b8
[ "MIT" ]
null
null
null
src/python/test.py
jdrprod/miniBlock
c233dae5380a851e85d78d297e560833b81cf6b8
[ "MIT" ]
null
null
null
from cheater import * from main import * # new Chain instance with # mining difficulty = 4 c = Chain(4) c.createGenesis() # simulate transactions c.addBlock(Block("3$ to Arthur")) c.addBlock(Block("5$ to Bob")) c.addBlock(Block("12$ to Jean")) c.addBlock(Block("7$ to Jake")) c.addBlock(Block("2$ to Camille")) c.addBl...
18.83871
40
0.693493
d1308da11d5da22dc10b14287bdad38de1760631
1,466
py
Python
Python3/537.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
Python3/537.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
Python3/537.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 24 ms submission __________________________________________________________________________________________________ sample 13124 kb submission _______________________________________________________________________...
36.65
98
0.527967
d131ead143f7ae14b44aa50e156995d7274d1c57
3,991
py
Python
mindwavemobile/MindwaveMobileRawReader.py
martinezmizael/Escribir-con-la-mente
f93456bc2ff817cf0ae808a0f711168f82e142ff
[ "MIT" ]
null
null
null
mindwavemobile/MindwaveMobileRawReader.py
martinezmizael/Escribir-con-la-mente
f93456bc2ff817cf0ae808a0f711168f82e142ff
[ "MIT" ]
null
null
null
mindwavemobile/MindwaveMobileRawReader.py
martinezmizael/Escribir-con-la-mente
f93456bc2ff817cf0ae808a0f711168f82e142ff
[ "MIT" ]
null
null
null
import bluetooth import time import textwrap #------------------------------------------------------------------------------
38.747573
106
0.636181
d131f783f629cb72883f07af0450c47b4a358d42
505
py
Python
docassemble/InterviewStats/snapshot_statistics.py
BryceStevenWilley/docassemble-InterviewStats
e1225001671f83213841d9cc7748cd1fff0f49c5
[ "MIT" ]
null
null
null
docassemble/InterviewStats/snapshot_statistics.py
BryceStevenWilley/docassemble-InterviewStats
e1225001671f83213841d9cc7748cd1fff0f49c5
[ "MIT" ]
8
2021-01-14T00:49:44.000Z
2022-03-30T13:33:43.000Z
docassemble/InterviewStats/snapshot_statistics.py
BryceStevenWilley/docassemble-InterviewStats
e1225001671f83213841d9cc7748cd1fff0f49c5
[ "MIT" ]
1
2020-11-30T20:59:53.000Z
2020-11-30T20:59:53.000Z
from docassemble.base.util import variables_snapshot_connection, user_info __all__ = ['get_stats']
29.705882
79
0.710891
d1340b77da734e63775de7b3f26a9ce848c63723
2,160
py
Python
radicalsdk/radardsp.py
moodoki/radical_sdk
4438678cf73e156e5058ddb035ec8e5875fca84e
[ "Apache-2.0" ]
7
2021-05-20T01:12:39.000Z
2021-12-30T12:38:07.000Z
radicalsdk/radardsp.py
moodoki/radical_sdk
4438678cf73e156e5058ddb035ec8e5875fca84e
[ "Apache-2.0" ]
null
null
null
radicalsdk/radardsp.py
moodoki/radical_sdk
4438678cf73e156e5058ddb035ec8e5875fca84e
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/01_radardsp.ipynb (unless otherwise specified). __all__ = ['cfar_nms', 'range_azimuth_ca_cfar'] # Cell import numpy as np from mmwave import dsp # Cell def cfar_nms(cfar_in, beamformed_ra, nhood_size=1): """non-maxumim suppression for cfar detections""" nms_...
32.727273
95
0.539815
d1367794248b2e3c030b18062325fb8aedea6ff8
4,020
py
Python
src/primaires/perso/commandes/prompt/__init__.py
stormi/tsunami
bdc853229834b52b2ee8ed54a3161a1a3133d926
[ "BSD-3-Clause" ]
null
null
null
src/primaires/perso/commandes/prompt/__init__.py
stormi/tsunami
bdc853229834b52b2ee8ed54a3161a1a3133d926
[ "BSD-3-Clause" ]
null
null
null
src/primaires/perso/commandes/prompt/__init__.py
stormi/tsunami
bdc853229834b52b2ee8ed54a3161a1a3133d926
[ "BSD-3-Clause" ]
null
null
null
# -*-coding:Utf-8 -* # Copyright (c) 2010 LE GOFF Vincent # 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 source code must retain the above copyright notice, this # lis...
42.765957
79
0.732587
d13730c1037ff6002b629d64c271d177aacb851b
908
py
Python
dyndb2csv.py
donwellus/dyndb2csv
4f4fcb733818b7afed2b4d1c798a5f97825a233d
[ "Apache-2.0" ]
null
null
null
dyndb2csv.py
donwellus/dyndb2csv
4f4fcb733818b7afed2b4d1c798a5f97825a233d
[ "Apache-2.0" ]
null
null
null
dyndb2csv.py
donwellus/dyndb2csv
4f4fcb733818b7afed2b4d1c798a5f97825a233d
[ "Apache-2.0" ]
null
null
null
import click import json import csv import sys
19.319149
64
0.580396
d13741b5a1723b88af21cde7c9133072b2ca56c6
2,370
py
Python
testing/testing-data-gradient.py
jenfly/atmos
c0a733b78749098d8cc2caaaacee245e6aeeac07
[ "MIT" ]
16
2015-10-08T06:14:35.000Z
2020-02-12T02:47:33.000Z
testing/testing-data-gradient.py
jenfly/atmos
c0a733b78749098d8cc2caaaacee245e6aeeac07
[ "MIT" ]
null
null
null
testing/testing-data-gradient.py
jenfly/atmos
c0a733b78749098d8cc2caaaacee245e6aeeac07
[ "MIT" ]
3
2018-10-16T07:58:14.000Z
2021-09-17T06:39:00.000Z
import sys sys.path.append('/home/jwalker/dynamics/python/atmos-tools') sys.path.append('/home/jwalker/dynamics/python/atmos-read') import xray import numpy as np from datetime import datetime import matplotlib.pyplot as plt import pandas as pd import atmos as atm import precipdat import merra # ---------------------...
27.55814
72
0.645148
d1376d1e03ff5d7a9167c8134995b7b59da1d297
1,686
py
Python
adventofcode/solutions/y2021/d06.py
andreasbjornstrom/adventofcode-python
71db65568bf0f327dd56e5e1c7488e356a24f403
[ "MIT" ]
null
null
null
adventofcode/solutions/y2021/d06.py
andreasbjornstrom/adventofcode-python
71db65568bf0f327dd56e5e1c7488e356a24f403
[ "MIT" ]
null
null
null
adventofcode/solutions/y2021/d06.py
andreasbjornstrom/adventofcode-python
71db65568bf0f327dd56e5e1c7488e356a24f403
[ "MIT" ]
null
null
null
''' Solution for day 6 of the 2021 Advent of Code calendar. Run it with the command `python -m adventofcode run_solution -y 2021 6` from the project root. ''' import time from adventofcode.types import Solution # Each day, a 0 becomes a 6 and adds a new 8 to the end of the list, # while each other number decrease...
27.193548
94
0.618624
d1388b41170cb3a74153d7fe1845f6ab7af64949
4,938
py
Python
eval_detector.py
arushi1372/caltech-ee148-spring2021-hw02
980ffc277fbe2a8c0874034c40e4014e816d400c
[ "MIT" ]
null
null
null
eval_detector.py
arushi1372/caltech-ee148-spring2021-hw02
980ffc277fbe2a8c0874034c40e4014e816d400c
[ "MIT" ]
null
null
null
eval_detector.py
arushi1372/caltech-ee148-spring2021-hw02
980ffc277fbe2a8c0874034c40e4014e816d400c
[ "MIT" ]
null
null
null
import os import json import numpy as np import matplotlib.pyplot as plt def compute_iou(box_1, box_2): ''' This function takes a pair of bounding boxes and returns intersection-over- union (IoU) of two bounding boxes. ''' intersection = 0 tlr1, tlc1, brr1, brc1 = box_1[0], box_1[1], box_1[2], ...
32.27451
116
0.632442
d13a70d1c898cfcc6e99db346677e88b8a15d87e
4,937
py
Python
enaml/enaml/wx/wx_widget.py
ContinuumIO/ashiba
a93e7785d1fcf397baeb8a0b687a162a2b2aef3d
[ "BSD-3-Clause" ]
11
2015-03-14T14:30:51.000Z
2022-03-15T13:01:44.000Z
enaml/wx/wx_widget.py
ContinuumIO/enaml
15c20b035a73187e8e66fa20a43c3a4372d008bd
[ "BSD-3-Clause-Clear" ]
3
2015-01-31T11:12:56.000Z
2022-03-14T00:53:25.000Z
enaml/enaml/wx/wx_widget.py
ContinuumIO/ashiba
a93e7785d1fcf397baeb8a0b687a162a2b2aef3d
[ "BSD-3-Clause" ]
4
2015-01-27T01:56:14.000Z
2021-02-23T07:21:20.000Z
#------------------------------------------------------------------------------ # Copyright (c) 2013, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-------------------------------------------------...
29.921212
79
0.538789
d13bb185fb284c7a1c5cf8f8b572524463eee700
276
py
Python
duo_universal_auth/apps.py
tonningp/django-duo-universal-auth
4a7dc91c48e0d3c6b11d2b6eebd9cedd83cd3275
[ "BSD-3-Clause" ]
1
2021-12-26T21:04:16.000Z
2021-12-26T21:04:16.000Z
duo_universal_auth/apps.py
tonningp/django-duo-universal-auth
4a7dc91c48e0d3c6b11d2b6eebd9cedd83cd3275
[ "BSD-3-Clause" ]
null
null
null
duo_universal_auth/apps.py
tonningp/django-duo-universal-auth
4a7dc91c48e0d3c6b11d2b6eebd9cedd83cd3275
[ "BSD-3-Clause" ]
1
2021-12-26T21:29:45.000Z
2021-12-26T21:29:45.000Z
""" Module to register the Django application. """ from django.apps import AppConfig
19.714286
66
0.728261
d13c2225b45393822148acad03a1b68ed0f512f8
2,170
py
Python
metaworld/policies/sawyer_push_wall_v2_policy.py
yiwc/robotics-world
48efda3a8ea6741b35828b02860f45753252e376
[ "MIT" ]
681
2019-09-09T19:34:37.000Z
2022-03-31T12:17:58.000Z
metaworld/policies/sawyer_push_wall_v2_policy.py
yiwc/robotics-world
48efda3a8ea6741b35828b02860f45753252e376
[ "MIT" ]
212
2019-09-18T14:43:44.000Z
2022-03-27T22:21:00.000Z
metaworld/policies/sawyer_push_wall_v2_policy.py
yiwc/robotics-world
48efda3a8ea6741b35828b02860f45753252e376
[ "MIT" ]
157
2019-09-12T05:06:05.000Z
2022-03-29T14:47:24.000Z
import numpy as np from metaworld.policies.action import Action from metaworld.policies.policy import Policy, assert_fully_parsed, move
33.384615
90
0.542396
d13cc1f49508348eb5e8055c36f920d35acf4e17
12,634
py
Python
solum/common/clients.py
dimtruck/solum
7ec547039ab255052b954a102b9765e068a0f871
[ "Apache-2.0" ]
null
null
null
solum/common/clients.py
dimtruck/solum
7ec547039ab255052b954a102b9765e068a0f871
[ "Apache-2.0" ]
null
null
null
solum/common/clients.py
dimtruck/solum
7ec547039ab255052b954a102b9765e068a0f871
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 - Rackspace Hosting. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.054217
79
0.593795
d13da41b3a4f220e015d9e442ca5b4d723221a8a
299
py
Python
xml_to_text.py
EvanHahn/xml-to-text
4c064e8df978a9f857045e44b6665ce6a5f6f1af
[ "Unlicense" ]
1
2015-01-23T19:28:56.000Z
2015-01-23T19:28:56.000Z
xml_to_text.py
EvanHahn/xml-to-text
4c064e8df978a9f857045e44b6665ce6a5f6f1af
[ "Unlicense" ]
null
null
null
xml_to_text.py
EvanHahn/xml-to-text
4c064e8df978a9f857045e44b6665ce6a5f6f1af
[ "Unlicense" ]
1
2021-05-26T12:34:59.000Z
2021-05-26T12:34:59.000Z
#!/usr/bin/env python from sys import argv from bs4 import BeautifulSoup if __name__ == "__main__": if len(argv) < 2: print "What file should I get plain text from?" exit(1) print xml_to_text(open(argv[1]))
21.357143
55
0.672241
d13f8e89e4edf3148661b4734118e0ef97c5a8a6
832
py
Python
lib/exabgp/rib/__init__.py
lochiiconnectivity/exabgp
2cb8a99af89969ff4b0b5561de6168a18179b704
[ "BSD-3-Clause" ]
null
null
null
lib/exabgp/rib/__init__.py
lochiiconnectivity/exabgp
2cb8a99af89969ff4b0b5561de6168a18179b704
[ "BSD-3-Clause" ]
null
null
null
lib/exabgp/rib/__init__.py
lochiiconnectivity/exabgp
2cb8a99af89969ff4b0b5561de6168a18179b704
[ "BSD-3-Clause" ]
null
null
null
# encoding: utf-8 """ rib/__init__.py Created by Thomas Mangin on 2010-01-15. Copyright (c) 2009-2015 Exa Networks. All rights reserved. """ from exabgp.rib.store import Store
23.111111
79
0.716346
d13fa1d7b304be490a8f724e164effbbbcceaf63
184
py
Python
tests/issues/yubikey.py
wjlei1990/radical.saga
de022ea4fb29d95e8acffff8a68aa8648de807d4
[ "MIT" ]
12
2019-04-13T21:41:45.000Z
2021-08-03T09:43:25.000Z
tests/issues/yubikey.py
wjlei1990/radical.saga
de022ea4fb29d95e8acffff8a68aa8648de807d4
[ "MIT" ]
103
2019-04-10T14:23:41.000Z
2022-03-15T19:43:56.000Z
tests/issues/yubikey.py
wjlei1990/radical.saga
de022ea4fb29d95e8acffff8a68aa8648de807d4
[ "MIT" ]
7
2019-07-11T07:59:56.000Z
2022-02-02T22:28:24.000Z
import radical.saga as saga c = saga.Context ('ssh') c.user_id = 'dinesh' s = saga.Session () s.add_context (c) js = saga.job.Service("lsf+ssh://yellowstone.ucar.edu", session=s)
15.333333
66
0.679348
d14105e5a8b52c61c90d194c5ef582389ee082bc
543
py
Python
projects/rpi_led/project.py
Cruikshanks/electronics
fbd33fdd5ab1f3084fb777107767f89af3b2989c
[ "MIT" ]
null
null
null
projects/rpi_led/project.py
Cruikshanks/electronics
fbd33fdd5ab1f3084fb777107767f89af3b2989c
[ "MIT" ]
null
null
null
projects/rpi_led/project.py
Cruikshanks/electronics
fbd33fdd5ab1f3084fb777107767f89af3b2989c
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.OUT) led_state = False try: while True: GPIO.output(18, led_state) if led_state: print("The LED is on. Press 'enter' to switch it off") else: print("The LED is off. Press 'enter' to switch it on") ...
20.884615
66
0.541436
d142b6a4d0c3c10a42751a0476a211f1e2be9723
63,715
py
Python
SampleScripts/grasp.py
kyspencer/GAMMA-PC-A-Greedy-Memetic-Algorithm-for-Storing-Cooling-Objects
3462ff8cc555ad646b59909c661ca58b21294a7b
[ "MIT" ]
null
null
null
SampleScripts/grasp.py
kyspencer/GAMMA-PC-A-Greedy-Memetic-Algorithm-for-Storing-Cooling-Objects
3462ff8cc555ad646b59909c661ca58b21294a7b
[ "MIT" ]
null
null
null
SampleScripts/grasp.py
kyspencer/GAMMA-PC-A-Greedy-Memetic-Algorithm-for-Storing-Cooling-Objects
3462ff8cc555ad646b59909c661ca58b21294a7b
[ "MIT" ]
1
2019-11-11T21:43:34.000Z
2019-11-11T21:43:34.000Z
# grasp.py # This script implements the GRASP heuristic for the dynamic bin packing # problem. # Author: Kristina Yancey Spencer from __future__ import print_function import numpy as np import random import solutions_dynamic as solmaker import sys from copy import deepcopy from itertools import combinations from...
41.945359
98
0.58148
d142c7d81fb966cbfca34d86396212cc9b63e454
13,244
py
Python
scripts/copy_bundles.py
VIIgit/azul
bb61965f625c667979a2f255f6bc39dcafaaf40b
[ "Apache-2.0" ]
null
null
null
scripts/copy_bundles.py
VIIgit/azul
bb61965f625c667979a2f255f6bc39dcafaaf40b
[ "Apache-2.0" ]
null
null
null
scripts/copy_bundles.py
VIIgit/azul
bb61965f625c667979a2f255f6bc39dcafaaf40b
[ "Apache-2.0" ]
null
null
null
import argparse import csv from datetime import datetime import logging import sys import time from typing import Set, Tuple from urllib.parse import urlparse, urlunparse from botocore.config import Config from botocore.exceptions import ClientError from hca.util import SwaggerAPIException from azul import config, re...
53.837398
119
0.586077
d142df79bef452231592066c73c02fa23e4fff32
398
py
Python
firsttest/models/check.py
charlos1204/firsttest
2c66385ae7149d1403071c2bf6da997873350556
[ "MIT" ]
null
null
null
firsttest/models/check.py
charlos1204/firsttest
2c66385ae7149d1403071c2bf6da997873350556
[ "MIT" ]
null
null
null
firsttest/models/check.py
charlos1204/firsttest
2c66385ae7149d1403071c2bf6da997873350556
[ "MIT" ]
null
null
null
#import numpy as np #import pickle #import sequence2vector as s2v_tools #y_data_name = '/data/label_dataset.pkl'# #Y = pickle.load(open(y_data_name, 'rb')) #print(Y.shape) #Y = s2v_tools.seq2vectorize(Y) #print(Y) from keras.models import Sequential import plotresults as pltrslts import pickle network = pickle.l...
18.090909
54
0.748744
d1440a5d8d1674d5c1865a9e8914bba72236e29c
2,146
py
Python
tools/build.py
kxf3199/gltf_tool
b060135209dff2127095575b8fc87849b5bfbdf4
[ "MIT" ]
1
2022-03-04T10:53:42.000Z
2022-03-04T10:53:42.000Z
tools/build.py
spindro/disney_brdf_for_yocto-gl
aa79c60ec9603240f35a6c70ed20586d3fe5df45
[ "MIT" ]
null
null
null
tools/build.py
spindro/disney_brdf_for_yocto-gl
aa79c60ec9603240f35a6c70ed20586d3fe5df45
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 -B # build utility for easy development # complete and unreliable hack used for making it easier to develop import click, os, platform, markdown, glob, textwrap if __name__ == '__main__': run()
30.225352
257
0.671482
d146f4973440816e4a9c135565077e8cd8ed1f36
2,108
py
Python
server/wrangle/config.py
kdinkla/ProtoMPDA
08ec7de3a24ea07da19062b009ca81a0f5a9c924
[ "MIT" ]
3
2017-12-07T19:11:24.000Z
2020-07-03T07:51:09.000Z
server/wrangle/config.py
kdinkla/Screenit
08ec7de3a24ea07da19062b009ca81a0f5a9c924
[ "MIT" ]
null
null
null
server/wrangle/config.py
kdinkla/Screenit
08ec7de3a24ea07da19062b009ca81a0f5a9c924
[ "MIT" ]
null
null
null
import sqlite3 as lite import csv # Constants. inputPath = "/Users/kdinkla/Desktop/Novartis/HCS/CellMorph/www.ebi.ac.uk/huber-srv/cellmorph/data/" outputPath = "/Users/kdinkla/MPDA/git/wrangle/db/" sqlDotReplacement = '_' # Screening parameters. plates = ["HT" + str(i).zfill(2) for i in range(1, 69)] plateDirectories...
31.462687
125
0.652277
d1484a9f3cc1c846f424f96a4602ea6fd126b3cd
952
py
Python
src/stationbook/book/tests/test_view_station_borehole_layer_add.py
EIDA/stationbook
80d36189170328257955b236c9ed6a8657a92853
[ "MIT" ]
3
2019-02-07T18:03:56.000Z
2020-06-30T11:09:50.000Z
src/stationbook/book/tests/test_view_station_borehole_layer_add.py
EIDA/stationbook
80d36189170328257955b236c9ed6a8657a92853
[ "MIT" ]
13
2019-03-25T08:09:25.000Z
2022-03-11T23:40:25.000Z
src/stationbook/book/tests/test_view_station_borehole_layer_add.py
EIDA/stationbook
80d36189170328257955b236c9ed6a8657a92853
[ "MIT" ]
1
2019-07-26T10:23:37.000Z
2019-07-26T10:23:37.000Z
from django.urls import resolve, reverse from .base_classes import NetworkStationTest from ..views import station_borehole_layer_add
35.259259
77
0.726891
d148ad0b74eafb9e28b83f4e64a1d66cc75dbe56
590
py
Python
engfrosh_site/frosh/migrations/0004_alter_team_group.py
engfrosh/engfrosh
8eed0f3e86ff43de569c280a5f1571c02f2324f2
[ "MIT" ]
1
2021-05-21T01:01:16.000Z
2021-05-21T01:01:16.000Z
engfrosh_site/frosh/migrations/0004_alter_team_group.py
engfrosh/engfrosh
8eed0f3e86ff43de569c280a5f1571c02f2324f2
[ "MIT" ]
50
2021-05-20T21:00:55.000Z
2022-03-12T00:59:18.000Z
engfrosh_site/frosh/migrations/0004_alter_team_group.py
engfrosh/engfrosh
8eed0f3e86ff43de569c280a5f1571c02f2324f2
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-06-19 00:08 from django.db import migrations, models import django.db.models.deletion
28.095238
163
0.662712
d14a47851458aeac04d23e1f6be1cad44af69083
905
py
Python
CMSIS/DSP/Testing/PatternGeneration/Convolutions.py
milos-lazic/CMSIS_5
61b74b70bd961af9e2a8bb6bc1632c1014e7c42e
[ "Apache-2.0" ]
6
2019-05-30T21:02:44.000Z
2022-01-16T23:40:23.000Z
CMSIS/DSP/Testing/PatternGeneration/Convolutions.py
milos-lazic/CMSIS_5
61b74b70bd961af9e2a8bb6bc1632c1014e7c42e
[ "Apache-2.0" ]
2
2019-05-23T10:11:45.000Z
2019-08-28T15:13:56.000Z
CMSIS/DSP/Testing/PatternGeneration/Convolutions.py
milos-lazic/CMSIS_5
61b74b70bd961af9e2a8bb6bc1632c1014e7c42e
[ "Apache-2.0" ]
2
2019-11-27T09:56:17.000Z
2021-11-25T11:02:17.000Z
import os.path import numpy as np import itertools import Tools # Those patterns are used for tests and benchmarks. # For tests, there is the need to add tests for saturation PATTERNDIR = os.path.join("Patterns","DSP","Filtering","MISC","MISC") PARAMDIR = os.path.join("Parameters","DSP","Filtering","MISC","M...
20.568182
69
0.741436
d14a8262549a69bf5004e70bf2d22c44d9e1fbdd
6,594
py
Python
cesiumpy/entities/tests/test_color.py
cksammons7/cesiumpy
0ffa7509fdac03644f0e2fb91385106c40284aa1
[ "Apache-2.0" ]
62
2015-12-30T04:17:25.000Z
2022-02-09T04:26:24.000Z
cesiumpy/entities/tests/test_color.py
cksammons7/cesiumpy
0ffa7509fdac03644f0e2fb91385106c40284aa1
[ "Apache-2.0" ]
20
2016-01-19T10:07:21.000Z
2021-11-15T18:36:45.000Z
cesiumpy/entities/tests/test_color.py
cksammons7/cesiumpy
0ffa7509fdac03644f0e2fb91385106c40284aa1
[ "Apache-2.0" ]
33
2016-02-03T13:28:29.000Z
2022-02-26T13:14:41.000Z
#!/usr/bin/env python # coding: utf-8 import nose import unittest import traitlets import cesiumpy import cesiumpy.testing as tm if __name__ == '__main__': nose.runmodule(argv=[__file__, '-vvs', '-x', '--pdb', '--pdb-failure'], exit=False)
35.074468
81
0.607067
d14a9fead3b8a6d1a0d3f6e69ca6d8524429fdaf
410
py
Python
todo/migrations/0004_alter_post_title.py
Saup21/Todo-list
f806fee5ba11a2ce6a8242d8675f0984d2c2f0eb
[ "MIT" ]
14
2021-05-14T15:06:38.000Z
2021-09-10T06:29:23.000Z
todo/migrations/0004_alter_post_title.py
Saup21/Todo-list
f806fee5ba11a2ce6a8242d8675f0984d2c2f0eb
[ "MIT" ]
null
null
null
todo/migrations/0004_alter_post_title.py
Saup21/Todo-list
f806fee5ba11a2ce6a8242d8675f0984d2c2f0eb
[ "MIT" ]
3
2021-05-16T12:39:41.000Z
2021-05-18T04:13:57.000Z
# Generated by Django 3.2.1 on 2021-05-12 20:04 from django.db import migrations, models
21.578947
63
0.570732
d14ad9b665a10159104a85fed696e67d8770cb72
1,246
py
Python
vn.trader/strategyMain.py
freeitaly/TT
9b88ccec3739077649b0f57787d7f02764ad6897
[ "MIT" ]
null
null
null
vn.trader/strategyMain.py
freeitaly/TT
9b88ccec3739077649b0f57787d7f02764ad6897
[ "MIT" ]
null
null
null
vn.trader/strategyMain.py
freeitaly/TT
9b88ccec3739077649b0f57787d7f02764ad6897
[ "MIT" ]
null
null
null
# encoding: UTF-8 import sys import ctypes import platform from vtEngine import MainEngine from ctaAlgo.uiStrategyWindow import * #---------------------------------------------------------------------- def main(): """""" # win7 try: ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID('v...
23.961538
84
0.61557
d14b01acc806f687e4dbb90d8f0ce282fa3e47ab
304
py
Python
notes/code/sfpd/histo.py
skrilladeville/msds692
1690846e7299819cd5b1b24a56968bf1074e16bf
[ "MIT" ]
87
2018-08-10T23:27:24.000Z
2022-03-29T05:07:45.000Z
notes/code/sfpd/histo.py
skrilladeville/msds692
1690846e7299819cd5b1b24a56968bf1074e16bf
[ "MIT" ]
1
2019-10-06T15:45:03.000Z
2019-10-06T15:45:03.000Z
notes/code/sfpd/histo.py
skrilladeville/msds692
1690846e7299819cd5b1b24a56968bf1074e16bf
[ "MIT" ]
171
2018-08-20T23:59:43.000Z
2022-03-31T16:21:52.000Z
import sys from csvcols import get_column categories = get_column(sys.argv[1], col=1) descriptions = get_column(sys.argv[1], col=2) for c, n in categories.most_common(len(categories)): print("%6d %s" % (n, c)) for d, n in descriptions.most_common(len(descriptions)): print("%6d %s" % (n, d))
23.384615
56
0.684211
d14c9b8f7f4b5ed59766d994c17ec61a593de502
5,742
py
Python
autopatch/target_finder.py
Hydrogen-OS-P/tools
6bf6f5a9f922ca64a22434cd986db5452f7a796b
[ "Apache-2.0" ]
2
2020-05-17T00:33:41.000Z
2020-05-21T16:08:35.000Z
autopatch/target_finder.py
Hydrogen-OS-P/tools
6bf6f5a9f922ca64a22434cd986db5452f7a796b
[ "Apache-2.0" ]
null
null
null
autopatch/target_finder.py
Hydrogen-OS-P/tools
6bf6f5a9f922ca64a22434cd986db5452f7a796b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2 # Filename: target_finder.py """ Fast search the target out. Usage: target_finder.py TARGET - TARGET target path relative to current directory. """ __author__ = 'duanqz@gmail.com' import sys import re import os import fnmatch import commands def find(self, target, loosely=False): ...
29.147208
91
0.564089
d14d43cb5ea0c774889305ac6803d6586c9a4422
853
py
Python
geotrek/flatpages/serializers.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
50
2016-10-19T23:01:21.000Z
2022-03-28T08:28:34.000Z
geotrek/flatpages/serializers.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
1,422
2016-10-27T10:39:40.000Z
2022-03-31T13:37:10.000Z
geotrek/flatpages/serializers.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
46
2016-10-27T10:59:10.000Z
2022-03-22T15:55:56.000Z
from rest_framework import serializers as rest_serializers from geotrek.flatpages import models as flatpages_models from geotrek.common.serializers import ( TranslatedModelSerializer, BasePublishableSerializerMixin, RecordSourceSerializer, TargetPortalSerializer )
40.619048
84
0.757327
d14d5d346317e2adeb5762d4720c2c3c5e7859a8
460
py
Python
examples/docs_snippets/docs_snippets/overview/modes_resources/pipeline_with_modes.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
2
2021-06-21T17:50:26.000Z
2021-06-21T19:14:23.000Z
examples/docs_snippets/docs_snippets/overview/modes_resources/pipeline_with_modes.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
7
2022-03-16T06:55:04.000Z
2022-03-18T07:03:25.000Z
examples/docs_snippets/docs_snippets/overview/modes_resources/pipeline_with_modes.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
1
2021-08-18T17:21:57.000Z
2021-08-18T17:21:57.000Z
from dagster import ModeDefinition, pipeline from .database_resources import postgres_database, sqlite_database from .solids_with_resources import generate_table_1, generate_table_2
28.75
81
0.767391
d14e2d8867ddf65a2458144b49954f5383e47eb9
3,687
py
Python
tests/robot/test_files/py2.py
tiobe/modernize
d0e0188989bbad610ad35d052753985fab72e989
[ "BSD-3-Clause" ]
null
null
null
tests/robot/test_files/py2.py
tiobe/modernize
d0e0188989bbad610ad35d052753985fab72e989
[ "BSD-3-Clause" ]
null
null
null
tests/robot/test_files/py2.py
tiobe/modernize
d0e0188989bbad610ad35d052753985fab72e989
[ "BSD-3-Clause" ]
null
null
null
# This file is part of krakenex. # # krakenex is free software: you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # krakenex is distributed in the...
29.97561
71
0.590453
d14f95d4a726b589d4b5ddfbe61823721f991d94
1,553
py
Python
apostello/migrations/0007_auto_20160315_1213.py
LaudateCorpus1/apostello
1ace89d0d9e1f7a1760f6247d90a60a9787a4f12
[ "MIT" ]
69
2015-10-03T20:27:53.000Z
2021-04-06T05:26:18.000Z
apostello/migrations/0007_auto_20160315_1213.py
LaudateCorpus1/apostello
1ace89d0d9e1f7a1760f6247d90a60a9787a4f12
[ "MIT" ]
73
2015-10-03T17:53:47.000Z
2020-10-01T03:08:01.000Z
apostello/migrations/0007_auto_20160315_1213.py
LaudateCorpus1/apostello
1ace89d0d9e1f7a1760f6247d90a60a9787a4f12
[ "MIT" ]
29
2015-10-23T22:00:13.000Z
2021-11-30T04:48:06.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-03-15 12:13 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models
33.76087
115
0.490663
d14f96e0734761eeae0e630ef8c89ddc1d156cc7
5,287
py
Python
bridle/const_expr.py
iguessthislldo/avidly
0257c22966c297fad1254574cac60bb52b2da6ff
[ "MIT" ]
1
2022-02-16T08:23:35.000Z
2022-02-16T08:23:35.000Z
bridle/const_expr.py
iguessthislldo/bridle
f7b0228a5d3e1e05e5643c2f787dd175dd243965
[ "MIT" ]
null
null
null
bridle/const_expr.py
iguessthislldo/bridle
f7b0228a5d3e1e05e5643c2f787dd175dd243965
[ "MIT" ]
null
null
null
import enum import operator as pyop from abc import ABC, abstractmethod from collections.abc import Callable from typing import Any, Optional import inspect import string from dataclasses import dataclass from typing import TYPE_CHECKING from .errors import ConstExprError, InternalError if TYPE_CHECKING: from .tre...
31.470238
88
0.621714
d15217dd90e5162f260518d778ebbec59b2a77fc
706
py
Python
pysmock/models/Info.py
pysmock/pysmock-codegen
e95384756f9a80b49b7e015a408a29889e2a1b68
[ "MIT" ]
null
null
null
pysmock/models/Info.py
pysmock/pysmock-codegen
e95384756f9a80b49b7e015a408a29889e2a1b68
[ "MIT" ]
null
null
null
pysmock/models/Info.py
pysmock/pysmock-codegen
e95384756f9a80b49b7e015a408a29889e2a1b68
[ "MIT" ]
null
null
null
from yaml import YAMLObject from . import Contact, License
41.529412
199
0.694051
d152ae39f545ea4c14b90863158e7dfdebe61a2c
2,356
py
Python
sites/de/zdf.py
eminga/simplEPG
c38994b6bbba618d85528aa8ea426d936447c4e6
[ "MIT" ]
2
2019-10-14T05:48:23.000Z
2021-07-29T04:32:07.000Z
sites/de/zdf.py
eminga/simplEPG
c38994b6bbba618d85528aa8ea426d936447c4e6
[ "MIT" ]
null
null
null
sites/de/zdf.py
eminga/simplEPG
c38994b6bbba618d85528aa8ea426d936447c4e6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2018 eminga # Licensed under MIT License import datetime, pytz, re, helper
32.273973
149
0.630306
d153802f775ba942a3655fb99bae349c7849f9df
361
py
Python
algorithms/warmup/compare-the-triplets.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
41
2018-05-11T07:54:34.000Z
2022-03-29T19:02:32.000Z
algorithms/warmup/compare-the-triplets.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
2
2021-09-13T10:03:26.000Z
2021-10-04T10:21:05.000Z
algorithms/warmup/compare-the-triplets.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
21
2019-01-23T19:06:59.000Z
2021-12-23T16:03:47.000Z
# Algorithms > Warmup > Compare the Triplets # Compare the elements in two triplets. # # https://www.hackerrank.com/challenges/compare-the-triplets/problem # a = map(int, input().split()) b = map(int, input().split()) alice, bob = 0, 0 for i, j in zip(a, b): if i > j: alice += 1 elif i < ...
22.5625
69
0.581717
d154ae1217c3ae34783bb85b3da68ecf82e62291
223
py
Python
app/__init__.py
cca/libraries_syllabus_notifications
0d42c96ca6fd777e501024bb986418e8897b3dbc
[ "ECL-2.0" ]
null
null
null
app/__init__.py
cca/libraries_syllabus_notifications
0d42c96ca6fd777e501024bb986418e8897b3dbc
[ "ECL-2.0" ]
5
2016-01-02T20:12:21.000Z
2022-01-21T20:31:39.000Z
app/__init__.py
cca/libraries_syllabus_notifications
0d42c96ca6fd777e501024bb986418e8897b3dbc
[ "ECL-2.0" ]
null
null
null
# @TODO we want to "from .app import main" so the test suite can import the # main() function but if we do that then app.py throws errors when importing # from config.py & its other dependencies from .has_syllabus import *
44.6
76
0.753363
d155115bca693ea9440a64b39244f42d954a8b6e
5,153
py
Python
sdk/notificationhubs/azure-mgmt-notificationhubs/azure/mgmt/notificationhubs/models/__init__.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
2,728
2015-01-09T10:19:32.000Z
2022-03-31T14:50:33.000Z
sdk/notificationhubs/azure-mgmt-notificationhubs/azure/mgmt/notificationhubs/models/__init__.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
17,773
2015-01-05T15:57:17.000Z
2022-03-31T23:50:25.000Z
sdk/notificationhubs/azure-mgmt-notificationhubs/azure/mgmt/notificationhubs/models/__init__.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
1,916
2015-01-19T05:05:41.000Z
2022-03-31T19:36:44.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
44.422414
94
0.751213
d15558fb9295192842b6c51525c356994ca03dbe
6,334
py
Python
utils/util.py
gmshashank/Deep_Flow_Prediction
9b4c388b70a458cddac20258242a6a36965524bc
[ "MIT" ]
null
null
null
utils/util.py
gmshashank/Deep_Flow_Prediction
9b4c388b70a458cddac20258242a6a36965524bc
[ "MIT" ]
null
null
null
utils/util.py
gmshashank/Deep_Flow_Prediction
9b4c388b70a458cddac20258242a6a36965524bc
[ "MIT" ]
null
null
null
from genericpath import exists import math import numpy as np import os import re from PIL import Image import matplotlib.pyplot as plt from matplotlib import cm # append line to log file # reset log file
30.747573
117
0.526208
d155acb201ce5a145d858874d493c8fbc320df36
612
py
Python
tests/data/pdf_download_data.py
dbbabcock/BOE_tabulator
4d0a6176a2393610377d24a05536f8c1fe159932
[ "MIT" ]
1
2021-02-17T02:26:38.000Z
2021-02-17T02:26:38.000Z
tests/data/pdf_download_data.py
dbbabcock/BOE_tabulator
4d0a6176a2393610377d24a05536f8c1fe159932
[ "MIT" ]
null
null
null
tests/data/pdf_download_data.py
dbbabcock/BOE_tabulator
4d0a6176a2393610377d24a05536f8c1fe159932
[ "MIT" ]
null
null
null
from .sample_boe_page import HTML_TEXT # static sample of html text used for testing, scraped from # https://comptroller.baltimorecity.gov/boe/meetings/minutes SAMPLE_HTML = HTML_TEXT # Example set of expected year links pulled from HTML_TEXT YEAR_LINKS = { "2020": "/minutes-2020", "2019": "/2019", "2018"...
27.818182
60
0.637255
d15614a481b75b0930ec4f17c90504a24aa1a1b1
1,325
py
Python
Fib Surname.py
Gerrydh/C-S-Exercises
b4b8e6c4142e8f0c69910f5e9dd353e706671618
[ "Apache-2.0" ]
null
null
null
Fib Surname.py
Gerrydh/C-S-Exercises
b4b8e6c4142e8f0c69910f5e9dd353e706671618
[ "Apache-2.0" ]
null
null
null
Fib Surname.py
Gerrydh/C-S-Exercises
b4b8e6c4142e8f0c69910f5e9dd353e706671618
[ "Apache-2.0" ]
null
null
null
# Gerard Hanlon, 30.01.2018 # A program that displays Fibonacci numbers. def fib(n): """This function returns the nth Fibonacci numbers.""" i = 0 # variable i = the first fibonacci number j = 1 # variable j = the second fibonacci number n = n - 1 # variable n = n - 1 while n >= 0: # while n is greater than ...
47.321429
154
0.691321
d1573555106525d0958ee59e807692fbb800871e
19,560
py
Python
tools/rest_integration_test.py
osrf/cloudsim-legacy
01ea7dd2708ed9797a860ac839028ec62fd96a23
[ "Apache-2.0" ]
null
null
null
tools/rest_integration_test.py
osrf/cloudsim-legacy
01ea7dd2708ed9797a860ac839028ec62fd96a23
[ "Apache-2.0" ]
null
null
null
tools/rest_integration_test.py
osrf/cloudsim-legacy
01ea7dd2708ed9797a860ac839028ec62fd96a23
[ "Apache-2.0" ]
1
2021-03-16T15:00:51.000Z
2021-03-16T15:00:51.000Z
#!/usr/bin/env python from __future__ import print_function import os import sys import unittest import time import datetime import logging from cloudsim_rest_api import CloudSimRestApi import traceback # add cloudsim directory to system path basepath = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) ...
36.155268
80
0.561145
d1586b82c5202f4d705413de1f0ddf437f02a38a
5,562
py
Python
test/test_p4lib_delete.py
Tech-pandit/python-p4lib
6b5602321c3c79151a1e603c4ef7eac4a405fb68
[ "MIT" ]
null
null
null
test/test_p4lib_delete.py
Tech-pandit/python-p4lib
6b5602321c3c79151a1e603c4ef7eac4a405fb68
[ "MIT" ]
null
null
null
test/test_p4lib_delete.py
Tech-pandit/python-p4lib
6b5602321c3c79151a1e603c4ef7eac4a405fb68
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2002-2005 ActiveState Corp. # See LICENSE.txt for license details. # Author: # Trent Mick (TrentM@ActiveState.com) # Home: # http://trentm.com/projects/px/ """Test p4lib.py's interface to 'p4 delete'.""" import os import sys import unittest import types import pprint import ...
33.506024
77
0.530025